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

Class SauvolaThreshold

  • All Implemented Interfaces:
    IApplyInPlace


    public class SauvolaThreshold
    extends java.lang.Object
    implements IApplyInPlace
    Sauvola Threshold.
    • Constructor Detail

      • SauvolaThreshold

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

        public SauvolaThreshold(int radius)
        Initialize a new instance of the SauvolaThreshold class.
        Parameters:
        radius - Radius.
      • SauvolaThreshold

        public SauvolaThreshold(double k,
                                double r)
        Initialize a new instance of the SauvolaThreshold class.
        Parameters:
        k - Parameter K.
        r - Parameter R.
      • SauvolaThreshold

        public SauvolaThreshold(int radius,
                                double k,
                                double r)
        Initialize a new instance of the SauvolaThreshold class.
        Parameters:
        radius - Radius.
        k - Parameter K.
        r - Parameter R.
      • SauvolaThreshold

        public SauvolaThreshold(int radius,
                                double k,
                                double r,
                                Mean.Arithmetic arithmetic)
        Initialize a new instance of the SauvolaThreshold class.
        Parameters:
        radius - Radius.
        k - Parameter K.
        r - Parameter R.
        arithmetic - Mean arithmetic.
    • Method Detail

      • getArithmetic

        public Mean.Arithmetic getArithmetic()
        Get Mean arithmetic.
        Returns:
        Mean arithmetic.
      • setArithmetic

        public void setArithmetic(Mean.Arithmetic arithmetic)
        Set Mean arithmetic.
        Parameters:
        arithmetic - Mean arithmetic.
      • getRadius

        public int getRadius()
        Get Radius.
        Returns:
        Radius.
      • setRadius

        public void setRadius(int radius)
        Set Radius.
        Parameters:
        radius - Radius.
      • getK

        public double getK()
        Get parameter K.
        Returns:
        K value.
      • setK

        public void setK(double k)
        Set parameter K.
        Parameters:
        k - K value.
      • getR

        public double getR()
        Get parameter R.
        Returns:
        R value.
      • setR

        public void setR(double r)
        Set parameter R.
        Parameters:
        r - R 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.