JP5152515B2 - Color correction coefficient generation apparatus and color correction coefficient generation program - Google Patents

Color correction coefficient generation apparatus and color correction coefficient generation program Download PDF

Info

Publication number
JP5152515B2
JP5152515B2 JP2008326724A JP2008326724A JP5152515B2 JP 5152515 B2 JP5152515 B2 JP 5152515B2 JP 2008326724 A JP2008326724 A JP 2008326724A JP 2008326724 A JP2008326724 A JP 2008326724A JP 5152515 B2 JP5152515 B2 JP 5152515B2
Authority
JP
Japan
Prior art keywords
color
correction
value
correction coefficient
coefficient
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
Application number
JP2008326724A
Other languages
Japanese (ja)
Other versions
JP2010153945A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2008326724A priority Critical patent/JP5152515B2/en
Publication of JP2010153945A publication Critical patent/JP2010153945A/en
Application granted granted Critical
Publication of JP5152515B2 publication Critical patent/JP5152515B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、色補正係数生成装置及び色補正係数生成プログラムに関するものである。   The present invention relates to a color correction coefficient generation device and a color correction coefficient generation program.

現在、デジタルカメラやカラースキャナ、カラープリンタ、カラーディスプレイなどのようにカラーを扱う機器が普及し、幅広く使用されてきている。それとともに、市場から色の再現性の向上が要求されている。例えば特にDTP(Desk Top Publishing)等で使用されるシステムにおいては、各機器におけるCMS(カラーマネージメントシステム)は、必要不可欠なものとなっている。現在ICC(International Color Consortium)に代表されるカラープロファイルなどに基づき、色補正を行うためのテーブル値を決定し、各種発明されている補間処理などによって色補正がなされている。   Currently, devices that handle color, such as digital cameras, color scanners, color printers, and color displays, are widespread and widely used. At the same time, improvement in color reproducibility is required from the market. In the system used, for example, particularly DTP (Desk Top Publishing), etc., CMS (Color Management System) in each device is indispensable. Currently, table values for color correction are determined based on a color profile typified by ICC (International Color Consortium), and color correction is performed by various invented interpolation processes.

これまでも色変換、キャリブレーション、色校正等を行う方法が各種発明されている。これらは各装置に対する目標値が設定され、その目標値を再現する装置依存の色空間の値に色変換がなされる。キャリブレーションの場合、その補正方法としては、現在、1次元の表を用いて実現されているものがほとんどであり、単色を補正する単色キャリブレーションや、CMY3色重ねのプロセスブラックを補正するグレイバランスキャリブレーションの大きく分けて2つの技術が存在する。しかしながら、それぞれ補正する箇所が特定されており、単色キャリブレーションでは2次色、3次色といった複数の色材を重ねた部分での補正精度は保証されない。例えば特に電子写真方式では、多重転写率の変動により、1次色をあわせても、2次色以上の色で色バランスが崩れてしまう。グレイバランスキャリブレーションでも、プロセスグレイ部分以外の色に対しては、精度は保証されない。   Various methods for performing color conversion, calibration, color calibration and the like have been invented so far. In these, target values for each device are set, and color conversion is performed to values in a device-dependent color space that reproduces the target values. In the case of calibration, most of the correction methods currently implemented using a one-dimensional table are single-color calibration for correcting a single color, and gray balance for correcting process black of CMY three-color superposition. There are two main techniques for calibration. However, each location to be corrected is specified, and the correction accuracy in a portion where a plurality of color materials such as a secondary color and a tertiary color are overlapped is not guaranteed in the single color calibration. For example, particularly in the electrophotographic system, even if the primary colors are combined due to the variation in the multiple transfer rate, the color balance is lost for the secondary colors or more. Even with gray balance calibration, accuracy is not guaranteed for colors other than the process gray portion.

近年、3次元の表を採用したキャリブレーション方式が開発されている。これにより、その装置で再現される色領域全域で精度よく補正が行われるようになった。この3次元の表を採用したキャリブレーション方式では、各色成分の値が必要になる。そのため、各色成分が分版された後の面順次での処理よりも、分版される前の点順次での処理に向いている。   In recent years, a calibration method using a three-dimensional table has been developed. As a result, correction can be performed with high accuracy over the entire color region reproduced by the apparatus. In the calibration method using this three-dimensional table, the value of each color component is required. Therefore, it is more suitable for point-sequential processing before color separation than processing by frame-sequential after color components are separated.

例えば特許文献1においては、面内ムラを補正する際に、1次色だけでなく多次色の色ムラを全濃度色域にわたって改善することが記載されている。この技術では、ある色成分単色(1次色)から作成した補正テーブルと、多次色から当該色成分を分版して作成した補正テーブルの値の平均を求めて当該色成分の補正テーブルを生成するものである。これにより、色範囲全体として平均的な色補正が行われることになる。   For example, Patent Document 1 describes that when correcting in-plane unevenness, not only the primary color but also multi-order color unevenness is improved over the entire color gamut. In this technique, an average of values of a correction table created from a certain color component single color (primary color) and a correction table created by separating the color component from multi-order colors is obtained, and the correction table for the color component is obtained. Is to be generated. As a result, average color correction is performed for the entire color range.

特開2006−343682号公報JP 2006-343682 A

本発明は、特定の補正対象の色についての補正精度を向上させながら色域全体としての補正精度を確保することができる色補正係数生成装置及び色補正係数生成プログラムを提供することを目的とするものである。   An object of the present invention is to provide a color correction coefficient generation device and a color correction coefficient generation program capable of ensuring the correction accuracy of the entire color gamut while improving the correction accuracy of a specific correction target color. Is.

本願請求項1に記載の発明は、補正対象となる対象色値に対応する補正用色値を取得する補正値取得手段と、前記対象色値に対する重み係数を設定する重み係数設定手段と、前記対象色値及び前記補正用色値と前記重み係数に従って前記対象色値を色成分毎に補正するための色補正係数を生成する生成手段と、前記生成手段で生成した色補正係数が収束条件を満たすか否かを判定する収束条件判定手段と、前記収束条件判定手段で前記収束条件を満たさないと判定された場合に前記生成手段で生成した前記色補正係数を用いた補正結果の評価値を取得する評価値取得手段を有し、前記重み係数設定手段は、前記評価値取得手段で取得した前記評価値をもとに前記重み係数を変更して改めて前記色補正係数生成手段に色補正係数を生成させることを特徴とする色補正係数生成装置である。   The invention according to claim 1 is a correction value acquisition unit that acquires a correction color value corresponding to a target color value to be corrected, a weighting factor setting unit that sets a weighting factor for the target color value, A generation unit that generates a color correction coefficient for correcting the target color value for each color component according to the target color value, the correction color value, and the weighting factor, and the color correction coefficient generated by the generation unit satisfies a convergence condition. A convergence condition determining means for determining whether or not the condition is satisfied; and an evaluation value of a correction result using the color correction coefficient generated by the generating means when the convergence condition determining means determines that the convergence condition is not satisfied. Evaluation value acquisition means for acquiring, wherein the weighting coefficient setting means changes the weighting coefficient based on the evaluation value acquired by the evaluation value acquisition means and re-applies the color correction coefficient to the color correction coefficient generation means. To generate A color correction coefficient generation device according to claim.

本願請求項2に記載の発明は、補正対象となる対象色値に対応する補正用色値を取得する補正値取得手段と、前記対象色値に対する重み係数を設定する重み係数設定手段と、前記対象色値及び前記補正用色値と前記重み係数に従って前記対象色値を色成分毎に補正するための色補正係数を生成する生成手段と、前記生成手段で生成した前記色補正係数を用いた補正結果の評価値を取得する評価値取得手段と、前記評価値取得手段で取得した前記評価値が収束条件を満たすか否かを判定する収束条件判定手段を有し、前記重み係数設定手段は、前記収束条件判定手段で前記収束条件を満たさないと判定された場合に、前記評価値取得手段で取得した前記評価値をもとに前記重み係数を変更して改めて前記色補正係数生成手段に色補正係数を生成させることを特徴とする色補正係数生成装置である。   The invention according to claim 2 of the present application is a correction value acquisition unit that acquires a correction color value corresponding to a target color value to be corrected, a weighting factor setting unit that sets a weighting factor for the target color value, A generation unit that generates a color correction coefficient for correcting the target color value for each color component according to the target color value, the correction color value, and the weighting factor, and the color correction coefficient generated by the generation unit are used. Evaluation value acquisition means for acquiring an evaluation value of a correction result, and convergence condition determination means for determining whether or not the evaluation value acquired by the evaluation value acquisition means satisfies a convergence condition, and the weighting factor setting means When the convergence condition determination unit determines that the convergence condition is not satisfied, the weight correction coefficient is changed based on the evaluation value acquired by the evaluation value acquisition unit, and the color correction coefficient generation unit is updated. Generate color correction factor A color correction coefficient generating device for causing.

本願請求項3に記載の発明は、本願請求項1または請求項2に記載の色補正係数生成装置の前記評価値取得手段が、前記色補正係数を使用した色補正処理のシミュレーションにより前記補正結果を得て、補正前後の色差に基づいて評価値を取得することを特徴とする色補正係数生成装置である。   According to a third aspect of the present invention, in the color correction coefficient generation device according to the first or second aspect of the present invention, the evaluation value acquisition unit performs the correction result by simulation of color correction processing using the color correction coefficient. And obtaining an evaluation value based on the color difference before and after the correction.

本願請求項4に記載の発明は、本願請求項1または請求項2に記載の色補正係数生成装置の前記評価値取得手段が、前記色補正係数を使用した画像を出力して得られた色値をもとに前記補正結果を得て、補正前後の色差に基づいて評価値を取得することを特徴とする色補正係数生成装置である。   The invention described in claim 4 is a color obtained by the evaluation value acquisition unit of the color correction coefficient generation device according to claim 1 or 2 outputting an image using the color correction coefficient. The color correction coefficient generation apparatus is characterized in that the correction result is obtained based on a value and an evaluation value is acquired based on a color difference before and after the correction.

本願請求項5に記載の発明は、コンピュータに、請求項1から請求項4のいずれか1項に記載の色補正係数生成装置の機能を実行させるものであることを特徴とする色補正係数生成プログラムである。   The invention according to claim 5 of the present application causes a computer to execute the function of the color correction coefficient generation device according to any one of claims 1 to 4. It is a program.

本願請求項1及び請求項2に記載の発明によれば、特定の補正対象の色についての補正精度を向上させながら色域全体としての補正精度を確保することができる。   According to the first and second aspects of the present invention, it is possible to ensure the correction accuracy for the entire color gamut while improving the correction accuracy for a specific color to be corrected.

本願請求項3に記載の発明によれば、実際の出力装置を用いなくても色補正係数を得ることができる。   According to the third aspect of the present invention, the color correction coefficient can be obtained without using an actual output device.

本願請求項4に記載の発明によれば、実際の出力装置に即した色補正係数を得ることができる。   According to the fourth aspect of the present invention, a color correction coefficient suitable for an actual output device can be obtained.

本願請求項5に記載の発明によれば、請求項1から請求項4のいずれか1項における効果を得ることができる。   According to the invention described in claim 5 of the present application, the effect of any one of claims 1 to 4 can be obtained.

図1は、本発明の第1の実施の形態を示す構成図である。図中、1は補正値取得部、2は重み係数設定部、3は色補正係数生成部、4は収束条件判定部、5は評価値取得部、6は色補正係数記憶部、11は第1色予測部、12は第2色予測部、21はバランスパラメータ設定部、22は重み係数算出部である。なお、以下の説明では色成分としてC(シアン)、M(マゼンタ)、Y(イエロー)、K(ブラック)を有する色値を対象とするが、これに限らないことは言うまでもない。   FIG. 1 is a block diagram showing a first embodiment of the present invention. In the figure, 1 is a correction value acquisition unit, 2 is a weight coefficient setting unit, 3 is a color correction coefficient generation unit, 4 is a convergence condition determination unit, 5 is an evaluation value acquisition unit, 6 is a color correction coefficient storage unit, and 11 is a first color correction coefficient storage unit. One color prediction unit, 12 a second color prediction unit, 21 a balance parameter setting unit, and 22 a weighting factor calculation unit. In the following description, color values having C (cyan), M (magenta), Y (yellow), and K (black) as color components are targeted, but it goes without saying that the present invention is not limited to this.

補正値取得部1は、補正対象となる対象色値に対応する補正用色値を取得する。対象色値としては、補正で重要となる色の情報が含まれているとよく、例えば、C、M、Y、K各単色や3色のグレイ等のC、M、Y、Kの値を対象色値とすることが考えられる。また、色域全体について補正が必要であれば、2次色、3次色、4次色など、色域内部の色値についても対象色値とする。例えば各色成分について予め設定した刻みの単色の組み合わせを対象色値とすればよい。補正用色値は、対象色値を出力した場合に本来得たい色を、補正対象となっている出力装置で得るために、当該出力装置に入力すべき色値である。すなわち、対象色値を補正用色値に変換して出力装置に入力すれば、その出力は本来得たい色が得られることになる。   The correction value acquisition unit 1 acquires a correction color value corresponding to a target color value to be corrected. The target color value preferably includes color information that is important for correction. For example, C, M, Y, and K values such as C, M, Y, and K single colors and three colors of gray are used. The target color value can be considered. If correction is necessary for the entire color gamut, color values inside the color gamut such as secondary color, tertiary color, and quaternary color are also set as target color values. For example, a combination of single colors in increments set in advance for each color component may be used as the target color value. The correction color value is a color value to be input to the output device in order to obtain the color originally desired when the target color value is output by the output device that is the correction target. That is, if the target color value is converted into a correction color value and input to the output device, the output color can be obtained originally.

図1に示した例では、補正値取得部1は第1色予測部11と第2色予測部12を含んで構成されている。第1色予測部11は、対象色値から本来得ようとする色値を予測する。例えば補正を必要としない状態の出力装置に対して与えたCMYK値と、そのCMYK値により出力装置が出力した画像の測色値を対にした素データをもとに色変換モデルを作成し、その色変換モデルを用いて対象色値から予測値に変換すればよい。ここでは、予測値は装置に依存しない色空間であるLAB色空間の値Labとしている。   In the example illustrated in FIG. 1, the correction value acquisition unit 1 includes a first color prediction unit 11 and a second color prediction unit 12. The first color predicting unit 11 predicts a color value originally intended to be obtained from the target color value. For example, a color conversion model is created based on raw data that is a pair of CMYK values given to an output device that does not require correction and colorimetric values of an image output by the output device based on the CMYK values. The target color value may be converted into the predicted value using the color conversion model. Here, the predicted value is a value Lab in the LAB color space that is a color space independent of the apparatus.

第2色予測部12は、第1色予測部11で予測された色を、補正が必要となっている出力装置により出力するために、その出力装置に入力すべき色値を予測する。例えば補正が必要となっている出力装置に対して与えたCMYK値と、そのCMYK値により出力装置が出力した画像の測色値を対にした素データをもとに、測色値(ここではLab値)からCMYK値への色変換モデルを作成し、その色変換モデルを用いて、第1色予測部11で予測した色値から補正用色値へ変換すればよい。   The second color prediction unit 12 predicts a color value to be input to the output device in order to output the color predicted by the first color prediction unit 11 by the output device that needs to be corrected. For example, a colorimetric value (here, a CMYK value given to an output device that needs to be corrected) and a raw data obtained by pairing a colorimetric value of an image output by the output device based on the CMYK value. A color conversion model from Lab values) to CMYK values may be created, and the color values predicted by the first color prediction unit 11 may be converted to correction color values using the color conversion model.

なお、補正値取得部1は対象色値に対応する補正用色値が取得されれば上述の構成に限られるものではなく、他の方法により補正用色値を取得してもよい。また、対象色値と補正用色値の組が与えられれば、あえて補正値取得部1を設けずに構成してもよい。   The correction value acquisition unit 1 is not limited to the above-described configuration as long as the correction color value corresponding to the target color value is acquired, and the correction color value may be acquired by another method. Further, if the set of the target color value and the correction color value is given, the correction value acquisition unit 1 may not be provided.

重み係数設定部2は、各対象色値に対して、それぞれの対象色値の重要度を示す重み係数を設定する。この重み係数は、色補正係数生成部3で生成した色補正係数が収束条件を満たさないと収束条件判定部4で判定された場合に、評価値取得部5で取得した評価値をもとにして変更し、変更した重み係数を用いた色補正係数の生成を色補正係数生成部3に行わせる。   The weighting factor setting unit 2 sets a weighting factor indicating the importance of each target color value for each target color value. This weighting factor is based on the evaluation value acquired by the evaluation value acquisition unit 5 when it is determined by the convergence condition determination unit 4 that the color correction coefficient generated by the color correction coefficient generation unit 3 does not satisfy the convergence condition. The color correction coefficient generation unit 3 is caused to generate a color correction coefficient using the changed weighting coefficient.

この重み係数設定部2は、この例ではバランスパラメータ設定部21及び重み係数算出部22を含んで構成されている。バランスパラメータ設定部21は、複数の重視する色領域(重要色領域)に対して、それぞれどの程度重視するかを設定するものである。重要色領域としては、特定の色を指定するほか、単色軸やグレイ軸、高濃度域あるいは低濃度域、高彩度域や低彩度域など、種々の色領域が設定の候補となる。これらの重要色領域から離れるほど重みが小さくなる重み関数を設定し、さらに、各重み関数を重視する程度を表す係数(バランスパラメータ)を設定する。   The weighting factor setting unit 2 includes a balance parameter setting unit 21 and a weighting factor calculation unit 22 in this example. The balance parameter setting unit 21 sets the degree of importance for each of a plurality of important color areas (important color areas). As the important color area, a specific color is designated, and various color areas such as a single color axis, a gray axis, a high density area or a low density area, a high saturation area, and a low saturation area are candidates for setting. Set the weighting function weight decreases with increasing distance from these important color regions, further, it sets a coefficient (balance parameter) indicating the degree of emphasis on the weighting function.

重み係数算出部22は、対象色値と、補正値取得部1で取得した対象色値に対応する補正用色値を受け取り、バランスパラメータ設定部21が設定した各重み関数とバランスパラメータに応じて、各対象色値に対する重み係数を生成する。より具体的に上述のように単色及びグレイ軸を重要色領域としてそれぞれ重み関数を設定し、バランスパラメータを単色:グレイ軸=3:7とした場合、ある対象色値について、単色からの距離に応じた重みと、グレイ軸からの距離に応じた重みとを、3:7の割合で合成した重みを当該対象色値に対する重み係数とすればよい。   The weighting coefficient calculation unit 22 receives the target color value and the correction color value corresponding to the target color value acquired by the correction value acquisition unit 1, and according to each weight function and balance parameter set by the balance parameter setting unit 21 The weighting coefficient for each target color value is generated. More specifically, when the weight function is set for each of the single color and the gray axis as the important color region and the balance parameter is set to the single color: gray axis = 3: 7 as described above, the target color value is set to the distance from the single color. depending the weight was, and a weight corresponding to the distance from the gray axis, 3: 7 weight synthesized in a proportion of it may be a weighting coefficient for the target color values.

もちろん、重み係数の設定方法はこの例に限られるものではなく、種々の設定方法を用いて重み係数を設定してもよい。上述のように、評価値取得部5で取得した評価値をもとにした重み係数の変更を行うので、変更に対応した重み係数の設定方法であればよい。なお、図示している構成では、収束条件判定部4で収束条件を満たしていないと判定された場合に、バランスパラメータ設定部21において設定するバランスパラメータを変更して重み係数の変更を行う。もちろん、各重み関数を変更するなど、他の構成で重み係数を変更してももよい。   Of course, the method of setting the weighting factor is not limited to this example, and the weighting factor may be set using various setting methods. As described above, since the weighting coefficient is changed based on the evaluation value acquired by the evaluation value acquisition unit 5, any setting method for the weighting coefficient corresponding to the change may be used. In the illustrated configuration, when the convergence condition determination unit 4 determines that the convergence condition is not satisfied, the balance parameter set by the balance parameter setting unit 21 is changed to change the weighting coefficient. Of course, the weighting coefficient may be changed by another configuration such as changing each weighting function.

色補正係数生成部3は、対象色値及び補正値取得部1で取得した補正用色値と、重み係数設定部2で設定した重み係数に従って、対象色値を色成分毎に補正するための色補正係数を生成する。色補正係数は、例えばCMYKであれば、C、M、Y、Kの各色成分について、補正前の値と補正後の値とを対応付けた1次元の表形式で生成すればよい。もちろん、色補正係数として色補正を行うための関数を生成したり、あるいは予め設定されている色補正のための関数のパラメータを生成する構成であってもよい。   The color correction coefficient generation unit 3 corrects the target color value for each color component in accordance with the correction color value acquired by the target color value and correction value acquisition unit 1 and the weighting coefficient set by the weighting coefficient setting unit 2. Generate color correction coefficients. For example, in the case of CMYK, the color correction coefficient may be generated in a one-dimensional table format in which values before correction and values after correction are associated with each other for C, M, Y, and K color components. Of course, a configuration for generating a function for performing color correction as a color correction coefficient, or generating a parameter for a function for color correction that is set in advance may be used.

収束条件判定部4は、色補正係数生成部3で生成した色補正係数が、予め設定されている収束条件を満たすか否かを判定する。収束条件としては、前回生成された、あるいは初回であれば予め設定された、色補正係数との差の範囲を設定するなどが考えられる。収束条件を満たす場合には、生成された色補正係数を色補正係数記憶部6へ記憶させて色補正係数の生成処理を終了する。収束条件を満たさない場合は、評価値取得部5へ色補正係数を転送して当該色補正係数の評価値を取得し、重み係数の再設計が行われるようにする。この場合も、色補正係数を色補正係数記憶部6に記憶させておき、次回以降の収束条件の判定の際に使用する。   Convergence condition determination section 4 determines the color correction coefficient generated by the color correction coefficient generation unit 3, whether the convergence conditions are satisfied or not, which is set in advance. As the convergence condition, it is conceivable to set a range of difference from the color correction coefficient that was generated last time or previously set for the first time. When the convergence condition is satisfied, the generated color correction coefficient is stored in the color correction coefficient storage unit 6 and the color correction coefficient generation process is terminated. If the convergence condition is not satisfied, the color correction coefficient is transferred to the evaluation value acquisition unit 5, the evaluation value of the color correction coefficient is acquired, and the weighting coefficient is redesigned. Also in this case, the color correction coefficient is stored in the color correction coefficient storage unit 6 and is used when the convergence condition is determined next time.

評価値取得部5は、色補正係数生成部3で生成した色補正係数が収束条件判定部4で収束条件を満たさないと判定された場合に、色補正係数生成部3で生成した色補正係数を用いた補正結果の評価値を取得する。補正結果は、例えば評価用の色票の色値について、色補正係数を使用した色補正処理のシミュレーションにより得るほか、色補正係数を使用して出力装置に実際に画像を出力させ、得られた色値をもとに補正結果を得てもよい。得られた各色票の色値に対する補正結果をもとに、補正前後の色値の差(色差)に基づいて評価値を取得する。例えば、平均色差、中央値、最大色差、RMS、または補正結果を得た色について色差を降順に並べた場合の予め設定された位置(例えば95%の位置など)にあたる色差などを評価値とすればよい。もちろん、他の値を評価値としてもよい。なお、補正結果を得る際に用いる評価用の色票や、評価値としてどのような値を用いるかについては、利用者が選択して予め設定するように構成してもよい。また、補正結果の取得には補正値取得部1を利用する構成でもよい。   The evaluation value acquisition unit 5 generates the color correction coefficient generated by the color correction coefficient generation unit 3 when the color correction coefficient generated by the color correction coefficient generation unit 3 determines that the convergence condition determination unit 4 does not satisfy the convergence condition. The evaluation value of the correction result using is acquired. The correction result is obtained by, for example, simulating color correction processing using the color correction coefficient for the color value of the color chart for evaluation, and by causing the output device to actually output an image using the color correction coefficient. A correction result may be obtained based on the color value. An evaluation value is acquired based on the difference between the color values before and after correction (color difference) based on the correction result for the color value of each color chart obtained. For example, the average color difference, the median value, the maximum color difference, the RMS, or the color difference corresponding to a preset position (for example, 95% position) when the color differences are arranged in descending order for the color obtained as the correction result is used as the evaluation value. That's fine. Of course, other values may be used as evaluation values. Note that the evaluation color chart used when obtaining the correction result and what value is used as the evaluation value may be configured to be selected and set in advance by the user. Further, the correction value acquisition unit 1 may be used to acquire the correction result.

色補正係数記憶部6は、色補正係数生成部3で生成した色補正係数を色成分毎に記憶する。収束条件判定部4で収束条件を満たした場合には、その際に記憶した色補正係数が最終的な生成結果となる。   The color correction coefficient storage unit 6 stores the color correction coefficient generated by the color correction coefficient generation unit 3 for each color component. When the convergence condition determination unit 4 satisfies the convergence condition, the color correction coefficient stored at that time is the final generation result.

図2は、本発明の第1の実施の形態における動作の一例を示す流れ図である。動作が開始すると、まずS41において、色域全体にまんべんなく対象色値を設定し、対象色値に対応する補正用色値を補正値取得部1が取得し、対象色値と補正用色値との対を得る。S42において、得られた対象色値と補正用色値との対のひとつひとつについて、重み係数設定部2が重み係数を設定する。この重み係数は、単色、グレイ、2次色、特定色などといった重視する色域の再現性をよくするように設定するとよい。また、低濃度や高濃度といった特定の色領域ごとにも重み係数を設定することによって、濃度域毎に重視する色領域の設定も可能となり、例えば組み合わせて、低濃度領域では単色重視、高濃度領域ではグレイ重視などの再現を行うように重み係数を設定してもよい。   FIG. 2 is a flowchart showing an example of operation in the first exemplary embodiment of the present invention. When the operation starts, first, in S41, the target color value is set evenly over the entire color gamut, the correction color value corresponding to the target color value is acquired by the correction value acquisition unit 1, and the target color value and the correction color value are determined. Get a pair. In S42, the weighting coefficient setting unit 2 sets a weighting coefficient for each of the obtained target color value and correction color value pairs. This weighting factor is preferably set so as to improve the reproducibility of a color gamut that is important, such as a single color, gray, secondary color, or specific color. Also, by setting a weighting factor for each specific color area such as low density or high density, it is possible to set a color area that is important for each density area. A weighting factor may be set so that reproduction such as emphasis on gray is performed in the region.

S43において、S42で重みが設定された対象色値と補正用色値の対をもとに、色補正係数生成部3は色成分毎に色補正係数を生成する。S44において、S43で生成した色補正係数が予め設定した収束条件を満たすか否かを判定する。収束条件を満たしていれば処理を終える。   In S43, the color correction coefficient generation unit 3 generates a color correction coefficient for each color component, based on the target color value and the correction color value for which the weight is set in S42. In S44, it is determined whether or not the color correction coefficient generated in S43 satisfies a preset convergence condition. If the convergence condition is satisfied, the process ends.

S44で収束条件を満たしていないと判定された場合には、S45において、評価値取得部5はS43で生成した色補正係数を用いて補正結果を得て、補正前後の色差から評価値を取得する。そしてS42へ戻って、重み係数設定部2は評価値をもとに重み係数を算出し直す。S43で色補正係数を改めて生成し、S44で収束条件を満たすか否かを判定することになる。このような評価値に基づく重み係数の再計算、色補正係数の生成、収束条件の判定の一連の工程を繰り返すことによって、特定の色領域における補正と色域全体の補正とをバランスよく行う色補正係数が得られる。   If it is determined in S44 that the convergence condition is not satisfied, in S45, the evaluation value acquisition unit 5 obtains a correction result using the color correction coefficient generated in S43, and acquires an evaluation value from the color difference before and after correction. To do. Then, returning to S42, the weighting factor setting unit 2 recalculates the weighting factor based on the evaluation value. In S43, a color correction coefficient is newly generated, and in S44, it is determined whether or not the convergence condition is satisfied. By performing a series of steps such as recalculation of weighting factors based on evaluation values, generation of color correction factors, and determination of convergence conditions, a color that performs correction in a specific color region and correction of the entire color gamut in a balanced manner A correction factor is obtained.

上述の動作の一例について、具体例を用いながらさらに説明して行く。図3は、対象色値と補正用色値との対の一例の説明図、図4は、第1色予測部11が使用する色変換モデルの素データの一例の説明図、図5は、第2色予測部12が使用する色変換モデルの素データの一例の説明図である。まず対象色値を用意する。対象色値は、上述のように色域全体にまんべんなく設定するとよい。例えば図3の「対象色値」の欄に示した例では、C、M、Yについては0から100までの範囲を25刻みとし、Kについては0から100までを10刻みとして、各色成分の値の組み合わせを対象色値としている。   An example of the above operation will be further described using a specific example. 3 is an explanatory diagram of an example of a pair of a target color value and a correction color value, FIG. 4 is an explanatory diagram of an example of raw data of a color conversion model used by the first color prediction unit 11, and FIG. It is explanatory drawing of an example of the raw data of the color conversion model which the 2nd color estimation part 12 uses. First, the target color value is prepared. The target color value may be set evenly over the entire color gamut as described above. For example, in the example shown in the column “Target color value” in FIG. 3, the range from 0 to 100 is set to 25 for C, M, and Y, and the range from 0 to 100 is set to 10 for K. The combination of values is the target color value.

補正値取得部1は、対象色値に対応する補正用色値を取得する。図1に示した構成では、第1色予測部11によって対象色値であるCMYK値を装置に依存しない色空間であるLAB色空間の値に変換し、その値から補正対象の出力装置に応じたCMYK値を第2色予測部12によって予測することにより補正用色値を得ている。   The correction value acquisition unit 1 acquires a correction color value corresponding to the target color value. In the configuration shown in FIG. 1, the first color prediction unit 11 converts the CMYK value that is the target color value into a value in the LAB color space that is a device-independent color space, and the value depends on the output device to be corrected. The correction color value is obtained by predicting the CMYK values by the second color prediction unit 12.

第1色予測部11は対象色値を出力装置に入力した場合に得たい色(Lab値)を予測するものであり、ここではCMYKからLabへの変換を行う。変換には、例えば色変換モデルを作成して使用するとよい。例えば、補正を要しない状態での出力装置、あるいは、別の目標とする出力装置にCMYKを与えて出力される色を測色し、CMYKとLabとの対を求める。例えば図4においては、各色成分について25刻みとして組み合わせたCMYK値と、それぞれのCMYK値に対応するLab値を示している。このCMYK値とLab値との対を素データとし、色変換モデルを作成すればよい。もちろん、例えば多項式近似や、物理モデル式としてノイゲバウアー、クベルカムンク、ランバートベール等で表現されるデータでも、更には、ICCプロファイル等によって変換されるデータであってもよく、対象色値のCMYK値からLab値が求まる方法であればよい。   The first color prediction unit 11 predicts a color (Lab value) to be obtained when the target color value is input to the output device, and here performs conversion from CMYK to Lab. For the conversion, for example, a color conversion model may be created and used. For example, CMYK is given to an output device that does not require correction, or another target output device, and the output color is measured to obtain a pair of CMYK and Lab. For example, FIG. 4 shows CMYK values that are combined in units of 25 for each color component, and Lab values that correspond to the respective CMYK values. A pair of CMYK values and Lab values may be used as raw data to create a color conversion model. Of course, for example, it may be data expressed by Neugebauer, Kubelka-Munk, Lambert Bale, etc. as a polynomial approximation or a physical model expression, or may be data converted by an ICC profile or the like. Any method can be used as long as the value is obtained.

また、第2色予測部12は第1色予測部11で予測された色から補正用色値を予測する。上述のように補正用色値は、第1色予測部11で予測された、得たい色であるLab値を出力装置の出力結果として得るために、出力装置に入力しなければならない色値である。この場合も、補正を必要とする出力装置あるいは実際に出力させようとする出力装置にCMYKを与えて出力される色を測色し、CMYKとLabとの対を求める。例えば図5においては、各色成分について25刻みとして組み合わせたCMYK値と、それぞれのCMYK値に対応するLab値を示している。このCMYK値とLab値との対を素データとし、Lab値からCMYK値へ変換する色変換モデルを作成すればよい。数学的には3要素から4要素は一意に決まらないが、公知の色予測方法を用いて予測すればよい。例えば特開平10−262157号公報に記載の方法を用いて予測するとよいが、この予測方法に限定されるものではない。   Further, the second color prediction unit 12 predicts a correction color value from the color predicted by the first color prediction unit 11. As described above, the correction color value is a color value that must be input to the output device in order to obtain the Lab value, which is the color desired to be obtained, predicted by the first color prediction unit 11 as the output result of the output device. is there. In this case as well, CMYK is given to an output device that requires correction or an output device that is to be actually output to measure the output color, and a pair of CMYK and Lab is obtained. For example, FIG. 5 shows CMYK values combined for each color component in increments of 25, and Lab values corresponding to the respective CMYK values. A color conversion model for converting from a Lab value to a CMYK value may be created using the pair of the CMYK value and the Lab value as raw data. Mathematically, three to four elements are not uniquely determined, but may be predicted using a known color prediction method. For example, although it is good to predict using the method of Unexamined-Japanese-Patent No. 10-262157, it is not limited to this prediction method.

ここでは第1色予測部11と第2色予測部12との間の色値をLab値としたが、これに限られるものではない。例えば、三刺激値XYZや均等色空間Luv等の表色系を用いてもよい。   Here, the color value between the first color prediction unit 11 and the second color prediction unit 12 is the Lab value, but the present invention is not limited to this. For example, a color system such as tristimulus value XYZ or uniform color space Luv may be used.

例えば図3において対象色値の欄に示した色値を第1色予測部11に入力して得られたLab値を第2色予測部12に入力し、第2色予測部12で得られたLab値に対応するCMYK値を、図3における補正用色値の欄に示している。例えば、対象色値がC=25、M=50、Y=75、K=0の場合には、出力装置に得ようとする色を出力させるためには、C’=24、M’=49、Y’=70、K’=0という補正用色値に補正して出力装置に入力しなければならないことを示している。基本的には対象色値を補正用色値に補正すればよいのであるが、この実施の形態で前提としている色成分毎に補正する場合には、ある対象色値と補正用色値で各色成分における色補正係数を決定しても、他の色値において対象色値が補正用色値に補正されるとは限らない。そのため、この実施の形態では重み係数設定部2、色補正係数生成部3、収束条件判定部4、評価値取得部5等を設けている。   For example, the Lab value obtained by inputting the color value shown in the target color value column in FIG. 3 to the first color prediction unit 11 is input to the second color prediction unit 12, and is obtained by the second color prediction unit 12. The CMYK values corresponding to the Lab values are shown in the correction color value column in FIG. For example, when the target color values are C = 25, M = 50, Y = 75, and K = 0, C ′ = 24 and M ′ = 49 in order to cause the output device to output the desired color. , Y ′ = 70 and K ′ = 0 to be corrected to the correction color value and input to the output device. Basically, it is only necessary to correct the target color value to the correction color value. However, when correcting for each color component assumed in this embodiment, each color is corrected with a certain target color value and the correction color value. Even if the color correction coefficient in the component is determined, the target color value is not necessarily corrected to the correction color value in other color values. Therefore, in this embodiment, a weighting coefficient setting unit 2, a color correction coefficient generation unit 3, a convergence condition determination unit 4, an evaluation value acquisition unit 5, and the like are provided.

対象色値と補正用色値との対が得られたら、その対に対して重み係数設定部2で重み係数を設定する。重み係数設定部2では、予め重要色についての重み関数が設定されるとともに、複数の重み関数が設定されている場合にはそれらの間のバランスパラメータの初期値を設定しておく。   When a pair of the target color value and the correction color value is obtained, the weighting coefficient setting unit 2 sets a weighting coefficient for the pair. In the weighting coefficient setting unit 2, a weighting function for important colors is set in advance, and when a plurality of weighting functions are set, initial values of balance parameters between them are set.

図6は、重み関数の一例の説明図である。重み関数としては、重要色領域において重みの値が大きく、重要色領域から離れるほど重みが小さくなる関数を設定しておくとよい。例えば図6(A)には、C、M、Yのいずれかの単色を重視する場合の重み関数の一例を示している。単色軸からの距離が大きくなるほど重み係数wの値は小さくなる。図6(B)にはグレイを重視する場合の重み関数の一例を示している。グレイ軸からの距離が大きくなるほど、重み係数wの値は小さくなる。図6(C)に示した例では、ある特定色を重視する場合の重み関数の一例を示している。特定色からの距離が大きくなるほど、重み係数wの値は小さくなる。特定色は、例えば空色、肌色、緑色等、どのような色でもよい。   FIG. 6 is an explanatory diagram of an example of the weight function. As the weight function, it is preferable to set a function in which the weight value is large in the important color region and the weight becomes smaller as the distance from the important color region increases. For example, FIG. 6A shows an example of a weighting function when importance is attached to any one of C, M, and Y. The value of the weighting factor w decreases as the distance from the monochromatic axis increases. FIG. 6B shows an example of a weight function when gray is important. The greater the distance from the gray axis, the smaller the value of the weighting factor w. In the example shown in FIG. 6C, an example of a weighting function when emphasizing a specific color is shown. As the distance from the specific color increases, the value of the weight coefficient w decreases. The specific color may be any color such as sky blue, skin color, and green.

図6(D)と(E)に示した重み関数の例は、濃度に応じた重み関数の一例であり、図6(D)は高濃度領域を重視する重み関数の一例を、図6(E)は低濃度領域を重視する重み関数の一例を、それぞれ示している。ここでは画像の形成に用いる色材の総量を濃度としており、図6(D)に示す高濃度領域を重視する重み関数の一例では色材の総量の値が大きいほど重み係数wの値は小さくなり、図6(E)に示す低濃度領域を重視する重み関数の一例では色材の総量の値が小さいほど重み係数wの値は小さくなるように設定している。なお、図6(D)に示した高濃度領域を重視する重み関数の一例では、見かけ上、他の重み関数の例とは傾向が逆のように見えるが、これは重要色領域が色材の総量の値が大きい側であることによる。   The example of the weight function shown in FIGS. 6D and 6E is an example of the weight function according to the density, and FIG. 6D is an example of the weight function that places importance on the high density area. E) shows an example of a weight function that places importance on the low density region. Here, the total amount of color materials used for image formation is the density, and in the example of the weighting function emphasizing the high density region shown in FIG. 6D, the value of the weight coefficient w decreases as the total amount of color material increases. Thus, in the example of the weighting function emphasizing the low density region shown in FIG. 6E, the weighting factor w is set to be smaller as the total amount of the color material is smaller. Note that the example of the weighting function emphasizing the high density region shown in FIG. 6D apparently appears to have a tendency opposite to that of the other examples of the weighting function. This is because the value of the total amount is larger.

図7は、重み関数の組み合わせの一例の説明図である。上述の重み関数は組み合わせて用いることにより、さらに細かに重み係数が設定される。図7(A)に示した例では、図6(E)に示した低濃度領域を重視する重み関数と、図6(A)に示した単色を重視する重み関数とを組み合わせて使用する場合を示している。この場合、単色でかつ低濃度の領域については大きな重み係数が設定される。逆に単色であっても高濃度の領域については重み係数は小さくなる。   FIG. 7 is an explanatory diagram of an example of combinations of weight functions. By using the above weight functions in combination, the weight coefficient is set more finely. In the example shown in FIG. 7A, the weighting function emphasizing the low density region shown in FIG. 6E and the weighting function emphasizing single color shown in FIG. 6A are used in combination. Is shown. In this case, a large weighting coefficient is set for a single color and low density region. Conversely, even for a single color, the weighting coefficient is small for a high density region.

図7(B)に示した例では、図6(D)に示した高濃度領域を重視する重み関数と、図6(B)に示したグレイを重視する重み関数とを組み合わせて使用する場合を示している。この場合、グレイでかつ高濃度の領域については大きな重み係数が設定される。逆にグレイであっても低濃度の領域については重み係数は小さくなる。   In the example shown in FIG. 7B, the weighting function emphasizing the high density region shown in FIG. 6D and the weighting function emphasizing gray shown in FIG. 6B are used in combination. Is shown. In this case, a large weighting factor is set for a gray and high density region. Conversely, even in the case of gray, the weighting coefficient is small for a low density region.

もちろん、3以上の重み関数を組み合わせてもよい。例えば図7(A)及び図7(B)に示した4つの重み関数を組み合わせて用いる場合には、低濃度であって単色の領域において大きな重み係数が設定される一方、高濃度であってグレイの領域において大きな重み係数が設定されることになる。すなわち、対象濃度に従って重視する色領域が変化するように重み係数が設定されることになる。   Of course, three or more weight functions may be combined. For example, when the four weighting functions shown in FIGS. 7A and 7B are used in combination, a large weighting factor is set in a low density and monochromatic area, while high density is set. A large weight coefficient is set in the gray area. That is, the weighting coefficient is set so that the color area to be emphasized changes according to the target density.

いくつかの重み関数を組み合わせる際に、各重み関数をどの程度重視するかをバランスパラメータにより決定する。重み関数が1つの場合でも、その重み関数をどの程度関与させるかをバランスパラメータにより決定してもよい。より具体的には、ある単色とグレイ軸を重要色領域とする2つの重み関数を使用する場合に、バランスパラメータとして単色:グレイ軸を3:7とする、などといった設定を行えばよい。   When combining several weight functions, the importance of each weight function is determined by the balance parameter. Even when there is one weight function, how much the weight function is involved may be determined by the balance parameter. More specifically, when using two weight functions having a certain single color and the gray axis as an important color region, the balance parameter may be set such that the single color: gray axis is 3: 7.

重み係数算出部22では、バランスパラメータ設定部21による重要色領域に対応する重み関数とバランスパラメータの設定に従い、対象色値と補正用色値との対に対して重み係数を決定してゆく。例えば対象色値をD、重み関数をf1、f2、バランスパラメータをa:bとすると、重み係数Wは、
W=(a/(a+b))・f1(D)×(b/(a+b))・f2(D)
などとして決定すればよい。もちろん、この重み係数の算出方法は一例であって、他の算出方法を用いて重み係数を算出してもよいことは言うまでもない。
The weighting factor calculation unit 22 determines the weighting factor for the pair of the target color value and the correction color value according to the setting of the weighting function corresponding to the important color region and the balance parameter by the balance parameter setting unit 21. For example, if the target color value is D, the weighting functions are f1 and f2, and the balance parameter is a: b, the weighting factor W is
W = (a / (a + b)) · f1 (D) × (b / (a + b)) · f2 (D)
And so on. Of course, this weighting factor calculation method is merely an example, and it goes without saying that the weighting factor may be calculated using other calculation methods.

図8は、対象色値と補正用色値との対に付加した重み係数の一例の説明図である。図8に示す例では、単色を重視するものとしてバランスパラメータが設定され、単色重視の重み関数を用いて重み係数を算出した例を示している。なお、重み係数Wは0≦W≦1としている。一例として、対象色値が(C,M,Y,K)=(0,0,10,0),(0,0,20,0)等のY単色や、(C,M,Y,K)=(0,0,0,10),(0,0,0,20)等のK単色については重み係数「1.00」が設定されている。また、(C,M,Y,K)=(50,50,10,0)等の対象色値は単色から離れているため、重み関数により「1.00」よりも小さな重み係数が設定されており、さらに単色からの距離が離れる(C,M,Y,K)=(100,100,80,0)等には更に小さな重み係数が設定されている。   FIG. 8 is an explanatory diagram of an example of the weighting factor added to the pair of the target color value and the correction color value. In the example shown in FIG. 8, an example is shown in which a balance parameter is set so as to place importance on a single color, and a weighting coefficient is calculated using a weight function that places importance on a single color. The weighting factor W is 0 ≦ W ≦ 1. As an example, the target color value is (C, M, Y, K) = Y single color such as (0, 0, 10, 0), (0, 0, 20, 0), or (C, M, Y, K). ) = (0,0,0,10), (0,0,0,20), etc., the weight coefficient “1.00” is set for the K single color. Since the target color value such as (C, M, Y, K) = (50, 50, 10, 0) is far from a single color, a weighting coefficient smaller than “1.00” is set by the weight function. and which is further set a small weighting coefficient is more distance from the monochrome leaves (C, M, Y, K) = (100,100,80,0) or the like.

このようにして対象色値と補正用色値との対に重み係数が設定されると、この重み係数に従って、色補正係数生成部3がそれぞれの色成分について補正を行うための色補正係数を1次元の表形式で生成する。   When the weight coefficient is set for the pair of the target color value and the correction color value in this way, the color correction coefficient generation unit 3 performs color correction coefficient correction for each color component according to the weight coefficient. Generate in one-dimensional tabular format.

色補正係数生成部3は、重み係数算出部22から、例えば図8に示した対象色値と補正用色値との対と重み係数とを受け取り、各色成分について対象色値と補正用色値と重み係数を抜き出す。図9は、抜き出された単色成分の対象色値と補正用色値と重み係数の一例の説明図である。図9においては、Y成分について、対象色値(Y)と補正用色値(Y’)と重み係数(W)を抜き出した例を示している。図9を参照すると、対象色値のY成分の値が10であっても、補正用色値は12であったり15であったりしており、対象色値のY成分の値10に対する補正後の値を一意に決定できない。そこで、単純な方法としては対象色値の各Y成分の値ごとに、重み係数を用いて例えば加重平均を算出することにより、それぞれのY成分についての補正後の値を求めればよい。   The color correction coefficient generation unit 3 receives, for example, the target color value / correction color value pair and the weight coefficient shown in FIG. 8 from the weight coefficient calculation unit 22, and sets the target color value and the correction color value for each color component. And the weighting factor. FIG. 9 is an explanatory diagram of an example of the extracted target color value, correction color value, and weighting coefficient of the single color component. FIG. 9 shows an example in which the target color value (Y), the correction color value (Y ′), and the weighting coefficient (W) are extracted for the Y component. Referring to FIG. 9, even if the Y component value of the target color value is 10, the correction color value is 12 or 15, and the corrected color value for the Y component value 10 of the target color value is corrected. Cannot be determined uniquely. Therefore, as a simple method, for each Y component value of the target color value, for example, a weighted average is calculated using a weighting coefficient, thereby obtaining a corrected value for each Y component.

しかしながら、この方法では、あるY成分の値について複数の補正用色値が存在する必要があり、Y成分の値がばらけている場合には補正用色値のばらつきがそのまま反映されてしまう。この場合、階調段差の発生など、別の問題が生じる要因となる。   However, in this method, it is necessary that a plurality of correction color values exist for a certain Y component value, and when the Y component values are scattered, variations in the correction color values are reflected as they are. In this case, another problem such as the occurrence of a gradation step occurs.

そこで、重み付けした回帰演算により対象色値に対応する補正値を算出するとよい。すなわち、図9に示したデータに基づいて、重み付け局所回帰により補正値を算出する。なお、この補正値の算出には前述の特開平10−262157号公報に記載の方法を用いるとよいが、具体的な算出方法について簡単に言及しておく。この方法では、着目する対象色値に対する1つの補正値を決定するに当たって、その対象色値に対する補正値及び重み係数だけでなく、他の対象色値に対する補正値及び重み係数も利用する。そして、この場合、着目する対象色値に対する補正値及び重み係数に最大の重み付けを行い、他の対象色値に対する補正値及び重み係数には、着目する対象色値との差が大きくなればなるほど小さくなる重み付けを行って、局所回帰法を適用する。このように回帰演算により補正値を算出することで、ある色成分についての対象色値と補正値とを対応付けた色補正係数を得るとよい。上述の例ではY成分について説明しているが、C、M、K成分についても色補正係数を求める。   Therefore, it is preferable to calculate a correction value corresponding to the target color value by weighted regression calculation. That is, a correction value is calculated by weighted local regression based on the data shown in FIG. Incidentally, this is the calculation of the correction value may be used the method described in JP aforementioned JP-A 10-262157, but briefly mention specific calculation methods. In this method, in determining one correction value for the target color value of interest, not only the correction value and the weight coefficient for the target color value but also the correction value and the weight coefficient for other target color values are used. In this case, the maximum weighting is performed on the correction value and the weighting coefficient for the target color value of interest, and the correction value and the weighting coefficient for other target color values increase as the difference from the target color value of interest increases. Apply local regression with a smaller weighting. Thus, by calculating the correction value by the regression calculation, it is preferable to obtain a color correction coefficient in which the target color value and the correction value for a certain color component are associated with each other. Although the Y component has been described in the above example, color correction coefficients are also obtained for the C, M, and K components.

このようにしてそれぞれの色成分について色補正係数を生成したら、その色補正係数が収束条件を満たしているか否かを収束条件判定部4により判定する。例えば、色補正係数記憶部6に記憶されている前回生成した色補正係数と、色補正係数生成部3で今回生成した色補正係数との差が、予め決められた範囲内であるか否かを判定すればよい。より具体的には、前回と今回の補正値の差を調べて行き、予め決められた範囲を逸脱する差が生じている補正値が存在する場合には収束していないと判断すればよい。もちろん、他の収束条件により収束の判定を行ってもよい。収束条件を満たす場合には、今回生成した色補正係数が最終的に得るべきものとして、色補正係数記憶部6に記憶させて色補正係数生成処理を終了する。   Once this way generates a color correction coefficient for each color component, determined by the convergence condition determination unit 4 whether the color correction coefficient meets the convergence condition. For example, whether or not the difference between the previously generated color correction coefficient stored in the color correction coefficient storage unit 6 and the color correction coefficient generated this time in the color correction coefficient generation unit 3 is within a predetermined range. Can be determined. More specifically, the difference between the previous correction value and the current correction value is examined, and if there is a correction value that has a difference that deviates from a predetermined range, it may be determined that it has not converged. Of course, the convergence may be determined based on other convergence conditions. When the convergence condition is satisfied, it is assumed that the color correction coefficient generated this time should be finally obtained and stored in the color correction coefficient storage unit 6, and the color correction coefficient generation process is terminated.

収束条件判定部4が収束条件を満たしていないと判定した場合には、色補正係数を評価値取得部5に送って、生成された色成分毎の色補正係数を用いて補正結果を得る。補正結果の取得方法は、実際に色補正係数による補正処理を行った画像を生成し、出力、測色して、取得する方法、もしくは、色予測モデルを使用してシミュレーションによって取得する方法などが考えられる。もちろん、補正結果が取得できれば、他の方法でもよい。補正結果を得る際に用いる色票は、予め決められたものを用いるほか、利用者が選択してもよい。   When the convergence condition determination unit 4 determines that the convergence condition is not satisfied, the color correction coefficient is sent to the evaluation value acquisition unit 5, and a correction result is obtained using the generated color correction coefficient for each color component. The method of acquiring the correction result includes a method of generating an image that has been actually corrected by the color correction coefficient, outputting, measuring, and acquiring, or a method of acquiring by simulation using a color prediction model. Conceivable. Of course, other methods may be used as long as the correction result can be acquired. The color chart used for obtaining the correction result may be a predetermined one or may be selected by the user.

さらに評価値取得部5では、補正前後の色値から色差を求め、評価値を取得する。例えば平均色差、中央値、最大色差、RMS、または補正結果を得た色について色差を降順に並べた場合の予め設定された位置(例えば95%の位置など)にあたる色差などを評価値とすればよい。もちろん評価値はこの例に限られるものではない。また、いくつかの評価値のいずれを用いるかを利用者が選択してもよい。   Further, the evaluation value acquisition unit 5 obtains the color difference from the color values before and after correction, and acquires the evaluation value. For example, an average color difference, median value, maximum color difference, RMS, or a color difference corresponding to a preset position (for example, a 95% position) when the color differences are arranged in descending order for the correction result is used as the evaluation value. Good. Of course, the evaluation value is not limited to this example. Also, the user may select which of several evaluation values to use.

重み係数設定部2のバランスパラメータ設定部21は、評価値取得部5で取得した評価値に従ってバランスパラメータの設定を修正する。例えば上述のように評価値が平均色差などであれば、評価値が減少するようにバランスパラメータを修正すればよい。例えば二分探索やニュートン法などの手法を用いることにより、評価値が減少する方向にバランスパラメータを修正して行けばよい。   The balance parameter setting unit 21 of the weighting factor setting unit 2 corrects the balance parameter setting according to the evaluation value acquired by the evaluation value acquisition unit 5. For example, if the evaluation value is an average color difference as described above, the balance parameter may be corrected so that the evaluation value decreases. For example, the balance parameter may be corrected in a direction in which the evaluation value decreases by using a method such as binary search or Newton method.

その後、修正されたバランスパラメータに従って重み係数算出部22が各対象色値と補正用色値の対に対応する重み係数を再算出し、色補正係数生成部3で色補正係数を再生成することになる。このような処理を、収束条件が満たされるまで繰り返し、収束条件が満たされた際に生成された色補正係数を処理結果とすればよい。   After that, the weighting coefficient calculation unit 22 recalculates the weighting coefficient corresponding to each target color value and correction color value pair according to the modified balance parameter, and the color correction coefficient generation unit 3 regenerates the color correction coefficient. become. Such processing is repeated until the convergence condition is satisfied, and the color correction coefficient generated when the convergence condition is satisfied may be used as the processing result.

上述の繰り返し処理を、二分探索を用いた場合を例にして説明する。図10は、バランスパラメータと収束状態の一例の説明図、図11は、二分探索の際の探索方向の一例の説明図である。ここでは、単色重視とグレイバランス重視の重み関数を、バランスパラメータに従って合成して重み係数を算出し、色補正係数を生成するものとしている。図10に示した例では、横軸がバランスパラメータで、0.0が単色重視の場合を、1.0がグレイ重視の場合をそれぞれ示し、その間ではバランスパラメータに応じた割合で単色重視とグレイバランス重視の重み関数を合成する。また縦軸は、バランスパラメータ設定部21で用いる評価値であり、ここでは色差の平均値を評価値としている。   The above-described repetitive processing will be described using a case where binary search is used as an example. FIG. 10 is an explanatory diagram of an example of the balance parameter and the convergence state, and FIG. 11 is an explanatory diagram of an example of the search direction in the binary search. Here, a weight function of a single color and emphasis gray Balanced calculates a weighting factor synthesized according balance parameters, it is assumed to generate a color correction coefficient. In the example shown in FIG. 10, the horizontal axis indicates the balance parameter, 0.0 indicates the emphasis on single color, and 1.0 indicates the case where the emphasis is on gray. Synthesize a weight function that emphasizes balance. The vertical axis represents an evaluation value used in the balance parameter setting unit 21, and here, an average value of color differences is used as the evaluation value.

二分探索を行うに際し、収束点がどこに存在するのかを判断するため、3点が必要となる。図10においては、まず(1)として示した、バランスパラメータが0.0、1.0とその間の点、例えば0.5における評価値(ここでは平均色差)を求める。そのため、予めバランスパラメータが0.0と1.0の場合の評価値及び色補正係数を求めておいたり、あるいはバランスパラメータが0.0と1.0の2回の処理については収束条件判定部4の判定を行わずに繰り返すようにしておくとよい。   When performing a binary search, three points are required to determine where the convergence point exists. In FIG. 10, indicated as first (1), point balance parameter is between the 0.0, 1.0, determined, for example, the evaluation value at 0.5 (average color difference in this case). Therefore, advance or balance parameters previously seeking evaluation value and the color correction coefficient in the case of 0.0 to 1.0, or about 2 times of the processing of the balance parameter is 0.0 and 1.0 convergence condition determination unit It is good to repeat without performing determination of 4.

バランスパラメータが0.0と1.0の場合の評価値及び色補正係数が得られている状態で、初期バランスパラメータとして0.0と1.0の中間の値である0.5を設定し、重み係数算出部22による重み係数の算出、色補正係数生成部3による色補正係数の生成を行い、収束条件判定部4による収束条件の判定が行われる。この場合は、バランスパラメータが0.0か1.0の場合に生成した色補正係数が色補正係数記憶部6に記憶されているので、これと新たに生成した色補正係数とを比較すればよい。ここで収束条件を満たしていれば、新たに生成した色補正係数を処理結果とすればよい。   In the state where the evaluation value and color correction coefficient when the balance parameter is 0.0 and 1.0 are obtained, the initial balance parameter is set to 0.5 which is an intermediate value between 0.0 and 1.0. , calculation of weighting coefficients by the weighting factor calculation unit 22 performs the generation of the color correction coefficient by the color correction coefficient generation unit 3, the determination of the convergence conditions by the convergence condition determination unit 4 is performed. In this case, since the color correction coefficient generated when the balance parameter is 0.0 or 1.0 is stored in the color correction coefficient storage unit 6, if this is compared with the newly generated color correction coefficient, Good. Here, if the convergence condition is satisfied, a newly generated color correction coefficient may be used as the processing result.

収束条件を満たしていない場合には、色補正係数生成部3で生成した色補正係数を用いた場合の補正結果から評価値(ここでは平均色差)を評価値取得部5で取得し、バランスパラメータ設定部21に渡す。バランスパラメータ設定部21では、評価値取得部5から渡された評価値と、バランスパラメータが0.0と1.0の場合の評価値とから、バランスパラメータを修正する。   If the convergence condition is not satisfied, an evaluation value (here, average color difference) is acquired from the correction result when the color correction coefficient generated by the color correction coefficient generation unit 3 is used, and the balance parameter is obtained. It is passed to the setting unit 21. The balance parameter setting unit 21 corrects the balance parameter from the evaluation value passed from the evaluation value acquisition unit 5 and the evaluation value when the balance parameter is 0.0 and 1.0.

3点の評価値が得られた場合、評価値の変化は図11に示した3つの場合のいずれかとなる。図11においては、バランスパラメータの小さい方から評価値をa,b,cとしている。図11(A)はa≧b≧cの場合である。この場合には、bとcの間に収束点が存在するか、あるいはa,b,cの間には収束点が存在しないか、である。前者の場合にはbとcの間をさらに探索すればよい。また後者の場合にはcを収束点とすればよい。   When three evaluation values are obtained, the evaluation value changes in any of the three cases shown in FIG. In FIG. 11, the evaluation values are a, b, and c from the smaller balance parameter. FIG. 11A shows a case where a ≧ b ≧ c. In this case, there is a convergence point between b and c, or there is no convergence point between a, b, and c. In the former case, it is sufficient to further search between b and c. In the latter case, c may be a convergence point.

図11(B)はa≦b≦cの場合であり、図11(A)の逆の場合である。この場合には、aとbの間に収束点が存在するか、あるいはa,b,cの間には収束点が存在しないか、である。前者の場合にはaとbの間をさらに探索すればよい。後者の場合にはaを収束点とすればよい。   FIG. 11B shows a case where a ≦ b ≦ c, and the reverse case of FIG. In this case, there is a convergence point between a and b, or there is no convergence point between a, b and c. In the former case, it is sufficient to further search between a and b. In the latter case, a may be a convergence point.

図11(C)はa≧b≦cの場合である。この場合には、aとbの間に収束点が存在するか、あるいはbとcの間に収束点が存在する。この場合、aとbの間と、bとcの間のいずれに収束点が存在するかはわからないが、各区間を分割して調べることにより、範囲を狭めて行けばよい。すなわち、ab間の分割点をd、bc間の分割点をeとし、adb、becにより図11のいずれに該当するかを判断する。いずれかが図11(C)の関係であれば、その関係を有する区間についてさらに探索を続ければよい。また、図11(A)と(B)の関係であれば、その場合はdbeが図11(C)の関係を有していることになり、その範囲を探索すればよい。   FIG. 11C shows a case where a ≧ b ≦ c. In this case, a convergence point exists between a and b, or a convergence point exists between b and c. In this case, it is not known whether the convergence point exists between a and b or between b and c, but the range may be narrowed by dividing and examining each section. In other words, the division point between ab is d and the division point between bc is e, and adb and bec are used to determine which of the cases shown in FIG. If any one of the relations shown in FIG. 11C, the search may be continued for the section having the relation. Further, in the case of the relationship between FIGS. 11A and 11B, dbe has the relationship of FIG. 11C in that case, and the range may be searched.

図10に示した例では、(1)として示したバランスパラメータが0.0,0.5,1.0の場合の平均色差の関係は、図11(A)に示した関係となっている。従って、バランスパラメータが0.5と1.0の間をさらに探索する。0.5と1.0の間を二分し、バランスパラメータが0.75の場合(図中の(2))について重み係数を設定し、色補正係数を生成して、収束条件を満たしているか否かを判断する。例えば収束条件を満たしていないとすると、バランスパラメータが0.75の場合の色補正係数を用いて補正結果を得て、例えば平均色差などを算出して評価値とする。図10に示す例では、バランスパラメータが0.5と0.75と1.0の3点では、図11(C)に示す関係となっているので、バランスパラメータが0.5と0.75の間を二分する0.625と、バランスパラメータが0.75と1.0の間を二分する0.875について、重み係数を設定し、色補正係数を生成して、収束条件を満たしているか否かを判断する。例えば収束条件を満たしていないとして、それぞれの色補正係数を用いて補正結果を得て、例えば平均色差を算出して評価値とする。この場合には、バランスパラメータが0.5と0.625と0.75の3点では図11(A)の関係となり、バランスパラメータが0.75と0.875と1.0の3点では、図11(B)の関係となっている。従って、バランスパラメータが0.625と0.75と0.875の3点(この場合には図11(C)の関係にある)の間でさらに探索を続ける。   In the example shown in FIG. 10, the relationship of the average color difference when the balance parameter shown as (1) is 0.0, 0.5, 1.0 is the relationship shown in FIG. . Therefore, the balance parameter is further searched between 0.5 and 1.0. Divide between 0.5 and 1.0 and set the weighting coefficient for the balance parameter of 0.75 ((2) in the figure), generate the color correction coefficient, and meet the convergence condition Judge whether or not. For example, if the convergence condition is not satisfied, a correction result is obtained using a color correction coefficient when the balance parameter is 0.75, and an average color difference is calculated as an evaluation value. In the example shown in FIG. 10, the three points of the balance parameter is 0.5 to 0.75 and 1.0, since a relationship shown in FIG. 11 (C), the balance parameter is 0.5 to 0.75 Whether the weighting coefficient is set and the color correction coefficient is generated for 0.625 that bisects the distance between the two and 0.875 that divides the balance parameter between 0.75 and 1.0, and the convergence condition is satisfied Judge whether or not. For example, assuming that the convergence condition is not satisfied, a correction result is obtained using each color correction coefficient, and for example, an average color difference is calculated and used as an evaluation value. In this case, when the balance parameter is three points of 0.5, 0.625, and 0.75, the relationship shown in FIG. 11A is obtained, and when the balance parameter is three points of 0.75, 0.875, and 1.0, FIG. 11B shows the relationship. Therefore, the balance parameters continue to explore further between 0.625 and 0.75 and three of 0.875 (this is the case in the relationship of FIG. 11 (C)).

このような繰り返し処理を続けて行くうちに、バランスパラメータの探索範囲は狭まって行き、色差が小さい収束点に近づいて行く。それとともに、生成される色補正係数もそれほど変化しなくなり、生成した色補正係数と前回の色補正係数との差が予め定めておいた範囲内となって、収束条件を満たすようになる。収束条件を満たした色補正係数を処理結果とすればよい。   As such repeated processing continues, the balance parameter search range narrows and approaches a convergence point where the color difference is small. At the same time, the generated color correction coefficient does not change so much, and the difference between the generated color correction coefficient and the previous color correction coefficient is within a predetermined range so that the convergence condition is satisfied. A color correction coefficient that satisfies the convergence condition may be used as the processing result.

得られた色補正係数は、この例では単色を重視した、単色の再現性を維持した補正と、グレイバランスを重視したグレイの再現性を維持した補正とを両立させるとともに、全体としても色差が小さくバランスよく補正が行われる係数となっている。単に単色重視の補正を行ったり、グレイバランス重視の補正を行うのみでは単色やグレイバランスでは良好な補正がなされるが、他の色領域において良好な補正がなされるとは限らず、この実施の形態で得られた色補正係数を用いることにより上述のように単色及びグレイバランスとともに全体としても補正精度が向上することになる。   In this example, the obtained color correction coefficient is compatible with both the correction that maintains the reproducibility of the single color with emphasis on the single color and the correction that maintains the reproducibility of the gray with the emphasis on the gray balance, and there is no color difference as a whole. The coefficient is small and well balanced. A simple correction with emphasis on single color or a correction with emphasis on gray balance will result in good correction for single color and gray balance, but good correction will not always be made in other color areas. By using the color correction coefficient obtained in the form, the correction accuracy is improved as a whole together with the single color and the gray balance as described above.

ここでは重要色領域を単色及びグレイとして単色重視及びグレイバランス重視の重み関数を用いるものとして説明したが、この例に限られないことは言うまでもない。また、二分探索のほか、例えばニュートン法など、他の探索方法を用いてもよい。   In this embodiment, the important color region is assumed to be a single color and gray, and a weight function emphasizing single color and gray balance is used. However, it goes without saying that the present invention is not limited to this example. In addition to the binary search, other search methods such as Newton's method may be used.

このようにして得られる色補正係数は、色補正係数生成部3がそれぞれの色成分について生成するものであることから、例えばC、M、Y、Kのそれぞれの色成分に分版した後に、色補正係数を使用して色補正を行えばよく、色成分毎の補正でも、上述のように重要色領域での補正と全体の補正とがバランスよく行われることになる。   Since the color correction coefficient obtained in this way is generated for each color component by the color correction coefficient generation unit 3, for example, after color separation into C, M, Y, and K color components, Color correction may be performed using the color correction coefficient, and even in the correction for each color component, the correction in the important color region and the entire correction are performed in a balanced manner as described above.

図12は、本発明の第2の実施の形態を示す構成図である。上述の第1の実施の形態では、収束条件判定部4は色補正係数生成部3が生成した色補正係数をもとに収束条件の判定を行っているが、この第2の実施の形態では、評価値取得部5で取得した評価値をもとに収束条件の判定を行う例を示している。   FIG. 12 is a block diagram showing a second embodiment of the present invention. In the above-described first embodiment, the convergence condition determination unit 4 determines the convergence condition based on the color correction coefficient generated by the color correction coefficient generation unit 3, but in this second embodiment, In the example, the convergence condition is determined based on the evaluation value acquired by the evaluation value acquisition unit 5.

この第2の実施の形態における収束条件判定部4は、評価値取得部5から評価値を受け取り、収束条件を満たすか否かを判定する。例えば評価値が平均色差などの色差に基づくものであれば、評価値が予め設定された範囲内か否かを判定すればよい。この場合、補正による色差が予め設定された範囲内となる色補正係数が得られる。もちろん、評価値を用いる他の方法により収束を判定してもよいことは言うまでもない。   The convergence condition determination unit 4 in the second embodiment receives the evaluation value from the evaluation value acquisition unit 5 and determines whether or not the convergence condition is satisfied. For example, if the evaluation value is based on a color difference such as an average color difference, it may be determined whether or not the evaluation value is within a preset range. In this case, a color correction coefficient is obtained in which the color difference due to correction falls within a preset range. Of course, it goes without saying that convergence may be determined by other methods using evaluation values.

図13は、本発明の第3の実施の形態を示す構成図である。この第3の実施の形態では、バランスパラメータをもとに収束条件の判定を行う例を示している。この第3の実施の形態における収束条件判定部4は、重み係数設定部2のバランスパラメータ設定部21から、評価値取得部5で取得した評価値に従って変更するバランスパラメータを受け取り、収束条件を満たすか否かを判定する。例えば前回の判定の際のバランスパラメータと、バランスパラメータ設定部21から受け取ったバランスパラメータとの差が予め定められた範囲内か否かを判定すればよい。例えば上述の二分探索であれば、探索を行う際のバランスパラメータの分割幅をもとに収束の判定を行えばよい。もちろん、バランスパラメータを用いる他の方法により収束を判定してもよいことは言うまでもない。   FIG. 13 is a block diagram showing a third embodiment of the present invention. In the third embodiment, an example is shown in which the convergence condition is determined based on the balance parameter. The convergence condition determination unit 4 in the third embodiment receives a balance parameter to be changed according to the evaluation value acquired by the evaluation value acquisition unit 5 from the balance parameter setting unit 21 of the weighting factor setting unit 2, and satisfies the convergence condition. It is determined whether or not. For example a balance parameter during previous determination, the difference between the balance parameters received from the balance parameter setting unit 21 may determine whether or not within a predetermined range. For example, in the above-described binary search, the convergence may be determined based on the balance parameter division width when performing the search. Of course, needless to say, convergence may be determined by other methods using balance parameters.

図14は、本発明の各実施の形態で説明した機能をコンピュータプログラムで実現した場合におけるコンピュータプログラム及びそのコンピュータプログラムを格納した記憶媒体とコンピュータの一例の説明図である。図中、71はプログラム、72はコンピュータ、81は光磁気ディスク、82は光ディスク、83は磁気ディスク、84はメモリ、91はCPU、92は内部メモリ、93は読取部、94はハードディスク、95はインタフェース、96は通信部である。   FIG. 14 is an explanatory diagram of an example of a computer program, a storage medium storing the computer program, and a computer when the functions described in the embodiments of the present invention are realized by the computer program. In the figure, 71 is a program, 72 is a computer, 81 is a magneto-optical disk, 82 is an optical disk, 83 is a magnetic disk, 84 is a memory, 91 is a CPU, 92 is an internal memory, 93 is a reading unit, 94 is a hard disk, and 95 is An interface 96 is a communication unit.

上述の本発明の各実施の形態で説明した各部の機能の全部あるいは部分的に、コンピュータにより実行可能なプログラム71によって実現してもよい。その場合、そのプログラム71およびそのプログラムが用いるデータなどは、コンピュータが読み取り可能な記憶媒体に記憶させておけばよい。記憶媒体とは、コンピュータのハードウェア資源に備えられている読取部93に対して、プログラムの記述内容に応じて、磁気、光、電気等のエネルギーの変化状態を引き起こして、それに対応する信号の形式で、読取部93にプログラムの記述内容を伝達するものである。例えば、光磁気ディスク81,光ディスク82(CDやDVDなどを含む)、磁気ディスク83,メモリ84(ICカード、メモリカードなどを含む)等である。もちろんこれらの記憶媒体は、可搬型に限られるものではない。   You may implement | achieve all or a part of function of each part demonstrated by each embodiment of the above-mentioned this invention with the program 71 executable by a computer. In that case, the program 71 and data used by the program may be stored in a computer-readable storage medium. The storage medium causes the reading unit 93 provided in the hardware resource of the computer to cause a change state of energy such as magnetism, light, electricity, etc. according to the description content of the program, and the signal corresponding thereto In this format, the program description is transmitted to the reading unit 93. For example, a magneto-optical disk 81, an optical disk 82 (including a CD and a DVD), a magnetic disk 83, a memory 84 (including an IC card and a memory card), and the like. Of course, these storage media are not limited to portable types.

これらの記憶媒体にプログラム71を格納しておき、例えばコンピュータ72の読取部93あるいはインタフェース95にこれらの記憶媒体を装着することによって、コンピュータからプログラム71を読み出し、内部メモリ92またはハードディスク94に記憶し、CPU91によってプログラム71を実行することによって、上述の本発明の各実施の形態で説明した機能が全部又は部分的に実現される。あるいは、通信路を介してプログラム71をコンピュータ72に転送し、コンピュータ72では通信部96でプログラム71を受信して内部メモリ92またはハードディスク94に記憶し、CPU91によってプログラム71を実行することによって実現してもよい。   The program 71 is stored in these storage media, and the program 71 is read from the computer and stored in the internal memory 92 or the hard disk 94, for example, by mounting these storage media on the reading unit 93 or the interface 95 of the computer 72. By executing the program 71 by the CPU 91, the functions described in the above embodiments of the present invention are realized in whole or in part. Alternatively, the program 71 is transferred to the computer 72 via the communication path, and the computer 72 receives the program 71 by the communication unit 96 and stores it in the internal memory 92 or the hard disk 94, and the program 71 is executed by the CPU 91. May be.

コンピュータ72には、このほかインタフェース95を介して様々な装置と接続してもよい。例えば情報を表示する表示手段や利用者からの情報を受け付ける受付手段等も接続されていてもよい。また、例えば画像形成装置がインタフェース95を介して接続され、得られた色補正係数を用いて補正した色信号を画像形成装置へ送って画像を形成するように構成してもよい。   In addition, the computer 72 may be connected to various devices via an interface 95. For example, display means for displaying information, reception means for receiving information from the user, and the like may be connected. Further, for example, an image forming apparatus may be connected via the interface 95, and a color signal corrected using the obtained color correction coefficient may be sent to the image forming apparatus to form an image.

本発明の第1の実施の形態を示す構成図である。It is a block diagram which shows the 1st Embodiment of this invention. 本発明の第1の実施の形態における動作の一例を示す流れ図である。It is a flowchart which shows an example of the operation | movement in the 1st Embodiment of this invention. 対象色値と補正用色値との対の一例の説明図である。It is explanatory drawing of an example of the pair of a target color value and a correction color value. 第1色予測部11が使用する色変換モデルの素データの一例の説明図である。It is explanatory drawing of an example of the raw data of the color conversion model which the 1st color estimation part uses. 第2色予測部12が使用する色変換モデルの素データの一例の説明図である。It is explanatory drawing of an example of the raw data of the color conversion model which the 2nd color estimation part 12 uses. 重み関数の一例の説明図である。It is explanatory drawing of an example of a weight function. 重み関数の組み合わせの一例の説明図である。It is explanatory drawing of an example of the combination of a weight function. 対象色値と補正用色値との対に付加した重み係数の一例の説明図である。It is explanatory drawing of an example of the weighting coefficient added to the pair of a target color value and a correction color value. 抜き出された単色成分の対象色値と補正用色値と重み係数の一例の説明図である。It is explanatory drawing of an example of the object color value of the extracted single color component, the color value for correction | amendment, and a weighting coefficient. バランスパラメータと収束状態の一例の説明図である。It is explanatory drawing of an example of a balance parameter and a convergence state. 二分探索の際の探索方向の一例の説明図である。It is explanatory drawing of an example of the search direction in the case of a binary search. 本発明の第2の実施の形態を示す構成図である。It is a block diagram which shows the 2nd Embodiment of this invention. 本発明の第3の実施の形態を示す構成図である。It is a block diagram which shows the 3rd Embodiment of this invention. 本発明の各実施の形態で説明した機能をコンピュータプログラムで実現した場合におけるコンピュータプログラム及びそのコンピュータプログラムを格納した記憶媒体とコンピュータの一例の説明図である。The functions described in the embodiments of the present invention is an explanatory diagram showing an example of a storage medium and a computer which stores the computer program and the computer program in case of realizing by a computer program.

符号の説明Explanation of symbols

1…補正値取得部、2…重み係数設定部、3…色補正係数生成部、4…収束条件判定部、5…評価値取得部、6…色補正係数記憶部、11…第1色予測部、12…第2色予測部、21…バランスパラメータ設定部、22…重み係数算出部、71…プログラム、72…コンピュータ、81…光磁気ディスク、82…光ディスク、83…磁気ディスク、84…メモリ、91…CPU、92…内部メモリ、93…読取部、94…ハードディスク、95…インタフェース、96…通信部。   DESCRIPTION OF SYMBOLS 1 ... Correction value acquisition part, 2 ... Weight coefficient setting part, 3 ... Color correction coefficient production | generation part, 4 ... Convergence condition determination part, 5 ... Evaluation value acquisition part, 6 ... Color correction coefficient memory | storage part, 11 ... 1st color prediction , 12 ... second color prediction unit, 21 ... balance parameter setting unit, 22 ... weight coefficient calculation unit, 71 ... program, 72 ... computer, 81 ... magneto-optical disk, 82 ... optical disk, 83 ... magnetic disk, 84 ... memory 91 ... CPU, 92 ... internal memory, 93 ... reading unit, 94 ... hard disk, 95 ... interface, 96 ... communication unit.

Claims (5)

補正対象となる対象色値に対応する補正用色値を取得する補正値取得手段と、前記対象色値に対する重み係数を設定する重み係数設定手段と、前記対象色値及び前記補正用色値と前記重み係数に従って前記対象色値を色成分毎に補正するための色補正係数を生成する生成手段と、前記生成手段で生成した色補正係数が収束条件を満たすか否かを判定する収束条件判定手段と、前記収束条件判定手段で前記収束条件を満たさないと判定された場合に前記生成手段で生成した前記色補正係数を用いた補正結果の評価値を取得する評価値取得手段を有し、前記重み係数設定手段は、前記評価値取得手段で取得した前記評価値をもとに前記重み係数を変更して改めて前記色補正係数生成手段に色補正係数を生成させることを特徴とする色補正係数生成装置。   Correction value acquisition means for acquiring a correction color value corresponding to a target color value to be corrected; weight coefficient setting means for setting a weight coefficient for the target color value; the target color value and the correction color value; Generating means for generating a color correction coefficient for correcting the target color value for each color component according to the weighting coefficient, and a convergence condition determination for determining whether the color correction coefficient generated by the generating means satisfies a convergence condition And an evaluation value acquisition means for acquiring an evaluation value of a correction result using the color correction coefficient generated by the generation means when the convergence condition determination means determines that the convergence condition is not satisfied, The weight coefficient setting means changes the weight coefficient based on the evaluation value acquired by the evaluation value acquisition means, and causes the color correction coefficient generation means to generate a color correction coefficient again. Coefficient generation Location. 補正対象となる対象色値に対応する補正用色値を取得する補正値取得手段と、前記対象色値に対する重み係数を設定する重み係数設定手段と、前記対象色値及び前記補正用色値と前記重み係数に従って前記対象色値を色成分毎に補正するための色補正係数を生成する生成手段と、前記生成手段で生成した前記色補正係数を用いた補正結果の評価値を取得する評価値取得手段と、前記評価値取得手段で取得した前記評価値が収束条件を満たすか否かを判定する収束条件判定手段を有し、前記重み係数設定手段は、前記収束条件判定手段で前記収束条件を満たさないと判定された場合に、前記評価値取得手段で取得した前記評価値をもとに前記重み係数を変更して改めて前記色補正係数生成手段に色補正係数を生成させることを特徴とする色補正係数生成装置。   Correction value acquisition means for acquiring a correction color value corresponding to a target color value to be corrected; weight coefficient setting means for setting a weight coefficient for the target color value; the target color value and the correction color value; A generation unit that generates a color correction coefficient for correcting the target color value for each color component according to the weighting factor, and an evaluation value that acquires an evaluation value of a correction result using the color correction coefficient generated by the generation unit And a convergence condition determining unit that determines whether or not the evaluation value acquired by the evaluation value acquiring unit satisfies a convergence condition, and the weighting factor setting unit is the convergence condition determining unit. If it is determined that the condition is not satisfied, the weight correction coefficient is changed based on the evaluation value acquired by the evaluation value acquisition unit, and the color correction coefficient generation unit generates a color correction coefficient again. Color correction Number generating device. 前記評価値取得手段は、前記色補正係数を使用した色補正処理のシミュレーションにより前記補正結果を得て、補正前後の色差に基づいて評価値を取得することを特徴とする請求項1または請求項2に記載の色補正係数生成装置。   2. The evaluation value acquisition unit according to claim 1, wherein the evaluation value acquisition unit acquires the correction result by simulation of color correction processing using the color correction coefficient, and acquires an evaluation value based on a color difference before and after correction. 2. The color correction coefficient generation device according to 2. 前記評価値取得手段は、前記色補正係数を使用した画像を出力して得られた色値をもとに前記補正結果を得て、補正前後の色差に基づいて評価値を取得することを特徴とする請求項1または請求項2に記載の色補正係数生成装置。   The evaluation value acquisition means obtains the correction result based on a color value obtained by outputting an image using the color correction coefficient, and acquires an evaluation value based on a color difference before and after correction. The color correction coefficient generation device according to claim 1 or 2. コンピュータに、請求項1から請求項4のいずれか1項に記載の色補正係数生成装置の機能を実行させるものであることを特徴とする色補正係数生成プログラム。   A computer, a color correction coefficient generation program characterized by claim 1 is intended to perform the functions of a color correction coefficient generation device according to any one of claims 4.
JP2008326724A 2008-12-23 2008-12-23 Color correction coefficient generation apparatus and color correction coefficient generation program Expired - Fee Related JP5152515B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008326724A JP5152515B2 (en) 2008-12-23 2008-12-23 Color correction coefficient generation apparatus and color correction coefficient generation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008326724A JP5152515B2 (en) 2008-12-23 2008-12-23 Color correction coefficient generation apparatus and color correction coefficient generation program

Publications (2)

Publication Number Publication Date
JP2010153945A JP2010153945A (en) 2010-07-08
JP5152515B2 true JP5152515B2 (en) 2013-02-27

Family

ID=42572567

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008326724A Expired - Fee Related JP5152515B2 (en) 2008-12-23 2008-12-23 Color correction coefficient generation apparatus and color correction coefficient generation program

Country Status (1)

Country Link
JP (1) JP5152515B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5564834B2 (en) * 2009-06-09 2014-08-06 大日本印刷株式会社 Image processing apparatus and display apparatus
JP5633242B2 (en) * 2010-08-18 2014-12-03 富士ゼロックス株式会社 Color correction coefficient generating apparatus and program
CN102466958A (en) * 2010-11-10 2012-05-23 旭丽电子(广州)有限公司 Operation apparatus with photographic imaging function and projection automatic focusing method thereof
JP5617567B2 (en) * 2010-11-30 2014-11-05 コニカミノルタ株式会社 Calibration system, calibration method and program
JP5799634B2 (en) * 2011-07-22 2015-10-28 株式会社リコー Image processing apparatus and image processing system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3767657B2 (en) * 1997-01-14 2006-04-19 富士ゼロックス株式会社 Color transfer characteristic prediction method
JP4061007B2 (en) * 2000-02-29 2008-03-12 富士フイルム株式会社 Gradation correction curve creation method and gradation correction curve creation device

Also Published As

Publication number Publication date
JP2010153945A (en) 2010-07-08

Similar Documents

Publication Publication Date Title
CN103139443B (en) Color processing apparatus, color processing method and configuration file generation method
JP6156401B2 (en) Color conversion method, program, and image processing apparatus
JP5644345B2 (en) Color conversion apparatus, image forming apparatus, and color conversion program
JP5152515B2 (en) Color correction coefficient generation apparatus and color correction coefficient generation program
JP2007288470A (en) Unit and method for color adjustment, unit and method for generating color conversion parameter, unit and method for color conversion, color adjustment program, color conversion parameter generation program, color conversion program, and recording medium
US8149456B2 (en) Color processing method and image forming apparatus for creating a color separation table
JP4618457B2 (en) Color signal processing device, color conversion device, color signal processing program, color conversion program
US20060209325A1 (en) Image processing method, image processing apparatus and storage medium storing a program
JP2008148275A (en) Color processing apparatus and program
JP2003125210A (en) Color processing method, storage medium, color processor color converter, and image forming device
JP5299232B2 (en) Color conversion table creation program, color conversion table creation device, and color conversion table creation method
JP4621998B2 (en) Image processing apparatus and program
JP4506948B2 (en) Color conversion coefficient creation method, color conversion coefficient creation apparatus, color conversion coefficient creation program, and storage medium
JP6155766B2 (en) Print reproduction color prediction method
JP5645007B2 (en) Image processing apparatus, color conversion apparatus, and image processing program
JP2011205467A (en) Color processing apparatus, and program
JP4849275B2 (en) Color conversion device, color conversion table generation device, image processing device, profile generation device, color conversion program, color conversion table generation program, image processing program, profile generation program
US8437541B2 (en) Color correction coefficient generating apparatus, color correction coefficient generation method, and computer readable medium storing program
JP5630231B2 (en) Color adjustment method, color adjustment apparatus, color adjustment program, and medium storing color adjustment program
JP2011024031A (en) Color processing apparatus and program
JP5429456B2 (en) Color conversion apparatus and color conversion program
JP5962551B2 (en) Color processing apparatus, image forming apparatus, and program
JP2011151677A (en) Color processing apparatus, and color processing program
JP4582336B2 (en) Color processing device, color conversion table creation device, and image processing device
JP6446898B2 (en) Image processing apparatus, image forming apparatus, image processing method, and program thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111124

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121029

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121120

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

Free format text: PAYMENT UNTIL: 20151214

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5152515

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees