JP2003153011A - Apparatus and method of determining compression parameters of image data compression process, storage medium and program - Google Patents

Apparatus and method of determining compression parameters of image data compression process, storage medium and program

Info

Publication number
JP2003153011A
JP2003153011A JP2001353790A JP2001353790A JP2003153011A JP 2003153011 A JP2003153011 A JP 2003153011A JP 2001353790 A JP2001353790 A JP 2001353790A JP 2001353790 A JP2001353790 A JP 2001353790A JP 2003153011 A JP2003153011 A JP 2003153011A
Authority
JP
Japan
Prior art keywords
image data
parameter
compression
recompression
compression parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001353790A
Other languages
Japanese (ja)
Inventor
Yasuhiko Kiuchi
康彦 木内
Toshiharu Tsuruma
俊春 鶴間
Minoru Yusa
実 遊佐
Takanori Sato
尊礼 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2001353790A priority Critical patent/JP2003153011A/en
Publication of JP2003153011A publication Critical patent/JP2003153011A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To solve the problem, for recompressing once expanded compressed image data for obtaining recompressed image data, the data are recompressed, using compressing parameters independent of compressing parameters used for the compression of the image data, so that the quantity of the recompressed image data differing from that of the compressed data by a larger amount. SOLUTION: A means is provided for determining compression parameters for recompression processing, based on compression parameters used for compressing original compressed image data and transform functions, thereby reducing the difference in the quantity of the recompressed image data and the quantity of the original image data to be set below a specified reference value.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、画像データ圧縮の
圧縮パラメータ決定方法に関するものである。詳しく
は、圧縮された圧縮画像データを伸長し、再度圧縮して
再圧縮画像データを求める画像データ圧縮処理の圧縮パ
ラメータ決定方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a compression parameter determination method for image data compression. More specifically, the present invention relates to a compression parameter determination method for image data compression processing in which compressed compressed image data is decompressed and recompressed to obtain recompressed image data.

【0002】[0002]

【従来の技術】現在、白黒画像データ、グレイスケール
画像データ及びフルカラー画像データ等の画像データの
圧縮処理はコンピュータ、ファクシミリ、デジタルカメ
ラ等のデジタル機器において幅広く使用されている。画
像データの圧縮処理には様々な形式があり、例えば、J
PEG形式、LZW形式、MH形式、MR形式又はMM
R形式等が挙げられる。
2. Description of the Related Art At present, compression processing of image data such as black and white image data, gray scale image data and full color image data is widely used in digital devices such as computers, facsimiles and digital cameras. There are various formats for compression processing of image data, for example, J
PEG format, LZW format, MH format, MR format or MM
R form etc. are mentioned.

【0003】図1に画像データの圧縮処理の工程図を示
す。画像データ10は圧縮前処理、圧縮工程及び圧縮後
処理により圧縮処理される。圧縮前処理では、画像デー
タ10の画素数や解像度等の解析、色空間の変換等が行
なわれる。次に、単数又は複数の圧縮工程により圧縮処
理が行なわれる。各圧縮工程においては、圧縮パラメー
タを用いて圧縮が行なわれる。圧縮パラメータには、例
えば、JPEG形式の圧縮処理でのサブサンプリングフ
ァクタや量子化テーブルが挙げられる。圧縮後処理で
は、画像の属性、圧縮工程で用いられた圧縮パラメータ
がヘッダ又はテーブルに格納され、圧縮された画像デー
タ10が組み合され、圧縮画像データ12が構成され
る。
FIG. 1 shows a process chart of image data compression processing. The image data 10 is compressed by a pre-compression process, a compression process and a post-compression process. In the pre-compression processing, the number of pixels of the image data 10, the resolution, etc. are analyzed and the color space is converted. Next, the compression process is performed by one or more compression steps. In each compression step, compression is performed using compression parameters. Examples of the compression parameter include a subsampling factor and a quantization table in the JPEG format compression process. In the post-compression process, the image attributes and the compression parameters used in the compression process are stored in the header or the table, and the compressed image data 10 is combined to form the compressed image data 12.

【0004】図2に示すように、圧縮画像データ22
は、電話回線等の電気通信回線14を通じて画像データ
10の送信・転送を行なう際に利用されることが多い。
第1のデジタル機器16で圧縮処理された圧縮画像デー
タ22は電気通信回線14を通じて、第2のデジタル機
器18へ送信される。さらに、第2のデジタル機器18
で受信された圧縮画像データ22は電気通信回線14を
通じて、第3のデジタル機器20へ転送されることもあ
る。第1のデジタル機器16から送信されてきた圧縮画
像データ22が第3のデジタル機器20で用いることが
できない圧縮形式である場合、第2のデジタル機器18
において圧縮画像データ22を伸長し、第3のデジタル
機器20で使用できる圧縮画像データ22とは異なる圧
縮形式や異なる色空間への変換を行なう再圧縮画像デー
タ24への再圧縮処理が行なわれる。
As shown in FIG. 2, compressed image data 22
Is often used when transmitting / transferring the image data 10 through a telecommunication line 14 such as a telephone line.
The compressed image data 22 compressed by the first digital device 16 is transmitted to the second digital device 18 through the telecommunication line 14. In addition, the second digital device 18
The compressed image data 22 received in step 3 may be transferred to the third digital device 20 through the telecommunication line 14. When the compressed image data 22 transmitted from the first digital device 16 is in a compression format that cannot be used by the third digital device 20, the second digital device 18
In, the compressed image data 22 is decompressed and recompressed to recompressed image data 24 that is converted into a different compression format or different color space from the compressed image data 22 usable in the third digital device 20.

【0005】図3に、第1のデジタル機器16から第2
のデジタル機器18への送信及び第2のデジタル機器1
8から第3のデジタル機器20への転送で行なわれる圧
縮処理の工程図を示す。第1のデジタル機器16では圧
縮工程A、圧縮工程Bを含む圧縮形式1により圧縮画像
データ22への圧縮処理を行なう。圧縮工程A及び圧縮
工程Bでは、それぞれ圧縮パラメータA及び圧縮パラメ
ータBを用いて圧縮が行なわれる。このときの圧縮工程
数及び圧縮パラメータ数は圧縮形式により異なる。続い
て、第1のデジタル機器16から第2のデジタル機器1
8へ圧縮画像データ22の送信が行なわれる。第2のデ
ジタル機器18では、圧縮形式1の伸長処理により、圧
縮画像データ22を伸長する。第3のデジタル機器20
において、圧縮形式1とは異なる圧縮形式2しか用いる
ことができない場合、第2のデジタル機器18では、圧
縮工程A及びBとは異なる圧縮工程a及びbを含む圧縮
形式2により再圧縮画像データ24への再圧縮処理を行
なう。圧縮工程a及びbでは、圧縮パラメータA及びB
とは異なる再圧縮パラメータa及びbを用いて圧縮処理
が行なわれる。続いて、第2のデジタル機器18から第
3のデジタル機器20へ再圧縮画像データ24の転送が
行なわれ、第3のデジタル機器20では、圧縮形式2の
伸長処理により、再圧縮画像データ24を伸長する。
FIG. 3 shows the first digital device 16 to the second digital device 16.
To the digital device 18 and the second digital device 1
8 is a process diagram of a compression process performed by transfer from 8 to the third digital device 20. The first digital device 16 compresses the compressed image data 22 according to the compression format 1 including the compression process A and the compression process B. In the compression process A and the compression process B, compression is performed using the compression parameter A and the compression parameter B, respectively. The number of compression steps and the number of compression parameters at this time differ depending on the compression format. Then, from the first digital device 16 to the second digital device 1
The compressed image data 22 is transmitted to the server 8. The second digital device 18 expands the compressed image data 22 by the expansion processing of the compression format 1. Third digital device 20
In the above, if only the compression format 2 different from the compression format 1 can be used, the second digital device 18 recompresses the image data 24 with the compression format 2 including the compression steps a and b different from the compression steps A and B. Re-compression processing is performed. In the compression steps a and b, compression parameters A and B
The compression process is performed using recompression parameters a and b different from Subsequently, the recompressed image data 24 is transferred from the second digital device 18 to the third digital device 20, and the third digital device 20 expands the recompressed image data 24 by decompressing the compression format 2. Extend.

【0006】例えば、図2において、第1のデジタル機
器16及び第2のデジタル機器18がファクシミリ端
末、第3のデジタル機器20がパーソナルコンピュータ
であった場合、第1のデジタル機器16と第2のデジタ
ル機器18の間では、通常Lab色空間のJPEG形式
(以下、Lab−JPEG形式という)の圧縮画像デー
タで送信が行なわれる。第2のデジタル機器18と第3
のデジタル機器20の間では、通常YCbCr色空間の
JPEG形式(以下、YCbCr−JPEG形式とい
う)の圧縮画像データで送信が行なわれる。そのため、
第1のデジタル機器16から第2のデジタル機器18へ
送信された圧縮画像データ22を、第2のデジタル機器
18から第3のデジタル機器20へ転送する際には、第
2のデジタル機器18においてLab−JPEG形式の
元圧縮画像データを伸長し、YCbCr−JPEG形式
によって再圧縮された再圧縮画像データ24が転送され
る。
For example, in FIG. 2, when the first digital device 16 and the second digital device 18 are facsimile terminals and the third digital device 20 is a personal computer, the first digital device 16 and the second digital device 16 are the same. Transmission between the digital devices 18 is normally performed with compressed image data in the JPEG format (hereinafter, referred to as Lab-JPEG format) in the Lab color space. Second digital device 18 and third
Between the digital devices 20 of (1) and (2), compressed image data of JPEG format (hereinafter, referred to as YCbCr-JPEG format) in the YCbCr color space is normally transmitted. for that reason,
When transferring the compressed image data 22 transmitted from the first digital device 16 to the second digital device 18 from the second digital device 18 to the third digital device 20, the second digital device 18 The original compressed image data in the Lab-JPEG format is decompressed, and the recompressed image data 24 recompressed in the YCbCr-JPEG format is transferred.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、従来の
圧縮処理では、第1のデジタル機器16での圧縮処理
と、第2のデジタル機器18での再圧縮処理では、圧縮
処理の際に、それぞれ事前に定められた固定の圧縮パラ
メータを用いるため、第1のデジタル機器16で圧縮処
理した圧縮画像データ22と、第2のデジタル機器18
で元圧縮画像データを伸長し、再圧縮した再圧縮画像デ
ータ24ではデータ量が著しく異なる場合がある。
However, in the conventional compression processing, the compression processing in the first digital device 16 and the recompression processing in the second digital device 18 are performed before the compression processing. Since the fixed compression parameter defined in step 1 is used, the compressed image data 22 compressed by the first digital device 16 and the second digital device 18 are used.
The original compressed image data may be decompressed with and the recompressed image data 24 may have a significantly different data amount.

【0008】特に、JPEG形式等の非可逆圧縮形式で
は、例えば、量子化テーブルによって割り算する過程に
おいて、周波数成分の情報が失われるといった具合に、
特定の圧縮パラメータを利用して圧縮を行なうと、その
パラメータに応じて情報の切り捨てが行なわれる。した
がって、一旦、高圧縮で圧縮処理を行なって圧縮画像デ
ータ22を得た場合には、その圧縮画像データ22を伸
長しても元の画像のような高い画質を得ることはできな
い。しかし、再圧縮処理に固定の圧縮パラメータを用い
ている場合、それが高画質に圧縮するパラメータである
場合には、再圧縮画像データ24では無駄にデータ量が
増えることとなる。
Particularly, in the lossy compression format such as the JPEG format, for example, the information of the frequency component is lost in the process of division by the quantization table.
When compression is performed using a specific compression parameter, information is truncated according to the parameter. Therefore, once the compressed image data 22 is obtained by performing the compression processing with high compression, even if the compressed image data 22 is expanded, it is not possible to obtain a high image quality like the original image. However, when a fixed compression parameter is used for the recompression process and the parameter is a parameter for compressing with high image quality, the recompressed image data 24 unnecessarily increases the data amount.

【0009】例えば、図4に示すように、1つの最小変
換要素(MCU)26である8×8画素の画像データ
を、第1のデジタル機器16のLab−JPEG形式で
は4:1:1という固定のサブサンプリングファクタ
(以下、SSファクタという)28を用いて圧縮処理を
行い、第2のデジタル機器18のYCbCr−JPEG
形式では2:1:1という固定のSSファクタ30を用
いて圧縮処理を行なった場合、Lab−JPEG形式の
サブサンプリング結果32はYCbCr−JPEG形式
のサブサンプリング結果34のデータ量は異なることと
なる(この場合は、量子化及びエンコーディング前のデ
ータ量は、2倍となる)。また、図5に示すように、M
CU36を、第1のデジタル機器16のLab−JPE
G形式では固定のL成分量子化テーブル38を用いて割
り算処理し、第2のデジタル機器18のYCbCr−J
PEG形式でも固定のY成分量子化テーブル40を用い
て割り算処理した場合、L成分量子化データ42とY成
分量子化データ44は、色変換による元画像の違い、及
び、量子化テーブル係数の違いにより一般的に異なる結
果となる。L成分量子化テーブル38と比較して、Y成
分量子化テーブル40が高画質に圧縮することを狙っ
て、量子化テーブルの各要素の値が小さいものを用いる
と、結果として、Y成分の量子化データ44の各要素は
大きくなる傾向が見られる。そのため、これらを最終的
にハフマンエンコーディング等した場合には、結果のデ
ータ量が増大して、圧縮率が悪くなることが発生する。
同様にa成分、b成分に対して、Cb成分、Cr成分に
ついても量子化は行なわれ、各MCUについてのデータ
の圧縮率も異なる場合が生ずる。画像全体のMCU26
に対して、これらのサブサンプリング処理と量子化処理
を繰り返すので、最終的なLab−JPEG形式の圧縮
による圧縮画像データと、YCbCr−JPEG形式の
圧縮による圧縮画像データのデータ量が著しく増加して
しまう場合が生ずることとなる。
For example, as shown in FIG. 4, the image data of 8 × 8 pixels, which is one minimum conversion element (MCU) 26, is 4: 1: 1 in the Lab-JPEG format of the first digital device 16. The YCbCr-JPEG of the second digital device 18 is subjected to compression processing using a fixed sub-sampling factor (hereinafter referred to as SS factor) 28.
When the compression process is performed using the fixed SS factor 30 of 2: 1: 1 in the format, the data amount of the sub-sampling result 32 of the Lab-JPEG format is different from that of the sub-sampling result 34 of the YCbCr-JPEG format. (In this case, the amount of data before quantization and encoding is doubled). Further, as shown in FIG.
The CU 36 is the Lab-JPE of the first digital device 16.
In the G format, division processing is performed using the fixed L component quantization table 38, and YCbCr-J of the second digital device 18 is performed.
When division processing is performed using the Y component quantization table 40 that is fixed even in the PEG format, the L component quantized data 42 and the Y component quantized data 44 have different original images due to color conversion and different quantization table coefficients. Will generally give different results. As compared with the L component quantization table 38, if the Y component quantization table 40 is used with a small value of each element of the quantization table aiming at compression with high image quality, as a result, the Y component quantization table is obtained. It can be seen that each element of the digitized data 44 tends to be large. Therefore, when these are finally subjected to Huffman encoding or the like, the resulting data amount increases and the compression rate deteriorates.
Similarly, quantization is performed on the Cb component and Cr component with respect to the a component and the b component, and the data compression rate for each MCU may differ. MCU26 of the whole image
However, since the sub-sampling process and the quantization process are repeated, the data amount of the final compressed image data by the Lab-JPEG compression and the compressed image data by the YCbCr-JPEG compression significantly increase. In some cases, it will happen.

【0010】逆に、圧縮画像データ22が高画質の圧縮
パラメータで圧縮処理されていた場合、必要以上に圧縮
率を高くして、元の画像の画質が損なわれることは好ま
しくないと考えられる。しかし、その圧縮画像データ2
2を伸長し、再圧縮処理する際に固定の圧縮パラメータ
を用いると、その圧縮パラメータが高圧縮用であった場
合には、データ量の減少と引き換えに十分な画質を保つ
ことが困難となる問題もある。
On the contrary, when the compressed image data 22 is compressed by the compression parameter of high image quality, it is considered not preferable to increase the compression rate more than necessary and to deteriorate the image quality of the original image. However, the compressed image data 2
If a fixed compression parameter is used when decompressing 2 and performing recompression processing, if the compression parameter is for high compression, it becomes difficult to maintain sufficient image quality in exchange for reduction of the data amount. There are also problems.

【0011】例えば、文字情報等の鋭いエッジを有する
画質の画像データを、JPEG等の非可逆圧縮形式で圧
縮した圧縮画像データ22が送信されてきた場合、圧縮
画像データ22を伸長し、さらに非可逆圧縮形式で再圧
縮して再圧縮画像データ24を求めると、再圧縮画像デ
ータ24を伸長しても画像を判別するために十分な画質
が再現できない場合があった。
For example, when the compressed image data 22 obtained by compressing the image data having a sharp edge such as character information in a lossy compression format such as JPEG is transmitted, the compressed image data 22 is decompressed and further non-compressed. When the recompressed image data 24 is obtained by recompressing in the lossless compression format, even if the recompressed image data 24 is expanded, the image quality sufficient for discriminating the image may not be reproduced in some cases.

【0012】このように、従来の画像データの再圧縮処
理では、再圧縮画像データ24のデータ量が無駄に大き
くなったり、元の画像データの画質を十分に再現できな
い問題を生じていた。さらに、不必要に高画質用の圧縮
パラメータを再圧縮処理に用いた場合、再圧縮画像デー
タ24のデータ量の増加に伴って、転送の際の送信時間
が長くなる問題も生じていた。
As described above, in the conventional image data recompression processing, the data amount of the recompressed image data 24 becomes unnecessarily large, and the image quality of the original image data cannot be sufficiently reproduced. Furthermore, when a compression parameter for high image quality is unnecessarily used for the recompression process, there is a problem that the transmission time at the time of transfer becomes longer as the data amount of the recompressed image data 24 increases.

【0013】再圧縮パラメータとして、元圧縮画像の圧
縮パラメータをそのまま用いることも考えられるが、圧
縮画像を伸長して色変換等の処理を行い再圧縮する場
合、画像データが異なってしまうので、一般的に、同程
度の圧縮画像データ量を得ることができない。
Although it is possible to use the compression parameter of the original compressed image as it is as the recompression parameter, when the compressed image is decompressed and subjected to processing such as color conversion and recompressed, the image data will be different, so Therefore, it is impossible to obtain the same amount of compressed image data.

【0014】例えば、Lab色空間からRGB色空間に
色変換を行なう場合は、RGBの特定の成分にサブサン
プリングを行なうのは一般的に適切と言えないため、元
のLab色空間の圧縮画像でabがサブサンプリングさ
れていると、同じ圧縮パラメータだと、圧縮後のデータ
量が増大する傾向がある。
For example, when color conversion is performed from the Lab color space to the RGB color space, it is generally not appropriate to perform sub-sampling on specific RGB components, so that the compressed image in the original Lab color space is used. When ab is sub-sampled, the amount of data after compression tends to increase with the same compression parameter.

【0015】[0015]

【課題を解決するための手段】第1の発明の圧縮パラメ
ータ決定方法は、所定の圧縮パラメータを用いて圧縮さ
れた圧縮画像データを伸長して求めた伸長画像データ
を、再圧縮画像データへ再圧縮するために用いられる再
圧縮パラメータを決定する圧縮パラメータ決定方法であ
って、前記圧縮パラメータに基づいて、前記再圧縮パラ
メータを決定するものである。
According to a first aspect of the present invention, there is provided a compression parameter determining method for recompressing decompressed image data obtained by decompressing compressed image data compressed using a predetermined compression parameter into recompressed image data. A compression parameter determination method for determining a recompression parameter used for compression, wherein the recompression parameter is determined based on the compression parameter.

【0016】第2の発明の圧縮パラメータ決定方法は、
所定の圧縮パラメータを用いて圧縮された圧縮画像デー
タを伸長して求めた伸長画像データを、再圧縮画像デー
タへ再圧縮するために用いられる再圧縮パラメータを決
定する圧縮パラメータ決定方法であって、前記圧縮パラ
メータに基づいて、前記再圧縮画像データが所定の基準
を満たすものとなる変換関数を求める工程と、前記圧縮
パラメータと前記変換関数を用いて再圧縮パラメータを
決定する工程とを含むものである。
The compression parameter determination method of the second invention is
A decompressed image data obtained by decompressing compressed image data compressed using a predetermined compression parameter, a compression parameter determination method for determining a recompression parameter used to recompress to recompressed image data, Based on the compression parameter, a step of obtaining a conversion function that makes the recompressed image data satisfy a predetermined criterion, and a step of determining the recompression parameter using the compression parameter and the conversion function are included.

【0017】第3の発明の圧縮パラメータ決定方法は、
所定の画像タイプの画像データが、所定の圧縮パラメー
タにより圧縮された圧縮画像データを伸長して求めた伸
長画像データを、再圧縮画像データへ再圧縮するために
用いられる再圧縮パラメータを決定する圧縮パラメータ
決定方法であって、前記圧縮パラメータ及び前記画像タ
イプに基づいて、前記再圧縮パラメータが所定の基準を
満たすものとなる変換関数を求める工程と、前記圧縮パ
ラメータと前記変換関数とを用いて再圧縮パラメータを
決定する工程とを含むものである。
The compression parameter determining method of the third invention is
Image data of a predetermined image type is compressed to decompress compressed image data compressed with a predetermined compression parameter, and decompressed image data is used to determine recompression parameters used to recompress recompressed image data. A method for determining a parameter, the method comprising: determining a conversion function that makes the recompression parameter satisfy a predetermined criterion based on the compression parameter and the image type; and re-determining using the compression parameter and the conversion function. And a step of determining a compression parameter.

【0018】第4の発明の圧縮パラメータ決定方法は、
第2又は3の発明において、前記基準は、前記元圧縮画
像データと前記再圧縮画像データのデータ量の差が所定
の基準範囲内にあることを含むものである。
The compression parameter determination method of the fourth invention is
In the second or third invention, the reference includes that a difference in data amount between the original compressed image data and the recompressed image data is within a predetermined reference range.

【0019】第5の発明の圧縮パラメータ決定方法は、
第1から4のいずれかの発明において、前記再圧縮パラ
メータは、サブサンプリングファクタ、量子化テーブル
のいずれか1つ以上を含むものである。
The compression parameter determination method of the fifth invention is
In any one of the first to fourth inventions, the recompression parameter includes at least one of a subsampling factor and a quantization table.

【0020】第6の発明の圧縮パラメータ決定装置は、
所定の圧縮パラメータを用いて圧縮された圧縮画像デー
タを伸長して求めた伸長画像データを、再圧縮画像デー
タへ再圧縮するために用いられる再圧縮パラメータを決
定する圧縮パラメータ決定装置であって、前記圧縮パラ
メータに基づいて、前記再圧縮パラメータを決定するパ
ラメータ決定手段を有するものである。
The compression parameter determination device of the sixth invention is
A decompression image data obtained by decompressing compressed image data compressed using a predetermined compression parameter, a compression parameter determination device for determining a recompression parameter used to recompress to recompressed image data, It has a parameter determination means for determining the recompression parameter based on the compression parameter.

【0021】第7の発明の圧縮パラメータ決定装置は、
所定の圧縮パラメータを用いて圧縮された圧縮画像デー
タを伸長して求めた伸長画像データを、再圧縮画像デー
タへ再圧縮するために用いられる再圧縮パラメータを決
定する圧縮パラメータ決定装置であって、前記再圧縮画
像データが所定の基準を満たすものとなる変換関数を求
める変換関数取得手段と、前記圧縮パラメータと前記変
換関数とを用いて再圧縮パラメータを決定するパラメー
タ決定手段とを含むものである。
The compression parameter determination device of the seventh invention is
A decompression image data obtained by decompressing compressed image data compressed using a predetermined compression parameter, a compression parameter determination device for determining a recompression parameter used to recompress to recompressed image data, The recompressed image data includes a conversion function acquisition unit that obtains a conversion function that satisfies a predetermined criterion, and a parameter determination unit that determines the recompression parameter using the compression parameter and the conversion function.

【0022】第8の発明の圧縮パラメータ決定装置は、
所定の画像タイプの画像データが、所定の圧縮パラメー
タにより圧縮された圧縮画像データを伸長して求めた伸
長画像データを、再圧縮画像データへ再圧縮するために
用いられる再圧縮パラメータを決定する圧縮パラメータ
決定装置であって、前記圧縮パラメータ及び前記画像タ
イプに基づいて、前記再圧縮パラメータが所定の基準を
満たすものとなる変換関数を求める変換関数取得手段
と、前記圧縮パラメータと前記変換関数とを用いて再圧
縮パラメータを決定するパラメータ決定手段とを含むも
のである。
The compression parameter determination device of the eighth invention is
Image data of a predetermined image type is compressed to decompress compressed image data compressed with a predetermined compression parameter, and decompressed image data is used to determine recompression parameters used to recompress recompressed image data. A parameter determining device, comprising: a conversion function acquisition unit that obtains a conversion function that makes the recompression parameter satisfy a predetermined criterion based on the compression parameter and the image type; and the compression parameter and the conversion function. And a parameter determining means for determining a recompression parameter by using the parameter.

【0023】第9の発明の圧縮パラメータ決定装置は、
第7又は8の発明において、前記基準は、前記元圧縮画
像データと前記再圧縮画像データのデータ量の差が所定
の基準範囲内にあること、を含むものである。
The compression parameter determination device of the ninth invention is
In the seventh or eighth invention, the reference includes that a difference in data amount between the original compressed image data and the recompressed image data is within a predetermined reference range.

【0024】第10の発明の圧縮パラメータ決定装置
は、第6から第9のいずれかの発明において、前記再圧
縮パラメータは、サブサンプリングファクタ、量子化テ
ーブルのいずれか1つ以上を含むものである。
A compression parameter determination device of a tenth aspect of the invention is the compression parameter determination device of any of the sixth to ninth aspects, wherein the recompression parameter includes at least one of a subsampling factor and a quantization table.

【0025】第11の発明は、所定の圧縮パラメータを
用いて圧縮された圧縮画像データを伸長して求めた伸長
画像データを、コンピュータによって、再圧縮画像デー
タへ再圧縮するために用いられる再圧縮パラメータを決
定する場合に、前記圧縮パラメータに基づいて、前記再
圧縮パラメータを決定するプログラムを記憶したコンピ
ュータ読み取り可能な記憶媒体である。
An eleventh invention is a recompression used for recompressing decompressed image data obtained by decompressing compressed image data compressed using a predetermined compression parameter into recompressed image data by a computer. A computer-readable storage medium that stores a program for determining the recompression parameter based on the compression parameter when determining the parameter.

【0026】第12の発明は、所定の圧縮パラメータを
用いて圧縮された圧縮画像データを伸長して求めた伸長
画像データを、コンピュータによって、再圧縮画像デー
タへ再圧縮するために用いられる再圧縮パラメータを決
定する場合に、前記圧縮パラメータに基づいて、前記再
圧縮パラメータを決定するプログラムである。
The twelfth invention is a recompression used for recompressing decompressed image data obtained by decompressing compressed image data compressed using a predetermined compression parameter into recompressed image data by a computer. It is a program for determining the recompression parameter based on the compression parameter when determining the parameter.

【0027】[0027]

【発明の実施の形態】実施の形態1.本発明の本実施形
態では、第1のデジタル機器16で圧縮された圧縮画像
データ22と第2のデジタル機器18で再圧縮された再
圧縮画像データ24との圧縮画像データのデータ量の差
が所定の基準値以下とする再圧縮処理で用いる再圧縮パ
ラメータの決定方法を示す。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiment 1. In this embodiment of the present invention, the difference in the data amount of the compressed image data between the compressed image data 22 compressed by the first digital device 16 and the recompressed image data 24 recompressed by the second digital device 18 is A method of determining the recompression parameter used in the recompression process for setting the value to a predetermined reference value or less will be described.

【0028】図6に本発明の本実施形態の圧縮パラメー
タの変換係数の取得方法を示す。説明を簡略化するため
に第1のデジタル機器16の圧縮形式1及び第2のデジ
タル機器18の圧縮形式2の圧縮処理に対して、圧縮パ
ラメータはそれぞれ2つの場合を示している。ここで
は、圧縮パラメータはそれぞれ2つとしたが、圧縮形式
に応じて変更しても良い。
FIG. 6 shows a method of acquiring the conversion coefficient of the compression parameter according to this embodiment of the present invention. For simplification of description, two compression parameters are shown for the compression processing of the compression format 1 of the first digital device 16 and the compression format 2 of the second digital device 18, respectively. Here, two compression parameters are used, but the compression parameters may be changed according to the compression format.

【0029】標準画像データ46に対して圧縮パラメー
タ(テーブル)48のA及びBを用いて、圧縮形式1の
圧縮工程A及びBにより圧縮処理を行なう。圧縮形式1
で得られた圧縮画像データ22を伸長し、再圧縮パラメ
ータ(テーブル)50のa及びbを用いて、圧縮形式2
の圧縮工程a及びbにより再圧縮処理を行なう。このと
き、再圧縮パラメータa及びbは、圧縮パラメータA及
びB、並びに、変換係数α及びβを数式(1)及び数式
(2)の関数f及びgを用いて演算して求める。
The standard image data 46 is compressed by the compression steps (A and B) of the compression format 1 using A and B of the compression parameter (table) 48. Compression format 1
The compressed image data 22 obtained in step 1 is decompressed, and the compression format 2 is obtained using a and b of the recompression parameter (table) 50.
The recompression process is performed by the compression steps a and b. At this time, the recompression parameters a and b are calculated by calculating the compression parameters A and B and the conversion coefficients α and β using the functions f and g of the formulas (1) and (2).

【0030】[0030]

【数1】 [Equation 1]

【0031】圧縮形式1で得られた圧縮画像データ22
及び圧縮形式2で得られた再圧縮画像データ24のデー
タ量を比較し、その差が所定の基準値以下となるように
変換係数α及びβを決定する。
Compressed image data 22 obtained in compression format 1
And the data amounts of the recompressed image data 24 obtained in the compression format 2 are compared, and the conversion coefficients α and β are determined so that the difference becomes equal to or smaller than a predetermined reference value.

【0032】図7に本実施形態の圧縮パラメータの変換
係数の取得方法のステップ図を示す。ST1では、圧縮
形式1により圧縮パラメータA及びBを用いて標準画像
データ46の圧縮処理を行なう。ST2では、α及びβ
を初期設定する。ST3では、ST1の圧縮形式1で用
いた圧縮パラメータA及びBと、ST2で初期設定した
α及びβとを所定の関数f及びgを用いて演算し、圧縮
形式2で用いる再圧縮パラメータa及びbを算出する。
ST4では、ST1で圧縮された圧縮画像データを形式
1で伸長する。ST5では、その伸長された画像データ
を、ST2で算出された圧縮形式2の再圧縮パラメータ
a及びbを用いて、圧縮形式2により再圧縮処理する。
ST6では、圧縮形式1と圧縮形式2のそれぞれで圧縮
処理した圧縮画像データのデータ量を比較し、その差が
所定の基準値以下であれば、そのときのα及びβを変換
係数と決定する。データ量の差が基準値以上であれば、
ST7でα及びβを変更し、ST3から繰り返す。
FIG. 7 shows a step diagram of the method of acquiring the conversion coefficient of the compression parameter according to the present embodiment. In ST1, the standard image data 46 is compressed using the compression parameters A and B according to the compression format 1. In ST2, α and β
Is initialized. In ST3, the compression parameters A and B used in the compression format 1 of ST1 and α and β initialized in ST2 are calculated using predetermined functions f and g, and the recompression parameters a and B used in compression format 2 are calculated. Calculate b.
In ST4, the compressed image data compressed in ST1 is expanded in the format 1. In ST5, the decompressed image data is recompressed by the compression format 2 using the recompression parameters a and b of the compression format 2 calculated in ST2.
In ST6, the data amounts of the compressed image data compressed by the compression format 1 and the compression format 2 are compared, and if the difference is less than a predetermined reference value, α and β at that time are determined as conversion coefficients. . If the difference in the amount of data is more than the standard value,
In ST7, α and β are changed, and the process is repeated from ST3.

【0033】図8に第2のデジタル機器18における再
圧縮パラメータへの変換係数表の例を示す。図8の表
は、第2のデジタル機器18の圧縮形式で用いられる再
圧縮パラメータa〜zを算出するための変換係数を、第
1のデジタル機器16から送信されてくる可能性がある
様々な圧縮形式、色及び第2のデジタル機器18で実施
する色変換処理内容に相当する標準画像データ46に対
して算出した結果を示している。
FIG. 8 shows an example of a conversion coefficient table for recompressing parameters in the second digital device 18. The table of FIG. 8 indicates that various conversion coefficients for calculating the recompression parameters a to z used in the compression format of the second digital device 18 may be transmitted from the first digital device 16. The calculation result for the standard image data 46 corresponding to the compression format, the color, and the content of the color conversion processing performed by the second digital device 18 is shown.

【0034】それぞれの圧縮形式で送信されてきた圧縮
画像データ22に対して、圧縮画像データ22への圧縮
に用いた圧縮パラメータと、それに対応する変換係数と
を所定の関数f及びgで演算することにより、圧縮画像
データ22と再圧縮画像データ24を同等のデータ量と
する再圧縮処理の再圧縮パラメータを得ることができ
る。
With respect to the compressed image data 22 transmitted in each compression format, the compression parameter used for compression into the compressed image data 22 and the corresponding conversion coefficient are calculated by the predetermined functions f and g. As a result, it is possible to obtain the recompression parameter of the recompression process in which the compressed image data 22 and the recompressed image data 24 have the same data amount.

【0035】また、前記圧縮パラメータ決定方法の各工
程をプログラムとしてコンピュータを用いて処理するこ
ともできる。さらに、圧縮パラメータ決定方法の各工程
をプログラムとしてコンピュータ読み取り可能な記憶媒
体に記憶させ、記憶媒体からコンピュータへプログラム
を読み込んで、処理させることもできる。
Further, each step of the compression parameter determination method can be processed as a program by using a computer. Further, each step of the compression parameter determination method can be stored as a program in a computer-readable storage medium, and the program can be read from the storage medium to the computer and processed.

【0036】本実施形態の具体例.第1のデジタル機器
16からLab−JPEG形式で圧縮された圧縮画像デ
ータ22を受信し、第2のデジタル機器18ではYCb
Cr−JPEG形式で再圧縮した再圧縮画像データ24
を転送する場合について、圧縮画像データ22と再圧縮
画像データ24のデータ量を同等に保つためのSSファ
クタ及び量子化テーブルの決定方法について具体例を示
す。
Specific example of the present embodiment. The compressed image data 22 compressed in the Lab-JPEG format is received from the first digital device 16, and YCb is received by the second digital device 18.
Recompressed image data 24 recompressed in Cr-JPEG format
In the case of transferring, a concrete example will be shown of a method of determining the SS factor and the quantization table for keeping the data amounts of the compressed image data 22 and the recompressed image data 24 equal.

【0037】圧縮パラメータのうちSSファクタは、元
画像のLabSSファクタから再圧縮画像のYCbCr
SSファクタへ変換するテーブルを用いて圧縮パラメー
タを得る。本具体例においては、LabからYCbCr
への変換なので、明度/輝度成分であるL成分とY成分
及び色差成分であるab成分とCbCr成分のサブサン
プリング情報を一致させるのが適当であると考えられる
ため、LabSSファクタをそのままYCbCrSSフ
ァクタとして利用するテーブルを用いる。また、Y成分
の量子化テーブル及びCbCr成分の量子化テーブル
は、数式(3)及び(4)の変換関数で表される。
Of the compression parameters, the SS factor is the LabSS factor of the original image to the YCbCr of the recompressed image.
Obtain the compression parameters using the table to convert to SS factor. In this example, Lab to YCbCr
It is considered that it is appropriate to match the sub-sampling information of the L component and the Y component which are the lightness / luminance components and the ab component and the CbCr component which are the color difference components because the conversion is to the Lab component. Use the table to be used. Further, the quantization table for the Y component and the quantization table for the CbCr component are represented by the conversion functions of the mathematical expressions (3) and (4).

【0038】[0038]

【数2】 [Equation 2]

【0039】図9に、基準画像データ46に対する、変
換係数の取得処理を示す。まず、Lab色空間の標準画
像データ46を用意する。Lab−JPEG形式で用い
られたL成分、a成分及びb成分に対するSSファクタ
及び量子化テーブルを用いてLab色空間に変換された
画像データを圧縮し、圧縮画像データ22を得る。次
に、Lab−JPEG形式を用いて圧縮画像データ22
を伸長する。その伸長された画像データを、YCbCr
色空間に変換する。ここで、L成分、a成分及びb成分
に対するSSファクタ及び量子化テーブルと初期設定し
たα及びβとを所定の関数f及びgを用いて演算し、Y
CbCr−JPEG形式で用いるY成分、Cb成分及び
Cb成分に対するSSファクタ及び量子化テーブルを算
出する。そのYCbCr色空間変換された画像データに
対して、第2のデジタル機器18のYCbCr−JPE
G形式での再圧縮に用いられるY成分、Cb成分及びC
b成分に対するSSファクタ及び量子化テーブルを用い
て再圧縮処理を行い、再圧縮画像データ24を求める。
Lab−JPEG形式で得られた圧縮画像データ22
と、YCbCr−JPEG形式で得られた再圧縮画像デ
ータ24のデータ量を比較し、その差が所定の基準値以
下であれば、そのときのα及びβを変換係数と決定す
る。その差が、所定の基準値以上であれば、α及びβの
値を変更し、再び処理を行なう。
FIG. 9 shows the process of acquiring the conversion coefficient for the reference image data 46. First, standard image data 46 in the Lab color space is prepared. The image data converted into the Lab color space is compressed using the SS factor and the quantization table for the L component, the a component, and the b component used in the Lab-JPEG format, and the compressed image data 22 is obtained. Next, using the Lab-JPEG format, the compressed image data 22
To stretch. The expanded image data is converted to YCbCr
Convert to color space. Here, the SS factors and the quantization tables for the L component, the a component, and the b component and α and β initialized are calculated using predetermined functions f and g, and Y is calculated.
The SS factor and the quantization table for the Y component, the Cb component, and the Cb component used in the CbCr-JPEG format are calculated. The YCbCr-JPE of the second digital device 18 is applied to the YCbCr color space converted image data.
Y component, Cb component and C used for recompression in G format
Recompression processing is performed using the SS factor and the quantization table for the b component to obtain recompressed image data 24.
Compressed image data 22 obtained in Lab-JPEG format
And the data amount of the recompressed image data 24 obtained in the YCbCr-JPEG format are compared, and if the difference is less than or equal to a predetermined reference value, α and β at that time are determined as conversion coefficients. If the difference is greater than or equal to the predetermined reference value, the values of α and β are changed and the process is performed again.

【0040】図10に本具体例で得られた変換係数の表
を示す。表のように、様々な標準画像データ46及び変
換形式に対して変換係数を準備しておくことにより、第
1のデジタル機器16のLab−JPEG形式の圧縮処
理で得られる圧縮画像データと、第2のデジタル機器1
8のYCbCr−JPEG形式の圧縮処理で得られる再
圧縮画像データのデータ量の差を所定の基準値以下とす
る圧縮パラメータを決定することができる。実際の送信
・転送時には、それぞれの圧縮形式で送信されてきた圧
縮画像データ22に対する変換係数を表から求め、圧縮
画像データ22への圧縮に用いた圧縮パラメータとその
変換係数を所定の関数f及びgで演算することにより、
圧縮画像データ22と再圧縮画像データ24を同等のデ
ータ量とする再圧縮処理の再圧縮パラメータを得ること
ができる。
FIG. 10 shows a table of conversion coefficients obtained in this example. As shown in the table, by preparing conversion coefficients for various standard image data 46 and conversion formats, the compressed image data obtained by the Lab-JPEG compression processing of the first digital device 16 and the 2 digital devices 1
It is possible to determine the compression parameter that makes the difference in the data amount of the recompressed image data obtained by the compression processing of YCbCr-JPEG format of No. 8 below a predetermined reference value. At the time of actual transmission / transfer, the conversion coefficient for the compressed image data 22 transmitted in each compression format is obtained from the table, and the compression parameter used for compression to the compressed image data 22 and its conversion coefficient are determined by a predetermined function f and By calculating with g,
It is possible to obtain the recompression parameter of the recompression process in which the compressed image data 22 and the recompressed image data 24 have the same data amount.

【0041】実施の形態2.本実施の形態では、圧縮画
像データと共に送信されてくる画像タイプによって再圧
縮に用いる圧縮パラメータを変更する場合について説明
する。ここで、画像タイプとは、圧縮画像データが圧縮
される前の元の画像が文字であることや、あるいは写真
であること等を示す指標を意味する。
Embodiment 2. In the present embodiment, a case will be described in which the compression parameter used for recompression is changed depending on the image type transmitted together with the compressed image data. Here, the image type means an index indicating that the original image before the compressed image data is compressed is a character or a photograph.

【0042】例えば、圧縮画像データと共に、その元画
像の画像タイプが写真であることを示す指標が送信され
てきた場合には、JPEG形式による再圧縮の際は圧縮
率を高くしても画質の劣化が目立たないので、圧縮率を
上げるような圧縮パラメータとすることができる。
For example, in the case where an index indicating that the image type of the original image is a photograph is transmitted together with the compressed image data, the image quality of the image can be improved even when the compression rate is increased during the recompression in the JPEG format. Since the deterioration is not noticeable, the compression parameter can be set to increase the compression rate.

【0043】具体的には、図7のステップ図のST6に
代えて、形式1で圧縮された圧縮画像データに対して、
形式2で圧縮された画像データのデータ量が所定の割合
だけ小さい範囲になるような基準を満たす変換係数を求
める。これにより、圧縮率を高くできる画像タイプの変
換係数を求めることができる。図11に具体例2によっ
て得られた変換係数の表の例を示す。
Specifically, instead of ST6 in the step diagram of FIG. 7, for compressed image data compressed in format 1,
A conversion coefficient satisfying the criterion that the data amount of the image data compressed in the format 2 is in a range smaller by a predetermined ratio is obtained. As a result, it is possible to obtain an image type conversion coefficient that can increase the compression rate. FIG. 11 shows an example of a conversion coefficient table obtained in the second specific example.

【0044】このように画像タイプによって異なる変換
係数を求めることにより、画質の劣化が目立たない画像
タイプの場合は積極的に小さいデータ量となるように圧
縮パラメータを決定することができる。
By thus obtaining the conversion coefficient which differs depending on the image type, the compression parameter can be determined so that the data amount is positively reduced in the case of the image type in which the deterioration of the image quality is not noticeable.

【0045】さらに、これを応用して、原稿タイプに限
らず、例えば、画像の大きさ、解像度、圧縮率、などの
元画像の圧縮データに含まれる情報等を利用して、圧縮
パラメータを制御するように拡張することもできる。
Further, by applying this, the compression parameter is controlled not only by the original type but also by utilizing the information contained in the compressed data of the original image such as the image size, resolution and compression rate. It can also be extended to

【0046】実施の形態3.図12に本発明の本実施の
形態における圧縮パラメータ決定装置の構成図を示す。
Embodiment 3. FIG. 12 shows a block diagram of a compression parameter determination device according to the present embodiment of the present invention.

【0047】圧縮形式1での圧縮処理機能52では、圧
縮形式1により圧縮パラメータA及びBを用いて標準画
像データ46の圧縮処理を行なう。変換係数設定機能5
6では、α及びβを初期設定する。再圧縮パラメータ決
定機能では、圧縮形式1での圧縮処理機能52で用いた
圧縮パラメータA及びBと、再圧縮パラメータ決定機能
58で初期設定したα及びβとを所定の関数f及びgを
用いて演算し、圧縮形式2で用いる再圧縮パラメータa
及びbを算出する。形式1での伸長処理機能54では、
圧縮処理機能52で圧縮された圧縮画像データを伸長す
る。圧縮形式2での圧縮処理機能60では、算出された
再圧縮パラメータa及びbを用いて、伸長処理機能54
で伸長された画像データを再圧縮処理する。比較・判定
機能62では、圧縮形式1と圧縮形式2のそれぞれで圧
縮処理した圧縮画像データのデータ量を比較し、その差
が所定の基準値以上であれば、変換係数設定機能56に
フィードバックをかけα及びβを変更し、以上の動作を
繰り返す。データ量の差が基準値以上であれば、弁別器
64において、再圧縮パラメータ決定機能58で得られ
た再圧縮パラメータa及びbを出力する。
The compression processing function 52 in the compression format 1 compresses the standard image data 46 using the compression parameters A and B in the compression format 1. Conversion coefficient setting function 5
At 6, α and β are initialized. In the recompression parameter determination function, the compression parameters A and B used in the compression processing function 52 in the compression format 1 and α and β initially set in the recompression parameter determination function 58 are determined using predetermined functions f and g. Recompression parameter a calculated and used in compression format 2
And b are calculated. With the decompression processing function 54 in format 1,
The compressed image data compressed by the compression processing function 52 is expanded. The compression processing function 60 in the compression format 2 uses the calculated recompression parameters a and b to expand the decompression processing function 54.
The image data expanded by is recompressed. The comparison / determination function 62 compares the data amounts of the compressed image data compressed in each of the compression format 1 and the compression format 2, and if the difference is equal to or larger than a predetermined reference value, feeds the feedback to the conversion coefficient setting function 56. The multiplication α and β are changed, and the above operation is repeated. If the difference in data amount is equal to or larger than the reference value, the discriminator 64 outputs the recompression parameters a and b obtained by the recompression parameter determination function 58.

【0048】以上のように、圧縮画像データへの圧縮に
用いた圧縮パラメータと、それに対応する変換係数とを
所定の関数で演算することにより、元圧縮画像データと
再圧縮画像データを同等のデータ量とする再圧縮処理の
再圧縮パラメータを得ることができる。
As described above, the original compressed image data and the re-compressed image data are equivalent to each other by calculating the compression parameter used for compression to the compressed image data and the corresponding conversion coefficient by a predetermined function. The recompression parameter of the recompression process as the quantity can be obtained.

【0049】[0049]

【発明の効果】本発明の圧縮パラメータ決定方法によ
り、圧縮された元圧縮画像データを伸長し、再圧縮して
再圧縮画像データを求める場合に、元圧縮画像データと
同等のデータ量の再圧縮画像データを得る圧縮パラメー
タを決定することができる。
According to the compression parameter determining method of the present invention, when the compressed original compressed image data is expanded and recompressed to obtain the recompressed image data, the recompressed data has the same data amount as the original compressed image data. The compression parameters for obtaining the image data can be determined.

【0050】また、元画像データの画像タイプに応じ
て、再圧縮処理に用いる圧縮パラメータを決定すること
ができる。さらに、これを応用して、原稿タイプに限ら
ず、例えば、画像の大きさ、解像度、圧縮率、などの元
画像の圧縮データに含まれる情報等を利用して、圧縮パ
ラメータを制御するように拡張することもできる。
Further, the compression parameter used for the recompression process can be determined according to the image type of the original image data. Further, by applying this, it is possible to control the compression parameter by utilizing not only the original type but also the information included in the compressed data of the original image such as the image size, the resolution, and the compression rate. It can be extended.

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

【図1】 画像データの圧縮処理の工程を示す図であ
る。
FIG. 1 is a diagram showing a process of image data compression processing.

【図2】 圧縮画像データの送信・転送を説明する図で
ある。
FIG. 2 is a diagram illustrating transmission / transfer of compressed image data.

【図3】 送信における圧縮・伸長処理及び転送におけ
る再圧縮・伸長処理の工程を示す図である。
FIG. 3 is a diagram showing steps of compression / expansion processing in transmission and recompression / expansion processing in transfer.

【図4】 従来の送信のLab−JPEG形式及び転送
のYCbCr−JPEG形式のサブサンプリング処理を
表した図である。
FIG. 4 is a diagram showing a conventional sub-sampling process of Lab-JPEG format for transmission and YCbCr-JPEG format for transfer.

【図5】 従来の送信のLab−JPEG形式及び転送
のYCbCr−JPEG形式の量子化処理を表した図で
ある。
FIG. 5 is a diagram showing quantization processing in a Lab-JPEG format for transmission and a YCbCr-JPEG format for transfer in the related art.

【図6】 本発明の実施の形態1での変換関数の取得方
法を示す図である。
FIG. 6 is a diagram showing a method of acquiring a conversion function according to the first embodiment of the present invention.

【図7】 本発明の実施の形態1での変換係数の取得方
法のステップ図である。
FIG. 7 is a step diagram of a method of acquiring transform coefficients according to the first embodiment of the present invention.

【図8】 本発明の実施の形態1で得られた変換係数の
表の例を示す図である。
FIG. 8 is a diagram showing an example of a conversion coefficient table obtained in the first embodiment of the present invention.

【図9】 実施の形態1の具体例における変換係数の取
得方法を示す図である。
FIG. 9 is a diagram showing a method of acquiring a conversion coefficient in the specific example of the first embodiment.

【図10】 実施の形態1の具体例で得られた変換係数
の表を示す図である。
FIG. 10 is a diagram showing a table of conversion coefficients obtained in the specific example of the first embodiment.

【図11】 本発明の実施の形態2で得られた変換係数
の表を示す図である。
FIG. 11 is a diagram showing a table of conversion coefficients obtained in the second embodiment of the present invention.

【図12】 本発明の実施の形態3における圧縮パラメ
ータ決定装置の構成図である。
FIG. 12 is a configuration diagram of a compression parameter determination device according to a third embodiment of the present invention.

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

10 画像データ、12 圧縮画像データ、14 電気
通信回線、16 第1のデジタル機器、18 第2のデ
ジタル機器、20 第3のデジタル機器、22元圧縮画
像データ、24 再圧縮画像データ、26 最小変換要
素(MCU)、28 Lab−JPEG形式のサブサン
プリングファクタ、30 YCbCr−JPEG形式の
サブサンプリングファクタ、32 Lab−JPEG形
式のサブサンプリング結果、34 YCbCr−JPE
G形式のサブサンプリング結果、36 1ブロックの画
像データ(RGB)、38 L成分量子化テーブル、4
0 Y成分量子化テーブル、42 L成分量子化デー
タ、44 Y成分量子化データ、46 標準画像デー
タ、48 圧縮形式1の圧縮パラメータ、50 圧縮形
式2の圧縮パラメータ、52 圧縮形式1での圧縮処理
機能、54 伸長処理機能、56 変換係数設定機能、
58 再圧縮パラメータ決定機能、60 圧縮形式2で
の圧縮処理機能、62 比較・判定機能、64 弁別
器。
10 image data, 12 compressed image data, 14 telecommunication line, 16 first digital device, 18 second digital device, 20 third digital device, 22 original compressed image data, 24 recompressed image data, 26 minimum conversion Element (MCU), 28 Lab-JPEG format subsampling factor, 30 YCbCr-JPEG format subsampling factor, 32 Lab-JPEG format subsampling result, 34 YCbCr-JPE
G format sub-sampling result, 36 1 block of image data (RGB), 38 L component quantization table, 4
0 Y component quantization table, 42 L component quantized data, 44 Y component quantized data, 46 standard image data, 48 compression format 1 compression parameter, 50 compression format 2 compression parameter, 52 compression format 1 compression process Function, 54 expansion processing function, 56 conversion coefficient setting function,
58 recompression parameter determination function, 60 compression processing function in compression format 2, 62 comparison / judgment function, 64 discriminator.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 鶴間 俊春 神奈川県川崎市高津区坂戸3丁目2番1号 KSP R&D ビジネスパークビル 富士ゼロックス株式会社内 (72)発明者 遊佐 実 神奈川県川崎市高津区坂戸3丁目2番1号 KSP R&D ビジネスパークビル 富士ゼロックス株式会社内 (72)発明者 佐藤 尊礼 神奈川県川崎市高津区坂戸3丁目2番1号 KSP R&D ビジネスパークビル 富士ゼロックス株式会社内 Fターム(参考) 5C057 AA11 DA06 EA06 ED08 EM00 EM16 FB03 5C059 KK41 LB05 MA00 MC14 PP01 PP16 PP20 SS20 TA47 TB04 TC24 TC25 TC38 TD05 UA39 5C078 AA09 BA53 CA22 CA27 DA01 DA06    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Toruharu Tsuruma             3-2-1 Sakado, Takatsu-ku, Kawasaki City, Kanagawa Prefecture               KSP R & D Business Park Building             Within Fuji Xerox Co., Ltd. (72) Inventor Minoru Yusa             3-2-1 Sakado, Takatsu-ku, Kawasaki City, Kanagawa Prefecture               KSP R & D Business Park Building             Within Fuji Xerox Co., Ltd. (72) Inventor Takanori Sato             3-2-1 Sakado, Takatsu-ku, Kawasaki City, Kanagawa Prefecture               KSP R & D Business Park Building             Within Fuji Xerox Co., Ltd. F-term (reference) 5C057 AA11 DA06 EA06 ED08 EM00                       EM16 FB03                 5C059 KK41 LB05 MA00 MC14 PP01                       PP16 PP20 SS20 TA47 TB04                       TC24 TC25 TC38 TD05 UA39                 5C078 AA09 BA53 CA22 CA27 DA01                       DA06

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 所定の圧縮パラメータを用いて圧縮され
た圧縮画像データを伸長して求めた伸長画像データを、
再圧縮画像データへ再圧縮するために用いられる再圧縮
パラメータを決定する圧縮パラメータ決定方法であっ
て、 前記圧縮パラメータに基づいて、前記再圧縮パラメータ
を決定することを特徴とする圧縮パラメータ決定方法。
1. Decompressed image data obtained by decompressing compressed image data compressed using a predetermined compression parameter,
A compression parameter determination method for determining a recompression parameter used for recompression into recompressed image data, wherein the recompression parameter is determined based on the compression parameter.
【請求項2】 所定の圧縮パラメータを用いて圧縮され
た圧縮画像データを伸長して求めた伸長画像データを、
再圧縮画像データへ再圧縮するために用いられる再圧縮
パラメータを決定する圧縮パラメータ決定方法であっ
て、 前記圧縮パラメータに基づいて、前記再圧縮画像データ
が所定の基準を満たすものとなる変換関数を求める工程
と、 前記圧縮パラメータと前記変換関数を用いて再圧縮パラ
メータを決定する工程と、を含むことを特徴とする圧縮
パラメータ決定方法。
2. Decompressed image data obtained by decompressing compressed image data compressed using a predetermined compression parameter,
A compression parameter determining method for determining a recompression parameter used for recompressing to recompressed image data, wherein a conversion function that makes the recompressed image data satisfy a predetermined criterion based on the compression parameter. A method of determining a compression parameter, comprising: a step of obtaining and a step of determining a recompression parameter using the compression parameter and the conversion function.
【請求項3】 所定の画像タイプの画像データが、所定
の圧縮パラメータにより圧縮された圧縮画像データを伸
長して求めた伸長画像データを、再圧縮画像データへ再
圧縮するために用いられる再圧縮パラメータを決定する
圧縮パラメータ決定方法であって、 前記圧縮パラメータ及び前記画像タイプに基づいて、前
記再圧縮パラメータが所定の基準を満たすものとなる変
換関数を求める工程と、 前記圧縮パラメータと前記変換関数とを用いて再圧縮パ
ラメータを決定する工程と、を含むことを特徴とする圧
縮パラメータ決定方法。
3. Recompression used for recompressing decompressed image data obtained by decompressing compressed image data compressed by a predetermined compression parameter into image data of a predetermined image type. A compression parameter determination method for determining a parameter, the method comprising: determining, based on the compression parameter and the image type, a conversion function that makes the recompression parameter satisfy a predetermined criterion; and the compression parameter and the conversion function. And a step of determining a recompression parameter by using the compression parameter determination method.
【請求項4】 請求項2又は3に記載の圧縮パラメータ
決定方法において、 前記基準は、前記圧縮画像データと前記再圧縮画像デー
タのデータ量の差が所定の基準範囲内にあること、を含
むものとする圧縮パラメータ決定方法。
4. The compression parameter determination method according to claim 2, wherein the reference includes that a difference in data amount between the compressed image data and the recompressed image data is within a predetermined reference range. The method of determining compression parameters.
【請求項5】 請求項1から4のいずれかに記載の圧縮
パラメータ決定方法において、 前記再圧縮パラメータは、サブサンプリングファクタ、
量子化テーブルのいずれか1つ以上を含むことを特徴と
する圧縮パラメータ決定方法。
5. The compression parameter determination method according to claim 1, wherein the recompression parameter is a subsampling factor,
A compression parameter determination method comprising any one or more of quantization tables.
【請求項6】 所定の圧縮パラメータを用いて圧縮され
た圧縮画像データを伸長して求めた伸長画像データを、
再圧縮画像データへ再圧縮するために用いられる再圧縮
パラメータを決定する圧縮パラメータ決定装置であっ
て、 前記圧縮パラメータに基づいて、前記再圧縮パラメータ
を決定するパラメータ決定手段を有することを特徴とす
る圧縮パラメータ決定装置。
6. Decompressed image data obtained by decompressing compressed image data compressed using a predetermined compression parameter,
A compression parameter determination device for determining a recompression parameter used for recompressing to recompressed image data, comprising a parameter determination means for determining the recompression parameter based on the compression parameter. Compression parameter determination device.
【請求項7】 所定の圧縮パラメータを用いて圧縮され
た圧縮画像データを伸長して求めた伸長画像データを、
再圧縮画像データへ再圧縮するために用いられる再圧縮
パラメータを決定する圧縮パラメータ決定装置であっ
て、 前記再圧縮画像データが所定の基準を満たすものとなる
変換関数を求める変換関数取得手段と、 前記圧縮パラメータと前記変換関数とを用いて再圧縮パ
ラメータを決定するパラメータ決定手段と、を含むこと
を特徴とする圧縮パラメータ決定装置。
7. Decompressed image data obtained by decompressing compressed image data compressed using a predetermined compression parameter,
A compression parameter determination device for determining a recompression parameter used to recompress to recompressed image data, wherein the recompressed image data obtains a conversion function that satisfies a predetermined criterion, A compression parameter determination device comprising: a parameter determination unit that determines a recompression parameter using the compression parameter and the conversion function.
【請求項8】 所定の画像タイプの画像データが、所定
の圧縮パラメータにより圧縮された圧縮画像データを伸
長して求めた伸長画像データを、再圧縮画像データへ再
圧縮するために用いられる再圧縮パラメータを決定する
圧縮パラメータ決定装置であって、 前記圧縮パラメータ及び前記画像タイプに基づいて、前
記再圧縮パラメータが所定の基準を満たすものとなる変
換関数を求める変換関数取得手段と、 前記圧縮パラメータと前記変換関数とを用いて再圧縮パ
ラメータを決定するパラメータ決定手段と、を含むこと
を特徴とする圧縮パラメータ決定装置。
8. Recompression in which image data of a predetermined image type is used to recompress decompressed image data obtained by decompressing compressed image data compressed by a predetermined compression parameter into recompressed image data. A compression parameter determination device for determining a parameter, wherein, based on the compression parameter and the image type, a conversion function acquisition unit that obtains a conversion function such that the recompression parameter satisfies a predetermined criterion, and the compression parameter. And a parameter determining unit that determines a recompression parameter using the conversion function.
【請求項9】 請求項7又は8に記載の圧縮パラメータ
決定装置において、 前記基準は、元圧縮画像データと再圧縮画像データのデ
ータ量の差が所定の基準範囲内にあること、を含むもの
とする圧縮パラメータ決定装置。
9. The compression parameter determination device according to claim 7, wherein the reference includes that a difference in data amount between the original compressed image data and the recompressed image data is within a predetermined reference range. Compression parameter determination device.
【請求項10】 請求項6から9のいずれかに記載の圧
縮パラメータ決定装置において、 前記再圧縮パラメータは、サブサンプリングファクタ、
量子化テーブルのいずれか1つ以上を含むことを特徴と
する圧縮パラメータ決定装置。
10. The compression parameter determination device according to claim 6, wherein the recompression parameter is a subsampling factor,
A compression parameter determination device comprising any one or more of quantization tables.
【請求項11】 所定の圧縮パラメータを用いて圧縮さ
れた圧縮画像データを伸長して求めた伸長画像データ
を、 コンピュータによって、再圧縮画像データへ再圧縮する
ために用いられる再圧縮パラメータを決定する場合に、 前記圧縮パラメータに基づいて、前記再圧縮パラメータ
を決定するプログラムを記憶したコンピュータ読み取り
可能な記憶媒体。
11. A recompression parameter used for recompressing decompressed image data obtained by decompressing compressed image data compressed using a predetermined compression parameter into recompressed image data by a computer. In this case, a computer-readable storage medium storing a program for determining the recompression parameter based on the compression parameter.
【請求項12】 所定の圧縮パラメータを用いて圧縮さ
れた圧縮画像データを伸長して求めた伸長画像データ
を、 コンピュータによって、再圧縮画像データへ再圧縮する
ために用いられる再圧縮パラメータを決定する場合に、 前記圧縮パラメータに基づいて、前記再圧縮パラメータ
を決定するプログラム。
12. A recompression parameter used for recompressing decompressed image data obtained by decompressing compressed image data compressed using a predetermined compression parameter into recompressed image data by a computer. In that case, the program which determines the said recompression parameter based on the said compression parameter.
JP2001353790A 2001-11-19 2001-11-19 Apparatus and method of determining compression parameters of image data compression process, storage medium and program Pending JP2003153011A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001353790A JP2003153011A (en) 2001-11-19 2001-11-19 Apparatus and method of determining compression parameters of image data compression process, storage medium and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001353790A JP2003153011A (en) 2001-11-19 2001-11-19 Apparatus and method of determining compression parameters of image data compression process, storage medium and program

Publications (1)

Publication Number Publication Date
JP2003153011A true JP2003153011A (en) 2003-05-23

Family

ID=19165744

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001353790A Pending JP2003153011A (en) 2001-11-19 2001-11-19 Apparatus and method of determining compression parameters of image data compression process, storage medium and program

Country Status (1)

Country Link
JP (1) JP2003153011A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8682091B2 (en) 2011-08-18 2014-03-25 International Business Machines Corporation Real-time image compression
WO2016056709A1 (en) * 2014-10-06 2016-04-14 삼성전자 주식회사 Method for re-encoding image and apparatus therefor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8682091B2 (en) 2011-08-18 2014-03-25 International Business Machines Corporation Real-time image compression
WO2016056709A1 (en) * 2014-10-06 2016-04-14 삼성전자 주식회사 Method for re-encoding image and apparatus therefor
US10536697B2 (en) 2014-10-06 2020-01-14 Samsung Electronics Co., Ltd Method for re-encoding image and apparatus therefor

Similar Documents

Publication Publication Date Title
EP0974933B1 (en) Adaptive video compression using variable quantization
JP5052569B2 (en) Image compression apparatus, image compression method, image expansion apparatus, image expansion method, image forming apparatus, computer program, and recording medium
CN102523367B (en) Real time imaging based on many palettes compresses and method of reducing
US20050213830A1 (en) Image processing device and method
JPH10191074A (en) Color correction method for compressed image
US6934418B2 (en) Image data coding apparatus and image data server
US20220272384A1 (en) Image compression
US20030053115A1 (en) Image compression appartatus, image depression apparatus and method thereof
US8755621B2 (en) Data compression method and data compression system
US7146055B2 (en) Image processing decompression apparatus and method of using same different scaling algorithms simultaneously
JP2003153011A (en) Apparatus and method of determining compression parameters of image data compression process, storage medium and program
JPH0487460A (en) Picture processor
CN112749802A (en) Neural network model training method and device and computer readable storage medium
JP5260425B2 (en) Image decompression apparatus, method and program
JPH07203211A (en) Method and device for processing picture
JP3796990B2 (en) Color conversion processing method and apparatus
EP1345449A1 (en) Digital image compression and decompression using block coding
JPH1075464A (en) Image compressor and image extender
JPH0896141A (en) Image processor
US20090136147A1 (en) Method for compressing image data
JP2004158948A (en) Image data processing method
EP1119177A2 (en) Method and system for receiving input-image data
JP3825871B2 (en) Image processing apparatus and method, and computer-readable recording medium storing image processing program code
JPH11164320A (en) Method and system for decoding color compression image
Frommholz et al. High Dynamic Range Image Compression On Commodity Hardware For Real-Time Mapping Applications

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040910

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040910

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060328

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060502

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060627