Class InterpolateFilter

  • All Implemented Interfaces:
    java.awt.image.BufferedImageOp, java.lang.Cloneable

    public class InterpolateFilter
    extends AbstractBufferedImageOp
    A filter which interpolates betwen two images. You can set the interpolation factor outside the range 0 to 1 to extrapolate images.
    • Constructor Detail

      • InterpolateFilter

        public InterpolateFilter()
    • Method Detail

      • setDestination

        public void setDestination​(java.awt.image.BufferedImage destination)
        Set the destination image.
        Parameters:
        destination - the destination image
        See Also:
        getDestination()
      • setInterpolation

        public void setInterpolation​(float interpolation)
        Set the interpolation factor.
        Parameters:
        interpolation - the interpolation factor
        See Also:
        getInterpolation()
      • getInterpolation

        public float getInterpolation()
        Get the interpolation factor.
        Returns:
        the interpolation factor
        See Also:
        setInterpolation(float)
      • filter

        public java.awt.image.BufferedImage filter​(java.awt.image.BufferedImage src,
                                                   java.awt.image.BufferedImage dst)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object