Class ThresholdFilter

All Implemented Interfaces:
BufferedImageOp, Serializable, Cloneable

public class ThresholdFilter extends PointFilter implements Serializable
See Also:
  • Constructor Details

    • ThresholdFilter

      public ThresholdFilter()
    • ThresholdFilter

      public ThresholdFilter(int t)
  • Method Details

    • setLowerThreshold

      public void setLowerThreshold(int lowerThreshold)
    • getLowerThreshold

      public int getLowerThreshold()
    • setUpperThreshold

      public void setUpperThreshold(int upperThreshold)
    • getUpperThreshold

      public int getUpperThreshold()
    • setWhite

      public void setWhite(int white)
    • getWhite

      public int getWhite()
    • setBlack

      public void setBlack(int black)
    • getBlack

      public int getBlack()
    • filterRGB

      public int filterRGB(int x, int y, int rgb)
      Specified by:
      filterRGB in class PointFilter
    • toString

      public String toString()
      Overrides:
      toString in class Object