how to measure distance between corners?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have detected some corners in labeled images,how can I measure vertical distance between corners,forexample plot a line at the top corner of each labeled image and measure the vertical difference to each other
4 commentaires
Guillaume
le 4 Oct 2014
Then, since you have detected the two corners, can't you just subtract their vertical coordinates?
Réponse acceptée
Image Analyst
le 4 Oct 2014
Just measure the bounding box with regionprops. A full demo is given in my Image Segmentation Tutorial: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
9 commentaires
Image Analyst
le 19 Oct 2014
To show top lines, use the line() or plot() function on the original (not cropped) image. To display bounding box, use the rectangle() function on the original image, not the cropped subImage.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Image Processing and Computer Vision dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!