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!