Catalano.Imaging.Filters
Class HistogramAdjust
- java.lang.Object
-
- Catalano.Imaging.Filters.HistogramAdjust
-
- All Implemented Interfaces:
- IApplyInPlace
public class HistogramAdjust extends java.lang.Object implements IApplyInPlace
Histogram adjust. Histogram adjust based on CDF.
-
-
Constructor Summary
Constructors Constructor and Description HistogramAdjust()Initializes a new instance of the HistogramAdjust class.HistogramAdjust(double tolerance)Initializes a new instance of the HistogramAdjust class.HistogramAdjust(int min, int max)Initializes a new instance of the HistogramAdjust class.HistogramAdjust(int min, int max, double tolerance)Initializes a new instance of the HistogramAdjust class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapplyInPlace(FastBitmap fastBitmap)Apply filter to an image.doublegetTolerance()Get the tolerance.voidsetTolerance(double tolerance)Set the tolerance.
-
-
-
Constructor Detail
-
HistogramAdjust
public HistogramAdjust()
Initializes a new instance of the HistogramAdjust class.
-
HistogramAdjust
public HistogramAdjust(double tolerance)
Initializes a new instance of the HistogramAdjust class.- Parameters:
tolerance- Tolerance.
-
HistogramAdjust
public HistogramAdjust(int min, int max)Initializes a new instance of the HistogramAdjust class.- Parameters:
min- Minimum value.max- Maximum value.
-
HistogramAdjust
public HistogramAdjust(int min, int max, double tolerance)Initializes a new instance of the HistogramAdjust class.- Parameters:
min- Minimum value.max- Maximum value.tolerance- Tolerance.
-
-
Method Detail
-
getTolerance
public double getTolerance()
Get the tolerance.- Returns:
- Tolerance.
-
setTolerance
public void setTolerance(double tolerance)
Set the tolerance.- Parameters:
tolerance- Tolerance.
-
applyInPlace
public void applyInPlace(FastBitmap fastBitmap)
Description copied from interface:IApplyInPlaceApply filter to an image.- Specified by:
applyInPlacein interfaceIApplyInPlace- Parameters:
fastBitmap- Image to be processed.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG