ImageJ base code to get access to all the classes and their methods to test new Plugins. https://imagejdocu.tudor.lu/howto/plugins/the_imagej_eclipse_howto
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
419 B

3 years ago
  1. // Adds particle analyzer ROIs to the ROI Manager
  2. if (nResults==0)
  3. return "Results table is empty";
  4. if (isNaN(getResult('XStart', 0)))
  5. return "Run the particle analyzer with \"Clear Results\" \nand \"Record Starts\" checked, then try again.";
  6. for (i=0; i<nResults; i++) {
  7. x = getResult('XStart', i);
  8. y = getResult('YStart', i);
  9. doWand(x,y);
  10. roiManager("add");
  11. }
  12. return "";