Saving 3D image

13 views (last 30 days)
Ka Zhang
Ka Zhang on 7 Dec 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?

Answers (2)

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

Sign in to comment.


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

Sign in to comment.

Categories

Find more on Convert Image Type in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!