JP2010251940A - Image processor, image processing method, and program - Google Patents

Image processor, image processing method, and program Download PDF

Info

Publication number
JP2010251940A
JP2010251940A JP2009097709A JP2009097709A JP2010251940A JP 2010251940 A JP2010251940 A JP 2010251940A JP 2009097709 A JP2009097709 A JP 2009097709A JP 2009097709 A JP2009097709 A JP 2009097709A JP 2010251940 A JP2010251940 A JP 2010251940A
Authority
JP
Japan
Prior art keywords
lookup table
color space
input
value
creating
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
JP2009097709A
Other languages
Japanese (ja)
Inventor
Shuji Okano
修治 岡野
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2009097709A priority Critical patent/JP2010251940A/en
Publication of JP2010251940A publication Critical patent/JP2010251940A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Image Processing (AREA)
  • Color Television Image Signal Generators (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To efficiently prepare a profile that gives a correspondence relation between a colorimetric value and image data. <P>SOLUTION: A simple lattice 3D-LUT creating part 84 creates a lookup table defining a correspondence relation between an input color space and a target color space on the basis of a correspondence relation between the colorimetric value of a plurality of color patches and an input value obtained by inputting the color patches by an image input device. A lightness function creating part 85 creates a lightness function for converting lightness of the input value defined in the lookup table so as to minimize a color difference between itself and the colorimetric value. A profile creating part 78 creates a profile on the basis of the lookup table with the lightness function applied therein. The lightness function creating part 85 determines a knee point in the lightness function on the basis of a knee angle of the average lightness function of the lightness functions that have been already created and the output value of the knee point. This image processor is applicable to a personal computer. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、画像処理装置、画像処理方法、およびプログラムに関する。   The present invention relates to an image processing device, an image processing method, and a program.

コンピューターの入力装置によって入力された色が出力装置にて出力される際に、装置固有の特性によらず出力色が入力色と同じ色として再現されるようにする、ICC(International Color Consortium)規格の採用が進んでいる。このICC規格では、各入出力装置に対してカラーチャートの測色値と画像データとの対応関係を与えるプロファイルデータが与えられ、各入出力装置の画像データがこのプロファイルを介して基準となる測色値と対応付けられることによって各機器に依存しない発色が行われる。   An ICC (International Color Consortium) standard that, when a color input by a computer input device is output by an output device, the output color is reproduced as the same color as the input color regardless of the device-specific characteristics Adoption is progressing. In this ICC standard, profile data giving a correspondence relationship between the colorimetric values of the color chart and image data is given to each input / output device, and the image data of each input / output device is used as a reference measurement via this profile. Coloring independent of each device is performed by being associated with the color value.

たとえば、デジタルスチルカメラで使用される機器依存色空間を非依存色空間に変換し、さらにシーン別の色補正を行うプロファイルを作成する手法が提案されている(特許文献1参照)。   For example, a method has been proposed in which a device-dependent color space used in a digital still camera is converted into an independent color space and a profile for performing color correction for each scene is created (see Patent Document 1).

特開2007− 258868号公報JP 2007-258868 A

しかしながら、機器依存色空間を非依存色空間に変換するためのプロファイル作成においては、必要なパラメーター(たとえば明度関数等)は、通常、ユーザがいままでの経験に基づいて感覚的に決定していた。その結果が所望の画像を得るのに時間を要したり、出来上がりにバラツキが生じることがあった。   However, in creating a profile for converting a device-dependent color space into an independent color space, the necessary parameters (for example, brightness function) are usually determined sensuously by the user based on previous experience. . As a result, it may take time to obtain a desired image, and variations may be produced in the finished image.

本発明は、このような状況に鑑みてなされたものであり、プロファイルを効果的に生成できるようにするものである。   The present invention has been made in view of such a situation, and makes it possible to effectively generate a profile.

本発明の一側面の画像処理装置は、画像入力機器が使用する入力色空間と所定の目的色空間との対応関係を規定したプロファイルを作成する画像処理装置において、複数のカラーパッチの測色値と、カラーパッチを画像入力機器によって入力した入力値との対応関係に基づいて入力色空間と目的色空間との対応関係を規定するルックアップテーブルを作成するルックアップテーブル作成手段と、ルックアップテーブルに規定する入力値の明度を、測色値との色差が最小となるように変換するための明度関数を作成する明度関数作成手段と、明度関数が適用されたルックアップテーブルに基づいて、プロファイルを作成するプロファイル作成手段とを有し、明度関数作成手段は、明度関数におけるニーポイントを、すでに作成した明度関数の平均の明度関数のニー角度とニーポイントの出力値に基づいて決定し、ルックアップテーブル作成手段は、測色値と入力値との対応関係に基づいて入力色空間と目的色空間との対応関係を規定するマトリクスを作成し、マトリクスにより規定される入力色空間と目的色空間との対応関係が格納される単格子3次元ルックアップテーブルを作成し、マトリクスを使用して入力色空間の白色点を変換することにより得られる白色明度に基づいて単格子3次元ルックアップテーブルに規定する目的色空間の各色彩値の明度を正規化し、単格子3次元ルックアップテーブルを適用して多格子ルックアップテーブルを作成し、多格子ルックアップテーブルに明度関数を適用することを特徴とする。   An image processing apparatus according to an aspect of the present invention provides a colorimetric value of a plurality of color patches in an image processing apparatus that creates a profile that defines a correspondence relationship between an input color space used by an image input device and a predetermined target color space. And a lookup table creating means for creating a lookup table that defines the correspondence between the input color space and the target color space based on the correspondence between the color patch and the input value input by the image input device, and the lookup table Profile based on a brightness function creation means for creating a brightness function for converting the brightness of the input value specified in to a colorimetric value so as to minimize the color difference, and a lookup table to which the brightness function is applied And a brightness function creating means that calculates a knee point in the brightness function as a result of the brightness function already created. The look-up table creation means determines the correspondence between the input color space and the target color space based on the correspondence between the colorimetric value and the input value. Create a specified matrix, create a single-grid three-dimensional lookup table that stores the correspondence between the input color space specified by the matrix and the target color space, and use the matrix to determine the white point of the input color space Based on the white brightness obtained by conversion, the brightness of each color value of the target color space defined in the single grid three-dimensional lookup table is normalized, and the single grid three-dimensional lookup table is applied to the multi-grid lookup table. And applying a brightness function to the multi-grid lookup table.

その大きさに応じて色相および彩度が補正される重み係数について、明度関数の非線形部分に、出力値の大きさに反比例した大きさの重み係数を作成する重み係数作成手段をさらに有し、プロファイル作成手段は、重み係数作成手段により作成された重み係数を適用したルックアップテーブルに基づいて、プロファイルを作成することができる。   For the weighting coefficient whose hue and saturation are corrected according to the magnitude, the weighting function creating means for creating a weighting coefficient having a magnitude inversely proportional to the magnitude of the output value in the nonlinear part of the brightness function, The profile creation unit can create a profile based on a lookup table to which the weighting factor created by the weighting factor creation unit is applied.

マトリクス、明度関数、または重み係数の出力指示を受け付ける入力部を有する操作画面を表示する表示制御手段と、入力部により受け付けられた指示に応じて、マトリクス、明度関数、重み係数を出力するパラメーター出力手段とをさらに有することができる。   Display control means for displaying an operation screen having an input unit for receiving a matrix, lightness function, or weighting factor output instruction, and parameter output for outputting a matrix, a lightness function, or a weighting factor according to the instruction received by the input unit Means.

ルックアップテーブル作成手段は、明度関数を適用しないようにすることができる。   The look-up table creation means can avoid applying the brightness function.

本発明の一側面の画像処理方法、またはプログラムは、画像入力機器が使用する入力色空間と所定の目的色空間との対応関係を規定したプロファイルを作成する場合において、複数のカラーパッチの測色値と、カラーパッチを画像入力機器によって入力した入力値との対応関係に基づいて入力色空間と目的色空間との対応関係を規定するルックアップテーブルを作成するルックアップテーブル作成ステップと、ルックアップテーブルに規定する入力値の明度を、測色値との色差が最小となるように変換するための明度関数を作成する明度関数作成ステップと、明度関数が適用されたルックアップテーブルに基づいて、プロファイルを作成するプロファイル作成ステップとを含み、明度関数作成ステップは、明度関数におけるニーポイントを、すでに作成した明度関数の平均の明度関数のニー角度とニーポイントの出力値に基づいて決定し、ルックアップテーブル作成ステップは、測色値と入力値との対応関係に基づいて入力色空間と目的色空間との対応関係を規定するマトリクスを作成し、マトリクスにより規定される入力色空間と目的色空間との対応関係が格納される単格子3次元ルックアップテーブルを作成し、マトリクスを使用して入力色空間の白色点を変換することにより得られる白色明度に基づいて単格子3次元ルックアップテーブルに規定する目的色空間の各色彩値の明度を正規化し、単格子3次元ルックアップテーブルを適用して多格子ルックアップテーブルを作成し、多格子ルックアップテーブルに明度関数を適用することを特徴とする。   An image processing method or program according to an aspect of the present invention provides a colorimetric measurement of a plurality of color patches when creating a profile that defines a correspondence relationship between an input color space used by an image input device and a predetermined target color space. A lookup table creation step for creating a lookup table for defining the correspondence between the input color space and the target color space based on the correspondence between the value and the input value obtained by inputting the color patch by the image input device; Based on the brightness function creation step that creates a brightness function for converting the brightness of the input value specified in the table so that the color difference from the colorimetric value is minimized, and a lookup table to which the brightness function is applied, A profile creation step for creating a profile, wherein the brightness function creation step calculates a knee point in the brightness function, Based on the average brightness function knee angle and the output value of the knee point of the brightness function created in step 2, the lookup table creation step determines the input color space based on the correspondence between the colorimetric value and the input value. Create a matrix that defines the correspondence with the target color space, create a single-grid three-dimensional lookup table that stores the correspondence between the input color space defined by the matrix and the target color space, and use the matrix Based on the white brightness obtained by converting the white point of the input color space, the brightness of each color value in the target color space defined in the single grid three-dimensional lookup table is normalized, and the single grid three-dimensional lookup table is A multi-grid look-up table is created by application, and a brightness function is applied to the multi-grid look-up table.

本発明の一側面の画像処理装置、画像処理方法、またはプログラムにおいては、複数のカラーパッチの測色値と、カラーパッチを画像入力機器によって入力した入力値との対応関係に基づいて入力色空間と目的色空間との対応関係を規定するルックアップテーブルが作成され、ルックアップテーブルに規定する入力値の明度を、測色値との色差が最小となるように変換するための明度関数が作成され、明度関数が適用されたルックアップテーブルに基づいて、プロファイルが作成され、明度関数作成において、明度関数におけるニーポイントが、すでに作成した明度関数の平均の明度関数のニー角度とニーポイントの出力値に基づいて決定され、ルックアップテーブル作成において、測色値と入力値との対応関係に基づいて入力色空間と目的色空間との対応関係を規定するマトリクスが作成され、マトリクスにより規定される入力色空間と目的色空間との対応関係が格納される単格子3次元ルックアップテーブルが作成され、マトリクスを使用して入力色空間の白色点を変換することにより得られる白色明度に基づいて単格子3次元ルックアップテーブルに規定する目的色空間の各色彩値の明度が正規化され、単格子3次元ルックアップテーブルを適用して多格子ルックアップテーブルが作成され、多格子ルックアップテーブルに明度関数が適用される。   In the image processing apparatus, the image processing method, or the program according to one aspect of the present invention, the input color space is based on the correspondence between the colorimetric values of the plurality of color patches and the input values obtained by inputting the color patches by the image input device. A lookup table that defines the correspondence between the target color space and the target color space is created, and a brightness function is created to convert the brightness of the input value defined in the lookup table so that the color difference from the colorimetric value is minimized. A profile is created based on the lookup table to which the lightness function is applied, and in the lightness function creation, the knee point in the lightness function is the average lightness function knee angle and knee point output of the lightness function already created The input color space and the purpose based on the correspondence between the colorimetric value and the input value. A matrix that defines the correspondence with the space is created, and a single-grid three-dimensional lookup table that stores the correspondence between the input color space defined by the matrix and the target color space is created and input using the matrix The brightness of each color value in the target color space specified in the single grid 3D lookup table is normalized based on the white brightness obtained by converting the white point of the color space, and the single grid 3D lookup table is applied. Thus, a multi-grid look-up table is created, and a brightness function is applied to the multi-grid look-up table.

本発明によれば、測色値と画像データとの対応関係を与えるプロファイルを効率的に作成することができる。   According to the present invention, it is possible to efficiently create a profile that gives a correspondence between colorimetric values and image data.

本発明の実施の形態にかかるコンピューターの構成例を示すブロック図である。It is a block diagram which shows the structural example of the computer concerning embodiment of this invention. カラーチャートCCを示す図である。It is a figure which shows the color chart CC. 図1のコンピューターにおいて実行されるプログラムのソフトウェア構成例を示すブロック図である。It is a block diagram which shows the software structural example of the program run in the computer of FIG. 単格子3D−LUT作成処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a single lattice 3D-LUT creation process. 単格子3D−LUTの構造例を示す図である。It is a figure which shows the structural example of single grating | lattice 3D-LUT. 正規化の様子を示す図である。It is a figure which shows the mode of normalization. 明度関数作成処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a brightness function creation process. 明度関数作成処理を説明する図である。It is a figure explaining a brightness function creation process. 明度関数作成処理を説明する他の図である。It is another figure explaining a brightness function creation process. 明度関数作成処理を説明する他の図である。It is another figure explaining a brightness function creation process. 明度関数作成処理を説明する他の図である。It is another figure explaining a brightness function creation process. 明度関数作成処理を説明する他の図である。It is another figure explaining a brightness function creation process. HSB重み係数作成処理を説明する図である。It is a figure explaining HSB weighting coefficient creation processing. 図3の撮影データ再現部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the imaging | photography data reproduction part of FIG. 図3の測色データ再現部の構成例を示すブロック図である。FIG. 4 is a block diagram illustrating a configuration example of a colorimetric data reproduction unit in FIG. 3. UI画面の表示例を示す図である。It is a figure which shows the example of a display of UI screen.

以下に本発明の実施の形態を説明するが、本発明の構成要件と、発明の詳細な説明に記載の実施の形態との対応関係を例示すると、次のようになる。この記載は、本発明をサポートする実施の形態が、発明の詳細な説明に記載されていることを確認するためのものである。従って、発明の詳細な説明中には記載されているが、本発明の構成要件に対応する実施の形態として、ここには記載されていない実施の形態があったとしても、そのことは、その実施の形態が、その構成要件に対応するものではないことを意味するものではない。逆に、実施の形態が構成要件に対応するものとしてここに記載されていたとしても、そのことは、その実施の形態が、その構成要件以外の構成要件には対応しないものであることを意味するものでもない。   Embodiments of the present invention will be described below. Correspondences between the configuration requirements of the present invention and the embodiments described in the detailed description of the present invention are exemplified as follows. This description is to confirm that the embodiments supporting the present invention are described in the detailed description of the invention. Accordingly, although there are embodiments that are described in the detailed description of the invention but are not described here as embodiments corresponding to the constituent elements of the present invention, It does not mean that the embodiment does not correspond to the configuration requirements. Conversely, even if an embodiment is described here as corresponding to a configuration requirement, that means that the embodiment does not correspond to a configuration requirement other than the configuration requirement. It's not something to do.

本発明の一側面の画像処理装置は、
画像入力機器が使用する入力色空間と所定の目的色空間との対応関係を規定したプロファイルを作成する画像処理装置において、
複数のカラーパッチの測色値と、カラーパッチを画像入力機器によって入力した入力値との対応関係に基づいて入力色空間と目的色空間との対応関係を規定するルックアップテーブルを作成するルックアップテーブル作成手段(たとえば、図3のパラメーター作成部72とプロファイル作成部73)と、
ルックアップテーブルに規定する入力値の明度を、測色値との色差が最小となるように変換するための明度関数を作成する明度関数作成手段(たとえば、図3の明度関数作成部85)と、
明度関数が適用されたルックアップテーブルに基づいて、プロファイルを作成するプロファイル作成手段(たとえば、図3のプロファイル作成部73)と
を有し、
明度関数作成手段は、
明度関数におけるニーポイントを、すでに作成した明度関数の平均の明度関数のニー角度とニーポイントの出力値に基づいて決定し(たとえば、図8〜図12)、
ルックアップテーブル作成手段は、
測色値と入力値との対応関係に基づいて入力色空間と目的色空間との対応関係を規定するマトリクスを作成し(たとえば、図3のマトリクス作成部83)、
マトリクスにより規定される入力色空間と目的色空間との対応関係が格納される単格子3次元ルックアップテーブルを作成し(たとえば、図3の単格子3D−LUT作成部84)、
マトリクスを使用して入力色空間の白色点を変換することにより得られる白色明度に基づいて単格子3次元ルックアップテーブルに規定する目的色空間の各色彩値の明度を正規化し(たとえば、図3の単格子3D−LUT作成部84)、
単格子3次元ルックアップテーブルを適用して多格子ルックアップテーブルを作成し(たとえば、図3の多格子3D−LUT作成部91、単格子3D−LUT適用部92)、
多格子ルックアップテーブルに明度関数を適用する(たとえば、図3の明度関数適用部93)
ことを特徴とする。
An image processing apparatus according to one aspect of the present invention includes:
In an image processing apparatus for creating a profile that defines a correspondence relationship between an input color space used by an image input device and a predetermined target color space,
Lookup that creates a lookup table that defines the correspondence between the input color space and the target color space based on the correspondence between the colorimetric values of multiple color patches and the input values obtained by inputting color patches with an image input device Table creation means (for example, parameter creation unit 72 and profile creation unit 73 in FIG. 3);
A lightness function creating means (for example, a lightness function creating unit 85 in FIG. 3) for creating a lightness function for converting the lightness of the input value defined in the lookup table so that the color difference from the colorimetric value is minimized; ,
Based on a lookup table to which the brightness function is applied, and a profile creation means for creating a profile (for example, the profile creation unit 73 in FIG. 3),
The brightness function creation means
A knee point in the brightness function is determined based on the average brightness function knee angle of the already created brightness function and the output value of the knee point (for example, FIGS. 8 to 12);
Lookup table creation means
A matrix that defines the correspondence between the input color space and the target color space is created based on the correspondence between the colorimetric value and the input value (for example, the matrix creation unit 83 in FIG. 3).
Create a single-grid three-dimensional lookup table storing the correspondence between the input color space defined by the matrix and the target color space (for example, the single-grid 3D-LUT creation unit 84 in FIG. 3),
The lightness of each color value of the target color space defined in the single-grid three-dimensional lookup table is normalized based on the white lightness obtained by converting the white point of the input color space using the matrix (for example, FIG. 3 Single lattice 3D-LUT creation unit 84),
A multi-grid lookup table is created by applying a single-grid three-dimensional lookup table (for example, multi-grid 3D-LUT creation unit 91, single-grid 3D-LUT application unit 92 in FIG. 3),
A lightness function is applied to the multi-grid lookup table (for example, the lightness function application unit 93 in FIG. 3).
It is characterized by that.

その大きさに応じて色相および彩度が補正される重み係数について、明度関数の非線形部分に、出力値の大きさに反比例した大きさの重み係数を作成する重み係数作成手段(たとえば、図3のHSB重み係数作成部86)
をさらに有し、
プロファイル作成手段は、重み係数作成手段により作成された重み係数を適用したルックアップテーブルに基づいて、プロファイルを作成することができる(たとえば、図3の測色色補正部94)。
With respect to the weighting coefficient whose hue and saturation are corrected in accordance with the magnitude, a weighting coefficient creating means (for example, FIG. 3) creates a weighting coefficient having a magnitude inversely proportional to the magnitude of the output value in the nonlinear portion of the brightness function. HSB weighting factor generator 86)
Further comprising
The profile creation unit can create a profile based on the lookup table to which the weighting factor created by the weighting factor creation unit is applied (for example, the colorimetric color correction unit 94 in FIG. 3).

マトリクス、明度関数、または重み係数の出力指示を受け付ける入力部(たとえば、図16のボタン211〜217)を有する操作画面を表示する表示制御手段(たとえば、図3のUI部76)と、
入力部により受け付けられた指示に応じて、マトリクス、明度関数、重み係数を出力するパラメーター出力手段(たとえば、図3のパラメーター出力部74)と
をさらに有することができる。
Display control means (for example, UI unit 76 in FIG. 3) for displaying an operation screen having an input unit (for example, buttons 211 to 217 in FIG. 16) that receives an output instruction of a matrix, a brightness function, or a weighting factor;
In accordance with an instruction received by the input unit, it may further include parameter output means (for example, parameter output unit 74 in FIG. 3) for outputting a matrix, a brightness function, and a weighting coefficient.

[コンピューター1、DSC2、測色機3の説明]
図1は、本発明の実施の形態にかかるコンピューター1の構成を示すブロック図である。
[Description of computer 1, DSC2, colorimeter 3]
FIG. 1 is a block diagram showing a configuration of a computer 1 according to an embodiment of the present invention.

コンピューター1には、デジタルスチルカメラ(DSC)2および測色機3がUSBケーブルを介して接続されている。DSC2は、撮影した画像を構成する各画素の色をRGBの三原色に対してそれぞれ256階調で表現した画像データを生成し、USBケーブルを介してコンピューター1に供給する。測色機3は、分光測光器を備え、その分光測光器の出力信号に基づいたCIEExyz表色系における座標値(YXZ値)を、USBケーブルを介してコンピューター1に供給する。   A digital still camera (DSC) 2 and a colorimeter 3 are connected to the computer 1 via a USB cable. The DSC 2 generates image data in which the color of each pixel constituting the photographed image is expressed in 256 gradations with respect to the three primary colors of RGB, and supplies the image data to the computer 1 via the USB cable. The colorimeter 3 includes a spectrophotometer, and supplies coordinate values (YXZ values) in the CIEExyz color system based on an output signal of the spectrophotometer to the computer 1 via a USB cable.

この例の場合、DSC2により、図2に示す、複数のカラーパッチCPによって構成されているカラーチャートCCが撮影され、また測色機3により、同じカラーチャートCCが測色される。すなわちカラーチャートCCの撮像の結果得られたRGB値(以下、カメラRGB値と称する)と、各カラーパッチCPの測色値としてのXYZ値(以下、測色XYZ値と称する)が、それぞれコンピューター1に供給される。   In the case of this example, the DSC 2 captures a color chart CC composed of a plurality of color patches CP shown in FIG. 2, and the colorimeter 3 measures the same color chart CC. That is, an RGB value (hereinafter referred to as a camera RGB value) obtained as a result of imaging the color chart CC and an XYZ value (hereinafter referred to as a colorimetric XYZ value) as a colorimetric value of each color patch CP are respectively calculated by a computer. 1 is supplied.

コンピューター1は、DSC2からのカメラRGB値と、測色機3からの測色XYZ値に基づいて、DSC2に依存した入力色空間内で規定されるカメラRGB値と、非機器依存の目的色空間との対応関係を規定するプロファイルを作成する処理(以下、プロファイル作成処理と称する)を実行する。ここで作成されるプロファイルは、画像データの各画素が示す色を非機器依存色空間での色彩値に変換する際に用いられる。特に、DSC2は、画像入力機器であるため、このプロファイルはソースICCプロファイルと呼ばれる。   The computer 1 uses the camera RGB values from the DSC 2 and the colorimetric XYZ values from the colorimeter 3 to determine the camera RGB values defined in the input color space depending on the DSC 2 and the non-device-dependent target color space. A process of creating a profile that defines the correspondence relationship between the two (hereinafter referred to as profile creation process) is executed. The profile created here is used when the color indicated by each pixel of the image data is converted into a color value in a non-device-dependent color space. In particular, since DSC 2 is an image input device, this profile is called a source ICC profile.

[コンピューター1の構成例の説明]
コンピューター1は、CPU11、RAM12、ROM13、ハードディスクドライブ(HDD)14、汎用インターフェース(GIF)15、ビデオインターフェース(VIF)16、入力インターフェース(IIF)17、およびバス18を有して構成されている。バス18は、コンピューター1を構成する各要素11〜17の間でのデータ通信を実現するものであり、図示しないチップセット等によって通信が制御されている。
[Description of Configuration Example of Computer 1]
The computer 1 includes a CPU 11, a RAM 12, a ROM 13, a hard disk drive (HDD) 14, a general-purpose interface (GIF) 15, a video interface (VIF) 16, an input interface (IIF) 17, and a bus 18. The bus 18 realizes data communication between the elements 11 to 17 constituting the computer 1, and communication is controlled by a chip set (not shown).

HDD14には、オペレーティングシステム(OS)を含む各種プログラムを実行するためのプログラムデータ14aが記憶されており、当該プログラムデータ14aをRAM12に展開しながらCPU11が当該プログラムデータ14aに準じた演算を実行する。さらに、HDD14には、非機器依存色空間同士の色変換規則を規定した変換プロファイル14bが記憶されている。変換プロファイル14bによれば、XYZ空間、CIELAB空間、およびsRGB空間を相互に変換することができる。   The HDD 14 stores program data 14a for executing various programs including an operating system (OS), and the CPU 11 executes calculations according to the program data 14a while expanding the program data 14a in the RAM 12. . Further, the HDD 14 stores a conversion profile 14b that defines color conversion rules between non-device-dependent color spaces. According to the conversion profile 14b, the XYZ space, CIELAB space, and sRGB space can be mutually converted.

汎用インターフェース(GIF)15は、たとえばUSB規格に準じたインターフェースを提供するものであり、外部のDSC2と測色機3との通信を制御する。   The general-purpose interface (GIF) 15 provides an interface conforming to the USB standard, for example, and controls communication between the external DSC 2 and the colorimeter 3.

ビデオインターフェース(VIF)16は、コンピューター1を外部のディスプレイ19に接続し、ディスプレイ19に画像を表示させる。入力インターフェース(IIF)17は、コンピューター1を外部のキーボード20とマウス21に接続し、キーボード20とマウス21からの入力信号をコンピューター1に取り入れる。   A video interface (VIF) 16 connects the computer 1 to an external display 19 and displays an image on the display 19. An input interface (IIF) 17 connects the computer 1 to an external keyboard 20 and a mouse 21, and takes input signals from the keyboard 20 and the mouse 21 into the computer 1.

図3は、コンピューター1において実行されるプログラムのソフトウェアの構成例を示すブロック図である。同図において、画像入力装置ドライバー51、測色機ドライバー52、およびプロファイル作成アプリケーション(APL)53が実行される。   FIG. 3 is a block diagram illustrating a configuration example of software of a program executed in the computer 1. In the figure, an image input device driver 51, a colorimeter driver 52, and a profile creation application (APL) 53 are executed.

画像入力装置ドライバー51は、DSC2を制御し、DSC2が出力するカメラRGB値を入力し、RGBファイルとしてHDD14に記憶させる。なお、撮影データに対して図示しないデコード処理等を行うことにより、カメラRGB値が取得される。   The image input device driver 51 controls the DSC 2, inputs camera RGB values output from the DSC 2, and stores them in the HDD 14 as RGB files. The camera RGB values are acquired by performing a decoding process (not shown) on the photographic data.

測色機ドライバー52は、測色機3を制御し、測色機3が出力する測色XYZ値を入力し、XYZファイルとしてHDD14に記憶させる。   The colorimeter driver 52 controls the colorimeter 3, inputs the colorimetric XYZ values output from the colorimeter 3, and stores them in the HDD 14 as an XYZ file.

なお画像入力装置ドライバー51および測色機ドライバー52は、たとえばオペレーティングシステム(OS)に組み込まれている。   The image input device driver 51 and the colorimeter driver 52 are incorporated in, for example, an operating system (OS).

APL53は、プロファイル作成処理を実行する。なおここではDSC2についてのプロファイル作成について説明するが、これに限られず、スキャナやフィルムスキャナやデジタルビデオカメラ等の他の画像入力機器についてのプロファイルを作成する場合にも本発明を適用することができる。   The APL 53 executes profile creation processing. Here, the profile creation for DSC 2 will be described. However, the present invention is not limited to this, and the present invention can be applied to the case of creating a profile for other image input devices such as a scanner, a film scanner, and a digital video camera. .

[APL53の詳細な説明]
APL53は、制御部71、パラメーター作成部72、プロファイル作成部73、パラメーター出力部74は、関連データ生成部75、およびUI部76を有して構成されている。
[Detailed description of APL53]
The APL 53 includes a control unit 71, a parameter creation unit 72, a profile creation unit 73, and a parameter output unit 74 having a related data generation unit 75 and a UI unit 76.

[制御部71の詳細な説明]
制御部71は、後述するUI部76が表示するUI(User Interface)画面に対する操作に応じて、各部を制御する。パラメーター作成部72は、制御部71の制御に従って、各種の色再現パラメーターを作成する。プロファイル作成部73は、パラメーター作成部72により作成された色再現パラメーターを、制御部71の制御に従って適宜利用してプロファイルを作成する。パラメーター出力部74は、パラメーター作成部72により作成された色再現パラメーターを、制御部71の制御に従って適宜出力する。関連データ生成部75は、プロファイルを用いずにカメラRGB値や測色XYZ値を色再現する。
[Detailed Description of Control Unit 71]
The control unit 71 controls each unit in accordance with an operation on a UI (User Interface) screen displayed by a UI unit 76 described later. The parameter creation unit 72 creates various color reproduction parameters according to the control of the control unit 71. The profile creation unit 73 creates a profile by appropriately using the color reproduction parameter created by the parameter creation unit 72 according to the control of the control unit 71. The parameter output unit 74 appropriately outputs the color reproduction parameter created by the parameter creation unit 72 according to the control of the control unit 71. The related data generation unit 75 reproduces the camera RGB values and the colorimetric XYZ values without using a profile.

[パラメーター作成部72の説明] [Description of Parameter Creation Unit 72]

パラメーター作成部72は、データ取得部81、ホワイトバランス係数算出部82、マトリクス作成部83、単格子3D−LUT作成部84、明度関数作成部85、およびHSB重み係数作成部86を有して構成されている。
[データ取得部81の説明]
データ取得部81は、制御部71の制御に応じたRGBファイルとXYZファイルを取得する。データ取得部81はまた、取得したRGBファイルとしてのカメラRGB値(入力値)とXYZファイルとしての測色XYZ値(測色値)を、図2に示すように対応付けて測定データMDとしてHDD14に記憶させる。
The parameter creation unit 72 includes a data acquisition unit 81, a white balance coefficient calculation unit 82, a matrix creation unit 83, a single lattice 3D-LUT creation unit 84, a brightness function creation unit 85, and an HSB weight coefficient creation unit 86. Has been.
[Description of Data Acquisition Unit 81]
The data acquisition unit 81 acquires an RGB file and an XYZ file according to the control of the control unit 71. The data acquisition unit 81 also associates the acquired camera RGB values (input values) as RGB files with the colorimetric XYZ values (colorimetric values) as XYZ files as shown in FIG. Remember me.

[ホワイトバランス係数算出部82の説明]
ホワイトバランス係数算出部82は、R=G=Bとなるグレー軸をCIE−D50光源下での撮影に対応させるために、カメラRGB値をゲイン調整する。
[Description of White Balance Coefficient Calculation Unit 82]
The white balance coefficient calculation unit 82 adjusts the gain of the camera RGB values so that the gray axis where R = G = B corresponds to shooting under the CIE-D50 light source.

[マトリクス作成部83の説明]
マトリクス作成部83は、カメラRGB値とXYZ値との対応関係を規定するマトリクスMを算出する。
[Description of Matrix Creation Unit 83]
The matrix creation unit 83 calculates a matrix M that defines the correspondence between camera RGB values and XYZ values.

具体的には、マトリクスMによって規定されるカメラRGB値とXYZ値との対応関係は、以下の式(1)によって表される。式(1)において、a11〜a33は、マトリクスMを構成する各行列要素を表している。

Figure 2010251940
Specifically, the correspondence between camera RGB values and XYZ values defined by the matrix M is expressed by the following equation (1). In the formula (1), a11 to a33 represent matrix elements constituting the matrix M.
Figure 2010251940

マトリクスMは、測定データMDに示されるカメラRGB値と測色XYZ値との対応関係と、マトリクスMによって規定されるカメラRGB値とXYZ値との対応関係との二乗誤差を最小とするように、行列最小二乗法によって計算される。   The matrix M minimizes the square error between the correspondence between the camera RGB values and the colorimetric XYZ values indicated in the measurement data MD and the correspondence between the camera RGB values and the XYZ values defined by the matrix M. Calculated by the matrix least squares method.

[単格子3D−LUT作成部84の説明]
単格子3D−LUT作成部84は、単格子3次元ルックアップテーブル(単格子3D−LUT)を作成する。図4は、この単格子3D−LUT作成部84における単格子3D−LUT作成処理の流れを示すフローチャートである。
[Description of Single Lattice 3D-LUT Creation Unit 84]
The single lattice 3D-LUT creation unit 84 creates a single lattice 3D lookup table (single lattice 3D-LUT). FIG. 4 is a flowchart showing the flow of the single lattice 3D-LUT creation process in the single lattice 3D-LUT creation unit 84.

ステップS11において、単格子3D−LUT作成部84は、各頂点にカメラRGB値と測色XYZ値との対応関係が格納された単格子3D−LUTを作成する。   In step S11, the single grid 3D-LUT creation unit 84 creates a single grid 3D-LUT in which the correspondence between the camera RGB value and the colorimetric XYZ value is stored at each vertex.

具体的には、カメラRGB値の立方色空間の8頂点[K(Black),R(Red),G(Green),B(Blue),C(Cyan),M(Magenta),Y(Yellow),W(White)]に対応するカメラRGB値が、順次前記の式(1)に代入されて、これらに対応するXYZ値が算出される。そして8頂点に、各頂点におけるカメラRGB値とXYZ値とが対応付けられる。   Specifically, the eight vertices of the cubic color space of the camera RGB values [K (Black), R (Red), G (Green), B (Blue), C (Cyan), M (Magenta), Y (Yellow)] , W (White)] are sequentially substituted into the above equation (1), and XYZ values corresponding to these are calculated. The 8 RGB vertices are associated with the camera RGB values and XYZ values at each vertex.

図5は、単格子3D−LUTを模式的に示した図である。このように、単格子3D−LUTの8頂点の各頂点には、カメラRGB値とXYZ値との対応関係が格納される。   FIG. 5 is a diagram schematically showing a single lattice 3D-LUT. Thus, the correspondence between the camera RGB value and the XYZ value is stored in each of the eight vertices of the single lattice 3D-LUT.

ステップS12において、単格子3D−LUT作成部84は、色差が最小になるように、単格子3D−LUTを調整する。   In step S12, the single lattice 3D-LUT creation unit 84 adjusts the single lattice 3D-LUT so that the color difference is minimized.

具体的には、測定データMDに格納されたカメラRGB値が、単格子3D−LUTを参照してXYZ値に変換される。なおここで変換されたXYZ値を、適宜、変換XYZ値と称する。   Specifically, the camera RGB values stored in the measurement data MD are converted into XYZ values with reference to the single grid 3D-LUT. The XYZ value converted here is appropriately referred to as a converted XYZ value.

次に変換XYZ値と、測定データMDに格納された測色XYZ値(測色機3での測色の結果得られたXYZ値)との色差ΔEが算出される。この例の場合、色差ΔEは、CIE_Δ1994の色差式によって算出される。なお、この例の場合、変換XYZ値および測色XYZ値を変換プロファイル14bによってL*a*b*値に変換した上で、これらの色差ΔEが算出される。色差ΔEは、各カラーパッチCPについて算出される。   Next, the color difference ΔE between the converted XYZ value and the colorimetric XYZ value stored in the measurement data MD (the XYZ value obtained as a result of colorimetry by the colorimeter 3) is calculated. In this example, the color difference ΔE is calculated by the CIE_Δ1994 color difference formula. In the case of this example, the converted XYZ values and the colorimetric XYZ values are converted into L * a * b * values by the conversion profile 14b, and then these color differences ΔE are calculated. The color difference ΔE is calculated for each color patch CP.

そしてその色差ΔEが最小になるように、単格子3D−LUTの頂点のうちBkとWを除いた6頂点[R,G,B,C,M,Y]に対応付けられたXYZ値が調整される。具体的には、色差ΔEが小さくなるように、所定の色相調整量(ΔH値)と彩度調整量(ΔC値)が決定される。そして、そのΔH値とΔC値がXYZ値の調整量に変換されて、6頂点の各XYZ値が調整される。   Then, the XYZ values associated with six vertices [R, G, B, C, M, Y] excluding Bk and W among the vertices of the single lattice 3D-LUT are adjusted so that the color difference ΔE is minimized. Is done. Specifically, the predetermined hue adjustment amount (ΔH value) and the saturation adjustment amount (ΔC value) are determined so that the color difference ΔE becomes small. Then, the ΔH value and ΔC value are converted into the adjustment amount of the XYZ value, and the XYZ values at the six vertices are adjusted.

このようにして単格子3D−LUTが、色差が最小になるように調整されると、ステップS13において、単格子3D−LUT作成部84は、単格子3D−LUTを白色明度に基づいて正規化する。   When the single grid 3D-LUT is adjusted so that the color difference is minimized in this way, in step S13, the single grid 3D-LUT creation unit 84 normalizes the single grid 3D-LUT based on the white lightness. To do.

具体的には、調整された単格子3D―LUTにおいてカメラRGB値がそれぞれ255となる白色頂点[W]に対応付けられたYW値(白色明度)が取得される。そして単格子3D―LUTの各格子点に対応付けられた各Y値が白色明度YWで一律に除算される。その結果、各格子点に対応付けられたY値は0〜1に正規化される。   Specifically, the YW value (white brightness) associated with the white vertex [W] having the camera RGB value of 255 in the adjusted single lattice 3D-LUT is acquired. Then, each Y value associated with each grid point of the single grid 3D-LUT is uniformly divided by the white brightness YW. As a result, the Y value associated with each grid point is normalized to 0-1.

XYZ空間においてY値は0〜1の間の値となるが、DSC2の撮像素子のダイナミックレンジを考慮することなくマトリクスMを算出していることから、YW値が1を超えることも考えられる。そこでこのように単格子3D―LUTの各格子点に対応付けられた各Y値を白色明度YWで一律に除算することで、各格子点に対応付けられたY値を0〜1に正規化することができる。   In the XYZ space, the Y value is a value between 0 and 1, but since the matrix M is calculated without considering the dynamic range of the image sensor of DSC2, the YW value may exceed 1. Therefore, the Y value associated with each lattice point is normalized to 0 to 1 by uniformly dividing each Y value associated with each lattice point of the single lattice 3D-LUT by the whiteness YW. can do.

図6は、この正規化処理を模式的に示した図である。図6には、カメラRGB値がR=G=Bとなるグレー軸上の格子点に対応付けられた正規化前後のY値が示されている。高明度領域の格子点においては、正規化前のY値(図中点線)は1を超えるが、正規化を行うことにより各格子点のY値(図中実線)は0〜1の範囲に収まるようになる。このようにすることにより、単格子3D―LUTによって変換された変換XYZ値のY値が1を超えることがなくなり、その結果白とびを防止することができる。なお、全体的に明度を下方修正していることとなるため、この単格子3D―LUTによって変換された変換XYZ値は本来よりも暗めの色を示すようになる。   FIG. 6 is a diagram schematically showing this normalization process. FIG. 6 shows the Y values before and after normalization associated with the grid points on the gray axis where the camera RGB values are R = G = B. At the grid points in the high brightness area, the Y value before normalization (dotted line in the figure) exceeds 1, but by normalization, the Y value (solid line in the figure) of each grid point falls within the range of 0 to 1. Will fit. By doing so, the Y value of the converted XYZ value converted by the single lattice 3D-LUT does not exceed 1, and as a result, overexposure can be prevented. Since the brightness is corrected downward as a whole, the converted XYZ value converted by the single grid 3D-LUT shows a darker color than the original.

このようにして単格子3D−LUTが作成される。   In this way, a single lattice 3D-LUT is created.

[明度関数作成部85の説明]
明度関数作成部85は、明度関数を作成する。図7は、この明度関数生成処理の流れを示すフローチャートである。
[Description of Lightness Function Creation Unit 85]
The brightness function creation unit 85 creates a brightness function. FIG. 7 is a flowchart showing the flow of the brightness function generation process.

ステップS21において、明度関数作成部85は、明度における入力値と出力値との関係において、入力値=出力値の関係を、測色データとの色差が最小となるように調整する。   In step S <b> 21, the lightness function creating unit 85 adjusts the relationship of input value = output value in the relationship between the input value and the output value in lightness so that the color difference from the colorimetric data is minimized.

具体的には、白色明度に基づいて正規化された単格子3D−LUTのカメラRGB値を入力値とするとともに、測色データとの色差が最小となる出力値が求められる。たとえば測定データMDに格納されたカメラRGB値が、単格子3D−LUTを参照してXYZ値に変換される。そしてこの変換XYZ値と測色XYZ値のそれぞれが、変換プロファイル14bにより、L*a*b*値に変換した上で、これらの色差ΔEが算出される。そしてその色差ΔEが最小値(たとえば、0値)になるようにカメラRGB値が調整される。   Specifically, an output value that minimizes the color difference from the colorimetric data is obtained while using the camera RGB value of the single-grid 3D-LUT normalized based on white brightness as an input value. For example, camera RGB values stored in the measurement data MD are converted into XYZ values with reference to the single grid 3D-LUT. Each of the converted XYZ value and the colorimetric XYZ value is converted into an L * a * b * value by the conversion profile 14b, and the color difference ΔE is calculated. Then, the camera RGB values are adjusted so that the color difference ΔE becomes the minimum value (for example, 0 value).

図8は、この調整処理を模式的に示した図である。図中点線は、入力値=出力値の対応関係を示し、実線は、測色データとの色差が最小となる入力値と出力値との関係を示している。この例の場合、このゲイン係数を求めることにより、測色データとの色差が最小となる入力値と出力値の関係を得ることができる。なお以下において、測色データとの色差が最小となる入力値と出力値との関係を、適宜、線形明度関数BF’と称する。   FIG. 8 is a diagram schematically showing this adjustment process. In the figure, the dotted line indicates the correspondence relationship between the input value and the output value, and the solid line indicates the relationship between the input value and the output value that minimizes the color difference from the colorimetric data. In the case of this example, by obtaining this gain coefficient, the relationship between the input value and the output value that minimizes the color difference from the colorimetric data can be obtained. In the following, the relationship between the input value and the output value that minimizes the color difference from the colorimetric data is referred to as a linear brightness function BF ′ as appropriate.

ステップS22からステップS24の処理で、明度関数作成部85は、ニーポイントを検出する。   In the processing from step S22 to step S24, the brightness function creation unit 85 detects a knee point.

すなわちステップS22において、明度関数作成部85は、ステップS21で求められた線形明度関数BF’において、DSC2の機種についてすでに作成されている複数の明度関数BFの平均明度関数BFhにおけるニーポイントNPhの角度(以下、ニー角度NPrと称する)と一致する角度を有する点(以下、参照点SP1と称する)を検出する。   That is, in step S22, the brightness function creation unit 85 determines the angle of the knee point NPh in the average brightness function BFh of the plurality of brightness functions BF already created for the DSC2 model in the linear brightness function BF ′ obtained in step S21. A point (hereinafter referred to as a reference point SP1) having an angle coincident with (hereinafter referred to as a knee angle NPr) is detected.

図9の左側は、平均明度関数BFhにおけるニーポイントNPhとそのニー角度NPrが示されている。この場合、図9の右側に示すように、線形明度関数BF’を示す直線上の点であって、最大入出力値の点とを結ぶ直線の角度が、ニー角度NPrとなる点が、参照点SP1として検出される。   The left side of FIG. 9 shows the knee point NPh and the knee angle NPr in the average brightness function BFh. In this case, as shown on the right side of FIG. 9, the point on the straight line indicating the linear brightness function BF ′ and the angle of the straight line connecting the maximum input / output value point becomes the knee angle NPr. It is detected as a point SP1.

次にステップS23において、明度関数作成部85は、ステップS21で求められた線形明度関数BF’において、平均明度関数BFhのニーポイントNPhの出力値と同じ出力値に対応する点(以下、参照点SP2と称する)を検出する。図10の左側には、平均明度関数BFhのニーポイントNPhの出力値NPhoが示されている。この場合、図10の右側に示すように、線形明度関数BF’を示す直線上の出力値=NPhoとなる点が、参照点SP2として検出される。なお平均明度関数BFhにおけるニーポイントNPhのニー角度NPrや出力値は、たとえばHDD14に記憶されている。   Next, in step S23, the brightness function creation unit 85 corresponds to the output value corresponding to the output value of the knee point NPh of the average brightness function BFh in the linear brightness function BF ′ obtained in step S21 (hereinafter referred to as a reference point). (Referred to as SP2). The left side of FIG. 10 shows the output value NPho of the knee point NPh of the average brightness function BFh. In this case, as shown on the right side of FIG. 10, a point where the output value = NPho on the straight line indicating the linear brightness function BF ′ is detected as the reference point SP2. The knee angle NPr and output value of the knee point NPh in the average brightness function BFh are stored in the HDD 14, for example.

このように参照点P1と参照点P2が検出されると、ステップS24において、明度関数作成部85は、図11に示すように、線形明度関数BF’を示す直線の参照点SP1と参照点SP2の中間点を、ニーポイントNPとする。   When the reference point P1 and the reference point P2 are detected in this way, in step S24, the brightness function creating unit 85, as shown in FIG. 11, shows a straight line reference point SP1 and a reference point SP2 indicating the linear brightness function BF ′. The intermediate point is set as the knee point NP.

このようにステップS22からステップS24の処理でニーポイントが検出されると、ステップS25において、明度関数作成部85は、図12に示すように、原点、ニーポイントNP、および原点からニーポイントNPまでの所定の間隔毎の点における入力値と出力値、ならびに最大入出力値を、明度関数BFとして取得する。   When the knee point is detected in the processing from step S22 to step S24 as described above, in step S25, the brightness function creating unit 85, as shown in FIG. 12, from the origin, the knee point NP, and the origin to the knee point NP. The input value and output value and the maximum input / output value at points at predetermined intervals are acquired as the brightness function BF.

このようにして明度関数BFが作成される。   In this way, the brightness function BF is created.

単格子3D−LUTを白色明度に基づいて正規化したため、全体的に明度が下方修正されたが、以上のように、明度関数を、測色データとの色差が最小となるように調整するようにしたので、本来の階調再現に近づけることができる。   Since the single-grid 3D-LUT is normalized based on the whiteness brightness, the brightness is corrected downward as a whole. As described above, the brightness function is adjusted so that the color difference from the colorimetric data is minimized. As a result, it is possible to approximate the original gradation reproduction.

また以上のように、すでに作成した明度関数を用いてニーポイントNPを決定するようにしたので、ユーザによるばらつきをなくすことができる。   In addition, as described above, the knee point NP is determined using the already created brightness function, so that it is possible to eliminate variations among users.

[HSB重み係数作成部86の説明]
HSB重み係数作成部86は、非線形部分における色相と彩度を測色値に近づける補正を行う。具体的には、図13に示すように、明度関数作成部85で作成された明度関数が、原点、ニーポイント、および最大入出力値に対応する点を通過するスプライン曲線によって補間される。
[Description of HSB Weighting Factor Creating Unit 86]
The HSB weighting coefficient creating unit 86 performs correction to bring the hue and saturation in the non-linear part closer to the colorimetric value. Specifically, as shown in FIG. 13, the brightness function created by the brightness function creation unit 85 is interpolated by a spline curve passing through the point corresponding to the origin, knee point, and maximum input / output value.

そしてニーポイントから最大入出力値までの明度係数(すなわち非線形部分)に、出力値の大きさに反比例する大きさのHSB重み係数が割り当てられる。たとえば、ニーポイントNPに対して、最も大きい重み係数(たとえば、1)が割り当てられ、それ以降の点には、段階的に小さな重み係数が割り当てられ、そして最大入出力値に対しては、最も小さい重み係数(たとえば、0)が割り当てられる。   Then, the HSB weighting coefficient having a magnitude inversely proportional to the magnitude of the output value is assigned to the brightness coefficient (that is, the non-linear portion) from the knee point to the maximum input / output value. For example, the largest weighting factor (for example, 1) is assigned to the knee point NP, the smaller weighting factors are assigned to the subsequent points, and the maximum input / output value is the highest. A small weighting factor (eg, 0) is assigned.

[プロファイル作成部73の説明]
プロファイル作成部73は、制御部71の制御に従って、パラメーター作成部72から供給された単格子3D−LUT、明度関数、およびHSB重み係数(すなわち色再現パラメーター)に基づいてルックアップテーブルとプロファイルを作成する。プロファイル作成部73は、多格子3D−LUT作成部91、単格子3D−LUT適用部92、明度関数適用部93、測色色補正部94、およびモード色補正部95を有して構成されている。
[Description of Profile Creation Unit 73]
The profile creation unit 73 creates a lookup table and a profile based on the single lattice 3D-LUT, the brightness function, and the HSB weighting factor (that is, the color reproduction parameter) supplied from the parameter creation unit 72 according to the control of the control unit 71. To do. The profile creation unit 73 includes a multi-grid 3D-LUT creation unit 91, a single-grid 3D-LUT application unit 92, a brightness function application unit 93, a colorimetric color correction unit 94, and a mode color correction unit 95. .

多格子3D−LUT作成部91は、RGB値の立方色空間であって8頂点が、[K,R,G,B,C,M,Y,W]に対応付けられている単格子3D−LUTを作成するとともに、多格子点によって均等に分割することにより、多格子3D−LUTを作成する。   The multi-grid 3D-LUT creation unit 91 is a single-grid 3D-, which is a cubic color space of RGB values and whose eight vertices are associated with [K, R, G, B, C, M, Y, W]. A multi-lattice 3D-LUT is created by creating an LUT and equally dividing by multi-grid points.

単格子3D−LUT適用部92は、多格子3D−LUT作成部91により作成された多格子3D−LUTに、パラメーター作成部72の単格子3D−LUT作成部84により作成された単格子3D−LUTを適用する。具体的には、多格子3D−LUTの各格子点に対応付けられるRGB値とXYZ値が、単格子3D−LUTを四面体補間することによって算出される。そして算出されたRGB値とXYZ値が対応付けられて多格子3D−LUTの各格子点に格納される。   The single lattice 3D-LUT application unit 92 adds the single lattice 3D-LUT created by the single lattice 3D-LUT creation unit 84 of the parameter creation unit 72 to the multi lattice 3D-LUT created by the multi lattice 3D-LUT creation unit 91. Apply the LUT. Specifically, the RGB value and the XYZ value associated with each lattice point of the multi-grid 3D-LUT are calculated by performing tetrahedral interpolation on the single lattice 3D-LUT. Then, the calculated RGB value and XYZ value are associated with each other and stored in each lattice point of the multi-grid 3D-LUT.

単格子3D−LUT適用部92は、制御部71の制御に従って、単格子3D−LUT作成部84により作成された単格子3D−LUTを適用した結果得られた多格子3D−LUTを、プロファイルとして(以下、フォーマルプロファイルと称する)、HDD14に記憶させる。   The single lattice 3D-LUT application unit 92 uses, as a profile, the multi-lattice 3D-LUT obtained as a result of applying the single lattice 3D-LUT created by the single lattice 3D-LUT creation unit 84 under the control of the control unit 71. (Hereinafter referred to as a formal profile) and stored in the HDD 14.

明度関数適用部93は、フォーマルプロファイルの各格子点に対応付けられたRGB値に対して、明度関数作成部85により生成された明度関数を一様に適用する。すなわちフォーマルプロファイルの各格子点に対応付けられたRGB値が、明度関数によって調整される。その結果、上述した白色明度に基づく正規化によって一旦は多格子3D―LUTが暗めの再現性を有するものとなったが、明度関数作成部85により生成された明度関数を適用することにより、本来の階調再現に近づけることができる。   The lightness function applying unit 93 uniformly applies the lightness function generated by the lightness function creating unit 85 to the RGB values associated with each lattice point of the formal profile. That is, the RGB value associated with each lattice point of the formal profile is adjusted by the brightness function. As a result, the multi-grid 3D-LUT once has a dark reproducibility by the normalization based on the white lightness described above, but by applying the lightness function generated by the lightness function creating unit 85, It is possible to approximate the gradation reproduction.

明度関数適用部93は、制御部71の制御に従って、フォーマルプロファイルに明度関数を適用したプロファイル(以下、第1の測色モードプロファイルと称する)を、HDD14に記憶させる。   The lightness function application unit 93 causes the HDD 14 to store a profile obtained by applying the lightness function to the formal profile (hereinafter referred to as a first colorimetry mode profile) according to the control of the control unit 71.

測色色補正部94は、パラメーター作成部72のHSB重み係数作成部86により作成されたHSB重み係数に基づいて、第1の測色モードプロファイルを補正する。具体的には、測色値がHSB色空間に変換され、色再現したRAWデータがHSB色空間に変換され、そしてHSBにおけるそれぞれの差分が求められる。そしてHSB重み係数に応じて、非線形部分におけるHSBの差分が最小になるように補正される。   The colorimetric color correction unit 94 corrects the first colorimetric mode profile based on the HSB weighting factor created by the HSB weighting factor creation unit 86 of the parameter creation unit 72. Specifically, the colorimetric value is converted into the HSB color space, the color-reproduced RAW data is converted into the HSB color space, and each difference in the HSB is obtained. Then, according to the HSB weighting factor, the HSB difference in the non-linear portion is corrected so as to be minimized.

このように、非線形部分において出力値に反比例した大きさの重み係数で、非線形部分の色相と彩度をHSB色空間で測色値に近づける補正を行うようにしたので、疑似輪郭の発生を抑制することができる。   In this way, the weighting coefficient whose magnitude is inversely proportional to the output value in the non-linear part is corrected so that the hue and saturation of the non-linear part are close to the colorimetric value in the HSB color space, thereby suppressing the occurrence of pseudo contours. can do.

測色色補正部94は、制御部71の制御に従って、HSB重み付け係数に基づいて第1の測色モードプロファイルを補正した結果得られたプロファイル(以下、第2の測色モードプロファイルと称する)を、HDD14に記憶させる。   The colorimetric color correction unit 94 corrects the profile obtained as a result of correcting the first colorimetry mode profile based on the HSB weighting coefficient under the control of the control unit 71 (hereinafter referred to as the second colorimetry mode profile). It is stored in the HDD 14.

モード色補正部95は、第2の測色モードプロファイルに対してモード別の色補正を行うことによって、標準モードプロファイル、人物モードプロファイル、および風景モードプロファイルをそれぞれ作成する。   The mode color correction unit 95 creates a standard mode profile, a person mode profile, and a landscape mode profile by performing color correction for each mode on the second colorimetric mode profile.

たとえば第2の測色モードプロファイルに、RGBコントラストカーブをかけることによって、標準モードプロファイルが作成される。また第2の測色モードプロファイルに、L*カーブをかけるとともに、肌色が明るいものになるように調整することによって、人物モードプロファイルが作成される。また第2の測色モードプロファイルに、RGBコントラストカーブをかけるとともに、青色や緑色が鮮やかになるように調整することによって、風景モードプロファイルが作成される。   For example, a standard mode profile is created by applying an RGB contrast curve to the second colorimetric mode profile. A person mode profile is created by applying an L * curve to the second colorimetric mode profile and adjusting the skin color to be bright. In addition, a landscape mode profile is created by applying an RGB contrast curve to the second colorimetric mode profile and adjusting the blue and green colors to be vivid.

[パラメーター出力部74の説明]
パラメーター出力部74は、制御部71の制御に従って、パラメーター作成部72のデータ取得部81により取得されたRGBファイルやXYZファイル、ホワイトバランス係数算出部82によるゲイン調整の際に算出されたホワイトバランス係数、マトリクス作成部83により作成されたマトリクスM、単格子3D−LUT作成部84により作成された単格子3D−LUT、明度関数作成部85により作成された明度関数、またはHSB重み係数作成部86により作成されたHSB重み係数を、パラメーターファイルとして、HDD14に記憶させる。
[Description of Parameter Output Unit 74]
The parameter output unit 74 is a RGB file or XYZ file acquired by the data acquisition unit 81 of the parameter creation unit 72 and a white balance coefficient calculated at the time of gain adjustment by the white balance coefficient calculation unit 82 according to the control of the control unit 71. The matrix M created by the matrix creation unit 83, the single grid 3D-LUT created by the single grid 3D-LUT creation unit 84, the brightness function created by the brightness function creation unit 85, or the HSB weight coefficient creation unit 86 The created HSB weight coefficient is stored in the HDD 14 as a parameter file.

[関連データ生成部75の説明]
関連データ生成部75は、撮影データ再現部101と測色データ再現部102から構成されている。撮像データ再現部101は、DSC2の撮像データを、ルックアップテーブルを用いずに、明度関数やHSB重み係数に基づいて再現する。測色データ再現部102は、測色機3の測色データを、ルックアップテーブルを用いずに、明度関数やHSB重み係数に基づいて再現する。
[Description of Related Data Generation Unit 75]
The related data generation unit 75 includes a photographic data reproduction unit 101 and a colorimetric data reproduction unit 102. The imaging data reproduction unit 101 reproduces the imaging data of DSC 2 based on the brightness function and the HSB weight coefficient without using a lookup table. The colorimetric data reproduction unit 102 reproduces the colorimetric data of the colorimeter 3 based on the brightness function and the HSB weight coefficient without using a lookup table.

[撮像データ再現部101の説明]
図14は、撮影データ再現部101の構成例を示すブロック図である。撮影データ再現部101は、色相彩度補償部111、測色色補正部112、およびモード色補正部113を有して構成されている。
[Description of Imaging Data Reproducing Unit 101]
FIG. 14 is a block diagram illustrating a configuration example of the shooting data reproduction unit 101. The shooting data reproduction unit 101 includes a hue / saturation compensation unit 111, a colorimetric color correction unit 112, and a mode color correction unit 113.

色相彩度補償部111は、RGBファイルとしてのカメラRGB値に対して、明度関数作成部85により作成された明度関数に基づいて、色相と彩度を補償しながら明度変換を行う。   The hue / saturation compensation unit 111 performs brightness conversion on the camera RGB value as an RGB file while compensating for hue and saturation based on the brightness function created by the brightness function creation unit 85.

測色色補正部112は、色相彩度補償部111により明度が変換されたカメラRGB値に対して、HSB重み係数をかける。   The colorimetric color correction unit 112 applies an HSB weighting factor to the camera RGB values whose brightness has been converted by the hue saturation compensation unit 111.

モード色補正部113は、プロファイル作成部73のモード色補正部95と同様に動作し、色相彩度補償部111または測色色補正部112により処理が施されたカメラRGB値に対して、モード別の色補正を施す。   The mode color correction unit 113 operates in the same manner as the mode color correction unit 95 of the profile creation unit 73, and for each camera RGB value processed by the hue / saturation compensation unit 111 or the colorimetric color correction unit 112, for each mode. Perform color correction.

このようにプロファイルを用いずにカメラRGB値を色再現し、モード毎の画像を参照することができるようにしたので、カメラRGB値から直接色再現された画像とプロファイル作成部73により作成されたプロファイルにより色再現された画像との差異を確認することができる。   As described above, since the camera RGB values can be reproduced without using the profile and the image for each mode can be referred to, the image is directly reproduced from the camera RGB values and created by the profile creation unit 73. It is possible to confirm a difference from an image whose color is reproduced by a profile.

[測色データ再現部102の説明]
測色データ再現部102は、図15に示すように、モード色補正部121を有して構成されている。モード色補正部121は、プロファイル作成部73のモード色補正部95と同様に動作し、XYZファイルとしての測色XYZ値、またはそれに明度関数により明度が調整された測色XYZ値に対して、モード別の色補正を施す。
[Description of Colorimetric Data Reproducing Unit 102]
The colorimetric data reproduction unit 102 includes a mode color correction unit 121 as shown in FIG. The mode color correcting unit 121 operates in the same manner as the mode color correcting unit 95 of the profile creating unit 73, and for the colorimetric XYZ value as an XYZ file or the colorimetric XYZ value whose brightness has been adjusted by the brightness function. Apply color correction for each mode.

このようにプロファイルを用いずに測色XYZ値を色再現し、モード毎の画像を参照することができるようにしたので、測色XYZ値から直接色再現された画像とプロファイル作成部73により作成されたプロファイルにより色再現された画像との差異を確認することができる。   As described above, the colorimetric XYZ values can be reproduced without using a profile, and the image for each mode can be referred to. Therefore, an image directly reproduced from the colorimetric XYZ values and the profile creating unit 73 It is possible to confirm the difference from the color reproduced image by the profile obtained.

[UI部76の説明]
図16は、UI部76が表示するUI画面201の例を示す図である。このUI画面201の各種ボタンをユーザが操作することにより、色再現パラメーターの取得や各種プロファイルの作成を指示することができる。
[Description of UI Unit 76]
FIG. 16 is a diagram illustrating an example of the UI screen 201 displayed by the UI unit 76. When the user operates various buttons on the UI screen 201, acquisition of color reproduction parameters and creation of various profiles can be instructed.

ボタン211は、取り込むRGBファイルまたはXYZファイルを指定する際に操作される。後述するボタン212から217は、このボタン211が操作されてRGBファイルとXYZファイルが取り込まれた後に操作可能となる。   A button 211 is operated when designating an RGB file or an XYZ file to be captured. Buttons 212 to 217 described later can be operated after the button 211 is operated and the RGB file and the XYZ file are captured.

ボタン212は、ホワイトバランス係数を取得する際に操作される。ボタン213は、マトリクスMを取得する際に操作される。ボタン214は、単格子3D−LUTを取得する際に操作させる。ボタン215は、明度関数を取得する際に操作される。ボタン216は、HSB重み係数を取得する際に操作される。ボタン217は、モード別のプロファイルを作成させる際に操作させる。   The button 212 is operated when acquiring the white balance coefficient. The button 213 is operated when acquiring the matrix M. The button 214 is operated when acquiring the single lattice 3D-LUT. The button 215 is operated when acquiring the brightness function. The button 216 is operated when acquiring the HSB weight coefficient. The button 217 is operated when creating a profile for each mode.

各ボタンの操作に応じたAPL53の動作を説明する。ボタン211が操作されてRGBファイルおよびXYZファイルが指定されると、制御部71は、パラメーター作成部72のデータ取得部81を制御して、指定されたRGBファイルおよびXYZファイルを取得させる。   The operation of the APL 53 according to the operation of each button will be described. When the button 211 is operated to specify the RGB file and the XYZ file, the control unit 71 controls the data acquisition unit 81 of the parameter creation unit 72 to acquire the specified RGB file and XYZ file.

ボタン212が操作されると、制御部71は、ホワイトバランス係数算出部82を制御して、データ取得部81により取得されたRGBファイルとしてのカメラRGB値からホワイトバランス係数を算出させる。制御部71は、パラメーター出力部74を制御して、算出されたホワイトバランス係数を、HDD14に記憶させる。   When the button 212 is operated, the control unit 71 controls the white balance coefficient calculation unit 82 to calculate the white balance coefficient from the camera RGB value as the RGB file acquired by the data acquisition unit 81. The control unit 71 controls the parameter output unit 74 to store the calculated white balance coefficient in the HDD 14.

ボタン213が操作させると、制御部71は、ホワイトバランス係数算出部82を制御してホワイトバランス係数を算出させ、マトリクス作成部83を制御して、マトリクスMを作成させる。制御部71は、パラメーター出力部74を制御して、作成されたマトリクスMを、HDD14に記憶させる。   When the button 213 is operated, the control unit 71 controls the white balance coefficient calculation unit 82 to calculate the white balance coefficient, and controls the matrix creation unit 83 to create the matrix M. The control unit 71 controls the parameter output unit 74 to store the created matrix M in the HDD 14.

ボタン214が操作させると、制御部71は、ホワイトバランス係数算出部82を制御してホワイトバランス係数を算出させ、マトリクス作成部83を制御してマトリクスMを作成させ、そして単格子3D−LUT作成部84を制御して、単格子3D−LUTを作成させる。制御部71は、パラメーター出力部74を制御して、作成された単格子3D−LUTを、HDD14に記憶させる。   When the button 214 is operated, the control unit 71 controls the white balance coefficient calculation unit 82 to calculate the white balance coefficient, controls the matrix creation unit 83 to create the matrix M, and creates the single lattice 3D-LUT. The unit 84 is controlled to create a single lattice 3D-LUT. The control unit 71 controls the parameter output unit 74 to store the created single lattice 3D-LUT in the HDD 14.

ボタン215が操作させると、制御部71は、ホワイトバランス係数算出部82を制御してホワイトバランス係数を算出させ、マトリクス作成部83を制御してマトリクスMを作成させ、単格子3D−LUT作成部84を制御して、単格子3D−LUTを作成させ、そして明度関数作成部85を制御して、明度関数を作成させる。制御部71は、パラメーター出力部74を制御して、作成された明度関数を、HDD14に記憶させる。   When the button 215 is operated, the control unit 71 controls the white balance coefficient calculation unit 82 to calculate the white balance coefficient, controls the matrix creation unit 83 to create the matrix M, and the single lattice 3D-LUT creation unit. 84 is controlled to create a single lattice 3D-LUT, and the brightness function creation unit 85 is controlled to create a brightness function. The control unit 71 controls the parameter output unit 74 to store the created brightness function in the HDD 14.

ボタン216が操作させると、制御部71は、ホワイトバランス係数算出部82を制御してホワイトバランス係数を算出させ、マトリクス作成部83を制御してマトリクスMを作成させ、単格子3D−LUT作成部84を制御して、単格子3D−LUTを作成させ、明度関数作成部85を制御して、明度関数を作成させ、そしてHSB重み係数作成部86を制御して、HSB重み係数を作成させる。制御部71は、パラメーター出力部74を制御して、作成されたHSB重み関数を、HDD14に記憶させる。   When the button 216 is operated, the control unit 71 controls the white balance coefficient calculation unit 82 to calculate the white balance coefficient, controls the matrix creation unit 83 to create the matrix M, and the single lattice 3D-LUT creation unit. 84 is controlled to create a single-grid 3D-LUT, the brightness function creation unit 85 is controlled to create a brightness function, and the HSB weight coefficient creation unit 86 is controlled to create an HSB weight coefficient. The control unit 71 controls the parameter output unit 74 to store the created HSB weight function in the HDD 14.

ボタン217が操作されると、制御部71は、パラメーター作成部72を制御して、各部を動作させるとともに、プロファイル作成部73を制御して、パラメーター作成部72の各部において作成された色再現パラメーターに基づいて各プロファイルを作成させる。   When the button 217 is operated, the control unit 71 controls the parameter creation unit 72 to operate each unit and also controls the profile creation unit 73 to create color reproduction parameters created in each unit of the parameter creation unit 72. Create each profile based on

以上のように、各種色再現パラメーターを取得できるようにしたので、その色再現パラメーターを他のアプリケーションプログラムで用いることができる。またボタン217を操作するだけで、色再現パラメーターが自動的に算出されて各種のプロファイルが作成されるので、迅速にプロファイルを作成することができる。   As described above, since various color reproduction parameters can be acquired, the color reproduction parameters can be used in other application programs. Further, by simply operating the button 217, color reproduction parameters are automatically calculated and various profiles are created, so that profiles can be created quickly.

[他の実施例]
なお上述した機能の処理内容を記述したプログラムは、コンピューターで読み取り可能な記録媒体に記録しておくことができる。コンピューターで読み取り可能な記録媒体としては、磁気記録装置、光ディスク、光磁気記録媒体、半導体メモリーなどがある。磁気記録装置には、ハードディスク装置(HDD)、フレキシブルディスク(FD)、磁気テープなどがある。光ディスクには、DVD(Digital Versatile Disc)、DVD−RAM、CD−ROM(Compact Disc ROM)、CD−R(Recordable)/RW(ReWritable)などがある。光磁気記録媒体には、MO(Magneto-Optical disc)などがある。
[Other embodiments]
The program describing the processing contents of the functions described above can be recorded on a computer-readable recording medium. Examples of the computer-readable recording medium include a magnetic recording device, an optical disk, a magneto-optical recording medium, and a semiconductor memory. Examples of the magnetic recording device include a hard disk device (HDD), a flexible disk (FD), and a magnetic tape. Optical discs include DVD (Digital Versatile Disc), DVD-RAM, CD-ROM (Compact Disc ROM), CD-R (Recordable) / RW (ReWritable), and the like. Magneto-optical recording media include MO (Magneto-Optical disc).

プログラムを流通させる場合には、たとえば、そのプログラムが記録されたDVD、CD−ROMなどの可搬型記録媒体が販売される。また、プログラムをサーバコンピューターの記憶装置に格納しておき、ネットワークを介して、サーバコンピューターから他のコンピューターにそのプログラムを転送することもできる。   When distributing the program, for example, portable recording media such as a DVD and a CD-ROM in which the program is recorded are sold. It is also possible to store the program in a storage device of a server computer and transfer the program from the server computer to another computer via a network.

プログラムを実行するコンピューターは、たとえば、可搬型記録媒体に記録されたプログラム若しくはサーバコンピューターから転送されたプログラムを、自己の記憶装置に格納する。そして、コンピューターは、自己の記憶装置からプログラムを読み取り、プログラムに従った処理を実行する。なお、コンピューターは、可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することもできる。また、コンピューターは、サーバコンピューターからプログラムが転送される毎に、逐次、受け取ったプログラムに従った処理を実行することもできる。   The computer that executes the program stores, for example, the program recorded on the portable recording medium or the program transferred from the server computer in its own storage device. Then, the computer reads the program from its own storage device and executes processing according to the program. The computer can also read a program directly from a portable recording medium and execute processing according to the program. Further, each time the program is transferred from the server computer, the computer can sequentially execute processing according to the received program.

なお上記実施例において、ハードウェアによって実現されていた構成の一部をソフトウェアに置き換えるようにしてもよく、逆に、ソフトウェアによって実現されていた構成の一部をハードウェアに置き換えるようにしてもよい。   In the above embodiment, a part of the configuration realized by hardware may be replaced with software, and conversely, a part of the configuration realized by software may be replaced by hardware. .

またフローチャートにその流れを示した処理は、各ステップが、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくても、並列的あるいは個別に実行される処理を含むものである。また適宜処理を省略することもできる。   The process shown in the flowchart is executed in parallel or individually even if the steps are not necessarily processed in time series, as well as processes performed in time series in the order described. It includes processing that. Further, the processing can be omitted as appropriate.

51 画像入力装置ドライバー, 52 測色機ドライバー, 53 APL,71 制御部, 72 パラメーター作成部, 73 プロファイル作成部, 74 パラメーター出力部, 75 関連データ生成部, 76 UI部, 81 データ取得部, 82 ホワイトバランス係数算出部, 83 マトリクス作成部, 84 単格子3D−LUT作成部, 85 明度関数作成部, 86 HSB重み係数作成部, 91 多格子3D−LUT作成部, 92 単格子3D−LUT適用部, 93 明度関数適用部, 94 測色色補正部, 95 モード色補正部, 101 撮影データ再現部, 102 測色データ再現部, 111 色相彩度補償部, 112 測色色補正部, 113 モード色補正部, 121 モード色補正部, 201 UI画面, 211〜217 ボタン   51 image input device driver, 52 colorimeter driver, 53 APL, 71 control unit, 72 parameter creation unit, 73 profile creation unit, 74 parameter output unit, 75 related data generation unit, 76 UI unit, 81 data acquisition unit, 82 White balance coefficient calculation unit, 83 matrix creation unit, 84 single grid 3D-LUT creation unit, 85 brightness function creation unit, 86 HSB weight coefficient creation unit, 91 multi-grid 3D-LUT creation unit, 92 single grid 3D-LUT application unit , 93 brightness function application unit, 94 colorimetric color correction unit, 95 mode color correction unit, 101 photographing data reproduction unit, 102 colorimetric data reproduction unit, 111 hue saturation compensation unit, 112 colorimetric color correction unit, 113 mode color correction unit 121 mode color correction unit, 201 UI screen, 211-217 buttons

Claims (6)

画像入力機器が使用する入力色空間と所定の目的色空間との対応関係を規定したプロファイルを作成する画像処理装置において、
複数のカラーパッチの測色値と、上記カラーパッチを上記画像入力機器によって入力した入力値との対応関係に基づいて上記入力色空間と上記目的色空間との対応関係を規定するルックアップテーブルを作成するルックアップテーブル作成手段と、
上記ルックアップテーブルに規定する入力値の明度を、測色値との色差が最小となるように変換するための明度関数を作成する明度関数作成手段と、
上記明度関数が適用された上記ルックアップテーブルに基づいて、上記プロファイルを作成するプロファイル作成手段と
を有し、
上記明度関数作成手段は、
上記明度関数におけるニーポイントを、すでに作成した上記明度関数の平均の明度関数のニー角度とニーポイントの出力値に基づいて決定し、
上記ルックアップテーブル作成手段は、
上記測色値と上記入力値との対応関係に基づいて上記入力色空間と上記目的色空間との対応関係を規定するマトリクスを作成し、
上記マトリクスにより規定される上記入力色空間と上記目的色空間との対応関係が格納される単格子3次元ルックアップテーブルを作成し、
上記マトリクスを使用して上記入力色空間の白色点を変換することにより得られる白色明度に基づいて上記単格子3次元ルックアップテーブルに規定する上記目的色空間の各色彩値の明度を正規化し、
上記単格子3次元ルックアップテーブルを適用して多格子ルックアップテーブルを作成し、
上記多格子ルックアップテーブルに上記明度関数を適用する
ことを特徴とする画像処理装置。
In an image processing apparatus for creating a profile that defines a correspondence relationship between an input color space used by an image input device and a predetermined target color space,
A lookup table for defining a correspondence relationship between the input color space and the target color space based on a correspondence relationship between colorimetric values of a plurality of color patches and an input value obtained by inputting the color patch by the image input device; A lookup table creation means to create;
A lightness function creating means for creating a lightness function for converting the lightness of the input value defined in the lookup table so that the color difference from the colorimetric value is minimized;
Profile creation means for creating the profile based on the lookup table to which the brightness function is applied;
The brightness function creating means is:
The knee point in the brightness function is determined based on the knee angle of the average brightness function of the brightness function already created and the output value of the knee point,
The lookup table creation means
Creating a matrix that defines the correspondence between the input color space and the target color space based on the correspondence between the colorimetric value and the input value;
Creating a single-grid three-dimensional lookup table storing a correspondence relationship between the input color space defined by the matrix and the target color space;
Normalizing the lightness of each color value of the target color space defined in the single-grid three-dimensional lookup table based on the white lightness obtained by converting the white point of the input color space using the matrix;
A multi-grid lookup table is created by applying the single-grid three-dimensional lookup table,
An image processing apparatus, wherein the brightness function is applied to the multi-grid lookup table.
請求項1に記載の画像処理装置において、
その大きさに応じて色相および彩度が補正される重み係数について、前記明度関数の非線形部分に、出力値の大きさに反比例した大きさの重み係数を作成する重み係数作成手段
をさらに有し、
前記プロファイル作成手段は、上記重み係数作成手段により作成された上記重み係数を適用した前記ルックアップテーブルに基づいて、前記プロファイルを作成する
ことを特徴とする画像処理装置。
The image processing apparatus according to claim 1.
A weighting factor creating means for creating a weighting factor having a magnitude inversely proportional to the magnitude of the output value in the nonlinear portion of the brightness function for the weighting factor whose hue and saturation are corrected according to the magnitude. ,
The image processing apparatus, wherein the profile creation unit creates the profile based on the lookup table to which the weighting factor created by the weighting factor creation unit is applied.
請求項2に記載の画像処理装置において、
前記マトリクス、前記明度関数、または前記重み係数の出力指示を受け付ける入力部を有する操作画面を表示する表示制御手段と、
上記入力部により受け付けられた指示に応じて、前記マトリクス、前記明度関数、前記重み係数を出力するパラメーター出力手段と
をさらに有することを特徴とする画像処理装置。
The image processing apparatus according to claim 2,
Display control means for displaying an operation screen having an input unit for receiving an instruction to output the matrix, the brightness function, or the weighting factor;
An image processing apparatus, further comprising: parameter output means for outputting the matrix, the brightness function, and the weighting coefficient in accordance with an instruction received by the input unit.
請求項1に記載の画像処理装置において、
前記ルックアップテーブル作成手段は、前記明度関数を適用しない
ことを特徴とする画像処理装置。
The image processing apparatus according to claim 1.
The look-up table creation means does not apply the brightness function.
画像入力機器が使用する入力色空間と所定の目的色空間との対応関係を規定したプロファイルを作成する画像処理装置の画像処理方法において、
複数のカラーパッチの測色値と、上記カラーパッチを上記画像入力機器によって入力した入力値との対応関係に基づいて上記入力色空間と上記目的色空間との対応関係を規定するルックアップテーブルを作成するルックアップテーブル作成ステップと、
上記ルックアップテーブルに規定する入力値の明度を、測色値との色差が最小となるように変換するための明度関数を作成する明度関数作成ステップと、
上記明度関数が適用された上記ルックアップテーブルに基づいて、上記プロファイルを作成するプロファイル作成ステップと
を含み、
上記明度関数作成ステップは、
上記明度関数におけるニーポイントを、すでに作成した上記明度関数の平均の明度関数のニー角度とニーポイントの出力値に基づいて決定し、
上記ルックアップテーブル作成ステップは、
上記測色値と上記入力値との対応関係に基づいて上記入力色空間と上記目的色空間との対応関係を規定するマトリクスを作成し、
上記マトリクスにより規定される上記入力色空間と上記目的色空間との対応関係が格納される単格子3次元ルックアップテーブルを作成し、
上記マトリクスを使用して上記入力色空間の白色点を変換することにより得られる白色明度に基づいて上記単格子3次元ルックアップテーブルに規定する上記目的色空間の各色彩値の明度を正規化し、
上記単格子3次元ルックアップテーブルを適用して多格子ルックアップテーブルを作成し、
上記多格子ルックアップテーブルに上記明度関数を適用する
ことを特徴とする画像処理方法。
In an image processing method of an image processing apparatus for creating a profile that defines a correspondence relationship between an input color space used by an image input device and a predetermined target color space,
A lookup table for defining a correspondence relationship between the input color space and the target color space based on a correspondence relationship between colorimetric values of a plurality of color patches and an input value obtained by inputting the color patch by the image input device; A lookup table creation step to create,
A brightness function creating step for creating a brightness function for converting the brightness of the input value defined in the lookup table so that the color difference from the colorimetric value is minimized;
Creating a profile based on the look-up table to which the lightness function is applied; and
The brightness function creation step
The knee point in the brightness function is determined based on the knee angle of the average brightness function of the brightness function already created and the output value of the knee point,
The above lookup table creation step
Creating a matrix that defines the correspondence between the input color space and the target color space based on the correspondence between the colorimetric value and the input value;
Creating a single-grid three-dimensional lookup table storing a correspondence relationship between the input color space defined by the matrix and the target color space;
Normalizing the lightness of each color value of the target color space defined in the single-grid three-dimensional lookup table based on the white lightness obtained by converting the white point of the input color space using the matrix;
A multi-grid lookup table is created by applying the single-grid three-dimensional lookup table,
An image processing method, wherein the brightness function is applied to the multi-grid lookup table.
画像入力機器が使用する入力色空間と所定の目的色空間との対応関係を規定したプロファイルを作成する画像処理をコンピューターに実行させるプログラムであって、
複数のカラーパッチの測色値と、上記カラーパッチを上記画像入力機器によって入力した入力値との対応関係に基づいて上記入力色空間と上記目的色空間との対応関係を規定するルックアップテーブルを作成するルックアップテーブル作成ステップと、
上記ルックアップテーブルに規定する入力値の明度を、測色値との色差が最小となるように変換するための明度関数を作成する明度関数作成ステップと、
上記明度関数が適用された上記ルックアップテーブルに基づいて、上記プロファイルを作成するプロファイル作成ステップと
を含み、
上記明度関数作成ステップは、
上記明度関数におけるニーポイントを、すでに作成した上記明度関数の平均の明度関数のニー角度とニーポイントの出力値に基づいて決定し、
上記ルックアップテーブル作成ステップは、
上記測色値と上記入力値との対応関係に基づいて上記入力色空間と上記目的色空間との対応関係を規定するマトリクスを作成し、
上記マトリクスにより規定される上記入力色空間と上記目的色空間との対応関係が格納される単格子3次元ルックアップテーブルを作成し、
上記マトリクスを使用して上記入力色空間の白色点を変換することにより得られる白色明度に基づいて上記単格子3次元ルックアップテーブルに規定する上記目的色空間の各色彩値の明度を正規化し、
上記単格子3次元ルックアップテーブルを適用して多格子ルックアップテーブルを作成し、
上記多格子ルックアップテーブルに上記明度関数を適用する
ことを特徴とする画像処理をコンピューターに実行させることを特徴とするプログラム。
A program for causing a computer to execute image processing for creating a profile that defines a correspondence relationship between an input color space used by an image input device and a predetermined target color space,
A lookup table for defining a correspondence relationship between the input color space and the target color space based on a correspondence relationship between colorimetric values of a plurality of color patches and an input value obtained by inputting the color patch by the image input device; A lookup table creation step to create,
A brightness function creating step for creating a brightness function for converting the brightness of the input value defined in the lookup table so that the color difference from the colorimetric value is minimized;
Creating a profile based on the look-up table to which the lightness function is applied; and
The brightness function creation step
The knee point in the brightness function is determined based on the knee angle of the average brightness function of the brightness function already created and the output value of the knee point,
The above lookup table creation step
Creating a matrix that defines the correspondence between the input color space and the target color space based on the correspondence between the colorimetric value and the input value;
Creating a single-grid three-dimensional lookup table storing a correspondence relationship between the input color space defined by the matrix and the target color space;
Normalizing the lightness of each color value of the target color space defined in the single-grid three-dimensional lookup table based on the white lightness obtained by converting the white point of the input color space using the matrix;
A multi-grid lookup table is created by applying the single-grid three-dimensional lookup table,
A program for causing a computer to execute image processing, wherein the brightness function is applied to the multi-grid lookup table.
JP2009097709A 2009-04-14 2009-04-14 Image processor, image processing method, and program Withdrawn JP2010251940A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009097709A JP2010251940A (en) 2009-04-14 2009-04-14 Image processor, image processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009097709A JP2010251940A (en) 2009-04-14 2009-04-14 Image processor, image processing method, and program

Publications (1)

Publication Number Publication Date
JP2010251940A true JP2010251940A (en) 2010-11-04

Family

ID=43313804

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009097709A Withdrawn JP2010251940A (en) 2009-04-14 2009-04-14 Image processor, image processing method, and program

Country Status (1)

Country Link
JP (1) JP2010251940A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014166705A1 (en) * 2013-04-08 2014-10-16 Thomson Licensing Method for encoding and method for decoding a lut and corresponding devices
JP2016006416A (en) * 2014-05-26 2016-01-14 有限会社パパラボ Coloring evaluation device and coloring evaluation method
US12034971B2 (en) 2013-04-08 2024-07-09 Dolby Laboratories Licensing Corporation Method for encoding and method for decoding a LUT and corresponding devices

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014166705A1 (en) * 2013-04-08 2014-10-16 Thomson Licensing Method for encoding and method for decoding a lut and corresponding devices
CN105230019A (en) * 2013-04-08 2016-01-06 汤姆逊许可公司 The equipment of the method that LUT is encoded and the method for being decoded and correspondence
US10097857B2 (en) 2013-04-08 2018-10-09 Dolby Laboratories Licensing Corporation Method for encoding and method for decoding a LUT and corresponding devices
US10694209B2 (en) 2013-04-08 2020-06-23 Dolby Laboratories Licensing Corporation Method for encoding and method for decoding a LUT and corresponding devices
US11153605B2 (en) 2013-04-08 2021-10-19 Dolby Laboratories Licensing Corporation Method for encoding and method for decoding a LUT and corresponding devices
EP4254954A3 (en) * 2013-04-08 2023-10-18 Dolby International AB Method for encoding and method for decoding a lut and corresponding devices
US12034971B2 (en) 2013-04-08 2024-07-09 Dolby Laboratories Licensing Corporation Method for encoding and method for decoding a LUT and corresponding devices
JP2016006416A (en) * 2014-05-26 2016-01-14 有限会社パパラボ Coloring evaluation device and coloring evaluation method

Similar Documents

Publication Publication Date Title
JP5863424B2 (en) Color processing apparatus and method
US6650771B1 (en) Color management system incorporating parameter control channels
JP4592090B2 (en) Color processing method and apparatus
JP4263131B2 (en) Color conversion method and image processing apparatus
JP2004192614A (en) Image processing device, image processing method, program and recording medium
JP2007329899A (en) Color processing apparatus and method therefor
JP2009038524A (en) Image processing device, image processing method, computer program, and storage medium
JP5329920B2 (en) Color processing apparatus and method
JP2004252620A (en) Image processing device and method, and program
JP2009239419A (en) Profile preparation method, profile preparation apparatus, profile preparation program and printing device
JP7327957B2 (en) Image display system, method and program
US8730343B2 (en) Color processing apparatus and method for performing color conversion using a color appearance model
JP3876650B2 (en) Color correction parameter calculation device, image color correction device, color correction parameter calculation method used therefor, and program thereof
US8115978B2 (en) Information processing method and information processing apparatus for simulating a result output from a first output device based on input data represented in a color space that is dependent on the input device by a second output device
JP2002152530A (en) Color collection processing method and device thereof
JP2010251940A (en) Image processor, image processing method, and program
JP2002118763A (en) Color image output method and color image output device
JP4633806B2 (en) Color correction techniques for color profiles
JP2007312313A (en) Image processor, image processing method and program
US20100238300A1 (en) Color control apparatus, method for creating color control system, and method for creating color reproduction apparatus
JP2007158446A (en) Image processor, image processing method and program, recording medium
JP2001036762A (en) Device and method for preparing color correction definition
Thomas et al. Cross-media color reproduction and display characterization
JP2005260801A (en) Image processor and image processing method
JP2004252372A (en) Video display system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20120703