Class SubtractReducedFromMerged

Object
AnchorBean<FeatureListProvider<FeatureInputPairObjects>>
InitializableBean<FeatureListProvider<FeatureInputPairObjects>, FeatureRelatedInitialization>
FeatureRelatedBean<FeatureListProvider<FeatureInputPairObjects>>
FeatureProviderBean<FeatureListProvider<FeatureInputPairObjects>, FeatureList<FeatureInputPairObjects>>
FeatureListProvider<FeatureInputPairObjects>
FeatureListProviderAggregatePair
SubtractReducedFromMerged
All Implemented Interfaces:
Provider<FeatureList<FeatureInputPairObjects>>

public class SubtractReducedFromMerged extends FeatureListProviderAggregatePair
Calculates merged - reduce(first,second) for a FeatureInputPairObjects

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

Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Feature<FeatureInputPairObjects>
    createAggregateFeature(Feature<FeatureInputPairObjects> first, Feature<FeatureInputPairObjects> second, Feature<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

    • SubtractReducedFromMerged

      public SubtractReducedFromMerged()
  • Method Details

    • createAggregateFeature

      protected Feature<FeatureInputPairObjects> createAggregateFeature(Feature<FeatureInputPairObjects> first, Feature<FeatureInputPairObjects> second, Feature<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