Documentation of 'Catalano.Imaging.Concurrent.Filters.Threshold' Java class
Threshold
Catalano.Imaging.Concurrent.Filters

Class Threshold

  • All Implemented Interfaces:
    IApplyInPlace


    public class Threshold
    extends java.lang.Object
    implements IApplyInPlace
    Threshold. The filter does image binarization using specified threshold value. All pixels with intensities equal or higher than threshold value are converted to white pixels. All other pixels with intensities below threshold value are converted to black pixels.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Threshold()
      Initialize a new instance of the Threshold class.
      Threshold(int threshold)
      Initialize a new instance of the Threshold class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void applyInPlace(FastBitmap fb)
      Apply filter to an image.
      int getValue()
      Get Threshold value.
      void setValue(int threshold)
      Set Threshold value.
      • Methods inherited from class java.lang.Object

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

      • Threshold

        public Threshold()
        Initialize a new instance of the Threshold class.
      • Threshold

        public Threshold(int threshold)
        Initialize a new instance of the Threshold class.
        Parameters:
        threshold - Value.
    • Method Detail

      • getValue

        public int getValue()
        Get Threshold value.
        Returns:
        Value.
      • setValue

        public void setValue(int threshold)
        Set Threshold value.
        Parameters:
        threshold - Value.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.