Class OverlapRelativeToSecond
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.OverlapRelativeToSecond
public class OverlapRelativeToSecond extends OverlapRelative
Calculates the overlap ratio between two objects relative to the size of the second object.
The denominator used in the ratio calculation is the number of voxels in the second object.
-
Constructor Summary
Constructors Constructor Description OverlapRelativeToSecond() -
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
-
OverlapRelativeToSecond
public OverlapRelativeToSecond()
-
-
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
-