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

Class BradleyLocalThreshold

  • All Implemented Interfaces:
    IApplyInPlace


    public class BradleyLocalThreshold
    extends java.lang.Object
    implements IApplyInPlace
    Adaptive thresholding using the integral image.
    • Constructor Summary

      Constructors 
      Constructor and Description
      BradleyLocalThreshold()
      Initialize a new instance of the BradleyLocalThreshold class.
      BradleyLocalThreshold(int windowSize)
      Initialize a new instance of the BradleyLocalThreshold class.
      BradleyLocalThreshold(int windowSize, float pixelBrightnessDiff)
      Initialize a new instance of the BradleyLocalThreshold class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void applyInPlace(FastBitmap fastBitmap)
      Apply filter to an image.
      float getPixelBrightnessDifferenceLimit()
      Brightness difference limit between processing pixel and average value across neighbors.
      int getWindowSize()
      Window size to calculate average value of pixels for.
      void setPixelBrightnessDifferenceLimit(float pixelBrightnessDifferenceLimit)
      Brightness difference limit between processing pixel and average value across neighbors.
      void setWindowSize(int windowSize)
      Window size to calculate average value of pixels for.
      • Methods inherited from class java.lang.Object

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

      • BradleyLocalThreshold

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

        public BradleyLocalThreshold(int windowSize)
        Initialize a new instance of the BradleyLocalThreshold class.
        Parameters:
        windowSize - Window size to calculate average value of pixels for.
      • BradleyLocalThreshold

        public BradleyLocalThreshold(int windowSize,
                                     float pixelBrightnessDiff)
        Initialize a new instance of the BradleyLocalThreshold class.
        Parameters:
        windowSize - Window size to calculate average value of pixels for.
        pixelBrightnessDiff - Brightness difference limit between processing pixel and average value across neighbors.
    • Method Detail

      • getWindowSize

        public int getWindowSize()
        Window size to calculate average value of pixels for.
        Returns:
        Window size.
      • setWindowSize

        public void setWindowSize(int windowSize)
        Window size to calculate average value of pixels for.
        Parameters:
        windowSize - Window size.
      • getPixelBrightnessDifferenceLimit

        public float getPixelBrightnessDifferenceLimit()
        Brightness difference limit between processing pixel and average value across neighbors.
        Returns:
        Brightness difference.
      • setPixelBrightnessDifferenceLimit

        public void setPixelBrightnessDifferenceLimit(float pixelBrightnessDifferenceLimit)
        Brightness difference limit between processing pixel and average value across neighbors.
        Parameters:
        pixelBrightnessDifferenceLimit - Brightness difference.
      • 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.