[]
This function parses the values given for the ROIs with the argument -Rroi. Currently only circular and rectangular ROIs are supported.
<p>A rectangular ROI is indicated by a 'R' followed the coordinates for
the upper left corner of the ROI and then its width and height.</p><p>A circular ROI is indicated by a 'C' followed by the coordinates of
the circle center and then the radius.</p><p>Before the R and C values, the component that are affected by the
ROI are indicated.</p>
protected static List<object> parseROIs(string roiopt, int nc, List<object> roiVector)
Type | Name | Description |
---|---|---|
string | roiopt | The info on the ROIs |
int | nc | number of components |
List<object> | roiVector | The vcector containing the ROI parsed from the cmd line |
Type | Description |
---|---|
List<object> | The ROIs specified in roiopt |