ComponentSampleModel
with the specified width and height. The new SampleModel
will have the same number of bands, storage data type, interleaving scheme, and pixel stride as this SampleModel
.
@param w the width of the resulting SampleModel
@param h the height of the resulting SampleModel
@return a new ComponentSampleModel
with the specified size
@throws IllegalArgumentException if w
orh
is not greater than 0
|
|