public class ROI extends Object
ROIMaskGenerator| Modifier and Type | Field and Description | 
|---|---|
| boolean | arbShapeWhere or not the ROI shape is arbitrary | 
| int | compThe components for which the ROI is relevant | 
| int | hheight of rectangular ROI | 
| ImgReaderPGM | maskPGMImgReaderPGM object with the arbrtrary ROI | 
| int | rradius of circular ROI | 
| boolean | rectFlag indicating whether the ROI is rectangular or not | 
| int | ulxx coordinate of upper left corner of rectangular ROI | 
| int | ulyy coordinate of upper left corner of rectangular ROI | 
| int | wwidth of rectangular ROI | 
| int | xx coordinate of center of circular ROI | 
| int | yy coordinate of center of circular ROI | 
| Constructor and Description | 
|---|
| ROI(int comp,
   ImgReaderPGM maskPGM)Constructor for ROI with arbitrary shape | 
| ROI(int comp,
   int x,
   int y,
   int rad)Constructor for circular ROIs | 
| ROI(int comp,
   int ulx,
   int uly,
   int w,
   int h)Constructor for rectangular ROIs | 
public ImgReaderPGM maskPGM
public boolean arbShape
public boolean rect
public int comp
public int ulx
public int uly
public int w
public int h
public int x
public int y
public int r
public ROI(int comp,
           ImgReaderPGM maskPGM)
comp - The component the ROI belongs tomaskPGM - ImgReaderPGM containing the ROIpublic ROI(int comp,
           int ulx,
           int uly,
           int w,
           int h)
comp - The component the ROI belongs toulx - x-coordinate of upper left corner of ROIuly - y-coordinate of upper left corner of ROIw - width of ROIh - height of ROIpublic ROI(int comp,
           int x,
           int y,
           int rad)
comp - The component the ROI belongs tox - x-coordinate of center of ROIy - y-coordinate of center of ROIrad - radius of ROICopyright © 2017 Open Microscopy Environment