METHOD FOR DECODING A LINEAR BAR CODE
First Claim
1. A method for decoding a linear barcode in an image, by a sensor having a set of pixels, the method comprising:
- a) selecting a predetermined scanning line, comprising a first ordered set of pixels, in which each pixel is identified by a first index and has a respective intensity value;
b) decoding said barcode by constructing a profile of said barcode from intensity values of said pixels of said predetermined scanning line;
c) obtaining a second set of scanning lines, which also comprises said predetermined scanning line, in which said scanning lines are ordered according to a second index and each scanning line comprises a respective first set of pixels for defining a third set of pixels, each identified by said first index and by said second index; and
d) selecting a fourth ordered set of pixels from said third set of pixels and constructing an oversampled profile of said barcode by ordering intensity values calculated from intensity values of said pixels of said fourth set, said fourth set of pixels comprising pixels of said predetermined scanning line and further pixels of said third set that do not belong to said predetermined scanning line, to obtain a subpixel resolution that is able to decode said barcode.
1 Assignment
0 Petitions
Accused Products
Abstract
A barcode decoding method includes obtaining a plurality of scanning lines defining a second set of scanning lines which also comprises a predetermined scanning line. Each scanning line has a first set of pixels, each identified by a first and by a second index. The pixels that are part of the second set of scanning lines define a third set of pixels and, from the pixels of the third set of pixels, it is possible to select a fourth set of pixels to construct an oversampled profile of the barcode, ordering intensity values calculated from the intensity values of the pixels of the fourth set. The pixels of the fourth set include pixels of the predetermined scanning line and further pixels of the third set that do not belong to the predetermined scanning line, to obtain a subpixel resolution that is able to decode the barcode.
-
Citations
30 Claims
-
1. A method for decoding a linear barcode in an image, by a sensor having a set of pixels, the method comprising:
-
a) selecting a predetermined scanning line, comprising a first ordered set of pixels, in which each pixel is identified by a first index and has a respective intensity value; b) decoding said barcode by constructing a profile of said barcode from intensity values of said pixels of said predetermined scanning line; c) obtaining a second set of scanning lines, which also comprises said predetermined scanning line, in which said scanning lines are ordered according to a second index and each scanning line comprises a respective first set of pixels for defining a third set of pixels, each identified by said first index and by said second index; and d) selecting a fourth ordered set of pixels from said third set of pixels and constructing an oversampled profile of said barcode by ordering intensity values calculated from intensity values of said pixels of said fourth set, said fourth set of pixels comprising pixels of said predetermined scanning line and further pixels of said third set that do not belong to said predetermined scanning line, to obtain a subpixel resolution that is able to decode said barcode. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26)
-
-
27. A barcode reader comprising a sensor having a set of pixels, the barcode reader being programmed with code for decoding a barcode comprising:
-
first code for selecting a predetermined scanning line, comprising a first ordered set of pixels, in which each pixel is identified by a first index and has a respective intensity value; second code for decoding said barcode by constructing a profile of said barcode from intensity values of said pixels of said predetermined scanning line; third code for obtaining a second set of scanning lines, which also comprises said predetermined scanning line, in which said scanning lines are ordered according to a second index and each scanning line comprises a respective first set of pixels for defining a third set of pixels, each identified by said first index and by said second index; and fourth code for selecting a fourth ordered set of pixels from said third set of pixels and constructing an oversampled profile of said barcode by ordering intensity values calculated from intensity values of said pixels of said fourth set, said fourth set of pixels comprising pixels of said predetermined scanning line and further pixels of said third set that do not belong to said predetermined scanning line, to obtain a subpixel resolution that is able to decode said barcode. - View Dependent Claims (28, 29)
-
-
30. Computer-readable media tangibly embodying a programme that comprises code for decoding a barcode when the programme is run in a barcode reader, the computer-readable media comprising code to:
-
select a predetermined scanning line, comprising a first ordered set of pixels, in which each pixel is identified by a first index and has a respective intensity value; decode said barcode by constructing a profile of said barcode from intensity values of said pixels of said predetermined scanning line; obtain a second set of scanning lines, which also comprises said predetermined scanning line, in which said scanning lines are ordered according to a second index and each scanning line comprises a respective first set of pixels for defining a third set of pixels, each identified by said first index and by said second index; and select a fourth ordered set of pixels from said third set of pixels and constructing an oversampled profile of said barcode by ordering intensity values calculated from intensity values of said pixels of said fourth set, said fourth set of pixels comprising pixels of said predetermined scanning line and further pixels of said third set that do not belong to said predetermined scanning line, to obtain a subpixel resolution that is able to decode said barcode.
-
Specification