JP2002304594A - Information code existence estimating method, information code reading apparatus and information code existence estimating program - Google Patents

Information code existence estimating method, information code reading apparatus and information code existence estimating program

Info

Publication number
JP2002304594A
JP2002304594A JP2002021831A JP2002021831A JP2002304594A JP 2002304594 A JP2002304594 A JP 2002304594A JP 2002021831 A JP2002021831 A JP 2002021831A JP 2002021831 A JP2002021831 A JP 2002021831A JP 2002304594 A JP2002304594 A JP 2002304594A
Authority
JP
Japan
Prior art keywords
dark
image
light
point
information code
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.)
Granted
Application number
JP2002021831A
Other languages
Japanese (ja)
Other versions
JP3890991B2 (en
Inventor
Yoshinori Takeuchi
芳徳 竹内
Takeshi Watanabe
武 渡辺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2002021831A priority Critical patent/JP3890991B2/en
Publication of JP2002304594A publication Critical patent/JP2002304594A/en
Application granted granted Critical
Publication of JP3890991B2 publication Critical patent/JP3890991B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To automatically estimate that an information code exists in an area to be read with high probability by making it unnecessary to provide any illuminating light for reading. SOLUTION: A stationary information code reading apparatus 1 is provided with a number of bright/dark point memory 14b for storing the change of bright points and dark points when scanning for each area to be checked for one picture area and a memory 17 for storing bright/dark points for storing the data for one picture area. The data stored in the number of bright/dark point memory 14b for one picture area are transferred to the memory 17 for storing the bright/dark pints. Then, data for one picture area are stored in the number of bright/dark point memory 14b again, and the contents of the number of bright/dark point memory 14b are compared with the contents of the memory 17 for storing the bright/dark points for each area to be examined by a control circuit 8. When the number of areas to be examined where the number of bright and dark points whose change is generated between adjacent pixels exceeds the prescribed number of points to be judged becomes more than the number of areas to be judged, it is estimated that an information code exists in the area to be read with high probability.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、明暗パターンから
なる情報コードの存在を推定するための情報コード存在
推定方法,情報コード読取装置及び情報コード存在推定
プログラムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information code existence estimating method, an information code reading device, and an information code existence estimating program for estimating the existence of an information code composed of a light and dark pattern.

【0002】[0002]

【発明が解決しようとする課題】近年、バーコード,Q
Rコードに代表される情報コードを解読して内容を認識
するための情報コード読取装置が店舗に数多く設置され
ている。この種の情報コード読取装置は、紙面等に印刷
された情報コードが使用者により読取対象領域に対して
向けられることで、情報コードを解読してその内容を認
識するものである。
In recent years, bar codes, Q
Many information code reading devices are installed in stores for decoding information codes represented by R codes and recognizing contents. This type of information code reading apparatus is designed to decode an information code by recognizing the information code printed on a sheet of paper or the like to a reading target area by a user, and recognize the content.

【0003】従来の情報コード読取装置は、読取対象領
域内の情報コードを読取るにあたり、照明用発光ダイオ
ード(以降、LEDと称する)を要している。すなわ
ち、LEDを読取対象領域に点灯させ例えば約700〜
800ルクス程度の照度とすることによって、その反射
光により情報コードパターンの明点,暗点を解読(デコ
ード)可能にすることができる。
A conventional information code reader requires an illumination light emitting diode (hereinafter, referred to as an LED) to read an information code in an area to be read. That is, the LED is turned on in the reading target area, for example, about 700 to
By setting the illuminance to about 800 lux, it is possible to decode (decode) a bright point and a dark point of the information code pattern by the reflected light.

【0004】この場合、読取動作を開始するにあたり、
情報コードの印刷された物体が読取対象領域内に存在す
ることを情報コード読取装置側で認識するためには、別
途読取り用スイッチもしくは物体検出用センサ(近接セ
ンサ,フォトインタラプタ等)を設ける必要がある。
In this case, when starting the reading operation,
In order for the information code reader to recognize that the object on which the information code is printed is present in the reading target area, it is necessary to provide a separate reading switch or an object detection sensor (proximity sensor, photo interrupter, etc.). is there.

【0005】特に、定置式の情報コード読取装置におい
ては、紙面等に印刷された情報コードを読取対象領域に
差し入れられた時に自動的にこれを検知して読取り動作
を行う構成とするために、読取り時に使用者により操作
される読取り動作開始用スイッチを設けずに物体検出用
センサを設ける構成とした方が、使用者にとって利便性
が向上し望ましい。
In particular, in a stationary information code reading device, when an information code printed on a sheet of paper or the like is inserted into an area to be read, the information code is automatically detected and a reading operation is performed. It is desirable to provide the object detection sensor without providing the reading operation start switch operated by the user at the time of reading, because the convenience is improved for the user.

【0006】ところで、読取り動作開始用スイッチもし
くは物体検出用センサを設けることは、スイッチ操作が
煩わしくなったり、検出回路を設けるコストがかかるの
で、これを避けるため、LEDを常時点灯もしくは一定
周期で点灯させて情報コードを点灯したタイミングにお
いて逐次読取る方法も考えられる。しかしながら、例え
ば、店舗に定置式の情報コード読取装置を設置する場
合、LEDの点灯もしくは点滅が使用者や客に対して目
障りな状態となる場合が生じたり、常時点灯もしくは一
定周期で点灯するためにLEDの劣化が早くその光量が
低下し交換周期が短くなるため好ましくない。
However, providing a switch for starting a reading operation or a sensor for detecting an object complicates the operation of the switch and increases the cost of providing a detection circuit. A method of sequentially reading the information code at the timing when the information code is turned on is also conceivable. However, for example, when a stationary information code reading device is installed in a store, the lighting or blinking of the LED may be annoying to the user or the customer, or the LED may be constantly lit or lit at a constant period. In addition, the LED deteriorates quickly, the light amount decreases, and the replacement cycle becomes short, which is not preferable.

【0007】本発明は、上記事情に鑑みてなされたもの
で、その目的は、使用者の手を煩わすことなく自動的に
情報コードの存在確率が高いことを推定することがで
き、これによって読取り動作用スイッチや物体検出用セ
ンサを設ける必要をなくしながら、LEDの交換周期を
長くすることができるようにした情報コード存在推定方
法や、情報コード読取装置及び情報コード存在推定プロ
グラムを提供するにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has as its object to automatically estimate that the existence probability of an information code is high without bothering the user, and thereby to read the information code. It is an object of the present invention to provide an information code existence estimating method, an information code reading device, and an information code existence estimating program which can lengthen an LED replacement cycle without having to provide an operation switch and an object detection sensor. .

【0008】[0008]

【課題を解決するための手段】請求項1記載の情報コー
ド存在推定方法によれば、撮像過程において読取り用の
照明を点灯しない状態で、読取対象領域中において得ら
れた画像の各画素データにつき、明点,暗点の判定が行
われ、記憶される(明暗判定過程,判定結果記憶過
程)。さらに、画像の画素を所定方向に走査しながら、
隣接する画素間で明点から暗点へ変化する画素,もしく
は暗点から明点へ変化する画素,が判定される。このと
き、明暗パターンからなる情報コードは明点,暗点の境
界が明瞭なパターンからなっているので、隣接する画素
間の明暗の変化(明暗点数)が、読取り用の照明がなく
とも高い確率で検出され、逆に、絵等のように明点,暗
点の境界が明瞭でないものについては、隣接する画素間
の明暗の変化が少ないので明暗点数の検出確率は低い。
According to the information code existence estimating method of the present invention, each pixel data of the image obtained in the reading target area is set in a state where the reading illumination is not turned on in the imaging process. , A bright point and a dark point are determined and stored (light / dark determination step, determination result storage step). Further, while scanning the pixels of the image in a predetermined direction,
A pixel that changes from a bright point to a dark point or a pixel that changes from a dark point to a bright point between adjacent pixels is determined. At this time, since the information code composed of the light-dark pattern has a pattern in which the boundary between the light point and the dark point is clear, the change in light-dark (the number of light-dark points) between adjacent pixels has a high probability even without reading illumination. On the other hand, when the boundary between the bright point and the dark point is not clear, such as a picture, the detection probability of the number of bright and dark points is low because the change in brightness between adjacent pixels is small.

【0009】次に、前回画像の明暗点数と今回画像の明
暗の変化の判定結果との比較が行われることで(明暗点
変化計数過程)、前回画像に対する変化が計数され、こ
の変化の生じている画素の数が所定の判定点数を超えて
いるときに読取対象領域中に明暗パターンからなる情報
コードが存在する確率が高いと推定される(推定過
程)。すなわち、情報コードが読取対象領域内に入る
と、情報コードは隣接する画素間の明暗変化が大きいた
め、条件を満たす画素の数は予め定められた判定点数を
超えることになる。逆に、絵等が読取対象領域内に入っ
たとしても、隣接する画素間の明暗変化が小さいため、
条件を満たす画素の数は判定点数を超えることが少な
い。したがって、読取対象領域に読取り用の照明を点灯
することなく、情報コードが読取対象領域内に存在する
確率が高いことを検出することができる。
Next, by comparing the number of light and dark points of the previous image with the determination result of the change in light and dark of the current image (light and dark point change counting process), the change with respect to the previous image is counted, and this change occurs. When the number of pixels exceeds a predetermined number of determination points, it is estimated that the probability that an information code composed of a light and dark pattern exists in the read target area is high (estimation process). That is, when the information code enters the reading target area, the information code has a large change in brightness between adjacent pixels, so that the number of pixels satisfying the condition exceeds a predetermined judgment point. Conversely, even if a picture or the like enters the reading target area, since the brightness change between adjacent pixels is small,
The number of pixels satisfying the condition rarely exceeds the number of judgment points. Therefore, it is possible to detect that the probability that the information code exists in the reading target area is high without turning on the reading illumination in the reading target area.

【0010】請求項2記載の情報コード存在推定方法に
よれば、撮像過程によって読取対象領域を撮像した画像
が複数の検査区域に分割される(分割過程)。また、読
取対象領域の画像の各画素データについて明点,暗点の
判定が行われ、画像の画素が所定方向に走査され、隣接
する画素間で明点から暗点へ変化する画素,もしくは暗
点から明点へ変化する画素,が判定され、複数の検査区
域毎に明暗点数として記憶される(明暗判定過程,判定
結果記憶過程)。このとき、明暗パターンからなる情報
コードは明点,暗点の境界が明瞭なパターンからなって
いるので、隣接する画素間の明暗の変化(明暗点数)
が、読取り用の照明がなくても高い確率で検出され、逆
に、絵等のように明点,暗点の境界が明瞭でないものに
ついては、隣接する画素間の明暗の変化が少なく明暗点
数の検出確率は低い。尚、この明暗点数は、複数の検査
区域毎に計数される。
According to the information code existence estimating method of the present invention, an image obtained by imaging the area to be read in the imaging step is divided into a plurality of inspection areas (division step). Further, a bright point and a dark point are determined for each pixel data of the image of the image to be read, pixels of the image are scanned in a predetermined direction, and pixels which change from a bright point to a dark point between adjacent pixels, or dark pixels. A pixel that changes from a point to a bright point is determined and stored as the number of bright and dark points for each of a plurality of inspection areas (light / dark determination process, determination result storage process). At this time, since the information code composed of the light and dark patterns has a pattern in which the boundary between the light point and the dark point is clear, the change in light and dark between adjacent pixels (the number of light and dark points)
Is detected with a high probability even without illumination for reading. Conversely, when the boundary between a bright point and a dark point is not clear, such as a picture, the change in brightness between adjacent pixels is small and the number of bright and dark points is small. Has a low detection probability. The number of bright and dark points is counted for each of a plurality of inspection areas.

【0011】次に、前回画像の明暗点数と今回画像の判
定結果とが比較され、明暗点数に変化の生じている画素
の数が計数され、所定の判定点数を超えているときにそ
の検査区域の数を計数し、その検査区域の数が所定の判
定区域数を超えるときに情報コードが存在する確率が高
いと推定する(明暗点変化計数過程,推定過程)。
Next, the number of light and dark points of the previous image is compared with the judgment result of the current image, the number of pixels having a change in the number of light and dark points is counted. Is counted, and it is estimated that the probability that an information code exists is high when the number of inspection areas exceeds a predetermined number of determination areas (bright and dark point change counting step, estimation step).

【0012】すなわち、情報コードが読取対象領域内に
入ると、情報コードは隣接する画素間の明暗変化が大き
いため、判定点数を超えるという条件を満たす検査区域
数は、予め定められた判定区域数を超える。逆に、絵等
が読取対象領域内に入ったとしても、隣接する画素間の
明暗変化が小さいため、判定点数を超えるという条件を
満たす検査区域数は、予め定められた判定区域数を超え
ることが少ない。したがって、読取対象領域に読取り用
の照明を点灯することなく、情報コードが読取対象領域
内に存在する確率が高いことを検出することができる。
That is, when the information code enters the area to be read, since the information code has a large change in brightness between adjacent pixels, the number of inspection areas satisfying the condition of exceeding the number of judgment points is determined by the predetermined number of judgment areas. Exceeds. Conversely, even if a picture or the like enters the reading target area, the number of inspection areas satisfying the condition of exceeding the number of judgment points exceeds the predetermined number of judgment areas due to a small change in brightness between adjacent pixels. Less is. Therefore, it is possible to detect that the probability that the information code exists in the reading target area is high without turning on the reading illumination in the reading target area.

【0013】また、請求項3の発明によれば、請求項2
の発明において判定区域数を異なる値に設定可能とする
ため、情報コードが読取対象領域内に存在する確率が高
い旨を推定する感度を調整することができる。すなわ
ち、ユーザ等により判定区域数を異なる値に設定するこ
とが可能であるため、読取り用照明を読取対象領域に点
灯して情報コードを解読する際に、読取り用照明を点灯
させたり情報コードを解読させる度合を調整することが
できる。
Further, according to the invention of claim 3, according to claim 2,
Since the number of determination zones can be set to different values in the invention of the above, the sensitivity for estimating that the probability that the information code exists in the read target area is high can be adjusted. That is, since the number of determination zones can be set to different values by the user or the like, when the reading illumination is turned on in the reading target area to decode the information code, the reading illumination is turned on or the information code is turned on. The degree of decryption can be adjusted.

【0014】請求項4記載の発明によれば、次のように
作用する。すなわち、撮像手段は読取対象領域を撮像
し、明暗判定手段は撮像された読取対象領域内の画像の
各画素データについて明点,暗点の判定を行う。さら
に、明暗判定手段は隣接する画素間で明点から暗点へ変
化する画素,もしくは暗点から明点へ変化する画素,を
判定する。このとき、明暗パターンからなる情報コード
は明点,暗点の境界が明瞭なパターンからなっているの
で、隣接する画素間の明暗の変化(明暗点数)が、読取
り用の照明がなくとも高い確率で検出され、逆に、絵等
のように明点,暗点の境界が明瞭でないものについて
は、隣接する画素間の明暗の変化が少なく明暗点数が検
出される確率は低い。尚、判定結果記憶手段はこの値を
記憶する。制御手段は、前回画像の明暗点数と今回画像
の明暗の変化の判定結果との比較を行うことで、前回画
像に対する変化を計数し、この変化の生じている画素の
数が所定の判定点数を超えているときに、読取対象領域
中に明暗パターンからなる情報コードが存在する確率が
高いと推定することができる。
According to the fourth aspect of the invention, the operation is as follows. That is, the imaging unit captures an image of the reading target region, and the light / dark determination unit determines a bright point and a dark point for each pixel data of the captured image in the reading target region. Further, the light / dark determining means determines a pixel which changes from a bright point to a dark point or a pixel which changes from a dark point to a bright point between adjacent pixels. At this time, since the information code composed of the light-dark pattern has a pattern in which the boundary between the light point and the dark point is clear, the change in light-dark (the number of light-dark points) between adjacent pixels has a high probability even without reading illumination. Conversely, when the boundary between the bright point and the dark point is not clear, such as a picture, the change in the brightness between adjacent pixels is small and the probability of detecting the number of bright and dark points is low. The judgment result storage means stores this value. The control means counts the change with respect to the previous image by comparing the number of light and dark points of the previous image with the determination result of the change in light and dark of the current image, and the number of pixels in which the change occurs becomes a predetermined determination point. When it exceeds, it can be estimated that there is a high probability that an information code composed of a light and dark pattern exists in the reading target area.

【0015】請求項5記載の発明によれば、次のように
作用する。すなわち、撮像手段は読取対象領域を撮像
し、明暗判定手段は撮像された読取対象領域内の画像の
各画素データについて明点,暗点の判定を行う。また、
明暗判定手段は、隣接する画素間で明点から暗点へ変化
する画素,もしくは暗点から明点へ変化する画素,を判
定する。このとき、明暗パターンからなる情報コードは
明点,暗点の境界が明瞭なパターンからなっているの
で、隣接する画素間の明暗の変化(明暗点数)が、読取
り用の照明がなくとも高い確率で検出され、逆に、絵等
のように明点,暗点の境界が明瞭でないものについて
は、隣接する画素間の明暗の変化が少なく明暗点数が検
出される確率は低い。判定結果記憶手段はこの値を複数
の検査区域毎に記憶する。制御手段は、前回画像の明暗
点数と今回画像の判定結果とを比較し、明暗点数に変化
の生じている画素の数を計数する。制御手段は、その画
素の数が所定の判定点数を超えているときにその検査区
域の数を計数し、その検査区域の数が所定の判定区域数
を超えるときに情報コードが存在する確率が高いと推定
することができる。
According to the fifth aspect of the invention, the operation is as follows. That is, the imaging unit captures an image of the reading target region, and the light / dark determination unit determines a bright point and a dark point for each pixel data of the captured image in the reading target region. Also,
The brightness determining means determines a pixel that changes from a bright point to a dark point or a pixel that changes from a dark point to a bright point between adjacent pixels. At this time, since the information code composed of the light-dark pattern has a pattern in which the boundary between the light point and the dark point is clear, the change in light-dark (the number of light-dark points) between adjacent pixels has a high probability even without reading illumination. Conversely, when the boundary between the bright point and the dark point is not clear, such as a picture, the change in the brightness between adjacent pixels is small and the probability of detecting the number of bright and dark points is low. The determination result storage means stores this value for each of the plurality of inspection areas. The control unit compares the number of bright and dark points of the previous image with the determination result of the current image, and counts the number of pixels having a change in the number of bright and dark points. The control means counts the number of the inspection areas when the number of the pixels exceeds a predetermined judgment point, and when the number of the inspection areas exceeds the predetermined judgment area, the probability that the information code exists is small. It can be estimated to be high.

【0016】請求項6記載の発明によれば、請求項5記
載の発明において推定するための判定区域数を異なる値
に設定可能となるため、情報コードが読取対象領域内に
存在する確率が高い旨を推定する感度を調整することが
できる。すなわち、ユーザ等により判定区域数を異なる
値に設定することが可能であるため、読取り用照明を読
取対象領域に点灯して情報コードを解読する際に、読取
り用照明を点灯させたり情報コードを解読させる度合を
調整することができる。
According to the sixth aspect of the present invention, since the number of determination zones to be estimated in the fifth aspect of the invention can be set to different values, the probability that the information code exists in the read target area is high. The sensitivity for estimating the effect can be adjusted. That is, since the number of determination zones can be set to different values by the user or the like, when the reading illumination is turned on in the reading target area to decode the information code, the reading illumination is turned on or the information code is turned on. The degree of decryption can be adjusted.

【0017】請求項9記載の情報コード存在推定方法に
よれば、請求項1記載の方法発明と同様に撮像過程が行
われる。そして明点,暗点の判定が行われ(判定過
程)、その判定結果が画素明暗点として記憶される(記
憶過程)。次に、前回画像の画素明暗点と今回画像の判
定結果との比較が画素毎に行われることで、前回画像に
対する今回画像の判定結果に変化が生じている画素の数
が計数される(計数過程)。このとき、請求項1記載の
方法発明と同様に、読取り用の照明がなくとも高い確率
で検出される。すなわち、情報コードが読取対象領域内
に入ると、情報コードは明点,暗点が明瞭なため、条件
を満たす画素の数は所定の判定点数を超えることにな
る。したがって、読取対象領域に読取り用の照明を点灯
することなく、情報コードが読取対象領域内に存在する
確率が高いことを推定し(推定過程)、検出することが
できる。
According to the information code existence estimating method of the ninth aspect, the imaging process is performed in the same manner as in the method of the first aspect. Then, a bright point and a dark point are determined (determination process), and the determination result is stored as a pixel bright / dark point (storage process). Next, by comparing the pixel light-dark point of the previous image with the determination result of the current image for each pixel, the number of pixels having a change in the determination result of the current image with respect to the previous image is counted (counting). process). At this time, similarly to the method invention according to the first aspect, detection is performed with a high probability even without illumination for reading. In other words, when the information code enters the reading target area, the information code has a clear bright point and a dark point, so that the number of pixels satisfying the condition exceeds a predetermined judgment point. Therefore, it is possible to estimate (detect an estimation process) that the probability that the information code exists in the reading target area is high without turning on the reading illumination in the reading target area.

【0018】請求項10記載の情報コード存在推定方法
によれば、請求項2記載の方法発明と同様に撮像過程が
行われ、分割過程が行われる。そして、請求項9記載の
判定過程がおこなわれ、そして判定結果が画素明暗点と
して記憶される。そして、前回画像の画素明暗点と今回
画像の判定結果とが画素毎に比較され、画素明暗点に変
化の生じている画素の数が複数の検査区域毎に計数され
る(計数過程)。情報コードは明点,暗点からなってい
るので、読取り用の照明がなくとも高い確率で検出され
る。すなわち、情報コードが読取対象領域内に入ると、
判定点数を超えるという条件を満たす検査区域数は、予
め定められた判定区域数を超える。したがって、読取対
象領域に読取り用の照明を点灯することなく、情報コー
ドが読取対象領域内に存在する確率が高いことを推定
し、検出することができる。
According to the information code existence estimating method of the tenth aspect, the imaging step is performed and the dividing step is performed similarly to the method invention of the second aspect. Then, the determination step according to the ninth aspect is performed, and the determination result is stored as the pixel light / dark point. Then, the pixel light and dark points of the previous image and the determination result of the current image are compared for each pixel, and the number of pixels having a change in the pixel light and dark points is counted for each of the plurality of inspection areas (a counting process). Since the information code is composed of a bright point and a dark point, it is detected with a high probability even without illumination for reading. That is, when the information code enters the reading target area,
The number of inspection areas satisfying the condition of exceeding the number of judgment points exceeds a predetermined number of judgment areas. Therefore, it is possible to estimate and detect that the probability that the information code exists in the reading target region is high without turning on the reading illumination in the reading target region.

【0019】請求項11記載の情報コード存在推定方法
によれば、撮像過程において撮像された画像の画素デー
タについての明点もしくは暗点が判定された状態で、当
該明点もしくは暗点の個数が計数され、画像について計
数した結果が明暗個数として記憶される(計数過程,記
憶過程)。次に、前回画像の明暗個数と今回画像の計数
結果とが比較され、明暗個数の変化が所定個数を超えて
いるときに読取対象領域中に明暗パターンからなる情報
コードが存在する確率が高いと推定される(推定過
程)。
According to the information code existence estimating method of the present invention, the number of bright points or dark points is determined in a state where the bright points or dark points of the pixel data of the image captured in the image capturing process are determined. The number is counted, and the result of counting the image is stored as the number of light and dark (a counting process, a storing process). Next, the contrast number of the previous image and the counting result of the current image are compared, and when the change in the contrast number exceeds a predetermined number, it is determined that there is a high probability that the information code including the contrast pattern exists in the reading target area. It is estimated (estimation process).

【0020】このとき、情報コードは明点,暗点からな
っているので、読取り用の照明がなくとも高い確率で検
出される。すなわち、情報コードが読取対象領域内に入
ると、前回画像と今回画像の比較により明暗個数は所定
個数を超えるという条件を満たす。したがって、読取対
象領域に読取り用の照明を点灯することなく、情報コー
ドが読取対象領域内に存在する確率が高いことを推定す
ることができる。
At this time, since the information code is composed of a bright point and a dark point, the information code is detected with a high probability without illumination for reading. That is, when the information code enters the reading target area, the condition that the number of light and dark exceeds a predetermined number by comparison between the previous image and the current image is satisfied. Therefore, it is possible to estimate that the probability that the information code exists in the reading target area is high without turning on the reading illumination in the reading target area.

【0021】請求項12記載の発明によれば、撮像手段
は読取対象領域を撮像し、判定手段は撮像された読取対
象領域内の画像の各画素データについて明点,暗点の判
定を行う。この場合、情報コードは明点,暗点からなっ
ているので、読取対象領域内に情報コードが存在する状
態に遷移する場合や、読取対象領域内に情報コードが存
在する状態から変化した場合に、読取り用の照明がなく
とも高い確率で検出され、記憶手段はこの値を画素明暗
点として記憶する。制御手段は、前回画像の画素明暗点
と今回画像の判定結果とを画素毎に比較することで、前
回画像に対して変化している画素の数を計数し、計数さ
れた画素の数が所定の判定点数を超えているときに読取
対象領域中に明暗パターンからなる情報コードが存在す
る確率が高いことを推定する。
According to the twelfth aspect of the present invention, the image pickup means picks up an image of the area to be read, and the judgment means judges a bright point and a dark point for each pixel data of the imaged image in the area to be read. In this case, since the information code is composed of a light point and a dark point, when the state transits to a state in which the information code exists in the reading target area, or when the state changes from a state in which the information code exists in the reading target area. , Even if there is no illumination for reading, it is detected with a high probability, and the storage means stores this value as a pixel light / dark point. The control unit counts the number of pixels that have changed with respect to the previous image by comparing the pixel light / dark point of the previous image with the determination result of the current image for each pixel, and determines that the number of counted pixels is a predetermined number. It is estimated that there is a high probability that an information code composed of a light and dark pattern exists in the reading target area when the number of judgment points exceeds the number of judgment points.

【0022】請求項13記載の発明によれば、請求項1
2記載の発明と同様に画像の各画素データについて明
点,暗点の判定を行うため、読取り用の照明がなくとも
高い確率で情報コードが検出される。記憶手段はこの判
定結果を画素明暗点として記憶し、制御手段は、前回画
像の画素明暗点と今回画像の判定結果とを画素毎に比較
し、画素明暗点の判定結果に変化の生じている画素の数
を複数の検査区域毎に計数する。制御手段が、画素の数
が所定の判定点数を超えているときにその検査区域の数
を計数し、計数された該検査区域数が所定の判定区域数
を超えるときに読取対象領域中に情報コードが存在する
確率が高いと推定する。
According to the thirteenth aspect, the first aspect is provided.
In the same manner as in the second aspect of the invention, since a bright point and a dark point are determined for each pixel data of an image, an information code is detected with a high probability even without illumination for reading. The storage unit stores the determination result as a pixel light-dark point, and the control unit compares the pixel light-dark point of the previous image with the determination result of the current image for each pixel, and a change occurs in the pixel light-dark point determination result. The number of pixels is counted for each of the plurality of inspection areas. The control means counts the number of inspection areas when the number of pixels exceeds a predetermined determination point, and stores information in the read target area when the counted number of inspection areas exceeds the predetermined determination area number. It is estimated that the probability that the code exists is high.

【0023】[0023]

【発明の実施の形態】(第1の実施の形態)以下、本発
明を例えば店舗などの定置式情報コード読取装置1に適
応した第1の実施の形態を図1から図12を参照して説
明する。図2は、本実施の形態の定置式情報コード読取
装置1が実際に用いられる前提となる状態を示してい
る。定置式情報コード読取装置1は、スタンド2に立設
されたアーム3に固定され、下方に向けて読取対象領域
を設定するように設置されている。定置式情報コード読
取装置1は、後述する通信インターフェース回路4から
ケーブル5を介して外部の図示しないコンピュータに接
続されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment) Hereinafter, a first embodiment in which the present invention is applied to a stationary information code reader 1 such as a store will be described with reference to FIGS. explain. FIG. 2 shows a state on which it is assumed that the stationary information code reader 1 of the present embodiment is actually used. The stationary information code reader 1 is fixed to an arm 3 erected on a stand 2 and is installed so as to set a reading target area downward. The stationary information code reader 1 is connected to an external computer (not shown) via a cable 5 from a communication interface circuit 4 described later.

【0024】図1は、定置式情報コード読取装置1の電
気的構成を示している。定置式情報コード読取装置1
は、読取対象領域に光を照射する読取り用照明としての
照明用発光ダイオード(以降、LEDと称する)6と、
その読取対象領域からの光の反射を受けて撮像するCC
Dエリアセンサ7とこれらの駆動タイミングを制御する
等の動作を行う制御手段としての制御回路8と、この制
御回路8の制御信号に応じて明点,暗点を判定する等の
動作を行う明暗判定手段としての二値化回路9とを中心
として構成されている。
FIG. 1 shows the electrical configuration of the stationary information code reader 1. Stationary information code reader 1
A light-emitting diode (hereinafter, referred to as an LED) 6 as an illumination for reading that irradiates light to a reading target area;
CC that captures an image by receiving light reflected from the reading target area
The D area sensor 7 and a control circuit 8 serving as control means for performing operations such as controlling the drive timing of the D area sensor 7, and light and dark for performing operations such as determining a bright point and a dark point in accordance with a control signal of the control circuit 8 It is mainly configured with a binarization circuit 9 as a judging means.

【0025】制御回路8は、CPU(Central Processi
ng Unit),ROM,RAM等を備えて構成され、RO
Mに記憶されているプログラムに従って定置式情報コー
ド読取装置1の各構成を動作させるようになっている。
また、RAMには各構成動作プログラムのワークメモリ
が割り当てられている。
The control circuit 8 has a CPU (Central Process
ng Unit), ROM, RAM, etc.
Each component of the stationary information code reader 1 is operated in accordance with a program stored in M.
Further, a work memory for each configuration operation program is allocated to the RAM.

【0026】LED6は、制御回路8の指示に従って赤
色光を照射して約700〜800ルクス程度の照度にな
るように読取対象領域を照射するように構成されてい
る。また、撮像手段としてのCCDエリアセンサ7は、
二次元的に配列された複数の図示しないフォトダイオー
ドなどの受光素子から構成されており、制御回路8の制
御信号に応じて読取対象領域を撮像するようになってい
る。撮像時には、受光素子により電気信号に変換し、同
期パルス発生回路10の発生する同期用パルスの信号読
み出しタイミングに基づいて、順次画像の画素データの
アナログ信号を増幅回路11に出力するようになってい
る。
The LED 6 is configured to irradiate red light in accordance with an instruction from the control circuit 8 to irradiate an area to be read so as to have an illuminance of about 700 to 800 lux. Also, the CCD area sensor 7 as an image pickup means
It is composed of a plurality of light receiving elements such as photodiodes (not shown) arranged two-dimensionally, and captures an image of a reading target area according to a control signal of the control circuit 8. At the time of imaging, the light receiving element converts the electric signal into an electric signal, and sequentially outputs an analog signal of pixel data of an image to the amplifier circuit 11 based on a signal reading timing of a synchronizing pulse generated by the synchronizing pulse generating circuit 10. I have.

【0027】増幅回路11は、CCDエリアセンサ7か
ら出力された画素データのアナログ信号を、制御回路8
から入力したゲインコントロール電圧に対応する増幅率
により電圧を増幅出力するように構成されている。
The amplifier circuit 11 converts the analog signal of the pixel data output from the CCD area sensor 7 into a control circuit 8
The amplifier is configured to amplify and output a voltage with an amplification factor corresponding to the gain control voltage input from the controller.

【0028】増幅回路11の電圧出力端子は、A/D変
換回路12のアナログ入力端子に接続されている。A/
D変換回路12は、アナログ信号電圧をディジタル信号
に変換して画像用メモリ14の画像データメモリ14a
に出力するように構成されている。
The voltage output terminal of the amplifier circuit 11 is connected to the analog input terminal of the A / D conversion circuit 12. A /
The D conversion circuit 12 converts the analog signal voltage into a digital signal and converts the analog signal voltage into a digital signal.
Is configured to be output.

【0029】一方、同期パルス発生回路10は、CCD
エリアセンサ7から出力される画素データのパルスより
十分に細かい同期用パルスを、制御回路8からの指示に
応じて出力するようになっており、第1アドレス発生回
路13は、この同期用パルスをカウントしながら、画像
用メモリ14の各領域に対して必要に応じてそれぞれの
アドレスを発生させるようになっている。
On the other hand, the synchronization pulse generating circuit 10
A synchronization pulse sufficiently smaller than the pulse of the pixel data output from the area sensor 7 is output in accordance with an instruction from the control circuit 8, and the first address generation circuit 13 outputs the synchronization pulse. While counting, respective addresses are generated for each area of the image memory 14 as needed.

【0030】画像用メモリ14は、画像データメモリ1
4aと,判定結果記憶手段としての明暗点数メモリ14
bと、二次元画像メモリ14cとを備えており、画像用
メモリ14は、データを送受信用のデータバスと画像用
メモリ14のリードライト(読み書き)を制御するため
の制御信号線とからなる信号線により、制御回路8と接
続されている。また、A/D変換回路12のディジタル
出力は、二値化回路9の入力端子に接続されている。
The image memory 14 is an image data memory 1
4a and a light / dark point number memory 14 as a judgment result storage means
b, and a two-dimensional image memory 14c. The image memory 14 is a signal comprising a data bus for transmitting and receiving data and a control signal line for controlling read / write (read / write) of the image memory 14. The line is connected to the control circuit 8. A digital output of the A / D conversion circuit 12 is connected to an input terminal of the binarization circuit 9.

【0031】二値化回路9は、制御回路8によってあら
かじめ定められた所定の輝度範囲の不感帯を挟んで(図
3参照)、明点の輝度範囲,暗点の輝度範囲もしくは不
感帯の輝度範囲に輝度規定レベルを分割すると共に、入
力された画素データを輝度規定レベルに基づいて、明
点,暗点もしくは不感帯内の点として振り分けて、画像
用メモリ14内の二次元画像メモリ14cに出力可能に
構成されている。このとき記憶される二次元画像メモリ
14cのアドレスは、第1アドレス発生回路13から与
えられ、CCDエリアセンサ7から出力される画素ごと
のデータとして二次元画像メモリ14cに記憶されるよ
うに構成されている。
The binarizing circuit 9 interposes a dead zone of a predetermined luminance range predetermined by the control circuit 8 (see FIG. 3), and sets a luminance range of a bright point, a luminance range of a dark point or a luminance range of a dead zone. In addition to dividing the specified luminance level, the input pixel data is distributed as a bright point, a dark point, or a point in a dead zone based on the specified luminance level, and can be output to the two-dimensional image memory 14c in the image memory 14. It is configured. The address of the two-dimensional image memory 14c stored at this time is provided from the first address generating circuit 13, and is stored in the two-dimensional image memory 14c as data for each pixel output from the CCD area sensor 7. ing.

【0032】また、二値化回路9は、第1アドレス発生
回路13から送信されるアドレス制御信号に基づいて、
1画像領域を複数の領域からなる検査区域に分割しなが
ら検査区域ごとの明暗点数メモリ14bに対するブロッ
クアドレスを指定するようになっている。そして、二値
化回路9は、得られた画素データに対して、検査区域ご
との輝度の最大値及び最小値を求めるようになってお
り、すべての分割された検査区域において輝度規定レベ
ルをそれぞれ算出すると共に、1画像領域内の走査時に
順次画素データの輝度規定レベルに対しての明点,暗点
の変化を検出し、それぞれの検査区域ごとにカウント
し、明暗点数メモリ14bに対して、検査区域ごとの明
暗点数として記憶させるようになっている。
Further, the binarizing circuit 9 performs the following based on an address control signal transmitted from the first address generating circuit 13.
While one image area is divided into inspection areas composed of a plurality of areas, a block address for the light / dark point number memory 14b is specified for each inspection area. Then, the binarization circuit 9 obtains the maximum value and the minimum value of the luminance for each inspection area with respect to the obtained pixel data, and sets the luminance regulation level in each of the divided inspection areas. At the same time, when scanning within one image area, the change of the bright point and the dark point with respect to the luminance specified level of the pixel data is sequentially detected, counted for each inspection area, and stored in the bright / dark point number memory 14b. The number of light and dark points for each inspection area is stored.

【0033】スイッチ群15は、例えばファンクション
キー15aより構成されており、後述する感度調整や各
種情報を入力可能に構成されている。(図2参照)液晶
表示器16は、制御回路8からの制御信号に従って読み
込んだ2次元コードが表示されるようになっている。
The switch group 15 is composed of, for example, function keys 15a, and is configured so that sensitivity adjustment and various information described later can be input. (See FIG. 2) The liquid crystal display 16 displays a two-dimensional code read in accordance with a control signal from the control circuit 8.

【0034】明暗点数格納用メモリ17は、少なくとも
明暗点数メモリ14b以上の記憶領域を有しており、制
御回路8の制御信号に従って明暗点数メモリ14bに記
憶されたデータを内部に転送可能に構成されている。第
2アドレス発生回路18は、制御回路8と接続され、制
御回路8からの信号を受けて明暗点数格納用メモリ17
のアドレス及び画像用メモリ14のアドレスを対応して
指定可能に構成されている。
The memory 17 for storing the number of light and dark points has at least a storage area equal to or larger than the memory 14b for light and dark points, and is configured so that data stored in the memory 14b for light and dark points can be transferred internally in accordance with a control signal of the control circuit 8. ing. The second address generation circuit 18 is connected to the control circuit 8, and receives a signal from the control circuit 8 to receive the number of bright and dark points stored in the memory 17.
And the address of the image memory 14 can be designated correspondingly.

【0035】なお、定置式情報コード読取装置1内に
は、図示しない電池及びこの電池を利用した電源回路が
内蔵され、定置式情報コード読取装置1の各構成の電源
を供給するように構成されている。
The stationary information code reader 1 has a built-in battery (not shown) and a power supply circuit using the battery, and is configured to supply power to each component of the stationary information code reader 1. ing.

【0036】次に、上述した構成の動作について説明す
る。以下、読取対象領域を撮像する際に1画像領域分の
データが画像用メモリ14に記憶される過程を図4のフ
ローチャートを参照して説明する。なお、第1アドレス
発生回路13は、制御回路8の制御信号により指示され
た画像データメモリ14a及び二次元画像メモリ14c
の初期アドレスを予め設定しており、二値化回路9は、
制御回路8の制御信号の指示にしたがって読取対象領域
を撮像した1画像領域を検査区域に分割して、明暗点数
メモリ14bの初期ブロックアドレスを設定しているも
のとする。また説明の簡略化のため、二値化回路9によ
り、予め、検査区域ごとの輝度の最大値及び最小値が求
められ、すべての分割された検査区域において輝度規定
レベルがそれぞれ算出されているものとする。
Next, the operation of the above configuration will be described. Hereinafter, the process of storing data for one image area in the image memory 14 when capturing an image of the reading target area will be described with reference to the flowchart of FIG. Note that the first address generation circuit 13 includes an image data memory 14a and a two-dimensional image memory 14c designated by a control signal of the control circuit 8.
Are set in advance, and the binarization circuit 9
It is assumed that one image area obtained by imaging the area to be read is divided into inspection areas in accordance with an instruction of a control signal from the control circuit 8, and an initial block address of the memory 14b is set. For the sake of simplicity, the binarization circuit 9 previously obtains the maximum value and the minimum value of the luminance for each inspection area, and calculates the specified luminance levels in all the divided inspection areas. And

【0037】定置式情報コード読取装置1においては、
読取対象領域に反射される光が定置式情報コード読取装
置1のCCDエリアセンサ7に入射する(ステップS
1)。
In the stationary information code reader 1,
The light reflected on the area to be read enters the CCD area sensor 7 of the stationary information code reader 1 (Step S).
1).

【0038】定置式情報コード読取装置1のCCDエリ
アセンサ7は、同期パルス発生回路の同期用パルスにし
たがって、入射される光を所定期間毎にアナログ信号に
変換し増幅回路11に出力する。増幅回路11は、制御
回路8より設定されるゲインコントロール電圧に対応す
る増幅率によりアナログ信号を増幅して、A/D変換回
路12に出力する。A/D変換回路12は、制御回路8
からのタイミング信号にしたがって、増幅されたアナロ
グ信号をディジタル信号に変換して画素データとして二
値化回路9及び画像用メモリ14内の画像データメモリ
14aに出力する(ステップS2)。二値化回路9は、
入力された画素データをあらかじめ定められた輝度規定
レベルに基づいて、明点,暗点もしくは不感帯の点に振
り分けて画像用メモリ14内の二次元画像メモリ14c
に出力する(ステップS3)。
The CCD area sensor 7 of the stationary information code reader 1 converts incident light into an analog signal at predetermined intervals and outputs the signal to the amplifier circuit 11 in accordance with the synchronization pulse of the synchronization pulse generation circuit. The amplifier circuit 11 amplifies the analog signal with an amplification factor corresponding to the gain control voltage set by the control circuit 8, and outputs the analog signal to the A / D conversion circuit 12. The A / D conversion circuit 12 includes a control circuit 8
Is converted into a digital signal in accordance with the timing signal from, and is output as pixel data to the binarization circuit 9 and the image data memory 14a in the image memory 14 (step S2). The binarization circuit 9
The input pixel data is sorted into a bright point, a dark point, or a dead zone based on a predetermined luminance specified level, and the two-dimensional image memory 14c in the image memory 14 is allocated.
(Step S3).

【0039】制御回路8は、画像データメモリ14a及
び二次元画像メモリ14cに対してライト(書きこみ)
制御信号を発生し、ステップS3において求められたデ
ータは、画像データメモリ14a及び二次元画像メモリ
14cに対応するアドレスに記憶される(ステップS
4)。二値化回路9は、第1アドレス発生回路13から
送信されるアドレス制御信号に基づいて、送信された画
素データに対応する明暗点数メモリ14bのブロックア
ドレスを指定する(ステップS5)。二値化回路9は、
得られた画素データの明点,暗点と、前回得られた画素
データの明点,暗点とを比較する(ステップS6)。す
なわち、同期パルス発生回路10の同期用パルスに同期
してCCDエリアセンサ7の各受光素子が出力する電気
信号の変化に基づいて、明点,暗点の変化を検出するこ
とになる。このとき、二値化回路9は、それぞれの検査
区域ごとにその変化をカウントし、明暗点数メモリ14
bの指定されたブロックアドレスに検査区域ごとの明暗
点数として記憶する(ステップS7)。その後、制御回
路8は、同期パルス発生回路10に出力したパルス数に
基づいて、1画像領域分のデータが二次元画像メモリ1
4c,画像データメモリ14a及び明暗点数メモリ14
bに記憶されたか否かを判定し(ステップS8)、1画
像領域分のデータが記憶されていないと判定すると(ス
テップS8:No)、制御回路8は、同期パルス発生回
路10により同期用パルスを発生させて(ステップS
9)、CCDエリアセンサ7の次の受光素子から電気信
号を発生させると共に、第1アドレス発生回路13の発
生するアドレスをインクリメントさせる(ステップS1
0)。第1アドレス発生回路13は、このアドレスを二
値化回路9及び画像用メモリ14に対して指定する。そ
して、再度ステップS2から繰り返され、順次1画像領
域分の画素データが二次元画像メモリ14c,画像デー
タメモリ14a及び明暗点数メモリ14bに更新され
る。
The control circuit 8 writes data to the image data memory 14a and the two-dimensional image memory 14c.
A control signal is generated, and the data obtained in step S3 is stored at an address corresponding to the image data memory 14a and the two-dimensional image memory 14c (step S3).
4). The binarizing circuit 9 specifies a block address of the bright / dark point number memory 14b corresponding to the transmitted pixel data based on the address control signal transmitted from the first address generating circuit 13 (Step S5). The binarization circuit 9
The light point and dark point of the obtained pixel data are compared with the light point and dark point of the pixel data obtained last time (step S6). That is, the change of the light point and the dark point is detected based on the change of the electric signal output from each light receiving element of the CCD area sensor 7 in synchronization with the synchronization pulse of the synchronization pulse generation circuit 10. At this time, the binarization circuit 9 counts the change for each inspection area, and stores
The number of bright and dark points for each inspection area is stored in the designated block address b (step S7). Thereafter, the control circuit 8 stores the data for one image area in the two-dimensional image memory 1 based on the number of pulses output to the synchronous pulse generation circuit 10.
4c, image data memory 14a and light / dark point number memory 14
b (step S8), and if it is determined that data for one image area is not stored (step S8: No), the control circuit 8 causes the synchronization pulse generation circuit 10 to output the synchronization pulse. (Step S
9) An electric signal is generated from the next light receiving element of the CCD area sensor 7 and the address generated by the first address generation circuit 13 is incremented (step S1).
0). The first address generation circuit 13 specifies this address to the binarization circuit 9 and the image memory 14. Then, the process is repeated from step S2 again, and the pixel data for one image area is sequentially updated in the two-dimensional image memory 14c, the image data memory 14a, and the bright-dark point number memory 14b.

【0040】制御回路8は、1画像領域分の画素データ
が二次元画像メモリ14c,画像データメモリ14a及
び明暗点数メモリ14bに記憶されたと判定すると(ス
テップS8:Yes)、後述する読取対象領域内の情報
コードの存在推定方法の処理に移行する(ステップS1
1)。
When the control circuit 8 determines that the pixel data for one image area has been stored in the two-dimensional image memory 14c, the image data memory 14a, and the number of bright and dark points memory 14b (step S8: Yes), the control circuit 8 determines whether or not the pixel data is to be read later. Shift to the processing of the information code existence estimating method (step S1).
1).

【0041】このようにして、1画像領域分の画素デー
タが画像データメモリ14aに書き換えられると共に、
画素データを二値化したデータが二次元画像メモリ14
cに書き換えられ、また、1画像領域分の検査区域ごと
の明暗点数が明暗点数メモリ14bに書き換えられる。
In this way, the pixel data for one image area is rewritten to the image data memory 14a,
The binary data of the pixel data is stored in the two-dimensional image memory 14.
c, and the number of bright and dark points for each inspection area for one image area is rewritten to the bright and dark point number memory 14b.

【0042】図2において定置式情報コード読取装置1
の読取対象領域には、絵等が印刷された文献Bが無造作
に開かれている(図2には山形形状で示している。尚、
ハッチングされている部分は全体が黒色で塗られている
ものとする)。図5は、このときの読取対象領域から撮
像された図柄を示している(尚、図5中、ハッチングさ
れている部分は全体が黒色で塗られているものとす
る。)。実際には、640画素×480画素の領域に対
して検査区域に分割を行うが、ここでは、説明をわかり
やすくするため、図5には、二値化回路9が分割する検
査区域構成を簡略化して示している。すなわち、1画像
領域は、例えば7×7個分の矩形状の検査区域に分割さ
れており、1検査区域は、例えば10×10画素として
いる。また、図6は、検査区域に分割した1画像領域中
の(a)明暗点数メモリ14bの内容の例と、その対応
する(b)アドレスとデータとの構造の例を概略的に示
している。
In FIG. 2, a stationary information code reader 1 is shown.
The document B on which a picture or the like is printed is randomly opened in the reading target area (see FIG. 2 in a chevron shape.
The hatched area is assumed to be entirely black.) FIG. 5 shows a pattern imaged from the reading target area at this time (note that the hatched portion in FIG. 5 is entirely painted in black). Actually, an area of 640 pixels × 480 pixels is divided into inspection areas. Here, for the sake of simplicity, FIG. 5 shows a simplified inspection area configuration divided by the binarization circuit 9. Is shown. That is, one image area is divided into, for example, 7 × 7 rectangular inspection areas, and one inspection area has, for example, 10 × 10 pixels. FIG. 6 schematically shows an example of the contents of (a) the number of bright and dark points memory 14b and the corresponding (b) structure of the address and data in one image area divided into inspection areas. .

【0043】次に、制御回路8のROM中に搭載される
プログラムにおける読取対象領域内の情報コードの存在
推定方法の詳細を、図7のフローチャートを参照して説
明する。初期状態において、上述したように、定置式情
報コード読取装置1は、CCDエリアセンサ7,増幅回
路11,A/D変換回路12及び二値化回路9を介し
て、1画像領域分の画素データを画像データメモリ14
a,二次元画像メモリ14cに書き換え、二値化回路9
は撮像した1画像領域分の画素データを複数の検査区域
に分割して、その検査区域領域内の明暗の変化を明暗点
数メモリ14bに記憶させる(ステップT1)。その
後、第1アドレス発生回路13は、制御回路8に対して
1画像領域分のデータが画像用メモリ14上に蓄えられ
た旨の信号を送信する。制御回路8は、1画像領域分の
データが画像用メモリ14に蓄えられた旨の信号を受信
して、第2アドレス発生回路18にアドレス発生開始信
号を送信する。第2アドレス発生回路18は、明暗点数
メモリ14b及び明暗点数格納用メモリ17のアドレス
を指定する。制御回路8は、明暗点数格納用メモリ17
の内容が初期状態であることを認識すると、第2アドレ
ス発生回路18を介して明暗点数メモリ14bの1画像
領域分のデータを明暗点数格納用メモリ17に記憶させ
る(ステップT2)。尚、このとき、初期状態から1画
像領域分の画素データのみしか撮りこんでいないため、
初期状態の明暗点数メモリ14bのデータは全て「0」
となっているため、「0」が明暗点数格納用メモリ17
の全アドレスに転送される。
Next, the details of the method of estimating the presence of the information code in the read target area in the program loaded in the ROM of the control circuit 8 will be described with reference to the flowchart of FIG. In the initial state, as described above, the stationary information code reading device 1 transmits the pixel data for one image area through the CCD area sensor 7, the amplification circuit 11, the A / D conversion circuit 12, and the binarization circuit 9. To the image data memory 14
a, rewriting to the two-dimensional image memory 14c,
Divides the imaged pixel data of one image area into a plurality of inspection areas, and stores the change in lightness and darkness in the inspection area in the light-dark point number memory 14b (step T1). After that, the first address generation circuit 13 transmits a signal to the control circuit 8 indicating that data for one image area has been stored in the image memory 14. The control circuit 8 receives a signal indicating that data for one image area has been stored in the image memory 14, and transmits an address generation start signal to the second address generation circuit 18. The second address generation circuit 18 designates the addresses of the bright / dark point number memory 14b and the bright / dark point number storing memory 17. The control circuit 8 includes a memory 17 for storing the number of light and dark points.
Is recognized as the initial state, the data for one image area of the bright / dark point number memory 14b is stored in the bright / dark point number storing memory 17 via the second address generating circuit 18 (step T2). At this time, since only pixel data for one image area has been captured from the initial state,
All data in the bright / dark point number memory 14b in the initial state are “0”.
"0" is stored in the memory 17 for storing the number of bright and dark points.
Is forwarded to all addresses.

【0044】図8は情報コードPを印刷した紙片が挿入
されたときの状態を示しており、図9は、このときの読
取対象領域において撮像された図柄を示している。
(尚、図8,図9中、ハッチングされている部分は全体
が黒色で塗られているものとする。) 読取対象領域が薄暗い光(100ルクス程度の照度)に
照らされた条件下において、図9のように読取対象領域
に情報コードPの印刷された文献が挿入されて、定置式
情報コード読取装置1は、1画像領域分のデータを再度
CCDエリアセンサ7,増幅回路11,A/D変換回路
12及び二値化回路9を介して読取り、画像データメモ
リ14a,二次元画像メモリ14c及び明暗点数メモリ
14bを書き換える(ステップT3)。図10は、この
ときの1画像領域中の(a)明暗点数メモリ14bの内
容の例と、その対応する(b)アドレスとデータとの構
造の例を概略的に示している。
FIG. 8 shows a state in which a piece of paper on which the information code P has been printed is inserted, and FIG. 9 shows a symbol imaged in the reading target area at this time.
(The hatched portions in FIGS. 8 and 9 are assumed to be entirely painted in black.) Under the condition where the reading target area is illuminated by dim light (illuminance of about 100 lux), As shown in FIG. 9, a document on which an information code P is printed is inserted into a reading target area, and the stationary information code reading apparatus 1 rereads the data for one image area into the CCD area sensor 7, the amplification circuit 11, the A / A The image data is read via the D conversion circuit 12 and the binarization circuit 9, and the image data memory 14a, the two-dimensional image memory 14c, and the bright / dark point number memory 14b are rewritten (step T3). FIG. 10 schematically shows (a) an example of the contents of the bright / dark point number memory 14b in one image area at this time and (b) an example of the corresponding address and data structure.

【0045】すなわち、読取対象領域で撮像される元の
図柄(図5)に対応するデータ(図6)は、明暗点数格
納用メモリ17に記憶され、また、情報コードが印刷さ
れた文献が挿入された後の図柄(図9)に対応するデー
タ(図10)は、明暗点数メモリ14bに格納される。
尚、明暗点数は、読取対象領域を1画素ごとの走査時
に、白(明点)から黒(暗点),もしくは黒から白に変
化する場合にカウントされるため、元の図柄(図5)に
おいて、白と黒との境界線の部分のみ二値化回路9によ
りカウントされて検査区域ごとに明暗点数メモリ14b
及び明暗点数格納用メモリ17に記憶される。尚、実際
には、検査区域を走査する走査線の数に対応してカウン
トされることになるが、説明の簡略化のため適宜数値を
示している。(また説明を付け加えると、このとき二次
元画像メモリ14c内に記憶された明点,暗点のデータ
は、読取対象領域が100ルクス程度の照度において撮
像された画素データにもとづいて明点,暗点が決定され
ているので、明度及びコントラストが低く、たとえ制御
回路8が通常の解読処理を行ったとしても正しく情報コ
ードを解読することは困難となる。) 第1アドレス発生回路13は、同様に、1画像領域分の
データが画像用メモリ14上に記憶された旨の信号を制
御回路8に送信する。制御回路8は、1画像領域分のデ
ータが画像用メモリ14上に記憶された旨の信号を受信
して、第2アドレス発生回路18にアドレス発生開始信
号を送信する。第2アドレス発生回路18は、画像用メ
モリ14の明暗点数メモリ14b及び明暗点数格納用メ
モリ17に対して、分割された検査区域に対応するそれ
ぞれのアドレスを指定する(ステップT4)。
That is, the data (FIG. 6) corresponding to the original pattern (FIG. 5) imaged in the reading target area is stored in the memory 17 for storing the number of light and dark points, and a document on which the information code is printed is inserted. The data (FIG. 10) corresponding to the symbol (FIG. 9) after the execution is stored in the light / dark point number memory 14b.
Note that the number of bright and dark points is counted when the read target area changes from white (bright point) to black (dark point) or from black to white when scanning the pixel by pixel, so the original symbol (FIG. 5) , Only the portion of the boundary between white and black is counted by the binarization circuit 9 and the number of bright and dark point memories 14b is stored for each inspection area.
And stored in the memory 17 for storing the number of light and dark points. Incidentally, actually, the counting is performed in correspondence with the number of scanning lines for scanning the inspection area, but numerical values are appropriately shown for simplification of description. (Additionally, at this time, the data of the bright point and the dark point stored in the two-dimensional image memory 14c at this time are based on the pixel data of the area to be read at an illuminance of about 100 lux. Since the points are determined, the brightness and the contrast are low, and it is difficult to correctly decode the information code even if the control circuit 8 performs a normal decoding process.) The first address generation circuit 13 is also the same. Then, a signal to the effect that data for one image area has been stored in the image memory 14 is transmitted to the control circuit 8. The control circuit 8 receives a signal indicating that data for one image area has been stored in the image memory 14 and transmits an address generation start signal to the second address generation circuit 18. The second address generation circuit 18 designates each address corresponding to the divided inspection area in the memory 14b for the number of bright and dark points and the memory 17 for storing the number of bright and dark points of the image memory 14 (step T4).

【0046】制御回路8は、明暗点数メモリ14bの内
容から明暗点数格納用メモリ17の内容を各検査区域ご
とに減算比較し(ステップT5)、ワークメモリに結果
を記憶する。制御回路8は、1画像領域分の検査区域の
データの比較が終了したか否かを判定し(ステップT
6)、終了していなければ(ステップT6:No)、制
御回路8は、アドレスをインクリメントして(ステップ
T7)、第2アドレス発生回路18に対してそのアドレ
スを指定する。そして、再度ステップT4において、第
2アドレス発生回路18が明暗点数メモリ14b及び明
暗点数格納用メモリ17にそれぞれのアドレスを指定し
て、ステップT4〜ステップT7を繰り返し、ステップ
T6において1画像領域分の検査区域のデータの比較が
終了したと判定されるまで繰り返す。尚、これらの減算
データは、図11(a)(b)に示すように記憶され
る。これにより、連続する2画像領域分における検査区
域ごとに明暗点数の比較が行われる。
The control circuit 8 subtracts the content of the memory 17 for storing the number of bright and dark points from the content of the bright and dark point memory 14b for each inspection area (step T5), and stores the result in the work memory. The control circuit 8 determines whether the comparison of the data of the inspection area for one image area has been completed (step T).
6) If not completed (step T6: No), the control circuit 8 increments the address (step T7) and specifies the address to the second address generation circuit 18. Then, in step T4, the second address generation circuit 18 designates the respective addresses in the bright / dark point number memory 14b and the bright / dark point number storage memory 17, and repeats steps T4 to T7. Repeat until it is determined that the comparison of the data in the inspection area is completed. These subtraction data are stored as shown in FIGS. 11 (a) and 11 (b). As a result, the number of bright and dark points is compared for each inspection area in two consecutive image areas.

【0047】ステップT6において1画像領域分の検査
区域のデータの比較が終了した後(ステップT6:Ye
s)、制御回路8は、検査区域ごとに明暗点数を減算し
た結果がある所定の判定点数を上回った検査区域の数が
全体の何%存在するかを計算する(ステップT8)。例
えば、図11において、制御回路8は、例えば4以上の
値を示すデータがワークメモリ中に、全体の検査区域数
(49個)に対して何%存在するかを計算して、7/4
9=約14.3%という旨を導き出す。
After the comparison of the data of the inspection area for one image area is completed in step T6 (step T6: Ye
s) The control circuit 8 calculates what percentage of the total number of inspection areas exceeds a predetermined judgment point as a result of subtracting the number of light and dark points for each inspection area (step T8). For example, in FIG. 11, the control circuit 8 calculates what percentage of data indicating a value of, for example, 4 or more exists in the work memory with respect to the total number of inspection areas (49), and calculates 7/4.
9 = about 14.3%.

【0048】その後、制御回路8は、明暗点数の減算結
果が判定点数を上回っている検査区域の割合を求め、そ
の値が判定区域数を上回っているか否かを判定する(ス
テップT9)。例えば図11において、制御回路8は、
例えば判定区域数が10%であった場合に、10%<1
4.3%であるため、上回っていると判定する。なお、
このとき、10%という数値は、スイッチ群15を介し
てユーザにより指定される。制御回路8は、上述した条
件を満たす検査区域の割合が判定区域数を上回っていた
場合(ステップT9:Yes)、その画像領域内に情報
コードPの存在確率が高い旨を推定する。そして、制御
回路8は、後述する解読処理により情報コードの解読を
行う(ステップT10)。ステップT9において判定区
域数を上回っていなければ、情報コードが存在していな
いと推定して、ステップT2に戻り、明暗点数メモリ1
4bの内容を明暗点数格納用メモリ17に記憶させ、再
び1画像領域分の撮像を行い、同様にステップT10に
おいて解読処理が行われるまでステップT2からステッ
プT9を繰り返す。
After that, the control circuit 8 calculates the ratio of the inspection area where the result of subtraction of the number of light and dark points exceeds the number of judgment points, and judges whether or not the value exceeds the number of judgment areas (step T9). For example, in FIG. 11, the control circuit 8
For example, if the number of determination areas is 10%, 10% <1
Since it is 4.3%, it is determined that it exceeds. In addition,
At this time, the numerical value of 10% is specified by the user via the switch group 15. When the ratio of the inspection areas satisfying the above-mentioned condition exceeds the number of the determination areas (step T9: Yes), the control circuit 8 estimates that the existence probability of the information code P is high in the image area. Then, the control circuit 8 decodes the information code by a decoding process described later (step T10). If the number does not exceed the number of determination zones in step T9, it is estimated that the information code does not exist, and the process returns to step T2, where the bright-dark point number memory 1
The content of 4b is stored in the memory 17 for storing the number of light and dark points, an image of one image area is taken again, and steps T2 to T9 are similarly repeated until the decoding process is performed in step T10.

【0049】以下、解読処理を図12に示すフローチャ
ートを参照して説明する。制御回路8は、解読処理時に
は、LED6に対して照明を読取対象領域に照射させる
(ステップU1)。読取対象領域の照度が100ルクス
程度から700〜800ルクス程度となり、そのタイミ
ングで制御回路8は、CCDエリアセンサ7を介して、
上述と同様に読取対象領域の画素データを画像データメ
モリ14aに記憶させる(ステップU2)。二値化回路
9は、読取対象領域の明度及びコントラストの強調され
た画素データを、明点もしくは暗点に振り分け二次元画
像メモリ14cに出力して、二次元画像メモリ14c
は、その内容を第1アドレス発生回路13の指定するア
ドレスに記憶する(ステップU3)。
The decoding process will be described below with reference to the flowchart shown in FIG. The control circuit 8 causes the LED 6 to illuminate the reading target area during the decoding process (step U1). The illuminance of the reading target area changes from about 100 lux to about 700 to 800 lux, and at that timing, the control circuit 8
As described above, the pixel data of the read target area is stored in the image data memory 14a (step U2). The binarizing circuit 9 sorts the pixel data in which the brightness and contrast of the reading target area are emphasized into bright points or dark points, and outputs the bright points or dark points to the two-dimensional image memory 14c.
Stores the contents in the address specified by the first address generation circuit 13 (step U3).

【0050】制御回路8は、二値化された二次元画像メ
モリ14cの内容を参照して通常(従来)の解読を行う
(ステップU4)。このようにして、制御回路8は、明
度及びコントラストの強調された画素データに基づいて
解読処理を行うことができる。尚、解読処理されたデー
タを認識してその認識信号を必要に応じて通信インター
フェース回路4を介して外部に出力することも可能であ
る。
The control circuit 8 performs normal (conventional) decoding with reference to the contents of the binarized two-dimensional image memory 14c (step U4). In this manner, the control circuit 8 can perform the decoding process based on the pixel data in which the brightness and the contrast are enhanced. It is also possible to recognize the decrypted data and output the recognition signal to the outside via the communication interface circuit 4 as needed.

【0051】また、図柄など大きな面積を持ち明暗が不
明確なものが読取対象領域に挿入された場合には、明暗
点数格納用メモリ17及び明暗点数メモリ14bに記憶
された連続する2画像領域における検査区域ごとの明暗
点数の違いは少なくなる。したがって、明暗点数の判定
区域数が予め調整されていれば、情報コードの読取対象
領域における存在を推定する時点で、図柄などの明暗が
不明確なものが読取対象領域に挿入されても、解読処理
に移行する確率は低くなる。
When a large area, such as a symbol, having a large area and unclear light and dark is inserted into the reading target area, the two consecutive image areas stored in the memory 17 for storing the number of bright and dark points and the memory 14b for bright and dark points are used. The difference in the number of light and dark points for each inspection area is reduced. Therefore, if the number of areas for determining the number of light and dark points is adjusted in advance, even if a symbol such as a symbol whose brightness is indistinct is inserted into the read target area at the time of estimating the presence of the information code in the read target area, the decoding is not performed. The probability of transition to processing is reduced.

【0052】このとき、判定区域数を下げると、情報コ
ードが読取対象領域中に存在すると推定して解読処理に
移行する割合が多くなり感度が上昇するが、感度を上昇
させると誤検出の原因となるため、周囲光の照度との関
係から判定区域数を微調整する必要がある。そこで、フ
ァンクションキー等が備えられたスイッチ群15により
判定区域数を調整する。これにより、感度を調整するこ
とができ、不必要にデコード用照明を点灯させて解読処
理に移行する必要をなくすように調整することができ
る。
At this time, if the number of determination zones is reduced, the ratio of shifting to the decoding process by estimating that the information code is present in the reading target area increases and the sensitivity increases. Therefore, it is necessary to finely adjust the number of determination areas based on the relationship with the illuminance of ambient light. Therefore, the number of determination zones is adjusted by the switch group 15 provided with function keys and the like. As a result, the sensitivity can be adjusted, and the adjustment can be made so that it is unnecessary to turn on the decoding illumination unnecessarily and shift to the decoding process.

【0053】このような実施の形態によれば、画像用メ
モリ14の明暗点数メモリ14bは、1画像領域分の画
像の隣接した画素の明暗の変化を記憶して、明暗点数格
納用メモリ17には、1画像領域分の明暗点数メモリ1
4bに記憶された前回の内容が蓄えられる。制御回路8
は、連続した2画像領域の検査区域のそれぞれの明暗点
数を比較するため、明暗点数の時間的変化を検出して、
所定の判定区域数を上回った場合に、情報コードPの存
在を推定してからLED6を点灯して通常の解読処理を
行うことができる。
According to such an embodiment, the light / dark point number memory 14b of the image memory 14 stores the change in lightness / darkness of the adjacent pixels of the image for one image area, and stores it in the light / dark point number storage memory 17. Is the number of bright and dark points memory 1 for one image area
The previous content stored in 4b is stored. Control circuit 8
Detects the temporal change in the number of light and dark points in order to compare the number of light and dark points in the inspection area of two consecutive image areas,
When the number exceeds the predetermined number of determination zones, the presence of the information code P is estimated, and then the LED 6 is turned on to perform a normal decoding process.

【0054】すなわち、定置式情報コード読取装置1
は、周囲照度の低い(100ルクス程度)の場所に設置
された場合において、明度及びコントラストの低い画像
しか得ることができなくても、明暗点数の検査区域間の
移動を検出することができる。明暗点数の検査区域間の
移動を検出すると、内蔵したLED6により赤色光を読
取対象領域に照射して、実際の解読処理を行うことによ
り、明度及びコントラストが明確となった画素データを
得ることができ、通常(従来)の解読処理を行うことが
できる。これにより、読取り動作用スイッチや物体検出
用センサを別途設ける必要がなく、読取対象領域が薄暗
くなっていたとしても、LEDを点灯する必要なく、使
用者の手を煩わすことなく自動的に情報コードの存在を
高い確率で推定した後、LED6を点灯して解読するこ
とができる。
That is, the stationary information code reader 1
When installed in a place with low ambient illuminance (about 100 lux), it is possible to detect the movement of the number of bright and dark points between inspection areas even if only an image with low brightness and low contrast can be obtained. When the movement of the number of light and dark points between the inspection areas is detected, the built-in LED 6 irradiates red light to the reading target area and performs actual decoding processing to obtain pixel data with clear brightness and contrast. And normal (conventional) decryption processing can be performed. As a result, there is no need to separately provide a reading operation switch or an object detection sensor, and even if the reading target area is dim, the LED does not need to be turned on and the information code is automatically output without bothering the user. Can be decoded by lighting the LED 6 after estimating the existence of.

【0055】LED6を常時点灯もしくは点滅させる必
要がないため、消費電力を低減させることができ、LE
D6の劣化周期を長くして交換周期を長くすることがで
きる。
Since there is no need to constantly light or blink the LED 6, power consumption can be reduced, and
The replacement cycle can be lengthened by lengthening the deterioration cycle of D6.

【0056】また、スイッチ群15が操作されることに
より、判定区域数を調整することができるので、感度を
変化させることができ、不必要に解読処理に移行する必
要をなくすようにできると共に、LED6を点灯させる
事が少なくなるため、さらに消費電力を低減させること
ができLED6の交換周期を長くすることができる。
By operating the switch group 15, the number of determination zones can be adjusted, so that the sensitivity can be changed and it is not necessary to shift to the decoding process unnecessarily. Since the lighting of the LED 6 is reduced, the power consumption can be further reduced, and the replacement cycle of the LED 6 can be lengthened.

【0057】(第2の実施の形態)第2の実施の形態に
おいて、第1の実施の形態と異なるところは、明暗点数
メモリ14bに格納する明暗点数のカウント方法と、読
取対象領域内の情報コードの存在推定方法である。この
方法を以下に図13及び図14に示すフローチャートを
参照して説明する。尚、異なる部分に付いてはそのステ
ップ番号に添え字aを付して表わした。図13は、第2
の実施の形態における読取対象領域を撮像する際に1画
像領域分のデータが画像用メモリ14に記憶される過程
を示すフローチャートである。 第1の実施の形態と異
なるところはステップS7aである。ステップS6にお
いて、二値化回路9は、得られた画素データの明点,暗
点と、前回得られた画素データの明点,暗点とを比較し
た後、全検査区域内でその変化をカウントして明暗点数
メモリに記憶する(ステップS7a)。すなわち、1画
像領域全体の明暗の変化をカウントすることになる。
(Second Embodiment) The second embodiment is different from the first embodiment in that the method of counting the number of bright and dark points stored in the bright and dark point memory 14b and the information in the read target area This is a method for estimating the existence of a code. This method will be described below with reference to the flowcharts shown in FIGS. The different parts are indicated by adding a suffix a to the step numbers. FIG.
11 is a flowchart illustrating a process of storing data for one image area in the image memory 14 when capturing an image of a reading target area according to the embodiment. The difference from the first embodiment is step S7a. In step S6, the binarization circuit 9 compares the light point and dark point of the obtained pixel data with the light point and dark point of the pixel data obtained last time, and determines the change in all the inspection areas. It counts and stores it in the bright-dark point memory (step S7a). That is, the change in the brightness of one entire image area is counted.

【0058】また、図14は、第2の実施の形態におけ
る読取対象領域内の情報コードの存在推定方法を示すフ
ローチャートである。第1の実施の形態と異なるところ
は、ステップT4a,ステップT5a及びステップT9
aであり、また、ステップT6,ステップT7及びステ
ップT8が削除される点にある。
FIG. 14 is a flowchart showing a method for estimating the presence of an information code in a read target area according to the second embodiment. The difference from the first embodiment is that steps T4a, T5a and T9
a, and steps T6, T7 and T8 are deleted.

【0059】すなわち、画像データメモリ14a,二次
元画像メモリ14c及び明暗点数メモリ14bが書き換
えられると(ステップT3)、第2アドレス発生回路
は、全検査区域内の変化のカウント値が記憶された明暗
点数メモリ及び明暗点数格納用メモリのアドレスを指定
する(ステップT4a)。制御回路8は、指定された明
暗点数メモリのデータから明暗点数格納用メモリのデー
タを減算して比較する(ステップT5a)。制御回路8
は、この結果が判定点数を上回っていれば、解読処理に
移行して(ステップT10)、判定点数を上回っていな
ければステップT2に戻りステップT2〜ステップT5
aを繰り返すことになる。
That is, when the image data memory 14a, the two-dimensional image memory 14c, and the number of bright / dark points memory 14b are rewritten (step T3), the second address generating circuit causes the bright / dark area in which the count value of the change in the entire inspection area is stored. The addresses of the point memory and the memory for storing the number of light and dark points are designated (step T4a). The control circuit 8 subtracts the data of the memory for storing the number of light and dark points from the data of the specified memory of the number of light and dark points and makes a comparison (step T5a). Control circuit 8
If the result is higher than the determination score, the process proceeds to the decoding process (step T10). If the result is not higher than the determination score, the process returns to step T2 and returns to step T2 to step T5.
a will be repeated.

【0060】これにより、第1の実施の形態において各
検査区域ごとに減算比較するルーチンが削除され、第1
の実施の形態と同様の作用効果が得られると共に処理を
簡略化して、すばやく結果を得ることができる。
As a result, the routine for subtraction and comparison for each inspection area in the first embodiment is deleted, and
The same operation and effect as those of the embodiment can be obtained, and the processing can be simplified to quickly obtain the result.

【0061】尚、当然、検査区域に分割する必要もなく
なるが、この場合、二値化回路9における検査区域の分
割処理を省くことができると共に、ステップS5におい
てブロックアドレスを指定する必要もなくなるため処理
を簡略化して、さらにすばやく結果を得ることができ
る。
It is needless to say that there is no need to divide the inspection area into inspection areas. In this case, however, the processing for dividing the inspection area in the binarizing circuit 9 can be omitted, and it is not necessary to specify a block address in step S5. Processing can be simplified and results can be obtained more quickly.

【0062】(第3の実施の形態)図15は、本発明の
第3の実施の形態を示すもので、第1及び第2の実施の
形態と異なるところは、情報コードPを解読する際の読
取対象領域となる部分である。尚、上述した実施の形態
と同様の部分については、同一の符号を用いてその説明
を省略する。なお、定置式情報コード読取装置20は、
定置式情報コード読取装置1と外観構成が異なるが、定
置式情報コード読取装置20の電気的構成は、定置式情
報コード読取装置1と同様である。
(Third Embodiment) FIG. 15 shows a third embodiment of the present invention. What is different from the first and second embodiments is that the information code P is decoded. Is the portion to be read. The same parts as those in the above-described embodiment are denoted by the same reference numerals, and description thereof is omitted. In addition, the stationary information code reader 20 is
Although the external configuration is different from the stationary information code reader 1, the electrical configuration of the stationary information code reader 20 is the same as that of the stationary information code reader 1.

【0063】定置式情報コード読取装置20の読取対象
領域に設置される画像表示装置21は、画像信号を伝送
可能なケーブル22に接続されており、ケーブル22の
他端は、情報コード画像を伝送可能な図示しないコンピ
ュータあるいは撮像装置に接続されている。また、画像
表示装置21の情報コードの表示面21aが定置式情報
コード読取装置20の読取対象領域に含まれるように定
置式情報コード読取装置20が設置されている。
An image display device 21 installed in an area to be read by the stationary information code reading device 20 is connected to a cable 22 capable of transmitting an image signal, and the other end of the cable 22 transmits an information code image. It is connected to a possible computer or imaging device (not shown). The stationary information code reading device 20 is installed so that the display surface 21 a of the information code of the image display device 21 is included in the reading target area of the stationary information code reading device 20.

【0064】このとき、図示しないコンピュータにより
ケーブル22を介して画像信号が伝送されると、画像表
示装置21は情報コードPを表示する。画像表示装置2
1は、情報コードPが表示されていない状態から、情報
コードPが表示される状態に遷移することになる。この
とき、情報コードPは、定置式情報コード読取装置20
の読取対象領域に含まれているため、上述の動作により
第1の実施の形態で説明した作用により情報コードPの
存在確率が高いことを推定した後解読することができ
る。これにより、第1及び第2の実施の形態と同等の効
果が得られる。
At this time, when an image signal is transmitted by a computer (not shown) via the cable 22, the image display device 21 displays the information code P. Image display device 2
1 is a transition from a state where the information code P is not displayed to a state where the information code P is displayed. At this time, the information code P is stored in the stationary information code reader 20.
, The information code P can be decoded after estimating that the existence probability of the information code P is high by the operation described in the first embodiment. As a result, effects equivalent to those of the first and second embodiments can be obtained.

【0065】(第4の実施の形態)また、図16は、本
発明の第4の実施の形態を示すもので、上述した実施の
形態と同様の部分については、同一の符号を用いてその
説明を省略する。なお、定置式情報コード読取装置30
は、定置式情報コード読取装置1と外観構成が異なる
が、定置式情報コード読取装置30の電気的構成は、定
置式情報コード読取装置1と同様である。定置式情報コ
ード読取装置30は、店舗などにおいてスタンド31に
アーム32を介して設置されている。定置式情報コード
読取装置30は、通信インターフェース回路4から画像
信号を伝送可能なケーブル33を介して外部の図示しな
いコンピュータに接続されている。缶34に印刷された
情報コードが定置式情報コード読取装置30の読取対象
領域内に挿入されると、上述と同様の作用から、情報コ
ードの存在確率が高いことを推定した後解読することが
できる。これにより、第1及び第2の実施の形態と同等
の効果が得られる。
(Fourth Embodiment) FIG. 16 shows a fourth embodiment of the present invention. The same parts as those in the above-described embodiment are denoted by the same reference numerals. Description is omitted. The stationary information code reader 30
Although the external configuration is different from that of the stationary information code reader 1, the electrical configuration of the stationary information code reader 30 is the same as that of the stationary information code reader 1. The stationary information code reader 30 is installed on a stand 31 via an arm 32 in a store or the like. The stationary information code reader 30 is connected to an external computer (not shown) via a cable 33 capable of transmitting image signals from the communication interface circuit 4. When the information code printed on the can 34 is inserted into the reading target area of the stationary information code reading device 30, from the same operation as described above, it can be deduced after estimating that the existence probability of the information code is high. it can. As a result, effects equivalent to those of the first and second embodiments can be obtained.

【0066】(第5の実施の形態)図18ないし図20
は、本発明の第5の実施の形態を示すもので、第1の実
施の形態と異なるところは明暗点数格納用メモリ17に
代えて、二次元画像格納用メモリ40を設けて、二次元
画像メモリ14cの内容を格納し、さらに処理内容を変
更し、定置式情報コード読取装置1に適用したところに
ある。第1の実施の形態と同様のところについては同一
符号を付してその説明を省略し、以下異なる部分につい
てのみ説明する。
(Fifth Embodiment) FIGS. 18 to 20
Shows a fifth embodiment of the present invention. The difference from the first embodiment is that a two-dimensional image storage memory 40 is provided in place of the bright-dark point number storage memory 17 to provide a two-dimensional image storage. The contents of the memory 14c are stored, the processing contents are further changed, and the processing is applied to the stationary information code reader 1. The same parts as those in the first embodiment are denoted by the same reference numerals, and description thereof will be omitted. Only different parts will be described below.

【0067】判定手段として機能する二値化回路9は、
CCDエリアセンサ7が撮像した画像の各画素データを
入力すると、明点,暗点もしくは不感帯内の点として判
定し二次元画像メモリ14cに出力する。記憶手段とし
ての二次元画像メモリ14cは、第1アドレス発生回路
13により指定された画素毎のアドレスに画素明暗点と
して記憶するように構成されている。二値化回路9は、
1画像領域を複数の領域からなる検査区域に分割するよ
うになっている。
The binarizing circuit 9 functioning as a judging means includes:
When each pixel data of the image picked up by the CCD area sensor 7 is input, it is determined as a bright point, a dark point or a point in a dead zone and output to the two-dimensional image memory 14c. The two-dimensional image memory 14c as a storage unit is configured to store as a pixel light and dark point at an address for each pixel specified by the first address generation circuit 13. The binarization circuit 9
One image area is divided into an inspection area composed of a plurality of areas.

【0068】二次元画像メモリ14cには、記憶手段と
しての二次元画像格納用メモリ40が接続されており、
少なくとも二次元画像メモリ14c以上の記憶領域を有
している。この二次元画像メモリ14cは、二次元画像
メモリ14cに記憶されたデータを内部に転送可能に構
成されている。第2アドレス発生回路18は、制御回路
8に接続されており、制御回路8からの制御信号に基づ
いて二次元画像メモリ14cのアドレス及び二次元画像
格納用メモリ40のアドレスとを対応して指定可能に構
成されている。その他の構成については、第1の実施の
形態と略同様のため、その説明を省略する。
The two-dimensional image memory 14c is connected to a two-dimensional image storage memory 40 as storage means.
It has a storage area of at least the two-dimensional image memory 14c. The two-dimensional image memory 14c is configured so that data stored in the two-dimensional image memory 14c can be transferred inside. The second address generation circuit 18 is connected to the control circuit 8, and specifies the address of the two-dimensional image memory 14c and the address of the two-dimensional image storage memory 40 in correspondence with the control signal from the control circuit 8. It is configured to be possible. The other configuration is substantially the same as that of the first embodiment, and thus the description thereof is omitted.

【0069】上記構成の作用について図19及び図20
をも参照しながら説明する。図2に示すように定置式情
報コード読取装置1の読取対象領域には、絵等が印刷さ
れた文献Bが存在するものとする。図19は、全体の動
作を示すフローチャートである。
FIGS. 19 and 20 show the operation of the above configuration.
This will be described with reference to FIG. As shown in FIG. 2, it is assumed that a document B on which a picture or the like is printed exists in a reading target area of the stationary information code reading device 1. FIG. 19 is a flowchart showing the entire operation.

【0070】定置式情報コード読取装置1において電源
投入されると、初期化処理を行う(ステップV1)。こ
の場合、第2アドレス発生回路18は、制御回路8の制
御信号に基づいて、二次元画像メモリ14cと二次元画
像格納用メモリ40のそれぞれのアドレスを指定し、制
御回路8は、二次元画像メモリ14cから二次元画像格
納用メモリ40に対して1画像領域分のデータを転送す
る。したがって、図5に示される画像に相当する1画像
領域分の二次元画像メモリ14cに記憶されるデータが
二次元画像格納用メモリ40に対して画素毎に対応して
同一座標に転送されることになる。
When the stationary information code reader 1 is powered on, an initialization process is performed (step V1). In this case, the second address generation circuit 18 specifies the respective addresses of the two-dimensional image memory 14c and the two-dimensional image storage memory 40 based on the control signal of the control circuit 8, and the control circuit 8 The data for one image area is transferred from the memory 14c to the two-dimensional image storage memory 40. Therefore, data stored in the two-dimensional image memory 14c for one image area corresponding to the image shown in FIG. 5 is transferred to the two-dimensional image storage memory 40 at the same coordinates corresponding to each pixel. become.

【0071】そして、画像取得及び二値化処理が行われ
る(ステップV2)。図20は、画像取得及び二値化処
理を示すフローチャートである。読取対象領域に反射さ
れる光がCCDエリアセンサ7に入射すると、この光信
号は、増幅回路11及びA/D変換回路12を介して二
値化回路9および画像用メモリ14内の画像データメモ
リ14aに出力される(ステップW1,W2)。 二値
化回路9は、画素データを明点,暗点,不感帯の点の何
れかの点として二次元画像メモリ14cに出力する(ス
テップW3)。
Then, image acquisition and binarization processing are performed (step V2). FIG. 20 is a flowchart showing the image acquisition and binarization processing. When the light reflected on the reading target area enters the CCD area sensor 7, the light signal is transmitted to the binarizing circuit 9 and the image data memory in the image memory 14 via the amplifier circuit 11 and the A / D converter circuit 12. 14a (steps W1 and W2). The binarization circuit 9 outputs the pixel data to the two-dimensional image memory 14c as any one of a bright point, a dark point, and a dead zone (step W3).

【0072】制御回路8は、ステップW2及びW3にお
いて得られたデータをそれぞれ画像データメモリ14a
及び二次元画像メモリ14cに記憶させる(ステップW
4)。
The control circuit 8 stores the data obtained in steps W2 and W3 in the image data memory 14a, respectively.
And stored in the two-dimensional image memory 14c (step W
4).

【0073】その後、制御回路8は、同期用パルス発生
回路10によって同期用パルスを発生させ、1画像領域
分のデータが二次元画像メモリ14c,画像データメモ
リ14a及び明暗点数メモリ14bに記憶されたか否か
を判定し(ステップW5)、記憶されていなければ、制
御回路8は、同期パルス発生回路10によって再度同期
用パルスを発生させる(ステップW6)。そして、制御
回路8は、第1アドレス発生回路13の発生するアドレ
スをインクリメントさせ(ステップW7)、1画像領域
分のデータが記憶される(ステップW5:Yes)ま
で、ステップW2〜W7の処理を繰り返す。制御回路8
は、ステップW5において、1画像領域分のデータが記
憶されたことを確認すると、画像取得及び二値化処理を
終了する。この場合、図8に示すように、読取対象領域
に情報コードPの印刷された紙片が挿入されたとする
と、図9に示される画像に相当する1画像領域分のデー
タが画像用メモリ14(画像データメモリ14a,明暗
点数メモリ14b,二次元画像メモリ14c)に記憶さ
れる。
Thereafter, the control circuit 8 generates a synchronizing pulse by the synchronizing pulse generation circuit 10, and determines whether data for one image area has been stored in the two-dimensional image memory 14c, the image data memory 14a and the number of bright and dark points memory 14b. It is determined (step W5) whether it is not stored, and if it is not stored, the control circuit 8 causes the synchronization pulse generation circuit 10 to generate a synchronization pulse again (step W6). Then, the control circuit 8 increments the address generated by the first address generation circuit 13 (step W7), and performs the processing of steps W2 to W7 until data for one image area is stored (step W5: Yes). repeat. Control circuit 8
When it is confirmed in step W5 that data for one image area has been stored, the image acquisition and binarization processing ends. In this case, as shown in FIG. 8, if a piece of paper on which the information code P is printed is inserted into the read target area, data for one image area corresponding to the image shown in FIG. The data is stored in the data memory 14a, the number of bright and dark points memory 14b, and the two-dimensional image memory 14c).

【0074】図19に戻って、第2アドレス発生回路1
8により、二次元画像メモリ14cと二次元画像格納用
メモリ40のそれぞれの同一座標のアドレスが指定され
る(ステップV3)。この場合、前回画像と今回画像の
同一画素に対応するアドレスが指定されることになる。
制御回路8は、この対応したアドレスに記憶された値を
参照し、明点から暗点、もしくは、暗点から明点に変化
したか否かを画素毎に判定し比較する(ステップV
4)。
Referring back to FIG. 19, the second address generation circuit 1
8, the addresses of the same coordinates in the two-dimensional image memory 14c and the two-dimensional image storage memory 40 are designated (step V3). In this case, an address corresponding to the same pixel in the previous image and the current image is specified.
The control circuit 8 refers to the value stored at the corresponding address, determines whether or not a bright point has changed to a dark point or a dark point to a bright point for each pixel and compares them (step V).
4).

【0075】制御回路8は、比較した結果、画素明暗点
の判定結果に変化が生じている画素であると判定した場
合には(ステップV4:Yes)、複数の検査区域に対
応して設けられる検査区域用変化数カウンタを加算し計
数する(ステップV5)。尚、この複数の検査区域の情
報はあらかじめ二値化回路9から送信されるものであ
る。
If the control circuit 8 determines that the pixel has a change in the determination result of the pixel bright / dark point as a result of the comparison (step V4: Yes), the control circuit 8 is provided corresponding to the plurality of inspection areas. The change number counter for the inspection area is added and counted (step V5). The information on the plurality of inspection areas is transmitted from the binarization circuit 9 in advance.

【0076】ステップV4において、制御回路8が比較
した結果、判定結果に変化が生じている画素でないと判
定した場合には(ステップV4:No)、ステップV5
の処理を行わず、ステップV6に移行する。
If the control circuit 8 determines in step V4 that the pixel is not a pixel having a change in the determination result (step V4: No), the process proceeds to step V5.
Then, the process shifts to step V6.

【0077】ここで、制御回路8は、第2アドレス発生
回路18に対する制御信号に基づいて、1検査区域分の
データ比較が終了したか否かを判定し(ステップV
6)、1検査区域分のデータ比較が終了していなけれ
ば、第2アドレス発生回路18が発生するアドレスを変
更し(ステップV7)、前回参照した検査区域と同一の
検査区域における他の画素データを参照する。そして、
ステップV3〜V7を繰り返し、ステップV6におい
て、1検査区域分のデータ比較が終了すれば(ステップ
V6:Yes)、制御回路8は、前回画像と今回画像と
で変化した画素の数が、判定点数を超えるか否かを判定
する。尚、この判定点数は、あらかじめ設定されるもの
で、検査区域毎に別々の値に設定されていてもよいし、
全検査区域で同じ値に設定されていても良い。
Here, the control circuit 8 determines whether or not the data comparison for one inspection area has been completed based on the control signal for the second address generation circuit 18 (step V).
6) If the data comparison for one inspection area has not been completed, the address generated by the second address generation circuit 18 is changed (step V7), and the other pixel data in the same inspection area as the previously referenced inspection area is changed. See And
Steps V3 to V7 are repeated, and if the data comparison for one inspection area is completed in step V6 (step V6: Yes), the control circuit 8 determines that the number of pixels that have changed between the previous image and the current image is Is determined. Note that this judgment point is set in advance, and may be set to a different value for each inspection area,
The same value may be set in all inspection areas.

【0078】そして、制御回路8は、これまで判定され
た検査区域の中で、判定点数を超えた検査区域が何区域
あるかを計数する(ステップV8)。そして、計数され
た検査区域数が所定の判定区域数を超えるか否かを判定
する(ステップV9)。
Then, the control circuit 8 counts the number of inspection areas which have exceeded the number of determination points among the inspection areas determined so far (step V8). Then, it is determined whether or not the counted number of inspection areas exceeds a predetermined number of determination areas (step V9).

【0079】例えば検査された検査区域の数が判定区域
数にも達しておらず少ない場合には、ステップV9にお
いてNoと判定される。また、検査した検査区域数が多
くても、検査区域内で変化した画素の数が少なく、判定
点数を超える対象の検査区域が少ない場合にもステップ
V9においてNoと判定される。
For example, if the number of inspected inspection areas does not reach the number of determination areas and is small, it is determined No in step V9. In addition, even if the number of inspected inspection areas is large, if the number of pixels changed in the inspection area is small and the number of target inspection areas exceeding the number of judgment points is small, No is determined in step V9.

【0080】この場合、制御回路8は、1画像領域分の
データ比較が終了したか否か、すなわち、全検査区域に
おけるデータ比較を終了したか否かを判定する(ステッ
プV10)。1画像領域分のデータ比較が終了していな
ければ(ステップV10:No)、第2アドレス発生回
路18が未だ検査が終了していない他の検査区域に相当
する記憶領域のアドレスに変更し(ステップV11)、
制御回路8が検査区域用変化数カウンタをクリアし、再
度ステップV3〜V11を繰り返し処理する。繰り返し
処理を行う過程において、制御回路8は、ステップV1
0において1画像領域分のデータ比較が終了したと判定
される前に、ステップV9において計数された検査区域
数が判定区域数を超えていると判定すると、二次元画像
メモリのデータを二次元画像格納用メモリに転送記憶さ
せ、読取対象領域中に情報コードPが存在する確率が高
いと推定し、解読処理を行う(ステップV12〜V1
3)。
In this case, the control circuit 8 determines whether or not the data comparison for one image area has been completed, that is, whether or not the data comparison has been completed for all inspection areas (step V10). If the data comparison for one image area has not been completed (step V10: No), the second address generation circuit 18 changes the address to a storage area corresponding to another inspection area for which the inspection has not been completed (step V10). V11),
The control circuit 8 clears the change number counter for the inspection area, and repeats steps V3 to V11 again. In the course of performing the repetitive processing, the control circuit 8 executes step V1
If it is determined in step V9 that the number of inspection zones exceeds the number of determination zones before it is determined in S0 that the data comparison for one image region has been completed, the data in the two-dimensional image memory is stored in the two-dimensional image memory. The data is transferred to and stored in the storage memory, and it is estimated that the probability that the information code P exists in the read target area is high, and the decoding process is performed (steps V12 to V1).
3).

【0081】すなわち、1画像領域分のデータ比較を終
了する直前でステップV9においてYesと判定されて
も、もしくは、1画像領域分の全検査区域のうちの一部
のみが判定された状態でステップV9においてYesと
判定されても、解読処理が行われることになる。
That is, if it is determined to be Yes in step V9 immediately before the data comparison for one image area is completed, or if only a part of all the inspection areas for one image area is determined, step S9 is performed. Even if Yes is determined in V9, the decryption processing is performed.

【0082】このような場合、ステップV3〜V7にお
いて判定される検査区域の順序が解読処理に移行する処
理速度を向上させることに寄与することになるが、必要
に応じて、全体の検査区域に対して略中央部に相当する
検査区域から判定を順に始めても良いし、全体の検査区
域に対して端部に相当する検査区域から順に判定を始め
ても良い。
In such a case, the order of the inspection areas determined in steps V3 to V7 contributes to improving the processing speed for shifting to the decoding processing. On the other hand, the determination may be started in order from the inspection area corresponding to the substantially central part, or may be started in order from the inspection area corresponding to the end part with respect to the entire inspection area.

【0083】具体例として、例えば、図2に示す状態か
ら、図8に示すように情報コードPが印刷された紙片が
挿入され、図9のように撮像されるとする。制御回路8
が検査する検査区域が、図9における1段目の左上部か
ら右上部にかけて順に移動し、さらに2段目の左上部か
ら右上部にかけて順に移動し、同様に3段目から7段目
まで順次移動するように設定されていたとする。この場
合、例えば判定点数が検査区域(1検査区域の画素の全
数100)毎に変化しないように設定されており、判定
区域数が例えば6として設定されているとする。さら
に、情報コードPが撮像された検査区域に相当する1段
目の4列め,5列目,6列目、2段目の4列め,5列
目,6列目の検査区域が、順次判定点数を超える検査区
域として判定され、さらにまた、3段目の4列目が判定
点数を超えると判定されたとする。この場合、制御回路
8は、計数された検査区域数が7となるため、判定区域
数を超えると判定し、その他の検査区域の判定を行うこ
となく、解読処理に移行することになる。
As a specific example, it is assumed that a piece of paper on which the information code P is printed as shown in FIG. 8 is inserted from the state shown in FIG. 2 and an image is taken as shown in FIG. Control circuit 8
The inspection area to be inspected moves sequentially from the upper left part to the upper right part of the first step in FIG. 9, and further moves from the upper left part to the upper right part of the second step, and similarly from the third step to the seventh step. Suppose that it was set to move. In this case, for example, it is assumed that the number of determination points is set so as not to change for each inspection area (the total number of pixels in one inspection area is 100), and the number of determination areas is set to, for example, six. Further, the fourth row, the fifth row, the sixth row, the second row, the fourth row, the fifth row, and the sixth row of the inspection area corresponding to the inspection area where the information code P is imaged are: It is assumed that it is determined that the inspection area sequentially exceeds the determination score, and that the fourth row of the third row is determined to exceed the determination score. In this case, the control circuit 8 determines that the counted number of inspection areas is seven, and thus determines that the number of inspection areas exceeds the number of determination areas, and shifts to the decoding process without determining other inspection areas.

【0084】また、図柄など大きな面積を持ち明暗が不
明確なものが読取対象領域に挿入された場合には、二次
元画像格納用メモリ40及び二次元画像メモリ14cに
記憶された連続する2画像領域における検査区域ごとの
同一画素の明暗の違いは少なくなる。したがって、判定
区域数が予め調整されていれば、情報コードの読取対象
領域における存在を推定する時点で、図柄などの明暗が
不明確なものが読取対象領域に挿入されても、解読処理
に移行する確率は低くなる。
When a large area, such as a symbol, having a large area and an unclear brightness is inserted into the reading target area, two consecutive images stored in the two-dimensional image storage memory 40 and the two-dimensional image memory 14c are read. The difference in brightness of the same pixel for each inspection area in the region is reduced. Therefore, if the number of determination zones is adjusted in advance, even when a symbol or other unclear image such as a symbol is inserted into the reading target region at the time of estimating the presence of the information code in the reading target region, the process proceeds to the decoding process. Probability is lower.

【0085】図19の説明に戻って、1画像領域分のデ
ータ比較が終了してもステップV9の判定においてNo
と判定されると、制御回路8は、ステップV10におい
てYesと判定する。制御回路8は、二次元画像メモリ
14cのデータを二次元画像格納用メモリ40に転送し
て記憶させる(ステップV14)。この場合、二次元画
像格納用メモリ40には、二次元画像メモリ14cに記
憶された内容が画素毎に対応して上書きされる。そし
て、制御回路8は、計数された検査区域数をクリアす
る。さらに、再度ステップV2〜V14の処理が繰り返
される。この場合、CCDエリアセンサ7が所定期間毎
に読取対象領域を撮像し、処理が行われることになる。
その他については、上述した実施の形態における説明と
略同様であるため、その説明を省略する。
Returning to the description of FIG. 19, even if the data comparison for one image area is completed, the determination in step V9 is No.
Is determined, the control circuit 8 determines Yes in step V10. The control circuit 8 transfers the data of the two-dimensional image memory 14c to the two-dimensional image storage memory 40 for storage (step V14). In this case, the content stored in the two-dimensional image memory 14c is overwritten in the two-dimensional image storage memory 40 corresponding to each pixel. Then, the control circuit 8 clears the counted number of inspection areas. Further, the processing of steps V2 to V14 is repeated again. In this case, the CCD area sensor 7 captures an image of the reading target area every predetermined period, and the processing is performed.
Others are substantially the same as the description in the above-described embodiment, and thus the description is omitted.

【0086】このような第5の実施の形態によれば、前
回画像の画素明暗点と今回画像の判定結果に変化が生じ
ている画素の数を検査区域毎に検索区域用変化数カウン
タにより計数し、該カウンタの値が所定の判定点数を超
えているときにその検査区域をカウントし、この計数さ
れた数が1画像領域分のデータ比較が終了するまでに判
定区域数を超えると判定されると、読取対象領域中に情
報コードが存在する確率が高いことを推定することがで
き、解読処理に移行し情報コードPを解読することがで
きる。
According to the fifth embodiment, the number of pixels having a change between the pixel bright and dark points of the previous image and the determination result of the current image is counted by the search area change number counter for each inspection area. When the value of the counter exceeds a predetermined determination point, the inspection area is counted, and it is determined that the counted number exceeds the determination area number by the time the data comparison for one image area is completed. Then, it can be estimated that the probability that the information code exists in the read target area is high, and the process shifts to the decoding process to decode the information code P.

【0087】(第6の実施の形態)図21は、本発明の
第6の実施の形態を示すもので、第5の実施の形態と異
なるところは、データ比較を検査区域毎に行わず、1画
像領域単位で画素データのデータ比較を行うところにあ
る。以下、定置式情報コード読取装置1が行う処理の説
明を行う。
(Sixth Embodiment) FIG. 21 shows a sixth embodiment of the present invention. The difference from the fifth embodiment is that data comparison is not performed for each inspection area. This is to compare pixel data in units of one image area. Hereinafter, processing performed by the stationary information code reader 1 will be described.

【0088】第5の実施の形態と同様に、図2に示すよ
うに文献Bが読取対象領域に存在するものとする。図2
1は、全体の動作を示すフローチャートである。定置式
情報コード読取装置1において電源投入されると、第5
の実施の形態の説明と同様に初期化処理を行い、画像取
得及び二値化処理を行う(ステップX1,X2)。この
場合、図5に示される画像に相当する1画像領域分のデ
ータが二次元画像メモリ14cに記憶され、図9に示さ
れる画像に相当する1画像領域分のデータが画像用メモ
リ14(画像データメモリ14a,明暗点数メモリ14
b,二次元画像メモリ14c)に記憶される。
As in the fifth embodiment, it is assumed that the document B exists in the reading target area as shown in FIG. FIG.
1 is a flowchart showing the entire operation. When the stationary information code reader 1 is powered on,
The initialization processing is performed in the same manner as described in the first embodiment, and the image acquisition and binarization processing are performed (steps X1 and X2). In this case, data for one image area corresponding to the image shown in FIG. 5 is stored in the two-dimensional image memory 14c, and data for one image area corresponding to the image shown in FIG. Data memory 14a, light / dark point number memory 14
b, stored in the two-dimensional image memory 14c).

【0089】その後、第2アドレス発生回路18は、二
次元画像メモリ14cと二次元画像格納用メモリ40の
それぞれの同一座標のアドレスを指定する(ステップX
3)。この場合、前回画像と今回画像の同一画素に対応
するアドレスが指定されることになる。制御回路8は、
この対応したアドレスに記憶された値を参照し、明点か
ら暗点、もしくは、暗点から明点に変化したか否かを画
素毎に判定し比較する(ステップX4)。
Thereafter, the second address generation circuit 18 specifies the addresses of the same coordinates in the two-dimensional image memory 14c and the two-dimensional image storage memory 40 (step X).
3). In this case, an address corresponding to the same pixel in the previous image and the current image is specified. The control circuit 8
With reference to the value stored at the corresponding address, it is determined for each pixel whether or not a change has occurred from a bright point to a dark point or from a dark point to a bright point (step X4).

【0090】制御回路8は、比較した結果、画素明暗点
の判定結果に変化が生じている画素であると判定した場
合には(ステップX4:Yes)、変化数カウンタを加
算し計数する(ステップX5)が、変化が生じていなけ
れば変化数カウンタを加算しない。
When the control circuit 8 determines that the pixel has a change in the determination result of the pixel bright / dark point as a result of the comparison (step X4: Yes), the control circuit 8 adds and counts a change number counter (step X4). If X5) has not changed, the change counter is not added.

【0091】制御回路8は、1画像領域分のデータ比較
が終了していなければ(ステップX6:No)、アドレ
スを変更し(ステップX7)、ステップX3〜X7の処
理を繰り返す。ステップX6において、制御回路8が1
画像領域分のデータ比較の終了を判定すると、制御回路
8は、二次元画像メモリ14cに記憶された1画像領域
分のデータを二次元画像格納用メモリ40に転送し記憶
させる(ステップX8)。
If the data comparison for one image area has not been completed (step X6: No), the control circuit 8 changes the address (step X7) and repeats the processing of steps X3 to X7. In step X6, the control circuit 8
When judging the end of the data comparison for the image area, the control circuit 8 transfers the data for one image area stored in the two-dimensional image memory 14c to the two-dimensional image storage memory 40 for storage (step X8).

【0092】この場合、制御回路8は、変化数カウンタ
が判定点数を超えているか否かを判定する(ステップX
9)。この判定点数は、あらかじめ設定されるものであ
る。制御回路8は、変化数カウンタが判定点数を超えて
いると判定すると、解読処理を行う(ステップX1
0)。その他については第5の実施の形態等と略同様の
ためその説明を省略する。
In this case, the control circuit 8 determines whether or not the number-of-changes counter has exceeded the number of determination points (step X).
9). This judgment point is set in advance. When the control circuit 8 determines that the number-of-changes counter has exceeded the determination point, it performs a decoding process (step X1).
0). Other features are substantially the same as those of the fifth embodiment and the like, and therefore, description thereof is omitted.

【0093】このような第6の実施の形態によれば、制
御回路8が前回画像と今回画像とで変化した画素の点の
数(変化数カウンタ)が判定点数を超えているときに、
情報コードが読取対象領域に存在する確率が高いことを
推定するため、第5の実施の形態に示す構成に比較して
処理を簡略化することができる。
According to the sixth embodiment, when the control circuit 8 determines that the number of pixel points changed between the previous image and the current image (change number counter) exceeds the judgment point,
Since it is estimated that the probability that the information code exists in the read target area is high, the processing can be simplified as compared with the configuration shown in the fifth embodiment.

【0094】(他の実施の形態)尚、本発明は上述した
実施の形態に限定されるものではなく、本発明の技術的
範囲に属する限り様々な形態を取りうる。特に、上述し
た実施の形態の定置式情報コード読取装置1,20,3
0においては、定置式としたが、定置式に限らず携帯用
(ハンディ型)の情報コード読取装置に適用してもよ
い。
(Other Embodiments) The present invention is not limited to the above-described embodiments, but may take various forms as long as they fall within the technical scope of the present invention. In particular, the stationary information code readers 1, 20, 3 according to the above-described embodiments.
0 is a stationary type, but the present invention is not limited to the stationary type and may be applied to a portable (handy type) information code reader.

【0095】上述した実施の形態において、スイッチ群
15は必要に応じて設ければ良く、感度(判定区域数の
設定)の調整は、制御回路8が自動的に行うことも可能
である。また、情報コードは、上述した実施形態に示し
た情報コードに限らず、例えば図17(a)〜(d)に
示すような明暗パターンからなる情報コードを読取り可
能な情報コード読取装置に適用可能である。
In the above-described embodiment, the switch group 15 may be provided as needed, and the sensitivity (setting of the number of determination zones) can be automatically adjusted by the control circuit 8. Further, the information code is not limited to the information code shown in the above-described embodiment, and can be applied to an information code reading device capable of reading an information code having a light and dark pattern as shown in FIGS. 17 (a) to 17 (d). It is.

【0096】上述した実施の形態において、不感帯内の
輝度範囲を設定して説明を行ったが、不感帯内の輝度範
囲は必要に応じて設ければ良い。
In the above-described embodiment, the description has been made by setting the luminance range within the dead zone. However, the luminance range within the dead zone may be provided as needed.

【0097】上述した実施の形態において、解読処理を
行う際にLEDを点灯して再度読取り、解読処理を行っ
たが、周囲が明るい場合など周囲の状況により点灯する
必要がない場合もあり、この場合、再度読取る必要をな
くしながら解読することができる。
In the above-described embodiment, when the decoding process is performed, the LED is turned on to read again, and the decoding process is performed. However, there is a case where it is not necessary to turn on the LED depending on the surrounding situation such as when the surroundings are bright. In this case, decoding can be performed without having to read again.

【0098】二値化回路9を計数手段として機能するよ
うに設け、上述実施形態に示すように画素データの明
点,暗点を判定した後、その個数を計数する(計数過
程)ように構成しても良い。この場合、二次元画像メモ
リ14cを記憶手段として機能するように設け、計数さ
れた個数を明暗個数として記憶し(記憶過程)、その計
数された明暗個数が、所定期間毎に撮像される前回画像
と今回画像との比較において、所定個数を超えていると
きに読取対象領域中に情報コードPが存在する確率が高
いことを制御回路8が推定する(推定過程)ように構成
しても良い。この場合、前回画像の明暗個数は二次元画
像格納用メモリ40に記憶される。
The binarizing circuit 9 is provided so as to function as a counting means, and as described in the above embodiment, after judging the bright and dark points of the pixel data, the number is counted (counting process). You may. In this case, the two-dimensional image memory 14c is provided so as to function as a storage means, and the counted number is stored as a light and dark number (storage process), and the counted light and dark number is stored in the previous image taken at predetermined intervals. In the comparison with the current image, the control circuit 8 may be configured to estimate that the probability that the information code P exists in the read target area is higher when the number exceeds the predetermined number (estimation process). In this case, the number of light and shade of the previous image is stored in the two-dimensional image storage memory 40.

【0099】尚、制御回路8に記憶された情報コード存
在推定プログラムは、ハードディスク,CDROM等の
記憶媒体に記憶され、配布可能にすることも可能であ
る。
The information code existence estimating program stored in the control circuit 8 may be stored in a storage medium such as a hard disk or a CDROM, and may be distributed.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施の形態を示す情報コード読
取り装置の電気的構成図
FIG. 1 is an electrical configuration diagram of an information code reading device according to a first embodiment of the present invention.

【図2】全体構成の外観斜視図FIG. 2 is an external perspective view of the overall configuration.

【図3】明点,暗点の判定の輝度範囲を原理的に示す説
明図
FIG. 3 is an explanatory diagram showing a luminance range for determining a bright point and a dark point in principle;

【図4】1画像領域分のデータを画像用メモリに記憶す
る動作を示すフローチャート
FIG. 4 is a flowchart showing an operation of storing data for one image area in an image memory;

【図5】読取対象領域を撮像した状態と検査区域とを概
略的に表わす図
FIG. 5 is a diagram schematically showing a state where an image of a reading target area is imaged and an inspection area;

【図6】情報コードを印刷した文献が挿入される前にお
ける、検査区域に分割した1画像領域中の(a)明暗点
数メモリの内容と、(b)その対応するアドレスとデー
タとの構造、を示す図
FIG. 6 shows (a) the contents of a memory for the number of bright and dark points and (b) the structure of the corresponding address and data in one image area divided into inspection areas before a document on which an information code is printed is inserted. Figure showing

【図7】情報コードの存在推定時の動作を示すフローチ
ャート
FIG. 7 is a flowchart showing the operation when estimating the presence of an information code;

【図8】情報コードを印刷した紙片が挿入されたときの
状態を示す図
FIG. 8 is a diagram showing a state when a paper piece on which an information code is printed is inserted;

【図9】情報コードを印刷した紙片が挿入されたときに
読取対象領域から撮像された状態と検査区域とを概略的
に表わす図
FIG. 9 is a diagram schematically showing a state where an image is printed from a reading target area and an inspection area when a paper piece on which an information code is printed is inserted;

【図10】情報コードを印刷した紙片が挿入されたとき
における(a)明暗点数メモリの内容と、(b)その対
応するアドレスとデータとの構造、を示す図
FIG. 10 is a diagram showing (a) the contents of a light / dark point number memory and (b) the corresponding address and data structure when a paper piece on which an information code is printed is inserted.

【図11】(a)減算比較した結果と、(b)その対応
するアドレスとデータとの構造、を示す図
11A is a diagram illustrating a result of a subtraction comparison, and FIG. 11B is a diagram illustrating a structure of a corresponding address and data.

【図12】解読時の動作を表わすフローチャートFIG. 12 is a flowchart showing an operation at the time of decoding.

【図13】本発明の第2の実施の形態を示す図4相当図FIG. 13 is a view corresponding to FIG. 4, showing a second embodiment of the present invention;

【図14】図7相当図FIG. 14 is a diagram corresponding to FIG. 7;

【図15】本発明の第3の実施の形態を示す図8相当図FIG. 15 is a view corresponding to FIG. 8, showing a third embodiment of the present invention;

【図16】本発明の第4の実施の形態を示す図8相当図FIG. 16 is a view corresponding to FIG. 8, showing a fourth embodiment of the present invention;

【図17】情報コードの一例を示す図FIG. 17 shows an example of an information code.

【図18】本発明の第5の実施の形態を示す図1相当図FIG. 18 is a view corresponding to FIG. 1, showing a fifth embodiment of the present invention;

【図19】動作を示すフローチャートFIG. 19 is a flowchart showing an operation.

【図20】画像取得及び二値化処理を示すフローチャー
FIG. 20 is a flowchart showing image acquisition and binarization processing;

【図21】本発明の第6の実施の形態を示す図19相当
FIG. 21 is a view corresponding to FIG. 19, showing a sixth embodiment of the present invention;

【符号の説明】[Explanation of symbols]

1,20,30は定置式情報コード読取装置(情報コー
ド読取装置)、7はCCDエリアセンサ(撮像手段)、
8は制御回路(制御手段)、9は二値化回路(明暗判定
手段,判定手段)、14bは明暗点数メモリ(判定結果
記憶手段)、14cは二次元画像メモリ(記憶手段)、
17は明暗点数格納用メモリ、40は二次元画像格納用
メモリである。
1, 20 and 30 are stationary information code readers (information code readers), 7 is a CCD area sensor (imaging means),
8 is a control circuit (control means), 9 is a binarizing circuit (light / dark judgment means, judgment means), 14b is a light / dark point number memory (judgment storage means), 14c is a two-dimensional image memory (storage means),
Reference numeral 17 denotes a memory for storing the number of light and dark points, and reference numeral 40 denotes a memory for storing a two-dimensional image.

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B072 CC21 DD01 DD16 DD21 LL13 LL19  ──────────────────────────────────────────────────続 き Continued on the front page F-term (reference) 5B072 CC21 DD01 DD16 DD21 LL13 LL19

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 所定期間毎に読取対象領域を撮像する撮
像過程と、 この撮像過程により得られた前記読取対象領域の画像の
各画素データについて明点,暗点の判定を行うと共にそ
の画像の画素を所定方向に走査して隣接する画素間で明
点から暗点へ変化する画素もしくは暗点から明点へ変化
する画素を判定する明暗判定過程と、 この明暗判定過程にて前記画像について判定された結果
を明暗点数として記憶する判定結果記憶過程と、 前記明暗判定過程での判定結果と前記撮像過程で撮像さ
れた前回の画像について記憶された明暗点数とを比較
し、前記明暗点数に変化が生じている画素の数を計数す
る明暗点変化計数過程と、 この明暗点変化計数過程により計数された前記画素の数
が所定の判定点数を超えているときに前記読取対象領域
中に明暗パターンからなる情報コードが存在する確率が
高いことを推定する推定過程とを有することを特徴とす
る情報コード存在推定方法。
An imaging step of imaging a read target area at predetermined time intervals, and determining a bright point and a dark point for each pixel data of the image of the read target area obtained by the imaging step, A light-dark determination step of scanning a pixel in a predetermined direction to determine a pixel changing from a bright point to a dark point or a pixel changing from a dark point to a bright point between adjacent pixels; and determining the image in the light-dark determination step. A determination result storing step of storing the obtained result as the number of light and dark points, and comparing the determination result in the light and dark point determination step with the number of light and dark points stored for the previous image captured in the imaging step, and changing to the number of light and dark points. A light-dark point change counting step of counting the number of pixels in which the number of pixels having occurred, and when the number of pixels counted in the light-dark point change counting step exceeds a predetermined judgment point, Information code exists estimation method characterized by having an estimating step of estimating a higher probability that the information code consisting of a dark pattern is present.
【請求項2】 所定期間毎に読取対象領域を撮像する撮
像過程と、 この撮像過程により撮像された前記読取対象領域の画像
を複数の検査区域に分割する分割過程と、 前記撮像過程により得られた前記読取対象領域の画像の
各画素データについて明点,暗点の判定を行うと共にそ
の画像の画素を所定方向に走査して隣接する画素間で明
点から暗点へ変化する画素もしくは暗点から明点へ変化
する画素を判定する明暗判定過程と、 この明暗判定過程にて前記画像について判定された結果
を前記複数の検査区域毎に明暗点数として記憶する判定
結果記憶過程と、 前記明暗判定過程での判定結果と前記撮像過程で撮像さ
れた前回の画像について記憶された明暗点数とを前記複
数の検査区域毎に比較し、前記明暗点数に変化が生じて
いる画素の数を計数する明暗点変化計数過程と、 この明暗点変化計数過程により計数された前記画素の数
が所定の判定点数を超えているときにその検査区域の数
を計数し、計数された該検査区域数が所定の判定区域数
を超えるときに前記読取対象領域中に明暗パターンから
なる情報コードが存在する確率が高いことを推定する推
定過程とを有することを特徴とする情報コード存在推定
方法。
2. An image capturing step of capturing an image of a read target area at predetermined time intervals; a dividing step of dividing an image of the read target area captured by the image capturing step into a plurality of inspection areas; The pixel data of the image of the image to be read is determined as a bright point or a dark point, and the pixels of the image are scanned in a predetermined direction to change a pixel or a dark point between adjacent pixels. A light / dark judgment step of judging a pixel changing from a light point to a light point; a judgment result storing step of storing a result judged for the image in the light / dark judgment step as the number of light / dark points for each of the plurality of inspection areas; The determination result in the process and the number of light and dark points stored for the previous image captured in the imaging process are compared for each of the plurality of inspection areas, and the number of pixels having a change in the number of light and dark points is counted. The number of the inspection areas is counted when the number of the pixels counted in the light-dark point change counting step exceeds a predetermined judgment point number. An estimation step of estimating that the probability that an information code composed of a light and dark pattern is present in the read target area when the number of areas exceeds a predetermined determination area is high.
【請求項3】 前記推定過程における前記判定区域数を
異なる値に設定可能とすることを特徴とする請求項2記
載の情報コード存在推定方法。
3. The information code existence estimating method according to claim 2, wherein the number of the determination zones in the estimating step can be set to different values.
【請求項4】 所定期間毎に読取対象領域を撮像する撮
像手段と、 この撮像手段より得られた前記読取対象領域の画像の各
画素データについて明点,暗点の判定を行うと共にその
画像の画素を所定方向に走査して隣接する画素間で明点
から暗点へ変化する画素もしくは暗点から明点へ変化す
る画素を判定する明暗判定手段と、 この明暗判定手段の前記画像について判定された結果を
明暗点数として記憶する判定結果記憶手段と、 この判定結果記憶手段の判定結果と前記撮像手段で撮像
された前回の画像について記憶された明暗点数とを比較
し、前記明暗点数に変化が生じている画素の数が所定の
判定点数を超えているときに前記読取対象領域中に明暗
パターンからなる情報コードが存在する確率が高いこと
を推定する制御手段とを備えたことを特徴とする情報コ
ード読取装置。
4. An image pickup means for picking up an image of a read-out area every predetermined period, and determining a bright point and a dark point for each pixel data of the image of the read-out area obtained by this image pickup means. A light-dark determining means for scanning a pixel in a predetermined direction to determine a pixel changing from a bright point to a dark point or a pixel changing from a dark point to a bright point between adjacent pixels; and determining the image by the light-dark determining means. Determination result storage means for storing the result obtained as the number of light and dark points; comparing the determination result of the determination result storage means with the number of light and dark points stored for the previous image captured by the imaging means; Control means for estimating that there is a high probability that an information code composed of a light-dark pattern exists in the read target area when the number of generated pixels exceeds a predetermined number of judgment points. An information code reader characterized by the above-mentioned.
【請求項5】 所定期間毎に読取対象領域を撮像する撮
像手段と、 この撮像手段により得られた前記読取対象領域の画像の
各画素データについて明点,暗点の判定を行うと共にそ
の画像の画素を所定方向に走査して隣接する画素間で明
点から暗点へ変化する画素もしくは暗点から明点へ変化
する画素を判定する明暗判定手段と、 この明暗判定手段にて前記画像について判定された結果
を複数の検査区域毎に明暗点数として記憶する判定結果
記憶手段と、 前記明暗判定手段の判定結果と前記撮像過程で撮像され
た前回の画像について記憶された明暗点数とを前記複数
の検査区域毎に比較し、前記明暗点数に変化が生じてい
る前記検査区域毎の画素の数が所定の判定点数を超えて
いるときにその検査区域の数を計数し、計数された該検
査区域数が所定の判定区域数を超えるときに前記読取対
象領域中に明暗パターンからなる情報コードが存在する
確率が高いことを推定する制御手段とを備えたことを特
徴とする情報コード読取装置。
5. An image pickup means for picking up an image of a read-out area every predetermined period, and determining a bright point and a dark point for each pixel data of the image of the read-out area obtained by the image pickup means. A pixel scanning in a predetermined direction to determine a pixel that changes from a bright point to a dark point or a pixel that changes from a dark point to a bright point between adjacent pixels; A determination result storage unit that stores the obtained result as the number of light and dark points for each of a plurality of inspection areas; and the determination result of the light and dark determination unit and the number of light and dark points stored for the previous image captured in the imaging process. Compared for each inspection area, when the number of pixels for each inspection area where the number of light and dark points has changed exceeds a predetermined judgment point, the number of the inspection areas is counted, and the counted inspection area is counted. Number An information code reading device, comprising: control means for estimating that the probability that an information code composed of a light and dark pattern exists in the read target area is high when the number exceeds a predetermined number of determination zones.
【請求項6】 前記制御手段が前記推定するための前記
判定区域数を異なる値に設定可能とすることを特徴とす
る請求項5記載の情報コード読取装置。
6. The information code reading device according to claim 5, wherein the control means can set the number of the determination zones for the estimation to different values.
【請求項7】 コンピュータに請求項1記載の撮像過
程,明暗判定過程,判定結果記憶過程,明暗点変化計数
過程及び推定過程を実行させるための情報コード存在推
定プログラム。
7. An information code existence estimating program for causing a computer to execute an imaging step, a light / dark judgment step, a judgment result storage step, a light / dark point change counting step, and an estimation step according to claim 1.
【請求項8】 コンピュータに請求項2または3記載の
撮像過程,分割過程,明暗判定過程,判定結果記憶過
程,明暗点変化計数過程及び推定過程を実行させるため
の情報コード存在推定プログラム。
8. An information code existence estimating program for causing a computer to execute an imaging step, a dividing step, a light / dark judgment step, a judgment result storing step, a light / dark point change counting step and an estimating step according to claim 2 or 3.
【請求項9】 所定期間毎に読取対象領域を撮像する撮
像過程と、 この撮像過程により得られた前記読取対象領域の画像の
各画素データについての明点,暗点を判定する判定過程
と、 この判定過程にて前記画像について判定された結果を画
素明暗点として記憶する記憶過程と、 前記判定過程での判定結果と前記撮像過程で撮像された
前回の画像について記憶された画素明暗点とを画素毎に
比較し、前記画素明暗点の判定結果に変化が生じている
画素の数を計数する計数過程と、 この計数過程により計数された前記画素の数が所定の判
定点数を超えているときに前記読取対象領域中に明暗パ
ターンからなる情報コードが存在する確率が高いことを
推定する推定過程とを有することを特徴とする情報コー
ド存在推定方法。
9. An image capturing step of capturing an image of the read target area at predetermined time intervals; a determining step of determining a bright point and a dark point for each pixel data of the image of the read target area obtained by the image capturing step; A storage step of storing a result determined for the image in the determination step as a pixel light and dark point; and a determination result in the determination step and a pixel light and dark point stored for a previous image captured in the imaging step. A counting process of comparing each pixel and counting the number of pixels in which the determination result of the pixel bright / dark point has changed, and a case where the number of pixels counted in the counting process exceeds a predetermined determination score. Estimating that there is a high probability that an information code composed of a light and dark pattern exists in the read target area.
【請求項10】 所定期間毎に読取対象領域を撮像する
撮像過程と、 この撮像過程により撮像された前記読取対象領域の画像
を複数の検査区域に分割する分割過程と、 前記撮像過程により得られた前記読取対象領域の画像の
各画素データについての明点,暗点を判定する判定過程
と、 この判定過程での前記画像について判定された結果を画
素明暗点として記憶する記憶過程と、 前記判定過程での判定結果と前記撮像過程で撮像された
前回の画像について記憶された画素明暗点とを画素毎に
比較し、前記画素明暗点の判定結果に変化が生じている
画素の数を前記複数の検査区域毎に計数する計数過程
と、 この計数過程により計数された前記検査区域毎の画素の
数が所定の判定点数を超えているときにその検査区域の
数を計数し、計数された該検査区域数が所定の判定区域
数を超えるときに前記読取対象領域中に明暗パターンか
らなる情報コードが存在する確率が高いことを推定する
推定過程とを有することを特徴とする情報コード存在推
定方法。
10. An image capturing step of capturing an image of a read target area at predetermined intervals, a dividing step of dividing an image of the read target area captured by the image capturing step into a plurality of inspection areas, Determining a bright point and a dark point for each pixel data of the image of the read target area, storing a result determined for the image in the determination step as a pixel bright and dark point, The determination result in the process and the pixel light and dark points stored for the previous image captured in the image capturing process are compared for each pixel, and the number of pixels having a change in the pixel light and dark point determination result is determined by the plurality of pixels. A counting step of counting for each inspection area, and counting the number of inspection areas when the number of pixels for each inspection area counted in the counting step exceeds a predetermined judgment point. Estimating that the probability that an information code composed of a light and dark pattern exists in the read target area when the number of inspection areas exceeds a predetermined number of determination areas is high. .
【請求項11】 所定期間毎に読取対象領域を撮像する
撮像過程と、 この撮像過程により撮像された前記読取対象領域の画像
の画素データについての明点もしくは暗点が判定された
状態で、当該明点もしくは暗点の個数を計数する計数過
程と、 この計数過程にて前記画像について計数された結果を明
暗個数として記憶する記憶過程と、 前記計数過程での計数結果と前記撮像過程で撮像された
前回の画像について記憶された明暗個数とを比較し、前
記明暗個数の変化が所定個数を超えているときに前記読
取対象領域中に明暗パターンからなる情報コードが存在
する確率が高いことを推定する推定過程とを有すること
を特徴とする情報コード存在推定方法。
11. An imaging step of imaging a read target area at predetermined time intervals, and in a state where a bright point or a dark point is determined for pixel data of an image of the read target area imaged in the image capture step, A counting step of counting the number of bright spots or dark spots; a storing step of storing the result counted for the image in the counting step as a bright / dark number; a counting result in the counting step and an image taken in the imaging step Comparing the number of light and dark stored with respect to the previous image, and presume that when the change in the number of light and dark exceeds a predetermined number, there is a high probability that an information code composed of a light and dark pattern exists in the read target area. An information code presence estimating method, comprising:
【請求項12】 所定期間毎に読取対象領域を撮像する
撮像手段と、 この撮像手段より得られた前記読取対象領域の画像の各
画素データについて明点,暗点を判定する判定手段と、 この判定手段にて前記画像について判定された結果を画
素明暗点として記憶する記憶手段と、 前記判定手段での判定結果と前記撮像過程で撮像された
前回の画像について記憶された画素明暗点とを画素毎に
比較し、判定結果に変化が生じている画素の数を計数
し、計数された前記画素の数が所定の判定点数を超えて
いるときに前記読取対象領域中に明暗パターンからなる
情報コードが存在する確率が高いことを推定する制御手
段とを備えたことを特徴とする情報コード読取装置。
12. An image pickup means for picking up an image of the read target area at predetermined time intervals, a determination means for determining a bright point and a dark point for each pixel data of the image of the read target area obtained by the image pickup means. A storage unit that stores the result determined for the image by the determination unit as a pixel light and dark point; and a pixel that stores the determination result of the determination unit and the pixel light and dark point stored for the previous image captured in the imaging process. Each time, the number of pixels having a change in the determination result is counted, and when the counted number of pixels exceeds a predetermined determination point, an information code consisting of a light and dark pattern in the read target area. And a control means for estimating that the probability of existence of the information code is high.
【請求項13】 所定期間毎に読取対象領域を撮像する
撮像手段と、 この撮像手段により得られた前記読取対象領域の画像を
複数の検査区域に分割する分割過程と、 前記撮像手段により得られた前記読取対象領域の画像の
各画素データについての明点,暗点を判定する判定手段
と、 この判定手段にて前記画像について判定された結果を画
素明暗点として記憶する記憶手段と、 前記判定手段での判定結果と前記撮像手段により撮像さ
れた前回の画像について記憶された画素明暗点とを画素
毎に比較し、前記画素明暗点の判定結果に変化が生じて
いる画素の数を前記複数の検査区域毎に計数し、計数さ
れた前記検査区域毎の画素の数が所定の判定点数を超え
ているときにその検査区域の数を計数し、計数された該
検査区域数が所定の判定区域数を超えるときに前記読取
対象領域中に明暗パターンからなる情報コードが存在す
る確率が高いことを推定する制御手段とを有することを
特徴とする情報コード読取装置。
13. An image pickup means for picking up an image of a read target area at predetermined time intervals; a dividing step of dividing the image of the read target area obtained by the image pickup means into a plurality of inspection zones; Determining means for determining a light point and a dark point for each pixel data of the image of the image of the reading target area; storage means for storing a result determined for the image by the determining means as a pixel light and dark point; Comparing the result of the determination by the means with the pixel light and dark points stored for the previous image captured by the image capturing means for each pixel, and determining the number of pixels having a change in the result of the determination of the pixel light and dark points by the plurality of pixels. Is counted for each inspection area, and when the counted number of pixels for each inspection area exceeds a predetermined judgment point, the number of the inspection areas is counted. Number of areas Information code reading apparatus characterized by a control means for estimating a higher probability that the information code consisting of light and dark pattern is present during said reading target area when exceeding.
JP2002021831A 2001-01-31 2002-01-30 Information code existence estimation method, information code reader, and information code existence estimation program Expired - Fee Related JP3890991B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002021831A JP3890991B2 (en) 2001-01-31 2002-01-30 Information code existence estimation method, information code reader, and information code existence estimation program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2001-24115 2001-01-31
JP2001024115 2001-01-31
JP2002021831A JP3890991B2 (en) 2001-01-31 2002-01-30 Information code existence estimation method, information code reader, and information code existence estimation program

Publications (2)

Publication Number Publication Date
JP2002304594A true JP2002304594A (en) 2002-10-18
JP3890991B2 JP3890991B2 (en) 2007-03-07

Family

ID=26608667

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002021831A Expired - Fee Related JP3890991B2 (en) 2001-01-31 2002-01-30 Information code existence estimation method, information code reader, and information code existence estimation program

Country Status (1)

Country Link
JP (1) JP3890991B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100626329B1 (en) 2003-09-08 2006-09-20 가부시끼가이샤 덴소 웨이브 Optical information reading apparatus and related information reading method
WO2015098046A1 (en) * 2013-12-27 2015-07-02 三菱電機株式会社 Two-dimensional code reading device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100626329B1 (en) 2003-09-08 2006-09-20 가부시끼가이샤 덴소 웨이브 Optical information reading apparatus and related information reading method
WO2015098046A1 (en) * 2013-12-27 2015-07-02 三菱電機株式会社 Two-dimensional code reading device
JP5930135B2 (en) * 2013-12-27 2016-06-08 三菱電機株式会社 Two-dimensional code reader
US9646190B2 (en) 2013-12-27 2017-05-09 Mitsubishi Electric Corporation Two-dimensional code reading device

Also Published As

Publication number Publication date
JP3890991B2 (en) 2007-03-07

Similar Documents

Publication Publication Date Title
US5949052A (en) Object sensor system for stationary position optical reader
US9582696B2 (en) Imaging apparatus having imaging assembly
EP1354291B1 (en) Optical reader having partial frame operating mode
US6298175B1 (en) Object sensor system comprising controlled light source
US20030062418A1 (en) Optical reader having partial frame operating mode
JPH06187482A (en) Special symbol reader
WO2013163789A1 (en) Hardware-based image data binarization in an indicia reading terminal
JP5294096B2 (en) Information transmission system, light receiving device, information transmission method, and program
JP2000353210A (en) Information code existing region roughly estimating method, information code reading method and device and recording medium
JP2007287009A (en) Information code reader
JP2010509651A (en) Image recognition apparatus and method
JP5713061B2 (en) Information transmitting apparatus, information transmitting method, and program
JP2009020860A (en) System and method for identifying and labeling cluster pixels in frame of image data for optical navigation
JP2013009072A (en) Information transmission system, light-receiving device, information transmission method, and program
JP2002304594A (en) Information code existence estimating method, information code reading apparatus and information code existence estimating program
US20070230941A1 (en) Device and method for detecting ambient light
JP2003348459A (en) Solid-state imaging apparatus and its drive method
US8289415B2 (en) Blink signal detection circuit, blink signal detection method, object sensing apparatus, object sensing method, and imaging system
KR101551427B1 (en) Mobile terminal for supporting iris recognition function
JP2011159317A (en) Device and method for reading two-dimensional code
JP2011197856A (en) Optical information reading device
JP2009032202A (en) Two-dimensional code reader and method therefor
JP3918713B2 (en) Optical information reader
JP2014203155A (en) Optical information reader, optical information reading method, and program
JP2004133689A (en) Two-dimensional code read method and device thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040406

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060829

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060912

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061013

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20061114

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061127

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091215

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101215

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101215

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111215

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111215

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121215

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121215

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121215

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131215

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees