public class ImageSInt16 extends ImageInt16<ImageSInt16>
Image with a pixel type of signed 16-bit integer.
data| Constructor and Description |
|---|
ImageSInt16()
Creates an image with no data declared and the width/height set to zero.
|
ImageSInt16(int width,
int height)
Creates a new gray scale (single band/color) image.
|
| Modifier and Type | Method and Description |
|---|---|
ImageSInt16 |
_createNew(int imgWidth,
int imgHeight)
Returns a new image.
|
ImageDataType |
getDataType()
Returns image type information
|
int |
unsafe_get(int x,
int y)
Get function which does not perform bounds checking.
|
_getData, _setData, getData, set, setData, unsafe_setget, print, printBinary, printNotZeroreshape, setTo, subimageclone, createSameShape, getHeight, getImageType, getIndex, getStartIndex, getStride, getWidth, indexToPixel, isInBounds, isSubimage, setHeight, setStartIndex, setStride, setWidth, subimagepublic ImageSInt16(int width,
int height)
width - number of columns in the image.height - number of rows in the image.public ImageSInt16()
public int unsafe_get(int x,
int y)
ImageIntegerunsafe_get in class ImageInteger<ImageSInt16>x - pixel coordinate.y - pixel coordinate.public ImageDataType getDataType()
ImageSingleBandgetDataType in class ImageInt16<ImageSInt16>public ImageSInt16 _createNew(int imgWidth, int imgHeight)
ImageBase_createNew in class ImageBase<ImageSInt16>imgWidth - Width of the new imageimgHeight - height of the new image