How to detect peaks in laser strip
Mostra commenti meno recenti
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...
Risposta accettata
Più risposte (1)
Harshit
il 19 Nov 2012
0 voti
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 Commento
Lalit Patil
il 19 Nov 2012
Modificato: Lalit Patil
il 19 Nov 2012
Categorie
Scopri di più su Descriptive Statistics in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!