Class ImplBilinearPixel_IL_U16

  • All Implemented Interfaces:
    InterpolatePixel<boofcv.struct.image.InterleavedU16>, InterpolatePixelMB<boofcv.struct.image.InterleavedU16>

    public class ImplBilinearPixel_IL_U16
    extends BilinearPixelMB<boofcv.struct.image.InterleavedU16>

    Implementation of BilinearPixelMB for a specific image type.

    DO NOT MODIFY. This code was automatically generated by GenerateImplBilinearPixel_IL.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      InterpolatePixelMB<boofcv.struct.image.InterleavedU16> copy()
      Creates a new instance of this interpolation method
      void 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.
      boofcv.struct.image.ImageType<boofcv.struct.image.InterleavedU16> getImageType()
      Type of image it can process
      void setImage​(boofcv.struct.image.InterleavedU16 image)
      Change the image that is being interpolated.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImplBilinearPixel_IL_U16

        public ImplBilinearPixel_IL_U16​(int numBands)
      • ImplBilinearPixel_IL_U16

        public ImplBilinearPixel_IL_U16​(boofcv.struct.image.InterleavedU16 orig)
    • Method Detail

      • setImage

        public void setImage​(boofcv.struct.image.InterleavedU16 image)
        Description copied from interface: InterpolatePixel
        Change the image that is being interpolated.
        Specified by:
        setImage in interface InterpolatePixel<boofcv.struct.image.InterleavedU16>
        Overrides:
        setImage in class BilinearPixelMB<boofcv.struct.image.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 point InterpolatePixel.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.width
        y - Point's y-coordinate. y ≥ 0 && y < image.height
        values - Interpolated value across all bands.
      • copy

        public InterpolatePixelMB<boofcv.struct.image.InterleavedU16> copy()
        Description copied from interface: InterpolatePixelMB
        Creates a new instance of this interpolation method
      • getImageType

        public boofcv.struct.image.ImageType<boofcv.struct.image.InterleavedU16> getImageType()
        Description copied from interface: InterpolatePixel
        Type of image it can process