JPH01240294A - Image take in method for safety monitoring device - Google Patents

Image take in method for safety monitoring device

Info

Publication number
JPH01240294A
JPH01240294A JP63068442A JP6844288A JPH01240294A JP H01240294 A JPH01240294 A JP H01240294A JP 63068442 A JP63068442 A JP 63068442A JP 6844288 A JP6844288 A JP 6844288A JP H01240294 A JPH01240294 A JP H01240294A
Authority
JP
Japan
Prior art keywords
image
cameras
level
processing
brightness
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
JP63068442A
Other languages
Japanese (ja)
Inventor
Shuji Sasaki
修二 佐々木
Hideharu Shimokawa
下川 秀春
Yoshitaka Sakamoto
好隆 坂本
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.)
Yaskawa Electric Corp
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
Yaskawa Electric Manufacturing Co 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 Toyota Motor Corp, Yaskawa Electric Manufacturing Co Ltd filed Critical Toyota Motor Corp
Priority to JP63068442A priority Critical patent/JPH01240294A/en
Publication of JPH01240294A publication Critical patent/JPH01240294A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten a processing time to one nth and heighten the reliability of monitoring of safety by conducting image processing enough for n pieces of cameras with one time image input and image processing. CONSTITUTION:As much voltage V0 as being equivalent to a brightness level 0-LEV is reduced from the image signals of cameras 1-4. Then, all other portions except the portion where brightness has been more than LEV, become less than 0V. The maximum signal is selected to be inputted into the image processing portion in a maximum value priority circuit from the image signals of 4 pieces of cameras 1-4 processed as above. This image processing portion is binary coded at the level of a brightness level >0, and its picture prime number is calculated. In this instance, in the case of respective cameras 1-4 having simultaneously caught a watched object, an image extracted at the image processing portion becomes an image added (a logic sum) with the extracted images of respective cameras 1-4. That is to say, the processing for 4 pieces of cameras can be simultaneously made with one time image input and analysis, and a processing time can be shortened to one fourth.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、産業用ロボット、NC工作機械等の自動的に
動作可能な設備に付加された、視覚機能をも備えた安全
監視装置の画像取込み方法に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention provides an image of a safety monitoring device that is added to automatically operable equipment such as industrial robots and NC machine tools and that also has a visual function. Regarding the import method.

〔従来の技術〕[Conventional technology]

従来、この種の安全監視装置では、例えば本出願人が先
に提案した特願昭62−138652号、特願昭62−
138653号のようにカメラを数台設置して数個所を
監視する場合、各カメラ毎に画像を取込み解析していた
Conventionally, this type of safety monitoring device has been disclosed in, for example, Japanese Patent Application No. 138652/1985 proposed by the present applicant,
When several cameras were installed to monitor several locations as in No. 138653, images were captured and analyzed for each camera.

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

そのため、従来例において全個所を監視する場合画像取
込み時間Xカメラ台数たけ処理時間を要していた。また
、各画像を各々解析しなければならないので、カメラ台
数回画像処理する必要かあり、多大の処理時間を要して
いた。
Therefore, in the conventional example, when monitoring all locations, the processing time is equal to the image capture time times the number of cameras. Furthermore, since each image must be analyzed individually, it is necessary to process the images several times using multiple cameras, which requires a large amount of processing time.

本発明は、数台のカメラ画像を処理する場合に、1回の
画像入力及び解析で安全監視をすることのできる画像取
込み方法を提供することを、その目的とする。
An object of the present invention is to provide an image capturing method that can perform safety monitoring with one image input and analysis when processing images from several cameras.

〔課題を竺決するため0手段〕 そこで上記目的を達成するために、本発明の安全監視装
置の画像取込み方法では、各カメラの映像信号を、監視
する領域の背景の明度が低い場合は、背景の明度レベル
の幅を少し越える程度の一定電圧レベル分だけ差し引き
、背景の明度が高い場合には、背景のレベル幅を少し越
える程度の一定電圧レベル分だけ加算する。
[Zero means to solve the problem] Therefore, in order to achieve the above object, in the image capturing method of the safety monitoring device of the present invention, the video signal of each camera is If the brightness of the background is high, a constant voltage level that slightly exceeds the level width of the background is added.

そして、上記処理した全ての映像信号のうち、背景の明
度レベルが低い、場合は最大の信号を、また背景の明度
が高い場合は最少の信号を取り出し、画像処理部へ入力
する。背景の明度が低い場合は。
Then, among all the video signals processed above, the maximum signal is extracted when the background brightness level is low, and the minimum signal is extracted when the background brightness level is high, and input to the image processing section. If the background brightness is low.

明度レベル〉0の画素を白(1)に、また背景の明度が
高い場合は明度レベル<maxの画素を白(1)になる
ように2値化する。
Binarize pixels with brightness level>0 to white (1), and when the brightness of the background is high, pixels with brightness level <max to become white (1).

そのように2値化された画素数を計数して監視領域の安
全性を識別する。
The number of binarized pixels is counted to identify the safety of the monitoring area.

〔作 用〕[For production]

このようにすると、2値化した後画像として残るのは、
各カメラの視野内に存在する背景以外の対象即ち、被監
視物体が全て加算(論理和)されたものである。
In this way, what remains as an image after binarization is
This is the sum (logical OR) of all objects other than the background that exist within the field of view of each camera, that is, objects to be monitored.

従って安全監視装置のように、各カメラの視野内に被監
視物体か存在するか否かのみ検査すれば良い場合には、
上述のように一括処理して差し支えなく、従来のように
各カメラ毎に解析するのに比べ、処理時間が1/(カメ
ラ台数)に短縮できる。
Therefore, when it is only necessary to check whether there is a monitored object within the field of view of each camera, such as in a safety monitoring device,
It is possible to perform batch processing as described above, and the processing time can be reduced to 1/(number of cameras) compared to conventional analysis of each camera.

〔実施例〕〔Example〕

以下、本発明により安全監視装置の画像取込み方法を図
面に示す実施例に基づいて、具体的に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a method for capturing images of a safety monitoring device according to the present invention will be specifically explained based on embodiments shown in the drawings.

第1図は、本発明の一実施例における安全監視   、
装置の構成の一部を示す斜視図である。人が治具台8に
溶接部品9をセットした後、安全な領域に退いて、図示
していない溶接開始ボタンを押すとスポット溶接ロボッ
ト7が動作し、溶接を開始する。このとき、設備に付加
された安全監視装置が作動し、人か誤って近づいていな
いかも監視する。
FIG. 1 shows safety monitoring in one embodiment of the present invention;
FIG. 2 is a perspective view showing a part of the configuration of the device. After setting the welding part 9 on the jig stand 8, the person retreats to a safe area and presses a welding start button (not shown), and the spot welding robot 7 operates to start welding. At this time, a safety monitoring device attached to the equipment is activated to monitor whether anyone is accidentally approaching.

安全監視装置は映像信号を入力し、所定の2値化レベル
で2値化し、白(1)の画素を計数する機能を少なくと
も備えた情報処理装置である。この装置の画像処理部へ
のカメラ入力の前に若干の回路を追加する。
The safety monitoring device is an information processing device that has at least a function of inputting a video signal, binarizing it at a predetermined binarization level, and counting white (1) pixels. Some circuitry is added before the camera input to the image processing section of this device.

第1図に示すように設備の危険領域を囲んで監視領域6
a〜6dを設け、その上方にカメラ1〜4を設置して、
この安全監視装置は、作業者がその監視領域に入ったか
否かを常時監視する。
As shown in Figure 1, the monitoring area 6 surrounds the dangerous area of the equipment.
A to 6d are provided, cameras 1 to 4 are installed above them,
This safety monitoring device constantly monitors whether a worker has entered the monitoring area.

この一実施例では、設備の4方を監視する必要があるか
、カメラの分解能、設備の大きさ等から4領域6a〜6
d各々にカメラ1〜4を設置し監視する。
In this embodiment, it is necessary to monitor four areas of the equipment, depending on the resolution of the camera, the size of the equipment, etc.
d Cameras 1 to 4 are installed in each for monitoring.

カメラ1〜4は、安全監視装置より与えられる同期信号
(図示せず)により作動する外部同期式背景は例えば黒
色のマットが敷いてあり、このときのカメラ1〜4の映
像のヒストグラムは第2図(a)、  (b)に示すよ
うになる。従って作業者(被監視物体)か監視領域内に
入ったか否かを調べるには、背景より少し上の明度レベ
ルLEVを2値化レベルとし、それ以上のレベルにある
画素を白(1)として、その総画素数により判別できる
Cameras 1 to 4 are externally synchronized, operated by a synchronization signal (not shown) given from a safety monitoring device.The background is, for example, a black mat, and the histograms of the images of cameras 1 to 4 at this time are The result is as shown in Figures (a) and (b). Therefore, to check whether a worker (object to be monitored) has entered the monitoring area, the brightness level LEV slightly above the background is set as the binary level, and pixels at a level higher than that are set as white (1). , can be determined by its total number of pixels.

そこで、まづ第3図(a)に示すようにカメラ1〜4の
映像信号から、明度レベルO−L、E Vに相当する電
圧VDたけ減じる。すると明度LEV以上であった部分
を除いて他は全てOV以下となる。このように処理した
4個のカメラ1〜4の映像信号から最大値優先回路で最
大の信号を選択、映像処理部に入力する。映像処理部は
明度レベル〉0のレベルで2値化し、その画素数を計数
する。
Therefore, as shown in FIG. 3(a), the voltage VD corresponding to the brightness levels OL and EV is subtracted from the video signals of cameras 1 to 4. Then, except for the part whose brightness was equal to or higher than LEV, all the other parts become equal to or lower than OV. From the video signals of the four cameras 1 to 4 processed in this way, the maximum signal is selected by the maximum value priority circuit and inputted to the video processing section. The video processing unit binarizes the image at a brightness level>0 and counts the number of pixels.

この場合、第5図(a)に表わすように各カメラ1〜4
が同時に被監視物体である手22.安全靴24.ヘルメ
ット25を捕えた場合、画像処理部で抽出される画像は
第5図(b)に示すように各カメラ1〜4の抽出画像を
加算(論理和)した画像51となる。即ち1回画像入力
して解析すればカメラ4台同時に処理でき、従来の様に
カメラ毎処理するのに比べて処理時間は]/4に短縮さ
れる。
In this case, as shown in FIG. 5(a), each camera 1 to 4
The hand 22. is simultaneously the monitored object. Safety shoes24. When the helmet 25 is captured, the image extracted by the image processing section becomes an image 51 obtained by adding (oring) the extracted images of the cameras 1 to 4, as shown in FIG. 5(b). That is, if an image is input and analyzed once, four cameras can be processed at the same time, and the processing time is reduced to /4 compared to processing for each camera as in the past.

また、監視領域に白または黄色のマットを敷いて、背景
レベルが明るい場合には、第2図(C)。
In addition, if a white or yellow mat is spread over the monitoring area and the background level is bright, the image shown in FIG. 2 (C).

(d)と第3図(b)に表わすように映像信号の補正を
した後、最少信号を取り出し、映像処理部では明度レベ
ル< m a xの画素を白(1)として2値化すれば
よい。
After correcting the video signal as shown in FIG. 3(d) and FIG. 3(b), the minimum signal is extracted, and the video processing unit binarizes pixels with brightness level < m a x as white (1). good.

しかして、第4図はこの一実施例による安全監視装置の
制御ブロック図である。
FIG. 4 is a control block diagram of the safety monitoring device according to this embodiment.

映像信号発生部40aにおいて、カメラ1からの映像信
号(生)401が演算器406へ入力している。
In the video signal generating section 40a, a video signal (raw) 401 from the camera 1 is input to a computing unit 406.

また、直流電圧−EOがゲート403より同期信号40
4に同期して出力し、調整抵抗405を介して演算器4
06へ与えられる。
Further, the DC voltage -EO is applied to the synchronization signal 40 from the gate 403.
4 and outputs it in synchronization with the arithmetic unit 4 through the adjustment resistor 405.
Given to 06.

ここで、監視領域6a〜6dの背景が黒色のマットが敷
いであるときは、映像信号(生)401から明度レベル
0〜LEVに相当する電圧VOたけ減じる、つまり負電
圧を加算(ADD)L、映像信号(補正ずみ)402と
して論理和(最大値優先)回路41へ入力させる。
Here, when the background of the monitoring areas 6a to 6d is covered with a black mat, the voltage VO corresponding to the brightness level 0 to LEV is subtracted from the video signal (raw) 401, that is, a negative voltage is added (ADD) L. , and is input to the OR (maximum value priority) circuit 41 as a video signal (corrected) 402.

また、カメラ2〜4をそなえる映像信号発生部40b〜
40dから、同様にして映像信号(補正すみ)が論理和
回路41へ入力させ、それらの信号の最大値がカメライ
ンターフェイス42へ与えられて、その映像信号はビデ
オミキサー47へ入力する。
In addition, a video signal generating section 40b including cameras 2 to 4 is provided.
From 40d, the video signal (corrected) is similarly input to the OR circuit 41, the maximum value of these signals is given to the camera interface 42, and the video signal is input to the video mixer 47.

一方ではバス43を介して、CPU (中央処理装置)
44.主メモリ45.イメージメモリ46ての信号授受
が行なわれてイメージメモリ46とビデオミキサー47
の信号のやりとりにより、CRT48上に第5図(b)
に示すような画像処理部解析画像51か映し出されてい
る。
On the one hand, via bus 43, the CPU (Central Processing Unit)
44. Main memory 45. Signals are exchanged between the image memory 46 and the video mixer 47.
As a result of the exchange of signals, the image shown in Fig. 5(b) is displayed on the CRT48.
An image processing unit analysis image 51 as shown in FIG.

なお、監視領域6a〜6dの背景が白または黄色のマッ
トを敷いたときは、演算器406では減算(SUB)L
、論理和回路41は最小値優先回路となる。
Note that when a mat with a white or yellow background is laid in the monitoring areas 6a to 6d, the calculator 406 performs subtraction (SUB) L.
, the OR circuit 41 becomes a minimum value priority circuit.

安全監視装置は総画素が基準値以上となれば溶接口ボッ
トに対して動作不可信号を、より少であれば動作可能を
出力する。安全監視装置は以上の動作を繰り返して監視
を行う。
The safety monitoring device outputs an inoperable signal to the welding port bot if the total number of pixels is equal to or greater than the reference value, and outputs an operable signal if the total number of pixels is less than the reference value. The safety monitoring device performs monitoring by repeating the above operations.

なお、画像が処理部でウィンドウ処理すれば、各カメラ
1〜4の同一ウィントウをかけることができる。つまり
、1つのウィンドウを設定すると、例えば4つのウィン
ドウの論理和により1つのカメラを設定したのと等しい
作用効果をもつことができる。また、各カメラ毎にウィ
ンドウ処理をする必要がある場合は各カメラの映像信号
を補正した後段にウィンドウ処理を施せばよい。
Note that if the image is subjected to window processing in the processing section, the same window can be applied to each of the cameras 1 to 4. In other words, setting one window can have the same effect as setting one camera by, for example, the logical sum of four windows. Furthermore, if it is necessary to perform window processing for each camera, window processing may be performed after correcting the video signal of each camera.

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

以上説明したように本発明によれば、カメラn台分の画
像処理を1回の画像入力、画像処理で済ますことができ
、処理時間を従来の1 / nに短縮できるから、安全
性の監視についての信頼性と、コストの低減に著しい効
果か得られる。
As explained above, according to the present invention, image processing for n cameras can be completed with one image input and image processing, and the processing time can be reduced to 1/n of the conventional one, making it easier to monitor safety. A significant effect can be obtained in terms of reliability and cost reduction.

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

第1図は本発明の一実施例の安全監視装置の斜視図、第
2図は背景の明度レベルか低い場合と高い場合について
、その視野及びそれらの入力画像のヒストグラムを示し
た図、第3図は本発明による映像信号の補正方法を説明
するための図、第4図はこの一実施例の制御ブロック図
、第5図は一実施例における監視領域の状態と画像処理
部で処理された画像を示した図である。 1〜4・・・カメラ 5・・・安全監視装置(画像処理装置)6a〜6f・・
・監視領域(ウィンドウ)7・・・溶接ロボット 8・・・治具台 21.23・・視野 22・手 24・安全靴 31.33・・生映像信号 32.34・・補正映像信号 4’Oa〜40d・映像信号発生部 401・・映像信号(生) 402・映像信号(補正ずみ) 403・・ゲート 404・・同期信号 405・調整抵抗 406・・・論理和(最大値優先あるいは最小値優先)
回路 41・・カメラインターフェイス 43・・・バス 44・・・CPU (中央処理装置) 45・・・主メモリ 46・・・イメージメモリ 47・・・ビデオミキサー 48・・・CRT 51・・・画像処理部解析画像 52・・・手(画像上) 54・・・安全靴(画像上) 55・・・ヘルメット(画像上)。 出願人代理人  佐  藤  −雄
FIG. 1 is a perspective view of a safety monitoring device according to an embodiment of the present invention, FIG. 2 is a diagram showing the field of view and histograms of the input images when the brightness level of the background is low and high, and FIG. The figure is a diagram for explaining the video signal correction method according to the present invention, FIG. 4 is a control block diagram of this embodiment, and FIG. 5 is a diagram showing the state of the monitoring area and the image processing unit processed in the embodiment It is a diagram showing an image. 1 to 4...Camera 5...Safety monitoring device (image processing device) 6a to 6f...
・Monitoring area (window) 7...Welding robot 8...Jig table 21.23...Visual field 22.Hands 24.Safety shoes 31.33..Raw video signal 32.34..Corrected video signal 4' Oa~40d・Video signal generation unit 401・・Video signal (raw) 402・Video signal (corrected) 403・・Gate 404・・Synchronization signal 405・Adjustment resistor 406・・Logical sum (maximum value priority or minimum value priority)
Circuit 41...Camera interface 43...Bus 44...CPU (Central Processing Unit) 45...Main memory 46...Image memory 47...Video mixer 48...CRT 51...Image processing Part analysis image 52...Hand (top of image) 54...Safety shoes (top of image) 55...Helmet (top of image). Applicant's agent Mr. Sato

Claims (1)

【特許請求の範囲】 1、視覚機能を備えた安全監視装置のカメラ画像の取込
み方法であって、 監視領域を囲繞する複数個のカメラからの各カメラの映
像信号に背景の明度幅に相当するレベルの一定信号を予
め減算または加算しておき、その結果の出力信号のうち
、背景の明度レベルが低い場合または高い場合は最大レ
ベルの信号または最少レベルの信号を取り出し、その信
号の明度レベルが零より大のレベルでまたは最大より小
さいレベルでの画素を2値化してその画素数を計数し監
視領域の安全性を解析する ことを特徴とする安全監視措置の画像取込み方法。
[Claims] 1. A method for capturing camera images of a safety monitoring device equipped with a visual function, wherein the video signal of each camera from a plurality of cameras surrounding a monitoring area corresponds to the brightness width of the background. Signals with a constant level are subtracted or added in advance, and among the resulting output signals, if the brightness level of the background is low or high, the maximum level signal or the minimum level signal is extracted, and the brightness level of that signal is A method for capturing images for safety monitoring measures, characterized by binarizing pixels at a level greater than zero or at a level less than the maximum, counting the number of pixels, and analyzing the safety of a monitoring area.
JP63068442A 1988-03-23 1988-03-23 Image take in method for safety monitoring device Pending JPH01240294A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63068442A JPH01240294A (en) 1988-03-23 1988-03-23 Image take in method for safety monitoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63068442A JPH01240294A (en) 1988-03-23 1988-03-23 Image take in method for safety monitoring device

Publications (1)

Publication Number Publication Date
JPH01240294A true JPH01240294A (en) 1989-09-25

Family

ID=13373818

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63068442A Pending JPH01240294A (en) 1988-03-23 1988-03-23 Image take in method for safety monitoring device

Country Status (1)

Country Link
JP (1) JPH01240294A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012223831A (en) * 2011-04-15 2012-11-15 Mitsubishi Electric Corp Collision avoidance device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012223831A (en) * 2011-04-15 2012-11-15 Mitsubishi Electric Corp Collision avoidance device

Similar Documents

Publication Publication Date Title
JPS59218084A (en) Visible image processing method
US7176441B2 (en) Counting system and counting method
JPS58217294A (en) Safety apparatus of industrial robot
JP2009205282A (en) Motion analysis method, motion analysis device, and motion evaluation device using the analysis device
CN113989711A (en) Power distribution construction safety tool use identification method and system
JPH01240294A (en) Image take in method for safety monitoring device
JPH06308256A (en) Cloudy fog detecting method
JP3961344B2 (en) Image processing system, image processing method, and image processing program
US4581633A (en) Data compression
JP6948294B2 (en) Work abnormality detection support device, work abnormality detection support method, and work abnormality detection support program
JPH0781677B2 (en) Self-diagnosis method for safety monitoring device
JP2550604B2 (en) Method of detecting monitored object of safety monitoring device
JPH046404A (en) Image monitoring method
JP3330415B2 (en) Pattern matching detection device
JPH0246347B2 (en) KOGUMAMOSOKUTEINOTAMENOGAZOSHORIHOHO
JPS61196110A (en) Shape inspection device
JPS63208980A (en) Binarization level setting device
KR100387197B1 (en) Apparatus and method for performing high speed vision inspection
JPH04200084A (en) Image monitor device
JPH0452773A (en) Picture supervisory method
JPS62296686A (en) Abnormality monitoring device
JPH04196993A (en) Image monitor device
JPH06161378A (en) Inspecting device for liquid crystal display device
JP2864524B2 (en) Image processing device
JP2003016459A (en) Method for detecting visual field direction deviation