Class HistogramThresholder
Object
HistogramThresholder
Utility class for thresholding histograms.
-
Method Summary
Modifier and TypeMethodDescriptionstatic HistogramwithCalculateLevel(Histogram histogram, CalculateLevel calculateLevel) Retains the portion of the histogram greater or equal to the calculated-level.
-
Method Details
-
withCalculateLevel
public static Histogram withCalculateLevel(Histogram histogram, CalculateLevel calculateLevel) throws OperationFailedException Retains the portion of the histogram greater or equal to the calculated-level.- Parameters:
histogram- theHistogramto thresholdcalculateLevel- theCalculateLevelto determine the threshold- Returns:
- the thresholded
Histogram - Throws:
OperationFailedException- if the threshold calculation fails
-