CA2577235A1 - Optical scanner and image reader for reading images and decoding optical information including one and two dimensional symbologies at variable depth of field - Google Patents
Optical scanner and image reader for reading images and decoding optical information including one and two dimensional symbologies at variable depth of field Download PDFInfo
- Publication number
- CA2577235A1 CA2577235A1 CA002577235A CA2577235A CA2577235A1 CA 2577235 A1 CA2577235 A1 CA 2577235A1 CA 002577235 A CA002577235 A CA 002577235A CA 2577235 A CA2577235 A CA 2577235A CA 2577235 A1 CA2577235 A1 CA 2577235A1
- Authority
- CA
- Canada
- Prior art keywords
- data
- image
- optical
- memory
- dimensional
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
- 230000003287 optical effect Effects 0.000 title claims abstract description 73
- 238000012545 processing Methods 0.000 claims abstract description 61
- 230000001427 coherent effect Effects 0.000 claims abstract description 4
- 238000000034 method Methods 0.000 claims description 36
- 230000008901 benefit Effects 0.000 description 21
- 238000005286 illumination Methods 0.000 description 19
- 238000010586 diagram Methods 0.000 description 16
- 238000007667 floating Methods 0.000 description 8
- 238000003384 imaging method Methods 0.000 description 8
- 238000012546 transfer Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000009432 framing Methods 0.000 description 5
- 238000013507 mapping Methods 0.000 description 5
- 238000009826 distribution Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000009828 non-uniform distribution Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 229910052710 silicon Inorganic materials 0.000 description 2
- 239000010703 silicon Substances 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 238000000844 transformation Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 239000003292 glue Substances 0.000 description 1
- 229910052736 halogen Inorganic materials 0.000 description 1
- 150000002367 halogens Chemical class 0.000 description 1
- 230000020169 heat generation Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- VIKNJXKGJWUCNN-XGXHKTLJSA-N norethisterone Chemical compound O=C1CC[C@@H]2[C@H]3CC[C@](C)([C@](CC4)(O)C#C)[C@@H]4[C@@H]3CCC2=C1 VIKNJXKGJWUCNN-XGXHKTLJSA-N 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000004091 panning Methods 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 208000003580 polydactyly Diseases 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 238000003530 single readout Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 238000001429 visible spectrum Methods 0.000 description 1
Landscapes
- Image Input (AREA)
Abstract
Image data is processed on a single processing chip corresponding to a physical image selected from a group consisting of optical codes, one-dimensional symbologies, two-dimensional symbologies and three-dimensional symbologies. An optical reading apparatus having a focal plane is used for the processing. The image data is searched for a series of coherent bars and spaces. Textual data is identified. A
subset of the data containing meaningful data is determined. An angle of said physical image with respect to the focal plane is determined. Sub-pixel interpolation is performed to generate output data corresponding to the physical image.
subset of the data containing meaningful data is determined. An angle of said physical image with respect to the focal plane is determined. Sub-pixel interpolation is performed to generate output data corresponding to the physical image.
Description
OPTICAL SCANNER AND IMAGE READER FOR READING IMAGES AND
DECODING OPTICAL INFORMATION INCLUDING ONE AND TWO
DIMENSIONAL SYMBOLOGIES AT VARIABLE DEPTH OF FIELD
This is a division of co-pending Canadian Patent Application No. 2,288,758 filed on May 5, 1998.
Field of the Invention This invention generally relates to a scanning or imaging system for reading and/or analyzing optically encoded information or images and more particularly to a system "on-chip" with intelligence for grabbing, analyzing and/or processing images within a frame.
DECODING OPTICAL INFORMATION INCLUDING ONE AND TWO
DIMENSIONAL SYMBOLOGIES AT VARIABLE DEPTH OF FIELD
This is a division of co-pending Canadian Patent Application No. 2,288,758 filed on May 5, 1998.
Field of the Invention This invention generally relates to a scanning or imaging system for reading and/or analyzing optically encoded information or images and more particularly to a system "on-chip" with intelligence for grabbing, analyzing and/or processing images within a frame.
2 Background of the Invention Many industries, including the assembly processing, grocery and food processing industries, transportation, and multimedia industries, utilize an identification system in which the products are marked with an optical code (such as a bar code symbol consisting of a series of lines and spaces of varying widths, or other type of symbols consisting of series of contrasting markings, generally known as two dimensional symbology). A number of different optical code readers and laser scanning systems have been developed to decode the optical pattern to a multiple digit representation for inventory, production tracking, check out or sales.
Some of optical reading devices are also used to take pictures and display, store or transmit real time images to another system.
Optical readers or scanners are available in a variety of configurations, some of which are built into a fixed scanning station and others of which are portable.
The portability of an optical reading device provides a number of advantages, including the ability to inventory products on shelves and to track portable items such as files or small equipment. A number of these portable reading devices incorporate laser diodes which permit the user to scan the symbology at variable distances from the surface on which the optical code is imprinted. A
disadvantage of known laser scanners is that they are expensive to manufacture and do not provide the ability to reproduce the image of the targeted area by the sensor and therefore limits the field of use of optical code reading devices.
Additionally laser scanners typically require a raster scanning technique to read and decode a two dimensional optical code.
Another type of optical code reading device, generally known as scanner or imager, which can be incorporated into a portable system uses light emitting diodes (LEDs) as a light source and charge coupled devices (CCD) or Complementary metal oxide silicon (CMOS) sensors as detectors. This class of scanners or imagers is generally known as "CCD scanners" or "CCD imagers" . CCD scanners take a picture of the optical code and stores the image in a frame memory, which is then scanned electronically, or processed using software to convert the captured image into an output signal.
One type of such CCD scanner is disclosed in earlier patents of the present inventor, Alexander Roustaei. These patents include United States Patents Nos.
5,291,009, 5,349,172, 5,354,977, 5,532,467, and 5,627,358. While CCD scanners
Some of optical reading devices are also used to take pictures and display, store or transmit real time images to another system.
Optical readers or scanners are available in a variety of configurations, some of which are built into a fixed scanning station and others of which are portable.
The portability of an optical reading device provides a number of advantages, including the ability to inventory products on shelves and to track portable items such as files or small equipment. A number of these portable reading devices incorporate laser diodes which permit the user to scan the symbology at variable distances from the surface on which the optical code is imprinted. A
disadvantage of known laser scanners is that they are expensive to manufacture and do not provide the ability to reproduce the image of the targeted area by the sensor and therefore limits the field of use of optical code reading devices.
Additionally laser scanners typically require a raster scanning technique to read and decode a two dimensional optical code.
Another type of optical code reading device, generally known as scanner or imager, which can be incorporated into a portable system uses light emitting diodes (LEDs) as a light source and charge coupled devices (CCD) or Complementary metal oxide silicon (CMOS) sensors as detectors. This class of scanners or imagers is generally known as "CCD scanners" or "CCD imagers" . CCD scanners take a picture of the optical code and stores the image in a frame memory, which is then scanned electronically, or processed using software to convert the captured image into an output signal.
One type of such CCD scanner is disclosed in earlier patents of the present inventor, Alexander Roustaei. These patents include United States Patents Nos.
5,291,009, 5,349,172, 5,354,977, 5,532,467, and 5,627,358. While CCD scanners
3 have the advantage of being less expensive to manufacture, the scanners prior to Roustaei were limited to scanning the optical code by either contacting the surface on which the optical code is imprinted or maintaining a distance of no more than one and one-half inches away from the optical code, which creates a further limitation in that- it cannot read-optical code any bigger-than- the window or housing width of the reading device. The CCD scanner disclosed in United States Patent No. 5,291,009 and its offspring introduced the ability to read symbologies which are wider than the physical width and height of the scanner housing at distances as much as twenty inches from the scanner or imager. This added versatility to CCD
scanners which previously were limited to contact and close range, now allowing the CCD scan engines or imagers to be incorporated in fixed scanner systems, such as are used at retail checkout counters.
Considerable attention has been directed toward the scanning of two-dimensional symbologies, which can store about 100 times more information in the same space occupied by a one-dimensional symbology. In two-dimensional symbologies, rows of lines and spaces are either stacked upon each other or they form matrix of black and white square, rectangular or hexagon cells. The symbologies or the optical codes are read by scanning a laser across each row, in the case of stacked symbology, in succession in a zig-zag pattern. A
disadvantage of this technique is that it introduces the risk of loss of vertical synchrony due to the time required to scan the entire optical code. It also has the disadvantage of requiring a laser for illumination and moving part for generating the zig-zag pattern, in order to scan the entire symbology, which makes the scanner more expensive and less reliable due to mechanical parts.
In all types of optical codes, i.e., one-dimensional, two-dimensional and even three- dimensional (multi-color superimposed symbologies), the performance of the optical system needs to be optimized to provide the best possible resolution, signal-to-noise ratio, contrast and response. These and other parameters are controllable by selection of, and adjustments to, the optical components, e.g., lens system, the wavelength of illuminating light, the optical and electronic filtering, and the detector sensitivity.
A further disadvantage of scanning two-dimensional symbologies is that it takes an increased amount of time and image processing power to capture the image
scanners which previously were limited to contact and close range, now allowing the CCD scan engines or imagers to be incorporated in fixed scanner systems, such as are used at retail checkout counters.
Considerable attention has been directed toward the scanning of two-dimensional symbologies, which can store about 100 times more information in the same space occupied by a one-dimensional symbology. In two-dimensional symbologies, rows of lines and spaces are either stacked upon each other or they form matrix of black and white square, rectangular or hexagon cells. The symbologies or the optical codes are read by scanning a laser across each row, in the case of stacked symbology, in succession in a zig-zag pattern. A
disadvantage of this technique is that it introduces the risk of loss of vertical synchrony due to the time required to scan the entire optical code. It also has the disadvantage of requiring a laser for illumination and moving part for generating the zig-zag pattern, in order to scan the entire symbology, which makes the scanner more expensive and less reliable due to mechanical parts.
In all types of optical codes, i.e., one-dimensional, two-dimensional and even three- dimensional (multi-color superimposed symbologies), the performance of the optical system needs to be optimized to provide the best possible resolution, signal-to-noise ratio, contrast and response. These and other parameters are controllable by selection of, and adjustments to, the optical components, e.g., lens system, the wavelength of illuminating light, the optical and electronic filtering, and the detector sensitivity.
A further disadvantage of scanning two-dimensional symbologies is that it takes an increased amount of time and image processing power to capture the image
4 and process it, i.e., increased microcomputer memory and faster duty-cycle processor.
Another disadvantage of known apparatus for scanning symbologies is that the high-speed processing chips they require are costly, generate heat and occupy space.
Accordingly, there is a need for, and it is an object of the invention to provide a system for scanning symbologies that integrates the necessary components onto a single chip or a reduced number of chips. It is also an object of the present invention to reduce the amount of on-board memory and to provide a system requiring a reduced amount of power and having a lower level of heat generation.
A further object of the invention is to provide a scanning or imaging device employing a high quality and high speed image processing system, including image grabbing, image processing and decoding functions, of the target symbology or optical code.
Another object of the invention is to provide scanners or imagers having variable depth of field with means for aiding an operator in framing symbology, i.e., targeted area, so that is captured in the appropriate field of view.
A further object of the invention is to provide an imaging device able to scan a plurality of symbologies within one optically scanned image field, and then separate or segment the image field into individual symbology fields at high speed.
Summary of the Invention These and other objects and advantages are achieved in the present invention by providing a preferably integrated system for scanning target images and processing them, preferably in real time commencing during the scanning process.
In one embodiment, an optical scanning head is provided that includes one or more light emitting diodes (LEDs) mounted on each side of a printed circuit board to emit light at different angles. A diverging beam of light is created.
A progressive scanning CCD is provided in which data can be read one line after another and dumped into the memory or register, providing simultaneously Binary and Gray-Scale data. Simultaneously, the image processing apparatus preferably identifies the area of interest and the type and nature of the optical code or information existing within the frame.
In accordance with one aspect of the present invention there is provided a method for processing image data on a single processing chip corresponding to a physical image selected from a group consisting of optical codes, one-dimensional symbologies, two-dimensional symbologies and three-dimensional symbologies, said
Another disadvantage of known apparatus for scanning symbologies is that the high-speed processing chips they require are costly, generate heat and occupy space.
Accordingly, there is a need for, and it is an object of the invention to provide a system for scanning symbologies that integrates the necessary components onto a single chip or a reduced number of chips. It is also an object of the present invention to reduce the amount of on-board memory and to provide a system requiring a reduced amount of power and having a lower level of heat generation.
A further object of the invention is to provide a scanning or imaging device employing a high quality and high speed image processing system, including image grabbing, image processing and decoding functions, of the target symbology or optical code.
Another object of the invention is to provide scanners or imagers having variable depth of field with means for aiding an operator in framing symbology, i.e., targeted area, so that is captured in the appropriate field of view.
A further object of the invention is to provide an imaging device able to scan a plurality of symbologies within one optically scanned image field, and then separate or segment the image field into individual symbology fields at high speed.
Summary of the Invention These and other objects and advantages are achieved in the present invention by providing a preferably integrated system for scanning target images and processing them, preferably in real time commencing during the scanning process.
In one embodiment, an optical scanning head is provided that includes one or more light emitting diodes (LEDs) mounted on each side of a printed circuit board to emit light at different angles. A diverging beam of light is created.
A progressive scanning CCD is provided in which data can be read one line after another and dumped into the memory or register, providing simultaneously Binary and Gray-Scale data. Simultaneously, the image processing apparatus preferably identifies the area of interest and the type and nature of the optical code or information existing within the frame.
In accordance with one aspect of the present invention there is provided a method for processing image data on a single processing chip corresponding to a physical image selected from a group consisting of optical codes, one-dimensional symbologies, two-dimensional symbologies and three-dimensional symbologies, said
5 method using an optical reading apparatus having a focal plane, said method comprising: searching for a series of coherent bars and spaces in said image data;
identifying textual data; determining a subset of said data containing meaningful data;
determining an angle of said physical image with respect to said focal plane;
and performing sub-pixel interpolation to generate output data corresponding to said physical image.
The present invention provides an optical scanner or imager for reading not only the optically encoded information or symbols but also the ability to take pictures to be store in the memory of the device or to be transmitted via a communication means to another receiving unit.
In accordance with the present invention, individual fields are decoded and digitally scanned back onto the image field. This increases throughput speed of reading symbologies. An example where fast throughput is required is that of processing moving packages with symbologies containing information being attached or imprinted thereon called high speed sortation which can be at a speed of 200 feet or higher, per minute.
Another advantage of the present invention is that the image containing information can be located at variable distances from the reading device using LED
identifying textual data; determining a subset of said data containing meaningful data;
determining an angle of said physical image with respect to said focal plane;
and performing sub-pixel interpolation to generate output data corresponding to said physical image.
The present invention provides an optical scanner or imager for reading not only the optically encoded information or symbols but also the ability to take pictures to be store in the memory of the device or to be transmitted via a communication means to another receiving unit.
In accordance with the present invention, individual fields are decoded and digitally scanned back onto the image field. This increases throughput speed of reading symbologies. An example where fast throughput is required is that of processing moving packages with symbologies containing information being attached or imprinted thereon called high speed sortation which can be at a speed of 200 feet or higher, per minute.
Another advantage of the present invention is that the image containing information can be located at variable distances from the reading device using LED
6 light source, ambient or flash light in conjunction with specialized smart sensors which has on-chip signal processing means to provide raw picture or decoded information contained in a frame having the a real time image processing capability.
Another advantage of the present invention is to provide an optical reading device which can capture in a single snap shot and decode one- and/or two-dimensional symbols, optical codes and images.
Another advantage of the present invention is to provide an optical reading device to decode optical codes having a wide range of feature sizes.
Another advantage of the present invention is to provide an optical reading device which can read optical codes omnidirectionally.
Another advantage of the present invention is providing all of the above advantages in an optical reading device, and including a microcomputer and image processing software in an ASIC or FPGA.
Another advantage of the present invention is providing all of the above advantages in an optical reading device, and including a microcomputer which include microprocessor, memory and memory buffer, ADC, and image processing software in an ASIC or FPGA, all on the same chip .
Another advantage of the present invention is providing all of the above advantages in an optical reading device, while efficiently using the microcomputer's memory and other integrated sub-system, without burdening its central processing unit while efficiently conserving power.
Another advantage of the present invention is providing all of the above advantages in an optical reading device, while increasing processing speed and image processing quality and while providing the ability to segment a plurality of images from the same image field for high throughput speed.
Another advantage of the present invention is providing all of the above advantages in an optical reading device, in a form of engine or finished product while most or all of the electronic functions are integrated in the same piece of silicon.
These and other features and advantages of the present invention will be appreciated from review of the following detailed description of the invention, along with the accompanying figures in which like reference numerals refer to like parts throughout.
Another advantage of the present invention is to provide an optical reading device which can capture in a single snap shot and decode one- and/or two-dimensional symbols, optical codes and images.
Another advantage of the present invention is to provide an optical reading device to decode optical codes having a wide range of feature sizes.
Another advantage of the present invention is to provide an optical reading device which can read optical codes omnidirectionally.
Another advantage of the present invention is providing all of the above advantages in an optical reading device, and including a microcomputer and image processing software in an ASIC or FPGA.
Another advantage of the present invention is providing all of the above advantages in an optical reading device, and including a microcomputer which include microprocessor, memory and memory buffer, ADC, and image processing software in an ASIC or FPGA, all on the same chip .
Another advantage of the present invention is providing all of the above advantages in an optical reading device, while efficiently using the microcomputer's memory and other integrated sub-system, without burdening its central processing unit while efficiently conserving power.
Another advantage of the present invention is providing all of the above advantages in an optical reading device, while increasing processing speed and image processing quality and while providing the ability to segment a plurality of images from the same image field for high throughput speed.
Another advantage of the present invention is providing all of the above advantages in an optical reading device, in a form of engine or finished product while most or all of the electronic functions are integrated in the same piece of silicon.
These and other features and advantages of the present invention will be appreciated from review of the following detailed description of the invention, along with the accompanying figures in which like reference numerals refer to like parts throughout.
7 Brief Description of the Drawings FIG. 1(a) is a diagram illustrating an embodiment in accordance with the present invention;
FIG. 1(b) illustrates a target to be scanned in accordance with the present invention;
FIG. 1(c) illustrates image data corresponding to the target, in accordance with the present invention;
FIG. 2(a) is a diagram of an embodiment in accordance with the present invention;
FIG. 2(b) illustrates an example of a floating threshold curve used in an embodiment of the present invention;
FIG. 2(c) illustrates an example of vertical and horizontal line threshold values, such as used in conjunction with mapping a floating threshold curve surface, as illustrated in FIG. 2(b) an embodiment in accordance with the present invention;
FIG. 3(a) is a diagram of an apparatus in accordance with the present invention;
FIG. 3(b) illustrates clock signals as used in an embodiment of the present invention;
FIG. 4 illustrates a laser light illumination pattern and apparatus, using a holographic diffuser, in accordance with the present invention;
FIG. 5 illustrates a framing locator mechanism utilizing a beam splitter and a mirror or diffractive optical element that produces two spots in accordance with the present invention;
FIG. 6 is a diagram illustrating an alternative apparatus for framing a target in accordance with the present invention;
FIG. 7a illustrates an embodiment of an imaging apparatus in accordance with the present invention;
FIG. 7b illustrates a generated pattern of a frame locator in accordance with the present invention;
FIG. 8(a) is a diagram illustrating an apparatus in accordance with the present invention;
FIG. 1(b) illustrates a target to be scanned in accordance with the present invention;
FIG. 1(c) illustrates image data corresponding to the target, in accordance with the present invention;
FIG. 2(a) is a diagram of an embodiment in accordance with the present invention;
FIG. 2(b) illustrates an example of a floating threshold curve used in an embodiment of the present invention;
FIG. 2(c) illustrates an example of vertical and horizontal line threshold values, such as used in conjunction with mapping a floating threshold curve surface, as illustrated in FIG. 2(b) an embodiment in accordance with the present invention;
FIG. 3(a) is a diagram of an apparatus in accordance with the present invention;
FIG. 3(b) illustrates clock signals as used in an embodiment of the present invention;
FIG. 4 illustrates a laser light illumination pattern and apparatus, using a holographic diffuser, in accordance with the present invention;
FIG. 5 illustrates a framing locator mechanism utilizing a beam splitter and a mirror or diffractive optical element that produces two spots in accordance with the present invention;
FIG. 6 is a diagram illustrating an alternative apparatus for framing a target in accordance with the present invention;
FIG. 7a illustrates an embodiment of an imaging apparatus in accordance with the present invention;
FIG. 7b illustrates a generated pattern of a frame locator in accordance with the present invention;
FIG. 8(a) is a diagram illustrating an apparatus in accordance with the present invention;
8 FIG. 8(b) illustrates an embodiment of the present invention showing a system on a chip in accordance with the present invention;
FIG. 8(c) illustrates a flow diagram in accordance with the present invention;
FIG. 8(d) is a block diagram illustrating an embodiment in accordance with the present invention;
FIG. 8(e) is a block diagram illustrating some of the steps in a gray scale image processing technique in accordance with the present invention; and FIG. 8(f) illustrates pixel projection with respect to the scan line in accordance with the present invention.
Detailed Description of the Invention Referring to the figures, the present invention provides an optical scanner or imager 15 for reading optically encoded information and symbols, which also has a picture taking feature and picture storage memory 21 for storing the pictures.
In this description, "optical scanner", "imager" and "reading device" will be used interchangeably for the integrated scanner on a single chip technology described in this description.
The optical scanner or imager 15 of the present invention preferably includes a transmission system for conveying images via a communication interface as shown in FIG. 8(b) to another receiving unit, such as a host computer 811.
The communications interface 84 may provide for any form of transmission of data, such as such as cabling, infra-red transmitter/receiver, RF
transmitter/receiver or any other wired or wireless transmission system.
FIG. 1(b) illustrates a target 510 to be scanned in accordance with the present invention. The target includes, including a one-dimensional image 28, two-dimensional image 27 and text 29. These are examples of the type of information to be scanned. FIG. 1(c) also illustrates an image or frame 210, which represents digital data corresponding to the scanned target 510. As shown in FIG. 1(c), the image or frame, preferably includes data corresponding to a plurality of screen pixels 214, although it should be understood that any form of data corresponding to scanned target 510 may be used. It should also be understood that in this application, the terms "image" and "frame" are used to indicate a region being scanned.
In operation, the target 510 can be located at any distance from the optical reading device 15, so long as it is with in the depth of field of the imaging device 15.
FIG. 8(c) illustrates a flow diagram in accordance with the present invention;
FIG. 8(d) is a block diagram illustrating an embodiment in accordance with the present invention;
FIG. 8(e) is a block diagram illustrating some of the steps in a gray scale image processing technique in accordance with the present invention; and FIG. 8(f) illustrates pixel projection with respect to the scan line in accordance with the present invention.
Detailed Description of the Invention Referring to the figures, the present invention provides an optical scanner or imager 15 for reading optically encoded information and symbols, which also has a picture taking feature and picture storage memory 21 for storing the pictures.
In this description, "optical scanner", "imager" and "reading device" will be used interchangeably for the integrated scanner on a single chip technology described in this description.
The optical scanner or imager 15 of the present invention preferably includes a transmission system for conveying images via a communication interface as shown in FIG. 8(b) to another receiving unit, such as a host computer 811.
The communications interface 84 may provide for any form of transmission of data, such as such as cabling, infra-red transmitter/receiver, RF
transmitter/receiver or any other wired or wireless transmission system.
FIG. 1(b) illustrates a target 510 to be scanned in accordance with the present invention. The target includes, including a one-dimensional image 28, two-dimensional image 27 and text 29. These are examples of the type of information to be scanned. FIG. 1(c) also illustrates an image or frame 210, which represents digital data corresponding to the scanned target 510. As shown in FIG. 1(c), the image or frame, preferably includes data corresponding to a plurality of screen pixels 214, although it should be understood that any form of data corresponding to scanned target 510 may be used. It should also be understood that in this application, the terms "image" and "frame" are used to indicate a region being scanned.
In operation, the target 510 can be located at any distance from the optical reading device 15, so long as it is with in the depth of field of the imaging device 15.
9 Any form of light source providing sufficient illumination may be used. For example, an LED light source 72, ambient light or strobe light 720 may be used. As shown in FIG. 8(b), these may be used in conjunction with specialized smart sensors 20, which has on-chip sensor 20 and signal processing means to provide raw picture or decoded information corresponding to the information contained in a frame or image 210 to the host computer 811. The optical scanner 15 preferably has real time image processing technique capabilities, using one or a combination of the methods and apparatus discussed in more detail below, providing improved scanning abilities.
Hardware Image Processing Various forms of hardware-based image processing may be used in the present invention. One such form of hardware-based image processing utilizes active pixel sensors, as described in U.S. Patent No. 5,756,981 issued on May 26, 1998.
Another form of hardware-based image processing is a Charge Modulation Device (CMD) in accordance with the present invention. A preferred CMD provides at least two modes of operation, including a skip access mode and/or a block access mode for utilization in real-time framing and focusing with an optical scanner 15. It should be understood that in this embodiment, the optical scanner 15 is serving as a digital imaging device or a digital camera. These modes of operation become specifically handy when the sensor 20 is employed in systems that read optical information (including one and two dimensional symbologies) or process images i.e., inspecting products from the captured images as such uses typically require a wide field of view and the ability to make precise observations of specific areas. Preferably, the CMD
sensor 20 packs a large pixel count (more than 600x500) and provides three scanning modes, including full-readout mode, block-access mode, and skip-access mode.
The full-readout mode delivers high-resolution images from the sensor 20 in a single readout cycle. The block-access mode provides a readout of any arbitrary window of interest facilitating the search of the area of interest (a very important feature in fast image processing techniques). The skip-access mode reads every "n/th" pixel in horizontal and vertical directions. Both block and skip access modes allow for read-time image processing and monitoring of partial and a whole image.
Electronic zooming and panning features with moderate and reasonable resolution, also are feasible with the CMD sensors without requiring any mechanical parts.
FIG. 1(a) illustrates a system having an glue logic chip or programmable gate array 10, which also will be referred to as ASIC 10 or FPGA 10. The ASIC or FPGA
Hardware Image Processing Various forms of hardware-based image processing may be used in the present invention. One such form of hardware-based image processing utilizes active pixel sensors, as described in U.S. Patent No. 5,756,981 issued on May 26, 1998.
Another form of hardware-based image processing is a Charge Modulation Device (CMD) in accordance with the present invention. A preferred CMD provides at least two modes of operation, including a skip access mode and/or a block access mode for utilization in real-time framing and focusing with an optical scanner 15. It should be understood that in this embodiment, the optical scanner 15 is serving as a digital imaging device or a digital camera. These modes of operation become specifically handy when the sensor 20 is employed in systems that read optical information (including one and two dimensional symbologies) or process images i.e., inspecting products from the captured images as such uses typically require a wide field of view and the ability to make precise observations of specific areas. Preferably, the CMD
sensor 20 packs a large pixel count (more than 600x500) and provides three scanning modes, including full-readout mode, block-access mode, and skip-access mode.
The full-readout mode delivers high-resolution images from the sensor 20 in a single readout cycle. The block-access mode provides a readout of any arbitrary window of interest facilitating the search of the area of interest (a very important feature in fast image processing techniques). The skip-access mode reads every "n/th" pixel in horizontal and vertical directions. Both block and skip access modes allow for read-time image processing and monitoring of partial and a whole image.
Electronic zooming and panning features with moderate and reasonable resolution, also are feasible with the CMD sensors without requiring any mechanical parts.
FIG. 1(a) illustrates a system having an glue logic chip or programmable gate array 10, which also will be referred to as ASIC 10 or FPGA 10. The ASIC or FPGA
10 preferably includes image processing software stored in a permanent memory therein. For example the ASIC or FPGA 10 preferably includes a buffer 212 or other 5 type of memory and/or a working RAM memory providing memory storage. A
relatively small size (such as around 40K) memory can be used, although any size can be used as well. As a target 510 is read by sensor 20, image data 210 corresponding to the target 510 is preferably output in real time by the sensor . The read out data preferably indicates portions of the image 210, which may contain useful data 10 distinguishing between, for example, one dimensional symbologies (sequences of bars and spaces), text (uniform shape and clean gray), and noise (depending to other specified feature i.e., abrupt transition or other special features).
Preferably as soon as the sensor 20 read of the image data is completed, or shortly thereafter, the ASIC
10 outputs indicator data 25. The indicator data 25 includes data indicating the type of optical code (for example one or two dimensional symbology) and other data indicating the location of the symbology within the image frame data 210. As a portion of the data is read (preferably around 20 to 30%, although other proportions may be selected as well) the ASIC 10 (software logic implemented in the hardware) can start a gray scale image processing in parallel with the Sensor 20 data transfer (called "Real Time Image Processing"). This can happen either at some point during data transfer from Sensor 20, or afterwards. This process is described in more detail below in the Gray Scale Image Processing section of this description.
During image processing, or as data is read out from the sensor 20, the ASIC
10, which preferably has the image processing software encoded within its hardware memory, scans the data for special features of any symbology or the optical code that an image grabber is supposed to read through the set-up parameters (For instance if a number of Bars and Spaces together are observed, it will determine that the symbology present in the frame 210 may be a one dimensional or a PDF symbology or if it sees organized and consistent shape/pattern it can easily identify that the current reading is text). Before the data transfer from the CCD 20 is completed the ASIC 10 preferably has identified the type of the symbology or the optical code within the image data 210 and its exact position and can call the appropriate decoding routine for the decode of the optical code. This method increases considerably the response time of the optical scanner 15. In addition, the ASIC 10 (or processor 11) preferably also compresses the
relatively small size (such as around 40K) memory can be used, although any size can be used as well. As a target 510 is read by sensor 20, image data 210 corresponding to the target 510 is preferably output in real time by the sensor . The read out data preferably indicates portions of the image 210, which may contain useful data 10 distinguishing between, for example, one dimensional symbologies (sequences of bars and spaces), text (uniform shape and clean gray), and noise (depending to other specified feature i.e., abrupt transition or other special features).
Preferably as soon as the sensor 20 read of the image data is completed, or shortly thereafter, the ASIC
10 outputs indicator data 25. The indicator data 25 includes data indicating the type of optical code (for example one or two dimensional symbology) and other data indicating the location of the symbology within the image frame data 210. As a portion of the data is read (preferably around 20 to 30%, although other proportions may be selected as well) the ASIC 10 (software logic implemented in the hardware) can start a gray scale image processing in parallel with the Sensor 20 data transfer (called "Real Time Image Processing"). This can happen either at some point during data transfer from Sensor 20, or afterwards. This process is described in more detail below in the Gray Scale Image Processing section of this description.
During image processing, or as data is read out from the sensor 20, the ASIC
10, which preferably has the image processing software encoded within its hardware memory, scans the data for special features of any symbology or the optical code that an image grabber is supposed to read through the set-up parameters (For instance if a number of Bars and Spaces together are observed, it will determine that the symbology present in the frame 210 may be a one dimensional or a PDF symbology or if it sees organized and consistent shape/pattern it can easily identify that the current reading is text). Before the data transfer from the CCD 20 is completed the ASIC 10 preferably has identified the type of the symbology or the optical code within the image data 210 and its exact position and can call the appropriate decoding routine for the decode of the optical code. This method increases considerably the response time of the optical scanner 15. In addition, the ASIC 10 (or processor 11) preferably also compresses the
11 image data output from the Sensor 20. This data may be stored as an image file or databank, such as in memory 212, or alternatively in on-board memory within the ASIC 10. The databank may be stored at a memory location indicated diagrammatically in FIG. 2(a) with box 30. The databank preferably is a compressed representation of the image data 210, having a smaller size than the image 210. In one example, the databank is 5-20 times smaller than the corresponding image data 210.
The databank is used by the image processing software to locate the area of interest in the image without analyzing the image data 210 pixel by pixel or bit by bit.
The databank preferably is generated as data is read from the sensor 20. As soon as the last pixel is read out from the sensor (or shortly therafter), the databank is also completed.
By using the databank, the image processing software can readily identify the type of optical information represented by the image data 210 and then it may call for the appropriate portion of the processing software to operate, such as an appropriate subroutine. In one embodiment, the image processing software includes separate subroutines or objects associated with processing text, one-dimensional symbologies and two-dimensional symbologies, respectively.
In a preferred embodiment of the invention, the imager is a hand-held device.
A trigger (not shown) is depressible to activate the imaging apparatus to scan the target 510 and commence the processing described herein. Once the trigger is activated, the illumination apparatus 72 and/or 720 is optionally is activated illuminating the image 210. Sensor 20 reads in the target 510 and outputs corresponding data to ASIC
or FPGA 10. The image 210, and the indicator data 25 provide information relative to the image content, type, location and other useful information for the image processing to decide on the steps to be taken. Alternatively, the compressed image data may be used to also or alternatively provide such information. In one example if the image content is a DataMatrix two-dimensional symbology, the identifier will be positioned so that the image processing software understand that the decode software to be used in this case is a DataMatrix(& decoding module and that the symbology is located at a location, reference by X and Y. After the decode software is called, the decoded data is outputted through communication interface 84 to the host computer 811.
In one example, for a CCD readout time of approximately 30 mS for a 500x700 pixels CCD (approximately)) the total Image Processing time to identify and locate the optical code would be around 33 mS, meaning that almost instantly after the CCD readout the appropriate decoding software routine could be called to decode the
The databank is used by the image processing software to locate the area of interest in the image without analyzing the image data 210 pixel by pixel or bit by bit.
The databank preferably is generated as data is read from the sensor 20. As soon as the last pixel is read out from the sensor (or shortly therafter), the databank is also completed.
By using the databank, the image processing software can readily identify the type of optical information represented by the image data 210 and then it may call for the appropriate portion of the processing software to operate, such as an appropriate subroutine. In one embodiment, the image processing software includes separate subroutines or objects associated with processing text, one-dimensional symbologies and two-dimensional symbologies, respectively.
In a preferred embodiment of the invention, the imager is a hand-held device.
A trigger (not shown) is depressible to activate the imaging apparatus to scan the target 510 and commence the processing described herein. Once the trigger is activated, the illumination apparatus 72 and/or 720 is optionally is activated illuminating the image 210. Sensor 20 reads in the target 510 and outputs corresponding data to ASIC
or FPGA 10. The image 210, and the indicator data 25 provide information relative to the image content, type, location and other useful information for the image processing to decide on the steps to be taken. Alternatively, the compressed image data may be used to also or alternatively provide such information. In one example if the image content is a DataMatrix two-dimensional symbology, the identifier will be positioned so that the image processing software understand that the decode software to be used in this case is a DataMatrix(& decoding module and that the symbology is located at a location, reference by X and Y. After the decode software is called, the decoded data is outputted through communication interface 84 to the host computer 811.
In one example, for a CCD readout time of approximately 30 mS for a 500x700 pixels CCD (approximately)) the total Image Processing time to identify and locate the optical code would be around 33 mS, meaning that almost instantly after the CCD readout the appropriate decoding software routine could be called to decode the
12 optical code in the frame. The measured decode time for different symbology depend on their decoding routines and decode structures. In another example, experimentation indicated that it would take about 5mS for a one-dimensional symbology and between 20 to 80 mS for a two dimensional symbology depending on their decode software complexity.
FIG. 8(a) shows a flow chart illustrating processing steps in accordance with these techniques. As illustrated in FIG. 8(a), data from the CCD sensor 20 preferably goes to SH (sample and hold) circuit 139 and ADC (analog to digital converter) circuit 130 and then to the ASIC 10, in parallel to its components the gray scale processor 80 and the series of binary processor 120 and run length code processor 213. The RLC processor 213 generates indicator data 25, which either is stored in ASIC 10 (as shown), or can be copied into memory 60 for storage and future use. The gray scale processor 80 outputs pertinent gray scale image data 210 to a memory 60, such as an SDRAM.
Another system for high integration, is illustrated in FIG. 8(b). This preferred system can include the CCD sensor 20, a logic processing unit 83 (which performs functions performed by SH 139, ADC 130, and ASIC 10), memory 60, communication interface 84, all preferably integrated in a single computer chip 70, which I call a System On A Chip (SOC) 70. This system reads data directly from the sensor 20. In one embodiment, the sensor 20 is integrated on chip 70, as long as the sensing technology used is compatible with inclusion on a chip, such as a CMOS sensor. Alternatively, it is separate from the chip if the sensing technology is not capable of inclusion on a chip. The data from the sensor is preferably processed in real time using logic processing unit 83, without being written into the memory 60 first, although in an alternative embodiment a portion of the data from sensor 20 is written into memory 60 before processing in logic 83. The ASIC 10 optionally can execute image processing software code. Any sensor 20 may be used, such as CCD, CMD or CMOS sensor 20. The memory 60 may be any form of memory suitable for integration in a chip, such as data Memory and/or buffer memory. In operating this system, data is read directly from the sensor 20, which increases considerably the processing speed. After all data is transferred to the memory 60, the software can work to extract data from both Gray scale image data 210 and Run Length Code (RLC) in RLC memory 211, in one embodiment using
FIG. 8(a) shows a flow chart illustrating processing steps in accordance with these techniques. As illustrated in FIG. 8(a), data from the CCD sensor 20 preferably goes to SH (sample and hold) circuit 139 and ADC (analog to digital converter) circuit 130 and then to the ASIC 10, in parallel to its components the gray scale processor 80 and the series of binary processor 120 and run length code processor 213. The RLC processor 213 generates indicator data 25, which either is stored in ASIC 10 (as shown), or can be copied into memory 60 for storage and future use. The gray scale processor 80 outputs pertinent gray scale image data 210 to a memory 60, such as an SDRAM.
Another system for high integration, is illustrated in FIG. 8(b). This preferred system can include the CCD sensor 20, a logic processing unit 83 (which performs functions performed by SH 139, ADC 130, and ASIC 10), memory 60, communication interface 84, all preferably integrated in a single computer chip 70, which I call a System On A Chip (SOC) 70. This system reads data directly from the sensor 20. In one embodiment, the sensor 20 is integrated on chip 70, as long as the sensing technology used is compatible with inclusion on a chip, such as a CMOS sensor. Alternatively, it is separate from the chip if the sensing technology is not capable of inclusion on a chip. The data from the sensor is preferably processed in real time using logic processing unit 83, without being written into the memory 60 first, although in an alternative embodiment a portion of the data from sensor 20 is written into memory 60 before processing in logic 83. The ASIC 10 optionally can execute image processing software code. Any sensor 20 may be used, such as CCD, CMD or CMOS sensor 20. The memory 60 may be any form of memory suitable for integration in a chip, such as data Memory and/or buffer memory. In operating this system, data is read directly from the sensor 20, which increases considerably the processing speed. After all data is transferred to the memory 60, the software can work to extract data from both Gray scale image data 210 and Run Length Code (RLC) in RLC memory 211, in one embodiment using
13 the databank data 30 and indicator data 25, before calling the decode software 88, as described including: U.S. Patent Nos. 5,746,981; 5,786,582; 5,354,977;
5,349,172;
5,291,009 and 5,484,994. One difference between these patents and applications and the present invention is that the image processing of the present invention does not use the binary data exclusively. Instead, the present invention also considers data extracted from the "double taper" and data bank 30 to locate the area of interests and also it uses the gray scale to enhance the decodability of the symbol found in the frame as shown in FIG. 8(c) (particularly for one dimensional and stacked symbology) using the sub-pixel interpolation technique as described in the image processing section.
FIGS. 2(a) and 3(a) illustrate one embodiment of a hardware implementation of a binary processing unit 120 and a translating RLC unit 213.
It is noted that the binary processing unit 120, may be integrated on a single unit, as in SOC 70, or may be constructed of a greater number of components. FIG. 3(a) provides an exemplary circuit diagram of binary processing unit 120 and a translating RLC unit 213. FIG. 3(b) illustrates a clock timing diagram corresponding to FIG. 3(a).
The binary processing unit 120 receives data from sensor (i.e. CCD) 20. With reference to FIG. 8(d), an analog signal from the sensor (Vout 125) is provided to a sample and hold circuit 139. A Schmitt Comparator is provided in an alternative embodiment to provide the RLC (run length code) at the DMA (direct memory access) sequence into the memory as shown in FIG. 8(d). In operation, the counter 135 transfers numbers, representing X number of pixels of 0 or 1 at the DMA sequence instead of "0" or "1" for each pixel, into the memory 60 (which in one embodiment is a part of FPGA or ASIC 10) . The Threshold 214
5,349,172;
5,291,009 and 5,484,994. One difference between these patents and applications and the present invention is that the image processing of the present invention does not use the binary data exclusively. Instead, the present invention also considers data extracted from the "double taper" and data bank 30 to locate the area of interests and also it uses the gray scale to enhance the decodability of the symbol found in the frame as shown in FIG. 8(c) (particularly for one dimensional and stacked symbology) using the sub-pixel interpolation technique as described in the image processing section.
FIGS. 2(a) and 3(a) illustrate one embodiment of a hardware implementation of a binary processing unit 120 and a translating RLC unit 213.
It is noted that the binary processing unit 120, may be integrated on a single unit, as in SOC 70, or may be constructed of a greater number of components. FIG. 3(a) provides an exemplary circuit diagram of binary processing unit 120 and a translating RLC unit 213. FIG. 3(b) illustrates a clock timing diagram corresponding to FIG. 3(a).
The binary processing unit 120 receives data from sensor (i.e. CCD) 20. With reference to FIG. 8(d), an analog signal from the sensor (Vout 125) is provided to a sample and hold circuit 139. A Schmitt Comparator is provided in an alternative embodiment to provide the RLC (run length code) at the DMA (direct memory access) sequence into the memory as shown in FIG. 8(d). In operation, the counter 135 transfers numbers, representing X number of pixels of 0 or 1 at the DMA sequence instead of "0" or "1" for each pixel, into the memory 60 (which in one embodiment is a part of FPGA or ASIC 10) . The Threshold 214
14 and RLC 213 functions preferably are conducted in real time as the pixels are read (the time delay will not exceed 30 nano-second). The example, using a Fuzzy Logic software, uses RLC to read DataMatrix code. This method takes 125 m sec.
If we change the Fuzzy Logic method to use pixel by pixel reading from the known offset addresses which will reduce the time to approximately 40 m sec. in this example. It is noted that "m sec" refers to milli seconds. This example is based on an apparatus using an SH-2 micro-controller from Hitachi with a clock at around 27MHz and does not include any optimization both functional and time, by module.
Diagrams corresponding to this example provided in FIGS. 2(a), 3(a) and 3(b), which are described in greater detail below. FIG. 2(a) illustrates a hardware implementation of a binary processing unit 120 and a translating RLC unit 213.
An example of circuit diagram of binary processing unit 120 outputting data represented with reference number 81b, and a translating RLC unit 213 is presented in FIG. 3(a), outputting data represented with reference number 81a. FIG. 3(b) illustrates a clock timing diagram for FIG. 3(b).
It is an advantage of present invention to simultaneously provide gray scale data 210, to determine the threshold value such as by using the Schmitt comparator 82 and to provide RLC 81 of the exemplary embodiment discussed in this description. In an example, I found the gray scale data, threshold value determination and RLC calculation could be all accomplished in 33.3 milli-second, during the DMA time, in the illustrated embodiment of the present invention.
As used in this description, a gray scale value is the digital value of a pixel's analog value, which can be between 0 and 255 levels for an 8 bit ADC
130.
The gray scale data was obtained in this example after the analog Vout 125 of sensor 20 is sampled and hold by DSH 139. The analog signal was converted to gray scale data by passing through ADC 130. The output 50 is then connected to the ASIC or FPGA 10 to be transferred to memory 60 during the DMA sequence.
Also as used in this description, a binary value is a digital representation of a pixel's gray scale value, which can be "0" or "1" when compared to a threshold value. A binary image 219 was obtained from gray scale image data 210, after the threshold unit 214 has calculated the threshold value. A run length code (RLC) as used in this description is a representation of a succession of multiple pixels with a value of "0" or " 1". In the invention described herein, memory space and processing time are reduced by overlapping the running of the RLC with reading pixel values and DMA processing.
These results are achieved, for example, in the embodiment illustrated in FIG. 2(a). The analog pixel values are read from sensor 20 and after passing 5 through DSH 139, ADC 130 are stored in memory 60. At the same time, during the DMA, the binary processing unit 120 receives the data and calculates the threshold of net-points (a non-uniform distribution of the illumination from the target 510 causes a non-even contrast and light distribution in the image data 210). Therefore the traditional real floating threshold binary algorithm, as described in the U.S.
Patent 10 No. 5,746,981 filed August 1, 1996, will take a long time. To overcome this inferior distribution of the light, particularly in the hand held optical scanner 15, it is an advantage of present invention to use a floating threshold curve surface technique, such as described in Computer Graphics, Vol. 25, No. 4 (July 1991), ACM
SIGGRAPH, Papers Chair Thomas W. Sederberg. As illustrated in FIG. 2(b), the
If we change the Fuzzy Logic method to use pixel by pixel reading from the known offset addresses which will reduce the time to approximately 40 m sec. in this example. It is noted that "m sec" refers to milli seconds. This example is based on an apparatus using an SH-2 micro-controller from Hitachi with a clock at around 27MHz and does not include any optimization both functional and time, by module.
Diagrams corresponding to this example provided in FIGS. 2(a), 3(a) and 3(b), which are described in greater detail below. FIG. 2(a) illustrates a hardware implementation of a binary processing unit 120 and a translating RLC unit 213.
An example of circuit diagram of binary processing unit 120 outputting data represented with reference number 81b, and a translating RLC unit 213 is presented in FIG. 3(a), outputting data represented with reference number 81a. FIG. 3(b) illustrates a clock timing diagram for FIG. 3(b).
It is an advantage of present invention to simultaneously provide gray scale data 210, to determine the threshold value such as by using the Schmitt comparator 82 and to provide RLC 81 of the exemplary embodiment discussed in this description. In an example, I found the gray scale data, threshold value determination and RLC calculation could be all accomplished in 33.3 milli-second, during the DMA time, in the illustrated embodiment of the present invention.
As used in this description, a gray scale value is the digital value of a pixel's analog value, which can be between 0 and 255 levels for an 8 bit ADC
130.
The gray scale data was obtained in this example after the analog Vout 125 of sensor 20 is sampled and hold by DSH 139. The analog signal was converted to gray scale data by passing through ADC 130. The output 50 is then connected to the ASIC or FPGA 10 to be transferred to memory 60 during the DMA sequence.
Also as used in this description, a binary value is a digital representation of a pixel's gray scale value, which can be "0" or "1" when compared to a threshold value. A binary image 219 was obtained from gray scale image data 210, after the threshold unit 214 has calculated the threshold value. A run length code (RLC) as used in this description is a representation of a succession of multiple pixels with a value of "0" or " 1". In the invention described herein, memory space and processing time are reduced by overlapping the running of the RLC with reading pixel values and DMA processing.
These results are achieved, for example, in the embodiment illustrated in FIG. 2(a). The analog pixel values are read from sensor 20 and after passing 5 through DSH 139, ADC 130 are stored in memory 60. At the same time, during the DMA, the binary processing unit 120 receives the data and calculates the threshold of net-points (a non-uniform distribution of the illumination from the target 510 causes a non-even contrast and light distribution in the image data 210). Therefore the traditional real floating threshold binary algorithm, as described in the U.S.
Patent 10 No. 5,746,981 filed August 1, 1996, will take a long time. To overcome this inferior distribution of the light, particularly in the hand held optical scanner 15, it is an advantage of present invention to use a floating threshold curve surface technique, such as described in Computer Graphics, Vol. 25, No. 4 (July 1991), ACM
SIGGRAPH, Papers Chair Thomas W. Sederberg. As illustrated in FIG. 2(b), the
15 gray scale image data 210 includes information corresponding to "n" lines, vertically 351 and horizontally 352 (i.e., 20 lines, represented by 10 rows and 10 columns). There is the same space between each two lines. Each intersection of vertical and horizontal line 353 is used for mapping the floating threshold curve surface 354. A deformable surface is made of a set of connected square elements.
Square elements were chosen so that a large range of topological shape could be modeled. In these transformations the points of the threshold parameter are mapped to corners in the deformed 3-space surface. The threshold unit 214 uses the gray scale values on the line for obtaining the gray sectional curve and then it looks at the peak and valley curve of the gray section. The middle curve of the peak curve and the valley curve would be the threshold curve for this given line. As illustrated in FIG. 2(c), the average value of the vertical 355 and horizontal 356 threshold on the crossing point would be the threshold parameter for mapping the threshold curve surface. Using the above described method, the threshold unit 214 calculates the threshold of net-points for the image data 210 and stores them in the memory 60 at the location 219.
After the value of the threshold is calculated for different portions of the image data 210, the binary processing unit 120 generates the binary image 219, by thresholding the gray scale image data 210. At the same time, the translating RLC
unit 213 creates the RLC to be stored in memory 211.
Square elements were chosen so that a large range of topological shape could be modeled. In these transformations the points of the threshold parameter are mapped to corners in the deformed 3-space surface. The threshold unit 214 uses the gray scale values on the line for obtaining the gray sectional curve and then it looks at the peak and valley curve of the gray section. The middle curve of the peak curve and the valley curve would be the threshold curve for this given line. As illustrated in FIG. 2(c), the average value of the vertical 355 and horizontal 356 threshold on the crossing point would be the threshold parameter for mapping the threshold curve surface. Using the above described method, the threshold unit 214 calculates the threshold of net-points for the image data 210 and stores them in the memory 60 at the location 219.
After the value of the threshold is calculated for different portions of the image data 210, the binary processing unit 120 generates the binary image 219, by thresholding the gray scale image data 210. At the same time, the translating RLC
unit 213 creates the RLC to be stored in memory 211.
16 FIG. 3(a) provides a circuit diagram or an alternative embodiment for obtaining RLC in real time. The Schmitt comparator 82 receives the signal from DSH 139 on its negative input and the Vref. 141 representing a portion of the signal which represents the illumination value of the target 510, captured by illumination sensor 138, on its positive output. Vref. 141 would be representative of the target illumination, which depends on the distance of the imager 15 from the target 510. Each pixel value is compared with the threshold value and will result to a " 0 " or "1" compared to a variable threshold value which is the average target illumination. The counter 135 will count (it will increment its value at each CCD
pixel clock 137) and transfer to the latch 136, each total number of pixel, representing "0" or "1" to the ASIC 10 at the DMA sequence instead of "0" or " 1" for each pixel. FIG. 3(b) is the timing diagram representation of circuitry illustrated in FIG. 3(a).
By way of further description, the present invention simultaneously provides gray scale data 210, to determine the threshold value by using the Schmitt comparator 82 and to provide RLC 81. In one example, the measured time by doing the experimentation verified that the gray scale data, threshold value determination and RLC calculation could be all accomplished in 33.3 milli-second, during the DMA
time.
A gray scale value is the digital value of a pixel's analog value, which can be between 0 and 255 levels for an 8 bit ADC 130. The gray scale data is obtained after the analog Va,,,125 of sensor 20 is sampled and held by DSH 139 (double sample and hold device). The analog signal is converted to gray scale data by passing through ADC 130. The output 50 is then connected to the ASIC or FPGA 10 to be transferred to memory 60 during the DMA sequence.
A binary value is the digital representation of a pixel's gray scale value, which can be "0" or "1" when compared to a threshold value. A binary image 219 can be obtained from the gray scale image data 210, after the threshold unit has calculated the threshold value.
A run length code (RLC) can be a representation of a succession of multiple (X) number of pixels with a value of "0" or "1". It is easily understandable that memory space and processing time can be considerably optimized if RLC can take place at the same time that pixel values are read and DMA is taking place.
FIG.
2(a) represents an alternative for the binary processing and RLC translating units
pixel clock 137) and transfer to the latch 136, each total number of pixel, representing "0" or "1" to the ASIC 10 at the DMA sequence instead of "0" or " 1" for each pixel. FIG. 3(b) is the timing diagram representation of circuitry illustrated in FIG. 3(a).
By way of further description, the present invention simultaneously provides gray scale data 210, to determine the threshold value by using the Schmitt comparator 82 and to provide RLC 81. In one example, the measured time by doing the experimentation verified that the gray scale data, threshold value determination and RLC calculation could be all accomplished in 33.3 milli-second, during the DMA
time.
A gray scale value is the digital value of a pixel's analog value, which can be between 0 and 255 levels for an 8 bit ADC 130. The gray scale data is obtained after the analog Va,,,125 of sensor 20 is sampled and held by DSH 139 (double sample and hold device). The analog signal is converted to gray scale data by passing through ADC 130. The output 50 is then connected to the ASIC or FPGA 10 to be transferred to memory 60 during the DMA sequence.
A binary value is the digital representation of a pixel's gray scale value, which can be "0" or "1" when compared to a threshold value. A binary image 219 can be obtained from the gray scale image data 210, after the threshold unit has calculated the threshold value.
A run length code (RLC) can be a representation of a succession of multiple (X) number of pixels with a value of "0" or "1". It is easily understandable that memory space and processing time can be considerably optimized if RLC can take place at the same time that pixel values are read and DMA is taking place.
FIG.
2(a) represents an alternative for the binary processing and RLC translating units
17 for a high speed optical scanner 15. The analog pixel values are read from sensor 20 and after passing through DSH 139, ADC 130 are stored in memory 60. At the same time, during the DMA, the binary processing unit 120 receives the data and calculates the threshold of net-points (a non-uniform distribution of the illumination from the target 510, causes a non-even contrast and light distribution represented in the image data 210. Therefore the traditional real floating threshold binary algorithm, as described in U.S. Patent No. 5,746,981 filed August 1, 1996, will take a long time.
To overcome this poor distribution, of the light, particularly in a hand held optical scanner or imaging device, it is an advantage of present invention to use a floating threshold curve surface technique, as is known in the art. The gray scale image data 210 includes data representing "n" scan lines, vertically 351 and "m"
scan lines horizontally 352 (for example, 20 lines, represented by 10 rows and 10 columns).
There is the same space between each two lines. Each intersection of vertical and horizontal line 353 is used for mapping the floating threshold curve surface 354. A
deformable surface is made of a set of connected square elements. Square elements were chosen so that a large range of topological shape could be modeled. In these transformations the points of the threshold parameter are mapped to corners in the deformed 3-space surface. The threshold unit 214 uses the gray scale values on the line for obtaining the gray sectional curve and then it looks at the peak and valley curve of the gray section. The middle curve of the peak curve and the valley curve would be the threshold curve for this given line. The average value of the vertica1355 and horizontal 356 threshold on the crossing point would be the threshold parameter for mapping the threshold curve surface. Using the above described method, the threshold unit 214 calculates the threshold of net-points for the image data 210 and stores them in the memory 60 at the location 219).
After the value of the threshold is calculated for different portion of the image data 210, the binary processing unit 120 generates the binary image 219, by thresholding the gray scale image data 210. At the same time, the translating RLC
unit 213 creates the RLC to be stored in location 211.
FIG. 3(a) represents an alternative for obtaining RLC in real time. The Schmitt comparator 82 receives the signal from DSH 139 on its negative input and the Vref. 141 representing a portion of the signal which represents the illumination value of the target 510, captured by illumination sensor 138, on its positive output.
To overcome this poor distribution, of the light, particularly in a hand held optical scanner or imaging device, it is an advantage of present invention to use a floating threshold curve surface technique, as is known in the art. The gray scale image data 210 includes data representing "n" scan lines, vertically 351 and "m"
scan lines horizontally 352 (for example, 20 lines, represented by 10 rows and 10 columns).
There is the same space between each two lines. Each intersection of vertical and horizontal line 353 is used for mapping the floating threshold curve surface 354. A
deformable surface is made of a set of connected square elements. Square elements were chosen so that a large range of topological shape could be modeled. In these transformations the points of the threshold parameter are mapped to corners in the deformed 3-space surface. The threshold unit 214 uses the gray scale values on the line for obtaining the gray sectional curve and then it looks at the peak and valley curve of the gray section. The middle curve of the peak curve and the valley curve would be the threshold curve for this given line. The average value of the vertica1355 and horizontal 356 threshold on the crossing point would be the threshold parameter for mapping the threshold curve surface. Using the above described method, the threshold unit 214 calculates the threshold of net-points for the image data 210 and stores them in the memory 60 at the location 219).
After the value of the threshold is calculated for different portion of the image data 210, the binary processing unit 120 generates the binary image 219, by thresholding the gray scale image data 210. At the same time, the translating RLC
unit 213 creates the RLC to be stored in location 211.
FIG. 3(a) represents an alternative for obtaining RLC in real time. The Schmitt comparator 82 receives the signal from DSH 139 on its negative input and the Vref. 141 representing a portion of the signal which represents the illumination value of the target 510, captured by illumination sensor 138, on its positive output.
18 Vref. 141 would be representative of the target illumination, which depends on the distance of the optical scanner 15 from the target 510. Each pixel value is compared with the threshold value and will result to a "0" or "1" compared to a variable threshold value which is the average target illumination. The counter 135 will count (it will increment its value at each CCD pixel clock 137) and transfer to the latch 136, each total number of pixel, representing "0" or "1" to the ASIC 10 at the DMA
sequence instead of "0" or "1" for each pixel. FIG. 3(b) is the timing diagram representation of circuitry defined in FIG. 3(a).
Gray Scale Image Processing The Depth of Field (DOF) Chart of an optical scanner 15 is defined by a focused image at the distances where a minimum of less than one (1) to three (3) pixels is obtained for a Minimum Element Width (MEW) for a given dot used to print the symbology, where the difference between a black and a white is at least 50 points in a gray scale. The sub-pixel interpolation technique allows the decode of a MEW
down to less than one (1) pixel instead of 2 to 3 pixels, providing a perception of "Extended DOF". This method is described below to obtain orientation free reading capabilities by the Image Grabber.
An example of operation of the present invention is illustrated in FIGS. 8(e) and 8(f). As illustrated there, as a portion of the data from the CCD 20 is read, the system looks for a series of coherent bars and spaces, as illustrated with step 220. The system then identifies text and/or other type of data in the image data 210, as illustrated with step 221. The system then determines an area of interest, containing meaningful data, in step 230. In step 240, the system determines the angle of the symbology using a checker pattern technique or a chain code technique, such as for example finding the slope or the orientation of the symbology 27, 28, 29 within the target 510. The system then uses a sub-pixel interpolation technique to reconstruct the optical code or symbology code in step 250. In exemplary step 260 a decoding routine is then run.
sequence instead of "0" or "1" for each pixel. FIG. 3(b) is the timing diagram representation of circuitry defined in FIG. 3(a).
Gray Scale Image Processing The Depth of Field (DOF) Chart of an optical scanner 15 is defined by a focused image at the distances where a minimum of less than one (1) to three (3) pixels is obtained for a Minimum Element Width (MEW) for a given dot used to print the symbology, where the difference between a black and a white is at least 50 points in a gray scale. The sub-pixel interpolation technique allows the decode of a MEW
down to less than one (1) pixel instead of 2 to 3 pixels, providing a perception of "Extended DOF". This method is described below to obtain orientation free reading capabilities by the Image Grabber.
An example of operation of the present invention is illustrated in FIGS. 8(e) and 8(f). As illustrated there, as a portion of the data from the CCD 20 is read, the system looks for a series of coherent bars and spaces, as illustrated with step 220. The system then identifies text and/or other type of data in the image data 210, as illustrated with step 221. The system then determines an area of interest, containing meaningful data, in step 230. In step 240, the system determines the angle of the symbology using a checker pattern technique or a chain code technique, such as for example finding the slope or the orientation of the symbology 27, 28, 29 within the target 510. The system then uses a sub-pixel interpolation technique to reconstruct the optical code or symbology code in step 250. In exemplary step 260 a decoding routine is then run.
19 It is important to note that at all times, data inside of the Checker Pattern Windows 380 are conserved to be used to identify other 2D symbologies or text if needed. The Interpolation Technique uses the projection of an angled bar 381 or space by moving x number of pixels up or down to determine the module value corresponding to the minimum element width (MEW) and to compensate for the convolution distortion as represented by reference number 382. This method allows to reduce the MEW of pixels to less than 1.0 pixel for the decode algorithm versus 2 to 3 normally required.
Illumination An exemplary optical scanner 15 incorporates target illumination device 72 operating within visible spectrum. In a preferred embodiment, the illumination device includes plural LEDS (light emitting diodes). Each LED preferably has a peak luminous intensity of i.e., 6.5 lumens/steradian (for a HLMT-CLOO) with a total field angle of 8 degrees, although any suitable level of illumination may be selected. In the preferred embodiment, three LEDs are placed on both sides of the lens barrel and are oriented one on top of the other such that the total height is approximately 15 mm.
Each set of LEDs is disposed with a holographic optical element which serves to homogenize the beam and to illuminate a target area corresponding to the wide field of view.
FIG. 4 indicates an alternative illumination system to illuminate the target 510.
Any suitable light source 410 can be used, including a flash light (strobe), halogen light (with collector/diffuser on the back) or a battery of LEDs mounted around the lens system (with or without collector/diffuser on the back or diffuser on the front) making it more suitable because of the MTBF of the LEDs. A laser diode spot also can be used combined with a holographic diffuser to illuminate the target area called the Field Of View. Briefly, the holographic diffuser 420 receives and projects the laser light according to the predetermined holographic pattern angles in both X
and Y direction toward the target as indicated by FIG. 4.
Frame Locator FIG. 6 illustrates an example of an alternative apparatus to frame the target.
The Frame locator can be any Binary optics with pattern or Grading. The first order beam can be preserved to indicate the center of the target, generating the pattern 61 5 indicating four corners and the center of the aimed area as shown in FIG. 6.
Each beamlet is passing through a binary pattern providing "L" shape image, to locate each corner of the field of view and the first order beam was locating the center of the target. A laser diode 450 provides light to the binary optics 460. A mirror 470 may be used to direct the light, or alternatively a mirror is not used. Lens system 480 is 10 provided as needed.
In an alternative example as shown in FIG. 5, the framing locator mechanism 500 utilizes a beam splitter 550 and a mirror 520 or diffractive optical element that produces two spots. Each spot will produce a line after passing through the holographic diffuser 530 with a spread of 1 x30 along the X and/or Y
axis, 15 generating either a horizontal line 501 or a crossing line 502 across the field of view, indicating clearly the field of view of the zoom lens. The diffractive optic is disposed along with a set of louvers or blockers which serve to suppress one set of two spots such that only one set of two spots is presented to the operator.
Another example is illustrated in FIG. 7(a). We could also cross the two
Illumination An exemplary optical scanner 15 incorporates target illumination device 72 operating within visible spectrum. In a preferred embodiment, the illumination device includes plural LEDS (light emitting diodes). Each LED preferably has a peak luminous intensity of i.e., 6.5 lumens/steradian (for a HLMT-CLOO) with a total field angle of 8 degrees, although any suitable level of illumination may be selected. In the preferred embodiment, three LEDs are placed on both sides of the lens barrel and are oriented one on top of the other such that the total height is approximately 15 mm.
Each set of LEDs is disposed with a holographic optical element which serves to homogenize the beam and to illuminate a target area corresponding to the wide field of view.
FIG. 4 indicates an alternative illumination system to illuminate the target 510.
Any suitable light source 410 can be used, including a flash light (strobe), halogen light (with collector/diffuser on the back) or a battery of LEDs mounted around the lens system (with or without collector/diffuser on the back or diffuser on the front) making it more suitable because of the MTBF of the LEDs. A laser diode spot also can be used combined with a holographic diffuser to illuminate the target area called the Field Of View. Briefly, the holographic diffuser 420 receives and projects the laser light according to the predetermined holographic pattern angles in both X
and Y direction toward the target as indicated by FIG. 4.
Frame Locator FIG. 6 illustrates an example of an alternative apparatus to frame the target.
The Frame locator can be any Binary optics with pattern or Grading. The first order beam can be preserved to indicate the center of the target, generating the pattern 61 5 indicating four corners and the center of the aimed area as shown in FIG. 6.
Each beamlet is passing through a binary pattern providing "L" shape image, to locate each corner of the field of view and the first order beam was locating the center of the target. A laser diode 450 provides light to the binary optics 460. A mirror 470 may be used to direct the light, or alternatively a mirror is not used. Lens system 480 is 10 provided as needed.
In an alternative example as shown in FIG. 5, the framing locator mechanism 500 utilizes a beam splitter 550 and a mirror 520 or diffractive optical element that produces two spots. Each spot will produce a line after passing through the holographic diffuser 530 with a spread of 1 x30 along the X and/or Y
axis, 15 generating either a horizontal line 501 or a crossing line 502 across the field of view, indicating clearly the field of view of the zoom lens. The diffractive optic is disposed along with a set of louvers or blockers which serve to suppress one set of two spots such that only one set of two spots is presented to the operator.
Another example is illustrated in FIG. 7(a). We could also cross the two
20 parallel narrow sheets of light in different combinations parallel on X or Y axis and centered, left or right positioned crossing lines when projected toward the target, illustrated by patterns 73a and 73b in FIG. 7(b).
Thus, it is seen that an optical scanner/image reader for reading images and decoding optical information or code, including one and two-dimensional symbologies at variable depth of field, including memory and image processing for high speed applications is provided. One skilled in the art will appreciate that the present invention can be practiced by other than the preferred embodiments which are presented in this description for purposes of illustration and not of limitation, and the present invention is limited only by the claims which follow. It is noted that equivalents for the particular embodiments discussed in this description may practice the invention as well.
Thus, it is seen that an optical scanner/image reader for reading images and decoding optical information or code, including one and two-dimensional symbologies at variable depth of field, including memory and image processing for high speed applications is provided. One skilled in the art will appreciate that the present invention can be practiced by other than the preferred embodiments which are presented in this description for purposes of illustration and not of limitation, and the present invention is limited only by the claims which follow. It is noted that equivalents for the particular embodiments discussed in this description may practice the invention as well.
Claims (3)
1. A method for processing image data on a single processing chip corresponding to a physical image selected from a group consisting of optical codes, one-dimensional symbologies, two-dimensional symbologies and three-dimensional symbologies, said method using an optical reading apparatus having a focal plane, said method comprising:
searching for a series of coherent bars and spaces in said image data;
identifying textual data;
determining a subset of said data containing meaningful data;
determining an angle of said physical image with respect to said focal plane;
and performing sub-pixel interpolation to generate output data corresponding to said physical image.
searching for a series of coherent bars and spaces in said image data;
identifying textual data;
determining a subset of said data containing meaningful data;
determining an angle of said physical image with respect to said focal plane;
and performing sub-pixel interpolation to generate output data corresponding to said physical image.
2. The method of claim 1, wherein said step of determining an angle uses a checker pattern technique for determining said angle.
3. The method of claim 1, wherein said step of determining an angle uses a chain code technique for determining said angle.
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US4554297P | 1997-05-05 | 1997-05-05 | |
US60/045,542 | 1997-05-05 | ||
CA002288758A CA2288758C (en) | 1997-05-05 | 1998-05-05 | Optical scanner and image reader for reading images and decoding optical information including one and two dimensional symbologies at variable depth of field |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CA002288758A Division CA2288758C (en) | 1997-05-05 | 1998-05-05 | Optical scanner and image reader for reading images and decoding optical information including one and two dimensional symbologies at variable depth of field |
Publications (1)
Publication Number | Publication Date |
---|---|
CA2577235A1 true CA2577235A1 (en) | 1998-11-12 |
Family
ID=37965266
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CA002577235A Abandoned CA2577235A1 (en) | 1997-05-05 | 1998-05-05 | Optical scanner and image reader for reading images and decoding optical information including one and two dimensional symbologies at variable depth of field |
Country Status (1)
Country | Link |
---|---|
CA (1) | CA2577235A1 (en) |
-
1998
- 1998-05-05 CA CA002577235A patent/CA2577235A1/en not_active Abandoned
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6123261A (en) | Optical scanner and image reader for reading images and decoding optical information including one and two dimensional symbologies at variable depth of field | |
US6688523B1 (en) | System for reading optical indicia | |
US7721966B2 (en) | System and method of optical reading employing virtual scan lines | |
US9773142B2 (en) | System and method for selectively reading code symbols | |
US8162218B2 (en) | Using a 2D imager for rastering scanning | |
US7246747B2 (en) | Multi-format bar code reader | |
US6575367B1 (en) | Image data binarization methods enabling optical reader to read fine print indicia | |
US7490770B2 (en) | System and method of optical reading with enhanced depth of field collection | |
US6783068B2 (en) | Large depth of field line scan camera | |
US7322526B1 (en) | System for reading optical indicia | |
EP1100038A2 (en) | CCD-based bar code scanner | |
JPH02268383A (en) | Bar code reader | |
WO2000016156A9 (en) | Optical symbologies imager | |
CN102077218A (en) | Imaging system and method with aiming pattern of enhanced visibility | |
US6837433B2 (en) | Variable focal length imaging device | |
EP1916557B1 (en) | Optical scanner and image reader for reading images and decoding optical information including one and two dimensional symbologies at variable depth of field | |
US6523753B2 (en) | System for reading barcode symbols | |
EP1178665A2 (en) | Optical scanner and image reader including one and two dimensional symbologies at variable depth of field | |
CA2577235A1 (en) | Optical scanner and image reader for reading images and decoding optical information including one and two dimensional symbologies at variable depth of field | |
US20100096462A1 (en) | Arrangement for and method of enhancing performance of an imaging reader | |
US6307208B1 (en) | System for reading barcode symbols | |
JP4191883B2 (en) | Optical information reader | |
JPH0431436B2 (en) | ||
JPH0997302A (en) | Optical information reader |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
EEER | Examination request | ||
FZDE | Dead |