Find boundary vertice of 3D volume data
1 回表示 (過去 30 日間)
古いコメントを表示
How can I find the boundary vertices of 3D volume data with 2 openings, the desired output should be two sets of boundary vertices. Thanks a lot.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145945/image.jpeg)
0 件のコメント
回答 (1 件)
Image Analyst
2014 年 11 月 3 日
I don't see how you get two sets of coordinates. I'm thinking of a torus with two holes. To get the boundary vertices you can subtract the morphological erosion from the original binary image:
binaryImage = grayImage > someThreshold;
boundary = binaryImage - imerode(binaryImage, true(3,3,3));
or something like that.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!