JP2009039337A - Image inspection device and image inspection method - Google Patents

Image inspection device and image inspection method Download PDF

Info

Publication number
JP2009039337A
JP2009039337A JP2007208059A JP2007208059A JP2009039337A JP 2009039337 A JP2009039337 A JP 2009039337A JP 2007208059 A JP2007208059 A JP 2007208059A JP 2007208059 A JP2007208059 A JP 2007208059A JP 2009039337 A JP2009039337 A JP 2009039337A
Authority
JP
Japan
Prior art keywords
inspection
image
illuminance
inspected
value
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.)
Pending
Application number
JP2007208059A
Other languages
Japanese (ja)
Inventor
Giichi Adachi
義一 足立
Yuji Kato
雄二 加藤
Yoshihide Yanagihara
義秀 柳原
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.)
Nippon Pachinko Parts Co Ltd
Original Assignee
Nippon Pachinko Parts Co Ltd
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 Nippon Pachinko Parts Co Ltd filed Critical Nippon Pachinko Parts Co Ltd
Priority to JP2007208059A priority Critical patent/JP2009039337A/en
Publication of JP2009039337A publication Critical patent/JP2009039337A/en
Pending legal-status Critical Current

Links

Landscapes

  • Pinball Game Machines (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image inspection device capable of efficiently inspecting the light-emission state of an object to be inspected including light emitters disposed in a game machine with various layouts and various decoration. <P>SOLUTION: Based on an inspection command input from a keyboard 11 or a mouse 12, a computer device 5 determines the object as: a non-defective product if the average illuminance calculated by an inspection part of an illumination device 2 is in the illuminance range defined by the preset upper and lower limits of illuminance values; and a defective product if the average illuminance is out of the illuminance range. Then, the computer device 5 displays the result of determination in a display device 6. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、遊技機に用いられる発光体を含む被検査体の発光画像から輝度を検査して良否判定を行なう画像検査装置及び画像検査方法に関する。   The present invention relates to an image inspection apparatus and an image inspection method for inspecting luminance from a light emission image of an object to be inspected including a light emitting body used in a gaming machine and determining pass / fail.

ぱちんこ機、スロットマシンなどの遊技機には、装飾効果を高める手段として電飾装置が設けられている。電飾装置は、遊技機の前面枠に設けられることが多く、発光手段から発光される光の照射方向や点滅などの発光態様を変化させて装飾効果や演出効果を高めて、遊技者の興趣がわくように工夫がなされている。   A gaming machine such as a pachinko machine or a slot machine is provided with an electric decoration device as means for enhancing the decoration effect. The decoration device is often provided on the front frame of the gaming machine, and the decoration effect and the production effect are enhanced by changing the light emission mode such as the direction of light emitted from the light emitting means and the flashing, thereby enhancing the player's interest. Ingenuity has been devised.

電飾装置には光源として多数のLEDが設けられており、しかもLEDの発光色も赤色(R)緑色(G)、青色(B)の光の三原色のような単色やそれら光の三原色を調光した色(例えば、マゼンタ(M)、イエロー(Y)、シアン(C)、ホワイト(W))など様々である。また、各LEDは透光性を有する樹脂カバーで覆われていたり、レンズにより拡散若しくは集光させたりして装飾効果を持たせる工夫がなされている。   The lighting device is provided with a large number of LEDs as a light source, and the emission color of the LEDs is also adjusted to a single color such as the three primary colors of red (R), green (G), and blue (B) or the three primary colors of these lights. There are various colors such as magenta (M), yellow (Y), cyan (C), and white (W). Moreover, each LED is covered with a resin cover having translucency, or has been devised to give a decoration effect by diffusing or condensing with a lens.

電飾装置が所期の発光をするか否かを検査する方法としては、通電により発光状態を目視により検査するか、光源である個々のLEDに通電して発光状態をCCDカメラで撮像して画像処理部がRGBのデータを検出して、予め不揮発性メモリなどに記憶させた電気特性試験データ(入力電圧、出力電流、点滅周期等)や輝度データが所期の条件を充たしているか否かで良否判定を行なうようになっている(特許文献1、2参照)。
特開平9−167863号公報 特開平11−201868号公報
As a method of inspecting whether or not the illumination device emits light as expected, the light emission state is visually inspected by energization, or each LED as a light source is energized and the light emission state is imaged with a CCD camera. Whether the image processing unit detects RGB data and the electrical characteristic test data (input voltage, output current, blinking cycle, etc.) and luminance data stored in advance in a non-volatile memory or the like satisfy the intended conditions And pass / fail judgment is performed (see Patent Documents 1 and 2).
JP-A-9-167863 Japanese Patent Application Laid-Open No. 11-201868

発光体としてのLEDは、製造段階での発光効率や光吸収率のばらつきから、同じ入力電圧、通電電流でも輝度がばらつき易いという特性を有する。特に光の三原色(RGB)を調光して作成した白色は色むらを生じ易い。このような特性を持つLEDが遊技機には、装飾効果を高めるためや遊技者に遊技状態を報知するために数十個から数百個、様々なレイアウトで設けられる。
さらに、LEDの基板実装時に起こりうる異色のLEDを実装する等の実装ミスやLED若しくは基板の不良による不点灯、樹脂カバーの組み付け時のミスによる破損等様々な要因で不良となることが多く、組立工程ごとに検査するのは時間がかかり、効率が悪いという課題がある。
よって、遊技機に多数設けられる発光体の異常のみならず樹脂カバー、レンズの汚れや傷などを含む被検査体の発光状態の検査を、発光体の様々なレイアウトや外装の仕様に応じて効率良く行いたいというニーズがある。
An LED as a light emitter has a characteristic that luminance easily varies even with the same input voltage and energization current due to variations in light emission efficiency and light absorption rate at the manufacturing stage. In particular, white color created by dimming the three primary colors (RGB) of light tends to cause uneven color. LEDs having such characteristics are provided in gaming machines in various layouts, from tens to hundreds, in order to enhance the decoration effect and to inform the player of the gaming state.
Furthermore, it often becomes defective due to various factors such as mounting mistakes such as mounting LEDs of different colors that can occur at the time of LED board mounting, non-lighting due to defective LED or board, damage due to mistakes when assembling the resin cover, etc. Inspecting each assembly process takes time, and there is a problem that efficiency is poor.
Therefore, not only abnormalities of the light emitters provided in a lot of gaming machines, but also inspection of the light emission state of the inspected object including resin covers, lens dirt, scratches, etc. is efficient according to the various layouts and exterior specifications of the light emitters. There is a need to do well.

本発明の目的は、多様なレイアウト及び多様な装飾で遊技機に多数設けられる発光体を含む被検査体の発光状態を効率よく検査可能な画像検査装置及び画像検査方法を提供することにある。   An object of the present invention is to provide an image inspection apparatus and an image inspection method capable of efficiently inspecting the light emission state of an object to be inspected including a plurality of light emitters provided in a gaming machine with various layouts and various decorations.

本発明は上記目的を達成するため、次の構成を備える。
遊技機に用いられる発光体を含む被検査体の発光画像から輝度を検査して良否判定を行なう画像検査装置であって、検査位置に載置された被検査体を発光させる検査手段と、入力部からの指令に応じて被検査体の発光画像を撮像する撮像手段と、撮像された発光画像のうち予め入力部から検査ライン若しくは検査エリアで指定された検査部に含まれるRGBの各輝度データの平均照度値を算出し、予め記憶した良品の被検査体の対応する検査部の照度設定値と比較して良否判定を行なう制御手段と、撮像された被検査体の画像及び検査結果を表示する表示手段を備え、制御手段は、入力部から入力された検査指令に応じて被検査体の検査部より算出された平均照度値が予め設定された照度設定値の上限値及び下限値で規定される照度範囲内に含まれるときに良品、照度範囲外となっているとき不良品と判定して判定結果を表示手段に画面表示させることを特徴とする。
In order to achieve the above object, the present invention comprises the following arrangement.
An image inspection apparatus for performing pass / fail judgment by inspecting luminance from a light emission image of an object to be inspected including a light emitting body used in a gaming machine, and an inspection unit that emits light from the object to be inspected placed at an inspection position, and an input Image pickup means for picking up a light emission image of the object to be inspected in response to a command from the unit, and each luminance data of RGB included in the inspection unit designated in the inspection line or inspection area from the input unit in advance among the captured light emission images The average illuminance value is calculated and compared with the illuminance setting value of the corresponding inspection section of the non-defective inspected object stored in advance, the control means for determining pass / fail, and the captured image of the inspected object and the inspection result are displayed. The control means is provided with an upper limit value and a lower limit value of the preset illuminance set value, wherein the average illuminance value calculated by the inspecting part of the object to be inspected according to the inspection command input from the input part is defined. Within the illuminance range Good when Murrell, and characterized in that the screen displayed on the display means the determination result is determined as defective when that is the outside illuminance range.

遊技機に用いられる発光体を含む被検査体の発光画像から輝度を検査して良否判定を行なう画像検査方法であって、検査位置に載置された良品の被検査体を発光させ、入力部からの指令に応じて発光画像を撮像手段が撮像して表示手段へ画面表示するステップと、画面表示された被検査体の発光画像において入力部から検査ライン若しくは検査エリアで囲んで検査部を指定するステップと、入力部からの指令に応じて指定された検査ライン若しくは検査エリアに含まれるRGBの各輝度データから制御手段が照度設定値を算出し、入力部より入力設定される上限値及び下限値とともに制御手段に記憶させるステップと、入力部からの撮像指令に応じて検査位置に載置された被検査体の発光画像を撮像手段により撮像するステップと、入力部からの検査指令に応じて制御手段が指定された検査ライン若しくは検査エリア内の輝度データからRGBの各成分の平均照度値を算出し、予め記憶した照度設定値の上限値及び下限値で規定される照度範囲内に含まれるか否かで良否判定を行ない、検査結果を表示手段へ画面表示するステップを含むことを特徴とする。   An image inspection method for performing pass / fail judgment by inspecting luminance from a light-emitting image of an object to be inspected including a light-emitting body used in a gaming machine, wherein a non-defective inspected object placed at an inspection position is caused to emit light, and an input unit In response to a command from the imaging unit, the imaging unit captures a luminescent image and displays it on the display unit, and in the luminescent image of the inspected object displayed on the screen, the inspection unit is specified by being surrounded by an inspection line or an inspection area from the input unit The control means calculates the illuminance setting value from each luminance data of RGB included in the inspection line or inspection area specified in accordance with the command from the input unit, and the upper limit value and the lower limit value input from the input unit A step of storing in the control means together with the value, a step of capturing a light emission image of the object to be inspected placed at the inspection position in accordance with an imaging command from the input unit, and an input unit In accordance with the inspection command, the control means calculates the average illuminance value of each component of RGB from the luminance data in the inspection line or inspection area designated, and is defined by the upper limit value and lower limit value of the illuminance setting value stored in advance. It is characterized in that it includes a step of determining pass / fail according to whether it is included in the illuminance range and displaying the inspection result on the display means on the screen.

また、良品の被検査体が点灯してから画像を取り込むまでの時間を設定するステップと、検査画像の取り込み開始を許容する照度のしきい値を設定するステップを含むことを特徴とする。
また、良品の被検査体の取り込み画像から特定部のX−Y方向の位置を設定し、被検査体の対応する部位の取り込み画像から画像位置を補正するステップを含むことを特徴とする。
また、良品の被検査体周囲の画像を取り込んで測定した照度値が設定しきい値を超えた際にエラーメッセージを表示手段へ表示するステップを含むことを特徴とする。
また、検査画像、検査結果や総合判定結果を保存データとして制御手段に記憶するステップを含むことを特徴とする。
Further, the method includes a step of setting a time from when a non-defective inspected object is turned on until an image is captured, and a step of setting an illuminance threshold value that allows the inspection image to be captured.
Further, the method includes a step of setting a position in the XY direction of the specific portion from the captured image of the non-defective object to be inspected, and correcting the image position from the captured image of the corresponding part of the object to be inspected.
Further, the method includes a step of displaying an error message on the display means when the illuminance value measured by taking an image around a non-defective object exceeds a set threshold value.
Further, the method includes a step of storing the inspection image, the inspection result, and the comprehensive determination result as saved data in the control unit.

上述した画像検査装置及び画像検査方法を用いれば、良品の被検査体を発光させ、発光画像を撮像手段が撮像して表示手段へ画面表示させて、入力部から検査ライン若しくは検査エリアで囲んで検査部を指定することができるので、発光体のレイアウトや装飾態様に応じて検査範囲を任意に指定することができる。
また、被検査体の発光画像を撮像手段が撮像し、入力部からの検査指令に応じて制御手段が指定された検査ライン若しくは検査エリア内の輝度データからRGBの各成分の平均照度値を算出し、予め記憶した照度設定値の上限値及び下限値で規定される照度範囲内に含まれるか否かで良否判定を行ない、検査結果を表示手段へ画面表示するので、遊技機に多数設けられる発光体の発光状態の異常のみならず樹脂カバー、レンズの汚れや傷などを含む外観検査をあわせて行なうことができ、発光体の様々なレイアウトや外装の仕様に応じた検査を効率良く行うことができる。
By using the above-described image inspection apparatus and image inspection method, a non-defective inspected object is caused to emit light, and the illuminating image is captured by the imaging unit and displayed on the display unit, and is surrounded by the inspection line or the inspection area from the input unit. Since the inspection part can be designated, the inspection range can be arbitrarily designated according to the layout of the light emitter and the decoration mode.
In addition, the imaging means captures the light emission image of the object to be inspected, and the average illuminance value of each component of RGB is calculated from the luminance data in the inspection line or inspection area designated by the control means according to the inspection command from the input unit. Since it is judged whether it is within the illuminance range defined by the upper limit value and the lower limit value of the illuminance setting value stored in advance and whether the inspection result is displayed on the display means, a large number of game machines are provided. It is possible to perform not only abnormalities in the luminous state of the illuminant but also visual inspections including resin covers and dirt and scratches on the lens, and efficiently perform inspections according to various layouts of the illuminant and exterior specifications. Can do.

以下、本発明の実施形態について図面を参照しながら具体的に説明する。
図1を参照して本実施形態に係る画像検査装置の概略構成について説明する。以下では遊技機用に用いられる発光体(LED)の輝度を検査して良否判定を行なう画像検査装置について説明する。
Hereinafter, embodiments of the present invention will be specifically described with reference to the drawings.
A schematic configuration of the image inspection apparatus according to the present embodiment will be described with reference to FIG. In the following, an image inspection apparatus that performs pass / fail determination by inspecting the luminance of a light emitting body (LED) used for a gaming machine will be described.

検査体固定冶具1は、被検査体となる電飾装置2を位置決め固定する。電飾装置2は光源としてLEDが多数設けられた発光基板が透光性の透過性の樹脂カバー(例えばポリカーボネイト樹脂材、ABS樹脂材、アクリル樹脂材など)や、樹脂レンズ(集光タイプ、拡散タイプ)などに覆われている。検査装置(検査手段)3は検査位置に固定された電飾装置2に通電して遊技状態と同様に発光させる。   The inspection object fixing jig 1 positions and fixes the electrical decoration device 2 that becomes an inspection object. The illumination device 2 has a light-emitting substrate on which a large number of LEDs are provided as a light source, and a light-transmitting transparent resin cover (for example, a polycarbonate resin material, an ABS resin material, an acrylic resin material, etc.), a resin lens (condensing type, diffusion) Type). The inspection device (inspection means) 3 energizes the electrical decoration device 2 fixed at the inspection position to emit light in the same manner as in the gaming state.

検査体固定冶具1の上方には、撮像手段として光電変換素子を用いたCCDカメラ装置4が設けられている。CCDカメラ装置4は1台設けられていても複数台設けられていてもいずれでも良い。CCDカメラ装置4は、撮像指令に応じて発光した電飾装置2の予め検査ライン若しくは検査エリアで指定された検査部を含む発光画像を撮像する。CCDカメラ装置4は、撮像位置の中央に固定して、発光面を全て視野角に入るように設けられていてもよいし、X−Y方向に移動可能に設けられ、撮像位置を変えて検査を行なうようになっていても良い。   Above the inspection object fixing jig 1, a CCD camera device 4 using a photoelectric conversion element as an imaging means is provided. One CCD camera device 4 or a plurality of CCD camera devices 4 may be provided. The CCD camera device 4 captures a light emission image including an inspection unit designated in advance on an inspection line or an inspection area of the illumination device 2 that has emitted light in response to an imaging command. The CCD camera device 4 may be fixed at the center of the imaging position so that the entire light emitting surface falls within the viewing angle, or provided so as to be movable in the XY direction, and the inspection is performed by changing the imaging position. You may come to perform.

CCDカメラ装置4はコンピュータ装置5(制御手段)と接続されている。コンピュータ装置5には表示装置6(表示手段)が接続されている。   The CCD camera device 4 is connected to a computer device 5 (control means). A display device 6 (display means) is connected to the computer device 5.

コンピュータ装置5は、画像検査装置の動作を制御するCPUを含む制御基板8画像処理基板10などが設けられている。制御基板8には、コンピュータ装置5を動作させるOS(オペレーティングシステム)や画像検査処理プログラム、表計算プログラムなどの各種アプリケーションソフトがインストールされている。また、制御基板8には、図示しないが画像解析により得られた輝度データより平均照度値を算出する演算部や、演算結果やしきい値を記憶する記憶部などが設けられキーボード11やマウス12など(入力部)から入力データ(数値、コマンド、検査ライン、検査エリアなど)が入力される。画像処理基板10はCCDカメラ装置4から撮像したカラー画像データからRGBの輝度データを解析する公知の画像処理用アプリケーションソフトがインストールされている。 The computer device 5 is provided with a control board 8 including a CPU for controlling the operation of the image inspection apparatus , an image processing board 10 and the like. Various application software such as an OS (operating system) for operating the computer device 5, an image inspection processing program, and a spreadsheet program are installed on the control board 8. The control board 8, and the execution unit that is not shown calculates the average luminance value from the luminance data obtained by the image analysis, such as the storage unit is provided for storing the calculation results and the threshold, a keyboard 11 and a mouse Input data (numerical value, command, inspection line, inspection area, etc.) is input from 12 or the like (input unit). The image processing board 10 is installed with known image processing application software for analyzing RGB luminance data from color image data captured from the CCD camera device 4.

コンピュータ装置5は被検査体の指定された検査部に含まれるRGBの輝度データから平均照度値を算出し、予め記憶した良品の被検査体の対応する照度設定値と比較して良否判定を行ない、検査画像及び検査結果を表示する表示装置6へ出力表示する。具体的には、コンピュータ装置5は、被検査体の検査部より算出された平均照度値が予め設定された照度設定値の上限値及び下限値で規定される照度範囲内に含まれるときに良品、照度範囲外となっているとき不良品と判定して判定結果を表示装置6に画面表示させる。   The computer device 5 calculates the average illuminance value from the RGB luminance data included in the designated inspection part of the object to be inspected, and compares it with the corresponding illuminance setting value of the non-defective inspected object to determine pass / fail. The inspection image and the inspection result are output and displayed on the display device 6. Specifically, the computer device 5 is non-defective when the average illuminance value calculated by the inspection unit of the object to be inspected is included in the illuminance range defined by the preset upper and lower illuminance setting values. When it is out of the illuminance range, it is determined as a defective product and the determination result is displayed on the screen of the display device 6.

また、検査装置3は電飾装置2を発光させ、コンピュータ装置5は、電飾装置2が発光したことをCCDカメラ装置4で入力する画像の予め設定された特定部分のしきい値を超える輝度変化により検出する。制御基板8は、電飾装置2が発光してからCCDカメラ装置4により発光画像を撮像するタイミングを制御する。電飾装置2の光源(LED)が安定した発光状態で検査を行なうためである。   Further, the inspection device 3 causes the illumination device 2 to emit light, and the computer device 5 has a luminance exceeding the threshold value of a predetermined specific portion of an image input by the CCD camera device 4 that the illumination device 2 has emitted light. Detect by change. The control board 8 controls the timing at which the CCD camera device 4 captures a light emission image after the illumination device 2 emits light. This is because the light source (LED) of the illumination device 2 is inspected in a stable light emission state.

ここで、画像検査方法の一例について図1のブロック図及び図2のフローチャートに基づいて、図3〜図8の画面図を参照しながら説明する。図3乃至図6は、良品の電飾装置2の発光画像を取り込んで画像検査の基準値を設定する設定画面図、図7及び図8は画像検査中、画像検査後の画面図である。
先ず、図1において、被検査体である電飾装置2を検査体固定冶具1に固定する。そして、良品とされる電飾装置2へ通電して検査装置3により発光させる。コンピュータ装置5は、CCDカメラ装置4から発光画像を1コマ/秒で取り込む(図2ステップS1;図3画面図参照)。このとき、電飾装置2の点灯を検出してから、設定時間経過後(例えば1秒後〜1時間経過後)にCCDカメラ装置4から発光画像を取り込むように設定する。
Here, an example of the image inspection method will be described with reference to the screen diagrams of FIGS. 3 to 8 based on the block diagram of FIG. 1 and the flowchart of FIG. FIGS. 3 to 6 are setting screen diagrams for setting a reference value for image inspection by capturing a light emission image of the non-defective electrical decoration device 2, and FIGS. 7 and 8 are screen diagrams during and after the image inspection.
First, in FIG. 1, an illumination device 2 that is an object to be inspected is fixed to an inspection object fixing jig 1. And it supplies with electricity to the electrical decoration apparatus 2 made into a non-defective product, and makes the test | inspection apparatus 3 light-emit. The computer device 5 captures the light emission image from the CCD camera device 4 at 1 frame / second (step S1 in FIG. 2; see the screen diagram in FIG. 3). At this time, a setting is made so that a light emission image is captured from the CCD camera device 4 after a set time has elapsed (for example, after 1 second to 1 hour has elapsed) after the lighting of the illumination device 2 is detected.

また、被検査体(電飾装置2)の点灯を検出する照度しきい値の設定が行なえるようになっている。電飾装置2が点灯して背景画面(図3の●マーク)の照度変化が設定しきい値を超えたときにコンピュータ装置5は点灯を検出し、タイマーによりカウントされる設定時間経過後の発光画像をCCDカメラ装置4により撮像する。尚、良品の電飾装置2が点灯してから発光画像を取り込むまでの時間を設定することができ、検査画像の取り込み開始を許容する照度のしきい値を設定することができる。   In addition, it is possible to set an illuminance threshold value for detecting lighting of the object to be inspected (lighting device 2). When the illumination device 2 is turned on and the change in illuminance on the background screen (● mark in FIG. 3) exceeds the set threshold, the computer device 5 detects the lighting and emits light after the set time counted by the timer has elapsed. An image is picked up by the CCD camera device 4. It is possible to set the time from when the non-defective electrical decoration device 2 is turned on until the emission image is captured, and to set the illuminance threshold value that permits the start of the inspection image capture.

次に、図2においてコンピュータ装置5(図1参照)により各種初期値の設定を行なう(ステップS2)。具体的には、良品の電飾装置2(図1参照)の発光画像Gから特定部のX−Y方向の位置を2箇所設定し(図3;P1,P2参照)、検査開始後の電飾装置2の対応する発光画像Gから取り込み位置を自動的に補正するようになっている。また、図4において、良品の電飾装置2(図1参照)の発光画像Gを取り込む際に周囲の照度値(図3の■マーク参照)を検出してしきい値を設定しておく。これにより、後に検査開始後に被検査体(電飾装置2)の発光画像Gを取り込む際に対応する周囲の照度値(図3の■マーク参照)が設定しきい値を超えた際にエラーメッセージを表示するようになっている。使用環境によってコントラストが変わり、電飾装置2(図1参照)の照度値の検出精度が変化するのを防ぐためである。   Next, in FIG. 2, various initial values are set by the computer device 5 (see FIG. 1) (step S2). Specifically, two positions in the XY direction of the specific part are set from the light emission image G of the non-defective electrical decoration device 2 (see FIG. 1) (see FIG. 3; P1 and P2), The capture position is automatically corrected from the corresponding light emission image G of the decoration device 2. Further, in FIG. 4, when the luminescent image G of the non-defective electrical decoration device 2 (see FIG. 1) is captured, the ambient illuminance value (see the mark ■ in FIG. 3) is detected to set a threshold value. As a result, an error message is displayed when the ambient illuminance value (refer to the mark ■ in FIG. 3) corresponding to the capture of the light emission image G of the object to be inspected (the decoration device 2) after the inspection starts exceeds the set threshold value. Is displayed. This is to prevent the contrast from changing depending on the use environment and the detection accuracy of the illuminance value of the electrical decoration device 2 (see FIG. 1) from changing.

次いで、図3において、発光画像Gの検査部を検査ライン(線)又は検査エリア(面)で特定する。即ち、図1において、表示装置6に画面表示された発光画像Gの検査部を入力部(キーボード11、マウス12など)から検査ラインL(例えば図3;検査ラインL1〜L7)を引くか若しくは検査エリアE(例えば図3;検査エリアE1、E2)を囲んで指定する。この検査部は複数箇所で、表示画面を見ながら任意のレイアウトで指定することができる。   Next, in FIG. 3, the inspection part of the luminescent image G is specified by an inspection line (line) or an inspection area (surface). That is, in FIG. 1, the inspection part of the luminescent image G displayed on the screen of the display device 6 is drawn from the input part (keyboard 11, mouse 12, etc.) from the inspection line L (for example, FIG. 3; inspection lines L1 to L7). An inspection area E (for example, FIG. 3; inspection areas E1 and E2) is enclosed and designated. This inspection unit can be designated at an arbitrary layout at a plurality of locations while looking at the display screen.

このとき、コンピュータ装置5(図1参照)は図5の線設定、図6の面設定のいずれの場合においても、指定された検査ラインL若しくは検査エリアEのRGB輝度データから平均照度値(照度設定値)を算出し、入力部(キーボード11、マウス12など)より入力設定される上限値及び下限値とともにコンピュータ装置5に記憶させるようになっている。そして、後述する被検査体から検出された輝度データから同様にしてRGBの平均照度値を算出して比較して設定しきい値を超えた際にエラーメッセージを画面表示するようになっている。図4乃至図6において、カラー画像データから画像処理プログラムによって抽出されたRGBの輝度データの濃度値がヒストグラム(0〜255の256階調)で表示される。   At this time, the computer device 5 (see FIG. 1) determines the average illuminance value (illuminance) from the RGB luminance data of the designated inspection line L or inspection area E in both the line setting of FIG. 5 and the surface setting of FIG. Set value) is calculated and stored in the computer device 5 together with the upper limit value and the lower limit value input and set from the input unit (keyboard 11, mouse 12, etc.). An RGB average illuminance value is calculated in a similar manner from luminance data detected from an object to be described later, and an error message is displayed on the screen when a set threshold value is exceeded. 4 to 6, density values of RGB luminance data extracted from the color image data by the image processing program are displayed in a histogram (256 gradations from 0 to 255).

具体例で説明すると、検査ラインL若しくは検査エリアEごとの輝度値(平均照度値)Yは、R,G,Bの輝度値(明るさ、明度)を用いて、Y=0.229R+0.587G+0.114Bで算出される(256階調)。
この輝度値Yに対して上限値YU及び下限値YDを設定し、検査値Y1が
YD<Y1<YUの範囲内にあれば検査結果はOK、範囲外にあれば検査結果はNGと判定するようになっている。例えば、設定時のR=10、G=20、B=150、検査時のR=50、G=20、B=130とし、しきい値の上限値と及び下限値を±10とすると、
設定時の輝度値Y;Y=0.229R+0.587G+0.114B
=0.229×10+0.587×20+0.114×150
=21.87
検査時の輝度値Y1;Y1=0.229R+0.587G+0.114B
=0.229×50+0.587×20+0.114×130
=41.54
設定輝度値における上限値YU;YU=Y+10
=21.87+10
=31.87
設定輝度値における下限値YD;YD=Y−10
=21.87−10
=11.87
この結果Y1(41.54)>YU(上限値;31.87)であるため、検査結果はNGと判定される。
More specifically, the luminance value (average illuminance value) Y for each inspection line L or inspection area E is calculated using the luminance values (brightness and brightness) of R, G, and B, where Y = 0.229R + 0.587G + 0. It is calculated at 114B (256 gradations).
An upper limit value YU and a lower limit value YD are set for the luminance value Y. If the inspection value Y1 is within the range of YD <Y1 <YU, the inspection result is determined to be OK, and if the inspection value is out of the range, the inspection result is determined to be NG. It is like that. For example, assuming that R = 10, G = 20, B = 150 at the time of setting, R = 50, G = 20, B = 130 at the time of inspection, and the upper and lower threshold values are ± 10,
Luminance value Y at the time of setting; Y = 0.229R + 0.587G + 0.114B
= 0.229 × 10 + 0.587 × 20 + 0.114 × 150
= 21.87
Luminance value Y1 at the time of inspection; Y1 = 0.229R + 0.587G + 0.114B
= 0.229 x 50 + 0.587 x 20 + 0.114 x 130
= 41.54
Upper limit value YU in the set luminance value; YU = Y + 10
= 21.87 + 10
= 31.87
Lower limit value YD in set luminance value; YD = Y−10
= 21.87-10
= 11.87
Since this result is Y1 (41.54)> YU (upper limit value: 31.87), the inspection result is determined to be NG.

次に、図2のフローチャートにおいて、被検査体(電飾装置2)の検査を開始する(ステップS3)。例えば図示しないツールバーから検査のアイコンを選択すると、図7に示す検査画面が表示される。検査画面には、設定画像、検査取り込み画像、検査画像の3種類が表示される。図7では検査中につき良品の設定画像のみが表示された状態で表示される。例えば図1のキーボード11やマウス12から図示しないツールバーの画像取り込みキーを選択すると、検査装置3により被検査体(電飾装置2)を発光させ、発光画像GをCCDカメラ装置4で撮像する。取り込まれた発光画像Gは、図7の中央部に検査取り込み画像として表示される。   Next, in the flowchart of FIG. 2, the inspection of the object to be inspected (lighting device 2) is started (step S3). For example, when an inspection icon is selected from a toolbar (not shown), an inspection screen shown in FIG. 7 is displayed. Three types of setting images, inspection captured images, and inspection images are displayed on the inspection screen. In FIG. 7, only the non-defective setting image is displayed during the inspection. For example, when an image capture key on a toolbar (not shown) is selected from the keyboard 11 or the mouse 12 in FIG. 1, the inspection device 3 emits light to be inspected (lighting device 2), and the light emission image G is captured by the CCD camera device 4. The captured emission image G is displayed as an inspection captured image in the center of FIG.

次に、図7の検査アイコンKをクリックすると、検査取り込み画像の検査が行なわれる。即ち、予め指定された検査ライン(図7設定画面;L1〜L7)若しくは検査エリア(図7設定画面;E1,E2)内の輝度データからRGBの各成分の平均照度を算出し、予め記憶した良品の被検査体(電飾装置2)の同じ位置の照度設定値と比較して良否判定を行なう。   Next, when the inspection icon K in FIG. 7 is clicked, the inspection captured image is inspected. That is, the average illuminance of each component of RGB is calculated from the luminance data in the inspection line (FIG. 7 setting screen; L1 to L7) or inspection area (FIG. 7 setting screen; E1, E2) designated in advance and stored in advance. A pass / fail judgment is made in comparison with the illuminance set value at the same position of the non-defective product (lighting device 2).

検査結果を図8に示す。図8において、設定画像、検査取り込み画像のほかに検査画像並びに検査ラインLや検査エリアEに応じた良否判定を含む総合判定結果(良/不可)が表形式で画面表示される。また、図8の検査画像及び総合判定結果は、保存データとしてコンピュータ装置5(図1参照)のメモリに記憶される(ステップS4)。   The inspection result is shown in FIG. In FIG. 8, in addition to the set image and the inspection captured image, the comprehensive determination result (good / impossible) including the inspection image and the quality determination according to the inspection line L and the inspection area E is displayed in a table format. 8 is stored in the memory of the computer device 5 (see FIG. 1) as saved data (step S4).

そして、図2において検査が終了したか否かを判定し(ステップS5)、検査すべき被検査体(電飾装置2)があればステップS3へ戻って同様な動作を繰返し、検査すべき被検査体(電飾装置2)がなければ終了となる。   Then, it is determined whether or not the inspection is completed in FIG. 2 (step S5), and if there is an object to be inspected (electric decoration device 2), the process returns to step S3 and the same operation is repeated to repeat the inspection. If there is no inspection object (lighting device 2), the process ends.

以上のように、良品の電飾装置2を発光させ、発光画像GをCCDカメラ装置4が撮像して表示装置6へ画面表示させ、キーボード11やマウス12から検査ライン若しくは検査エリアで囲んで検査部を指定することができるので、発光体のレイアウトや装飾態様に応じて検査範囲を任意に指定することができる。
また、被検査体(電飾装置2)の発光画像GをCCDカメラ装置4が撮像し、キーボード11やマウス12からの検査指令に応じてコンピュータ装置5が指定された検査ライン若しくは検査エリア内の輝度データからRGBの各成分の平均照度値を算出し、予め記憶した照度設定値の上限値及び下限値で規定される照度範囲内に含まれるか否かで良否判定を行ない、検査結果を表示手段へ画面表示するので、遊技機に多数設けられる発光体そのものの発光状態の異常のみならず樹脂カバー、レンズの汚れや傷などを含む外観検査をあわせて行なうことができ、発光体の様々なレイアウトや外装の仕様に応じた検査を効率良く行うことができる。
As described above, the non-defective illumination device 2 is caused to emit light, and the light emission image G is picked up by the CCD camera device 4 and displayed on the display device 6 and is inspected by enclosing the inspection line or inspection area from the keyboard 11 and mouse 12. Since the part can be specified, the inspection range can be arbitrarily specified according to the layout of the light emitter and the decoration mode.
In addition, the CCD camera device 4 captures the light emission image G of the object to be inspected (the illumination device 2), and the computer device 5 is designated in the inspection line or inspection area designated by the keyboard 11 or the mouse 12 in response to the inspection command. The average illuminance value of each component of RGB is calculated from the luminance data, and it is judged whether it is within the illuminance range defined by the upper limit value and lower limit value of the illuminance setting value stored in advance, and the inspection result is displayed. Since the screen is displayed on the means, not only abnormalities in the light emission state of the light emitters provided in a lot of gaming machines, but also visual inspections including resin covers, lens dirt and scratches can be performed together. Inspections according to layout and exterior specifications can be performed efficiently.

なお、本発明では遊技機の一例としてぱちんこ遊技機の電飾装置の検査について説明したが、他にスロットマシンなどの他の遊技機の多数の発光体を含む被検査体の検査にも適用できる。   In the present invention, the inspection of the illumination device of the pachinko gaming machine has been described as an example of the gaming machine, but it can also be applied to the inspection of inspected objects including many light emitters of other gaming machines such as a slot machine. .

画像検査装置のブロック構成図である。It is a block block diagram of an image inspection apparatus. 画像検査方法のフローチャートである。It is a flowchart of an image inspection method. 良品の初期値設定画像データの説明図である。It is explanatory drawing of the initial value setting image data of a good product. 初期値設定画面図である。It is an initial value setting screen figure. 初期値設定画面図である。It is an initial value setting screen figure. 初期値設定画面図である。It is an initial value setting screen figure. 検査画像取り込み中の画面図である。It is a screen figure during inspection image taking-in. 検査結果を示す画面図である。It is a screen figure which shows a test result.

符号の説明Explanation of symbols

1 検査体固定冶具
2 電飾装置
3 検査装置
4 CCDカメラ装置
5 コンピュータ装置
6 表示装置
8 制御基板
10 画像処理基板
11 キーボード
12 マウス
L 検査ライン
E 検査エリア
G 発光画像
K 検査アイコン
1 Inspection object fixing jig
2 lighting equipment
3 Inspection equipment
4 CCD camera device
5 Computer equipment
6 Display device
8 Control board
10 Image processing board
11 Keyboard
12 Mouse L Inspection line E Inspection area G Luminous image K Inspection icon

Claims (6)

遊技機に用いられる発光体を含む被検査体の発光画像から輝度を検査して良否判定を行なう画像検査装置であって、
検査位置に載置された被検査体を発光させる検査手段と、
入力部からの指令に応じて被検査体の発光画像を撮像する撮像手段と、
撮像された発光画像のうち予め入力部から検査ライン若しくは検査エリアで指定された検査部に含まれるRGBの各輝度データの平均照度値を算出し、予め記憶した良品の被検査体の対応する検査部の照度設定値と比較して良否判定を行なう制御手段と、
撮像された被検査体の画像及び検査結果を表示する表示手段を備え、
制御手段は、入力部から入力された検査指令に応じて被検査体の検査部より算出された平均照度値が予め設定された照度設定値の上限値及び下限値で規定される照度範囲内に含まれるときに良品、照度範囲外となっているとき不良品と判定して判定結果を表示手段に画面表示させる画像検査装置。
An image inspection apparatus for performing pass / fail determination by inspecting luminance from a light emission image of an object to be inspected including a light emitter used in a gaming machine,
Inspection means for emitting light to be inspected placed at the inspection position;
Imaging means for capturing a light emission image of the object to be inspected according to a command from the input unit;
The average illuminance value of each luminance data of RGB included in the inspection unit designated in the inspection line or the inspection area from the input unit in the captured light emission image is calculated in advance, and the corresponding inspection of the non-defective inspected object stored in advance is calculated. Control means for making a pass / fail judgment in comparison with the illuminance setting value of the part;
Provided with display means for displaying the image of the object to be inspected and the inspection result,
The control means has an average illuminance value calculated by the inspection unit of the object to be inspected according to the inspection command input from the input unit within an illuminance range defined by an upper limit value and a lower limit value of the preset illuminance setting value. An image inspection apparatus that, when included, is determined to be a non-defective product and when it is out of the illuminance range, is determined to be a defective product and the determination result is displayed on the display means.
遊技機に用いられる発光体を含む被検査体の発光画像から輝度を検査して良否判定を行なう画像検査方法であって、
検査位置に載置された良品の被検査体を発光させ、入力部からの指令に応じて発光画像を撮像手段が撮像して表示手段へ画面表示するステップと、
画面表示された被検査体の発光画像において入力部から検査ライン若しくは検査エリアで囲んで検査部を指定するステップと、
入力部からの指令に応じて指定された検査ライン若しくは検査エリアに含まれるRGBの各輝度データから制御手段が照度設定値を算出し、入力部より入力設定される上限値及び下限値とともに制御手段に記憶させるステップと、
入力部からの撮像指令に応じて検査位置に載置された被検査体の発光画像を撮像手段により撮像するステップと、
入力部からの検査指令に応じて制御手段が指定された検査ライン若しくは検査エリア内の輝度データからRGBの各成分の平均照度値を算出し、予め記憶した照度設定値の上限値及び下限値で規定される照度範囲内に含まれるか否かで良否判定を行ない、検査結果を表示手段へ画面表示するステップを含む画像検査方法。
An image inspection method for inspecting luminance from a light emission image of an object to be inspected including a light emitter used in a gaming machine, and performing pass / fail judgment,
A step of causing a non-defective inspected object placed at the inspection position to emit light, imaging an emission image in accordance with a command from the input unit, and displaying the image on a display unit;
Specifying the inspection part by enclosing the inspection line or inspection area from the input part in the light emission image of the inspection object displayed on the screen;
The control means calculates the illuminance set value from the RGB luminance data included in the inspection line or inspection area designated in accordance with the command from the input unit, and the control means together with the upper limit value and the lower limit value input and set from the input unit Memorizing steps,
Capturing a light-emitting image of an object to be inspected placed at an inspection position in accordance with an imaging command from the input unit with an imaging unit;
The average illuminance value of each component of RGB is calculated from the luminance data in the inspection line or inspection area designated by the control means in accordance with the inspection command from the input unit, and the upper limit value and lower limit value of the illuminance setting value stored in advance An image inspection method including a step of performing pass / fail determination based on whether or not the light is included within a specified illuminance range and displaying the inspection result on a display unit.
良品の被検査体が点灯してから画像を取り込むまでの時間を設定するステップと、検査画像の取り込み開始を許容する照度のしきい値を設定するステップを含む請求項2記載の画像検査方法。   3. The image inspection method according to claim 2, comprising a step of setting a time from when a non-defective inspection object is turned on until an image is captured, and a step of setting an illuminance threshold value that allows the start of capturing the inspection image. 良品の被検査体の取り込み画像から特定部のX−Y方向の位置を設定し、被検査体の対応する部位の取り込み画像から画像位置を補正するステップを含む請求項2記載の画像検査方法。   The image inspection method according to claim 2, further comprising the steps of: setting a position in the XY direction of the specific portion from a captured image of a non-defective object and correcting the image position from the captured image of a corresponding part of the object. 良品の被検査体周囲の画像を取り込んで測定した照度値が設定しきい値を超えた際にエラーメッセージを表示手段へ表示するステップを含む請求項2記載の画像検査方法。   3. The image inspection method according to claim 2, further comprising the step of displaying an error message on the display means when the illuminance value measured by taking an image around a non-defective object exceeds a set threshold value. 検査画像、検査結果や総合判定結果を保存データとして制御手段に記憶するステップを含む請求項2記載の画像検査方法。   The image inspection method according to claim 2, further comprising a step of storing the inspection image, the inspection result, and the comprehensive determination result as saved data in the control means.
JP2007208059A 2007-08-09 2007-08-09 Image inspection device and image inspection method Pending JP2009039337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007208059A JP2009039337A (en) 2007-08-09 2007-08-09 Image inspection device and image inspection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007208059A JP2009039337A (en) 2007-08-09 2007-08-09 Image inspection device and image inspection method

Publications (1)

Publication Number Publication Date
JP2009039337A true JP2009039337A (en) 2009-02-26

Family

ID=40440749

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007208059A Pending JP2009039337A (en) 2007-08-09 2007-08-09 Image inspection device and image inspection method

Country Status (1)

Country Link
JP (1) JP2009039337A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0759922A (en) * 1993-08-24 1995-03-07 Sankyo Kk Inspection device of pachinko game machine
JPH08184528A (en) * 1994-12-28 1996-07-16 Sharp Corp Display characteristics inspection equipment
JPH09224919A (en) * 1996-02-26 1997-09-02 Ge Yokogawa Medical Syst Ltd Environment monitoring device of superconducting magnet and mri device
JP2002074332A (en) * 2000-08-25 2002-03-15 Japan Packaging Institute Method and device for detecting sealing defect of packing material and packing body
JP2007155610A (en) * 2005-12-07 2007-06-21 Seiko Epson Corp Visual examination device and visual examination method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0759922A (en) * 1993-08-24 1995-03-07 Sankyo Kk Inspection device of pachinko game machine
JPH08184528A (en) * 1994-12-28 1996-07-16 Sharp Corp Display characteristics inspection equipment
JPH09224919A (en) * 1996-02-26 1997-09-02 Ge Yokogawa Medical Syst Ltd Environment monitoring device of superconducting magnet and mri device
JP2002074332A (en) * 2000-08-25 2002-03-15 Japan Packaging Institute Method and device for detecting sealing defect of packing material and packing body
JP2007155610A (en) * 2005-12-07 2007-06-21 Seiko Epson Corp Visual examination device and visual examination method

Similar Documents

Publication Publication Date Title
KR101969378B1 (en) Lighting unit, defects inspection device, and lighting method
JP5877639B2 (en) Image generating apparatus and image generating method
CN101187684B (en) Main board light-emitting diode detection device and method
TWI467500B (en) The detection method of the led of using the digital image
KR20170125183A (en) Method for judging quality of LED module and Apparatus for judging quality of LED module
TW201616102A (en) System and method for measuring luminance of light device
JP2010266424A (en) Led inspection method and led inspection device
JP2012149946A (en) Inspection device, inspection method and program
US8780194B2 (en) Component presence/absence judging apparatus and method
TWI390771B (en) Test equipment for light emitting diode lights
TW202041851A (en) Inspection device and inspection method
JP2009039337A (en) Image inspection device and image inspection method
CN108663371B (en) Method and system for detecting dust and foreign matters on display panel
JPH08152311A (en) Profile inspection equipment for object
KR101437906B1 (en) Apparatus for detecting four way lens of led package
TWI744007B (en) Luminous material image processing method
JP2007047062A (en) Inspection method and inspection device of display panel
JP6461692B2 (en) Board inspection equipment
JP2015210226A (en) Visual inspection device and visual inspection method
CN109975299B (en) Light source detection system and method
CN110987939A (en) Detection method and detection device
JP2006275812A (en) Edge defect detection method, edge defect detector, edge defect detection program, and recording medium
TW201430326A (en) Brightness measuring method and system of device with backlight
JP2001068900A (en) Mounted part checking method and device, and lighting equipment
JP2012093329A (en) Inspection device and inspection method for light bar

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100614

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120626

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130108