Saving 3D image

조회 수: 13 (최근 30일)
Ka Zhang
Ka Zhang 2011년 12월 7일
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?

답변 (2개)

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

댓글을 달려면 로그인하십시오.


Walter Roberson
Walter Roberson 2011년 12월 12일
  댓글 수: 1
Ka Zhang
Ka Zhang 2011년 12월 12일
unfortunately that writes out the 3D MATLAB variable into 2D slices with each slice as an individual dicom file. Thanks though

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by