JP2000209566A - Image processing check device and its method - Google Patents

Image processing check device and its method

Info

Publication number
JP2000209566A
JP2000209566A JP11008542A JP854299A JP2000209566A JP 2000209566 A JP2000209566 A JP 2000209566A JP 11008542 A JP11008542 A JP 11008542A JP 854299 A JP854299 A JP 854299A JP 2000209566 A JP2000209566 A JP 2000209566A
Authority
JP
Japan
Prior art keywords
processing
inspection
image
type
worksheet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP11008542A
Other languages
Japanese (ja)
Other versions
JP3750391B2 (en
Inventor
Toshiki Yamane
俊樹 山根
Masayuki Hattori
真之 服部
Yuji Torimaru
裕二 鳥丸
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP00854299A priority Critical patent/JP3750391B2/en
Publication of JP2000209566A publication Critical patent/JP2000209566A/en
Application granted granted Critical
Publication of JP3750391B2 publication Critical patent/JP3750391B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce the setting burden on a user by quoting collectively and individually plural processing results of a certain type of processing via another type of processing. SOLUTION: An image check means consisting of an image processor 14 and a CPU 15 carries out the processing of the type set previously and checks an object based on the image data stored in a memory 12. The check means has two types of quoting functions. If a certain type of processing has plural processing results, one of two quoting functions makes another type of processing quote collectively and individually the said plural processing results. Furthermore, this quoting function can set at a time the collective and individual quoting of plural processing results of another type of processing. Meanwhile, another quoting function makes a spread sheet quote plural processing results of a certain type of processing.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、生産工程において
製品の良否判定などに使用される画像処理検査装置およ
びその方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing / inspection apparatus and method for use in determining the quality of a product in a production process.

【0002】[0002]

【従来の技術】従来、人の視覚に頼って行われていた種
々の目視検査を正確で高速にかつ自動的に検査し得るも
のとしての画像処理検査装置が、昨今、工場などの生産
設備として数多く導入されている。
2. Description of the Related Art An image processing and inspection apparatus which can perform various visual inspections which have been conventionally performed by relying on the visual sense of a person, accurately, at high speed, and automatically, has recently been used as a production facility such as a factory. Many have been introduced.

【0003】図5は従来の画像処理検査装置の概略構成
図で、この画像処理検査装置は、CCD(固体撮像素
子)を有し検査対象の撮像を行うTVカメラ10と、こ
のTVカメラ10の出力信号をデジタル信号に変換する
A/D変換器11と、このA/D変換器11を介してT
Vカメラ10の撮像により得られる画像データを記憶す
る画像処理用のメモリ12および画像表示用のメモリ1
3と、メモリ12の画像データを利用して、予め設定さ
れた種類の処理を行って上記検査対象の検査を行う画像
処理装置14PAおよびCPU15PAと、これら画像処理
装置14PAおよびCPU15PAにより得られる検査結果
を出力する出力回路16と、LUT(ルックアップテー
ブル)17およびD/A変換器18を介してメモリ13
から得られる画像を画面に表示するモニタ19とを備え
ている。
FIG. 5 is a schematic configuration diagram of a conventional image processing / inspection apparatus. The image processing / inspection apparatus includes a TV camera 10 having a CCD (solid-state imaging device) for capturing an image of an object to be inspected, An A / D converter 11 for converting an output signal into a digital signal;
Image processing memory 12 and image display memory 1 for storing image data obtained by imaging with a V camera 10
3, an image processing device 14PA and a CPU 15PA that perform a predetermined type of processing using the image data in the memory 12 to perform the inspection of the inspection object, and an inspection result obtained by the image processing devices 14PA and the CPU 15PA. , An output circuit 16 for outputting the LUT (lookup table) 17 and a memory 13 via a D / A converter 18.
And a monitor 19 for displaying an image obtained from the screen on the screen.

【0004】このように構成される画像処理検査装置の
概略動作について説明すると、TVカメラ10の撮像に
より得られる画像信号は、A/D変換器11を経由して
デジタル信号の濃淡値となって画素単位でメモリ12,
13に格納される。
[0004] The schematic operation of the image processing / inspection apparatus configured as described above will be described. An image signal obtained by imaging with the TV camera 10 becomes a gray value of a digital signal via an A / D converter 11. Memory 12 in pixel units,
13 is stored.

【0005】画像処理用のメモリ12に格納された画像
データは、専用に設計されたASIC(特定用途向け集
積回路)などの画像処理装置14PA、またはCPU15
PAからアクセスされて、ユーザが予め設定した画像処理
の手順(シーケンス)に従って処理される。
[0005] The image data stored in the image processing memory 12 is stored in an image processing device 14PA such as an ASIC (application-specific integrated circuit) or a CPU 15 specially designed.
It is accessed from the PA and processed according to the image processing procedure (sequence) preset by the user.

【0006】この画像処理の手順に従って処理された結
果は、CPU15PAで種々の数値演算および条件判定な
どに利用され、これら数値演算および条件判定などの結
果が出力回路16(例えばパラレルI/O回路またはシ
リアルI/O回路)を経由して検査結果として外部に出
力される。
The results processed according to the image processing procedure are used by the CPU 15PA for various numerical operations and condition determinations, and the results of these numerical operations and condition determinations are output to an output circuit 16 (for example, a parallel I / O circuit or It is output to the outside as a test result via a serial I / O circuit).

【0007】一方、画像表示用のメモリ13に格納され
た画像データは、この画像データから表示画像を演算す
るLUT17、およびD/A変換器18を経由してモニ
タ19に送られ、モニタ19の画面に画像が表示され
る。この画像表示方式は、表示する情報に必要なフォン
トなどのデータをCPU15PAがメモリ13に書き込む
だけで、文字、数値および図形などの情報をモニタ19
の画面に容易に表示させることができる長所を有する。
また、この方式の他には、全体の構成を簡単にするた
め、TVカメラを直接モニタに接続する方式や、文字、
数値および図形などの情報を付加して表示するため、T
Vカメラからの信号を一旦アナログ回路を通してから表
示する方式などもある。
On the other hand, the image data stored in the image display memory 13 is sent to a monitor 19 via an LUT 17 for calculating a display image from the image data and a D / A converter 18, and is sent to the monitor 19. The image is displayed on the screen. In this image display method, the CPU 15PA simply writes data such as fonts necessary for the information to be displayed in the memory 13, and the information such as characters, numerical values, and figures are displayed on the monitor 19.
It has the advantage that it can be easily displayed on a screen.
In addition to this method, in order to simplify the entire configuration, a method of directly connecting a TV camera to a monitor, characters,
To add and display information such as numerical values and figures,
There is also a method of displaying a signal from a V camera once through an analog circuit and then displaying the signal.

【0008】次に、上記画像処理についてさらに詳述す
ると、ユーザにより予め設定される画像処理のシーケン
スは、検査ごとに幾つかの基本となる画像処理(以後チ
ェッカという)が組み合わされて作成される。
Next, the image processing will be described in more detail. An image processing sequence preset by a user is created by combining some basic image processing (hereinafter referred to as a checker) for each inspection. .

【0009】一般によく使われるチェッカは、TVカメ
ラからの濃淡画像から白黒に2値化された画像を元に処
理するものと、TVカメラからの濃淡画像をそのまま処
理するものとに大別され、前者は2値化画像処理、後者
は濃淡画像処理と呼ばれる。
[0009] Generally used checkers are roughly divided into those which process grayscale images from a TV camera based on an image which has been binarized into black and white, and those which process grayscale images from a TV camera as they are. The former is called binary image processing, and the latter is called grayscale image processing.

【0010】そして、2値化画像処理には、指定された
領域の白または黒の面積を画素単位で求めるウィンドウ
チェッカ、および物体のエッジを画素単位で求める2値
化エッジ検出チェッカのほか、物体の個数、検出された
物体のそれぞれの重心、周囲長および慣性主軸の角度な
どの様々な特徴量を求める特徴抽出チェッカなどがあ
る。
The binarized image processing includes a window checker for obtaining a white or black area of a designated area in pixel units, a binarized edge detection checker for obtaining an object edge in pixel units, and a And a feature extraction checker that calculates various feature amounts such as the number of objects, the center of gravity of each detected object, the perimeter, and the angle of the principal axis of inertia.

【0011】一方、濃淡画像処理には、物体のエッジを
求める濃淡エッジチェッカ、予め登録された基準画像と
してのテンプレート画像を用いて最も似た画像を設定エ
リア内あるいは回転中心座標を中心に回転させて検出す
るマッチングチェッカ、および2つの画像の差分をとっ
てその結果からずれや相違を検出する差分チェッカなど
がある。
On the other hand, in the gradation image processing, a gradation edge checker for finding an edge of an object, a most similar image is rotated around a set area or a rotation center coordinate using a template image as a reference image registered in advance. And a difference checker that detects a difference between two images and detects a deviation or difference from the result.

【0012】概ね、2値化画像処理は濃淡画像処理に比
べて処理内容が比較的簡単なため、精度は低いが実行時
間が短いなどの特徴がある。このような2値化画像処理
と濃淡画像処理は検査内容に応じて使い分けられること
が多い。
Generally, the binarized image processing is relatively simple in processing contents as compared with the grayscale image processing, and therefore has features such as low accuracy but short execution time. Such binarized image processing and grayscale image processing are often properly used depending on the inspection content.

【0013】図6は検査対象の形状の概略を示す平面
図、図7は図6に示す4個の部品の検査対象に対する特
徴抽出チェッカによる処理結果の一例を示す説明図であ
る。ただし、図6において、Aはモニタ19の画面、B
は特徴抽出チェッカの設定領域、Cはマッチングチェッ
カの設定領域、およびDはマッチングチェッカの出力座
標を示す。
FIG. 6 is a plan view showing the outline of the shape of the inspection object, and FIG. 7 is an explanatory diagram showing an example of the result of processing by the feature extraction checker on the four object inspection objects shown in FIG. However, in FIG. 6, A is the screen of the monitor 19, B is
Indicates a setting area of the feature extraction checker, C indicates a setting area of the matching checker, and D indicates an output coordinate of the matching checker.

【0014】検査対象となる複数個(この場合は4個)
の部品1〜4を検査するために、それら部品の個数(ラ
ンド総数)を求めるとともに、各部品の面積、重心X,
Yおよび慣性主軸の角度を求めるように、特徴抽出チェ
ッカを設定して実行すると、図6に示す例では、図7に
示すような測定結果が得られる。
A plurality of objects to be inspected (four in this case)
In order to inspect the parts 1 to 4, the number (the total number of lands) of the parts is determined, and the area, the center of gravity X,
When the feature extraction checker is set and executed so as to obtain the angles of Y and the principal axis of inertia, in the example shown in FIG. 6, a measurement result as shown in FIG. 7 is obtained.

【0015】この測定結果では、各部品の傾きは慣性主
軸の角度から得られるが、この慣性主軸の角度から部品
の向きを求めることはできない。例えば、部品1の突起
部が左向きなのか右向きなのか、あるいは上向きなのか
下向きなのかを慣性主軸の角度から判定することができ
ない。
In this measurement result, the inclination of each part can be obtained from the angle of the principal axis of inertia, but the orientation of the part cannot be obtained from the angle of the principal axis of inertia. For example, it cannot be determined from the angle of the inertia principal axis whether the projection of the component 1 is facing left or right, or facing up or down.

【0016】図8は図6の例に適用可能な各部品の向き
を精度良く求めるためのシーケンスの概略を示す図で、
この図をさらに用いて各部品の向きを精度良く求めるた
めの従来方式について説明する。
FIG. 8 is a diagram schematically showing a sequence for accurately obtaining the orientation of each component applicable to the example of FIG.
A conventional method for accurately determining the orientation of each component will be described with reference to FIG.

【0017】図8に示すシーケンスの例では、まず、図
7に示すように、ランド総数が求められ、次いで、各部
品の面積、重心X,Yおよび慣性主軸の角度が特性抽出
チェッカにより求められる(S10)。
In the example of the sequence shown in FIG. 8, first, as shown in FIG. 7, the total number of lands is obtained, and then the area of each component, the center of gravity X, Y, and the angle of the principal axis of inertia are obtained by the characteristic extraction checker. (S10).

【0018】次いで、部品毎に、重心X,Yおよび慣性
主軸の角度を用いた部品の位置および回転の補正が位置
・回転補正チェッカにより行われる(S11〜S1
4)。ただし、これらランド番号1〜4の部品に対する
処理は、それぞれ位置・回転補正チェッカC1〜C4に
より行われる。
Next, for each component, the position and rotation of the component are corrected by the position / rotation correction checker using the center of gravity X, Y and the angle of the inertia principal axis (S11 to S1).
4). However, the processing for the parts with land numbers 1 to 4 is performed by the position / rotation correction checkers C1 to C4, respectively.

【0019】次いで、部品毎に、相関係数、出力X,Y
および検出角度が回転マッチングチェッカにより求めら
れる(S15〜S18)。ただし、これらランド番号1
〜4の部品に対する処理は、それぞれ回転マッチングチ
ェッカM1〜M4により行われる。
Next, for each part, the correlation coefficient, output X, Y
And a detection angle are obtained by the rotation matching checker (S15 to S18). However, these land numbers 1
The processing for the components No. to No. 4 is performed by the rotation matching checkers M1 to M4, respectively.

【0020】このように、検査に合わせて種々のチェッ
カを組み合わせて成る従来の画像処理検査装置によれ
ば、人の視覚に頼って行われていた種々の目視検査を人
手を介さずに正確で高速にかつ自動的に行うことが可能
になる。
As described above, according to the conventional image processing / inspection apparatus in which various checkers are combined in accordance with the inspection, various visual inspections performed relying on human vision can be performed accurately without human intervention. This can be performed at high speed and automatically.

【0021】[0021]

【発明が解決しようとする課題】しかしながら、上記の
ような従来の画像処理検査装置では、種々の設定が非常
に煩雑になるという課題がある。
However, the conventional image processing and inspection apparatus as described above has a problem that various settings are very complicated.

【0022】すなわち、図8に示すシーケンスは検査対
象となる部品の個数が4個である場合に適用可能である
ので、検査対象が必ずしも4個であるとは限らないよう
な検査にそのシーケンスを適用することができない。な
ぜなら、検査対象となる部品の個数が5個以上である場
合には、ステップS11〜S18の4組のチェッカでは
1組分のチェッカが不足して5個目の部品に対する処理
結果が得られないことになり、逆に、検査対象となる部
品の個数が例えば3個である場合には、特徴抽出チェッ
カから、ランド番号4に対する組のチェッカを実行させ
るための処理結果が得られないので、実行エラーになっ
てしまうからである。したがって、このような方式で
は、検査対象に含まれる物品の個数が不定である場合に
は使用できず、また、検査対象に含まれる物品の個数が
一定であっても、検査対象となる物品の個数を考慮に入
れてシーケンスを設定して実行させる必要がある。例え
ば、部品の個数が1個である場合には、図9に示すよう
なシーケンスを設定して実行させる必要がある。
That is, since the sequence shown in FIG. 8 is applicable when the number of components to be inspected is four, the sequence is used for an inspection in which the number of components to be inspected is not always four. Cannot be applied. Because, when the number of parts to be inspected is five or more, one set of checkers is insufficient in the four sets of checkers in steps S11 to S18, and a processing result for the fifth part cannot be obtained. Conversely, if the number of components to be inspected is, for example, three, the processing result for executing the set of checkers for the land number 4 cannot be obtained from the feature extraction checker. This is because an error occurs. Therefore, such a method cannot be used when the number of articles included in the inspection target is indefinite, and even when the number of articles included in the inspection target is constant, It is necessary to set and execute the sequence in consideration of the number. For example, when the number of components is one, it is necessary to set and execute a sequence as shown in FIG.

【0023】また、この図9の例に示すシーケンスで
は、例えば回転マッチングチェッカM1に対する位置・
回転補正チェッカC1の処理結果の引用設定は1度に行
うことができるのが、図8の例に示すシーケンスでは、
部品毎に、回転マッチングチェッカに対する位置・回転
補正チェッカの処理結果の引用設定を行わなければなら
ない。この様子を図10に示す。ただし、図10(a)
は位置・回転補正チェッカC1に対する特徴抽出チェッ
カによるランド番号1の部品に対する処理結果の引用設
定の様子を示す図、(b)は回転マッチングチェッカM
1に対する位置・回転補正チェッカC1による処理結果
の引用設定の様子を示す図、(c)は回転マッチングチ
ェッカM1の処理結果を示す図である。このような引用
設定はユーザにより行われるので、検査対象に含まれる
物品の個数が多くなるほど手間がより煩雑となる。ま
た、マッチングチェッカのテンプレート画像をチェッカ
間で共用することができない場合、同一のテンプレート
画像を複数登録しなければならない。
In the sequence shown in FIG. 9, for example, the position
The quote setting of the processing result of the rotation correction checker C1 can be performed at once, but in the sequence shown in the example of FIG.
For each component, the reference setting of the processing result of the position / rotation correction checker for the rotation matching checker must be performed. This is shown in FIG. However, FIG.
FIG. 7B is a diagram showing how the feature extraction checker for the position / rotation correction checker C1 quotes the processing result for the component with the land number 1 and FIG. 9B shows the rotation matching checker M;
FIG. 7C is a diagram showing how the position / rotation correction checker C1 sets a reference to the processing result for the C.1, and FIG. 7C is a diagram showing the processing result of the rotation matching checker M1. Since such quotation setting is performed by the user, the trouble becomes more complicated as the number of articles included in the inspection target increases. If the template image of the matching checker cannot be shared between the checkers, a plurality of the same template images must be registered.

【0024】さらに、従来の画像処理検査装置には、い
わゆるスプレッドシート(ワークシート)による表計算
機能を有したものがある。この種の画像処理検査装置で
は、上記のようなシーケンスによる処理結果がスプレッ
ドシートに引用され、このスプレッドシートの表計算機
能により、上記処理結果を引用した数値演算や合否判定
などが行われる。スプレッドシートに対するシーケンス
による処理結果の引用設定の様子を図11に示す。この
図11に示す例では、ランド番号1の部品に関して、特
徴抽出チェッカの処理結果である重心X,Y、および回
転マッチングチェッカM1の処理結果である相関関数お
よび検出角度がスプレッドシートに引用されている。し
かしながら、ランド番号1の部品だけでなく、ランド番
号2〜4の各部品についても上記ランド番号1の部品と
同様にしてスプレッドシートに引用させる場合、図11
から分かるように、このような複数の部品に対する処理
結果を特に共通のレイアウトでスプレッドシートに引用
させるのは困難である。
Further, some conventional image processing and inspection apparatuses have a spreadsheet function using a so-called spreadsheet (worksheet). In this type of image processing inspection apparatus, the processing result of the above-described sequence is referred to in a spreadsheet, and a spreadsheet function of the spreadsheet performs numerical calculations and pass / fail determination based on the processing result. FIG. 11 shows how to set the quotation of the processing result by the sequence for the spreadsheet. In the example shown in FIG. 11, the centroids X and Y, which are the processing results of the feature extraction checker, and the correlation function and the detection angle, which are the processing results of the rotation matching checker M1, are cited in the spreadsheet for the part having the land number 1. I have. However, when not only the parts of the land number 1 but also the parts of the land numbers 2 to 4 are quoted in the spreadsheet in the same manner as the parts of the land number 1, FIG.
As can be seen from the above, it is difficult to cite the processing results for such a plurality of parts in a spreadsheet, especially with a common layout.

【0025】本発明は、上記事情に鑑みてなされたもの
であり、ユーザの設定負担を軽減し得る画像処理検査装
置およびその方法を提供することを目的とする。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an image processing / inspection apparatus and a method thereof that can reduce a user's setting burden.

【0026】[0026]

【課題を解決するための手段】上記課題を解決するため
の請求項1記載の発明の画像処理検査装置は、検査対象
の撮像を行う撮像手段と、前記撮像手段の撮像により得
られる画像データを記憶する記憶手段と、前記記憶手段
の画像データを利用して、予め設定された種類の処理を
行って前記検査対象の検査を行う画像検査手段と、前記
検査において、一の種類の処理結果を他の種類の処理に
引用させるものであって、前記一の種類の処理結果が複
数ある場合には、これら複数の処理結果を前記他の種類
の処理に一括して個別に引用させる引用手段とを備える
ものである。
According to a first aspect of the present invention, there is provided an image processing / inspection apparatus for capturing an image of an object to be inspected and image data obtained by the image capturing means. A storage unit for storing, an image inspection unit for performing an inspection of the inspection object by performing a predetermined type of processing using image data of the storage unit, and a type of processing result in the inspection. A quoting means for quoting another type of processing, and when there is a plurality of the one type of processing results, collectively and individually quoting the plurality of processing results to the other type of processing; It is provided with.

【0027】この構成では、一の種類の処理結果が複数
ある場合には、これら複数の処理結果が他の種類の処理
に一括して個別に引用されるので、1度設定された引用
の有効性が処理結果の数に依存しなくなり、処理結果の
数が変動しても対応可能になる。これにより、処理結果
の数毎にシーケンスを用意する必要がなくなり、ユーザ
の設定負担を軽減することが可能になる。
With this configuration, when there are a plurality of processing results of one type, the plurality of processing results are collectively and individually quoted for other types of processing. The performance does not depend on the number of processing results, and even if the number of processing results fluctuates, it can be handled. Thus, it is not necessary to prepare a sequence for each number of processing results, and it is possible to reduce a user's setting burden.

【0028】請求項2記載の発明の画像処理検査装置
は、検査対象の撮像を行う撮像手段と、前記撮像手段の
撮像により得られる画像データを記憶する記憶手段と、
前記記憶手段の画像データを利用して、予め設定された
種類の処理を行って前記検査対象の検査を行う画像検査
手段と、前記検査において、一の種類の処理結果を他の
種類の処理に引用させるものであって、前記一の種類の
処理結果が複数ある場合には、これら複数の処理結果を
前記他の種類の処理に一括して個別に引用させる引用手
段とを備え、前記他の種類の処理に対する前記複数の処
理結果の一括個別引用は一度に設定可能になっているも
のである。
According to a second aspect of the present invention, there is provided an image processing / inspection apparatus, comprising: an imaging unit for imaging an inspection object; a storage unit for storing image data obtained by the imaging by the imaging unit;
An image inspection unit that performs a predetermined type of process by using the image data of the storage unit to perform an inspection of the inspection target, and in the inspection, converts one type of processing result into another type of processing. When there are a plurality of processing results of the one type, a quoting unit that collectively and individually cites the plurality of processing results to the other type of processing is provided. The collective individual citation of the plurality of processing results for the types of processing can be set at once.

【0029】この構成では、一の種類の処理結果が複数
ある場合には、これら複数の処理結果が他の種類の処理
に一括して個別に引用されるので、1度設定された引用
の有効性が処理結果の数に依存しなくなり、処理結果の
数が変動しても対応可能になる。これにより、処理結果
の数毎にシーケンスを用意する必要がなくなり、ユーザ
の設定負担を軽減することが可能になる。また、他の種
類の処理に対する複数の処理結果の一括個別引用が一度
に設定可能になっているので、ユーザの設定負担を軽減
することが可能になる。
With this configuration, when there are a plurality of processing results of one type, the plurality of processing results are collectively and individually quoted for other types of processing. The performance does not depend on the number of processing results, and even if the number of processing results fluctuates, it can be handled. Thus, it is not necessary to prepare a sequence for each number of processing results, and it is possible to reduce a user's setting burden. In addition, since collective individual citation of a plurality of processing results for other types of processing can be set at once, it is possible to reduce the setting burden on the user.

【0030】なお、前記画像検査手段は、前記画像デー
タを利用して、前記検査対象の重心および慣性主軸の角
度を測定する処理を行い、前記引用手段は、前記処理で
得られた重心および慣性主軸の角度をそれぞれ位置補正
量および回転補正量として前記画像検査手段に引用させ
る構成でもよい(請求項3)。この構成では、検査対象
に複数個の物品が含まれている場合、重心および慣性主
軸の角度の各々は、それら物品の数だけ画像検査手段に
より測定されるようになり、それら複数の重心および慣
性主軸の角度がそれぞれ位置補正量および回転補正量と
して一括して個別に画像検査手段に引用されるので、画
像検査手段は、それら位置補正量および回転補正量を用
いて、検査対象に含まれる各物品の位置および回転を補
正することができるようになる。このように、処理結果
の数毎にシーケンスを用意する必要がなくなり、ユーザ
の設定負担を軽減することが可能になる。
The image inspection means performs a process of measuring the center of gravity of the object to be inspected and the angle of the principal axis of inertia using the image data, and the citing means performs the process of measuring the center of gravity and the inertia obtained in the process. A configuration may be adopted in which the image inspection means refers to the angle of the main shaft as the position correction amount and the rotation correction amount, respectively. In this configuration, when a plurality of articles are included in the inspection object, the respective angles of the center of gravity and the principal axis of inertia are measured by the image inspection means by the number of the articles, and the plurality of centers of gravity and the inertia are measured. Since the angles of the main shafts are collectively and individually referred to the image inspection means as the position correction amount and the rotation correction amount, the image inspection means uses the position correction amount and the rotation correction amount, and The position and rotation of the article can be corrected. As described above, it is not necessary to prepare a sequence for each number of processing results, and it is possible to reduce the setting burden on the user.

【0031】請求項4記載の発明の画像処理検査装置
は、検査対象の撮像を行う撮像手段と、前記撮像手段の
撮像により得られる画像データを記憶する記憶手段と、
前記記憶手段の画像データを利用して、予め設定された
種類の処理を行って前記検査対象の検査を行う画像検査
手段と、前記検査における処理結果の全部または一部を
ワークシートに引用させるものであって、前記ワークシ
ートに引用させる一の種類の処理結果が複数ある場合に
は、これら複数の処理結果を前記ワークシートに一括し
て個別に引用させる引用手段とを備えるものである。
According to a fourth aspect of the present invention, there is provided an image processing / inspection apparatus, comprising: an imaging unit for imaging an inspection object; a storage unit for storing image data obtained by imaging by the imaging unit;
An image inspection means for performing an inspection of the inspection object by performing a preset type of processing by using image data of the storage means, and causing a worksheet to cite all or a part of the processing result in the inspection In the case where there are a plurality of processing results of one type to be referred to in the worksheet, a citation means for collectively and individually referencing the plurality of processing results to the worksheet is provided.

【0032】この構成では、ワークシートに引用させる
一の種類の処理結果が複数ある場合には、これら複数の
処理結果がワークシートに一括して個別に引用されるの
で、1度設定された引用の有効性が処理結果の数に依存
しなくなり、処理結果の数が変動しても対応可能にな
る。これにより、処理結果の数毎にワークシートを用意
する必要がなくなり、ユーザの設定負担を軽減すること
が可能になる。
In this configuration, when there are a plurality of processing results of one type to be quoted in the worksheet, these plurality of processing results are collectively and individually quoted in the worksheet. Is no longer dependent on the number of processing results, and can be handled even if the number of processing results fluctuates. Accordingly, it is not necessary to prepare a worksheet for each number of processing results, and it is possible to reduce a user's setting burden.

【0033】請求項5記載の発明の画像処理検査装置
は、検査対象の撮像を行う撮像手段と、前記撮像手段の
撮像により得られる画像データを記憶する記憶手段と、
前記記憶手段の画像データを利用して、予め設定された
種類の処理を行って前記検査対象の検査を行う画像検査
手段と、前記検査における処理結果の全部または一部を
ワークシートに引用させるものであって、前記ワークシ
ートに引用させる一の種類の処理結果が複数ある場合に
は、これら複数の処理結果を前記ワークシートに一括し
て個別に引用させる引用手段と、前記ワークシートによ
り得られる演算結果を検査結果として出力する出力手段
とを備えるものである。
According to a fifth aspect of the present invention, there is provided an image processing / inspection apparatus, comprising: an imaging unit for imaging an inspection target; a storage unit for storing image data obtained by imaging by the imaging unit;
An image inspection means for performing an inspection of the inspection object by performing a preset type of processing by using image data of the storage means, and causing a worksheet to cite all or a part of the processing result in the inspection In the case where there are a plurality of processing results of one type to be referred to in the worksheet, the plurality of processing results can be collectively and individually referred to in the worksheet by quoting means and the worksheet. Output means for outputting a calculation result as a test result.

【0034】この構成では、ワークシートに引用させる
一の種類の処理結果が複数ある場合には、これら複数の
処理結果がワークシートに一括して個別に引用されるの
で、1度設定された引用の有効性が処理結果の数に依存
しなくなり、処理結果の数が変動しても対応可能にな
る。これにより、処理結果の数毎にワークシートを用意
する必要がなくなり、ユーザの設定負担を軽減すること
が可能になる。また、ワークシートにより得られる演算
結果が検査結果として出力されるようになる。
In this configuration, when there are a plurality of processing results of one type to be quoted on the worksheet, these plurality of processing results are collectively and individually quoted on the worksheet. Is no longer dependent on the number of processing results, and can be handled even if the number of processing results fluctuates. Accordingly, it is not necessary to prepare a worksheet for each number of processing results, and it is possible to reduce a user's setting burden. Further, the calculation result obtained from the worksheet is output as the inspection result.

【0035】請求項6記載の発明の画像処理検査方法
は、検査対象の撮像を行うステップと、前記撮像により
得られる画像データを利用して、予め設定された種類の
処理を行って前記検査対象の検査を行うステップとを備
え、前記検査において、一の種類の処理結果が他の種類
の処理に引用されるとともに、前記一の種類の処理結果
が複数ある場合には、これら複数の処理結果が前記他の
種類の処理に一括して個別に引用されるものである。
According to a sixth aspect of the present invention, in the image processing inspection method, an image of the inspection object is captured, and a predetermined type of processing is performed by using image data obtained by the imaging to perform the inspection. The step of performing the inspection, wherein in the inspection, one type of processing result is referred to another type of processing, and when there is a plurality of the one type of processing result, the plurality of processing results Are collectively and individually quoted in the other types of processing.

【0036】この方法では、一の種類の処理結果が複数
ある場合には、これら複数の処理結果が他の種類の処理
に一括して個別に引用されるので、1度設定された引用
の有効性が処理結果の数に依存しなくなり、処理結果の
数が変動しても対応可能になる。これにより、処理結果
の数毎にシーケンスを用意する必要がなくなり、ユーザ
の設定負担を軽減することが可能になる。
In this method, when there are a plurality of processing results of one type, these processing results are collectively and individually quoted in other types of processing, so that the once-set validity of the quotation is set. The performance does not depend on the number of processing results, and even if the number of processing results fluctuates, it can be handled. Thus, it is not necessary to prepare a sequence for each number of processing results, and it is possible to reduce a user's setting burden.

【0037】請求項7記載の発明の画像処理検査方法
は、検査対象の撮像を行うステップと、前記撮像により
得られる画像データを利用して、予め設定された種類の
処理を行って前記検査対象の検査を行うステップとを備
え、前記検査において、一の種類の処理結果が他の種類
の処理に引用されるとともに、前記一の種類の処理結果
が複数ある場合には、これら複数の処理結果が前記他の
種類の処理に一括して個別に引用され、前記他の種類の
処理に対する前記複数の処理結果の一括個別引用は一度
に設定可能になっているものである。
According to a seventh aspect of the present invention, there is provided the image processing inspection method, wherein a step of imaging the inspection target and a predetermined type of processing are performed by using image data obtained by the imaging. The step of performing the inspection, wherein in the inspection, one type of processing result is referred to another type of processing, and when there is a plurality of the one type of processing result, the plurality of processing results Are collectively and individually quoted in the other type of processing, and the collective individual quotation of the plurality of processing results for the other type of processing can be set at once.

【0038】この方法では、一の種類の処理結果が複数
ある場合には、これら複数の処理結果が他の種類の処理
に一括して個別に引用されるので、1度設定された引用
の有効性が処理結果の数に依存しなくなり、処理結果の
数が変動しても対応可能になる。これにより、処理結果
の数毎にシーケンスを用意する必要がなくなり、ユーザ
の設定負担を軽減することが可能になる。また、他の種
類の処理に対する複数の処理結果の一括個別引用が一度
に設定可能になっているので、ユーザの設定負担を軽減
することが可能になる。
According to this method, when there are a plurality of processing results of one type, these processing results are collectively and individually quoted for other types of processing, so that the once-set validity The performance does not depend on the number of processing results, and even if the number of processing results fluctuates, it can be handled. Thus, it is not necessary to prepare a sequence for each number of processing results, and it is possible to reduce a user's setting burden. In addition, since collective individual citation of a plurality of processing results for other types of processing can be set at once, it is possible to reduce the setting burden on the user.

【0039】請求項8記載の発明の画像処理検査方法
は、検査対象の撮像を行うステップと、前記撮像により
得られる画像データを利用して、予め設定された種類の
処理を行って前記検査対象の検査を行うステップとを備
え、前記検査における処理結果の全部または一部がワー
クシートに引用されるとともに、前記ワークシートに引
用される一の種類の処理結果が複数ある場合には、これ
ら複数の処理結果が前記ワークシートに一括して個別に
引用されるものである。
According to an eighth aspect of the present invention, there is provided the image processing inspection method, wherein a step of imaging the inspection target and a predetermined type of process are performed by using image data obtained by the imaging. Performing the inspection of the above, wherein all or a part of the processing results in the inspection are cited in a worksheet, and when there are a plurality of one type of processing results cited in the worksheet, Are collectively and individually quoted in the worksheet.

【0040】この方法では、ワークシートに引用させる
一の種類の処理結果が複数ある場合には、これら複数の
処理結果がワークシートに一括して個別に引用されるの
で、1度設定された引用の有効性が処理結果の数に依存
しなくなり、処理結果の数が変動しても対応可能にな
る。これにより、処理結果の数毎にワークシートを用意
する必要がなくなり、ユーザの設定負担を軽減すること
が可能になる。
In this method, when there are a plurality of processing results of one type to be quoted in the worksheet, these plurality of processing results are collectively and individually quoted in the worksheet. Is no longer dependent on the number of processing results, and can be handled even if the number of processing results fluctuates. Accordingly, it is not necessary to prepare a worksheet for each number of processing results, and it is possible to reduce a user's setting burden.

【0041】請求項9記載の発明の画像処理検査方法
は、検査対象の撮像を行うステップと、前記撮像により
得られる画像データを利用して、予め設定された種類の
処理を行って前記検査対象の検査を行うステップとを備
え、前記検査における処理結果の全部または一部がワー
クシートに引用されるとともに、前記ワークシートに引
用される一の種類の処理結果が複数ある場合には、これ
ら複数の処理結果が前記ワークシートに一括して個別に
引用され、前記ワークシートにより得られる演算結果が
検査結果として出力されるものである。
According to a ninth aspect of the present invention, there is provided an image processing and inspecting method, wherein an image of an inspection object is captured, and a predetermined type of processing is performed by using image data obtained by the imaging. Performing the inspection of the above, wherein all or a part of the processing results in the inspection are cited in a worksheet, and when there are a plurality of one type of processing results cited in the worksheet, Are collectively and individually quoted in the worksheet, and the calculation results obtained from the worksheet are output as inspection results.

【0042】この方法では、ワークシートに引用させる
一の種類の処理結果が複数ある場合には、これら複数の
処理結果がワークシートに一括して個別に引用されるの
で、1度設定された引用の有効性が処理結果の数に依存
しなくなり、処理結果の数が変動しても対応可能にな
る。これにより、処理結果の数毎にワークシートを用意
する必要がなくなり、ユーザの設定負担を軽減すること
が可能になる。また、ワークシートにより得られる演算
結果が検査結果として出力されるようになる。
In this method, when there are a plurality of processing results of one type to be quoted on the worksheet, these plurality of processing results are collectively and individually quoted on the worksheet. Is no longer dependent on the number of processing results, and can be handled even if the number of processing results fluctuates. Accordingly, it is not necessary to prepare a worksheet for each number of processing results, and it is possible to reduce a user's setting burden. Further, the calculation result obtained from the worksheet is output as the inspection result.

【0043】[0043]

【発明の実施の形態】図1は本発明の一実施形態に係る
画像処理検査装置の概略構成図で、以下この図を用いて
本実施形態について本発明の画像処理検査方法の一実施
形態とともに説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a schematic configuration diagram of an image processing / inspection apparatus according to an embodiment of the present invention. explain.

【0044】本画像処理検査装置は、CCDを有し検査
対象の撮像を行うTVカメラ(撮像手段)10と、この
TVカメラ10の出力信号をデジタル信号に変換するA
/D変換器11と、このA/D変換器11を介してTV
カメラ10の撮像により得られる画像データを記憶する
画像処理用のメモリ(記憶手段)12および画像表示用
のメモリ13と、上記検査対象の検査を行う画像検査手
段としての画像処理装置14およびCPU(中央処理装
置)15と、これら画像処理装置14およびCPU15
により得られる検査結果を出力する出力回路(出力手
段)16と、LUT17およびD/A変換器18を介し
てメモリ13から得られる画像を画面に表示するモニタ
19とを備えている。
The image processing / inspection apparatus includes a TV camera (imaging means) 10 having a CCD for imaging an inspection object, and an A for converting an output signal of the TV camera 10 to a digital signal.
A / D converter 11 and a TV via the A / D converter 11
An image processing memory (storage unit) 12 and an image display memory 13 for storing image data obtained by imaging by the camera 10, an image processing apparatus 14 and a CPU (image inspection unit) for inspecting the inspection target. Central processing unit) 15, the image processing unit 14 and the CPU 15
An output circuit (output means) 16 for outputting the inspection result obtained by the above-mentioned method, and a monitor 19 for displaying an image obtained from the memory 13 via the LUT 17 and the D / A converter 18 on a screen.

【0045】画像処理装置14およびCPU15により
構成される画像検査手段は、メモリ12の画像データを
利用して、予め設定された種類の処理を行って検査対象
の検査を行うものであって、2種類の引用機能(引用手
段)を有している。
The image inspection means constituted by the image processing device 14 and the CPU 15 performs a predetermined type of processing using the image data in the memory 12 to inspect the inspection object. It has a type of quoting function (quoting means).

【0046】これら2種類の引用機能の一つは、上記検
査において、一の種類の処理結果を他の種類の処理に引
用させるものであって、一の種類の処理結果が複数ある
場合には、これら複数の処理結果を他の種類の処理に一
括して個別に引用させる。また、他の種類の処理に対す
る上記複数の処理結果の一括個別引用は一度に設定可能
になっている。
One of these two types of quoting functions is to cause one type of processing result to be referred to another type of processing in the above-described inspection. Then, the plurality of processing results are collectively and individually quoted in other types of processing. In addition, collective individual citation of the plurality of processing results for other types of processing can be set at once.

【0047】もう一つの引用機能は、上記検査における
全処理結果の一部をスプレッドシートに引用させるもの
であって、スプレッドシートに引用させる一の種類の処
理結果が複数ある場合には、これら複数の処理結果をス
プレッドシートに一括して個別に引用させる。本実施形
態では、このスプレッドシートの演算機能による処理結
果が検査結果として出力回路16を介して外部に出力さ
れる。
Another citing function is to cause a part of all the processing results in the above inspection to be cited in a spreadsheet. If there are a plurality of one type of processing results to be cited in the spreadsheet, these plural And have the spreadsheet quote the processing results individually. In the present embodiment, the processing result of the arithmetic function of the spreadsheet is output to the outside via the output circuit 16 as the inspection result.

【0048】ただし、本実施形態では、後述の各チェッ
カは画像処理装置14で生成され、スプレッドシートは
CPU15で生成される。
However, in this embodiment, each checker described later is generated by the image processing device 14 and the spreadsheet is generated by the CPU 15.

【0049】図2は本画像処理検査装置のシーケンスの
概略を示す図、図3は各チェッカ間の引用設定の様子を
示す図、図4は各チェッカによる処理結果のスプレッド
シートへの引用設定の様子を示す図で、これらの図を用
いて、画像処理装置14およびCPU15により構成さ
れる画像検査手段についてさらに詳述する。ただし、本
画像処理検査装置には、昨今飛躍的に一般化してきた例
えば、Windows(米国Microsoft Corporationの登録商標)
のGUI(Graphical User Interface)が使用されるものと
する。
FIG. 2 is a diagram showing an outline of a sequence of the image processing / inspection apparatus, FIG. 3 is a diagram showing a state of citation setting between checkers, and FIG. 4 is a diagram showing citation setting of a processing result by each checker to a spreadsheet. With reference to these drawings, the image inspection means constituted by the image processing device 14 and the CPU 15 will be described in further detail with reference to these drawings. However, this image processing and inspection apparatus has been dramatically popularized recently, for example, Windows (registered trademark of Microsoft Corporation in the United States)
GUI (Graphical User Interface) is used.

【0050】画像検査手段は、図2に示すように、特徴
抽出チェッカ、複数個引用:位置・回転補正チェッカ
(以後単に補正チェッカという)および複数個引用:回
転マッチングチェッカ(以後単にマッチングチェッカと
いう)を検査に使用する構成になっている。ただし、図
2に示す本画像処理検査装置のシーケンスは、各部品の
向きを精度良く求めることができるものであって、図9
のシーケンスと一見類似しているが、位置・回転補正チ
ェッカC1および回転マッチングチェッカM1がそれぞ
れ補正チェッカおよびマッチングチェッカに代ってい
る。
As shown in FIG. 2, the image inspection means includes a feature extraction checker, a plurality of quotations: a position / rotation correction checker (hereinafter simply referred to as a correction checker), and a plurality of quotations: a rotation matching checker (hereinafter simply referred to as a matching checker). Is used for inspection. However, the sequence of the present image processing and inspection apparatus shown in FIG. 2 can accurately determine the orientation of each component.
Although the sequence is apparently similar to the above sequence, the position / rotation correction checker C1 and the rotation matching checker M1 replace the correction checker and the matching checker, respectively.

【0051】図2に示す特徴抽出チェッカは、図8に示
す特徴抽出チェッカと同じものであって、メモリ12の
画像データを利用して画像処理を行い、図3(a)に示
すように、検査対象のランド総数を求めるとともに、検
査対象の部品毎に、部品の面積、重心X,Yおよび慣性
主軸の角度を求める。ただし、図3(a)に示す特徴抽
出チェッカによる処理結果(画像処理による測定結果)
は、図6に示すような検査対象に対して実行されたもの
である。
The feature extraction checker shown in FIG. 2 is the same as the feature extraction checker shown in FIG. 8, and performs image processing using the image data in the memory 12, and as shown in FIG. In addition to obtaining the total number of lands to be inspected, the area of each component, the center of gravity X, Y, and the angle of the principal axis of inertia are obtained for each component to be inspected. However, the processing result by the feature extraction checker shown in FIG. 3A (measurement result by image processing)
Is executed for the inspection target as shown in FIG.

【0052】ステップS2に示す補正チェッカは、部品
毎に、重心X,Yおよび慣性主軸の角度をそれぞれ位置
補正量および回転補正量として用いて部品の位置および
回転の補正を行うものである。このとき、一の種類の処
理結果が複数あるので、上述の引用機能によって、それ
ら複数の処理結果が他の種類の処理に一括して個別に引
用される。
The correction checker shown in step S2 corrects the position and rotation of the component by using the center of gravity X and Y and the angle of the principal axis of inertia as the position correction amount and the rotation correction amount for each component. At this time, since there are a plurality of processing results of one type, the plurality of processing results are individually and collectively referred to by other types of processing by the above citing function.

【0053】例えば、図3(a)では、重心Xという種
類の処理結果が4つあるので、これら4つの処理結果が
補正チェッカの「特徴抽出チェッカ:重心Xグループ」
のデータ格納欄(セル)に一括して個別に引用(関連付
け)される。このとき、そのデータ格納欄には「…」が
表示されるが、この部分をダブルクリックすると、プル
ダウンメニュー形式で引用されている各値が表示され
る。これと同様に、重心Yおよび慣性主軸の各処理結果
も4つあるので、これら重心Yおよび慣性主軸の処理結
果も、それぞれ補正チェッカの「特徴抽出チェッカ:重
心Yグループ」のデータ格納欄および「特徴抽出チェッ
カ:慣性主軸グループ」のデータ格納欄に一括して個別
に引用される。
For example, in FIG. 3A, since there are four processing results of the type of the center of gravity X, these four processing results are used as the "feature extraction checker: center of gravity X group" of the correction checker.
Are collectively and individually quoted (associated) in the data storage column (cell). At this time, "..." is displayed in the data storage column. When this portion is double-clicked, each value quoted in a pull-down menu format is displayed. Similarly, since there are also four processing results for the center of gravity Y and the principal axis of inertia, the processing results for the center of gravity Y and the principal axis of inertia are also stored in the data storage column of the “feature extraction checker: center of gravity Y group” of the correction checker, respectively. Feature extraction checker: Inertial principal axis group "is collectively and individually quoted in the data storage column.

【0054】ここで、図10(a)に示す従来の引用方
式では、重心X,Yおよび慣性主軸の処理結果を1つず
つ位置・回転補正チェッカに引用設定する必要があっ
た。また、引用設定の一例として、引用したい値をドラ
ッグ&ドロップにより位置・回転補正チェッカの指定場
所に関連付ける方法がある。この方法で引用されると、
図10(a)に示すように、引用された値は、位置・回
転補正チェッカC1の中で、「特徴抽出チェッカ:ラン
ド1重心X」、「特徴抽出チェッカ:ランド1重心Y」
および「特徴抽出チェッカ:ランド1慣性主軸」のよう
に表現され、それぞれには単一の値が関連付けられるこ
とになる。
Here, in the conventional quoting method shown in FIG. 10A, it is necessary to cite and set the processing results of the centers of gravity X and Y and the principal axes of inertia one by one in the position / rotation correction checker. As an example of the quote setting, there is a method of associating a value to be quoted with a designated position of the position / rotation correction checker by dragging and dropping. When quoted this way,
As shown in FIG. 10A, the quoted values are “feature extraction checker: land 1 barycenter X” and “feature extraction checker: land 1 barycenter Y” in the position / rotation correction checker C1.
And "feature extraction checker: land 1 inertia principal axis", and each is associated with a single value.

【0055】これに対して、本実施形態における引用機
能が作用する補正チェッカでは、図3(a)に示すよう
に、引用したい列の見出しをドラッグ&ドロップにより
補正チェッカの指定場所に関連付けるだけで、その列の
処理結果が一括して個別に補正チェッカに引用される。
これにより、特徴抽出チェッカにより同一種類の処理に
対して求められる数の処理結果の全てが自動的に補正チ
ェッカに個別に引用されることになる。この結果、引用
された値は、図3(a)に示すように、補正チェッカの
中で、「特徴抽出チェッカ:重心Xグループ」、「特徴
抽出チェッカ:重心Yグループ」および「特徴抽出チェ
ッカ:慣性主軸グループ」のように表現され、それぞれ
には複数の値が関連付けられる。
On the other hand, in the correction checker in which the quoting function according to the present embodiment operates, as shown in FIG. 3A, it is only necessary to associate the heading of the column to be quoted with the designated position of the correction checker by dragging and dropping. , The processing results of that column are collectively and individually quoted to the correction checker.
As a result, all of the processing results obtained for the same type of processing by the feature extraction checker are automatically referred to individually by the correction checker. As a result, as shown in FIG. 3A, the quoted values are, among the correction checkers, “feature extraction checker: centroid X group”, “feature extraction checker: centroid Y group”, and “feature extraction checker: It is expressed as "inertia principal axis group", and a plurality of values are associated with each.

【0056】図2のステップS3に示すマッチングチェ
ッカは、予め登録されたテンプレート画像を設定された
中心座標上で回転させて検査対象と対比することによ
り、その検査対象とテンプレート画像との一致度を示す
相関係数の最大値を求めて、次いで、相関係数が最大と
なる状態で、出力X,Yを求めるとともにテンプレート
画像の回転角度を検出角度として求めるものである。本
実施形態では、特徴抽出チェッカから得られる各部品の
重心が上記中心座標の中心に設定される。このとき、上
述の引用機能によって、特徴抽出チェッカの複数個の結
果を元に、補正チェッカの補正結果がマッチングチェッ
カに引用されるので、部品個数分の位置・回転補正結果
のそれぞれに対してマッチングチェッカが自動的に生成
され、上記処理が繰り返し実行されることになる。
The matching checker shown in step S3 of FIG. 2 rotates the pre-registered template image on the set center coordinates and compares it with the inspection object, thereby determining the degree of coincidence between the inspection object and the template image. The maximum value of the correlation coefficient shown is obtained, and then, in the state where the correlation coefficient becomes maximum, the outputs X and Y are obtained, and the rotation angle of the template image is obtained as the detection angle. In the present embodiment, the center of gravity of each component obtained from the feature extraction checker is set at the center of the center coordinates. At this time, since the correction result of the correction checker is referred to the matching checker based on the plurality of results of the feature extraction checker by the above citing function, matching is performed for each of the position and rotation correction results for the number of components. A checker is automatically generated, and the above processing is repeatedly executed.

【0057】これにより、図3(c)に示すように、部
品毎に、相関係数、出力X,Yおよび検出角度が求めら
れる。また、基本的にマッチングチェッカの結果は1つ
であるが、補正チェッカの処理結果が複数あるため、マ
ッチングチェッカによる処理も複数回繰り返し実行さ
れ、特徴抽出チェッカの部品個数分の結果が得られる。
ここで、注目すべき点として、図2および図9のシーケ
ンスは見かけ上同じであり、ユーザは検査対象の部品個
数を意識することなく、シーケンスを構成することがで
きる。
As a result, as shown in FIG. 3C, a correlation coefficient, outputs X and Y and a detection angle are obtained for each component. In addition, basically, the result of the matching checker is one. However, since there are a plurality of processing results of the correction checker, the processing by the matching checker is repeatedly performed a plurality of times, and a result corresponding to the number of components of the feature extraction checker is obtained.
Here, it should be noted that the sequences in FIGS. 2 and 9 are apparently the same, and the user can configure the sequences without being conscious of the number of components to be inspected.

【0058】また、上記画像検査手段は、各チェッカの
処理により最終的に図3(c)に示す処理結果を得る
と、上記全処理結果の一部を図4に示すようにスプレッ
ドシートに自動的に引用する。
When the image inspection means finally obtains the processing result shown in FIG. 3C by the processing of each checker, a part of the whole processing result is automatically converted to a spreadsheet as shown in FIG. Quote

【0059】ここで、図4および図11における各チェ
ッカによる処理結果のスプレッドシートへの引用設定は
一見類似しているが、図4に示す引用設定は、引用可能
な処理結果が単一のものに制限されずに複数の処理結果
をグループとして引用することが可能になっている点で
図11に示す引用設定とは相違している。
Here, the setting of the processing results by the checkers in FIGS. 4 and 11 to the spreadsheet is similar at first glance, but the setting of the citation shown in FIG. This is different from the quotation setting shown in FIG. 11 in that it is possible to cite a plurality of processing results as a group without being limited to this.

【0060】本実施形態では、例えば、図4に示すよう
に、特徴抽出チェッカの処理結果のうち、引用を所望す
る「重心X」および「重心Y」の列の見出しをそれぞれ
スプレッドシートにおける「特徴抽出チェッカランドの
重心Xグループ」および「特徴抽出チェッカランドの重
心Yグループ」の「結果」欄にドラッグ&ドロップすれ
ば、それら各欄に特徴抽出チェッカによる複数個の処理
結果が引用され、引用される処理結果の個数が特徴抽出
チェッカによる処理毎の処理結果の数で決まる構成にな
っている。これにより、検査対象の物品の個数が不定で
あっても、従来のような検査漏れやエラーなどが発生し
なくなり、良好な検査結果の出力が可能になる。なお、
直接処理結果の数値をスプレッドシートにドラッグ&ド
ロップしても、従来と同様に、その単一の処理結果がス
プレッドシートに引用される。
In the present embodiment, for example, as shown in FIG. 4, among the processing results of the feature extraction checker, the headings of the columns of “centroid X” and “centroid Y” which are desired to be quoted are respectively referred to as “features” in the spreadsheet. By dragging and dropping into the “Result” column of “Extraction checkerland barycenter X group” and “Feature extraction checkerland centroid Y group”, a plurality of processing results by the feature extraction checker are quoted and quoted in each column. Is determined by the number of processing results for each processing by the feature extraction checker. As a result, even if the number of articles to be inspected is indeterminate, inspection omissions, errors, and the like as in the related art do not occur, and good inspection results can be output. In addition,
Even if the numerical value of the direct processing result is dragged and dropped into the spreadsheet, the single processing result is quoted in the spreadsheet as in the related art.

【0061】同様に、マッチングチェッカの処理結果の
うち、引用を所望する「相関係数」および「検出角度」
の列の見出しをそれぞれスプレッドシートにおける「回
転マッチングチェッカの相関係数グループ」および「回
転マッチングチェッカの検出角度グループ」の「結果」
欄にドラッグ&ドロップすれば、それら各欄にマッチン
グチェッカによる複数個の処理結果が引用され、引用さ
れる処理結果の個数がマッチングチェッカによる処理毎
の処理結果の数で決まる構成になっている。
Similarly, among the processing results of the matching checker, the “correlation coefficient” and “detection angle”
Column headings in the spreadsheet, "Results" of "Correlation coefficient group of rotation matching checker" and "Detection angle group of rotation matching checker"
By dragging and dropping into the columns, a plurality of processing results by the matching checker are quoted in each column, and the number of quoted processing results is determined by the number of processing results for each processing by the matching checker.

【0062】ただし、スプレッドシートに引用された複
数個の処理結果は、図3と同様に、「…」で表示され、
この部分をダブルクリックすると、プルダウンメニュー
形式で引用されている処理結果の値が表示される。
However, a plurality of processing results cited in the spreadsheet are displayed as "..." as in FIG.
If you double-click this part, the value of the processing result quoted in the pull-down menu format is displayed.

【0063】なお、このような引用機能によれば、上記
チェッカに限らず、引用を所望する種々のチェッカの処
理結果をスプレッドシートの所定欄に引用することが可
能になる。
According to such a quoting function, it is possible to cite not only the above-mentioned checkers but also the processing results of various checkers desired to be quoted in a predetermined column of a spreadsheet.

【0064】次に、CPU15で生成されるスプレッド
シートについて説明すると、このスプレッドシートは、
検査対象に対して行われた各チェッカの処理結果が引用
されると、当該スプレッドシートの演算機能により演算
処理を実行し、この処理結果を検査結果として出力回路
16を介して外部に出力するものである。
Next, the spreadsheet generated by the CPU 15 will be described.
When the processing result of each checker performed on the inspection target is quoted, the arithmetic processing is performed by the arithmetic function of the spreadsheet, and the processing result is output to the outside via the output circuit 16 as the inspection result. It is.

【0065】また、スプレッドシートは、同一種類の処
理結果が複数ある場合でも、これら複数の処理結果を一
括して個別に単一のデータに対応させることができる機
能を備えている。図4では、例えば、「特徴抽出チェッ
カランドの重心Xグループ」の「結果」の欄には、4個
の処理結果が格納されているが、これら処理結果を単一
の「上限値」のデータ「511」と単一の「下限値」の
データ「0」に対応させて、これら上限値と下限値の範
囲内に各処理結果が入っているか否かの判定を一括して
個別に行い、その判定結果を「特徴抽出チェッカランド
の重心Xグループ」の「判定」の欄に格納するように設
計されている。この判定結果は、複数あるので「…」で
表示されるが、この部分をダブルクリックすることによ
りプルダウンメニュー形式で各判定結果が表示される。
In addition, the spreadsheet has a function of allowing a plurality of processing results of the same type to be collectively and individually associated with a single data even when there are a plurality of processing results of the same type. In FIG. 4, for example, four processing results are stored in the “result” column of “the center of gravity X group of the feature extraction checkerland”, and these processing results are represented by a single “upper limit” data. In accordance with the data “0” of “511” and the single “lower limit value”, it is determined individually whether or not each processing result falls within the range of the upper limit value and the lower limit value. The result of the determination is designed to be stored in the column of “determination” of “the center of gravity X group of the feature extraction checkerland”. Since there are a plurality of judgment results, they are displayed as “...”. Double-clicking this portion displays each judgment result in a pull-down menu format.

【0066】また、スプレッドシートは、様々な処理結
果に対する引用および演算が可能な機能を有している。
例えば、従来のスプレッドシートでは、単一の処理結果
に対して所定の演算式を適用することが可能になってい
るのに対して、本実施形態のスプレッドシートでは、同
一種類の処理に対する処理結果が複数あっても、これら
処理結果に対して単一の所定演算式を一括して個別に割
り当てることが可能になっている。図4の例では、「特
徴抽出チェッカランドの重心Xグループ」および「結
果」で特定される処理結果を示すFExに対して、FE
x*10の演算式が適用され、この演算式による演算の
処理結果が「FEx*10」の「結果」欄に格納され
る。この場合、以下の演算結果が格納される。
The spreadsheet has a function capable of citing and calculating various processing results.
For example, in a conventional spreadsheet, a predetermined operation expression can be applied to a single processing result, whereas in the spreadsheet of the present embodiment, a processing result for the same type of processing is obtained. Even if there are a plurality of processing expressions, it is possible to individually and collectively assign a single predetermined arithmetic expression to these processing results. In the example of FIG. 4, the FEx indicating the processing result specified by “the center of gravity X group of the feature extraction checkerland” and “result” is
The calculation formula of x * 10 is applied, and the processing result of the calculation by this calculation formula is stored in the “Result” column of “FEx * 10”. In this case, the following calculation result is stored.

【0067】FEx1*10 FEx2*10 FEx3*10 FEx4*10 このとき、演算式の適用の対象が複数あると、複数の演
算結果が格納される。なお、複数の処理結果と単一の処
理結果との間の演算を禁止する制限などを設けて、演算
式による演算結果に矛盾が生じないようにしてもよい。
FEx1 * 10 FEx2 * 10 FEx3 * 10 FEx4 * 10 At this time, if there are a plurality of objects to which the arithmetic expression is applied, a plurality of arithmetic results are stored. In addition, a restriction may be provided to prohibit an operation between a plurality of processing results and a single processing result, so that inconsistency does not occur in the operation result by the operation expression.

【0068】さらに、本実施形態のスプレッドシート
は、当該スプレッドシートが有する演算機能による演算
の処理結果のうち、所望する処理結果を検査結果として
所望するインターフェースを介して出力させる機能を有
している。
Further, the spreadsheet of the present embodiment has a function of outputting a desired processing result as an inspection result through a desired interface among the processing results obtained by the calculation function of the spreadsheet. .

【0069】すなわち、「出力先」の欄に所望するイン
ターフェースを記入する構成になっており、例えば、
「シリアル」および「パラレル」と記入すれば、それぞ
れRS−232Cインターフェースおよびパラレル出力
ポートを介して検査結果が出力される。図4の例では、
「FEy」の「結果」の値がシリアルを介して、「PM
a」の「判定」の結果がシリアルおよびパラレルを介し
て、そして「op1」の「結果」がパラレルを介して外
部に出力される。
That is, a desired interface is entered in the “output destination” column.
If "Serial" and "Parallel" are entered, the inspection result is output via the RS-232C interface and the parallel output port, respectively. In the example of FIG.
The value of “Result” of “FEy” is changed to “PM” via serial.
The result of “determination” of “a” is output to the outside via serial and parallel, and the “result” of “op1” is output to the outside via parallel.

【0070】また、検査結果としての出力を所望する処
理結果の指定は、出力を所望する処理結果を「出力先」
の項目にドラッグ&ドロップするだけで行われるように
なっており、また、このような指定が行われると、出力
を所望する処理結果が格納されている欄の左側に黒い縦
帯の印が入るようになっている。
The designation of the processing result desired to be output as the inspection result is performed by setting the processing result desired to be output to “output destination”.
Is performed simply by dragging and dropping the item. When such a designation is made, a black vertical band mark appears on the left side of the column where the processing result desired to be output is stored. It has become.

【0071】このようなスプレッドシートによれば、例
えば、FEy{1}=103.5、FEy{2}=153.4、FEy{3}=311.9、FE
y{4}=330.0、PMa{1}=1、PMa{2}=1、PMa{3}=0、PMa{4}=1
のような検査結果がシリアルを介して出力される一方、
PMa{1}=1、PMa{2}=1、PMa{3}=0、PMa{4}=1、op1{1}=150
4、op1{2}=4037、op1{3}=1732、op1{4}=4263のような検
査結果がパラレルを介して出力されることになる。ただ
し、判定結果はOKならば1、NGならば0であるとす
る。
According to such a spreadsheet, for example, FEy {1} = 103.5, FEy {2} = 153.4, FEy {3} = 311.9, and FEy {3} = 311.9.
y {4} = 330.0, PMa {1} = 1, PMa {2} = 1, PMa {3} = 0, PMa {4} = 1
Is output via serial while
PMa {1} = 1, PMa {2} = 1, PMa {3} = 0, PMa {4} = 1, op1 {1} = 150
Inspection results such as 4, op1 {2} = 4037, op1 {3} = 1732, and op1 {4} = 4263 are output via parallel. However, it is assumed that the determination result is 1 if OK and 0 if NG.

【0072】次に、本画像処理検査装置の概略動作につ
いて説明すると、まず、TVカメラ10により検査対象
の撮像が行われ、この撮像により得られる画像データが
A/D変換器11を介してメモリ12,13に記憶され
る。
Next, the schematic operation of the image processing / inspection apparatus will be described. First, an image of an object to be inspected is taken by the TV camera 10, and the image data obtained by this imaging is stored in the memory via the A / D converter 11. 12 and 13 are stored.

【0073】次いで、メモリ12の画像データを利用し
た画像処理が特徴抽出チェッカにより実行される(S
1)。これにより、図3(a)に示すように、検査対象
のランド総数が求められるとともに、検査対象の部品毎
に、部品の面積、重心X,Yおよび慣性主軸が求められ
る。
Next, image processing using the image data in the memory 12 is executed by the feature extraction checker (S
1). Thus, as shown in FIG. 3A, the total number of lands to be inspected is determined, and the area, the center of gravity X, Y, and the principal axis of inertia of each component are determined.

【0074】次いで、部品毎に、重心X,Yおよび慣性
主軸の角度を用いた部品の位置および回転の補正が補正
チェッカにより行われ(S2)、この後、マッチングチ
ェッカによる処理が実行される。これにより、図3
(c)に示すように、部品毎に、相関係数、出力X,Y
および検出角度が求められる。また、各チェッカの処理
により最終的に図3(c)に示す処理結果が得られる
と、上記全処理結果の一部が図4に示すようにスプレッ
ドシートに自動的に引用される。
Next, for each component, the position and rotation of the component are corrected by the correction checker using the center of gravity X, Y and the angle of the principal axis of inertia (S2), and thereafter, the processing by the matching checker is executed. As a result, FIG.
As shown in (c), the correlation coefficient, output X, Y
And the detection angle are determined. When the processing result shown in FIG. 3C is finally obtained by the processing of each checker, a part of the entire processing result is automatically cited in the spreadsheet as shown in FIG.

【0075】次いで、検査対象に対して行われた各チェ
ッカの処理結果がスプレッドシートに自動的に引用され
ると、このスプレッドシートの演算機能により演算処理
が行われ、この処理結果が検査結果として出力回路16
を介して外部に出力される。
Next, when the processing result of each checker performed on the inspection target is automatically cited in the spreadsheet, the calculation processing is performed by the calculation function of the spreadsheet, and the processing result is used as the inspection result. Output circuit 16
Output to the outside through

【0076】一方、メモリ13に記憶された画像データ
は、LUT17およびD/A変換器18を介してモニタ
19に送られ、このモニタ19の画面に画像が表示され
る。
On the other hand, the image data stored in the memory 13 is sent to the monitor 19 via the LUT 17 and the D / A converter 18, and the image is displayed on the screen of the monitor 19.

【0077】以上、本実施形態によれば、一の種類の処
理結果が複数ある場合には、これら複数の処理結果が他
の種類の処理またはスプレッドシートに一括して個別に
引用されるので、1度設定された引用の有効性が処理結
果の数に依存しなくなり、処理結果の数が変動しても対
応可能になる。これにより、ユーザの設定負担を軽減す
ることが可能になる。また、他の種類の処理に対する複
数の処理結果の一括個別引用が一度に設定可能になって
いるので、ユーザの設定負担を一層軽減することが可能
になる。さらに、予めスプレッドシートに対してGUI を
利用した簡単な出力設定を行うことにより、スプレッド
シートにより得られる演算結果を検査結果として出力さ
せることが可能となる。
As described above, according to the present embodiment, when there are a plurality of processing results of one type, the plurality of processing results are collectively and individually quoted in another type of processing or spreadsheet. The validity of the quote once set does not depend on the number of processing results, and it is possible to cope with the fluctuation of the number of processing results. This makes it possible to reduce the setting burden on the user. In addition, since collective individual citation of a plurality of processing results for other types of processing can be set at once, it is possible to further reduce the setting burden on the user. Further, by performing a simple output setting using a GUI on the spreadsheet in advance, it becomes possible to output the calculation result obtained by the spreadsheet as an inspection result.

【0078】なお、本実施形態では、本画像処理検査装
置は、CPU15、引いては装置全体の処理速度を向上
させるべく、画像処理装置14およびCPU15を画像
検査手段として備える構成になっているが、これに限ら
ず、画像処理装置14を具備せずにCPU15を画像検
査手段として備える構成でもよい。この場合、各チェッ
カはCPU15で生成される。
In the present embodiment, the image processing and inspection apparatus is configured to include the image processing apparatus 14 and the CPU 15 as image inspection means in order to improve the processing speed of the CPU 15 and thus the entire apparatus. However, the present invention is not limited to this, and a configuration in which the CPU 15 is provided as the image inspection unit without the image processing device 14 may be used. In this case, each checker is generated by the CPU 15.

【0079】また、本実施形態では、画像処理装置14
およびCPU15による検査過程で行われる全処理結果
の一部がワークシートに引用される構成になっている
が、これに限らず、その全処理結果がワークシートに引
用される構成でもよい。
In this embodiment, the image processing device 14
Although a part of all the processing results performed in the inspection process by the CPU 15 is cited in the worksheet, the present invention is not limited to this, and a configuration in which all the processing results are cited in the worksheet may be used.

【0080】また、図3(a)に示す例では、ある一点
のX,Y座標(例えば重心座標)および慣性主軸が補正
チェッカに引用される構成になっているが、このような
引用方式は、X,Y座標による平行位置補正および3点
による位置・回転補正などにも適用可能である。
In the example shown in FIG. 3A, the X and Y coordinates (for example, the coordinates of the center of gravity) and the principal axis of inertia of a certain point are cited by the correction checker. , X, and Y coordinates, and position / rotation correction using three points.

【0081】また、図3(b)に示す例では、補正チェ
ッカの処理結果がマッチングチェッカに引用される構成
になっているが、このような引用方式は、ウィンドウチ
ェッカおよびエッジチェッカなどにも適用可能である。
In the example shown in FIG. 3B, the processing result of the correction checker is cited by the matching checker. However, such a quoting method is applied to a window checker, an edge checker, and the like. It is possible.

【0082】さらに、図4に示す例では、「重心X」お
よび「重心Y」がスプレッドシートに引用される構成に
なっているが、「面積」および「慣性主軸」もスプレッ
ドシートに引用される構成でもよい。
Further, in the example shown in FIG. 4, "centroid X" and "centroid Y" are cited in the spreadsheet. However, "area" and "major axis of inertia" are also cited in the spreadsheet. A configuration may be used.

【0083】[0083]

【発明の効果】請求項1記載の発明によれば、検査対象
の撮像を行う撮像手段と、前記撮像手段の撮像により得
られる画像データを記憶する記憶手段と、前記記憶手段
の画像データを利用して、予め設定された種類の処理を
行って前記検査対象の検査を行う画像検査手段と、前記
検査において、一の種類の処理結果を他の種類の処理に
引用させるものであって、前記一の種類の処理結果が複
数ある場合には、これら複数の処理結果を前記他の種類
の処理に一括して個別に引用させる引用手段とを備える
ので、ユーザの設定負担を軽減することが可能になる。
According to the first aspect of the present invention, an image pickup means for picking up an image of an inspection object, a storage means for storing image data obtained by the image pickup by the image pickup means, and utilizing the image data of the storage means. And an image inspection means for performing an inspection of the inspection object by performing a predetermined type of processing, and in the inspection, causing one type of processing result to be referred to another type of processing, When there are a plurality of processing results of one type, a quoting unit that collectively and individually cites the plurality of processing results to the other type of processing is provided, so that a user's setting load can be reduced. become.

【0084】請求項2記載の発明によれば、検査対象の
撮像を行う撮像手段と、前記撮像手段の撮像により得ら
れる画像データを記憶する記憶手段と、前記記憶手段の
画像データを利用して、予め設定された種類の処理を行
って前記検査対象の検査を行う画像検査手段と、前記検
査において、一の種類の処理結果を他の種類の処理に引
用させるものであって、前記一の種類の処理結果が複数
ある場合には、これら複数の処理結果を前記他の種類の
処理に一括して個別に引用させる引用手段とを備え、前
記他の種類の処理に対する前記複数の処理結果の一括個
別引用は一度に設定可能になっているので、ユーザの設
定負担をさらに軽減することが可能になる。
According to the second aspect of the present invention, an image pickup means for picking up an image of an inspection object, a storage means for storing image data obtained by the image pickup by the image pickup means, and an image data stored in the storage means. An image inspection means for performing an inspection of the inspection object by performing a predetermined type of processing, and causing the one type of processing result to be referred to another type of processing in the inspection; When there are a plurality of types of processing results, a citation unit for collectively and individually quoting the plurality of processing results to the other type of processing is provided. Since the collective individual citation can be set at one time, the setting burden on the user can be further reduced.

【0085】請求項3記載の発明によれば、前記画像検
査手段は、前記画像データを利用して、前記検査対象の
重心および慣性主軸の角度を測定する処理を行い、前記
引用手段は、前記処理で得られた重心および慣性主軸の
角度をそれぞれ位置補正量および回転補正量として前記
画像検査手段に引用させるので、ユーザの設定負担を軽
減することが可能になる。
According to the third aspect of the present invention, the image inspection means performs a process of measuring the center of gravity of the object to be inspected and the angle of the principal axis of inertia using the image data. Since the angle of the center of gravity and the angle of the principal axis of inertia obtained in the processing are referred to the image inspection means as the position correction amount and the rotation correction amount, respectively, it is possible to reduce the setting burden on the user.

【0086】請求項4記載の発明によれば、検査対象の
撮像を行う撮像手段と、前記撮像手段の撮像により得ら
れる画像データを記憶する記憶手段と、前記記憶手段の
画像データを利用して、予め設定された種類の処理を行
って前記検査対象の検査を行う画像検査手段と、前記検
査における処理結果の全部または一部をワークシートに
引用させるものであって、前記ワークシートに引用させ
る一の種類の処理結果が複数ある場合には、これら複数
の処理結果を前記ワークシートに一括して個別に引用さ
せる引用手段とを備えるので、ユーザの設定負担を軽減
することが可能になる。
According to the fourth aspect of the present invention, the image pickup means for picking up an image of the inspection object, the storage means for storing image data obtained by the image pickup by the image pickup means, and the image data in the storage means are utilized. Image inspection means for performing an inspection of the inspection object by performing a predetermined type of processing, and causing the worksheet to cite all or a part of the processing result in the inspection, When there are a plurality of processing results of one type, a quoting unit that collectively and individually cites the plurality of processing results in the worksheet is provided, so that it is possible to reduce the setting burden on the user.

【0087】請求項5記載の発明によれば、検査対象の
撮像を行う撮像手段と、前記撮像手段の撮像により得ら
れる画像データを記憶する記憶手段と、前記記憶手段の
画像データを利用して、予め設定された種類の処理を行
って前記検査対象の検査を行う画像検査手段と、前記検
査における処理結果の全部または一部をワークシートに
引用させるものであって、前記ワークシートに引用させ
る一の種類の処理結果が複数ある場合には、これら複数
の処理結果を前記ワークシートに一括して個別に引用さ
せる引用手段と、前記ワークシートにより得られる演算
結果を検査結果として出力する出力手段とを備えるの
で、ユーザの設定負担を軽減することが可能になるとと
もに、ワークシートにより得られる演算結果が検査結果
として外部に出力することが可能になる。
According to the fifth aspect of the present invention, an image pickup means for picking up an image of an inspection object, a storage means for storing image data obtained by the image pickup by the image pickup means, and an image data stored in the storage means. Image inspection means for performing an inspection of the inspection object by performing a predetermined type of processing, and causing the worksheet to cite all or a part of the processing result in the inspection, When there are a plurality of processing results of one type, a quoting unit that collectively and individually cites the plurality of processing results in the worksheet, and an output unit that outputs a calculation result obtained by the worksheet as an inspection result This makes it possible to reduce the setting burden on the user, and outputs the calculation results obtained from the worksheet to the outside as inspection results. It becomes possible.

【0088】請求項6記載の発明によれば、検査対象の
撮像を行うステップと、前記撮像により得られる画像デ
ータを利用して、予め設定された種類の処理を行って前
記検査対象の検査を行うステップとを備え、前記検査に
おいて、一の種類の処理結果が他の種類の処理に引用さ
れるとともに、前記一の種類の処理結果が複数ある場合
には、これら複数の処理結果が前記他の種類の処理に一
括して個別に引用されるので、ユーザの設定負担を軽減
することが可能になる。
According to the sixth aspect of the present invention, the step of imaging the inspection object and the processing of a predetermined type are performed by using the image data obtained by the imaging to inspect the inspection object. Performing a step, wherein in the inspection, one type of processing result is referred to another type of processing, and when there is a plurality of the one type of processing result, Are collectively and individually quoted in the types of processing, so that the setting burden on the user can be reduced.

【0089】請求項7記載の発明によれば、検査対象の
撮像を行うステップと、前記撮像により得られる画像デ
ータを利用して、予め設定された種類の処理を行って前
記検査対象の検査を行うステップとを備え、前記検査に
おいて、一の種類の処理結果が他の種類の処理に引用さ
れるとともに、前記一の種類の処理結果が複数ある場合
には、これら複数の処理結果が前記他の種類の処理に一
括して個別に引用され、前記他の種類の処理に対する前
記複数の処理結果の一括個別引用は一度に設定可能にな
っているので、ユーザの設定負担をさらに軽減すること
が可能になる。
According to the seventh aspect of the present invention, the step of imaging the inspection object and the processing of a predetermined type are performed by using the image data obtained by the imaging to inspect the inspection object. Performing a step, wherein in the inspection, one type of processing result is referred to another type of processing, and when there is a plurality of the one type of processing result, Is collectively and individually quoted in the type of processing, and the collective individual quotation of the plurality of processing results for the other type of processing can be set at once, so that the setting burden on the user can be further reduced. Will be possible.

【0090】請求項8記載の発明によれば、検査対象の
撮像を行うステップと、前記撮像により得られる画像デ
ータを利用して、予め設定された種類の処理を行って前
記検査対象の検査を行うステップとを備え、前記検査に
おける処理結果の全部または一部がワークシートに引用
されるとともに、前記ワークシートに引用される一の種
類の処理結果が複数ある場合には、これら複数の処理結
果が前記ワークシートに一括して個別に引用されるの
で、ユーザの設定負担を軽減することが可能になる。
According to the eighth aspect of the present invention, the step of imaging the inspection target and the processing of a predetermined type are performed by using the image data obtained by the imaging to inspect the inspection target. Performing all of or part of the processing results in the inspection is cited in a worksheet, and when there are a plurality of one type of processing results cited in the worksheet, the plurality of processing results Are collectively and individually quoted in the worksheet, so that the setting burden on the user can be reduced.

【0091】請求項9記載の発明によれば、検査対象の
撮像を行うステップと、前記撮像により得られる画像デ
ータを利用して、予め設定された種類の処理を行って前
記検査対象の検査を行うステップとを備え、前記検査に
おける処理結果の全部または一部がワークシートに引用
されるとともに、前記ワークシートに引用される一の種
類の処理結果が複数ある場合には、これら複数の処理結
果が前記ワークシートに一括して個別に引用され、前記
ワークシートにより得られる演算結果が検査結果として
出力されるので、ユーザの設定負担を軽減することが可
能になるとともに、ワークシートにより得られる演算結
果を検査結果として外部に出力することが可能になる。
According to the ninth aspect of the present invention, the step of imaging the inspection object and the processing of a predetermined type are performed by using the image data obtained by the imaging to inspect the inspection object. Performing all of or part of the processing results in the inspection is cited in a worksheet, and when there are a plurality of one type of processing results cited in the worksheet, the plurality of processing results Are collectively quoted individually in the worksheet, and the calculation result obtained by the worksheet is output as an inspection result, so that it is possible to reduce a user's setting load and to obtain the calculation obtained by the worksheet. The result can be output to the outside as an inspection result.

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

【図1】本発明の一実施形態に係る画像処理検査装置の
概略構成図である。
FIG. 1 is a schematic configuration diagram of an image processing inspection apparatus according to an embodiment of the present invention.

【図2】本実施形態における画像処理検査装置のシーケ
ンスの概略を示す図である。
FIG. 2 is a diagram schematically illustrating a sequence of the image processing inspection apparatus according to the embodiment.

【図3】本実施形態における各チェッカ間の引用設定の
様子を示す図である。
FIG. 3 is a diagram showing a state of setting quotes between checkers in the embodiment.

【図4】本実施形態における各チェッカによる処理結果
のスプレッドシートへの引用設定の様子を示す図であ
る。
FIG. 4 is a diagram showing how a check result is set in a spreadsheet by each checker in the embodiment.

【図5】従来の画像処理検査装置の概略構成図である。FIG. 5 is a schematic configuration diagram of a conventional image processing inspection apparatus.

【図6】検査対象の形状の概略を示す平面図である。FIG. 6 is a plan view schematically showing a shape of an inspection target.

【図7】図6に示す4個の部品の検査対象に対する特徴
抽出チェッカによる処理結果の一例を示す説明図であ
る。
FIG. 7 is an explanatory diagram illustrating an example of a processing result of a feature extraction checker for an inspection target of four components illustrated in FIG. 6;

【図8】図6の例に適用可能な各部品の向きを精度良く
求めるための従来のシーケンスの概略を示す図である。
8 is a diagram schematically showing a conventional sequence for accurately obtaining the orientation of each component applicable to the example of FIG.

【図9】1個の部品の向きを精度良く求めるための従来
のシーケンスの概略を示す図である。
FIG. 9 is a diagram schematically illustrating a conventional sequence for accurately determining the direction of one component.

【図10】図5に示す従来の画像処理検査装置における
各チェッカ間の引用設定の様子を示す図である。
FIG. 10 is a diagram showing a state of citation setting between checkers in the conventional image processing inspection apparatus shown in FIG.

【図11】図5に示す従来の画像処理検査装置における
各チェッカによる処理結果のスプレッドシートへの引用
設定の様子を示す図である。
FIG. 11 is a diagram showing how a check result is set to a spreadsheet by a checker in the conventional image processing and inspection apparatus shown in FIG.

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

10 TVカメラ 11 A/D変換器 12,13 メモリ 14 画像処理装置 15 CPU 16 出力回路 17 LUT 18 D/A変換器 19 モニタ Reference Signs List 10 TV camera 11 A / D converter 12, 13 Memory 14 Image processing device 15 CPU 16 Output circuit 17 LUT 18 D / A converter 19 Monitor

───────────────────────────────────────────────────── フロントページの続き (72)発明者 鳥丸 裕二 大阪府門真市大字門真1048番地松下電工株 式会社内 Fターム(参考) 5C052 AA17 DD08 GA01 GA03 GA09 GB01 GC00 GD03 5C054 CC03 FC01 FC05 FC15 FC16 GA04 GB01 GB12 HA05  ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor Yuji Torimaru 1048 Kazuma Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Works F-term (reference) 5C052 AA17 DD08 GA01 GA03 GA09 GB01 GC00 GD03 5C054 CC03 FC01 FC05 FC15 FC16 GA04 GB01 GB12 HA05

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 検査対象の撮像を行う撮像手段と、 前記撮像手段の撮像により得られる画像データを記憶す
る記憶手段と、 前記記憶手段の画像データを利用して、予め設定された
種類の処理を行って前記検査対象の検査を行う画像検査
手段と、 前記検査において、一の種類の処理結果を他の種類の処
理に引用させるものであって、前記一の種類の処理結果
が複数ある場合には、これら複数の処理結果を前記他の
種類の処理に一括して個別に引用させる引用手段とを備
える画像処理検査装置。
An imaging unit configured to capture an image of an inspection target; a storage unit configured to store image data obtained by the imaging unit; and a preset type of process using the image data stored in the storage unit. Image inspection means for performing an inspection of the inspection object by performing the above-mentioned inspection, wherein in the inspection, one type of processing result is cited to another type of processing, and there is a plurality of the one type of processing result. An image processing / inspection apparatus comprising: a quoting unit that collectively and individually cites the plurality of processing results to the other type of processing.
【請求項2】 検査対象の撮像を行う撮像手段と、 前記撮像手段の撮像により得られる画像データを記憶す
る記憶手段と、 前記記憶手段の画像データを利用して、予め設定された
種類の処理を行って前記検査対象の検査を行う画像検査
手段と、 前記検査において、一の種類の処理結果を他の種類の処
理に引用させるものであって、前記一の種類の処理結果
が複数ある場合には、これら複数の処理結果を前記他の
種類の処理に一括して個別に引用させる引用手段とを備
え、 前記他の種類の処理に対する前記複数の処理結果の一括
個別引用は一度に設定可能になっている画像処理検査装
置。
2. An image pickup unit for picking up an image of an inspection object, a storage unit for storing image data obtained by the image pickup by the image pickup unit, and a preset type of processing using the image data of the storage unit Image inspection means for performing an inspection of the inspection object by performing the above-mentioned inspection, wherein in the inspection, one type of processing result is cited to another type of processing, and there is a plurality of the one type of processing result. Includes a quoting unit that collectively and individually cites the plurality of processing results to the other type of processing, and the collective individual quoting of the plurality of processing results for the other type of processing can be set at once. Image processing and inspection equipment.
【請求項3】 前記画像検査手段は、前記画像データを
利用して、前記検査対象の重心および慣性主軸の角度を
測定する処理を行い、 前記引用手段は、前記処理で得られた重心および慣性主
軸の角度をそれぞれ位置補正量および回転補正量として
前記画像検査手段に引用させる請求項1または2記載の
画像処理検査装置。
3. The image inspection means performs a process of measuring the center of gravity of the object to be inspected and the angle of the principal axis of inertia using the image data, and the citing means performs the process of measuring the center of gravity and the inertia obtained in the process. 3. The image processing / inspection apparatus according to claim 1, wherein the image inspection means is configured to quote the angle of the main shaft as a position correction amount and a rotation correction amount, respectively.
【請求項4】 検査対象の撮像を行う撮像手段と、 前記撮像手段の撮像により得られる画像データを記憶す
る記憶手段と、 前記記憶手段の画像データを利用して、予め設定された
種類の処理を行って前記検査対象の検査を行う画像検査
手段と、 前記検査における処理結果の全部または一部をワークシ
ートに引用させるものであって、前記ワークシートに引
用させる一の種類の処理結果が複数ある場合には、これ
ら複数の処理結果を前記ワークシートに一括して個別に
引用させる引用手段とを備える画像処理検査装置。
4. An image pickup unit for picking up an image of an inspection target, a storage unit for storing image data obtained by the image pickup unit, and a preset type of processing using the image data of the storage unit Image inspection means for performing the inspection of the inspection object by performing the above-mentioned inspection, and causing all or a part of the processing results in the inspection to be cited in a worksheet, wherein one type of processing result to be cited in the worksheet is plural. In some cases, the image processing inspection apparatus includes a quoting unit that collectively and individually cites the plurality of processing results in the worksheet.
【請求項5】 検査対象の撮像を行う撮像手段と、 前記撮像手段の撮像により得られる画像データを記憶す
る記憶手段と、 前記記憶手段の画像データを利用して、予め設定された
種類の処理を行って前記検査対象の検査を行う画像検査
手段と、 前記検査における処理結果の全部または一部をワークシ
ートに引用させるものであって、前記ワークシートに引
用させる一の種類の処理結果が複数ある場合には、これ
ら複数の処理結果を前記ワークシートに一括して個別に
引用させる引用手段と、 前記ワークシートにより得られる演算結果を検査結果と
して出力する出力手段とを備える画像処理検査装置。
5. An image pickup unit for picking up an image of an inspection object, a storage unit for storing image data obtained by the image pickup by the image pickup unit, and a preset type of processing using the image data of the storage unit Image inspection means for performing the inspection of the inspection object by performing the above-mentioned inspection, and causing all or a part of the processing results in the inspection to be cited in a worksheet, wherein one type of processing result to be cited in the worksheet is plural. In some cases, the image processing inspection apparatus includes a quoting unit that collectively and individually cites the plurality of processing results in the worksheet, and an output unit that outputs a calculation result obtained from the worksheet as an inspection result.
【請求項6】 検査対象の撮像を行うステップと、 前記撮像により得られる画像データを利用して、予め設
定された種類の処理を行って前記検査対象の検査を行う
ステップとを備え、 前記検査において、一の種類の処理結果が他の種類の処
理に引用されるとともに、前記一の種類の処理結果が複
数ある場合には、これら複数の処理結果が前記他の種類
の処理に一括して個別に引用される画像処理検査方法。
6. The method according to claim 1, further comprising a step of imaging the inspection target, and a step of performing a preset type of processing using the image data obtained by the imaging to inspect the inspection target. In the above, one type of processing result is referred to another type of processing, and when there is a plurality of the one type of processing result, the plurality of processing results are collectively included in the other type of processing. Image processing inspection method individually cited.
【請求項7】 検査対象の撮像を行うステップと、 前記撮像により得られる画像データを利用して、予め設
定された種類の処理を行って前記検査対象の検査を行う
ステップとを備え、 前記検査において、一の種類の処理結果が他の種類の処
理に引用されるとともに、前記一の種類の処理結果が複
数ある場合には、これら複数の処理結果が前記他の種類
の処理に一括して個別に引用され、 前記他の種類の処理に対する前記複数の処理結果の一括
個別引用は一度に設定可能になっている画像処理検査方
法。
7. The method according to claim 1, further comprising a step of imaging the inspection target, and a step of performing a predetermined type of processing using the image data obtained by the imaging to inspect the inspection target. In the above, one type of processing result is referred to another type of processing, and when there is a plurality of the one type of processing result, the plurality of processing results are collectively included in the other type of processing. An image processing inspection method which is individually cited, and wherein collective individual citation of the plurality of processing results for the other type of processing can be set at one time.
【請求項8】 検査対象の撮像を行うステップと、 前記撮像により得られる画像データを利用して、予め設
定された種類の処理を行って前記検査対象の検査を行う
ステップとを備え、 前記検査における処理結果の全部または一部がワークシ
ートに引用されるとともに、前記ワークシートに引用さ
れる一の種類の処理結果が複数ある場合には、これら複
数の処理結果が前記ワークシートに一括して個別に引用
される画像処理検査方法。
8. An imaging method for an inspection object, comprising: performing a predetermined type of processing using the image data obtained by the imaging to inspect the inspection object; All or a part of the processing results in are quoted in a worksheet, and when there is a plurality of one type of processing result cited in the worksheet, these plurality of processing results are collectively written in the worksheet. Image processing inspection method individually cited.
【請求項9】 検査対象の撮像を行うステップと、 前記撮像により得られる画像データを利用して、予め設
定された種類の処理を行って前記検査対象の検査を行う
ステップとを備え、 前記検査における処理結果の全部または一部がワークシ
ートに引用されるとともに、前記ワークシートに引用さ
れる一の種類の処理結果が複数ある場合には、これら複
数の処理結果が前記ワークシートに一括して個別に引用
され、 前記ワークシートにより得られる演算結果が検査結果と
して出力される画像処理検査方法。
9. The method according to claim 1, further comprising the steps of: imaging the inspection target; and performing a predetermined type of processing using the image data obtained by the imaging to inspect the inspection target. All or a part of the processing results in are quoted in a worksheet, and when there is a plurality of one type of processing result cited in the worksheet, these plurality of processing results are collectively written in the worksheet. An image processing / inspection method which is individually cited and outputs a calculation result obtained by the worksheet as an inspection result.
JP00854299A 1999-01-14 1999-01-14 Image processing inspection apparatus and method Expired - Fee Related JP3750391B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00854299A JP3750391B2 (en) 1999-01-14 1999-01-14 Image processing inspection apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00854299A JP3750391B2 (en) 1999-01-14 1999-01-14 Image processing inspection apparatus and method

Publications (2)

Publication Number Publication Date
JP2000209566A true JP2000209566A (en) 2000-07-28
JP3750391B2 JP3750391B2 (en) 2006-03-01

Family

ID=11696043

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00854299A Expired - Fee Related JP3750391B2 (en) 1999-01-14 1999-01-14 Image processing inspection apparatus and method

Country Status (1)

Country Link
JP (1) JP3750391B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018194475A (en) * 2017-05-18 2018-12-06 清水建設株式会社 Detection method and system of bolt position

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018194475A (en) * 2017-05-18 2018-12-06 清水建設株式会社 Detection method and system of bolt position

Also Published As

Publication number Publication date
JP3750391B2 (en) 2006-03-01

Similar Documents

Publication Publication Date Title
US6774889B1 (en) System and method for transforming an ordinary computer monitor screen into a touch screen
US20170249766A1 (en) Image processing device for displaying object detected from input picture image
CN106558027B (en) Method for estimating deviation error in camera pose
US8238640B2 (en) Display testing apparatus and method
EP2339292A1 (en) Three-dimensional measurement apparatus and method thereof
JP2003307466A (en) Apparatus, method and chart for calibration as well as result diagnostic device
WO2015107859A1 (en) Image comparison device, image sensor, processing system, and image comparison method
CN108074237B (en) Image definition detection method and device, storage medium and electronic equipment
JP6461426B2 (en) Brightness adjusting apparatus and method, image display system, program, and recording medium
CN109963451B (en) Method for positioning components of printed circuit board
JP2015181049A (en) Image verification method, image verification device, and program
US20060041775A1 (en) Method and device for producing component data
CN105357507B (en) The bearing calibration of color error ratio image and device
JP2000209566A (en) Image processing check device and its method
JP2002288633A (en) Image processing device and its positional correction method
JP6897100B2 (en) Judgment device, judgment method, and judgment program
CN115829929A (en) Method, device and equipment for detecting defects of product surface image and storage medium
CN109214242A (en) Sensing data acquisition methods, device, system and computer readable storage medium
CN112907462A (en) Distortion correction method and system for ultra-wide-angle camera device and shooting device comprising distortion correction system
CN114495105A (en) Image tilt correction method, device, storage medium and computer equipment
JP4218291B2 (en) Image processing device
JPH0415883A (en) Picture processor
CN111739081A (en) Feature point matching method, splicing method and device, electronic equipment and storage medium
JPH11120362A (en) Processor and method for image processing and machine-readable recording medium where criterion setting program is recorded
JP4328282B2 (en) Numerical input method and apparatus, and numerical input program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040116

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051110

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051128

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

Free format text: PAYMENT UNTIL: 20081216

Year of fee payment: 3

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20081216

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20091216

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091216

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101216

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees