public class NearestNeighborRectangle_F32 extends java.lang.Object implements InterpolateRectangle<GrayF32>
| Constructor and Description |
|---|
NearestNeighborRectangle_F32() |
| Modifier and Type | Method and Description |
|---|---|
GrayF32 |
getImage()
Returns the image which is being interpolated.
|
void |
region(float tl_x,
float tl_y,
GrayF32 dest)
Copies a grid from the source image starting at the specified coordinate
into the destination image.
|
void |
setImage(GrayF32 image)
Change the image that is being interpolated.
|
public void setImage(GrayF32 image)
InterpolateRectanglesetImage in interface InterpolateRectangle<GrayF32>image - An image.public GrayF32 getImage()
InterpolateRectanglegetImage in interface InterpolateRectangle<GrayF32>public void region(float tl_x,
float tl_y,
GrayF32 dest)
InterpolateRectangleregion in interface InterpolateRectangle<GrayF32>tl_x - upper left corner of the region in the image.tl_y - upper left corner of the region in the image.dest - Where the interpolated region is to be copied into