public abstract class ImageMultiBand<T extends ImageMultiBand<T>> extends ImageBase<T>
| Constructor and Description |
|---|
ImageMultiBand() |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
getNumBands()
Returns the number of bands or colors stored in this image.
|
void |
reshape(int width,
int height,
int numberOfBands)
Reshape for MultiBand images which allows the number of bands to be changed a the same time too
|
abstract void |
setNumberOfBands(int bands)
Changes the number of bands in the image while keeping the width and height the same.
|
clone, createNew, createSameShape, getHeight, getImageType, getIndex, getStartIndex, getStride, getWidth, indexToPixel, isInBounds, isSubimage, matchShape, reshape, setHeight, setStartIndex, setStride, setTo, setWidth, subimage, subimagepublic abstract int getNumBands()
public abstract void setNumberOfBands(int bands)
bands - number of bandspublic void reshape(int width,
int height,
int numberOfBands)
width - Desired image widthheight - Desired image heightnumberOfBands - Desired number of bands