JPS6285588A - System and device for encoding moving picture signal - Google Patents

System and device for encoding moving picture signal

Info

Publication number
JPS6285588A
JPS6285588A JP60226248A JP22624885A JPS6285588A JP S6285588 A JPS6285588 A JP S6285588A JP 60226248 A JP60226248 A JP 60226248A JP 22624885 A JP22624885 A JP 22624885A JP S6285588 A JPS6285588 A JP S6285588A
Authority
JP
Japan
Prior art keywords
signal
output
dynamic range
encoding
generating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP60226248A
Other languages
Japanese (ja)
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 JP60226248A priority Critical patent/JPS6285588A/en
Publication of JPS6285588A publication Critical patent/JPS6285588A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/004Predictors, e.g. intraframe, interframe coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To correct an unnatural screen at the time of changing a scene by evaluating a change in the contents of a picture between screens and controlling the dynamic range of an output from a quantizer. CONSTITUTION:When picture contents between screens substantially change to detect a scene change in terms of an input moving picture signal, a scene change detector 1 supplies a detection signal to the quantizier 3. A subtractor 2 subtracts the input moving picture signal from a forecast signal out of a frame memory 5 and supplies a difference signal to the quantizer 3. When a scene change signal is given to the quantizer 3, it makes the maximum value of the amplitude of an output smaller, then larger slightly, changes it into a normal value and supplies it to an adder and a variable length encoder 6. The adder 4 reproduces a partial encoding signal with the aid of the difference signal and the forecast signal, and gives said encoding signal to the memory 5. The encoder 6 encodes the given signal into a variable length code through the use of Huffman code, fits the code to a transmission line and transmits the code.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、動画像信号の符号化方式およびその装置に廚
する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a video signal encoding method and an apparatus thereof.

(従来の技術) 通常、画面間相関を用いたフレーム間符号化では、第2
図に示すようにフレーム間符号5xoooの出力を可変
長符号器6で可変長符号化し、可変長符号器6における
可変長符号の出力速度と伝送路の速度との整合を行なう
バッファメモリーに一旦蓄えられる。しかるに、画面内
容が大幅に変化する場合には、画面間の相関を利用した
符号化においては大位の情報が発生する。従来のフレー
ム間符号器においては情報の発生が多くバッファメモリ
ーがオーバーフローしそうなときには、ストツブブイ言
号をフレーム間符号器に与え、符号化を停止させていた
(Prior art) Usually, in interframe encoding using interframe correlation, the second
As shown in the figure, the output of the interframe code 5xooo is variable-length encoded by a variable-length encoder 6, and is temporarily stored in a buffer memory that matches the output speed of the variable-length code in the variable-length encoder 6 with the speed of the transmission path. It will be done. However, when the screen content changes significantly, a large amount of information is generated in encoding using the correlation between screens. In conventional interframe encoders, when a large amount of information is generated and the buffer memory is about to overflow, a stop message is given to the interframe encoder to stop encoding.

(発明が解決しようとする問題点) 従来の画面間相関を用いたフレーム間符号化においては
、画面内容が大幅に変化するとき(以下ではこれをシー
ンチェンジと呼ぶことにする)過大な情報が発生し、バ
ッファメモリーがオーバーフローしそうなときには、た
とえ画面の中途であっても符号化を停止していたため前
の画面と符号化途中の新しい画面が不自然に一画面内に
て重なって見えたりあるいは動画像の動きが不連続にな
り紙芝居的な動きになることが、あり非常に目障りであ
った。本発明は、シーンチェンジ時においても、このよ
うな不自然な画面を提示しなくてもすむ動画像信号の符
号化方式およびその装置を提供することを目的とする。
(Problems to be Solved by the Invention) In conventional interframe encoding using interframe correlation, excessive information is generated when the screen content changes significantly (hereinafter referred to as a scene change). When this occurs and the buffer memory is about to overflow, encoding is stopped even if the screen is halfway through, so the previous screen and the new screen that is being encoded may appear unnaturally overlapped within one screen, or The movement of the moving image becomes discontinuous, resulting in a picture-story show-like movement, which is very annoying to the eyes. SUMMARY OF THE INVENTION An object of the present invention is to provide a video signal encoding method and an apparatus therefor, which eliminates the need to present such an unnatural screen even when a scene changes.

(問題点を解決するための手段) 本発明によれば動画像信号を予測符号化あるいは変換符
号化を行なうにあたり、画面間での画像内容の変化を評
価し、画面間で画像内容が大幅に変化していると判定さ
れたときには、予測誤差あるいは変換係数に対する量子
化器の出力のダイナミックレンジを小さく制限し、時間
をかけて徐々にこれを拡大し予め定められた本来のダイ
ナミックレンジに復帰することを特徴とする動画像信号
の符号化方式が得られる。
(Means for Solving the Problem) According to the present invention, when performing predictive encoding or transform encoding of a moving image signal, changes in image content between screens are evaluated, and the image content changes significantly between screens. When it is determined that a change has occurred, the dynamic range of the quantizer output for the prediction error or transform coefficient is limited to a small value, and this is gradually expanded over time to return to the predetermined original dynamic range. A video signal encoding method characterized by the following is obtained.

また、本発明によれば入力の動画像信号を予測符号化す
る装置であって、画面間で画像の内容に大幅な変化が発
生したか否かを評価する手段、前記入力信号と予測信号
との、差分信号を発生する手段、該差分信号を量子化す
る手段、該量子化を行なうにあたり、前記評価手段の出
力が画面内容の大幅な変化があったことを示していると
きには、一旦量子化出力のダイナミックレンジを小さく
制限し、時間をかけて徐々に前言己出力のダイナミック
レンジを拡大し予め定められた本来のダイナミックレン
ジに復帰させる縫子化制御手段、前記量子化手段の出力
と前記予測信号とにより局部復号信号を発生する手段、
該局部復号信号を用いて前記予測信号をを発生する手段
、前記量子化手段の出力を可変長符号化する手段、とを
具備することを特徴とする動画像信号の符号化装置が得
られる。さらには、本発明によれば入力の動画像信号を
変換符号化を用いて符号化する符号化装置であって、画
面間で画像の内容に大幅な変化が発生したか否かを評価
する手段、前記入力信号と予測信号との、差分信号を発
生する手段、該差分信号に対して直交変換を行なう手段
、前記直交変換手段の出力を量子化する手段、該量子化
を行なうにあたり、前記評価手段の出力が画面内容の大
幅な変化があったことを示しているときには、一旦址子
化出力のダイナミックレンジを小さく制限し、時間をか
けて徐々に出力のダイナミックレンジを拡大し予め定め
られた本来のダイナミックレンジに復帰させる縫子化制
御手段、前記量子化手段の出力を直交逆変換する手段、
該直交逆変換する手段の出力と前記予測信号とにより局
部復号信号を発生する手段、該局部復号信号を用いて前
記予測信号を発生する手段、前記量子化手段の出力を可
変長符号化する手段、とを具備することを特徴とする動
画像信号の符号化装置が得られる。
Further, according to the present invention, there is provided a device for predictively encoding an input moving image signal, including means for evaluating whether or not a significant change has occurred in the content of an image between screens; means for generating a difference signal; means for quantizing the difference signal; and when performing the quantization, if the output of the evaluation means indicates that there has been a significant change in screen content, the quantization is performed once; A stitching control means that limits the dynamic range of the output to a small value and gradually expands the dynamic range of the output over time to return to a predetermined original dynamic range; the output of the quantization means and the predicted signal; means for generating a locally decoded signal by;
A moving picture signal encoding apparatus is obtained, comprising means for generating the predicted signal using the locally decoded signal, and means for variable length encoding the output of the quantization means. Furthermore, according to the present invention, there is provided an encoding device that encodes an input moving image signal using transform encoding, and a means for evaluating whether or not a significant change has occurred in the content of an image between screens. , means for generating a difference signal between the input signal and the predicted signal; means for performing orthogonal transformation on the difference signal; means for quantizing the output of the orthogonal transformation means; When the output of the means indicates that there has been a significant change in the screen content, the dynamic range of the output is temporarily limited to a small value, and the dynamic range of the output is gradually expanded over time to a predetermined value. Stitching control means for restoring the original dynamic range; means for orthogonal inverse transformation of the output of the quantization means;
means for generating a locally decoded signal using the output of the orthogonal inverse transformer and the predicted signal; means for generating the predicted signal using the locally decoded signal; and means for variable length encoding the output of the quantizing means. There is obtained a moving image signal encoding device characterized by comprising the following.

(作用) 本発明の符号化制御方式は、第1図に示すようにまずシ
ーンチェンジ検出器1により、入力の動画像信号から画
面間で画像の内容が大幅に変化するシーンチェンジを検
出する。シーンチェンジを検出する方法については、本
発明の主題ではないが、例として宮原による論文[帯域
圧縮を対象としたフレーム差信号特性の実測と検討J(
信学論(A)。
(Operation) As shown in FIG. 1, in the encoding control system of the present invention, the scene change detector 1 first detects a scene change in which the content of an image changes significantly between screens from an input moving image signal. Although the method of detecting scene changes is not the subject of the present invention, for example, see the paper by Miyahara [Measurement and Study of Frame Difference Signal Characteristics Targeting Bandwidth Compression J].
Theory of faith (A).

VOL56−A、 No 8. PP、 456−46
3.1973年8月)に記載のものが利用できる。これ
は有意なフレーム差分の数と、この数のフレーム間相関
を求めることにより画像の内容の大幅な変化を検出する
ものである。
VOL56-A, No. 8. P.P., 456-46
3. August 1973) can be used. This method detects a significant change in the content of an image by determining the number of significant frame differences and the inter-frame correlation of this number.

シーンチェンジ検出器は、シーンチェンジが発生したと
きにシーンチェンジを示す信号(シーンチェンジ検出信
号)をフレーム間符号器に与える。フレーム間符号器は
、シーンチェンジが発生し、シーンチェンジ検出信号が
与えられたときには、量子化器の出力のダイナミックレ
ンジを一旦小さく制限し、時間をかけて徐々に拡大し、
通常の量子化に戻す。たとえば第3図に示すようにある
フレームにおいてシーンチェンジが発生すると、そのフ
レームからNフレーム時間の間は、量子化器の出力のダ
イナミックレンジの最大値をたとえば第4図のAの幅に
制限し、つぎのMフレームの間は、量子化器の出力の振
幅をNフレーム時間のときよりも少し拡大してダイナミ
ックレンジを第4図のBのように制限する。さらに時間
をおいてPの時間領域においては、量子化器の出力のダ
イナミックレンジをさらに拡大して、通常の量子化を行
なう。
The scene change detector provides a signal indicating a scene change (scene change detection signal) to the interframe encoder when a scene change occurs. When a scene change occurs and a scene change detection signal is provided, the interframe encoder temporarily limits the dynamic range of the quantizer output to a small value, and gradually expands it over time.
Return to normal quantization. For example, when a scene change occurs in a certain frame as shown in Figure 3, the maximum value of the dynamic range of the quantizer output is limited to the width A in Figure 4 for a period of N frames from that frame. , during the next M frames, the amplitude of the output of the quantizer is expanded a little more than during the N frame time, and the dynamic range is limited as shown in FIG. 4B. After a further time, in the time domain P, the dynamic range of the output of the quantizer is further expanded and normal quantization is performed.

シーンチェンジ時には、大きな出力が大量に発生し、通
常のハフマン符号などの可変長符号化では長い符号が大
量に使用されることになる。したがって過大な符号量が
瞬間的に発生することになる。量子化出力をシーンチェ
ンジの時に小さく制限するということは、長い符号を発
生させないことに対応する。このように量子化特性の出
力ダイナミックレンジを小から通常へと徐々に拡大する
ことによりシーンチェンジ時に発生する過大な情報を抑
え滑らかな符号化を行なうことができる。
During a scene change, a large amount of large output is generated, and in variable length coding such as ordinary Huffman codes, a large amount of long codes are used. Therefore, an excessive amount of code is generated instantaneously. Limiting the quantization output to a small value at the time of scene change corresponds to not generating long codes. In this way, by gradually expanding the output dynamic range of the quantization characteristic from small to normal, it is possible to suppress excessive information generated at the time of scene change and perform smooth encoding.

(実施例) 第5図、第6図、第7図を参照して本発明の実施例を詳
細に説明する。第5図は、本発明に関する符号器の構成
例を示す図である。入力の動画像信号は、線101を介
してシーンチェンジ検出器1および減算器2に供給され
る。シーンチェンジ検出器1は、入力の動画像信号が画
面間で画像の内容が大幅に変化しシーンチェンジが検出
されたときには、シーンチェンジ信号を線102を介し
て量子化S3に供給する。減算器2は、入力の動画像信
号とフレームメモリー5から供給される予測信号との減
算を行ない、出力として差分信号を線201を介して量
子化器3に供給する。量子化器3は、減算器2から供給
された差分信号に対して量子化を行なうが、シーンチェ
ンジが発生してシーンチェンジ検出器1からシーンチェ
ンジ信号が与えられたときには、出力の振幅の最大値を
たとえば第4図のAのように小さく制限し、少し時間を
おいて出力の振幅の最大値を少し拡大して、第4図のB
のようにする。そしてさらに時間をおいて出力の振幅の
最大値を通常の値に戻す。量子化器3の詳細については
、後で述べる。量子化器3の出力は、加算器4および可
変長符号56に供給される。加算器4は、量子化器3か
ら供給された差分信号とフレームメモリー5から供給さ
れる予測信号を用いて局部復号信号を再生する。
(Example) An example of the present invention will be described in detail with reference to FIGS. 5, 6, and 7. FIG. 5 is a diagram showing an example of the configuration of an encoder according to the present invention. An input moving image signal is supplied to a scene change detector 1 and a subtractor 2 via a line 101. The scene change detector 1 supplies a scene change signal to the quantizer S3 via a line 102 when the input moving image signal changes significantly in image content between screens and a scene change is detected. The subtracter 2 subtracts the input moving image signal and the prediction signal supplied from the frame memory 5, and supplies a difference signal as an output to the quantizer 3 via a line 201. The quantizer 3 quantizes the difference signal supplied from the subtracter 2, but when a scene change occurs and a scene change signal is provided from the scene change detector 1, the maximum amplitude of the output is For example, limit the value to a small value as shown in A in Fig. 4, and after a while, slightly expand the maximum value of the output amplitude to obtain B in Fig. 4.
Do like this. Then, after a further period of time, the maximum value of the output amplitude is returned to the normal value. Details of the quantizer 3 will be described later. The output of the quantizer 3 is supplied to an adder 4 and a variable length code 56. Adder 4 uses the difference signal supplied from quantizer 3 and the prediction signal supplied from frame memory 5 to reproduce the locally decoded signal.

加算器4の出力である局部復号信号は、フレームメモリ
ー5に供給される。フレームメモリー5は、局部復号信
号を1フレ一ム時間遅延し、出力として予測信号を減算
器2および加算器4に供給する。可変長符号器6は、量
子化器3から供給された差分信号をハフマン符号などの
効率の良い符号を用いて可変長符号化し、符号化の速度
と伝送路の速度の整合を行ない線601を介して、可変
長符号を伝送路に供給する。
The locally decoded signal, which is the output of adder 4, is supplied to frame memory 5. Frame memory 5 delays the locally decoded signal by one frame time and supplies the predicted signal to subtracter 2 and adder 4 as output. The variable length encoder 6 performs variable length encoding on the difference signal supplied from the quantizer 3 using an efficient code such as a Huffman code, matches the encoding speed and the transmission path speed, and outputs a line 601. The variable length code is supplied to the transmission path through the transmission line.

次に第6図を参照して本発明の復号器について説明する
。伝送路から線701を介して可変長復号器7に可変長
復号が供給される。可変長復号器7は、伝送路の速度と
復号の速度の整合をとりながら可変長復号化を行なう。
Next, the decoder of the present invention will be explained with reference to FIG. Variable length decoding is supplied from the transmission path to variable length decoder 7 via line 701. The variable length decoder 7 performs variable length decoding while matching the speed of the transmission path and the speed of decoding.

可変長復号器7の出力の可変長復号化により再生された
差分信号は、−加算器8に供給される。加算器8は、可
変長復号器7から供給された差分信号とフレームメモリ
ー9から供給される。予測信号とにより復号を行ない、
もとの動画像信号を再生する。加算器8の出力の復号信
号は、フレームメモリー9に供給される。また線801
を介して復号器の出力とされる。フレームメモリー9は
、加算器8から供給された復号信号を1フレ一ム時間遅
延し、出力として予測信号を加算器8に供給する。
The differential signal reproduced by variable length decoding of the output of the variable length decoder 7 is supplied to the - adder 8 . The adder 8 is supplied with the difference signal supplied from the variable length decoder 7 and from the frame memory 9. Decoding is performed using the predicted signal,
Regenerate the original video signal. The decoded signal output from adder 8 is supplied to frame memory 9 . Also line 801
is used as the output of the decoder. Frame memory 9 delays the decoded signal supplied from adder 8 by one frame time, and supplies the predicted signal to adder 8 as an output.

次に第7図を参照して量子化器3について詳細に説明す
る。量子化器3は減算器2から線201を介して供給さ
れた差分信号を、読み出し専用メモリー(Read 0
nly Memory:ROM )ROM−P 301
. ROM−N 302゜ROM−M 303、により
量子化する。ROM−P 301ハ、基本となる量子化
特性を予め記憶させておく。
Next, the quantizer 3 will be explained in detail with reference to FIG. The quantizer 3 stores the difference signal supplied from the subtracter 2 via the line 201 into a read-only memory (Read 0
nly Memory: ROM ) ROM-P 301
.. ROM-N 302 and ROM-M 303 are used for quantization. In the ROM-P 301, basic quantization characteristics are stored in advance.

ROM−N 302は、第4図のAのような出力の振幅
の最大値を小さく制限した量子化特性を予め記憶させて
おく。ROM−M2O3は、第4図のBのような量子化
特性を予め記憶させておく。なおこれらのROMは、ア
ドレス入力に線201により供給される差分信号を与え
るため量子化出力の値はアドレスに対応させて記憶させ
てお(。そしてそれぞれのROMの出力すなわち量子化
出力は、切り換え器306に供給される。タイマー30
5は、フレームを示すタイミング信号を制御回路304
に供給する。制御回路304は、通常は、ROM−P 
301を選択するように制御信号を切り換え器306に
与え通常の量子化を行なうが、シーンチェンジが発生し
て線102を介してシーンチェンジ信号が与えられたと
きには、タイマー305から供給されたタイミング信号
を基に、シーンチェンジが発生した直後は出力の振幅を
小さく制限したROM−N 302を選択する制御信号
を、定められた時間をおいて出力の振幅を少し拡大した
量子化ROM−M 3Q3を選択する制御信号を、さら
に時間をおいて通常の量子化を行なうROM−P2O3
を選択するように制御信号を切り換え器306に与える
。切り換え器306は、制御回路304から供給された
制御信号により量子化ROMの選択を行ない量子化器3
の出力とする。また、量子化特性の出力レベルを第4図
のように共通化しダイナミックレンジのみを変化させ通
常の特性〉特性B〉特性Aとすると特性Aまたは特性B
が選択されているときでも可変長符号化は共通のものを
使用でき符号の切り換え信号を受信側に送らなくてすむ
The ROM-N 302 stores in advance a quantization characteristic such as A in FIG. 4 in which the maximum value of the output amplitude is limited to a small value. The ROM-M2O3 stores in advance a quantization characteristic such as B in FIG. Note that these ROMs provide the address input with the differential signal supplied by line 201, so the value of the quantized output is stored in correspondence with the address (and the output of each ROM, that is, the quantized output, can be changed by switching timer 30.
5 is a control circuit 304 for controlling a timing signal indicating a frame.
supply to. The control circuit 304 is normally a ROM-P
A control signal is given to the switch 306 to select 301, and normal quantization is performed. However, when a scene change occurs and a scene change signal is given via the line 102, the timing signal supplied from the timer 305 is Based on this, immediately after a scene change occurs, a control signal is sent to select ROM-N 302, which limits the output amplitude to a small value, and after a predetermined time, a control signal is sent to select ROM-N 302, which increases the output amplitude slightly. ROM-P2O3 which performs normal quantization on the control signal to be selected after further time.
A control signal is given to the switch 306 to select. The switch 306 selects the quantization ROM based on the control signal supplied from the control circuit 304, and selects the quantization ROM from the quantizer 3.
Let the output be Also, if the output level of the quantization characteristic is made common as shown in Figure 4, and only the dynamic range is changed, and the normal characteristic>characteristic B>characteristic A, then characteristic A or characteristic B
Even when is selected, a common variable length encoding can be used and there is no need to send a code switching signal to the receiving side.

つぎに第8図を参照して他の実施例として直交変換およ
び予測符号化を組み合わせた符号化装置について説明す
る。入力の動画像信号は、線101を介してシーンチェ
ンジ検出器1および減算器2に供給される。シーンチェ
ンジ検出S1は、入力の動画像信号が画面間で画像の内
容が大幅に変化しシーンチェンジが検出されたときには
シーンチェンジ信号を線102を介して量子化器3に供
給する。減算器2は、入力の動画像信号とフレームメモ
リー5から供給される予測信号との減算を行ない、出力
として差分信号を直交変換器202に供給する。直交変
換G202は、差分信号に対して離散コサイン変換やア
ダマール変換などの直交変換を行ない変換係数を線20
1を介して量子化S3に供給する。量子化器3は、直交
変換器202から供給された変換係数に対して量子化を
行なうが、シーンチェンジが発生してシーンチェンジ検
出器1からシーンチェンジ信号が与えられたときには、
出力の振幅の最大値をたとえば第4図のAのように小さ
く制限し、少し時間をおいて出力の振幅の最大値を少し
拡大して、第4図のBのようにする。そしてさらに時間
をおいて出力の振幅の最大値を通常の値に戻す。量子化
器3の出力は、直交逆変換器203および可変長復号器
6に供給される。直交逆変換器203は、量子化された
変換係数を先に行なった直交変換に対応する直交逆変換
により逆変換し再生した差分信号を加算器4に供給する
。加算器4は、直交逆変換器203から供給された差分
信号とフレームメモリー5から供給される予測信号によ
り局部復号信号を再生する。
Next, a coding device that combines orthogonal transform and predictive coding will be described as another embodiment with reference to FIG. An input moving image signal is supplied to a scene change detector 1 and a subtractor 2 via a line 101. The scene change detection S1 supplies a scene change signal to the quantizer 3 via a line 102 when the input moving image signal changes significantly in image content between screens and a scene change is detected. The subtracter 2 subtracts the input moving image signal and the prediction signal supplied from the frame memory 5, and supplies a difference signal to the orthogonal transformer 202 as an output. Orthogonal transform G202 performs orthogonal transform such as discrete cosine transform or Hadamard transform on the difference signal and converts the transform coefficients into line 20.
1 to the quantizer S3. The quantizer 3 quantizes the transform coefficients supplied from the orthogonal transformer 202, but when a scene change occurs and a scene change signal is given from the scene change detector 1,
For example, the maximum value of the output amplitude is limited to a small value as shown in A in FIG. 4, and after a while, the maximum value of the output amplitude is slightly enlarged to become as shown in B in FIG. Then, after a further period of time, the maximum value of the output amplitude is returned to the normal value. The output of the quantizer 3 is supplied to the orthogonal inverse transformer 203 and the variable length decoder 6. The orthogonal inverse transformer 203 inversely transforms the quantized transform coefficients by orthogonal inverse transform corresponding to the previously performed orthogonal transform, and supplies the reproduced difference signal to the adder 4 . The adder 4 reproduces the locally decoded signal using the difference signal supplied from the orthogonal inverse transformer 203 and the prediction signal supplied from the frame memory 5.

加算器4の出力の局部復号信号は、フレームメモ17−
5に供給される。フレームメモリー5は、局部復号信号
を1フレ一ム時間遅延し、出力として予測信号を減算器
2および加算器4に供給する。可変長復号器6は、量子
化器3から供給された変換係数をハフマン符号などの効
率の良い符号を用いて可変長符号化し、符号化の速度と
伝送路の一速度の整合を行ない線601を介して、圧縮
された可変長符号を伝送路に供給する。復号器は第6図
の可変長復号器7と加算器8の間に直交逆変換器203
と同じ構成の直交逆変換器が追加される。伝送路から供
給された可変長符号を伝送路の速度と復号化の速度の整
合を取りながら可変長復号化し、復号化された変換係数
を直交逆変換器に供給する。直交逆変換器は、可変長復
号器7から供給された変換係数からもとの差分信号を再
生し加算器8に供給する。以下加算器8およびフレーム
メモリー9は、前記のものと同様な動作を行なう。
The locally decoded signal output from the adder 4 is stored in the frame memory 17-
5. Frame memory 5 delays the locally decoded signal by one frame time and supplies the predicted signal to subtracter 2 and adder 4 as output. The variable-length decoder 6 performs variable-length encoding on the transform coefficients supplied from the quantizer 3 using an efficient code such as a Huffman code, and matches the encoding speed with the transmission path speed. The compressed variable-length code is supplied to the transmission path via. The decoder includes an orthogonal inverse transformer 203 between the variable length decoder 7 and the adder 8 in FIG.
An orthogonal inverse transformer with the same configuration as is added. The variable length code supplied from the transmission path is variable length decoded while matching the speed of the transmission path and the decoding speed, and the decoded transform coefficients are supplied to the orthogonal inverse transformer. The orthogonal inverse transformer reproduces the original difference signal from the transform coefficients supplied from the variable length decoder 7 and supplies it to the adder 8 . Thereafter, adder 8 and frame memory 9 perform operations similar to those described above.

(発明の効果) 以上詳しく説明したようにシーンチェンジが発生した直
後は、°・)量子化器3の出力のダイナミックレンジを
小さく制限し、少し時間をおいて少し拡大し、さらに時
間をおいて通常の量子化を行なうようにする。このよう
にシーンチェンジ直後は、量子化器の出力振幅を小さく
制限し、時間をかけて徐々に拡大することによりにシー
ンチェンジ時に過大な情報が発生することを抑え、不連
続な動きの無い滑らかな符号化を行なうことができる。
(Effects of the Invention) As explained in detail above, immediately after a scene change occurs, the dynamic range of the output of the quantizer 3 is limited to a small value, and then expanded a little after a while, and then Perform normal quantization. In this way, immediately after a scene change, the output amplitude of the quantizer is limited to a small value, and by gradually increasing it over time, the generation of excessive information at the time of a scene change is suppressed, and smooth movement without discontinuous movement is achieved. encoding can be performed.

このように本発明を実用に供すると動画像符号化におけ
る画質改善効果はきわめて大きい。
As described above, when the present invention is put into practical use, the effect of improving image quality in video encoding is extremely large.

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

第1図、第3図、及び第4図は、本発明の詳細な説明す
るための図、第2図は、従来方式を説明するための図、
第5図、第6図、第7図、及び第8図は、本発明の詳細
な説明するための図である。 図において 1・・・シーンチェンジ検出器、 2・・・減算器、3
・・・量子化器、        4・・・・加算器、
5・・・フレームメモリー、    6・・・可変長持
号器、7・・・可変長復号器、      8・・・加
算器、9・・・フレームメモリー。 202・・・直交変換器     203・・・直交逆
変換器301・・−ROMP        302・
・・ROMN303・・−ROMM        3
04・・・制御回路305・・・タイマー      
 306・・・切り換え器である。
FIG. 1, FIG. 3, and FIG. 4 are diagrams for explaining the present invention in detail, and FIG. 2 is a diagram for explaining the conventional method.
FIG. 5, FIG. 6, FIG. 7, and FIG. 8 are diagrams for explaining the present invention in detail. In the figure, 1...Scene change detector, 2...Subtractor, 3
...Quantizer, 4...Adder,
5...Frame memory, 6...Variable length encoder, 7...Variable length decoder, 8...Adder, 9...Frame memory. 202...Orthogonal transformer 203...Orthogonal inverse transformer 301...-ROMP 302-
・・ROMN303・・−ROMM 3
04...Control circuit 305...Timer
306...Switching device.

Claims (1)

【特許請求の範囲】 1、動画像信号を予測符号化あるいは変換符号化を行な
うにあたり、画面間での画像内容の変化を評価し、画面
間で画像内容が大幅に変化していると判定されたときに
は、予測誤差あるいは変換係数に対する量子化器の出力
のダイナミックレンジを小さく制限し、時間をかけて徐
々にこれを拡大し予め定められた本来のダイナミックレ
ンジに復帰することを特徴とする動画像信号の符号化方
式。 2、入力の動画像信号を予測符号化する装置であって、
画面間で画像の内容に大幅な変化が発生したか否かを評
価する手段、前記入力信号と予測信号との、差分信号を
発生する手段、該差分信号を量子化する手段、該量子化
を行なうにあたり、前記評価手段の出力が画面内容の大
幅な変化があったことを示しているときには、一旦量子
化出力のダイナミックレンジを小さく制限し、時間をか
けて徐々に前記出力のダイナミックレンジを拡大し予め
定められた本来のダイナミックレンジに復帰させる量子
化制御手段、前記量子化手段の出力と前記予測信号とに
より局部復号信号を発生する手段、該局部復号信号を用
いて前記予測信号を発生する手段、前記量子化手段の出
力を可変長符号化する手段、とを具備することを特徴と
する動画像信号の符号化装置。 3、入力の動画像信号を変換符号化を用いて符号化する
符号化装置であって、画面間で画像の内容に大幅な変化
が発生したか否かを評価する手段、前記入力信号と予測
信号との、差分信号を発生する手段、該差分信号に対し
て直交変換を行なう手段、前記直交変換手段の出力を量
子化する手段、該量子化を行なうにあたり、前記評価手
段の出力が画面内容の大幅な変化があったことを示して
いるときには、一旦量子化出力のダイナミックレンジを
小さく制限し、時間をかけて徐々に出力のダイナミック
レンジを拡大し予め定められた本来のダイナミックレン
ジに復帰させる量子化制御手段、前記量子化手段の出力
を直交逆変換する手段、該直交逆変換する手段の出力と
前記予測信号とにより局部復号信号を発生する手段、該
局部復号信号を用いて前記予測信号を発生する手段、前
記量子化手段の出力を可変長符号化する手段、とを具備
することを特徴とする動画像信号の符号化装置。
[Claims] 1. When performing predictive encoding or transform encoding of a moving image signal, changes in image content between screens are evaluated, and it is determined that the image content has changed significantly between screens. A moving image characterized in that when a prediction error or a transformation coefficient occurs, the dynamic range of the output of a quantizer with respect to a prediction error or a transform coefficient is limited to a small value, and this is gradually expanded over time to return to a predetermined original dynamic range. Signal encoding method. 2. A device that predictively encodes an input moving image signal,
means for evaluating whether or not a significant change has occurred in image content between screens; means for generating a difference signal between the input signal and the predicted signal; means for quantizing the difference signal; and means for quantizing the difference signal. In doing so, when the output of the evaluation means indicates that there has been a significant change in screen content, the dynamic range of the quantized output is temporarily limited to a small value, and the dynamic range of the output is gradually expanded over time. quantization control means for restoring the original dynamic range to a predetermined original dynamic range; means for generating a locally decoded signal using the output of the quantization means and the predicted signal; and generating the predicted signal using the locally decoded signal. An encoding device for a moving image signal, comprising: means for variable length encoding the output of the quantization means. 3. An encoding device that encodes an input moving image signal using transform encoding, a means for evaluating whether or not a significant change has occurred in the content of an image between screens, and a means for evaluating the input signal and prediction. means for generating a differential signal with respect to the signal; means for performing orthogonal transformation on the differential signal; means for quantizing the output of the orthogonal transforming means; When it indicates that there has been a significant change in the output, the dynamic range of the quantized output is temporarily limited to a small value, and the dynamic range of the output is gradually expanded over time to return to the predetermined original dynamic range. quantization control means, means for orthogonally inversely transforming the output of the quantizing means, means for generating a locally decoded signal using the output of the orthogonally inversely transforming means and the predicted signal, and generating the predicted signal using the locally decoded signal. 1. An encoding device for a moving image signal, comprising: means for generating a quantization means; and means for variable-length encoding the output of the quantization means.
JP60226248A 1985-10-11 1985-10-11 System and device for encoding moving picture signal Pending JPS6285588A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60226248A JPS6285588A (en) 1985-10-11 1985-10-11 System and device for encoding moving picture signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60226248A JPS6285588A (en) 1985-10-11 1985-10-11 System and device for encoding moving picture signal

Publications (1)

Publication Number Publication Date
JPS6285588A true JPS6285588A (en) 1987-04-20

Family

ID=16842213

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60226248A Pending JPS6285588A (en) 1985-10-11 1985-10-11 System and device for encoding moving picture signal

Country Status (1)

Country Link
JP (1) JPS6285588A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05244583A (en) * 1992-02-26 1993-09-21 Nec Corp Moving picture coding control system and moving picture coder
US5530479A (en) * 1993-11-25 1996-06-25 Nec Corporation Method of compression-coding a motion picture and an apparatus for same
WO2022113430A1 (en) * 2020-11-27 2022-06-02 シャープ株式会社 Image processing device, display device, and image processing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
BELL SYSTEM TECHNOLOGY JOURNAL=1969 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05244583A (en) * 1992-02-26 1993-09-21 Nec Corp Moving picture coding control system and moving picture coder
US5530479A (en) * 1993-11-25 1996-06-25 Nec Corporation Method of compression-coding a motion picture and an apparatus for same
WO2022113430A1 (en) * 2020-11-27 2022-06-02 シャープ株式会社 Image processing device, display device, and image processing method

Similar Documents

Publication Publication Date Title
KR100238509B1 (en) Method and apparatus for decoding video signals
JPH0714209B2 (en) Video coding device
US5103307A (en) Interframe predictive coding/decoding system for varying interval between independent frames
JP3651706B2 (en) Video encoding device
JPH0468988A (en) High efficient coder for moving picture signal
US20070025438A1 (en) Elastic storage
JP3659366B2 (en) Hierarchical encoder
JP2614212B2 (en) Image signal encoding method and apparatus
JPS6285588A (en) System and device for encoding moving picture signal
JPH10174094A (en) Video decoder
JPH06253331A (en) Editing device corresponding to variable-length encoded signal
JPH0898181A (en) Method and device for picture conversion
JPH0537786A (en) Picture data encoder and decoder
JP2507300B2 (en) Motion compensation coding method and apparatus thereof
JPH02241285A (en) Highly efficient encoder for moving image signal
JP3175573B2 (en) Image coding method
KR960036722A (en) Video Compression Device Using Fractal and Motion Compensation and Its Compression Method
JPH08265776A (en) Video data synthesizing device and method therefor
JPH10304382A (en) Inter-frame predictive coding system
JPH07111655A (en) Moving image processor
JP2621341B2 (en) Predictive coding method for video using background prediction and its apparatus
JPH07162850A (en) Compressibility adjusting method
KR100258926B1 (en) Real time bitstream editing circuit in moving picture encoding apparatus
JP2910388B2 (en) Encoding device
JPH08130735A (en) Picture data encoding and decoding device