JP7207948B2 - Appearance inspection method and program - Google Patents

Appearance inspection method and program Download PDF

Info

Publication number
JP7207948B2
JP7207948B2 JP2018204477A JP2018204477A JP7207948B2 JP 7207948 B2 JP7207948 B2 JP 7207948B2 JP 2018204477 A JP2018204477 A JP 2018204477A JP 2018204477 A JP2018204477 A JP 2018204477A JP 7207948 B2 JP7207948 B2 JP 7207948B2
Authority
JP
Japan
Prior art keywords
image
defects
inspection method
images
inspected
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.)
Active
Application number
JP2018204477A
Other languages
Japanese (ja)
Other versions
JP2020071106A (en
Inventor
康弘 ▲高▼濱
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.)
Mitutoyo Corp
Original Assignee
Mitutoyo Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitutoyo Corp filed Critical Mitutoyo Corp
Priority to JP2018204477A priority Critical patent/JP7207948B2/en
Publication of JP2020071106A publication Critical patent/JP2020071106A/en
Application granted granted Critical
Publication of JP7207948B2 publication Critical patent/JP7207948B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Analysis (AREA)

Description

本発明は、測定対象物を撮像して得られた画像に基づき、測定対象物の外観を検査する外観検査方法及びプログラムに関する。 The present invention relates to an appearance inspection method and program for inspecting the appearance of an object to be measured based on an image obtained by imaging the object to be measured.

画像測定機は、測定対象物(以下「ワーク」という。)の画像を撮像し、当該画像を解析して、画像内に含まれるエッジの点群を抽出し、抽出されたエッジの点群から近似される直線、円、多角形等の幾何的形状の距離、傾き、径、幅などを評価する装置である。抽出されたエッジの点群から幾何的形状を近似により求める際に、近似のもとになるエッジの点群の中に他の点とは大きく離れた点が含まれる場合、実際のワーク形状によりフィットした幾何形状を得るために、異常点を除外して幾何学形状を求めるという処理がしばしば行われている。そして、近似により求められた幾何学形状の評価は、設計データ等により定められる理想的な幾何学形状との対比により行われる。 An image measuring machine captures an image of an object to be measured (hereinafter referred to as "workpiece"), analyzes the image, extracts edge point groups contained in the image, and extracts edge points from the extracted edge point group. It is a device that evaluates the distance, inclination, diameter, width, etc. of approximated geometric shapes such as straight lines, circles, and polygons. When obtaining a geometric shape from the extracted edge point group by approximation, if the edge point group that is the basis of the approximation contains points that are greatly separated from other points, the actual workpiece shape may To obtain a fitted geometry, a process of excluding outliers to find the geometry is often performed. The geometrical shape obtained by approximation is evaluated by comparing it with an ideal geometrical shape determined by design data or the like.

特開2011-185888号公報JP 2011-185888 A

このように、従来の画像測定機は、異常点を無視して近似を行って得た幾何学形状を評価するものであったため、例えば、ワークの微細な欠け、変形、バリ、汚れ等のような、近似された幾何学形状から外れている欠陥部分に着目したいわゆる外観検査に適用することができなかった。 In this way, the conventional image measuring machine evaluates the geometric shape obtained by performing approximation while ignoring abnormal points. In addition, it could not be applied to the so-called appearance inspection focusing on the defective portion deviating from the approximated geometric shape.

上記の課題に鑑み、本発明は、画像測定機で実施できる外観検査方法、およびこのような外観検査方法を実現するプログラムを提供することを目的とする。 SUMMARY OF THE INVENTION In view of the above problems, an object of the present invention is to provide a visual inspection method that can be performed by a vision measuring machine, and a program for realizing such a visual inspection method.

(1)上記課題を解決すべく本発明に係る外観検査方法は、検査対象画像における対象領域を特定する対象領域特定ステップと、特定した対象領域に含まれる欠陥を検出する欠陥検出ステップと、検出した欠陥の数を計数する欠陥計数ステップと、計数された欠陥の数に基づき検査対象画像に写る対象物の合否を判定する判定ステップとを備えることを特徴とする。 (1) In order to solve the above problems, a visual inspection method according to the present invention includes a target area specifying step of specifying a target area in an inspection target image, a defect detection step of detecting a defect contained in the specified target area, and a detection a defect counting step for counting the number of defects detected; and a judgment step for judging acceptance/rejection of the object appearing in the image to be inspected based on the counted number of defects.

(2)本発明では、欠陥検出ステップは、対象領域に含まれるエッジを抽出するステップと、抽出したエッジを基準とするマスタ画像におけるエッジと比較して欠陥を検出するステップとを有するとよい。 (2) In the present invention, the defect detection step preferably includes a step of extracting edges included in the target region, and a step of comparing the extracted edges with edges in a master image to detect defects.

(3)複数の検査対象画像に対し外観検査方法を適用する場合において、マスタ画像は複数の検査対象画像のうち最初に外観検査方法が適用された画像とするとよい。(4)また、マスタ画像は複数の検査対象画像のうち直前に外観検査方法が適用された画像としてもよい。(5)あるいは、マスタ画像は複数の検査対象画像のうち、直前に外観検査方法が適用された結果合格と判定された画像としてもよい。 (3) When a visual inspection method is applied to a plurality of images to be inspected, the master image may be the first image to which the visual inspection method is applied among the plurality of images to be inspected. (4) Further, the master image may be an image to which the visual inspection method has been applied immediately before among the plurality of images to be inspected. (5) Alternatively, the master image may be an image, among the plurality of images to be inspected, that has been determined to pass as a result of applying the appearance inspection method immediately before.

(6)上記課題を解決すべく本発明に係るプログラムは、コンピュータに上記いずれかに記載の外観検査方法を実行させることを特徴とする。 (6) A program according to the present invention for solving the above problems causes a computer to execute any one of the appearance inspection methods described above.

画像測定機100の構成を示す斜視図である。1 is a perspective view showing the configuration of an image measuring machine 100. FIG. 撮像ユニット120の構成をステージ100とともに示す模式図である。2 is a schematic diagram showing the configuration of an imaging unit 120 together with a stage 100; FIG. 位置取得手段110の構成を示すブロック図である。2 is a block diagram showing the configuration of position acquisition means 110. FIG. コンピュータ本体141の構成を示すブロック図である。2 is a block diagram showing the configuration of a computer main body 141; FIG. 画面表示の例を示す図である。FIG. 10 is a diagram showing an example of screen display; 外観検査画面の一例を示す図である。It is a figure which shows an example of a visual inspection screen. 外観検査の手順を示すフローチャートである。4 is a flow chart showing the procedure of visual inspection. 外観検査画面の一例を示す図である。It is a figure which shows an example of a visual inspection screen. 外観検査画面の一例を示す図である。It is a figure which shows an example of a visual inspection screen. 外観検査画面の一例を示す図である。It is a figure which shows an example of a visual inspection screen.

以下、本発明の実施形態を図面を参照しつつ説明する。図1は、画像測定機1の構成を示す斜視図である。画像測定機1は、ステージ100と、位置取得手段110と、撮像ユニット120と、リモートボックス130と、コンピュータシステム140と、を備える。 BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a perspective view showing the configuration of the image measuring machine 1. As shown in FIG. The image measuring machine 1 includes a stage 100 , a position acquisition means 110 , an imaging unit 120 , a remote box 130 and a computer system 140 .

ステージ100は、その上面が水平面となるように配置され、当該上面にワーク(測定や検査の対象物)Wが載置される。ステージ100の上面のうち少なくともワークWが載置される部分は、ガラス等の光を透過する素材で形成される。ステージ100は、図示されていないX軸駆動モータおよびY軸駆動モータにより駆動され、水平面と平行なX軸方向及びY軸方向に移動可能とされる。各軸の駆動モータに対する駆動制御信号は、後述のリモートボックス130やコンピュータシステム140から各軸の駆動モータへと与えられる。 The stage 100 is arranged so that its upper surface is a horizontal surface, and a work (an object to be measured or inspected) W is placed on the upper surface. At least a portion of the upper surface of the stage 100 on which the workpiece W is placed is made of a material such as glass that transmits light. The stage 100 is driven by an X-axis drive motor and a Y-axis drive motor (not shown) and is movable in the X-axis direction and the Y-axis direction parallel to the horizontal plane. A drive control signal for the drive motor of each axis is given to the drive motor of each axis from a remote box 130 or computer system 140, which will be described later.

図2は、撮像ユニット120の構成をステージ100とともに示す模式図である。撮像ユニット120は、光学系122、撮像手段124、および光源126を備える。光学系122は、例えば複数のレンズ及び絞りを組み合わせてテレセントリック光学系を構成する。テレセントリック光学系では主光線が平行光とみなせるため、撮像した画像内における寸法がZ軸方向(高さ方向)の位置に依存しない。このため、起伏(例えば段差や孔部等)があるワークWを測定するのに好適である。光源126は、ワークWの画像を撮像する際にコンピュータシステム140による制御の下、少なくともワークWの撮像される部分に光を照射する。本実施形態では、光学系122を介してワークWに対し上方(つまり撮像手段124側)から光を照射する落射照明用の光源126a、及びワークWに対し下方(つまりステージ100の裏側)から光を照射する透過照明用の光源126bを備える。撮像手段124は、例えばCCD、CMOS等の二次元イメージセンサである。撮像手段124の受光面には、光学系122によってワークWの像が結像される。撮像手段124は、当該結像された像を撮像して、所定のフォーマットの画像データを出力する。この画像データには、画像を構成する画素の情報の他、少なくとも画像の撮影順を示すインデックスが含まれる。撮像ユニット120は、撮像手段124が出力する画像信号を、コンピュータシステム140に送信する。コンピュータシステム140と撮像ユニット120とは、例えばUSB(Universal Serial Bus)のような汎用の通信規格にて接続される。また、撮像ユニット120は1枚(1フレーム)の画像の撮像を完了するタイミングでトリガ信号をラッチ手段118に出力する。 FIG. 2 is a schematic diagram showing the configuration of the imaging unit 120 together with the stage 100. As shown in FIG. Imaging unit 120 includes optical system 122 , imaging means 124 , and light source 126 . The optical system 122 comprises, for example, a telecentric optical system by combining a plurality of lenses and diaphragms. In a telecentric optical system, the principal ray can be regarded as parallel light, so the dimension in the captured image does not depend on the position in the Z-axis direction (height direction). Therefore, it is suitable for measuring a work W having undulations (for example, steps, holes, etc.). The light source 126 irradiates at least the imaged portion of the work W with light under the control of the computer system 140 when the image of the work W is captured. In this embodiment, a light source 126a for epi-illumination that irradiates the work W with light from above (that is, the imaging means 124 side) through the optical system 122, and light from below the work W (that is, the back side of the stage 100). A light source 126b for transmitted illumination is provided. The imaging means 124 is, for example, a two-dimensional image sensor such as CCD or CMOS. An image of the workpiece W is formed on the light receiving surface of the imaging means 124 by the optical system 122 . The imaging means 124 captures the formed image and outputs image data in a predetermined format. This image data includes at least an index indicating the order in which the images are captured, in addition to information on the pixels forming the image. The imaging unit 120 transmits image signals output by the imaging means 124 to the computer system 140 . The computer system 140 and the imaging unit 120 are connected by a general-purpose communication standard such as USB (Universal Serial Bus). Further, the imaging unit 120 outputs a trigger signal to the latch means 118 at the timing when imaging of one image (one frame) is completed.

撮像ユニット120は、図示されていないZ軸駆動モータにより駆動され、Z軸方向(すなわちステージ100の上面に垂直な方向)に移動可能とされる。撮像ユニット120のZ軸方向の位置を調整することにより、ピント調整が行われる。Z軸駆動モータに対する駆動制御信号は、後述のリモートボックス130やコンピュータシステム140から与えられる。 The imaging unit 120 is driven by a Z-axis driving motor (not shown) and is movable in the Z-axis direction (that is, the direction perpendicular to the upper surface of the stage 100). Focus adjustment is performed by adjusting the position of the imaging unit 120 in the Z-axis direction. A drive control signal for the Z-axis drive motor is given from a remote box 130 or a computer system 140, which will be described later.

図3は、位置取得手段110の構成を示すブロック図である。位置取得手段110は、X軸エンコーダ112、Y軸エンコーダ114、Z軸エンコーダ116、及びラッチ手段118を備える。 FIG. 3 is a block diagram showing the configuration of the position acquisition means 110. As shown in FIG. The position acquisition means 110 comprises an X-axis encoder 112 , a Y-axis encoder 114 , a Z-axis encoder 116 and a latch means 118 .

X軸エンコーダ112は、ステージ100のX軸方向の位置座標を測定し出力する。Y軸エンコーダ114は、ステージ100のY軸方向の位置座標を測定し出力する。Z軸エンコーダ116は、撮像ユニット120のZ軸方向の位置座標を測定し出力する。各エンコーダは、目盛が刻まれたスケールとスケールの目盛を読み取るスケール読み取り部とを備える。スケールは各軸に沿ってステージ100や撮像ユニット120の可動部分に取り付けられる。一方、スケール読み取り部は、非可動部分に配置される。 The X-axis encoder 112 measures and outputs the position coordinates of the stage 100 in the X-axis direction. A Y-axis encoder 114 measures and outputs the position coordinates of the stage 100 in the Y-axis direction. The Z-axis encoder 116 measures and outputs the position coordinates of the imaging unit 120 in the Z-axis direction. Each encoder has a graduated scale and a scale reading unit that reads the graduations of the scale. The scales are attached to movable parts of the stage 100 and imaging unit 120 along each axis. On the other hand, the scale reader is arranged on the non-movable part.

ラッチ手段118は、カウンタ118aとバッファ118bとを備える。カウンタ118aは外部からトリガ信号(例えばパルス信号)が供給されると、カウント値を1増加させる。なお、カウンタ118aの値は、コンピュータシステム140の指示に基づき適宜リセットされる。バッファ118bは複数のアドレスの記憶領域を有し、トリガ信号が供給されたタイミングで、カウンタ118aのカウント値に応じたアドレスの記憶領域に、各軸のエンコーダの出力値をラッチし、記憶する。トリガ信号は、例えば撮像手段124から、1枚の画像の撮像が完了するタイミングで供給されるようにするとよい。ラッチ手段118が保持する各軸の位置座標は、アドレス値(つまりカウント値)と対応付けられて、適宜、コンピュータシステム140に取り込まれる。コンピュータシステム140とラッチ手段118とは、例えばUSB(Universal Serial Bus)のような汎用の通信規格にて接続される。画像データと位置座標はそれぞれ別々にコンピュータシステム140に取り込まれるが、画像データには撮像順を示すインデックスが付され、位置座標には撮像順を示すカウント値が付されるため、非同期でコンピュータシステム140に取り込まれたとしても、取り込み後に対応付けることが可能である。 The latch means 118 comprises a counter 118a and a buffer 118b. The counter 118a increases the count value by one when a trigger signal (for example, a pulse signal) is supplied from the outside. Note that the value of the counter 118a is appropriately reset based on instructions from the computer system 140. FIG. The buffer 118b has storage areas of a plurality of addresses, and latches and stores the output values of the encoders of each axis in the storage areas of addresses corresponding to the count values of the counter 118a at the timing when the trigger signal is supplied. The trigger signal may be supplied from the imaging means 124, for example, at the timing when imaging of one image is completed. The position coordinates of each axis held by the latch means 118 are associated with address values (that is, count values) and are taken into the computer system 140 as appropriate. The computer system 140 and the latch means 118 are connected by a general-purpose communication standard such as USB (Universal Serial Bus). The image data and the positional coordinates are separately fetched into the computer system 140, but the image data is assigned an index indicating the order of imaging, and the positional coordinates are assigned a count value indicating the order of imaging. 140, it can be associated after import.

図1に戻ると、リモートボックス130は、ステージ100および撮像ユニット120の位置を設定するための操作手段であり、操作者による操作に応じて、有線または無線の通信によりX軸駆動モータ、Y軸駆動モータ、およびZ軸駆動モータに対する駆動制御信号を送信する。リモートボックス130は、ジョイスティック132とジョグシャトル134を備える。ジョイスティック132は、ステージ100は、ステージ100の位置を設定するための操作入力手段であり、リモートボックス130は、ジョイスティック132の傾斜方向に応じて、ステージ100をX軸方向及びY軸方向に移動させるための駆動制御信号を送信する。ジョグシャトル134は、撮像ユニット120のZ軸方向位置を設定するための操作入力手段であり、リモートボックス130は、ジョグシャトル134の回転方向、回転量、及び回転速度等に応じて、撮像ユニット120をZ軸方向に移動させるための駆動制御信号を送信する。 Returning to FIG. 1, the remote box 130 is an operation means for setting the positions of the stage 100 and the imaging unit 120, and according to the operation by the operator, the X-axis drive motor, Y-axis It transmits drive control signals for the drive motor and the Z-axis drive motor. The remote box 130 has a joystick 132 and a jog shuttle 134 . The joystick 132 is an operation input means for setting the position of the stage 100, and the remote box 130 moves the stage 100 in the X-axis direction and the Y-axis direction according to the tilt direction of the joystick 132. Send a drive control signal for The jog shuttle 134 is operation input means for setting the Z-axis direction position of the imaging unit 120, and the remote box 130 controls the imaging unit 120 in accordance with the rotation direction, rotation amount, rotation speed, and the like of the jog shuttle 134. in the Z-axis direction.

コンピュータシステム140は、コンピュータ本体141、キーボード142、マウス143及びディスプレイ144を備える。図4は、コンピュータ本体141の構成を示すブロック図である。コンピュータ本体141は、制御の中心をなすCPU40と、記憶部41と、ワークメモリ42と、インタフェース(図4において「IF」と示す。)43、44と、ディスプレイ144での表示を制御する表示制御部45とを備える。 The computer system 140 comprises a computer main body 141 , a keyboard 142 , a mouse 143 and a display 144 . FIG. 4 is a block diagram showing the configuration of the computer main body 141. As shown in FIG. The computer main body 141 includes a CPU 40 that forms the center of control, a storage unit 41, a work memory 42, interfaces (shown as "IF" in FIG. 4) 43 and 44, and display control for controlling display on the display 144. a portion 45;

キーボード142又はマウス143から入力されるオペレータの指示情報は、インタフェース43を介してCPU40に入力される。インタフェース44は、撮像ユニット120およびステージ100と接続され、撮像ユニット120およびステージ100に対しCPU40からの各種制御信号を供給し、撮像ユニット120およびステージ100から各種のステータス情報や測定結果を受信してCPU40に入力する。 The operator's instruction information input from the keyboard 142 or the mouse 143 is input to the CPU 40 via the interface 43 . The interface 44 is connected to the imaging unit 120 and the stage 100, supplies various control signals from the CPU 40 to the imaging unit 120 and the stage 100, and receives various status information and measurement results from the imaging unit 120 and the stage 100. Input to the CPU 40 .

表示制御部45は、ディスプレイ144に撮像ユニット120で撮像した画像を表示する。また、表示制御部45は、撮像ユニット120により撮像した画像の他、画像測定機1への制御指示を入力するためのインタフェースや撮像した画像を解析するためのツールのインタフェース等をディスプレイ144に表示する。 The display control unit 45 displays the image captured by the imaging unit 120 on the display 144 . In addition to the image captured by the imaging unit 120, the display control unit 45 displays on the display 144 an interface for inputting a control instruction to the image measuring machine 1, an interface for a tool for analyzing the captured image, and the like. do.

ワークメモリ42は、CPU40の各種処理のための作業領域を提供する。記憶部41は、例えばハードディスクドライブやRAM等により構成され、CPU40により実行されるプログラム、撮像ユニット120で撮像して得られた画像データ等を格納する。 A work memory 42 provides a work area for various processes of the CPU 40 . The storage unit 41 is configured by, for example, a hard disk drive, RAM, etc., and stores programs executed by the CPU 40, image data obtained by imaging with the imaging unit 120, and the like.

CPU40は、各インタフェースを介した各種入力情報、オペレータの指示や記憶部41に格納された測定定義プログラム(パートプログラム)等に基づいて、撮像ユニット120、X軸駆動モータ、Y軸駆動モータ、Z軸駆動モータ等を制御し、撮像ユニット120の移動経路の設定、及び移動速度や露光時間の調整、光源126の光量の調整、撮像ユニット120による二次元画像の撮像、複数の部分画像を貼り合わせるイメージステッチ処理、撮像して得られた全体画像の解析等の各種の処理を実行する。 The CPU 40 controls the imaging unit 120, the X-axis drive motor, the Y-axis drive motor, the Z By controlling the axis drive motor, etc., setting the moving path of the imaging unit 120, adjusting the moving speed and exposure time, adjusting the light amount of the light source 126, capturing a two-dimensional image by the imaging unit 120, and pasting together a plurality of partial images. Various kinds of processing such as image stitch processing and analysis of the whole image obtained by imaging are executed.

以下では、上述の画像測定機1を用いて行う測定について説明する。 Measurement performed using the image measuring machine 1 described above will be described below.

〔基本的な画像測定〕
はじめに、オペレータによるジョイスティック132の操作またはコンピュータシステム140による制御により、ワークWが撮像視野内に入るようステージ100を移動する。そして、ワークWにピントが合うよう、撮像ユニット120のZ軸方向位置を調節する。ピントをワークWに合せた後、撮像手段124により測定用の画像を撮像する。このとき、撮像した画像とともに、X軸エンコーダ112およびY軸エンコーダ114が出力するステージ100の座標が、コンピュータシステム140に取り込まれ、記憶部41に格納される。具体的には、撮像手段124が1枚の画像の撮像を完了するタイミングでラッチ手段118に対するトリガ信号となるパルスを出力する。ラッチ手段118は、当該パルスの立ち上がり遷移のタイミングで(つまり、画像の撮像完了とほぼ同時に)、各軸の位置座標をラッチし保持する。コンピュータシステム140は、撮像手段124から画像信号を取り込むとともに、ラッチ手段118から画像を撮像したときの位置座標を取りこみ、両者を対応付けて記憶する。
[Basic image measurement]
First, the operator operates the joystick 132 or the computer system 140 controls the stage 100 so that the work W is within the field of view. Then, the position of the imaging unit 120 in the Z-axis direction is adjusted so that the workpiece W is in focus. After focusing on the work W, the imaging means 124 captures an image for measurement. At this time, the coordinates of the stage 100 output by the X-axis encoder 112 and the Y-axis encoder 114 are taken into the computer system 140 and stored in the storage unit 41 together with the captured image. Specifically, a pulse serving as a trigger signal to the latch means 118 is output at the timing when the imaging means 124 completes imaging of one image. The latch means 118 latches and holds the position coordinates of each axis at the timing of the rise transition of the pulse (that is, substantially at the same time as the imaging of the image is completed). The computer system 140 fetches the image signal from the imaging means 124, fetches the position coordinates when the image is taken from the latch means 118, and stores them in association with each other.

コンピュータシステム140は、得られた測定用の画像を、当該画像を解析するための測定ツールのインタフェースとともに、ディスプレイ144に表示する。図5は、画面表示の例を示す図である。この画面表示は、コンピュータシステム140のCPU40で実行されるプログラム(測定用アプリケーションソフトウェア)によってディスプレイ144に映し出される。 Computer system 140 displays the resulting measurement image on display 144 along with a measurement tool interface for analyzing the image. FIG. 5 is a diagram showing an example of screen display. This screen display is displayed on the display 144 by a program (measurement application software) executed by the CPU 40 of the computer system 140 .

図5に示すように、プログラムの実行によってディスプレイ144にはメインウィンドウMWが表示される。また、メインウィンドウMWの中には複数のウィンドウ(第1ウィンドウW1~第8ウィンドウW8)が表示される。メインウィンドウMWの上側には、メニューや各種操作及び設定のためのアイコンも表示される。なお、本実施形態では一例として8つのウィンドウを表示する例を示すが、必要に応じて8つ以外のウィンドウを表示してもよいし、ウィンドウの分割・統合・用途に応じた省略をしてもよい。また、各ウィンドウのレイアウトはオペレータの操作によって自由に変更することができる。 As shown in FIG. 5, the main window MW is displayed on the display 144 by executing the program. A plurality of windows (first window W1 to eighth window W8) are displayed in the main window MW. Menus and icons for various operations and settings are also displayed on the upper side of the main window MW. In this embodiment, eight windows are displayed as an example, but windows other than eight may be displayed as necessary, and windows may be divided, integrated, or omitted depending on the application. good too. Also, the layout of each window can be freely changed by the operator's operation.

第1ウィンドウW1には、撮像ユニット120で取り込んだワークWの画像WGが表示される。オペレータは、例えばマウス143やリモートボックス130のジョイスティック132を操作することで第1ウィンドウW1に表示させるワークWの画像WGの位置を調整することができる。また、オペレータは、例えばマウス143によるアイコンの選択によって、ワークWの画像WGを拡大・縮小することもできる。 An image WG of the workpiece W captured by the imaging unit 120 is displayed in the first window W1. The operator can adjust the position of the image WG of the work W displayed in the first window W1 by operating the mouse 143 or the joystick 132 of the remote box 130, for example. The operator can also enlarge/reduce the image WG of the work W by selecting an icon with the mouse 143, for example.

第2ウィンドウW2には、オペレータによって選択可能な測定ツールのアイコンが表示される。測定ツールのアイコンは、ワークWの画像WGから測定ポイントを指定するための指定方法に対応して設けられている。測定ツールの具体例としては、直線のエッジ検出ツール、円形のエッジ検出ツール等が挙げられる。 The second window W2 displays icons of measurement tools that can be selected by the operator. The icon of the measurement tool is provided corresponding to the specification method for specifying the measurement point from the image WG of the workpiece W. Examples of measurement tools include straight edge detection tools, circular edge detection tools, and the like.

第3ウィンドウW3には、オペレータによって選択可能なファンクションのアイコンが表示される。ファンクションのアイコンは、測定方法ごとに設けられている。例えば、1点の座標を測定する方法、直線の長さを測定する方法、円形を測定する方法、楕円形を測定する方法、角穴を測定する方法、長穴を測定する方法、ピッチを測定する方法、2つの線の公差を測定する方法などである。コンピュータシステム140は、オペレータの選択に従い、直線の長さ、直線間の距離、円の径などの寸法の測定や、真直度、真円度、平行度等の理想的な幾何形状からのずれ(狂い)の評価を行う。 Icons of functions that can be selected by the operator are displayed in the third window W3. A function icon is provided for each measurement method. For example, how to measure the coordinates of a point, how to measure the length of a straight line, how to measure a circle, how to measure an ellipse, how to measure a square hole, how to measure an oblong hole, how to measure a pitch. method, method of measuring the tolerance of two lines, and so on. The computer system 140, according to the operator's selection, measures dimensions such as the length of straight lines, distances between straight lines, diameters of circles, and deviations from ideal geometric shapes such as straightness, roundness, parallelism, etc. Insanity) evaluation.

第4ウィンドウW4には、測定に関する操作手順を表すガイダンスが表示される。 A fourth window W4 displays a guidance showing an operation procedure for measurement.

第5ウィンドウW5には、撮像ユニット120からワークWに照射する照明をコントロールするための各種スライダが表示される。オペレータは、このスライダを操作することで、ワークWに対して所望の照明を当てることができる。 In the fifth window W5, various sliders for controlling the lighting applied from the imaging unit 120 to the workpiece W are displayed. The operator can apply desired illumination to the work W by operating this slider.

第6ウィンドウW6には、ステージ100のXY座標値が表示される。第6ウィンドウW6に表示されるXY座標値は、所定の原点に対するステージ100のX軸方向の座標及びY軸方向の座標である。 The XY coordinate values of the stage 100 are displayed in the sixth window W6. The XY coordinate values displayed in the sixth window W6 are the coordinates in the X-axis direction and the Y-axis direction of the stage 100 with respect to a predetermined origin.

第7ウィンドウW7には、公差判定結果が表示される。すなわち、第7ウィンドウW7には、公差の判定を行うことができる測定方法を選択した場合に、その結果が表示される。 The seventh window W7 displays the result of tolerance determination. That is, in the seventh window W7, the result is displayed when a measurement method capable of judging the tolerance is selected.

第8ウィンドウW8には、測定結果が表示される。すなわち、第8ウィンドウW8には、所定の演算によって測定結果を得る測定方法が選択された場合に、その測定結果が表示される。なお、第7ウィンドウW7の公差判定結果及び第8ウィンドウW8の測定結果の表示の詳細は図示を省略する。 A measurement result is displayed in the eighth window W8. That is, in the eighth window W8, the measurement result is displayed when a measurement method that obtains the measurement result by a predetermined calculation is selected. Details of the display of the tolerance determination result in the seventh window W7 and the measurement result in the eighth window W8 are omitted from the illustration.

〔外観検査の画面〕
本実施形態の画像測定機1では、コンピュータシステム140のCPU40で実行されるプログラム(測定用アプリケーションソフトウェア)は、上記のような基本的な画像測定に加え、ワークWの微細な欠け、変形、バリ、汚れ等といった欠陥に着目したいわゆる外観検査を行う機能を提供する。
[Appearance inspection screen]
In the image measuring machine 1 of the present embodiment, the program (measurement application software) executed by the CPU 40 of the computer system 140 performs the basic image measurement as described above, and also measures fine chipping, deformation, and burrs of the work W. , and provides a function of performing a so-called appearance inspection focusing on defects such as stains.

図6は、外観検査用の画面(以下、外観検査画面という)の一例を示している。外観検査画面は、画像ペインP1、フィルムストリップペインP2、測定結果表示ペインP3、及びコントロールペインP4で構成される。外観検査画面は後述する画像処理及び欠陥判定のアルゴリズム毎に異なるタブとして設けられてもよいが、この場合においても各タブは、それぞれ画像ペインP1、フィルムストリップペインP2、測定結果表示ペインP3、及びコントロールペインP4で構成される。 FIG. 6 shows an example of a screen for visual inspection (hereinafter referred to as a visual inspection screen). The visual inspection screen consists of an image pane P1, a filmstrip pane P2, a measurement result display pane P3, and a control pane P4. The appearance inspection screen may be provided as different tabs for each algorithm of image processing and defect determination, which will be described later. It consists of a control pane P4.

画像ペインP1は、外観検査の対象とする画像を表示する領域である。この画像ペインP1に表示された画像に対し、コントロールペインP4で設定する条件にて画像処理及び欠陥判定が行われる。 The image pane P1 is an area for displaying an image to be inspected for appearance. Image processing and defect determination are performed on the image displayed in the image pane P1 under the conditions set in the control pane P4.

画像ペインP1上でマウスのドラッグ操作を行うと、ドラッグの始点と終点を結ぶ線分を対角線とする矩形の領域を、表示している画像に対して欠陥判定を行う領域として指定することができる。このドラッグ操作を行うと、画像ペインP1には指定された矩形の領域の輪郭を示す領域ツールが、画像に重畳して表示される。領域ツールはクリックにより選択することができ、選択により表示されるハンドルをドラッグすることによりサイズを変更することができる。また選択状態においてキーボードのDELキーを押下する操作により領域ツールを削除することもできる。 When a mouse is dragged on the image pane P1, a rectangular area whose diagonal line is a line segment connecting the drag start point and the drag end point can be specified as an area for performing defect determination on the displayed image. . When this drag operation is performed, an area tool showing the outline of the specified rectangular area is displayed in the image pane P1 superimposed on the image. The region tool can be selected by clicking and resized by dragging the handles that appear upon selection. The area tool can also be deleted by pressing the DEL key on the keyboard in the selected state.

フィルムストリップペインP2は、外観検査を行うために読み込んだ画像をサムネイル形式で表示する領域である。フィルムストリップペインP2に表示されている画像の1つをダブルクリックすると、当該画像が画像ペインP1に表示され、画像処理及び欠陥判定の対象となる。画像を読み込んだ直後の初期状態では、所定の画像(例えば名前順、保存日時順等でソートしたときに先頭となる画像)がフィルムストリップペインP2において選択状態となり、画像ペインP1に表示される。 The filmstrip pane P2 is an area for displaying images read for visual inspection in a thumbnail format. When one of the images displayed in the filmstrip pane P2 is double-clicked, the image is displayed in the image pane P1 for image processing and defect determination. In the initial state immediately after the images are read, a predetermined image (for example, the first image when sorted by name, date of saving, etc.) is selected in the filmstrip pane P2 and displayed in the image pane P1.

画像ペインP1で処理・判定した画像に欠陥がある場合は、フィルムストリップペインP2における当該欠陥が見つかった画像にハッチングHを付し、欠陥の見つかっていない画像と容易に識別可能とする。このとき、ハッチングの態様を欠陥の数に応じて異ならせるとよい。例えば、処理した画像に欠陥があり、その数が所定数以上の場合、フィルムストリップペインP2における当該画像に赤でハッチングを付し、処理した画像に欠陥があるが、その数が一定数未満の場合、フィルムストリップペインP2における当該画像に橙でハッチングを付すといったようにするとよい。また、ハッチングの態様の境界となる所定数は、後述のコントロールペインP4にて設定可能とするとよい。 If the image processed and judged in the image pane P1 has a defect, the image in which the defect is found in the filmstrip pane P2 is hatched H so that it can be easily distinguished from the image in which no defect has been found. At this time, it is preferable to change the hatching mode according to the number of defects. For example, if the processed image has defects and the number of defects is greater than or equal to a predetermined number, the image in the filmstrip pane P2 is hatched in red, and the processed image has defects but the number of defects is less than a certain number. In this case, the image in question in the filmstrip pane P2 should be hatched in orange. Further, it is preferable that the predetermined number, which is the boundary of the hatching pattern, can be set in the control pane P4, which will be described later.

測定結果表示ペインP3は、画像ペインP1に表示されている画像に欠陥が見つかった場合に欠陥の情報を表示する領域である。欠陥が複数ある場合には、全ての欠陥の情報が一覧形式で表示される。測定結果表示ペインP3に一覧形式で表示されている欠陥の情報がクリックされると、当該欠陥の情報を画像内における当該欠陥と関連付けられた態様で画像ペインP1に表示する。具体的には、画像ペインP1に表示された画像に重畳して欠陥とされた領域Dを囲う図形(例えば欠陥の輪郭線、欠陥を内包する矩形等)を表示するとともに、当該図形に対し吹き出しを設けて欠陥の情報を表示するとよい。 The measurement result display pane P3 is an area for displaying defect information when a defect is found in the image displayed in the image pane P1. If there are multiple defects, information on all defects is displayed in a list format. When the defect information displayed in the list format in the measurement result display pane P3 is clicked, the defect information is displayed in the image pane P1 in a form associated with the defect in the image. Specifically, a figure surrounding the defective area D (for example, a contour line of the defect, a rectangle containing the defect, etc.) is superimposed on the image displayed in the image pane P1, and a balloon is displayed for the figure. to display defect information.

コントロールペインP4は、画像ペインP1に表示されている画像に対して行う画像処理や欠陥判定の条件を設定するためのユーザインタフェースが表示される領域である。また、コントロールペインP4には、上記のユーザインタフェースに加え、画像ペインP1に表示されている画像に対応するワークWの総合的な良否を示す総合判定が表示される。 The control pane P4 is an area where a user interface is displayed for setting conditions for image processing and defect determination to be performed on the image displayed in the image pane P1. In addition to the above-described user interface, the control pane P4 also displays a comprehensive judgment indicating the overall quality of the work W corresponding to the image displayed in the image pane P1.

コントロールペインP4にて提供されるユーザインタフェースにより、画像処理のパラメータ(例えば、二値化を行う場合の閾値、輝度値反転の有無等)、エッジ検出のパラメータ(例えば、エッジとみなす輝度変化量の閾値等)、欠陥判定のパラメータ(例えば、許容される欠陥サイズ(幅、高さ、面積等)の上限値等)、及び1枚の画像に許容される欠陥数の上限値等が設定可能とされる。ユーザインタフェースは、数値を直接入力する形式のほか、スライダバー、スイッチ等のGUI(Graphical User Interface)コントロールとして提供されてもよい。 Using the user interface provided in the control pane P4, image processing parameters (e.g., threshold value for binarization, presence or absence of luminance value inversion, etc.), edge detection parameters (e.g., luminance change amount regarded as an edge) threshold, etc.), parameters for defect determination (for example, the upper limit of the allowable defect size (width, height, area, etc.), and the upper limit of the number of defects allowed in one image, etc. can be set. be done. The user interface may be provided as a GUI (Graphical User Interface) control such as a slider bar, a switch, etc., as well as a format for directly inputting numerical values.

総合判定は、画像ペインP1に表示されている画像に対応するワークWの総合的な判定結果を示す。例えば、判定結果が合格(OK)の場合には、判定結果表示領域R1を黄緑色とするとともに「OK」と表示し、判定結果が不合格(NG)の場合には、判定結果表示領域を赤色とするとともに「NG」と表示する、といったように判定結果を視覚的に認識しやすくするとよい。判定の基準は任意であるが、例えば、1つのワークWに対して複数の画像が得られている場合、これら複数の画像のうち1枚でも許容されないサイズの欠陥が許容数を超えて検出されている場合には、当該ワークW自体の検査結果が不合格(NG)とするとよい。さらに、各画像内で検出された許容されないサイズの欠陥の数が許容数を超えていない場合でも、1つのワークWに対応する複数の画像で検出された欠陥の数の合計値が許容数を超える場合には、当該ワークWの検査結果が不合格(NG)としてもよい。 Comprehensive judgment indicates a comprehensive judgment result of the work W corresponding to the image displayed in the image pane P1. For example, when the judgment result is pass (OK), the judgment result display area R1 is displayed in yellow green and "OK" is displayed, and when the judgment result is fail (NG), the judgment result display area is changed to It is preferable to make the determination result visually recognizable by displaying "NG" together with the color red. Although the criteria for determination are arbitrary, for example, when a plurality of images are obtained for one workpiece W, even one of these plurality of images detects a defect of an unacceptable size exceeding the allowable number. If the work W is found to be defective, the inspection result of the work W itself should be rejected (NG). Furthermore, even if the number of unacceptable size defects detected in each image does not exceed the allowable number, the total number of defects detected in a plurality of images corresponding to one workpiece W exceeds the allowable number. If it exceeds, the inspection result of the workpiece W may be rejected (NG).

〔外観検査の流れ〕
続いて、図7に示すフローチャートを参照して、外観検査の手順を説明する。なお、以下の説明において、処理の主体に特に言及がない場合、コンピュータシステム140のCPU40で実行されるプログラムが主体であるものと理解されたい。
[Flow of appearance inspection]
Next, the procedure of appearance inspection will be described with reference to the flowchart shown in FIG. In the following description, if there is no particular mention of the subject of processing, it should be understood that the program executed by CPU 40 of computer system 140 is the subject.

外観検査を開始するに先立ち、ユーザはプログラム(測定用アプリケーションソフトウェア)において外観検査を行うためのメニューを選択する。これに応じて、ディスプレイ144には外観検査画面が表示される。続いてプログラムは、ユーザに外観検査の対象とする1以上の画像を指定するようユーザに促す。これに応じてユーザが画像ファイルを指定すると、画像ファイルが読み込まれ、読み込まれた全ての画像がフィルムストリップペインP2に表示されるとともに、先頭の画像が画像ペインP1に表示される。ここで、読み込まれたすべての画像には、それぞれ対応するワークWを識別する情報が付加情報として記録されているものとする。あるいは、ワークWを識別する情報を付加情報として記録せず、一括して読み込むよう指定された複数の画像は同じワークWについての画像であるものとして扱うようにしてもよい。 Prior to starting visual inspection, the user selects a menu for visual inspection in the program (measurement application software). In response to this, the display 144 displays an appearance inspection screen. The program then prompts the user to designate one or more images for visual inspection. When the user designates an image file in response to this, the image file is read, all the read images are displayed in the filmstrip pane P2, and the first image is displayed in the image pane P1. Here, it is assumed that information for identifying the corresponding work W is recorded as additional information in all the read images. Alternatively, the information for identifying the work W may not be recorded as additional information, and a plurality of images designated to be read collectively may be treated as images of the same work W. FIG.

画像ペインP1に表示されている画像が外観検査の対象になるところ、先頭の画像以外の画像についてユーザが外観検査を希望する場合、ユーザがフィルムストリップペインP2において希望の画像をダブルクリックすることで、当該希望の画像を画像ペインP1に表示させることができる。このようにして外観検査の対象とする画像が画像ペインP1に表示された状態で、外観検査が開始される。 Although the image displayed in the image pane P1 is subject to visual inspection, if the user wishes to have an image other than the top image inspected, the user can double-click the desired image in the filmstrip pane P2. , the desired image can be displayed in the image pane P1. With the image to be inspected displayed in the image pane P1 in this way, the visual inspection is started.

外観検査が開始されると、はじめにプログラムは、ユーザによる各種条件の設定を受け付ける(ステップS100)。具体的には、画像処理及び欠陥判定のアルゴリズムに対応するタブの選択、画像処理のパラメータ(二値化の閾値等)の設定、欠陥判定のパラメータ(許容される欠陥の幅、高さ、面積等)の設定、許容欠陥数の設定等を受け付ける。なお、これらの設定は、任意のタイミングで変更することも可能とされる。 When the appearance inspection is started, the program first accepts the setting of various conditions by the user (step S100). Specifically, selection of tabs corresponding to image processing and defect judgment algorithms, setting of image processing parameters (binarization threshold, etc.), defect judgment parameters (permissible defect width, height, area etc.) and allowable number of defects. Note that these settings can be changed at any timing.

続いて、欠陥を検出する対象領域が特定される(ステップS110)。対象領域の特定方法は任意である。例えば、ユーザの操作により領域ツールを用いて対象領域を指定してもよいし、エッジ抽出により抽出されたエッジにより仕切られた領域を自動的に対象領域として特定してもよい。あるいは、画像内に含まれる特定の形状や位置の領域を対象領域として特定してもよい。 Subsequently, a target area for defect detection is identified (step S110). Any method can be used to specify the target area. For example, the target region may be specified using a region tool by user operation, or a region partitioned by edges extracted by edge extraction may be automatically identified as the target region. Alternatively, a region of a specific shape or position contained within the image may be specified as the target region.

続いて、ステップS100で設定された画像処理のパラメータに基づき画像処理が実施される(ステップS120)。画像処理は画像全体に対して適用されてもよいし、対象領域にのみ適用されてもよい。ここで行われる画像処理としては、例えば、明暗の反転、ノイズ除去、二値化等が挙げられるが、欠陥の形状やサイズを特定しやすくするために画像は最終的に二値化されるものとする。 Subsequently, image processing is performed based on the image processing parameters set in step S100 (step S120). Image processing may be applied to the entire image or only to the region of interest. The image processing performed here includes, for example, inversion of light and dark, noise removal, binarization, etc. In order to make it easier to identify the shape and size of the defect, the image is finally binarized. and

次に、ステップS120で処理され二値化された画像において、対象領域内で黒(つまり画素の値が0)の領域が欠陥として検出される(ステップS130)。黒の領域が複数ある場合には、それぞれが別の欠陥として検出される。このとき、プログラムは、検出された欠陥をユーザが認識し易くするための画面表示を行う。すなわち、画像ペインP1に表示された画像に重畳して欠陥とされた領域Dを囲う図形(例えば欠陥の輪郭線、欠陥を内包する矩形等)を表示する。また、測定結果表示ペインP3に一覧形式で表示されている欠陥の情報がクリックされると、当該図形に対し吹き出しを設けて欠陥の情報を表示する。 Next, in the image processed and binarized in step S120, a black region (that is, the pixel value is 0) in the target region is detected as a defect (step S130). If there are multiple black areas, each is detected as a separate defect. At this time, the program performs screen display to facilitate the user's recognition of the detected defects. That is, a figure surrounding the defective area D (for example, a contour line of the defect, a rectangle containing the defect, etc.) is displayed superimposed on the image displayed in the image pane P1. Further, when the defect information displayed in the list form in the measurement result display pane P3 is clicked, the defect information is displayed by providing a balloon for the graphic.

続いて、ステップS130にて検出した欠陥のそれぞれについて、ステップS100で設定した欠陥判定のパラメータと照らし合わせて、許容されるサイズを超えるか否かを判定し、許容されるサイズを超える欠陥の数を計数する(ステップS140)。そして、許容されるサイズを超える欠陥の数をステップS100で設定した許容欠陥数と比較し、比較結果に応じて当該画像についての合否判定を行う(ステップS150)。 Subsequently, for each of the defects detected in step S130, it is checked against the defect determination parameters set in step S100 to determine whether or not the size exceeds the allowable size, and the number of defects exceeding the allowable size is counted (step S140). Then, the number of defects exceeding the allowable size is compared with the allowable number of defects set in step S100, and pass/fail determination is made for the image according to the comparison result (step S150).

また、測定用アプリケーションソフトウェアは、検出された欠陥の数及び許容欠陥数との比較結果に応じて、欠陥の検出状況をユーザが認識し易くするための画面表示を行う(ステップS160)。すなわち、検出された欠陥の数が許容欠陥数を超える場合、フィルムストリップペインP2におけるこの画像について、赤色等の目立つ色でハッチングを付す。また、検出された欠陥の数はゼロでないものの許容欠陥数を超えていない場合、フィルムストリップペインP2におけるこの画像について、許容欠陥数を超える場合に付すハッチングと比べ目立ちにくい色(例えば橙)でハッチングを付す。また、欠陥が検出されなかった場合には(検出数0)、フィルムストリップペインP2におけるこの画像にはハッチングを付さない。このようにして付されたハッチングは、当該画像に対する外観検査を終えた後もその状態が維持される。したがって、ユーザは外観検査を終えた複数の画像について、欠陥の検出状況を一目で認識することができる。 In addition, the measurement application software displays a screen to facilitate the user's recognition of the defect detection status according to the number of detected defects and the result of comparison with the allowable number of defects (step S160). That is, if the number of detected defects exceeds the allowable number of defects, the image in filmstrip pane P2 is hatched in a prominent color such as red. Also, if the number of detected defects is not zero but does not exceed the allowable number of defects, this image in the filmstrip pane P2 is hatched in a less conspicuous color (e.g., orange) than the hatching applied when the number of allowable defects is exceeded. attached. Also, if no defect is detected (0 detections), this image in the filmstrip pane P2 is not hatched. The hatching added in this way is maintained even after the image has been visually inspected. Therefore, the user can recognize at a glance the detection status of defects in a plurality of images that have undergone visual inspection.

続いて、ステップS150にて行った当該画像についての合否判定に加え、当該画像に対応するワークWについての総合判定を行う(ステップS160)。この総合判定は、当該画像と同じワークWの別の画像における検出された欠陥数や合否判定の結果を集約して行われる。例えば、1枚でも合否判定の結果が不合格の画像がある場合や、個々の画像内で検出された許容されないサイズの欠陥の数が許容数を超えていないものの、各画像で検出された欠陥数の合計値が許容数を超える場合には、当該画像に対応するワークWの検査結果を不合格とするとよい。 Subsequently, in addition to the pass/fail determination for the image performed in step S150, comprehensive determination is performed for the work W corresponding to the image (step S160). This comprehensive judgment is performed by aggregating the number of defects detected in other images of the same workpiece W as the current image and the results of pass/fail judgments. For example, if even one image fails the pass/fail judgment, or if the number of unacceptable size defects detected in an individual image does not exceed the allowable number, the defect detected in each image If the total number exceeds the allowable number, the inspection result of the workpiece W corresponding to the image may be rejected.

以上により、1枚の画像に対する外観検査を終了する。その後も読み込んだ全ての画像について、対象を適宜選択しつつ外観検査が行われる。 The above completes the appearance inspection for one image. Appearance inspection is then performed on all the read images while appropriately selecting targets.

〔画像処理及び欠陥判定のアルゴリズムの具体例〕
続いて、画像ペインP1に表示されている画像に対して行われる画像処理及び欠陥判定のアルゴリズムの具体例を説明する。
[Specific example of algorithm for image processing and defect determination]
Next, a specific example of an algorithm for image processing and defect determination performed on the image displayed in the image pane P1 will be described.

[例1:Binarization]
「二値化(Binarization)」は、画像内における所定の領域内に含まれる欠陥を検出するアルゴリズムである。前掲の図6に示すように、「二値化」のアルゴリズムのタブを選択すると、設定パラメータとして、二値化の閾値(Brightness Threshold)、許容される欠陥のサイズ(Allowable defect size;幅、高さ、面積)、許容欠陥数(Allowable defect number)がコントロールペインP4にて設定可能とされる。適宜パラメータを設定し、フィルムストリップペインP2において外観検査の対象とする画像を選択すると、欠陥対象領域として画像中央部の面取り四角形の内部が対象領域として特定される。
[Example 1: Binarization]
"Binarization" is an algorithm that detects defects contained within a given region in an image. As shown in FIG. 6 above, when the "binarization" algorithm tab is selected, the setting parameters are the threshold for binarization (Brightness Threshold), the allowable defect size (width, height size, area) and the number of allowable defects (Allowable defect number) can be set in the control pane P4. By appropriately setting the parameters and selecting an image to be inspected in the filmstrip pane P2, the inside of the chamfered rectangle in the center of the image is identified as the defect target area.

そして、当該対象領域内が閾値に応じて二値化され、二値化の結果黒色となった領域が欠陥として検出される。検出された欠陥について、画像ペインP1に表示された画像に重畳して欠陥とされた領域Dを囲う輪郭線と欠陥を内包する矩形を表示する。また、検出された欠陥の情報を測定結果表示ペインP3に一覧形式で表示する。検出された欠陥について、許容されるサイズを超えるものの数が計数される。この計数値に応じて、フィルムストリップペインP2の当該画像にハッチングが付される。また、計数値が許容欠陥数を超える場合、当該画像に対応するワークは不合格とされる。 Then, the inside of the target area is binarized according to the threshold value, and the area that becomes black as a result of the binarization is detected as a defect. Concerning the detected defect, a contour line surrounding the defect area D and a rectangle containing the defect are displayed superimposed on the image displayed in the image pane P1. Also, the information of the detected defects is displayed in the measurement result display pane P3 in a list format. The number of detected defects that exceed the allowed size is counted. The corresponding image in the filmstrip pane P2 is hatched according to this count value. Also, if the count exceeds the allowable number of defects, the workpiece corresponding to the image is rejected.

[例2:Area]
「エリア(Area)」は、画像内で抽出されたエッジにて仕切られた領域内に含まれる欠陥を検出するアルゴリズムである。図8に示すように、「エリア」のアルゴリズムのタブを選択すると、設定パラメータとして、二値化の閾値(Brightness Threshold)、輝度値の反転(Defective in the dark)、エッジとみなす変化量の閾値(Amount of change considered as an edge)、許容される欠陥のサイズ(Allowable defect size;幅、高さ、面積)、許容欠陥数(Allowable defect number)がコントロールペインP4にて設定可能とされる。適宜パラメータを設定し、フィルムストリップペインP2において外観検査の対象とする画像を選択すると、画像ペインP1に選択した画像が表示される。
[Example 2: Area]
"Area" is an algorithm that detects defects contained within regions bounded by edges extracted in the image. As shown in Fig. 8, when you select the "Area" algorithm tab, the setting parameters are the threshold for binarization (Brightness Threshold), the inversion of the brightness value (Defective in the dark), and the threshold for the amount of change that is regarded as an edge. (Amount of change considered as an edge), allowable defect size (width, height, area), and allowable defect number (Allowable defect number) can be set in the control pane P4. When the parameters are appropriately set and an image to be inspected is selected in the filmstrip pane P2, the selected image is displayed in the image pane P1.

画像ペインP1に表示された画像に対し、領域ツールによりエッジ検出をする領域を設定する。すると、設定した領域内に存在するエッジが抽出される。このエッジをフィッティングした直線によって画像が2つの領域に仕切られる。この2つの領域のうち明るい側の領域が対象領域として特定される。なお、暗い側の領域を対象領域としたい場合には、輝度値の反転を設定して明暗を逆転させる。 A region for edge detection is set with the region tool for the image displayed in the image pane P1. Edges existing within the set area are then extracted. The image is partitioned into two regions by a straight line fitting this edge. The brighter area of these two areas is specified as the target area. If the dark side area is desired to be the target area, the brightness value is set to be inverted to reverse the brightness.

そして、対象領域内が二値化の閾値に応じて二値化され、二値化の結果黒色となった領域が欠陥として検出される。検出された欠陥について、画像ペインP1に表示された画像に重畳して欠陥とされた領域Dを囲う輪郭線と欠陥を内包する矩形を表示する。また、検出された欠陥の情報を測定結果表示ペインP3に一覧形式で表示する。検出された欠陥について、許容されるサイズを超えるものの数が計数される。この計数値に応じて、フィルムストリップペインP2の当該画像にハッチングが付される。また、計数値が許容欠陥数を超える場合、当該画像に対応するワークは不合格とされる。 Then, the inside of the target area is binarized according to the binarization threshold, and the area that becomes black as a result of the binarization is detected as a defect. Concerning the detected defect, a contour line surrounding the defect area D and a rectangle containing the defect are displayed superimposed on the image displayed in the image pane P1. Also, the information of the detected defects is displayed in the measurement result display pane P3 in a list format. The number of detected defects that exceed the allowed size is counted. The corresponding image in the filmstrip pane P2 is hatched according to this count value. Also, if the count exceeds the allowable number of defects, the workpiece corresponding to the image is rejected.

また、当該画像における計数値が許容欠陥数を超えない場合であっても、同じワークにおける別の部位が写った画像についての計数値との合計がワーク全体としての許容欠陥数を超える場合には、当該ワークを不合格とする総合判定をするとよい。例えば、図8の例では、円形のワークの縁部が複数の画像に分けて撮像されており、これらの画像がフィルムストリップペインP2に表示されている。これらの画像についての計数値を集約して、ワーク全体としての欠陥数の計数値を求め、ワーク全体についての許容欠陥数と対比して総合判定が行われる。 In addition, even if the count value in the image does not exceed the allowable number of defects, if the total of the count value for the image showing another part of the same work exceeds the allowable number of defects for the entire work , it is better to make a general judgment that the work is rejected. For example, in the example of FIG. 8, the edge of a circular workpiece is captured by dividing it into a plurality of images, and these images are displayed in the filmstrip pane P2. The count values for these images are aggregated to obtain the count value for the number of defects for the entire work, and the total number of defects for the entire work is compared with the allowable number of defects for comprehensive judgment.

[例3:Comparison]
「比較(Comparison)」は、画像内でエッジを抽出し、この抽出したエッジ位置を基準とするマスタ画像におけるエッジ位置と比較して欠陥を検出するアルゴリズムであり、エッジ部に生じる欠陥(欠け、バリ等)の検出に好適に用いられる。図9に示すように、「比較」のアルゴリズムのタブを選択すると、設定パラメータとして、検出されたエッジ全体としてのマスタ画像のエッジからの誤差の閾値(Master Threshold)、エッジとみなす変化量の閾値(Amount of change considered as an edge)、許容される欠陥のサイズ(Allowable defect size;長さ(連続画素数)、深さ(マスタ画像でのエッジからの誤差)、許容欠陥数(Allowable defect number)がコントロールペインP4にて設定可能とされる。適宜パラメータを設定し、フィルムストリップペインP2において外観検査の対象とする画像を選択すると、画像ペインP1に選択した画像が表示される。
[Example 3: Comparison]
"Comparison" is an algorithm that extracts edges in an image and compares the extracted edge positions with the edge positions in the master image to detect defects. burrs, etc.). As shown in FIG. 9, when the "Comparison" algorithm tab is selected, as setting parameters, the threshold of the error from the edge of the master image as a whole detected edge (Master Threshold), the threshold of the amount of change to be regarded as an edge (Amount of change considered as an edge), Allowable defect size (length (number of consecutive pixels), depth (error from edge in master image), Allowable defect number) can be set in the control pane P4.When appropriate parameters are set and an image to be inspected is selected in the filmstrip pane P2, the selected image is displayed in the image pane P1.

画像ペインP1に表示された画像に対し、領域ツールによりエッジ検出をする領域を設定する。「比較」のアルゴリズムでは、このとき設定する領域が対象領域となる。対象領域を設定すると、プログラムは対象領域内に存在するエッジを抽出する。そして、抽出したエッジをマスタ画像で抽出されたエッジと対比して、ずれのある部分を欠陥として検出する。そして、検出された欠陥の情報を測定結果表示ペインP3に一覧形式で表示する。検出された欠陥について、許容されるサイズ(長さ・深さ)を超えるものの数が計数される。この計数値に応じて、フィルムストリップペインP2の当該画像にハッチングが付される。また、計数値が許容欠陥数を超える場合、当該画像に対応するワークは不合格とされる。 A region for edge detection is set with the region tool for the image displayed in the image pane P1. In the "comparison" algorithm, the area set at this time is the target area. After setting the region of interest, the program extracts the edges that lie within the region of interest. Then, the extracted edge is compared with the edge extracted from the master image, and the misaligned portion is detected as a defect. Then, the information of the detected defects is displayed in the measurement result display pane P3 in a list format. The number of detected defects exceeding the allowable size (length and depth) is counted. The corresponding image in the filmstrip pane P2 is hatched according to this count value. Also, if the count exceeds the allowable number of defects, the workpiece corresponding to the image is rejected.

また、当該画像における計数値が許容欠陥数を超えない場合であっても、同じワークにおける別の部位が写った画像についての計数値との合計がワーク全体としての許容欠陥数を超える場合には、当該ワークを不合格とする総合判定をするとよい。また、当該画像で検出されたエッジが全体としてマスタ画像で検出されたエッジから閾値(Master Threshold)を超えてずれている場合には、総合判定を不合格としてもよい。 In addition, even if the count value in the image does not exceed the allowable number of defects, if the total of the count value for the image showing another part of the same work exceeds the allowable number of defects for the entire work , it is better to make a general judgment that the work is rejected. Further, if the edges detected in the image as a whole deviate from the edges detected in the master image by exceeding a threshold (Master Threshold), the overall judgment may be rejected.

上記の「比較」のアルゴリズムでは、設計データ等の理想的な基準を事前に準備しなくても、多数のワークのいずれかを基準(マスタ)として欠陥の検出を行うことができる。マスタ画像の決め方は任意であるが、例えば、外観検査の対象とすべく読み込んだ複数の画像のうち、最初に外観検査を行った画像をマスタ画像とするとよい。このようにすれば、共通の基準に照らして多数の画像の欠陥を検出し外観検査を行うことできる。 With the "comparison" algorithm described above, defects can be detected using any of a large number of workpieces as a reference (master) without preparing an ideal reference such as design data in advance. The method of determining the master image is arbitrary, but, for example, among a plurality of images read to be subjected to visual inspection, the first image subjected to visual inspection may be set as the master image. In this way, defects in a large number of images can be detected and visually inspected against a common reference.

あるいは、外観検査の対象とすべく読み込んだ複数の画像に対し順次外観検査を行うケースにおいて、直前に外観検査を行った画像(あるいは直前に合格判定となった画像)をマスタ画像としてもよい。この場合、複数の画像が共通の基準に照らして検査することにはならない。しかし、ワークの製造・加工プロセスの経時変化等に起因して検査対象のエッジの位置、形状等が徐々に変化することが想定される場合、製造・加工がなされた順に従って外観検査を行うというルールの下で、最初の画像ではなく直前の画像を用いることで、経時的変化の影響を排除しつつ、経時変化で想定される以上のサイズの欠陥を適切に検出して外観検査を行うことが可能となる。 Alternatively, in a case where a plurality of images read to be subjected to visual inspection are sequentially subjected to visual inspection, the image that was visually inspected immediately before (or the image that was judged to be acceptable immediately before) may be used as the master image. In this case, multiple images would not be checked against a common reference. However, if it is assumed that the position, shape, etc. of the edge to be inspected will change gradually due to changes over time in the manufacturing and processing processes of the workpiece, the appearance inspection will be performed according to the order in which manufacturing and processing were performed. Under the rule, by using the previous image instead of the first image, it is possible to eliminate the effects of changes over time while appropriately detecting defects larger than expected due to changes over time and performing visual inspections. becomes possible.

[例4:Outlier]
「異常値(Outlier)」は、画像内でエッジを抽出し、この抽出したエッジを直線等の理想的なエッジと比較して欠陥を検出するアルゴリズムであり、エッジ部に生じる欠陥(欠け、バリ等)の検出に好適に用いられる。図10に示すように、「異常値」のアルゴリズムのタブを選択すると、設定パラメータとして、基準とする理想的なエッジからの誤差の閾値(Error)、エッジとみなす変化量の閾値(Amount of change considered as an edge)、許容される欠陥のサイズ(Allowable defect size;長さ(連続画素数)、深さ(スムーズなエッジからの誤差))、許容欠陥数(Allowable defect number)がコントロールペインP4にて設定可能とされる。適宜パラメータを設定し、フィルムストリップペインP2において外観検査の対象とする画像を選択すると、画像ペインP1に選択した画像が表示される。
[Example 4: Outlier]
"Outlier" is an algorithm that extracts edges in an image and compares the extracted edges with ideal edges such as straight lines to detect defects. etc.). As shown in FIG. 10, when the "abnormal value" algorithm tab is selected, as setting parameters, the threshold of the error from the reference ideal edge (Error), the threshold of the amount of change to be regarded as an edge (Amount of change Considered as an edge), Allowable defect size (length (number of continuous pixels), depth (error from smooth edge)), Allowable defect number are displayed in the control pane P4. can be set by When the parameters are appropriately set and an image to be inspected is selected in the filmstrip pane P2, the selected image is displayed in the image pane P1.

画像ペインP1に表示された画像に対し、領域ツールによりエッジ検出をする領域を設定する。「異常値」のアルゴリズムでは、このとき設定する領域が対象領域となる。対象領域を設定すると、プログラムは対象領域内に存在するエッジを抽出する。そして、抽出したエッジに近似される直線等の理想的なエッジを求める。そして、フィッティングにより得られた理想的なエッジに対しずれのある部分を欠陥として検出する。そして、検出された欠陥の情報を測定結果表示ペインP3に一覧形式で表示する。検出された欠陥について、許容されるサイズ(長さ・深さ)を超えるものの数が計数される。この計数値に応じて、フィルムストリップペインP2の当該画像にハッチングが付される。また、計数値が許容欠陥数を超える場合、当該画像に対応するワークは不合格とされる。 A region for edge detection is set with the region tool for the image displayed in the image pane P1. In the "abnormal value" algorithm, the area set at this time is the target area. After setting the region of interest, the program extracts the edges that lie within the region of interest. Then, an ideal edge such as a straight line approximated to the extracted edge is obtained. Then, a portion that deviates from the ideal edge obtained by fitting is detected as a defect. Then, the information of the detected defects is displayed in the measurement result display pane P3 in a list format. The number of detected defects exceeding the allowable size (length and depth) is counted. The corresponding image in the filmstrip pane P2 is hatched according to this count value. Also, if the count exceeds the allowable number of defects, the workpiece corresponding to the image is rejected.

また、当該画像における計数値が許容欠陥数を超えない場合であっても、同じワークにおける別の部位が写った画像についての計数値との合計がワーク全体としての許容欠陥数を超える場合には、当該ワークを不合格とする総合判定をするとよい。また、当該画像で検出されたエッジが全体として理想的なエッジから閾値(Error)を超えてずれている場合には、総合判定を不合格としてもよい。 In addition, even if the count value in the image does not exceed the allowable number of defects, if the total of the count value for the image showing another part of the same work exceeds the allowable number of defects for the entire work , it is better to make a general judgment that the work is rejected. In addition, if the edges detected in the image as a whole deviate from ideal edges by exceeding a threshold value (Error), the overall judgment may be rejected.

本実施形態の画像測定機1によれば、以上で説明したアルゴリズムを用いて、ワークの微細な欠け、変形、バリ、汚れ等といった欠陥に着目したいわゆる外観検査を行うことができる。 According to the image measuring machine 1 of the present embodiment, using the algorithm described above, it is possible to perform a so-called appearance inspection focusing on defects such as minute chipping, deformation, burrs, dirt, etc. of the workpiece.

〔実施形態の変形〕
本発明は上記の実施形態の例に限定されるものではなく、本発明の目的を達成できる範囲での変形、改良等は本発明に含まれる。前述の実施形態またはその具体例に対して、当業者が適宜、構成要素の追加、削除、設計変更を行ったものも、本発明の要旨を備えている限り、本発明の範囲に含有される。
[Modification of Embodiment]
The present invention is not limited to the above-described embodiment examples, and includes modifications, improvements, etc. within the scope of achieving the object of the present invention. Appropriate additions, deletions, and design changes of components to the above-described embodiments or specific examples thereof by those skilled in the art are also included in the scope of the present invention as long as they have the gist of the present invention. .

1 画像測定機
40 CPU 41 記憶部 42 ワークメモリ
43、44 インタフェース 45 表示制御部
100 ステージ
110 位置取得手段
112 X軸エンコーダ 114 Y軸エンコーダ 116 Z軸エンコーダ
118 ラッチ手段
118a カウンタ 118b バッファ
120 撮像ユニット
122 光学系
124 撮像手段
126、126a、126b 光源
130 リモートボックス
132 ジョイスティック 134 ジョグシャトル
140 コンピュータシステム
141 コンピュータ本体 142 キーボード 143 マウス
144 ディスプレイ
P1 画像ペイン
P2 フィルムストリップペイン
P3 測定結果表示ペイン
P4 コントロールペイン
W ワーク
1 Image measuring machine
40 CPU 41 storage unit 42 work memory 43, 44 interface 45 display control unit 100 stage
110 position acquisition means 112 X-axis encoder 114 Y-axis encoder 116 Z-axis encoder 118 latch means 118a counter 118b buffer 120 imaging unit
122 optical system
124 Imaging Means 126, 126a, 126b Light Source 130 Remote Box 132 Joystick 134 Jog Shuttle 140 Computer System 141 Computer Main Body 142 Keyboard 143 Mouse 144 Display P1 Image Pane P2 Film Strip Pane P3 Measurement Result Display Pane P4 Control Pane W Work

Claims (6)

検査対象画像における対象領域を特定する対象領域特定ステップと、
特定した前記対象領域に含まれる欠陥を検出する欠陥検出ステップと、
検出した前記欠陥の数を計数する欠陥計数ステップと、
計数された前記欠陥の数に基づき前記検査対象画像に写る対象物の合否を判定する判定ステップと
を備え
1つの前記対象物について複数の前記検査対象画像が得られている場合に、前記判定ステップにおいて、各検査対象画像内で検出された欠陥の数が許容数を超えていない場合であっても、1つの前記対象物についての複数の前記検査対象画像で検出された欠陥の数の合計値が許容数を超える場合には、当該対象物を不合格とすることを特徴とする外観検査方法。
a target area identifying step of identifying a target area in an image to be inspected;
a defect detection step of detecting defects included in the identified target area;
a defect counting step of counting the number of detected defects;
a judgment step for judging whether the object appearing in the image to be inspected is acceptable based on the counted number of defects ;
When a plurality of the inspection target images are obtained for one of the objects, in the determination step, even if the number of defects detected in each inspection target image does not exceed the allowable number, A visual inspection method , wherein the object is rejected if the total number of defects detected in the plurality of images to be inspected for one object exceeds an allowable number .
前記欠陥検出ステップは、
前記対象領域に含まれるエッジを抽出するステップと、
抽出したエッジを基準とするマスタ画像におけるエッジと比較して欠陥を検出するステップと
を有することを特徴とする請求項1に記載の外観検査方法。
The defect detection step includes:
extracting edges included in the region of interest;
2. The visual inspection method according to claim 1, further comprising the step of comparing the extracted edges with edges in a master image to detect defects.
複数の検査対象画像に対し外観検査方法を適用する場合において、前記マスタ画像は前記複数の検査対象画像のうち最初に外観検査方法が適用された画像であることを特徴とする請求項2に記載の外観検査方法。 3. The method according to claim 2, wherein when a visual inspection method is applied to a plurality of images to be inspected, the master image is an image to which the visual inspection method is first applied among the plurality of images to be inspected. Appearance inspection method. 複数の検査対象画像に対し外観検査方法を適用する場合において、前記マスタ画像は前記複数の検査対象画像のうち直前に外観検査方法が適用された画像であることを特徴とする請求項2に記載の外観検査方法。 3. The method according to claim 2, wherein when a visual inspection method is applied to a plurality of images to be inspected, the master image is an image to which the visual inspection method has been applied immediately before among the plurality of images to be inspected. Appearance inspection method. 複数の検査対象画像に対し外観検査方法を適用する場合において、前記マスタ画像は前記複数の検査対象画像のうち、直前に外観検査方法が適用された結果合格と判定された画像であることを特徴とする請求項2に記載の外観検査方法。 characterized in that, when applying a visual inspection method to a plurality of images to be inspected, the master image is an image, among the plurality of images to be inspected, that has been determined to pass as a result of applying the visual inspection method immediately before. The appearance inspection method according to claim 2. コンピュータに請求項1から5のいずれか1項に記載の外観検査方法を実行させるためのプログラム。
A program for causing a computer to execute the visual inspection method according to any one of claims 1 to 5.
JP2018204477A 2018-10-30 2018-10-30 Appearance inspection method and program Active JP7207948B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018204477A JP7207948B2 (en) 2018-10-30 2018-10-30 Appearance inspection method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018204477A JP7207948B2 (en) 2018-10-30 2018-10-30 Appearance inspection method and program

Publications (2)

Publication Number Publication Date
JP2020071106A JP2020071106A (en) 2020-05-07
JP7207948B2 true JP7207948B2 (en) 2023-01-18

Family

ID=70547599

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018204477A Active JP7207948B2 (en) 2018-10-30 2018-10-30 Appearance inspection method and program

Country Status (1)

Country Link
JP (1) JP7207948B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116500048B (en) * 2023-06-28 2023-09-15 四川联畅信通科技有限公司 Cable clamp defect detection method, device, equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000329706A (en) 1999-05-18 2000-11-30 Dainippon Printing Co Ltd Mask image automatic generation method and card- inspecting device
JP2003344304A (en) 2002-05-24 2003-12-03 Sharp Corp Equipment and method for visual inspection
JP2006201135A (en) 2005-01-24 2006-08-03 Nikon Corp Defect inspection device, defect inspection method, and defect inspection program
JP2009294087A (en) 2008-06-05 2009-12-17 Sumitomo Chemical Co Ltd Resin material inspection testing device and program
US20130229511A1 (en) 2012-03-02 2013-09-05 Nathan OOSTENDORP Machine-vision system and method for remote quality inspection of a product
JP2017198671A (en) 2016-04-25 2017-11-02 キヤノン株式会社 Image processor and image processing method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0763925B2 (en) * 1989-03-06 1995-07-12 三菱電機株式会社 Chip adhesion monitoring device for cutting machine
JP2846052B2 (en) * 1990-04-09 1999-01-13 三菱原子燃料株式会社 Cylindrical inspection equipment
JPH04319651A (en) * 1991-04-19 1992-11-10 Inax Corp Method for inspecting tile unit
JP3317417B2 (en) * 1993-11-17 2002-08-26 日本アビオニクス株式会社 Pattern inspection method
JP4002387B2 (en) * 2000-07-12 2007-10-31 株式会社マキ製作所 Agricultural product grade judging method and grade judging device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000329706A (en) 1999-05-18 2000-11-30 Dainippon Printing Co Ltd Mask image automatic generation method and card- inspecting device
JP2003344304A (en) 2002-05-24 2003-12-03 Sharp Corp Equipment and method for visual inspection
JP2006201135A (en) 2005-01-24 2006-08-03 Nikon Corp Defect inspection device, defect inspection method, and defect inspection program
JP2009294087A (en) 2008-06-05 2009-12-17 Sumitomo Chemical Co Ltd Resin material inspection testing device and program
US20130229511A1 (en) 2012-03-02 2013-09-05 Nathan OOSTENDORP Machine-vision system and method for remote quality inspection of a product
JP2017198671A (en) 2016-04-25 2017-11-02 キヤノン株式会社 Image processor and image processing method

Also Published As

Publication number Publication date
JP2020071106A (en) 2020-05-07

Similar Documents

Publication Publication Date Title
JP5273196B2 (en) Image processing device
US8503757B2 (en) Image measurement device, method for image measurement, and computer readable medium storing a program for image measurement
US7394926B2 (en) Magnified machine vision user interface
JP4595705B2 (en) Substrate inspection device, parameter setting method and parameter setting device
JP6355411B2 (en) Edge detection method
CN113340909B (en) Glue line defect detection method based on machine vision
JP2006234771A (en) Method of inspecting surface defect of metal roll, and its device
US20220020136A1 (en) Optimizing a set-up stage in an automatic visual inspection process
JP7214432B2 (en) Image processing method, image processing program, recording medium, image processing apparatus, production system, article manufacturing method
JP6894335B2 (en) Parts counting device, parts counting method and program
US9972079B2 (en) Wafer appearance inspection apparatus
JP7207948B2 (en) Appearance inspection method and program
JP3887807B2 (en) Image measuring device
JP2010133744A (en) Defect detection method, and visual inspection device using the same
JP6049052B2 (en) Wafer visual inspection apparatus and sensitivity threshold setting method in wafer visual inspection apparatus
CN113310997A (en) PCB defect confirmation method and device, automatic optical detection equipment and storage medium
JP4788475B2 (en) Image processing apparatus and image processing method
JP7380332B2 (en) Image processing device, control method and program for the image processing device
JP4415285B1 (en) Wire inspection apparatus, wire inspection method, and wire inspection program
WO2020255145A2 (en) Set up of a visual inspection process
US20220044379A1 (en) Streamlining an automatic visual inspection process
JP2016217913A (en) X-ray inspection device
JPH08247719A (en) Method for detecting edge and non-contact picture measuring system using the same
US11816827B2 (en) User interface device for autonomous machine vision inspection
JP7006111B2 (en) Devices, methods, and programs for locating, devices, methods, and programs for displaying images.

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210915

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220622

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220628

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20220823

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221007

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20221213

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230105

R150 Certificate of patent or registration of utility model

Ref document number: 7207948

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150