MATLAB Answers

Ann G
0

How can use roipoly in a 3D image?

Asked by Ann G
on 17 Mar 2016
Latest activity Edited by Ann G
on 17 Mar 2016
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 Comments

Sign in to comment.

0 Answers