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

Interface InterpolatePixel<T extends ImageBase>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      ImageBorder<T> getBorder()
      Returns the class which handles the image border
      int getFastBorderX()
      Border around the image that fast interpolation cannot be called.
      int getFastBorderY()
      Border around the image that fast interpolation cannot be called.
      T getImage()
      Returns the image which is being interpolated.
      ImageType<T> getImageType()
      Type of image it can process
      boolean isInFastBounds(float x, float y)
      Is the requested pixel inside the image boundary for which fast unsafe interpolation can be performed.
      void setBorder(ImageBorder<T> border)
      Set's the class used to "read" pixels outside the image border.
      void setImage(T image)
      Change the image that is being interpolated.
    • Method Detail

      • setBorder

        void setBorder(ImageBorder<T> border)
        Set's the class used to "read" pixels outside the image border.
        Parameters:
        border - Class for reading outside the image border
      • getBorder

        ImageBorder<T> getBorder()
        Returns the class which handles the image border
      • setImage

        void setImage(T image)
        Change the image that is being interpolated.
        Parameters:
        image - An image.
      • getImage

        T getImage()
        Returns the image which is being interpolated.
        Returns:
        A reference to the image being interpolated.
      • isInFastBounds

        boolean isInFastBounds(float x,
                               float y)
        Is the requested pixel inside the image boundary for which fast unsafe interpolation can be performed.
        Parameters:
        x - Point's x-coordinate.
        y - Point's y-coordinate.
        Returns:
        true if get_unsafe() can be called.
      • getFastBorderX

        int getFastBorderX()
        Border around the image that fast interpolation cannot be called.
        Returns:
        Border size in pixels
      • getFastBorderY

        int getFastBorderY()
        Border around the image that fast interpolation cannot be called.
        Returns:
        Border size in pixels
      • getImageType

        ImageType<T> getImageType()
        Type of image it can process

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.