JP3585224B2 - Image processing device - Google Patents
Image processing device Download PDFInfo
- Publication number
- JP3585224B2 JP3585224B2 JP2001059167A JP2001059167A JP3585224B2 JP 3585224 B2 JP3585224 B2 JP 3585224B2 JP 2001059167 A JP2001059167 A JP 2001059167A JP 2001059167 A JP2001059167 A JP 2001059167A JP 3585224 B2 JP3585224 B2 JP 3585224B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- inspection
- measurement
- value
- image processing
- 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.)
- Expired - Fee Related
Links
- 238000012545 processing Methods 0.000 title claims description 41
- 238000007689 inspection Methods 0.000 claims description 60
- 238000005259 measurement Methods 0.000 claims description 39
- 230000002950 deficient Effects 0.000 claims description 8
- 238000000034 method Methods 0.000 description 5
- 238000012790 confirmation Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
Images
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、工業製品などの対象物を画像処理により、欠陥の検査、または寸法の計測を行い、対象物の良否を判別する装置に関する。
【0002】
【従来の技術】
図1のように、対象物を画像処理により欠陥の検査を行う場合、NG画像が保存されていると便利なことが多い。保存後に、NG画像は、処理画像、例えば2値画像の状態で、画像No.や、検査結果、検査値とともに表示される。また、図2のように、対象物を画像処理により計測し、対象物の寸法などの判定を行う場合も同様である。
【0003】
通常、画像処理による検査または計測は、それぞれ複数の検査項目または計測項目を持ち、また1つの検査項目や計測項目も複数の処理ステップからできている。例えば図3の計測3において、画像処理は、3つのステップ1(2値化)、ステップ2(ノイズ除去)、ステップ3(面積測定→検査値)から構成されている。
【0004】
【発明が解決しようとする課題】
これらのステップのあとの判断過程で良否の判定が行われるが、その後で保存されているNG画像を見ても、NGになった検査項目または計測項目およびその検査値または計測値は保存されているものの、検査値または計測値が出るに至った各処理ステップにおける処理状況がわからないため、不都合な場合が生じる。例えば、処理結果が本当に正しかったかどうか、あるいはそのときの判定値が本当に適当であるかなどの見極めは、処理画面の表示だけではわからない。
【0005】
また、各検査項目または計測項目の各ステップ毎の処理画像を保存することもできるが、つぎのような問題がある。(1)画像をVGAサイズとして、モノクロ1画像あたり300KB(キロバイト)で、例えば全部で10ステップ(3検査項目)であるとすれば、3MB(メガバイト)にもなり、画像処理装置のメモリの制約から、いくつものステップ画面のうち、せいぜい数NG画面分しかとれないことになる。(2)1枚の画像をNG画像保存領域のメモリ上に転送するには、約10msを要し、10ステップあれば、約0.1secを要する。このため、画像処理に許される時間が0.1sec以下のとき、成立しなくなってしまう。現実には、最近、画像処理に許される時間は、ほとんど0.1sec以下である。
【0006】
したがって、本発明の目的は、検査用または計測用の画像処理装置において、不良の対象物について、その原画像のほか各処理ステップについての必要な事項を合理的な状態で保存できるようにすることである。
【0007】
【課題を解決するための手段】
上記の目的のもとに、本発明は、画像処理の対象物をTVカメラで撮像し、TVカメラからの画像を画像処理して得られた検査値または計測値を判定値と比較して、対象物の良否を判定し、判定の結果を出力する検査用または計測用の画像処理装置において、対象物が不良であった場合に、不良の対象物の原画像を画像(ワーク)No.、検査値または計測値、判定値、判定記号、および判定結果として検査項目毎のOK/NGなどと共に保存している。
【0008】
特に、本発明は、上記の画像処理装置において、保存された不良の対象物の原画像を読み出し、原画像と共に保存されている判定値を用いて、画像処理のステップ送りを伴う再検査または再計測を行えるようにしている。
【0009】
【発明の実施の形態】
図4は、本発明の検査用または計測用の画像処理装置1の構成を示しており、図5は、メモリ7の構成を示している。図4で、TVカメラ2は、画像処理の対象物3を撮像し、その映像信号をA/D変換器4で信号変換し、フレームメモリ5に対象物3の画像として格納する。
【0010】
CPU6は、対象物3の画像をメモリ7の作業領域に転送してから、検査用または計測用の画像処理のプログラムを実行し、データ、パラメータに従い、画像を画像処理して得られた検査値または計測値を判定値と比較して、対象物3の良否を判定し、判定の結果を出す。
【0011】
また、CPU6は、画像処理のプログラムを実行する過程で、バス9、ビデオメモリ10、D/A変換器11を経て、必要な画像をデイスプレイ8により表示するとともに、バス9、入出力部12を経て、キーボードやマウスなどの外部機器13との間で必要なデータや指令を交換する。
【0012】
なお、図5に示すように、検査用または計測用の画像処理のプログラム、データ、パラメータ(判定値、記号および画像処理パラメータ)は、メモリ7内で、所定の領域に納められている。
【0013】
また、判定の結果がNGの場合、不良となる対象物3の原画像は、メモリ7の作業領域からNG画像保存領域に転送され、そこに記録され、保存される。NG画像保存領域では、保存できる原画像の最大枚数Nが予め定められており、原画像が1番から順次入力され、最大枚数Nに達すると、再び1番から上描きれる。また、画像をNGと判定した際の画像(ワーク)No.、検査値、判定値、判定記号、判定結果も、メモリ7のNG画像付属データの領域に保存される。
【0014】
判定値は、画像処理の際に用いられたパラメータの中の判定値であり、また、判定記号は、><≦≧=などの記号である。このパラメータ(判定値)は、作業者が自動運転の途中で変更できるため、NG画像、検査値と共に保存が必要である。判定記号は、変更できないので、必ずしもNG画像付属データの領域に保存する必要はない。判定記号は、後からパラメータを参照することにより、確認できる。
【0015】
再検査は、例えば前記の図3の計測3の場合、図6に示すようなフローチャートで行われる。このフローチャートは、自動検査時、手動検査時のほか、再検査時に適用される。自動検査は、通常インライン処理であり、手動検査は、オフラインで行う。自動検査時、手動検査時は、いずれも対象物3を撮像し、A/D変換器4を経て、フレームメモリ5へ格納してから、検査または計測の画像処理を行う。
【0016】
これに対し、再検査は、再検査?の最初のステップで、メモリ7のNG画像保存領域にすでに保存された原画像を画像(ワーク)No.により指定し、これをフレームメモリ5に転送し、原画像と共に保存されている判定値を用いて、画像処理のステップ送りを伴う処理により行う。保存画像の指定(選択)は、操作部表示の〔右キー〕または〔左キー〕を外部機器13のキーボードまたはマウスで指しながら行う。
【0017】
また、検査または計測で用いる判定値は、自動検査および手動検査ではパラメータの判定値であるが、再検査ではNG画像付属データの判定値となる。手動検査および自動検査は、作業者を介さずに処理を最後まで行う。しかし、再検査では、作業者は、再検査?のステップごとに、Yesの選択を行うことにより、図7の原画像の表示、図8の処理画像(ステップ1)の表示、図9の処理画像(ステップ2)の表示、図10の処理画像(ステップ3)の表示とをさせ、それぞれの画面を確認する。
【0018】
ディスプレイ8の表示内容は、原画像、処理画像(ステップ1)、処理画像(ステップ2)、処理画像(ステップ3)のほか、画像(ワーク)No.、計測結果表示または判定結果、操作部表示、検査値、判定値、判定記号などである。
【0019】
再検査において、作業者は、図7ないし図10の確認の画面上で、これとともにディスプレイ8に表示された操作部表示の〔ステップ送り〕の操作ボタンをキーボードまたはマウスで操作する。処理中の計測項目は、図7に示すように反転文字で表示される。ここでは、計測3についてのみ説明したが、計測1(例えば幅測定)、計測2(例えば高さ測定)でも同様である。
【0020】
再検査画面に入ると、まず、作業者は、操作部表示の三角記号の〔右キー〕または〔左キー〕で画像No.を更新して、NG画像を選択し、計測1→計測2→計測3の順番で各ステップ処理と表示を行わせる。再検査終了は、操作部表示の〔戻る〕のボタンの選択で、他のNG画像選択は、〔右キー〕や〔左キー〕の選択で行う。なお、NG画像が選択された段階で、図7のように、各検査項目または計測項目の処理結果(OK/NG)の表示と、原画像の表示が行われる。
【0021】
作業者は、〔右キー〕または〔左キー〕でNG画像の原画および検査結果を見ながら、処理したい画像についてのみ〔ステップ送り(開始)〕のボタンを押すことにより、再検査を行い、各ステップでの処理画像を確認できる。また、各検査項目の最終ステップでは、判定値と検査値、判定記号が表示され、数値的にも判定の過程を確認することができる。当然、この判定値、検査値、判定記号の表示は、検査項目毎にある。
【0022】
これまでは、各検査項目の中の各ステップで判定の過程を確認できると説明したが、各ステップを省略して、各検査項目毎に、例えば検査1→検査2→検査3のように、確認できるようにしても、図2のように、単にNG画像の処理画像を表示するよりは、細かい情報を知ることができる。もちろん、各検査項目の確認画面には、図10のように、判定値、判定記号、検査値が表示される。
【0023】
【発明の効果】
本発明では、原画像、ワークNo.、検査値、判定値、判定記号、判定結果を保存し、再検査することにより、各ステップ毎に検査または計測し、処理画像と検査値、判定値、判定記号とを確認することにより、判定の妥当性の確認ができる。
【図面の簡単な説明】
【図1】検査でのNG画像の表示例である。
【図2】計測でのNG画像の表示例である。
【図3】計測3の処理ステップのフローチャート図である。
【図4】画像処理装置のブロック線図である。
【図5】メモリの領域の説明図である。
【図6】ステップ送り時の処理ステップのフローチャート図である。
【図7】ステップ送り時の初期の画像の表示例である。
【図8】ステップ送り時の処理画像(ステップ1)の表示例である。
【図9】ステップ送り時の処理画像(ステップ2)の表示例である。
【図10】ステップ送り時の処理画像(ステップ3)の表示例である。
【符号の説明】
1 検査用または計測用の画像処理装置
2 TVカメラ
3 対象物
4 A/D変換器
5 フレームメモリ
6 CPU
7 メモリ
8 デイスプレイ
9 バス
10 メモリ
11 D/A変換器
12 入出力部
13 外部機器[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an apparatus that inspects an object such as an industrial product by image processing, inspects a defect, or measures a dimension, and determines the quality of the object.
[0002]
[Prior art]
As shown in FIG. 1, when an object is inspected for defects by image processing, it is often convenient to store an NG image. After the saving, the NG image is a processed image, for example, a binary image, and the image No. And inspection results and inspection values. Also, as shown in FIG. 2, the same applies to the case where an object is measured by image processing and the size of the object is determined.
[0003]
Usually, inspection or measurement by image processing has a plurality of inspection items or measurement items, and one inspection item or measurement item is also made up of a plurality of processing steps. For example, in
[0004]
[Problems to be solved by the invention]
In the determination process after these steps, pass / fail is determined. Even when the stored NG image is viewed, the inspection item or measurement item that has failed and its inspection value or measurement value are stored. However, since the processing status in each processing step at which the inspection value or the measured value is output is not known, an inconvenience may occur. For example, whether or not the processing result is really correct or whether the determination value at that time is really appropriate cannot be determined only by displaying the processing screen.
[0005]
In addition, a processed image for each step of each inspection item or measurement item can be stored, but there are the following problems. (1) Assuming that an image is a VGA size and 300 KB (kilobytes) per monochrome image, for example, if there are 10 steps (3 inspection items) in total, the image size is 3 MB (megabytes), and the memory of the image processing apparatus is limited. Thus, at most, only a few NG screens can be taken out of several step screens. (2) It takes about 10 ms to transfer one image to the memory of the NG image storage area, and about 0.1 sec for 10 steps. Therefore, when the time allowed for the image processing is equal to or less than 0.1 sec, the condition is not satisfied. In reality, the time allowed for image processing recently is almost 0.1 sec or less.
[0006]
Therefore, an object of the present invention is to enable an image processing apparatus for inspection or measurement to store, in a reasonable state, necessary items for each processing step in addition to an original image of a defective object. It is.
[0007]
[Means for Solving the Problems]
Based on the above object, the present invention captures an object of image processing with a TV camera, compares an inspection value or measurement value obtained by performing image processing on an image from the TV camera with a determination value, In an inspection or measurement image processing apparatus that determines the acceptability of an object and outputs a result of the determination, when the object is defective, the original image of the defective object is replaced with an image (work) No. , Inspection values or measurement values, determination values, determination symbols, and OK / NG for each inspection item as determination results.
[0008]
In particular, according to the present invention, in the above-described image processing apparatus, the stored original image of the defective object is read out, and the re-inspection or re-inspection accompanied by the step feed of the image processing is performed using the judgment value stored together with the original image. The measurement can be performed.
[0009]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 4 shows the configuration of the image processing apparatus 1 for inspection or measurement of the present invention, and FIG. 5 shows the configuration of the memory 7. In FIG. 4, the TV camera 2 captures an image of an
[0010]
The CPU 6 transfers the image of the
[0011]
In the course of executing the image processing program, the CPU 6 displays necessary images on the
[0012]
As shown in FIG. 5, a program, data, and parameters (judgment values, symbols, and image processing parameters) for image processing for inspection or measurement are stored in a predetermined area in the memory 7.
[0013]
If the result of the determination is NG, the original image of the
[0014]
The judgment value is a judgment value in the parameters used in the image processing, and the judgment symbol is a symbol such as >><=> =. Since this parameter (judgment value) can be changed during the automatic operation by the operator, it is necessary to save the parameter together with the NG image and the inspection value. Since the judgment symbol cannot be changed, it is not always necessary to save it in the area of the NG image attached data. The judgment symbol can be confirmed by referring to the parameters later.
[0015]
For example, in the case of the
[0016]
On the other hand, is re-examination a re-examination? In the first step, the original image already stored in the NG image storage area of the memory 7 is replaced with the image (work) No. Is transferred to the
[0017]
The judgment value used in the inspection or measurement is a judgment value of the parameter in the automatic inspection and the manual inspection, but is a judgment value of the data attached to the NG image in the re-inspection. The manual inspection and the automatic inspection perform the processing to the end without the intervention of an operator. But in the re-examination, the worker re-examined? By selecting Yes for each step, the display of the original image in FIG. 7, the display of the processed image (step 1) in FIG. 8, the display of the processed image (step 2) in FIG. 9, and the processed image in FIG. (Step 3) is displayed, and each screen is confirmed.
[0018]
The display contents of the
[0019]
In the reexamination, the operator operates the operation button of [step forward] of the operation unit display displayed on the
[0020]
When the operator enters the reexamination screen, the operator first uses the triangle symbol [right key] or [left key] on the operation unit display to display the image No. Is updated, an NG image is selected, and each step processing and display are performed in the order of measurement 1 → measurement 2 →
[0021]
The operator performs the re-examination by pressing the [Step Forward (Start)] button only for the image to be processed while viewing the original image of the NG image and the inspection result with the [right key] or [left key]. The processed image at the step can be confirmed. In the final step of each inspection item, a judgment value, an inspection value, and a judgment symbol are displayed, and the judgment process can be confirmed numerically. Naturally, the display of the judgment value, the inspection value, and the judgment symbol is provided for each inspection item.
[0022]
So far, it has been described that the determination process can be confirmed at each step in each inspection item, but each step is omitted, and for each inspection item, for example, inspection 1 → inspection 2 →
[0023]
【The invention's effect】
In the present invention, the original image, the work No. , Inspection values, judgment values, judgment symbols, judgment results are stored and re-inspected, so that inspection or measurement is performed at each step, and the processed image is checked with the inspection values, judgment values, judgment symbols, and the judgment is made. Can be checked for validity.
[Brief description of the drawings]
FIG. 1 is a display example of an NG image in an inspection.
FIG. 2 is a display example of an NG image in measurement.
FIG. 3 is a flowchart of processing steps of
FIG. 4 is a block diagram of the image processing apparatus.
FIG. 5 is an explanatory diagram of a memory area.
FIG. 6 is a flowchart of processing steps at the time of step feeding.
FIG. 7 is a display example of an initial image at the time of step feed.
FIG. 8 is a display example of a processed image (step 1) at the time of step feed.
FIG. 9 is a display example of a processed image (step 2) at the time of step feeding.
FIG. 10 is a display example of a processed image (step 3) at the time of step feed.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Image processing apparatus for inspection or measurement 2
7
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001059167A JP3585224B2 (en) | 2001-03-02 | 2001-03-02 | Image processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001059167A JP3585224B2 (en) | 2001-03-02 | 2001-03-02 | Image processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2002259949A JP2002259949A (en) | 2002-09-13 |
| JP3585224B2 true JP3585224B2 (en) | 2004-11-04 |
Family
ID=18918770
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001059167A Expired - Fee Related JP3585224B2 (en) | 2001-03-02 | 2001-03-02 | Image processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3585224B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7787018B2 (en) * | 2022-05-19 | 2025-12-16 | トヨタ自動車株式会社 | Inspection Support System |
-
2001
- 2001-03-02 JP JP2001059167A patent/JP3585224B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2002259949A (en) | 2002-09-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3406739B2 (en) | Handy type on-site equipment inspection device | |
| JP2010071951A (en) | Visual inspection device and visual inspection method | |
| JP4649051B2 (en) | Inspection screen display method and substrate inspection system | |
| JP3533722B2 (en) | Failure inspection method and device | |
| JP3585224B2 (en) | Image processing device | |
| JP2013145171A (en) | Appearance inspection device | |
| JP4804779B2 (en) | Over-detection prevention system and processing method for visual inspection of printed circuit board in film and tape form | |
| JP2018091771A (en) | Method for inspection, preliminary image selection device, and inspection system | |
| JP2008130966A (en) | Defect review method and apparatus | |
| JPH10246704A (en) | Semiconductor wafer inspection method and semiconductor wafer inspection device | |
| JP2543370B2 (en) | Sealant inspection method using visual sensor | |
| JP2019178928A (en) | Inspection device and inspection method | |
| JP4680659B2 (en) | Product tire appearance inspection method and product tire appearance inspection auxiliary device | |
| JP2002071574A (en) | Defective image display method of image processing device, and image processing device | |
| JP2000221111A (en) | Display screen inspection method and device | |
| JPH11120362A (en) | IMAGE PROCESSING APPARATUS AND METHOD, AND MACHINE-READABLE RECORDING MEDIUM RECORDING JUDGMENT CRITERIA SETTING PROGRAM | |
| JP2006078381A (en) | Display method of display of image processing apparatus | |
| JP2006220528A (en) | Defect classification system and defect classification method | |
| JP2000329594A (en) | Data collection processing device and recording medium on which data collection processing program is recorded | |
| JP3787230B2 (en) | Welding state monitoring apparatus and method | |
| KR100369832B1 (en) | Managing apparatus and method for hindrance article | |
| JP2002160161A (en) | Peeling efficiency evaluating method for blast device | |
| JP7397404B2 (en) | Image processing device, image processing method, and image processing program | |
| KR20060082886A (en) | How to test the camera of the mobile terminal | |
| JP2008215827A (en) | Confirmation screen display method for visual inspection equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040705 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040706 |
|
| 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: 20040802 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040802 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313532 |
|
| R360 | Written notification for declining of transfer of rights |
Free format text: JAPANESE INTERMEDIATE CODE: R360 |
|
| R370 | Written measure of declining of transfer procedure |
Free format text: JAPANESE INTERMEDIATE CODE: R370 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313532 |
|
| 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: 20100813 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |