public class BilinearRectangle_U8 extends java.lang.Object implements InterpolateRectangle<GrayU8>
Performs bilinear interpolation to extract values between pixels in an image. Image borders are detected and handled appropriately.
NOTE: This code was automatically generated using GenerateBilinearRectangle.
| Constructor and Description |
|---|
BilinearRectangle_U8() |
BilinearRectangle_U8(GrayU8 image) |
| Modifier and Type | Method and Description |
|---|---|
GrayU8 |
getImage()
Returns the image which is being interpolated.
|
void |
region(float tl_x,
float tl_y,
GrayF32 output)
Copies a grid from the source image starting at the specified coordinate
into the destination image.
|
void |
setImage(GrayU8 image)
Change the image that is being interpolated.
|
public BilinearRectangle_U8(GrayU8 image)
public BilinearRectangle_U8()
public void setImage(GrayU8 image)
InterpolateRectanglesetImage in interface InterpolateRectangle<GrayU8>image - An image.public GrayU8 getImage()
InterpolateRectanglegetImage in interface InterpolateRectangle<GrayU8>public void region(float tl_x,
float tl_y,
GrayF32 output)
InterpolateRectangleregion in interface InterpolateRectangle<GrayU8>tl_x - upper left corner of the region in the image.tl_y - upper left corner of the region in the image.output - Where the interpolated region is to be copied into