JPS623583A - Encoding system for motion compensation - Google Patents

Encoding system for motion compensation

Info

Publication number
JPS623583A
JPS623583A JP14227085A JP14227085A JPS623583A JP S623583 A JPS623583 A JP S623583A JP 14227085 A JP14227085 A JP 14227085A JP 14227085 A JP14227085 A JP 14227085A JP S623583 A JPS623583 A JP S623583A
Authority
JP
Japan
Prior art keywords
scene change
motion
signal
vector
detector
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
JP14227085A
Other languages
Japanese (ja)
Other versions
JP2501185B2 (en
Inventor
Junichi Oki
淳一 大木
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 JP60142270A priority Critical patent/JP2501185B2/en
Priority to AU58303/86A priority patent/AU579550B2/en
Priority to EP86107593A priority patent/EP0205091B1/en
Priority to DE8686107593T priority patent/DE3688343T2/en
Priority to CA000511082A priority patent/CA1254652A/en
Priority to US06/872,780 priority patent/US4689673A/en
Publication of JPS623583A publication Critical patent/JPS623583A/en
Application granted granted Critical
Publication of JP2501185B2 publication Critical patent/JP2501185B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the deterioration in picture quality and to perform encoding of high compressibility by detecting a scene change in which the content of a screen is remarkably changed and no correlation of the screen exists, and setting a motion vector which represents a motion at a regulated value when the scene change is detected. CONSTITUTION:A delay circuit 1 delays and adjusts an inputted animation signal 101 and supplies it to a vector detector 3 and a subtractor 4. The vector detector 3 detects a motion vector 103 which represents the motion from the animation signal supplied from the delay circuit 1 and supplies it to a variable delay frame memory 7 and a variable length encoder 8. Also, when the scene change is generated, the vector detector 3, corresponding to a scene change signal 102 supplied from a scene change detector 2, sets the motion vector 103 at a regulated value regulated in advance, for example, zero and performs actually an inter-frame estimation. Therefore, it is evaded that the motion compensation is performed by an erroneous motion vector and excessive information is generated.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、動画像信号の符号化方式、特に動き補償を用
いたフレーム間符号化方式(通常、動き補償符号化方式
と略称されるので、以下この略称を用いる)に関する。
Detailed Description of the Invention (Field of Industrial Application) The present invention relates to a video signal encoding method, particularly an interframe encoding method using motion compensation (usually abbreviated as motion compensation encoding method). (hereinafter this abbreviation will be used).

(従来技術とその問題点) 動画像が時間軸上である画面から次の画面に変わり、し
かもそれら両側面相互間に内容の大幅な相違があるとき
、その画面の変化をシーンチェンジという。シーンチェ
ンジはカメラの切り替わりにより通常起こるが、必ずし
もカメラの切り替わりだけで発生するものではない。従
来、動画像信号を動き補償符号化を用いて符号化した場
合にシーンチェンジが発生したとすると、画面間の相関
がなくなるから、動きを示す信号が実際の動き方向に集
中せず、いろいろな方向に分散してしまいこの動きを表
わす情報が増加し、符号化能率が低下していた。
(Prior art and its problems) When a moving image changes from one screen to the next on the time axis, and there is a significant difference in content between the two sides, the change in screen is called a scene change. A scene change usually occurs due to a camera change, but it does not necessarily occur solely due to a camera change. Conventionally, if a scene change occurs when a video signal is encoded using motion compensation encoding, the correlation between the frames disappears, so the signals indicating motion are not concentrated in the actual direction of motion, and various signals are generated. The amount of information representing this movement is increased because it is dispersed in the direction, and the encoding efficiency is reduced.

そこで、本発明の目的は、シーンチェンジ時の過剰な情
報の発生を抑え画質劣化を少なくした動き補償符号化方
式の提供にある。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a motion compensation encoding method that suppresses the generation of excessive information during scene changes and reduces image quality deterioration.

(問題点を解決するための手段) 前述の問題点を解決するために本発明が提供する動き補
償符号化方式は、フレーム間相関を利用して動画像信号
の動き補償フレーム間符号化を行なうにあたり、前記フ
レーム間で画像の内容が犬幅に変化するシーンチェンジ
が検出きれたときには、動き補償における動きを示す信
号を予め定めた値にすることを特徴とする。
(Means for Solving the Problems) In order to solve the above-mentioned problems, the motion compensation encoding method provided by the present invention performs motion compensation interframe encoding of a moving image signal using interframe correlation. The present invention is characterized in that when a scene change in which the content of the image changes to a dog's width between the frames is successfully detected, a signal indicating motion in motion compensation is set to a predetermined value.

(発明の原理) 第1図は本発明の動き補償符号化方式の原理的な構成を
示す図であり、第2図は第1図方式の各部信号の時間関
係を示す図である。従来の動き補償符号化方式では、シ
ーンチェンジが発生すると現画面と前画面の相関がなく
なってしまうから、実際の動きに対応しない誤った動ベ
クトル(動きを示す信号)を検出して動き補償を行なう
。このように誤った動ベクトルにより動き補償を行なう
と、発生する情報量が過剰になり、画質を劣化させる。
(Principle of the Invention) FIG. 1 is a diagram showing the basic structure of the motion compensation encoding method of the present invention, and FIG. 2 is a diagram showing the time relationship of each part signal of the method shown in FIG. In conventional motion compensation encoding methods, when a scene change occurs, the correlation between the current screen and the previous screen disappears, so motion compensation is performed by detecting erroneous motion vectors (signals indicating motion) that do not correspond to actual motion. Let's do it. If motion compensation is performed using an incorrect motion vector in this way, an excessive amount of information will be generated and the image quality will deteriorate.

第2図のA、B、C,D、Eはそれぞれ入力動画像信号
101のフレームを示す。たとえば、入力動画像信号1
01フレームCにおいてシーンチェンジが発生したとす
る。シーンチェンジは従来から知られている方法で検出
できる。例えば、宮原による論文1帯域圧縮を対象とし
たフレーム差信号特性の実測と検討」(信学論(A)、
Vol、 56−A 、 No、 8 、 PP、 4
56−463 、1973年8月)に記載の方法が本発
明に利用できる。この方法では、有意なフレーム間差分
の数と、この数のフレーム間相関を求めることによりシ
ーンチェンジを検出する。
A, B, C, D, and E in FIG. 2 indicate frames of the input moving image signal 101, respectively. For example, input video signal 1
Assume that a scene change occurs in 01 frame C. Scene changes can be detected using conventionally known methods. For example, see Miyahara's paper "Actual measurement and study of frame difference signal characteristics for one-band compression" (IEICE Theory (A),
Vol, 56-A, No. 8, PP, 4
56-463, August 1973) can be used in the present invention. In this method, a scene change is detected by determining the number of significant inter-frame differences and the inter-frame correlation of this number.

第1図のシーンチェンジ検出器2は、入力動画像信号1
01のうちのシーンチェンジが発生したフレームCが入
って来たときにシーンチェンジを検出し、第2図に示す
ようにシーンチェンジロ号102をたとえばレベル“1
”に設定しベクトル検出器3に与える。ベクトル検出器
3は、通常のフレームA、B、C,D、Eでは入力動画
像信号101から動ベクトル鬼を検出して出力するが、
シーンチェンジが発生してシーンチェンジ信号102が
′1”になったときには、ある定められた一定の値マX
たとえばゼロを出力し、これらの動ベクトルを用いて動
き補償フレーム間予測符号化を機能ブロック20で実行
する0本発明では、このようにして、シーンチェンジ時
に検出した画面内の実際の動きとは対応しない動ベクト
ルにより動き補償を行なったならば発生するであろう過
剰な情報を抑えるために、シーンチェンジ時には動ベク
トルを一定値にし、画質の劣化を防ぎ、高い圧縮率の符
号化を可能にしている。
The scene change detector 2 in FIG.
The scene change is detected when the frame C in which the scene change occurs in 01 comes in, and the scene changero No. 102 is set to the level "1", for example, as shown in FIG.
” and feed it to the vector detector 3. The vector detector 3 detects and outputs a motion vector from the input video signal 101 in normal frames A, B, C, D, and E.
When a scene change occurs and the scene change signal 102 becomes '1', a certain fixed value Ma
For example, in the present invention, the function block 20 outputs zero and uses these motion vectors to perform motion compensated interframe predictive coding. In order to suppress excessive information that would occur if motion compensation was performed using uncorresponding motion vectors, the motion vectors are set to a constant value during scene changes, which prevents deterioration of image quality and enables high compression rate encoding. ing.

(実施例) 次に実施例を挙げ本発明を一層詳しく説明する。(Example) Next, the present invention will be explained in more detail with reference to Examples.

第3図は本発明の一実施例を示すブロック図、第4図は
第3図実施例により符号化した信号を復号する復号器の
一具体例のブロック図である。第3図実施例は、動画像
信号を入力し、動き補償によりフレーム間を符号化した
可変長符号化信号を伝送路に送出する符号器である。ま
ず、第3図実施例を説明する。
FIG. 3 is a block diagram showing an embodiment of the present invention, and FIG. 4 is a block diagram of a specific example of a decoder that decodes a signal encoded by the embodiment of FIG. The embodiment shown in FIG. 3 is an encoder which inputs a moving image signal and sends a variable length encoded signal, which is encoded between frames by motion compensation, to a transmission path. First, the embodiment shown in FIG. 3 will be explained.

本実施例では、入力の動画像信号101は遅延回路1お
よびシーンチェンジ検出器2に供給される。シーンチェ
ンジ検出器2は、入力の動画像信号101にシーンチェ
ンジが発生したときには、このシーンチェンジを検出し
シーンチェンジ信号102としてベクトル検出器3に供
給する。遅延回路1は、入力の動画像信号101を遅延
調整し、ベクトル検出器3および減算器4に供給する。
In this embodiment, an input moving image signal 101 is supplied to a delay circuit 1 and a scene change detector 2. When a scene change occurs in the input moving image signal 101, the scene change detector 2 detects this scene change and supplies it to the vector detector 3 as a scene change signal 102. The delay circuit 1 delays and adjusts the input moving image signal 101 and supplies it to the vector detector 3 and the subtracter 4 .

ベクトル検出器3は、遅延回路1から供給される動画像
信号101bから動きを示す動ベクトル103を検出し
、可変遅延フレームメモリー7および可変長符号器8に
供給する。またシーンチェンジが発生したときには、シ
ーンチェンジ検出器2から供給されるシーンチェンジ信
号102に対応して、ベクトル検出器3は、動ベクトル
103を予め定めた一定の値、たとえばゼロにする。こ
のようにシーンチェンジが発生したときには動ベクトル
103をゼロにして実質的にはフレーム間予測を行なう
。したがって、本実施例では、誤った動ベクトルによっ
て動き補償を行ttい過剰な情報を発生してしまうとい
う従来方式の問題点が解決きれている。減算器4は、遅
延回路1から供給きれた動画像信号101aと可変遅延
フレームメモリー7から供給される予測信号107との
減算を行ない、予測誤差信号104を量子化器5に供給
する。量子化器5は、予測誤差侶号104を量子化して
加算器6および可変長符号器8に供給する。加算器6は
、量子化された予測誤差信号105と可変遅延フレーム
メモリー7から供給される予測信号107とを加算し、
局部複合信号106を得る。可変遅延フレームメモリー
7は、局部復号信号106と動ベクトル103とから動
き補償を行ない、予測信号107を発生し、予測信号1
07を減算器4および加算器6に供給する。可変長符号
器8は、量子化器5から供給された量子化した予測誤差
信号105とベクトル検出器3から供給きれた動ベクト
ル103とを、ハフマン符号などの能率のよい符号を用
いて可変長符号化した後、伝送路の速度との整合をとり
、符号器出力の可変長符号化信号108として伝送路に
出力する。 つぎに、第3図実w1例の出力の可変長符
号化信号を復号する復号器を第4図を参照して説明をす
る。本図の回路において、可変長復号器9は、まず可変
長符号化された信号108の入力速度と復号化の速度と
の整合を行ない、その後で可変長符号化されている予測
誤差信号と動ベクトルとを可変長符号化し、予測誤差信
号109aを加算器10に、また可変長符号化した動ベ
クトル109bを可変遅延フレームメモリー11に供給
する。加算器10は、可変長復号器9から供給芒れた予
測誤差信号!09aと可変遅延フレームメモリー11か
ら供給される予測信号111とを加算し、もとの動画像
信号110を復号する。復号きれた動画像信号110は
、復号器出力として出力されると同時に、可変遅延フレ
ームメモリー11にも供給される。可変遅延フレームメ
モリー11は、加算器10から供給された動画像信号1
10を用い可変長復号器9から供給された動ベクトル1
09bにより動き補償を行ない、出力として予測信号1
11を得て、加算器10に供給する。
The vector detector 3 detects a motion vector 103 indicating motion from the video signal 101b supplied from the delay circuit 1 and supplies it to the variable delay frame memory 7 and the variable length encoder 8. Further, when a scene change occurs, the vector detector 3 sets the motion vector 103 to a predetermined constant value, for example, zero, in response to the scene change signal 102 supplied from the scene change detector 2. When a scene change occurs in this manner, the motion vector 103 is set to zero and interframe prediction is essentially performed. Therefore, in this embodiment, the problem of the conventional method in which motion compensation is performed due to an incorrect motion vector and excessive information is generated can be solved. The subtracter 4 subtracts the moving image signal 101a completely supplied from the delay circuit 1 and the prediction signal 107 supplied from the variable delay frame memory 7, and supplies a prediction error signal 104 to the quantizer 5. The quantizer 5 quantizes the prediction error signal 104 and supplies it to the adder 6 and the variable length encoder 8. The adder 6 adds the quantized prediction error signal 105 and the prediction signal 107 supplied from the variable delay frame memory 7,
A local composite signal 106 is obtained. The variable delay frame memory 7 performs motion compensation from the locally decoded signal 106 and the motion vector 103, generates a predicted signal 107, and generates a predicted signal 1
07 is supplied to the subtracter 4 and adder 6. The variable length encoder 8 converts the quantized prediction error signal 105 supplied from the quantizer 5 and the motion vector 103 supplied from the vector detector 3 into variable length codes using efficient codes such as Huffman codes. After encoding, it is matched with the speed of the transmission path and output to the transmission path as a variable length encoded signal 108 output from the encoder. Next, a decoder for decoding the output variable length encoded signal of the example w1 in FIG. 3 will be explained with reference to FIG. 4. In the circuit shown in the figure, the variable-length decoder 9 first matches the input speed of the variable-length coded signal 108 with the decoding speed, and then adjusts the input speed of the variable-length coded signal 108 to the variable-length coded prediction error signal. The prediction error signal 109a is supplied to the adder 10, and the variable-length encoded motion vector 109b is supplied to the variable delay frame memory 11. The adder 10 receives the prediction error signal supplied from the variable length decoder 9! 09a and the prediction signal 111 supplied from the variable delay frame memory 11, and the original moving image signal 110 is decoded. The decoded moving image signal 110 is output as a decoder output and is also supplied to the variable delay frame memory 11 at the same time. The variable delay frame memory 11 receives the moving image signal 1 supplied from the adder 10.
The motion vector 1 supplied from the variable length decoder 9 using 10
09b performs motion compensation, and the predicted signal 1 is output as the output.
11 is obtained and supplied to the adder 10.

(発明の効果) 以上詳しく説明したように、本発明では、動き補償フレ
ーム間符号化において、画面の内容が大幅に変化し画面
相関が無いシーンチェンジを検出し、シーンチェンジが
検出されたときには、動きを示す動ベクトルをある定め
られた一定の値にする。このようにシーンチェンジがあ
ったときに勤ベクトルを一定にすることにより、画面相
関が無い画像信号から検出した誤った動ベクトルにより
動き補償を行ない過剰な情報が発生するという従来方式
の問題点が本発明では解決きれた。そこで、本発明の方
式によれば、画質の劣化を少なくし圧縮率の高い符号化
を行なうことができる。このように本発明を実用に供す
るとその効果はきわめて大きい。
(Effects of the Invention) As described in detail above, in the present invention, in motion compensated interframe coding, a scene change in which the screen content changes significantly and there is no screen correlation is detected, and when a scene change is detected, A motion vector indicating movement is set to a certain fixed value. By keeping the motion vector constant when there is a scene change in this way, the problem with conventional methods is that motion compensation is performed using incorrect motion vectors detected from image signals with no screen correlation, resulting in excessive information being generated. The present invention has solved this problem. Therefore, according to the method of the present invention, it is possible to perform encoding with a high compression ratio while minimizing deterioration in image quality. When the present invention is put to practical use in this way, its effects are extremely large.

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

第1図は本発明の動き補償符号化方式の原理的な構成を
示す図、第2図は第1図方式の各部信号の時間関係を示
す図、第3図は本発明の一実施例を示すブロック図、第
4図は第3図実施例により符号化した信号を復号する復
号器の一具体例のブロック図である。 1・・・遅延回路、2・・・シーンチェンジ検出器、3
・・・ベクトル検出器、4・・・R算器、5・・・量子
化器、6・・・加算器、7・・・可変遅延フレームメモ
リー、8・・・可変長符号器、9・・・可変長復号器、
10・−・加算器、11・・・可変遅延フレームメモリ
ー。 代理人弁理士  本 庄 伸 介 第4図 kJs器
FIG. 1 is a diagram showing the basic configuration of the motion compensation coding method of the present invention, FIG. 2 is a diagram showing the time relationship of each part of the signal in the method shown in FIG. 1, and FIG. 3 is a diagram showing an embodiment of the present invention. The block diagram shown in FIG. 4 is a block diagram of a specific example of a decoder that decodes a signal encoded according to the embodiment of FIG. 3. 1...Delay circuit, 2...Scene change detector, 3
...Vector detector, 4...R calculator, 5...Quantizer, 6...Adder, 7...Variable delay frame memory, 8...Variable length encoder, 9...・Variable length decoder,
10...Adder, 11...Variable delay frame memory. Representative patent attorney Shinsuke Honjo Figure 4 kJs device

Claims (1)

【特許請求の範囲】[Claims] フレーム間相関を利用して動画像信号の動き補償フレー
ム間符号化を行なうにあたり、前記フレーム間で画像の
内容が大幅に変化するシーンチェンジが検出されたとき
には、動き補償における動きを示す信号を予め定めた値
にすることを特徴とする動き補償符号化方式。
When performing motion-compensated inter-frame encoding of a video signal using inter-frame correlation, when a scene change in which the image content changes significantly between frames is detected, a signal indicating motion for motion compensation is A motion compensation encoding method characterized by using a predetermined value.
JP60142270A 1985-06-10 1985-06-28 Motion compensation coding system Expired - Lifetime JP2501185B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP60142270A JP2501185B2 (en) 1985-06-28 1985-06-28 Motion compensation coding system
AU58303/86A AU579550B2 (en) 1985-06-10 1986-06-03 Movement compensation predictive encoder for a moving picture signal with a reduced amount of information
EP86107593A EP0205091B1 (en) 1985-06-10 1986-06-04 Movement compensation predictive encoder for a moving picture signal with a reduced amount of information
DE8686107593T DE3688343T2 (en) 1985-06-10 1986-06-04 MOTION COMPENSATED PREDICTIVE CODER FOR A SIGNAL OF A MOVING IMAGE WITH A REDUCED QUANTITY OF INFORMATION.
CA000511082A CA1254652A (en) 1985-06-10 1986-06-09 Movement compensation predictive encoder for a moving picture signal with a reduced amount of information
US06/872,780 US4689673A (en) 1985-06-10 1986-06-10 Movement compensation predictive encoder for a moving picture signal with a reduced amount of information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60142270A JP2501185B2 (en) 1985-06-28 1985-06-28 Motion compensation coding system

Publications (2)

Publication Number Publication Date
JPS623583A true JPS623583A (en) 1987-01-09
JP2501185B2 JP2501185B2 (en) 1996-05-29

Family

ID=15311448

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60142270A Expired - Lifetime JP2501185B2 (en) 1985-06-10 1985-06-28 Motion compensation coding system

Country Status (1)

Country Link
JP (1) JP2501185B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5885684A (en) * 1981-11-18 1983-05-23 Nec Corp Forecasting encoding device of television signal
JPS58107785A (en) * 1981-12-21 1983-06-27 Nec Corp Encoder between movement compensation frames
JPS58115990A (en) * 1981-12-28 1983-07-09 Nec Corp Encoder for dynamic compensation frame

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5885684A (en) * 1981-11-18 1983-05-23 Nec Corp Forecasting encoding device of television signal
JPS58107785A (en) * 1981-12-21 1983-06-27 Nec Corp Encoder between movement compensation frames
JPS58115990A (en) * 1981-12-28 1983-07-09 Nec Corp Encoder for dynamic compensation frame

Also Published As

Publication number Publication date
JP2501185B2 (en) 1996-05-29

Similar Documents

Publication Publication Date Title
KR950011199B1 (en) Progressive coding system
JP2699703B2 (en) Motion compensation prediction method and image signal encoding method using the same
US20050002458A1 (en) Spatial scalable compression
JPH05137131A (en) Inter-frame motion predicting method
JPH03190482A (en) Moving picture coder
JPH07112284B2 (en) Predictive encoding device and decoding device
JPH0564177A (en) Picture encoder
KR100202538B1 (en) Mpeg video codec
US20070025438A1 (en) Elastic storage
KR100226563B1 (en) Motion picture data decoding system
JP2000059792A (en) High efficiency encoding device of dynamic image signal
JP2614212B2 (en) Image signal encoding method and apparatus
JP2507300B2 (en) Motion compensation coding method and apparatus thereof
JPS623583A (en) Encoding system for motion compensation
JPH0546155B2 (en)
JPS61164390A (en) Adaptive forecast coding device of inter-frame and between frames of animation picture signal
JPH02171092A (en) Inter-frame coding decoding system
JPH0646412A (en) Animation image predictive coding/decoding method
JPH10155154A (en) Moving image coder and moving image decoder
JPS61214885A (en) Coding and decoding device for animating picture signal
JPS6285588A (en) System and device for encoding moving picture signal
JP2910388B2 (en) Encoding device
JPH06296276A (en) Pre-processor for motion compensation prediction encoding device
JP3340901B2 (en) Video coding method determining apparatus
JPH04297195A (en) Dynamic image encoding device