JPH1023413A - Encoding device - Google Patents

Encoding device

Info

Publication number
JPH1023413A
JPH1023413A JP17320396A JP17320396A JPH1023413A JP H1023413 A JPH1023413 A JP H1023413A JP 17320396 A JP17320396 A JP 17320396A JP 17320396 A JP17320396 A JP 17320396A JP H1023413 A JPH1023413 A JP H1023413A
Authority
JP
Japan
Prior art keywords
coefficient
quantization
encoding
quantization control
unit
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.)
Pending
Application number
JP17320396A
Other languages
Japanese (ja)
Inventor
Kazuhiro Suzuki
一弘 鈴木
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP17320396A priority Critical patent/JPH1023413A/en
Publication of JPH1023413A publication Critical patent/JPH1023413A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an encoding device of a small device scale by executing pipeline processing in each divided picture. SOLUTION: A line sequential output means 1 outputs picture data in the order of scanning lines. A 1st switching means 2 divides the picture data in each fixed scanning line order to switch an output destination. Each of storage means 3a to 3d stores the divided picture data in each scanning line order. Each of pixel block constituting means 5a to 5c reads out pixels from respective storage means 3a to 3d in fixed order to constitute a pixel block. Each of 2nd switching means 4a to 4c switches connections between the means 3a to 3d and the means 5a to 5c in fixed order. An encoding amount calculating means 6 calculates an encoding amount from a quantization coefficient. An optimum quantization control coefficient calculating means 7 calculates an optimum quantization control coefficient based on the encoding amount. An encoding means 8 encodes a pixel block by using the optimum quantization control coefficient.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は符号化装置に関し、
特に画像データを符号化する符号化装置に関する。
The present invention relates to an encoding device,
In particular, the present invention relates to an encoding device that encodes image data.

【0002】[0002]

【従来の技術】直交変換符号化方式は、階調を有する画
像を高能率に符号化する方式として知られている。中で
もDCT(離散コサイン変換)を用いたJPEG(Jo
intPhotographic Expert Gr
oup)やMPEG(Moving Picture
Expert Group)と呼ばれる方式は、国際標
準方式となっている。
2. Description of the Related Art An orthogonal transform coding method is known as a method for efficiently coding an image having gradations. In particular, JPEG (Jo) using DCT (Discrete Cosine Transform)
intPhotographic Expert Gr
up) or MPEG (Moving Picture)
A method called “Expert Group” is an international standard method.

【0003】DCTはエッジを含まない領域に対して
は、画像データの電力の大部分が低い周波数成分に集中
するため、高い周波数成分を粗く量子化してもそれほど
画質に影響なく高い圧縮率が得られる。一方、画素ブロ
ック内にエッジなどが含まれる場合には、高い周波数成
分にも電力が分散するために圧縮率が低下する。
[0003] In DCT, since the power of image data is mostly concentrated on low frequency components in an area that does not include edges, a high compression rate can be obtained without affecting the image quality even if the high frequency components are coarsely quantized. Can be On the other hand, when an edge or the like is included in the pixel block, the power is dispersed even in high frequency components, so that the compression ratio decreases.

【0004】また、圧縮率や画質を変更する場合には、
設定された量子化マトリックスに一定の値を乗じて量子
化ステップ幅を一様に増減する処理が行われる。この処
理を量子化スケーリングと呼ぶ。また、各要素に乗じる
一定値はスケーリングファクタあるいは量子化制御係数
といわれるが、以降では量子化制御係数と呼ぶことにす
る。
When changing the compression ratio or image quality,
A process of multiplying the set quantization matrix by a constant value to uniformly increase or decrease the quantization step width is performed. This process is called quantization scaling. Further, the constant value by which each element is multiplied is called a scaling factor or a quantization control coefficient, but is hereinafter referred to as a quantization control coefficient.

【0005】このようにDCTを用いた符号化圧縮率
は、画像内容に依存したものとなることから、画像デー
タの符号量を一定にすることが必要である。画像データ
の符号量を一定にすることを目的としたものとして、例
えば、特開平4−233373号公報のように目標符号
量に収束する量子化制御係数を求める手法がある。
[0005] As described above, since the coding compression rate using DCT depends on the image content, it is necessary to keep the code amount of the image data constant. As a method for making the code amount of image data constant, for example, there is a method of obtaining a quantization control coefficient converging to a target code amount as disclosed in Japanese Patent Application Laid-Open No. Hei 4-233373.

【0006】図20は、上記の従来技術の構成を示す図
である。入力画像信号をディジタルの画像データにアナ
ログ−ディジタル変換するA/D部100と、画像デー
タを量子化制御係数q1で符号化して符号量b1を算出
する第1の符号化部101と、画像データを量子化制御
係数q2で符号化して符号量b2を算出する第2の符号
化部102と、画像データを一定時間遅延させる遅延部
103と、符号量b1、符号量b2から目標符号量b0
に収束するように量子化制御係数q0を求める演算部1
04と、演算部104で決定された量子化制御係数q0
で、遅延された画像データを符号化する第3の符号化部
105と、から構成される。
FIG. 20 is a diagram showing the configuration of the above-mentioned prior art. An A / D unit 100 for analog-to-digital conversion of an input image signal into digital image data; a first encoding unit 101 for encoding image data with a quantization control coefficient q1 to calculate a code amount b1; A second encoding unit 102 that encodes the image data with a quantization control coefficient q2 to calculate a code amount b2, a delay unit 103 that delays image data for a fixed time, a target code amount b0 from the code amounts b1 and b2.
Calculation unit 1 for obtaining quantization control coefficient q0 so as to converge to
04 and the quantization control coefficient q0 determined by the arithmetic unit 104
And a third encoding unit 105 that encodes the delayed image data.

【0007】入力されたアナログ画像信号は、A/D部
100でディジタルの画像データに変換される。画像デ
ータは第1の符号化部101に入力され、量子化制御係
数q1で符号化されて符号量b1が算出される。同様に
画像データは第2の符号化部102に入力され、量子化
制御係数q2で符号化されて符号量b2が算出される。
演算部104は量子化制御係数q1と符号量b1、量子
化制御係数q2と符号量b2の組合せを線形補間して、
目標符号量b0に収束するように量子化制御係数q0を
求める。そして、画像データは遅延部103で一定時間
遅延した後に第3の符号化部105に入力され、演算部
104で決定された量子化制御係数q0で符号化され
る。
The input analog image signal is converted into digital image data by the A / D unit 100. The image data is input to the first encoding unit 101, and is encoded with the quantization control coefficient q1 to calculate a code amount b1. Similarly, the image data is input to the second encoding unit 102, and is encoded with the quantization control coefficient q2 to calculate the code amount b2.
The arithmetic unit 104 linearly interpolates the combination of the quantization control coefficient q1 and the code amount b1, and the combination of the quantization control coefficient q2 and the code amount b2,
The quantization control coefficient q0 is determined so as to converge on the target code amount b0. Then, the image data is input to the third encoding unit 105 after being delayed by the delay unit 103 for a predetermined time, and is encoded with the quantization control coefficient q0 determined by the arithmetic unit 104.

【0008】このような従来技術では、A/D変換され
た画像データを遅延部で約1フレーム分遅延させて符号
化を行っている。また、少なくとも2つの符号化部を並
列化して、同時に2種類の量子化制御係数で符号化した
場合の符号量を算出し、目標符号量となる量子化制御係
数を決定している。
In such a conventional technique, encoding is performed by delaying the A / D converted image data by about one frame in a delay unit. In addition, at least two encoding units are parallelized, and a code amount when encoding is performed with two types of quantization control coefficients at the same time is calculated, and a quantization control coefficient serving as a target code amount is determined.

【0009】[0009]

【発明が解決しようとする課題】しかし、上記のような
従来技術では、遅延部にメモリを備える必要がある。メ
モリ容量としては例えば、ディジタル複写機で通常扱わ
れるISO A4サイズ(210〔mm〕×297〔m
m〕)の大きさを持つ原稿の場合、これを画素当たり8
〔bit〕、解像度16〔画素/mm〕程度で入力する
と、210×16×297×16=15,966,72
0バイトのデータとなる。また、フルカラーで入力する
場合のデータ量はこの3倍となり、15,966,72
0〔画素〕×3〔byte/画素〕=47,900,1
60バイトという膨大なデータとなる。
However, in the above-described prior art, it is necessary to provide a memory in the delay unit. The memory capacity is, for example, ISO A4 size (210 [mm] × 297 [m
m]), this is set to 8 pixels per pixel.
[Bit] and a resolution of about 16 [pixels / mm], 210 × 16 × 297 × 16 = 15,966,72
This is 0-byte data. Also, the data amount when inputting in full color is three times as large as 15,966,72.
0 [pixel] × 3 [byte / pixel] = 47,900,1
It becomes a huge data of 60 bytes.

【0010】したがって、複数の符号化部で並列に符号
化して、目標符号量に収束する量子化制御係数を決定す
る場合、こうした高精細でデータ量の多い画像を所定の
期間遅延させるだけのメモリを備えることは装置規模が
増大するという問題点があった。
Therefore, when a plurality of encoding units encode in parallel to determine a quantization control coefficient that converges to a target code amount, a memory that only delays such a high-definition image with a large amount of data for a predetermined period. Is disadvantageous in that the size of the apparatus increases.

【0011】また、メモリを備えない場合には、符号化
の繰り返しが必要となり、演算量、処理時間が増加する
という問題点があった。本発明はこのような点に鑑みて
なされたものであり、分割画像毎に並列処理を行って装
置規模の小さい符号化装置を提供することを目的とす
る。
In addition, when no memory is provided, there is a problem in that it is necessary to repeat coding, which increases the amount of calculation and the processing time. The present invention has been made in view of such a point, and an object of the present invention is to provide an encoding device having a small device scale by performing parallel processing for each divided image.

【0012】また、本発明の他の目的は、1回の走査で
目標の符号量に収束する量子化制御係数を決定する符号
化装置を提供することである。
It is another object of the present invention to provide an encoding apparatus for determining a quantization control coefficient which converges to a target code amount in one scan.

【0013】[0013]

【課題を解決するための手段】上記課題を解決するため
に、画像データを符号化する符号化装置において、走査
線順次に画像データを出力する線順次出力手段と、前記
画像データを一定の走査線順次毎に分割して出力先を切
り替える第1の切替手段と、走査線順次毎に分割された
前記画像データを蓄積する蓄積手段と、前記蓄積手段か
ら一定の順序で画素を読みだして画素ブロックを構成す
る画素ブロック構成手段と、前記蓄積手段と前記画素ブ
ロック構成手段との接続を一定の順序で切り替える第2
の切替手段と、前記第1及び第2の切替手段の切替制御
を行う切替制御手段と、前記画素ブロックを符号化して
少なくとも2つの量子化制御係数で定まる量子化特性で
量子化して量子化係数を求め、前記量子化係数から符号
量を算出する符号量算出手段と、前記符号量をもとに目
標符号量に収束するような最適量子化制御係数を算出す
る最適量子化制御係数算出手段と、前記最適量子化制御
係数を用いて前記画素ブロックを符号化する符号化手段
とを有することを特徴とする符号化装置が提供される。
In order to solve the above-mentioned problems, in an encoding apparatus for encoding image data, a line-sequential output means for outputting image data in a scanning line-sequential manner; First switching means for switching the output destination by dividing line by line, accumulating means for accumulating the image data divided by scanning line, and reading pixels from the accumulating means in a certain order A second block that switches the connection between the storage block and the pixel block block in a fixed order;
Switching means, switching control means for performing switching control of the first and second switching means, and a quantization coefficient which encodes the pixel block and quantizes it with a quantization characteristic determined by at least two quantization control coefficients. Calculating a code amount from the quantized coefficient, and an optimal quantization control coefficient calculating unit that calculates an optimal quantization control coefficient that converges to a target code amount based on the code amount. Encoding means for encoding the pixel block using the optimal quantization control coefficient.

【0014】ここで、線順次出力手段は、走査線順次に
画像データを出力する。第1の切替手段は、画像データ
を一定の走査線順次毎に分割して出力先を切り替える。
蓄積手段は、走査線順次毎に分割された画像データを蓄
積する。画素ブロック構成手段は、蓄積手段から一定の
順序で画素を読みだして画素ブロックを構成する。第2
の切替手段は、蓄積手段と画素ブロック構成手段との接
続を一定の順序で切り替える。切替制御手段は、第1及
び第2の切替手段の切替制御を行う。符号量算出手段
は、画素ブロックを符号化して量子化制御係数で定まる
量子化特性で量子化して量子化係数を求め、量子化係数
から符号量を算出する。最適量子化制御係数算出手段
は、符号量をもとに目標符号量に収束するような最適量
子化制御係数を算出する。符号化手段は、最適量子化制
御係数を用いて画素ブロックを符号化する。
Here, the line-sequential output means outputs image data in a scanning line sequence. The first switching unit switches the output destination by dividing the image data for each predetermined scanning line.
The storage unit stores the image data divided for each scanning line. The pixel block forming unit reads out the pixels from the storage unit in a predetermined order to form a pixel block. Second
Switching means switches the connection between the accumulation means and the pixel block forming means in a certain order. The switching control means performs switching control of the first and second switching means. The code amount calculating means encodes the pixel block, quantizes the pixel block with a quantization characteristic determined by a quantization control coefficient to obtain a quantized coefficient, and calculates a code amount from the quantized coefficient. The optimum quantization control coefficient calculation means calculates an optimum quantization control coefficient that converges on the target code amount based on the code amount. The encoding unit encodes the pixel block using the optimal quantization control coefficient.

【0015】[0015]

【発明の実施の形態】以下、本発明の実施の形態を図面
にもとづいて説明する。図1は符号化装置の構成ブロッ
ク図である。符号化装置は、走査線順次に画像データを
出力する線順次出力手段1と、画像データの出力先を切
り替える第1の切替手段2と、画像データを複数ライン
分蓄積する蓄積手段3a、3b、3c、3dと、蓄積手
段からの出力を切り替える第2の切替手段4a、4b、
4cと、画素ブロックを構成する画素ブロック構成手段
5a、5b、5cと、符号量を算出する符号量算出手段
6と、最適量子化制御係数Q0を算出する最適量子化制
御係数算出手段7と、最適量子化制御係数Q0で画像デ
ータを符号化する符号化手段8と、第1の切替手段2及
び第2の切替手段4a、4b、4cの切替え制御を行う
切替制御手段9と、から構成される。また、符号量算出
手段6は、符号量B1を出力する第1の符号量算出手段
6aと、符号量B2を出力する第2の符号量算出手段6
bと、から構成される。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the encoding apparatus. The encoding apparatus includes a line-sequential output unit 1 that outputs image data in a scanning line sequence, a first switching unit 2 that switches an output destination of image data, and storage units 3a and 3b that store image data for a plurality of lines. 3c, 3d and second switching means 4a, 4b for switching the output from the storage means,
4c, pixel block forming means 5a, 5b, 5c forming a pixel block, a code amount calculating means 6 for calculating a code amount, an optimal quantization control coefficient calculating means 7 for calculating an optimal quantization control coefficient Q0, An encoding unit 8 that encodes image data with the optimal quantization control coefficient Q0, and a switching control unit 9 that performs switching control of the first switching unit 2 and the second switching units 4a, 4b, and 4c. You. The code amount calculating means 6 includes a first code amount calculating means 6a for outputting the code amount B1, and a second code amount calculating means 6 for outputting the code amount B2.
b.

【0016】次に、入力される画像を分割して、それぞ
れの分割画像の処理をパイプライン的に行う高速処理に
ついて説明する。図2は、分割画像を示す図である。分
割画像は、入力画像10を複数の走査線から構成される
帯状領域に分割したものである。各分割画像1a〜1f
・・・は、等しい走査線数となるように分割される。
Next, a description will be given of high-speed processing in which an input image is divided and processing of each divided image is performed in a pipeline manner. FIG. 2 is a diagram illustrating a divided image. The divided image is obtained by dividing the input image 10 into a band-like region composed of a plurality of scanning lines. Each divided image 1a to 1f
.. Are divided so as to have the same number of scanning lines.

【0017】図3は、4個の蓄積手段を備えた場合に、
分割画像毎に施されるパイプライン処理の流れを示す図
である。以降の説明では蓄積手段をブロックラインバッ
ファと呼ぶことにする。また、表中の括弧内の数字は符
号量算出回数である。はじめに期間Aでは、ブロックラ
インバッファ3aに対して図2の分割画像1aに相当す
る画像データが読み込まれる。続いて期間Bでは、ブロ
ックラインバッファ3aの分割画像1aに対して1回目
の予備符号化が行われ、1回目の符号量が算出される。
予備符号化については後述する。そして、これと並行し
てブロックラインバッファ3bには、分割画像1bが読
み込まれる。
FIG. 3 shows a case where four storage means are provided.
FIG. 11 is a diagram showing a flow of pipeline processing performed for each divided image. In the following description, the storage means will be referred to as a block line buffer. The number in parentheses in the table is the number of code amount calculations. First, in the period A, image data corresponding to the divided image 1a in FIG. 2 is read into the block line buffer 3a. Subsequently, in the period B, the first preliminary coding is performed on the divided image 1a of the block line buffer 3a, and the first code amount is calculated.
The preliminary coding will be described later. In parallel with this, the divided image 1b is read into the block line buffer 3b.

【0018】さらに、期間Cでは、ブロックラインバッ
ファ3aの分割画像1aに対して、2回目の予備符号化
が行われ、2回目の符号量が算出される。このときブロ
ックラインバッファ3bの分割画像1bに対して1回目
の予備符号化が行われ、ブロックラインバッファ3cに
は分割画像1cが入力される。
Further, in the period C, the second preliminary coding is performed on the divided image 1a of the block line buffer 3a, and the second code amount is calculated. At this time, the first preliminary coding is performed on the divided image 1b of the block line buffer 3b, and the divided image 1c is input to the block line buffer 3c.

【0019】期間Dでは、ブロックラインバッファ3a
の分割画像1aに対して、上述した2回目の予備符号化
の結果から推定された量子化制御係数を用いて符号化が
行われ、符号データが出力される。この時点でブロック
ラインバッファ3aに保存された分割画像1aに対する
一連の処理が終了したことになり、次の期間Eではブロ
ックラインバッファ3aに新たな分割画像が読み込まれ
ることになる。
In the period D, the block line buffer 3a
Is encoded using the quantization control coefficient estimated from the result of the second preliminary encoding described above, and encoded data is output. At this point, a series of processes on the divided image 1a stored in the block line buffer 3a is completed, and in the next period E, a new divided image is read into the block line buffer 3a.

【0020】同様の動作を継続することにより、入力さ
れた画像を分割画像単位に所定の符号量に制御して符号
化を行う。また、符号量制御に必要な一連の処理を互い
にオーバーラップさせることになるので、符号化に要す
る時間は1パスの符号化処理に要する時間とほぼ等しく
することができる。
By continuing the same operation, encoding is performed by controlling the input image to a predetermined code amount in units of divided images. Also, since a series of processes required for code amount control overlap each other, the time required for encoding can be made substantially equal to the time required for one-pass encoding process.

【0021】次に、ブロックラインバッファへの画像デ
ータ入力動作について説明する。図4は、ブロックライ
ンバッファに画像データが入力される様子を示す図であ
る。ブロックラインバッファ3は、主走査方向について
は線順次出力手段1で走査可能な最大画素数以上の容量
を持つ。また、副走査方向については1画素ブロックを
構成するのに必要なライン数を持つものとする。図では
8ラインである。
Next, the operation of inputting image data to the block line buffer will be described. FIG. 4 is a diagram illustrating a state in which image data is input to the block line buffer. The block line buffer 3 has a capacity equal to or larger than the maximum number of pixels that can be scanned by the line sequential output means 1 in the main scanning direction. In the sub-scanning direction, the number of lines required to configure one pixel block is provided. In the figure, there are eight lines.

【0022】図5は、ブロックラインバッファから画像
データが出力される様子を示す図である。ブロックライ
ンバッファ3から出力する画像データは図のようにブロ
ックスキャン順に読みだされる。そして、画素ブロック
構成手段5a、5b、5c内で画素ブロックが構成され
る。画素ブロックは8×8画素で構成される。
FIG. 5 is a diagram showing how image data is output from the block line buffer. Image data output from the block line buffer 3 is read out in the block scan order as shown in the figure. Then, a pixel block is formed in the pixel block forming means 5a, 5b, 5c. The pixel block is composed of 8 × 8 pixels.

【0023】次に、第1及び第2の切替手段の動作につ
いて説明する。図6は、第1の切替手段と第2の切替手
段の動作を示す図である。また分割画像を以降の説明で
は、ブロックラインと呼ぶ。はじめにブロックライン1
aの画像データは、線順次出力手段1によって読み込ま
れ、第1の切替手段2によって接続されているブロック
ラインバッファ3aに記憶されることを示している。
Next, the operation of the first and second switching means will be described. FIG. 6 is a diagram illustrating operations of the first switching unit and the second switching unit. Further, the divided image is referred to as a block line in the following description. Introduction Block Line 1
The image data a is read by the line-sequential output unit 1 and stored in the block line buffer 3a connected by the first switching unit 2.

【0024】続くブロックライン1bの読み込みの際に
は、第1の切替手段2の出力先はブロックラインバッフ
ァ3bに切り替えられているので、ブロックラインバッ
ファ3bに画像データが記憶される。この時、第2の切
替手段4aはブロックラインバッファ3aに接続される
ので、すでに記憶されている第1のブロックラインの画
像データの読み出し動作が、ブロックラインバッファ3
bへの書き込み動作と並列して実行できる。
When reading the subsequent block line 1b, the output destination of the first switching means 2 has been switched to the block line buffer 3b, so that the image data is stored in the block line buffer 3b. At this time, since the second switching means 4a is connected to the block line buffer 3a, the read operation of the image data of the first block line already stored is performed by the block line buffer 3a.
b can be executed in parallel with the write operation.

【0025】これ以降のブロックラインの画像データに
ついても同様に、図に示されるようにブロックライン単
位に書き込みと読み出しが並列して実行されることにな
る。また、切替制御手段9は、上記のような第1の切替
手段2と、第2の切替手段4a、4b、4cとの接続の
切り替えを制御する。
Similarly, as for the image data of the subsequent block lines, writing and reading are executed in parallel in block line units as shown in FIG. Further, the switching control means 9 controls the switching of the connection between the first switching means 2 as described above and the second switching means 4a, 4b, 4c.

【0026】以上説明したように、ブロックラインバッ
ファを切替手段で切り替えて画素ブロック構成手段で画
素ブロックを構成するパイプライン的な並列処理を行う
構成とした。
As described above, the block line buffer is switched by the switching means, and the pixel block forming means performs the pipeline-like parallel processing of forming the pixel blocks.

【0027】これにより、画像データの並列処理を実行
でき、大容量の画像に対しても、原稿全体を記憶するメ
モリを必要とせず、高速符号化処理の実行が可能とな
る。次に、予備符号化を行う符号量算出手段について説
明する。第1の符号量算出手段と第2の符号量算出手段
は、同じ構成なので符号量算出手段として説明する。図
7は、符号量算出手段の構成を示す図である。符号量算
出手段は、直交変換手段(以下DCTとする。)601
と、量子化手段603と、可変長符号化手段(以下VL
Cとする。)600と、から構成される。DCT601
は、画像データを画素ブロック毎に分割し、画素ブロッ
ク毎に直交変換を施し変換係数を求める。
Thus, parallel processing of image data can be executed, and even for a large-capacity image, high-speed encoding processing can be performed without requiring a memory for storing the entire original. Next, a description will be given of a code amount calculating means for performing pre-encoding. Since the first code amount calculating means and the second code amount calculating means have the same configuration, they will be described as code amount calculating means. FIG. 7 is a diagram showing the configuration of the code amount calculation means. The code amount calculation unit 601 is an orthogonal transformation unit (hereinafter, referred to as DCT) 601.
, Quantization means 603, and variable length coding means (hereinafter VL)
C. ) 600. DCT601
Divides image data into pixel blocks and performs orthogonal transformation on each pixel block to determine a transform coefficient.

【0028】図8は、DCT後の変換係数マトリクスの
概略を示す図である。図のように水平、垂直方向の周波
数成分に対応する8×8の要素で構成されている。最左
上に位置する直流係数601aは、DCT前の画素ブロ
ックの平均輝度値に相当する。これに対しマトリクス内
のそれ以外の要素は交流係数である。
FIG. 8 is a diagram schematically showing a transform coefficient matrix after DCT. As shown in the figure, it is composed of 8 × 8 elements corresponding to the horizontal and vertical frequency components. The DC coefficient 601a located at the upper left corresponds to the average luminance value of the pixel block before DCT. On the other hand, the other elements in the matrix are AC coefficients.

【0029】量子化手段603は、変換係数を量子化マ
トリックスで量子化し、量子化係数を求める。量子化マ
トリックスは、量子化制御係数Q1、Q2でスケーリン
グされた後、量子化テーブル602に設定される。そし
て、VLC600は、量子化係数をもとにして符号量B
1、B2を算出する。
The quantizing means 603 quantizes the transform coefficient with a quantization matrix to obtain a quantized coefficient. The quantization matrix is set in the quantization table 602 after being scaled by the quantization control coefficients Q1 and Q2. The VLC 600 calculates the code amount B based on the quantization coefficient.
1. Calculate B2.

【0030】次に、目標符号量に収束するための最適量
子化制御係数を決定するまでの原理について詳しく説明
する。量子化制御係数Qと符号量Bのそれぞれの対数
は、次式で表される1次関数を用いて近似できることが
経験則として知られている。
Next, the principle of determining the optimum quantization control coefficient for converging to the target code amount will be described in detail. It is known as an empirical rule that the logarithms of the quantization control coefficient Q and the code amount B can be approximated using a linear function represented by the following equation.

【0031】[0031]

【数1】 (Equation 1)

【0032】ここで、定数aは同一の符号化であれば、
画像によらずほぼ一定となり、定数bの値は画像によ
り、一定の分布を持つとされている。
Here, if the constant a is the same encoding,
The value of the constant b is assumed to have a constant distribution depending on the image, regardless of the image.

【0033】図9は、量子化制御係数Qと符号量Bの対
数軸での関係を示す図である。横軸に量子化制御係数の
対数をとったlogQを、縦軸に符号量Bの対数をとっ
たlogBをとってある。図からもわかるように、量子
化制御係数Qと符号量Bのそれぞれの対数の関係は1次
関数となる。よって、1つの画像Xを符号化する場合に
2種類の量子化制御係数Qでスケーリングされた量子化
マトリクスで符号化してそれぞれの符号量Bを求めるこ
とができれば、式(1)の定数a、bを求めることがで
きる。そして、a、bが求まれば指定された目標符号量
B0に収束させるための最適量子化制御係数を式(1)
から求めることができる。
FIG. 9 is a diagram showing the relationship between the quantization control coefficient Q and the code amount B on the logarithmic axis. The abscissa represents logQ of the logarithm of the quantization control coefficient, and the ordinate represents logB of the logarithm of the code amount B. As can be seen from the figure, the logarithmic relationship between the quantization control coefficient Q and the code amount B is a linear function. Therefore, when encoding one image X, if it is possible to obtain each code amount B by encoding with a quantization matrix scaled by two types of quantization control coefficients Q, the constants a, b can be obtained. Then, if a and b are obtained, the optimum quantization control coefficient for converging to the specified target code amount B0 is calculated by the equation (1).
Can be obtained from

【0034】すなわち、2つの量子化制御係数Q1、Q
2から得られた符号量がB1、B2であれば、式(1)
から、
That is, two quantization control coefficients Q1, Q
If the code amounts obtained from Equation 2 are B1 and B2, Equation (1)
From

【0035】[0035]

【数2】 (Equation 2)

【0036】[0036]

【数3】 (Equation 3)

【0037】となる。そして、式(1)のBを目標符号
量B0と置き換え、式(2)、式(3)のa、bを式
(1)に代入すれば次式のように最適量子化制御係数Q
0を求めることができる。
Is as follows. Then, by replacing B in equation (1) with the target code amount B0 and substituting a and b in equations (2) and (3) into equation (1), the optimum quantization control coefficient Q
0 can be obtained.

【0038】[0038]

【数4】 (Equation 4)

【0039】以上説明したように、本実施の形態では、
個々の分割画像に対して、少なくとも2回の予備的な符
号化を行い、量子化制御係数と発生符号量の関係を求
め、次にこの関係から指定された符号量となる最適量子
化制御係数を算出して符号化を行う。
As described above, in the present embodiment,
Preliminary encoding is performed at least twice on each of the divided images to determine the relationship between the quantization control coefficient and the generated code amount. Is calculated and encoding is performed.

【0040】また、本実施の形態では、基本的に各分割
画像を等しい符号量となるように制御することを目的と
しているが、分割画像に含まれる画像データが原稿の余
白などのもともと発生符号量の少ない領域である場合
は、最適量子化制御係数を過剰に小さくしてしまう場合
がある。このことは、発生符号量の大きな分割画像と発
生符号量の小さな分割画像が隣接している場合には、両
者に対して算出された最適量子化制御係数が大きく異な
り、これら2つの分割画像の境界が不連続になるなどの
視覚的な妨害が復号画像に発生することがある。
The present embodiment basically aims at controlling each divided image so as to have the same code amount. However, the image data included in the divided image is originally generated code such as the margin of the original. In the case of an area with a small amount, the optimal quantization control coefficient may be excessively reduced. This means that, when a divided image having a large generated code amount and a divided image having a small generated code amount are adjacent to each other, the optimum quantization control coefficients calculated for both are greatly different, and the two divided images are divided into two. Visual disturbances, such as discontinuities in boundaries, may occur in decoded images.

【0041】このため、最適量子化制御係数を制御する
範囲を上限値、下限値としてあらかじめ設定しておき、
この範囲外に最適量子化制御係数が収束した場合は、い
ずれか近い方の値を最適量子化制御係数として採用す
る。
For this reason, the range for controlling the optimal quantization control coefficient is set in advance as an upper limit and a lower limit, and
If the optimum quantization control coefficient converges outside this range, the closer one is adopted as the optimum quantization control coefficient.

【0042】次に、VLCについて詳しく説明する。図
10は、VLCの構成を示す図である。VLCは、量子
化係数のマトリクスの走査順序を変換して、直流係数と
1次元化された交流係数を出力するスキャン変換手段6
0と、直流係数を1画素ブロックの期間遅延する遅延器
61と、1画素ブロック前の直流係数と現在の画素ブロ
ックの直流係数とを減算して差分情報を出力する減算器
62と、差分情報をその大きさによって所定のグループ
に分類し、グループ番号とグループ内の数値を識別する
ための付加ビットを出力するグループ判定手段63a
と、グループ番号に対応する可変長符号語の長さを直流
係数符号表65より読み出し、付加ビットの長さと加算
して符号長情報を出力する符号長読み出し手段64a
と、入力される量子化係数が無効(値が0)であるか否
かを判定して両者を分離する無効係数判定手段66と、
無効係数の連続する長さをカウントしてその長さを出力
する零ランカウンタ67と、入力される有効係数をその
大きさによって所定のグループに分類し、グループ番号
とグループ内の数値を識別するための付加ビットを出力
するグループ判定手段63bと、無効係数の連続する長
さとそれに続く有効係数の大きさを示すグループ番号か
ら決定される可変長符号語の長さを交流係数符号表68
から読み出し、付加ビットの長さと加算して符号長情報
を出力する符号長読み出し手段64bと、符号長を累積
加算し1画像あたりの符号量Bを計算する加算器69
と、から構成される。
Next, the VLC will be described in detail. FIG. 10 is a diagram showing the configuration of the VLC. VLC converts scan order of a matrix of quantization coefficients and outputs DC coefficients and one-dimensional AC coefficients.
0, a delay unit 61 for delaying the DC coefficient by one pixel block period, a subtractor 62 for subtracting the DC coefficient of one pixel block before and the DC coefficient of the current pixel block and outputting difference information, Is classified into a predetermined group according to its size, and a group determination unit 63a that outputs an additional bit for identifying a group number and a numerical value in the group
And code length reading means 64a for reading the length of the variable length code word corresponding to the group number from the DC coefficient code table 65 and adding the length of the additional bit to output the code length information.
And invalid coefficient determining means 66 for determining whether or not the input quantized coefficient is invalid (having a value of 0) and separating the two.
A zero run counter 67 that counts the continuous length of the invalid coefficient and outputs the length, and classifies the input valid coefficient into a predetermined group according to its size, and identifies a group number and a numerical value in the group. And an AC coefficient code table 68. The group determining means 63b outputs an additional bit for calculating the length of the variable length codeword determined from the continuous length of the invalid coefficient and the group number indicating the size of the effective coefficient following the invalid coefficient.
And a code length reading means 64b for adding the length of the additional bits to output the code length information, and an adder 69 for cumulatively adding the code lengths and calculating the code amount B per image.
And

【0043】次に、VLCでの符号量Bの計算動作につ
いて説明する。はじめに、スキャン変換手段60で量子
化係数は直流係数と交流係数に分離される。図11は、
スキャン変換手段で行われるジグザグスキャンの様子を
示す図である。直流係数601aを除く交流係数は、図
のようなジグザグスキャンによって2次元の配列から1
次元の配列に変換される。
Next, the operation of calculating the code amount B in the VLC will be described. First, the scan conversion means 60 separates the quantized coefficients into DC coefficients and AC coefficients. FIG.
FIG. 4 is a diagram illustrating a state of zigzag scanning performed by a scan conversion unit. The AC coefficient excluding the DC coefficient 601a is changed from a two-dimensional array to one by a zigzag scan as shown.
Converted to a dimensional array.

【0044】以下、直流係数に対する処理について説明
する。スキャン変換手段60によって分離された直流係
数は、遅延器61に記憶される。そして、遅延器61に
記憶されていた1画素ブロック前の直流係数が出力され
る。
Hereinafter, the processing for the DC coefficient will be described. The DC coefficient separated by the scan conversion means 60 is stored in the delay unit 61. Then, the DC coefficient before one pixel block stored in the delay unit 61 is output.

【0045】減算器62は、1画素ブロック前の直流係
数と現在の直流係数との差分を計算し差分情報として出
力する。グループ判定手段63aは、入力される差分信
号が属するグループ番号(SIZE)と、差分信号がグ
ループ内のどの数値に対応するかを識別するための付加
ビットとを出力する。図12は、直流係数の差分のグル
ープ化を示す図である。例えば、入力される差分信号
(直流係数の差分63a-2)が4であれば、SIZE6
3a-1は3で、付加ビット63a-3は3である。
The subtractor 62 calculates the difference between the DC coefficient one block before and the current DC coefficient, and outputs the result as difference information. The group determination unit 63a outputs a group number (SIZE) to which the input differential signal belongs, and an additional bit for identifying which numerical value in the group the differential signal corresponds to. FIG. 12 is a diagram illustrating grouping of differences between DC coefficients. For example, if the input difference signal (DC coefficient difference 63a-2) is 4, SIZE6
3a-1 is 3, and the additional bit 63a-3 is 3.

【0046】符号長読み出し手段64aは、入力された
SIZEに対応する可変長符号語の長さを直流係数符号
表65から読み出す。図13に直流係数符号表を示す。
直流係数符号表65は、SIZE65aと、符号語65
bと、符号長65cとからなる。例えば、SIZE65
aが3ならば 符号長65cは3である。
The code length reading means 64a reads the length of the variable length code word corresponding to the input SIZE from the DC coefficient code table 65. FIG. 13 shows a DC coefficient code table.
The DC coefficient code table 65 includes a SIZE 65a and a code word 65.
b and the code length 65c. For example, SIZE65
If a is 3, the code length 65c is 3.

【0047】通常の符号化処理の場合には、SIZE
と、対応する符号語(ビットパターン)と、符号長とが
設定される必要があるが、本実施の形態では符号語は必
要ないためSIZEと符号長のみが設定されているだけ
でもよい。
In the case of a normal encoding process, SIZE
And a corresponding code word (bit pattern) and a code length need to be set, but in the present embodiment, a code word is not necessary and only SIZE and a code length may be set.

【0048】以上のようにして決定された可変長符号語
の長さと、付加ビットの長さとを加算して、1画素ブロ
ック内の直流成分の符号長を出力する。次に、交流係数
に対する処理について説明する。無効係数判定手段66
は、スキャン変換手段60から、1次元の係数列として
出力された交流係数の値が無効(0)であるか否かを判
定する。
The length of the variable-length code word determined as described above and the length of the additional bit are added to output the code length of the DC component in one pixel block. Next, the processing for the AC coefficient will be described. Invalid coefficient determination means 66
Determines whether the value of the AC coefficient output as a one-dimensional coefficient sequence from the scan conversion unit 60 is invalid (0).

【0049】零ランカウンタ67は、値が0の場合に
は、その連続する長さ(RUN)をカウントする。ま
た、値が有効(0でない)である交流係数が検出された
場合には、グループ判定手段63bに出力する。
If the value is zero, the zero run counter 67 counts its continuous length (RUN). If an AC coefficient whose value is valid (not 0) is detected, the AC coefficient is output to the group determination unit 63b.

【0050】グループ判定手段63bは、直流係数の場
合と同様にグループ番号(SIZE)と検出された有効
係数がグループ内のどの数値に対応するかを識別するた
めの付加ビットとを出力する。図14は、交流係数のグ
ループ化を示す図である。例えば、入力される交流係数
63b-2が8であれば、SIZE63b-1は4で、付加
ビット63b-3は4である。
The group determining means 63b outputs a group number (SIZE) and an additional bit for identifying which numerical value in the group the detected effective coefficient corresponds to, as in the case of the DC coefficient. FIG. 14 is a diagram illustrating grouping of AC coefficients. For example, if the input AC coefficient 63b-2 is 8, the SIZE 63b-1 is 4, and the additional bit 63b-3 is 4.

【0051】符号長読み出し手段64bは、有効係数が
検出された時点で、それまでに零ランカウンタ67で計
数された数値(RUN)と、グループ判定手段63bで
決定されたSIZEの組合せに対応した可変長符号語を
決定する。
When the effective coefficient is detected, the code length reading means 64b corresponds to the combination of the numerical value (RUN) counted by the zero run counter 67 and the SIZE determined by the group judging means 63b. Determine the variable length codeword.

【0052】図15に、交流係数符号表を示す。交流係
数符号表はRUNとSIZEの組合せ(RUN/SIZ
E)68aと、符号語68bと、符号長68cとからな
る。ただし、直流係数符号表の場合と同様に、符号語が
設定されていなくても構わない。
FIG. 15 shows an AC coefficient code table. The AC coefficient code table is a combination of RUN and SIZE (RUN / SIZ
E) Consists of 68a, codeword 68b, and code length 68c. However, as in the case of the DC coefficient code table, the code word may not be set.

【0053】図16は、RUNとSIZEから構成され
る2次元の符号表を表すものである。この符号表64c
は、図15の(RUN/SIZE)68aの組み合わせ
を形成するための表である。
FIG. 16 shows a two-dimensional code table composed of RUN and SIZE. This code table 64c
Is a table for forming a combination of (RUN / SIZE) 68a in FIG.

【0054】以上のようにして、符号長読み出し手段6
4bはRUNとSIZEの組合せに対応する可変長符号
語の長さを読み出し、付加ビット長と加算して交流係数
の符号語長を出力する。
As described above, the code length reading means 6
4b reads the length of the variable-length codeword corresponding to the combination of RUN and SIZE, adds it to the additional bit length, and outputs the codeword length of the AC coefficient.

【0055】加算器69は、符号長読み出し手段64
a,64bの出力する符号長を、画像全体にわたって累
積加算することで、画像全体の符号量Bを計算する。以
上の構成、及び動作により、画像をあらかじめ指定され
た目標符号量B0に符号化することができる。
The adder 69 comprises a code length reading means 64
The code length B of the entire image is calculated by accumulatively adding the code lengths a and 64b output over the entire image. With the above configuration and operation, the image can be encoded to the target code amount B0 specified in advance.

【0056】図17は、符号化手段の構成を示す図であ
る。符号化手段8は、DCT601bと、量子化手段6
03bと、VLC600bと、から構成される。量子化
手段603bは、変換係数を量子化マトリックスで量子
化し、量子化係数を求める。量子化マトリックスは、最
適量子化制御係数Q0でスケーリングされた後、量子化
テーブル602bに設定される。そして、VLC600
bは、量子化係数をもとにして符号データを出力する。
FIG. 17 is a diagram showing the structure of the encoding means. The encoding means 8 includes a DCT 601b and a quantization means 6
03b and the VLC 600b. The quantization means 603b quantizes the transform coefficient with a quantization matrix to obtain a quantized coefficient. After the quantization matrix is scaled by the optimal quantization control coefficient Q0, it is set in the quantization table 602b. And VLC600
b outputs coded data based on the quantized coefficients.

【0057】また、符号化手段8は、1つのブロックラ
インの符号化を開始する前に、そのブロックラインの先
頭にこれから符号化に使用する量子化マトリックス、も
しくは最適量子化制御係数を設定して、復号の際に量子
化マトリックスの変更が可能であるようにする。また、
n−1個目のブロックラインの最適量子化制御係数と、
n個目のブロックラインの最適量子化制御係数の差分で
あっても構わない。
The coding means 8 sets a quantization matrix or an optimum quantization control coefficient to be used for coding from now on at the head of the block line before starting coding of one block line. , The quantization matrix can be changed at the time of decoding. Also,
an optimal quantization control coefficient for the (n-1) th block line;
The difference between the optimum quantization control coefficients of the n-th block line may be used.

【0058】こうした量子化マトリックスの変更を指示
する情報は、JPEGにおけるマーカーコードと同様の
手法を用いて設定することが可能である。JPEGで
は、最適量子化制御係数や同期情報などの設定にマーカ
ーコードと呼ばれる制御情報が定義され符号データ中に
設定できるようになっている。
The information instructing such a change of the quantization matrix can be set by using the same method as the marker code in JPEG. In JPEG, control information called a marker code is defined for setting the optimum quantization control coefficient and the synchronization information, and can be set in the code data.

【0059】これは、符号データ中にバイト境界に整合
するようにFF(H)を挿入し、その後に0以外の値を
持つ1バイトのマーカーコードを続けるものである。符
号データとしてFFが発生した場合には、直後に00
(H)を付与することでマーカーコードと符号データを
区別することが可能である。
In this method, FF (H) is inserted into the code data so as to match a byte boundary, followed by a 1-byte marker code having a value other than 0. If FF is generated as code data, 00
By adding (H), it is possible to distinguish the marker code from the code data.

【0060】本実施の形態では、JPEGの未定義のマ
ーカーコードを用いて、量子化マトリックスの変更を指
示するものとする。また、JPEGのマーカーコードに
は、データの開始、終了を示すもののようにマーカーコ
ード単独で使用されるものの他に、可変長のフィールド
を持つものもある。本実施の形態に使用するマーカーコ
ードは、量子化マトリックスの変更内容を設定するため
の可変長のフィールドを備えたものとする。
In this embodiment, it is assumed that the quantization matrix is changed by using an undefined marker code of JPEG. In addition, some JPEG marker codes have variable-length fields in addition to those used alone, such as those indicating the start and end of data. It is assumed that the marker code used in the present embodiment has a variable-length field for setting the content of change of the quantization matrix.

【0061】さらに、量子化マトリックスの変更を指示
する情報をバイト境界に整合するように設定するため、
符号化手段8は各ブロックラインがバイト境界で終わる
ように符号データの出力後にフィルビットを付加する。
これにより、量子化マトリックスの変更を指示する情報
の検出が容易になるだけでなく、符号データ中から特定
のブロックラインに対応する符号データの抜き出しが可
能である。
Further, in order to set the information instructing the change of the quantization matrix so as to match the byte boundary,
The encoding means 8 adds a fill bit after outputting the encoded data so that each block line ends at a byte boundary.
This not only facilitates the detection of information instructing the change of the quantization matrix, but also allows extraction of code data corresponding to a specific block line from the code data.

【0062】次に、パイプライン動作が破綻しないため
の処理について説明する。一般にスキャナ等による原稿
の入力動作は等速度で実行されるため、分割画像の入力
処理に要する時間は一定と考えることができる。また、
最終的な符号化処理についても、符号量制御をすること
によって処理時間をほぼ一定にすることができる。した
がって、制御目標となる圧縮率の設定などにより、画像
の入力処理に要する時間以内に制御できる。
Next, processing for preventing the pipeline operation from being broken will be described. Generally, the input operation of a document by a scanner or the like is performed at a constant speed, so that the time required for the input processing of the divided image can be considered to be constant. Also,
The processing time of the final encoding process can be made substantially constant by controlling the code amount. Therefore, control can be performed within the time required for image input processing by setting a compression ratio as a control target.

【0063】これに対し、予備符号化処理は、分割画像
の原稿特性が未知であるまま符号化処理を行うので、所
定の時間内にすべての処理が終了しない場合がある。こ
のような場合には、ブロックラインバッファ内のすべて
の画像データに対して予備符号化を行わず、部分的な領
域を予備符号化の対象とする。部分的な領域としては、
奇数番目または偶数番目といった画素ブロックのみとし
てもよいし、情報量の少ない原稿余白部を除く意味で、
ブロックラインバッファの中央部分の画素ブロックを用
いてもよい。
On the other hand, in the pre-encoding process, since the encoding process is performed while the original characteristics of the divided image are unknown, all the processes may not be completed within a predetermined time. In such a case, the preliminary coding is not performed on all the image data in the block line buffer, and a partial area is to be subjected to the preliminary coding. As a partial area,
Odd-numbered or even-numbered pixel blocks may be used alone, or in the sense that a document margin portion with a small amount of information is excluded,
The pixel block at the center of the block line buffer may be used.

【0064】また、線順次出力手段での処理の終了を符
号量算出手段に通知することで、予備符号化処理を強制
的に終了させ、その時点で予備符号化処理の完了してい
るブロック数と符号量から、ブロックライン全体の符号
量を推定してもよい。
Also, by notifying the end of processing by the line sequential output means to the code amount calculating means, the pre-encoding processing is forcibly ended, and the number of blocks for which the pre-encoding processing has been completed at that time The code amount of the entire block line may be estimated from the code amount and the code amount.

【0065】次に、本発明の第2の実施の形態について
説明する。図18は、第2の実施の形態の符号化装置の
構成ブロック図である。符号化装置は、走査線順次に画
像データを出力する線順次出力手段1と、画像データの
出力先を切り替える第1の切替手段2aと、画像データ
を複数ライン分蓄積する蓄積手段3a、3b、3cと、
蓄積手段からの出力を切り替える第2の切替手段4c、
4dと、画素ブロックを構成する画素ブロック構成手段
5a、5bと、符号量B1と符号量B2とを出力する近
似符号量算出手段6cと、最適量子化制御係数Q0を算
出する最適量子化制御係数算出手段7と、最適量子化制
御係数Q0で画像データを符号化する符号化手段8と、
第1の切替手段2a及び第2の切替手段4c、4dの切
替え制御を行う切替制御手段9aと、から構成される。
Next, a second embodiment of the present invention will be described. FIG. 18 is a configuration block diagram of an encoding device according to the second embodiment. The encoding apparatus includes a line sequential output unit 1 for outputting image data in a scanning line sequence, a first switching unit 2a for switching an output destination of image data, and storage units 3a, 3b for storing image data for a plurality of lines. 3c,
A second switching unit 4c for switching the output from the storage unit,
4d, pixel block forming means 5a and 5b constituting a pixel block, approximate code amount calculating means 6c for outputting code amount B1 and code amount B2, and optimal quantization control coefficient for calculating optimal quantization control coefficient Q0. Calculating means 7, coding means 8 for coding the image data with the optimal quantization control coefficient Q0,
A switching control unit 9a for performing switching control of the first switching unit 2a and the second switching units 4c and 4d.

【0066】次に、近似量子化係数について説明する。
静止画像符号化の国際標準方式であるJPEGのベース
ラインシステムと呼ばれる必須方式は、直交変換符号化
を用いる方式である。JPEGでの量子化処理は、次式
で表される。
Next, the approximate quantization coefficient will be described.
An essential system called a baseline system of JPEG which is an international standard system of still image coding is a system using orthogonal transform coding. The quantization process in JPEG is represented by the following equation.

【0067】[0067]

【数5】 (Equation 5)

【0068】[0068]

【数6】 (Equation 6)

【0069】ここで、F1 (i,j)は量子化係数、F
(i,j)は変換係数、Q(i,j)は量子化マトリク
スを表す。i、jは、個々のマトリクス内の要素の位置
に対応する。また、〔 〕は整数化を表す演算子であ
る。
Here, F 1 (i, j) is a quantization coefficient,
(I, j) represents a transform coefficient, and Q (i, j) represents a quantization matrix. i and j correspond to the positions of the elements in the individual matrices. [] Is an operator representing integer conversion.

【0070】量子化制御係数Q=2でスケーリングされ
た量子化マトリクスで変換係数の量子化を行って得られ
た量子化係数F2(i,j)と、量子化制御係数Q=1
でスケーリングされた所定の量子化マトリクスで変換係
数を量子化して得られた量子化係数を1/2(1ビット
右シフト)して得られた近似量子化係数F2-1(i,
j)との関係は近似的に次式で表すことができる。
A quantization coefficient F2 (i, j) obtained by quantizing a transform coefficient with a quantization matrix scaled by a quantization control coefficient Q = 2, and a quantization control coefficient Q = 1
Approximate quantized coefficient F2-1 (i, i) obtained by quantizing the transform coefficient by a predetermined quantization matrix scaled by
The relationship with j) can be approximately expressed by the following equation.

【0071】[0071]

【数7】 (Equation 7)

【0072】ここで、≫は右方向、≪は左方向へのビッ
トシフト演算を表すものし、両辺の差は、丸め処理(四
捨五入)に起因する。
Here, ≫ indicates a bit shift operation in the right direction and ≪ indicates a bit shift operation in the left direction, and the difference between both sides is due to rounding (rounding).

【0073】したがって、近似量子化係数F2-1(i,
j)を符号化した際の符号量は、量子化係数F2(i,
j)を符号化した際の符号量と近似的に等しいとみなす
ことができる。
Therefore, the approximate quantization coefficient F2-1 (i,
j) is coded by a quantization coefficient F2 (i,
j) can be considered to be approximately equal to the code amount at the time of encoding.

【0074】このように、量子化マトリクスから得られ
る量子化係数にNビットの右シフト処理を施して求めら
れる符号量と、同じ量子化マトリクスを2N でスケーリ
ングしたときに得られる符号量とが、量子化の丸め処理
に起因する誤差の範囲で近似できることを利用して、第
2の実施の形態では最適量子化制御係数を求めることに
なる。
As described above, the code amount obtained by performing an N-bit right shift process on the quantization coefficient obtained from the quantization matrix and the code amount obtained when the same quantization matrix is scaled by 2 N are obtained. In the second embodiment, the optimum quantization control coefficient is obtained by utilizing the fact that the error can be approximated within the range of the error caused by the rounding processing of the quantization.

【0075】以上説明したように、第2の実施の形態の
符号化装置は、基本マトリクス(量子化制御係数Q=
1)から得られた符号量B1と、量子化制御係数Q=2
に対応する近似量子化係数から得られた符号量B2と、
を用い、上述した式(2)、式(3)から定数a、bを
求める。さらに、定数a、bと目標符号量B0を式
(4)に代入して、最適量子化制御係数Q0を決定す
る。よって、複数の符号化部で並列に符号化することな
く最適量子化制御係数を決定できるため、装置規模の縮
小を実現する。
As described above, the encoding apparatus according to the second embodiment uses the basic matrix (quantization control coefficient Q =
The code amount B1 obtained from 1) and the quantization control coefficient Q = 2
Code amount B2 obtained from the approximate quantized coefficient corresponding to
Are used to determine the constants a and b from the above equations (2) and (3). Further, the optimum quantization control coefficient Q0 is determined by substituting the constants a and b and the target code amount B0 into the equation (4). Therefore, the optimal quantization control coefficient can be determined without performing encoding in parallel by a plurality of encoding units, so that the device scale can be reduced.

【0076】なお、上記の説明では、近似量子化係数を
量子化係数を右へ1ビットシフトして得られるものとし
て説明してきたが、Nビットのシフト処理(ただし、N
は整数であり、右方向シフトを正、左方向を負とする)
としても構わない。そして、Nビットのシフト処理の場
合は、量子化制御係数Q=2N でスケーリングした量子
化係数に該当する。
In the above description, the approximate quantized coefficient is obtained by shifting the quantized coefficient to the right by one bit. However, the N-bit shift processing (where N
Is an integer, right shift is positive and left shift is negative)
It does not matter. In the case of N-bit shift processing, this corresponds to a quantization coefficient scaled by a quantization control coefficient Q = 2N .

【0077】次に、近似符号量算出手段の構成について
説明する。図19は、近似符号量算出手段の構成を示す
図である。近似符号量算出手段は、DCT601と、量
子化手段603と、近似量子化係数算出手段604と、
VLC600、600aとから構成される。量子化手段
603は、変換係数を量子化マトリックスで量子化し、
量子化係数を求める。量子化マトリックスは、量子化制
御係数Q1でスケーリングされた後、量子化テーブル6
02に設定される。また、近似量子化係数算出手段60
4は、量子化手段603が出力する量子化係数にシフト
処理を行って近似量子化係数を算出する。
Next, the configuration of the approximate code amount calculating means will be described. FIG. 19 is a diagram showing the configuration of the approximate code amount calculation means. The approximate code amount calculation means includes a DCT 601, a quantization means 603, an approximate quantization coefficient calculation means 604,
VLCs 600 and 600a. The quantization means 603 quantizes the transform coefficient with a quantization matrix,
Find the quantization coefficient. After the quantization matrix is scaled by the quantization control coefficient Q1, the quantization table 6
02 is set. Also, the approximate quantization coefficient calculation means 60
Reference numeral 4 calculates an approximate quantized coefficient by performing a shift process on the quantized coefficient output from the quantizing means 603.

【0078】以上説明したように、第2の実施の形態で
は、第1の実施の形態と比べて4個必要であったブロッ
クラインバッファを3個に、3個必要であった第2の切
替手段を2個に削減することが可能であるため、装置構
成を簡略化できる。
As described above, in the second embodiment, four block line buffers are required in comparison with the first embodiment, and three second block line buffers are required in the second embodiment. Since the number of means can be reduced to two, the device configuration can be simplified.

【0079】また、第2の実施の形態においても、符号
化部で符号化の繰り返しをする必要がなく、演算量、処
理時間の減少が可能になる。
Further, also in the second embodiment, it is not necessary to repeat the coding in the coding unit, and the amount of calculation and the processing time can be reduced.

【0080】[0080]

【発明の効果】以上説明したように、本発明の符号化装
置は、ブロックラインバッファを一定の順序で切り替え
て、予備符号化と最適量子化制御係数での符号化とを並
列処理で行う構成とした。これにより、大容量の画像に
対しても原稿全体を記憶する大容量メモリを必要としな
い。
As described above, the coding apparatus of the present invention switches the block line buffer in a fixed order, and performs the preliminary coding and the coding with the optimum quantization control coefficient in parallel processing. And This eliminates the need for a large-capacity memory for storing the entire document even for large-capacity images.

【0081】また、本発明の符号化装置は、1つの符号
化部で複数の量子化制御係数に対応する符号量を算出す
る構成とした。これにより、目標の符号量に収束する最
適量子化制御係数を少ない演算量で計算でき、処理時間
が短くなる。
Further, the coding apparatus of the present invention has a configuration in which one coding unit calculates a code amount corresponding to a plurality of quantization control coefficients. Thereby, the optimal quantization control coefficient converging to the target code amount can be calculated with a small amount of calculation, and the processing time is shortened.

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

【図1】本発明の符号化装置の構成ブロック図である。FIG. 1 is a configuration block diagram of an encoding device according to the present invention.

【図2】分割画像を示す図である。FIG. 2 is a diagram showing a divided image.

【図3】4個の蓄積手段を備えた場合に、分割画像毎に
施されるパイプライン処理の流れを示す図である。
FIG. 3 is a diagram showing a flow of pipeline processing performed for each divided image when four storage units are provided.

【図4】ブロックラインバッファに画像データが入力さ
れる様子を示す図である。
FIG. 4 is a diagram illustrating a state in which image data is input to a block line buffer.

【図5】ブロックラインバッファから画像データが出力
される様子を示す図である。
FIG. 5 is a diagram illustrating a state in which image data is output from a block line buffer.

【図6】第1の切替手段と第2の切替手段の動作を示す
図である。
FIG. 6 is a diagram illustrating operations of a first switching unit and a second switching unit.

【図7】符号量算出手段の構成を示す図である。FIG. 7 is a diagram illustrating a configuration of a code amount calculation unit.

【図8】DCT後の変換係数マトリクスの概略を示す図
である。
FIG. 8 is a diagram schematically illustrating a transform coefficient matrix after DCT.

【図9】量子化制御係数Qと符号量Bの対数軸での関係
を示す図である。
FIG. 9 is a diagram showing a relationship between a quantization control coefficient Q and a code amount B on a logarithmic axis.

【図10】VLCの構成を示す図である。FIG. 10 is a diagram showing a configuration of a VLC.

【図11】スキャン変換手段で行われるジグザグスキャ
ンの様子を示す図である。
FIG. 11 is a diagram showing a state of zigzag scanning performed by a scan conversion unit.

【図12】直流係数の差分のグループ化を示す図であ
る。
FIG. 12 is a diagram illustrating grouping of differences between DC coefficients.

【図13】直流係数符号表を示す。FIG. 13 shows a DC coefficient code table.

【図14】交流係数のグループ化を示す図である。FIG. 14 is a diagram showing grouping of AC coefficients.

【図15】交流係数符号表を示す。FIG. 15 shows an AC coefficient code table.

【図16】RUNとSIZEから構成される2次元の符
号表を表すものである。
FIG. 16 illustrates a two-dimensional code table including RUN and SIZE.

【図17】符号化手段の構成を示す図である。FIG. 17 is a diagram illustrating a configuration of an encoding unit.

【図18】第2の実施の形態の符号化装置の構成ブロッ
ク図である。
FIG. 18 is a block diagram illustrating a configuration of an encoding device according to a second embodiment.

【図19】近似符号量算出手段の構成を示す図である。FIG. 19 is a diagram showing a configuration of an approximate code amount calculation unit.

【図20】従来技術の構成を示す図である。FIG. 20 is a diagram showing a configuration of a conventional technique.

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

1 線順次出力手段 2 第1の切替手段 3a、3b、3c、3d 蓄積手段 4a、4b、4c 第2の切替手段 5a、5b、5c 画素ブロック構成手段 6 符号量算出手段 6a 第1の符号量算出手段 6b 第2の符号量算出手段 7 最適量子化制御係数算出手段 8 符号化手段 9 切替制御手段 1 line-sequential output means 2 first switching means 3a, 3b, 3c, 3d storage means 4a, 4b, 4c second switching means 5a, 5b, 5c pixel block construction means 6 code amount calculation means 6a first code amount Calculation means 6b Second code amount calculation means 7 Optimum quantization control coefficient calculation means 8 Encoding means 9 Switching control means

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 画像データを符号化する符号化装置にお
いて、 走査線順次に画像データを出力する線順次出力手段と、 前記画像データを一定の走査線順次毎に分割して出力先
を切り替える第1の切替手段と、 走査線順次毎に分割された前記画像データを蓄積する蓄
積手段と、 前記蓄積手段から一定の順序で画素を読みだして画素ブ
ロックを構成する画素ブロック構成手段と、 前記蓄積手段と前記画素ブロック構成手段との接続を一
定の順序で切り替える第2の切替手段と、 前記第1及び第2の切替手段の切替制御を行う切替制御
手段と、 前記画素ブロックを符号化して少なくとも2つの量子化
制御係数で定まる量子化特性で量子化して量子化係数を
求め、前記量子化係数から符号量を算出する符号量算出
手段と、 前記符号量をもとに目標符号量に収束するような最適量
子化制御係数を算出する最適量子化制御係数算出手段
と、 前記最適量子化制御係数を用いて前記画素ブロックを符
号化する符号化手段と、 を有することを特徴とする符号化装置。
1. An encoding apparatus for encoding image data, comprising: line-sequential output means for outputting image data in a scanning line sequence; and switching the output destination by dividing the image data for each predetermined scanning line sequence. 1 switching means, accumulation means for accumulating the image data divided for each scanning line in sequence, pixel block construction means for reading out pixels in a predetermined order from the accumulation means to constitute a pixel block, A second switching unit for switching a connection between the unit and the pixel block forming unit in a predetermined order; a switching control unit for performing switching control of the first and second switching units; Code amount calculating means for quantizing with a quantization characteristic determined by two quantization control coefficients to obtain a quantized coefficient, and calculating a code amount from the quantized coefficient; An optimal quantization control coefficient calculating unit that calculates an optimal quantization control coefficient that converges to a signal amount, and an encoding unit that encodes the pixel block using the optimal quantization control coefficient. Encoding device.
【請求項2】 前記蓄積手段は、前記画像データを少な
くとも8走査線分蓄積することを特徴とする請求項1記
載の符号化装置。
2. The encoding apparatus according to claim 1, wherein said storage means stores the image data for at least eight scanning lines.
【請求項3】 前記最適量子化制御係数算出手段は、前
記最適量子化制御係数の上限値と下限値とを設定し、前
記最適量子化制御係数が前記上限値と前記下限値との範
囲外の値に収束した場合は、前記上限値あるいは前記下
限値のいずれか近い方を出力することを特徴とする請求
項1記載の符号化装置。
3. The optimum quantization control coefficient calculation means sets an upper limit value and a lower limit value of the optimum quantization control coefficient, and sets the optimum quantization control coefficient out of a range between the upper limit value and the lower limit value. 2. The encoding apparatus according to claim 1, wherein, when the value converges to the value, the smaller one of the upper limit value and the lower limit value is output.
【請求項4】 前記符号化手段は、前記画像データを符
号化する際に、前記画像データを一定の走査線順次毎に
分割して符号化して得られる符号データの先頭に量子化
特性を示す情報を付与することを特徴とする請求項1記
載の符号化装置。
4. The encoding means, when encoding the image data, indicates a quantization characteristic at the top of code data obtained by dividing and encoding the image data for each predetermined scanning line sequence. The encoding device according to claim 1, wherein information is added.
【請求項5】 前記符号化手段は、前記画像データを符
号化した符号データの終了がバイト境界となるようにフ
ィルビットを付与することを特徴とする請求項1記載の
符号化装置。
5. The encoding apparatus according to claim 1, wherein said encoding means assigns a fill bit so that the end of the encoded data obtained by encoding the image data is a byte boundary.
【請求項6】 前記符号量算出手段は、前記画素ブロッ
ク毎に直交変換を施して変換係数を求める直交変換手段
と、前記変換係数を第1の量子化制御係数で定まる量子
化特性で量子化して前記量子化係数を求める第1の量子
化手段と、前記量子化係数に可変長符号化を施して前記
第1の符号量を算出する第1の可変長符号化手段と、か
らなる第1の符号量算出手段と、前記直交変換手段と、
前記変換係数を第2の量子化制御係数で定まる量子化特
性で量子化して前記量子化係数を求める第2の量子化手
段と、前記量子化係数に前記可変長符号化を施して前記
第2の符号量を算出する第2の可変長符号化手段と、か
らなる第2の符号量算出手段と、から構成されることを
特徴とする請求項1記載の符号化装置。
6. The code amount calculation unit performs orthogonal transformation for each of the pixel blocks to obtain a transformation coefficient, and quantizes the transformation coefficient with a quantization characteristic determined by a first quantization control coefficient. First quantizing means for obtaining the quantized coefficient by a first variable length coding means, and first variable length coding means for performing a variable length coding on the quantized coefficient to calculate the first code amount. Code amount calculating means, the orthogonal transform means,
A second quantization unit that quantizes the transform coefficient with a quantization characteristic determined by a second quantization control coefficient to obtain the quantized coefficient, and performs the variable length coding on the quantized coefficient to obtain the second quantized coefficient. 2. The encoding apparatus according to claim 1, further comprising: a second variable-length encoding unit configured to calculate a code amount of the second variable length encoding unit;
【請求項7】 前記第1及び第2の符号量算出手段は、
同一の可変長符号表を用いて前記第1及び第2の符号量
を算出することを特徴とする請求項6記載の符号化装
置。
7. The first and second code amount calculating means,
The encoding device according to claim 6, wherein the first and second code amounts are calculated using the same variable length code table.
【請求項8】 前記直交変換手段は、離散コサイン変換
であることを特徴とする請求項6記載の符号化装置。
8. The encoding apparatus according to claim 6, wherein said orthogonal transform means is a discrete cosine transform.
【請求項9】 前記最適量子化制御係数算出手段は、前
記第1及び第2の量子化制御係数と前記第1及び第2の
符号量との対数をとったパラメータからなる1次関数に
よって、前記最適量子化制御係数を決定することを特徴
とする請求項6記載の符号化装置。
9. The optimal quantization control coefficient calculation means calculates a logarithm of the first and second quantization control coefficients and the first and second code amounts using a linear function including 7. The encoding apparatus according to claim 6, wherein the optimal quantization control coefficient is determined.
【請求項10】 前記符号量算出手段は、前記直交変換
手段と、前記第1の量子化手段と、前記第1の可変長符
号化手段と、前記第2の量子化制御係数で定まる量子化
特性で、前記変換係数の量子化を行って得られる量子化
係数と近似的に等しくなる近似量子化係数を算出する近
似量子化係数算出手段と、前記近似量子化係数に前記可
変長符号化を施して第2の符号量を算出する可変長符号
化算出手段と、から構成されることを特徴とする請求項
1記載の符号化装置。
10. The code amount calculation unit includes a quantization unit that is determined by the orthogonal transformation unit, the first quantization unit, the first variable length coding unit, and the second quantization control coefficient. Characteristics, an approximate quantized coefficient calculating means for calculating an approximate quantized coefficient approximately equal to a quantized coefficient obtained by quantizing the transform coefficient, and applying the variable length coding to the approximate quantized coefficient. 2. A coding apparatus according to claim 1, further comprising a variable-length coding calculating means for calculating a second code amount by performing the calculation.
【請求項11】 前記近似量子化係数算出手段は、前記
第2の量子化制御係数を2N とし、前記第1の量子化制
御係数で定まる量子化特性で量子化して得られた前記量
子化係数にNビットのシフト処理を行って前記近似量子
化係数を算出することを特徴とする請求項10記載の符
号化装置。
11. The approximate quantization coefficient calculation means sets the second quantization control coefficient to 2 N and quantizes the quantization by a quantization characteristic determined by the first quantization control coefficient. The encoding apparatus according to claim 10, wherein the approximate quantization coefficient is calculated by performing an N-bit shift process on the coefficient.
【請求項12】 前記直交変換手段は、離散コサイン変
換であることを特徴とする請求項10記載の符号化装
置。
12. The encoding apparatus according to claim 10, wherein said orthogonal transform means is a discrete cosine transform.
【請求項13】 前記最適量子化制御係数算出手段は、
前記第1の量子化制御係数及び前記近似量子化係数と、
前記第1及び第2の符号量との対数をとったパラメータ
からなる1次関数によって、前記最適量子化制御係数を
決定することを特徴とする請求項10記載の符号化装
置。
13. The optimal quantization control coefficient calculating means,
The first quantization control coefficient and the approximate quantization coefficient,
11. The encoding apparatus according to claim 10, wherein the optimal quantization control coefficient is determined by a linear function including a parameter having a logarithm of the first and second code amounts.
JP17320396A 1996-07-03 1996-07-03 Encoding device Pending JPH1023413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17320396A JPH1023413A (en) 1996-07-03 1996-07-03 Encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17320396A JPH1023413A (en) 1996-07-03 1996-07-03 Encoding device

Publications (1)

Publication Number Publication Date
JPH1023413A true JPH1023413A (en) 1998-01-23

Family

ID=15956031

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17320396A Pending JPH1023413A (en) 1996-07-03 1996-07-03 Encoding device

Country Status (1)

Country Link
JP (1) JPH1023413A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003085957A1 (en) * 2002-04-05 2003-10-16 Matsushita Electric Industrial Co., Ltd. Code amount control device and code amount control method
WO2004082260A1 (en) * 2003-03-13 2004-09-23 Mitsubishi Denki Kabushiki Kaisha Jpeg-compressed file creating method
JP2005252752A (en) * 2004-03-05 2005-09-15 Nippon Telegr & Teleph Corp <Ntt> Device, method, and program for encoding moving image, and computer readable recording medium with program recorded thereon
WO2008026545A1 (en) * 2006-08-28 2008-03-06 Panasonic Corporation Moving image encoding system, switching apparatus and video encoder
JP2009510845A (en) * 2005-09-22 2009-03-12 クゥアルコム・インコーポレイテッド Multidimensional neighborhood block prediction for video encoding
WO2009157580A1 (en) * 2008-06-27 2009-12-30 ソニー株式会社 Image processing device and image processing method
JP2011109573A (en) * 2009-11-20 2011-06-02 Nikon Corp Image compression device, and electronic camera
US8270744B2 (en) 2008-06-27 2012-09-18 Sony Corporation Image processing apparatus and image processing method
US8374451B2 (en) 2008-06-27 2013-02-12 Sony Corporation Image processing device and image processing method for reducing the circuit scale
US8509556B2 (en) 2007-09-12 2013-08-13 Sony Corporation Image coding apparatus and image coding method to generate a targeted amount of code
US8731052B2 (en) 2008-06-27 2014-05-20 Sony Corporation Image processing device and image processing method with feedback control

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003085957A1 (en) * 2002-04-05 2003-10-16 Matsushita Electric Industrial Co., Ltd. Code amount control device and code amount control method
WO2004082260A1 (en) * 2003-03-13 2004-09-23 Mitsubishi Denki Kabushiki Kaisha Jpeg-compressed file creating method
CN100391229C (en) * 2003-03-13 2008-05-28 三菱电机株式会社 JPEG-compressed file creating method,its device and image processor
US7599564B2 (en) 2003-03-13 2009-10-06 Mitsubishi Electric Corporation Jpeg-compressed file creating method
JP2005252752A (en) * 2004-03-05 2005-09-15 Nippon Telegr & Teleph Corp <Ntt> Device, method, and program for encoding moving image, and computer readable recording medium with program recorded thereon
US8761259B2 (en) 2005-09-22 2014-06-24 Qualcomm Incorporated Multi-dimensional neighboring block prediction for video encoding
JP2009510845A (en) * 2005-09-22 2009-03-12 クゥアルコム・インコーポレイテッド Multidimensional neighborhood block prediction for video encoding
WO2008026545A1 (en) * 2006-08-28 2008-03-06 Panasonic Corporation Moving image encoding system, switching apparatus and video encoder
US8509556B2 (en) 2007-09-12 2013-08-13 Sony Corporation Image coding apparatus and image coding method to generate a targeted amount of code
US8270745B2 (en) 2008-06-27 2012-09-18 Sony Corporation Image processing device and image processing method
US8270744B2 (en) 2008-06-27 2012-09-18 Sony Corporation Image processing apparatus and image processing method
US8374451B2 (en) 2008-06-27 2013-02-12 Sony Corporation Image processing device and image processing method for reducing the circuit scale
US8731052B2 (en) 2008-06-27 2014-05-20 Sony Corporation Image processing device and image processing method with feedback control
WO2009157580A1 (en) * 2008-06-27 2009-12-30 ソニー株式会社 Image processing device and image processing method
JP2011109573A (en) * 2009-11-20 2011-06-02 Nikon Corp Image compression device, and electronic camera

Similar Documents

Publication Publication Date Title
EP0763925B1 (en) Image encoding optimising the amount of generated code
EP1271926B1 (en) Image processing method, apparatus and computer program for compression-encoding
JP6626295B2 (en) Image encoding device, image processing device, image encoding method
JPWO2008111511A1 (en) Code amount estimation method, apparatus, program thereof, and recording medium
JP2921358B2 (en) Image coding device
JPH08116447A (en) Coder for image signal
JP4442891B2 (en) Variable length coding apparatus and variable length coding method
JPH10243399A (en) Code amount controller and moving image encoder provided with the same
JP4101034B2 (en) Encoding apparatus and method
JPH1023413A (en) Encoding device
JP2001045301A (en) Image processor
JPH07123269A (en) Corder for picture signal
JP2009021775A (en) Coder and coding method
JP4117044B2 (en) Quantizer in video signal coding system
EP0283798A2 (en) Compression and decompression of column-interlaced, row-interlaced graylevel digital images
US20090304073A1 (en) Systems and Methods for the Bandwidth Efficient Processing of Data
JPH06153172A (en) Code quantity control system
JP5086777B2 (en) Image encoding apparatus, control method therefor, computer program, and computer-readable storage medium
JP3205028B2 (en) Image compression apparatus and method
JP2020092327A (en) Image encoding device, image encoding method, and program
JPH06152984A (en) Picture processor
JPH1098620A (en) Picture processor
JP3967453B2 (en) Image encoding method and image encoding apparatus
JP2004328406A (en) Code amount controlling method and coder
JPH1023412A (en) Encoding device and its method