Package boofcv.alg.interpolate.impl
Class ImplBilinearPixel_S32
- java.lang.Object
-
- boofcv.alg.interpolate.BilinearPixelS<boofcv.struct.image.GrayS32>
-
- boofcv.alg.interpolate.impl.ImplBilinearPixel_S32
-
- All Implemented Interfaces:
InterpolatePixel<boofcv.struct.image.GrayS32>,InterpolatePixelS<boofcv.struct.image.GrayS32>
public class ImplBilinearPixel_S32 extends BilinearPixelS<boofcv.struct.image.GrayS32>
Implementation of
BilinearPixelSfor a specific image type.DO NOT MODIFY. This code was automatically generated by GenerateImplBilinearPixel.
-
-
Constructor Summary
Constructors Constructor Description ImplBilinearPixel_S32()ImplBilinearPixel_S32(boofcv.struct.image.GrayS32 orig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InterpolatePixelS<boofcv.struct.image.GrayS32>copy()Creates a new instance of this interpolation methodfloatget(float x, float y)Returns the interpolated pixel value at the specified location while checking to see if border conditions apply.floatget_border(float x, float y)floatget_fast(float x, float y)Returns the interpolated pixel value at the specified location while assuming it is inside the image far away from the border.boofcv.struct.image.ImageType<boofcv.struct.image.GrayS32>getImageType()Type of image it can process-
Methods inherited from class boofcv.alg.interpolate.BilinearPixelS
getBorder, getFastBorderX, getFastBorderY, getImage, isInFastBounds, setBorder, setImage
-
-
-
-
Method Detail
-
get_fast
public float get_fast(float x, float y)Description copied from interface:InterpolatePixelSReturns the interpolated pixel value 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.- Returns:
- Interpolated intensity value.
-
get_border
public float get_border(float x, float y)
-
get
public float get(float x, float y)Description copied from interface:InterpolatePixelSReturns the interpolated pixel value at the specified location while checking to see if border conditions apply. If the requested pixel is outside the image border it will attempt to process it using or throw a null pointer exception of a border handler has not been specified.- Parameters:
x- Point's x-coordinate. x ≥ 0 && x < image.width or all values if border specifiedy- Point's y-coordinate. y ≥ 0 && y < image.height or all values if border specified- Returns:
- Interpolated intensity value or NaN if it can't be interpolated.
-
copy
public InterpolatePixelS<boofcv.struct.image.GrayS32> copy()
Description copied from interface:InterpolatePixelSCreates a new instance of this interpolation method
-
getImageType
public boofcv.struct.image.ImageType<boofcv.struct.image.GrayS32> getImageType()
Description copied from interface:InterpolatePixelType of image it can process
-
-