Saving 5D image as Tif and OME-Tif
Posted: Thu Mar 12, 2015 3:13 pm
Hi,
we would like to save 5D-images in TIF- and OME-TIF format, respectively, using Bioformats, however, did not succeed for now. It seems that either the meta data is not written correctly to the image files or the image data itself is probably not formatted in the right way. When opening saved images, e.g., with ImageJ directly or by using the Bioformats importer, the dimensions are mixed up. For example, assume that we save an image with dimensions x-size = 200, y-size = 100, c-size = 3, z-size = 10 and t-size = 5, when loading the image again the dimensions are x-size = 200, y-size = 100, c-size = 1, z-size = 1, and t-size = 150. We tried to save the image using IFormatWriter and MetadataStore objects, as pointed out at http://www.openmicroscopy.org/site/supp ... xport.html, however, seem to miss something fundamental. Is there any sample code that shows how 5D data can be saved to file in Tif and OME-Tif format using Bioformats and particularly, how the image data has to be formed and how meta data can be specified correctly?
Thanks and best regards,
Birgit
we would like to save 5D-images in TIF- and OME-TIF format, respectively, using Bioformats, however, did not succeed for now. It seems that either the meta data is not written correctly to the image files or the image data itself is probably not formatted in the right way. When opening saved images, e.g., with ImageJ directly or by using the Bioformats importer, the dimensions are mixed up. For example, assume that we save an image with dimensions x-size = 200, y-size = 100, c-size = 3, z-size = 10 and t-size = 5, when loading the image again the dimensions are x-size = 200, y-size = 100, c-size = 1, z-size = 1, and t-size = 150. We tried to save the image using IFormatWriter and MetadataStore objects, as pointed out at http://www.openmicroscopy.org/site/supp ... xport.html, however, seem to miss something fundamental. Is there any sample code that shows how 5D data can be saved to file in Tif and OME-Tif format using Bioformats and particularly, how the image data has to be formed and how meta data can be specified correctly?
Thanks and best regards,
Birgit