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

9 views (last 30 days)
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 Comments
Marcus Leiwe
Marcus Leiwe on 17 Jan 2020
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.

Sign in to comment.

Answers (0)

Categories

Find more on Biomedical Imaging in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!