JP3227170B2 - Image coding device - Google Patents

Image coding device

Info

Publication number
JP3227170B2
JP3227170B2 JP11318991A JP11318991A JP3227170B2 JP 3227170 B2 JP3227170 B2 JP 3227170B2 JP 11318991 A JP11318991 A JP 11318991A JP 11318991 A JP11318991 A JP 11318991A JP 3227170 B2 JP3227170 B2 JP 3227170B2
Authority
JP
Japan
Prior art keywords
image data
quantization step
code amount
quantization
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
JP11318991A
Other languages
Japanese (ja)
Other versions
JPH04341063A (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.)
Canon Inc
Original Assignee
Canon Inc
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
Priority to JP11318991A priority Critical patent/JP3227170B2/en
Application filed by Canon Inc filed Critical Canon Inc
Priority to EP92300851A priority patent/EP0498578B1/en
Priority to DE69232123T priority patent/DE69232123T2/en
Priority to SG1996006638A priority patent/SG43261A1/en
Priority to DE69231426T priority patent/DE69231426T2/en
Priority to SG9802915A priority patent/SG94709A1/en
Priority to EP97201674A priority patent/EP0804036B1/en
Priority to SG9802913A priority patent/SG94708A1/en
Priority to EP98201257A priority patent/EP0863672B1/en
Priority to DE69228841T priority patent/DE69228841T2/en
Priority to SG9802904A priority patent/SG95586A1/en
Priority to US07/829,404 priority patent/US5251029A/en
Publication of JPH04341063A publication Critical patent/JPH04341063A/en
Priority to US08/032,633 priority patent/US5333013A/en
Priority to US08/237,891 priority patent/US5452007A/en
Priority to US08/337,442 priority patent/US5528298A/en
Application granted granted Critical
Publication of JP3227170B2 publication Critical patent/JP3227170B2/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 an image coding apparatus for quantizing image data and performing coding processing.

【0002】[0002]

【従来の技術】近年、カラー画像信号の符号化方式とし
て、適応的DCT(離散的コサイン変換)符号化方式が
注目されており、この種の符号化方式の国際標準化機関
として設立されたグループであるJPEG(Joint
PhotographicExpert Grou
p)における符号化方式においても、DCT符号化方式
が採用されている。
2. Description of the Related Art In recent years, an adaptive DCT (Discrete Cosine Transform) coding method has been drawing attention as a coding method for a color image signal, and a group established as an international standardization organization for this kind of coding method. A JPEG (Joint
Photographic Expert Group
Also in the encoding method in p), the DCT encoding method is adopted.

【0003】以下、この種の符号化方式の基本システム
の概要について簡単に説明する。
[0003] An outline of a basic system of this type of coding system will be briefly described below.

【0004】図3はDCT変換を用いた従来の符号化方
式の概略構成例を説明するためのブロック図、図4
(A)〜(D)は図3に示す符号化方式の処理を説明す
るための図である。15は符号化しようとするデジタル
画像信号の入力端子であり、ラスタースキャンによるデ
ジタル画像信号が入力される。
FIG. 3 is a block diagram for explaining a schematic configuration example of a conventional encoding system using DCT transform.
(A)-(D) is a figure for demonstrating the process of the encoding system shown in FIG. Reference numeral 15 denotes an input terminal of a digital image signal to be encoded, and receives a digital image signal by raster scanning.

【0005】該端子15に入力された画像信号は8×8
ブロック化回路16に入力され、ここで2次元的に(8
×8)画素からなる画素ブロックに分割され、この画素
ブロック単位で後段に送出される。
The image signal inputted to the terminal 15 is 8 × 8
The signal is input to the blocking circuit 16, where it is two-dimensionally (8
× 8) The image data is divided into pixel blocks each composed of pixels, and transmitted to the subsequent stage in units of the pixel blocks.

【0006】17はこのブロック化回路16からの画像
信号をDCT変換し、周波数領域についての(8×8)
のデータマトリクスを出力するDCT変換回路である。
即ち、図4(A)に示す如き画像データD11〜D88から
なる画素ブロックは、該回路17により図4(B)に示
す如きX11〜X88からなるデータマトリクスに変換され
る。
Reference numeral 17 denotes a DCT transform of the image signal from the blocking circuit 16 to obtain an (8 × 8)
Is a DCT conversion circuit that outputs the data matrix of.
That is, the image data D 11 pixel block consisting to D 88 as shown in FIG. 4 (A), is converted into the data matrix of X 11 to X 88 such shown in FIG. 4 (B) by the circuit 17.

【0007】ここで、X11は画素ブロックの水平方向及
び垂直方向についての直流(DC)成分、即ち、この画
素ブロックの平均値を示している。このX11〜X88を一
般にXijとすると、iが大きい程垂直方向に高い周波数
を有する成分、jが大きい程水平方向に高い周波数を有
する成分を示している。
[0007] Here, X 11 is a direct current (DC) component in the horizontal direction and the vertical direction of the pixel block, that is, the average value of the pixel block. When the X 11 to X 88 generally as X ij, component i has a higher frequency in the vertical direction larger have shown a component having a higher frequency in the horizontal direction as j increases.

【0008】DCT変換回路17から出力されたデータ
マトリクスは線形量子化回路18に入力される。一方、
量子化マトリクス発生回路19は、各DCT係数X11
88にお対する量子化ステップサイズの重み付けを示
す量子化マトリクスW11〜W88(図4(C)に示す)
を発生し、発生回路20は係数(量子化係数)Cを発生
する。この量子化マトリクスW11〜W88及び係数Cは乗
算器21へ入力される。乗算器21では(Wij×C)を
演算し、線形量子化回路18の量子化ステップはこの乗
算器21の出力Q11〜Q88に従って決定される。
[0008] The data matrix output from the DCT conversion circuit 17 is input to a linear quantization circuit 18. on the other hand,
The quantization matrix generation circuit 19 generates each of the DCT coefficients X 11 to X 11 .
Quantization matrix W 11 to W-88 showing the weighting of the quantization step size against us to X 88 (shown in FIG. 4 (C))
, And the generation circuit 20 generates a coefficient (quantized coefficient) C. The quantization matrix W 11 to W-88 and the coefficient C is inputted to the multiplier 21. The multiplier 21 calculates (W ij × C), and the quantization step of the linear quantization circuit 18 is determined according to the outputs Q 11 to Q 88 of the multiplier 21.

【0009】ここで係数Cは正の値であり、前記係数C
の値により、画質や発生データ量が制御される。
Here, the coefficient C is a positive value.
Controls the image quality and the amount of generated data.

【0010】実際には、線形量子化回路18ではXij
ijが演算され、出力される。この線形量子化回路の出
力をG11〜G88とする。この量子化された変換データG
11〜G88はジグザグ走査回路22にて直流成分から順に
送出される。即ち、ジグザグ走査回路22からは、G11
〜G88がG11,G12,G21,G31,G22,G13,G14
23,G32,G41…G85,G86,G77,G68,G78,G
87,G88の順で可変長符号化回路(VLC)23に供給
される。
In practice, the linear quantization circuit 18 uses X ij /
Q ij is calculated and output. The output of the linear quantization circuit and G 11 ~G 88. This quantized conversion data G
11 ~G 88 is sent in order from the DC component in the zigzag scanning circuit 22. That is, the zigzag scanning circuit 22 outputs G 11
~G 88 is G 11, G 12, G 21 , G 31, G 22, G 13, G 14,
G 23, G 32, G 41 ... G 85, G 86, G 77, G 68, G 78, G
87 and G 88 are supplied to the variable length coding circuit (VLC) 23 in this order.

【0011】VLC23においては、例えば直流成分G
11については近傍に位置する画素ブロック間で予測値を
算出し、この予測値との予測誤差をハフマン符号化す
る。
In the VLC 23, for example, a DC component G
For 11 , a prediction value is calculated between neighboring pixel blocks, and a prediction error from the prediction value is Huffman-coded.

【0012】また、直流成分G11以外の交流成分G12
88については、その量子化出力を上述の如く、低周波
成分から高周波成分へとジグザグ走査しながら符号化
し、量子化出力が0でない有意係数はその値によりグル
ープに分類し、そのグループ識別番号と、直前の有意係
数との間にはさまれた量子化出力が0の無効係数の個数
のラン長とを組にしてハフマン符号化し、続いてグルー
プ内のいずれの値であるかを等長符号を付加する。
[0012] In addition, other than the DC component G 11 AC component G 12 ~
For G 88, as described above the quantization output, coded while zigzag scanning from a low frequency component to high frequency component, significant coefficients quantized output is not zero is classified into groups by the value, the group identification number And the run length of the number of invalid coefficients whose quantization output sandwiched between the immediately preceding significant coefficient is 0, and Huffman coding is performed. Then, which value in the group is equal length is determined. Add a sign.

【0013】一般に、画像の斜め方向の高周波成分は発
生確率が低いため、ジグザグ走査後のGijの後半部分は
すべて0になることが多いと予想される。従って、この
様にして得た可変長符号は非常に高い圧縮率が期待で
き、平均で数分の1程度の圧縮率を想定した場合には、
殆ど画質劣化のない画像が復元できる。
In general, since the high frequency component in the oblique direction of the image has a low probability of occurrence, it is expected that the latter half of G ij after the zigzag scanning is often all zero. Therefore, a very high compression rate can be expected for the variable-length code obtained in this way. If an average compression rate of about a fraction is assumed,
An image with almost no image quality degradation can be restored.

【0014】一方、一般に伝送路は単位時間あたりの伝
送容量は定められており、動画像を伝送する場合の様に
所定期間毎に1画面を伝送しなければならない場合にお
いては、出力される符号が画面単位もしくは画素ブロッ
ク単位で固定されたビット数となることが望まれる。
On the other hand, a transmission path generally has a predetermined transmission capacity per unit time, and when one screen must be transmitted every predetermined period, such as when transmitting a moving image, a code to be output is used. Is desired to be a fixed number of bits for each screen or pixel block.

【0015】ここで、前述の係数Cを大きくとればCij
が0となる確率が増加し、符号化されたデータの総ビッ
ト数NBが減少する。この係数Cと総ビット数NBとの
関係は、画像によって異なるが何れにしても単純減少関
数であり、平均的な画像について図4(D)の如き対数
曲線となることが知られている。
Here, if the aforementioned coefficient C is increased, C ij
Is increased, and the total number of bits NB of the encoded data is reduced. The relationship between the coefficient C and the total number of bits NB differs depending on the image, but is a simple decreasing function in any case, and it is known that an average image has a logarithmic curve as shown in FIG.

【0016】そこで、所望の総ビット数NB0を得るた
めの係数C0を予測する手法が前述のJPEG等により
提示されている。即ち、ある係数CIについて先ず符号
化を行い、こうして得られた符号の総ビット数nb1を
求める。このnb1及びC1に基づきC0の予測値C2
を計算する、この計算は図4(D)に示す対数曲線が
(C1,nb1)上を通ることから予測することができ
る。
Therefore, a method for predicting a coefficient C0 for obtaining a desired total number of bits NB0 has been proposed by JPEG or the like. That is, encoding is first performed for a certain coefficient CI, and the total bit number nb1 of the code thus obtained is obtained. A predicted value C2 of C0 based on nb1 and C1
This can be predicted from the fact that the logarithmic curve shown in FIG. 4D passes over (C1, nb1).

【0017】この操作を数回繰返すことにより、所望の
総ビット数NB0に対して数%程度の誤差符号量とする
ことができる。
By repeating this operation several times, the error code amount can be reduced to about several percent of the desired total number of bits NB0.

【0018】[0018]

【発明が解決しようとしている課題】しかしながら、こ
の様に繰返し符号化を行い上記係数C0の値を決定する
処理は、非常に時間のかかる処理であり、動画像の様に
所定期間に1画面を必ず伝送しなければならない符号化
装置には適していない。特に、高品位テレビジョン信号
の如くビットレートの極めて高い画像信号を取扱う場合
にはこの様な処理は不可能である。
However, the process of determining the value of the coefficient C0 by performing repetitive coding in this manner is a very time-consuming process, and one screen is displayed in a predetermined period like a moving image. It is not suitable for coding devices that must be transmitted. In particular, when processing an image signal having a very high bit rate such as a high-definition television signal, such processing is impossible.

【0019】本発明はかかる背景下に、画像データを符
号化した際の符号量が所望の符号量となる量子化ステッ
プを敏速に、かつ正確に得ることができる画像符号化装
置を提供することを目的とする。
Under such circumstances, the present invention provides an image coding apparatus capable of quickly and accurately obtaining a quantization step in which a code amount at the time of coding image data becomes a desired code amount. With the goal.

【0020】[0020]

【課題を解決するための手段】本願発明にかかる画像符
号化装置は、連続的な画像データを入力し、前記画像デ
ータを量子化することによって前記画像データの符号量
を制御し、前記画像データを符号化する画像符号化装置
であって、前記入力された画像データの所定単位を符号
化した際の符号量が所望の符号量になると予測される量
子化ステップを発生する発生手段と、前記発生手段によ
り発生された量子化ステップにより前記入力された画像
データを量子化して符号化する符号化手段とを有し、前
記発生手段は、N(Nは2以上の自然数の定数)個の符
号量算出手段と、N個の量子化ステップを発生する予測
手段を含み、前記N個の符号量算出手段は、前記入力さ
れた画像データを第M(Mは、1≦M≦Nを満たす自然
数の集合)の量子化ステップで量子化して符号化した際
の第Mの符号量を求める第Mの符号量算出手段からな
り、前記予測手段は、前記第Mの量子化ステップ及び前
記第Mの符号量から、前記所望の符号量になると予測さ
れる第M+1の量子化ステップを発生し、第1の量子化
ステップとして処理対象の画像データの直前の画像デー
タに対して予測された量子化ステップを使用し、前記符
号化手段に供給される量子化ステップは、前記予測手段
から発生された第N+1の量子化ステップであることを
特徴とする。
An image encoding apparatus according to the present invention receives continuous image data, and controls the code amount of the image data by quantizing the image data. Generating means for generating a quantization step in which a code amount when a predetermined unit of the input image data is coded is predicted to be a desired code amount; and Encoding means for quantizing and encoding the input image data by a quantization step generated by the generating means, wherein the generating means comprises N (N is a constant of 2 or more natural numbers) codes An amount calculating means, and a predicting means for generating N quantization steps, wherein the N code amount calculating means converts the inputted image data into M-th (M is a natural number satisfying 1 ≦ M ≦ N) Set) quantum M-th code amount calculation means for obtaining an M-th code amount when quantized and coded in the step, wherein the prediction means calculates the M-th code amount from the M-th quantization step and the M-th code amount. Generating an (M + 1) -th quantization step predicted to have a code amount of, and using a quantization step predicted for image data immediately before the image data to be processed as a first quantization step, The quantization step supplied to the quantization means is an (N + 1) th quantization step generated by the prediction means.

【0021】[0021]

【0022】[0022]

【0023】[0023]

【実施例】以下、本発明の実施例について説明する。Embodiments of the present invention will be described below.

【0024】第1図は本発明の一実施例としてテレビジ
ョン信号の伝送を行う伝送装置に本発明を適用した符号
化装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an encoding apparatus in which the present invention is applied to a transmission apparatus for transmitting a television signal as one embodiment of the present invention.

【0025】図中、1はアナログテレビジョン信号の入
力端子であり、該端子1から入力されたテレビジョン信
号はA/D変換器2にて8ビットにデジタル化され、図
3のブロック化回路16と同様の動作を行う(8×8)
ブロック化回路3にて(8×8)の画素ブロックに分割
され、各ブロック毎にDCT変換回路4に供給される。
In the figure, reference numeral 1 denotes an input terminal of an analog television signal. A television signal inputted from the terminal 1 is digitized into 8 bits by an A / D converter 2, and is converted into a block circuit shown in FIG. Performs the same operation as (16 × 8)
The image data is divided into (8 × 8) pixel blocks by the blocking circuit 3 and supplied to the DCT conversion circuit 4 for each block.

【0026】各ブロックの画素データD11〜D88はDC
T変換回路4にて、図3の場合と同様に周波数領域につ
いてのデータマトリクスX11〜X88に変換され、ジグザ
グ走査回路5に供給される。該ジグザグ走査回路5は、
図3の22と同様の動作を行い、DCT変換されたデー
タマトリクスX11〜X88をX11,X12,X21,X31,X
22,X13,X14,X23,X32,X41……X85,X86,X
77,X68,X78,X87,X88の順で出力する。
The pixel data D 11 to D 88 of each block are DC
In the T conversion circuit 4, the data is converted into data matrices X 11 to X 88 for the frequency domain as in the case of FIG. 3 and supplied to the zigzag scanning circuit 5. The zigzag scanning circuit 5 includes:
The same operation as 22 in FIG. 3 is performed, and the DCT-transformed data matrices X 11 to X 88 are converted into X 11 , X 12 , X 21 , X 31 , X 31
22, X 13, X 14, X 23, X 32, X 41 ...... X 85, X 86, X
77, X 68, X 78, and outputs in the order of X 87, X 88.

【0027】量子化マトリクス発生回路6は前述の量子
化マトリクスW11〜W88を発生する。但し、本実施例で
は各量子化回路7a〜7eには既にジグザグ走査された
データが入力されるのでこの量子化マトリクスW11〜W
88もジグザグ走査に対応した順序で発生され、乗算回路
8a〜8eに供給される。
The quantization matrix generation circuit 6 generates the above-described quantization matrices W 11 to W 88 . However, since the data already zigzag scanning in each quantization circuit 7a~7e in this embodiment is input quantization matrix W 11 to W-
88 is also generated in the order corresponding to the zigzag scanning and supplied to the multiplication circuits 8a to 8e.

【0028】乗算回路8aには係数演算回路より前述の
量子化係数(制御係数)C1として予測初期係数が供給
される。前記予測初期係数については後述する。
The prediction initial coefficient is supplied to the multiplication circuit 8a from the coefficient calculation circuit as the above-described quantization coefficient (control coefficient) C1. The prediction initial coefficient will be described later.

【0029】乗算回路8aは量子化マトリクス発生回路
6からの量子化マトリクスW11〜W 88を制御係数C1で
乗算し、その結果を量子化回路7aに出力する。
The multiplication circuit 8a is a quantization matrix generation circuit
6 from the quantization matrix W11~ W 88With the control coefficient C1
The multiplication is performed, and the result is output to the quantization circuit 7a.

【0030】こうして、量子化回路7aにおいてはこの
制御係数C1による量子化コードG111〜G188が得ら
れる。この量子化された変換コードG111〜G188はV
LC9aに入力される。
[0030] Thus, quantization code G1 11 ~G1 88 by the control coefficient C1 is in the quantization circuit 7a is obtained. The quantized conversion codes G1 11 to G1 88 are V
Input to LC9a.

【0031】本実施例にあってはVLC9a〜9dは実
際の符号化データは出力せず、図3のVLC23と同様
の処理を行った場合の各画面毎の総ビット数情報nb1
〜nb4のみを出力する。前記VLC9aの出力する総
ビット数情報nb1は係数演算回路10に入力される。
In the present embodiment, the VLCs 9a to 9d do not output actual encoded data, and the total bit number information nb1 for each screen when the same processing as that of the VLC 23 in FIG. 3 is performed.
To nb4 only. The total bit number information nb1 output from the VLC 9a is input to the coefficient operation circuit 10.

【0032】前記係数演算回路10はVLC9a〜9d
からの総ビット数情報nb1〜nb4、初期係数及びこ
の演算回路10の出力C1〜C4を用いて所望の総ビッ
ト数NB0に対応する制御係数C0を予測し、夫々制御
係数としてC2〜C5を出力する。ここで、係数演算回
路10は量子化回路7a〜7dに入力された1画面分の
変換データによって得られた制御係数C2〜C5を次の
1画面分の変換データが量子化回路7a〜7dに入力さ
れるタイミングで出力する。
The coefficient operation circuit 10 has VLCs 9a to 9d
, A control coefficient C0 corresponding to a desired total number of bits NB0 is predicted using the total bit number information nb1 to nb4, the initial coefficients and the outputs C1 to C4 of the arithmetic circuit 10, and C2 to C5 are output as control coefficients, respectively. I do. Here, the coefficient operation circuit 10 converts the control coefficients C2 to C5 obtained by the conversion data for one screen input to the quantization circuits 7a to 7d into the conversion data for the next one screen to the quantization circuits 7a to 7d. Output at the input timing.

【0033】一方、11a〜11dはジグザグ走査回路
5の出力を1画面(フレーム)期間遅延する回路(1F
DL)であり、従って、係数演算回路10の出力する制
御係数C2は前記制御係数C2を得るために用いた1画
面分の変換データが量子化回路7bに入力されるタイミ
ングで乗算回路8bに入力される。
On the other hand, reference numerals 11a to 11d denote circuits (1F) for delaying the output of the zigzag scanning circuit 5 by one screen (frame) period.
DL). Therefore, the control coefficient C2 output from the coefficient calculation circuit 10 is input to the multiplication circuit 8b at the timing when the conversion data for one screen used for obtaining the control coefficient C2 is input to the quantization circuit 7b. Is done.

【0034】即ち、量子回路7bでは同一画面について
2度目の量子化が行なわれ、制御係数C2による量子化
コードG211〜G288が得られる。前記量子化された変
換コードG211〜G288はVLC9bに入力される。
[0034] That is, the quantization for the second time for the same screen in a quantum circuit 7b is performed, quantization code G2 11 ~G2 88 is obtained by the control coefficient C2. Conversion code G2 11 ~G2 88 wherein the quantized is input to VLC9b.

【0035】量子化回路7c〜7e、乗算回路8c〜8
e、VLC9b〜9d及び1FDL11b〜11dの動
作は、夫々量子化回路7b、乗算回路8b、VLC9a
及び1FDL11aの前述した動作と同様であり、これ
らの回路によって1つの画面についての所望の制御係数
の予測値が順次更新されていく。
Quantization circuits 7c-7e, multiplication circuits 8c-8
e, the operations of the VLCs 9b to 9d and the 1FDLs 11b to 11d are respectively performed by the quantization circuit 7b, the multiplication circuit 8b, and the VLC 9a.
And the operation of the 1FDL 11a described above, and the predicted values of the desired control coefficients for one screen are sequentially updated by these circuits.

【0036】前述のように処理すると、係数演算回路1
0から得られる制御係数の予測値C5は、所望の総ビッ
ト数NB0に対応する制御係数C0に極めて近い値に収
束する。本実施例では制御係数C5を最終的な制御係数
Cとして乗算N回路8eに供給している。乗算回路8e
の出力は量子化回路7eに供給され、該量子化回路7e
では1FDL11dの出力即ち、都合4フレーム期間遅
延された変換データを量子化して、VLC9eに供給す
る。
When the processing is performed as described above, the coefficient operation circuit 1
The predicted value C5 of the control coefficient obtained from 0 converges to a value very close to the control coefficient C0 corresponding to the desired total number of bits NB0. In this embodiment, the control coefficient C5 is supplied to the multiplying N circuit 8e as the final control coefficient C. Multiplication circuit 8e
Is supplied to a quantization circuit 7e, and the quantization circuit 7e
Then, the output of the 1FDL 11d, that is, the converted data delayed for a convenient four frame period is quantized and supplied to the VLC 9e.

【0037】VLC9eは、実際に図3にて説明した如
き符号化を行い、符号化データ(DATA)を出力す
る。前記符号化データはエントリーバッファ12にて所
定のビットレートで出力され、マルチプレクサ13にて
最終的な制御係数Cと多重され、端子14より伝送路に
出力される。
The VLC 9e actually performs encoding as described with reference to FIG. 3, and outputs encoded data (DATA). The encoded data is output at a predetermined bit rate in the entry buffer 12, multiplexed with the final control coefficient C in the multiplexer 13, and output from the terminal 14 to the transmission line.

【0038】ここで前記予測初期係数について詳細に説
明する。
Here, the prediction initial coefficient will be described in detail.

【0039】一般的に動画像は画面間の相関が高いの
で、適応的DCT符号化を行い、1画面(1フレーム)
の総データ量を一定に保つように制御係数(量子化係
数)を設定した場合、その制御係数は画面間でほぼ同じ
値となる。
In general, a moving image has a high correlation between screens. Therefore, adaptive DCT coding is performed to perform one screen (one frame).
When the control coefficient (quantization coefficient) is set so as to keep the total data amount of the image constant, the control coefficient has substantially the same value between the screens.

【0040】そこで、本実施例では画面間の相関が高い
ことを利用することによって乗算回路8aに入力する制
御係数として前画面で得られた値を用いることにより、
最適制御係数が得られるまでの制御係数C2〜C5の収
束を早めることができ、より正確な制御係数が得られ
る。
Therefore, in this embodiment, by utilizing the fact that the correlation between the screens is high, the value obtained in the previous screen is used as the control coefficient input to the multiplication circuit 8a.
The convergence of the control coefficients C2 to C5 until the optimum control coefficient is obtained can be accelerated, and a more accurate control coefficient can be obtained.

【0041】図2を用いて更に具体的に説明する。This will be described more specifically with reference to FIG.

【0042】図2(a)は、ある画面の制御係数を求め
ていった時のC1〜C5の値を示したものである。この
図のように制御係数は目標とする最適制御係数値へと振
動しながら収束している。
FIG. 2A shows the values of C1 to C5 when a control coefficient for a certain screen is obtained. As shown in this figure, the control coefficients converge while oscillating to the target optimum control coefficient value.

【0043】図2(b)は、その次の画面の制御係数を
求めていった時のCI〜C5を示したものである。ここ
で初めに入力したC1は前画面の制御係数C2,つまり
図2(a)のC2の値(この値を予測初期係数と呼ぶ)
が入力されている。この画面の最適制御係数は前画面と
ほぼ同じであるといえるので、C1が最適制御係数に近
づいたことにより収束が早まり、より最適制御係数に近
い値が得られる。
FIG. 2B shows CI to C5 when the control coefficient of the next screen is obtained. Here, C1 input first is a control coefficient C2 of the previous screen, that is, a value of C2 in FIG. 2A (this value is called a prediction initial coefficient).
Is entered. Since the optimum control coefficient of this screen can be said to be almost the same as the previous screen, convergence is accelerated by the fact that C1 approaches the optimum control coefficient, and a value closer to the optimum control coefficient is obtained.

【0044】更に画面間の相関が高ければ、この動作が
繰り返されることにより、より高画質な画像が得られる
ことになる。
If the correlation between the screens is further high, this operation is repeated to obtain a higher quality image.

【0045】本実施例に於ては、極めて高速の処理を実
現するために制御係数は各画面毎に決定しているが、処
理時間に若干の余裕がある場合には、この制御係数の値
を決定する単位期間を小さく(短く)することも可能で
ある。
In this embodiment, the control coefficient is determined for each screen in order to realize extremely high-speed processing. However, if there is some margin in the processing time, the value of this control coefficient is determined. It is also possible to reduce (short) the unit period for determining.

【0046】[0046]

【発明の効果】以上説明したように本願発明によれば、
所定単位の画像データを符号化した際の符号量を所望の
符号量とする量子化ステップを敏速に、かつ正確に得る
ことができる。
As described above, according to the present invention,
It is possible to quickly and accurately obtain a quantization step for setting a code amount when a predetermined unit of image data is encoded to a desired code amount.

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

【図1】本発明の一実施例としての画像符号化装置の構
成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an image encoding device as one embodiment of the present invention.

【図2】制御係数の収束する様子を説明する為の図であ
る。
FIG. 2 is a diagram for explaining how control coefficients converge.

【図3】従来の符号化方式の概略構成例を説明するため
のブロック図である。
FIG. 3 is a block diagram for describing a schematic configuration example of a conventional encoding method.

【図4】図3に示す符号化方式の処理を説明するための
図である。
FIG. 4 is a diagram for explaining processing of the encoding method shown in FIG. 3;

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

3 ブロック化回路 4 DCT変換回路 6 量子化マトリクス発生回路 7a〜7e 量子化回路 8a〜8e 乗算回路 9a〜9e 可変長符号化回路 10 係数演算回路 11a〜11e 遅延回路 12 エントリーバッファ 13 マルチプレクサ Reference Signs List 3 Blocking circuit 4 DCT transformation circuit 6 Quantization matrix generation circuit 7a-7e Quantization circuit 8a-8e Multiplication circuit 9a-9e Variable length coding circuit 10 Coefficient operation circuit 11a-11e Delay circuit 12 Entry buffer 13 Multiplexer

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平3−3479(JP,A) 特開 平3−53666(JP,A) 特開 平3−166887(JP,A) 根本啓次(他1名),”DCT符号化 方式の符号量制御方法”,電子情報通信 学会秋季全国大会講演論文集,社団法人 電子情報通信学会,1989年8月15日, D−45,分冊6,p.6−45 (58)調査した分野(Int.Cl.7,DB名) H04N 7/24 - 7/68 H04N 1/41 - 1/419 H03M 7/30 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-3-3479 (JP, A) JP-A-3-53666 (JP, A) JP-A-3-166887 (JP, A) Keiji Nemoto (1 other) Name), "Code amount control method of DCT coding method", Proc. Of the IEICE Autumn National Convention, The Institute of Electronics, Information and Communication Engineers, August 15, 1989, D-45, Volume 6, p. 6-45 (58) Field surveyed (Int. Cl. 7 , DB name) H04N 7/ 24-7/68 H04N 1/41-1/419 H03M 7/30

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 連続的な画像データを入力し、前記画像
データを量子化することによって前記画像データの符号
量を制御し、前記画像データを符号化する画像符号化装
置であって、 前記入力された画像データの所定単位を符号化した際の
符号量が所望の符号量になると予測される量子化ステッ
プを発生する発生手段と、 前記発生手段により発生された量子化ステップにより前
記入力された画像データを量子化して符号化する符号化
手段とを有し、 前記発生手段は、N(Nは2以上の自然数の定数)個の
符号量算出手段と、N個の量子化ステップを発生する予
測手段を含み、 前記N個の符号量算出手段は、前記入力された画像デー
タを第M(Mは、1≦M≦Nを満たす自然数の集合)の
量子化ステップで量子化して符号化した際の第Mの符号
量を求める第Mの符号量算出手段からなり、 前記予測手段は、前記第Mの量子化ステップ及び前記第
Mの符号量から、前記所望の符号量になると予測される
第M+1の量子化ステップを発生し、第1の量子化ステ
ップとして処理対象の画像データの直前の画像データに
対して予測された量子化ステップを使用し、 前記符号化手段に供給される量子化ステップは、前記予
測手段から発生された第N+1の量子化ステップである
ことを特徴とする画像符号化装置。
1. An image coding apparatus for inputting continuous image data, controlling the code amount of the image data by quantizing the image data, and coding the image data, comprising: Generating means for generating a quantization step in which a code amount when a predetermined unit of encoded image data is encoded is predicted to be a desired code amount, and the quantization step generated by the generation means Encoding means for quantizing and encoding the image data, wherein the generating means generates N (N is a natural number of 2 or more) code amount calculating means and N quantization steps A prediction unit, wherein the N code amount calculation units quantize and encode the input image data in an Mth (M is a set of natural numbers satisfying 1 ≦ M ≦ N) quantization step; M-th sign The prediction means comprises: an (M + 1) th quantization step for predicting the desired code amount from the Mth quantization step and the Mth code amount. The quantization step generated and used as a first quantization step is a quantization step predicted for the image data immediately before the image data to be processed, and supplied to the encoding means, An image coding apparatus, wherein the generated (N + 1) th quantization step is performed.
JP11318991A 1991-02-07 1991-05-17 Image coding device Expired - Fee Related JP3227170B2 (en)

Priority Applications (15)

Application Number Priority Date Filing Date Title
JP11318991A JP3227170B2 (en) 1991-05-17 1991-05-17 Image coding device
SG9802904A SG95586A1 (en) 1991-02-07 1992-01-31 Image encoding apparatus
SG1996006638A SG43261A1 (en) 1991-02-07 1992-01-31 Image encoding apparatus
DE69231426T DE69231426T2 (en) 1991-02-07 1992-01-31 Device for coding images
SG9802915A SG94709A1 (en) 1991-02-07 1992-01-31 Image encoding apparatus
EP97201674A EP0804036B1 (en) 1991-02-07 1992-01-31 Image encoding apparatus
SG9802913A SG94708A1 (en) 1991-02-07 1992-01-31 Image encoding apparatus
EP98201257A EP0863672B1 (en) 1991-02-07 1992-01-31 Image encoding apparatus
EP92300851A EP0498578B1 (en) 1991-02-07 1992-01-31 Image encoding apparatus
DE69232123T DE69232123T2 (en) 1991-02-07 1992-01-31 Bildkodieranlage
DE69228841T DE69228841T2 (en) 1991-02-07 1992-01-31 Device for coding images
US07/829,404 US5251029A (en) 1991-02-07 1992-02-03 Image encoding apparatus
US08/032,633 US5333013A (en) 1991-02-07 1993-03-17 Image encoding apparatus
US08/237,891 US5452007A (en) 1991-02-07 1994-05-04 Image encoding apparatus
US08/337,442 US5528298A (en) 1991-02-07 1994-11-08 Image encoding apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11318991A JP3227170B2 (en) 1991-05-17 1991-05-17 Image coding device

Publications (2)

Publication Number Publication Date
JPH04341063A JPH04341063A (en) 1992-11-27
JP3227170B2 true JP3227170B2 (en) 2001-11-12

Family

ID=14605816

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11318991A Expired - Fee Related JP3227170B2 (en) 1991-02-07 1991-05-17 Image coding device

Country Status (1)

Country Link
JP (1) JP3227170B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2626521B2 (en) * 1993-11-29 1997-07-02 日本電気株式会社 Image transcoder

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
根本啓次(他1名),"DCT符号化方式の符号量制御方法",電子情報通信学会秋季全国大会講演論文集,社団法人 電子情報通信学会,1989年8月15日,D−45,分冊6,p.6−45

Also Published As

Publication number Publication date
JPH04341063A (en) 1992-11-27

Similar Documents

Publication Publication Date Title
JP3109854B2 (en) Image coding method and apparatus
US5333013A (en) Image encoding apparatus
EP0519962B1 (en) Digital image coding using a random scanning of image frames
US6256413B1 (en) Image encoding apparatus
US8331454B2 (en) Integer transform function for video compression systems
JP3087835B2 (en) Image encoding method and apparatus and image decoding method and apparatus
JP3777002B2 (en) Video signal encoding method and video signal encoding apparatus
JP3227170B2 (en) Image coding device
JPH099265A (en) Device and method for encoding image
JP3135271B2 (en) Encoding device
US5825422A (en) Method and apparatus for encoding a video signal based on inter-block redundancies
JP3387516B2 (en) Image encoding apparatus and method
KR0165405B1 (en) Bit control device of variable length code using nerve circuit
JP3397682B2 (en) Image coding device
JPH04341065A (en) Picture coder
JPH0310486A (en) Moving picture encoder
JP3200082B2 (en) Image processing method
JPH05122530A (en) Image encoder
JPH099266A (en) Device and method for image encoding
JP2955565B2 (en) Digital signal encoding method and decoding method, digital signal encoding apparatus and decoding apparatus, recording medium recording digital signal encoding program, and recording medium recording digital signal decoding program
JPH0998414A (en) Method and system for encoding and decoding picture
JPH0470061A (en) Method and device for coding picture data
JPH0730890A (en) Picture signal coder
JPH0514874A (en) Video encoding system
JPH06253156A (en) Picture coding system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010731

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

Free format text: PAYMENT UNTIL: 20070831

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20080831

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090831

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090831

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100831

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees