JPH047152B2 - - Google Patents

Info

Publication number
JPH047152B2
JPH047152B2 JP21502681A JP21502681A JPH047152B2 JP H047152 B2 JPH047152 B2 JP H047152B2 JP 21502681 A JP21502681 A JP 21502681A JP 21502681 A JP21502681 A JP 21502681A JP H047152 B2 JPH047152 B2 JP H047152B2
Authority
JP
Japan
Prior art keywords
signal
motion vector
block
motion
vector
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 - Lifetime
Application number
JP21502681A
Other languages
Japanese (ja)
Other versions
JPS58115990A (en
Inventor
Akira Hirano
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
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP56215026A priority Critical patent/JPS58115990A/en
Publication of JPS58115990A publication Critical patent/JPS58115990A/en
Publication of JPH047152B2 publication Critical patent/JPH047152B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction

Description

【発明の詳細な説明】 この発明はテレビジヨン信号の動きを補償した
フレーム間符号化装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an interframe coding device that compensates for the motion of a television signal.

テレビジヨン信号のデイジタル伝送において
は、隣接するフレームの差分信号(フレーム差分
信号)を符号化して伝送するフレーム間符号化方
式を用いることにより通常のパルス符号変調
(PCM)を用いる場合にくらべて伝送ビツト数を
大幅に低減することができ、特に静止画像や動き
の少い画像において高い圧縮率(PCMにくらべ
て伝送ビツト数が低減される比率)を得ることが
できる。しかし大きな動きを含んだ画像について
はフレーム差分信号が大きくなるため圧縮率が低
下する。大きな動きを含んだ画像に対しても高い
圧縮率を維持するために「動き補償フレーム間符
号化」が提案されている。この方法ではテレビジ
ヨン信号の動きを検出し、テレビジヨン信号の動
きを補償した予測信号を発生して予測符号化を行
う。
Digital transmission of television signals uses an interframe coding method that encodes and transmits the difference signal between adjacent frames (frame difference signal), which allows transmission to be made faster than when using normal pulse code modulation (PCM). The number of bits can be significantly reduced, and a high compression ratio (ratio in which the number of transmitted bits is reduced compared to PCM) can be obtained, especially for still images and images with little movement. However, for images that include large movements, the frame difference signal becomes large, so the compression ratio decreases. "Motion compensated interframe coding" has been proposed to maintain a high compression rate even for images containing large motion. In this method, the motion of the television signal is detected, a predictive signal is generated that compensates for the motion of the television signal, and predictive coding is performed.

<動き補償フレーム間符号化の原理> 第1図は前フレームにおいて点B′にあつた物
体が現フレームにおいては点Aに移動したところ
を示している。動き補償フレーム間符号化におい
ては現フレームの点Aとテレビジヨン画面上で同
一位置にある点A′と点B′との変位量υ→(このυ→
を動ベクトルと称する)を求め、現フレームの点
Aの信号値Y(r→)の予測信号としては単純フレ
ーム間符号化の場合の予測信号である点A′の信
号値Y′(r→)の代りに点B′の信号値Y′(r→+υ
→)
を用いる。なおr→はテレビジヨン画面上の位置を
示す位置ベクトルである。
<Principle of Motion Compensated Interframe Coding> FIG. 1 shows an object that was at point B' in the previous frame moved to point A in the current frame. In motion compensated interframe coding, the amount of displacement υ→ (this υ→
is called a motion vector), and the predicted signal for the signal value Y(r→) at point A in the current frame is the signal value Y'(r→) at point A', which is the predicted signal in the case of simple interframe coding. ) instead of the signal value Y′(r→+υ
→)
Use. Note that r→ is a position vector indicating the position on the television screen.

動き補償フレーム間符号化における予測誤差信
号Y(r→)−Y′(r→+υ→)は単純フレーム間符
号化
における予測誤差信号Y(r→)−Y′(r→)よりも

つと小さな値を示すので、動き補償フレーム間符
号化によつて動きの大きな画像に対しても効率の
良い符号化ができる。
The prediction error signal Y(r→)−Y′(r→+υ→) in motion compensated interframe coding is smaller than the prediction error signal Y(r→)−Y′(r→) in simple interframe coding. Since this value is small, even images with large motion can be efficiently encoded by motion compensated interframe encoding.

この動ベクトルの検出方法としてはたとえば二
宮により「フレーム間符号化における動き補正
(電子通信学会画像工学研究会、資料番号IE78−
6,1978年5月26日、文献1)と題して報告され
た方法を用いることができる。この方法において
はテレビジヨン信号を複数個のブロツクに分割
し、各々の現フレームのブロツク内のテレビジヨ
ン信号に対してテレビジヨン画面上の同一位置を
基準として種々の変位量(シフトベクトルと称す
る)だけずれた位置の前フレームのブロツク内の
信号と現フレームのブロツク内の信号との類似度
を示す評価値を求め、最も類似度の高い前フレー
ムのブロツクに対するシフトベクトルを動ベクト
ルとして検出する。なおこの類似度判定のための
評価値としては現フレームのブロツク内信号とシ
フトベクトルだけずれた前フレームのブロツク内
信号との差信号の絶対値和、あるいは差信号の絶
対値が一定のしきい値を越えたものの個数、など
が考えられている。
As a method for detecting this motion vector, for example, Ninomiya describes ``Motion correction in interframe coding (IEICE Image Engineering Study Group, document number IE78-
6, May 26, 1978, document 1) can be used. In this method, the television signal is divided into a plurality of blocks, and the television signal in each block of the current frame is divided into various amounts of displacement (referred to as shift vectors) with respect to the same position on the television screen. An evaluation value indicating the degree of similarity between a signal in a block in the previous frame and a signal in a block in the current frame that are shifted by the same amount is determined, and a shift vector for the block in the previous frame with the highest degree of similarity is detected as a motion vector. Note that the evaluation value for this similarity judgment is the sum of the absolute values of the difference signals between the intra-block signal of the current frame and the intra-block signal of the previous frame shifted by the shift vector, or a threshold value at which the absolute value of the difference signal is constant. The number of items exceeding the value is considered.

<従来の欠点> 以上動き補償フレーム間符号化の原理、利点に
ついて説明したが動き補償フレーム間符号化にお
いては以下に述べるような欠点がある。すなわち
前述したフレーム間符号化においては予測誤差信
号に対する量子化特性を粗くした場合には画像の
静止部分において量子化雑音がテレビジヨン画面
上に貼りついて見えるダーテイウインドウ
(dirtywindow)効果とよばれる特有の画質劣化
があるが、動き補償フレーム間符号化においては
このダーテイウインドウが動いて見えるという画
質劣化が新たに発生し、特に入力テレビジヨン信
号対雑音比(S/N比)が低い場合テレビジヨン
画像の静止部分において顕著である。
<Conventional Disadvantages> Although the principles and advantages of motion-compensated interframe coding have been described above, motion-compensated interframe coding has the following disadvantages. In other words, in the above-mentioned interframe coding, when the quantization characteristics for the prediction error signal are coarsened, there is a peculiar phenomenon called the dirty window effect, where quantization noise appears stuck on the television screen in the still part of the image. However, in motion compensated interframe coding, a new image quality deterioration occurs in which the dirty window appears to move, especially when the input television signal-to-noise ratio (S/N ratio) is low. This is noticeable in the still part of the image.

動き補償フレーム間符号化においてこのような
画質劣化が新たに生じる原因は次の通りである。
前述した通り動き補償フレーム間符号化において
は、現フレームのブロツク信号と最も類似度の高
い前フレーム信号をもつて予測信号とし予測符号
化を行うが、入力テレビジヨン信号に含まれる雑
音などにより静止部分であつても当該ブロツクが
静止していることを示すベクトルに対する類似度
が必ずしも最大とならず、むしろ静止でないベク
トルについての類似度の方が高くなり静止してい
る部分が動いていると判定されることがある。し
たがつてフレーム間符号化では静止して見えるダ
ーテイウインドウが、動き補償フレーム間符号化
では動いて見えることとなる。なお、このダーテ
イウインドウの動きはブロツクを単位として発生
するので、これを画面上で観察すると、ダーテイ
ウインドウがブロツクを単位として乱雑に動き回
つてみえ、きわめて不自然な印象を観察者に与え
る。
The reason why such image quality deterioration newly occurs in motion compensated interframe coding is as follows.
As mentioned above, in motion-compensated interframe coding, predictive coding is performed using the previous frame signal with the highest similarity to the block signal of the current frame as a prediction signal, but due to noise contained in the input television signal, Even if it is a part, the similarity to a vector indicating that the block is stationary is not necessarily the highest, but rather the similarity to a vector that is not stationary is higher, and the stationary part is determined to be moving. may be done. Therefore, a dirty window that appears stationary in interframe coding will appear to be moving in motion compensated interframe coding. Note that this movement of the dirty window occurs in units of blocks, so if you observe this on the screen, the dirty window will appear to move around randomly in units of blocks, giving an extremely unnatural impression to the viewer. .

<発明の概要> この発明の目的は上述した動き補償フレーム間
符号化における画質劣化要因を大幅に軽減した動
き補償フレーム間符号化装置を提供することにあ
る。
<Summary of the Invention> An object of the present invention is to provide a motion-compensated inter-frame encoding device that significantly reduces the factors of image quality deterioration in the above-mentioned motion-compensated inter-frame encoding.

この発明は入力テレビジヨン信号のブロツクに
ついて動ベクトルを検出する手段と、当該ブロツ
クと時間的空間的に近傍にあるブロツクについて
検出された動ベクトルのうち画像が静止している
ことを示すベクトル(零ベクトルと称する)の発
生頻度が大である時には当該ブロツクに対する動
ベクトルをそのベクトル値の如何にかかわらず零
ベクトルに修正する動ベクトル修正手段と、その
修正手段の出力である修正動ベクトルにもとづい
て予測信号を発生し、前記入力テレビジヨン信号
を予測符号化する手段とから構成されている。
The present invention provides a means for detecting a motion vector for a block of an input television signal, and a vector (zero) indicating that the image is stationary among the motion vectors detected for a block temporally and spatially adjacent to the block. A motion vector correction means for correcting the motion vector for the block to a zero vector regardless of its vector value when the frequency of occurrence of a vector (referred to as a vector) is high; and means for generating a predictive signal and predictively encoding the input television signal.

<発明の原理> 次にこの発明の原理について説明する。この発
明においては現フレームのあるブロツク(注目ブ
ロツクと称する)について検出された動ベクトル
を、注目ブロツクの周辺のブロツク(参照ブロツ
クと称する)において検出された動ベクトルとを
比較し、参照ブロツクのテレビジヨン信号が静止
している場合には、注目ブロツクに対する動ベク
トル検出結果を当該ブロツクが静止していること
を示すベクトル(すなわち零ベクトル)に修正す
る。このような修正をうけた動ベクトル(修正動
ベクトル)に基づいて予測信号を発生することに
より前述したダーテイウインドウが動いて見える
という重大な画質劣化を軽減する。
<Principle of the invention> Next, the principle of the invention will be explained. In this invention, a motion vector detected for a certain block in the current frame (referred to as a block of interest) is compared with a motion vector detected in blocks surrounding the block of interest (referred to as a reference block), and If the motion signal is stationary, the motion vector detection result for the block of interest is corrected to a vector indicating that the block is stationary (that is, a zero vector). By generating a prediction signal based on a motion vector that has undergone such correction (corrected motion vector), serious image quality deterioration in which the dirty window described above appears to move can be alleviated.

次に第2図を参照してこの発明の動ベクトル修
正方法をより具体体的に説明する。第2図a〜c
が参照ブロツクの配置例を示す図であり、図にお
いてXは注目ブロツク、A〜Pは参照ブロツクの
注目ブロツクXに対するテレビジヨン画面の位置
を示している。第2図aは注目ブロツクXと同一
フレーム内に、注目ブロツクXの左側と上側に参
照ブロツクA〜Dを配置した場合であり、第2図
bは注目ブロツクXと同一フレームのA〜D(第
2図aの場合と同一)と、注目ブロツクXの1フ
レーム時刻前のブロツクEと、空間的にEを囲む
F〜Mとを参照ブロツクとして配置した場合であ
り、第2図cは注目ブロツクXと同一フレーム内
に注目ブロツクXを囲む形で参照ブロツクA〜
D,N〜Rを配置した場合である。
Next, the motion vector correction method of the present invention will be explained in more detail with reference to FIG. Figure 2 a-c
is a diagram showing an example of the arrangement of reference blocks, in which X indicates the block of interest, and A to P indicate the positions of the reference block on the television screen with respect to the block of interest X. Fig. 2a shows the case where reference blocks A to D are arranged in the same frame as the block of interest X, on the left side and above the block of interest X, and Fig. 2b shows the case where reference blocks A to D (in the same frame as the block of interest X) are arranged. (same as in Figure 2a), block E one frame before the block of interest X, and F to M spatially surrounding E are placed as reference blocks; Reference blocks A~ surround the block of interest X in the same frame as block X.
This is a case where D, N to R are arranged.

この発明においてはたとえば第2図a〜cのよ
うに注目ブロツクXと時間的空間的な近傍に参照
ブロツクを定め、参照ブロツクの動ベクトルがす
べて零ベクトルである場合には注目ブロツクの動
ベクトル検出結果にかかわらず注目ブロツクXの
動ベクトルを零ベクトルに修正する。この様な修
正を行う理由は注目ブロツクXの時間的空間的近
傍にある参照ブロツクが静止している場合には、
テレビジヨン信号のもつ高い相関性により注目ブ
ロツクも静止している場合が非常に多いという事
情にもとづいている。なお注目ブロツクXの動ベ
クトルを零ベクトルに修正する際の修正論理とし
ては他の論理を用いることもできるが、これにつ
いては後述する。
In this invention, a reference block is determined in the temporal and spatial vicinity of the block of interest X, as shown in FIGS. Regardless of the result, the motion vector of the block of interest X is corrected to a zero vector. The reason for performing such a correction is that if a reference block in the temporal and spatial vicinity of the block of interest X is stationary,
This is based on the fact that the block of interest is often stationary due to the high correlation of television signals. Note that other logic may be used as the correction logic when correcting the motion vector of the block of interest X to a zero vector, but this will be described later.

以上述べた様な動ベクトルの修正を行えば本来
静止しているはずのブロツクが雑音等により動い
ていると判定されることを防止でき、前述したダ
ーテイウインドウが動いて見えるという重大な画
質劣化を軽減できるという大きな利点がある。
By correcting the motion vector as described above, it is possible to prevent blocks that are supposed to be stationary from being determined to be moving due to noise, etc., which can cause serious image quality deterioration such as the dirty window appearing to move as described above. It has the great advantage of being able to reduce

<実施例> 次に図面を参照してこの発明の実施例について
説明する。第3図はこの発明の動き補償フレーム
間符号化装置の構成を示すブロツク図である。第
3図においてはアナログ/デイジタル変換された
テレビジヨン信号(以下においては「TV信号」
と記する)が端子1に入力されるものとする。端
子1に入力されたTV信号は信号線2を介して遅
延回路3、動ベクトル検出器20に入力される。
遅延回路3は信号線4を介して出力される入力
TV信号と信号線15に出力される予測信号との
タイミングを減算器5において合わせるため、す
なわち前述した動ベクトル検出、動ベクトル修正
及び予測信号発生に要する時間を補正するために
用いられる。
<Example> Next, an example of the present invention will be described with reference to the drawings. FIG. 3 is a block diagram showing the configuration of a motion compensated interframe coding apparatus according to the present invention. In Figure 3, analog/digital converted television signals (hereinafter referred to as "TV signals") are shown.
) is input to terminal 1. A TV signal input to a terminal 1 is input to a delay circuit 3 and a motion vector detector 20 via a signal line 2.
Delay circuit 3 has an input output via signal line 4.
It is used to match the timing of the TV signal and the prediction signal output to the signal line 15 in the subtracter 5, that is, to correct the time required for the above-mentioned motion vector detection, motion vector correction, and prediction signal generation.

遅延回路3から信号線4により入力されるTV
信号は減算器5において、可変遅延回路14から
信号線15に出力される予測信号との差分がとら
れ、差信号すなわち予測誤差信号は信号線6によ
り量子化器7に入力されて量子化されて信号線8
を介して第1の符号器30及び加算器9に入力さ
れる。ここで第1の符号器30は量子化された予
測誤差信号を符号化、たとえば可変長符号化する
ものである。信号線8を介して加算器9に入力さ
れる量子化された予測誤差信号は、信号線15に
より入力される予測信号と加算されて局部復合さ
れ、信号線16を介してフレームメモリ10に書
き込まれ、次のフレームにおいて動ベクトル検出
及び予測信号の発生を行うために用いられる。
TV input from delay circuit 3 through signal line 4
The signal is subtracted by a subtracter 5 from the predicted signal output from the variable delay circuit 14 to the signal line 15, and the difference signal, that is, the prediction error signal, is input to the quantizer 7 via the signal line 6 and quantized. signal line 8
The signal is input to the first encoder 30 and the adder 9 via the encoder 30 and the adder 9. Here, the first encoder 30 encodes the quantized prediction error signal, for example, performs variable length encoding. The quantized prediction error signal input to the adder 9 via the signal line 8 is added to the prediction signal input via the signal line 15, locally decomposed, and written to the frame memory 10 via the signal line 16. This signal is used for motion vector detection and prediction signal generation in the next frame.

動ベクトル検出器20は信号線2により入力さ
れるTV信号と、信号線11よりフレームメモリ
10から入力されるおよそ1フレーム前のTV信
号とから動ベクトルを検出し、その動ベクトルを
信号線21に出力し、動ベクトル修正回路22に
供給する。なおここでフレームメモリ10より出
力されるおよそ1フレーム前の信号は動ベクトル
の縦方向の最大検出範囲を±M水平走査線/フレ
ームまでとし、ブロツクの縦方向のサイズをN水
平走査線とすると、(2M+N)水平走査線のTV
信号が並列に信号線11に出力される。また信号
線11のTV信号は遅延回路12に入力され、そ
の遅延出力が信号線13に出力されるが、信号線
13も(2M+N)水平走査線のTV信号の並列
出力となる。なお動ベクトル検出器20の構成に
ついてはたとえば前述の文献1に詳述されている
ので説明は省略する。
The motion vector detector 20 detects a motion vector from the TV signal inputted through the signal line 2 and the TV signal approximately one frame before inputted from the frame memory 10 via the signal line 11, and detects the motion vector from the TV signal inputted through the signal line 21. and supplies it to the motion vector correction circuit 22. Note that for the signal output from the frame memory 10 approximately one frame before, the maximum detection range in the vertical direction of the motion vector is ±M horizontal scanning lines/frame, and the vertical size of the block is N horizontal scanning lines. , (2M+N) horizontal scanning line TV
Signals are output to signal line 11 in parallel. Furthermore, the TV signal on the signal line 11 is input to the delay circuit 12, and its delayed output is output to the signal line 13, and the signal line 13 also outputs the TV signals of (2M+N) horizontal scanning lines in parallel. Note that the configuration of the motion vector detector 20 is detailed in, for example, the above-mentioned document 1, so a description thereof will be omitted.

動ベクトル修正回路22は前述した動ベクトル
修正の論理に基づいて動ベクトルの修正を行い修
正動ベクトルを信号線23に出力する。動ベクト
ル修正回路22の修正動作については後述する。
フレームメモリ10より出力されるおよそ1フレ
ーム前のTV信号は遅延回路12を経由して可変
遅延回路14に入力される。ここで遅延回路12
は動ベクトル検出回路20、動ベクトル修正回路
22が前述の修正動ベクトルを決定するのに必要
な時間を補償するために用いられる。
The motion vector modification circuit 22 modifies the motion vector based on the logic of motion vector modification described above and outputs the modified motion vector to the signal line 23. The correction operation of the motion vector correction circuit 22 will be described later.
The TV signal of approximately one frame before is output from the frame memory 10 and is input to the variable delay circuit 14 via the delay circuit 12. Here, the delay circuit 12
is used to compensate for the time required for the motion vector detection circuit 20 and the motion vector modification circuit 22 to determine the aforementioned modified motion vector.

可変遅延回路14は信号13により入力される
TV信号を、信号線23により入力される修正動
ベクトル信号に応じてシフトし、予測信号として
信号線15に出力する。この可変遅延回路14は
ランダムアクセス可能なメモリを用いて画像信号
を2次元的に記憶できるように構成されており、
修正動ベクトル信号に対応する前フレームの画像
信号が1画素ずつ順次読み出される。なおこの読
み出しと並行して遅延回路12により供給される
画像信号の書き込みが読み出し側とは独立のアド
レス指定により行われる。
The variable delay circuit 14 is input by the signal 13
The TV signal is shifted in accordance with the modified motion vector signal input through the signal line 23 and outputted to the signal line 15 as a predicted signal. This variable delay circuit 14 is configured to be able to store image signals two-dimensionally using randomly accessible memory,
The image signal of the previous frame corresponding to the modified motion vector signal is sequentially read out pixel by pixel. Note that in parallel with this readout, writing of the image signal supplied by the delay circuit 12 is performed by addressing independently from the readout side.

また修正動ベクトル信号は信号線23により第
2の符号器31に入力されて符号化、たとえば可
変長符号化されて信号線33に出力され、マルチ
プレクサ34において信号線32により入力され
る符号化された予測誤差信号と多重化されて信号
線35に出力され、伝送路37との速度整合を行
うためのバツフアメモリ36に書き込まれ、バツ
フアメモリ36に書き込まれた信号は伝送路37
の伝送速度で読み出されて伝送路37に送出され
る。
Further, the modified motion vector signal is inputted to the second encoder 31 via the signal line 23 and encoded, for example, variable length encoded, and outputted to the signal line 33. The prediction error signal is multiplexed with the predicted error signal and output to the signal line 35, and written to the buffer memory 36 for speed matching with the transmission line 37.
The data is read out at a transmission speed of 1 and sent to the transmission line 37.

<動ベクトル修正回路> 次に第4図を参照して動ベクトル修正回路22
の構成及び動作について説明する。信号線21に
より入力される動ベクトル信号は2値化回路72
及び遅延回路71に入力される。2値化回路72
は信号線21により入力される動ベクトルが零ベ
クトルである場合には信号値「0」を、そうでな
い場合には信号値「1」を信号線73を介してシ
フトレジスタ74に入力する。シフトレジスタ7
4の各出力、すなわち信号線77〜79の信号は
判定回路80に入力され、前述した動ベクトルの
修正を行うか否かを決定し、修正を行う場合には
信号値「0」を、行わない場合には信号値「1」
を信号線81に出力してゲート回路76に出力す
る。
<Movement Vector Correction Circuit> Next, referring to FIG. 4, the motion vector correction circuit 22
The configuration and operation of will be explained. The motion vector signal input through the signal line 21 is sent to the binarization circuit 72.
and is input to the delay circuit 71. Binarization circuit 72
inputs the signal value "0" to the shift register 74 via the signal line 73 if the motion vector inputted through the signal line 21 is a zero vector, and otherwise inputs the signal value "1" to the shift register 74. shift register 7
Each output of 4, that is, the signals of signal lines 77 to 79, is input to a determination circuit 80, which determines whether or not to modify the motion vector described above. If not, the signal value is “1”
is output to the signal line 81 and then to the gate circuit 76.

ここでシフトレジスタ74の出力信号の数はす
でに説明した参照ブロツクの個数に一致する。た
とえば第2図aのように参照ブロツクを定めた場
合においてはシフトレジスタ74の出力信号数は
4となる。この場合第2図aの参照ブロツクAに
対する2値化された動ベクトル信号(2値動ベク
トル信号)が信号線77に、参照ブロツクBに対
する2値動ベクトル信号が信号線78に、参照ブ
ロツクDに対する2値動ベクトル信号が信号線7
9に出力されることとなる。一方動ベクトル信号
は信号線21により遅延回路71にも入力され
る。ここで遅延回路71は動ベクトル修正に要す
る時間すなわち2値化回路72から判定回路80
に至る処理時間に相当する遅延量が必要とされ
る。遅延回路71から信号線75に出力された動
ベクトル信号はゲート回路76に入力される。ゲ
ート回路76は信号線81より信号値「0」が入
力されている場合には零ベクトルを示す信号を信
号線23に出力し、信号線81により信号値
「1」が入力されている場合には信号線75によ
り入力される動ベクトル信号をそのまま信号線2
3に出力する。以上の様にして動ベクトルの修正
が行われる。
Here, the number of output signals of the shift register 74 matches the number of reference blocks already described. For example, when the reference block is determined as shown in FIG. 2a, the number of output signals from the shift register 74 is four. In this case, the binarized motion vector signal (binary motion vector signal) for reference block A in FIG. The binary motion vector signal for
9 will be output. The one-way vector signal is also input to the delay circuit 71 via the signal line 21. Here, the delay circuit 71 determines the time required for motion vector correction, that is, from the binarization circuit 72 to the determination circuit 80.
A delay amount corresponding to the processing time required is required. The motion vector signal output from the delay circuit 71 to the signal line 75 is input to the gate circuit 76. The gate circuit 76 outputs a signal indicating a zero vector to the signal line 23 when a signal value "0" is input from the signal line 81, and outputs a signal indicating a zero vector to the signal line 23 when a signal value "1" is input from the signal line 81. The motion vector signal input through the signal line 75 is directly transmitted to the signal line 2.
Output to 3. The motion vector is corrected in the manner described above.

<変形例> 以上この発明を詳細に説明したが、この発明に
おいては動ベクトルの修正論理を以下の様に変更
しても第4図の判定回路80の論理を変更するの
みで実現することができる。
<Modification> Although this invention has been described in detail above, in this invention, even if the motion vector correction logic is changed as follows, it can be realized by simply changing the logic of the determination circuit 80 in FIG. can.

まず以上の説明においては例えば第2図a〜c
のように参照ブロツクを定め、参照ブロツクにお
いて検出された動ベクトルがすべて零ベクトルで
ある場合にのみ注目ブロツクXの動ベクトルを零
ベクトルに修正するものとして説明したが、参照
ブロツクの動ベクトルのうち零ベクトルの発生頻
度が大である場合に注目ブロツクXの動ベクトル
検出結果を零ベクトルに修正するという多数決論
理を用いることもできる。
First of all, in the above explanation, for example, FIGS.
In the above explanation, the motion vector of the target block X is corrected to a zero vector only when a reference block is determined as shown in FIG. It is also possible to use majority logic in which the motion vector detection result of the target block X is corrected to a zero vector when the frequency of occurrence of zero vectors is high.

またこの多数決論理の変形として参照ブロツク
相互における零ベクトルの時間的、空間的発生状
況をも考慮して注目ブロツクXの動ベクトル検出
結果を零ベクトルに修正するか否かを決定するこ
ともできる。たとえば参照ブロツクの配置を第2
図aの様に定めた場合において参照ブロツクA,
Bの動ベクトルが零ベクトルでなかつた時のよう
に参照ブロツクにおいて動き部分が連結している
場合においては、注目ブロツクXもこれに連結し
た動き部分である可能性が高いので注目ブロツク
Xの動ベクトルを修正しないという付加条件をつ
けることもできる。
Further, as a modification of this majority logic, it is also possible to decide whether or not to correct the motion vector detection result of the block of interest X to a zero vector, taking into account the temporal and spatial occurrence of zero vectors between reference blocks. For example, if you change the placement of the reference block to
In the case defined as in figure a, the reference block A,
In cases where the moving parts in the reference block are connected, such as when the motion vector of B is not a zero vector, there is a high possibility that the block of interest X is also a moving part connected to this, so the motion of the block of interest X is It is also possible to add an additional condition that the vector is not modified.

更に参照ブロツクの配置を第2図bの様に定め
たものとして、参照ブロツクE〜Mにおける動ベ
クトルにおいては零ベクトルの発生頻度が高い
が、参照ブロツクA〜Dにおいては非零ベクトル
が連結して発生している場合には、前フレームに
おいては静止していた画像が現フレームにおいて
動き始めた場合であることが多いので、注目ブロ
ツクXの動ベクトル検出結果を修正しないとする
こともできる。
Furthermore, assuming that the arrangement of the reference blocks is determined as shown in Fig. 2b, zero vectors occur frequently in the motion vectors in reference blocks E to M, but non-zero vectors are connected in reference blocks A to D. If this occurs, it is often the case that an image that was stationary in the previous frame starts moving in the current frame, so the motion vector detection result of the block of interest X may not be corrected.

また参照ブロツクの配置を第2図a〜cのよう
に限る必要は必ずしもなく参照ブロツクの数を増
やすことも可能である。その場合第4図のシフト
レジスタ74の出力タツプ数が増加する。
Further, it is not necessary to limit the arrangement of reference blocks as shown in FIGS. 2a to 2c, and it is also possible to increase the number of reference blocks. In that case, the number of output taps of shift register 74 in FIG. 4 increases.

以上説明した通りこの発明によれば動き補償フ
レーム間符号化のもつ欠点であるダーテイウイン
ドウが動いて見えるという重大な画質劣化を軽減
できるという効果を有する動き補償フレーム間符
号化装置を実現できる。
As explained above, according to the present invention, it is possible to realize a motion-compensated inter-frame encoding device that has the effect of reducing the serious deterioration in image quality, which is a disadvantage of motion-compensated inter-frame encoding, in which dirty windows appear to move.

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

第1図は動き補償フレーム間符号化方式を説明
するための図、第2図は参照ブロツクの配置例を
示す図、第3図はこの発明の動き補償フレーム間
符号化装置の構成を示すブロツク図、第4図は動
ベクトル修正回路22の構成を示すブロツク図で
ある。 1……テレビジヨン信号入力端子、3,12…
…遅延回路、5……減算器、7……量子化器、9
……加算器、10……フレームメモリ、14……
可変遅延回路、20……動ベクトル検出器、22
……動ベクトル修正回路、30,31……符号
器、34……マルチプレクサ、36……バツフア
メモリ、71……遅延回路、72……2値化回
路、74……シフトレジスタ、76……ゲート回
路、80……判定回路。
FIG. 1 is a diagram for explaining the motion compensated interframe coding method, FIG. 2 is a diagram showing an example of the arrangement of reference blocks, and FIG. 3 is a block diagram showing the configuration of the motion compensated interframe encoding device of the present invention. 4 are block diagrams showing the configuration of the motion vector correction circuit 22. 1... Television signal input terminal, 3, 12...
...Delay circuit, 5...Subtractor, 7...Quantizer, 9
... Adder, 10 ... Frame memory, 14 ...
Variable delay circuit, 20... Motion vector detector, 22
... Motion vector correction circuit, 30, 31 ... Encoder, 34 ... Multiplexer, 36 ... Buffer memory, 71 ... Delay circuit, 72 ... Binarization circuit, 74 ... Shift register, 76 ... Gate circuit , 80...determination circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 入力テレビジヨン信号の1フレームを複数個
のブロツクに分割し、その個々のブロツクについ
てテレビジヨン画像の動きである動ベクトルを検
出し、前記画像の動きを補償した予測信号を発生
し、前記入力テレビジヨン信号を予測符号化する
動き補償フレーム間符号化装置において、前記入
力テレビジヨン信号のブロツクについて動ベクト
ルを検出する手段と、当該ブロツクと時間的空間
的に近傍にあるブロツクについて検出された動ベ
クトルのうち画像が静止していることを示す動ベ
クトルの発生頻度が大である時当該ブロツクに対
する動ベクトルをそのベクトル値の如何にかかわ
らず静止していることを示す動ベクトルに修正す
る動ベクトル修正手段と、前記修正手段の出力で
ある修正動ベクトルにもとづいて予測信号を発生
し、前記入力テレビジヨン信号を予測符号化する
手段とを備えたことを特徴とする動き補償フレー
ム間符号化装置。
1 Divide one frame of the input television signal into a plurality of blocks, detect a motion vector representing the motion of the television image for each block, generate a prediction signal that compensates for the motion of the image, and In a motion compensated interframe coding device for predictively coding a television signal, there is provided a means for detecting a motion vector for a block of the input television signal, and a means for detecting a motion vector for a block temporally and spatially adjacent to the block. When a motion vector indicating that the image is stationary among the vectors occurs frequently, a motion vector that corrects the motion vector for the block to a motion vector indicating that the image is stationary regardless of its vector value. A motion compensated interframe coding device comprising: a correction means; and a means for generating a predictive signal based on a corrected motion vector that is an output of the correction means, and predictively coding the input television signal. .
JP56215026A 1981-12-28 1981-12-28 Encoder for dynamic compensation frame Granted JPS58115990A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56215026A JPS58115990A (en) 1981-12-28 1981-12-28 Encoder for dynamic compensation frame

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56215026A JPS58115990A (en) 1981-12-28 1981-12-28 Encoder for dynamic compensation frame

Publications (2)

Publication Number Publication Date
JPS58115990A JPS58115990A (en) 1983-07-09
JPH047152B2 true JPH047152B2 (en) 1992-02-10

Family

ID=16665505

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56215026A Granted JPS58115990A (en) 1981-12-28 1981-12-28 Encoder for dynamic compensation frame

Country Status (1)

Country Link
JP (1) JPS58115990A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6171786A (en) * 1984-09-17 1986-04-12 Nec Corp Movement separator of animation signal
JPS61140291A (en) * 1984-12-12 1986-06-27 Nec Corp Dynamic/static separator of animation picture signal
JP2501185B2 (en) * 1985-06-28 1996-05-29 日本電気株式会社 Motion compensation coding system
JP2507300B2 (en) * 1985-06-10 1996-06-12 日本電気株式会社 Motion compensation coding method and apparatus thereof
JPS6253584A (en) * 1985-09-03 1987-03-09 Kokusai Denshin Denwa Co Ltd <Kdd> Detecting system for moving volume of moving image

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56109085A (en) * 1980-01-31 1981-08-29 Nec Corp Decoder for adaptive prediction for picture signal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56109085A (en) * 1980-01-31 1981-08-29 Nec Corp Decoder for adaptive prediction for picture signal

Also Published As

Publication number Publication date
JPS58115990A (en) 1983-07-09

Similar Documents

Publication Publication Date Title
KR100261072B1 (en) Digital signal processing system
US4546386A (en) Adaptive predictive coding system for television signals
JPH03117992A (en) Coding and transmitting apparatus of video signal with motion vector
JP2005318620A (en) Motion vector detection employing adaptive temporal prediction
JPH0870460A (en) Movement compensation type coding method adapted to magnitude of movement,and its device
JPS58197984A (en) Adaptive forecasting encoding device of television signal
US4488175A (en) DPCM Video signal processing technique with spatial subsampling
JPH0418509B2 (en)
JPS61118085A (en) Coding system and device for picture signal
KR0154921B1 (en) Motion estimation device of video encoding apparatus
JPS58137379A (en) Interframe/interfield encoding device with motion compensation
JPH0458756B2 (en)
JPH047152B2 (en)
KR0166729B1 (en) Motion detection circuit and method by using space correlation
JPS6351632B2 (en)
JPH0546155B2 (en)
KR0126662B1 (en) Moving-image signal encoding apparatus
KR100269882B1 (en) Image coding and decoding method and related apparatus
JP2923875B2 (en) Video encoding device
JPH0730859A (en) Frame interpolation device
JPH05103313A (en) Method and device for processing picture information
KR100213287B1 (en) Apparatus for compensating error in image decoder
JP4223577B2 (en) Image coding apparatus and method thereof, and image decoding apparatus and method thereof
JPH037191B2 (en)
JPH0399591A (en) Moving compensation inter-frame encoder