Class OverlapRelativeToFirst
Calculates the overlap ratio between two objects relative to the size of the first object.
The denominator used in the ratio calculation is the number of voxels in the first object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intCalculates 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, isInitializedMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
-
Constructor Details
-
OverlapRelativeToFirst
public OverlapRelativeToFirst()
-
-
Method Details
-
calculateDenominator
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
-