Measures the ROIs in this overlay on the specified image and returns the results as a ResultsTable.
(ImagePlus imp)
| 208 | * and returns the results as a ResultsTable. |
| 209 | */ |
| 210 | public ResultsTable measure(ImagePlus imp) { |
| 211 | ResultsTable rt = new ResultsTable(); |
| 212 | rt.showRowNumbers(true); |
| 213 | Analyzer analyzer = new Analyzer(imp, rt); |
| 214 | for (int i=0; i<size(); i++) { |
| 215 | Roi roi = get(i); |
| 216 | imp.setRoi(roi); |
| 217 | analyzer.measure(); |
| 218 | } |
| 219 | imp.deleteRoi(); |
| 220 | return rt; |
| 221 | } |
| 222 | |
| 223 | /* |
| 224 | * Duplicate the elements of this overlay which |