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