Documentation of 'Catalano.Imaging.Filters.HysteresisThreshold' Java class
HysteresisThreshold
Catalano.Imaging.Filters

Class HysteresisThreshold

  • All Implemented Interfaces:
    IApplyInPlace


    public class HysteresisThreshold
    extends java.lang.Object
    implements IApplyInPlace
    Hysteresis Threshold. Hysteresis thresholding for edge detection using two thresholds. Low thresholded edges which are connected to high thresholded edges are retained. Low thresholded edges which are non connected to high thresholded edges are removed.
    • Constructor Detail

      • HysteresisThreshold

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

        public HysteresisThreshold(int lowThreshold,
                                   int highThreshold)
        Initialize a new instance of the HysteresisThreshold class.
        Parameters:
        lowThreshold - Low threshold.
        highThreshold - High threshold.
    • Method Detail

      • getLowThreshold

        public int getLowThreshold()
        Get Low threshold.
        Returns:
        Threshold value.
      • setLowThreshold

        public void setLowThreshold(int lowThreshold)
        Set Low threshold.
        Parameters:
        lowThreshold - Threshold value.
      • getHighThreshold

        public int getHighThreshold()
        Get High threshold.
        Returns:
        Threshold value.
      • setHighThreshold

        public void setHighThreshold(int highThreshold)
        Set High threshold.
        Parameters:
        highThreshold - Threshold value.
      • applyInPlace

        public void applyInPlace(FastBitmap fastBitmap)
        Description copied from interface: IApplyInPlace
        Apply filter to an image.
        Specified by:
        applyInPlace in interface IApplyInPlace
        Parameters:
        fastBitmap - Image to be processed.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.