Login  Register

get ome tiff metadata of an ompen image in IJ macro

Posted by Heerpa on Jul 26, 2013; 6:01pm
URL: http://imagej.273.s1.nabble.com/get-ome-tiff-metadata-of-an-ompen-image-in-IJ-macro-tp5004158.html

Hi all,

 

I am trying to retreive the deltaT s  of an already-opened ome-tiff movie in
a macro.

 

For this, I am trying to go along the lines of curtis'macro
https://github.com/openmicroscopy/bioformats/blob/develop/components/loci-pl
ugins/utils/macros/planeTimings.txt

however, here, the ome metadata seems to be retreived when you pass on the
file path (Ext.setId), l.12

In the case when I have the image already open in ImageJ, I don't know how
to  get the file path. In a plugin, I would go via OriginalFileInfo, and
pass on the xml. But how should I do it in a macro?

 

thanks

   Heinrich


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