Package boofcv.alg.interpolate.impl
Class BilinearRectangle_U8
java.lang.Object
boofcv.alg.interpolate.impl.BilinearRectangle_U8
- All Implemented Interfaces:
InterpolateRectangle<GrayU8>
@Generated("GenerateBilinearRectangle") public class BilinearRectangle_U8 extends 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 Summary
Constructors Constructor Description BilinearRectangle_U8()
BilinearRectangle_U8(GrayU8 image)
-
Method Summary
Modifier and Type Method 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.
-
Constructor Details
-
BilinearRectangle_U8
-
BilinearRectangle_U8
public BilinearRectangle_U8()
-
-
Method Details
-
setImage
Description copied from interface:InterpolateRectangle
Change the image that is being interpolated.- Specified by:
setImage
in interfaceInterpolateRectangle<GrayU8>
- Parameters:
image
- An image.
-
getImage
Description copied from interface:InterpolateRectangle
Returns the image which is being interpolated.- Specified by:
getImage
in interfaceInterpolateRectangle<GrayU8>
- Returns:
- A reference to the image being interpolated.
-
region
Description copied from interface:InterpolateRectangle
Copies a grid from the source image starting at the specified coordinate into the destination image. The 'dest' image must be within the original image.- Specified by:
region
in interfaceInterpolateRectangle<GrayU8>
- Parameters:
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
-