JP2007317059A - Optical information reader - Google Patents

Optical information reader Download PDF

Info

Publication number
JP2007317059A
JP2007317059A JP2006147806A JP2006147806A JP2007317059A JP 2007317059 A JP2007317059 A JP 2007317059A JP 2006147806 A JP2006147806 A JP 2006147806A JP 2006147806 A JP2006147806 A JP 2006147806A JP 2007317059 A JP2007317059 A JP 2007317059A
Authority
JP
Japan
Prior art keywords
image
optical information
image block
illuminance
specular reflection
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
JP2006147806A
Other languages
Japanese (ja)
Other versions
JP4572871B2 (en
Inventor
Motoaki Watabe
元秋 渡部
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 Wave Inc
Original Assignee
Denso Wave Inc
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 Wave Inc filed Critical Denso Wave Inc
Priority to JP2006147806A priority Critical patent/JP4572871B2/en
Publication of JP2007317059A publication Critical patent/JP2007317059A/en
Application granted granted Critical
Publication of JP4572871B2 publication Critical patent/JP4572871B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an optical information reader capable of quickly reading an information code without being affected by specular reflection. <P>SOLUTION: An image is divided into a plurality of image blocks BL, and an excessively exposed image block out of the plurality of image blocks is detected to specify an image block (area) where specular reflection MR occurs. An illuminator illuminating the specified image block where specular reflection MR occurs is found on the basis of a stored correspondence relation between respective areas and illuminators illuminating the image blocks and is extinguished. Thus specular reflection is eliminated to be able to quickly read an information code B without being affected by specular reflection MR. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、商品等に印刷又は貼り付けられているバーコード等の一次元光学情報、QRコード(登録商標)等の二次元光学情報、或いは、携帯電話等に表示されたQRコード等を読み取る据え置き型の光学情報読取装置に関するものである。 The present invention reads one-dimensional optical information such as a barcode printed on or pasted on a product, two-dimensional optical information such as a QR code (registered trademark), or a QR code displayed on a mobile phone or the like. The present invention relates to a stationary optical information reader.

紙などの基材にバーコードやQRコードなどの光学情報を印刷したものを物品や書類に取り付け、これを光学的に読み取り、物品の識別などを行う光学情報読取装置が知られている。現在、光学的情報の新たな使用形態として、携帯電話にQRコードを表示させ、据え置き型の光学的情報読取装置で読み取ることが行われている。例えば、携帯電話にQRコードを配信し、コンサート会場において、携帯電話に表示されたQRコードを光学的情報読取装置で読み取ることでチケットの代わりをさせる等の態様で使用されている。 2. Description of the Related Art There is known an optical information reading device that attaches a substrate such as paper printed with optical information such as a barcode or QR code to an article or document, optically reads the article, and identifies the article. At present, as a new usage form of optical information, a QR code is displayed on a mobile phone and read by a stationary optical information reader. For example, it is used in such a manner that a QR code is distributed to a mobile phone, and a QR code displayed on the mobile phone is read by an optical information reader in a concert hall to replace a ticket.

この光学情報読取装置は、ケース内部にLED等の光照射手段を設けて、光学情報読取装置の読取口が向けられている光学情報を照明していた。この照明により光学情報から反射される光を、読取口からケース内部に導き、CCD等を用いて画像を読み取り、その明暗の分布から光学情報が表している情報を解読していた。
特開昭60−48578号公報 特開平11−120284号公報
This optical information reader is provided with light irradiation means such as LEDs inside the case to illuminate the optical information to which the reading port of the optical information reader is directed. The light reflected from the optical information by this illumination is guided into the case from the reading port, the image is read using a CCD or the like, and the information represented by the optical information is decoded from the light-dark distribution.
JP 60-48578 A Japanese Patent Application Laid-Open No. 11-120284

しかしながら、特に艶のある紙などに印刷された光学情報は、照明光の入射角度によっては鏡面反射を生じて光学情報の画像の一部がコードに記録されている白黒とは無関係にすべて明(白)として読み取られ、光学情報を正しく取り込むことができない場合があった。特に、携帯電話の液晶からなる表示器は鏡面反射が起き易く、鏡面反射によって表示器に表示されたQRコードが読み取れないことが度々生じている。 However, optical information printed on glossy paper, etc., is specularly reflected depending on the incident angle of the illumination light, so that all of the optical information image is bright regardless of the black and white recorded in the code ( White) and optical information could not be captured correctly. In particular, a display made of liquid crystal of a mobile phone is likely to cause a mirror reflection, and it often happens that a QR code displayed on the display cannot be read due to the mirror reflection.

このような場合には、光学情報読取装置自体が読み取り対象が異常であると判定して読み取りを完了することができないので、操作者は情報コードの担体を移動させたり読み取り角度を変更させたりして試行錯誤し、鏡面反射の影響がない位置・角度で読み取りを行わねばならず、読み取りの作業性が低下する原因となっていた。 In such a case, since the optical information reader itself determines that the object to be read is abnormal and cannot complete the reading, the operator moves the information code carrier or changes the reading angle. Thus, trial and error required reading at a position and angle that was not affected by specular reflection, leading to a decrease in reading workability.

このような鏡面反射による異常な画像から元の画像を復元する装置として、特許文献1に同一対象に対して2方向から画像を検出して、その画像を合成することで、鏡面反射領域を除去するパターン検出装置が開示されている。また、特許文献2には、複数の照明を備え、照明方向を変えながら画像を読み取ることで、鏡面反射の生じない照明方向を探し出して情報コードを読み取る光学情報読取装置が開示されている。 As an apparatus that restores the original image from such an abnormal image due to specular reflection, Patent Document 1 detects an image from two directions with respect to the same object, and combines the images to remove the specular reflection region. A pattern detection apparatus is disclosed. Patent Document 2 discloses an optical information reading apparatus that includes a plurality of illuminations and reads an image while changing the illumination direction to find an illumination direction in which no specular reflection occurs and reads an information code.

しかし、特許文献1のパターン検出装置は、CCD等の高価な画像読取手段が2つ必要であり、製造コストの上昇につながった。また、特許文献2の光学情報読取装置は、照明方向を変えながら鏡面反射が生じない照明方法を探し出すため、情報コードを読み取れるようになるまでに時間が掛かった。 However, the pattern detection apparatus of Patent Document 1 requires two expensive image reading means such as a CCD, leading to an increase in manufacturing cost. Moreover, since the optical information reader of Patent Document 2 searches for an illumination method in which specular reflection does not occur while changing the illumination direction, it takes time until the information code can be read.

本発明は、上述した課題を解決するためになされたものであり、その目的とするところは、鏡面反射に影響されず情報コードを迅速に読み取ることができる光学情報読取装置を提供することにある。 The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an optical information reader capable of quickly reading an information code without being affected by specular reflection. .

上記目的を達成するため、請求項1の発明は、複数の光源L1〜L12と、画像を取り込む画像取得手段24と、画像から情報コードを検出する情報コード検出手段32と、検出された情報コードを解読する解読手段32とを備える光学情報読取装置10であって、
前記画像を複数個の画像ブロックBLに区画し、該複数個の画像ブロックBL中で過大な露光の有った画像ブロックBLを検出する飽和画像ブロック検出手段(S15)と、
前記画像ブロックのそれぞれと、当該画像ブロックを照明する光源との対応関係を記憶する記憶手段34と、
前記記憶手段により記憶された対応関係に基づき、前記飽和画像ブロック検出手段により検出された過大な露光の有った画像ブロックを照明する光源の照度を下げる照度調整手段(S32、S42)とを備えることを技術的特徴とする。
In order to achieve the above object, the invention of claim 1 includes a plurality of light sources L1 to L12, an image acquisition means 24 for capturing an image, an information code detection means 32 for detecting an information code from the image, and a detected information code. An optical information reader 10 comprising a decoding means 32 for decoding
Saturated image block detecting means (S15) for dividing the image into a plurality of image blocks BL and detecting image blocks BL with excessive exposure in the plurality of image blocks BL;
Storage means 34 for storing a correspondence relationship between each of the image blocks and a light source that illuminates the image block;
Illuminance adjustment means (S32, S42) for reducing the illuminance of the light source that illuminates the image block with excessive exposure detected by the saturated image block detection means based on the correspondence stored by the storage means. This is a technical feature.

請求項1の光学情報読取装置では、画像を複数個の画像ブロックに区画し、該複数個の画像ブロック中で過大な露光の有った画像ブロックを検出することで、鏡面反射の生じた画像ブロックを特定する。そして、画像ブロックのそれぞれと当該画像ブロックを照明する光源との記憶されている対応関係に基づき、鏡面反射が生じているとして特定した画像ブロックを照明している光源を探し出し、当該光源の照度を下げる。これにより鏡面反射が生じなくなるので、鏡面反射に影響されず情報コードを迅速に読み取ることができる。 The optical information reading apparatus according to claim 1, wherein the image is divided into a plurality of image blocks, and an image block having excessive exposure is detected in the plurality of image blocks, thereby causing an image having specular reflection. Identify the block. Then, based on the stored correspondence relationship between each of the image blocks and the light source that illuminates the image block, the light source that illuminates the image block identified as having specular reflection is found, and the illuminance of the light source is determined. Lower. As a result, no specular reflection occurs, so that the information code can be read quickly without being affected by the specular reflection.

請求項2の光学情報読取装置では、情報コードが存在している画像ブロックを特定し、情報コードが存在し、且つ、過大な露光の有った画像ブロックを照明する光源の照度を下げる。このため、情報コードが存在している部分のみ鏡面反射が生じないようにできるので、照度を過度に下げることなく、情報コードを迅速に読み取ることができる。 In the optical information reading apparatus according to the second aspect, the image block in which the information code exists is specified, and the illuminance of the light source that illuminates the image block in which the information code exists and is excessively exposed is lowered. For this reason, since it is possible to prevent specular reflection from occurring only in the portion where the information code exists, the information code can be read quickly without excessively reducing the illuminance.

請求項3の光学情報読取装置では、鏡面反射が生じているとして照度を下げた画像ブロックの画像の露光時間又は増幅度を調整する。このため、照度を下げた画像ブロックの画像も適切に処理することができる。 According to another aspect of the optical information reading apparatus of the present invention, the exposure time or the amplification degree of the image of the image block whose illuminance has been lowered is adjusted because specular reflection has occurred. For this reason, the image of the image block with reduced illuminance can also be appropriately processed.

請求項4の光学情報読取装置では、照度を下げるときに光源を消灯するため、照度調整のための複雑な演算処理が不要で、情報コードを迅速に読み取ることが可能である。 In the optical information reading apparatus according to the fourth aspect, since the light source is turned off when the illuminance is lowered, a complicated calculation process for adjusting the illuminance is unnecessary, and the information code can be read quickly.

請求項5の光学情報読取装置では、過大な露光の有った画像ブロックを照明する光源の照度を下げる場合に、露光の程度を算出して、算出した程度に応じて照度を下げる。このため、照度の下げ過ぎが生じず、適切に画像ブロックを照明することで、確実に情報コードを読み取ることができる。 In the optical information reading apparatus according to the fifth aspect, when the illuminance of the light source that illuminates the image block with excessive exposure is lowered, the degree of exposure is calculated, and the illuminance is lowered according to the calculated degree. For this reason, the illuminance is not lowered excessively, and the information code can be reliably read by appropriately illuminating the image block.

[第1実施形態]
以下、本発明の光学情報読取装置の実施形態について図を参照して説明する。まず、第1実施形態に係る光学情報読取装置10の構成概要を図1に基づいて説明する。図1(A)は、第1実施形態の光学情報読取装置10の平面図であり、図1(B)は側面図である。図1(A)に示すように光学情報読取装置10は、ほぼ矩形箱状なすハウジング12を備え、該ハウジング12の上面に、商品のバーコード、携帯電話の表示器に表示されたQRコード等の情報コードを読み取る読取窓14が設けられている。読取窓14には樹脂プレート14Gが嵌められている。
[First embodiment]
Embodiments of an optical information reading apparatus according to the present invention will be described below with reference to the drawings. First, a schematic configuration of the optical information reading apparatus 10 according to the first embodiment will be described with reference to FIG. FIG. 1A is a plan view of the optical information reading apparatus 10 of the first embodiment, and FIG. 1B is a side view. As shown in FIG. 1 (A), an optical information reader 10 includes a housing 12 having a substantially rectangular box shape. On the upper surface of the housing 12, a barcode of a product, a QR code displayed on a display of a mobile phone, etc. A reading window 14 for reading the information code is provided. A resin plate 14G is fitted in the reading window 14.

ここで、光学情報読取装置10は、読取窓14に商品のバーコード、QRコードを表示した携帯電話50が押し当てられることで、読み取りを行う。ここで、バーコード、QRコードのデコードに成功した場合に、ブザーが鳴動させられ、デコード結果が上位装置へ送信される。 Here, the optical information reading apparatus 10 performs reading by pressing the mobile phone 50 displaying the barcode and QR code of the product against the reading window 14. Here, when the barcode and QR code are successfully decoded, the buzzer is sounded and the decoding result is transmitted to the host device.

図2は光学情報読取装置10の回路構成を示すブロック図である。
12個の照明器L1〜L12(図中L1、L12のみ示す)からの光は、読取窓14の樹脂プレート14Gを透過してバーコードBに照射される。バーコードBにより反射された光は、樹脂プレート14Gを透過してハウジング12内に入り、結像レンズ22へ入射し、CCDから成る受光センサ24にバーコードBの像を結像させる。バーコードBの像を光電変換して読み取った受光センサ24は、像のパターンを表す電気信号として増幅回路26へ出力する。増幅回路26からの増幅された信号はA/D変換回路28でデジタルデータに変換され、画像データ前処理回路32へ送られ、CPU40の処理により、そのデータをデコード(解読)して、情報コードが表している情報を得、その情報をメモリ34に一旦記憶する。次に、このメモリ34内に記憶されたデコード情報を通信回路44により、所定タイミングで、電波による無線通信あるいは有線通信で上位装置へ送信する。同時に、読み取り成功を告知するブザー46を鳴動させる。ここで、メモリ34のシステム領域には、CPU40の制御プログラム、後述する照明器と鏡面反射領域との対応マップ等が保持されている。クロック制御回路30は、受光センサ24、A/D変換回路28、画像データ前処理回路32に同期用のクロック信号を送る。外部から供給された電力は二次電池38及び電源回路36を介して光学情報読取装置10を動作させる。CPU40は、操作スイッチ42による操作に応じた読み取り処理を行う。
FIG. 2 is a block diagram showing a circuit configuration of the optical information reading apparatus 10.
Light from twelve illuminators L1 to L12 (only L1 and L12 are shown in the drawing) passes through the resin plate 14G of the reading window 14 and is applied to the barcode B. The light reflected by the barcode B passes through the resin plate 14G, enters the housing 12, enters the imaging lens 22, and forms an image of the barcode B on the light receiving sensor 24 composed of a CCD. The light receiving sensor 24 that has read and read the image of the barcode B by photoelectric conversion outputs it to the amplifier circuit 26 as an electric signal representing the pattern of the image. The amplified signal from the amplification circuit 26 is converted into digital data by the A / D conversion circuit 28, sent to the image data preprocessing circuit 32, and the data is decoded (decoded) by the processing of the CPU 40, and the information code Is obtained, and the information is temporarily stored in the memory 34. Next, the decoding information stored in the memory 34 is transmitted to the host device by radio communication or radio communication using radio waves at a predetermined timing by the communication circuit 44. At the same time, the buzzer 46 notifying the success of reading is sounded. Here, the system area of the memory 34 holds a control program of the CPU 40, a correspondence map between an illuminator and a specular reflection area, which will be described later, and the like. The clock control circuit 30 sends a clock signal for synchronization to the light receiving sensor 24, the A / D conversion circuit 28, and the image data preprocessing circuit 32. The electric power supplied from the outside operates the optical information reader 10 via the secondary battery 38 and the power supply circuit 36. The CPU 40 performs a reading process corresponding to the operation by the operation switch 42.

第1実施形態の光学情報読取装置10は、LEDから成る複数の照明器L1〜L12を備え、画像中で鏡面反射を起こしている部位を特定し、当該鏡面反射部位を照明している照明器L1〜L12を選択回路48で選択して消灯する。 The optical information reader 10 according to the first embodiment includes a plurality of illuminators L1 to L12 made of LEDs, identifies a part causing specular reflection in an image, and illuminates the specular reflection part. L1 to L12 are selected by the selection circuit 48 and turned off.

鏡面反射が生じる領域と、該鏡面反射を生じさせる照明器L1〜L12との対応関係について図3〜図7を参照して説明する。
図3(A)は、12個の照明器L1〜L12と結像レンズ22とを保持する光学モジュール20の説明図である。
光学モジュール20の中央部に結像レンズ22が配置され、結像レンズ22の回りを囲むように12個の照明器L1、L2、L3、L4、L5、L6、L7、L8、L9、L10、L11、L12が3行4列で配置されている。
The correspondence relationship between the region where the specular reflection occurs and the illuminators L1 to L12 causing the specular reflection will be described with reference to FIGS.
3A is an explanatory diagram of the optical module 20 that holds the 12 illuminators L1 to L12 and the imaging lens 22. FIG.
An imaging lens 22 is disposed at the center of the optical module 20, and 12 illuminators L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, and so on surround the imaging lens 22. L11 and L12 are arranged in 3 rows and 4 columns.

図3(B)は、上記照明器L1、L2、L3、L4、L5、L6、L7、L8、L9、L10、L11、L12により強く照明される領域を示している。照明器L1により領域A1が強く照明され鏡面反射を起こし得る。同様に照明器L2により領域A2が強く照明され、照明器L3により領域A3が強く照明され、照明器L4により領域A4が強く照明され、照明器L5により領域A5が強く照明され、照明器L6により領域A6が強く照明され、照明器L7により領域A7が強く照明され、照明器L8により領域A8が強く照明され、照明器L9により領域A9が強く照明され、照明器L10により領域A10が強く照明され、照明器L11により領域A11が強く照明され、照明器L12により領域A12が強く照明さる。 FIG. 3B shows a region that is strongly illuminated by the illuminators L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, and L12. The area A1 is strongly illuminated by the illuminator L1 and can cause specular reflection. Similarly, the area A2 is strongly illuminated by the illuminator L2, the area A3 is strongly illuminated by the illuminator L3, the area A4 is strongly illuminated by the illuminator L4, the area A5 is strongly illuminated by the illuminator L5, and the illuminator L6 is illuminated. The area A6 is strongly illuminated, the area A7 is strongly illuminated by the illuminator L7, the area A8 is strongly illuminated by the illuminator L8, the area A9 is strongly illuminated by the illuminator L9, and the area A10 is strongly illuminated by the illuminator L10. The area A11 is strongly illuminated by the illuminator L11, and the area A12 is strongly illuminated by the illuminator L12.

図4は、上述した照明器L1〜L12と強く照明される領域A1〜A12との対応関係を示すマップである。図4に示すマップの内容が、上述したメモリ34に照明器と鏡面反射領域との対応マップとして保持されている。 FIG. 4 is a map showing the correspondence between the illuminators L1 to L12 described above and the areas A1 to A12 that are strongly illuminated. The contents of the map shown in FIG. 4 are held in the above-described memory 34 as a correspondence map between the illuminator and the specular reflection area.

図5(A)は、光学モジュール20とバーコードとの距離による鏡面反射領域の変位を測定する方法の説明図である。ここでは、鏡面反射を起こしやすいように光学モジュール20の正面に鏡Mを置いて測定を行う。図中の上側が最短距離Laに鏡Mを配置した場合を、図中の下側が最長距離Lbに鏡Mを配置した場合を示している。図5(B)の左側は、図5(A)中の上側の最短距離Laに鏡Mを配置した際の鏡面反射状態を示し、図5(B)の右側は、図5(A)中の下側の最長距離Lbに鏡Mを配置した際の鏡面反射状態を示している。 FIG. 5A is an explanatory diagram of a method for measuring the displacement of the specular reflection region depending on the distance between the optical module 20 and the barcode. Here, measurement is performed with the mirror M placed in front of the optical module 20 so as to easily cause mirror reflection. The upper side in the figure shows the case where the mirror M is arranged at the shortest distance La, and the lower side in the figure shows the case where the mirror M is arranged at the longest distance Lb. The left side of FIG. 5B shows a specular reflection state when the mirror M is arranged at the uppermost shortest distance La in FIG. 5A, and the right side of FIG. 5B shows the mirror reflection state in FIG. The mirror reflection state when the mirror M is arranged at the longest distance Lb on the lower side is shown.

図5(B)の左側に示す最短距離Laに鏡Mを配置した際の鏡面反射状態での、領域A1から領域A10までの幅Lax1と、領域A1の幅Lax2との比(Lax1:Lax2)と、図5(B)の右側に示す最長距離Lbに鏡Mを配置した際の鏡面反射状態での、領域A1から領域A10までの幅Lbx1と、領域A1の幅Lbx2との比(Lbx1:Lbx2)は等しい。このLax1:Lax2=Lbx1:Lbx2の関係から、情報コードとの各距離において領域A1〜A12を特定する。 Ratio of the width Lax1 from the region A1 to the region A10 and the width Lax2 of the region A1 in the mirror reflection state when the mirror M is disposed at the shortest distance La shown on the left side of FIG. 5B (Lax1: Lax2) And the ratio of the width Lbx1 from the region A1 to the region A10 and the width Lbx2 of the region A1 (Lbx1 :) in the specular reflection state when the mirror M is arranged at the longest distance Lb shown on the right side of FIG. Lbx2) are equal. From the relationship of Lax1: Lax2 = Lbx1: Lbx2, the areas A1 to A12 are specified at each distance from the information code.

図6(A)は、図5(B)の左側に示す最短距離Laに情報コードを配置した際における第1実施形態での画像ブロックの構成を示す説明図である。光学情報読取装置10は、撮像した画像を図6(A)に示す画像ブロックBLに区画して処理を行い、上述した領域A1から領域A10までの幅Lax1に基づいて、画像ブロックBL上に領域A1〜A12を割り振る。図6(B)は、図6(A)中に楕円Cで示す部位を拡大して示す説明図である。領域A1は、区画xa、yaから区画xa、yaまでの画像ブロックの集合からなり、同様に、領域A2は、区画xc、ycから区画xd、ydまでの画像ブロックの集合からなる。この例の光学モジュール20と情報コードとが最短距離Laである場合(即ち、図1中に示す読取窓14の樹脂プレート14Gに情報コードを押し当てた状態)、1個の領域が縦横5個の画像ブロックから構成されているが、距離が離れるにつれて、領域を構成する画像ブロックの数が少なくなる。なお、第1実施形態では、1個の画像ブロックは、例えば、16画素から構成されているが、1個の画像ブロックを1画素で構成することもできる。 FIG. 6A is an explanatory diagram showing a configuration of an image block in the first embodiment when information codes are arranged at the shortest distance La shown on the left side of FIG. 5B. The optical information reading device 10 divides the captured image into image blocks BL shown in FIG. 6A and performs processing. Based on the above-described width Lax1 from the region A1 to the region A10, the optical information reading device 10 performs region processing on the image block BL. Allocate A1 to A12. FIG. 6B is an explanatory diagram illustrating an enlarged portion indicated by an ellipse C in FIG. The area A1 includes a set of image blocks from the sections xa and ya to the sections xa and ya, and similarly, the area A2 includes a set of image blocks from the sections xc and yc to the sections xd and yd. When the optical module 20 of this example and the information code are the shortest distance La (that is, the information code is pressed against the resin plate 14G of the reading window 14 shown in FIG. 1), one area has five vertical and horizontal areas. However, as the distance increases, the number of image blocks constituting the region decreases. In the first embodiment, one image block is composed of, for example, 16 pixels. However, one image block may be composed of one pixel.

図7は、光学情報読取装置10による情報コード読み取り処理を示すフローチャートである。光学情報読取装置10において図2中に示すA/D変換回路28は、AD10bitを出力する。ここで、画像の信号は8bitで扱い、これを越える場合には、露出飽和が生じている、即ち、鏡面反射が生じているものとして信号処理がなされる。 FIG. 7 is a flowchart showing information code reading processing by the optical information reading device 10. In the optical information reader 10, the A / D conversion circuit 28 shown in FIG. 2 outputs AD 10 bits. Here, the image signal is handled in 8 bits, and if it exceeds this, exposure saturation occurs, that is, signal processing is performed assuming that specular reflection occurs.

光学情報読取装置10は、デコード画像取り込みと、露出飽和検出画像の取り込みを行う(S12)。図8(A)は、バーコードBを撮像した受光センサ24での画像エリアIEの像を示している。バーコードBの像と共に鏡面反射MRが発生している。図8(B)は、画像ブロックBLと鏡面反射MRとを示す説明図である。次に、光学情報読取装置10は、図8(C)に示すようにバーコードBの存在しているコードエリアCEを、画像信号の白黒変化が起きている画像ブロックに基づき抽出、即ち、明暗変化点取得処理を行う(S14)。引き続き、図9(A)に示すように、上述したA/D変換回路28からの8bitを越える信号レベルの画像ブロックを露光飽和エリアOVとして抽出する(S15)。そして、図9(B)に示すように、バーコードの存在するコードエリアCEと露光飽和エリアOVを比較し(S16)、コードエリアCEに露光飽和エリアOVが掛かっていないかを判断する(S18)。 The optical information reader 10 captures a decoded image and captures an exposure saturation detection image (S12). FIG. 8A shows an image of the image area IE in the light receiving sensor 24 that images the barcode B. A specular reflection MR is generated together with the image of the bar code B. FIG. 8B is an explanatory diagram showing the image block BL and the specular reflection MR. Next, as shown in FIG. 8C, the optical information reader 10 extracts the code area CE in which the barcode B is present based on the image block in which the black and white change of the image signal occurs, that is, light and dark. A change point acquisition process is performed (S14). Subsequently, as shown in FIG. 9A, an image block having a signal level exceeding 8 bits from the A / D conversion circuit 28 is extracted as an exposure saturation area OV (S15). Then, as shown in FIG. 9B, the code area CE where the barcode is present and the exposure saturation area OV are compared (S16), and it is determined whether or not the exposure saturation area OV is applied to the code area CE (S18). ).

ここでは、図9(B)に示すようにコードエリアCEに露光飽和エリアOVが掛かっているため(S18:Yes)、露光飽和エリアOVが鏡面反射しているかを広範囲に渡って画像ブロックの信号レベルが上記8bitを越えるか否かにより判定する。そして、鏡面反射がある場合には(S26:Yes)、鏡面反射位置を検出する(S28)。ここでは、図9(C)に示すように、領域A1、A2、A5、A8、A9、A11、A12が鏡面反射位置として検出される。次に、領域A1、A2、A5、A8、A9、A11、A12を照明している照明器を図4を参照して上述した照明器と鏡面反射領域との対応マップに基づき求める(S30)。ここでは、照明器L1、L2、L5、L8、L9、AL11、L12を特定する。そして、コードエリアCEで鏡面反射を引き起こしている照明器L1、L2、L5、L8、L9、AL11、L12を図2に示す選択回路48で選択して消灯し(S32)、図10(A)に示すようにバーコードBに鏡面反射MRが掛からないようにする。最後に、消灯した照明器L1、L2、L5、L8、L9、AL11、L12で照明していた領域A1、A2、A5、A8、A9、A11、A12に対応する図10(B)に示す暗部DEの露光条件を補正する(S34)。即ち、暗部DEのX、Y座標に基づき、暗部DEに含まれる画像ブロックを画像信号を処理する際に、図2中の増幅回路26の増幅率を高める。 Here, since the exposure saturation area OV is applied to the code area CE as shown in FIG. 9B (S18: Yes), the signal of the image block over a wide range indicates whether the exposure saturation area OV is specularly reflected. Judgment is made based on whether the level exceeds 8 bits. If there is specular reflection (S26: Yes), the specular reflection position is detected (S28). Here, as shown in FIG. 9C, regions A1, A2, A5, A8, A9, A11, and A12 are detected as specular reflection positions. Next, the illuminator illuminating the areas A1, A2, A5, A8, A9, A11, and A12 is obtained based on the correspondence map between the illuminator and the specular reflection area described above with reference to FIG. 4 (S30). Here, the illuminators L1, L2, L5, L8, L9, AL11, and L12 are specified. Then, the illuminators L1, L2, L5, L8, L9, AL11, and L12 causing specular reflection in the code area CE are selected by the selection circuit 48 shown in FIG. 2 and turned off (S32), FIG. 10 (A). As shown in FIG. 4, the mirror B is not subjected to the specular reflection MR. Finally, the dark part shown in FIG. 10B corresponding to the areas A1, A2, A5, A8, A9, A11, A12 illuminated by the extinguished illuminators L1, L2, L5, L8, L9, AL11, L12. DE exposure conditions are corrected (S34). That is, based on the X and Y coordinates of the dark part DE, when the image signal included in the dark part DE is processed, the amplification factor of the amplifier circuit 26 in FIG. 2 is increased.

そして、S12の処理の戻り、再び画像取り込みを行い、コードエリアCEに飽和エリアが無くなると(S18:No)、デコードを行い(S20)、デコードしたデータを上位装置へ出力し(S22)、処理を終了する。 Then, the process returns to S12, the image is captured again, and when there is no saturated area in the code area CE (S18: No), decoding is performed (S20), and the decoded data is output to the host device (S22). Exit.

第1実施形態の光学情報読取装置10では、画像を複数個の画像ブロックBLに区画し、該複数個の画像ブロックBL中で過大な露光の有った画像ブロックBLを検出することで、鏡面反射の生じた画像ブロック(領域)を特定する。そして、領域のそれぞれと当該画像ブロックを照明する照明器との記憶されている対応関係に基づき、鏡面反射が生じているとして特定した画像ブロックを照明している照明器を探し出し、当該照明器を消灯する。これにより鏡面反射が生じなくなるので、鏡面反射に影響されず情報コードを迅速に読み取ることができる。特に、照度を下げるとために照明器を消灯するため、照度調整のための複雑な演算処理が不要で、情報コードを迅速に読み取ることが可能である。 In the optical information reading apparatus 10 according to the first embodiment, an image is partitioned into a plurality of image blocks BL, and an image block BL with excessive exposure is detected in the plurality of image blocks BL, thereby providing a mirror surface. An image block (region) in which reflection occurs is specified. Then, based on the stored correspondence relationship between each of the regions and the illuminator that illuminates the image block, the illuminator that illuminates the image block that is identified as having the specular reflection is found, and the illuminator is Turns off. As a result, no specular reflection occurs, so that the information code can be read quickly without being affected by the specular reflection. In particular, since the illuminator is turned off to reduce the illuminance, a complicated calculation process for adjusting the illuminance is unnecessary, and the information code can be read quickly.

また、第1実施形態の光学情報読取装置10では、鏡面反射が生じているとして照度を下げた画像ブロックBL(暗部DE)の画像の増幅度又は露光時間を調整する。このため、照度を下げた画像ブロックBL(暗部DE)の画像も適切に処理することができる。 Further, in the optical information reading apparatus 10 of the first embodiment, the amplification degree or exposure time of the image of the image block BL (dark part DE) with reduced illuminance is adjusted because specular reflection has occurred. For this reason, the image of the image block BL (dark part DE) with reduced illuminance can also be appropriately processed.

[第2実施形態]
引き続き、本発明の第2実施形態に掛かる光学情報読取装置について説明する。
第1実施形態の光学情報読取装置では、鏡面反射を生じさせている照明器を消灯した。これに対して、第2実施形態では、鏡面反射を生じさせている照明器の照度を低下させる。第2実施形態の光学情報読取装置の回路構成は、図2を参照して上述した第1実施形態と同様であるため説明を省略し、光学情報の読み取り処理について、当該処理のフローチャートである図11を参照して説明する。
[Second Embodiment]
Subsequently, an optical information reading apparatus according to the second embodiment of the present invention will be described.
In the optical information reading apparatus of the first embodiment, the illuminator causing specular reflection is turned off. On the other hand, in 2nd Embodiment, the illumination intensity of the illuminator which has caused specular reflection is reduced. The circuit configuration of the optical information reading device of the second embodiment is the same as that of the first embodiment described above with reference to FIG. 11 will be described.

S12〜S30までの処理は、第1実施形態と同様であるため説明を省略する。
鏡面反射を起こしている領域A1、A2、A5、A8、A9、A11、A12を照明している照明器を図4を参照して上述した照明器と鏡面反射領域との対応マップに基づき求める(S30)。ここでは、照明器L1、L2、L5、L8、L9、AL11、L12を特定したとする。そして、コードエリアCEで鏡面反射を引き起こしている照明器L1、L2、L5、L8、L9、AL11、L12の領域A1、A2、A5、A8、A9、A11、A12でのそれぞれの照度に応じて、鏡面反射を起こさない照度を求め(S40)、求めた照度になるように各照明器L1、L2、L5、L8、L9、AL11、L12の照度を調整する(S42)。以降の処理は、第1実施形態と同様であるため説明を省略する。
Since the processing from S12 to S30 is the same as that of the first embodiment, the description thereof is omitted.
The illuminator that illuminates the areas A1, A2, A5, A8, A9, A11, and A12 causing specular reflection is obtained based on the correspondence map between the illuminator and the specular reflection area described above with reference to FIG. S30). Here, it is assumed that the illuminators L1, L2, L5, L8, L9, AL11, and L12 are specified. And according to each illuminance in the areas A1, A2, A5, A8, A9, A11, A12 of the illuminators L1, L2, L5, L8, L9, AL11, L12 causing specular reflection in the code area CE The illuminance that does not cause specular reflection is obtained (S40), and the illuminance of each of the illuminators L1, L2, L5, L8, L9, AL11, and L12 is adjusted so as to obtain the obtained illuminance (S42). Since the subsequent processing is the same as that of the first embodiment, the description thereof is omitted.

第2実施形態の光学情報読取装置では、情報コードが存在している画像ブロックBLを特定し、情報コードが存在し、且つ、過大な露光の有った画像ブロックBL(領域)を照明する照明器の照度を下げる。このため、情報コードが存在している部分のみ鏡面反射が生じないようにできるので、照度を過度に下げることなく、情報コードを迅速に読み取ることができる。 In the optical information reading device of the second embodiment, the illumination is performed to identify the image block BL in which the information code is present and to illuminate the image block BL (region) in which the information code is present and overexposed. Reduce the illuminance of the vessel. For this reason, since it is possible to prevent specular reflection from occurring only in the portion where the information code exists, the information code can be read quickly without excessively reducing the illuminance.

また、第2実施形態の光学情報読取装置では、過大な露光の有った画像ブロックBLを照明する照明器の照度を下げる場合に、露光の程度を算出して、算出した程度に応じて照度を下げる。このため、照度の下げ過ぎが生じず、適切に画像ブロックBLを照明することで、確実に情報コードを読み取ることができる。 Further, in the optical information reading apparatus of the second embodiment, when the illuminance of the illuminator that illuminates the image block BL with excessive exposure is lowered, the degree of exposure is calculated, and the illuminance according to the calculated degree Lower. For this reason, the illuminance is not lowered excessively, and the information code can be reliably read by appropriately illuminating the image block BL.

図1(A)は本発明の第1実施形態に係る光学情報読取装置の平面図であり、図1(B)は側面図である。FIG. 1A is a plan view of the optical information reading apparatus according to the first embodiment of the present invention, and FIG. 1B is a side view thereof. 第1実施形態の光学情報読取装置の回路構成を示すブロック図である。It is a block diagram which shows the circuit structure of the optical information reader of 1st Embodiment. 図3(A)は、12個の照明器と結像レンズとを保持する光学モジュールの説明図であり、図3(B)は、各照明器により照明される領域を示す説明図である。FIG. 3A is an explanatory diagram of an optical module that holds twelve illuminators and an imaging lens, and FIG. 3B is an explanatory diagram showing a region illuminated by each illuminator. 照明器と鏡面反射領域との対応マップの説明図である。It is explanatory drawing of the corresponding | compatible map with an illuminator and a specular reflection area | region. 図5(A)は、光学モジュール20とバーコードとの距離による鏡面反射領域の変位を測定する方法の説明図であって、図中の上側が最短距離Laに鏡を配置した場合を、図中の下側が最長距離Lbに鏡を配置した場合を示している。図5(B)の左側は、図5(A)中の上側の最短距離Laに鏡Mを配置した際の鏡面反射状態を示し、図5(B)の右側は、図5(A)中の下側の最長距離Lbに鏡Mを配置した際の鏡面反射状態を示している。FIG. 5A is an explanatory diagram of a method of measuring the displacement of the specular reflection area depending on the distance between the optical module 20 and the barcode, and the upper side in the figure shows the case where the mirror is arranged at the shortest distance La. The lower side of the middle shows a case where a mirror is arranged at the longest distance Lb. The left side of FIG. 5B shows a specular reflection state when the mirror M is arranged at the uppermost shortest distance La in FIG. 5A, and the right side of FIG. 5B shows the mirror reflection state in FIG. The mirror reflection state when the mirror M is arranged at the longest distance Lb on the lower side is shown. 図6(A)は、第1実施形態での画像ブロックの構成を示す説明図であり、図6(B)は、図6(A)中に楕円Cで示す部位を拡大して示す説明図である。6A is an explanatory diagram illustrating the configuration of an image block in the first embodiment, and FIG. 6B is an explanatory diagram illustrating an enlarged portion indicated by an ellipse C in FIG. 6A. It is. 第1実施形態に係る光学情報読取装置による情報コード読み取り処理を示すフローチャートである。It is a flowchart which shows the information code reading process by the optical information reading apparatus which concerns on 1st Embodiment. 第1実施形態に係る光学情報読取装置による画像処理の説明図である。It is explanatory drawing of the image process by the optical information reader which concerns on 1st Embodiment. 第1実施形態に係る光学情報読取装置による画像処理の説明図である。It is explanatory drawing of the image process by the optical information reader which concerns on 1st Embodiment. 第1実施形態に係る光学情報読取装置による画像処理の説明図である。It is explanatory drawing of the image process by the optical information reader which concerns on 1st Embodiment. 第2実施形態に係る光学情報読取装置による情報コード読み取り処理を示すフローチャートである。It is a flowchart which shows the information code reading process by the optical information reader which concerns on 2nd Embodiment.

符号の説明Explanation of symbols

10 光学情報読取装置
24 受光センサ
26 増幅回路
28 A/D変換回路
32 画像データ前処理回路
34 メモリ
40 CPU
L1〜L12 照明器
A1〜A12 領域
BL 画像ブロック
DESCRIPTION OF SYMBOLS 10 Optical information reader 24 Light reception sensor 26 Amplification circuit 28 A / D conversion circuit 32 Image data pre-processing circuit 34 Memory 40 CPU
L1-L12 Illuminator A1-A12 Region BL Image block

Claims (5)

複数の光源と、画像を取り込む画像取得手段と、画像から情報コードを検出する情報コード検出手段と、検出された情報コードを解読する解読手段とを備える光学情報読取装置であって、
前記画像を複数個の画像ブロックに区画し、該複数個の画像ブロック中で過大な露光の有った画像ブロックを検出する飽和画像ブロック検出手段と、
前記画像ブロックのそれぞれと、当該画像ブロックを照明する光源との対応関係を記憶する記憶手段と、
前記記憶手段により記憶された対応関係に基づき、前記飽和画像ブロック検出手段により検出された過大な露光の有った画像ブロックを照明する光源の照度を下げる照度調整手段とを備えることを特徴とする光学情報読取装置。
An optical information reader comprising a plurality of light sources, an image acquisition means for capturing an image, an information code detection means for detecting an information code from the image, and a decoding means for decoding the detected information code,
Saturated image block detecting means for dividing the image into a plurality of image blocks and detecting image blocks with excessive exposure in the plurality of image blocks;
Storage means for storing a correspondence relationship between each of the image blocks and a light source that illuminates the image block;
Illuminance adjusting means for reducing the illuminance of a light source that illuminates an image block with excessive exposure detected by the saturated image block detecting means based on the correspondence stored by the storage means. Optical information reader.
前記情報コード検出手段により検出された情報コードが存在している画像ブロックを特定する画像ブロック特定手段を備え、
前記照度調整手段は、画像ブロック特定手段により特定された情報コードが存在し、且つ、過大な露光の有った画像ブロックを照明する光源の照度を下げることを特徴とする請求項1の光学情報読取装置。
An image block specifying means for specifying an image block in which the information code detected by the information code detecting means exists;
2. The optical information according to claim 1, wherein the illuminance adjusting means lowers the illuminance of a light source that illuminates an image block with an excessive exposure, in which the information code specified by the image block specifying means exists. Reader.
前記照度を下げた画像ブロックの画像の露光時間又は増幅度を調整する露光補償手段を備えることを特徴とする請求項1又は請求項2の光学情報読取装置。 The optical information reader according to claim 1, further comprising an exposure compensation unit that adjusts an exposure time or an amplification degree of an image of the image block with the reduced illuminance. 前記照度調整手段は、照度を下げるときに光源を消灯することを特徴とする請求項1〜請求項3のいずれか1の光学情報読取装置。 The optical information reader according to claim 1, wherein the illuminance adjusting unit turns off the light source when the illuminance is lowered. 前記照度調整手段は、前記過大な露光の有った画像ブロックを照明する光源の照度を下げる場合に、露光の程度を算出して、算出した程度に応じて光源の照度を下げることを特徴とする請求項1〜請求項3のいずれか1の光学情報読取装置。 The illuminance adjusting means calculates the degree of exposure when reducing the illuminance of the light source that illuminates the image block with excessive exposure, and reduces the illuminance of the light source according to the calculated degree. The optical information reader according to any one of claims 1 to 3.
JP2006147806A 2006-05-29 2006-05-29 Optical information reader Expired - Fee Related JP4572871B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006147806A JP4572871B2 (en) 2006-05-29 2006-05-29 Optical information reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006147806A JP4572871B2 (en) 2006-05-29 2006-05-29 Optical information reader

Publications (2)

Publication Number Publication Date
JP2007317059A true JP2007317059A (en) 2007-12-06
JP4572871B2 JP4572871B2 (en) 2010-11-04

Family

ID=38850845

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006147806A Expired - Fee Related JP4572871B2 (en) 2006-05-29 2006-05-29 Optical information reader

Country Status (1)

Country Link
JP (1) JP4572871B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013045128A (en) * 2011-08-22 2013-03-04 Denso Wave Inc Optical information reader
JP2016170768A (en) * 2015-03-12 2016-09-23 ワム・システム・デザイン株式会社 Code reader, code reading method, and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH076197A (en) * 1993-06-15 1995-01-10 Asahi Optical Co Ltd Optical reader
JPH11120283A (en) * 1997-10-13 1999-04-30 Denso Corp Optical information reader
JPH11120284A (en) * 1997-10-15 1999-04-30 Denso Corp Optical information reader and recording medium
JP2003168070A (en) * 2001-11-30 2003-06-13 Olympus Optical Co Ltd Code reader
JP2004213331A (en) * 2002-12-27 2004-07-29 Optoelectronics Co Ltd Optical information reading device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH076197A (en) * 1993-06-15 1995-01-10 Asahi Optical Co Ltd Optical reader
JPH11120283A (en) * 1997-10-13 1999-04-30 Denso Corp Optical information reader
JPH11120284A (en) * 1997-10-15 1999-04-30 Denso Corp Optical information reader and recording medium
JP2003168070A (en) * 2001-11-30 2003-06-13 Olympus Optical Co Ltd Code reader
JP2004213331A (en) * 2002-12-27 2004-07-29 Optoelectronics Co Ltd Optical information reading device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013045128A (en) * 2011-08-22 2013-03-04 Denso Wave Inc Optical information reader
JP2016170768A (en) * 2015-03-12 2016-09-23 ワム・システム・デザイン株式会社 Code reader, code reading method, and program

Also Published As

Publication number Publication date
JP4572871B2 (en) 2010-11-04

Similar Documents

Publication Publication Date Title
US6128420A (en) Data symbol reading system
US6637658B2 (en) Optical reader having partial frame operating mode
US6695209B1 (en) Triggerless optical reader with signal enhancement features
CN103201752B (en) Adaptive data reader and method of operating
JP2008047091A (en) Optical information reader
US20050167498A1 (en) Method and apparatus for optically picking up an image of an information code
EP0910033A2 (en) Object sensor system comprising controlled light source
CN101860676A (en) Imaging terminal with colour correction
JP2007249488A (en) Rfid system, rfid reading method
US8903201B2 (en) Method and apparatus for enhanced document capture
JP4470860B2 (en) Information code reader
JP4572871B2 (en) Optical information reader
JP4325602B2 (en) Optical information reader
JP2006004353A (en) Optical information reading device
JP4293199B2 (en) Optical information reader
JP2008071032A (en) Optical information reader
JP2006284596A (en) Photographing equipment
JP2006126207A (en) Photographed image determination system and photographic equipment
JP4497144B2 (en) Optical information reader
JP4181071B2 (en) Double line sensor camera and code reader using the camera
JP4107280B2 (en) Image sensor and information code reader
US9367721B2 (en) Imaging optical code scanner with camera regions
US11501098B2 (en) Information code reader
KR100725647B1 (en) Apparatus for stamp type barcode reader
JP2890935B2 (en) Portable optical information reader

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080617

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100412

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100420

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100611

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: 20100720

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100802

R150 Certificate of patent or registration of utility model

Ref document number: 4572871

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130827

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20130827

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20130827

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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