Catalano.Imaging.Concurrent.Filters
Class MaximumEntropyThreshold
- java.lang.Object
-
- Catalano.Imaging.Concurrent.Filters.MaximumEntropyThreshold
-
- All Implemented Interfaces:
- IApplyInPlace
public class MaximumEntropyThreshold extends java.lang.Object implements IApplyInPlace
Automatic threshold based on the entropy.- See Also:
OtsuThreshold
-
-
Constructor Summary
Constructors Constructor and Description MaximumEntropyThreshold()Initialize a new instance of the MaximumEntropyThreshold class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapplyInPlace(FastBitmap fastBitmap)Apply filter to an image.intCalculateThreshold(FastBitmap fastBitmap)Calculate binarization threshold for the given image.
-
-
-
Constructor Detail
-
MaximumEntropyThreshold
public MaximumEntropyThreshold()
Initialize a new instance of the MaximumEntropyThreshold class.
-
-
Method Detail
-
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.
-
CalculateThreshold
public int CalculateThreshold(FastBitmap fastBitmap)
Calculate binarization threshold for the given image.- Parameters:
fastBitmap- FastBitmap.- Returns:
- Threshold value.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG