public class InterleavedS16 extends InterleavedI16
An image where the primitive type is an unsigned short.
datanumBands| Constructor and Description |
|---|
InterleavedS16() |
InterleavedS16(int width,
int height,
int numBands)
Creates a new image with an arbitrary number of bands/colors.
|
| Modifier and Type | Method and Description |
|---|---|
InterleavedS16 |
_createNew(int imgWidth,
int imgHeight)
Returns a new image.
|
int |
getBand(int x,
int y,
int band)
Returns the value of the specified band in the specified pixel.
|
ImageDataType |
getTypeInfo()
Returns image type information
|
_getData, _setData, get, getDataType, set, setBandgetIndex, getIndex, getNumBands, reshape, setNumBands, setTo, subimageclone, getHeight, getStartIndex, getStride, getWidth, indexToPixel, isInBounds, isSubimage, setHeight, setStartIndex, setStride, setWidthpublic InterleavedS16(int width,
int height,
int numBands)
width - number of columns in the image.height - number of rows in the image.numBands - number of bands/colors in the image.public InterleavedS16()
public ImageDataType getTypeInfo()
ImageInterleavedgetTypeInfo in class InterleavedI16public int getBand(int x,
int y,
int band)
getBand in class InterleavedI16x - pixel coordinate.y - pixel coordinate.band - which color band in the pixelpublic InterleavedS16 _createNew(int imgWidth, int imgHeight)
ImageBase_createNew in class ImageBase<InterleavedI16>imgWidth - Width of the new imageimgHeight - height of the new imageCopyright © 2013. All Rights Reserved.