JP2007036881A - Color processing method and device - Google Patents

Color processing method and device Download PDF

Info

Publication number
JP2007036881A
JP2007036881A JP2005219439A JP2005219439A JP2007036881A JP 2007036881 A JP2007036881 A JP 2007036881A JP 2005219439 A JP2005219439 A JP 2005219439A JP 2005219439 A JP2005219439 A JP 2005219439A JP 2007036881 A JP2007036881 A JP 2007036881A
Authority
JP
Japan
Prior art keywords
mapping
color
color gamut
node
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2005219439A
Other languages
Japanese (ja)
Inventor
Shiyuugo Higuchi
州吾 樋口
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 JP2005219439A priority Critical patent/JP2007036881A/en
Publication of JP2007036881A publication Critical patent/JP2007036881A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To solve the matter that although record management can be introduced in order to restore the operation for adjusting control parameters of mapping transformation and a record of adjusting operations arranged in timer order is obtained, adjusting operation in the past after the moment in time of restoration cannot be restored when an adjusting operation different from before is performed following to restoration of adjusting operation up to an arbitrary moment in time. <P>SOLUTION: An input color gamut is transformed by mapping into an output color gamut and displayed pseudo-three dimensionally (S502-S504). When control parameters of map conversion are altered, its alteration record is managed (S507) and the results of map transformation at an arbitrary moment in time or in an arbitrary period are reproduced, based on that alteration record (S511-S504). Control parameters are altered frequently by reproduction thus enhancing design efficiency of gamut mapping repeating trial and error. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、画像の色再現を調整する色処理に関する。   The present invention relates to color processing for adjusting color reproduction of an image.

パーソナルコンピュータやワークステーションの普及に伴い、デスクトップパブリッシング(DTP)やコンピュータ支援設計(CAD)が広く利用されている。このような中、コンピュータによってモニタに表現される色と、出力媒体に再現される色をマッチングする色再現技術の重要度が増している。例えば、DTPの現場では、カラーモニタとカラープリンタを有するコンピュータシステムを使用して、モニタ上で画像の作成、編集、加工などを行い、カラープリンタで画像を出力する。ユーザは、モニタの表示画像とプリンタの出力画像の色が知覚的に一致していることを強く望む。   With the spread of personal computers and workstations, desktop publishing (DTP) and computer-aided design (CAD) are widely used. Under such circumstances, the importance of a color reproduction technique for matching a color expressed on a monitor by a computer with a color reproduced on an output medium is increasing. For example, at a DTP site, a computer system having a color monitor and a color printer is used to create, edit, and process an image on the monitor, and the image is output by the color printer. The user strongly desires that the color of the display image on the monitor and the output image of the printer are perceptually matched.

しかし、モニタの表示画像とプリンタの出力画像の間の色の知覚的な一致は、以下の理由により困難が伴う。   However, the perceptual matching of colors between the monitor display image and the printer output image is difficult for the following reasons.

モニタは、例えば蛍光体が発する特定波長の光を用いて色を表現する。他方、プリンタは、インクなどの色材によって特定波長の光を吸収した残りの反射光によって、色を表現する。つまり、モニタとプリンタの色再現域は、それらの画像形成形態が異なることに起因して大きく異なる。   A monitor expresses a color using, for example, light of a specific wavelength emitted from a phosphor. On the other hand, the printer expresses a color by the remaining reflected light that has absorbed light of a specific wavelength by a color material such as ink. That is, the color gamuts of the monitor and the printer are greatly different due to their different image forming forms.

さらに、モニタには液晶パネルやブラウン管を使うもの、あるいは、プラズマ方式などがあり、それらの色再現域は大きく異なる。また、プリンタも、記録方式、記録媒体の質(紙質)、色材の種類や使用量の違いにより色再現域が異なる。そのため、モニタの表示画像とプリンタの出力画像、あるいは、質が異なる記録媒体に出力したプリンタの出力画像などの間で、色を完全に一致させることは不可能である。   Furthermore, there are monitors that use liquid crystal panels and cathode-ray tubes, or plasma systems, and their color gamuts differ greatly. Printers also have different color gamuts depending on the recording method, the quality of the recording medium (paper quality), the type of color material, and the amount used. Therefore, it is impossible to make the colors completely match between the display image on the monitor and the output image of the printer, or the output image of the printer output to a recording medium of different quality.

ここで、色再現域が異なる記録媒体や表示媒体において、色の知覚的一致を図る色再現技術として、ある色再現域と別の色再現域を均等表色系において対応付けるガマット写像技術がある。ガマット写像技術には、特開2001-094799公報に記載された一次元から三次元の複雑な写像変換を複数段階で行う技術、特開2002-033929公報に記載された色の変化としての階調を曲線表現に帰着してガマット写像を実現する技術などがある。   Here, there is a gamut mapping technique for associating one color reproduction area with another color reproduction area in a uniform color system as a color reproduction technique for perceptual matching of colors in recording media and display media having different color reproduction areas. The gamut mapping technique includes a technique for performing a one-dimensional to three-dimensional complex mapping conversion described in Japanese Patent Laid-Open No. 2001-094799 in multiple stages, and a gradation as a color change described in Japanese Patent Laid-Open No. 2002-033929. There is a technology that realizes a gamut mapping by reducing the curve to a curved expression.

また、特開2002-033931公報は、入力画像の階調性を損うことなく、プリンタの出力画像の知覚的一致を図る技術を記載する。さらに、特開2003-173437号公報は、入力画像の階調性を保ちつつユーザが均等表色系における色調整および評価、解析を行う技術を記載する。   Japanese Patent Laid-Open No. 2002-033931 describes a technique for achieving perceptual matching of output images from a printer without impairing the gradation of the input image. Furthermore, Japanese Patent Laid-Open No. 2003-173437 describes a technique in which a user performs color adjustment, evaluation, and analysis in a uniform color system while maintaining the gradation of an input image.

しかし、これらの技術は、モニタの色再現域からプリンタの色再現域へガマット写像する際に、ユーザは、多数の写像パラメータを手動調整する必要がある。最適な写像パラメータの組み合わせはモニタやプリンタの機種にも依存する。従って、写像パラメータを決定するガマット写像の設計は、多大な時間的コストを必要とする。   However, these techniques require the user to manually adjust a number of mapping parameters when gamut mapping from the color gamut of the monitor to the color gamut of the printer. The optimal combination of mapping parameters also depends on the monitor and printer model. Therefore, the design of a gamut map that determines the mapping parameters requires significant time costs.

また、ガマット写像は一般に複数段階の写像から構成されるため制御が難しい。ユーザが意図する色再現を達成するには、写像変換に対する高度な知識が要求される。勿論、一部の写像変換は、写像を制御し易いように写像パラメータを構成するが、それでも、写像パラメータの調整による効果および画像全体に及ぼす影響の理解には困難が付き纏う。   Also, gamut mapping is generally difficult to control because it is composed of multiple levels of mapping. In order to achieve the color reproduction intended by the user, a high level of knowledge about map conversion is required. Of course, some mapping transformations configure the mapping parameters so that the mapping can be easily controlled. However, it is still difficult to understand the effect of adjusting the mapping parameters and the influence on the entire image.

また、高次の非線形変換による写像は、非線形変換の係数項が写像へ及ぼす影響を理解する必要があり、一層、制御が困難である。さらに、色再現を視覚的に確認しつつ写像パラメータを調整するには、写像と解析を交互に繰り返す必要があり、手順が煩雑になる。   Further, mapping by higher-order nonlinear transformation requires understanding of the influence of coefficient terms of nonlinear transformation on the mapping, and is more difficult to control. Furthermore, in order to adjust the mapping parameters while visually confirming the color reproduction, it is necessary to repeat mapping and analysis alternately, and the procedure becomes complicated.

上記の理由から、調整中の写像結果が芳しくないとしても、以前の状態に遡って写像パラメータの調整をやり直すことは困難である。このため、好ましい写像パラメータが決定するまでの設計効率は極めて低い。   For the above reasons, even if the mapping result being adjusted is not good, it is difficult to redo the mapping parameter retroactively. For this reason, the design efficiency until a preferable mapping parameter is determined is extremely low.

勿論、写像パラメータの調整操作を復元するために履歴管理を導入することもできる。しかし、調整操作を時間順に並べた履歴が得られるだけで、任意の時点の調整操作まで復元した後、以前と異なる調整操作を行えば、復元時点以降の過去の調整操作までは復元することができない。   Of course, history management can also be introduced to restore the mapping parameter adjustment operation. However, it is only possible to obtain a history in which adjustment operations are arranged in chronological order, and after restoring to an adjustment operation at an arbitrary point in time, if an adjustment operation different from the previous one is performed, it is possible to restore past adjustment operations after the restoration point. Can not.

このように、頻繁に写像パラメータを変更して試行錯誤を繰り返すガマット写像の設計は、極めて設計効率が低い。   As described above, the design efficiency of the gamut mapping that frequently changes the mapping parameters and repeats trial and error is extremely low.

特開2001-094799公報Japanese Patent Laid-Open No. 2001-094799 特開2002-033929公報JP2002-033929 特開2002-033931公報JP 2002-033931 JP 特開2003-173437号公報JP 2003-173437 A

本発明は、任意の時点または期間の写像変換の変換結果を再現可能にすることを目的とする。   An object of the present invention is to make it possible to reproduce a conversion result of mapping conversion at an arbitrary time point or period.

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

本発明にかかる色処理は、画像の色再現を調整する色処理であって、入力色域を出力色域に写像変換し、前記写像変換の制御パラメータを変更し、前記制御パラメータの変更履歴を管理し、前記変更履歴に基づき、任意の時点または期間の前記写像変換の結果を再現することを特徴とする。   The color processing according to the present invention is color processing for adjusting the color reproduction of an image, wherein the input color gamut is converted to an output color gamut, the control parameter of the mapping conversion is changed, and the change history of the control parameter is recorded. And the result of the mapping conversion at an arbitrary time or period is reproduced based on the change history.

本発明によれば、任意の時点または期間の写像変換の変換結果が再現可能になる。従って、頻繁に写像変換の制御パラメータを変更して試行錯誤を繰り返すガマット写像の設計効率を高めることができる。   According to the present invention, the conversion result of the mapping conversion at an arbitrary time point or period can be reproduced. Therefore, it is possible to increase the design efficiency of a gamut map that frequently changes the control parameter of the map conversion and repeats trial and error.

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

[装置の構成]
図1は色信号変換装置の構成例を示すブロック図である。
[Device configuration]
FIG. 1 is a block diagram illustrating a configuration example of a color signal conversion apparatus.

CPU 101は、メモリ102のRAMをワークメモリとして、メモリ102のROMおよびハードディスクドライブ(HDD) 105に格納されたオペレーティングシステム(OS)や各種プログラムに従い、PCI (Peripheral Component Interconnect)バスなどのシステムバス114を介して各構成を制御するとともに、後述する処理を実行する。   The CPU 101 uses the RAM of the memory 102 as a work memory, and a system bus 114 such as a PCI (Peripheral Component Interconnect) bus according to the operating system (OS) and various programs stored in the ROM of the memory 102 and the hard disk drive (HDD) 105. The respective components are controlled via the above and processing described later is executed.

CPU 101は、システムバス114およびシリアルATAインタフェイス(SATA I/F) 103を介してHDD 105にアクセスする。また、ネットワークI/F 104を介してローカルエリアネットワーク(LAN)などのネットワーク113にアクセスする。   The CPU 101 accesses the HDD 105 via the system bus 114 and the serial ATA interface (SATA I / F) 103. Further, a network 113 such as a local area network (LAN) is accessed via the network I / F 104.

また、CPU 101は、後述する処理のユーザインタフェイスや処理結果をグラフィックアクセラレータ106を介してモニタ107に表示し、ユーザの指示入力をキーボード/マウスコントローラ110に接続されたキーボード111、マウス112を介して入力する。   Further, the CPU 101 displays a user interface and processing results of processing to be described later on the monitor 107 via the graphic accelerator 106, and inputs user instructions via the keyboard 111 and mouse 112 connected to the keyboard / mouse controller 110. Enter.

また、CPU 101は、画像データをUSB (Universal Serial Bus)コントローラ108を介してプリンタ109に出力して、例えばユーザが指示する画像を印刷する。   Further, the CPU 101 outputs image data to a printer 109 via a USB (Universal Serial Bus) controller 108, and prints an image instructed by the user, for example.

[プリンタ出力]
図1に示す色変換装置におけるディジタル画像のプリンタ出力について説明する。
[Printer output]
A printer output of a digital image in the color conversion apparatus shown in FIG. 1 will be described.

CPU 101は、ユーザからディジタル画像の表示を指示されると、HDD 105やネットワーク113上のサーバに格納されたディジタル画像データをメモリ102のRAMに転送する。なお、ネットワーク113上のサーバにはインターネットのような広域ネットワーク上のサーバも含まれる。   When the CPU 101 is instructed to display a digital image by the user, the CPU 101 transfers the digital image data stored in the HDD 105 or a server on the network 113 to the RAM of the memory 102. The server on the network 113 includes a server on a wide area network such as the Internet.

次に、CPU 101は、メモリ102に格納したディジタル画像データをグラフィックアクセラレータ106に送ってモニタ107に表示する。   Next, the CPU 101 sends the digital image data stored in the memory 102 to the graphic accelerator 106 and displays it on the monitor 107.

ここで、ユーザからモニタ107に表示したディジタル画像のプリントが指示されると、CPU 101は、プリンタドライバを起動して後述する色変換処理を実行し、メモリ102に格納したディジタル画像データをプリンタ109のデバイスCMYKに対応するディジタル画像データに変換する。そして、CMYKディジタル画像データをプリンタ109に送って画像を印刷する。   Here, when printing of the digital image displayed on the monitor 107 is instructed by the user, the CPU 101 activates the printer driver and executes color conversion processing described later, and the digital image data stored in the memory 102 is transferred to the printer 109. To digital image data corresponding to the device CMYK. Then, the CMYK digital image data is sent to the printer 109 to print the image.

[色変換処理]
図2はプリンタドライバの動作を説明するフローチャートで、CPU 101によって起動されたプリンタドライバが実行する処理を示す。
[Color conversion processing]
FIG. 2 is a flowchart for explaining the operation of the printer driver, and shows processing executed by the printer driver activated by the CPU 101.

まず、画像データ、および、後述する色補正LUT作成アプリケーションが作成した色補正LUTを格納する領域をメモリ102に用意し(S201)、色補正LUTをHDD 105から読み込む(S202)。   First, an area for storing image data and a color correction LUT created by a color correction LUT creation application described later is prepared in the memory 102 (S201), and the color correction LUT is read from the HDD 105 (S202).

色補正LUTは、図3Aに示すRGB色空間の格子点の座標値と、当該格子点に対応するLab色空間の座標値の対応関係を記したデータ構造を備える。データ構造は、図3Bに示すように、その先頭にはR、G、B値のステップを記述し、続いて、各格子点の座標値とLab値の対応関係をR、G、Bのネスト順に記述したものである。なお、以下では、上記のデータ構造が色の分布を示すことから色補正LUTを色分布データと呼ぶことがある。   The color correction LUT has a data structure that describes the correspondence between the coordinate values of the grid points in the RGB color space shown in FIG. 3A and the coordinate values of the Lab color space corresponding to the grid points. As shown in Fig. 3B, the R, G, B value step is described at the beginning of the data structure, and the correspondence between the coordinate value of each grid point and the Lab value is then nested in R, G, B. They are described in order. In the following, the color correction LUT may be referred to as color distribution data because the above data structure indicates a color distribution.

次に、メモリ102に格納した色補正LUTを使用して、RGB24ビットの画像データを固定小数点のLab画像データに変換し、メモリ102に用意した領域に格納する(S203)。続いて、予め定められた色変換LUTを使用して、Lab画像データをCMYK32ビットの画像データに変換し、メモリ102に用意した領域に格納する(S204)。なお、これらの変換には四面体補間などを用いる。   Next, using the color correction LUT stored in the memory 102, RGB 24-bit image data is converted into fixed-point Lab image data and stored in an area prepared in the memory 102 (S203). Subsequently, Lab image data is converted into CMYK 32-bit image data using a predetermined color conversion LUT and stored in an area prepared in the memory 102 (S204). In addition, tetrahedral interpolation etc. are used for these conversions.

そして、プリンタ109へ出力する画像データの準備ができたことをCPU 101に通知する(S205)。この通知により、CPU 101は、メモリ102からCMYK32ビット画像データを読み出して、USBコントローラ108を介してプリンタ109へ送信する。   Then, the CPU 101 is notified that the image data to be output to the printer 109 is ready (S205). In response to this notification, the CPU 101 reads out CMYK 32-bit image data from the memory 102 and transmits it to the printer 109 via the USB controller 108.

[色補正LUT作成アプリケーション]
次に、色補正LUTを作成する色補正LUT作成アプリケーションについて説明する。
[Color correction LUT creation application]
Next, a color correction LUT creation application for creating a color correction LUT will be described.

CPU 101は、ユーザから色補正LUT作成アプリケーションの起動が指示されると、HDD 105などに格納した色補正LUT作成アプリケーションをワークメモリ(メモリ102)にロードして実行する。   When the user gives an instruction to start the color correction LUT creation application, the CPU 101 loads the color correction LUT creation application stored in the HDD 105 or the like into the work memory (memory 102) and executes it.

起動された色補正LUT作成アプリケーションは、図4Aおよび図4Bに示すウィンドウをモニタ107に表示する。詳細は後述するが、図4Aは、色補正LUTに記述された各格子点のLab値を色分布情報としてLab色空間上に表示する擬似三次元表示例を示している。また、図4Bは、色補正LUTを調整するためのメニューウィンドウである。   The activated color correction LUT creation application displays the windows shown in FIGS. 4A and 4B on the monitor 107. Although details will be described later, FIG. 4A shows a pseudo three-dimensional display example in which the Lab value of each grid point described in the color correction LUT is displayed as color distribution information on the Lab color space. FIG. 4B is a menu window for adjusting the color correction LUT.

ユーザは、これらのウィンドウ(図4Aおよび図4B)を参照および使用して、色補正LUTを作成する。なお、作成した色補正LUTは、ユーザの指示により、HDD 105などに保存することが可能である。   The user refers to and uses these windows (FIGS. 4A and 4B) to create a color correction LUT. The created color correction LUT can be saved in the HDD 105 or the like according to a user instruction.

図5は色補正LUT作成アプリケーションの動作を説明する状態遷移図である。   FIG. 5 is a state transition diagram for explaining the operation of the color correction LUT creation application.

まず、初期化処理を行う(S501)。初期化処理には、メモリ102に作業用ヒープメモリの確保、写像制御パラメータの初期化、色分布情報を擬似三次元表示するためのジオメトリ情報および表示形態情報(3Dオブジェクト/線オブジェクト/面オブジェクトなど)の初期化などがある。   First, initialization processing is performed (S501). Initialization processing includes securing work heap memory in the memory 102, initialization of mapping control parameters, geometry information and display form information (3D object / line object / plane object, etc.) ) Initialization.

次に、写像制御パラメータを基に後述する色域写像処理により、色分布情報と等価の色補正LUTを作成し(S502)、色補正LUTおよびジオメトリ情報に基づき三次元物体データを生成する(S503)。そして、表示形態情報に基づき三次元物体をモニタ107に表示し(S504)、メッセージ待ち状態になる(S505)。そして、受信したメッセージに応じた状態へ移行する。   Next, a color correction LUT equivalent to the color distribution information is created by color gamut mapping processing described later based on the mapping control parameters (S502), and three-dimensional object data is generated based on the color correction LUT and the geometry information (S503). ). Based on the display form information, a three-dimensional object is displayed on the monitor 107 (S504), and a message waiting state is entered (S505). And it transfers to the state according to the received message.

[擬似三次元物体データの生成(S503)および表示(S504)]
三次元物体データを生成する際、Lab色空間上の最大の格子領域表面の、各格子点により形成される最小の四角形それぞれにおいて二通りの三角形(三角パッチ)の組み合わせを生成するが、図6は、その様子を模式的に示す図である。
[Generation of pseudo three-dimensional object data (S503) and display (S504)]
When generating 3D object data, a combination of two triangles (triangular patches) is generated in each of the smallest squares formed by each grid point on the surface of the largest grid area in the Lab color space. These are figures which show the mode typically.

図6において、太線で囲まれた領域が各格子点により形成される最小の四角形で、この四角形を破線で分割して得られる二つの三角形の組み合わせ、および、二点鎖線で分割して得られる二つの三角形の組み合わせの二通りを生成する。次に、これら三角形の頂点である格子点座標を、色変換LUTを用いて、対応する色変換後のLab値に変換する。そして、三次元物体の体積が最大になるように、色変換後の三角形の組み合わせを選択して、色変換後の三角形の組み合わせから三次元物体データを生成する。言い換えれば、三角パッチの集合として三次元物体の表面情報を構成することになる。   In FIG. 6, the area surrounded by the thick line is the smallest square formed by each lattice point, and is obtained by dividing the square by a broken line and by dividing it by a two-dot chain line. Generate two combinations of two triangles. Next, the grid point coordinates which are the vertices of these triangles are converted into the corresponding Lab values after color conversion using the color conversion LUT. Then, a combination of triangles after color conversion is selected so that the volume of the three-dimensional object is maximized, and three-dimensional object data is generated from the combination of triangles after color conversion. In other words, the surface information of the three-dimensional object is configured as a set of triangular patches.

こうして生成した三次元物体を、例えば図4Aに示すように、モニタ107に表示する。   The three-dimensional object generated in this way is displayed on the monitor 107 as shown in FIG. 4A, for example.

[受信メッセージに対する処理]
図7はメッセージマップを示す図である。以下、通知されるメッセージに対する処理を説明する。
[Processing for received messages]
FIG. 7 shows a message map. Hereinafter, the process for the notified message will be described.

●メッセージDISP_MAPCTRL
メッセージDISP_MAPCTRLを受信すると、メッセージに付加されたサブメッセージを抽出し、サブメッセージに対応する写像制御用のモードレスダイアログを表示し(S506)、メッセージ待ち状態(S505)に戻る。
● Message DISP_MAPCTRL
When the message DISP_MAPCTRL is received, the sub message added to the message is extracted, a mapping control modeless dialog corresponding to the sub message is displayed (S506), and the process returns to the message waiting state (S505).

●メッセージCTRL_MAP
メッセージCTRL_MAPを受信すると、メッセージに付加された写像制御サブメッセージおよび付加メッセージを抽出し、写像制御サブメッセージおよび付加メッセージに基づき写像制御パラメータを調整する(S507)。そして、色域写像処理(S502)に遷移する。そして、調整後の写像制御パラメータによる色域写像処理(S502)、三次元物体データの生成(S503)、三次元物体の表示(S504)を行い、メッセージ待ち状態(S505)に戻る。
● Message CTRL_MAP
When the message CTRL_MAP is received, the mapping control submessage and the additional message added to the message are extracted, and the mapping control parameter is adjusted based on the mapping control submessage and the additional message (S507). Then, the process proceeds to color gamut mapping processing (S502). Then, color gamut mapping processing (S502) using the adjusted mapping control parameters, generation of three-dimensional object data (S503), display of three-dimensional objects (S504) are performed, and the process returns to the message waiting state (S505).

●メッセージCNT_HIST
メッセージCNT_HISTを受信すると、メッセージに付加されたサブメッセージを抽出し、サブメッセージに基づき後述する履歴操作を行い(S511)、色域写像処理(S502)に遷移する。そして、色域写像処理(S502)、三次元物体データの生成(S503)、三次元物体の表示(S504)を行い、メッセージ待ち状態(S505)に戻る。
● Message CNT_HIST
When the message CNT_HIST is received, a sub message added to the message is extracted, a history operation described later is performed based on the sub message (S511), and the process proceeds to the color gamut mapping process (S502). Then, color gamut mapping processing (S502), generation of three-dimensional object data (S503), display of a three-dimensional object (S504) are performed, and the process returns to the message waiting state (S505).

●メッセージCTRL_DISP
メッセージCTRL_DISPを受信すると、メッセージに付加された表示制御サブメッセージおよび付加メッセージを抽出する。そして、表示制御サブメッセージおよび付加メッセージに基づき表示制御情報を更新し(S508)、三次元物体の表示(S504)に遷移する。そして、更新された表示制御情報に基づき三次元物体の表示を更新し(S504)、メッセージ待ち状態(S505)に戻る。
● Message CTRL_DISP
When the message CTRL_DISP is received, the display control sub message and the additional message added to the message are extracted. Then, the display control information is updated based on the display control sub message and the additional message (S508), and the process proceeds to display of a three-dimensional object (S504). Then, the display of the three-dimensional object is updated based on the updated display control information (S504), and the process returns to the message waiting state (S505).

●メッセージGEN_LUT
メッセージGEN_LUTを受信すると、後述する方法により生成した写像色域を参照して、RGBデータからLabデータへの色補正LUTを生成してHDD 105へ保存し(S509)、メッセージ待ち状態(S505)に戻る。
● Message GEN_LUT
When the message GEN_LUT is received, a color correction LUT from RGB data to Lab data is generated by referring to the mapping color gamut generated by the method described later and saved in the HDD 105 (S509), and the message waiting state (S505) is entered. Return.

●メッセージPROCESS_END
メッセージPROCESS_ENDを受信すると、ヒープメモリの解放などの終了処理動作を行い、色補正LUT作成アプリケーションを終了する。
● Message PROCESS_END
When the message PROCESS_END is received, a termination processing operation such as release of heap memory is performed, and the color correction LUT creation application is terminated.

[メニューウィンドウ]
図4Bに示すメニューウィンドウにおいて、ボタン401〜404が押されるとメッセージDISP_MAPCTRLを生成する。また、サブメッセージは、ボタン401はDISP_CHANGE_BRIGHTNESS、ボタン402はDISP_CHANGE_HUE、ボタン403はDISP_CHANGE_CHROMA、ボタン404はDISP_CTRL_HISTORYになる。また、ボタン405が押されるとメッセージGEN_LUTを、ボタン406が押されるとメッセージPROCESS_ENDをそれぞれ生成する。
[Menu window]
When the buttons 401 to 404 are pressed in the menu window shown in FIG. 4B, a message DISP_MAPCTRL is generated. Further, the sub message is DISP_CHANGE_BRIGHTNESS for the button 401, DISP_CHANGE_HUE for the button 402, DISP_CHANGE_CHROMA for the button 403, and DISP_CTRL_HISTORY for the button 404. When the button 405 is pressed, a message GEN_LUT is generated, and when the button 406 is pressed, a message PROCESS_END is generated.

[写像制御用のモードレスダイアログの表示(S506)]
次に、メッセージDISP_MAPCTRLを受信した際の写像制御用のモードレスダイアログの表示(S506)について説明する。
[Display modeless dialog for mapping control (S506)]
Next, display of a modeless dialog for mapping control when receiving the message DISP_MAPCTRL (S506) will be described.

●サブメッセージDISP_CHANGE_BRIGHTNESS
サブメッセージDISP_CHANGE_BRIGHTNESSを抽出すると、図8Aに示す明るさ調整用のダイアログを表示する。ユーザは、色補正の全体的な明るさの調整量をスライダ801を用いて設定する。色補正LUT作成アプリケーションは、この調整量に応じて、後述する色域写像処理を行う。
● Sub message DISP_CHANGE_BRIGHTNESS
When the sub message DISP_CHANGE_BRIGHTNESS is extracted, the brightness adjustment dialog shown in FIG. 8A is displayed. The user uses the slider 801 to set the overall brightness adjustment amount for color correction. The color correction LUT creation application performs a color gamut mapping process, which will be described later, according to the adjustment amount.

●サブメッセージDISP_CHANGE_HUE
サブメッセージDISP_CHANGE_HUEを抽出すると、図8Bに示す色相調整用のダイアログが表示する。ユーザは、リストボックス802、803を用いて、明度、および、色相(レッド、グリーン、ブルー、シアン、マゼンタ、イエロー)の一つを選択し、選択した範囲の色の色相調整量をスライダ804を用いて設定する。色補正LUT作成アプリケーションは、この調整量に応じて、後述する色域写像処理を行う。
● Sub message DISP_CHANGE_HUE
When the sub message DISP_CHANGE_HUE is extracted, a hue adjustment dialog shown in FIG. 8B is displayed. The user uses the list boxes 802 and 803 to select one of brightness and hue (red, green, blue, cyan, magenta, and yellow), and sets the hue adjustment amount of the color in the selected range using the slider 804. Use to set. The color correction LUT creation application performs a color gamut mapping process, which will be described later, according to the adjustment amount.

●サブメッセージDISP_CHANGE_CHROMA
サブメッセージDISP_CHANGE_CHROMAを抽出すると、図8Cに示す彩度調整用のダイアログを表示する。ユーザは、リストボックス805を用いて、調整対象の色相を選択し、選択色相における鮮やかさ調整量をスライダ806を用いて設定する。色補正LUT作成アプリケーションは、この調整量に応じて、後述する色域写像処理を行う。
● Sub message DISP_CHANGE_CHROMA
When the sub message DISP_CHANGE_CHROMA is extracted, a saturation adjustment dialog shown in FIG. 8C is displayed. The user uses the list box 805 to select a hue to be adjusted, and uses the slider 806 to set the vividness adjustment amount for the selected hue. The color correction LUT creation application performs a color gamut mapping process, which will be described later, according to the adjustment amount.

●サブメッセージDISP_CTRL_HISTORY
サブメッセージDISP_CTRL_HISTORYを抽出すると、図8Dに示す履歴管理用のダイアログを表示する。ユーザは、このダイアログを用いて、写像制御パラメータの状態を操作し、以前の状態に遡ったり、一連の操作を連続再生して写像制御パラメータの効果を確認したりすることができる。色補正LUT作成アプリケーションは、ユーザの指示に応じて、後述する履歴操作を行う。
● Sub message DISP_CTRL_HISTORY
When the sub message DISP_CTRL_HISTORY is extracted, a history management dialog shown in FIG. 8D is displayed. Using this dialog, the user can manipulate the state of the mapping control parameter and go back to the previous state or continuously reproduce a series of operations to confirm the effect of the mapping control parameter. The color correction LUT creation application performs a history operation to be described later in accordance with a user instruction.

[写像制御パラメータの調整(S507)]
次に、写像制御パラメータの調整(S507)について説明する。
[Adjustment of mapping control parameters (S507)]
Next, adjustment of the mapping control parameter (S507) will be described.

●サブメッセージCHANGE_BRIGHTNESS
図8Aに示すダイアログにおいて、ユーザがスライダ801を操作すると、メッセージCTRL_MAPとサブメッセージCHANGE_BRIGHTNESSを生成し、スライダ801の位置情報(例えば0から100の整数値)をメッセージに付加する。
● Sub message CHANGE_BRIGHTNESS
In the dialog shown in FIG. 8A, when the user operates the slider 801, a message CTRL_MAP and a sub message CHANGE_BRIGHTNESS are generated, and position information of the slider 801 (for example, an integer value of 0 to 100) is added to the message.

メッセージCTRL_MAPを受信し、サブメッセージCHANGE_BRIGHTNESSを抽出すると、メッセージに付加されたスライダの位置情報を取得する。そして、取得した位置情報に基づき、明度制御パラメータを生成または修正して写像制御パラメータを更新する(S507)。そして、更新した写像制御パラメータに基づき後述する色域写像処理を行う(S502)。   When the message CTRL_MAP is received and the sub message CHANGE_BRIGHTNESS is extracted, the slider position information added to the message is acquired. Then, based on the acquired position information, the brightness control parameter is generated or modified to update the mapping control parameter (S507). Then, based on the updated mapping control parameter, color gamut mapping processing described later is performed (S502).

●サブメッセージCHANGE_HUE
図8Bに示すダイアログにおいて、ユーザがスライダ804を操作すると、メッセージCTRL_MAPとサブメッセージCHANGE_HUEを生成する。その際、リストボックス802、803の選択情報(例えばリスト番号)、スライダ804の位置情報(例えば0から100の整数値)をメッセージに付加する。なお、明度選択用のリストボックス802は明度0から100まで20刻みの6リスト、色相選択用のリストボックス803は上記の六色に対応する6リストを有する。
● Sub message CHANGE_HUE
In the dialog shown in FIG. 8B, when the user operates the slider 804, a message CTRL_MAP and a sub message CHANGE_HUE are generated. At that time, selection information (for example, list number) of the list boxes 802 and 803 and position information of the slider 804 (for example, an integer value of 0 to 100) are added to the message. The brightness selection list box 802 has 6 lists in 20 increments from brightness 0 to 100, and the hue selection list box 803 has 6 lists corresponding to the above six colors.

メッセージCTRL_MAPを受信し、サブメッセージCHANGE_HUEを抽出すると、メッセージに付加されたリスト番号およびスライダの位置情報を取得する。そして、取得したリスト番号に基づき調整対象の明度値と色相角値を設定し、取得した位置情報に基づき例えば-20〜20の整数値をとる色相調整値を生成する。そして、調整対象の明度値、色相角値、色相調整値に基づき、色相制御パラメータを生成または修正して写像制御パラメータを更新する(S507)。そして、更新された写像制御パラメータに基づき後述する色域写像処理を行う(S502)。   When the message CTRL_MAP is received and the sub message CHANGE_HUE is extracted, the list number added to the message and the position information of the slider are acquired. Then, the brightness value and hue angle value to be adjusted are set based on the acquired list number, and a hue adjustment value that takes an integer value of, for example, −20 to 20 is generated based on the acquired position information. Then, based on the brightness value, hue angle value, and hue adjustment value to be adjusted, the hue control parameter is generated or modified to update the mapping control parameter (S507). Then, based on the updated mapping control parameter, a color gamut mapping process to be described later is performed (S502).

●サブメッセージCHANGE_CHOROMA
図8Cに示すダイアログにおいて、ユーザがスライダ806を操作すると、メッセージCTRL_MAPとサブメッセージCHANGE_CHROMAを生成する。その際、リストボックス805の選択情報(例えばリスト番号)、スライダ806の位置情報(例えば0から100の整数値)をメッセージに付加する。なお、色相選択用のリストボックス805は、例えば黄、橙、赤、赤紫、マゼンタ、青紫、青、空色、シアン、青緑、緑、黄緑の12リストを有する。
● Sub message CHANGE_CHOROMA
In the dialog shown in FIG. 8C, when the user operates the slider 806, a message CTRL_MAP and a sub message CHANGE_CHROMA are generated. At this time, selection information (for example, list number) in the list box 805 and position information (for example, an integer value from 0 to 100) of the slider 806 are added to the message. The hue selection list box 805 has, for example, 12 lists of yellow, orange, red, magenta, magenta, blue-violet, blue, sky blue, cyan, blue-green, green, and yellow-green.

メッセージCTRL_MAPを受信し、サブメッセージCHANGE_CHROMAを抽出すると、メッセージに付加されたリスト番号およびスライダの位置情報を取得する。そして、取得したリスト番号に基づき調整対象の色相角値を設定し、取得した位置情報に基づき例えば0.5〜2の実数値をとる彩度調整値を生成する。そして、調整対象の色相角値、彩度調整値に基づき、彩度制御パラメータを生成または修正して写像制御パラメータを更新する(S507)。そして、更新した写像制御パラメータに基づき後述する色域写像処理を行う(S502)。   When the message CTRL_MAP is received and the sub message CHANGE_CHROMA is extracted, the list number added to the message and the position information of the slider are acquired. Then, a hue angle value to be adjusted is set based on the acquired list number, and a saturation adjustment value that takes a real value of, for example, 0.5 to 2 is generated based on the acquired position information. Then, based on the hue angle value and saturation adjustment value to be adjusted, the saturation control parameter is generated or modified to update the mapping control parameter (S507). Then, based on the updated mapping control parameter, color gamut mapping processing described later is performed (S502).

[履歴操作(S511)]
次に、履歴操作(S511)について説明する。
[History Operation (S511)]
Next, the history operation (S511) will be described.

●サブメッセージHIST_ADD
図8A〜8Cに示すダイアログにおいて、ユーザがスライダを操作すると、メッセージCTRL_HISTとサブメッセージHIST_ADDを生成し、(リストボックスがあれば選択された)リスト番号およびスライダの位置情報をメッセージに付加する。
● Sub message HIST_ADD
In the dialogs shown in FIGS. 8A to 8C, when the user operates the slider, a message CTRL_HIST and a sub message HIST_ADD are generated, and the list number (selected if there is a list box) and slider position information are added to the message.

メッセージCTRL_HISTを受信し、サブメッセージHIST_ADDを抽出すると、メッセージに付加された(リスト番号および)位置情報を取得し、前述した方法によって、取得した(リスト番号および)位置情報から写像制御パラメータを生成する。または、写像制御パラメータの調整(S507)で更新された写像制御パラメータを取得する。そして、図8Dに示すノード管理リスト807に対応するリストから現在のノードを取得し、現在のノードを親ノードとして、写像制御パラメータを付加した新しいノードを生成する。なお、ノードは、親ノードの情報および写像制御パラメータを保持する。   When the message CTRL_HIST is received and the sub message HIST_ADD is extracted, the (list number and) position information added to the message is acquired, and the mapping control parameter is generated from the acquired (list number and) position information by the method described above. . Alternatively, the mapping control parameter updated in the mapping control parameter adjustment (S507) is acquired. Then, the current node is acquired from the list corresponding to the node management list 807 shown in FIG. 8D, and a new node with the mapping control parameter added is generated with the current node as the parent node. The node holds parent node information and mapping control parameters.

例えば、現在のノードが図8Dに符号814で示すノードの場合、生成または取得した写像制御パラメータと親ノード814の情報を保持する新ノード815を生成し、ノード814の子ノードとしてノード管理リスト807に対応するリストに登録する。これによって、ノード管理リスト807のノード814の右に新ノード815が階層表示(ツリー表示)され、現在のノードはノード815に更新される。なお、ノード814に既に子ノードが存在する場合は、階層表示(ツリー表示)に適切な位置にノード815を表示する。   For example, when the current node is a node indicated by reference numeral 814 in FIG. 8D, a new node 815 that holds the generated or acquired mapping control parameter and information of the parent node 814 is generated, and the node management list 807 is used as a child node of the node 814. Register to the list corresponding to. As a result, the new node 815 is displayed in a hierarchy (tree display) to the right of the node 814 in the node management list 807, and the current node is updated to the node 815. If a child node already exists in the node 814, the node 815 is displayed at an appropriate position in the hierarchical display (tree display).

●サブメッセージHIST_UNDO
図8Dに示すダイアログにおいて、ユーザが取消(Undo)ボタン816を押すと、メッセージCTRL_HISTとサブメッセージHIST_UNDOを生成し、現在のノードから取得した親ノードをメッセージに付加する。
● Sub message HIST_UNDO
In the dialog shown in FIG. 8D, when the user presses an Undo button 816, a message CTRL_HIST and a sub message HIST_UNDO are generated, and the parent node acquired from the current node is added to the message.

メッセージCTRL_HISTを受信し、サブメッセージHIST_UNDOを抽出すると、メッセージに付加されたノード情報を取得する。そして、ノード管理リスト807の現在のノードを取得したノード情報が示すノードに更新し、当該ノードが保持する写像制御パラメータを取得して、取得した写像制御パラメータに基づき後述する色域写像処理を行う(S502)。   When the message CTRL_HIST is received and the sub message HIST_UNDO is extracted, the node information added to the message is acquired. Then, the current node of the node management list 807 is updated to the node indicated by the acquired node information, the mapping control parameter held by the node is acquired, and the color gamut mapping process described later is performed based on the acquired mapping control parameter. (S502).

●サブメッセージHIST_ANIMATION
図8Dに示すダイアログにおいて、ユーザが再生ボタン817を押すと、メッセージCTRL_HISTとサブメッセージHIST_ANIMATIONを生成する。メッセージCTRL_HISTを受信し、サブメッセージHIST_ANIMATIONを抽出すると再生処理を実行する。
● Sub message HIST_ANIMATION
In the dialog shown in FIG. 8D, when the user presses the play button 817, a message CTRL_HIST and a sub message HIST_ANIMATION are generated. When the message CTRL_HIST is received and the sub message HIST_ANIMATION is extracted, playback processing is executed.

図9は再生処理を説明するフローチャートである。   FIG. 9 is a flowchart for explaining the reproduction process.

まず、始点ノードと終点ノードを取得する(S901)。ユーザは、図8Dに示すダイアログにおいて、マウス操作などにより、始点ノードと終点ノードを指定することができる。例えば、ノード管理リスト807上のノードを左クリックすれば始点ノード、右クリックすれば終点ノードのように指定する。   First, a start point node and an end point node are acquired (S901). In the dialog shown in FIG. 8D, the user can specify a start point node and an end point node by a mouse operation or the like. For example, if a node on the node management list 807 is left-clicked, the start point node is designated, and if a right-click is designated, the end point node is designated.

次に、終点ノードから順に親ノードを遡って始点ノードに辿り着くか否かを判定する(S902)。もし、始点ノードに辿り着かない(再生経路が存在しない)場合は、エラーメッセージを表示して(S907)、再生処理を終了する。   Next, it is determined whether or not the parent node is reached in order from the end node to reach the start node (S902). If the start point node cannot be reached (the playback path does not exist), an error message is displayed (S907) and the playback process is terminated.

再生径路が存在すれば、ノードの再生順を示す再生リストをメモリ102に保存し(S903)、再生リストの先頭のノードが保持する写像制御パラメータを取得する(S904)。そして、取得した写像制御パラメータに基づき後述する色域写像処理(S502)、三次元物体データの生成(S503)、三次元物体の表示(S504)を行う(S905)。   If there is a playback path, a playback list indicating the playback order of the nodes is stored in the memory 102 (S903), and mapping control parameters held by the first node of the playback list are acquired (S904). Then, based on the acquired mapping control parameters, a color gamut mapping process (S502) described later, three-dimensional object data generation (S503), and three-dimensional object display (S504) are performed (S905).

最後に、再生リストの始点ノードから終点ノードすべてに対応する写像制御パラメータに基づく色域写像処理を行ったか否かを判断して(S906)、終点ノードに達するまでステップS904〜S906の処理を繰り返す。   Finally, it is determined whether or not color gamut mapping processing has been performed based on mapping control parameters corresponding to all of the end nodes from the start point node of the reproduction list (S906), and the processing of steps S904 to S906 is repeated until the end point node is reached. .

なお、写像パラメータの変更による色域写像への影響を視覚的に把握し易くするために、上記の処理の繰り返しに、所定の待ち時間を導入してもよい。待ち時間は、例えば、図8Dに示すダイアログで設定するなどが好ましい。   It should be noted that a predetermined waiting time may be introduced in the repetition of the above processing in order to make it easier to visually grasp the influence on the color gamut mapping due to the mapping parameter change. The waiting time is preferably set, for example, in the dialog shown in FIG. 8D.

例えば、図8Dに示すノード管理リスト807においてノード808が始点、ノード814が終点の場合、その再生経路ノード808、812、813、814の順になる。この場合、始点ノード808が保持する写像制御パラメータに基づく色域写像処理(S502)を行い、所定の時間が経過した後、ノード812が保持する写像制御パラメータに基づく色域写像処理(S502)を行う。このようにして、最後に終点ノード814が保持する写像制御パラメータに基づく色域写像処理(S502)を行い再生処理を終了する。   For example, in the node management list 807 shown in FIG. 8D, when the node 808 is the start point and the node 814 is the end point, the playback path nodes 808, 812, 813, and 814 are in this order. In this case, the color gamut mapping process (S502) based on the mapping control parameter held by the start node 808 is performed, and after a predetermined time has elapsed, the color gamut mapping process (S502) based on the mapping control parameter held by the node 812 is performed. Do. In this way, the color gamut mapping process (S502) based on the mapping control parameter held by the end point node 814 is finally performed, and the reproduction process ends.

●サブメッセージHIST_COMPARATOR
図8Dに示すダイアログにおいて、ユーザが比較ボタン818を押すと、メッセージCTRL_HISTとサブメッセージHIST_COMPARATORを生成する。メッセージCTRL_HISTを受信し、サブメッセージHIST_COMPARATORを抽出すると比較再生処理を実行する。
● Sub message HIST_COMPARATOR
In the dialog shown in FIG. 8D, when the user presses the comparison button 818, a message CTRL_HIST and a sub message HIST_COMPARATOR are generated. When the message CTRL_HIST is received and the sub message HIST_COMPARATOR is extracted, the comparative reproduction process is executed.

図10は比較再生処理を説明するフローチャートである。   FIG. 10 is a flowchart for explaining the comparison reproduction process.

まず、二つの再生経路の始点ノードと終点ノードを取得する(S1001)。ユーザは、図8Dに示すダイアログにおいて、マウス操作などにより、始点ノードと終点ノードを指定することができる。例えば、ノード管理リスト807上のノードを左クリックすれば始点ノード、右クリックすれば終点ノードのように一つ目の再生経路(再生経路1と呼ぶ)を指定する。続いて、ノード管理リスト807上のノードを左クリックすれば始点ノード、右クリックすれば終点ノードのように二つ目の再生経路(再生経路2と呼ぶ)を指定する。   First, the start node and end node of the two playback paths are acquired (S1001). In the dialog shown in FIG. 8D, the user can specify a start point node and an end point node by a mouse operation or the like. For example, if a node on the node management list 807 is left-clicked, the first reproduction path (referred to as reproduction path 1) is designated, such as a start point node and a right-click if it is an end point node. Subsequently, if a node on the node management list 807 is left-clicked, a second playback path (referred to as playback path 2) is designated, such as a start-point node and right-clicking an end-point node.

次に、二つの再生経路それぞれについて、終点ノードから順に親ノードを遡って始点ノードに辿り着くか否かを判定する(S1002)。もし、何れかの再生経路において始点ノードに辿り着かない(再生経路が存在しない)場合は、エラーメッセージを表示して(S1008)、再生処理を終了する。   Next, for each of the two reproduction paths, it is determined whether or not the parent node is reached in order from the end node to reach the start node (S1002). If any of the playback paths does not reach the starting point node (the playback path does not exist), an error message is displayed (S1008), and the playback process ends.

二つの再生径路が存在すれば、各再生経路について、ノードの再生順を示す再生リストをメモリ102に保存し(S1003)、再生経路1を再生する擬似三次元表示ウィンドウと、再生経路2を再生する擬似三次元表示ウィンドウを作成する(S1004)。   If there are two playback paths, a playback list indicating the playback order of the nodes is stored in the memory 102 for each playback path (S1003), and a pseudo three-dimensional display window for playing the playback path 1 and playback path 2 are played back. A pseudo three-dimensional display window is created (S1004).

次に、二つの再生リストの先頭のノードが保持する写像制御パラメータを取得し(S1005)、二つの再生経路分の色域写像処理(S502)、三次元物体データの生成(S503)、三次元物体の表示(S504)を行う(S1006)。   Next, obtain the mapping control parameters held by the first node of the two playlists (S1005), color gamut mapping processing for two playback paths (S502), three-dimensional object data generation (S503), three-dimensional An object is displayed (S504) (S1006).

最後に、再生リストの始点ノードから終点ノードすべてに対応する写像制御パラメータに基づく色域写像処理を行ったか否かを判断して(S1007)、終点ノードに達するまでステップS1005〜S1007の処理を繰り返す。   Finally, it is determined whether or not color gamut mapping processing has been performed based on mapping control parameters corresponding to all of the end nodes from the start point node of the play list (S1007), and the processing of steps S1005 to S1007 is repeated until the end point node is reached. .

なお、写像パラメータの変更による色域写像への影響を視覚的に把握し易くするために、上記の処理の繰り返しに、所定の待ち時間を導入してもよい。待ち時間は、例えば、図8Dに示すダイアログで設定するなどが好ましい。また、再生を比較し易くするには、擬似三次元表示ウィンドウの表示更新タイミングを同期させることも効果的である。   It should be noted that a predetermined waiting time may be introduced in the repetition of the above processing in order to make it easier to visually grasp the influence on the color gamut mapping due to the mapping parameter change. The waiting time is preferably set, for example, in the dialog shown in FIG. 8D. In order to make it easy to compare the reproduction, it is also effective to synchronize the display update timing of the pseudo three-dimensional display window.

例えば、図8Dに示すノード管理リスト807において、再生経路1の始点ノード808、終点ノード811の場合、再生リストはノード808、809、810、811になる。また、再生経路2の始点ノード808、終点ノード814の場合、再生リストはノード808、812、813、814になる。この場合、始点ノード808が保持する写像制御パラメータに基づき色域写像処理を行い、写像結果を二つの擬似三次元表示ウィンドウに表示する。続いて、再生経路1の次ノード809および再生経路2の次ノード812が保持する写像制御パラメータに基づき色域写像処理を行い、擬似三次元表示ウィンドウの表示を、同期して、それぞれ表示を更新する。   For example, in the node management list 807 shown in FIG. 8D, in the case of the start node 808 and the end node 811 of the playback path 1, the playback list is nodes 808, 809, 810, 811. In the case of the start point node 808 and the end point node 814 of the playback path 2, the playback list is nodes 808, 812, 813, and 814. In this case, color gamut mapping processing is performed based on the mapping control parameter held by the start point node 808, and the mapping result is displayed in two pseudo three-dimensional display windows. Subsequently, color gamut mapping processing is performed based on the mapping control parameters held by the next node 809 of the reproduction path 1 and the next node 812 of the reproduction path 2, and the display of the pseudo three-dimensional display window is updated in synchronization with each other. To do.

つまり、複数の再生経路の色域写像の処理結果を、並行に、同期して、再現する。このようにして、最後に終点ノード811、814が保持する写像制御パラメータに基づく色域写像処理を行い比較再生処理を終了する。   That is, the processing results of the color gamut mapping of a plurality of reproduction paths are reproduced in synchronization in parallel. In this way, the color gamut mapping process is finally performed based on the mapping control parameters held by the end point nodes 811 and 814, and the comparison reproduction process is completed.

[色域写像処理(S502)]
図11は色域写像処理(S502)を説明するフローチャートである。
[Color Gamut Processing (S502)]
FIG. 11 is a flowchart for explaining the color gamut mapping process (S502).

まず、HDD 105からモニタ107の色域情報(モニタ色域)およびプリンタ109の色域情報(プリンタ色域)を取得し(S1101)、モニタ107の色域境界の最終的な写像結果になる写像色域境界を生成する(S1102)。   First, the color gamut information of the monitor 107 (monitor color gamut) and the color gamut information of the printer 109 (printer color gamut) are acquired from the HDD 105 (S1101), and the mapping becomes the final mapping result of the color gamut boundary of the monitor 107. A color gamut boundary is generated (S1102).

次に、均等表色系においてモニタ色域の明度および色相を写像する(S1103)。明度/色相の写像動作については後述するが、図12に示す模式図を用いて簡単に説明する。   Next, the brightness and hue of the monitor color gamut are mapped in the uniform color system (S1103). The lightness / hue mapping operation will be described later, but will be briefly described with reference to the schematic diagram shown in FIG.

図12において、一点鎖線はグリーンの色相におけるモニタ色域1201を、実線は第一の中間写像色域1202を、点線は同色相におけるプリンタ色域1203をそれぞれ示す。ステップS1103において、モニタ色域1201内の色に対して明度成分と色度成分を分離し、明度成分を非線形に写像する。また、色度成分については、適切になるように色相を調整する。この明度/色度写像により、モニタ色域1201を第一の中間写像色域1202へ写像する。   In FIG. 12, the alternate long and short dash line indicates the monitor color gamut 1201 in the green hue, the solid line indicates the first intermediate mapping color gamut 1202, and the dotted line indicates the printer color gamut 1203 in the same hue. In step S1103, the brightness component and the chromaticity component are separated for the colors in the monitor color gamut 1201, and the brightness component is mapped nonlinearly. For the chromaticity component, the hue is adjusted so as to be appropriate. With this brightness / chromaticity mapping, the monitor color gamut 1201 is mapped to the first intermediate mapping color gamut 1202.

次に、第一の中間写像色域1202の境界について明度を調整し、第二の中間写像色域の境界を生成する(S1104)。この明度調整写像については後述するが、図13に示す模式図を用いて簡単に説明する。   Next, the brightness of the boundary of the first intermediate mapping color gamut 1202 is adjusted to generate the boundary of the second intermediate mapping color gamut (S1104). Although this brightness adjustment map will be described later, it will be briefly described with reference to the schematic diagram shown in FIG.

図13において、一点鎖線はグリーンの色相における第一の中間写像色域1301を、実線は第二の中間写像色域1302を、点線は同色相におけるプリンタ色域1303をそれぞれ示す。ステップS1104において、第一の中間写像色域1301内の色に対して明度成分と色度成分を分離し、色度成分一定のまま明度成分のみ非線形に写像する。なお、写像を実現する明度入出力関数は色度により異なる。この動作により、第一の中間写像色域1301を第二の中間写像色域1302へ写像する。   In FIG. 13, the one-dot chain line indicates the first intermediate mapping color gamut 1301 in the green hue, the solid line indicates the second intermediate mapping color gamut 1302, and the dotted line indicates the printer color gamut 1303 in the same hue. In step S1104, the brightness component and the chromaticity component are separated from the colors in the first intermediate mapping color gamut 1301, and only the brightness component is non-linearly mapped while the chromaticity component is constant. The lightness input / output function for realizing the mapping differs depending on the chromaticity. By this operation, the first intermediate mapping color gamut 1301 is mapped to the second intermediate mapping color gamut 1302.

次に、中間写像色域の情報と写像色域の情報を参照して、第二の中間写像色域を写像色域へ彩度調整写像する(S1105)。この彩度調整写像については後述するが、図14に示す模式図を用いて簡単に説明する。   Next, with reference to the information on the intermediate mapping color gamut and the mapping color gamut, the second intermediate mapping color gamut is subjected to saturation adjustment mapping to the mapping color gamut (S1105). Although this saturation adjustment map will be described later, it will be briefly described with reference to the schematic diagram shown in FIG.

図14において、一点鎖線はグリーンの色相における第二の中間写像色域1401を、実線は写像色域1402を、点線はプリンタ色域1403をそれぞれ示す。ステップS1105において、第二の中間写像色域1401内の色に対して明度成分と色度成分を分離し、明度成分一定のまま色度成分における彩度成分を非線形に写像する。この動作により、第二の中間写像色域1401を写像色域1402へ写像する。   In FIG. 14, the alternate long and short dash line indicates the second intermediate mapping color gamut 1401 in the green hue, the solid line indicates the mapping color gamut 1402, and the dotted line indicates the printer color gamut 1403. In step S1105, the lightness component and the chromaticity component are separated from the colors in the second intermediate mapping color gamut 1401, and the chromaticity component in the chromaticity component is non-linearly mapped while the lightness component is constant. By this operation, the second intermediate mapping color gamut 1401 is mapped to the mapping color gamut 1402.

[明度/色相写像(S1103)]
図15は明度/色相写像(S1103)を説明するフローチャートである。
[Brightness / Hue Map (S1103)]
FIG. 15 is a flowchart for explaining brightness / hue mapping (S1103).

まず、色相制御パラメータに基づき、明度0から100までの20刻みの六つの明度値に対して、色相入出力関数h0(・)、h20(・)、h40(・)、h60(・)、h80(・)、h100(・)を生成する。色相制御パラメータは、レッドR、グリーンG、ブルーB、シアンC、マゼンタM、イエローYの六色相において、六つの各明度値に対応する色相調整量である。ここで、色相入出力関数は、明度ごとにR/G/B/C/M/Y色相の色相調整値を一次スプライン、すなわち直線で結んだ関数として計算する。   First, based on the hue control parameter, the hue input / output functions h0 (・), h20 (・), h40 (・), h60 (・), h80 are applied to six lightness values in increments of 20 from lightness 0 to 100. (•), h100 (•) is generated. The hue control parameter is a hue adjustment amount corresponding to each of the six brightness values in the six hues of red R, green G, blue B, cyan C, magenta M, and yellow Y. Here, the hue input / output function is calculated as a function obtained by connecting hue adjustment values of R / G / B / C / M / Y hue for each lightness with a primary spline, that is, a straight line.

例えば、明度値80に対して、RとYの二つの色相における色相角を少しプラス側へ移動し、Bの色相でマイナス側へ移動する場合、図16に示す色相入出力関数h80(・)を得る。なお、図16は、ab色度座標系におけるb軸の正方向を色相角0 radとし、反時計回りを正とするラジアン表記により、色相角を表す。   For example, when the hue angle in the two hues R and Y is moved slightly to the plus side with respect to the lightness value 80, and moved to the minus side in the hue of B, the hue input / output function h80 (•) shown in FIG. Get. Note that FIG. 16 represents the hue angle in radians notation where the positive direction of the b-axis in the ab chromaticity coordinate system is the hue angle 0 rad and the counterclockwise direction is positive.

次に、写像対象の色Mを取得し(S1502)、色Mに対する色相入出力関数h(・)をh0(・)、h20(・)、h40(・)、h60(・)、h80(・)、h100(・)を用いて、色Mに対する色相入出力関数h(・)を計算する(S1503)。
h(・) = {hLw(・)×(Up - x) + hUp(・)×(x - Lw)}/20 …(1)
ここで、hUp(・)は色Mの明度xに対して直上の明度Upの入出力関数
hLw(・)は色Mの明度xに対して直下の明度Lwの入出力関数
Next, the color M to be mapped is acquired (S1502), and the hue input / output function h (・) for the color M is set to h0 (・), h20 (・), h40 (・), h60 (・), h80 (・) And h100 (•) are used to calculate the hue input / output function h (•) for the color M (S1503).
h (・) = {h Lw (・) × (Up-x) + h Up (・) × (x-Lw)} / 20… (1)
Here, h Up (·) is input and output functions of the lightness Up immediately above with respect to the brightness x of the color M
h Lw (・) is the input / output function of the lightness Lw directly below the lightness x of the color M

例えば、色Mの明度x=70の場合、直下の明度Lwの入出力関数はh60(・)、直上の明度Upの入出力関数はh80(・)であるから、色相入出力関数h(・)は次のようになる。
h(・) = {h60(・)×(80 - 70) + h80(・)×(70 - 60)}/20
= {h60(・) + h80(・)}/2
For example, when the lightness x of the color M is 70, the input / output function of the lightness Lw directly below is h60 (•), and the input / output function of the lightness Up directly above is h80 (•). ) Is as follows.
h (・) = {h60 (・) × (80-70) + h80 (・) × (70-60)} / 20
= {h60 (・) + h80 (・)} / 2

次に、色相入出力関数h(・)を用いて、色Mの色相を写像する(S1504)。
HuemMapped = h(Huem) …(2)
ここで、Huemは色Mの色相
Huemmappedは写像後の色相
Next, the hue of the color M is mapped using the hue input / output function h (•) (S1504).
Hue m Mapped = h (Hue m )… (2)
Where Hue m is the hue of color M
Hue m mapped is the hue after mapping

次に、色Mの明度成分を写像する(S1505)。具体的には、明度成分の写像を、色度に依存しない入出力関数λ(Lin)を用いて算出する。この写像関数λ(・)は、全体の明度制御パラメータxに基づき、次のように計算する。
x≧50: λ(・) = {λ50(・)×(100 - x) + λ100(・)×(x - 50)}/50
x<50: λ(・) = (λ0(・)×(50 - x) + λ50(・)×x)/50 …(3)
ここで、λ0(・)、λ50(・)、λ100(・)は予め定められた関数
λ0(・)は制御値x=0のときの写像関数
λ50(・)は制御値x=50のときの写像関数
λ100(・)は制御値x=100のときの写像関数
Next, the lightness component of the color M is mapped (S1505). Specifically, the mapping of the lightness component is calculated using an input / output function λ (Lin) independent of chromaticity. The mapping function λ (·) is calculated as follows based on the overall brightness control parameter x.
x ≧ 50: λ (•) = {λ50 (•) × (100-x) + λ100 (•) × (x-50)} / 50
x <50: λ (•) = (λ0 (•) × (50-x) + λ50 (•) × x) / 50… (3)
Here, λ0 (·), λ50 (·), and λ100 (·) are predetermined functions.
λ0 (・) is the mapping function when the control value x = 0
λ50 (・) is the mapping function when control value x = 50
λ100 (・) is the mapping function when control value x = 100

図17A〜17Cは写像関数λ0(・)、λ50(・)、λ100(・)の一例を示す図である。これらの図から明らかなように、制御値x=0のときは全体的に暗く、制御値x=100のときは全体的に明るく、また、制御値x=50のときは中庸な明るさに制御される。   17A to 17C are diagrams showing examples of mapping functions λ0 (•), λ50 (•), and λ100 (•). As is clear from these figures, the control value x = 0 is generally dark, the control value x = 100 is generally bright, and the control value x = 50 is moderately bright. Be controlled.

以上の明度/色相写像を色補正LUTの全格子点に行ったか否かを判定し(S1506)、全格子点に写像処理を施すまでステップS1502〜S1506の処理を繰り返す。   It is determined whether or not the above brightness / hue mapping has been performed on all grid points of the color correction LUT (S1506), and the processing of steps S1502 to S1506 is repeated until mapping processing is performed on all grid points.

以上の処理によって、図12に示すモニタ色域1201は、第一の中間写像色域1202へ写像される。   Through the above processing, the monitor color gamut 1201 shown in FIG. 12 is mapped to the first intermediate mapping color gamut 1202.

[明度調整写像(S1104)]
図18は明度調整写像(S1104)を説明するフローチャートである。
[Brightness adjustment map (S1104)]
FIG. 18 is a flowchart for explaining the brightness adjustment map (S1104).

まず、明度/色相写像(S1103)の結果である第一の中間写像色域1202から、写像対象の色Mを取得する(S1801)。なお、色Mは、モニタ色域1201の色を表すものではない。   First, the color M to be mapped is acquired from the first intermediate mapping color gamut 1202 which is the result of the brightness / hue mapping (S1103) (S1801). Note that the color M does not represent the color of the monitor color gamut 1201.

次に、色Mと同一の色度における第一の中間写像色域1202(1301)の上部境界BUおよび下部境界BLを計算する(S1802)。そして、色Mと同一の色度における第二の中間写像色域1302の上部境界BUmappedと下部境界BLmappedを算出する(S1803)。図19は、明度調整写像における各色域と各境界の関係を示す図で、実線は第一の中間写像色域1301の境界を、一点鎖線は第二の中間写像色域1302を、点線はプリンタ色域1303を示す。 Next, calculate the upper bound B U and the lower boundary B L of the first intermediate mapping color gamut 1202 (1301) in the same chromaticity and color M (S1802). Then, the upper boundary B U mapped and the lower boundary B L mapped of the second intermediate mapping color gamut 1302 at the same chromaticity as the color M are calculated (S1803). FIG. 19 is a diagram showing the relationship between each color gamut and each boundary in the brightness adjustment map. The solid line indicates the boundary of the first intermediate mapping color gamut 1301, the alternate long and short dashed line indicates the second intermediate mapping color gamut 1302, and the dotted line indicates the printer A color gamut 1303 is shown.

次に、以上で計算した値と明度調整パラメータにより、明度調整写像用の入出力関数p(・)を導出する(S1804)。なお、入出力関数p(・)は、下記の条件を満たすC2連続な三次スプライン関数として算出する。
p(・)の台は[LBL, LBU]
p(・)は台において単調増加
p(LBL) = LBLm
p(LBU) = LBUm
p(・)は少なくともC1連続
p'(LBL) = α
p'(LBU) = β
ここで、LBLはBLの明度
LBLmはBLmappedの明度
LBUはBUの明度
LBUmはBUmappedの明度
α(>0)、β(>0)は圧縮を制御する定数
Next, an input / output function p (•) for brightness adjustment mapping is derived from the value calculated above and the brightness adjustment parameter (S1804). The input / output function p (•) is calculated as a C2 continuous cubic spline function that satisfies the following conditions.
The p (•) base is [L BL , L BU ]
p (・) monotonically increased on the platform
p (L BL ) = L BL m
p (L BU ) = L BU m
p (・) is at least C1 continuous
p '(L BL ) = α
p '(L BU ) = β
Where L BL is the brightness of B L
L BL m is the brightness of B L mapped
L BU is the brightness of B U
L BU m is the brightness of B U mapped
α (> 0), β (> 0) are constants that control compression

入出力関数p(・)は、上記条件を満たすよう算出するとともに、さらに、台の中間部において明度をできるだけ保存するよう、明度変化量ができるだけ少なくなるように算出する。   The input / output function p (•) is calculated so as to satisfy the above condition, and is further calculated so that the amount of change in brightness is as small as possible so as to preserve the brightness as much as possible in the middle part of the table.

図20Aおよび図20Bは入出力関数p(・)の一例を示す図である。図20Aにおいて、台の中間部において明度がほぼ保たれる一方、低明度付近および高明度付近では大きく圧縮される。因みに、LBL=40、LBLm=45、LBU=68、LBUm=64である。 20A and 20B are diagrams showing an example of the input / output function p (•). In FIG. 20A, the lightness is substantially maintained in the middle part of the table, while it is largely compressed near the low lightness and the high lightness. Incidentally, L BL = 40, L BL m = 45, L BU = 68, and L BU m = 64.

また、図20Bにおいては明度の変化が大きいため、台の中間部において明度を保存する機能が働いているものの完全には保存していない。低明度付近では大きく伸長され、高明度付近では大きく圧縮される。因みに、LBL=60、LBLm=46、LBU=84、LBUm=75である。 Further, in FIG. 20B, since the change in brightness is large, the function of saving the brightness works in the middle part of the table, but it is not completely saved. In the vicinity of low lightness, it is greatly expanded, and in the vicinity of high lightness, it is greatly compressed. Incidentally, L BL = 60, L BL m = 46, L BU = 84, and L BU m = 75.

次に、色Mの写像前明度Lmに対する写像後の明度Lmmappedを、入出力関数p(・)を用いてLmmapped=p(Lm)として求める(S1805)。 Next, the lightness L m mapped after mapping with respect to the lightness Lm before mapping of the color M is obtained as L m mapped = p (Lm) using the input / output function p (•) (S1805).

以上の明度調整写像を色補正LUTの全格子点に施したか否かを判定し(S1806)、全格子点の明度調整写像が終了するまでステップS1802からS1806を繰り返す。   It is determined whether or not the above brightness adjustment map has been applied to all grid points of the color correction LUT (S1806), and steps S1802 to S1806 are repeated until the brightness adjustment map of all grid points is completed.

以上の処理によって、図13に示す第一の中間写像色域1301は、第二の中間写像色域1302へ写像される。   Through the above processing, the first intermediate mapping color gamut 1301 shown in FIG. 13 is mapped to the second intermediate mapping color gamut 1302.

[彩度調整写像(S1105)]
図21は彩度調整写像(S1105)を説明するフローチャートである。
[Saturation adjustment map (S1105)]
FIG. 21 is a flowchart for explaining the saturation adjustment map (S1105).

まず、明度調整写像(S1104)の結果である第二の中間写像色域1302から、写像対象の色Mを取得する(S2101)。   First, the color M to be mapped is acquired from the second intermediate mapping color gamut 1302 that is the result of the brightness adjustment mapping (S1104) (S2101).

次に、色Mと同一の明度/同一の色相における写像色域1402の境界Biを計算し(S2102)、色Mと同一の明度/同一の色相における第二の中間写像色域1401(1302)の境界Bpを計算する(S2103)。図22は、彩度調整写像における各色域と各境界の関係を示す図で、一点鎖線は第二の中間写像色域1401、実線は写像色域1402、点線はプリンタ色域1403である。   Next, the boundary Bi of the mapped color gamut 1402 in the same brightness / same hue as the color M is calculated (S2102), and the second intermediate mapped color gamut 1401 (1302) in the same brightness / same hue as the color M is calculated. The boundary Bp is calculated (S2103). FIG. 22 is a diagram showing the relationship between each color gamut and each boundary in the saturation adjustment map. The alternate long and short dash line is the second intermediate mapping color gamut 1401, the solid line is the mapping color gamut 1402, and the dotted line is the printer color gamut 1403.

次に、以上で計算した値と彩度調整パラメータにより、彩度調整写像用の入出力関数q(・)を導出する(S2104)。なお、入出力関数q(・)は、下記の条件を満たすC2連続な三次スプライン関数として算出する。
q(・)の台は[0, ci]
q(0) = 0
q(ci) = cp
q'(0) = gLo
q'(ci) = gHi
q'(x) ≠ 0 (0 ≦ x ≦ ci)
ここで、cpは色Bpの彩度
ciは色Biの彩度
gLoは低彩度から中彩度付近の彩度の拡大/圧縮率を制御する値
gHiは最大彩度付近の彩度補正の拡大/圧縮率を制御する値
Next, the input / output function q (•) for saturation adjustment mapping is derived from the values calculated above and the saturation adjustment parameter (S2104). The input / output function q (•) is calculated as a C2 continuous cubic spline function that satisfies the following conditions.
The base of q (•) is [0, ci]
q (0) = 0
q (ci) = cp
q '(0) = g Lo
q '(ci) = g Hi
q '(x) ≠ 0 (0 ≤ x ≤ ci)
Where cp is the saturation of the color Bp
ci is the saturation of the color Bi
g Lo is a value that controls the expansion / compression ratio of saturation from low to medium saturation
g Hi is a value that controls the expansion / compression rate of saturation correction around the maximum saturation.

図23Aおよび図23Bは入出力関数q(・)の一例を示す図である。図23Aにおいては、高彩度部で伸長動作となる一方、彩度調整値gLoが0.8であるために低〜中彩度部では彩度を抑えるように動作する。また、図23Bでは、高彩度部で圧縮動作となる一方、彩度調整値gLoが1.2であるために低〜中彩度部では彩度を強調する動作になる。 FIG. 23A and FIG. 23B are diagrams showing an example of the input / output function q (•). In FIG. 23A, while the expansion operation is performed in the high saturation portion, the saturation adjustment value g Lo is 0.8, so that the low-to-medium saturation portion operates to suppress the saturation. In FIG. 23B, the compression operation is performed in the high saturation portion, while the saturation adjustment value g Lo is 1.2, so that the saturation is enhanced in the low to medium saturation portions.

次に、色Mの写像前彩度corgに対する写像後彩度cmodを、入出力関数q(・)を用いてcmod=q(corg)として計算する(S2105)。 Next, the post-mapping chroma c mod for the pre-mapping chroma c org of the color M is calculated as c mod = q (c org ) using the input / output function q (•) (S2105).

以上の彩度調整写像を色補正LUTの全格子点に施したか否かを判定し(S2106)、全格子点の彩度調整写像が終了するまでステップS2102からS2106を繰り返す。   It is determined whether or not the above saturation adjustment map has been applied to all grid points of the color correction LUT (S2106), and steps S2102 to S2106 are repeated until the saturation adjustment map of all grid points is completed.

以上の処理によって、図14に示す第二の中間写像色域1401は、写像色再現域1402へ写像される。   Through the above processing, the second intermediate mapped color gamut 1401 shown in FIG. 14 is mapped to the mapped color reproduction range 1402.

このように、写像変換の制御パラメータが変更される都度、変更履歴にノードを生成して親ノード情報、および、その時点の制御パラメータを保持する。そして、ノードを階層表示(ツリー表示)した変更履歴リストをユーザインタフェイスに表示して、ユーザから、写像変換の変換結果を再現するノードまたはノードの連続の指定を受け付ける。そして、その指示に従い写像変換の変換結果を再現する。これにより、ユーザは、好ましいガマット写像を決定するまでの設計効率を大幅に改善することができる。   Thus, each time the mapping conversion control parameter is changed, a node is generated in the change history, and the parent node information and the control parameter at that time are held. Then, a change history list in which nodes are displayed in a hierarchy (tree display) is displayed on the user interface, and a node for reproducing a conversion result of mapping conversion or a continuous specification of nodes is received from the user. Then, the conversion result of the mapping conversion is reproduced according to the instruction. Thereby, the user can greatly improve the design efficiency until a preferable gamut mapping is determined.

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

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

また、前記ソフトウェアの実行により上記機能が実現されるだけでなく、そのソフトウェアの指示により、コンピュータ上で稼働するオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、それによって上記機能が実現される場合も含む。   In addition, the above functions are not only realized by the execution of the software, but an operating system (OS) running on a computer performs part or all of the actual processing according to the instructions of the software, and thereby the above functions This includes the case where is realized.

また、前記ソフトウェアがコンピュータに接続された機能拡張カードやユニットのメモリに書き込まれ、そのソフトウェアの指示により、前記カードやユニットのCPUなどが実際の処理の一部または全部を行い、それによって上記機能が実現される場合も含む。   In addition, the software is written in a function expansion card or unit memory connected to the computer, and the CPU of the card or unit performs part or all of the actual processing according to instructions of the software, thereby This includes the case where is realized.

本発明を前記記憶媒体に適用する場合、その記憶媒体には、先に説明したフローチャートに対応するソフトウェアが格納される。   When the present invention is applied to the storage medium, the storage medium stores software corresponding to the flowchart described above.

色信号変換装置の構成例を示すブロック図、Block diagram showing a configuration example of a color signal converter, プリンタドライバの動作を説明するフローチャート、A flowchart for explaining the operation of the printer driver; 色補正LUTのデータ構造を模式的に表す図、A diagram schematically showing the data structure of a color correction LUT, 色補正LUTのデータ構造を説明する図、The figure explaining the data structure of a color correction LUT, 色補正LUTに記述された各格子点のLab値を色分布情報としてLab色空間上に表示する擬似三次元表示例を示す図、The figure which shows the pseudo | simulation three-dimensional display example which displays on the Lab color space the Lab value of each lattice point described in the color correction LUT as color distribution information. 色補正LUTを調整するためのメニューウィンドウを示す図、Figure showing a menu window for adjusting the color correction LUT, 色補正LUT作成アプリケーションの動作を説明する状態遷移図、State transition diagram explaining the operation of the color correction LUT creation application, 三次元物体データ生成用の三角形の生成を模式的に示す図、A diagram schematically showing generation of a triangle for generating three-dimensional object data, メッセージマップを示す図、Figure showing a message map, 明るさ調整用のダイアログの表示例を示す図、The figure which shows the example of the display of the dialog for brightness adjustment, 色相調整用のダイアログの表示例を示す図、The figure which shows the example of a display of the dialog for hue adjustment, 彩度調整用のダイアログの表示例を示す図、The figure which shows the example of the display of the dialog for saturation adjustment, 履歴管理用のダイアログの表示例を示す図、The figure which shows the example of the display of the dialog for history management, 再生処理を説明するフローチャート、A flowchart for explaining reproduction processing; 比較再生処理を説明するフローチャート、A flowchart for explaining the comparison reproduction process; 色域写像処理を説明するフローチャート、A flowchart for explaining color gamut mapping processing; モニタ色域、第一の中間写像色域およびプリンタ色域を説明する図、A diagram for explaining a monitor color gamut, a first intermediate mapping color gamut, and a printer color gamut, 第一の中間写像色域、第二の中間写像色域およびプリンタ色域を説明する図、The figure explaining the 1st intermediate mapping color gamut, the 2nd intermediate mapping color gamut, and the printer color gamut, 第二の中間写像色域、写像色域およびプリンタ色域を説明する図、The figure explaining the 2nd intermediate mapping color gamut, mapping color gamut, and printer color gamut, 明度/色相写像を説明するフローチャート、Flow chart explaining brightness / hue mapping, 色相入出力関数の一例を示す図、Figure showing an example of hue input / output function 明度成分の非線型写像特性を示す図、The figure which shows the nonlinear mapping characteristic of the brightness component, 明度成分の非線型写像特性を示す図、The figure which shows the nonlinear mapping characteristic of the brightness component, 明度成分の非線型写像特性を示す図、The figure which shows the nonlinear mapping characteristic of the brightness component, 明度調整写像を説明するフローチャート、A flowchart for explaining the brightness adjustment map; 明度調整写像における各色域と各境界の関係を示す図、A diagram showing the relationship between each color gamut and each boundary in the brightness adjustment map, 入出力関数p(・)の一例を示す図、Figure showing an example of the input / output function p ( 入出力関数p(・)の一例を示す図、Figure showing an example of the input / output function p ( 彩度調整写像を説明するフローチャート、A flowchart for explaining the saturation adjustment map; 彩度調整写像における各色域と各境界の関係を示す図、A diagram showing the relationship between each color gamut and each boundary in the saturation adjustment map, 入出力関数q(・)の一例を示す図、A diagram showing an example of the input / output function q ( 入出力関数q(・)の一例を示す図である。It is a figure which shows an example of the input-output function q (*).

Claims (11)

画像の色再現を調整する色処理方法であって、
入力色域を出力色域に写像変換する変換ステップと、
前記写像変換の制御パラメータを変更する変更ステップと、
前記制御パラメータの変更履歴を管理する管理ステップと、
前記変更履歴に基づき、任意の時点または期間の前記写像変換の結果を再現する再現ステップとを有することを特徴とする色処理方法。
A color processing method for adjusting the color reproduction of an image,
A conversion step for mapping the input color gamut to the output color gamut;
A change step for changing the control parameter of the mapping transformation;
A management step for managing a change history of the control parameter;
And a reproduction step of reproducing the result of the mapping conversion at an arbitrary time or period based on the change history.
前記管理ステップは、前記制御パラメータが変更される度に前記変更履歴のノードを生成し、前記生成したノードの親ノード情報、および、前記ノード生成時の制御パラメータを当該ノードに保持することを特徴とする請求項1に記載された色処理方法。   The management step generates a node of the change history every time the control parameter is changed, and holds the parent node information of the generated node and the control parameter at the time of the node generation in the node. The color processing method according to claim 1. さらに、前記ノードの階層表示により、前記変更履歴をモニタに表示する表示ステップと、
前記階層表示に基づく前記期間の開始および終了ノードの指示を入力する入力ステップとを有することを特徴とする請求項2に記載された色処理方法。
Further, a display step of displaying the change history on a monitor by hierarchical display of the nodes;
3. The color processing method according to claim 2, further comprising an input step of inputting instructions of start and end nodes of the period based on the hierarchy display.
前記再現ステップは、前記開始ノードから終了ノードに至るノード順に、前記制御パラメータを取得し、当該制御パラメータを前記変換ステップに供給し、前記開始ノードから終了ノードに至る一連の変更による前記写像変換の結果を連続して再現することを特徴とする請求項3に記載された色処理方法。   The reproduction step acquires the control parameters in the order of nodes from the start node to the end node, supplies the control parameters to the conversion step, and performs the mapping conversion by a series of changes from the start node to the end node. 4. The color processing method according to claim 3, wherein the result is continuously reproduced. 前記入力ステップは前記開始および終了ノードの組を複数入力し、前記再現ステップは、前記組ごとに、前記開始ノードから前記終了ノードに至るノード順に、前記制御パラメータを取得し、当該制御パラメータを前記変換ステップに供給して、前記再現を並行に行うことを特徴とする請求項3に記載された色処理方法。   The input step inputs a plurality of sets of the start and end nodes, and the reproduction step acquires the control parameters in order of nodes from the start node to the end node for each set, 4. The color processing method according to claim 3, wherein the reproduction is performed in parallel by supplying to the conversion step. 前記制御パラメータは、明度、彩度、色相のうち少なくとも一つの要素の前記写像変換を制御する値であることを特徴とする請求項1から請求項5の何れかに記載された色処理方法。   6. The color processing method according to claim 1, wherein the control parameter is a value for controlling the mapping conversion of at least one element among brightness, saturation, and hue. 前記写像変換は、前記入力色域の明度、色相成分を変換して第一の色域へ写像し、前記第一の色域の明度成分を変換して第二の色域へ写像し、前記第二の色域の彩度成分を変換して前記出力色域へ写像することを特徴とする請求項1から請求項6の何れかに記載された色処理方法。   The mapping conversion converts the lightness and hue component of the input color gamut to the first color gamut, converts the lightness component of the first color gamut and maps to the second color gamut, 7. The color processing method according to claim 1, wherein a saturation component of a second color gamut is converted and mapped to the output color gamut. さらに、前記写像変換によって得た前記出力色域を擬似三次元表示する色域表示ステップを有することを特徴とする請求項1から請求項7の何れかに記載された色処理方法。   8. The color processing method according to claim 1, further comprising a color gamut display step of displaying the output color gamut obtained by the mapping conversion in a pseudo three-dimensional manner. 画像の色再現を調整する色処理装置であって、
入力色域を出力色域に写像変換する変換手段と、
前記写像変換の制御パラメータを変更する変更手段と、
前記制御パラメータの変更履歴を管理する管理手段と、
前記変更履歴に基づき、任意の時点または期間の前記写像変換の結果を再現する再現手段とを有することを特徴とする色処理装置。
A color processing device for adjusting the color reproduction of an image,
Conversion means for mapping the input color gamut to the output color gamut;
Changing means for changing the control parameter of the mapping transformation;
Management means for managing the change history of the control parameters;
A color processing apparatus comprising: reproduction means for reproducing the result of the mapping conversion at an arbitrary time or period based on the change history.
画像処理装置を制御して、請求項1から請求項8の何れかに記載された色処理を実現することを特徴とするプログラム。   9. A program that controls an image processing device to realize the color processing according to claim 1. 請求項10に記載されたプログラムが記録されたことを特徴とする記録媒体。   11. A recording medium on which the program according to claim 10 is recorded.
JP2005219439A 2005-07-28 2005-07-28 Color processing method and device Withdrawn JP2007036881A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005219439A JP2007036881A (en) 2005-07-28 2005-07-28 Color processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005219439A JP2007036881A (en) 2005-07-28 2005-07-28 Color processing method and device

Publications (1)

Publication Number Publication Date
JP2007036881A true JP2007036881A (en) 2007-02-08

Family

ID=37795550

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005219439A Withdrawn JP2007036881A (en) 2005-07-28 2005-07-28 Color processing method and device

Country Status (1)

Country Link
JP (1) JP2007036881A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021503679A (en) * 2016-11-17 2021-02-12 シムプレックス Systems and methods for creating and managing interactive application networks

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021503679A (en) * 2016-11-17 2021-02-12 シムプレックス Systems and methods for creating and managing interactive application networks
JP7004890B2 (en) 2016-11-17 2022-01-21 シンプレックス カンパニー リミテッド A system for creating and managing interactive application networks and how
US11531574B2 (en) 2016-11-17 2022-12-20 Cimplrx Co., Ltd. System and method for creating and managing an interactive network of applications

Similar Documents

Publication Publication Date Title
JP3852657B2 (en) Color management system, color management method, recording medium, and profile creation method
JP2008199634A (en) Color conversion device, color conversion method, color change program and recording medium
JP2010114839A (en) Image processing device and image processing method
JP4250493B2 (en) Color conversion matrix generation method, color conversion table creation method and program
JP2007036881A (en) Color processing method and device
JP2011109485A (en) Color conversion table creating program, color conversion table creating device, and color conversion table creating method
JP3705316B2 (en) Printing control apparatus, printing control method, and recording medium
JP2007036880A (en) Color processing method and device
JP2012109884A (en) Color conversion table management method, color conversion table management device and program
JP3962930B2 (en) Printing control apparatus, printing control method, and computer-readable recording medium recording printing control program
JP5159565B2 (en) Color processing apparatus and method
JP6761454B2 (en) Color correction / correction method and color correction / correction device using this
JP2006303785A (en) Image processing apparatus and method
JP2017216635A (en) Reproduction color profile correction system, reproduction color profile correction method, and program
JP5074659B2 (en) Color conversion definition creation method, color conversion definition creation device, and color conversion definition creation program
JP2004266590A (en) Color conversion relation deriving method, color conversion relation deriving apparatus, and color conversion relation deriving program
JP2005176200A (en) Color signal converting apparatus and method thereof
JP2007166309A (en) Color signal converting device
JP2005210740A (en) Manufacturing apparatus and manufacturing method and recording medium of color conversion table
JP2001043344A (en) Picture processor and picture processing method
JP5966661B2 (en) Black definition file generation device, device link profile generation device, black definition file generation method, black definition file generation program
JP4262212B2 (en) Color processing method and apparatus
JP2007081733A (en) Image processign method and image processor
JP2009071715A (en) Color gamut generating method, color gamut generating device, program, and storage medium
JP2874660B2 (en) Color printer

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20081007