JP2009038593A - Color processing apparatus and method - Google Patents

Color processing apparatus and method Download PDF

Info

Publication number
JP2009038593A
JP2009038593A JP2007201096A JP2007201096A JP2009038593A JP 2009038593 A JP2009038593 A JP 2009038593A JP 2007201096 A JP2007201096 A JP 2007201096A JP 2007201096 A JP2007201096 A JP 2007201096A JP 2009038593 A JP2009038593 A JP 2009038593A
Authority
JP
Japan
Prior art keywords
color
color gamut
mapping
data
gradation
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.)
Withdrawn
Application number
JP2007201096A
Other languages
Japanese (ja)
Inventor
Toshiyuki Ishii
利幸 石井
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 JP2007201096A priority Critical patent/JP2009038593A/en
Publication of JP2009038593A publication Critical patent/JP2009038593A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To produce color conversion data by quantitatively evaluating color gamut mapping. <P>SOLUTION: When producing color conversion data for mapping image data of an input color gamut to an output color gamut, color reproduction information of the input color gamut and the output color gamut is acquired (S201-S203). Then, based on color gamut mapping data for mapping the input color gamut to the output color gamut, a color value contained in the color reproduction information of the input color gamut is mapped into the output color gamut (S204). Based on results of mapping, evaluation values of reproducibility and gradation property of colors of mapping based on the color gamut mapping data are computed (S205), and color conversion data are produced from color gamut mapping data to be selected based on the evaluation values (S207, S209). <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、色域マッピングに関する。   The present invention relates to gamut mapping.

同一のカラー画像を異なる画像出力装置において良好に再現するための色管理システム(以下、CMS)がある。CMSは、デバイス非依存色空間、並びに、デバイス依存色からデバイス非依存色への色変換を規定するソースプロファイル、および、デバイス非依存色からデバイス依存色への色変換を規定するディスティネーションプロファイルを用いる。デバイス非依存色の色空間としては、例えばCIEXYZ空間、CIELab空間、CIEJCh空間などが利用される。また、プロファイルは、所定の変換式または変換テーブルとして提供される。   There is a color management system (hereinafter referred to as CMS) for successfully reproducing the same color image on different image output apparatuses. CMS has a device-independent color space, a source profile that defines device-independent color conversion from device-independent color, and a destination profile that specifies device-independent color conversion from device-independent color. Use. For example, a CIEXYZ space, a CIELab space, a CIEJCh space, or the like is used as a device-independent color space. The profile is provided as a predetermined conversion formula or conversion table.

しかし、出力デバイスの色域(以下、出力色域)が入力デバイスの色域(以下、入力色域)より狭い場合、出力デバイスによって、入力色域の色情報を正確に再現することはできない。例えば、色域が広いモニタに表示された画像を、色域が狭いプリンタで出力すると、モニタに表示された画像の色や階調性をそのまま再現することができない場合がある。そこで、元の画像情報(階調性や色など)をなるべく保ちつつ、出力色域外の色を色域内の色で良好に再現する色域マッピングが必要になる。   However, when the color gamut of the output device (hereinafter referred to as output color gamut) is narrower than the color gamut of the input device (hereinafter referred to as input color gamut), the output device cannot accurately reproduce the color information of the input color gamut. For example, if an image displayed on a monitor with a wide color gamut is output by a printer with a narrow color gamut, the color or gradation of the image displayed on the monitor may not be reproduced as it is. Therefore, it is necessary to perform color gamut mapping that favorably reproduces colors outside the output color gamut with colors within the color gamut while maintaining the original image information (gradation, color, etc.) as much as possible.

色域マッピングとして様々な方法が提案されている。図1は代表的な色域の圧縮方法に対応する色域マッピングアルゴリズム(以下、GMA)を明度-彩度平面(以下、LC平面)で示す図である。   Various methods have been proposed for color gamut mapping. FIG. 1 is a diagram showing a color gamut mapping algorithm (hereinafter referred to as GMA) corresponding to a typical color gamut compression method on a lightness-saturation plane (hereinafter LC plane).

図1(a)は、明度を不変にして、入力色域を彩度方向に圧縮するGMAを示す。図1(b)は、彩度を不変にして、入力色域を明度方向に圧縮するGMAを示す。図1(c)は、明度と彩度の変化が最小になるように、入力色域を圧縮するGMAを示す。図1(d)は、明度軸上に設定した収束点(焦点)Pに向けて明度と彩度を圧縮するGMAを示す。   FIG. 1 (a) shows a GMA that compresses the input color gamut in the saturation direction with the lightness unchanged. FIG. 1 (b) shows a GMA that compresses the input color gamut in the lightness direction with the saturation unchanged. FIG. 1 (c) shows a GMA that compresses the input color gamut so that changes in lightness and saturation are minimized. FIG. 1 (d) shows a GMA that compresses lightness and saturation toward the convergence point (focal point) P set on the lightness axis.

また、図1に示すGMA以外にも、色相を所定の範囲で変化させて、明度と彩度の圧縮率を軽減する方法が知られている。   In addition to the GMA shown in FIG. 1, there is known a method for reducing the compression ratio of lightness and saturation by changing the hue within a predetermined range.

色域マッピングのパラメータやGMAを設定する場合、設定したパラメータとGMAを用いた色域マッピングによる色再現性を評価する必要がある。このような場合、ユーザが意図する特定色(例えば記憶色や肌色)、画像の種類に応じた平均的な色などを指標とし、色域マッピングによる色域の圧縮前後における指標色の色差に基づき評価を行うことが考えられる。   When setting gamut mapping parameters and GMA, it is necessary to evaluate the color reproducibility of the gamut mapping using the set parameters and GMA. In such a case, a specific color intended by the user (for example, memory color or skin color), an average color corresponding to the type of image, and the like are used as indexes, and based on the color difference between the index colors before and after the color gamut compression by color gamut mapping. An evaluation can be considered.

しかし、出力色域においては境界付近になる色を指標にすると、指標色における色差は小さく、良好な評価値が得られる。このようにして設定した色域マッピングによれば、指標色よりも出力色域の内側に存在する色については、色再現性は良好であり、正しい評価が得られる。しかし、指標色よりも明度や彩度が高い出力色域外の色は、出力色域の境界と、境界に近い指標色の間の極めて狭い領域にマッピングされる可能性が高く、階調の飛び、潰れ、反転が発生し易い。つまり、出力色域外の色について、正しい評価が得られるとは言えない。   However, in the output color gamut, when the color near the boundary is used as an index, the color difference in the index color is small and a good evaluation value can be obtained. According to the color gamut mapping set in this way, color reproducibility is good for a color existing inside the output color gamut than the index color, and a correct evaluation can be obtained. However, colors outside the output gamut that have higher brightness and saturation than the index color are likely to be mapped to a very narrow area between the output color gamut boundary and the index color close to the boundary. , Crushing and inversion are likely to occur. That is, it cannot be said that a correct evaluation is obtained for a color outside the output color gamut.

このような問題から、色域マッピングの評価においては、最終的に、人間による主観的な判断で色の再現性、階調性、および、それらのバランスを評価することになる。   Due to such problems, in the evaluation of the color gamut mapping, the color reproducibility, the gradation, and the balance thereof are finally evaluated by human subjective judgment.

特開2004-038258公報JP2004-038258

本発明は、色域マッピングを定量的に評価して色変換データを生成することを目的とする。   An object of the present invention is to generate color conversion data by quantitatively evaluating a color gamut mapping.

本発明は、前記の目的を達成する一手段として、以下の構成を備える。   The present invention has the following configuration as one means for achieving the above object.

本発明にかかる色処理は、入力色域の画像データを出力色域にマッピングする色変換データを生成する際に、前記入力色域および前記出力色域の色再現情報を取得し、前記入力色域を前記出力色域に写像する色域写像データに基づき、前記入力色域の色再現情報に含まれる色値を前記出力色域に写像し、前記写像の結果に基づき、前記色域写像データによる写像の色の再現性および階調性の評価値を計算し、前記評価値に基づき選択される色域写像データから前記色変換データを生成することを特徴とする。   The color processing according to the present invention acquires the color reproduction information of the input color gamut and the output color gamut when generating color conversion data for mapping image data of the input color gamut to the output color gamut, and Based on color gamut mapping data that maps a color gamut to the output color gamut, color values included in color reproduction information of the input color gamut are mapped to the output color gamut, and based on the mapping result, the color gamut mapping data An evaluation value of reproducibility and gradation of the color of the mapping according to the above is calculated, and the color conversion data is generated from the color gamut mapping data selected based on the evaluation value.

本発明によれば、色域マッピングを定量的に評価して色変換データを生成することができる。   According to the present invention, color conversion data can be generated by quantitatively evaluating the color gamut mapping.

以下、本発明にかかる実施例の色処理を図面を参照して詳細に説明する。   Hereinafter, color processing according to an embodiment of the present invention will be described in detail with reference to the drawings.

[装置の構成]
図2は実施例の色処理装置の構成例を示すブロック図である。
[Device configuration]
FIG. 2 is a block diagram illustrating a configuration example of the color processing apparatus according to the embodiment.

CPU101は、メインメモリ102のRAMをワークメモリとして、メインメモリ102のROMやハードディスクドライブ(HDD)104に格納されたプログラムを実行して、後述する色処理を実行する。また、システムバス110を介して後述する構成を制御する。   The CPU 101 uses the RAM of the main memory 102 as a work memory, executes a program stored in the ROM of the main memory 102 or the hard disk drive (HDD) 104, and executes color processing to be described later. Further, the configuration described later is controlled via the system bus 110.

シリアルATAインタフェイス(SATA I/F)103は、HDD104のインタフェイスである。グラフィックアクセラレータ105は、モニタ106のインタフェイスである。キーボード/マウスコントローラ107は、キーボード108やマウス109などの入力デバイスのインタフェイスである。   A serial ATA interface (SATA I / F) 103 is an interface of the HDD 104. The graphic accelerator 105 is an interface of the monitor 106. A keyboard / mouse controller 107 is an interface for input devices such as a keyboard 108 and a mouse 109.

[画像の表示]
CPU101は、ユーザから画像処理アプリケーションの実行を指示されると、画像処理アプリケーションをHDD104からメインメモリ102にロードして起動し、画像処理アプリケーションのユーザインタフェイス(UI)をモニタ106に表示する。
[Display image]
When the CPU 101 is instructed to execute the image processing application by the user, the CPU 101 loads the image processing application from the HDD 104 to the main memory 102 and starts it, and displays the user interface (UI) of the image processing application on the monitor 106.

ユーザは、UIを操作して、例えばHDD104に格納された画像データ(例えば、各色符号無し8ビットのRGBデータ)の表示を指示する。この指示を受信したCPU101は、画像データをメインメモリ102にロードし、例えばsRGB空間の画像データに変換し、変換した画像データをグラフィックアクセラレータ105に転送する。グラフィックアクセラレータ105は、受信した画像データを画像メモリにレンダリングし、モニタ106用の画像信号に変換して、モニタ106に供給する。以上の処理により、ユーザが指示する画像データに対応する画像がモニタ106に表示される。   The user operates the UI to instruct display of, for example, image data stored in the HDD 104 (for example, 8-bit RGB data without each color code). Upon receiving this instruction, the CPU 101 loads the image data into the main memory 102, converts the image data into, for example, sRGB space image data, and transfers the converted image data to the graphic accelerator 105. The graphic accelerator 105 renders the received image data in an image memory, converts the image data into an image signal for the monitor 106, and supplies the image signal to the monitor 106. Through the above processing, an image corresponding to the image data instructed by the user is displayed on the monitor 106.

通常、画像データの色域は、スキャナやディジタルカメラのような画像入力デバイスの色域、または、画像入力デバイスに設定された色空間(例えばsRGB空間、scRGB空間、AdobeRGB空間など)によって決まる。上記では、表示すべき画像データをsRGB空間の画像データに変換する例を説明したが、表示すべき画像データをプリンタなどの画像出力デバイスの色域に変換することもできる。言い換えれば、画像出力デバイス用の色域マッピングを設定する場合、色処理装置上で色域マッピングの色の再現性や階調性を評価することができる。   Usually, the color gamut of image data is determined by the color gamut of an image input device such as a scanner or a digital camera, or the color space (for example, sRGB space, scRGB space, AdobeRGB space, etc.) set in the image input device. In the above description, the image data to be displayed is converted into the image data in the sRGB space. However, the image data to be displayed can be converted into the color gamut of an image output device such as a printer. In other words, when setting the color gamut mapping for the image output device, the color reproducibility and gradation of the color gamut mapping can be evaluated on the color processing apparatus.

[色域マッピングの評価]
図3は色域マッピングの評価手順の一例を示すフローチャートで、評価ソフトウェアに従いCPU101が実行する処理である。
[Evaluation of Gamut Mapping]
FIG. 3 is a flowchart showing an example of an evaluation procedure for color gamut mapping, which is a process executed by the CPU 101 in accordance with the evaluation software.

CPU101は、評価に使用する色再現情報が記述されたプロファイルのパス名を取得する(S201)。ユーザは、入力デバイスを使用して、画像入力デバイスおよび画像出力デバイスのプロファイルのパス名を指定する。   The CPU 101 acquires a path name of a profile in which color reproduction information used for evaluation is described (S201). The user uses the input device to specify the path names of the profile of the image input device and the image output device.

次に、CPU101は、ユーザ指示に従いHDD104などから画像入力デバイスおよび画像出力デバイスのプロファイルを取得する(S202)。そして、取得したプロファイルから入力色域の色再現情報(以下、入力色再現情報)および出力色域の色再現情報(以下、出力色再現情報)を抽出する(S203)。   Next, the CPU 101 acquires profiles of the image input device and the image output device from the HDD 104 or the like according to the user instruction (S202). Then, color reproduction information of the input color gamut (hereinafter referred to as input color reproduction information) and color reproduction information of the output color gamut (hereinafter referred to as output color reproduction information) are extracted from the acquired profile (S203).

図4は色再現情報のフォーマット例を示す図で、RGB空間に配置した格子点のRGB値と測色値Lab値の対応関係が記述される。なお、図4には、RGBをそれぞれ九階調に均等分割した格子点の色再現情報の例を示すが、階調数には何ら制限はないし、均等分割でなくてもよい。   FIG. 4 is a diagram showing a format example of color reproduction information, in which the correspondence between the RGB values of the grid points arranged in the RGB space and the colorimetric values Lab values are described. Note that FIG. 4 shows an example of color reproduction information of grid points obtained by equally dividing RGB into nine gradations, but the number of gradations is not limited at all and may not be divided equally.

次に、CPU101は、予め複数のGMAごとに用意された色域写像テーブル(色域写像データ)を用いて、入力色再現情報に記述されたLab値を、出力色域のLab値に写像した写像データを生成する(S204)。図5は写像データの一例を示す図で、入力Lab値(写像元のLab値)と出力Lab値(写像後のLab値)の対応関係が記述されている。   Next, the CPU 101 maps the Lab value described in the input color reproduction information to the Lab value of the output color gamut using a color gamut mapping table (color gamut mapping data) prepared in advance for each of a plurality of GMAs. Map data is generated (S204). FIG. 5 is a diagram showing an example of mapping data, in which a correspondence relationship between an input Lab value (Lab value of mapping source) and an output Lab value (Lab value after mapping) is described.

色域写像テーブルは、通常、ユーザが指定する画像入力デバイスと画像出力デバイスの間の色域マッピングが設定された色域写像テーブルである。また、一般的な画像入力デバイスと画像出力デバイスの間の色域マッピングを規定するデフォルトの色域写像テーブルでもよい。   The color gamut mapping table is usually a color gamut mapping table in which color gamut mapping between an image input device and an image output device specified by a user is set. Alternatively, a default color gamut mapping table that defines color gamut mapping between a general image input device and an image output device may be used.

また、GMAとしては、図1(a)〜(d)に示したGMAを用意する。さらに、色相を所定範囲で変化させて明度と彩度の圧縮率を軽減するGMAや、彩度、明度、色相を出力色域内の維持領域まで維持し、維持領域と色域境界の間を所定の明度関数と彩度関数を用いて滑らかにつなぐGMAなどを用意してもよい。   As the GMA, the GMA shown in FIGS. 1 (a) to 1 (d) is prepared. Furthermore, GMA that reduces the compression ratio of lightness and saturation by changing the hue within a predetermined range, and maintains the saturation, lightness, and hue up to the maintenance area in the output gamut, and a predetermined space between the maintenance area and the gamut boundary A GMA that connects smoothly using the brightness function and the saturation function may be prepared.

次に、CPU101は、詳細は後述するが、写像の結果によって得られる各色域写像テーブルに対応する写像データと、色再現情報から、各色域写像テーブルの評価値を算出する(S205)。そして、評価値をモニタ106に表示して、ユーザが指定する画像入力デバイスと画像出力デバイスの間の色域マッピングに最適または満足できる色域写像テーブルをユーザに選択させる(S206)。ユーザは、色の再現性および階調性に関する評価値を参照して、最適または満足できる色域写像テーブルを選択する。   Next, although details will be described later, the CPU 101 calculates the evaluation value of each color gamut mapping table from the mapping data corresponding to each color gamut mapping table obtained from the mapping result and the color reproduction information (S205). Then, the evaluation value is displayed on the monitor 106 to allow the user to select a color gamut mapping table that is optimal or satisfactory for color gamut mapping between the image input device and the image output device designated by the user (S206). The user selects an optimum or satisfactory color gamut mapping table with reference to evaluation values relating to color reproducibility and gradation.

次に、CPU101は、ユーザが色域写像テーブルを選択したか、最適または満足できる色域写像テーブルがないと判断したかを判定し(S207)、色域写像テーブルが選択された場合は処理をステップS209に進める。また、最適または満足できる色域写像テーブルがないと判断された場合は、色域写像テーブルの調整を行う(S208)。   Next, the CPU 101 determines whether the user has selected a color gamut mapping table or that there is no optimal or satisfactory color gamut mapping table (S207), and if a color gamut mapping table is selected, processing is performed. Proceed to step S209. If it is determined that there is no optimal or satisfactory color gamut mapping table, the color gamut mapping table is adjusted (S208).

次に、CPU101は、選択された色域写像テーブルまたは調整した色域写像テーブルを用いて、入力色再現情報に記述されたLab値を写像する。そして、画像出力デバイスのプロファイルを用いて、写像したLab値を画像出力デバイスのデバイス値(RGB値やCMYK値)に変換する。そして、画像入力デバイスのデバイス値と、画像出力デバイスのデバイス値の対応関係を記述した色変換テーブル(色変換データ)を生成する(S209)。   Next, the CPU 101 maps the Lab value described in the input color reproduction information using the selected color gamut mapping table or the adjusted color gamut mapping table. Then, using the profile of the image output device, the mapped Lab value is converted into a device value (RGB value or CMYK value) of the image output device. Then, a color conversion table (color conversion data) describing the correspondence between the device value of the image input device and the device value of the image output device is generated (S209).

次に、CPU101は、色変換テーブルを用いて、画像入力デバイスの、サンプル画像データまたはユーザが指定する画像データを色変換する。そして、色変換した画像データをモニタ106のプロファイルを使用してデバイスRGB値に変換し、グラフィックアクセラレータ105に出力することで、画像出力デバイスが出力する画像をモニタ106にプレビュー表示し(S210)、終了を処理する。   Next, the CPU 101 performs color conversion on the sample image data or the image data designated by the user of the image input device using the color conversion table. Then, the color-converted image data is converted into a device RGB value using the profile of the monitor 106, and output to the graphic accelerator 105, so that the image output by the image output device is previewed on the monitor 106 (S210), Handle termination.

●UI
図6は色域マッピングの評価においてモニタ106に表示されるUIの一例を示す図である。
● UI
FIG. 6 is a diagram illustrating an example of a UI displayed on the monitor 106 in color gamut mapping evaluation.

ユーザは、入力色域ボタン501を押して画像入力デバイスのプロファイルを指定し、出力色域ボタン502を押して画像出力デバイスのプロファイルを指定する。また、色域写像ボタン503を押して、複数の色域写像テーブルを用いた写像データの生成(S204)の実行を指示する。   The user presses the input color gamut button 501 to specify the profile of the image input device, and presses the output color gamut button 502 to specify the profile of the image output device. Further, the user presses a color gamut mapping button 503 to instruct execution of mapping data generation (S204) using a plurality of color gamut mapping tables.

ユーザは、特定色ボタン504を押して、ユーザがとくに重要視する色の情報が記述された特定色データを指定する。図7は特定色データのフォーマット例を示す図で、RGB値とLab値の対応が記述されたデータである。   The user presses a specific color button 504 to specify specific color data in which information on the color that is particularly important to the user is described. FIG. 7 is a diagram showing a format example of the specific color data, which is data describing correspondence between RGB values and Lab values.

ユーザは、階調評価ラインボタン505を押して、RGB値のグラデーション情報が記述された階調評価ラインデータを指定する。図8は階調評価ラインデータのフォーマット例を示す図で、評価対象の階調ライン(少なくとも1ライン)がRGB値によって記述されたデータである。この階調評価ラインに基づき階調性の評価値が算出される。従って、例えば一次色や二次色(R、G、B、C、M、Y)と、白色W、黒色Kまたは所定のグレイGの間を結ぶ階調ラインなど、ユーザが重視する階調ライン(通常は複数ライン)が階調評価ラインとして設定される。   The user presses the gradation evaluation line button 505 to specify gradation evaluation line data describing gradation information of RGB values. FIG. 8 is a diagram showing a format example of gradation evaluation line data, which is data in which gradation lines to be evaluated (at least one line) are described by RGB values. An evaluation value of gradation is calculated based on this gradation evaluation line. Therefore, for example, gradation lines that are important to the user, such as gradation lines connecting primary colors and secondary colors (R, G, B, C, M, Y) and white W, black K, or predetermined gray G (Normally a plurality of lines) is set as the gradation evaluation line.

ユーザは、評価値算出ボタン506を押して、各色域写像テーブルの評価値の算出(S205)の実行を指示する。   The user presses the evaluation value calculation button 506 to instruct execution of evaluation value calculation (S205) of each color gamut mapping table.

CPU101は、評価値表示部511に各色域写像テーブルに対応する評価値を表示する(S206)。ユーザは、評価値表示部511に配置されたラジオボタン512によって色域写像テーブルを選択することができる。   The CPU 101 displays an evaluation value corresponding to each color gamut mapping table on the evaluation value display unit 511 (S206). The user can select a color gamut mapping table by using a radio button 512 arranged on the evaluation value display unit 511.

ユーザは、最適または満足できる色域写像テーブルがないと判断した場合、色域写像調整ボタン507を押して、色域写像テーブルの調整(S208)の実行を指示する。この場合、ラジオボタン512によって選択されている色域写像テーブルが調整対象である。   If the user determines that there is no optimal or satisfactory color gamut mapping table, he presses the color gamut mapping adjustment button 507 to instruct execution of the color gamut mapping table adjustment (S208). In this case, the color gamut mapping table selected by the radio button 512 is the adjustment target.

ユーザは、画像読み込みボタン509を押してプレビュー表示する画像データを選択する。この場合、ラジオボタン512によって選択されている色域写像テーブルが、ユーザが最適または満足できると判断した色域写像テーブルである。   The user presses an image reading button 509 to select image data to be displayed for preview. In this case, the color gamut mapping table selected by the radio button 512 is the color gamut mapping table determined by the user to be optimal or satisfactory.

CPU101は、画像出力ボタン508が押されると、ラジオボタン512によって選択されている色域写像テーブルを使用して、プレビュー画像を表示部510に表示する(S210)。なお、表示部510に、入力画像データに対応する画像と、プレビュー画像、つまり、色変換前後の画像を並べて表示することもできる。ユーザは、重視するグラデーション(階調ライン)や色を含む画像をプレビュー表示することで、色の再現性、階調性の評価値と合わせて、色域マッピングを客観的に評価することができる。   When the image output button 508 is pressed, the CPU 101 displays a preview image on the display unit 510 using the color gamut mapping table selected by the radio button 512 (S210). Note that an image corresponding to the input image data and a preview image, that is, an image before and after color conversion can be displayed side by side on the display unit 510. The user can objectively evaluate the color gamut mapping together with the evaluation values of color reproducibility and gradation by previewing an image including a gradation (gradation line) or color to be emphasized. .

また、図には示さないが、色処理装置にUSBなどのインタフェイスを介して画像出力デバイスを接続し、UIに画像出力ボタンを用意すれば、プレビュー画像に対応する画像を画像出力デバイスに出力させることができる。   Although not shown in the figure, if an image output device is connected to the color processing device via an interface such as USB and an image output button is prepared on the UI, an image corresponding to the preview image is output to the image output device. Can be made.

●評価値の算出
図9は色の再現性および階調性の評価値の算出処理(S205)を説明するフローチャートである。
Evaluation Value Calculation FIG. 9 is a flowchart for explaining the color reproducibility and gradation evaluation value calculation processing (S205).

CPU101は、一つの色域写像テーブルに対応する写像データを取得し(S901)、写像後のLab値と入力色再現情報のLab値の間の色差の平均値を計算する(S902)。さらに、ユーザが特定色データを指定した場合、写像後のLab値と特定色のLab値の間の色差値を計算する(S903)。その際、特定色のRGB値に対応する入力再現情報のRGB値が存在しない場合は、色差値の計算対象になる写像後のLab値が存在しない。そこで、四面体補間などを用いて、写像後のLab値から特定色に対応する写像後のLab値を計算し、色差値を計算する。   The CPU 101 acquires mapping data corresponding to one color gamut mapping table (S901), and calculates an average value of color differences between the Lab value after mapping and the Lab value of the input color reproduction information (S902). Further, when the user designates specific color data, a color difference value between the Lab value after mapping and the Lab value of the specific color is calculated (S903). At this time, if there is no RGB value of the input reproduction information corresponding to the RGB value of the specific color, there is no mapped Lab value that is a calculation target of the color difference value. Therefore, by using tetrahedral interpolation or the like, the Lab value after mapping corresponding to the specific color is calculated from the Lab value after mapping, and the color difference value is calculated.

次に、CPU101は、後述する方法により、階調性の評価値を計算し(S904)、すべての色域写像テーブルについて評価値を算出したか否かを判定する(S905)。評価値が未算出の色域写像テーブルがあれば処理をステップS902に戻す。   Next, the CPU 101 calculates the evaluation value of gradation by a method described later (S904), and determines whether or not the evaluation value has been calculated for all the color gamut mapping tables (S905). If there is a color gamut mapping table whose evaluation value has not been calculated, the process returns to step S902.

すべての色域写像テーブルについて評価値を算出すると、CPU101は、評価値を評価値表示部511に表示する(S906)。   When the evaluation values are calculated for all the color gamut mapping tables, the CPU 101 displays the evaluation values on the evaluation value display unit 511 (S906).

●階調性の評価値の計算
図10は階調性の評価値の算出(S904)の詳細を説明するフローチャートである。
Calculation of Tone Evaluation Value FIG. 10 is a flowchart for explaining details of the tonality evaluation value calculation (S904).

CPU101は、ユーザが階調評価ラインデータを指定した場合、階調評価ラインデータから一連のRGB値を取得し(S1002)、一連のRGB値に対応する写像前後のLab値を取得する(S1003)。その際、一連のRGB値に対応する入力再現情報のRGB値が存在しない場合は、四面体補間などを用いて、写像前後のLab値から一連のRGB値に対応する写像前後のLab値を計算する。   When the user designates gradation evaluation line data, the CPU 101 acquires a series of RGB values from the gradation evaluation line data (S1002), and acquires Lab values before and after mapping corresponding to the series of RGB values (S1003). . At that time, if there is no RGB value of input reproduction information corresponding to a series of RGB values, Lab values before and after mapping corresponding to a series of RGB values are calculated from Lab values before and after mapping using tetrahedral interpolation, etc. To do.

次に、CPU101は、取得した写像前後のLab値から、階調評価ラインの隣接する色の間の明度変化(明度差)、彩度変化(彩度差)、色の変化(色差)を計算する(S1004)。そして、明度差、彩度差、色差から、後述する方法によって、階調劣化指数を計算する(S1005)。そして、ユーザが指定する階調評価ラインのすべてについて、階調劣化指数を計算したか否かを判定し(S1006)、階調劣化指数が未計算の階調評価ラインがあれば処理をステップS1002に戻す。   Next, the CPU 101 calculates brightness change (lightness difference), saturation change (saturation difference), and color change (color difference) between adjacent colors in the gradation evaluation line from the acquired Lab values before and after mapping. (S1004). Then, a gradation deterioration index is calculated from the brightness difference, saturation difference, and color difference by a method described later (S1005). Then, it is determined whether or not the gradation deterioration index has been calculated for all of the gradation evaluation lines specified by the user (S1006), and if there is a gradation evaluation line for which the gradation deterioration index has not been calculated, the process is performed in step S1002. Return to.

すべての階調評価ラインについて階調劣化指数を計算すると、CPU101は、階調劣化指数を総和して階調性の評価値とする(S1007)。   When the gradation deterioration index is calculated for all gradation evaluation lines, the CPU 101 sums up the gradation deterioration indices to obtain a gradation evaluation value (S1007).

●階調劣化指数の計算
階調性の数値化(評価値の計算)には、人間の知覚限界または許容限界に基づく閾値によって、階調評価ラインの隣接する色の間における局所的な階調性を数値化する手法を用いる。
● Calculation of gradation degradation index To quantify gradation (evaluation value calculation), the local gradation between adjacent colors of the gradation evaluation line is determined by a threshold based on human perception limit or tolerance limit. A method of quantifying sex is used.

図11は階調劣化指数の計算を説明するフローチャートである。   FIG. 11 is a flowchart for explaining the calculation of the gradation deterioration index.

CPU11は、許容ランクテーブルを取得する(S1102)。図12は許容ランクテーブルを説明する図である。許容ランクテーブルは、人間の視覚が色の違いを感じる色差の程度をランク付けした情報を示すテーブルである。   The CPU 11 acquires an allowable rank table (S1102). FIG. 12 is a diagram for explaining an allowable rank table. The permissible rank table is a table showing information that ranks the degree of color difference in which human vision feels a color difference.

次に、CPU11は、許容ランクテーブルを用いて、ステップS1004において計算した、階調評価ラインの隣接する色の間の色差について色差ランクを決定する(S1103)。そして、ステップS1004において計算した、階調評価ラインの隣接する色の間の色差について色差ランクを決定する(S1104)。   Next, the CPU 11 determines a color difference rank for the color difference between adjacent colors of the gradation evaluation line calculated in step S1004 using the allowable rank table (S1103). Then, a color difference rank is determined for the color difference between adjacent colors calculated in step S1004 (S1104).

次に、CPU11は、階調評価ラインの隣接する色の間の、写像前後の色差ランクの変化を調べる。そして、色差ランクに違いがなければ0、色差ランクが一つ異なれば-1、色差ランクが二つ異なれば-2、…として、色差ランクの差に相当する負の数値を合計して階調劣化指数にする(S1105)。   Next, the CPU 11 checks the change in the color difference rank before and after mapping between adjacent colors in the gradation evaluation line. And, if there is no difference in the color difference rank, 0, 1 if the color difference rank is different, -2 if the color difference rank is different, -2, ... Deterioration index is set (S1105).

図13は階調評価ラインの隣接する色の間の、写像前後の色差ランクおよび写像劣化指数をを示す図である。   FIG. 13 is a diagram showing a color difference rank before and after mapping and a mapping degradation index between adjacent colors of the gradation evaluation line.

次に、CPU11は、ステップS1004において計算した、階調評価ラインの隣接する色の間の、写像前後の明度差、彩度差を調べて、彩度または明度の反転があるか否かを判定する(S1106)。そして、反転がある場合は階調劣化指数に-α(例えば-5)を加える(S1107)。   Next, the CPU 11 examines the brightness difference and saturation difference between adjacent colors of the gradation evaluation line calculated in step S1004 to determine whether there is a saturation or brightness inversion. (S1106). If there is inversion, -α (for example, -5) is added to the gradation deterioration index (S1107).

このように、色域マッピングの色の再現性および階調性を示す定量的な評価値を図6に示すUIに表示することができる。ユーザは、重視する色の再現性だけでなく、重視する階調ラインの階調性の評価値を参照することで、より望ましい色の再現性と階調性を示す色域マッピングを正確かつ容易に選択することができる。   In this way, quantitative evaluation values indicating the color reproducibility and gradation of color gamut mapping can be displayed on the UI shown in FIG. Users can accurately and easily perform color gamut mapping that shows more desirable color reproducibility and gradation by referring to the evaluation value of the gradation of the important gradation line as well as the reproducibility of the important color. Can be selected.

[変形例]
実施例1では、写像色空間にCIELab空間を利用する例を示したが、CIEJCh空間のような他の均等色空間、CIEXYZ空間のような非均等色空間、あるいは、デバイスに依存するRGB空間なども利用可能である。
[Modification]
In the first embodiment, the CIELab space is used as the mapping color space. However, other uniform color spaces such as the CIEJCh space, non-uniform color spaces such as the CIEXYZ space, or device-dependent RGB spaces, etc. Is also available.

上記では、階調性の数値化に、人間の知覚限界または許容限界に基づく図12に示す許容ランクテーブルを使用する例を説明したが、色差に応じた人間の視覚特性を表現する数値であれば何を使用してもよい。また、共用ランクテーブルのような絶対値を用いて数値化する方法ではなく、目標とする階調間の差分の相対値に基づいて、階調性を数値化してもよい。また、色差ランクの違いに対する数値や、明度または彩度が反転する場合の数値についても、人間の視覚特性に、より一致する数値化方法を用いてもよい。   In the above description, the example of using the tolerance rank table shown in FIG. 12 based on the human perception limit or tolerance limit has been described for the gradation conversion, but any numerical value representing human visual characteristics according to the color difference may be used. Anything can be used. Further, the gradation property may be numerically expressed based on the relative value of the difference between the target gradations, instead of using the absolute value as in the common rank table. In addition, a numerical method that more closely matches human visual characteristics may also be used for numerical values for differences in color difference ranks, and numerical values when brightness or saturation is inverted.

[他の実施例]
なお、本発明は、複数の機器(例えばコンピュータ、インタフェイス機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置、制御装置など)に適用してもよい。
[Other embodiments]
Note that the present invention can be applied to a system constituted by a plurality of devices (for example, a computer, an interface device, a reader, a printer, etc.), but an apparatus (for example, a copier, a facsimile machine, a control device) composed of a single device. Etc.).

また、本発明の目的は、上記実施例の機能を実現するコンピュータプログラムを記録した記憶媒体をシステムまたは装置に供給し、そのシステムまたは装置のコンピュータ(CPUやMPU)が前記コンピュータプログラムを実行することでも達成される。この場合、記憶媒体から読み出されたソフトウェア自体が上記実施例の機能を実現することになり、そのコンピュータプログラムと、そのコンピュータプログラムを記憶する、コンピュータが読み取り可能な記憶媒体は本発明を構成する。   Another object of the present invention is to supply a storage medium storing a computer program for realizing the functions of the above-described embodiments to a system or apparatus, and the computer (CPU or MPU) of the system or apparatus executes the computer program. But it is achieved. In this case, the software read from the storage medium itself realizes the functions of the above embodiments, and the computer program and the computer-readable storage medium storing the computer program constitute the present invention. .

また、前記コンピュータプログラムの実行により上記機能が実現されるだけではない。つまり、そのコンピュータプログラムの指示により、コンピュータ上で稼働するオペレーティングシステム(OS)および/または第一の、第二の、第三の、…プログラムなどが実際の処理の一部または全部を行い、それによって上記機能が実現される場合も含む。   Further, the above functions are not only realized by the execution of the computer program. That is, according to the instruction of the computer program, the operating system (OS) and / or the first, second, third,... This includes the case where the above function is realized.

また、前記コンピュータプログラムがコンピュータに接続された機能拡張カードやユニットなどのデバイスのメモリに書き込まれていてもよい。つまり、そのコンピュータプログラムの指示により、第一の、第二の、第三の、…デバイスのCPUなどが実際の処理の一部または全部を行い、それによって上記機能が実現される場合も含む。   The computer program may be written in a memory of a device such as a function expansion card or unit connected to the computer. That is, it includes the case where the CPU of the first, second, third,... Device performs part or all of the actual processing according to the instructions of the computer program, thereby realizing the above functions.

本発明を前記記憶媒体に適用する場合、その記憶媒体には、先に説明したフローチャートに対応または関連するコンピュータプログラムが格納される。   When the present invention is applied to the storage medium, the storage medium stores a computer program corresponding to or related to the flowchart described above.

代表的な色域マッピングアルゴリズムを示す図、A diagram showing a typical color gamut mapping algorithm, 実施例の色処理装置の構成例を示すブロック図、A block diagram showing a configuration example of a color processing apparatus of an embodiment, 色域マッピングの評価手順の一例を示すフローチャート、A flowchart showing an example of a color gamut mapping evaluation procedure, 色再現情報のフォーマット例を示す図、The figure which shows the format example of color reproduction information, 写像データの一例を示す図、A diagram showing an example of mapping data, 色域マッピングの評価においてモニタに表示されるUIの一例を示す図、The figure which shows an example of UI displayed on a monitor in evaluation of color gamut mapping, 特定色データのフォーマット例を示す図、The figure which shows the format example of specific color data, 階調評価ラインデータのフォーマット例を示す図、The figure which shows the format example of gradation evaluation line data, 色の再現性および階調性の評価値の算出処理を説明するフローチャート、A flowchart for explaining calculation processing of evaluation values of color reproducibility and gradation, 階調性の評価値の算出の詳細を説明するフローチャート、A flowchart for explaining the details of the calculation of the evaluation value of gradation, 階調劣化指数の計算を説明するフローチャート、A flowchart for explaining the calculation of the gradation deterioration index; 許容ランクテーブルを説明する図、A diagram explaining the allowable rank table, 階調評価ラインの隣接する色の間の、写像前後の色差ランクおよび写像劣化指数をを示す図である。It is a figure which shows the color difference rank before a mapping, and a mapping degradation index | exponent between the adjacent colors of a gradation evaluation line.

Claims (9)

入力色域の画像データを出力色域にマッピングする色変換データを生成する色処理装置であって、
前記入力色域および前記出力色域の色再現情報を取得する取得手段と、
前記入力色域を前記出力色域に写像する色域写像データに基づき、前記入力色域の色再現情報に含まれる色値を前記出力色域に写像する写像手段と、
前記写像の結果に基づき、前記色域写像データによる写像の色の再現性および階調性の評価値を計算する計算手段と、
前記評価値に基づき選択される色域写像データから前記色変換データを生成する生成手段とを有することを特徴とする色処理装置。
A color processing device that generates color conversion data for mapping image data of an input color gamut to an output color gamut,
Obtaining means for obtaining color reproduction information of the input color gamut and the output color gamut;
Mapping means for mapping a color value included in color reproduction information of the input color gamut to the output color gamut based on color gamut mapping data mapping the input color gamut to the output color gamut;
Based on the result of the mapping, calculation means for calculating evaluation values of reproducibility and gradation of the color of the mapping based on the gamut mapping data;
A color processing apparatus comprising: generating means for generating the color conversion data from color gamut mapping data selected based on the evaluation value.
前記写像手段は複数の色域写像データによって前記写像を行い、前記計算手段は前記複数の色域写像データごとに前記評価値を計算することを特徴とする請求項1に記載された色処理装置。   2. The color processing apparatus according to claim 1, wherein the mapping unit performs the mapping with a plurality of color gamut mapping data, and the calculation unit calculates the evaluation value for each of the plurality of color gamut mapping data. . 前記複数の色域写像データはそれぞれ色域マッピングアルゴリズムが異なることを特徴とする請求項2に記載された色処理装置。   3. The color processing apparatus according to claim 2, wherein each of the plurality of color gamut mapping data has a different color gamut mapping algorithm. 前記計算手段は、人間の知覚限界または許容限界に基づいた閾値により、階調評価ラインの局所的な階調性を数値化して、前記階調性の評価値を得ることを特徴とする請求項1から請求項3の何れか一項に記載された色処理装置。   The calculation means obtains an evaluation value of the gradation by quantifying a local gradation of a gradation evaluation line using a threshold based on a human perception limit or an allowable limit. 4. The color processing apparatus according to any one of claims 1 to 3. 前記計算手段は、前記写像の結果に基づき、階調評価ラインの局所的な明度変化、彩度変化、色の変化を計算して、それら変化から前記階調性の評価値を得ることを特徴とする請求項1から請求項3の何れか一項に記載された色処理装置。   The calculation means calculates a local brightness change, saturation change, and color change of a tone evaluation line based on the mapping result, and obtains the tone evaluation value from the change. 4. The color processing apparatus according to claim 1, wherein: さらに、前記階調評価ラインを示すデータを設定する設定手段を有することを特徴とする請求項4または請求項5に記載された色処理装置。   6. The color processing apparatus according to claim 4, further comprising setting means for setting data indicating the gradation evaluation line. 入力色域の画像データを出力色域にマッピングする色変換データを生成する色処理方法であって、
前記入力色域および前記出力色域の色再現情報を取得し、
前記入力色域を前記出力色域に写像する色域写像データに基づき、前記入力色域の色再現情報に含まれる色値を前記出力色域に写像し、
前記写像の結果に基づき、前記色域写像データによる写像の色の再現性および階調性の評価値を計算し、
前記評価値に基づき選択される色域写像データから前記色変換データを生成することを特徴とする色処理方法。
A color processing method for generating color conversion data for mapping image data of an input color gamut to an output color gamut,
Obtaining color reproduction information of the input color gamut and the output color gamut;
Based on the color gamut mapping data that maps the input color gamut to the output color gamut, the color value included in the color reproduction information of the input color gamut is mapped to the output color gamut,
Based on the result of the mapping, the evaluation value of the reproducibility and gradation of the color of the mapping based on the gamut mapping data is calculated,
A color processing method, wherein the color conversion data is generated from color gamut mapping data selected based on the evaluation value.
コンピュータ装置を制御して、請求項1から請求項6の何れか一項に記載された色処理装置の各手段として機能させることを特徴とするコンピュータプログラム。   7. A computer program for controlling a computer device to function as each unit of the color processing device according to claim 1. 請求項8に記載されたコンピュータプログラムが記録されたことを特徴とするコンピュータが読み取り可能な記憶媒体。   9. A computer-readable storage medium in which the computer program according to claim 8 is recorded.
JP2007201096A 2007-08-01 2007-08-01 Color processing apparatus and method Withdrawn JP2009038593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007201096A JP2009038593A (en) 2007-08-01 2007-08-01 Color processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007201096A JP2009038593A (en) 2007-08-01 2007-08-01 Color processing apparatus and method

Publications (1)

Publication Number Publication Date
JP2009038593A true JP2009038593A (en) 2009-02-19

Family

ID=40440128

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007201096A Withdrawn JP2009038593A (en) 2007-08-01 2007-08-01 Color processing apparatus and method

Country Status (1)

Country Link
JP (1) JP2009038593A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011061542A (en) * 2009-09-10 2011-03-24 Fujifilm Corp Color information processor and its program
JP2019153900A (en) * 2018-03-02 2019-09-12 キヤノン株式会社 Image processing device, image processing method, and program
JP2021111851A (en) * 2020-01-08 2021-08-02 シャープ株式会社 System and image processing device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011061542A (en) * 2009-09-10 2011-03-24 Fujifilm Corp Color information processor and its program
US8743436B2 (en) 2009-09-10 2014-06-03 Fujifilm Corporation Color information processing apparatus and recording medium
JP2019153900A (en) * 2018-03-02 2019-09-12 キヤノン株式会社 Image processing device, image processing method, and program
JP7057159B2 (en) 2018-03-02 2022-04-19 キヤノン株式会社 Image processing equipment, image processing methods and programs
JP2021111851A (en) * 2020-01-08 2021-08-02 シャープ株式会社 System and image processing device
JP7346310B2 (en) 2020-01-08 2023-09-19 シャープ株式会社 System and image processing device

Similar Documents

Publication Publication Date Title
JP4367943B2 (en) Color processing apparatus and method
JP4779843B2 (en) Color conversion lookup table creation device, color conversion lookup table creation method, and color conversion lookup table creation program
US20010035989A1 (en) Method, apparatus and recording medium for color correction
JP5329920B2 (en) Color processing apparatus and method
JP4263131B2 (en) Color conversion method and image processing apparatus
US8260045B2 (en) Color correction coefficient generator, color correction coefficient generation method and computer readable medium
US7333136B2 (en) Image processing apparatus for carrying out tone conversion processing and color correction processing using a three-dimensional look-up table
JP2006345099A (en) Image processing apparatus and image processing method
JP4656006B2 (en) Color conversion apparatus and color conversion program
JP2007274584A (en) Color processing method and device thereof
JP2014165656A (en) Color profile generation device, image processing apparatus, image processing system, color profile generation method and program
US7986448B2 (en) Image processing apparatus and image processing method for the same
JP4803122B2 (en) Color processing apparatus and program
JP2006211093A (en) Color correction apparatus, color correction method, program, and recording medium
KR20050109663A (en) Method and apparatus for creating profile
JP4944413B2 (en) Information processing method, computer program, computer-readable storage medium, and information processing apparatus
JPH11196285A (en) Image processing method, device and recording medium
JP2009038593A (en) Color processing apparatus and method
JP2020203454A (en) Image processing device and image forming device
JP5159565B2 (en) Color processing apparatus and method
JP4985162B2 (en) Color gamut generation device, color gamut generation program, and color conversion device
JP2004200938A (en) Image processor and image processing method
JP2008148163A (en) Color processing apparatus and method thereof
JP4023417B2 (en) Image processing using LUT
JP2008042835A (en) Image processor, image processing method, program, and recording medium

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20101005