JPS6252683A - Monitor device - Google Patents

Monitor device

Info

Publication number
JPS6252683A
JPS6252683A JP60192517A JP19251785A JPS6252683A JP S6252683 A JPS6252683 A JP S6252683A JP 60192517 A JP60192517 A JP 60192517A JP 19251785 A JP19251785 A JP 19251785A JP S6252683 A JPS6252683 A JP S6252683A
Authority
JP
Japan
Prior art keywords
memory
image data
image
contents
picture
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
JP60192517A
Other languages
Japanese (ja)
Inventor
Hiroshi Yoshikawa
寛 吉川
Koki Masui
弘毅 増井
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 JP60192517A priority Critical patent/JPS6252683A/en
Publication of JPS6252683A publication Critical patent/JPS6252683A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

PURPOSE:To attain the quick processing at high reliability by comparing a currently fetched picture with the averaged one of three pictures fetched in past. CONSTITUTION:A video caught by a camera 1 is digitized by an A/D converter 2 and is stored as an initial picture in a memory 32. Its contents are added to those in a memory 31, and written in the memory 31. An arithmetic processing circuit 7 repeats said processing four times, and this iteration is divided by four and is written in the memory 31. A picture checking a change is fetched into the 2nd memory 32, and a comparator circuit 5 compares said picture with the contents in the memory 31. If the compared result has a difference over a certain value, a buzzer 6 is rung to stop processing.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、撮像データに対する監視処理に画像処理を
利用した監視装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a monitoring device that uses image processing to monitor captured image data.

〔従来の技術〕[Conventional technology]

第3図は従来の監視装置を示す構成図であり、lはカメ
ラ、2はこのカメラ1のビデオ出力端に接続されたA/
D変換器、31〜3nは第1〜第nのメモリ、4はメモ
リ選択回路、5は比較処理回路、6はブザー、7は演算
処理回路である。
FIG. 3 is a configuration diagram showing a conventional monitoring device, where l is a camera, and 2 is an A/V connected to the video output terminal of the camera 1.
A D converter, 31 to 3n are first to nth memories, 4 is a memory selection circuit, 5 is a comparison processing circuit, 6 is a buzzer, and 7 is an arithmetic processing circuit.

次に動作について説明する。Next, the operation will be explained.

カメラ1でとらえられた映像信号は、各メモリに記憶す
るためにA/D変換器2でディジタル化される。先ず初
期の変化があったかどうかを比較するために、比較され
るべき原画像を第1のメモ+731 、第2のメモリ3
2.・・・第(n−1)のメモリ (3n−1)に次々
と記憶しておく。次に比較すべき画像を第nのメモリ3
nに記憶する。このときメモリ選択回路4は第nのメモ
リ3nを選択している。ここで画像ノイズを除去するた
めに演算処理回路7にて、例えば第1のメモリ31から
第(n−1)のメモリ(3n−1)までの内容を(n−
1)個分足し、それを(n−1)で割り平均化する。こ
れと第nのメモリ3nの内容とを比較処理回路5にて比
較し、ある一定以上の変化を検出すればブザー6を鳴ら
し処理を終了する。
The video signal captured by the camera 1 is digitized by an A/D converter 2 for storage in each memory. First, in order to compare whether there is an initial change, the original images to be compared are stored in the first memory +731 and the second memory 3.
2. ...store in the (n-1)th memory (3n-1) one after another. The next image to be compared is stored in the nth memory 3.
Store in n. At this time, the memory selection circuit 4 selects the nth memory 3n. Here, in order to remove image noise, the arithmetic processing circuit 7 processes, for example, the contents from the first memory 31 to the (n-1)th memory (3n-1).
1) Add up the numbers, divide it by (n-1), and average it. The comparison processing circuit 5 compares this with the contents of the n-th memory 3n, and if a change of more than a certain value is detected, the buzzer 6 sounds and the process ends.

また変化がないときはメモリ選択回路4は第1のメモリ
31を選択し、第2のメモリ32〜第nのメモリ3nを
平均化したものと、次にこの時第1のメモリ31に取り
込まれた別の画像とを比較し2、変化を検出する。この
ときも変化がなければ、メモリ選択回路4は第2のメモ
リ32を選択する。
When there is no change, the memory selection circuit 4 selects the first memory 31, and then selects the averaged value of the second memory 32 to the n-th memory 3n, which is then taken into the first memory 31 at this time. 2 and detect changes. If there is no change at this time, the memory selection circuit 4 selects the second memory 32.

以後、同様の処理を行なうが、メモリ選択回路4の選ぶ
メモリは、第3.第4.・・・5第n−1,第n、第1
.第2.第3.・・・第n−1,第n、第1゜第2.第
3.・・・とライクリンクに変化する。この処理はある
一定以上の変化を検出するまで行なわれる。
Thereafter, similar processing is performed, but the memory selected by the memory selection circuit 4 is the third. 4th. ...5th n-1, nth, 1st
.. Second. Third. ... n-1st, nth, 1st, 2nd. Third. ... and changes into Like Link. This process is continued until a change greater than a certain level is detected.

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

このように従来の監視装置では、ノイズ除去のため画像
を何回か取り込みそれらを足すようにしており、それだ
けの個数のメモリ回路が必要であった。即ち、過去n枚
の平均画像と現在の画像とを比較し、変化があればブザ
ーを鳴らして処理を終了するが、それ以外のときは、現
在の画像を含めた過去n枚の平均画像、つまり最近のn
−1枚の画像及び現在の画像の平均画像と次に取る画像
とを比較するので、結局(n+1)個のメモリ回路が必
要であった。このためメモリ容量を増やさなければなら
ず、コストが高くつき、また参照するメモリ回路が増加
すれば、1回の監視処理時間がそれだけ長くなり、信頼
性が悪くなる等の問題点があった。
In this way, in the conventional monitoring device, images are taken several times and the images are added together in order to remove noise, which requires a corresponding number of memory circuits. That is, the past n average images and the current image are compared, and if there is a change, the buzzer sounds and the process ends; however, in other cases, the past n average images including the current image, In other words, recent n
- Since the average image of one image and the current image is compared with the next image to be taken, (n+1) memory circuits are required in the end. For this reason, the memory capacity must be increased, which increases the cost, and if the number of memory circuits to be referenced increases, the time required for one monitoring process increases, resulting in problems such as poor reliability.

この発明は上記の様な問題点を解消するためになされた
もので、2個のメモリ回路だけで構成できるとともに、
処理時間も短(信頼性の高い監視装置を得ることを目的
とする。
This invention was made to solve the above-mentioned problems, and it can be configured with only two memory circuits, and
The processing time is short (the purpose is to obtain a highly reliable monitoring device).

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

この発明に係る監視装置は、画像データを記憶する2個
の記憶回路と、該記憶回路の内容に所定の演算処理を施
こして過去所定期間の平均画像データを求める演算処理
手段と、上記平均画像データの記憶された一方の記憶回
路と比較すべき画像データの記憶さた他方の記憶回路の
内容を比較する比較処理手段どを設けたものである。
The monitoring device according to the present invention includes two storage circuits that store image data, a calculation processing means that performs predetermined calculation processing on the contents of the storage circuits to obtain average image data for a predetermined period in the past, and The apparatus is provided with comparison processing means for comparing the contents of one storage circuit storing image data with the contents of the other storage circuit storing image data to be compared.

〔作用〕[Effect]

この発明においては、演算処理回路にて、例えば比較す
べき画像に重み1.比較されるべき画像に重み3を付け
、これらを足して4で割ることにより平均画像データを
求め、これと比較すべき画像データとを比較するから、
現在取り込んだ画像は過去取り込んだ3画像の平均画像
と比較されることになる。
In the present invention, the arithmetic processing circuit applies a weight of 1.0 to the image to be compared, for example. A weight of 3 is given to the images to be compared, and the average image data is obtained by adding these and dividing by 4, and this is compared with the image data to be compared.
The currently captured image will be compared with the average image of the three previously captured images.

〔実施例〕〔Example〕

以下、本発明の実施例を図について説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例による監視装置のブDツク構
成図を示し、図において、1はカメラ、2はこのカメラ
1でとらえられた映像信号をディジタル化するためのA
/D変換器、31.32はこのA/D変換器2の出力が
書込まれる第1.第2のメモリ、5はこれらのメモリ3
1.32の出力を比較する比較処理回路、6は該比較処
理回路5の出力に応じて駆動されるブザー、7は上記第
1゜第2のメモリ回路31.32の各々に重みを付けて
演算処理し過去の平均画像データを求める演算処理回路
である。
FIG. 1 shows a block diagram of a monitoring device according to an embodiment of the present invention.
/D converter 31.32 is the first. 2nd memory, 5 these memories 3
1. A comparison processing circuit for comparing the outputs of 32, 6 a buzzer driven according to the output of the comparison processing circuit 5, and 7 weighting each of the first and second memory circuits 31 and 32. This is an arithmetic processing circuit that performs arithmetic processing to obtain past average image data.

次に動作について説明する。第2図に本実施例における
画像処理のフローチャー1−を示す。
Next, the operation will be explained. FIG. 2 shows a flowchart 1 of image processing in this embodiment.

まず、ステップ20にて第1のメモリ回路31の内容M
l  (I)及び繰返し回数Nを初期化する。
First, in step 20, the content M of the first memory circuit 31 is
l (I) and the number of repetitions N are initialized.

ここで、■は0.1,2.・・・I ENDと変化する
もので、画素数を表わしている。カメラ1でとらえられ
た映像信号は、これらをメモリに記憶するためにA/D
変換器2でディジタル化される。そして画像の変化の有
無を調べるべく、これらを初期画像(背景画@りとして
第2のメモリ32に取り込む(ステップ21)。次にス
テップ22.23にて上記第2のメモリ32の内容を第
1のメモ1J31の内容に加算し、それを新たに第1の
メモIJ 31に書込む。これらの処理を演算処理回路
7にて4回繰り返しくステップ21〜26)、各データ
を累積加算の後それを4で割ったものを第1のメモリ3
1に書込む(ステップ29)。
Here, ■ is 0.1, 2. . . . It changes from I to END and represents the number of pixels. The video signals captured by camera 1 are transferred to an A/D converter to store them in memory.
It is digitized by converter 2. Then, in order to check whether there is any change in the image, these are taken into the second memory 32 as an initial image (background image) (step 21).Next, in steps 22 and 23, the contents of the second memory 32 are transferred to the second memory 32. 1 to the contents of the first memo 1J31 and newly writes it to the first memo IJ31.These processes are repeated four times in the arithmetic processing circuit 7 (steps 21 to 26), and each data is added to the cumulative addition. Then divide it by 4 and save it to the first memory 3.
1 (step 29).

次に比較すべき、即ち変化を調べる画像を第2のメモリ
32に取込み(ステップ27)、これと第1のメモリ3
1の背景画像が比較処理回路5で比較され(ステップ3
0)、その比較結果THがある一定以上の変化THOを
検出したときブザーを鳴らし処理を終了する(ステップ
31〜32)それ以外のときは、演算処理回路7にて例
えば第1のメモリ31の内容を3倍し、第2のメモリ3
2の内容を加えてこれを上記第1のメモリ31に書込ん
で背景画像としなおしくステップ33〜35)、以後同
様の動作を繰り返し行なう。
Next, an image to be compared, that is, an image to be examined for changes, is taken into the second memory 32 (step 27), and this and the image to be compared with the first memory 3 are taken into the second memory 32.
1 background image is compared in the comparison processing circuit 5 (step 3
0), and when the comparison result TH detects a change THO of a certain level or more, a buzzer sounds and the process ends (steps 31 to 32). Otherwise, the arithmetic processing circuit 7 stores, for example, the first memory 31. Multiply the contents by 3 and write the second memory 3
The contents of step 2 are added and written in the first memory 31 to be used as a background image again (steps 33 to 35), and the same operation is repeated thereafter.

このような本実施例では、メモリが2個だけでよ(、従
って装置が安価になり、また従来装置に比しメモリを参
照する回数も少ないので高速処理が可能となり、信頼性
を向上することができる。
In this embodiment, only two memories are required (therefore, the device is inexpensive, and the number of times the memory is referenced is reduced compared to the conventional device, so high-speed processing is possible and reliability is improved. I can do it.

なお、上記実施例では本方式を監視装置に通用した場合
について説明したが、本発明の基本原理は人数カウント
装置や一般の画像間演算(比較)を行なう一般の画像処
理装置にも通用できるものである。
Although the above embodiment describes the case where this method is applied to a monitoring device, the basic principle of the present invention can also be applied to a people counting device or a general image processing device that performs general calculations (comparisons) between images. It is.

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

以上のように、本発明に係る監視装置によれば、画像デ
ータを記憶する記憶回路を2個設け、該各記憶回路の内
容に所定の演算処理を施し平均画像を求めてこれを一方
の記憶回路に書込み、これと。  他方の記憶回路の比
較すべき画像とを比較するようにしたので、装置を安価
にでき、また高速処理の可能な信M性の高いものが得ら
れる効果がある。
As described above, according to the monitoring device according to the present invention, two memory circuits for storing image data are provided, and the contents of each memory circuit are subjected to predetermined arithmetic processing to obtain an average image, which is stored in one memory. Write this in the circuit. Since the image to be compared is compared with the image in the other memory circuit, the apparatus can be made inexpensive, and it is also possible to obtain a high-reliability device capable of high-speed processing.

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

第1図はこの発明の一実施例による監視装置の構成図、
第2図は該装置の動作を説明するためのフローチャート
図、第3図は従来の監視装置の構成図である。 31.32・・・メモリ、5・・・比較処理回路、7・
・・演算処理回路。 なお図中、同一符号は同−又は相当部分を示す。
FIG. 1 is a configuration diagram of a monitoring device according to an embodiment of the present invention;
FIG. 2 is a flowchart for explaining the operation of the device, and FIG. 3 is a configuration diagram of a conventional monitoring device. 31.32...Memory, 5...Comparison processing circuit, 7.
...Arithmetic processing circuit. In the drawings, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] (1)入力画像データに変化を検出したとき該検出結果
を出力する監視装置であって、 上記入力画像データを記憶する2個の記憶回路と、 該2個の記憶回路の内容に演算処理を施こし所定期間に
入力した画像データの平均データを求めてこれを一方の
記憶回路に書込む演算処理手段と、上記一方の記憶回路
の平均画像データと他方の記憶回路に書込まれた比較す
べき画像データとを比較して画像データの変化が所定レ
ベル以上のとき検出信号を出力する比較処理手段とを備
えたことを特徴とする監視装置。
(1) A monitoring device that outputs a detection result when a change is detected in input image data, comprising two memory circuits that store the input image data, and arithmetic processing on the contents of the two memory circuits. an arithmetic processing means for calculating the average data of the image data inputted during a predetermined period of time and writing it into one of the memory circuits; 1. A monitoring device comprising: comparison processing means for comparing the image data with normal image data and outputting a detection signal when a change in the image data is equal to or higher than a predetermined level.
JP60192517A 1985-08-30 1985-08-30 Monitor device Pending JPS6252683A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60192517A JPS6252683A (en) 1985-08-30 1985-08-30 Monitor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60192517A JPS6252683A (en) 1985-08-30 1985-08-30 Monitor device

Publications (1)

Publication Number Publication Date
JPS6252683A true JPS6252683A (en) 1987-03-07

Family

ID=16292599

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60192517A Pending JPS6252683A (en) 1985-08-30 1985-08-30 Monitor device

Country Status (1)

Country Link
JP (1) JPS6252683A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63303476A (en) * 1987-06-03 1988-12-12 Nikon Corp Image processor
JPH01164207A (en) * 1987-12-18 1989-06-28 Fujikura Ltd Behavior monitoring method for power cable
JPH0467276A (en) * 1990-07-06 1992-03-03 F M T:Kk Method and device for detecting moving object by image processing
JPH06139358A (en) * 1992-10-26 1994-05-20 Toshiba Tesco Kk Image processing system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63303476A (en) * 1987-06-03 1988-12-12 Nikon Corp Image processor
JPH01164207A (en) * 1987-12-18 1989-06-28 Fujikura Ltd Behavior monitoring method for power cable
JPH0467276A (en) * 1990-07-06 1992-03-03 F M T:Kk Method and device for detecting moving object by image processing
JPH06139358A (en) * 1992-10-26 1994-05-20 Toshiba Tesco Kk Image processing system

Similar Documents

Publication Publication Date Title
JPH03256485A (en) Motion vector detecting circuit
JPS61277254A (en) Picture reader
JPS6252683A (en) Monitor device
JPH05227476A (en) Picture data storing system
JP3535494B2 (en) Fingerprint image determination device and program
US5781564A (en) Method and apparatus for detecting and concealing data errors in stored digital data
JP2022077197A (en) Video processing apparatus, video freeze determination method, and display system
US6519370B1 (en) Digital image processing
JP2000331254A (en) Monitor camera
JP3402581B2 (en) Data restoration device
JPH0795469A (en) Picture compensation device of camcorder
JP3007824B2 (en) Motion detection device
JPH10257504A (en) Motion vector detector
JP3908792B2 (en) Image collation method and apparatus
JP2694569B2 (en) Predetermined code bit continuous position detection method
JPH11154101A (en) Fault detecting circuit for image signal processor
JPH07274178A (en) Motion vector detector
US5386421A (en) Image memory diagnostic system
JP2659783B2 (en) Image processing device
JPH07131657A (en) Image processor
JPH1138045A (en) Digital oscilloscope
JPS63186383A (en) Image processing device
JPH103287A (en) Video memory
JPS6365271B2 (en)
JPH0378168A (en) Error correction circuit