I have a barcode image how i take only the barcode part from the image??
1 view (last 30 days)
Show older comments
The barcode image have barcode lines and numbers, background is white and the symbols is black. I want only the barcode part, how I take this part??
0 Comments
Answers (1)
Image Analyst
on 2 Jun 2015
Threshold for black. Then get the bounding boxes using regionprops(), then get the max x and y of all the boxes and finally use imcrop(). Attach your image if you want more help. Or see my Image Segmentation Tutorial in my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
0 Comments
See Also
Categories
Find more on Image Segmentation and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!