JPH03216075A - Transform encoding method - Google Patents
Transform encoding methodInfo
- Publication number
- JPH03216075A JPH03216075A JP2011500A JP1150090A JPH03216075A JP H03216075 A JPH03216075 A JP H03216075A JP 2011500 A JP2011500 A JP 2011500A JP 1150090 A JP1150090 A JP 1150090A JP H03216075 A JPH03216075 A JP H03216075A
- Authority
- JP
- Japan
- Prior art keywords
- coefficients
- zero
- transform
- quantized
- quantization
- 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.)
- Granted
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
[産業上の利用分野]
この発明は、画像データを線形変換符号化方式を用いて
帯域圧縮を行うものに関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to band compression of image data using a linear transformation coding method.
[従来の技術]
第3図は例えばW, H, CHEN, W, K,
PRATT, ’Scene Adaptive Co
der’, (IEEE Transactions
on communications, vol. C
OM−32. No. 3. 1984)に示された従
来の変換符号化方式を示すブロック図であり、図におい
て、(1)は入力信号をブロック化するブロック化部、
(2)はブロック化された信号を線形変換する線形変換
部、(3)は信号列をブロック内で並び換えるスキャン
変換部、(4)は量子化部、(5)は有効無効識別部、
(6)は符号化部、(7)は送信バッファ、(8)は符
号化制御部である。[Prior art] Figure 3 shows, for example, W, H, CHEN, W, K,
PRATT, 'Scene Adaptive Co
der', (IEEE Transactions
on communications, vol. C
OM-32. No. 3. 1984) is a block diagram showing a conventional transform encoding method, in which (1) indicates a blocking unit that blocks an input signal;
(2) is a linear conversion unit that linearly converts a blocked signal; (3) is a scan conversion unit that rearranges a signal sequence within a block; (4) is a quantization unit; (5) is a valid/invalid identification unit;
(6) is an encoding unit, (7) is a transmission buffer, and (8) is an encoding control unit.
次に動作について説明する。ディジタル化され、た1フ
レーム分の入力画像信号(1 0 1)に対し、ブロッ
ク化部(1)で水平、垂直方向N画素(Nは自然数で例
えばN=4.8.16)を1まとめにした2次元の画素
ブロックに分割する。ブロック化された画像信号(1
0 2)に対し、線形変換部(2)では2次元線形変換
(例えば離散コサイン変換などの直交変換)を施し、空
間周波数領域の変換係数ブロック(1 0 3)を生成
する。ここで例えば8×8画素ブロックf(x, y)
(x. y=0. 1, ・・・,7)に対する2次
元離散コサイン変換は次式で与えられる。Next, the operation will be explained. For one frame of input image signal (1 0 1) that has been digitized, the blocking unit (1) collects N pixels in the horizontal and vertical directions (N is a natural number, for example, N = 4.8.16). Divide into two-dimensional pixel blocks. Blocked image signal (1
0 2), the linear transformation unit (2) performs two-dimensional linear transformation (for example, orthogonal transformation such as discrete cosine transformation) to generate a transform coefficient block (1 0 3) in the spatial frequency domain. Here, for example, an 8×8 pixel block f(x, y)
The two-dimensional discrete cosine transformation for (x. y=0. 1, . . . , 7) is given by the following equation.
ここで、u,v=0.1,
7であり、
x,yは画素領域における座標、u,vは変換領域にお
ける座標である。Here, u, v=0.1, 7, x, y are coordinates in the pixel domain, and u, v are coordinates in the transformation domain.
変換係数ブロックF(u, v) (u, v=0.
1, ・・・, 7)の性質を第4図をもとに説明する
。F(u, v)の値はブロック化された画像信号(1
0 2)に含まれる空間周波数成分がそれぞれどの程
度であるかを示している。水平方向の周波数はUの値が
大きくなるにつれて高くなり、垂直方向の周波数はVの
値が大きくなるにつれて高くなる。すなわちF (0.
0)の値はブロック化された画像信号(102)の直流
成分の強度に対応し、F (7.7)の値は水平・垂直
方向ともに高い周波数をもつ交流成分の強度に対応する
ことになる。従って、画素の値の変化が少ない背景など
の平坦な画像ブロックに対しては低周波成分のみに非零
の有意係数があらわれ、高周波成分はほとんど零係数と
なる。逆に画素の変化が激しいエッジ部分などの画像ブ
ロックに対しては低周波成分のほか高周波成分にも非零
の有意係数があらわれる。Transform coefficient block F(u, v) (u, v=0.
The properties of 1, ..., 7) will be explained based on Figure 4. The value of F(u, v) is the blocked image signal (1
0 to 2) respectively. The frequency in the horizontal direction increases as the value of U increases, and the frequency in the vertical direction increases as the value of V increases. That is, F (0.
The value of 0) corresponds to the strength of the DC component of the blocked image signal (102), and the value of F (7.7) corresponds to the strength of the AC component that has high frequencies in both the horizontal and vertical directions. Become. Therefore, for a flat image block such as a background with few changes in pixel values, non-zero significant coefficients appear only in low frequency components, and almost zero coefficients appear in high frequency components. On the other hand, for image blocks such as edge portions where pixels change rapidly, non-zero significant coefficients appear not only in low frequency components but also in high frequency components.
次に、スキャン変換部(3)では変換係数ブロック(1
0 3)のブロック内で例えば第4図の矢印で示す順
序で変換係数を並び換え、1次元の変換係数列F (n
)(104)を出力する。先の8×8画素ブロックの場
合、1ブロックに対し64個の係数が続く係数列(n=
1〜64)が出力される。並び換えは非零の有意係数が
現われやすい低周波成分の変換係数から有意係数が現わ
れにくい高周波成分の変換係数へとジグザグに走査する
ことにより有意係数をなるべく前半に、後半に零係数を
長く続かせるために行う。Next, in the scan conversion unit (3), the conversion coefficient block (1
0 3), the transform coefficients are rearranged in the order shown by the arrows in Fig. 4, for example, to form a one-dimensional transform coefficient sequence F (n
) (104) is output. In the case of the previous 8x8 pixel block, 64 coefficients continue for one block (n =
1 to 64) are output. The rearrangement is done by scanning in a zigzag pattern from the conversion coefficients of low frequency components where non-zero significant coefficients tend to appear to the conversion coefficients of high frequency components where significant coefficients are unlikely to appear, so that the significant coefficients are placed in the first half as much as possible and the zero coefficients are kept in the second half for a long time. I do it to make it work.
次に、量子化部(4)は変換係数列(1 0 4)を与
えられた量子化ステップサイズ(1 1 0)で量子化
し、量子化係数列Q(n)(105)を出力する。有効
無効識別部(5)では量子化係数列(1 0 5)がす
べて零であるかどうかの判定を行う。全ての係数が零の
場合は無効ブロック、1つでも非零の有意係数がある場
合は有効ブロックとして有効無効情報(1 0 6)を
符号化部(6)に出力する。符号化部(6)では有効無
効情報(106)により有効ブロックと判定された場合
のみ、量子化係数列(1 0 5)に符号の割り当てを
行い、符号化データ(1 0 7)として送信バッファ
(7)へ出力する。これに対し、有効無効情報(1 0
6)により無効ブロックと判定された場合には、無効
ブロックを表す符号を符号化データ(1 0 7)とし
て送信バッファ(7)へ出力する。Next, the quantization unit (4) quantizes the transform coefficient sequence (1 0 4) with the given quantization step size (1 1 0) and outputs a quantized coefficient sequence Q(n) (105). The validity/invalidity identification unit (5) determines whether the quantized coefficient sequence (1 0 5) is all zero. Valid/invalid information (1 0 6) is output to the encoding unit (6) as an invalid block if all coefficients are zero, and as a valid block if there is even one non-zero significant coefficient. The encoding unit (6) assigns a code to the quantized coefficient sequence (1 0 5) only when the block is determined to be a valid block based on the validity/invalidity information (106), and sends it to the transmission buffer as encoded data (1 0 7). Output to (7). On the other hand, valid and invalid information (1 0
6), when the block is determined to be invalid, the code representing the invalid block is output as encoded data (1 0 7) to the transmission buffer (7).
ここで符号の割り当て方法の1例として2次元可変長符
号化について説明する。これは量子化係数列(1 0
5)に対して連続する零係数の個数(以下ゼロランと呼
ぶ)とそれに続く非零係数の量子化レベルを組み合わせ
、その組み合わせた事象(ゼロラン、量子化レベル)に
対して1つのハフマン符号を割り当てることによって行
われる。Here, two-dimensional variable length coding will be described as an example of a code assignment method. This is a quantized coefficient sequence (1 0
For 5), combine the number of consecutive zero coefficients (hereinafter referred to as zero run) and the quantization level of the following non-zero coefficients, and assign one Huffman code to the combined event (zero run, quantization level). It is done by
例えば、第5図に示された量子化係数列(1 0 5)
の場合、事象(ゼロラン、量子化レベル)は次のように
なる。For example, the quantized coefficient sequence (1 0 5) shown in FIG.
For , the event (zero run, quantization level) becomes:
(0.20),(2.15),(4.5),(3.2)
.(7.1).EOB
ここでEOBは以降に非零の有意係数がなく、ブロック
の終りまで零係数が続くことを示すマクである。従って
、この量子化係数列の場合EOBを含めた6つの事象に
対して、それぞれに決められたハフマン符号が割り当て
られることになる。(0.20), (2.15), (4.5), (3.2)
.. (7.1). EOB Here, EOB indicates that there are no non-zero significant coefficients thereafter, and zero coefficients continue until the end of the block. Therefore, in the case of this quantized coefficient sequence, a predetermined Huffman code is assigned to each of six events including EOB.
次に送信バッファ(7)では変動する情報発生量を平滑
化し、一定レートで伝送路(1 0 8)へ送出する。Next, the transmission buffer (7) smoothes the fluctuating amount of generated information and sends it to the transmission path (108) at a constant rate.
符号化制御部(8)では送信バッファ(7)中のデータ
残量であるバッファ残!(109)から量子化ステップ
サイズ(1 1 0)を適応的にフィードバック制御し
、量子化部(4)へ出力する。すなわち、バッファ残f
i(109)が多いときには、これから発生する情報量
を少なくするために量子化ステップサイズ(1 1 0
)を大きくして変換係数列(1 0 4)を粗く量子化
する。The encoding control unit (8) uses the buffer remaining amount, which is the remaining amount of data in the transmission buffer (7)! (109), the quantization step size (1 1 0) is adaptively feedback-controlled and output to the quantization unit (4). In other words, the buffer remaining f
When i(109) is large, the quantization step size (1 1 0
) to coarsely quantize the transform coefficient sequence (1 0 4).
逆に、バッファ残ffi (1 0 9)が少ないとき
には、これから発生する情報量を多くするために量子化
ステップサイズ(1 1 0)を小さくして変換係数列
(1 0 4)を細かく量子化する。On the other hand, when the remaining buffer ffi (1 0 9) is small, the quantization step size (1 1 0) is reduced to finely quantize the transform coefficient sequence (1 0 4) in order to increase the amount of information that will be generated. do.
[発明が解決しようとする課題]
従来の変換符号化方式は以上のように構成されているの
で、有効無効識別・2次元可変符号化の処理を行うため
に全ての変換係数に対して量子化の処理を行わなければ
ならなかった。[Problem to be solved by the invention] Since the conventional transform encoding method is configured as described above, all transform coefficients must be quantized in order to perform valid/invalid identification and two-dimensional variable encoding processing. had to be processed.
この発明は上記のような問題点を解決するためになされ
たもので、変換係数の伝送範囲を変換係数ブロック内の
量子化係数列に応じて決定し、必要な係数に対して量子
化すると共に同時に有効無効識別・2次元可変長符号化
を行うための事象を生成し、処理に要する演算量・処理
時間を削減する変換係数符号化方式を得ることを目的と
する。This invention was made to solve the above-mentioned problems, and it determines the transmission range of transform coefficients according to the quantized coefficient sequence in the transform coefficient block, quantizes the necessary coefficients, and The purpose of this invention is to obtain a transform coefficient encoding method that simultaneously generates events for performing valid/invalid identification and two-dimensional variable length encoding, and reduces the amount of calculations and processing time required for processing.
[課題を解決するための手段]
この発明に係わる変換係数符号化方式は、入力信号系列
に対して線形変換を行い変換領域で低域から高域へ変換
係数を順次量子化し符号化する変換符号化方式において
、量子化された変換係数の値のうち連続する零係数の個
数を計数する手段と、量子化された係数のうち非零係数
とその非零係数が現れるまでに計数手段により計数され
た連続零係数の個数との組を記憶する手段と、符号化情
報発生量を所定の伝送情報量に近付けるために符号化伝
送する連続零係数の個数の閾値を送信バッファのデータ
残量から設定する手段と、計数された連続零係数の計数
値が閾値を越えたとき以降の線形変換された係数の量子
化を打ち切り記憶手段の記憶内容に対して符号を割当て
る手段とを備える。[Means for Solving the Problems] The transform coefficient encoding method according to the present invention is a transform code that linearly transforms an input signal sequence and sequentially quantizes and encodes transform coefficients from a low frequency band to a high frequency band in a transform domain. In the quantized conversion method, there is a means for counting the number of consecutive zero coefficients among the values of the quantized transform coefficients, and a means for counting the number of consecutive zero coefficients among the quantized coefficients and the number of non-zero coefficients counted by the counting means until the non-zero coefficients appear. means for storing a set of the number of consecutive zero coefficients and the number of consecutive zero coefficients, and a threshold value for the number of consecutive zero coefficients to be encoded and transmitted in order to bring the generated amount of encoded information close to a predetermined amount of transmitted information from the remaining amount of data in the transmission buffer. and means for discontinuing quantization of linearly transformed coefficients after the counted value of continuous zero coefficients exceeds a threshold value and assigning a code to the contents stored in the storage means.
1作用]
この発明に係わる変換符号化方式は入力信号ブロックに
対して線形変換を行い、与えられた順序により量子化を
行い、連続する零係数の個数を計数し非零係数値とその
非零係数が現れるまでに計数された連続零係数の個数と
の組を事象として一時記憶しておくと共に、連続零係数
の個数が送信バッファのデータ残量から設定された閾値
を越えたとき変換係数の量子化を打ち切り記憶された事
象に対して符号の割当てを行う。1 Effect] The transform coding method according to the present invention linearly transforms an input signal block, quantizes it in a given order, counts the number of consecutive zero coefficients, and calculates non-zero coefficient values and their non-zero coefficients. The pair with the number of consecutive zero coefficients counted until the coefficient appears is temporarily stored as an event, and when the number of consecutive zero coefficients exceeds a threshold set from the remaining data amount of the transmission buffer, the conversion coefficient is Quantization is discontinued and a code is assigned to the stored event.
[発明の実施例] 以下、この発明の一実施例を第1図をもとに説明する。[Embodiments of the invention] An embodiment of the present invention will be described below with reference to FIG.
図において(9)は連続した零の量子化係数を計数する
ゼロカウンタ、(1o)は閾値を設定する閾値設定部、
(11)は計数値と閾値とを比較し大小の判定を行う判
定部、(12)は非零の量子化係数値とそのときの計数
値の組である事象を一時記憶させる事象記憶部、(13
)は事象に対して符号の割当てを行う符号割当て部であ
り、他は第3図と同様である。In the figure, (9) is a zero counter that counts consecutive zero quantization coefficients, (1o) is a threshold setting unit that sets a threshold,
(11) is a determination unit that compares the count value with a threshold value and determines whether it is large or small; (12) is an event storage unit that temporarily stores an event that is a set of a non-zero quantization coefficient value and the count value at that time; (13
) is a code assignment unit that assigns a code to an event, and the rest is the same as in FIG. 3.
また、第2図は動作を説明するためのフローチャート図
である。Moreover, FIG. 2 is a flowchart diagram for explaining the operation.
次に第2図と共に動作について説明する。第3図と同様
、ディジタル化された1フレーム分の入力画像信号(1
0 1)はNXN画素のブロックに分割され、線形変
換された後、スキャン変換部(3)で変換係数の並び換
えを行い、変換係数列F (n)(104)が出力され
る。符号化制御部(8)は送信バッファ(7)のバッフ
ァ残量(109)から量子化ステップサイズ(1 1
0)を決定し、量子化部(4)へ出力する。閾値設定部
(10)では同じくバッファ残量(1 0 9)から閾
値(1 1 2)を決定し、判定部(11)へ出力する
。また、初期設定としてゼロカウンタ(9)の計数値(
1 1 1)を零に、事象記憶部(12)の記憶内容を
クリアし、N2個の変換係数からなる変換係数列F (
n)(104)の係数番号lを1とする。量子化部(4
)では変換係数列F (n)(104)の1つであるF
(i)を量子化ステップサイズ(1 1 0)で量子
化し、量子化係数列Q(n) (1 0 5)の1つ
であるQ(i)を出力する。Q(1)の値が零でない場
合、事象記憶部(12)ではゼロカウンタ(9)の計数
値(111)と非零の係数であるQ (i)の組を事象
として記憶する。その後ゼロカウンタ(9)はリセット
されて零となり、Q (i)が最後の量子化係数でなけ
れば次の変換係数の量子化を引き続き行う。Next, the operation will be explained with reference to FIG. Similar to Fig. 3, the input image signal for one frame is digitized (1
0 1) is divided into blocks of N×N pixels and linearly transformed, the scan conversion unit (3) rearranges the transform coefficients and outputs a transform coefficient sequence F (n) (104). The encoding control unit (8) calculates the quantization step size (1 1
0) and outputs it to the quantization section (4). Similarly, the threshold value setting section (10) determines the threshold value (1 1 2) from the remaining buffer amount (1 0 9) and outputs it to the determination section (11). Also, as an initial setting, the count value of the zero counter (9) (
1 1 1) to zero, clear the memory contents of the event storage unit (12), and create a conversion coefficient sequence F (
n) (104) is set to 1. Quantization section (4
), F is one of the transformation coefficient sequences F (n) (104)
(i) is quantized with a quantization step size (1 1 0), and Q(i), which is one of the quantized coefficient sequences Q(n) (1 0 5), is output. If the value of Q(1) is not zero, the event storage unit (12) stores the set of the count value (111) of the zero counter (9) and Q (i), which is a non-zero coefficient, as an event. Thereafter, the zero counter (9) is reset to zero, and if Q (i) is not the last quantized coefficient, quantization of the next transform coefficient is continued.
Q (i)の値が零の場合、ゼロカウンタ(9)の計数
値(1 1 1)に1が加えられる。次に判定部(11
)は入力された計数値(1 1 1)と閾値(1 1
2)との大小比較を行い、判定結果(113)を事象記
憶部(12)へ出力する。事象記憶部(12)では判定
結果(1 1 3)が計数値(111)≧閾値(1 1
2)か、あるいはQ (i)か量子化係数列Q (n
)(105)の最後の量子化係数である場合、現在記憶
されている事象(114)を出力し、その画素ブロック
の処理を終了する。符号割当て部(13)は出力された
事象(114)に対してハフマン符号の割当てを行いE
OBを付加して、符号化データ(1 0 7)として送
信バッファ(7)へ出力する。これに対し、出力される
事象(114)がない場合は、無効プロ、,クであるた
め無効ブロックを表す符号を符号化データ(1 0 7
)として送信バッファ(7)へ出力する。When the value of Q (i) is zero, 1 is added to the count value (1 1 1) of the zero counter (9). Next, the determination section (11
) is the input count value (1 1 1) and threshold value (1 1
2) and outputs the determination result (113) to the event storage unit (12). In the event storage unit (12), the judgment result (1 1 3) is the count value (111)≧threshold (1 1
2) or Q (i) or the quantized coefficient sequence Q (n
) (105), output the currently stored event (114) and end the processing of that pixel block. The code assignment unit (13) assigns a Huffman code to the output event (114) and
OB is added and output to the transmission buffer (7) as encoded data (1 0 7). On the other hand, if there is no output event (114), it is an invalid block, so the code representing the invalid block is changed to the encoded data (1 0 7
) to the transmission buffer (7).
一方、量子化部(14)での量子化打ち切りは判定部(
11)からの判定結果(1 1 3)により制御され、
計数値(1 1 1)≧閾値(1 1 2)のとき後続
する変換係数に対して量子化処理を打ち切る。On the other hand, the quantization in the quantization unit (14) is terminated by the determination unit (
Controlled by the determination results (1 1 3) from 11),
When the count value (1 1 1)≧threshold value (1 1 2), the quantization process is terminated for the subsequent transform coefficients.
また、第5図の例において例えば閾値を4または5に設
定したときの事象記憶部(12)に記憶される事象と量
子化部(4)で量子化を行う係数の個数はそれぞれ次の
ようになる。Furthermore, in the example of FIG. 5, for example, when the threshold value is set to 4 or 5, the events stored in the event storage section (12) and the number of coefficients to be quantized by the quantization section (4) are as follows. become.
閾値4のときQ(5)からQ(8)で零係数が4つ連続
するため量子化打ち切りの条件を満たし、ゼロランと非
零係数値の組として記憶される事象は(0.20).(
2.15)であり、量子化を行う変換係数の個数はQ(
1)からQ(8)までの8個となる。When the threshold is 4, there are four consecutive zero coefficients from Q(5) to Q(8), which satisfies the condition for quantization truncation, and the event stored as a set of zero run and non-zero coefficient value is (0.20). (
2.15), and the number of transform coefficients to be quantized is Q(
There are eight items from 1) to Q(8).
閾値5のときQ(14)からQ(18)で零係数が5つ
連続するため記憶される事象は(0.20). (2.
15), (4. 5), (3. 2)であり、量
子化を行う係数の個数はQ(1)からQ(18)までの
18個となる。When the threshold value is 5, there are five consecutive zero coefficients from Q(14) to Q(18), so the number of events stored is (0.20). (2.
15), (4. 5), (3. 2), and the number of coefficients to be quantized is 18 from Q(1) to Q(18).
先に述べたように一般に変換係数は低周波から高周波成
分になるに従って強度が弱くなるため、量子化した結果
の量子化係数列Q (n)(105)もnが大きくなる
ほど連続して零となる確率が高い。従って、閾値(1
1 2)を小さくするほど係数の伝送範囲が制限され量
子化を要する係数の個数が少なくなると同時に、発生す
る情報量も減少する。従って、閾値(1 1 2)の値
を量子化ステップサイズと同様にバツファ残量(1 0
9)から適応的にフィードバック制御すれば情報発生
量の平滑化がより細かく可能になる。As mentioned earlier, the intensity of transform coefficients generally decreases from low frequency to high frequency components, so the quantized coefficient sequence Q (n) (105) as a result of quantization also becomes zero continuously as n increases. There is a high probability that it will happen. Therefore, the threshold (1
12), the transmission range of coefficients is restricted and the number of coefficients that require quantization is reduced, and at the same time, the amount of generated information is also reduced. Therefore, the value of the threshold (1 1 2) is changed to the remaining buffer amount (1 0
9), the amount of information generated can be smoothed more precisely by adaptive feedback control.
また、本実施例によれば必ずしもすべての変換係数に対
して量子化を行わないため、必要な変換係数だけ求める
ようしておけば変換係数を求めるための演算処理量も削
減でき一層の効果が得られる。In addition, according to this embodiment, not all transform coefficients are necessarily quantized, so if only the necessary transform coefficients are determined, the amount of arithmetic processing for determining the transform coefficients can be reduced and further effects can be obtained. can get.
なお、上記の実施例においては2次元線形変換と量子化
の組合わせについて説明したが、1次元、3次元などの
線形変換と量子化の組合わせについても同様の効果が得
られる。In the above embodiment, a combination of two-dimensional linear transformation and quantization has been described, but similar effects can be obtained with a combination of one-dimensional, three-dimensional, etc. linear transformation and quantization.
[発明の効果]
以上のように、この発明によれば連続する零の量子化係
数の個数により、後続する変換係数を量子化し符号化す
るかどうかを判定するようにしたので、量子化・有効無
効識別・2次元可変長符号化を行うための事象生成に要
する演算量・処理時間を削減できる効果がある。[Effects of the Invention] As described above, according to the present invention, it is determined whether or not to quantize and encode subsequent transform coefficients based on the number of consecutive zero quantization coefficients. This has the effect of reducing the amount of calculations and processing time required to generate events for invalidation identification and two-dimensional variable length encoding.
第1図は本発明の一実施例を説明するプロ、ツタ図、第
2図は本発明の動作を説明するフロー図、第3図は従来
例のブロック図、第4図は変換係数ブロックの性質を説
明するための図、第5図は符号の割当てを説明するため
の図である。
(1)はブロック化部、(2)は線形変換部、(3)は
スキャン変換部、(4)、(14)は量子化部、(5)
は有効無効識別部、(6)は符号化部、(7)は送信バ
ッファ、(8)は符号化制御部、(9)はゼロカウンタ
、(10)は閾値設定部、(11)は判定部、(12)
は事象記憶部、(13)は符号割当て部、(105)は
量子化係数列、(1 1 1)は計数値、(1 1 2
)は閾値、(1 1 3)は判定結果、(1 1 4)
は事象である。
なお図中、同一符号は同一または相当部分を示す。Figure 1 is a professional ivy diagram explaining one embodiment of the present invention, Figure 2 is a flow diagram explaining the operation of the present invention, Figure 3 is a block diagram of a conventional example, and Figure 4 is a transform coefficient block diagram. FIG. 5 is a diagram for explaining the properties, and FIG. 5 is a diagram for explaining the assignment of codes. (1) is a blocking section, (2) is a linear conversion section, (3) is a scan conversion section, (4), (14) is a quantization section, (5)
is a valid/invalid identification unit, (6) is an encoding unit, (7) is a transmission buffer, (8) is an encoding control unit, (9) is a zero counter, (10) is a threshold setting unit, and (11) is a judgment unit. Part, (12)
is an event storage section, (13) is a code assignment section, (105) is a quantized coefficient sequence, (1 1 1) is a count value, (1 1 2
) is the threshold, (1 1 3) is the judgment result, (1 1 4)
is an event. In the drawings, the same reference numerals indicate the same or corresponding parts.
Claims (1)
行い変換領域で低域から高域へ変換係数を順次量子化し
符号化する変換符号化方式において、 変換係数を所定の量子化特性で量子化した量子化係数の
うち連続する零係数の個数を計数する手段と、 前記量子化係数列から非零の係数と前記非零の係数が現
れるまでに前記計数手段により計数された連続零係数の
個数とを組としてブロック単位に記憶する手段と、 符号化情報発生量を所定の伝送情報量に近付けるために
符号化伝送する連続零係数の個数の閾値を送信バッファ
のデータ残量から設定する手段と、前記連続零係数を計
数した値が前記閾値を越えたとき後続する変換係数の量
子化を打ち切り前記記憶された組毎に符号の割当てを行
う手段とを備えたことを特徴とする変換符号化方式。[Claims] A transform coding method in which an input signal sequence is blocked, then linearly transformed, and transform coefficients are sequentially quantized and encoded from low to high frequencies in a transform domain, comprising: means for counting the number of consecutive zero coefficients among the quantized coefficients quantized with the quantization characteristic; and counting by the counting means until a non-zero coefficient and the non-zero coefficient appear from the quantized coefficient sequence. a means for storing the number of continuous zero coefficients as a set in units of blocks; and means for quantizing subsequent transform coefficients and assigning codes to each of the stored sets when the counted value of the continuous zero coefficients exceeds the threshold value. A transform encoding method characterized by:
Priority Applications (9)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011500A JP2503706B2 (en) | 1990-01-19 | 1990-01-19 | Transform coding method |
| US07/564,824 US5086488A (en) | 1989-08-19 | 1990-08-09 | Transform coding apparatus |
| DE69016880T DE69016880T2 (en) | 1989-08-19 | 1990-08-11 | Transformation coding device. |
| EP90115439A EP0414074B1 (en) | 1989-08-19 | 1990-08-11 | Transform coding apparatus |
| KR1019900012397A KR930009872B1 (en) | 1989-08-19 | 1990-08-13 | Transcoding device |
| FI903989A FI98111C (en) | 1989-08-19 | 1990-08-13 | Transform coding apparatus |
| AU61069/90A AU622572B2 (en) | 1989-08-19 | 1990-08-16 | Transform coding apparatus |
| NO903624A NO303480B1 (en) | 1989-08-19 | 1990-08-16 | Transformation coding device |
| CA002023440A CA2023440C (en) | 1989-08-19 | 1990-08-16 | Transform coding apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011500A JP2503706B2 (en) | 1990-01-19 | 1990-01-19 | Transform coding method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH03216075A true JPH03216075A (en) | 1991-09-24 |
| JP2503706B2 JP2503706B2 (en) | 1996-06-05 |
Family
ID=11779745
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011500A Expired - Lifetime JP2503706B2 (en) | 1989-08-19 | 1990-01-19 | Transform coding method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2503706B2 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07170291A (en) * | 1993-12-15 | 1995-07-04 | Sony Corp | Transmitter |
| JP2011509642A (en) * | 2008-01-08 | 2011-03-24 | クゥアルコム・インコーポレイテッド | Quantization based on rate distortion modeling for CABAC coder |
| US9008171B2 (en) | 2008-01-08 | 2015-04-14 | Qualcomm Incorporated | Two pass quantization for CABAC coders |
-
1990
- 1990-01-19 JP JP2011500A patent/JP2503706B2/en not_active Expired - Lifetime
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07170291A (en) * | 1993-12-15 | 1995-07-04 | Sony Corp | Transmitter |
| JP2011509642A (en) * | 2008-01-08 | 2011-03-24 | クゥアルコム・インコーポレイテッド | Quantization based on rate distortion modeling for CABAC coder |
| US8891615B2 (en) | 2008-01-08 | 2014-11-18 | Qualcomm Incorporated | Quantization based on rate-distortion modeling for CABAC coders |
| US9008171B2 (en) | 2008-01-08 | 2015-04-14 | Qualcomm Incorporated | Two pass quantization for CABAC coders |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2503706B2 (en) | 1996-06-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR930009872B1 (en) | Transcoding device | |
| JPH02305182A (en) | Picture signal compressing and encoding device | |
| JPH0832037B2 (en) | Image data compression device | |
| JPH07123269A (en) | Corder for picture signal | |
| JPH07170517A (en) | Image compression coding device | |
| JPH03238970A (en) | Transform encoding method | |
| JP2001217721A (en) | Huffman encoding device, huffman encoding method and recording medium recorded with huffman encoding processing program | |
| JPH03216075A (en) | Transform encoding method | |
| JP2503698B2 (en) | Transform coding method | |
| JP2841197B2 (en) | Method of compressing gradation image data | |
| JP3230336B2 (en) | Recompression device and recompression system | |
| JPH02311085A (en) | Picture signal compression coding device | |
| JP2931328B2 (en) | Image signal compression coding device | |
| JP2633118B2 (en) | Image data compression apparatus and method | |
| JP2503678B2 (en) | Transform coding method | |
| JP2816168B2 (en) | Image data compression device | |
| JP3191950B2 (en) | Image coding device | |
| JP2820807B2 (en) | Image data encoding method | |
| JP2843396B2 (en) | Compressed data amount control method | |
| JP3001758B2 (en) | Huffman encoding device and Huffman encoding method | |
| JP2843397B2 (en) | Compressed data amount control method | |
| JP2816169B2 (en) | Image data compression device | |
| JPH06350991A (en) | Data compression circuit | |
| JPH06105297A (en) | Encoder | |
| JPH04225693A (en) | Encoder |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080402 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090402 Year of fee payment: 13 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100402 Year of fee payment: 14 |
|
| EXPY | Cancellation because of completion of term |