フィルターのクリア

How can use roipoly in a 3D image?

4 ビュー (過去 30 日間)
Ann G
Ann G 2016 年 3 月 17 日
編集済み: Ann G 2016 年 3 月 17 日
I have created a code in which I use ginput, roipoly and imcrop in order to select a ROI from a 2D slice. How can I do that in a 3D image(for every slice)?
[x,y]=ginput;
BW = roipoly(ROI, x, y);
...
A=ROI .*BW;
Final=imcrop(K);
figure; imagesc(Final); axis equal; colormap(gray); colorbar;

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by