I have holes in my outline. How to fill holes because i like to apply a poly2mask to closed outline.Please I need your help

3 次查看(过去 30 天)
I have holes in my outline. How to fill holes because i like to apply a poly2mask to closed outline
  4 个评论

请先登录,再进行评论。

回答(1 个)

Image Analyst
Image Analyst 2012-6-20
Try edge linking. Here's one professor's implementation: http://www.csse.uwa.edu.au/~pk/Research/MatlabFns/#edgelink
  13 个评论
Image Analyst
Image Analyst 2012-6-20
Also tell us the big picture. Forget about the outline for the moment. What do you really want to measure in the image?
Ryan
Ryan 2012-6-20
The small holes could be closed with a dilation and re-thinning, iirc. Then find the end points (which would be the top gap) and connect them with a line.

请先登录,再进行评论。

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by