Export Data from Matlab to Text Files
Mostrar comentarios más antiguos
Hello
Working on a segmentation of 3D CT images.
I want to know Please
- what's the best software for 3D visualization for these images
- How to save these images (3D matrix 1536x1536x1101) into a file .txt
Does this code is the best to save it
if true
fid=fopen('data.txt','wt');
fprintf(fid,'%d %d %d\n',Matrix3D);
fclose(fid);
end
Please if you have any idea let me know.
Thank you
3 comentarios
dpb
el 7 de Jul. de 2014
...these images (3D matrix 1536x1536x1101) into a file .txt
Why would you even think of saving image files as text? Use an appropriate image format or if staying in Matlab maybe a .mat or even stream via fwrite but NOT ASCII.
Haykel
el 8 de Jul. de 2014
dpb
el 9 de Jul. de 2014
no, No, NO, NO, NO!!!!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre DICOM Format en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!