JP2002232721A - Image coding apparatus and its method, and storage medium - Google Patents

Image coding apparatus and its method, and storage medium

Info

Publication number
JP2002232721A
JP2002232721A JP2001024445A JP2001024445A JP2002232721A JP 2002232721 A JP2002232721 A JP 2002232721A JP 2001024445 A JP2001024445 A JP 2001024445A JP 2001024445 A JP2001024445 A JP 2001024445A JP 2002232721 A JP2002232721 A JP 2002232721A
Authority
JP
Japan
Prior art keywords
image
code amount
quantization parameter
area
estimating
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.)
Withdrawn
Application number
JP2001024445A
Other languages
Japanese (ja)
Inventor
Hideshi Osawa
秀史 大澤
Naoki Ito
直樹 伊藤
Shinichi Kato
進一 加藤
Kenichi Ota
健一 太田
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
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2001024445A priority Critical patent/JP2002232721A/en
Publication of JP2002232721A publication Critical patent/JP2002232721A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce a coding amount that are generated when coding an image that includes regions coded by different compression rates to below a predetermined amount, and to perform the coding considering the image quality. SOLUTION: A coding amount B (1) that are generated in a time coding is obtained (S1001). Then, assuming a=-2/3 an approximate expression representing a relationship between the coding amount and a quantization parameter is determined (S1002). A target value is then substituted in the approximate expression to obtain a quantization parameter at that time for use in the second time coding (S1003). When the coding amount does not reach the target value even at the second time coding (S1000), a coding amount B (2) at that time and B (1) are substituted in the approximate expression to determine an approximate expression (S1005). The target value is substituted in the approximate expression to recalculate the value of the quantization parameter (S1006) for another execution of quantization and coding using the recalculated quantization parameter.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、異なる圧縮率で符
号化する領域を含む画像に対して符号化を行い、特に、
符号量を制御する画像符号化装置及びその方法並びに記
憶媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention encodes an image including regions to be encoded at different compression ratios,
The present invention relates to an image encoding device and a method for controlling a code amount, and a storage medium.

【0002】[0002]

【従来の技術】従来のカラー静止画像の圧縮方式には、
離散コサイン変換を利用したJPEG方式や、Wavelet変換
を利用した方式などが使われている。この種の符号化方
式は、基本的には画像全体を均一処理するようにしてい
るので、画像部分領域毎に符号化方式を変更する場合は
別途、領域を識別する像域フラグ情報が必要となる。
2. Description of the Related Art Conventional color still image compression methods include:
The JPEG method using discrete cosine transform and the method using Wavelet transform are used. This type of encoding method basically performs uniform processing on the entire image. Therefore, when the encoding method is changed for each image partial area, image area flag information for identifying the area is required separately. Become.

【0003】画像圧縮において画像領域を分ける目的と
しては、以下の処理の為である。
The purpose of dividing image areas in image compression is to perform the following processing.

【0004】(1) 文字領域と写真領域を領域分割
し、画質劣化が比較的目立ちにくい写真領域の量子化ス
テップを粗くする。
(1) The character area and the photographic area are divided into areas, and the quantization step of the photographic area where image quality degradation is relatively inconspicuous is coarsened.

【0005】画質劣化が比較的目立ちやす文字領域の量
子化を細かくする。
[0005] The quantization of a character area where image quality deterioration is relatively conspicuous is made fine.

【0006】(2) 自然画像部とコンピュータグラフ
ィックス部を領域分割し、画質劣化が比較的目立ちにく
い自然画像領域の量子化ステップを粗くする。
(2) The natural image part and the computer graphics part are divided into regions, and the quantization step of the natural image region where image quality deterioration is relatively inconspicuous is coarsened.

【0007】画質劣化が比較的目立ちやすいコンピュー
タグラフィックス領域の量子化を細かくする。
[0007] The quantization of a computer graphics area where image quality degradation is relatively conspicuous is made finer.

【0008】このように符号化処理を切り替えることに
より、より少ない符号量で画質を向上させることができ
る。
By switching the encoding process in this way, the image quality can be improved with a smaller code amount.

【0009】また従来の技術では、発生符号量が予定し
た符号量をオーバーした場合に再度原稿を読み直し、DC
T係数の量子化パラメータを変更して再圧縮する方式が
とられていた。
In the conventional technique, when the generated code amount exceeds a predetermined code amount, the original is read again and the DC is read.
A method of changing the quantization parameter of the T coefficient and performing recompression has been employed.

【0010】[0010]

【発明が解決しようとする課題】しかし発生符号量が予
定した符号量をオーバーした場合に行われた上述の処理
は全画像領域に対するものであり、全符号量からの推測
であったので、画像を領域(例えば高圧縮領域と低圧縮
領域)に分割した場合、領域毎に変更した符号化には対
応できなかった。特に、上述のように2つの領域を符号
量と画質のバランスに関しては、何も考慮されていなか
った。
However, the above-described processing performed when the generated code amount exceeds a predetermined code amount is for the entire image area, and is estimated from the entire code amount. Was divided into regions (for example, a high compression region and a low compression region), it was not possible to cope with encoding changed for each region. In particular, no consideration was given to the balance between the code amount and the image quality of the two regions as described above.

【0011】本発明は上述の問題に鑑みてなされたもの
であり、異なる圧縮率で符号化する領域を含む画像に対
して符号化を行う際、発生する符号量を所定の量以下に
することを目的とする。また、この符号化の際に、画質
を考慮して符号化を行うことを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and it is an object of the present invention to reduce the amount of generated code to a predetermined amount or less when coding images including regions to be coded at different compression rates. With the goal. It is another object of the present invention to perform encoding in consideration of image quality during the encoding.

【0012】[0012]

【課題を解決するための手段】本発明の目的を達成する
ために、例えば本発明の画像符号化装置は以下の構成を
備える。
In order to achieve the object of the present invention, for example, an image coding apparatus of the present invention has the following arrangement.

【0013】すなわち、異なる圧縮率で符号化する領域
を含む画像に対して符号化を行う画像符号化装置であっ
て、前記領域毎の符号量を求める計算手段と、符号量と
量子化パラメータとの関係式を用いて、前記計算手段に
よる符号量に応じた量子化パラメータを前記領域毎に推
定する推定手段とを備え、前記計算手段により計算され
る符号量が所定の量以下となるように前記推定手段は前
記領域毎の量子化パラメータを推定する。
That is, an image coding apparatus for coding an image including regions to be coded at different compression rates, comprising: a calculating means for obtaining a code amount for each region; a code amount and a quantization parameter; Estimating means for estimating a quantization parameter corresponding to the code amount by the calculation means for each of the regions, so that the code amount calculated by the calculation means is equal to or less than a predetermined amount. The estimating means estimates a quantization parameter for each of the regions.

【0014】更に、前記画像を所定のサイズを有するタ
イルに分割する分割手段を備える。
Further, there is provided a dividing means for dividing the image into tiles having a predetermined size.

【0015】更に、異なる複数の量子化パラメータを用
いて原画像に対して符号化を行い、更に復号し、得られ
る画像の前記原画像に対する歪みと当該画像の符号量と
に関する情報を作成する作成手段を備え、前記推定手段
は当該情報を用いて前記領域毎で許容される歪みに応じ
た量子化パラメータを推定する。
[0015] Further, encoding is performed on the original image using a plurality of different quantization parameters, and is further decoded to create information relating to the distortion of the obtained image with respect to the original image and the code amount of the image. Means for estimating a quantization parameter according to distortion allowed for each of the regions using the information.

【0016】[0016]

【発明の実施の形態】以下添付図面を参照して、本発明
を好適な実施形態に従って詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail according to preferred embodiments with reference to the accompanying drawings.

【0017】[第1の実施形態]図2はイメージスキャ
ナやページ記述言語レンダリング部が接続された本実施
形態における画像符号化装置としてのデジタル画像機器
の構成を示すブロック図である。同図において120は
イメージスキャナ、1001はイメージスキャナ120
からセレクタ99に入力される画像データ、1003は
イメージスキャナ120からセレクタ99に入力される
後述の像域フラグである。
[First Embodiment] FIG. 2 is a block diagram showing the configuration of a digital image device as an image encoding device according to this embodiment to which an image scanner and a page description language rendering unit are connected. In the figure, reference numeral 120 denotes an image scanner, and 1001 denotes an image scanner 120.
The image data 1003 is input from the image scanner 120 to the selector 99, and the image area flag 1003 is input from the image scanner 120 to the selector 99.

【0018】121はページ記述言語レンダリング部
で、1002はページ記述言語レンダリング部121か
らセレクタ99に入力される画像データ、1004はペ
ージ記述言語レンダリング部121からセレクタ99に
入力される後述の像域フラグである。
Reference numeral 121 denotes a page description language rendering unit, 1002 denotes image data input from the page description language rendering unit 121 to the selector 99, and 1004 denotes an image area flag described later input from the page description language rendering unit 121 to the selector 99. It is.

【0019】99はセレクタ、100は画像入力部、1
01は圧縮処理のためのラインバッファ、102は像域
フラグ符号化部、103は(画像)符号化部、125は
監視部、104は圧縮バッファ、105はハードディス
ク(HDD)、106は復号バッファ、107は像域フ
ラグ復号部、108は(画像)復号部、109は復号処
理のためのラインバッファである。また110は不図示
の画像生成部であるプリンタ等とのインターフェース
(I/F)である。
Reference numeral 99 denotes a selector, 100 denotes an image input unit, 1
01 is a line buffer for compression processing, 102 is an image area flag encoding unit, 103 is an (image) encoding unit, 125 is a monitoring unit, 104 is a compression buffer, 105 is a hard disk (HDD), 106 is a decoding buffer, 107 is an image area flag decoding unit, 108 is an (image) decoding unit, and 109 is a line buffer for decoding processing. Reference numeral 110 denotes an interface (I / F) with a printer or the like, which is an image generation unit (not shown).

【0020】上述の構成を備える本実施形態におけるデ
ジタル画像機器の各部について以下説明する。
The components of the digital imaging device according to the present embodiment having the above-described configuration will be described below.

【0021】画像入力部100には、セレクタによって
選択されたイメージスキャナ120、もしくはページ記
述言語のレンダリング部121からの画像データと像域
フラグの信号が入力される。画像入力部100に入力さ
れた画像データはラインバッファ101においてタイル
分割される。なお本実施形態では画像データはタイル分
割されるので各タイル毎に像域フラグが設けられている
ものとする。以下タイル毎の画像データをタイル画像デ
ータと呼称する。
The image input unit 100 receives image data and an image area flag signal from the image scanner 120 selected by the selector or the page description language rendering unit 121. The image data input to the image input unit 100 is divided into tiles in the line buffer 101. In this embodiment, since image data is divided into tiles, it is assumed that an image area flag is provided for each tile. Hereinafter, the image data for each tile is referred to as tile image data.

【0022】画像データがタイル分割(以下タイルの大
きさをMとする)されると次に、M×M画素毎にカラー
情報の符号化である離散コサイン変換符号化(JPEG)が
符号化部103で、像域フラグにはランレングス符号化
が像域フラグ符号化部102で行われる。その際に符号
化部103におけるタイル画像データの符号化処理は像
域フラグ符号化部102からの像域フラグ(符号化され
ていない信号)の入力に応じて切り替わる。すなわち、
符号化パラメータを切り替える。詳細については後述す
る。また監視部125では発生符号量を常時監視してお
り、発生符号量が予め設定された量を超えた場合には、
原稿等を読み直すようにイメージスキャナ120に指示
を出すか、もしくはページ記述言語レンダリング部12
1にレンダリング結果の再出力を指示する。
When the image data is divided into tiles (hereinafter, the size of the tile is assumed to be M), a discrete cosine transform coding (JPEG), which is coding of color information for each M × M pixel, is performed by a coding unit. At 103, run-length encoding is performed on the image area flag by the image area flag encoding unit 102. At that time, the encoding process of the tile image data in the encoding unit 103 is switched in accordance with the input of the image area flag (uncoded signal) from the image area flag encoding unit 102. That is,
Switch encoding parameters. Details will be described later. Further, the monitoring unit 125 constantly monitors the generated code amount, and when the generated code amount exceeds a preset amount,
An instruction is given to the image scanner 120 to reread the manuscript or the like, or the page description language rendering unit 12
1 is instructed to re-output the rendering result.

【0023】図3は符号化部103、復号部108の内
部構成を示すと共に、符号化、復号の処理を示すブロッ
ク図である。同図において11は色変換部で,入力され
た画像に含まれるRGB信号を輝度色差信号(YCbC
r)に変換する。なお本実施形態においてRGB信号は
カラー信号であって、256階調の信号とするが、これ
に限定されるものではない。
FIG. 3 is a block diagram showing the internal configuration of the encoding unit 103 and the decoding unit 108, and showing encoding and decoding processing. In the figure, reference numeral 11 denotes a color conversion unit which converts RGB signals included in an input image into a luminance / color difference signal (YCbC
r). In the present embodiment, the RGB signals are color signals and have 256 gradations, but are not limited thereto.

【0024】12は離散コサイン変換(DCT)部で、
輝度色差信号のそれぞれに空間周波数変換(DCT変
換)を施し、夫々の信号に応じたDCT係数を出力す
る。13は量子化部で、DCT係数を量子化することに
よりデータ量を削減する。14は可変長符号化器(VL
C)部で、量子化されたDCT係数(量子化値)にハフ
マン符号化処理を施し、データ量を更に削減する。以上
が符号化部103における各部である。
Reference numeral 12 denotes a discrete cosine transform (DCT) unit.
A spatial frequency transform (DCT transform) is performed on each of the luminance / color difference signals, and DCT coefficients corresponding to the respective signals are output. Reference numeral 13 denotes a quantization unit that reduces a data amount by quantizing DCT coefficients. 14 is a variable length encoder (VL
In the section C), the quantized DCT coefficients (quantized values) are subjected to Huffman coding to further reduce the data amount. The above is each part in the encoding part 103.

【0025】15はメモリで、圧縮画像データ、圧縮像
域フラグデータを記憶する。16は可変長復号部(VL
D)で圧縮画像データに対してハフマンデコードをす
る。17は逆量子化部でDCT係数値に戻す。18はI
DCT部で、DCT逆変換を行い、輝度色差信号に戻
す。19は色変換部で、輝度色差信号をRGB信号に戻
す。以上の可変長復号部16、逆量子化部17,IDC
T部18、色変換部19が復号部108の各部である。
A memory 15 stores compressed image data and compressed image area flag data. 16 is a variable length decoding unit (VL
In D), Huffman decoding is performed on the compressed image data. Reference numeral 17 denotes an inverse quantization unit that returns the DCT coefficient value. 18 is I
The DCT unit performs a DCT inverse transform to return to a luminance / color difference signal. Reference numeral 19 denotes a color conversion unit which returns the luminance / color difference signals to RGB signals. The above-described variable length decoding unit 16, inverse quantization unit 17, IDC
The T unit 18 and the color conversion unit 19 are each unit of the decoding unit 108.

【0026】監視部125は符号化部103における発
生符号量を監視し、発生符号量が予め設定された値をオ
ーバすると予想される場合には、上述の通りイメージス
キャナ120、もしくはページ記述言語レンダリング部
121に対して上述の指示を出力したり、量子化部13
に対して量子化ステップの切り換えを指示する。
The monitoring unit 125 monitors the generated code amount in the encoding unit 103. If the generated code amount is expected to exceed a preset value, the image scanner 120 or the page description language rendering is performed as described above. The above-described instruction is output to the unit 121 and the quantization unit 13
Is instructed to switch the quantization step.

【0027】一方、像域フラグ符号化部102は上述の
通り像域フラグを符号化し、メモリ15に記録する。ま
た像域フラグ復号部107は符号化された像域フラグを
復号し、この復号結果に応じて画像データの逆量子化の
ための量子化マトリクスを切り替えて、逆量子化部17
に出力する。
On the other hand, the image area flag encoding unit 102 encodes the image area flag as described above and records it in the memory 15. The image area flag decoding unit 107 decodes the encoded image area flag, and switches a quantization matrix for inverse quantization of image data according to the decoding result.
Output to

【0028】図1は本実施形態におけるブロック画像デ
ータ毎の符号化の処理のフローチャートである。なお、
以下の処理の前段で、夫々の領域(高圧縮率領域、低圧
縮率領域)に対する目標とする平均符号量(詳細につい
ては後述する)、量子化パラメータの初期値を設定して
おく。そして以下の処理を全てのブロック画像データに
対して行う。なお、1つのタイルの中に高圧縮領域と低
圧縮率領域が混在している場合、このタイル中に占める
割合がより大きい領域をこのタイルの属性とする。例え
ば、タイル中に高圧縮率領域と低圧縮率領域が混在して
いて、高圧縮率領域がこのタイルに占める割合が低圧縮
率領域よりも大きかった場合、このタイルは高圧縮率領
域に含まれるとする。
FIG. 1 is a flowchart of an encoding process for each block image data in this embodiment. In addition,
Prior to the following processing, a target average code amount (details will be described later) and an initial value of a quantization parameter for each area (high compression rate area and low compression rate area) are set. Then, the following processing is performed on all block image data. When a high-compression region and a low-compression-ratio region are mixed in one tile, a region having a larger ratio in the tile is set as the attribute of the tile. For example, if a high compression rate area and a low compression rate area are mixed in a tile and the ratio of the high compression rate area to this tile is larger than that of the low compression rate area, this tile is included in the high compression rate area. And

【0029】まず各ブロック画像データに対する像域フ
ラグデータから、このタイル画像の属性を判別する(ス
テップS11)。その結果このタイル画像データが写真
領域(もしくは自然画像領域でもよい)である場合、処
理をステップS12に移行し、後述の高圧縮率の符号化
を行う(ステップS11)。一方、このタイル画像デー
タが文字領域(もしくはコンピュータグラフィックス領
域でもよい)である場合、処理をステップS13に移行
し、後述の低圧縮率の符号化を行う(ステップS1
3)。次にタイル内の画素数から1画素あたりの符号量
(平均符号量)を計算し(ステップS14)、予め決め
た平均符号量よりも大きい場合(ステップS15)、処
理をステップS16に移行し、ブロック画像データの量
子化パラメータを計算する。以上のフローチャートに従
った処理を全てのブロック画像データに対して行う。
First, the attribute of this tile image is determined from the image area flag data for each block image data (step S11). As a result, if the tile image data is a photographic area (or a natural image area), the process proceeds to step S12, and encoding at a high compression rate described later is performed (step S11). On the other hand, if the tile image data is a character area (or a computer graphics area), the process shifts to step S13 to perform encoding at a low compression rate, which will be described later (step S1).
3). Next, the code amount per pixel (average code amount) is calculated from the number of pixels in the tile (step S14). If the average code amount is larger than a predetermined average code amount (step S15), the process proceeds to step S16. Calculate the quantization parameter of the block image data. The processing according to the above flowchart is performed on all block image data.

【0030】ここで符号量と量子化パラメータに関して
は、以下の近似式があることが知られている。
Here, it is known that there are the following approximate expressions for the code amount and the quantization parameter.

【0031】 log10(B)=a×log10(F)+b (1) ここでBは1画素あたり平均符号量(Bitrate)
(bits/画素)、Fは量子化パラメータであって、その
デフォルト値を50とする。a,bは(1)の性質を決
める所定の定数である。
Log10 (B) = a × log10 (F) + b (1) where B is the average code amount per pixel (Bitrate)
(Bits / pixel), F is a quantization parameter, and its default value is 50. a and b are predetermined constants that determine the property of (1).

【0032】図7は、量子化パラメータFと平均符号量
Bとの関係の説明図である。この図は、符号量Bと量子
化パラメータFの式(1)に対して、a=−2/3に固
定して、bを1、1.5、2と変化させたものである。
同図の通りFが大きいほど、平均符号量Bが小さくなる
傾向があり、またbが大きいほど、平均符号量Bが大き
くなる傾向がある。
FIG. 7 is an explanatory diagram of the relationship between the quantization parameter F and the average code amount B. In this figure, the equation (1) of the code amount B and the quantization parameter F is fixed at a = − / and b is changed to 1, 1.5 and 2.
As shown in the figure, the larger the F, the smaller the average code amount B tends to be, and the larger the b, the larger the average code amount B tends to be.

【0033】以上のことから、量子化パラメータFに対
する平均符号量Bが2つ以上測定されると(もちろん量
子化パラメータFも2つ以上用いる)、近似式(1)よ
りa、bが決定され、近似式(1)が決定するので、こ
の後は、目標とする平均符号量Bから、そのときに設定
すべき量子化パラメータFを推定することができる。以
下、図10に示す本実施形態の量子化パラメータFの推
定の処理のフローチャートを参照しながら、同処理につ
いて説明する。
From the above, when two or more average code amounts B for the quantization parameter F are measured (of course, two or more quantization parameters F are used), a and b are determined from the approximate expression (1). Since the approximate expression (1) is determined, the quantization parameter F to be set at that time can be estimated from the target average code amount B. Hereinafter, the process will be described with reference to the flowchart of the process of estimating the quantization parameter F of the present embodiment shown in FIG.

【0034】本実施形態では1回目の符号化処理で発生
した符号量B(1)をまず求める(ステップS100
1)。そしてa=−2/3と仮定してbを求め、近似式
(1)を決定する(ステップS1002)。そして目標
値B0を式(1)に入れて、そのときの量子化パラメー
タFの値を求め、2回目の符号化処理に用いる(ステッ
プS1003)。目標値に関しては後述する。
In this embodiment, the code amount B (1) generated in the first encoding processing is first obtained (step S100).
1). Then, b is obtained assuming that a = −b, and the approximate expression (1) is determined (step S1002). Then, the target value B0 is put into the equation (1), and the value of the quantization parameter F at that time is obtained, and used for the second encoding process (step S1003). The target value will be described later.

【0035】2回目の符号化処理でもその符号量が目標
値にならない場合には(ステップS1000)、先の2
回目の符号化で発生した符号量B(2)を計算し(ステ
ップS1004)、B(1)とB(2)の2つのサンプ
ルポイントを近似式(1)に代入して係数値a、bを求
める(ステップS1005)。ここで近似式(1)が決
定するので、目標値B0を近似式(1)に代入し、この
ときの量子化パラメータFの値を再計算し(ステップS
1006)、再計算した量子化パラメータFを用いて再
度、量子化および符号化を行う。
If the code amount does not reach the target value even in the second encoding process (step S1000), the above 2
The code amount B (2) generated in the second encoding is calculated (step S1004), and the two sample points B (1) and B (2) are substituted into the approximate expression (1) to obtain coefficient values a and b. Is obtained (step S1005). Here, since the approximate expression (1) is determined, the target value B0 is substituted into the approximate expression (1), and the value of the quantization parameter F at this time is recalculated (Step S).
1006) The quantization and the encoding are performed again using the recalculated quantization parameter F.

【0036】なお図10に示したフローチャートに従っ
た処理は図1に示した処理において、ステップS16の
処理の内容である。
The processing according to the flowchart shown in FIG. 10 is the content of the processing in step S16 in the processing shown in FIG.

【0037】これでほとんどの場合が予定した符号量に
なるのであるが、2回目の量子化パラメータFを求める
計算で求めた量子化パラメータFの値を更に少し大きめ
に変更しておくと、3回目の量子化パラメータFを求め
る再計算の結果、求まった量子化パラメータFで符号化
したときの符号量が高い確率で予定した符号量以下にな
る。つまり、図10に示したフローチャートにおいて、
変数nは大きくとも3以下の整数となる。
In this case, the code amount becomes the expected amount in most cases. However, if the value of the quantization parameter F obtained by the second calculation for obtaining the quantization parameter F is changed to a slightly larger value, 3 As a result of the second recalculation of the quantization parameter F, the code amount at the time of encoding with the obtained quantization parameter F becomes equal to or less than the predetermined code amount with a high probability. That is, in the flowchart shown in FIG.
The variable n is an integer of at most 3 or less.

【0038】以上の処理を実行することで、夫々の領域
(高圧縮率領域、低圧縮率領域)を目標値以下で圧縮す
ることができる。
By executing the above processing, each area (high compression rate area and low compression rate area) can be compressed at a target value or less.

【0039】また本実施形態では、画像の領域(高圧縮
領域、低圧縮領域)に対して、領域毎に量子化パラメー
タの変更値を、過去にスキャンしたときに発生したタイ
ルごとの符号量に基づいて推定する方式を更に提案し、
特に、2つの領域(高圧縮領域、低圧縮領域)を符号量
と画質のバランスに関して考慮し、決定していく方法に
ついて説明する。
In the present embodiment, the change value of the quantization parameter for each area of the image (high compression area and low compression area) is converted into the code amount for each tile generated in the past scan. We further propose a method of estimating based on
In particular, a method of determining two areas (high compression area and low compression area) in consideration of the balance between the code amount and the image quality will be described.

【0040】まず、文字領域の面積率(全タイル数に対
する、文字領域を含むタイル数の割合)をα、写真領域
の面積率(全タイル数に対する、写真領域を含むタイル
数の割合)を(1−α)とし、文字部の平均符号量をB
1(文字部とされるタイルの平均符号量の平均値)、写
真部の平均符号量をB2(写真部とされるタイルの平均
符号量の平均値)とすると、目標ビットレート(目標
値)Btは以下の式で求めることができる。
First, the area ratio of the character region (the ratio of the number of tiles including the character region to the total number of tiles) is α, and the area ratio of the photograph region (the ratio of the number of tiles including the photograph region to the total number of tiles) is ( 1−α), and the average code amount of the character portion is B
Assuming that 1 (the average value of the average code amount of the tiles as the text portion) and the average code amount of the photo portion is B2 (the average value of the average code amounts of the tiles as the photo portion), the target bit rate (target value) Bt can be obtained by the following equation.

【0041】 B1・α+B2・(1−α)=Bt (2) なお、1つのタイルの中に文字領域と写真領域が混在し
ている場合、このタイル中に占める割合がより大きい領
域をこのタイルの属性とする。例えば、タイル中に文字
領域と写真領域が混在していて、写真領域がこのタイル
に占める割合が文字領域よりも大きかった場合、このタ
イルは写真領域に含まれるとする。
B1 · α + B2 · (1−α) = Bt (2) When a character area and a photographic area are mixed in one tile, an area having a larger ratio in the tile is defined as the tile. Attribute. For example, when a character area and a photograph area are mixed in a tile and the ratio of the photograph area to the tile is larger than that of the character area, the tile is assumed to be included in the photograph area.

【0042】本実施形態では、3回目の量子化パラメー
タFの再計算を行う前段で、複数の量子化パラメータを
用いて原画像データを符号化、復号化して得られた復号
画像を用いて、原画像データと復号画像データの各画素
値に対して平均2乗誤差を計算し、この結果を図8のよ
うなレート歪曲線として求めておく。
In this embodiment, before performing the third recalculation of the quantization parameter F, a decoded image obtained by encoding and decoding the original image data using a plurality of quantization parameters is used. An average square error is calculated for each pixel value of the original image data and the decoded image data, and the result is obtained as a rate distortion curve as shown in FIG.

【0043】図8のレート歪み曲線で、目標ビットレー
トB(横軸)、許容ひずみD(縦軸)から、文字領域の許
容歪D1、写真領域の許容歪D2を決めておき、それら
に応じた目標ビットレートB1、目標ビットレートB2
を図8に示したレート歪み曲線を参照して決める。そし
て(2)の式で目標ビットレート以下になれば、それぞ
れの領域の量子化パラメータFが図7より決定できる。
In the rate distortion curve shown in FIG. 8, the allowable distortion D1 of the character area and the allowable distortion D2 of the photographic area are determined from the target bit rate B (horizontal axis) and the allowable distortion D (vertical axis). Target bit rate B1, target bit rate B2
Is determined with reference to the rate distortion curve shown in FIG. If the bit rate becomes equal to or less than the target bit rate in the equation (2), the quantization parameter F of each area can be determined from FIG.

【0044】しかし、目標以上の場合は、D1とD2の
バランスをとることによって、Bt以下に収まるB1、
B2を決める処理を行う。
However, in the case of exceeding the target, by balancing D1 and D2, B1,
A process for determining B2 is performed.

【0045】(1) 劣化の目立ちやすい文字領域であ
るD1の下限からB1を求めて、Btから逆算して、B
2,D2を求める。
(1) B1 is obtained from the lower limit of D1, which is a character area in which deterioration is conspicuous, and is calculated backward from Bt to obtain B1.
2. Find D2.

【0046】(2) 劣化の目立ちにくい写真領域であ
るD2の下限からB2を求めて、Btから逆算して、B
1,D1を求める。
(2) B2 is obtained from the lower limit of D2, which is a photographic area where deterioration is not conspicuous, and is calculated backward from Bt to obtain B2.
1, D1 is obtained.

【0047】(1)のD2および、(2)のD1の歪の
大きさを比較して、どちらの方式をとるか決定するが、
決定式は実験的に決めることになる。
The magnitude of the distortion of D2 of (1) and the magnitude of D1 of (2) are compared to determine which method to use.
The decision formula is determined experimentally.

【0048】以上の処理のフローチャートを図11に示
し、以下説明する。なお本フローチャートに従った処理
は図10に示したフローチャートで、ステップS100
0において、nが3以上の時に実行される。(よって、
ステップS1004,S1005,S1006の処理は
n=2の時のみ実行されることになる。)まず、上述の
通りレート歪み曲線を作成する(ステップS110
1)。そして次に各領域(高圧縮率領域、低圧縮率領
域)に対する許容歪みD1,D2を設定する(ステップ
S1102)。このD1,D2の設定は本ステップで設
定されることに限定されるものではなく、予め設定され
ていても良い。
FIG. 11 shows a flowchart of the above processing, which will be described below. The processing according to this flowchart is the flowchart shown in FIG.
0, executed when n is 3 or more. (So,
The processing in steps S1004, S1005, and S1006 is executed only when n = 2. First, a rate distortion curve is created as described above (step S110).
1). Then, allowable distortions D1 and D2 for each area (high compression rate area and low compression rate area) are set (step S1102). The settings of D1 and D2 are not limited to being set in this step, but may be set in advance.

【0049】そして次にステップS1101で設定した
レート歪み曲線を用いてD1,D2に対するB1,B2
を求める(ステップS1103)。そして目標値Btを
参照して、目標値以下になるようにB1,B2を設定
(調節)する(ステップS1104)。そしてB1,B
2に応じた量子化パラメータを式(1)から求める(ス
テップS1105)。
Then, B1 and B2 for D1 and D2 are calculated using the rate distortion curve set in step S1101.
Is obtained (step S1103). Then, with reference to the target value Bt, B1 and B2 are set (adjusted) so as to be equal to or less than the target value (step S1104). And B1, B
A quantization parameter corresponding to 2 is obtained from equation (1) (step S1105).

【0050】図4は、原画像に対して領域分割を行った
結果、求まった文字領域の例を示す図であり、PDLレ
ンダリング入力の場合は、文字領域、写真領域に対応さ
せたものである。また、スキャナー入力の場合は、文字
領域や写真領域などの領域判定結果に応じて、量子化ス
テップの比較的小さい領域と、量子化ステップの比較的
大きい領域とに領域分割されることを示している。それ
ぞれの領域に入っているタイル毎に、量子化パラメータ
Fが切り替わり、それぞれの符号量がカウントされるこ
とになる。
FIG. 4 is a diagram showing an example of a character area obtained as a result of performing area division on an original image. In the case of PDL rendering input, the area corresponds to a character area and a photograph area. . Also, in the case of a scanner input, it is shown that the region is divided into a region having a relatively small quantization step and a region having a relatively large quantization step according to the region determination result such as a character region or a photograph region. I have. The quantization parameter F is switched for each tile included in each area, and each code amount is counted.

【0051】図5は、タイル分割された原画像におい
て、各タイルになされる符号化方法を示す図である。同
図において、量子化パラメータが小さい領域を白、量子
化パラメータが大きい領域を灰色で示している。
FIG. 5 is a diagram showing an encoding method applied to each tile in the original image divided into tiles. In the figure, a region where the quantization parameter is small is shown in white, and a region where the quantization parameter is large is shown in gray.

【0052】図6は、8×8のDCT係数に対する、基
本量子化マトリクスの例である。量子化パラメータFが
求まると、基本マトリクス値にF/50がかけられ、実
際の量子化ステップとなり、DCT係数はこの量子化ス
テップで量子化(除算)されることになる。
FIG. 6 is an example of a basic quantization matrix for 8 × 8 DCT coefficients. When the quantization parameter F is obtained, the basic matrix value is multiplied by F / 50 to form an actual quantization step, and the DCT coefficient is quantized (divided) in this quantization step.

【0053】一方、逆量子化では、この量子化ステップ
が、ハフマン復号値に乗算され、DCT係数値に戻され
ることになる。
On the other hand, in the inverse quantization, this quantization step is multiplied by the Huffman decoded value to return to the DCT coefficient value.

【0054】以上の説明により、本実施形態の画像符号
化装置及びその方法によって、高圧縮率領域と低圧縮率
領域とに分割された画像に対しても符号量を目標値以下
に制御することが可能となる。また、その際に画質を考
慮した符号化を行うことができる。
As described above, with the image encoding apparatus and method according to the present embodiment, the code amount is controlled to be equal to or less than the target value even for an image divided into a high compression rate area and a low compression rate area. Becomes possible. At this time, encoding can be performed in consideration of image quality.

【0055】[第2の実施形態]本実施形態では図9に
示すレート歪み曲線の決定器を新たに図2に示した装置
に設ける。その結果、再読み込みの回数を少なくでき
る。
[Second Embodiment] In the present embodiment, a rate distortion curve determiner shown in FIG. 9 is newly provided in the apparatus shown in FIG. As a result, the number of rereads can be reduced.

【0056】301は、離散コサイン変換(DCT)
器、302は逆量子化器、303は逆DCT器、304
は平均二乗誤差計算器、305は可変長符号の符号量計
算器、306は生成器、309は画像データ信号であ
る。
Reference numeral 301 denotes a discrete cosine transform (DCT)
Device, 302 is an inverse quantizer, 303 is an inverse DCT device, 304
Is a mean square error calculator, 305 is a variable length code amount calculator, 306 is a generator, and 309 is an image data signal.

【0057】ここで、302a,303a,304a,
305aは、DCT係数の下位2ビットを省略したデー
タを扱い、線形量子化1/4(F=200)されたデー
タである。また302b,303b,304b,305
bは、DCT係数の下位1ビットを省略したデータを扱
い、線形量子化(1/2)(F=100)されたデータ
である。
Here, 302a, 303a, 304a,
Reference numeral 305a denotes data obtained by omitting the lower two bits of the DCT coefficient and performing linear quantization 1/4 (F = 200). 302b, 303b, 304b, 305
b is data obtained by omitting the lower one bit of the DCT coefficient and subjected to linear quantization (1/2) (F = 100).

【0058】なお、302a,303a,304a,3
05aに入力されるデータと、302b,303b,3
04b,305bに入力されるデータは互いに逆でも良
い。
Note that 302a, 303a, 304a, 3
05a, 302b, 303b, 3
The data input to 04b and 305b may be opposite to each other.

【0059】この2つの符号量を演算する。また、それ
ぞれの逆量子化と逆DCTを行った、復号画像と原画の
差分の平均二乗誤差を演算する。これにより符号量およ
び平均二乗誤差(MSE)が2点求まり、図8に相当す
る曲線が近似できる。これは、符号量および平均二乗誤
差(MSE)の演算処理の削減に効果がある。この結
果、レート歪曲線生成器306では、図8の曲線が生成
され、入力Bに対してのD、入力Dに対してのBが求ま
るようになる。
The two code amounts are calculated. Further, a mean square error of the difference between the decoded image and the original image, which has been subjected to inverse quantization and inverse DCT, is calculated. Thereby, the code amount and the mean square error (MSE) are obtained at two points, and the curve corresponding to FIG. 8 can be approximated. This is effective in reducing the code amount and the arithmetic processing of the mean square error (MSE). As a result, the rate distortion curve generator 306 generates the curve of FIG. 8, and D for input B and B for input D are obtained.

【0060】[0060]

【発明の効果】以上の説明により、本発明によって、異
なる圧縮率で符号化する領域を含む画像に対して符号化
を行う際、発生する符号量を所定の量以下にすることが
できる。また、この符号化の際に、画質を考慮して符号
化を行うことができる。
As described above, according to the present invention, when coding an image including regions to be coded at different compression ratios, the amount of generated codes can be reduced to a predetermined amount or less. In this encoding, encoding can be performed in consideration of image quality.

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

【図1】本発明の第1の実施形態におけるブロック画像
データ毎の符号化の処理のフローチャートである。
FIG. 1 is a flowchart of an encoding process for each block image data according to a first embodiment of the present invention.

【図2】イメージスキャナやページ記述言語レンダリン
グ部が接続された、本発明の第1の実施形態における画
像符号化装置としてのデジタル画像機器の構成を示すブ
ロック図である。
FIG. 2 is a block diagram illustrating a configuration of a digital image device as an image encoding device according to the first embodiment of the present invention, to which an image scanner and a page description language rendering unit are connected.

【図3】符号化部103、復号部108の内部構成を示
すと共に、符号化、復号の処理を示すブロック図であ
る。
FIG. 3 is a block diagram showing an internal configuration of an encoding unit 103 and a decoding unit 108 and showing encoding and decoding processing.

【図4】原画像に対して領域分割を行った結果、求まっ
た文字領域の例を示す図である。
FIG. 4 is a diagram illustrating an example of a character area obtained as a result of performing area division on an original image.

【図5】タイル分割された原画像において、各タイルに
なされる符号化方法を示す図である。
FIG. 5 is a diagram illustrating an encoding method performed on each tile in an original image obtained by dividing a tile.

【図6】8×8のDCT係数に対する、基本量子化マト
リクスの例を示す図である。
FIG. 6 is a diagram illustrating an example of a basic quantization matrix for an 8 × 8 DCT coefficient;

【図7】量子化パラメータFと平均符号量Bとの関係の
説明図である。
FIG. 7 is an explanatory diagram of a relationship between a quantization parameter F and an average code amount B.

【図8】レート歪み曲線を示す図である。FIG. 8 is a diagram showing a rate distortion curve.

【図9】本発明の第2の実施形態における、レート歪み
曲線の決定器の構成を示す図である。
FIG. 9 is a diagram illustrating a configuration of a rate distortion curve determiner according to a second embodiment of the present invention.

【図10】本発明の第1の実施形態における量子化パラ
メータFの推定の処理のフローチャートである。
FIG. 10 is a flowchart of a process of estimating a quantization parameter F according to the first embodiment of the present invention.

【図11】本発明の第1の実施形態における量子化パラ
メータFの推定の処理のフローチャートである。
FIG. 11 is a flowchart illustrating a process of estimating a quantization parameter F according to the first embodiment of the present invention.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 加藤 進一 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 太田 健一 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 Fターム(参考) 5C059 KK25 MA23 MC14 ME02 ME05 PP14 PP19 SS12 SS20 TA47 TB08 TC02 TC04 TC06 TC18 TC24 TC38 TD03 TD05 TD06 TD12 UA02 UA39 5C078 AA04 BA44 BA57 DA01 DA02 DB07 5J064 AA02 BA09 BA13 BA16 BC02 BC16 BD03  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Shinichi Kato 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Kenichi Ota 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon In-house F term (reference) 5C059 KK25 MA23 MC14 ME02 ME05 PP14 PP19 SS12 SS20 TA47 TB08 TC02 TC04 TC06 TC18 TC24 TC38 TD03 TD05 TD06 TD12 UA02 UA39 5C078 AA04 BA44 BA57 DA01 DA02 DB07 5J064 AA02 BA09 BC13 BC

Claims (19)

【特許請求の範囲】[Claims] 【請求項1】 異なる圧縮率で符号化する領域を含む画
像に対して符号化を行う画像符号化装置であって、 前記領域毎の符号量を求める計算手段と、 符号量と量子化パラメータとの関係式を用いて、前記計
算手段による符号量に応じた量子化パラメータを前記領
域毎に推定する推定手段とを備え、 前記計算手段により計算される符号量が所定の量以下と
なるように前記推定手段は前記領域毎の量子化パラメー
タを推定することを特徴とする画像符号化装置。
1. An image coding apparatus for coding an image including regions to be coded at different compression rates, comprising: a calculating unit for obtaining a code amount for each region; Estimating means for estimating, for each of the regions, a quantization parameter corresponding to the code amount by the calculating means, using the relational expression of: The image coding apparatus according to claim 1, wherein the estimating unit estimates a quantization parameter for each of the regions.
【請求項2】 更に、前記画像を所定のサイズを有する
タイルに分割する分割手段を備えることを特徴とする請
求項1に記載の画像符号化装置。
2. The image encoding apparatus according to claim 1, further comprising a division unit configured to divide the image into tiles having a predetermined size.
【請求項3】 前記計算手段は前記領域毎の符号量をタ
イル毎に計算し、前記推定手段はタイル毎の量子化パラ
メータを推定することを特徴とする請求項2に記載の画
像符号化装置。
3. The image coding apparatus according to claim 2, wherein said calculating means calculates a code amount for each area for each tile, and said estimating means estimates a quantization parameter for each tile. .
【請求項4】 更に、異なる複数の量子化パラメータを
用いて原画像に対して符号化を行い、更に復号し、得ら
れる画像の前記原画像に対する歪みと当該画像の符号量
とに関する情報を作成する作成手段を備え、 前記推定手段は当該情報を用いて前記領域毎で許容され
る歪みに応じた量子化パラメータを推定することを特徴
とする請求項1乃至3のいずれか1項に記載の画像符号
化装置。
4. An original image is coded using a plurality of different quantization parameters, and further decoded, and information on distortion of the obtained image with respect to the original image and the code amount of the image is created. 4. The apparatus according to claim 1, further comprising: a creating unit configured to estimate a quantization parameter corresponding to distortion allowed for each region using the information. 5. Image coding device.
【請求項5】 前記作成手段は、前記計算手段が計算し
た符号量が2回以上所定の量以下にならなかった場合
に、前記情報を作成することを特徴とする請求項4に記
載の画像符号化装置。
5. The image according to claim 4, wherein the creation unit creates the information when the code amount calculated by the calculation unit does not fall below the predetermined amount twice or more. Encoding device.
【請求項6】 前記推定手段は、前記情報を用いて前記
領域毎で許容される歪みに応じた符号量を特定し、当該
符号量に応じた量子化パラメータを前記関係式で推定す
ることを特徴とする請求項4又は5に記載の画像符号化
装置。
6. The method according to claim 1, wherein the estimating unit specifies a code amount corresponding to distortion allowed for each area using the information, and estimates a quantization parameter corresponding to the code amount using the relational expression. The image encoding device according to claim 4 or 5, wherein
【請求項7】 前記情報は前記符号量と当該符号量を有
する画像の前記原画像に対する歪みとの関係を示す曲線
に関する情報であることを特徴とする請求項4乃至6の
いずれか1項に記載の画像符号化装置。
7. The information processing method according to claim 4, wherein the information is information on a curve indicating a relationship between the code amount and a distortion of the image having the code amount with respect to the original image. The image encoding device according to claim 1.
【請求項8】 前記領域は、高圧縮率で符号化される領
域と、低圧縮率で符号化される領域とに分別されること
を特徴とする請求項1乃至7のいずれか1項に記載の画
像符号化装置。
8. The apparatus according to claim 1, wherein the area is classified into an area encoded at a high compression rate and an area encoded at a low compression rate. The image encoding device according to claim 1.
【請求項9】 前記高圧縮率で符号化される領域は写真
領域を含むことを特徴とする請求項8に記載の画像符号
化装置。
9. The image encoding apparatus according to claim 8, wherein the area encoded at a high compression rate includes a photograph area.
【請求項10】 前記低圧縮率で符号化される領域は文
字領域を含むことを特徴とする請求項8に記載の画像符
号化装置。
10. The image encoding apparatus according to claim 8, wherein the area encoded at a low compression rate includes a character area.
【請求項11】 前記関係式は、log10(B)=a
×log10(F)+bで示され、Bは平均符号量、F
は量子化パラメータ、a,bは所定の定数であることを
特徴とする請求項1に記載の画像符号化装置。
11. The relational expression is log10 (B) = a
× log10 (F) + b, where B is the average code amount, F
The image encoding apparatus according to claim 1, wherein is a quantization parameter, and a and b are predetermined constants.
【請求項12】 前記符号量は1画素あたりの平均符号
量であることを特徴とする請求項1乃至7のいずれか1
項に記載の画像符号化装置。
12. The apparatus according to claim 1, wherein the code amount is an average code amount per pixel.
Item 7. The image encoding device according to Item 1.
【請求項13】 前記符号化には離散コサイン変換を用
いることを特徴とする請求項1に記載の画像符号化装
置。
13. The image encoding apparatus according to claim 1, wherein the encoding uses a discrete cosine transform.
【請求項14】 異なる圧縮率で符号化する領域を含む
画像に対して符号化を行う画像符号化方法であって、 前記領域毎の符号量を求める計算工程と、 符号量と量子化パラメータとの関係式を用いて、前記計
算工程による符号量に応じた量子化パラメータを前記領
域毎に推定する推定工程とを備え、 前記計算工程で計算される符号量が所定の量以下となる
ように前記推定工程では前記領域毎の量子化パラメータ
を推定することを特徴とする画像符号化方法。
14. An image coding method for coding an image including regions to be coded at different compression rates, comprising: a calculating step of calculating a code amount for each region; And an estimation step of estimating a quantization parameter corresponding to the code amount in the calculation step for each of the regions using the relational expression of the above, so that the code amount calculated in the calculation step is equal to or less than a predetermined amount. The image encoding method according to claim 1, wherein the estimating step estimates a quantization parameter for each of the regions.
【請求項15】 更に、前記画像を所定のサイズを有す
るタイルに分割する分割工程を備えることを特徴とする
請求項14に記載の画像符号化方法。
15. The image encoding method according to claim 14, further comprising a dividing step of dividing the image into tiles having a predetermined size.
【請求項16】 更に、異なる複数の量子化パラメータ
を用いて原画像に対して符号化を行い、更に復号し、得
られる画像の前記原画像に対する歪みと当該画像の符号
量とに関する情報を作成する作成工程を備え、 前記推定工程では当該情報を用いて前記領域毎で許容さ
れる歪みに応じた量子化パラメータを推定することを特
徴とする請求項14又は15に記載の画像符号化方法。
16. An original image is coded using a plurality of different quantization parameters, and further decoded, and information on distortion of the obtained image with respect to the original image and the code amount of the image is created. The image encoding method according to claim 14, further comprising: estimating a quantization parameter corresponding to distortion allowed for each region using the information in the estimation step.
【請求項17】 異なる圧縮率で符号化する領域を含む
画像に対して符号化を行う画像符号化方法を実行するプ
ログラムコードを格納し、コンピュータが読み込み可能
な記憶媒体であって、 前記領域毎の符号量を求める計算工程のプログラムコー
ドと、 符号量と量子化パラメータとの関係式を用いて、前記計
算工程による符号量に応じた量子化パラメータを前記領
域毎に推定する推定工程のプログラムコードとを備え、 前記計算工程で計算される符号量が所定の量以下となる
ように前記推定工程では前記領域毎の量子化パラメータ
を推定することを特徴とするコンピュータが読み取り可
能な記憶媒体。
17. A computer-readable storage medium storing a program code for executing an image encoding method for encoding an image including an area to be encoded at a different compression rate, wherein the computer-readable storage medium stores And a program code for an estimation step for estimating, for each region, a quantization parameter corresponding to the code amount in the calculation step, using a relational expression between the code amount and the quantization parameter. A computer-readable storage medium, comprising: estimating a quantization parameter for each of the regions in the estimation step such that a code amount calculated in the calculation step is equal to or less than a predetermined amount.
【請求項18】 更に、前記画像を所定のサイズを有す
るタイルに分割する分割工程のプログラムコードを備え
ることを特徴とする請求項14に記載のコンピュータが
読み取り可能な記憶媒体。
18. The computer-readable storage medium according to claim 14, further comprising a program code of a dividing step of dividing the image into tiles having a predetermined size.
【請求項19】 更に、異なる複数の量子化パラメータ
を用いて原画像に対して符号化を行い、更に復号し、得
られる画像の前記原画像に対する歪みと当該画像の符号
量とに関する情報を作成する作成工程のプログラムコー
ドを備え、 前記推定工程では当該情報を用いて前記領域毎で許容さ
れる歪みに応じた量子化パラメータを推定することを特
徴とする請求項17又は18に記載のコンピュータが読
み取り可能な記憶媒体。
19. An original image is coded using a plurality of different quantization parameters, and further decoded, and information on distortion of the obtained image with respect to the original image and the code amount of the image is created. The computer according to claim 17 or 18, further comprising: a program code of a creating step of: estimating a quantization parameter corresponding to distortion allowed for each region using the information in the estimation step. A readable storage medium.
JP2001024445A 2001-01-31 2001-01-31 Image coding apparatus and its method, and storage medium Withdrawn JP2002232721A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001024445A JP2002232721A (en) 2001-01-31 2001-01-31 Image coding apparatus and its method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001024445A JP2002232721A (en) 2001-01-31 2001-01-31 Image coding apparatus and its method, and storage medium

Publications (1)

Publication Number Publication Date
JP2002232721A true JP2002232721A (en) 2002-08-16

Family

ID=18889585

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001024445A Withdrawn JP2002232721A (en) 2001-01-31 2001-01-31 Image coding apparatus and its method, and storage medium

Country Status (1)

Country Link
JP (1) JP2002232721A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005081539A1 (en) * 2004-02-23 2005-09-01 Nec Corporation 2-dimensional signal encoding/decoding method and device
JP2006060343A (en) * 2004-08-18 2006-03-02 Fuji Xerox Co Ltd Parameter determining apparatus, coding device, method of determining parameter and its program
US7420483B2 (en) 2006-04-03 2008-09-02 Fuji Xerox Co., Ltd. Data processing apparatus, data processing method, computer readable medium storing program, and computer data signal
JP5828052B1 (en) * 2015-02-26 2015-12-02 株式会社 ディー・エヌ・エー Image compression apparatus, image compression method, and image compression program
JP2017508415A (en) * 2013-12-28 2017-03-23 同済大学 Image encoding / decoding method and apparatus
GB2613053A (en) * 2021-09-15 2023-05-24 Synaptics Inc Image compression method and apparatus

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005081539A1 (en) * 2004-02-23 2005-09-01 Nec Corporation 2-dimensional signal encoding/decoding method and device
US8031951B2 (en) 2004-02-23 2011-10-04 Nec Corporation 2-dimensional signal encoding/decoding method and device
US8265402B2 (en) 2004-02-23 2012-09-11 Nec Corporation 2 dimensional signal encoding/decoding method and device
JP2006060343A (en) * 2004-08-18 2006-03-02 Fuji Xerox Co Ltd Parameter determining apparatus, coding device, method of determining parameter and its program
JP4538724B2 (en) * 2004-08-18 2010-09-08 富士ゼロックス株式会社 Parameter determining apparatus, encoding apparatus, parameter determining method and program thereof
US7420483B2 (en) 2006-04-03 2008-09-02 Fuji Xerox Co., Ltd. Data processing apparatus, data processing method, computer readable medium storing program, and computer data signal
JP2017508415A (en) * 2013-12-28 2017-03-23 同済大学 Image encoding / decoding method and apparatus
JP5828052B1 (en) * 2015-02-26 2015-12-02 株式会社 ディー・エヌ・エー Image compression apparatus, image compression method, and image compression program
GB2613053A (en) * 2021-09-15 2023-05-24 Synaptics Inc Image compression method and apparatus
GB2613053B (en) * 2021-09-15 2024-05-15 Synaptics Inc Image compression method and apparatus

Similar Documents

Publication Publication Date Title
US7751633B1 (en) Method for compressing an image
JP4444790B2 (en) Image compression method, image compression apparatus, image compression system, and program
JP4870743B2 (en) Selective chrominance decimation for digital images
JP4365957B2 (en) Image processing method and apparatus and storage medium
US20090034612A1 (en) Quantization method and apparatus in encoding/decoding
JP2003521178A (en) Quality-based image compression
JP2005517316A (en) Configurable pattern optimizer
JP2007267384A (en) Compression apparatus and compression method
JP2003018599A (en) Method and apparatus for encoding image
JP2003517796A (en) How to reduce the "uneven picture" effect
KR20130089461A (en) Method and apparatus for image encoding based on region characteristics, method and apparatus for image decoding based on region characteristics
JPH05219385A (en) Picture compression expansion method and device
JPH10224804A (en) Video coder providing scanning adaptability and tacit coefficient prediction for video image coding and intra-coding
JP2002232721A (en) Image coding apparatus and its method, and storage medium
JPH0951504A (en) Image encoding device and image decoding device
JP2003204436A (en) Image coding equipment and program thereof
JP3885704B2 (en) Image encoding device
JP2004193968A (en) Color image communication equipment
JP2003224868A (en) Image compression apparatus, image compression method, image compression program, and image expansion program
JP2006287487A (en) Encoder, encoding method and program, and information recording medium
JP2006005478A (en) Image encoder and image decoder
JP2002051221A (en) Device, system and method for encoding and decoding image and storage medium
JP2872149B2 (en) Image coding device
JP3907505B2 (en) Block truncation coding apparatus and method
JPH1023261A (en) Image-processing unit

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080401