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 Center および File ExchangeConvert Image Type についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by