Login  Register

ROI Manager macro questions

Posted by Janne Hyötylä on Sep 28, 2010; 12:48pm
URL: http://imagej.273.s1.nabble.com/ROI-Manager-macro-questions-tp3686755.html

Hello everyone,

I have some questions about using the ROI Manager from macros.

1) Is there a way to call the More >> "Remove Slice Info" function from a  
macro? Or is there another way to reuse a ROI but on a different slice  
 from a macro?

2) I've written a macro which creates, selects, deletes a lot of ROIs  
using roiManager("") calls. I noticed that when I press Alt while the  
macro is running and ImageJ has focus, a dialog comes up asking to rename  
a ROI. This is on Linux with Fiji. Can I turn this behaviour off, i.e.  
stop the ROI Manager from receiving keyboard commands while the macro is  
running? I already have setBatchMode(true).


Thanks and cheers

Janne