public class GImageSingleBandDistorted<T extends ImageSingleBand> extends java.lang.Object implements GImageSingleBand
| Constructor and Description |
|---|
GImageSingleBandDistorted(PixelTransform_F32 transform,
InterpolatePixelS<T> interpolate) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Number |
get(int x,
int y) |
float |
getF(int index) |
int |
getHeight() |
ImageSingleBand |
getImage() |
int |
getWidth() |
boolean |
isFloatingPoint() |
void |
set(int index,
float value)
Sets pixel based on pixel value in data array
|
void |
set(int x,
int y,
java.lang.Number num)
Set's pixel value using number.
|
double |
unsafe_getD(int x,
int y)
get which returns a double, has no bounds checking.
|
void |
wrap(ImageSingleBand image) |
public GImageSingleBandDistorted(PixelTransform_F32 transform, InterpolatePixelS<T> interpolate)
public void wrap(ImageSingleBand image)
wrap in interface GImageSingleBandpublic int getWidth()
getWidth in interface GImageSingleBandpublic int getHeight()
getHeight in interface GImageSingleBandpublic boolean isFloatingPoint()
isFloatingPoint in interface GImageSingleBandpublic java.lang.Number get(int x,
int y)
get in interface GImageSingleBandpublic void set(int x,
int y,
java.lang.Number num)
GImageSingleBandset in interface GImageSingleBandx - pixel coordinate x-valuey - pixel coordinate y-valuenum - Value of the pixelpublic double unsafe_getD(int x,
int y)
GImageSingleBandunsafe_getD in interface GImageSingleBandpublic void set(int index,
float value)
GImageSingleBandset in interface GImageSingleBandpublic float getF(int index)
getF in interface GImageSingleBandpublic ImageSingleBand getImage()
getImage in interface GImageSingleBand