Saving 3D image

11 visualizzazioni (ultimi 30 giorni)
Ka Zhang
Ka Zhang il 7 Dic 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?

Risposte (2)

Sean de Wolski
Sean de Wolski il 7 Dic 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 Commenti
Sean de Wolski
Sean de Wolski il 12 Dic 2011
what does
whos images
return?
Ka Zhang
Ka Zhang il 12 Dic 2011
it's
Name Size Bytes Class Attributes
image027 512x512x99 207618048 double

Accedi per commentare.


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

Accedi per commentare.

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by