Saving 3D image

12 vues (au cours des 30 derniers jours)
Ka Zhang
Ka Zhang le 7 Déc 2011
Hi,
I have a series of CT image slices that I've uploaded into MATLAB and are stacked in one variable. How do I save it out as a 3D image?

Réponses (2)

Sean de Wolski
Sean de Wolski le 7 Déc 2011
Does it need to be accessible from another program?
doc save
I would just use save and save it as a matfile. If it has to be readable from another program (or someone without MATLAB) use fopen/fwrite
doc fopen
doc fwrite
  11 commentaires
Sean de Wolski
Sean de Wolski le 12 Déc 2011
what does
whos images
return?
Ka Zhang
Ka Zhang le 12 Déc 2011
it's
Name Size Bytes Class Attributes
image027 512x512x99 207618048 double

Connectez-vous pour commenter.


Walter Roberson
Walter Roberson le 12 Déc 2011
  1 commentaire
Ka Zhang
Ka Zhang le 12 Déc 2011
unfortunately that writes out the 3D MATLAB variable into 2D slices with each slice as an individual dicom file. Thanks though

Connectez-vous pour commenter.

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by