Package boofcv.alg.interpolate.impl
Class NearestNeighborRectangle_F32
java.lang.Object
boofcv.alg.interpolate.impl.NearestNeighborRectangle_F32
- All Implemented Interfaces:
InterpolateRectangle<GrayF32>
Nearest Neighbor interpolation for a rectangular region
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Creates new instance that's configured the same but completely decoupledCreates a copy that can be run in parallel with the original as long as the image isn't modifiedgetImage()Returns the image which is being interpolated.Type of image it can processvoidCopies a grid from the source image starting at the specified coordinate into the destination image.voidChange the image that is being interpolated.
-
Constructor Details
-
NearestNeighborRectangle_F32
public NearestNeighborRectangle_F32()
-
-
Method Details
-
setImage
Description copied from interface:InterpolateRectangleChange the image that is being interpolated.- Specified by:
setImagein interfaceInterpolateRectangle<GrayF32>- Parameters:
image- An image.
-
getImage
Description copied from interface:InterpolateRectangleReturns the image which is being interpolated.- Specified by:
getImagein interfaceInterpolateRectangle<GrayF32>- Returns:
- A reference to the image being interpolated.
-
region
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<GrayF32>- 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
-
copyConcurrent
Description copied from interface:InterpolateRectangleCreates a copy that can be run in parallel with the original as long as the image isn't modified- Specified by:
copyConcurrentin interfaceInterpolateRectangle<GrayF32>
-
copy
Description copied from interface:InterpolateRectangleCreates new instance that's configured the same but completely decoupled- Specified by:
copyin interfaceInterpolateRectangle<GrayF32>
-
getImageType
Description copied from interface:InterpolateRectangleType of image it can process- Specified by:
getImageTypein interfaceInterpolateRectangle<GrayF32>
-