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 individual impinged intensity value;
b) decoding said barcode by constructing a profile of said barcode from the individual impinged 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 having a respective individual impinged intensity value; 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 individual impinged intensity values from the individual impinged 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 wherein said selecting a fourth ordered set of pixels comprises;
e) calculating, for each pixel of said third set a corresponding exact shift value depending on the value of said first index and of said second index of said pixel; and
f) processing said exact shift values thus obtaining an ordered fifth set of said exact shift values, each exact shift value of said fifth set being associated with a respective pixel of said third set; and
g) each pixel of said fourth set of pixels being selected and ordered according to the order indicated by said fifth set of exact shift values.
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.
4 Citations
29 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 individual impinged intensity value; b) decoding said barcode by constructing a profile of said barcode from the individual impinged 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 having a respective individual impinged intensity value; 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 individual impinged intensity values from the individual impinged 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 wherein said selecting a fourth ordered set of pixels comprises; e) calculating, for each pixel of said third set a corresponding exact shift value depending on the value of said first index and of said second index of said pixel; and f) processing said exact shift values thus obtaining an ordered fifth set of said exact shift values, each exact shift value of said fifth set being associated with a respective pixel of said third set; and g) each pixel of said fourth set of pixels being selected and ordered according to the order indicated by said fifth set of exact shift values. - 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. 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 individual impinged intensity value; second code for decoding said barcode by constructing a profile of said barcode from individual impinged 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 having a respective individual impinged intensity value; 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 individual impinged intensity values from the individual impinged 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, wherein said selecting a fourth ordered set of pixels comprises code for; calculating, for each pixel of said third set a corresponding exact shift value depending on the value of said first index and of said second index of said pixel; and processing said shift values thus obtaining an ordered fifth set of said exact shift values, each exact shift value of said fifth set being associated with a respective pixel of said third set, each pixel of said fourth set of pixels being selected and ordered according to the order indicated by said fifth set of exact shift values. - View Dependent Claims (27, 28)
-
-
29. 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 individual impinged intensity value; decode said barcode by constructing a profile of said barcode from the individual impinged 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 having a respective individual impinged intensity value; and select a fourth ordered set of pixels from said third set of pixels and constructing an oversampled profile of said barcode by ordering individual impinged intensity values from the individual impinged 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, wherein said code to select a fourth ordered set of pixels comprises code to; calculate, for each pixel of said third set a corresponding exact shift value depending on the value of said first index and of said second index of said pixel; and process said shift values thus obtaining an ordered fifth set of said exact shift values, each exact shift value of said fifth set being associated with a respective pixel of said third set, each pixel of said fourth set of pixels being selected and ordered according to the order indicated by said fifth set of exact shift values.
-
Specification