Class ChromaKeyFilter

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

    public class ChromaKeyFilter
    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 Detail

      • ChromaKeyFilter

        public ChromaKeyFilter()
    • Method Detail

      • setHTolerance

        public void setHTolerance​(float hTolerance)
        Set the tolerance of the image in the range 0..1.
        Parameters:
        hTolerance - 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()
      • setColor

        public void setColor​(int color)
      • getColor

        public int getColor()
      • 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