Thanks Will,
Are you first downloading the ome.tiff from OMERO, and then wanting to read from the file using Bio-Formats?
Or are you connecting to OMERO via the Matlab API and wanting to access the Image metadata via the API?
The second is more urgent.
The link You sent is very useful but it doesn't show how to access these functions ("getUUIDFileName", etc.)
Actually, I found the alternative solution by retrieving and parsing the Description field
- Code: Select all
description = image.getDescription().getValue();
The Description is set up on OME-tiff import to Omero, however this method involves separate parsing tools.
Using "get.." functions would be cleaner.
It looks like the solution to the first task might be illustrated in OmeroMatlab's "bfopen", as it returns:
- Code: Select all
result{s, 4} = r.getMetadataStore();
The documentation shows that the return type "MetadataStore" doesn't include "get" functions
http://downloads.openmicroscopy.org/bio-formats/4.4.10/api/loci/formats/meta/MetadataStore.htmlHowever, it is also written that
All Known Subinterfaces:
IMetadata, OMEXMLMetadata
Here, "IMetadata" contains needed "get" functions.
I'm not sure what it means - could You please clarify?
Best,
Y.