Login  Register

Re: Interacting with image in BatchMode

Posted by Thomas P on Jun 16, 2010; 1:38pm
URL: http://imagej.273.s1.nabble.com/Interacting-with-image-in-BatchMode-tp3687909p3687911.html

Thanks for the quick response. The reason why I haven't been doing as you said is partly that the documentation states that setBatchMode(true) should only be called once in each macro, and partly because the instance where user interaction is required is inside a function.

When I set BatchMode to false around the part where user interaction is required it seems as if all but the selected windows are closed (or removed from memory as they have never been open in batch mode) as the subsequent calls to other imageID returns an error - any way to fix this?

Thanks for the suggestion for the ROI manager. I will check it out though it is outside the scope of my course...