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

조회 수: 1 (최근 30일)
I have holes in my outline. How to fill holes because i like to apply a poly2mask to closed outline
  댓글 수: 4
Walter Roberson
Walter Roberson 2012년 6월 19일
It had an extra colon at the beginning
https://www.dropbox.com/sh/gb02kopgo0ukmx2/WesN7ZS7C1

댓글을 달려면 로그인하십시오.

답변 (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