JPH01307880A - image recognition device - Google Patents

image recognition device

Info

Publication number
JPH01307880A
JPH01307880A JP63139906A JP13990688A JPH01307880A JP H01307880 A JPH01307880 A JP H01307880A JP 63139906 A JP63139906 A JP 63139906A JP 13990688 A JP13990688 A JP 13990688A JP H01307880 A JPH01307880 A JP H01307880A
Authority
JP
Japan
Prior art keywords
image
recognition
window
displayed
monitor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63139906A
Other languages
Japanese (ja)
Inventor
Mie Nakamura
中村 美恵
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP63139906A priority Critical patent/JPH01307880A/en
Publication of JPH01307880A publication Critical patent/JPH01307880A/en
Pending legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Image Processing (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To improve the recognition precision and to save trouble to register windows by storing picture data displayed on a monitor TV at the time of the teaching mode and setting a window based on a minimum circumsribed square of a recognition object to perform collation at the time of the recognition mode. CONSTITUTION:Picture data obtained by picking up the image of an objerct work by a TV camera 1 is converted to binary data by a picture input circuit 2, and the object work image is displayed om a monitor TV 4, and this data is stored in a storage means 9 through a register means 10 at the time of the teaching mode. When a recognizing instruction is issued with the object work image displayed on the TV 4 at the time of the recognition mode, the circuit 2automatically sets a window 8b based on a minimum circumscribed square 8a of the object work, and the image stored in the means and the displayed object work image are collated with each other in the window 8b. By this automatic setting of the proper window, influences of noise and variance of illumination are reduced and the recognition precision is improved in comparison with the use of a fixed large window, and trouble to register windows is saved.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は、フレキシブルオートメーション(FA)で
の自動機械、ロボット等による部品供給作業、運搬作業
および位置決め作業等に好適な画像認識装置に関するも
のである。
[Detailed Description of the Invention] (Industrial Application Field) The present invention relates to an image recognition device suitable for parts supply work, transportation work, positioning work, etc. by automatic machines, robots, etc. in flexible automation (FA). be.

(従来の技術〕 第5図はこの種の従来の画像認識装置の構成を示すブロ
ック図であり、図中、(1)は認識対象を撮影するテレ
ビカメラ、(2)はテレビカメラ(1)の映像信号を人
力して2値化等の処理を行う画像入力回路、(3)は画
像データを記憶する記憶装置およびマイクロコンピュー
タ等を含み、画像データの登録、認識の処理を行う画像
処理回路、(4)は画像処理回路(3)のデータを入力
して表示するモニタテレビ、(5)はモニタテレビ(4
)に表示された画像データを登録するライトベン、(6
)は認識対象(以下、対象ワークと言う)、(7)は対
象ワーク(6)を入れる容器、(8)は画像処理範囲を
指定するウィンドウである。
(Prior Art) FIG. 5 is a block diagram showing the configuration of this type of conventional image recognition device. In the figure, (1) is a television camera that photographs a recognition target, (2) is a television camera (1) (3) is an image processing circuit that includes a storage device for storing image data, a microcomputer, etc., and performs image data registration and recognition processing; , (4) is a monitor television that inputs and displays data from the image processing circuit (3), and (5) is a monitor television (4) that inputs and displays data from the image processing circuit (3).
) to register the image data displayed in (6).
) is a recognition target (hereinafter referred to as target work), (7) is a container into which the target work (6) is placed, and (8) is a window for specifying the image processing range.

次に動作について説明する。ティーチングモード時に対
象ワーク(6)を認識するに必要な各種のデータが入力
され、画像処理回路(3)の記憶装置に登録されている
。今、認識、識別命令が画像処理回路(3)に与えられ
ると、テレビカメラ(1)が容器(7)に入っている対
象ワーク(6)を撮影してその映像信号を画像入力回路
(2)に加える。画像入力回路(2)はこの映像信号を
2値化処理または濃淡処理をして画像処理回路(3)に
人力すると、この信号がモニタテレビ(4)に加えられ
、ティーチングモード時にライトベン(5)によフて指
定したウィンドウ(8)の内部に表示される。画像処理
回路(3)はこの信号(画像データ)を基にティーチン
グモード時に登録された各種のデータとを照合し、対象
ワーク(6)の位置、傾き等の認識、識別を行いその結
果がモニタテレビ(4)に加えられ表示される。
Next, the operation will be explained. Various data necessary for recognizing the target workpiece (6) in the teaching mode are input and registered in the storage device of the image processing circuit (3). Now, when a recognition and identification command is given to the image processing circuit (3), the television camera (1) photographs the target work (6) contained in the container (7) and the video signal is sent to the image input circuit (2). ). The image input circuit (2) binarizes or contrasts this video signal and inputs it to the image processing circuit (3), which then adds this signal to the monitor television (4) and outputs it to the light monitor (5) in the teaching mode. will be displayed inside the specified window (8). The image processing circuit (3) compares this signal (image data) with various data registered during the teaching mode, recognizes and identifies the position, inclination, etc. of the target workpiece (6), and monitors the results. It is added to the TV (4) and displayed.

(発明が解決しようとする課題〕 従来の画像認識装置は以上のように構成されているので
、ウィンドウの大きさ及び位置が一定であるため、ウィ
ンドウの大きさは予め対象ワークよりかなり大きくとっ
ておく必要があった。このため、認識処理時にウィンド
ウ内に存在する雑音(孤立点など)(第6図(a)参照
)あるいは照明むら(第6図(b)参照)などが認識処
理に影響を与えると同時にウィンドウの登録に手間どる
という問題点があった。
(Problem to be Solved by the Invention) Since the conventional image recognition device is configured as described above, the size and position of the window are constant, so the size of the window is set in advance to be considerably larger than the target work. For this reason, noise (such as isolated points) that exists within the window during recognition processing (see Figure 6 (a)) or uneven lighting (see Figure 6 (b)) may affect the recognition process. At the same time, there was a problem in that it took time to register the window.

この発明は以上のような問題点を解消するためになされ
たもので、認識処理時の雑音(孤立点)あるいは照明む
ら等の影響を少なくすると共にウィンドウ登録にかかる
手間を省、き得る画像認識装置を提供することを目的と
する。
This invention was made to solve the above-mentioned problems, and it reduces the effects of noise (isolated points) or uneven illumination during recognition processing, saves the effort required for window registration, and improves image recognition. The purpose is to provide equipment.

(課題を解決するための手段) この発明に係る画像認識装置は、認識対象の画像データ
を記録する記録装置と、上記認識対象を撮影するテレビ
カメラと、このテレビカメラの映像信号を2値化などの
処理をして出力する画像入力回路と、この画像入力回路
により処理されたデータを人力して認識対象画像を表示
するモニタテレビと、ティーチングモード時に上記モニ
タテレビに表示された画像データを上記記録装置に記録
させる登録手段と、認識モード時に認識対象の最小外接
四角形を求め、その最小外接四角形を基にして画像認識
における認識処理の範囲を示すウィンドウを自動設定し
、上記モニタテレビに表示された画像データと上記記録
装置に登録された画像データとをこのウィンドウの位置
と広さで照合し、照合結果を上記モニタテレビに表示す
る認識処理手段とを備えたものである。
(Means for Solving the Problems) An image recognition device according to the present invention includes a recording device that records image data of a recognition target, a television camera that photographs the recognition target, and a binarization of the video signal of the television camera. an image input circuit that processes and outputs the data processed by the image input circuit, a monitor television that manually displays the recognition target image using the data processed by the image input circuit, and an image input circuit that displays the image data displayed on the monitor television during the teaching mode. A registration means to be recorded in a recording device, and a minimum circumscribed rectangle of a recognition target in recognition mode is determined, a window indicating the range of recognition processing in image recognition is automatically set based on the minimum circumscribed rectangle, and a window is automatically set to be displayed on the monitor TV. and a recognition processing means for comparing the image data registered in the recording device with the image data registered in the recording device based on the position and width of the window, and displaying the comparison result on the monitor television.

〔作用〕[Effect]

この発明においては、認識モード時にモニタテレビに表
示された画像に対して、対象ワークに対する画像の最小
外接四角形(以下、MBRと言う)を求め、このMBR
を基にして認識処理範囲を示すウィンドウを自動設定し
、このウィンドウの位置と広さでモニタテレビに表示さ
れた画像データと記憶装置に登録された画像データとを
照合することにより、認識処理時に雑音(孤立点など)
、照明むら等の影響が少なくなると同時にウィンドウ設
定の手間を省くことができる。
In this invention, the minimum circumscribed rectangle (hereinafter referred to as MBR) of the image with respect to the target workpiece is determined from the image displayed on the monitor television during the recognition mode, and this MBR is
A window indicating the recognition processing range is automatically set based on Noise (isolated points, etc.)
, the influence of uneven lighting, etc. is reduced, and at the same time, the effort of window setting can be saved.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図はこの発明の一実施例の構成を示すブロック図であり
、テレビカメラ(1)の映像信号が画像入力回路(2)
によって2値化または濃淡処理されてモニタテレビ(4
)に入力され、その画像が表示される。
An embodiment of the present invention will be described below with reference to the drawings. 1st
The figure is a block diagram showing the configuration of an embodiment of the present invention, in which a video signal from a television camera (1) is sent to an image input circuit (2).
It is binarized or gray-scale processed and displayed on a monitor TV (4
) and the image is displayed.

しかして、(10)は登録手段を示し、この登録手段(
10)は上記モニタテレビ(4)に表示されたティーチ
ングモード時の画像データを記憶装置(9)に記憶(以
下登録という)するようになされ、また(11)は画像
認識手段を示し、該画像認識手段(11)は上記モニタ
テレビ(4)に表示される認識モード時の画像データに
対して、対象ワークに対応する画像のMBRを求め、こ
のMBRを基にしてウィンドウを自動設定し、そのウィ
ンドウの位置と広さで上記モニタテレビ(4)に表示さ
れた画像データと上記記憶装置(9)に登録された画像
データとを照合して、その結果をモニタテレビ(4)に
表示するようになされている。
Therefore, (10) indicates a registration means, and this registration means (
10) is configured to store (hereinafter referred to as registration) the image data displayed on the monitor television (4) in the teaching mode in the storage device (9), and (11) represents an image recognition means, The recognition means (11) calculates the MBR of the image corresponding to the target work from the image data displayed on the monitor television (4) in the recognition mode, automatically sets a window based on this MBR, and The image data displayed on the monitor television (4) is compared with the image data registered in the storage device (9) according to the position and width of the window, and the result is displayed on the monitor television (4). is being done.

第2図はこの実施例の具体的な構成を示す図であり、従
来装置を示した第1図と同一の符号を付したものはそれ
ぞれ同一の要素を示している。マイクロコンピュータで
なる画像処理回路(3a)としては、上記記憶装置(9
)と登録手段(10)及び画像認識手段(11)を内蔵
してなる。以下、この実施例の詳しい動作を説明する。
FIG. 2 is a diagram showing a specific configuration of this embodiment, and the same reference numerals as in FIG. 1 showing the conventional device indicate the same elements. The image processing circuit (3a) consisting of a microcomputer includes the storage device (9).
), a registration means (10), and an image recognition means (11). The detailed operation of this embodiment will be explained below.

先ず、ティーチングモード時にテレビカメラ(1)によ
って撮影された対象ワーク(6)の映像信号が画像入力
回路(2)によって2値化処理され、得られたデータを
モニタテレビ(4)に入力すると、その画像が表示され
る。この時、ライトベン(5)を操作して対象ワークの
画像データを登録する。 次に、認識モードの時に対象
ワーク(6)に対応する画像がモニタテレビ(4)に表
示された状態で認識命令が発せられると、画像処理回路
(3a)は第3図(a)  に示す対象ワークに対応す
る画像のMBR(8a)を求め(第4図ステップS1)
、そのMBHの上下左右に一定値tを加えたものを認識
処理範囲を示すウィンドウ(第3図(b)参照)としく
第4図ステップS2)、そのウィンドウ(8b)の位置
と広さで認識処理を行ってその結果をモニタテレビに表
示する(第4図ステップ53)。
First, the video signal of the target work (6) photographed by the television camera (1) during the teaching mode is binarized by the image input circuit (2), and the obtained data is input to the monitor television (4). The image will be displayed. At this time, the image data of the target work is registered by operating the light ben (5). Next, when a recognition command is issued while the image corresponding to the target workpiece (6) is displayed on the monitor television (4) in the recognition mode, the image processing circuit (3a) is activated as shown in FIG. 3(a). Find the MBR (8a) of the image corresponding to the target work (step S1 in Figure 4)
, a constant value t is added to the top, bottom, left and right of the MBH as a window indicating the recognition processing range (see Figure 3 (b)) (Step S2 in Figure 4), and the position and width of the window (8b) Recognition processing is performed and the results are displayed on a monitor television (step 53 in FIG. 4).

なお、上記実施例ではマンマシンインタフェースとして
ライトベンを用いたが、マウスと呼ばれる他の入力装置
を用いても上述したと同様な動作を行わせることができ
る。
In the above embodiment, a light ben is used as the man-machine interface, but the same operation as described above can be performed using another input device called a mouse.

〔発明の効果〕〔Effect of the invention〕

以上の説明によって明らかなようにこの発明によれば、
認識モード時にモニタテレビに表示された画像に対して
対象ワークに対応する画像のMBRを求め、そのMBR
を基にして認識処理の範囲を示すウィンドウを設定し、
そのウィンドウの位置と広さでモニタテレビに表示され
た画像データと記憶装置に登録させた画像データとを照
合するので、従ってウィンドウ内の画像に雑音(孤立点
など)が存在したり、あるいは照明むらの影響を受けた
りすることが少なくなるので、認識の精度が高くなる。
As is clear from the above explanation, according to this invention,
Obtain the MBR of the image corresponding to the target workpiece for the image displayed on the monitor TV during recognition mode, and calculate the MBR.
Set a window that shows the scope of recognition processing based on
Since the image data displayed on the monitor TV is compared with the image data registered in the storage device based on the position and width of the window, it is possible to detect noise (isolated points, etc.) in the image within the window, or the presence of illumination. Since the influence of unevenness is reduced, recognition accuracy becomes higher.

また、ウィンドウ登録の手間を省くことができる。Further, the effort of window registration can be saved.

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

第1図はこの発明の一実施例の構成を示すブロック図、
第2図は同実施例の具体的な構成を示す構成図、第3図
(a)、 (b)は同実施例におけるウィンドウの設定
を説明する説明図、第4図は同実施例の動作を示すフロ
ーチャート、第5図は従来の画像認識装置の概略構成図
、第6図(a)、(b)は画像データの雑音と照明むら
の例を示す説明図である。 (1)・・・テレビカメラ、(2)・・・画像入力回路
、(3a)・・・画像処理回路、(4)・・・モニタテ
レビ、(5)・・・ライトベン、(9)・・・記憶装置
、(10)・・・登録手段、(11)・・・画像認識手
段。 なお、各図中、同一符号は同−又は相当部分を示す。 代理人  大  岩  増  雄 第3図 49C 第6図 手続補正書(自発) 1、事件の表示   特願昭63−139906号2、
発明の名称 画像認識装置 36補正をする者 代表者志岐守哉 4、代理人 6、補正の内容 明細書第6頁第?行の「しかして」という記載を「また
」と補正する。 以  上
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
FIG. 2 is a block diagram showing the specific configuration of the same embodiment, FIGS. 3(a) and (b) are explanatory diagrams explaining window settings in the same embodiment, and FIG. 4 is the operation of the same embodiment. 5 is a schematic configuration diagram of a conventional image recognition device, and FIGS. 6(a) and 6(b) are explanatory diagrams showing examples of noise and illumination unevenness in image data. (1)...Television camera, (2)...Image input circuit, (3a)...Image processing circuit, (4)...Monitor TV, (5)...Light Ben, (9)... ... Storage device, (10) ... Registration means, (11) ... Image recognition means. In each figure, the same reference numerals indicate the same or corresponding parts. Agent Masuo Oiwa Figure 3 49C Figure 6 Procedural amendment (voluntary) 1. Indication of case Japanese Patent Application No. 139906/1983 2.
Name of the invention Image recognition device 36 Person making the amendment Representative Moriya Shiki 4, Agent 6, Specification of contents of amendment Page 6 ? Correct the statement "but" in the line to "also". that's all

Claims (1)

【特許請求の範囲】[Claims]  認識対象の画像データを記録する記録装置と、上記認
識対象を撮影するテレビカメラと、このテレビカメラの
映像信号を2値化などの処理をして出力する画像入力回
路と、この画像入力回路により処理されたデータを入力
して認識対象画像を表示するモニタテレビと、ティーチ
ングモード時に上記モニタテレビに表示された画像デー
タを上記記録装置に記録させる登録手段と、認識モード
時に認識対象の最小外接四角形を求め、その最小外接四
角形を基にして画像認識における認識処理の範囲を示す
ウィンドウを自動設定し、上記モニタテレビに表示され
た画像データと上記記録装置に登録された画像データと
をこのウィンドウの位置と広さで照合し、照合結果を上
記モニタテレビに表示する認識処理手段とを備えたこと
を特徴とする画像認識装置。
A recording device that records image data of a recognition target, a television camera that photographs the recognition target, an image input circuit that performs processing such as binarization on the video signal of this television camera and outputs it, and this image input circuit. a monitor television that inputs processed data and displays an image to be recognized; a registration means that causes the recording device to record the image data displayed on the monitor television in a teaching mode; and a minimum circumscribed rectangle of a recognition target in a recognition mode. A window is automatically set to indicate the range of recognition processing in image recognition based on the minimum circumscribed rectangle, and the image data displayed on the monitor TV and the image data registered in the recording device are combined into this window. An image recognition device characterized by comprising: recognition processing means that performs verification based on position and size and displays the verification results on the monitor television.
JP63139906A 1988-06-07 1988-06-07 image recognition device Pending JPH01307880A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63139906A JPH01307880A (en) 1988-06-07 1988-06-07 image recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63139906A JPH01307880A (en) 1988-06-07 1988-06-07 image recognition device

Publications (1)

Publication Number Publication Date
JPH01307880A true JPH01307880A (en) 1989-12-12

Family

ID=15256383

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63139906A Pending JPH01307880A (en) 1988-06-07 1988-06-07 image recognition device

Country Status (1)

Country Link
JP (1) JPH01307880A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012066596A (en) * 2012-01-11 2012-04-05 Sigumakkusu Kk Monitoring device for injection molding machine
JP2014069198A (en) * 2012-09-28 2014-04-21 Nippon Steel & Sumitomo Metal Projection system of guide roller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012066596A (en) * 2012-01-11 2012-04-05 Sigumakkusu Kk Monitoring device for injection molding machine
JP2014069198A (en) * 2012-09-28 2014-04-21 Nippon Steel & Sumitomo Metal Projection system of guide roller

Similar Documents

Publication Publication Date Title
JP2002333826A (en) Skill improvement support device
JP2501076B2 (en) Fastener-Automatic inspection method and inspection device
JPH0793535A (en) Picture correction processing method
JPH04117578A (en) Line detecting method
JPH02125375A (en) Position detecting device
JP2002015319A (en) Image recognition system, image recognition method, and recording medium storing image recognition program
JP3386183B2 (en) Article position detection device
JPS63318676A (en) Image recognizing device
JPS615309A (en) Visual controller
JP2547557B2 (en) Article identification method in image processing
JP2578288Y2 (en) Mark inspection equipment
JP3087788B2 (en) Component position detection method and device
JPS63318286A (en) Visual sensor for industrial robot
JPH0767577B2 (en) Sheet metal processing line system
JPH0227485A (en) Picture processing system
JPH1083453A (en) Method for recognizing corner of square part in chip mounter
JPS60186905A (en) Robot controller
JP2531685B2 (en) Image recognition device
JPH07107651B2 (en) Method of teaching reference board data in automatic inspection device
JPS60200375A (en) Template matching system
JPH03111984A (en) Character recognizing device
JPS61156485A (en) Slice level determining method of visual device
JPH0619246B2 (en) Mounted parts inspection method
JPH06160792A (en) Alignment by image processing
JPH07103718A (en) Dimension detector for coil-shaped object