JP5489514B2 - Color processing method, color processing apparatus, and program - Google Patents

Color processing method, color processing apparatus, and program Download PDF

Info

Publication number
JP5489514B2
JP5489514B2 JP2009095297A JP2009095297A JP5489514B2 JP 5489514 B2 JP5489514 B2 JP 5489514B2 JP 2009095297 A JP2009095297 A JP 2009095297A JP 2009095297 A JP2009095297 A JP 2009095297A JP 5489514 B2 JP5489514 B2 JP 5489514B2
Authority
JP
Japan
Prior art keywords
color
specular
reflection
reflection color
diffuse reflection
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.)
Active
Application number
JP2009095297A
Other languages
Japanese (ja)
Other versions
JP2010246049A (en
JP2010246049A5 (en
Inventor
正俊 石井
貴志 花本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2009095297A priority Critical patent/JP5489514B2/en
Publication of JP2010246049A publication Critical patent/JP2010246049A/en
Publication of JP2010246049A5 publication Critical patent/JP2010246049A5/ja
Application granted granted Critical
Publication of JP5489514B2 publication Critical patent/JP5489514B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、物体の鏡面反射色と拡散反射色とを合成し、前記物体の反射色を決定する技術に関するものである。   The present invention relates to a technique for determining a reflection color of an object by combining a specular reflection color and a diffuse reflection color of the object.

プリンタ等を用いて印刷された印刷物は、D50と呼ばれる5000Kの色温度の照明下で観察することを想定して出力されている。そのため、パソコン等のモニタで、予め印刷結果をシミュレーションする場合は、印刷物がD50の照明下で観察されることを想定し、処理が実行される。このようなシミュレーションをソフトプルーフと呼び、カラーマッチングシステム(以下、CMSと称す)を用いて処理が実行される。また、D50以外の照明下での印刷物の色の見えをシミュレーションする技術も存在する(例えば、特許文献1参照)。これらは、CMSを実行するエンジンの性能や、カラープロファイルと呼ばれる、モニタやプリンタ、印刷メディアの特性を記述したプロファイルによって精度が左右されるが、およその印刷結果はモニタ上で再現可能である。   A printed matter printed using a printer or the like is output on the assumption that it is observed under illumination with a color temperature of 5000 K called D50. Therefore, when a print result is simulated in advance on a monitor such as a personal computer, the process is executed assuming that the printed matter is observed under the illumination of D50. Such simulation is called soft proofing, and processing is executed using a color matching system (hereinafter referred to as CMS). There is also a technique for simulating the appearance of the color of a printed material under illumination other than D50 (see, for example, Patent Document 1). The accuracy of these depends on the performance of the engine that executes CMS and the profile that describes the characteristics of the monitor, printer, and print media, which are called color profiles, but the approximate print results can be reproduced on the monitor.

一方で、出力デバイスの色再現範囲に応じて、なるべく忠実に印刷物を再現する技術も存在する(例えば、特許文献2参照)。これは、拡散反射成分と鏡面反射成分に、定数や関数を乗じておくことによって、これらを合成した際の反射光の輝度を任意の値に調整可能にするものである。なお、定数や関数は、光の反射方向と観察方向のずれ角に応じて決定される。   On the other hand, there is a technique for reproducing a printed material as faithfully as possible in accordance with the color reproduction range of the output device (see, for example, Patent Document 2). In this method, by multiplying the diffuse reflection component and the specular reflection component by a constant or a function, the brightness of the reflected light when these are combined can be adjusted to an arbitrary value. The constants and functions are determined according to the deviation angle between the light reflection direction and the observation direction.

特開平9−46535号公報Japanese Patent Laid-Open No. 9-46535 特開2000−9537号公報JP 2000-9537 A

しかしながら、実際の印刷物を見た際の印象は、色だけに依存するものではなく、印刷物を構成する色材の光沢成分に大きく影響を受ける。そのため、印刷物とモニタでシミュレーションした結果とを比べると、違和感を覚えることも少なくない。つまり、より実物に近いシミュレーションを行うには、色のみでなく、光沢成分も同時にシミュレートする必要がある。   However, the impression when viewing an actual printed material does not depend only on the color, and is greatly influenced by the gloss component of the color material constituting the printed material. For this reason, it is often the case that the user feels uncomfortable when comparing the printed matter with the result of the simulation on the monitor. That is, in order to perform a simulation closer to the real thing, it is necessary to simultaneously simulate not only the color but also the glossy component.

ただし、光沢成分も同時にモニタ上でシミュレートする際には、鏡面反射成分の輝度とモニタのダイナミックレンジが大きく関わることになる。光沢紙に印刷された印刷物の鏡面反射成分の輝度は、拡散反射成分に比べ、桁違いに高く、モニタのダイナミックレンジを超えてしまう。そのため、モニタ上で鏡面反射成分を含んだ色再現を行うことは、困難であった。これを解決する方法として、ダイナミックレンジの圧縮が考えられる。但し、従来の鏡面反射成分と拡散反射成分の合成結果である反射色をレンジ圧縮するような方法では、拡散反射成分も同時に圧縮されてしまうために色が変化してしまい、印刷物のソフトプルーフのような色の正確性が求められる用途での使用は困難であった。   However, when simultaneously simulating the gloss component on the monitor, the brightness of the specular reflection component and the dynamic range of the monitor are greatly related. The brightness of the specular reflection component of printed matter printed on glossy paper is orders of magnitude higher than the diffuse reflection component, and exceeds the dynamic range of the monitor. For this reason, it has been difficult to perform color reproduction including a specular reflection component on a monitor. As a method of solving this problem, dynamic range compression can be considered. However, in the conventional method in which the reflected color, which is the result of combining the specular reflection component and the diffuse reflection component, is range compressed, the diffuse reflection component is also compressed at the same time, so the color changes, and the soft proof of the printed matter It has been difficult to use in applications where such color accuracy is required.

そこで、本発明の目的は、ダイナミックレンジがそれほど広くない一般的な表示装置を使って鏡面反射色を含んだソフトプルーフ処理を行う際に、物体の色の再現性を保ちつつ、同時に光沢の再現をすることにある。   Therefore, the object of the present invention is to maintain the color reproducibility of an object and simultaneously reproduce the gloss when performing a soft proof process including a specular reflection color using a general display device that does not have a wide dynamic range. There is to do.

本発明の色処理方法は、物体の鏡面反射色と拡散反射色とを合成し、前記物体の反射色を決定する色処理方法であって、表示装置のダイナミックレンジに収まるように鏡面反射色を圧縮する圧縮ステップと、前記圧縮ステップによる圧縮後の鏡面反射色の最大値において、前記鏡面反射色の合成比率が最大値をとり前記拡散反射色の合成比率が最小値をとるように前記物体の鏡面反射色と拡散反射色との合成比率を決定する決定ステップと、前記決定ステップにより決定された合成比率に従って鏡面反射色と拡散反射色とを合成し、前記物体の反射色を算出する算出ステップとを含むことを特徴とする。 The color processing method of the present invention is a color processing method for determining the reflection color of the object by combining the specular reflection color and the diffuse reflection color of the object, and the specular reflection color is set so as to be within the dynamic range of the display device. In the compression step of compressing, and the maximum value of the specular reflection color after compression by the compression step, the specular reflection color combination ratio takes the maximum value and the diffuse reflection color combination ratio takes the minimum value . A determination step for determining a combination ratio of the specular reflection color and the diffuse reflection color, and a calculation step for calculating the reflection color of the object by combining the specular reflection color and the diffuse reflection color according to the combination ratio determined by the determination step. It is characterized by including.

本発明によれば、ダイナミックレンジが広くない表示装置を使って鏡面反射色を含んだソフトプルーフ処理を行う際に、物体の色の再現性を保ちつつ、同時に光沢の再現をすることが可能となる。   According to the present invention, when performing a soft proof process including a specular reflection color using a display device having a wide dynamic range, it is possible to simultaneously reproduce the gloss while maintaining the reproducibility of the color of the object. Become.

本発明の実施形態におけるシステム構成を示すブロック図である。It is a block diagram which shows the system configuration | structure in embodiment of this invention. sRGB色空間の画像データをプリンタで出力した際の印刷物の色を、モニタ上でシミュレートする方法を示す図である。It is a figure which shows the method of simulating on the monitor the color of printed matter when the image data of sRGB color space is output with the printer. 拡散反射成分のLUTと鏡面反射成分のLUTとを生成する処理を説明するための図である。It is a figure for demonstrating the process which produces | generates the LUT of a diffuse reflection component, and the LUT of a specular reflection component. CGにおいて、物体の反射色を算出する方法を説明するための図である。It is a figure for demonstrating the method of calculating the reflective color of an object in CG. CGにおける光源色を決定する方法を示すフローチャートである。It is a flowchart which shows the method of determining the light source color in CG. CGにおいて、印刷物に光沢成分を加えるための仮想環境を3Dモデル化した図である。In CG, it is the figure which made 3D model of the virtual environment for adding a glossy component to printed matter. 画像の入力からモニタへの出力までをまとめた処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process put together from the input of an image to the output to a monitor. 印刷物以外の3Dオブジェクトをモニタに表示するまでの処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process until 3D object other than printed matter is displayed on a monitor. 鏡面反射色のレンジ圧縮方法を説明するための図である。It is a figure for demonstrating the range compression method of a specular reflection color. 鏡面反射色と拡散反射色との合成比率の算出方法を説明するための図である。It is a figure for demonstrating the calculation method of the synthetic | combination ratio of a specular reflection color and a diffuse reflection color. 拡散反射色と鏡面反射色とを合成し、反射色を決定するまでの処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process until a diffused color and a specular reflective color are synthesize | combined and a reflective color is determined.

以下、本発明を適用した好適な実施形態を、添付図面を参照しながら詳細に説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments to which the invention is applied will be described in detail with reference to the accompanying drawings.

<第1の実施形態>
先ず、第1の実施形態について説明する。本実施形態では、CG技術を利用したソフトプルーフ処理によって、印刷物の色とブロンズ現象を含む光沢をモニタ上で再現する方法に関して説明を行う。
<First Embodiment>
First, the first embodiment will be described. In the present embodiment, a method for reproducing the color of printed matter and gloss including bronzing on a monitor by soft proof processing using CG technology will be described.

図1は、第1の実施形態におけるシステム構成を示すブロック図である。入力装置101は、ユーザからの指示やデータを入力する装置であり、キーボードやマウス等のポインティングシステムを含む。表示装置102は、GUI等を表示する装置であり、通常はCRTや液晶ディスプレイ等のモニタを表す。蓄積装置103は、画像データやプログラムを蓄積する装置であり、通常はハードディスクが用いられる。104は、CPUであり、システム全体の制御を行っている。ROM105、RAM106は、システムの記憶装置を構成し、システムが実行するプログラムやシステムが利用するデータを記憶する。また、以降のフローチャートの処理に必要な制御プログラムは、蓄積装置103に格納されているものとし、一旦RAM106に読み込まれてから実行される。なお、システム構成については、上記以外にも様々な構成要素が存在するが、本発明の主眼ではないので、その説明は省略する。また、図1に示す構成は、色処理装置の適用例となる構成である。   FIG. 1 is a block diagram showing a system configuration in the first embodiment. The input device 101 is a device for inputting instructions and data from a user, and includes a pointing system such as a keyboard and a mouse. The display device 102 is a device that displays a GUI or the like, and usually represents a monitor such as a CRT or a liquid crystal display. The storage device 103 is a device for storing image data and programs, and normally a hard disk is used. A CPU 104 controls the entire system. The ROM 105 and the RAM 106 constitute a storage device of the system, and store programs executed by the system and data used by the system. Further, it is assumed that the control program necessary for the processing of the subsequent flowcharts is stored in the storage device 103, and is once executed after being read into the RAM. In addition to the above, there are various components of the system configuration, but since these are not the main points of the present invention, description thereof will be omitted. The configuration shown in FIG. 1 is a configuration that is an application example of the color processing apparatus.

図2は、sRGB色空間の画像データをプリンタで出力した際の印刷物の色を、モニタ上でシミュレートする方法を示す図である。まず、sRGB色空間で撮影された画像データ201はプリンタの色空間に変換される。この際、CMSエンジン202に対し、入力プロファイル、出力プロファイル、印刷物を設置する環境(仮想環境)の照明条件が指定される。画像データがsRGB色空間なので、入力プロファイルはsRGB色空間のプロファイルが指定される。画像データがsRGB色空間でない場合は、画像に関連付けられたプロファイルが指定される。出力プロファイルは、プリンタプロファイルが指定される。プリンタプロファイルは、プリンタの機種、印刷メディア、印刷品位毎に用意されており、条件に適したものを選択する必要がある。照明条件は、照明の色温度や、蛍光灯の種類(高演色形、三波長形、普通形)が指定される。また、この際のCMSエンジン202のレンダリングインテントは、何でも良い(通常は、Perceptual)。画像データ201をCMSエンジン202に通すと、指定した照明条件下における、プリンタ色空間での画像データ203が得られる。この際、照明の色温度が低ければ、オレンジ方向にRGB値が移動し、色温度が高ければ、青方向にRGB値が移動する。なお、sRGB色空間は第1の色空間、プリンタ色空間は第2の色空間の適用例となる構成である。   FIG. 2 is a diagram illustrating a method for simulating on a monitor the color of a printed material when image data in the sRGB color space is output by a printer. First, image data 201 photographed in the sRGB color space is converted into a printer color space. At this time, an input profile, an output profile, and an illumination condition of an environment (virtual environment) in which the printed material is installed are specified for the CMS engine 202. Since the image data is the sRGB color space, the sRGB color space profile is designated as the input profile. If the image data is not in the sRGB color space, a profile associated with the image is designated. A printer profile is designated as the output profile. A printer profile is prepared for each printer model, print media, and print quality, and it is necessary to select a printer profile that suits the conditions. Illumination conditions specify the color temperature of the illumination and the type of fluorescent lamp (high color rendering type, three-wavelength type, normal type). Further, the rendering intent of the CMS engine 202 at this time may be anything (usually Perceptual). When the image data 201 is passed through the CMS engine 202, the image data 203 in the printer color space under the specified illumination condition is obtained. At this time, if the color temperature of the illumination is low, the RGB value moves in the orange direction, and if the color temperature is high, the RGB value moves in the blue direction. The sRGB color space is an application example of the first color space, and the printer color space is an application example of the second color space.

次に、画像データ203はモニタ色空間に変換される。この際、CMSエンジン204に対し、入力プロファイル、出力プロファイル、モニタを観察している環境(モニタ環境)の照明条件が指定される。入力プロファイルは、CMSエンジン202で指定したものと同じプリンタプロファイルが指定される。出力プロファイルは、モニタプロファイルが指定される。モニタプロファイルは、メーカから配布されているもの、あるいは専用の測定器を用いて作成したものが用いられる。照明条件は、照明の色温度や、蛍光灯の種類(高演色形、三波長形、普通形)が指定される。ただし、モニタは自発光デバイスなので、照明条件にはあまり左右されない。そのため、照明条件は省略しても構わない(省略した場合、5000Kの高演色形が指定される)。また、通常、この際のレンダリングインテントは、色度値のずれないAbsolute Colorimetricが指定される。画像データ203をCMSエンジン204に通すと、モニタ色空間の画像データ205が得られる。これをモニタに表示することによって、印刷物の色がシミュレートされる。   Next, the image data 203 is converted into a monitor color space. At this time, an input profile, an output profile, and an illumination condition of the environment in which the monitor is observed (monitor environment) are designated for the CMS engine 204. As the input profile, the same printer profile as that specified by the CMS engine 202 is specified. A monitor profile is designated as the output profile. The monitor profile is distributed from the manufacturer or created using a dedicated measuring instrument. Illumination conditions specify the color temperature of the illumination and the type of fluorescent lamp (high color rendering type, three-wavelength type, normal type). However, since the monitor is a self-luminous device, it is not affected by lighting conditions. For this reason, the illumination condition may be omitted (if it is omitted, a high color rendering form of 5000K is designated). In general, the rendering intent at this time is designated as Absolute Colorimetric which does not shift the chromaticity value. When the image data 203 is passed through the CMS engine 204, image data 205 in the monitor color space is obtained. By displaying this on the monitor, the color of the printed material is simulated.

図3は、拡散反射成分のLUTと鏡面反射成分のLUTとを生成する処理を説明するための図である。図3(a)は、拡散反射成分のLUTと鏡面反射成分のLUTとを生成する処理の流れを示すフローチャートである。図3(a)において、まず、CPU104は、カラーパッチの画像データ(以下、パッチ画像データと称す)を準備し、プリンタでパッチ画像データを印刷する(ステップS301)。このパッチ画像データは、RGBの各色を9グリッドに分割し、それらの組み合わせにより作成される729(9×9×9)色のデータから構成される。CPU104は、このパッチ画像データを、ソフトプルーフのターゲットとするプリンタ及び用紙で印刷する。この際、プリンタドライバの設定において、カラーマッチング機能をオフにして出力する必要がある。ここまでの処理は、一般にプリンタプロファイルを作成する際の方法と同様である。   FIG. 3 is a diagram for explaining processing for generating a diffuse reflection component LUT and a specular reflection component LUT. FIG. 3A is a flowchart showing a flow of processing for generating a diffuse reflection component LUT and a specular reflection component LUT. 3A, first, the CPU 104 prepares color patch image data (hereinafter referred to as patch image data), and prints the patch image data with a printer (step S301). This patch image data is composed of 729 (9 × 9 × 9) color data created by dividing each color of RGB into 9 grids and combining them. The CPU 104 prints the patch image data with a printer and paper that are targets for soft proofing. At this time, it is necessary to turn off the color matching function in the printer driver setting. The processing so far is generally the same as the method for creating a printer profile.

そして、CPU104は、出力されたパッチ画像データを測定器で測定する(ステップS302)。この際に測定する項目を測定項目(図3(b))に示す。測定器は、それぞれのパッチ画像データに対して、45度の方向から光を照射し、拡散方向の分光反射率302、正反射方向の分光反射率303、反射光の広がり304の3つの項目を測定する。測定にはゴニオフォトメータやヘイズメータ等の一般的な測定器を使用する。   Then, the CPU 104 measures the output patch image data with a measuring instrument (step S302). Items to be measured at this time are shown as measurement items (FIG. 3B). The measuring device irradiates each patch image data with light from a direction of 45 degrees, and determines three items of spectral reflectance 302 in the diffusion direction, spectral reflectance 303 in the regular reflection direction, and spread 304 of reflected light. taking measurement. For measurement, a general measuring instrument such as a goniophotometer or a haze meter is used.

次に、CPU104は、測定されたそれぞれのパッチ画像データの、拡散方向の分光反射率302と正反射方向の分光反射率303とを光源の種類毎にXYZ値に変換する(ステップS303)。そして、CPU104は、パッチ画像データのRGB値と結びつけ、拡散反射LUT(RGB入力、XYZ出力)305と鏡面反射LUT(RGB入力、XYZ出力)306とを光源の種類数だけ作成する。XYZ値への変換は、分光反射率、光源の分光スペクトル及び等色関数を掛け合わせることによって行う。ここで、光源の分光スペクトルは、D50、D65等の規格値を用いるか、あるいは任意の光源に対しては分光放射輝度計等の測定器により測定し、求めればよい。本実施形態では、光源の種類を、D50、D65、A光源の3種類とするが、もちろん必要に応じて、この光源の種類は増減させてよい。このようにして、D50、D65、A光源のそれぞれの光源に対して、拡散反射LUT305と鏡面反射LUT306とを作成する。すなわち、拡散反射LUT305が3つ、鏡面反射LUT306が3つ作成されることになる。一方、反射光の広がり304に関しては、CPU104は、パッチ画像データ毎に測定されたデータから、後述する鏡面反射式のパラメータnを算出し、反射光の広がりLUT307としてRAM106に保持しておく。なお、本実施形態では、LUTの補間精度と補間速度の両方を加味し、RGB各色9グリッドの729色のLUTを生成しているが、もちろんグリッド数やグリッド間隔はこれに限るものではない。グリッド数を増やして精度を向上させることももちろん可能である。   Next, the CPU 104 converts the spectral reflectance 302 in the diffusion direction and the spectral reflectance 303 in the regular reflection direction of each measured patch image data into XYZ values for each type of light source (step S303). Then, the CPU 104 creates the diffuse reflection LUT (RGB input, XYZ output) 305 and the specular reflection LUT (RGB input, XYZ output) 306 by the number of types of light sources in association with the RGB values of the patch image data. Conversion to XYZ values is performed by multiplying the spectral reflectance, the spectral spectrum of the light source, and the color matching function. Here, the spectral spectrum of the light source may be obtained by using standard values such as D50 and D65, or by measuring with a measuring instrument such as a spectral radiance meter for an arbitrary light source. In this embodiment, there are three types of light sources: D50, D65, and A light source. Of course, the types of light sources may be increased or decreased as necessary. In this way, the diffuse reflection LUT 305 and the specular reflection LUT 306 are created for each of the light sources D50, D65, and A. That is, three diffuse reflection LUTs 305 and three specular reflection LUTs 306 are created. On the other hand, regarding the reflected light spread 304, the CPU 104 calculates a specular reflection parameter n, which will be described later, from the data measured for each patch image data, and stores it in the RAM 106 as a reflected light spread LUT 307. In this embodiment, 729 color LUTs of 9 grids for each color of RGB are generated in consideration of both the LUT interpolation accuracy and the interpolation speed. However, the number of grids and the grid interval are not limited thereto. Of course, it is possible to improve the accuracy by increasing the number of grids.

図4は、CGにおいて、物体の反射色を算出する方法を説明するための図である。反射には、一般に拡散反射と鏡面反射とがある。拡散反射は、物体の色に大きく関わり、拡散反射モデルによって拡散反射色が算出される。一方、鏡面反射は、物質の光沢色に大きく関わり、鏡面反射モデルによって鏡面反射色が算出される。それぞれのモデルにおいて拡散反射色と鏡面反射色とを算出した後、その2つを加算することによって、物体の反射色が決定される。ここで、反射色は全てsRGB色空間でのRGB値を取るものとする。図4の401は、拡散反射モデルの概念を示している。ベクトルNは、物体表面の法線方向を表す法線ベクトル、ベクトルLは、光源の方向を示す光源ベクトルである。このモデルに基づいた拡散反射色の算出式は、式402で表される。Idは、光源色を表すパラメータであり、Kdは、物体の表面色とその反射強度を表すパラメータ、N・Lは、法線ベクトルNと光源ベクトルLの内積である。図4の403は、鏡面反射モデルの概念を示している。ベクトルNは、物体表面の法線方向を表す法線ベクトル、ベクトルLは、光源の方向を示す光源ベクトル、ベクトルEは、視線方向の視線ベクトル、ベクトルRは、ベクトルEの反射ベクトルである。このモデルに基づいた鏡面反射色の算出式は、404の式で表される。Isは、光源色を表すパラメータであり、Idと同じパラメータである。Ksは、光沢成分の色とその反射強度を表すパラメータ、L・Rは、光源ベクトルLと反射ベクトルRの内積である。nは、光沢の発散度合いを示すパラメータであり、図3における反射光の広がりLUT307から求まる。それぞれのモデルにおいて、拡散反射色Cd、鏡面反射色Csが求まれば、405の式によって、最終的な物体の反射色Cを求める。   FIG. 4 is a diagram for explaining a method of calculating the reflection color of an object in CG. In general, there are diffuse reflection and specular reflection. The diffuse reflection is greatly related to the color of the object, and the diffuse reflection color is calculated by the diffuse reflection model. On the other hand, the specular reflection is greatly related to the gloss color of the substance, and the specular reflection color is calculated by the specular reflection model. After calculating the diffuse reflection color and the specular reflection color in each model, the two are added to determine the reflection color of the object. Here, it is assumed that all reflected colors take RGB values in the sRGB color space. Reference numeral 401 in FIG. 4 indicates the concept of the diffuse reflection model. A vector N is a normal vector representing the normal direction of the object surface, and a vector L is a light source vector indicating the direction of the light source. A diffuse reflection color calculation formula based on this model is represented by Formula 402. Id is a parameter representing the light source color, Kd is a parameter representing the surface color of the object and its reflection intensity, and N · L is the inner product of the normal vector N and the light source vector L. 403 in FIG. 4 shows the concept of the specular reflection model. The vector N is a normal vector representing the normal direction of the object surface, the vector L is a light source vector indicating the direction of the light source, the vector E is a line-of-sight vector in the line-of-sight direction, and the vector R is a reflection vector of the vector E. A formula for calculating the specular color based on this model is expressed by 404. Is is a parameter representing a light source color, and is the same parameter as Id. Ks is a parameter representing the color of the gloss component and its reflection intensity, and L · R is the inner product of the light source vector L and the reflection vector R. n is a parameter indicating the degree of gloss divergence, and is obtained from the reflected light spread LUT 307 in FIG. In each model, when the diffuse reflection color Cd and the specular reflection color Cs are obtained, the final object reflection color C is obtained by the equation 405.

図5は、CGにおける光源色を決定する方法を示すフローチャートである。ステップS501では、CPU104は、光源のXYZ値を入力する。代表的な光源のXYZ値は、インターネット等で公開されているので手軽に入手できる。また、専用の測定器を用いて実際の光源を測定し、それを入力してもよい。   FIG. 5 is a flowchart illustrating a method for determining a light source color in CG. In step S501, the CPU 104 inputs an XYZ value of the light source. Since the XYZ values of typical light sources are disclosed on the Internet or the like, they can be easily obtained. In addition, an actual light source may be measured using a dedicated measuring device and input.

ステップS502では、CPU104は、XYZ色空間における白色点をsRGB色空間に合わせて、6500Kに移動させる。この処理には、3x3のマトリクス変換を用いる。   In step S502, the CPU 104 moves the white point in the XYZ color space to 6500K according to the sRGB color space. This process uses 3 × 3 matrix conversion.

ステップS503では、CPU104は、XYZ値からRGB値への変換を行い、処理を終了する。この変換には一般的な3x3のマトリクス変換を用いる。以上の処理により、sRGB色空間における光源色が求まる。   In step S503, the CPU 104 performs conversion from XYZ values to RGB values, and ends the process. For this conversion, a general 3 × 3 matrix conversion is used. With the above processing, the light source color in the sRGB color space is obtained.

図6は、CGにおいて、印刷物に光沢成分を加えるための仮想環境を3Dモデル化(仮想三次元空間)した図である。図6(a)に示すように、まず、仮想環境内に壁、天井、床等の3Dオブジェクト604を設置する。次に、照明603を設置する。この照明603からは、図5で求めた光源色の光が放射されている。最後に、印刷物(物体)602を仮想空間の中央近辺に配置する。この環境において、図3の反射モデルにより照明603より放射された光が印刷物602や3Dオブジェクト604に当たり、どのような反射色になるかが計算される。印刷物以外の3Dオブジェクト604を設置するのは、印刷物602への写りこみを再現する等、実際の環境に近づけるためである。印刷物602を拡大すると、図6(b)の印刷物拡大図に示すようになり、照明603が写りこんで、光沢成分606が表示される。   FIG. 6 is a diagram showing a 3D model (virtual three-dimensional space) of a virtual environment for adding a gloss component to printed matter in CG. As shown in FIG. 6A, first, a 3D object 604 such as a wall, ceiling, or floor is installed in a virtual environment. Next, the illumination 603 is installed. The illumination 603 emits light of the light source color obtained in FIG. Finally, the printed matter (object) 602 is arranged near the center of the virtual space. In this environment, the light emitted from the illumination 603 hits the printed matter 602 and the 3D object 604 according to the reflection model of FIG. The reason why the 3D object 604 other than the printed material is installed is to approximate the actual environment such as reproducing the reflection on the printed material 602. When the printed material 602 is enlarged, the printed material is enlarged as shown in FIG. 6B. The illumination 603 is reflected and the gloss component 606 is displayed.

図7は、画像の入力からモニタへの出力までをまとめた処理の流れを示すフローチャートである。   FIG. 7 is a flowchart showing a flow of processing that summarizes from input of an image to output to a monitor.

ステップS701では、CPU104は、ソフトプルーフ処理を行い、図6(a)の仮想3Dモデルにおける印刷物602として表示するための画像データを入力する。ここで、画像データの色空間はsRGB色空間とする。   In step S701, the CPU 104 performs a soft proof process and inputs image data to be displayed as the printed material 602 in the virtual 3D model in FIG. Here, the color space of the image data is an sRGB color space.

ステップS702では、CPU104は、図6(a)の仮想3Dモデル環境における照明条件Iを入力する。照明条件は、色温度や蛍光灯の種類が入力さ
れる。
In step S702, the CPU 104 inputs the illumination condition I in the virtual 3D model environment of FIG. As illumination conditions, color temperature and fluorescent lamp type are input.

ステップS703では、CPU104は、ソフトプルーフのターゲットとするプリンタ及び紙に対応するプリンタプロファイルを入力する。   In step S <b> 703, the CPU 104 inputs a printer profile corresponding to a printer and paper as a target for soft proofing.

ステップS704では、CPU104は、図2で説明した処理に従って、ステップS701で入力された画像データをsRGB色空間からプリンタ色空間にCMSエンジンを用いて変換し、画像データ(プリンタ色空間)203を得る。ここで、レンダリングインテントはPerceptualを指定し、ステップS702で入力された照明条件I及びステップS703で入力されたプリンタプ
ロファイルを使って処理が行われる。なお、ステップS704は、変換ステップの処理例である。
In step S <b> 704, the CPU 104 converts the image data input in step S <b> 701 from the sRGB color space to the printer color space using the CMS engine according to the processing described in FIG. 2, and obtains image data (printer color space) 203. . Here, the rendering intent is designated as Perceptual, and processing is performed using the illumination condition I input in step S702 and the printer profile input in step S703. Step S704 is a processing example of the conversion step.

ステップS705では、CPU104は、照明603の光源色を無色に設定する。ここでいう無色とは、XYZ値を0から1.0で正規化したときの(X,Y,Z)=(1.0,1.0,1.0)のことである。   In step S705, the CPU 104 sets the light source color of the illumination 603 to colorless. Colorless here means (X, Y, Z) = (1.0, 1.0, 1.0) when the XYZ value is normalized from 0 to 1.0.

ステップS706では、CPU104は、ステップS702で入力された照明条件Iに対応する拡散反射LUTを、図3で説明した光源毎の拡散反射LU
T305の中から選択する。
In step S706, the CPU 104 converts the diffuse reflection LUT corresponding to the illumination condition I input in step S702 to the diffuse reflection LU for each light source described in FIG.
Select from T305.

ステップS707では、CPU104は、紙表面に対して法線方向における拡散反射成分のXYZ値を算出する。この処理は、ステップS704で得られたプリンタ色空間の画像データ203のRGB値で、ステップS706で選択された拡散反射LUTを参照することによって行われる。   In step S707, the CPU 104 calculates the XYZ value of the diffuse reflection component in the normal direction with respect to the paper surface. This process is performed by referring to the diffuse reflection LUT selected in step S706 with the RGB values of the image data 203 in the printer color space obtained in step S704.

ステップS708では、CPU104は、視線方向における拡散反射成分のXYZ値(拡散反射色)を拡散反射式402に基づいて算出する。ここで、拡散反射式402におけるKdは、ステップS707で算出されたXYZ値となる。また、Idは、ステップS705で設定された無色の光源色に合わせ、(X,Y,Z)=(1.0,1.0,1.0)となる。   In step S <b> 708, the CPU 104 calculates the XYZ value (diffuse reflection color) of the diffuse reflection component in the line-of-sight direction based on the diffuse reflection formula 402. Here, Kd in the diffuse reflection formula 402 is the XYZ value calculated in step S707. Further, Id is (X, Y, Z) = (1.0, 1.0, 1.0) in accordance with the colorless light source color set in step S705.

ステップS709では、CPU104は、入力された照明条件Iに対応する
鏡面反射LUTを、図3で説明した光源毎の鏡面反射LUT306の中から選択する。
In step S709, the CPU 104 selects the specular reflection LUT 306 corresponding to the input illumination condition I from the specular reflection LUT 306 for each light source described with reference to FIG.

ステップS710では、CPU104は、45度の角度から入射された光の正反射方向における鏡面反射成分のXYZ値を算出する。この処理は、ステップS704で得られたプリンタ色空間の画像データ203のRGB値で、ステップS709で選択された鏡面反射LUTを参照することによって行われる。なお、ステップS708、S710は、第1の算出ステップの処理例である。   In step S710, the CPU 104 calculates an XYZ value of the specular reflection component in the regular reflection direction of light incident from an angle of 45 degrees. This process is performed by referring to the specular reflection LUT selected in step S709 with the RGB values of the image data 203 in the printer color space obtained in step S704. Steps S708 and S710 are processing examples of the first calculation step.

ステップS711では、CPU104は、視線方向における鏡面反射成分のXYZ値(鏡面反射色)を鏡面反射式404に基づいて算出する。ここで、鏡面反射式404におけるKsは、ステップS710で算出されたXYZ値となる。また、Isは、ステップS705で設定された無色の光源色に合わせ、(X,Y,Z)=(1.0,1.0,1.0)となる。光沢の発散度合いを示すパラメータnは、ステップS704で得られたプリンタ色空間の画像データのRGB値で、反射光の広がりのLUT307を参照し、算出された値を使用する。   In step S <b> 711, the CPU 104 calculates an XYZ value (specular reflection color) of the specular reflection component in the line-of-sight direction based on the specular reflection formula 404. Here, Ks in the specular reflection type 404 is the XYZ value calculated in step S710. Further, Is is (X, Y, Z) = (1.0, 1.0, 1.0) in accordance with the colorless light source color set in step S705. The parameter n indicating the degree of gloss divergence is the RGB value of the image data in the printer color space obtained in step S704, and a value calculated by referring to the LUT 307 of the spread of reflected light is used.

ステップS712では、CPU104は、物体の反射色の算出式405に従って、ステップS708で算出された拡散反射色とステップS711で算出された鏡面反射色とを加算し、反射色のXYZ値を算出する。   In step S712, the CPU 104 adds the diffuse reflection color calculated in step S708 and the specular reflection color calculated in step S711 according to the object reflection color calculation formula 405 to calculate an XYZ value of the reflection color.

ステップS713では、CPU104は、モニタプロファイルを入力する。ステップS714では、CMSエンジン204により、ステップS712で算出された反射色のXYZ値をモニタ色空間におけるRGB値に変換し、処理を終了する。   In step S713, the CPU 104 inputs a monitor profile. In step S714, the CMS engine 204 converts the XYZ values of the reflected colors calculated in step S712 into RGB values in the monitor color space, and the process ends.

図8は、印刷物602以外の3Dオブジェクト604をモニタに表示するまでの処理の流れを示すフローチャートである。   FIG. 8 is a flowchart showing the flow of processing until the 3D object 604 other than the printed material 602 is displayed on the monitor.

ステップS801では、CPU104は、3Dオブジェクト604のそれぞれの色を入力する。   In step S801, the CPU 104 inputs each color of the 3D object 604.

ステップS802では、CPU104は、図6(a)の仮想3Dオブジェクト環境における照明条件Iを入力する。照明条件Iは、色温度や蛍光灯の種類が入力される。   In step S802, the CPU 104 inputs the lighting condition I in the virtual 3D object environment of FIG. The illumination condition I is input with the color temperature and the type of fluorescent lamp.

ステップS803では、CPU104は、照明条件IをsRGB色空間で見た際の色Ivsを決定する。ここでの処理は、図5に示す処理フローに沿って行わる。   In step S803, the CPU 104 determines a color Ivs when the illumination condition I is viewed in the sRGB color space. This processing is performed along the processing flow shown in FIG.

ステップS804では、CPU104は、照明603の光源色をIvsに設定する。ステップS805では、CPU104は、3Dオブジェクト604に対し、光源色Ivsを用いて、拡散反射式402に基づいた拡散反射色を計算する。ここで、IdにはIvsを設定し、Kdは、3Dオブジェクト604の色に印刷メディアの反射強度を掛け合わせた値とする。   In step S804, the CPU 104 sets the light source color of the illumination 603 to Ivs. In step S805, the CPU 104 calculates a diffuse reflection color based on the diffuse reflection formula 402 using the light source color Ivs for the 3D object 604. Here, Ivs is set for Id, and Kd is a value obtained by multiplying the color of the 3D object 604 by the reflection intensity of the print medium.

ステップS806では、CPU104は、3Dオブジェクト604に対し、Ivsの光源色を用いて、鏡面反射式404に基づいた鏡面反射色を計算する。ここで、IsにはIvsを設定し、Ksは、光沢色である白色に反射強度を掛け合わせた値にする。   In step S <b> 806, the CPU 104 calculates a specular reflection color based on the specular reflection formula 404 using the Ivs light source color for the 3D object 604. Here, Ivs is set for Is, and Ks is set to a value obtained by multiplying white, which is a glossy color, by the reflection intensity.

ステップS807では、CPU104は、ステップS805で算出した拡散反射色とステップS806で算出した鏡面反射色とを加算し、3Dオブジェクト604の反射色を算出する。   In step S807, the CPU 104 calculates the reflection color of the 3D object 604 by adding the diffuse reflection color calculated in step S805 and the specular reflection color calculated in step S806.

ステップS808では、CPU104は、モニタプロファイルをCMSエンジン204に入力する。ステップS809では、CPU104は、ステップS807で算出した反射色を、sRGB色空間からモニタ色空間にCMSエンジン204を用いて変換し、処理を終了する。以上の処理により、3Dオブジェクト604のモニタでの表示色が計算できる。   In step S808, the CPU 104 inputs the monitor profile to the CMS engine 204. In step S809, the CPU 104 converts the reflected color calculated in step S807 from the sRGB color space to the monitor color space using the CMS engine 204, and ends the process. With the above processing, the display color of the 3D object 604 on the monitor can be calculated.

最終処理として、図7及び図8のフローチャートに示す処理結果を合成し、モニタにレンダリングする。これによって、図6(a)の仮想3Dモデルがモニタに表示され、画像データの印刷時の色や印刷物への照明等の写りこみ、あるいは、光源や色材によって生じるブロンズ現象までを加味した光沢を再現することができ、より実物に近い印刷物のシミュレーションが可能となる。   As the final processing, the processing results shown in the flowcharts of FIGS. 7 and 8 are combined and rendered on the monitor. As a result, the virtual 3D model shown in FIG. 6A is displayed on the monitor, and the gloss that takes into account the reflection of the color at the time of printing the image data and the illumination of the printed matter, or the bronze phenomenon caused by the light source and coloring material. Can be reproduced, and simulation of a printed matter closer to the actual product becomes possible.

なお、本実施形態では、画像データやCGでの色計算に、sRGB色空間を用いているが、AdobeRGB等の、その他の色空間を用いてもよいことはいうまでもない。また、本実施形態では、XYZ表色系を用いて説明したが、例えば、CIEのL*a*b*表色系等の他の表色系を用いてもよい。   In this embodiment, the sRGB color space is used for color calculation in image data and CG, but it goes without saying that other color spaces such as AdobeRGB may be used. In this embodiment, the XYZ color system has been described. However, other color systems such as the CIE L * a * b * color system may be used.

<第2の実施形態>
次に、第2の実施形態について説明する。上述した第1の実施形態では、物体の反射色の算出式405に示したように、物体の反射色は、拡散反射色と鏡面反射色とを足し合わせることによって算出する。しかしながら、モニタのダイナミックレンジが狭い場合には、単純な足し合わせによって算出された反射色をそのまま表示することはできない。つまり、ダイナミックレンジ圧縮が必要となる。このレンジ圧縮を算出された反射色に対して行い、表示しようとすると、拡散反射色も同時に圧縮されることになるため、シミュレートする印刷物のモニタ表示色が変化してしまう。つまり、ソフトプルーフのような色の正確性が求められる用途に、このような方法を使用することは問題がある。
<Second Embodiment>
Next, a second embodiment will be described. In the first embodiment described above, the reflection color of the object is calculated by adding the diffuse reflection color and the specular reflection color as shown in the calculation formula 405 of the reflection color of the object. However, when the dynamic range of the monitor is narrow, the reflected color calculated by simple addition cannot be displayed as it is. That is, dynamic range compression is required. When this range compression is performed on the calculated reflection color and an attempt is made to display it, the diffuse reflection color is also compressed at the same time, so the monitor display color of the printed material to be simulated changes. In other words, there is a problem in using such a method for applications such as soft proof where accuracy of color is required.

本実施形態では、ソフトプルーフのような色の正確性が求められる用途にも使用できる、拡散反射色と鏡面反射色との合成方法に関して説明を行う。システム構成に関しては第1の実施形態と同様であるので説明を省略する。   In the present embodiment, a method for synthesizing a diffuse reflection color and a specular reflection color, which can be used for applications such as soft proof where accuracy of color is required, will be described. Since the system configuration is the same as that of the first embodiment, the description thereof is omitted.

図9は、鏡面反射色のレンジ圧縮方法を説明するための図である。ここでは、鏡面反射色の圧縮式902に従って、モニタのダイナミックレンジ901に収まるように鏡面反射色Csを圧縮し、鏡面反射色(圧縮)Cs´を算出する。ここで、T()はトーンマッピング関数を示しており、例えば、次の文献に示されているようなトーンマッピング手法を用いる。
(文献)Photographic Tone Reproduction for Digital Images
Erik Reinhard, Mike Stark, Peter Shirley and Jim Ferwerda
(THE UNIVERSITY OF UTAH)
FIG. 9 is a diagram for explaining a specular reflection color range compression method. Here, according to the specular reflection color compression formula 902, the specular reflection color Cs is compressed so as to be within the dynamic range 901 of the monitor, and the specular reflection color (compression) Cs ′ is calculated. Here, T () represents a tone mapping function, and for example, a tone mapping method as shown in the following document is used.
(Reference) Photographic Tone Reproduction for Digital Images
Erik Reinhard, Mike Stark, Peter Shirley and Jim Ferwerda
(THE UNIVERSITY OF UTAH)

また、これ以外にも、図9に示すように、低輝度部においてはリニアにマッピングし、高輝度になるに従ってモニタのレンジに収まるように、単調増加の孤を描いてマッピングするような手法であれば、別の公知の方法を用いてもよい。   In addition to this, as shown in FIG. 9, the mapping is performed in a linear manner in a low luminance part and in a monotonically increasing manner so as to fall within the monitor range as the luminance becomes higher. If it exists, another known method may be used.

図10は、鏡面反射色と拡散反射色との合成比率の算出方法を説明するための図である。まず、鏡面反射色の合成比率αの算出方法について説明する。図10(a)のグラフに従って、鏡面反射色の合成比率αは、鏡面反射色の圧縮式902により算出された鏡面反射色(圧縮)Cs´に応じて決定される。具体的には、鏡面反射色の合成比率αの算出式1001により算出される。ここで、Cs´(max)は、鏡面反射色(圧縮)Cs´の最大値を示している。この式により、鏡面反射色の合成比率αは、0から1.0の範囲で決定される。   FIG. 10 is a diagram for explaining a method of calculating a composite ratio between the specular reflection color and the diffuse reflection color. First, a method for calculating the specular reflection color composition ratio α will be described. According to the graph of FIG. 10A, the specular reflection color combination ratio α is determined according to the specular reflection color (compression) Cs ′ calculated by the specular reflection color compression formula 902. Specifically, it is calculated by the calculation formula 1001 for the specular reflection color composition ratio α. Here, Cs ′ (max) indicates the maximum value of the specular reflection color (compression) Cs ′. From this equation, the composite ratio α of the specular color is determined in the range of 0 to 1.0.

次に、拡散反射色の合成比率βの算出方法について説明する。拡散反射色の合成比率βは、拡散反射色の合成比率βの算出式1002により算出される。図10(b)のグラフに従って、拡散反射色の合成比率βは、鏡面反射色の合成比率αの算出式1001により求まった鏡面反射色の合成比率αを1.0から引いた値となる。つまり、合成比率は、光沢の強いところでは鏡面反射色が支配的になり、逆に光沢の弱いところでは拡散反射色が支配的になるように決定される。なお、本実施形態では、鏡面反射色の合成比率αの算出式1001において、鏡面反射色の合成比率αと鏡面反射色(圧縮)Cs´がリニアな関係をとるような式を用いたが、算出式はこれに限るものではない。Cs´が大きくなるほどαが大きくなるという関係が保たれれば、別の関数を用いてもよい。   Next, a method for calculating the composite ratio β of diffuse reflection colors will be described. The diffuse reflection color combination ratio β is calculated by a calculation formula 1002 of the diffuse reflection color combination ratio β. According to the graph of FIG. 10B, the diffuse reflection color combination ratio β is a value obtained by subtracting from 1.0 the specular reflection color combination ratio α obtained by the calculation formula 1001 of the specular reflection color combination ratio α. That is, the composition ratio is determined so that the specular reflection color is dominant where the gloss is strong and the diffuse reflection color is dominant where the gloss is weak. In the present embodiment, in the calculation formula 1001 for the specular reflection color combination ratio α, an expression is used in which the specular reflection color combination ratio α and the specular reflection color (compression) Cs ′ have a linear relationship. The calculation formula is not limited to this. Another function may be used as long as the relationship that α increases as Cs ′ increases.

図11は、拡散反射色と鏡面反射色とを合成し、反射色を決定するまでの処理の流れを示すフローチャートである。   FIG. 11 is a flowchart showing the flow of processing from the synthesis of the diffuse reflection color and the specular reflection color to the determination of the reflection color.

ステップS1101では、CPU104は、鏡面反射色をレンジ圧縮する。ここでは、図9で説明したレンジ圧縮方法に従って処理が行われる。なお、ステップS1101は、圧縮ステップの処理例である。   In step S1101, the CPU 104 performs range compression on the specular color. Here, processing is performed according to the range compression method described in FIG. Step S1101 is a processing example of the compression step.

ステップS1102では、CPU104は、鏡面反射色と拡散反射色との合成比率を算出する。ここでは、図10で説明した合成比率の算出方法に従って、鏡面反射色と拡散反射色との合成比率が算出される。なお、ステップS1102は、決定ステップの処理例である。   In step S1102, the CPU 104 calculates a combination ratio of the specular reflection color and the diffuse reflection color. Here, the composite ratio of the specular reflection color and the diffuse reflection color is calculated according to the composite ratio calculation method described with reference to FIG. Step S1102 is a processing example of the determination step.

ステップS1103では、CPU104は、物体の反射色を式(1)に従って算出し、処理を終了する。
物体の反射色C=α×Cs´+β×Cd・・・式(1)
ここで、αは鏡面反射色の合成比率、βは拡散反射色の合成比率、Cs´は鏡面反射色(圧縮)、Cdは拡散反射色をそれぞれ示している。なお、ステップS1103は、算出ステップ又は第2の算出ステップの処理例である。
In step S1103, the CPU 104 calculates the reflection color of the object according to the equation (1), and ends the process.
Object reflection color C = α × Cs ′ + β × Cd (1)
Here, α is a composite ratio of specular reflection colors, β is a composite ratio of diffuse reflection colors, Cs ′ is a specular reflection color (compression), and Cd is a diffuse reflection color. Step S1103 is a processing example of the calculation step or the second calculation step.

以上のように、表示装置102のダイナミックレンジに収まるように鏡面反射色を圧縮するとともに、物体の鏡面反射色と拡散反射色との合成比率を決定し、決定された合成比率に従って鏡面反射色と拡散反射色とを合成して反射色を算出するようにしている。従って、ダイナミックレンジがそれほど広くない一般的な表示装置102を使って鏡面反射色を含んだソフトプルーフ処理を行う際に、物体の色の再現性を保ちつつ、同時に光沢の再現をすることが可能となる。   As described above, the specular color is compressed so as to be within the dynamic range of the display device 102, the composite ratio between the specular color and the diffuse color of the object is determined, and the specular color and the specular color are determined according to the determined composite ratio. The reflection color is calculated by combining the diffuse reflection color. Therefore, when performing a soft proof process including specular colors using a general display device 102 that does not have a wide dynamic range, it is possible to reproduce the gloss while maintaining the color reproducibility of the object. It becomes.

また、図10で説明した合成比率の算出方法の他に、鏡面反射色の合成比率と拡散反射色の合成比率とが反比例の関係になるように合成比率を決定してもよい。   In addition to the method for calculating the composition ratio described in FIG. 10, the composition ratio may be determined so that the composition ratio of the specular reflection color and the composition ratio of the diffuse reflection color have an inversely proportional relationship.

上述した本発明の実施形態を構成する各手段及び各ステップは、コンピュータのRAMやROM等に記憶されたプログラムが動作することによって実現できる。このプログラム及び前記プログラムを記録したコンピュータ読み取り可能な記録媒体は本発明に含まれる。   Each means and each step constituting the embodiment of the present invention described above can be realized by operating a program stored in a RAM, a ROM, or the like of a computer. This program and a computer-readable recording medium recording the program are included in the present invention.

Claims (7)

物体の鏡面反射色と拡散反射色とを合成し、前記物体の反射色を決定する色処理方法であって、
表示装置のダイナミックレンジに収まるように鏡面反射色を圧縮する圧縮ステップと、
前記圧縮ステップによる圧縮後の鏡面反射色の最大値において、前記鏡面反射色の合成比率が最大値をとり前記拡散反射色の合成比率が最小値をとるように前記物体の鏡面反射色と拡散反射色との合成比率を決定する決定ステップと、
前記決定ステップにより決定された合成比率に従って鏡面反射色と拡散反射色とを合成し、前記物体の反射色を算出する算出ステップとを含むことを特徴とする色処理方法。
A color processing method for combining a specular reflection color and a diffuse reflection color of an object to determine a reflection color of the object,
A compression step for compressing the specular color so that it falls within the dynamic range of the display device;
In the maximum value of the specular reflection color after compression in the compression step, the specular reflection color and the diffuse reflection of the object are such that the composite ratio of the specular reflection color takes the maximum value and the composite ratio of the diffuse reflection color takes the minimum value. A determination step for determining a composition ratio with the color;
A color processing method comprising: calculating a reflection color of the object by combining the specular reflection color and the diffuse reflection color according to the combination ratio determined by the determination step.
入力された第1の色空間における物体の画像データを第2の色空間の画像データに変換する変換ステップと、
前記物体が配置される仮想三次元空間における所定の照明条件と前記変換ステップで生成された前記第2の色空間の画像データとに基づいて、前記物体の鏡面反射色と拡散反射色とを算出する第1の算出ステップと、
表示装置のダイナミックレンジに収まるように鏡面反射色を圧縮する圧縮ステップと、
前記圧縮ステップによる圧縮後の鏡面反射色の最大値において、前記鏡面反射色の合成比率が最大値をとり前記拡散反射色の合成比率が最小値をとるように前記物体の鏡面反射色と拡散反射色との合成比率を決定する決定ステップと、
前記決定ステップにより算出された合成比率に従って鏡面反射色と拡散反射色とを合成し、前記物体の反射色を算出する第2の算出ステップとを含むことを特徴とする色処理方法。
A conversion step of converting the input image data of the object in the first color space into image data of the second color space;
Based on a predetermined illumination condition in a virtual three-dimensional space in which the object is arranged and the image data of the second color space generated in the conversion step, the specular reflection color and the diffuse reflection color of the object are calculated. A first calculating step,
A compression step for compressing the specular color so that it falls within the dynamic range of the display device;
In the maximum value of the specular reflection color after compression in the compression step, the specular reflection color and the diffuse reflection of the object are such that the composite ratio of the specular reflection color takes the maximum value and the composite ratio of the diffuse reflection color takes the minimum value. A determination step for determining a composition ratio with the color;
A color processing method comprising: a second calculation step of calculating a reflection color of the object by combining a specular reflection color and a diffuse reflection color according to the combination ratio calculated in the determination step.
前記決定ステップは、鏡面反射色の合成比率と拡散反射色の合成比率とが反比例の関係になるように合成比率を決定することを特徴とする請求項1又は2に記載の色処理方法。 3. The color processing method according to claim 1, wherein the determining step determines the combination ratio so that the combination ratio of the specular reflection color and the combination ratio of the diffuse reflection color have an inversely proportional relationship. 前記合成比率と前記鏡面反射色とがリニアな関係をとることを特徴とする請求項1乃至3の何れか1項に記載の色処理方法。   The color processing method according to claim 1, wherein the combination ratio and the specular reflection color have a linear relationship. コンピュータに、請求項1乃至の何れか1項に記載された色処理方法の各ステップを実行させるためのプログラム。 The program for making a computer perform each step of the color processing method described in any one of Claims 1 thru | or 4 . 物体の鏡面反射色と拡散反射色とを合成し、前記物体の反射色を決定する色処理装置であって、
表示装置のダイナミックレンジに収まるように鏡面反射色を圧縮する圧縮手段と、
前記圧縮手段による圧縮後の鏡面反射色の最大値において、前記鏡面反射色の合成比率が最大値をとり前記拡散反射色の合成比率が最小値をとるように前記物体の鏡面反射色と拡散反射色との合成比率を決定する決定手段と、
前記決定手段により決定された合成比率に従って鏡面反射色と拡散反射色とを合成し、前記物体の反射色を算出する算出手段とを有することを特徴とする色処理装置。
A color processing device that combines a specular reflection color and a diffuse reflection color of an object to determine the reflection color of the object,
Compression means for compressing the specular color so as to be within the dynamic range of the display device;
In the maximum specular color after compression by the compression means, the specular color and diffuse reflection of the object are such that the composite ratio of the specular color takes the maximum value and the composite ratio of the diffuse color takes the minimum value. A determining means for determining a composition ratio with the color;
A color processing apparatus comprising: a calculation unit that combines a specular reflection color and a diffuse reflection color according to a combination ratio determined by the determination unit, and calculates a reflection color of the object.
入力された第1の色空間における物体の画像データを第2の色空間の画像データに変換する変換手段と、
前記物体が配置される仮想三次元空間における所定の照明条件と前記変換手段で生成された前記第2の色空間の画像データとに基づいて、前記物体の鏡面反射色と拡散反射色とを算出する第1の算出手段と、
表示装置のダイナミックレンジに収まるように鏡面反射色を圧縮する圧縮手段と、
前記圧縮手段による圧縮後の鏡面反射色の最大値において、前記鏡面反射色の合成比率が最大値をとり前記拡散反射色の合成比率が最小値をとるように前記物体の鏡面反射色と拡散反射色との合成比率を決定する決定手段と、
前記決定手段により算出された合成比率に従って鏡面反射色と拡散反射色とを合成し、前記物体の反射色を算出する第2の算出手段とを有することを特徴とする色処理装置。
Conversion means for converting the input image data of the object in the first color space into image data of the second color space;
Based on a predetermined illumination condition in the virtual three-dimensional space in which the object is arranged and the image data of the second color space generated by the conversion unit, the specular reflection color and the diffuse reflection color of the object are calculated. First calculating means for
Compression means for compressing the specular color so as to be within the dynamic range of the display device;
In the maximum specular color after compression by the compression means, the specular color and diffuse reflection of the object are such that the composite ratio of the specular color takes the maximum value and the composite ratio of the diffuse color takes the minimum value. A determining means for determining a composition ratio with the color;
A color processing apparatus comprising: a second calculation unit that combines the specular reflection color and the diffuse reflection color according to the combination ratio calculated by the determination unit, and calculates the reflection color of the object.
JP2009095297A 2009-04-09 2009-04-09 Color processing method, color processing apparatus, and program Active JP5489514B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009095297A JP5489514B2 (en) 2009-04-09 2009-04-09 Color processing method, color processing apparatus, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009095297A JP5489514B2 (en) 2009-04-09 2009-04-09 Color processing method, color processing apparatus, and program

Publications (3)

Publication Number Publication Date
JP2010246049A JP2010246049A (en) 2010-10-28
JP2010246049A5 JP2010246049A5 (en) 2012-05-31
JP5489514B2 true JP5489514B2 (en) 2014-05-14

Family

ID=43098539

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009095297A Active JP5489514B2 (en) 2009-04-09 2009-04-09 Color processing method, color processing apparatus, and program

Country Status (1)

Country Link
JP (1) JP5489514B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5541698B2 (en) * 2010-05-21 2014-07-09 キヤノン株式会社 Image processing apparatus, image processing method, and program
JP6051890B2 (en) * 2013-01-29 2016-12-27 株式会社リコー Image processing apparatus, image processing method, image display method, and program
JP6149460B2 (en) 2013-03-29 2017-06-21 株式会社リコー Image processing apparatus and image processing method
WO2016121346A1 (en) 2015-01-30 2016-08-04 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and appearance reproduction apparatus
JP6866582B2 (en) * 2016-07-05 2021-04-28 凸版印刷株式会社 Image display terminal, image display method and program
JP7271888B2 (en) * 2018-09-25 2023-05-12 富士フイルムビジネスイノベーション株式会社 Image processing device and program
JP7301551B2 (en) * 2019-02-21 2023-07-03 キヤノン株式会社 Image processing device, image processing method, display device, control method, and program
CN113192044A (en) * 2021-05-13 2021-07-30 江南大学 Soft proofing method for printed fabric based on image processing

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4244391B2 (en) * 1997-04-04 2009-03-25 ソニー株式会社 Image conversion apparatus and image conversion method
JP2000057377A (en) * 1998-06-02 2000-02-25 Sony Corp Image processor, image processing method and medium
JP2000009537A (en) * 1998-06-22 2000-01-14 Dainippon Screen Mfg Co Ltd Method and system for simulating color printed matter
JP5033049B2 (en) * 2008-04-30 2012-09-26 キヤノン株式会社 Image processing method and image processing apparatus

Also Published As

Publication number Publication date
JP2010246049A (en) 2010-10-28

Similar Documents

Publication Publication Date Title
JP5235805B2 (en) Color processing method, color processing apparatus, and program
JP5489514B2 (en) Color processing method, color processing apparatus, and program
JP5615041B2 (en) Image processing apparatus and image processing method
JP5153566B2 (en) Image processing system, image processing apparatus, and image processing method
JP2003346137A (en) Color reproducing device
JP2007081586A (en) Image processing unit and image processing method, program thereof, and recording medium
US9628670B2 (en) Image processing apparatus, image processing method, and storage medium
JP2007163979A (en) Profile preparation apparatus, profile preparation program and image output apparatus
US8363270B2 (en) Image processing method, image processing apparatus and computer program
JP2010114506A (en) Texture information data acquiring device and display control system with the same
JP2009159580A (en) Apparatus and method for image quality evaluation
JP4800380B2 (en) Colorimetric value prediction method for subtractive color mixture
JP2002218268A (en) Color conversion characteristic deciding method, image display device and recording medium
JP5635810B2 (en) Image processing apparatus and method
JP2010217645A (en) Method, device and program of making correction value of image display device
Kim et al. Color rendering in medical extended-reality applications
JP5761491B2 (en) Color processing apparatus and color processing program
JP2008278055A (en) Color processor and method therefor
JP2011250200A5 (en)
JP2010217644A (en) Method, device and program of making correction value of image display device
Smith et al. Virtual colour atlas
Geisler-Moroder et al. Color-rendering indices in global illumination methods
Smith et al. Evaluating display color capability
Yamamoto et al. Reproducing an appearance of the objects using high bright projector
JP4559471B2 (en) Color processing apparatus and method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120409

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120409

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130411

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130423

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130621

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: 20140128

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140225

R151 Written notification of patent or utility model registration

Ref document number: 5489514

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151