java.lang.Object
imagingbook.common.threshold.adaptive.SauvolaThresholder
- All Implemented Interfaces:
AdaptiveThresholder,Thresholder
This is an implementation of the adaptive thresholder proposed in [1]. See also Sec. 9.2 (Eq. 9.74) of [2].
[1] Adaptive thresholder as proposed in J. Sauvola and M. Pietikäinen, "Adaptive document image binarization",
Pattern Recognition 33(2), 1135-1143 (2000).
[2] W. Burger, M.J. Burge, Digital Image Processing – An
Algorithmic Introduction 3rd ed, Springer (2022).
- Version:
- 2022/08/01
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface imagingbook.common.threshold.Thresholder
Thresholder.BackgroundMode -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionCalculates a adaptive "threshold surface" for the specifiedByteProcessorand returns it as anotherByteProcessor.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface imagingbook.common.threshold.adaptive.AdaptiveThresholder
threshold, threshold, threshold
-
Constructor Details
-
SauvolaThresholder
public SauvolaThresholder() -
SauvolaThresholder
-
-
Method Details
-
getThreshold
Description copied from interface:AdaptiveThresholderCalculates a adaptive "threshold surface" for the specifiedByteProcessorand returns it as anotherByteProcessor.- Specified by:
getThresholdin interfaceAdaptiveThresholder- Parameters:
I- the input image- Returns:
- the threshold surface
-