How to detect edges in binary image?
이전 댓글 표시
I have obtained the image below after applying thresholding. The white areas inside the boundaries represent the defective part. I only want these defective parts on the image, like the ones inside the blue boxes. The approach in my mind is to use any edge detection algorithm and then subtract that image from the original one so that only defective parts remain on the image. I have used many edge detection algorithms, but I failed to obtain the desired result. How to extract boundaries or edges from the given image. Or is there any better way to solve this problem?

채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Object Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!