Image Processing - Detect lines using regionprops
이전 댓글 표시
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
Walter Roberson
2012년 1월 3일
Not so easily unless you have rotated the image to align the bars either horizontally or vertically.
Kim
2012년 1월 3일
Walter Roberson
2012년 1월 3일
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
2012년 1월 3일
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
2012년 1월 10일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Region and Image Properties에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!