JPS63318676A - Image recognizing device - Google Patents

Image recognizing device

Info

Publication number
JPS63318676A
JPS63318676A JP15570387A JP15570387A JPS63318676A JP S63318676 A JPS63318676 A JP S63318676A JP 15570387 A JP15570387 A JP 15570387A JP 15570387 A JP15570387 A JP 15570387A JP S63318676 A JPS63318676 A JP S63318676A
Authority
JP
Japan
Prior art keywords
window
image
recognition
displayed
time
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
JP15570387A
Other languages
Japanese (ja)
Inventor
Kazuo Funakubo
一夫 舟久保
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 JP15570387A priority Critical patent/JPS63318676A/en
Publication of JPS63318676A publication Critical patent/JPS63318676A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To shorten a recognizing processing time and to save a memory capacity by setting a window and a shifting quantity at the time teaching and shifting and collating displaying image data and registering image data at every setting window at the time of recognition. CONSTITUTION:First, at the time of teaching, the video signal of an objective work by a TV camera 1 is subjected to binarization by an image input circuit 2 and the data are displayed by a monitoring TV 4. At such a time, a light pen is operated, the image data of a work are registered and a window 8a and a shifting quantity to show the range of the data reading at the time of recognition, are set. Next, at the time of the recognition mode, the image corresponding to the work is displayed at a TV 4, a first recognition instruction is generated, and then, an image processing part executes the recognizing processing with the position and width of the window 8a and the result is displayed at the TV 4. By a continuous second recognition instruction, the image processing circuit shifts the designating quantity of the window 8a, executes the recognizing processing with the position and the width of a window 8b and the result is displayed at the TV 4. Hereinafter in the same way, the processing is repeated.

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.

〔従来の技術〕[Conventional technology]

第5図はこの種の従来の画像認識装置の構成を示すブロ
ック図であり、図中(1)は認識対象を撮影するテレビ
カメラ、(2) はテレビカメラ(1)の映像信号2値
化等の処理をして出力する画像入力回路、(3)は画像
データを記憶する記憶装置およびマイクロコンビλ−夕
等を含み、画像データの登録、認識の処理を行う画像処
理回路、(4)は画像処理回路(3)のデータを入力し
て表示するモニタテレビ、(5)はモニタテレビに表示
された画像データを登録するライトベン、(6)は認識
対象(以下、対象ワークと言う)、(7)は対象ワーク
(6)を入れる容器、(8)は画像読込み範囲を指定す
るウィンドウである。
Fig. 5 is a block diagram showing the configuration of this type of conventional image recognition device, in which (1) is a television camera that photographs the recognition target, and (2) is a video signal binarization of the television camera (1). (3) is an image processing circuit that includes a storage device for storing image data and a microcombination λ-2, and performs processing for registering and recognizing image data; (4) is a monitor TV that inputs and displays data from the image processing circuit (3), (5) is a light ben that registers the image data displayed on the monitor TV, (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 reading range.

次に動作について説明する。ティーチングモード時に対
象ワーク(6)を認識するに必要な各種のデータが入力
され、画像処理回路(3)の記憶装置に登録されている
。今、認識、識別命令が画像処理回路(3)に与えられ
ると、テレビカメラ(1)が容器(7)に入っている対
象ワーク(6)を撮影してその映像信号を画像入力回路
(2)に加える。画像入力回路(2)はこの映像信号を
2値化処理、または、?lA淡処理をして画像処理回路
(3)に入力すると、この信号がモニタテレビ(4)に
加えられ、ティーチングモード時にライトベン(5)に
よって指定したウィンドウ(8)の内部に表示される。
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 workpiece (6) contained in the container (7), and the video signal is sent to the image input circuit (2). ). The image input circuit (2) binarizes this video signal, or? After being subjected to IA light processing and input to the image processing circuit (3), this signal is applied to the monitor television (4) and displayed inside the window (8) designated by the light ben (5) during the teaching mode.

次に、画像処理回路(3)はモニタテレビ(4)に表示
された画像データと、ティーチングそ−ド時に登録され
た各種のデータとを照合し、対象ワーク(6)の位置、
傾き等の認識、識別を行ってその結果をモニタテレビ(
4)に表示する。
Next, the image processing circuit (3) compares the image data displayed on the monitor television (4) with various data registered during the teaching operation, and determines the position of the target workpiece (6).
Recognize and identify the tilt, etc. and display the results on a monitor TV (
4).

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の画像認識装置においては、ウィンドウ(
8)の大きさが一定で、しかも、画像処理回路(3)の
記憶装置には1枚分のデータしか持たないものが多かっ
た。このため、ウィンドウ(8)の内部に複数の対象ワ
ーク(6)の画像が表示されている場合には、画像処理
回路(3)が処理するデータ量が膨大となり、認識処理
に多大な時間を費やすことから、実用性に欠けるという
問題点があった。そこで、ウィンドウ(8)の大きさを
随時変更すると共に、複数枚のウィンドウに対応するデ
ータを登録するものも提案されているが、この種の画像
認識装置にあっては、ウィンドウおよびデータの登録に
手間取ると同時に、容量の極めて大きいメモリが必要に
なるという問題点があった。
In the conventional image recognition device described above, the window (
8) is constant in size, and moreover, the storage device of the image processing circuit (3) often only holds data for one page. Therefore, when images of multiple target works (6) are displayed inside the window (8), the amount of data processed by the image processing circuit (3) becomes enormous, and recognition processing takes a lot of time. There was a problem in that it lacked practicality because it was expensive. Therefore, a method has been proposed in which the size of the window (8) is changed at any time and data corresponding to multiple windows is registered. There were problems in that it was time-consuming and required extremely large memory capacity.

この発明は上記の問題点を解決するために成されたもの
で、認識処理時間を短縮すると共に、メモリ容量の節約
を図り得る画像認識装置を提供することを目的とする。
The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide an image recognition device that can shorten recognition processing time and save memory capacity.

C問題点を解決するための手段〕 この発明に係る画像認識装置は、テレビカメラにより対
象ワークを撮影して得られた映像信号を2値化等の処理
をしてモニタテレビに表示し、ティーチングモード時に
、登録手段がモニタテレビに表示された画像データを記
憶装置に記憶させると共に、認識時のデータ読込みの範
囲を示すウィンドウおよびそのシフト量を設定すると、
認識モード時に、認識処理手段がモニタテレビに表示さ
れた画像データと記憶装置に登録された画像データとを
、順次シフトするウィンドウ毎に照合し、照合結果をモ
ニタテレビに表示するようにしたものである。
Means for Solving Problem C] The image recognition device according to the present invention performs processing such as binarization on a video signal obtained by photographing a target work with a television camera and displays it on a monitor television, and performs teaching. In the mode, the registration means stores the image data displayed on the monitor TV in the storage device, and also sets a window indicating the range of data reading at the time of recognition and its shift amount,
In the recognition mode, the recognition processing means collates the image data displayed on the television monitor with the image data registered in the storage device for each window that is shifted sequentially, and displays the collation results on the television monitor. be.

〔作 用〕[For production]

この発明においては、ティーチングモード時に、モニタ
テレビに表示された画像に対して、認識のためのデータ
読込みの範囲を示すウィンドウおよびそのシフト量を設
定し、認識モード時に、モニタテレビに表示された画像
データと記憶装置に登21された画像データとを、設定
されたウィンドウ毎に順次シフトしながら照合するので
、認識処理時間の短縮と、メモリ容量の節約とを図るこ
とができる。
In this invention, a window indicating the range of data reading for recognition and its shift amount are set for the image displayed on the monitor TV during the teaching mode, and the window indicating the range of data reading for recognition is set for the image displayed on the monitor TV during the recognition mode. Since the data and the image data registered in the storage device are compared while being shifted sequentially for each set window, it is possible to shorten recognition processing time and save memory capacity.

(実施例〕 第1図はこの発明の一実施例の構成を示すブロック図で
あり、テレビカメラ(1)の映像信号が画像入力回路(
2)によって2値化または濃淡処理されてモニタテレビ
(4) に入力され、その画像が表示される。登録手段
(10)はモニタテレビ(4)に表示されたティーチン
グモード時の画像データを記憶装置(9)に記憶(以下
登録という)させるが、この時、登録手段(lO)は認
識する場合のデータ読込みの範囲を示すウィンドウおよ
びそのシフト量を設定する。また、画像認識手段(11
)はモニタテレビ(4)に表示される認識モード時の画
像データと記憶装置(9)に登録された画像データとを
、登録手段で設定したウィンドウ毎に照合して、その結
果をモニタテレビ(4) に表示することになる。
(Embodiment) FIG. 1 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 transmitted to an image input circuit (
2), the image is binarized or gradated and input to a monitor television (4), where the image is displayed. The registration means (10) stores (hereinafter referred to as registration) the image data displayed on the monitor television (4) in the teaching mode in the storage device (9), but at this time, the registration means (lO) Set the window that indicates the data reading range and its shift amount. In addition, image recognition means (11
) compares the image data in the recognition mode displayed on the monitor television (4) with the image data registered in the storage device (9) for each window set by the registration means, and displays the results on the monitor television ( 4) will be displayed.

第2図はこの実施例の具体的な構成を示す図であり、従
来装置を示した第5図と同一の符号を付したものはそれ
ぞれ同一の要素を示している。そして、記憶装置および
マイクロコンピュータでなる画像処理回路(3a)の内
部構造が従来装置と異なフている。以下、この実施例の
詳しい動作を説明する。
FIG. 2 is a diagram showing a specific configuration of this embodiment, and the same reference numerals as in FIG. 5 showing the conventional device indicate the same elements. The internal structure of the image processing circuit (3a) consisting of a storage device and a microcomputer is different from that of conventional devices. The detailed operation of this embodiment will be explained below.

先ず、ティーチングモード時にテレビカメラ(1)によ
って撮影された対象ワーク(6)の映像信号が画像入力
回路(2)によって2値化処理され、得られたデータを
モニタテレビ(4)に入力するとその画像が表示される
。この時、ライトベン(5)を操作して1フレ一ム分の
画像データを登録すると共に、認識する場合のデータ読
込みの範囲を示すウィンドウ(8a)およびそのシフト
量を設定する。
First, the video signal of the target workpiece (6) photographed by the television camera (1) during the teaching mode is binarized by the image input circuit (2), and when the obtained data is input to the monitor television (4), the The image is displayed. At this time, the light ben (5) is operated to register one frame's worth of image data, and at the same time, a window (8a) indicating the data reading range for recognition and its shift amount are set.

次に、認識モードの時に対象ワーク(6)に対応する画
像がモニタテレビ(4)に表示された状態で最初の認識
命令が発せられると、画像処理回路(3a)は第3図(
a)に示すウィンドウ(8a)の位置と広さで認識処理
を行ってその結果をモニタテレビ(4)に表示する。続
いて、2回目の認識命令に対して画像処理回路(3a)
は、第3図(b)に示すように、ウィンドウ(8a)よ
りも指定された画素分だけ図面の左にシフトされたウィ
ンドウ(8b)の位置と広さで認識処理を行ってその結
果をモニタテレビ(4)に表示する。以下、これと同様
にして、第3図(C)のウィンドウ(8C)、第3図(
d)のウィンドウ(8d)で認識処理結果の表示を繰返
した後、新たなウィンドウが表示枠をはみだすとき、最
初に戻って処理をする。第4図はこれらの処理手順を示
したフローチャートである。なお、この場合のウィンド
ウポイントは、常に、“WINDOW” という変数で
入力され、ウィンドウ毎に画像読込みのポイントを持つ
のではないため、1枚分のポイントで良く、メモリの節
約が可能となる。
Next, when the first 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) as shown in FIG.
Recognition processing is performed using the position and size of the window (8a) shown in a), and the results are displayed on the monitor television (4). Next, the image processing circuit (3a) responds to the second recognition command.
As shown in Figure 3(b), the recognition process is performed using the position and width of the window (8b), which is shifted to the left of the drawing by a specified pixel from the window (8a), and the result is Display on monitor TV (4). Hereafter, in the same way, window (8C) in Figure 3(C), window (8C) in Figure 3(C),
After repeatedly displaying the recognition processing results in the window (8d) of d), when a new window extends beyond the display frame, the process returns to the beginning. FIG. 4 is a flowchart showing these processing steps. Note that the window point in this case is always input as a variable called "WINDOW", and since each window does not have a point for reading an image, the point for one image is sufficient, and memory can be saved.

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

また、上記実施例では、ウィンドウがモニタテレビ(4
)の表示枠をはみだしたとき最初戻って認識動作を繰返
したが、この代わりに、ウィンドウを順次逆方向にシフ
トして認識動作を繰返してもよい。
In addition, in the above embodiment, the window is a monitor TV (4
) When the window exceeds the display frame, the recognition operation is repeated by returning to the beginning, but instead of this, the recognition operation may be repeated by sequentially shifting the window in the opposite direction.

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

以上の説明によって明らかなようにこの発明によれば、
ティーチングモード時に、モニタテレビに表示された画
像に対して、認識のためのデータ読込みの範囲を示すウ
ィンドウおよびそのシフト二を設定し、認識モード時に
、モニタテレビに表示された画像データと記憶装置に登
録させた画像データとを、設定されたウィンドウ毎に順
次シフトしながら照合するので、認識処理時間の短縮と
、メモリ容量の節約とを図ることができる。
As is clear from the above explanation, according to this invention,
During teaching mode, a window indicating the range of data reading for recognition and its shift 2 are set for the image displayed on the monitor TV, and during recognition mode, the image data displayed on the monitor TV and the storage device are set. Since the registered image data is compared with the registered image data while being shifted sequentially for each set window, it is possible to shorten recognition processing time and save memory capacity.

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

第1図はこの発明の一実施例の構成を示すブロック図、
第2図は同実施例の具体的な構成を示す図、第3図 (
a)〜(d)は同実施例の動作を説明する。ための表示
画面例、第4図は同実施例の動作を説明するためのフロ
ーチャート、第5図は従来の画像認識装置の概略構成図
である。 (1);テレビカメラ (2):画像入力回路 (3a) :画像処理回路 (4):モニタテレビ (5)ニライトベン (9):記憶装置 (10):登録手段 (11) :画像認識手段 なお、各図中同一符号は同一または相当部分を示す。 代理人  大  岩  増  雄 第3図 手続補正力(自発)
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
Figure 2 is a diagram showing the specific configuration of the same embodiment, and Figure 3 (
A) to (d) explain the operation of the same embodiment. FIG. 4 is a flowchart for explaining the operation of the embodiment, and FIG. 5 is a schematic configuration diagram of a conventional image recognition apparatus. (1); Television camera (2): Image input circuit (3a): Image processing circuit (4): Monitor television (5) Nilight Ben (9): Storage device (10): Registration means (11): Image recognition means , the same reference numerals in each figure indicate the same or corresponding parts. Agent Masuo Oiwa Diagram 3 Procedural Correction Power (Voluntary)

Claims (1)

【特許請求の範囲】[Claims] 認識対象の画像データを記憶するための記録装置と、前
記認識対象を撮影するテレビカメラと、このテレビカメ
ラの映像信号を2値化等の処理をして出力する画像入力
回路と、この画像入力回路により処理されたデータを入
力して認識対象画像を表示するモニタテレビと、ティー
チングモード時に、前記モニタテレビに表示された画像
データを前記記憶装置に記憶させると共に、画像認識に
おけるデータ読込みの範囲を示すウィンドウおよびその
シフト量を設定する登録手段と、認識モード時に、前記
モニタテレビに表示された画像データと前記記憶装置に
登録された画像データとを、前記登録手段によって設定
され、且つ、順次シフトされるウィンドウ毎にそれぞれ
照合し、照合結果を前記モニタテレビに表示する認識処
理手段とを備えたことを特徴とする画像認識装置。
a recording device for storing image data of a recognition target; a television camera for photographing the recognition target; an image input circuit for performing binarization or other processing on the video signal of the television camera and outputting the image; A monitor television that inputs data processed by a circuit and displays an image to be recognized, and stores the image data displayed on the monitor television in the storage device during a teaching mode, and also controls the range of data reading in image recognition. a registration means for setting a window to be displayed and a shift amount thereof; and a registration means for setting a window to be displayed and a shift amount thereof; and a registration means for setting a window to be displayed and a shift amount thereof; 1. An image recognition apparatus comprising: recognition processing means for performing verification on each window and displaying the verification results on the monitor television.
JP15570387A 1987-06-23 1987-06-23 Image recognizing device Pending JPS63318676A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15570387A JPS63318676A (en) 1987-06-23 1987-06-23 Image recognizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15570387A JPS63318676A (en) 1987-06-23 1987-06-23 Image recognizing device

Publications (1)

Publication Number Publication Date
JPS63318676A true JPS63318676A (en) 1988-12-27

Family

ID=15611670

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15570387A Pending JPS63318676A (en) 1987-06-23 1987-06-23 Image recognizing device

Country Status (1)

Country Link
JP (1) JPS63318676A (en)

Similar Documents

Publication Publication Date Title
JPS63318676A (en) Image recognizing device
JPH01289696A (en) Image processing method for visual sensor system
JPH02125375A (en) Position detecting device
JPH01307880A (en) Picture recognizing device
JP2924528B2 (en) Labeling processing method and labeling processing apparatus
JPS63318286A (en) Visual sensor for industrial robot
JP2511953B2 (en) Image processing method and apparatus
JPH0214387A (en) Plural peak points detecting system
JP3395922B2 (en) Inspection method and inspection device
JP3087788B2 (en) Component position detection method and device
JP2527233Y2 (en) Work position detector
JPH04238206A (en) Multi-visual field recognizing method for pattern
JPH0821081B2 (en) Window control method
JP2000193435A (en) Image processing method for object
JPS60194689A (en) Auxiliary equipment for positioning
JPH0721382A (en) Picture processor
JPH06160792A (en) Alignment by image processing
JPH0652365A (en) Method and device for image recognition and method and device for auto focusing
JPH04133176A (en) Drawing input device
JPH0434654A (en) Drawing reader
JPH07210689A (en) Method for detecting picture position
JPH04276873A (en) Connect graphic labeling device
JPH0896113A (en) Processor and method for image processor
JPS62157980A (en) Image recognizing device
JP2002122511A (en) Display unevenness detector and detection method