Package boofcv.alg.interpolate.impl
Class BilinearRectangle_U8
- java.lang.Object
-
- boofcv.alg.interpolate.impl.BilinearRectangle_U8
-
- All Implemented Interfaces:
InterpolateRectangle<boofcv.struct.image.GrayU8>
public class BilinearRectangle_U8 extends java.lang.Object implements InterpolateRectangle<boofcv.struct.image.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(boofcv.struct.image.GrayU8 image)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boofcv.struct.image.GrayU8getImage()Returns the image which is being interpolated.voidregion(float tl_x, float tl_y, boofcv.struct.image.GrayF32 output)Copies a grid from the source image starting at the specified coordinate into the destination image.voidsetImage(boofcv.struct.image.GrayU8 image)Change the image that is being interpolated.
-
-
-
Method Detail
-
setImage
public void setImage(boofcv.struct.image.GrayU8 image)
Description copied from interface:InterpolateRectangleChange the image that is being interpolated.- Specified by:
setImagein interfaceInterpolateRectangle<boofcv.struct.image.GrayU8>- Parameters:
image- An image.
-
getImage
public boofcv.struct.image.GrayU8 getImage()
Description copied from interface:InterpolateRectangleReturns the image which is being interpolated.- Specified by:
getImagein interfaceInterpolateRectangle<boofcv.struct.image.GrayU8>- Returns:
- A reference to the image being interpolated.
-
region
public void region(float tl_x, float tl_y, boofcv.struct.image.GrayF32 output)Description copied from interface:InterpolateRectangleCopies 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:
regionin interfaceInterpolateRectangle<boofcv.struct.image.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
-
-