JP2006303918A - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

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
Application number
JP2005122815A
Other languages
Japanese (ja)
Inventor
Hirochika Matsuoka
寛親 松岡
Kimitaka Arai
公崇 新井
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2005122815A priority Critical patent/JP2006303918A/en
Publication of JP2006303918A publication Critical patent/JP2006303918A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus capable of executing a plurality of times of color correction having different contents without changing a color correction parameter by utilizing a parameter to be used in dimension conversion in color correction conversion. <P>SOLUTION: In color correction conversion, a UCR quantity of 100×ucr% according to a parameter ucr value is used to convert an RGB value into a cmyk value and a dimension is added by one. Then, the color correction conversion is performed by an operation using a color correction parameter for colors in a CMYK space having the incremented dimension. In this case, the ucr value to be used in incrementing the dimension by one, as described above, is associated with a color correction mode. In this way, correction based on the plurality of color correction modes having different contents can each be realized without executing processing of changing or processing of generating the color correction parameter. <P>COPYRIGHT: (C)2007,JPO&INPIT

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.

特開平09−326938号公報JP 09-326938 A

ところで、上述した特願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. Reference numeral 103 denotes a SCSI interface that controls data exchange with the HDD 105. Reference numeral 104 denotes a network interface that controls transmission and reception of signals and data with a server on the local area network 113. A graphic accelerator 106 controls display on the color monitor 107. Reference numeral 108 denotes a USB controller that controls communication with the color printer 109. A keyboard / mouse controller 110 controls input / output between the keyboard 111 and the mouse 112. Reference numeral 114 denotes a PCI bus.

上記の構成における、プリンタ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 printer 109 in the above configuration will be described. First, an image application stored in the HDD 105 is activated by the CPU 101 based on an OS program that has received a user instruction. Subsequently, the digital image data stored in the HDD 105 is transferred to the main memory 102 via the PCI bus 114 via the SCSII / F 103 in accordance with the processing in the image application according to the user's instruction. Alternatively, image data stored in a server connected to the LAN or digital image data on the Internet is transferred to the main memory 102 via the network I / F 104 and the PCI bus 114 in response to a command from the CPU 101.

以上のようにしてメインメモリ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 main memory 102 as described above is, for example, image data expressed by unsigned 8 bits of each color signal of RGB, and this image data is transmitted through the PCI bus 114 by a command from the CPU 101. The graphic accelerator 106 transmits the image data to the color monitor 107 through a display cable after D / A conversion. As a result, an image is displayed on the color monitor 107. Here, when the user designates the color correction mode and instructs the image application to output the digital image stored in the main memory 102 from the printer 109, the image application performs the color correction designated as digital image data. Transfer the mode to the printer driver. In the present embodiment, this color correction mode is predetermined according to the combination of the type of image to be printed and the type of printing paper to be used. The CPU 101 converts the digital image data into CMYK digital image data based on processing described later with reference to FIG. 2 of the printer driver, and transmits this data to the printer 109 via the USB controller 108.

そして、プリンタ109は、送信された画像データに基づき、CMYKのトナーを用いた画像を印刷する。プリンタ109は、本実施形態ではレーザービームを用いた電子写真方式のものであるが、プリンタの構成はこのような方式に限られないことはもちろんである。例えば、インクジェット方式のプリンタであってもよい。   The printer 109 prints an image using CMYK toner based on the transmitted image data. In this embodiment, the printer 109 is an electrophotographic system using a laser beam, but the printer configuration is of course not limited to such a system. For example, an ink jet printer may be used.

図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 step 201, in order to obtain a pointer to RGB 24-bit image data (color signal RGB each of which is unsigned 8-bit image data) held in the main memory 102, and to hold the image data after CMYK conversion Initialize processing such as securing the memory area. In step 202, the color correction parameters used in the color correction conversion in step 206 are acquired from the HDD 105. The color correction parameter is created or updated in advance by a user operation, as will be described later with reference to FIG. In this operation, the color correction parameter is set for each color correction mode. In applying the present invention, the timing of creating or updating the color correction parameter does not necessarily have to be made according to the user's instruction operation. For example, every time the printer usage time elapses. Alternatively, the parameter may be created or updated for color correction each time the printing amount in the printer reaches a predetermined amount.

ステップ203では、ユーザが指定した色補正モードを取得するとともに、その取得した色補正モードによって図11に示すLUT(ルックアップテーブル)を参照し、それぞれの色補正モードに対応するucr値を取得する。   In step 203, the color correction mode designated by the user is acquired, and the LUT (lookup table) shown in FIG. 11 is referred to by the acquired color correction mode, and the ucr value corresponding to each color correction mode is acquired. .

ステップ204では、ラスタスキャンの順に従って、メインメモリ102内のRGB24ビット画像データから画素値であるRGB値を1つ取得する。   In step 204, one RGB value, which is a pixel value, is acquired from the RGB 24-bit image data in the main memory 102 in the raster scan order.

ステップ205では色域変換を行う。すなわち、LUTを用いた四面体補間演算により、RGB24ビット→RGB24ビット変換を施す。LUTはRGB色空間において規定される格子点の座標データと、それぞれの格子点に対応するRGBの座標値との対応を記述したものであり、図3(b)に示されるようなデータ構造を有して構成される。同図に示すように、データ構造の先頭には、RGB座標のステップが記述され、このステップの組合せによって格子点が規定される。そして、これらの座標ステップとともに、これらの座標ステップで特定される格子点ごとに対応するRGBの座標値が、R、G、Bの順でネストされて記述される。このデータ構造をRGB色空間で模式的に表すと、図3(a)のように表される。四面体補間は、隣接する8つの格子点で囲まれる6面体領域を図4に示すように6つに分割された四面体領域に分割し、各分割領域毎に、それを構成する4つの格子点の座標値を上記のLUTから読み出し補間演算を行う。   In step 205, color gamut conversion is performed. That is, RGB 24-bit → RGB 24-bit conversion is performed by tetrahedral interpolation calculation using LUT. The LUT describes the correspondence between the coordinate data of the grid points defined in the RGB color space and the RGB coordinate values corresponding to each grid point, and has a data structure as shown in FIG. It is configured. As shown in the figure, RGB coordinate steps are described at the head of the data structure, and lattice points are defined by a combination of these steps. Along with these coordinate steps, RGB coordinate values corresponding to each grid point specified by these coordinate steps are described in a nested manner in the order of R, G, and B. When this data structure is schematically represented in the RGB color space, it is represented as shown in FIG. In tetrahedral interpolation, a hexahedron region surrounded by adjacent eight lattice points is divided into six tetrahedron regions as shown in FIG. 4, and four lattices constituting each divided region are formed. The coordinate value of the point is read from the above LUT and interpolation calculation is performed.

ステップ206では色補正変換を行う。すなわち、図5(a)〜(d)に示す式に従って、順次次元変換、非線形変換、γ変換、次元変換を行い、ステップ204で得られたRGB値を補正する色補正を行う。この変換では、先ず、図5(a)に示すように、RGBの3次元信号をCMYKの4次元信号に変換し、この4次元信号に対して非線形変換(図5(b))、γ変換(図5(c))を行い、最後に、図5(d)に示すように、RGBの3次元信号に戻す。   In step 206, color correction conversion is performed. That is, in accordance with the equations shown in FIGS. 5A to 5D, dimensional conversion, nonlinear conversion, γ conversion, and dimensional conversion are sequentially performed, and color correction for correcting the RGB values obtained in step 204 is performed. In this conversion, first, as shown in FIG. 5A, an RGB three-dimensional signal is converted into a CMYK four-dimensional signal, and nonlinear conversion (FIG. 5B), γ conversion is performed on the four-dimensional signal. (FIG. 5C) is performed, and finally, as shown in FIG. 5D, the RGB three-dimensional signal is restored.

詳細には、ステップ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 step 203, an RGB value is converted into a cmyk value and one dimension is added by the arithmetic expression shown in FIG. . Thus, in this embodiment, a plurality of colors having different contents are used by using the ucr value used when adding one dimension and associating this ucr value with the color correction mode as described later in FIG. Each correction in the correction mode can be realized without executing again the process of changing or generating the color correction parameter.

次に、図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 step 207, color separation conversion is performed. That is, by performing a tetrahedral interpolation operation using an LUT, RGB 24-bit data is converted to CMYK 32-bit image data (CMYK color signals are unsigned 8-bit image data). In the following description, this RGB color space before conversion is particularly called Private RGB. That is, the color correction calculation in step 205 after RGB 24-bit → RGB 24-bit conversion in step 205 is a calculation on Private RGB.

ステップ208では、ステップ206で得られたCMYK32ビット値を当該色信号の画素位置に対応したアドレスのメモリに書き込む。そして、次のステップ209では、必要な画素総てに対し変換を施したか否かを判断し、施していればステップ210へ、施していなければステップ204へジャンプする。ステップ210では、メインメモリに格納されたCMYK32ビット画像データを、USBコントローラ108を介してプリンタ109へ送信し、ステップ211で本処理を終了する。   In step 208, the CMYK 32-bit value obtained in step 206 is written into the memory at the address corresponding to the pixel position of the color signal. Then, in the next step 209, it is determined whether or not conversion has been performed for all necessary pixels. If so, the process jumps to step 210. If not, the process jumps to step 204. In step 210, the CMYK 32-bit image data stored in the main memory is transmitted to the printer 109 via the USB controller 108. In step 211, this process is terminated.

次に、ステップ206の演算で用いられる色補正パラメータの作成ないし更新について説明する。   Next, the creation or update of color correction parameters used in the calculation of step 206 will be described.

先ず、HDD105に格納されている色補正パラメータ作成アプリケーションが、ユーザの指示を受けたOSプログラムに基づき、CPU101によって起動される。色補正パラメータ作成アプリケーションが起動されると、図6に示すダイアログウィンドウが表示される。   First, a color correction parameter creation application stored in the HDD 105 is activated by the CPU 101 based on an OS program that receives a user instruction. When the color correction parameter creation application is activated, a dialog window shown in FIG. 6 is displayed.

図6において、601はプルダウンリストを示し、目標色再現情報の設定対象となるPrivateRGB値を表示もしくは選択する。602はPrivateRGB値の追加ボタンを示し、このボタンを押下することにより、図7(a)に示す追加ダイアログが表示される。ユーザは、この追加ダイアログを介して目標色再現情報の設定対象となるPrivateRGB値を入力して追加することができる。603は目標色再現情報の設定対象となるPrivateRGB値の削除ボタンを示し、このボタンを押下することにより、プルダウンリスト601に表示されているPrivateRGB値が、目標色再現情報の設定対象から削除される。604は、プルダウンリスト601に表示されているPrivateRGB値に対する目標色再現情報をリスト表示するウィンドウを示し、ウィンドウ内の左側に対象となっている色補正モード、右側に画像表示した際の色再現目標たるL値が表示される。また、選択されている目標色再現情報は反転表示される。605はスライダバーを示し、このバーを制御することにより、プルダウンリスト601に表示されているPrivateRGB値に対する各モードの目標色再現情報をスクロールならびに選択することができる。 In FIG. 6, reference numeral 601 denotes a pull-down list, which displays or selects a private RGB value to be set for target color reproduction information. Reference numeral 602 denotes a private RGB value addition button. When this button is pressed, an addition dialog shown in FIG. 7A is displayed. The user can input and add a private RGB value to be set as target color reproduction information via the addition dialog. Reference numeral 603 denotes a private RGB value deletion button that is a target for setting target color reproduction information. By pressing this button, the private RGB value displayed in the pull-down list 601 is deleted from the target for setting target color reproduction information. . Reference numeral 604 denotes a window that displays a list of target color reproduction information for the private RGB values displayed in the pull-down list 601. The target color correction mode is displayed on the left side of the window, and the color reproduction target when an image is displayed on the right side. The L * a * b * value is displayed. Further, the selected target color reproduction information is displayed in reverse video. Reference numeral 605 denotes a slider bar. By controlling this bar, it is possible to scroll and select target color reproduction information of each mode for the Private RGB values displayed in the pull-down list 601.

606は再現色指定ボタンを示し、このボタンを押下することにより図7(b)に示す指定ダイアログが表示される。ユーザは、この指定ダイアログを介して、PrivateRGB値について画像表示した際に再現されるべき目標色、すなわち目標色再現情報を指定する。607はパラメータ作成ボタンを示し、このボタンを押下すると、図9以降で後述されるように色補正パラメータが生成され、その結果がHDD105に保存される。608は終了ボタンを示し、このボタンを押下することにより色補正パラメータ作成アプリケーションを終了する。   Reference numeral 606 denotes a reproduction color designation button. When this button is pressed, a designation dialog shown in FIG. 7B is displayed. The user designates the target color to be reproduced when the image is displayed for the Private RGB value, that is, the target color reproduction information, through the designation dialog. Reference numeral 607 denotes a parameter creation button. When this button is pressed, a color correction parameter is generated as will be described later with reference to FIG. 9 and thereafter, and the result is stored in the HDD 105. Reference numeral 608 denotes an end button. When this button is pressed, the color correction parameter creation application is ended.

図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 state 801 is a state in which an initialization operation is performed such as reading an initial setting value of target color reproduction information. A state 802 is a user operation determination waiting state for the window shown in FIG. When the add button 602 is pressed, the process proceeds to the setting color addition of the state 804. When the slider bar 605 is operated, the display scrolls to the display of the state 803. When the reproduction color designation button 606 is pressed, the state 805 changes. When the process proceeds to setting update and the parameter creation button 607 is pressed, the process proceeds to color correction parameter creation in the state 806, and when the end button 608 is pressed, the process proceeds to the end process in the state 807.

ステート803の表示スクロールでは、スライダバーの制御量に応じて、目標色再現情報のウィンドウ601の表示をスクロールするとともに、選択されている目標色再現情報を変更する。ステート804の設定色追加では、図7(a)に示すダイアログを表示して、目標色再現情報の入力状態に入る。ここで、エディットボックス701において、目標色再現情報の設定対象として追加すべきPrivateRGB値を入力する。そして、追加ボタン702を押下することにより、ボックスウィンドウ701の入力を確定し、本ダイアローグをクローズする。   In the display scroll in the state 803, the display of the target color reproduction information window 601 is scrolled and the selected target color reproduction information is changed according to the control amount of the slider bar. In the setting color addition in the state 804, the dialog shown in FIG. 7A is displayed, and the target color reproduction information is entered. Here, in the edit box 701, a private RGB value to be added as a target for setting target color reproduction information is input. Then, by pressing an add button 702, the input in the box window 701 is confirmed and the dialog is closed.

ステート805の再現色指定では、図7(b)に示すダイアローグを表示し、目標色再現情報の入力状態に入る。ここで、エディットボックス703において色再現目標たるL値を入力する。また、エディットボックス704において編集対象となっている色の重要度を整数で設定する。この値は、図12にて後述される評価値算出処理において評価値算出の際の重みとして用いられる。さらに、指定ボタン705を押下することにより、入力されたL値を目標色再現情報として記憶し、本ダイアローグをクローズする。 In the reproduction color designation in the state 805, the dialog shown in FIG. 7B is displayed, and the target color reproduction information is entered. Here, an L * a * b * value which is a color reproduction target is input in the edit box 703. In the edit box 704, the importance of the color to be edited is set as an integer. This value is used as a weight when calculating the evaluation value in the evaluation value calculation process described later with reference to FIG. Further, when the designation button 705 is pressed, the inputted L * a * b * value is stored as target color reproduction information, and this dialog is closed.

ステート806は、図9にて後述する色補正パラメータ作成処理に従って色補正パラメータを作成し、その結果をHDD105に保存する状態である。ステート807は、メモリ開放などの終了動作を行った後、色補正パラメータ作成アプリケーション動作を終了する状態である。   A state 806 is a state in which color correction parameters are created according to the color correction parameter creation process described later with reference to FIG. A state 807 is a state in which the color correction parameter creation application operation is terminated after performing a termination operation such as memory release.

図9は、ステート806における色補正パラメータ作成処理を示すフローチャートである。   FIG. 9 is a flowchart showing color correction parameter creation processing in the state 806.

図9において、最初にステップ901で、色補正パラメータ(図5(b)、(c)に示した式のそれぞれ行列要素mij、γ変換係数γi)の初期設定やメモリ領域の確保といった初期化を行う。   In FIG. 9, first, in step 901, initialization such as initial setting of the color correction parameters (matrix elements mij and γ conversion coefficients γi of the equations shown in FIGS. 5B and 5C) and securing of a memory area is performed. Do.

次に、ステップ902において、目標色再現情報として与えられたPrivateRGB値ごとのL値の組に基づき、図14にて後述されるようにしてCMYK色空間における目標色再現を生成する。 Next, in step 902, a target color reproduction in the CMYK color space is generated as will be described later with reference to FIG. 14 based on a set of L * a * b * values for each private RGB value given as target color reproduction information. To do.

ステップ903では、現在の色補正パラメータに対する評価値sumを算出する。その詳細は図12にて後述する。次に、ステップ904で、算出した評価値sumが所定値以下か否かを判断し、所定値以下であればステップ907へ、所定値より大きければステップ905へジャンプする。   In step 903, an evaluation value sum for the current color correction parameter is calculated. Details thereof will be described later with reference to FIG. Next, in step 904, it is determined whether or not the calculated evaluation value sum is equal to or smaller than a predetermined value. If it is equal to or smaller than the predetermined value, the process jumps to step 907, and if larger than the predetermined value, the process jumps to step 905.

ステップ905では、ステップ906からステップ904のループ演算を回った回数を取得し、この回数が所定回数より以上であればステップ907へ、そうでなければステップ906ジャンプする。   In step 905, the number of times that the loop calculation from step 906 to step 904 has been performed is acquired, and if this number is greater than the predetermined number, the process jumps to step 907;

ステップ906では、図14にて後述するアルゴリズムに基づいて色補正パラメータを更新する。ステップ907では、更新などによる現在の色補正パラメータをメモリに記憶して色補正パラメータ作成処理を終了する。   In step 906, the color correction parameter is updated based on an algorithm described later with reference to FIG. In step 907, the current color correction parameter by update or the like is stored in the memory, and the color correction parameter creation process is terminated.

図10は、上記ステップ902におけるCMYK空間における目標色再現の生成処理を示すフローチャートである。   FIG. 10 is a flowchart showing the target color reproduction generation process in the CMYK space in step 902.

図10において、先ず、ステップ1401で、メモリ領域確保等の初期化を行う。次に、ステップ1402で、PrivateRGB値ごとのそれぞれの色補正モードに対応したL値の組からなる、RGB空間で定義された目標色再現情報をメモリより読み込む。 In FIG. 10, first, in step 1401, initialization such as securing a memory area is performed. Next, in step 1402, target color reproduction information defined in the RGB space, which is composed of a set of L * a * b * values corresponding to each color correction mode for each private RGB value, is read from the memory.

ステップ1403では、上記読み込んだ目標色再現情報から所定の順序でPrivateRGB値を一つ取得する。そして、ステップ1404では、所定の順序に従って、色補正モードを一つ選択する。   In step 1403, one private RGB value is obtained in a predetermined order from the read target color reproduction information. In step 1404, one color correction mode is selected according to a predetermined order.

ステップ1405では、取得したPrivateRGB値と選択した色補正モードの組に対応するL値、すなわち、選択された色補正モードにおいて取得されたPrivateRGB値が色再現目標となるL値を、上記読み込んだ目標色再現情報から取得する。また、これとともに、選択された色補正モードに基づいて図11に示すLUTを参照しucr値を取得する。また、対応する重みwも同時に取得する。そして、ステップ1406では、この取得したucr値とステップ1403で取得したPrivateRGB値を用いて、図5(a)に示す式によってcmyk値を算出する。さらに、ステップ1407では、ステップ1405で取得したL値と算出したcmyk値との組を、CMYK上で定義される色再現目標の一つの組として記憶する。すなわち、算出したcmyk値に対する色再現目標が、取得したL値となる。またさらに、取得した重みwならびに算出したucrも同時に対応付けて記憶する。ここで記憶した重みwおよびucr値は図12で後述する処理で用いる。 In step 1405, the L * a * b * value corresponding to the set of the acquired PrivateRGB value and the selected color correction mode, that is, the L * a that becomes the color reproduction target is the PrivateRGB value acquired in the selected color correction mode. * B * value is acquired from the read target color reproduction information. At the same time, the ucr value is acquired with reference to the LUT shown in FIG. 11 based on the selected color correction mode. Also, the corresponding weight w is acquired at the same time. In step 1406, a cmyk value is calculated by the equation shown in FIG. 5A using the acquired ucr value and the private RGB value acquired in step 1403. In step 1407, the set of the L * a * b * value acquired in step 1405 and the calculated cmyk value is stored as one set of color reproduction targets defined on CMYK. That is, the color reproduction target for the calculated cmyk value is the acquired L * a * b * value. Furthermore, the acquired weight w and the calculated ucr are stored in association with each other at the same time. The weights w and ucr values stored here are used in the processing described later in FIG.

以上のように、予め色補正モードとucr値を対応付けておき、これによって色補正モードに応じたucr値を用いて、RGBからcmykへの次元を増す色変換を行い、また、図12で後述されるように色変換パラメータ生成の評価値を求める際のL値の推定を行う。これにより、色補正モードに対応した適切な色変換パラメータを、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 step 1408, it is determined whether or not the processing in steps 1404 to 1407 has been performed for all the set color correction modes. If processing has been completed, the processing proceeds to step 1409 for processing for all color correction modes. If is not completed, the process jumps to step 1404.

ステップ1409では、RGB色空間で定義された目標色再現情報について、目標色再現が設定されているPrivateRGB値の総てについてステップ1403〜1408の処理を実行したか否かを判断し、総てについて実行を終了しているときはステップ1410へ、終了していないときはステップ1403へジャンプする。ステップ1410では、以上説明した処理によって生成した、CMYK色空間で定義される色再現目標をメモリに格納し、ステップ1411にて本処理を終了する。   In step 1409, for the target color reproduction information defined in the RGB color space, it is determined whether or not the processing in steps 1403 to 1408 has been executed for all the private RGB values for which the target color reproduction is set. When the execution is finished, the process jumps to step 1410, and when not finished, the process jumps to step 1403. In step 1410, the color reproduction target defined in the CMYK color space generated by the above-described processing is stored in the memory, and in step 1411 this processing ends.

図12は、図9に示したステップ903の評価値算出処理の詳細を示すフローチャートである。この処理では、i番目の色再現目標色に対する評価値fiと、このfiの総和による評価値sumとを算出する。   FIG. 12 is a flowchart showing details of the evaluation value calculation processing in step 903 shown in FIG. In this process, an evaluation value fi for the i-th color reproduction target color and an evaluation value sum based on the sum of the fi are calculated.

図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表色系の値を格納したものであり予め作成して用意してある。 In FIG. 12, first, in step 1001, the color correction parameters to be evaluated (mij and γi shown in FIGS. 5B and 5C) are acquired and set. Next, in step 1002, i, which is a variable indicating the number of loops, is set to 1 as an initialization operation. Also, the color estimation LUT necessary for color estimation in step 1006 is read. This LUT has a data structure as shown in FIG. 13B. When this data structure is schematically represented in the RGB color space, it is represented as shown in FIG. Since this configuration has the same format as the data structure shown in FIGS. 3A and 3B described in step 205 in FIG. 2, detailed description thereof will be omitted. This LUT stores the values of the L * a * b * color system obtained by measuring the private RGB values obtained by actually printing out the colors as patches, etc. Prepared.

次に、ステップ1003では、図10にて説明した処理で得られた、cmyk値とこのcmyk値で画像を印刷したときの色再現目標たるL値との対応の組みであるi番目の目標色再現情報をメモリから読み込む。 Next, in step 1003, the set of correspondence between the cmyk value obtained by the processing described with reference to FIG. 10 and the L * a * b * value that is a color reproduction target when an image is printed with this cmyk value. The i-th target color reproduction information is read from the memory.

ステップ1004では、メモリから読み込んだ目標色再現情報から、cmykの値Corgと対応するLの値Drepとの対応関係を一対取得する。また、その取得した色に対する重みwも同時に取得する。次に、ステップ1005では、ステップ206で用いた式と同じ図5(b)、(c)の式を用い、cmyk値Corgをcmyk値Ccmpに変換する。そして、ステップ1006で、cmyk値Ccmpに対して、現在の処理に係る色再現目標に対応したucr値を用いて図5(d)に示す式の演算を行い、PrivateRGB値を算出する。そして、この算出したRGB値によって、ステップ1002で読み込んだ色推定用LUTを参照しL値Dcalを推定する。この推定には四面体補間を用いるものであり、図4に示した6つに分割された四面体領域について補間演算を行う。次に、ステップ1007では、目標色再現色の値であるL値Drepとステップ1006で得られた推定L値Dcalとの色差をCIEΔE94に従って算出し、これに重みwを乗算して評価値fiを求める。 In step 1004, a pair of correspondences between the Cmyk value Corg and the corresponding L * a * b * value Drep is obtained from the target color reproduction information read from the memory. Also, the weight w for the acquired color is acquired at the same time. Next, in step 1005, the cmyk value Corg is converted into the cmyk value Ccmp using the same equations in FIGS. 5B and 5C as the equation used in step 206. In step 1006, a private RGB value is calculated by performing the calculation of the equation shown in FIG. 5D using the ucr value corresponding to the color reproduction target for the current process with respect to the cmyk value Ccmp. The L * a * b * value Dcal is estimated by referring to the color estimation LUT read in step 1002 based on the calculated RGB values. For this estimation, tetrahedral interpolation is used, and interpolation calculation is performed for the tetrahedral region divided into six shown in FIG. Next, in step 1007, the color difference between the L * a * b * value Drep, which is the value of the target color reproduction color, and the estimated L * a * b * value Dcal obtained in step 1006 is calculated according to CIEΔE94. An evaluation value fi is obtained by multiplying the weight w.

ステップ1008では、目標色再現情報の総てのcmyk値CorgとLの値Drepとの対応関係について、ステップ1004から1007までの処理を施したか否かを判断し、施したのであればステップ1009へ、未だ総てに施していないときはループ回数を示す変数iに1を加算した後、ステップ1004へジャンプする。 In step 1008, it is determined whether or not the processing from steps 1004 to 1007 has been performed on the correspondence relationship between all the cmyk values Corg of the target color reproduction information and the value Drep of L * a * b * . If there is, the process goes to step 1009. If not yet applied, 1 is added to the variable i indicating the number of loops, and the process jumps to step 1004.

ステップ1009では、評価値fiの総和である評価値sumを求め、ステップ1010で評価値算出処理の終了動作を行う。   In step 1009, an evaluation value sum, which is the sum of the evaluation values fi, is obtained. In step 1010, the evaluation value calculation process ends.

図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 step 906 of FIG. In this processing, the D.D. L. S. The color correction parameter is updated based on the method (damped least square method). In the following description, matrix elements mij and γ conversion coefficients γi, which are color correction parameters, are arranged in a line and treated as a vector x, and each element of the color correction parameter is represented by a vector element xk (k = 0 to l). Further, a change amount to be updated of the color correction parameter k-th parameter xk is represented by Δxk.

図14において、先ず、ステップ1201では、更新すべき色補正パラメータ、これに基づく目標色再現情報総ての評価値、評価値空間と列ベクトルxのgradientを計算する際に必要な微小変動幅、ダンピングファクタ(ρ)を取得し、設定する。ダンピングファクタは次に示す式5で定義されるものである。   In FIG. 14, first, in step 1201, the color correction parameter to be updated, the evaluation values of all target color reproduction information based on this, the minute fluctuation width necessary for calculating the evaluation value space and the gradient of the column vector x, Obtain and set the damping factor (ρ). The damping factor is defined by the following formula 5.

Figure 2006303918
Figure 2006303918

次に、ステップ1202では、更新すべき色補正パラメータの各要素を次に示す式2によってベクトル要素xiに変換してベクトルxを設定する。   Next, in step 1202, each element of the color correction parameter to be updated is converted into a vector element xi according to the following expression 2, and a vector x is set.

Figure 2006303918
Figure 2006303918

ここで、本ステップのときに存在する列ベクトル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 step 1203, the minute fluctuation width set in step 1201 is added to the l-th parameter xl of the column vector x to change it. Next, in step 1204, an evaluation value is calculated for the column vector x changed in step 1203 using the process described in FIG. In step 1205, the column vector x changed in step 1203 is restored as the initial value of the vector. Further, in step 1206, the initial evaluation value and the fluctuation range of all the target color reproduction information set in step 1201 and the evaluation value after change calculated in step 1204 are used, and the evaluation is performed based on the following Expression 3. Compute the gradient of the value space and column vector x.

Figure 2006303918
Figure 2006303918

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 step 1207, it is determined whether or not the processing from step 1203 to step 1206 has been performed on all the parameters of the column vector x. If so, the process proceeds to step 1208. If not, the loop count is set. After adding 1 to the indicated variable i, the process jumps to step 1203.

ステップ1208では、ステップ1201にて設定したダンピングファクタおよび初期評価値と、ステップ1206にて算出したgradientについてD.L.S.法を適用し、次に示す式4から列ベクトルxのパラメータであるxiの変動量Δxiを算出する。   In step 1208, the damping factor and initial evaluation value set in step 1201 and the gradient calculated in step 1206 are set to D.E. L. S. By applying the method, a variation amount Δxi of xi that is a parameter of the column vector x is calculated from Equation 4 below.

Figure 2006303918
Figure 2006303918

ステップ1209では、次の式5、式6によって色補正パラメータを更新する。   In step 1209, the color correction parameters are updated by the following formulas 5 and 6.

Figure 2006303918
Figure 2006303918

Figure 2006303918
Figure 2006303918

最後に、ステップ1210で、色処理パラメータ更新処理の終了動作を行う。   Finally, in step 1210, an end operation of the color processing parameter update process is performed.

なお、本発明では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.

本発明の一実施形態に係る画像処理装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an image processing apparatus according to an embodiment of the present invention. 本発明の一実施に係るプリンタドライバによる画像出力処理を示すフローチャート図である。It is a flowchart figure which shows the image output process by the printer driver which concerns on one implementation of this invention. (a)RGBは色空間での格子点配置を表す模式図であり、(b)はLUTのデータ構造を表す図である。(A) RGB is a schematic diagram showing a grid point arrangement in a color space, and (b) is a diagram showing a data structure of an LUT. LUTを用いた四面体補間における領域分割を説明する模式図である。It is a schematic diagram explaining the area division | segmentation in the tetrahedral interpolation using LUT. (a)〜(d)は、本発明の一実施形態に係る色補正変換の演算式を示す図である。(A)-(d) is a figure which shows the computing equation of the color correction conversion which concerns on one Embodiment of this invention. 本発明の一実施形態に係る色補正パラメータ作成アプリケーションのユーザインタフェースを示す図である。It is a figure which shows the user interface of the color correction parameter creation application which concerns on one Embodiment of this invention. (a)は、上記色補正パラメータ作成における追加のためのユーザインタフェース、(b)は再現色指定のためのユーザインタフェースを示す図である。(A) is a diagram showing a user interface for addition in creating the color correction parameter, and (b) is a diagram showing a user interface for designating reproduction colors. 上記色補正パラメータ作成アプリケーションの動作を示す状態図である。It is a state figure showing operation of the above-mentioned color correction parameter creation application. 上記色補正パラメータ作成における色補正パラメータ算出処理を示すフローチャート図である。It is a flowchart figure which shows the color correction parameter calculation process in the said color correction parameter preparation. 図9のステップ902に示すCMYK空間における目標色再現の生成処理を示すフローチャートである。10 is a flowchart showing target color reproduction generation processing in the CMYK space shown in step 902 of FIG. 9. 本発明の一実施形態に係る色補正モードとucr値との対応を示すテーブルを示す図である。It is a figure which shows the table which shows a response | compatibility with the color correction mode and ucr value which concern on one Embodiment of this invention. 上記色補正パラメータ作成における評価値算出の処理を示すフローチャート図である。It is a flowchart figure which shows the process of evaluation value calculation in the said color correction parameter preparation. (a)はRGB色空間での格子点配置を表す模式図であり、(b)はLUTのデータ構造を表す図である。(A) is a schematic diagram showing a grid point arrangement in the RGB color space, and (b) is a diagram showing a data structure of the LUT. 上記色補正パラメータ作成における、DLS法を用いた色補正パラメータ更新処理を示すフローチャート図である。It is a flowchart figure which shows the color correction parameter update process using DLS method in the said color correction parameter preparation.

符号の説明Explanation of symbols

101 CPU
102 メインメモリ
105 HDD
107 カラーモニタ
109 カラープリンタ
111 キーボード
112 マウス
101 CPU
102 Main memory 105 HDD
107 Color Monitor 109 Color Printer 111 Keyboard 112 Mouse

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:
前記次元を増す前の色信号の表色系はRGB表色系またはCMYK表色系であり、前記次元を増した後の表色系はCMYK表色系またはRGBW表色系であり、前記変換パラメータは、UCR処理のパラメータであることを特徴とする請求項1または2に記載の画像処理装置。   The color signal color system before increasing the dimension is an RGB color system or a CMYK color system, and the color system after increasing the dimension is a CMYK color system or an RGBW color system. The image processing apparatus according to claim 1, wherein the parameter is a UCR processing parameter. 色信号に対して補正を行う色補正変換であって、当該色信号の次元を増した色信号に変換した後、該次元を増した色信号に対して色補正パラメータを用いて補正を行い、その後元の次元の色信号に戻す色補正変換を行うための画像処理方法であって、
前記色信号の次元を増す変換に用いられる変換パラメータを、色補正変換の補正内容が異なる複数の色補正モードごとに用意し、
設定されている色補正モードを取得し、
該取得した色補正モードに対応した変換パラメータを前記用意した変換パラメータから取得し、
該取得した変換パラメータを用いて前記色信号の次元を増す変換を行い、該次元を増した色信号に対して色補正パラメータを用いて補正を行い、その後元の次元の色信号に戻す色補正変換を行う、ステップを有し、
前記色補正パラメータは、前記変換パラメータを用いた変換によって得られる色信号の所定の表色系で表されるそれぞれ目標色と推定色との色差を小さくするようにして得られることを特徴とする画像処理方法。
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.
前記次元を増す前の色信号の表色系はRGB表色系またはCMYK表色系であり、前記次元を増した後の表色系はCMYK表色系またはRGBW表色系であり、前記変換パラメータは、UCR処理のパラメータであることを特徴とする請求項4または5に記載の画像処理方法。   The color signal color system before increasing the dimension is an RGB color system or a CMYK color system, and the color system after increasing the dimension is a CMYK color system or an RGBW color system. 6. The image processing method according to claim 4, wherein the parameter is a UCR processing parameter. コンピュータを、色信号に対して補正を行う色補正変換であって、当該色信号の次元を増した色信号に変換した後、該次元を増した色信号に対して色補正パラメータを用いて補正を行い、その後元の次元の色信号に戻す色補正変換を行う画像処理装置として機能させるプログラムであって、該機能は、
前記色信号の次元を増す変換に用いられる変換パラメータを、色補正変換の補正内容が異なる複数の色補正モードごとに保持するパラメータ保持手段と、
設定されている色補正モードを取得する補正モード取得手段と、
該補正モード取得手段が取得した色補正モードに対応した変換パラメータを前記パラメータ保持手段から取得するパラメータ取得手段と、
該パラメータ取得手段が取得した変換パラメータを用いて前記色信号の次元を増す変換を行い、該次元を増した色信号に対して色補正パラメータを用いて補正を行い、その後元の次元の色信号に戻す色補正変換を行う変換手段と、を有し、
前記色補正パラメータは、前記変換パラメータを用いた変換によって得られる色信号の所定の表色系で表されるそれぞれ目標色と推定色との色差を小さくするようにして得られることを特徴とするプログラム。
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.
JP2005122815A 2005-04-20 2005-04-20 Image processing apparatus and image processing method Pending JP2006303918A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (2)

* Cited by examiner, † Cited by third party
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