JP2012178737A - Profile creation method, profile creation apparatus, image processing apparatus for performing color conversion using profile, and program - Google Patents

Profile creation method, profile creation apparatus, image processing apparatus for performing color conversion using profile, and program Download PDF

Info

Publication number
JP2012178737A
JP2012178737A JP2011040841A JP2011040841A JP2012178737A JP 2012178737 A JP2012178737 A JP 2012178737A JP 2011040841 A JP2011040841 A JP 2011040841A JP 2011040841 A JP2011040841 A JP 2011040841A JP 2012178737 A JP2012178737 A JP 2012178737A
Authority
JP
Japan
Prior art keywords
color
color space
profile
output
space
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.)
Granted
Application number
JP2011040841A
Other languages
Japanese (ja)
Other versions
JP5715442B2 (en
Inventor
Shinichi Miyazaki
真一 宮▲崎▼
Mayuko Kishino
真由子 岸野
Toshiki Miyazaki
俊樹 宮崎
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 JP2011040841A priority Critical patent/JP5715442B2/en
Publication of JP2012178737A publication Critical patent/JP2012178737A/en
Application granted granted Critical
Publication of JP5715442B2 publication Critical patent/JP5715442B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To perform more natural color reproduction with excellent gradation with respect to data outside an output color gamut irrespective of the color gamut shape of an output device.SOLUTION: An area in a color space in which lattice points of a profile are to be defined is divided, and a moving range of a focal color defined for each divided area is switched. Then, the moving ranges of at least two defined focal colors are set so as not to match each other and so as to have a part in which the ranges overlap each other. This enables data outside an output color gamut to be mapped so that intended color reproduction is realized irrespective of the color gamut shape of an output device.

Description

本発明は、プロファイル作成方法、プロファイル作成装置、プロファイルにより色変換を行う画像処理装置および画像処理システムに関し、詳しくは、入力デバイスの色域を出力デバイスの色域へ変換するガマットマッピングをする色処理に関するものである。   The present invention relates to a profile creation method, a profile creation apparatus, an image processing apparatus and an image processing system that perform color conversion using a profile, and more specifically, color processing that performs gamut mapping for converting a color gamut of an input device to a color gamut of an output device. It is about.

近年、インターネット等のネットワークが広く普及し、多くのユーザが、様々なデバイスをネットワークに接続する状況にある。そして、デジタルカメラやイメージスキャナ、インクジェットプリンタ等の入出力環境が多様である環境では、例えば、ある色再現範囲を持ったモニターのカラー画像信号を色再現範囲がそれより狭いプリンタによってハードコピーする場合のように、色再現範囲が異なるデバイス間においてカラー画像データの入出力が行われる。   In recent years, networks such as the Internet have become widespread, and many users are connected to various devices. And in environments with diverse input / output environments such as digital cameras, image scanners, and ink jet printers, for example, when hard-copying color image signals from a monitor with a certain color reproduction range using a printer with a narrower color reproduction range As described above, input / output of color image data is performed between devices having different color reproduction ranges.

そこで、異なるデバイス間においても同じような色で色再現をしようという、デバイスに依存しない色再現技術が要求されるようになってきた。このデバイスに依存しない色再現技術を実現するシステムのことを一般的にカラーマネージメントシステム(CMS)と呼んでいる。   Therefore, there has been a demand for a device-independent color reproduction technique for reproducing colors with different colors between different devices. A system that realizes this device-independent color reproduction technology is generally called a color management system (CMS).

図1は、このCMSの概要を示す図であり、デバイスに依存しない色空間(デバイス非依存色空間と呼ぶ)を用いたCMSを示している。画像入力デバイス(カメラやスキャナ等)と画像出力デバイス(プリンタやモニタ等)を接続する場合、図1に示す構成では、あるデバイスの色信号から出力デバイスの色信号への変換は、それぞれのデバイスのプロファイルによるデバイス非依存色空間(CIE−XYZ、CIE−L*a*b*等)を介在されて実現される。プロファイルは、各デバイスのデバイスに依存した空間(デバイス依存色空間あるいはデバイスカラーと呼ぶ)とデバイス非依存色空間とを結び付ける変換式、もしくはデバイス依存色空間とデバイス非依存色空間との間のマッピングを記述したルックアップテーブル(変換テーブル)などで実現される。このようなカラーマネージメントシステムは、接続する入出力デバイスが異なるシステムの交換を容易に行うことができるという利点を有している。   FIG. 1 is a diagram showing an outline of this CMS, and shows a CMS using a device-independent color space (referred to as a device-independent color space). When connecting an image input device (camera, scanner, etc.) and an image output device (printer, monitor, etc.), in the configuration shown in FIG. 1, conversion from a color signal of a certain device to a color signal of an output device is performed for each device. This is realized by interposing a device-independent color space (CIE-XYZ, CIE-L * a * b *, etc.) according to the above profile. A profile is a conversion formula that links a device-dependent space (referred to as device-dependent color space or device color) of each device and a device-independent color space, or mapping between a device-dependent color space and a device-independent color space. This is realized by a look-up table (conversion table) in which is described. Such a color management system has an advantage that a system with different input / output devices to be connected can be easily replaced.

CMSで用いられるデバイス非依存色空間(以下、標準色空間、機器独立空間とも記載)としては、例えば、業界標準として広く普及しているInternational Color Consortium(ICC)により提唱されるプロファイルでは、D50光源下におけるCIE−XYZ色空間やCIE−L*a*b*色空間が規定されている。さらに近年では、デジタルカメラ等の入力機器においてsRGB色空間やAdobeRGB(Adobe社が提唱)色空間等が用いられる場合がある。これらの色域を有する色空間を標準色空間とする場合もある。このようなデバイス非依存色空間である標準色空間を介することにより、デバイスに依存しない色再現を行うことが可能となる。   As a device-independent color space (hereinafter also referred to as a standard color space or an equipment independent space) used in the CMS, for example, in the profile proposed by the International Color Consortium (ICC) widely spread as an industry standard, a D50 light source The CIE-XYZ color space and the CIE-L * a * b * color space below are defined. Furthermore, in recent years, sRGB color space, AdobeRGB (proposed by Adobe) color space, and the like may be used in input devices such as digital cameras. A color space having these color gamuts may be a standard color space. By using the standard color space which is such a device-independent color space, it is possible to perform color reproduction independent of the device.

標準色空間で定義された色信号からプリンタの色信号への変換の方法としては、色空間同士を結び付ける変換を予めルックアップテーブルとして作成したプロファイルを用いて変換する方法が良く知られている。図2(a)は、入力色空間としてAdobeRGB色空間200を、出力色域としてプリンタの色域202を、それぞれ標準色空間としてCIE−L*a*b*色空間201上に示した斜視図である。標準色空間とプリンタの色信号とを結びつけるプロファイルは、たとえばL*a*b*色空間における複数の格子点に、当該格子点のL*a*b*値を持つ色に対応するデバイス依存色空間のデータを関連付けた3次元ルックアップテーブルである。デバイス依存色空間のデータは、たとえばRGBデータである。プリンタであれば、L*a*b*色空間におけるある格子点の色を、プリンタで出力するためのRGBデータが、当該格子点に関連付けて格納されたルックアップテーブルがプロファイルの一例である。図2(b)は、図2(a)の格子点の存在するL*軸上のある明度でのa*b*平面の断面図を示した図である。L軸上方から入力色空間と標準色空間、プリンタの色域を見ており、黒い点が標準色空間上で定義される格子点の座標を示している。     As a method for converting the color signal defined in the standard color space to the color signal of the printer, a method is well known in which conversion for connecting color spaces is performed using a profile created as a lookup table in advance. FIG. 2A is a perspective view showing the Adobe RGB color space 200 as the input color space, the printer color gamut 202 as the output color gamut, and the CIE-L * a * b * color space 201 as the standard color space. It is. The profile that connects the standard color space and the color signal of the printer is, for example, a device-dependent color corresponding to a color having the L * a * b * value of the lattice point at a plurality of lattice points in the L * a * b * color space. It is a three-dimensional lookup table that associates spatial data. The device-dependent color space data is, for example, RGB data. In the case of a printer, an example of a profile is a lookup table in which RGB data for outputting the color of a certain grid point in the L * a * b * color space by the printer is stored in association with the grid point. FIG. 2B is a cross-sectional view of the a * b * plane at a certain lightness on the L * axis where the lattice points of FIG. 2A exist. The input color space, standard color space, and printer color gamut are viewed from above the L axis, and the black dots indicate the coordinates of lattice points defined on the standard color space.

上述したCMSにおいて各デバイスで色再現する際に、ある入力デバイスで色再現可能な色を色再現範囲の違う他の出力デバイスで再現することができるようにするため、それら入出力デバイス間の色再現範囲の違いを吸収するガマットマッピングの技術がカラープロファイルで実現されている。また、プリンタメーカーでは、提供するプリンタドライバにおける独自のカラーパラメータによって、入出力デバイス間の色吸収を行っている。そして、これらのカラープロファイル、カラーパラメータは、プリンタメーカーが試行錯誤で作成し、ユーザに提供をしていた。ところが近年、測色器内蔵プリンタの出現で、プリンタユーザが独自に色々な追加用紙に対するカラープロファイルを自動生成する技術に対する要求が高まっている。   When performing color reproduction with each device in the CMS described above, colors that can be reproduced with a certain input device can be reproduced with other output devices having different color reproduction ranges. Gamut mapping technology that absorbs differences in the reproduction range is realized with color profiles. In addition, printer manufacturers absorb colors between input and output devices using unique color parameters in the provided printer driver. These color profiles and color parameters are created by a printer manufacturer through trial and error and provided to the user. However, in recent years, with the advent of printers with built-in colorimeters, there has been an increasing demand for technologies that allow printer users to automatically generate color profiles for various additional papers.

カラープロファイルで実現される従来のガマットマッピングの手法として、特許文献1では、測色的手法を用いて入力画像を出力色域にマッピングする際に、彩度重視・明度重視などのユーザが要求するマッピングの特性に応じて焦点色の移動範囲を制御し、さらに入力値の明度に応じて焦点色を移動することによりマッピングする技術が開示されている。これは、彩度重視、明度重視などを選択できることによって、ユーザの要求を反映するマッピング方法である。   As a conventional gamut mapping method realized by a color profile, Japanese Patent Application Laid-Open No. 2004-228561 requires a user who emphasizes saturation and lightness when mapping an input image to an output color gamut using a colorimetric method. There has been disclosed a technique for performing mapping by controlling a moving range of a focal color according to a mapping characteristic and further moving a focal color according to lightness of an input value. This is a mapping method that reflects the user's request by being able to select importance on saturation, importance on lightness, and the like.

図3は、図2(b)のある色相における明度(L*)軸と彩度(C*)軸で表わされる断面図である。図3は、標準色空間で定義されたある明度の格子点のデータPinにおいて、彩度重視と明度重視で設定されたL軸上の固定された焦点色の範囲(上限値L_max、下限値L_min)に向かって特許文献1の方法でマッピングした結果を例示した図である。焦点色は、格子点の明度に応じて適応的に焦点色を設定する下記の式(1)により算出している。Lsは焦点色の明度値である。L_inは、入力色データが対応する標準色空間における格子点(これを入力点と呼ぶ)の明度値、Ltは入力色空間の最も高い明度値、Lbは入力色空間の最も低い明度値である。
Ls=(L_max−L_min)・L_in/(Lt−Lb)+L_min...(1)
上式により、焦点色の明度値Lsは、入力点の明度値L_inを、焦点色の明度範囲にマッピングした値として与えられる。従来の方法では、無彩色軸上の焦点色(Ls、0、0)は、入力点の明度L_inに応じてL_minからL_maxの間を移動する。式(1)によれば、L_minとL_maxの差が小さければ、焦点色は無彩色軸上の狭い範囲を動き、図3(a)に示すように彩度重視のマッピングとなる。一方、L_minとL_maxの差が大きければ、焦点色は無彩色軸上の広い範囲を動き、図3(b)に示すように明度重視のマッピングとなる。
FIG. 3 is a cross-sectional view represented by a lightness (L *) axis and a saturation (C *) axis in a certain hue in FIG. FIG. 3 shows a fixed focus color range (upper limit value L_max, lower limit value L_min) on the L axis set with emphasis on saturation and lightness in data Pin of grid points of a certain lightness defined in the standard color space. It is the figure which illustrated the result mapped by the method of patent document 1 toward (1). The focal color is calculated by the following equation (1) that adaptively sets the focal color according to the brightness of the grid points. Ls is the brightness value of the focus color. L_in is a lightness value of a grid point (referred to as an input point) in the standard color space to which the input color data corresponds, Lt is the highest lightness value of the input color space, and Lb is the lowest lightness value of the input color space. .
Ls = (L_max−L_min) · L_in / (Lt−Lb) + L_min (1)
From the above formula, the lightness value Ls of the focus color is given as a value obtained by mapping the lightness value L_in of the input point to the lightness range of the focus color. In the conventional method, the focal color (Ls, 0, 0) on the achromatic color axis moves between L_min and L_max according to the lightness L_in of the input point. According to the equation (1), if the difference between L_min and L_max is small, the focus color moves in a narrow range on the achromatic color axis, and the saturation-oriented mapping is performed as shown in FIG. On the other hand, if the difference between L_min and L_max is large, the focus color moves in a wide range on the achromatic color axis, resulting in mapping with emphasis on brightness as shown in FIG.

特開2007−274584号公報JP 2007-274484 A

図4は、図2(b)の色相203における明度(L*)軸と彩度(C*)軸で表わされる断面図である。前述の方法により、入力色域200と出力色域202において、彩度重視の焦点色の範囲を使用してマッピングした結果である。従来の方法では、出力色域202が図4に示すような場合、高明度側の格子点のデータP2inは出力色域のデータP2outにマッピングされ、彩度重視のマッピングがされる。一方、低明度側の格子点のデータP3inは出力色域のデータP3outにマッピングされる。マッピングされたデータP3outの彩度は入力データP3inの彩度と比較して相当低く、実際の印刷結果を観察すると、出力色域202上で矢印400の方向へ移動した点にマッピングした方が好ましいことがわかる。通常のカラープロファイルの作成においては、このようなマッピング前後の色のかい離が大きい場合、その部分にたいして、カラープロファイルの作成後、部分修正を行っている。   FIG. 4 is a cross-sectional view represented by a lightness (L *) axis and a saturation (C *) axis in the hue 203 of FIG. This is a result of mapping using the focus color range with emphasis on saturation in the input color gamut 200 and the output color gamut 202 by the method described above. In the conventional method, when the output color gamut 202 is as shown in FIG. 4, the grid point data P2in on the high lightness side is mapped to the data P2out of the output color gamut, and the saturation-oriented mapping is performed. On the other hand, the grid point data P3in on the low brightness side is mapped to the output color gamut data P3out. The saturation of the mapped data P3out is considerably lower than the saturation of the input data P3in. When the actual print result is observed, it is preferable to map to the point moved in the direction of the arrow 400 on the output color gamut 202. I understand that. In creating a normal color profile, if such a color separation before and after mapping is large, partial correction is performed after the color profile is created for that portion.

上述した彩度重視のマッピングに限らず、明度と彩度のバランスを重視したマッピング等においても、従来の方法で焦点色の範囲を設定した場合、出力色域の形状によっては、出力色域外のデータに対して、意図した通りの色再現を実現するようにマッピングすることが出来ないという問題があった。そこで、カラープロファイル作成においては、作成、印刷、主観評価、部分修正の繰り返しが必要となり、最適なカラープロファイルを自動(手間を減らして)生成することが困難であった。   Not only in the above-mentioned mapping with emphasis on saturation, but also in mapping with emphasis on the balance between lightness and saturation, when the focus color range is set by the conventional method, depending on the shape of the output color gamut, There was a problem that the data could not be mapped to achieve the intended color reproduction. Therefore, in color profile creation, it is necessary to repeat creation, printing, subjective evaluation, and partial correction, and it is difficult to automatically generate an optimum color profile (reducing labor).

本発明は、上記問題に鑑みてなされたもので、出力デバイスの色域形状によらずに、出力色域外のデータに対して、意図した通りの色再現を実現するようにマッピングされたプロファイルを手間を減らしたうえで生成可能なプロファイル作成方法、プロファイル作成装置、プロファイルにより色変換を行う画像処理装置および画像処理システムを提供することである。
The present invention has been made in view of the above problems, and a profile mapped so as to realize intended color reproduction with respect to data outside the output color gamut, regardless of the color gamut shape of the output device. To provide a profile creation method, a profile creation device, an image processing device and an image processing system that perform color conversion using a profile, which can be generated with reduced labor.

上記の課題を解決するための一手法として、本発明は以下の特徴を備える。     As a technique for solving the above problems, the present invention has the following features.

第1の色空間から、該第1の色空間の全体をカバーしていない第2の色空間への色変換を定義したプロファイルを作成するプロファイル作成装置であって、
前記第2の色空間を標準色空間と対応付けた第2の色域情報を取得する色域情報の取得手段と、
前記第2の色空間の、前記標準色空間における最大の彩度に対応する明度を境界として、前記標準色空間を2つの領域に分割する領域分割手段と、
分割された前記領域ごとに、前記第1の色空間に対応した標準色空間における色を、前記第2の色空間における色に変換するプロファイルを作成するプロファイル作成手段
とを備える。
A profile creation device that creates a profile that defines color conversion from a first color space to a second color space that does not cover the entire first color space,
Gamut information acquisition means for acquiring second gamut information in which the second color space is associated with a standard color space;
Area dividing means for dividing the standard color space into two areas, with the brightness corresponding to the maximum saturation in the standard color space of the second color space as a boundary;
Profile creation means for creating a profile for converting a color in a standard color space corresponding to the first color space into a color in the second color space for each of the divided areas.

本発明によれば、プロファイルの格子点が定義される色空間の領域を分割し、分割された領域毎に定義した焦点色の移動範囲を切り替える。そして、定義された少なくとも2つの焦点色の移動範囲は、互いに一致せず、かつ範囲が重複する部分があるように設定される。これにより、出力デバイスの色域形状によらずに、出力色域外のデータに対して、意図した通りの色再現を実現するようにマッピングすることが可能となる。
According to the present invention, the region of the color space where the lattice points of the profile are defined is divided, and the focus color movement range defined for each divided region is switched. Then, the defined movement ranges of at least two focal colors are set so as not to coincide with each other and there are portions where the ranges overlap. Thereby, it is possible to perform mapping so as to realize intended color reproduction for data outside the output color gamut, regardless of the color gamut shape of the output device.

カラーマネージメントシステムの概要を示す図である。It is a figure which shows the outline | summary of a color management system. 入力色域と標準色空間、出力色域を示す図である。It is a figure which shows an input color gamut, a standard color space, and an output color gamut. 従来の彩度重視、明度重視のガマットマッピング方法を説明するための図である。It is a figure for demonstrating the conventional gamut mapping method of emphasis on saturation and lightness. 明度軸上に焦点色の上限と下限を設定するガマットマッピング方法を説明する図である。It is a figure explaining the gamut mapping method which sets the upper limit and lower limit of a focus color on a brightness axis. 本発明の一実施形態に係る画像処理システムの概略構成を示すブロック図である。1 is a block diagram illustrating a schematic configuration of an image processing system according to an embodiment of the present invention. 本発明によって生成されたプロファイルを用いて印刷するための画像処理構成の概略を示す図である。It is a figure which shows the outline of the image processing structure for printing using the profile produced | generated by this invention. 本発明の一実施形態に係るカラープロファイルの作成処理を示すフローチャートである。6 is a flowchart illustrating color profile creation processing according to an embodiment of the present invention. 本発明のガマットマッピング方法を説明する図である。It is a figure explaining the gamut mapping method of this invention. 本発明の一実施形態により作成されたプロファイルによるガマットマッピングを例示する図である。It is a figure which illustrates the gamut mapping by the profile produced by one Embodiment of this invention.

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

<実施形態1>
実施形態1では、第1の色空間の画像データを第2の色空間の画像データに変換するためのプロファイルを本発明により生成する装置および工程を説明する。
<Embodiment 1>
In the first embodiment, an apparatus and a process for generating a profile for converting image data of a first color space into image data of a second color space according to the present invention will be described.

[画像処理装置の構成]
図5は、本実施形態に係る画像処理装置5000の概略構成を示すブロック図である。本実施形態の画像処理装置は、ホストコンピュータ上においてプログラムが実行されることによって実現される。ホストコンピュータは、CPU500、RAM501、操作部502、情報記憶部503、外部インターフェース504、画像処理部505、表示部506を備えており、CPU500は、各種情報データや各種プログラムに従ってそれらの制御を行う。コンピュータにより実行されるプログラムの果たす機能については、それと同様の機能を有するハードウエアで実現することも可能である。
[Configuration of image processing apparatus]
FIG. 5 is a block diagram illustrating a schematic configuration of the image processing device 5000 according to the present embodiment. The image processing apparatus of the present embodiment is realized by executing a program on a host computer. The host computer includes a CPU 500, a RAM 501, an operation unit 502, an information storage unit 503, an external interface 504, an image processing unit 505, and a display unit 506, and the CPU 500 controls them according to various information data and various programs. The function performed by the program executed by the computer can be realized by hardware having the same function.

図5において、CPU500は、情報データ及びプログラムに従って、RAM501、操作部502、画像処理部505、画像出力装置507の各種制御を行う。情報記憶部503は、ハードディスクや不揮発性メモリからなるもので、本実施形態に係る発明で必要な後述する情報およびデータを格納し、読み出しする記憶手段である。また情報記憶部503には、スキャナやデジタルカメラ等の入力デバイスでデジタル化された画像データも保存される。図5にはこれら入力デバイスは示していないが、もちろんこれらを含めてもよい。測色器508では、出力色再現領域およびプロファイル生成に必要な情報を取得するために、画像出力装置507により印刷されたパッチチャートを測色する。本実施形態では、CPU500の制御により測色し、情報記憶部503に測色情報を格納する構成を示しているが、画像出力装置507に内蔵された測色器でも同様の効果が得られる。画像出力装置507は、モニターやインクジェットプリンタ、熱転写プリンタ、ドットプリンタ等によって実現される。本実施形態では、シアン、淡シアン、マゼンタ、淡マゼンタ、イエロー、ブラックの6色のインクを用いたインクジェットプリンタ装置により画像を出力する。   In FIG. 5, a CPU 500 performs various controls of a RAM 501, an operation unit 502, an image processing unit 505, and an image output device 507 in accordance with information data and a program. The information storage unit 503 includes a hard disk and a non-volatile memory, and is a storage unit that stores and reads out information and data to be described later that are necessary for the invention according to the present embodiment. The information storage unit 503 also stores image data digitized by an input device such as a scanner or a digital camera. Although these input devices are not shown in FIG. 5, they may of course be included. The colorimeter 508 measures the color of the patch chart printed by the image output device 507 in order to acquire information necessary for generating the output color reproduction region and profile. In this embodiment, a configuration is shown in which colorimetry is performed under the control of the CPU 500 and the colorimetric information is stored in the information storage unit 503. However, a colorimeter incorporated in the image output device 507 can provide the same effect. The image output device 507 is realized by a monitor, an inkjet printer, a thermal transfer printer, a dot printer, or the like. In this embodiment, an image is output by an inkjet printer apparatus using six colors of ink of cyan, light cyan, magenta, light magenta, yellow, and black.

RAM501は、各種制御プログラムや操作部502から入力されるデータの作業領域及び一時退避領域として利用される。操作部502は、ユーザ操作に基づいて画像出力装置507の設定やデータの入力を行う。画像処理部505は、以下の実施形態で説明するプロファイル作成処理やプロファイルを用いた色変換処理等の所定の画像処理を行う。   The RAM 501 is used as a work area and a temporary save area for various control programs and data input from the operation unit 502. The operation unit 502 sets the image output device 507 and inputs data based on a user operation. The image processing unit 505 performs predetermined image processing such as profile creation processing and color conversion processing using a profile described in the following embodiment.

なお、この形態に限られず、プリンタなどの印刷装置でこの画像処理装置の一部または全部を実行してもよい。例えば、デジタルカメラで撮影した画像を直接プリンタに入力して印刷出力をする形態では、そのプリンタに画像処理装置が構成される。画像出力装置507は、プリンタなどの印刷装置やモニターとすることができる。   Note that the present invention is not limited to this mode, and a part or all of the image processing apparatus may be executed by a printing apparatus such as a printer. For example, in an embodiment in which an image captured by a digital camera is directly input to a printer and printed out, an image processing apparatus is configured in the printer. The image output device 507 can be a printing device such as a printer or a monitor.

また、後述の各実施形態で説明するプロファイルの作成は、上記画像処理装置としてのホストコンピュータにおいて実施することができ、また、その作成されたプロファイルは画像処理装置としてのホストコンピュータまたはプリンタなどの所定のメモリに格納して用いることができる。   The profile creation described in each embodiment described later can be performed by a host computer as the image processing apparatus, and the created profile is a predetermined information such as a host computer or a printer as the image processing apparatus. It can be used by storing in the memory.

本実施形態では、画像出力装置507としてインクジェットプリンタを用いたシステムについて説明する。また、実施形態で用いる色空間は、入力色空間(すなわち第1の色空間)はAdobeRGB色空間である。標準色空間はCIE−L*a*b*色空間で表されるものとするが、J*C*H*色空間、sRGB、AdobeRGB、PCS(プロファイルコネクションスペース)、入力デバイス、画像出力装置を製造するメーカーが独自に決めた色空間や、デバイス非依存色空間等、他の色空間であってもよい。画像処理装置5000により生成するプロファイルは、CIE−L*a*b*色空間からプリンタの出力色空間(すなわち第2の色空間)であるデバイスRGB値に変換するプロファイルとする。   In this embodiment, a system using an inkjet printer as the image output apparatus 507 will be described. The color space used in the embodiment is the input RGB color space (that is, the first color space) is the AdobeRGB color space. The standard color space is assumed to be represented by the CIE-L * a * b * color space, but the J * C * H * color space, sRGB, AdobeRGB, PCS (profile connection space), input device, and image output device Other color spaces such as a color space uniquely determined by the manufacturer and a device-independent color space may be used. The profile generated by the image processing device 5000 is a profile for converting the CIE-L * a * b * color space into a device RGB value that is an output color space of the printer (ie, the second color space).

また、以下の実施形態では、色域マッピングの方法として測色的(Colorimetric)処理の例を示す。測色的処理では、入力デバイスと出力デバイスで共通の色域はそのまま表現し、画像出力装置507では色再現ができない非共通の領域については、入力デバイスの色を出力色域表面にマッピングする。   In the following embodiment, an example of colorimetric processing is shown as a color gamut mapping method. In the colorimetric processing, the color gamut common to the input device and the output device is expressed as it is, and the color of the input device is mapped to the surface of the output gamut for the non-common region that cannot be reproduced by the image output apparatus 507.

デバイス依存色空間であるデバイスRGBは、本例ではたとえば紙面に上述した6色のインクで表現可能な色の範囲であるが、もちろんデバイスの種類やインクの種類などデバイスに依存して決まる。デバイス依存色空間と標準色空間との間の対応を示すプロファイルは、たとえば測色機を用いてユーザが測定することもできるし、デバイスのベンダにより与えられていてもよい。本実施形態では出力デバイスの持つ測色機で測定して得ている。いずれにしても原始的に与えられる出力プロファイルには色域変換は考慮されておらず、たとえば標準色空間の格子点に、デバイス依存色空間の対応する値が格納されたテーブルなどの形式で与えられる。このテーブルを用いて色変換を行う場合、入力の標準色空間における色が格子点上にあれば、その格子点に対応する値が変換後の出力色の値となる。格子点以外であれば、たとえば、入力された色の近傍の4格子点の値を用いて線形補間により求める。これは色域変換を含めたプロファイルについても同様である。なお本実施形態では、出力色域の方が入力色域よりも狭いものとして説明するが、これは逆の場合には測色的処理では色域変換が不要だからである。   In this example, the device RGB, which is a device-dependent color space, is a color range that can be expressed by the above-described six inks on the paper, for example, but of course depends on the device, such as the type of device and the type of ink. The profile indicating the correspondence between the device-dependent color space and the standard color space can be measured by a user using a colorimeter, for example, or may be provided by a device vendor. In this embodiment, it is obtained by measuring with a colorimeter possessed by the output device. In any case, the gamut conversion is not considered in the output profile that is originally given. For example, the output profile is given in the form of a table in which the corresponding values of the device-dependent color space are stored at the grid points of the standard color space. It is done. When color conversion is performed using this table, if a color in the input standard color space is on a grid point, the value corresponding to that grid point is the converted output color value. If it is not a grid point, for example, it is obtained by linear interpolation using the values of 4 grid points in the vicinity of the input color. The same applies to profiles including color gamut conversion. In the present embodiment, the output color gamut is described as being narrower than the input color gamut. This is because, in the opposite case, color gamut conversion is not required in colorimetric processing.

[画像処理装置の機能構成]
図6は、本実施形態に係る発明によって生成されたプロファイルを用いて、印刷するための画像処理構成の概略図である。入力される入力画像データは、入力デバイスのデバイス依存色空間、本例ではAdobeRGB色空間で定義されたRGB画像データであり、画像データI/F部601に入力される。RGB画像データは、RGB画像データの属性に応じて、標準色空間(本例ではCIE−L*a*b*)の色空間の出力画像データに、入力空間変換処理部602によって変換される。なお入力デバイスのデバイス依存色空間を入力色空間あるいは第1の色空間、出力デバイスのデバイス依存色空間を出力色空間あるいは第2の色空間とよび、色空間の外延を色域あるいは再現可能範囲と呼ぶ。
[Functional configuration of image processing apparatus]
FIG. 6 is a schematic diagram of an image processing configuration for printing using a profile generated by the invention according to the present embodiment. Input image data to be input is RGB image data defined in the device-dependent color space of the input device, in this example, the Adobe RGB color space, and is input to the image data I / F unit 601. The RGB image data is converted by the input space conversion processing unit 602 into output image data in the color space of the standard color space (in this example, CIE-L * a * b *) according to the attributes of the RGB image data. The device-dependent color space of the input device is called the input color space or the first color space, the device-dependent color space of the output device is called the output color space or the second color space, and the extension of the color space is the color gamut or reproducible range. Call it.

《入力空間変換部》
入力空間変換処理部602は、本例では3D−LUT処理によって変換を行う。そこでの処理パラメータは、入力プロファイル604からの情報をもとに入力係数変換部603によって、入力空間変換処理部用のパラメータに変換され、設定される。パラメータの設定とは、入力空間変換処理部がアクセス可能なように、たとえば、パラメータを所定の場所に所定の形式で格納することである。3D−LUT処理は、たとえば標準色空間においてあらかじめ定めた格子点(L*a*b*)に対応付けて入力色空間の色データ(たとえば(R,G,B))を格納したテーブルを用いた変換処理である。この場合、入力係数変換部603は、入力プロファイルをこの形式の3D−LUT変換する。
《Input space conversion unit》
In this example, the input space conversion processing unit 602 performs conversion by 3D-LUT processing. The processing parameters there are converted into parameters for the input space conversion processing unit by the input coefficient conversion unit 603 based on information from the input profile 604 and set. The parameter setting is, for example, storing parameters in a predetermined format in a predetermined location so that the input space conversion processing unit can access them. The 3D-LUT process uses, for example, a table that stores color data (for example, (R, G, B)) of the input color space in association with predetermined grid points (L * a * b *) in the standard color space. Conversion process. In this case, the input coefficient conversion unit 603 performs 3D-LUT conversion of the input profile in this format.

《出力空間変換部》
出力空間変換処理部605は、入力空間変換処理部602からの結果を受け、標準色空間の画像データから出力デバイス依存のRGB空間の画像データに変換する。ここでの処理も3D−LUT処理によって行われる。出力プロファイル607からの情報をもとに出力係数変換部606によって出力空間変換部605用のパラメータが設定され、出力空間変換部605により変換処理が行われる。出力プロファイル607は、本実施形態に係るプロファイル作成処理によって生成されたカラープロファイルである。
《Output space conversion unit》
The output space conversion processing unit 605 receives the result from the input space conversion processing unit 602 and converts the image data in the standard color space into image data in the RGB space depending on the output device. The processing here is also performed by 3D-LUT processing. Based on the information from the output profile 607, the output coefficient conversion unit 606 sets parameters for the output space conversion unit 605, and the output space conversion unit 605 performs conversion processing. The output profile 607 is a color profile generated by the profile creation process according to the present embodiment.

《色材色展開処理部》
出力空間変換処理部605での結果であるデバイス依存のRGB画像データは、色材色展開処理部608に入力される。色材色展開処理部608では、デバイス依存色空間のRGB信号を、画像出力装置507の色材に応じた色ごとの信号に変換する。この変換は公知の3D−LUT処理によって行われ、色材色展開処理と呼ぶ。本例では、色材は、シアン、淡シアン、マゼンタ、淡マゼンタ、イエロー、ブラックのインクであり、各色ごとの濃度を示すデータに変換される。もちろん展開後の色は出力デバイスに応じてさまざまである。色材色展開処理部608で用いるパラメータは、色材係数変換部609によって、印刷情報DB613の情報に基づいて設定される。印刷情報DB613には、色材色展開処理部608、ハーフトーニング処理部610、印刷制御部611で処理を行うための各種パラメータが格納されている。各種パラメータの説明は省略するが、メディアの種類、印字モード、印刷目的などに応じた各種パラメータ情報が管理され、必要に応じて選択、設定されるものである。色材に展開されたデータは、次にハーフトーニング処理部610に各色入力される。ハーフトーニング処理部610では、誤差拡散処理法、ディザ法などの処理により2値データに変換され、印刷制御部611に入力され、印刷パス数に応じた印刷制御を行うことにより出力されるが、ここでの詳細な説明は省略する。なお印刷パスとはシリアル方式のプリンタに適用される概念であり、ラインヘッドを持つプリンタや表示装置の場合には適用されない。また出力デバイスが表示装置の場合には、出力色空間であるRGB色空間の画像データを、ガンマ補正を施した程度の処理で用いることができ、階調表現可能なデバイスであればハーフトーニング処理も不要である。
《Color material color development processing unit》
The device-dependent RGB image data that is the result of the output space conversion processing unit 605 is input to the color material color development processing unit 608. The color material color development processing unit 608 converts the RGB signal in the device-dependent color space into a signal for each color corresponding to the color material of the image output device 507. This conversion is performed by a known 3D-LUT process, and is called a color material color development process. In this example, the color material is cyan, light cyan, magenta, light magenta, yellow, and black ink, and is converted into data indicating the density of each color. Of course, the color after development varies depending on the output device. Parameters used in the color material color development processing unit 608 are set by the color material coefficient conversion unit 609 based on information in the print information DB 613. The print information DB 613 stores various parameters for processing by the color material color development processing unit 608, the halftoning processing unit 610, and the print control unit 611. Although description of various parameters is omitted, various parameter information corresponding to the type of media, print mode, printing purpose, etc. is managed, and is selected and set as necessary. The data developed on the color material is then input to the halftoning processing unit 610 for each color. In the halftoning processing unit 610, it is converted into binary data by processing such as an error diffusion processing method and a dither method, and is input to the printing control unit 611 and output by performing printing control according to the number of printing passes. Detailed description here is omitted. The printing pass is a concept applied to a serial printer, and is not applied to a printer having a line head or a display device. If the output device is a display device, the image data in the RGB color space, which is the output color space, can be used for processing that has been subjected to gamma correction. Is also unnecessary.

以上、入力色空間および出力色空間は入力デバイスおよび出力デバイスそれぞれのRGB色空間とし、標準色空間をL*a*b*色空間として説明したが、いずれの色空間も本例のものに限らず、それぞれのデバイス色空間としてはCMYK色空間など、種々の色空間に対しても適用可能である。   The input color space and the output color space have been described as the RGB color spaces of the input device and the output device, respectively, and the standard color space has been described as the L * a * b * color space. However, any color space is not limited to this example. In addition, each device color space can be applied to various color spaces such as CMYK color space.

[本発明によるプロファイルの作成]
以下、図6の出力空間変換処理部605で使用されるプロファイルのパラメータを作成する方法を示す。本実施形態で作成されるプロファイルのパラメータは、格子点数が729格子点(9スライス)であり、上述のICCにより提唱されるプロファイル(標準色空間はCIE−L*a*b*)とする。また、本実施形態では、説明を分かり易くするため、図2に示した入力色空間200、標準色空間201に対して出力デバイスである印刷装置の色再現領域が出力色域202として表される例を基に、プロファイルを作成する方法を示す。以下にプロファイルの各格子点に対する出力データを算出する工程を詳細に説明する。
[Create profile according to the present invention]
Hereinafter, a method of creating a profile parameter used in the output space conversion processing unit 605 of FIG. 6 will be described. The parameters of the profile created in the present embodiment are 729 grid points (9 slices), and the profile proposed by the above-mentioned ICC (standard color space is CIE-L * a * b *). Further, in this embodiment, for easy understanding, the color reproduction area of the printing apparatus as an output device is expressed as the output color gamut 202 with respect to the input color space 200 and the standard color space 201 shown in FIG. We will show how to create a profile based on an example. The process of calculating output data for each lattice point of the profile will be described in detail below.

図7は、カラープロファイルを作成する処理を説明するフローチャートである。また、図8は本実施形態で説明するガマットマッピング(色域変換)の方法を説明するための模式図であり、格子点のデータP(x)inに対するマッピング方法を示している。     FIG. 7 is a flowchart illustrating a process for creating a color profile. FIG. 8 is a schematic diagram for explaining a method of gamut mapping (color gamut conversion) described in this embodiment, and shows a mapping method for data P (x) in of lattice points.

まず、図5の操作部502によって、プロファイル作成の開始が指示されると、ホストコンピュータ上の各部の働きにより、プロファイル作成のソフトウェアによって以下の工程処理がなされる。     First, when the start of profile creation is instructed by the operation unit 502 of FIG. 5, the following process is performed by the profile creation software by the operation of each unit on the host computer.

ステップS700は、生成するカラープロファイルの格子点データの情報を設定する工程である。出力カラープロファイルでは、L*a*b*値からデバイスRGB値への対応関係を17、もしくは33格子点による3次元上での対応を記述するのが一般的である。しかし、本実施形態では、説明を簡単にするために9格子点によるカラープロファイルの作成を前提に説明する。従って不図示ではあるが操作部503、表示部506の指示に従い格子点数を9と設定する。なお格子点数とは、標準色空間の一軸あたりの格子点の数を指し、色空間全体の格子点数はその3乗となる。本実施形態では、CIE−L*a*b*色空間で規定される格子点数は、729(9×9×9)格子点であり、格子点のL*a*b*値をL_in(i)、a_in(j)、b_in(k)(ただし、i、j、kは、0〜8)と記載して説明する。   Step S700 is a step of setting information of grid point data of the color profile to be generated. In the output color profile, the correspondence between L * a * b * values and device RGB values is generally described as a three-dimensional correspondence with 17 or 33 grid points. However, in the present embodiment, the description will be made on the premise that a color profile is created with nine grid points in order to simplify the description. Accordingly, although not shown, the number of grid points is set to 9 in accordance with instructions from the operation unit 503 and the display unit 506. The number of grid points refers to the number of grid points per axis in the standard color space, and the number of grid points in the entire color space is the third power. In the present embodiment, the number of grid points defined in the CIE-L * a * b * color space is 729 (9 × 9 × 9) grid points, and the L * a * b * value of the grid points is expressed as L_in (i ), A_in (j), b_in (k) (where i, j, k are 0 to 8).

ステップS701は、予め記憶してあるパッチチャート画像データを印刷し、パッチ部を測色することによって出力装置の色再現範囲である出力色域の情報を取得する工程である。本実施例では、9格子点であるので、後述のデータの補間処理も考慮し、その中間色の測色値を得るために、RGB画像データの各色成分を、16カウント刻みの17ステップで組み合わせた17×17×17=4913色のパッチを生成する。そして、生成したパッチチャート画像データを画像出力装置507で出力し、測色器508にて測色された測色データ(L*a*b*値)を情報記憶部503に記憶する。記憶された測定値は、それぞれ対応するRGB値を関連付けられている。これにより、出力デバイスのRGB色空間における17×17×17の各格子点に、その色のL*a*b*値を関連付けたテーブルが得られる。このテーブルに基づいて、L*a*b*色空間におけるRGB値のテーブルを作成する。詳しくは以下に述べる。     Step S701 is a step of acquiring information on an output color gamut that is a color reproduction range of the output device by printing patch chart image data stored in advance and measuring the color of the patch part. In the present embodiment, since there are nine grid points, each color component of the RGB image data is combined in 17 steps in increments of 16 counts in order to obtain a colorimetric value of the intermediate color in consideration of data interpolation processing described later. 17 × 17 × 17 = 4913 color patches are generated. Then, the generated patch chart image data is output by the image output device 507, and the colorimetric data (L * a * b * value) measured by the colorimeter 508 is stored in the information storage unit 503. Each stored measurement value is associated with a corresponding RGB value. As a result, a table is obtained in which each L * a * b * value of the color is associated with each 17 × 17 × 17 grid point in the RGB color space of the output device. Based on this table, a table of RGB values in the L * a * b * color space is created. Details are described below.

具体的には、ステップS701ではまず、図6の画像データI/F部601にパッチチャート画像データが入力される。ここでは、入力空間変換処理部602、出力空間変換処理部605では処理を行わず、RGB信号がそのまま色材色展開処理部608に入力される。色材色展開処理部608では、印刷情報DB613、色材係数変換部609により対象とする用紙用のパラメータで色材であるシアン、淡シアン、マゼンタ、淡マゼンタ、黄、黒の6色のインクに展開される。そして、印刷情報DB613、印刷係数変換部612に基づいて、ハーフトーニング処理部610、印刷制御部611を介してパッチチャート画像が印刷される。   Specifically, in step S701, patch chart image data is first input to the image data I / F unit 601 in FIG. Here, the input space conversion processing unit 602 and the output space conversion processing unit 605 do not perform processing, and the RGB signals are input to the color material color development processing unit 608 as they are. In the color material color development processing unit 608, inks of six colors, cyan, light cyan, magenta, light magenta, yellow, and black, which are the parameters for the target paper by the print information DB 613 and the color material coefficient conversion unit 609, are used. Expanded to Then, based on the print information DB 613 and the print coefficient conversion unit 612, a patch chart image is printed via the halftoning processing unit 610 and the print control unit 611.

印刷されたパッチチャート画像の各パッチを測色器508によって測色し、その測色値を入力RGB値と関連付けて情報記憶部503に格納する。格納された測色値を以下の2つの出力色域情報に変換し、情報記憶部503に記憶しておく。第1の形式の出力色域情報は、プロファイルの格子点のL*a*b*値と最も近い色(色差が最少)として再現可能なRGB値を対応させた情報である。格納されている測色値は、所与のRGB値に対するL*a*b*の測定値であるため、公知技術である逆引き補間処理によって、格子点であるL*a*b*値に対するRGB値に変換して、その値を対応するL*a*b*値と関連付けて記憶する。すなわち、第1の形式の出力色域情報は、何ら補正を施していない原始的な出力プロファイルである。第2の形式の出力色域情報は、同様に測色値を基に公知技術により出力色域範囲を後述のステップで判別しやすい出力色域情報として格納する。本実施形態では、0から100の範囲の各L*値に対してガマット境界領域のa*b*値を記憶することにより出力色域情報を管理する。すなわち、図2(b)の出力色域202の境界に対応した値の対(a*,b*)の組が、各L*値に対して作成される。また、第1と第2の情報として分けて記憶する例を示したが、一つの記憶情報として該2つの情報が記憶されていても同じ効果が得られる。なお第1の形式または第2の形式の出力色域情報で示される出力色域の情報を、第2の色域情報とよぶこともある。   Each color of the printed patch chart image is measured by the colorimeter 508, and the colorimetric value is associated with the input RGB value and stored in the information storage unit 503. The stored colorimetric values are converted into the following two output color gamut information and stored in the information storage unit 503. The output color gamut information in the first format is information in which RGB values that can be reproduced as the closest color (the smallest color difference) are associated with the L * a * b * values of the lattice points of the profile. Since the stored colorimetric value is a measured value of L * a * b * for a given RGB value, the L * a * b * value that is a lattice point is obtained by reverse interpolation processing that is a known technique. Convert to RGB values and store the values in association with the corresponding L * a * b * values. That is, the output color gamut information in the first format is a primitive output profile that is not corrected at all. Similarly, the output color gamut information of the second format is stored as output color gamut information that is easy to discriminate the output color gamut range in a later-described step by a known technique based on the colorimetric values. In this embodiment, the output gamut information is managed by storing the a * b * value of the gamut boundary region for each L * value in the range of 0 to 100. That is, a pair of values (a *, b *) corresponding to the boundary of the output color gamut 202 in FIG. 2B is created for each L * value. Moreover, although the example which memorize | stores separately as 1st and 2nd information was shown, even if these 2 information is memorize | stored as one memory | storage information, the same effect is acquired. Note that the output color gamut information indicated by the output color gamut information in the first format or the second format may be referred to as second color gamut information.

ステップS702は、対象とする格子点を設定し、該格子点のL*a*b*値が出力色域内に存在するか、色域外になり色域圧縮が必要であるかを判断する。ステップS702−S707の処理は、ステップS700で設定した全格子点(本例では729点)に対し、i、j、kに初期値0を与え、ステップS707で終了していないと判定されれば入れ子的に順にインクリメントすることによって全格子点を対象として処理が行われる。ここで対象とする格子点(着目格子点とも呼ぶ)をi=x, j=y, k=zとして以下に説明する。したがってステップS702では、格子点(L_in(x)、a_in(y)、b_in(z))が、出力色域の範囲内かそれとも範囲外かを、ステップS701で記憶されている第2の形式の出力色域情報を基に判定する。出力色域の範囲内の場合はステップS703に進み、範囲外の場合はステップS704に進む。     In step S702, a target grid point is set, and it is determined whether the L * a * b * value of the grid point exists in the output color gamut or is out of the color gamut and needs to be compressed. If it is determined in steps S702 to S707 that initial values 0 are given to i, j, and k for all the grid points (729 points in this example) set in step S700, and it is not completed in step S707. Processing is performed for all grid points by nesting in order. Here, the target lattice point (also referred to as a target lattice point) is described below as i = x, j = y, and k = z. Therefore, in step S702, whether the grid points (L_in (x), a_in (y), b_in (z)) are within the output color gamut range or out of range is stored in the second format stored in step S701. Judgment is based on the output color gamut information. If it is within the output color gamut, the process proceeds to step S703. If it is out of the range, the process proceeds to step S704.

なお第1の形式の出力色域情報を作成する前に、すべての格子点の値をいったん(0,0,0)に初期化しておけば、第1の出力色域情報において着目格子点に対応するデバイスRGB値が(0,0,0)でない場合に、着目格子点は出力色域の範囲内であると判定できる。一方、着目格子点に対応するデバイスRGB値が(0,0,0)であれば着目格子点は出力色域の範囲外の可能性がある。デバイスRGB値=(0,0,0)のパッチの測色値がたまたま格子点に位置する場合には、当該格子点も色域の範囲内である。そこで、第1の出力色域情報の作成時に、デバイスRGB値が(0,0,0)の測色値が格子点上にあるか否か、またあるならどの格子点かを示すRGB原点情報を、第1の出力色域情報に付属させる。着目格子点に対応するデバイスRGB値が(0,0,0)であれば、そのRGB原点情報を参照し、該当しなければ着目格子点は出力色域の範囲外と判定される。もちろんこれは一方法にすぎない。   If the values of all grid points are initialized to (0, 0, 0) before creating the output color gamut information in the first format, the grid points of interest in the first output color gamut information are set. When the corresponding device RGB value is not (0, 0, 0), it can be determined that the target lattice point is within the output color gamut. On the other hand, if the device RGB value corresponding to the target grid point is (0, 0, 0), the target grid point may be outside the range of the output color gamut. When the colorimetric value of the patch with the device RGB value = (0, 0, 0) happens to be located at a grid point, the grid point is also within the color gamut. Therefore, when the first output color gamut information is created, the RGB origin information indicating whether or not the colorimetric value of the device RGB value is (0, 0, 0) is on the grid point, and if so, which grid point. Are attached to the first output color gamut information. If the device RGB value corresponding to the target grid point is (0, 0, 0), the RGB origin information is referred to. If not, the target grid point is determined to be out of the output color gamut. Of course, this is just one way.

ステップS703では、出力色域内での色変換を行う。ここでは、着目格子点は出力色域内で色再現が可能であるため、ステップS701で得られた第1の出力色域情報により、そのまま着目格子点(L_in(x)、a_in(y)、b_in(z))に対応するデバイスRGB値の値を、作成する出力プロファイルの着目格子点に対応する値として複製する。すなわち、作成される出力プロファイルは、出力色域の範囲内に関しては、第1の出力色域情報と一致している。     In step S703, color conversion is performed within the output color gamut. Here, since the target grid point can be reproduced within the output color gamut, the target grid point (L_in (x), a_in (y), b_in) is directly determined based on the first output color gamut information obtained in step S701. The device RGB value corresponding to (z)) is duplicated as a value corresponding to the target grid point of the output profile to be created. That is, the output profile to be created matches the first output color gamut information with respect to the output color gamut.

ステップS704は、着目格子点の色相面における出力色再現領域を算出する工程である。色相面とは、所定の色相における明度−彩度平面であり、L*a*b*空間においては、例えば図2(a)の標準色空間において、明度(あるいは輝度)軸を一方の座標軸とする平面である。ここでは、ステップS701の第2の出力色域情報として記憶されている分割されたL*値に対するガマット領域の(a*,b*)値を基に、公知技術により図8に示すような出力色再現領域を演算する。すなわち、演算される出力色再現領域は、例えば明度軸周りの色相面における明度値−彩度値の対(L*,c*)で定義されている。彩度c*は当該色相面の色域の輪郭を形成する(a*,b*)から算出される。明度軸の格子の数はステップS700で取得したとおりであるから、ある色相面の出力色再現領域は、例えば、格子の明度ごとに対応する色域の輪郭となる彩度の値を求め、それらを互いに関連付けて記憶することで実現される。また出力色再現領域が演算される色相面は、たとえば格子点を含むように選択されてもよいし、あるいは明度軸の周りで所定角度おきに選択されてもよい。後者の場合には、a*軸およびb*軸の含む色相面も含まれるのが望ましい。     Step S704 is a step of calculating an output color reproduction region on the hue plane of the target lattice point. The hue plane is a lightness-saturation plane in a predetermined hue. In the L * a * b * space, for example, in the standard color space of FIG. 2A, the lightness (or luminance) axis is set as one coordinate axis. It is a plane to do. Here, based on the (a *, b *) value of the gamut area corresponding to the divided L * value stored as the second output color gamut information in step S701, an output as shown in FIG. Calculate the color reproduction area. That is, the calculated output color reproduction region is defined by, for example, a lightness value-saturation value pair (L *, c *) on the hue plane around the lightness axis. The saturation c * is calculated from (a *, b *) that forms the outline of the color gamut of the hue plane. Since the number of grids on the lightness axis is the same as that acquired in step S700, the output color reproduction area of a certain hue plane, for example, obtains the saturation value that becomes the outline of the color gamut corresponding to each lightness of the grid. Are stored in association with each other. The hue plane on which the output color reproduction area is calculated may be selected so as to include, for example, grid points, or may be selected at predetermined angles around the brightness axis. In the latter case, it is desirable that a hue plane including the a * axis and the b * axis is also included.

図8のP(x)inは処理対象とする着目格子点である。ここで、本実施形態では実線200は入力色空間領域(入力色域あるいは第1の色域)の境界、実線201は標準色空間領域(CIE−L*a*b*空間)の境界を示し、破線202は出力色再現領域(出力色域あるいは第2の色域)の境界を示している。対象となるのは出力色であるから、図8の出力色域202の輪郭を出力色再現領域として演算すればよい。   P (x) in in FIG. 8 is a target lattice point to be processed. Here, in the present embodiment, the solid line 200 indicates the boundary of the input color space region (input color gamut or first color gamut), and the solid line 201 indicates the boundary of the standard color space region (CIE-L * a * b * space). The broken line 202 indicates the boundary of the output color reproduction area (output color gamut or second color gamut). Since the target is the output color, the contour of the output color gamut 202 in FIG. 8 may be calculated as the output color reproduction region.

ステップS705は、対象とする着目格子点の色相面において、標準色空間領域を分割する工程である。本実施形態では、出力色再現領域の最大彩度点に基づいて2つの領域に分割する例を示す。最大彩度点とは、出力色域の輪郭面において、明度軸からの距離が最大の点である。ここで分割された領域と処理対象の着目格子点の位置関係によって次ステップで処理を切り替える。これが本実施形態で作成されるカラープロファイルの特徴である。出力色再現領域の最大彩度点をCとし、C点の明度値Lcよりも明度値が高い領域を第1の領域800とし、それ以外の領域を第2の領域801とする。結局、ステップS705における領域分割とは、最大彩度点Cの明度値Lc(これを境界明度とも呼ぶ)を決定する処理である。決定した境界明度Lcは所定の記憶領域に記憶される。   Step S705 is a step of dividing the standard color space region on the hue plane of the target lattice point of interest. In the present embodiment, an example in which the image is divided into two regions based on the maximum saturation point of the output color reproduction region is shown. The maximum saturation point is a point having the maximum distance from the brightness axis on the contour surface of the output color gamut. The processing is switched in the next step depending on the positional relationship between the divided area and the target lattice point to be processed. This is a feature of the color profile created in this embodiment. The maximum saturation point of the output color reproduction region is C, the region having a lightness value higher than the lightness value Lc of the C point is the first region 800, and the other region is the second region 801. Eventually, the area division in step S705 is a process of determining the lightness value Lc (also referred to as boundary lightness) of the maximum saturation point C. The determined boundary brightness Lc is stored in a predetermined storage area.

本実施形態では、出力再現領域の最大彩度点に基づいて2つの領域に分割する例を示すが、入力再現領域と出力再現領域の形状によっては、入力再現領域の最大彩度点に基づいて2つの領域に分割してもよいし、入力再現領域の最大彩度点と出力再現領域の最大彩度点の2点とを基準として3つの領域に分割してもよい。なお、入力色域については、たとえば第1の形式の入力色域情報がデバイスのベンダから与えられていれば、第2の形式の入力色域情報を作成するだけで足りる。入力色域を表す情報は、入力色域情報あるいは第1の色域情報と呼ばれる。   In the present embodiment, an example of dividing into two regions based on the maximum saturation point of the output reproduction region is shown, but depending on the shape of the input reproduction region and the output reproduction region, based on the maximum saturation point of the input reproduction region. It may be divided into two regions, or may be divided into three regions based on the maximum saturation point of the input reproduction region and the maximum saturation point of the output reproduction region. For the input color gamut, for example, if the input color gamut information in the first format is given by the device vendor, it is sufficient to create the input color gamut information in the second format. Information representing the input color gamut is referred to as input color gamut information or first color gamut information.

ステップS706は、処理対象の着目格子点が、ステップS705によって領域区分された第1の領域800、第2の領域801に存在するかによって、L*軸上の焦点色の移動範囲(焦点色の範囲)を切り替えることにより、ガマットマッピング処理を行う工程である。焦点色は無彩色であり明度成分のみを有する。着目格子点がいずれの領域に属するかの判定は、着目格子点の明度成分の値を境界明度Lcと比較し、大きければ第1の領域800に、小さければ第2の領域801に属すると判定される。なお、着目格子点の明度成分の値が境界明度Lcと等しい場合にはあらかじめ定めたいずれかの領域とすればよい。   In step S706, depending on whether the target grid point to be processed exists in the first area 800 and the second area 801 divided in step S705, the focus color movement range (focus color of the focus color) is determined. This is a step of performing gamut mapping processing by switching the range. The focal color is achromatic and has only a brightness component. In determining which region the target lattice point belongs to, the value of the lightness component of the target lattice point is compared with the boundary lightness Lc, and if it is larger, it is determined that it belongs to the first region 800, and if smaller, it belongs to the second region 801. Is done. If the value of the lightness component at the grid point of interest is equal to the boundary lightness Lc, it may be set to one of predetermined regions.

図8(a)を用いて、第1の領域内に着目格子点がある場合の処理を説明する。第1の領域内にある着目格子点のデータP(x)inに対応する無彩色軸上の第1の焦点色の明度L1s(x)は、下記の式(2)により算出される。図8(a)に示すように、Ltは入力空間の最も高い明度値、Lcは最大彩度点Cの明度値である。つまり、本実施形態では、第1の焦点色の移動範囲の情報(上限値L1_max、下限値L1_min)から、格子点のデータの明度に応じて焦点色の明度を算出する。また、第1の焦点の移動範囲(上限値L1_max、下限値L1_min)は、第1の領域800上の格子点が彩度重視でマッピングされるように設定され、その設定方法は従来と同様である。

L1s(x)=(L1_max−L1_min)・L_in(x)/(Lt−Lc)+L1_min...(2)

そして、着目格子点のデータP(x)inと算出された焦点色L1s(x)とを結ぶ直線と出力色域202の輪郭との交点P(x)outのL*a*b*値であるL_out(x)、a_out(y)、b_out(z)を算出する。この交点P(x)outのL*a*b*値で表される標準色空間における位置(L_out(x)、a_out(y)、b_out(z))に対応するデバイス依存色データ(本例ではデバイスRGB)が、着目格子点P(x)inに対する出力色となる。すなわち、作成するプロファイルにおいて、着目格子点に対応するデバイス依存色データとして、P(x)outに対応するデバイス依存色データが格納される。P(x)outは格子点とは限らないので、その場合には補間により値が計算される。交点P(x)outは、換言すれば、着目格子点と焦点とを結ぶ線上にあるデバイス依存色(第2の色空間)の色の内、着目格子点から最短距離にある色、すなわち最も近い色である。
With reference to FIG. 8A, a process when the target lattice point is in the first area will be described. The brightness L1s (x) of the first focal color on the achromatic color axis corresponding to the data P (x) in of the target grid point in the first region is calculated by the following equation (2). As shown in FIG. 8A, Lt is the highest lightness value of the input space, and Lc is the lightness value of the maximum saturation point C. That is, in this embodiment, the brightness of the focus color is calculated according to the brightness of the data of the grid points from the information on the moving range of the first focus color (upper limit value L1_max, lower limit value L1_min). In addition, the moving range of the first focus (upper limit value L1_max, lower limit value L1_min) is set so that the grid points on the first region 800 are mapped with emphasis on saturation, and the setting method is the same as the conventional method. is there.

L1s (x) = (L1_max−L1_min) · L_in (x) / (Lt−Lc) + L1_min (2)

The L * a * b * value of the intersection point P (x) out between the straight line connecting the data P (x) in of the target grid point and the calculated focal color L1s (x) and the contour of the output color gamut 202. Certain L_out (x), a_out (y), and b_out (z) are calculated. Device-dependent color data (this example) corresponding to the position (L_out (x), a_out (y), b_out (z)) in the standard color space represented by the L * a * b * value of this intersection P (x) out , Device RGB) is the output color for the grid point of interest P (x) in. That is, in the profile to be created, device-dependent color data corresponding to P (x) out is stored as device-dependent color data corresponding to the target lattice point. Since P (x) out is not necessarily a lattice point, in that case, a value is calculated by interpolation. In other words, the intersection point P (x) out is the color at the shortest distance from the target grid point among the device-dependent colors (second color space) on the line connecting the target grid point and the focus. It is a close color.

次に、図8(b)を用いて、格子点が第2の領域内にある場合の処理を説明する。焦点色の移動範囲が異なるが、基本的には第1の領域と同様の処理となる。着目格子点のデータP(x)inに対応する無彩色軸上の焦点色の明度L2s(x)は、下記の式(3)により算出される。図8(b)に示すように、Lbは入力空間の最も低い明度値、Lcは最大彩度点Cの明度値である。つまり、本実施形態では、第2の焦点色の移動範囲の情報(上限値L2_max、下限値L2_min)から、格子点のデータの明度に応じて焦点色の明度を算出する。また、第2の焦点の移動範囲(上限値L2_max、下限値L2_min)は、第2の領域801上の格子点が明度重視でマッピングされるように設定され、その設定方法は従来と同様である。

L2s(x)=(L2_max−L2_min)・L_in(x)/(Lc−Lb)+L2_min...(3)

そして、着目格子点のデータP(x)inと算出された焦点色L2s(x)とを結ぶ直線と出力色域202の輪郭との交点P(x)outのL*a*b*値であるL_out(x)、a_out(y)、b_out(z)を算出する。この交点P(x)outのL*a*b*値で表される標準色空間における位置(L_out(x)、a_out(y)、b_out(z))に対応するデバイス依存色データ(本例ではデバイスRGB)が、着目格子点P(x)inに対する出力色となる。すなわち、作成するプロファイルにおいて、着目格子点に対応するデバイス依存色データとして、P(x)outに対応するデバイス依存色データが格納される。P(x)outは格子点とは限らないので、その場合には補間により値が計算される。
Next, processing when the lattice point is in the second region will be described with reference to FIG. Although the focal color movement range is different, the processing is basically the same as in the first area. The brightness L2s (x) of the focal color on the achromatic color axis corresponding to the data P (x) in of the target lattice point is calculated by the following equation (3). As shown in FIG. 8B, Lb is the lowest lightness value of the input space, and Lc is the lightness value of the maximum saturation point C. That is, in this embodiment, the brightness of the focus color is calculated according to the brightness of the data of the grid points from the information on the movement range of the second focus color (upper limit value L2_max, lower limit value L2_min). The second focus movement range (upper limit value L2_max, lower limit value L2_min) is set so that the grid points on the second region 801 are mapped with emphasis on brightness, and the setting method is the same as the conventional method. .

L2s (x) = (L2_max−L2_min) · L_in (x) / (Lc−Lb) + L2_min (3)

The L * a * b * value of the intersection point P (x) out between the straight line connecting the data P (x) in of the target grid point and the calculated focal color L2s (x) and the contour of the output color gamut 202. Certain L_out (x), a_out (y), and b_out (z) are calculated. Device-dependent color data (this example) corresponding to the position (L_out (x), a_out (y), b_out (z)) in the standard color space represented by the L * a * b * value of this intersection P (x) out , Device RGB) is the output color for the grid point of interest P (x) in. That is, in the profile to be created, device-dependent color data corresponding to P (x) out is stored as device-dependent color data corresponding to the target lattice point. Since P (x) out is not necessarily a lattice point, in that case, a value is calculated by interpolation.

なお第1の領域の焦点の移動範囲と第2の焦点の移動範囲は、たとえばあらかじめ定めておく。ただし各領域の範囲は領域分割するまで不明であるから、たとえば第1の領域に対する焦点の移動範囲を、第1の領域の明度の範囲に対して相対的に決めておき、また第2の領域に対する焦点の移動範囲を、第1の領域の焦点の移動範囲に対して相対的に決めておけばよい。   Note that the focal range and the second focal range of the first region are determined in advance, for example. However, since the range of each area is unknown until the area is divided, for example, the focus movement range with respect to the first area is determined relative to the brightness range of the first area, and the second area It is only necessary to determine the movement range of the focal point relative to the relative movement range of the focal point of the first region.

以上のようにして着目格子点に対応する出力デバイスRGB値が求められ、出力カラープロファイルに格納される。ステップS707では、本実施形態で作成する出力カラープロファイルの全ての格子点に対してパラメータ(すなわち格子点に対応する、出力デバイス依存色空間で表現した画像データ)を決定する処理が完了したか判定する。完了していれば次のステップS708に進む。完了していなければ、格子点の座標成分のインデックスi,j,kを入れ子的にインクリメントして着目格子点を次に進め、S702に分岐する。なお座標成分のインデックスi,j,kをインクリメントすることは、格子点間の差分だけ各成分をインクリメントすることである。本例ではi=j=k=9で完了する。   As described above, the output device RGB value corresponding to the target grid point is obtained and stored in the output color profile. In step S707, it is determined whether processing for determining parameters (that is, image data expressed in the output device-dependent color space corresponding to the grid points) is completed for all grid points of the output color profile created in the present embodiment. To do. If completed, the process proceeds to the next step S708. If not completed, the indices i, j, and k of the coordinate components of the grid points are incremented in a nested manner, the next grid point is advanced, and the process branches to S702. Note that incrementing the index i, j, k of the coordinate component means incrementing each component by the difference between the grid points. In this example, i = j = k = 9 is completed.

ステップS708では、決定されたカラープロファイルのパラメータを図6の出力プロファイル607として利用できる形式に変換する。もちろん、ステップS707までで作成したカラープロファイルがそのまま利用できる形式であればS708では何も行われない。   In step S708, the determined color profile parameters are converted into a format that can be used as the output profile 607 in FIG. Of course, if the color profile created up to step S707 can be used as it is, nothing is performed in step S708.

このようにして色域変換が施された出力プロファイルが生成される。この出力プロファイルは、図6の出力空間変換処理部605で標準色空間を出力デバイス依存色空間に変換する際に参照される。この結果、入力デバイス依存色空間から変換された入力データは、出力色域に合わせて色変換がおこなわれる。この出力に対して色材色展開、ハーフトーニングが施され、印刷される。   In this way, an output profile subjected to color gamut conversion is generated. This output profile is referred to when the standard color space is converted into the output device-dependent color space by the output space conversion processing unit 605 in FIG. As a result, the input data converted from the input device-dependent color space is subjected to color conversion in accordance with the output color gamut. The output is subjected to color material color development and halftoning, and is printed.

以上のように本発明の特徴は、プロファイルの格子点が定義される色空間の領域を分割し、分割された領域毎に焦点色の移動範囲を切り替え、定義された少なくとも2つの焦点色の移動範囲は互いに一致せず、かつ範囲が重複する部分があるように設定することにある。   As described above, the feature of the present invention is that the color space region in which the grid points of the profile are defined is divided, the focal color movement range is switched for each divided region, and the movement of at least two defined focal colors is performed. The range is set so that there is a portion where the ranges do not coincide with each other and the ranges overlap.

本実施形態では、定義される2つの領域に対応する焦点の移動範囲(本実施形態では、第1と第2の領域の焦点色の移動範囲)が、図8に示すように、互いに一致せず、かつ範囲が重複する部分があるように設定することが特徴である。このように焦点の移動範囲を設定することより、出力色域の形状に応じてより詳細にガマットマッピングされる点を制御することが可能となる。   In the present embodiment, the focus movement ranges corresponding to the two defined areas (in this embodiment, the focus color movement ranges of the first and second areas) are matched with each other as shown in FIG. It is characterized by setting so that there is a portion where the ranges overlap. By setting the focus movement range in this way, it becomes possible to control the points to be gamut mapped in more detail according to the shape of the output color gamut.

本実施形態で作成したプロファイルを適用した場合のマッピング結果を図9に示す。これを従来例と比較すると、従来は、図4に示すように、彩度重視で焦点の移動範囲を設定してマッピングを行った場合、出力色域の形状によっては、必ずしも彩度重視な結果を得ることが出来なかった。しかし、本実施形態にかかる出力プロファイルを適用することにより、低明度側、高明度側とも彩度を重視したマッピングが可能となる。また、本実施例では彩度重視によるマッピングを例に説明したが、明度重視や両者のバランスを重視したマッピングにおいても同様に、意図した通りのマッピングが可能となる。   The mapping result when the profile created in this embodiment is applied is shown in FIG. Compared with the conventional example, as shown in FIG. 4, in the past, when mapping was performed by setting the focus movement range with emphasis on saturation, depending on the shape of the output color gamut, the result with emphasis on saturation was not necessarily obtained. Could not get. However, by applying the output profile according to the present embodiment, it is possible to perform mapping that places importance on chroma on both the low brightness side and the high brightness side. Further, in this embodiment, mapping with emphasis on saturation has been described as an example, but mapping as intended is also possible in mapping with emphasis on lightness and a balance between the two.

このように、本発明の方法を適用することにより、出力色域外のデータに対してより詳細に焦点色を設定してマッピングすることができ、階調性が良く、自然な色再現が可能となる。その結果、従来では、カラープロファイル作成、印刷、主観評価、部分修正という作業を繰り返し、作成していたカラープロファイルをユーザによって自動的に生成することが可能になった。   In this way, by applying the method of the present invention, it is possible to set and map the focus color in more detail for the data outside the output color gamut, and to achieve a good gradation and natural color reproduction. Become. As a result, it has become possible for the user to automatically generate a color profile that has been created by repeating the operations of color profile creation, printing, subjective evaluation, and partial correction.

本発明はこれらの実施形態に限られるものではなく、その要旨を逸脱しない範囲で様々な形態による実施が可能である。例えば、入力色空間としてsRGB色空間を例示したが、これに限定されるものではなく、AdobeRGB、WideGamutRGB等の他の色空間でもよい。また、標準色空間として、CIE−L*a*b*色空間を例示したが、これに限定されるものではなく、XYZ色空間やJ*C*H*色空間等、それに類似する色空間であれば実現可能であることは言うまでもない。本実施例では、測色的(Colorimetric)処理の例を示したが、知覚的(Perceptual)、彩度重視(Satulation)の処理でも良い。また、本実施例では、作成するLUTの格子点数を729格子点としたが、これに限定されず、出力色域を表現可能なスライス数であればよい。また、焦点色を算出する(2)、(3)式は、本実施例に例示した式に限定されるものではなく、意図通りにマッピングできればどのような式を用いてもよい。   The present invention is not limited to these embodiments, and can be implemented in various forms without departing from the scope of the invention. For example, the sRGB color space is exemplified as the input color space, but the present invention is not limited to this, and other color spaces such as AdobeRGB, WideGamutRGB may be used. In addition, the CIE-L * a * b * color space is exemplified as the standard color space, but the color space is not limited to this, and a color space similar to the XYZ color space, J * C * H * color space, or the like. Needless to say, this is feasible. In this embodiment, an example of colorimetric processing is shown, but perceptual and saturation processing may also be used. In this embodiment, the number of grid points of the LUT to be created is 729 grid points. However, the present invention is not limited to this, and any number of slices that can express the output color gamut may be used. Further, the formulas (2) and (3) for calculating the focus color are not limited to the formulas exemplified in this embodiment, and any formula may be used as long as the mapping can be performed as intended.

また、本実施形態では、図9のように出力色域の最大彩度に対応する明度が、入力色域の最大彩度に対応する明度よりも低い場合の色域変換を説明した。これは、一般的にスキャナやデジタルカメラ等の入力デバイスの色域と、プリンタ等の出力デバイスの色域との関係がそのような関係であることが多いためである。このような場合に本実施形態の要領で色域変換を行うのは次の理由による。通常、出力色域は入力色域をすべてカバーできない。また、出力色域の最大彩度に対応する明度が入力色域の最大彩度に対応する明度とずれていると、出力色域の最大彩度に対応する明度で上述した第1の領域と第2の領域に分割した場合、入力色域の最大彩度に対応する明度が属する領域では、或る明度に着目すると、入力色域と出力色域それぞれに対応する彩度の差が大きくなる。それと比較して、入力色域の最大彩度に対応する明度が属さない領域では、入力色域と出力色域それぞれに対応する彩度の差は小さい。このため、入力色域の最大彩度に対応する明度が属す領域については彩度重視、そうではない領域については明度重視で色域変換を行うと、理想的な色域変換が実現できる。   In the present embodiment, the color gamut conversion in the case where the lightness corresponding to the maximum saturation of the output color gamut is lower than the lightness corresponding to the maximum saturation of the input color gamut as shown in FIG. This is because the relationship between the color gamut of an input device such as a scanner or a digital camera and the color gamut of an output device such as a printer is often such a relationship. In such a case, the color gamut conversion is performed as described in the present embodiment for the following reason. Normally, the output color gamut cannot cover the entire input color gamut. Further, when the lightness corresponding to the maximum saturation of the output color gamut deviates from the lightness corresponding to the maximum saturation of the input color gamut, the first region described above with the lightness corresponding to the maximum saturation of the output color gamut When the image is divided into the second regions, in a region to which the lightness corresponding to the maximum saturation of the input color gamut belongs, when attention is paid to a certain lightness, a difference in saturation corresponding to each of the input color gamut and the output color gamut becomes large. . In contrast, in a region where the brightness corresponding to the maximum saturation of the input color gamut does not belong, the difference in saturation corresponding to each of the input color gamut and the output color gamut is small. For this reason, ideal color gamut conversion can be realized by performing color gamut conversion with emphasis on saturation for areas to which lightness corresponding to the maximum saturation of the input color gamut belongs, and with emphasis on lightness for other areas.

そのため、上記例では、多くの場合の入力色域と出力色域との関係に基づいて、出力色域の最大彩度に対応する明度よりも高い明度の領域を第1の領域とし、出力色域の最大彩度に対応する明度よりも低い明度の領域を第2の領域とした。しかしながら、一般的にいえば、出力色域の最大彩度に対応する明度を境界として2つの領域に分割した場合、入力色域の最大彩度に対応する明度が属する領域を第1の領域、他方の領域すなわち入力色域の最大彩度に対応する明度が属さない領域を第2の領域と読み替えて、上記した例を適用するのが望ましい。   Therefore, in the above example, based on the relationship between the input color gamut and the output color gamut in many cases, an area having a brightness higher than the brightness corresponding to the maximum saturation of the output color gamut is set as the first area, and the output color A region having a lightness lower than the lightness corresponding to the maximum saturation of the region was defined as the second region. However, generally speaking, when the lightness corresponding to the maximum saturation of the output color gamut is divided into two regions, the region to which the lightness corresponding to the maximum saturation of the input color gamut belongs is the first region, It is desirable to apply the above-described example by replacing the other region, that is, the region to which the lightness corresponding to the maximum saturation of the input color gamut does not belong, with the second region.

また本実施形態で作成されるのは彩度重視の出力プロファイルである。しかしそのように固定的に処理せず、たとえば出力プロファイルの作成前に、重視する属性をオペレータに指定させ、彩度が指定された場合に図7の手順を適用し、明度が指定された場合には従来の明度重視の手順を適用するようにしてもよい。   Also, an output profile that emphasizes saturation is created in the present embodiment. However, such fixed processing is not performed. For example, when creating an output profile, the operator specifies the attribute to be emphasized, and when the saturation is specified, the procedure of FIG. 7 is applied and the brightness is specified. A conventional lightness-oriented procedure may be applied.

また本実施形態では、出力プロファイルの作成について説明したが、ある色域から、その全体をカバーしていない他の色域への色域変換を伴うプロファイルの作成であれば、本実施形態を適用することが可能である。   In the present embodiment, the creation of an output profile has been described. However, the present embodiment is applied to the creation of a profile that involves color gamut conversion from a certain color gamut to another color gamut that does not cover the whole. Is possible.

[その他の実施例]
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
[Other Examples]
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.

Claims (7)

第1の色空間から、該第1の色空間とは異なる第2の色空間への色変換を定義したプロファイルを作成するプロファイル作成装置であって、
前記第2の色空間を標準色空間と対応付けた第2の色域情報を取得する色域情報の取得手段と、
前記第2の色空間の、前記標準色空間における最大の彩度に対応する明度を境界として、前記標準色空間を2つの領域に分割する領域分割手段と、
分割された前記領域ごとに、前記第1の色空間に対応した標準色空間における色を、前記第2の色空間における色に変換するプロファイルを作成するプロファイル作成手段と
を備えることを特徴とするプロファイル作成装置。
A profile creation device for creating a profile defining color conversion from a first color space to a second color space different from the first color space,
Gamut information acquisition means for acquiring second gamut information in which the second color space is associated with a standard color space;
Area dividing means for dividing the standard color space into two areas, with the brightness corresponding to the maximum saturation in the standard color space of the second color space as a boundary;
Profile division means for creating a profile for converting a color in a standard color space corresponding to the first color space into a color in the second color space for each of the divided areas. Profile creation device.
前記プロファイル作成手段は、分割された前記2つの領域それぞれについて、前記標準色空間における色の明度に対応したそれぞれの領域の焦点色の範囲を、該範囲が互いに一致せず、かつ互いに重複するように設定する手段を有し、
前記プロファイル作成手段は、前記標準色空間における当該色を、当該色に対応した前記焦点色を焦点として前記第2の色空間において最短距離にある色に対応付けることで、
前記プロファイルを作成することを特徴とする請求項1に記載のプロファイル作成装置。
For each of the two divided areas, the profile creation means sets the range of the focus color of each area corresponding to the brightness of the color in the standard color space so that the ranges do not coincide with each other and overlap each other. Means to set
The profile creating means associates the color in the standard color space with the color at the shortest distance in the second color space with the focal color corresponding to the color as a focus.
The profile creating apparatus according to claim 1, wherein the profile is created.
前記プロファイル作成手段は、分割された前記2つの領域のうち、前記第1の色空間の、前記標準色空間における最大の彩度に対応する明度が属する方の領域を第1の領域、他方を第2の領域として、前記第2の領域の前記焦点色の範囲を、前記第2の領域の明度の範囲内で設定し、前記第1の領域の前記焦点色の範囲を、前記第2の領域の前記焦点色の範囲内で重複させて設定することを特徴とする請求項2に記載のプロファイル作成装置。   The profile creation means includes the first region as the region to which the lightness corresponding to the maximum saturation in the standard color space of the first color space belongs to the first region, and the other as the second region. As the second region, the focal color range of the second region is set within the brightness range of the second region, and the focal color range of the first region is set to the second region. The profile creation apparatus according to claim 2, wherein the profile creation apparatus is set so as to overlap within the range of the focal color of the area. 前記プロファイルは、前記標準色空間における所定の格子点の色ごとに、対応する前記第2の色空間における色の値を関連付けて記憶したテーブルであることを特徴とする請求項1乃至3のいずれか一項に記載のプロファイル作成装置。   4. The table according to claim 1, wherein the profile is a table in which color values in the corresponding second color space are associated and stored for each color of a predetermined grid point in the standard color space. The profile creation device according to claim 1. 請求項1乃至4のいずれか一項に記載のプロファイル作成装置としてコンピュータを機能させるためのプログラム。   The program for functioning a computer as a profile creation apparatus as described in any one of Claims 1 thru | or 4. 第1の色空間から、該第1の色空間とは異なる第2の色空間への色変換を定義したプロファイルを作成するためのプロファイル作成装置により実行されるプロファイル作成方法であって、
前記第2の色空間を標準色空間と対応付けた第2の色域情報を取得する色域情報の取得工程と、
前記第2の色空間の、前記標準色空間における最大の彩度に対応する明度を境界として、2つの領域に分割する領域分割工程と、
分割された前記領域ごとに、前記第1の色空間に対応した標準色空間における色を、前記第2の色空間における色に変換するプロファイルを作成するプロファイル作成工程と
を有することを特徴とするプロファイル作成方法。
A profile creation method executed by a profile creation device for creating a profile that defines color conversion from a first color space to a second color space different from the first color space,
Obtaining color gamut information for obtaining second color gamut information in which the second color space is associated with a standard color space;
A region dividing step of dividing the second color space into two regions with a brightness corresponding to the maximum saturation in the standard color space as a boundary;
A profile creating step of creating a profile for converting a color in a standard color space corresponding to the first color space into a color in the second color space for each of the divided areas. Profile creation method.
請求項1乃至4のいずれか一項に記載したプロファイル作成装置で作成されたプロファイルを出力プロファイルとして有し、
前記標準色空間における色に変換された、前記第1の色空間の入力画像データを、前記出力プロファイルを用いて前記第2の色空間の出力画像データに変換して出力することを特徴とする画像処理装置。
A profile created by the profile creation device according to any one of claims 1 to 4 is provided as an output profile,
The input image data in the first color space converted into a color in the standard color space is converted into output image data in the second color space using the output profile and output. Image processing device.
JP2011040841A 2011-02-25 2011-02-25 Profile creation method, profile creation apparatus, image processing apparatus and program for performing color conversion by profile Active JP5715442B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011040841A JP5715442B2 (en) 2011-02-25 2011-02-25 Profile creation method, profile creation apparatus, image processing apparatus and program for performing color conversion by profile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011040841A JP5715442B2 (en) 2011-02-25 2011-02-25 Profile creation method, profile creation apparatus, image processing apparatus and program for performing color conversion by profile

Publications (2)

Publication Number Publication Date
JP2012178737A true JP2012178737A (en) 2012-09-13
JP5715442B2 JP5715442B2 (en) 2015-05-07

Family

ID=46980291

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011040841A Active JP5715442B2 (en) 2011-02-25 2011-02-25 Profile creation method, profile creation apparatus, image processing apparatus and program for performing color conversion by profile

Country Status (1)

Country Link
JP (1) JP5715442B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001014448A (en) * 1999-07-01 2001-01-19 Fujitsu Ltd Device and method for converting color data and computer readable recording medium with program for computer to execute the same method recorded therein
JP2007274584A (en) * 2006-03-31 2007-10-18 Canon Inc Color processing method and device thereof
JP2009147581A (en) * 2007-12-13 2009-07-02 Sony Corp Information processing apparatus and method, program, and information processing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001014448A (en) * 1999-07-01 2001-01-19 Fujitsu Ltd Device and method for converting color data and computer readable recording medium with program for computer to execute the same method recorded therein
JP2007274584A (en) * 2006-03-31 2007-10-18 Canon Inc Color processing method and device thereof
JP2009147581A (en) * 2007-12-13 2009-07-02 Sony Corp Information processing apparatus and method, program, and information processing system

Also Published As

Publication number Publication date
JP5715442B2 (en) 2015-05-07

Similar Documents

Publication Publication Date Title
JP5713727B2 (en) Profile creation method, profile creation apparatus, image processing apparatus and program for performing color conversion by profile
US6922266B2 (en) Color management system
US7327875B2 (en) Method and apparatus for color conversion
US8045222B2 (en) Image processing method, image processing apparatus, computer program product, and recording medium for image processing
US7986435B2 (en) Color processing apparatus and color processing method
US8204304B2 (en) Color gamut mapping by forming curved cross-sectional surfaces
US8218206B2 (en) Color conversion using transformed gamuts
JP6156401B2 (en) Color conversion method, program, and image processing apparatus
JP2006340105A (en) Image processing method, profile generating method, and image processing apparatus
JP5882763B2 (en) Image processing apparatus and profile creation method
JP5106349B2 (en) Color processing apparatus and color processing method
US7679784B2 (en) Reference tone settings for monotone images
JP2007028148A (en) Apparatus, method and program for color conversion, and recording medium
JP5117140B2 (en) Image forming apparatus, color data conversion method, and color data conversion program
KR20050109663A (en) Method and apparatus for creating profile
JP2011120026A (en) Color processor and method therefor
JP2008048314A (en) Image processor, image processing program and image processing method
JP5715442B2 (en) Profile creation method, profile creation apparatus, image processing apparatus and program for performing color conversion by profile
JP2007243957A (en) System, method and program for extracting gray information from color image data
JP4466037B2 (en) Image processing apparatus and image processing method
JP2007043613A (en) Color data processing method, color data processing apparatus, and program
JP4135599B2 (en) Paper difference correction curve calculation apparatus and paper difference correction curve calculation method
JP2007049642A (en) Image processing apparatus, image processing method and table creating method
US8988748B2 (en) Output profile for colour reproduction system
JP5849549B2 (en) Color processing apparatus and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141117

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141125

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150126

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150213

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150313

R151 Written notification of patent or utility model registration

Ref document number: 5715442

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151