Class CalculateObjectMask

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
All Implemented Interfaces:
org.anchoranalysis.feature.calculate.cache.ResettableCalculation
Direct Known Subclasses:
CalculateDilation, CalculateErosion

public abstract class CalculateObjectMask
extends org.anchoranalysis.feature.calculate.part.CalculationPart<org.anchoranalysis.image.voxel.object.ObjectMask,​org.anchoranalysis.image.feature.input.FeatureInputSingleObject>
Calculates an ObjectMask based on a specified number of iterations.
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected CalculateObjectMask​(int iterations, org.anchoranalysis.feature.calculate.cache.part.ResolvedPartMap<org.anchoranalysis.image.voxel.object.ObjectMask,​org.anchoranalysis.image.feature.input.FeatureInputSingleObject,​Integer> map)  
    protected CalculateObjectMask​(CalculateObjectMask source)
    Copy constructor.
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(Object other)  
    boolean equals​(Object o)  
    protected org.anchoranalysis.image.voxel.object.ObjectMask execute​(org.anchoranalysis.image.feature.input.FeatureInputSingleObject input)  
    int hashCode()  
    String 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
  • Constructor Details

    • CalculateObjectMask

      protected CalculateObjectMask​(CalculateObjectMask source)
      Copy constructor.
      Parameters:
      source - the CalculateObjectMask to copy from
    • CalculateObjectMask

      protected CalculateObjectMask​(int iterations, org.anchoranalysis.feature.calculate.cache.part.ResolvedPartMap<org.anchoranalysis.image.voxel.object.ObjectMask,​org.anchoranalysis.image.feature.input.FeatureInputSingleObject,​Integer> map)
  • Method Details

    • execute

      protected org.anchoranalysis.image.voxel.object.ObjectMask execute​(org.anchoranalysis.image.feature.input.FeatureInputSingleObject input) throws org.anchoranalysis.feature.calculate.FeatureCalculationException
      Specified by:
      execute in class org.anchoranalysis.feature.calculate.part.CalculationPart<org.anchoranalysis.image.voxel.object.ObjectMask,​org.anchoranalysis.image.feature.input.FeatureInputSingleObject>
      Throws:
      org.anchoranalysis.feature.calculate.FeatureCalculationException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals​(Object o)
      Specified by:
      equals in class org.anchoranalysis.feature.calculate.part.CalculationPart<org.anchoranalysis.image.voxel.object.ObjectMask,​org.anchoranalysis.image.feature.input.FeatureInputSingleObject>
    • canEqual

      protected boolean canEqual​(Object other)
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class org.anchoranalysis.feature.calculate.part.CalculationPart<org.anchoranalysis.image.voxel.object.ObjectMask,​org.anchoranalysis.image.feature.input.FeatureInputSingleObject>