public class InterleavedS8 extends InterleavedI8
An image where the primitive type is a signed byte.
datanumBands| Constructor and Description |
|---|
InterleavedS8() |
InterleavedS8(int width,
int height,
int numBands)
Creates a new image with an arbitrary number of bands/colors.
|
| Modifier and Type | Method and Description |
|---|---|
InterleavedS8 |
_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 InterleavedS8(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 InterleavedS8()
public ImageDataType getTypeInfo()
ImageInterleavedgetTypeInfo in class InterleavedI8public int getBand(int x,
int y,
int band)
getBand in class InterleavedI8x - pixel coordinate.y - pixel coordinate.band - which color band in the pixelpublic InterleavedS8 _createNew(int imgWidth, int imgHeight)
ImageBase_createNew in class ImageBase<InterleavedI8>imgWidth - Width of the new imageimgHeight - height of the new imageCopyright © 2013. All Rights Reserved.