How to detect peaks in laser strip
이전 댓글 표시
I = imread('1.jpg'); z = im2bw(I); skel = bwmorph(z,'skel',Inf); imshow(skel)
I want to detect middle of laser strip in image 1, called peak detection.. i tried thinning and morphological operations, but it exactly doesn't work and gives image 2.. I want single middle line.. So, which function or logic or code may be applied, please suggest me...
채택된 답변
추가 답변 (1개)
Harshit
2012년 11월 19일
0 개 추천
It is not possible due to noise. Although if you just want a line use hough transform to get different lines and then select the biggest line.
댓글 수: 1
Lalit Patil
2012년 11월 19일
편집: Lalit Patil
2012년 11월 19일
카테고리
도움말 센터 및 File Exchange에서 Descriptive Statistics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!