how to find the width of edges in matlab?
Afficher commentaires plus anciens
I am able to find the edges of an image using sobel or canny filter. But I cant calculate the width of the edges.
Actually I want to do the following:
find the width of all horizontal and vertical edges and sum up altogether and store in a variable, say W1
Then find the width of other (non horizontal and vertical) edges. Then multiply each edge width by a factor sqrt(2). After sum up altogether and store in a variable say w2.
Finally perform (w1+w2)/N where N is the no of total edges in the image.
5 commentaires
Lahiru
le 17 Mai 2014
Did you manager to complete your work? I appreciate if you could show me how you accomplished this. I too have an edge map, as a result of applying the Canny edge detector to a grey-scaled image. I now want to scan each pixel in the image (row-wise), and if I come across an edge, I need to find its local min and max. I need to find the total number of edges + the local min and max values of each and every edge. Can you help please?
Image Analyst
le 17 Mai 2014
I'll tell you how when you ask your own, new question.
Lahiru
le 5 Juin 2014
Image Analyst
le 5 Juin 2014
Looks like I responded to that 3 weeks ago and you never replied.
Lahiru
le 5 Juin 2014
Oh, I'm really sorry, I just saw your response. I will reply in that thread. Thanks.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Object Analysis dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!