[]
This class contains the shape of a single ROI. In the current implementation only rectangles and circles are supported.
public class ROI
| Name | Description |
|---|---|
| ROI(int, ImgReaderPGM) | Constructor for ROI with arbitrary shape |
| ROI(int, int, int, int) | Constructor for circular ROIs |
| ROI(int, int, int, int, int) | Constructor for rectangular ROIs |
| Name | Description |
|---|---|
| arbShape | Where or not the ROI shape is arbitrary |
| comp | The components for which the ROI is relevant |
| h | height of rectangular ROI |
| maskPGM | ImgReaderPGM object with the arbrtrary ROI |
| r | radius of circular ROI |
| rect | Flag indicating whether the ROI is rectangular or not |
| ulx | x coordinate of upper left corner of rectangular ROI |
| uly | y coordinate of upper left corner of rectangular ROI |
| w | width of rectangular ROI |
| x | x coordinate of center of circular ROI |
| y | y coordinate of center of circular ROI |
| Name | Description |
|---|---|
| ToString() | This function prints all relevant data for the ROI |