Class OverlapRelativeToMerged
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<org.anchoranalysis.image.feature.input.FeatureInputPairObjects>
org.anchoranalysis.image.feature.bean.object.pair.FeaturePairObjects
org.anchoranalysis.plugin.image.feature.bean.object.pair.overlap.OverlapRelative
org.anchoranalysis.plugin.image.feature.bean.object.pair.overlap.OverlapRelativeToMerged
public class OverlapRelativeToMerged extends OverlapRelative
Calculates the overlap ratio between two objects relative to the size of the merged object.
The denominator used in the ratio calculation is the number of voxels in the merged object, which is the union of the two input objects.
-
Constructor Summary
Constructors Constructor Description OverlapRelativeToMerged() -
Method Summary
Modifier and Type Method Description protected intcalculateDenominator(org.anchoranalysis.image.feature.input.FeatureInputPairObjects input)Calculates the denominator for the overlap ratio.Methods inherited from class org.anchoranalysis.plugin.image.feature.bean.object.pair.overlap.OverlapRelative
calculateMethods inherited from class org.anchoranalysis.image.feature.bean.object.pair.FeaturePairObjects
inputTypeMethods inherited from class org.anchoranalysis.feature.bean.Feature
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, describeParameters, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toStringMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
-
Constructor Details
-
OverlapRelativeToMerged
public OverlapRelativeToMerged()
-
-
Method Details
-
calculateDenominator
protected int calculateDenominator(org.anchoranalysis.image.feature.input.FeatureInputPairObjects input)Description copied from class:OverlapRelativeCalculates the denominator for the overlap ratio.- Specified by:
calculateDenominatorin classOverlapRelative- Parameters:
input- theFeatureInputPairObjectscontaining the two objects- Returns:
- the calculated denominator value
-