Claims
- 1. A method of identifying and decoding information contained in an image, comprising:
capturing said image with an imaging device; generating digital image data representative of at least a portion of the captured image; storing the digital image data in a memory; down-sampling the digital image data to generate low-resolution image data; processing the low-resolution image data to identify a region of interest that potentially contains a code; wherein if no region of interest is identified by said step of processing the low-resolution image data, processing said stored digital image data to identify said region of interest; identifying a code within the region of interest; and decoding the code.
- 2. The method of claim 1 wherein said digital image data comprises a binary bit map of at least a portion of said captured image.
- 3. The method of claim 1 wherein said digital image data comprises run-offset-encoded data representative of at least a portion of said captured image.
- 4. The method of claim 1 wherein said step of processing said low-resolution image data comprises:
identifying within a low-resolution image, represented by said low-resolution image data, an area consisting of substantially dark pixels connected to one another; tracing the contour of said area, wherein if the dimensions of the area meets specified criteria, said area is identified as said region of interest that potentially contains said code; and enclosing the area within a bounding box.
- 5. The method of claim 4 wherein said step of identifying a code comprises:
locating said code within said bounding box; identifying a code type for said code contained within said bounding box; and determining an orientation of the code.
- 6. The method of claim 5 wherein said step of locating said code within said bounding box, comprises:
overlaying said bounding box on a full-resolution image represented by said digital image data; and tracing a contour of said code in the full-resolution image.
- 7. The method of claim 5 wherein said step of determining said code type comprises determining a shape of said bounding box, wherein if said bounding box is rectangular in shape, said code is determined to be a 1-D bar code or PDF417 code; and wherein if said bounding box is square in shape, said code is determined to be a 2-D code.
- 8. The method of claim 7 wherein said step of identifying said code type further comprises scanning said code within said bounding box to identify a finder pattern, and wherein said step of determining an orientation of the code comprises determining an orientation of said finder pattern.
- 9. The method of claim 1 wherein said step of processing said stored digital image data comprises:
identifying within a higher-resolution image, represented by said stored digital image data, an area consisting of substantially dark pixels connected to one another; tracing the contour of said area, wherein if the shape of the area meets specified criteria, said area is identified as said region of interest that potentially contains said code; and enclosing the area within a bounding box.
- 10. The method of claim 9 further comprising:
calculating the size of said bounding box enclosing said area; determining if said bounding box is smaller than a specified minimum size, wherein if the bounding box is smaller than the specified minimum size, the area is rejected as potentially containing said code; and if said bounding box is not smaller than the specified minimum size, determining if said bounding box contains smaller objects within the bounding box, wherein if the bounding box contains smaller objects within, the bounding box is removed from said high-resolution image.
- 11. The method of claim 1 wherein said step of identifying a code within an identified region of interest commences before the entire image is captured by said step of capturing said image.
- 12. The method of claim 1 wherein said step of down-sampling said digital image data commences before the entire image is captured by said step of capturing said image.
- 13. An optical imaging device comprising:
an image capture unit for capturing an image and generating a signal representative of at least a portion of the captured image; a binary image generator unit for converting the signal into binary image data; a global feature extraction unit for down-sampling the binary image data to generate low-resolution image data and thereafter processing the low-resolution image data to identify a region of interest that potentially contains an optical code, wherein if no region of interest is identified, the global feature extraction unit processes said binary image data to identify said region of interest; and a local feature extraction unit for receiving coordinate data pertaining to the region of interest from the global feature extraction unit, locating a code within the region of interest, identifying the code, and decoding the code.
- 14. The device of claim 13 wherein said global feature extraction unit begins down-sampling said binary image data before the entire image is transferred from said image capture unit to said binary image generator unit.
- 15. The device of claim 14 wherein said local feature extraction unit commences said step of locating said code within said region of interest before the entire image is converted into binary image data by said binary image generator unit.
- 16. The device of claim 13 wherein said global feature extraction unit comprises:
a image down-sampling unit for receiving said binary image data and converting said binary image data into low-resolution image data; a contour tracing and area identification unit for processing said low-resolution image data or, alternatively, said binary image data, to identify a region containing dark pixels connected together, wherein said identified region is designated as said region of interest; and a bounding box definition unit for enclosing the identified region within a bounding box.
- 17. The device of claim 16 wherein said local feature extraction unit comprises:
a code location and contour tracing unit for locating an optical code within said bounding box region; a finder pattern and code identification unit for identifying a code type for the optical code within the bounding box region and locating a finder pattern of the optical code; and a code sampling and decoding unit for sampling an image within the bounding box region so as to create a representation of the optical code for decoding.
- 18. The device of claim 16 wherein said contour tracing and area identification unit further classifies said region of interest based on its shape, wherein if the shape is rectangular, the region of interest is designated as potentially containing a 1-D bar code or PDF417 code, and if the shape is square, the region of interest is designated as potentially containing a 2-D optical code.
RELATED APPLICATIONS
[0001] Priority is claimed from Provisional Application Ser. No. 60/247,550, filed Nov. 9, 2000, entitled, “Method and System for Global and Local Extraction in Digital Imaging” which is incorporated herein by reference in its entirety.
[0002] This application is a continuation-in-part of U.S. application Ser. No. 09/268,222, entitled “Optical Scanner and Image Reader for Reading Images and Decoding Optical Information Including One and Two Dimensional Symbologies at Variable Depth of Field,” filed Jul. 28, 2000, which is incorporated herein by reference in its entirety.
[0003] This application is also a continuation-in-part of U.S. application Ser. No. 09/208,284, entitled “Imaging System and Method,” filed Dec. 8, 1998, which is a continuation-in-part of U.S. application Ser. No. 09/073,501, filed May 5, 1998, which is a continuation-in-part of U.S. application Ser. No. 08/690,752, filed Aug. 1, 1996, which is a continuation-in-part of U.S. application Ser. No. 08/569,728, filed Dec. 8, 1995, which is a continuation-in-part of U.S. application Ser. No. 08/363,985, filed Dec. 27, 1994, which is a continuation-in-part of U.S. application Ser. No. 08/059,322, filed May 7, 1993, which is a continuation-in-part of U.S. application Ser. No. 07/956,646, filed Oct. 2, 1992, now issued as U.S. Pat. No. 5,349,172, which is a continuation-in-part of U.S. application Ser. No. 08/410,509, filed Mar. 24, 1995, which is a re-issue application of U.S. application Ser. No. 07/843,266, filed Feb. 27, 1992, now issued as U.S. Pat. No. 5,291,009. U.S. application Ser. No. 09/208,284 is also a continuation-in-part of U.S. application Ser. No. 08/137,426, filed Oct. 18, 1993, and a continuation-in-part of U.S. application Ser. No. 08/444,387, filed May 19, 1995, which is a continuation-in-part of U.S. application Ser. No. 08/329,257, filed Oct. 26, 1994, all of which are incorporated herein by reference in their entireties.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60247550 |
Nov 2000 |
US |
Continuation in Parts (11)
|
Number |
Date |
Country |
Parent |
09268222 |
Mar 1999 |
US |
Child |
09801110 |
Mar 2001 |
US |
Parent |
09208284 |
Dec 1998 |
US |
Child |
09801110 |
Mar 2001 |
US |
Parent |
09703501 |
Oct 2000 |
US |
Child |
09801110 |
Mar 2001 |
US |
Parent |
08690752 |
Aug 1996 |
US |
Child |
09801110 |
Mar 2001 |
US |
Parent |
08569728 |
Dec 1995 |
US |
Child |
09801110 |
Mar 2001 |
US |
Parent |
08363985 |
Dec 1994 |
US |
Child |
09801110 |
Mar 2001 |
US |
Parent |
08059322 |
May 1993 |
US |
Child |
09801110 |
Mar 2001 |
US |
Parent |
07956646 |
Oct 1992 |
US |
Child |
09801110 |
Mar 2001 |
US |
Parent |
08410509 |
Mar 1995 |
US |
Child |
09801110 |
Mar 2001 |
US |
Parent |
08444387 |
May 1995 |
US |
Child |
09208284 |
|
US |
Parent |
08329257 |
Oct 1994 |
US |
Child |
09801110 |
Mar 2001 |
US |
Reissues (1)
|
Number |
Date |
Country |
Parent |
07843266 |
Feb 1992 |
US |
Child |
09801110 |
Mar 2001 |
US |