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 int
Calculates the denominator for the overlap ratio.Methods inherited from class org.anchoranalysis.plugin.image.feature.bean.object.pair.overlap.OverlapRelative
calculate
Methods inherited from class org.anchoranalysis.image.feature.bean.object.pair.FeaturePairObjects
inputType
Methods inherited from class org.anchoranalysis.feature.bean.Feature
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, describeParameters, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toString
Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
Methods 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:OverlapRelative
Calculates the denominator for the overlap ratio.- Specified by:
calculateDenominator
in classOverlapRelative
- Parameters:
input
- theFeatureInputPairObjects
containing the two objects- Returns:
- the calculated denominator value
-