Close Contours of Image Segments
4 ビュー (過去 30 日間)
古いコメントを表示
Hello
Working on a segmentation project a have fell upon a serious problem. Sometimes when my segmentation algorithm runs do not produces close contour boundaries, as it considers that the edge of the image is already a boundary but does not creates a boundary there. Is there a way to introduce this information to the segmented image ?
My problem is more complicated as I need to process one by one all the image segments so I only need the part of the boundary that creates a close contour with the segment each time.
Every boundary is exported using bwboundaries() and saved in a binary image (here occurs the problem)
Please if you have any idea how to overcome this problem let me know.
Thank you
0 件のコメント
回答 (1 件)
Image Analyst
2012 年 5 月 28 日
I've never heard of that, but you can try padarray() so that your object edges that are on the edges of the image are no longer on the edges of the image.
3 件のコメント
Image Analyst
2012 年 5 月 28 日
Let's back up. What do you really want to do? Can you post your grayscale image, and post your binary image? Then tell me what you want to find. Because I don't see any reason at all to find boundaries of things that are already 1 pixel wide lines.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!