bwboundaries and polyshape for microstructural image processing
7 views (last 30 days)
Show older comments
Hi there,
I used the matlab function bwboundaries to find grain boundaries in my microstructural image which generates a binary image as shown on the left. I then tried to represent each grain with a polygon using the polyshape function, which generates the image on the right. However, as you can see, the polygons generated around the smaller grains (near the top and bottom regions) doesn't look right. These grains appear to be embedded in a much larger grain which is not the case. I'm thinking this could be due to the grains being very small in size which affected the polygon population. Does anyone have any idea on how to improve the generation of the polygons?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/401019/image.png)
Thank you.
Best Regards,
Wayne
0 Comments
Answers (0)
See Also
Categories
Find more on Elementary Polygons in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!