How can keep all objects who are in the specified area from center of 3D image?

1 回表示 (過去 30 日間)
Erfaneh
Erfaneh 2014 年 9 月 5 日
回答済み: Image Analyst 2014 年 9 月 5 日
I want to keep all objects who are in the specified area from center of image in 3D. For example in below image, how can keep all objects in red circle and remove all of the object out of the red circle? This circle has specified radius from center of image . I want to do that in 3D. Can any one help me?

採用された回答

Image Analyst
Image Analyst 2014 年 9 月 5 日
Create a spherical version of the circle mask, then multiply voxel by voxel:
out = array3D .* sphericalMaskImage;

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by