How can I write a 4 dimensional Tiff from a 4D matrix?

I'm trying to convert 4d matrix (XYCZ) into a Tiff that will have also have the required metadata information such as the voxel resolution. I've tried looking at functions such as bfsave, from the bio-formats group but the file size is 4 times bigger (as well as generating issues when trying to apply the original metadata - extracted from bfopen - to the 4d matrix). Is there a faster way?
Ultimately I'm trying to generate an image that can be read by standard microscopy software such as Neurolucida, and FIJI/ImageJ
Thanks in advance,
Marcus

3 commentaires

If I understand correctly, ImageJ cannot read 4D tiff files. Instead it reads 3d tiff sequences with the help of some metadata.
Thanks Walter,
Using the bioformats io plugin you are able to open it as a hyperstack. But as you said it does rely on the metadata. However, I'm having trouble correctly applying the metadata from the original image onto the image I've transformed in MATLAB.

Connectez-vous pour commenter.

Réponses (0)

Catégories

Produits

Version

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by