JP5206428B2 - Color processing apparatus and program - Google Patents

Color processing apparatus and program Download PDF

Info

Publication number
JP5206428B2
JP5206428B2 JP2009003284A JP2009003284A JP5206428B2 JP 5206428 B2 JP5206428 B2 JP 5206428B2 JP 2009003284 A JP2009003284 A JP 2009003284A JP 2009003284 A JP2009003284 A JP 2009003284A JP 5206428 B2 JP5206428 B2 JP 5206428B2
Authority
JP
Japan
Prior art keywords
color
value
hue
color space
conversion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2009003284A
Other languages
Japanese (ja)
Other versions
JP2010161693A (en
Inventor
康成 岸本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2009003284A priority Critical patent/JP5206428B2/en
Publication of JP2010161693A publication Critical patent/JP2010161693A/en
Application granted granted Critical
Publication of JP5206428B2 publication Critical patent/JP5206428B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Description

本発明は色処理装置及び色処理プログラムに関する。   The present invention relates to a color processing apparatus and a color processing program.

カラープリンタやモニタ、印刷機、スキャナ等の画像入出力デバイスは色再現域(色域という)等の色再現特性が互いに異なっている。このため、各デバイス間で色を受け渡す場合には、色値入力側のデバイスの色域内に分布している色値を色値出力側のデバイスの色域内の色値に対応付ける色域変換(ガマット(Gamut)マッピングともいう)を含む色処理を行うことで、デバイス毎の色再現特性の相違を補正して色再現の整合をとる必要がある。   Image input / output devices such as a color printer, a monitor, a printing machine, and a scanner have different color reproduction characteristics such as a color reproduction gamut (referred to as a color gamut). For this reason, when passing colors between devices, color gamut conversion that associates the color values distributed in the color gamut of the device on the color value input side with the color values in the color gamut of the device on the color value output side ( By performing color processing including gamut mapping (gamut mapping), it is necessary to correct the difference in color reproduction characteristics for each device and match the color reproduction.

上記に関連して特許文献1には、モニタ用RGB画像データに対し、モニタの色域とプリンタの色域の差に応じた色圧縮(色域変換に相当) を行ってプリンタ用CMYK画像データへの変換を行うにあたり、モニタ用RGB画像データによる等色相ラインR、BがCIELAB色空間のab平面でループ状となることに起因して低下するグラデーションの再現性を改善するために、R,Gの色相値HR,HGとしてはモニタに表示される色の測色値から求まる色相値を、C,M,Yの色相値HC,HM,HYとしてはプリンタが印刷した色の測色値から求まる色相値を、Bの色相値HBとしてはユーザが指定した色相値を各々設定しておき、モニタ用RGBデータから色相値HR,HG,HB,HC,HM,HYを基準として色相値を決定する技術が開示されている。   In relation to the above, Patent Document 1 discloses CMYK image data for printers by performing color compression (corresponding to color gamut conversion) on the monitor RGB image data according to the difference between the color gamut of the monitor and the printer. In order to improve the reproducibility of gradation that is lowered due to the fact that the equi-hue lines R and B based on the monitor RGB image data are looped in the ab plane of the CIELAB color space, The hue values HR and HG of G are obtained from the colorimetric values of the colors displayed on the monitor, and the hue values HC, HM and HY of C, M and Y are obtained from the colorimetric values of the colors printed by the printer. The hue value to be obtained is set as the B hue value HB by the user-specified hue value, and the hue value is determined from the monitor RGB data based on the hue values HR, HG, HB, HC, HM, and HY. Technology to be disclosed There.

また特許文献2には、特に色再現を制御したい代表色としてRGB色空間における最大彩度色(例えばR,G,B,C,M,Y)を設定し、設定した代表色の色値JChを演算すると共に、代表色に対応する対応色(出力デバイスの色域上の色)を決定し、代表色と黒を結ぶ等色相ラインに対し、明度が変化するにつれ色相を代表色の色相から対応色の色相へ連続的に変化させる色相補正テーブルを設定し、色相補正テーブルを参照して入力信号の色相を補正し、補正後の入力信号に対して色域変換を行う技術が開示されている。
特開2004−147309号公報 特開2008−011293号公報
Further, in Patent Document 2, a maximum saturation color (for example, R, G, B, C, M, Y) in the RGB color space is set as a representative color for which color reproduction is particularly desired to be controlled, and the color value JCh of the set representative color is set. The corresponding color (color in the gamut of the output device) corresponding to the representative color is determined, and the hue is changed from the hue of the representative color as the brightness changes for the equi-hue line connecting the representative color and black. A technique is disclosed in which a hue correction table that continuously changes to the hue of the corresponding color is set, the hue of the input signal is corrected with reference to the hue correction table, and the gamut conversion is performed on the corrected input signal. Yes.
JP 2004-147309 A JP 2008-011293 A

本発明は、入力色値の等色相線がデバイス非依存色空間上で湾曲していることに起因する色相の変動が色域変換に伴って顕著に表れることを抑制することが可能な色処理装置及び色処理プログラムを得ることが目的である。   The present invention provides a color processing capable of suppressing a hue variation caused by a uniform hue line of an input color value being curved in a device-independent color space, as a result of color gamut conversion. The object is to obtain an apparatus and a color processing program.

上記目的を達成するために請求項1記載の発明に係る色処理装置は、任意の色相を表すデバイス依存色空間上の色相値と、同一の色相を表すデバイス非依存色空間上の色相値と、を対応付ける色相値情報を記憶する記憶手段と、前記デバイス依存色空間上の第1色値を前記デバイス非依存色空間上の第2色値へ変換すると共に、前記記憶手段に記憶されている前記色相値情報に基づき、前記第1色値が表す前記デバイス依存色空間上の色相値から前記デバイス非依存色空間上の対応する色相値を求め、前記第2色値が表す色相値を前記求めた色相値に近づくように補正する色値変換手段と、前記色値変換手段による処理を経た第2色値に対し、前記デバイス非依存色空間上で色域変換を行う色域変換手段と、を含んで構成され、前記色値変換手段は、前記デバイス依存色空間上の複数の第1色値を前記デバイス非依存色空間上の第2色値へ各々変換すると共に、当該変換によって得られた複数の第2色値のうち、対応する前記第1色値が表す前記デバイス依存色空間上の色相値と、前記デバイス非依存色空間上の対応する色相値との色相差が予め定められた閾値よりも大きい第2色値に対してのみ、当該第2色値が表す色相値を前記色相差が前記閾値以下となるように補正するIn order to achieve the above object, a color processing apparatus according to a first aspect of the present invention includes a hue value in a device-dependent color space that represents an arbitrary hue, and a hue value in a device-independent color space that represents the same hue. , And a storage means for storing hue value information, and a first color value on the device-dependent color space is converted into a second color value on the device-independent color space, and is stored in the storage means. Based on the hue value information, a corresponding hue value on the device-independent color space is obtained from a hue value on the device-dependent color space represented by the first color value, and the hue value represented by the second color value is determined as the hue value. A color value conversion unit that corrects the hue value so as to approach the calculated hue value; and a color gamut conversion unit that performs color gamut conversion on the device-independent color space for the second color value that has undergone processing by the color value conversion unit; the configured Nde contains the color value conversion The stage converts each of a plurality of first color values on the device-dependent color space to a second color value on the device-independent color space, and among the plurality of second color values obtained by the conversion, The second color value in which the hue difference between the hue value on the device-dependent color space represented by the corresponding first color value and the corresponding hue value on the device-independent color space is larger than a predetermined threshold value Only for that, the hue value represented by the second color value is corrected so that the hue difference is equal to or less than the threshold value .

請求項記載の発明は、請求項1記載の発明において、前記記憶手段は、前記色相値情報として、前記デバイス依存色空間上における所定のデバイスの色域外郭上に位置しかつ色相が互いに異なる複数の色値が表す個々の色相について、前記デバイス依存色空間上の色相値と前記デバイス非依存色空間上の色相値とを各々対応付ける前記色相値情報を記憶する。 According to a second aspect of the invention, in the invention according to the first SL placement, the storage unit, as the hue value information, located on color gamut boundary of the predetermined device in the device dependent color space and the hue mutually For each hue represented by a plurality of different color values, the hue value information that associates the hue value on the device-dependent color space with the hue value on the device-independent color space is stored.

請求項記載の発明は、請求項1又は請求項2記載の発明において、任意の色相を表すデバイス依存色空間上の色値から、少なくとも前記デバイス非依存色空間上の色相値を演算し、前記デバイス依存色空間上の色相値と前記デバイス非依存色空間上の色相値とを対応付ける処理を、互いに異なる複数の色相について各々行うことで前記色相値情報を生成し、生成した色相値情報を前記記憶手段に記憶させる生成手段を更に備えている。 According to a third aspect of the invention of claim 1 or claim 2 Symbol placement, from the color values of the device-dependent color space representing any color, it calculates the hue value of at least said device-independent color space The hue value information is generated by performing processing for associating the hue value on the device-dependent color space with the hue value on the device-independent color space for each of a plurality of different hues, and the generated hue value information Is further included in the storage means.

請求項記載の発明は、請求項1〜請求項の何れかに記載の発明において、前記デバイス依存色空間上の色値は色相を直接表すパラメータを含まない色値であり、前記色値変換手段又は前記生成手段は、前記デバイス依存色空間上の色値から、色相を直接表すパラメータを含む別の色空間の色値における前記パラメータの値を算出し、算出した前記パラメータの値を、前記デバイス依存色空間上の色値が表す前記デバイス依存色空間上の色相値として用いる。 According to a fourth aspect of the present invention, in the invention according to any one of the first to third aspects, the color value in the device-dependent color space is a color value not including a parameter that directly represents a hue, and the color value The conversion unit or the generation unit calculates the value of the parameter in a color value of another color space including a parameter directly representing a hue from the color value on the device-dependent color space, and calculates the value of the calculated parameter. It is used as a hue value on the device-dependent color space represented by a color value on the device-dependent color space.

請求項記載の発明は、請求項1〜請求項の何れかに記載の発明において、前記デバイス非依存色空間は、色の見えモデルCIECAM02によって規定されるCAM色空間である。 According to a fifth aspect of the present invention, in the invention according to any one of the first to fourth aspects, the device-independent color space is a CAM color space defined by a color appearance model CIECAM02.

請求項記載の発明に係る色処理プログラムは、任意の色相を表すデバイス依存色空間上の色相値と、同一の色相を表すデバイス非依存色空間上の色相値と、を対応付ける色相値情報を記憶する記憶手段と接続されたコンピュータを、前記デバイス依存色空間上の第1色値を前記デバイス非依存色空間上の第2色値へ変換すると共に、前記記憶手段に記憶されている前記色相値情報に基づき、前記第1色値が表す前記デバイス依存色空間上の色相値から前記デバイス非依存色空間上の対応する色相値を求め、前記第2色値が表す色相値を前記求めた色相値に近づくように補正する色値変換手段、及び、前記色値変換手段による処理を経た第2色値に対し、前記デバイス非依存色空間上で色域変換を行う色域変換手段として機能させるための色処理プログラムであって、前記色値変換手段は、前記デバイス依存色空間上の複数の第1色値を前記デバイス非依存色空間上の第2色値へ各々変換すると共に、当該変換によって得られた複数の第2色値のうち、対応する前記第1色値が表す前記デバイス依存色空間上の色相値と、前記デバイス非依存色空間上の対応する色相値との色相差が予め定められた閾値よりも大きい第2色値に対してのみ、当該第2色値が表す色相値を前記色相差が前記閾値以下となるように補正するAccording to a sixth aspect of the present invention, there is provided a color processing program comprising: hue value information that associates a hue value in a device-dependent color space that represents an arbitrary hue with a hue value in a device-independent color space that represents the same hue. A computer connected to storage means for converting the first color value on the device-dependent color space into a second color value on the device-independent color space, and the hue stored in the storage means; Based on the value information, the corresponding hue value in the device-independent color space is obtained from the hue value in the device-dependent color space represented by the first color value, and the hue value represented by the second color value is obtained. A color value conversion unit that corrects the hue value so as to approach the hue value, and a color gamut conversion unit that performs gamut conversion on the device-independent color space for the second color value that has been processed by the color value conversion unit color to make The color value conversion means converts each of the plurality of first color values on the device-dependent color space into second color values on the device-independent color space, and is obtained by the conversion. Among the plurality of second color values, a hue difference between a hue value on the device-dependent color space represented by the corresponding first color value and a corresponding hue value on the device-independent color space is determined in advance. Only for the second color value larger than the threshold value, the hue value represented by the second color value is corrected so that the hue difference is equal to or less than the threshold value .

請求項1、記載の発明は、本構成を有しない場合と比較して、入力色値の等色相線がデバイス非依存色空間上で湾曲していることに起因する色相の変動が色域変換に伴って顕著に表れることを抑制することが可能となる、という効果を有する。また、請求項1、6記載の発明は、本構成を有しない場合と比較して、出力色が入力色に近似する、という効果を有する。 According to the first and sixth aspects of the present invention, the hue variation caused by the fact that the uniform hue line of the input color value is curved in the device-independent color space is compared with the case where the present configuration is not provided. It has an effect that it becomes possible to suppress the occurrence of remarkable appearance with the conversion. Further, the inventions according to claims 1 and 6 have an effect that the output color approximates the input color as compared with the case without this configuration.

請求項記載の発明は、本構成を有しない場合と比較して、複数の色相について、入力色値の等色相線がデバイス非依存色空間上で湾曲していることに起因する色相の変動が色域変換に伴って顕著に表れることを抑制することが可能となる、という効果を有する。 According to the second aspect of the present invention, as compared with the case where the present configuration is not provided, for a plurality of hues, variation in hue caused by the equal hue lines of input color values being curved in a device-independent color space Has an effect that it becomes possible to suppress the occurrence of a significant increase in color gamut conversion.

請求項記載の発明は、本構成を有しない場合と比較して、色相値情報が記憶手段に事前に記憶されていない場合にも本発明を適用することができる、という効果を有する。 The invention according to claim 3 has an effect that the present invention can be applied even when the hue value information is not stored in the storage means in advance, compared with the case where the present configuration is not provided.

請求項記載の発明は、本構成を有しない場合と比較して、デバイス依存色空間上の色値は色相を直接表すパラメータを含まない色値である場合にも本発明を適用できる、という効果を有する。 According to the fourth aspect of the present invention, the present invention can be applied even when the color value in the device-dependent color space is a color value that does not include a parameter that directly represents the hue, as compared with the case without the present configuration. Has an effect.

請求項記載の発明は、本構成を有しない場合と比較して、入力色値の等色相線がデバイス非依存色空間上で湾曲していることに起因する色相の変動が色域変換に伴って顕著に表れることを抑制する精度を向上させることができる、という効果を有する。 According to the fifth aspect of the present invention, compared to the case where the present configuration is not provided, the hue variation caused by the equal hue line of the input color value being curved in the device-independent color space is caused by the color gamut conversion. Accordingly, there is an effect that it is possible to improve the accuracy of suppressing the remarkable appearance.

以下、図面を参照して本発明の実施形態の一例を詳細に説明する。   Hereinafter, an example of an embodiment of the present invention will be described in detail with reference to the drawings.

〔第1実施形態〕
図1には本実施形態に係るコンピュータ・システム10の概略構成が示されている。コンピュータ・システム10は、LAN等から成るネットワーク12に、PC(Personal Computer:パーソナル・コンピュータ)等から成る複数台のクライアント端末14と、コンピュータ・システム10に画像(データ)を入力する入力デバイス16と、コンピュータ・システム10から入力された画像データを画像として可視化する出力デバイス18が各々接続されて構成されている。なお、入力デバイス16としては、例えば原稿を読み取って画像データを出力するスキャナが、出力デバイス18としては、例えば入力された画像データが表す画像を用紙へ印刷する画像形成装置(プリンタ、或いはプリンタに複写機やファクシミリ装置としての機能も付加された複合機)が挙げられる。なお、ネットワーク12はインターネット等のコンピュータ・ネットワークにも接続されていてもよい。
[First Embodiment]
FIG. 1 shows a schematic configuration of a computer system 10 according to the present embodiment. The computer system 10 includes a network 12 including a LAN, a plurality of client terminals 14 including PCs (Personal Computers) and the like, and an input device 16 that inputs images (data) to the computer system 10. The output devices 18 for visualizing the image data input from the computer system 10 as images are connected to each other. The input device 16 is, for example, a scanner that reads a document and outputs image data. The output device 18 is, for example, an image forming apparatus (printer or printer) that prints an image represented by input image data on a sheet. And a multifunction machine to which a function as a copying machine or a facsimile machine is added). The network 12 may also be connected to a computer network such as the Internet.

ネットワーク12に接続された個々のクライアント端末14は、CPU14A、RAM等から成るメモリ14B、HDD(Hard Disk Drive)やフラッシュメモリ等から成る不揮発性の記憶部14C、ネットワークインタフェース(I/F)部14Dを備えており、ネットワークI/F部14Dを介してネットワーク12に接続されている。また、クライアント端末14には、出力デバイスの1つである表示装置20、入力手段としてのキーボード22及びマウス24が各々接続されている。なお、スキャナ等の入力デバイス16や画像形成装置等の他の出力デバイス18についても、表示装置20と同様にクライアント端末14に直接接続されていてもよい。例えば入力デバイス16としてはスキャナ以外にデジタルスチルカメラ等が挙げられるが、デジタルスチルカメラ等はクライアント端末14に直接接続される。   Each client terminal 14 connected to the network 12 includes a CPU 14A, a memory 14B including a RAM, a non-volatile storage unit 14C including an HDD (Hard Disk Drive) and a flash memory, and a network interface (I / F) unit 14D. And is connected to the network 12 via the network I / F unit 14D. The client terminal 14 is connected with a display device 20 as one of output devices, a keyboard 22 and a mouse 24 as input means. Note that the input device 16 such as a scanner and the other output device 18 such as an image forming apparatus may be directly connected to the client terminal 14 as in the display device 20. For example, the input device 16 may be a digital still camera or the like in addition to the scanner, but the digital still camera or the like is directly connected to the client terminal 14.

また、クライアント端末14の記憶部14Cには、OS(Operating System)のプログラム、OS上で動作し入力デバイス16や出力デバイス18を使用する各種のアプリケーション・プログラム、クライアント端末14で次に述べる色変換処理を行うための色変換プログラムが予め各々インストールされており、色変換処理で使用するプロファイル等の色変換条件を登録可能な色変換条件DB(データベース)、色予測モデルのプログラム及びベースデータも各々記憶されている。   The storage unit 14C of the client terminal 14 includes an OS (Operating System) program, various application programs that operate on the OS and use the input device 16 and the output device 18, and color conversion described below on the client terminal 14. A color conversion program for performing processing is installed in advance, and a color conversion condition DB (database) capable of registering color conversion conditions such as a profile used in the color conversion processing, a color prediction model program, and base data are also provided. It is remembered.

次に本実施形態の作用を説明する。本実施形態に係るクライアント端末14には、或る入力デバイス16から入力された画像データや、或る出力デバイス18における画像の出力に用いた画像データを、別のデバイス(出力デバイス18)における画像の出力に用いる場合に、異なるデバイスで再現、或いは取り込まれる画像の色の見えの差を補正する色変換処理を行うために、図2に示す色変換処理部が設けられている。   Next, the operation of this embodiment will be described. In the client terminal 14 according to the present embodiment, image data input from a certain input device 16 or image data used for outputting an image in a certain output device 18 is converted into an image in another device (output device 18). 2 is provided in order to perform color conversion processing for correcting the difference in color appearance of images reproduced or captured by different devices.

図2に示すように、本実施形態に係る色変換処理部は、第1色変換における色変換条件を生成する第1色変換条件生成部と、色域変換における変換条件を生成する色域変換条件生成部と、第2色変換における色変換条件を生成する第2色変換条件生成部と、第1色変換条件生成部が色変換条件を生成する際に参照される色相制御テーブルを生成する色相制御テーブル生成部と、入力された画像データに対して色変換処理を行う色変換処理部と、から構成されている。また、第1色変換条件生成部は、より詳しくは、デバイス依存色相算出部、デバイス非依存色相算出部、デバイス非依存色値算出部及び色相補正部から構成されており、色相制御テーブル生成部は、より詳しくは、デバイス依存色相算出部、デバイス非依存色相算出部及びテーブル生成部から構成されている。   As illustrated in FIG. 2, the color conversion processing unit according to the present embodiment includes a first color conversion condition generation unit that generates a color conversion condition in the first color conversion, and a color gamut conversion that generates a conversion condition in the color gamut conversion. A condition generation unit, a second color conversion condition generation unit that generates a color conversion condition in the second color conversion, and a hue control table that is referred to when the first color conversion condition generation unit generates a color conversion condition A hue control table generation unit and a color conversion processing unit that performs color conversion processing on input image data are configured. More specifically, the first color conversion condition generation unit includes a device-dependent hue calculation unit, a device-independent hue calculation unit, a device-independent color value calculation unit, and a hue correction unit, and a hue control table generation unit More specifically, it includes a device-dependent hue calculation unit, a device-independent hue calculation unit, and a table generation unit.

色変換処理部は単色毎に補正するための階調カーブ(TRCやガンマ補正など)やCLUT(カラールックアップテーブル)から成り、この色変換処理部には、色変換処理対象の画像データとして、当該画像データの個々の画素の色を特定の第1デバイス(装置)に依存する色空間(第1デバイス依存色空間)上の色値で表す色信号データが入力される。なお、色変換処理対象の色信号データは第1デバイスからクライアント端末14へ入力されるが、例えば第1デバイスがスキャナやデジタルスチルカメラ、表示装置20等である場合、色変換処理対象の色信号データは第1デバイス依存色空間としてのRGB色空間又はsRGB色空間上の色値が入力される。色変換処理部のCLUTには、入出力デバイスに応じて第1色変換、色域変換及び第2色変換を実現する色変換条件(色変換係数)がセットされ、当該色変換条件(色変換係数)に従って入力された色信号データが変換されることで、前述の色変換処理が実現される。なお、色域変換条件生成部は、この色域変換条件生成部で生成された色域変換の変換条件に従って実際に色域変換を行う色変換処理部と共に、本発明に係る色域変換手段に対応している。   The color conversion processing unit is composed of gradation curves (TRC, gamma correction, etc.) for correcting each single color and CLUT (color look-up table), and this color conversion processing unit contains image data to be subjected to color conversion processing as Color signal data representing the color of each pixel of the image data as color values on a color space (first device-dependent color space) depending on a specific first device (apparatus) is input. Note that the color signal data to be subjected to color conversion processing is input from the first device to the client terminal 14. For example, when the first device is a scanner, a digital still camera, the display device 20, or the like, the color signal to be subjected to color conversion processing. As data, color values in the RGB color space or sRGB color space as the first device-dependent color space are input. A color conversion condition (color conversion coefficient) for realizing the first color conversion, the color gamut conversion, and the second color conversion is set in the CLUT of the color conversion processing unit according to the input / output device. The color conversion process described above is realized by converting the input color signal data according to the coefficient. Note that the color gamut conversion condition generation unit, together with the color conversion processing unit that actually performs color gamut conversion in accordance with the conversion condition of the color gamut conversion generated by the color gamut conversion condition generation unit, includes the color gamut conversion unit according to the present invention. It corresponds.

以下、各変換処理について説明する。本実施形態に係る第1色変換は、第1デバイス依存色空間上の色値を、特定のデバイス(装置)に依存せず色域変換に適したデバイス非依存色空間上の色値へ変換する色変換である。なお、デバイス非依存色空間としては、観察条件の影響を排除した色の見えを表す色空間が好適であり、例えば色の見えモデルであるCIECAM02によって規定される色空間JChや、色空間JChから求まる色空間Jabがより好ましい。なお、色空間Jabの色属性値a,bは、色空間JChの色属性値C,hから生成したac,bcに相当し、色相及び彩度と相互に変換可能な特徴を有している。また、色の見えモデルCIECAM02に代えて色の見えモデルCIECAM97s等を用いてもよい。   Hereinafter, each conversion process will be described. The first color conversion according to the present embodiment converts color values in the first device-dependent color space into color values in a device-independent color space suitable for color gamut conversion without depending on a specific device (apparatus). Color conversion. As the device-independent color space, a color space that represents the appearance of a color excluding the influence of viewing conditions is suitable. For example, the color space JCh defined by CIECAM02, which is a color appearance model, and the color space JCh The obtained color space Jab is more preferable. Note that the color attribute values a and b of the color space Jab correspond to ac and bc generated from the color attribute values C and h of the color space JCh, and have characteristics that can be converted into hue and saturation. . Further, the color appearance model CIECAM97s may be used instead of the color appearance model CIECAM02.

第1色変換条件生成部には、第1デバイス依存色空間上に設定した多数の格子点の各々の色値(第1デバイス依存色空間上の色値)が格子点データとして入力され、第1色変換条件生成部は、入力された格子点データが表す各格子点の色値(第1デバイス依存色空間上の色値)をデバイス非依存色空間上の色値(色変換係数)へ各々変換することで、第1色変換における色変換条件を生成する。なお、ここでいう第1色変換の色変換条件は、第1色変換条件生成部に入力された各格子点の第1デバイス依存色空間上での色値を入力値、変換によって得られた色変換係数(各格子点の第1のデバイス非依存色空間上の色値)を出力値とし、前記入力値を前記出力値へ変換する変換条件を意味している。   The first color conversion condition generation unit receives the color values of each of a large number of grid points set on the first device-dependent color space (color values on the first device-dependent color space) as grid point data. The one-color conversion condition generation unit converts the color value (color value in the first device-dependent color space) of each lattice point represented by the input lattice point data into the color value (color conversion coefficient) in the device-independent color space. By converting each, a color conversion condition in the first color conversion is generated. The color conversion condition of the first color conversion here is obtained by converting the color value on the first device-dependent color space of each grid point input to the first color conversion condition generation unit into an input value and conversion. A color conversion coefficient (a color value in the first device-independent color space at each grid point) is used as an output value, which means a conversion condition for converting the input value into the output value.

なお、第1デバイス依存色空間とデバイス非依存色空間の組合せが、第1デバイス依存色空間上の色値をデバイス非依存色空間上の色値へ直接変換することができない組合せである場合(例えば第1デバイス依存色空間がRGB色空間やsRGB色空間で、デバイス非依存色空間が色空間JChや色空間Jabの場合)、第1色変換条件生成部は、第1デバイス依存色空間上の色値を特定のデバイスに依存しない別の色空間の色値へ一旦変換した後に、デバイス非依存色空間上の色値への再変換を行うことで、第1色変換における色変換条件を生成する。特定のデバイスに依存しない別の色空間としては、例えばCIELAB色空間やCIEXYZ色空間が好適である。また、実際の入出力デバイスの運用形態により、CIECAM02を利用する場合であっても、直接、CIECAM02の色順応モデルを利用してもよいが、色温度変換の仕組みは公知の色順応モデル(BFDやCAT02など)を利用してもよい。例えば、既存のICC profileに導入されているRGB(D65)からCIEXYZ(D50)、またはCIELAB(D50)への色変換を適用後、D50の観察条件を利用してCIECAM02色空間の色値を生成してもよい。これは要求される入出力デバイスの運用に応じて適切に選択することが望ましい。   When the combination of the first device-dependent color space and the device-independent color space is a combination that cannot directly convert the color value in the first device-dependent color space to the color value in the device-independent color space ( For example, when the first device-dependent color space is the RGB color space or the sRGB color space and the device-independent color space is the color space JCh or the color space Jab), the first color conversion condition generation unit is on the first device-dependent color space. The color value in the first color conversion is changed by once converting the color value of the color to a color value in another color space that does not depend on a specific device, and then re-converting it to a color value in a device-independent color space. Generate. As another color space that does not depend on a specific device, for example, the CIELAB color space and the CIEXYZ color space are suitable. In addition, even if CIECAM02 is used depending on the operation mode of the actual input / output device, the CIECAM02 chromatic adaptation model may be used directly, but the color temperature conversion mechanism is a known chromatic adaptation model (BFD). Or CAT02) may be used. For example, after applying the color conversion from RGB (D65) to CIEXYZ (D50) or CIELAB (D50) introduced in the existing ICC profile, the color value of the CIECAM02 color space is generated using the observation conditions of D50 May be. It is desirable to select this appropriately according to the required operation of the input / output device.

また、本実施形態に係る第1色変換条件生成部は、詳細は後述するが、上記の変換によって得られたデバイス非依存色空間上の色値に対し、色相制御テーブル生成部によって生成された色相制御テーブルを参照して色相を補正する色相補正処理も行う。   In addition, the first color conversion condition generation unit according to the present embodiment is generated by the hue control table generation unit for the color values in the device-independent color space obtained by the above conversion, as will be described in detail later. Hue correction processing for correcting the hue with reference to the hue control table is also performed.

また、本実施形態に係る色域変換は、第1色変換を経た色値を、デバイス毎の色の見えの差(この見えの差は、個々のデバイスの色再現域の相違に起因する)が補正されると共に、デバイス非依存色空間上での色値が、デバイス非依存色空間上での第2デバイスの色再現域内に収まるように変換する色域変換(ガマットマッピングともいう)である。色域変換条件生成部には、第1色変換条件生成部から出力された色変換係数(各格子点のデバイス非依存色空間上の色値)が入力され、色域変換条件生成部は、入力された色変換係数(各格子点のデバイス非依存色空間上の色値)を、所定の変換ルールに従ってデバイス非依存色空間上の新たな色値(色変換係数)へ各々変換することで、色域変換における変換条件を生成する。なお、ここでいう色域変換の変換条件は、色域変換条件生成部に入力された色変換係数を入力値、変換によって得られた新たな色変換係数(各格子点のデバイス非依存色空間上の新たな色値)を出力値とし、前記入力値を前記出力値へ変換する変換条件を意味している。   In addition, the color gamut conversion according to the present embodiment uses the color values that have undergone the first color conversion as the difference in color appearance for each device (this difference in appearance is caused by the difference in the color gamut of each device). Is corrected, and the color value in the device-independent color space is converted so as to fall within the color gamut of the second device in the device-independent color space (also called gamut mapping). . The color gamut conversion condition generation unit receives the color conversion coefficients (color values in the device-independent color space of each grid point) output from the first color conversion condition generation unit, and the color gamut conversion condition generation unit By converting the input color conversion coefficient (color value in the device-independent color space at each grid point) into a new color value (color conversion coefficient) in the device-independent color space according to a predetermined conversion rule. The conversion condition in the color gamut conversion is generated. Note that the color gamut conversion condition referred to here is a color conversion coefficient input to the color gamut conversion condition generation unit as an input value, and a new color conversion coefficient obtained by the conversion (device-independent color space at each grid point). The above new color value) is used as an output value, which means a conversion condition for converting the input value into the output value.

また、本実施形態に係る第2色変換は、色域変換を経たデバイス非依存色空間上の色値を、出力デバイス(第2デバイス)に依存する色空間(第2デバイス依存色空間:例えば第2デバイスが画像形成装置であればCMYK色空間)上の色値へ変換する色変換である。第2色変換条件生成部には、色域変換条件生成部から出力された色変換係数(各格子点のデバイス非依存色空間上の色値)が入力され、第2色変換条件生成部は、入力された色変換係数(各格子点のデバイス非依存色空間上の色値)を、第2デバイス依存色空間上の色値(色変換係数)へ各々変換することで、第2色変換における変換条件を生成する。なお、ここでいう第2色変換の色変換条件は、第2色変換条件生成部に入力された色変換係数を入力値、変換によって得られた色変換係数(各格子点の第2デバイス依存色空間上の色値)を出力値とし、前記入力値を前記出力値へ変換する変換条件を意味している。   In the second color conversion according to the present embodiment, the color value in the device-independent color space that has undergone the color gamut conversion is converted into a color space that depends on the output device (second device) (second device-dependent color space: for example, If the second device is an image forming apparatus, color conversion is performed for conversion to a color value on a CMYK color space. The second color conversion condition generation unit receives the color conversion coefficient (color value in the device-independent color space of each grid point) output from the color gamut conversion condition generation unit, and the second color conversion condition generation unit The second color conversion is performed by converting the input color conversion coefficients (color values in the device-independent color space of each grid point) into color values (color conversion coefficients) in the second device-dependent color space. Generate conversion conditions in. The color conversion condition of the second color conversion here is the color conversion coefficient input to the second color conversion condition generation unit as an input value, and the color conversion coefficient obtained by the conversion (depending on the second device of each grid point). This means a conversion condition for converting the input value into the output value using the color value in the color space as an output value.

なお、デバイス非依存色空間と第2デバイス依存色空間の組合せが、デバイス非依存色空間上の色値を第1デバイス依存色空間上の色値へ直接変換することができない組合せである場合(例えばデバイス非依存色空間が色空間JChや色空間Jabで、第2デバイス依存色空間がCMYK色空間の場合)、第2色変換条件生成部は、デバイス非依存色空間上の色値を別のデバイス非依存色空間の色値へ一旦変換した後に、第2デバイス依存色空間上の色値への再変換を行うことで、第2色変換における色変換条件を生成する。別のデバイス非依存色空間としては、例えばCIELAB色空間が好適である。   When the combination of the device-independent color space and the second device-dependent color space is a combination that cannot directly convert the color value in the device-independent color space to the color value in the first device-dependent color space ( For example, when the device-independent color space is the color space JCh or the color space Jab and the second device-dependent color space is the CMYK color space), the second color conversion condition generation unit separates the color values in the device-independent color space. The color conversion condition in the second color conversion is generated by once converting the color value to the device-independent color space and then performing the conversion again to the color value in the second device-dependent color space. As another device-independent color space, for example, the CIELAB color space is suitable.

また、第2色変換のうち、別のデバイス非依存色空間の色値から第2デバイス依存色空間の色値への色変換条件における色変換条件(色変換係数)は、例えば、色予測モデル(少数の入力色値と出力色値の対応関係を表すベースデータ(素データともいう)に基づいて、対応する出力色値が未知の入力色値が入力されると、入力された入力色値に対応する出力色値を各種のアルゴリズムによって推定演算して出力するプログラム)を用い、入力色値(第2デバイス依存色空間上の色値)が既知の各色のパッチ(色票)を第2デバイスによって作成し、作成した各色票について、出力色値(デバイス非依存色空間上の色値)を測色計等によって各々計測することで、各色票の入力色値と出力色値を対応付けるベースデータ(素データ)を生成し、生成したベースデータをセットした色予測モデルに、各格子点の色値を順に入力する処理を行うことで生成することができる。   In the second color conversion, the color conversion condition (color conversion coefficient) in the color conversion condition from the color value of another device-independent color space to the color value of the second device-dependent color space is, for example, a color prediction model (When input color values with unknown corresponding output color values are input based on base data (also referred to as raw data) indicating the correspondence between a small number of input color values and output color values, the input color values that are input A program that estimates and outputs the output color value corresponding to each algorithm using various algorithms), and the second color patch (color chart) of each color whose input color value (color value in the second device-dependent color space) is known. A base that associates the input color value and output color value of each color chart by measuring the output color values (color values in the device-independent color space) with a colorimeter etc. Generate data (elementary data) Based data forms a color prediction model set can be generated by performing a process of inputting the color values of each grid point in the order.

色変換処理部のCLUTには、当該CLUTによる色変換処理の変換条件を規定する入力値として、前述の格子点データが表す各格子点の色値(第1デバイス依存色空間上の色値)が、前記変換条件を規定する出力値として、第1色変換条件生成部、色域変換条件生成部及び第2色変換条件生成部における各処理を経て第2色変換条件生成部から出力された色変換係数(各格子点の第2デバイス依存色空間上の色値)が各々セットされる。そして色変換処理部は、入力された画像データ(各画素の色を第1デバイス依存色空間上の色値で表す画像データ)をCLUTに従って変換する。これにより、入力画像データに対して第1色変換、色域変換及び第2色変換を統合した変換が行われることで、入力画像データは、各画素の色を第2デバイス依存色空間上の色値で表す画像データへ変換され、変換後の画像データを第2デバイスへ出力し、第2デバイスにおける画像の出力に供することで、第2デバイスによって出力される画像の色の見えを第1デバイスと一致させることができる。   In the CLUT of the color conversion processing unit, the color value of each lattice point represented by the above-described lattice point data (color value in the first device-dependent color space) is used as an input value for defining the conversion condition of the color conversion processing by the CLUT. Are output from the second color conversion condition generation unit through the respective processes in the first color conversion condition generation unit, the color gamut conversion condition generation unit, and the second color conversion condition generation unit as output values that define the conversion conditions. Color conversion coefficients (color values in the second device-dependent color space at each grid point) are set. The color conversion processing unit converts the input image data (image data representing the color of each pixel with a color value in the first device-dependent color space) according to the CLUT. As a result, the input image data undergoes conversion that integrates the first color conversion, the color gamut conversion, and the second color conversion, so that the input image data changes the color of each pixel in the second device-dependent color space. The image data is converted into image data represented by color values, and the converted image data is output to the second device and used for outputting the image in the second device, so that the first color appearance of the image output by the second device is displayed. Can match with device.

なお、クライアント端末14の記憶部14Cにインストールされている色変換プログラムは、上述した色変換処理部の各機能ブロックを実現するための複数のプログラム(色相制御テーブル生成部として機能する色相制御テーブル生成プログラム、第1色変換条件生成部として機能する第1色変換条件生成プログラム、色域変換条件生成部として機能する色域変換条件生成プログラム、第2色変換条件生成部として機能する第2色変換条件生成プログラム、色変換処理部として機能する色変換処理プログラム)から構成されている。なお、図1では色変換プログラムをOSのプログラムと別に示しているが、色変換プログラムはOS標準のプログラムとしてOSのプログラムに含まれていてもよい。また、色変換プログラムは本発明に係る色処理プログラムに対応しており、CPU14Aが色変換プログラムを実行することで、クライアント端末14は本発明に係る色処理装置として機能する。   Note that the color conversion program installed in the storage unit 14C of the client terminal 14 includes a plurality of programs (a hue control table generation functioning as a hue control table generation unit) for realizing each functional block of the color conversion processing unit described above. Program, first color conversion condition generation program that functions as first color conversion condition generation unit, color gamut conversion condition generation program that functions as color gamut conversion condition generation unit, and second color conversion that functions as second color conversion condition generation unit A condition generation program, and a color conversion processing program functioning as a color conversion processing unit). 1 shows the color conversion program separately from the OS program, the color conversion program may be included in the OS program as an OS standard program. The color conversion program corresponds to the color processing program according to the present invention. When the CPU 14A executes the color conversion program, the client terminal 14 functions as the color processing apparatus according to the present invention.

次に、図3を参照して色相制御テーブル生成処理について説明する。なお、この色相制御テーブル生成処理は色相制御テーブル生成部に対応する処理であり、後述する第1色変換条件生成処理の実行に先立ち、クライアント端末14のCPU14Aによって色相制御テーブル生成プログラムが実行されることで実現される。また、色相制御テーブル生成処理(に対応する色相制御テーブル生成部)は請求項4に記載の生成手段に対応している。   Next, the hue control table generation process will be described with reference to FIG. This hue control table generation process is a process corresponding to the hue control table generation unit, and the hue control table generation program is executed by the CPU 14A of the client terminal 14 prior to the execution of the first color conversion condition generation process described later. This is realized. The hue control table generation process (corresponding to the hue control table generation unit) corresponds to the generation unit according to claim 4.

色相制御テーブル生成処理では、まずステップ50において、第1デバイス依存色空間における第1デバイスの色域外郭上に位置し、かつ互いに色相が異なる最大彩度点(CUSP点ともいう)の色値R,G,Bを複数抽出する。例えば第1デバイスが表示装置20であり、第1デバイス依存色空間がRGB色空間(或いはsRGB色空間)である場合、第1デバイス依存色空間上での第1デバイス(表示装置20)の色域外郭は、例として図4に示すように、第1デバイス依存色空間の原色を頂点として含む立方体状となり、色相毎の最大彩度点は、図4に「●」で示すように第1デバイスの色域外郭を表す立方体の頂点及び辺上に分布している。ステップ50では、図4に示す各点の色値R,G,Bを色相毎の最大彩度点の色値として各々抽出する。なお、図4では色値抽出対象の最大彩度点を第1デバイス依存色空間上でおよそ等間隔の点として示しているが、これに限られるものではなく、第1デバイス依存色空間上での色値抽出対象の最大彩度点の間隔は色相によって相違させるようにしてもよい。   In the hue control table generation process, first, in step 50, the color value R of the maximum saturation point (also referred to as CUSP point) located on the color gamut outline of the first device in the first device-dependent color space and having different hues. , G and B are extracted. For example, when the first device is the display device 20 and the first device-dependent color space is the RGB color space (or sRGB color space), the color of the first device (display device 20) on the first device-dependent color space. As shown in FIG. 4 as an example, the area outline has a cubic shape including the primary colors of the first device-dependent color space as vertices, and the maximum saturation point for each hue is the first as shown by “●” in FIG. Distributed on the vertices and sides of a cube that represents the color gamut outline of the device. In step 50, the color values R, G, B of each point shown in FIG. 4 are extracted as the color values of the maximum saturation point for each hue. In FIG. 4, the maximum saturation points from which color values are extracted are shown as approximately equally spaced points on the first device-dependent color space. However, the present invention is not limited to this, and the maximum saturation point is not limited to this. The interval between the maximum saturation points of the color value extraction target may be different depending on the hue.

ステップ52では、ステップ50で抽出した互いに色相が異なる複数の最大彩度点の色値の中から、未処理の単一の色値R,G,Bを処理対象として取り出す。次のステップ54では、ステップ52で取り出した処理対象の色値R,G,Bに基づき、該色値R,G,Bが表す色の第1デバイス依存色空間における色相(処理対象の色値R,G,Bのデバイス依存色相Hdev)を演算する。デバイス依存色相Hdevとしては、例えばRGB色空間に依存する色空間として知られているHSV色空間やHLS色空間を利用し、そのうちの色相Hをデバイス依存色相Hdevとして適用することができる。例えばHSV色空間を利用する場合、処理対象の色値R,G,BにおけるR,G,Bが、最小値を0.0、最大値を1.0とする0.0〜1.0の範囲内の値であるとすると、処理対象の色値R,G,Bが表す色のHSV色空間での色相Hは、処理対象の色値R,G,Bを次の(1)式に代入することで算出することができる。   In step 52, unprocessed single color values R, G, and B are extracted as processing targets from among the color values of the plurality of maximum saturation points having different hues extracted in step 50. In the next step 54, based on the color values R, G, B to be processed extracted in step 52, the hue (color value to be processed) of the color represented by the color values R, G, B in the first device-dependent color space. R, G, B device-dependent hue Hdev) is calculated. As the device-dependent hue Hdev, for example, an HSV color space or an HLS color space known as a color space depending on the RGB color space is used, and the hue H can be applied as the device-dependent hue Hdev. For example, when the HSV color space is used, it is assumed that R, G, B in the color values R, G, B to be processed are values within a range of 0.0 to 1.0, with the minimum value being 0.0 and the maximum value being 1.0. The hue H in the HSV color space of the color represented by the color values R, G, B to be processed can be calculated by substituting the color values R, G, B to be processed into the following equation (1). it can.

なお、上記(1)式において、max( )は括弧内の数値の最大値を表す演算子、min( )は括弧内の数値の最小値を表す演算子である。また、上記(1)式の演算でmax(R,G,B)=min(R,G,B)であった場合は、色相Hが算出不能であるので色相H=0とする。また、色値R,G,Bは請求項5に記載の「色相を直接表すパラメータを含まない色値」に対応しており、上記のステップ54の演算は、請求項5に記載の生成手段による「色相を直接表すパラメータを含む別の色空間(上記の例ではHSV色空間)の色値における前記パラメータの値を算出」するステップに対応しており、色相制御テーブル生成部のデバイス依存色相算出部(図2参照)にも対応している。   In the above equation (1), max () is an operator representing the maximum value of the numerical values in parentheses, and min () is an operator representing the minimum value of the numerical values in parentheses. If max (R, G, B) = min (R, G, B) in the calculation of the above equation (1), the hue H cannot be calculated, so the hue H = 0. The color values R, G, and B correspond to the “color values that do not include a parameter that directly represents hue” according to claim 5, and the calculation in step 54 is performed by the generation unit according to claim 5. Corresponds to the step of “calculating the value of the parameter in the color value of another color space (HSV color space in the above example) including the parameter directly representing the hue”, and the device-dependent hue of the hue control table generation unit It also corresponds to the calculation unit (see FIG. 2).

次のステップ56では、先のステップ52で取り出した処理対象の色値R,G,Bを所定の演算式によりデバイス非依存色空間であるCIEXYZ色空間における色値(三刺激値XYZ)へ変換する。またステップ58では、ステップ56の演算によって得られた三刺激値XYZを、所定の観察条件(例えば光源=D65、平均的な明るさの視環境、順応ファクタD=1.0、順応輝度=80cd/mm2等)を設定した所定の演算式に代入することで、色空間JCh(色空間JChはデバイス非依存色空間の1つであり、請求項6に記載のCAM色空間に対応している)上の色値(観察条件の影響を排除した色の見えを表す色属性値JCh)へ変換する。なお、上述したステップ56,58は色相制御テーブル生成部のデバイス非依存色相算出部(図2参照)に対応している。そしてステップ60では、ステップ58の演算によって得られた色属性値JChのうちの色相hを、処理対象の色値R,G,Bのデバイス非依存色相Hcamとして、先のステップ54で演算したデバイス依存色相Hdevと対応付け、メモリ14B又は記憶部14Cに記憶している色相制御テーブルに登録する。なお、ステップ60は色相制御テーブル生成部のテーブル生成部(図2参照)に対応している。 In the next step 56, the color values R, G, and B to be processed extracted in the previous step 52 are converted into color values (tristimulus values XYZ) in the CIEXYZ color space which is a device-independent color space by a predetermined arithmetic expression. To do. In step 58, the tristimulus values XYZ obtained by the calculation in step 56 are converted into predetermined observation conditions (for example, light source = D 65 , average brightness visual environment, adaptation factor D = 1.0, adaptation luminance = 80 cd / The color space JCh (the color space JCh is one of device-independent color spaces) and corresponds to the CAM color space according to claim 6 by substituting it into a predetermined arithmetic expression for which (mm 2 etc.) is set. ) The above color value (color attribute value JCh representing the appearance of the color excluding the influence of the viewing condition) is converted. Steps 56 and 58 described above correspond to the device-independent hue calculation unit (see FIG. 2) of the hue control table generation unit. In step 60, the device calculated in the previous step 54 is set as the device-independent hue Hcam of the color values R, G, and B to be processed as the hue h of the color attribute value JCh obtained by the calculation in step 58. It is associated with the dependent hue Hdev and registered in the hue control table stored in the memory 14B or the storage unit 14C. Step 60 corresponds to the table generation unit (see FIG. 2) of the hue control table generation unit.

次のステップ62では、先のステップ50で抽出した全ての色値R,G,Bを処理対象として取り出したか否か判定する。判定が否定された場合はステップ52に戻り、ステップ62の判定が肯定される迄ステップ52〜ステップ62を繰り返す。これにより、ステップ50で抽出した全ての色値R,G,Bについて、デバイス依存色相Hdev及びデバイス非依存色相Hcamが各々演算され、両者が対応付けて色相制御テーブルに各々登録されることになる。そしてステップ62の判定が否定されると、色相制御テーブル生成処理を終了する。なお、上記の色相制御テーブル生成処理で色相制御テーブルに登録される情報は本発明に係る色相値情報(より詳しくは請求項3に記載の色相値情報)に対応しており、色相制御テーブルを記憶するメモリ14B又は記憶部14Cは本発明に係る記憶手段に対応している。   In the next step 62, it is determined whether or not all the color values R, G, B extracted in the previous step 50 have been taken out as processing targets. If the determination is negative, the process returns to step 52, and steps 52 to 62 are repeated until the determination of step 62 is affirmed. As a result, the device-dependent hue Hdev and the device-independent hue Hcam are calculated for all the color values R, G, and B extracted in step 50, and both are associated and registered in the hue control table. . If the determination in step 62 is negative, the hue control table generation process ends. Note that the information registered in the hue control table in the above-described hue control table generation process corresponds to the hue value information according to the present invention (more specifically, the hue value information described in claim 3). The memory 14B or the storage unit 14C to be stored corresponds to the storage unit according to the present invention.

次に、図5を参照して第1色変換条件生成処理について説明する。なお、この第1色変換条件生成処理は第1色変換条件生成部に対応する処理であり、クライアント端末14のCPU14Aによって第1色変換条件生成プログラムが実行されることで実現される。また、第1色変換条件生成処理(に対応する第1色変換条件生成部)は、当該処理で生成された第1色変換の変換条件に従って実際に第1色変換を行う色変換処理部と共に、本発明に係る色値変換手段(より詳しくは請求項5に記載の色値変換手段)に対応している。   Next, the first color conversion condition generation process will be described with reference to FIG. The first color conversion condition generation process is a process corresponding to the first color conversion condition generation unit, and is realized by the CPU 14A of the client terminal 14 executing the first color conversion condition generation program. In addition, the first color conversion condition generation process (corresponding to the first color conversion condition generation unit), together with the color conversion processing unit that actually performs the first color conversion in accordance with the conversion condition of the first color conversion generated by the process. This corresponds to the color value conversion means according to the present invention (more specifically, the color value conversion means according to claim 5).

第1色変換条件生成処理は、上述した色相制御テーブル生成処理による色相制御テーブルへの情報の登録が完了している状態で、第1デバイス依存色空間上に設定した多数の格子点の各々の色値(第1デバイス依存色空間上の色値)が格子点データとして入力されると実行され、まずステップ70では、入力色値(第1デバイス依存色空間の格子点データ)から単一の入力色値(格子点データ)R,G,Bを処理対象の色値として取り出す。   In the first color conversion condition generation process, the registration of information in the hue control table by the hue control table generation process described above has been completed, and each of a large number of grid points set on the first device-dependent color space is completed. This is executed when a color value (color value in the first device-dependent color space) is input as grid point data. First, in step 70, a single value is input from the input color value (grid point data in the first device-dependent color space). Input color values (grid point data) R, G, B are extracted as color values to be processed.

次のステップ72では、ステップ70で取り出した処理対象の色値R,G,Bを先の(1)式に代入することで、処理対象の色値R,G,Bが表す色の第1デバイス依存色空間における色相H(デバイス依存色相Hdev)を演算する。なお、ステップ72における処理対象の色値R,G,Bについても、請求項5に記載の「色相を直接表すパラメータを含まない色値」に対応しており、ステップ72の演算は、請求項5に記載の色値変換手段による「色相を直接表すパラメータを含む別の色空間(上記の例ではHSV色空間)の色値における前記パラメータの値を算出」するステップに対応している。また、ステップ72は第1色変換条件生成部のデバイス依存色相算出部(図2参照)にも対応している。   In the next step 72, the color values R, G, and B to be processed extracted in step 70 are substituted into the previous equation (1), whereby the first color represented by the color values R, G, and B to be processed is displayed. The hue H (device-dependent hue Hdev) in the device-dependent color space is calculated. Note that the color values R, G, and B to be processed in step 72 also correspond to the “color values that do not include a parameter that directly represents hue” according to claim 5, 5 corresponds to the step of “calculating the value of the parameter in the color value of another color space (HSV color space in the above example) including the parameter directly representing the hue” by the color value conversion means described in 5. Step 72 also corresponds to the device-dependent hue calculation unit (see FIG. 2) of the first color conversion condition generation unit.

またステップ74では、ステップ72の演算によって得られたデバイス依存色相Hdevに対応するデバイス非依存色相Hcam(色相h')を、色相制御テーブルに登録されている複数のデバイス非依存色相Hcamから線形補間によって演算する。なお、ステップ74は第1色変換条件生成部のデバイス非依存色相算出部(図2参照)に対応している。   In step 74, the device-independent hue Hcam (hue h ′) corresponding to the device-dependent hue Hdev obtained by the calculation in step 72 is linearly interpolated from a plurality of device-independent hues Hcam registered in the hue control table. Calculate by Note that step 74 corresponds to the device-independent hue calculation unit (see FIG. 2) of the first color conversion condition generation unit.

次のステップ76では、先のステップ70で取り出した処理対象の色値R,G,Bを所定の演算式によりデバイス非依存色空間であるCIEXYZ色空間における色値(三刺激値XYZ)へ変換する。またステップ78では、ステップ76の演算によって得られた三刺激値XYZを、所定の観察条件(例えば光源=D65、平均的な明るさの視環境、順応ファクタD=1.0、順応輝度=80cd/mm2等)を設定した所定の演算式に代入することで、色空間JCh(デバイス非依存色空間)上の色値(観察条件の影響を排除した色の見えを表す色属性値JCh)へ変換する。なお、ステップ76,78は第1色変換条件生成部のデバイス依存色値算出部(図2参照)に対応している。 In the next step 76, the color values R, G and B to be processed extracted in the previous step 70 are converted into color values (tristimulus values XYZ) in the CIEXYZ color space, which is a device-independent color space, by a predetermined arithmetic expression. To do. In step 78, the tristimulus values XYZ obtained by the calculation in step 76 are converted into predetermined observation conditions (for example, light source = D 65 , average brightness visual environment, adaptation factor D = 1.0, adaptation luminance = 80 cd / By substituting (mm 2 etc.) into a predetermined arithmetic expression, the color value on the color space JCh (device-independent color space) (color attribute value JCh representing the appearance of the color excluding the influence of the viewing condition) is obtained. Convert. Steps 76 and 78 correspond to the device-dependent color value calculation unit (see FIG. 2) of the first color conversion condition generation unit.

そしてステップ80では、ステップ78の演算によって得られた色属性値JChのうちの色相hを、先のステップ74の演算(線形補間)によって得られたデバイス非依存色相Hcam(色相h')へ変更し(置き換え)、変更後の色属性値JCh'を、第1色変換における処理対象の色値R,G,Bに対応する格子点の出力色値として、処理対象の色値R,G,Bと対応付けてメモリ14Bに記憶させる。なお、ステップ80は第1色変換条件生成部の色相補正部(図2参照)に対応している。   In step 80, the hue h in the color attribute value JCh obtained by the calculation in step 78 is changed to the device-independent hue Hcam (hue h ′) obtained by the calculation (linear interpolation) in the previous step 74. The replacement color attribute value JCh ′ is used as the output color value of the grid point corresponding to the color value R, G, B to be processed in the first color conversion. B is stored in the memory 14B in association with B. Note that step 80 corresponds to the hue correction unit (see FIG. 2) of the first color conversion condition generation unit.

次のステップ82では、入力された全ての格子点データを処理対象の色値R,G,Bとして取り出したか否か判定する。判定が否定された場合はステップ70に戻り、ステップ82の判定が肯定される迄ステップ70〜ステップ82を繰り返す。これにより、入力された全ての格子点データについて、色相hを変更した色属性値JCh'が第1色変換における出力色値としてメモリ14Bに各々記憶されることになる。そしてステップ82の判定が否定されると、第1色変換条件生成処理を終了する。   In the next step 82, it is determined whether or not all input grid point data has been extracted as the color values R, G, and B to be processed. If the determination is negative, the process returns to step 70, and steps 70 to 82 are repeated until the determination of step 82 is affirmed. As a result, the color attribute value JCh ′ in which the hue h is changed is stored in the memory 14B as the output color value in the first color conversion for all the input grid point data. If the determination in step 82 is negative, the first color conversion condition generation process ends.

例として図6(A)には、色空間JCh等のデバイス非依存色空間上における表示装置20の一般的な色域(より詳しくは、表示装置の一般的な色域をデバイス非依存色空間の等明度面(明度軸に垂直な平面)上に投影した結果)を示す。図6(A)より明らかなように、多くの表示装置は、デバイス依存色空間上で直線となる等色相線がデバイス非依存色空間上では湾曲しており、特にR及びBは、高明度側における等色相線の湾曲度合いが比較的大きい上に、高明度側の等色相線が表す色相が低明度側の等色相線が表す色相と比較的大きく相違しており、色相の歪が比較的大きくなっている。この色相の歪は、表示装置の表示面に色を表示している限りは殆ど視認されない。   As an example, FIG. 6A shows a general color gamut of the display device 20 on a device-independent color space such as the color space JCh (more specifically, the general color gamut of the display device is a device-independent color space. The result of projecting onto an equal brightness surface (a plane perpendicular to the brightness axis) is shown. As apparent from FIG. 6A, in many display devices, the equi-hue lines that are straight lines in the device-dependent color space are curved in the device-independent color space, and in particular, R and B have high brightness. The hue of the equi-hue line on the side is relatively large, and the hue represented by the equi-hue line on the high lightness side is relatively different from the hue represented by the equi-hue line on the low lightness side. Is getting bigger. This distortion of hue is hardly visually recognized as long as a color is displayed on the display surface of the display device.

しかし、本実施形態に係る色変換処理部のように、表示装置の色域(入力色域)内に分布している色値を他のデバイスの色域(出力色域)内に収める色域変換を行う際に、出力色域が入力色域よりも明らかに狭い場合(図6(A)にはこのような出力色域の一例として画像形成装置の一般的な色域を示す)、例として図7(A)に示すようにデバイス非依存色空間上で湾曲している等色相線は、色域変換に伴い、例として図7(B)に示すように途中で折れ曲がる等のように、色相や彩度の急激な変化が加わることになる。そして、この等色相線に加わる色相や彩度の急激な変化は、色相の顕著な変化として視認され、特にコンピュータ・グラフィックス等の画像においては、画像中のグラデーションにおける階調再現性の悪化として顕著に表れる。   However, as in the color conversion processing unit according to the present embodiment, the color gamut in which the color values distributed in the color gamut (input color gamut) of the display device fall within the color gamut (output color gamut) of another device. When performing conversion, if the output color gamut is clearly narrower than the input color gamut (FIG. 6A shows a general color gamut of an image forming apparatus as an example of such an output color gamut), an example As shown in FIG. 7A, the equi-hue line that is curved in the device-independent color space is bent along the way as shown in FIG. Sudden changes in hue and saturation will be added. The sudden change in hue and saturation applied to the equi-hue line is recognized as a noticeable change in hue, and particularly in an image such as computer graphics, the gradation reproducibility in gradation in the image is deteriorated. Appears prominently.

これに対して本第1実施形態に係る第1色変換条件生成処理では、格子点データ(処理対象の色値)R,G,Bが表す色のデバイス依存色相Hdevを演算し、演算したデバイス依存色相Hdevに対応するデバイス非依存色相Hcam(色相h')を、色相制御テーブルに登録されている複数のデバイス非依存色相Hcamから線形補間によって演算し、格子点データ(処理対象の色値)R,G,Bから演算した色属性値(出力色値)JChのうちの色相hを色相h'に置き換えているので、同一の色相を表す格子点データ(等色相線を形成する格子点データ)から演算されるデバイス非依存色相Hcam(色相h')が互いに等しくなることで、例として図6(B)及び図7(C)にも示すように、デバイス非依存色空間上で湾曲していた等色相線が直線となるように色属性値(出力色値)JChのうちの色相hが補正される。これにより、例として図7(D)に示すように、後段の色域変換の実行に伴い、等色相線に途中で折れ曲がる等の色相や彩度の急激な変化が加わることが抑制される。   In contrast, in the first color conversion condition generation processing according to the first embodiment, the device-dependent hue Hdev of the color represented by the grid point data (color values to be processed) R, G, B is calculated, and the calculated device A device-independent hue Hcam (hue h ′) corresponding to the dependent hue Hdev is calculated by linear interpolation from a plurality of device-independent hues Hcam registered in the hue control table, and lattice point data (color value to be processed) Since the hue h in the color attribute value (output color value) JCh calculated from R, G, B is replaced with the hue h ′, lattice point data representing the same hue (lattice point data forming an equi-hue line) ), The device-independent hue Hcam (hue h ′) is equal to each other, and as shown in FIG. 6B and FIG. 7C as an example, the device-independent hue Hcam is curved in the device-independent color space. The color attribute value (output color value) JCh so that the equal hue line is a straight line Is corrected. As a result, as shown in FIG. 7D as an example, it is possible to suppress a sudden change in hue or saturation, such as bending in the middle of the equi-hue line, along with the execution of the subsequent color gamut conversion.

また、デバイス非依存色空間の1つして広く用いられているCIELAB色空間は、色空間上の色値と実際の色の見えに誤差があり、CIELAB色空間上で等色相線が直線となるように色相を補正しても、実際には同一色のグラデーションで色相の変動が視認されるが、本実施形態ではデバイス非依存色空間としてJCh色空間を適用しており、このJCh色空間上で等色相線が直線となるように色相を補正することで、同一色のグラデーションで色相の変動が表れることがより精度良く抑制される。   The CIELAB color space, which is widely used as one of the device-independent color spaces, has an error in the color value in the color space and the actual color appearance, and the equi-hue line is a straight line in the CIELAB color space. Even if the hue is corrected in this way, the hue variation is actually visually recognized with the same color gradation. However, in this embodiment, the JCh color space is applied as the device-independent color space. By correcting the hue so that the equi-hue line is a straight line above, it is possible to more accurately suppress the hue variation with the same color gradation.

また、等色相線に色相や彩度の急激な変化が加わることを抑制することを、色域変換の前段の第1色変換に出力色値の色相を補正するという簡単な処理を加えることで実現できるので、アルゴリズムが元々複雑な色域変換のアルゴリズムを上記の課題解決のために更に変更する必要も無くなり、色域変換のアルゴリズムとして既存の各種アルゴリズムのうちの任意のアルゴリズムを適用することが可能となる。   In addition, by adding a simple process of correcting the hue of the output color value to the first color conversion before the color gamut conversion, it is possible to suppress a sudden change in hue or saturation on the equi-hue line. Since it can be realized, it is not necessary to further change the algorithm of the gamut conversion that is originally complicated to solve the above problem, and any of the existing algorithms can be applied as the gamut conversion algorithm. It becomes possible.

また、本実施形態に係る色相制御テーブル生成処理では、第1色変換で色相補正を行う際に参照される色相制御テーブルを、第1デバイス依存色空間における第1デバイスの色域から求めているが、デバイス依存色空間が同一 (例えばRGB色空間やsRGB色空間)のデバイスはデバイス依存色空間における色域も同じであり、デバイス非依存色空間における等色相線の分布も同じであるので、本実施形態に係る色相制御テーブルは、デバイス依存色空間が同一のデバイスの色値に対して色域変換を含む色処理を行う場合に共通に使用することができる。   Further, in the hue control table generation process according to the present embodiment, the hue control table referred to when performing hue correction in the first color conversion is obtained from the color gamut of the first device in the first device-dependent color space. However, devices with the same device-dependent color space (for example, the RGB color space and the sRGB color space) have the same color gamut in the device-dependent color space, and the same hue line distribution in the device-independent color space. The hue control table according to the present embodiment can be commonly used when color processing including color gamut conversion is performed on color values of devices having the same device-dependent color space.

〔第2実施形態〕
次に本発明の第2実施形態について説明する。なお、本第2実施形態は第1実施形態と同一の構成であるので、各部分に同一の符号を付して構成の説明を省略し、以下、図8を参照し、本第2実施形態に係る第1色変換条件生成処理について、第1実施形態で説明した第1色変換条件生成処理(図5)と異なる部分についてのみ説明する。
[Second Embodiment]
Next, a second embodiment of the present invention will be described. Since the second embodiment has the same configuration as that of the first embodiment, the same reference numerals are given to the respective parts, and the description of the configuration will be omitted. Hereinafter, the second embodiment will be described with reference to FIG. The first color conversion condition generation process according to the above will be described only for parts different from the first color conversion condition generation process (FIG. 5) described in the first embodiment.

本第2実施形態に係る第1色変換条件生成処理は、第1実施形態で説明した第1色変換条件生成処理(図5)と同様に、単一の入力色値(格子点データ)R,G,Bを処理対象の色値として取り出し(ステップ70)、処理対象の色値R,G,Bからデバイス依存色相Hdevを演算し(ステップ72)、色相制御テーブルを参照してデバイス依存色相Hdevに対応するデバイス非依存色相Hcam(色相h')を演算し(ステップ74)、処理対象の色値R,G,Bから色属性値JChを演算(ステップ76,78)した後に、次のステップ84において、ステップ78の演算で得られた色値(色属性値)JChにおける色相hと、ステップ74の演算で得られた色相h'との色相差を演算する。なお、色相hと色相h'との色相差は、両者の色相角の角度差であってもよいし、JCh色空間上でのベクトル距離であってもよい。ステップ86では、ステップ84の演算で得られた色相差が予め定められた閾値(この閾値の一例を図7(E)に示す)よりも大きいか否か判定する。なお、この閾値は彩度、または彩度と明度に依存させて閾値を変更するようにしてもよい。   The first color conversion condition generation process according to the second embodiment is a single input color value (grid point data) R, as in the first color conversion condition generation process (FIG. 5) described in the first embodiment. , G, B are extracted as color values to be processed (step 70), a device-dependent hue Hdev is calculated from the color values R, G, B to be processed (step 72), and the device-dependent hue is referred to the hue control table. The device-independent hue Hcam (hue h ′) corresponding to Hdev is calculated (step 74), and the color attribute value JCh is calculated from the color values R, G, and B to be processed (steps 76 and 78). In step 84, the hue difference between the hue h in the color value (color attribute value) JCh obtained in the calculation in step 78 and the hue h ′ obtained in the calculation in step 74 is calculated. Note that the hue difference between the hue h and the hue h ′ may be an angle difference between the hue angles of the two, or a vector distance in the JCh color space. In step 86, it is determined whether or not the hue difference obtained by the calculation in step 84 is larger than a predetermined threshold (an example of this threshold is shown in FIG. 7E). Note that this threshold value may be changed depending on saturation or saturation and lightness.

ステップ86の判定が肯定された場合はステップ88へ移行し、ステップ74の演算で得られた色相h'を色相hの方向へ閾値分だけ変化させた色相h"を演算する。そしてステップ90では、ステップ78の演算によって得られた色属性値JChのうちの色相hを、先のステップ88の演算によって得られた色相h"へ変更し(置き換え)、変更後の色属性値JCh"を、第1色変換における処理対象の色値R,G,Bに対応する格子点の出力色値として、処理対象の色値R,G,Bと対応付けてメモリ14Bに記憶させ、ステップ82へ移行する。   If the determination in step 86 is affirmative, the routine proceeds to step 88, where a hue h "obtained by changing the hue h 'obtained in the calculation of step 74 in the direction of the hue h by the threshold value is calculated. The hue h in the color attribute value JCh obtained by the calculation in step 78 is changed (replaced) to the hue h "obtained by the calculation in the previous step 88, and the color attribute value JCh" after the change is changed to The output color values of the grid points corresponding to the color values R, G, B to be processed in the first color conversion are stored in the memory 14B in association with the color values R, G, B to be processed, and the process proceeds to step 82. To do.

一方、ステップ86の判定が否定された場合(色相hと色相h'との色相差が閾値以下の場合)には、上述したステップ88,90の処理を行うことなく、ステップ78の演算で得られた色値(色属性値)JChを、第1色変換における処理対象の色値R,G,Bに対応する格子点の出力色値として、処理対象の色値R,G,Bと対応付けてメモリ14Bにそのまま記憶させ、ステップ82へ移行する。なお、本第2実施形態に係る第1色変換条件生成処理におけるステップ84〜ステップ90は、第1色変換条件生成部の色相補正部(図2参照)に対応しており、請求項2に記載の色値変換手段にも対応している。   On the other hand, when the determination in step 86 is negative (when the hue difference between hue h and hue h ′ is equal to or smaller than the threshold value), the calculation in step 78 is performed without performing the processing in steps 88 and 90 described above. The obtained color value (color attribute value) JCh corresponds to the color value R, G, B to be processed as the output color value of the grid point corresponding to the color value R, G, B to be processed in the first color conversion. Then, the data is stored in the memory 14B as it is, and the process proceeds to Step 82. Note that Step 84 to Step 90 in the first color conversion condition generation processing according to the second embodiment correspond to the hue correction unit (see FIG. 2) of the first color conversion condition generation unit. The color value conversion means described is also supported.

次のステップ82では、入力された全ての格子点データを処理対象の色値R,G,Bとして取り出したか否か判定する。判定が否定された場合はステップ70に戻り、ステップ82の判定が肯定される迄ステップ70〜ステップ82を繰り返す。これにより、入力された格子点データのうち、色相hと色相h'との色相差が閾値以下の格子点データについては、色値R,G,Bから演算によって得られた色属性値JChが、色相hと色相h'との色相差が閾値よりも大きい格子点データについては、色値R,G,Bから演算で得られた色属性値JChに対して色相hを補正した色属性値JCh"が、第1色変換における出力色値としてメモリ14Bに各々記憶されることになる。そして、ステップ82の判定が否定されると第1色変換条件生成処理を終了する。   In the next step 82, it is determined whether or not all input grid point data has been extracted as the color values R, G, and B to be processed. If the determination is negative, the process returns to step 70, and steps 70 to 82 are repeated until the determination of step 82 is affirmed. Thereby, among the input grid point data, for the grid point data in which the hue difference between the hue h and the hue h ′ is equal to or less than the threshold value, the color attribute value JCh obtained by calculation from the color values R, G, B is For the grid point data in which the hue difference between hue h and hue h ′ is larger than the threshold value, the color attribute value obtained by correcting the hue h with respect to the color attribute value JCh obtained by calculation from the color values R, G, and B JCh "is stored in the memory 14B as an output color value in the first color conversion. If the determination in step 82 is negative, the first color conversion condition generation process is terminated.

第1実施形態で説明した第1色変換条件生成処理では、知覚的な色相が一定となるように第1色変換の出力色値の色相を補正していたが、色処理に対しては、「知覚的な色相が一定」という要求が優先される場合以外に、「出力色が入力色に近似している」という要求が優先される場合もある(例えば色変換処理対象の色信号データ(色変換処理部のCLUTで変換される色信号データ)中に高彩度の色が存在しない場合や、表示装置20に表示された色に近似した色を他のデバイスで再現したい場合等)。   In the first color conversion condition generation process described in the first embodiment, the hue of the output color value of the first color conversion is corrected so that the perceptual hue is constant. In addition to the priority given to the requirement that the “perceptual hue is constant”, the requirement that “the output color approximates the input color” may also take precedence (for example, the color signal data subject to color conversion processing ( Color signal data converted by the CLUT of the color conversion processing unit) when a high-saturation color does not exist, or when a color approximate to the color displayed on the display device 20 is to be reproduced by another device).

これに対し、本第2実施形態に係る第1色変換条件生成処理では、入力された格子点データのうち、色相hと色相h'との色相差が閾値よりも大きい格子点データについてのみ、色値R,G,Bから演算で得られた色属性値JChのうちの色相hを、色相h'を色相hの方向へ閾値分だけ変化させた色相h"に置き換え、色相hと色相h'との色相差が閾値以下の格子点データについては色値R,G,Bから演算によって得られた色属性値JChを出力色値としてそのまま用いているので、例として図7(E)にも示すように、デバイス非依存色空間上で湾曲していた等色相線は、色相の変動が色相h'(デバイス非依存色相Hcam)に対する色相差が閾値以内に抑制されると共に、元の等色相線(デバイス非依存色空間上で湾曲していた等色相線)により近い軌跡となるように色属性値(出力色値)JChのうちの色相hが補正される。   On the other hand, in the first color conversion condition generation processing according to the second embodiment, only the grid point data in which the hue difference between the hue h and the hue h ′ is larger than the threshold among the input grid point data. The hue h in the color attribute value JCh obtained by calculation from the color values R, G, and B is replaced with a hue h ″ obtained by changing the hue h ′ by a threshold value in the direction of the hue h. For grid point data whose hue difference from 'is less than or equal to the threshold value, the color attribute value JCh obtained by calculation from the color values R, G, B is used as it is as the output color value. As shown, the uniform hue line curved in the device-independent color space has a hue variation with respect to the hue h ′ (device-independent hue Hcam) suppressed within the threshold value and the original equality line. Trajectory closer to hue line (equal hue line curved in device-independent color space) Hue h of color attribute values (output color values) JCh is corrected to be.

これにより、例として図7(F)に示すように、後段の色域変換の実行に伴い、等色相線に途中で折れ曲がる等の色相や彩度の急激な変化が加わることが、色相の補正を行わない場合よりは抑制されると共に、色変換処理の結果として、出力色が入力色により近似している結果が得られることになる。   As a result, as shown in FIG. 7F, for example, a sudden change in hue or saturation, such as bending in the middle of the equi-hue line, is caused by the subsequent gamut conversion. As a result of the color conversion process, a result in which the output color approximates the input color is obtained.

なお、上記ではクライアント端末14で色相制御テーブル生成処理を行うことで、色相制御テーブルを生成する態様を説明したが、本発明はこれに限定されるものではなく、別のコンピュータ等で色相制御テーブル生成処理を行うことで生成した色相制御テーブルを、クライアント端末14の記憶部14Cに予め記憶させておくようにしてもよい。   In the above description, the aspect in which the hue control table is generated by performing the hue control table generation process in the client terminal 14 has been described. However, the present invention is not limited to this, and the hue control table may be executed by another computer or the like. The hue control table generated by performing the generation process may be stored in advance in the storage unit 14C of the client terminal 14.

また、上記では本発明に係る色処理プログラムがクライアント端末14の記憶部14Cに予め記憶(インストール)されている態様を説明したが、本発明に係る色処理プログラムは、CD−ROMやDVD−ROM等の記録媒体に記録されている形態で提供することも可能である。   In the above description, the color processing program according to the present invention is stored (installed) in the storage unit 14C of the client terminal 14 in advance. However, the color processing program according to the present invention may be a CD-ROM or DVD-ROM. It is also possible to provide it in a form recorded on a recording medium such as

本実施形態に係るコンピュータ・システムの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the computer system which concerns on this embodiment. 本実施形態における色変換処理部の概略図である。It is the schematic of the color conversion process part in this embodiment. 色相制御テーブル生成処理の内容を示すフローチャートである。It is a flowchart which shows the content of the hue control table production | generation process. 表示装置の色域外郭上の色値の抽出を説明するための概略図である。It is the schematic for demonstrating extraction of the color value on the color gamut outline of a display apparatus. 第1実施形態に係る第1色変換条件生成処理を示すフローチャートである。It is a flowchart which shows the 1st color conversion condition production | generation process based on 1st Embodiment. デバイス非依存色空間上での、(A)は入力色値の等色相線、(B)は色相補正後の等色相線を各々示す概略図である。In the device-independent color space, (A) is a schematic diagram showing equal hue lines of input color values, and (B) is a schematic diagram showing equal hue lines after hue correction. 本発明の作用を説明するためのイメージ図である。It is an image figure for demonstrating the effect | action of this invention. 第2実施形態に係る第1色変換条件生成処理を示すフローチャートである。It is a flowchart which shows the 1st color conversion condition production | generation process concerning 2nd Embodiment.

10 コンピュータ・システム
14 クライアント端末
14B メモリ
14C 記憶部
16 入力デバイス
18 出力デバイス
20 表示装置
DESCRIPTION OF SYMBOLS 10 Computer system 14 Client terminal 14B Memory 14C Storage part 16 Input device 18 Output device 20 Display apparatus

Claims (6)

任意の色相を表すデバイス依存色空間上の色相値と、同一の色相を表すデバイス非依存色空間上の色相値と、を対応付ける色相値情報を記憶する記憶手段と、
前記デバイス依存色空間上の第1色値を前記デバイス非依存色空間上の第2色値へ変換すると共に、前記記憶手段に記憶されている前記色相値情報に基づき、前記第1色値が表す前記デバイス依存色空間上の色相値から前記デバイス非依存色空間上の対応する色相値を求め、前記第2色値が表す色相値を前記求めた色相値に近づくように補正する色値変換手段と、
前記色値変換手段による処理を経た第2色値に対し、前記デバイス非依存色空間上で色域変換を行う色域変換手段と、を含み、
前記色値変換手段は、前記デバイス依存色空間上の複数の第1色値を前記デバイス非依存色空間上の第2色値へ各々変換すると共に、当該変換によって得られた複数の第2色値のうち、対応する前記第1色値が表す前記デバイス依存色空間上の色相値と、前記デバイス非依存色空間上の対応する色相値との色相差が予め定められた閾値よりも大きい第2色値に対してのみ、当該第2色値が表す色相値を前記色相差が前記閾値以下となるように補正する色処理装置。
Storage means for storing hue value information associating a hue value on a device-dependent color space representing an arbitrary hue with a hue value on a device-independent color space representing the same hue;
The first color value on the device-dependent color space is converted to the second color value on the device-independent color space, and the first color value is calculated based on the hue value information stored in the storage unit. Color value conversion that obtains a corresponding hue value in the device-independent color space from a hue value in the device-dependent color space to represent and corrects the hue value represented by the second color value so as to approach the obtained hue value Means,
To a second color value has been processed by the color value conversion means, seen containing a color gamut conversion unit that performs color gamut conversion, with the device-independent color space,
The color value conversion unit converts each of the plurality of first color values on the device-dependent color space into a second color value on the device-independent color space, and a plurality of second colors obtained by the conversion. Among the values, the hue difference between the hue value on the device-dependent color space represented by the corresponding first color value and the corresponding hue value on the device-independent color space is larger than a predetermined threshold value. A color processing apparatus that corrects the hue value represented by the second color value only for two color values so that the hue difference is equal to or less than the threshold value .
前記記憶手段は、前記色相値情報として、前記デバイス依存色空間上における所定のデバイスの色域外郭上に位置しかつ色相が互いに異なる複数の色値が表す個々の色相について、前記デバイス依存色空間上の色相値と前記デバイス非依存色空間上の色相値とを各々対応付ける前記色相値情報を記憶する請求項1記載の色処理装置。 The storage means uses the device-dependent color space for each hue represented by a plurality of color values that are located on the color gamut outline of a predetermined device on the device-dependent color space and have different hues as the hue value information. hue value and the device independent color associates each a hue value in the space for storing the hue value information according to claim 1 Symbol placement of a color processing apparatus above. 任意の色相を表すデバイス依存色空間上の色値から、少なくとも前記デバイス非依存色空間上の色相値を演算し、前記デバイス依存色空間上の色相値と前記デバイス非依存色空間上の色相値とを対応付ける処理を、互いに異なる複数の色相について各々行うことで前記色相値情報を生成し、生成した色相値情報を前記記憶手段に記憶させる生成手段を更に備えた請求項1又は請求項2記載の色処理装置。 A hue value on at least the device-independent color space is calculated from a color value on the device-dependent color space representing an arbitrary hue, and the hue value on the device-dependent color space and the hue value on the device-independent color space are calculated. the process of associating the bets, to generate the color value information by performing each for a plurality of different hues, the generated hue value information further comprising generating means for storing in said storage means according to claim 1 or claim 2 Symbol The listed color processing device. 前記デバイス依存色空間上の色値は色相を直接表すパラメータを含まない色値であり、
前記色値変換手段又は前記生成手段は、前記デバイス依存色空間上の色値から、色相を直接表すパラメータを含む別の色空間の色値における前記パラメータの値を算出し、算出した前記パラメータの値を、前記デバイス依存色空間上の色値が表す前記デバイス依存色空間上の色相値として用いる請求項1〜請求項の何れか1項記載の色処理装置。
The color value on the device-dependent color space is a color value that does not include a parameter that directly represents hue,
The color value conversion unit or the generation unit calculates a value of the parameter in a color value of another color space including a parameter directly representing a hue from the color value on the device-dependent color space, and values, the color processing apparatus according to any one of claims 1 to 3 for use as a color value on the device-dependent color space color values on the device dependent color space is represented.
前記デバイス非依存色空間は、色の見えモデルCIECAM02によって規定されるCAM色空間である請求項1〜請求項の何れか1項記載の色処理装置。 The device-independent color space, a color processing apparatus according to any one of claims 1 to 4 is a CAM color space defined by color appearance model CIECAM02. 任意の色相を表すデバイス依存色空間上の色相値と、同一の色相を表すデバイス非依存色空間上の色相値と、を対応付ける色相値情報を記憶する記憶手段と接続されたコンピュータを、
前記デバイス依存色空間上の第1色値を前記デバイス非依存色空間上の第2色値へ変換すると共に、前記記憶手段に記憶されている前記色相値情報に基づき、前記第1色値が表す前記デバイス依存色空間上の色相値から前記デバイス非依存色空間上の対応する色相値を求め、前記第2色値が表す色相値を前記求めた色相値に近づくように補正する色値変換手段、
及び、前記色値変換手段による処理を経た第2色値に対し、前記デバイス非依存色空間上で色域変換を行う色域変換手段として機能させるための色処理プログラムであって、
前記色値変換手段は、前記デバイス依存色空間上の複数の第1色値を前記デバイス非依存色空間上の第2色値へ各々変換すると共に、当該変換によって得られた複数の第2色値のうち、対応する前記第1色値が表す前記デバイス依存色空間上の色相値と、前記デバイス非依存色空間上の対応する色相値との色相差が予め定められた閾値よりも大きい第2色値に対してのみ、当該第2色値が表す色相値を前記色相差が前記閾値以下となるように補正する色処理プログラム
A computer connected to storage means for storing hue value information for associating a hue value on a device-dependent color space representing an arbitrary hue with a hue value on a device-independent color space representing the same hue;
The first color value on the device-dependent color space is converted to the second color value on the device-independent color space, and the first color value is calculated based on the hue value information stored in the storage unit. Color value conversion that obtains a corresponding hue value in the device-independent color space from a hue value in the device-dependent color space to represent and corrects the hue value represented by the second color value so as to approach the obtained hue value means,
And a color processing program for causing the second color value processed by the color value conversion means to function as a color gamut conversion means for performing color gamut conversion on the device-independent color space ,
The color value conversion unit converts each of the plurality of first color values on the device-dependent color space into a second color value on the device-independent color space, and a plurality of second colors obtained by the conversion. Among the values, the hue difference between the hue value on the device-dependent color space represented by the corresponding first color value and the corresponding hue value on the device-independent color space is larger than a predetermined threshold value. A color processing program that corrects the hue value represented by the second color value only for two color values so that the hue difference is equal to or less than the threshold value .
JP2009003284A 2009-01-09 2009-01-09 Color processing apparatus and program Expired - Fee Related JP5206428B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009003284A JP5206428B2 (en) 2009-01-09 2009-01-09 Color processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009003284A JP5206428B2 (en) 2009-01-09 2009-01-09 Color processing apparatus and program

Publications (2)

Publication Number Publication Date
JP2010161693A JP2010161693A (en) 2010-07-22
JP5206428B2 true JP5206428B2 (en) 2013-06-12

Family

ID=42578504

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009003284A Expired - Fee Related JP5206428B2 (en) 2009-01-09 2009-01-09 Color processing apparatus and program

Country Status (1)

Country Link
JP (1) JP5206428B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5777322B2 (en) * 2010-10-29 2015-09-09 キヤノン株式会社 Color processing apparatus and color processing method
JP5863424B2 (en) * 2011-12-01 2016-02-16 キヤノン株式会社 Color processing apparatus and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004104777A (en) * 2002-08-23 2004-04-02 Fuji Xerox Co Ltd Color gamut mapping method, color gamut mapping device, color gamut mapping program, and storage medium
JP4803666B2 (en) * 2006-06-30 2011-10-26 株式会社リコー Image processing apparatus, image processing method, program, and recording medium

Also Published As

Publication number Publication date
JP2010161693A (en) 2010-07-22

Similar Documents

Publication Publication Date Title
JP5630115B2 (en) Color processing apparatus and program
JP4623137B2 (en) Color processing apparatus, method and program
US7764411B2 (en) Color processing apparatus and method, and storage medium storing color processing program
JP2012029276A (en) Image forming device, color adjustment method and color adjustment program
JP2012178738A (en) Profile creation method, profile creation apparatus, image processing apparatus for performing color conversion using profile, and program
JP2014165656A (en) Color profile generation device, image processing apparatus, image processing system, color profile generation method and program
JP4803122B2 (en) Color processing apparatus and program
JP2008206036A (en) Image processor and image processing method
JP4961962B2 (en) Color processing apparatus and program
JP5440195B2 (en) Color profile creation method, image processing apparatus for creating color profile, and control program for image processing apparatus
US8111423B2 (en) Image processing device and image processing method
JP5206428B2 (en) Color processing apparatus and program
JP2008154074A (en) Color processor and method
JP4300780B2 (en) Color conversion coefficient creation method, color conversion coefficient creation apparatus, program, and storage medium
JP2011205467A (en) Color processing apparatus, and program
JP4748034B2 (en) Image processing apparatus and program
JP2007195015A (en) Color conversion apparatus, method, and program
JP2011024031A (en) Color processing apparatus and program
JP5953717B2 (en) Color processing apparatus and program
JP5849549B2 (en) Color processing apparatus and program
JP2009284261A (en) Color processing device, method and program
JP5549451B2 (en) Color processing apparatus and program
JP6562381B2 (en) Image forming apparatus and program
JP2009232267A (en) Color processing apparatus, method and program
JP4864821B2 (en) Image processing apparatus, image processing method, program, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121018

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121023

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121225

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130122

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130204

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

Free format text: PAYMENT UNTIL: 20160301

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5206428

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees