Class MeanAcrossObjects<T extends FeatureInputEnergy>
Object
AnchorBean<Feature<T>>
InitializableBean<Feature<T>,FeatureInitialization>
Feature<T>
FeatureEnergy<T>
FeatureSingleObjectFromShared<T>
ObjectAggregationBase<T>
MeanAcrossObjects<T>
- Type Parameters:
T
- feature-input
Calculates the mean of a feature applied to each connected component
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected double
deriveStatistic
(cern.colt.list.DoubleArrayList featureVals) Derives a statistic from the calculated feature values for all objects.Methods inherited from class org.anchoranalysis.plugin.image.feature.bean.shared.object.ObjectAggregationBase
beforeCalcWithInitialization, calc, getObjects, setObjects
Methods inherited from class org.anchoranalysis.plugin.image.feature.bean.shared.object.FeatureSingleObjectFromShared
beforeCalc, calculate, getItem, inputType, setItem
Methods inherited from class org.anchoranalysis.feature.bean.Feature
assignTo, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, describeParameters, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toString
Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
-
Constructor Details
-
MeanAcrossObjects
public MeanAcrossObjects()
-
-
Method Details
-
deriveStatistic
protected double deriveStatistic(cern.colt.list.DoubleArrayList featureVals) Description copied from class:ObjectAggregationBase
Derives a statistic from the calculated feature values for all objects.- Specified by:
deriveStatistic
in classObjectAggregationBase<T extends FeatureInputEnergy>
- Parameters:
featureVals
- the list of feature values for all objects- Returns:
- the derived statistic
-