original metadata missing with bioformats in matlab
Posted: Mon Dec 18, 2017 2:18 pm
Hi all,
I'm trying to extract all original metadata from a .lif file in matlab using bioformats. I'm using the getSeriesMetadata method on the reader and then selecting the fields that I want from there. Doing this returns 219 metadata fields, but some of the ones I need are missing. When I open the same file with bioformats in imageJ I get 590 fields. getGlobalMetadata returns and empty hash and getCoreMetadataList returns the first ones that also appear on ImageJ but not the missing ones.
This is all I'm doing:
reader = bfGetReader([Path,File]);
seriesMetadata = reader.getSeriesMetadata();
Info = strsplit(string(seriesMetadata),', ')';
Is there a bug or am I doing something wrong? Many thanks in advance!
Julia
I'm trying to extract all original metadata from a .lif file in matlab using bioformats. I'm using the getSeriesMetadata method on the reader and then selecting the fields that I want from there. Doing this returns 219 metadata fields, but some of the ones I need are missing. When I open the same file with bioformats in imageJ I get 590 fields. getGlobalMetadata returns and empty hash and getCoreMetadataList returns the first ones that also appear on ImageJ but not the missing ones.
This is all I'm doing:
reader = bfGetReader([Path,File]);
seriesMetadata = reader.getSeriesMetadata();
Info = strsplit(string(seriesMetadata),', ')';
Is there a bug or am I doing something wrong? Many thanks in advance!
Julia