Problem with overlay from ROi in BatchMode

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with overlay from ROi in BatchMode

ERIC
Hi all,
I want to save an image with the ROI in the Overlay. It does't work  
when setBatchMode is set to true. Any Idea ?
YOu can try by this kind of macro:

setBatchMode(true);
open("the file you want);
run("From ROI Manager");
saveAs("the file you want");
close();

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Problem with overlay from ROi in BatchMode

Rasband, Wayne (NIH/NIMH) [E]
On Mar 23, 2014, at 7:43 AM, Eric Denarier wrote:

> Hi all,
> I want to save an image with the ROI in the Overlay. It does't work when setBatchMode is set to true. Any Idea ?
> YOu can try by this kind of macro:
>
> setBatchMode(true);
> open("the file you want);
> run("From ROI Manager");
> saveAs("the file you want");
> close();

This bug is fixed in the latest ImageJ daily build (1.48t31).

-wayne

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Problem with overlay from ROi in BatchMode

ERIC
Thanks Wayne,
It works great !!!

"Rasband, Wayne (NIH/NIMH) [E]" <[hidden email]> a écrit :

> On Mar 23, 2014, at 7:43 AM, Eric Denarier wrote:
>
>> Hi all,
>> I want to save an image with the ROI in the Overlay. It does't work  
>> when setBatchMode is set to true. Any Idea ?
>> YOu can try by this kind of macro:
>>
>> setBatchMode(true);
>> open("the file you want);
>> run("From ROI Manager");
>> saveAs("the file you want");
>> close();
>
> This bug is fixed in the latest ImageJ daily build (1.48t31).
>
> -wayne
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html