How to detect the object on the right?
Mostra commenti meno recenti
Hi, can I ask if Hough Transform is still viable in detecting the large object on the right of this image? I want to get its location and length automatically. I used the code from Extract line segments based on Hough transform - MATLAB houghlines (mathworks.com), though I'm not sure how to fit it to the image. Or if there are better choices for line detection that isn't a perfect line. Thank you

Risposte (1)
Matt J
il 9 Ott 2023
0 voti
You can use bwareafilt(BW,1) to detect the largest object in the image.
Categorie
Scopri di più su Hough Transform in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!