Class KeyFilter

All Implemented Interfaces:
BufferedImageOp, Cloneable

public class KeyFilter extends AbstractBufferedImageOp
A filter which can be used to produce wipes by transferring the luma of a Destination image into the alpha channel of the source.
  • Constructor Details

    • KeyFilter

      public KeyFilter()
  • Method Details

    • setHTolerance

      public void setHTolerance(float hTolerance)
      Set the tolerance of the image in the range 0..1. *arg tolerance The tolerance
    • getHTolerance

      public float getHTolerance()
    • setSTolerance

      public void setSTolerance(float sTolerance)
    • getSTolerance

      public float getSTolerance()
    • setBTolerance

      public void setBTolerance(float bTolerance)
    • getBTolerance

      public float getBTolerance()
    • setDestination

      public void setDestination(BufferedImage destination)
    • getDestination

      public BufferedImage getDestination()
    • setCleanImage

      public void setCleanImage(BufferedImage cleanImage)
    • getCleanImage

      public BufferedImage getCleanImage()
    • filter

      public BufferedImage filter(BufferedImage src, BufferedImage dst)
    • toString

      public String toString()
      Overrides:
      toString in class Object