Package noduledata.imagej
Class NoduleClump
java.lang.Object
noduledata.imagej.NoduleClump
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 Summary
FieldsModifier and TypeFieldDescriptiondouble
boolean
int
int
ij.gui.ShapeRoi
-
Constructor Summary
ConstructorsConstructorDescriptionNoduleClump
(int index, ij.gui.ShapeRoi roi, double area, int numNodules, ij.ImagePlus imp) constructor -
Method Summary
Modifier and TypeMethodDescriptionint
correctClump
(ij.ImagePlus imp) Prompts the user to correct (or not) the number of nodules within the clump.
-
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 clumproi
- : roi object of the clumparea
- : number of pixels in the clumpnumNodules
- : number of nodules in the clumpimp
- : image we're doing analysis on
-
-
Method Details
-
correctClump
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.
-