public abstract class ImageInt16<T extends ImageInt16> extends ImageInteger<T>
Base class for images with 16-bit pixels.
| Modifier and Type | Field and Description |
|---|---|
short[] |
data |
| Modifier | Constructor and Description |
|---|---|
protected |
ImageInt16() |
protected |
ImageInt16(int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
_getData()
Returns the data array the image is stored in.
|
protected void |
_setData(Object data)
Sets the image's internal data array.
|
ImageDataType |
getTypeInfo()
Returns image type information
|
void |
set(int x,
int y,
int value)
Sets the value of the specified pixel.
|
void |
unsafe_set(int x,
int y,
int value)
Sets the value of the specified pixel.
|
get, print, printBinary, printNotZero, unsafe_getreshape, setTo, subimage_createNew, clone, getHeight, getIndex, getStartIndex, getStride, getWidth, indexToPixel, isInBounds, isSubimage, setHeight, setStartIndex, setStride, setWidthprotected ImageInt16(int width,
int height)
protected ImageInt16()
public void set(int x,
int y,
int value)
set in class ImageInteger<T extends ImageInt16>x - pixel coordinate.y - pixel coordinate.value - The pixel's new value.public void unsafe_set(int x,
int y,
int value)
unsafe_set in class ImageInteger<T extends ImageInt16>x - pixel coordinate.y - pixel coordinate.value - The pixel's new value.protected Object _getData()
ImageSingleBand_getData in class ImageSingleBand<T extends ImageInt16>protected void _setData(Object data)
ImageSingleBand_setData in class ImageSingleBand<T extends ImageInt16>data - data arraypublic ImageDataType getTypeInfo()
ImageSingleBandgetTypeInfo in class ImageInteger<T extends ImageInt16>Copyright © 2013. All Rights Reserved.