Hi Martin,
> using the Bio-Formats LOCI-importer as a plugin, I can select "Display ROIs"
> in the Metadata viewing section, and the ROIs stored with my *.lsm file are
> imported and are listed in the ROI Manager.
>
> Is there a possibility to do the same from a macro?
Something similar to this should work:
run("Bio-Formats Importer", "display_rois");
You can get the exact macro command by starting the macro recorder
(Plugins > Macros > Record) and then manually opening a file using the
options that you would like the macro to use. The macro recorder window
will then contain the exact line(s) that you need to paste into your own macro.
Regards,
-Melissa
On Tue, May 03, 2011 at 11:57:31AM -0700, Martin Höhne wrote:
> Dear all,
>
> using the Bio-Formats LOCI-importer as a plugin, I can select "Display ROIs"
> in the Metadata viewing section, and the ROIs stored with my *.lsm file are
> imported and are listed in the ROI Manager.
>
> Is there a possibility to do the same from a macro?
> I can open files from a macro, but I can´t figure out how to read the ROIs.
>
> Thanks for any hints,
>
> Martin
>
> --
> View this message in context:
http://imagej.588099.n2.nabble.com/import-ROI-from-lsm-file-via-macro-tp6328442p6328442.html> Sent from the ImageJ mailing list archive at Nabble.com.