// Adds particle analyzer ROIs to the ROI Manager
|
|
if (nResults==0)
|
|
return "Results table is empty";
|
|
if (isNaN(getResult('XStart', 0)))
|
|
return "Run the particle analyzer with \"Clear Results\" \nand \"Record Starts\" checked, then try again.";
|
|
for (i=0; i<nResults; i++) {
|
|
x = getResult('XStart', i);
|
|
y = getResult('YStart', i);
|
|
doWand(x,y);
|
|
roiManager("add");
|
|
}
|
|
return "";
|