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

Class ModifiedWhitePatch

  • All Implemented Interfaces:
    IApplyInPlace


    public class ModifiedWhitePatch
    extends java.lang.Object
    implements IApplyInPlace
    Modified White Patch algorithm.
    • Constructor Detail

      • ModifiedWhitePatch

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

        public ModifiedWhitePatch(int threshold)
        Initialize a new instance of the ModifiedWhitePatch class.
        Parameters:
        threshold - Threshold.
      • ModifiedWhitePatch

        public ModifiedWhitePatch(int redThreshold,
                                  int greenThreshold,
                                  int blueThreshold)
        Initialize a new instance of the ModifiedWhitePatch class.
        Parameters:
        redThreshold - Red Threshold.
        greenThreshold - Green Threshold.
        blueThreshold - Blue Threshold.
    • Method Detail

      • setThreshold

        public void setThreshold(int threshold)
      • getRedThreshold

        public int getRedThreshold()
      • setRedThreshold

        public void setRedThreshold(int redThreshold)
      • getGreenThreshold

        public int getGreenThreshold()
      • setGreenThreshold

        public void setGreenThreshold(int greenThreshold)
      • getBlueThreshold

        public int getBlueThreshold()
      • setBlueThreshold

        public void setBlueThreshold(int blueThreshold)
      • 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.