JP2005176202A - Color reproduction editing apparatus and method thereof - Google Patents

Color reproduction editing apparatus and method thereof Download PDF

Info

Publication number
JP2005176202A
JP2005176202A JP2003416613A JP2003416613A JP2005176202A JP 2005176202 A JP2005176202 A JP 2005176202A JP 2003416613 A JP2003416613 A JP 2003416613A JP 2003416613 A JP2003416613 A JP 2003416613A JP 2005176202 A JP2005176202 A JP 2005176202A
Authority
JP
Japan
Prior art keywords
color
display
mapping
color reproduction
object information
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
JP2003416613A
Other languages
Japanese (ja)
Inventor
Suzuko Fukao
珠州子 深尾
Hirochika Matsuoka
寛親 松岡
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 JP2003416613A priority Critical patent/JP2005176202A/en
Publication of JP2005176202A publication Critical patent/JP2005176202A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To perform display and mapping not only the whole color reproduction gamut but also a target portion of adjustment and interest by omitting excessive information and selecting the target portion of adjustment and interest, because another gamut is overlapped and three-dimensionally displayed depending on a observing direction and a desired gamut cannot be observed in some cases when observing a three-dimensional change of some gamut, while the gamut must be observed from various directions to grasp changes in brightness, saturation and hue in determining the influence of color adjustment. <P>SOLUTION: In color reproduction editing for adjusting color reproduction on the basis of pseudo three-dimensional display; the display mode of the pseudo three-dimensional display is selected (S508), an adjustment quantity of color reproduction is set (S510, S511), the display portion of an object information consisting of solids, fields and lines is selected (S506, S507), mapping required for generating the object information of the selected display unit is performed (S502), and data for performing pseudo three-dimensional display is generated from the mapping result of the object information, according to he selected display monde, set adjustment quantity and selected display unit (S503). <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は色再現編集装置およびその方法に関し、例えば、擬似三次元表示に基づき色再現を調整する色再現編集に関する。   The present invention relates to a color reproduction editing apparatus and method, for example, color reproduction editing for adjusting color reproduction based on pseudo three-dimensional display.

近年のパーソナルコンピュータおよびカラープリンタの普及に加え、昨今ではディジタルスチルカメラ(DSC)、ディジタルビデオ(DV)、スキャナなどの画像入出力機器の普及が著しい。このような中で、パーソナルコンピュータを利用したデスクトップパブリッシング(DTP)やコンピュータエイデッドデザイン(CAD)において、ディジタル画像の管理が広く一般に行われている。例えば原稿をカラープリンタあるいはオフセット印刷機によって出力する際、編集者が意図する色再現で原稿出力が得られるように、画像の色が修正されなければならない。そのため、カラープリンタやモニタなどを用いて、意図する色で画像が再現されるように、ユーザが色再現を自由に調整・編集できる技術が求められている。   In recent years, in addition to the popularization of personal computers and color printers, image input / output devices such as digital still cameras (DSCs), digital video (DVs), and scanners have become very popular. Under such circumstances, digital image management is widely performed in desktop publishing (DTP) and computer aided design (CAD) using a personal computer. For example, when a document is output by a color printer or an offset printer, the color of the image must be corrected so that the document output can be obtained with the color reproduction intended by the editor. Therefore, there is a need for a technique that allows a user to freely adjust and edit color reproduction so that an image can be reproduced with an intended color using a color printer or a monitor.

色再現を調整あるいは編集する技術の一例に、色を図示して編集を行う特許第3219511号に開示された技術がある。この技術は、a*b*平面上にガマット境界と調整対象である特定色を二次元的に図示し、ユーザが図を参照しながら特定色を編集できるようにしたもので、特定色に対する調整手段としては分かり易い編集手段を提供する。しかし、ディジタル画像全般に対する調整技術としては次の二つの問題が残る。   As an example of a technique for adjusting or editing color reproduction, there is a technique disclosed in Japanese Patent No. 3219511 that performs editing by illustrating colors. This technology two-dimensionally displays the gamut boundary and the specific color to be adjusted on the a * b * plane so that the user can edit the specific color while referring to the figure. As means, an easy-to-understand editing means is provided. However, the following two problems remain as adjustment techniques for digital images in general.

一つは、階調性の劣化あるいは特定色以外の色再現の劣化といった画像障害が発生する可能性である。複数の特定色の色再現を調整する場合、調整内容によっては、複数色間において色差が極端に大きくなる、あるいは、階調が失われるといった問題が発生する。これは、上記の技術が色の階調を考慮せずに単一色単位で色の調整するためである。上記の技術でこの問題に対処するには、階調性が破綻するかどうかを判断し、破綻する場合には特定色の編集そのものを無効としなければならないが、このような判断は煩雑であり、また色調整の自由度を狭めかねない。   One is the possibility of image failure such as deterioration of gradation or deterioration of color reproduction other than a specific color. When adjusting the color reproduction of a plurality of specific colors, depending on the adjustment contents, there arises a problem that the color difference between the plurality of colors becomes extremely large or the gradation is lost. This is because the above technique adjusts the color in units of a single color without considering the color gradation. In order to deal with this problem with the above technology, it is necessary to judge whether the gradation is broken, and if it is broken, the editing of the specific color itself must be invalidated, but such a decision is complicated. In addition, the degree of freedom in color adjustment may be narrowed.

もう一つの問題は、特定色を調整・編集したことによって他の色あるいは階調がどのように変化するかが判断できない、という問題である。一般に、特定色を調整・編集した際は階調反転が発生しないよう、その周辺の色に対しても自動的に変更を施す。しかし、上記の技術によれば、編集対象である特定色のみの表示を行うため、色再現が全体的あるいは局所的にどのように変化するかの判断が困難である。このため、色再現の全体の変化を的確に把握できず、結果として、階調性の劣化や意図しない色再現といった障害が発生することがある。   Another problem is that it is impossible to determine how other colors or gradations are changed by adjusting / editing a specific color. In general, when a specific color is adjusted / edited, the surrounding colors are automatically changed so that gradation inversion does not occur. However, according to the above technique, only the specific color to be edited is displayed, so it is difficult to determine how the color reproduction changes globally or locally. For this reason, it is impossible to accurately grasp the entire change in color reproduction, and as a result, a failure such as deterioration in gradation and unintended color reproduction may occur.

また、他の例としては、ワイヤフレーム表示を用いてある領域の三次元的な変化を観察する際、立体表示では情報であるワイヤフレームが多過ぎ、所望とする領域の変化を視覚的に捕らえることが困難になる場合がある。さらに例を挙げると、一つの色相における最外郭のラインのみの写像結果を確認したい場合も、近傍領域全体を表示しなければならないという問題も発生し得る。   As another example, when observing a three-dimensional change in a certain area using wire frame display, there are too many wire frames as information in the three-dimensional display, and the change in the desired area is captured visually. Can be difficult. For example, when it is desired to confirm the mapping result of only the outermost line in one hue, there may be a problem that the entire neighboring area must be displayed.

特許第3219511号公報Japanese Patent No. 3219511

本発明は、上述の問題を個々にまたはまとめて解決するもので、擬似三次元表示の色再現を参照しながら写像制御を行う際に、色再現範囲全体だけではなく、余分な情報を省略し調整・興味の対象部分のみを選択して表示および写像を行うことを目的とする。   The present invention solves the above-mentioned problems individually or collectively, and omits not only the entire color reproduction range but also extra information when performing mapping control with reference to color reproduction of pseudo three-dimensional display. The purpose is to select and display only the target part of adjustment / interest.

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

本発明は、擬似三次元表示に基づき色再現を調整するための色再現編集に関し、前記擬似三次元表示の表示形態を選択させ、前記色再現の調整量を設定させ、立体、面および線の組み合わせからなる物体情報の表示部分を選択させ、選択された表示部分の物体情報の生成に必要な写像を行い、選択された表示形態、設定された調整量、および、前記選択された表示部分に従い、前記物体情報の写像結果から前記擬似三次元表示するためのデータを生成することを特徴とする。   The present invention relates to color reproduction editing for adjusting color reproduction based on pseudo three-dimensional display, allows the display form of the pseudo three-dimensional display to be selected, allows the adjustment amount of the color reproduction to be set, and allows solids, planes, and lines to be displayed. Select the display part of the object information consisting of the combination, perform mapping necessary for generating the object information of the selected display part, and according to the selected display form, the set adjustment amount, and the selected display part The data for the pseudo three-dimensional display is generated from the mapping result of the object information.

本発明によれば、擬似三次元表示の色再現を参照しながら写像制御を行う際に、色再現範囲全体だけではなく、余分な情報を省略し調整・興味の対象部分のみを選択して表示および写像を行うことができる。従って、色再現制御が容易になる上、写像制御に対する色再現の変化をより詳細に把握・確認することができ、意図する色再現を非常に微細に追求することができる。勿論、常にガマット全体の写像・表示を更新する必要がないから、演算・描画にかかるコストを抑えることができる。   According to the present invention, when mapping control is performed with reference to color reproduction of a pseudo three-dimensional display, not only the entire color reproduction range but also extra information is omitted and only the target portion of adjustment / interest is selected and displayed. And mapping can be performed. Therefore, color reproduction control is facilitated, changes in color reproduction with respect to mapping control can be grasped and confirmed in more detail, and intended color reproduction can be pursued very finely. Of course, since it is not always necessary to update the mapping / display of the entire gamut, the cost for calculation / drawing can be reduced.

以下、本発明にかかる一実施形態の画像処理装置を図面を参照して詳細に説明する。   Hereinafter, an image processing apparatus according to an embodiment of the present invention will be described in detail with reference to the drawings.

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

図1において、CPU 101は、ROMやRAMからなるメインメモリ102やハードディスクドライブ(HDD) 105に格納されたプログラムに従い、メインメモリ102をワークメモリとして、システムバス(およびPCIバス)114を介して後述する構成を制御して、後述する各種処理および制御を実行する。   In FIG. 1, a CPU 101 is described later via a system bus (and PCI bus) 114 using the main memory 102 as a work memory according to a program stored in a main memory 102 or a hard disk drive (HDD) 105 including ROM and RAM. Various processes and controls to be described later are executed by controlling the configuration to be performed.

SCSIなどの汎用パラレルインタフェイス(I/F) 103は、HDD 105とシステムバス114をインタフェイスする。グラフィックアクセラレータ106は、カラーモニタ107とシステムバス114をインタフェイスする。USBコントローラ108は、カラープリンタ115およびスキャナ109とシステムバス114をインタフェイスする。キーボード/マウスコントローラ110は、キーボード111やマウス112などの入力デバイスとシステムバス114をインタフェイスする。なお、SCSI I/F 103、キーボード/マウスコントローラ110などに代わりUSBコントローラ108やIEEE 1394などのシリアルバスインタフェイスによって、HDD 105、キーボード111およびマウス112とシステムバス114をインタフェイスしてもよい。ネットワークインタフェイス(I/F) 104は、ローカルエリアネットワーク(LAN) 113とシステムバスをインタフェイスする。   A general-purpose parallel interface (I / F) 103 such as SCSI interfaces the HDD 105 with the system bus 114. The graphic accelerator 106 interfaces the color monitor 107 and the system bus 114. The USB controller 108 interfaces the color printer 115 and scanner 109 with the system bus 114. The keyboard / mouse controller 110 interfaces the input device such as the keyboard 111 and the mouse 112 with the system bus 114. Note that the HDD 105, the keyboard 111, and the mouse 112 may be interfaced with the system bus 114 by a serial bus interface such as the USB controller 108 or IEEE 1394 instead of the SCSI I / F 103 and the keyboard / mouse controller 110. A network interface (I / F) 104 interfaces a local area network (LAN) 113 with a system bus.

[動作]
上記の構成における、ディジタル画像のプリンタ出力動作を説明する。
[Operation]
A digital image printer output operation in the above configuration will be described.

まず、CPU 101の指令により、HDD 105に格納された画像処理アプリケーションが起動される。続いて、画像処理アプリケーションの処理に従い、HDD 105に格納されたディジタル画像データが、CPU 101の指令に基づきSCSI I/F 103、システムバス114を経由して、メインメモリ102に転送される。あるいは、LAN 113に接続されたサーバに格納された画像データまたはインターネット上のディジタル画像データが、CPU 101の指令により、ネットワークI/F 104、システムバス114を経由してメインメモリ102に転送される。   First, an image processing application stored in the HDD 105 is activated by a command from the CPU 101. Subsequently, according to the processing of the image processing application, the digital image data stored in the HDD 105 is transferred to the main memory 102 via the SCSI I / F 103 and the system bus 114 based on a command from the CPU 101. Alternatively, image data stored in a server connected to the LAN 113 or digital image data on the Internet is transferred to the main memory 102 via the network I / F 104 and the system bus 114 according to a command from the CPU 101. .

以下では、メインメモリ102に保持されたディジタル画像データが、RGB符号無し8ビット画像データであるとして説明する。   In the following description, it is assumed that the digital image data stored in the main memory 102 is 8-bit image data without RGB code.

メインメモリ102に保持されたディジタル画像データは、CPU 101の指令により、システムバス114を経由してグラフィックアクセラレータ106に転送される。グラフィックアクセラレータ106は、ディジタル画像データをD/A変換した後、ディスプレイケーブルを通じてカラーモニタ107に送信する。これにより、カラーモニタ107上に画像が表示される。   The digital image data held in the main memory 102 is transferred to the graphic accelerator 106 via the system bus 114 according to a command from the CPU 101. The graphic accelerator 106 D / A converts the digital image data and then transmits the digital image data to the color monitor 107 through the display cable. As a result, an image is displayed on the color monitor 107.

ここで、ユーザが画像アプリケーションに対してメインメモリ102に保持されたディジタル画像をプリンタ109によって出力するように指令すると、画像アプリケーションは次の画像情報変換処理を行う。つまり、後述する色再現域写像アルゴリズムに基づき、然るべきカラーモニタの色再現域情報と、然るべきプリンタの色再現域情報を基準にして、ディジタル画像の色情報を変換する。その後、画像処理アプリケーションは、変換したディジタル画像データをプリンタドライバに転送する。CPU 101は、プリンタドライバのプログラムに基づき所期の色補正によりディジタル画像データをCMYKディジタル画像データに変換し、USBコントローラ108を介して、CMYK画像データをプリンタ115へ送信する。以上の一連の動作の結果として、プリンタ115はカラー画像を印刷出力する。   Here, when the user instructs the image application to output the digital image held in the main memory 102 by the printer 109, the image application performs the following image information conversion processing. That is, based on the color gamut mapping algorithm described later, the color information of the digital image is converted based on the appropriate color monitor gamut information and the appropriate printer gamut information. Thereafter, the image processing application transfers the converted digital image data to the printer driver. The CPU 101 converts the digital image data into CMYK digital image data by predetermined color correction based on the printer driver program, and transmits the CMYK image data to the printer 115 via the USB controller 108. As a result of the above series of operations, the printer 115 prints out a color image.

図2はプリンタドライバ動作を説明するフローチャートである。   FIG. 2 is a flowchart for explaining the printer driver operation.

まず、画像アプリケーションによって転送されるRGB24ビットの画像データをメインメモリ102に格納し(S201)、後述する色補正ルックアップテーブル(LUT)作成アプリケーションによって作成される色補正LUTをHDD 105より読み込む(S202)。色補正LUTは、RGB色空間の格子点の色座標データと、その格子点が再現するL*a*b*色空間の座標値の対応を記した、図3Bに示すようなデータ構造を有する。色補正LUTの先頭には、R, G, B値のステップが記述され、その後に、各格子点に対応する色座標がL*値、a*値、b*値、そしてR値、G値、B値の順に記述されている。このデータ構造をRGB色空間で模式的に表すと、図3Aに示すように表される。なお、上記のデータ構造が色の分布を示すことから、以下では、色補正LUTを色分布データとも呼ぶ。   First, RGB 24-bit image data transferred by the image application is stored in the main memory 102 (S201), and a color correction LUT created by a color correction lookup table (LUT) creation application described later is read from the HDD 105 (S202). ). The color correction LUT has a data structure as shown in FIG. 3B that describes the correspondence between the color coordinate data of the grid points in the RGB color space and the coordinate values of the L * a * b * color space reproduced by the grid points. . At the beginning of the color correction LUT, steps of R, G, B values are described, and then the color coordinates corresponding to each grid point are L * values, a * values, b * values, and R values, G values. Are described in the order of B values. When this data structure is schematically represented in the RGB color space, it is represented as shown in FIG. 3A. Note that, since the above data structure indicates the color distribution, the color correction LUT is also referred to as color distribution data below.

次に、色補正LUTに基づき、RGB24ビット画像データをL*a*b*固定小数点データに変換し、再びメインメモリ102に格納し(S203)、予め定められた色変換LUTに従って、先のL*a*b*固定小数点データをCMYK32ビット画像データ(CMYKの各色信号が符号無し8ビットの画像データ)に変換し、再びメインメモリ102に格納し(S204)、メインメモリ102に格納されたCMYK32ビット画像データをUSBコントローラ108を介してプリンタ115へ送信する。   Next, based on the color correction LUT, RGB 24-bit image data is converted into L * a * b * fixed-point data, stored again in the main memory 102 (S203), and the previous L conversion is performed in accordance with a predetermined color conversion LUT. * a * b * Converts fixed-point data to CMYK32-bit image data (CMYK color signals are unsigned 8-bit image data), stores it again in the main memory 102 (S204), and stores the CMYK32 stored in the main memory 102. Bit image data is transmitted to the printer 115 via the USB controller 108.

[色補正LUTの作成]
次に、色補正LUTの作成について説明するが、まず、図1の構成における色補正LUTの作成動作を説明する。
[Create color correction LUT]
Next, the creation of the color correction LUT will be described. First, the creation operation of the color correction LUT in the configuration of FIG. 1 will be explained.

まず、CPU 101の指令により、HDD 105に格納された色補正LUT作成アプリケーションが起動される。続いて、色補正LUT作成アプリケーションの処理に従い、図4Aおよび図4Bに示すウィンドウ表示がカラーモニタ107上に表示される。   First, a color correction LUT creation application stored in the HDD 105 is activated by a command from the CPU 101. Subsequently, the window displays shown in FIGS. 4A and 4B are displayed on the color monitor 107 in accordance with the processing of the color correction LUT creation application.

図4Aのウィンドウ表示は、色補正LUTに記述された各格子点の変換後のL*a*b*情報を色分布情報として、L*a*b*色空間上に擬似三次元表示したものである。また、図4Bのウィンドウ表示は、擬似三次元表示を制御するとともに色補正LUTを調整するための表示である。これらの詳細は後述する。   The window display in Fig. 4A is a pseudo three-dimensional display in the L * a * b * color space using the L * a * b * information after conversion of each grid point described in the color correction LUT as color distribution information. It is. The window display in FIG. 4B is a display for controlling the pseudo three-dimensional display and adjusting the color correction LUT. Details of these will be described later.

ユーザは、図4Aと図4Bに示すウィンドウ表示をインタフェイスとして、マウスを用いて、色補正LUT作成アプリケーションに指示を与え、色補正LUTを作成する。作成された色補正LUTは、ユーザの指示により、HDD 105に保存される。   The user uses the mouse to display the window display shown in FIGS. 4A and 4B as an interface, and instructs the color correction LUT creation application to create a color correction LUT. The created color correction LUT is stored in the HDD 105 in accordance with a user instruction.

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

まず、作業用のヒープメモリの確保、写像制御パラメータの初期化などの初期化動作を行い、3D/線/面オブジェクトデータを擬似三次元表示する際のジオメトリ情報および表示形態情報を初期化する(S501)。   First, initializing operations such as securing work heap memory and initializing mapping control parameters, and initializing geometry information and display form information when displaying 3D / line / plane object data in pseudo three-dimensional ( S501).

続いて、写像制御パラメータを基に、後述するアルゴリズムに基づく写像動作による色補正LUTを生成するか、または、ユーザが指示した表示対象データに基づき、写像動作の途中の線/面表示に必要なデータ(以後「線/面データ」と呼ぶ)を生成する(S502)。   Subsequently, based on the mapping control parameters, a color correction LUT is generated by a mapping operation based on an algorithm described later, or necessary for line / surface display during the mapping operation based on display target data designated by the user. Data (hereinafter referred to as “line / plane data”) is generated (S502).

次に、生成された線/面データまたは色補正LUT、並びに、表示形態情報に基づいて3Dオブジェクトデータ、線オブジェクトデータ、面オブジェクトデータを生成する(S503)。3Dオブジェクトデータおよび線/面オブジェクトデータの生成動作は、モニタ表示動作と併せて後述する。   Next, 3D object data, line object data, and surface object data are generated based on the generated line / surface data or color correction LUT and display form information (S503). The generation operation of 3D object data and line / plane object data will be described later together with the monitor display operation.

次に、ジオメトリ情報に基づいて各オブジェクトデータをモニタへ表示し(S504)、その後、メッセージ待ち状態になる(S505)。メッセージ待ち状態で各種メッセージ受信すると、メッセージを判断した後、然るべき状態へ遷移する。   Next, each object data is displayed on the monitor based on the geometry information (S504), and then a message waiting state is entered (S505). When various messages are received while waiting for a message, the message is judged and then a transition is made to an appropriate state.

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

●メッセージDISP_MAPDISP_OBJCTRL
メッセージDISP_MAPDISP_OBJCTRLを検知すると、表示・写像対象選択用のモードレスダイアログを表示し(S506)、その後、メッセージ待ち状態(S505)に戻る。
● Message DISP_MAPDISP_OBJCTRL
When the message DISP_MAPDISP_OBJCTRL is detected, a modeless dialog for selecting a display / mapping target is displayed (S506), and then the process returns to the message waiting state (S505).

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

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

●メッセージCHANGE_MAPDISP_OBJ
メッセージCHANGE_MAPDISP_OBJを検知すると、メッセージに付加された表示・写像対象情報を抽出し、抽出した表示・写像対象情報を参照しながら、後述する方法による色域写像処理が必要か否かを判断し(S507)、その判断に応じてステートS502またはS503に遷移する。色域写像が必要と判断した場合は、表示するオブジェクトデータの種類に応じて必要なステップまでの色域写像処理を後述する方法により行う(S502)。そして、ユーザに指定された表示オブジェクトデータに応じて3Dオブジェクトデータ/線オブジェクトデータ/面オブジェクトデータを更新し(S503)、更新された3D/線/面オブジェクトデータを更新表示し(S504)、メッセージ待ち状態(S505)に戻る。
● Message CHANGE_MAPDISP_OBJ
When the message CHANGE_MAPDISP_OBJ is detected, the display / mapping target information added to the message is extracted, and it is determined whether or not the color gamut mapping process by the method described later is necessary while referring to the extracted display / mapping target information (S507). ), And transitions to state S502 or S503 depending on the determination. If it is determined that the color gamut mapping is necessary, the color gamut mapping processing up to the necessary steps is performed according to the method described later according to the type of object data to be displayed (S502). Then, the 3D object data / line object data / surface object data is updated according to the display object data designated by the user (S503), the updated 3D / line / surface object data is updated and displayed (S504), and a message is displayed. Return to the waiting state (S505).

●メッセージCTRL_MAP
メッセージCTRL_MAPを検知すると、付随する写像制御サブメッセージおよび付加メッセージを抽出し、抽出した写像制御サブメッセージに基づいて写像制御パラメータの調整を行い(S511)、調整した写像制御パラメータを参照しながら、表示するオブジェクトデータの種類に応じて必要なステップまでの色域写像処理を後述する方法により行う(S502)。そして、3Dオブジェクトデータ/線オブジェクトデータ/面オブジェクトデータを更新し(S503)、更新された3D/線/面オブジェクトデータを更新表示し(S504)、メッセージ待ち状態(S505)に戻る。
● Message CTRL_MAP
When the message CTRL_MAP is detected, the accompanying mapping control submessage and additional message are extracted, the mapping control parameter is adjusted based on the extracted mapping control submessage (S511), and the display is performed while referring to the adjusted mapping control parameter. The color gamut mapping process up to the necessary steps is performed according to the method described later (S502). Then, the 3D object data / line object data / surface object data is updated (S503), the updated 3D / line / surface object data is updated and displayed (S504), and the process returns to the message waiting state (S505).

●メッセージCTRL_DISP
メッセージCTRL_DISPを検知すると、付随する表示制御サブメッセージおよび付加メッセージを抽出し、抽出した表示制御サブメッセージおよび付加メッセージに基づいて3D/線/面オブジェクトデータを更新し(S509)、更新された3D/線/面オブジェクトデータを更新表示し(S504)、メッセージ待ち状態(S505)に戻る。
● Message CTRL_DISP
When the message CTRL_DISP is detected, the accompanying display control submessage and additional message are extracted, 3D / line / plane object data is updated based on the extracted display control submessage and additional message (S509), and the updated 3D / The line / plane object data is updated and displayed (S504), and the process returns to the message waiting state (S505).

●メッセージGEN_LUT
メッセージGEN_LUTを検知すると、後述する方法により生成された写像色再現域を参照してRGBデータからCMYKデータへの変換用LUTを作成してHDD 105へ保存し(S512)、メッセージ待ち状態(S505)に戻る。
● Message GEN_LUT
When the message GEN_LUT is detected, an LUT for conversion from RGB data to CMYK data is created by referring to the mapping color reproduction range generated by the method described later, and stored in the HDD 105 (S512), waiting for a message (S505) Return to.

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

ここで、図4Bに示すユーザインタフェイスに配置されたボタンをユーザがクリック(または押した)場合に生成されるメッセージを説明する。   Here, a message generated when the user clicks (or presses) a button arranged on the user interface shown in FIG. 4B will be described.

ボタン401が押されると、メインメッセージDISP_MAPDISP_OBJCTRLが生成される。   When the button 401 is pressed, the main message DISP_MAPDISP_OBJCTRL is generated.

ボタン402-404が押されると、メインメッセージDISP_DISPCTRLが生成され、サブメッセージとして、ボタン402の場合はDISP_RASTERIZE_MODE、ボタン403の場合はDISP_CHANGE_GRIDAREA、ボタン404の場合はDISP_CHANGE_HUEAREAがそれぞれ生成される。   When the button 402-404 is pressed, a main message DISP_DISPCTRL is generated, and as a sub message, DISP_RASTERIZE_MODE for the button 402, DISP_CHANGE_GRIDAREA for the button 403, and DISP_CHANGE_HUEAREA for the button 404 are generated.

ボタン405-407が押されると、メインメッセージDISP_MAPCTRLが生成され、サブメッセージとして、ボタン405の場合はDISP_CHANGE_BRIGHTNESS、ボタン406の場合はDISP_CHANGE_HUE、ボタン407の場合はDISP_CHANGE_CHROMAがそれぞれ生成される。   When the button 405-407 is pressed, a main message DISP_MAPCTRL is generated, and as a sub message, DISP_CHANGE_BRIGHTNESS is generated for the button 405, DISP_CHANGE_HUE is generated for the button 406, and DISP_CHANGE_CHROMA is generated for the button 407.

ボタン408が押されると、メインメッセージGEN_LUTが生成される。また、ボタン409が押されると、メインメッセージPROCESS_ENDが生成される。   When the button 408 is pressed, the main message GEN_LUT is generated. When the button 409 is pressed, the main message PROCESS_END is generated.

[写像・表示対象選択用のダイアログの表示(S506)]
図4Bに示すボタン401が押され、写像・表示対象選択用のダイアログ表示を示すメッセージDISP_MAPDISP_OBJCTRLが色補正LUTアプリケーションに通知されると、図7に示すユーザインタフェイス(UI)が表示される。
[Display dialog for selecting mapping / display target (S506)]
When the button 401 shown in FIG. 4B is pressed and a message DISP_MAPDISP_OBJCTRL indicating a dialog display for selecting a mapping / display target is notified to the color correction LUT application, a user interface (UI) shown in FIG. 7 is displayed.

ユーザは、図7に示すUIのチェックボックスをチェックすることで、グレーライン、W(ホワイト)-RGBCMYライン、RGBCMY-Bk(ブラック)ライン、RGBCMYライン、RGBCMY色相面、ガマット全体の中から表示対象のデータを指定する。   By checking the check box of the UI shown in Fig. 7, the user can display the gray line, W (white) -RGBCMY line, RGBCMY-Bk (black) line, RGBCMY line, RGBCMY hue plane, or the entire gamut. Specify the data.

色補正LUT作成アプリケーションは、後述する方法により必要な色域写像・3D/面/線オブジェクトデータ生成処理を行い、生成されたデータをカラーモニタ107上に表示する。図8は、図7に示すようにW-RGBCMYラインとRGBCMY-Bkラインが選択された場合のカラーモニタ107上の表示例を示す図である。同様に、図9はグレーラインが選択された場合、図10はRGBCMYラインが選択された場合の表示例である。   The color correction LUT creation application performs necessary color gamut mapping / 3D / surface / line object data generation processing by a method described later, and displays the generated data on the color monitor 107. FIG. 8 is a diagram showing a display example on the color monitor 107 when the W-RGBCMY line and the RGBCMY-Bk line are selected as shown in FIG. Similarly, FIG. 9 shows a display example when the gray line is selected, and FIG. 10 shows a display example when the RGBCMY line is selected.

[写像・表示対象の選択操作(S507)]
ユーザが図7に示すUIを操作して、写像・表示対象の選択を示すメッセージCHANGE_MAPDISP_OBJが色補正LUTアプリケーションに通知されると、メッセージに付加された表示・写像対象情報に基づき、必要に応じて色域写像処理・3D/線/面オブジェクトデータの生成および表示が行われる。
[Selection operation of mapping / display target (S507)]
When the user operates the UI shown in FIG. 7 and a message CHANGE_MAPDISP_OBJ indicating the selection of the mapping / display target is notified to the color correction LUT application, based on the display / mapping target information added to the message, if necessary Color gamut mapping and 3D / line / plane object data generation and display.

図11は表示・写像対象情報に応じた色域写像・3D/線/面オブジェクトデータの生成を説明するフローチャートである。   FIG. 11 is a flowchart for explaining generation of color gamut mapping / 3D / line / plane object data according to display / mapping target information.

まず、表示・写像対象が増えたか否か、つまり図7に示すUIのチェックされたチェックボックスが増えたか減ったかを判定する(S1101)。対象が減った場合は、チェックが外された対象のデータを非表示にし(S1102)、処理を終了する。   First, it is determined whether or not the number of display / mapping objects has increased, that is, whether or not the number of checked check boxes in the UI shown in FIG. 7 has increased or decreased (S1101). If the number of objects has decreased, the data of the objects for which the check has been removed is hidden (S1102), and the process ends.

一方、対象が増えた場合は、新たに選択された対象のデータと選択操作前の表示対象のデータに基づき、新たな色域写像が必要か否かを判断する(S1103)。新たに選択された対象のデータが以前から選択されていたデータの一部であれば、新たな色域写像は不要と判断する。例えば、RGBCMY-BkラインはRGBCMY色相面の一部であるから、RGBCMY色相面が選択された状態で、さらにRGBCMY-Bkラインが選択された場合は新たな色域写像は不要である。   On the other hand, when the number of objects increases, it is determined whether or not a new color gamut mapping is necessary based on the newly selected object data and the display object data before the selection operation (S1103). If the newly selected target data is a part of previously selected data, it is determined that a new color gamut mapping is unnecessary. For example, since the RGBCMY-Bk line is a part of the RGBCMY hue plane, if the RGBCMY-Bk line is selected while the RGBCMY hue plane is selected, a new color gamut mapping is unnecessary.

新たな色域写像が必要と判断される場合は、追加された対象のデータの表示に必要なだけの色域写像処理を行う(S1104)。当該色域写像処理の詳細については後述する。   If it is determined that a new color gamut mapping is necessary, the color gamut mapping processing necessary for displaying the added target data is performed (S1104). Details of the color gamut mapping process will be described later.

そして、色域写像の終了した表示対象データの線/面/3Dオブジェクトデータを後述する方法により生成し、カラーモニタ107上に表示し(S1105)、色域写像・3D/線/面オブジェクトデータの生成を終了する。   Then, the line / plane / 3D object data of the display target data for which the color gamut mapping has been completed is generated by the method described later and displayed on the color monitor 107 (S1105). End generation.

[3D/線/面オブジェクトデータ生成(S503)・表示(S504)]
●3Dオブジェクトデータの生成
3Dオブジェクトデータの生成は、まず、図3Aに示すようなRGB色空間の最大の格子領域表面の各格子点により形成される最小の四角形それぞれにおいて二通りの三角形の組み合わせを生成する。図12はこの三角形の組み合わせの生成を模式的に示す図で、太線で囲まれた領域が格子点により形成される最小の四角形である。この四角形を、破線で分割した二つの三角形の組み合わせと、二点鎖線で分割した二つの三角形の組み合わせの二通りの三角形の組み合わせを生成する。
[3D / Line / Surface Object Data Generation (S503) / Display (S504)]
● Generation of 3D object data
The 3D object data is generated by first generating two combinations of triangles in each of the minimum squares formed by the respective grid points on the surface of the maximum grid area in the RGB color space as shown in FIG. 3A. FIG. 12 is a diagram schematically showing the generation of this triangle combination, and the area surrounded by the thick line is the smallest rectangle formed by the lattice points. Two combinations of triangles are generated: a combination of two triangles divided by a broken line and a combination of two triangles divided by a two-dot chain line.

次に、生成した三角形の頂点である格子点座標を対応するL*a*b*座標値に色補正LUTを用いて変換し、さらに、変換後の三角形の組み合わせから3Dオブジェクトデータを構成する。ここで、3Dオブジェクトデータの体積が最大になるように、二通りの三角形の組み合わせから組み合わせを選択する。すなわち、RGB色空間上に各格子点により形成される最小の四角形がN個存在する場合、3Dオブジェクトデータは2N通りの内の一つから選択される。 Next, the lattice point coordinates that are the vertices of the generated triangle are converted into corresponding L * a * b * coordinate values using the color correction LUT, and further, 3D object data is configured from the converted triangle combinations. Here, a combination is selected from two combinations of triangles so that the volume of the 3D object data is maximized. That is, when there are N minimum squares formed by the respective grid points in the RGB color space, 3D object data is selected from one of 2 N types.

こうして生成された3Dオブジェクトデータは、例えば図4Aに示すようにカラーモニタ107に表示される(S504)。このように、3Dオブジェクトデータは、前述した色補正LUTをLab色空間上において擬似三次元表示したものである。   The 3D object data generated in this way is displayed on the color monitor 107 as shown in FIG. 4A, for example (S504). As described above, the 3D object data is a pseudo three-dimensional display of the color correction LUT described above in the Lab color space.

●面オブジェクトデータの生成
面オブジェクトデータの生成は、まず、図3Aに示すようなRGB色空間でWおよびBkと、R、G、B、C、M、Yの各色とからなる三角形を生成する。図13はこの三角形の生成を模式的に示す図である。
Generation of plane object data Generation of plane object data first generates a triangle consisting of W and Bk and R, G, B, C, M, and Y colors in the RGB color space as shown in Fig. 3A. . FIG. 13 is a diagram schematically showing the generation of this triangle.

次に、図3Aに示すRGB色空間の格子のうち、図13に示した各三角形上に位置する格子点により形成される最小の四角形を用いて、二つの三角形を生成する。図14はこの三角形の生成を模式的に示す図で、太線で囲われた領域がWおよびBkと、R、G、B、C、M、Yの何れか一色とからなる三角形である。また、細実線は各格子点により形成される最小の四角形を示し、W-Bkラインに平行な、破線で示すラインで各四角形を分割して二つの三角形を形成する。   Next, two triangles are generated using the smallest square formed by the grid points located on each triangle shown in FIG. 13 among the grids in the RGB color space shown in FIG. 3A. FIG. 14 is a diagram schematically showing the generation of this triangle, and a region surrounded by a thick line is a triangle composed of W and Bk and one of R, G, B, C, M, and Y. A thin solid line indicates a minimum rectangle formed by each lattice point, and each triangle is divided by a line indicated by a broken line parallel to the W-Bk line to form two triangles.

次に、これら三角形の頂点である格子点座標を対応するL*a*b*座標値に色補正LUTを用いて変換し、さらに、変換後の三角形を組み合わせることで面オブジェクトデータを構成する。   Next, the lattice point coordinates that are the vertices of the triangles are converted into corresponding L * a * b * coordinate values using the color correction LUT, and plane objects data are configured by combining the converted triangles.

こうして生成された面オブジェクトデータは、例えば図15に示すようにカラーモニタ107に表示される(S504)。   The plane object data generated in this way is displayed on the color monitor 107 as shown in FIG. 15, for example (S504).

●線オブジェクトデータの生成
線オブジェクトデータの生成は、まず、図3Aに示されるようなRGB色空間でWおよびBkと、R、G、B、C、M、Yの各色とを結ぶラインを生成する。図16はこのラインの生成を模式的に示す図である。
● Generation of line object data To generate line object data, first, generate lines connecting W and Bk with each color of R, G, B, C, M, and Y in the RGB color space as shown in Fig. 3A. To do. FIG. 16 is a diagram schematically showing the generation of this line.

次に、図16に示すライン上に位置する格子点の座標を対応するL*a*b*座標値に色補正LUTを用いて変換し、さらに、変換後の格子点を直線で繋ぐことで線オブジェクトデータを構成する。   Next, by converting the coordinates of the grid points located on the line shown in FIG. 16 to the corresponding L * a * b * coordinate values using the color correction LUT, and further connecting the converted grid points with straight lines Configure line object data.

こうして生成された線オブジェクトデータは、例えば図8に示すようにカラーモニタ107に表示される(S504)。   The line object data generated in this way is displayed on the color monitor 107 as shown in FIG. 8, for example (S504).

[表示制御用のダイアログの表示(S508)]
以下では、表示制御用のダイアログの表示を示すメッセージDISP_DISPCTRLに付随する各サブメッセージに対する処理を説明する。
[Display dialog for display control (S508)]
In the following, processing for each sub message accompanying the message DISP_DISPCTRL indicating display of a display control dialog will be described.

●サブメッセージDISP_RASTERIZE_MODE
図4Bに示すボタン402が押され、表示形態選択用のUIの表示を示すメッセージDISP_RASTERIZE_MODEが色補正LUT作成アプリケーションに通知されると、図17に示すUIが表示される。ユーザが、このUIのラジオボタンを用いて表示形態を選択すると、色補正LUT作成アプリケーションは、その選択情報に応じて後述する表示形態の選択および表示処理を実行する。
● Sub message DISP_RASTERIZE_MODE
When the button 402 shown in FIG. 4B is pressed and a message DISP_RASTERIZE_MODE indicating display of the display form selection UI is notified to the color correction LUT creation application, the UI shown in FIG. 17 is displayed. When the user selects a display form using the radio buttons of the UI, the color correction LUT creation application executes display form selection and display processing to be described later according to the selection information.

●サブメッセージDISP_CHANGE_GRIDAREA
図4Bに示すボタン403が押され、表示格子範囲選択用のUIの表示を示すメッセージDISP_CHANGE_GRIDAREAが色補正LUT作成アプリケーションに通知されると、図18に示すUIが表示される。ユーザが、このUIを用いてR値、G値、B値それぞれの格子範囲を入力することで表示すべきRGB色空間の直方体領域が設定され、色補正LUT作成アプリケーションは、その選択情報に応じて後述する表示格子範囲の設定処理を実行する。
● Sub message DISP_CHANGE_GRIDAREA
When the button 403 shown in FIG. 4B is pressed and a message DISP_CHANGE_GRIDAREA indicating the display of the display grid range selection UI is notified to the color correction LUT creation application, the UI shown in FIG. 18 is displayed. The user inputs the grid range of R value, G value, and B value using this UI, and the cuboid area of the RGB color space to be displayed is set, and the color correction LUT creation application responds to the selection information. The display grid range setting process described later is executed.

●サブメッセージDISP_CHANGE_HUEAREA
図4Bに示すボタン404が押され、表示色相範囲選択用のUIの表示を示すメッセージDISP_CHANGE_HUEAREAが色補正LUT作成アプリケーションに通知されると、図19に示すUIが表示される。ユーザは、このUIのチェックボックスを利用して、12個の表示色相範囲の内から少なくとも一つの、表示すべきRGB色空間の色相範囲を選択する。色補正LUT作成アプリケーションは、その選択情報に応じて後述する表示色相範囲の選択処理を実行する。
● Sub message DISP_CHANGE_HUEAREA
When the button 404 shown in FIG. 4B is pressed and a message DISP_CHANGE_HUEAREA indicating the display of the display hue range selection UI is notified to the color correction LUT creation application, the UI shown in FIG. 19 is displayed. The user selects at least one hue range in the RGB color space to be displayed from among the twelve display hue ranges using the check box of the UI. The color correction LUT creation application executes display hue range selection processing described later according to the selection information.

[表示制御の操作(S509)]
以下では、表示制御の操作を示すメインメッセージCTRL_DISPに付随する各サブメッセージに対する処理を説明する。
[Display control operation (S509)]
Hereinafter, a process for each sub message accompanying the main message CTRL_DISP indicating the display control operation will be described.

●サブメッセージZOOM_INOUT
色補正LUT作成アプリケーションは、サブメッセージZOOM_INOUTと、メッセージに付加されたZOOMIN/OUT量を抽出すると、抽出したZOOMIN/OUT量に基づいてジオメトリ情報を更新し(S509)、更新したジオメトリ情報に基づいて3D/面/線オブジェクトデータの表示を更新する(S504)。
● Sub message ZOOM_INOUT
When the color correction LUT creation application extracts the sub message ZOOM_INOUT and the ZOOMIN / OUT amount added to the message, it updates the geometry information based on the extracted ZOOMIN / OUT amount (S509), and based on the updated geometry information The display of 3D / surface / line object data is updated (S504).

●サブメッセージMOVE
色補正LUT作成アプリケーションは、サブメッセージMOVEと、メッセージに付加された視点平行移動量/視点回転量を抽出すると、抽出した視点平行移動量/視点回転量に基づいてジオメトリ情報を更新し(S509)、更新したジオメトリ情報に基づいて3D/面/線オブジェクトデータの表示を更新する(S504)。
● Sub message MOVE
When the color correction LUT creation application extracts the sub-message MOVE and the viewpoint translation amount / viewpoint rotation amount added to the message, it updates the geometry information based on the extracted viewpoint translation amount / viewpoint rotation amount (S509). The display of the 3D / surface / line object data is updated based on the updated geometry information (S504).

●サブメッセージRASTERIZE_MODE
色補正LUT作成アプリケーションは、サブメッセージRASTERIZE_MODEと、メッセージに付加された表示形態の選択情報を抽出すると、抽出した表示形態の選択情報に基づいて表示形態情報を更新し(S509)、更新した表示形態情報に基づいて3D/面/線オブジェクトデータの表示を更新する(S504)。
● Sub message RASTERIZE_MODE
When the color correction LUT creation application extracts the sub message RASTERIZE_MODE and the display mode selection information added to the message, the display mode information is updated based on the extracted display mode selection information (S509), and the updated display mode Based on the information, the display of the 3D / surface / line object data is updated (S504).

●サブメッセージCHANGE_GRIDAREA
色補正LUT作成アプリケーションは、サブメッセージCHANGE_GRIDAREAと、メッセージに付加された表示格子範囲の設定情報を抽出すると、抽出した表示格子範囲の設定情報に基づいて3D/面/線オブジェクトデータを更新し(S509)、更新した3D/面/線オブジェクトデータを更新表示する(S504)。
● Sub message CHANGE_GRIDAREA
When the color correction LUT creation application extracts the sub-message CHANGE_GRIDAREA and the display grid area setting information added to the message, it updates the 3D / surface / line object data based on the extracted display grid area setting information (S509 ), The updated 3D / surface / line object data is updated and displayed (S504).

●サブメッセージCHANGE_HUEAREA
色補正LUT作成アプリケーションは、サブメッセージCHANGE_HUEAREAと、メッセージに付加された表示色相範囲の選択情報を抽出すると、抽出した表示色相範囲の選択情報に基づいて3D/面/線オブジェクトデータを更新し(S509)、更新した3D/面/線オブジェクトデータを更新表示する(S504)。
● Sub message CHANGE_HUEAREA
When the color correction LUT creation application extracts the sub message CHANGE_HUEAREA and the display hue range selection information added to the message, it updates the 3D / surface / line object data based on the extracted display hue range selection information (S509). ), The updated 3D / surface / line object data is updated and displayed (S504).

[表示形態の選択および表示(S508)]
表示形態としてはワイヤフレーム表示、ポイント表示、ソリッド表示の三形態が用意されている。なお、写像・表示対象データとして線データが選択された場合(つまり図7に示す「グレーライン」「W-RGBCMYライン」「RGBCMYライン」「R-G-B-C-M-Yライン」が選択された場合)、ワイヤフレーム表示とソリッド表示は同様の表示になる。ここで、ソリッド表示は、3D/面オブジェクトデータの三角パッチデータに則り、その表面色は、RGB色空間上の格子点座標値より計算される。
[Selection and display of display form (S508)]
Three display modes are available: wire frame display, point display, and solid display. In addition, when line data is selected as mapping / display target data (that is, when “Gray line”, “W-RGBCMY line”, “RGBCMY line”, “RGBCMY line” shown in FIG. 7 is selected), wire frame display and The solid display is similar. Here, the solid display conforms to the triangular patch data of the 3D / surface object data, and the surface color is calculated from the grid point coordinate values in the RGB color space.

ユーザが図17に示すUIを用いて表示形態を選択すると、メインメッセージCTRL_DISPおよびサブメッセージRASTERIZE_MODEが色補正LUT作成アプリケーションに通知され、同アプリケーションは、メッセージに付加された選択情報に応じて表示形式を変化させる。   When the user selects a display form using the UI shown in FIG. 17, a main message CTRL_DISP and a sub message RASTERIZE_MODE are notified to the color correction LUT creation application, and the application changes the display form according to the selection information added to the message. Change.

写像・表示対象データとして3Dデータが選択された状態(図7に示す「ガマット全体」が選択された状態)で、ワイヤフレーム表示が選択された場合のモニタ表示は図20に示すようになる。また、ポイント表示が選択された場合のモニタ表示は図21に示すようになる。ただし、本来は陰面も表示されるが、図の簡単のために陰面を省略した。   FIG. 20 shows a monitor display when wire frame display is selected in a state where 3D data is selected as mapping / display target data (a state where “entire gamut” shown in FIG. 7 is selected). Further, the monitor display when the point display is selected is as shown in FIG. However, although the hidden surface is originally displayed, the hidden surface is omitted for the sake of simplicity.

また、ソリッド表示が選択された場合は、図4Aに示すような表示形態で、然るべき色が付いて表示される。さらに、写像・表示対象データが面データの場合に、ワイヤフレーム表示が選択されると、モニタ表示は図22に示すようになる。   When the solid display is selected, the display form shown in FIG. 4A is displayed with an appropriate color. Furthermore, when the mapping / display target data is plane data and the wire frame display is selected, the monitor display is as shown in FIG.

[表示格子範囲の設定および表示(S508)]
表示格子範囲の設定および表示の処理は、写像・表示対象データとして線オブジェクトデータのみが選択されている場合には実行されない。
[Display grid range setting and display (S508)]
The display grid range setting and display processing is not executed when only line object data is selected as mapping / display target data.

ユーザが、図18に示すUIを用いて表示格子範囲を設定すると、メインメッセージCTRL_DISPおよびサブメッセージCHANGE_GRIDAREAが色補正LUT作成アプリケーションに通知され、同アプリケーションは、メッセージに付加されたRGB格子範囲情報に応じて、次のように3D/面オブジェクトデータを更新する。   When the user sets the display grid range using the UI shown in FIG. 18, the main message CTRL_DISP and sub message CHANGE_GRIDAREA are notified to the color correction LUT creation application, and the application responds to the RGB grid range information added to the message. Then, update the 3D / surface object data as follows.

写像・表示対象データとして3Dオブジェクトデータが選択されている場合は、まず、RGB色空間上の選択された直方体領域表面の各格子点により形成される最小の四角形それぞれにおいて二通りの三角形の組み合わせを生成する。この模式図は、図12に示したものと同様になる。   When 3D object data is selected as mapping / display target data, first, a combination of two triangles in each of the smallest squares formed by each grid point on the surface of the selected rectangular parallelepiped region in the RGB color space is selected. Generate. This schematic diagram is the same as that shown in FIG.

次に、それら三角形の頂点である格子点座標を対応するL*a*b*座標値に色補正LUTを用いて変換し、さらに、変換後の三角形の組み合わせから3Dオブジェクトデータを構成する。ここで、3Dオブジェクトデータの体積が最大になるように、二通りの三角形の組み合わせから三角形の組み合わせを選択する。   Next, the lattice point coordinates that are the vertices of the triangles are converted into corresponding L * a * b * coordinate values using the color correction LUT, and further, 3D object data is configured from the converted triangle combinations. Here, a triangle combination is selected from two combinations of triangles so that the volume of the 3D object data is maximized.

本実施例において、色分布情報の格子点数がR軸、G軸、B軸ともに「6」で、表示格子範囲をR軸で[2, 5]、G軸で[2, 4]、B軸で[1, 4]に設定した場合の、カラーモニタ107上の表示例を図23に示す。図24はRGB色空間における格子範囲を示す図で、点線で示す範囲が最大の格子領域で、実線で示す範囲が選択された長方形領域である。実線と実線、実線と破線、破線と破線の交点は格子点を示す。   In this example, the number of grid points in the color distribution information is “6” for the R, G, and B axes, and the display grid range is [2, 5] for the R axis, [2, 4] for the G axis, and the B axis. FIG. 23 shows a display example on the color monitor 107 when [1, 4] is set. FIG. 24 is a diagram showing a grid range in the RGB color space. The range indicated by the dotted line is the maximum grid area, and the range indicated by the solid line is a selected rectangular area. Intersections between solid lines and solid lines, solid lines and broken lines, and broken lines and broken lines indicate lattice points.

写像・表示対象データとして面データが選択されている場合、RGB色空間上で選択された長方形領域内で、かつ、図13に示すW-R(あるいはG、B、C、MまたはY)-Bk面上に存在する格子点により形成される最小の四角形/三角形を生成する。さらに、四角形/三角形の頂点である格子点座標を対応するL*a*b*座標値に色補正LUTを用いて変換し、これらの組み合わせから面オブジェクトデータを構成する。上記と同様に、表示格子範囲をR軸で[2, 5]、G軸で[2, 4]、B軸で[1, 4]とし、写像・表示対象データとして面データが選択されている場合のカラーモニタ107上の表示例を図25に示す。   When surface data is selected as the mapping / display target data, the WR (or G, B, C, M, or Y) -Bk plane shown in Fig. 13 in the rectangular area selected in the RGB color space Generates the smallest square / triangle formed by the grid points present on the top. Further, the lattice point coordinates which are the vertices of the quadrangle / triangle are converted into corresponding L * a * b * coordinate values using the color correction LUT, and plane object data is configured from these combinations. Similar to the above, the display grid range is [2, 5] on the R axis, [2, 4] on the G axis, [1, 4] on the B axis, and plane data is selected as the mapping / display target data. A display example on the color monitor 107 is shown in FIG.

[表示色相範囲の選択および表示(S508)]
表示色相範囲選択および表示の処理は、R軸とG軸とB軸とで格子点数が等しく、かつ、格子点のステップが等しくなければ実行されない。
[Select and display hue range (S508)]
The display hue range selection and display processing is not executed unless the number of grid points is equal on the R axis, the G axis, and the B axis, and the steps of the grid points are not equal.

ユーザが、上述したように、図19に示すUIを用いて表示色相範囲を選択すると、メインメッセージCTRL_DISPおよびサブメッセージCHANGE_HUEAREAが色補正LUT作成アプリケーションに通知され、色補正LUT作成アプリケーションはメッセージに付加された色相選択情報に応じ、次のように3D/面/線オブジェクトデータを更新する。   When the user selects the display hue range using the UI shown in FIG. 19 as described above, the main message CTRL_DISP and the sub message CHANGE_HUEAREA are notified to the color correction LUT creation application, and the color correction LUT creation application is added to the message. The 3D / surface / line object data is updated as follows according to the selected hue selection information.

まず、RGB色空間上で、色相選択情報に応じて図26に示す六つの四面体、あるいは、図13に示す六つの三角形から一つを選択する。写像・表示対象データとして3Dオブジェクトデータ(図7に示す「ガマット全体」が選択された状態)が選択された状態で、四面体が選択された場合は、選択された四面体表面の各格子点により形成される最小の四角形それぞれにおいて二通りの三角形の組み合わせを生成する。なお、四角形を生成できない表面領域においては最小の三角形を生成する。   First, in the RGB color space, one of the six tetrahedrons shown in FIG. 26 or the six triangles shown in FIG. 13 is selected according to the hue selection information. When the tetrahedron is selected when 3D object data (the state where “entire gamut” shown in FIG. 7 is selected) is selected as the mapping / display target data, each lattice point on the selected tetrahedron surface is selected. Produces a combination of two triangles in each of the smallest squares formed by It should be noted that the smallest triangle is generated in the surface region where the quadrangle cannot be generated.

次に、これら三角形の頂点である格子点座標を対応するL*a*b*座標値に色補正LUTを用いて変換し、さらに、変換後の三角形の組み合わせから3Dオブジェクトデータを構成する。ここで、表示格子範囲を設定する場合と同様に、3Dオブジェクトデータの体積が最大になるように、二通りの三角形の組み合わせから三角形の組み合わせを選択する。なお、本処理は、写像・表示対象データとして3Dオブジェクトデータ(図7に示す「ガマット全体」が選択された状態)が指定されている場合のみ実行される。   Next, the grid point coordinates which are the vertices of the triangles are converted into corresponding L * a * b * coordinate values using the color correction LUT, and further, 3D object data is configured from the converted triangle combinations. Here, as in the case of setting the display grid range, a triangle combination is selected from two combinations of triangles so that the volume of the 3D object data is maximized. This process is executed only when 3D object data (in a state where “entire gamut” shown in FIG. 7 is selected) is designated as mapping / display target data.

図27は表示色相範囲にMR領域を選択した場合の、カラーモニタ107上の表示例を示す図である。また、図28は写像・表示対象データとしてR-G-B-C-M-Yラインが選択された状態で、表示色相範囲にMR領域を選択した場合の表示例を示す図である。   FIG. 27 is a diagram showing a display example on the color monitor 107 when the MR region is selected as the display hue range. FIG. 28 is a diagram showing a display example when the MR region is selected as the display hue range in a state where the R-G-B-C-M-Y line is selected as the mapping / display target data.

また、写像・表示対象データとして面オブジェクトデータが指定された状態で、表示色相範囲にR/G/B/C/M/Y色相が選択された場合は、選択された三角形内の各格子点により形成される最小の四角形それぞれにおいて二通りの三角形の組み合わせを生成する。なお、四角形を生成できない表面領域においては最小の三角形を生成する。   In addition, when R / G / B / C / M / Y hue is selected for the display hue range with plane object data specified as mapping / display target data, each grid point in the selected triangle Produces a combination of two triangles in each of the smallest squares formed by It should be noted that the smallest triangle is generated in the surface region where the quadrangle cannot be generated.

次に、これら四角形/三角形の頂点である格子点座標を対応するL*a*b*座標値に色補正LUTを用いて変換し、変換後の四角形/三角形の組み合わせから面オブジェクトデータを構成する。写像・表示対象データとして面オブジェクトデータが指定された状態で、M色相を選択した場合は、例えば図15に示すようにモニタ表示される。   Next, the grid point coordinates that are the vertices of these rectangles / triangles are converted to corresponding L * a * b * coordinate values using the color correction LUT, and the plane object data is constructed from the converted rectangle / triangle combinations. . When the M hue is selected in the state where the plane object data is designated as the mapping / display target data, it is displayed on the monitor as shown in FIG. 15, for example.

[写像制御用ダイアログの表示(S510)]
以下では、写像制御用ダイアログの表示を示すメッセージDISP_MAPCTRLに付随する各サブメッセージに対する処理を説明する。
[Display mapping control dialog (S510)]
In the following, processing for each sub message accompanying the message DISP_MAPCTRL indicating the display of the mapping control dialog will be described.

●サブメッセージDISP_CHANGE_BRIGHTNESS
明るさ調整用のUIの表示を示すメッセージDISP_CHANGE_BRIGHTNESSが色補正LUT作成アプリケーションに通知されると、図29に示すUIが表示される(S510)。ユーザは、このUIを用いて、色補正の全体的な明るさの調整量を設定する。色補正LUT作成アプリケーションは、この調整量に応じて後述する写像を行い、3Dオブジェクトデータの生成および表示を実行する。
● Sub message DISP_CHANGE_BRIGHTNESS
When the message DISP_CHANGE_BRIGHTNESS indicating the display of the brightness adjustment UI is notified to the color correction LUT creation application, the UI shown in FIG. 29 is displayed (S510). The user uses this UI to set the overall brightness adjustment amount for color correction. The color correction LUT creation application performs mapping described later in accordance with the adjustment amount, and generates and displays 3D object data.

●サブメッセージDISP_CHANGE_HUE
色相調整用のUIの表示を示すメッセージDISP_CHANGE_HUEが色補正LUT作成アプリケーションに通知されると、図30に示すUIが表示される(S510)。ユーザは、このUIを使用して、明度と、六色相(赤、緑、青、シアン、マゼンタおよび黄)の一つを選択し、その後、該当する範囲の色を対象とする色相調整量を設定する。色補正LUT作成アプリケーションは該調整量に応じて後述する写像を行い、3Dオブジェクトデータの生成および表示を実行する。
● Sub message DISP_CHANGE_HUE
When a message DISP_CHANGE_HUE indicating the display of the hue adjustment UI is notified to the color correction LUT creation application, the UI shown in FIG. 30 is displayed (S510). Using this UI, the user selects one of lightness and six hues (red, green, blue, cyan, magenta and yellow), and then adjusts the hue adjustment amount for the corresponding range of colors. Set. The color correction LUT creation application performs mapping described later according to the adjustment amount, and generates and displays 3D object data.

●サブメッセージDISP_CHANGE_CHROMA
鮮やかさ調整用のUIの表示を示すメッセージDISP_CHANGE_CHROMAが色補正LUT作成アプリケーションに通知されると、図31に示すUIが表示される(S510)。ユーザは、このUIを使用して、調整対象の色相を指定し、当該色相における鮮やかさ調整量を設定することで、色補正の鮮やかさが制御される。色補正LUT作成アプリケーションは、該調整量に応じて後述する写像を行い、3Dオブジェクトデータの生成および表示を実行する。
● Sub message DISP_CHANGE_CHROMA
When the message DISP_CHANGE_CHROMA indicating the display of the UI for adjusting the vividness is notified to the color correction LUT creation application, the UI shown in FIG. 31 is displayed (S510). The user specifies the hue to be adjusted using this UI, and sets the vividness adjustment amount for the hue, whereby the vividness of the color correction is controlled. The color correction LUT creation application performs mapping described later according to the adjustment amount, and generates and displays 3D object data.

[写像制御の操作(S511)]
以下では、写像制御の操作を示すメインメッセージCTRL_MAPに付随する各サブメッセージについて、各サブメッセージが生成されるための動作条件と、それに対するメッセージの生成、ならびに、生成されたメッセージに対する処理を説明する。
[Mapping control operation (S511)]
In the following, for each sub message accompanying the main message CTRL_MAP indicating the mapping control operation, the operating conditions for generating each sub message, the generation of the message for the sub message, and the processing for the generated message will be described. .

●サブメッセージCHANGE_BRIGHTNESS
ユーザが、図29に示す明度調整スライダバーのスライダ2901を操作すると、写像制御の操作を示すメインメッセージCTRL_MAPとサブメッセージCHANGE_BRIGHTNESSが生成され、スライダ2901の位置情報がメッセージに付加される。
● Sub message CHANGE_BRIGHTNESS
When the user operates the slider 2901 of the brightness adjustment slider bar shown in FIG. 29, a main message CTRL_MAP and a sub message CHANGE_BRIGHTNESS indicating the mapping control operation are generated, and the position information of the slider 2901 is added to the message.

上述のメッセージが生成されると、メッセージの受信と判断が実行され(S505)、サブメッセージCHANGE_BRIGHTNESSに付加されたスライダの位置情報を抽出し、抽出した位置情報に基づいて0〜100の整数値をとる明度制御値を生成もしくは修正して写像制御パラメータを更新し(S511)、変更した写像制御パラメータに基づき後述する色域写像を行う(S502)。   When the above message is generated, reception and determination of the message are executed (S505), the slider position information added to the sub message CHANGE_BRIGHTNESS is extracted, and an integer value of 0 to 100 is set based on the extracted position information. The brightness control value to be taken is generated or modified to update the mapping control parameter (S511), and the color gamut mapping described later is performed based on the changed mapping control parameter (S502).

●サブメッセージCHANGE_HUE
ユーザが、図30に示す色味調整スライダバーのスライダ3003を操作すると、写像制御の操作を示すメインメッセージCTRL_MAPとサブメッセージCHANGE_HUEが生成され、スライダ3003の位置情報、明度選択リストボックス3001の選択番号、ならびに、色相選択リストボックス3002の選択番号がメッセージに付加される。なお、明度選択リストボックス3001は明度0から100まで20刻みの6リスト、色相選択リストボックス3002は赤、緑、青、シアン、マゼンタおよび黄の6リストを有する。
● Sub message CHANGE_HUE
When the user operates the slider 3003 of the color adjustment slider bar shown in FIG. 30, a main message CTRL_MAP and a sub message CHANGE_HUE indicating the mapping control operation are generated, and the position information of the slider 3003 and the selection number of the brightness selection list box 3001 , And the selection number of the hue selection list box 3002 is added to the message. The lightness selection list box 3001 has 6 lists in 20 steps from lightness 0 to 100, and the hue selection list box 3002 has 6 lists of red, green, blue, cyan, magenta, and yellow.

上述のメッセージが生成されると、メッセージの受信と判断が実行され(S505)、サブメッセージCHANGE_HUEに付加されたスライダの位置情報、明度リストおよび色相リストの選択番号を抽出し、各選択番号に基づいて調整対象の明度値と色相角値を算出し、抽出したスライダの位置情報に基づいて-20〜+20の整数値をとる色相調整値を生成し、その後、明度値、色相角値および色相調整値に基づく色相制御パラメータを生成もしくは修正して制御パラメータを更新し(S511)、変更した写像制御パラメータに基づき後述する色域写像を行う(S502)。   When the above message is generated, reception and determination of the message are executed (S505), and the position information of the slider, the lightness list and the hue list selection number added to the sub message CHANGE_HUE are extracted and based on each selection number. The brightness value and hue angle value to be adjusted are calculated, and a hue adjustment value that takes an integer value of -20 to +20 is generated based on the extracted slider position information, and then the brightness value, hue angle value, and hue are generated. A hue control parameter based on the adjustment value is generated or modified to update the control parameter (S511), and a color gamut mapping described later is performed based on the changed mapping control parameter (S502).

●サブメッセージCHANGE_CHROMA
ユーザが、図31に示す鮮やかさ調整スライダバーのスライダ3102を操作すると、写像制御の操作を示すメインメッセージCTRL_MAPとサブメッセージCHANGE_CHROMAが生成され、スライダ3102のスライダ位置情報、および、色相選択リストボックス3101の選択番号がメッセージに付加される。なお、色相選択リストボックス3101は黄、橙、赤、マゼンタ、紫、青紫、青、空色、シアン、青緑、緑および黄緑の12リストを有する。
● Sub message CHANGE_CHROMA
When the user operates the slider 3102 of the vividness adjustment slider bar shown in FIG. 31, a main message CTRL_MAP and a sub message CHANGE_CHROMA indicating the mapping control operation are generated, and the slider position information of the slider 3102 and the hue selection list box 3101 are generated. The selection number is added to the message. The hue selection list box 3101 has 12 lists of yellow, orange, red, magenta, purple, blue-violet, blue, sky blue, cyan, blue-green, green, and yellow-green.

上述のメッセージが生成されると、メッセージの受信と判断が実行され(S505)、サブメッセージCHANGE_CHROMAに付加されたスライダの位置情報および色相リストの選択番号を抽出し、選択番号に基づいて調整対象の色相角値を算出し、抽出したスライダの位置情報に基づいて0.5〜2の実数値をとる彩度調整値を生成し、その後、色相角値および彩度調整値に基づく彩度制御パラメータを生成もしくは修正して制御パラメータを更新し(S511)、変更した写像制御パラメータに基づき後述する色域写像を行う(S502)。   When the above message is generated, the reception and determination of the message are executed (S505), the position information of the slider and the selection number of the hue list added to the sub message CHANGE_CHROMA are extracted, and the adjustment target based on the selection number is extracted. Calculates the hue angle value, generates a saturation adjustment value that takes a real value between 0.5 and 2 based on the extracted slider position information, and then generates a saturation control parameter based on the hue angle value and the saturation adjustment value Alternatively, the control parameter is updated by modification (S511), and color gamut mapping described later is performed based on the changed mapping control parameter (S502).

[色域写像(S502)]
図32は色域写像処理(S502)の詳細を示すフローチャートである。
[Color Gamut Mapping (S502)]
FIG. 32 is a flowchart showing details of the color gamut mapping process (S502).

まず、カラーモニタ107の色再現域情報およびカラープリンタ115の色再現域情報が設定され(S3201)、カラーモニタ107の色再現域境界の最終的な写像結果になる写像色再現域を生成する(S3202)。図35に示す境界線3502は、この写像色再現域の境界の一例である。   First, the color gamut information of the color monitor 107 and the color gamut information of the color printer 115 are set (S3201), and a mapped color gamut that becomes a final mapping result of the color gamut boundary of the color monitor 107 is generated ( S3202). A boundary line 3502 shown in FIG. 35 is an example of the boundary of the mapped color reproduction area.

次に、均等表色系においてモニタ色再現域の明度および色相を写像する(S3203)。本実施例における明度/色相写像動作の詳細は後述するが、図33に示す模式図を用いて簡単に説明すると、符号3301はグリーンの色相におけるモニタ色再現域、符号3302は第一の中間写像色再現域、符号3303は同色相におけるプリンタ色再現域をそれぞれ示す。色補正LUT作成アプリケーションは、モニタ色再現域3301内の色に対して明度成分と色度成分を分離して、明度成分を非線型に写像する。また、色度成分に対しては、適当になるように色相の調整を行う。この動作により、モニタ色再現域3301は第一の中間写像色再現域3302へ写像される。   Next, the brightness and hue of the monitor color gamut are mapped in the uniform color system (S3203). Details of the lightness / hue mapping operation in the present embodiment will be described later. To explain briefly with reference to the schematic diagram shown in FIG. 33, reference numeral 3301 denotes a monitor color reproduction range in a green hue, and reference numeral 3302 denotes a first intermediate mapping. A color gamut and reference numeral 3303 indicate printer color gamuts in the same hue. The color correction LUT creation application separates the lightness component and the chromaticity component for the colors in the monitor color reproduction area 3301 and maps the lightness component in a non-linear manner. In addition, the hue is adjusted appropriately for the chromaticity component. By this operation, the monitor color reproduction region 3301 is mapped to the first intermediate mapping color reproduction region 3302.

明度/色相写像処理が終了すると、第一の中間写像色再現域3302の情報がメインメモリ102へ格納され(S3204)、第一の中間写像色再現域3302の境界に対して明度を調整し、第二の中間写像色再現域境界を生成する(S3205)。第二の中間写像色再現域境界は、例えば図34に示す境界線3402のようになる。   When the brightness / hue mapping process is completed, information of the first intermediate mapping color reproduction area 3302 is stored in the main memory 102 (S3204), and the brightness is adjusted with respect to the boundary of the first intermediate mapping color reproduction area 3302, A second intermediate mapping color gamut boundary is generated (S3205). The second intermediate mapping color gamut boundary is, for example, a boundary line 3402 shown in FIG.

次に、第一の中間写像色再現域3302から第二の中間写像色再現域3402へ写像する(S3206)。この写像処理の詳細は後述するが、図34に示す模式図を用いて簡単に説明すると、符号3401はグリーンの色相における第一の中間写像色再現域、符号3402は第二の中間写像色再現域、符号3403は同色相におけるプリンタ色再現域をそれぞれ示す。色補正LUT作成アプリケーションは、第一の中間写像色再現域3401内の色に対して明度成分と色度成分を分離し、色度成分一定のまま明度成分のみを非線型写像する。なお、写像を実現する明度入出力関数は色度により異なる。この写像処理により、第一の中間写像色再現域3401は第二の中間写像色再現域3402へ写像され、第二の中間写像色再現域3402の情報がメインメモリ102に格納される。   Next, mapping is performed from the first intermediate mapping color reproduction region 3302 to the second intermediate mapping color reproduction region 3402 (S3206). The details of this mapping process will be described later, but briefly explained with reference to the schematic diagram shown in FIG. 34. Reference numeral 3401 represents the first intermediate mapping color reproduction area in the green hue, and reference numeral 3402 represents the second intermediate mapping color reproduction. An area 3403 represents a printer color reproduction area in the same hue. The color correction LUT creation application separates the lightness component and the chromaticity component from the colors in the first intermediate mapping color reproduction range 3401, and nonlinearly maps only the lightness component while keeping the chromaticity component constant. The lightness input / output function for realizing the mapping differs depending on the chromaticity. By this mapping process, the first intermediate mapped color reproduction area 3401 is mapped to the second intermediate mapped color reproduction area 3402, and information on the second intermediate mapped color reproduction area 3402 is stored in the main memory 102.

次に、中間写像色再現域の情報と写像色再現域3502の情報を参照して、第二の中間写像色再現域3402を写像色再現域3502へ彩度写像する(S3207)。この彩度写像処理の詳細は後述するが、図35の模式図を用いて簡単に説明すると、符号3501はグリーンの色相における第二の中間写像色再現域、符号3502は写像色再現域、符号3503はプリンタ色再現域をそれぞれ示す。色補正LUT作成アプリケーションは、第二の中間写像色再現域3501内の色に対して明度成分と色度成分を分離し、明度成分一定のまま色度成分における彩度成分を非線型に写像する。この写像により、第二の中間写像色再現域3501は写像色再現域3502に写像される。   Next, the second intermediate mapping color reproduction region 3402 is chroma-saturated to the mapping color reproduction region 3502 with reference to the information of the intermediate mapping color reproduction region and the information of the mapping color reproduction region 3502 (S3207). The details of this saturation mapping process will be described later. To explain briefly with reference to the schematic diagram of FIG. 35, reference numeral 3501 denotes a second intermediate mapping color reproduction area in the green hue, reference numeral 3502 denotes a mapping color reproduction area, reference numeral 3503 indicates a printer color reproduction range. The color correction LUT creation application separates the lightness component and the chromaticity component for the colors in the second intermediate mapping color gamut 3501 and maps the chromaticity component in the chromaticity component nonlinearly while keeping the lightness component constant. . By this mapping, the second intermediate mapped color reproduction range 3501 is mapped to the mapped color reproduction range 3502.

以上の一連の処理が終了すると、色補正LUT作成アプリケーションは、色域写像(S502)を終了し、3D/面/線オブジェクト生成(S503)・表示(S504)へ移行する。   When the above series of processing ends, the color correction LUT creation application ends the color gamut mapping (S502), and proceeds to 3D / surface / line object generation (S503) / display (S504).

[明度/色相写像処理(S3202)]
本実施例は、明度成分の写像を、色度に依存しない一つの入出力関数を用いて、Lmapped=λ(Lin)と算出する。ここで、写像関数λ(・)は、写像制御パラメータの明度制御値xに基づいて、次のように生成される。
x ≧ 50:λ(・) = {λ50(・)×(100 - x) + λ100(・)×(x - 50)}/50
x < 50:λ(・) = {λ0(・)×(50 - x) + λ50(・)×x}/50
[Brightness / Hue Mapping Processing (S3202)]
In this embodiment, the mapping of the lightness component is calculated as Lmapped = λ (Lin) using one input / output function that does not depend on chromaticity. Here, the mapping function λ (·) is generated as follows based on the brightness control value x of the mapping control parameter.
x ≧ 50: λ (•) = {λ 50 (•) × (100-x) + λ 100 (•) × (x-50)} / 50
x <50: λ (•) = {λ 0 (•) × (50-x) + λ 50 (•) × x} / 50

ここで、λ0(・)は制御値が0のときの、λ50(・)は制御値が50のときの、λ100(・)は制御値が100のときのそれぞれ写像関数で、それぞれ図36B、図36Aおよび図36Cに示すような関数である。図に示すように、制御値が0の場合は全体的に暗く、制御値が100の場合は全体的に明るくなり、制御値が50の場合は中庸な明るさになる。 Where λ 0 (•) is the mapping function when the control value is 0, λ 50 (•) is the mapping function when the control value is 50, and λ 100 (•) is the mapping function when the control value is 100, respectively. It is a function as shown in FIG. 36B, FIG. 36A and FIG. 36C. As shown in the figure, when the control value is 0, the overall brightness is dark, when the control value is 100, the overall brightness is bright, and when the control value is 50, the brightness is moderate.

図37は色相成分の写像を説明するフローチャートである。   FIG. 37 is a flowchart illustrating mapping of hue components.

まず、写像制御パラメータの色相制御パラメータに基づき、明度0から100まで20刻みの六つの明度値に対して、色相入出力関数h0(・)、h20(・)、h40(・)、h60(・)、h80(・)およびh100(・)を生成する(S3701)。これらの関数は、各明度ごとに調整色相の色相調整値を一次スプライン、すなわち直線で結んだ関数として算出される。一例を示すと、明度値80に対して、赤と黄の二つの色相において色相角を若干プラスへシフトさせる操作、青の色相でマイナスへシフトさせる操作をユーザが行った場合、図38Aの色相入出力関数h80(・)が得られる。他の例として明度値60に対して、黄の色相のみにおいて色相角を若干プラスへシフトさせる操作をユーザが行った場合は、図38Bの色相入出力関数h60(・)が得られる。なお、図38A、38Bにおいては、a*b*色度座標系においてb*軸正方向を色相角0radとし、反時計方向への回転を正としたラジアン表記により、色相角を表している。   First, based on the hue control parameter of the mapping control parameter, the hue input / output functions h0 (・), h20 (・), h40 (・), h60 (・), H80 (•) and h100 (•) are generated (S3701). These functions are calculated as functions obtained by connecting the hue adjustment values of the adjustment hue for each lightness with a primary spline, that is, a straight line. For example, if the user performs an operation to slightly shift the hue angle in two hues of red and yellow to a lightness value of 80, and an operation to shift to minus in the hue of blue, the hue in FIG. An input / output function h80 (•) is obtained. As another example, when the user performs an operation to slightly shift the hue angle to a lightness value of 60 only in the hue of yellow, the hue input / output function h60 (•) in FIG. 38B is obtained. In FIGS. 38A and 38B, in the a * b * chromaticity coordinate system, the hue angle is represented by a radian notation where the b * axis positive direction is the hue angle 0 rad and the counterclockwise rotation is positive.

次に、写像変換の対象になる色Mを指定し(S3702)、色Mに対する色相入出力関数h(・)をh0(・)、h20(・)、h40(・)、h60(・)、h80(・)およびh100(・)を用いて次のように算出する(S3703)。
h(・) = {hLW(・)×(up - x) + hUP(・)×(x - lw)}/20
ここで、hUP(・)は、色Mの明度xに対して直上の明度upの入出力関数
hLW(・)は、色Mの明度xに対して直下の明度lwの入出力関数
Next, the color M to be mapped is specified (S3702), and the hue input / output function h (・) for the color M is set to h0 (・), h20 (・), h40 (・), h60 (・), Using h80 (•) and h100 (•), calculation is performed as follows (S3703).
h (・) = {h LW (・) × (up-x) + h UP (・) × (x-lw)} / 20
Where h UP (•) is the input / output function of the brightness up just above 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の明度が70の場合、直下の明度の入出力関数としてh60(・)を、直上の明度の入出力関数としてh80(・)を用いて、色相入出力関数h(・)は次のようになる。
h(・) = (h60(・) + h80(・))/2
For example, if the lightness of color M is 70, h60 (・) is used as the input / output function for the lightness directly below, h80 (・) is used as the input / output function for the lightness directly above, and the hue input / output function h (・) is become that way.
h (・) = (h60 (・) + h80 (・)) / 2

次に、次式を用いて色相の写像を行う(S3704)。次式において、Huemは色Mの色相で、Huemmappedは写像後の色相である。
Huemmapped = h(Huem)
Next, hue mapping is performed using the following equation (S3704). In the formula, Hue m in hue of the color M, Hue m mapped is hue after mapping.
Hue m mapped = h (Hue m )

その後、先述した明度成分の制御パラメータを用いて明度成分の写像を行い(S3705)、明度/色相写像処理がLUTの全格子点ついて行われたか否かを判定し(S3706)、すべての格子点について写像処理が終了するまでステップS3702〜S3706を繰り返す。   Then, the lightness component is mapped using the lightness component control parameter described above (S3705), and it is determined whether the lightness / hue mapping processing has been performed for all the grid points of the LUT (S3706). Steps S3702 to S3706 are repeated until the mapping process ends.

以上の処理により、図33に示すモニタ色再現域3301は、同図に示す第一の中間写像色再現域3302へ写像される。   Through the above processing, the monitor color reproduction region 3301 shown in FIG. 33 is mapped to the first intermediate mapping color reproduction region 3302 shown in FIG.

[明度調整色域写像(S3206)]
図39は明度調整色域写像処理を説明するフローチャートである。
[Brightness adjustment color gamut mapping (S3206)]
FIG. 39 is a flowchart for explaining brightness adjustment color gamut mapping processing.

まず、写像対象の色Mを指定する(S3901)。なお、ここでの色Mは、第一の中間写像色再現域3302における色であって、モニタ色再現域3301における色を表すものではない。   First, the color M to be mapped is specified (S3901). Note that the color M here is a color in the first intermediate mapping color reproduction region 3302, and does not represent a color in the monitor color reproduction region 3301.

次に、色Mと同一の色度における第一の中間写像色再現域3302(3401)の上部境界BUおよび下部境界BLを計算し(S3902)、色Mと同一の色度における第二の中間写像色再現域3402の上部境界BUmappedおよび下部境界BLmappedを算出し(S3903)、色Mと同一の色度、同一色相における写像色再現域の境界Bpを算出する(S3904)。 Next, the upper boundary B U and the lower boundary B L of the first intermediate mapped color reproduction region 3302 (3401) at the same chromaticity as the color M are calculated (S3902), and the second at the same chromaticity as the color M is calculated. The upper boundary B U mapped and the lower boundary B L mapped of the intermediate mapped color gamut 3402 are calculated (S3903). .

図40は色M、第一の中間写像色再現域3401の上部境界BUおよび下部境界BL、並びに、第二の中間写像色再現域3402の上部境界BUmappedおよび下限境界BLmappedの関係を示す図で、実線は第一の中間写像色再現域の境界を、一点鎖線は第二の中間写像色再現域の境界を、点線はプリンタ色再現域を示す。 FIG. 40 shows color M, the upper boundary B U and the lower boundary B L of the first intermediate mapping color reproduction area 3401, and the upper boundary B U mapped and the lower boundary B L mapped of the second intermediate mapping color reproduction area 3402. In the diagram showing the relationship, the solid line indicates the boundary of the first intermediate mapping color reproduction region, the alternate long and short dash line indicates the boundary of the second intermediate mapping color reproduction region, and the dotted line indicates the printer color reproduction region.

続いて、以上で求めたパラメータから明度調整写像を行う入出力関数p(・)を導出する(S3905)。本実施例では、入出力関数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)は圧縮を制御する定数
Subsequently, an input / output function p (•) for performing brightness adjustment mapping is derived from the parameters obtained above (S3905). In this embodiment, the input / output function p (•) is calculated as a C2 continuous cubic spline function that satisfies the following conditions.
The base of p (•) is [LBl, LBu]
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 conditions, and further, the lightness change amount is calculated to be as small as possible so as to preserve the lightness as much as possible in the middle part of the table.

図41Aおよび41Bは、本実施例における入出力関数p(・)の一例を示す図である。図41Aにおいては、台の中間部において明度がほぼ保たれる一方、低明度付近および高明度付近では大きく圧縮される。因みに、LBL=40、LBLm=45、LBU=68、LBUm=64である。 41A and 41B are diagrams showing an example of the input / output function p (•) in the present embodiment. In FIG. 41A, 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.

また、図41Bにおいては明度の変化が大きいため、台の中間部において明度を保存する機能が働いているものの完全には保存していない。低明度付近では大きく伸長され、高明度付近では大きく圧縮される。因みに、LBL=60、LBLm=46、LBU=84、LBUm=75である。 In FIG. 41B, since the change in brightness is large, the function of saving the brightness is working 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.

続いて、ステップS3904において求めた入出力関数p(・)を用いて、色Mの写像前の明度Lmに対して写像後の明度Lmmapped=p(Lm)を求めて明度調整写像を行い(S3906)、明度調整色域写像がLUTの全格子点について行われたかを判定し(S3907)、すべての格子点の写像処理が終了するまでステップS3902〜S3906を繰り返す。 Subsequently, using the input / output function p (·) obtained in step S3904, the lightness L m mapped = p (L m ) after mapping is obtained for the lightness Lm before mapping of the color M, and the lightness adjustment mapping is performed. (S3906), it is determined whether the lightness adjustment color gamut mapping has been performed for all grid points of the LUT (S3907), and steps S3902 to S3906 are repeated until the mapping process for all grid points is completed.

以上の処理により、図34に示す第一の中間写像色再現域3401は、同図に示す第二の中間写像色再現域3402へ写像される。   Through the above processing, the first intermediate mapped color reproduction range 3401 shown in FIG. 34 is mapped to the second intermediate mapped color reproduction range 3402 shown in FIG.

[彩度調整色域写像(S3207)]
図42は彩度調整色域写像処理を説明するフローチャートである。
[Saturation adjustment color gamut mapping (S3207)]
FIG. 42 is a flowchart for explaining the saturation adjustment color gamut mapping process.

まず、写像制御パラメータの彩度制御パラメータに基づいて、彩度ごとの彩度調整値を算出するための関数ChTune(・)を算出する(S4201)。この関数は、12の調整色相ごとの彩度調整値を一次スプライン、すなわち直線で結んだ関数として算出される。図43は彩度調整値算出用の関数ChTune(・)の一例を示す図で、横軸は、a*b*色度座標系においてb*軸正方向を色相角0radとし、反時計方向への回転を正としたラジアン表記により色相角を表している。   First, based on the saturation control parameter of the mapping control parameter, a function ChTune (•) for calculating a saturation adjustment value for each saturation is calculated (S4201). This function is calculated as a function obtained by connecting saturation adjustment values for each of twelve adjustment hues with primary splines, that is, straight lines. Fig. 43 is a diagram showing an example of the function for adjusting the saturation adjustment value ChTune (・). The horizontal axis is the a * b * chromaticity coordinate system where the positive direction of the b * axis is 0 rad and the counterclockwise direction The hue angle is expressed in radians with positive rotation.

次に、写像対象の色Mを定める(S4202)。この色Mは、第二の中間写像色再現域3402における色である。続いて、色Mに対する彩度調整値Chを関数ChTune(・)を用いて次のように算出する(S4203)。
Ch = ChTune(Huem)
ここで、Huemは色Mの色相
Next, a color M to be mapped is determined (S4202). This color M is a color in the second intermediate mapping color reproduction range 3402. Subsequently, the saturation adjustment value Ch for the color M is calculated as follows using the function ChTune (•) (S4203).
Ch = ChTune (Hue m )
Where Hue m is the hue of color M

次に、色Mと同一の明度、同一の色相における写像色再現域境界Bpを計算し(S4204)、色Mと同一の明度、同一の色相における第二の中間写像色再現域3402の境界Biを計算する(S4205)。図44は色M、色Bpおよび色Biの関係を模式的に示す図で、実線は第二の中間写像色再現域3402の境界を、一点鎖線は写像色再現域の境界を、破線はプリンタ色再現域をそれぞれ表す。   Next, a mapped color gamut boundary Bp with the same brightness and the same hue as the color M is calculated (S4204), and a boundary Bi of the second intermediate mapped color gamut 3402 with the same brightness and the same hue as the color M is calculated. Is calculated (S4205). Fig. 44 is a diagram schematically showing the relationship among color M, color Bp, and color Bi, where the solid line indicates the boundary of the second intermediate mapped color reproduction area 3402, the alternate long and short dash line indicates the boundary of the mapped color reproduction area, and the broken line indicates the printer. Each color gamut is represented.

次に、以上のステップにおいて算出した色Biおよび色Bpから彩度調整写像を行う入出力関数としてC2連続な三次スプライン関数q(・)を算出する(S4206)。入出力関数q(・)は、本実施例では下記の条件を満たす。
q(・)の台は[0, ci]
q(0) = 0
q(ci) = cp
q'(0) = Ch
q'(ci) = γ
q'(x) ≠ 0 (0 ≦ x ≦ ci)
ここで、cpは色Bpの彩度
ciは色Biの彩度
γ(>0)は最大彩度付近の彩度調整の拡大率/圧縮率を制御する値で
自動的に定められる
Next, a C2 continuous cubic spline function q (•) is calculated as an input / output function for performing saturation adjustment mapping from the colors Bi and Bp calculated in the above steps (S4206). The input / output function q (•) satisfies the following condition in this embodiment.
The base of q (•) is [0, ci]
q (0) = 0
q (ci) = cp
q '(0) = Ch
q '(ci) = γ
q '(x) ≠ 0 (0 ≤ x ≤ ci)
Where cp is the saturation of the color Bp
ci is the saturation of the color Bi
γ (> 0) is a value that controls the enlargement / compression ratio of saturation adjustment around the maximum saturation.
Determined automatically

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

次に、入出力関数q(・)を用いて色Mの彩度を変換する(S4207)。色Cの、変換前の彩度をCorg、変換後の彩度をCmodと表記するとCmod=q(Corg)になる。   Next, the saturation of the color M is converted using the input / output function q (•) (S4207). If the saturation of the color C before conversion is expressed as Corg, and the saturation after conversion as Cmod, Cmod = q (Corg).

最後に、以上の彩度調整写像処理がLUTの全格子点について行われたか否かを判定し(S4208)、すべての格子点について彩度写像処理が終了するまでステップS4202〜S4208を繰り返す。   Finally, it is determined whether or not the above saturation adjustment mapping process has been performed for all grid points of the LUT (S4208), and steps S4202 to S4208 are repeated until the saturation mapping process is completed for all grid points.

以上述べた処理により、図35に示す第二の中間写像色再現域3501は、同図に示す写像色再現域3502へ写像される。   Through the processing described above, the second intermediate mapped color reproduction range 3501 shown in FIG. 35 is mapped to the mapped color reproduction range 3502 shown in FIG.

[変形例]
上記の実施例においては擬似三次元表示するための色空間としてL*a*b*色空間を用いたが、他にもL*u*v*色空間、XYZ色空間、あるいは、デバイスディペンデントなRGB色空間やCMY色空間を用いることが可能である。
[Modification]
In the above embodiment, the L * a * b * color space is used as the color space for the pseudo three-dimensional display, but other L * u * v * color space, XYZ color space, or device dependency Dent RGB color space or CMY color space can be used.

上記実施例においては、RGBCMYといった予め定められた領域の面/線データを生成・表示したが、ユーザに指定された任意の面/線データを生成することも可能である。図46は、ユーザが、任意の面/線データをRGB色空間の値で設定するためのUIを示す図である。ユーザは、このUIを用いて、線データの場合は端点の二点のRGB値を、面データの場合はRGB色空間上に所望する面を張る三点のRGB値を指定する。図47は、図46のUIに設定されたRGB値(橙とシアンを結ぶラインが指定されている)に対応する、L*a*b*色空間における表示例を示す図である。   In the above embodiment, plane / line data of a predetermined area such as RGBCMY is generated and displayed. However, any plane / line data designated by the user can be generated. FIG. 46 is a diagram showing a UI for the user to set arbitrary plane / line data with values in the RGB color space. Using this UI, the user designates RGB values of two end points in the case of line data, and designates RGB values of three points that stretch a desired surface in the RGB color space in the case of surface data. FIG. 47 is a diagram illustrating a display example in the L * a * b * color space corresponding to the RGB value (a line connecting orange and cyan is set) set in the UI of FIG.

[他の実施例]
なお、本発明は、複数の機器(例えばホストコンピュータ、インタフェイス機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用してもよい。
[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)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施例の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施例の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施例の機能が実現される場合も含まれることは言うまでもない。   Also, an object of the present invention is to supply a storage medium (or recording medium) on which a program code of software that realizes the functions of the above-described embodiments is recorded to a system or apparatus, and the computer (or CPU or CPU) of the system or apparatus. Needless to say, this can also be achieved by the MPU) reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an operating system (OS) running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施例の機能が実現される場合も含まれることは言うまでもない。   Furthermore, after the program code read from the storage medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the function is determined based on the instruction of the program code. Needless to say, the CPU of the expansion card or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明したフローチャートに対応するプログラムコードが格納されることになる。   When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the flowcharts described above.

実施例の色信号変換装置の構成例を示すブロック図、A block diagram showing a configuration example of a color signal conversion device of an embodiment, プリンタドライバ動作を説明するフローチャート、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に記述された各格子点の変換後のL*a*b*情報を色分布情報として、L*a*b*色空間上に擬似三次元表示した例を示す図、A diagram showing an example of pseudo-three-dimensional display on the L * a * b * color space as L * a * b * information after conversion of each lattice point described in the color correction LUT, as color distribution information, 擬似三次元表示を制御するとともに色補正LUTを調整するためのユーザインタフェイスを示す図、A diagram showing a user interface for controlling the pseudo three-dimensional display and adjusting the color correction LUT, 色補正LUT作成アプリケーションの動作を説明する状態遷移図、State transition diagram explaining the operation of the color correction LUT creation application, メッセージマップを示す図、Figure showing a message map, 写像・表示対象選択用のダイアログを示す図、Figure showing dialog for selecting mapping / display target, 線オブジェクトデータ表示の一例を示す図、The figure which shows an example of a line object data display, 線オブジェクトデータ表示の一例を示す図、The figure which shows an example of a line object data display, 線オブジェクトデータ表示の一例を示す図、The figure which shows an example of a line object data display, 表示・写像対象情報に応じた色域写像・3D/線/面オブジェクトデータの生成を説明するフローチャート、Flowchart explaining generation of color gamut mapping and 3D / line / plane object data according to display / mapping target information, 各格子点により形成される最小の四角形から生成される三角形の組み合わせを説明する図、The figure explaining the combination of the triangle produced | generated from the minimum quadrangle formed by each lattice point, 面オブジェクトデータ生成用の三角形の生成を模式的に示す図、A diagram schematically showing generation of a triangle for generating plane object data, 面オブジェクトデータ生成用の三角形の生成を模式的に示す図、A diagram schematically showing generation of a triangle for generating plane object data, 面オブジェクトデータの表示例を示す図、The figure which shows the example of display of plane object data, 線オブジェクトデータ生成用のラインの生成を模式的に示す図、A diagram schematically showing generation of a line for generating line object data, 表示形態選択用のユーザインタフェイスを示す図、The figure which shows the user interface for a display form selection, 表示格子範囲設定用のユーザインタフェイスを示す図、The figure which shows the user interface for display lattice range setting, 表示色相範囲選択用のユーザインタフェイスを示す図、The figure which shows the user interface for display hue range selection, ワイヤフレーム表示が選択された場合のモニタ表示例を示す図、The figure which shows the example of a monitor display when wireframe display is selected, ポイント表示が選択された場合のモニタ表示例を示す図、The figure which shows the monitor display example when point display is selected, 写像・表示対象データが面データの場合に、ワイヤフレーム表示が選択された場合のモニタ表示例を示す図、The figure which shows the example of a monitor display when wireframe display is selected when mapping and display object data is surface data, 3Dオブジェクトデータ表示例を示す図、The figure which shows the example of 3D object data display, RGB色空間における表示格子範囲を説明する図、A diagram illustrating the display grid range in the RGB color space, 写像・表示対象データとして面データが選択されている場合の表示例を示す図、A diagram showing a display example when surface data is selected as mapping / display target data, RGB色空間における表示色相領域を模式的に示す図、A diagram schematically showing the display hue area in the RGB color space, 表示色相範囲にMR領域が選択された場合の表示例を示す図、A diagram showing a display example when the MR region is selected as the display hue range, 写像・表示対象データとしてR-G-B-C-M-Yラインが選択された状態で、表示色相範囲にMR領域が選択された場合の表示例を示す図、A diagram showing a display example when an MR region is selected as a display hue range in a state where the R-G-B-C-M-Y line is selected as mapping / display target data, 明るさ調整用のユーザインタフェイスを示す図、The figure which shows the user interface for brightness adjustment, 色相調整用のユーザインタフェイスを示す図、The figure which shows the user interface for hue adjustment, 彩度調整用のユーザインタフェイスを示す図である。It is a figure which shows the user interface for saturation adjustment. 色域写像処理の詳細を示すフローチャート、A flowchart showing details of color gamut mapping processing; モニタ色再現域、第一の中間写像色再現域およびプリンタ色再現域を説明する図、A diagram for explaining a monitor color reproduction range, a first intermediate mapping color reproduction range, and a printer color reproduction range, 第一の中間写像色再現域、第二の中間写像色再現域およびプリンタ色再現域を説明する図、The figure explaining the 1st intermediate mapping color reproduction range, the 2nd intermediate mapping color reproduction range, and the printer color reproduction range, 第二の中間写像色再現域、写像色再現域およびプリンタ色再現域を説明する図、A diagram for explaining the second intermediate mapping color reproduction range, mapping color reproduction range, and printer color reproduction range, 明度成分の非線型写像特性を示す図、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 illustrating mapping of hue components; 色相入出力関数の一例を示す図、Figure showing an example of hue input / output function 色相入出力関数の一例を示す図、Figure showing an example of hue input / output function 明度調整色域写像処理を説明するフローチャート、A flowchart for explaining brightness adjustment color gamut mapping processing; 色M、第一の中間写像色再現域の上部境界BUおよび下部境界BL、並びに、第二の中間写像色再現域の上部境界BUmappedおよび下限境界BLmappedの関係を示す図、A diagram showing a relationship between the color M, the upper boundary B U and the lower boundary B L of the first intermediate mapping color reproduction range, and the upper boundary B U mapped and the lower limit boundary B L mapped of the second intermediate mapping color reproduction range, 入出力関数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 saturation adjustment color gamut mapping processing; 彩度調整値算出用の関数ChTune(・)の一例を示す図、The figure which shows an example of the function ChTune (*) for saturation adjustment value calculation, 色M、色Bpおよび色Biの関係を模式的に示す図、A diagram schematically showing the relationship between the color M, the color Bp, and the color Bi, 入出力関数q(・)の一例を示す図、A diagram showing an example of the input / output function q ( 入出力関数q(・)の一例を示す図、A diagram showing an example of the input / output function q ( 任意の面/線データをRGB色空間の値で設定するためのユーザインタフェイスを示す図、The figure which shows the user interface for setting arbitrary surface / line data with the value of RGB color space, 図46のUIに設定されたRGB値に対応する、L*a*b*色空間における表示例を示す図である。47 is a diagram showing a display example in the L * a * b * color space corresponding to the RGB values set in the UI in FIG. 46. FIG.

Claims (17)

擬似三次元表示に基づき色再現を調整するための色再現編集装置であって、
前記擬似三次元表示の表示形態を選択させるための形態選択手段と、
前記色再現の調整量を設定させるための調整手段と、
立体、面および線の組み合わせからなる物体情報の表示部分を選択させるための表示選択手段と、
選択された表示部分の物体情報の生成に必要な写像を行う写像手段と、
選択された表示形態、設定された調整量、および、前記選択された表示部分に従い、前記物体情報の写像結果から前記擬似三次元表示するためのデータを生成する生成手段とを有することを特徴とする色再現編集装置。
A color reproduction editing device for adjusting color reproduction based on pseudo three-dimensional display,
Form selection means for selecting a display form of the pseudo three-dimensional display;
Adjusting means for setting the adjustment amount of the color reproduction;
Display selection means for selecting a display portion of object information composed of a combination of a solid, a surface and a line;
Mapping means for performing mapping necessary for generating object information of the selected display portion;
And generating means for generating data for the pseudo three-dimensional display from the mapping result of the object information according to the selected display form, the set adjustment amount, and the selected display portion. Color reproduction editing device.
前記生成手段は、前記選択された表示形態、前記設定された調整量、および、前記選択された表示部分の変更に伴い、随時、前記擬似三次元表示するためのデータを更新することを特徴とする請求項1に記載された色再現編集装置。   The generating means updates the data for the pseudo three-dimensional display as needed in accordance with the change of the selected display form, the set adjustment amount, and the selected display portion. The color reproduction editing apparatus according to claim 1. 前記写像手段は、色域写像によって前記写像を行うことを特徴とする請求項1または請求項2に記載された色再現編集装置。   3. The color reproduction editing apparatus according to claim 1, wherein the mapping unit performs the mapping by a color gamut mapping. 前記写像手段は、第一の表色系に規則的に配置された色の写像結果を、前記第一の表色系と同一もしくは異なる第二の表色系において算出することで色再現情報を生成し、前記生成手段は、前記色再現情報に基づいて前記物体情報を構成し、前記擬似三次元表示するためのデータを生成することを特徴とする請求項1から請求項3の何れかに記載された色再現編集装置。   The mapping means calculates color reproduction information by calculating a mapping result of colors regularly arranged in the first color system in a second color system that is the same as or different from the first color system. 4. The method according to claim 1, wherein the generation unit generates the data for configuring the object information based on the color reproduction information and displaying the pseudo three-dimensional display. The described color reproduction editing device. さらに、前記生成手段の物体情報の構成動作を指示させるための指示手段を有することを特徴とする請求項4に記載された色再現編集装置。   5. The color reproduction editing apparatus according to claim 4, further comprising instruction means for instructing a composition operation of the object information of the generation means. 前記生成手段は、前記形態選択手段により設定される前記第一の表色系における表示格子範囲、および、前記表示選択手段により選択された表示部分に存在する標本点が、前記第二の表色系において取り得る色座標を色分布情報より取得して前記物体情報を構成することを特徴とする請求項4に記載された色再現編集装置。   The generation unit includes a display grid range in the first color system set by the form selection unit, and a sample point existing in a display portion selected by the display selection unit is the second color specification. 5. The color reproduction editing apparatus according to claim 4, wherein the object information is configured by acquiring color coordinates that can be taken in the system from color distribution information. 前記生成手段は、前記形態選択手段により設定される表示色相範囲、前記第一の表色系における格子原点、および、前記原点と対角に位置する最外郭格子点に基づき選択される四つの格子点から四面体を構成し、前記四面体内かつ前記表示選択手段により選択された表示部分に存在する標本点が、前記第二の表色系において取る写像値を取得して前記物体情報を構成することを特徴とする請求項4に記載された色再現編集装置。   The generation means includes four hues selected based on a display hue range set by the form selection means, a lattice origin in the first color system, and an outermost lattice point diagonally located with respect to the origin. A tetrahedron is configured from the points, and the object information is configured by acquiring a mapping value taken by the sample point existing in the tetrahedron and in the display portion selected by the display selection means in the second color system. 5. The color reproduction editing apparatus according to claim 4, wherein 前記生成手段は、前記表示選択手段により選択される三次元物体の表面情報の表示形態に応じて、ポイントモデル表示、ワイヤフレームモデル表示またはポリゴンモデル表示により前記擬似三次元表示するためのデータを生成することを特徴とする請求項4に記載された色再現編集装置。   The generation unit generates data for the pseudo three-dimensional display by a point model display, a wire frame model display, or a polygon model display according to a display form of the surface information of the three-dimensional object selected by the display selection unit. 5. The color reproduction editing apparatus according to claim 4, wherein 前記生成手段は、前記第一の表色系におけるホワイト(W)、ブラック(Bk)、および、RGBCMYの各色からなる三角形上に存在する格子点を、前記第二の表色系における写像値に変換することで、面からなる前記物体情報を構成することを特徴とする請求項4に記載された色再現編集装置。   The generating means converts the grid points present on a triangle formed of each color of white (W), black (Bk), and RGBCMY in the first color system into mapping values in the second color system. 5. The color reproduction editing apparatus according to claim 4, wherein the object information including a surface is formed by conversion. 前記生成手段は、前記第一の表色系における任意の三点から定義される面上の格子点を、前記第二の表色系における写像値に変換することで、面からなる前記物体情報を構成することを特徴とする請求項4に記載された色再現編集装置。   The generating means converts the lattice points on the surface defined from arbitrary three points in the first color system into map values in the second color system, thereby the object information including the surface. 5. The color reproduction editing apparatus according to claim 4, wherein the color reproduction editing apparatus is configured. 前記生成手段は、前記第一の表色系におけるホワイト(W)、ブラック(Bk)、および、RGBCMYの各色を結ぶ線上に存在する格子点を、前記第二の表色系における写像値に変換することで、線からなる前記物体情報を構成することを特徴とする請求項4に記載された色再現編集装置。   The generating means converts a grid point existing on a line connecting each color of white (W), black (Bk), and RGBCMY in the first color system into a mapping value in the second color system. 5. The color reproduction editing apparatus according to claim 4, wherein the object information including lines is configured. 前記生成手段は、前記第一の表色系におけるホワイト(W)とブラック(Bk)を結ぶ線上に存在する格子点を、前記第二の表色系における写像値に変換することで、線からなる前記物体情報を構成することを特徴とする請求項4に記載された色再現編集装置。   The generating means converts the grid points existing on the line connecting white (W) and black (Bk) in the first color system into map values in the second color system, thereby 5. The color reproduction editing apparatus according to claim 4, wherein the object information is configured as follows. 前記生成手段は、前記第一の表色系における任意の二点を結ぶ線上に存在する格子点を、前記第二の表色系における写像値に変換することで、線からなる前記物体情報を構成することを特徴とする請求項4に記載された色再現編集装置。   The generating means converts the grid point existing on a line connecting any two points in the first color system to a mapping value in the second color system, thereby converting the object information composed of lines. 5. The color reproduction editing apparatus according to claim 4, wherein the color reproduction editing apparatus is configured. 前記調整手段は、色相ごとに彩度を制御する彩度制御手段、全体的な明度を制御する明度制御手段、色相を制御する色相制御手段の少なくとも一つを有することを特徴とする請求項1に記載された色再現編集装置。   2. The adjustment unit includes at least one of a saturation control unit that controls saturation for each hue, a brightness control unit that controls overall brightness, and a hue control unit that controls hue. The color reproduction editing device described in 1. 擬似三次元表示に基づき色再現を調整するための色再現編集方法であって、
前記擬似三次元表示の表示形態を選択させ、
前記色再現の調整量を設定させ、
立体、面および線の組み合わせからなる物体情報の表示部分を選択させ、
選択された表示部分の物体情報の生成に必要な写像を行い、
選択された表示形態、設定された調整量、および、前記選択された表示部分に従い、前記物体情報の写像結果から前記擬似三次元表示するためのデータを生成することを特徴とする色再現編集方法。
A color reproduction editing method for adjusting color reproduction based on pseudo three-dimensional display,
Select the display form of the pseudo three-dimensional display,
Set the color reproduction adjustment amount,
Select the object information display part consisting of a combination of solid, surface and line,
Perform mapping necessary to generate object information for the selected display part,
According to a selected display form, a set adjustment amount, and the selected display portion, data for editing the pseudo three-dimensional display is generated from the mapping result of the object information. .
情報処理装置を制御して、請求項15に記載された色再現編集を実行することを特徴とするプログラム。   16. A program that controls an information processing apparatus to execute color reproduction editing according to claim 15. 請求項16に記載されたプログラムが記録されたことを特徴とする記録媒体。   17. A recording medium on which the program according to claim 16 is recorded.
JP2003416613A 2003-12-15 2003-12-15 Color reproduction editing apparatus and method thereof Withdrawn JP2005176202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003416613A JP2005176202A (en) 2003-12-15 2003-12-15 Color reproduction editing apparatus and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003416613A JP2005176202A (en) 2003-12-15 2003-12-15 Color reproduction editing apparatus and method thereof

Publications (1)

Publication Number Publication Date
JP2005176202A true JP2005176202A (en) 2005-06-30

Family

ID=34735760

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003416613A Withdrawn JP2005176202A (en) 2003-12-15 2003-12-15 Color reproduction editing apparatus and method thereof

Country Status (1)

Country Link
JP (1) JP2005176202A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1871089A2 (en) 2006-06-23 2007-12-26 Fujitsu Ltd. Color adjusting program, aparatus and method
JP2011061542A (en) * 2009-09-10 2011-03-24 Fujifilm Corp Color information processor and its program
US8451290B2 (en) 2007-12-03 2013-05-28 Samsung Electronics Co., Ltd. Apparatus and method for converting color of an image

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1871089A2 (en) 2006-06-23 2007-12-26 Fujitsu Ltd. Color adjusting program, aparatus and method
EP1871089A3 (en) * 2006-06-23 2008-12-03 Fujitsu Ltd. Color adjusting program, aparatus and method
US7800781B2 (en) 2006-06-23 2010-09-21 Fujitsu Limited Recording medium and color adjusting apparatus
US8451290B2 (en) 2007-12-03 2013-05-28 Samsung Electronics Co., Ltd. Apparatus and method for converting color of an image
JP2011061542A (en) * 2009-09-10 2011-03-24 Fujifilm Corp Color information processor and its program

Similar Documents

Publication Publication Date Title
JP4263131B2 (en) Color conversion method and image processing apparatus
JP2007274586A (en) Color processing method and apparatus thereof
JP2006345187A (en) Color processing method and device thereof
JP2007074414A (en) Color processing method and its device
JP2007274584A (en) Color processing method and device thereof
JP2008141237A (en) Color processing apparatus and its method
JP5025323B2 (en) Color processing apparatus and method
JP2007274585A (en) Color processor
JP2005176202A (en) Color reproduction editing apparatus and method thereof
JP5159565B2 (en) Color processing apparatus and method
JP4501321B2 (en) Color gamut compression method
JP4528805B2 (en) Image forming apparatus, image processing method, and image processing program
JP4182023B2 (en) Color processing apparatus and method
JP2006121432A (en) Image processor and correction processing method therein
JP2015126301A (en) Image processor and image processing method
JP2009038593A (en) Color processing apparatus and method
JP2008072550A (en) Color processing method, color processing apparatus, image forming apparatus, program and recording medium
JP2005269443A (en) Method and apparatus for image processing, program and recording medium
JP2005176203A (en) Color reproduction editing apparatus
JP2004200938A (en) Image processor and image processing method
JP2007081886A (en) Drawing processing apparatus
JPH0799586A (en) Color conversion device
JP2005176200A (en) Color signal converting apparatus and method thereof
JP2001043344A (en) Picture processor and picture processing method
JP2009296139A (en) Image processor, image processing method and computer program

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