Class ReduceRatioFirstAndSecond
Object
- All Implemented Interfaces:
Provider<FeatureList<FeatureInputPairObjects>>
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected 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, setReduceMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
ReduceRatioFirstAndSecond
public ReduceRatioFirstAndSecond()
-
-
Method Details
-
createAggregateFeature
protected Feature<FeatureInputPairObjects> createAggregateFeature(Feature<FeatureInputPairObjects> first, Feature<FeatureInputPairObjects> second, Feature<FeatureInputPairObjects> merged) Description copied from class:FeatureListProviderAggregatePairCreates an aggregate feature from individual features for first, second, and merged objects.- Specified by:
createAggregateFeaturein classFeatureListProviderAggregatePair- Parameters:
first- feature for the first objectsecond- feature for the second objectmerged- feature for the merged object- Returns:
- an aggregate feature combining the three input features
-