Documentation of 'boofcv.alg.interpolate.InterpolatePixelMB' Java class
InterpolatePixelMB
boofcv.alg.interpolate

Interface InterpolatePixelMB<T extends ImageBase>

    • Method Detail

      • get

        void get(float x,
                 float y,
                 float[] values)
        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.
      • get_fast

        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. 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.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.