JP3054870B2 - Object recognition device - Google Patents

Object recognition device

Info

Publication number
JP3054870B2
JP3054870B2 JP1192313A JP19231389A JP3054870B2 JP 3054870 B2 JP3054870 B2 JP 3054870B2 JP 1192313 A JP1192313 A JP 1192313A JP 19231389 A JP19231389 A JP 19231389A JP 3054870 B2 JP3054870 B2 JP 3054870B2
Authority
JP
Japan
Prior art keywords
monitoring
data
initial setting
brightness information
monitoring area
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
Application number
JP1192313A
Other languages
Japanese (ja)
Other versions
JPH0355669A (en
Inventor
正治 渡辺
Original Assignee
シグマックス株式会社
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 シグマックス株式会社 filed Critical シグマックス株式会社
Priority to JP1192313A priority Critical patent/JP3054870B2/en
Publication of JPH0355669A publication Critical patent/JPH0355669A/en
Application granted granted Critical
Publication of JP3054870B2 publication Critical patent/JP3054870B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Geophysics And Detection Of Objects (AREA)
  • Moulds For Moulding Plastics Or The Like (AREA)
  • Injection Moulding Of Plastics Or The Like (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は物体認識装置に関し、特にビデオカメラから
得ることができるビデオ信号に基づいて認識対象となる
物体の有無、欠陥の有無などを検査する場合に適用して
好適なものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an object recognizing apparatus, and more particularly, to inspecting the presence or absence of an object to be recognized and the presence or absence of a defect based on a video signal obtained from a video camera. It is suitable to be applied to the case.

〔発明の概要〕[Summary of the Invention]

本発明は、テレビジヨンカメラを用いた物体認識装置
において、自動設定区画を構成する複数の初期設定範囲
から得たビデオ情報に基づいて認識対象の撮像時判定し
易い明るさ情報をもつ監視点を判定して当該監視点に監
視領域を自動的に初期設定するようにしたことにより、
オペレータに過大な負担を与えることなく実用上十分に
高い精度で監視領域を初期設定することができる。
The present invention relates to an object recognition apparatus using a television camera, wherein a monitoring point having brightness information that can be easily determined at the time of imaging of a recognition target based on video information obtained from a plurality of initial setting ranges forming an automatic setting section is provided. By judging and automatically initializing the monitoring area at the monitoring point,
The monitoring area can be initialized with a sufficiently high practical accuracy without imposing an excessive burden on the operator.

〔従来の技術〕[Conventional technology]

従来この種の物体認識装置として、例えば射出成形機
において射出成形サイクルにおける異常動作の発生の監
視や、プリント配線基板の製造工程における製品の検査
などにおいて、認識対象となる物体の映像、すなわち射
出成形機の場合金型及びその周囲の映像、プリント配線
基板の場合プリント配線基板上の映像などをテレビジヨ
ンカメラによつて撮像して第17図に示すような表示画面
PICを表すビデオ信号を得て当該ビデオ信号に所定の変
化が生じたか否かに基づいて物体の認識をするようにし
たものが提案されている(特開昭60−39581号)。
Conventionally, as an object recognition device of this type, for example, in an injection molding machine, monitoring of occurrence of abnormal operation in an injection molding cycle, and inspection of a product in a manufacturing process of a printed wiring board, an image of an object to be recognized, that is, injection molding. In the case of a machine, images of the mold and its surroundings, and in the case of a printed wiring board, images of the printed wiring board, etc., are captured by a television camera and displayed as shown in FIG.
There has been proposed a method in which a video signal representing a PIC is obtained and an object is recognized based on whether a predetermined change has occurred in the video signal (Japanese Patent Laid-Open No. 60-39581).

この場合テレビジヨンカメラから得られるビデオ信号
によつて表される表示画面PIC内の所定位置P1、P2……
に所定の大きさの監視領域K1、K2……を設定し、この監
視領域K1、K2……に相当するビデオ信号を積分すること
によつて所定の処理サイクルごとに監視領域K1、K2……
の輝度に関する監視情報を得、当該各処理サイクルにお
ける監視情報に予定しない変化が生じたとき認識対象に
異常が発生したと判定する。
In this case, predetermined positions P1, P2 in the display screen PIC represented by a video signal obtained from the television camera.
Are set to predetermined sizes, and by integrating video signals corresponding to the monitoring regions K1, K2,..., The monitoring regions K1, K2,.
The monitoring information regarding the luminance of the target is obtained, and when an unexpected change occurs in the monitoring information in each processing cycle, it is determined that an abnormality has occurred in the recognition target.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

ところが、このような物体認識装置によつて物体の有
無や欠陥の有無などを認識しようとする場合、表示画面
PIC上の監視領域K1、K2……が設定されている座標位置P
1(x1、y1)、P2(x2、y2)……の設定が適切でない場
合には、認識結果に誤判定を生ずるおそれがある。
However, when trying to recognize the presence or absence of an object or the presence of a defect using such an object recognition device, the display screen
The coordinate position P where the monitoring area K1, K2 ... on the PIC is set
If the settings of 1 (x 1 , y 1 ), P2 (x 2 , y 2 ) are not appropriate, erroneous determination may occur in the recognition result.

例えばプリント配線基板の検査をする場合には第18図
に示すように、認識対象となるプリント配線基板1の表
面と正対するようにテレビジヨンカメラ2を配置し、そ
の視野FILDによつて決まる所定位置に位置決めしたプリ
ント配線基板1を撮像してビデオ信号VDを得るようにな
されている。このような場合にプリント配線基板1上に
正規の部品が正しくマウントされているか否かを判定し
ようとするとき、判定結果の誤り率をできるだけ低減す
るためには監視すべき部品の映像のうち「判定し易い明
るさ情報をもつ映像部分」、すなわち最も明るい映像部
分、又は最も暗い映像部分に監視領域K1、K2……を設定
すれば良いと考えられる。
For example, when inspecting a printed wiring board, as shown in FIG. 18, the television camera 2 is arranged so as to face the surface of the printed wiring board 1 to be recognized, and a predetermined camera is determined by the field of view FILD. The video signal VD is obtained by imaging the printed wiring board 1 positioned at the position. In such a case, when trying to determine whether or not a legitimate component is correctly mounted on the printed wiring board 1, in order to reduce the error rate of the determination result as much as possible, it is necessary to select " It is conceivable that the monitoring areas K1, K2,... Should be set in the video portion having brightness information that is easy to determine, that is, the brightest video portion or the darkest video portion.

因に最も明るい映像部分又は最も暗い映像部分に監視
領域K1、K2……を設定すれば、当該監視対象となる部品
が欠落するような異常が生じている場合には、監視領域
K1、K2……の明るさが最も明るい輝度又は最も暗い輝度
から通常は中程度の明るさをもつ絶縁基板の輝度に変化
するので、当該輝度の差を判定し易いのに対して、中程
度の明るさをもつ映像部分に監視領域K1、K2……を設定
した場合には、部品が欠落しても輝度が中程度から中程
度への変化するに過ぎないために、異常の判定に誤りを
生ずる確率が大きくなる。
However, if the monitoring areas K1, K2,... Are set in the brightest or darkest video area, and if an abnormality such as the missing of the part to be monitored occurs, the monitoring area
Since the brightness of K1, K2... Changes from the brightest brightness or the darkest brightness to the brightness of an insulating substrate having a normal brightness, it is easy to determine the difference in brightness. If the monitoring area K1, K2 ... is set in the video part with the brightness of, the luminance will only change from medium to medium even if the part is missing, so the judgment of the abnormality is incorrect. Is more likely to occur.

また射出成形機監視装置に適用される物体認識装置に
おいては、第19図に示すように、可動側型5がホルダ6
と共に型開状態に移動したとき、その可動側型5及びそ
の周囲の映像を視野FILD内に撮像できるようにするため
固体側型8のホルダ9上に固定した取付台10にテレビジ
ヨンカメラ11を装着して可動側型5及びその周囲を斜め
上方から撮像するようになされている。
In the object recognition device applied to the injection molding machine monitoring device, as shown in FIG.
Together with the movable mold 5, the television camera 11 is mounted on a mount 10 fixed on the holder 9 of the solid mold 8 so that images of the movable mold 5 and its surroundings can be captured in the field of view FILD. The movable side mold 5 and its surroundings are imaged from obliquely above when mounted.

このようにする場合、監視領域K1、K2……を設定する
につき、突出前の映像と突出後の映像との関係において
最も明るさの変化が大きい映像部分を「判定し易い明る
さ情報をもつ映像部分」としてこの映像部分に監視領域
K1、K2……を設定すれば、判定の誤り率を低減すること
ができる。
In this case, when setting the monitoring areas K1, K2,..., The video portion having the largest change in brightness in the relationship between the video before projection and the video after projection has “brightness information that is easy to determine. The video area "
If K1, K2,... Are set, the error rate of the determination can be reduced.

因に射出成形製品が突出工程において金型から正しく
突き落とされたか否かを監視する場合、射出成形製品の
うち突出前の明るさが明るい(又は暗い)位置に監視領
域K1、K2……を設定した場合、突出後の映像が暗くなる
(又は明るくなる)ような変化を生ずれば、当該変化を
正しく判定できる確率が高くなる。
When monitoring whether or not the injection-molded product has been correctly ejected from the mold in the protruding process, the monitoring areas K1, K2,... Are set at positions where the brightness of the injection-molded product before projection is bright (or dark). In this case, if a change occurs in which the projected image becomes dark (or bright), the probability that the change can be correctly determined increases.

これに対して突出後の映像の明るさとほぼ同程度の明
るさをもつ映像部分に監視領域K1、K2……を設定する
と、突出前及び突出後の監視領域K1、K2……の明るさの
差が小さいために、誤判定をする確率が大きくなる。
On the other hand, if the monitoring areas K1, K2,... Are set in an image portion having substantially the same brightness as the projected image, the brightness of the monitoring areas K1, K2,. Since the difference is small, the probability of erroneous determination increases.

このようにこの種の物体認識装置においては、監視領
域K1、K2……をできるだけ適切な位置に設定できるか否
かは判定結果の誤り率に重大な影響を与える条件の1つ
と考えられており、従来はオペレータが監視動作に入る
前に監視しようとする標準製品(これをマスタと呼ぶ)
についての映像をモニタ上に表示し、当該モニタ上の映
像を見ながら最適と考えられる映像位置を選定して監視
領域K1、K2……を手動で設定するようになされている。
As described above, in this type of object recognition apparatus, it is considered that whether or not the monitoring areas K1, K2,... Can be set at appropriate positions as much as possible is one of the conditions that significantly affects the error rate of the determination result. , A standard product that is conventionally monitored by an operator before the monitoring operation is started (this is called a master)
Are displayed on a monitor, and an image position considered to be optimal is selected while watching the image on the monitor, and the monitoring areas K1, K2,... Are manually set.

ところがこのようにして監視領域を人手によつて設定
しようとする場合、実際上設定作業が極めて煩雑になる
ことを避け得ない。
However, when trying to set the monitoring area manually, it is unavoidable that the setting operation becomes extremely complicated in practice.

例えばプリント配線基板上のマウント部品点数が多い
場合には、監視領域の設定作業はオペレータにとつて過
大な負担になる。
For example, when the number of mount components on the printed wiring board is large, the operation of setting the monitoring area places an excessive burden on the operator.

また射出成形機監視装置の場合、射出成形製品の明る
さが中間レベルの場合にはその中でも最も判定誤り率が
少ない映像位置を人手によつて選定することは困難な場
合が多い。
In addition, in the case of an injection molding machine monitoring apparatus, it is often difficult to manually select an image position having the lowest determination error rate among the cases where the brightness of an injection molded product is at an intermediate level.

本発明は以上の点を考慮してなされたもので、監視領
域を実用上十分に高い判定精度を得ることができるよう
な位置に自動的に初期設定し得るようにした物体認識装
置を提案しようとするものである。
The present invention has been made in view of the above points, and will propose an object recognition device that can automatically and initially set a monitoring area to a position where practically sufficiently high determination accuracy can be obtained. It is assumed that.

〔問題点を解決するための手段〕[Means for solving the problem]

かかる問題点を解決するため第1の発明においては、
テレビジヨンカメラ16によつて認識対象を撮像すること
により得られるビデオ信号VDが表す表示画面PIC上の所
定の監視位置に監視領域K1、K2……を設定し、当該監視
領域K1、K2……から得られる明るさ情報DWCHの変化を監
視することにより認識対象が正常か否かを判定する物体
認識装置において、表示画面PICにマスタを表示した状
態において、表示画面PIC上に、複数の初期設定範囲SET
を有する、自動設定区画SEC11〜SEC34、SEC41及びSEC42
を設定し、表示画面にマスタを表示した状態において自
動設定区画SEC11〜SEC34、SEC41及びSEC2に含まれる複
数の初期設定範囲SETについての明るさ情報DWCHをそれ
ぞれ求め、当該求めた明るさ情報DWCHのうち正常か否か
を判定し易い明るさ情報をもつ初期設定範囲SETの1つ
又は複数の代表初期設定範囲SETPRに決定し、代表初期
設定範囲SETPRに監視領域K1、K2……を設定し、マスタ
について設定した監視領域K1、K2……を用いて認識対象
に対する判定処理をするようにする。
In order to solve such a problem, in the first invention,
The monitoring areas K1, K2,... Are set at predetermined monitoring positions on the display screen PIC represented by the video signal VD obtained by imaging the recognition target by the television camera 16, and the monitoring areas K1, K2,. In the object recognition device that determines whether or not the recognition target is normal by monitoring the change in the brightness information DWCH obtained from the display, when the master is displayed on the display screen PIC, a plurality of initial settings are displayed on the display screen PIC. Range SET
SEC11 to SEC34, SEC41 and SEC42 with automatic setting
In the state where the master is displayed on the display screen, the brightness information DWCH for each of the plurality of initial setting ranges SET included in the automatic setting sections SEC11 to SEC34, SEC41 and SEC2 is obtained, and the obtained brightness information DWCH is obtained. One or a plurality of representative initial setting ranges SET PR of the initial setting range SET having brightness information that makes it easy to determine whether or not it is normal is determined, and the monitoring areas K1, K2,... Are set in the representative initial setting range SET PR. Then, the determination processing for the recognition target is performed using the monitoring areas K1, K2,... Set for the master.

また第2の発明においては、第1の発明に加えて、代
表初期設定範囲SETPRに含まれるサンプル点を監視位置
として監視領域K1、K2……を順次設定してそれぞれ第2
の明るさ情報を求め、各サンプル点のうち第2の明るさ
情報のうち正常か否かを判定し易い明るさ情報をもつサ
ンプル点を監視領域K1、K2……の初期設定位置として決
定するようにする。
In the second invention, in addition to the first aspect, the representative initialization range SET monitored as the monitoring position sample points included in the PR area K1, K2 respectively ...... sequentially setting the second
Are determined as the initial setting positions of the monitoring areas K1, K2,... Among the sample points having the brightness information which makes it easy to determine whether or not the second brightness information is normal. To do.

〔作用〕[Action]

第1の発明において、代表初期設定範囲SETPRは各自
動設定区画SEC11〜SEC34、SEC41及びSEC42の中でも最も
判定し易い明るさ情報をもつており、従つて判定結果の
誤り率を低減し得、かくするにつき監視領域K1、K2……
の初期設定をオペレータに負担をかけないようにでき
る。
In the first invention, the representative initial setting range SET PR has brightness information that is most easily determined among the automatic setting sections SEC11 to SEC34, SEC41 and SEC42, and thus can reduce the error rate of the determination result, The monitoring area K1, K2 ...
The initial setting can be performed without burdening the operator.

また第2の発明において、代表初期設定範囲SETPR
中でも最も判定し易い明るさ情報をもつている監視位置
に監視領域K1、K2……を設定できることにより、この分
判定結果の誤り率をさらに一段に低減し得る。
Further, in the second invention, the monitoring areas K1, K2,... Can be set at the monitoring positions having the brightness information most easily determined in the representative initial setting range SET PR , so that the error rate of the determination result is further reduced. It can be further reduced.

〔実施例〕〔Example〕

以下図面について、本発明の一実施例を詳述する。 An embodiment of the present invention will be described below in detail with reference to the drawings.

〔1〕第1実施例の全体構成 第1図において、14は全体として物体認識装置を示
し、第19図について上述した射出成形機本体15の監視に
適用されている。テレビジヨンカメラ16は視野FILDにあ
る可動側型及びその周辺を撮像して得たビデオ信号VDを
出力し、このビデオ信号VDをCPU17の制御の下にビデオ
データ入力回路18においてビデオデータDATAに変換して
認識情報メモリ19に取り込ませる。
[1] Overall Configuration of First Embodiment In FIG. 1, reference numeral 14 denotes an object recognition apparatus as a whole, which is applied to monitoring of the injection molding machine main body 15 described above with reference to FIG. The television camera 16 outputs a video signal VD obtained by imaging the movable type and its surroundings in the field of view FILD, and converts this video signal VD into video data DATA in the video data input circuit 18 under the control of the CPU 17. And store it in the recognition information memory 19.

CPU17はプログラムメモリ20に格納されているプログ
ラムに基づいて操作入力部21からバス22を介してオペレ
ータによつて入力された指令情報に応じてレジスタ部23
を利用しながら物体認識情報のデータ処理を実行する。
The CPU 17 registers the register unit 23 according to command information input by the operator from the operation input unit 21 via the bus 22 based on the program stored in the program memory 20.
To perform data processing of the object recognition information.

この実施例の場合CPU17は、同期分離回路部25によつ
てビデオ信号VDから分離された同期信号を受け、アナロ
グ/デイジタル変換回路構成のビデオデータ入力回路18
においてビデオ信号VDをサンプリングした後ビデオデー
タDATAに変換して認識情報メモリ19の対応するメモリエ
リアに取り込むようになされている。
In this embodiment, the CPU 17 receives the synchronization signal separated from the video signal VD by the synchronization separation circuit unit 25, and receives a video data input circuit 18 having an analog / digital conversion circuit configuration.
After the video signal VD is sampled, the video signal VD is converted into video data DATA and taken into a corresponding memory area of the recognition information memory 19.

CPU17は制御信号入出力回路部27を介して射出成形機
本体15との間に制御信号CONTを受け渡し、かくして射出
成形機本体15が射出成形サイクルの各工程を実行して行
くのに応動して対応するデータ処理を実行し得るように
なされている。
The CPU 17 transfers the control signal CONT to and from the injection molding machine main body 15 via the control signal input / output circuit section 27, and in response to the execution of each step of the injection molding cycle by the injection molding machine main body 15, Corresponding data processing can be performed.

テレビジヨンカメラ16から得られるビデオ信号VDは合
成回路部31を介してモニタ32に供給され、これにより第
3図に示すように、表示画面PIC上に視野FILDに対応す
る映像を表示する。
The video signal VD obtained from the television camera 16 is supplied to the monitor 32 via the synthesizing circuit 31, and thereby, as shown in FIG. 3, an image corresponding to the field of view FILD is displayed on the display screen PIC.

これと共にCPU17は監視領域K1、K2……を表す監視領
域表示データKDISをグラフイツク表示制御部33に与える
ことにより、監視領域表示信号VDKを合成回路部31に供
給し、これによりモニタ32の表示画面PIC上に視野FILD
の映像に対して監視領域K1、K2……をスーパーインポー
ズ表示させるようになされている。
At the same time, the CPU 17 supplies monitoring area display data KDIS representing the monitoring areas K1, K2,... To the graphic display control section 33, thereby supplying the monitoring area display signal VDK to the synthesizing circuit section 31, and thereby the display screen of the monitor 32. Field of view FILD on PIC
Are superimposed and displayed in the monitoring areas K1, K2,.

この実施例の場合CPU17は、レジスタ部23(第2図)
のマーク位置指定データレジスタREG2のマーク位置指定
データD2と、マーク形状指定データレジスタREG1のマー
ク形状指定データD1とによつて監視領域K1、K2……にお
いて使用すべきマーク形状及び監視位置P1(x1、y1)、
P2(x2、y2)……を表すデータを監視領域表示データKD
ISとしてグラフイツク表示制御部33に与え、グラフイツ
ク表示制御部33は当該監視領域表示データKDISに対応す
るタイミングで表示画面PICの輝度を高くするような映
像信号でなる監視領域表示信号VDKを発生する。
In the case of this embodiment, the CPU 17 includes a register 23 (FIG. 2).
The mark shape and the monitoring position P1 (x) to be used in the monitoring areas K1, K2,... By the mark position specifying data D2 of the mark position specifying data register REG2 and the mark shape specifying data D1 of the mark shape specifying data register REG1. 1, y 1),
P2 (x 2, y 2) data representing ...... monitor region display data KD
This is given to the graphic display control unit 33 as IS, and the graphic display control unit 33 generates a monitoring area display signal VDK composed of a video signal that increases the brightness of the display screen PIC at a timing corresponding to the monitoring area display data KDIS.

またこの実施例の場合監視領域K1、K2……のマーク形
状として外形形状及び大きさが異なる複数のマークデー
タが用意され、オペレータがその1つを操作入力部21を
介して指定したとき当該指定データマーク形状指定デー
タD1として格納できるようになされている。
In this embodiment, a plurality of mark data having different outer shapes and sizes are prepared as mark shapes of the monitoring areas K1, K2,..., And when the operator designates one of them through the operation input unit 21, the designation is made. It can be stored as data mark shape designation data D1.

CPU17は監視領域K1、K2……における明るさ情報を認
識情報メモリ19に取り込まれたビデオデータDATAに基づ
いて監視データ形成部35において形成させる。
The CPU 17 causes the monitoring data forming unit 35 to form brightness information in the monitoring areas K1, K2,... Based on the video data DATA loaded into the recognition information memory 19.

認識情報メモリ19は射出成形機本体15が型開後突出前
の状態になつたタイミングで得られるビデオデータDATA
を取り込む第1のフレームメモリ19Aと、続いて突出後
のタイミングで得られるビデオデータDATAを取り込む第
2のフレームメモリ19Bとを有し、CPU17は第1及び第2
のフレームメモリ19A及び19Bに格納されているビデオデ
ータDATAのうちレジスタ部23(第2図)のマーク位置デ
ータレジスタREG3のマーク位置データD3と、マーク形状
指定データレジスタREG1のマーク形状指定データD1とに
よつて決まる監視領域K1、K2……に相当するデータを監
視データ形成部35のシフタ35A及び積分器35Bにおいて積
分し、これを監視データDWCHとしてレジスタ部23(第2
図)の型開後突出前監視データレジスタREG5及び突出後
監視データレジスタREG6にそれぞれ型開後突出前監視デ
ータD5及び突出後監視データD6として格納する。
The recognition information memory 19 stores video data DATA obtained at a timing when the injection molding machine main body 15 is in a state before the mold is opened and before the ejection.
And a second frame memory 19B for taking in video data DATA obtained at a timing after the projection, and the CPU 17 comprises a first and a second memory 19B.
Of the video data DATA stored in the frame memories 19A and 19B, the mark position data D3 of the mark position data register REG3 of the register unit 23 (FIG. 2) and the mark shape designation data D1 of the mark shape designation data register REG1. Are determined by the shifter 35A and the integrator 35B of the monitoring data forming unit 35, and are integrated as monitoring data DWCH in the register unit 23 (the second unit).
In the figure, the post-molding pre-projection monitoring data register REG5 and the post-projection monitoring data register REG6 are stored as post-molding pre-projection monitoring data D5 and post-projection monitoring data D6, respectively.

かくして射出成形機本体15が正常な突出動作をしたと
き各監視点における監視データDWCHの値が判定基準値デ
ータレジスタREG4(第2図)に格納されている判定基準
値データD4でなる判定レベルを横切るように変化するの
に対して、射出成形製品が突き落とされずに残つた場合
には監視データDWCHの値が判定基準値データD4でなる判
定レベルを横切るような変化をしないことにより、射出
成形機本体15が正常に射出成形製品の突落し動作をした
か否かを判定できるようになされている。
Thus, when the injection molding machine body 15 performs a normal projecting operation, the value of the monitoring data DWCH at each monitoring point is determined by the determination reference value data D4 stored in the determination reference value data register REG4 (FIG. 2). When the injection-molded product remains without being pushed down, the value of the monitoring data DWCH does not change so as to cross the judgment level defined by the judgment reference value data D4. It can be determined whether or not the main body 15 has normally moved down the injection molded product.

CPU17は判定基準値データD4として、過去複数回の型
開後突出前監視データD5及び突出後監視データD6に基づ
いて、その中間値すなわち を演算によつて求めてレジスタ部23の判定基準値データ
レジスタREG4に格納するようになされている。
Based on the monitoring data D5 and post-projection monitoring data D5 before and after the mold opening multiple times in the past as the determination reference value data D4, Is obtained by calculation and stored in the criterion value data register REG4 of the register unit 23.

〔2〕監視領域の初期設定 CPU17は、第4図及び第5図に示す明るさ情報処理動
作原理に基づいて、表示画面PICに予め標準製品(すな
わちマスタ)の映像を表示している状態において、監視
領域Kj(j=1、2……)を最適位置に自動的に初期設
定する。
[2] Initial setting of the monitoring area The CPU 17 displays the image of the standard product (that is, the master) on the display screen PIC in advance based on the brightness information processing operation principle shown in FIG. 4 and FIG. , The monitoring area Kj (j = 1, 2,...) Is automatically initialized to the optimum position.

すなわち表示画面PICは、第4図に示すようにx方向
及びy方向にそれぞれ4区画及び3区画ずつ、合計4×
3=12区画分の自動設定区画SEC11〜SEC34に格子状に区
分けされる。各自動設定区画SEC11〜SEC34はそれぞれx
方向及びy方向に3×3=9個分の初期設定範囲SETを
格子状に配列してなり、各初期設定範囲SETは第5図に
示すように、x方向及びy方向に5×5=25個の画素の
輝度を表すサンプルビデオデータを配列してなる。
That is, as shown in FIG. 4, the display screen PIC has 4 sections and 3 sections in the x and y directions, respectively, for a total of 4 ×
3 = 12 sections are automatically set and divided into grids into sections SEC11 to SEC34. Each of the automatic setting sections SEC11 to SEC34 is x
The initial setting ranges SET of 3 × 3 = 9 are arranged in a grid pattern in the direction and the y direction. As shown in FIG. 5, each initial setting range SET has 5 × 5 = 9 in the x direction and the y direction. Sample video data representing the luminance of 25 pixels is arranged.

CPU17は監視領域初期設定モード時、自動設定区画SEC
11、SEC12……SEC34にそれぞれ含まれている9個の初期
設定範囲SETについて、各初期設定範囲SETに含まれるサ
ンプルビデオデータを積分することにより初期設定範囲
SETの積分輝度データでなる初期設定範囲明るさ情報
を、射出成形機本体15の突出前のタイミング及び突出後
のタイミングについて求め、この突出前及び突出後の初
期設定範囲明るさ情報の偏差が最大になる(従つて最も
判定し易い明るさ情報をもつている)初期設定範囲SET
を自動設定区画SEC11、SEC12……SEC34をそれぞれ代表
する初期設定範囲、すなわち代表初期設定範囲SET
PR(第4図において斜線を付して示す)として決定す
る。
In the monitoring area initial setting mode, CPU17 automatically sets SEC
11, SEC12 …… Initial setting range by integrating sample video data included in each initial setting range SET for each of the nine initial setting ranges SET included in SEC34.
Initial setting range brightness information, which is the integrated luminance data of SET, is obtained for the timing before the protrusion of the injection molding machine main body 15 and the timing after the protrusion, and the deviation of the initial setting range brightness information before and after the protrusion is maximized. (Therefore, it has the brightness information that is most easily determined.) Initial setting range SET
The initial setting range that represents each of the automatic setting sections SEC11, SEC12... SEC34, that is, the representative initial setting range SET
PR (shown by hatching in FIG. 4).

かくして第1段階の明るさ情報の処理が終了し、CPU1
7は続いて第2段階の明るさ情報処理として当該代表初
期設定範囲SETPRの中から最も判定し易い明るさ情報を
もつ最適な監視位置を決定する。
Thus, the first stage of the brightness information processing is completed, and the CPU 1
Next, as the brightness information processing of the second stage, the optimal monitoring position having the brightness information that is most easily determined is determined from the representative initial setting range SET PR .

すなわちCPU17は第5図に示すように、代表初期設定
範囲SETPRを構成する5×5=25個の画素の位置(x=
t、y=u)、(x=t+1、y=u)……(x=t+
4、y=u+4)に監視領域Kjを設定したとき当該監視
領域Kjのマーク形状の範囲に入るサンプルビデオデータ
(この実施例の場合3×3=9個のサンプルビデオデー
タ)を積分した値に演算することにより監視領域明るさ
情報を形成し、各サンプル点において突出前及び突出後
の監視領域明るさ情報の偏差が最大になる(従つて最も
判定し易い明るさ情報をもつている)サンプル点を当該
代表初期設定範囲SETPRの最適設定位置として決定し、
これをマーク位置指定データD2としてレジスタ部23のマ
ーク位置指定データレジスタREG2に格納する。
That is, as shown in FIG. 5, the CPU 17 determines the positions (x = 5) of 5 × 5 = 25 pixels constituting the representative initial setting range SET PR.
t, y = u), (x = t + 1, y = u) (x = t +
4, when y = u + 4) is set to a value obtained by integrating sample video data (3 × 3 = 9 pieces of sample video data in this embodiment) which fall within the range of the mark shape of the monitoring area Kj. The monitor area brightness information is formed by the operation, and the sample in which the deviation of the monitor area brightness information before and after the projection is maximized at each sample point (therefore, the sample has the brightness information that is most easily determined). The point is determined as the optimal setting position of the representative initial setting range SET PR ,
This is stored in the mark position designation data register REG2 of the register unit 23 as the mark position designation data D2.

この実施例の場合認識情報メモリ19(第1図)の第1
及び第2フレームメモリ19A及び19Bにはx方向のサンプ
リング点及びy方向のサンプリング点の交点をアドレス
とする突出前及び突出後の各サンプル点のサンプルビデ
オデータDATAが格納され、CPU17はこのサンプルビデオ
データを用いて上述の第1段階及び第2段階の明るさ情
報の処理を実行する。
In the case of this embodiment, the first of the recognition information memories 19 (FIG. 1)
And the second frame memories 19A and 19B store sample video data DATA of each sample point before and after the projection with the intersection of the sampling point in the x direction and the sampling point in the y direction as an address. The first and second steps of the processing of the brightness information are executed using the data.

また監視領域Kj(j=1、2……)の位置はマーク形
状の左上隅の点(第5図の場合、サンプル点Qjtu(x=
t、y=u))のアドレスを指定することにより位置決
めでき、当該左上隅の点を基準にしてマーク形状の範囲
に入るサンプル点のビデオデータを積分した値を当該監
視領域Kj(j=1、2……)の明るさを表す監視領域明
るさ情報でなる監視データDWCHとしてレジスタ部23の型
開後突出前監視データレジスタREG5及び突出後監視デー
タレジスタREG6にそれぞれ型開後突出前監視データ(こ
れを第1の監視データと呼ぶ)D5及び突出後監視データ
(これを第2の監視データと呼ぶ)D6として格納するよ
うになされている。
The position of the monitoring area Kj (j = 1, 2,...) Is a point at the upper left corner of the mark shape (in FIG. 5, the sample point Qj tu (x =
t, y = u)), and a value obtained by integrating video data of sample points falling within the range of the mark shape with reference to the upper left corner point is used as the monitoring area Kj (j = 1). , 2...) As the monitoring data DWCH, which is the monitoring area brightness information before and after the mold opening in the register unit 23 and the post-projection monitoring data register REG6 in the register unit 23 as the monitoring data DWCH. This is stored as D5 (referred to as first monitoring data) and post-projection monitoring data (referred to as second monitoring data) D6.

このようにしてオペレータが予め標準製品(すなわち
マスタ)について監視領域Kjの監視位置Qjtuを初期設定
したとき、その後各射出成型サイクルにおいて射出成型
製品を製造する際に全く同一の映像がビデオデータDATA
とて取り込まれてくれば、CPU17は監視位置Qjtuを基準
にして監視領域Kjについて積分して求めた監視領域明る
さ情報を適正な第1及び第2の監視データD5及びD6とし
てレジスタ部23に取り込むことができる。
In this way, when the operator previously sets the monitoring position Qj tu of the monitoring area Kj for the standard product (that is, the master) in advance, when the injection molding product is manufactured in each injection molding cycle, exactly the same image is displayed in the video data DATA.
Then, the CPU 17 integrates the monitoring area brightness information obtained by integrating the monitoring area Kj with reference to the monitoring position Qj tu as appropriate first and second monitoring data D5 and D6 in the register unit 23. Can be captured.

物体認識装置14は以上のようにしてマスタについて監
視領域K1、K2……を自動設定した後射出成型機本体15の
各射出成型サイクルについて第6図に示すような処理手
順に従つて物体認識処理を実行する。
After automatically setting the monitoring areas K1, K2,... For the master as described above, the object recognition processing is performed for each injection molding cycle of the injection molding machine main body 15 in accordance with the processing procedure shown in FIG. Execute

〔3〕物体認識処理 CPU17は第6図のステツプSP1から物体認識処理動作に
入ると、射出成型機本体15にマスタを設定した状態にお
いて、ステツプSP2においてオペレータが操作入力部21
からマーク形状指定データD1を入力操作するのを待ち受
け、当該入力操作がされたとき入力データをマーク形状
指定データレジスタREG1に取り込む。
[3] Object Recognition Processing When the CPU 17 enters the object recognition processing operation from step SP1 in FIG. 6, in a state where the master is set in the injection molding machine main body 15, the operator at step SP2 operates the operation input section 21.
Waits for the input operation of the mark shape designation data D1 from, and when the input operation is performed, the input data is taken into the mark shape designation data register REG1.

続いてCPU17はステツプSP3において認識情報メモリ19
の第1のフレームメモリ19Aに取り込まれている型開後
突出前のサンプルビデオデータと、第2のフレームメモ
リ19Bに取り込まれている突出後のサンプルビデオデー
タとに基づいて、監視データ形成部35においてすべての
自動設定区画SEC11〜SEC34(第4図)における初期設定
範囲SETの積分データを求めると共に、当該積分データ
の偏差が最も大きい初期設定範囲SETを代表初期設定範
囲SETPRとして決定する。
Subsequently, the CPU 17 executes the recognition information memory 19 in step SP3.
The monitoring data forming unit 35 is based on the sample video data before projection after the mold opening captured in the first frame memory 19A and the sample video data after projection captured in the second frame memory 19B. , The integral data of the initial setting range SET in all the automatic setting sections SEC11 to SEC34 (FIG. 4) is obtained, and the initial setting range SET having the largest deviation of the integral data is determined as the representative initial setting range SET PR .

かくして表示画面PIC(第4図)上に形成された12個
の自動設定区画SEC11〜SEC34について、それぞれ1つの
代表初期設定範囲SETPRが決定されるが、CPU17は次のス
テツプSP4において各代表初期設定範囲SETPRについて、
そのうちでも突出前及び突出後の積分データの偏差が最
大になるサンプル位置Qjtuを最適マーク位置として求め
る。
Thus, one representative initial setting range SET PR is determined for each of the twelve automatic setting sections SEC11 to SEC34 formed on the display screen PIC (FIG. 4), but the CPU 17 determines each representative initial setting range in the next step SP4. About the setting range SET PR
Among them, the sample position Qj tu where the deviation of the integrated data before and after the projection is maximized is determined as the optimum mark position.

この結果最適マーク位置として求めることができたサ
ンプル位置Qjtuは、各自動設定区画SEC11〜SEC34に含ま
れるすべてのサンプル位置に監視領域Kjを設定した場合
に、突出前及び突出後の積分データの偏差が最も大きい
位置になり、かくして監視領域Kjを最も判定し易い明る
さ情報をもち、従つて監視動作の感度が最も高い位置に
監視領域Kjを自動設定し得たことを意味する。
As a result, the sample position Qj tu obtained as the optimum mark position is, when the monitoring area Kj is set at all the sample positions included in each of the automatic setting sections SEC11 to SEC34, the integrated data before and after the protrusion is set. This means that the position has the largest deviation, and thus has the brightness information that makes it easy to determine the monitoring region Kj. Therefore, it means that the monitoring region Kj can be automatically set at the position where the sensitivity of the monitoring operation is the highest.

この状態においてCPU17はステツプSP5に移つて当該最
適マーク位置に設定された監視領域Kjについて、第1の
監視データD5を型開後突出前監視データレジスタREG5
(第2図)に取り込む処理を実行した後、ステツプSP6
において第2の監視データD6を突出後監視データレジス
タREG6に取り込む処理を実行する。
In this state, the CPU 17 proceeds to step SP5 and, for the monitoring area Kj set at the optimum mark position, stores the first monitoring data D5 after the mold opening and before-projection monitoring data register REG5.
(FIG. 2), after executing the processing to be taken in,
, A process of loading the second monitoring data D6 into the post-projection monitoring data register REG6.

このようにしてCPU17は、射出成型機本体15を試験的
に駆動して標準の射出成型製品(すなわちマスタ)を製
造する正常動作ができることを確認しながら、その後に
続く射出成型サイクルに立ち上がるまでの初期データと
して、第1及第2の監視データD5及びD6をレジスタ部23
に取り込むようになされている。
In this way, the CPU 17 drives the injection molding machine body 15 on a trial basis to confirm that the normal operation of manufacturing a standard injection molded product (that is, a master) can be performed. First and second monitoring data D5 and D6 are stored in the register unit 23 as initial data.
It is made to take in.

かくして射出成型サイクル開始前の監視領域Kjの自動
初期設定が終了し、CPU17はステツプSP7に移つて以後射
出成型機本体15が射出成型サイクルにおいて射出成型製
品を1つずつ射出成型する動作に同期しながら射出成型
機本体15が順次型開動作、及び突出動作をしたとき正常
に射出成型製品が突き落とされたか否かの認識処理を実
行する。その際に表示画面PIC上に自動設定された監視
領域K1、K2……に対して映像に位置ずれが生じたときこ
れに応じて監視領域K1、K2……の監視位置P1、P2……を
補正するような処理を実行する。
Thus, the automatic initialization of the monitoring area Kj before the start of the injection molding cycle is completed, the CPU 17 moves to step SP7, and thereafter the injection molding machine main body 15 synchronizes with the operation of injection molding the injection molded products one by one in the injection molding cycle. Meanwhile, when the injection molding machine body 15 sequentially performs the mold opening operation and the protruding operation, a recognition process of whether or not the injection molded product has been normally pushed down is executed. At that time, when the image shifts with respect to the monitoring areas K1, K2,... Automatically set on the display screen PIC, the monitoring positions P1, P2,... Of the monitoring areas K1, K2,. A process for performing correction is performed.

すなわちCPU17は、ステツプSP3及びSP4の処理によつ
てマーク位置指定データレジスタREG2に書き込まれたマ
ーク位置指定データD2に基づいて指定された監視領域Kj
(第7図)の監視位置Pjmnを中心とし、当該監視位置Pj
mnを含んでその周囲の補正範囲ARにある5×5=25個の
監視点Pjxy(x=m−2、m−1……m+2、y=n−
2、n−1……n+2)について、第1及び第2フレー
ムメモリ19A及び19Bから監視領域Kjを各監視位置Pjxy
移動したときの明るさデータ(すなわち監視領域Kjに含
まれるサンプルデータの積分値)を監視データ形成部35
において積分演算により求め、当該演算結果のうち突出
前及び突出後における偏差が最も大きい監視位置Pjxy
求める。
That is, the CPU 17 determines the monitoring area Kj designated based on the mark position designation data D2 written in the mark position designation data register REG2 by the processing in steps SP3 and SP4.
With the monitoring position Pj mn in FIG. 7 as the center, the monitoring position Pj
5 × 5 = 25 monitoring points Pj xy (x = m−2, m−1... m + 2, y = n−) in the surrounding correction range AR including mn
2, the n-1 ...... n + 2) , the sample data contained in the luminance data (i.e. monitoring area Kj when the monitoring region Kj from the first and second frame memories 19A and 19B move in each monitoring position Pj xy Monitoring data forming unit 35
Obtained by the integral calculation in the deviation before and after the projecting protrusion of the operation result obtaining the greatest monitoring position Pj xy.

その結果偏差が最大となつたマーク位置における偏差
データが、ステツプSP3及びSP4において自動的に初期設
定した監視位置Qjtuと一致したとき、このことは現在の
射出成型サイクルにおける射出成型機本体15の射出成型
動作がマスタについて自動設定した監視位置の明るさデ
ータと一致していることを意味し、さらにこのことは実
用上正しい認識結果を得ることができるような情報デー
タをCPU17が取り込むことができたことを意味する。
Deviation data resulting deviation is at a maximum and Natsuta mark position, if they match with the monitoring position Qj tu which automatically initialized at step SP3 and SP4, the injection molding machine body 15 in this current injection molding cycle This means that the injection molding operation matches the brightness data of the monitoring position automatically set for the master, and this further enables the CPU 17 to capture information data that can obtain a practically correct recognition result. Means that

これに対して偏差データが最大となる監視位置Pjxy
自動設定された監視位置とは一致しない位置である場合
には、このことはテレビジヨンカメラ16の視野FILD内の
映像が初期設定された位置からずれている可能性がある
ことを意味している。
On the other hand, if the monitoring position Pj xy where the deviation data is maximum is a position that does not match the automatically set monitoring position, this means that the image in the field of view FILD of the television camera 16 has been initialized. It means that it may be out of position.

しかしこのような位置ずれが生じているとしても、偏
差データが最大となる監視位置に初期設定した監視領域
Kjの映像部分が実際の射出成型サイクルにおいて移動し
たのに対してこれに追従するように監視領域Kjが移動し
たものと考えることができ、従つて実用上誤認識を生じ
させるおそれがない程度に高い精度の識別情報を取り込
むことができたことを意味している。
However, even if such a displacement occurs, the monitoring area initially set to the monitoring position where the deviation data is maximum
It can be considered that the monitoring area Kj has moved so that the image portion of Kj has moved in the actual injection molding cycle while following it, so that there is no risk of causing false recognition in practical use. This means that high-precision identification information could be captured.

さらにCPU17はステツプSP7において型開後突出前監視
データD5及び突出後監視データD6に基づいて判定基準値
データD4を(1)式によつて演算する。
Further, in step SP7, the CPU 17 calculates the criterion value data D4 based on the post-mold-opening pre-projection monitoring data D5 and the post-projection monitoring data D6 according to equation (1).

その後CPU17は射出成型機本体15が型開後突出前のタ
イミングになつたことを制御信号入出力回路部27から取
り込んだ制御信号CONTによつて認識したときステツプSP
8に移つて、第1のフレームメモリ19Aから第1の監視デ
ータD5を監視データ形成部35を介して型開後突出前監視
データレジスタREG5に取り込んだ後、ステツプSP9にお
いて判定基準値に対して当該突出前監視データが正常な
明るさレベルをもつているか否かの判断をする。
Then, when the CPU 17 recognizes by the control signal CONT taken from the control signal input / output circuit 27 that the timing of the injection molding machine main body 15 has reached the timing before the ejection after the mold opening, the step SP
8, the first monitoring data D5 is fetched from the first frame memory 19A into the monitoring data register REG5 before protrusion after mold opening via the monitoring data forming unit 35, and then, at step SP9, the reference value is determined. It is determined whether the pre-projection monitoring data has a normal brightness level.

ステツプSP9において肯定結果が得られるとCPU17は射
出成型機本体15が突出動作をしたタイミングにおいてス
テツプSP10に移つて、第2のフレームメモリ19Bから監
視データ形成部35を介して第2の監視データD6を突出後
監視データレジスタREG6に取り込んだ後、ステツプSP11
において判定基準値を用いて第2の監視データD6が正常
か否かの判断をする。
If a positive result is obtained in step SP9, the CPU 17 moves to step SP10 at the timing when the injection molding machine main body 15 performs the projecting operation, and the second monitoring data D6 is transmitted from the second frame memory 19B via the monitoring data forming unit 35. After the data is loaded into the post-projection monitoring data register REG6, step SP11
Is used to judge whether the second monitoring data D6 is normal or not.

ステツプSP11において肯定結果が得られると、このこ
とは射出成型機本体15の当該射出成型サイクルの動作は
正常であつたことを意味し、このときCPU17は上述のス
テツプSP7に戻つて新たな射出成型サイクルについての
マーク位置及び判定基準値の演算を繰り返す。
If a positive result is obtained in step SP11, this means that the operation of the injection molding cycle of the injection molding machine main body 15 is normal, and at this time, the CPU 17 returns to step SP7 described above and performs a new injection molding. The calculation of the mark position and the determination reference value for the cycle is repeated.

これに対してステツプSP9又はSP11において否定結果
が得られると、このことは、射出成型機本体15の射出成
型サイクルに以上が生じたことを意味し、このときCPU1
7はステツプSP12においてオペレータが当該不良原因を
除去するような処理を実行するのを待ち、当該処理が終
了したとき上述のステツプSP8に戻つて新たな監視デー
タD5及びD6の取込み及び判定処理を繰り返す。
On the other hand, if a negative result is obtained in step SP9 or SP11, this means that the above has occurred in the injection molding cycle of the injection molding machine body 15, and at this time, the CPU 1
7 waits for the operator to execute a process for removing the cause of the defect in step SP12, and when the process is completed, returns to step SP8 to repeat the fetching and judging process of new monitoring data D5 and D6. .

ここでCPU17がステツプSP12から上述のステツプSP7に
戻らないのは、不良発生時には正しい監視データD5およ
びD6が得られないので、監視領域Kjの監視位置及び判定
基準値データD4の変更をせずにそのまま次の判定処理に
おいて用いることを意味している。
Here, the reason why the CPU 17 does not return from the step SP12 to the above-mentioned step SP7 is that correct monitoring data D5 and D6 cannot be obtained when a failure occurs, so that the monitoring position of the monitoring area Kj and the determination reference value data D4 are not changed. This means that it is used as it is in the next determination processing.

当該繰返し処理時にステツプSP7の演算を実行する
際、CPU17はステツプSP8及びSP9において新たに取り込
んだ監視データD5及びD6を用い、かくして射出成型機本
体15が1回射出成型サイクルを実行するごとに監視領域
Kjの監視位置及び判定基準値データD4を更新して行く。
At the time of performing the calculation of step SP7 during the repetitive processing, the CPU 17 uses the monitoring data D5 and D6 newly acquired in steps SP8 and SP9, and thus monitors each time the injection molding machine body 15 executes one injection molding cycle. region
The monitoring position of Kj and the criterion value data D4 are updated.

以上の構成によれば、表示画面PIC上の映像に対して
監視領域Kjを自動初期設定するにつき、予め表示画面PI
Cを複数の自動設定区画SEC11〜SEC34に区分しておき、
各自動設定区画SEC11〜SEC34に含まれる初期設定範囲SE
Tのうち異常が発生したとき明るさ情報が最も変化する
初期設定範囲を代表初期設定範囲SETPRに決定すると共
に、当該代表初期設定範囲SETPRに監視領域Kjを設定す
るようにしたことにより、監視対象のうち最も異常動作
に対する反応が大きい映像部分に監視領域を自動設定す
ることができる。従つて実用上十分に高い判定精度で物
体認識処理を実行し得、かくするにつきオペレータによ
る設定操作を必要としない分オペレータの負担を一段と
軽減し得る物体認識装置を実現できる。
According to the above configuration, when the monitoring area Kj is automatically initialized for the image on the display screen PIC, the display screen PI
C is divided into multiple automatic setting sections SEC11 to SEC34,
Initial setting range SE included in each automatic setting section SEC11 to SEC34
By determining the initial setting range in which the brightness information changes most when an abnormality occurs in T to the representative initial setting range SET PR, and by setting the monitoring area Kj in the representative initial setting range SET PR , The monitoring area can be automatically set in the video part of the monitoring target that has the largest response to the abnormal operation. Therefore, it is possible to realize an object recognition device that can execute the object recognition process with a sufficiently high determination accuracy in practical use, and can further reduce the burden on the operator because the setting operation by the operator is not required.

これに加えて上述の実施例によれば、代表初期設定範
囲SETPRに含まれるサンプル情報のうち異常動作に対し
て最も反応が大きい監視位置に監視領域Kjを設定するよ
うにしたことにより、さらに一段と異常動作に対する反
応が大きな監視位置に監視領域Kjを設定することがで
き、この分さらに一段と監視精度が高い物体認識装置を
実現し得る。
In addition to this, according to the above-described embodiment, the monitoring area Kj is set at the monitoring position where the response to the abnormal operation is largest among the sample information included in the representative initial setting range SET PR. The monitoring area Kj can be set at a monitoring position where the reaction to the abnormal operation is larger, and an object recognition device with higher monitoring accuracy can be realized.

〔4〕第2実施例 第8図は第2の実施例を示すもので、この場合表示画
面PIC上に予め設定する自動設定区画SEC41及びSEC42
は、表示画面PIC上の任意の位置に任意の大きさ及び形
状をもつように設定されている。
[4] Second Embodiment FIG. 8 shows a second embodiment, in which automatic setting sections SEC41 and SEC42 set in advance on the display screen PIC.
Is set to have an arbitrary size and shape at an arbitrary position on the display screen PIC.

すなわち第1の自動設定区画SEC41は、表示画面PICの
ほぼ中央位置において、第4図の場合と同様に5×5=
25個のサンプルビデオデータを含むような大きさを有す
る12個の初期設定範囲SETを含むような大きさをもち、
かつ初期設定範囲SETはx方向及びy方向に4×3のよ
うな形状に配列されている。
That is, the first automatic setting section SEC41 is located at the substantially center position of the display screen PIC, as in the case of FIG.
It has a size including 12 default ranges SET having a size including 25 sample video data,
The initial setting ranges SET are arranged in a shape such as 4 × 3 in the x direction and the y direction.

また自動設定区画SEC42は、第1の自動設定区画SEC41
から右下方に離れて、表示画面PICの右下位置に設定さ
れ、5×5=25個のサンプルビデオデータを含む8個の
初期設定範囲SETを有する大きさをもち、かつ当該初期
設定範囲SETはx方向及びy方向に2×4のような形状
に配列されている。
The automatic setting section SEC42 is the first automatic setting section SEC41.
Is set at the lower right position of the display screen PIC, and has a size having eight initial setting ranges SET including 5 × 5 = 25 sample video data, and the initial setting range SET Are arranged in a shape such as 2 × 4 in the x direction and the y direction.

第8図の構成によれば、被認識対象の映像として表示
画面PICの一部に集中的に異常な発生の反応部分がある
ような場合に、当該反応が大きい映像部分に限つて自動
設定区画SEC41及びSEC42を設定するとができることによ
り、表示画面PIC全体に亘つて自動設定区画を設定する
場合と比較して処理すべきデータ量を格段的に少なくで
き、この分物体認識装置の構成を全体として小型化し得
る。
According to the configuration shown in FIG. 8, when there is a reaction portion of an abnormal occurrence intensively in a part of the display screen PIC as the image to be recognized, the automatic setting section is limited to the image portion having a large reaction. By setting SEC41 and SEC42, the amount of data to be processed can be remarkably reduced as compared with the case of setting an automatic setting section over the entire display screen PIC. Can be downsized.

〔5〕他の実施例 (1) 第4図又は第8図の実施例の場合は、各自動設
定区画SEC11〜SEC34、又はSEC41及びSEC42に代表初期設
定範囲SETPRを選定するにつき、代表初期設定範囲SETPR
を1つだけ選定するようにしたが、第4図は第8図に対
応させて第9図又は第10図に示すように、各自動設定区
画SEC11〜SEC34又はSEC41及びSEC42において明るさ情報
の偏差が所定の判定レベル以上になつたときには1つに
限らず複数の代表初期設定範囲SETPRを選定し、当該複
数の代表初期設定範囲SETPRに含まれるすべてのサンプ
ルデータを対象として監視領域Kjを設定すべき最適位置
の判定を実行するようにしても上述の場合と同様の効果
を得ることができる。
[5] Other Embodiments (1) In the case of the embodiment shown in FIG. 4 or FIG. 8, when the representative initial setting range SET PR is selected for each of the automatic setting sections SEC11 to SEC34 or SEC41 and SEC42, the representative initial setting range is set. Setting range SET PR
FIG. 4 corresponds to FIG. 8, and as shown in FIG. 9 or FIG. 10, the brightness information of each of the automatic setting sections SEC11 to SEC34 or SEC41 and SEC42 is selected. When the deviation is equal to or greater than the predetermined determination level, not only one, but a plurality of representative initial setting ranges SET PR are selected, and the monitoring area Kj is set for all the sample data included in the plurality of representative initial setting ranges SET PR. Even if the determination of the optimal position to set is performed, the same effect as in the above case can be obtained.

(2) 第6図の物体認識処理手順の実施例において
は、ステツプSP3において代表初期設定範囲SETPRを決定
した後続いてステツプSP4において当該代表初期設定範
囲SETPRに含まれるサンプルデータのうちから最適マー
ク位置に求めるようにしたが、これに代え、ステツプSP
3において代表初期設定範囲SETPRを決定したとき、予め
決めておいた特定位置(例えば中央位置)を最適マーク
位置として設定するようにしても良い。
(2) In the embodiment of the object recognition processing procedure shown in FIG. 6, after the representative initial setting range SET PR is determined in step SP3, the optimum is selected from the sample data included in the representative initial setting range SET PR in step SP4. The mark position was obtained, but instead of this, step SP
When the representative initial setting range SET PR is determined in 3, a predetermined position (for example, a center position) determined in advance may be set as the optimum mark position.

このようにすれば、代表初期設定範囲SETPRを決定し
たときこれに連動するように最適マーク位置を決めるこ
とができる分物体認識処理手順を簡略化し得る。
In this way, when the representative initial setting range SET PR is determined, the optimum mark position can be determined so as to be linked thereto, thereby simplifying the object recognition processing procedure.

因にこのようにした場合、その後の射出成型サイクル
の処理手順において、ステツプSP7における処理を実行
する際に、ステツプSP3によつて決定された最適マーク
位置に基づいて被監視対象の映像に対して監視領域を設
定し直すような処理を実行するが、その際、実際上最も
反応が大きい映像部分に追従するように監視領域を移動
させることができることにより、実用上上述の場合と同
様の効果を得ることができる。
However, in this case, in the processing procedure of the subsequent injection molding cycle, when the processing in step SP7 is executed, the video to be monitored is determined based on the optimum mark position determined in step SP3. A process of resetting the monitoring area is performed. At this time, the monitoring area can be moved so as to follow the video portion with the largest response in practice. Obtainable.

(3) 第4図及び第8図、第9図及びい第10図の実施
例の場合は、各自動設定区画SEC11〜SEC34、SEC41及びS
EC42について個別に監視領域Kjを移動させるようにした
場合について述べたが、監視領域Kjの1つを移動させる
必要が生じたときこれに応じて表示画面PIC全体の監視
領域を次に述べる手法を用いて一斉に移動させるように
しても良い。
(3) In the case of the embodiment shown in FIGS. 4, 8, 9 and 10, the automatic setting sections SEC11 to SEC34, SEC41 and S
The case where the monitoring area Kj is individually moved for the EC42 has been described. However, when it is necessary to move one of the monitoring areas Kj, the monitoring area of the entire display screen PIC is changed according to this when the following method is used. They may be used to move them all at once.

第1の方法は複数の監視領域Kjのうち、予め選定した
1つの監視領域について最適な監視位置を求める演算を
実行し、その結果x方向及びy方向に距離Δx及びΔy
だけ監視位置を移動させるような演算結果を得た場合に
は、当該移動量の演算の基礎となつた当該監視領域以外
の監視領域の位置を同じ量、すなわち距離Δx及びΔy
だけ移動させるようにする。
The first method executes an operation for obtaining an optimum monitoring position for one monitoring region selected in advance among a plurality of monitoring regions Kj, and as a result, distances Δx and Δy in the x direction and the y direction.
If the calculation result that only moves the monitoring position is obtained, the position of the monitoring area other than the monitoring area on which the calculation of the movement amount is based is changed by the same amount, that is, the distances Δx and Δy
Just to move.

このようにすれば、表示画面PIC上に配置された複数
の監視領域の設定位置を変更するにつき、当該変更演算
を一段と簡易化し得、特に例えば第8図及び第10図の場
合のように、表示画面PICの一部に自動設定区画SEC41及
びSEC42を設定したような場合に適用して好適である。
In this way, when the setting positions of the plurality of monitoring areas arranged on the display screen PIC are changed, the change calculation can be further simplified, and in particular, for example, as shown in FIGS. 8 and 10, It is suitable to be applied to the case where the automatic setting sections SEC41 and SEC42 are set in a part of the display screen PIC.

また第2の方法として、表示画面PIC上に設定する監
視領域Kjから得られた明るさ情報を変数とする関数によ
つて移動量Δx及びΔyを演算し、当該移動量Δx及び
Δyに基づいてすべての監視領域Kjを移動させるように
する。
Further, as a second method, the movement amounts Δx and Δy are calculated by a function using the brightness information obtained from the monitoring area Kj set on the display screen PIC as a variable, and based on the movement amounts Δx and Δy. All the monitoring areas Kj are moved.

すなわち監視領域Kj(j=1、2……)の突出前及び
突出後の明るさ情報の偏差B1(Δx、Δy)、B2(Δ
x、Δy)……を検出したとき、次式 のような輝度差関数Bを演算し、当該輝度差関数Bが最
大となるような移動量Δx及びΔyを求め、当該移動量
Δx及びΔyだけすべての監視領域Kj(j=1、2…
…)の設定位置を一斉に移動するようにする。
That is, deviations B1 (Δx, Δy) and B2 (Δ) of the brightness information before and after the projection of the monitoring area Kj (j = 1, 2,...)
x, Δy) When the following equation is detected, Is calculated, and the moving amounts Δx and Δy that maximize the luminance difference function B are obtained, and all the monitoring areas Kj (j = 1, 2,...) Are obtained by the moving amounts Δx and Δy.
…) To move the setting position all at once.

このようにすれば、表示画面PIC上の監視領域Kjの輝
度差情報を失わないように配慮しながら移動距離Δx及
びΔyを決めることができることにより、表示画面PIC
全体として実用上十分な精度で監視領域Kjを設定するこ
とができる。
In this way, the moving distances Δx and Δy can be determined while taking care not to lose the luminance difference information of the monitoring area Kj on the display screen PIC.
As a whole, the monitoring area Kj can be set with sufficient accuracy for practical use.

(4) 上述の実施例においては、監視領域Kjに含まれ
るサンプルビデオデータを積分する際に、すべてのサン
プルビデオデータを共通の重み付け係数の下に積算した
が、これに代え、第11図に示すように、認識対象の特徴
に応じてサンプルビデオデータの監視領域Kj内のサンプ
ルビデオデータの位置によつて必要に応じて重み付け係
数を変更するようにしても良い。
(4) In the above embodiment, when integrating the sample video data included in the monitoring area Kj, all the sample video data are integrated under the common weighting coefficient. As shown, the weighting factor may be changed as necessary according to the position of the sample video data in the monitoring area Kj of the sample video data according to the feature of the recognition target.

因みに第11図の場合、中心点に表示画面上特に高い輝
度をもつような映像部分を監視領域Kjによつて検出しよ
うとする場合、周囲のサンプルデータに対して重み付け
係数を「1」に設定すると共に、中心点のサンプルデー
タに対して重み付け係数「8」を設定するようにする。
このようにすれば中心位置の輝度が大きい位置を監視領
域Kjの最適位置として監視領域Kjを設定できることにな
る。
By the way, in the case of FIG. 11, when an image portion having a particularly high luminance on the display screen at the center point is to be detected by the monitoring area Kj, the weighting coefficient is set to “1” for the surrounding sample data. At the same time, a weighting coefficient “8” is set for the sample data at the center point.
In this way, the monitoring area Kj can be set as the optimum position of the monitoring area Kj at the position where the luminance at the center position is large.

(5) 上述の実施例においては、テレビジヨンカメラ
16のビデオ信号VDに基づいてサンプルビデオデータを取
り込むにつき、認識情報メモリ19に格納保持したデータ
をシフタ35A及び積分器35Bになる監視データ形成部35に
おいて偏差データを形成するようにした場合について述
べたが、これに代え、第12図に示すように、テレビジヨ
ンカメラ16のビデオ信号VDをアナログ/デイジタル変換
回路41においてデイジタルデータに変換した後、加算回
路42及びメモリ43でなる積分回路44に供給してメモリ43
に蓄積した積分データをバス22を介してCPU17に取り込
むように構成することにより、リアルタイム方式で監視
領域のサンプルデータを得ることができるようにしても
良い。
(5) In the above embodiment, the television camera
A description will be given of a case in which sample video data is taken in based on the 16 video signals VD, and the data stored and held in the recognition information memory 19 is formed with deviation data in the monitoring data forming unit 35 which becomes the shifter 35A and the integrator 35B. However, instead of this, as shown in FIG. 12, after the video signal VD of the television camera 16 is converted into digital data by the analog / digital conversion circuit 41, the video signal VD is transmitted to the integration circuit 44 comprising the addition circuit 42 and the memory 43. Supply and memory 43
By incorporating the integrated data stored in the CPU 17 into the CPU 17 via the bus 22, sample data of the monitoring area may be obtained in a real-time manner.

第12図の実施例の場合、ビデオ信号VDに含まれている
同期信号SYNCが同期分離回路45において分離されてタイ
ミング制御回路46に供給されると同時に、CPU17から初
期設定範囲SET(第4図、第8図、第9図、第10図)の
サンプルデータ、又は監視領域Kj(第5図、第7図のサ
ンプ2ルデータを取り込むべきタイミング信号TMをバス
22を介してタイミング制御回路46に供給するようになさ
れている。
In the case of the embodiment shown in FIG. 12, the synchronization signal SYNC included in the video signal VD is separated by the synchronization separation circuit 45 and supplied to the timing control circuit 46, and at the same time, the initialization range SET (FIG. , FIG. 8, FIG. 9 and FIG. 10) or the timing signal TM for capturing the monitoring area Kj (sample 2 data in FIG. 5 and FIG. 7).
The signal is supplied to the timing control circuit 46 via the circuit 22.

タイミング制御回路46はタイミング信号TMが与えられ
たとき、同期信号SYNCと同期しながらアナログ/デイジ
タル変換回路41、加算回路42及びメモリ43に駆動信号を
供給することにより、積分回路44のメモリ43に初期設定
範囲SET及び監視領域Kjについての積分データを蓄積さ
せる。
When the timing signal TM is supplied, the timing control circuit 46 supplies drive signals to the analog / digital conversion circuit 41, the addition circuit 42, and the memory 43 while synchronizing with the synchronization signal SYNC. Integration data for the initial setting range SET and the monitoring area Kj is accumulated.

第12図の構成において、アナログ/デイジタル変換回
路41における変換開始動作のタイミングを±数クロツク
分ずらすことにより初期設定範囲SET又は監視領域Kjを
左右方向にずらすことができ、また±数H分タイミング
をずらすことにより初期設定範囲SET及び監視領域Kjを
上下方向にずらすことができる。
In the configuration of FIG. 12, the initial setting range SET or the monitoring area Kj can be shifted in the horizontal direction by shifting the timing of the conversion start operation in the analog / digital conversion circuit 41 by ± a few clocks. , The initial setting range SET and the monitoring area Kj can be shifted in the vertical direction.

第12図の構成によれば、テレビジヨンカメラ16のビデ
オ信号VDから必要に応じて明るさ情報を取り込むにつ
き、当該明るさ情報をリアルタイムで取り込むことがで
きることにより、物体認識対象の変化に対して応答性良
く認識処理を実行し得る。
According to the configuration of FIG. 12, when the brightness information is captured from the video signal VD of the television camera 16 as necessary, the brightness information can be captured in real time. The recognition process can be executed with good responsiveness.

また第12図の構成に代え、第13図に示すように、アナ
ログ/デイジタル変更回路41から加算回路42へのデータ
伝送回路ゲート回路50を介挿し、このゲート回路50をCP
U17から供給されるタイミング信号TMに基づいてタイミ
ング制御回路46において形成されたゲート信号によつて
開閉制御することにより、初期設定範囲SET及び監視領
域Kjに相当するビデオデータを積分回路44に取り込むよ
うにしても、第12図の場合と同様の効果を得ることがで
きる。
Also, instead of the configuration of FIG. 12, as shown in FIG. 13, a data transmission circuit gate circuit 50 from the analog / digital change circuit 41 to the addition circuit 42 is inserted, and this gate circuit 50 is connected to the CP.
By controlling the opening and closing by the gate signal formed in the timing control circuit 46 based on the timing signal TM supplied from U17, video data corresponding to the initial setting range SET and the monitoring area Kj is taken into the integration circuit 44. In this case, the same effect as in the case of FIG. 12 can be obtained.

なお第12図及び第13図の実施例において、第8図又は
第10図について上述したように、任意の位置に任意の大
きさ及び形状の自動設定区画SEC41、SEC42を設定した場
合には、順次続くフレームごとに自動設定区画SEC41、S
EC42のデータを1区画分ずつ取り込むようにしても良
い。
In the embodiment of FIGS. 12 and 13, as described above with reference to FIG. 8 or FIG. 10, when the automatic setting sections SEC41 and SEC42 having arbitrary sizes and shapes are set at arbitrary positions, Automatic setting section SEC41, S for each successive frame
You may make it take in data of EC42 one block at a time.

(6) 第5図の実施例の場合には、代表初期設定範囲
SETPRにおいて最適な監視位置に監視領域Kjを設定する
につき、代表初期設定範囲SETPRをx方向及びy方向に
ついて5×5=25個のサンプルビデオデータの全部から
積分値データを得るようにしたが、これに代え、例えば
第14図、第15図及び第16図に示すように、必要に応じて
削減するようにしたも良く、このようにすれば、上述の
場合と同様の効果を得ることができると共に、演算時間
をさらに一段と短縮することができる。
(6) In the case of the embodiment of FIG. 5, the representative initial setting range
In setting the monitoring area Kj at the optimum monitoring position in SET PR , the representative initial setting range SET PR is configured to obtain integral value data from all 5 × 5 = 25 sample video data in the x and y directions. However, instead of this, for example, as shown in FIGS. 14, 15, and 16, the number may be reduced as necessary, and in this case, the same effect as in the above-described case is obtained. And the calculation time can be further reduced.

第14図の場合には、代表初期設定範囲SETPRとして、
監視位置Qjtuを中心としてx方向及びy方向に5×5の
広さに範囲を設定するが、最適な監視位置を判定するた
めに取り込むデータとして監視点Qjtuと、当該監視点Qj
tuを通つてx方向及びy方向に配列されている8つの監
視点と、監視点Qjtuを通つて斜めの方向に配列されてい
る8つの監視点とから監視データを得るようにする。こ
のようにすれば、取り込むべき監視データの範囲として
代表初期設定範囲SETPRの広さを5×5の大きさに確保
しながら、取り込むべきデータ数を5×5=25個から1
+8+8=17個に削減することができ、この分最適な監
視位置を判定するための演算時間を短縮することができ
る。
In the case of FIG. 14, as the representative initial setting range SET PR ,
A range of 5 × 5 is set in the x direction and the y direction with the monitoring position Qj tu as the center. The monitoring point Qj tu and the monitoring point Qj are data to be captured in order to determine the optimum monitoring position.
Monitoring data is obtained from eight monitoring points arranged in the x and y directions through tu and eight monitoring points arranged in an oblique direction through the monitoring point Qj tu . In this way, the number of data to be captured is increased from 5 × 5 = 25 to 1 while securing the width of the representative initial setting range SET PR as the range of the monitoring data to be captured to 5 × 5.
+ 8 + 8 = 17, and the calculation time for determining the optimum monitoring position can be shortened accordingly.

また第15図の場合には、代表初期設定範囲SETPRとし
て監視点Qjtuを中心として3×3の範囲に限定する。こ
のようにすれば第5図の場合にはデータを取り込むべき
監視点の数が5×5=25個であつたのに比較して、3×
3=9個に削減することができ、かくして一段と演算時
間を短縮し得る。
In the case of FIG. 15 is limited to the range of 3 × 3 around the monitoring point Qj tu Representative initial setting range SET PR. In this case, in the case of FIG. 5, the number of monitoring points from which data is to be fetched is 5 × 5 = 25.
The number can be reduced to 3 = 9, and thus the operation time can be further reduced.

第16図の場合には、第15図の場合と比較して、監視点
Qjtuを中心として斜め方向の4つ監視点をデータを取り
込むべき監視点から削除したもので、このようにすれ
ば、さらに一段と演算時間を短縮することができる。
In the case of FIG. 16, compared with the case of FIG.
Four monitoring points in the oblique direction with Qj tu as the center are deleted from the monitoring points from which data is to be taken. In this case, the calculation time can be further reduced.

(7) 上述の実施例においては、監視領域Kjの監視点
として第5図について上述したように、監視領域Kjに含
まれるサンプル点のうち左上隅のサンプル点を用いるよ
うにした場合について述べたが、その他のサンプル点を
用いるようにしても良く、要は監視領域Kjに含まれるサ
ンプル点のうちの1つを用いるようにすれば良い。
(7) In the above-described embodiment, as described above with reference to FIG. 5, the case where the sample point at the upper left corner among the sample points included in the monitor region Kj is used as the monitor point of the monitor region Kj has been described. However, other sample points may be used. In short, one of the sample points included in the monitoring area Kj may be used.

(8) 上述の実施例においては、ビデオ情報の偏差が
最大となる監視位置を最適監視点として決定するように
したが、実際上当該監視点はテレビジヨンカメラ16や被
測定対象となれ射出成型製品の振動、位置ずれ等によつ
てばらつくので、過去複数回の射出成型サイクルにおい
て求めた最適監視点のデータの例えば平均値を演算し、
当該平均値によつて表される監視位置を補正後の監視位
置として設定するようにしても良い。
(8) In the above-described embodiment, the monitoring position where the deviation of the video information is maximum is determined as the optimum monitoring point. However, in practice, the monitoring point becomes the television camera 16 or the object to be measured, and is formed by injection molding. Since it varies due to product vibration, misalignment, etc., for example, an average value of the data of the optimum monitoring point obtained in the past multiple injection molding cycles is calculated,
The monitoring position represented by the average value may be set as the corrected monitoring position.

因に最適監視位置の平均値を求めた場合、当該平均値
によつて表される監視位置は測定によつてばらついた監
視位置の中心に相当する。
When the average value of the optimum monitoring position is obtained, the monitoring position represented by the average value corresponds to the center of the monitoring position that is varied by the measurement.

〔発明の効果〕〔The invention's effect〕

上述のように本発明によれば、マスタ撮像して得られ
るビデオ信号に基づいて、複数の初期設定範囲を含んで
なる自動設定区画ごとに正常か否かを判定し易い明るさ
情報をもつ代表初期設定範囲を選定し、当該代表初期設
定範囲に含まれる監視点の1つに監視領域を設定するよ
うにしたことにより、オペレータに過大な負担を与える
ことなく高い精度の判定結果を得ることができる。
As described above, according to the present invention, based on a video signal obtained by imaging a master, a representative having brightness information that makes it easy to determine whether or not each of the automatic setting sections including a plurality of initial setting ranges is normal or not. By selecting the initial setting range and setting the monitoring area at one of the monitoring points included in the representative initial setting range, it is possible to obtain a highly accurate determination result without imposing an excessive burden on the operator. it can.

かくするにつき、代表初期設定範囲に含まれる監視点
のうち正常か否かを判定し易い明るさ情報をもつ監視点
を選定して監視領域を設定するようにしたことにより、
さらに一段と高い精度の判定結果を得ることができる。
In this way, by setting a monitoring area by selecting a monitoring point having brightness information that makes it easy to determine whether the monitoring point is normal among monitoring points included in the representative initial setting range,
Further, a determination result with higher accuracy can be obtained.

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

第1図は本発明による物体認識装置の一実施例を示すブ
ロツク図、第2図はそのレジスタ部の詳細構成を示す略
線図、第3図はビデオ信号の表示画面に対して設定され
る監視領域の説明に供する略線図、第4図は表示画面PI
Cに形成する初期設定範囲SET、代表初期設定範囲SETPR
及び自動設定区画SEC11〜SEC34の説明に供する略線図、
第5図は代表初期設定範囲SETPRにおける最適監視点を
設定する手法の説明に供する略線図、第6図は第1図の
CPU17の物体認識処理手順を示すフローチヤート、第7
図は監視位置Pjxyの補正範囲ARの説明に供する略線図、
第8図は代表初期設定範囲の他の設定の仕方を示す略線
図、第9図及び第10図は第4図及び第8図の他の実施例
を示す略線図、第11図は監視領域Kjの積分処理の際の重
み付け演算手法の説明に供する略線図、第12図及び第13
図は第1図の他の実施例を示すブロツク図、第14図〜第
16図は代表初期設定範囲について第5図の他の実施例を
示す略線図、第17図〜第19図は従来の構成を示す略線図
である。 14……物体認識装置、15……射出成型機本体、16……テ
レビジヨンカメラ、17……CPU、19……認識情報メモ
リ、19A、19B……フレームメモリ、23……レジスタ部、
35……監視データ形成部。
FIG. 1 is a block diagram showing an embodiment of an object recognizing device according to the present invention, FIG. 2 is a schematic diagram showing a detailed configuration of a register section, and FIG. 3 is set for a video signal display screen. Schematic diagram for explanation of monitoring area, Fig. 4 is display screen PI
Initial setting range SET formed in C, representative initial setting range SET PR
And a schematic diagram for explaining the automatic setting sections SEC11 to SEC34,
FIG. 5 is a schematic diagram for explaining a method of setting an optimum monitoring point in the representative initial setting range SET PR, and FIG. 6 is a diagram of FIG.
7 is a flowchart showing the object recognition processing procedure of the CPU 17, and FIG.
The figure is a schematic diagram for explaining the correction range AR of the monitoring position Pj xy ,
FIG. 8 is a schematic diagram showing another method of setting the representative initial setting range, FIGS. 9 and 10 are schematic diagrams showing other embodiments of FIGS. 4 and 8, and FIG. FIGS. 12 and 13 are schematic diagrams for explaining a weighting calculation method at the time of integration processing of the monitoring area Kj.
FIG. 14 is a block diagram showing another embodiment of FIG. 1, and FIGS.
FIG. 16 is a schematic diagram showing another embodiment of FIG. 5 for the representative initial setting range, and FIGS. 17 to 19 are schematic diagrams showing a conventional configuration. 14 ... object recognition device, 15 ... injection molding machine body, 16 ... television camera, 17 ... CPU, 19 ... recognition information memory, 19A, 19B ... frame memory, 23 ... register section,
35 ... Monitoring data forming unit.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】テレビジヨンカメラによつて認識対象を撮
像することにより得られるビデオ信号が表す表示画面上
の所定の監視位置に監視領域を設定し、当該監視領域か
ら得られる明るさ情報の変化を監視することにより上記
認識対象が正常か否かを判定する物体認識装置におい
て、 上記表示画面にマスタを表示した状態において、上記表
示画面上に、複数の初期設定範囲を有する、自動設定区
画を設定し、上記表示画面にマスタを表示した状態にお
いて上記自動設定区画に含まれる上記複数の初期設定範
囲についての明るさ情報をそれぞれ求め、当該求めた明
るさ情報のうち正常か否かを判定し易い明るさ情報をも
つ上記初期設定範囲の1つ又は複数を代表初期設定範囲
に決定し、上記代表初期設定範囲に上記監視領域を設定
し、 上記マスタについて設定した上記監視領域を用いて上記
認識対象に対する判定処理をする ことを特徴とする物体認識装置。
1. A monitoring area is set at a predetermined monitoring position on a display screen represented by a video signal obtained by capturing an image of an object to be recognized by a television camera, and a change in brightness information obtained from the monitoring area. In the object recognition device to determine whether the recognition target is normal by monitoring the, in the state where the master is displayed on the display screen, on the display screen, having a plurality of initial setting range, an automatic setting section In the state where the master is displayed on the display screen, brightness information is obtained for each of the plurality of initial setting ranges included in the automatic setting section, and it is determined whether the brightness information is normal among the obtained brightness information. Determining one or more of the initial setting ranges having easy brightness information as a representative initial setting range, setting the monitoring area in the representative initial setting range, Object recognition apparatus, characterized in that the determination process for the recognition target by using the monitoring area set for.
【請求項2】テレビジヨンカメラによつて認識対象を撮
像することにより得られるビデオ信号が表す表示画面上
の所定の監視位置に監視領域を設定し、当該監視領域か
ら得られる明るさ情報の変化を監視することにより上記
認識対象が正常か否かを判定する物体認識装置におい
て、 上記表示画面にマスタを表示した状態において、上記表
示画面上に、複数の初期設定範囲を有する、自動設定区
画を設定し、上記表示画面にマスタを表示した状態にお
いて上記自動設定区画に含まれる上記複数の初期設定範
囲についての第1の明るさ情報をそれぞれ求め、当該第
1の明るさ情報のうち正常か否かを判定し易い明るさ情
報をもつ上記初期設定範囲の1つ又は複数の代表初期設
定範囲に決定すると共に、 上記代表初期設定範囲に含まれるサンプル点を上記監視
位置として上記監視領域を順次設定してそれぞれ第2の
明るさ情報を求め、各サンプル点のうち上記第2の明る
さ情報のうち正常か否かを判定し易い明るさ情報をもつ
サンプル点を上記監視領域の初期設定位置として決定
し、 上記マスタについて設定した上記監視領域を用いて上記
認識対象に対する判定処理をする ことを特徴とする物体認識装置。
2. A monitoring area is set at a predetermined monitoring position on a display screen represented by a video signal obtained by imaging a recognition target by a television camera, and a change in brightness information obtained from the monitoring area. In the object recognition device to determine whether the recognition target is normal by monitoring the, in the state where the master is displayed on the display screen, on the display screen, having a plurality of initial setting range, an automatic setting section Setting, and in a state where the master is displayed on the display screen, first brightness information is obtained for each of the plurality of initial setting ranges included in the automatic setting section, and whether or not the first brightness information is normal is determined. One or a plurality of representative initial setting ranges of the initial setting range having brightness information that makes it easy to determine whether or not the sample included in the representative initial setting range Is set as the monitoring position, and the monitoring areas are sequentially set to obtain the second brightness information, and among the sample points, the second brightness information has brightness information which makes it easy to determine whether or not the second brightness information is normal. An object recognition device, comprising: determining a sample point as an initial setting position of the monitoring area; and performing a determination process on the recognition target using the monitoring area set for the master.
JP1192313A 1989-07-24 1989-07-24 Object recognition device Expired - Fee Related JP3054870B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1192313A JP3054870B2 (en) 1989-07-24 1989-07-24 Object recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1192313A JP3054870B2 (en) 1989-07-24 1989-07-24 Object recognition device

Publications (2)

Publication Number Publication Date
JPH0355669A JPH0355669A (en) 1991-03-11
JP3054870B2 true JP3054870B2 (en) 2000-06-19

Family

ID=16289203

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1192313A Expired - Fee Related JP3054870B2 (en) 1989-07-24 1989-07-24 Object recognition device

Country Status (1)

Country Link
JP (1) JP3054870B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5253070A (en) * 1990-12-31 1993-10-12 Goldstar Co., Ltd. System and method for automatically detecting a variation of video information

Also Published As

Publication number Publication date
JPH0355669A (en) 1991-03-11

Similar Documents

Publication Publication Date Title
JP4869795B2 (en) Imaging control apparatus, imaging system, and imaging control method
EP1309186A1 (en) Electronic camera
US5481653A (en) Digital image processing apparatus for synthesizing an image form at least two images
JPH06222011A (en) Method and device for inspecting printed circuit board
KR20070109875A (en) Imaging apparatus and method, and program
JP2009219096A (en) Image processing device, imaging device, correction coefficient calculating method, and image processing program
JPH08237535A (en) Tracking area setting device, motion vector detecting circuit and object tracking device using the same
EP1080447B1 (en) Image processing inspection apparatus
JP3054870B2 (en) Object recognition device
US7970238B2 (en) Method and apparatus for acquiring image of internal structure, and computer product
US5247585A (en) Object recognition device
KR100211004B1 (en) Image processing method and processing system using the method
US4984075A (en) Contour detecting apparatus
JP3044553B2 (en) Object recognition device
JPH08219721A (en) Image processor
JP3716466B2 (en) Image processing device
JPH07181011A (en) Method for recognizing hole through visual sensor
JP2007194784A (en) Pixel position acquisition method, image processing apparatus, program for making computer implement pixel position acquisition method, and computer-readable recording medium with the program recorded thereon
JP2000125289A (en) Method for generating image with emphasized recessed part
JP4293191B2 (en) Pixel position acquisition method, image processing apparatus, program for executing pixel position acquisition method on a computer, and computer-readable recording medium on which the program is recorded
JP2001218217A (en) Image freeze processing unit
JPH07325906A (en) Detecting and tracking device for moving body
JPH10256351A (en) Image-processing aligninment apparatus
JPH08159984A (en) Pattern irregularity inspecting apparatus
JP3607788B2 (en) Image processing device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees