JPH11146417A - Motion detection circuit - Google Patents

Motion detection circuit

Info

Publication number
JPH11146417A
JPH11146417A JP9312139A JP31213997A JPH11146417A JP H11146417 A JPH11146417 A JP H11146417A JP 9312139 A JP9312139 A JP 9312139A JP 31213997 A JP31213997 A JP 31213997A JP H11146417 A JPH11146417 A JP H11146417A
Authority
JP
Japan
Prior art keywords
signal
frame
motion
detection circuit
circuit
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.)
Granted
Application number
JP9312139A
Other languages
Japanese (ja)
Other versions
JP3180741B2 (en
Inventor
Takahide Sawachika
恭秀 澤近
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP31213997A priority Critical patent/JP3180741B2/en
Publication of JPH11146417A publication Critical patent/JPH11146417A/en
Application granted granted Critical
Publication of JP3180741B2 publication Critical patent/JP3180741B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent a picture failure by detecting a still picture by a current frame and a video signal delayed for two frames, forcing a motion detection signal to be 0 at the time of the static picture, and making a 1 frame difference motion detection signal a motion signal at the time of a dynamic picture. SOLUTION: A difference between a video signal 2 and a 2 frame delay video signal is taken by a subtracter 9 and a difference signal 10 is inputted to an absolute value circuit 11. A difference absolute value signal 12 to which an absolute value processing is applied at the absolute value circuit 11 is compared with a set value 13 by a comparator 14 and '1' is outputted when it is bigger than the set value 13 and '0' is outputted when smaller. A comparison signal 15 is inputted to the third memory 16 and a terminal (b) of a motion signal synthesis circuit 18, delayed for one frame and inputted to a terminal (c) of the motion signal synthesis circuit 18. In the motion signal synthesis circuit 18, an arithmetic processing is performed that an output signal is forced to be 0 when input signals of the terminals (b) and (c) are both '0' and outputs an input signal of a terminal (a) otherwise, and it is outputted as a motion signal 19 from a terminal 20.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、動き検出回路、特
に2フレーム差分により検出された動き信号と1フレー
ム遅延された2フレーム差分動き信号と1フレーム差分
により検出された動き信号とを合成して動きを検出する
動き検出回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motion detecting circuit, and more particularly to a motion detecting circuit for synthesizing a motion signal detected by two-frame difference, a two-frame differential motion signal delayed by one frame, and a motion signal detected by one frame differential. And a motion detection circuit for detecting motion.

【0002】[0002]

【従来の技術】一般に、複合映像信号をカラーモニタに
表示する場合、周波数インターリーブされている輝度信
号と色信号とを分離する必要がある。標準テレビジョン
方式であるNTSC方式では色副搬送波の位相はフレー
ム間で反転している。このことに着目し、画像の静領域
(以下静止画と称す)では、フレーム間の和をとること
で輝度信号を得、逆に差を取ることで色信号を得ること
ができる。画像の動領域(以下動画と称す)では、フレ
ーム間の和及び差を適用した場合、輝度信号と色信号と
がそれぞれに漏れ込んでドット妨害等の弊害をもたらす
ため、周波数分離やくし形フィルタを用いて輝度信号や
色信号を得ている。このように画像の動きに応じた輝度
(Y)・色(C)信号の分離を行う方式は、動き適応型
YC分離と呼ばれており、動き適応型YC分離に於いて
は動画と静止画とを切り換える判定をする動き検出回路
が重要な役割を果たしている。この動き検出が正確に行
えず、動画を動画、静止画を静止画として処理できない
と、理想的なYC分離は行えず、画像にクロスカラーや
ドット妨害等の弊害をもたらすことになる。
2. Description of the Related Art Generally, when a composite video signal is displayed on a color monitor, it is necessary to separate a frequency-interleaved luminance signal and a chrominance signal. In the NTSC standard television system, the phase of the chrominance subcarrier is inverted between frames. Focusing on this, in a static region of an image (hereinafter referred to as a still image), a luminance signal can be obtained by taking the sum between frames, and a chrominance signal can be obtained by taking the difference. In a moving region of an image (hereinafter referred to as a moving image), when a sum and a difference between frames are applied, a luminance signal and a chrominance signal leak into each other to cause an adverse effect such as dot interference. The luminance signal and the chrominance signal are obtained by using this. The method of separating the luminance (Y) / color (C) signal according to the motion of the image in this manner is called motion adaptive YC separation. In the motion adaptive YC separation, a moving image and a still image are used. The motion detection circuit that determines whether to switch between the two functions plays an important role. If this motion detection cannot be performed accurately and a moving image cannot be processed as a moving image and a still image cannot be processed as a still image, ideal YC separation cannot be performed, resulting in adverse effects such as cross color and dot interference on the image.

【0003】以下、従来の動き検出回路の構成について
図面を参照しながら説明する。
Hereinafter, a configuration of a conventional motion detection circuit will be described with reference to the drawings.

【0004】まず、従来の2フレーム差分動き検出回路
の構成について図5を参照しながら説明する。図5は特
許第2558087号特許公報の図1に相当するもので
ある。
First, the configuration of a conventional two-frame differential motion detection circuit will be described with reference to FIG. FIG. 5 corresponds to FIG. 1 of Japanese Patent No. 2558087.

【0005】図5に示すように、端子1より入力される
ディジタル映像信号2は、2フレームメモリ41と減算
器9とに入力される。2フレームメモリ41に入力され
た映像信号2は、2フレーム遅延され、減算器9に入力
される。減算器9では、映像信号2と2フレーム遅延さ
れた映像信号8との差分が取られ、出力された差分信号
10は、絶対値回路11に入力される。絶対値回路11
で得られた差分絶対値信号12は、比較器14に入力さ
れ、設定値13と比較される。比較信号15は、フレー
ムメモリ16とOR回路42とに入力される。また、フ
レームメモリ16に入力された比較信号15は、1フレ
ーム遅延され、OR回路42に入力される。OR回路4
2では、入力された比較信号15と1フレーム遅延され
た比較信号17のいずれか大きい方を選択し、動き信号
43として端子20より出力する。この出力信号が
「1」のとき動画と判定し、「0」のとき静止画と判定
される。この検出回路で2フレーム間差分信号を使用す
るのは前述した色副搬送波のフレーム反転により、1フ
レーム間差分を使用すると静止画像の場合に色信号が差
分として出力されるためである。
[0005] As shown in FIG. 5, a digital video signal 2 input from a terminal 1 is input to a two-frame memory 41 and a subtractor 9. The video signal 2 input to the two-frame memory 41 is delayed by two frames and input to the subtractor 9. The subtracter 9 calculates a difference between the video signal 2 and the video signal 8 delayed by two frames, and outputs the output difference signal 10 to the absolute value circuit 11. Absolute value circuit 11
Is input to the comparator 14 and compared with the set value 13. The comparison signal 15 is input to the frame memory 16 and the OR circuit 42. The comparison signal 15 input to the frame memory 16 is delayed by one frame and input to the OR circuit 42. OR circuit 4
In the step 2, the larger one of the input comparison signal 15 and the comparison signal 17 delayed by one frame is selected, and is output from the terminal 20 as the motion signal 43. When this output signal is "1", it is determined as a moving image, and when it is "0", it is determined as a still image. The reason for using the difference signal between two frames in this detection circuit is that, when the difference between one frame is used, the color signal is output as a difference in the case of a still image due to the above-described frame inversion of the color subcarrier.

【0006】このような従来の2フレーム差分動き検出
回路では、図6に示すように画面内に於いて、ある物体
がフレーム毎に同図(a)〜(d)に示すような動き
(右から左への移動)を行った場合、比較器14の出力
信号15で動画と判定される領域は、現在のフレーム:
nフレーム(同図(d))と2フレーム前のフレーム:
n−2フレーム(同図(b))との差分により検出され
る領域となり、同図(e)の斜線部Aとなる。一方フレ
ームメモリ16より出力される遅延信号17は、1フレ
ーム前の動き信号であるのでn−1フレーム(同図
(c))とn−3フレーム(同図(a))の差分より検
出さた信号に等しい。従って遅延信号17は同図(e)
の斜線部Bの領域を動きと判定する。OR回路42で
は、斜線部Aと斜線部Bの論理加算を行われ、同図
(e)の斜線部全てが動きと判定されるここで本来動き
と判定すべき領域はnフレームとn−1フレームの間の
動き部分であり、同図(f)の斜線部Cに示す領域であ
る。また同図(f)の破線に囲まれた領域Dは静止と判
定されるべき領域である。
In such a conventional two-frame differential motion detection circuit, as shown in FIG. 6, a certain object moves on a frame by frame as shown in FIGS. From the left to the right), the area determined as a moving image in the output signal 15 of the comparator 14 is the current frame:
The frame before the nth frame ((d) in the same figure) and two frames before:
The area is detected by the difference from the n-2 frame (FIG. 13B), which is the hatched area A in FIG. On the other hand, since the delay signal 17 output from the frame memory 16 is a motion signal of one frame before, it is detected from the difference between the n-1 frame (FIG. 10C) and the n-3 frame (FIG. 10A). Signal. Therefore, the delay signal 17 is shown in FIG.
Is determined to be a motion. In the OR circuit 42, the logical addition of the hatched portion A and the hatched portion B is performed, and all the hatched portions in FIG. This is a moving portion between frames, and is a region indicated by a hatched portion C in FIG. An area D surrounded by a broken line in FIG. 9F is an area to be determined to be stationary.

【0007】次に従来の1フレーム差分動き検出回路の
構成について図7を参照しながら説明する。
Next, the configuration of a conventional one-frame differential motion detection circuit will be described with reference to FIG.

【0008】図7に示すように端子1より入力されるデ
ィジタル映像信号2は、フレームメモリ3とライン間く
し形フィルタ201に入力される。入力された映像信号
2はライン間くし形フィルタ201により、輝度信号1
07と色信号108とに分離される。一方、フレームメ
モリ3に入力された映像信号2は、1フレーム遅延さ
れ、ライン間くし形フィルタ202に入力され、1フレ
ーム遅延された輝度信号109と色信号110とに分離
される。1フレーム遅延された色信号110は、前記の
通り位相が反転しているので位相をそろえるために反転
回路111に入力される。ライン間くし形フィルタ20
1,202によりYC分離された輝度信号107,10
9と、色信号108、そして1フレーム遅延された色信
号110が反転された反転色信号112はそれぞれ減算
器113,114に入力され、減算器113,114で
差分が取られ、差分輝度信号115と差分色信号116
を出力する。差分輝度信号115は、絶対値回路117
に入力され、絶対値がとられ、比較回路121に入力さ
れる。比較回路121で設定値122と比較され、輝度
動き信号125が出力される。差分色信号116につい
ても同様に絶対値回路118で絶対値がとられ、比較回
路123で設定値124と比較され、色動き信号126
が得られる。輝度動き信号125と色動き信号126と
はOR回路127に入力され、OR回路127で論理和
がとられ、端子20より動き信号128が出力される。
As shown in FIG. 7, a digital video signal 2 input from a terminal 1 is input to a frame memory 3 and a comb filter 201 between lines. The input video signal 2 is converted into a luminance signal 1 by the interline comb filter 201.
07 and a color signal 108. On the other hand, the video signal 2 input to the frame memory 3 is delayed by one frame, input to the interline comb filter 202, and separated into the luminance signal 109 and the chrominance signal 110 delayed by one frame. Since the phase of the color signal 110 delayed by one frame is inverted as described above, the color signal 110 is input to the inverting circuit 111 to align the phases. Line-to-line comb filter 20
Luminance signals 107 and 10 separated by YC by reference numerals 202 and 202
9, the color signal 108, and the inverted color signal 112 obtained by inverting the color signal 110 delayed by one frame are input to subtracters 113 and 114, respectively. And difference color signal 116
Is output. The difference luminance signal 115 is output to the absolute value circuit 117.
, And the absolute value is taken and input to the comparison circuit 121. The comparison circuit 121 compares the luminance value with the set value 122 and outputs a luminance motion signal 125. Similarly, the absolute value circuit 118 calculates the absolute value of the difference color signal 116, compares the absolute value with the set value 124 by the comparison circuit 123, and obtains the color motion signal 126.
Is obtained. The luminance motion signal 125 and the color motion signal 126 are input to an OR circuit 127, which performs an OR operation on the OR circuit 127, and outputs a motion signal 128 from the terminal 20.

【0009】このような従来の1フレーム差分動き検出
回路では、図8(a)に示すような、静止画で色の付い
た斜め線の絵柄が入力されたとき、同図(b)に示すよ
うにnラインのx番目の画素の信号レベルを(Yn+C
n)とし、n−1ラインのx番目の画素の信号レベル
を、(Yn−1−Cn−1)としたとき、(色信号は1
ラインごとに位相が反転しているため−Cn−1とな
る)これらの2画素に着目すると、加算器103の出力
は(Yn+Cn)+(Yn−1−Cn−1)となり、輝
度信号107は(Yn+Yn−1)+(Cn−Cn−
1)となる。
In such a conventional one-frame differential motion detection circuit, when a colored diagonal pattern is input as a still image as shown in FIG. 8A, the circuit shown in FIG. As described above, the signal level of the x-th pixel on the n-th line is set to (Yn + C
n) and the signal level of the x-th pixel in the (n-1) -th line is (Yn-1-Cn-1), (the color signal is 1
Paying attention to these two pixels because the phase is inverted for each line), the output of the adder 103 is (Yn + Cn) + (Yn-1-Cn-1), and the luminance signal 107 is (Yn + Yn-1) + (Cn-Cn-
1).

【0010】また減算器104の出力は(Yn+Cn)
−(Yn−1−Cn−1)となり、色信号108は(Y
n+Yn−1)+(Cn−Cn−1)となる。一方、フ
レームメモリ3により1フレーム遅延された映像信号4
では、色信号は、フレームごとに位相が反転しているの
で、着目するnラインのx番目の画素の信号レベルは
(Yn−Cn)となり、n−1ラインのx番目の画素の
信号レベルは(Yn−1+Cn−1)となる。
The output of the subtractor 104 is (Yn + Cn)
− (Yn−1−Cn−1), and the color signal 108 becomes (Yn−1−Cn−1).
n + Yn-1) + (Cn-Cn-1). On the other hand, the video signal 4 delayed by one frame by the frame memory 3
Since the phase of the color signal is inverted for each frame, the signal level of the x-th pixel of the n-th line of interest is (Yn-Cn), and the signal level of the x-th pixel of the n-1-th line is (Yn-1 + Cn-1).

【0011】従って、加算器105の出力は(Yn−C
n)+(Yn−1+Cn−1)となり、遅延輝度信号1
09は(Yn+Yn−1)+(−Cn+Cn−1)とな
る。また減算器106の出力は(Yn−Cn)−(Yn
−1+Cn−1)となり、遅延色信号110は(Yn−
Yn−1)−(Cn+Cn−1)となるが反転回路11
1により反転されて、−(Yn−Yn−1)+(Cn+
Cn−1)となる。
Therefore, the output of the adder 105 is (Yn-C
n) + (Yn-1 + Cn-1), and the delayed luminance signal 1
09 is (Yn + Yn-1) + (-Cn + Cn-1). The output of the subtractor 106 is (Yn-Cn)-(Yn
−1 + Cn−1), and the delayed color signal 110 is (Yn−
Yn-1)-(Cn + Cn-1), but the inversion circuit 11
1 and − (Yn−Yn−1) + (Cn +
Cn-1).

【0012】輝度信号107と遅延輝度信号109と
は、減算器113により{輝度信号107:(Yn+Y
n−1)+(Cn−Cn−1)}−{遅延輝度信号10
9:Yn+Yn−1)+(−Cn+Cn−1)}の演算
がされ、差分輝度信号115は2(Cn−Cn−1)と
なる。また色信号に関しても同様に{色信号108:
(Yn−Yn−1)+(Cn+Cn−1)}−{遅延色
信号112:−(Yn−Yn−1)+(Cn+Cn−
1)}の演算がされ、差分色信号116は2(Yn−Y
n−1)となる。
The luminance signal 107 and the delayed luminance signal 109 are subtracted by a subtractor 113 into a Δluminance signal 107: (Yn + Y).
n-1) + (Cn-Cn-1)}-{delayed luminance signal 10
9: Yn + Yn-1) + (-Cn + Cn-1)}, and the difference luminance signal 115 becomes 2 (Cn-Cn-1). The same applies to the color signal 108:
(Yn-Yn-1) + (Cn + Cn-1)}-{delayed color signal 112:-(Yn-Yn-1) + (Cn + Cn-
1) The calculation of} is performed, and the differential color signal 116 is 2 (Yn−Y).
n-1).

【0013】減算器の出力は、絶対値処理され、比較器
で設定値と比較され、OR回路により合成され、動き信
号となるが、上記のような場合、差分輝度信号115の
2(Cn−Cn−1)や差分色信号116の2(Yn−
Yn−1)が動き信号と判定され、誤検出が発生する。
The output of the subtractor is subjected to absolute value processing, compared with a set value by a comparator, combined by an OR circuit, and becomes a motion signal. In the above case, 2 (Cn− Cn-1) and 2 (Yn-
Yn-1) is determined to be a motion signal, and erroneous detection occurs.

【0014】[0014]

【発明が解決しようとする課題】このように従来例で
は、2フレーム差分動き検出の場合は図6(f)の破線
に囲まれた領域において、不必要な動きが発生してしま
う。また1フレーム差分動き検出の場合は、輝度信号に
漏れ込んだ色信号や色信号に漏れ込んだ輝度信号が動き
と判定され、静止画であるにも関わらず不必要な動きが
発生してしまう。これらの不必要な動き信号により、動
き適応型YC分離において理想的なYC分離が行われず
クロスカラーやドット妨害等の弊害が発生する。
As described above, in the conventional example, in the case of two-frame differential motion detection, unnecessary motion occurs in a region surrounded by a broken line in FIG. 6 (f). In the case of one-frame differential motion detection, a color signal leaked into a luminance signal or a luminance signal leaked into a color signal is determined to be motion, and unnecessary motion occurs even though it is a still image. . Due to these unnecessary motion signals, ideal YC separation is not performed in the motion adaptive YC separation, and adverse effects such as cross color and dot disturbance occur.

【0015】本発明の目的は、ある物体が高速で動くよ
うな信号や斜め線の絵柄が入力されたようなときでも不
必要な動きは発生しない動き検出回路を提供することに
ある。
An object of the present invention is to provide a motion detection circuit which does not generate unnecessary motion even when a signal such as a certain object moves at a high speed or an oblique line pattern is input.

【0016】[0016]

【課題を解決するための手段】上記目的を達成するた
め、本発明による動き検出回路においては、第1のフレ
ームメモリと、第2のフレームメモリと、1フレーム差
分動き検出回路と、第2フレーム差分動き検出回路と、
第3のフレームメモリと、動き信号合成回路とを有する
動き検出回路であって、第1のフレームメモリは、入力
ディジタル映像信号を1フレーム遅延して1フレーム遅
延信号を第2のフレームメモリと、1フレーム差分動き
検出回路に出力するものであり、第2のフレームメモリ
は、1フレーム遅延映像信号をさらに1フレーム遅延
し、2フレーム遅延信号を2フレーム差分動き検出回路
に出力するものであり、1フレーム差分動き検出回路
は、入力ディジタル映像信号と、1フレーム遅延映像信
号から1フレーム差分動き信号を検出して動き信号合成
回路に出力するものであり、2フレーム差分動き検出回
路は、入力ディジタル映像信号と、2フレーム遅延映像
信号から動き信号を検出して比較信号を第3フレームメ
モリと動き信号合成回路に出力するものであり、第3フ
レームメモリは、2フレーム差分動き検出回路の出力信
号を1フレーム遅延してその1フレーム遅延した信号を
動き信号合成回路に出力するものであり、動き信号合成
回路は、1フレーム差分動き検出回路の出力信号と、2
フレーム差分動き検出回路の出力信号と、第3フレーム
メモリの出力信号を入力として演算し、動き信号を出力
するものである。
In order to achieve the above object, a motion detecting circuit according to the present invention comprises a first frame memory, a second frame memory, a one-frame differential motion detecting circuit, and a second frame memory. A differential motion detection circuit,
A motion detection circuit having a third frame memory and a motion signal synthesis circuit, wherein the first frame memory delays the input digital video signal by one frame and converts the one-frame delay signal into a second frame memory; A second frame memory for delaying the one-frame delayed video signal by one frame, and outputting a two-frame delayed signal to the two-frame differential motion detection circuit; The one-frame differential motion detection circuit detects a one-frame differential motion signal from an input digital video signal and a one-frame delayed video signal and outputs the motion signal to a motion signal synthesizing circuit. A motion signal is detected from the video signal and the two-frame delayed video signal, and the comparison signal is stored in the third frame memory and the motion signal synthesis circuit. The third frame memory delays the output signal of the two-frame differential motion detection circuit by one frame and outputs the signal delayed by one frame to the motion signal synthesis circuit. Are the output signals of the one-frame differential motion detection circuit and 2
The operation is performed by using the output signal of the frame difference motion detection circuit and the output signal of the third frame memory as inputs, and a motion signal is output.

【0017】また、2種類の動き信号合成回路と、2種
類の第3フレームメモリと、動きMIX回路とを有し、
1フレーム差分動き検出回路は、輝度信号1フレーム差
分動き信号と、色信号1フレーム差分動き信号を別個に
出力し、2フレーム差分動き検出回路は、輝度側の比較
信号と色側の比較信号とを別個に出力し、2種類の第3
フレームメモリは、2フレーム差分動き検出回路より出
力された輝度側比較信号と、色側比較信号とを別個に1
フレーム遅延して出力し、2種類の動き信号合成回路
は、1フレーム分動き検出回路、2フレーム分動き検出
回路及び第3フレームメモリの出力を入力とし、それぞ
れ輝度信号と、色信号とを別個に処理して別側に出力し
た輝度側の動き信号と、色側の動き信号とを動きMIX
回路に入力するものであり、動きMIX回路は、入力さ
れた両信号をミックスして動き信号を出力するものであ
る。
Also, there are two types of motion signal synthesizing circuits, two types of third frame memories, and a motion MIX circuit.
The one-frame differential motion detection circuit separately outputs a luminance signal one-frame differential motion signal and a chrominance one-frame differential motion signal, and the two-frame differential motion detection circuit outputs a luminance-side comparison signal and a color-side comparison signal. Are output separately, and two types of third
The frame memory separately stores the luminance-side comparison signal and the chrominance-side comparison signal output from the two-frame differential motion detection circuit.
The two types of motion signal synthesizing circuits receive the output of the motion detecting circuit for one frame, the output of the motion detecting circuit for two frames and the output of the third frame memory, and separate the luminance signal and the chrominance signal separately. And the luminance-side motion signal and the color-side motion signal output to the other side
The motion MIX circuit mixes the two input signals and outputs a motion signal.

【0018】また、2フレーム差分動き検出回路の出力
信号と1フレーム遅延された2フレーム差分動き検出回
路の出力信号が両方とも「0」を示したときに強制的に
動きを0とし、それ以外の場合は1フレーム差分動き検
出回路の出力信号を動き信号とするものである。
When both the output signal of the two-frame differential motion detection circuit and the output signal of the two-frame differential motion detection circuit delayed by one frame indicate "0", the motion is forcibly set to zero. In this case, the output signal of the one-frame difference motion detection circuit is used as a motion signal.

【0019】[0019]

【発明の実施の形態】(実施形態1)以下、本発明の実
施形態1について、図面を参照しながら説明する。
(Embodiment 1) Hereinafter, Embodiment 1 of the present invention will be described with reference to the drawings.

【0020】図1は本発明の一実施形態における動き検
出回路の要部構成を示すブロック図である。従来例と同
一構成部分には同一の符号を付して説明する。
FIG. 1 is a block diagram showing a main configuration of a motion detection circuit according to an embodiment of the present invention. The same components as in the conventional example will be described with the same reference numerals.

【0021】図1において、端子1より入力されたディ
ジタル映像信号2は、1フレーム差分動き検出回路6と
第1のフレームメモリ3とに入力される。第1のフレー
ムメモリ3で1フレーム遅延された1フレーム遅延映像
信号4は、第2のフレームメモリ5と1フレーム差分動
き検出回路6にそれぞれ入力される。第2のフレームメ
モリ5では、さらに1フレーム遅延され、2フレーム遅
延映像信号8を出力する。一方、1フレーム差分動き検
出回路6に入力された映像信号2と1フレーム遅延映像
信号4は、従来例と同様に、ライン間くし形フィルタ2
01,202でYC分離され、減算器113,114で
それぞれ差分がとられ、比較器121,123におい
て、設定値122,124と比較され、OR回路127
にて輝度動き信号125と色動き信号126が合成さ
れ、1フレーム差分動き信号7が出力される。1フレー
ム差分動き信号7は、動き信号合成回路18の端子aに
入力される。
In FIG. 1, a digital video signal 2 input from a terminal 1 is input to a one-frame differential motion detection circuit 6 and a first frame memory 3. The one-frame delayed video signal 4 delayed by one frame in the first frame memory 3 is input to the second frame memory 5 and the one-frame differential motion detection circuit 6, respectively. The second frame memory 5 is further delayed by one frame and outputs a two-frame delayed video signal 8. On the other hand, the video signal 2 and the one-frame delayed video signal 4 inputted to the one-frame differential motion detection circuit 6
01 and 202, the difference is calculated by subtractors 113 and 114, respectively, and compared with set values 122 and 124 by comparators 121 and 123, and OR circuit 127
, The luminance motion signal 125 and the color motion signal 126 are combined, and the one-frame differential motion signal 7 is output. The one-frame difference motion signal 7 is input to a terminal a of the motion signal synthesis circuit 18.

【0022】前記映像信号2と前記2フレーム遅延映像
信号とは従来例と同様に減算器9で差分がとられ、差分
信号10は、絶対値回路11に入力される。絶対値回路
11で絶対値処理された差分絶対値信号12は、比較器
14入力され、比較器14で設定値13と比較され、設
定値13より大きい時は「1」を出力し、設定値13よ
り小さい時は「0」を出力する。比較信号15は第3の
フレームメモリ16と動き信号合成回路18の端子bに
入力される。フレームメモリ16に入力された比較信号
15は、1フレーム遅延され、動き信号合成回路18の
端子cに入力される。動き信号合成回路18では、図2
に示すように端子bと端子cの入力信号が両方とも
「0」のとき強制的に出力信号を0とし、それ以外の場
合は端子aの入力信号を出力するという演算処理が行わ
れ、動き信号19として端子20より出力する。
The difference between the video signal 2 and the two-frame delayed video signal is obtained by a subtractor 9 as in the conventional example, and the difference signal 10 is input to an absolute value circuit 11. The difference absolute value signal 12 subjected to the absolute value processing by the absolute value circuit 11 is input to a comparator 14, compared with a set value 13 by the comparator 14, and outputs “1” when the set value is larger than the set value 13. When it is smaller than 13, "0" is output. The comparison signal 15 is input to the third frame memory 16 and the terminal b of the motion signal synthesis circuit 18. The comparison signal 15 input to the frame memory 16 is delayed by one frame and input to the terminal c of the motion signal synthesis circuit 18. In the motion signal synthesis circuit 18, FIG.
As shown in (2), when both the input signals of the terminals b and c are "0", the output signal is forcibly set to 0, otherwise, the input signal of the terminal a is output, and the operation is performed. The signal is output from a terminal 20 as a signal 19.

【0023】このような構成をとることによって、図3
に示すような、ある物体がフレーム毎に同図(a)〜
(d)に示すような動きを行っていて(図6と同様な動
き)、且つ背景に斜め線の絵柄が含まれている場合、比
較器14の出力信号15と第3フレームメモリ16より
出力される遅延信号17で動画と判定される領域は、従
来例と同様にそれぞれ同図(e)斜線部と同図(f)斜
線部のようになる。一方、現フレームでの1フレーム差
分による検出信号7は、同図(g)斜線部の領域で動き
と判定される。同図(e)〜(g)のような検出結果か
ら動き信号合成回路18において演算処理が行われ、同
図(h)斜線部の領域では、動き信号は強制的に「0」
が出力され、それ以外の領域では、同図(g)で示され
るような1フレーム差分動き検出信号が図1の動き信号
19として出力される。従って、動き信号19により動
画と判定される領域は同図(i)の様になり、従来の技
術で発生していた静止画領域の動画誤判定は改善するこ
とができる。また、静止画の時は強制的に動き無しとな
るため、1フレーム差分動き検出で発生していた誤検出
による弊害に関しても改善することができる。
By adopting such a configuration, FIG.
(A) to (c) in FIG.
If the motion shown in FIG. 6D is performed (the same motion as in FIG. 6) and the background includes a diagonal pattern, the output signal 15 of the comparator 14 and the output from the third frame memory 16 are output. The regions determined to be moving images based on the delayed signal 17 are, as in the conventional example, as shown in FIG. On the other hand, the detection signal 7 based on the one-frame difference in the current frame is determined to be a motion in the shaded area in FIG. In the motion signal synthesizing circuit 18, arithmetic processing is performed based on the detection results as shown in FIGS. 7E to 7G, and in the hatched area in FIG.
Is output, and in other areas, a one-frame difference motion detection signal as shown in FIG. 9G is output as the motion signal 19 in FIG. Accordingly, the area determined to be a moving image based on the motion signal 19 is as shown in FIG. 9I, and the erroneous moving image determination of the still image area which occurs in the related art can be improved. In addition, since there is no motion at the time of a still image, it is possible to improve the adverse effect caused by the erroneous detection that has occurred in the one-frame differential motion detection.

【0024】(実施形態2)図4は、本発明の別の実施
形態を示すブロック図である。図4の例は、1フレーム
差分動き検出の出力をY側とC側で別々に出力するこ
と、また2フレーム差分検出回路で比較器を2つ用い、
設定値もY側とC側で2つ用いることにより動き検出を
Y側とC側で別々に行い、動き信号合成回路も2つ用い
Y側とC側のそれぞれの動きに信号を合成し、別々に処
理されたY側とC側の動き信号をMIXして出力するこ
とが構成上先の実施形態とは異なる点である。
(Embodiment 2) FIG. 4 is a block diagram showing another embodiment of the present invention. In the example of FIG. 4, the outputs of one-frame differential motion detection are separately output on the Y and C sides, and two comparators are used in a two-frame differential detection circuit.
Motion detection is separately performed on the Y and C sides by using two set values on the Y and C sides, and two motion signal synthesis circuits are used to synthesize signals for the respective motions on the Y and C sides. The configuration is different from the previous embodiment in that the Y-side and C-side motion signals separately processed are mixed and output.

【0025】図4において、入力された映像信号2と第
1フレームメモリ3で遅延された1フレーム遅延映像信
号4は、1フレーム差分動き検出回路6に入力され、従
来例と同様にライン間くし形フィルタ201,202で
YC分離され、減算器113,114でそれぞれ差分が
とられ、比較器121,123で設定値122,124
と比較され、輝度信号1フレーム差分動き信号32と色
信号1フレーム差分動き信号33が出力される。また、
1フレーム遅延映像信号4は、第2フレームメモリ5に
より、さらに1フレーム遅延される。2フレーム遅延映
像信号8と映像信号2は従来例と同様に減算器9で差分
が取られ、絶対値回路11で絶対値処理された比較器2
2と比較器24でそれぞれ入力される。
In FIG. 4, the input video signal 2 and the one-frame delayed video signal 4 delayed by the first frame memory 3 are input to a one-frame differential motion detecting circuit 6, and inter-line combing is performed as in the conventional example. YC separation is performed by the shape filters 201 and 202, the difference is calculated by subtractors 113 and 114, and set values 122 and 124 are calculated by comparators 121 and 123.
And a luminance signal one-frame differential motion signal 32 and a chrominance signal one-frame differential motion signal 33 are output. Also,
The one-frame delayed video signal 4 is further delayed by one frame by the second frame memory 5. The difference between the two-frame delayed video signal 8 and the video signal 2 is calculated by the subtractor 9 in the same manner as in the prior art, and the absolute value is processed by the absolute value circuit 11 in the comparator 2.
2 and the comparator 24 respectively.

【0026】比較器22では、Y側設定値23と比較さ
れ、比較器24では、C側設定値25と比較され、それ
ぞれ設定値より大きい時は「1」、小さい時は「0」を
それぞれ出力する。Y側とC側の比較信号26、27は
それぞれ別々の第3フレームメモリ28、30とY側と
C側の動き信号合成回路34,36の端子bに入力され
る。
The comparator 22 compares with the Y-side set value 23, and the comparator 24 compares with the C-side set value 25. When the set value is larger than the set value, "1" is set, and when the set value is smaller, "0" is set. Output. The Y-side and C-side comparison signals 26 and 27 are input to separate third frame memories 28 and 30 and terminals b of Y-side and C-side motion signal synthesis circuits 34 and 36, respectively.

【0027】また第3のフレームメモリ28、30によ
り1フレーム遅延された比較信号29、31は動き信号
合成回路34、36の端子cに入力され、動き信号合成
回路34、36では、端子aよりそれぞれ入力された輝
度信号1フレーム差分動き信号32と色信号1フレーム
差分動き信号33と端子b、cより入力された各信号に
より図2に示すような演算がそれぞれ行われ、Y側とC
側の動き信号35,37がそれぞれ出力される。Y側動
き信号35と、C側動き信号37とは、動きMIX回路
38に入力されてミックスされ、動き信号39として端
子20より出力される。このようにY側とC側とで設定
値を2つ用いることにより、Y側とC側の動き信号の検
出精度を変えることが可能になる。
The comparison signals 29 and 31 delayed by one frame by the third frame memories 28 and 30 are input to terminals c of the motion signal synthesizing circuits 34 and 36, respectively. The arithmetic operation shown in FIG. 2 is performed by the luminance signal 1-frame differential motion signal 32, the chrominance signal 1-frame differential motion signal 33, and the signals input from the terminals b and c, respectively.
The side motion signals 35 and 37 are output, respectively. The Y-side motion signal 35 and the C-side motion signal 37 are input to a motion MIX circuit 38, mixed, and output as a motion signal 39 from a terminal 20. By using two set values on the Y side and the C side in this way, it is possible to change the detection accuracy of the Y side and the C side motion signals.

【0028】[0028]

【発明の効果】以上の実施形態から明らかなように、本
発明によれば、現フレームの映像信号と2フレーム遅延
された映像信号により、静止画を検出し、検出結果が静
止の時は動き検出信号を強制的に0にして、動画の時は
1フレーム差分動き検出信号を動き信号とすることによ
り、ある物体が高速で動くような信号や斜め線の絵柄が
入力された時にも不必要な動きは発生せず、理想的なY
C分離が行われて画像破綻を防止できる効果を有する。
As is apparent from the above embodiment, according to the present invention, a still image is detected by the video signal of the current frame and the video signal delayed by two frames, and when the detection result is still, the still image is detected. The detection signal is forcibly set to 0, and in the case of a moving image, the one-frame difference motion detection signal is used as a motion signal, which is unnecessary even when a signal such as a certain object moves at a high speed or an oblique line pattern is input. No ideal movement occurs and ideal Y
This has the effect that image separation can be prevented by performing C separation.

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

【図1】本発明の一実施例の動き検出回路の構成を示す
ブロック図である。
FIG. 1 is a block diagram showing a configuration of a motion detection circuit according to one embodiment of the present invention.

【図2】動き信号制御回路の演算結果を示す図である。FIG. 2 is a diagram illustrating a calculation result of a motion signal control circuit.

【図3】本発明の動作を説明するための模式図である。 (a)〜(d)高速で移動している物体と背景に斜め線
の絵柄を含んだ模式図 (e)現在のフレームにおける2フレーム差分動き検出
結果 (f)n−1フレーム(1フレーム前)における2フレ
ーム差分動き検出結果 (g)現在のフレームにおける1フレーム差分動き検出
結果 (h)現フレームとn−1フレームにおいて2フレーム
差分動き検出で動きと判定されない領域 を示している。
FIG. 3 is a schematic diagram for explaining the operation of the present invention. (A) to (d) Schematic diagrams including an object moving at high speed and a diagonal pattern in the background (e) Two-frame differential motion detection result in current frame (f) n-1 frame (one frame before (G) One frame differential motion detection result in the current frame. (H) Two-frame differential motion detection in the current frame and the (n-1) th frame indicates a region that is not determined to be motion by the two-frame differential motion detection.

【図4】本発明の別の実施例の動き検出回路の構成を示
すブロック図である。
FIG. 4 is a block diagram illustrating a configuration of a motion detection circuit according to another embodiment of the present invention.

【図5】従来の2フレーム差分動き検出回路のブロック
図である。
FIG. 5 is a block diagram of a conventional two-frame differential motion detection circuit.

【図6】従来の2フレーム差分動き検出回路の動作を説
明するための模式図である。 (a)〜(d)高速で移動している物体の模式図 (e)従来例における動き検出結果 (f)現在のフレームにおける理想的な検出結果 を示している。
FIG. 6 is a schematic diagram for explaining the operation of a conventional two-frame differential motion detection circuit. (A)-(d) Schematic diagrams of an object moving at high speed. (E) Motion detection result in the conventional example. (F) Ideal detection result in the current frame.

【図7】従来の1フレーム差分動き検出回路のブロック
図である。
FIG. 7 is a block diagram of a conventional one-frame differential motion detection circuit.

【図8】従来の1フレーム差分動き検出回路の弊害を説
明するためのモデル図である。 (a)1フレーム差分動き検出回路で弊害を生じる斜め
線の絵柄の例 (b)(a)を1ラインごとに拡大した図 である。
FIG. 8 is a model diagram for explaining an adverse effect of a conventional one-frame differential motion detection circuit. (A) An example of an oblique line pattern that causes a problem in the one-frame differential motion detection circuit. (B) It is a diagram in which (a) is enlarged for each line.

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

3,5,16,28,30 フレームメモリ 6 1フレーム差分動き検出回路 9,104,106,113,114 減算器 11,117,118 絶対値回路 14,22,24,121,123 比較器 18,34,36 動き信号合成回路 38 動きMIX回路 41 2フレームメモリ 42,127 OR回路 101,102 ラインメモリ 103,105 加算器 111 反転回路 201,202 ライン間くし形フィルタ 21,40 2フレーム動き検出回路 3, 5, 16, 28, 30 frame memory 6 1-frame differential motion detection circuit 9, 104, 106, 113, 114 subtractor 11, 117, 118 absolute value circuit 14, 22, 24, 121, 123 comparator 18, 34, 36 motion signal synthesizing circuit 38 motion MIX circuit 41 two-frame memory 42, 127 OR circuit 101, 102 line memory 103, 105 adder 111 inverting circuit 201, 202 inter-line comb filter 21, 40 two-frame motion detecting circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 第1のフレームメモリと、第2のフレー
ムメモリと、1フレーム差分動き検出回路と、第2フレ
ーム差分動き検出回路と、第3のフレームメモリと、動
き信号合成回路とを有する動き検出回路であって、 第1のフレームメモリは、入力ディジタル映像信号を1
フレーム遅延して1フレーム遅延信号を第2のフレーム
メモリと、1フレーム差分動き検出回路に出力するもの
であり、 第2のフレームメモリは、1フレーム遅延映像信号をさ
らに1フレーム遅延し、2フレーム遅延信号を2フレー
ム差分動き検出回路に出力するものであり、 1フレーム差分動き検出回路は、入力ディジタル映像信
号と、1フレーム遅延映像信号から1フレーム差分動き
信号を検出して動き信号合成回路に出力するものであ
り、 2フレーム差分動き検出回路は、入力ディジタル映像信
号と、2フレーム遅延映像信号から動き信号を検出して
比較信号を第3フレームメモリと動き信号合成回路に出
力するものであり、 第3フレームメモリは、2フレーム差分動き検出回路の
出力信号を1フレーム遅延してその1フレーム遅延した
信号を動き信号合成回路に出力するものであり、 動き信号合成回路は、1フレーム差分動き検出回路の出
力信号と、2フレーム差分動き検出回路の出力信号と、
第3フレームメモリの出力信号を入力として演算し、動
き信号を出力するものであることを特徴とする動き検出
回路。
1. A first frame memory, a second frame memory, a one-frame differential motion detection circuit, a second frame differential motion detection circuit, a third frame memory, and a motion signal synthesizing circuit. A motion detection circuit, wherein a first frame memory stores an input digital video signal
A frame-delayed one-frame delayed signal is output to a second frame memory and a one-frame differential motion detection circuit. The second frame memory further delays the one-frame delayed video signal by one frame, and The one-frame differential motion detecting circuit detects the one-frame differential motion signal from the input digital video signal and the one-frame delayed video signal, and outputs the one-frame differential motion signal to the motion signal synthesizing circuit. The two-frame differential motion detection circuit detects a motion signal from the input digital video signal and the two-frame delayed video signal, and outputs a comparison signal to the third frame memory and the motion signal synthesis circuit. The third frame memory delays the output signal of the two-frame differential motion detection circuit by one frame and delays the output signal by one frame. The motion signal synthesis circuit outputs the output signal of the one-frame difference motion detection circuit, the output signal of the two-frame difference motion detection circuit,
A motion detection circuit which calculates an output signal of a third frame memory as an input and outputs a motion signal.
【請求項2】 2種類の動き信号合成回路と、2種類の
第3フレームメモリと、動きMIX回路とを有し、 1フレーム差分動き検出回路は、輝度信号1フレーム差
分動き信号と、色信号1フレーム差分動き信号を別個に
出力し、 2フレーム差分動き検出回路は、輝度側の比較信号と色
側の比較信号とを別個に出力し、 2種類の第3フレームメモリは、2フレーム差分動き検
出回路より出力された輝度側比較信号と、色側比較信号
とを別個に1フレーム遅延して出力し、 2種類の動き信号合成回路は、1フレーム分動き検出回
路、2フレーム分動き検出回路及び第3フレームメモリ
の出力を入力とし、それぞれ輝度信号と、色信号とを別
個に処理して別側に出力した輝度側の動き信号と、色側
の動き信号とを動きMIX回路に入力するものであり、 動きMIX回路は、入力された両信号をミックスして動
き信号を出力するものであることを特徴とする請求項1
に記載の動き検出回路。
2. A motion signal synthesizing circuit comprising two kinds of motion signal synthesizing circuits, two kinds of third frame memories, and a motion MIX circuit. The one-frame differential motion signal is output separately. The two-frame differential motion detection circuit separately outputs a luminance-side comparison signal and a chrominance-side comparison signal. The luminance-side comparison signal and the color-side comparison signal output from the detection circuit are separately output with a delay of one frame, and the two types of motion signal synthesis circuits are a motion detection circuit for one frame and a motion detection circuit for two frames. And the output of the third frame memory are input, and the luminance signal and the chrominance signal, which are separately processed and output to the other side, respectively, are input to the motion MIX circuit. In things Ri, motion MIX circuit, according to claim 1, characterized in that a mix of both signals input and outputs a motion signal
3. The motion detection circuit according to 1.
【請求項3】 2フレーム差分動き検出回路の出力信号
と1フレーム遅延された2フレーム差分動き検出回路の
出力信号が両方とも「0」を示したときに強制的に動き
を0とし、それ以外の場合は1フレーム差分動き検出回
路の出力信号を動き信号とすることを特徴とする請求項
1又は2に記載の動き検出回路。
3. When both the output signal of the two-frame differential motion detection circuit and the output signal of the two-frame differential motion detection circuit delayed by one frame indicate “0”, the motion is forcibly set to 0; 3. The motion detection circuit according to claim 1, wherein in the case of (1), an output signal of the one-frame difference motion detection circuit is used as a motion signal.
JP31213997A 1997-11-13 1997-11-13 Motion detection circuit Expired - Fee Related JP3180741B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31213997A JP3180741B2 (en) 1997-11-13 1997-11-13 Motion detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31213997A JP3180741B2 (en) 1997-11-13 1997-11-13 Motion detection circuit

Publications (2)

Publication Number Publication Date
JPH11146417A true JPH11146417A (en) 1999-05-28
JP3180741B2 JP3180741B2 (en) 2001-06-25

Family

ID=18025730

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31213997A Expired - Fee Related JP3180741B2 (en) 1997-11-13 1997-11-13 Motion detection circuit

Country Status (1)

Country Link
JP (1) JP3180741B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005057508A (en) * 2003-08-05 2005-03-03 Matsushita Electric Ind Co Ltd Apparatus and method for movement detection, apparatus and method for luminance signal/color signal separation, apparatus and method for noise reduction, and apparatus and method for video display
JP2008135804A (en) * 2006-11-27 2008-06-12 Mitsubishi Electric Corp Motion detection circuit
JP2009055171A (en) * 2007-08-24 2009-03-12 Mitsubishi Electric Corp Motion detection circuit
CN108712620A (en) * 2018-05-16 2018-10-26 上海集成电路研发中心有限公司 A kind of motion detection circuit and method for testing motion

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005057508A (en) * 2003-08-05 2005-03-03 Matsushita Electric Ind Co Ltd Apparatus and method for movement detection, apparatus and method for luminance signal/color signal separation, apparatus and method for noise reduction, and apparatus and method for video display
US7796783B2 (en) 2003-08-05 2010-09-14 Panasonic Corporation Motion detection device and method, luminance/chrominance signal separation device and method, noise reduction device and method, and video display device and method
JP2008135804A (en) * 2006-11-27 2008-06-12 Mitsubishi Electric Corp Motion detection circuit
JP4499081B2 (en) * 2006-11-27 2010-07-07 三菱電機株式会社 Motion detection circuit
JP2009055171A (en) * 2007-08-24 2009-03-12 Mitsubishi Electric Corp Motion detection circuit
CN108712620A (en) * 2018-05-16 2018-10-26 上海集成电路研发中心有限公司 A kind of motion detection circuit and method for testing motion
CN108712620B (en) * 2018-05-16 2020-12-25 上海集成电路研发中心有限公司 Motion detection circuit and motion detection method

Also Published As

Publication number Publication date
JP3180741B2 (en) 2001-06-25

Similar Documents

Publication Publication Date Title
JPH0583732A (en) Luminance and color-signal separating circuit
JP3180741B2 (en) Motion detection circuit
JP2839536B2 (en) Motion detection method and motion detector
JPH01251980A (en) Digital video signal processing circuit
JPH03190473A (en) Video signal processor
JP2000165892A (en) Pixel interpolation method and image processor
JP2004128936A (en) Video signal processor
JP2519526B2 (en) Signal processor
JP2600884B2 (en) Television receiver
JPS6225588A (en) Detector circuit for moving vector
JPH0440795A (en) Movement adaptive signal processing circuit
JP2714251B2 (en) Field converter
JPH082101B2 (en) Motion adaptive scan line interpolation circuit
JPS62188584A (en) Separating circuit for luminance signal and chrominance signal
JPH02166994A (en) Motion detection circuit
JP2862700B2 (en) Motion detection device
JPH0281588A (en) Motion adapted type signal processing circuit and motion detecting circuit used for it
JP2580554B2 (en) Motion adaptive interpolation circuit
JP2576109B2 (en) YC separation circuit
JP3081046B2 (en) Image noise determination method
JP2558087B2 (en) Moving part detection method
JPH09102891A (en) Noise reduction device
JPH05219531A (en) Motion signal generating circuit
JPH0923357A (en) Noise reduction device
JPH07327148A (en) Line interpolation method and line interpolation device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080420

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090420

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees