We use an (homebrewed) automated fluorescence microscope to acquire multichannel images. The device uses its own xml file to process the measurement. I have transformed it into ome xml format and stored.q-ome.xml (3,6 KB)
The associated images are stored as png images in a folder.
Now I would like to transform the data into an OME file by using the bfmatlab package.
According to the tutorial/documentation I have build an ome tiff with a minimal set of metadata.
% initialise the plane with 8 channels plane = zeros(sy, sx, 1,8,1, 'uint8'); % fill the plane with the data from stored images. ... % make minimal metadata metadata = createMinimalOMEXMLMetadata(plane); ... % save ome tiff bfsave(plane, 'testimage.ome.tiff', 'metadata', metadata);
Until here it works well.
The question is: how to use/import my ome.xml and replace or extend the minimal metadate with it?
Thanks in advance