Saving 3D image

12 Ansichten (letzte 30 Tage)
Ka Zhang
Ka Zhang am 7 Dez. 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?

Antworten (2)

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

Melden Sie sich an, um zu kommentieren.


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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by