how to detect rough boundary of a object in a image
2 ビュー (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/170907/image.jpeg)
I have a BW(black and white) image like this, and I am trying to detect the boundary in the center (as I have drawn in the second image). How should I program to get it?
回答 (1 件)
Arun Mathamkode
2018 年 3 月 20 日
I think the morphological operations like erode and dilate will be useful in separating the central bell-shaped region from the rest white region. First, you may need to use a combination of imerode and imdilate for this. Once you have separated the central region you use the bwboundaries function to find the boundary.
0 件のコメント
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!