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 boolean canEqual​(Object other)  
    boolean equals​(Object o)  
    int hashCode()  
    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 new ResolvedPart for calculating dilation.

    Methods inherited from class org.anchoranalysis.plugin.image.feature.object.calculation.single.CalculateObjectMask

    execute, toString

    Methods inherited from class org.anchoranalysis.feature.calculate.part.CalculationPart

    getOrCalculate, hasCachedResult, invalidate

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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 new ResolvedPart for calculating dilation.
      Parameters:
      cache - the CalculationPartResolver to use for caching
      iterations - the number of dilation iterations to perform
      do3D - whether to perform 3D dilation (true) or 2D dilation (false)
      Returns:
      a ResolvedPart for the dilation calculation
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class CalculateObjectMask
    • canEqual

      protected boolean canEqual​(Object other)
      Overrides:
      canEqual in class CalculateObjectMask
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class CalculateObjectMask