Class CalculateDilation
- All Implemented Interfaces:
ResettableCalculation
Calculates the dilation of an
ObjectMask.
This class extends CalculateObjectMask to perform dilation operations on object masks.
-
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()of(CalculationPartResolver<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, toStringMethods inherited from class org.anchoranalysis.feature.calculate.part.CalculationPart
getOrCalculate, hasCachedResult, invalidate
-
Method Details
-
of
public static ResolvedPart<ObjectMask,FeatureInputSingleObject> of(CalculationPartResolver<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
-