[go: up one dir, main page]

JP2861373B2 - Apparatus and method for receiving encoded data - Google Patents

Apparatus and method for receiving encoded data

Info

Publication number
JP2861373B2
JP2861373B2 JP31105190A JP31105190A JP2861373B2 JP 2861373 B2 JP2861373 B2 JP 2861373B2 JP 31105190 A JP31105190 A JP 31105190A JP 31105190 A JP31105190 A JP 31105190A JP 2861373 B2 JP2861373 B2 JP 2861373B2
Authority
JP
Japan
Prior art keywords
data
circuit
quantization
coefficient data
value
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
JP31105190A
Other languages
Japanese (ja)
Other versions
JPH04181819A (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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP31105190A priority Critical patent/JP2861373B2/en
Publication of JPH04181819A publication Critical patent/JPH04181819A/en
Application granted granted Critical
Publication of JP2861373B2 publication Critical patent/JP2861373B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Color Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、直交変換による符号化と、この符号化で
発生した係数データを複数ブロック分まとめて量子化す
る符号化の復号を行うための符号化データの受信装置及
び方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention is directed to decoding by orthogonal transform and encoding in which coefficient data generated by this encoding is quantized collectively for a plurality of blocks. The present invention relates to an apparatus and a method for receiving encoded data.

〔発明の概要〕[Summary of the Invention]

この発明は、ディジタル画像信号をブロック化し、ブ
ロック化されたディジタル画像信号を直交変換して得ら
れた係数データを複数ブロック分まとめて量子化する符
号化がなされ、この符号化で発生したデータを受信して
復号するようになされた受信装置において、復号代表値
として、量子化データで表現される原係数データの所定
期間における平均値データを用いて量子化データを復号
する復号回路と、復号回路の出力の係数データを逆直交
変換する変換回路とを有し、量子化歪みの少ない復号を
行うことができる。
According to the present invention, encoding is performed in which a digital image signal is blocked, and coefficient data obtained by orthogonally transforming the blocked digital image signal is quantized collectively for a plurality of blocks. In a receiving apparatus adapted to receive and decode, a decoding circuit for decoding quantized data by using an average value of original coefficient data represented by quantized data in a predetermined period as a decoding representative value, and a decoding circuit And a transform circuit for performing inverse orthogonal transform on the output coefficient data of (i).

〔従来の技術〕[Conventional technology]

本願出願人は、画像データの伝送データ量を圧縮する
符号化方法としてADRC(Adaptive Dynamic Range Codin
g)を提案している。ADRCは、特開昭61−144989号公報
に記載されているような、2次元ブロック内に含まれる
複数画素の最大値および最小値の差であるダイナミック
レンジを求め、このダイナミックレンジに適応した符号
化を行う符号化である。また、特開昭62−92620号公報
に記載されているように、複数フレームに各々含まれる
領域の画素から形成された3次元ブロックに関してダイ
ナミックレンジに適応した符号化を行う適応符号化装置
が提案されている。更に、特開昭62−128621号公報に記
載されているように、量子化を行った時に生じる最大歪
みが一定となるように、ダイナミックレンジに応じてビ
ット数が変化する可変長符号化方法が提案されている。
The present applicant has proposed an adaptive dynamic range coding (ADRC) as an encoding method for compressing the transmission data amount of image data.
g) is proposed. ADRC calculates a dynamic range, which is the difference between the maximum value and the minimum value of a plurality of pixels included in a two-dimensional block, as described in Japanese Patent Laid-Open No. This is the encoding that performs the conversion. Further, as described in Japanese Patent Application Laid-Open No. 62-92620, an adaptive coding apparatus that performs coding adaptive to a dynamic range with respect to a three-dimensional block formed from pixels in an area included in each of a plurality of frames is proposed. Have been. Further, as described in Japanese Patent Application Laid-Open No. 62-128621, a variable length encoding method in which the number of bits changes according to a dynamic range so that the maximum distortion generated when quantization is performed is constant. Proposed.

これらのADRCでは、ブロック内に含まれる各画素と対
応したコード信号(量子化コード)と共に、そのブロッ
クのダイナミックレンジ情報を有する付加コード例えば
最小値MINおよびダイナミックレンジDRが発生し、コー
ド信号および付加コードが伝送される。ADRCの符号化デ
ータを伝送する時には、1ブロック分のデータは、付加
コードのDR、MINとブロック内の各画素のコード信号と
で構成される。1ブロックのコード信号の長さは、量子
化の割り当てビット数が固定の場合には、一定であり、
これが可変の場合には、一定ではない。
In these ADRCs, a code signal (quantization code) corresponding to each pixel included in a block and an additional code having the dynamic range information of the block, such as a minimum value MIN and a dynamic range DR, are generated. The code is transmitted. When transmitting the encoded data of ADRC, the data of one block is composed of the additional codes DR and MIN and the code signal of each pixel in the block. The length of the code signal of one block is constant when the number of allocated bits for quantization is fixed,
If this is variable, it is not constant.

また、本願出願人は、コサイン変換等の直交変換符号
化と上述のADRCとを組み合わせたハイブリッド符号化を
提案している(特願昭62−270564号および特願昭63−24
5227号参照)。このハイブリッド符号化では、コサイン
変換で得られた直流成分の係数データと交流成分の同じ
次数の係数データとの夫々をブロック化してADRCを適用
している。従って、係数データからなるブロック毎に、
ダイナミックレンジDRおよび最小値MINの付加コードが
発生する。直流成分の係数データと交流成分の係数デー
タとで、符号化が異ならされる。即ち、直流成分の係数
データは、ADRCと同様に符号化し、交流成分の係数デー
タに関しては、ダイナミックレンジDRに応じて量子化の
割り当てビット数を決定し、また、最小値MINは、0と
みなして伝送せず、割り当てビット数を示すビット数デ
ータとコード信号とが伝送される。かかるハイブリッド
符号化における付加コードの圧縮に関する提案が本願出
願人によりなされている(特願平2−10364号明細書参
照)。
Further, the applicant of the present application has proposed hybrid coding combining orthogonal transform coding such as cosine transform and the above-mentioned ADRC (Japanese Patent Application Nos. 62-270564 and 63-24).
No. 5227). In this hybrid coding, ADRC is applied by blocking each of the DC component coefficient data obtained by the cosine transform and the AC component coefficient data of the same order. Therefore, for each block of coefficient data,
An additional code of the dynamic range DR and the minimum value MIN is generated. The encoding is different between the DC component coefficient data and the AC component coefficient data. That is, the coefficient data of the DC component is coded in the same manner as ADRC, and the coefficient data of the AC component determines the number of bits to be allocated for quantization in accordance with the dynamic range DR, and the minimum value MIN is regarded as 0. , And the bit number data indicating the allocated bit number and the code signal are transmitted. A proposal on compression of additional codes in such hybrid coding has been made by the present applicant (see Japanese Patent Application No. 2-10364).

このようなDCTとADRCとを含むハイブリッド符号化で
発生した符号化データを受信する復号装置は、直流成分
および交流成分の夫々に対する復号が行う構成とされて
いる。直流成分に関しては、ダイナミックレンジDRと最
小値MINと係数データを量子化したコード信号とを使用
した復号がなされる。交流成分に関しては、ビット数デ
ータと量子化コードと量子化テーブルとを使用して復号
がなされる。例えば量子化コードとテーブルとから求め
られた係数データの存在範囲が10〜20の場合では、復号
側では、その中央値の15を用いて量子化コードを復号し
ていた。
A decoding device that receives coded data generated by hybrid coding including such DCT and ADRC is configured to perform decoding on each of a DC component and an AC component. For the DC component, decoding is performed using the dynamic range DR, the minimum value MIN, and the code signal obtained by quantizing the coefficient data. The AC component is decoded using the bit number data, the quantization code, and the quantization table. For example, when the existence range of the coefficient data obtained from the quantization code and the table is 10 to 20, the decoding side decodes the quantization code using the median value of 15.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

ところで、DCTで発生した係数データは、第7図に示
すように、何れの次数の成分に関しても、0への集中が
強い傾向がある。かかる分布において、上述の例の10と
20との間の係数の平均値を求めると、その値は、略々確
実に15よりも小さくなる。また、成分によっては、平均
値と中央値の差がかなり大きくなることも多い。従っ
て、存在範囲の中央値を常に復号代表値として復号する
先の受信装置は、最適と言えないものであった。
By the way, coefficient data generated by DCT tends to be strongly concentrated on 0 for any order component, as shown in FIG. In such a distribution, 10 and
If the average value of the coefficient between 20 is found, that value is almost certainly less than 15. Further, the difference between the average value and the median value often becomes considerably large depending on the component. Therefore, the receiving device that always decodes the median of the existence range as the decoding representative value is not optimal.

従って、この発明の目的は、量子化歪みの少ない符号
化を実現できる符号化データの受信装置及び方法を提供
することにある。
Accordingly, an object of the present invention is to provide an encoded data receiving apparatus and method capable of implementing encoding with less quantization distortion.

〔課題を解決するための手段〕[Means for solving the problem]

この発明は、ディジタル画像信号をブロック化し、ブ
ロック化されたディジタル画像信号を直交変換して得ら
れた係数データを複数ブロック分まとめて量子化する符
号化がなされ、この符号化で発生したデータを受信する
復号するようになされた受信装置において、 復号代表値として、量子化データで表現される原係数
データの所定期間における平均値データを用いて量子化
データを復号する復号手段(41a、41b、41c、46)と、 復号手段(41a、41b、41c、46)の出力の係数データ
を逆直交変換する変換手段(48)と を有してなることを特徴とする符号化データの受信装
置である。また、この発明は、このように受信データを
復号するようにした受信方法である。
According to the present invention, encoding is performed in which a digital image signal is blocked, and coefficient data obtained by orthogonally transforming the blocked digital image signal is quantized collectively for a plurality of blocks. In the receiving device configured to receive and decode, decoding means (41a, 41b, 41c, 46) and a transforming means (48) for inversely transforming coefficient data output from the decoding means (41a, 41b, 41c, 46). is there. The present invention is also a receiving method for decoding received data in this way.

〔作用〕[Action]

エンコーダ側で係数データの所定期間例えば1フレー
ム期間の平均値が求められ、この平均値が伝送される。
平均値は、使用する量子化テーブル毎に、係数データの
次数毎等で算出される。従って、平均値を復号値とする
ことで、常に中央値を復号値とする方法と比して、量子
化歪みを小とできる。
An average value of coefficient data for a predetermined period, for example, one frame period, is obtained on the encoder side, and the average value is transmitted.
The average value is calculated for each order of the coefficient data for each quantization table used. Therefore, by using the average value as the decoded value, the quantization distortion can be reduced as compared with the method of always using the median value as the decoded value.

〔実施例〕 以下、この発明の一実施例について、図面を参照して
説明する。エンコーダ側の構成を示す第1図において、
1で示す入力端子に、1サンプルが8ビットにディジタ
ル化されたディジタルビデオ信号が供給される。このデ
ィジタルビデオ信号がブロック化回路2に供給され、コ
サイン変換のためのブロック構成に入力ディジタルビデ
オ信号の順序が変更される。例えば1フレームの画像が
(4×4)の小ブロックに分割される。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In FIG. 1 showing the configuration on the encoder side,
A digital video signal in which one sample is digitized to 8 bits is supplied to an input terminal indicated by 1. This digital video signal is supplied to the blocking circuit 2, and the order of the input digital video 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)の係数テーブルが得
られる。勿論、コサイン変換のブロックのサイズは、こ
れに限定されるものではない。第2図Aは、コサイン変
換回路3から得られる(4×4)の係数テーブルを示
す。第2図Aにおいて、DCが直流成分を示し、AC1、AC
2、・・・・AC15が交流成分を示す。係数テーブルは、
直流成分からスタートしてジグザグ走行の順序で各係数
データが配置された系列で伝送される。
The output signal of the blocking circuit 2 is supplied to a cosine transform circuit 3, where the cosine transform circuit 3 performs a two-dimensional cosine transform. From the cosine transform circuit 3, a (4 × 4) coefficient table corresponding to the block size of the cosine transform is obtained. Of course, the size of the cosine transform block is not limited to this. FIG. 2A shows a (4 × 4) coefficient table obtained from the cosine transform circuit 3. In FIG. 2A, DC indicates a DC component, AC1, AC
2,..., AC15 indicates an AC component. The coefficient table is
Starting from the DC component, the data is transmitted in a sequence in which each coefficient data is arranged in the order of zigzag traveling.

2次元コサイン変換は、標本化された離散的な画像信
号f(j,k)がコサイン変換回路3により、次式で示さ
れる処理がなされる。但し、原データは、1ブロックが
(N×N)サンプルの2次元データf(j,k)(j,k=0,
1,...,N−1)とする。
In the two-dimensional cosine transform, the sampled discrete image signal f (j, k) is subjected to processing represented by the following equation by the cosine transform circuit 3. However, as for the original data, one block has two-dimensional data f (j, k) (j, k = 0,
1, ..., N-1).

コサイン変換回路3からの係数データがハイブリッド
ブロック化回路4に供給される。ハイブリッドブロック
化回路4は、第2図Bに示すように、(4×4=16)個
のDCTの係数ブロック(DCT1、DCT2、・・・・、DCT16)
をまとめたハイブリッドブロックを形成する。このハイ
ブリッドブロック化回路4からの出力データは、DC(DC
T1)、DC(DCT2)、・・・、DC(DCT16)、AC1(DCT
1)、AC1(DCT2)、・・・AC1(DCT16)、AC2(DCT
1)、・・・、AC2(DCT16)、AC3(DCT1)、・・・、AC
14(DCT16)、AC15(DCT1)、・・・、AC15(DCT16)の
順序のものである。即ち、同次の成分毎がまとまってい
る。このハイブリッドブロック化回路4の出力データが
絶対値化回路5およびタイミング発生回路6に夫々供給
される。
The coefficient data from the cosine transform circuit 3 is supplied to the hybrid blocking circuit 4. As shown in FIG. 2B, the hybrid blocking circuit 4 includes (4 × 4 = 16) DCT coefficient blocks (DCT1, DCT2,..., DCT16).
To form a hybrid block. Output data from the hybrid blocking circuit 4 is DC (DC
T1), DC (DCT2), ..., DC (DCT16), AC1 (DCT
1), AC1 (DCT2), AC1 (DCT16), AC2 (DCT)
1), ..., AC2 (DCT16), AC3 (DCT1), ..., AC
14 (DCT16), AC15 (DCT1),..., AC15 (DCT16). That is, the same components are collected. Output data of the hybrid blocking circuit 4 is supplied to an absolute value conversion circuit 5 and a timing generation circuit 6, respectively.

絶対値化回路5からの交流の係数データが平均値検出
回路7およびスイッチ回路8に夫々供給される。このス
イッチ回路8は、タイミング発生回路6からのタイミン
グパルスT1によりスイッチングされる。この一実施例で
は、交流成分の係数データを3個のグループに分け、各
グループで異なる量子化テーブルを使用している。
The AC coefficient data from the absolute value conversion circuit 5 is supplied to the average value detection circuit 7 and the switch circuit 8, respectively. The switch circuit 8 is switched by a timing pulse T1 from the timing generation circuit 6. In this embodiment, the coefficient data of the AC component is divided into three groups, and different quantization tables are used for each group.

即ち、第3図において破線で区切って示すように、
(4×4)の係数データの中の交流成分のデータが第1
の量子化テーブルを用いるグループ(AC1、AC2、AC3、A
C4、AC5)と、第2の量子化テーブルを用いるグループ
(AC6、AC7、AC8、AC9、AC10)と、第3の量子化テーブ
ルを用いるグループ(AC11、AC12、AC13、AC14、AC15)
とに分割される。このように、異なる量子化テーブルを
使用するのは、次数の高低に応じて量子化のステップの
幅を異ならせ、良好な量子化を行うためである。スイッ
チ回路8の出力端子aからは、第1の量子化テーブルで
量子化される係数データが取り出される。スイッチ回路
8の出力端子bおよび出力端子cには、第2の量子化テ
ーブルおよび第3の量子化テーブルでそれぞれ量子化さ
れる係数データが取り出される。
That is, as shown by a broken line in FIG.
The AC component data in the (4 × 4) coefficient data is the first
Group using the quantization table of (AC1, AC2, AC3, A
C4, AC5), a group using the second quantization table (AC6, AC7, AC8, AC9, AC10), and a group using the third quantization table (AC11, AC12, AC13, AC14, AC15).
And divided into The reason why the different quantization tables are used in this way is to make the width of the quantization step different according to the degree of the order and to perform good quantization. From the output terminal a of the switch circuit 8, coefficient data to be quantized by the first quantization table is extracted. From the output terminal b and the output terminal c of the switch circuit 8, coefficient data to be quantized by the second quantization table and the third quantization table, respectively, is extracted.

直流成分の係数データDCは、図示せずも、交流成分と
別に、先に提案されている方法と同様にADRC符号化され
る。つまり、ハイブリッドブロック内に含まれる16個の
直流成分の係数データの最大値MAXおよび最小値MINが検
知され、これらの差であるダイナミックレンジDRを求め
られ、ダイナミックレンジDRに適応して直流成分の係数
データが量子化される。
Although not shown, the coefficient data DC of the DC component is subjected to ADRC encoding separately from the AC component in the same manner as the previously proposed method. That is, the maximum value MAX and the minimum value MIN of the coefficient data of the 16 DC components included in the hybrid block are detected, and the dynamic range DR, which is the difference between them, is obtained.The dynamic range DR is adapted to the dynamic range DR. The coefficient data is quantized.

スイッチ回路8の出力端子aには、量子化回路9aおよ
び最大値検出回路11aが接続される。他の出力端子bお
よびcには、量子化回路9b、9cおよび最大値検出回路11
b、11cがそれぞれ接続される。量子化回路9a、9b、9cと
それぞれ関連して量子化テーブル10a、10b、10cが設け
られる。量子化テーブル10aは、例えば第4図に示すよ
うに、絶対値の係数データの値の範囲と量子化の出力値
との対応関係を示している。量子化出力は、1、2、
3、・・・と昇順の整数値である。量子化回路9aは、量
子化テーブル10aを参照して入力データと対応する量子
化出力を発生する。他の量子化回路9b、9cおよび量子化
テーブル10b、10cも、この量子化回路9aおよび量子化テ
ーブル10aと同様にして、量子化を行う。量子化回路9
b、9cの出力も、1、2、3、・・・と昇順の整数値で
ある。但し、量子化テーブル10a、10b、10cの間では、
整数値の各々と対応する絶対値の範囲が異ならされてい
る。
The output terminal a of the switch circuit 8 is connected to a quantization circuit 9a and a maximum value detection circuit 11a. The other output terminals b and c have quantization circuits 9b and 9c and a maximum value detection circuit 11 respectively.
b and 11c are respectively connected. Quantization tables 10a, 10b, and 10c are provided in association with the quantization circuits 9a, 9b, and 9c, respectively. As shown in FIG. 4, for example, the quantization table 10a shows the correspondence between the range of absolute coefficient data and the output value of quantization. The quantized outputs are 1, 2,
3,... Are integer values in ascending order. The quantization circuit 9a generates a quantization output corresponding to the input data with reference to the quantization table 10a. The other quantization circuits 9b and 9c and the quantization tables 10b and 10c perform quantization in the same manner as the quantization circuit 9a and the quantization table 10a. Quantization circuit 9
The outputs of b and 9c are also integer values in ascending order of 1, 2, 3,.... However, between the quantization tables 10a, 10b, and 10c,
The range of absolute values corresponding to each of the integer values is different.

最大値検出回路11a、11b、11cは、グループに分割さ
れた係数データの中の所定期間中(例えば1フレーム期
間内)の最大値を検出する。タイミング発生回路6から
のタイミングパルスT2は、この最大値の検出がされる期
間毎に、最大値検出回路11a、11b、11cをリセットす
る。検出された最大値がビット数決定回路13a、13b、13
cにそれぞれ供給される。ビット数決定回路13a、13b、1
3cは、この検出された係数データの絶対値の最大値を量
子化出力に変換するために、量子化テーブル10a、10b、
10cを参照する。例えばビット数決定回路13aは、検出さ
れた最大の量子化出力が3の時には、2ビットを割当て
ビット数として決定する。
The maximum value detection circuits 11a, 11b, 11c detect the maximum value during a predetermined period (for example, within one frame period) in the coefficient data divided into groups. The timing pulse T2 from the timing generation circuit 6 resets the maximum value detection circuits 11a, 11b, and 11c every time the maximum value is detected. The detected maximum value is the number of bits determination circuit 13a, 13b, 13
c respectively. Bit number determination circuits 13a, 13b, 1
3c converts the maximum value of the absolute value of the detected coefficient data into a quantized output by using quantization tables 10a, 10b,
See 10c. For example, when the maximum detected quantization output is 3, the bit number determination circuit 13a determines 2 bits as the number of allocated bits.

ビット数決定回路13a、13b、13cの出力がスイッチ回
路14の入力端子および符号化回路12a、12b、12cにそれ
ぞれ供給される。量子化回路9a、9b、9cの出力信号が符
号化回路12a、12b、12cにそれぞれ供給される。上述の
例のように、ビット数が2ビットの時では、第1のクル
ープの係数データの量子化出力(整数値)が(00、01、
10、11)の何れかのものに符号化回路12aで符号化され
る。
The outputs of the bit number determination circuits 13a, 13b, 13c are supplied to the input terminal of the switch circuit 14 and the encoding circuits 12a, 12b, 12c, respectively. Output signals of the quantization circuits 9a, 9b, 9c are supplied to the encoding circuits 12a, 12b, 12c, respectively. As in the above example, when the number of bits is 2 bits, the quantized output (integer value) of the coefficient data of the first group is (00, 01,
The data is encoded by the encoding circuit 12a into any one of (10) and (11).

符号化回路12a、12b、12cの出力データがスイッチ回
路14の入力端子にそれぞれ供給される。スイッチ回路14
は、タイミング発生回路6からのタイミングパルスT1に
より制御され、使用する量子化テーブル毎にグループに
応じて切り替えられる。このスイッチ回路14の一方の出
力端子15には、各グループのビット数を示すビット数デ
ータが取り出され、その他方の出力端子16には、各グル
ープの量子化コードが取り出される。
Output data of the encoding circuits 12a, 12b, and 12c are supplied to input terminals of the switch circuit 14, respectively. Switch circuit 14
Is controlled by the timing pulse T1 from the timing generation circuit 6, and is switched according to the group for each quantization table used. At one output terminal 15 of the switch circuit 14, bit number data indicating the number of bits of each group is extracted, and at the other output terminal 16, a quantization code of each group is extracted.

また、平均値検出回路7には、係数データと共に、量
子化回路9a、9b、9cの出力信号が供給される。この平均
値検出回路7は、上述の第1、第2および第3のグルー
プ毎の1フレーム期間の平均値を検出する。
The average value detection circuit 7 is supplied with output signals of the quantization circuits 9a, 9b and 9c together with coefficient data. The average value detection circuit 7 detects an average value of one frame period for each of the first, second, and third groups.

第5図は、平均値検出回路7の一部を構成し、第1の
グループの係数データの平均値を形成する回路の一例を
示す。この平均値検出回路は、係数データの絶対値を記
憶するメモリ21と、量子化出力のそれぞれの1フレーム
期間の度数を検出し、その度数を記憶するメモリ22とを
有している。これらのメモリ21および22は、23で示す入
力端子からのフレーム周期のパルスによりクリアされ
る。メモリ21に対するアドレスは、スイッチ回路24を介
して供給され、メモリ22に対するアドレスは、スイッチ
回路25を介して供給される。
FIG. 5 shows an example of a circuit forming a part of the average value detection circuit 7 and forming an average value of the coefficient data of the first group. This average value detection circuit has a memory 21 for storing the absolute value of coefficient data, and a memory 22 for detecting the frequency of each quantized output in one frame period and storing the frequency. These memories 21 and 22 are cleared by a frame cycle pulse from an input terminal indicated by 23. The address for the memory 21 is supplied via a switch circuit 24, and the address for the memory 22 is supplied via a switch circuit 25.

26で示す入力端子からは、絶対値化回路5からの係数
データで、第1のグループのものが供給され、加算回路
27に与えられる。この加算回路27には、スイッチ回路28
を介してメモリ21の読み出し出力が供給される。加算回
路27の出力がメモリ21に書き込まれる。
From an input terminal indicated by reference numeral 26, coefficient data from the absolute value conversion circuit 5 is supplied to the first group,
Given to 27. This addition circuit 27 includes a switch circuit 28
The read output of the memory 21 is supplied via the. The output of the adding circuit 27 is written to the memory 21.

メモリ21のスイッチ回路24の一方の入力端子には、テ
ーブル10aと関連した量子化回路9aから量子化出力が供
給される。従って、量子化出力の整数値と対応するアド
レスに対して、係数データの絶対値が書き込まれる。こ
の動作は、1フレーム期間の有効データが存在している
期間でなされ、この有効データ期間では、スイッチ回路
28がオンしている。従って、有効データ期間の終わりで
は、各量子化出力と対応するアドレスには、量子化され
る前に係数データの累積値が格納される。
One input terminal of the switch circuit 24 of the memory 21 is supplied with a quantized output from the quantizing circuit 9a associated with the table 10a. Therefore, the absolute value of the coefficient data is written to the address corresponding to the integer value of the quantized output. This operation is performed during a period in which valid data of one frame period exists. In this valid data period, the switch circuit
28 is on. Therefore, at the end of the valid data period, the accumulated value of the coefficient data before quantization is stored in the address corresponding to each quantized output.

メモリ22のスイッチ回路25の一方の入力端子にも、量
子化回路9aの量子化出力が供給されている。メモリ22の
読み出し出力が加算回路29に供給され、加算回路29で読
み出し出力に対して1が加算される。加算回路29の出力
信号がスイッチ回路30を介してメモリ22に書き込まれ
る。従って、量子化出力の値がアドレスとされることに
よって、1フレーム期間の有効データ期間の終わりで
は、メモリ22の量子化出力と対応する各アドレスには、
発生度数の1フレーム期間の累積値が格納される。
The quantization output of the quantization circuit 9a is also supplied to one input terminal of the switch circuit 25 of the memory 22. The read output of the memory 22 is supplied to the adder circuit 29, and the adder circuit 29 adds 1 to the read output. The output signal of the adding circuit 29 is written to the memory 22 via the switch circuit 30. Therefore, by using the value of the quantized output as an address, at the end of the valid data period of one frame period, each address corresponding to the quantized output of the memory 22 includes:
The cumulative value of the frequency of occurrence for one frame period is stored.

1フレーム期間内の有効データ期間の後のデータ欠如
期間では、スイッチ回路24および25が切り替えられ、ア
ドレス発生回路31からの順次アドレスがメモリ21および
22にそれぞれ供給され、メモリ21および22が読み出し動
作を行う。また、スイッチ回路28および30がオフとされ
る。第1のテーブルの量子化出力の値の1から順に、
2、3、・・・とアドレスが変化される。メモリ21およ
び22の読み出し出力が割算回路32に供給され、メモリ21
の読み出し出力(即ち、量子化出力1の累積値)がメモ
リ22の読み出し出力(即ち、その累積度数)で除算され
る。従って、除算回路32の出力端子33には、第1のテー
ブルの量子化出力1に関する平均値が発生する。同様に
して、出力端子33には、量子化出力の他の整数値2、
3、・・・、のそれぞれに関する平均値が発生する。
In the data absence period after the valid data period in one frame period, the switch circuits 24 and 25 are switched, and the sequential address from the address generation circuit 31 is stored in the memory 21 and
22 and the memories 21 and 22 perform a read operation. Further, the switch circuits 28 and 30 are turned off. In order from the quantization output value 1 in the first table,
The addresses are changed to 2, 3,... The read outputs of the memories 21 and 22 are supplied to a division circuit 32,
(Ie, the cumulative value of the quantized output 1) is divided by the read output of the memory 22 (ie, its cumulative frequency). Therefore, at the output terminal 33 of the dividing circuit 32, an average value relating to the quantized output 1 of the first table is generated. Similarly, an output terminal 33 outputs another integer value 2,
An average value is generated for each of 3,.

第2および第3のテーブルのそれぞれに関して、第5
図と同様の平均値検出回路が設けられ、各テーブルの各
量子化出力の値毎の平均値が検出される。1フレーム期
間の終わりでは、平均値検出動作が完了しており、メモ
リ21および22の内容がクリアされる。
For each of the second and third tables, the fifth
An average value detection circuit similar to that shown in the figure is provided, and an average value for each quantized output value of each table is detected. At the end of one frame period, the average value detection operation has been completed, and the contents of the memories 21 and 22 are cleared.

上述のエンコーダにより、交流成分の係数データに関
しては、量子化ビット数を示すビット数データと量子化
コードとテーブルの各整数値毎の平均値データとが発生
する。これらの交流成分の係数データに関する符号化出
力と直流成分に関する符号化出力、即ち、付加的コード
および量子化コードとが伝送される。
The encoder generates bit number data indicating the number of quantization bits, quantization code, and average value data for each integer value in the table for the coefficient data of the AC component. An encoded output relating to the coefficient data of the AC component and an encoded output relating to the DC component, that is, the additional code and the quantization code are transmitted.

次に、第6図を参照してデコーダの一例について説明
する。この第6図は、交流成分に関しての構成のみを示
し、直流成分については省略している。直流成分は、通
常のADRCと同様に復号される。
Next, an example of the decoder will be described with reference to FIG. FIG. 6 shows only the configuration for the AC component, and omits the DC component. The DC component is decoded in the same way as a normal ADRC.

受信された平均値データは、テーブル41a、41bおよび
41cにそれぞれ格納される。従って、テーブル41aは、量
子化出力の整数値1、2、3、・・・のそれぞれと対応
して、復号値としての平均値が格納されたものである。
この復号用のテーブルは、1フレーム期間毎に更新され
る。また、入力端子42からの受信されたビット数データ
および入力端子43からの受信された量子化コードがフレ
ーム遅延回路44に供給される。上述のように、データ有
効期間の後のデータ欠如期間に平均値データを伝送して
いるので、このフレーム遅延回路44により、ビット数デ
ータ、量子化コードおよび平均値データ間のタイミング
が合わせられる。若し、エンコーダ側を制御して、平均
値データを量子化コードに対して先行して伝送すれば、
フレーム遅延回路44を省略することができる。
The received average data is stored in tables 41a, 41b and
41c. Therefore, the table 41a stores an average value as a decoded value corresponding to each of the integer values 1, 2, 3,... Of the quantized output.
This decoding table is updated every frame period. Further, the bit number data received from the input terminal 42 and the quantization code received from the input terminal 43 are supplied to the frame delay circuit 44. As described above, since the average value data is transmitted during the data absence period after the data valid period, the frame delay circuit 44 adjusts the timing between the bit number data, the quantization code, and the average value data. If the encoder side is controlled and the average value data is transmitted prior to the quantization code,
The frame delay circuit 44 can be omitted.

フレーム遅延回路44からのビット数データおよび量子
化コードが切り出し回路45に供給される。切り出し回路
45は、ビット数データによって、量子化コードを区切
る。切り出し回路45からの係数データの各々の量子化コ
ードがデコーダ46に供給される。デコーダ46には、テー
ブル41a、41b、41cが接続され、量子化コードが自己の
テーブルに基づいて、復号値(即ち、平均値)に変換さ
れる。
The bit number data and the quantization code from the frame delay circuit 44 are supplied to the cutout circuit 45. Cutout circuit
Numeral 45 divides a quantization code by bit number data. Each quantization code of the coefficient data from the cutout circuit 45 is supplied to the decoder 46. Tables 41a, 41b, and 41c are connected to the decoder 46, and the quantization code is converted into a decoded value (that is, an average value) based on its own table.

デコーダ46からの復号値がハイブリッドブロック分解
回路47に供給される。ハイブリッドブロック分解回路47
の出送信号が逆コサイン変換回路48に供給される。ハイ
ブリッドブロック分解回路47は、エンコーダ側のハイブ
リッドブロック化回路4と逆に、ハイブリッドブロック
の構成をDCTの係数ブロックに構成に変換する。逆コサ
イン変換回路48により、DCTブロック内の(4×4)の
画素の復号値が得られる。逆コサイン変換回路48からの
復号値がブロック分解回路49に供給され、(4×4)の
ブロックの順初がラスター走査の順の復号データに変換
される。従って、出力端子50には、復号データが得られ
る。
The decoded value from the decoder 46 is supplied to the hybrid block decomposition circuit 47. Hybrid block decomposition circuit 47
Is supplied to the inverse cosine transform circuit 48. The hybrid block decomposition circuit 47 converts the configuration of the hybrid block into a DCT coefficient block, as opposed to the hybrid block generation circuit 4 on the encoder side. The inverse cosine transform circuit 48 obtains a decoded value of (4 × 4) pixels in the DCT block. The decoded value from the inverse cosine transform circuit 48 is supplied to the block decomposing circuit 49, and the beginning of the (4 × 4) block is converted into decoded data in the raster scan order. Therefore, decoded data is obtained at the output terminal 50.

上述のこの発明の一実施例において、使用する量子化
テーブル毎の平均値を形成しているので、単に量子化範
囲の中央値を復号値とするのと比較して、量子化歪みを
減少できる。簡単な例で、この効果を説明する。第1の
テーブル(第4図参照)を使用して量子化を行う時に、
係数データの絶対値が(2、4、16、14、40、42)と仮
定すると、量子化出力が(1、1、2、2、3、3)と
なり、これが2ビットで符号化されて伝送される。平均
値を伝送しない方式では、復号出力として、各存在範囲
の中央値、即ち、(5、5、12、12、35、35)が形成さ
れる。
In the above-described embodiment of the present invention, since the average value is formed for each quantization table to be used, the quantization distortion can be reduced as compared with the case where the median value of the quantization range is simply used as the decoded value. . A simple example illustrates this effect. When performing quantization using the first table (see FIG. 4),
Assuming that the absolute value of the coefficient data is (2, 4, 16, 14, 40, 42), the quantized output is (1, 1, 2, 2, 3, 3), which is coded by 2 bits. Transmitted. In the method that does not transmit the average value, the median value of each existence range, that is, (5, 5, 12, 12, 35, 35) is formed as a decoded output.

他方、この発明の一実施例では、平均値(3、15、4
1)に基づいて復号がされ、その結果の復号値は、
(3、3、15、15、41、41)である。従って、平均値を
使用しない方式と比して、量子化歪みを頗る小にでき
る。
On the other hand, in one embodiment of the present invention, the average value (3, 15, 4
1), and the resulting decoded value is
(3, 3, 15, 15, 41, 41). Therefore, the quantization distortion can be made extremely small as compared with the method using no average value.

量子化テーブル毎に平均値を形成するのに限らず、コ
サイン変換で生じた係数データの同じ次数のものの平均
値を求めても良い。(4×4)のブロックの例では、15
個の係数毎に平均値が求められる。この方式では、各係
数毎の分布に適応したきめ細かい量子化ができる。しか
し、伝送すべき平均値データの量が増加する問題があ
る。
Instead of forming an average value for each quantization table, an average value of coefficient data of the same order generated by cosine transform may be obtained. In the example of a (4 × 4) block, 15
An average value is obtained for each of the coefficients. In this method, fine quantization suitable for the distribution of each coefficient can be performed. However, there is a problem that the amount of average value data to be transmitted increases.

更に、平均値と中央値との差が大きい時のみ、平均値
を伝送するようにしても良い。
Further, the average value may be transmitted only when the difference between the average value and the median value is large.

より更に、多数の画像について、一般性のある量子化
テーブル或いは各係数データの平均値を予めコンピュー
タを使用することで求め、この一般的な平均値をデコー
ダ側のメモリに格納し、この一般的な平均値を使用して
も良い。この方法は、平均値データを全く伝送する必要
がない利点がある。
Further, for a large number of images, a general quantization table or an average value of each coefficient data is obtained in advance by using a computer, and the general average value is stored in a memory on the decoder side. A suitable average value may be used. This method has the advantage that it is not necessary to transmit the average value data at all.

この発明では、コサイン変換以外の直交変換符号を使
用しても良い。更に、ADRC以外のブロック符号化を使用
しても良い。
In the present invention, an orthogonal transform code other than the cosine transform may be used. Further, block coding other than ADRC may be used.

〔発明の効果〕〔The invention's effect〕

この発明は、直交変換符号化で発生した交流成分の係
数データを圧縮して、伝送する時に、平均値を使用して
復号値を得ているので、交流成分の係数データの復号値
の量子化歪みを低減することができる。
According to the present invention, when the coefficient data of the AC component generated by the orthogonal transform coding is compressed and transmitted, the decoded value is obtained by using the average value, so that the quantization of the decoded value of the coefficient data of the AC component is performed. Distortion can be reduced.

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

第1図はこの発明を適用できる符号化のエンコーダの一
例のブロック図、第2図はDCTブロックおよびハイブリ
ッドブロックの一例を示す略線図、第3図は使用する量
子化テーブルの区分けを示す略線図、第4図は量子化テ
ーブルの一例の説明に用いる略線図、第5図は平均値検
出回路の一例のブロック図、第6図はこの発明が適用さ
れたデコーダの一実施例のブロック図、第7図はDCT係
数データの分布の説明に用いる略線図である。 図面における主要な符号の説明 2:ブロック化回路、 3:コサイン変換回路、 7:平均値検出回路、 9a、9b、9c:量子化回路、 10a、10b、10c:量子化テーブル、 41a、41b、41c:復号用のテーブル、 46:デコーダ、 48:逆コサイン変換回路。
FIG. 1 is a block diagram showing an example of an encoding encoder to which the present invention can be applied, FIG. 2 is a schematic diagram showing an example of a DCT block and a hybrid block, and FIG. 3 is a schematic diagram showing division of a quantization table to be used. FIG. 4 is a schematic diagram illustrating an example of a quantization table; FIG. 5 is a block diagram of an example of an average value detection circuit; FIG. 6 is an example of a decoder to which the present invention is applied; FIG. 7 is a block diagram for explaining the distribution of DCT coefficient data. Explanation of main symbols in the drawings 2: blocking circuit, 3: cosine transform circuit, 7: average value detection circuit, 9a, 9b, 9c: quantization circuit, 10a, 10b, 10c: quantization table, 41a, 41b, 41c: decoding table, 46: decoder, 48: inverse cosine transform circuit.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) H04N 7/24 - 7/68 H04N 1/41 - 1/419──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) H04N 7/24-7/68 H04N 1/41-1/419

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ディジタル画像信号をブロック化し、ブロ
ック化された上記ディジタル画像信号を直交変換して得
られた係数データを複数ブロック分まとめて量子化する
符号化がなされ、この符号化で発生したデータを受信し
て復号するようになされた受信装置において、 復号代表値として、上記量子化データで表現される原係
数データの所定期間における平均値データを用いて上記
量子化データを復号する復号手段と、 上記復号手段の出力の係数データを逆直交変換する変換
手段と を有してなることを特徴とする符号化データの受信装
置。
1. A digital image signal is encoded into blocks, and coefficient data obtained by orthogonally transforming the block-formed digital image signals are quantized collectively for a plurality of blocks. In a receiving apparatus adapted to receive and decode data, decoding means for decoding the quantized data using, as a decoding representative value, average value data of original coefficient data expressed by the quantized data in a predetermined period. And a transforming means for performing inverse orthogonal transform on coefficient data output from the decoding means. A receiving apparatus for encoded data, comprising:
【請求項2】ディジタル画像信号をブロック化し、ブロ
ック化された上記ディジタル画像信号を直交変換して得
られた係数データを複数ブロック分まとめて量子化する
符号化がなされ、この符号化で発生したデータを受信し
て復号するようになされた受信方法において、 復号代表値として、上記量子化データで表現される原係
数データの所定期間における平均値データを用いて上記
量子化データを復号するステップと、 上記復号手段の出力の係数データを逆直交変換するステ
ップと を有してなることを特徴とする符号化データの受信方
法。
2. A digital image signal is encoded into blocks, and coefficient data obtained by orthogonally transforming the blocked digital image signals are quantized collectively for a plurality of blocks. A receiving method adapted to receive and decode the data, a step of decoding the quantized data using, as a decoding representative value, average value data of the original coefficient data represented by the quantized data in a predetermined period; And a step of performing an inverse orthogonal transform on the coefficient data output from the decoding means.
JP31105190A 1990-11-16 1990-11-16 Apparatus and method for receiving encoded data Expired - Fee Related JP2861373B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31105190A JP2861373B2 (en) 1990-11-16 1990-11-16 Apparatus and method for receiving encoded data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31105190A JP2861373B2 (en) 1990-11-16 1990-11-16 Apparatus and method for receiving encoded data

Publications (2)

Publication Number Publication Date
JPH04181819A JPH04181819A (en) 1992-06-29
JP2861373B2 true JP2861373B2 (en) 1999-02-24

Family

ID=18012520

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31105190A Expired - Fee Related JP2861373B2 (en) 1990-11-16 1990-11-16 Apparatus and method for receiving encoded data

Country Status (1)

Country Link
JP (1) JP2861373B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2792432B1 (en) * 1999-04-15 2001-07-13 Canon Kk DEVICE AND METHOD FOR DIGITAL SIGNAL TRANSFORMATION
FR2792433A1 (en) * 1999-04-15 2000-10-20 Canon Kk DIGITAL SIGNAL TRANSFORMATION DEVICE AND METHOD
JP5618128B2 (en) * 2010-02-22 2014-11-05 ソニー株式会社 Encoding apparatus, encoding method, and program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
特開 昭62−185484JP,A)

Also Published As

Publication number Publication date
JPH04181819A (en) 1992-06-29

Similar Documents

Publication Publication Date Title
JP2891772B2 (en) Digital image coding method using random scanning of image frames
JP3447771B2 (en) Image data encoding method and restoration method and apparatus
US5497153A (en) System for variable-length-coding and variable-length-decoding digital data for compressing transmission data
JPH01200883A (en) Decoder
EP0577350B1 (en) A video signal coding and decoding apparatus with an adaptive edge enhancement filter
JPH08280032A (en) Digital video signal encoding device using adaptive scanningtechnique
JPH0686262A (en) Apparatus for encoding of image
JP2880051B2 (en) Video signal encoding device using 1D / 2D DCT
JP2891773B2 (en) Method and apparatus for processing digital image sequences
US5742342A (en) Apparatus for encoding an image signal using vector quantization technique
KR100196838B1 (en) Apparatus for encoding an image signal according to correlation of blocks
JPH09200757A (en) Encoder, decoder and data transmitter
JP2861373B2 (en) Apparatus and method for receiving encoded data
JPH0487460A (en) Picture processor
JP2901656B2 (en) Image coding device
JP2839987B2 (en) Image signal decoder
JP2668900B2 (en) High efficiency coding device
JP2861380B2 (en) Image signal encoding apparatus and method, image signal decoding apparatus and method
JPH0711832B2 (en) High-efficiency image coding device
JPH05284369A (en) Image data encoding / restoring method and apparatus thereof
JPH08191444A (en) Video signal decoder
JP3021603B2 (en) Video packet encoding apparatus, video packet decoding method, and video packet discarding method
JP3200073B2 (en) Image processing device
JP2710135B2 (en) Adaptive coding between frames / intra-frame
JPH0818956A (en) Method and device for encoding image data

Legal Events

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

Free format text: PAYMENT UNTIL: 20071211

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20081211

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091211

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees