Class PolynomialPixel<T extends ImageGray<T>>

  • All Implemented Interfaces:
    InterpolatePixel<T>, InterpolatePixelS<T>
    Direct Known Subclasses:
    ImplPolynomialPixel_F32, ImplPolynomialPixel_I

    public abstract class PolynomialPixel<T extends ImageGray<T>>
    extends java.lang.Object
    implements InterpolatePixelS<T>

    Polynomial interpolation using Neville's algorithm. First interpolation is performed along the horizontal axis, centered at the specified x-coordinate. Then a second pass is done along the vertical axis using the output from the first pass.

    The code is unoptimized and the algorithm is relatively expensive.

    • Constructor Summary

      Constructors 
      Constructor Description
      PolynomialPixel​(int maxDegree, float min, float max)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      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.
      • Methods inherited from class java.lang.Object

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

      • PolynomialPixel

        public PolynomialPixel​(int maxDegree,
                               float min,
                               float max)