boofcv.alg.interpolate
Interface InterpolateRectangle<T extends ImageGray>
-
- All Known Implementing Classes:
- BilinearRectangle_F32, BilinearRectangle_S16, BilinearRectangle_U8, NearestNeighborRectangle_F32
public interface InterpolateRectangle<T extends ImageGray>Performs interpolation across a whole rectangular region inside the image. This can be significantly faster than interpolating on a per-pixel basis.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description TgetImage()Returns the image which is being interpolated.voidregion(float tl_x, float tl_y, GrayF32 dest)Copies a grid from the source image starting at the specified coordinate into the destination image.voidsetImage(T image)Change the image that is being interpolated.
-
-
-
Method Detail
-
setImage
void setImage(T image)
Change the image that is being interpolated.- Parameters:
image- An image.
-
getImage
T getImage()
Returns the image which is being interpolated.- Returns:
- A reference to the image being interpolated.
-
region
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. The 'dest' image must be within the original image.- Parameters:
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
-
-
DataMelt 3.0 © DataMelt by jWork.ORG