Class SubtractReducedFromMerged
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.SubtractReducedFromMerged
- All Implemented Interfaces:
org.anchoranalysis.bean.Provider<org.anchoranalysis.feature.bean.list.FeatureList<org.anchoranalysis.image.feature.input.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 SubtractReducedFromMerged() -
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, setReduceMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
-
Constructor Details
-
SubtractReducedFromMerged
public SubtractReducedFromMerged()
-
-
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: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
-