Class ReduceRatioFirstAndSecond

Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<T,​org.anchoranalysis.feature.initialization.FeatureRelatedInitialization>
org.anchoranalysis.feature.bean.FeatureRelatedBean<B>
org.anchoranalysis.feature.bean.provider.FeatureProviderBean<org.anchoranalysis.feature.bean.list.FeatureListProvider<T>,​org.anchoranalysis.feature.bean.list.FeatureList<T>>
org.anchoranalysis.feature.bean.list.FeatureListProvider<org.anchoranalysis.image.feature.input.FeatureInputPairObjects>
org.anchoranalysis.plugin.image.feature.bean.list.pair.FeatureListProviderAggregatePair
org.anchoranalysis.plugin.image.feature.bean.list.pair.ReduceRatioFirstAndSecond
All Implemented Interfaces:
org.anchoranalysis.bean.Provider<org.anchoranalysis.feature.bean.list.FeatureList<org.anchoranalysis.image.feature.input.FeatureInputPairObjects>>

public class ReduceRatioFirstAndSecond
extends FeatureListProviderAggregatePair
Calculates the aggregate of the ratio of first:second and second :first for a FeatureInputPairObjects

first and second refer respectively to a feature calculated on the first and second objects of a FeatureInputPairObjects.

Author:
Owen Feehan
  • Constructor Summary

    Constructors 
    Constructor Description
    ReduceRatioFirstAndSecond()  
  • Method Summary

    Modifier and Type Method Description
    protected org.anchoranalysis.feature.bean.Feature<org.anchoranalysis.image.feature.input.FeatureInputPairObjects> createAggregateFeature​(org.anchoranalysis.feature.bean.Feature<org.anchoranalysis.image.feature.input.FeatureInputPairObjects> first, org.anchoranalysis.feature.bean.Feature<org.anchoranalysis.image.feature.input.FeatureInputPairObjects> second, org.anchoranalysis.feature.bean.Feature<org.anchoranalysis.image.feature.input.FeatureInputPairObjects> merged)
    Creates an aggregate feature from individual features for first, second, and merged objects.

    Methods inherited from class org.anchoranalysis.plugin.image.feature.bean.list.pair.FeatureListProviderAggregatePair

    createReducedFeature, get, getItem, getPrefix, getReduce, setItem, setPrefix, setReduce

    Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean

    getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • createAggregateFeature

      protected org.anchoranalysis.feature.bean.Feature<org.anchoranalysis.image.feature.input.FeatureInputPairObjects> createAggregateFeature​(org.anchoranalysis.feature.bean.Feature<org.anchoranalysis.image.feature.input.FeatureInputPairObjects> first, org.anchoranalysis.feature.bean.Feature<org.anchoranalysis.image.feature.input.FeatureInputPairObjects> second, org.anchoranalysis.feature.bean.Feature<org.anchoranalysis.image.feature.input.FeatureInputPairObjects> merged)
      Description copied from class: FeatureListProviderAggregatePair
      Creates an aggregate feature from individual features for first, second, and merged objects.
      Specified by:
      createAggregateFeature in class FeatureListProviderAggregatePair
      Parameters:
      first - feature for the first object
      second - feature for the second object
      merged - feature for the merged object
      Returns:
      an aggregate feature combining the three input features