Image Processing - Detect lines using regionprops
Afficher commentaires plus anciens
How can I detect the lines of barcode using regionprops to inform the computer this is the barcode??
Here is the image link that being processed from my code
5 commentaires
Walter Roberson
le 3 Jan 2012
Not so easily unless you have rotated the image to align the bars either horizontally or vertically.
Kim
le 3 Jan 2012
Walter Roberson
le 3 Jan 2012
That link just keeps telling me that it is preparing the download :(
You could do centroid checking, yes, but recall that the centroids of noise might be close together.
You could use the eccentricity as a guideline as to whether you have a long narrow object.
Image Analyst
le 3 Jan 2012
Yeah, I hate sites that don't show you the picture right away. If you click on the camera icon it will show you the binary image of the bar code. Kim might be able to use Hough() or houghlines().
Kim
le 10 Jan 2012
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Region and Image Properties 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!