Class AlgorithmQuantifyMask

java.lang.Object
java.lang.Thread
gov.nih.mipav.model.algorithms.AlgorithmBase
gov.nih.mipav.model.algorithms.utilities.AlgorithmQuantifyMask
All Implemented Interfaces:
ActionListener, WindowListener, Runnable, EventListener

public class AlgorithmQuantifyMask extends AlgorithmBase
Algorithm that does basic calculations on Mask images (boolean/ubyte/short) calculates Center of Mass, area (in resolutions), and number of pixels per mask
  • Constructor Details

    • AlgorithmQuantifyMask

      public AlgorithmQuantifyMask(ModelImage srcImg)
      Creates a new AlgorithmMask object.
      Parameters:
      srcImg - source image model
  • Method Details

    • runAlgorithm

      public void runAlgorithm()
      Description copied from class: AlgorithmBase
      Actually runs the algorithm. Implemented by inheriting algorithms.
      Specified by:
      runAlgorithm in class AlgorithmBase
    • calc2D

      private void calc2D()
    • calc34D

      private void calc34D()