problem in saving/writing 3D images.

2 visualizaciones (últimos 30 días)
NAVNEET NAYAN
NAVNEET NAYAN el 14 de Oct. de 2020
Editada: Ameer Hamza el 14 de Oct. de 2020
I had 30 2D images. I concatenated it and made it a 3D image. The 2D and 3D images were of uint8 datatype. I wanted to save or to write this 3D image in a folder or a in a particular file. I used niftiwrite function for this purpose. But the saved file was in .nii format. Is there any other way to save or to write the formed 3D image in the same unit8 datatype in a particular folder or file?
In case, you require any clarity on the above mentioned problem, feel free to comment and discuss.

Respuesta aceptada

Ameer Hamza
Ameer Hamza el 14 de Oct. de 2020
Editada: Ameer Hamza el 14 de Oct. de 2020
Use MATLAB's native .mat file format. See save(): https://www.mathworks.com/help/matlab/ref/save.html. It loads the numeric data in same datatype in which it was saved.

Más respuestas (0)

Categorías

Más información sobre Import, Export, and Conversion en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by