Bar code image processing apparatus capable of identifying position and direction of a bar code
First Claim
1. A bar code image processing apparatus comprising:
- image input means for entering a document image including a bar code and converting said document image into a binary image;
image memory means for memorizing the binary image supplied from said image input means;
mask judging means for performing a scanning operation using an M×
M pixel window along a plurality of scanning lines angularly arranged at regular intervals of (360/m)°
about a center pixel of said M×
M pixel window for detecting an alternate pattern from the binary image supplied from said image input means, said mask judging means further producing a bar code detecting signal when any alternate pattern is detected during the scanning operation, and said mask judging means further determining an output value by entering an address including predetermined pixels within said M×
M pixel window into a look-up table means which registers all of bit patterns appearing on said predetermined pixels when an objective bar code is scanned pixel by pixel;
small pattern removing means for removing small patterns from a binary image sent from said mask judging means;
expanding means for expanding a pattern involved in a binary image sent from said small pattern removing means by an amount equivalent to k1 pixels;
contracting means for contracting a pattern involved in a binary image sent from said expanding means by an amount equivalent to k2 pixels;
region detecting means for obtaining the feature quantity of each pattern involved in a binary image sent from said contracting means, and detecting a bar code candidate region based on the detected feature quantity; and
decoding means for decoding a bar code by reading a specific image region from said image memory means when said specific image region corresponds to said bar code candidate region detected by said region detecting means.
1 Assignment
0 Petitions
Accused Products
Abstract
An image input section enters a document image including a bar code, and converts the document image into a binary image. An image memory section memorizes the binary image supplied from the image input section. A mask judging section performs a scanning operation using an M×M pixel window for detecting an alternate pattern from the binary image supplied from the image input section. A small pattern removing section removes small patterns from a binary image sent from the mask judging section. An expanding section expands a pattern involved in a binary image by an amount equivalent to k1 pixels when this binary image is sent from the small pattern removing section. A contracting section contracts a pattern involved in a binary image by an amount equivalent to k2 pixels when this binary image is sent from the expanding section. A region detecting section obtains the feature quantity of each pattern involved in a binary image sent from the contracting section, and detects a bar code candidate region based on the detected feature quantity. And, a decoding section decodes a detected bar code by reading a specific image region from the image memory section when the specific image region corresponds to the bar code candidate region detected by the region detecting section.
56 Citations
6 Claims
-
1. A bar code image processing apparatus comprising:
-
image input means for entering a document image including a bar code and converting said document image into a binary image; image memory means for memorizing the binary image supplied from said image input means; mask judging means for performing a scanning operation using an M×
M pixel window along a plurality of scanning lines angularly arranged at regular intervals of (360/m)°
about a center pixel of said M×
M pixel window for detecting an alternate pattern from the binary image supplied from said image input means, said mask judging means further producing a bar code detecting signal when any alternate pattern is detected during the scanning operation, and said mask judging means further determining an output value by entering an address including predetermined pixels within said M×
M pixel window into a look-up table means which registers all of bit patterns appearing on said predetermined pixels when an objective bar code is scanned pixel by pixel;small pattern removing means for removing small patterns from a binary image sent from said mask judging means; expanding means for expanding a pattern involved in a binary image sent from said small pattern removing means by an amount equivalent to k1 pixels; contracting means for contracting a pattern involved in a binary image sent from said expanding means by an amount equivalent to k2 pixels; region detecting means for obtaining the feature quantity of each pattern involved in a binary image sent from said contracting means, and detecting a bar code candidate region based on the detected feature quantity; and decoding means for decoding a bar code by reading a specific image region from said image memory means when said specific image region corresponds to said bar code candidate region detected by said region detecting means. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A bar code image processing apparatus comprising:
-
image input means for entering a document image including a bar code and converting said document image into a binary image; image memory means for memorizing the binary image supplied from said image input means; mask judging means for performing a scanning operation using an M×
M pixel window for detecting an alternate pattern from the binary image supplied from said image input means;small pattern removing means for removing small patterns from a binary image sent from said mask judging means; expanding means for expanding a pattern involved in a binary image sent from said small pattern removing means by an amount equivalent to k1 pixels; contracting means for contracting a pattern involved in a binary image sent from said expanding means by an amount equivalent to k2 pixels; region detecting means for obtaining the feature quantity of each pattern involved in a binary image sent from said contracting means, and detecting a bar code candidate region based on the detected feature quantity; and decoding means for decoding a bar code by reading a specific image region from said image memory means when said specific image region corresponds to said bar code candidate region detected by said region detecting means, wherein said mask judging means produces a bar code detecting signal when any alternate pattern is detected during a scanning operation performed along a plurality of scanning lines angularly arranged at regular intervals of (360/m)°
about a center pixel of said M×
M pixel window.
-
Specification