public class GImageGrayDistorted<T extends ImageGray> extends java.lang.Object implements GImageGray
| Constructor and Description |
|---|
GImageGrayDistorted(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() |
ImageGray |
getImage() |
java.lang.Class |
getImageType() |
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.
|
float |
unsafe_getF(int x,
int y) |
void |
wrap(ImageGray image) |
public GImageGrayDistorted(PixelTransform_F32 transform, InterpolatePixelS<T> interpolate)
public void wrap(ImageGray image)
wrap in interface GImageGraypublic int getWidth()
getWidth in interface GImageGraypublic int getHeight()
getHeight in interface GImageGraypublic boolean isFloatingPoint()
isFloatingPoint in interface GImageGraypublic java.lang.Number get(int x,
int y)
get in interface GImageGraypublic void set(int x,
int y,
java.lang.Number num)
GImageGrayset in interface GImageGrayx - pixel coordinate x-valuey - pixel coordinate y-valuenum - Value of the pixelpublic double unsafe_getD(int x,
int y)
GImageGrayunsafe_getD in interface GImageGraypublic float unsafe_getF(int x,
int y)
unsafe_getF in interface GImageGraypublic void set(int index,
float value)
GImageGrayset in interface GImageGraypublic float getF(int index)
getF in interface GImageGraypublic ImageGray getImage()
getImage in interface GImageGraypublic java.lang.Class getImageType()
getImageType in interface GImageGray