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

Class NickThreshold

  • All Implemented Interfaces:
    IApplyInPlace


    public class NickThreshold
    extends java.lang.Object
    implements IApplyInPlace
    Nick Threshold. References: http://www.math-info.univ-paris5.fr/~vincent/articles/DRR_nick_binarization_09.pdf
    • Constructor Summary

      Constructors 
      Constructor and Description
      NickThreshold()
      Initialize a new instance of the NickThreshold class.
      NickThreshold(int radius)
      Initialize a new instance of the NickThreshold class.
      NickThreshold(int radius, double k)
      Initialize a new instance of the NickThreshold 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 getK()
      Get parameter K.
      int getRadius()
      Get Radius.
      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

      • NickThreshold

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

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

        public NickThreshold(int radius,
                             double k)
        Initialize a new instance of the NickThreshold class.
        Parameters:
        radius - Radius.
        k - Parameter K.
    • 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.
      • 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.