Class CalculateDilation
Object
org.anchoranalysis.feature.calculate.part.CalculationPart<org.anchoranalysis.image.voxel.object.ObjectMask,org.anchoranalysis.image.feature.input.FeatureInputSingleObject>
org.anchoranalysis.plugin.image.feature.object.calculation.single.CalculateObjectMask
org.anchoranalysis.plugin.image.feature.object.calculation.single.morphological.CalculateDilation
- All Implemented Interfaces:
org.anchoranalysis.feature.calculate.cache.ResettableCalculation
public class CalculateDilation extends CalculateObjectMask
Calculates the dilation of an
ObjectMask.
This class extends CalculateObjectMask to perform dilation operations on object masks.
-
Method Summary
Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)inthashCode()static org.anchoranalysis.feature.calculate.cache.part.ResolvedPart<org.anchoranalysis.image.voxel.object.ObjectMask,org.anchoranalysis.image.feature.input.FeatureInputSingleObject>of(org.anchoranalysis.feature.calculate.part.CalculationPartResolver<org.anchoranalysis.image.feature.input.FeatureInputSingleObject> cache, int iterations, boolean do3D)Creates a newResolvedPartfor calculating dilation.Methods inherited from class org.anchoranalysis.plugin.image.feature.object.calculation.single.CalculateObjectMask
execute, toString
-
Method Details
-
of
public static org.anchoranalysis.feature.calculate.cache.part.ResolvedPart<org.anchoranalysis.image.voxel.object.ObjectMask,org.anchoranalysis.image.feature.input.FeatureInputSingleObject> of(org.anchoranalysis.feature.calculate.part.CalculationPartResolver<org.anchoranalysis.image.feature.input.FeatureInputSingleObject> cache, int iterations, boolean do3D)Creates a newResolvedPartfor calculating dilation.- Parameters:
cache- theCalculationPartResolverto use for cachingiterations- the number of dilation iterations to performdo3D- whether to perform 3D dilation (true) or 2D dilation (false)- Returns:
- a
ResolvedPartfor the dilation calculation
-
equals
- Overrides:
equalsin classCalculateObjectMask
-
canEqual
- Overrides:
canEqualin classCalculateObjectMask
-
hashCode
public int hashCode()- Overrides:
hashCodein classCalculateObjectMask
-