JP3107676B2 - Quantization circuit - Google Patents

Quantization circuit

Info

Publication number
JP3107676B2
JP3107676B2 JP6355493A JP6355493A JP3107676B2 JP 3107676 B2 JP3107676 B2 JP 3107676B2 JP 6355493 A JP6355493 A JP 6355493A JP 6355493 A JP6355493 A JP 6355493A JP 3107676 B2 JP3107676 B2 JP 3107676B2
Authority
JP
Japan
Prior art keywords
input
quantization
rounding
output
circuit
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
JP6355493A
Other languages
Japanese (ja)
Other versions
JPH06276101A (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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP6355493A priority Critical patent/JP3107676B2/en
Publication of JPH06276101A publication Critical patent/JPH06276101A/en
Application granted granted Critical
Publication of JP3107676B2 publication Critical patent/JP3107676B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像データの圧縮装置
等に用いられる量子化回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a quantization circuit used in a device for compressing image data.

【0002】[0002]

【従来の技術】カラー及びモノクロの静止画像や動画像
を圧縮する方式は、ISOやCCITTの国際機関によ
って検討され、JPEG[Joint Photogr
aphic Experts Group]やMPEG
[Moving Picture Experts G
roup]およびH.261などが標準化されている。
2. Description of the Related Art Methods for compressing color and monochrome still images and moving images have been studied by international organizations such as ISO and CCITT, and JPEG [Joint Photogr] has been studied.
aphic Experts Group] and MPEG
[Moving Picture Experts G
group] and H. Rup. 261 are standardized.

【0003】JPEGは、カラー静止画像を1/8〜1
/100程度に圧縮する方式である。1991年11月
に国際標準案となっている。符号化方式を表すブロック
図を図7に示す。入力画像71が符号器72に入力され
る。符号器72においては、入力された入力画像71が
DCT部721に入力されDCT(離散コサイン変換)
が行われる。次に、量子化部722においてテーブル7
23を参照してDCT部の出力は量子化され、さらにエ
ントロピー符号化部724においてテーブル725を参
照して量子化部722の出力はエントロピー符号化され
る。その結果、テーブルとヘッダ情報を有する圧縮デー
タ73が伝送路74に転送される。
[0003] JPEG uses a color still image of 1/8 to 1
This is a method of compressing to about / 100. It became an international standard in November 1991. FIG. 7 is a block diagram showing an encoding method. The input image 71 is input to the encoder 72. In the encoder 72, the input image 71 input is input to the DCT unit 721, and the DCT (discrete cosine transform) is performed.
Is performed. Next, in the quantization unit 722, the table 7
The output of the DCT unit is quantized with reference to 23, and the output of the quantization unit 722 is further entropy-coded with reference to the table 725 in the entropy coding unit 724. As a result, the compressed data 73 having the table and the header information is transferred to the transmission path 74.

【0004】MPEGは、カラー動画像を圧縮する方式
である。CD−ROM等のディジタル記録媒体(DS
M:Digital Storage Media)を
対象とする。1991年11月に勧告草案(CD:Co
mittee Draft)としてまとまった。符号化
方式を表すブロック図を図8に示す。この方式による符
号化回路は、入力画像データと差分値の小さい予測画像
データを生成する予測器88と、入力画像データより予
測器88からの予測画像データ出力を減算する減算器8
9と、減算器89の差分出力に対しDCT演算を行うD
CT部81と、DCT部81のDCT係数出力(C)に
対し量子化をおこなう量子化部82と、量子化部82の
量子化係数出力(QC)に対し可変長符号化を行うVL
C部83と、バッファ部84と、量子化部82の量子化
係数出力に対し逆量子化を行う逆量子化部85と、逆量
子化部85の出力に対し逆DCTを行う逆DCT部86
と、逆DCT部86の出力と予測器88からの予測画像
データ出力を加算し、新たな予測画像データを生成する
加算器87とから構成される。
[0004] MPEG is a system for compressing color moving images. Digital recording media such as CD-ROM (DS
M: Digital Storage Media). In November 1991, a draft recommendation (CD: Co
(mittee Draft). FIG. 8 is a block diagram showing an encoding method. An encoding circuit based on this method includes a predictor 88 for generating predicted image data having a small difference value from input image data, and a subtractor 8 for subtracting predicted image data output from the predictor 88 from the input image data.
9 for performing a DCT operation on the difference output of the subtractor 89
A CT unit 81, a quantization unit 82 for performing quantization on the DCT coefficient output (C) of the DCT unit 81, and a VL for performing variable length coding on the quantization coefficient output (QC) of the quantization unit 82
A C unit 83, a buffer unit 84, an inverse quantization unit 85 that performs inverse quantization on the quantized coefficient output of the quantization unit 82, and an inverse DCT unit 86 that performs inverse DCT on the output of the inverse quantization unit 85
And an adder 87 that adds the output of the inverse DCT unit 86 and the predicted image data output from the predictor 88 to generate new predicted image data.

【0005】H.261は、テレビ会議/電話用符号化
方式であり、CCITT勧告H.261のことである。
1991年に国際標準(IS)となった。ISDNをネ
ットワークとして想定しており、64k〜1.5Mビッ
ト/秒で動画像を伝送する。符号化方式を表すブロック
図を図9に示す。
[0005] H. H.261 is a video conference / telephone coding system, which is described in CCITT Recommendation H.264. 261.
In 1991 it became the International Standard (IS). ISDN is assumed as a network, and a moving image is transmitted at 64 k to 1.5 Mbit / sec. FIG. 9 is a block diagram showing an encoding method.

【0006】この方式による符号化回路は、DCT変換
器92と、DCT変換器の出力を量子化し、変換係数の
量子化インデクス(q)を出力する量子化器93と、量
子化器93の出力を逆量子化する逆量子化器94と、逆
量子化器94の出力を逆DCT変換する逆DCT器95
と、スイッチ99および逆DCT器95の出力の加算を
行う加算器96と、加算器96の出力を受け、動きベク
トルを出力する動き補償用可変遅延機能を持つ画像メモ
リ97と、画像メモリ97の出力を受け、動き補償フレ
ーム間予測精度を上げ、ループ内フィルタのオン/オフ
信号を出力するループ内フィルタ98と、ビデオ入力に
ループ内フィルタ98の出力を負帰還する100と、ス
イッチ101および量子化器93を制御し、フレーム間
/フレーム内の識別フラグ(p)および伝送/非伝送識
別フラグ(t)および量子化器種別(qz)を出力する
符号化制御部91とから構成される。
The encoding circuit according to this method includes a DCT transformer 92, a quantizer 93 for quantizing the output of the DCT transformer and outputting a quantization index (q) of a transform coefficient, and an output of the quantizer 93. Inverse quantizer 94 that inversely quantizes the output signal and an inverse DCT unit 95 that performs an inverse DCT transform on the output of the inverse quantizer 94
An adder 96 for adding the outputs of the switch 99 and the inverse DCT unit 95; an image memory 97 having a variable delay function for motion compensation for receiving the output of the adder 96 and outputting a motion vector; Upon receiving the output, the motion compensation inter-frame prediction accuracy is raised, and an on / off signal of the in-loop filter is outputted, a negative input 100 of the output of the in-loop filter 98 is fed back to the video input, a switch 101 and the quantum The coding control unit 91 controls the quantizer 93 and outputs an inter-frame / intra-frame identification flag (p), a transmission / non-transmission identification flag (t), and a quantizer type (qz).

【0007】以上3つの画像圧縮方式では、共通して図
6に示すような手法が採用されている。すなわち、画像
データ621に対してDCT[Discrete Co
sine Transform]611を行いDCT係
数622に変換し、その後DCT係数622に対して量
子化612を行い、量子化係数623を得る。
The above three image compression methods commonly employ a method as shown in FIG. That is, DCT [Discrete Co
sine Transform] 611 to convert to a DCT coefficient 622, and then perform quantization 612 on the DCT coefficient 622 to obtain a quantization coefficient 623.

【0008】量子化の処理は、画像圧縮の方式ごとに個
別に定義されているが、いずれも次の3つのステップか
ら構成される。
[0008] The quantization process is individually defined for each image compression method, but each of the processes includes the following three steps.

【0009】(1)DCT係数を量子化閾値で除算す
る。(除算処理) (2)除算結果を小数部を除いた整数にまるめる。(ま
るめ処理) (3)まるめられた結果を定められた範囲を超えない値
に制限する。(値域制限処理) ただし、(2)のまるめ処理は画像圧縮の方式ごとに
「切り捨て」の場合と「四捨五入」の場合がある。
(1) The DCT coefficient is divided by a quantization threshold. (Division processing) (2) Round the division result to an integer excluding the decimal part. (Rounding process) (3) The rounded result is limited to a value not exceeding a predetermined range. (Range Restriction Processing) However, the rounding processing in (2) may be “truncated” or “rounded off” for each image compression method.

【0010】例えば、JPEGおよびH.261におけ
る量子化は次のとおりである。ただし、RはDCT係
数、Lは量子化係数、Qは量子化閾値である。
For example, JPEG and H.-K. The quantization at 261 is as follows. Here, R is a DCT coefficient, L is a quantization coefficient, and Q is a quantization threshold.

【0011】1)JPEG(8ビットモード) (−1
024≦L≦1023) L=R/Q まるめ方式は図2に示すように四捨五入である。図2は
たとえば0.5以上1.5未満の数は1として、まるめ
られることを示す。
1) JPEG (8-bit mode) (-1)
024 ≦ L ≦ 1023) L = R / Q The rounding method is rounded off as shown in FIG. FIG. 2 shows that, for example, a number greater than or equal to 0.5 and less than 1.5 is rounded to one.

【0012】2)H.261(−127≦L≦127) L=R/2Q (Q:奇数) =(R+1)/2Q (Q:偶数、R≧0) =(R−1)/2Q (Q:偶数、R<0) まるめ方式は図3に示すように切り捨てである。図3は
たとえば1以上2未満の数は1として、まるめられるこ
とを示す。
2) H. 261 (−127 ≦ L ≦ 127) L = R / 2Q (Q: odd number) = (R + 1) / 2Q (Q: even number, R ≧ 0) = (R−1) / 2Q (Q: even number, R <0) The rounding method is truncation as shown in FIG. FIG. 3 shows that, for example, a number greater than or equal to one and less than two is rounded as one.

【0013】量子化を実現する方法は、ソフトウエアで
行う方法とハードウエアで行う方法の大きく2つに分類
される。
[0013] Methods for realizing quantization are roughly classified into two methods: a method using software and a method using hardware.

【0014】ソフトウエアで実現する方法は、図4に示
すように、ステップS41においてDCT係数を量子化
閾値で割り、ステップS42、S43、S44において
符号の正負それぞれの場合に対応して、出力された結果
を画像圧縮規格に規定された方法で整数値にまるめた
後、ステップS45において値域制限処理を行う。
As shown in FIG. 4, the method implemented by software divides the DCT coefficient by a quantization threshold in step S41, and outputs the DCT coefficient in steps S42, S43, and S44 in accordance with each of the positive and negative signs. After rounding the result to an integer value according to the method specified in the image compression standard, a range limiting process is performed in step S45.

【0015】ハードウエアで行う方法は、量子化処理の
(1)の除算処理で、(a)除算器を用いる方法と、
(b)量子化閾値の逆数をあらかじめ計算しておき、乗
算器を用いてDCT係数とその逆数を乗算する方法が知
られている。
[0015] The method performed by hardware is the division processing (1) of the quantization processing, (a) a method using a divider, and
(B) A method is known in which the reciprocal of the quantization threshold is calculated in advance, and the DCT coefficient is multiplied by the reciprocal using a multiplier.

【0016】また、量子化処理の(2)のまるめ方式に
ついては画像圧縮の方式に対応して「切り捨て」、「四
捨五入」の専用回路、さらに値域制限回路を付加してい
た。量子化処理のハードウエアによるブロック図を図5
に示す。量子化回路は、被量子化係数Rと量子化閾値Q
を入力とする除算回路501と、除算回路501の出力
を入力とする符号判定回路502と、符号判定回路50
2の出力を入力とする正数用小数部分切り捨て回路50
3、負数用小数部分切り捨て回路504と、正数用小数
部分切り捨て回路503、負数用小数部分切り捨て回路
504の出力を入力とする値域制限回路505から構成
される。
As for the rounding method (2) of the quantization processing, a dedicated circuit for "cutting off" and "rounding off" and a range limiting circuit are added in correspondence with the image compression method. FIG. 5 is a hardware block diagram of the quantization processing.
Shown in The quantization circuit calculates the coefficient to be quantized R and the quantization threshold Q
, A sign determination circuit 502 receiving an output of the division circuit 501 as an input, and a sign determination circuit 50
Decimal part truncation circuit 50 for positive number inputting the output of 2
3, a fractional part truncation circuit 504 for negative numbers, a fractional part truncation circuit 503 for positive numbers, and a range limiting circuit 505 to which an output of the fractional part truncation circuit 504 for negative numbers is input.

【0017】除算回路501は被量子化係数Rを量子化
閾値Qで除算する。符号判定回路502は除算結果の符
号を判定する。符号が正の場合には、正数用小数部分切
り捨て回路503が、切り捨て処理を行う。符号が負の
場合には、負数用小数部分切り捨て回路504が、切り
捨て処理を行う。値域制限回路505は、量子化係数の
値域を定められた値に制限する。
The division circuit 501 divides the quantized coefficient R by the quantization threshold Q. The sign determination circuit 502 determines the sign of the division result. If the sign is positive, the decimal part truncation circuit 503 for positive numbers performs a truncation process. If the sign is negative, the negative decimal part truncation circuit 504 performs a truncation process. The range limiting circuit 505 limits the range of the quantization coefficient to a predetermined value.

【0018】[0018]

【発明が解決しようとする課題】従来のソフトウエアに
よる実現方法ではDCT係数の正負の判断が必要であ
り、複数ステップの命令が必要となるため、スピードが
遅くなるという問題がある。
The conventional software-based realization method needs to determine whether the DCT coefficient is positive or negative, and requires a multi-step instruction, which causes a problem that the speed is reduced.

【0019】また、従来のハードウエアによる実現方法
では、前記した量子化のための3つのステップの内、特
に(2)のまるめ処理のために、回路規模が大きくな
り、また、実行スピードが遅いという問題があった。
In the conventional hardware implementation method, the circuit scale becomes large and the execution speed is slow because of the rounding process of (2) among the three steps for quantization. There was a problem.

【0020】本発明は、実行スピードが高速で、回路規
模が縮小化された量子化回路を提供することを目的とす
る。
An object of the present invention is to provide a quantization circuit having a high execution speed and a reduced circuit scale.

【0021】[0021]

【課題を解決するための手段】本発明の量子化回路は、
正数入力用まるめ定数を保持する保持手段と、負数入力
用まるめ定数を保持する保持手段と、入力の正負判定に
従って正数入力用まるめ定数、負数入力用まるめ定数の
一方を選択するまるめ定数選択手段と、DCT係数およ
び量子化閾値の逆数を入力としこれらを乗算する乗算手
段と、前記まるめ定数選択手段の出力および前記乗算手
段の出力を入力としこれらを加算する加算手段と、前記
加算手段の出力を入力とし入力された値にシフト処理を
施すシフト手段と、前記シフト手段の出力を入力とし値
域を制限する値域制限手段とを具備することを特徴とす
る。
According to the present invention, there is provided a quantization circuit comprising:
Holding means for holding the rounding constant for positive number input, holding means for holding the rounding constant for negative number input, and rounding constant selection for selecting one of the rounding constant for positive number input and the rounding constant for negative number input according to the positive / negative judgment of the input Means for inputting and multiplying a reciprocal of a DCT coefficient and a quantization threshold; input means for receiving the output of the rounding constant selecting means and the output of the multiplying means as inputs and adding them; A shift means for inputting an output and performing a shift process on the input value, and a range limiting means for limiting the value range by receiving the output of the shift means as an input.

【0022】[0022]

【作用】DCT係数が正数の場合のまるめ定数を正数入
力用まるめ定数保持手段に、DCT係数が負数の場合の
まるめ定数を負数入力用まるめ定数保持手段にそれぞれ
格納する。まるめ定数選択手段は、DCT係数の符号ビ
ットにより正数用または負数用まるめ定数を選択し、加
算手段の入力端子の一方に入力する。一方、乗算手段に
よってDCT係数と量子化閾値の逆数の積が求められ、
求められた結果は加算手段の入力端子の他方に入力され
る。加算手段の出力はシフタ手段でシフトされ、値域制
限手段で量子化係数の値域内に制限される。
The rounding constant when the DCT coefficient is a positive number is stored in the rounding constant holding means for positive number input, and the rounding constant when the DCT coefficient is a negative number is stored in the rounding constant holding means for negative number input. The rounding constant selecting means selects a rounding constant for a positive number or a negative number according to the sign bit of the DCT coefficient, and inputs it to one of the input terminals of the adding means. On the other hand, the product of the DCT coefficient and the reciprocal of the quantization threshold is obtained by the multiplication means,
The obtained result is input to the other of the input terminals of the adding means. The output of the adding means is shifted by the shifter means and limited within the range of the quantized coefficients by the range limiting means.

【0023】[0023]

【実施例】以下、図面を参照して本発明の実施例を説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0024】DCT係数をR、量子化閾値をQ、まるめ
関数をF(x)とすると、値域制限を行う前の量子化係
数Lは次のように表される。
Assuming that the DCT coefficient is R, the quantization threshold is Q, and the rounding function is F (x), the quantization coefficient L before performing the range limitation is expressed as follows.

【0025】L=F(R/Q)………(式1) ここで、 (1/Q)=(A/2S)………(式2) となるようなAとSを選択すると L=F(AR/2S)………(式3) =F(AR>>S)………(式4) (ただし、>>Sは2の補数表現においてSビット右シ
フトすることを表す。)ここで、乗算後のLの値を整数
にまるめるために、まるめ定数としてXを用いると、ま
るめ定数Xの値を変えることにより、次のようにDCT
係数Rを量子化閾値Qで割った結果の小数部分のまるめ
方式を自由に選択することができる。
L = F (R / Q) (Equation 1) Here, A / S is selected such that (1 / Q) = (A / 2 S ) (Equation 2) L = F (AR / 2 S ) (Equation 3) = F (AR >> S) (Equation 4) (where >> S indicates that S bits are to be shifted right by S bits in two's complement representation. Here, if X is used as a rounding constant in order to round the value of L after multiplication to an integer, by changing the value of the rounding constant X, the DCT is calculated as follows.
The rounding method of the decimal part resulting from dividing the coefficient R by the quantization threshold Q can be freely selected.

【0026】 L=(AR+X)>>S・・・・・(式5) R≧0のとき X=0 :切り捨て =A/2:四捨五入 R<0のとき X=2S−1 :切り捨て =A/2−1:四捨五入 と表すことができる。L = (AR + X) >> S (Equation 5) When R ≧ 0, X = 0: Truncation = A / 2: Rounding R <0 X = 2 S −1: Truncation = A / 2-1: rounded off.

【0027】図1は、本発明の量子化回路の1つの構成
例を示すブロック図である。
FIG. 1 is a block diagram showing one configuration example of the quantization circuit of the present invention.

【0028】図1の量子化回路は、正数入力用まるめ定
数レジスタ101、負数入力用まるめ定数レジスタ10
2、まるめ定数レジスタ101,102に接続された選
択回路103、DCT係数Rと量子化閾値の逆数Aを入
力とする乗算器104、選択回路103と乗算器104
に接続された加算器105、加算器105に接続された
シフタ106、シフタ106に接続された値域制限回路
107によって構成される。
The quantizing circuit shown in FIG. 1 includes a rounding constant register 101 for positive number input and a rounding constant register 10 for negative number input.
2. A selection circuit 103 connected to the rounding constant registers 101 and 102, a multiplier 104 which receives a DCT coefficient R and a reciprocal A of a quantization threshold as inputs, a selection circuit 103 and a multiplier 104
, A shifter 106 connected to the adder 105, and a range limiting circuit 107 connected to the shifter 106.

【0029】(式5)におけるDCT係数Rが正数の場
合のまるめ定数Xを正数入力用まるめ定数レジスタ10
1に、DCT係数Rが負数の場合のまるめ定数Xを負数
入力用まるめ定数レジスタ102にそれぞれ格納する。
When the DCT coefficient R in (Equation 5) is a positive number, the rounding constant X is set to the rounding constant register 10 for inputting a positive number.
1, the rounding constant X when the DCT coefficient R is a negative number is stored in the rounding constant register 102 for negative number input.

【0030】選択回路103は、DCT係数Rの符号ビ
ットにより正数用または負数用まるめ定数を選択し、加
算器105に入力する。
The selection circuit 103 selects a positive or negative rounding constant based on the sign bit of the DCT coefficient R, and inputs it to the adder 105.

【0031】一方、乗算器104によってDCT係数R
と量子化閾値の逆数Aの積が求められる。加算器105
で(AR+X)を求め、シフタ106でSビット右シフ
トされ、値域制限回路107で量子化係数の値域を定め
られた値に制限する。
On the other hand, the DCT coefficient R
And the reciprocal A of the quantization threshold are obtained. Adder 105
Then, (AR + X) is obtained, shifted by S bits to the right by the shifter 106, and the value range of the quantization coefficient is limited to a predetermined value by the value range limiting circuit 107.

【0032】これにより、(式5)の計算が実現されD
CT係数Rを量子化閾値Qで量子化し、整数にまるめら
れた結果Lが得られる。
Thus, the calculation of (Equation 5) is realized and D
The CT coefficient R is quantized by the quantization threshold Q, and a result L rounded to an integer is obtained.

【0033】本実施例の量子化回路は、二つのまるめ定
数レジスタを備えることにより、従来の課題であった、
ソフトウエアでの実現方法における実行スピードの高速
化、ハードウエアでの実現方法における小数部分の種々
のまるめ方式に対し1つのハードウエアで実現でき、従
来の方式に比較して回路規模の削減が可能となる。
The quantization circuit of this embodiment has two conventional rounding constant registers, which is a conventional problem.
Faster execution speed in software-based implementation method, one-hardware implementation for various rounding schemes for fractional parts in hardware-based implementation method, and reduced circuit scale compared to conventional methods Becomes

【0034】[0034]

【発明の効果】本発明の量子化回路は、正数入力用まる
め定数保持手段と、負数入力用まるめ定数保持手段と、
入力の正負判定に従って正数入力用まるめ定数、負数入
力用まるめ定数の一方を選択するまるめ定数選択手段
と、乗算手段と、加算手段と、シフト手段および値域制
限手段とを具備しているので、実行スピードが高速で、
回路規模が縮小化された量子化回路を提供できる。
The quantizing circuit according to the present invention comprises a rounding constant holding means for positive number input, a rounding constant holding means for negative number input,
Since it has a rounding constant for positive number input and a rounding constant selecting means for selecting one of the rounding constants for negative number input according to the positive / negative determination of the input, a multiplying means, an adding means, a shifting means and a range limiting means, The execution speed is fast,
A quantization circuit with a reduced circuit size can be provided.

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

【図1】本発明の実施例による量子化回路の構成図であ
る。
FIG. 1 is a configuration diagram of a quantization circuit according to an embodiment of the present invention.

【図2】四捨五入によるまるめ方式の説明図である。FIG. 2 is an explanatory diagram of a rounding method by rounding off.

【図3】切り捨てによるまるめ方式の説明図である。FIG. 3 is an explanatory diagram of a rounding method by truncation.

【図4】ソフトウエアによる従来の技術である。FIG. 4 shows a conventional technique using software.

【図5】ハードウエアよる従来の技術である(まるめ方
式が切り捨ての場合)。
FIG. 5 shows a conventional technique using hardware (when the rounding method is truncation).

【図6】画像圧縮方式の構成図である。FIG. 6 is a configuration diagram of an image compression method.

【図7】JPEG方式符号化回路のブロック図である。FIG. 7 is a block diagram of a JPEG encoding circuit.

【図8】MPEG方式符号化回路のブロック図である。FIG. 8 is a block diagram of an MPEG encoding circuit.

【図9】H.261方式符号化回路のブロック図であ
る。
FIG. FIG. 3 is a block diagram of a H.261 coding circuit.

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

101 正数入力用まるめ定数レジスタ 102 負数入力用まるめ定数レジスタ 103 選択回路 104 乗算器 105 加算器 106 シフタ 107 値域制限回路 611 DCT実行手段 612 量子化実行手段 621 画像データ 622 DCT係数 623 量子化係数 101 Rounding constant register for positive number input 102 Rounding constant register for negative number input 103 Selection circuit 104 Multiplier 105 Adder 106 Shifter 107 Range limiting circuit 611 DCT execution means 612 Quantization execution means 621 Image data 622 DCT coefficient 623 Quantization coefficient

フロントページの続き (56)参考文献 特開 平5−48464(JP,A) 特開 平2−227770(JP,A) 特開 昭64−10326(JP,A) 特開 昭61−278213(JP,A) 特開 昭58−225436(JP,A) (58)調査した分野(Int.Cl.7,DB名) H03M 7/30 Continuation of front page (56) References JP-A-5-48464 (JP, A) JP-A-2-227770 (JP, A) JP-A-64-10326 (JP, A) JP-A-61-278213 (JP) , A) JP-A-58-225436 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H03M 7/30

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 正数入力用まるめ定数を保持する保持手
段と、負数入力用まるめ定数を保持する保持手段と、入
力の正負判定に従って正数入力用まるめ定数、負数入力
用まるめ定数の一方を選択するまるめ定数選択手段と、
DCT係数および量子化閾値の逆数を入力としこれらを
乗算する乗算手段と、前記まるめ定数選択手段の出力お
よび前記乗算手段の出力を入力としこれらを加算する加
算手段と、前記加算手段の出力を入力とし入力された値
にシフト処理を施すシフト手段と、前記シフト手段の出
力を入力とし値域を制限する値域制限手段とを具備する
ことを特徴とする量子化回路。
1. A holding means for holding a rounding constant for positive number input, a holding means for holding a rounding constant for negative number input, and one of a rounding constant for positive number input and a rounding constant for negative number input in accordance with the positive / negative judgment of the input. Means for selecting a rounding constant to be selected;
Multiplication means for inputting and multiplying a DCT coefficient and a reciprocal of a quantization threshold; input means for receiving the output of the rounding constant selection means and the output of the multiplication means as inputs and adding the output of the addition means; A quantizing circuit comprising: a shift means for performing a shift process on the input value; and a range limiting means for limiting a value range by using an output of the shift means as an input.
JP6355493A 1993-03-23 1993-03-23 Quantization circuit Expired - Fee Related JP3107676B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6355493A JP3107676B2 (en) 1993-03-23 1993-03-23 Quantization circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6355493A JP3107676B2 (en) 1993-03-23 1993-03-23 Quantization circuit

Publications (2)

Publication Number Publication Date
JPH06276101A JPH06276101A (en) 1994-09-30
JP3107676B2 true JP3107676B2 (en) 2000-11-13

Family

ID=13232563

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6355493A Expired - Fee Related JP3107676B2 (en) 1993-03-23 1993-03-23 Quantization circuit

Country Status (1)

Country Link
JP (1) JP3107676B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3358721B2 (en) 1999-06-29 2002-12-24 日本電気株式会社 Huffman code decoder
KR100348210B1 (en) * 2000-07-21 2002-08-09 (주)씨앤에스 테크놀로지 Device for quantization of image conpression/restoration
EP2120448A1 (en) * 2008-05-14 2009-11-18 Thomson Licensing Method of processing of a compressed image into a gamut mapped image using spatial frequency analysis

Also Published As

Publication number Publication date
JPH06276101A (en) 1994-09-30

Similar Documents

Publication Publication Date Title
JP3205498B2 (en) Coding method and decoding method for continuous image
JP2969867B2 (en) High-efficiency encoder for digital image signals.
US5517583A (en) Image encoding method and apparatus
JP3199371B2 (en) Rounding device
JPH07262175A (en) Function transformation arithmetic unit
JP3356516B2 (en) Video encoding device
EP1095505A1 (en) Image processing circuit and method for modifying a pixel value
US5508745A (en) Apparatus for controlling a quantization level to be modified by a motion vector
US5343247A (en) Filter circuit for preprocessing a video signal to be coded
JP3107676B2 (en) Quantization circuit
JP2768260B2 (en) Image coding control method
EP1368748A2 (en) Method and system to encode a set of input values into a set of coefficients using a given algorithm
JP3362463B2 (en) Frame interpolation device
JP3063380B2 (en) High efficiency coding device
JP3032213B2 (en) Image encoding device and image decoding device
JPH0537916A (en) Image transmission equipment
JPH06133297A (en) Method and device for compensating motion of picture whose resolution is converted
JP2776425B2 (en) Cell loss compensation image decoding method
JPH08307835A (en) Classification adaptive processing unit and its method
JP2532588B2 (en) Orthogonal inverse transformation device
JPH09247668A (en) Image signal coding system
JP3191433B2 (en) High efficiency coding device
JPH1023426A (en) Picture predicting method and picture coding method
JP3689626B2 (en) Image signal decoding method and apparatus
JP2623555B2 (en) Transform encoding device and encoding method

Legal Events

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

Free format text: PAYMENT UNTIL: 20080908

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20080908

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090908

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees