- All Known Subinterfaces:
AdaptiveThresholder
,GlobalThresholder
- All Known Implementing Classes:
BernsenThresholder
,IsodataThresholder
,IsodataThresholderSlow
,MaxEntropyThresholder
,MeanThresholder
,MedianThresholder
,MinErrorThresholder
,MinMaxThresholder
,NiblackThresholder
,NiblackThresholder.Box
,NiblackThresholder.Disk
,NiblackThresholder.Gauss
,OtsuThresholder
,QuantileThresholder
,SauvolaThresholder
public interface Thresholder
Common interface to be implemented by all thresholders (global and adaptive).
- Version:
- 2022/08/02
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Enum type to discriminate if the image background is assumed to be bright or dark. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Thresholds the specifiedByteProcessor
(8-bit image), which is modified.
-
Method Details
-
threshold
Thresholds the specifiedByteProcessor
(8-bit image), which is modified. Does nothing and returnstrue
if no valid threshold could be found (e.g., if all image pixels have the same value).- Parameters:
ip
- aByteProcessor
(8-bit image)- Returns:
true
iff the operation was successful
-