How to project matrix wich size is 512x512x23 ?

1 回表示 (過去 30 日間)
Dominika
Dominika 2011 年 8 月 29 日
I've created 3D matrix (from 23 CT slices) by using a cat function but I can't project it. I tried to use scatter3 but I dont know how to determine X, Y, Z values wchich are needed. Please help

採用された回答

pangyuteng
pangyuteng 2011 年 8 月 29 日
Projecting everything might not look good, you can try a maximum intensity projection if the data is contrast enhanced, such as angiograms,
load('mri');
notAtAllAngio=squeeze(D);
imshow(squeeze(max(notAtAllAngio,[],3)),[]);
or you can try other fancy rendering methods, such as View3D, http://www.mathworks.com/matlabcentral/fileexchange/21993-viewer3d.

その他の回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2011 年 8 月 29 日
If you don't have x,y,z data, then use it's index, 1:512 for x and y, 1:23 for z, try
slice(data,100,200,10)

カテゴリ

Help Center および File ExchangeResizing and Reshaping Matrices についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by