public class OtsuThreshold extends java.lang.Object implements IApplyInPlace
MaximumEntropyThreshold| Constructor and Description |
|---|
OtsuThreshold()
Initializes a new instance of the OtsuThreshold 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 OtsuThreshold()
public void applyInPlace(FastBitmap fastBitmap)
IApplyInPlaceapplyInPlace in interface IApplyInPlacefastBitmap - Image to be processed.public int CalculateThreshold(FastBitmap fastBitmap)
fastBitmap - FastBitmap.