Package boofcv.alg.interpolate.impl
Class ImplBilinearPixel_IL_U16
java.lang.Object
boofcv.alg.interpolate.BilinearPixelMB<InterleavedU16>
boofcv.alg.interpolate.impl.ImplBilinearPixel_IL_U16
- All Implemented Interfaces:
InterpolatePixel<InterleavedU16>
,InterpolatePixelMB<InterleavedU16>
@Generated("boofcv.alg.interpolate.impl.GenerateImplBilinearPixel_IL")
public class ImplBilinearPixel_IL_U16
extends BilinearPixelMB<InterleavedU16>
Implementation of BilinearPixelMB
for a specific image type.
DO NOT MODIFY. Automatically generated code created by GenerateImplBilinearPixel_IL
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
Creates a new instance of this interpolation methodvoid
get
(float x, float y, float[] values) Returns the interpolated pixel values at the specified location while taking in account the image border.void
get_border
(float x, float y, float[] values) void
get_fast
(float x, float y, float[] values) Returns the interpolated pixel values at the specified location while assuming it is inside the image far away from the border.Type of image it can processvoid
setImage
(InterleavedU16 image) Change the image that is being interpolated.Methods inherited from class boofcv.alg.interpolate.BilinearPixelMB
getBorder, getFastBorderX, getFastBorderY, getImage, isInFastBounds, setBorder
-
Constructor Details
-
ImplBilinearPixel_IL_U16
public ImplBilinearPixel_IL_U16(int numBands) -
ImplBilinearPixel_IL_U16
-
-
Method Details
-
setImage
Description copied from interface:InterpolatePixel
Change the image that is being interpolated.- Specified by:
setImage
in interfaceInterpolatePixel<InterleavedU16>
- Overrides:
setImage
in classBilinearPixelMB<InterleavedU16>
- Parameters:
image
- An image.
-
get_fast
public void get_fast(float x, float y, float[] values) Description copied from interface:InterpolatePixelMB
Returns the interpolated pixel values at the specified location while assuming it is inside the image far away from the border. For any input pointInterpolatePixel.isInFastBounds(float, float)
should return true.- Parameters:
x
- Point's x-coordinate.y
- Point's y-coordinate.values
- Interpolated value across all bands.
-
get_border
public void get_border(float x, float y, float[] values) -
get
public void get(float x, float y, float[] values) Description copied from interface:InterpolatePixelMB
Returns the interpolated pixel values at the specified location while taking in account the image border. Bounds checking is done to ensure that the coordinate is inside the image and to see if the interpolation technique needs to be adjusted for the image border.- Parameters:
x
- Point's x-coordinate. x ≥ 0 && x < image.widthy
- Point's y-coordinate. y ≥ 0 && y < image.heightvalues
- Interpolated value across all bands.
-
copy
Description copied from interface:InterpolatePixelMB
Creates a new instance of this interpolation method -
getImageType
Description copied from interface:InterpolatePixel
Type of image it can process
-