JP2917351B2 - High efficiency coding apparatus and coding method - Google Patents
High efficiency coding apparatus and coding methodInfo
- Publication number
- JP2917351B2 JP2917351B2 JP2010362A JP1036290A JP2917351B2 JP 2917351 B2 JP2917351 B2 JP 2917351B2 JP 2010362 A JP2010362 A JP 2010362A JP 1036290 A JP1036290 A JP 1036290A JP 2917351 B2 JP2917351 B2 JP 2917351B2
- Authority
- JP
- Japan
- Prior art keywords
- coefficient data
- data
- circuit
- quantization
- coefficient
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、コサイン変換等の変換符号化で得られた
係数データを量子化するようにした高能率符号化装置及
び符号化方法に関する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a high efficiency coding apparatus and a coding method for quantizing coefficient data obtained by transform coding such as cosine transform.
画像信号の冗長度を抑圧するために、所定数の画素か
らなるブロックに画面を分割し、ブロック毎に原画像信
号の特徴と合った変換軸で線形変換を行う変換符号化が
知られている。変換符号化としては、アダマール変換、
コサイン変換(discrete cosine transform)等が知ら
れている(例えば「“IEEE TRANSACTIONS ON COMMUNICA
TIONS"VOL,COM−32,NO.3,MARCH,1984,ページ225〜231」
参照)。In order to suppress the redundancy of an image signal, a transform coding method is known in which a screen is divided into blocks each having a predetermined number of pixels, and a linear transformation is performed for each block using a transformation axis that matches the characteristics of the original image signal. . Transform coding includes Hadamard transform,
A cosine transform (discrete cosine transform) is known (for example, “IEEE TRANSACTIONS ON COMMUNICA
TIONS "VOL, COM-32, NO.3, MARCH, 1984, pp.225-231"
reference).
2次元コサイン変換は、標本化された離散的な画像信
号f(j,k)がコサイン変換回路により、次式で示され
る処理がなされる。但し、原データは、1ブロックが
(N×N)サンプルの2次元データf(j,k)(j,k=0,
1,...,N−1)とする。In the two-dimensional cosine transform, a sampled discrete image signal f (j, k) is subjected to a process represented by the following equation by a cosine transform circuit. However, as for the original data, one block has two-dimensional data f (j, k) (j, k = 0,
1, ..., N-1).
コサイン変換で得られた係数値F(u,v)が量子化さ
れ、量子化出力がランレングス符号化及びハフマン符号
化により、所定ビット数のコード信号に変換される。 The coefficient value F (u, v) obtained by the cosine transform is quantized, and the quantized output is converted into a code signal having a predetermined number of bits by run-length encoding and Huffman encoding.
コサイン変換で得られた係数データを伝送路の容量に
合わせた所定ビットレートのデータにすることを容易と
するために、本願出願人は、コサイン変換とADRCとを組
み合わせたハイブリッド符号化を提案している(特願昭
62−270564号及び特願昭63−245227号参照)。In order to facilitate converting the coefficient data obtained by the cosine transform into data of a predetermined bit rate according to the capacity of the transmission path, the present applicant has proposed a hybrid coding combining the cosine transform and ADRC. Yes (Japanese Patent Application
62-270564 and Japanese Patent Application No. 63-245227).
ADRC(Adaptive Dynamic Range Coding)は、特開昭6
1−144989号公報に記載されているような、2次元ブロ
ック内に含まれる複数画素の最大値及び最小値の差であ
るダイナミックレンジを求め、このダイナミックレンジ
に適応した符号化を行う符号化である。また、特開昭62
−92620号公報に記載されているように、複数フレーム
に各々含まれる領域の画素から形成された3次元ブロッ
クに関してダイナミックレンジに適応した符号化を行う
適応符号化装置が提案されている。更に、特開昭62−12
8621号公報に記載されているように、量子化を行った時
に生じる最大歪みが一定となるように、ダイナミックレ
ンジに応じてビット数が変化する可変長符号化方法が提
案されている。ADRC (Adaptive Dynamic Range Coding)
As described in Japanese Patent Application Laid-Open No. 1-144989, a dynamic range that is a difference between a maximum value and a minimum value of a plurality of pixels included in a two-dimensional block is obtained, and encoding that performs encoding adapted to the dynamic range is performed. is there. In addition, JP
As described in -92620, there has been proposed an adaptive coding apparatus that performs coding suitable for a dynamic range with respect to a three-dimensional block formed from pixels in an area included in each of a plurality of frames. Further, JP-A-62-12
As described in Japanese Patent No. 8621, a variable length coding method has been proposed in which the number of bits changes according to a dynamic range so that the maximum distortion generated when performing quantization is constant.
可変長ADRCのバッファリングの方式として、本願出願
人は、特願昭61−257586号明細書に記載されているよう
に、積算型のダイナミックレンジの度数分布を形成し、
この度数分布に対して、予め用意されているしきい値の
セットを適用し、所定期間例えば1フレーム期間の発生
データ量を求め、発生データ量が目標値を超えないよう
に、制御するものを提案している。As a buffering method of the variable length ADRC, the present applicant forms a frequency distribution of an integrated dynamic range as described in Japanese Patent Application No. 61-257586,
A set of threshold values prepared in advance is applied to this frequency distribution to determine the amount of generated data for a predetermined period, for example, one frame period, and to control the generated data amount so as not to exceed the target value. is suggesting.
この可変長のADRCを前述のコサイン変換符号化と組み
合わせることで、係数データのデータ量の圧縮とコサイ
ン変換で発生した係数データのバッファリングを行うこ
とができる。By combining this variable-length ADRC with the above-described cosine transform coding, it is possible to compress the data amount of the coefficient data and buffer the coefficient data generated by the cosine transform.
先に提案されているハイブリッド符号化では、係数デ
ータに関して人間の視覚特性に基づき、量子化を行って
いた。つまり、係数データの中の直流成分については、
固定的に許容最大歪みを決めて、これ以下に歪みが収ま
るように、直流成分を量子化し、また、交流成分につい
ては、歪みを与えた時に劣化が目立ち易い係数データ
(低周波成分)を細かいステップで量子化し、劣化が目
立ち難い係数データ(高周波成分)を粗いステップで量
子化していた。In the previously proposed hybrid coding, quantization is performed on coefficient data based on human visual characteristics. That is, for the DC component in the coefficient data,
The allowable maximum distortion is fixedly determined, and the DC component is quantized so that the distortion falls below the allowable maximum distortion. For the AC component, coefficient data (low-frequency component) that is easily degraded when distortion is applied is finely divided. The coefficient data (high-frequency components) that are hardly deteriorated are quantized in coarse steps.
しかしながら、画像の性質は様々である。例えば非常
に細かいディテールがある画像と、ディテールはない
が、グラデュエーションのように、段階的な輝度変化の
ある画像を考えてみると、前者の場合には、直流成分の
歪みを小さくし、交流成分の歪を大きくして、ディテー
ルを削ることより、直流成分の歪みが多少大きくても、
ディテールを表した方が復元画像の質が良好である。従
って、伝送データ量が伝送路の容量と対応して制約され
ているときには、直流成分を固定の量子化パラメータで
量子化することより、画像のディテールの程度に応じた
パラメータで直流成分の係数データを量子化することが
好ましい。However, the nature of the images varies. For example, consider an image with very fine details and an image with no details but with a gradual change in brightness, such as a gradation.In the former case, the distortion of the DC component is reduced, By increasing the distortion of the AC component and cutting the details, even if the distortion of the DC component is somewhat large,
The quality of the restored image is better when the details are expressed. Therefore, when the amount of transmission data is restricted in accordance with the capacity of the transmission path, the DC component is quantized with a fixed quantization parameter, so that the coefficient data of the DC component is a parameter corresponding to the degree of image detail. Is preferably quantized.
従って、この発明の目的は、変換符号化で発生した係
数データの量子化パラメータを画像の性質に応じて制御
することで、復元画像の画質の改善を図った高能率符号
化装置及び符号化方法を提供することにある。Therefore, an object of the present invention is to provide a high-efficiency coding apparatus and a coding method that improve the image quality of a restored image by controlling the quantization parameter of coefficient data generated in transform coding according to the nature of the image. Is to provide.
請求項(1)の発明は、画像データを所定数の画素デ
ータからなるブロックに分割するブロック化回路(2)
と、ブロック化回路(2)の出力のブロックデータを直
交変換する直交変換手段(3)と、直交変換手段(3)
からの係数データを量子化する量子化手段EN0〜EN15と
を有する高能率符号化装置において、 直交変換手段(3)からのAC係数データAC1〜AC15の
分布状態を検出する検出手段CN1〜CN15と、 検出手段CN1〜CN15の出力に基づいて直交変換手段
(3)の出力のDC係数データの量子化特性を制御する制
御手段(6)とを有してなる高能率符号化装置である。
また、請求項(3)の発明は、このように、高能率符号
化を行うようにした符号化方法である。According to a first aspect of the present invention, there is provided a blocking circuit for dividing image data into blocks each including a predetermined number of pixel data.
An orthogonal transformation means (3) for orthogonally transforming block data output from the blocking circuit (2); and an orthogonal transformation means (3)
A high-efficiency coding apparatus having quantizing means EN0 to EN15 for quantizing coefficient data from a plurality of detecting means CN1 to CN15 for detecting a distribution state of AC coefficient data AC1 to AC15 from the orthogonal transforming means (3). And a control means (6) for controlling the quantization characteristic of the DC coefficient data output from the orthogonal transform means (3) based on the outputs of the detection means CN1 to CN15.
The invention of claim (3) is an encoding method for performing high-efficiency encoding in this way.
請求項(2)の発明は、請求項(1)の発明におい
て、検出手段CN1〜CN15は、各AC係数データ毎に標準偏
差m1〜m15を求める手段と、標準偏差m1〜m15を全てのAC
係数データAC1〜AC15について合計する手段(5)とを
有し、制御手段(6)は、DC係数の量子化の最大歪を合
計手段(5)の出力に基づいて規定する手段を有してな
る高能率符号化装置である。According to the invention of claim (2), in the invention of claim (1), the detecting means CN1 to CN15 determine the standard deviations m1 to m15 for each AC coefficient data, and
Means (5) for summing the coefficient data AC1 to AC15, and the control means (6) has means for defining the maximum distortion of quantization of the DC coefficient based on the output of the summing means (5). Is a highly efficient encoding device.
コサイン変換回路3からの係数データが係数分離回路
4で直流成分の係数データDCと交流成分の各係数データ
AC1〜AC15とに分離される。1画面または1画面を数分
割した領域に含まれるAC係数データAC1〜AC15の夫々に
関して、標準偏差m1〜m15が求められる。この標準偏差m
1〜m15の大小関係から各AC係数データの量子化の特性が
制御される。また、標準偏差m1〜m15を合計した値の大
小関係から直流成分の係数データDCの量子化の特性が制
御される。これにより、画像の性質に適合した量子化が
可能となり、復元画像の画質を良好とすることができ
る。The coefficient data from the cosine conversion circuit 3 is converted into coefficient data DC of DC component and coefficient data of AC component by a coefficient separation circuit 4.
It is separated into AC1 to AC15. Standard deviations m1 to m15 are obtained for each of the AC coefficient data AC1 to AC15 included in one screen or an area obtained by dividing one screen into several parts. This standard deviation m
The quantization characteristic of each AC coefficient data is controlled based on the magnitude relation of 1 to m15. Further, the quantization characteristic of the DC component coefficient data DC is controlled based on the magnitude relationship of the sum of the standard deviations m1 to m15. As a result, quantization suitable for the properties of the image can be performed, and the quality of the restored image can be improved.
以下、この発明の一実施例について、図面を参照して
説明する。この一実施例の全体的な構成を示す第1図に
おいて、1がディジタル画像信号が供給される入力端子
である。ディジタル画像信号がブロック化回路2に供給
され、コサイン変換のためのブロック構成に入力ディジ
タル画像信号の順序が変更される。例えば1フレームの
画像が(4×4)の小ブロックに分割される。Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In FIG. 1 showing the overall configuration of this embodiment, reference numeral 1 denotes an input terminal to which a digital image signal is supplied. The digital image signal is supplied to the blocking circuit 2, and the order of the input digital image signal is changed to a block configuration for cosine conversion. For example, an image of one frame is divided into (4 × 4) small blocks.
ブロック化回路2の出力信号がコサイン変換回路3に
供給され、コサイン変換回路3で従来と同様の処理によ
り、2次元コサイン変換がなされる。コサイン変換回路
3からのブロックサイズと対応する(4×4)の係数テ
ーブルが得られる。勿論、コサイン変換のブロックのサ
イズは、これに限定されるものではない。The output signal of the blocking circuit 2 is supplied to a cosine transform circuit 3, and the cosine transform circuit 3 performs a two-dimensional cosine transform by a process similar to the conventional one. A (4 × 4) coefficient table corresponding to the block size from the cosine transform circuit 3 is obtained. Of course, the size of the cosine transform block is not limited to this.
第2図は、コサイン変換回路3から得られる(4×
4)の係数テーブルを示す。第2図において、DCが直流
成分を示し、AC1、AC2、・・・・AC15が交流成分を示
す。係数テーブルは、直流成分からスタートしてジグザ
グ走査の順序で各係数データが配置された系列で伝送さ
れる。これらの係数データは、例えば8ビットの整数部
分と4ビットの小数部分とからなる12ビットのコードで
ある。FIG. 2 is obtained from the cosine transform circuit 3 (4 ×
4) shows a coefficient table of 4). 2, DC indicates a DC component, and AC1, AC2,..., AC15 indicate AC components. The coefficient table is transmitted in a sequence in which each coefficient data is arranged in the order of zigzag scanning starting from a DC component. The coefficient data is, for example, a 12-bit code including an 8-bit integer part and a 4-bit decimal part.
コサイン変換回路3からの係数データが係数分離回路
4に供給される。係数分離回路4は、直流成分DCと、同
じ次数(同次)の交流成分との計16個の係数データを分
離して出力する。1画面或いは1画面を数個に分割した
領域毎に、係数分離回路4からの各係数データがメモリ
M0、M1、・・・、M15に夫々書き込まれる。メモリM0、M
1、・・・、M15の夫々から読み出された係数データがAD
RCエンコーダEN0、EN1、・・・、EN15に供給される。こ
れらのADRCエンコーダEN0、EN1、・・・、EN15で発生し
た符号化出力が図示せずフレーム化回路により伝送デー
タの形態に変換されて伝送又は記録媒体に記録される。The coefficient data from the cosine conversion circuit 3 is supplied to a coefficient separation circuit 4. The coefficient separation circuit 4 separates and outputs a total of 16 pieces of coefficient data of a DC component DC and an AC component of the same order (same order). Each coefficient data from the coefficient separation circuit 4 is stored in a memory for one screen or for each divided area of one screen.
M0, M1,..., M15 are respectively written. Memory M0, M
The coefficient data read from each of 1, ..., M15 is AD
It is supplied to RC encoders EN0, EN1, ..., EN15. The encoded outputs generated by these ADRC encoders EN0, EN1,..., EN15 are converted into a form of transmission data by a framing circuit (not shown) and recorded on a transmission or recording medium.
交流成分AC1〜AC15の分布状態から1画面の画像又は
1画面を分割した領域の性質が検出される。このため、
メモリM1〜M15の夫々の入力側及び出力側から夫々交流
係数データが供給される検出回路CN1、CN2、・・・、CN
15が設けられている。検出回路CN1、CN2、・・・、CN15
は、後述のように、AC係数データの1画面又は分割領域
に関する標準偏差m1〜m15を夫々検出し、また、標準偏
差m1〜m15から最大歪みと対応する割り当てビット数n1
〜n15を発生する。この割り当てビット数n1〜n15がADRC
エンコーダEN1〜EN15に夫々供給される。From the distribution state of the AC components AC1 to AC15, the properties of the image of one screen or the area obtained by dividing one screen are detected. For this reason,
Detection circuits CN1, CN2,..., CN to which AC coefficient data are supplied from the respective input sides and output sides of the memories M1 to M15.
15 are provided. Detection circuit CN1, CN2, ..., CN15
As described later, the standard deviations m1 to m15 for one screen or divided area of the AC coefficient data are detected, respectively, and the number of allocated bits n1 corresponding to the maximum distortion is determined from the standard deviations m1 to m15.
Generates ~ n15. The number of allocated bits n1 to n15 is ADRC
These are supplied to the encoders EN1 to EN15, respectively.
また、標準偏差m1〜m15が加算回路5により合計さ
れ、加算回路5の加算出力がROM6に供給される。ROM6
は、標準偏差m1〜m15の合計に応じてDC係数データの割
り当てビット数n0を出力する。この割り当てビット数n0
がADRCエンコーダEN0に供給される。Further, the standard deviations m1 to m15 are summed up by the adding circuit 5, and the added output of the adding circuit 5 is supplied to the ROM 6. ROM6
Outputs the number n0 of allocated bits of DC coefficient data according to the sum of the standard deviations m1 to m15. This allocated bit number n0
Is supplied to the ADRC encoder EN0.
第3図は、ADRCエンコーダEN0の一例を示す。11で示
す入力端子からの係数データDCがブロック化回路12に供
給され、空間的に近接する複数のコサイン変換ブロック
から夫々得られた直流係数データDCの複数個からなるAD
RCブロックが構成される。ブロック化回路12の出力信号
が検出回路13及び遅延回路14に供給される。検出回路13
は、ADRCブロック毎に最大値MAX及び最小値MINを検出す
る。遅延回路14は、検出回路13で生じる遅延を補償する
ために設けられている。FIG. 3 shows an example of the ADRC encoder EN0. Coefficient data DC from an input terminal indicated by 11 is supplied to a blocking circuit 12, and a plurality of AD coefficients of DC coefficient data DC respectively obtained from a plurality of spatially close cosine transform blocks.
An RC block is configured. The output signal of the blocking circuit 12 is supplied to the detection circuit 13 and the delay circuit 14. Detection circuit 13
Detects the maximum value MAX and the minimum value MIN for each ADRC block. The delay circuit 14 is provided to compensate for a delay generated in the detection circuit 13.
最大値MAXと最小値MINの差であるダイナミックレンジ
DRが減算回路15で求められる。また、遅延回路14からの
係数データから最小値MINが減算され、最小値が除去さ
れることで正規化された係数データが得られる。この正
規化された係数データが量子化回路17に供給される。量
子化回路17には、ダイナミックレンジDRとROM6からの割
り当てビット数n0とが供給される。係数データが割り当
てビット数n0とダイナミックレンジDRとから求まる量子
化ステップで割算され、その商が整数とされることでコ
ード信号(量子化データ)が得られる。量子化回路17
は、割算回路、ROM等で構成できる。割り当てビット数n
0が大きいほど、最大歪みが小となる。Dynamic range, which is the difference between the maximum value MAX and the minimum value MIN
DR is obtained by the subtraction circuit 15. Further, the minimum value MIN is subtracted from the coefficient data from the delay circuit 14, and the minimum value is removed, so that normalized coefficient data is obtained. The normalized coefficient data is supplied to the quantization circuit 17. The dynamic range DR and the allocated bit number n0 from the ROM 6 are supplied to the quantization circuit 17. The coefficient data is divided by a quantization step obtained from the number of allocated bits n0 and the dynamic range DR, and the quotient is set to an integer to obtain a code signal (quantized data). Quantization circuit 17
Can be composed of a division circuit, a ROM, and the like. Number of allocated bits n
The larger the value of 0, the smaller the maximum distortion.
AC係数データに関するADRCエンコーダEN1〜EN15も、
第3図に示されるDC係数データに関するADRCエンコーダ
EN0と同様の構成を有している。ADRCエンコーダEN0に対
して、最小値MINを常に0とみなして、最小値MINの伝送
を省略するような若干の修整を加えて、AC係数データ用
のエンコーダEN1〜EN15としても良い。ADRC encoders EN1 to EN15 for AC coefficient data are also
ADRC encoder for DC coefficient data shown in Fig. 3
It has the same configuration as EN0. Encoders EN1 to EN15 for AC coefficient data may be modified by slightly modifying ADRC encoder EN0 so that minimum value MIN is always regarded as 0 and transmission of minimum value MIN is omitted.
検出回路CN1の一例を第4図に示す。係数分離回路4
で分離されたAC係数データAC1がメモリM1及び累加算器2
1に供給される。累加算器21の出力が割算回路22に供給
される。1画面又は分割領域内に含まれる係数データAC
1の個数をMとすると、割算回路22の出力には、平均値
が発生する。直流成分の係数データDCを除いた交流成分
の係数データの平均値は、通常、0付近の値となる。メ
モリM1から読み出された係数データAC1の夫々から平均
値が減算回路23で減算され、減算回路23の出力が自乗回
路24に供給される。M個の係数データに関する自乗回路
24の出力が累加算器25で加算され、更に、割算回路26で
1/Mされる。FIG. 4 shows an example of the detection circuit CN1. Coefficient separation circuit 4
The AC coefficient data AC1 separated by is stored in the memory M1 and the accumulator 2
Supplied to 1. The output of the accumulator 21 is supplied to a division circuit 22. Coefficient data AC included in one screen or divided area
Assuming that the number of 1s is M, an average value is generated at the output of the dividing circuit 22. The average value of the coefficient data of the AC component excluding the coefficient data DC of the DC component is usually a value near 0. The average value is subtracted from each of the coefficient data AC1 read from the memory M1 by the subtraction circuit 23, and the output of the subtraction circuit 23 is supplied to the square circuit 24. Square circuit for M coefficient data
The outputs of 24 are added by the accumulator 25 and further divided by the divider 26.
1 / M.
割算回路26からは、1画面または分割領域に含まれる
AC係数データAC1の分散が得られる。この分散の値を使
用しても良いが、分散の平方根を求める演算回路27を介
することで標準偏差m1が形成される。また、標準偏差m1
がROM28に供給され、ROM28からAC係数データAC1を量子
化する時の割り当てビット数n1が出力される。この割り
当てビット数n1がADRCエンコーダEN1に供給される。From division circuit 26, it is included in one screen or divided area
The variance of the AC coefficient data AC1 is obtained. Although the value of this variance may be used, a standard deviation m1 is formed through the arithmetic circuit 27 for calculating the square root of the variance. Also, standard deviation m1
Is supplied to the ROM 28, and the number of bits n1 allocated when the AC coefficient data AC1 is quantized is output from the ROM 28. The allocated bit number n1 is supplied to the ADRC encoder EN1.
他の係数データAC2〜AC15に関して設けられる検出回
路CN2〜CN15も第4図に示す検出回路CN1と同じ構成とさ
れている。The detection circuits CN2 to CN15 provided for the other coefficient data AC2 to AC15 have the same configuration as the detection circuit CN1 shown in FIG.
第5図A及び第5図Bは、標準偏差m1〜m15の一例及
び他の例を夫々示す。第5図Aは、静止画像に近い画像
に関する標準偏差を示し、第5図Bは、動きのある画像
に関する標準偏差を示している。FIGS. 5A and 5B show an example and other examples of the standard deviations m1 to m15, respectively. FIG. 5A shows the standard deviation for an image close to a still image, and FIG. 5B shows the standard deviation for a moving image.
第5図Aの例では、低周波成分に対応する低次の係数
データの標準偏差が大きく、高周波成分と対応する高次
の係数データの標準偏差が小さい。従って、エネルギー
が低周波側に集中している。他方、第5図Bの例では、
第5図Aの上述の傾向を持たず、縦方向に位置する係数
データAC2、AC3及びAC9の標準偏差m2、m3及びm9が大き
い。このように、画像の性質で交流成分の係数データの
分布状態が変化する。In the example of FIG. 5A, the standard deviation of the low-order coefficient data corresponding to the low-frequency component is large, and the standard deviation of the high-order coefficient data corresponding to the high-frequency component is small. Therefore, energy is concentrated on the low frequency side. On the other hand, in the example of FIG.
The standard deviations m2, m3 and m9 of the coefficient data AC2, AC3 and AC9 located in the vertical direction do not have the above-mentioned tendency in FIG. Thus, the distribution state of the coefficient data of the AC component changes depending on the nature of the image.
従って、各係数データの標準偏差m1〜m15の大きさに
応じて量子化の細かさを決定するようになされている。
検出回路CN1〜CN15に夫々設けられたROM28は、下記のテ
ーブルのように最大歪みを規定するように、量子化の割
り当てビット数n1〜n15を制御する。ROM28の代わりに、
標準偏差としきい値とを比較する比較回路を用いても良
い。Therefore, the fineness of quantization is determined according to the magnitude of the standard deviation m1 to m15 of each coefficient data.
The ROM 28 provided in each of the detection circuits CN1 to CN15 controls the number of allocated bits n1 to n15 for quantization so as to define the maximum distortion as shown in the following table. Instead of ROM28,
A comparison circuit for comparing the standard deviation with a threshold value may be used.
また、標準偏差m1〜m15に対して、各成分毎の歪みの
目立つ程度を考慮した重み付けを行い、重み付けされた
標準偏差から最大歪みを規定しても良い。 The standard deviations m1 to m15 may be weighted in consideration of the degree of distortion of each component, and the maximum distortion may be defined from the weighted standard deviation.
第6図は、係数データAC1〜AC15の夫々に関する標準
偏差m1〜m15の更に他の例を示す。第6図に示される標
準偏差が加算回路5で加算され、89.63の加算結果が得
られる。加算出力が大きいことは、一般的にディテール
があることを意味し、これが小さいことは、一般的にデ
ィテールがないことを意味する。従って、加算出力が供
給されるROM6は、加算出力の値に応じて最大歪みを下記
のテーブルのように規定する割り当てビット数n0を発生
する。FIG. 6 shows still another example of the standard deviations m1 to m15 for each of the coefficient data AC1 to AC15. The standard deviation shown in FIG. 6 is added by the adding circuit 5, and an addition result of 89.63 is obtained. A large addition output generally means that there is detail, and a small addition output generally means that there is no detail. Therefore, the ROM 6 to which the added output is supplied generates the number of allocated bits n0 that defines the maximum distortion as shown in the following table according to the value of the added output.
なお、ADRCに限らず、単なる量子化を行い、量子化出
力をランレングスリミティッドコード、ハフマンコード
で符号化しても良い。また、ADRCの場合に、最大値MAX
で係数データを正規化しても良く、係数データの所定期
間の度数分布を求めて発生データ量を伝送路の容量に応
じて制御するバッファリングを行っても良い。更に、コ
サイン変換以外のアダマール変換等の直交変換を使用し
ても良い。 Not limited to ADRC, simple quantization may be performed, and the quantized output may be encoded using a run-length limited code or a Huffman code. In the case of ADRC, the maximum value MAX
May be used to normalize the coefficient data, or buffering may be performed in which the frequency distribution of the coefficient data in a predetermined period is obtained and the amount of generated data is controlled in accordance with the capacity of the transmission path. Further, orthogonal transform such as Hadamard transform other than cosine transform may be used.
この発明は、直流成分の係数データを量子化する時
に、画像のディテールに応じて量子化の細かさを制御す
るので、伝送データ量が制約されているときに、復元画
像の画質を良好とできる。According to the present invention, when quantizing the coefficient data of the DC component, the fineness of the quantization is controlled according to the details of the image. Therefore, when the amount of transmission data is restricted, the image quality of the restored image can be improved. .
第1図はこの発明の一実施例のブロック図、第2図はコ
サイン変換のブロックの一例を示す略線図、第3図はAD
RCエンコーダの一例のブロック図、第4図は係数データ
の分布状態を検出する回路の一例のブロック図、第5図
及び第6図は標準偏差の例を夫々示す略線図である。 図面における主要な符号の説明 2:コサイン変換のブロックを形成するブロック化回路、
3:コサイン変換回路、EN0〜EN15:ADRCエンコーダ、CN0
〜CN15:検出回路、5:加算回路、6:ROM、17:量子化回
路、28:ROM。FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a schematic diagram showing an example of a cosine transform block, and FIG.
FIG. 4 is a block diagram of an example of an RC encoder, FIG. 4 is a block diagram of an example of a circuit for detecting a distribution state of coefficient data, and FIGS. 5 and 6 are schematic diagrams showing examples of standard deviation. Explanation of the main symbols in the drawing 2: a blocking circuit forming a block of the cosine transform,
3: Cosine conversion circuit, EN0 to EN15: ADRC encoder, CN0
CN15: detection circuit, 5: addition circuit, 6: ROM, 17: quantization circuit, 28: ROM.
Claims (3)
ブロックに分割するブロック化回路と、上記ブロック化
回路の出力のブロックデータを直交変換する直交変換手
段と、上記直交変換手段からの係数データを量子化する
量子化手段とを有する高能率符号化装置において、 上記直交変換手段からのAC係数データの分布状態を検出
する検出手段と、 上記検出手段の出力に基づいて上記直交変換手段の出力
のDC係数データの量子化特性を制御する制御手段とを有
してなる高能率符号化装置。1. A blocking circuit for dividing image data into blocks each consisting of a predetermined number of pixel data, orthogonal transform means for orthogonally transforming block data output from the block circuit, and coefficient data from the orthogonal transform means. A high-efficiency encoding device having quantization means for quantizing the signal, detecting means for detecting a distribution state of AC coefficient data from the orthogonal transformation means, and an output of the orthogonal transformation means based on an output of the detection means. And a control means for controlling the quantization characteristic of the DC coefficient data.
偏差を求める手段と、上記標準偏差を全ての上記AC係数
データについて合計する手段とを有し、上記制御手段
は、DC係数データの量子化の最大歪を上記合計手段の出
力に基づいて規定する手段を有してなる請求項(1)記
載の高能率符号化装置。2. The apparatus according to claim 1, wherein said detecting means has means for calculating a standard deviation for each AC coefficient data, and means for summing said standard deviation for all said AC coefficient data. 2. The high-efficiency coding apparatus according to claim 1, further comprising means for defining the maximum distortion of the quantization based on the output of said summing means.
ブロックに分割し、ブロックデータを直交変換し、直交
変換で発生した係数データを量子化するようにした高能
率符号化方法において、 上記直交変換で発生したAC係数データの分布状態を検出
するステップと、 検出結果に基づいて上記直交変換で発生したDC係数デー
タの量子化特性を制御するステップとを有してなる高能
率符号化方法。3. A high-efficiency encoding method for dividing image data into blocks each including a predetermined number of pixel data, orthogonally transforming the block data, and quantizing coefficient data generated by the orthogonal transformation. A highly efficient encoding method comprising: detecting a distribution state of AC coefficient data generated by transform; and controlling quantization characteristics of DC coefficient data generated by the orthogonal transform based on a detection result.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010362A JP2917351B2 (en) | 1990-01-19 | 1990-01-19 | High efficiency coding apparatus and coding method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010362A JP2917351B2 (en) | 1990-01-19 | 1990-01-19 | High efficiency coding apparatus and coding method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH03214986A JPH03214986A (en) | 1991-09-20 |
| JP2917351B2 true JP2917351B2 (en) | 1999-07-12 |
Family
ID=11748054
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2010362A Expired - Lifetime JP2917351B2 (en) | 1990-01-19 | 1990-01-19 | High efficiency coding apparatus and coding method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2917351B2 (en) |
-
1990
- 1990-01-19 JP JP2010362A patent/JP2917351B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH03214986A (en) | 1991-09-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3025610B2 (en) | Encoding method and apparatus | |
| KR0184905B1 (en) | Code amount control device and encoding apparatus using the same | |
| JP2675529B2 (en) | Video coding method and apparatus thereof | |
| JP2795783B2 (en) | Video compression method and system using fixed bit rate setting | |
| CA1278381C (en) | Data compression using orthogonal transform and vector quantization | |
| JPH09261078A (en) | Data decoding method and apparatus thereof | |
| JPH03204290A (en) | Video signal coding method | |
| JPH1013834A (en) | Adaptive encoding method, encoder and decoder for consecutive picture | |
| JPH09307904A (en) | Quantizer for video signal coding system | |
| JPH01503509A (en) | Hierarchical encoding method and device for effectively communicating a series of images | |
| JPH05219385A (en) | Picture compression expansion method and device | |
| JPH07162863A (en) | Adaptive quantization parameter controller | |
| JP2917351B2 (en) | High efficiency coding apparatus and coding method | |
| JP2545302B2 (en) | High efficiency encoder | |
| JP2633118B2 (en) | Image data compression apparatus and method | |
| JP2789585B2 (en) | High efficiency coding device | |
| JPH08307835A (en) | Class classification adaptive processing apparatus and method | |
| JP2862022B2 (en) | Image coding method | |
| JPH02311085A (en) | Picture signal compression coding device | |
| JP3199786B2 (en) | Image processing device | |
| JP3082957B2 (en) | Image processing method | |
| JP2872149B2 (en) | Image coding device | |
| JP3016805B2 (en) | Image data compression method | |
| KR0157445B1 (en) | Encoder method and apparatus using variable length quantization | |
| JP2820807B2 (en) | Image data encoding method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080423 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090423 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090423 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100423 Year of fee payment: 11 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100423 Year of fee payment: 11 |