Save image labels from VolumeSegmenter as .mat file version 7.3

6 vues (au cours des 30 derniers jours)
Joshua Prince
Joshua Prince le 8 Fév 2024
I generated a segementation of a 3-D pixel array using the MATLAB Volume Segementer tool for a relatively large file (>2 GB). I now want to save it as a .mat file . Unfotruantely, from what I can tell, the VolumeSegementer apps automatically saves using the default .mat file type, which can't handle files this large. Normally I would choose the 7.3 version fo the .mat file for these larger images, but I am unsure how to do that with the VolumeSegmenter tool.

Réponses (1)

Joshua Prince
Joshua Prince le 8 Fév 2024
I was able to find workaround, but a "better" answer would be appreciated.
I saved the labels as a workspace variable called 'data.mat' (the label was 'data') which I then saved using the command window via:
save('data.mat','data','-v7.3')
This isn't ideal as my data sizes run up agaisnt the RAM of my machine, and adding extra variables to my workspace is to be avoided (why I am saving as .mat files in the first place).

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by