public class ImageSInt64 extends ImageSingleBand<ImageSInt64>
Image with a pixel type of signed 64-bit integer
| Modifier and Type | Field and Description |
|---|---|
long[] |
data |
| Constructor and Description |
|---|
ImageSInt64()
Creates an image with no data declared and the width/height set to zero.
|
ImageSInt64(int width,
int height)
Creates a new gray scale (single band/color) image.
|
| Modifier and Type | Method and Description |
|---|---|
ImageSInt64 |
_createNew(int imgWidth,
int imgHeight)
Returns a new image.
|
protected java.lang.Object |
_getData()
Returns the data array the image is stored in.
|
protected void |
_setData(java.lang.Object data)
Sets the image's internal data array.
|
long |
get(int x,
int y)
Returns the value of the specified pixel.
|
long[] |
getData() |
ImageDataType |
getDataType()
Returns image type information
|
void |
set(int x,
int y,
long value)
Sets the value of the specified pixel.
|
void |
setData(long[] data) |
long |
unsafe_get(int x,
int y) |
void |
unsafe_set(int x,
int y,
long value) |
reshape, setTo, subimageclone, createSameShape, getHeight, getImageType, getIndex, getStartIndex, getStride, getWidth, indexToPixel, isInBounds, isSubimage, setHeight, setStartIndex, setStride, setWidth, subimagepublic ImageSInt64(int width,
int height)
width - number of columns in the image.height - number of rows in the image.public ImageSInt64()
public long get(int x,
int y)
x - pixel coordinate.y - pixel coordinate.public long unsafe_get(int x,
int y)
public void set(int x,
int y,
long value)
x - pixel coordinate.y - pixel coordinate.value - The pixel's new value.public void unsafe_set(int x,
int y,
long value)
public ImageDataType getDataType()
ImageSingleBandgetDataType in class ImageSingleBand<ImageSInt64>protected java.lang.Object _getData()
ImageSingleBand_getData in class ImageSingleBand<ImageSInt64>protected void _setData(java.lang.Object data)
ImageSingleBand_setData in class ImageSingleBand<ImageSInt64>data - data arraypublic ImageSInt64 _createNew(int imgWidth, int imgHeight)
ImageBase_createNew in class ImageBase<ImageSInt64>imgWidth - Width of the new imageimgHeight - height of the new imagepublic long[] getData()
public void setData(long[] data)