Class MeanAcrossObjects<T extends org.anchoranalysis.feature.input.FeatureInputEnergy>

Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<org.anchoranalysis.feature.bean.Feature<T>,​org.anchoranalysis.feature.initialization.FeatureInitialization>
org.anchoranalysis.feature.bean.Feature<T>
org.anchoranalysis.image.feature.bean.FeatureEnergy<T>
Type Parameters:
T - feature-input

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

    Constructors 
    Constructor Description
    MeanAcrossObjects()  
  • 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

  • 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 org.anchoranalysis.feature.input.FeatureInputEnergy>
      Parameters:
      featureVals - the list of feature values for all objects
      Returns:
      the derived statistic