Find boundary vertice of 3D volume data
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Image Analyst
on 3 Nov 2014
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.
See Also
Categories
Find more on Code Generation, GPU, and Third-Party Support in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!