JPH0783856A - Method for detecting and processing - Google Patents

Method for detecting and processing

Info

Publication number
JPH0783856A
JPH0783856A JP18222893A JP18222893A JPH0783856A JP H0783856 A JPH0783856 A JP H0783856A JP 18222893 A JP18222893 A JP 18222893A JP 18222893 A JP18222893 A JP 18222893A JP H0783856 A JPH0783856 A JP H0783856A
Authority
JP
Japan
Prior art keywords
image
processing
image processing
inspection
synchronization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP18222893A
Other languages
Japanese (ja)
Inventor
Hirokatsu Abe
洋克 安部
Hideo Amatatsu
秀生 天辰
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.)
LION ENG KK
Original Assignee
LION ENG KK
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 LION ENG KK filed Critical LION ENG KK
Priority to JP18222893A priority Critical patent/JPH0783856A/en
Publication of JPH0783856A publication Critical patent/JPH0783856A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To perform automatic inspection at low cost and at high speeds without using auxiliary control equipment in order to determine whether or not a subject for inspection is defective through image processing. CONSTITUTION:In order to subject an image signal to real-time arithmetic processing by an image processing portion 3 to subject an image to simple binarization for image processing, a subject 1 for inspection is moved relative to a camera 2, and a trigger signal is inputted in synchronization with the termination of the image processing and then processed; i.e., at the input of one trigger signal, image fields are processed and measured the designated number of times in synchronization with images, and an output of synthetic judgment on the overall subject for measurement is produced at the finish of measurement of the final field, so as to perform arithmetic processing as image processing with ease and high efficiency without using auxiliary control equipment.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ボトルなどの円筒物の
検査や連続物の検査、その他の検査対象物の外観をCC
Dカメラなどのカメラで画像として取り込み、該画像信
号を処理して検査対象物の良否を判定するための不良品
検出処理方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the inspection of cylindrical objects such as bottles and continuous objects, and the appearance of other inspection objects.
The present invention relates to a defective product detection processing method for capturing an image with a camera such as a D camera and processing the image signal to determine the quality of an inspection target.

【0002】[0002]

【従来の技術】従来、カメラを用いる画像処理を利用し
た自動検査では、商品のラベル検査や、異品種混入検査
のほか、商品の欠落による一部損傷や形状的異常、キ
ズ、汚れ或いは異物付着などによる外観不良品を生産ラ
インから排除して品質管理をよくする目的で行われる
が、画像処理を利用した自動検査装置で連続物の検査や
ボトル等の円筒物の検査を行うには、検査対象がカメラ
の視野内に入ってから一画像フィールド処理終了毎にト
リガー信号(計測開始信号)を入力し、各判定結果を制
御機器等で総合判断させ一つの判断結果として出力を行
う方法が知られている。
2. Description of the Related Art Conventionally, in automatic inspection using image processing using a camera, in addition to product label inspection, inspection of different types of products, partial damage due to product loss, shape abnormality, scratches, dirt or foreign matter adhesion It is carried out for the purpose of removing quality defective products from the production line to improve quality control, but in order to inspect continuous objects and cylindrical objects such as bottles with an automatic inspection device that uses image processing, A method is known in which a trigger signal (measurement start signal) is input each time one image field processing is completed after the object enters the field of view of the camera, and each judgment result is comprehensively judged by the control device etc. and output as one judgment result. Has been.

【0003】[0003]

【発明が解決しようとする課題】一般に、生産ラインを
遅らせることがなく、しかも判定範囲を大巾に拡げるこ
とや検査の精度やスピードもより高いレベルのものが品
質管理上要請されているが、検査対象物の外観検査であ
るため、連続物やボトル等の検査は図3に示すように、
検体aの検出に一旦制御機器b等を介して処理を行う必
要があり、これら制御機器の付帯機器を自動検査装置c
に付加しなければならず、トリガー信号も制御機器bに
入力するため、制御機器bの処理時間が判定までに加算
されるほか、コストが高く、また1画像フィールド毎に
同期するトリガー信号を外部より入力することは容易で
はなく、処理時間もかかる難点があって、高精度にする
程、その傾向があって問題であった。本発明は、これら
従来の欠点を排除しようとするもので、画像処理を単純
2値化で処理を行い、画像処理の演算処理をも付帯機器
を使用せずに簡便で、かつ高能率に処理して著しく安価
で高速に判定ができ、判断ミスも容易に防止できる不良
品検査処理方法を提供することにある。
Generally, it is required in quality control that the production line is not delayed, the judgment range is widened, and the inspection accuracy and speed are higher. Since it is a visual inspection of the inspection object, inspection of continuous objects and bottles is performed as shown in FIG.
In order to detect the sample a, it is necessary to once perform processing through the control device b or the like.
Since the trigger signal is also input to the control device b, the processing time of the control device b is added before the determination, the cost is high, and the trigger signal synchronized with each image field is externally supplied. It is not easy to input more, and it takes a processing time, and the higher the accuracy, the more it tends to occur, which is a problem. The present invention is intended to eliminate these conventional drawbacks, and performs image processing by simple binarization, and the image processing operation processing is simple and highly efficient without the use of auxiliary equipment. Therefore, it is another object of the present invention to provide a defective product inspection processing method that can make judgments at extremely low cost at high speed and can easily prevent judgment errors.

【0004】[0004]

【課題を解決するための手段】本発明は、検査対象物の
画像入力を行なうカメラからの画像データを取り込み、
メモリーに記録する画像処理部によって、画像信号にリ
アルタイム演算処理を施し、画像を単純2値化して画像
処理するのに、検査対象物をカメラに対して相対移動さ
せて、画像処理の終了に同期させて、トリガー信号を入
力して処理する際に、一回のトリガー信号の入力で指定
回数の画像フィールドの処理計測を画像同期に合わせて
行い、最終フィールド計測終了時に検査対象物全体につ
いての総合判定出力を行わせることを特徴とする不良品
検出処理方法である。
The present invention takes in image data from a camera for inputting an image of an inspection object,
The image processing unit, which is recorded in the memory, performs real-time arithmetic processing on the image signal and simply binarizes the image for image processing. The inspection target is moved relative to the camera and synchronized with the end of image processing. Then, when the trigger signal is input and processed, the processing measurement of the image field of the specified number of times is performed in synchronization with the image synchronization by the input of the trigger signal once, and at the end of the final field measurement, the total inspection object is comprehensively measured. It is a defective product detection processing method characterized by causing a determination output.

【0005】[0005]

【作用】検査対象物例えば、ラベル貼着ボトルをカメラ
によって撮影した画像データを取り込み、メモリーに記
録する画像処理部によって、画像信号にリアルタイム演
算処理を施し、画像を単純2値化して画像処理するのに
検査対象物をカメラに対して相対移動させて、画像処理
の終了に同期させて、自動検査装置にトリガー信号を入
力して処理する。そして、自動検査装置への一回のトリ
ガー信号の入力で指定回数の画像フィールドの処理計測
を画像同期に合わせて行い、最終フィールド計測終了時
に検査対象物全体についての総合判定出力することで付
帯機器を用いず、高速で実用的な自動検査を行うことが
できる。
The object to be inspected, for example, the image data obtained by capturing the image data of the label-attached bottle with the camera and recording it in the memory is subjected to real-time arithmetic processing on the image signal, and the image is simply binarized for image processing. In addition, the inspection object is moved relative to the camera, and in synchronization with the end of the image processing, a trigger signal is input to the automatic inspection device for processing. Then, by inputting a single trigger signal to the automatic inspection device, the processing measurement of the image field for the specified number of times is performed in synchronization with the image synchronization, and at the end of the final field measurement, a comprehensive judgment output of the entire inspection object is output and incidental equipment. It is possible to perform high-speed and practical automatic inspection without using.

【0006】[0006]

【実施例】本発明の実施例を図1及び図2の例で説明す
ると、検査対象物、例えばラベル貼着ボトル1の商品検
査の例では、該商品をCCDカメラ2で画像として取り
込み、その画像信号を画像処理部3によって、即ち、ル
ックアップテーブル15,16により任意の階調の多値
映像を2値画像にし、カウンタ17,18に記憶させ、
コントロールバス13を通じてマイクロプロセッサー1
4によってリアルタイム演算処理を施し、画像を単純2
値化して画像処理すると共に、自動検査装置4にトリガ
ー信号を入力する場合に、前記ボトル1をカメラ2に対
して相対移動させて、画像処理の終了に同期させて、画
像処理の終了に同期させてトリガー信号を入力して処理
するもので、該自動検査装置4において、一回のトリガ
ー信号の入力で指定回数の画像フィールドの処理計測を
画像同期に合わせて行い、最終フィールド計測終了時に
検査対象物全体についての総合判定出力を行わせ、前記
ボトル1の良否を検出するようにしてある。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The embodiment of the present invention will be described with reference to the examples of FIGS. 1 and 2. In the example of the product inspection of an inspection object, for example, the label-attached bottle 1, the product is captured by the CCD camera 2 as an image, The image signal is converted into a binary image by the image processing unit 3, that is, by the look-up tables 15 and 16, and the binary image is stored in the counters 17 and 18,
Microprocessor 1 through control bus 13
Real-time arithmetic processing is performed by 4, and the image is simple 2
When the trigger signal is input to the automatic inspection device 4 as well as the image processing by digitizing, the bottle 1 is relatively moved with respect to the camera 2, synchronized with the end of the image processing, and synchronized with the end of the image processing. Then, the trigger signal is input and processed, and in the automatic inspection device 4, the processing measurement of the image field of the specified number of times is performed in synchronization with the image by the input of the trigger signal once, and the inspection is performed at the end of the final field measurement. The overall judgment output for the entire object is performed, and the quality of the bottle 1 is detected.

【0007】この場合、前記画像処理部3としては、リ
アルタイム演算処理部を備え、検体を個別に設定された
ルックアップテーブル15,16及び判定基準を持つ複
数のウインドウ記憶部5,6で同一画面上で検査できる
ようにしてもよく、また、シャッタカメラが使用できる
ので、検査ワークを停止させないで検査ができるように
してある。
In this case, the image processing unit 3 is provided with a real-time arithmetic processing unit, and lookup tables 15 and 16 in which specimens are individually set and a plurality of window storage units 5 and 6 having judgment criteria are used for the same screen. The above inspection may be performed, and since the shutter camera can be used, the inspection work can be performed without stopping.

【0008】即ち、同期発生部9により発生された同期
でカメラコントロール8により制御されるカメラ2,2
より入力されたアナログ映像をA/D変換器10,11
によりデジタルの多値画像に変換し、ルックアップテー
ブル15,16により任意の階調の多値映像を2値映像
にし、ウィンドウ記憶部5,6に設定操作部12により
操作し、記憶された任意形状のウィンドウ内の面積値を
計測させ、カウンター17,18内に記憶する。この計
測されたカウンタデータはコントロールバス13を通じ
てマイクロプロセッサー14により、予め設定操作部4
により操作し設定されたもしくは自動設定された判定値
と演算比較されるようになっている。また、ルックアッ
プテーブル15により処理された映像をウィンドウ記憶
部5及びウィンドウ記憶部6に対して同時に計測され、
コントロールバス13を通じてマイクロプロセッサー1
4により、予め設定操作部12により操作し設定された
もしくは自動設定された判定値と演算比較される。各処
理段階の映像はフリーズ像メモリー21,22及び多値
画メモリー23を経てモニター8に任意に選択表示され
るほか、RAMカード19による設定データの迅速な変
更やRS−232Cによる上位コンピュータ20とのデ
ータ通信も活用できるようにしてある。
That is, the cameras 2 and 2 controlled by the camera control 8 with the synchronization generated by the synchronization generator 9.
The analog video input from the A / D converters 10, 11
Is converted into a digital multi-valued image by using the look-up tables 15 and 16, and a multi-valued image having an arbitrary gradation is converted into a binary image, which is operated by the setting operation unit 12 in the window storage units 5 and 6 and stored arbitrarily. The area value in the shape window is measured and stored in the counters 17 and 18. This measured counter data is set in advance by the microprocessor 14 through the control bus 13 to the setting operation unit 4
Is operated and compared with the judgment value set or automatically set. Further, the images processed by the lookup table 15 are simultaneously measured in the window storage unit 5 and the window storage unit 6,
Microprocessor 1 through control bus 13
4, the calculated value is compared with a determination value which is set by operating the setting operation unit 12 in advance or is automatically set. The images of each processing stage are arbitrarily selected and displayed on the monitor 8 via the freeze image memories 21 and 22 and the multi-valued image memory 23, and the setting data can be quickly changed by the RAM card 19 and the host computer 20 by RS-232C. The data communication of is also available.

【0009】さらに、前記自動検査装置4では、データ
設定操作部12を介してパーソナルコンピュータとのデ
ータ通信も可能で、検査対象物の位置補正機能を持たせ
てあり、角形ウインドウの他に自由形状のパターンの設
定ができ、パターン或いはウインドウの拡散,収縮,反
転処理もできるほか、RAMカード挿入部24を備えて
いて、設定データの保存と再生もでき迅速な品種切り替
えも出来るように、パターン認識部を含む画像処理部3
を構成してもよい。
Further, the automatic inspection apparatus 4 is capable of data communication with a personal computer through the data setting operation unit 12, has a function of correcting the position of the inspection object, and has a free shape in addition to the rectangular window. Pattern can be set, and the pattern or window can be diffused, shrunk, and inverted, and the RAM card insertion section 24 is provided, so that the setting data can be stored and played back, and pattern change can be performed quickly. Image processing unit 3 including parts
May be configured.

【0010】また、この画像処理部3には必要に応じ、
モニターケーブルを介してモニターTV7を接続して用
いて目視検査システムに役立たせることも配慮されてい
て、自動検査装置4には画像処理並びに指定回数の画像
フィールドの処理計測を行うようにしてもよいし、モニ
ター接続部25やデータ通信接続部26が備えられてい
る。
Further, the image processing unit 3 is provided with
It is also considered that the monitor TV 7 is connected to the monitor TV 7 through the monitor cable to be useful for the visual inspection system, and the automatic inspection device 4 may perform the image processing and the processing measurement of the image field of the specified number of times. However, a monitor connection section 25 and a data communication connection section 26 are provided.

【0011】[0011]

【発明の効果】本発明は、画像処理部によって、画像信
号にリアルタイム演算処理を施し、画像を単純2値化し
て画像処理するのに検査対象物をカメラに対して相対移
動させて、画像処理の終了に同期させて、トリガー信号
を入力して処理する際に、一回のトリガー信号の入力で
指定回数の画像フィールドの処理計測を画像同期に合わ
せて行い、最終フィールド計測終了時に検査対象物全体
についての総合判定出力を行わせることにより、不良品
検査において、特殊形状の検査対象物でも画像処理の演
算処理をも付帯機器を使用せずに簡便で、かつ高能率に
処理して著しく安価で高速に形状判定ができ、判断ミス
も容易に防止できるため、検査の高精度化に適し、応用
範囲も拡大できるし、信頼性も大巾に向上できるもので
ある。
According to the present invention, an image processing unit performs real-time arithmetic processing on an image signal and simply binarizes the image to perform image processing by moving an inspection object relative to a camera to perform image processing. When the trigger signal is input and processed in synchronization with the end of the, the processing measurement of the image field for the specified number of times is performed in synchronization with the image synchronization by inputting the trigger signal once, and the inspection object is measured at the end of the final field measurement. By performing comprehensive judgment output for the entire product, even in the case of defective product inspection, even specially inspected objects can be easily processed without using auxiliary equipment, and highly efficient processing is also extremely inexpensive. Since the shape determination can be performed at high speed and the determination error can be easily prevented, it is suitable for high precision inspection, the application range can be expanded, and the reliability can be greatly improved.

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

【図1】本発明の実施例を示す系統説明図である。FIG. 1 is a system explanatory view showing an embodiment of the present invention.

【図2】図1の例の自動検査装置の回路図である。FIG. 2 is a circuit diagram of the automatic inspection device of the example of FIG.

【図3】従来の検出法の関係説明図である。FIG. 3 is a diagram illustrating a relationship between conventional detection methods.

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

1 ボトル 2 カメラ 3 画像処理部 4 自動検査装置 5 ウィンドウ記憶部 6 ウィンドウ記憶部 7 モニターTV 8 カメラ制御部 12 データ入力操作部 13 コントロールバス 14 マイクロプロセッサー 15 ルックアップテーブル 16 ルックアップテーブル 17 カウンタ 18 カウンタ 1 bottle 2 camera 3 image processing unit 4 automatic inspection device 5 window storage unit 6 window storage unit 7 monitor TV 8 camera control unit 12 data input operation unit 13 control bus 14 microprocessor 15 lookup table 16 lookup table 17 counter 18 counter

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 検査対象物の画像入力を行なうカメラか
らの画像データを取り込み、メモリーに記録する画像処
理部によって、画像信号にリアルタイム演算処理を施
し、画像を単純2値化して画像処理するのに検査対象物
をカメラに対して相対移動させて、画像処理の終了に同
期させて、トリガー信号を入力して処理する際に、一回
のトリガー信号の入力で指定回数の画像フィールドの処
理計測を画像同期に合わせて行い、最終フィールド計測
終了時に検査対象物全体についての総合判定出力を行わ
せることを特徴とする不良品検出処理方法。
1. An image processing unit which takes in image data from a camera for inputting an image of an inspection object and records the image data in a memory, performs real-time arithmetic processing on the image signal, and simply binarizes the image to perform image processing. When the inspection target is moved relative to the camera and the trigger signal is input and processed in synchronization with the end of the image processing, the processing measurement of the image field is performed the specified number of times with one input of the trigger signal. Is performed in synchronization with image synchronization, and a comprehensive determination output for the entire inspection object is performed at the end of final field measurement.
JP18222893A 1993-06-29 1993-06-29 Method for detecting and processing Pending JPH0783856A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18222893A JPH0783856A (en) 1993-06-29 1993-06-29 Method for detecting and processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18222893A JPH0783856A (en) 1993-06-29 1993-06-29 Method for detecting and processing

Publications (1)

Publication Number Publication Date
JPH0783856A true JPH0783856A (en) 1995-03-31

Family

ID=16114590

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18222893A Pending JPH0783856A (en) 1993-06-29 1993-06-29 Method for detecting and processing

Country Status (1)

Country Link
JP (1) JPH0783856A (en)

Similar Documents

Publication Publication Date Title
KR20060060742A (en) Apparatus and method for automated web inspection
JPH0783851A (en) Method for detecting and processing defective
JPH0135295B2 (en)
JPH06229941A (en) Inspection apparatus for image
JPH0783856A (en) Method for detecting and processing
JP2710527B2 (en) Inspection equipment for periodic patterns
JPH08313454A (en) Image processing equipment
JPH04238592A (en) Automatic bundled bar steel tally device
JPH03291507A (en) Inspection instrument for cylindrical body
JPH0829357A (en) Appearance inspection device for automation line
JP2638121B2 (en) Surface defect inspection equipment
JPS6385432A (en) Inspecting method for linear defect
JP2756738B2 (en) Apparatus for visual inspection of semiconductor devices
JP2711643B2 (en) Apparatus and method for detecting surface flaw of inspection object
JPH0783836A (en) Method for detecting and processing defective
JP3412732B2 (en) Defect inspection method and apparatus
JPH0544982B2 (en)
JPH06100551B2 (en) Defect detection method
JPH052634A (en) Visual recognition device
JP2896140B2 (en) Foreign matter detection method in liquid
JPH0196540A (en) Method for detecting foreign matter in liquid
JP2000306093A (en) Method and device for examining appearance
JP2956230B2 (en) Surface defect inspection equipment
JPH03110453A (en) Label inspecting device
JPH0125104B2 (en)

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20010403