detect scratches in image
이전 댓글 표시

this is the input image i want to detect scratches in this image but i don't know how to proceed please guide me. i want output image like this

댓글 수: 2
Walter Roberson
2015년 11월 20일
You appear to have marked blobs, not scratches. Scratches are long thin marks such as appear near the bottom left of the bright area.
mehroz irshad
2015년 11월 20일
답변 (1개)
Image Analyst
2015년 11월 20일
0 개 추천
Try a tophat or bottomhat filter, imtophat() or imbothat().
댓글 수: 3
mehroz irshad
2015년 11월 20일
편집: Walter Roberson
2015년 11월 20일
Walter Roberson
2015년 11월 20일
original = rgb2gray( imread('fivTest.png') );
Image Analyst
2015년 11월 20일
You should also get a better photo. Your setup is horrible. Have you considered using more uniform illumination, board illumination (no line or point sources of light), crossed polarizers (to knock out that specular reflections right where you want to analyze), etc. It's always better to start with a good image than to try to fix us a crappy image afterwards in software.
카테고리
도움말 센터 및 File Exchange에서 Image Segmentation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!