WO2009107570A1 - Code reader - Google Patents

Code reader Download PDF

Info

Publication number
WO2009107570A1
WO2009107570A1 PCT/JP2009/053124 JP2009053124W WO2009107570A1 WO 2009107570 A1 WO2009107570 A1 WO 2009107570A1 JP 2009053124 W JP2009053124 W JP 2009053124W WO 2009107570 A1 WO2009107570 A1 WO 2009107570A1
Authority
WO
WIPO (PCT)
Prior art keywords
light source
light
code
image
reading
Prior art date
Application number
PCT/JP2009/053124
Other languages
French (fr)
Japanese (ja)
Inventor
トーカーギャレット
Original Assignee
株式会社東研
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 株式会社東研 filed Critical 株式会社東研
Publication of WO2009107570A1 publication Critical patent/WO2009107570A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10712Fixed beam scanning
    • G06K7/10722Photodetector array or CCD scanning

Definitions

  • the present invention relates to a code reader that optically reads a two-dimensional code or the like formed on the surface of an object, and more specifically, an imaging unit and an image processing unit so that the code can be read with high accuracy. Relates to an improved code reader. Background art
  • one-dimensional or two-dimensional codes in which information such as product and part numbers, product names, and prices are symbolized with black and white stripes are widely used to quickly recognize management information for products and parts. ing.
  • the pattern of these codes is represented by marks with different reflectivities. For example, in a one-dimensional code, a series of numbers and letters are represented by a combination of line width ratios. And various information such as part numbers, names, and prices are replaced with the above numbers and letters.
  • a code represented by a bar code is read by a reading device called a bar code reader.
  • This bar code reader is a device that hits light on a bar code, receives light returned from white and black stripes with different reflectivities, and decodes them into original numbers based on the intensity of the reflected light. It is.
  • code readers There are two types of code readers: a hand-held type that allows the operator to hold the device in hand, and a stationary type that allows a product with a bar code to pass over the reading window. is there.
  • FIG. 1 is a perspective view showing an example of a general hand-held bar code reader.
  • the main body of the bar code reader 1 0 0 1 0 1 Has a substantially rectangular parallelepiped shape with a “L” cross section.
  • a code reading unit 10 2 is provided at the tip of one end of the main unit 10 1, and the data of the read code is registered, deleted, displayed, guidance, etc. on the upper surface of the other end of the main unit 1 0 1.
  • a numeric keypad 10 3 for inputting the command
  • a display unit 10 4 including a liquid crystal panel for displaying predetermined items.
  • the user When using the code reader 1 0 0, the user holds the other end of the main body 1 0 1 with one hand and presses the reading unit 1 0 2 against the code to be read, and the side surface of the main body 1 0 1 Press the trigger button 1 0 5 provided in the section. Then, since the code is read via the reading unit 102, the user presses a predetermined numeric keypad 103 and inputs a command for registering and displaying the data of the code.
  • dot beans and laser markers in this direct patterning identification (DPMI) technique.
  • the dot bean is marked by denting the surface of the product, so it is characterized by excellent durability and printing that does not disappear.For example, it is used for product management such as engine blocks. .
  • a code reading device used to read a code that has been directly dot-marked on a glossy surface of metal or the like irradiates oblique illumination light as means for irradiating the code that is the object to be read.
  • a means for picking up an image and a means for picking up an image by irradiating coaxial incident illumination light have been used.
  • a bright code portion (dot portion) is projected on a dark background, while in the image generated by the latter image pickup means, the image is dark on a light background. The old code part is projected.
  • the present invention has been made in view of the above circumstances, and the object of the present invention is to provide a highly accurate code even when the reflection characteristics of light on the surface of the reading object on which the code is formed are different. It is an object of the present invention to provide a code reader that can be read and that is easy to set up and use.
  • the object of the present invention is to provide a code reading device for optically reading a code marked on the surface of an object to be read, a housing having a reading opening, and the code through the reading opening.
  • First light source means for irradiating illumination light to the two-dimensional area from the incident direction
  • second light source means for irradiating illumination light to the two-dimensional area from the oblique direction via the reading opening
  • the first light source First illumination light reflected from the two-dimensional area and illumination light from the second light source reflected from the second dimension area are reflected through the reading aperture.
  • the imaging means is a color camera
  • the illumination light of the one light source means and the illumination light of the second light source means are light of different colors, respectively, and the force beam is irradiated from the first light source means and the second light source means simultaneously.
  • the reflected light of the illumination light is imaged, and the image processing unit separates the captured image of the color camera based on the color component of the illumination light, whereby the image of the first light source reflected light and the first light source are separated.
  • the two light source reflected light image is generated effectively.
  • the above object is effectively achieved by the fact that the color of illumination light of the first light source means and the second light source means is any one of red, green, and blue.
  • the object is to provide the first illumination unit and the reading opening between the first illumination unit and the reading opening unit.
  • An optical filter that allows only the wavelength component of the illumination light of the illuminating means to pass therethrough is provided, and the optical filter is effectively achieved by having a hole at a location that intersects at least the field of view of the imaging means. .
  • the code reading image is generated by performing the difference processing. As a result, an image for code reading from which the noise on the glossy surface of the object to be read is removed is generated, and stable and highly accurate code reading can be executed.
  • the image pickup means is a color camera
  • the first light source means (epi-illumination direction) and the second light source means (diagonal direction) are illuminated with different colors of illumination light, and the image is irradiated simultaneously from the epi-illumination direction and the oblique direction. Images were taken, and the captured images were separated based on the color components of the illumination light, so that images for each illumination direction could be obtained. As a result, the number of times of imaging for one code can be reduced to one, so the imaging time is greatly reduced. At the same time, it is possible to perform reading that is strong against blurring caused by subject movement due to movement of the code and camera movement due to movement of the reading device.
  • an optical filter that allows only the wavelength component of the illumination light of the first light source means to pass is provided between the first light source means and the reading aperture, and the central portion of the optical filter that intersects the field of view of the imaging means is provided. A hole was drilled in. Accordingly, it is possible to prevent the generation of a false image that occurs when a part of the illumination light emitted from the second light source unit is reflected by the reading target and then re-reflected by the first light source unit.
  • FIG. 1 is a perspective view showing an example of a general hand-held bar code reader.
  • FIG. 2 is a cross-sectional view schematically showing the basic configuration of the code reader according to the first embodiment of the present invention.
  • FIG. 3 is an explanatory diagram showing an optical path of oblique illumination light.
  • FIG. 4 is an image of a reading object imaged using oblique illumination light.
  • FIG. 5 is an explanatory view showing the optical path of the epi-illumination light.
  • FIG. 6 is an image of a reading object imaged using epi-illumination light.
  • FIG. 7 is a block diagram showing an image processing flow of the code reading apparatus according to the first embodiment.
  • FIG. 8 is an image of the read object that has been subjected to image processing.
  • FIG. 9 is a block diagram showing a modification of the image processing flow of the code reading apparatus according to the first embodiment.
  • FIG. 10 is a cross-sectional view of an essential part schematically showing a basic configuration of a code reading apparatus according to a second embodiment of the present invention.
  • FIG. 11 is a mirror image captured by providing an optical filter between the incident light source and the reading aperture.
  • Fig. 12 shows a mirror image taken without an optical filter between the incident light source and the reading aperture.
  • a dot-shaped coordinate mark (DPMI) is provided on the surface of a reading object made of metal or the like.
  • the present invention is applied to a handy type code reading device that reads a needle.
  • FIG. 2 is a cross-sectional view schematically showing the basic configuration of the code reading device according to the embodiment of the present invention according to the first embodiment of the present invention.
  • a code reading device 1 has a housing 2 formed in an L-shaped cross section that can be operated by a user with one hand.
  • a reading opening 2 is provided at one end of the housing 2.
  • a is formed, and a trigger button 3 for image capture is provided at the bent portion.
  • the code 5 marked on the surface of the reading object (metal plate or the like) 4 is optically read by the code reading device 1 through the reading opening 2a.
  • the code reader 1 includes an incident light source (first light source) 6 that irradiates illumination light 6 L from the incident direction onto a two-dimensional area including the code 5 through the reading opening 2 a inside the housing 2, An oblique light source (second light source) 7 that irradiates illumination light 7 L obliquely onto the two-dimensional area through the opening 2 a and imaging that receives reflected light of the illumination light irradiated on the two-dimensional area A unit 8 and an image processing unit 9 for processing an image captured by the imaging unit 8.
  • first light source incident light source
  • second light source 7 that irradiates illumination light 7 L obliquely onto the two-dimensional area through the opening 2 a
  • imaging receives reflected light of the illumination light irradiated on the two-dimensional area
  • a unit 8 and an image processing unit 9 for processing an image captured by the imaging unit 8.
  • the image pickup unit 8 is a color camera such as a CCD type or a MOS type, and has a lens 8 a that focuses the picked-up image on the color camera, and is substantially at the center of the reading opening 2 a. It is arranged above the part. Note that the two long dotted lines extending downward from the imaging unit 8 indicate the outer edge of the visual field 8 V of the imaging unit 8, and this visual field 8 V is slightly smaller than the reading aperture 2a. Is set to In addition, the optical axis of the camera of the image pickup unit 8 is preferably inclined by about 10 ° with respect to the incident direction, so that the reflection of the ghost image of the light receiving unit can be removed from the field of view 8 V. it can.
  • the incident light source 6 and the direction light source 7 are composed of a high-intensity LED array and the like, and both emit light of different colors.
  • the color used for these illumination lights 6 L and 7 L is preferably one of the three primary colors (red, green, and blue).
  • the oblique light source 7 emits red light.
  • an LED that emits green illumination light is used as the incident light source 6.
  • the oblique light source 7 preferably has an incident angle of the illumination light 7 L (an angle formed between the surface of the cord 5 and the incident light beam) of 35 to 55 °, and particularly preferably 45 °.
  • the trigger button 3 is placed with the reading opening 2a of the housing 2 close to the surface of the reading object 4 marked with the code 5 in a substantially parallel manner.
  • the illumination light 6 L and 7 L are irradiated from the incident light source 6 and the oblique light source 7 to the reading object 4 through the reading opening 2 a, and the reflected light from the reading object 4 is reflected.
  • the two-dimensional area image including the code 5 is picked up by being received by the image pickup unit 8 through the reading opening 2 a.
  • FIG. 3 is an explanatory diagram showing an optical path of oblique illumination light
  • FIG. 4 is an image of a reading object imaged using the oblique illumination light.
  • the imaging unit 8 On the other hand, the light reflected by the surface of the reading object 4 around the code 5 is not received by the imaging unit 8. Therefore, as shown in FIG. 4, in the image obtained by capturing the reflected light of the oblique illumination light 7 L, the code 5 is roughly white and the surface of the reading object 4 around the code 5 is black.
  • reading Scratches such as cutting marks formed on the surface of the object to be picked up 4 also appear white, and the overall clarity of the rectangular code 5 is low.
  • FIG. 5 is an explanatory diagram showing the optical path of the epi-illumination light
  • FIG. 6 is an image of the reading object imaged using the epi-illumination light.
  • FIG. 7 is a block diagram showing an image processing flow of the code reading apparatus according to the present embodiment.
  • a reading object 4 including a code (mark) 5 irradiated with oblique illumination light 7 L and epi-illumination light 6 L is imaged by a color camera (imaging unit) 8, and the captured image
  • the image processing unit 9 sent to the image processing unit 9 provided in the housing 2 first separates the captured image captured by the color camera 8 based on the color components, and outputs a color-specific image (R ( Red light) image, G (green light) image, and B (blue light) image).
  • R Red light
  • G green light
  • B blue light
  • FIG. 4 is an image A (R image) generated based on the reflected light of the oblique illumination light 7 L (red light emission), and shown in FIG.
  • the image is an image B (G image) generated based on reflected light of epi-illumination light 6 L (green light emission).
  • A is a pixel value (0 to 255) in the image A at a predetermined position
  • ⁇ ff s_A is an offset value (0.1 to 2.0) depending on the setting of the imaging unit 8. It is.
  • B is the pixel value (0 to 255) in the image B at the same position, and “ ⁇ ffs—B” is the offset value (0.1 to 2.0) depending on the above setting.
  • C is a pixel value obtained as a result of the above difference processing.
  • the decoded image generated by the image processing unit 9 is copied based on the image data.
  • the data recorded in code 5 is output to a decoding unit (not shown) that reproduces the data, and the predetermined data corresponding to code 5 is reproduced.
  • Fig. 8 shows a decoded image generated by differential processing of the two images A and B. Comparing this decoded image with the color-by-color images in Figs. 4 and 6, the decoded image in Fig. 8 erases scratches such as cutting marks formed on the surface of the object 4 to be read. It can be seen that 5 is displayed more clearly.
  • the oblique illumination light 7L is emitted in red and the incident illumination light 6L is emitted in green.
  • the present invention is not limited to this, and the oblique illumination light 7L and As long as the illumination light of a different color is used for the epi-illumination light 6 L, the emitted color and combination may be any.
  • the image A based on the reflected light is generated and the two images A and B are subjected to differential processing to generate a decoded image with high definition.
  • the imaging unit 8 is a color camera, and illumination light of different colors is used for the incident light source 6 and the oblique light source 7, and the light sources 6 and 7 are simultaneously emitted.
  • Images were captured as they were, and the captured images were separated based on the color component of the illumination light to generate images A and B for each illumination direction.
  • the number of times of imaging for one code 5 can be reduced by one, so the imaging time is greatly reduced, and the subject is not subject to blur due to the movement of code 5, and the camera is resistant to camera shake due to the movement of code reader 1. Can be executed.
  • FIG. 9 is a block diagram showing a modification of the image processing flow of the code reading apparatus according to the present embodiment.
  • one of the incident light source 6 and the oblique light source 7 is activated, and an image of the reading object 4 is picked up by the image pickup unit 8.
  • the other light source is activated and the image of the reading object 4 is picked up by the image pickup unit 8.
  • the two captured images A and B are sent to the image processing unit 9 respectively.
  • the image processing unit 9 performs differential processing on the captured image A and the captured image B based on the above-described [Equation 1] to generate a decoded image for reading the code 5.
  • FIG. 10 is a cross-sectional view of an essential part schematically showing a basic configuration of a code reading apparatus according to a second embodiment of the present invention.
  • the same members as those in the first embodiment described above are denoted by the same reference numerals, and the description thereof is omitted.
  • the first embodiment described above is provided in that the optical filter 10 is disposed between the incident light source 6 and the reading opening 2 a. It is different from the form.
  • the optical filter 10 is configured to allow only the epi-illumination light 6L to pass therethrough, and a hole 10a is formed in the center thereof.
  • the hole 10 a is provided so that the imaging unit 8 can capture the oblique illumination light 7 L reflected by the code 5. Therefore, at least a portion of the optical filter 10 that intersects the visual field 8 V of the imaging unit 8 is formed with the hole 10 a.
  • FIG. 11 is a mirror image taken with the optical filter 10 placed between the epi-illumination light source 6 and the reading opening 2a, and FIG. 1 2 does not have this optical filter 10. It is the image of the mirror surface imaged in (1). Comparing these figures, it can be seen that the image in FIG. 12 has more light spots than the image in FIG. That is, this result is that a false image generated by re-reflecting by the incident light source 6 after a part of the oblique illumination light 7 L is reflected by the reading object is cut by the optical filter 10. It means that.
  • the incident light source 6, the reading opening 2 a, and the like can be obtained in addition to the same operational effects as the first embodiment described above.
  • the provision of the optical filter 10 that allows the incident illumination light 6 L to pass through prevents the oblique illumination light 7 L from being reflected again by the incident light source 6 to prevent the generation of false images. it can.
  • the occurrence of erroneous code recognition due to false images can be reduced, and more accurate code reading can be performed.

Abstract

A code reader is provided with a case having a readout opening section; a first light source means which irradiates a two-dimensional area, including a code, with illuminating light from above through the readout opening section; a second light source means which irradiates the two-dimensional area, including the code, with illuminating light from a diagonal direction through the readout opening section; an imaging means which receives first light source reflection light, which is reflection light of illuminating light emitted from the first light source means and reflected from the two-dimensional area, and second light source reflection light, which is reflection light of illuminating light emitted from the second light source means and reflected from the two-dimensional area; an image processing section which generates an image for code readout by performing differential processing to an image formed by the first light source reflection light and an image formed by second light source reflection light; and a decoder means which reproduces prescribed data which corresponds to a code, based on the image for code readout.

Description

明 細 書 コード読取装置 技術分野  Paper Code Reader Technical Field
本発明は、 物体の表面に形成された 2次元コードなどを光学的に読み取る コ一ド読取装置に関し、 より詳細には、 コードを高精度に読み取ることができ るように撮像手段および画像処理手段を改良したコード読取装置に関する。 背景技術  The present invention relates to a code reader that optically reads a two-dimensional code or the like formed on the surface of an object, and more specifically, an imaging unit and an image processing unit so that the code can be read with high accuracy. Relates to an improved code reader. Background art
近年、 製品や部品の管理情報を短時間で認識するために、 製品や部品の番 号、 品名、 価格などの情報を白黒等の縞模様で記号化した 1次元または 2次元 コードが広く用いられている。 これらのコードの模様は、 異なる反射率を有す るマークで表されており、 例えば、 1次元コ一ドにおいては、 線の幅の比の組 み合わせで一連の数字や文字を表し、 製品や部品の番号、 名称、 価格などの各 種情報が上記数字や文字に置き換えられている。  In recent years, one-dimensional or two-dimensional codes in which information such as product and part numbers, product names, and prices are symbolized with black and white stripes are widely used to quickly recognize management information for products and parts. ing. The pattern of these codes is represented by marks with different reflectivities. For example, in a one-dimensional code, a series of numbers and letters are represented by a combination of line width ratios. And various information such as part numbers, names, and prices are replaced with the above numbers and letters.
例えば、 バーコ一ドで表されたコードは、 バーコードリーダと呼ばれる読 取装置によって読み取られる。 このバーコ一ドリーダは、 光をバーコードに当 て、 反射率の異なる白と黒の縞模様から返ってくる光を受けて、 その反射光の 強弱のパターンに基づいて元の数字に解読する装置である。 この種のコード読 取装置には、 操作者が装置を手に持って利用する手持ち式のタイプと、 読取窓 の上をバ一コ一ドのついた製品等を通過させる定置式のタイプがある。  For example, a code represented by a bar code is read by a reading device called a bar code reader. This bar code reader is a device that hits light on a bar code, receives light returned from white and black stripes with different reflectivities, and decodes them into original numbers based on the intensity of the reflected light. It is. There are two types of code readers: a hand-held type that allows the operator to hold the device in hand, and a stationary type that allows a product with a bar code to pass over the reading window. is there.
このうち、 手持ち式 (ハンディタイプ) のコード読取装置は、 P O S (販 売時点情報管理) システムとして、 ス一パーマーケット、 デパート、 コンビニ エンスストア等で多用されている (例えば、 日本国特開 2 0 0 0— 2 9 8 6 9 8号公報を参照)。 第 1図は、 一般的なハンディタイプのバ一コードリーダの一 例を示す斜視図である。 同図において、 バ一コードリーダ 1 0 0の本体 1 0 1 は、 横断面が 『L』 字状である略直方体形状をなしている。 本体 1 0 1の一端 の先端部には、 コードの読取部 1 0 2が設けられ、 本体 1 0 1の他端の上面部 には、 読み取ったコードのデータの登録、 抹消、 表示、 ガイダンス等の指令を 入力するためのテンキー 1 0 3、 および所定事項を表示するための液晶パネル 等からなる表示部 1 0 4が設けられている。 Of these, hand-held (handy type) code readers are widely used in supermarkets, department stores, convenience stores, etc. as point-of-sale (POS) (point-of-sales information management) systems. 0 0 0—see 2 9 8 6 9 8). FIG. 1 is a perspective view showing an example of a general hand-held bar code reader. In the figure, the main body of the bar code reader 1 0 0 1 0 1 Has a substantially rectangular parallelepiped shape with a “L” cross section. A code reading unit 10 2 is provided at the tip of one end of the main unit 10 1, and the data of the read code is registered, deleted, displayed, guidance, etc. on the upper surface of the other end of the main unit 1 0 1. There are provided a numeric keypad 10 3 for inputting the command and a display unit 10 4 including a liquid crystal panel for displaying predetermined items.
このコード読取装置 1 0 0を使用する際、 使用者は、 本体 1 0 1の他端を 片手で把持して読取部 1 0 2を読取対象であるコードに押し当て、 本体 1 0 1 の側面部に設けられているトリガーポタン 1 0 5を押す。 すると、 読取部 1 0 2を介してコードが読み取られるので、 使用者は、 所定のテンキー 1 0 3を押 してそのコ一ドのデータの登録、 表示等の指令を入力する。  When using the code reader 1 0 0, the user holds the other end of the main body 1 0 1 with one hand and presses the reading unit 1 0 2 against the code to be read, and the side surface of the main body 1 0 1 Press the trigger button 1 0 5 provided in the section. Then, since the code is read via the reading unit 102, the user presses a predetermined numeric keypad 103 and inputs a command for registering and displaying the data of the code.
この種のハンディタイプのコード読取装置では、 従来、 白黒等の模様で符 号化された 1次元コ一ドや 2次元コードが対象とされていた。 ところが、 近年 、 工業製品等を扱う分野では、 金属やセラミックス、 高分子化合物などの物体 表面に直接マーキングされた 2次元コ一ドまたは 1次元コードを読み取るため の装置が開発されている。  Conventionally, this type of handy-type code reader has been targeted for one-dimensional codes and two-dimensional codes encoded in black and white patterns. However, in recent years, in the field of handling industrial products and the like, an apparatus for reading a two-dimensional code or a one-dimensional code directly marked on the surface of an object such as metal, ceramics, or a polymer compound has been developed.
現在、 このダイレクトパ一ツマ一キング (DPMI : Di rec t Par t Marking Ident i f icat ion) の手法には、 ドットビーン (刻印) とレーザマーカとが存在 している。 このうちドットビーンは、 製品表面を凹ませることによりマーキン グするので、 耐久性に優れ、 消えない印字が形成されることが特徴であり、 例 えばエンジンブロック等の製品管理などに利用されている。  Currently, there are dot beans and laser markers in this direct patterning identification (DPMI) technique. Among these, the dot bean is marked by denting the surface of the product, so it is characterized by excellent durability and printing that does not disappear.For example, it is used for product management such as engine blocks. .
従来より、 金属等の光沢面にダイレクトドットマ一キングされたコードを 読み取るために使用されるコ一ド読取装置では、 読取対象物であるコードを照 射する手段として、 斜方照明光を照射して画像を撮像する手段と、 同軸落射照 明光を照射して撮像する手段とが、 各々用いられていた。 このうち前者の撮像 手段により生成された画像では、 暗い背景に明るいコード部 (ドット部) が写 し出され、 一方、 後者の撮像手段により生成された画像では、 明るい背景に暗 いコ一ド部が写し出されるようになつている。 Conventionally, a code reading device used to read a code that has been directly dot-marked on a glossy surface of metal or the like irradiates oblique illumination light as means for irradiating the code that is the object to be read. Thus, a means for picking up an image and a means for picking up an image by irradiating coaxial incident illumination light have been used. Among these, in the image generated by the former image pickup means, a bright code portion (dot portion) is projected on a dark background, while in the image generated by the latter image pickup means, the image is dark on a light background. The old code part is projected.
読取対象である金属の光の反射特性が一様であれば、 その特性に応じてい ずれかの撮像手段を採用すればよいが、 実際には、 光の反射特性が異なる何種 類もの金属等の表面上にマーキングされたコードを読み取る必要がある。 その ため、 従来のコード読取装置では、 各撮像手段の適正条件に合致しなかった場 合に、 表面上の傷、 ヘアラインなどの切削跡、 铸物肌、 メツキ等の表面ムラの 部分が撮像画像上でドット様の画像ノイズとして現れて画質を劣化し、 コード の読み取りを正確に行うことができない、 という問題があった。 発明の開示  If the light reflection characteristics of the metal being read are uniform, one of the imaging means can be used depending on the characteristics, but in reality, various types of metals with different light reflection characteristics, etc. It is necessary to read the code marked on the surface. For this reason, in conventional code readers, if the appropriate conditions for each imaging means are not met, scratches on the surface, cutting marks such as hairlines, surface irregularities such as skins, and skin marks are captured images. There was a problem that the image quality deteriorated by appearing as dot-like image noise above, and the code could not be read accurately. Disclosure of the invention
そこで、 本発明は、 上記事情に鑑みてなされたものであり、 その目的とす るところは、 コードが形成されている読取対象物表面における光の反射特性が 異なる場合でも、 コードを高精度に読み取りことができ、 かつ設定および使用 が簡易化されたコード読取装置を提供することにある。  Therefore, the present invention has been made in view of the above circumstances, and the object of the present invention is to provide a highly accurate code even when the reflection characteristics of light on the surface of the reading object on which the code is formed are different. It is an object of the present invention to provide a code reader that can be read and that is easy to set up and use.
本発明の上記目的は、 読取対象物の表面にマ一キングされたコードを光学 的に読み取るコード読取装置において、 読取開口部を有する筐体と、 前記読取 開口部を介して前記コ一ドを含む 2次元エリアに落射方向から照明光を照射す る第 1光源手段と、 前記読取開口部を介して前記 2次元エリアに斜方向から照 明光を照射する第 2光源手段と、 前記第 1光源手段の照明光が前記 2次元ェリ ァから反射した第 1光源反射光、 および前記第 2光源手段の照明光が前記 2次 元エリアから反射した第 2光源反射光を前記読取開口部を介して受光する撮像 手段と、 前第 1光源反射光の画像と前記第 2光源反射光の画像とを差分処理す ることにより、 コード読取用画像を生成する画像処理部と、 前記コード読取用 画像に基づいて前記コードに対応する所定デ一夕を再生するデコーダ手段とを 備えていることにより、 達成される。  The object of the present invention is to provide a code reading device for optically reading a code marked on the surface of an object to be read, a housing having a reading opening, and the code through the reading opening. First light source means for irradiating illumination light to the two-dimensional area from the incident direction, second light source means for irradiating illumination light to the two-dimensional area from the oblique direction via the reading opening, and the first light source. First illumination light reflected from the two-dimensional area and illumination light from the second light source reflected from the second dimension area are reflected through the reading aperture. Imaging means for receiving light, an image processing unit for generating a code reading image by performing differential processing between the image of the first light source reflected light and the image of the second light source reflected light, and the code reading image Corresponding to the code based on By and a decoder means for reproducing Isseki de, is achieved.
また、 上記目的は、 前記撮像手段がカラーカメラであるとともに、 前記第 1光源手段の照明光と前記第 2光源手段の照明光とがそれぞれ異なる色の光で あり、 前記力ラ一力メラが前記第 1光源手段および前記第 2光源手段から同時 に照射された前記照明光の反射光を撮像し、 かつ、 前記画像処理部が前記カラ —カメラの撮像画像を前記照明光の色成分に基づいて分離することにより、 前 記第 1光源反射光の画像と前記第 2光源反射光の画像とを生成することにより 、 効果的に達成される。 Further, the object is that the imaging means is a color camera, and The illumination light of the one light source means and the illumination light of the second light source means are light of different colors, respectively, and the force beam is irradiated from the first light source means and the second light source means simultaneously. The reflected light of the illumination light is imaged, and the image processing unit separates the captured image of the color camera based on the color component of the illumination light, whereby the image of the first light source reflected light and the first light source are separated. The two light source reflected light image is generated effectively.
また、 上記目的は、 前記第 1光源手段および前記第 2光源手段の照明光の 色がそれぞれ赤、 緑、 青のうちのいずれかであることにより、 効果的に達成さ れる。  Further, the above object is effectively achieved by the fact that the color of illumination light of the first light source means and the second light source means is any one of red, green, and blue.
また、 上記目的は、 前記第 1照明手段と前記読取開口部との間に、 前記第 Further, the object is to provide the first illumination unit and the reading opening between the first illumination unit and the reading opening unit.
1照明手段の照明光の波長成分のみを通過させる光学フィルタを備え、 かつ、 前記光学フィル夕が少なくとも前記撮像手段の視野と交わる箇所に孔部を有す ることにより、 効果的に達成される。 (1) An optical filter that allows only the wavelength component of the illumination light of the illuminating means to pass therethrough is provided, and the optical filter is effectively achieved by having a hole at a location that intersects at least the field of view of the imaging means. .
さらに、 上記目的は、 前記画像処理部が前記筐体内に配設されていること により、 効果的に達成される。  Further, the above object is effectively achieved by arranging the image processing unit in the casing.
本発明に係るコ一ド読取装置によると、 読取対象であるコードに対して照 明光を落射方向から照射して撮像した画像と、 コードに対して斜方向から照明 光を照射して撮像した画像とを差分処理して、 コード読取用画像を生成するよ うにした。 これにより、 読取対象物の光沢面のノイズが除去されたコード読取 用画像が生成され、 安定した高精度なコードの読み取りを実行することができ る。  According to the code reading apparatus of the present invention, an image obtained by irradiating the code to be read with illumination light from the incident direction and an image obtained by irradiating the code with illumination light from the oblique direction. The code reading image is generated by performing the difference processing. As a result, an image for code reading from which the noise on the glossy surface of the object to be read is removed is generated, and stable and highly accurate code reading can be executed.
また、 撮像手段をカラーカメラとし、 かつ、 第 1光源手段 (落射方向) と 第 2光源手段 (斜方向) に異なる色の照明光を用いて落射方向と斜方向から同 時に照射したまま画像を撮像し、 この撮像画像を照明光の色成分に基づいて分 離することにより、 照明方向別の画像を得られるようにした。 これにより、 1 つのコードに対する撮像回数が 1回で済むため、 撮像時間が大幅に短縮される とともに、 コードの移動に伴う被写体ボケや読取装置の移動に伴う手ぶれに強 い読み取りを実行することができる。 In addition, the image pickup means is a color camera, and the first light source means (epi-illumination direction) and the second light source means (diagonal direction) are illuminated with different colors of illumination light, and the image is irradiated simultaneously from the epi-illumination direction and the oblique direction. Images were taken, and the captured images were separated based on the color components of the illumination light, so that images for each illumination direction could be obtained. As a result, the number of times of imaging for one code can be reduced to one, so the imaging time is greatly reduced. At the same time, it is possible to perform reading that is strong against blurring caused by subject movement due to movement of the code and camera movement due to movement of the reading device.
さらに、 第 1光源手段と読取開口部との間に、 第 1光源手段の照明光の波 長成分のみを通過させる光学フィル夕を設け、 撮像手段の視野と交わる光学フ ィル夕の中央部に孔部を穿設した。 これにより、 第 2光源手段から照射された 照明光の一部が読取対象で反射した後、 第 1光源手段で再反射することにより 生じる偽像の発生を防止することができる。 図面の簡単な説明  In addition, an optical filter that allows only the wavelength component of the illumination light of the first light source means to pass is provided between the first light source means and the reading aperture, and the central portion of the optical filter that intersects the field of view of the imaging means is provided. A hole was drilled in. Accordingly, it is possible to prevent the generation of a false image that occurs when a part of the illumination light emitted from the second light source unit is reflected by the reading target and then re-reflected by the first light source unit. Brief Description of Drawings
第 1図は、 一般的なハンディタイプのバーコードリーダの一例を示す斜視 図である。  FIG. 1 is a perspective view showing an example of a general hand-held bar code reader.
第 2図は、 本発明の第 1実施形態に係るコード読取装置の基本構成を概略 的に示す断面図である。  FIG. 2 is a cross-sectional view schematically showing the basic configuration of the code reader according to the first embodiment of the present invention.
第 3図は、 斜方照明光の光路を示す説明図である。  FIG. 3 is an explanatory diagram showing an optical path of oblique illumination light.
第 4図は、 斜方照明光を用いて撮像された読取対象物の画像である。 第 5図は、 落射照明光の光路を示す説明図である。  FIG. 4 is an image of a reading object imaged using oblique illumination light. FIG. 5 is an explanatory view showing the optical path of the epi-illumination light.
第 6図は、 落射照明光を用いて撮像された読取対象物の画像である。 第 7図は、 第 1実施形態に係るコ一ド読取装置の画像処理フローを示すブ ロック図である。  FIG. 6 is an image of a reading object imaged using epi-illumination light. FIG. 7 is a block diagram showing an image processing flow of the code reading apparatus according to the first embodiment.
第 8図は、 画像処理された読取対象物の画像である。  FIG. 8 is an image of the read object that has been subjected to image processing.
第 9図は、 第 1実施形態に係るコード読取装置の画像処理フローの変形例 を示すブロック図である。  FIG. 9 is a block diagram showing a modification of the image processing flow of the code reading apparatus according to the first embodiment.
第 1 0図は、 本発明の第 2実施形態に係るコード読取装置の基本構成を概 略的に示す要部断面図である。  FIG. 10 is a cross-sectional view of an essential part schematically showing a basic configuration of a code reading apparatus according to a second embodiment of the present invention.
第 1 1図は、 落射光源と読取開口部との間に光学フィルタを設けて撮像さ れた鏡面の画像である。 第 1 2図は、 落射光源と読取開口部との間に光学フィル夕を設けずに撮像 された鏡面の画像である。 発明を実施するための最良の形態 FIG. 11 is a mirror image captured by providing an optical filter between the incident light source and the reading aperture. Fig. 12 shows a mirror image taken without an optical filter between the incident light source and the reading aperture. BEST MODE FOR CARRYING OUT THE INVENTION
以下、 図面を参照にしながら本発明の実施形態について説明する。 なお、 以下に述べる各実施形態は、 金属等からなる読取対象物の表面上にダイレク卜 パ一ツマ一キング (DPMI : Di rect Par t Marking Ident i f i cat ion) によって設 けられたドット状のコ一ドを読み取るハンディタイプのコ一ド読取装置に、 本 発明を適用したものである。  Hereinafter, embodiments of the present invention will be described with reference to the drawings. In each of the embodiments described below, a dot-shaped coordinate mark (DPMI) is provided on the surface of a reading object made of metal or the like. The present invention is applied to a handy type code reading device that reads a needle.
[第 1実施形態] [First embodiment]
第 2図は、 本発明の第 1実施形態に係る本発明の実施形態に係るコード読 取装置の基本構成を概略的に示す断面図である。 同図において、 コード読取装 置 1は、 使用者が片手で把持して操作可能な断面 L字形状に形成された筐体 2 を有し、 該筐体 2の一端側には読取開口部 2 aが形成され、 かつ、 屈曲部には 画像キヤプチャ一用のトリガ一ポタン 3が設けられている。 読取対象物 (金属 板等) 4の表面上にマ一キングされたコード 5は、 この読取開口部 2 aを通し てコード読取装置 1により光学的に読み取られる。  FIG. 2 is a cross-sectional view schematically showing the basic configuration of the code reading device according to the embodiment of the present invention according to the first embodiment of the present invention. In FIG. 1, a code reading device 1 has a housing 2 formed in an L-shaped cross section that can be operated by a user with one hand. A reading opening 2 is provided at one end of the housing 2. a is formed, and a trigger button 3 for image capture is provided at the bent portion. The code 5 marked on the surface of the reading object (metal plate or the like) 4 is optically read by the code reading device 1 through the reading opening 2a.
コード読取装置 1は、 筐体 2の内部に、 読取開口部 2 aを介してコード 5 を含む 2次元エリアに落射方向から照明光 6 Lを照射する落射光源 (第 1光源 ) 6と、 読取開口部 2 aを介して上記 2次元エリアに斜方向から照明光 7 Lを 照射する斜方光源 (第 2光源) 7と、 上記 2次元エリアに照射された照明光の 反射光を受光する撮像部 8と、 該撮像部 8により撮像された画像を処理する画 像処理部 9とを備えている。  The code reader 1 includes an incident light source (first light source) 6 that irradiates illumination light 6 L from the incident direction onto a two-dimensional area including the code 5 through the reading opening 2 a inside the housing 2, An oblique light source (second light source) 7 that irradiates illumination light 7 L obliquely onto the two-dimensional area through the opening 2 a and imaging that receives reflected light of the illumination light irradiated on the two-dimensional area A unit 8 and an image processing unit 9 for processing an image captured by the imaging unit 8.
撮像部 8は、 C C D型や M O S型などのカラ一カメラであり、 該カラ一力 メラに撮像画像の焦点を合わせるレンズ 8 aを有し、 読取開口部 2 aの略中央 部の上方に配されている。 なお、 撮像部 8から下方に延びている 2本の長点線 は、 撮像部 8の視野 8 Vの外縁を示すものであり、 この視野 8 Vは、 読取開口 部 2 aより僅かに小さくなるように設定されている。 また、 撮像部 8のカメラ 光軸は、 落射方向に対して約 1 0 ° 傾いていることが好ましく、 これにより、 受光部のゴ一スト像の映り込みを視野 8 Vの外に外すことができる。 The image pickup unit 8 is a color camera such as a CCD type or a MOS type, and has a lens 8 a that focuses the picked-up image on the color camera, and is substantially at the center of the reading opening 2 a. It is arranged above the part. Note that the two long dotted lines extending downward from the imaging unit 8 indicate the outer edge of the visual field 8 V of the imaging unit 8, and this visual field 8 V is slightly smaller than the reading aperture 2a. Is set to In addition, the optical axis of the camera of the image pickup unit 8 is preferably inclined by about 10 ° with respect to the incident direction, so that the reflection of the ghost image of the light receiving unit can be removed from the field of view 8 V. it can.
落射光源 6および 方光源 7は、 高輝度 L E Dアレイなどで構成され、 両 者は異なる色を発光するようになっている。 特に、 これらの照明光 6 L , 7 L に用いる色は、 3原色 (赤色、 緑色、 青色) のいずれかであることが好ましく 、 本実施形態では、 斜方光源 7に赤色光を発光する L E Dを用い、 一方、 落射 光源 6に緑色の照明光を発光する L E Dを用いている。 なお、 斜方光源 7は、 照明光 7 Lの入射角 (コード 5の表面と入射光束のなす角度) が 3 5〜5 5 ° で あることが好ましく、 特に 4 5 ° であることが望ましい。  The incident light source 6 and the direction light source 7 are composed of a high-intensity LED array and the like, and both emit light of different colors. In particular, the color used for these illumination lights 6 L and 7 L is preferably one of the three primary colors (red, green, and blue). In this embodiment, the oblique light source 7 emits red light. On the other hand, an LED that emits green illumination light is used as the incident light source 6. The oblique light source 7 preferably has an incident angle of the illumination light 7 L (an angle formed between the surface of the cord 5 and the incident light beam) of 35 to 55 °, and particularly preferably 45 °.
このような構成を有するコード読取装置 1では、 コード 5がマーキングさ れた読取対象物 4の表面に対して筐体 2の読取開口部 2 aを略平行に近接させ た状態で、 トリガーポタン 3を引くことにより、 落射光源 6および斜方光源 7 から読取開口部 2 aを介して読取対象物 4に向けて照明光 6 L , 7 Lの照射が なされ、 読取対象物 4からの反射光が読取開口部 2 aを介して撮像部 8により 受光されて、 コ一ド 5を含む 2次元エリァの画像が撮像されるようになってい る。  In the code reading device 1 having such a configuration, the trigger button 3 is placed with the reading opening 2a of the housing 2 close to the surface of the reading object 4 marked with the code 5 in a substantially parallel manner. The illumination light 6 L and 7 L are irradiated from the incident light source 6 and the oblique light source 7 to the reading object 4 through the reading opening 2 a, and the reflected light from the reading object 4 is reflected. The two-dimensional area image including the code 5 is picked up by being received by the image pickup unit 8 through the reading opening 2 a.
第 3図は、 斜方照明光の光路を示す説明図であり、 第 4図は、 その斜方照 明光を用いて撮像された読取対象物の画像である。 第 3図に示すように、 斜方 光源 7から照射される斜方照明光 7 Lのうち、 ドット状の凹部が形成されたコ ード 5で反射した光は、 撮像部 8に受光され、 一方、 コード 5の周辺の読取対 象物 4の表面で反射した光は、 撮像部 8に受光されない。 したがって、 斜方照 明光 7 Lの反射光を捉えた画像は、 第 4図に示すように、 概ねコード 5が白く 写り、 コード 5の周辺の読取対象物 4の表面が黒く写っている。 ところが、 読 取対象物 4の表面上に形成された切削跡等の傷も白く写ってしまい、 矩形状コ ード 5の鮮明度が全体的に低くなつている。 FIG. 3 is an explanatory diagram showing an optical path of oblique illumination light, and FIG. 4 is an image of a reading object imaged using the oblique illumination light. As shown in FIG. 3, out of the oblique illumination light 7 L emitted from the oblique light source 7, the light reflected by the code 5 in which the dot-shaped recess is formed is received by the imaging unit 8, On the other hand, the light reflected by the surface of the reading object 4 around the code 5 is not received by the imaging unit 8. Therefore, as shown in FIG. 4, in the image obtained by capturing the reflected light of the oblique illumination light 7 L, the code 5 is roughly white and the surface of the reading object 4 around the code 5 is black. However, reading Scratches such as cutting marks formed on the surface of the object to be picked up 4 also appear white, and the overall clarity of the rectangular code 5 is low.
第 5図は、 落射照明光の光路を示す説明図であり、 第 6図は、 その落射照 明光を用いて撮像された読取対象物の画像である。 第 5図に示すように、 落射 光源 6から照射される落射照明光 6 Lのうち、 コード 5の周辺の読取対象物 4 の表面で反射した光は、 撮像部 8に受光され、 一方、 コード 5で反射した光は 、 撮像部 8に受光されない。 したがって、 落射照明光 6 Lの反射光を捉えた画 像は、 第 6図に示すように、 概ねコード 5が黒く写り、 コード 5の周辺の読取 対象物 4の表面が白く写っている。 ところが、 読取対象物 4の表面上に形成さ れた切削跡等の傷も薄黒く写ってしまい、 特に矩形状コード 5の上辺部の鮮明 度が低くなつている。  FIG. 5 is an explanatory diagram showing the optical path of the epi-illumination light, and FIG. 6 is an image of the reading object imaged using the epi-illumination light. As shown in FIG. 5, out of the epi-illumination light 6 L emitted from the epi-illumination light source 6, the light reflected by the surface of the object 4 to be read around the code 5 is received by the imaging unit 8, while the code The light reflected at 5 is not received by the imaging unit 8. Therefore, as shown in FIG. 6, the image obtained by reflecting the reflected light of the epi-illumination light 6 L has the code 5 roughly black and the surface of the reading object 4 around the code 5 white. However, scratches such as cutting marks formed on the surface of the reading object 4 also appear dark, and the sharpness of the upper side of the rectangular cord 5 is particularly low.
第 7図は、 本実施形態に係るコ一ド読取装置の画像処理フローを示すプロ ック図である。 同図において、 斜方照明光 7 Lおよび落射照明光 6 Lを照射さ れたコード (マーク) 5を含む読取対象物 4がカラ一カメラ (撮像部) 8によ つて撮像され、 該撮像画像は、 筐体 2内に設けられた画像処理部 9に送られる 画像処理部 9では、 まず、 カラ一カメラ 8によって撮像された撮像画像を 色成分に基づいて分離し、 色別画像 (R (赤色光) 画像, G (緑色光) 画像, B (青色光) 画像) を生成する。 本実施形態では、 第 4図に示した画像が、 斜 方照明光 7 L (赤色発光) の反射光に基づいて生成された画像 A ( R画像) で あり、 かつ、 第 6図に示した画像が、 落射照明光 6 L (緑色発光) の反射光に 基づいて生成された画像 B ( G画像) である。  FIG. 7 is a block diagram showing an image processing flow of the code reading apparatus according to the present embodiment. In this figure, a reading object 4 including a code (mark) 5 irradiated with oblique illumination light 7 L and epi-illumination light 6 L is imaged by a color camera (imaging unit) 8, and the captured image The image processing unit 9 sent to the image processing unit 9 provided in the housing 2 first separates the captured image captured by the color camera 8 based on the color components, and outputs a color-specific image (R ( Red light) image, G (green light) image, and B (blue light) image). In the present embodiment, the image shown in FIG. 4 is an image A (R image) generated based on the reflected light of the oblique illumination light 7 L (red light emission), and shown in FIG. The image is an image B (G image) generated based on reflected light of epi-illumination light 6 L (green light emission).
次に、 各照明光 6 L, 7 Lの色成分に基づいて生成された画像 Aおよび画 像 Bを、 以下の [数式 1 ] に基づいて差分処理し、 コード 5を読み取るための 解読画像を生成する。  Next, the image A and the image B generated based on the color components of the illumination lights 6 L and 7 L are subjected to differential processing based on the following [Equation 1], and a decoded image for reading the code 5 is obtained. Generate.
[数式 1 ] C= (A*0 f f s— A) - (B*0 f f s— B) [Formula 1] C = (A * 0 ffs— A)-(B * 0 ffs— B)
I F C> 255 THEN C= 255  I F C> 255 THEN C = 255
I F Cく 0 THEN C= 0  IF C 0 0 THEN C = 0
ここで、 『A』 は、 所定位置の画像 Aにおけるピクセル値 (0〜255) で あり、 『〇 f f s_A』 は、 撮像部 8の設定に依存するオフセット値 (0. 1〜 2. 0) である。 また、 『B』 は、 同位置の画像 Bにおけるピクセル値 (0〜2 55) であり、 『〇 f f s— B』 は、 上記設定に依存するオフセット値 (0. 1 〜2. 0) である。 さらに、 『C』 は、 上記差分処理の結果として得られるピク セル値である。  Here, “A” is a pixel value (0 to 255) in the image A at a predetermined position, and “〇 ff s_A” is an offset value (0.1 to 2.0) depending on the setting of the imaging unit 8. It is. “B” is the pixel value (0 to 255) in the image B at the same position, and “〇ffs—B” is the offset value (0.1 to 2.0) depending on the above setting. . Furthermore, “C” is a pixel value obtained as a result of the above difference processing.
画像処理部 9によって生成された解読画像は、 該画像データに基づいてコ The decoded image generated by the image processing unit 9 is copied based on the image data.
—ド 5に記録されたデータを再生するデコード部 (図示せず) に出力され、 コ ード 5に対応する所定のデータが再生される。 —The data recorded in code 5 is output to a decoding unit (not shown) that reproduces the data, and the predetermined data corresponding to code 5 is reproduced.
第 8図は、 2つの画像 A, Bを差分処理することにより生成された解読画 像である。 この解読画像と第 4図および第 6図の色別画像とを比較すると、 第 8図の解読画像では、 読取対象物 4の表面上に形成された切削跡などの傷も消 えて、 コ一ド 5がより鮮明に表示されていることがわかる。  Fig. 8 shows a decoded image generated by differential processing of the two images A and B. Comparing this decoded image with the color-by-color images in Figs. 4 and 6, the decoded image in Fig. 8 erases scratches such as cutting marks formed on the surface of the object 4 to be read. It can be seen that 5 is displayed more clearly.
なお、 本実施形態では、 斜方照明光 7 Lを赤色発光とし、 かつ、 落射照明 光 6Lを緑色発光としたが、 本発明はこれに限定されるものではなく、 斜方照 明光 7 Lと落射照明光 6 Lとで異なる色の照明光を用いるのであれば、 その発 光色および組み合わせは、 どのようなものであってもよい。  In the present embodiment, the oblique illumination light 7L is emitted in red and the incident illumination light 6L is emitted in green. However, the present invention is not limited to this, and the oblique illumination light 7L and As long as the illumination light of a different color is used for the epi-illumination light 6 L, the emitted color and combination may be any.
以上のように、 本実施形態に係るコード読取装置 1では、 読取対象物 4の 表面に形成されたコード 5について、 落射照明光 6 Lの反射光に基づく画像 B と、 斜方照明光 7 Lの反射光に基づく画像 Aとを生成し、 この 2つの画像 A, Bを差分処理することにより、 鮮明度の高い解読画像を生成するようになって いる。 これにより、 解読画像における読取対象物 4の光沢面のノイズが除去さ れ、 安定した高精度なコ一ドの読み取りを実行することができる。 また、 本実施形態に係るコード読取装置 1では、 撮像部 8をカラーカメラ とし、 かつ、 落射光源 6と斜方光源 7に異なる色の照明光を用いて、 これらの 光源 6 , 7を同時に発光させたまま画像を撮像し、 この撮像画像を照明光の色 成分に基づいて分離することにより照明方向別の画像 A, Bを生成するように した。 これにより、 1つのコード 5に対する撮像回数が 1回で済むため、 撮像 時間が大幅に短縮されるとともに、 コ一ド 5の移動に伴う被写体ボケやコード 読取装置 1の移動に伴う手ぶれに強い読み取りを実行することができる。 As described above, in the code reading device 1 according to the present embodiment, the image B based on the reflected light of the incident illumination light 6 L and the oblique illumination light 7 L for the code 5 formed on the surface of the reading object 4. The image A based on the reflected light is generated and the two images A and B are subjected to differential processing to generate a decoded image with high definition. As a result, the noise on the glossy surface of the reading object 4 in the decoded image is removed, and stable and highly accurate code reading can be performed. In the code reading device 1 according to the present embodiment, the imaging unit 8 is a color camera, and illumination light of different colors is used for the incident light source 6 and the oblique light source 7, and the light sources 6 and 7 are simultaneously emitted. Images were captured as they were, and the captured images were separated based on the color component of the illumination light to generate images A and B for each illumination direction. As a result, the number of times of imaging for one code 5 can be reduced by one, so the imaging time is greatly reduced, and the subject is not subject to blur due to the movement of code 5, and the camera is resistant to camera shake due to the movement of code reader 1. Can be executed.
第 9図は、 本実施形態に係るコード読取装置の画像処理フローの変形例を 示すブロック図である。 この変形例では、 トリガ一ポタン 3を引くことにより 、 落射光源 6および斜方光源 7のうちの一方が作動し、 読取対象物 4の画像が 撮像部 8により撮像され、 その後、 一方の光源が停止して他方の光源が作動し 、 読取対象物 4の画像が撮像部 8により撮像される。 そして、 この 2つの撮像 画像 A, Bは、 それぞれ画像処理部 9に送られる。 この画像処理部 9では、 撮 像画像 Aおよび撮像画像 Bを、 上述した [数式 1 ] に基づいて差分処理し、 コ —ド 5を読み取るための解読画像を生成する。  FIG. 9 is a block diagram showing a modification of the image processing flow of the code reading apparatus according to the present embodiment. In this modified example, by pulling the trigger button 3, one of the incident light source 6 and the oblique light source 7 is activated, and an image of the reading object 4 is picked up by the image pickup unit 8. The other light source is activated and the image of the reading object 4 is picked up by the image pickup unit 8. The two captured images A and B are sent to the image processing unit 9 respectively. The image processing unit 9 performs differential processing on the captured image A and the captured image B based on the above-described [Equation 1] to generate a decoded image for reading the code 5.
以上のような構成により、 本変形例では上述した第 1実施形態と同様に、 鮮明度の高い解読画像が得られることはもとより、 力ラー撮像に限定されるこ となく、 例えばモノクロ撮像を採用することができるので、 構成部品の低コス ト化を図ることができる。 [第 2実施形態]  With the configuration as described above, in this modified example, similarly to the first embodiment described above, a decoded image with high definition can be obtained, and the present invention is not limited to power image capturing, for example, monochrome imaging is adopted. As a result, the cost of component parts can be reduced. [Second Embodiment]
第 1 0図は、 本発明の第 2実施形態に係るコ一ド読取装置の基本構成を概 略的に示す要部断面図である。 なお、 同図において、 上述した第 1実施形態と 同一の部材には同一の符号を付して、 その説明を省略する。  FIG. 10 is a cross-sectional view of an essential part schematically showing a basic configuration of a code reading apparatus according to a second embodiment of the present invention. In the figure, the same members as those in the first embodiment described above are denoted by the same reference numerals, and the description thereof is omitted.
本実施形態に係るコード読取装置 1 'では、 落射光源 6と読取開口部 2 a との間に、 光学フィルタ 1 0が配設されているという点で、 上述した第 1実施 形態とは相違している。 この光学フィル夕 1 0は、 落射照明光 6 Lのみを通過 させるように構成されたものであり、 その中央部には孔部 1 0 aが穿設されて いる。 この孔部 1 0 aは、 撮像部 8がコード 5で反射した斜方照明光 7 Lを捉 えることができるように設けられたものである。 したがって、 少なくとも撮像 部 8の視野 8 Vと交わる光学フィルタ 1 0の部位には、 この孔部 1 0 aが形成 されている。 In the code reader 1 ′ according to the present embodiment, the first embodiment described above is provided in that the optical filter 10 is disposed between the incident light source 6 and the reading opening 2 a. It is different from the form. The optical filter 10 is configured to allow only the epi-illumination light 6L to pass therethrough, and a hole 10a is formed in the center thereof. The hole 10 a is provided so that the imaging unit 8 can capture the oblique illumination light 7 L reflected by the code 5. Therefore, at least a portion of the optical filter 10 that intersects the visual field 8 V of the imaging unit 8 is formed with the hole 10 a.
第 1 1図は、 落射光源 6と読取開口部 2 aとの間に光学フィルタ 1 0を設 けて撮像された鏡面の画像であり、 第 1 2図は、 この光学フィルタ 1 0を設け ずに撮像された鏡面の画像である。 これらの図を比較すると、 第 1 2図の画像 は、 第 1 1図の画像に比べて光点の数が多いことがわかる。 すなわち、 この結 果は、 斜方照明光 7 Lの一部が読取対象で反射した後、 落射光源 6で再反射す ることにより生じる偽像が、 光学フィルタ 1 0によってカットされている、 と いうことを意味している。  FIG. 11 is a mirror image taken with the optical filter 10 placed between the epi-illumination light source 6 and the reading opening 2a, and FIG. 1 2 does not have this optical filter 10. It is the image of the mirror surface imaged in (1). Comparing these figures, it can be seen that the image in FIG. 12 has more light spots than the image in FIG. That is, this result is that a false image generated by re-reflecting by the incident light source 6 after a part of the oblique illumination light 7 L is reflected by the reading object is cut by the optical filter 10. It means that.
以上のような構成を有する本実施形態に係るコ一ド読取装置 1 'では、 上 述した第 1実施形態と同様の作用効果が得られることはもとより、 落射光源 6 と読取開口部 2 aとの間に、 落射照明光 6 Lを通過させる光学フィル夕 1 0を 備えたことにより、 斜方照明光 7 Lが落射光源 6で再反射することにより生じ る偽像の発生を防止することができる。 この結果、 偽像によるコードの誤認識 の発生を減少することができ、 より高精度なコードの読み取りを実行すること ができる。  In the code reading device 1 ′ according to the present embodiment having the above-described configuration, the incident light source 6, the reading opening 2 a, and the like can be obtained in addition to the same operational effects as the first embodiment described above. In the meantime, the provision of the optical filter 10 that allows the incident illumination light 6 L to pass through prevents the oblique illumination light 7 L from being reflected again by the incident light source 6 to prevent the generation of false images. it can. As a result, the occurrence of erroneous code recognition due to false images can be reduced, and more accurate code reading can be performed.
以上、 本発明の実施形態について具体的に説明してきたが、 本発明はこれ に限定されるものではなく、 その趣旨を逸脱しない範囲で適宜変更可能である  The embodiment of the present invention has been specifically described above, but the present invention is not limited to this, and can be appropriately changed without departing from the spirit of the present invention.

Claims

請 求 の 範 囲 読取対象物の表面にマ一キングされたコ一ドを光学的に読み取るコ一ド 読取装置であって、  Scope of request A code reader for optically reading a code marked on the surface of an object to be read.
読取開口部を有する筐体と、  A housing having a reading opening;
前記読取開口部を介して前記コードを含む 2次元ェリァに落射方向から 照明光を照射する第 1光源手段と、  First light source means for irradiating illumination light from the incident direction to the two-dimensional area including the code through the reading opening;
前記読取開口部を介して前記 2次元エリアに斜方向から照明光を照射す る第 2光源手段と、  Second light source means for irradiating illumination light from the oblique direction to the two-dimensional area through the reading opening;
前記第 1光源手段の照明光が前記 2次元ェリァから反射した第 1光源反 射光、 および前記第 2光源手段の照明光が前記 2次元エリァから反射した 第 2光源反射光を前記読取開口部を介して受光する撮像手段と、  The first light source means reflects the first light source reflected from the two-dimensional area, and the second light source reflected from the two-dimensional area reflects the second light source reflected from the reading opening. Imaging means for receiving light via,
前記第 1光源反射光の画像と前記第 2光源反射光の画像とを差分処理す ることにより、 コード読取用画像を生成する画像処理部と、  An image processing unit that generates a code reading image by performing differential processing between the image of the first light source reflected light and the image of the second light source reflected light;
前記コード読取用画像に基づいて前記コードに対応する所定データを再 生するデコーダ手段と  Decoder means for reproducing predetermined data corresponding to the code based on the code reading image;
を備えていることを特徴とするコード読取装置。 前記撮像手段は、 カラ一カメラであるとともに、 前記第 1光源手段の照 明光と前記第 2光源手段の照明光とは、 それぞれ異なる色の光であり、 前記カラ一カメラは、 前記第 1光源手段および前記第 2光源手段から同 時に照射された前記照明光の反射光を撮像し、 かつ、 A code reading device comprising: The imaging means is a color camera, and the illumination light of the first light source means and the illumination light of the second light source means are light of different colors, and the color camera is the first light source. Imaging reflected light of the illumination light irradiated simultaneously from the means and the second light source means, and
前記画像処理部は、 前記カラーカメラの撮像画像を前記照明光の色成分 に基づいて分離することにより、 前記第 1光源反射光の画像と前記第 2光 源反射光の画像とを生成する請求項 1に記載のコード読取装置。 The image processing unit generates the image of the first light source reflected light and the image of the second light source reflected light by separating a captured image of the color camera based on a color component of the illumination light. Item 2. The code reader according to item 1.
3 . 前記第 1光源手段および前記第 2光源手段の照明光の色は、 それぞれ赤 、 緑、 青のうちのいずれかである請求項 2に記載のコード読取装置。 3. The code reader according to claim 2, wherein the color of illumination light of the first light source means and the second light source means is any one of red, green, and blue.
4. 前記第 1照明手段と前記読取開口部との間に、 前記第 1照明手段の照明 光の波長成分のみを通過させる光学フィル夕を備え、 かつ、 4. An optical filter for passing only a wavelength component of illumination light of the first illumination means is provided between the first illumination means and the reading aperture, and
前記光学フィル夕は、 少なくとも前記撮像手段の視野と交わる箇所に孔 部を有する請求項 2または 3に記載のコ一ド読取装置。  4. The code reader according to claim 2, wherein the optical filter has a hole at least at a location where it intersects the field of view of the imaging means.
5 . 前記画像処理部は、 前記筐体内に配設されている請求項 1ないし 4のい ずれかに記載のコード読取装置。 5. The code reading device according to claim 1, wherein the image processing unit is disposed in the housing.
PCT/JP2009/053124 2008-02-26 2009-02-17 Code reader WO2009107570A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2008044085A JP4440312B2 (en) 2008-02-26 2008-02-26 Code reader
JP2008-044085 2008-02-26

Publications (1)

Publication Number Publication Date
WO2009107570A1 true WO2009107570A1 (en) 2009-09-03

Family

ID=41015965

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2009/053124 WO2009107570A1 (en) 2008-02-26 2009-02-17 Code reader

Country Status (2)

Country Link
JP (1) JP4440312B2 (en)
WO (1) WO2009107570A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020178270A1 (en) * 2019-03-04 2020-09-10 Datalogic Ip Tech S.R.L. Indicia capture with angled fov in direct part marking

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7289703B2 (en) * 2019-04-03 2023-06-12 株式会社キーエンス handheld optical information reader

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006126974A (en) * 2004-10-26 2006-05-18 Tohken Co Ltd Code-reading device
JP2006260609A (en) * 1992-09-28 2006-09-28 Olympus Corp Two-dimensional code reader and two-dimensional code reading method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006260609A (en) * 1992-09-28 2006-09-28 Olympus Corp Two-dimensional code reader and two-dimensional code reading method
JP2006126974A (en) * 2004-10-26 2006-05-18 Tohken Co Ltd Code-reading device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020178270A1 (en) * 2019-03-04 2020-09-10 Datalogic Ip Tech S.R.L. Indicia capture with angled fov in direct part marking
US10915719B2 (en) 2019-03-04 2021-02-09 Datalogic IP Tech S.R.L Indicia capture with angled FOV in direct part marking

Also Published As

Publication number Publication date
JP2009205228A (en) 2009-09-10
JP4440312B2 (en) 2010-03-24

Similar Documents

Publication Publication Date Title
US5754670A (en) Data symbol reading system
US20100096460A1 (en) Hybrid laser scanning and imaging reader
US20160042241A1 (en) Interactive indicia reader
JP4058529B2 (en) Optical information reader
US20100320272A1 (en) Hybrid laser scanning and imaging reader
US20090001175A1 (en) Control of specular reflection in imaging reader
US7428991B2 (en) 1-D barcode decoding with 2-D sensor array
JP4389812B2 (en) Optical information reader
US8079524B2 (en) Imaging-based scanner including border searching for image acquisition
US8840027B2 (en) Electro-optical reader with enhanced laser light pattern visibility
US20080035732A1 (en) Uniform illumination without specular reflection in imaging reader
JP2008529162A (en) Asymmetric scanner
WO2009107570A1 (en) Code reader
US20060138234A1 (en) Methods and apparatus for improving direct part mark scanner performance
JP2012074025A (en) Imaging device, reading device, and light quantity adjustment method
EP1041378A1 (en) Produce recognition system including a produce data collector
JP5289146B2 (en) Code reader
JP2005182117A (en) Code reader
JP2004252600A (en) Image reader, its system, and methods for detecting imaging distance and correcting distortion of image reader
JP2004252599A (en) Image reader system, recording medium, image reading device and image processing method for pos terminal
JP7079118B2 (en) Code readers and programs
US20080237351A1 (en) Image enhancement in imaging system
US11334964B2 (en) Color image processing on the fly for bar code readers
EP3204886B1 (en) Machine-readable symbol reader
JP2007272541A (en) Inspection object checked with authenticity, peculiar information registration device and authenticity determination device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09714587

Country of ref document: EP

Kind code of ref document: A1

DPE1 Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101)
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09714587

Country of ref document: EP

Kind code of ref document: A1