[go: up one dir, main page]

JP2591438B2 - Moving image signal encoding method and apparatus - Google Patents

Moving image signal encoding method and apparatus

Info

Publication number
JP2591438B2
JP2591438B2 JP22768593A JP22768593A JP2591438B2 JP 2591438 B2 JP2591438 B2 JP 2591438B2 JP 22768593 A JP22768593 A JP 22768593A JP 22768593 A JP22768593 A JP 22768593A JP 2591438 B2 JP2591438 B2 JP 2591438B2
Authority
JP
Japan
Prior art keywords
signal
circuit
threshold
prediction error
switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP22768593A
Other languages
Japanese (ja)
Other versions
JPH0787488A (en
Inventor
孝志 望月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP22768593A priority Critical patent/JP2591438B2/en
Publication of JPH0787488A publication Critical patent/JPH0787488A/en
Application granted granted Critical
Publication of JP2591438B2 publication Critical patent/JP2591438B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related 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)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、フレーム間予測と直交
変換を組み合わせた動画像信号の符号化方式および装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving picture signal encoding method and apparatus which combine inter-frame prediction and orthogonal transformation.

【0002】[0002]

【従来の技術】直交変換係数の量子化器において、視覚
的劣化を抑えながら符号量を削減できる構成として、例
えば特開平3−10486号に記載されたものが知られ
ている。この構成では、変換係数の位置により閾値を決
め、閾値以下の変換係数は零にした上で量子化を行って
いる。2次元変換では、斜め方向の信号成分を表す変換
係数についての閾値を上げることにより、視覚的劣化を
抑えながら符号量を削減できるとしている。
2. Description of the Related Art In a quantizer for orthogonal transform coefficients, a configuration described in, for example, JP-A-3-10486 is known as a configuration capable of reducing a code amount while suppressing visual deterioration. In this configuration, a threshold is determined according to the position of the transform coefficient, and the transform coefficients below the threshold are set to zero before quantization. In the two-dimensional conversion, the code amount can be reduced while suppressing visual deterioration by increasing a threshold value of a conversion coefficient representing a signal component in an oblique direction.

【0003】[0003]

【発明が解決しようとする課題】上述の従来の構成で
は、直交変換の各ブロックが復号画像に与える影響の違
いを考慮していないため、視覚的劣化を抑えながら符号
量を削減するという効果を十分に発揮できていない。
In the above-described conventional configuration, since the difference in the effect of each block of the orthogonal transform on the decoded image is not taken into account, the effect of reducing the code amount while suppressing visual deterioration is considered. We have not been able to fully demonstrate.

【0004】本発明の目的は、直交変換の各ブロックが
復号画像に与える影響の違いを考慮して、視覚的劣化を
抑えながら符号量を削減することである。
[0004] It is an object of the present invention to reduce the amount of codes while suppressing visual deterioration in consideration of the difference in the effect of each block of the orthogonal transform on a decoded image.

【0005】[0005]

【課題を解決するための手段】本発明の第1の発明の
画像信号の符号化方法は、動画像信号をフレーム間予測
および直交変換の処理によりディジタル圧縮し、かつ直
交変換のブロック毎に入力信号の変換係数を符号化する
か、フレーム間予測誤差信号の変換係数あるいは変換係
数のフレーム間予測誤差を符号化するかを切換え、選択
した符号化対象信号を量子化し符号化する動画像信号の
符号化方法において、前記量子化をする前に閾値処理を
行い、その閾値処理に用いる閾値を変換係数が高域であ
るほど大きく、かつ選択した符号化対象信号が入力信号
の変換係数の場合には、フレーム間予測誤差信号の変換
係数あるいは変換係数のフレーム間予測誤差の場合より
も大きく設定することを特徴とする。
Means for Solving the Problems The movement of the first invention of the present invention
An image signal encoding method digitally compresses a moving image signal through inter-frame prediction and orthogonal transform processing, and encodes a transform coefficient of an input signal for each orthogonal transform block.
Or the conversion coefficient or conversion coefficient of the inter-frame prediction error signal.
Selects whether to encode a number of inter-frame prediction errors and selects
In the moving image signal encoding method for quantizing and encoding the encoded signal to be encoded, threshold processing is performed before the quantization, and the threshold used for the threshold processing is set to a value whose transform coefficient is in a high band.
And the selected signal to be encoded is the input signal
Of the inter-frame prediction error signal
From the case of inter-frame prediction error of coefficients or transform coefficients
Is also set to be large .

【0006】本発明の第2の発明の動画像信号の符号化
装置は、前フレームでの局部復号信号を記憶するフレー
ムメモリと、前記フレームメモリに記憶されている画像
信号から生成される予測信号と入力画像信号との差分で
ある予測誤差信号を計算する減算器と、前記入力画像信
号および前記予測誤差信号のどちらかを符号化するかを
判定する判定回路と、その判定結果に応じて前記予測誤
差信号および前記入力画像信号の一方を選択する第1の
スイッチと、前記第1のスイッチで選択された信号を直
交変換する直交変換回路と、前記直交変換回路の出力信
号に閾値メモリから通知される閾値に応じて閾値処理を
施す閾値処理回路と、前記閾値処理回路の出力信号を量
子化する量子化器と、前記量子化器の出力信号に前記直
交変換回路の逆変換を施す逆変換回路と、前記判定回路
の判定結果に応じて前記予測信号か零値かを選択する第
2のスイッチと、前記第2のスイッチで選択した信号お
よび前記逆変換回路の出力信号を加算し現フレームでの
局部復号信号を生成する加算器とを備えており、前記閾
値メモリから前記閾値処理回路に通知される閾値は、前
記閾値処理回路で処理される変換係数が高域であるほど
大きく、かつ前記第1のスイッチで入力画像信号を選択
した場合には、予測誤差信号を選択した場合よりも大き
な値が設定されていることを特徴とする。
According to a second aspect of the present invention, there is provided an apparatus for encoding a moving image signal, comprising: a frame memory for storing a local decoded signal in a previous frame; and a prediction signal generated from the image signal stored in the frame memory. A subtractor that calculates a prediction error signal that is a difference between the input image signal and the input image signal, a determination circuit that determines whether to encode any of the input image signal and the prediction error signal, A first switch for selecting one of the prediction error signal and the input image signal, an orthogonal transformation circuit for orthogonally transforming a signal selected by the first switch, and a notification from a threshold memory to an output signal of the orthogonal transformation circuit A threshold processing circuit that performs threshold processing according to the threshold value to be processed; a quantizer that quantizes an output signal of the threshold processing circuit; And a second switch for selecting whether the prediction signal or the zero value according to the determination result of the determination circuit, and a signal selected by the second switch and an output signal of the inverse conversion circuit. And an adder for generating a local decoded signal in the current frame. The threshold value notified from the threshold value memory to the threshold value processing circuit is such that a transform coefficient processed by the threshold value processing circuit is in a high band. About
Large and select the input image signal with the first switch
Is larger than when the prediction error signal is selected.
Characteristic value is set.

【0007】また本発明の第3の発明の動画像信号の符
号化装置は、入力画像信号に直交変換を施す直交変換回
路と、前フレームでの局部復号信号を記憶するフレーム
メモリと、前記フレームメモリに記憶されている信号か
ら生成される予測信号と前記直交変換回路の出力信号と
の差分である予測誤差信号を計算する減算器と、前記直
交変換回路の出力信号および前記予測誤差信号のどちら
を符号化するかを判定する判定回路と、その判定結果に
応じて前記予測誤差信号および前記直交変換回路の出力
信号の一方を選択する第1のスイッチと、前記第1のス
イッチで選択された信号に閾値メモリから通知される閾
値に応じて閾値処理を施す閾値処理回路と、前記閾値処
理回路の出力信号を量子化する量子化器と、前記判定回
路の判定結果に応じて前記予測信号か零値かを選択する
第2のスイッチと、前記第2のスイッチで選択された信
号および前記量子化器の出力信号を加算し現フレームで
の局部復号信号を生成する加算器とを備えており、前記
閾値メモリから前記閾値処理回路に通知される閾値は、
前記閾値処理回路で処理される変換係数が高域であるほ
ど大きく、かつ前記第1のスイッチで直交変換回路の出
力信号を選択した場合には、予測誤差信号を選択した場
合よりも大きな値が設定されることを特徴とする。
According to a third aspect of the present invention, there is provided an apparatus for encoding a moving image signal, comprising: an orthogonal transformation circuit for performing an orthogonal transformation on an input image signal; a frame memory for storing a local decoded signal in a previous frame; A subtractor that calculates a prediction error signal that is a difference between a prediction signal generated from a signal stored in a memory and an output signal of the orthogonal transform circuit; and a subtractor that calculates an output signal of the orthogonal transform circuit and the prediction error signal. And a first switch that selects one of the prediction error signal and the output signal of the orthogonal transform circuit according to the determination result, and a first switch that is selected by the first switch. A threshold processing circuit that performs threshold processing on the signal in accordance with a threshold value notified from a threshold memory; a quantizer that quantizes an output signal of the threshold processing circuit; A second switch for selecting between the predicted signal and the zero value, and an adder for adding a signal selected by the second switch and an output signal of the quantizer to generate a local decoded signal in a current frame. And a threshold value notified from the threshold value memory to the threshold value processing circuit,
The higher the conversion coefficient processed by the threshold processing circuit is in the higher band,
Large and the output of the orthogonal transform circuit is
When the force signal is selected, the
It is characterized in that a value larger than the case is set.

【0008】[0008]

【実施例】次に、本発明について図面を参照して説明す
る。
Next, the present invention will be described with reference to the drawings.

【0009】図1は、本発明の一実施例のブロック図で
ある。端子10から入力される画像信号に対して、直交
変換回路41では直交変換を施し、またフレーム間予測
処理回路42ではフレーム間予測誤差を算出したのち直
交変換を施すか、あるいは直交変換を施したのちフレー
ム間予測誤差を算出する。判定回路43では、直交変換
回路41およびフレーム間予測処理回路42のいずれの
送出信号を符号化するかを判定し、この判定結果に応じ
てスイッチ44において該当する信号を直交変換のブロ
ック毎に選択し閾値処理回路12に与える。閾値処理回
路12では、スイッチ44で選択された信号の値が閾値
メモリ14から与えられる閾値Thよりも大きいか否か
(絶対値)に応じて、図2に示す入出力特性をもって、
入力信号の絶対値が閾値Th未満の場合には零に置き換
える。閾値処理回路12の処理結果の信号は、量子化器
13で量子化された後、端子20から出力される。量子
化器13の出力信号は、フレーム間予測処理回路42に
も入力され、判定回路43の判定結果に応じて局部復号
信号が計算され、後続フレームでの予測に用いられる。
閾値メモリ14では、判定回路43の判定結果と、量子
化ステップサイズQと、閾値処理回路12で処理される
直交変換変換係数の係数位置とでアドレスを指定して、
閾値Thを読み出す。閾値の特性例については、後述す
る。
FIG. 1 is a block diagram of one embodiment of the present invention. The orthogonal transformation circuit 41 performs orthogonal transformation on the image signal input from the terminal 10, and the inter-frame prediction processing circuit 42 calculates the inter-frame prediction error and then performs the orthogonal transformation or performs the orthogonal transformation. Then, an inter-frame prediction error is calculated. The decision circuit 43 decides which of the transmission signals of the orthogonal transformation circuit 41 and the inter-frame prediction processing circuit 42 is to be coded. And then to the threshold processing circuit 12. The threshold processing circuit 12 has the input / output characteristics shown in FIG. 2 according to whether or not the value of the signal selected by the switch 44 is larger than the threshold Th given from the threshold memory 14 (absolute value).
If the absolute value of the input signal is less than the threshold Th, it is replaced with zero. The signal of the processing result of the threshold processing circuit 12 is output from the terminal 20 after being quantized by the quantizer 13. The output signal of the quantizer 13 is also input to the inter-frame prediction processing circuit 42, and a local decoded signal is calculated according to the determination result of the determination circuit 43, and is used for prediction in a subsequent frame.
In the threshold memory 14, an address is specified by the determination result of the determination circuit 43, the quantization step size Q, and the coefficient position of the orthogonal transform coefficient processed by the threshold processing circuit 12,
The threshold Th is read. An example of the characteristic of the threshold will be described later.

【0010】図5は、図1の実施例におけるフレーム間
予測処理回路42の一構成例を示すブロック図である。
フレームメモリ17は、前フレームでの局部復号信号を
記憶しており、減算器15において、その局部復号信号
と端子10から入力される画像信号との差分が計算さ
れ、フレーム間の予測誤差信号として出力される。判定
回路21は、入力画像信号および予測誤差信号のどちら
を符号化するかを判定し、この判定回路21の判定結果
に応じてスイッチ22は該当する信号を選択する。スイ
ッチ22で選択された信号は、直交変換回路16で直交
変換され、閾値処理回路12において閾値処理された
後、量子化器13において量子化されて、符号化信号と
して端子20から出力される。また、量子化器13の出
力信号は、逆変換回路18において直交変換回路16で
の直交変換の逆変換が施され、加算器19に出力され
る。一方、スイッチ23では、判定回路21の判定結果
に応じ、判定結果が予測誤差信号の選択を表わしている
場合にはフレームメモリ17の出力信号を選択し、判定
結果が入力画像信号の選択を表わしている場合には零値
を選択して、加算器19に出力する。加算器19は、逆
変換回路18とスイッチ23との出力信号を加算し、現
フレームの局部復号信号として出力する。閾値メモリ1
4では、閾値処理回路12が処理する変換係数の係数位
置と、判定回路21の判定結果および量子化ステップサ
イズとに応じて、閾値Thを決め閾値処理回路12に通
知する。
FIG. 5 is a block diagram showing a configuration example of the inter-frame prediction processing circuit 42 in the embodiment of FIG.
The frame memory 17 stores the local decoded signal of the previous frame, and the subtracter 15 calculates the difference between the local decoded signal and the image signal input from the terminal 10, and calculates a difference between the frames as a prediction error signal between frames. Is output. The determination circuit 21 determines which of the input image signal and the prediction error signal is to be encoded, and the switch 22 selects the corresponding signal according to the determination result of the determination circuit 21. The signal selected by the switch 22 is orthogonally transformed by the orthogonal transformation circuit 16, subjected to threshold processing by the threshold processing circuit 12, quantized by the quantizer 13, and output from the terminal 20 as a coded signal. The output signal of the quantizer 13 is subjected to an inverse transform of the orthogonal transform by the orthogonal transform circuit 16 in the inverse transform circuit 18, and is output to the adder 19. On the other hand, the switch 23 selects the output signal of the frame memory 17 according to the determination result of the determination circuit 21 when the determination result indicates selection of the prediction error signal, and the determination result indicates selection of the input image signal. If so, a zero value is selected and output to the adder 19. The adder 19 adds the output signals of the inverse conversion circuit 18 and the switch 23 and outputs the result as a local decoded signal of the current frame. Threshold memory 1
In 4, the threshold Th is determined according to the coefficient position of the transform coefficient processed by the threshold processing circuit 12, the determination result of the determination circuit 21, and the quantization step size, and the threshold Th is notified to the threshold processing circuit 12.

【0011】図5(b)は、図1の実施例におけるフレ
ーム間予測処理回路42の他の構成例を示すブロック図
である。端子10から入力される画像信号は、まず直交
変換回路24において直交変換された後、減算器25に
入力される。減算器25では、直交変換回路24の出力
信号からフレームメモリ26の出力信号を減算し、フレ
ーム間の予測誤差信号として出力する。フレームメモリ
26には、前フレームでの局部復号信号が記憶されてい
る。判定回路31では、直交変換回路24の出力信号か
予測誤差信号かのいずれを符号化するかを判定し、この
判定結果に応じてスイッチ32が、該当する信号を選択
する。スイッチ32で選択された信号は、閾値処理回路
12で閾値処理された後、量子化器13で量子化され、
端子20から符号化信号として出力される。一方、スイ
ッチ33では、判定回路31の判定結果で予測誤差信号
を選択している場合にはフレームメモリ26の出力信号
を選択し、判定結果で直交変換回路24の出力信号を選
択している場合には零値を選択して加算器27に出力す
る。加算器27では、量子化器13とスイッチ33の出
力信号を加算して、現フレームの局部復号信号として出
力する。閾値メモリ14は、閾値処理回路12が処理す
る変換係数の係数位置と、判定回路31の判定結果およ
び量子化ステップサイズとに応じて、閾値Thを決め閾
値処理回路12に通知する。
FIG. 5B is a block diagram showing another configuration example of the inter-frame prediction processing circuit 42 in the embodiment of FIG. The image signal input from the terminal 10 is first orthogonally transformed by the orthogonal transformation circuit 24 and then inputted to the subtracter 25. The subtractor 25 subtracts the output signal of the frame memory 26 from the output signal of the orthogonal transform circuit 24 and outputs the result as a prediction error signal between frames. The frame memory 26 stores the locally decoded signal of the previous frame. The determination circuit 31 determines whether to encode the output signal of the orthogonal transform circuit 24 or the prediction error signal, and the switch 32 selects the corresponding signal according to the determination result. The signal selected by the switch 32 is subjected to threshold processing by the threshold processing circuit 12 and then quantized by the quantizer 13.
It is output from the terminal 20 as an encoded signal. On the other hand, the switch 33 selects the output signal of the frame memory 26 when the prediction error signal is selected based on the determination result of the determination circuit 31, and selects the output signal of the orthogonal transform circuit 24 based on the determination result. Is selected and output to the adder 27. The adder 27 adds the output signals of the quantizer 13 and the switch 33 and outputs the result as a local decoded signal of the current frame. The threshold memory 14 determines a threshold Th based on the coefficient position of the transform coefficient processed by the threshold processing circuit 12, the determination result of the determination circuit 31, and the quantization step size, and notifies the threshold processing circuit 12 of the threshold Th.

【0012】閾値メモリ14に記憶しておく閾値Thと
しては、例えば図3のような特性を一例としてあげるこ
とができる。図3の縦軸は閾値Thの大きさを表し、横
軸は変換係数が表す周波数の高低に対応し、低周波成分
を表す変換係数が左方に、高周波成分を表す変換係数は
右方にあるとする。図3において、特性曲線cは、低域
では値aをとり、周波数が高くなると急激に立ち上がっ
て、値bになっている。曲線d,eは曲線cの立ち上が
りを緩やかにしたものである。曲線がc,d,eとなる
にしたがって、閾値処理回路12において値が零に置き
換えられる変換係数が増大するので、端子20から出力
される変換係数を冗長度抑圧符号化した時の符号量は少
なくなる。
As the threshold value Th stored in the threshold value memory 14, for example, a characteristic as shown in FIG. 3 can be given as an example. The vertical axis of FIG. 3 represents the magnitude of the threshold value Th, and the horizontal axis corresponds to the level of the frequency represented by the transform coefficient. The transform coefficient representing the low frequency component is on the left, and the transform coefficient representing the high frequency component is on the right. Suppose there is. In FIG. 3, the characteristic curve c takes a value a in a low frequency range, rapidly rises as the frequency increases, and becomes a value b. The curves d and e are obtained by making the rising of the curve c gentle. As the curves become c, d, and e, the number of transform coefficients whose values are replaced by zero in the threshold processing circuit 12 increases. Less.

【0013】特性曲線c,d,eの選択をブロックの符
号化タイプに応じて行なうことで、各ブロックが復号化
信号に与える視覚的劣化の違いを考慮することができ
る。例えば図5の構成例において、通常ではフレーム間
予測誤差信号を直交変換した信号を符号化し、フレーム
間予測誤差信号が大きい場合には入力画像信号そのもの
を直交変換した信号を符号化する場合、フレーム間予測
誤差信号を直交変換した信号を符号化するときには曲線
eを選択し、入力信号を直交変換した信号を符号化する
ときには曲線cを選択する。このように入力信号を直交
変換した信号を符号化するときに曲線cを選択すると、
符号量を削減できる代りに、振幅の小さな高域の変換係
数は零になり、復号画像がぼやける。すなわち、変換係
数の閾値処理において、閾値を高域になるほど大きくす
ることで、振幅の小さな高域変換係数が零になり、復号
画像がぼやけることになる。符号化対象信号が入力信号
の変換係数の場合に、フレーム間予測誤差信号の変換係
数あるいは変換係数のフレーム間予測誤差の場合よりも
閾値を大きくすることで、符号量を削減できる代りに復
号画像がぼやけることになる。しかし、そのようなブロ
ックはフレーム間予測誤差が大きいところであり、換言
すれば動きの大きいところであるので、復号画像がぼや
けても視覚的劣化とはならない。以上のことは、図6の
構成例においても、図5の場合とはフレーム間予測およ
び直交変換の順番が入れ替わっただけなので、同様であ
る。
By selecting the characteristic curves c, d, and e in accordance with the coding type of the block, it is possible to take into account the difference in the visual deterioration that each block gives to the decoded signal. For example, in the configuration example of FIG. 5, a signal obtained by orthogonally transforming an inter-frame prediction error signal is normally encoded. If the inter-frame prediction error signal is large, a signal obtained by orthogonally transforming the input image signal itself is encoded. When encoding a signal obtained by orthogonally transforming the inter prediction error signal, the curve e is selected, and a signal obtained by orthogonally transforming the input signal is encoded.
To select the curve c at the time. When the curve c is selected when encoding a signal obtained by orthogonally transforming the input signal,
Instead of reducing the code amount, the high-frequency transform coefficient with small amplitude becomes zero, and the decoded image is blurred. That is, conversion
In the threshold processing of numbers, increase the threshold as the frequency increases.
As a result, the high-frequency transform coefficient with a small amplitude becomes zero,
The image will be blurred. The signal to be encoded is the input signal
Conversion coefficient of the inter-frame prediction error signal
Than the case of inter-frame prediction error of numbers or transform coefficients
By increasing the threshold, the code amount can be reduced instead of being restored.
The number image will be blurred. However, such a block has a large inter-frame prediction error, in other words, a large motion, so that even if the decoded image is blurred, there is no visual deterioration. The same applies to the configuration example of FIG. 6 except that the order of the inter-frame prediction and the orthogonal transformation is changed in the configuration example of FIG.

【0014】図3の閾値a,bの設定法としては、量子
化ステップサイズQとの比率に応じて設定する方法があ
る。例えば、直交変換が8行8列の2次元変換の場合、
図4(a),(b)のような値を設定する。図4
(a),(b)ではおのおの、ブロック内各位置の閾値
Thを量子化ステップサイズQに対する倍率で表してお
り、水平方向に左から右に行くほど高域になり、垂直方
向に上から下に行くほど高域になるような変換係数に対
する閾値を表している。図4(a),(b)に示した閾
値は、右上から左下への斜方向の線上で同じ値になって
いるが、このほか、左上角を頂点とする同心円状に値が
変化させても良く、同図の変化のしかたに限定するもの
ではない。
As a method for setting the thresholds a and b in FIG. 3, there is a method for setting the thresholds a and b in accordance with the ratio to the quantization step size Q. For example, when the orthogonal transformation is an eight-row, eight-column two-dimensional transformation,
Values such as those shown in FIGS. 4A and 4B are set. FIG.
In (a) and (b), the threshold value Th at each position in the block is represented by a scaling factor with respect to the quantization step size Q. The higher the frequency, the higher the frequency from left to right in the horizontal direction, and the lower the frequency in the vertical direction. Represents a threshold value for a transform coefficient such that the higher the frequency, the higher the frequency. The threshold values shown in FIGS. 4A and 4B have the same value on a diagonal line from the upper right to the lower left. However, the present invention is not limited to the method shown in FIG.

【0015】[0015]

【発明の効果】以上説明したように本発明によれば、直
交変換の各ブロックが復号画像に与える影響の違いを考
慮して、視覚的劣化を抑えながら符号量を削減できる。
As described above, according to the present invention, the code amount can be reduced while suppressing the visual deterioration in consideration of the difference in the effect of each block of the orthogonal transform on the decoded image.

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

【図1】本発明による一実施例の構成図。FIG. 1 is a configuration diagram of an embodiment according to the present invention.

【図2】図1中の閾値処理回路12の入出力特性を例示
する特性図。
FIG. 2 is a characteristic diagram illustrating input / output characteristics of a threshold processing circuit 12 in FIG. 1;

【図3】図1中の閾値メモリ14に記憶される閾値Th
の設定例を示す特性図。
FIG. 3 is a threshold Th stored in a threshold memory 14 in FIG. 1;
FIG. 6 is a characteristic diagram showing a setting example of FIG.

【図4】(a),(b)は図1の実施例について2次元
直交変換の場合に閾値メモリ14に記憶される閾値Th
の量子化ステップサイズQに対する倍率の設定例を示す
画面ブロック図。
FIGS. 4A and 4B show a threshold Th stored in a threshold memory 14 in the case of two-dimensional orthogonal transformation in the embodiment of FIG.
FIG. 9 is a screen block diagram showing an example of setting a scaling factor for a quantization step size Q of FIG.

【図5】図1の実施例の詳細な構成例を示すブロック
図。
FIG. 5 is a block diagram showing a detailed configuration example of the embodiment of FIG. 1;

【図6】図1の実施例の詳細な他の構成例を示すブロッ
ク図。
FIG. 6 is a block diagram showing another detailed configuration example of the embodiment of FIG. 1;

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

10 入力端子 12 閾値処理回路 13 量子化器 14 閾値メモリ 15,25 減算器 16,24,41 直交変換回路 17,26 フレームメモリ 18 逆変換回路 19,27 加算器 20 出力端子 21,31,43 判定回路 22,23,32,33,44 スイッチ 42 フレーム間予測処理回路 DESCRIPTION OF SYMBOLS 10 Input terminal 12 Threshold processing circuit 13 Quantizer 14 Threshold memory 15, 25 Subtractor 16, 24, 41 Orthogonal transformation circuit 17, 26 Frame memory 18 Inverse transformation circuit 19, 27 Adder 20 Output terminal 21, 31, 43 Judgment Circuit 22, 23, 32, 33, 44 Switch 42 Inter-frame prediction processing circuit

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 動画像信号をフレーム間予測および直交
変換の処理によりディジタル圧縮し、かつ直交変換のブ
ロック毎に入力信号の変換係数を符号化するか、フレー
ム間予測誤差信号の変換係数あるいは変換係数のフレー
ム間予測誤差を符号化するかを切換え、選択した符号化
対象信号を量子化し符号化する動画像信号の符号化方法
において、前記量子化をする前に閾値処理を行い、その
閾値処理に用いる閾値を変換係数が高域であるほど大き
く、かつ選択した符号化対象信号が入力信号の変換係数
の場合には、フレーム間予測誤差信号の変換係数あるい
は変換係数のフレーム間予測誤差の場合よりも大きく
定することを特徴とする動画像信号の符号化方法
1. A video signal is digitally compressed by inter-frame prediction and orthogonal transform processing, and transform coefficients of an input signal are encoded for each block of the orthogonal transform.
Transform coefficient of inter prediction error signal or frame of transform coefficient
Selects whether to encode the prediction error between
In a moving image signal encoding method for quantizing and encoding a target signal , a threshold value process is performed before the quantization, and a threshold value used for the threshold value process increases as the transform coefficient becomes higher.
And the selected encoding target signal is the transform coefficient of the input signal.
In the case of, the conversion coefficient of the inter-frame prediction error signal or
Coding method of the moving image signal, characterized by large set <br/> constant than in the case of inter-frame prediction error of the transform coefficients.
【請求項2】 前フレームでの局部復号信号を記憶する
フレームメモリと、前記フレームメモリに記憶されてい
る画像信号から生成される予測信号と入力画像信号との
差分である予測誤差信号を計算する減算器と、前記入力
画像信号および前記予測誤差信号のどちらかを符号化す
るかを判定する判定回路と、その判定結果に応じて前記
予測誤差信号および前記入力画像信号の一方を選択する
第1のスイッチと、前記第1のスイッチで選択された信
号を直交変換する直交変換回路と、前記直交変換回路の
出力信号に閾値メモリから通知される閾値に応じて閾値
処理を施す閾値処理回路と、前記閾値処理回路の出力信
号を量子化する量子化器と、前記量子化器の出力信号に
前記直交変換回路の逆変換を施す逆変換回路と、前記判
定回路の判定結果に応じて前記予測信号か零値かを選択
する第2のスイッチと、前記第2のスイッチで選択した
信号および前記逆変換回路の出力信号を加算し現フレー
ムでの局部復号信号を生成する加算器とを備えており、
前記閾値メモリから前記閾値処理回路に通知される閾値
は、前記閾値処理回路で処理される変換係数が高域であ
るほど大きく、かつ前記第1のスイッチで入力画像信号
を選択した場合には、予測誤差信号を選択した場合より
も大きな値が設定されていることを特徴とする動画像信
号の符号化装置。
2. A frame memory for storing a local decoded signal in a previous frame, and a prediction error signal which is a difference between a prediction signal generated from an image signal stored in the frame memory and an input image signal. A subtractor, a determination circuit for determining which of the input image signal and the prediction error signal is to be encoded, and a first circuit for selecting one of the prediction error signal and the input image signal according to the determination result A switch, an orthogonal transform circuit for orthogonally transforming the signal selected by the first switch, a threshold processing circuit that performs threshold processing according to a threshold value notified from a threshold memory to an output signal of the orthogonal transform circuit, A quantizer that quantizes an output signal of the threshold processing circuit, an inverse transform circuit that performs an inverse transform of the orthogonal transform circuit on an output signal of the quantizer, and a decision result of the decision circuit. A second switch for selecting between the predicted signal and the zero value in response thereto, and an adder for adding a signal selected by the second switch and an output signal of the inverse transform circuit to generate a local decoded signal in the current frame. And
The threshold value notified from the threshold value memory to the threshold value processing circuit is such that the transform coefficient processed by the threshold value processing circuit is in a high band.
And the input image signal is controlled by the first switch.
Is selected, the prediction error signal is selected.
A moving image signal encoding apparatus, wherein a large value is also set.
【請求項3】 入力画像信号に直交変換を施す直交変換
回路と、前フレームでの局部復号信号を記憶するフレー
ムメモリと、前記フレームメモリに記憶されている信号
から生成される予測信号と前記直交変換回路の出力信号
との差分である予測誤差信号を計算する減算器と、前記
直交変換回路の出力信号および前記予測誤差信号のどち
らを符号化するかを判定する判定回路と、その判定結果
に応じて前記予測誤差信号および前記直交変換回路の出
力信号の一方を選択する第1のスイッチと、前記第1の
スイッチで選択された信号に閾値メモリから通知される
閾値に応じて閾値処理を施す閾値処理回路と、前記閾値
処理回路の出力信号を量子化する量子化器と、前記判定
回路の判定結果に応じて前記予測信号か零値かを選択す
る第2のスイッチと、前記第2のスイッチで選択された
信号および前記量子化器の出力信号を加算し現フレーム
での局部復号信号を生成する加算器とを備えており、前
記閾値メモリから前記閾値処理回路に通知される閾値
は、前記閾値処理回路で処理される変換係数が高域であ
るほど大きく、かつ前記第1のスイッチで直交変換回路
の出力信号を選択した場合には、予測誤差信号を選択し
た場合よりも大きな値が設定されることを特徴とする動
画像信号の符号化装置。
3. An orthogonal transformation circuit for performing an orthogonal transformation on an input image signal, a frame memory storing a local decoded signal in a previous frame, and a prediction signal generated from a signal stored in the frame memory and the orthogonal signal. A subtractor that calculates a prediction error signal that is a difference from an output signal of the transformation circuit, a decision circuit that decides which of the output signal of the orthogonal transformation circuit and the prediction error signal is to be encoded, and a decision result thereof. A first switch for selecting one of the prediction error signal and the output signal of the orthogonal transform circuit in response to the threshold value, and performing a threshold process on the signal selected by the first switch in accordance with a threshold value notified from a threshold value memory A threshold processing circuit, a quantizer that quantizes an output signal of the threshold processing circuit, and a second switch that selects the prediction signal or a zero value according to a determination result of the determination circuit. An adder that adds the signal selected by the second switch and the output signal of the quantizer to generate a local decoded signal in the current frame, and notifies the threshold processing circuit from the threshold memory. The threshold to be processed is such that the conversion coefficient processed by the threshold processing circuit is in a high frequency range.
And a quadrature conversion circuit using the first switch.
If you select the output signal of
A moving image signal encoding apparatus, wherein a larger value is set than in the case where
JP22768593A 1993-09-14 1993-09-14 Moving image signal encoding method and apparatus Expired - Fee Related JP2591438B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22768593A JP2591438B2 (en) 1993-09-14 1993-09-14 Moving image signal encoding method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22768593A JP2591438B2 (en) 1993-09-14 1993-09-14 Moving image signal encoding method and apparatus

Publications (2)

Publication Number Publication Date
JPH0787488A JPH0787488A (en) 1995-03-31
JP2591438B2 true JP2591438B2 (en) 1997-03-19

Family

ID=16864735

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22768593A Expired - Fee Related JP2591438B2 (en) 1993-09-14 1993-09-14 Moving image signal encoding method and apparatus

Country Status (1)

Country Link
JP (1) JP2591438B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015015595A (en) * 2013-07-04 2015-01-22 富士通株式会社 Moving image encoding device, encoding mode determination method, and encoding program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3202270B2 (en) * 1991-10-04 2001-08-27 株式会社東芝 Video encoding device

Also Published As

Publication number Publication date
JPH0787488A (en) 1995-03-31

Similar Documents

Publication Publication Date Title
JP3025610B2 (en) Encoding method and apparatus
JPH01503509A (en) Hierarchical encoding method and device for effectively communicating a series of images
JPH0722962A (en) Method and apparatus for encoding/decoding for suppression of blocking artifact
JPH0686262A (en) Apparatus for encoding of image
KR20010110629A (en) Method and system for compressing motion image information
JP2894067B2 (en) Moving picture coding control method and moving picture coding apparatus
JP2892783B2 (en) Video signal encoding device
US5508745A (en) Apparatus for controlling a quantization level to be modified by a motion vector
US6512792B1 (en) Moving image encoding apparatus with a quantization step size different from the dequantization step size
JP2005151391A (en) Method and apparatus for coding moving image, and program
JP3015479B2 (en) Image processing device
JP3611461B2 (en) Video signal encoding device
JP2591438B2 (en) Moving image signal encoding method and apparatus
JP2901656B2 (en) Image coding device
JP2595875B2 (en) Moving image signal encoding method and apparatus
KR0157465B1 (en) Method and apparatus for determining quantization level according to image characteristics of image data
JP3738511B2 (en) Video coding system
JP2008160402A (en) Encoding device and method, and image encoding device
JP2897082B2 (en) Motion compensation variable length coding
JP2004266794A (en) Multi-resolution video coding and decoding
JP2797411B2 (en) Encoding device
JP2000165873A (en) Compression method for moving picture information and its system
JP4223577B2 (en) Image coding apparatus and method thereof, and image decoding apparatus and method thereof
JP2892701B2 (en) Video signal encoding device
JPH06217284A (en) Image encoding device

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19961029

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

Free format text: PAYMENT UNTIL: 20071219

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20081219

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20091219

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees