JP2006303918A - Image processing apparatus and image processing method - Google Patents
Image processing apparatus and image processing method Download PDFInfo
- Publication number
- JP2006303918A JP2006303918A JP2005122815A JP2005122815A JP2006303918A JP 2006303918 A JP2006303918 A JP 2006303918A JP 2005122815 A JP2005122815 A JP 2005122815A JP 2005122815 A JP2005122815 A JP 2005122815A JP 2006303918 A JP2006303918 A JP 2006303918A
- Authority
- JP
- Japan
- Prior art keywords
- color
- conversion
- parameter
- correction
- color correction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、画像処理装置および画像処理方法に関し、詳しくは、所望の色再現を実現するための色補正に関するものである。 The present invention relates to an image processing apparatus and an image processing method, and more particularly to color correction for realizing desired color reproduction.
近年、パーソナルコンピュータやワークステーションの普及に伴い、これらを用いたDTP(デスクトップ・パブリッシング)やCAD(コンピュータ・エイディッド・デザイン)によるカラードキュメント作成が広く行われるようになってきている。このような環境では、カラードキュメントの印刷における色再現技術が重要である。種々のカラープリンタを用いることができる場合に、これらのプリンタによるカラー印刷の色再現を例えば常に一定に保つには、精度の高い色再現管理技術が求められている。具体的には、印刷デバイスの特性に依らない一定の色再現、ならびに印刷デバイスの経時変化あるいは環境変動に依らない安定した色再現を実現する色再現管理技術が求められている。 In recent years, with the spread of personal computers and workstations, color document creation using DTP (desktop publishing) and CAD (computer-aided design) using these has become widely performed. In such an environment, a color reproduction technique in printing a color document is important. In the case where various color printers can be used, a highly accurate color reproduction management technique is required in order to always maintain color reproduction of color printing by these printers, for example. Specifically, there is a need for a color reproduction management technique that realizes a constant color reproduction that does not depend on the characteristics of the printing device and a stable color reproduction that does not depend on a change in the printing device over time or an environmental change.
印刷デバイスは、その印刷機構、トナー、インクなどの色材、印刷に用いる紙など印刷媒体の種類等によってその特性が異なり、これに起因して色再現特性が変化する。例えば、色材や印刷媒体の種類に依って色再現特性が変化することは、それ自体が色再現に直接影響を与える。また、印刷機構が同じ機種のものであっても、色材の紙への付着量の相違、機械精度によるCMYK版の微妙なずれ等に起因して色再現の違いが発生する。また、同一の印刷デバイスを用いても、その経時変化により色再現特性が変化し、また、温度や湿度と言った環境条件によっても色材の紙への付着量が変化する。 The characteristics of the printing device vary depending on the printing mechanism, color materials such as toner and ink, the type of printing medium such as paper used for printing, and the color reproduction characteristics change accordingly. For example, a change in color reproduction characteristics depending on the type of color material or print medium itself directly affects color reproduction. Even if the printing mechanism is the same model, a difference in color reproduction occurs due to a difference in the amount of color material applied to the paper, a subtle shift in the CMYK plate due to machine accuracy, and the like. Even if the same printing device is used, the color reproduction characteristics change due to changes over time, and the amount of color material attached to paper also changes depending on environmental conditions such as temperature and humidity.
業務用印刷では、このような色再現の違いを抑え同じ色再現特性を保つ技術として、印刷デバイス間での色再現管理技術であるCMS(カラーマネージメントシステム)が一般的に用いられている。また、経時変化や環境変動に対する色再現管理技術としてキャリブレーションが用いられ、これにより、例えば、色材の付着量が一定となるよう管理している。 In commercial printing, CMS (color management system), which is a color reproduction management technique between printing devices, is generally used as a technique for suppressing the difference in color reproduction and maintaining the same color reproduction characteristics. In addition, calibration is used as a color reproduction management technique with respect to changes over time and environmental fluctuations, and thereby, for example, management is performed so that the amount of color material attached is constant.
しかし、このキャリブレーション技術の多くはCMYKそれぞれの1次色について色再現を管理するものであり、2次色や3次色といった中間色に着目した色再現は対象外であることが多い。この結果、経時変化や環境変動に対し、色再現を大まかには保つことができるものの、その効果は限定的である。これに対し、従来の色再現管理方法であるICCプロファイルを用いたCMSによれば、デスティネーションプロファイルを管理することによって、印刷デバイス間での色再現管理、あるいは経時変化や環境変動に対する色再現管理が可能となる。また、本出願人は、特願2004−024844号において別の色再現管理方法を提案している。この方法によれば、所望の色再現を実現する色変換を自動的に生成し、その色変換を通して画像出力を行うことで色再現管理を実現している。以上のCMS技術は、いずれも色再現管理を高次関数を用いた色変換をもって実現するものである。このようなCMS技術において、色再現の管理精度の向上を図る1つの手法として、高次関数の次数を上げることが考えられる。しかし、この場合には、次数を高くすることに起因して、不適切な解を含むなど、色補正パラメータの変化に対して解が不必要に振動し最終的に得られる印刷画像において擬似輪郭が発生するなどの不具合があり、高次関数の次数を増すことによって得られる効果よりも発生する障害の方が問題となる場合がある。 However, many of these calibration techniques manage color reproduction for each primary color of CMYK, and color reproduction focusing on intermediate colors such as secondary colors and tertiary colors is often out of scope. As a result, although color reproduction can be roughly maintained against changes with time and environmental fluctuations, the effect is limited. On the other hand, according to CMS using an ICC profile, which is a conventional color reproduction management method, color reproduction management between printing devices by managing a destination profile, or color reproduction management with respect to a change with time and environmental variation. Is possible. In addition, the present applicant has proposed another color reproduction management method in Japanese Patent Application No. 2004-024844. According to this method, color reproduction management that realizes desired color reproduction is automatically generated, and color reproduction management is realized by performing image output through the color conversion. All of the above CMS techniques realize color reproduction management by color conversion using a high-order function. In such a CMS technique, it is conceivable to increase the order of a high-order function as one method for improving the management accuracy of color reproduction. However, in this case, the pseudo contour in the printed image that is finally obtained when the solution unnecessarily vibrates with respect to the change in the color correction parameter, such as including an inappropriate solution due to the higher order. In some cases, the failure that occurs is more problematic than the effect obtained by increasing the order of the higher-order function.
本出願人は、特願2004−311377号において、さらに上記の問題を改善した技術を提案している。この技術は、RGBなどの3次元色信号値に対して色補正の変換をする際、一度YMCKなどの4次元信号に変換し、この4次元信号に対して色補正のための変換を行った後、元の3次元色信号に変換するものである。これによれば、次数を高くする場合のような不適切な解を含む不具合を発生させることが無く、色再現の管理精度を向上させることができる。また、この技術では、先ず、次元変換して3次元色信号を4次元色信号に変換し、次に、この4次元の色信号に対し色補正パラメータを用いて色補正変換を行う。そして、この色補正パラメータは、適切なあるいは好ましい色補正変換を行うべく、この色補正変換を実現するような例えば色再現の目標とする色を予め与え、これをより良好に満たす色補正パラメータを生成する。 The present applicant has proposed a technique that further improves the above problem in Japanese Patent Application No. 2004-311377. In this technique, when a color correction is converted for a three-dimensional color signal value such as RGB, it is once converted into a four-dimensional signal such as YMCK, and this four-dimensional signal is converted for color correction. After that, the original three-dimensional color signal is converted. According to this, it is possible to improve the color reproduction management accuracy without causing a problem including an inappropriate solution as in the case of increasing the order. In this technique, first, dimension conversion is performed to convert a three-dimensional color signal into a four-dimensional color signal, and then color correction conversion is performed on the four-dimensional color signal using a color correction parameter. In order to perform appropriate or preferable color correction conversion, the color correction parameter is a color correction parameter that provides a target color reproduction target that realizes the color correction conversion in advance, and satisfies this color better. Generate.
ところで、上述した特願2004−311377号に開示される技術では、色補正パラメータが設定されると、色補正変換はそのパラメータに応じた1つの変換しか実現できず、補正の内容を変えようとする場合には色補正パラメータを生成しなおす必要がある。例えば、印刷する画像の種類や用いる印刷用紙の種類によって色補正の内容を変えることがある。また、印刷に用いる印刷装置の仕様に応じてより適切な印刷結果を得るべく色補正の内容を変えることもある。このような場合、その度に色補正パラメータを生成していたのでは、ユーザにとってその手間が煩わしいなどの問題がある。 By the way, in the technique disclosed in the above-mentioned Japanese Patent Application No. 2004-311377, when a color correction parameter is set, the color correction conversion can realize only one conversion corresponding to the parameter, and the content of correction is changed. In this case, it is necessary to regenerate the color correction parameter. For example, the content of color correction may be changed depending on the type of image to be printed and the type of printing paper to be used. In addition, the content of color correction may be changed in order to obtain a more appropriate printing result in accordance with the specifications of the printing apparatus used for printing. In such a case, if the color correction parameter is generated each time, there is a problem that it is troublesome for the user.
本発明は、上述の問題を解消するためになされたものであり、その目的とするところは、色補正変換における次元変換の際に用いられるパラメータを利用することにより、色補正パラメータを変更したり生成する処理をあらためて行うことなく、内容が異なる複数の色補正を実行することを可能とする画像処理装置および画像処理方法を提供することにある。 The present invention has been made to solve the above-described problems. The object of the present invention is to change the color correction parameters by using the parameters used in the dimension conversion in the color correction conversion. An object of the present invention is to provide an image processing apparatus and an image processing method capable of executing a plurality of color corrections having different contents without performing a process to be generated again.
そのために本発明では、色信号に対して補正を行う色補正変換であって、当該色信号の次元を増した色信号に変換した後、該次元を増した色信号に対して色補正パラメータを用いて補正を行い、その後元の次元の色信号に戻す色補正変換を行う画像処理装置であって、前記色信号の次元を増す変換に用いられる変換パラメータを、色補正変換の補正内容が異なる複数の色補正モードごとに保持するパラメータ保持手段と、設定されている色補正モードを取得する補正モード取得手段と、該補正モード取得手段が取得した色補正モードに対応した変換パラメータを前記パラメータ保持手段から取得するパラメータ取得手段と、該パラメータ取得手段が取得した変換パラメータを用いて前記色信号の次元を増す変換を行い、該次元を増した色信号に対して色補正パラメータを用いて補正を行い、その後元の次元の色信号に戻す色補正変換を行う変換手段と、を具え、前記色補正パラメータは、前記変換パラメータを用いた変換によって得られる色信号の所定の表色系で表されるそれぞれ目標色と推定色との色差を小さくするようにして得られることを特徴とする。 Therefore, in the present invention, the color correction conversion is performed to correct the color signal. After the color signal is converted into a color signal having an increased dimension, the color correction parameter is set to the color signal having the increased dimension. An image processing apparatus that performs color correction conversion using the correction parameters and then returns the original color signal to the original color signal, and the conversion parameters used for the conversion that increases the dimension of the color signal are different in the correction content of the color correction conversion. Parameter holding means for holding a plurality of color correction modes, correction mode acquisition means for acquiring a set color correction mode, and conversion parameters corresponding to the color correction mode acquired by the correction mode acquisition means are stored as parameters. A parameter acquisition means acquired from the means, and conversion for increasing the dimension of the color signal using the conversion parameter acquired by the parameter acquisition means, and a color signal having the increased dimension Conversion means for performing correction using the color correction parameter and then performing color correction conversion for returning to the original dimensional color signal, and the color correction parameter is a color obtained by conversion using the conversion parameter. The present invention is characterized in that the color difference between the target color and the estimated color represented by a predetermined color system of the signal is reduced.
他の形態では、色信号に対して補正を行う色補正変換であって、当該色信号の次元を増した色信号に変換した後、当該次元を増した色信号に対して色補正パラメータを用いて補正を行い、その後元の次元の色信号に戻す色補正変換における、前記色補正パラメータを生成する処理を行う画像処理装置であって、前記色信号の次元を増す変換に用いられる変換パラメータを、色補正変換の補正内容が異なる複数の色補正モードごとに保持するパラメータ保持手段と、該パラメータ保持手段が保持する1つの色補正モードについて、当該色補正モードに対応した変換パラメータを用いた変換によって得られる色信号について所定の表色系における目標色を求める目標色取得手段と、前記1つの色補正モードについて、前記変換パラメータを用いた変換によって得られる色信号に対する色補正パラメータを用いた変換によって得られる色信号の前記所定の表色系における推定色を求める推定色取得手段と、前記1つの色補正モードについて、前記目標色と前記推定色との色差が小さくなるよう色補正パラメータを定めるパラメータ決定手段と、前記目標色取得手段、前記推定色取得手段および前記パラメータ決定手段による前記処理をパラメータ保持手段が保持する複数の色補正モードそれぞれについて実行する制御手段と、を具えたことを特徴とする。 In another embodiment, the color correction conversion is performed to correct the color signal, and after the color signal is converted into a color signal having an increased dimension, the color correction parameter is used for the color signal having the increased dimension. In the color correction conversion for correcting the color signal and then returning to the original dimension color signal, the image processing apparatus performs the process of generating the color correction parameter, and the conversion parameter used for the conversion to increase the dimension of the color signal , Parameter holding means for holding a plurality of color correction modes with different correction contents of color correction conversion, and conversion using a conversion parameter corresponding to the color correction mode for one color correction mode held by the parameter holding means Target color acquisition means for obtaining a target color in a predetermined color system for the color signal obtained by the above, and the conversion parameter for the one color correction mode. Estimated color acquisition means for obtaining an estimated color in the predetermined color system of a color signal obtained by conversion using a color correction parameter for the color signal obtained by conversion, and the target color and the one color for the one color correction mode Parameter determining means for determining a color correction parameter so as to reduce the color difference from the estimated color, and a plurality of color correction modes in which the parameter holding means holds the processing by the target color acquisition means, the estimated color acquisition means, and the parameter determination means And a control means to be executed for each.
また、色信号に対して補正を行う色補正変換であって、当該色信号の次元を増した色信号に変換した後、該次元を増した色信号に対して色補正パラメータを用いて補正を行い、その後元の次元の色信号に戻す色補正変換を行うための画像処理方法であって、前記色信号の次元を増す変換に用いられる変換パラメータを、色補正変換の補正内容が異なる複数の色補正モードごとに用意し、設定されている色補正モードを取得し、該取得した色補正モードに対応した変換パラメータを前記用意した変換パラメータから取得し、該取得した変換パラメータを用いて前記色信号の次元を増す変換を行い、該次元を増した色信号に対して色補正パラメータを用いて補正を行い、その後元の次元の色信号に戻す色補正変換を行う、ステップを有し、前記色補正パラメータは、前記変換パラメータを用いた変換によって得られる色信号の所定の表色系で表されるそれぞれ目標色と推定色との色差を小さくするようにして得られることを特徴とする。 Also, color correction conversion for correcting the color signal, after converting the color signal to a color signal having an increased dimension, the color signal having the increased dimension is corrected using a color correction parameter. An image processing method for performing color correction conversion to be performed and then returning to a color signal of the original dimension, wherein a plurality of conversion parameters used for conversion to increase the dimension of the color signal are different in the correction contents of the color correction conversion Prepared for each color correction mode, acquires the set color correction mode, acquires conversion parameters corresponding to the acquired color correction mode from the prepared conversion parameters, and uses the acquired conversion parameters to convert the color Performing conversion to increase the dimension of the signal, performing correction using the color correction parameter for the color signal having the increased dimension, and then performing color correction conversion to restore the original color signal. color Positive parameters, characterized in that it is obtained so as to reduce the color difference in each target color and the estimated color is represented by a predetermined color system of the color signal obtained by the conversion using the conversion parameter.
他の形態では、色信号に対して補正を行う色補正変換であって、当該色信号の次元を増した色信号に変換した後、当該次元を増した色信号に対して色補正パラメータを用いて補正を行い、その後元の次元の色信号に戻す色補正変換における、前記色補正パラメータを生成する処理を行うための画像処理方法であって、前記色信号の次元を増す変換に用いられる変換パラメータを、色補正変換の補正内容が異なる複数の色補正モードごとに保持し、該保持する1つの色補正モードについて、当該色補正モードに対応した変換パラメータを用いた変換によって得られる色信号について所定の表色系における目標色を求め、前記1つの色補正モードについて、前記変換パラメータを用いた変換によって得られる色信号に対する色補正パラメータを用いた変換によって得られる色信号の前記所定の表色系における推定色を求め、前記1つの色補正モードについて、前記目標色と前記推定色との色差が小さくなるよう色補正パラメータを定め、前記目標色を取得し、前記推定色を取得しおよび前記色補正パラメータを決定する処理を前記複数の色補正モードそれぞれについて実行する、ステップを有したことを特徴とする。 In another embodiment, the color correction conversion is performed to correct the color signal, and after the color signal is converted into a color signal having an increased dimension, the color correction parameter is used for the color signal having the increased dimension. An image processing method for performing the process of generating the color correction parameter in color correction conversion for correcting the color signal and then returning to the original dimension color signal, the conversion being used for conversion to increase the dimension of the color signal A parameter is stored for each of a plurality of color correction modes having different correction contents of color correction conversion, and the color signal obtained by conversion using the conversion parameter corresponding to the color correction mode for the one color correction mode held. A target color in a predetermined color system is obtained, and color correction parameters for color signals obtained by conversion using the conversion parameters are used for the one color correction mode. Obtaining an estimated color of the color signal obtained by the conversion in the predetermined color system, determining a color correction parameter for the one color correction mode so as to reduce a color difference between the target color and the estimated color, The method includes a step of acquiring a color, acquiring the estimated color, and determining the color correction parameter for each of the plurality of color correction modes.
以上の構成によれば、次元を1つ増す際に変換パラメータを利用し、この変換パラメータを色補正モードに対応付けることにより、内容の異なる複数の色補正モードによるそれぞれの色補正を、色補正パラメータを変更する処理ないし生成する処理をあらためて実行することなく実現することができる。 According to the above configuration, when the dimension is increased by one, the conversion parameter is used, and this conversion parameter is associated with the color correction mode, so that each color correction in a plurality of color correction modes having different contents can be performed with the color correction parameter. This can be realized without executing again the process of changing or generating.
また、他の形態によれば、予め色補正モードと変換パラメータを対応付けておき、これによって色補正モードに応じた変換パラメータを用いて、例えば、RGBからCMYKへの次元を増す色変換を行い、また、色変換パラメータ生成における推定色を求めることにより、色補正モードに対応した適切な色変換パラメータを、変換パラメータに対応付けて得ることができる。 According to another embodiment, the color correction mode and the conversion parameter are associated with each other in advance, thereby performing color conversion that increases the dimension from RGB to CMYK, for example, using the conversion parameter according to the color correction mode. In addition, by obtaining the estimated color in color conversion parameter generation, an appropriate color conversion parameter corresponding to the color correction mode can be obtained in association with the conversion parameter.
以下、図面を参照して本発明の実施形態を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明の第1の実施形態に係る画像処理装置を示すブロック図である。本実施形態の画像処理装置は、具体的には通信回線を解してプリンタに接続したパーソナルコンピュータによって構成される。図1において、101はCPU、102はメインメモリをそれぞれ示す。また、103はHDD105とのデータの授受を制御するSCSIインタフェースを示す。104はローカルエリアネットワーク113上のサーバなどとの信号、データの授受を制御するネットワークインタフェースを示す。106はカラーモニタ107における表示を制御するグラフィックアクセラレータを示す。108はカラープリンタ109との通信を制御するUSBコントローラを示す。110はキーボード111やマウス112との間の入出力を制御するキーボード/マウスコントローラを示す。114はPCIバスを示す。
FIG. 1 is a block diagram showing an image processing apparatus according to the first embodiment of the present invention. Specifically, the image processing apparatus of the present embodiment is configured by a personal computer connected to a printer through a communication line. In FIG. 1, 101 indicates a CPU, and 102 indicates a main memory.
上記の構成における、プリンタ109によって画像を印刷出力する動作について説明する。まず、HDD105に格納されている画像アプリケーションが、ユーザの指示を受けたOSプログラムに基づき、CPU101によって起動される。続いて、ユーザの指示による画像アプリケーション内の処理にしたがって、HDD105に格納されているディジタル画像データが、SCSII/F103を介してPCIバス114経由によりメインメモリ102に転送される。または、LANに接続されているサーバに格納されている画像データあるいはインターネット上のディジタル画像データが、CPU101からの指令によってネットワークI/F104およびPCIバス114を経由してメインメモリ102に転送される。
An operation of printing out an image by the
以上のようにしてメインメモリ102に保持されたディジタル画像データは、例えば、RGB各色信号の符号無し8ビットで表現される画像データであり、この画像データは、CPU101からの指令によってPCIバス114を経由してグラフィックアクセラレータ106に転送され、グラフィックアクセラレータ106はその画像データをD/A変換した後ディスプレイケーブルを通じてカラーモニタ107に送信する。これにより、カラーモニタ107上に画像が表示される。ここで、ユーザが、色補正モードを指定するとともに、メインメモリ102に保持されているディジタル画像をプリンタ109から出力するよう画像アプリケーションに指令すると、画像アプリケーションは、ディジタル画像データと指定された色補正モードをプリンタドライバに転送する。本実施形態では、この色補正モードを印刷する画像の種類と用いる印刷用紙の種類の組合せに応じて予め定めてある。CPU101は、プリンタドライバの図2にて後述する処理に基づき、ディジタル画像データをCMYKディジタル画像データに変換し、このデータを、USBコントローラ108を介してプリンタ109へ送信する。
The digital image data held in the
そして、プリンタ109は、送信された画像データに基づき、CMYKのトナーを用いた画像を印刷する。プリンタ109は、本実施形態ではレーザービームを用いた電子写真方式のものであるが、プリンタの構成はこのような方式に限られないことはもちろんである。例えば、インクジェット方式のプリンタであってもよい。
The
図2は、上記のプリンタドライバによる色変換処理による印刷データの作成を示すフローチャートである。本実施形態のプリンタドライバは、色域の変換をするためのルックアップテーブル(LUT)を用いた色域変換、指示された色補正モードに応じて所望の色再現を得るためにRGB値を修正する色補正変換、RGB色信号をCMYK色信号に変換するべくLUTを用いた色分解変換の3つの色変換を実行し、RGB24ビットの画像データをCMYK32ビットの画像データに変換する。 FIG. 2 is a flowchart showing creation of print data by color conversion processing by the printer driver. The printer driver according to the present embodiment corrects RGB values to obtain a desired color reproduction according to color gamut conversion using a lookup table (LUT) for color gamut conversion, and instructed color correction mode. In order to convert the color correction conversion and RGB color signals into CMYK color signals, three color conversions of color separation conversion using an LUT are executed to convert RGB 24-bit image data into CMYK 32-bit image data.
まず、ステップ201で、メインメモリ102に保持されているRGB24ビット画像データ(色信号RGBそれぞれが符号無し8ビットの画像データ)へのポインタを取得するとともに、CMYK変換後の画像データを保持するためのメモリ領域を確保するなど、初期化処理を行う。また、ステップ202では、ステップ206の色補正変換で用いる色補正パラメータを、HDD105より取得する。この色補正パラメータは、図6以降で後述されるように、ユーザの操作によって予め作成ないし更新されるものである。そして、この操作では色補正モードごとに色補正パラメータの設定が行われる。なお、本発明を適用する上で、この色補正パラメータの作成ないし更新のタイミングは、必ずしもユーザの指示操作に応じてなされる必要はなく、例えば、プリンタの使用時間が所定時間を経過するごとに行ってもよく、あるいはプリンタにおける印刷量が所定量に達するごとに色補正をパラメータの作成ないし更新を行ってもよい。
First, in
ステップ203では、ユーザが指定した色補正モードを取得するとともに、その取得した色補正モードによって図11に示すLUT(ルックアップテーブル)を参照し、それぞれの色補正モードに対応するucr値を取得する。
In
ステップ204では、ラスタスキャンの順に従って、メインメモリ102内のRGB24ビット画像データから画素値であるRGB値を1つ取得する。
In
ステップ205では色域変換を行う。すなわち、LUTを用いた四面体補間演算により、RGB24ビット→RGB24ビット変換を施す。LUTはRGB色空間において規定される格子点の座標データと、それぞれの格子点に対応するRGBの座標値との対応を記述したものであり、図3(b)に示されるようなデータ構造を有して構成される。同図に示すように、データ構造の先頭には、RGB座標のステップが記述され、このステップの組合せによって格子点が規定される。そして、これらの座標ステップとともに、これらの座標ステップで特定される格子点ごとに対応するRGBの座標値が、R、G、Bの順でネストされて記述される。このデータ構造をRGB色空間で模式的に表すと、図3(a)のように表される。四面体補間は、隣接する8つの格子点で囲まれる6面体領域を図4に示すように6つに分割された四面体領域に分割し、各分割領域毎に、それを構成する4つの格子点の座標値を上記のLUTから読み出し補間演算を行う。
In
ステップ206では色補正変換を行う。すなわち、図5(a)〜(d)に示す式に従って、順次次元変換、非線形変換、γ変換、次元変換を行い、ステップ204で得られたRGB値を補正する色補正を行う。この変換では、先ず、図5(a)に示すように、RGBの3次元信号をCMYKの4次元信号に変換し、この4次元信号に対して非線形変換(図5(b))、γ変換(図5(c))を行い、最後に、図5(d)に示すように、RGBの3次元信号に戻す。
In
詳細には、ステップ203で取得したucr値に従った100×ucr%のUCR量を用い、図5(a)に示す演算式によって、RGB値をcmyk値に変換して次元を1つ付加する。このように、本実施形態では、次元を1つ増す際に用いるucr値を利用し、図9などで後述されるようにこのucr値を色補正モードに対応付けることにより、内容の異なる複数の色補正モードによるそれぞれの補正を、色補正パラメータを変更する処理ないし生成する処理をあらためて実行することなく実現することができる。
Specifically, using a UCR amount of 100 × ucr% according to the ucr value acquired in
次に、図5(b)の式に従った演算によって、cmyk値に対する非線型変換として行列を用いた2次変換を施し、その後、同図(c)の式に従った演算によって、cmykの各成分に対して独立にγ変換を施す。そして、最後に、同図(d)の式に従った演算によって、図5(a)の演算と同一のUCR量を用いてcmyk値をRGB値に変換して次元を戻す。ここで、図5(b)の式における行列要素mijと、同図(c)の式におけるγ変換係数γiが色補正パラメータである。これらの色補正パラメータは上述のように、色補正モードごとに生成されるものである。演算は浮動小数点演算で実施されるが、図5(d)の式による変換が終わった後は、各色信号が符号無し8bitデータへと丸められる。また、この際、255を超える値は255、0を下回る値は0へとクリップされる。 Next, a quadratic transformation using a matrix is performed as a non-linear transformation for the cmyk value by an operation according to the equation of FIG. 5B, and then the cmyk is calculated by an operation according to the equation of FIG. Gamma transformation is applied to each component independently. Finally, the calculation according to the equation of FIG. 5D is used to convert the cmyk value to the RGB value using the same UCR amount as that of the calculation of FIG. Here, the matrix element mij in the equation of FIG. 5B and the γ conversion coefficient γi in the equation of FIG. 5C are color correction parameters. As described above, these color correction parameters are generated for each color correction mode. The calculation is performed by a floating point calculation. After the conversion according to the equation of FIG. 5D is completed, each color signal is rounded to unsigned 8-bit data. At this time, a value exceeding 255 is clipped to 255, and a value below 0 is clipped to 0.
次に、ステップ207で色分解変換を行う。すなわち、LUTを用いた四面体補間演算を行うことにより、RGB24ビットデータをCMYK32ビットの画像データ(CMYKの各色信号が符号無し8ビットの画像データ)に変換する。以下の説明では、この変換前のRGB色空間を、特にPrivateRGBと呼ぶ。つまり、ステップ205におけるRGB24ビット→RGB24ビット変換以降ステップ205における色補正演算は、PrivateRGB上の演算である。
In
ステップ208では、ステップ206で得られたCMYK32ビット値を当該色信号の画素位置に対応したアドレスのメモリに書き込む。そして、次のステップ209では、必要な画素総てに対し変換を施したか否かを判断し、施していればステップ210へ、施していなければステップ204へジャンプする。ステップ210では、メインメモリに格納されたCMYK32ビット画像データを、USBコントローラ108を介してプリンタ109へ送信し、ステップ211で本処理を終了する。
In
次に、ステップ206の演算で用いられる色補正パラメータの作成ないし更新について説明する。
Next, the creation or update of color correction parameters used in the calculation of
先ず、HDD105に格納されている色補正パラメータ作成アプリケーションが、ユーザの指示を受けたOSプログラムに基づき、CPU101によって起動される。色補正パラメータ作成アプリケーションが起動されると、図6に示すダイアログウィンドウが表示される。
First, a color correction parameter creation application stored in the
図6において、601はプルダウンリストを示し、目標色再現情報の設定対象となるPrivateRGB値を表示もしくは選択する。602はPrivateRGB値の追加ボタンを示し、このボタンを押下することにより、図7(a)に示す追加ダイアログが表示される。ユーザは、この追加ダイアログを介して目標色再現情報の設定対象となるPrivateRGB値を入力して追加することができる。603は目標色再現情報の設定対象となるPrivateRGB値の削除ボタンを示し、このボタンを押下することにより、プルダウンリスト601に表示されているPrivateRGB値が、目標色再現情報の設定対象から削除される。604は、プルダウンリスト601に表示されているPrivateRGB値に対する目標色再現情報をリスト表示するウィンドウを示し、ウィンドウ内の左側に対象となっている色補正モード、右側に画像表示した際の色再現目標たるL*a*b*値が表示される。また、選択されている目標色再現情報は反転表示される。605はスライダバーを示し、このバーを制御することにより、プルダウンリスト601に表示されているPrivateRGB値に対する各モードの目標色再現情報をスクロールならびに選択することができる。
In FIG. 6,
606は再現色指定ボタンを示し、このボタンを押下することにより図7(b)に示す指定ダイアログが表示される。ユーザは、この指定ダイアログを介して、PrivateRGB値について画像表示した際に再現されるべき目標色、すなわち目標色再現情報を指定する。607はパラメータ作成ボタンを示し、このボタンを押下すると、図9以降で後述されるように色補正パラメータが生成され、その結果がHDD105に保存される。608は終了ボタンを示し、このボタンを押下することにより色補正パラメータ作成アプリケーションを終了する。
図8は色補正パラメータ作成アプリケーション動作における状態の遷移を説明する図である。 FIG. 8 is a diagram for explaining state transitions in the operation of the color correction parameter creation application.
図8において、ステート801は、目標色再現情報の初期設定値を読み込むといった初期化動作を行う状態である。ステート802は、図6に示したウィンドウに対するユーザ操作判断待ち状態である。ここで、追加ボタン602が押されるとステート804の設定色追加へ移行し、スライダバー605が操作されるとステート803の表示スクロールへ移行し、再現色指定ボタン606が押下されるとステート805の設定更新へ移行し、パラメータ作成ボタン607が押下されるとステート806の色補正パラメータ作成へ移行し、終了ボタン608が押下されるとステート807の終了処理へ移行する。
In FIG. 8, a
ステート803の表示スクロールでは、スライダバーの制御量に応じて、目標色再現情報のウィンドウ601の表示をスクロールするとともに、選択されている目標色再現情報を変更する。ステート804の設定色追加では、図7(a)に示すダイアログを表示して、目標色再現情報の入力状態に入る。ここで、エディットボックス701において、目標色再現情報の設定対象として追加すべきPrivateRGB値を入力する。そして、追加ボタン702を押下することにより、ボックスウィンドウ701の入力を確定し、本ダイアローグをクローズする。
In the display scroll in the
ステート805の再現色指定では、図7(b)に示すダイアローグを表示し、目標色再現情報の入力状態に入る。ここで、エディットボックス703において色再現目標たるL*a*b*値を入力する。また、エディットボックス704において編集対象となっている色の重要度を整数で設定する。この値は、図12にて後述される評価値算出処理において評価値算出の際の重みとして用いられる。さらに、指定ボタン705を押下することにより、入力されたL*a*b*値を目標色再現情報として記憶し、本ダイアローグをクローズする。
In the reproduction color designation in the
ステート806は、図9にて後述する色補正パラメータ作成処理に従って色補正パラメータを作成し、その結果をHDD105に保存する状態である。ステート807は、メモリ開放などの終了動作を行った後、色補正パラメータ作成アプリケーション動作を終了する状態である。
A
図9は、ステート806における色補正パラメータ作成処理を示すフローチャートである。
FIG. 9 is a flowchart showing color correction parameter creation processing in the
図9において、最初にステップ901で、色補正パラメータ(図5(b)、(c)に示した式のそれぞれ行列要素mij、γ変換係数γi)の初期設定やメモリ領域の確保といった初期化を行う。
In FIG. 9, first, in
次に、ステップ902において、目標色再現情報として与えられたPrivateRGB値ごとのL*a*b*値の組に基づき、図14にて後述されるようにしてCMYK色空間における目標色再現を生成する。
Next, in
ステップ903では、現在の色補正パラメータに対する評価値sumを算出する。その詳細は図12にて後述する。次に、ステップ904で、算出した評価値sumが所定値以下か否かを判断し、所定値以下であればステップ907へ、所定値より大きければステップ905へジャンプする。
In
ステップ905では、ステップ906からステップ904のループ演算を回った回数を取得し、この回数が所定回数より以上であればステップ907へ、そうでなければステップ906ジャンプする。
In
ステップ906では、図14にて後述するアルゴリズムに基づいて色補正パラメータを更新する。ステップ907では、更新などによる現在の色補正パラメータをメモリに記憶して色補正パラメータ作成処理を終了する。
In
図10は、上記ステップ902におけるCMYK空間における目標色再現の生成処理を示すフローチャートである。
FIG. 10 is a flowchart showing the target color reproduction generation process in the CMYK space in
図10において、先ず、ステップ1401で、メモリ領域確保等の初期化を行う。次に、ステップ1402で、PrivateRGB値ごとのそれぞれの色補正モードに対応したL*a*b*値の組からなる、RGB空間で定義された目標色再現情報をメモリより読み込む。
In FIG. 10, first, in
ステップ1403では、上記読み込んだ目標色再現情報から所定の順序でPrivateRGB値を一つ取得する。そして、ステップ1404では、所定の順序に従って、色補正モードを一つ選択する。
In
ステップ1405では、取得したPrivateRGB値と選択した色補正モードの組に対応するL*a*b*値、すなわち、選択された色補正モードにおいて取得されたPrivateRGB値が色再現目標となるL*a*b*値を、上記読み込んだ目標色再現情報から取得する。また、これとともに、選択された色補正モードに基づいて図11に示すLUTを参照しucr値を取得する。また、対応する重みwも同時に取得する。そして、ステップ1406では、この取得したucr値とステップ1403で取得したPrivateRGB値を用いて、図5(a)に示す式によってcmyk値を算出する。さらに、ステップ1407では、ステップ1405で取得したL*a*b*値と算出したcmyk値との組を、CMYK上で定義される色再現目標の一つの組として記憶する。すなわち、算出したcmyk値に対する色再現目標が、取得したL*a*b*値となる。またさらに、取得した重みwならびに算出したucrも同時に対応付けて記憶する。ここで記憶した重みwおよびucr値は図12で後述する処理で用いる。
In
以上のように、予め色補正モードとucr値を対応付けておき、これによって色補正モードに応じたucr値を用いて、RGBからcmykへの次元を増す色変換を行い、また、図12で後述されるように色変換パラメータ生成の評価値を求める際のL*a*b*値の推定を行う。これにより、色補正モードに対応した適切な色変換パラメータを、ucr値に対応付けて得ることができる。 As described above, the color correction mode and the ucr value are associated with each other in advance, thereby using the ucr value corresponding to the color correction mode to perform color conversion to increase the dimension from RGB to cmyk, and in FIG. As will be described later, an L * a * b * value is estimated when an evaluation value for color conversion parameter generation is obtained. Thereby, an appropriate color conversion parameter corresponding to the color correction mode can be obtained in association with the ucr value.
次に、ステップ1408では、設定している総ての色補正モードについてステップ1404〜1407の処理を行ったか否かを判断し、処理済みであればステップ1409へ、総ての色補正モードについて処理が終了していないときはステップ1404へジャンプする。
Next, in
ステップ1409では、RGB色空間で定義された目標色再現情報について、目標色再現が設定されているPrivateRGB値の総てについてステップ1403〜1408の処理を実行したか否かを判断し、総てについて実行を終了しているときはステップ1410へ、終了していないときはステップ1403へジャンプする。ステップ1410では、以上説明した処理によって生成した、CMYK色空間で定義される色再現目標をメモリに格納し、ステップ1411にて本処理を終了する。
In
図12は、図9に示したステップ903の評価値算出処理の詳細を示すフローチャートである。この処理では、i番目の色再現目標色に対する評価値fiと、このfiの総和による評価値sumとを算出する。
FIG. 12 is a flowchart showing details of the evaluation value calculation processing in
図12において、先ず、ステップ1001で、評価すべき色補正パラメータ(図5(b)、(c)示したmij、γi)を取得し、設定する。次に、ステップ1002では、初期化動作としてループ回数を示す変数であるiを1に設定する。また、ステップ1006の色推定に必要な色推定用LUTを読み込む。このLUTは、図13(b)に示すようなデータ構造のものであり、このデータ構造をRGB色空間で模式的に表すと、図13(a)のように表される。この構成は図2のステップ205で説明した、図3(a)、(b)のデータ構造と同じ形式であるため、その詳細な説明は諸略する。なお、このLUTは、PrivateRGB値に対し、その色をパッチなどとして実際に印刷出力したものを測定して得られるL*a*b*表色系の値を格納したものであり予め作成して用意してある。
In FIG. 12, first, in
次に、ステップ1003では、図10にて説明した処理で得られた、cmyk値とこのcmyk値で画像を印刷したときの色再現目標たるL*a*b*値との対応の組みであるi番目の目標色再現情報をメモリから読み込む。
Next, in
ステップ1004では、メモリから読み込んだ目標色再現情報から、cmykの値Corgと対応するL*a*b*の値Drepとの対応関係を一対取得する。また、その取得した色に対する重みwも同時に取得する。次に、ステップ1005では、ステップ206で用いた式と同じ図5(b)、(c)の式を用い、cmyk値Corgをcmyk値Ccmpに変換する。そして、ステップ1006で、cmyk値Ccmpに対して、現在の処理に係る色再現目標に対応したucr値を用いて図5(d)に示す式の演算を行い、PrivateRGB値を算出する。そして、この算出したRGB値によって、ステップ1002で読み込んだ色推定用LUTを参照しL*a*b*値Dcalを推定する。この推定には四面体補間を用いるものであり、図4に示した6つに分割された四面体領域について補間演算を行う。次に、ステップ1007では、目標色再現色の値であるL*a*b*値Drepとステップ1006で得られた推定L*a*b*値Dcalとの色差をCIEΔE94に従って算出し、これに重みwを乗算して評価値fiを求める。
In
ステップ1008では、目標色再現情報の総てのcmyk値CorgとL*a*b*の値Drepとの対応関係について、ステップ1004から1007までの処理を施したか否かを判断し、施したのであればステップ1009へ、未だ総てに施していないときはループ回数を示す変数iに1を加算した後、ステップ1004へジャンプする。
In
ステップ1009では、評価値fiの総和である評価値sumを求め、ステップ1010で評価値算出処理の終了動作を行う。
In
図14は、図9のステップ906に示した色補正パラメータ更新処理の詳細を示すフローチャートである。本処理は、評価値sumを逐次に減少させるべく、D.L.S.法(減衰最小自乗法)に基づく色補正パラメータ更新を行うものである。以下の説明では、色補正パラメータである、行列要素mijとγ変換係数γiと一列に並べてベクトルxとして扱い、色補正パラメータの各要素をあらためてベクトル要素xk(k=0〜l)で表す。また、色補正パラメータk番目のパラメータxkの更新すべき変化量をΔxkとする。
FIG. 14 is a flowchart showing details of the color correction parameter update processing shown in
図14において、先ず、ステップ1201では、更新すべき色補正パラメータ、これに基づく目標色再現情報総ての評価値、評価値空間と列ベクトルxのgradientを計算する際に必要な微小変動幅、ダンピングファクタ(ρ)を取得し、設定する。ダンピングファクタは次に示す式5で定義されるものである。
In FIG. 14, first, in
次に、ステップ1202では、更新すべき色補正パラメータの各要素を次に示す式2によってベクトル要素xiに変換してベクトルxを設定する。
Next, in
ここで、本ステップのときに存在する列ベクトルxを上記ベクトルの初期値とする。また、初期化動作としてループ回数を示す変数であるsを1に設定する。 Here, the column vector x existing at this step is set as the initial value of the vector. Further, s, which is a variable indicating the number of loops, is set to 1 as an initialization operation.
ステップ1203では、列ベクトルxの第l番目のパラメータxlに対して、ステップ1201にて設定した微小変動幅だけ加算し、変化させる。次に、ステップ1204では、ステップ1203にて変更した列ベクトルxについて、図12にて説明した処理を用いて、評価値を算出する。また、ステップ1205では、ステップ1203にて変更した列ベクトルxをベクトルの初期値として復元する。さらに、ステップ1206では、ステップ1201にて設定した目標色再現情報総ての初期評価値と変動幅、ステップ1204にて算出した変動後評価値とを用い、次に示す式3に基づいて、評価値空間と列ベクトルxのgradientを計算する。
In
gradientは目標色再現情報n(n=0〜p)について算出し、aknとしてメモリに格納する。ここで、微小変動幅は偏微分における変数の差分に相当する。 The gradient is calculated for the target color reproduction information n (n = 0 to p) and stored in the memory as akn. Here, the minute fluctuation width corresponds to a variable difference in partial differentiation.
ステップ1207では、ステップ1203からステップ1206までの処理を列ベクトルxの総てのパラメータに対して施したか否かを判断し、施したのであればステップ1208へ、施していないときは、ループ回数を示す変数iに1を加算した後、ステップ1203へジャンプする。
In
ステップ1208では、ステップ1201にて設定したダンピングファクタおよび初期評価値と、ステップ1206にて算出したgradientについてD.L.S.法を適用し、次に示す式4から列ベクトルxのパラメータであるxiの変動量Δxiを算出する。
In
ステップ1209では、次の式5、式6によって色補正パラメータを更新する。
In
最後に、ステップ1210で、色処理パラメータ更新処理の終了動作を行う。
Finally, in
なお、本発明ではRGB色空間の信号をCMYK色空間の信号に変換して色補正を行ったが、RGBの信号をRGBW色空間の信号に変換しても同様の効果を得ることができる。さらには、色補正すべき信号がCMY空間の色信号である場合にも、これをCMYKの信号もしくはRGBWの信号に変換して同様の処理を行うことも可能である。 In the present invention, the RGB color space signal is converted into the CMYK color space signal to perform color correction. However, the same effect can be obtained by converting the RGB signal into the RGBW color space signal. Further, when the signal to be color-corrected is a color signal in the CMY space, it can be converted into a CMYK signal or an RGBW signal to perform the same processing.
<他の実施形態>
色補正変換
上述の実施形態では色補正変換の内容を変更するため、離散的な色補正モードを用意した。しかしながら、ucr値は連続な値であることから明らかなように、色補正変換の内容を連続的に変化させることもできる。
<Other embodiments>
Color Correction Conversion In the above embodiment, a discrete color correction mode is prepared in order to change the content of the color correction conversion. However, as is apparent from the fact that the ucr value is a continuous value, the content of the color correction conversion can be continuously changed.
色補正変換種類
上述の実施形態では色補正変換として2次非線形変換を用いたが,3次以上の高次非線形変換を用いることも可能である。また、線形変換を用いることも可能であるし、γ変換、対数変換を組み合わせて用いることもできる。
Types of color correction conversion In the above-described embodiment, the second-order nonlinear conversion is used as the color correction conversion. However, it is also possible to use a third-order or higher-order nonlinear conversion. Further, linear transformation can be used, and γ transformation and logarithmic transformation can be used in combination.
色補正変換の次元
上述の実施形態では3次元信号を4次元信号に変換して色補正変換を行った。しかしながら、他の場合として、例えば色相毎に精度向上を図るため、RGBCMY色空間の信号の様な6次元信号に変換して色補正変換を行うことも可能である。さらには、CMYKの信号やRGBWの信号の様な4次以上の色信号に対しても、次元を変換して色補正変換を行うことが可能である。
Dimensions of color correction conversion In the above - described embodiment, a color correction conversion is performed by converting a three-dimensional signal into a four-dimensional signal. However, in other cases, for example, in order to improve accuracy for each hue, it is also possible to perform color correction conversion by converting into a six-dimensional signal such as a signal in the RGBCMY color space. Furthermore, it is possible to perform color correction conversion by converting the dimension of a color signal of fourth order or higher, such as a CMYK signal or an RGBW signal.
パラメータの更新
上記の例では、色補正パラメータの更新にD.L.S.法を用いるものとしたが、直交化法、準ニュートン法等、その他最適化手法を適用することが可能である。
Parameter Update In the above example, D.D. L. S. Although the method is used, other optimization methods such as an orthogonalization method and a quasi-Newton method can be applied.
<さらに他の実施形態>
本発明は上述のように、複数の機器(たとえばホストコンピュータ、インタフェース機器、リーダ、プリンタ等)から構成されるシステムに適用しても一つの機器(たとえば複写機、ファクシミリ装置)からなる装置に適用してもよい。
<Still another embodiment>
As described above, the present invention can be applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.) but also to an apparatus composed of a single device (for example, a copying machine, a facsimile machine). May be.
また、前述した実施形態の機能を実現するように各種のデバイスを動作させるように該各種デバイスと接続された装置あるいはシステム内のコンピュータに、図2、図9、図10、図12、図14に示した前記実施形態機能を実現するためのソフトウェアのプログラムコードを供給し、そのシステムあるいは装置のコンピュータ(CPUあるいはMPU)を格納されたプログラムに従って前記各種デバイスを動作させることによって実施したものも本発明の範疇に含まれる。 In addition, FIG. 2, FIG. 9, FIG. 10, FIG. 14 and FIG. 14 are connected to an apparatus or a computer in the system connected to the various devices to operate the various devices so as to realize the functions of the above-described embodiments. A program implemented by operating the various devices according to a program stored in a computer (CPU or MPU) of the system or apparatus is provided. It is included in the category of the invention.
またこの場合、前記ソフトウェアのプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコード自体、およびそのプログラムコードをコンピュータに供給するための手段、例えばかかるプログラムコードを格納した記憶媒体は本発明を構成する。 Further, in this case, the program code of the software itself realizes the functions of the above-described embodiments, and the program code itself and means for supplying the program code to the computer, for example, a storage storing the program code The medium constitutes the present invention.
かかるプログラムコードを格納する記憶媒体としては例えばフロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。 As a storage medium for storing the program code, for example, a floppy (registered trademark) disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
またコンピュータが供給されたプログラムコードを実行することにより、前述の実施形態の機能が実現されるだけではなく、そのプログラムコードがコンピュータにおいて稼働しているOS(オペレーティングシステム)、あるいは他のアプリケーションソフト等と共同して前述の実施形態の機能が実現される場合にもかかるプログラムコードは本発明の実施形態に含まれることは言うまでもない。 Further, by executing the program code supplied by the computer, not only the functions of the above-described embodiments are realized, but also the OS (operating system) in which the program code is running on the computer, or other application software, etc. It goes without saying that the program code is also included in the embodiment of the present invention even when the functions of the above-described embodiment are realized in cooperation with the embodiment.
さらに供給されたプログラムコードが、コンピュータの機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに格納された後そのプログラムコードの指示に基づいてその機能拡張ボードや機能格納ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も本発明に含まれることは言うまでもない。 Further, after the supplied program code is stored in a memory provided in a function expansion board of a computer or a function expansion unit connected to the computer, a CPU provided in the function expansion board or function storage unit based on an instruction of the program code However, it is needless to say that the present invention also includes a case where the function of the above-described embodiment is realized by performing part or all of the actual processing.
101 CPU
102 メインメモリ
105 HDD
107 カラーモニタ
109 カラープリンタ
111 キーボード
112 マウス
101 CPU
102
107
Claims (8)
前記色信号の次元を増す変換に用いられる変換パラメータを、色補正変換の補正内容が異なる複数の色補正モードごとに保持するパラメータ保持手段と、
設定されている色補正モードを取得する補正モード取得手段と、
該補正モード取得手段が取得した色補正モードに対応した変換パラメータを前記パラメータ保持手段から取得するパラメータ取得手段と、
該パラメータ取得手段が取得した変換パラメータを用いて前記色信号の次元を増す変換を行い、該次元を増した色信号に対して色補正パラメータを用いて補正を行い、その後元の次元の色信号に戻す色補正変換を行う変換手段と、を具え、
前記色補正パラメータは、前記変換パラメータを用いた変換によって得られる色信号の所定の表色系で表されるそれぞれ目標色と推定色との色差を小さくするようにして得られることを特徴とする画像処理装置。 Color correction conversion for correcting the color signal, after converting the color signal to a color signal with an increased dimension of the color signal, performing correction using the color correction parameter for the color signal with the increased dimension, An image processing apparatus that performs color correction conversion to return to the original dimension color signal,
Parameter holding means for holding a conversion parameter used for conversion for increasing the dimension of the color signal for each of a plurality of color correction modes having different correction contents of color correction conversion;
Correction mode acquisition means for acquiring a set color correction mode;
Parameter acquisition means for acquiring a conversion parameter corresponding to the color correction mode acquired by the correction mode acquisition means from the parameter holding means;
Conversion that increases the dimension of the color signal using the conversion parameter acquired by the parameter acquisition means, correction using the color correction parameter for the color signal with the increased dimension, and then the color signal of the original dimension Conversion means for performing color correction conversion to return to
The color correction parameter is obtained by reducing a color difference between a target color and an estimated color represented by a predetermined color system of a color signal obtained by conversion using the conversion parameter. Image processing device.
前記色信号の次元を増す変換に用いられる変換パラメータを、色補正変換の補正内容が異なる複数の色補正モードごとに保持するパラメータ保持手段と、
該パラメータ保持手段が保持する1つの色補正モードについて、当該色補正モードに対応した変換パラメータを用いた変換によって得られる色信号について所定の表色系における目標色を求める目標色取得手段と、
前記1つの色補正モードについて、前記変換パラメータを用いた変換によって得られる色信号に対する色補正パラメータを用いた変換によって得られる色信号の前記所定の表色系における推定色を求める推定色取得手段と、
前記1つの色補正モードについて、前記目標色と前記推定色との色差が小さくなるよう色補正パラメータを定めるパラメータ決定手段と、
前記目標色取得手段、前記推定色取得手段および前記パラメータ決定手段による前記処理をパラメータ保持手段が保持する複数の色補正モードそれぞれについて実行する制御手段と、
を具えたことを特徴とする画像処理装置。 Color correction conversion for correcting the color signal, after converting the color signal to a color signal having an increased dimension of the color signal, performing correction using the color correction parameter for the color signal having the increased dimension, An image processing apparatus that performs processing for generating the color correction parameter in color correction conversion to return to the original dimension color signal,
Parameter holding means for holding a conversion parameter used for conversion for increasing the dimension of the color signal for each of a plurality of color correction modes having different correction contents of color correction conversion;
Target color acquisition means for obtaining a target color in a predetermined color system for a color signal obtained by conversion using a conversion parameter corresponding to the color correction mode for one color correction mode held by the parameter holding means;
Estimated color acquisition means for obtaining an estimated color in the predetermined color system of a color signal obtained by conversion using a color correction parameter with respect to a color signal obtained by conversion using the conversion parameter for the one color correction mode; ,
Parameter determining means for determining a color correction parameter so as to reduce a color difference between the target color and the estimated color for the one color correction mode;
Control means for executing the processing by the target color acquisition means, the estimated color acquisition means and the parameter determination means for each of a plurality of color correction modes held by a parameter holding means;
An image processing apparatus comprising:
前記色信号の次元を増す変換に用いられる変換パラメータを、色補正変換の補正内容が異なる複数の色補正モードごとに用意し、
設定されている色補正モードを取得し、
該取得した色補正モードに対応した変換パラメータを前記用意した変換パラメータから取得し、
該取得した変換パラメータを用いて前記色信号の次元を増す変換を行い、該次元を増した色信号に対して色補正パラメータを用いて補正を行い、その後元の次元の色信号に戻す色補正変換を行う、ステップを有し、
前記色補正パラメータは、前記変換パラメータを用いた変換によって得られる色信号の所定の表色系で表されるそれぞれ目標色と推定色との色差を小さくするようにして得られることを特徴とする画像処理方法。 Color correction conversion for correcting the color signal, after converting the color signal to a color signal with an increased dimension of the color signal, performing correction using the color correction parameter for the color signal with the increased dimension, An image processing method for performing color correction conversion to return to the original dimensional color signal,
A conversion parameter used for conversion for increasing the dimension of the color signal is prepared for each of a plurality of color correction modes having different correction contents of color correction conversion,
Get the set color correction mode,
Obtaining a conversion parameter corresponding to the acquired color correction mode from the prepared conversion parameter;
Color conversion that increases the dimension of the color signal using the acquired conversion parameter, correction using the color correction parameter for the color signal with the increased dimension, and then returning to the color signal of the original dimension Do the conversion, have steps,
The color correction parameter is obtained by reducing a color difference between a target color and an estimated color represented by a predetermined color system of a color signal obtained by conversion using the conversion parameter. Image processing method.
前記色信号の次元を増す変換に用いられる変換パラメータを、色補正変換の補正内容が異なる複数の色補正モードごとに保持し、
該保持する1つの色補正モードについて、当該色補正モードに対応した変換パラメータを用いた変換によって得られる色信号について所定の表色系における目標色を求め、
前記1つの色補正モードについて、前記変換パラメータを用いた変換によって得られる色信号に対する色補正パラメータを用いた変換によって得られる色信号の前記所定の表色系における推定色を求め、
前記1つの色補正モードについて、前記目標色と前記推定色との色差が小さくなるよう色補正パラメータを定め、
前記目標色を取得し、前記推定色を取得しおよび前記色補正パラメータを決定する処理を前記複数の色補正モードそれぞれについて実行する、
ステップを有したことを特徴とする画像処理方法。 Color correction conversion for correcting the color signal, after converting the color signal to a color signal having an increased dimension of the color signal, performing correction using the color correction parameter for the color signal having the increased dimension, An image processing method for performing processing for generating the color correction parameter in color correction conversion to return to the original dimension color signal,
A conversion parameter used for conversion for increasing the dimension of the color signal is held for each of a plurality of color correction modes having different correction contents of color correction conversion,
For the one color correction mode to be held, a target color in a predetermined color system is obtained for a color signal obtained by conversion using a conversion parameter corresponding to the color correction mode,
For the one color correction mode, an estimated color in the predetermined color system of a color signal obtained by conversion using a color correction parameter for a color signal obtained by conversion using the conversion parameter is obtained,
For the one color correction mode, a color correction parameter is determined so that a color difference between the target color and the estimated color is reduced,
Obtaining the target color, obtaining the estimated color and determining the color correction parameter for each of the plurality of color correction modes;
An image processing method comprising steps.
前記色信号の次元を増す変換に用いられる変換パラメータを、色補正変換の補正内容が異なる複数の色補正モードごとに保持するパラメータ保持手段と、
設定されている色補正モードを取得する補正モード取得手段と、
該補正モード取得手段が取得した色補正モードに対応した変換パラメータを前記パラメータ保持手段から取得するパラメータ取得手段と、
該パラメータ取得手段が取得した変換パラメータを用いて前記色信号の次元を増す変換を行い、該次元を増した色信号に対して色補正パラメータを用いて補正を行い、その後元の次元の色信号に戻す色補正変換を行う変換手段と、を有し、
前記色補正パラメータは、前記変換パラメータを用いた変換によって得られる色信号の所定の表色系で表されるそれぞれ目標色と推定色との色差を小さくするようにして得られることを特徴とするプログラム。 Color correction conversion for correcting a color signal by a computer, converting the color signal to a color signal having an increased dimension, and correcting the color signal having the increased dimension using a color correction parameter Is a program that functions as an image processing device that performs color correction conversion that returns to the original dimensional color signal.
Parameter holding means for holding a conversion parameter used for conversion for increasing the dimension of the color signal for each of a plurality of color correction modes having different correction contents of color correction conversion;
Correction mode acquisition means for acquiring a set color correction mode;
Parameter acquisition means for acquiring a conversion parameter corresponding to the color correction mode acquired by the correction mode acquisition means from the parameter holding means;
Conversion that increases the dimension of the color signal using the conversion parameter acquired by the parameter acquisition means, correction using the color correction parameter for the color signal with the increased dimension, and then the color signal of the original dimension Conversion means for performing color correction conversion to return to
The color correction parameter is obtained by reducing a color difference between a target color and an estimated color represented by a predetermined color system of a color signal obtained by conversion using the conversion parameter. program.
前記色信号の次元を増す変換に用いられる変換パラメータを、色補正変換の補正内容が異なる複数の色補正モードごとに保持するパラメータ保持手段と、
該パラメータ保持手段が保持する1つの色補正モードについて、当該色補正モードに対応した変換パラメータを用いた変換によって得られる色信号について所定の表色系における目標色を求める目標色取得手段と、
前記1つの色補正モードについて、前記変換パラメータを用いた変換によって得られる色信号に対する色補正パラメータを用いた変換によって得られる色信号の前記所定の表色系における推定色を求める推定色取得手段と、
前記1つの色補正モードについて、前記目標色と前記推定色との色差が小さくなるよう色補正パラメータを定めるパラメータ決定手段と、
前記目標色取得手段、前記推定色取得手段および前記パラメータ決定手段による前記処理をパラメータ保持手段が保持する複数の色補正モードそれぞれについて実行する制御手段と、
を有したことを特徴とするプログラム。
Color correction conversion for correcting a color signal by a computer, converting the color signal to a color signal having an increased dimension, and correcting the color signal having the increased dimension using a color correction parameter Is a program that functions as an image processing device that performs the process of generating the color correction parameter in color correction conversion that returns to the original dimensional color signal.
Parameter holding means for holding a conversion parameter used for conversion for increasing the dimension of the color signal for each of a plurality of color correction modes having different correction contents of color correction conversion;
Target color acquisition means for obtaining a target color in a predetermined color system for a color signal obtained by conversion using a conversion parameter corresponding to the color correction mode for one color correction mode held by the parameter holding means;
Estimated color acquisition means for obtaining an estimated color in the predetermined color system of a color signal obtained by conversion using a color correction parameter with respect to a color signal obtained by conversion using the conversion parameter for the one color correction mode; ,
Parameter determining means for determining a color correction parameter so as to reduce a color difference between the target color and the estimated color for the one color correction mode;
Control means for executing the processing by the target color acquisition means, the estimated color acquisition means and the parameter determination means for each of a plurality of color correction modes held by a parameter holding means;
The program characterized by having.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005122815A JP2006303918A (en) | 2005-04-20 | 2005-04-20 | Image processing apparatus and image processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005122815A JP2006303918A (en) | 2005-04-20 | 2005-04-20 | Image processing apparatus and image processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006303918A true JP2006303918A (en) | 2006-11-02 |
Family
ID=37471677
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005122815A Pending JP2006303918A (en) | 2005-04-20 | 2005-04-20 | Image processing apparatus and image processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006303918A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8969943B2 (en) | 2010-11-25 | 2015-03-03 | Renesas Electronics Corporation | Semiconductor device and manufacturing method of semiconductor device |
-
2005
- 2005-04-20 JP JP2005122815A patent/JP2006303918A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8969943B2 (en) | 2010-11-25 | 2015-03-03 | Renesas Electronics Corporation | Semiconductor device and manufacturing method of semiconductor device |
US9379127B2 (en) | 2010-11-25 | 2016-06-28 | Renesas Electronics Corporation | Semiconductor device and manufacturing method of semiconductor device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4428998B2 (en) | Image processing apparatus and method | |
KR100788053B1 (en) | Color conversion method and profile generation method | |
EP1156668B1 (en) | Black generation for color management system | |
JP3382535B2 (en) | Image processing method, image processing apparatus, and computer-readable memory | |
JP2008028679A (en) | Color conversion table, and method and device for generating the same | |
JP2007208736A (en) | Method and device for color processing | |
JP4469249B2 (en) | Image processing device | |
JP5365925B2 (en) | Image processing apparatus and image processing program | |
US20060209325A1 (en) | Image processing method, image processing apparatus and storage medium storing a program | |
JP2012043406A (en) | Image processing apparatus, image processing method and program | |
JP2009004862A (en) | Image processing apparatus | |
US9218552B2 (en) | Image processing apparatus and image processing method | |
JP2006303785A (en) | Image processing apparatus and method | |
JP5159565B2 (en) | Color processing apparatus and method | |
JP2006303918A (en) | Image processing apparatus and image processing method | |
JP5107208B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
JP2011019030A (en) | Conversion profile generation method and printer | |
JP2006128815A (en) | Image processor and processing method | |
JP6805735B2 (en) | Reproduction color profile correction system, reproduction color profile correction method and program | |
JP2006303917A (en) | Image processing apparatus, and image processing method | |
JP2008072550A (en) | Color processing method, color processing apparatus, image forming apparatus, program and recording medium | |
JP2006260532A (en) | Image forming apparatus and method | |
JP2005176200A (en) | Color signal converting apparatus and method thereof | |
JP2001078047A (en) | Method and device for profile synthesis, medium storing profile synthesizing program, and data conversion device | |
JP2009004861A (en) | Image processing apparatus |