Class GreaterThanThreshold
Thresholds a histogram using a CalculateLevel keeping only the values greater equal than the
threshold
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFromHistogram(Histogram histogram) Creates aHistogramgiven the entity provided by the delegate.Calculates the level for the thresholdvoidsetCalculateLevel(CalculateLevel calculateLevel) Calculates the level for the thresholdMethods inherited from class org.anchoranalysis.image.bean.provider.HistogramProviderUnary
get, getHistogram, setHistogramMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
GreaterThanThreshold
public GreaterThanThreshold()
-
-
Method Details
-
createFromHistogram
Description copied from class:HistogramProviderUnaryCreates aHistogramgiven the entity provided by the delegate.- Specified by:
createFromHistogramin classHistogramProviderUnary- Parameters:
histogram- the entity provided by the delegate.- Returns:
- the created
Histogramthat is returned by the provider. - Throws:
ProvisionFailedException- if the provider cannot complete successfully.
-
getCalculateLevel
Calculates the level for the threshold -
setCalculateLevel
Calculates the level for the threshold
-