public class MaximumEntropyThreshold extends java.lang.Object implements IApplyInPlace
OtsuThreshold| Constructor and Description |
|---|
MaximumEntropyThreshold()
Initialize a new instance of the MaximumEntropyThreshold class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyInPlace(FastBitmap fastBitmap)
Apply filter to an image.
|
int |
CalculateThreshold(FastBitmap fastBitmap)
Calculate binarization threshold for the given image.
|
public MaximumEntropyThreshold()
public void applyInPlace(FastBitmap fastBitmap)
IApplyInPlaceapplyInPlace in interface IApplyInPlacefastBitmap - Image to be processed.public int CalculateThreshold(FastBitmap fastBitmap)
fastBitmap - FastBitmap.