MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / measure

Method measure

ij/src/main/java/ij/gui/Overlay.java:210–221  ·  view source on GitHub ↗

Measures the ROIs in this overlay on the specified image and returns the results as a ResultsTable.

(ImagePlus imp)

Source from the content-addressed store, hash-verified

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

Callers 1

doOverlayMethod · 0.95

Calls 6

showRowNumbersMethod · 0.95
sizeMethod · 0.95
getMethod · 0.95
measureMethod · 0.95
deleteRoiMethod · 0.80
setRoiMethod · 0.45

Tested by

no test coverage detected