JPH11252551A - Optimizing method and system for quantization table for image coding, and recording medium - Google Patents

Optimizing method and system for quantization table for image coding, and recording medium

Info

Publication number
JPH11252551A
JPH11252551A JP5338498A JP5338498A JPH11252551A JP H11252551 A JPH11252551 A JP H11252551A JP 5338498 A JP5338498 A JP 5338498A JP 5338498 A JP5338498 A JP 5338498A JP H11252551 A JPH11252551 A JP H11252551A
Authority
JP
Japan
Prior art keywords
quantization table
value
image data
image
evaluation function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5338498A
Other languages
Japanese (ja)
Other versions
JP2955266B2 (en
Inventor
Kazuki Hirata
和貴 平田
Junichi Yamada
順一 山田
Kazumasa Arakami
和正 新上
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.)
ATR KANKYO TEKIO TSUSHIN KENKY
ATR KANKYO TEKIO TSUSHIN KENKYUSHO KK
Original Assignee
ATR KANKYO TEKIO TSUSHIN KENKY
ATR KANKYO TEKIO TSUSHIN KENKYUSHO KK
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 ATR KANKYO TEKIO TSUSHIN KENKY, ATR KANKYO TEKIO TSUSHIN KENKYUSHO KK filed Critical ATR KANKYO TEKIO TSUSHIN KENKY
Priority to JP5338498A priority Critical patent/JP2955266B2/en
Publication of JPH11252551A publication Critical patent/JPH11252551A/en
Application granted granted Critical
Publication of JP2955266B2 publication Critical patent/JP2955266B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To obtain an optimizing method and its system for a quantization table in image coding for optimizing quantization at a high compression rate with excellent image quality and to obtain a recording medium to record its processing program. SOLUTION: A coding section 3 uses a quantization table to encode compressed image data to be coded into coded image data, and a decoding section 4 uses the quantization table to decode the coded image data into decoded image data. Then an image compression rate calculation section 8 calculates a compression rate for the compressed image data and the coded image data, and an image quality evaluation section 9 calculates an image quality evaluation scale resulting from evaluating the image quality of the decoded image data in comparison with that of the compressed image data. A controller 21 of a high dimension algorithm arithmetic section 1 updates the quantization table based on the value of the an evaluation function based on the arithmetic value and optimizes the quantization table by repeating the processing of each section above for a prescribed number of times.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ディジタルカメ
ラ、ディジタルビデオカメラ、ディジタルVTR、ディ
ジタル複写機及びプリンタ等において処理される画像デ
ータの符号化及び復号化において用いられる量子化テー
ブルの最適化方法及び装置、並びに上記最適化方法の処
理プログラムを記録した記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of optimizing a quantization table used in encoding and decoding of image data processed in a digital camera, a digital video camera, a digital VTR, a digital copying machine, a printer and the like. The present invention relates to an apparatus and a recording medium on which a processing program of the above-described optimization method is recorded.

【0002】[0002]

【従来の技術】従来の画像符号化方式の1つであるJP
EG(Joint Photographic Experts Group)画像符号化
方式の量子化テーブルの最適化として、遺伝的アルゴリ
ズムに基づく方法や離散コサイン変換(Descrete Cosin
e Transform:以下、DCTという。)の係数の統計的
性質に基づく方法等が提案されている。
2. Description of the Related Art JP, which is one of the conventional image coding systems,
As optimization of the quantization table of the Joint Photographic Experts Group (EG) image coding method, a method based on a genetic algorithm or discrete cosine transform (Descrete Cosin
e Transform: Hereinafter referred to as DCT. A method based on the statistical properties of the coefficient of (1) has been proposed.

【0003】平松らは、遺伝的アルゴリズムに基づく量
子化テーブルの最適化方法を提案している(例えば、従
来技術文献「平松治彦ほか,“遺伝的アルゴリズムによ
る画像圧縮の高機能化に関する研究”,システム制御情
報学会研究発表講演会講演論文集,Vol.38th,
pp.37−38,1994年」参照。)。当該方法
は、量子化テーブルを遺伝子とみなして遺伝的アルゴリ
ズムを適用することによって、JPEG符号化画像デー
タのための量子化テーブルの最適化を図る方法である。
遺伝的アルゴリズムにおけるいわゆる選択に主観的判断
を採り入れていることが、この最適化方法の特徴であ
る。この最適化方法においては、遺伝子に相当する量子
化テーブルの各値を448ビット(64個×7ビット)
で表現し、乱数により生成された量子化テーブルの中か
ら、初期個体として画質を重視した量子化テーブルを主
観的判断により選択する。また、個体数及び世代数は6
個体及び100世代に設定し、各世代において上記6個
体から3個体を選択して次世代の親とする。交叉には1
点交叉を用い、突然変異は1ビット当たり1%の確率で
のビット反転とする。80世代目に最良の画質となる量
子化テーブルが得られたことが報告されている。当該量
子化テーブルを用いて符号化した場合、第1世代の量子
化テーブルを用いて符号化したときと比べて圧縮率は向
上している。ただし、JPEG符号化のための例示値の
量子化テーブルに比べて圧縮率は変わらないことも報告
されている。
Hiramatsu et al. Have proposed a method for optimizing a quantization table based on a genetic algorithm (for example, see the prior art document "Harimatsu Hiramatsu et al.," Study on high-performance image compression by genetic algorithm ", Proceedings of the Society of System Control and Information Engineers Conference, Vol.38th,
pp. 37-38, 1994. " ). This method is a method for optimizing a quantization table for JPEG encoded image data by applying a genetic algorithm by regarding the quantization table as a gene.
It is a feature of this optimization method that subjective judgment is adopted in so-called selection in a genetic algorithm. In this optimization method, each value of a quantization table corresponding to a gene is set to 448 bits (64 × 7 bits).
And selects, by subjective judgment, a quantization table emphasizing image quality as an initial individual from among quantization tables generated by random numbers. The number of individuals and the number of generations are 6
Individuals and 100 generations are set, and in each generation, 3 individuals are selected from the above 6 individuals and used as parents of the next generation. 1 for crossover
Using point crossover, mutation is a bit inversion with a 1% probability per bit. It is reported that a quantization table with the best image quality was obtained in the 80th generation. When encoding is performed using the quantization table, the compression ratio is higher than when encoding is performed using the first-generation quantization table. However, it is also reported that the compression ratio does not change as compared with a quantization table of an example value for JPEG encoding.

【0004】また、ユーデ(Eude)らは、DCT係
数の統計的性質に基づく量子化テーブルの最適化方法を
提案している(例えば、従来技術文献「T. Eude et a
l.,“Statistical distribution of DCT coefficients
and their application to anadaptive compression al
gorithm”,Tencon,Vol.1,pp.427-430,1994」参照。)。
ユーデらは、トレーニング用の画像集合のDCT係数の
分布モデルから導出した量子化テーブルを用いてJPE
G符号化方式で符号化した場合、JPEG符号化のため
の例示値の量子化テーブルを用いて符号化した場合に比
べて、同じ圧縮率でもブロック効果のない画像品質のよ
り良い画像を得ることができることを報告している。こ
の最適化方法の対象とした画像は医療用画像であり、符
号化の対象となる医療用画像のDCT係数の分布は、3
個までのガウス分布の合成で表現することができること
が報告されている。この最適化方法では、上記の分布モ
デルによって量子化後の零の数を制御した量子化テーブ
ルを得る。ここでは、圧縮率は量子化されたDCT係数
の零の数だけで評価している。一般的には、量子化され
たDCT係数の零の数が多いほど圧縮率は高いことが期
待される。圧縮率を一定にした場合、JPEG符号化の
ための例示値の量子化テーブルを用いてJPEG符号化
方式で符号化した場合と比較すると、この方法によって
得られた量子化テーブルを用いてJPEG符号化方式で
符号化した場合は、高いSNR(画像についての信号対
雑音比)の画像を得ることができることが報告されてい
る。また、この結果は、CT(コンピュータ断層撮影
法)やMRI(磁気共鳴映像法)などの異なる種類の医
療画像でも変わらないことも報告されている。
Have proposed a method of optimizing a quantization table based on the statistical properties of DCT coefficients (for example, see the prior art document "T. Eude et a").
l., “Statistical distribution of DCT coefficients
and their application to anadaptive compression al
gorithm ”, Tencon, Vol. 1, pp. 427-430, 1994”. ).
Ude et al. Use a quantization table derived from a distribution model of DCT coefficients of a training image set to use JPE.
To obtain a better image quality with no block effect even at the same compression rate, when encoding using the G encoding method, as compared with encoding using the quantization table of the exemplary value for JPEG encoding Report that you can. The image targeted by this optimization method is a medical image, and the distribution of DCT coefficients of the medical image to be encoded is 3
It has been reported that it can be expressed by combining up to Gaussian distributions. In this optimization method, a quantization table in which the number of zeros after quantization is controlled by the distribution model is obtained. Here, the compression ratio is evaluated only by the number of zeros of the quantized DCT coefficient. In general, it is expected that the larger the number of zeros of the quantized DCT coefficient, the higher the compression ratio. When the compression ratio is fixed, the JPEG code is calculated using the quantization table obtained by this method, as compared with the case where encoding is performed by the JPEG coding method using the example value quantization table for JPEG coding. It has been reported that an image having a high SNR (signal-to-noise ratio for an image) can be obtained when encoding is performed by a coding scheme. It is also reported that this result does not change for different types of medical images such as CT (Computed Tomography) and MRI (Magnetic Resonance Imaging).

【0005】[0005]

【発明が解決しようとする課題】上記の遺伝的アルゴリ
ズムによる量子化テーブルの最適化方式の欠点は、より
高い圧縮率とより良好な画像の品質とを同時に満足する
量子化テーブルを得られないことである。一方、DCT
係数の統計量に基づく量子化テーブルの最適化方式の欠
点は、ある画像に対して最適化された量子化テーブルを
得ようとした場合に、その前提として統計を行なうため
に多くの画像が必要であることと、統計的に同じ性質を
持つ画像、つまり類似した画像(ユーデらの報告では医
療用画像である。)についての最適化された量子化テー
ブルしか得ることができないことである。
A disadvantage of the above-described method of optimizing a quantization table by a genetic algorithm is that a quantization table that satisfies both a higher compression rate and better image quality cannot be obtained at the same time. It is. On the other hand, DCT
The disadvantage of the quantization table optimization method based on coefficient statistics is that when trying to obtain an optimized quantization table for an image, many images are required to perform statistics as a prerequisite. And that only an optimized quantization table can be obtained for an image having the same statistical properties, that is, a similar image (a medical image in the report of Ude et al.).

【0006】そこで、一般的な画像の圧縮符号化に対し
て、高い圧縮率と良い画像の品質を同時に満足する量子
化テーブル最適化方法及び装置が望まれる。
Therefore, there is a need for a quantization table optimizing method and apparatus which simultaneously satisfies a high compression rate and good image quality for general image compression coding.

【0007】本発明の目的は以上の問題点を解決し、高
い圧縮率と優れた画像の品質で一般的な画像に対して符
号化を行うことができる量子化テーブルの最適化方法及
び装置、並びに最適化方法の処理プログラムを記録した
記録媒体を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above problems, and to provide a quantization table optimizing method and apparatus capable of encoding a general image with a high compression rate and excellent image quality. Another object of the present invention is to provide a recording medium recording a processing program of an optimization method.

【0008】[0008]

【課題を解決するための手段】本発明に係る請求項1記
載の画像符号化のための量子化テーブルの最適化方法
は、符号化すべき被圧縮画像データを量子化テーブルを
用いて符号化画像データに符号化する符号化ステップ
と、上記符号化画像データを上記量子化テーブルを用い
て復号化画像データに復号化する復号化ステップと、上
記被圧縮画像データと上記符号化画像データとのデータ
量の比率、もしくは復号化画像データの1画素当たりの
ビット数であるビットレート(ビットで表現した情報
量)である圧縮率を演算し、かつ上記被圧縮画像データ
と比較して上記復号化画像データの画質を評価した画質
評価尺度を演算する演算ステップと、上記圧縮率と上記
画質評価尺度とに基づく評価関数の値を演算し、当該評
価関数の値に基づいて上記量子化テーブルを更新する更
新ステップと、上記符号化ステップと、上記復号化ステ
ップと、上記演算ステップと、上記更新ステップとの各
ステップを所定の回数だけ反復することによって上記量
子化テーブルを最適化する制御ステップとを含むことを
特徴とする。
According to a first aspect of the present invention, there is provided a method for optimizing a quantization table for image encoding, wherein compressed image data to be encoded is encoded using a quantization table. An encoding step of encoding data; a decoding step of decoding the encoded image data into decoded image data using the quantization table; and a data of the compressed image data and the encoded image data. Calculates a compression ratio, which is a ratio of the amount or a bit rate (amount of information expressed in bits), which is the number of bits per pixel of the decoded image data, and compares the calculated compression ratio with the compressed image data. A calculating step of calculating an image quality evaluation scale for evaluating the image quality of the data; calculating an evaluation function value based on the compression ratio and the image quality evaluation scale; Optimizing the quantization table by repeating a predetermined number of times the update step of updating the quantization table, the encoding step, the decoding step, the calculation step, and the update step. And a controlling step.

【0009】また、請求項2記載の画像符号化のための
量子化テーブルの最適化方法は、請求項1記載の画像符
号化のための量子化テーブルの最適化方法において、上
記画質評価尺度は、日本工業規格Z8730で定義さ
れ、上記被圧縮画像データの画像の物体色と、上記復号
化画像データの画像の物体色との距離を示す物体色の色
差であることを特徴とする。
According to a second aspect of the present invention, there is provided a method for optimizing a quantization table for image encoding, wherein the image quality evaluation scale is set as follows. , Defined by Japanese Industrial Standards Z8730, and is characterized by a color difference of an object color indicating a distance between the object color of the image of the compressed image data and the object color of the image of the decoded image data.

【0010】さらに、請求項3記載の画像符号化のため
の量子化テーブルの最適化方法は、請求項1記載の画像
符号化のための量子化テーブルの最適化装置において、
上記画質評価尺度は、上記被圧縮画像データの最大値を
信号とし、上記被圧縮画像データと上記復号化画像デー
タとの差を雑音としたときの信号対雑音比であることを
特徴とする。
Further, the method for optimizing a quantization table for image encoding according to claim 3 is a method for optimizing a quantization table for image encoding according to claim 1, wherein:
The image quality evaluation scale is a signal-to-noise ratio when the maximum value of the compressed image data is a signal, and the difference between the compressed image data and the decoded image data is noise.

【0011】また、請求項4記載の画像符号化のための
量子化テーブルの最適化方法は、請求項1、2又は3記
載の画像符号化のための量子化テーブルの最適化装置に
おいて、上記評価関数は、上記圧縮率を所定の第1の重
み係数で乗算した値と、上記画質評価尺度を所定の第2
の重み係数で乗算した値とを加算することによって定義
され、上記更新ステップは、上記評価関数の絶対値を大
きくするように上記量子化テーブルの値を変更すること
を特徴とする。ここで、上記評価関数は、圧縮率と物体
色の色差によって構成される場合には、第1の重み係数
と第2の重み係数とを異なる符号とすることを特徴とす
る。また、上記評価関数は、圧縮率と信号対雑音比によ
って構成される場合には、第1の重み係数と第2の重み
係数とを同じ符号とすることを特徴とする。
According to a fourth aspect of the present invention, there is provided a quantization table optimizing apparatus for image encoding according to the first, second, or third aspect. The evaluation function is a value obtained by multiplying the compression ratio by a predetermined first weighting factor and the image quality evaluation scale by a predetermined second weighting coefficient.
The update step is characterized by changing the value of the quantization table so as to increase the absolute value of the evaluation function. Here, when the evaluation function is constituted by the compression ratio and the color difference between the object colors, the first weighting coefficient and the second weighting coefficient are different codes. Further, when the evaluation function is composed of a compression ratio and a signal-to-noise ratio, the first weighting coefficient and the second weighting coefficient have the same sign.

【0012】さらに、請求項7記載の画像符号化のため
の量子化テーブルの最適化方法は、請求項1乃至6のう
ちの1つに記載の画像符号化のための量子化テーブルの
最適化方法において、上記更新ステップは、上記符号化
及び復号化に用いた現在の量子化テーブルを用いて演算
された評価関数の値と、上記現在の量子化テーブルの値
に所定の微小な値を加算したときの量子化テーブルを用
いて演算された評価関数の値との間の変化量に基づい
て、上記現在の量子化テーブルの値を更新することを特
徴とする。
Further, the method of optimizing a quantization table for image coding according to claim 7 is a method of optimizing a quantization table for image coding according to one of claims 1 to 6. In the method, the updating step includes adding a predetermined small value to the value of the evaluation function calculated using the current quantization table used for the encoding and decoding and the value of the current quantization table. The current value of the quantization table is updated based on the amount of change between the value of the evaluation function calculated using the quantization table and the value of the current quantization table.

【0013】本発明に係る請求項8記載の画像符号化の
ための量子化テーブルの最適化装置は、符号化すべき被
圧縮画像データを量子化テーブルを用いて符号化画像デ
ータに符号化する符号化手段と、上記符号化画像データ
を上記量子化テーブルを用いて復号化画像データに復号
化する復号化手段と、上記被圧縮画像データと上記符号
化画像データとのデータ量の比率、もしくは復号化画像
データの1画素当たりのビット数であるビットレートで
ある圧縮率を演算し、かつ上記被圧縮画像データと比較
して上記復号化画像データの画質を評価した画質評価尺
度を演算する演算手段と、上記圧縮率と上記画質評価尺
度とに基づく評価関数の値を演算し、当該評価関数の値
に基づいて上記量子化テーブルを更新する更新手段と、
上記符号化手段と、上記復号化手段と、上記演算手段
と、上記更新手段との各処理を所定の回数だけ反復する
ことによって上記量子化テーブルを最適化する制御手段
とを備えたことを特徴とする。
According to a eighth aspect of the present invention, there is provided an apparatus for optimizing a quantization table for image encoding, comprising the steps of encoding compressed image data to be encoded into encoded image data using the quantization table. Decoding means, decoding means for decoding the encoded image data into decoded image data using the quantization table, and a data amount ratio or decoding between the compressed image data and the encoded image data. Calculating means for calculating a compression rate which is a bit rate which is the number of bits per pixel of the decoded image data, and calculating an image quality evaluation scale for evaluating the image quality of the decoded image data by comparing with the compressed image data. Updating means for calculating a value of an evaluation function based on the compression ratio and the image quality evaluation scale, and updating the quantization table based on the value of the evaluation function;
Control means for optimizing the quantization table by repeating each processing of the encoding means, the decoding means, the calculating means, and the updating means a predetermined number of times. And

【0014】また、請求項9記載の画像符号化のための
量子化テーブルの最適化装置は、請求項8記載の画像符
号化のための量子化テーブルの最適化装置において、上
記画質評価尺度は、日本工業規格Z8730で定義さ
れ、上記被圧縮画像データの画像の物体色と上記復号化
画像データの画像の物体色との距離を示す物体色の色差
であることを特徴とする。
According to a ninth aspect of the present invention, there is provided an apparatus for optimizing a quantization table for image encoding, wherein the image quality evaluation scale is set as follows. , Defined by Japanese Industrial Standards Z8730, and is a color difference of an object color indicating a distance between the object color of the image of the compressed image data and the object color of the image of the decoded image data.

【0015】さらに、請求項10記載の画像符号化のた
めの量子化テーブルの最適化装置は、請求項8記載の画
像符号化のための量子化テーブルの最適化装置におい
て、上記画質評価尺度は、上記被圧縮画像データの最大
値を信号とし、上記被圧縮画像データと上記復号化画像
データとの差を雑音としたときの信号対雑音比であるこ
とを特徴とする。
Further, according to a tenth aspect of the present invention, there is provided an apparatus for optimizing a quantization table for image encoding according to the eighth aspect of the present invention. And a signal-to-noise ratio when the maximum value of the compressed image data is defined as a signal and the difference between the compressed image data and the decoded image data is defined as noise.

【0016】また、請求項11記載の画像符号化のため
の量子化テーブルの最適化装置は、請求項8、9又は1
0記載の画像符号化のための量子化テーブルの最適化装
置において、上記評価関数は、上記圧縮率を所定の第1
の重み係数で乗算した値と、上記画質評価尺度を所定の
第2の重み係数で乗算した値とを加算することによって
定義され、上記更新手段は、上記評価関数の絶対値を大
きくするように上記量子化テーブルの値を変更すること
を特徴とする。ここで、上記評価関数は、圧縮率と物体
色の色差によって構成される場合には、第1の重み係数
と第2の重み係数とを異なる符号とすることを特徴とす
る。また、上記評価関数は、圧縮率と信号対雑音比によ
って構成される場合には、第1の重み係数と第2の重み
係数とを同じ符号とすることを特徴とする。
According to the eleventh aspect of the present invention, there is provided an apparatus for optimizing a quantization table for image encoding.
0, wherein the evaluation function sets the compression ratio to a predetermined first value.
And a value obtained by multiplying the image quality evaluation scale by a predetermined second weighting factor, and the updating means increases the absolute value of the evaluation function. The value of the quantization table is changed. Here, when the evaluation function is constituted by the compression ratio and the color difference between the object colors, the first weighting coefficient and the second weighting coefficient are different codes. Further, when the evaluation function is composed of a compression ratio and a signal-to-noise ratio, the first weighting coefficient and the second weighting coefficient have the same sign.

【0017】さらに、請求項14記載の画像符号化のた
めの量子化テーブルの最適化装置は、請求項8乃至13
のうちの1つに記載の画像符号化のための量子化テーブ
ルの最適化装置において、上記更新手段は、上記符号化
及び復号化に用いた現在の量子化テーブルを用いて上記
演算手段によって演算された評価関数の値と、上記現在
の量子化テーブルの値に所定の微小な値を加算したとき
の量子化テーブルを用いて上記演算手段によって演算さ
れた評価関数の値との間の変化量に基づいて、上記現在
の量子化テーブルの値を更新することを特徴とする。
Further, the apparatus for optimizing a quantization table for image encoding according to claim 14 is provided.
In the apparatus for optimizing a quantization table for image encoding according to any one of the above, the updating unit performs an operation by the arithmetic unit using a current quantization table used for the encoding and decoding. Between the calculated value of the evaluation function and the value of the evaluation function calculated by the calculation means using the quantization table when a predetermined minute value is added to the value of the current quantization table. , The current value of the quantization table is updated.

【0018】本発明に係る請求項15記載の記録媒体
は、請求項1乃至7のうちの1つに記載の画像符号化の
ための量子化テーブルの最適化方法に含まれる各ステッ
プの処理プログラムを記録したことを特徴とする。
According to a fifteenth aspect of the present invention, there is provided a recording medium according to any one of the first to seventh aspects, wherein each of the steps is included in a method for optimizing a quantization table for image encoding. Is recorded.

【0019】[0019]

【発明の実施の形態】以下、本発明に係る一実施形態の
量子化テーブル最適化方法を実施するための画像処理シ
ステムの例について図面を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an example of an image processing system for implementing a quantization table optimizing method according to an embodiment of the present invention will be described with reference to the drawings.

【0020】図1は、本発明に係る一実施形態に基づく
画像処理システムの構成例を示すブロック図である。本
実施形態の画像処理システムは、(a)量子化テーブル
の値を最適化するアルゴリズムを実装する高次元アルゴ
リズム演算部1と、(b)高次元アルゴリズム演算部1
によって最適化された、符号化及び復号化のための量子
化テーブルの値又は最適化の途中の一時的な量子化テー
ブルの値を記憶する量子化テーブル記憶部2と、(c)
被圧縮画像記憶部5において記憶される圧縮すべき被圧
縮画像データを量子化テーブル記憶部2に記憶された量
子化テーブルの値を用いてJPEG符号化するJPEG
符号化部3と、(d)JPEG画像記憶部6において記
憶された復号化すべきJPEG画像データを量子化テー
ブル記憶部2に記憶された量子化テーブルの値を用いて
JPEG復号化するJPEG復号化部4と、(e)画像
処理の対象である圧縮すべき被圧縮画像データを記憶す
る被圧縮画像記憶部5と、(f)JPEG符号化部3に
よって圧縮されたJPEG符号化画像データを記憶する
JPEG画像記憶部6と、(g)JPEG復号化部4に
よって復号化された復号化画像データを記憶する復号化
画像記憶部7と、(h)被圧縮画像記憶部5において記
憶される被圧縮画像データ及びJPEG画像記憶部6に
おいて記憶されたJPEG符号化画像データを用いてそ
れぞれの画像データのサイズのバイト単位の比を演算す
ることによって画像の圧縮率を算出する画像圧縮率算出
部8と、(i)被圧縮画像記憶部5において記憶される
被圧縮画像及び復号化画像記憶部7において記憶される
復号化画像の品質を評価する画像品質評価部9とを備え
る。
FIG. 1 is a block diagram showing a configuration example of an image processing system according to an embodiment of the present invention. The image processing system according to the present embodiment includes (a) a high-dimensional algorithm operation unit 1 that implements an algorithm for optimizing a value of a quantization table, and (b) a high-dimensional algorithm operation unit 1
A quantization table storage unit 2 for storing a value of a quantization table for encoding and decoding or a value of a temporary quantization table in the course of optimization optimized by (c).
JPEG encoding of the compressed image data to be compressed stored in the compressed image storage unit 5 using the value of the quantization table stored in the quantization table storage unit 2
JPEG decoding in which the encoding unit 3 and (d) JPEG decoding of the JPEG image data to be decoded stored in the JPEG image storage unit 6 using the values of the quantization table stored in the quantization table storage unit 2 Unit 4, (e) a compressed image storage unit 5 for storing compressed image data to be compressed, which is a target of image processing, and (f) JPEG encoded image data compressed by the JPEG encoding unit 3. JPEG image storage unit 6, (g) decoded image storage unit 7 for storing the decoded image data decoded by JPEG decoding unit 4, and (h) compressed image storage unit 5 By using the compressed image data and the JPEG encoded image data stored in the JPEG image storage unit 6, the ratio of the size of each image data in byte units is calculated. And (i) an image for evaluating the quality of the compressed image stored in the compressed image storage unit 5 and the quality of the decoded image stored in the decoded image storage unit 7 And a quality evaluation unit 9.

【0021】高次元アルゴリズム演算部1は、量子化テ
ーブルの値を最適化するアルゴリズムを実装したもので
あり、画像圧縮率算出部8の出力値である画像の圧縮率
及び画像品質評価部9の出力値である画像品質評価値を
用いて、量子化テーブルの値を最適化し、その結果値を
量子化テーブル記憶部2に出力する。高次元アルゴリズ
ム演算部1は、図2及び図3に示すように、制御装置2
1と、座標初期値記憶装置22と、座標記憶装置23
と、座標量子化ステップ変換装置24と、量子化テーブ
ル一時記憶装置25と、量子化テーブル読み出し装置2
6と、座標演算装置27と、更新前座標記憶装置28
と、座標差分演算装置29と、座標差分記憶装置210
と、微小時間定数記憶装置211と、速度演算装置21
2と、速度記憶装置213と、微小座標差分演算装置2
14と、減衰定数記憶装置215と、微小座標差分記憶
装置216と、圧縮率記憶装置217と、評価関数演算
装置218と、更新前評価関数値記憶装置219と、力
演算装置220と、画像品質評価値記憶装置221と、
更新後評価関数値記憶装置222と、力記憶装置223
と、一時座標記憶装置224と,データベース装置22
5とを備える。
The high-dimensional algorithm operation unit 1 implements an algorithm for optimizing the value of the quantization table, and the image compression ratio and the image quality evaluation unit 9 which is the output value of the image compression ratio calculation unit 8. The value of the quantization table is optimized using the image quality evaluation value that is the output value, and the result value is output to the quantization table storage unit 2. As shown in FIGS. 2 and 3, the high-dimensional algorithm operation unit 1
1, a coordinate initial value storage device 22, and a coordinate storage device 23
, A coordinate quantization step conversion device 24, a quantization table temporary storage device 25, and a quantization table reading device 2
6, a coordinate calculation device 27, and a coordinate storage device 28 before update
, Coordinate difference calculation device 29, coordinate difference storage device 210
, A minute time constant storage device 211, and a speed calculation device 21
2, the speed storage device 213, and the minute coordinate difference calculation device 2
14, an attenuation constant storage device 215, a minute coordinate difference storage device 216, a compression ratio storage device 217, an evaluation function operation device 218, a pre-update evaluation function value storage device 219, a force operation device 220, an image quality An evaluation value storage device 221;
Evaluation function value storage device 222 after update and force storage device 223
, The temporary coordinate storage device 224 and the database device 22
5 is provided.

【0022】量子化テーブル記憶部2は、高次元アルゴ
リズム演算部1によって最適化された量子化テーブルの
値又は最適化の途中の一時的な量子化テーブルの値を記
憶するための記憶装置である。量子化テーブル記憶部2
は、一般的なメモリで構成される。
The quantization table storage unit 2 is a storage device for storing the values of the quantization table optimized by the high-dimensional algorithm operation unit 1 or the values of the temporary quantization table during the optimization. . Quantization table storage unit 2
Is composed of a general memory.

【0023】JPEG符号化部3は、被圧縮画像記憶部
5に記憶される圧縮すべき被圧縮画像データを読み出
し、当該被圧縮画像データを量子化テーブル記憶部2に
記憶された量子化テーブルの値を用いてJPEG符号化
し、その結果値であるJPEG符号化画像データ(以
下、符号化画像データという。)をJPEG画像記憶部
6に出力する。JPEG符号化部3は、図4に示される
ように、被圧縮画像記憶部5に記憶された圧縮すべき被
圧縮画像データを読み出して色変換装置32に出力する
被圧縮画像読み取り装置31と、色変換装置32と、画
素間引き装置33と、DCT演算装置34と、量子化装
置35と、ハフマン符号化装置36と、JPEG画像読
み出し装置37とを備える。JPEG符号化部3は、公
知の方法で、符号化すべき画像を読み取って画像データ
に変換した後、色変換処理、画素間引き処理、DCT演
算処理、量子化処理及びハフマン符号化処理を実行する
ことによりJPEG符号化して、符号化画像データをJ
PEG画像読み出し装置37から出力する。
The JPEG encoding unit 3 reads out the compressed image data to be compressed stored in the compressed image storage unit 5 and stores the compressed image data in the quantization table stored in the quantization table storage unit 2. JPEG encoding is performed using the values, and the resulting value, JPEG encoded image data (hereinafter, referred to as encoded image data), is output to the JPEG image storage unit 6. As shown in FIG. 4, the JPEG encoding unit 3 reads the compressed image data to be compressed stored in the compressed image storage unit 5 and outputs the compressed image data to the color conversion device 32, The image processing apparatus includes a color conversion device 32, a pixel thinning device 33, a DCT operation device 34, a quantization device 35, a Huffman coding device 36, and a JPEG image reading device 37. The JPEG encoding unit 3 reads an image to be encoded and converts it into image data by a known method, and then executes a color conversion process, a pixel thinning process, a DCT operation process, a quantization process, and a Huffman encoding process. JPEG encoding, and the encoded image data
Output from the PEG image reading device 37.

【0024】JPEG復号化部4は、JPEG画像記憶
部6において記憶される復号化すべきJPEG画像デー
タを読み出し、当該JPEG画像データを量子化テーブ
ル記憶部2に記憶された量子化テーブルの値を用いてJ
PEG復号化し、その結果値を復号化画像記憶部7に出
力する。JPEG復号化部4は、図5に示されるよう
に、JPEG画像読み取り装置41と、ハフマン復号化
装置42と、逆量子化装置43と、IDCT演算装置4
4と、画素補間装置45と、色変換装置46と、復号化
画像読み出し装置47とを備える。JPEG復号化部4
は、公知の方法で、読み取った画像データに対して、ハ
フマン復号化処理と、逆量子化処理と、逆離散コサイン
変換(IDCT)であるIDCT演算処理と、画素補間
処理と、色変換処理とを実行することによりJPEG復
号化することにより、JPEG復号化された復号化画像
データ(以下、復号化画像データという。)を復号化画
像読み出し装置47から出力する。
The JPEG decoding unit 4 reads out the JPEG image data to be decoded stored in the JPEG image storage unit 6 and uses the JPEG image data by using the value of the quantization table stored in the quantization table storage unit 2. J
PEG decoding is performed, and the result value is output to the decoded image storage unit 7. As shown in FIG. 5, the JPEG decoding unit 4 includes a JPEG image reading device 41, a Huffman decoding device 42, an inverse quantization device 43, and an IDCT operation device 4.
4, a pixel interpolating device 45, a color converting device 46, and a decoded image reading device 47. JPEG decoding unit 4
In a known method, Huffman decoding processing, inverse quantization processing, IDCT operation processing which is an inverse discrete cosine transform (IDCT), pixel interpolation processing, color conversion processing, Is performed, the decoded image data (hereinafter, referred to as decoded image data) subjected to JPEG decoding is output from the decoded image reading device 47.

【0025】被圧縮画像記憶部5は、画像処理の対象と
なる圧縮すべき画像データを記憶する。JPEG画像記
憶部6は、JPEG符号化部3によって圧縮されて符号
化された符号化画像データを記憶する。当該圧縮された
符号化画像データは、JPEG復号化部4に入力され
る。復号化画像記憶部7は、JPEG復号化部4によっ
て復号化された復号化画像データを記憶する。ここで、
被圧縮画像記憶部5、JPEG画像記憶部6及び復号化
画像記憶部7は、一般的なメモリで構成される。
The compressed image storage section 5 stores image data to be compressed which is to be subjected to image processing. The JPEG image storage unit 6 stores the encoded image data compressed and encoded by the JPEG encoding unit 3. The compressed encoded image data is input to the JPEG decoding unit 4. The decoded image storage unit 7 stores the decoded image data decoded by the JPEG decoding unit 4. here,
The compressed image storage unit 5, the JPEG image storage unit 6, and the decoded image storage unit 7 are configured by a general memory.

【0026】画像圧縮率算出部8は、被圧縮画像記憶部
5において記憶された被圧縮画像データと、JPEG画
像記憶部6において記憶された符号化画像データとを読
み出し、それぞれの画像データのサイズのバイト単位の
比を演算することによって、画像データの圧縮率を算出
し、その演算結果値を高次元アルゴリズム演算部1に出
力する。例えば、画像データの圧縮率は、被圧縮画像デ
ータのデータサイズを符号化画像データのデータサイズ
で除算した値として定義される。
The image compression ratio calculation section 8 reads out the compressed image data stored in the compressed image storage section 5 and the encoded image data stored in the JPEG image storage section 6 and determines the size of each image data. By calculating the ratio of the image data in units of bytes, the compression ratio of the image data is calculated, and the operation result value is output to the high-dimensional algorithm operation unit 1. For example, the compression ratio of image data is defined as a value obtained by dividing the data size of compressed image data by the data size of encoded image data.

【0027】画像品質評価部9は、被圧縮画像記憶部5
において記憶された被圧縮画像データと、復号化画像記
憶部7において記憶された復号化画像データとを読み出
し、それらの画像品質評価値を演算し、その演算結果値
を高次元アルゴリズム演算部1に出力する。画像品質の
評価尺度である画像品質評価値は、好ましくは、画像品
質の評価尺度として、日本工業規格(JIS)Z873
0で定義され、被圧縮画像の物体色と復号化画像の物体
色との距離である物体色の色差(以下、物体色の色差と
いう。)、又は被圧縮画像と復号化画像との間の信号対
雑音比(以下、SNRという。)等を用いる。これらの
値は次のように算出される。
The image quality evaluator 9 includes a compressed image storage 5
, And the decoded image data stored in the decoded image storage unit 7 are read, the image quality evaluation values are calculated, and the calculation result value is sent to the high-dimensional algorithm calculation unit 1. Output. The image quality evaluation value, which is an image quality evaluation scale, is preferably a Japanese Industrial Standard (JIS) Z873 as an image quality evaluation scale.
0, which is the distance between the object color of the compressed image and the object color of the decoded image (hereinafter referred to as the color difference of the object color), or the difference between the compressed image and the decoded image. A signal-to-noise ratio (hereinafter, referred to as SNR) or the like is used. These values are calculated as follows.

【0028】上記物体色の色差は、日本工業規格(JI
S)Z8730における定義によれば、L*a*b表色
系(CIELAB表色系)において計測される物体色の
色差であり、物体色の色差をΔEとすると、当該物体色
の色差ΔEは次式の数1を用いて演算される。
The color difference between the object colors is determined by the Japanese Industrial Standard (JI
S) According to the definition in Z8730, it is the color difference of the object color measured in the L * a * b color system (CIELAB color system). If the color difference of the object color is ΔE, the color difference ΔE of the object color is It is calculated using the following equation (1).

【数1】ΔE=√(ΔL*2+Δa*2+Δb*2) ここで、ΔL*は、被圧縮画像データの画像の物体色と
復号化画像データの画像の物体色のCIE1976明度
L*の差であり、Δa*は被圧縮画像データの画像の物
体色と復号化画像データの画像の物体色との色座標a*
の差であり、Δb*は被圧縮画像データの画像の物体色
と復号化画像データの画像の物体色との色座標b*の差
である。上記の数1を利用して各画素に対する色差を求
め、それを画像全体で平均した平均色差を上記の画像品
質評価値として用いる。以下、当該平均色差を単に色差
という。なお、画像の色成分である色差信号の「色差」
とは異なるものである。
ΔE = √ (ΔL * 2 + Δa * 2 + Δb * 2 ) where ΔL * is the CIE1976 lightness L * of the object color of the image of the compressed image data and the object color of the image of the decoded image data. Δa * is a color coordinate a * between the object color of the image of the compressed image data and the object color of the image of the decoded image data.
Δb * is the difference between the color coordinates b * of the object color of the image of the compressed image data and the object color of the image of the decoded image data. The color difference for each pixel is obtained by using the above equation 1, and the average color difference obtained by averaging the color differences for the entire image is used as the image quality evaluation value. Hereinafter, the average color difference is simply referred to as color difference. The “color difference” of the color difference signal, which is the color component of the image,
Is different from

【0029】また、上記SNRは、信号として被圧縮画
像データの画素値の最大値を用い、例えば8ビット/画
素の場合の画像データであれば255を信号として用
い、雑音として復号化画像データと被圧縮画像データと
の間の平均2乗誤差nを用いた信号対雑音比の値であ
り、次式の数2を用いて演算される。
For the SNR, the maximum value of the pixel values of the compressed image data is used as a signal. For example, if the image data is 8 bits / pixel, 255 is used as a signal, and the decoded image data and noise are used as noise. This is a signal-to-noise ratio value using a mean square error n with the compressed image data, and is calculated using the following equation (2).

【数2】SNR=20・log{255/√(n)} ここで、平均2乗誤差nは以下の(a)乃至(c)にお
ける数3乃至5のいずれかで演算される値である。以
下、M及びNはそれぞれ画像の幅及び高さの画素数であ
り、(i,j)は画素の位置(座標値)とする。
SNR = 20 · log {255 / {(n)} where the mean square error n is a value calculated by one of the following equations (a) to (c). . Hereinafter, M and N are the number of pixels of the width and height of the image, respectively, and (i, j) is the position (coordinate value) of the pixel.

【0030】(a)輝度成分のみを考慮した場合(A) When only luminance component is considered

【0031】[0031]

【数3】 (Equation 3)

【0032】ここで、YO(i,j)は被圧縮画像デー
タの輝度成分であり、YD(i,j)は復号化画像デー
タの輝度成分である。
Here, Y O (i, j) is a luminance component of the compressed image data, and Y D (i, j) is a luminance component of the decoded image data.

【0033】(b)全色成分を考慮した場合(RGB表
色系)
(B) Considering all color components (RGB color system)

【0034】[0034]

【数4】 M N n={1/(3MN)}×[Σ Σ{RO(i,j)−RD(i,j)}2 i j M N +Σ Σ{GO(i,j)−GD(i,j)}2 i j M N +Σ Σ{BO(i,j)−GD(i,j)}2] i jEquation 4] M N n = {1 / ( 3MN)} × [Σ Σ {R O (i, j) -R D (i, j)} 2 i j M N + Σ Σ {G O (i, j ) -G D (i, j) } 2 i j M N + Σ Σ {B O (i, j) -G D (i, j)} 2] i j

【0035】ここで、RGB表色系とは、CIE表色系
のもとになる3色表色系であって、赤色Rと緑色Gと青
色Bの3つの単色放射に基づく表色系である。また、R
O(i,j)及びRD(i,j)はそれぞれ被圧縮画像デ
ータ及び復号化画像データの赤色の成分(R成分)であ
り、GO(i,j)及びGD(i,j)はそれぞれ、被圧
縮画像データ及び復号化画像データの緑色の成分(G成
分)であり、BO(i,j)及びGD(i,j)はそれぞ
れ、被圧縮画像データ及び復号化画像データの青色の成
分(B成分)である。
Here, the RGB color system is a three-color system based on the CIE color system, and is a color system based on three monochromatic radiations of red R, green G and blue B. is there. Also, R
O (i, j) and R D (i, j) are red components (R components) of the compressed image data and the decoded image data, respectively, and G O (i, j) and G D (i, j). ) Are the green components (G components) of the compressed image data and the decoded image data, respectively, and B O (i, j) and G D (i, j) are the compressed image data and the decoded image data, respectively. This is the blue component (B component) of the data.

【0036】(c)全色成分を考慮した場合(輝度Yと
色差Cr,Cbで表したとき)
(C) When all color components are considered (when represented by luminance Y and color differences Cr and Cb)

【0037】[0037]

【数5】 (Equation 5)

【0038】ここで、YO(i,j)及びYD(i,j)
はそれぞれ、被圧縮画像データ及び復号化画像データの
Y成分(輝度成分)であり、CbO(i,j)及びCbD
(i,j)はそれぞれ、被圧縮画像データ及び復号化画
像データのCb成分(色差Cb成分)であり、Cr
O(i,j)及びCrD(i,j)はそれぞれ、被圧縮画
像データ及び復号化画像データのCr成分(色差Cr成
分)である。
Here, Y O (i, j) and Y D (i, j)
Are the Y components (luminance components) of the compressed image data and the decoded image data, respectively, Cb O (i, j) and Cb D
(I, j) are Cb components (color difference Cb components) of the compressed image data and the decoded image data, respectively, and Cr
O (i, j) and Cr D (i, j) are Cr components (chrominance Cr components) of the compressed image data and the decoded image data, respectively.

【0039】次いで、制御装置21について詳説する。
制御装置21は、高次元アルゴリズム演算部1の処理を
管理制御する。制御装置21は、図6に示されるよう
に、演算回路51と、制御回路52と、記憶回路53
と、最小座標値保持レジスタ54と、最大座標値保持レ
ジスタ55と、時間カウンタ56と、最大時間保持レジ
スタ57と、周波数カウンタ58と、最大周波数保持レ
ジスタ59と、速度吸収定数保持レジスタ510と、内
部バス511とを備える。
Next, the control device 21 will be described in detail.
The control device 21 manages and controls the processing of the high-dimensional algorithm operation unit 1. The control device 21 includes, as shown in FIG. 6, an arithmetic circuit 51, a control circuit 52, and a storage circuit 53.
A minimum coordinate value holding register 54, a maximum coordinate value holding register 55, a time counter 56, a maximum time holding register 57, a frequency counter 58, a maximum frequency holding register 59, a speed absorption constant holding register 510, An internal bus 511 is provided.

【0040】演算回路51は、制御装置21自身及びシ
ステム全体の各種演算を行なう。例えば、後述する時間
カウンタ56、最大時間保持レジスタ57、周波数カウ
ンタ58及び最大周波数保持レジスタ59を用いた反復
処理の終了判定のための比較演算などを行なう。制御回
路52は、制御装置21自身及びシステム全体の各種管
理制御を行なう。記憶回路53は、制御装置21自身及
びシステム全体の管理、制御又は演算などに必要な処理
プログラム及び、処理プログラムを実行するために必要
なデータを記憶する。
The operation circuit 51 performs various operations of the control device 21 and the entire system. For example, a comparison operation for determining the end of the repetitive processing using the time counter 56, the maximum time holding register 57, the frequency counter 58, and the maximum frequency holding register 59, which will be described later, is performed. The control circuit 52 performs various management controls of the control device 21 itself and the entire system. The storage circuit 53 stores a processing program necessary for management, control, or operation of the control device 21 and the entire system, and data necessary for executing the processing program.

【0041】最小座標値保持レジスタ54は、座標値の
下限値である最小座標値qminを保持し、最大座標値保
持レジスタ55は、座標値の上限値である最大座標値q
maxを保持する。また、時間カウンタ56は、反復回数
の現在の値tを保持する。ここで、後述する第1の反復
制御処理における繰り返し回数又は反復回数を「時間」
という。最大時間保持レジスタ57は、反復回数(時
間)の最大値である最大時間tmaxを保持する。さら
に、周波数カウンタ58は、DCT演算における現在の
周波数の値iを保持する。JPEG符号化部3のDCT
演算装置34及びJPEG復号化部4のIDCT演算装
置44は、周波数カウンタ58に保持される周波数iに
対応するDCT係数を算出する。
The minimum coordinate value holding register 54 holds the minimum coordinate value q min which is the lower limit value of the coordinate value, and the maximum coordinate value holding register 55 stores the maximum coordinate value q which is the upper limit value of the coordinate value.
Keep max . Further, the time counter 56 holds a current value t of the number of repetitions. Here, the number of repetitions or the number of repetitions in a first repetition control process to be described later is “time”.
That. The maximum time holding register 57 holds a maximum time t max which is the maximum value of the number of repetitions (time). Further, the frequency counter 58 holds the current frequency value i in the DCT operation. DCT of JPEG encoder 3
The arithmetic unit 34 and the IDCT arithmetic unit 44 of the JPEG decoding unit 4 calculate the DCT coefficient corresponding to the frequency i held in the frequency counter 58.

【0042】本発明に係る一実施形態の画像処理システ
ムにおける量子化テーブルの値、座標、更新前座標、速
度は各周波数に対して演算される。最大周波数保持レジ
スタ59は周波数iの最大値imaxを保持する。ここ
で、輝度信号用量子化テーブルのみ又は色差信号用量子
化テーブルのみを最適化する場合には、最大周波数保持
レジスタ59の保持すべき最大周波数imaxは64であ
るが、輝度信号用量子化テーブルと色差信号用量子化テ
ーブルとを同時に最適化する場合には、最大周波数保持
レジスタ59の保持すべき最大周波数imaxは128で
ある。そこで、輝度信号用量子化テーブルのみ又は色差
信号用量子化テーブルのみを最適化する場合には、周波
数カウンタ58の示す周波数iは、1から64までであ
り、輝度信号用量子化テーブルと色差信号用量子化テー
ブルとを同時に最適化する場合には、周波数カウンタ5
8の示す周波数iは、1から128までである。なお、
輝度信号用量子化テーブルと色差信号用量子化テーブル
とを同時に最適化する場合、周波数カウンタ58の示す
値iが1から64までを示すときには、輝度信号用量子
化テーブルの各周波数に対する処理などを行い、周波数
カウンタ58の示す周波数値iが65から128までを
示すときには、色差信号用量子化テーブルの各周波数に
対する処理などを行う。
In the image processing system according to the embodiment of the present invention, the values, coordinates, pre-update coordinates, and speed of the quantization table are calculated for each frequency. The maximum frequency holding register 59 holds the maximum value i max of the frequency i. Here, when optimizing only the quantization table for the luminance signal or only the quantization table for the chrominance signal, the maximum frequency i max to be held by the maximum frequency holding register 59 is 64. When the table and the color difference signal quantization table are simultaneously optimized, the maximum frequency i max to be held by the maximum frequency holding register 59 is 128. Therefore, when optimizing only the luminance signal quantization table or only the color difference signal quantization table, the frequency i indicated by the frequency counter 58 is from 1 to 64, and the luminance signal quantization table and the color difference signal When optimizing the quantization table at the same time, the frequency counter 5
The frequency i indicated by 8 is from 1 to 128. In addition,
When the quantization table for the luminance signal and the quantization table for the chrominance signal are simultaneously optimized, and when the value i indicated by the frequency counter 58 indicates 1 to 64, processing for each frequency of the quantization table for the luminance signal is performed. When the frequency value i indicated by the frequency counter 58 indicates 65 to 128, processing for each frequency of the color difference signal quantization table is performed.

【0043】速度吸収定数保持レジスタ510は、後述
する反射処理(ステップS85)において使用される速
度吸収定数absorptionを保持する。さらに、内部バス5
11は、演算回路51と、制御回路52と、記憶回路5
3と、最小座標値保持レジスタ54と、最大座標値保持
レジスタ55と、時間カウンタ56と、最大時間保持レ
ジスタ57と、周波数カウンタ58と、最大周波数保持
レジスタ59と、速度吸収定数保持レジスタ510とを
相互に接続する。
The speed absorption constant holding register 510 holds the speed absorption constant absorption used in the reflection processing (step S85) described later. Furthermore, internal bus 5
11 is an arithmetic circuit 51, a control circuit 52, a storage circuit 5
3, a minimum coordinate value holding register 54, a maximum coordinate value holding register 55, a time counter 56, a maximum time holding register 57, a frequency counter 58, a maximum frequency holding register 59, and a speed absorption constant holding register 510. Are connected to each other.

【0044】次に、図1の量子化テーブル記憶部2に記
憶され、高次元アルゴリズム演算部1によって実行され
る量子化テーブル最適化処理を図7のフローチャートを
用いて説明する。この量子化テーブル最適化処理は、初
期化処理S11と、終了判定を行うステップS12と、
座標量子化ステップ変換処理S13と、量子化テーブル
読み出し処理S14と、画像評価処理S15と、評価関
数演算処理S16と、一部更新処理S17と、更新処理
S18と、時間カウンタ56のインクリメントの処理S
19と、データベース登録処理S20と、データベース
検索処理S21とから構成される。
Next, the quantization table optimization process stored in the quantization table storage unit 2 of FIG. 1 and executed by the high-dimensional algorithm operation unit 1 will be described with reference to the flowchart of FIG. This quantization table optimization process includes an initialization process S11, a step S12 for determining the end,
Coordinate quantization step conversion processing S13, quantization table reading processing S14, image evaluation processing S15, evaluation function calculation processing S16, partial updating processing S17, updating processing S18, and processing S for incrementing the time counter 56.
19, a database registration process S20, and a database search process S21.

【0045】初期化処理S11は、量子化テーブル記憶
部2に記憶される量子化テーブルの最適化処理のための
初期化処理であり、時間tの初期値を1に設定するなど
の処理を行う。上記量子化テーブルの最適化は、座標量
子化ステップ変換処理S13と、量子化テーブル読み出
し処理S14と、画像評価処理S15と、評価関数演算
処理S16と、一部更新処理S17と、更新処理S18
と、時間カウンタ56のインクリメントの処理S19と
の各処理をステップ12の終了条件を満たすまで反復す
ることによって行われる。
The initialization process S11 is an initialization process for optimizing the quantization table stored in the quantization table storage unit 2, and performs a process such as setting the initial value of the time t to 1. . Optimization of the quantization table includes coordinate quantization step conversion processing S13, quantization table reading processing S14, image evaluation processing S15, evaluation function calculation processing S16, partial update processing S17, and update processing S18.
And step S19 of incrementing the time counter 56 are repeated until the end condition of step 12 is satisfied.

【0046】終了判定を行うステップS12において
は、図6を参照すると、演算回路51は、時間カウンタ
56において保持される時間tの値と最大時間保持レジ
スタ57において保持される最大時間tmaxの値とを比
較し、終了条件である次式の数6を満足しなければ、次
に座標量子化ステップ変換処理S13を実行し、満足す
れば、反復処理を終了して量子化テーブル最適化処理を
終了する。
In step S12 for determining the end, referring to FIG. 6, the arithmetic circuit 51 determines the value of the time t held in the time counter 56 and the value of the maximum time t max held in the maximum time holding register 57. If the end condition, Equation 6 of the following equation, is not satisfied, then the coordinate quantization step conversion processing S13 is executed, and if satisfied, the iterative processing is terminated and the quantization table optimization processing is performed. finish.

【0047】[0047]

【数6】t>tmax 従って、反復処理における各処理S13乃至S19はt
max回だけ実行される。
T> t max Therefore, each of the processes S13 to S19 in the iterative process is t
Executed max times.

【0048】座標量子化ステップ変換処理S13は、量
子化テーブルの値である量子化ステップとそれに対応す
る座標とを対応付ける処理である。一般的なJPEG符
号化装置又はJPEG復号化装置においては、非負の整
数値である量子化ステップを量子化テーブルの値として
用いる。本発明に係る実施形態の量子化テーブル最適化
処理は、量子化ステップに対応する座標を用いて最適化
を行い、当該座標は、量子化ステップを255.0で除
算した値である0.0から1.0までの値に正規化した
実数を用いる。そのため、座標値を量子化ステップに変
換する必要がある。つまり、通常量子化ステップは1か
ら255までの整数値を有する。255は、一般的な量
子化ステップの最大値である。本実施形態の座標量子化
ステップ変換処理S13においては、座標量子化ステッ
プ変換装置24は、座標記憶装置23において記憶され
る座標q1(i)(ここで、iは周波数を表す。)の値
を読み出し、それらの値と255.0との積を演算し、
その結果値を量子化テーブル一時記憶装置25に出力す
る。この結果値は実数値であるが、一般的なJPEG符
号化装置及びJPEG復号化装置に適用可能にするため
に当該実数値を整数化して量子化テーブルを生成しても
よい。この座標量子化ステップ変換処理S13は、すべ
ての周波数に対応する座標に対して行われる。
The coordinate quantization step conversion process S13 is a process of associating a quantization step, which is a value of a quantization table, with a corresponding coordinate. In a general JPEG encoding device or JPEG decoding device, a quantization step which is a non-negative integer value is used as a value of a quantization table. In the quantization table optimization process according to the embodiment of the present invention, optimization is performed using coordinates corresponding to a quantization step, and the coordinates are 0.0, which is a value obtained by dividing the quantization step by 255.0. A real number normalized to a value from to 1.0 is used. Therefore, it is necessary to convert the coordinate values into a quantization step. That is, the normal quantization step has an integer value from 1 to 255. 255 is the maximum value of a general quantization step. In the coordinate quantization step conversion processing S13 of the present embodiment, the coordinate quantization step conversion device 24 sets the value of the coordinate q 1 (i) (where i represents the frequency) stored in the coordinate storage device 23. And calculate the product of those values and 255.0,
The result value is output to the quantization table temporary storage device 25. The result value is a real value, but the real value may be converted to an integer to generate a quantization table so as to be applicable to a general JPEG encoding device and JPEG decoding device. This coordinate quantization step conversion processing S13 is performed on the coordinates corresponding to all the frequencies.

【0049】量子化テーブル読み出し処理S14におい
ては、量子化テーブルの値を図1における高次元アルゴ
リズム演算部1から読み出して、量子化テーブル記憶部
2に書き込む。具体的には図2を参照すると、量子化テ
ーブル読み出し装置26は、量子化テーブル一時記憶装
置25に記憶される量子化テーブルの各値、即ち各量子
化ステップを読み出し、当該量子化ステップを図1にお
ける量子化テーブル記憶部2に出力して記憶する。
In the quantization table reading process S14, the value of the quantization table is read from the high-dimensional algorithm operation unit 1 in FIG. Specifically, referring to FIG. 2, the quantization table reading device 26 reads out each value of the quantization table stored in the quantization table temporary storage 25, that is, each quantization step, and illustrates the quantization step. 1 is output to the quantization table storage unit 2 and stored.

【0050】画像評価処理S15においては、量子化テ
ーブル読み出し処理S14によって量子化テーブル記憶
部2に読み出された量子化テーブルを用いて、被圧縮画
像データをJPEG符号化画像データにJPEG符号化
し、当該JPEG符号化画像データを復号化画像データ
にJPEG復号化した後、さらに、被圧縮画像データ及
び符号化画像データに基づいて圧縮率C1oを演算して当
該圧縮率C1oを圧縮率記憶装置217に出力して記憶す
るとともに、被圧縮画像データ及び復号化画像データに
基づいて画像の品質を示す画像品質評価値C2oを演算し
て当該画像品質評価値C2oを画像品質評価値記憶装置2
21に出力して記憶する。
In the image evaluation processing S15, the compressed image data is JPEG-encoded into JPEG-encoded image data using the quantization table read out to the quantization table storage unit 2 by the quantization table reading processing S14. after JPEG decoding the JPEG encoded picture data to the decoded image data, further, the compression rate storage unit the compression ratio C 1o calculates the compression ratio C 1o based on the compressed image data and the coded image data 217 and stores the image quality evaluation value C 2o indicating the quality of the image based on the compressed image data and the decoded image data, and stores the image quality evaluation value C 2o in the image quality evaluation value storage device. 2
21 for storage.

【0051】評価関数演算処理S16においては、画像
評価処理S15において算出された圧縮率C1oと画像品
質評価値C2oとに基づいて次式を用いて更新前評価関数
値Uoldを演算する。具体的には図3を参照すると、評
価関数演算装置218は、圧縮率記憶装置217から圧
縮率C1oと画像品質評価値記憶装置221から画像品質
評価値C2oとを読み出し、当該両値に基づいて更新前評
価関数値Uoldを演算し、その結果値を更新前評価関数
記憶装置219に出力して記憶する。
In the evaluation function calculation processing S16, the pre-update evaluation function value U old is calculated using the following equation based on the compression ratio C 1o and the image quality evaluation value C 2o calculated in the image evaluation processing S15. Specifically, referring to FIG. 3, the evaluation function calculation device 218 reads out the compression ratio C 1o from the compression ratio storage device 217 and the image quality evaluation value C 2o from the image quality evaluation value storage device 221, The pre-update evaluation function value U old is calculated based on the result, and the result value is output to the pre-update evaluation function storage device 219 and stored.

【0052】ここで、上記更新前評価関数値Uold及び
後述する更新後評価関数値Unewを演算するための評価
関数Uは、次式の数7によって定義される。
Here, the evaluation function U for calculating the pre-update evaluation function value U old and the post-update evaluation function value U new described later is defined by the following equation (7).

【数7】U=w11+w22 ここで、w1及びw2はそれぞれ第1と第2の重み係数で
あり、画像品質評価尺度が物体色の色差であるとき、好
ましくは−0.01及び0.99である。また、C1
圧縮率であり、C2は画像品質評価値である。
U = w 1 C 1 + w 2 C 2 where w 1 and w 2 are the first and second weighting factors, respectively. When the image quality evaluation scale is the color difference of the object color, preferably -0.01 and 0.99. C 1 is a compression ratio, and C 2 is an image quality evaluation value.

【0053】また、画像品質評価尺度がSNRであると
き、第1と第2の重み係数w1,w2はそれぞれ、好まし
くは
When the image quality evaluation scale is SNR, the first and second weighting factors w 1 and w 2 are preferably

【数8】w1=−0.01,w2=−0.99 である。## EQU8 ## w 1 = −0.01 and w 2 = −0.99.

【0054】次いで、一部更新処理S17は、高次元ア
ルゴリズムによって各周波数ごとの更新すべき座標値を
算出するための座標差分などを演算する処理である。ま
た、更新処理S18は、一部更新処理S17によって算
出された座標差分を用いて、各周波数ごとの座標値を更
新する処理である。データベース登録処理S20におい
ては、制御装置21が時間tにおける量子化テーブル、
圧縮率C1、画像品質評価値C2及び評価関数値を時間t
とともにデータベース装置225に登録する処理を行
う。さらに、時間カウンタ56のインクリメントの処理
S19では、時間カウンタ56に記憶される時間tの値
を1だけインクリメントした後、ステップS12に戻
る。ステップS12の終了条件を満たした場合には、デ
ータベース検索処理S21を行う。データベース検索処
理S21は、制御装置21が最大圧縮率、画像品質評価
値が色差の場合最小画像品質評価値、画像品質評価値が
信号対雑音比の場合最大画像品質評価値あるいは最大評
価関数値などを検索キーとして該当する所望の量子化テ
ーブルをデータベース装置225から検索する処理を行
う。ここで、検索キーとなる所望の最大圧縮率などは予
め利用者によって設定されているものとする。
Next, the partial update process S17 is a process of calculating a coordinate difference or the like for calculating a coordinate value to be updated for each frequency by a high-dimensional algorithm. The update process S18 is a process of updating the coordinate value for each frequency using the coordinate difference calculated in the partial update process S17. In the database registration process S20, the control device 21 transmits the quantization table at time t,
The compression ratio C 1 , the image quality evaluation value C 2, and the evaluation function value are calculated at time t.
At the same time, a process of registering in the database device 225 is performed. Further, in the incrementing process S19 of the time counter 56, the value of the time t stored in the time counter 56 is incremented by 1, and the process returns to step S12. When the end condition of step S12 is satisfied, a database search process S21 is performed. The database search processing S21 is performed by the control device 21 such that the maximum compression ratio, the minimum image quality evaluation value when the image quality evaluation value is a color difference, the maximum image quality evaluation value or the maximum evaluation function value when the image quality evaluation value is a signal to noise ratio, A search is performed from the database device 225 for a desired quantization table using the as a search key. Here, it is assumed that a desired maximum compression ratio or the like serving as a search key is set in advance by the user.

【0055】以下に、初期化処理S11、画像評価処理
S15、一部更新処理S17及び更新処理S18につい
て詳説する。
Hereinafter, the initialization processing S11, the image evaluation processing S15, the partial update processing S17 and the update processing S18 will be described in detail.

【0056】初期化処理S11は、図8に示されるよう
に、制御装置初期化処理S21と、座標記憶装置初期化
処理S22と、微小時間定数記憶装置初期化処理S23
と、速度記憶装置初期化処理S24と、更新前座標記憶
装置初期化処理S25と、減衰定数記憶装置初期化処理
S26と、第1の反復制御初期化処理S27とを含む。
As shown in FIG. 8, the initialization process S11 includes a control device initialization process S21, a coordinate storage device initialization process S22, and a minute time constant storage device initialization process S23.
And a speed storage device initialization process S24, a pre-update coordinate storage device initialization process S25, a damping constant storage device initialization process S26, and a first iterative control initialization process S27.

【0057】制御装置初期化処理S21においては、制
御装置21に対する各種初期化が行われる。例えば、次
式のように各パラメータが初期化される。
In the control device initialization process S21, various initializations for the control device 21 are performed. For example, each parameter is initialized as in the following equation.

【0058】[0058]

【数9】qmin=1.0/255.0## EQU9 ## q min = 1.0 / 255.0

【数10】qmax=1.0## EQU10 ## q max = 1.0

【数11】tmax=500## EQU11 ## t max = 500

【数12】imax=128## EQU12 ## i max = 128

【数13】absorption=0.5## EQU13 ## absorption = 0.5

【0059】ここで、qminは最小座標値であり、最小
座標値保持レジスタ54に記憶される。qmaxは最大座
標値であり、最大座標値保持レジスタ55に記憶され
る。tmaxは最大時間であり、最大時間保持レジスタ5
7に記憶される。imaxは最大周波数であり、最大周波
数保持レジスタ59に記憶される。速度吸収定数である
absorptionは、速度吸収定数レジスタ510に記憶され
る。
Here, q min is the minimum coordinate value and is stored in the minimum coordinate value holding register 54. q max is the maximum coordinate value and is stored in the maximum coordinate value holding register 55. t max is the maximum time, and the maximum time holding register 5
7 is stored. i max is the maximum frequency and is stored in the maximum frequency holding register 59. Velocity absorption constant
absorption is stored in the velocity absorption constant register 510.

【0060】座標記憶装置初期化処理S22において
は、座標記憶装置23に対する初期化が行われる。例え
ば、量子化テーブルのデータ値であるいわゆる例示値を
255.0で除算した値を各周波数iに対する座標q1
(i)の初期値として設定する。ここで、量子化テーブ
ルの例示値とは、従来技術文献「ISO/IEC10918-1:1994
(E)“Information technology-Digital compression an
d coding of continuous-tone still images:Requireme
nts and guide lines”のAnnex KのTable K.1-Luminanc
e quantization table及びTable K.2-Chrominance quan
tization table」において記載された値をいう。つま
り、i=1の場合、例えば、q1(1)=16/255
と設定される。
In the coordinate storage device initialization process S22, the coordinate storage device 23 is initialized. For example, a value obtained by dividing a so-called example value which is a data value of the quantization table by 255.0 is represented by a coordinate q 1 for each frequency i.
Set as the initial value of (i). Here, the example value of the quantization table refers to the related art document “ISO / IEC10918-1: 1994
(E) “Information technology-Digital compression an
d coding of continuous-tone still images: Requireme
nts and guide lines ”, Annex K, Table K.1-Luminanc
e quantization table and Table K.2-Chrominance quan
tization table ". That is, when i = 1, for example, q 1 (1) = 16/255
Is set.

【0061】微小時間定数記憶装置初期化処理S23に
おいては、図3における微小時間定数記憶装置211に
対する初期化が行われる。例えば、微小時間定数記憶d
tは0.005に設定され、微小時間定数記憶装置21
1に記憶される。また、速度記憶装置初期化処理S24
においては、図3における速度記憶装置213に対する
初期化が行われる。例えば、各周波数iに対応する速度
v(i)は、図6の座標最小値保持レジスタ54におい
て保持される最小座標値qminと、微小時間定数記憶装
置211において記憶される微小時間dtの値を使用
し、次式の数14を用いて設定され、速度記憶装置21
3に記憶される。
In the small time constant storage device initialization processing S23, the initialization for the small time constant storage device 211 in FIG. 3 is performed. For example, a small time constant storage d
t is set to 0.005, and the minute time constant storage device 21
1 is stored. In addition, speed storage device initialization processing S24
In, initialization of the speed storage device 213 in FIG. 3 is performed. For example, the speed v (i) corresponding to each frequency i is represented by the minimum coordinate value q min held in the coordinate minimum value holding register 54 in FIG. 6 and the value of the minute time dt stored in the minute time constant storage device 211. Is set using the following equation (14), and the speed storage device 21
3 is stored.

【0062】[0062]

【数14】v(i)←(qmin/dt)×0.005V (i) ← (q min /dt)×0.005

【0063】更新前座標記憶装置初期化処理S25にお
いては、図2における更新前座標記憶装置28に対する
初期化が行われる。例えば、各周波数iに対応する更新
前座標q0(i)は、各周波数iに対応する座標q
1(i)から各周波数iに対応する速度v(i)と微小
時間定数dtとを使用し、次式の数15を用いて設定さ
れ、更新前座標記憶装置28に記憶される。
In the pre-update coordinate storage device initialization processing S25, initialization is performed on the pre-update coordinate storage device 28 in FIG. For example, the coordinates q 0 (i) before update corresponding to each frequency i are represented by coordinates q 0 corresponding to each frequency i.
From 1 (i), using the speed v (i) corresponding to each frequency i and the minute time constant dt, the value is set using the following equation (15) and stored in the pre-update coordinate storage device 28.

【0064】[0064]

【数15】q0(i)←q1(i)−v(i)×dt## EQU15 ## q 0 (i) ← q 1 (i) −v (i) × dt

【0065】減衰定数記憶装置初期化処理S26におい
ては、図5における減衰定数記憶装置215に対する初
期化が行われる。例えば、減衰定数dumpingは、dumping
=0.999と設定され、減衰定数記憶装置215に記
憶される。
In the attenuation constant storage device initialization processing S26, initialization is performed on the attenuation constant storage device 215 in FIG. For example, the damping constant dumping is
= 0.999, and is stored in the attenuation constant storage device 215.

【0066】第1の反復制御初期化処理S27において
は、図6における時間カウンタ56における時間tを1
に設定することによって、第1の反復制御に対する初期
化を行う。ここで、第1の反復制御とは、時間カウンタ
56と及び最大時間保持レジスタ57を用いた制御装置
21により判定処理を行うステップS12と、座標量子
化ステップ変換処理S13と、量子化テーブル読み出し
処理S14と、画像評価処理S15と、評価関数演算処
理S16と、一部更新処理S17と、更新処理S18
と、時間カウンタ56のインクリメントの処理S19と
を含む反復処理の制御である。
In the first repetitive control initialization processing S27, the time t in the time counter 56 in FIG.
, The initialization for the first iteration control is performed. Here, the first repetitive control includes a step S12 of performing a determination process by the control device 21 using the time counter 56 and the maximum time holding register 57, a coordinate quantization step conversion process S13, and a quantization table reading process. S14, image evaluation processing S15, evaluation function calculation processing S16, partial update processing S17, and update processing S18
And control of an iterative process including the process S19 of incrementing the time counter 56.

【0067】画像評価処理S15は、図9に示されるよ
うにJPEG符号化処理S31と、JPEG復号化処理
S32と、圧縮率演算処理S33と、画像品質評価処理
S34とを含む。ここで、JPEG符号化処理S31
は、JPEG符号化によって画像の圧縮を行う処理であ
る。JPEG符号化処理S31は、図10に示されるよ
うに、被圧縮画像読み取り処理S41と、色変換処理S
42と、画素間引き処理S43と、DCT処理S44
と、量子化処理S45と、ハフマン符号化処理S46
と、JPEG画像読み出し処理S47とを含む。
As shown in FIG. 9, the image evaluation processing S15 includes a JPEG encoding processing S31, a JPEG decoding processing S32, a compression ratio calculation processing S33, and an image quality evaluation processing S34. Here, JPEG encoding processing S31
Is a process for compressing an image by JPEG encoding. As shown in FIG. 10, the JPEG encoding process S31 includes a compressed image reading process S41 and a color conversion process S41.
42, pixel thinning processing S43, and DCT processing S44
, Quantization processing S45, and Huffman encoding processing S46
And a JPEG image reading process S47.

【0068】被圧縮画像読み取り処理S41において
は、図4を参照すると、被圧縮画像読み取り装置31は
圧縮すべき画像データを被圧縮画像記憶部5から読み取
り、色変換装置32に出力する。色変換処理S42にお
いては、色変換装置32は、入力された被圧縮画像デー
タの色空間、例えばRGB色空間から輝度信号Yと色差
信号CbおよびCrの色空間YCbCrに変換し、色空
間が変換された画像データを画素間引き装置33に出力
する。画素間引き処理S43において、画素間引き装置
33は、YCbCr色空間に変換された被圧縮画像デー
タの画素の間引きを行い、その結果値をDCT演算装置
34に出力する。DCT処理S44において、DCT演
算装置34は、画素の間引きを行われた被圧縮画像デー
タに対して離散コサイン変換を行い、その結果値を量子
化装置35に出力する。量子化処理S45においては、
量子化装置35は、量子化テーブルのデータ値である各
周波数における量子化ステップを量子化テーブル記憶部
2から読み出し、入力される画像データに対して、上記
各周波数における量子化ステップを用いて量子化を行
い、その結果値をハフマン符号化装置36に出力する。
ハフマン符号化処理S46においては、ハフマン符号化
装置36は、量子化装置35において量子化された画像
データをハフマン符号化し、その結果値をJPEG画像
読み出し装置37に出力する。JPEG画像読み出し処
理S47においては、JPEG画像読み出し装置37
は、上記ハフマン符号化された画像データにJPEG符
号化画像データ用のヘッダファイルを添付して、JPE
G符号化画像ファイルとして図1におけるJPEG画像
記憶部6に出力して記憶する。
In the compressed image reading process S 41, referring to FIG. 4, the compressed image reading device 31 reads the image data to be compressed from the compressed image storage unit 5 and outputs it to the color conversion device 32. In the color conversion processing S42, the color conversion device 32 converts the color space of the input compressed image data, for example, the RGB color space into the color space YCbCr of the luminance signal Y and the color difference signals Cb and Cr, and the color space is converted. The output image data is output to the pixel thinning device 33. In the pixel thinning process S43, the pixel thinning device 33 thins out the pixels of the compressed image data converted into the YCbCr color space, and outputs the result value to the DCT operation device. In the DCT processing S44, the DCT operation device 34 performs a discrete cosine transform on the compressed image data on which the pixels have been thinned out, and outputs the result value to the quantization device 35. In the quantization process S45,
The quantization device 35 reads out the quantization step at each frequency, which is the data value of the quantization table, from the quantization table storage unit 2 and quantizes the input image data using the quantization step at each frequency. The result is output to the Huffman encoding device 36.
In the Huffman encoding process S46, the Huffman encoding device 36 performs Huffman encoding on the image data quantized by the quantization device 35, and outputs a result value to the JPEG image reading device 37. In the JPEG image reading process S47, the JPEG image reading device 37
Attaches a header file for JPEG encoded image data to the above Huffman encoded image data,
It is output to the JPEG image storage unit 6 in FIG. 1 and stored as a G encoded image file.

【0069】ここで、本発明に係る実施形態において用
いられるJPEG符号化部3について述べる。一般的な
JPEG符号化においては、例示値のような非負の整数
である量子化テーブルの値を用いてJPEG符号化を行
うが、本発明に係る実施形態の画像処理システムにおい
ては、好ましくは、当該画像処理システムに対してより
適合するように、非負の実数である量子化テーブルの値
を用いてJPEG符号化を行う。このように量子化テー
ブルの値を非負の実数とした場合では、量子化処理S4
5においては、実数である量子化テーブルの値を用いて
量子化を行うが、JPEG画像読み取り処理S47にお
いては、JPEG符号化方式の規定が実数の量子化テー
ブルの値に対応していないため、実数である量子化テー
ブルの値を浮動小数点以下の切り捨てなどにより整数化
した値をJPEG符号化画像出力用の仮の量子化テーブ
ルとして用いる必要がある。
Here, the JPEG encoding unit 3 used in the embodiment according to the present invention will be described. In general JPEG encoding, JPEG encoding is performed using a value of a quantization table that is a non-negative integer such as an example value. In the image processing system according to the embodiment of the present invention, preferably, JPEG encoding is performed using values of the quantization table, which is a non-negative real number, so as to be more suitable for the image processing system. As described above, when the value of the quantization table is a non-negative real number, the quantization process S4
5, the quantization is performed using the value of the real quantization table. However, in the JPEG image reading process S47, since the definition of the JPEG encoding method does not correspond to the value of the real quantization table, It is necessary to use a value obtained by converting the value of the real quantization table into an integer by truncation below a floating point or the like as a temporary quantization table for outputting a JPEG encoded image.

【0070】JPEG復号化処理S32は、上記量子化
テーブルを用いて、JPEG復号化方式によって画像の
伸長を行う処理である。JPEG復号化処理S32は、
図11に示されるように、JPEG画像読み取り処理S
51と、ハフマン復号化処理S52と、逆量子化処理S
53と、IDCT処理S54と、画素補間処理S55
と、色変換処理S56と、JPEG画像読み出し処理S
57とを含む。
The JPEG decoding process S32 is a process for decompressing an image by the JPEG decoding method using the above quantization table. JPEG decoding processing S32
As shown in FIG. 11, the JPEG image reading process S
51, Huffman decoding processing S52, and inverse quantization processing S
53, IDCT processing S54, and pixel interpolation processing S55
, Color conversion processing S56, and JPEG image reading processing S
57.

【0071】JPEG画像読み取り処理S51におい
て、図5を参照すると、JPEG画像読み取り装置41
は、復号化すべきJPEG画像データを図1のJPEG
画像記憶部6から読み取り、当該JPEG画像データを
ハフマン復号化装置42に出力する。ハフマン復号化処
理S52においては、ハフマン復号化装置42は、入力
されたJPEG符号化画像データをハフマン復号化し、
その結果値を逆量子化装置43に出力する。逆量子化処
理S53においては、逆量子化装置43は、図1の量子
化テーブル記憶部2において記憶される量子化テーブル
の値を用いて、ハフマン復号化装置42においてハフマ
ン復号化されたデータ値を逆量子化し、その結果値をI
DCT演算装置44に出力する。IDCT処理S54に
おいては、IDCT演算装置44は、逆量子化されたデ
ータに対して逆離散コサイン変換を行い、その結果値を
画素補間装置45に出力する。画素補間処理S55にお
いては、画素補間装置45は、JPEG符号化処理S3
1によって間引かれた画素の補間処理を行い、その結果
値を色変換装置46に出力する。色変換処理S56にお
いては、色変換装置46は、入力された当該結果値の色
空間をYCbCr色空間からRGB色空間に変換し、そ
の結果値を復号化画像読み出し装置47に出力する。符
号化画像読み出し処理S57において、復号化画像読み
出し装置47は、RGB色空間に変換された画像データ
を図1における復号化画像記憶部7に出力する。
In the JPEG image reading process S51, referring to FIG.
Is the JPEG image data to be decoded
The JPEG image data is read from the image storage unit 6 and output to the Huffman decoding device 42. In the Huffman decoding process S52, the Huffman decoding device 42 performs Huffman decoding on the input JPEG encoded image data,
The result value is output to the inverse quantization device 43. In the inverse quantization processing S53, the inverse quantization device 43 uses the value of the quantization table stored in the quantization table storage unit 2 in FIG. 1 to perform the data value Huffman decoding performed by the Huffman decoding device 42. Is inversely quantized, and the resulting value is expressed as I
Output to the DCT arithmetic unit 44. In the IDCT processing S54, the IDCT operation device 44 performs an inverse discrete cosine transform on the inversely quantized data, and outputs a result value to the pixel interpolation device 45. In the pixel interpolation process S55, the pixel interpolation device 45 performs the JPEG encoding process S3
Interpolation processing of the pixels thinned out by 1 is performed, and the result value is output to the color conversion device 46. In the color conversion processing S56, the color conversion device 46 converts the input color space of the result value from the YCbCr color space to the RGB color space, and outputs the result value to the decoded image reading device 47. In the encoded image reading process S57, the decoded image reading device 47 outputs the image data converted into the RGB color space to the decoded image storage unit 7 in FIG.

【0072】次いで、JPEG復号化部4について述べ
る。一般的なJPEG復号化方式においては、例示値の
ような非負の整数である量子化テーブルの値を用いてJ
PEG復号化を行うが、本発明に係る実施形態において
は、好ましくは、画像処理システムに対してより適合す
るように、非負の実数である量子化テーブルの値を用い
てJPEG復号化を行う。このように量子化テーブルの
値を非負の実数とした場合では、逆量子化処理S53に
おいては、実数である量子化テーブルの値を用いて逆量
子化を行うが、JPEG画像読み取り処理S51におい
ては、JPEG符号化方式の規定が実数の量子化テーブ
ルの値に対応していないため、実数である量子化テーブ
ルの値を浮動小数点以下の切り捨てなどにより整数化し
た値をJPEG符号化画像データ出力用の仮の量子化テ
ーブルとして用いる必要がある。但し、当該整数化され
た値を有する量子化テーブルは、逆量子化処理S53に
おいては使用されない。
Next, the JPEG decoding section 4 will be described. In a general JPEG decoding method, a value of a quantization table which is a non-negative integer such as an example value is used to perform J
Although PEG decoding is performed, in the embodiment according to the present invention, preferably, JPEG decoding is performed using a value of a quantization table that is a non-negative real number so as to be more suitable for an image processing system. In the case where the value of the quantization table is a non-negative real number as described above, in the inverse quantization process S53, inverse quantization is performed using the value of the quantization table that is a real number, but in the JPEG image reading process S51, the inverse quantization is performed. Since the JPEG encoding method does not correspond to the value of the real quantization table, the value obtained by converting the value of the real quantization table into an integer by truncating a floating point or less is used for outputting JPEG encoded image data. Must be used as a temporary quantization table. However, the quantization table having the integer value is not used in the inverse quantization processing S53.

【0073】圧縮率演算処理S33は、前述したように
圧縮率C1oまたは圧縮率C1oの演算を行う。また、画像
品質評価処理S34は、前述したように物体色の色差又
はSNRである画像品質評価値C2oまたは画像品質評価
値C2nを演算する。
The compression ratio calculation processing S33 calculates the compression ratio C 1o or the compression ratio C 1o as described above. The image quality evaluation processing S34 calculates the image quality evaluation value C 2o or image quality evaluation value C 2n is a color difference or SNR of object color as described above.

【0074】次に、一部更新処理S17は、図12及び
図13において示されるように、第2の反復制御初期化
処理S61と、終了判定を行うステップS62と、微小
座標差分演算処理S63と、座標値複写処理S64と、
部分座標値更新処理S65と、座標範囲適正化処理S6
6と、座標量子化ステップ変換処理S67と、量子化テ
ーブル読み出し処理S68と、画像評価処理S69と、
評価関数演算処理S70と、力演算処理S71と、座標
差分演算処理S72と、速度更新処理S73と、周波数
カウンタ58のインクリメントの処理S74とを含む。
Next, as shown in FIGS. 12 and 13, the partial update processing S17 includes a second iterative control initialization processing S61, an end determination step S62, and a minute coordinate difference calculation processing S63. , Coordinate value copy processing S64,
Partial coordinate value update processing S65 and coordinate range optimization processing S6
6, a coordinate quantization step conversion process S67, a quantization table reading process S68, an image evaluation process S69,
It includes an evaluation function calculation process S70, a force calculation process S71, a coordinate difference calculation process S72, a speed update process S73, and a process S74 for incrementing the frequency counter 58.

【0075】第2の反復制御初期化処理S61において
は、図6を参照すると、周波数カウンタ58において保
持される周波数iを1に設定して、第2の反復制御に対
する初期化を行う。ここで、第2の反復制御とは、周波
数カウンタ58及び最大周波数保持レジスタ59とを用
いた制御装置21により終了判定を行うステップS62
と、微小座標差分演算処理S63と、座標値複写処理S
64と、部分座標値更新処理S65と、座標範囲適正化
処理S66と、座標量子化ステップ変換処理S67と、
量子化テーブル読み出し処理S68と、画像評価処理S
69と、評価関数演算処理S70と、力演算処理S71
と、座標差分演算処理S72と、速度更新処理S73
と、周波数カウンタ58のインクリメントの処理S74
とを含む反復処理についての制御である。
In the second iterative control initialization processing S61, referring to FIG. 6, the frequency i held in the frequency counter 58 is set to 1 to perform initialization for the second iterative control. Here, the second repetitive control is a step S62 in which the control device 21 using the frequency counter 58 and the maximum frequency holding register 59 makes an end determination.
, Small coordinate difference calculation processing S63, and coordinate value copying processing S
64, partial coordinate value update processing S65, coordinate range optimization processing S66, coordinate quantization step conversion processing S67,
Quantization table readout processing S68 and image evaluation processing S
69, evaluation function calculation processing S70, force calculation processing S71
, Coordinate difference calculation processing S72, and speed update processing S73
And the process S74 of incrementing the frequency counter 58
This is a control for an iterative process including:

【0076】終了判定を行うステップS62において
は、演算回路51は、周波数カウンタ58において保持
される周波数iの値を、最大周波数保持レジスタ59に
おいて保持される最大周波数imaxの値と比較する。こ
こで、制御回路52は、次式の数16の終了条件を満足
すれば、反復処理を終了して一部更新処理を終了し、次
いで、更新処理S18を実行する。一方、次式の数16
の終了条件を満足しなければ、次に微小座標差分演算処
理S63を実行する。
In step S 62 for determining the end, the arithmetic circuit 51 compares the value of the frequency i held in the frequency counter 58 with the value of the maximum frequency i max held in the maximum frequency holding register 59. Here, the control circuit 52 ends the iterative processing and ends the partial update processing if the end condition of the following equation 16 is satisfied, and then executes the update processing S18. On the other hand, the following expression 16
If the end condition is not satisfied, then the minute coordinate difference calculation processing S63 is executed.

【0077】[0077]

【数16】i>imax 従って、当該反復処理における各処理は、全ての周波数
に対応する座標等に対して実行される。
Equation 16] i> i max Therefore, the processes in the iterative process is performed on the coordinate or the like corresponding to all frequencies.

【0078】微小座標差分演算処理S63においては、
図3を参照すると、微小座標差分演算装置214は、速
度記憶装置213から周波数iに対応する速度v(i)
と、微小時間定数記憶装置211から値dtとを読み出
し、次式の数17を用いて微小座標差分dq(i)を演
算し、その結果値を微小座標差分記憶装置216に出力
する。
In the minute coordinate difference calculation processing S63,
Referring to FIG. 3, the minute coordinate difference calculating device 214 stores the speed v (i) corresponding to the frequency i from the speed storage device 213.
And the value dt from the minute time constant storage device 211, calculate the minute coordinate difference dq (i) using the following equation 17, and output the result value to the minute coordinate difference storage device 216.

【0079】[0079]

【数17】dq(i)←v(i)×dt## EQU17 ## dq (i) ← v (i) × dt

【0080】座標値複写処理S64においては、図2を
参照すると、制御装置21は全周波数に対応する座標q
1(j)の値を一時座標q1p(j)として一時座標値記
憶装置224に記憶する。ここで、jは1から128ま
での周波数である。次いで、部分座標値更新処理S65
においては、制御装置21は、座標記憶装置23から周
波数iに対応する座標q1(i)と、微小座標差分記憶
装置216から周波数iに対応する微小座標差分dq
(i)とを読み出し、次式の数18を用いて周波数iに
対応する一時座標q1p(i)を演算し、その結果値を
一時座標記憶装置224に出力して記憶する。
In the coordinate value copying process S64, referring to FIG. 2, the control device 21 determines the coordinates q corresponding to all the frequencies.
Stored in the temporary coordinate value storage device 224 as a temporary value of (j) coordinate q 1 p (j). Here, j is a frequency from 1 to 128. Next, the partial coordinate value update processing S65
In, the control device 21 calculates the coordinate q 1 (i) corresponding to the frequency i from the coordinate storage device 23 and the minute coordinate difference dq corresponding to the frequency i from the minute coordinate difference storage device 216.
(I) is read out, the temporary coordinate q 1 p (i) corresponding to the frequency i is calculated using the following equation (18), and the result value is output to the temporary coordinate storage device 224 and stored.

【0081】[0081]

【数18】q1p(i)←q1(i)+dq(i)## EQU18 ## q 1 p (i) ← q 1 (i) + dq (i)

【0082】次いで、座標範囲適正化処理S66におい
ては、制御装置21は、周波数iに対応する一時座標q
1p(i)を一時座標記憶装置224から読み出し、当
該一時座標q1p(i)が最小座標値保持レジスタ54
において保持される値qminよりも小さい場合には、q1
p(i)の値はqminに設定される。また、一時座標q1
p(i)の値が最大座標値保持レジスタ55において保
持される値qmaxよりも大きい場合には、q1p(i)の
値はqmaxに設定される。
Next, in the coordinate range optimizing process S66, the control device 21 sets the temporary coordinate q corresponding to the frequency i.
Read 1 p a (i) from the temporary coordinate storage unit 224, the temporary coordinate q 1 p (i) the minimum coordinate value holding register 54
Is smaller than the value q min retained in, q 1
The value of p (i) is set to q min . Also, the temporary coordinates q 1
When the value of p (i) is larger than the value q max held in the maximum coordinate value holding register 55, the value of q 1 p (i) is set to q max .

【0083】座標量子化ステップ変換処理S67におい
ては、前述した座標量子化ステップ変換処理S13と同
様な処理を行う。すなわち、図2を参照すると、一時座
標記憶装置224において記憶される周波数iに対応す
る一時座標q1p(i)を周波数iに対応する量子化ス
テップに変換する。座標量子化ステップ変換装置24
は、一時座標q1p(i)の値を一時座標記憶装置22
4から読み出し、当該一時座標q1p(i)と255.
0との積を演算し、その結果値を量子化テーブル一時記
憶装置25に出力して記憶する。
In the coordinate quantization step conversion processing S67, the same processing as the coordinate quantization step conversion processing S13 is performed. That is, referring to FIG. 2, the temporary coordinate q 1 p (i) corresponding to the frequency i stored in the temporary coordinate storage device 224 is converted into a quantization step corresponding to the frequency i. Coordinate quantization step converter 24
Stores the value of the temporary coordinate q 1 p (i) in the temporary coordinate storage device 22.
4 and the temporary coordinates q 1 p (i) and 255.
A product with 0 is calculated, and the result is output to the quantization table temporary storage 25 and stored.

【0084】量子化テーブル読み出し処理S68におい
ては、前述した量子化テーブル読み出し処理S14と同
様な処理を行う。すなわち、量子化テーブル読み出し装
置26は、座標量子化ステップ変換処理S67における
変換後の量子化ステップの値を量子化テーブル一時記憶
装置25から読み出し、当該量子化ステップの値を量子
化テーブル記憶部2に出力する。次いで、画像評価処理
S69においては、前述した画像評価処理S15と同様
な処理を行う。つまり、JPEG符号化処理S31と、
JPEG復号化処理S32と、圧縮率C1nを演算する圧
縮率演算処理S33と、画像品質評価値C2nを演算する
画像品質評価処理S34とを順次実行する。
In the quantization table reading process S68, the same process as the above-described quantization table reading process S14 is performed. That is, the quantization table reading device 26 reads the value of the quantization step after the conversion in the coordinate quantization step conversion process S67 from the quantization table temporary storage device 25, and stores the value of the quantization step in the quantization table storage unit 2. Output to Next, in image evaluation processing S69, processing similar to the above-described image evaluation processing S15 is performed. That is, JPEG encoding processing S31,
A JPEG decoding process S32, a compression ratio calculation process S33 for calculating the compression ratio C 1n, and an image quality evaluation process S34 for calculating the image quality evaluation value C 2n are sequentially executed.

【0085】評価関数演算処理S70は、前述した評価
関数演算処理S16と同様な処理である。評価関数演算
処理S70においては、図3を参照すると、画像評価処
理S69において算出された圧縮率C1nと画像品質評価
値C2nとを用いて、更新後評価関数値Unewを演算す
る。具体的には、評価関数演算装置218は、圧縮率記
憶装置217から圧縮率C1nと、画像品質評価値記憶装
置221から画像品質評価値C2nとを読み出し、当該両
値に基づいて数7を用いて更新後評価関数値Unewを演
算し、その結果値を更新後評価関数記憶装置222に出
力する。また、画像品質評価値C2nは被圧縮画像の物体
色と復号化画像の物体色との色差であるが、当該両画像
間のSNRでもよい。
The evaluation function calculation processing S70 is the same processing as the evaluation function calculation processing S16 described above. In the evaluation function calculation processing S70, referring to FIG. 3, the updated evaluation function value U new is calculated using the compression ratio C 1n and the image quality evaluation value C 2n calculated in the image evaluation processing S69. Specifically, the evaluation function calculating device 218 reads out the compression ratio C 1n from the compression ratio storage device 217 and the image quality evaluation value C 2n from the image quality evaluation value storage device 221, and based on the two values, Is used to calculate the updated evaluation function value U new , and the result value is output to the updated evaluation function storage device 222. The image quality evaluation value C 2n is a color difference between the object color of the compressed image and the object color of the decoded image, but may be the SNR between the two images.

【0086】力演算処理S71においては、図3を参照
すると、力演算装置220は、更新前評価関数値記憶装
置219から更新前評価関数値Uoldと、更新後評価関
数値記憶装置222から更新後評価関数値Unewと、微
小座標差分記憶装置216から周波数iに対応する微小
座標差分dq(i)とを読み出し、次式の数19を用い
て力fを演算し、その結果値を力記憶装置223に出力
して記憶する。
In the force calculation processing S71, referring to FIG. 3, the force calculation device 220 updates the pre-update evaluation function value U old from the pre-update evaluation function value storage device 219 and updates the evaluation function value from the post-update evaluation function value storage device 222. The post-evaluation function value U new and the minute coordinate difference dq (i) corresponding to the frequency i are read from the minute coordinate difference storage device 216, the force f is calculated using the following equation (19), and the resulting value is expressed as the force The data is output to the storage device 223 and stored.

【0087】[0087]

【数19】f←−(Unew−Uold)/dq(i)(19) f ← − (U new −U old ) / dq (i)

【0088】座標差分演算処理S72においては、図2
を参照すると、座標差分演算装置29は、座標記憶装置
23から周波数iに対応する座標q1(i)と、更新前
座標記憶装置28から周波数iに対応する更新前座標q
0(i)と、微小時間定数記憶装置211から微小時間
定数dtと、力記憶装置223から力fを読み出し、次
式の数20を用いて周波数iに対応する座標差分diffQ
2Q1(i)を演算し、その結果値を座標差分記憶装置
210に出力する。
In the coordinate difference calculation processing S 72,
, The coordinate difference calculating device 29 calculates the coordinates q 1 (i) corresponding to the frequency i from the coordinate storage device 23 and the pre-update coordinates q corresponding to the frequency i from the pre-update coordinate storage device 28.
0 (i), the minute time constant dt from the minute time constant storage device 211, and the force f from the force storage device 223, and the coordinate difference diffQ corresponding to the frequency i is calculated using the following equation (20).
2Q1 (i) is calculated, and the result is output to the coordinate difference storage device 210.

【0089】[0089]

【数20】diffQ2Q1(i)←{q1(i)−q
0(i)}+dt×dt×f
[Equation 20] diffQ2Q1 (i) ← {q 1 (i) −q
0 (i)} + dt × dt × f

【0090】速度更新処理S73においては、図3を参
照すると、速度演算装置212は、速度記憶装置213
から周波数iに対応する速度v(i)と、力記憶装置2
23から力fと、微小時間定数記憶装置211から微小
時間定数dtと、減衰定数記憶装置215から減衰定数
dumpingとを読み出し、次式の数21を用いて速度を更
新し、その結果値を速度記憶装置213に出力して記憶
する。
In the speed update processing S73, referring to FIG.
And the speed v (i) corresponding to the frequency i and the force storage device 2
23, the force f, the minute time constant storage device 211, the minute time constant dt, and the attenuation constant storage device 215, the attenuation constant.
The dumping is read out, the speed is updated using the following equation (21), and the result is output to the speed storage device 213 and stored.

【0091】[0091]

【数21】v(i)←v(i)+f×dt×dumping## EQU21 ## v (i) ← v (i) + f × dt × dumping

【0092】周波数カウンタ58のインクリメントの処
理S74においては、図6の周波数カウンタ58におい
て保持される周波数iの値を1だけインクリメントし、
その結果値を周波数カウンタ58に設定した後、ステッ
プS62に戻る。
In the process S74 for incrementing the frequency counter 58, the value of the frequency i held in the frequency counter 58 shown in FIG. 6 is incremented by one.
After setting the result value in the frequency counter 58, the process returns to step S62.

【0093】次に、更新処理S18は、図14に示され
るように、第3反復制御初期化処理S81と、終了判定
を行うステップS82と、更新前座標値更新処理S83
と、座標値更新処理S84と、反射処理S85と、座標
範囲適正化処理S86と、周波数カウンタ58のインク
リメントの処理S87とを含む。
Next, as shown in FIG. 14, the updating process S18 includes a third repetitive control initialization process S81, a step S82 for determining the end, and a coordinate value updating process S83 before updating.
, A coordinate value update process S84, a reflection process S85, a coordinate range optimization process S86, and an increment process S87 of the frequency counter 58.

【0094】まず、第3反復制御初期化処理S81にお
いて、図6を参照すると、制御回路52は、周波数カウ
ンタ58の周波数iを1に設定する。次いで、ステップ
S82において、演算回路51は、周波数カウンタ52
の周波数iを最大周波数保持レジスタ59の最大周波数
maxと比較し、終了条件である次式の数22を満たさ
なければ、ステップS83に進む。一方、終了条件を満
たせば、制御回路52は更新処理S18を終了して元の
ルーチンに戻る。
First, in the third repetitive control initialization processing S81, referring to FIG. 6, the control circuit 52 sets the frequency i of the frequency counter 58 to 1. Next, in step S82, the arithmetic circuit 51 sets the frequency counter 52
Is compared with the maximum frequency i max of the maximum frequency holding register 59, and if the ending condition of the following expression 22 is not satisfied, the process proceeds to step S83. On the other hand, if the end condition is satisfied, the control circuit 52 ends the update processing S18 and returns to the original routine.

【0095】[0095]

【数22】i>imax 従って、当該反復処理における各処理S83乃至S87
は全ての周波数に対応する座標値等に対して実行され
る。
I> i max Therefore, each processing S83 to S87 in the repetitive processing is performed.
Is performed on coordinate values and the like corresponding to all frequencies.

【0096】更新前座標値更新処理S83においては、
制御装置21は、座標記憶装置23において記憶される
座標q1(i)を用いて、次式に従って、更新前座標記
憶装置28において記憶される各周波数iに対応する更
新前座標q0(i)を更新する。
In the pre-update coordinate value updating process S83,
The control device 21 uses the coordinates q 1 (i) stored in the coordinate storage device 23 and calculates the pre-update coordinates q 0 (i) corresponding to each frequency i stored in the pre-update coordinate storage device 28 according to the following equation. ) To update.

【数23】q0(i)←q1(i)## EQU23 ## q 0 (i) ← q 1 (i)

【0097】次いで、座標値更新処理S84において
は、図2を参照すると、座標演算装置27は、座標記憶
装置23から各周波数iに対応する座標q1(i)と、
座標差分記憶装置210から周波数iに対応する座標差
分diffQ2Q1(i)とを読み出し、次式を用いて各周
波数iに対応する座標q1(i)を更新し、その結果値
を座標記憶装置23に出力して記憶する。
Next, in the coordinate value update processing S84, referring to FIG. 2, the coordinate calculation device 27 reads the coordinates q 1 (i) corresponding to each frequency i from the coordinate storage device 23,
Reads the coordinate difference diffQ2Q1 (i) corresponding to the frequency i from the coordinate difference storing unit 210, and updates the coordinates q 1 corresponding to each frequency i using the following equation (i), its result value coordinate storage device 23 And store it.

【数24】q1(i)←q1(i)+diffQ2Q1(i)## EQU24 ## q 1 (i) ← q 1 (i) + diff Q2Q1 (i)

【0098】次いで、反射処理S85においては、周波
数iに対応する更新された座標q1(i)の値に依存し
て必要な場合には、当該更新された座標q1(i)と、
速度v(i)と、更新前座標q0(i)との各値を更新
する。この反射処理S85の詳細は後述する。さらに、
座標範囲適正化処理S86においては、図2を参照する
と、座標範囲適正化処理S66と同様に、制御装置21
は、周波数iに対応する座標q1(i)を座標記憶装置
23から読み出し、当該値を最小座標保持レジスタ54
において保持される値qminと比較し、上記座標q
1(i)が上記値qmi nよりも小さい場合には、q
1(i)の値をqminに設定する。また、座標q1(i)
の値を最大座標値保持レジスタ55において保持される
値qmaxと比較し、上記座標q1(i)が上記値qmax
りも大きい場合には、q1(i)の値をqmaxに設定す
る。
Next, in the reflection processing S85, if necessary depending on the value of the updated coordinates q 1 (i) corresponding to the frequency i, the updated coordinates q 1 (i) are:
The values of the speed v (i) and the pre-update coordinates q 0 (i) are updated. The details of the reflection processing S85 will be described later. further,
In the coordinate range optimizing process S86, referring to FIG. 2, similarly to the coordinate range optimizing process S66, the controller 21
Reads the coordinate q 1 (i) corresponding to the frequency i from the coordinate storage device 23, and stores the value in the minimum coordinate holding register 54.
Is compared with the value q min held at
1 (i) is smaller than the value q mi n is, q
1 Set the value of (i) to q min . Also, the coordinates q 1 (i)
The value compared with the value q max held in the maximum coordinate value holding register 55 of, if the coordinate q 1 (i) is greater than the value q max is, q 1 and the value of (i) to q max Set.

【0099】周波数カウンタ58のインクリメントの処
理S87においては、図6の周波数カウンタ58におい
て保持される周波数iの値を1だけインクリメントし、
その結果値を周波数カウンタ58に設定した後、ステッ
プS82に戻る。
In step S87 for incrementing the frequency counter 58, the value of the frequency i held in the frequency counter 58 of FIG. 6 is incremented by one.
After setting the result value in the frequency counter 58, the process returns to step S82.

【0100】ここで、反射処理S85について詳説す
る。反射処理S85は、図15及び図16に示されるよ
うに、第1の比較処理S91と、第1の座標値正当化処
理S92と、第1の速度反射処理S93と、第2の座標
値正当化処理S94と、第2の比較処理S95と、第3
の座標値正当化処理S96と、第2の速度反射処理S9
7と、第4の座標値正当化処理S98とを含む。
Here, the reflection processing S85 will be described in detail. As shown in FIGS. 15 and 16, the reflection process S85 includes a first comparison process S91, a first coordinate value justification process S92, a first speed reflection process S93, and a second coordinate value justification process. Processing S94, second comparison processing S95, and third processing
Coordinate value justification processing S96 and second velocity reflection processing S9
7 and a fourth coordinate value justification process S98.

【0101】まず、第1の比較処理S91においては、
制御装置21における演算回路51は周波数iに対応す
る座標q1(i)を座標記憶装置23から読み出し、当
該座標q1(i)の値を最大座標値保持レジスタ55に
おいて保持される最大座標値qmaxと比較する。次式を
満たせば、制御回路52は、次の処理を第1の座標正当
化処理S92に遷移する。一方、次式を満たさなけれ
ば、制御回路52は、次の処理を第2の比較処理S95
に遷移する。
First, in the first comparison processing S91,
The arithmetic circuit 51 in the control unit 21 reads from the coordinate q 1 (i) the coordinate storage unit 23 corresponding to the frequency i, the maximum coordinate values the coordinates q 1 the value of (i) is held in the maximum coordinate value holding register 55 Compare with q max . If the following equation is satisfied, the control circuit 52 shifts the next process to the first coordinate justification process S92. On the other hand, if the following expression is not satisfied, the control circuit 52 executes the next process in the second comparison process S95.
Transitions to.

【0102】[0102]

【数25】q1(i)>qmax ## EQU25 ## q 1 (i)> q max

【0103】第1の座標値正当化処理S92において
は、図6を参照すると、制御装置21における演算回路
51は、座標記憶装置23から周波数iに対応する座標
1(i)の値と、最大座標値保持レジスタ55から最
大座標値qmaxとを読み出し、次式を用いて周波数iに
対応する座標q1(i)の値を更新し、座標記憶装置2
3に出力して記憶する。
In the first coordinate value justification process S92, referring to FIG. 6, the arithmetic circuit 51 in the control device 21 reads the value of the coordinate q 1 (i) corresponding to the frequency i from the coordinate storage device 23, The maximum coordinate value q max is read from the maximum coordinate value holding register 55, the value of the coordinate q 1 (i) corresponding to the frequency i is updated using the following equation, and the coordinate storage device 2
3 and store it.

【0104】[0104]

【数26】q1(i)←qmax−{q1(i)−qmax[Equation 26] q 1 (i) ← q max − {q 1 (i) −q max }

【0105】次いで、第1の速度反射処理S93におい
ては、制御装置21は、速度記憶装置213から周波数
iに対応する速度v(i)と、速度吸収定数保持レジス
タ510から定数値absorptionとを読み出し、制御装置
21における演算回路52は、次式を用いて周波数iに
対応する速度v(i)の値を演算し、制御回路51はそ
の結果値を速度記憶装置213に出力して記憶する。
Next, in the first speed reflection processing S93, the control device 21 reads the speed v (i) corresponding to the frequency i from the speed storage device 213 and the constant value absorption from the speed absorption constant holding register 510. The arithmetic circuit 52 in the control device 21 calculates the value of the speed v (i) corresponding to the frequency i using the following equation, and the control circuit 51 outputs the result value to the speed storage device 213 and stores it.

【0106】[0106]

【数27】v(i)←−v(i)×absorption(27) v (i) ← −v (i) × absorption

【0107】さらに、第2の座標値正当化処理S94に
おいては、制御装置21は、座標記憶装置23から周波
数iに対応する座標q1(i)と、速度記憶装置213
から周波数iに対応する速度v(i)と、微小時間定数
記憶装置211から微小時間定数dtとを読み出し、次
式を用いて周波数iに対応する更新前座標q0(i)を
演算し、その結果値を更新前座標記憶装置28に出力し
て記憶する。
Further, in the second coordinate value justification processing S94, the control device 21 sends the coordinates q 1 (i) corresponding to the frequency i from the coordinate storage device 23 and the speed storage device 213
, The speed v (i) corresponding to the frequency i and the minute time constant dt from the minute time constant storage device 211 are read, and the pre-update coordinates q 0 (i) corresponding to the frequency i are calculated using the following equation: The result value is output to the pre-update coordinate storage device 28 and stored.

【0108】[0108]

【数28】q0(i)←q1(i)−v(i)×dt(28) q 0 (i) ← q 1 (i) −v (i) × dt

【0109】次いで、図16の第2の比較処理S95に
おいては、制御装置21における演算回路52は、周波
数iに対応する座標q1(i)を座標記憶装置21から
読み出し、当該座標q1(i)の値を最小座標値保持レ
ジスタ54に保持される最小座標値qminと比較する。
次式を満たせば、制御回路52は、次の処理を第3の座
標正当化処理S96に遷移する。一方、次式を満たさな
ければ、制御回路52は反射処理S85を終了し、元の
ルーチンに戻る。
[0109] Then, in the second comparison processing S95 of FIG. 16, the arithmetic circuit 52 in the control unit 21 reads from the coordinate q 1 (i) the coordinate storage unit 21 corresponding to the frequency i, the coordinates q 1 ( The value of i) is compared with the minimum coordinate value q min held in the minimum coordinate value holding register 54.
If the following equation is satisfied, the control circuit 52 shifts the next processing to the third coordinate justification processing S96. On the other hand, if the following expression is not satisfied, the control circuit 52 ends the reflection processing S85 and returns to the original routine.

【0110】[0110]

【数29】q1(i)<qmin ## EQU29 ## q 1 (i) <q min

【0111】第3の座標値の正当化処理S96において
は、制御装置21における演算回路51は、最小座標値
保持レジスタ54から最小座標値qminと、座標記憶装
置23から周波数iに対応する座標q1(i)とを読み
出し、次式を用いて周波数iにおける座標q1(i)の
値を更新し、制御装置21はその結果値を座標記憶装置
23に出力して記憶する。
In the third coordinate value justification process S96, the arithmetic circuit 51 of the control device 21 determines the minimum coordinate value q min from the minimum coordinate value holding register 54 and the coordinate value corresponding to the frequency i from the coordinate storage device 23. q 1 (i) is read out, the value of the coordinate q 1 (i) at the frequency i is updated using the following equation, and the control device 21 outputs the result value to the coordinate storage device 23 and stores it.

【0112】[0112]

【数30】q1(i)←qmin+{qmin−q1(i)}[Equation 30] q 1 (i) ← q min + {q min −q 1 (i)}

【0113】次いで、第2の速度反射処理S97におい
ては、第1の速度反射処理S93と同様に、制御装置2
1における演算回路52は、速度記憶装置213から周
波数iに対応する速度v(i)と、速度吸収定数保持レ
ジスタ510から定数値absorptionとを読み出し、次式
を用いて周波数iに対応する速度v(i)の値を更新
し、その結果値を速度記憶装置213に出力して記憶す
る。
Next, in the second velocity reflection processing S97, similarly to the first velocity reflection processing S93, the controller 2
1 reads the speed v (i) corresponding to the frequency i from the speed storage device 213 and the constant value absorption from the speed absorption constant holding register 510, and calculates the speed v corresponding to the frequency i using the following equation. The value of (i) is updated, and the result value is output to the speed storage device 213 and stored.

【0114】[0114]

【数31】v(i)←−v(i)×absorption[Equation 31] v (i) ← −v (i) × absorption

【0115】さらに、第4の座標値正当化処理S98に
おいては、第2の座標値正当化処理S94と同様に、制
御装置21は、座標記憶装置23から周波数iに対応す
る座標q1(i)と、速度記憶装置213から周波数i
に対応する速度v(i)と、微小時間定数記憶装置21
1から微小時間定数dtとの各値を読み出し、次式を用
いて周波数iに対応する更新前座標q0(i)を更新
し、その結果値を更新前座標記憶装置28に出力して記
憶する。そして、元のルーチンに戻る。
Further, in the fourth coordinate value justification process S98, similarly to the second coordinate value justification process S94, the control device 21 sends the coordinates q 1 (i) corresponding to the frequency i from the coordinate storage device 23. ) And the frequency i from the speed storage device 213.
And the minute time constant storage device 21 corresponding to the speed v (i) corresponding to
The respective values of the minute time constant dt are read from 1 and the pre-update coordinates q 0 (i) corresponding to the frequency i are updated using the following equation, and the result values are output to the pre-update coordinate storage device 28 and stored. I do. Then, the process returns to the original routine.

【0116】[0116]

【数32】q0(i)←q1(i)−v(i)×dt(32) q 0 (i) ← q 1 (i) −v (i) × dt

【0117】以上の実施形態においては、輝度用量子化
テーブルと色差用量子化テーブルとを共に有する量子化
テーブルを一連のテーブルとして取り扱う場合を示した
が、本発明はこれに限らず、量子化テーブルが輝度用の
量子化テーブルのみ又は色差用の量子化テーブルのみを
有してもよい。
In the above embodiment, a case has been described in which a quantization table having both a luminance quantization table and a chrominance quantization table is handled as a series of tables. However, the present invention is not limited to this. The table may have only a quantization table for luminance or only a quantization table for color difference.

【0118】以上の実施形態においては、量子化テーブ
ルを非負の実数である座標に正規化して最適化を行う場
合について説明したが、標準的なJPEGの量子化テー
ブルのように自然数のまま取り扱うように各部を構成し
て、量子化テーブルの最適化を実行してもよい。また、
本実施形態の変形例として、JPEG符号化部3の代わ
りにMPEG符号化部を用してもよく、JPEG復号化
部4の代わりにMPEG符号化部を用いてもよい。
In the above embodiment, a case has been described in which the quantization table is normalized by normalizing the coordinates to non-negative real numbers, and optimization is performed. However, natural numbers are handled as in a standard JPEG quantization table. May be configured to execute the optimization of the quantization table. Also,
As a modified example of the present embodiment, an MPEG encoding unit may be used instead of the JPEG encoding unit 3, and an MPEG encoding unit may be used instead of the JPEG decoding unit 4.

【0119】以上の実施形態で説明した量子化テーブル
の最適化処理の処理プログラムを、例えば、CD−RO
M、CD−R、CD−RW、DVDなどの光ディスク又
は光磁気ディスク、もしくはフロッピーディスクなどの
記録媒体に記憶してもよい。これにより、量子化テーブ
ルの最適化処理の処理プログラムを提供を容易にするこ
とができ汎用のコンピュータで広く実行することができ
る。また、圧縮率は、復号化画像データの1画素あたり
のビット数であるビットレート(ビットで表現した情報
量)であってもよい。
The processing program for optimizing the quantization table described in the above embodiment may be implemented by, for example, a CD-RO
The information may be stored on a recording medium such as an optical disk such as M, CD-R, CD-RW, and DVD, or a magneto-optical disk, or a floppy disk. This makes it easy to provide a processing program for the quantization table optimizing process, and can be widely executed by a general-purpose computer. Further, the compression ratio may be a bit rate (amount of information expressed in bits) which is the number of bits per pixel of the decoded image data.

【0120】[0120]

【実施例】前述したような構成で量子化テーブル最適化
処理を行った場合の実施結果の一部を示す。ここで用い
た被圧縮用の試験画像は、財団法人テレビジョン学会の
ディジタル標準画像であるITE標準絵柄「ヘアバンド
の女性」(例えば、従来技術文献「財団法人テレビジョ
ン学会,“テレビジョンシステム評価用ディジタル標準
画像解説書”」参照。)のR画像、G画像及びB画像を
サンラスター(Sunraster)形式(米国サンマイクロシ
ステムズ社の提唱する画像形式)で表現し、その一部を
左上角を基準としてx座標が0画素、y座標が0画素の
位置で、幅704画素、高さ480画素で切り取った画
像である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A part of the result of the quantization table optimizing process performed as described above will be described. The test image to be compressed used here is an ITE standard pattern "hairband woman" which is a digital standard image of the Institute of Television Engineers of Japan. R, G, and B images in the “Sunraster” format (an image format proposed by Sun Microsystems, USA). This is an image cut out at a position where the x coordinate is 0 pixel and the y coordinate is 0 pixel as a reference and the width is 704 pixels and the height is 480 pixels.

【0121】画像品質評価値には物体色の色差を用い、
当該物体色の色差の計測時には、RGB色空間からXY
Z色空間への変換においてR,G,Bの値を2.2乗す
ることによってガンマ補正を行い、また、D65の標準
の光を用いた二度視野における三刺激値を用いる。詳細
は、従来技術文献「応用物理学会光学懇話会編,“色の
性質と技術”,pp.91−93(1998)」に記述
されている。
As the image quality evaluation value, the color difference of the object color is used.
When measuring the color difference of the object color, the XY
In conversion to the Z color space, gamma correction is performed by raising the values of R, G, and B to the power of 2.2, and tristimulus values in a field of view twice using standard D65 light are used. The details are described in the prior art document “Applied Physics Society, Optical Society”, “Color Properties and Technology”, pp. 91-93 (1998).

【0122】この試験画像に対する量子化テーブルを前
述のアルゴリズムを用いた場合において、量子化テーブ
ルの最適化を行うと、輝度信号用量子化テーブルは図1
7のようになり、また色差信号用量子化テーブルは図1
8のようになり、JPEG符号化方式の例示値の量子化
テーブルを用いたときよりも圧縮率が高く、かつ画像品
質評価値である物体色の色差の値が小さくなり、その結
果、数7における評価関数の絶対値は大きくなった。こ
れは、データベース装置225のデータベース検索処理
S21を最小画質評価値すなわち最小の色差で検索した
場合である。なお、この場合の反復回数は140回であ
る。この最適化された輝度信号用量子化テーブル及び色
差信号用量子化テーブルを用いた場合の圧縮率は、6
0.742倍となり、物体色の色差は5.526とな
る。一方、JPEG符号化方式の例示値の量子化テーブ
ルを用いた場合の圧縮率は、56.716倍となり、物
体色の色差は5.670となる。
When the quantization table for this test image is optimized using the above-described algorithm, the quantization table for the luminance signal is obtained as shown in FIG.
7 and the color difference signal quantization table is shown in FIG.
8, the compression ratio is higher than when the quantization table of the exemplary value of the JPEG encoding method is used, and the value of the color difference of the object color, which is the image quality evaluation value, is smaller. The absolute value of the evaluation function at increased. This is a case where the database search process S21 of the database device 225 is searched with the minimum image quality evaluation value, that is, the minimum color difference. In this case, the number of repetitions is 140. The compression rate when the optimized luminance signal quantization table and color difference signal quantization table are used is 6
It becomes 0.742 times, and the color difference of the object color becomes 5.526. On the other hand, when the quantization table of the example values of the JPEG encoding method is used, the compression ratio is 56.716 times, and the color difference of the object color is 5.670.

【0123】ここで、量子化テーブルの各値の小数点第
1位を四捨五入することによって整数化された場合の輝
度信号用量子化テーブルを図19に示し、同様に整数化
された場合の色差信号用量子化テーブルを図20に示
す。これらの輝度信号用及び色差信号用の量子化テーブ
ルを用いた場合の圧縮率は、60.710倍となり、物
体色の色差は5.485となる。これらの最適化された
量子化テーブルを用いて画像を圧縮する場合には、利用
者は、現行のJPEG復号器を拡張せずに、つまり全く
変更することなく、圧縮率が高くかつ画質の優れた画像
を利用することができる。
Here, FIG. 19 shows a quantization table for a luminance signal when each value of the quantization table is converted to an integer by rounding off the first decimal place, and similarly, a color difference signal when the value is converted to an integer. FIG. 20 shows a quantization table for use. When these quantization tables for the luminance signal and the color difference signal are used, the compression ratio is 60.710, and the color difference of the object color is 5.485. When compressing an image using these optimized quantization tables, a user can obtain a high compression rate and excellent image quality without expanding the existing JPEG decoder, that is, without changing it at all. Images can be used.

【0124】このように本発明の実施形態においては、
前述した手段を組み合わせ、量子化テーブルの値の変更
を反復することによって画像の圧縮のための量子化テー
ブルの最適化を行うことができるので、より一般的な画
像データに対して適用可能であり、従来例のJPEG符
号化方式の例示値の量子化テーブルを用いて画像データ
を符号化したときに比較してより高い圧縮率とより良好
な画像の品質とを同時に満足させる量子化テーブルを得
ることができる。
As described above, in the embodiment of the present invention,
By combining the above-described means and optimizing the quantization table for image compression by repeating the change of the value of the quantization table, it is applicable to more general image data. A quantization table that satisfies a higher compression rate and better image quality at the same time than when image data is encoded using a quantization table of an exemplary value of the conventional JPEG encoding method is obtained. be able to.

【0125】[0125]

【発明の効果】以上詳述したように本発明に係る請求項
1記載の画像符号化における量子化テーブルの最適化方
法は、符号化すべき被圧縮画像データを量子化テーブル
を用いて符号化画像データに符号化する符号化ステップ
と、上記符号化画像データを上記量子化テーブルを用い
て復号化画像データに復号化する復号化ステップと、上
記被圧縮画像データと上記符号化画像データとのデータ
量の比率、もしくは復号化画像データの1画素当たりの
ビット数であるビットレートである圧縮率を演算し、か
つ上記被圧縮画像データと比較して上記復号化画像デー
タの画質を評価した画質評価尺度を演算する演算ステッ
プと、上記圧縮率と上記画質評価尺度とに基づく評価関
数の値を演算し、当該評価関数の値に基づいて上記量子
化テーブルを更新する更新ステップと、上記符号化ステ
ップと、上記復号化ステップと、上記演算ステップと、
上記更新ステップとの各ステップを所定の回数だけ反復
することによって上記量子化テーブルを最適化する制御
ステップとを含む。従って、より一般的な画像データに
対して適用可能であり、従来例のJPEG符号化方式の
例示値の量子化テーブルを用いて画像データを符号化し
たときに比較してより高い圧縮率とより良好な画像の品
質とを同時に満足させる量子化テーブルを得ることがで
きる。
As described above in detail, the method for optimizing a quantization table in image encoding according to the first aspect of the present invention uses a quantization table to encode compressed image data to be encoded. An encoding step of encoding data; a decoding step of decoding the encoded image data into decoded image data using the quantization table; and a data of the compressed image data and the encoded image data. An image quality evaluation in which a compression ratio, which is a bit rate, which is a bit rate, which is the number of bits per pixel of decoded image data, is calculated, and the image quality of the decoded image data is evaluated in comparison with the compressed image data. Calculating a scale, calculating an evaluation function value based on the compression ratio and the image quality evaluation scale, and updating the quantization table based on the value of the evaluation function And updating step that, with the encoding step, and the decoding step, and the calculation step,
A control step of optimizing the quantization table by repeating each step of the updating step a predetermined number of times. Therefore, the present invention can be applied to more general image data, and has a higher compression ratio and higher compression rate than when image data is encoded using a quantization table of an exemplary value of the conventional JPEG encoding method. A quantization table that simultaneously satisfies good image quality can be obtained.

【0126】また、請求項2記載の画像符号化のための
量子化テーブルの最適化方法によれば、請求項1記載の
画像符号化のための量子化テーブルの最適化方法におい
て、上記画質評価尺度は、日本工業規格Z8730で定
義され、上記被圧縮画像データの画像の物体色と、上記
復号化画像データの画像の物体色との距離を示す物体色
の色差である。従って、より一般的な画像データに対し
て適用可能であり、従来例のJPEG符号化方式の例示
値の量子化テーブルを用いて画像データを符号化したと
きに比較してより高い圧縮率とより良好な画像の品質と
を同時に満足させる量子化テーブルを得ることができ
る。
According to the method for optimizing a quantization table for image coding according to the second aspect, in the method for optimizing a quantization table for image coding according to the first aspect, the image quality evaluation is performed. The scale is defined by Japanese Industrial Standards Z8730 and is a color difference between the object colors of the image of the compressed image data and the object colors of the image of the decoded image data. Therefore, the present invention can be applied to more general image data, and has a higher compression ratio and higher compression rate than when image data is encoded using a quantization table of an exemplary value of the conventional JPEG encoding method. A quantization table that simultaneously satisfies good image quality can be obtained.

【0127】さらに、請求項3記載の画像符号化のため
の量子化テーブルの最適化方法によれば、請求項1記載
の画像符号化のための量子化テーブルの最適化装置にお
いて、上記画質評価尺度は、上記被圧縮画像データの最
大値を信号とし、上記被圧縮画像データと上記復号化画
像データとの差を雑音としたときの信号対雑音比であ
る。従って、より一般的な画像データに対して適用可能
であり、従来例のJPEG符号化方式の例示値の量子化
テーブルを用いて画像データを符号化したときに比較し
てより高い圧縮率とより良好な画像の品質とを同時に満
足させる量子化テーブルを得ることができる。
According to a third aspect of the present invention, there is provided a quantization table optimizing apparatus for image encoding according to the first aspect, wherein the image quality evaluation is performed. The scale is a signal-to-noise ratio when the maximum value of the compressed image data is defined as a signal and the difference between the compressed image data and the decoded image data is defined as noise. Therefore, the present invention can be applied to more general image data, and has a higher compression ratio and higher compression rate than when image data is encoded using a quantization table of an exemplary value of the conventional JPEG encoding method. A quantization table that simultaneously satisfies good image quality can be obtained.

【0128】また、請求項4記載の画像符号化のための
量子化テーブルの最適化方法によれば、請求項1、2又
は3記載の画像符号化のための量子化テーブルの最適化
装置において、上記評価関数は、上記圧縮率を所定の第
1の重み係数で乗算した値と、上記画質評価尺度を所定
の第2の重み係数で乗算した値とを加算することによっ
て定義され、上記更新ステップは、上記評価関数の絶対
値を大きくするように上記量子化テーブルの値を変更す
る。従って、より一般的な画像データに対して適用可能
であり、従来例のJPEG符号化方式の例示値の量子化
テーブルを用いて画像データを符号化したときに比較し
てより高い圧縮率とより良好な画像の品質とを同時に満
足させる量子化テーブルを得ることができる。また、適
応化方法の処理をより簡単化することができる。
According to a fourth aspect of the present invention, there is provided an apparatus for optimizing a quantization table for image encoding according to any one of the first to third aspects. The evaluation function is defined by adding a value obtained by multiplying the compression ratio by a predetermined first weighting factor and a value obtained by multiplying the image quality evaluation scale by a predetermined second weighting factor. The step changes the value of the quantization table so as to increase the absolute value of the evaluation function. Therefore, the present invention can be applied to more general image data, and has a higher compression ratio and higher compression rate than when image data is encoded using a quantization table of an exemplary value of the conventional JPEG encoding method. A quantization table that simultaneously satisfies good image quality can be obtained. Further, the processing of the adaptation method can be further simplified.

【0129】さらに、請求項7記載の画像符号化のため
の量子化テーブルの最適化方法によれば、請求項1乃至
6のうちの1つに記載の画像符号化のための量子化テー
ブルの最適化方法において、上記更新ステップは、上記
符号化及び復号化に用いた現在の量子化テーブルを用い
て演算された評価関数の値と、上記現在の量子化テーブ
ルの値に所定の微小な値を加算したときの量子化テーブ
ルを用いて演算された評価関数の値との間の変化量に基
づいて、上記現在の量子化テーブルの値を更新する。従
って、より一般的な画像データに対して適用可能であ
り、従来例のJPEG符号化方式の例示値の量子化テー
ブルを用いて画像データを符号化したときに比較してよ
り高い圧縮率とより良好な画像の品質とを同時に満足さ
せる量子化テーブルを得ることができる。また、適応化
方法の処理をより簡単化することができる。
Further, according to the method for optimizing the quantization table for image encoding according to claim 7, the quantization table for image encoding according to one of claims 1 to 6 is used. In the optimization method, the updating step includes a step of calculating a value of an evaluation function calculated using the current quantization table used for the encoding and decoding, and a predetermined minute value to the value of the current quantization table. Is updated based on the amount of change between the evaluation function and the value of the evaluation function calculated by using the quantization table when is added. Therefore, the present invention can be applied to more general image data, and has a higher compression ratio and higher compression rate than when image data is encoded using a quantization table of an exemplary value of the conventional JPEG encoding method. A quantization table that simultaneously satisfies good image quality can be obtained. Further, the processing of the adaptation method can be further simplified.

【0130】本発明に係る請求項8記載の画像符号化の
ための量子化テーブルの最適化装置によれば、符号化す
べき被圧縮画像データを量子化テーブルを用いて符号化
画像データに符号化する符号化手段と、上記符号化画像
データを上記量子化テーブルを用いて復号化画像データ
に復号化する復号化手段と、上記被圧縮画像データと上
記符号化画像データとのデータ量の比率、もしくは復号
化画像データの1画素当たりのビット数であるビットレ
ートである圧縮率を演算し、かつ上記被圧縮画像データ
と比較して上記復号化画像データの画質を評価した画質
評価尺度を演算する演算手段と、上記圧縮率と上記画質
評価尺度とに基づく評価関数の値を演算し、当該評価関
数の値に基づいて上記量子化テーブルを更新する更新手
段と、上記符号化手段と、上記復号化手段と、上記演算
手段と、上記更新手段との各処理を所定の回数だけ反復
することによって上記量子化テーブルを最適化する制御
手段とを備える。従って、より一般的な画像データに対
して適用可能であり、従来例のJPEG符号化方式の例
示値の量子化テーブルを用いて画像データを符号化した
ときに比較してより高い圧縮率とより良好な画像の品質
とを同時に満足させる量子化テーブルを得ることができ
る。
According to the quantization table optimizing apparatus for image coding according to claim 8 of the present invention, the compressed image data to be coded is coded into the coded image data using the quantization table. Encoding means, decoding means for decoding the encoded image data into decoded image data using the quantization table, the ratio of the data amount of the compressed image data and the encoded image data, Alternatively, a compression ratio which is a bit rate which is the number of bits per pixel of the decoded image data is calculated, and an image quality evaluation scale for evaluating the image quality of the decoded image data by comparing with the compressed image data is calculated. Calculating means, calculating means for calculating a value of an evaluation function based on the compression ratio and the image quality evaluation scale, and updating the quantization table based on the value of the evaluation function; Comprising the stage, and the decoding means, and said calculating means, and control means for optimizing the quantization table by repeating a predetermined number of times the processing of the updating means. Therefore, the present invention can be applied to more general image data, and has a higher compression ratio and higher compression rate than when image data is encoded using a quantization table of an exemplary value of the conventional JPEG encoding method. A quantization table that simultaneously satisfies good image quality can be obtained.

【0131】また、請求項9記載の画像符号化のための
量子化テーブルの最適化装置によれば、請求項8記載の
画像符号化のための量子化テーブルの最適化装置におい
て、上記画質評価尺度は、日本工業規格Z8730で定
義され、上記被圧縮画像データの画像の物体色と上記復
号化画像データの画像の物体色との距離を示す物体色の
色差である。従って、より一般的な画像データに対して
適用可能であり、従来例のJPEG符号化方式の例示値
の量子化テーブルを用いて画像データを符号化したとき
に比較してより高い圧縮率とより良好な画像の品質とを
同時に満足させる量子化テーブルを得ることができる。
According to the quantization table optimizing apparatus for image encoding according to the ninth aspect, in the quantization table optimizing apparatus for an image encoding according to the eighth aspect, the image quality evaluation is performed. The scale is defined by Japanese Industrial Standards Z8730 and is a color difference of an object color indicating a distance between the object color of the image of the compressed image data and the object color of the image of the decoded image data. Therefore, the present invention can be applied to more general image data, and has a higher compression ratio and higher compression rate than when image data is encoded using a quantization table of an exemplary value of the conventional JPEG encoding method. A quantization table that simultaneously satisfies good image quality can be obtained.

【0132】さらに、請求項10記載の画像符号化のた
めの量子化テーブルの最適化装置によれば、請求項8記
載の画像符号化のための量子化テーブルの最適化装置に
おいて、上記画質評価尺度は、上記被圧縮画像データの
最大値を信号とし、上記被圧縮画像データと上記復号化
画像データとの差を雑音としたときの信号対雑音比であ
る。従って、より一般的な画像データに対して適用可能
であり、従来例のJPEG符号化方式の例示値の量子化
テーブルを用いて画像データを符号化したときに比較し
てより高い圧縮率とより良好な画像の品質とを同時に満
足させる量子化テーブルを得ることができる。
Further, according to the apparatus for optimizing a quantization table for image coding according to claim 10, the apparatus for optimizing a quantization table for image coding according to claim 8 is characterized in that: The scale is a signal-to-noise ratio when the maximum value of the compressed image data is defined as a signal and the difference between the compressed image data and the decoded image data is defined as noise. Therefore, the present invention can be applied to more general image data, and has a higher compression ratio and higher compression rate than when image data is encoded using a quantization table of an exemplary value of the conventional JPEG encoding method. A quantization table that simultaneously satisfies good image quality can be obtained.

【0133】また、請求項11記載の画像符号化のため
の量子化テーブルの最適化装置によれば、請求項8、9
又は10記載の画像符号化のための量子化テーブルの最
適化装置において、上記評価関数は、上記圧縮率を所定
の第1の重み係数で乗算した値と、上記画質評価尺度を
所定の第2の重み係数で乗算した値とを加算することに
よって定義され、上記更新手段は、上記評価関数の値を
大きくするように上記量子化テーブルの値を変更する。
従って、より一般的な画像データに対して適用可能であ
り、従来例のJPEG符号化方式の例示値の量子化テー
ブルを用いて画像データを符号化したときに比較してよ
り高い圧縮率とより良好な画像の品質とを同時に満足さ
せる量子化テーブルを得ることができる。また、適応化
方法の処理をより簡単化することができる。
According to the apparatus for optimizing a quantization table for image coding according to the eleventh aspect of the present invention,
Or the quantization table optimizing apparatus for image encoding according to 10, wherein the evaluation function is obtained by multiplying the compression ratio by a predetermined first weighting factor and the image quality evaluation scale by a predetermined second weighting factor. The updating means changes the value of the quantization table so as to increase the value of the evaluation function.
Therefore, the present invention can be applied to more general image data, and has a higher compression ratio and higher compression rate than when image data is encoded using a quantization table of an exemplary value of the conventional JPEG encoding method. A quantization table that simultaneously satisfies good image quality can be obtained. Further, the processing of the adaptation method can be further simplified.

【0134】さらに、請求項14記載の画像符号化のた
めの量子化テーブルの最適化装置によれば、請求項8乃
至13のうちの1つに記載の画像符号化のための量子化
テーブルの最適化装置において、上記更新手段は、上記
符号化及び復号化に用いた現在の量子化テーブルを用い
て上記演算手段によって演算された評価関数の値と、上
記現在の量子化テーブルの値に所定の微小な値を加算し
たときの量子化テーブルを用いて上記演算手段によって
演算された評価関数の値との間の変化量に基づいて、上
記現在の量子化テーブルの値を更新する。従って、より
一般的な画像データに対して適用可能であり、従来例の
JPEG符号化方式の例示値の量子化テーブルを用いて
画像データを符号化したときに比較してより高い圧縮率
とより良好な画像の品質とを同時に満足させる量子化テ
ーブルを得ることができる。また、適応化方法の処理を
より簡単化することができる。
Further, according to the apparatus for optimizing a quantization table for image coding according to claim 14, the quantization table for image coding according to one of claims 8 to 13 is provided. In the optimizing device, the updating unit may determine a value of the evaluation function calculated by the calculating unit using the current quantization table used for the encoding and decoding, and a value of the current quantization table. The current value of the quantization table is updated based on the amount of change between the evaluation function and the value of the evaluation function calculated by the calculation means using the quantization table obtained by adding the small value of. Therefore, the present invention can be applied to more general image data, and has a higher compression ratio and higher compression rate than when image data is encoded using a quantization table of an exemplary value of the conventional JPEG encoding method. A quantization table that simultaneously satisfies good image quality can be obtained. Further, the processing of the adaptation method can be further simplified.

【0135】本発明に係る請求項15記載の記録媒体に
よれば、請求項1乃至7のうちの1つに記載の画像符号
化のための量子化テーブルの最適化方法に含まれる各ス
テップの処理プログラムを記録する。従って、より一般
的な画像データに対して適用可能であり、従来例のJP
EG符号化方式の例示値の量子化テーブルを用いて画像
データを符号化したときに比較してより高い圧縮率とよ
り良好な画像の品質とを同時に満足させる量子化テーブ
ルを得ることができる。また、適応化方法の処理をより
簡単化することができる。さらに、量子化テーブルの最
適化処理の処理プログラムを提供を容易にすることがで
き汎用のコンピュータで広く実行することができる。
According to the recording medium of claim 15 of the present invention, each step included in the method of optimizing a quantization table for image encoding according to one of claims 1 to 7 is described. Record the processing program. Therefore, the present invention can be applied to more general image data.
It is possible to obtain a quantization table that simultaneously satisfies a higher compression ratio and better image quality as compared with a case where image data is encoded using a quantization table of an example value of the EG encoding method. Further, the processing of the adaptation method can be further simplified. Further, it is possible to easily provide a processing program for the optimization processing of the quantization table, and it can be widely executed by a general-purpose computer.

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

【図1】 本発明に係る一実施形態の画像評価処理シス
テムの構成例を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration example of an image evaluation processing system according to an embodiment of the present invention.

【図2】 図1の高次元アルゴリズム演算部1の第1の
部分を示すブロック図である。
FIG. 2 is a block diagram showing a first part of the high-dimensional algorithm operation unit 1 of FIG.

【図3】 図1の高次元アルゴリズム演算部1の第2の
部分を示すブロック図である。
FIG. 3 is a block diagram showing a second part of the high-dimensional algorithm operation unit 1 of FIG.

【図4】 図1のJPEG符号化部3の構成を示すブロ
ック図である。
FIG. 4 is a block diagram showing a configuration of a JPEG encoding unit 3 of FIG.

【図5】 図1のJPEG復号化部4の構成を示すブロ
ック図である。
FIG. 5 is a block diagram illustrating a configuration of a JPEG decoding unit 4 of FIG. 1;

【図6】 図2の制御装置21の構成を示すブロック図
である。
FIG. 6 is a block diagram showing a configuration of a control device 21 of FIG.

【図7】 図1の画像処理システムによって実行される
メインルーチンである量子化テーブル最適化処理を示す
フローチャートである。
FIG. 7 is a flowchart illustrating a quantization table optimization process which is a main routine executed by the image processing system of FIG. 1;

【図8】 図7のサブルーチンである初期化処理S11
を示すフローチャートである。
8 is an initialization processing S11 which is a subroutine of FIG. 7;
It is a flowchart which shows.

【図9】 図7のサブルーチンである画像評価処理S1
5を示すフローチャートである。
9 is an image evaluation process S1 which is a subroutine of FIG.
6 is a flowchart illustrating a fifth example.

【図10】 図9のサブルーチンであるJPEG符号化
処理S31を示すフローチャートである。
10 is a flowchart showing a JPEG encoding process S31 which is a subroutine of FIG.

【図11】 図9のサブルーチンであるJPEG復号化
処理S32を示すフローチャートである。
FIG. 11 is a flowchart showing a JPEG decoding process S32 which is a subroutine of FIG. 9;

【図12】 図7のサブルーチンである一部更新処理S
17の第1の部分を示すフローチャートである。
FIG. 12 is a partial update process S which is a subroutine of FIG. 7;
17 is a flowchart showing a first part of FIG.

【図13】 図7のサブルーチンである一部更新処理S
17の第2の部分を示すフローチャートである。
FIG. 13 is a partial update process S which is a subroutine of FIG. 7;
17 is a flowchart showing a second part of No. 17.

【図14】 図7のサブルーチンである更新処理S18
を示すフローチャートである。
FIG. 14 is an update process S18 as a subroutine of FIG. 7;
It is a flowchart which shows.

【図15】 図14のサブルーチンである反射処理S8
5の第1の部分を示すフローチャートである。
FIG. 15 is a reflection process S8 which is a subroutine of FIG.
5 is a flowchart showing a first part of FIG.

【図16】 図14のサブルーチンである反射処理S8
5の第2の部分を示すフローチャートである。
FIG. 16 is a reflection process S8 as a subroutine of FIG.
6 is a flowchart showing a second part of FIG.

【図17】 図1の画像処理システムにおいて最適化さ
れた輝度信号用量子化テーブルの一例を示す図である。
17 is a diagram illustrating an example of a luminance signal quantization table optimized in the image processing system of FIG. 1;

【図18】 図1の画像処理システムにおいて最適化さ
れた色差信号用量子化テーブルの一例を示す図である。
18 is a diagram illustrating an example of a color difference signal quantization table optimized in the image processing system of FIG. 1;

【図19】 整数化された図17における輝度信号用量
子化テーブルの一例を示す図である。
FIG. 19 is a diagram illustrating an example of a quantization table for luminance signals in FIG. 17 that has been converted to an integer.

【図20】 整数化された図18における色差信号用量
子化テーブルの一例を示す図である。
FIG. 20 is a diagram showing an example of a quantization table for color difference signals in FIG. 18 converted into an integer;

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

1…高次元アルゴリズム演算部、 2…量子化テーブル記憶部、 3…JPEG符号化部、 4…JPEG復号化部、 5…被圧縮画像記憶部、 6…JPEG画像記憶部、 7…復号化画像記憶部、 8…画像圧縮率算出部、 9…画像品質評価部、 21…制御装置、 22…座標初期値記憶装置、 23…座標記憶装置、 24…座標量子化ステップ変換装置、 25…量子化テーブル一時記憶装置、 26…量子化テーブル読み出し装置、 27…座標演算装置、 28…更新前座標記憶装置、 29…座標差分演算装置、 210…座標差分記憶装置、 211…微小時間定数記憶装置、 212…速度演算装置、 213…速度記憶装置、 214…微小座標差分演算装置、 215…減衰定数記憶装置、 216…微小座標差分記憶装置、 217…圧縮率記憶装置、 218…評価関数演算装置、 219…更新前評価関数値記憶装置、 220…力演算装置、 221…画像品質評価値記憶装置、 222…更新後評価関数値記憶装置、 223…力記憶装置、 224…一時座標記憶装置、 225…データベース装置 31…被圧縮画像読み取り装置、 32…色変換装置、 33…画素間引き装置、 34…DCT演算装置、 35…量子化装置、 36…ハフマン符号化装置、 37…JPEG画像読み出し装置、 41…JPEG画像読み取り装置、 42…ハフマン復号化装置、 43…逆量子化装置、 44…IDCT演算装置、 45…画素補間装置、 46…色変換装置、 47…復号化画像読み出し装置、 51…演算回路、 52…制御回路、 53…記憶回路、 54…最小座標値保持レジスタ、 55…最大座標値保持レジスタ、 56…時間カウンタ、 57…最大時間保持レジスタ、 58…周波数カウンタ、 59…最大周波数保持レジスタ、 510…速度吸収定数保持レジスタ、 511…内部バス。 DESCRIPTION OF SYMBOLS 1 ... High-dimensional algorithm operation part, 2 ... Quantization table storage part, 3 ... JPEG encoding part, 4 ... JPEG decoding part, 5 ... Compressed image storage part, 6 ... JPEG image storage part, 7 ... Decoded image Storage unit, 8: image compression ratio calculation unit, 9: image quality evaluation unit, 21: control unit, 22: coordinate initial value storage unit, 23: coordinate storage unit, 24: coordinate quantization step conversion unit, 25: quantization Table temporary storage device, 26: quantization table reading device, 27: coordinate calculation device, 28: coordinate storage device before update, 29: coordinate difference calculation device, 210: coordinate difference storage device, 211: minute time constant storage device, 212 … Speed calculation device, 213 speed storage device, 214 minute coordinate difference calculation device, 215 attenuation coefficient storage device, 216 minute coordinate difference storage device, 217 compression ratio storage device 218 ... Evaluation function operation device, 219 ... Evaluation function value storage device before update, 220 ... Force operation device, 221 ... Image quality evaluation value storage device, 222 ... Evaluation function value storage device after update, 223 ... Power storage device 224: temporary coordinate storage device, 225: database device 31: compressed image reading device, 32: color conversion device, 33: pixel thinning device, 34: DCT operation device, 35: quantization device, 36: Huffman coding device, 37 JPEG image reading device 41 JPEG image reading device 42 Huffman decoding device 43 Dequantization device 44 IDCT operation device 45 Pixel interpolation device 46 Color conversion device 47 Decoding Image reading device, 51: arithmetic circuit, 52: control circuit, 53: storage circuit, 54: minimum coordinate value holding register, 55: maximum position Value holding register, 56 ... time counter, 57 ... maximum time holding register, 58 ... frequency counter, 59 ... maximum frequency holding register, 510 ... speed absorption constant hold register, 511 ... internal bus.

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成11年1月27日[Submission date] January 27, 1999

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】特許請求の範囲[Correction target item name] Claims

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【特許請求の範囲】[Claims]

【手続補正2】[Procedure amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0008[Correction target item name] 0008

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0008】[0008]

【課題を解決するための手段】本発明に係る請求項1記
載の画像符号化のための量子化テーブルの最適化方法
は、第1の量子化テーブルを所定の第1の初期値を用い
て初期化する第1の初期化ステップと、符号化及び復号
化のための第2の量子化テーブルを所定の第2の初期値
を用いて初期化する第2の初期化ステップと、評価関数
演算ステップと、第1の更新ステップと、第2の更新ス
テップと、上記評価関数演算ステップと、上記第1の更
新ステップと、上記第2の更新ステップとの各ステップ
を所定の回数だけ反復することによって第2の量子化テ
ーブルを最適化する制御ステップとを含み、上記評価関
数演算ステップは、符号化すべき被圧縮画像データを第
2の量子化テーブルを用いて符号化画像データに符号化
し、上記符号化画像データを第2の量子化テーブルを用
いて復号化画像データに復号化し、上記被圧縮画像デー
タと上記符号化画像データとのデータ量の比率、もしく
は復号化画像データの1画素当たりのビット数であるビ
ットレートである圧縮率を演算し、かつ上記被圧縮画像
データと比較して上記復号化画像データの画質を評価し
た画質評価尺度を演算し、上記演算された圧縮率と画質
評価尺度とに基づいて第1の評価関数の値(Uold)を演
算し、上記第1の更新ステップは、第2の量子化テーブ
ルのある要素の値(q1(i))に所定の微小な値(d
q(i))を加算することにより第3の量子化テーブル
を演算し、符号化すべき被圧縮画像データを第3の量子
化テーブルを用いて符号化画像データに符号化し、上記
符号化画像データを第3の量子化テーブルを用いて復号
化画像データに復号化し、上記被圧縮画像データと上記
符号化画像データとのデータ量の比率、もしくは復号化
画像データの1画素当たりのビット数であるビットレー
トである圧縮率を演算し、かつ上記被圧縮画像データと
比較して上記復号化画像データの画質を評価した画質評
価尺度を演算し、上記演算された圧縮率と画質評価尺度
とに基づいて第2の評価関数の値(Une w)を演算し、
演算された第1の評価関数の値(Uold)と演算された
第2の評価関数の値(Unew)との間の変化量を演算
し、演算された変化量と、上記第2の量子化テーブルの
ある要素の値(q1(i))に対応する第1の量子化テ
ーブルの要素の値(q0(i))とに基づいて、第2の
量子化テーブルの当該要素の値(q1(i))及び当該
要素の値に対応する所定の変数(v(i))の値を、当
該要素以外の値とは独立に更新し、上記第2の更新ステ
ップは、上記第1の更新ステップを第2の量子化テーブ
ルのすべての要素について繰り返して実行し、上記第1
の更新ステップが実行されたすべての要素を有する第2
の量子化テーブルを第1の量子化テーブルとして更新す
ることを特徴とする。
According to a first aspect of the present invention, there is provided a method for optimizing a quantization table for image encoding, comprising the steps of: setting a first quantization table using a predetermined first initial value; A first initialization step of initializing, a second initialization step of initializing a second quantization table for encoding and decoding using a predetermined second initial value, and an evaluation function operation Repeating a step, a first update step, a second update step, the evaluation function calculation step, the first update step, and the second update step a predetermined number of times. And a control step of optimizing a second quantization table by using the second quantization table. The evaluation function operation step encodes the compressed image data to be encoded into encoded image data using a second quantization table. Coded image The data is decoded into decoded image data using the second quantization table, and the ratio of the amount of data between the compressed image data and the encoded image data, or the number of bits per pixel of the decoded image data Calculates a compression rate that is a bit rate that is, and calculates an image quality evaluation scale that evaluates the image quality of the decoded image data in comparison with the compressed image data, and calculates the calculated compression ratio and image quality evaluation scale. , The value (U old ) of the first evaluation function is calculated, and the first updating step includes the step of updating the value (q1 (i)) of a certain element of the second quantization table to a predetermined minute value (q1 (i)). d
q (i)) to calculate a third quantization table, and encode the compressed image data to be encoded into encoded image data using the third quantization table. Is decoded into decoded image data using the third quantization table, and is the ratio of the data amount of the compressed image data to the encoded image data or the number of bits per pixel of the decoded image data. Calculates a compression rate that is a bit rate, and calculates an image quality evaluation scale that evaluates the image quality of the decoded image data by comparing with the compressed image data, based on the calculated compression rate and image quality evaluation scale. second evaluation function value (U ne w) calculated Te,
A change amount between the calculated value of the first evaluation function (U old ) and the calculated value of the second evaluation function (U new ) is calculated, and the calculated change amount and the second change amount are calculated. On the basis of the value (q0 (i)) of the element of the first quantization table corresponding to the value (q1 (i)) of the element of the quantization table, the value (q0 (i)) of the element of the second quantization table q1 (i)) and the value of a predetermined variable (v (i)) corresponding to the value of the element are updated independently of the value of the element other than the element. The updating step is repeatedly executed for all the elements of the second quantization table, and the first
The second step having all elements for which the update step of
Is updated as the first quantization table.

【手続補正3】[Procedure amendment 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0011[Correction target item name] 0011

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0011】また、請求項4記載の画像符号化のための
量子化テーブルの最適化方法は、請求項1、2又は3記
載の画像符号化のための量子化テーブルの最適化装置に
おいて、上記評価関数は、上記圧縮率を所定の第1の重
み係数で乗算した値と、上記画質評価尺度を所定の第2
の重み係数で乗算した値とを加算することによって定義
され、上記第1の更新ステップは、上記評価関数の絶対
値を大きくするように第2の量子化テーブルの値を変更
することを特徴とする。ここで、上記評価関数は、圧縮
率と物体色の色差によって構成される場合には、第1の
重み係数と第2の重み係数とを異なる符号とすることを
特徴とする。また、上記評価関数は、圧縮率と信号対雑
音比によって構成される場合には、第1の重み係数と第
2の重み係数とを同じ符号とすることを特徴とする。
According to a fourth aspect of the present invention, there is provided a quantization table optimizing apparatus for image encoding according to the first, second, or third aspect. The evaluation function is a value obtained by multiplying the compression ratio by a predetermined first weighting factor and the image quality evaluation scale by a predetermined second weighting coefficient.
And a value multiplied by a weighting factor of the first function is added, and the first updating step changes a value of a second quantization table so as to increase an absolute value of the evaluation function. I do. Here, when the evaluation function is constituted by the compression ratio and the color difference between the object colors, the first weighting coefficient and the second weighting coefficient are different codes. Further, when the evaluation function is composed of a compression ratio and a signal-to-noise ratio, the first weighting coefficient and the second weighting coefficient have the same sign.

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0012[Correction target item name] 0012

【補正方法】削除[Correction method] Deleted

【手続補正5】[Procedure amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0013[Correction target item name] 0013

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0013】本発明に係る請求項7記載の画像符号化の
ための量子化テーブルの最適化装置は、第1の量子化テ
ーブルを所定の第1の初期値を用いて初期化する第1の
初期化手段と、符号化及び復号化のための第2の量子化
テーブルを所定の第2の初期値を用いて初期化する第2
の初期化手段と、評価関数演算手段と、第1の更新手段
と、第2の更新手段と、上記評価関数演算手段と、上記
第1の更新手段と、上記第2の更新手段との各処理を所
定の回数だけ反復することによって第2の量子化テーブ
ルを最適化する制御手段とを備え、上記評価関数演算手
段は、符号化すべき被圧縮画像データを第2の量子化テ
ーブルを用いて符号化画像データに符号化し、上記符号
化画像データを第2の量子化テーブルを用いて復号化画
像データに復号化し、上記被圧縮画像データと上記符号
化画像データとのデータ量の比率、もしくは復号化画像
データの1画素当たりのビット数であるビットレートで
ある圧縮率を演算し、かつ上記被圧縮画像データと比較
して上記復号化画像データの画質を評価した画質評価尺
度を演算し、上記演算された圧縮率と画質評価尺度とに
基づいて第1の評価関数の値(Uold)を演算し、上記第
1の更新手段は、第2の量子化テーブルのある要素の値
(q1(i))に所定の微小な値(dq(i))を加算
することにより第3の量子化テーブルを演算し、符号化
すべき被圧縮画像データを第3の量子化テーブルを用い
て符号化画像データに符号化し、上記符号化画像データ
を第3の量子化テーブルを用いて復号化画像データに復
号化し、上記被圧縮画像データと上記符号化画像データ
とのデータ量の比率、もしくは復号化画像データの1画
素当たりのビット数であるビットレートである圧縮率を
演算し、かつ上記被圧縮画像データと比較して上記復号
化画像データの画質を評価した画質評価尺度を演算し、
上記演算された圧縮率と画質評価尺度とに基づいて第2
の評価関数の値(Une w)を演算し、演算された第1の
評価関数の値(Uold)と演算された第2の評価関数の
値(Unew)との間の変化量を演算し、演算された変化
量と、上記第2の量子化テーブルのある要素の値(q1
(i))に対応する第1の量子化テーブルの要素の値
(q0(i))とに基づいて、第2の量子化テーブルの
当該要素の値(q1(i))及び当該要素の値に対応す
る所定の変数(v(i))の値を、当該要素以外の値と
は独立に更新し、上記第2の更新手段は、上記第1の更
新手段の処理を第2の量子化テーブルのすべての要素に
ついて繰り返して実行し、上記第1の更新手段の処理が
実行されたすべての要素を有する第2の量子化テーブル
を第1の量子化テーブルとして更新することを特徴とす
る。
According to a seventh aspect of the present invention, there is provided an apparatus for optimizing a quantization table for image encoding, comprising: a first quantization table for initializing a first quantization table using a predetermined first initial value; Initialization means for initializing a second quantization table for encoding and decoding using a predetermined second initial value;
Each of the initialization means, the evaluation function calculation means, the first update means, the second update means, the evaluation function calculation means, the first update means, and the second update means Control means for optimizing the second quantization table by repeating the processing a predetermined number of times, wherein the evaluation function calculating means uses the second quantization table to encode the compressed image data to be encoded. Encoding into encoded image data, decoding the encoded image data into decoded image data using a second quantization table, and a ratio of a data amount between the compressed image data and the encoded image data, or Calculate a compression rate that is a bit rate that is the number of bits per pixel of the decoded image data, and calculate an image quality evaluation scale that evaluates the image quality of the decoded image data in comparison with the compressed image data; the above First evaluation function value (U old) calculated based on the calculated compression ratio and image quality evaluation measure, the first update means, the value of certain elements of the second quantization table (q1 ( A third quantization table is calculated by adding a predetermined minute value (dq (i)) to (i)), and the compressed image data to be encoded is encoded using the third quantization table. The encoded image data is decoded into decoded image data using a third quantization table, and the ratio of the data amount between the compressed image data and the encoded image data or the decoded image data is encoded. Calculating a compression ratio, which is a bit rate that is the number of bits per pixel of the data, and calculating an image quality evaluation scale for evaluating the image quality of the decoded image data by comparing with the compressed image data;
Based on the calculated compression ratio and image quality evaluation scale, a second
Calculates the value of the evaluation function (U ne w), the amount of change between the computed second evaluation function value which is calculated from the first evaluation function value (U old) (U new) Calculated, and the calculated change amount and the value (q1) of a certain element in the second quantization table.
Based on the value (q0 (i)) of the element in the first quantization table corresponding to (i)), the value (q1 (i)) of the element in the second quantization table and the value of the element in the second quantization table And updates the value of the predetermined variable (v (i)) corresponding to the second variable independently of the value of the element other than the element, and the second updating means performs processing of the first updating means by a second quantization. The process is repeatedly executed for all elements of the table, and the second quantization table having all the elements on which the processing of the first updating unit has been executed is updated as the first quantization table.

【手続補正6】[Procedure amendment 6]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0014[Correction target item name] 0014

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0014】また、請求項8記載の画像符号化のための
量子化テーブルの最適化装置は、請求項7記載の画像符
号化のための量子化テーブルの最適化装置において、上
記画質評価尺度は、日本工業規格Z8730で定義さ
れ、上記被圧縮画像データの画像の物体色と上記復号化
画像データの画像の物体色との距離を示す物体色の色差
であることを特徴とする。
According to an eighth aspect of the present invention, there is provided an apparatus for optimizing a quantization table for image encoding according to the seventh aspect of the present invention. , Defined by Japanese Industrial Standards Z8730, and is a color difference of an object color indicating a distance between the object color of the image of the compressed image data and the object color of the image of the decoded image data.

【手続補正7】[Procedure amendment 7]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0015[Correction target item name] 0015

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0015】さらに、請求項9記載の画像符号化のため
の量子化テーブルの最適化装置は、請求項7記載の画像
符号化のための量子化テーブルの最適化装置において、
上記画質評価尺度は、上記被圧縮画像データの最大値を
信号とし、上記被圧縮画像データと上記復号化画像デー
タとの差を雑音としたときの信号対雑音比であることを
特徴とする。
Further, the apparatus for optimizing a quantization table for image coding according to claim 9 is the apparatus for optimizing a quantization table for image coding according to claim 7.
The image quality evaluation scale is a signal-to-noise ratio when the maximum value of the compressed image data is a signal, and the difference between the compressed image data and the decoded image data is noise.

【手続補正8】[Procedure amendment 8]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0016[Correction target item name] 0016

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0016】また、請求項10記載の画像符号化のため
の量子化テーブルの最適化装置は、請求項7、8又は9
記載の画像符号化のための量子化テーブルの最適化装置
において、上記評価関数は、上記圧縮率を所定の第1の
重み係数で乗算した値と、上記画質評価尺度を所定の第
2の重み係数で乗算した値とを加算することによって定
義され、上記第1の更新手段は、上記評価関数の絶対値
を大きくするように第2の量子化テーブルの値を変更す
ることを特徴とする。ここで、上記評価関数は、圧縮率
と物体色の色差によって構成される場合には、第1の重
み係数と第2の重み係数とを異なる符号とすることを特
徴とする。また、上記評価関数は、圧縮率と信号対雑音
比によって構成される場合には、第1の重み係数と第2
の重み係数とを同じ符号とすることを特徴とする。
According to a tenth aspect of the present invention, there is provided an apparatus for optimizing a quantization table for image encoding according to the seventh, eighth or ninth aspect.
In the above-described apparatus for optimizing a quantization table for image encoding, the evaluation function may include a value obtained by multiplying the compression ratio by a predetermined first weighting factor, and a value obtained by multiplying the image quality evaluation scale by a predetermined second weight. It is defined by adding a value multiplied by a coefficient, and the first updating means changes the value of the second quantization table so as to increase the absolute value of the evaluation function. Here, when the evaluation function is constituted by the compression ratio and the color difference between the object colors, the first weighting coefficient and the second weighting coefficient are different codes. When the evaluation function is constituted by a compression ratio and a signal-to-noise ratio, the first weighting factor and the second
And the weighting coefficient is set to the same sign.

【手続補正9】[Procedure amendment 9]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0017[Correction target item name] 0017

【補正方法】削除[Correction method] Deleted

【手続補正10】[Procedure amendment 10]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0018[Correction target item name] 0018

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0018】本発明に係る請求項13記載の記録媒体
は、請求項1乃至6のうちの1つに記載の画像符号化の
ための量子化テーブルの最適化方法に含まれる各ステッ
プの処理プログラムを記録したことを特徴とする。
According to a thirteenth aspect of the present invention, there is provided a recording medium according to any one of the first to sixth aspects, wherein each of the steps is included in the method for optimizing a quantization table for image encoding. Is recorded.

【手続補正11】[Procedure amendment 11]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0045[Correction target item name] 0045

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0045】初期化処理S11は、量子化テーブル記憶
部2に記憶される量子化テーブルの最適化処理のための
初期化処理であり、時間tの初期値を1に設定するなど
の処理を行う。上記量子化テーブルの最適化は、座標量
子化ステップ変換処理S13と、量子化テーブル読み出
し処理S14と、画像評価処理S15と、評価関数演算
処理S16と、一部更新処理S17と、更新処理S18
と、時間カウンタ56のインクリメントの処理S19
と、データベース登録処理S20の各処理をステップ1
2の終了条件を満たすまで反復することによって行われ
る。
The initialization process S11 is an initialization process for optimizing the quantization table stored in the quantization table storage unit 2, and performs a process such as setting the initial value of the time t to 1. . Optimization of the quantization table includes coordinate quantization step conversion processing S13, quantization table reading processing S14, image evaluation processing S15, evaluation function calculation processing S16, partial update processing S17, and update processing S18.
And the processing S19 of incrementing the time counter 56
And the respective steps of the database registration processing S20
It is performed by repeating until the termination condition of 2 is satisfied.

【手続補正12】[Procedure amendment 12]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0047[Correction target item name] 0047

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0047】[0047]

【数6】t>tmax 従って、反復処理における各処理S13乃至S20はt
max回だけ実行される。
T> t max Therefore, each of the processes S13 to S20 in the iterative process is t
Executed max times.

【手続補正13】[Procedure amendment 13]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0054[Correction target item name] 0054

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0054】次いで、一部更新処理S17は、高次元ア
ルゴリズムによって各周波数ごとの更新すべき座標値を
算出するための座標差分などを演算する処理である。ま
た、更新処理S18は、一部更新処理S17によって算
出された座標差分を用いて、各周波数ごとの座標値を更
新する処理である。データベース登録処理S20におい
ては、制御装置21が時間tにおける量子化テーブル、
圧縮率C1、画像品質評価値C2及び評価関数値を時間t
とともにデータベース装置225に登録する処理を行
う。さらに、時間カウンタ56のインクリメントの処理
S19では、時間カウンタ56に記憶される時間tの値
を1だけインクリメントし、さらにデータベース登録処
理S20を実行した後、ステップS12に戻る。ステッ
プS12の終了条件を満たした場合には、データベース
検索処理S21を行う。データベース検索処理S21
は、制御装置21が最大圧縮率、画像品質評価値が色差
の場合最小画像品質評価値、画像品質評価値が信号対雑
音比の場合最大画像品質評価値あるいは最大評価関数値
などを検索キーとして該当する所望の量子化テーブルを
データベース装置225から検索する処理を行う。ここ
で、検索キーとなる所望の最大圧縮率などは予め利用者
によって設定されているものとする。
Next, the partial update process S17 is a process of calculating a coordinate difference or the like for calculating a coordinate value to be updated for each frequency by a high-dimensional algorithm. The update process S18 is a process of updating the coordinate value for each frequency using the coordinate difference calculated in the partial update process S17. In the database registration process S20, the control device 21 transmits the quantization table at time t,
The compression ratio C 1 , the image quality evaluation value C 2, and the evaluation function value are calculated at time t.
At the same time, a process of registering in the database device 225 is performed. Further, in the process S19 of incrementing the time counter 56, the value of the time t stored in the time counter 56 is incremented by 1, and after performing the database registration process S20, the process returns to step S12. When the end condition of step S12 is satisfied, a database search process S21 is performed. Database search processing S21
The control unit 21 uses the maximum compression rate, the minimum image quality evaluation value when the image quality evaluation value is a color difference, the maximum image quality evaluation value or the maximum evaluation function value when the image quality evaluation value is a signal-to-noise ratio as a search key. A process of searching the database device 225 for a desired quantization table is performed. Here, it is assumed that a desired maximum compression ratio or the like serving as a search key is set in advance by the user.

【手続補正14】[Procedure amendment 14]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0125[Correction target item name] 0125

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0125】[0125]

【発明の効果】以上詳述したように本発明に係る請求項
1記載の画像符号化における量子化テーブルの最適化方
法によれば、第1の量子化テーブルを所定の第1の初期
値を用いて初期化する第1の初期化ステップと、符号化
及び復号化のための第2の量子化テーブルを所定の第2
の初期値を用いて初期化する第2の初期化ステップと、
評価関数演算ステップと、第1の更新ステップと、第2
の更新ステップと、上記評価関数演算ステップと、上記
第1の更新ステップと、上記第2の更新ステップとの各
ステップを所定の回数だけ反復することによって第2の
量子化テーブルを最適化する制御ステップとを含み、上
記評価関数演算ステップは、符号化すべき被圧縮画像デ
ータを第2の量子化テーブルを用いて符号化画像データ
に符号化し、上記符号化画像データを第2の量子化テー
ブルを用いて復号化画像データに復号化し、上記被圧縮
画像データと上記符号化画像データとのデータ量の比
率、もしくは復号化画像データの1画素当たりのビット
数であるビットレートである圧縮率を演算し、かつ上記
被圧縮画像データと比較して上記復号化画像データの画
質を評価した画質評価尺度を演算し、上記演算された圧
縮率と画質評価尺度とに基づいて第1の評価関数の値
(Uold)を演算し、上記第1の更新ステップは、第2の
量子化テーブルのある要素の値(q1(i))に所定の
微小な値(dq(i))を加算することにより第3の量
子化テーブルを演算し、符号化すべき被圧縮画像データ
を第3の量子化テーブルを用いて符号化画像データに符
号化し、上記符号化画像データを第3の量子化テーブル
を用いて復号化画像データに復号化し、上記被圧縮画像
データと上記符号化画像データとのデータ量の比率、も
しくは復号化画像データの1画素当たりのビット数であ
るビットレートである圧縮率を演算し、かつ上記被圧縮
画像データと比較して上記復号化画像データの画質を評
価した画質評価尺度を演算し、上記演算された圧縮率と
画質評価尺度とに基づいて第2の評価関数の値
(Une w)を演算し、演算された第1の評価関数の値
(Uold)と演算された第2の評価関数の値(Unew)と
の間の変化量を演算し、演算された変化量と、上記第2
の量子化テーブルのある要素の値(q1(i))に対応
する第1の量子化テーブルの要素の値(q0(i))と
に基づいて、第2の量子化テーブルの当該要素の値(q
1(i))及び当該要素の値に対応する所定の変数(v
(i))の値を、当該要素以外の値とは独立に更新し、
上記第2の更新ステップは、上記第1の更新ステップを
第2の量子化テーブルのすべての要素について繰り返し
て実行し、上記第1の更新ステップが実行されたすべて
の要素を有する第2の量子化テーブルを第1の量子化テ
ーブルとして更新する。従って、より一般的な画像デー
タに対して適用可能であり、従来例のJPEG符号化方
式の例示値の量子化テーブルを用いて画像データを符号
化したときに比較してより高い圧縮率とより良好な画像
の品質とを同時に満足させる量子化テーブルを得ること
ができる。
As described above in detail, according to the method for optimizing a quantization table in image encoding according to the first aspect of the present invention, the first quantization table is set to a predetermined first initial value. A first initialization step of initializing using a first quantization step, and a second quantization table for encoding and decoding.
A second initialization step of initializing using an initial value of
An evaluation function calculation step, a first update step, and a second
, The evaluation function calculation step, the first update step, and the second update step are repeated a predetermined number of times to optimize the second quantization table. Wherein the evaluation function calculating step encodes the compressed image data to be encoded into encoded image data using a second quantization table, and converts the encoded image data into a second quantization table. The decoded image data is used to decode the compressed image data, and the ratio of the data amount of the compressed image data to the encoded image data or the compression rate which is the bit rate which is the number of bits per pixel of the decoded image data is calculated. Calculating an image quality evaluation scale for evaluating the image quality of the decoded image data by comparing the image quality with the compressed image data, and calculating the calculated compression ratio and image quality evaluation scale First evaluation function values based on
(U old ), and the first updating step is to add a predetermined minute value (dq (i)) to a value (q1 (i)) of a certain element in the second quantization table. A third quantization table is calculated, the compressed image data to be encoded is encoded into encoded image data using the third quantization table, and the encoded image data is encoded using the third quantization table. Decoding into decoded image data, calculating the ratio of the amount of data between the compressed image data and the encoded image data, or the compression rate which is the bit rate which is the number of bits per pixel of the decoded image data, And calculating an image quality evaluation scale that evaluates the image quality of the decoded image data in comparison with the compressed image data, and based on the calculated compression ratio and image quality evaluation scale, a value (U ne w ) A change amount between the calculated first evaluation function value (U old ) and the calculated second evaluation function value (U new ) is calculated, and the calculated change amount and the second
Based on the value (q0 (i)) of the element of the first quantization table corresponding to the value (q1 (i)) of the element of the quantization table (Q
1 (i)) and a predetermined variable (v
The value of (i)) is updated independently of the values other than the element,
In the second updating step, the first updating step is repeatedly executed for all the elements of the second quantization table, and the second quantization step having all the elements for which the first updating step has been executed is performed. The quantization table is updated as the first quantization table. Therefore, the present invention can be applied to more general image data, and has a higher compression ratio and higher compression rate than when image data is encoded using a quantization table of an exemplary value of the conventional JPEG encoding method. A quantization table that simultaneously satisfies good image quality can be obtained.

【手続補正15】[Procedure amendment 15]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0128[Correction target item name] 0128

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0128】また、請求項4記載の画像符号化のための
量子化テーブルの最適化方法によれば、請求項1、2又
は3記載の画像符号化のための量子化テーブルの最適化
装置において、上記評価関数は、上記圧縮率を所定の第
1の重み係数で乗算した値と、上記画質評価尺度を所定
の第2の重み係数で乗算した値とを加算することによっ
て定義され、上記第1の更新ステップは、上記評価関数
の絶対値を大きくするように第2の量子化テーブルの値
を変更する。従って、より一般的な画像データに対して
適用可能であり、従来例のJPEG符号化方式の例示値
の量子化テーブルを用いて画像データを符号化したとき
に比較してより高い圧縮率とより良好な画像の品質とを
同時に満足させる量子化テーブルを得ることができる。
また、適応化方法の処理をより簡単化することができ
る。
According to a fourth aspect of the present invention, there is provided an apparatus for optimizing a quantization table for image encoding according to any one of the first to third aspects. The evaluation function is defined by adding a value obtained by multiplying the compression ratio by a predetermined first weighting factor and a value obtained by multiplying the image quality evaluation scale by a predetermined second weighting factor. The first updating step changes the value of the second quantization table so as to increase the absolute value of the evaluation function. Therefore, the present invention can be applied to more general image data, and has a higher compression ratio and higher compression rate than when image data is encoded using a quantization table of an exemplary value of the conventional JPEG encoding method. A quantization table that simultaneously satisfies good image quality can be obtained.
Further, the processing of the adaptation method can be further simplified.

【手続補正16】[Procedure amendment 16]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0129[Correction target item name] 0129

【補正方法】削除[Correction method] Deleted

【手続補正17】[Procedure amendment 17]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0130[Correction target item name] 0130

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0130】本発明に係る請求項7記載の画像符号化の
ための量子化テーブルの最適化装置によれば、第1の量
子化テーブルを所定の第1の初期値を用いて初期化する
第1の初期化手段と、符号化及び復号化のための第2の
量子化テーブルを所定の第2の初期値を用いて初期化す
る第2の初期化手段と、評価関数演算手段と、第1の更
新手段と、第2の更新手段と、上記評価関数演算手段
と、上記第1の更新手段と、上記第2の更新手段との各
処理を所定の回数だけ反復することによって第2の量子
化テーブルを最適化する制御手段とを備え、上記評価関
数演算手段は、符号化すべき被圧縮画像データを第2の
量子化テーブルを用いて符号化画像データに符号化し、
上記符号化画像データを第2の量子化テーブルを用いて
復号化画像データに復号化し、上記被圧縮画像データと
上記符号化画像データとのデータ量の比率、もしくは復
号化画像データの1画素当たりのビット数であるビット
レートである圧縮率を演算し、かつ上記被圧縮画像デー
タと比較して上記復号化画像データの画質を評価した画
質評価尺度を演算し、上記演算された圧縮率と画質評価
尺度とに基づいて第1の評価関数の値(Uold)を演算
し、上記第1の更新手段は、第2の量子化テーブルのあ
る要素の値(q1(i))に所定の微小な値(dq
(i))を加算することにより第3の量子化テーブルを
演算し、符号化すべき被圧縮画像データを第3の量子化
テーブルを用いて符号化画像データに符号化し、上記符
号化画像データを第3の量子化テーブルを用いて復号化
画像データに復号化し、上記被圧縮画像データと上記符
号化画像データとのデータ量の比率、もしくは復号化画
像データの1画素当たりのビット数であるビットレート
である圧縮率を演算し、かつ上記被圧縮画像データと比
較して上記復号化画像データの画質を評価した画質評価
尺度を演算し、上記演算された圧縮率と画質評価尺度と
に基づいて第2の評価関数の値(Une w)を演算し、演
算された第1の評価関数の値(Uold)と演算された第
2の評価関数の値(Unew)との間の変化量を演算し、
演算された変化量と、上記第2の量子化テーブルのある
要素の値(q1(i))に対応する第1の量子化テーブ
ルの要素の値(q0(i))とに基づいて、第2の量子
化テーブルの当該要素の値(q1(i))及び当該要素
の値に対応する所定の変数(v(i))の値を、当該要
素以外の値とは独立に更新し、上記第2の更新手段は、
上記第1の更新手段の処理を第2の量子化テーブルのす
べての要素について繰り返して実行し、上記第1の更新
手段の処理が実行されたすべての要素を有する第2の量
子化テーブルを第1の量子化テーブルとして更新する。
従って、より一般的な画像データに対して適用可能であ
り、従来例のJPEG符号化方式の例示値の量子化テー
ブルを用いて画像データを符号化したときに比較してよ
り高い圧縮率とより良好な画像の品質とを同時に満足さ
せる量子化テーブルを得ることができる。
According to the apparatus for optimizing a quantization table for image encoding according to claim 7 of the present invention, the first quantization table is initialized using a predetermined first initial value. 1 initialization means, 2nd initialization means for initializing a second quantization table for encoding and decoding using a predetermined second initial value, evaluation function calculation means, The first updating means, the second updating means, the evaluation function calculating means, the first updating means, and the second updating means are each repeated a predetermined number of times to obtain a second updating means. Control means for optimizing the quantization table, wherein the evaluation function calculating means encodes the compressed image data to be encoded into encoded image data using the second quantization table,
The encoded image data is decoded into decoded image data by using a second quantization table, and the ratio of the data amount between the compressed image data and the encoded image data, or per pixel of the decoded image data, Calculates a compression rate, which is a bit rate that is the number of bits, and calculates an image quality evaluation scale for evaluating the image quality of the decoded image data in comparison with the compressed image data. A value (U old ) of a first evaluation function is calculated based on the evaluation scale, and the first updating unit calculates a value (q1 (i)) of a certain element of the second quantization table as a predetermined minute value. Value (dq
(I)) is added to calculate a third quantization table, the compressed image data to be encoded is encoded into encoded image data using the third quantization table, and the encoded image data is A third quantization table is used to decode the decoded image data into decoded image data, and the ratio of the data amount of the compressed image data to the encoded image data or the number of bits per pixel of the decoded image data Calculates a compression rate that is a rate, and calculates an image quality evaluation scale that evaluates the image quality of the decoded image data in comparison with the compressed image data, based on the calculated compression rate and image quality evaluation scale. calculates a second evaluation function value (U ne w), the change between the computed first evaluation function value (U old) and a second evaluation function values that have been computed (U new new) Calculate the quantity,
Based on the calculated change amount and the value (q0 (i)) of the element of the first quantization table corresponding to the value (q1 (i)) of a certain element of the second quantization table, In the quantization table of No. 2, the value of the element (q1 (i)) and the value of the predetermined variable (v (i)) corresponding to the value of the element are updated independently of the values other than the element. The second updating means is:
The processing of the first updating unit is repeatedly executed for all elements of the second quantization table, and the second quantization table having all the elements for which the processing of the first updating unit has been executed is stored in the second quantization table. It is updated as one quantization table.
Therefore, the present invention can be applied to more general image data, and has a higher compression ratio and higher compression rate than when image data is encoded using a quantization table of an exemplary value of the conventional JPEG encoding method. A quantization table that simultaneously satisfies good image quality can be obtained.

【手続補正18】[Procedure amendment 18]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0131[Correction target item name]

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0131】また、請求項8記載の画像符号化のための
量子化テーブルの最適化装置によれば、請求項7記載の
画像符号化のための量子化テーブルの最適化装置におい
て、上記画質評価尺度は、日本工業規格Z8730で定
義され、上記被圧縮画像データの画像の物体色と上記復
号化画像データの画像の物体色との距離を示す物体色の
色差である。従って、より一般的な画像データに対して
適用可能であり、従来例のJPEG符号化方式の例示値
の量子化テーブルを用いて画像データを符号化したとき
に比較してより高い圧縮率とより良好な画像の品質とを
同時に満足させる量子化テーブルを得ることができる。
According to the quantization table optimizing apparatus for image coding described in claim 8, in the quantization table optimizing apparatus for image coding described in claim 7, the image quality evaluation is performed. The scale is defined by Japanese Industrial Standards Z8730 and is a color difference of an object color indicating a distance between the object color of the image of the compressed image data and the object color of the image of the decoded image data. Therefore, the present invention can be applied to more general image data, and has a higher compression ratio and higher compression rate than when image data is encoded using a quantization table of an exemplary value of the conventional JPEG encoding method. A quantization table that simultaneously satisfies good image quality can be obtained.

【手続補正19】[Procedure amendment 19]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0132[Correction target item name]

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0132】さらに、請求項9記載の画像符号化のため
の量子化テーブルの最適化装置によれば、請求項7記載
の画像符号化のための量子化テーブルの最適化装置にお
いて、上記画質評価尺度は、上記被圧縮画像データの最
大値を信号とし、上記被圧縮画像データと上記復号化画
像データとの差を雑音としたときの信号対雑音比であ
る。従って、より一般的な画像データに対して適用可能
であり、従来例のJPEG符号化方式の例示値の量子化
テーブルを用いて画像データを符号化したときに比較し
てより高い圧縮率とより良好な画像の品質とを同時に満
足させる量子化テーブルを得ることができる。
Further, according to the quantization table optimizing apparatus for image encoding according to the ninth aspect, in the quantization table optimizing apparatus for image encoding according to the seventh aspect, the image quality evaluation is performed. The scale is a signal-to-noise ratio when the maximum value of the compressed image data is defined as a signal and the difference between the compressed image data and the decoded image data is defined as noise. Therefore, the present invention can be applied to more general image data, and has a higher compression ratio and higher compression rate than when image data is encoded using a quantization table of an exemplary value of the conventional JPEG encoding method. A quantization table that simultaneously satisfies good image quality can be obtained.

【手続補正20】[Procedure amendment 20]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0133[Correction target item name]

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0133】また、請求項10記載の画像符号化のため
の量子化テーブルの最適化装置によれば、請求項7、8
又は9記載の画像符号化のための量子化テーブルの最適
化装置において、上記評価関数は、上記圧縮率を所定の
第1の重み係数で乗算した値と、上記画質評価尺度を所
定の第2の重み係数で乗算した値とを加算することによ
って定義され、上記第1の更新手段は、上記評価関数の
値を大きくするように第2の量子化テーブルの値を変更
する。従って、より一般的な画像データに対して適用可
能であり、従来例のJPEG符号化方式の例示値の量子
化テーブルを用いて画像データを符号化したときに比較
してより高い圧縮率とより良好な画像の品質とを同時に
満足させる量子化テーブルを得ることができる。また、
適応化方法の処理をより簡単化することができる。
According to the quantization table optimizing apparatus for image coding according to the tenth aspect, the seventh and eighth aspects are described.
Or the quantization table optimizing device for image encoding according to 9, wherein the evaluation function is obtained by multiplying the compression ratio by a predetermined first weighting factor and the image quality evaluation scale by a predetermined second weighting factor. And the first updating means changes the value of the second quantization table so as to increase the value of the evaluation function. Therefore, the present invention can be applied to more general image data, and has a higher compression ratio and higher compression rate than when image data is encoded using a quantization table of an exemplary value of the conventional JPEG encoding method. A quantization table that simultaneously satisfies good image quality can be obtained. Also,
Processing of the adaptation method can be further simplified.

【手続補正21】[Procedure amendment 21]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0134[Correction target item name]

【補正方法】削除[Correction method] Deleted

【手続補正22】[Procedure amendment 22]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0135[Correction target item name]

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0135】本発明に係る請求項13記載の記録媒体に
よれば、請求項1乃至6のうちの1つに記載の画像符号
化のための量子化テーブルの最適化方法に含まれる各ス
テップの処理プログラムを記録する。従って、より一般
的な画像データに対して適用可能であり、従来例のJP
EG符号化方式の例示値の量子化テーブルを用いて画像
データを符号化したときに比較してより高い圧縮率とよ
り良好な画像の品質とを同時に満足させる量子化テーブ
ルを得ることができる。また、適応化方法の処理をより
簡単化することができる。さらに、量子化テーブルの最
適化処理の処理プログラムを提供を容易にすることがで
き汎用のコンピュータで広く実行することができる。
According to the recording medium of the thirteenth aspect of the present invention, each step included in the method of optimizing a quantization table for image encoding according to one of the first to sixth aspects is described. Record the processing program. Therefore, the present invention can be applied to more general image data.
It is possible to obtain a quantization table that simultaneously satisfies a higher compression ratio and better image quality as compared with a case where image data is encoded using a quantization table of an example value of the EG encoding method. Further, the processing of the adaptation method can be further simplified. Further, it is possible to easily provide a processing program for the optimization processing of the quantization table, and it can be widely executed by a general-purpose computer.

フロントページの続き (72)発明者 山田 順一 京都府相楽郡精華町大字乾谷小字三平谷5 番地 株式会社エイ・ティ・アール環境適 応通信研究所内 (72)発明者 新上 和正 京都府相楽郡精華町大字乾谷小字三平谷5 番地 株式会社エイ・ティ・アール環境適 応通信研究所内Continued on the front page (72) Inventor Junichi Yamada 5th Sanraya, Inaya, Koika-cho, Kyoto No. 5 Sanpani, Koya-cho, Kochi-cho, ATR Co., Ltd.

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 符号化すべき被圧縮画像データを量子化
テーブルを用いて符号化画像データに符号化する符号化
ステップと、 上記符号化画像データを上記量子化テーブルを用いて復
号化画像データに復号化する復号化ステップと、 上記被圧縮画像データと上記符号化画像データとのデー
タ量の比率、もしくは復号化画像データの1画素当たり
のビット数であるビットレートである圧縮率を演算し、
かつ上記被圧縮画像データと比較して上記復号化画像デ
ータの画質を評価した画質評価尺度を演算する演算ステ
ップと、 上記圧縮率と上記画質評価尺度とに基づく評価関数の値
を演算し、当該評価関数の値に基づいて上記量子化テー
ブルを更新する更新ステップと、 上記符号化ステップと、上記復号化ステップと、上記演
算ステップと、上記更新ステップとの各ステップを所定
の回数だけ反復することによって上記量子化テーブルを
最適化する制御ステップとを含むことを特徴とする画像
符号化のための量子化テーブルの最適化方法。
An encoding step of encoding compressed image data to be encoded into encoded image data using a quantization table; and converting the encoded image data into decoded image data using the quantization table. A decoding step of decoding, and calculating a compression ratio that is a bit rate that is a ratio of a data amount between the compressed image data and the encoded image data or a bit number per pixel of the decoded image data,
And calculating an image quality evaluation scale that evaluates the image quality of the decoded image data by comparing with the compressed image data; and calculating an evaluation function value based on the compression ratio and the image quality evaluation scale. Updating the quantization table based on the value of the evaluation function; repeating the encoding step, the decoding step, the calculation step, and the update step a predetermined number of times. And a control step of optimizing the quantization table according to (1).
【請求項2】 上記画質評価尺度は、日本工業規格Z8
730で定義され、上記被圧縮画像データの画像の物体
色と、上記復号化画像データの画像の物体色との距離を
示す物体色の色差であることを特徴とする請求項1記載
の画像符号化のための量子化テーブルの最適化方法。
2. The image quality evaluation scale is based on Japanese Industrial Standard Z8.
The image code according to claim 1, wherein the image code is a color difference of an object color defined by 730 and indicating a distance between the object color of the image of the compressed image data and the object color of the image of the decoded image data. Optimization method of quantization table for quantization.
【請求項3】 上記画質評価尺度は、上記被圧縮画像デ
ータの最大値を信号とし、上記被圧縮画像データと上記
復号化画像データとの差を雑音としたときの信号対雑音
比であることを特徴とする請求項1記載の画像符号化の
ための量子化テーブルの最適化方法。
3. The image quality evaluation scale is a signal-to-noise ratio when a maximum value of the compressed image data is a signal, and a difference between the compressed image data and the decoded image data is a noise. 2. The method of optimizing a quantization table for image encoding according to claim 1, wherein:
【請求項4】 上記評価関数は、上記圧縮率を所定の第
1の重み係数で乗算した値と、上記画質評価尺度を所定
の第2の重み係数で乗算した値とを加算することによっ
て定義され、 上記更新ステップは、上記評価関数の絶対値を大きくす
るように上記量子化テーブルの値を変更することを特徴
とする請求項1、2又は3記載の画像符号化のための量
子化テーブルの最適化方法。
4. The evaluation function is defined by adding a value obtained by multiplying the compression ratio by a predetermined first weighting factor and a value obtained by multiplying the image quality evaluation scale by a predetermined second weighting factor. 4. The quantization table according to claim 1, wherein the updating step changes a value of the quantization table so as to increase an absolute value of the evaluation function. Optimization method.
【請求項5】 上記評価関数は、圧縮率と物体色の色差
によって構成される場合には、第1の重み係数と第2の
重み係数とを異なる符号とすることを特徴とする請求項
4記載の画像符号化のための量子化テーブルの最適化方
法。
5. The evaluation function according to claim 4, wherein the first weighting coefficient and the second weighting coefficient have different codes when constituted by a compression ratio and a color difference between object colors. A method for optimizing a quantization table for the described image coding.
【請求項6】 上記評価関数は、圧縮率と信号対雑音比
によって構成される場合には、第1の重み係数と第2の
重み係数とを同じ符号とすることを特徴とする請求項4
記載の画像符号化のための量子化テーブルの最適化方
法。
6. The evaluation function according to claim 4, wherein when the compression function and the signal-to-noise ratio are used, the first weighting coefficient and the second weighting coefficient have the same sign.
A method for optimizing a quantization table for the described image coding.
【請求項7】 上記更新ステップは、 上記符号化及び復号化に用いた現在の量子化テーブルを
用いて演算された評価関数の値と、上記現在の量子化テ
ーブルの値に所定の微小な値を加算したときの量子化テ
ーブルを用いて演算された評価関数の値との間の変化量
に基づいて、上記現在の量子化テーブルの値を更新する
ことを特徴とする請求項1乃至6のうちの1つに記載の
画像符号化のための量子化テーブルの最適化方法。
7. The method according to claim 1, wherein the updating step includes: a value of an evaluation function calculated using the current quantization table used for the encoding and decoding; and a predetermined minute value added to the value of the current quantization table. 7. The value of the current quantization table is updated based on a change amount between the evaluation function and the value of the evaluation function calculated using the quantization table when. A method for optimizing a quantization table for image encoding according to one of the above.
【請求項8】 符号化すべき被圧縮画像データを量子化
テーブルを用いて符号化画像データに符号化する符号化
手段と、 上記符号化画像データを上記量子化テーブルを用いて復
号化画像データに復号化する復号化手段と、 上記被圧縮画像データと上記符号化画像データとのデー
タ量の比率、もしくは復号化画像データの1画素当たり
のビット数であるビットレートである圧縮率を演算し、
かつ上記被圧縮画像データと比較して上記復号化画像デ
ータの画質を評価した画質評価尺度を演算する演算手段
と、 上記圧縮率と上記画質評価尺度とに基づく評価関数の値
を演算し、当該評価関数の値に基づいて上記量子化テー
ブルを更新する更新手段と、 上記符号化手段と、上記復号化手段と、上記演算手段
と、上記更新手段との各処理を所定の回数だけ反復する
ことによって上記量子化テーブルを最適化する制御手段
とを備えたことを特徴とする画像符号化のための量子化
テーブルの最適化装置。
8. An encoding means for encoding compressed image data to be encoded into encoded image data using a quantization table, and converting the encoded image data into decoded image data using the quantization table. Decoding means for decoding, and a compression ratio which is a bit rate which is a ratio of a data amount between the compressed image data and the encoded image data or a bit number per pixel of the decoded image data,
Calculating means for calculating an image quality evaluation scale that evaluates the image quality of the decoded image data by comparing with the compressed image data; calculating an evaluation function value based on the compression ratio and the image quality evaluation scale; Updating means for updating the quantization table based on the value of the evaluation function; repeating the processing of the encoding means, the decoding means, the calculating means, and the updating means a predetermined number of times. And control means for optimizing the quantization table according to the above.
【請求項9】 上記画質評価尺度は、日本工業規格Z8
730で定義され、上記被圧縮画像データの画像の物体
色と上記復号化画像データの画像の物体色との距離を示
す物体色の色差であることを特徴とする請求項8記載の
画像符号化のための量子化テーブルの最適化装置。
9. The image quality evaluation scale is based on Japanese Industrial Standard Z8.
9. The image coding method according to claim 8, wherein the color difference is an object color defined by 730 and indicating a distance between the object color of the image of the compressed image data and the object color of the image of the decoded image data. Table Optimizer for Macintosh.
【請求項10】 上記画質評価尺度は、上記被圧縮画像
データの最大値を信号とし、上記被圧縮画像データと上
記復号化画像データとの差を雑音としたときの信号対雑
音比であることを特徴とする請求項8記載の画像符号化
のための量子化テーブルの最適化装置。
10. The image quality evaluation scale is a signal-to-noise ratio when a maximum value of the compressed image data is a signal and a difference between the compressed image data and the decoded image data is a noise. 9. The apparatus for optimizing a quantization table for image encoding according to claim 8, wherein
【請求項11】 上記評価関数は、上記圧縮率を所定の
第1の重み係数で乗算した値と、上記画質評価尺度を所
定の第2の重み係数で乗算した値とを加算することによ
って定義され、 上記更新手段は、上記評価関数の絶対値を大きくするよ
うに上記量子化テーブルの値を変更することを特徴とす
る請求項8、9又は10記載の画像符号化のための量子
化テーブルの最適化装置。
11. The evaluation function is defined by adding a value obtained by multiplying the compression ratio by a predetermined first weighting factor and a value obtained by multiplying the image quality evaluation scale by a predetermined second weighting factor. 11. The quantization table for image encoding according to claim 8, wherein the updating unit changes a value of the quantization table so as to increase an absolute value of the evaluation function. Optimization device.
【請求項12】 上記評価関数は、圧縮率と物体色の色
差によって構成される場合には、第1の重み係数と第2
の重み係数とを異なる符号とすることを特徴とする請求
項11記載の画像符号化のための量子化テーブルの最適
化装置。
12. When the evaluation function is constituted by a compression ratio and a color difference between object colors, a first weighting factor and a second weighting factor are used.
12. The quantization table optimizing apparatus for image encoding according to claim 11, wherein the weighting coefficient is different from the weighting coefficient.
【請求項13】 上記評価関数は、圧縮率と信号対雑音
比によって構成される場合には、第1の重み係数と第2
の重み係数とを同じ符号とすることを特徴とする請求項
11記載の画像符号化のための量子化テーブルの最適化
装置。
13. When the evaluation function is constituted by a compression ratio and a signal-to-noise ratio, a first weighting factor and a second
12. The apparatus according to claim 11, wherein the weighting coefficient is the same as the weighting coefficient.
【請求項14】 上記更新手段は、 上記符号化及び復号化に用いた現在の量子化テーブルを
用いて上記演算手段によって演算された評価関数の値
と、上記現在の量子化テーブルの値に所定の微小な値を
加算したときの量子化テーブルを用いて上記演算手段に
よって演算された評価関数の値との間の変化量に基づい
て、上記現在の量子化テーブルの値を更新することを特
徴とする請求項8乃至13のうちの1つに記載の画像符
号化のための量子化テーブルの最適化装置。
14. The updating means according to claim 1, wherein the value of the evaluation function calculated by the calculating means using the current quantization table used for the encoding and decoding, and the value of the current quantization table are predetermined. Updating the current quantization table value based on the amount of change between the evaluation function value calculated by the calculation means using the quantization table when adding a small value of An apparatus for optimizing a quantization table for image encoding according to any one of claims 8 to 13.
【請求項15】 請求項1乃至7のうちの1つに記載の
画像符号化のための量子化テーブルの最適化方法に含ま
れる各ステップの処理プログラムを記録したことを特徴
とする記録媒体。
15. A recording medium recording a processing program of each step included in the method of optimizing a quantization table for image encoding according to claim 1. Description:
JP5338498A 1998-03-05 1998-03-05 Method and apparatus for optimizing quantization table for image encoding and recording medium Expired - Lifetime JP2955266B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5338498A JP2955266B2 (en) 1998-03-05 1998-03-05 Method and apparatus for optimizing quantization table for image encoding and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5338498A JP2955266B2 (en) 1998-03-05 1998-03-05 Method and apparatus for optimizing quantization table for image encoding and recording medium

Publications (2)

Publication Number Publication Date
JPH11252551A true JPH11252551A (en) 1999-09-17
JP2955266B2 JP2955266B2 (en) 1999-10-04

Family

ID=12941339

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5338498A Expired - Lifetime JP2955266B2 (en) 1998-03-05 1998-03-05 Method and apparatus for optimizing quantization table for image encoding and recording medium

Country Status (1)

Country Link
JP (1) JP2955266B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006262051A (en) * 2005-03-17 2006-09-28 Hitachi Kokusai Electric Inc Image accumulation apparatus
WO2007094100A1 (en) * 2006-02-13 2007-08-23 Kabushiki Kaisha Toshiba Moving image encoding/decoding method and device and program
CN103200403A (en) * 2013-03-18 2013-07-10 同济大学 Large-scale database image storage optimization method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006262051A (en) * 2005-03-17 2006-09-28 Hitachi Kokusai Electric Inc Image accumulation apparatus
JP4527574B2 (en) * 2005-03-17 2010-08-18 株式会社日立国際電気 Image storage device
WO2007094100A1 (en) * 2006-02-13 2007-08-23 Kabushiki Kaisha Toshiba Moving image encoding/decoding method and device and program
JPWO2007094100A1 (en) * 2006-02-13 2009-07-02 株式会社東芝 Video encoding / decoding method and apparatus, and program
CN103200403A (en) * 2013-03-18 2013-07-10 同济大学 Large-scale database image storage optimization method
CN103200403B (en) * 2013-03-18 2015-10-28 同济大学 Large-scale database image storage optimization method

Also Published As

Publication number Publication date
JP2955266B2 (en) 1999-10-04

Similar Documents

Publication Publication Date Title
US7346208B2 (en) Image artifact reduction using a neural network
US6968092B1 (en) System and method for reduced codebook vector quantization
KR0154739B1 (en) Fractal image compression device and method
JPH10327403A (en) Method for optimizing compression of image data accompanying automatic selection of compression condition
JP3915272B2 (en) Quantization method and recording medium recording quantization program
JP3814637B2 (en) Image encoding / decoding method and recording medium and apparatus recording the program
US7778468B2 (en) Decoding apparatus, dequantizing method, and program thereof
JPH07177502A (en) Method for compressing picture information, compressed picture information recording medium, and compressed picture information reproducing device
JP2004528791A (en) Inter-frame encoding method and apparatus
JP2968666B2 (en) Image coding method and apparatus
JP2955266B2 (en) Method and apparatus for optimizing quantization table for image encoding and recording medium
Huang et al. Compression of color facial images using feature correction two-stage vector quantization
US7657110B2 (en) Image compression using a color visual model
JP3732900B2 (en) Image compression apparatus and image expansion apparatus
Lee et al. DCT-based HDR exposure fusion using multiexposed image sensors
JP3709106B2 (en) Image compression and decompression device
Schaefer et al. Visual-pattern-based color image compression
CN112991476B (en) Scene classification method, system and equipment based on depth compression domain features
JPH08511138A (en) Digital image compression using tile segmentation
JP3306201B2 (en) Data compression device
JP2002077920A (en) Picture compressing apparatus and method therefor
JP2624034B2 (en) Image data compression method
JP4538699B2 (en) Data processing apparatus, data processing method, and recording medium
JP3836001B2 (en) Image coding processing apparatus, image coding processing method, and image coding processing program
WO2020066307A1 (en) Image decoding device, image encoding device, image processing system, and program