JP4548261B2 - Color prediction method, color prediction apparatus, and color prediction program - Google Patents
Color prediction method, color prediction apparatus, and color prediction program Download PDFInfo
- Publication number
- JP4548261B2 JP4548261B2 JP2005217920A JP2005217920A JP4548261B2 JP 4548261 B2 JP4548261 B2 JP 4548261B2 JP 2005217920 A JP2005217920 A JP 2005217920A JP 2005217920 A JP2005217920 A JP 2005217920A JP 4548261 B2 JP4548261 B2 JP 4548261B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- color space
- color
- principal component
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Description
本発明は、オリジナル画像から該画像に対する等価画像を形成するための入出力カラーデバイスなどのデバイスにおける色予測方法、色予測装置及び、色予測プログラムに関する。 The present invention relates to a color prediction method, a color prediction apparatus, and a color prediction program in a device such as an input / output color device for forming an equivalent image for the image from an original image.
デジタルカメラ、カラースキャナ、カラープリンタ、カラーディスプレイなどの各種のカラーデバイスが普及し、幅広く使用されており、色に対する要求も高くなっている。特に、DTP(Desk Top Publishing)などの分野においては、再現性などの要求が高くなっている。 Various color devices such as digital cameras, color scanners, color printers, color displays and the like are widespread and widely used, and demands for colors are increasing. In particular, in fields such as DTP (Desk Top Publishing), there is a high demand for reproducibility.
このために、DTPシステムでは、CMS(カラーマネージメントシステム)が必要不可欠となっている。CMS技術には、ICC(International Color Consortium)プロファイルに代表されるカラープロファイルが用いられ、LUTの格子点データを決定し、各種の補間処理などを適用して色補正を行うようにしている。 For this reason, in the DTP system, a CMS (color management system) is indispensable. In the CMS technique, a color profile represented by an ICC (International Color Consortium) profile is used. LUT lattice point data is determined, and various interpolation processes are applied to perform color correction.
このとき、CMS技術では、デバイスに依存する色空間(デバイス依存の色空間)と、デバイスに依存しない色空間(デバイス非依存の色空間)を対として、デバイス依存の色空間とデバイス非依存の色空間の間で色変換を行うようにしている。 At this time, in the CMS technique, a device-dependent color space (device-dependent color space) and a device-independent color space (device-independent color space) are paired, and the device-dependent color space and the device-independent color space are paired. Color conversion is performed between color spaces.
例えば、出力デバイスの一つであるプリンタでは、デバイス依存の色空間がCMY色空間であり、入力デバイスの一つであるカラースキャナでは、デバイス依存の色空間がRGB色空間である。また、デバイス非依存の色空間としては、均等色空間であるL*a*b*色空間、L*u*v*色空間、三刺激値であるXYZ色空間などがある。 For example, in a printer that is one of output devices, a device-dependent color space is a CMY color space, and in a color scanner that is one of input devices, a device-dependent color space is an RGB color space. The device-independent color space includes an L * a * b * color space that is a uniform color space, an L * u * v * color space, and an XYZ color space that is a tristimulus value.
一方、出力デバイスの出力特性(又は入力デバイスの入力特性)は、多数のカラーパッチの出力(又は入力)を行ってベースデータを取得することにより、このベースデータから得ることができる。また、LUT格子点を予測する色予測モデルとして、このベースデータからニューロ、多項式演算、回帰演算、補間演算などを用いる方法が提案されている(例えば、特許文献1、特許文献2参照。)。 On the other hand, the output characteristics (or input characteristics of the input device) of the output device can be obtained from the base data by outputting (or inputting) a large number of color patches and acquiring the base data. Further, as a color prediction model for predicting LUT lattice points, a method using a neuro, a polynomial operation, a regression operation, an interpolation operation, or the like from this base data has been proposed (for example, see Patent Document 1 and Patent Document 2).
特許文献1は、回帰演算をベースとする色予測を提案しており、色予測を行うときに、被予測値とベースデータの距離に応じてベースデータに重み付けし、パラメータとして設定するようにしている。 Patent Document 1 proposes color prediction based on regression calculation. When color prediction is performed, the base data is weighted according to the distance between the predicted value and the base data and set as a parameter. Yes.
また、特許文献2では、第1の色空間の任意の色信号を、第2の色空間の色信号に変換するときに、複数のカラーパッチを有するカラーチャートを、第1の色空間の色信号として出力し、このカラーチャートを読み取ることにより得られる第1の色空間の色信号の少なくとも一次項を第1の説明変数群として求めて主成分分析し、相互の説明変数が直交する第2の説明変数群に変換する。 In Patent Document 2, when an arbitrary color signal in the first color space is converted into a color signal in the second color space, a color chart having a plurality of color patches is converted to a color in the first color space. Output as a signal, and at least a primary term of the color signal of the first color space obtained by reading this color chart is obtained as a first explanatory variable group, and a principal component analysis is performed. To the explanatory variable group.
続いて、カラーチャートの各カラーパッチの各測色値を目的変数群として、この目的変数群と第2の説明変数群を重回帰分析して、偏回帰係数のマトリックスを求め、第1の色空間の任意の色信号に対して、偏回帰係数のマトリックスを査証させることにより、第2の色空間の色信号に変換させている。 Subsequently, each colorimetric value of each color patch of the color chart is set as an objective variable group, and the objective variable group and the second explanatory variable group are subjected to multiple regression analysis to obtain a matrix of partial regression coefficients , and the first color An arbitrary color signal in a space is converted into a color signal in a second color space by verifying a matrix of partial regression coefficients .
ところで、例えばカラーパッチを出力するデータは、デバイス依存の色空間(例えばCMY色空間)とデバイス非依存の色空間(例えば、L*a*b*色空間)との対で取得される。このとき、デバイス(例えばプリンタ)によっては、色領域ごとの1次色や2次色の違いによりリトランスファーなどが影響し、デバイス非依存の空間で、データとしてのかなりの偏りが生じる。また、色空間のデータは、色空間ごとに色空間軸に対する感度が異なる。このために、デバイス非依存のデータとして得られるL*a*b*色空間では、デバイスの特徴を十分に表現できない可能性があり、LUT格子点予測時に十分な精度が得られなくなるなどのCMSにおける精度上の問題が生じる。 By the way, for example, data for outputting a color patch is acquired as a pair of a device-dependent color space (for example, CMY color space) and a device-independent color space (for example, L * a * b * color space). At this time, depending on the device (for example, a printer), retransfer or the like is affected by the difference between the primary color and the secondary color for each color region, and a considerable bias as data occurs in a device-independent space. The color space data has different sensitivities to the color space axis for each color space. For this reason, in the L * a * b * color space obtained as device-independent data, there is a possibility that the characteristics of the device may not be sufficiently expressed, and a CMS such as insufficient accuracy can be obtained at the time of LUT lattice point prediction. There is a problem with accuracy.
L*、a*、b*は、三次元空間上の点となって与えられるが、予測するデータの重みは、L*軸、a*軸、b*軸が共に均一であるが、例えば黒色を予測する場合、L*軸のデータが最も重要であることは直感的に認識でき、a*軸、b*軸による色の差は、各種の要因によるノイズ項を含んでいる可能性が高い。このために、L*軸、a*軸、b*軸の重みを均等にすることは、予測上の精度に影響を及ぼしてしまうことがある。 L *, a *, and b * are given as points on a three-dimensional space, and the weight of data to be predicted is uniform on the L * axis, a * axis, and b * axis. Can be intuitively recognized that the L * -axis data is the most important, and the color difference between the a * -axis and the b * -axis is likely to include noise terms due to various factors. . For this reason, equalizing the weights of the L * axis, the a * axis, and the b * axis may affect the prediction accuracy.
前記した特許文献1の提案では、L*軸、a*軸、b*軸の各軸のそれぞれに対するデータ的な重みは存在せず、均一の重みでパラメータを予測するようにしており、このために、デバイスに応じた色空間での色予測が困難となっている。 In the proposal of Patent Document 1 described above, there is no data weight for each of the L * axis, a * axis, and b * axis, and the parameters are predicted with uniform weights. In addition, color prediction in a color space according to the device is difficult.
また、特許文献2では、デバイスごとに生じるデバイス非依存の色空間での分布の偏りに対しては、デバイスごとに取得されるベースデータの情報量を活かしきれない。また、偏回帰係数を求めるときに、色ごとに精度重みを付け、その色に対する予測精度の向上を図るようにしているが、精度上で問題となるグレイ部分や肌色などの予測精度を上げるために重み係数を用いているが、その重み係数は、経験値によるところが大きい。
本発明は上記事実に鑑みてなされたものであり、1次色や2次色などのデバイス依存の色空間での色空間軸上又は2本の色空間軸を含む平面上の色である純色を高精度で再現可能とする色予測方法、色予測装置及び色予測プログラムを提供することを目的とする。 The present invention has been made in view of the aforementioned, 1 Tsugishoku and solid colors is the color on the plane including the color space axis of the color space axis or two in the color space of the device-dependent, such as secondary color An object of the present invention is to provide a color prediction method, a color prediction apparatus, and a color prediction program that can reproduce the above with high accuracy.
上記目的を達成する請求項1の色予測方法は、画像を出力するデバイスについて色予測する色予測方法であって、前記デバイスについての、デバイス依存の色空間のデータとデバイス非依存の色空間である第一の色空間のデータとの対応関係を記したベースデータを有し、前記画像の画像データから前記デバイス依存の色空間の色空間軸上又は2本の色空間軸を含む平面上に位置する限定色である限定色データを選択し、前記選択した限定色データのそれぞれについて、前記ベースデータから対応する限定色に該当する前記第一の色空間のデータ群を抽出し、前記抽出した前記第一の色空間のデータ群のそれぞれに対して、主成分分析法による主成分ベクトル及び主成分寄与率を取得して、前記第一の色空間における前記主成分ベクトルを軸とする第二の色空間について、前記デバイス依存の色空間のデータと前記第二の色空間のデータとの対応関係を記した色空間軸変換ベースデータを取得し、前記色空間軸変換ベースデータ及び前記主成分寄与率を用いて、前記限定色データのそれぞれについて前記第二の色空間における変換色空間軸予測データを予測し、前記変換色空間軸予測データを前記第一の色空間のデータに変換する。 Color predicting method according to claim 1 to achieve the above object, a color prediction process for color prediction for a device for outputting an image, the information on the device, the data and device-independent color space of the device-dependent color space has a base data that describes the correspondence between the data of the first color space is, the color space axis of the device-dependent color space from the image data of the image or two on a plane including a color space axis select limited color data is a limited color which is located, for each of the limited color data to which the selected extracts data group of the first color space corresponding to the limited color corresponding from the base data, the extraction for each data group of the first color space, to obtain the principal component vectors and principal component contribution rate by principal component analysis, the shaft the principal component vector in said first color space The second color space to obtain a color space axis transform-based data that describes the correspondence between the data of the data and the second color space of the device-dependent color space, the color space axis transform based data and data of the using principal component contribution ratio to predict the transformation color space axis prediction data in said second color space for each of the limited color data, the first color space forecasts the converted color space axis before Symbol that converts to.
また、請求項2の色予測方法は、画像を出力するデバイスについて色予測する色予測方法であって、前記デバイスについての、デバイス依存の色空間のデータとデバイス非依存の色空間である第一の色空間のデータとの対応関係を記したベースデータ及び、前記デバイス依存の色空間における目標色のデータと前記第一の色空間との対応関係を記した目標色データベースを有し、前記画像の画像データから前記デバイス依存の色空間の色空間軸上又は2本の色空間軸を含む平面上に位置する限定色である限定色データを選択し、前記選択した限定色データのそれぞれについて、前記ベースデータから対応する前記限定色に該当する前記第一の色空間のデータ群を抽出し、前記選択した限定色データのそれぞれについて、前記目標色ベースデータから対応する前記限定色に該当する前記第一の色空間のデータである目標色データ群を抽出して、前記抽出した前記第一の色空間のデータ群のそれぞれに対して、主成分分析法による主成分ベクトル及び主成分寄与率を取得して、前記第一の色空間における前記主成分ベクトルを軸とする第二の色空間について、前記デバイス依存の色空間のデータと前記第二の色空間のデータとの対応関係を記した色空間軸変換ベースデータを取得し、前記第二の色空間について、前記抽出した目標色データ群に対して、主成分分析法による前記選択した限定色データに基づいた主成分ベクトルを用いて色空間軸の変換を行うことにより、前記デバイス依存の色空間の前記目標色のデータと前記第二の色空間のデータとの対応関係を記した色空間軸変換目標ベースデータを取得し、前記色空間軸変換目標ベースデータを用いて、前記限定色データのそれぞれについて前記第二の色空間における変換色空間軸予測データに変換し、変換した該変換色空間軸予測データを、前記色空間軸変換ベースデータ及び前記主成分寄与率を用いて、前記デバイス依存の色空間のデータに変換する。 The color prediction method according to claim 2 is a color prediction method for performing color prediction for a device that outputs an image, and is a device-dependent color space data and a device-independent color space for the device. Base data describing the correspondence with the data of the color space of the image, and the target color database describing the correspondence between the data of the target color in the device-dependent color space and the first color space, and the image For each of the selected limited color data, the limited color data that is a limited color located on the color space axis of the device-dependent color space or on the plane including the two color space axes is selected from the image data of A data group of the first color space corresponding to the limited color corresponding to the base data is extracted, and the target color base data is extracted for each of the selected limited color data. A target color data group that is data of the first color space corresponding to the limited color corresponding thereto is extracted, and a principal component analysis method is performed on each of the extracted data groups of the first color space. To obtain a principal component vector and a principal component contribution ratio of the device-dependent color space data and the second color for the second color space with the principal component vector in the first color space as an axis. Color space axis conversion base data describing the correspondence with the space data is acquired, and the selected limited color data by the principal component analysis method for the extracted target color data group for the second color space A color space axis describing a correspondence relationship between the target color data in the device-dependent color space and the data in the second color space by converting the color space axis using a principal component vector based on Conversion eyes Base data is obtained, and each of the limited color data is converted into converted color space axis prediction data in the second color space using the color space axis conversion target base data, and the converted color space axis prediction converted Data is converted into the device-dependent color space data using the color space axis conversion base data and the principal component contribution rate.
請求項3の色予測方法は、請求項1又は請求項2において、前記限定色データが次元数n(nは1または2)のデータであり、前記主成分ベクトルのうち分散の大きいものから順にn個の主成分ベクトルを選択し、前記色空間軸変換ベースデータは、前記選択された主成分ベクトルを軸とする次元数nの色空間軸変換ベースデータである。 A color prediction method according to a third aspect is the color prediction method according to the first or second aspect, wherein the limited color data is data of a dimensionality n (n is 1 or 2) , and the principal component vectors in descending order of variance. n principal component vectors are selected, and the color space axis conversion base data is color space axis conversion base data of dimension n with the selected principal component vector as an axis.
請求項4の色予測装置は、画像を出力するデバイスについて色予測する色予測装置であって、前記デバイスについての、デバイス依存の色空間のデータとデバイス非依存の色空間である第一の色空間のデータとの対応関係を記したベースデータを格納したベースデータ格納手段と、前記画像の画像データから前記デバイス依存の色空間の色空間軸上又は2本の色空間軸を含む平面上に位置する限定色である限定色データを選択する限定色選択手段と、前記選択した限定色データのそれぞれについて、前記ベースデータから対応する前記限定色に該当する前記第一の色空間のデータ群を抽出する限定色抽出手段と、前記抽出した前記第一の色空間のデータ群のそれぞれに対して、主成分分析法による主成分ベクトル及び主成分寄与率を取得する色空間軸取得手段と、前記第一の色空間における前記主成分ベクトルを軸とする第二の色空間について、前記デバイス依存の色空間のデータと前記第二の色空間のデータとの対応関係を記した色空間軸変換ベースデータを取得する色空間軸変換ベースデータ取得手段と、前記色空間軸変換ベースデータ及び前記主成分寄与率を用いて、前記限定色データのそれぞれについて前記第二の色空間における変換色空間軸予測データを予測する予測変換手段と、前記変換色空間軸予測データを前記第一の色空間のデータに変換する変換する変換手段と、を含む。
また、請求項5の色予測装置は、請求項4において、前記限定色データが次元数n(nは1または2)のデータであり、前記色空間軸取得手段が、前記主成分ベクトルのうち分散の大きいものから順にn個の主成分ベクトルを選択し、前記予測変換手段が、前記色空間軸変換ベースデータを、前記選択された主成分ベクトルを軸とする次元数nの色空間軸変換ベースデータとして利用する。
The color prediction apparatus according to claim 4 is a color prediction apparatus that performs color prediction for a device that outputs an image, and the first color that is a device-dependent color space data and a device-independent color space for the device. Base data storage means for storing base data describing a correspondence relationship with space data, and on the color space axis of the device-dependent color space or on a plane including two color space axes from the image data of the image For each of the selected limited color data, a limited color selection unit that selects limited color data that is a limited color to be positioned, and a data group of the first color space corresponding to the limited color corresponding to the base data. The principal component vector and the principal component contribution rate are obtained by the principal component analysis method for each of the limited color extracting means to extract and the extracted data group of the first color space. A correspondence relationship between the device-dependent color space data and the second color space data for the space axis acquisition means and the second color space with the principal component vector in the first color space as an axis. Color space axis conversion base data acquisition means for acquiring the described color space axis conversion base data, and the second color for each of the limited color data using the color space axis conversion base data and the principal component contribution rate Prediction conversion means for predicting conversion color space axis prediction data in space, and conversion means for converting the conversion color space axis prediction data into data of the first color space.
According to a fifth aspect of the present invention, there is provided the color predicting apparatus according to the fourth aspect, wherein the limited color data is data of a dimensionality n (n is 1 or 2) , and the color space axis acquisition means includes the principal component vector. N principal component vectors are selected in descending order of variance, and the predictive conversion means converts the color space axis conversion base data into a color space axis conversion of n dimensions with the selected principal component vector as an axis. Use as base data.
また、請求項6の色予測装置は、画像を出力するデバイスについて色予測する色予測装置であって、前記デバイスについての、デバイス依存の色空間のデータとデバイス非依存の色空間である第一の色空間のデータとの対応関係を記したベースデータを格納したベースデータ格納手段と、前記デバイス依存の色空間における目標色のデータと前記第一の色空間との対応関係を記した目標色データベースを格納した目標色ベースデータ格納手段と、前記画像の画像データから前記デバイス依存の色空間の色空間軸上又は2本の色空間軸を含む平面上に位置する限定色である限定色データを選択する限定色選択手段と、前記選択した限定色データのそれぞれについて、前記ベースデータから対応する前記限定色に該当する前記第一の色空間のデータ群を抽出する限定色抽出手段と、前記選択した限定色データのそれぞれについて、前記目標色ベースデータから対応する前記限定色に該当する前記第一の色空間のデータである目標色データ群を抽出する目標色抽出手段と、前記抽出した前記第一の色空間のデータ群のそれぞれに対して、主成分分析法による主成分ベクトル及び主成分寄与率を取得する色空間軸取得手段と、前記第一の色空間における前記主成分ベクトルを軸とする第二の色空間について、前記デバイス依存の色空間のデータと前記第二の色空間のデータとの対応関係を記した色空間軸変換ベースデータを取得する色空間軸変換ベースデータ取得手段と、前記第二の色空間について、前記抽出した目標色データ群に対して、主成分分析法による前記選択した限定色データに基づいた主成分ベクトルを用いて色空間軸の変換を行うことにより、前記デバイス依存の色空間の前記目標色のデータと前記第二の色空間のデータとの対応関係を記した色空間軸変換目標ベースデータを取得する色空間軸変換目標ベースデータ取得手段と、前記色空間軸変換目標ベースデータを用いて、前記限定色データのそれぞれについて前記第二の色空間における変換色空間軸予測データに変換する予測変換手段と、前記変換した変換色空間軸予測データを、前記色空間軸変換ベースデータ及び前記主成分寄与率を用いて、前記デバイス依存の色空間のデータに変換する変換手段と、を含む。
さらに、請求項7の色予測装置は、請求項6において、前記限定色データが次元数n(nは1または2)のデータであり、前記色空間軸取得手段が、前記主成分ベクトルのうち分散の大きいものから順にn個の主成分ベクトルを選択し、前記変換手段が、前記色空間軸変換ベースデータを、前記選択された主成分ベクトルを軸とする次元数nの色空間軸変換ベースデータとして利用する。
The color predicting apparatus according to claim 6 is a color predicting apparatus that predicts color for a device that outputs an image, and is a device-dependent color space data and a device-independent color space for the device. Base data storage means for storing base data describing the correspondence between the color space data and the target color describing the correspondence between the target color data in the device-dependent color space and the first color space Target color base data storage means storing a database, and limited color data which is a limited color located on the color space axis of the device-dependent color space or on a plane including two color space axes from the image data of the image For each of the selected limited color data and the selected limited color data, the data of the first color space corresponding to the limited color corresponding to the base data is selected. For each of the selected limited color data, a target color data group that is data of the first color space corresponding to the corresponding limited color is extracted from the target color base data for each of the selected limited color data. Target color extraction means, color space axis acquisition means for acquiring principal component vectors and principal component contribution rates by principal component analysis for each of the extracted data groups of the first color space, and the first Color space axis conversion base data describing the correspondence between the device-dependent color space data and the second color space data for the second color space with the principal component vector in one color space as an axis a color space axis transform-based data acquisition means for acquiring, for said second color space, the target color data group the extracted, the limited color data to which the selected by principal component analysis By performing the conversion of the color space axes with reference to Zui principal component vector, the correspondence between the color space axis conversion that describes the data and the target color data of said device-dependent color space the second color space Color space axis conversion target base data acquisition means for acquiring target base data and the color space axis conversion target base data are used to convert color space axis prediction data in the second color space for each of the limited color data. Conversion conversion means for converting, conversion means for converting the converted converted color space axis prediction data into data of the device-dependent color space using the color space axis conversion base data and the principal component contribution rate; including.
Further, a color prediction apparatus according to a seventh aspect is the color prediction device according to the sixth aspect, wherein the limited color data is data of a dimension number n (n is 1 or 2) , and the color space axis acquisition unit includes the principal component vector. N principal component vectors are selected in descending order of variance, and the conversion means uses the color space axis conversion base data as a color space axis conversion base having a dimension number n with the selected principal component vector as an axis. Use as data.
請求項8の色予測プログラムは、コンピュータを、画像を出力するデバイスについて、該画像の画像データからデバイス依存の色空間の色空間軸上又は2本の色空間軸を含む平面上に位置する限定色である限定色データを選択する限定色選択手段と、前記デバイスについての、デバイス依存の色空間のデータとデバイス非依存の色空間である第一の色空間のデータとの対応関係を記したベースデータから、前記限定色データのそれぞれに対応する限定色に該当する前記第一の色空間のデータ群を抽出する限定色抽出手段と、前記抽出した前記第一の色空間のデータ群のそれぞれに対して、主成分分析法による主成分ベクトル及び主成分寄与率を取得する色空間軸取得手段と、前記第一の色空間における前記主成分ベクトルを軸とする第二の色空間について、前記デバイス依存の色空間のデータと前記第二の色空間のデータとの対応関係を記した色空間軸変換ベースデータを取得する色空間軸変換ベースデータ取得手段と、前記色空間軸変換ベースデータ及び前記主成分寄与率を用いて、前記限定色データのそれぞれについて前記第二の色空間における変換色空間軸予測データを予測する予測変換手段と、前記変換色空間軸予測データを前記第一の色空間のデータに変換する変換する変換手段と、して機能させる。 9. The color prediction program according to claim 8 , wherein the computer predicts a device that outputs an image on a color space axis of a device-dependent color space or a plane including two color space axes from image data of the image. serial and limited color selection means for selecting only color data is color, the information on the device, the correspondence between the data of the first color space is a color space data and device-independent device-dependent color space from the base data, and limited color extracting means for extracting a data group of the first color space corresponding to the limited color corresponding to each of the limited color data, the data group of the said extracted first color space for each, a second color to a color space axis acquisition means for acquiring a principal component vectors and principal component contribution rate by principal component analysis, the principal component vectors in said first color space and the shaft For while the device-dependent data and said second color space axis transform-based data acquisition means for acquiring a color space axis transform-based data that describes the correspondence between the data of the color space of the color space, the color space axis transform-based data and using the principal component contribution ratio, a predictive conversion means for predicting the converted color space axis prediction data in said second color space for each of the limited color data, prior to the conversion color space axis predictive data It is made to function as a conversion means for converting to data in the first color space.
また、請求項9の色予測プログラムは、コンピュータを、画像を出力するデバイスについて、前記画像の画像データからデバイス依存の色空間の色空間軸上又は2本の色空間軸を含む平面上となる限定色の限定色データを選択する限定色選択手段と、前記デバイスについての、前記デバイス依存の色空間のデータとデバイス非依存の色空間である第一の色空間のデータとの対応関係を記したベースデータから、前記選択した限定色データのそれぞれについて対応する限定色に該当する前記第一の色空間のデータ群を抽出する限定色抽出手段と、前記デバイス依存の色空間における目標色のデータと前記第一の色空間との対応関係を記した目標色データベースから、前記選択した限定色データのそれぞれについて対応する限定色に該当する前記第一の色空間のデータである目標色データ群を抽出する目標色抽出手段と、前記抽出した前記第一の色空間のデータ群のそれぞれに対して、主成分分析法による主成分ベクトル及び主成分寄与率を取得する色空間軸取得手段と、前記第一の色空間における前記主成分ベクトルを軸とする第二の色空間について、前記デバイス依存の色空間のデータと前記第二の色空間のデータとの対応関係を記した色空間軸変換ベースデータを取得する色空間軸変換ベースデータ取得手段と、前記第二の色空間について、前記抽出した目標色データ群に対して、主成分分析法による前記選択した限定色データに基づいた主成分ベクトルを用いて色空間軸の変換を行うことにより、前記デバイス依存の色空間の前記目標色のデータと前記第二の色空間のデータとの対応関係を記した色空間軸変換目標ベースデータを取得する色空間軸変換目標ベースデータ取得手段と、前記色空間軸変換目標ベースデータを用いて、前記限定色データのそれぞれについて前記第二の色空間における変換色空間軸予測データに変換する予測変換手段と、前記変換した該変換色空間軸予測データを、前記色空間軸変換ベースデータ及び前記主成分寄与率を用いて、前記デバイス依存の色空間のデータに変換する変換手段と、して機能させる。 According to a ninth aspect of the present invention, there is provided a color prediction program for a device that outputs an image on a color space axis of a device-dependent color space or a plane including two color space axes from the image data of the image. The limited color selection means for selecting the limited color data of the limited color and the correspondence between the device-dependent color space data and the first color space data which is a device-independent color space for the device are described. Limited color extracting means for extracting a data group of the first color space corresponding to the limited color corresponding to each of the selected limited color data, and target color data in the device-dependent color space From the target color database describing the correspondence between the first color space and the first color space, the corresponding limited color corresponding to each of the selected limited color data Target color extraction means for extracting a target color data group that is data of one color space, and a principal component vector and a principal component by principal component analysis for each of the extracted data group of the first color space Color space axis acquisition means for acquiring a contribution rate, and a second color space with the principal component vector in the first color space as an axis, the device-dependent color space data and the second color space Color space axis conversion base data acquisition means for acquiring color space axis conversion base data describing a correspondence relationship with data, and a principal component analysis method for the extracted target color data group for the second color space by performing the conversion of the color space axis using the principal component vectors based on said selected limited color data by, and the target color data of said device-dependent color space and the data of said second color space Color space axis conversion target base data acquisition means for acquiring color space axis conversion target base data describing the correspondence relationship, and the second color for each of the limited color data using the color space axis conversion target base data Predictive conversion means for converting into converted color space axis prediction data in space, and using the color space axis conversion base data and the principal component contribution rate to convert the converted color space axis prediction data into the device-dependent color It functions as a conversion means for converting into spatial data.
また、本発明は、上記色予測プログラムが記憶される各種の記憶媒体、色予測プログラムの伝送に用いる伝送媒体を含むことができる。 The present invention can also include various storage media for storing the color prediction program and a transmission medium used for transmission of the color prediction program.
本発明は、デバイス依存の色空間で限定色となるデータに対応するデバイス非依存の色空間のデータ群から、主成分分析法により取得される主成分ベクトル及び主成分寄与率を用いて第二の色空間を設定し、この第二の色空間を介して、限定色に含まれる色のデータに対する変換を行うため、適正な純色に変換することができるという優れた効果が得られる。 The present invention, from a data set of device-independent color space corresponding to the data to be limited color in the color space of the device-dependent, with the principal component vectors and principal component contribution ratio obtained by the principal component analysis method Since the second color space is set and the color data included in the limited color is converted via the second color space, an excellent effect that the color can be converted into an appropriate pure color can be obtained.
以下に、図面を参照しながら本発明の実施の形態を説明する。
〔第1の実施の形態〕
図1には、第1の実施の形態に係る色予測装置10の要部の概略構成を示している。この色予測装置10は、デバイス依存色空間からデバイス非依存の色空間へ変換する所謂フォワード(Forward)モデルとなっている。この色予測装置10は、デバイスの一例として、デバイス依存の色空間がCMY色空間で、第一の色空間であるデバイス非依存の色空間がL*a*b*色空間となるプリンタ(カラープリンタ)を適用し、CMY色空間からL*a*b*色空間への変換を行う。このときに、CMY色空間の色データを被予測値とし、L*a*b*色空間の色データを予測値としている。
Embodiments of the present invention will be described below with reference to the drawings.
[First Embodiment]
FIG. 1 shows a schematic configuration of a main part of the
なお、デバイスとしてプリンタを例に説明するが、本発明が適用されるデバイスは、これに限らず、デジタルスチルカメラなどのデジタルカメラ、カラースキャナなどの入力デバイスや、カラーディスプレイなどの出力デバイス等のデバイス依存の色空間がRGB色空間であるデバイスなどの任意のデバイスの適用が可能である。 Although a printer will be described as an example of a device, a device to which the present invention is applied is not limited to this, such as a digital camera such as a digital still camera, an input device such as a color scanner, an output device such as a color display, or the like. Any device such as a device whose device-dependent color space is an RGB color space can be applied.
この色予測装置10は、ベースデータ取得手段としてベースデータ格納部12が設けられていると共に、限定色選択部14、色空間軸変換部16、変換色空間軸色予測部18及び、色空間軸逆変換部20を含んで形成されている。
The
ベースデータ格納部12には、予め取得しているベースデータが記憶されている。このベースデータの取得は、色予測装置10が設けられるプリンタを用いて、予め設定している多数パッチが含まれるベースデータパッチをカラーチャートとして印刷出力し、印刷出力したカラーチャートの各パッチ(ベースデータパッチ)を測色する。パッチの測色は、接触型測色機、デバイス特性のわかっているスキャナなどを用いることができ、この測色によってL*a*b*色空間のデータを取得する。
The base
これにより、各ベースデータパッチによって特定されるCMY色空間の入力データとL*a*b*色空間の出力データの対応関係を記すベースデータが得られる。このベースデータは、デバイスの出力特性に応じたものとなっており、ベースデータ格納部12には、このベースデータが格納される。
Thereby, base data describing the correspondence relationship between the input data in the CMY color space specified by each base data patch and the output data in the L * a * b * color space is obtained. This base data is in accordance with the output characteristics of the device, and this base data is stored in the base
このときに用いるベースデータパッチは、プリンタで処理可能な色域の略全域をカバーし、かつ、CMY色空間内を細分した入力データが得られるように設定されており、これにより、デバイスであるプリンタの特徴(出力特性)を的確に表すことができるベースデータが得られる。 The base data patch used at this time is set so as to cover substantially the entire color gamut that can be processed by the printer and to obtain input data that is subdivided in the CMY color space. Base data that can accurately represent the characteristics (output characteristics) of the printer is obtained.
限定色選択部14は、被予測値とする被予測データに基づいた色空間軸上に属するデータを、ベースデータ格納部12から選択する。すなわち、限定色選択部14は、純色のデータを抽出する。
The limited
図2には、限定色選択部14の要部の概略構成を示している。限定色選択部14は、限定色認識部22と限定色抽出部24を含んで形成されている。限定色認識部22は、被予測データが入力されることにより、被予測データから純色である限定色を認識する。
FIG. 2 shows a schematic configuration of a main part of the limited
例えば、被予測データが、(C、M、Y)=(50、0、0)の1次色でシアン単色であるときには、限定色認識部22では、シアンを限定色として認識する。また、被予測データが、(C、M、Y)=(50、10、0)の2次色(CMの2次色)で青色であるときには、青色を限定色として認識する。
For example, when the predicted data is a primary color of (C, M, Y) = (50, 0, 0) and a single cyan color, the limited
限定色抽出部24は、限定色認識部22で認識された限定色に対するデータを、ベースデータ格納部12から抽出する。例えば、限定色がシアンであるときには、(C、0、0)のCMY色空間のデータと、このデータに対応する第一の色空間(L*a*b*色空間)のデータが抽出される。
The limited
図1に示す色空間軸変換部16は、限定色選択部14によってベースデータ格納部12から抽出されたデータから、色予測に適用する第二の色空間の空間軸を取得する。
The color space
図3には、本実施の形態に適用した色空間軸変換部16の概略構成の一例を示している。この色空間軸変換部16は、主成分ベクトル取得部26、主成分寄与率取得部28及び色空間変換部30を含んでおり、限定色選択部14で抽出されたベースデータは、主成分ベクトル取得部26及び主成分寄与率取得部28へ入力される。
FIG. 3 shows an example of a schematic configuration of the color space
主成分ベクトル取得部26は、抽出されたベースデータに含まれる第一の色空間であるL*a*b*色空間のデータ(L*値、a*値及びb*値)から、統計的手法の一例として主成分分析の手法を用いて、主成分ベクトルを求める。なお、主成分分析の手法は、特開平10−164381号公報等に記載される一般的構成を適用することができる。
The principal component
ここで、3個の変数を変数X1、X2、X3とし、この変数X1〜X3に対して重みL
ijがかけられた重み合成変量を合成変量Z1、Z2、Z3とすると、変数X1〜X3から
合成変量Z1〜Z3は、以下で示される。
Here, three variables are defined as variables X 1 , X 2 , and X 3, and a weight L is assigned to these variables X 1 to X 3 .
When the weight synthetic variate ij has been applied to the synthesis variables Z 1, Z 2, Z 3 , synthetic variables Z 1 to Z 3 from a variable X 1 to X 3 are shown below.
Z1=L11・X1+L12・X2+L13・X3
Z2=L21・X1+L22・X2+L23・X3
Z3=L31・X1+L32・X2+L33・X3
ただし、(Li1)2+(Li2)2+(Li3)2=1(i=1、2、3)
このような合成変量Z1〜Z3で、互いの相関が0となる合成変量Z1、Z2、Z3を求める。
Z 1 = L 11 · X 1 + L 12 · X 2 + L 13 · X 3
Z 2 = L 21 · X 1 + L 22 · X 2 + L 23 · X 3
Z 3 = L 31 · X 1 + L 32 · X 2 + L 33 · X 3
However, (L i1 ) 2 + (L i2 ) 2 + (L i3 ) 2 = 1 (i = 1, 2, 3)
With such synthetic variables Z 1 to Z 3 , synthetic variables Z 1 , Z 2 , and Z 3 whose correlation is 0 are obtained.
実際には、3個の変数X1、X2、X3の相関係数行列の固有値(λ1、λ2、λ3)を求め、その固有値(λ1、λ2、λ3)に対する固有ベクトルを重みとした合成変量Z1、Z2、Z3となる。このときに、固有ベクトルは、互いに直交し、相関が0となり、このときの合成変量Z1、Z2、Z3が、主成分ベクトル取得部26で取得する主成分ベクトルとなる。以下、主成分ベクトルZ1、Z2、Z3とする。なお、固有値、固有ベクトルの解法は、パワー法などの簡便に求める手法があるが、ここでは、その説明を省略する。
In fact, three variables X 1, eigenvalues of X 2, X 3 of the correlation coefficient matrix (λ 1, λ 2, λ 3) seek, the eigenvalues (λ 1, λ 2, λ 3) eigenvectors for The combined variables Z 1 , Z 2 , and Z 3 are weights. At this time, the eigenvectors are orthogonal to each other and have a correlation of 0, and the combined variables Z 1 , Z 2 , and Z 3 at this time are the principal component vectors acquired by the principal component
主成分ベクトルZ1、Z2、Z3の間で、最も分散の大きい順に第1主成分、第2主成分、第3主成分となり、本実施の形態では、この第1主成分、第2主成分、第3主成分が、第二の色空間での3つの軸(色空間軸)となる。 Among the principal component vectors Z 1 , Z 2 , and Z 3 , the first principal component, the second principal component, and the third principal component are arranged in the order of the largest variance. In the present embodiment, the first principal component, the second principal component, and the like. The main component and the third main component become three axes (color space axes) in the second color space.
これにより、主成分ベクトル取得部26で取得された主成分ベクトルから第二の色空間の軸が得られる。すなわち、主成分分析の手法を用いることにより、L*a*b*色空間でのデータの分散から、例えば、主成分ベクトルZ1が第1主成分、主成分ベクトルZ2が第2主成分、主成分ベクトルZ3が第3主成分であれば、軸Z1、Z2、Z3の色空間を取得することができる。
Thereby, the axis of the second color space is obtained from the principal component vector acquired by the principal component
一方、主成分寄与率取得部28は、ベースデータとして取得されているL*a*b*色空間のデータから、主成分分析の手法を用いて、主成分寄与率を取得する。
On the other hand, the principal component contribution
一般に主成分分析では、元の各変数の間の相関係数は、因子負荷量と呼ばれ、第i主成分の重みLi1、Li2、Li3に対応する固有値の平方根をかけたものである。 In general, in the principal component analysis, the correlation coefficient between the original variables is called factor loading, and is obtained by multiplying the square root of the eigenvalue corresponding to the weights L i1 , L i2 , and L i3 of the i-th principal component. is there.
ここから、第i主成分Zi、変数X1の相関係数a1iは、
a1i=Li1・(λi)1/2
となる。また、Ziと変数X2の相関係数a2iは、
a2i=Li2・(λi)1/2
となる。
From here, the correlation coefficient a 1i of the i-th principal component Z i and the variable X 1 is
a 1i = L i1 · (λ i ) 1/2
It becomes. The correlation coefficient a 2i between Z i and the variable X 2 is
a 2i = L i2 · (λ i ) 1/2
It becomes.
すなわち、寄与率は、各主成分が元の情報をどの程度反映しているかを表すものであり、例えば、p個の変数を持つ情報量の合計はpであるので、例えば、第1主成分の寄与率C1は、数1の(1)式で表される。 That is, the contribution rate represents how much each principal component reflects the original information. For example, the total of the information amount having p variables is p. The contribution ratio C 1 is expressed by the equation (1) in Equation 1.
このような寄与率は、変換する3軸のそれぞれに対するデータの情報量を示すものであるといえるので、各軸に対するデータの重みとして好ましく、主成分寄与率取得部28では、第1主成分、第2主成分及び第3主成分の寄与率、すなわち、第二の色空間の各色空間軸の寄与率を取得する。
Such a contribution rate can be said to indicate the information amount of data for each of the three axes to be converted. Therefore, it is preferable as a weight of data for each axis. In the principal component contribution
一方、図3に示すように、色空間変換部30には、抽出されたベースデータに含まれるL*a*b*色空間のデータが入力されると共に、主成分ベクトル取得部26で取得された主成分ベクトル(例えば主成分ベクトルZ1、Z2、Z3)が入力される。ここから、色空間変換部30では、主成分ベクトルを用いてL*a*b*色空間の各データを、第二の色空間のデータへ変換する。すなわち、L*a*b*色空間のデータをデータ(L*、a*、b*)、主成分ベクトルを主成分ベクトルZ1(Z11、Z12、Z13)、Z2(Z21、Z22、Z23)、Z3(Z31、Z32、Z33)、変換データを変換データα(α1、α2、α3)、平均ベクトルを平均ベクトルm(m1、m2、m3)とすると、L*a*b*色空間のデータ(L*、a*、b*)は、数2の(2)式で表される。
On the other hand, as shown in FIG. 3, the color
これを展開することにより(3)式に示すように、変換データα(α1、α2、α3)が得られる。 By developing this, conversion data α (α 1 , α 2 , α 3 ) is obtained as shown in equation (3).
また、元のL*a*b*色空間のデータは、ベースデータ格納部12に格納されているデバイス依存の色空間であるCMY色空間の各データに対応しており、これにより、CMY色空間のデータと第二の色空間のデータとの対応関係を記す限定色空間軸変換ベースデータが取得される。
The original L * a * b * color space data corresponds to each data in the CMY color space, which is a device-dependent color space stored in the base
ここで、色予測装置10では、限定色選択部14で選択した限定色のベースデータを用いて主成分分析を行う。これにより、例えば、被予測データが、(C、M、Y)=(50、0,0)などのシアン単色であれば、ベースデータからシアン単色(1次色)のデータ(C、0、0)に対応する第一の色空間のデータを抽出して主成分分析を行う。
Here, the
1次色のデータに対応する第一の色空間であるL*a*b*色空間のデータは、図5(A)に示すように、L*軸に沿って略直線上に分散する。これにより、第1主成分に応じたZ1軸が略L*軸に沿った第二の色空間が取得される。 Data for the first L * a * b * color space is a color space corresponding to the primary colors of the data, as shown in FIG. 5 (A), dispersed on a substantially straight line along the L * axis. As a result, a second color space in which the Z 1 axis corresponding to the first principal component is substantially along the L * axis is acquired.
また、被予測データが、(C、M、Y)=(50、10、0)などの2次色であれば、図5(B)に示すように、抽出されるベースデータは、L*a*b*色空間上で二次元的に分散する。この結果、Z1軸、Z2軸が、この平面この沿った第二の空間が得られる。 If the predicted data is a secondary color such as (C, M, Y) = (50, 10, 0), the extracted base data is L * as shown in FIG. Disperse two-dimensionally in the a * b * color space. As a result, the Z 1 axis and the Z 2 axis are obtained as a second space along this plane.
このように取得された第二の色空間のデータと、CMY色空間のデータとの対応関係を示す限定色空間軸変換ベースデータが得られる。 Limited color space axis conversion base data indicating the correspondence between the data of the second color space acquired in this way and the data of the CMY color space is obtained.
図1に示すように、色空間軸変換部16で取得された限定色空間軸変換ベースデータ及び、主成分寄与率は、変換色空間軸限定色予測部18に入力される。
As illustrated in FIG. 1, the limited color space axis conversion base data and the principal component contribution rate acquired by the color space
図4には、変換色空間軸限定色予測部18の概略構成の一例を示している。この変換色空間軸限定色予測部18は、限定色空間軸変換ベースデータ格納部32、軸重み設定部34、被予測データ格納部36、色予測部38に加え、予測データ次元数設定部40及びベースデータ次元数設定部42を含んで形成されている。
FIG. 4 shows an example of a schematic configuration of the conversion color space axis limited
限定色空間軸変換ベースデータ格納部32には、色空間軸変換部16の色空間変換部30で取得される限定色空間軸変換ベースデータが入力されるようになっており、これにより、限定色空間軸変換ベースデータ格納部32は、デバイス依存の色空間(CMY色空間)の限定色と第二の色空間のデータの対応関係を記す限定色空間軸変換ベースデータが格納される。
The limited color space axis conversion base
また、軸重み設定部34には、色空間軸変換部16の主成分寄与率取得部28で取得され第二の色空間の色空間軸ごとの寄与率が入力される。これにより、軸重み設定部32では、第二の色空間の色空間軸のそれぞれに対する重みを設定する。
The axis
一方、図1に示すように、変換色空間軸限定色予測部18には、デバイス依存の色空間のデータである被予測値(被予測データ)が入力されるようになっている。図4に示すように、被予測データは、被予測データ格納部36に順に格納されるようになっている。
On the other hand, as shown in FIG. 1, the converted color space axis limited
色予測部38は、被予測データ格納部36に格納された被予測データを読み込む。このとき、予測データ次元数設定部40では、被予測データの次元数から予測データの次元数を設定する。
The
このとき、例えば、被予測データがシアン単色の(50、0、0)であるときには、被予測データがシアンの1次色であると認識し、ここから、予測データの次元数を1(1次元)に設定する。また、被予測データがシアンとマゼンタの2次色である青(50、10、0)であるときには、予測データの次元数を2(2次元)に設定する。 At this time, for example, when the predicted data is cyan (50, 0, 0), it is recognized that the predicted data is a primary color of cyan, and from here, the number of dimensions of the predicted data is 1 (1 Dimension). When the predicted data is blue (50, 10, 0) which is a secondary color of cyan and magenta, the number of dimensions of the predicted data is set to 2 (two dimensions).
ベースデータ次元数設定部42は、予測データ次元数設定部40で設定された予測データの次元数を読み込むと、この次元数に基づいて限定色空間軸変換ベースデータの次元数を設定する。
When the number of dimensions of the prediction data set by the prediction data dimension number setting unit 40 is read, the base data dimension
すなわち、予測データの次元数が1次元に設定されているときには、限定色空間軸変換ベースデータとして格納されているデータ(第二の色空間のデータ)のうち、第一主成分軸(例えば図5(A)のZ1軸)に対する値(α1)が、色予測部38での予測時のデータ(ベースデータ)として選択されるように、ベースデータの次元数を設定する。また、予測データの次元数が2次元に設定されているときには、限定色空間軸変換ベースデータから第1主成分軸(例えば図5(B)に示すZ1軸)に対する値(α1)と第2主成分軸(例えば図5(B)に示すZ2軸)に対する値(α2)が選択されるように、ベースデータの次元数を設定する。
That is, when the number of dimensions of the prediction data is set to one dimension, among the data (second color space data) stored as the limited color space axis conversion base data, the first principal component axis (for example, FIG. The dimension number of the base data is set so that the value (α 1 ) for 5 (A) ( Z 1 axis) is selected as the data (base data) at the time of prediction by the
これにより、色予測部38には、被予測データと共に、被予測データの次元数に応じたベースデータ及び、軸重みの設定が入力され、色予測部38では、これらの入力に基づいて第二の色空間上でのデータを予測する。
Thereby, the base data corresponding to the number of dimensions of the predicted data and the setting of the axis weight are input to the
ここで、例えば、被予測データが(50、0、0)のシアン単色であるときには、次元数が1次元に設定されるので、限定色空間軸変換ベースデータから第1主成分のデータ(α1)とその第1主成分の軸重みの設定が入力される。 Here, for example, when the predicted data is a cyan single color of (50, 0, 0), since the number of dimensions is set to one dimension, the first principal component data (α 1 ) and the axis weight setting of the first principal component are input.
すなわち、限定色空間軸変換ベースデータの次元数が1次元に設定されることにより、被予測データの色空間にある限定色として抽出されたi個のベースデータの対(C)i=(α1)iからC=50((C、M、Y)=(50、0、0))に対応する第二の色空間のデータα1が求められる。なお、1次元のときには、実質的な軸重みが「1.0」に設定されるが、2次元のときには、第1主成分軸と第2主成分軸の値に、設定された重みが付加されたデータが求められる。 That is, by setting the number of dimensions of the limited color space axis conversion base data to one dimension, a pair of i base data extracted as limited colors in the color space of the predicted data (C) i = (α 1 ) Data α 1 of the second color space corresponding to C = 50 ((C, M, Y) = (50, 0, 0)) is obtained from i . In the case of one dimension, the substantial axis weight is set to “1.0”, but in the case of two dimensions, the set weight is added to the values of the first principal component axis and the second principal component axis. Data is required.
このように、限定色空間軸変換ベースデータの色空間軸に対して重み係数を付加した回帰法などの公知の手法を用いることにより、重み付けを行うことにより、色空間軸に依存したデータの予測が可能となる。なお、重み付けは、例えば特開平10−262157号公報等に開示されている回帰法などの一般的手法を用いることができる。 In this way, by using a known method such as a regression method in which a weighting coefficient is added to the color space axis of the limited color space axis conversion base data, weighting is performed, thereby predicting data depending on the color space axis. Is possible. Incidentally, the weighting may be a general method such as regression method such as disclosed in JP-10-2621 57 discloses the like.
図1に示すように、変換色空間軸限定色予測部18から出力される第二の色空間に変換されたデータは、色空間軸逆変換部20に入力される。また、色空間軸逆変換部20には、色空間軸変換部16から、主成分ベクトルが入力される。
As shown in FIG. 1, the data converted to the second color space output from the conversion color space axis limited
これにより、色空間軸逆変換部20では、第二の色空間のデータに対して、第一の色空間のデータに変換する逆変換を行う。このとき、例えば、前記した(2)式を適用することができる。
As a result, the color space axis
これにより、デバイス依存の色空間の被予測データから、第一の色空間(デバイス非依存の色空間)であるL*a*b*色空間に変換したデータが予測データとして出力される。 As a result, data converted from the predicted data in the device-dependent color space into the L * a * b * color space, which is the first color space (device-independent color space), is output as predicted data.
ここで、色予測装置10を用いた処理を説明する。この色予測装置10を用いるときには、デバイスであるプリンタに依存するCMY色空間(デバイス依存の色空間)のデータと、プリンタに非依存のL*a*b*色空間(デバイス非依存の色空間)のデータの対応関係を示すベースデータを取得しておく必要がある。
Here, processing using the
図6には、このベースデータの取得処理の概略を示している。ベースデータを取得するときには、最初に、プリンタを用いたベースデータパッチの印刷出力を行う。このとき、各パッチのCMY色空間のデータが予め設定されており、設定されたデータに基づいた印刷処理が行われる。 FIG. 6 shows an outline of the base data acquisition process. When acquiring the base data, first, the base data patch is printed out using a printer. At this time, data of the CMY color space of each patch is set in advance, and printing processing based on the set data is performed.
次のステップ102では、印刷出力されたベースデータパッチのそれぞれを測色することにより、ベースデータパッチごとのL*a*b*色空間でのデータを取得する。
In the
ステップ104では、このようにして得られたCMY色空間のデータとL*a*b*色空間のデータとを関連付けて、ベースデータとしてベースデータ格納部12に格納する。これにより、色予測装置10で適用するベースデータが取得される。
In
色予測装置10では、このベースデータを用いて色予測処理を行う。図7には、この色予測処理の概略を示している。この色予測処理は、デバイス依存の色空間の被予測データが入力されることにより実行される。なお、被予測データとしては、1次色又は2次色である純色が用いられる。
The
このフローチャートでは、被予測データが入力されると、まず、ステップ110で、被予測データから限定色を認識し、次のステップ112では、認識した限定色に対応するデータをベースデータから抽出する。これにより、例えば、被予測データが、シアン単色の1次色であれば、シアン単色のデータと、このデータに対応するL*a*b*色空間のデータがベースデータ格納部12から抽出され、また、被予測データが青色などのCMの2次色であるときには、(C、M、0)のデータと、このデータに対応するL*a*b*色空間のデータが抽出される。
In this flowchart, when predicted data is input, first, in
このようにして限定色の予測を行うためのデータ抽出が終了すると、ステップ114では、抽出したデータから、第一の色空間のデータに基づいて、主成分分析の手法によって、第二の色空間の軸となる主成分ベクトルを取得する。これにより、第一の色空間のデータに基づいた第二の色空間の色空間軸となる主成分ベクトルを取得する。また、ステップ116では、取得した主成分ベクトルから、主成分寄与率を取得する。
When the data extraction for predicting the limited color is completed in this way, in
この後、ステップ118では、主成分ベクトルと、ベースデータから抽出したデータに基づいて、デバイス依存の色空間のデータを、第二の色空間のデータに変換可能とする限定色空間軸変換ベースデータを生成し、ステップ120では、主成分寄与率に基づいて、第二の色空間における各色空間軸(第1主成分、第二主成分)の軸の重みを設定する。
Thereafter, in
このようにして、主成分ベクトル、限定色空間軸変換ベースデータ及び軸重みを設定すると、ステップ122では、被予測データの次元数から予測データの次元数を設定し、ステップ124では、設定した予測データの次元数から限定色空間軸変換ベースデータの次元数を設定する。
In this way, when the principal component vector, the limited color space axis conversion base data, and the axis weight are set, in
この後、ステップ126では、設定した次元数のデータを限定色空間軸変換ベースデータ格納部32から読み出し、ステップ128では、読み出した限定色空間軸変換ベースデータのデータと、軸重みの設定に基づいて、被予測データを第二の色空間のデータに変換する。
Thereafter, in step 126, data of the set number of dimensions is read from the limited color space axis conversion base
これにより、例えば、被予測データがシアン単色の1次色であれば、第一主成分のデータが読み出され、読み出されたデータの中から被予測データに対応する値が設定され、また、被予測データが2次色のデータであるときには、第一主成分と第二主成分のデータが読み出されて、予測データに対応する値に設定される。このときに、軸重みが付加されて、第二の色空間の空間軸に依存したデータとして予測される。 Thereby, for example, if the predicted data is a cyan primary color, the data of the first principal component is read, and a value corresponding to the predicted data is set from the read data. When the predicted data is secondary color data, the data of the first principal component and the second principal component are read and set to values corresponding to the prediction data. At this time, an axis weight is added and predicted as data depending on the space axis of the second color space.
この後、ステップ130では、予測した第二の色空間のデータに対して、主成分ベクトルに基づいて逆変換を施すことにより、第一の色空間のデータに変換し、変換したデータをデバイス非依存の色空間の予測データとして出力する(ステップ132)。
Thereafter, in
このようにして、1次色、2次色などの純色を予測することにより、適正な純色の予測が可能となる。すなわち、ベースデータとして取得されるL*a*b*色空間のデータには、ノイズ成分が含まれることがあり、このノイズ成分によって予測データに誤差が生じ、適正な色予測が困難となる。 In this way, it is possible to predict an appropriate pure color by predicting pure colors such as a primary color and a secondary color. That is, the data in the L * a * b * color space acquired as the base data may include a noise component, and an error occurs in the prediction data due to this noise component, making it difficult to perform appropriate color prediction.
このとき、色予測装置10では、1次色や2次色を予測するときに、ベースデータから、対応する次元数のデータのみを抽出して、主成分分析を行うことにより、純色を的確に予測することが可能となる。
At this time, when predicting the primary color or the secondary color, the
また、第二の色空間の軸の寄与率に応じて軸重みを設定するので、空間軸に依存しない適正な色予測が可能となる。
〔第2の実施の形態〕
次に本発明の第2の実施の形態を説明する。なお、第2の実施の形態の基本的構成は、前記した第1の実施の形態と同じであり、第1の実施の形態と同一の部品には、同一の符号を付与してその説明を省略する。
In addition, since the axis weight is set according to the contribution ratio of the axis of the second color space, it is possible to perform appropriate color prediction independent of the space axis.
[Second Embodiment]
Next, a second embodiment of the present invention will be described. The basic configuration of the second embodiment is the same as that of the first embodiment described above, and the same components as those in the first embodiment are denoted by the same reference numerals and the description thereof is omitted. Omitted.
図8には、第2の実施の形態に適用した色予測装置50の要部の概略構成を示している。この色予測装置50は、デバイス非依存の色空間からデバイス依存の色空間へ変換する所謂インバース(Inverse)モデルとなっている。また、色予測装置50においても、前記した色予測装置10と同様に、デバイスの一例としてプリンタを適用し、色予測装置50では、デバイス非依存の色空間であるL*a*b*色空間のデータを被予測データとし、デバイス依存の色空間であるCMY色空間のデータを予測する(予測データ)。
FIG. 8 shows a schematic configuration of a main part of the color prediction apparatus 50 applied to the second embodiment. The color prediction apparatus 50 is a so-called inverse model that converts from a device-independent color space to a device-dependent color space. Also, in the color prediction apparatus 50, as in the
図8に示すように、色予測装置50は、変換色空間軸限定色予測部52と、色空間軸逆変換部54が形成されており、被予測データとしてデバイス非依存の色空間であるL*a*b*色空間のデータが色空間軸逆変換部54に入力されることにより、デバイス依存の色空間であるCMY色空間のデータが予測データとして出力される。
As shown in FIG. 8, the color prediction apparatus 50 includes a conversion color space axis limited
色空間軸逆変換部54では、L*a*b*色空間の被予測データを、色空間軸変換部16で取得された主成分ベクトルに基づいて第二の色空間のデータに変換する。また、変換色空間軸限定色予測部52は、第二の色空間のデータを、限定色色空間軸変換ベースデータに基づいてデバイス依存のCMY色空間のデータに変換して、予測データとして出力する。
The color space axis
図9には、色予測装置50での色予測処理の概略を示している。なお、色予測装置50でのベースデータの取得、ベースデータからの限定色の抽出及び、第二の色空間の設定(主成分ベクトル、主成分寄与率及び限定色空間軸変換ベースデータの取得)は、前記した色予測装置10と同じ処理を適用でき、ここではその説明を省略する。
FIG. 9 shows an outline of color prediction processing in the color prediction device 50. Acquisition of base data in the color prediction device 50, extraction of limited colors from the base data, and setting of the second color space (acquisition of principal component vector, principal component contribution rate and limited color space axis conversion base data) Can apply the same processing as the
このフローチャートは、例えば、デバイス非依存の色空間の被予測データが入力されることにより、実行され、最初のステップ110では、入力された被予測データから限定色を認識し、認識した限定色に応じたデータを、ベースデータ格納部12から抽出する(ステップ112)と、抽出したデータに基づいた主成分分析によって第二の色空間の色空間軸とする主成分ベクトルを取得する(ステップ114)。
This flowchart is executed, for example, by inputting predicted data in a device -independent color space. In the
次に、主成分ベクトルから主成分寄与率を抽出する(ステップ116)、限定色空間軸変換ベースデータを取得(ステップ118)、軸重みの設定を行う(ステップ120)。 Next, a principal component contribution rate is extracted from the principal component vector (step 116), limited color space axis conversion base data is acquired (step 118), and axis weights are set (step 120).
この後、ステップ140では、主成分ベクトルに基づいて、被予測データを第二の色空間のデータに変換する。
Thereafter, in
この後、ステップ142では、予測データの次元数を設定する。予測データは、純色であるので、1次元か2次元となっており、これにより、第二の色空間に変換されたデータも、主として第1主成分のデータか、第1主成分と第2主成分のデータかを判断することができる。
Thereafter, in
次に、ステップ144では、予測データの次元数から限定色空間軸変換ベースデータの次元数を設定し、ステップ146では、設定した次元数の限定色空間軸変換ベースデータを読み込む。
Next, in
この後に、ステップ148では、第二の色空間のデータをCMY色空間のデータに変換することにより、第二の色空間のデータから予測したCMY色空間のデータを取得する。
Thereafter, in
このようにして変換されたデータは、被予測データに対する予測データとして出力される(ステップ132)。これにより、適正な重みが付加された予測データを得ることができ、1次色、2次色の適正な予測が可能となる。
〔第3の実施の形態〕
次に本発明の第3の実施の形態を説明する。なお、第3の実施の形態の基本的構成は、前記した第1ないし第2の実施の形態と同じであり、第1又は第2の実施の形態と同一の部品には、同一の符号を付与してその説明を省略する。
The data thus converted is output as prediction data for the data to be predicted (step 132). As a result, it is possible to obtain prediction data to which appropriate weights are added, and it is possible to appropriately predict primary colors and secondary colors.
[Third Embodiment]
Next, a third embodiment of the present invention will be described. The basic configuration of the third embodiment is the same as that of the first or second embodiment described above, and the same reference numerals are used for the same parts as those of the first or second embodiment. The explanation is omitted.
図10には、第3の実施の形態に係る色予測装置60の要部の概略構成を示している。この色予測装置60においても、前記した色予測装置10、50と同様に、デバイスとしてプリンタを適用するものとし、デバイス依存の色空間をCMY色空間とし、デバイス非依存の色空間をL*a*b*色空間としている。
FIG. 10 shows a schematic configuration of a main part of the
この第3の実施の形態に適用した色予測装置60は、デバイスの色特性(デバイスの個体差)の影響を受けない予測データを出力可能とする所謂キャリブレーションモデルとなっており、例えば、デバイス依存の色空間の被予測データが入力されることにより、デバイス依存の色空間の予測データを予測可能となっている。
The
この色予測装置60には、ベースデータ格納部12に加え目標色データ格納部62が設けられている。この目標色データ格納部62では、目標とする色のCMY色空間でのデータと、対応するL*a*b*色空間でのデータを格納して目標色ベースデータが形成されている。このとき、色予測装置60で用いる目標色データとしては、印刷物上での目標とする色のデータであってもよく、また、デバイスでの基準色としても良い。
The
色予測装置60には、限定色選択部64が設けられている。この限定色選択部64は、前記した限定色選択部14と同様に被予測データが1次色であるか2次色であるかと共にその色(純色)を限定色として認識するようになっている。
The
また、限定色選択部64では、認識した限定色に対応するデータを、ベースデータ格納部12及び目標色データ格納部62から抽出して、色空間軸変換部66へ出力する。
Further, the limited
色空間軸変換部66は、前記した色空間軸変換部14と同様に、ベースデータ格納部12から抽出した限定色のデータに含まれるデバイス非依存の色空間のデータから、主成分分析などの統計的手法に基づいて、デバイスの特性に基づいた第二の色空間を特定する主成分ベクトル、主成分寄与率を取得する。
Similar to the color space
また、色空間軸変換部66は、目標色データ格納部62から抽出した限定色の目標色ベースデータの第一の色空間のデータを読み込み、各データに対して、限定色のデータに基づいた主成分ベクトルを用い、色空間軸変換を行うことにより、目標色のCMY色空間のデータと第二の色空間のデータと間でデータ変換可能とする限定色に対する色空間軸変換目標ベースデータを生成する。
Further, the color space
これにより、色予測装置60では、限定色を目標色とする第二の色空間でのデータである色空間軸変換目標ベースデータと、デバイスの色空間軸変換ベースデータが取得される。
As a result, the
一方、色予測装置60には、変換色空間軸限定色予測部68、70が形成されており、変換色空間軸限定色予測部68には、被予測データが入力されるようになっており、変換色空間軸限定色予測部68では、限定色の色空間軸目標ベースデータに基づいて、被予測データに対する第二の色空間軸のデータを予測して、目標色のデータに応じたデータ(ターゲットデータ)を生成する。
On the other hand, conversion color space axis limited
これにより、変換色空間軸限定色予測部68は、被予測データとしてDLUT(ダイレクトルックアップテーブル)の格子点が入力されると、目標色のCMY色空間でのデータ(C、M、Y)と目標色軸変換後のデータである変換データ(α1、α2、α3)をベースデータとして、デバイス依存の色空間から第二の色空間へデータ変換する((C、M、Y)→(α1、α2、α3))。
As a result, the conversion color space axis limited
これにより、変換色空間軸限定色予測部68では、DLUT格子点に対する目標データが生成されるようにしている。
Thus, the conversion color space axis limited
すなわち、本来は、DLUT格子点に対するデータは、L*a*b*色空間のデータとして与えられ、予測値もL*a*b*色空間のデータとなるが、色予測装置60では、まず、軸変換したデータを予測するようにしている。なお、このような変換色空間軸限定色予測部68では、前記した変換色空間軸限定色予測部18と同等の手法を適用することができる。
That is, originally, the data for the DLUT grid points are given as the data of the L * a * b * color space, but the predicted value also becomes data of L * a * b * color space, the
これに対して、変換色空間軸限定色予測部70では、変換色空間軸限定色予測部68で得られたデータが入力されることにより、このデータに対するデバイスでのカバレッジデータが得られるようにしている。
On the other hand, the conversion color space axis limited
すなわち、変換色空間軸限定色予測部70では、インバースモデルとして説明した変換色空間軸限定色予測部52と同様の手法で、CMY色空間のデータと軸変換後のデータをベースデータして、変換色空間軸限定色予測部68から入力される軸変換データをCMY色空間のデータに変換する。これにより、目標色のデータに対するデバイスのカバレッジデータであるCMY色空間上での予測データが得られる。
That is, the conversion color space axis limited
ここで、図11を参照しながら色予測装置60での色予測処理の概略を説明する。なお、色予測装置60では、予め目標色ベースデータと共に、デバイスであるプリンタのベースデータが取得され、ベースデータ格納部12及び目標色データ格納部62に格納されている。また、図11では、前記した図7ないし図9と同等の処理には、同じステップ番号を併記している。
Here, an outline of the color prediction processing in the
このフローチャートでは、例えばDLUT格子点などのデータが被予測データとして入力されることにより、ステップ150で、この被予測データから限定色を認識し、認識した限定色に対応する第一の色空間のデータをベースデータ格納部12から抽出する(ステップ152)。また、ステップ154では、目標色ベースデータから、認識した限定色に対する目標色のデータを抽出する。
In this flowchart, for example, data such as a DLUT lattice point is input as predicted data, so that in
次に、ステップ156では、ベースデータ格納部12から抽出した第一の色空間のデータに対する主成分分析を行うことにより、第二の色空間の色空間軸を特定する主成分ベクトルを取得すると共に、ステップ158では、主成分ベクトルから主成分寄与率を取得する。
Next, in
この後、ステップ160では、抽出されたベースデータと主成分ベクトルに基づいて、限定色空間軸変換ベースデータを生成すると共に、主成分寄与率から軸重みを設定する(ステップ162)。また、ステップ164では、目標色ベースデータから抽出したデータと限定色空間軸変換ベースデータに基づいて、色空間軸変換目標ベースデータを生成する。
Thereafter, in
このようにして、色空間軸変換目標ベースデータ、限定色空間軸変換ベースデータ及び軸重みを取得すると、ステップ166では、被予測データを読み込み、この被予測データの次元数から限定色空間軸変換ベースデータの次元数を設定する(ステップ168)。
When the color space axis conversion target base data, the limited color space axis conversion base data, and the axis weight are acquired in this way, in
次に、ステップ170では、被予測データを、色空間変換目標ベースデータに基づいて第二の色空間のデータに変換する。
Next, in
また、ステップ172では、限定色空間軸変換ベースデータから、先に設定している次元数に応じたデータを読み出し、ステップ174では、このデータに軸重みの設定に基づいた重み付加を行いながら、被予測データから変換した第二の色空間軸のデータをデバイス依存の色空間であるCMY色空間のデータに変換することにより、予測データを予測する。
In
この後、変換したデバイス依存の色空間のデータを、予測データとして出力する(ステップ176)。 Thereafter, the converted device-dependent color space data is output as prediction data (step 176).
これにより、色予測装置60では、パッチの濃度測定などを行うときのノイズなどの外乱の影響を抑えて、1次色又は2次色(純色)の被予測データを標準色である目標色に合わせるDLUTを得ることができ、プリンタの個体差を吸収するキャリブレーションが可能となると共に、プリンタを用いた印刷色のシミュレーションが可能となる。
Thus, the
なお、以上説明した本実施の形態は、本発明の構成を限定するものではない。例えば、本実施の形態では、デバイスの一例としてプリンタを適用し、CMY色空間とL*a*b*色空間の間又は、CMY色空間の間での被予測データからの予測データの予測を例に説明したが、これに限らず、デバイスとしては、プリンタに限らずカラーディスプレイなどの出力デバイス、デジタルカメラ、カラースキャナなどの入力デバイスを適用することができる。 In addition, this Embodiment demonstrated above does not limit the structure of this invention. For example, in the present embodiment, a printer is applied as an example of a device, and prediction data is predicted from predicted data between a CMY color space and an L * a * b * color space or between CMY color spaces. Although described as an example, the present invention is not limited to this, and the device is not limited to a printer, and an output device such as a color display, an input device such as a digital camera or a color scanner can be applied.
また、デバイス依存の色空間としては、CMY色空間に限らず、CMYK色空間などの四次元の色空間、RGB色空間など、デバイスに応じた色空間を適用することができる。 Further, the device-dependent color space is not limited to the CMY color space, and a color space according to the device such as a four-dimensional color space such as the CMYK color space or an RGB color space can be applied.
さらに、デバイス非依存の色空間としては、L*a*b*色空間に限らず、L*u*v*色空間、XYZ色空間なので任意の色空間を適用することができる。 Furthermore, the device-independent color space is not limited to the L * a * b * color space, and any color space can be applied because it is an L * u * v * color space or an XYZ color space.
10、50、60 色予測装置
12 ベースデータ格納部
14、64 限定色選択部
16、66 色空間軸変換部
18、52、68、70 変換色空間軸限定色予測部
20、54 色空間軸逆変換部
22 限定色認識部
24 限定色抽出部
26 主成分ベクトル取得部
28 主成分寄与率取得部
30 色空間変換部
32 限定色空間軸変換部
34 軸重み設定部
38 予測部
40 予測データ次元数設定部
42 ベースデータ次元数設定部
62 目標色データ格納部
10, 50, 60
Claims (9)
前記デバイスについての、デバイス依存の色空間のデータとデバイス非依存の色空間である第一の色空間のデータとの対応関係を記したベースデータを有し、
前記画像の画像データから前記デバイス依存の色空間の色空間軸上又は2本の色空間軸を含む平面上に位置する限定色である限定色データを選択し、
前記選択した限定色データのそれぞれについて、前記ベースデータから対応する限定色に該当する前記第一の色空間のデータ群を抽出し、
前記抽出した前記第一の色空間のデータ群のそれぞれに対して、主成分分析法による主成分ベクトル及び主成分寄与率を取得して、
前記第一の色空間における前記主成分ベクトルを軸とする第二の色空間について、前記デバイス依存の色空間のデータと前記第二の色空間のデータとの対応関係を記した色空間軸変換ベースデータを取得し、
前記色空間軸変換ベースデータ及び前記主成分寄与率を用いて、前記限定色データのそれぞれについて前記第二の色空間における変換色空間軸予測データを予測し、
前記変換色空間軸予測データを前記第一の色空間のデータに変換する、
ことを特徴とする色予測方法。 A color prediction method for color prediction for a device that outputs an image,
Base data describing the correspondence between the device-dependent color space data and the first color space data which is a device-independent color space for the device,
Selecting limited color data that is a limited color located on a color space axis of the device-dependent color space or on a plane including two color space axes from the image data of the image;
For each of the selected limited color data, the data group of the first color space corresponding to the corresponding limited color is extracted from the base data,
For each of the extracted data group of the first color space, obtain a principal component vector and a principal component contribution rate by a principal component analysis method,
Color space axis conversion describing the correspondence between the device-dependent color space data and the second color space data for the second color space with the principal component vector as the axis in the first color space Get the base data,
Predicting converted color space axis prediction data in the second color space for each of the limited color data using the color space axis conversion base data and the principal component contribution rate,
Converting the converted color space axis prediction data into data of the first color space;
A color prediction method characterized by that.
前記デバイスについての、デバイス依存の色空間のデータとデバイス非依存の色空間である第一の色空間のデータとの対応関係を記したベースデータ及び、前記デバイス依存の色空間における目標色のデータと前記第一の色空間との対応関係を記した目標色データベースを有し、
前記画像の画像データから前記デバイス依存の色空間の色空間軸上又は2本の色空間軸を含む平面上に位置する限定色である限定色データを選択し、
前記選択した限定色データのそれぞれについて、前記ベースデータから対応する前記限定色に該当する前記第一の色空間のデータ群を抽出し、
前記選択した限定色データのそれぞれについて、前記目標色ベースデータから対応する前記限定色に該当する前記第一の色空間のデータである目標色データ群を抽出して、
前記抽出した前記第一の色空間のデータ群のそれぞれに対して、主成分分析法による主成分ベクトル及び主成分寄与率を取得して、
前記第一の色空間における前記主成分ベクトルを軸とする第二の色空間について、前記デバイス依存の色空間のデータと前記第二の色空間のデータとの対応関係を記した色空間軸変換ベースデータを取得し、
前記第二の色空間について、前記抽出した目標色データ群に対して、主成分分析法による前記選択した限定色データに基づいた主成分ベクトルを用いて色空間軸の変換を行うことにより、前記デバイス依存の色空間の前記目標色のデータと前記第二の色空間のデータとの対応関係を記した色空間軸変換目標ベースデータを取得し、
前記色空間軸変換目標ベースデータを用いて、前記限定色データのそれぞれについて前記第二の色空間における変換色空間軸予測データに変換し、変換した該変換色空間軸予測データを、前記色空間軸変換ベースデータ及び前記主成分寄与率を用いて、前記デバイス依存の色空間のデータに変換する、
ことを特徴とする色予測方法。 A color prediction method for color prediction for a device that outputs an image,
Base data describing a correspondence relationship between data in the device-dependent color space and data in the first color space which is a device-independent color space for the device, and target color data in the device-dependent color space And a target color database describing the correspondence between the first color space and the first color space,
Selecting limited color data that is a limited color located on a color space axis of the device-dependent color space or on a plane including two color space axes from the image data of the image;
For each of the selected limited color data, the data group of the first color space corresponding to the corresponding limited color is extracted from the base data,
For each of the selected limited color data, a target color data group that is data of the first color space corresponding to the corresponding limited color is extracted from the target color base data,
For each of the extracted data group of the first color space, obtain a principal component vector and a principal component contribution rate by a principal component analysis method,
Color space axis conversion describing the correspondence between the device-dependent color space data and the second color space data for the second color space with the principal component vector as the axis in the first color space Get the base data,
For the second color space, by performing color space axis conversion using the principal component vector based on the selected limited color data by the principal component analysis method for the extracted target color data group, Obtaining color space axis conversion target base data describing the correspondence between the target color data in the device-dependent color space and the data in the second color space;
Using the color space axis conversion target base data, each of the limited color data is converted into converted color space axis prediction data in the second color space, and the converted color space axis prediction data is converted into the color space. Using the axis conversion base data and the principal component contribution ratio, the data is converted into the device-dependent color space data.
A color prediction method characterized by that.
前記主成分ベクトルのうち分散の大きいものから順にn個の主成分ベクトルを選択し、
前記色空間軸変換ベースデータは、前記選択された主成分ベクトルを軸とする次元数nの色空間軸変換ベースデータである、
ことを特徴とする請求項1又は請求項2に記載の色予測方法。 The limited color data is data of dimension number n (n is 1 or 2) ,
N principal component vectors are selected in descending order of the principal component vectors,
The color space axis conversion base data is color space axis conversion base data having a dimension number n with the selected principal component vector as an axis.
The color prediction method according to claim 1, wherein the color prediction method is a color prediction method.
前記デバイスについての、デバイス依存の色空間のデータとデバイス非依存の色空間である第一の色空間のデータとの対応関係を記したベースデータを格納したベースデータ格納手段と、
前記画像の画像データから前記デバイス依存の色空間の色空間軸上又は2本の色空間軸を含む平面上に位置する限定色である限定色データを選択する限定色選択手段と、
前記選択した限定色データのそれぞれについて、前記ベースデータから対応する前記限定色に該当する前記第一の色空間のデータ群を抽出する限定色抽出手段と、
前記抽出した前記第一の色空間のデータ群のそれぞれに対して、主成分分析法による主成分ベクトル及び主成分寄与率を取得する色空間軸取得手段と、
前記第一の色空間における前記主成分ベクトルを軸とする第二の色空間について、前記デバイス依存の色空間のデータと前記第二の色空間のデータとの対応関係を記した色空間軸変換ベースデータを取得する色空間軸変換ベースデータ取得手段と、
前記色空間軸変換ベースデータ及び前記主成分寄与率を用いて、前記限定色データのそれぞれについて前記第二の色空間における変換色空間軸予測データを予測する予測変換手段と、
前記変換色空間軸予測データを前記第一の色空間のデータに変換する変換する変換手段と、
を含む色予測装置。 A color prediction apparatus that predicts a color for a device that outputs an image,
Base data storage means for storing base data describing a correspondence relationship between data of a device-dependent color space and data of a first color space that is a device-independent color space for the device;
Limited color selection means for selecting limited color data which is a limited color located on a color space axis of the device-dependent color space or on a plane including two color space axes from the image data of the image;
For each of the selected limited color data, limited color extraction means for extracting a data group of the first color space corresponding to the corresponding limited color from the base data;
Color space axis acquisition means for acquiring a principal component vector and a principal component contribution rate by a principal component analysis method for each of the extracted data groups of the first color space;
Color space axis conversion describing the correspondence between the device-dependent color space data and the second color space data for the second color space with the principal component vector as the axis in the first color space Color space axis conversion base data acquisition means for acquiring base data;
Predictive conversion means for predicting converted color space axis prediction data in the second color space for each of the limited color data using the color space axis conversion base data and the principal component contribution rate;
Conversion means for converting the converted color space axis prediction data into data of the first color space;
Including a color prediction device.
前記色空間軸取得手段が、前記主成分ベクトルのうち分散の大きいものから順にn個の主成分ベクトルを選択し、
前記予測変換手段が、前記色空間軸変換ベースデータを、前記選択された主成分ベクトルを軸とする次元数nの色空間軸変換ベースデータとして利用する、
請求項4に記載の色予測装置。 The limited color data is data of dimension number n (n is 1 or 2) ,
The color space axis acquisition means selects n principal component vectors in order from the largest variance among the principal component vectors,
The predictive conversion means uses the color space axis conversion base data as color space axis conversion base data of a dimension number n with the selected principal component vector as an axis.
The color prediction apparatus according to claim 4.
前記デバイスについての、デバイス依存の色空間のデータとデバイス非依存の色空間である第一の色空間のデータとの対応関係を記したベースデータを格納したベースデータ格納手段と、
前記デバイス依存の色空間における目標色のデータと前記第一の色空間との対応関係を記した目標色データベースを格納した目標色ベースデータ格納手段と、
前記画像の画像データから前記デバイス依存の色空間の色空間軸上又は2本の色空間軸を含む平面上に位置する限定色である限定色データを選択する限定色選択手段と、
前記選択した限定色データのそれぞれについて、前記ベースデータから対応する前記限定色に該当する前記第一の色空間のデータ群を抽出する限定色抽出手段と、
前記選択した限定色データのそれぞれについて、前記目標色ベースデータから対応する前記限定色に該当する前記第一の色空間のデータである目標色データ群を抽出する目標色抽出手段と、
前記抽出した前記第一の色空間のデータ群のそれぞれに対して、主成分分析法による主成分ベクトル及び主成分寄与率を取得する色空間軸取得手段と、
前記第一の色空間における前記主成分ベクトルを軸とする第二の色空間について、前記デバイス依存の色空間のデータと前記第二の色空間のデータとの対応関係を記した色空間軸変換ベースデータを取得する色空間軸変換ベースデータ取得手段と、
前記第二の色空間について、前記抽出した目標色データ群に対して、主成分分析法による前記選択した限定色データに基づいた主成分ベクトルを用いて色空間軸の変換を行うことにより、前記デバイス依存の色空間の前記目標色のデータと前記第二の色空間のデータとの対応関係を記した色空間軸変換目標ベースデータを取得する色空間軸変換目標ベースデータ取得手段と、
前記色空間軸変換目標ベースデータを用いて、前記限定色データのそれぞれについて前記第二の色空間における変換色空間軸予測データに変換する予測変換手段と、
前記変換した変換色空間軸予測データを、前記色空間軸変換ベースデータ及び前記主成分寄与率を用いて、前記デバイス依存の色空間のデータに変換する変換手段と、
を含む色予測装置。 A color prediction apparatus that predicts a color for a device that outputs an image,
Base data storage means for storing base data describing a correspondence relationship between data of a device-dependent color space and data of a first color space that is a device-independent color space for the device;
Target color base data storage means for storing a target color database describing the correspondence between the target color data in the device-dependent color space and the first color space;
Limited color selection means for selecting limited color data which is a limited color located on a color space axis of the device-dependent color space or on a plane including two color space axes from the image data of the image;
For each of the selected limited color data, limited color extraction means for extracting a data group of the first color space corresponding to the corresponding limited color from the base data;
For each of the selected limited color data, target color extraction means for extracting a target color data group that is data of the first color space corresponding to the limited color corresponding to the target color base data;
Color space axis acquisition means for acquiring a principal component vector and a principal component contribution rate by a principal component analysis method for each of the extracted data groups of the first color space;
Color space axis conversion describing the correspondence between the device-dependent color space data and the second color space data for the second color space with the principal component vector as the axis in the first color space Color space axis conversion base data acquisition means for acquiring base data;
For the second color space, by performing color space axis conversion using the principal component vector based on the selected limited color data by the principal component analysis method for the extracted target color data group, Color space axis conversion target base data acquisition means for acquiring color space axis conversion target base data describing a correspondence relationship between the target color data of the device-dependent color space and the data of the second color space;
Predictive conversion means for converting each of the limited color data into converted color space axis prediction data in the second color space using the color space axis conversion target base data;
Conversion means for converting the converted converted color space axis prediction data into data of the device-dependent color space using the color space axis conversion base data and the principal component contribution rate;
Including a color prediction device.
前記色空間軸取得手段が、前記主成分ベクトルのうち分散の大きいものから順にn個の主成分ベクトルを選択し、
前記変換手段が、前記色空間軸変換ベースデータを、前記選択された主成分ベクトルを軸とする次元数nの色空間軸変換ベースデータとして利用する、
請求項6に記載の色予測装置。 The limited color data is data of dimension number n (n is 1 or 2) ,
The color space axis acquisition means selects n principal component vectors in order from the largest variance among the principal component vectors,
The conversion means uses the color space axis conversion base data as color space axis conversion base data of dimension number n with the selected principal component vector as an axis.
The color prediction apparatus according to claim 6.
画像を出力するデバイスについて、該画像の画像データからデバイス依存の色空間の色空間軸上又は2本の色空間軸を含む平面上に位置する限定色である限定色データを選択する限定色選択手段と、
前記デバイスについての、デバイス依存の色空間のデータとデバイス非依存の色空間である第一の色空間のデータとの対応関係を記したベースデータから、前記限定色データのそれぞれに対応する限定色に該当する前記第一の色空間のデータ群を抽出する限定色抽出手段と、
前記抽出した前記第一の色空間のデータ群のそれぞれに対して、主成分分析法による主成分ベクトル及び主成分寄与率を取得する色空間軸取得手段と、
前記第一の色空間における前記主成分ベクトルを軸とする第二の色空間について、前記デバイス依存の色空間のデータと前記第二の色空間のデータとの対応関係を記した色空間軸変換ベースデータを取得する色空間軸変換ベースデータ取得手段と、
前記色空間軸変換ベースデータ及び前記主成分寄与率を用いて、前記限定色データのそれぞれについて前記第二の色空間における変換色空間軸予測データを予測する予測変換手段と、
前記変換色空間軸予測データを前記第一の色空間のデータに変換する変換する変換手段と、
して機能させる色予測プログラム。 Computer
For a device that outputs an image, a limited color selection that selects limited color data that is a limited color located on a color space axis of a device-dependent color space or on a plane including two color space axes from the image data of the image Means,
The limited color corresponding to each of the limited color data from the base data describing the correspondence between the data of the device-dependent color space and the data of the first color space which is the device-independent color space for the device Limited color extraction means for extracting a data group of the first color space corresponding to
Color space axis acquisition means for acquiring a principal component vector and a principal component contribution rate by a principal component analysis method for each of the extracted data groups of the first color space;
Color space axis conversion describing the correspondence between the device-dependent color space data and the second color space data for the second color space with the principal component vector as the axis in the first color space Color space axis conversion base data acquisition means for acquiring base data;
Predictive conversion means for predicting converted color space axis prediction data in the second color space for each of the limited color data using the color space axis conversion base data and the principal component contribution rate;
Conversion means for converting the converted color space axis prediction data into data of the first color space;
Color prediction program that makes it work.
画像を出力するデバイスについて、前記画像の画像データからデバイス依存の色空間の色空間軸上又は2本の色空間軸を含む平面上となる限定色の限定色データを選択する限定色選択手段と、
前記デバイスについての、前記デバイス依存の色空間のデータとデバイス非依存の色空間である第一の色空間のデータとの対応関係を記したベースデータから、前記選択した限定色データのそれぞれについて対応する限定色に該当する前記第一の色空間のデータ群を抽出する限定色抽出手段と、
前記デバイス依存の色空間における目標色のデータと前記第一の色空間との対応関係を記した目標色データベースから、前記選択した限定色データのそれぞれについて対応する限定色に該当する前記第一の色空間のデータである目標色データ群を抽出する目標色抽出手段と、
前記抽出した前記第一の色空間のデータ群のそれぞれに対して、主成分分析法による主成分ベクトル及び主成分寄与率を取得する色空間軸取得手段と、
前記第一の色空間における前記主成分ベクトルを軸とする第二の色空間について、前記デバイス依存の色空間のデータと前記第二の色空間のデータとの対応関係を記した色空間軸変換ベースデータを取得する色空間軸変換ベースデータ取得手段と、
前記第二の色空間について、前記抽出した目標色データ群に対して、主成分分析法による前記選択した限定色データに基づいた主成分ベクトルを用いて色空間軸の変換を行うことにより、前記デバイス依存の色空間の前記目標色のデータと前記第二の色空間のデータとの対応関係を記した色空間軸変換目標ベースデータを取得する色空間軸変換目標ベースデータ取得手段と、
前記色空間軸変換目標ベースデータを用いて、前記限定色データのそれぞれについて前記第二の色空間における変換色空間軸予測データに変換する予測変換手段と、
前記変換した該変換色空間軸予測データを、前記色空間軸変換ベースデータ及び前記主成分寄与率を用いて、前記デバイス依存の色空間のデータに変換する変換手段と、
して機能させる色予測プログラム。 Computer
A limited color selecting unit that selects limited color data of a limited color on a color space axis of a device-dependent color space or on a plane including two color space axes from the image data of the image for a device that outputs an image; ,
Corresponding to each of the selected limited color data from the base data describing the correspondence between the device-dependent color space data and the first color space data which is a device-independent color space for the device Limited color extracting means for extracting a data group of the first color space corresponding to the limited color;
From the target color database that describes the correspondence between the target color data in the device-dependent color space and the first color space, the first limited color corresponding to each of the selected limited color data. Target color extraction means for extracting a target color data group which is data of color space;
Color space axis acquisition means for acquiring a principal component vector and a principal component contribution rate by a principal component analysis method for each of the extracted data groups of the first color space;
Color space axis conversion describing the correspondence between the device-dependent color space data and the second color space data for the second color space with the principal component vector as the axis in the first color space Color space axis conversion base data acquisition means for acquiring base data;
For the second color space, by performing color space axis conversion using the principal component vector based on the selected limited color data by the principal component analysis method for the extracted target color data group, Color space axis conversion target base data acquisition means for acquiring color space axis conversion target base data describing a correspondence relationship between the target color data of the device-dependent color space and the data of the second color space;
Predictive conversion means for converting each of the limited color data into converted color space axis prediction data in the second color space using the color space axis conversion target base data;
Conversion means for converting the converted converted color space axis prediction data into data of the device-dependent color space using the color space axis conversion base data and the principal component contribution rate;
Color prediction program that makes it work.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005217920A JP4548261B2 (en) | 2005-07-27 | 2005-07-27 | Color prediction method, color prediction apparatus, and color prediction program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005217920A JP4548261B2 (en) | 2005-07-27 | 2005-07-27 | Color prediction method, color prediction apparatus, and color prediction program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007036746A JP2007036746A (en) | 2007-02-08 |
JP4548261B2 true JP4548261B2 (en) | 2010-09-22 |
Family
ID=37795435
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005217920A Expired - Fee Related JP4548261B2 (en) | 2005-07-27 | 2005-07-27 | Color prediction method, color prediction apparatus, and color prediction program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4548261B2 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09233490A (en) * | 1996-02-20 | 1997-09-05 | Toyo Ink Mfg Co Ltd | Color simulator |
JPH09326940A (en) * | 1996-06-05 | 1997-12-16 | Fuji Xerox Co Ltd | Image processing unit |
JPH11275378A (en) * | 1998-03-25 | 1999-10-08 | Fuji Photo Film Co Ltd | Method and device for adjusting white balance |
JP2000163569A (en) * | 1998-11-30 | 2000-06-16 | Mitsubishi Electric Corp | Improving method and device for picture quality |
JP2004110647A (en) * | 2002-09-20 | 2004-04-08 | Fuji Xerox Co Ltd | Method, device for creating color conversion coefficient, program and storage medium |
-
2005
- 2005-07-27 JP JP2005217920A patent/JP4548261B2/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09233490A (en) * | 1996-02-20 | 1997-09-05 | Toyo Ink Mfg Co Ltd | Color simulator |
JPH09326940A (en) * | 1996-06-05 | 1997-12-16 | Fuji Xerox Co Ltd | Image processing unit |
JPH11275378A (en) * | 1998-03-25 | 1999-10-08 | Fuji Photo Film Co Ltd | Method and device for adjusting white balance |
JP2000163569A (en) * | 1998-11-30 | 2000-06-16 | Mitsubishi Electric Corp | Improving method and device for picture quality |
JP2004110647A (en) * | 2002-09-20 | 2004-04-08 | Fuji Xerox Co Ltd | Method, device for creating color conversion coefficient, program and storage medium |
Also Published As
Publication number | Publication date |
---|---|
JP2007036746A (en) | 2007-02-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4623137B2 (en) | Color processing apparatus, method and program | |
US8045186B2 (en) | Image processing apparatus, image processing method, computer readable medium and data signal | |
US20080253649A1 (en) | Image output color management system and method | |
JP4646681B2 (en) | Color processing apparatus and method | |
US8786626B2 (en) | Color processing device, color processing method, and computer readable medium storing program | |
JP4235837B2 (en) | Graininess prediction, profile creation and printing device | |
CN106464775B (en) | Color model | |
US20170337453A1 (en) | Color conversion apparatus, look-up table generating method, and look-up table generating apparatus | |
US7312891B2 (en) | Image processing method and apparatus | |
US7652806B2 (en) | Optimal node placement for multi-dimensional profile luts for arbitrary media and halftones using parameterized minimization | |
US6023351A (en) | Regularized printer LUT with improved accuracy | |
JP4803122B2 (en) | Color processing apparatus and program | |
JP5473194B2 (en) | Color processing apparatus and method | |
US7595910B2 (en) | Method for making a dot for dot proof | |
JP2010147586A (en) | Print result predicting method, profile forming method, printer, and survey sheet | |
JP6298387B2 (en) | Color conversion table creation device and method, and program | |
US7515300B2 (en) | Image processing apparatus and image processing method | |
JP4548261B2 (en) | Color prediction method, color prediction apparatus, and color prediction program | |
JP2007036747A (en) | Color prediction method, color prediction apparatus, and color prediction program | |
JP4613940B2 (en) | Color signal conversion apparatus, image forming apparatus, and program | |
Biswas et al. | A testing paradigm for quantifying ICC profilers | |
JP4459127B2 (en) | Color processing method and apparatus | |
JP2017060025A (en) | Image forming apparatus and program | |
JP2009284261A (en) | Color processing device, method and program | |
JP2005175875A (en) | Color correction device, color correction method, program, and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080423 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091116 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091201 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100201 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100420 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100531 |
|
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: 20100615 |
|
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: 20100628 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4548261 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130716 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140716 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |