JP3286531B2 - Moving picture coding method and moving picture coding apparatus - Google Patents

Moving picture coding method and moving picture coding apparatus

Info

Publication number
JP3286531B2
JP3286531B2 JP19322396A JP19322396A JP3286531B2 JP 3286531 B2 JP3286531 B2 JP 3286531B2 JP 19322396 A JP19322396 A JP 19322396A JP 19322396 A JP19322396 A JP 19322396A JP 3286531 B2 JP3286531 B2 JP 3286531B2
Authority
JP
Japan
Prior art keywords
frequency
output
encoding
unit
variable
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
JP19322396A
Other languages
Japanese (ja)
Other versions
JPH1042291A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP19322396A priority Critical patent/JP3286531B2/en
Publication of JPH1042291A publication Critical patent/JPH1042291A/en
Application granted granted Critical
Publication of JP3286531B2 publication Critical patent/JP3286531B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

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 coding method and a moving picture coding apparatus.

【0002】[0002]

【従来の技術】MPEG(ISO11172,ISO1
3818)、H.261等の動画像圧縮符号化手法にお
いては、入力された映像信号(動画像信号)や、動き補
償を行った差分データに対して、離散コサイン変換(D
CT;Discrete Cosine Transform )等の周波数領域へ
の変換が施される。そして、周波数領域出力に対し所定
の量子化行列によって量子化処理が施される。この出力
を可変長符号化することで、符号化出力が得られる。
2. Description of the Related Art MPEG (ISO11172, ISO1)
3818); In a moving image compression encoding method such as H.261, a discrete cosine transform (D / D) is performed on an input video signal (moving image signal) or difference data on which motion compensation has been performed.
Transformation to a frequency domain such as CT (Discrete Cosine Transform) is performed. Then, the frequency domain output is subjected to a quantization process using a predetermined quantization matrix. By performing variable length coding on this output, a coded output is obtained.

【0003】図13に、従来のMPEG符号化装置10
1のブロック構成を示す。入力された映像信号(動画像
信号)は、領域分割手段102によって所定の領域に分
割される。この分割された領域は、マクロブロックと呼
ばれる単位(輝度領域で16×16画素)となり、符号
化の基本単位となる。この領域毎に動き予測などが行わ
れ、符号化のタイプ等が決定される。
FIG. 13 shows a conventional MPEG encoding apparatus 10.
1 shows a block configuration. The input video signal (moving image signal) is divided into predetermined regions by the region dividing means 102. The divided area is a unit called a macro block (16 × 16 pixels in a luminance area), and is a basic unit of encoding. Motion prediction or the like is performed for each area, and the type of coding and the like are determined.

【0004】分割された領域データは、動き予測手段1
03に入力される。動き予測手段103は、他の画像か
ら動き予測を行い、似ている領域が検索された場合には
その差分だけを符号化する。そして、後述する各手段1
09〜112における画像データの復元処理によって、
復号装置と同じ条件で復元された画像を用いてその画像
データから動き予測が行われる。動き予測による符号化
が行われる場合、動き予測手段103の出力は差分デー
タとなる。動き予測による符号化が行われない場合、動
き予測手段103からは画素データがそのまま出力され
ることになる。
[0004] The divided area data is sent to the motion estimating means 1
03 is input. The motion prediction unit 103 performs motion prediction from another image, and when a similar area is found, encodes only the difference. And each means 1 described later
By the restoration processing of the image data in 09 to 112,
Motion prediction is performed from the image data using an image restored under the same conditions as those of the decoding device. When coding by motion prediction is performed, the output of the motion prediction unit 103 is difference data. When the encoding by the motion prediction is not performed, the pixel data is output from the motion prediction unit 103 as it is.

【0005】出力された差分データや画素データは、周
波数変換手段104に送られる。周波数変換手段104
はDCTによって周波数変換を行う。この変換は、通
常、マクロブロック中の8×8画素を単位として行われ
る。尚、MPEG以外の動画像圧縮符号化手法では、D
CTに限らず、その他の適宜な周波数変換方法が用いら
れることもある。
The output difference data and pixel data are sent to the frequency conversion means 104. Frequency conversion means 104
Performs frequency conversion by DCT. This conversion is usually performed in units of 8 × 8 pixels in a macroblock. It should be noted that in moving picture compression encoding methods other than MPEG, D
Not only the CT but also other appropriate frequency conversion methods may be used.

【0006】演算された周波数成分は、量子化手段10
5にて量子化が行われる。量子化手段105は、人間の
視覚特性が高周波に対して鈍感であることを利用して、
高周波成分の除算値を大きく設定した所定の行列を用い
て各周波数成分の除算を行う。量子化手段105では、
復号化装置側で同じ行列を用いて乗算することにより、
高周波成分の精度を落して復元することができる。この
量子化を行う行列は、後述するレート制御手段108か
ら得られる量子化幅を乗算して演算される。この量子化
幅の値を大きく設定すれば高周波成分の丸めが大きく行
うことが可能になり、符号量の削減を行うことができ
る。そのため、この量子化幅の値を制御することにより
発生符号量(出力符号量)が制御される。
[0006] The calculated frequency component is supplied to a quantization means 10.
At 5, quantization is performed. The quantization means 105 uses the fact that human visual characteristics are insensitive to high frequencies,
The division of each frequency component is performed using a predetermined matrix in which the division value of the high frequency component is set large. In the quantization means 105,
By multiplying using the same matrix on the decoding device side,
High-frequency components can be restored with reduced accuracy. The matrix for performing the quantization is calculated by multiplying the quantization width obtained from the rate control unit 108 described later. If the value of the quantization width is set to a large value, it becomes possible to perform large rounding of high-frequency components, and it is possible to reduce the code amount. Therefore, the generated code amount (output code amount) is controlled by controlling the value of the quantization width.

【0007】量子化された出力は、可変長符号化手段1
06にて可変長符号化が行われる。可変長符号化手段1
06の符号化データ出力は、出力バッファメモリ107
へ送られる。ここで、可変長符号化手段106から出力
されるビットストリームは、可変長符号化のために各画
像毎に符号量が一定ではない。このため、出力バッファ
メモリ107において画像毎の符号量の違いが緩和さ
れ、符号化ビットストリームとして出力される。
[0007] The quantized output is supplied to a variable length coding means 1
At 06, variable length coding is performed. Variable length coding means 1
06 is output to the output buffer memory 107.
Sent to Here, the code amount of the bit stream output from the variable length coding unit 106 is not constant for each image because of the variable length coding. For this reason, in the output buffer memory 107, the difference in the code amount for each image is reduced, and the image is output as an encoded bit stream.

【0008】そして、レート制御手段108は、可変長
符号化手段106における可変長符号化の際に発生した
データ量を観測し、量子化手段105における量子化幅
を変更させることで、発生ビットレートを制御する。
[0008] The rate control means 108 observes the amount of data generated at the time of variable length coding in the variable length coding means 106, and changes the quantization width in the quantization means 105 to generate the generated bit rate. Control.

【0009】各手段109〜112は、動き補償を行う
ためのデータを内部で復元処理する。逆量子化手段10
9は量子化と逆条件で乗算を行う。周波数逆変換手段1
10は、周波数変換手段104における周波数変換の逆
変換を行う。周波数変換手段104ではDCTによって
周波数変換が行われるため、周波数逆変換手段110で
は逆DCTによって周波数逆変換が行われる。動き補償
手段111は、周波数逆変換手段110における周波数
逆変換によって得られたデータに対して、符号化と逆の
動き補償を行い、画像データを復元する。そして、復元
されたデータを画像メモリ112に記憶し、次の画像の
動き予測に用いる。
Each of the means 109 to 112 internally restores data for performing motion compensation. Inverse quantization means 10
No. 9 performs multiplication under the inverse condition of quantization. Frequency inversion means 1
Numeral 10 performs inverse conversion of the frequency conversion in the frequency conversion unit 104. Since the frequency transform unit 104 performs the frequency transform by DCT, the frequency inverse transform unit 110 performs the inverse frequency transform by the inverse DCT. The motion compensator 111 performs motion compensation reverse to the encoding on the data obtained by the frequency inverse transform performed by the frequency inverse transformer 110 to restore the image data. Then, the restored data is stored in the image memory 112 and used for motion estimation of the next image.

【0010】尚、動き情報やマクロブロックの符号化方
法等の情報も同様に可変長符号化されてバッファメモリ
107に入力されるが、ここでは説明を省略する。
The motion information and the information such as the macroblock encoding method are also variable-length-coded and input to the buffer memory 107, but the description is omitted here.

【0011】[0011]

【発明が解決しようとする課題】可変長符号化手段10
6においては、周波数変換と量子化を行ったデータに適
応した符号化方法が採られる。通常の画像データにおい
ては、そのエネルギー分布は低周波側に集中している。
高周波成分の精度を落とした量子化後のデータは、更に
エネルギー分布が低周波側に集中し、高周波成分は
「0」の多いものとなる。このため、このようなデータ
の符号化は、低周波側から高周波側へジグザグにデータ
をスキャンし、(「0」の数)と(それに続くデータ
値)という対応テーブルを用いて行われる。ただし、こ
れらのデータの中でも当然出現頻度が高いのは(「0」
の数)が少ないもの、(それに続くデータ値)が小さい
ものとなり、この様なデータに相当する符号は符号長の
短いものが割当てられている。逆に(「0」の数)が極
端に多いもの、(それに続くデータ値)が極端に大きい
ものについては、ほとんどデータ中に出現しないために
テーブル自体が存在せず、例外処理として符号化が行わ
れる。その例外処理は、MPEG2(ISO1381
8)ではエスケープ符号化処理と呼ばれる。
SUMMARY OF THE INVENTION Variable length coding means 10
In No. 6, an encoding method adapted to data subjected to frequency conversion and quantization is adopted. In ordinary image data, the energy distribution is concentrated on the low frequency side.
In the quantized data in which the precision of the high frequency component is reduced, the energy distribution is further concentrated on the low frequency side, and the high frequency component has many “0”. Therefore, such data encoding is performed by scanning the data zigzag from the low frequency side to the high frequency side and using a correspondence table of (the number of "0") and (the data value that follows). However, the appearance frequency of these data is naturally high ("0"
), And (the subsequent data value) are small, and codes corresponding to such data are assigned codes having a short code length. Conversely, for those having an extremely large number of "0" and those having an extremely large (data value that follows), the table itself does not exist because it hardly appears in the data. Done. The exception processing is performed according to MPEG2 (ISO1381).
8) is called an escape encoding process.

【0012】図14に、可変長符号化手段106の内部
構成を示す。Run−Level処理手段301は、入
力された量子化データを(「0」の数)と(それに続く
データ値)との組合せに変換する。Run−Level
処理手段301の出力データは、ROM302および各
手段303,304へ出力される。ROM302は可変
長符号化テーブルを記憶している。エスケープ符号付加
手段303は、Run−Level処理手段301の出
力データに、エスケープ符号(MPEG2では「000
001」の6bit固定長符号)を付加し、(エスケー
プ符号)+(「0」の数)+(実際のデータ)という符
号に変換する。MPEG2において、エスケープ符号は
「000001」の6bit固定長符号であり、
(「0」の数)は6bit固定長符号、実際のデータは
12bit固定長符号であるため、常に24bitの符
号長を必要とする。エスケープ判断手段304はエスケ
ープ符号化処理が行われるかどうかを判断する。
FIG. 14 shows the internal configuration of the variable length coding means 106. The Run-Level processing means 301 converts the input quantized data into a combination of (the number of “0”) and (a data value that follows). Run-Level
Output data of the processing means 301 is output to the ROM 302 and each of the means 303 and 304. The ROM 302 stores a variable length encoding table. The escape code adding unit 303 adds an escape code (“000 in MPEG2”) to the output data of the run-level processing unit 301.
001 ”(6-bit fixed-length code), and converted into a code of (escape code) + (number of“ 0 ”) + (actual data). In MPEG2, the escape code is a 6-bit fixed-length code of “000001”,
(The number of "0") is a 6-bit fixed length code, and the actual data is a 12-bit fixed length code, so that a 24-bit code length is always required. The escape determination means 304 determines whether or not an escape encoding process is performed.

【0013】マルチプレクサ(MUX)305は、エス
ケープ判断手段304の指示に従い、ROM302の出
力とエスケープ符号付加手段303の出力とのいずれか
一方を選択して符号化データ出力とする。すなわち、マ
ルチプレクサ305は、エスケープ符号化処理が行われ
る場合はエスケープ符号付加手段305の出力を符号化
データ出力とし、エスケープ符号化処理が行われない場
合はROM302の出力を符号化データ出力とする。
A multiplexer (MUX) 305 selects one of the output of the ROM 302 and the output of the escape code adding means 303 in accordance with an instruction from the escape judging means 304 to output encoded data. That is, the multiplexer 305 outputs the output of the escape code adding unit 305 as encoded data output when the escape encoding process is performed, and outputs the output of the ROM 302 as the encoded data output when the escape encoding process is not performed.

【0014】このように、可変長符号化手段106は、
エスケープ符号化処理が行われる場合、入力された量子
化データ(実際のデータ;12bit固定長符号)の倍
のデータ量の符号化データ出力(=(エスケープ符号;
6bit)+(「0」の数;6bit)+(実際のデー
タ))を出力する。
As described above, the variable length coding means 106
When the escape encoding process is performed, an encoded data output (= (escape code; which is twice as large as the input quantized data (actual data; 12-bit fixed-length code))
6 bits) + (the number of “0”; 6 bits) + (actual data) is output.

【0015】ROM302に記憶されている可変長符号
化テーブルは、理想的な状態を想定して設定されてい
る。しかし、アナログメディアや通常のテレビ放送の映
像信号は理想的な状態とはいえず、様々なノイズ成分が
混入しているため、周波数変換を行った際に非常に大き
な高周波成分が発生し、可変長符号化テーブル外のデー
タになってしまうことが多い。この可変長符号化テーブ
ル外のデータについて、エスケープ符号化処理が行われ
る。
The variable length coding table stored in the ROM 302 is set assuming an ideal state. However, video signals of analog media and ordinary TV broadcasts are not ideal, and various noise components are mixed in. In many cases, the data is outside the long coding table. Escape encoding is performed on data outside the variable length encoding table.

【0016】従って、可変長符号化手段106におい
て、エスケープ符号化処理が行われる頻度が高くなり、
符号化データ出力のデータ量が多くなる。その結果、ノ
イズによって生じる高周波成分に与えるデータ量が多く
なることで、復元画像に必要な低周波成分に与えなけれ
ばならない筈のデータ量が少なくなってしまい、復号画
像の画質が劣化するという問題があった。
Accordingly, the frequency of performing the escape encoding process in the variable length encoding means 106 increases,
The data amount of the encoded data output increases. As a result, the amount of data given to high-frequency components caused by noise increases, so that the amount of data that must be given to low-frequency components required for a restored image decreases, and the quality of a decoded image deteriorates. was there.

【0017】本発明は上記問題点を解決するためになさ
れたものであって、その目的は、ノイズ成分を効果的に
除去し、復号画像の画質を向上させることが可能な動画
像符号化方法または動画像符号化装置を提供することに
ある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to provide a moving picture coding method capable of effectively removing noise components and improving the quality of a decoded picture. Another object is to provide a moving picture encoding device.

【0018】[0018]

【課題を解決するための手段】請求項1に記載の発明
は、入力された動画像信号を周波数領域に変換し、周波
数領域出力を所定の量子化行列を用いて量子化処理を施
し、量子化出力を所定のテーブルに従って可変長符号化
し、該テーブルに合致しないデータを例外処理として符
号化する動画像符号化方法であって、前記可変長符号化
を行う際に、前記例外処理の発生頻度を観測し、該発生
頻度に応じて、前記入力動画像信号に帯域制限を行うこ
とをその要旨とする。
According to the first aspect of the present invention, an input moving image signal is converted into a frequency domain, and a frequency domain output is subjected to a quantization process using a predetermined quantization matrix, and a quantization process is performed. A variable-length encoding of the encoded output according to a predetermined table, and encoding data that does not match the table as exceptional processing, wherein, when performing the variable-length encoding, the frequency of occurrence of the exceptional processing The gist of the present invention is that the bandwidth of the input moving image signal is limited according to the occurrence frequency.

【0019】請求項2に記載の発明は、入力された動画
像信号を周波数領域に変換し、周波数領域出力を所定の
量子化行列を用いて量子化処理を施し、量子化出力を所
定のテーブルに従って可変長符号化し、該テーブルに合
致しないデータを例外処理として符号化する動画像符号
化方法であって、前記可変長符号化を行う際に、前記例
外処理の発生頻度を観測し、該発生頻度に応じて、前記
周波数変換の出力に帯域制限を行うことをその要旨とす
る。
According to a second aspect of the present invention, an input moving image signal is converted into a frequency domain, a frequency domain output is subjected to a quantization process using a predetermined quantization matrix, and the quantized output is stored in a predetermined table. A variable-length encoding according to the following, and encodes data that does not match the table as exceptional processing, wherein when performing the variable-length encoding, the occurrence frequency of the exceptional processing is observed, The gist of the present invention is to limit the band of the frequency conversion output according to the frequency.

【0020】請求項3に記載の発明は、入力された動画
像信号を周波数領域に変換し、周波数領域出力を所定の
量子化行列を用いて量子化処理を施し、量子化出力を所
定のテーブルに従って可変長符号化し、該テーブルに合
致しないデータを例外処理として符号化する動画像符号
化方法であって、前記可変長符号化を行う際に、前記例
外処理の発生頻度を観測し、該発生頻度に応じて、前記
量子化処理の出力に帯域制限を行うことをその要旨とす
る。
According to a third aspect of the present invention, an input moving image signal is converted into a frequency domain, a frequency domain output is subjected to a quantization process using a predetermined quantization matrix, and the quantized output is stored in a predetermined table. A variable-length encoding according to the following, and encodes data that does not match the table as exceptional processing, wherein when performing the variable-length encoding, the occurrence frequency of the exceptional processing is observed, The gist of the present invention is to limit the bandwidth of the output of the quantization process according to the frequency.

【0021】請求項4に記載の発明は、入力された動画
像信号を周波数領域に変換し、周波数領域出力を所定の
量子化行列を用いて量子化処理を施し、量子化出力を所
定のテーブルに従って可変長符号化し、該テーブルに合
致しないデータを例外処理として符号化する動画像符号
化方法であって、前記可変長符号化を行う際に、前記例
外処理の発生頻度を観測し、該発生頻度に応じて、前記
量子化処理時に用いる量子化行列の値を変更することを
その要旨とする。
According to a fourth aspect of the present invention, an input moving image signal is converted into a frequency domain, a frequency domain output is subjected to a quantization process using a predetermined quantization matrix, and the quantized output is stored in a predetermined table. A variable-length encoding according to the following, and encodes data that does not match the table as exceptional processing, wherein when performing the variable-length encoding, the occurrence frequency of the exceptional processing is observed, The gist of the present invention is to change the value of a quantization matrix used in the quantization processing according to the frequency.

【0022】請求項5に記載の発明は、請求項1〜請求
項4のいずれか1項に記載の動画像符号化方法におい
て、前記例外処理を観測する際に、高周波成分により発
生したものだけを観測することをその要旨とする。
According to a fifth aspect of the present invention, in the moving picture coding method according to any one of the first to fourth aspects, when the exception processing is observed, only the one generated by a high-frequency component is observed. The main point is to observe.

【0023】請求項6に記載の発明は、入力された動画
像信号を周波数領域に変換する変換手段と、該周波数変
換手段の周波数領域出力を所定の量子化行列を用いて量
子化する量子化手段と、該量子化手段の量子化出力を所
定の符号化テーブルで可変長符号化し、該テーブルに合
致しないデータを例外処理として符号化する可変長符号
化手段と、前記可変長符号化手段における前記例外処理
の発生頻度を観測する観測手段と、該観測手段の出力に
応じて、前記入力動画像信号に帯域制限を行う帯域制限
手段とを備えたことをその要旨とする。
According to a sixth aspect of the present invention, there is provided a transforming means for transforming an input video signal into a frequency domain, and a quantization for quantizing a frequency domain output of the frequency transforming means using a predetermined quantization matrix. Means, variable-length coding means for performing variable-length coding on the quantized output of the quantization means using a predetermined coding table, and coding data which does not match the table as exceptional processing; The gist of the present invention is to provide an observation unit for observing the frequency of occurrence of the exception processing, and a band limiting unit for limiting the band of the input moving image signal according to an output of the observation unit.

【0024】請求項7に記載の発明は、入力された動画
像信号を周波数領域に変換する変換手段と、該周波数変
換手段の周波数領域出力を所定の量子化行列を用いて量
子化する量子化手段と、該量子化手段の量子化出力を所
定の符号化テーブルで可変長符号化し、該テーブルに合
致しないデータを例外処理として符号化する可変長符号
化手段と、前記可変長符号化手段における前記例外処理
の発生頻度を観測する観測手段と、該観測手段の出力に
応じて、前記周波数変換手段の出力に帯域制限を行う帯
域制限手段とを備えたことをその要旨とする。
According to a seventh aspect of the present invention, there is provided a transforming means for transforming an input moving picture signal into a frequency domain, and a quantization for quantizing a frequency domain output of the frequency transforming means using a predetermined quantization matrix. Means, variable-length coding means for performing variable-length coding on the quantized output of the quantization means using a predetermined coding table, and coding data which does not match the table as exceptional processing; The gist of the present invention is that an observing unit that observes the frequency of occurrence of the exception processing and a band limiting unit that limits a band of an output of the frequency converting unit according to an output of the observing unit are provided.

【0025】請求項8に記載の発明は、入力された動画
像信号を周波数領域に変換する変換手段と、該周波数変
換手段の周波数領域出力を所定の量子化行列を用いて量
子化する量子化手段と、該量子化手段の量子化出力を所
定の符号化テーブルで可変長符号化し、該テーブルに合
致しないデータを例外処理として符号化する可変長符号
化手段と、前記可変長符号化手段における前記例外処理
の発生頻度を観測する観測手段と、該観測手段の出力に
応じて、前記量子化手段の出力に帯域制限を行う帯域制
限手段とを備えたことをその要旨とする。
According to an eighth aspect of the present invention, there is provided a conversion means for converting an input moving image signal into a frequency domain, and a quantization means for quantizing a frequency domain output of the frequency conversion means using a predetermined quantization matrix. Means, variable-length coding means for performing variable-length coding on the quantized output of the quantization means using a predetermined coding table, and coding data which does not match the table as exceptional processing; The gist of the present invention is that an observing unit that observes the frequency of occurrence of the exception processing and a band limiting unit that limits the band of the output of the quantizing unit according to the output of the observing unit.

【0026】請求項9に記載の発明は、入力された動画
像信号を周波数領域に変換する変換手段と、該周波数変
換手段の周波数領域出力を所定の量子化行列を用いて量
子化する量子化手段と、該量子化手段の量子化出力を所
定の符号化テーブルで可変長符号化し、該テーブルに合
致しないデータを例外処理として符号化する可変長符号
化手段と、前記可変長符号化手段における前記例外処理
の発生頻度を観測する観測手段と、該観測手段の出力に
応じて、前記量子化手段が演算時に用いる量子化行列の
値を変更する制御手段とを備えたことをその要旨とす
る。
According to a ninth aspect of the present invention, there is provided a transforming means for transforming an input moving image signal into a frequency domain, and a quantization means for quantizing a frequency domain output of the frequency transforming means using a predetermined quantization matrix. Means, variable-length coding means for performing variable-length coding on the quantized output of the quantization means using a predetermined coding table, and coding data which does not match the table as exceptional processing; The gist of the present invention is that observation means for observing the frequency of occurrence of the exception processing and control means for changing a value of a quantization matrix used at the time of operation by the quantization means in accordance with an output of the observation means are provided. .

【0027】請求項10に記載の発明は、請求項6〜請
求項9のいずれか1項に記載の動画像符号化装置におい
て、前記観測手段は、高周波成分により発生した例外処
理だけを観測することをその要旨とする。
According to a tenth aspect of the present invention, in the moving picture coding apparatus according to any one of the sixth to ninth aspects, the observing means observes only the exception processing caused by the high frequency component. That is the gist.

【0028】[0028]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

(第1実施形態)以下、本発明を具体化した第1実施形
態を図面に従って説明する。尚、本実施形態において、
図13および図14に示した従来の形態と同じ構成部材
については符号を等しくしてその詳細な説明を省略す
る。
(First Embodiment) Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. In this embodiment,
The same components as those in the conventional embodiment shown in FIGS. 13 and 14 are denoted by the same reference numerals, and detailed description thereof will be omitted.

【0029】図1に、本実施形態の符号化装置1のブロ
ック構成を示す。周波数変換手段104は、入力された
画素データや差分データに対して、DCTによる周波数
変換を行う。その周波数変換されたデータは帯域制限手
段2に入力される。帯域制限手段2は、入力されたデー
タに帯域制限処理を施す。この帯域制限処理としては以
下のものがある。
FIG. 1 shows a block configuration of an encoding device 1 according to the present embodiment. The frequency conversion unit 104 performs frequency conversion by DCT on the input pixel data and difference data. The frequency-converted data is input to the band limiting unit 2. The band limiting unit 2 performs a band limiting process on the input data. The band limiting process includes the following.

【0030】(1) 入力されたデータ中の所定領域以上の
高周波成分を一切除去する。 (2) 入力されたデータ中の所定領域以上の高周波成分を
制限する。つまり、入力されたデータ中の低周波成分に
ついてはそのまま通過させ、高周波成分については大き
な値で除算する。このようにすれば、復号化装置(図示
略)において、高周波成分を処理しないようにすること
ができる。
(1) High-frequency components above a predetermined region in the input data are completely removed. (2) High-frequency components in a predetermined area or more in input data are limited. That is, the low-frequency component in the input data is passed as it is, and the high-frequency component is divided by a large value. In this way, it is possible to prevent a decoding device (not shown) from processing high-frequency components.

【0031】ここで、高周波成分の除去や制限の指標と
しては、後述する例外処理観測手段3の観測した例外処
理の出現回数を用い、エスケース符号化処理(例外処
理)の出現回数が多い場合には高周波成分の除去や制限
の程度を大きくする。
Here, as an index of removal or restriction of high frequency components, the number of occurrences of exception processing observed by the exception processing observation means 3 described later is used. In this case, the degree of removal and restriction of high frequency components is increased.

【0032】帯域制限手段2の出力は量子化手段105
に入力される。量子化手段105は量子化処理を行う。
量子化手段105の出力は、可変長符号化手段106に
て可変長符号化が行われる。
The output of the band limiting means 2 is supplied to the quantization means 105.
Is input to The quantization means 105 performs a quantization process.
The output of the quantization means 105 is subjected to variable length coding by the variable length coding means 106.

【0033】可変長符号化手段106の符号化データ出
力は、出力バッファメモリ107へ送られる。ここで、
可変長符号化手段106から出力されるビットストリー
ムは、可変長符号化のために各画像毎にビットレートが
一定ではない。このため、出力バッファメモリ107に
おいて画像毎のデータ量の違いが緩和され、符号化ビッ
トストリームとして出力される。
The encoded data output of the variable length encoding means 106 is sent to an output buffer memory 107. here,
The bit rate of the bit stream output from the variable length coding unit 106 is not constant for each image because of the variable length coding. For this reason, in the output buffer memory 107, the difference in the amount of data for each image is reduced, and the image is output as an encoded bit stream.

【0034】レート制御手段108は、可変長符号化手
段106における可変長符号化の際に発生したデータ量
を観測し、量子化手段105における量子化幅を変更さ
せることで、発生ビットレートを制御する。
The rate control means 108 observes the amount of data generated at the time of variable-length coding in the variable-length coding means 106 and controls the generated bit rate by changing the quantization width in the quantization means 105. I do.

【0035】例外処理観測手段108は、可変長符号化
手段106において発生したエスケープ符号化処理の出
現回数を観測し、その出現回数が極端に多い場合にはノ
イズ成分が多く発生しているものと判断し、帯域制限手
段2の帯域制限処理を制御することにより高周波成分を
除去もしくは制限する。
The exception processing observation means 108 observes the number of appearances of the escape coding process generated in the variable length coding means 106, and if the number of occurrences is extremely large, it is determined that many noise components are generated. Judgment is made, and high-frequency components are removed or limited by controlling the band limiting process of the band limiting means 2.

【0036】図2に、通常の量子化データの符号化例を
示す。図2(a)に、量子化データのスキャン順を示
す。8×8画素でDCTを行ったデータは、左上端が直
流成分となり、矢印方向に進んで画素点に与えた番号が
大きくなるにつれて周波数が高くなる。通常の画素デー
タでは周波数領域のエネルギー分布が低周波側に集中す
る。このため、図2(a)の矢印及び画素点に与えた番
号に示すように、低周波側から高周波側に向かってデー
タをジグザグにスキャンし、その時のデータ中に並ぶ
(「0」の数)と(それに続くデータ値)との組を、可
変長符号化テーブルを用いて符号化する。
FIG. 2 shows an example of coding of ordinary quantized data. FIG. 2A shows the scan order of the quantized data. The data obtained by performing DCT on 8 × 8 pixels has a DC component at the upper left end, and the frequency increases as the number given to the pixel point increases in the direction of the arrow. In normal pixel data, the energy distribution in the frequency domain is concentrated on the low frequency side. Therefore, as shown by the arrows and the numbers given to the pixel points in FIG. 2A, the data is zigzag-scanned from the low frequency side to the high frequency side, and arranged in the data at that time (the number of “0”). ) And (subsequent data values) are encoded using a variable length encoding table.

【0037】図2(b)に、実際の量子化データの例を
示す。図2(c)に、図2(b)に示す量子化データ
を、(「0」の数)と(それに続くデータ値)との組に
変換し、可変長符号化テーブルを用いて符号化した結果
を示す。
FIG. 2B shows an example of actual quantized data. In FIG. 2C, the quantized data shown in FIG. 2B is converted into a set of (the number of “0”) and (a data value that follows), and is encoded using a variable-length encoding table. The results are shown.

【0038】図2(c)において、最後の2つのデータ
の組合せA,Bがエスケープ符号化処理に相当する。前
記したように、エスケープ符号化処理の場合には、24
bitの符号長を必要とする。そのため、各データの組
合せA,Bは両方共に24bitの符号長を必要とし、
その合計符号長は48bitになる。それに対して、量
子化データの64個の演算単位(画素点)の符号長を合
計した値は99bitになる。つまり、各データの組合
せA,Bは、全ての量子化データの符号長の48.5%
を占有することになる。しかし、前記したように、エス
ケープ符号化処理の対象となるデータは、実際にはノイ
ズ成分であることが多い。このため、エスケープ符号化
処理の対象となるデータを除去もしくは制限しても復号
画像の画質には影響が生じない場合がほとんどである。
従って、図2(b)に示す量子化データの内、高周波成
分である右下側を除去もしくは制限しても画質に大きな
影響は生じない ところで、四則演算の可換則に従って、帯域制限手段2
における帯域制限と、量子化手段105における量子化
処理との順序を入れ替え、量子化した出力に対して帯域
制限を行っても、同様の結果を得ることができる。つま
り、符号化装置1において、周波数変換手段104の出
力を量子化手段105へ入力し、量子化手段105の出
力を帯域制限手段2へ入力し、帯域制限手段2の出力を
可変長符号化手段106へ入力するようにしてもよい。
In FIG. 2C, the last two data combinations A and B correspond to the escape encoding process. As described above, in the case of escape encoding processing, 24
It requires a bit code length. Therefore, both combinations A and B of each data require a code length of 24 bits,
The total code length is 48 bits. On the other hand, the sum of the code lengths of the 64 operation units (pixel points) of the quantized data is 99 bits. That is, the combination A, B of each data is 48.5% of the code length of all the quantized data.
Will be occupied. However, as described above, the data to be subjected to the escape encoding process is often a noise component. For this reason, in most cases, even if the data to be subjected to the escape encoding process is removed or restricted, the image quality of the decoded image is not affected.
Therefore, even if the lower right side, which is a high-frequency component, is removed or restricted from the quantized data shown in FIG. 2B, there is no significant effect on the image quality.
The same result can be obtained by exchanging the order of the band limitation in and the quantization processing in the quantization means 105 and performing band limitation on the quantized output. That is, in the encoding device 1, the output of the frequency conversion unit 104 is input to the quantization unit 105, the output of the quantization unit 105 is input to the band limiting unit 2, and the output of the band limiting unit 2 is The information may be input to the input unit 106.

【0039】ところで、可変長符号化手段106におけ
るエスケープ符号化処理には以下の二つの種類がある。 図2の各データの組合せA,Bに示したように、
(「0」の数)が大きいもの。この場合は、それまで多
くの0が続いているため、ノイズ成分によるものである
ことが容易に判断できる。
By the way, there are the following two types of escape encoding processing in the variable length encoding means 106. As shown in combinations A and B of each data in FIG.
(The number of "0") is large. In this case, since many 0s continue until then, it can be easily determined that the noise component is caused.

【0040】(それに続くデータ値)が大きいもの。
この場合は、(「0」の数)が小さい場合でもエスケー
プ符号化処理となる。そのため、低周波成分についても
エスケース符号化処理とされるため、復号画像の画質に
大きな影響を及ぼす。つまり、単純にエスケープ符号化
処理の出現回数だけを観測しただけでは、ノイズ成分に
よるものであると判断することはできない。
(The data value that follows) is large.
In this case, the escape encoding process is performed even when (the number of “0”) is small. Therefore, since the low-frequency component is also subjected to the S-case encoding process, the image quality of the decoded image is significantly affected. That is, it is not possible to determine that the noise is caused by a noise component simply by observing only the number of appearances of the escape encoding process.

【0041】そこで、図3に示すように、エスケープ符
号化処理における(「0」の数)を観測し、(「0」の
数)が所定値よりも大きい場合に発生するエスケープ符
号化処理の出現回数を観測することで、ノイズ成分によ
るエスケープ符号化処理かどうかを判断する。
Therefore, as shown in FIG. 3, (number of "0") in the escape encoding process is observed, and the escape encoding process which occurs when (the number of "0") is larger than a predetermined value is performed. By observing the number of appearances, it is determined whether or not the escape encoding process is performed using a noise component.

【0042】または、図4に示すように、(「0」の
数)と(それに続くデータ値)の両方を観測し、
(「0」の数)が所定値よりも大きい場合で、且つ、
(それに続くデータ値)が所定値よりも小さい場合に発
生するエスケープ符号化処理の出現回数を観測すること
で、ノイズ成分によるエスケープ符号化処理かどうかを
判断する。
Alternatively, as shown in FIG. 4, both (the number of “0”) and (the data value that follows) are observed,
(The number of “0”) is greater than a predetermined value, and
By observing the number of appearances of the escape encoding process that occurs when (the data value that follows) is smaller than a predetermined value, it is determined whether or not the escape encoding process is a noise component.

【0043】尚、図2(a)に示すジグザクスキャン順
において、所定の順番移行に発生したエスケープ符号化
処理の出現回数を観測することで、ノイズ成分によるエ
スケープ符号化処理かどうかを判断してもよい。
In the zigzag scan order shown in FIG. 2A, by observing the number of occurrences of the escape encoding process occurring in a predetermined order transition, it is determined whether or not the escape encoding process is a noise component. Is also good.

【0044】ところで、(「0」の数)を数える方法に
は以下のものがある。 [1] 例外処理観測手段3内に(「0」の数)をカウント
する手段を設ける方法。
By the way, there are the following methods for counting (the number of "0"). [1] A method in which a means for counting (the number of “0”) is provided in the exceptional processing observation means 3.

【0045】[2] (「0」の数)は6ビット固定長符号
であるため、その最上位ビットが「1」であるかどうか
を判断することにより、(「0」の数)が32以上かど
うかを否かを判定することができる。そして、(「0」
の数)が32以上の場合には、ノイズ成分によるエスケ
ープ符号化処理であると判断する。
[2] Since (the number of “0”) is a 6-bit fixed-length code, it is determined whether or not the most significant bit is “1”. It can be determined whether or not this is the case. And ("0"
Is greater than or equal to 32, it is determined that the escape encoding process is performed using a noise component.

【0046】この様子を図5に示す。図内402は図2
と同じ量子化データの例である。これに502に相当す
る行列を乗じることにより、この行列上で0の部分のデ
ータは消失し、高周波成分が除去されることになる。こ
の場合には数値として0もしくは1だけの整数値を用い
たが、これを図6の601〜603に示す行列のように
実数値とし、小数点以下を導入することにより、高周波
成分を劣化、制限することが可能となる。これによりノ
イズが原因と見られるデータの発生を妨げ、結果として
画質の改善を行うことが可能となる。また、この演算で
は1以下の値で乗算すると説明したが、この逆として、
1以上の数値で除算する形式でも同じ効果を得ることが
可能である。
FIG. 5 shows this state. 402 in the figure is FIG.
This is an example of the same quantized data. By multiplying this by a matrix corresponding to 502, the data of the 0 portion on this matrix disappears, and the high-frequency component is removed. In this case, an integer value of only 0 or 1 was used as a numerical value. However, this is converted into a real numerical value like a matrix shown by 601 to 603 in FIG. It is possible to do. As a result, generation of data that is considered to be caused by noise is prevented, and as a result, image quality can be improved. In this calculation, multiplication by a value of 1 or less has been described.
The same effect can be obtained even in the form of division by one or more numerical values.

【0047】そして、例外処理観測処理3によって観測
された例外処理(エスケープ符号の発生頻度)の所定時
間辺りの発生数をもとにどのような帯域制限を行うかが
決定される。この様子を図7に示す。701〜703は
それぞれ、図5での乗算用の行列を示しており、701
〜703と高周波成分の制限が強くなっている。この行
列データを用いると、例えば703のような行列では、
高周波成分はほとんど除去されることになる。
Then, what kind of band limitation is to be performed is determined based on the number of occurrences of exception processing (frequency of occurrence of escape codes) observed by the exception processing observation processing 3 around a predetermined time. This is shown in FIG. Numerals 701 to 703 indicate matrices for multiplication in FIG.
To 703, the restriction of the high frequency component is strong. Using this matrix data, for example, in a matrix like 703,
High frequency components are almost completely removed.

【0048】帯域制限用の行列の値に実数値を用いた場
合の例を図6に示す。601〜603はそれぞれ、図5
での乗算用の行列を示しており、601〜603と高周
波成分の制限が強くなっている。このように変化させる
ことにより、高周波側の制限を可変することができ、可
変長符号化部における例外処理の発生頻度に応じてこの
ように行列を変化させてノイズ成分を除去することにな
る。また、この場合には乗算の例を示したが、勿論この
値の逆数を用いて除算する構成も可能である。
FIG. 6 shows an example in which real values are used for the values of the band limiting matrix. 601 to 603 are respectively shown in FIG.
2 shows a matrix for multiplication in which the high frequency components 601 to 603 are more restricted. By changing in this way, the restriction on the high frequency side can be changed, and the matrix is changed in this way in accordance with the frequency of occurrence of exception processing in the variable length coding unit, thereby removing noise components. Further, in this case, an example of multiplication has been described, but of course, a configuration in which division is performed using the reciprocal of this value is also possible.

【0049】図8に、図1に示す符号化装置1をMPE
G符号化装置11に適用した場合のブロック構成を示
す。 (第2実施形態)以下、本発明を具体化した第2実施形
態を図面に従って説明する。尚、本実施形態において、
第1実施形態と同じ構成部材については符号を等しくし
てその詳細な説明を省略する。
FIG. 8 shows the encoding apparatus 1 shown in FIG.
2 shows a block configuration when applied to the G encoding device 11. (Second Embodiment) Hereinafter, a second embodiment of the present invention will be described with reference to the drawings. In this embodiment,
The same components as those in the first embodiment have the same reference numerals, and a detailed description thereof will be omitted.

【0050】図9に、本実施形態の符号化装置21のブ
ロック構成を示す。第1実施形態では、帯域制限と量子
化とを別にした構成について説明したが、これを一つの
処理で行うことも可能である。最終的な処理結果として
は図1において説明した符号化装置と同じものが得られ
る。入力された画素データは周波数変換手段104によ
って周波数領域のデータに変換される。これが量子化手
段105に入力されることになるが、この際に量子化に
用いられる量子化行列が、後段の可変長符号化の際に発
生した例外処理の頻度によって変更されることになる。
FIG. 9 shows a block configuration of the encoding device 21 of the present embodiment. In the first embodiment, the configuration in which the band limitation and the quantization are separated has been described. However, it is also possible to perform this in one process. As the final processing result, the same one as the encoding device described in FIG. 1 is obtained. The input pixel data is converted by the frequency conversion means 104 into data in the frequency domain. This is input to the quantization means 105. At this time, the quantization matrix used for quantization is changed depending on the frequency of exception processing that occurs during the subsequent variable-length encoding.

【0051】図1の符号化装置では、帯域制御手段2に
より、図5に示すように画素データがDCT等の周波数
変換が施された後、502に示すような行列によって乗
算処理が施される。そしてその処理後のデータが図1に
おける量子化手段によって量子化が施されるが、この量
子化は行列による除算処理である。このため、この量子
化行列と帯域制限行列で除算したもので周波数領域のデ
ータを除算すれば、同じ処理が行えることになる。図9
においてこの行列演算を行うのが量子化行列変更手段2
2である。
In the encoding apparatus shown in FIG. 1, after the pixel data is subjected to frequency transformation such as DCT by the band control means 2 as shown in FIG. . Then, the data after the processing is subjected to quantization by the quantization means in FIG. 1, and this quantization is division processing by a matrix. Therefore, the same processing can be performed by dividing the data in the frequency domain by the result of dividing the quantization matrix by the band limiting matrix. FIG.
Performs this matrix operation in the quantization matrix changing means 2
2.

【0052】尚、当然ながら量子化行列が乗算用の、即
ち1以下の実数で与えられていた場合には、乗算用の帯
域制限行列と乗算を行うことにより処理行列が得られ、
これを量子化手段でデータに対して乗算すればよく、逆
に帯域制限行列が除算用の、1以下の実数で与えられて
いた場合には、除算用の帯域制限行列と乗算を行うこと
により処理行列を得、これを量子化手段でデータに対し
て除算すればよいことになる。
When the quantization matrix is given for multiplication, that is, given as a real number of 1 or less, a processing matrix is obtained by performing multiplication with the band-limiting matrix for multiplication.
This may be multiplied by the data by the quantization means. Conversely, if the band-limiting matrix is given by a real number of 1 or less for division, by multiplying by the band-limiting matrix for division. That is, a processing matrix is obtained, and this may be divided by the quantization means with respect to the data.

【0053】尚、MPEGによる符号化の場合には量子
化行列を変更して符号化を行った場合には、その行列の
各値を符号列に挿入することにより復号手段に与えるこ
ととなっている。しかし、この場合には帯域制限により
ノイズ等による高周波域を除去すること自体が目的であ
るため、量子化行列変換手段22の出力である帯域制限
による変更量子化行列を符号列に挿入する必要がない。
従って、この場合の量子化行列としては、帯域制限の前
のものを使用したものとして符号化する。
In the case of encoding by MPEG, when the encoding is performed by changing the quantization matrix, each value of the matrix is given to the decoding means by inserting it into a code string. I have. However, in this case, since the purpose is to remove a high frequency band due to noise or the like by band limitation, it is necessary to insert a changed quantization matrix due to band limitation, which is an output of the quantization matrix conversion means 22, into a code string. Absent.
Therefore, in this case, the quantization matrix is encoded using the one before the band limitation.

【0054】この量子化行列変更手段は図1の帯域制限
手段と同様(図6,図7)の行列変更規則を、可変長符
号化手段における例外処理の頻度に対して有しており、
この処理をまとめて行える量子化行列を量子化手段に与
えるものである。そして、復号手段に伝達する量子化行
列は、この帯域制限処理を行わないものを用いることに
なる。
This quantization matrix changing means has the same matrix changing rules as the band limiting means of FIG. 1 (FIGS. 6 and 7) with respect to the frequency of exception processing in the variable length coding means.
A quantization matrix that can perform this processing collectively is provided to the quantization means. Then, the quantization matrix transmitted to the decoding means uses the one which does not perform the band limiting process.

【0055】図10に、図9に示す符号化装置21をM
PEG符号化装置31に適用した場合のブロック構成を
示す。MPEG符号化装置31の逆量子化手段109に
おいては、帯域制限の前の量子化行列を使用する。
FIG. 10 shows an encoding apparatus 21 shown in FIG.
3 shows a block configuration when applied to the PEG encoding device 31. In the inverse quantization means 109 of the MPEG encoding device 31, a quantization matrix before band limitation is used.

【0056】(第3実施形態)以下、本発明を具体化し
た第3実施形態を図面に従って説明する。尚、本実施形
態において、第1実施形態と同じ構成部材については符
号を等しくしてその詳細な説明を省略する。
(Third Embodiment) Hereinafter, a third embodiment of the present invention will be described with reference to the drawings. In this embodiment, the same components as those in the first embodiment have the same reference numerals, and a detailed description thereof will be omitted.

【0057】図11に、本実施形態の符号化装置41の
ブロック構成を示す。第1および第2実施形態では、周
波数変換を施した後のデータに対して帯域制限を行うも
のとして説明した。だが、例外処理の頻度を観測し、そ
の頻度に従ってノイズとなる高周波成分を除去すること
により同じ効果が期待できる。
FIG. 11 shows a block configuration of the encoding device 41 of the present embodiment. In the first and second embodiments, it has been described that band limitation is performed on data after frequency conversion. However, the same effect can be expected by observing the frequency of exception processing and removing high-frequency components that become noise according to the frequency.

【0058】入力された画像データは帯域制限手段2に
よって高周波成分が制限される。これは、例外処理観測
手段3の例外処理頻度に従って行われる。この帯域制限
としては、通常の二次元フィルタ、FIRフィルタ等、
高域制限を行うことのできるフィルタであればどのよう
なものでも使用可能である。
High frequency components of the input image data are limited by the band limiting means 2. This is performed according to the exception processing frequency of the exception processing observation unit 3. As this band limitation, an ordinary two-dimensional filter, FIR filter, etc.
Any filter can be used as long as it can perform high-frequency restriction.

【0059】そしてこの出力がマクロブロック変換等を
行う入力処理手段43に入力された後、この出力が動き
予測手段103に入力され、動き補償等の処理が施さ
れ、この出力が周波数変換手段104に入力され、以下
量子化、可変長符号化という処理が施され符号列として
出力される。この場合に例外処理観測手段3で行われる
例外処理観測は第1実施形態と同様であり、可能であれ
ば高周波成分による例外処理のみが観測され、その頻度
に従って前段の帯域制限手段42が帯域制限の割合を制
御することになる。
After this output is input to the input processing means 43 for performing macroblock conversion and the like, this output is input to the motion prediction means 103 and subjected to processing such as motion compensation. , And are subjected to a process of quantization and variable-length encoding, and output as a code string. In this case, the exceptional processing observation performed by the exceptional processing observation means 3 is the same as that of the first embodiment. If possible, only the exceptional processing due to the high frequency component is observed, and the band limiting means 42 of the preceding stage performs the band limiting according to the frequency. Will be controlled.

【0060】この例では帯域制限は入力処理手段43の
前段で行うこととして説明している。しかし、入力され
る動画像信号に帯域制限を行うことが出来ればよく、こ
のため帯域制限手段42は、入力処理手段43の後段、
もしくは動き予測手段103の後段であっても差し支え
ない。
In this example, it has been described that the band limitation is performed before the input processing means 43. However, it is only necessary that the band can be limited to the input moving image signal. Therefore, the band limiting unit 42
Alternatively, it may be at the subsequent stage of the motion prediction means 103.

【0061】尚、上記各実施形態は以下のように変更し
てもよく、その場合でも同様の作用および効果を得るこ
とができる。 (1)周波数変換手段104において、DCT以外の適
宜な周波数変換方法を用いる。
The above embodiments may be modified as described below, and the same operation and effect can be obtained in such a case. (1) The frequency conversion means 104 uses an appropriate frequency conversion method other than DCT.

【0062】(2)MPEG以外の動画像圧縮符号化手
法に適用する。以上、各実施形態について説明したが、
各実施形態から把握できる請求項以外の技術的思想につ
いて、以下にそれらの効果と共に記載する。
(2) The present invention is applied to a moving picture compression encoding method other than MPEG. As described above, each embodiment has been described.
The technical ideas other than the claims that can be grasped from each embodiment will be described below together with their effects.

【0063】(イ)請求項1〜5のいずれか1項に記載
の動画像符号化方法において、前記周波数変換処理は離
散コサイン変換処理である動画像符号化方法。このよう
にすれば、MPEG符号化方法に適用することができ
る。
(A) The moving picture encoding method according to any one of claims 1 to 5, wherein the frequency conversion processing is a discrete cosine transformation processing. In this way, the present invention can be applied to the MPEG encoding method.

【0064】(ロ)請求項6〜10のいずれか1項に記
載の動画像符号化装置において、前記周波数変換処理は
離散コサイン変換処理である動画像符号化装置。このよ
うにすれば、MPEG符号化装置に適用することができ
る。
(B) The moving picture coding apparatus according to any one of claims 6 to 10, wherein the frequency conversion processing is a discrete cosine transformation processing. In this way, the present invention can be applied to an MPEG encoding device.

【0065】(ハ)入力された動画像信号を所定の領域
に分割し、その分割後の出力に動き予測を施し、その動
き予測後の出力に請求項1〜5のいずれか1項に記載の
動画像符号化方法による信号処理を施すMPEG符号化
方法。
(C) The input moving image signal is divided into predetermined regions, the divided output is subjected to motion prediction, and the output after the motion prediction is described in any one of claims 1 to 5. MPEG encoding method for performing signal processing according to the moving image encoding method.

【0066】このようにすれば、MPEG符号化方法を
具体化することができる。 (ニ)入力された動画像信号を所定の領域に分割する領
域分割手段(102)と、領域分割手段の出力に動き予
測を施す動き予測手段(103)と、請求項6〜10の
いずれか1項に記載の動画像符号化装置とを備えたMP
EG符号化装置。
In this way, the MPEG encoding method can be embodied. (D) an area dividing means (102) for dividing an input moving image signal into predetermined areas; a motion estimating means (103) for performing motion estimation on an output of the area dividing means; MP equipped with the video encoding device according to claim 1.
EG encoding device.

【0067】このようにすれば、MPEG符号化装置を
具体化することができる。 (ホ)請求項1〜5のいずれか1項に記載の動画像符号
化方法において、前記例外処理はエスケープ符号化処理
である動画像符号化方法。
In this way, an MPEG encoding device can be embodied. (E) The moving picture coding method according to any one of claims 1 to 5, wherein the exception processing is an escape coding processing.

【0068】このようにすれば、MPEG符号化方法に
適した例外処理を実行することができる。 (ヘ)請求項6〜10のいずれか1項に記載の動画像符
号化装置において、前記例外処理はエスケープ符号化処
理である動画像符号化装置。
In this way, exception processing suitable for the MPEG encoding method can be executed. (F) The moving picture coding apparatus according to any one of claims 6 to 10, wherein the exception processing is an escape coding processing.

【0069】このようにすれば、MPEG符号化装置に
適した例外処理を実行することができる。
In this way, exception processing suitable for the MPEG encoding device can be executed.

【0070】[0070]

【発明の効果】請求項1〜5のいずれか1項に記載の発
明によれば、ノイズ成分を効果的に除去し、復号画像の
画質を向上させることが可能な動画像符号化方法を提供
することができる。
According to the present invention, there is provided a moving picture coding method capable of effectively removing noise components and improving the quality of a decoded picture. can do.

【0071】請求項6〜10のいずれか1項に記載の発
明によれば、ノイズ成分を効果的に除去し、復号画像の
画質を向上させることが可能な動画像符号化装置を提供
することができる。
According to the present invention, there is provided a moving picture coding apparatus capable of effectively removing a noise component and improving the quality of a decoded picture. Can be.

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

【図1】第1実施形態のブロック構成図。FIG. 1 is a block diagram of a first embodiment.

【図2】第1実施形態の作用を説明するための概念図。FIG. 2 is a conceptual diagram for explaining the operation of the first embodiment.

【図3】第1実施形態の作用を説明するための概念図。FIG. 3 is a conceptual diagram for explaining the operation of the first embodiment.

【図4】第1実施形態の作用を説明するための概念図。FIG. 4 is a conceptual diagram for explaining the operation of the first embodiment.

【図5】第1実施形態の作用を説明するための概念図。FIG. 5 is a conceptual diagram for explaining the operation of the first embodiment.

【図6】第1実施形態で用いられる帯域制限行列を示す
図。
FIG. 6 is a diagram showing a band limiting matrix used in the first embodiment.

【図7】第1実施形態で用いられる帯域制限行列を示す
図。
FIG. 7 is a diagram showing a band limiting matrix used in the first embodiment.

【図8】第1実施形態をMPEG符号化装置に適用した
ブロック構成図。
FIG. 8 is a block diagram showing the first embodiment applied to an MPEG encoding apparatus.

【図9】第2実施形態のブロック構成図。FIG. 9 is a block diagram of a second embodiment.

【図10】第2実施形態をMPEG符号化装置に適用し
たブロック構成図。
FIG. 10 is a block diagram showing a configuration in which the second embodiment is applied to an MPEG encoding apparatus.

【図11】第3実施形態のブロック構成図。FIG. 11 is a block diagram of a third embodiment.

【図12】第3実施形態をMPEG符号化装置に適用し
たブロック構成図。
FIG. 12 is a block diagram showing a third embodiment applied to an MPEG encoding apparatus.

【図13】従来のMPEG符号化装置のブロック構成
図。
FIG. 13 is a block diagram of a conventional MPEG encoding apparatus.

【図14】従来のMPEG符号化装置の要部ブロック構
成図。
FIG. 14 is a block diagram of a main part of a conventional MPEG encoding apparatus.

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

2…帯域制限手段 3…観測手段としての例外処理観測手段 22…制御手段としての量子化行列変更手段 104…周波数変換手段 105…量子化手段 106…可変長符号化手段 2 band limiting means 3 exception processing observing means as observing means 22 quantization matrix changing means 104 as control means 104 frequency transforming means 105 quantizing means 106 variable length coding means

フロントページの続き (56)参考文献 特開 平3−216075(JP,A) 特開 平7−87490(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 7/24 - 7/68 H04N 1/41 - 1/419 Continuation of the front page (56) References JP-A-3-216075 (JP, A) JP-A-7-87490 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04N 7 / 24-7/68 H04N 1/41-1/419

Claims (10)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力された動画像信号を周波数領域に変
換し、 周波数領域出力を所定の量子化行列を用いて量子化処理
を施し、 量子化出力を所定のテーブルに従って可変長符号化し、
該テーブルに合致しないデータを例外処理として符号化
する動画像符号化方法であって、 前記可変長符号化を行う際に、前記例外処理の発生頻度
を観測し、該発生頻度に応じて、前記入力動画像信号に
帯域制限を行うことを特徴とする動画像符号化方法。
1. An input video signal is converted into a frequency domain, a frequency domain output is subjected to a quantization process using a predetermined quantization matrix, and the quantized output is subjected to variable length coding according to a predetermined table.
A moving image encoding method for encoding data that does not match the table as exceptional processing, wherein when performing the variable-length encoding, the frequency of occurrence of the exceptional processing is observed, and according to the frequency of occurrence, A moving picture coding method characterized by performing band limitation on an input moving picture signal.
【請求項2】 入力された動画像信号を周波数領域に変
換し、 周波数領域出力を所定の量子化行列を用いて量子化処理
を施し、 量子化出力を所定のテーブルに従って可変長符号化し、
該テーブルに合致しないデータを例外処理として符号化
する動画像符号化方法であって、 前記可変長符号化を行う際に、前記例外処理の発生頻度
を観測し、該発生頻度に応じて、前記周波数変換の出力
に帯域制限を行うことを特徴とする動画像符号化方法。
2. An input video signal is transformed into a frequency domain, a frequency domain output is subjected to a quantization process using a predetermined quantization matrix, and the quantized output is subjected to variable length coding according to a predetermined table.
A moving image encoding method for encoding data that does not match the table as exceptional processing, wherein when performing the variable-length encoding, the frequency of occurrence of the exceptional processing is observed, and according to the frequency of occurrence, A moving image encoding method, wherein a band is limited to an output of frequency conversion.
【請求項3】 入力された動画像信号を周波数領域に変
換し、 周波数領域出力を所定の量子化行列を用いて量子化処理
を施し、 量子化出力を所定のテーブルに従って可変長符号化し、
該テーブルに合致しないデータを例外処理として符号化
する動画像符号化方法であって、 前記可変長符号化を行う際に、前記例外処理の発生頻度
を観測し、該発生頻度に応じて、前記量子化処理の出力
に帯域制限を行うことを特徴とする動画像符号化方法。
3. An input video signal is converted into a frequency domain, a frequency domain output is subjected to a quantization process using a predetermined quantization matrix, and the quantized output is subjected to variable-length coding according to a predetermined table.
A moving image encoding method for encoding data that does not match the table as exceptional processing, wherein when performing the variable-length encoding, the frequency of occurrence of the exceptional processing is observed, and according to the frequency of occurrence, A moving picture coding method, wherein a band is limited to an output of a quantization process.
【請求項4】 入力された動画像信号を周波数領域に変
換し、 周波数領域出力を所定の量子化行列を用いて量子化処理
を施し、 量子化出力を所定のテーブルに従って可変長符号化し、
該テーブルに合致しないデータを例外処理として符号化
する動画像符号化方法であって、 前記可変長符号化を行う際に、前記例外処理の発生頻度
を観測し、該発生頻度に応じて、前記量子化処理時に用
いる量子化行列の値を変更することを特徴とする動画像
符号化方法。
4. An input video signal is converted into a frequency domain, a frequency domain output is subjected to a quantization process using a predetermined quantization matrix, and the quantized output is subjected to variable length coding according to a predetermined table.
A moving image encoding method for encoding data that does not match the table as exceptional processing, wherein when performing the variable-length encoding, the frequency of occurrence of the exceptional processing is observed, and according to the frequency of occurrence, A moving picture coding method characterized by changing a value of a quantization matrix used in a quantization process.
【請求項5】 請求項1〜請求項4のいずれか1項に記
載の動画像符号化方法において、前記例外処理を観測す
る際に、高周波成分により発生したものだけを観測する
動画像符号化方法。
5. The moving picture coding method according to claim 1, wherein, when observing the exception processing, only a signal generated by a high-frequency component is observed. Method.
【請求項6】 入力された動画像信号を周波数領域に変
換する変換手段と、 該変換手段の周波数領域出力を所定の量子化行列を用い
て量子化する量子化手段と、 該量子化手段の量子化出力を所定の符号化テーブルで可
変長符号化し、該テーブルに合致しないデータを例外処
理として符号化する可変長符号化手段と、 前記可変長符号化手段における前記例外処理の発生頻度
を観測する観測手段と、 該観測手段の出力に応じて、前記入力動画像信号に帯域
制限を行う帯域制限手段とを備えたことを特徴とする動
画像符号化装置。
6. A transforming means for transforming an input moving image signal into a frequency domain, a quantizing means for quantizing a frequency domain output of the transforming means using a predetermined quantization matrix, and A variable-length encoding unit that encodes the quantized output in a predetermined encoding table using variable length encoding, and encodes data that does not match the table as exception processing; and observes the frequency of occurrence of the exception processing in the variable length encoding unit. A moving image encoding apparatus comprising: an observing unit that performs band-limiting on the input moving image signal according to an output of the observing unit.
【請求項7】 入力された動画像信号を周波数領域に変
換する変換手段と、 該変換手段の周波数領域出力を所定の量子化行列を用い
て量子化する量子化手段と、 該量子化手段の量子化出力を所定の符号化テーブルで可
変長符号化し、該テーブルに合致しないデータを例外処
理として符号化する可変長符号化手段と、 前記可変長符号化手段における前記例外処理の発生頻度
を観測する観測手段と、 該観測手段の出力に応じて、前記変換手段の出力に帯域
制限を行う帯域制限手段とを備えたことを特徴とする動
画像符号化装置。
7. A transforming means for transforming an input moving image signal into a frequency domain, a quantizing means for quantizing a frequency domain output of the transforming means using a predetermined quantization matrix, and A variable-length encoding unit that encodes the quantized output in a predetermined encoding table using variable length encoding, and encodes data that does not match the table as exception processing; and observes the frequency of occurrence of the exception processing in the variable length encoding unit. A moving image encoding apparatus, comprising: an observing unit that performs band limiting on an output of the conversion unit according to an output of the observing unit.
【請求項8】 入力された動画像信号を周波数領域に変
換する変換手段と、 該変換手段の周波数領域出力を所定の量子化行列を用い
て量子化する量子化手段と、 該量子化手段の量子化出力を所定の符号化テーブルで可
変長符号化し、該テーブルに合致しないデータを例外処
理として符号化する可変長符号化手段と、 前記可変長符号化手段における前記例外処理の発生頻度
を観測する観測手段と、 該観測手段の出力に応じて、前記量子化手段の出力に帯
域制限を行う帯域制限手段とを備えたことを特徴とする
動画像符号化装置。
8. A transforming means for transforming an input moving image signal into a frequency domain, a quantizing means for quantizing a frequency domain output of the transforming means using a predetermined quantization matrix, and A variable-length encoding unit that encodes the quantized output in a predetermined encoding table using variable length encoding, and encodes data that does not match the table as exception processing; and observes the frequency of occurrence of the exception processing in the variable length encoding unit. A moving image encoding apparatus comprising: an observation unit that performs band limitation on an output of the quantization unit in accordance with an output of the observation unit.
【請求項9】 入力された動画像信号を周波数領域に変
換する変換手段と、 該変換手段の周波数領域出力を所定の量子化行列を用い
て量子化する量子化手段と、 該量子化手段の量子化出力を所定の符号化テーブルで可
変長符号化し、該テーブルに合致しないデータを例外処
理として符号化する可変長符号化手段と、 前記可変長符号化手段における前記例外処理の発生頻度
を観測する観測手段と、 該観測手段の出力に応じて、前記量子化手段が演算時に
用いる量子化行列の値を変更する制御手段とを備えたこ
とを特徴とする動画像符号化装置。
9. A transforming means for transforming an input moving image signal into a frequency domain, a quantizing means for quantizing a frequency domain output of the transforming means using a predetermined quantization matrix, and A variable-length encoding unit that encodes the quantized output in a predetermined encoding table using variable length encoding, and encodes data that does not match the table as exception processing; and observes the frequency of occurrence of the exception processing in the variable length encoding unit. A moving image encoding apparatus comprising: an observing unit that performs the operation; and a control unit that changes a value of a quantization matrix used by the quantizing unit at the time of operation in accordance with an output of the observing unit.
【請求項10】 請求項6〜請求項9のいずれか1項に
記載の動画像符号化装置において、前記観測手段は、高
周波成分により発生した例外処理だけを観測する動画像
符号化装置。
10. The moving picture encoding apparatus according to claim 6, wherein said observation means observes only exception processing caused by a high-frequency component.
JP19322396A 1996-07-23 1996-07-23 Moving picture coding method and moving picture coding apparatus Expired - Fee Related JP3286531B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19322396A JP3286531B2 (en) 1996-07-23 1996-07-23 Moving picture coding method and moving picture coding apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19322396A JP3286531B2 (en) 1996-07-23 1996-07-23 Moving picture coding method and moving picture coding apparatus

Publications (2)

Publication Number Publication Date
JPH1042291A JPH1042291A (en) 1998-02-13
JP3286531B2 true JP3286531B2 (en) 2002-05-27

Family

ID=16304371

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19322396A Expired - Fee Related JP3286531B2 (en) 1996-07-23 1996-07-23 Moving picture coding method and moving picture coding apparatus

Country Status (1)

Country Link
JP (1) JP3286531B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7771533B2 (en) 1999-12-03 2010-08-10 Asm International N.V. Atomic-layer-chemical-vapor-deposition of films that contain silicon dioxide
US9587310B2 (en) 2001-03-02 2017-03-07 Applied Materials, Inc. Lid assembly for a processing system to facilitate sequential deposition techniques

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7771533B2 (en) 1999-12-03 2010-08-10 Asm International N.V. Atomic-layer-chemical-vapor-deposition of films that contain silicon dioxide
US7771534B2 (en) 1999-12-03 2010-08-10 Asm International N.V. Method of growing oxide thin films
US7824492B2 (en) 1999-12-03 2010-11-02 Asm International N.V. Method of growing oxide thin films
US9587310B2 (en) 2001-03-02 2017-03-07 Applied Materials, Inc. Lid assembly for a processing system to facilitate sequential deposition techniques
US10280509B2 (en) 2001-07-16 2019-05-07 Applied Materials, Inc. Lid assembly for a processing system to facilitate sequential deposition techniques

Also Published As

Publication number Publication date
JPH1042291A (en) 1998-02-13

Similar Documents

Publication Publication Date Title
US6044115A (en) Method and apparatus for coding and decoding digital image data using image quantization modification
JP3224465B2 (en) Image coding device
JP3928815B2 (en) MPEG-2 decoding method and MPEG-2 video decoder
JP3814321B2 (en) Quantization parameter determination apparatus and method
US6956899B2 (en) Precise bit control apparatus with look-ahead for MPEG encoding
JPH03139988A (en) Method and device for recovering image
JPH08237669A (en) Picture signal processor, picture signal processing method and picture signal decoder
JPH0723422A (en) Video signal band compression equipment of digital vtr
JPH0846521A (en) Variable-length encoding equipment
JPH118850A (en) Method and device for processing variable length code data
JPH07303254A (en) Image signal decoding using improved post-treatment method
JP3710974B2 (en) Method and apparatus for decompressing compressed video to remove blocking phenomenon and ring phenomenon
JPH0879766A (en) Moving image coding method and moving image coder
JPH10126780A (en) Decoding video compensator
JPH08275169A (en) Digital video signal encoding device
JPH0879765A (en) Moving image coding method and its device, moving image decoding method and its device, and moving image recording medium
JP3696490B2 (en) Method and video decoder for reducing video memory requirements of a decoder
JP3286531B2 (en) Moving picture coding method and moving picture coding apparatus
JPH1066077A (en) Code amount control method for image data and its device
JP3689437B2 (en) Image signal encoding method and apparatus
JP2868342B2 (en) Intra-loop filter control method for inter-frame predictive coding device
JPH11504482A (en) Post-processing method and apparatus for video signal decoding system
JP2795225B2 (en) Video coding method
JPH09200769A (en) Inter-motion compensation frame encoding system
JP3653799B2 (en) Image encoding device

Legal Events

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

Free format text: PAYMENT UNTIL: 20090308

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees