How to make a round bounday on the object
3 ビュー (過去 30 日間)
古いコメントを表示
Hi,

But it is showing glitches of up and downs on the surface.
I want to get rid of it and make a circular outline around my object.
Cany anyone pls help me in doing it.
Thanks
2 件のコメント
回答 (1 件)
darova
2019 年 11 月 4 日
- Use edge to detect edge
- Use find to get coordinates (rows and columns of edge)
- Calculate some center (approximately)

- Use cart2pol to calculate angle of each pixel
- sort pixels by angle
- Calculate new edge with smooth
Or another way:
- Use edge to detect edge
- imdilate object
- Try bwmorph(I,'thin',inf) tu return to original image
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!