Removing gaps between the boundary or filling inside the boundary

2 次查看(过去 30 天)
Can anyone help in how to join the discontinuous boundary of this image. And how to fill inside this boundary. the image is obtained using 'Sobel edge detector in Matlab'.

回答(1 个)

Image Analyst
Image Analyst 2016-5-5
Sobel is probably not good, or not enough. If it's a video of a person walking, try optical flow. Why do you think edge detection is the best approach?
  1 个评论
BlueBee77
BlueBee77 2016-5-9
I tried the other edge detectors but they are giving some extra details. Sobel is good because it gives less detail and i am interested only in the boundary. Dilation and erosion gives exactly what i need (filling inside the boundary). But the problem comes when there is a long gap in the boundary. I need a perfect human silhouette, does optical flow can help me in getting a perfect boundary? And what you think about Viola jones?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image and Video Ground Truth Labeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by