JP3518175B2 - Motion detection device, motion detection method, and video camera system - Google Patents

Motion detection device, motion detection method, and video camera system

Info

Publication number
JP3518175B2
JP3518175B2 JP18689096A JP18689096A JP3518175B2 JP 3518175 B2 JP3518175 B2 JP 3518175B2 JP 18689096 A JP18689096 A JP 18689096A JP 18689096 A JP18689096 A JP 18689096A JP 3518175 B2 JP3518175 B2 JP 3518175B2
Authority
JP
Japan
Prior art keywords
motion
motion detection
evaluation value
chroma
phase angle
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.)
Expired - Fee Related
Application number
JP18689096A
Other languages
Japanese (ja)
Other versions
JPH1023394A (en
Inventor
和人 長沼
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP18689096A priority Critical patent/JP3518175B2/en
Publication of JPH1023394A publication Critical patent/JPH1023394A/en
Application granted granted Critical
Publication of JP3518175B2 publication Critical patent/JP3518175B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、例えばビデオカメ
ラを用いた監視システムなどに適用して好適な動き検出
装置及び動き検出方法と、これら動き検出装置及び動き
検出方法に基づいて構成されるビデオカメラシステムに
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motion detection device and a motion detection method suitable for application to, for example, a surveillance system using a video camera, and a video constructed based on the motion detection device and the motion detection method. It relates to a camera system.

【0002】[0002]

【従来の技術】ビデオカメラ等の撮影装置により撮影さ
れた被写体の動きを検出する方法としては、現フィール
ドの画像と前フィールドの画像の同一アドレスにおける
差分値を求めて絶対値化した後に、この絶対値化された
値をフィールド全体に渡って積分し、この積分値に基づ
いてフィールド間における動きの有無を検出する方法が
一般的であった。
2. Description of the Related Art As a method of detecting the movement of a subject photographed by a photographing device such as a video camera, a difference value at the same address between an image of a current field and an image of a previous field is calculated and made into an absolute value. A general method is to integrate an absolute value over the entire field and detect the presence or absence of movement between fields based on the integrated value.

【0003】ただし、上記のような動き検出方法では、
例えば(1)移動物体が変形、回転、遠近移動等を行っ
た場合、(2)移動物体の瞬時移動量が大きい場合、
(3)移動物体が繰り返しパターンを有する場合、及び
(4)移動物体が周囲の固定物体と部分的に重なり合う
場合、などには動き検出が困難になることが分かってお
り、例えば、ビデオカメラを用いた監視システムなどに
おいて自動的に動き検出を行うための技術としては適当
ではなかった。また、演算規模も大きいことから動き検
出装置が高価にもなっていた。
However, in the motion detecting method as described above,
For example, (1) when the moving object is deformed, rotated, or moved in perspective, (2) when the instantaneous moving amount of the moving object is large,
It has been found that motion detection becomes difficult when (3) the moving object has a repeating pattern, and (4) when the moving object partially overlaps with a fixed object in the surroundings. It was not suitable as a technique for automatically detecting motion in the surveillance system used. Further, since the calculation scale is large, the motion detecting device is expensive.

【0004】そこで先に本出願人により、例えば、ビデ
オカメラを用いた監視システムに適用して好適となるよ
うに構成された動き検出方法が提案されている(特願平
7−284537)。この発明においては、画像の所定
エリアごとから抽出した映像信号の輝度信号成分に基づ
いて画像の評価値を算出するようにしている。そして、
平常状態時における評価値を基に規準値を得たうえで、
現在撮影されている画像から得られる評価値と上記規準
値とをエリアごとに比較することで、画像の動きを検出
するようにした構成が示されている。これにより、移動
物体が上記(1)〜(4)にて述べたような状態にあっ
ても高い精度での動き検出が可能となり、より監視シス
テムに適合する動き検出を行うことが可能となる。
Therefore, the applicant of the present invention has previously proposed, for example, a motion detecting method adapted to be suitable for application to a surveillance system using a video camera (Japanese Patent Application No. 7-284537). In the present invention, the evaluation value of the image is calculated based on the luminance signal component of the video signal extracted from each predetermined area of the image. And
After obtaining the standard value based on the evaluation value in the normal state,
There is shown a configuration in which the movement of the image is detected by comparing the evaluation value obtained from the currently photographed image and the reference value for each area. As a result, even if the moving object is in the state described in (1) to (4) above, it is possible to detect the motion with high accuracy, and it is possible to perform the motion detection that is more suitable for the monitoring system. .

【0005】[0005]

【発明が解決しようとする課題】但し、本出願人により
提案された上記のような動き検出方法では、輝度信号成
分に基づいて画像の評価値を得るようにしていることか
ら、例えばビデオカメラの視野に移動物体が侵入してき
たような場合だけでなく、比較的大きな撮影画像の明る
さの変化についても動きがあると検出してしまうことに
なる。例えば、ビデオカメラを用いた監視システムの利
用環境としては様々な状況が考えられるが、日照や照明
等の変化によって明るさの変化の程度が比較的大きくな
るような場所を監視する場合には、撮影画像の明るさの
変化については動き無しとすべきであるが、上記のよう
に輝度信号の変化に基づいて動き検出を行っている場合
には、動きありと誤検出する場合がある。
However, in the above-described motion detection method proposed by the present applicant, the evaluation value of the image is obtained based on the luminance signal component. Not only when a moving object has entered the field of view, but also when there is a change in the brightness of a relatively large captured image, it is detected that there is movement. For example, there are various situations in which a monitoring system using a video camera can be used, but when monitoring a place where the degree of change in brightness is relatively large due to changes in sunshine and lighting, The change in the brightness of the photographed image should be no motion. However, when the motion detection is performed based on the change in the luminance signal as described above, the motion may be erroneously detected.

【0006】[0006]

【課題を解決するための手段】そこで本発明は上記した
課題を考慮して、映像信号からクロマ信号成分を抽出す
るクロマ信号抽出手段と、画像を所定のエリアごとに区
分して設定すると共にエリアごとのクロマ信号成分の位
相角を算出するクロマ位相角算出手段と、このクロマ位
相角算出手段により算出されたエリアごとのクロマ信号
成分の位相角に基づいてエリアごとに動き検出の判断要
素となる評価値を算出する評価値算出手段と、平常時と
される画像状態のもとで評価値に基づいて動き検出ため
の規準値を得て保持する規準値保持手段と、この評価値
算出手段にて得られる現在の評価値と規準値保持手段に
保持されている規準値とを比較した結果に基づいて画像
の動きの有無を検出する動き検出手段とを備えて動き検
出装置を構成することとした。
In view of the above-mentioned problems, the present invention considers the above-mentioned problems, and a chroma signal extraction means for extracting a chroma signal component from a video signal, and an image which is set by dividing an image into predetermined areas. A chroma phase angle calculation means for calculating the phase angle of the chroma signal component for each area, and a motion detection determination element for each area based on the phase angle of the chroma signal component for each area calculated by the chroma phase angle calculation means. An evaluation value calculation means for calculating an evaluation value, a reference value holding means for obtaining and holding a reference value for motion detection based on the evaluation value under normal image conditions, and the evaluation value calculation means The motion detection device is provided with a motion detection unit that detects the presence or absence of image motion based on the result of comparison between the current evaluation value obtained as a result and the reference value held in the reference value holding unit. It was and.

【0007】また、上記動き検出装置の構成に対して、
上記所定のエリアごとに抽出された映像信号の輝度信号
成分に基づいて動き検出を行うことのできる他の動き検
出手段と、上記動き検出手段の検出情報と他の動き検出
手段の両者の検出情報を参照することにより画像の動き
検出の有無を識別する動き検出識別手段を設けることと
した。
Further, with respect to the configuration of the motion detecting device,
Other motion detection means capable of performing motion detection based on the luminance signal component of the video signal extracted for each of the predetermined areas, and detection information of both the motion detection means and other motion detection means It is decided to provide a motion detection identifying means for identifying the presence or absence of motion detection of an image by referring to.

【0008】また、本発明の動き検出方法として、映像
信号からクロマ信号成分を抽出し、画像を区分して設定
した所定のエリアごとのクロマ信号成分の位相角を算出
し、算出されたクロマ信号成分の位相角に基づいてエリ
アごとに動き検出の判断要素となる評価値を算出し、平
常時とされる画像状態のもとで上記評価値に基づいて動
き検出ための規準値を得て保持する。そして、現在の評
価値と保持されている規準値とを比較して、この比較結
果に基づいて画像の動きの有無を検出することとした。
As a motion detecting method of the present invention, a chroma signal component is extracted from a video signal, a phase angle of the chroma signal component for each predetermined area set by dividing an image is calculated, and the calculated chroma signal is calculated. Calculates the evaluation value that is the judgment factor for motion detection for each area based on the phase angle of the component, and obtains and holds the reference value for motion detection based on the above evaluation value under normal image conditions To do. Then, the current evaluation value and the held reference value are compared, and the presence or absence of image movement is detected based on the comparison result.

【0009】更に、本発明のビデオカメラシステムとし
ては、撮像装置と、前記撮像装置の出力を用いてデータ
処理を行うデータ処理手段と、前記撮像装置の出力を表
示するモニタ装置と、前記撮像装置の出力を記録する記
録装置と、警報装置とを備えるものとされる。そして、
上記データ処理装置は、少なくとも上記の本発明に係る
動き検出装置を備え、この動き検出装置により画像に動
きがあると検出された場合には、上記記録装置及び警報
装置を動作させると共に、上記モニタ装置に対して動き
が検出されたエリアを示すための表示を行う制御を実行
するように構成することとした。
Further, as a video camera system of the present invention, an image pickup device, a data processing means for performing data processing using the output of the image pickup device, a monitor device for displaying the output of the image pickup device, and the image pickup device. And a warning device for recording the output of the. And
The data processing device includes at least the motion detecting device according to the present invention. When the motion detecting device detects that there is a motion in an image, the recording device and the alarm device are operated, and the monitor is operated. It is configured to execute a control for displaying a display indicating the area where the motion is detected for the device.

【0010】上記構成によれば、本発明では少なくとも
画像の所定エリアから抽出されたクロマ信号成分に基づ
いて動き検出を行うことになる。即ち画像の色成分の変
化にに基づいて動き検出が行われる。また、上記クロマ
信号成分に基づく動き検出と、画像の所定エリアから抽
出した輝度信号成分に基づいた動き検出とを併用すれ
ば、更に動き検出の確実性を高めることが可能となる。
According to the above construction, in the present invention, the motion detection is performed based on at least the chroma signal component extracted from the predetermined area of the image. That is, the motion detection is performed based on the change in the color component of the image. Further, if the motion detection based on the chroma signal component and the motion detection based on the luminance signal component extracted from the predetermined area of the image are used together, the reliability of the motion detection can be further enhanced.

【0011】[0011]

【発明の実施の形態】以下、図1〜図8を参照して本発
明の実施の形態について説明する。なお、以降の説明は
次の順序で行うこととする。 1.ビデオカメラシステムの構成例 2.評価値算出ブロックの構成例 3.マイクロコンピュータにおける動き検出部の構成例 4.動き検出のための処理動作 5.他の動き検出部の構成 6.他の実施の形態の動き検出装置の構成例(輝度信号
成分を利用した動き検出装置を併用した構成)
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to FIGS. The following description will be given in the following order. 1. 1. Configuration example of video camera system 2. Configuration example of evaluation value calculation block 3. Configuration Example of Motion Detection Unit in Microcomputer 4. Processing operation for motion detection 5. Configuration of other motion detection unit Configuration Example of Motion Detection Device According to Another Embodiment (configuration in which a motion detection device using a luminance signal component is also used)

【0012】1.ビデオカメラシステムの構成例 図lは本発明の実施の形態としてのビデオカメラシステ
ムの全体のブロック構成を示している。この図に示すビ
デオカメラシステムは、ユーザが予め設定した特定の監
視エリアを撮像するビデオカメラ1と、ビデオカメラ1
からの映像信号を基に監視エリア内の被写体の動きを検
出するデータ処理装置2と、ビデオカメラ1の出力を表
示するモニター装置8と、ビデオカメラ1の出力を記録
するビデオテープレコーダ(以下VTRという)4と、
データ処理装置2の出力により警報動作を行なう警報装
置5と、データ処理装置2が作成した白枠信号をビデオ
カメラ1の出力に合成する合成回路6とを備えている。
1. Configuration Example of Video Camera System FIG. 1 shows an overall block configuration of a video camera system as an embodiment of the present invention. The video camera system shown in this figure includes a video camera 1 for capturing an image of a specific surveillance area preset by a user, and a video camera 1
A data processing device 2 for detecting the movement of an object in a surveillance area based on a video signal from the monitor, a monitor device 8 for displaying the output of the video camera 1, and a video tape recorder (hereinafter referred to as VTR) for recording the output of the video camera 1. 4),
An alarm device 5 that performs an alarm operation by the output of the data processing device 2 and a synthesizing circuit 6 that synthesizes the white frame signal generated by the data processing device 2 with the output of the video camera 1 are provided.

【0013】ビデオカメラ1は、被写体に対応する映像
信号を生成するCCD11と、CCD11の出力につい
てサンプル/ホールド及びゲイン調整を行なうサンプル
/ホールド・AGC回路12と、サンプル/ホールド・
AGC回路12の出力を、例えば10ビットのデジタル
信号に変換するA/D変換回路13と、A/D変換回路
13の出力に対して所定のカメラ信号処理を施すカメラ
信号処理回路14とを備えている。
The video camera 1 includes a CCD 11 for generating a video signal corresponding to a subject, a sample / hold AGC circuit 12 for performing sample / hold and gain adjustment on the output of the CCD 11, and a sample / hold.
An A / D conversion circuit 13 for converting the output of the AGC circuit 12 into, for example, a 10-bit digital signal, and a camera signal processing circuit 14 for subjecting the output of the A / D conversion circuit 13 to predetermined camera signal processing are provided. ing.

【0014】データ処理装置2は、ビデオカメラ1内の
A/D変換回路13から送られて来るデジタルデータを
用いて被写体の評価値を算出する評価値算出ブロック1
5と、評価値算出ブロック15から送られてくる評価値
を基に監視エリア内の被写体の動きを検出するマイクロ
コンピュータ(以下マイコンという)16とを備えてい
る。マイコン16は、後述するようにして被写体の動き
を検出すると、例えばVTR4が撮像画像の記録動作を
開始するように制御を実行すると共に、警報装置5が警
報動作を行うように制御する。この結果、監視エリア内
の被写体に動きがあるとされた場合には、警報装置5が
動作すると共にビデオカメラ1により撮影した映像信号
が記録される。また、マイコン16は、評価値算出ブロ
ック15に対して1画面を複数個に分割した分割エリア
(以下枠という)を指定する信号を与える。この「枠」
の指定については、図3を参照して後述する。評価値算
出プロック15は、指定された枠内における評価値を算
出してマイコン16に送る.また、マイコン16から被
写体に動きがあることを示す信号を受けた時にその枠を
指示するための白枠信号を作成して合成回路6へ出力す
る。なお、これまで説明したデータ処理装置2の詳細に
ついては後述する。
The data processing device 2 uses the digital data sent from the A / D conversion circuit 13 in the video camera 1 to calculate the evaluation value of the subject, and the evaluation value calculation block 1
5 and a microcomputer (hereinafter referred to as a microcomputer) 16 that detects the movement of the subject in the monitoring area based on the evaluation value sent from the evaluation value calculation block 15. When the microcomputer 16 detects the movement of the subject as described later, the microcomputer 16 controls the VTR 4 to start the recording operation of the captured image and controls the alarm device 5 to perform the alarm operation. As a result, when it is determined that the subject in the surveillance area is moving, the alarm device 5 is activated and the video signal captured by the video camera 1 is recorded. Further, the microcomputer 16 gives the evaluation value calculation block 15 a signal for designating a divided area (hereinafter referred to as a frame) in which one screen is divided into a plurality of areas. This "frame"
The designation of will be described later with reference to FIG. The evaluation value calculation block 15 calculates the evaluation value within the designated frame and sends it to the microcomputer 16. When a signal indicating that the subject is moving is received from the microcomputer 16, a white frame signal for designating the frame is created and output to the synthesizing circuit 6. The details of the data processing device 2 described above will be described later.

【0015】2.評価値算出ブロックの構成例 図2のブロック図は、上記図1に示した評価値算出ブロ
ック15の構成例を示すブロック図である。この図に示
す評価値算出ブロック15は、Y,I,Qマトリクス回
路21と、2系統のクロマ位相角演算回路(22、2
6)、ゲート回路(23、27)、積分回路(24、2
8)、及びスイッチ回路(25、29)からなる回路系
により構成されている。
2. Configuration Example of Evaluation Value Calculation Block The block diagram of FIG. 2 is a block diagram showing a configuration example of the evaluation value calculation block 15 shown in FIG. The evaluation value calculation block 15 shown in this figure includes a Y, I, Q matrix circuit 21 and two systems of chroma phase angle calculation circuits (22, 2).
6), gate circuit (23, 27), integrating circuit (24, 2)
8) and a switch circuit (25, 29).

【0016】本実施の形態の場合、図1に示したビデオ
カメラ1のA/D変換回路13から評価値算出ブロック
15に供給される映像信号データとしては、例えば画素
単位によるRGB信号に相当するデジタルデータが供給
される。Y,I,Qマトリクス回路21には、A/D変
換回路13から供給される上記RGB信号のデータを入
力して、この入力信号から輝度信号データ(Y信号成
分)と、I信号及びQ信号からなるクロマ信号データを
抽出する。そして、ここで抽出されたY信号データとク
ロマ信号データのうち、クロマ信号データをクロマ位相
角演算回路22、26に対して分岐して出力する。
In the case of the present embodiment, the video signal data supplied from the A / D conversion circuit 13 of the video camera 1 shown in FIG. 1 to the evaluation value calculation block 15 corresponds to, for example, an RGB signal in pixel units. Digital data is supplied. The RGB signal data supplied from the A / D conversion circuit 13 is input to the Y, I, Q matrix circuit 21, and the luminance signal data (Y signal component), the I signal and the Q signal are input from this input signal. Chroma signal data consisting of Then, of the Y signal data and the chroma signal data extracted here, the chroma signal data is branched and output to the chroma phase angle calculation circuits 22 and 26.

【0017】クロマ位相角演算回路22、26には、画
素単位に対応するクロマ信号データ(I信号データ及び
Q信号データ)が入力されることになる。そして、クロ
マ位相角演算回路22、26においては、I信号データ
の値をI、Q信号データの値をQとして、
Chroma signal data (I signal data and Q signal data) corresponding to each pixel is input to the chroma phase angle calculation circuits 22 and 26. Then, in the chroma phase angle calculation circuits 22 and 26, the value of the I signal data is I and the value of the Q signal data is Q,

【数1】 で表される演算処理を施すことによって、画素単位でク
ロマ信号成分の位相角(以降は単にクロマ位相角とい
う)を算出する。即ち、クロマ信号成分から色相(Hu
e)の情報を得る。上記クロマ位相角演算回路22、2
6により算出された画素単位のクロマ位相角の情報信号
は、それぞれゲート回路23、27に供給される。
[Equation 1] The phase angle of the chroma signal component (hereinafter simply referred to as the chroma phase angle) is calculated for each pixel by performing the calculation process represented by. That is, from the chroma signal component to the hue (Hu
Obtain the information in e). The chroma phase angle calculation circuits 22 and 2
The information signal of the chroma phase angle for each pixel calculated by 6 is supplied to the gate circuits 23 and 27, respectively.

【0018】ゲート回路23は1画面の上半分の所定の
枠内の信号(クロマ位相角の情報信号)を抽出し、ゲー
ト回路27は画面の下半分の所定の枠内の信号(クロマ
位相角の情報信号)抽出する。
The gate circuit 23 extracts a signal (chroma phase angle information signal) within a predetermined frame in the upper half of one screen, and a gate circuit 27 extracts a signal within a predetermined frame (chroma phase angle) in the lower half of the screen. Information signal of).

【0019】ここで、図3を参照してこれらゲート回路
23、27が抽出するエリアについて説明する。この図
において、太線で囲まれたエリアは1画面に対応する。
ここでは1画面を垂直方向にAチャンネルとBチャンネ
ルに2分割し、さらに各々を水平方向に15分割、すな
わち1画面を30個の枠に分割している。
Now, the areas extracted by the gate circuits 23 and 27 will be described with reference to FIG. In this figure, the area surrounded by a thick line corresponds to one screen.
Here, one screen is vertically divided into two channels, A channel and B channel, and each is horizontally divided into 15, that is, one screen is divided into 30 frames.

【0020】ゲート回路23は、1フィールド毎にAチ
ャンネルの枠内のビデオデータを左端から順に抽出し、
ゲート回路27は、1フィールド毎にBチャンネルの枠
内のビデオデータを左端から順に抽出する。また、Aチ
ャンネルの枠内のビデオデータの抽出とBチャンネルの
枠内のビデオデータの抽出は、パラレル又は時系列に行
なわれる。ここで、枠の設定はマイコン16から出力さ
れる枠番号により行なわれることになる。
The gate circuit 23 extracts the video data in the frame of the A channel for each field in order from the left end,
The gate circuit 27 sequentially extracts the video data in the frame of the B channel for each field from the left end. Further, the extraction of the video data in the frame of the A channel and the extraction of the video data in the frame of the B channel are performed in parallel or in time series. Here, the frame is set by the frame number output from the microcomputer 16.

【0021】フィールド#0のOddからフィールド#
7のOdd、すなわち15フィールドで1画面全体の枠
内のビデオデータの抽出が終わる。次に、フィールド#
7のEvenで1画面の左端の枠内のビデオデータの抽
出を行なった後、フィールド#8のOddで再び画面の
左端の枠内のビデオデータの抽出を行ない、その後前述
した動作を操り返す。すなわち、画面の左端の枠内のビ
デオデータは16フィールド期間内に2回抽出すること
になる。これにより、奇数フィールドと偶数フィールド
とのラインの相違により後述する評価値が変化しないよ
うにしている。なお、フィールド#7のEvenにおけ
る抽出データはフィールド#0のOddのデータとは別
に処理され、動き検出に利用される。
From Odd of field # 0 to field #
With Odd of 7, that is, 15 fields, the extraction of the video data within the frame of the entire screen is completed. Then field #
After the video data in the leftmost frame of one screen is extracted in Even of 7, the video data in the leftmost frame of the screen is extracted again in Odd of field # 8, and then the above-described operation is repeated. That is, the video data in the leftmost frame of the screen is extracted twice within the 16-field period. This prevents the evaluation value, which will be described later, from changing due to the line difference between the odd field and the even field. The extracted data in the even field # 7 is processed separately from the Odd data in the field # 0 and used for motion detection.

【0022】上記図3の説明から分かるように、ゲート
回路23からはAチャンネル(画面上半分)において1
5分割された枠ごとに、画素単位によるクロマ位相角の
情報信号が出力され、ゲート回路27からはBチャンネ
ル(画面下半分)において15分割された枠ごとに、画
素単位によるクロマ位相角の情報信号が出力されること
になる。ゲート回路23の出力は積分回路24に供給さ
れ、ゲート回路28の出力は積分回路28に供給され
る。
As can be seen from the explanation of FIG. 3 above, the gate circuit 23 outputs 1 in the A channel (upper half of the screen).
An information signal of the chroma phase angle in pixel units is output for each of the five divided frames, and the gate circuit 27 outputs information of the chroma phase angle in pixel units for each of the 15 divided frames in the B channel (lower half of the screen). A signal will be output. The output of the gate circuit 23 is supplied to the integrating circuit 24, and the output of the gate circuit 28 is supplied to the integrating circuit 28.

【0023】積分回路24は、ゲート回路23から供給
される枠ごとの画素単位によるクロマ位相角の情報信号
について積分を行い、積分回路28はゲート回路27か
ら供給される枠ごとの画素単位によるクロマ位相角の情
報信号について積分を行う。これにより、積分回路24
及び28からは、枠単位内に存在する画素のクロマ位相
角についての積分値が得られることになるが、このよう
な積分を行うことで各枠内におけるクロマ位相角の平均
を求めるようにしている。
The integrator circuit 24 integrates the chroma phase angle information signal supplied from the gate circuit 23 for each frame for each frame, and the integrator circuit 28 integrates the chroma phase angle information signal for each frame for each frame supplied from the gate circuit 27. Integration is performed on the phase angle information signal. As a result, the integration circuit 24
And 28, the integrated value of the chroma phase angle of the pixel existing in the frame unit can be obtained. By performing such integration, the average of the chroma phase angle in each frame can be obtained. There is.

【0024】スイッチ回路25、29は、それぞれ積分
回路24、28の出力を枠単位の評価値としてマイコン
16へ出力する。スイッチ回路25、29から出力され
る評価値は、例えば、2バイトのデータにより形成され
ている。また、スイッチ回路25、29の出力に付され
ている番号1〜Nは図3にて説明した枠の番号であり、
本実施の形態の場合にはN=16とされることになる。
なお、図2に示した評価値算出ブロック15において、
クロマ位相角演算回路22、26以降の機能ブロックは
ソフトウェアにより構成することもできる。
The switch circuits 25 and 29 output the outputs of the integrating circuits 24 and 28 to the microcomputer 16 as evaluation values in frame units. The evaluation value output from the switch circuits 25 and 29 is formed of, for example, 2-byte data. Further, the numbers 1 to N attached to the outputs of the switch circuits 25 and 29 are the numbers of the frames described in FIG.
In the case of this embodiment, N = 16.
In the evaluation value calculation block 15 shown in FIG.
The functional blocks after the chroma phase angle calculation circuits 22 and 26 can be configured by software.

【0025】3.マイクロコンピュータにおける動き検
出部の構成例 図4にマイコン16における動き検出部の1チャンネル
分の構成を示す。従って、実際には図3に示したように
枠がA,Bチャンネルの2つに分けられることに対応し
て、この図4に示す構成の動き検出部が2組設けられる
ことになる。この図に示すように、マイコン16内の動
き検出部としては、図2に示したスイッチ回路25(又
は29)の枠1〜枠Nの各評価値を入力することによ
り、枠単位で画像の動き検出を行うように構成された、
N個の動き検出ブロック41−2〜41−Nが設けられ
る。本実施の形態においては図3の枠の分割方法に基づ
いた場合には、A、Bチャンネルでそれぞれ16個の動
き検出ブロックが設けられることになる。なお、この図
では枠1の動きを検出するための動き検出ブロック41
−1のみについて内部の構成を示してあり、以降の説明
も動き検出ブロック41−1について行うものである
が、その内部構成は、他の動き検出ブロック41−2〜
41−Nについても同様とされる。
3. Configuration Example of Motion Detection Unit in Microcomputer FIG. 4 shows the configuration of one channel of the motion detection unit in the microcomputer 16. Therefore, in actuality, two sets of motion detecting units having the configuration shown in FIG. 4 are provided in response to the frame being divided into two channels, A and B, as shown in FIG. As shown in this figure, the motion detection unit in the microcomputer 16 inputs each evaluation value of the frame 1 to the frame N of the switch circuit 25 (or 29) shown in FIG. Configured to perform motion detection,
N motion detection blocks 41-2 to 41-N are provided. In the present embodiment, when the frame division method of FIG. 3 is used, 16 motion detection blocks are provided for each of the A and B channels. In this figure, a motion detection block 41 for detecting the motion of the frame 1
Although the internal configuration is shown only for −1 and the following description is also given for the motion detection block 41-1, the internal configuration is the same as the other motion detection blocks 41-2 to 41-2.
The same applies to 41-N.

【0026】動き検出ブロック41−1は、最大値レジ
スタ51と、最小値レジスタ52と、最大値レジスタ5
1に格納されている値と現在入力されている評価値とを
比較する第1の比較器53と、最小値レジスタ52に格
納されている値と現在入力されている評価値とを比較す
る第2の比較器54と、スイッチSW1と、スイッチS
W2と、第1の比較器53の出力の符号を格納する第1
の符号レジスタ55と、第2の比較器54の出力の符号
を格納する第2の符号レジスタ56と、第1及び第2の
符号レジスタ55及び56の論理積をとるANDゲート
57とにより構成されている。
The motion detection block 41-1 includes a maximum value register 51, a minimum value register 52, and a maximum value register 5.
A first comparator 53 that compares the value stored in 1 with the currently input evaluation value, and a first comparator 53 that compares the value stored in the minimum value register 52 with the currently input evaluation value. 2 comparator 54, switch SW1, switch S
W2 and a first sign that stores the sign of the output of the first comparator 53
Code register 55, a second code register 56 that stores the code of the output of the second comparator 54, and an AND gate 57 that performs a logical product of the first and second code registers 55 and 56. ing.

【0027】スイッチSW1及びSW2は、スリーステ
ートポジションのスイッチである。最大値レジスタ51
及び最小値レジスタ52は、スイッチSW1及びSW2
がL(ロー)に接続されている時に評価値を格納する。
第1及び第2の符号レジスタ55及び56は、第1及び
第2の比較器58及び54の出力を格納する以外は、常
にホールド状態にある。
The switches SW1 and SW2 are three-state position switches. Maximum value register 51
And the minimum value register 52 include switches SW1 and SW2.
Stores the evaluation value when is connected to L (low).
The first and second sign registers 55 and 56 are always in the hold state except for storing the outputs of the first and second comparators 58 and 54.

【0028】ANDゲート57は、第1又は第2の符号
レジスタの出力のどちらか一方がLのときに、その枠内
の被写体に動きがあるものと判断する。各検出ブロック
41一l〜41−Nの出力はANDゲート61へ送られ
る。ANDゲート61の出力がLのときには、面面内の
被写体に動きがあるものと判断し、Hのときは動きがな
いものと判断する。つまり、少なくとも1個の枠内の被
写体に動きがあるときに、画面内の被写体に動きがある
ものとしている。
The AND gate 57 determines that the subject within the frame is moving when either one of the outputs of the first and second code registers is L. The outputs of the detection blocks 411 to 41-N are sent to the AND gate 61. When the output of the AND gate 61 is L, it is determined that the subject in the plane is moving, and when the output is H, it is determined that there is no movement. That is, when the subject in at least one frame moves, the subject in the screen moves.

【0029】なお、以上説明した動き検出部の構成にお
いて、最大値レジスタ51、最小値レジスタ52、符号
レジスタ55及び56以外は、マイコン16のソフトウ
ェアにより構成されるものとされるが、ハードロジック
により構成することもできる。
In the structure of the motion detecting section described above, except for the maximum value register 51, the minimum value register 52, and the code registers 55 and 56, the software of the microcomputer 16 is used. It can also be configured.

【0030】4.動き検出のための処理動作 次に、これまで図2〜図4により説明してきたデータ処
理装置2の構成に基づいて、マイコン16が実際に動き
検出を実行する際の処理動作について説明する。図5
は、マイコン16による動き検出処理全体の流れを示す
フローチャートである。この図に示す処理ステップのう
ち、ステップS1及びステップS2は、監視エリアが平
常とされる状態において、ユーザー(監視者)がモニタ
ー装置3の画面を監視し、異常がないことを確認しなが
ら実行するものである。
4. Processing Operation for Motion Detection Next, the processing operation when the microcomputer 16 actually executes the motion detection based on the configuration of the data processing device 2 described above with reference to FIGS. 2 to 4 will be described. Figure 5
3 is a flowchart showing the flow of the entire motion detection process by the microcomputer 16. Of the processing steps shown in this figure, step S1 and step S2 are executed while the user (monitor) monitors the screen of the monitor device 3 while confirming that there is no abnormality in a state where the monitoring area is normal. To do.

【0031】ステップS1においては各種所要の初期設
定を行なう。そして、次のステップS2では、枠毎に以
下の(1)〜(5)の操作を行なうことにより動き検出
の規準値を算出する。 (1) スイッチSW1及びSW2(図4)をLポジシ
ョンに設定し、枠の評価値を最大値レジスタ51及び最
小値レジスタ52へ格納する。このとき、最大値レジス
タ51の値と最小値レジスタ52の値は等しくなる。
In step S1, various necessary initial settings are made. Then, in the next step S2, the reference value for motion detection is calculated by performing the following operations (1) to (5) for each frame. (1) The switches SW1 and SW2 (FIG. 4) are set to the L position, and the evaluation value of the frame is stored in the maximum value register 51 and the minimum value register 52. At this time, the value of the maximum value register 51 and the value of the minimum value register 52 become equal.

【0032】(2) スイッチSW1及びSW2をMポ
ジションに設定し、評価値を第1及び第2の比較器53
及び54へ入力させる。 (3) 評価値が最大値レジスタ51の値よりも大きい
ときには第1の比較器53の出力はLとなる。このと
き、最大値レジスタ51の値が評価値により更新され
る。また、評価値が最小値レジスタ52の値よりも小さ
いときには第2の比較器54の出力はLとなる。このと
き、最小値レジスタ52の値が評価値により更新され
る。評価値が最大値レジスタ51の値と最小値レジスタ
52の値との間にあるときには、これらのレジスタの値
は更新されない。以上の操作を各枠について例えば数十
回行なう。この回数(時間)は、ビデオカメラの映像視
野内で正常な動きの周期が入る最短時間に設定する。例
えば、映像視野内に揺れる木々やネオンの点減等が存在
する場合には、それらの動きの周期以上に設定すること
が必要である。なお、この時、枠1について連続して数
十回行ない、次に枠2について連続して数十回行ない、
以後枠3、4、・・・Nに対して数10回ずつ行なうよ
うにしてもよいし、枠1、2、3、・・・Nに対して1
回ずつ行なうことを数十回操り返してもよい。
(2) The switches SW1 and SW2 are set to the M position, and the evaluation value is set to the first and second comparators 53.
And 54. (3) When the evaluation value is larger than the value of the maximum value register 51, the output of the first comparator 53 becomes L. At this time, the value of the maximum value register 51 is updated with the evaluation value. Further, when the evaluation value is smaller than the value of the minimum value register 52, the output of the second comparator 54 becomes L. At this time, the value of the minimum value register 52 is updated with the evaluation value. When the evaluation value is between the value in the maximum value register 51 and the value in the minimum value register 52, the values in these registers are not updated. The above operation is performed, for example, tens of times for each frame. The number of times (time) is set to the shortest time during which a normal motion cycle enters within the visual field of the video camera. For example, when there are swaying trees or neon flashes in the image field of view, it is necessary to set the period to be greater than or equal to the cycle of those motions. At this time, the frame 1 is continuously performed tens of times, and then the frame 2 is continuously performed tens of times.
After that, it may be performed several tens of times for each of the frames 3, 4, ... N, or once for each of the frames 1, 2, 3 ,.
You may repeat dozens of times.

【0033】(4) 上記(3)の操作を枠毎に数十回
行なうことにより規準値の算出が終了したら、枠毎にス
イッチSW1及びSW2をLに設定し、最大値レジスタ
51の値に所定値αを加算した値を最大値レジスタ51
の規準値θx(max) (x:枠番号(図3参照))とし、
最小値レジスタ52の値から所定βを減算した値を最小
値レジスタ52の規準値θx(min) (x:枠番号)とす
る。
(4) When the calculation of the reference value is completed by performing the above operation (3) several tens of times for each frame, the switches SW1 and SW2 are set to L for each frame to set the maximum value register 51 to the value. The value obtained by adding the predetermined value α is the maximum value register 51.
And the reference value θx (max) (x: frame number (see FIG. 3)) of
A value obtained by subtracting a predetermined β from the value of the minimum value register 52 is set as a reference value θx (min) (x: frame number) of the minimum value register 52.

【0034】上記所定値α、βはマージン値である。つ
まり、実際に監視を行っている時の平常時に起こり得
る、上記(3)の手順により得られた評価値の最大値及
び最小値以上に相当する状態変化等を考慮して、評価値
の最大値及び最小値に対してそれぞれ上記マージン値
α、βを与えて実際に最大値レジスタ51、最小値レジ
スタ52に格納すべき規準値とすることで、例えば監視
エリアの平常時において、上記評価値の最大値及び最小
値を上回るような比較的小さな状態変化については、動
き検出と見做さないようにすることができる。この終了
後、スイッチSW1及びSW2をHに設定し、最大値レ
ジスタ51と最小値レジスタ52において、それぞれ上
記規準値θx(max) 、θx(min) をホールドする。
The predetermined values α and β are margin values. In other words, the maximum evaluation value is taken into consideration in consideration of the change in state that corresponds to the maximum value and the minimum value of the evaluation value obtained by the procedure of (3) above that may occur during normal monitoring. By giving the margin values α and β to the value and the minimum value, respectively, and setting them as the reference values to be actually stored in the maximum value register 51 and the minimum value register 52, for example, in the normal time of the monitoring area, the evaluation value A relatively small state change that exceeds the maximum value and the minimum value of can be regarded as motion detection. After this, the switches SW1 and SW2 are set to H, and the reference values θx (max) and θx (min) are held in the maximum value register 51 and the minimum value register 52, respectively.

【0035】(5) 上記(4)において、全ての枠に
対して規準値θx(max) 、θx(min ) のホールドが終了
したら、図6の全ブロック41−1〜41−Nにおける
符号レジスタ55及び56の値をHに設定する。
(5) In the above (4), when the reference values θx (max) and θx (min ) are held for all the frames, the code registers in all the blocks 41-1 to 41-N in FIG. Set the values of 55 and 56 to H.

【0036】次に、ステップS3で、枠ごとに以下の
(1)〜(5)の操作を行なうことにより動き検出出力
が得られる。 (1) 任意の枠に対する評価値を入力する。 (2) 最小値レジスタ52の規準値をθx(min)
し、最大値レジスタ51の規準値をθx(max) とし、現
在の評価値をθxとして、
Next, in step S3, the motion detection output is obtained by performing the following operations (1) to (5) for each frame. (1) Input an evaluation value for an arbitrary frame. (2) The reference value of the minimum value register 52 is θx (min) , the reference value of the maximum value register 51 is θx (max) , and the current evaluation value is θx.

【数2】 となる比較結果が得られた場合には第1の比較器53の
出力がLとなる。また、
[Equation 2] When the comparison result is obtained, the output of the first comparator 53 becomes L. Also,

【数3】 となる比較結果が得られた場合には、第2の比較器54
の出力がLとなる。これらの場合には、ANDゲート5
7の出力がLとなるからその枠内で動きがあるものと判
断する。
[Equation 3] If a comparison result is obtained, the second comparator 54
Output becomes L. In these cases, AND gate 5
Since the output of 7 becomes L, it is determined that there is movement within the frame.

【0037】(3) また、上記(2)と同様に最小値
レジスタ52の規準値をθx(min)、最大値レジスタ5
1の規準値をθx(max) 、現在の評価値をθxとしたう
えで、全ての枠について、
(3) As in the case of (2) above, the reference value of the minimum value register 52 is set to θx (min) and the maximum value register 5 is set.
With the standard value of 1 as θx (max) and the current evaluation value as θx,

【数4】 となる比較結果が得られた場合にはANDゲート61の
検出出力はHとなる。そして、この場合には画面内に動
きがないものと判断する。
[Equation 4] When the comparison result is obtained, the detection output of the AND gate 61 becomes H. Then, in this case, it is determined that there is no movement within the screen.

【0038】(4) 以上の操作を各枠に対して行な
い、一巡したらステップS3の最初に戻り、同様の処理
を繰り返す。
(4) The above operation is performed for each frame, and after one cycle, the process returns to the beginning of step S3, and the same processing is repeated.

【0039】(5) そして、ANDゲート61の検出
出力がLの場合、即ち、少なくとも何れか1つの枠にお
いて動きが検出された場合には、その動きが検出された
枠を白枠で点減表示すると共に、警報装置5を動作させ
る処理及びVTR4により撮影画像を記録する記録モー
ドにする処理が並行して行なわれる。
(5) When the detection output of the AND gate 61 is L, that is, when a motion is detected in at least one of the frames, the frame in which the motion is detected is reduced by a white frame. Along with the display, the process of operating the alarm device 5 and the process of setting the recording mode for recording the captured image by the VTR 4 are performed in parallel.

【0040】5.他の動き検出部の構成 図6は、図4に示した構成に代えて、マイコン16にお
ける動き検出部として用いることのできる他の構成を示
している。この図に示す構成の動き検出部は、例えば監
視エリアが室内である場合等のように、平常時ではビデ
オカメラの視野内に明確な画像変化が少ないような環境
が監視エリアである場合に好適とされる。
5. Configuration of Other Motion Detection Unit FIG. 6 shows another configuration that can be used as a motion detection unit in the microcomputer 16 instead of the configuration shown in FIG. The motion detection unit having the configuration shown in this figure is suitable when the monitoring area is an environment where there are few clear image changes within the field of view of the video camera in normal times, such as when the monitoring area is indoors. It is said that

【0041】図6に示すように、動き検出部は、各枠毎
に、規準値を格納する規準値レジスタ71−1〜71−
Nと、規準値レジスタ71−1〜71−Nに格納されて
いる値と現在入力されている評価値とを比較する比較器
72−1〜72−Nと、スイッチSW−1〜SW−N
と、比較器72−1〜72一Nの出力の符号を格納する
符号レジスタ73−1〜73−Nと、比較器72−l〜
72−Nの出力の符号を格納する符号レジスタ74−1
〜74−Nと、符号レジスタ73−1〜73−N及び7
4−1〜74−Nの論理積をとるANDゲート75とか
ら構成されている。
As shown in FIG. 6, the motion detecting section includes reference value registers 71-1 to 71-for storing reference values for each frame.
N, comparators 72-1 to 72-N for comparing the value stored in the reference value registers 71-1 to 71-N with the currently input evaluation value, and switches SW-1 to SW-N.
, Code registers 73-1 to 73-N for storing the codes of the outputs of the comparators 72-1 to 72-N, and comparators 72-l to
Code register 74-1 for storing the code of the output of 72-N
~ 74-N and code registers 73-1 to 73-N and 7
The AND gate 75 takes the logical product of 4-1 to 74-N.

【0042】規準値レジスタ71−1〜71一Nは、各
々スイッチSW−1〜SW−2がLに接続されている時
に評価値を格納する。ここで、図7を参照しながら評価
値を格納するレジスタが枠毎に1個である理由について
説明する。
Reference value registers 71-1 to 711-N store evaluation values when switches SW-1 to SW-2 are connected to L, respectively. Here, the reason that there is one register for storing the evaluation value for each frame will be described with reference to FIG. 7.

【0043】図7(a)は、正常な状態ではビデオカメ
ラの視野内に明確な面像変化がないような環境におい
て、評価値検出ブロック15から入力される評価値の最
大値の例であり、図7(b)は最小値の例である。評価
値は2バイトで構成されている。そして、下位4ビット
はノイズ等による変動成分であるため、図7(a)、
(b)に共通である。また、第12ビット〜第7ビット
も図7(a)、(b)に共通の固定値である。つまり、
図7(a)と(b)で異なる値となる可能性のあるのは
第5ビット及び第6ビットのみである。このため、図7
(c)に示すように、規準値レジスタ71−1〜72−
Nに格納する評価値を1つにし、かつ1バイトにまるめ
ている。
FIG. 7A shows an example of the maximum value of the evaluation value input from the evaluation value detection block 15 in an environment where there is no clear surface image change in the visual field of the video camera in a normal state. 7 (b) is an example of the minimum value. The evaluation value consists of 2 bytes. Then, since the lower 4 bits are fluctuation components due to noise, etc., FIG.
It is common to (b). The 12th to 7th bits are also fixed values common to FIGS. 7A and 7B. That is,
Only the fifth bit and the sixth bit may have different values in FIGS. 7A and 7B. Therefore, in FIG.
As shown in (c), the reference value registers 71-1 to 72-
The evaluation value to be stored in N is one, and it is rounded to 1 byte.

【0044】図6に示す符号レジスタ73−1〜73−
N及び74−1〜74−Nは、各々比較器72−1〜7
2−Nの出力を格納する以外は、常にホールド状態にあ
る。符号レジスタ73−1〜73−N及び74−1〜7
4−Nがラッチするデータの内容については後述する。
Code registers 73-1 to 73- shown in FIG.
N and 74-1 to 74-N are comparators 72-1 to 7-7, respectively.
It is always in a hold state except that it stores the 2-N output. Sign registers 73-1 to 73-N and 74-1 to 7-7
The contents of the data latched by 4-N will be described later.

【0045】符号レジスタ73−1〜73−N及び74
−1〜74−Nに格納されたデータはANDゲート75
へ送られる。ANDゲート75の出力がLのときには、
画面内の被写体に動きがあるものとし、Hのときは動き
がないものとする。つまり、少なくとも1個の枠内の被
写体に動きがあるときに、画面内の被写体に動きがある
ものとしている。
Sign registers 73-1 to 73-N and 74
The data stored in -1 to 74-N is the AND gate 75.
Sent to. When the output of the AND gate 75 is L,
It is assumed that the subject on the screen has a motion, and when H, there is no motion. That is, when the subject in at least one frame moves, the subject in the screen moves.

【0046】動き検出部について上記図6のように構成
した場合、マイコン16による動き検出処理は、先に図
4に示したようにして動き検出部を構成した場合とは若
干異なってくることから、次に、図6に示した動き検出
部に対応した動き検出処理の流れについて説明する。な
お、動き処理全体の流れは先に説明した図5のフローチ
ャートと同一である。また、この場合にもステップS1
とS2は、監視エリアが平常とされる状態のもとで行な
う。つまり、ユーザーがモニタ装置8の画面を監視し、
異常がないことを確認しながら実行する。
When the motion detecting section is constructed as shown in FIG. 6, the motion detecting process by the microcomputer 16 is slightly different from the case where the motion detecting section is constructed as shown in FIG. Next, the flow of motion detection processing corresponding to the motion detection unit shown in FIG. 6 will be described. Note that the flow of the entire motion processing is the same as the flowchart of FIG. 5 described above. Also in this case, step S1
And S2 are performed under the condition that the monitoring area is normal. That is, the user monitors the screen of the monitor device 8,
Execute it while confirming that there are no abnormalities.

【0047】まず、ステップS1では各種初期設定を行
なう。次に、ステップS2で、枠毎に動き検出の規準値
を算出する。これは、スイッチSW−1〜SW−Nを1
フィールド期間毎に順次Lポジションに設定し、各枠の
評価値(クロマ位相角の積分値)を各々の規準値レジス
タ71−1〜71−Nに格納することにより実行する。
格納が終了したら、各スイッチSW−1〜SW−NをH
ポジションに設定し、規準値レジスタ71−1〜71−
Nの値をホールドする。
First, in step S1, various initial settings are made. Next, in step S2, a reference value for motion detection is calculated for each frame. This sets switches SW-1 to SW-N to 1
This is executed by sequentially setting the L position for each field period and storing the evaluation value (integrated value of the chroma phase angle) of each frame in the reference value registers 71-1 to 71-N.
After storing, switch each switch SW-1 to SW-N to H level.
Set the position to the reference value register 71-1 to 71-
Hold the value of N.

【0048】これで規準値の算出が終了する。つまり、
図6に示す動き検出部における規準値の算出は各枠毎に
l回で終わるため、枠がN個の場合、Nフィールド期間
で終わることになる。これに対して、図4に示す構成の
動き検出部の場合には、各枠毎に最大値及び最小値を数
十回算出しているため、N×数十フィールド期間で終了
することになるため、図6に示す動き検出部を採用した
場合のほうが規準値を得るのに要する時間は短くするこ
とができる。規準値の算出が終了したら、符号レジスタ
73−1〜73−N及び74−1〜74−Nの全ての値
をHに設定する。
This completes the calculation of the reference value. That is,
Since the calculation of the reference value in the motion detection unit shown in FIG. 6 is completed 1 times for each frame, when the number of frames is N, it ends in N field periods. On the other hand, in the case of the motion detection unit having the configuration shown in FIG. 4, the maximum value and the minimum value are calculated tens of times for each frame, so that the process ends in N × tens of field periods. Therefore, the time required to obtain the reference value can be shortened when the motion detection unit shown in FIG. 6 is adopted. When the calculation of the reference value is completed, all the values of the code registers 73-1 to 73-N and 74-1 to 74-N are set to H.

【0049】次に、ステップS3で、枠毎に以下の
(1)〜(4)の操作を行なうことにより動き検出出力
を得る。 (1) 任意の枠に対する評価値を入力する。 (2)規準値レジスタ71−1〜71−Nの各々の値X
1〜XNから値βを減算した値であるX1−β〜XN−
βを、各規準値レジスタの規準値Y1〜YNとし、それ
と各々の枠の現在の評価値Z1〜ZNとを比較する。そ
して、例えば枠1の場合には、Y1≦Z1の関係が成立
すればこの枠では動きがないものとし(出力H)、Z1
<Y1の関係が成立すればこの枠では動きがあるものと
する(出力L)。この出力は符号レジスタ73−1に格
納される。
Next, in step S3, a motion detection output is obtained by performing the following operations (1) to (4) for each frame. (1) Input an evaluation value for an arbitrary frame. (2) Each value X of the reference value registers 71-1 to 71-N
X1-β to XN- which are values obtained by subtracting the value β from 1 to XN
Let β be the reference values Y1 to YN of each reference value register, and compare it with the current evaluation values Z1 to ZN of each frame. Then, for example, in the case of frame 1, if the relationship of Y1 ≦ Z1 is established, it is assumed that there is no movement in this frame (output H), and Z1
If the relationship of <Y1 is established, it is assumed that there is movement in this frame (output L). This output is stored in the code register 73-1.

【0050】また、規準値レジスタ71−1〜71一N
の各々の値X1〜XNに値αを加算した値であるX1+
α〜XN+αを各規準値レジスタの規準値Y1’〜Y
N’とし、それと各々の枠の現在の評価値Zl〜ZNと
を比較する。そして、例えば枠1の場合には、Y1’<
Z1の関係が成立すればこの枠では動きがあるものとし
(出力L)、Z1≦Y1’の関係が成立すれぱこの枠で
は動きがないものとする(出力H)。この出力は符号レ
ジスタ74−1に格納される。
The reference value registers 71-1 to 71-N
X1 + which is a value obtained by adding the value α to each value X1 to XN of
α to XN + α are reference values Y1 ′ to Y of the reference value registers
N ′ and compare it with the current evaluation values Z1 to ZN of each frame. Then, for example, in the case of frame 1, Y1 '<
If the relationship of Z1 is established, there is movement in this frame (output L), and if the relationship of Z1≤Y1 'is established, there is no movement in this frame (output H). This output is stored in the code register 74-1.

【0051】(3)以上の操作を各枠に対して行ない、
一巡したらステップS3の最初に戻り、同一の処理を操
り返す。
(3) The above operation is performed for each frame,
After one cycle, the process returns to the beginning of step S3 and the same process is repeated.

【0052】(4)ANDゲート75の検出出力がLの
場合、即ち、少なくとも何れか1つの枠において動きが
検出された場合には、その動きが検出された枠を白枠で
点減表示すると共に、警報装置5を動作させる処理及び
VTR4により撮影画像を記録する記録モードにする処
理が並行して行なわれる。
(4) When the detection output of the AND gate 75 is L, that is, when the motion is detected in at least one of the frames, the frame in which the motion is detected is displayed as a white frame with a dot reduction. At the same time, the process of operating the alarm device 5 and the process of setting the recording mode for recording the captured image by the VTR 4 are performed in parallel.

【0053】これまで説明してきたように、本実施の形
態では映像信号のクロマ信号成分(I信号、Q信号)か
ら算出されるクロマ位相角に基づいて動き検出を行う構
成を採るものであるが、これにより、例えば照明や日照
等の要因により監視エリアの明るさ(明度)に大きな変
化があったとしても、このような変化については動きあ
りとして検出されないことになる。このため、例えば、
監視カメラシステムなどの用途としては好適な動き検出
装置が得られることになる。
As described above, in the present embodiment, the motion is detected based on the chroma phase angle calculated from the chroma signal component (I signal, Q signal) of the video signal. As a result, even if there is a large change in the brightness (brightness) of the monitoring area due to factors such as lighting and sunshine, such a change will not be detected as movement. So, for example,
A motion detection device suitable for applications such as a surveillance camera system can be obtained.

【0054】また、このような本実施の形態の動き検出
装置においても、先に述べた、移動物体が変形、回転、
遠近移動等を行った場合、(2)移動物体の瞬時移動量
が大きい場合、(3)移動物体が繰り返しパターンを有
する場合、及び(4)移動物体が周囲の固定物体と部分
的に重なり合う場合などにも対応して、良好な動き検出
結果が得られるものであり、また、動き検出装置として
の回路規模も小さくて済むことになる。
Also in the motion detecting apparatus of this embodiment, the moving object is deformed, rotated, or
When performing perspective movement, (2) when the instantaneous amount of movement of the moving object is large, (3) when the moving object has a repeating pattern, and (4) when the moving object partially overlaps with surrounding fixed objects. Accordingly, a good motion detection result can be obtained, and the circuit scale of the motion detection device can be small.

【0055】6.他の実施の形態の動き検出装置の構成
例(輝度信号成分を利用した動き検出装置を併用した構
成) これまで説明してきた本実施の形態の動き検出装置は、
クロマ信号成分より求められるクロマ位相角に基づいて
動き検出を行う構成が採られているが、前述したよう
に、先に本出願人により、映像信号の輝度信号(Y信
号)成分に基づいて動き検出を行うための構成が提案さ
れている(特願平7−284537)。そこで、以下に
本発明の他の実施の形態として、クロマ信号成分に基づ
いて動き検出を行う動き検出装置と、輝度信号成分に基
づいて動き検出を行う動き検出装置とを併用する構成に
ついて説明する。つまり、本実施の形態では上記2つの
動き検出装置の動き検出結果に基づいて、画像の動き検
出を行うものである。このように、2つの動き検出装置
を併用して動き検出装置全体を構成することにより、例
えば、クロマ信号成分に基づいて動き検出を行う動き検
出装置を利用する場合よりも動きの検出精度を高めるこ
とが可能になる。
6. Configuration Example of Motion Detection Device According to Other Embodiment (Configuration Using Motion Detection Device Using Luminance Signal Component Together) The motion detection device according to the present embodiment described above is
Although a configuration is adopted in which the motion is detected based on the chroma phase angle obtained from the chroma signal component, as described above, the applicant previously moved based on the luminance signal (Y signal) component of the video signal. A configuration for performing detection has been proposed (Japanese Patent Application No. 7-284537). Therefore, as another embodiment of the present invention, a configuration will be described below in which a motion detection device that performs motion detection based on a chroma signal component and a motion detection device that performs motion detection based on a luminance signal component are used together. . That is, in the present embodiment, the motion detection of the image is performed based on the motion detection results of the two motion detection devices. In this way, by configuring the entire motion detecting device by using the two motion detecting devices together, for example, the accuracy of motion detection is improved as compared with the case of using the motion detecting device that detects the motion based on the chroma signal component. It will be possible.

【0056】本実施の形態の動き検出装置全体の構成と
しては、先に図1にて示した構成と同様でよいものとさ
れるが、データ処理装置2については、クロマ信号成分
を利用した動き検出処理部と、輝度信号成分を利用した
動き検出処理部を備えるようにして構成されることにな
る。そして、クロマ信号成分を利用した動き検出処理部
としては、先に図2及び図4(又は図6)に示した構成
に基づいて、図5のフローチャートに準ずる処理が行わ
れればよいものとされる。そこで、以下、本実施の形態
のデータ処理装置2における輝度信号成分を利用した動
き検出処理部の構成例について説明する。
The overall structure of the motion detecting device according to the present embodiment may be the same as that shown in FIG. 1, but the data processing device 2 uses the motion using the chroma signal component. The detection processing unit and the motion detection processing unit using the luminance signal component are provided. Then, the motion detection processing unit using the chroma signal component may perform the process according to the flowchart of FIG. 5 based on the configuration shown in FIG. 2 and FIG. 4 (or FIG. 6) previously. It Therefore, a configuration example of the motion detection processing unit using the luminance signal component in the data processing device 2 of the present embodiment will be described below.

【0057】図8は、データ処理装置2における評価値
算出ブロック15の構成として、輝度信号成分により動
き検出を行うための評価値算出ブロックの構成を示すブ
ロック図である。この図に示す輝度信号用の評価値算出
ブロックにおいては、先ず、A/D変換回路13(図1
参照)から出力されるデジタルデータから輝度信号成分
を分離するローパスフィルタ101が設けられており、
このローパスフィルタ101で分離された輝度信号デー
タはクランプ回路102に入力される。なお、本実施の
形態の場合には、クランプ回路102に入力される輝度
信号データとしては、先に図2に示したY,I,Qマト
リクス21にて抽出された輝度信号データが入力される
ように構成してもよく、このような構成とした場合に
は、上記ローパスフィルタ101は省略することができ
る。また、クランプ回路102に入力される輝度信号デ
ータとしては画素単位によるデータとなる。
FIG. 8 is a block diagram showing the structure of the evaluation value calculation block 15 in the data processing device 2, which shows the structure of the evaluation value calculation block for detecting the motion based on the luminance signal component. In the brightness signal evaluation value calculation block shown in this figure, first, the A / D conversion circuit 13 (see FIG.
Is provided with a low pass filter 101 for separating a luminance signal component from digital data output from
The luminance signal data separated by the low pass filter 101 is input to the clamp circuit 102. In the case of the present embodiment, as the brightness signal data input to the clamp circuit 102, the brightness signal data extracted by the Y, I, Q matrix 21 shown in FIG. 2 is input. The low pass filter 101 can be omitted in such a configuration. The luminance signal data input to the clamp circuit 102 is data in pixel units.

【0058】クランプ回路102では入力された輝度信
号データについてクランプを行い、ハイパスフィルタ1
03に出力する。ハイパスフィルタ103ではクランプ
された輝度信号データのエッジ成分を検出する。このハ
イパスフィルタ103のカットオフ周波数は低輝度の被
写体のエッジを抽出することを考慮して、例えば100
KHz程度に設定する。
The clamp circuit 102 clamps the input luminance signal data, and the high pass filter 1
Output to 03. The high pass filter 103 detects the edge component of the clamped luminance signal data. The cutoff frequency of the high-pass filter 103 is, for example, 100 in consideration of extracting an edge of a low-luminance subject.
Set to about KHz.

【0059】ハイパスフィルタ103の出力は、ゲート
回路104、108に分岐して供給される。ゲート回路
104は、マイコン16より出力される枠番号を指定す
る制御信号により、先に図3に示したエリアのうち、画
面上半分の枠内の信号を抽出する。これに対してゲート
回路108は、マイコン16より出力される枠番号を指
定する制御信号により画面下半分の枠内の信号を抽出す
る。その抽出方法は、先に図3にて説明した方法と同様
となる。また、枠の抽出順及び抽出タイミング等は、ク
ロマ信号に対応する評価値算出ブロックの動作と同期す
るようにして行われるものとされる。
The output of the high pass filter 103 is branched and supplied to the gate circuits 104 and 108. The gate circuit 104 extracts the signal in the upper half frame of the screen in the area shown in FIG. 3 by the control signal for designating the frame number output from the microcomputer 16. On the other hand, the gate circuit 108 extracts the signal within the frame in the lower half of the screen by the control signal that specifies the frame number output from the microcomputer 16. The extraction method is the same as the method described above with reference to FIG. In addition, the extraction order and extraction timing of the frames are set so as to be synchronized with the operation of the evaluation value calculation block corresponding to the chroma signal.

【0060】ゲート回路104、108により枠単位で
抽出された信号は、それぞれピークホールド回路10
5、109に供給される。ピークホールド回路105、
109では、入力信号について水平方向におけるピーク
値をホールドする。このとき、1個のピーク値ではなく
2個あるいは3個のピーク値をホールドして出力するよ
うに構成してもよい。そして、ピークホールド回路10
5、109の各出力は、それぞれV積分回路106、1
09に供給され、ここで水平ラインごとにホールドされ
たピーク値について垂直方向に積分を行う。例えば1フ
ィールドの有効ライン数を240本程度とすれば、各々
120個程度のピーク値を積分することになる。
The signals extracted in frame units by the gate circuits 104 and 108 are respectively held by the peak hold circuit 10.
5, 109 are supplied. Peak hold circuit 105,
At 109, the peak value in the horizontal direction of the input signal is held. At this time, instead of one peak value, two or three peak values may be held and output. Then, the peak hold circuit 10
The outputs of 5 and 109 are V integration circuits 106 and 1 respectively.
09, where the peak value held for each horizontal line is vertically integrated. For example, assuming that the number of effective lines in one field is about 240, about 120 peak values are integrated for each.

【0061】スイッチ回路107ではV積分回路106
から入力された積分値を評価値として、先にゲート回路
104で指定された枠番号ごとに切換えて出力する。同
様に、スイッチ回路111ではV積分回路110から入
力された積分値を評価値として、先にゲート回路108
で指定された枠番号ごとに切換えて出力する。この場合
も、クロマ信号に基づく動き検出の系と同様に、評価値
は例えば2バイトのデータにより形成されればよい。な
お、上記図8に示した輝度信号に基づく評価値算出ブロ
ックの構成は一例であり、ほかにも各種考えられるもの
である。
In the switch circuit 107, the V integration circuit 106
The integrated value input from is used as the evaluation value and is switched and output for each frame number previously designated by the gate circuit 104. Similarly, in the switch circuit 111, the integrated value input from the V integration circuit 110 is used as an evaluation value, and the gate circuit 108 is used first.
The frame numbers specified by are switched and output. Also in this case, the evaluation value may be formed of, for example, 2-byte data, as in the case of the motion detection system based on the chroma signal. The configuration of the evaluation value calculation block based on the luminance signal shown in FIG. 8 is an example, and various other configurations are possible.

【0062】上記スイッチ回路107、111の後段に
は、クロマ信号成分による動き検出の回路系とは別に、
先に図4(又は図6)に示したと同様の構成の動き検出
部が設けられる。そして、輝度信号に基づく動き検出処
理系においても、マイコン16による動き検出処理とし
ては、先に図5のフローチャートによる説明に準ずる処
理が行われればよい。また、本実施の形態の場合、輝度
信号に基づく動き検出の処理動作は、クロマ信号系の処
理動作と平行して行われる。
In the subsequent stage of the switch circuits 107 and 111, apart from the circuit system for motion detection by the chroma signal component,
A motion detector having the same configuration as that shown in FIG. 4 (or FIG. 6) is provided. Then, also in the motion detection processing system based on the luminance signal, as the motion detection processing by the microcomputer 16, the processing according to the description of the flowchart of FIG. 5 may be performed previously. Further, in the case of the present embodiment, the processing operation of motion detection based on the luminance signal is performed in parallel with the processing operation of the chroma signal system.

【0063】但しこの場合には、輝度信号に基づく動き
検出処理系とクロマ信号に基づく動き検出処理系とで、
図5のフローチャートの処理により検出される動きの有
無は、輝度信号成分に基づいてのみ、及びクロマ信号成
分に基づいてのみ検出されるものとされ、総合的な画像
の動き検出は、図9にて後述する構成により実現される
ことになる。また、輝度信号に基づく動き検出処理系の
場合、例えば図5のフローチャートのステップS1の初
期設定の段階では、図8に示したハイパスフィルタ10
3のカットオフ周波数や、ピークホールド回路105、
109におけるホールドすべきピーク数の設定変更が可
能な場合に、これらの設定を行ったりすることができ
る。また、輝度信号に基づく動き検出処理系において例
えば図4に示した動き検出部を採用した場合、各動き検
出ブロックの最大値レジスタ51には、算出された平常
時の最大値D1(max) 〜DN(max) に対して、それぞれ
所定のマージン値αを加算した値D1+α(max) 〜DN
(max) +αが規準値として設定される。また、各動き検
出ブロックの最小値レジスタ52には、算出された平常
時の最大値D1(min) 〜DN(min) に対して、それぞれ
所定のマージン値βを減算した値D1−β(min) 〜DN
(max) −βが規準値として設定される。そして、ステッ
プS3において、これら規準値D1+α(max) 〜DN
(max) +α、及びD1−β(min)〜DN(max) −βと、
各枠の現在の評価値D1〜DNとについて、先の実施の
形態にて説明した比較処理に順する処理を行うことで、
輝度信号成分に基づいた動き検出が行われることにな
る。
However, in this case, the motion detection processing system based on the luminance signal and the motion detection processing system based on the chroma signal
The presence or absence of motion detected by the processing of the flowchart of FIG. 5 is assumed to be detected only on the basis of the luminance signal component and only on the chroma signal component. The configuration will be described later. Further, in the case of the motion detection processing system based on the luminance signal, for example, in the initial setting stage of step S1 of the flowchart of FIG. 5, the high pass filter 10 shown in FIG.
3 cutoff frequency, peak hold circuit 105,
When the setting of the number of peaks to be held in 109 can be changed, these settings can be made. When the motion detecting unit shown in FIG. 4 is adopted in the motion detection processing system based on the luminance signal, the maximum value register 51 of each motion detection block stores the calculated maximum value D1 (max) in normal times. A value obtained by adding a predetermined margin value α to DN (max) D1 + α (max) to DN
(max) + α is set as the standard value. Further, the minimum value register 52 of each motion detection block has a value D1-β (min ) obtained by subtracting a predetermined margin value β from the calculated maximum values D1 (min) to DN (min) in normal times. ) ~ DN
(max) -β is set as the reference value. Then, in step S3, these reference values D1 + α (max) to DN
(max) + α, and D1-β (min) to DN (max) -β,
For the current evaluation values D1 to DN of each frame, by performing the processing in accordance with the comparison processing described in the above embodiment,
Motion detection is performed based on the luminance signal component.

【0064】そして、本実施の形態においては、例えば
図4の動き検出部を採用したのであれば、輝度信号成分
に基づく動き検出部のANDゲート61の出力と、クロ
マ信号成分に基づく動き検出部のANDゲート61の出
力に基づいて、最終的な画像の動き検出を行うように、
マイコン16が構成されることになる。即ち、図9
(a)に示すように両者のANDゲート61の出力を入
力するORゲート81を設け、このORゲート81によ
る論理和の出力に基づいて画像の動きの最終的な判断を
行うものである。
In the present embodiment, for example, if the motion detector of FIG. 4 is adopted, the output of the AND gate 61 of the motion detector based on the luminance signal component and the motion detector based on the chroma signal component. Based on the output of the AND gate 61 of
The microcomputer 16 is configured. That is, FIG.
As shown in (a), an OR gate 81 for inputting the outputs of both AND gates 61 is provided, and the final judgment of the motion of the image is made based on the output of the logical sum by the OR gate 81.

【0065】これまでの説明から分かるように、AND
ゲート61の出力がHの場合には動き検出がないものと
され、Lの場合には動きありと検出される。これに基づ
き、本実施の形態では図9(b)に示すようにして動き
検出の判定が行われる。つまり、輝度信号成分に基づく
動き検出部のANDゲート61の出力と、クロマ信号成
分に基づく動き検出部のANDゲート61の出力が共に
Lとされて、ORゲート81の出力がLとされた場合に
のみ、動きがあるものとして判別を行う。本実施の形態
では、このようにして動きありと判別すると、マイコン
16は動きを検出した枠を白枠で点滅表示すると共に、
警報装置5を動作させる処理及びVTR4の記録動作を
開始させるための処理を行うことになる。
As can be seen from the above description, AND
When the output of the gate 61 is H, it is determined that there is no motion detection, and when the output of the gate 61 is L, it is detected that there is motion. Based on this, in this embodiment, the motion detection determination is performed as shown in FIG. 9B. That is, when the output of the AND gate 61 of the motion detection unit based on the luminance signal component and the output of the AND gate 61 of the motion detection unit based on the chroma signal component are both set to L and the output of the OR gate 81 is set to L. It is determined that there is a movement only in. In the present embodiment, when it is determined that there is motion in this way, the microcomputer 16 blinks the frame in which the motion has been detected in a white frame, and
A process for operating the alarm device 5 and a process for starting the recording operation of the VTR 4 will be performed.

【0066】これに対して、輝度信号成分に基づく動き
検出部のANDゲート61の出力と、クロマ信号成分に
基づく動き検出部のANDゲート61の出力の何れか一
方がHである、又は両者がHであるとして、ORゲート
81の出力がHとされた場合には、動きはないものとし
て判別するようにしている。
On the other hand, one of the output of the AND gate 61 of the motion detector based on the luminance signal component and the output of the AND gate 61 of the motion detector based on the chroma signal component is H, or both of them are H. If the output of the OR gate 81 is H, it is determined that there is no motion.

【0067】具体的に、例えば輝度信号成分に基づく動
き検出部のANDゲート61の出力がL(動きあり)で
あるのに対して、クロマ信号成分に基づく動き検出部の
ANDゲート61の出力はH(動きなし)であるとされ
た場合には、例えば、何らかの要因により監視エリア内
の明るさが変化して、実際には何の異常も起こっていな
いような場合である可能性が高い。例えば輝度信号成分
のみに基づいて動き検出を行う構成を採った場合、上記
のような状態を動きありと検出して警報装置5やVTR
4を動作させることになるが、本実施の形態のように両
者の動き検出を組み合わせることで、このような誤動作
が起こる可能性は低くなり、監視カメラシステムとして
の信頼性が向上されることになる。
Specifically, for example, while the output of the AND gate 61 of the motion detecting section based on the luminance signal component is L (moving), the output of the AND gate 61 of the motion detecting section based on the chroma signal component is If it is determined to be H (no movement), there is a high possibility that, for example, the brightness in the monitoring area changes due to some factor, and no abnormality actually occurs. For example, in the case where the motion detection is performed based on only the luminance signal component, the above state is detected as motion and the alarm device 5 or the VTR is detected.
No. 4 is operated, but by combining the motion detection of both as in the present embodiment, the possibility of such malfunctions is reduced, and the reliability of the surveillance camera system is improved. Become.

【0068】なお、本発明の動き検出装置は、これまで
実施の形態として説明してきた監視カメラシステム(侵
入者、火事、事故などを監視する)だけでなく次のよう
なシステムに適用しても好適である。 (1)製品の限界サンプル品から動き検出のリミッタ設
定を行い、製品の外観検査を行う検査システム。 (2)カメラー体型VTRを所望のアングルに設定し、
そのアングル内に移動物体が入り次第、記録を開始する
ことにより、省電力と野外留守録等を実現する記録装
置。 (3)移動物体の自動追尾システム。 (4)ドアホン。
The motion detecting apparatus of the present invention can be applied not only to the surveillance camera system (which monitors intruders, fires, accidents, etc.) described in the above embodiments, but also to the following system. It is suitable. (1) Product Limitation An inspection system that sets the limiter for motion detection from sample products and inspects the appearance of products. (2) Set the camera body type VTR to the desired angle,
A recording device that realizes power saving and field absence recording by starting recording as soon as a moving object enters the angle. (3) Automatic tracking system for moving objects. (4) Door phone.

【0069】また、本発明は上述してきた実施の形態に
限定されるものではなく、実際の使用条件等に応じて各
種変更が可能であり、例えば本実施の形態ではクロマ信
号成分としてI信号とQ信号に基づいてクロマ位相角を
求め、このクロマ位相角に基づいて動き検出を行うよう
に構成したが、例えばR−Y及びB−Yの色差信号や色
信号(RGB信号)そのものを検出して得られる信号に
基づいて動き検出を行うように構成することも考えられ
る。
The present invention is not limited to the above-described embodiments, but various changes can be made according to actual use conditions. For example, in the present embodiment, the I signal is used as the chroma signal component. The chroma phase angle is obtained based on the Q signal, and the motion is detected based on the chroma phase angle. For example, the color difference signals of RY and BY and the color signal (RGB signal) itself are detected. It may be considered that the motion detection is performed based on the signal obtained.

【0070】[0070]

【発明の効果】以上説明したように本発明は、クロマ信
号成分から求めたクロマ位相角に基づいて動き検出を行
うように構成したことで、例えば、監視エリアにおける
形状等の変化には追従して動きありと検出するが、単な
る明度の変化については動きはないと検出することが可
能であり、これにより、例えば監視カメラシステムの利
用環境において、突発的な明るさの変化等については動
き無しとする動作を求めるような場合には、ユーザにと
ってより信頼性の高い監視カメラシステムを得ることが
できることになる。そして、輝度信号に基づいて動き検
出を行う方式と組み合わせることによって、輝度信号の
みによる動き検出方式の場合に生じる不都合(明度の変
化を動きありと検出する)を補ったうえで、より検出精
度の高い動き検出を行うことのできる動き検出装置を得
ることが可能となる。
As described above, according to the present invention, the motion detection is performed based on the chroma phase angle obtained from the chroma signal component. However, it is possible to detect that there is no movement with respect to a simple change in brightness. Therefore, for example, in a usage environment of the surveillance camera system, there is no movement with respect to a sudden change in brightness. In the case where such an operation is required, a surveillance camera system with higher reliability for the user can be obtained. Then, by combining with a method of performing motion detection based on a luminance signal, the inconvenience (detecting a change in lightness as movement) occurring in the case of a motion detection method using only a luminance signal is compensated for, and more accurate detection is performed. It is possible to obtain a motion detection device that can perform high motion detection.

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

【図1】本発明の実施の形態としてのビデオカメラシス
テムの全体のブロック構成を示す図である。
FIG. 1 is a diagram showing an overall block configuration of a video camera system as an embodiment of the present invention.

【図2】本実施の形態としての評価値算出ブロックの構
成例を示すブロック図である。
FIG. 2 is a block diagram showing a configuration example of an evaluation value calculation block according to the present embodiment.

【図3】枠の分割設定例を示す図である。FIG. 3 is a diagram showing an example of division setting of a frame.

【図4】動き検出部の1チャンネル分の構成例を示すブ
ロック図である。
FIG. 4 is a block diagram showing a configuration example of one channel of a motion detection unit.

【図5】動き検出処理全体の流れを示すフローチャート
である。
FIG. 5 is a flowchart showing the overall flow of motion detection processing.

【図6】動き検出部の他の構成例を示すブロック図であ
る。
FIG. 6 is a block diagram illustrating another configuration example of a motion detection unit.

【図7】図6の動き検出部に格納する規準値のデータ構
造を示す図である。
FIG. 7 is a diagram showing a data structure of reference values stored in the motion detection unit of FIG.

【図8】輝度信号成分を利用した評価値算出ブロックの
構成例を示すブロック図である。
FIG. 8 is a block diagram showing a configuration example of an evaluation value calculation block using a luminance signal component.

【図9】クロマ信号成分と輝度信号成分に基づく各動き
検出系を併用する場合の、動き検出動作を説明するため
の回路図及び説明図である。
9A and 9B are a circuit diagram and an explanatory diagram for explaining a motion detection operation when using each motion detection system based on a chroma signal component and a luminance signal component together.

【符号の説明】[Explanation of symbols]

1 ビデオカメラ、2 データ処理装置、8 モニタ装
置、4 VTR、5警報装置、21 Y,I,Qマトリ
クス、22,26 クロマ位相各演算回路、23,27
ゲート回路、24,28 積分回路、25,29 ス
イッチ回路、51 最大値レジスタ、52 最小値レジ
スタ、53,54,72−1〜72−N 比較器、71
−1〜71−N 規準値レジスタ、55,56,73−
1〜73N 符号レジスタ、57,61,75, AN
Dゲート、81 ORゲート
1 video camera, 2 data processing device, 8 monitor device, 4 VTR, 5 alarm device, 21 Y, I, Q matrix, 22, 26 chroma phase arithmetic circuits, 23, 27
Gate circuit, 24, 28 Integration circuit, 25, 29 Switch circuit, 51 Maximum value register, 52 Minimum value register, 53, 54, 72-1 to 72-N comparator, 71
-1-71-N standard value register, 55, 56, 73-
1-73N code register, 57, 61, 75, AN
D gate, 81 OR gate

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 映像信号からクロマ信号成分を抽出する
クロマ信号抽出手段と、 画像を所定のエリアごとに区分して設定すると共に、上
記エリアごとのクロマ信号成分の位相角を算出するクロ
マ位相角算出手段と、 上記クロマ位相角算出手段により算出された上記エリア
ごとのクロマ信号成分の位相角に基づいて、上記エリア
ごとに動き検出の判断要素となる評価値を算出する評価
値算出手段と、 平常時とされる画像状態のもとで、上記評価値に基づい
て動き検出ための規準値を得て保持する規準値保持手段
と、 上記評価値算出手段にて得られる現在の評価値と、上記
規準値保持手段に保持されている規準値とを比較して、
この比較結果に基づいて画像の動きの有無を検出する動
き検出手段と、 を備えて構成されていることを特徴とする動き検出装
置。
1. A chroma signal extraction means for extracting a chroma signal component from a video signal, and a chroma phase angle for dividing and setting an image for each predetermined area and calculating a phase angle of the chroma signal component for each area. Calculation means, based on the phase angle of the chroma signal component for each area calculated by the chroma phase angle calculation means, an evaluation value calculation means for calculating an evaluation value serving as a determination factor for motion detection for each area, Under an image condition that is normally set, a reference value holding unit that obtains and holds a reference value for motion detection based on the evaluation value, and a current evaluation value obtained by the evaluation value calculation unit, Compare with the reference value held in the reference value holding means,
A motion detection device comprising: a motion detection unit that detects the presence or absence of image motion based on the comparison result.
【請求項2】 上記評価値算出手段は、上記クロマ信号
成分の位相角について積分を行う積分手段を備えて構成
されていることを特徴とする請求項1に記載の動き検出
装置。
2. The motion detecting apparatus according to claim 1, wherein the evaluation value calculating means includes an integrating means for integrating the phase angle of the chroma signal component.
【請求項3】 上記所定のエリアごとに抽出された映像
信号の輝度信号成分に基づいて動き検出を行うことので
きる他の動き検出手段と、 上記動き検出手段の検出情報と、上記他の動き検出手段
の検出情報を参照することにより画像の動き検出の有無
を識別する動き検出識別手段と、 を設けたことを特徴とする請求項1に記載の動き検出装
置。
3. Another motion detecting means capable of performing motion detection based on a luminance signal component of a video signal extracted for each of the predetermined areas, detection information of the motion detecting means, and the other motion. The motion detecting apparatus according to claim 1, further comprising: a motion detecting / identifying unit for identifying presence / absence of motion detection of an image by referring to detection information of the detecting unit.
【請求項4】 映像信号からクロマ信号成分を抽出し、 画像を区分して設定した所定のエリアごとの上記クロマ
信号成分の位相角を算出し、 算出された上記クロマ信号成分の位相角に基づいて上記
エリアごとに動き検出の判断要素となる評価値を算出
し、 平常時とされる画像状態のもとで、上記評価値に基づい
て動き検出ための規準値を得て保持し、 現在の評価値と、上記保持されている規準値とを比較し
て、この比較結果に基づいて画像の動きの有無を検出す
ることを特徴とする動き検出方法。
4. A chroma signal component is extracted from a video signal, a phase angle of the chroma signal component for each predetermined area set by dividing an image is calculated, and based on the calculated phase angle of the chroma signal component. For each area, calculate the evaluation value that is the judgment factor for motion detection, and under normal image conditions, obtain and hold the reference value for motion detection based on the above evaluation value. A motion detecting method comprising: comparing an evaluation value with the held reference value, and detecting the presence or absence of motion of an image based on the comparison result.
【請求項5】 上記所定のエリアごとに抽出された映像
信号の輝度信号成分に基づいた動き検出の検出情報も、
画像の動き検出の有無の識別要素とすることを特徴とす
る請求項4に記載の動き検出方法。
5. Detection information for motion detection based on a luminance signal component of a video signal extracted for each of the predetermined areas,
The motion detection method according to claim 4, wherein the motion detection method is used as an identification element for determining whether or not the motion of the image is detected.
【請求項6】 撮像装置と、前記撮像装置の出力を用い
てデータ処理を行うデータ処理手段と、前記撮像装置の
出力を表示するモニタ装置と、前記撮像装置の出力を記
録する記録装置と、警報装置と備えるビデオカメラシス
テムとして、 上記データ処理装置は、少なくとも映像信号からクロマ
信号成分を抽出するクロマ信号抽出手段と、画像を所定
のエリアごとに区分して設定すると共に上記エリアごと
のクロマ信号成分の位相角を算出するクロマ位相角算出
手段と、上記クロマ位相角算出手段により算出された上
記エリアごとのクロマ信号成分の位相角に基づいて、上
記エリアごとに動き検出の判断要素となる評価値を算出
する評価値算出手段と、平常時とされる画像状態のもと
で、上記評価値に基づいて動き検出ための規準値を得て
保持する規準値保持手段と、上記評価値算出手段にて得
られる現在の評価値と、上記規準値保持手段に保持され
ている規準値とを比較して、この比較結果に基づいて画
像の動きの有無を検出する動き検出手段と備え、 上記動き検出手段により画像に動きがあると検出された
場合には、前記記録装置及び警報装置を動作させると共
に、前記モニタ装置に対して動きが検出された上記エリ
アを示すための表示を行う制御を実行するように構成さ
れていることを特徴とするビデオカメラシステム。
6. An imaging device, a data processing means for performing data processing using the output of the imaging device, a monitor device for displaying the output of the imaging device, and a recording device for recording the output of the imaging device. As a video camera system provided with an alarm device, the data processing device comprises at least a chroma signal extraction means for extracting a chroma signal component from a video signal, and an image divided into predetermined areas for setting and a chroma signal for each area. Chroma phase angle calculation means for calculating the phase angle of the component, based on the phase angle of the chroma signal component for each area calculated by the chroma phase angle calculation means, the evaluation as a motion detection determination element for each area An evaluation value calculating means for calculating a value and a standard value for motion detection based on the above evaluation value are obtained and held under normal image conditions. The reference value holding means, the current evaluation value obtained by the evaluation value calculating means, and the reference value held in the reference value holding means are compared, and the movement of the image based on the comparison result is compared. A motion detecting unit for detecting the presence / absence is provided, and when the motion detecting unit detects that the image has a motion, the recording device and the alarm device are operated, and the motion is detected with respect to the monitor device. A video camera system characterized by being configured to execute a control for displaying to show the area.
JP18689096A 1996-06-28 1996-06-28 Motion detection device, motion detection method, and video camera system Expired - Fee Related JP3518175B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18689096A JP3518175B2 (en) 1996-06-28 1996-06-28 Motion detection device, motion detection method, and video camera system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18689096A JP3518175B2 (en) 1996-06-28 1996-06-28 Motion detection device, motion detection method, and video camera system

Publications (2)

Publication Number Publication Date
JPH1023394A JPH1023394A (en) 1998-01-23
JP3518175B2 true JP3518175B2 (en) 2004-04-12

Family

ID=16196486

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18689096A Expired - Fee Related JP3518175B2 (en) 1996-06-28 1996-06-28 Motion detection device, motion detection method, and video camera system

Country Status (1)

Country Link
JP (1) JP3518175B2 (en)

Also Published As

Publication number Publication date
JPH1023394A (en) 1998-01-23

Similar Documents

Publication Publication Date Title
JP3689946B2 (en) Data processing apparatus and method
US20010055059A1 (en) Teleconferencing system, camera controller for a teleconferencing system, and camera control method for a teleconferencing system
JP2003219225A (en) Device for monitoring moving object image
JP2006243373A (en) Video signal processor, imaging apparatus mounted with the same, and method and program for processing video signal
JP3377659B2 (en) Object detection device and object detection method
JP3518175B2 (en) Motion detection device, motion detection method, and video camera system
KR100536747B1 (en) The video storing system using a ptz camera and the method there of
JPH10188145A (en) Automatic zoom monitoring device
KR100457302B1 (en) Auto tracking and auto zooming method of multi channel by digital image processing
JP3642094B2 (en) Imaging system and control method thereof
JPH08265740A (en) Camera monitoring device
JPH09102947A (en) Motion detector, motion detecting method and video camera system
JP3448645B2 (en) Road surface condition determination device
KR100468643B1 (en) Device and method for moving detecting in watching system
JPH07298247A (en) Monitoring method using tv camera and monitoring system
JPH09102946A (en) Motion detector, motion detecting method and video camera system
JP3702520B2 (en) Video camera system and automatic tracking method thereof
KR100391266B1 (en) Method for background setup in object-based compression moving-image
JP4104936B2 (en) Backlight correction control apparatus and backlight correction control method
KR200190210Y1 (en) Moving picture detection unit
JP3675570B2 (en) Image comparison apparatus and method
JP3007824B2 (en) Motion detection device
JPH09168144A (en) Video camera system and its automatic tracking method
JPH0383474A (en) Car detector
JPH1079933A (en) Device for detecting movement and its method and video camera system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040106

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040119

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080206

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090206

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100206

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees