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

Class NiblackThreshold

  • All Implemented Interfaces:
    IApplyInPlace


    public class NiblackThreshold
    extends java.lang.Object
    implements IApplyInPlace
    Niblack Threshold.
    • Constructor Summary

      Constructors 
      Constructor and Description
      NiblackThreshold()
      Initialize a new instance of the NiblackThreshold class.
      NiblackThreshold(double k, double c)
      Initialize a new instance of the NiblackThreshold class.
      NiblackThreshold(int radius)
      Initialize a new instance of the NiblackThreshold class.
      NiblackThreshold(int radius, double k, double c)
      Initialize a new instance of the NiblackThreshold class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void applyInPlace(FastBitmap fastBitmap)
      Apply filter to an image.
      double getC()
      Get parameter C.
      double getK()
      Get parameter K.
      int getRadius()
      Get Radius.
      void setC(double c)
      Set parameter C.
      void setK(double k)
      Set parameter K.
      void setRadius(int radius)
      Set Radius.
      • Methods inherited from class java.lang.Object

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

      • NiblackThreshold

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

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

        public NiblackThreshold(double k,
                                double c)
        Initialize a new instance of the NiblackThreshold class.
        Parameters:
        k - Parameter K.
        c - Parameter C.
      • NiblackThreshold

        public NiblackThreshold(int radius,
                                double k,
                                double c)
        Initialize a new instance of the NiblackThreshold class.
        Parameters:
        radius - Radius.
        k - Parameter K.
        c - Parameter C.
    • Method Detail

      • 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.
      • getC

        public double getC()
        Get parameter C.
        Returns:
        C value.
      • setC

        public void setC(double c)
        Set parameter C.
        Parameters:
        c - C 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.