I'm writing a semi-automatic juthon script. At some point the script stops waiting for the user to manually add a few ROIs. What I need is a method to save all the ROIs added to the ROI manager. I have tried the following:
RoiManager.runCommand("Save", ROIsOutpath)
but I get the following error:
TypeError: runCommand(): self arg can't be coerced to ij.plugin.frame.RoiManager
Of course I'm learning jython (and progrmming in general). The short question would be: How do I save multiple ROIs from the ROImanager in Jython?
Thank you!!