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

Class HistogramShrink

  • All Implemented Interfaces:
    IApplyInPlace


    public class HistogramShrink
    extends java.lang.Object
    implements IApplyInPlace
    Decrease image contrast by compressing the gray values.
    See Also:
    Imaging - Scott E. Umbaugh - Chapter 8 - p. 353
    • Constructor Summary

      Constructors 
      Constructor and Description
      HistogramShrink()
      Initialize a new instance of the HistogramShrink class.
      HistogramShrink(int min, int max)
      Initialize a new instance of the HistogramShrink class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void applyInPlace(FastBitmap fastBitmap)
      Apply filter to an image.
      int getMax()
      Maximum desired in the compressed histogram.
      int getMin()
      Minimum desired in the compressed histogram.
      void setMax(int max)
      Maximum desired in the compressed histogram.
      void setMin(int min)
      Minimum desired in the compressed histogram.
      • Methods inherited from class java.lang.Object

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

      • HistogramShrink

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

        public HistogramShrink(int min,
                               int max)
        Initialize a new instance of the HistogramShrink class.
        Parameters:
        min - Correspond to the minimum desired in the compressed histogram. Range[0..255].
        max - Correspond to the maximum desired in the compressed histogram. Range[0..255].
    • Method Detail

      • getMax

        public int getMax()
        Maximum desired in the compressed histogram.
        Returns:
        Maximum.
      • setMax

        public void setMax(int max)
        Maximum desired in the compressed histogram.
        Parameters:
        max - Maximum. Range[0..255].
      • getMin

        public int getMin()
        Minimum desired in the compressed histogram.
        Returns:
        Minimum.
      • setMin

        public void setMin(int min)
        Minimum desired in the compressed histogram.
        Parameters:
        min - Minimum. Range[0..255].
      • 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.