JP2011244285A - Method for coding image data - Google Patents

Method for coding image data Download PDF

Info

Publication number
JP2011244285A
JP2011244285A JP2010115821A JP2010115821A JP2011244285A JP 2011244285 A JP2011244285 A JP 2011244285A JP 2010115821 A JP2010115821 A JP 2010115821A JP 2010115821 A JP2010115821 A JP 2010115821A JP 2011244285 A JP2011244285 A JP 2011244285A
Authority
JP
Japan
Prior art keywords
color
value
image data
component
pixel
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
JP2010115821A
Other languages
Japanese (ja)
Other versions
JP5521766B2 (en
Inventor
Toru Kawabe
徹 川邊
Shoichi Nomura
庄一 野村
Yuhei Kurigata
悠平 栗形
Makoto Ikeda
信 池田
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.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP2010115821A priority Critical patent/JP5521766B2/en
Publication of JP2011244285A publication Critical patent/JP2011244285A/en
Application granted granted Critical
Publication of JP5521766B2 publication Critical patent/JP5521766B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a method for coding image data which can code a K value within CMYK image data in a restorable manner, while keeping favorable decoded images and compression efficiency.SOLUTION: In the method, for each pixel, CMYK data is converted into an RGB value to express a color equivalent to its CMYK value (S1), the maximum K value within the CMYK value expressing the color equivalent to the RGB value, when each color component of the CMYK is positive or zero, is indicated as K', and coding is performed by using a gray substitution rate x corresponding to a rate of the K to the K' value in original data and color information consisted of predetermined components not including a K color component (YCCin Fig. 6, other than that, RGB, CMY, etc.) to reproduce a color equivalent to the pixel.

Description

本発明は、CMYKなどの色成分で構成された画像データを符号化する画像データ符号化方法に関する。   The present invention relates to an image data encoding method for encoding image data composed of color components such as CMYK.

金色、銀色などを除き、すべての色は、R(レッド)G(グリーン)B(ブルー)やC(シアン)M(マゼンタ)Y(イエロ)といった3原色で表現可能であるが、カラープリンタやカラー複写機などでは、C、M、Y、K(ブラック)の4つの色成分を用いてカラー画像を記録紙上に形成するようになっている。K成分を設けることで、黒の再現性や色材の使用量低減(たとえば、黒の文字部分はKの色材のみで再現する)などを図っている。   Except for gold and silver, all colors can be expressed in three primary colors such as R (red) G (green) B (blue) and C (cyan) M (magenta) Y (yellow). In a color copying machine or the like, a color image is formed on a recording sheet using four color components of C, M, Y, and K (black). By providing the K component, black reproducibility and reduction in the amount of color material used (for example, the black character portion is reproduced only with the K color material) and the like are achieved.

ところで、カラー画像はデータ量が多いため、通常、記憶部へ記憶するような場合には、圧縮率の良好な非可逆方式で符号化(圧縮)される。たとえば、下記特許文献1には、CMYKの画像データを非可逆方式でより適切に符号化するために、Kに関する圧縮パラメータとCMYに関する圧縮パラメータとを別々に設定して符号化する画像処理装置が開示されている。この画像処理装置では、たとえば、文字領域ではK成分の復元精度が高まるように圧縮パラメータを設定する。圧縮パラメータとしては、たとえば、JPEG(Joint Photographic Experts Group)方式における量子化テーブルに乗じるスケールファクタがある。   By the way, since a color image has a large amount of data, it is usually encoded (compressed) by an irreversible method with a good compression rate when stored in a storage unit. For example, Patent Document 1 below discloses an image processing apparatus that separately sets and encodes a compression parameter related to K and a compression parameter related to CMY in order to encode CMYK image data more appropriately in an irreversible manner. It is disclosed. In this image processing apparatus, for example, the compression parameter is set so that the restoration accuracy of the K component is increased in the character area. As the compression parameter, for example, there is a scale factor by which a quantization table in the JPEG (Joint Photographic Experts Group) system is multiplied.

また、下記特許文献2には、墨入れ処理によって生成されたCMYK画像信号に対して、それぞれ高周波数成分を除いて周波数変換処理(DCT:Discrete Cosine Transform)による圧縮符号化を行う画像処理装置が開示されている。この画像処理装置では、スキャナで原稿を読みって得た画像データを符号化する場合などに、ローパスフィルタ効果で画像のノイズを抑制することによって圧縮効率を高めている。   Patent Document 2 below discloses an image processing apparatus that performs compression coding by DCT (Discrete Cosine Transform) on each of CMYK image signals generated by inking processing by removing high frequency components. It is disclosed. In this image processing apparatus, when image data obtained by reading a document with a scanner is encoded, compression efficiency is improved by suppressing image noise by a low-pass filter effect.

特開2003−8907号公報Japanese Patent Laid-Open No. 2003-8907 特開2008−312264号公報JP 2008-31264 A

K成分はCMYの3色で再現可能な黒を1色で表しており、CMYの各成分よりも画像に与える影響が大きいので、CMYK画像データを符号化する場合にK成分をCMYとは独立に符号化した場合に画像処理の影響など何らかの原因でKの値が少しでも変動すると、復号画像において視覚的な影響が大きく現われてしまう。これを避けるためには、Kの値を、他の色成分などの情報より厳密に管理して符号化する必要があるが、そうすると符号量が増加して圧縮効率が低下してしまう。   The K component represents black that can be reproduced with three colors of CMY, and has a larger influence on the image than each component of CMY. Therefore, when encoding CMYK image data, the K component is independent of CMY. If the value of K fluctuates for some reason, such as the influence of image processing, the visual influence will appear greatly in the decoded image. In order to avoid this, it is necessary to manage the value of K more strictly than information such as other color components and encode it. However, if this is done, the amount of code increases and the compression efficiency decreases.

なお、CMYKに限らず、CMY、RGBなどの基本色と、これらの基本色を所定の比率で組み合わせることで近似色を再現可能な1以上の特色とを色成分とするような画像データにおいても、特色に関して、上記K成分と同様の問題が生じる。   Note that the present invention is not limited to CMYK but also in image data having color components of basic colors such as CMY and RGB and one or more special colors that can reproduce approximate colors by combining these basic colors at a predetermined ratio. Regarding spot colors, problems similar to those of the K component occur.

本発明は、上記の問題を解決しようとするものであり、CMYKの画像データを、良好な復号画像と圧縮効率を確保しつつ、Kの値を復元可能に符号化することのできる画像データ符号化方法を提供することを目的としている。また、基本色と、該基本色を所定の比率で組み合わせることで近似色を再現可能な特色とを色成分とする画像データを、良好な復号画像と圧縮効率を確保しつつ、特色の値を復元可能に符号化することのできる画像データ符号化方法を提供することを目的としている。   The present invention is intended to solve the above-described problem, and is an image data code that can encode CMYK image data in such a manner that the value of K can be restored while ensuring a good decoded image and compression efficiency. The purpose is to provide a conversion method. In addition, image data having a color component of a basic color and a special color that can reproduce an approximate color by combining the basic color at a predetermined ratio is used to set a value of the special color while ensuring a good decoded image and compression efficiency. An object of the present invention is to provide an image data encoding method which can be reconstructably encoded.

かかる目的を達成するための本発明の要旨とするところは、次の各項の発明に存する。   The gist of the present invention for achieving the object lies in the inventions of the following items.

[1]C(シアン)、M(マゼンタ)、Y(イエロ)、K(ブラック)の4色を色成分とする画像データを符号化する画像データ符号化方法であって、
各画素について、CMYK値と同等な色を表す、R(レッド)G(グリーン)B(ブルー)値に変換し、このRGB値と同等な色を表すCMYK値であって各色成分が正またはゼロであるもののうちKの値が最大になる場合のKの値をK´として求め、K´と元データのK値との比率に相当する置き換え率と、該画素と同等な色を再現するための色情報であってKの色成分を使用しない所定の成分で構成された色情報と、を用いて符号化する
ことを特徴とする画像データ符号化方法。
[1] An image data encoding method for encoding image data having four colors of C (cyan), M (magenta), Y (yellow), and K (black) as color components,
Each pixel is converted to an R (red), G (green), and B (blue) value that represents a color equivalent to the CMYK value, and each color component is positive or zero. In order to reproduce the color equivalent to the pixel and the replacement rate corresponding to the ratio between K ′ and the K value of the original data. An image data encoding method characterized by encoding using color information composed of a predetermined component that does not use a K color component.

上記発明では、CMYK画像データを、これと同等な色を表すRGB値に変換し、このRGB値を同等な色のCMYK値に変換する際に取り得るKの最大値をK´として求め、K´と元データのK値との比率を示す置き換え率(グレー置き換え率)を求める。そして各画素を、元のCMYK画像データと同等な色を表しかつK成分を含まない所定の成分で構成された色情報と、置き換え率とを用いて符号化する。[1]に係る発明では、一旦、RGB値に変換することでK´を求めている。元の画素と同等な色を再現するための色情報であってKの色成分を使用しない所定の成分で構成された色情報は、RGB値、CMY値、輝度と2つの色成分、など、K成分を含まない任意の成分で構成されればよい。色情報は、情報量低減のため3つの成分で構成されることが好ましい。   In the above invention, the CMYK image data is converted into RGB values representing equivalent colors, and the maximum value of K that can be taken when converting the RGB values into CMYK values of equivalent colors is obtained as K ′. A replacement rate (gray replacement rate) indicating a ratio between 'and the K value of the original data is obtained. Each pixel is encoded using color information that represents a color equivalent to the original CMYK image data and includes a predetermined component that does not include the K component, and a replacement rate. In the invention according to [1], K ′ is obtained by once converting it into RGB values. Color information for reproducing a color equivalent to the original pixel and composed of predetermined components that do not use the K color component includes RGB values, CMY values, luminance and two color components, etc. What is necessary is just to be comprised with the arbitrary components which do not contain K component. The color information is preferably composed of three components to reduce the amount of information.

[2]元の画素のCMYK値と同等な色を表すRGB値への変換を、所定値の調整係数α(0<α<1)を用いて、
R値=1−min(1,C値×(1−αK値)+αK値)
G値=1−min(1,M値×(1−αK値)+αK値)
B値=1−min(1,Y値×(1−αK値)+αK値)
なる演算によって行う
ことを特徴とする[1]に記載の画像データ符号化方法。
[2] Conversion to an RGB value representing a color equivalent to the CMYK value of the original pixel is performed using a predetermined adjustment coefficient α (0 <α <1).
R value = 1-min (1, C value x (1-αK value) + αK value)
G value = 1-min (1, M value × (1-αK value) + αK value)
B value = 1-min (1, Y value × (1-αK value) + αK value)
The image data encoding method according to [1], wherein the image data encoding method is performed by:

上記発明では、調整係数αを設けることで、K成分の値が1の場合にもCMY値の情報が確保される。調整係数αは、歪を抑えるために、1に近い値が好ましい。   In the above invention, by providing the adjustment coefficient α, CMY value information is ensured even when the value of the K component is 1. The adjustment coefficient α is preferably a value close to 1 in order to suppress distortion.

[3]C(シアン)M(マゼンタ)Y(イエロ)K(ブラック)の4色を色成分とする画像データを符号化する画像データ符号化方法であって、
各画素について、C値、M値、Y値の中の最小値にK値を加えた値をK´として求め、K´とK値との比率に相当する置き換え率と、該画素と同等な色を再現するための色情報であってKの色成分を使用しない所定の成分で構成された色情報と、を用いて符号化する
ことを特徴とする画像データ符号化方法。
[3] An image data encoding method for encoding image data having four colors of C (cyan), M (magenta), Y (yellow), and K (black) as color components,
For each pixel, a value obtained by adding the K value to the minimum value among the C value, the M value, and the Y value is obtained as K ′, and the replacement rate corresponding to the ratio of K ′ and K value is equivalent to the pixel. An image data encoding method comprising: encoding using color information for reproducing a color and color information composed of a predetermined component that does not use a K color component.

上記発明では、RGB値に一旦変換することなく、CMYK値のままでK´を求めている。その他は[1]と同様である。   In the above-described invention, K ′ is obtained with the CMYK values as they are without being converted into RGB values. Others are the same as [1].

[4]C(シアン)、M(マゼンタ)、Y(イエロ)、K(ブラック)の4色を色成分とする画像データを符号化する画像データ符号化方法であって、
各画素について、該画素と同等な色を表した色情報であってKの色成分を使用しない所定の成分で構成された色情報を求め、この色情報と、元の画像データのK値を特定するための補助情報と、を用いて符号化する
ことを特徴とする画像データ符号化方法。
[4] An image data encoding method for encoding image data having four colors of C (cyan), M (magenta), Y (yellow), and K (black) as color components,
For each pixel, color information representing a color equivalent to the pixel and including a predetermined component that does not use the K color component is obtained, and the color information and the K value of the original image data are obtained. An image data encoding method comprising: encoding using auxiliary information for specifying.

上記発明では、元の画素と同等な色を表しかつK成分を含まない所定の複数の色成分で構成された色情報を求め、これと、元の画像データのK値を特定するための補助情報とを使用して符号化する。補助情報は[1]などで述べた置き換え率でもよいし、元の画像データのK値そのものでもよい。   In the above invention, the color information composed of a plurality of predetermined color components that represent a color equivalent to the original pixel and does not include the K component is obtained, and the auxiliary information for specifying the K value of the original image data And information. The auxiliary information may be the replacement rate described in [1] or the like, or the K value itself of the original image data.

[5]複数の基本色と、これら基本色を所定の比率で組み合わせることで近似色が表現可能な特色とを色成分とする画像データを符号化する画像データ符号化方法であって、
各画素について、その画素と同等な色を基本色のみで表した場合の各色成分の値を求め、これらの色成分の値が表す色と同等な色を、基本色と特色とで表す場合の各色成分の値であってすべての基本色成分の値が正またはゼロであるもののうち特色成分の値が最大になる場合の特色成分の値をS´として求め、S´と元データの特色成分の値との比率に相当する置き換え率と、該画素と同等な色を表した色情報であって特色成分を使用しない所定の成分で構成された色情報と、を用いて符号化する
ことを特徴とする画像データ符号化方法。
[5] An image data encoding method for encoding image data having color components of a plurality of basic colors and a special color that can represent an approximate color by combining these basic colors at a predetermined ratio,
For each pixel, obtain the value of each color component when the color equivalent to that pixel is represented by only the basic color, and when the color equivalent to the color represented by these color component values is represented by the basic color and the special color The value of the special color component when the value of the special color component is the maximum among the values of each color component and the values of all the basic color components are positive or zero is obtained as S ′, and S ′ and the special color component of the original data Encoding using a replacement rate corresponding to a ratio to the value of color and color information that is a color information that represents a color equivalent to the pixel and that includes a predetermined component that does not use a special color component. A characteristic image data encoding method.

上記発明は、[1]におけるK成分を、基本色を所定の比率で組み合わせて得られる特色成分に置き換えたものに相当する。基本色はCMYに限定されず、RGBなどでもかまわない。   The above-described invention corresponds to a component obtained by replacing the K component in [1] with a spot color component obtained by combining basic colors at a predetermined ratio. The basic color is not limited to CMY, but may be RGB or the like.

[6]複数の基本色と、これら基本色を所定の比率で組み合わせることで近似色が表現可能な特色とを色成分とする画像データを符号化する画像データ符号化方法であって、
各画素について、該画素と同等な色を表した色情報であって特色成分を使用しない所定の成分で構成された色情報を求め、該色情報と、元の画像データにおける特色成分の値を特定するための補助情報と、を用いて符号化する
ことを特徴とする画像データ符号化方法。
[6] An image data encoding method for encoding image data having color components of a plurality of basic colors and a special color that can represent approximate colors by combining these basic colors at a predetermined ratio,
For each pixel, color information representing a color equivalent to the pixel and including a predetermined component that does not use the special color component is obtained, and the color information and the value of the special color component in the original image data are obtained. An image data encoding method comprising: encoding using auxiliary information for specifying.

上記発明では、元の画素と同等な色を表しかつ特色成分を含まない所定の複数の色成分で構成された色情報を求め、これと、元の画像データにおける特色成分の値を特定するための補助情報とを使用して符号化する。補助情報は[5]で述べた置き換え率でもよいし、元の画像データの特色成分の値そのものでもよい。   In the above invention, color information composed of a plurality of predetermined color components that represent a color equivalent to the original pixel and do not include the special color component is obtained, and the value of the special color component in the original image data is specified. And ancillary information. The auxiliary information may be the replacement rate described in [5] or the value of the spot color component of the original image data.

[7]前記所定の成分で構成された色情報は、主に輝度成分を表す1つのデータと、主に色味成分を表す2つのデータで構成される
ことを特徴とする[1]乃至[4]のいずれか1つに記載の画像データ符号化方法。
[7] The color information composed of the predetermined component is composed of one data mainly representing a luminance component and two data mainly representing a color component. [1] to [1] 4]. The image data encoding method according to any one of 4).

上記発明では、輝度成分と、2つの色味成分で構成された色情報を生成する。このような形式にすれば、2つの色味成分の情報については、輝度成分に比べて圧縮歪による視認影響が少ないので、圧縮率を高めることができる。   In the said invention, the color information comprised by the luminance component and two color components is produced | generated. By adopting such a format, the information on the two color components is less affected by visual distortion due to the compression distortion than the luminance component, so that the compression rate can be increased.

[8]輝度成分、色味成分、置き換え率のうち、少なくとも置き換え率については、解像度を抑制して符号化する
ことを特徴とする[7]に記載の画像データ符号化方法。
[8] The image data encoding method according to [7], wherein at least the replacement rate among the luminance component, the color component, and the replacement rate is encoded while suppressing the resolution.

上記発明では、置き換え率は圧縮歪が大きくなっても、色の再現性など復元画像における影響が少ないので、解像度を下げて圧縮率を高める。   In the above invention, even if the compression distortion increases, the replacement ratio has little influence on the restored image such as color reproducibility, so the resolution is lowered and the compression ratio is increased.

[9]符号化対象の画像を前記局所ブロックに分割し、
局所ブロック内のデータのばらつき度合いが基準値未満の局所ブロックに含まれる画素は、置き換え率に加えて少なくとも色味成分についても解像度を抑制して符号化し、
局所ブロック内のデータのばらつき度合いが基準値以上の局所ブロックに含まれる画素は、少なくとも色味成分について、ビット幅(階調数)を、ばらつき度合いが基準値未満の局所ブロックより抑制して符号化する
ことを特徴とする[8]に記載の画像データ符号化方法。
[9] Divide the image to be encoded into the local blocks;
The pixels included in the local block whose data variation degree in the local block is less than the reference value are encoded while suppressing the resolution for at least the color component in addition to the replacement rate,
Pixels included in a local block whose local data variation degree is greater than or equal to the reference value are coded with a bit width (number of gradations) suppressed at least for the tint component from the local block whose degree of dispersion is less than the reference value [8] The image data encoding method according to [8].

上記発明では、局所ブロックがエッジ部を含む画像領域の場合は、エッジの先鋭性が損なわれないように解像度を重視し、色味成分などについてはビット幅を少なくして情報量を削減する。一方、非エッジ部など比較的平坦な画像の場合、解像度を抑制して圧縮率を高め、色味成分についてはビット幅を確保して、微妙な色の変化の再現性を重視する。   In the above invention, when the local block is an image region including an edge portion, the resolution is emphasized so that the sharpness of the edge is not lost, and the bit width of the color component is reduced to reduce the amount of information. On the other hand, in the case of a relatively flat image such as a non-edge portion, the compression rate is increased by suppressing the resolution, and a bit width is secured for the color component, and importance is placed on the reproducibility of subtle color changes.

[10]局所ブロック単位の符号量が固定長になるように符号化する
ことを特徴とする[9]に記載の画像データ符号化方法。
[10] The image data encoding method according to [9], wherein the encoding is performed so that a code amount of a local block unit is a fixed length.

上記発明では、解像度重視と、ビット幅(階調重視)とを選択することで、エッジ部、非エッジ部のいずれにおいても、符号化データを固定長にする。   In the above invention, by selecting the resolution-oriented and the bit width (gradation-oriented), the encoded data is set to a fixed length in both the edge portion and the non-edge portion.

本発明に係る画像データ符号化方法によれば、K成分や特色成分の値そのものを符号化する代わりに、色情報の中から取り出して復元すべきK成分や特色成分の値を特定可能な置き換え率や補助情報を求めて符号化するので、置き換え率や補助情報が多少変動しても視覚的に与える影響を小さく抑えることができ、CMYKの画像データや、基本色と特色からなる画像データを、良好な復号画像と良好な圧縮効率を確保しつつ、Kや特色の値を復元可能に符号化することができる。   According to the image data encoding method of the present invention, instead of encoding the values of the K component and the spot color component itself, the replacement that can specify the value of the K component and the spot color component to be extracted from the color information and restored. Since the rate and auxiliary information are obtained and encoded, the visual influence can be suppressed even if the replacement rate and auxiliary information slightly change, and CMYK image data and image data composed of basic colors and special colors can be reduced. Thus, K and spot color values can be reconstructed while ensuring a good decoded image and good compression efficiency.

CMYK画像データから同等な色の各種画像データへの変換を示す説明図である。It is explanatory drawing which shows the conversion from CMYK image data to various image data of an equivalent color. グレー置き換え率の概念を示す説明図である。It is explanatory drawing which shows the concept of a gray replacement rate. 特色置き換え率の概念を示す説明図である。It is explanatory drawing which shows the concept of a spot color replacement rate. 本発明の画像データ符号化方法による符号化処理の概略を示す流れ図である。It is a flowchart which shows the outline of the encoding process by the image data encoding method of this invention. 本発明の画像データ符号化方法におけるデータフローを示す説明図である。It is explanatory drawing which shows the data flow in the image data encoding method of this invention. 本発明の画像データ符号化方法で使用される色変換の一例を示す説明図である。It is explanatory drawing which shows an example of the color conversion used with the image data encoding method of this invention. 色調整係数αを導入した場合の色変換に係る演算式を示す説明図である。It is explanatory drawing which shows the computing equation which concerns on color conversion at the time of introduce | transducing the color adjustment coefficient (alpha). エッジ部と非エッジ部の圧縮条件を表した圧縮条件表の一例を示す説明図である。It is explanatory drawing which shows an example of the compression condition table | surface showing the compression conditions of the edge part and the non-edge part. 本発明に係る圧縮処理(符号化処理)の詳細を示す流れ図である。It is a flowchart which shows the detail of the compression process (encoding process) which concerns on this invention. 図9の処理で得た符号化データの伸張(復号化)処理を示す流れ図である。10 is a flowchart showing a process of decompressing (decoding) encoded data obtained by the process of FIG. 9. 本発明の符号化方法と他の符号化方式とを各種の項目について比較して本発明の効果を示す説明図である。It is explanatory drawing which compares the encoding method of this invention and another encoding system about various items, and shows the effect of this invention. 画像形成装置への本発明に係る符号化方法の適用例を示す説明図である。It is explanatory drawing which shows the example of application of the encoding method which concerns on this invention to an image forming apparatus.

以下、図面に基づき本発明の実施の形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

まず、本発明の基本的原理を説明する。CMYKの色成分で構成された画像データのうち、Kの色成分は、通常、C、M、Yの色成分を、1:1:1など所定の割合で組み合わせて得られる色である。なお、以後の説明では、K色は、CMYを1:1:1の割合で組み合わせた色で近似される色として説明する。   First, the basic principle of the present invention will be described. Of the image data composed of CMYK color components, the K color component is usually a color obtained by combining the C, M, and Y color components at a predetermined ratio such as 1: 1: 1. In the following description, the K color is described as a color approximated by a color obtained by combining CMY at a ratio of 1: 1: 1.

したがって、CMYKの画像データ(たとえば、図1の画像データ10)は、CMYの各値にK値を加算することで、同等の色を表すCMYの画像データ11に変換することができる。   Therefore, CMYK image data (for example, image data 10 in FIG. 1) can be converted into CMY image data 11 representing an equivalent color by adding a K value to each value of CMY.

さらにこのCMYの画像データ11を同等の色を表すCMYKの画像データに変換することもできる。すなわち、CMYの色成分で構成された画像データをCMYKの画像データに変換する場合は、生成するK値に相当する分だけ、CMYの各値からK値を減算すればよい。   Further, the CMY image data 11 can be converted into CMYK image data representing an equivalent color. That is, when image data composed of CMY color components is converted into CMYK image data, the K value may be subtracted from each CMY value by the amount corresponding to the generated K value.

このとき、K値は、減算後のCMYの各値がマイナスにならない範囲で任意の値にすることができる。たとえば、各色成分の値が0〜100の範囲を取り得て、CMYの画像データ11におけるCMYの各値が、C=70、M=80、Y=90である場合、K成分に置き換え可能なK値の最大値K´は、CMYの中の最小値である70になる。   At this time, the K value can be set to any value within a range in which the CMY values after subtraction do not become negative. For example, if each color component value can take a range of 0 to 100 and each CMY value in the CMY image data 11 is C = 70, M = 80, and Y = 90, K can be replaced with the K component. The maximum value K ′ is 70, which is the minimum value in CMY.

CMYの画像データ11を、K値を10としてCMYKの画像データ12に変換する場合、そのCMY値は、CMYの画像データ11の各値から10を減算した値(C=60、M=70.Y=80)にすればよい。K値を20としてCMYKの画像データ13に変換するならば、CMYの画像データ11の各値から20を減算した値(C=50、M=60.Y=70)にすればよく、K値を40としてCMYKの画像データ14に変換するならば、CMYの各値から40を減算した値(C=30、M=40.Y=50)にすればよい。CMYKの画像データ12、13、14は、いずれもCMYの画像データ11とほぼ同等な色を表している。   When the CMY image data 11 is converted into CMYK image data 12 with a K value of 10, the CMY value is a value obtained by subtracting 10 from each value of the CMY image data 11 (C = 60, M = 70. Y = 80). If the K value is converted to CMYK image data 13 with 20, the value obtained by subtracting 20 from each value of the CMY image data 11 (C = 50, M = 60.Y = 70) may be used. Is converted to CMYK image data 14 by setting 40 to a value obtained by subtracting 40 from each value of CMY (C = 30, M = 40.Y = 50). The CMYK image data 12, 13, and 14 all represent substantially the same color as the CMY image data 11.

このようにCMYの画像データをCMYKの画像データに変換する場合、取り得る範囲内でK値をいくつにしても、ほぼ同じ色(元のCMYの画像データで表現されていた色)を表す画像データを得ることができる。   When converting CMY image data into CMYK image data in this way, an image representing substantially the same color (color represented by the original CMY image data) regardless of the K value within the possible range. Data can be obtained.

そこで、本発明では、CMYKで構成された画像データ10を符号化する場合に、CMYKで構成された画像データ10を、一旦、CMYやRGBなどK成分を含まない複数の成分で構成された画像データ(これを色情報とする。図1の例では、CMYの画像データ11)に変換し、この変換後の画像データと、この画像データが表す色からどの程度K成分を取り出せばよいか、言い換えると、どの程度K成分を取り出せば元のK値が再現されるかを示す補助情報と、を用いて符号化する。   Therefore, in the present invention, when the image data 10 composed of CMYK is encoded, the image data 10 composed of CMYK is temporarily composed of an image composed of a plurality of components not including K components such as CMY and RGB. Data (this is color information; in the example of FIG. 1, CMY image data 11), and how much K component should be extracted from the converted image data and the color represented by the image data, In other words, encoding is performed using auxiliary information indicating how much K component is extracted to reproduce the original K value.

前述したように、CMYの画像データをCMYKの画像データに変換する場合にK値をいくつにしてもほぼ同等の色を表すので、補助情報については、符号化精度(復元精度)をある程度低下させても、復号化で再現される色に与える影響は少なく、色再現性を十分確保することができる。また、CMYKの画像データと同等の色を表したCMYなどの色情報から変換可能なCMYKの組み合わせは無限に存在するが、補助情報を用いることで、これを手がかりにして、元のCMYKの画像データと同程度のK値を再現することができる。   As described above, when CMY image data is converted to CMYK image data, almost the same color is expressed regardless of the K value, so that the coding accuracy (restoration accuracy) of auxiliary information is reduced to some extent. However, there is little influence on the color reproduced by decoding, and sufficient color reproducibility can be ensured. In addition, there are an infinite number of combinations of CMYK that can be converted from color information such as CMY that represents the same color as the CMYK image data. However, by using auxiliary information, the original CMYK image can be obtained using this as a clue. K values comparable to the data can be reproduced.

なお、元のCMYKの画像データと同等の色を表すための色情報はCMYに限定されず、RGBなどでもよい。また、輝度情報と色差情報などで表してもよい。   Note that the color information for representing the same color as the original CMYK image data is not limited to CMY, but may be RGB or the like. Further, it may be represented by luminance information and color difference information.

補助情報は、たとえば、元のCMYKの画像データ10におけるK値と、元のCMYKの画像データ10と同等の色を表したCMYやRGBの色情報から取り出し得るK値の最大値であるK´との比率(これを「グレー置き換え率」と呼ぶものとする)とすることができる。   The auxiliary information is, for example, the maximum K value that can be extracted from the K value in the original CMYK image data 10 and the CMY or RGB color information representing the same color as the original CMYK image data 10. (This will be referred to as the “gray replacement rate”).

図1の例では、CMYの画像データ11から取り出し可能なKの最大値をK´とし、元のCMYKの画像データ10に含まれていたK値をkとすると、グレー置き換え率は、k/K´となる。   In the example of FIG. 1, assuming that the maximum value of K that can be extracted from the CMY image data 11 is K ′ and the K value included in the original CMYK image data 10 is k, the gray replacement rate is k / K ′.

図2は、グレー置き換え率の概念を示した別の説明図である。この例では、元のCMYKの画像データ20は、C=60、M=70、Y=30、K=20となっている。元のCMYKの画像データ20に含まれているCMYの色成分から、これらがマイナスにならない範囲でK成分に置き換え可能な最大値は、CMYの最小値である30となる。   FIG. 2 is another explanatory diagram showing the concept of the gray replacement rate. In this example, the original CMYK image data 20 is C = 60, M = 70, Y = 30, and K = 20. The maximum value that can be replaced with the K component from the CMY color components included in the original CMYK image data 20 within a range in which they are not negative is 30 which is the minimum value of CMY.

したがって、C=30、M=30、Y=30からなるCMYデータ21がグレー置き換え分となり、これがK=30のK成分(データ22)に置き換えられる。元のCMYK画像データ20からグレー置き換え分のCMYデータ21を除いた部分は、非グレー置き換え分の画像データ23であり、この例では、C=30、M=40、Y=0、K=20となる。   Therefore, the CMY data 21 composed of C = 30, M = 30, and Y = 30 becomes the gray replacement portion, and this is replaced with the K component (data 22) of K = 30. The portion obtained by removing the CMY data 21 for gray replacement from the original CMYK image data 20 is image data 23 for non-gray replacement. In this example, C = 30, M = 40, Y = 0, K = 20. It becomes.

CMYデータ21を置き換えて得たK成分(データ22)と、非グレー置き換え分の画像データ23とを合わせたものが、元のCMYKの画像データ20と同等な色を表したグレー置き換え後の画像データ24である。グレー置き換え後の画像データ24におけるC成分の値をC´、M成分の値をM´、Y成分の値をY´、K成分の値をK´とする。グレー置き換え率は、元のCMYK画像データに含まれているK値をkとすると、k/K´で表され、20/50になる。   An image after gray replacement in which the K component (data 22) obtained by replacing the CMY data 21 and the non-gray replacement image data 23 represent the same color as the original CMYK image data 20 Data 24. In the image data 24 after gray replacement, the C component value is C ′, the M component value is M ′, the Y component value is Y ′, and the K component value is K ′. The gray replacement rate is represented by k / K ′ and is 20/50, where k is the K value included in the original CMYK image data.

なお、CMYKに限らず、複数の基本色と、これら基本色を所定の比率で組み合わせることで同一色または近似色が表現可能な特色とを色成分とする画像データにおいては、グレー置き換え率に対応した値である、特色置き換え率を定義することができる。   Not only CMYK but also image data with multiple basic colors and special colors that can represent the same color or approximate color by combining these basic colors at a predetermined ratio, it corresponds to the gray replacement rate. It is possible to define the spot color replacement rate, which is the calculated value.

たとえば、CMYからなる基本色と、CMYを所定の比率で組み合わせて得られる特色Sとを色成分とするCMYSの画像データを符号化する場合には、図3に示すような、特色置き換え率S´を求めて符号化する。   For example, when encoding CMYS image data having color components of a basic color composed of CMY and a special color S obtained by combining CMY at a predetermined ratio, a special color replacement rate S as shown in FIG. ′ Is obtained and encoded.

図3の例では、特色Sは、C、M、Yを2:3:6の比率で組み合わせることによって近似される色とする。この例では、(C:M:Y):S=(2:3:6):6の対応関係があるものとする。元のCMYSの画像データ30は、C=40、M=15、Y=55、S=10となっている。このうち、C=10、M=15、Y=30、からなるCMYデータ31が特色Sに置き換え可能な最大量(特色置き換え分)であり、S=30のS成分(データ32)に置き換えられる。   In the example of FIG. 3, the spot color S is a color approximated by combining C, M, and Y at a ratio of 2: 3: 6. In this example, it is assumed that there is a correspondence relationship of (C: M: Y): S = (2: 3: 6): 6. The original CMYS image data 30 is C = 40, M = 15, Y = 55, and S = 10. Among these, the CMY data 31 including C = 10, M = 15, and Y = 30 is the maximum amount (spot color replacement) that can be replaced with the spot color S, and is replaced with the S component (data 32) of S = 30. .

元のCMYS画像データ30から特色置き換え分のCMYデータ31を除いた部分が、非特色置き換え分の画像データ33になり、この例では、C=30、M=0、Y=25、S=10となる。CMYデータ31を置き換えて得たS成分(データ32)と、非特色置き換え分の画像データ33とを合わせたものが、元のCMYSの画像データ30と同等の色を表した特色置き換え後の画像データ34である。特色置き換え後の画像データ34におけるC成分の値をC´、M成分の値をM´、Y成分の値をY´、S成分の値をS´とする。特色置き換え率は、元のCMYS画像データに含まれているS値をsとすると、s/S´で表され、10/40になる。   A portion obtained by removing the special color replacement CMY data 31 from the original CMYS image data 30 becomes non-spot color replacement image data 33. In this example, C = 30, M = 0, Y = 25, S = 10. It becomes. The image after the spot color replacement in which the S component (data 32) obtained by replacing the CMY data 31 and the non-spot color replacement image data 33 represents the same color as the original CMYS image data 30 Data 34. In the image data 34 after the spot color replacement, the C component value is C ′, the M component value is M ′, the Y component value is Y ′, and the S component value is S ′. The spot color replacement rate is represented by s / S ′ and becomes 10/40, where s is the S value included in the original CMYS image data.

図4は、本発明の画像データ符号化方法による符号化処理の概略の流れを、図5はそのデータフローを示している。符号化対象である元のCMYK画像データを入力し(ステップS101)、これを色変換して、色情報とグレー置き換え率とを求める(図4:ステップS102、図5:P1)。ここでは、色情報は、輝度成分と2つの色成分で表した形式のデータとして求める。   FIG. 4 shows a schematic flow of encoding processing by the image data encoding method of the present invention, and FIG. 5 shows the data flow. The original CMYK image data to be encoded is input (step S101), and this is color-converted to obtain color information and a gray replacement rate (FIG. 4: step S102, FIG. 5: P1). Here, the color information is obtained as data in a format represented by a luminance component and two color components.

図6は、色変換の一例を示している。CMYKの画像データを、まずRGBの画像データに変換する(S1)。ここでは、CMYKの各色成分の値は0〜1の範囲を取り得るものとする。また、図中の各成分を示す記号はその成分の値を示すものとする。   FIG. 6 shows an example of color conversion. First, the CMYK image data is converted into RGB image data (S1). Here, it is assumed that the value of each color component of CMYK can range from 0 to 1. Moreover, the symbol which shows each component in a figure shall show the value of the component.

次に、変換後のRGBから取り出し可能なK値の最大値K´を求め(S2)、元のCMYK画像データのK値とK´とからグレー置き換え率xを求める(S3)。RGBの画像データについては、さらに変換用のLUT(Look Up Table)を参照してガンマ変換を行った後(S4)、色変換マトリックスを使用してYCの画像データに変換する(S5)。YCにおけるYは輝度成分のデータ、C、Cはそれぞれ色味成分を示す色差データである。色変換の結果として、色情報(YC)とグレー置き換え率xが生成される。 Next, the maximum K value K ′ that can be extracted from the converted RGB is obtained (S2), and the gray replacement rate x is obtained from the K value and K ′ of the original CMYK image data (S3). The RGB image data is further subjected to gamma conversion with reference to a conversion LUT (Look Up Table) (S4), and then converted to YC 1 C 2 image data using a color conversion matrix (S5). ). In YC 1 C 2 , Y is luminance component data, and C 1 and C 2 are color difference data indicating color components, respectively. As a result of the color conversion, color information (YC 1 C 2 ) and a gray replacement rate x are generated.

図7は、色調整係数αを導入した場合の色変換に係る演算式を示している。CMYK画像データをRGB画像データに変換する場合、図6のS1に示す演算式ではKが1の場合、C、M、Yの情報が消失してしまう。そこで、調整係数αを導入し、Kが1の場合でもC、M、Yの情報が残るようにする。調整係数αは、0<α<1で比較的1に近い値とする。たとえば、0.95などの値に設定する。図7の演算式群41は、CMYK画像データからRGB画像データへ変換する際の演算式であり、演算式群42は、RGB画像データとグレー置き換え率とから、CMYK画像データに変換する場合の演算式を示している。   FIG. 7 shows an arithmetic expression related to color conversion when the color adjustment coefficient α is introduced. When converting CMYK image data into RGB image data, if K is 1 in the arithmetic expression shown in S1 of FIG. 6, information on C, M, and Y is lost. Therefore, an adjustment coefficient α is introduced so that C, M, and Y information remain even when K is 1. The adjustment coefficient α is a value relatively close to 1 with 0 <α <1. For example, it is set to a value such as 0.95. An arithmetic expression group 41 in FIG. 7 is an arithmetic expression when converting CMYK image data to RGB image data, and an arithmetic expression group 42 is used when converting from RGB image data and gray replacement rate to CMYK image data. An arithmetic expression is shown.

図4に戻って説明を続ける。入力画像を、N画素×N画素(たとえば、2画素×2画素)の局所ブロックを単位に分け(ステップS103)、各局所ブロック内のデータ(特に色成分)のばらつき度合いを求め(ステップS104)、ばらつき度合いが基準値未満か否かを判定する(ステップS105)。そして、ばらつき度合いが基準値未満の局所ブロックについては(ステップS105;Yes)、階調情報に重点をおいて符号化(圧縮)する(ステップS106)。   Returning to FIG. 4, the description will be continued. The input image is divided into local blocks of N pixels × N pixels (for example, 2 pixels × 2 pixels) in units (step S103), and the degree of variation of data (particularly color components) in each local block is obtained (step S104). Then, it is determined whether or not the degree of variation is less than the reference value (step S105). Then, the local block whose variation degree is less than the reference value (step S105; Yes) is encoded (compressed) with emphasis on gradation information (step S106).

たとえば、階調情報の圧縮率は「低」、解像度情報の圧縮率は「高」、グレー置き換え率の圧縮率は「高」として符号化する。すなわち、ばらつき度合いが基準値未満の局所ブロックは、非エッジ部(エッジ部のような急な変化はなく、緩やかで微妙な変化があり得る画像領域)と考えられるので、色や輝度の微妙な変化が損なわれないように、輝度や色成分の階調数を重視して符号化する。   For example, encoding is performed assuming that the compression rate of gradation information is “low”, the compression rate of resolution information is “high”, and the compression rate of the gray replacement rate is “high”. In other words, a local block whose variation degree is less than the reference value is considered to be a non-edge part (an image area in which there is no abrupt change like the edge part and can be a gentle and subtle change). Encoding is performed with emphasis on the luminance and the number of gradations of the color component so that the change is not impaired.

一方、ばらつき度合いが基準値以上の局所ブロックについては(ステップS105;No)、解像度情報に重点をおいて圧縮する(ステップS107)。たとえば、階調情報の圧縮率は「高」、解像度情報の圧縮率は「低」、グレー置き換え率の圧縮率は「高」として符号化する。すなわち、ばらつき度合いが基準値以上の局所ブロックは、エッジ部が存在するような画像領域と考えられる。そこで、エッジの明瞭さが失われないように、解像度を重視して符号化する。   On the other hand, local blocks with a variation degree equal to or greater than the reference value (step S105; No) are compressed with emphasis on resolution information (step S107). For example, encoding is performed assuming that the compression rate of gradation information is “high”, the compression rate of resolution information is “low”, and the compression rate of the gray replacement rate is “high”. That is, a local block having a variation degree equal to or greater than a reference value is considered as an image area where an edge portion exists. Therefore, encoding is performed with emphasis on resolution so that the clarity of the edges is not lost.

すべての局所ブロックについて終了するまで、ステップS104からS107を繰り返し(ステップS108;No)、全局所ブロックについて符号化が完了すると(ステップS108;Y)、処理を終了する。   Steps S104 to S107 are repeated until the processing is completed for all local blocks (step S108; No). When encoding is completed for all local blocks (step S108; Y), the processing is ended.

なお、ステップS105、S107では、局所ブロック単位の符号量が固定長となるように符号化する。具体的には、解像度を重視する場合は、たとえば、解像度は元の画像データと同一とし、輝度や色成分のデータのビット幅を、解像度を重視しない場合に比べて少なくする。一方、階調情報(輝度や色成分の階調数)を重視する場合は、たとえば、解像度を重視する場合に比べて解像度を低下させ、輝度や色成分のデータのビット幅は解像度を重視する場合よりも多く確保する。   In steps S105 and S107, encoding is performed so that the code amount of the local block unit becomes a fixed length. Specifically, when importance is attached to the resolution, for example, the resolution is the same as the original image data, and the bit width of the luminance and color component data is reduced as compared with the case where the resolution is not important. On the other hand, when importance is attached to gradation information (the number of gradations of luminance and color components), for example, the resolution is lowered as compared with the case where importance is attached to resolution, and the bit width of luminance and color component data attaches importance to resolution. Secure more than the case.

図8は、エッジ部(ばらつきが基準値以上)と、非エッジ部(ばらつきが基準値未満)の圧縮条件表50を示している。圧縮条件表50には、圧縮後の情報量も記載してある。画素毎に情報を与える場合を解像度1とする。エッジ部では、Y(輝度)、C、Cについては解像度を1/1に、グレー置き換え率の解像度は1/2としている。ビット幅は、Yは5bit、Cは4bit、Cは5bit、グレー置き換え率は4bitとし、それぞれ非エッジ部の場合の半分のビット幅となっている。非エッジ部では、Yについては解像度を1/1に、C、C2、グレー置き換え率の各解像度は1/2としている。 FIG. 8 shows a compression condition table 50 for an edge portion (variation is greater than or equal to a reference value) and a non-edge portion (variation is less than the reference value). The compression condition table 50 also describes the amount of information after compression. The resolution is 1 when information is given for each pixel. At the edge portion, the resolution of Y (luminance), C 1 , and C 2 is 1/1, and the resolution of the gray replacement rate is 1/2. Bit width, Y is 5bit, C 1 is 4bit, C 2 is 5bit, rate replaced gray and 4bit, has become a half of the bit width in each case a non-edge portion. In the non-edge portion, the resolution for Y is 1/1, and the resolutions of C 1 , C 2 and the gray replacement rate are 1/2.

解像度を2分の1にすると、X、Y方向それぞれで情報量が2分の1になるので、情報量は4分の1になる。たとえば、画素毎に情報を与える場合を解像度1とすると、2画素×2画素の局所ブロック単位に情報を与えることで、解像度は2分の1に、情報量は4分の1になる。   When the resolution is halved, the information amount is halved in each of the X and Y directions, so the information amount is ¼. For example, if the information is provided for each pixel and the resolution is 1, the information is provided in a local block unit of 2 pixels × 2 pixels, so that the resolution is halved and the information amount is ¼.

図8に示す圧縮条件を適用することで、エッジ部のエッジ形状と非エッジ部の色再現性を確保しつつ、画像圧縮率を常に1/2以下とすることができる。たとえば、元のCMYK画像データが32bit/画素であるとすると、エッジ部は15bit/画素に、非エッジ部でも15bit/画素に圧縮される。なお、実際にはさらに、エッジ部と非エッジ部のいずれの圧縮条件で符号化されているかを示すエッジ部識別符号(1bit)を付加することになる。   By applying the compression condition shown in FIG. 8, the image compression rate can always be ½ or less while ensuring the edge shape of the edge portion and the color reproducibility of the non-edge portion. For example, if the original CMYK image data is 32 bits / pixel, the edge portion is compressed to 15 bits / pixel, and the non-edge portion is also compressed to 15 bits / pixel. Actually, an edge part identification code (1 bit) indicating whether the coding is performed under the compression condition of the edge part or the non-edge part is added.

なお、輝度成分、色味成分、置き換え率のうち、少なくとも置き換え率については、エッジ部、非エッジ部を問わずに、局所ブロック単位の代表値で表したり平均値を符号化したりすることで、解像度を抑制して符号化する。これにより、復元時に視覚的影響を押さえつつ、符号量を削減することができる。   Of the luminance component, the color component, and the replacement rate, at least for the replacement rate, regardless of the edge portion or the non-edge portion, it can be represented by a representative value in units of local blocks or by encoding an average value. Encode with reduced resolution. As a result, it is possible to reduce the code amount while suppressing the visual influence during restoration.

また、エッジ部においては、少なくとも色味成分のビット幅を抑制すれば、たとえば、輝度成分についてはビット幅を抑制しないようにしてもよい。非エッジ部分においては、少なくとも色味成分についても解像度を抑制して符号化するとよい。解像度の抑制方法は、局所ブロック単位の代表値は平均値を符号化することに限定されず、たとえば、ブロックの一部の複数画素についての代表値や平均値を符号化することで解像度を抑制してもよい。   In the edge portion, for example, the bit width of the luminance component may not be suppressed as long as the bit width of the color component is suppressed. In the non-edge portion, at least the color component may be encoded with the resolution suppressed. The resolution suppression method is not limited to encoding the average value for the representative value of each local block. For example, the resolution is suppressed by encoding the representative value or the average value for a plurality of pixels of a part of the block. May be.

図9は、圧縮処理(符号化処理)のより詳細な流れを示している。基本的には図4に示す流れと同一である。ここでは、局所ブロックは2画素×2画素にしてある。まず、符号化のための準備処理を行う(ステップS201)。ガンマ変換LUTの作成、色変換係数の作成、条件パラメータの設定、入出力バッファ(2ライン分)の確保、符号化対象の画像(CMYK画像データ)のファイルのオープンなどを行う。   FIG. 9 shows a more detailed flow of the compression process (encoding process). The flow is basically the same as that shown in FIG. Here, the local block is 2 pixels × 2 pixels. First, a preparatory process for encoding is performed (step S201). Creation of a gamma conversion LUT, creation of color conversion coefficients, setting of condition parameters, securing of input / output buffers (for two lines), opening of an encoding target image (CMYK image data) file, and the like are performed.

次に、2ライン毎の処理を画像全体が終了するまで繰り返し行い(Lp1s〜Lp1e)、画像全体について終了したらファイルクローズ、バッファ開放などの後処理を行って(ステップS211)処理を終了する。   Next, the processing for every two lines is repeated until the entire image is completed (Lp1s to Lp1e). When the entire image is completed, post-processing such as file close and buffer release is performed (step S211), and the process ends.

2ライン毎の処理では、2ライン分の画像データを読み込み(ステップS202)、2画素×2画素の局所ブロック単位の処理を当該2ライン全体について完了するまで繰り返す(Lp2s〜Lp2e)。   In the processing for every two lines, the image data for two lines is read (step S202), and the processing of the local block unit of 2 pixels × 2 pixels is repeated for the entire two lines (Lp2s to Lp2e).

局所ブロック単位の処理では、まず、画素毎に色変換を行う(Lp3s〜Lp3e)。詳細には、CMYK画像データからRGB画像データとグレー置き換え率を求め(ステップS203)、そのRGB画像データをガンマ変換し(ステップS204)、その後、色変換マトリックスを使用してYCの画像データに変換する(ステップS205)。色変換
の処理内容は図6、図7に示すものと同様である。
In the processing in units of local blocks, first, color conversion is performed for each pixel (Lp3s to Lp3e). Specifically, RGB image data and a gray replacement rate are obtained from CMYK image data (step S203), the RGB image data is gamma-converted (step S204), and then a YC 1 C 2 image is obtained using a color conversion matrix. Data is converted (step S205). The processing contents of the color conversion are the same as those shown in FIGS.

次に、処理対象の局所ブロックのばらつき度合い(エッジ度合い)を計算する(ステップS206)。ここでは、局所ブロック内の各画素のCの最大値と最小値との差の2乗と、Cの最大値と最小値との差の2乗との合計をばらつき度合いeとして求め、ばらつき度合いeが基準値(閾値)以上か否かによってエッジ部か否かを判定する(ステップS207)。基準値は、適宜に設定すればよい。 Next, the degree of variation (edge degree) of the local block to be processed is calculated (step S206). Here, determined the square of the difference between the maximum and minimum values of C 1 of each pixel in the local block, the sum of the square of the difference between the maximum value and the minimum value of C 2 as the degree of variation e, Whether or not the edge portion is an edge is determined based on whether or not the variation degree e is equal to or greater than a reference value (threshold value) (step S207). The reference value may be set as appropriate.

ばらつき度合いeが基準値より大きい場合は(ステップS207:True)、図8のエッジ部の圧縮条件で圧縮する(ステップS208)。ばらつき度合いeが基準値以下ならば(ステップS207:False)、図8の非エッジ部の圧縮条件で圧縮する(ステップS209)。そして、エッジ部または非エッジの圧縮条件で圧縮して得たY、C1、C2、グレー置き換え率の各データと、エッジ部・非エッジ部いずれの圧縮条件で圧縮されているかを示すエッジ部識別符号とを、当該局所ブロックの符号データとして出力する(ステップS210)。   When the variation degree e is larger than the reference value (step S207: True), compression is performed under the edge compression condition of FIG. 8 (step S208). If the variation degree e is equal to or less than the reference value (step S207: False), compression is performed under the non-edge portion compression condition in FIG. 8 (step S209). The Y, C1, C2, and gray replacement rate data obtained by compression under the edge or non-edge compression conditions, and the edge identification that indicates whether the compression is performed under the compression conditions of the edge or non-edge The code is output as code data of the local block (step S210).

図10は、伸張(復号化)の処理の流れを示している。この処理は、図9の処理で圧縮して得た符号データの伸張を行うものである。まず、復号化のための準備処理を行う(ステップS301)。ガンマ変換LUTの作成、色変換係数の作成、条件パラメータの設定、入出力バッファ(2ライン分)の確保、復号化対象の符号データのファイルをオープンするなどを行う。   FIG. 10 shows the flow of decompression (decoding) processing. In this process, the code data obtained by compression in the process of FIG. 9 is expanded. First, preparation processing for decoding is performed (step S301). Creation of a gamma conversion LUT, creation of color conversion coefficients, setting of condition parameters, securing of input / output buffers (for two lines), opening of a decoding target code data file, etc. are performed.

次に、2ライン毎の処理を復号化対象の符号データ全体が終了するまで繰り返し行い(Lp1s〜Lp1e)、全体について終了したらファイルクローズ、バッファ開放などの後処理を行って(ステップS310)処理を終了する。   Next, the processing for every two lines is repeated until the entire encoded data to be decoded is completed (Lp1s to Lp1e), and after the entire processing is completed, post-processing such as file close and buffer release is performed (step S310). finish.

2ライン毎の処理では、2ライン分の符号データを読み込み(ステップS302)、2画素×2画素の局所ブロック単位の復号処理を当該2ライン全体について完了するまで繰り返す(Lp2s〜Lp2e)。   In the processing for every two lines, code data for two lines is read (step S302), and the decoding process in units of local blocks of 2 pixels × 2 pixels is repeated for the entire two lines (Lp2s to Lp2e).

局所ブロック単位の復号処理では、まず、エッジ部識別符号によりエッジ部と非エッジ部のいずれの圧縮条件で符号化されているかを判別し(ステップS303)、エッジ部であれば(ステップS303;Ture)、図8のエッジ部の圧縮条件に基づいて各画素データへ展開する(ステップS304)。一方、エッジ部識別符号が非エッジ部を示している場合は(ステップS303;False)、図8の非エッジ部の圧縮条件に基づいて各画素データへ展開する(ステップS305)。   In the decoding process in units of local blocks, first, it is determined by the edge part identification code whether the edge part or the non-edge part is encoded (step S303), and if it is an edge part (step S303; Ture). ), Each pixel data is expanded based on the compression condition of the edge portion of FIG. 8 (step S304). On the other hand, if the edge part identification code indicates a non-edge part (step S303; False), the pixel data is expanded based on the compression condition of the non-edge part of FIG. 8 (step S305).

ステップS304またはS305で各画素データに展開した後、画素毎に色変換処理を行う(Lp3s〜Lp3e)。詳細には、YCの画像データを、色変換マトリックスを使用してR´G´B´画像データに変換し(ステップS306)、これをさらにガンマ変換によってRGB画像データに変換し(ステップS307)、このRGB画像データとグレー置き換え率とからCMYK画像データを生成する(ステップS308)。色変換の処理内容は図6を右側から左側へ向けて行うものに相当する。そして、生成したCMYK画像データを出力する(ステップS309)。 After expanding each pixel data in step S304 or S305, color conversion processing is performed for each pixel (Lp3s to Lp3e). More specifically, YC 1 C 2 image data is converted into R′G′B ′ image data using a color conversion matrix (step S306), which is further converted into RGB image data by gamma conversion (step S306). In step S307, CMYK image data is generated from the RGB image data and the gray replacement rate (step S308). The processing contents of the color conversion correspond to what is performed in FIG. 6 from the right side to the left side. Then, the generated CMYK image data is output (step S309).

図11は、本発明の画像データ符号化方法と他の符号化方式とを各種の項目について比較し、本発明の効果を示す一覧表である。A方式、B方式は従来からある圧縮方式である。A方式は、たとえば、BTC方式などが該当し、C,M,Y,Kの各成分を独立に符号化する。B方式は、YCなど輝度と2つの色成分に変換して符号化するものであり、JPEGなどが該当する。B方式では、CMYK画像データに戻す場合にK値をいくつにすべきかの手がかりがなく、K成分を元のCMYK画像データと同等のK値に復元することはできない。 FIG. 11 is a list showing the effects of the present invention by comparing the image data coding method of the present invention with other coding methods for various items. The A method and the B method are conventional compression methods. The A method corresponds to, for example, the BTC method, and the C, M, Y, and K components are independently encoded. The B system is such that YC 1 C 2 and other luminance and two color components are converted and encoded, and JPEG or the like is applicable. In the B method, there is no clue as to how many K values should be used when returning to CMYK image data, and the K component cannot be restored to a K value equivalent to the original CMYK image data.

C方式は本発明の符号化方法であり、CMYK画像データをRGB画像データとグレー置き換え率によって符号化する方式である。D方式も本発明の符号化方法であり、輝度と2つの色成分(たとえば、YC)による色情報とグレー置き換え率によって符号化する方式である。C方式、D方式ではいずれも、元のCMYK画像データのK値をほぼ復元することができる。 The C method is an encoding method according to the present invention, and is a method of encoding CMYK image data with RGB image data and a gray replacement rate. The D method is also an encoding method of the present invention, and is an encoding method based on luminance, color information based on two color components (for example, YC 1 C 2 ), and a gray replacement rate. In both the C method and the D method, the K value of the original CMYK image data can be almost restored.

A方式は、圧縮歪の視認影響について、C,M,Y,Kのいずれの成分も影響が大きい(図11の欄61参照)。すなわち、どの成分も情報を厳密に管理して符号化しなければ、復号した画素と元の画素との色の同一性を確保できない。従って、符号要素毎の圧縮余地(圧縮率を高める余地)は、C,M,Y,Kのいずれの成分についても小さい(図11の欄62参照)。   In the A method, any of the components C, M, Y, and K has a large influence on the visual influence of the compression strain (see the column 61 in FIG. 11). In other words, the color identity between the decoded pixel and the original pixel cannot be ensured unless information is strictly managed and encoded for any component. Therefore, the compression space for each code element (room for increasing the compression rate) is small for any of C, M, Y, and K components (see column 62 in FIG. 11).

B方式は、圧縮歪の視認影響について、Y(輝度)成分については大きいが、色成分(C、C)については中程度である(図11の欄63参照)。符号要素毎の圧縮余地は、Y(輝度)成分については小さく、色成分(C、C)については中程度である(図11の欄64参照)。 The B method has a large Y (luminance) component but a medium color component (C 1 , C 2 ) with respect to the visual impact of compression distortion (see column 63 in FIG. 11). The compression room for each code element is small for the Y (luminance) component and medium for the color components (C 1 , C 2 ) (see column 64 in FIG. 11).

C方式は、圧縮歪の視認影響について、R,G,Bの成分については大きく、グレー置き換え率については小さい(図11の欄65参照)。従って、符号要素毎の圧縮余地は、R,G,Bの成分については小さく、グレー置き換え率については大きい(図11の欄66参照)。つまり、グレー置き換え率は、その値が圧縮によって多少変動しても色の再現性に与える影響が小さいので、高圧縮率で圧縮することができる。   In the C method, the visual impact of compression distortion is large for the R, G, and B components, and the gray replacement rate is small (see column 65 in FIG. 11). Therefore, the compression room for each code element is small for the R, G, and B components and large for the gray replacement rate (see column 66 in FIG. 11). In other words, the gray replacement rate has a small influence on the color reproducibility even if the value fluctuates slightly due to compression, so that the gray replacement rate can be compressed at a high compression rate.

D方式は、圧縮歪の視認影響について、Y(輝度)成分については大きく、色成分(C、C)については中程度、グレー置き換え率については小さい(図11の欄67参照)。従って、符号要素毎の圧縮余地は、Y(輝度)成分については小さく、色成分(C、C)については中程度、グレー置き換え率については大きい(図11の欄68参照)。つまり、D方式においては、Y成分とグレー置き換え率について、それらの値が圧縮によって多少変動しても色の再現性に与える影響が小さいので、高圧縮率で圧縮することができる。 In the D method, the visual influence of compression distortion is large for the Y (luminance) component, medium for the color components (C 1 , C 2 ), and small for the gray replacement rate (see column 67 in FIG. 11). Therefore, the compression room for each code element is small for the Y (luminance) component, medium for the color components (C 1 , C 2 ), and large for the gray replacement rate (see column 68 in FIG. 11). In other words, in the D method, the Y component and the gray replacement rate have little influence on the color reproducibility even if their values fluctuate slightly due to compression, so that the compression can be performed at a high compression rate.

全体としての圧縮余地は、D方式(1/2程度)>C方式(4/5程度)>B方式(2/3程度)>A方式(1/1程度)、の順であり、本発明に係るC方式、D方式は、他の従来方式A、Bに比べて圧縮率を高めることができる。   The overall compression room is in the order of D method (about 1/2)> C method (about 4/5)> B method (about 2/3)> A method (about 1/1). The C method and D method can increase the compression rate compared to the other conventional methods A and B.

図12は、本発明に係る符号化方法の画像形成装置への適用例を示している。画像形成装置は、システムコントロールボード71と、ビデオインターフェイスボード72と、プリンタコントロールボード73を備えている。図の中断には、従来のデータフロー75を示し、下段には本発明を適用したデータフロー76の一例を示している。   FIG. 12 shows an application example of the encoding method according to the present invention to an image forming apparatus. The image forming apparatus includes a system control board 71, a video interface board 72, and a printer control board 73. The interruption of the figure shows a conventional data flow 75, and the lower part shows an example of a data flow 76 to which the present invention is applied.

システムコントロールボード71ではRIP処理が行われ、CMYKの画像データが生成される。従来のデータフロー75では、このCMYK画像データをシステムコントロールボード71からビデオインターフェイスボード72へ転送していたが、本発明を適用したデータフロー76では、システムコントロールボード71において、本発明の符号化方法(たとえば、図9に示す処理)によって一次圧縮を行い。該一次圧縮で得た一次符号化データをシステムコントロールボード71からビデオインターフェイスボード72に転送する。これよりシステムコントロールボード71からビデオインターフェイスボード72へ転送するデータ量を削減することができる。   The system control board 71 performs RIP processing to generate CMYK image data. In the conventional data flow 75, the CMYK image data is transferred from the system control board 71 to the video interface board 72. However, in the data flow 76 to which the present invention is applied, the system control board 71 uses the encoding method of the present invention. Primary compression is performed by (for example, the process shown in FIG. 9). The primary encoded data obtained by the primary compression is transferred from the system control board 71 to the video interface board 72. Thus, the amount of data transferred from the system control board 71 to the video interface board 72 can be reduced.

なお、本発明を適用したデータフロー76においては、ビデオインターフェイスボード72において一次符号化データを、たとえばBTC方式などで2次圧縮し、これを、たとえば、ハードディスク装置(HDD)に保存する。印刷時には、HDDから符号化データが読み出され、プリンタコントロールボード73に転送される。プリンタコントロールボード73は、符号化データを、まず、2次圧縮に対応する復号処理を行い、続いて、一次圧縮に対応する復号処理(たとえば、図10に示す処理)を行って、CMYK画像データに復号し、これを印刷部に送って記録紙への印刷を行わせる。   In the data flow 76 to which the present invention is applied, the primary encoded data is secondarily compressed by, for example, the BTC method in the video interface board 72 and stored in, for example, a hard disk device (HDD). At the time of printing, the encoded data is read from the HDD and transferred to the printer control board 73. The printer control board 73 first performs a decoding process corresponding to the secondary compression on the encoded data, and subsequently performs a decoding process corresponding to the primary compression (for example, the process shown in FIG. 10) to obtain CMYK image data. Are sent to the printing unit to print on the recording paper.

以上、本発明の実施の形態を図面によって説明してきたが、具体的な構成は実施の形態に示したものに限られるものではなく、本発明の要旨を逸脱しない範囲における変更や追加があっても本発明に含まれる。   The embodiment of the present invention has been described with reference to the drawings. However, the specific configuration is not limited to that shown in the embodiment, and there are changes and additions within the scope of the present invention. Are also included in the present invention.

たとえば、実施の形態では、補助情報としてグレー置き換え率や特色置き換え率を使用したが、補助情報はこれに限定されるものではない。たとえば、元のCMYK画像データに含まれているK値そのものを補助情報としてもよい。この場合、元のCMYK画像データをCMY画像データやRGB画像データなどの色情報に変換し、この色情報と元のCMYK画像データに含まれているK値とを使用して符号化する。色情報は元のCMYK画像データと同等な色を表すものである。復号時には、たとえば、図7の演算式群42におけるC、M、Yを求める式42c、42m、42yを使用し、K値としては補助情報のK値を代入すればよい。補助情報(K値)が圧縮歪によって多少変動しても、色の再現性に与える影響は小さい。また、元のK成分をほぼ復号することができる。特色Sの場合も同様である。   For example, in the embodiment, the gray replacement rate or the spot color replacement rate is used as the auxiliary information, but the auxiliary information is not limited to this. For example, the K value itself included in the original CMYK image data may be used as auxiliary information. In this case, the original CMYK image data is converted into color information such as CMY image data or RGB image data, and is encoded using this color information and the K value included in the original CMYK image data. The color information represents a color equivalent to the original CMYK image data. At the time of decoding, for example, equations 42c, 42m, and 42y for obtaining C, M, and Y in the arithmetic equation group 42 in FIG. 7 may be used, and the K value of the auxiliary information may be substituted as the K value. Even if the auxiliary information (K value) slightly varies depending on the compression distortion, the influence on the color reproducibility is small. Also, the original K component can be almost decoded. The same applies to the spot color S.

なお、本発明に係る画像データ符号化方法やこれに対応する復号化方法は、たとえば、CPU(Central Processing Unit)を主要部とする画像処理装置によって、あるいはコンピュータ装置でプログラムを実行することによって実施される。また、本発明は、本発明に係わる画像データ符号化方法や復号化方法を実施する画像処理装置、あるいはコンピュータに本発明に係る画像データ符号化方法や復号化方法を実行させるプログラムとして構成されてもよい。   Note that the image data encoding method and the decoding method corresponding to the image data encoding method according to the present invention are implemented, for example, by an image processing device having a CPU (Central Processing Unit) as a main part or by executing a program on a computer device. Is done. Further, the present invention is configured as an image processing apparatus that performs the image data encoding method and decoding method according to the present invention, or a program that causes a computer to execute the image data encoding method and decoding method according to the present invention. Also good.

10…元のCMYKの画像データ
11…元の画像データと同等な色を表すCMY画像データ
12…CMY画像データを変換して得たCMYK画像データ(K=10)
13…CMY画像データを変換して得たCMYK画像データ(K=20)
14…CMY画像データを変換して得たCMYK画像データ(K=40)
20…元のCMYKの画像データ
21…Kに置き換えるCMYデータ
22…置き換えで得たK成分データ
23…非グレー置き換え分の画像データ
24…グレー置き換え後の画像データ
30…元のCMYSの画像データ
31…特色置き換え分のCMYデータ
32…置き換えで得た特色成分データ
33…非特色置き換え分の画像データ
34…特色置き換え後の画像データ
41…CMYKをRGBに変換する際の演算式群
42…RGBをCMYKに変換する際の演算式群
50…圧縮条件表
71…システムコントロールボード
72…ビデオインターフェイスボード
73…プリンタコントロールボード
75…従来のデータフロー
76…本発明を適用したデータフロー
10 ... Original CMYK image data 11 ... CMY image data representing a color equivalent to the original image data 12 ... CMYK image data obtained by converting the CMY image data (K = 10)
13. CMYK image data obtained by converting CMY image data (K = 20)
14: CMYK image data obtained by converting CMY image data (K = 40)
20 ... Original CMYK image data 21 ... CMY data to be replaced with K 22 ... K component data obtained by replacement 23 ... Image data for non-gray replacement 24 ... Image data after gray replacement 30 ... Original CMYS image data 31 ... CMY data for special color replacement 32 ... Special color component data obtained by replacement 33 ... Image data for non-special color replacement 34 ... Image data after special color replacement 41 ... Arithmetic formula group 42 for converting CMYK to RGB 42 ... RGB Arithmetic expression group for conversion to CMYK 50 ... Compression condition table 71 ... System control board 72 ... Video interface board 73 ... Printer control board 75 ... Conventional data flow 76 ... Data flow to which the present invention is applied

Claims (10)

C(シアン)、M(マゼンタ)、Y(イエロ)、K(ブラック)の4色を色成分とする画像データを符号化する画像データ符号化方法であって、
各画素について、CMYK値と同等な色を表す、R(レッド)G(グリーン)B(ブルー)値に変換し、このRGB値と同等な色を表すCMYK値であって各色成分が正またはゼロであるもののうちKの値が最大になる場合のKの値をK´として求め、K´と元データのK値との比率に相当する置き換え率と、該画素と同等な色を再現するための色情報であってKの色成分を使用しない所定の成分で構成された色情報と、を用いて符号化する
ことを特徴とする画像データ符号化方法。
An image data encoding method for encoding image data having four color components of C (cyan), M (magenta), Y (yellow), and K (black),
Each pixel is converted to an R (red), G (green), and B (blue) value that represents a color equivalent to the CMYK value, and each color component is positive or zero. In order to reproduce the color equivalent to the pixel and the replacement rate corresponding to the ratio between K ′ and the K value of the original data. An image data encoding method characterized by encoding using color information composed of a predetermined component that does not use a K color component.
元の画素のCMYK値と同等な色を表すRGB値への変換を、所定値の調整係数α(0<α<1)を用いて、
R値=1−min(1,C値×(1−αK値)+αK値)
G値=1−min(1,M値×(1−αK値)+αK値)
B値=1−min(1,Y値×(1−αK値)+αK値)
なる演算によって行う
ことを特徴とする請求項1に記載の画像データ符号化方法。
Conversion to an RGB value representing a color equivalent to the CMYK value of the original pixel is performed using a predetermined adjustment coefficient α (0 <α <1).
R value = 1-min (1, C value x (1-αK value) + αK value)
G value = 1-min (1, M value × (1-αK value) + αK value)
B value = 1-min (1, Y value × (1-αK value) + αK value)
The image data encoding method according to claim 1, wherein the image data encoding method is performed by:
C(シアン)M(マゼンタ)Y(イエロ)K(ブラック)の4色を色成分とする画像データを符号化する画像データ符号化方法であって、
各画素について、C値、M値、Y値の中の最小値にK値を加えた値をK´として求め、K´とK値との比率に相当する置き換え率と、該画素と同等な色を再現するための色情報であってKの色成分を使用しない所定の成分で構成された色情報と、を用いて符号化する
ことを特徴とする画像データ符号化方法。
An image data encoding method for encoding image data having four colors of C (cyan), M (magenta), Y (yellow), and K (black) as color components,
For each pixel, a value obtained by adding the K value to the minimum value among the C value, the M value, and the Y value is obtained as K ′, and the replacement rate corresponding to the ratio of K ′ and K value is equivalent to the pixel. An image data encoding method comprising: encoding using color information for reproducing a color and color information composed of a predetermined component that does not use a K color component.
C(シアン)、M(マゼンタ)、Y(イエロ)、K(ブラック)の4色を色成分とする画像データを符号化する画像データ符号化方法であって、
各画素について、該画素と同等な色を表した色情報であってKの色成分を使用しない所定の成分で構成された色情報を求め、この色情報と、元の画像データのK値を特定するための補助情報と、を用いて符号化する
ことを特徴とする画像データ符号化方法。
An image data encoding method for encoding image data having four color components of C (cyan), M (magenta), Y (yellow), and K (black),
For each pixel, color information representing a color equivalent to the pixel and including a predetermined component that does not use the K color component is obtained, and the color information and the K value of the original image data are obtained. An image data encoding method comprising: encoding using auxiliary information for specifying.
複数の基本色と、これら基本色を所定の比率で組み合わせることで近似色が表現可能な特色とを色成分とする画像データを符号化する画像データ符号化方法であって、
各画素について、その画素と同等な色を基本色のみで表した場合の各色成分の値を求め、これらの色成分の値が表す色と同等な色を、基本色と特色とで表す場合の各色成分の値であってすべての基本色成分の値が正またはゼロであるもののうち特色成分の値が最大になる場合の特色成分の値をS´として求め、S´と元データの特色成分の値との比率に相当する置き換え率と、該画素と同等な色を表した色情報であって特色成分を使用しない所定の成分で構成された色情報と、を用いて符号化する
ことを特徴とする画像データ符号化方法。
An image data encoding method for encoding image data having color components of a plurality of basic colors and a special color that can represent an approximate color by combining these basic colors at a predetermined ratio,
For each pixel, obtain the value of each color component when the color equivalent to that pixel is represented by only the basic color, and when the color equivalent to the color represented by these color component values is represented by the basic color and the special color The value of the special color component when the value of the special color component is the maximum among the values of each color component and the values of all the basic color components are positive or zero is obtained as S ′, and S ′ and the special color component of the original data Encoding using a replacement rate corresponding to a ratio to the value of color and color information that is a color information that represents a color equivalent to the pixel and that includes a predetermined component that does not use a special color component. A characteristic image data encoding method.
複数の基本色と、これら基本色を所定の比率で組み合わせることで近似色が表現可能な特色とを色成分とする画像データを符号化する画像データ符号化方法であって、
各画素について、該画素と同等な色を表した色情報であって特色成分を使用しない所定の成分で構成された色情報を求め、該色情報と、元の画像データにおける特色成分の値を特定するための補助情報と、を用いて符号化する
ことを特徴とする画像データ符号化方法。
An image data encoding method for encoding image data having color components of a plurality of basic colors and a special color that can represent an approximate color by combining these basic colors at a predetermined ratio,
For each pixel, color information representing a color equivalent to the pixel and including a predetermined component that does not use the special color component is obtained, and the color information and the value of the special color component in the original image data are obtained. An image data encoding method comprising: encoding using auxiliary information for specifying.
前記所定の成分で構成された色情報は、主に輝度成分を表す1つのデータと、主に色味成分を表す2つのデータで構成される
ことを特徴とする請求項1乃至4のいずれか1つに記載の画像データ符号化方法。
The color information composed of the predetermined component is composed of one data mainly representing a luminance component and two data mainly representing a color component. The image data encoding method as described in one.
輝度成分、色味成分、置き換え率のうち、少なくとも置き換え率については、解像度を抑制して符号化する
ことを特徴とする請求項7に記載の画像データ符号化方法。
The image data encoding method according to claim 7, wherein at least the replacement rate among the luminance component, the color component, and the replacement rate is encoded while suppressing the resolution.
符号化対象の画像を前記局所ブロックに分割し、
局所ブロック内のデータのばらつき度合いが基準値未満の局所ブロックに含まれる画素は、置き換え率に加えて少なくとも色味成分についても解像度を抑制して符号化し、
局所ブロック内のデータのばらつき度合いが基準値以上の局所ブロックに含まれる画素は、少なくとも色味成分について、ビット幅(階調数)を、ばらつき度合いが基準値未満の局所ブロックより抑制して符号化する
ことを特徴とする請求項8に記載の画像データ符号化方法。
Dividing the image to be encoded into the local blocks;
The pixels included in the local block whose data variation degree in the local block is less than the reference value are encoded while suppressing the resolution for at least the color component in addition to the replacement rate,
Pixels included in a local block whose local data variation degree is greater than or equal to the reference value are coded with a bit width (number of gradations) suppressed at least for the tint component from the local block whose degree of dispersion is less than the reference value The image data encoding method according to claim 8, wherein:
局所ブロック単位の符号量が固定長になるように符号化する
ことを特徴とする請求項9に記載の画像データ符号化方法。
The image data encoding method according to claim 9, wherein encoding is performed so that a code amount of a local block unit has a fixed length.
JP2010115821A 2010-05-19 2010-05-19 Image data encoding method Expired - Fee Related JP5521766B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010115821A JP5521766B2 (en) 2010-05-19 2010-05-19 Image data encoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010115821A JP5521766B2 (en) 2010-05-19 2010-05-19 Image data encoding method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2014000007A Division JP5761539B2 (en) 2014-01-04 2014-01-04 Image data encoding method

Publications (2)

Publication Number Publication Date
JP2011244285A true JP2011244285A (en) 2011-12-01
JP5521766B2 JP5521766B2 (en) 2014-06-18

Family

ID=45410463

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010115821A Expired - Fee Related JP5521766B2 (en) 2010-05-19 2010-05-19 Image data encoding method

Country Status (1)

Country Link
JP (1) JP5521766B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110263722A (en) * 2019-06-21 2019-09-20 贵州大学 The method, system and device of combustion state are judged based on flame color
CN110263796A (en) * 2019-06-21 2019-09-20 贵州大学 Method, system and device based on flame color identification combustion equivalent ratio
CN110312136A (en) * 2019-05-10 2019-10-08 同济大学 A kind of coding and decoding methods of pair of multi-component data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0556282A (en) * 1990-08-23 1993-03-05 Fuji Xerox Co Ltd Image coder
JPH0787348A (en) * 1993-09-14 1995-03-31 Oki Electric Ind Co Ltd Color conversion device
JP2001086346A (en) * 1999-09-14 2001-03-30 Ricoh Co Ltd Image-encoding device
JP2007043426A (en) * 2005-08-02 2007-02-15 Canon Inc Image processing apparatus, method thereof, computer program, and recording medium
WO2009001549A1 (en) * 2007-06-28 2008-12-31 Konica Minolta Business Technologies, Inc. Image processing method, image processing device, image data compressing device and computer program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0556282A (en) * 1990-08-23 1993-03-05 Fuji Xerox Co Ltd Image coder
JPH0787348A (en) * 1993-09-14 1995-03-31 Oki Electric Ind Co Ltd Color conversion device
JP2001086346A (en) * 1999-09-14 2001-03-30 Ricoh Co Ltd Image-encoding device
JP2007043426A (en) * 2005-08-02 2007-02-15 Canon Inc Image processing apparatus, method thereof, computer program, and recording medium
WO2009001549A1 (en) * 2007-06-28 2008-12-31 Konica Minolta Business Technologies, Inc. Image processing method, image processing device, image data compressing device and computer program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110312136A (en) * 2019-05-10 2019-10-08 同济大学 A kind of coding and decoding methods of pair of multi-component data
CN110263722A (en) * 2019-06-21 2019-09-20 贵州大学 The method, system and device of combustion state are judged based on flame color
CN110263796A (en) * 2019-06-21 2019-09-20 贵州大学 Method, system and device based on flame color identification combustion equivalent ratio

Also Published As

Publication number Publication date
JP5521766B2 (en) 2014-06-18

Similar Documents

Publication Publication Date Title
JP5132517B2 (en) Image processing apparatus and image processing method
JP4176114B2 (en) Image compression apparatus, image reading apparatus including the same, image processing apparatus including the image compression apparatus, image forming apparatus including the same, and image compression processing method
US8509310B2 (en) Method, medium, and system encoding and/or decoding an image
JP2004248269A (en) Method and program for data format invertible transform, image processor, data format invertible, and memory medium
JP2011193394A (en) Image processing apparatus, image processing method, and program
JP2011151720A (en) Image processing apparatus
JP5521766B2 (en) Image data encoding method
JP5761539B2 (en) Image data encoding method
JP4053460B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP4050639B2 (en) Image processing apparatus, image processing method, and program executed by computer
US9674398B2 (en) Processing apparatus which decompresses compressed data, control method thereof, and non-transitory computer readable medium
JP4526577B2 (en) Image processing apparatus, image processing system, and image processing method
JP4011494B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP5321364B2 (en) Image processing apparatus, image processing method, and program
JP4926128B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus, computer program, recording medium, and image processing method
JP5072907B2 (en) Image processing device
JP4262145B2 (en) Image processing apparatus and control method thereof
JPH0440075A (en) Picture encoding device
JP2015122618A (en) Information processing device, information processing method, and program
JPH0440074A (en) Picture encoding device
JP4374056B2 (en) Data format reversible conversion method, image processing apparatus, data format reversible conversion program, and storage medium
JP4308715B2 (en) Image processing apparatus, image processing method, and image processing program
JP4382828B2 (en) Line image separation method, image compression method, and image processing apparatus using the same
JP2004112345A (en) Image processing apparatus, image processing method, and image processing program
JP2004274143A (en) Image processor and its method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121113

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20130417

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131028

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131106

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140104

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140311

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140324

R150 Certificate of patent or registration of utility model

Ref document number: 5521766

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees