JP4905425B2 - Color conversion table creation method, color conversion table, color conversion table creation program, and color conversion table creation device - Google Patents

Color conversion table creation method, color conversion table, color conversion table creation program, and color conversion table creation device Download PDF

Info

Publication number
JP4905425B2
JP4905425B2 JP2008215412A JP2008215412A JP4905425B2 JP 4905425 B2 JP4905425 B2 JP 4905425B2 JP 2008215412 A JP2008215412 A JP 2008215412A JP 2008215412 A JP2008215412 A JP 2008215412A JP 4905425 B2 JP4905425 B2 JP 4905425B2
Authority
JP
Japan
Prior art keywords
color
color conversion
conversion table
rgb
axis
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.)
Active
Application number
JP2008215412A
Other languages
Japanese (ja)
Other versions
JP2010050894A (en
Inventor
雅司 久野
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2008215412A priority Critical patent/JP4905425B2/en
Publication of JP2010050894A publication Critical patent/JP2010050894A/en
Application granted granted Critical
Publication of JP4905425B2 publication Critical patent/JP4905425B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

本発明は、色変換テーブルの作成方法、色変換テーブル、色変換テーブル作成プログラム及び色変換テーブル作成装置に関するものである。   The present invention relates to a color conversion table creation method, a color conversion table, a color conversion table creation program, and a color conversion table creation apparatus.

従来、パーソナルコンピュータ等で作成したRGBデータを例えばカラープリンタ用のCMYKデータに色変換するような場合、色変換テーブル(LUT:Look−Up−Table)が利用される。色変換テーブルは、RGBすべての値について色変換値(上記例ではCMYK値)が登録されたものではなく、RGB色空間をRGB各方向で複数に分割した各立方体領域の頂点に当たる複数の格子点にのみ色変換値が登録されたものが一般的である。このような色変換テーブルを使用して色変換を行う場合、格子点以外の点の色変換値については、格子点に登録された色変換値に基づく補間計算で求められる。こうした補間計算には体積補間計算が一般に用いられ、体積補間としては立方体(直方体)補間や三角錐補間が知られている。   Conventionally, when RGB data created by a personal computer or the like is color-converted into CMYK data for a color printer, for example, a color conversion table (LUT: Look-Up-Table) is used. In the color conversion table, color conversion values (CMYK values in the above example) are not registered for all RGB values, but a plurality of grid points corresponding to the vertices of each cubic area obtained by dividing the RGB color space into a plurality of RGB directions. In general, the color conversion value is registered only in. When color conversion is performed using such a color conversion table, the color conversion values of points other than the grid points are obtained by interpolation calculation based on the color conversion values registered at the grid points. For such interpolation calculation, volume interpolation calculation is generally used, and cubic (rectangular) interpolation and triangular pyramid interpolation are known as volume interpolation.

なお、特許文献1には、格子点を頂点とする立方体領域のうち、無彩色軸(グレー軸)を含まないものに対しては立方体補間で補間計算を行い、無彩色軸を含むものに対しては更に複数の四面体に分割して補間計算を行う構成が開示されている。
特開2004−179819号公報
In Patent Document 1, among cubic regions having lattice points as vertices, those that do not include an achromatic color axis (gray axis) are subjected to interpolation calculation by cubic interpolation, and those that include an achromatic color axis are included. In addition, a configuration is disclosed in which interpolation calculation is performed by further dividing into a plurality of tetrahedrons.
JP 2004-179819 A

ところで、RGBからCMYやCMYK等に変換する色変換テーブルを使用した場合、無彩色軸を一辺とするような三角錐補間で補間計算を行えば、グレーのグラデーションの印刷結果は滑らかになるが、立方体補間で補間計算を行うと、図7に示すように、グレーのグラデーションの印刷結果に縞模様が生じる(ガタガタになる)という問題があった。   By the way, when using a color conversion table for converting from RGB to CMY, CMYK, etc., if interpolation calculation is performed with triangular pyramid interpolation with the achromatic color axis as one side, the gray gradation print result will be smooth, When the interpolation calculation is performed by the cubic interpolation, there is a problem that a striped pattern is generated in the gray gradation printing result (as shown in FIG. 7).

ここで、このような問題が生じる原因について説明する。まず、理解を容易にするため、2次元で説明する。
図8において、格子点G1〜G4のうち、格子点G1,G4が、無彩色軸上の格子点である。ここで、無彩色軸上の点P1の色変換値を三角錐補間で求める場合には、無彩色の格子点G1,G4の色変換値のみに基づき補間計算が行われる。一方、立方体補間の場合には、無彩色の格子点G1,G4の色変換値だけでなく、有彩色の格子点G2,G3の色変換値も補間計算に用いられるため、格子点G2,G3の色変換値のバランスによっては、点P1の色変換値がやや濃い値や薄い値になり、その結果として図7のような縞模様が生じてしまう。
Here, the cause of such a problem will be described. First, in order to facilitate understanding, a two-dimensional description is given.
In FIG. 8, among the lattice points G1 to G4, the lattice points G1 and G4 are lattice points on the achromatic axis. Here, when the color conversion value of the point P1 on the achromatic color axis is obtained by triangular pyramid interpolation, the interpolation calculation is performed based only on the color conversion values of the achromatic color grid points G1 and G4. On the other hand, in the case of cubic interpolation, not only the color conversion values of the achromatic grid points G1 and G4 but also the color conversion values of the chromatic grid points G2 and G3 are used for the interpolation calculation. Depending on the balance of the color conversion values, the color conversion value of the point P1 becomes a slightly dark value or a light value, and as a result, a striped pattern as shown in FIG. 7 occurs.

次に、同様の内容を3次元で説明する。
図9において、格子点A〜Hのうち、格子点A,Gが、無彩色軸上の格子点である。
ここで、無彩色軸上の点の色変換値を三角錐補間で求める場合には、無彩色の格子点A,Gの色変換値のみに基づき補間計算が行われる。一方、立方体補間の場合には、格子点A〜Hの8点を用いて補間計算が行われる。このように、無彩色軸上の格子点A,G以外の格子点の色変換値を用いることが、がたつき(縞模様)が生じてしまう要因となっている。
Next, the same content will be described in three dimensions.
In FIG. 9, among the lattice points A to H, lattice points A and G are lattice points on the achromatic axis.
Here, when the color conversion value of the point on the achromatic color axis is obtained by triangular pyramid interpolation, the interpolation calculation is performed based only on the color conversion value of the lattice points A and G of the achromatic color. On the other hand, in the case of cubic interpolation, interpolation calculation is performed using 8 points of grid points A to H. As described above, the use of color conversion values of grid points other than the grid points A and G on the achromatic color axis is a cause of rattling (striped pattern).

なお、前述したように、三角錐補間で補間計算を行えばグレーのグラデーションの印刷結果は滑らかになるが、三角錐補間は立方体補間に比較してプログラムが複雑であり、時間がかかるという問題がある。この点、前述した特許文献1に記載の構成では、無彩色軸を含む立方体領域に対しては複数の四面体に分割して補間計算を行うようにしており、立方体補間では上記問題を解消することができない。   As described above, if the interpolation calculation is performed by triangular pyramid interpolation, the gray gradation printing result becomes smooth, but the triangular pyramid interpolation has a problem that the program is more complicated and time-consuming than cubic interpolation. is there. In this regard, in the configuration described in Patent Document 1 described above, the cubic region including the achromatic color axis is divided into a plurality of tetrahedrons to perform interpolation calculation, and cubic interpolation solves the above problem. I can't.

本発明は、こうした問題にかんがみてなされたものであり、立方体補間で補間計算を行った場合にもグレーを良好に再現することのできる色変換テーブルの作成方法、色変換テーブル、色変換テーブル作成プログラム及び色変換テーブル作成装置を提供することを目的としている。   The present invention has been made in view of these problems. A color conversion table creation method, a color conversion table, and a color conversion table creation that can reproduce gray well even when interpolation calculation is performed by cubic interpolation. It is an object to provide a program and a color conversion table creation device.

上記目的を達成するためになされた第1の構成の色変換テーブルの作成方法は、RGB色空間をRGB各方向で複数に分割した各立方体領域の頂点に当たる格子点のそれぞれに色変換値が登録された色変換テーブルを作成するための方法である。この作成方法では、立方体領域のうち無彩色軸を含むものにおいてその無彩色軸上の格子点に対してRGB各方向で隣り合う3つの格子点の色変換値の平均値が、それら3つの格子点を通る平面と無彩色軸との交点の色変換値に近づくように、それら3つの格子点の色変換値を調整する。 A method for creating a color conversion table of the first configuration made to achieve the above object is to register a color conversion value at each of the lattice points corresponding to the vertices of each cubic area obtained by dividing the RGB color space into a plurality of RGB directions. This is a method for creating a color conversion table. In this creation method, the average value of the color conversion values of three grid points adjacent to each other in the RGB directions with respect to a grid point on the achromatic color axis in a cubic region including the achromatic color axis is the three grids. The color conversion values of these three lattice points are adjusted so as to approach the color conversion value at the intersection of the plane passing through the point and the achromatic color axis.

このような作成方法によれば、立方体補間で補間計算を行った場合にもグレーを良好に再現可能な色変換テーブルを作成することができる。すなわち、格子点以外の変換対象点の色変換値を立方体補間で求める場合には、その変換対象点を含む立方体領域の頂点に当たる8つの格子点を用いて補間計算が行われる。ここで、変換対象点が無彩色軸上に存在する場合には、図9に示すように、無彩色軸上の2つの格子点A,Gを除く残りの6つの格子点のうち、格子点B,D,Eの各色変換値の重み係数が等しくなり、同様に、格子点C,F,Hの各色変換値の重み係数も等しくなる。したがって、格子点B,D,Eの色変換値の平均値と、格子点C,F,Hの色変換値の平均値とが、それぞれグレーを適切に表現するものとなっていれば、変換対象点の色変換値も適切なグレーの値となる。   According to such a creation method, it is possible to create a color conversion table that can reproduce gray well even when interpolation calculation is performed by cubic interpolation. That is, when the color conversion value of the conversion target point other than the lattice point is obtained by cube interpolation, the interpolation calculation is performed using eight lattice points corresponding to the vertices of the cubic region including the conversion target point. Here, when the conversion target point exists on the achromatic color axis, as shown in FIG. 9, among the remaining six lattice points excluding the two lattice points A and G on the achromatic color axis, The weight coefficients of the color conversion values of B, D, and E are equal, and similarly, the weight coefficients of the color conversion values of the grid points C, F, and H are also equal. Therefore, if the average value of the color conversion values of the grid points B, D, and E and the average value of the color conversion values of the grid points C, F, and H respectively express gray appropriately, the conversion is performed. The color conversion value of the target point is also an appropriate gray value.

そこで、本発明の色変換テーブルの作成方法では、無彩色軸上の格子点に対してRGB各方向で隣り合う3つの格子点(図9では、格子点Aと隣り合う3つの格子点B,D,E、及び、格子点Gと隣り合う3つの格子点C,F,H)の色変換値の平均値が、それら3つの格子点を通る平面と無彩色軸との交点α,βの色変換値にそれぞれ近づくように(換言すれば、3つの格子点の色変換値の和が、交点の色変換値の3倍の値に近づくように)、それら3つの格子点の色変換値を調整する。ここで、グレーを良好に再現するという面では、3つの格子点の平均値が交点の色変換値と一致することが最も好ましい。このような作成方法で作成した色変換テーブルを用いれば、立方体補間で補間計算を行った場合にもグレーが良好に再現されることになる。   Therefore, in the method of creating the color conversion table of the present invention, three grid points adjacent in the respective RGB directions with respect to the grid points on the achromatic color axis (in FIG. 9, three grid points B, D, E, and the average value of the color conversion values of the three lattice points C, F, H) adjacent to the lattice point G are the intersections α, β of the plane passing through the three lattice points and the achromatic color axis. The color conversion values of these three grid points so that the color conversion values approach each other (in other words, the sum of the color conversion values of the three grid points approaches three times the color conversion value of the intersection point). Adjust. Here, in terms of reproducing gray well, it is most preferable that the average value of the three grid points matches the color conversion value of the intersection. If a color conversion table created by such a creation method is used, gray can be reproduced well even when interpolation calculation is performed by cubic interpolation.

なお、RGB空間をRGB各方向で例えば8分割する場合、RGB値を8ビットで表すと、格子点は、0,32,64,96,128,160,192,224,255の9ステップで配置される。この場合、0〜224は格子点間の値の差が32となるが、224〜255に関しては格子点間の値の差が31となり、厳密には等間隔とすることができない。このため、ここでいう立方体領域の中には、厳密には立方体とはならないものも存在するが、発明を理解しやすくするため、このようなものも含めて立方体領域と表現している(このような理由から、「立方体領域」に代えて「直方体領域」と表現してもよい)。   When the RGB space is divided into, for example, 8 in each RGB direction, the grid points are arranged in 9 steps of 0, 32, 64, 96, 128, 160, 192, 224, and 255 when the RGB value is represented by 8 bits. Is done. In this case, the value difference between the lattice points is 0 to 224, but the value difference between the lattice points is 31 to 224 to 255, and cannot be strictly equal. For this reason, some of the cubic regions here are not strictly cubes, but in order to make the invention easier to understand, these are also expressed as cubic regions (this For this reason, it may be expressed as “cuboid region” instead of “cubic region”).

ところで、本発明の色変換テーブルの作成方法では、グレーを良好に再現するため3つの格子点の色変換値を調整するが、この調整によりグレー以外の再現性に弊害が出てしまうことが考えられる。   By the way, in the color conversion table creation method of the present invention, the color conversion values of the three grid points are adjusted in order to reproduce gray well. However, this adjustment may adversely affect reproducibility other than gray. It is done.

そこで、例えば第2の構成の色変換テーブルの作成方法では、3つの格子点のうち、特定の色領域の補間計算に用いられる格子点については、色変換値の調整量を抑えるようにする。このような作成方法によれば、特定の色領域については再現性に弊害が出にくくすることができる。なお、ここでいう「調整量を抑える」には、調整量を小さくすることの他、調整量を0にする(調整しない)ことも含まれる。 Therefore, for example, in the color conversion table creation method of the second configuration , the adjustment amount of the color conversion value is suppressed for the lattice points used for the interpolation calculation of a specific color region among the three lattice points. According to such a creation method, it is possible to make it difficult for a specific color region to have an adverse effect on reproducibility. Here, “suppressing the adjustment amount” includes not only reducing the adjustment amount but also setting the adjustment amount to 0 (not adjusting).

ここで、特定の色領域としては、例えば第3の構成のように、肌色を表す色領域が挙げられる。このようにすれば、肌色の再現性(色味等)に弊害が出にくくすることができる。 Here, examples of the specific color area include a color area representing a skin color as in the third configuration . In this way, it is possible to make it difficult for adverse effects to occur in the reproducibility (color tone, etc.) of the skin color.

具体的には、例えば第4の構成のように、立方体領域が、RGB色空間をRGB各方向で8つに分割したものである場合、肌色を表す色領域の補間計算に用いられる格子点とは、無彩色軸に平行な格子点列のうち、無彩色軸からR方向に1つ分ずれた位置に存在する格子点列を構成する格子点である。したがって、この格子点列を構成する格子点については色変換値の調整量を抑えることで、肌色の再現性に弊害が出にくくすることができる。 Specifically, for example, as in the fourth configuration , when the cubic region is obtained by dividing the RGB color space into eight in each RGB direction, the grid points used for the interpolation calculation of the color region representing the skin color Is a grid point that constitutes a grid point sequence that exists at a position shifted by one in the R direction from the achromatic color axis, among grid point sequences parallel to the achromatic color axis. Therefore, for the lattice points constituting this lattice point sequence, by suppressing the adjustment amount of the color conversion value, it is possible to prevent adverse effects on the skin color reproducibility.

次に、第5の構成の色変換テーブルは、RGB色空間をRGB各方向で複数に分割した各立方体領域の頂点に当たる格子点のそれぞれに色変換値が登録されたものである。そして、この色変換テーブルは、立方体領域のうち無彩色軸を含むものにおいてその無彩色軸上の格子点に対してRGB各方向で隣り合う3つの格子点の色変換値の平均値が、それら3つの格子点を通る平面と無彩色軸との交点の色変換値と等しくなるように調整されている。 Next, the color conversion table of the fifth configuration is such that color conversion values are registered at each of the lattice points corresponding to the vertices of each cubic area obtained by dividing the RGB color space into a plurality of RGB directions. In this color conversion table, the average value of the color conversion values of three grid points adjacent to each other in the RGB direction with respect to the grid point on the achromatic color axis in the cubic region including the achromatic color axis is It is adjusted to be equal to the color conversion value at the intersection of the plane passing through the three grid points and the achromatic color axis.

このような色変換テーブルによれば、立方体補間で補間計算を行った場合にもグレーを良好に再現することができる。
次に、第6の構成の色変換テーブル作成プログラムは、RGB色空間をRGB各方向で複数に分割した各立方体領域の頂点に当たる格子点のそれぞれに色変換値が登録された色変換テーブルを作成するためのステップをコンピュータに実行させるためのものである。そして、この色変換テーブル作成プログラムは、立方体領域のうち無彩色軸を含むものにおいてその無彩色軸上の格子点に対してRGB各方向で隣り合う3つの格子点の色変換値の平均値が、それら3つの格子点を通る平面と無彩色軸との交点の色変換値に近づくように、それら3つの格子点の色変換値を調整するステップをコンピュータに実行させる。
According to such a color conversion table, gray can be reproduced well even when interpolation calculation is performed by cubic interpolation.
Next, the color conversion table creation program of the sixth configuration creates a color conversion table in which color conversion values are registered at each of the lattice points corresponding to the vertices of each cubic area obtained by dividing the RGB color space into a plurality of RGB directions. It is for making a computer perform the step for performing. The color conversion table creation program calculates the average value of the color conversion values of three grid points adjacent in the RGB directions with respect to the grid points on the achromatic color axis in the cubic region including the achromatic color axis. Then, the computer is caused to execute a step of adjusting the color conversion values of the three grid points so as to approach the color conversion value of the intersection of the plane passing through the three grid points and the achromatic color axis.

このような色変換テーブル作成プログラムによれば、第1の構成の色変換テーブルの作成方法を実現することができ、これにより前述した効果を得ることができる。
次に、第7の構成の色変換テーブル作成装置は、RGB色空間をRGB各方向で複数に分割した各立方体領域の頂点に当たる格子点のそれぞれに色変換値が登録された色変換テーブルを作成するためのものである。そして、この色変換テーブル作成装置は、立方体領域のうち無彩色軸を含むものにおいてその無彩色軸上の格子点に対してRGB各方向で隣り合う3つの格子点の色変換値の平均値が、それら3つの格子点を通る平面と無彩色軸との交点の色変換値に近づくように、それら3つの格子点の色変換値を調整する調整手段を備える。
According to such a color conversion table creation program, the color conversion table creation method of the first configuration can be realized, and thereby the above-described effects can be obtained.
Next, the color conversion table creation device of the seventh configuration creates a color conversion table in which color conversion values are registered at the respective lattice points corresponding to the vertices of each cubic region obtained by dividing the RGB color space into a plurality of RGB directions. Is to do. In this color conversion table creation device, the average value of the color conversion values of three lattice points adjacent to each other in the RGB directions with respect to the lattice points on the achromatic color axis in the cubic region including the achromatic color axis is obtained. And an adjusting means for adjusting the color conversion values of the three lattice points so as to approach the color conversion value of the intersection of the plane passing through the three lattice points and the achromatic color axis.

このような色変換テーブル作成装置によれば、第1の構成の色変換テーブルの作成方法を実現することができ、これにより前述した効果を得ることができる。 According to such a color conversion table creation device, the color conversion table creation method of the first configuration can be realized, and thereby the above-described effects can be obtained.

以下、本発明が適用された実施形態について、図面を用いて説明する。
[1.全体構成]
図1は、実施形態の色変換テーブル作成装置としてのパーソナルコンピュータ10の概略構成を表すブロック図である。
Embodiments to which the present invention is applied will be described below with reference to the drawings.
[1. overall structure]
FIG. 1 is a block diagram illustrating a schematic configuration of a personal computer 10 as a color conversion table creation apparatus according to an embodiment.

同図に示すように、パーソナルコンピュータ10は、制御部11と、操作部15と、表示部16と、USBインタフェース17と、通信部18と、記憶部19とを備えている。
制御部11は、CPU12、ROM13、RAM14等を中心に構成されており、パーソナルコンピュータ10を構成する各部を統括制御する。
As shown in the figure, the personal computer 10 includes a control unit 11, an operation unit 15, a display unit 16, a USB interface 17, a communication unit 18, and a storage unit 19.
The control unit 11 is configured mainly with the CPU 12, the ROM 13, the RAM 14, and the like, and comprehensively controls each unit constituting the personal computer 10.

操作部15は、ユーザからの外部操作による指令を入力するためのものであり、例えばキーボードやポインティングデバイス(マウス等)が用いられる。
表示部16は、各種情報をユーザが視認可能な画像として表示するためのものであり、例えば液晶ディスプレイが用いられる。
The operation unit 15 is for inputting a command by an external operation from a user, and for example, a keyboard or a pointing device (such as a mouse) is used.
The display unit 16 is for displaying various types of information as an image that can be visually recognized by the user. For example, a liquid crystal display is used.

USBインタフェース17は、USBケーブルを介したデータの送受信処理を行う。
通信部18は、ネットワークを介したデータの送受信処理を行う。本実施形態において、パーソナルコンピュータ10は、ネットワーク(本実施形態ではLAN:Local Area Network)を介してカラープリンタ40と通信可能な状態となっている。
The USB interface 17 performs data transmission / reception processing via a USB cable.
The communication unit 18 performs data transmission / reception processing via a network. In the present embodiment, the personal computer 10 can communicate with the color printer 40 via a network (LAN: Local Area Network in this embodiment).

記憶部19は、各種情報を記憶するためのものであり、例えばハードディスク装置が用いられる。そして、記憶部19には、オペレーティングシステム(OS)21と、後述するテーブル調整処理(図3)を制御部11に実行させるための色変換テーブル作成プログラム22とがインストールされている。   The storage unit 19 is for storing various information, and for example, a hard disk device is used. The storage unit 19 is installed with an operating system (OS) 21 and a color conversion table creation program 22 for causing the control unit 11 to execute a table adjustment process (FIG. 3) described later.

[2.テーブル調整処理の概要]
本実施形態のパーソナルコンピュータ10は、RGB色空間の色値をカラープリンタ40に依存するCMYK色空間の色値に変換するための色変換テーブルとして、RGB色空間をRGB各方向で8つ(8ビット(0〜255)の場合32ごと)に分割した各立方体領域の頂点に当たる格子点のそれぞれに色変換値(CMYK値)が登録された色変換テーブルを作成する。具体的には、従来の方法で作成した色変換テーブル(ベースとなる色変換テーブル)に対し、後述するテーブル調整処理を施すことにより作成する。なお、ベースとなる色変換テーブルの作成方法は特に限定されない。
[2. Overview of table adjustment process]
The personal computer 10 according to the present embodiment uses eight (8) RGB color spaces in each RGB direction as a color conversion table for converting RGB color space color values into CMYK color space color values depending on the color printer 40. A color conversion table is created in which color conversion values (CMYK values) are registered for each of the lattice points corresponding to the vertices of each cubic area divided into bits (every 32 in the case of bits (0 to 255)). Specifically, the color conversion table (base color conversion table) created by a conventional method is created by performing table adjustment processing described later. The method for creating the base color conversion table is not particularly limited.

すなわち、前述したように、従来の方法で作成した色変換テーブルは、立方体補間で補間計算を行うと、無彩色軸上の格子点以外の格子点も用いて補間計算が行われることにより、グレーのグラデーションの印刷結果に縞模様が生じることがあった(図7)。   That is, as described above, when the color conversion table created by the conventional method is subjected to interpolation calculation by cubic interpolation, the interpolation calculation is performed using grid points other than the grid points on the achromatic color axis. In some cases, a stripe pattern was generated in the gradation printing result (FIG. 7).

そこで、本実施形態では、ベースとなる色変換テーブルの格子点に登録された色変換値を調整することによりこの問題を解消する。
ここで、図9を用いて詳しく説明する。無彩色軸上の変換対象点の色変換値を立方体補間で求める場合には、無彩色軸上の2つの格子点A,Gを除く残りの6つの格子点のうち、格子点Aに対してRGB各方向で隣り合う3つの格子点B,D,Eの色変換値の重み係数(換言すれば、立方体領域の頂点である8つの格子点のそれぞれと変換対象点とを結ぶ線を対角線とする8つの直方体領域のうち、格子点B,D,Eのそれぞれと立方体領域の対角線上で対向する格子点を頂点とする直方体領域の体積)が等しくなり、同様に、格子点Gに対してRGB各方向で隣り合う3つの格子点C,F,Hの色変換値の重み係数も等しくなる。
Therefore, in the present embodiment, this problem is solved by adjusting the color conversion values registered at the grid points of the color conversion table as a base.
Here, it demonstrates in detail using FIG. When obtaining the color conversion value of the conversion target point on the achromatic color axis by cubic interpolation, among the remaining six grid points excluding the two grid points A and G on the achromatic color axis, Weight coefficients of color conversion values of three lattice points B, D, and E adjacent in each RGB direction (in other words, a line connecting each of the eight lattice points that are the vertices of the cubic region and the conversion target point is a diagonal line. Among the eight rectangular parallelepiped regions, the volume of the rectangular parallelepiped region having the vertexes of the lattice points facing each of the lattice points B, D, and E on the diagonal of the cube region are equal to each other. The weight coefficients of the color conversion values of the three lattice points C, F, and H adjacent in the RGB directions are also equal.

そこで、格子点B,D,Eの色変換値の和が面BDEと線分AGとの交点α(線分AG上におけるAから1:2の位置の点)の色変換値の3倍となるように(換言すれば、格子点B,D,Eの色変換値の平均値が交点αの色変換値となるように)、格子点B,D,Eの色変換値を調整する。また、同様に、格子点C,F,Hの色変換値の和が面CFHと線分AGとの交点β(線分AG上におけるAから2:1の位置の点)の色変換値の3倍となるように、格子点C,F,Hの色変換値を調整する。このように調整した色変換テーブルを用いれば、立方体補間で補間計算を行った場合にもグレーが良好に再現されることになる。   Therefore, the sum of the color conversion values of the grid points B, D, and E is three times the color conversion value of the intersection α of the plane BDE and the line segment AG (a point at a position 1: 2 on the line segment AG). In other words, the color conversion values of the grid points B, D, and E are adjusted so that the average value of the color conversion values of the grid points B, D, and E becomes the color conversion value of the intersection α. Similarly, the sum of the color conversion values of the lattice points C, F, and H is the color conversion value of the intersection β (the point at a position 2: 1 from A on the line segment AG) between the plane CFH and the line segment AG. The color conversion values of the grid points C, F, and H are adjusted so as to be tripled. If the color conversion table adjusted in this way is used, gray can be reproduced well even when interpolation calculation is performed by cubic interpolation.

ただし、このように色変換テーブルを調整して無彩色軸のバランスをとるようにすると、日本人の肌色に近いペールオレンジの色味に弊害が出る場合がある。
図2(b)に示すグラフは、図2(a)の画像(肌を撮影した画像)を構成する各画素の色値を、RGB色空間をRGB各方向で8分割した各立方体領域の頂点を格子点とする色変換テーブルにプロットしたものを、白(255,255,255)側から無彩色軸(グレー軸)方向に見たものである。白丸が無彩色軸、その周囲の黒丸が無彩色軸から1つ分ずれた軸、更にその周囲の丸が無彩色軸から2つ分ずれた軸を表す。
However, adjusting the color conversion table to balance the achromatic color axis may adversely affect the pale orange color that is close to the Japanese skin color.
The graph shown in FIG. 2B is a vertex of each cubic area obtained by dividing the color value of each pixel constituting the image (image obtained by photographing the skin) of FIG. Is plotted in a color conversion table having grid points as viewed from the white (255, 255, 255) side in the achromatic color axis (gray axis) direction. The white circle represents an achromatic color axis, the surrounding black circle represents an axis shifted by one from the achromatic color axis, and the surrounding circle represents an axis displaced by two from the achromatic color axis.

前述した調整が行われる格子点は、無彩色軸から1つ分ずれた軸上の格子点(黒丸)であり、その一部は肌色領域の補間計算に用いられることが分かる。つまり、肌色領域は、前述した調整による影響を受けると考えられる。   It can be seen that the grid points on which the above-described adjustment is performed are grid points (black circles) on an axis shifted by one from the achromatic color axis, and a part of the grid points is used for interpolation calculation of the skin color region. That is, the skin color region is considered to be affected by the adjustment described above.

具体的には、肌色領域に影響を与える格子点は、無彩色軸からR方向に1つ分ずれた位置に存在する格子点列(無彩色軸に平行な格子点の列)を構成する格子点Gaである。そこで、本実施形態では、この格子点Gaの色変換値の調整量(ベースとなる色変換テーブルからの変化量)を抑えるようにし、この格子点Gaで調整できなかった分は他の2つの格子点Gb,Gc(無彩色軸からG,B各方向に1つ分ずれた位置に存在する格子点)の色変換値の調整量に配分することで補うようにする。   Specifically, the grid points that affect the skin color region are grids that form a grid point array (a grid point array parallel to the achromatic color axis) that exists at a position shifted by one in the R direction from the achromatic color axis. It is point Ga. Therefore, in the present embodiment, the adjustment amount of the color conversion value of the lattice point Ga (the amount of change from the base color conversion table) is suppressed, and the amount that cannot be adjusted at the lattice point Ga is the other two. This is compensated by allocating to the adjustment amounts of the color conversion values of the grid points Gb and Gc (grid points existing at positions shifted by one in the G and B directions from the achromatic color axis).

[3.テーブル調整処理の具体的内容]
次に、色変換テーブル作成プログラム22に従い制御部11が実行するテーブル調整処理について、図3のフローチャートを用いて説明する。なお、このテーブル調整処理は、ベースとなる色変換テーブルに対する調整を実行するための操作が操作部15を介してユーザにより行われることで開始される。
[3. Specific contents of the table adjustment process]
Next, table adjustment processing executed by the control unit 11 in accordance with the color conversion table creation program 22 will be described with reference to the flowchart of FIG. This table adjustment process is started when the user performs an operation for adjusting the base color conversion table via the operation unit 15.

制御部11は、このテーブル調整処理を開始すると、まずS101で、すべての調整ポイントを処理したか否かを判定する。ここで、調整ポイントとは、RGB色空間をRGB各方向で8つに分割した立方体領域のうち無彩色軸を含むものに相当する。具体的には、図4に2次元で示すように、調整ポイント(点線で示す無彩色軸を含む立方体領域)は8箇所存在し、各調整ポイントについて点α、点βに関する調整を行うことになる。つまり、S101では、8箇所の調整ポイントのすべてを処理したか否かを判定する。なお、ここでいう処理とは、後述するS102〜S107の処理である。   When starting the table adjustment process, the control unit 11 first determines in S101 whether or not all adjustment points have been processed. Here, the adjustment point corresponds to a point including an achromatic color axis in a cubic region obtained by dividing the RGB color space into eight parts in each RGB direction. Specifically, as shown two-dimensionally in FIG. 4, there are eight adjustment points (cubic regions including the achromatic color axis indicated by dotted lines), and adjustments related to points α and β are performed for each adjustment point. Become. That is, in S101, it is determined whether all eight adjustment points have been processed. Note that the processing here is the processing of S102 to S107 described later.

そして、S101で、すべての調整ポイントを処理していない(未処理の調整ポイントが存在する)と判定した場合には、点α関連の処理(S102〜S104)へ移行する。
すなわち、まずS102では、格子点A,Gの値(色変換値)に基づき、無彩色軸上の点αの値(色変換値)を線形補間により求める。ここで、点αの値は、次の式(1)から求められる。
If it is determined in S101 that all adjustment points have not been processed (there are unprocessed adjustment points), the process proceeds to point α-related processing (S102 to S104).
That is, first, in S102, based on the values of the grid points A and G (color conversion values), the value of the point α (color conversion value) on the achromatic color axis is obtained by linear interpolation. Here, the value of the point α is obtained from the following equation (1).

点αの値=(点Aの値×2+点Gの値)/3 …式(1)
続いて、S103では、点αについての対象格子点B,D,Eの値(色変換値)を取得する。
Value of point α = (value of point A × 2 + value of point G) / 3 (1)
Subsequently, in S103, the values (color conversion values) of the target grid points B, D, and E for the point α are acquired.

続いて、S104では、対象格子点B,D,Eの値の和を点αの値の3倍に近づけるように対象格子点B,D,Eの値を調整する格子点値調整処理を実行する。なお、格子点値調整処理の具体的な内容については後述する(図5)。   Subsequently, in S104, a grid point value adjustment process is performed for adjusting the values of the target grid points B, D, and E so that the sum of the values of the target grid points B, D, and E approaches three times the value of the point α. To do. The specific contents of the grid point value adjustment processing will be described later (FIG. 5).

続いて、点β関連の処理(S105〜S107)へ移行する。
すなわち、まずS105では、格子点A,Gの値に基づき、無彩色軸上の点βの値を線形補間により求める。ここで、点βの値は、次の式(2)から求められる。
Subsequently, the process proceeds to point β-related processing (S105 to S107).
That is, first in S105, based on the values of the grid points A and G, the value of the point β on the achromatic axis is obtained by linear interpolation. Here, the value of the point β is obtained from the following equation (2).

点βの値=(点Aの値+点Gの値×2)/3 …式(2)
続いて、S106では、点βについての対象格子点C,F,Hの値を取得する。
続いて、S107では、対象格子点C,F,Hの値の和を点βの値の3倍に近づけるように対象格子点C,F,Hの値を調整する格子点値調整処理(図5)を実行する。その後、S101へ戻る。
Point β value = (Point A value + Point G value × 2) / 3 Formula (2)
Subsequently, in S106, the values of the target grid points C, F, and H for the point β are acquired.
Subsequently, in S107, a grid point value adjustment process for adjusting the values of the target grid points C, F, and H so that the sum of the values of the target grid points C, F, and H approaches three times the value of the point β (see FIG. 5) is executed. Thereafter, the process returns to S101.

なお、点α関連の処理(S102〜S104)及び点β関連の処理(S105〜S107)は、C,M,Y,Kの4色それぞれについて行われる。
そして、このようなS102〜S107の処理を8箇所の調整ポイントについて行うことにより、S101で、すべての調整ポイントを処理したと判定した場合には、本テーブル調整処理を終了する。
Note that the point α-related processing (S102 to S104) and the point β-related processing (S105 to S107) are performed for each of the four colors C, M, Y, and K.
Then, by performing the processes of S102 to S107 for the eight adjustment points, if it is determined in S101 that all the adjustment points have been processed, this table adjustment process is terminated.

次に、テーブル調整処理のS104,S107で実行される格子点値調整処理について、図5のフローチャートを用いて説明する。なお、この処理において、「点αの値」及び「点βの値」はいずれも「無彩色軸の値」と表現し、「対象格子点B,D,E」及び「対象格子点C,F,H」はいずれも単に「対象格子点」と表現する。   Next, the grid point value adjustment process executed in S104 and S107 of the table adjustment process will be described with reference to the flowchart of FIG. In this process, both “value of point α” and “value of point β” are expressed as “value of achromatic color axis”, and “target grid points B, D, E” and “target grid points C, Both “F, H” are simply expressed as “target grid points”.

制御部11は、この格子点値調整処理を開始すると、まずS201で、3つの対象格子点の値(色変換値)の和が0であるか否かを判定する。
そして、S201で、3つの対象格子点の値の和が0であると判定した場合には、S202へ移行し、対象格子点に無彩色軸の値を代入する。その後、本格子点値調整処理を終了する。
When starting the grid point value adjustment process, the control unit 11 first determines in S201 whether the sum of the values (color conversion values) of the three target grid points is zero.
If it is determined in S201 that the sum of the values of the three target grid points is 0, the process proceeds to S202, and the value of the achromatic axis is substituted for the target grid point. Thereafter, the lattice point value adjustment process is terminated.

一方、S201で、3つの対象格子点の値の和が0でないと判定した場合には、S203へ移行し、調整係数を算出する。ここで、調整係数とは、次の式(3)から求められる値である。なお、S201の処理により、式(3)の分母を0とする演算が行われることが防止される。   On the other hand, if it is determined in S201 that the sum of the values of the three target grid points is not 0, the process proceeds to S203, and an adjustment coefficient is calculated. Here, the adjustment coefficient is a value obtained from the following equation (3). Note that the process of S201 prevents the calculation of setting the denominator of Equation (3) to 0.

調整係数=無彩色軸の値×3/対象格子点の値の和 …式(3)
続いて、S204では、3つの対象格子点のすべてを処理したか否かを判定する。なお、ここでいう処理とは、後述するS205〜S210の処理である。
Adjustment coefficient = Achromatic color axis value × 3 / Sum of target grid point value Equation (3)
Subsequently, in S204, it is determined whether or not all three target grid points have been processed. In addition, the process here is a process of S205-S210 mentioned later.

そして、S204で、3つの対象格子点のすべてを処理していない(未処理の対象格子点が存在する)と判定した場合には、S205へ移行し、未調整の対象格子点のうちの1つを処理対象として選択し、その対象格子点の値を次の式(4)に従い調整する。つまり、対象格子点の値に調整係数を乗ずる。   If it is determined in S204 that all three target grid points have not been processed (there are unprocessed target grid points), the process proceeds to S205, in which one of the unadjusted target grid points is set. Is selected as a processing target, and the value of the target grid point is adjusted according to the following equation (4). That is, the value of the target grid point is multiplied by the adjustment coefficient.

対象格子点値=対象格子点値×調整係数 …式(4)
続いて、S206では、処理対象の対象格子点が肌色調整対象の格子点であるか否かを判定する。具体的には、前述したように、無彩色軸からR方向に+1ずれた格子点が肌色調整対象の格子点となる。
Target grid point value = Target grid point value × Adjustment coefficient Equation (4)
Subsequently, in S206, it is determined whether or not the processing target grid point is a skin color adjustment target grid point. Specifically, as described above, the lattice point shifted by +1 from the achromatic color axis in the R direction becomes the lattice point to be adjusted for skin color.

そして、S206で、処理対象の対象格子点が肌色調整対象の格子点でないと判定した場合には、S207へ移行し、その対象格子点の値が255よりも大きいか否かを判定する。本実施形態ではRGB値を8ビットで表しているので、数値の取り得る範囲は0〜255となる。つまり、S205での調整の結果、対象格子点の値が最大値である255を超えたか否かを判定している。   If it is determined in S206 that the target grid point to be processed is not a skin color adjustment target grid point, the process proceeds to S207 to determine whether the value of the target grid point is greater than 255. In this embodiment, since the RGB value is represented by 8 bits, the range that the numerical value can take is 0 to 255. That is, it is determined whether or not the value of the target grid point has exceeded the maximum value of 255 as a result of the adjustment in S205.

そして、S207で、対象格子点の値が255よりも大きいと判定した場合には、S208へ移行し、255を超えた量を超過量(調整しきれない量)として記憶する(超過量=対象格子点の調整後の値−255)。その後、S210へ移行する。   If it is determined in S207 that the value of the target grid point is larger than 255, the process proceeds to S208, and the amount exceeding 255 is stored as an excess amount (amount that cannot be adjusted) (excess amount = target). Value after adjustment of grid points -255). Thereafter, the process proceeds to S210.

一方、S207で、対象格子点の値が255よりも大きくない(255以下である)と判定した場合には、そのままS210へ移行する。
また、S206で、処理対象の対象格子点が肌色調整対象の格子点であると判定した場合には、S209へ移行し、調整量の調整を行った後、S210へ移行する。
On the other hand, if it is determined in S207 that the value of the target grid point is not greater than 255 (below 255 or less), the process proceeds to S210 as it is.
If it is determined in S206 that the processing target grid point is a skin color adjustment target grid point, the process proceeds to S209, and after adjusting the adjustment amount, the process proceeds to S210.

具体的には、超過量及び対象格子点値を次の式(5),(6)に従い求める。ここで、肌色調整係数とは、0〜1の範囲で設定される値であり、本実施形態では0.5に設定されている。なお、式(5),(6)から分かるように、肌色調整係数を0に設定した場合には、肌色調整対象の格子点は一切調整されないことになり、肌色の再現性が最優先される。逆に、肌色調整係数を1に設定した場合には、肌色調整対象以外の格子点と同様100%調整されることになり、グレーの再現性が最優先される。   Specifically, the excess amount and the target grid point value are obtained according to the following equations (5) and (6). Here, the skin color adjustment coefficient is a value set in the range of 0 to 1, and is set to 0.5 in the present embodiment. As can be seen from the equations (5) and (6), when the skin color adjustment coefficient is set to 0, the skin color adjustment target grid points are not adjusted at all, and skin color reproducibility is given the highest priority. . On the other hand, when the skin color adjustment coefficient is set to 1, 100% adjustment is performed in the same manner as the grid points other than the skin color adjustment target, and gray reproducibility is given the highest priority.

超過量
=(対象格子点の調整後の値−調整前の値)×(1.0−肌色調整係数) …式(5)
対象格子点値=対象格子点の調整前の値
+(対象格子点の調整後の値−調整前の値)×肌色調整係数 …式(6)
S210では、S208又はS209で求めた超過量に基づき、他の対象格子点への配分量を計算した後、S204へ戻る。本実施形態では、超過量を残り2つの対象格子点に等分配する。なお、この段階では、配分量を算出するだけであり、実際の配分は後述する処理(S211)で行う。
Excess amount = (value after adjustment of target grid point−value before adjustment) × (1.0−skin color adjustment coefficient) (5)
Target grid point value = value before adjustment of target grid point + (value after adjustment of target grid point−value before adjustment) × skin color adjustment coefficient Equation (6)
In S210, the distribution amount to other target lattice points is calculated based on the excess amount obtained in S208 or S209, and then the process returns to S204. In the present embodiment, the excess amount is equally distributed to the remaining two target grid points. At this stage, only the distribution amount is calculated, and the actual distribution is performed in the process (S211) described later.

そして、このようなS205〜S210の処理を3つの対象格子点について行うことにより、S204で、3つの対象格子点のすべてを処理したと判定した場合には、S211へ移行し、S210で算出した他の対象格子点への配分量の割り当てを行う。その後、本格子点値調整処理を終了する。なお、配分量の割り当ては、色変換値としてとり得る値の範囲(0〜255)で可能な限り行うこととする。つまり、0より少なくなる場合には0、255より多くなる場合には255とする。   If it is determined in S204 that all the three target grid points have been processed by performing the processes in S205 to S210 as described above, the process proceeds to S211 and is calculated in S210. Allocation amounts are allocated to other target grid points. Thereafter, the lattice point value adjustment process is terminated. The allocation amount is assigned as much as possible within the range of possible values (0 to 255) as the color conversion value. That is, 0 is set when it is less than 0, and 255 is set when it is greater than 255.

[4.効果]
以上説明したように、本実施形態のパーソナルコンピュータ10は、RGB→CMYK色変換テーブルの立方体領域のうち無彩色軸を含むものにおいてその無彩色軸上の格子点に対してRGB各方向で隣り合う3つの格子点の色変換値の平均値が、それら3つの格子点を通る平面と無彩色軸との交点の色変換値に近づくように、それら3つの格子点の色変換値を調整する。このような色変換テーブルの作成方法によれば、立方体補間で補間計算を行った場合にもグレーを良好に再現可能な色変換テーブルを作成することができる。
[4. effect]
As described above, the personal computer 10 of the present embodiment is adjacent to the grid points on the achromatic color axis in the RGB directions in the cubic region of the RGB → CMYK color conversion table including the achromatic color axis. The color conversion values of the three lattice points are adjusted so that the average value of the color conversion values of the three lattice points approaches the color conversion value of the intersection of the plane passing through the three lattice points and the achromatic color axis. According to such a color conversion table creation method, it is possible to create a color conversion table that can reproduce gray well even when interpolation calculation is performed by cubic interpolation.

しかも、3つの格子点のうち、肌色を表す色領域の補間計算に用いられる格子点については色変換値の調整量を抑えるようにしているため(S206:YES,S209)、肌色についても良好に再現することができる。   In addition, among the three grid points, the adjustment amount of the color conversion value is suppressed for the grid points used for the interpolation calculation of the color region representing the skin color (S206: YES, S209), so the skin color is also good. Can be reproduced.

[5.特許請求の範囲との対応]
なお、本実施形態のパーソナルコンピュータ10では、テーブル調整処理を実行する制御部11が調整手段に相当する。
[5. Correspondence with Claims]
In the personal computer 10 of the present embodiment, the control unit 11 that executes the table adjustment process corresponds to the adjustment unit.

[6.他の形態]
以上、本発明の実施形態について説明したが、本発明は、上記実施形態に限定されることなく、種々の形態を採り得ることは言うまでもない。
[6. Other forms]
As mentioned above, although embodiment of this invention was described, it cannot be overemphasized that this invention can take a various form, without being limited to the said embodiment.

例えば、上記実施形態では、RGB色空間をRGB各方向で8つに分割した各立方体領域の頂点に当たる格子点のそれぞれにCMYK値が登録された色変換テーブルを作成することを前提として説明したが、分割数はこれに限定されるものではない。特に、RGB色空間をRGB各方向で16以上に分割するようにすれば、図6に示すように、グレーを良好に再現するための調整が行われる無彩色軸から1つ分ずれた軸上の格子点(黒丸)が、肌色領域の補間計算に用いられないようになり、肌色領域がその調整による影響を受けなくなる。このため、この場合には、肌色調整対象の格子点を無くす(S206,S209の処理を不要とする)ことができる。ただし、例えば16分割とした場合、格子点の数は17×17×17となり、8分割の場合(9×9×9)に比べ、必要なメモリ容量や処理負荷が格段に増大してしまうことから、上記実施形態のように8分割としつつ肌色調整対象の格子点の調整量を抑えることによる効果は高い。   For example, the above embodiment has been described on the premise that a color conversion table in which CMYK values are registered at each of the lattice points corresponding to the vertices of each cubic area obtained by dividing the RGB color space into eight in each RGB direction has been described. The number of divisions is not limited to this. In particular, if the RGB color space is divided into 16 or more in each of the RGB directions, as shown in FIG. 6, the axis is shifted by one from the achromatic color axis on which the adjustment for reproducing gray is performed satisfactorily. Grid points (black circles) are not used for the interpolation calculation of the skin color area, and the skin color area is not affected by the adjustment. For this reason, in this case, it is possible to eliminate the lattice points for skin color adjustment (the processing in S206 and S209 is unnecessary). However, for example, in the case of 16 divisions, the number of grid points is 17 × 17 × 17, and the required memory capacity and processing load are significantly increased compared to the case of 8 divisions (9 × 9 × 9). Therefore, the effect of suppressing the adjustment amount of the lattice point of the skin color adjustment target while being divided into 8 as in the above embodiment is high.

また、上記実施形態では、肌色を表す色領域に影響を与える格子点の調整量を抑えるようにしているが、これに限定されるものではなく、肌色以外の色領域について同様の処理を行うことも可能である。ただし、人物の撮影画像等では、特に肌色への影響が目立ちやすいことから、少なくとも肌色への影響を抑えることが好ましい。   In the above embodiment, the adjustment amount of the grid points that affect the color area representing the skin color is suppressed. However, the present invention is not limited to this, and the same processing is performed for the color area other than the skin color. Is also possible. However, it is preferable to suppress at least the influence on the skin color since the influence on the skin color is particularly noticeable in a photographed image of a person.

さらに、上記実施形態では、RGB→CMYKの色変換テーブルを作成することを前提に説明したが、これに限定されるものではなく、CMYK以外に変換する色変換テーブルを作成する場合にも同様に実施可能である。   Furthermore, in the above embodiment, the description has been made on the assumption that a color conversion table of RGB → CMYK is created. However, the present invention is not limited to this, and the same applies to the case of creating a color conversion table for conversion to other than CMYK. It can be implemented.

一方、上記実施形態では、テーブル調整処理をパーソナルコンピュータ10側で行う構成を例示したが、これに限定されるものではなく、例えばカラープリンタ40側で行うようにすることも可能である。例えば、カラープリンタ40が、ベースとなる色変換テーブルをあらかじめ記憶しており、必要に応じてその色変換テーブルにテーブル調整処理を施すようにすることが可能である。   On the other hand, in the above-described embodiment, the configuration in which the table adjustment process is performed on the personal computer 10 side is illustrated, but the present invention is not limited to this. For example, the table adjustment process may be performed on the color printer 40 side. For example, the color printer 40 stores a base color conversion table in advance, and can perform table adjustment processing on the color conversion table as necessary.

実施形態のパーソナルコンピュータの概略構成を表すブロック図である。It is a block diagram showing schematic structure of the personal computer of embodiment. 肌色の色味に弊害が出る問題を説明するための説明図である。It is explanatory drawing for demonstrating the problem which has a bad effect on the color of a skin color. テーブル調整処理のフローチャートである。It is a flowchart of a table adjustment process. 調整ポイントの説明図である。It is explanatory drawing of an adjustment point. 格子点値調整処理のフローチャートである。It is a flowchart of a lattice point value adjustment process. RGB色空間をRGB各方向で16分割した場合のグラフである。It is a graph at the time of dividing RGB color space into 16 in each RGB direction. グレーのグラデーションの印刷結果の説明図である。It is explanatory drawing of the printing result of a gray gradation. グレーのグラデーションに縞模様が生じる原因を2次元で説明するための説明図である。It is explanatory drawing for demonstrating the cause which a striped pattern arises in a gray gradation in two dimensions. グレーのグラデーションに縞模様が生じる原因を3次元で説明するための説明図である。It is explanatory drawing for demonstrating the cause which a striped pattern arises in a gray gradation in three dimensions.

符号の説明Explanation of symbols

10…パーソナルコンピュータ、11…制御部、12…CPU、13…ROM、14…RAM、15…操作部、16…表示部、17…USBインタフェース、18…通信部、19…記憶部、21…OS、22…色変換テーブル作成プログラム、40…カラープリンタ   DESCRIPTION OF SYMBOLS 10 ... Personal computer, 11 ... Control part, 12 ... CPU, 13 ... ROM, 14 ... RAM, 15 ... Operation part, 16 ... Display part, 17 ... USB interface, 18 ... Communication part, 19 ... Memory | storage part, 21 ... OS 22 ... Color conversion table creation program, 40 ... Color printer

Claims (7)

RGB色空間をRGB各方向で複数に分割した各立方体領域の頂点に当たる格子点のそれぞれに色変換値が登録された色変換テーブルの作成方法であって、
前記立方体領域のうち無彩色軸を含むものにおいてその無彩色軸上の格子点に対してRGB各方向で隣り合う3つの格子点の色変換値の平均値が、それら3つの格子点を通る平面と無彩色軸との交点の色変換値と等しくなるように、それら3つの格子点の色変換値を調整すること
を特徴とする色変換テーブルの作成方法。
A method for creating a color conversion table in which color conversion values are registered at each of the lattice points corresponding to the vertices of each cubic region obtained by dividing the RGB color space into a plurality of RGB directions,
A plane in which the average value of the color conversion values of three lattice points adjacent to each other in the RGB direction with respect to the lattice point on the achromatic color axis in the cubic region including the achromatic color axis passes through the three lattice points. A method of creating a color conversion table, characterized in that the color conversion values of the three grid points are adjusted so as to be equal to the color conversion value of the intersection of the achromatic color axis.
前記3つの格子点のうち、特定の色領域の補間計算に用いられる格子点については、色変換値の調整量を抑えること
を特徴とする請求項1に記載の色変換テーブルの作成方法。
The color conversion table creation method according to claim 1, wherein an adjustment amount of a color conversion value is suppressed for a lattice point used for interpolation calculation of a specific color region among the three lattice points.
前記特定の色領域は、肌色を表す色領域であること
を特徴とする請求項2に記載の色変換テーブルの作成方法。
The color conversion table creation method according to claim 2, wherein the specific color area is a color area representing a skin color.
前記立方体領域は、RGB色空間をRGB各方向で8つに分割したものであり、
肌色を表す色領域の補間計算に用いられる格子点とは、無彩色軸に平行な格子点列のうち、無彩色軸からR方向に1つ分ずれた位置に存在する格子点列を構成する格子点であること
を特徴とする請求項3に記載の色変換テーブルの作成方法。
The cubic region is obtained by dividing the RGB color space into eight in each direction of RGB,
The grid points used for the interpolation calculation of the color region representing the skin color constitute a grid point sequence existing at a position shifted by one in the R direction from the achromatic color axis among the grid point sequences parallel to the achromatic color axis. The color conversion table creation method according to claim 3, wherein the color conversion table is a grid point.
RGB色空間をRGB各方向で複数に分割した各立方体領域の頂点に当たる格子点のそれぞれに色変換値が登録された色変換テーブルであって、
前記立方体領域のうち無彩色軸を含むものにおいてその無彩色軸上の格子点に対してRGB各方向で隣り合う3つの格子点の色変換値の平均値が、それら3つの格子点を通る平面と無彩色軸との交点の色変換値と等しくなるように調整されていること
を特徴とする色変換テーブル。
A color conversion table in which color conversion values are registered in each of the lattice points corresponding to the vertices of each cubic region obtained by dividing the RGB color space into a plurality of RGB directions,
A plane in which the average value of the color conversion values of three lattice points adjacent to each other in the RGB direction with respect to the lattice point on the achromatic color axis in the cubic region including the achromatic color axis passes through the three lattice points. A color conversion table characterized by being adjusted to be equal to the color conversion value at the intersection of the achromatic color axis.
RGB色空間をRGB各方向で複数に分割した各立方体領域の頂点に当たる格子点のそれぞれに色変換値が登録された色変換テーブルを作成するためのステップをコンピュータに実行させるための色変換テーブル作成プログラムであって、
前記立方体領域のうち無彩色軸を含むものにおいてその無彩色軸上の格子点に対してRGB各方向で隣り合う3つの格子点の色変換値の平均値が、それら3つの格子点を通る平面と無彩色軸との交点の色変換値と等しくなるように、それら3つの格子点の色変換値を調整するステップをコンピュータに実行させること
を特徴とする色変換テーブル作成プログラム。
Creation of a color conversion table for causing a computer to execute a step for creating a color conversion table in which color conversion values are registered at the respective lattice points corresponding to the vertices of each cubic area obtained by dividing the RGB color space into a plurality of RGB directions. A program,
A plane in which the average value of the color conversion values of three lattice points adjacent to each other in the RGB direction with respect to the lattice point on the achromatic color axis in the cubic region including the achromatic color axis passes through the three lattice points. A color conversion table creation program that causes a computer to execute a step of adjusting the color conversion values of the three grid points so as to be equal to the color conversion value of the intersection of the color axis and the achromatic color axis.
RGB色空間をRGB各方向で複数に分割した各立方体領域の頂点に当たる格子点のそれぞれに色変換値が登録された色変換テーブルを作成する色変換テーブル作成装置であって、
前記立方体領域のうち無彩色軸を含むものにおいてその無彩色軸上の格子点に対してRGB各方向で隣り合う3つの格子点の色変換値の平均値が、それら3つの格子点を通る平面と無彩色軸との交点の色変換値と等しくなるように、それら3つの格子点の色変換値を調整する調整手段を備えること
を特徴とする色変換テーブル作成装置。
A color conversion table creation device for creating a color conversion table in which color conversion values are registered at each of the lattice points corresponding to the vertices of each cubic region obtained by dividing the RGB color space into a plurality of RGB directions,
A plane in which the average value of the color conversion values of three lattice points adjacent to each other in the RGB direction with respect to the lattice point on the achromatic color axis in the cubic region including the achromatic color axis passes through the three lattice points. A color conversion table creating apparatus comprising adjusting means for adjusting the color conversion values of the three grid points so that the color conversion values at the intersections of the color axis and the achromatic color axis are equal .
JP2008215412A 2008-08-25 2008-08-25 Color conversion table creation method, color conversion table, color conversion table creation program, and color conversion table creation device Active JP4905425B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008215412A JP4905425B2 (en) 2008-08-25 2008-08-25 Color conversion table creation method, color conversion table, color conversion table creation program, and color conversion table creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008215412A JP4905425B2 (en) 2008-08-25 2008-08-25 Color conversion table creation method, color conversion table, color conversion table creation program, and color conversion table creation device

Publications (2)

Publication Number Publication Date
JP2010050894A JP2010050894A (en) 2010-03-04
JP4905425B2 true JP4905425B2 (en) 2012-03-28

Family

ID=42067586

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008215412A Active JP4905425B2 (en) 2008-08-25 2008-08-25 Color conversion table creation method, color conversion table, color conversion table creation program, and color conversion table creation device

Country Status (1)

Country Link
JP (1) JP4905425B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1084492A (en) * 1996-09-10 1998-03-31 Canon Inc Data converter and data conversion method
JP3446497B2 (en) * 1996-10-14 2003-09-16 松下電器産業株式会社 Color conversion method
JP3664364B2 (en) * 1998-11-26 2005-06-22 富士通株式会社 Color conversion method
JP2002171419A (en) * 2000-11-30 2002-06-14 Matsushita Electric Ind Co Ltd Color conversion device and method, and recording medium

Also Published As

Publication number Publication date
JP2010050894A (en) 2010-03-04

Similar Documents

Publication Publication Date Title
JP4645662B2 (en) Color conversion table creation program, interpolation calculation program, color conversion table creation method, interpolation calculation method, color conversion device, and printing device
US7990575B2 (en) Color processing apparatus and method for performing gamut mapping
US20220309630A1 (en) Perceptually Accurate Image Rendering
US7440136B2 (en) Color processing apparatus and method
JP5299232B2 (en) Color conversion table creation program, color conversion table creation device, and color conversion table creation method
JP5025323B2 (en) Color processing apparatus and method
KR100510308B1 (en) Image processing device
JP2005286904A (en) Device link profile making method, its device and image processing device
JP2876853B2 (en) Color converter
JP4905425B2 (en) Color conversion table creation method, color conversion table, color conversion table creation program, and color conversion table creation device
JP2011019030A (en) Conversion profile generation method and printer
JP2010114532A (en) Color processor and method therefor
JP4992023B2 (en) Apparatus and method for color conversion
JP4853270B2 (en) Color gamut generation device, color gamut generation method, and color gamut generation program
JP4345026B2 (en) Image processing program and image processing apparatus
JPH0814843B2 (en) Color conversion method and color conversion device
JPH0799586A (en) Color conversion device
JP2009296139A (en) Image processor, image processing method and computer program
JP6740729B2 (en) Data conversion device, data conversion method, and data conversion program
JP6420919B2 (en) Color processing apparatus and method
JP2006033245A (en) Color reproduction information generating device and smoothing designating information generating device
JP4930473B2 (en) Color conversion table creation method, color conversion table, color conversion table creation program, and color conversion table creation device
JP2005167503A (en) Image processor and image forming apparatus provided with the same
JP6446898B2 (en) Image processing apparatus, image forming apparatus, image processing method, and program thereof
JP2005176202A (en) Color reproduction editing apparatus and method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100325

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110928

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111004

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111114

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: 20111213

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111226

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150120

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4905425

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150