Class NoduleClump

java.lang.Object
noduledata.imagej.NoduleClump

public class NoduleClump extends Object
An object of this class represents a nodule clump and the data that separates the nodule into separated nodules via various methods. A supporting class of ColorData.java.
Author:
Brandin Farris
  • Field Details

    • index

      public int index
    • roi

      public ij.gui.ShapeRoi roi
    • area

      public double area
    • numNodules

      public int numNodules
    • hasMixed

      public boolean hasMixed
  • Constructor Details

    • NoduleClump

      public NoduleClump()
    • NoduleClump

      public NoduleClump(int index, ij.gui.ShapeRoi roi, double area, int numNodules, ij.ImagePlus imp)
      constructor
      Parameters:
      index - : index in ColorData.rois of the clump
      roi - : roi object of the clump
      area - : number of pixels in the clump
      numNodules - : number of nodules in the clump
      imp - : image we're doing analysis on
  • Method Details

    • correctClump

      public int correctClump(ij.ImagePlus imp) throws IllegalStateException
      Prompts the user to correct (or not) the number of nodules within the clump.
      Parameters:
      imp - : image of roi.
      Throws:
      IllegalStateException - : if the input received from the user is invalid.