boofcv.alg.interpolate.impl
Class ImplBilinearPixel_IL_U8
- java.lang.Object
-
- boofcv.alg.interpolate.BilinearPixelMB<InterleavedU8>
-
- boofcv.alg.interpolate.impl.ImplBilinearPixel_IL_U8
-
- All Implemented Interfaces:
- InterpolatePixel<InterleavedU8>, InterpolatePixelMB<InterleavedU8>
public class ImplBilinearPixel_IL_U8 extends BilinearPixelMB<InterleavedU8>
Implementation of
BilinearPixelMBfor a specific image type.NOTE: This code was automatically generated using GenerateImplBilinearPixel_IL.
-
-
Constructor Summary
Constructors Constructor and Description ImplBilinearPixel_IL_U8(int numBands)ImplBilinearPixel_IL_U8(InterleavedU8 orig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidget_border(float x, float y, float[] values)voidget_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.voidget(float x, float y, float[] values)Returns the interpolated pixel values at the specified location while taking in account the image border.ImageType<InterleavedU8>getImageType()Type of image it can processvoidsetImage(InterleavedU8 image)Change the image that is being interpolated.-
Methods inherited from class boofcv.alg.interpolate.BilinearPixelMB
getBorder, getFastBorderX, getFastBorderY, getImage, isInFastBounds, setBorder
-
-
-
-
Constructor Detail
-
ImplBilinearPixel_IL_U8
public ImplBilinearPixel_IL_U8(int numBands)
-
ImplBilinearPixel_IL_U8
public ImplBilinearPixel_IL_U8(InterleavedU8 orig)
-
-
Method Detail
-
setImage
public void setImage(InterleavedU8 image)
Description copied from interface:InterpolatePixelChange the image that is being interpolated.- Specified by:
setImagein interfaceInterpolatePixel<InterleavedU8>- Overrides:
setImagein classBilinearPixelMB<InterleavedU8>- Parameters:
image- An image.
-
get_fast
public void get_fast(float x, float y, float[] values)Description copied from interface:InterpolatePixelMBReturns 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:InterpolatePixelMBReturns 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.
-
getImageType
public ImageType<InterleavedU8> getImageType()
Description copied from interface:InterpolatePixelType of image it can process
-
-
DataMelt 3.0 © DataMelt by jWork.ORG