Class MeanAcrossObjects<T extends FeatureInputEnergy>

Object
AnchorBean<Feature<T>>
InitializableBean<Feature<T>, FeatureInitialization>
Feature<T>
FeatureEnergy<T>
Type Parameters:
T - feature-input

public class MeanAcrossObjects<T extends FeatureInputEnergy> extends ObjectAggregationBase<T>
Calculates the mean of a feature applied to each connected component
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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 class ObjectAggregationBase<T extends FeatureInputEnergy>
      Parameters:
      featureVals - the list of feature values for all objects
      Returns:
      the derived statistic