[go: up one dir, main page]

JPH0355669A - Object recognizing device - Google Patents

Object recognizing device

Info

Publication number
JPH0355669A
JPH0355669A JP1192313A JP19231389A JPH0355669A JP H0355669 A JPH0355669 A JP H0355669A JP 1192313 A JP1192313 A JP 1192313A JP 19231389 A JP19231389 A JP 19231389A JP H0355669 A JPH0355669 A JP H0355669A
Authority
JP
Japan
Prior art keywords
monitoring
data
initial setting
setting range
brightness information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP1192313A
Other languages
Japanese (ja)
Other versions
JP3054870B2 (en
Inventor
Masaharu Watanabe
正治 渡辺
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.)
SHIGUMATSUKUSU KK
Sigmax Ltd
Original Assignee
SHIGUMATSUKUSU KK
Sigmax Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHIGUMATSUKUSU KK, Sigmax Ltd filed Critical SHIGUMATSUKUSU KK
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

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

Abstract

PURPOSE:To initialize a monitor area with high accuracy satisfactory for the practical use by setting a key initial setting range for each automatically set section and then setting a monitor area at a monitor point included in the corresponding initial setting range. CONSTITUTION:The video signal VD obtained from a TV camera 16 is supplied to a monitor 32 via a synthesizing circuit 31. Thus an image corresponding to a viewfield FILD is displayed on a display screen PIC as shown on a diagram. At the same time, a CPU 17 supplies the monitor area display data KDIS showing the monitor areas K1, K2... to a graphic display control part 33 and also applies a monitor area display signal VDK to the circuit 31. Thus the areas K1, K2... are superimposed on the image of the FILD on the screen PIC of the monitor 32. Then the CPU 17 produces the lightness information on the areas K1, K2... via a monitor data forming part 35 based on the video data DATA fetched by a recognizing information memory 19.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は物体認識装置に関し、特にビデオカメラから得
ることができるビデオ信号に基づいて認識対象となる物
体の有無、欠陥の有無などを検査する場合に適用して好
適なものである.〔発明の概要〕 本発明は、テレビジョンカメラを用いた物体認識装置に
おいて、自動設定区画を構成するvJ数の初期設定範囲
から得たビデオ情報に基づいて認識対象の撮像時判定し
易い明るさ情報をもつ監視点を判定して当該監視点に監
視領域を自動的に初期設定するようにしたことにより、
オペレータに過大な負担を与えることなく実用上十分に
高い精度で監視領域を初期設定することができる。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an object recognition device, and particularly to an object recognition device for inspecting the presence or absence of an object to be recognized, the presence or absence of defects, etc. based on a video signal that can be obtained from a video camera. It is suitable for application in various cases. [Summary of the Invention] The present invention provides an object recognition device using a television camera, in which a brightness that makes it easy to determine when an image of a recognition target is captured based on video information obtained from an initial setting range of vJ numbers that constitute an automatically set section is provided. By determining monitoring points with information and automatically initializing the monitoring area at the monitoring points,
The monitoring area can be initially set with a sufficiently high precision for practical use without placing an excessive burden on the operator.

〔従来の技術〕[Conventional technology]

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

この場合テレビジョンカメラから得られるビデオ信号に
よって表される表示画面PIC内の所定位置PI,P2
・・・・・・に所定の大きさの監視領域KL K2・・
・・・・を設定し、この監視領域Kl,K2・・・・・
・に相当するビデオ信号を積分することによって所定の
処理サイクルごとに監視領域Kl,K2・・・・・・の
輝度に関する監視情報を得、当該各処理サイクルにおけ
る監視情報に予定しない変化が生じたとき認識対象に異
常が発生したと判定する.〔発明が解決しようとする問
題点〕 ところが、このような物体認識装置によって物体の有無
や欠陥の有無などを認識しようとする場合、表示画面P
IC上の監視領域K1、K2・・・・・・が設定されて
いる座標位置Pi (X+.)’+)、P2(x.、y
2)・・・・・・の設定が適切でない場合には、認識結
果に誤判定を生ずるおそれがある.例えばプリント配線
基板の検査をする場合には第18図に示すように、認識
対象となるプリント配線基板lの表面と正対するように
テレビジョンカメラ2を配置し、その視野FILDによ
って決まる所定位置に位置決めしたプリント配線基板1
を撮像してビデオ信号VDを得るようになされている.
このような場合にプリント配線基板1上に正規の部品が
正しくマウントされているか否かを判定しようとすると
き、判定結果の誤り率をできるだけ低減するためには監
視すべき部品の映像のうち「判定し易い明るさ情報をも
つ映像部分」、すなわち最も明るい映像部分、又は最も
暗い映像部分に監視領域K1、K2・・・・・・を設定
すれば良いと考えられる。
In this case, a predetermined position PI, P2 within the display screen PIC represented by a video signal obtained from a television camera
Monitoring area KL K2 of a predetermined size...
..., and set these monitoring areas Kl, K2...
Obtain monitoring information regarding the brightness of the monitoring areas Kl, K2, etc. at each predetermined processing cycle by integrating the video signal corresponding to , and an unexpected change has occurred in the monitoring information at each processing cycle. It is determined that an abnormality has occurred in the recognition target. [Problem to be solved by the invention] However, when trying to recognize the presence or absence of an object or the presence or absence of a defect using such an object recognition device, the display screen P
Coordinate positions Pi (X+.)'+), P2 (x., y
2) If the settings for... are not appropriate, there is a risk of erroneous judgments in the recognition results. For example, when inspecting a printed wiring board, as shown in FIG. 18, the television camera 2 is placed so as to directly face the surface of the printed wiring board l to be recognized, and placed at a predetermined position determined by its field of view FILD. Positioned printed wiring board 1
The video signal VD is obtained by capturing an image of the video signal VD.
In such a case, when trying to determine whether or not a genuine 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 It is considered that the monitoring regions K1, K2, . . . may be set in the image portions having brightness information that are easy to determine, that is, the brightest image portions or the darkest image portions.

因に最も明るい映像部分又は最も暗い映像部分に監視領
域Kl,K2・・・・・・を設定すれば、当該監視対象
となる部品が欠落するような異常が生じている場合には
、監視頷域K1、K2・・・・・・の明るさが最も明る
い輝度又は最も暗い輝度から通常は中程度の明るさをも
つ絶縁基板の輝度に変化するので、当該輝度の差を判定
し易いのに対して・、中程度の明るさをもつ映像部分に
監視領域K1、K2・・・・・・を設定した場合には、
部品が欠落しても輝度が中程度から中程度への変化する
に過ぎないために、異常の判定に誤りを生ずる確率が大
きくなる。
By setting the monitoring areas Kl, K2, etc. in the brightest or darkest image part, if an abnormality such as missing parts occurs, the monitoring area will be removed. Since the brightness of areas K1, K2... changes from the brightest or darkest brightness to the brightness of the insulating substrate, which usually has a medium brightness, it is easy to judge the difference in brightness. On the other hand, if the monitoring areas K1, K2, etc. are set in the video part with medium brightness,
Even if a component is missing, the brightness only changes from medium to medium, so there is a high probability that an error will be made in determining an abnormality.

また射出成形機監視装置に適用される物体認識装置にお
いては、第19図に示すように、可動側型5がホルダ6
と共に型開状態に移動したとき、その可動側型5及びそ
の周囲の映像を視野FILD内に撮像できるようにする
ため固定側型8のホルダ9上に固定した取付台10にテ
レビジョンカメラ11を装着して可動側型5及びその周
囲を斜め上方から撮像するようになされている.このよ
うにする場合、監視領域Kl,K2・・・・・・を設定
するにつき、突出前の映像と突出後の映像との関係にお
いて最も明るさの変化が大きい映像部分を「判定し易い
明るさ情報をもつ映像部分」としてこの映像部分に監視
領域K1、K2・・・・・・を設定すれば、判定の誤り
率を低減することができる。
In addition, in an object recognition device applied to an injection molding machine monitoring device, as shown in FIG.
A television camera 11 is mounted on a mounting base 10 fixed on the holder 9 of the fixed side mold 8 in order to be able to capture an image of the movable side mold 5 and its surroundings within the field of view FILD when the mold is moved to the open state. When mounted, images of the movable side mold 5 and its surroundings are taken from diagonally above. In this case, when setting the monitoring areas Kl, K2, etc., the image part with the largest change in brightness in the relationship between the image before projection and the image after projection is By setting the monitoring areas K1, K2, . . . in this video portion as a “video portion having information on the image data,” the error rate of determination can be reduced.

因に射出戒形製品が突出工程において金型から正しく突
き落とされたか否かを監視する場合、射出戒形製品のう
ち突出前の明るさが明るい(又は暗い)位置に監視頷域
K1、K2・・・・・・を設定した場合、突出後の映像
が暗くなる(又は明るくなる)ような変化を生ずれば、
当該変化を正しく判定できる確率が高くなる. これに対して突出後の映像の明るさとほぼ同程度の明る
さをもつ映像部分に監視領域Kl,K2・・・・・・を
設定すると、突出前及び突出後の監視領域K1、K2・
・・・・・の明るさの差が小さいために、誤判定をする
確率が大きくなる。
Incidentally, when monitoring whether or not the injection molded product is correctly ejected from the mold during the ejection process, monitor nozzle areas K1, K2, If you set ..., and the image after projection changes to become darker (or brighter),
The probability of correctly determining the change in question increases. On the other hand, if the monitoring areas Kl, K2, etc. are set in a video part that has approximately the same brightness as the brightness of the image after projection, then the monitoring areas K1, K2, before and after projection are set.
Because the difference in brightness between ... is small, the probability of misjudgment increases.

このようにこの種の物体認識装置においては、監視領域
Kl,K2・・・・・・をできるだけ適切な位置に設定
できるか否かは判定結果の誤り率に璽大な影響を与える
条件の1つと考えられており、従来はオペレータが監視
動作に入る前に監視しようとする標準製品(これをマス
タと呼ぶ)についての映像をモニタ上に表示し、当該モ
ニタ上の映倣を見ながら最適と考えられる映像位置を選
定して監視領域Kl,K2・・・・・・を手動で設定す
るようになされている。
As described above, in this type of object recognition device, whether or not the monitoring regions Kl, K2, etc. can be set at as appropriate positions as possible is one of the conditions that has a huge impact on the error rate of the judgment results. Conventionally, before starting the monitoring operation, the operator displays an image of the standard product to be monitored (this is called the master) on a monitor, and then selects the optimal product while watching the image on the monitor. Possible video positions are selected and monitoring areas Kl, K2, . . . are manually set.

ところがこのようにして監視領域を人手によって設定し
ようとする場合、実際上設定作業が極めて煩雑になるこ
とを避け得ない. 例えばプリント配線基板上のマウント部品点数が多い場
合には、監視領域の設定作業はオペレータにとって過大
な負担になる。
However, when attempting to manually set the monitoring area in this manner, the setting work inevitably becomes extremely complicated. For example, when a large number of parts are mounted on a printed wiring board, setting the monitoring area becomes an excessive burden on the operator.

また射出戒形機監視装置の場合、射出戒形製品の明るさ
が中間レベルの場合にはその中でも最も判定誤り率が少
ない映保位置を人手によって選定することは困難な場合
が多い。
In addition, in the case of an ejection control aircraft monitoring device, when the brightness of the ejection control product is at an intermediate level, it is often difficult to manually select the image capture position with the lowest judgment error rate among them.

本発明は以上の点を考慮してなされたもので、監視領域
を実用上十分に高い判定精度を得ることができるような
位置に自動的に初期設定し得るようにした物体認識装置
を提案しようとするものである。
The present invention has been made with the above points in mind, and we would like to propose an object recognition device that can automatically initialize the monitoring area to a position where it is possible to obtain a sufficiently high judgment accuracy for practical use. That is.

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

かかる問題点を解決するため第1の発明においては、テ
レビジョンカメラl6によって認識対象を撮像すること
により得られるビデオ信号VDが表す表示画面PIC上
の所定の監視位置に監視領域Kl,K2・・・・・・を
設定し、当該監視頷域Kl、K2・・・・・・から得ら
れる明るさ情報DWCHの変化を監視することにより認
識対象が正常か否かを判定する物体認識装置において、 表示画面PICにマスタを表示した状態において、表示
画面PIC上に複数の初期設定範囲SET”i?構成さ
れた自動設定区画SECII〜SEC?4、SEC4 
1及びSEC4 2を設定し、表示画面PICにマスタ
を表示した状態において自動設定区画SECII〜SE
C34、SEC4 1及びSEC4 2に含まれる初期
設定範囲SETについての明るさ情報DWCHをそれぞ
れ求め、当該求めた明るさ情報DWCHのうち正常か否
かを判定し易い明るさ情報をもつ初期設定範囲SETを
代表初期設定範囲SET■に決定し、代表初期設定範囲
SET■に監視領域K1、K2・・・・・・を設定する
ようにする. また第2の発明においては、第1の発明に加えて、代表
初期設定範囲SET,角に含まれるサンプル点を監視位
置として監視領域Kl,K2・・・・・・を順次設定し
てそれぞれ第2の明るさ情報を求め、各サンプル点のう
ち第2の明るさ情報のうち正常か否かを判定し易い明る
さ情報をもつサンプル点を監視領域K1、K2・・・・
・・の初期設定位置として決定するようにする. 〔作用〕 ?1の発明において、 代表初期設定範囲SET■は各
自動設定区fisEc11〜SEC34、SEC4 1
及びSEC42の中でも最も判定し易い明るさ情報をも
っており、従って判定結果の誤り率を低減し得、かくす
るにつき監視領域K1、K2・・・・・・の初期設定を
オペレータに負担をかけないようにできる. また第2の発明において、代表初期設定範囲SET門の
中でも最も判定し易い明るさ情報をもっている監視位直
に監視領域K1、K2・・・・・・を設定できることに
より、この分判定結果の誤り率をさらに一段と低減し得
る. 〔実施例〕 以下゛図面について、本発明の一実施例を詳述する. 〔1〕第1実施例の全体構或 第1図において、14は全体として物体認識装置を示し
、第19図について上述した射出戒形機本体15の監視
に適用されている.テレビジョンカメラ16は視野FI
LDにある可動側型及びその周辺を撮倣して得たビデオ
信号VDを出力し、このビデオ信号VDをCPU17の
制御の下にビデオデータ入力回路18においてビデオデ
ータDATAに変換して認識情報メモリ19に取り込ま
せる。
In order to solve this problem, in the first invention, monitoring areas Kl, K2, . In an object recognition device that determines whether or not a recognition target is normal by setting ... and monitoring changes in brightness information DWCH obtained from the monitoring nod areas Kl, K2, ... With the master displayed on the display screen PIC, multiple initial setting ranges SET”i? configured automatic setting sections SECII to SEC?4, SEC4 are displayed on the display screen PIC.
1 and SEC4 2, and the master is displayed on the display screen PIC, the automatic setting sections SECII to SE
Find the brightness information DWCH for each of the initial setting ranges SET included in C34, SEC4 1, and SEC4 2, and among the obtained brightness information DWCH, select the initial setting range SET that has brightness information that makes it easy to determine whether it is normal or not. is determined as the representative initial setting range SET■, and monitoring areas K1, K2, etc. are set in the representative initial setting range SET■. Further, in the second invention, in addition to the first invention, monitoring areas Kl, K2, etc. are sequentially set with sample points included in the representative initial setting range SET and corners as monitoring positions, respectively. The second brightness information of each sample point is determined, and sample points having brightness information that makes it easy to determine whether or not the second brightness information is normal are selected from the monitoring areas K1, K2, etc.
The default position of ... is determined. [Effect]? In the invention of 1, the representative initial setting range SET■ is each automatic setting section fisEc11 to SEC34, SEC4 1
It has brightness information that is the easiest to judge among the SEC42 and SEC42, and therefore can reduce the error rate of judgment results, thereby reducing the burden on the operator in initial setting of the monitoring areas K1, K2, etc. It can be done. In addition, in the second invention, by being able to set the monitoring areas K1, K2, etc. directly to the monitoring area that has the brightness information that is easiest to judge among the representative initial setting range SET gates, errors in the judgment results can be avoided. The rate can be further reduced. [Embodiment] An embodiment of the present invention will be described in detail below with reference to the drawings. [1] Overall structure of the first embodiment In FIG. 1, 14 indicates an object recognition device as a whole, which is applied to monitor the ejection command machine body 15 described above with reference to FIG. 19. Television camera 16 has field of view FI
A video signal VD obtained by photographing and copying the movable side mold in the LD and its surroundings is output, and this video signal VD is converted into video data DATA in the video data input circuit 18 under the control of the CPU 17 and is stored in the recognition information memory. Let 19 take it in.

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

この実施例の場合CPU17は、同期分離回路部25に
よってビデオ信号VDから分離された同期信号を受け、
アナログ/デイジタル変換回路構成のビデオデータ入力
回路l8においてビデオ信号VDをサンプリングした後
ビデオデータDATAに変換して認識情報メモリ19の
対応するメモリエリアに取り込むようになされている.
CPU17は制11信号入出力回路部27を介して射出
威形機本体15との間に制御信号CONTを受け渡し、
かくして射出成形機本体l5が射出威形サイクルの各工
程を実行して行くのに応動して対応するデータ処理を実
行し得るようになされている. テレビジョンカメラl6から得られるビデオ信号VDは
合威回路部31を介してモニタ32に供給され、これに
より第3図に示すように、表示画面PIC上に視野FI
LDに対応する映像を表示する. これと共にCPU17は監視領域Kl%K2・・・・・
・を表す監視film表示データKDISをグラフィッ
ク表示制御部33に与えることにより、監視領域表示信
号VDKを合或回路部3lに供給し、これによりモニタ
32の表示百面PIC上に視野FILDの映倣に対して
監視頷域Kl,K2・・・・・・をスーパーインポーズ
表示させるようになされている. この実施例の場合CPU17は、レジスタ部23(第2
図)のマーク位置指定データレジスタREG2のマーク
位置指定データD2と、マーク形状指定データレジスタ
REGIのマーク形状指定データD1とによって監視領
域Kl,K2・・・・・・において使用すべきマーク形
状及び監視位WPI(X +, V +)、P2(X!
.7冨)・・・・・・を表すデータを監視領域表示デー
タKDISとしてグラフィック表示制御部33に与え、
グラフィック表示制御部33は当該監視領域表示データ
KDISに対応するタイξングで表示画面PICの輝度
を高くするような映像信号でなる監視領域表示信号VD
Kを発生する. またこの実施例の場合監視領域K1、K2・・・・・・
のマーク形状として外形形状及び大きさが異なる複数の
マークデータが用意され、オペレータがその1つを操作
入力部21を介して指定したとき当該指定データをマー
ク形状指定データD1として格納できるようになされて
いる. CPU17は監視領域K1、K2・・・・・・における
明るさ情報を認識情報メモリl9に取り込まれたビデオ
データDATAに基づいて監視データ形威部35におい
て形威させる. 認識情報メモリ19は射出戒形機本体15が型開後突出
前の状態になったタイミングで得られるビデオデータD
ATAを取り込む第1のフレームメモリ19Aと、続い
て突出後のタイくングで得られるビデオデータDATA
を取り込む第2のフレームメモリ19Bとを有し、CP
U17は第1及び第2のフレームメモリ19A及び19
Bに格納されているビデオデータDATAのうちレジス
タ部23(第2図)のマーク位置データレジスタREG
3のマーク位置データD3と、マーク形状指定データレ
ジスタREGIのマーク形状指定データDIとによって
決まる監視頷域K1、K2・・・・・・に相当するデー
タを監視データ形戒部35のシフタ35A及び積分器3
5Bにおいて積分し、これを監視データDWCHとして
レジスタ部23(第2図)の型開後突出前監視データレ
ジスタREG5及び突出後監視データレジスタREG6
にそれぞれ型開後突出前監視データD5及び突出後監視
データD6として格納する. かくして射出戒形機本体l5が正常な突出動作をしたと
き各監視点における監視データDWCHの値が判定基準
値データレジスタREG4 (第2図)に格納されてい
る判定基準値データD4でなる判定レベルを横切るよう
に変化するのに対して、射出戒形製品が突き落とされず
に残った場合には監視データDWCHの値が判定基準値
データD4でなる判定レベルを横切るような変化をしな
いことにより、射出威形機本体15が正常に射出戒形製
品の突落し動作をしたか否かを判定できるようになされ
ている. CPU17は判定基準値データD4として、過去複数回
の型開後突出前監視データD5及び突出後監視データD
6に基づいて、その中間値すなわち 2 を演算によって求めてレジスタ部23の判定基準僅デー
タレジスタREG4に格納するようになされている。
In this embodiment, the CPU 17 receives the synchronization signal separated from the video signal VD by the synchronization separation circuit section 25,
A video data input circuit 18 having an analog/digital conversion circuit configuration samples the video signal VD, converts it into video data DATA, and loads the video data into a corresponding memory area of the recognition information memory 19.
The CPU 17 transmits a control signal CONT to the injection machine main body 15 via the control signal input/output circuit section 27,
In this way, as the injection molding machine main body l5 executes each step of the injection molding cycle, the corresponding data processing can be executed. The video signal VD obtained from the television camera l6 is supplied to the monitor 32 via the combining circuit section 31, and as a result, the visual field FI is displayed on the display screen PIC, as shown in FIG.
Displays the video corresponding to the LD. Along with this, the CPU 17 monitors the monitoring area Kl%K2...
By supplying the monitoring film display data KDIS representing . The monitoring nod areas Kl, K2, etc. are superimposed on the display. In this embodiment, the CPU 17 controls the register section 23 (second
The mark shapes to be used in the monitoring areas Kl, K2, etc. and the monitoring are determined by the mark position designation data D2 of the mark position designation data register REG2 and the mark shape designation data D1 of the mark shape designation data register REGI in the figure). Position WPI (X +, V +), P2 (X!
.. 7)... is given to the graphic display control unit 33 as monitoring area display data KDIS,
The graphic display control unit 33 generates a monitoring area display signal VD, which is a video signal that increases the brightness of the display screen PIC at a timing corresponding to the monitoring area display data KDIS.
Generates K. In addition, in this embodiment, the monitoring areas K1, K2...
A plurality of mark data having different external shapes and sizes are prepared as mark shapes, and when an operator designates one of them through the operation input section 21, the designated data can be stored as mark shape designation data D1. ing. The CPU 17 applies brightness information in the monitoring areas K1, K2, . The recognition information memory 19 stores video data D obtained at the timing when the injection molding machine main body 15 is in the state after mold opening and before ejection.
A first frame memory 19A that captures ATA, and then video data DATA obtained by tying after projection.
a second frame memory 19B that takes in the CP
U17 is the first and second frame memory 19A and 19
Among the video data DATA stored in B, the mark position data register REG of the register section 23 (FIG. 2)
The shifter 35A of the monitoring data type control unit 35 and Integrator 3
5B, and outputs the result as monitoring data DWCH to the post-mold opening and pre-ejection monitoring data register REG5 and the post-ejection monitoring data register REG6 of the register section 23 (FIG. 2).
The data are stored as post-mold opening and pre-ejection monitoring data D5 and post-ejection monitoring data D6, respectively. Thus, when the ejection command machine main body l5 makes a normal ejection operation, the value of the monitoring data DWCH at each monitoring point becomes the judgment level consisting of the judgment standard value data D4 stored in the judgment standard value data register REG4 (Fig. 2). On the other hand, if the injection product is not pushed down and remains, the value of the monitoring data DWCH does not change so as to cross the judgment level formed by the judgment reference value data D4. It is possible to judge whether or not the main body 15 of the ejecting product has been properly dropped. The CPU 17 uses the past multiple mold opening, pre-ejection monitoring data D5 and post-ejection monitoring data D as the determination reference value data D4.
6, the intermediate value thereof, ie, 2, is calculated and stored in the judgment criterion small data register REG4 of the register section 23.

(2〕監視領域の初期設定 CPU17は、第4図及び第5図に示す明るさ情報処理
動作原理に基づいて、表示画面PICに予め標準製品(
すなわちマスタ)の映像を表示している状態において、
監視領域Kj (j=1、2・・・・・・)を最適位置
に自動的に初期設定する.すなわち表示画面PIGは、
第4図に示すようにX方向及びy方向にそれぞれ4区画
及び3区画ずつ、合計4X3=12区画分の自動設定区
画SECll−SEC34に格子状に区分けされる.各
自動設定区画SECI 1−SEC34はそれぞれX方
向及びy方向に3X3=9個分の初期設定範囲SETを
格子状に配列してなり、各初期設定範囲SETは第5図
に示すように、X方向及びy方向に5 X 5 =25
個の画素の輝度を表すサンプルビデオデータを配列して
なる. CPU17は監視領域初期設定モード時、自動設定区画
SECI L SECl2・・・・・・SEC34にそ
れぞれ含まれている9個の初期設定範囲SETについて
、各初期設定範囲SETに含まれるサンプルビデオデー
タを積分することにより初期設定範囲SETの積分輝度
データでなる初期設定範囲明るさ情報を、射出戒型機本
体l5の突出前のタイξング及び突出後のタイミングに
ついて求め、この突出前及び突出後の初期設定範囲明る
さ情報の偏差が最大になる(従って最も判定し易い明る
さ情報をもっている)初期設定範囲SETを自動設定区
画SECII、SEC12・・・・・・SEC34をそ
れぞれ代表する初期設定範囲、すなわち代表初期設定範
囲SETpm(第4図において斜線を付して示す)とし
て決定する. かくして第1段階の明るさ情報の処理が終了し、CPU
17は続いて第2段階の明るさ情報処理として当該代表
初期設定範囲SET?.の中から最も判定し易い明るさ
情報をもつ最適な監視位置を決定する。
(2) Initial setting of the monitoring area The CPU 17 presets the standard product (
In other words, while displaying the image of the master),
The monitoring area Kj (j=1, 2, etc.) is automatically initialized to the optimal position. In other words, the display screen PIG is
As shown in FIG. 4, the area is divided into automatically set sections SECll-SEC34 of 4×3=12 sections in a grid pattern, with 4 sections and 3 sections in the X direction and y direction, respectively. Each automatic setting section SECI 1-SEC34 is formed by arranging 3x3=9 initial setting ranges SET in a grid shape in the X direction and the y direction, and each initial setting range SET is 5 x 5 = 25 in direction and y direction
It consists of an array of sample video data representing the brightness of each pixel. In the monitoring area initial setting mode, the CPU 17 integrates the sample video data included in each initial setting range SET for the nine initial setting ranges SET included in each of the automatic setting sections SECI L SECl2...SEC34. By doing this, the initial setting range brightness information consisting of the integral brightness data of the initial setting range SET is obtained for the timing before and after the ejection of the ejector type aircraft main body l5, and the initial setting range before and after the ejection is determined. The initial setting range SET in which the deviation of the setting range brightness information is maximum (therefore having the brightness information that is easiest to judge) is automatically set as the initial setting range representing each section SECII, SEC12...SEC34, i.e. The representative initial setting range SETpm (shown with diagonal lines in FIG. 4) is determined. In this way, the first stage of brightness information processing is completed, and the CPU
17 is followed by the second step of brightness information processing, which is the representative initial setting range SET? .. The optimal monitoring position with the brightness information that is easiest to determine is determined from among these.

すなわちCPU17は第5図に示すように、代表初期設
定範囲S E T P lを構戊する5x5=25個の
画素の位置(x=t,y=u)、(x=t+−1、y=
u)・・・・・・(x=t+4、y=u+4)に監視領
域Kjを設定したとき当該監視領域Kjのマーク形状の
範囲に入るサンプルビデオデータ(この実施例の場合3
X3=9個のサンプルビデオデータ)を積分した値を演
算することにより監視領域明るさ情報を形成し、各サン
プル点において突出前及び突出後の監視領域明るさ情報
の偏差が最大になる(従って最も判定し易い明るさ情報
をもっている)サンプル点を当該代表初期設定範囲SE
TPIIの最適設定位置として決定し、これをマーク位
置指定データD2としてレジスタ部23のマーク位置指
定データレジスタREG2に格納する.この実施例の場
合認識情報メモリ19(第1図)の第1及び第2フレー
ムメモリ19A及び19BにはX方向のサンプリング点
及びy方向のサンプリング点の交点をアドレスとする突
出前及び突出後の各サンプル点のサンプルビデオデータ
DATAが格納され、CPU17ほこのサンプルビデオ
データを用いて上述の第1段階及び第2段階の明るさ情
報の処理を実行する. また監視領域Kj (J=1、2・・・・・・)の位置
はマーク形状の左上隅の点(第5図の場合、サンプル点
Qjt+a (x=t,y=u))のアドレスを指定す
ることにより位置決めでき、当該左上隅の点を基準にし
てマーク形状の範囲に入るサンプル点のビデオデータを
積分した値を当該監視領域Kj(j=1、2・・・・・
・)の明るさを表す監視領域明るさ情報でなる監視デー
タDWCHとしてレジスタ部23の型開後突出前監視デ
ータレジスタREG5及び突出後監視データレジスタR
EG6にそれぞれ型開後突出前監視データ(これを第1
の監視データと呼ぶ)D5及び突出後監視データ(これ
を第2の監視データと呼ぶ)D6として格納するように
なされている. このようにしてオペレータが予め標準製品(すなわちマ
スタ)について監視領域Kjの監視位置Qjv−を初期
設定したとき、その後各射出威型サイクルにおいて射出
戒型製品を製造する際に全く同一の映像がビデオデータ
DATAとして取り込まれてくれば、CPU17は監視
位1iQjtuを基準にして監視領域KJについて積分
して求めた監視領域明るさ情報を適正な第1及び第2の
監視データD5及びD6としてレジスタ部23に取り込
むことができる。
That is, as shown in FIG. 5, the CPU 17 determines the positions (x=t, y=u), (x=t+-1, y =
u) When the monitoring area Kj is set at (x=t+4, y=u+4), sample video data that falls within the range of the mark shape of the monitoring area Kj (in this example, 3
The monitoring area brightness information is formed by calculating the integrated value of X3 = 9 sample video data), and the deviation of the monitoring area brightness information before and after the projection is maximum at each sample point (therefore, The sample point (having the brightness information that is easiest to judge) is set in the representative initial setting range SE.
The optimal setting position of TPII is determined, and this is stored in the mark position designation data register REG2 of the register section 23 as mark position designation data D2. In this embodiment, the first and second frame memories 19A and 19B of the recognition information memory 19 (FIG. 1) are stored in the pre-projection and post-projection frames whose addresses are the intersections of the sampling points in the X direction and the sampling points in the y direction. Sample video data DATA of each sample point is stored, and the CPU 17 executes the above-mentioned first and second stage brightness information processing using the sample video data. The position of the monitoring area Kj (J=1, 2...) is determined by using the address of the upper left corner point of the mark shape (in the case of Fig. 5, the sample point Qjt+a (x=t, y=u)). The position can be determined by specifying the point, and the value obtained by integrating the video data of the sample point that falls within the range of the mark shape based on the point at the upper left corner is calculated as the monitoring area Kj (j = 1, 2...
・) As monitoring data DWCH consisting of monitoring area brightness information representing the brightness of
Monitoring data after mold opening and before ejection (this is the first
(referred to as second monitoring data) D5 and post-ejection monitoring data (referred to as second monitoring data) D6. In this way, when the operator initializes the monitoring position Qjv- of the monitoring area Kj for the standard product (i.e., master) in advance, the exact same image will be displayed on the video when manufacturing the injection molding product in each injection molding cycle thereafter. When the data is imported as data DATA, the CPU 17 stores the monitoring area brightness information obtained by integrating the monitoring area KJ based on the monitoring position 1iQjtu as appropriate first and second monitoring data D5 and D6 in the register unit 23. can be imported into.

物体認識装置14は以上のようにしてマスタについて監
視領域K1、K2・・・・・・を自動設定した後射出戒
型機本体15の各射出戒型サイクルについて第6図に示
すような処理手順に従って物体認識処理を実行する。
After the object recognition device 14 automatically sets the monitoring areas K1, K2, etc. for the master as described above, the processing procedure shown in FIG. Execute object recognition processing according to the following.

〔3〕物体認識処理 CPUl7は第6図のステップSPIから物体認識処理
動作に入ると、射出戒型機本体15にマスタを設定した
状態において、ステップSP2においてオペレータが操
作入力部21からマーク形状指定データD1を人力操作
するのを待ち受け、当該入力操作がされたとき入力デー
タをマーク形状指定データレジスタREGIに取り込む
.続いてCPU17はステップSP3において認識情報
メモリ19の第1のフレームメモリ19Aに取り込まれ
ている型開後突出前のサンプルビデ?データと、第2の
フレームメモリ19Bに取り込まれている突出後のサン
プルビデオデータとに基づいて、監視データ形成部35
においてすべての自動設定区画SECI 1−SEC3
4 (第4図)における初期設定範囲SETの積分デー
タを求めると共に、当該積分データの偏差が最も大きい
初期設定範囲SETを代表初期設定範囲SET■として
決定する. かくして表示画面PIC(第4図)上に形威された12
個の自動設定区画SEC 1 1−SEC3 4につい
て、それぞれ1つの代表初期設定範囲SETPIが決定
されるが、CPU17は次のステップSP4において各
代表初期設定範囲SET,.について、そのうちでも突
出前及び突出後の積分データの偏差が最大になるサンプ
ル位M Q J L uを最適マーク位置として求める
[3] When the object recognition processing CPU 17 enters the object recognition processing operation from step SPI in FIG. It waits for the data D1 to be manually operated, and when the input operation is performed, the input data is taken into the mark shape specification data register REGI. Subsequently, in step SP3, the CPU 17 selects the sample bidet after mold opening and before ejection, which is taken into the first frame memory 19A of the recognition information memory 19. The monitoring data forming unit 35
All automatic configuration sections SECI 1-SEC3 in
4 (Figure 4), find the integral data of the initial setting range SET, and determine the initial setting range SET with the largest deviation of the integral data as the representative initial setting range SET■. 12 thus formed on the display screen PIC (Fig. 4)
One representative initial setting range SETPI is determined for each of the automatic setting sections SEC1 1 to SEC3 4, but the CPU 17 determines each representative initial setting range SET, . Among them, the sample position M Q J Lu where the deviation of the integral data before and after ejection is the largest is determined as the optimum mark position.

この結果最適マーク位置として求めることができたサン
プル位W Q J t uは、各自動設定区画SECl
l〜SEC3 4に含まれるすべてのサンプル位置に監
視領域Kjを設定した場合に、突出前及び突出後の積分
データの偏差が最も大きい位置になり、かくして監視5
■域Kjを最も判定し易い明るさ情報をもち、従って監
視動作の感度が最も高い位置に監視領域Kjを自動設定
し得たことを意味する. この状態においてCPU17はステップSP5に移って
当該最適マーク位置に設定された監視頷域Kjについて
、第1の監視データD5を型開後突出前監視データレジ
スタREG5 (第2図)に取り込む処理を実行した後
、ステップSP6において第2の監視データD6を突出
後監視データレジスタREG6に取り込む処理を実行す
る.このようにしてCPU17は、射出威型機本体15
を試験的に駆動して標準の射出或型製品(すなわちマス
タ)を製造する正常動作ができることを確認しながら、
その後に続く射出威型サイクルに立ち上がるまでの初期
データとして、第1及第2の監視データD5及びD6を
レジスタ部23に取り込むようになされている。
As a result, the sample position W Q J t u that could be determined as the optimal mark position is
When the monitoring area Kj is set at all sample positions included in l~SEC34, the deviation of the integral data before and after ejection is the largest, and thus the monitoring area Kj is set at all sample positions included in SEC34.
(2) This means that the monitoring area Kj can be automatically set at the position where the brightness information makes it easiest to determine the area Kj, and therefore the sensitivity of the monitoring operation is highest. In this state, the CPU 17 moves to step SP5 and executes a process of loading the first monitoring data D5 into the post-mold opening and pre-ejection monitoring data register REG5 (FIG. 2) for the monitoring area Kj set at the optimum mark position. After that, in step SP6, a process of loading the second monitoring data D6 into the post-extraction monitoring data register REG6 is executed. In this way, the CPU 17
Test drive to confirm that it can operate normally to produce a standard injection mold product (i.e. master).
The first and second monitoring data D5 and D6 are taken into the register section 23 as initial data until the start of the subsequent injection cycle.

かくして射出戒型サイクル開始前の監視領域Kjの自動
初期設定が終了し、CPU17はステップSP7に移っ
て以後射出戒型機本体15−が射出威型サイクルにおい
て射出戒型製品を1つずつ射出戒型する動作に同期しな
がら射出戒型機本体I5が順次型間動作、及び突出動作
をしたとき正常に射出戒型製品が突き落とされたか否か
の認識処理を実行する.その際に表示画面PIC上に自
動設定された監視頭域K1、K2・・・・・・に対して
映倣に位置ずれが生じたときこれに応じて監視領域K1
、K2・・・・・・の監視位置P1、P2・・・・・・
を補正するような処理を実行する。
In this way, the automatic initial setting of the monitoring area Kj before the start of the injection molding cycle is completed, and the CPU 17 moves to step SP7, after which the injection molding machine main body 15- injects the injection molding products one by one in the injection molding cycle. In synchronization with the molding operation, when the injection molding machine main body I5 sequentially performs the inter-mold movement and the ejecting operation, a recognition process is executed to determine whether or not the injection molding product has been properly pushed down. At that time, when a positional deviation occurs in the image pattern with respect to the monitoring head areas K1, K2, etc. that are automatically set on the display screen PIC, the monitoring area K1 is automatically set on the display screen PIC.
, K2... monitoring positions P1, P2...
Execute processing to correct the

すなわちCPU17は、ステップSP3及びSP4の処
理によってマーク位置指定データレジスタREG2に書
き込まれたマーク位置指定データD2に基づいて指定さ
れた監視頷域Kj(第7図)の監視位置PJ−を中心と
し、当該監視位W.PJ a+%を含んでその周囲の補
正範囲ARにある5×5−25個の監視点Pjxy(X
=m2、m − 1 ・−・・・・m+2、y=n−2
、n−1・・・・・・n+2)について、第1及び第2
フレームメモリ19A及びI9Bから監視領域Kjを各
監視位置Pjxyに移動したときの明るさデータ(すな
わち監視領域Kjに含まれるサンプルデータの積分値)
を監視データ形戒部35において積分演算により求め、
当該演算結果のうち突出前及び突出後における偏差が最
も大きい監視位i11Pjxyを求める。
That is, the CPU 17 centers on the monitoring position PJ- of the monitoring nod area Kj (FIG. 7) specified based on the mark position designation data D2 written in the mark position designation data register REG2 by the processing of steps SP3 and SP4, Said watch position W. 5×5−25 monitoring points Pjxy(X
= m2, m − 1 ... m + 2, y = n - 2
, n-1...n+2), the first and second
Brightness data when the monitoring area Kj is moved to each monitoring position Pjxy from the frame memories 19A and I9B (that is, the integral value of sample data included in the monitoring area Kj)
is obtained by integral calculation in the monitoring data type control unit 35,
Among the calculation results, the monitoring position i11Pjxy with the largest deviation before and after protrusion is determined.

その結果偏差が最大となったマーク位置における偏差デ
ータが、ステップSP3及びSP4において自動的に初
期設定した監視位1fQJ..と一敗したとき、このこ
とは現在の射出或型サイクルにおける射出成型機本体1
5の射出或型動作がマスタについて自動設定した監視位
置の明るさデータと一致していることを意味し、さらに
このことは実用上正しい認識結果を得ることができるよ
うな情報データをCPU17が取り込むことができたこ
とを意味する. これに対して偏差データが最大となる監視位置Pj.,
が自動設定された監視位置とは一致しない位置である場
合には、このことはテレビジョンカメラ16の視野FI
LD内の映像が初期設定された位置からずれている可能
性があることを意味している。
As a result, the deviation data at the mark position where the deviation is maximum is automatically set at the monitoring position 1fQJ in steps SP3 and SP4. .. This means that the injection molding machine main body 1 in the current injection mold cycle
This means that the injection or molding operation in step 5 matches the brightness data of the monitoring position automatically set for the master, and this also means that the CPU 17 imports information data that can obtain a practically correct recognition result. It means that you were able to do something. On the other hand, the monitoring position Pj. where the deviation data is maximum. ,
is a position that does not match the automatically set monitoring position, this means that the field of view FI of the television camera 16
This means that the image in the LD may be shifted from the initial position.

しかしこのような位置ずれが生じているとしても、偏差
データが最大となる監視位置に初期設定した監視頷域K
jの映像部分が実際の射出威型サイクルにおいて移動し
たのに対してこれに追従するように監視領域Kjが移動
したものと考えることができ、従って実用上誤認識を生
じさせるおそれがない程度に高い精度の識別情報を取り
込むことができたことを意味している。
However, even if such positional deviation occurs, the monitoring nod area K is initially set at the monitoring position where the deviation data is maximum.
It can be considered that the monitoring area Kj has moved to follow the movement of the image part of Kj in the actual ejection type cycle, and therefore, it can be considered that the monitoring area Kj has moved to the extent that there is no risk of causing erroneous recognition in practical use. This means that we were able to capture highly accurate identification information.

さらにCPU17はステップSP7において型間後突出
前監視データD5及び突出後監視データD6に基づいて
判定基準値データD4を(1)式によって演算する. その後CPU17は射出戒型機本体15が型開後突出前
のタイミングになったことを制御信号人出力回路部27
から取り込んだ制御信号CONTによって確認したとき
ステップSP8に移って、第1のフレームメモリ19A
から第1の監視データD5を監視データ形戒部35を介
して型開後突出前監視データレジスタREG5に取り込
んだ後、ステップSP9において判定基準値に対して当
該突出前監視データが正常な明るさレベルをもっている
か否かの判断をする。
Further, in step SP7, the CPU 17 calculates determination reference value data D4 using equation (1) based on the pre-ejection monitoring data D5 and the post-ejection monitoring data D6. Thereafter, the CPU 17 sends a control signal to the human output circuit section 27 to indicate that the injection molding machine main body 15 has reached the timing after mold opening and before ejection.
When it is confirmed by the control signal CONT fetched from
After importing the first monitoring data D5 from the above into the post-mold opening and pre-ejection monitoring data register REG5 via the monitoring data format controller 35, the pre-ejection monitoring data is determined to have normal brightness with respect to the determination reference value in step SP9. Determine whether or not you have the level.

ステップSP9において肯定結果が得られるとCPU1
7は射出成型機本体15が突出動作をしたタイミングに
おいてステップSPIOに移って、第2のフレームメモ
リ19Bから監視データ形或部35を介して第2の監視
データD6を突出後監視データレジスタREG6に取り
込んだ後、ステップSPIIにおいて判定基準値を用い
て第2の監視データD6が正常か否かの判断をする。
If a positive result is obtained in step SP9, CPU1
7 moves to step SPIO at the timing when the injection molding machine main body 15 performs the ejecting operation, and outputs the second monitoring data D6 from the second frame memory 19B via the monitoring data format section 35 to the monitoring data register REG6. After importing, it is determined in step SPII whether or not the second monitoring data D6 is normal using the determination reference value.

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

これに対してステップSP9又はSPIIにおいて否定
結果が得られると、このことは、射出戒型機本体15の
射出威型サイクルに異常が生じたことを意味し、このと
きCPU17はステップSP12においてオペレータが
当該不良原因を除去するような処理を実行するのを待ち
、当該処理が終了したとき上述のステップSP8に戻っ
て新たな監視データD5及びD6の取込み及び判定処理
を繰り返す. ここでCPU17がステップSP12から上述のステッ
プSP7に戻らないのは、不良発生時には正しい監視デ
ータD5及びD6が得られないので、監視領域Kjの監
視位置及び判定基準値データD4の変更をせずにそのま
ま次の判定処理において用いることを意味している。
On the other hand, if a negative result is obtained in step SP9 or SPII, this means that an abnormality has occurred in the ejection cycle of the ejection command machine main body 15, and in this case, the CPU 17 determines that the operator It waits for a process to eliminate the cause of the failure to be performed, and when the process is completed, returns to step SP8 to repeat the acquisition of new monitoring data D5 and D6 and the determination process. The reason why the CPU 17 does not return from step SP12 to step SP7 is that correct monitoring data D5 and D6 cannot be obtained when a defect occurs, so the CPU 17 does not return to step SP7 from step SP12 without changing the monitoring position of the monitoring area Kj and the judgment reference value data D4. This means that it is used as is in the next determination process.

当該繰返し処理時にステップSP7の演算を実行する際
、CPUl7はステップSP8及びSP9において新た
に取り込んだ監視データD5及びD6を用い、かくして
射出威型機本体15が1回射出戒型サイクルを実行する
ごとに監視領域Kjの監視位置及び判定基準値データD
4を更新して行く。
When executing the calculation in step SP7 during the repetitive processing, the CPU 17 uses the monitoring data D5 and D6 newly taken in in steps SP8 and SP9, and thus each time the ejection command machine main body 15 executes the ejection command cycle once. The monitoring position and judgment reference value data D of the monitoring area Kj are
I will update 4.

?上の構成によれば、表示画面PIC上の映像に対して
監視領域Kjを自動初期設定するにつき、予め表示画面
PICを複数の自動設定区画SEC11〜SEC34に
区分しておき、各自動設定区画SEC l l−SEC
34に含まれる初期設定範囲SETのうち異常が発生し
たとき明るさ情報が最も変化する初期設定範囲を代表初
期設定範囲SET,.に決定すると共に、当該代表初期
設定範囲SET,.に監視領域Kjを設定するようにし
たことにより、監視対象のうち最も異常動作に対する反
応が大きい映像部分に監視領域を自動設定することがで
きる。従って実用上十分に高い判定精度で物体認識処理
を実行し得、かくするにつきオペレータによる設定操作
を必要としない分オペレータの負担を一段と軽減し得る
物体認識装置を実現できる。
? According to the above configuration, when automatically initializing the monitoring area Kj for the video on the display screen PIC, the display screen PIC is divided in advance into a plurality of automatic setting sections SEC11 to SEC34, and each automatic setting section SEC l l-SEC
Among the initial setting ranges SET included in SET, SET, . , and the representative initial setting range SET, . By setting the monitoring area Kj to , it is possible to automatically set the monitoring area to a video portion of the monitoring target that has the greatest reaction to an abnormal operation. Therefore, it is possible to realize an object recognition apparatus that can perform object recognition processing with a determination accuracy that is high enough for practical use, and that can further reduce the burden on the operator since no setting operations are required by the operator.

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

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

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

また自動設定区画SEC42は、第1の自動設定区画S
EC4 1から右下方に離れて、表示画面PICの右下
位置に設定され、5 X 5 =25個のサンプルビデ
オデータを含む8個の初期設定範囲SETを有する大き
さをもち、かつ当該初期設定範囲SETはχ方向及びy
方向に2×4のような形状に配列されている. 第8図の構成によれば、被認識対象の映像として表示画
面PICの一部に集中的に異常な発生の反応部分がある
ような場合に、当該反応が大きい映像部分に限って自動
設定区画SEC4 1及びSEC42を設定することが
できることにより、表示画面PIC全体に亘って自動設
定区画を設定する場合と比較して処理すべきデータ量を
格段的に少なくでき、この分物体認識装置の構成を全体
として小型化し得る. ?5〕他の実施例 (1)第4図又は第8図の実施例の場合は、各自動設定
区画SECII〜SEC34、又はSEC41及びSE
C4 2に代表初期設定範囲SET,.を選定するにつ
き、代表初期設定範囲SET■をl?だけ選定するよう
にしたが、第4図又は第8図に対応させて第9図又は第
lO図に示すように、各自動設定区画SECII〜SE
C34又はSEC41及びSEC4 2において明るさ
情報の偏差が所定の判定レベル以上になったときには1
つに限らず複数の代表初期設定範囲SETPRを選定し
、当該複数の代表初期設定範囲SET,.に含まれるす
べてのサンプルデータを対象として監視領域Kjを設定
すべき最適位置の判定を実行するようにしても上述の場
合と同様の効果を得ることができる。
Further, the automatic setting section SEC42 is the first automatic setting section S.
It is set at the lower right position of the display screen PIC, away from EC4 1 to the lower right, and has a size of 8 initial setting ranges SET including 5 x 5 = 25 sample video data, and the initial setting. The range SET is in the χ direction and y
They are arranged in a 2x4-like shape. According to the configuration shown in FIG. 8, when there is a concentrated abnormal reaction area in a part of the display screen PIC as the image to be recognized, the automatic setting section is set only for the image area where the reaction is large. By being able to set SEC41 and SEC42, the amount of data to be processed can be significantly reduced compared to the case where automatic setting sections are set over the entire display screen PIC. The overall size can be made smaller. ? 5] Other embodiments (1) In the case of the embodiment of FIG. 4 or FIG. 8, each automatic setting section SECII to SEC34, or SEC41 and SE
C4 2 is the representative initial setting range SET, . When selecting the representative initial setting range SET■? However, as shown in FIG. 9 or FIG.
1 when the deviation of brightness information exceeds a predetermined judgment level in C34 or SEC41 and SEC42.
A plurality of representative initial setting ranges SETPR, not limited to SETPR, are selected, and the plurality of representative initial setting ranges SET, . The same effect as the above case can be obtained even if the optimum position at which the monitoring area Kj should be set is determined for all the sample data included in the sample data.

(2)第6図の物体t!識処理手順の実施例においては
、ステップSP3において代表初期設定範囲SET■を
決定した後続いてステップSP4において当該代表初期
設定範囲SET■に含まれるサンプルデータのうちから
最適マーク位置を求めるようにしたが、これに代え、ス
テップSP3において代表初期設定範囲SETP,Iを
決定したとき、予め決めておいた特定位置(例えば中央
位置)を最適マーク位置として設定するようにしても良
い。
(2) Object t in Figure 6! In the embodiment of the identification processing procedure, after the representative initial setting range SET■ is determined in step SP3, the optimum mark position is found from among the sample data included in the representative initial setting range SET■ in step SP4. Instead, when the representative initial setting range SETP,I is determined in step SP3, a predetermined specific position (for example, the center position) may be set as the optimum mark position.

このようにすれば、代表初期設定範囲SETPIを決定
したときこれに連動するように最適マーク位置を決める
ことができる分物体認識処理手順を簡略化し得る。
In this way, when the representative initial setting range SETPI is determined, the optimal mark position can be determined in conjunction with the determination of the representative initial setting range SETPI, and the separate object recognition processing procedure can be simplified.

因にこのようにした場合、その後の射出成型サイクルの
処理手順において、ステップSP7における処理を実行
する際に、ステップSP3によって決定された最適マー
ク位置に基づいて被監視対象の映像に対して監視領域を
設定し直すような処理を実行するが、その際に、実際上
最も反応が大きい映像部分に追従するように監視領域を
移動させることができることにより、実用上上述の場合
と同様の効果を得ることができる. (3)第4図及び第8図、第9図及び第10図の実施例
の場合は、各自動設定区画SECII〜SEC34、S
EC4 1及びSEC4 2について個別に監視領域K
jを移動させるようにした場合について述べたが、監視
領域Kjの1つを移動させる必要が生じたときこれに応
じて表示画面PIC全体の監視領域を次に述べる手法を
用いて一斉に移動させるようにしても良い. 第1の方法は複数の監視領域Kjのうち、予め選定した
1つの監視領域について最適な監視位置を求める演算を
実行し、その結果X方向及びy方向に距離ΔX及びΔy
だけ監視位置を移動させるような演算結果を得た場合に
は、当該移動量の演算の基礎となった当該監視領域以外
の監視領域の位置を同じ量、すなわち距離ΔX及びΔy
だけ移動させるようにする。
Incidentally, if this is done, in the processing procedure of the subsequent injection molding cycle, when executing the process in step SP7, the monitoring area is determined for the video of the monitored object based on the optimal mark position determined in step SP3. In this case, the monitoring area can be moved to follow the part of the video that actually has the greatest reaction, thereby achieving the same practical effect as the above case. be able to. (3) In the case of the embodiments shown in FIGS. 4 and 8, 9 and 10, each automatic setting section SECII to SEC34, S
Individual monitoring area K for EC4 1 and SEC4 2
We have described the case where Kj is moved, but when it becomes necessary to move one of the monitoring areas Kj, the monitoring area of the entire display screen PIC is moved simultaneously using the method described below. You can do it like this. The first method is to perform calculations to find the optimal monitoring position for one monitoring area selected in advance among the plurality of monitoring areas Kj, and as a result, distances ΔX and Δy in the X and y directions are calculated.
If the calculation result is such that the monitoring position is moved by
Make sure to move only the

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

また第2の方法として、表示画面PIC上に設定する監
視領域Kjから得られた明るさ情報を変数とする関数に
よって移動量ΔX及びΔyを演算し、当該移動量ΔX及
びΔyに基づいてすべての監視領域Kjを移動させるよ
うにする.すなわち監視領域Kj (j=1、2・・・
・・・)の突出前及び突出後の明るさ情報の偏差Bl(
ΔX、Δy)、B2 (ΔX、Δy)・・・・・・を検
出したとき、次式 B=lB+(ΔX、Δy) +l Bt (ΔX、Δy) +・・・・・・ ・・・・・・ (2) のような輝度差関数Bを演算し、当該輝度差関数Bが最
大となるような移動量ΔX及びΔyを求め、当該移動量
ΔX及びΔyだけすべての監視領域Kj (j=1、2
・・・・・・)の設定位置を一斉に移動するようにする
In addition, as a second method, the movement amounts ΔX and Δy are calculated by a function whose variable is the brightness information obtained from the monitoring area Kj set on the display screen PIC, and all the The monitoring area Kj is moved. That is, the monitoring area Kj (j=1, 2...
) deviation Bl(...) of the brightness information before and after the projection
When detecting ΔX, Δy), B2 (ΔX, Δy)..., the following formula B=lB+(ΔX, Δy) +l Bt (ΔX, Δy) +... ... (2) Calculate the brightness difference function B, find the moving amounts ΔX and Δy that maximize the brightness difference function B, and move all monitoring areas Kj by the moving amounts ΔX and Δy (j= 1, 2
...) to move the set positions all at once.

このようにすれば、表示画面PIC上の監視領域Kjの
輝度差情報を失わないように配慮しながら移動距離ΔX
及びΔyを決めることができることにより、表示画面P
rC全体として実用上十分な精度で監視領域Kjを設定
することができる.(4)上述の実施例においては、監
視領域Kjに含まれるサンプルビデオデータを積分する
際に、すべてのサンプルビデオデータを共通の重み付け
係数の下に積算したが、これに代え、第11図に示すよ
うに、認識対象の特徴に応じてサンプルビデオデータの
監視領域Kj内のサンプルビデオデータの位置によって
必要に応じて重み付け係数を変更するようにしても良い
In this way, the moving distance ΔX can be adjusted while taking care not to lose the brightness difference information of the monitoring area Kj on the display screen PIC.
By being able to determine and Δy, the display screen P
The monitoring area Kj can be set with sufficient accuracy for practical use as a whole of rC. (4) In the above embodiment, when integrating the sample video data included in the monitoring area Kj, all the sample video data were integrated under a common weighting coefficient. As shown, the weighting coefficient may be changed as necessary depending on the position of the sample video data within the monitoring area Kj of the sample video data according to the characteristics of the recognition target.

因みに第11図の場合、中心点に表示画面上特に高い輝
度をもつような映像部分を監視領域Kjによって検出し
ようとする場合、周囲のサンプルデータに対して重み付
け係数をr1,に設定すると共に、中心点のサンプルデ
ータに対して重み付け係数「8」を設定するようにする
。このようにすれば中心位置の輝度が大きい位置を監視
領域Kjの最適位置として監視領域KJを設定できるこ
とになる。
Incidentally, in the case of FIG. 11, when trying to detect a video part whose center point has particularly high brightness on the display screen using the monitoring area Kj, the weighting coefficient for the surrounding sample data is set to r1, and A weighting coefficient of "8" is set for the sample data at the center point. In this way, the monitoring area KJ can be set with the position where the brightness at the center position is high as the optimum position for the monitoring area Kj.

(5)  上述の実施例においては、テレビジョンカメ
ラl6のビデオ信号VDに基づいてサンプルビデオデー
タを取り込むにつき、認識情報メモリ19に格納保持し
たデータをシフタ35A及び積分器35Bでなる監視デ
ータ形戒部35において偏差データを形威するようにし
た場合について述べたが、これに代え、第12図に示す
ように、テレビジョンカメラ16のビデオ信号VDをア
ナログ/デイジタル変換回路41においてデイジタルデ
ータに変換した後、加算回路42及びメモリ43でなる
積分回路44に供給してメモリ43に蓄積した積分デー
タをバス22を介してCPUI 7に取り込むように構
成することにより、リアルタイム方式で監視領域のサン
プルデータを得ることができるようにしても良い。
(5) In the above-described embodiment, when sample video data is taken in based on the video signal VD of the television camera l6, the data stored and held in the recognition information memory 19 is transferred to the monitoring data format formed by the shifter 35A and the integrator 35B. Although the case has been described in which the deviation data is expressed in the section 35, instead of this, as shown in FIG. After that, the integrated data is supplied to an integrating circuit 44 consisting of an adder circuit 42 and a memory 43 and accumulated in the memory 43, and is then fetched into the CPU 7 via the bus 22. By doing so, the sample data of the monitoring area is processed in real time. It may be possible to obtain.

第12図の実施例の場合、ビデオ信号VDに含まれてい
る同期信号SYNCが同期分離回路45において分離さ
れてタイミング制御回路46に供給されると同時に、C
PU17から初期設定範囲SET(第4図、第8図、第
9図、第10図)のサンプルデータ、又は監視領域Kj
(第5図、第7図のサンプルデータを取り込むべきタイ
ξング信号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 in the synchronization separation circuit 45 and supplied to the timing control circuit 46, and at the same time
Sample data of initial setting range SET (Fig. 4, Fig. 8, Fig. 9, Fig. 10) or monitoring area Kj from PU17
(A timing signal TM for capturing the sample data of FIGS. 5 and 7 is supplied to the timing control circuit 46 via the bus 22.

タイミング制御回路46はタイミング信号TMが与えら
れたとき、同期信号SYNCと同期しながらアナログ/
デイジタル変換回路4l、加算回路42及びメモリ43
に駆動信号を供給することにより、積分回路44のメモ
リ43に初期設定範囲SET及び監視領域Kjについて
の積分データを蓄積させる. 第12図の構戒において、アナログ/デイジタル変換回
路4lにおける変換開始動作のタイ果ングを士数クロツ
ク分ずらすことにより初期設定範囲SET又は監視領域
Kjを左右方向にずらすことができ、また士数H分タイ
ξングをずらすことにより初期設定範囲SET及び監視
領域Kjを上下方向にずらすことができる. 第12図の構或によれば、テレビジョンカメラ16のビ
デオ信号VDから必要に応じて明るさ情報を取り込むに
つき、当該明るさ情報をリアルタイムで取り込むことが
できることにより、物体認識対象の変化に対して応答性
良く認識処理を実行し得る. ?た第l2図の構成に代え、第13図に示すように、ア
ナログ/デイジタル変換回路4lから加算回路42への
データ伝送回路にゲート回路50を介挿し、このゲート
回路50をCPU17から供給されるタイミング信号T
Mに基づいてタイミング制御回路46において形威され
たゲート信号によって開閉制御することにより、初期設
定範囲SET及び監視領域Kjに相当するビデオデータ
を積分回路44に取り込むようにしても、第12図の場
合と同様の効果を得ることができる.なお第12図及び
第13図の実施例において、第8図又は第10図につい
て上述したように、任意の位置に任意の大きさ及び形状
の自動設定区画SEC4 1、SEC4 2を設定した
場合には、順次続くフレームごとに自動設定区@SEC
41、SEC4 2のデータを1区画分ずつ取り込むよ
うにしても良い. (6)第5図の実施例の場合には、代表初期設定範囲S
ET■において最適な監視位置に監視領域Kjを設定す
るにつき、代表初期設定範囲SET■?X方向及びy方
向について5 X 5 =25個のサンプルビデオデー
タの全部から積分値データを得るようにしたが、これに
代え、例えば第14図、第15図及び第16図に示すよ
うに、必要に応じて削減するようにしても良く、このよ
うにすれば、上述の場合と同様の効果を得ることができ
ると共に、演算時間をさらに一段と短縮することができ
る。
When the timing control circuit 46 receives the timing signal TM, the timing control circuit 46 performs an analog/
Digital conversion circuit 4l, addition circuit 42 and memory 43
By supplying a drive signal to the memory 43 of the integrating circuit 44, integral data regarding the initial setting range SET and the monitoring area Kj are accumulated. In the structure shown in FIG. 12, by shifting the timing of the conversion start operation in the analog/digital conversion circuit 4l by a number of clocks, the initial setting range SET or the monitoring area Kj can be shifted in the left and right direction. By shifting the timing ξ by H, the initial setting range SET and the monitoring area Kj can be shifted in the vertical direction. According to the structure shown in FIG. 12, when brightness information is taken in from the video signal VD of the television camera 16 as necessary, the brightness information can be taken in real time, so that changes in the object to be recognized can be handled. It is possible to perform recognition processing with good responsiveness. ? Instead of the configuration shown in FIG. 12, as shown in FIG. timing signal T
Even if the video data corresponding to the initial setting range SET and the monitoring area Kj is taken into the integrating circuit 44 by controlling the opening and closing by a gate signal generated in the timing control circuit 46 based on M, the result shown in FIG. You can get the same effect as in the case. In addition, in the embodiments shown in FIGS. 12 and 13, when automatic setting sections SEC4 1 and SEC4 2 of arbitrary size and shape are set at arbitrary positions as described above with reference to FIG. is automatically set for each successive frame @SEC
41, SEC4 2 data may be imported one section at a time. (6) In the case of the embodiment shown in FIG. 5, the representative initial setting range S
When setting the monitoring area Kj at the optimal monitoring position in ET■, the representative initial setting range SET■? Although integral value data was obtained from all 5 x 5 =25 sample video data in the X direction and the y direction, instead of this, for example, as shown in FIGS. 14, 15, and 16, It may be reduced if necessary, and in this way, the same effect as in the above case can be obtained, and the calculation time can be further shortened.

第14図の場合には、 代表初期設定範囲SETP*と
して、監視位W Q J t uを中心としてX方向及
びy方向に5×5の広さに範囲を設定するが、最適な監
視位置を判定するために取り込むデータとして監視点Q
jLuと、当該監視点Qjcuを通ってX方向及びy方
向に配列されている8つの監視点と、監視点Qjcuを
通って斜めの方向に配列されている8つの監視点とから
監視データを得るようにする.このようにすれば、取り
込むべき監視データの範囲として代表初期設定範囲SE
T■の広さを5×5の大きさに確保しながら、取り込む
べきデータ数を5 X 5 =25個から1+8+8=
17個に削減することができ、この分最適な監視位置を
判定するための演算時間を短縮することができる. また第15図の場合には、代表初期設定範囲SE T 
P *として監視点Qj1を中心として3×3の範囲に
限定する。このようにすれば第5図の場合にはデータを
取り込むべき監視点の数が5×5=25個であったのに
比較して、3X3=9個に削減することができ、かくし
て一段と演算時間を短縮し得る. 第16図の場合には、第15図の場合と比較して、監視
点QjLuを中心として斜め方向の4つ監視点をデータ
を取り込むべき監視点から削除したもので、このように
すれば、さらに一段と演算時間を短縮することができる
. (7)上述の実施例においては、監視領域Kjの監視点
として第5図について上述したように、監視領域Kjに
含まれるサンプル点のうち左上隅のサンプル点を用いる
ようにした場合について述べたが、その他のサンプル点
を用いるようにしても良く、要は監視領域Kjに含まれ
るサンプル点のうちの1つを用いるようにすれば良い。
In the case of Fig. 14, the representative initial setting range SETP* is set as a range of 5 x 5 in the X and Y directions with the monitoring position W Q J tu as the center. Monitoring point Q as data to be imported for judgment
Obtain monitoring data from 8 monitoring points arranged in the X and y directions passing through the monitoring point Qjcu, and 8 monitoring points arranged diagonally through the monitoring point Qjcu. Do it like this. In this way, the representative initial setting range SE can be used as the range of monitoring data to be imported.
While ensuring the size of T■ to be 5 x 5, the number of data to be imported is changed from 5 x 5 = 25 to 1 + 8 + 8 =
The number can be reduced to 17, and the calculation time for determining the optimal monitoring position can be reduced accordingly. In addition, in the case of Fig. 15, the representative initial setting range SE T
P* is limited to a 3×3 range centered on the monitoring point Qj1. In this way, compared to the case of Figure 5, where the number of monitoring points to capture data was 5 x 5 = 25, it can be reduced to 3 x 3 = 9, thus making calculations even easier. It can save time. In the case of Fig. 16, compared to the case of Fig. 15, four monitoring points in diagonal directions centering on the monitoring point QjLu are deleted from the monitoring points from which data should be taken. Furthermore, calculation time can be further reduced. (7) In the above-mentioned embodiment, as described above with reference to FIG. 5, the sample point in the upper left corner of the sample points included in the monitoring area Kj is used as the monitoring point of the monitoring area Kj. However, other sample points may be used, and in short, one of the sample points included in the monitoring area Kj may be used.

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

因に最適監視位置の平均値を求めた場合、当該平均値に
よって表される監視位置は測定によってばらついた監視
位置の中心に相当する。
Incidentally, when the average value of the optimal monitoring positions is determined, the monitoring position represented by the average value corresponds to the center of the monitoring positions that vary due to measurements.

(発明の効果〕 上述のように本発明によれば、マスタを撮像して得られ
るビデオ信号に基づいて、複数の初期設定範囲を含んで
なる自動設定区画ごとに代表初期設定範囲を選定し、当
該代表初期設定範囲に含まれる監視点の1つに監視領域
を設定するようにしたことにより、オペレータに過大な
負担を与えることなく実用上十分に高い精度で監視領域
を初期設定することができる。
(Effects of the Invention) As described above, according to the present invention, a representative initial setting range is selected for each automatic setting section including a plurality of initial setting ranges, based on a video signal obtained by imaging a master, By setting the monitoring area at one of the monitoring points included in the representative initial setting range, it is possible to initially set the monitoring area with sufficiently high accuracy for practical use without placing an excessive burden on the operator. .

かくするにつき、代表初期設定範囲に含まれる監視点の
うちから最適な監視データを得ることができる監視点を
選定して監視領域を設定するようにしたことにより、実
用上さらに一段と高い精度で監視領域の設定をすること
ができる.
Therefore, by setting the monitoring area by selecting the monitoring point from which the optimal monitoring data can be obtained from among the monitoring points included in the representative initial setting range, monitoring can be performed with even higher precision in practical use. You can set the area.

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

第1図は本発明による物体認識装置の一実施例を示すブ
ロック図、第2図はそのレジスタ部の詳細構或を示す略
線図、第3図はビデオ信号の表示画面に対して設定され
る監視領域の説明に供する略線図、第4図は表示百面P
ICに形或する初期設定範囲SET、代表初期設定範囲
SET−■及び自動設定区画SECII〜SEC34の
説明に供する略線図、第5図は代表初期設定範囲SET
■における最適監視点を設定する手法の説明に供す?略
線図、第6図は第1図のCPU17の物体認識処理手順
を示すフローチャート、第7図は監視位i!tPJ■の
補正範囲ARの説明に供する略線図、第8図は代表初期
設定範囲の他の設定の仕方を示す略線図、第9図及び第
10図は第4図及び第8図の他の実施例を示す略線図、
第11図は監視頷域Kjの積分処理の際の重み付け演算
手法の説明に供する略線図、第12図及び第13図は第
1図の他の実施例を示すブロック図、第14図〜第16
図は代表初期設定範囲について第5図の他の実施例を示
す略線図、第17図〜第19図は従来の構成を示す略線
図である. l4・・・・・・物体認識装置、15・・・・・・射出
威型機本体、16・・・・・・テレビジョンカメラ、1
7・・・・・・CPU,19・・・・・・認識情報メモ
リ、19A,19B・・・・・・フレームメモリ、23
・・・・・・レジスタ部、35・・・・・・監視データ
形成部.
FIG. 1 is a block diagram showing an embodiment of the object recognition device according to the present invention, FIG. 2 is a schematic diagram showing the detailed structure of the register section, and FIG. 3 is a diagram showing settings for a video signal display screen. A schematic diagram to explain the monitoring area, Figure 4 is the display page P.
A schematic diagram for explaining the initial setting range SET formed in the IC, the representative initial setting range SET-■, and the automatic setting sections SECII to SEC34, FIG. 5 shows the representative initial setting range SET
■Please explain the method for setting the optimal monitoring point in ■? A schematic diagram, FIG. 6 is a flowchart showing the object recognition processing procedure of the CPU 17 in FIG. 1, and FIG. A schematic diagram for explaining the correction range AR of tPJ ■, FIG. 8 is a schematic diagram showing another way of setting the representative initial setting range, and FIGS. 9 and 10 are similar to those in FIGS. 4 and 8. A schematic diagram showing other embodiments,
FIG. 11 is a schematic diagram for explaining the weighting calculation method during the integral processing of the monitoring nod area Kj, FIGS. 12 and 13 are block diagrams showing other embodiments of FIG. 1, and FIGS. 16th
This figure is a schematic diagram showing another embodiment of FIG. 5 with respect to the representative initial setting range, and FIGS. 17 to 19 are schematic diagrams showing conventional configurations. l4...Object recognition device, 15...Ejection machine body, 16...Television camera, 1
7...CPU, 19...Recognition information memory, 19A, 19B...Frame memory, 23
. . . Register section, 35 . . . Monitoring data forming section.

Claims (2)

【特許請求の範囲】[Claims] (1)テレビジョンカメラによつて認識対象を撮像する
ことにより得られるビデオ信号が表す表示画面上の所定
の監視位置に監視領域を設定し、当該監視領域から得ら
れる明るさ情報の変化を監視することにより上記認識対
象が正常か否かを判定する物体認識装置において、 上記表示画面にマスタを表示した状態において、上記表
示画面上に複数の初期設定範囲で構成された自動設定区
画を設定し、上記表示画面にマスタを表示した状態にお
いて上記自動設定区画に含まれる上記初期設定範囲につ
いての明るさ情報をそれぞれ求め、当該求めた明るさ情
報のうち正常か否かを判定し易い明るさ情報をもつ上記
初期設定範囲を代表初期設定範囲に決定し、上記代表初
期設定範囲に上記監視領域を設定する ことを特徴とする物体認識装置。
(1) A monitoring area is set at a predetermined monitoring position on the display screen represented by a video signal obtained by imaging a recognition target with a television camera, and changes in brightness information obtained from the monitoring area are monitored. In the object recognition device that determines whether the recognition target is normal or not by , while the master is displayed on the display screen, obtain brightness information for each of the initial setting ranges included in the automatic setting section, and among the obtained brightness information, brightness information that is easy to determine whether or not it is normal. An object recognition device characterized in that the initial setting range having the above-described initial setting range is determined as a representative initial setting range, and the monitoring area is set in the representative initial setting range.
(2)テレビジョンカメラによつて認識対象を撮像する
ことにより得られるビデオ信号が表す表示画面上の所定
の監視位置に監視領域を設定し、当該監視領域から得ら
れる明るさ情報の変化を監視することにより上記認識対
象が正常か否かを判定する物体認識装置において、 上記表示画面にマスタを表示した状態において、上記表
示画面上に複数の初期設定範囲で構成された自動設定区
画を設定し、上記表示画面にマスタを表示した状態にお
いて上記自動設定区画に含まれる上記初期設定範囲につ
いての第1の明るさ情報をそれぞれ求め、当該第1の明
るさ情報のうち正常か否かを判定し易い明るさ情報をも
つ上記初期設定範囲を代表初期設定範囲に決定すると共
に、上記代表初期設定範囲に含まれるサンプル点を上記
監視位置として上記監視領域を順次設定してそれぞれ第
2の明るさ情報を求め、各サンプル点のうち上記第2の
明るさ情報のうち正常か否かを判定し易い明るさ情報を
もつサンプル点を上記監視領域の初期設定位置として決
定する ことを特徴とする物体認識装置。
(2) A monitoring area is set at a predetermined monitoring position on the display screen represented by a video signal obtained by capturing an image of the recognition target with a television camera, and changes in brightness information obtained from the monitoring area are monitored. In the object recognition device that determines whether the recognition target is normal or not by , obtain first brightness information for each of the initial setting ranges included in the automatic setting section with the master displayed on the display screen, and determine whether or not the first brightness information is normal. The initial setting range having easy brightness information is determined as the representative initial setting range, and the monitoring areas are sequentially set with the sample points included in the representative initial setting range as the monitoring positions, and the second brightness information is respectively set. Object recognition characterized in that, among each sample point, a sample point having brightness information that makes it easy to determine whether it is normal or not among the second brightness information is determined as the initial setting position of the monitoring area. Device.
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 true JPH0355669A (en) 1991-03-11
JP3054870B2 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)

Cited By (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

Cited By (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
JP3054870B2 (en) 2000-06-19

Similar Documents

Publication Publication Date Title
JPH08331610A (en) Automatic image controller
CN106373158A (en) Automated image detection method
TW201506387A (en) Map comparison apparatus, comparison method, and comparison program
US5247585A (en) Object recognition device
JPH0355669A (en) Object recognizing device
JP3241050B2 (en) Semiconductor visual inspection equipment
JPH08219721A (en) Image processor
JPH02263193A (en) Object recognizing device
JP3829024B2 (en) Display screen inspection method and apparatus
JPH10256351A (en) Image-processing aligninment apparatus
JPH10150299A (en) Method and equipment for inspecting mounted component
JP2540323B2 (en) Object inspection device
JPH08193958A (en) Device and method for substrate inspection
JPH08122726A (en) Liquid crystal panel inspecting device
KR100951418B1 (en) Image overlay device and method
JP3330415B2 (en) Pattern matching detection device
JP3607788B2 (en) Image processing device
JP2017208043A (en) ROBOT HAND POSITION DETECTION DEVICE, ROBOT DEVICE, AND ROBOT HAND POSITION DETECTION METHOD
JPS63118224A (en) Monitoring apparatus for injection molding machine
JP2000329536A (en) Apparatus and method for visual inspection
JPH02246590A (en) Convergence measurement method
JPS61193053A (en) Inspection method using image processing
JPH05256956A (en) Monitoring apparatus of injection molding machine
JPS6346577A (en) Object recognizing device
JPS619773A (en) Two dimensional visual recognizer

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