Class LevelFromHistogram
Object
AnchorBean<Feature<FeatureInputHistogram>>
InitializableBean<Feature<FeatureInputHistogram>, FeatureInitialization>
Feature<FeatureInputHistogram>
FeatureHistogram
LevelFromHistogram
public class LevelFromHistogram
extends FeatureHistogram
Calculates a level (a threshold-value) from a histogram.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublecalculate(FeatureCalculationInput<FeatureInputHistogram> input) CalculateLevelvoidsetCalculateLevel(CalculateLevel calculateLevel) Methods inherited from class org.anchoranalysis.image.feature.bean.FeatureHistogram
inputTypeMethods inherited from class org.anchoranalysis.feature.bean.Feature
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, describeParameters, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toStringMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitializedMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
-
Constructor Details
-
LevelFromHistogram
public LevelFromHistogram()
-
-
Method Details
-
calculate
public double calculate(FeatureCalculationInput<FeatureInputHistogram> input) throws FeatureCalculationException - Specified by:
calculatein classFeature<FeatureInputHistogram>- Throws:
FeatureCalculationException
-
getCalculateLevel
public CalculateLevel getCalculateLevel() -
setCalculateLevel
public void setCalculateLevel(CalculateLevel calculateLevel)
-