Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4455456B2 - Color processing method and apparatus - Google Patents
[go: Go Back, main page]

JP4455456B2 - Color processing method and apparatus - Google Patents

Color processing method and apparatus Download PDF

Info

Publication number
JP4455456B2
JP4455456B2 JP2005252476A JP2005252476A JP4455456B2 JP 4455456 B2 JP4455456 B2 JP 4455456B2 JP 2005252476 A JP2005252476 A JP 2005252476A JP 2005252476 A JP2005252476 A JP 2005252476A JP 4455456 B2 JP4455456 B2 JP 4455456B2
Authority
JP
Japan
Prior art keywords
conversion
color
identification information
data
input
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.)
Expired - Fee Related
Application number
JP2005252476A
Other languages
Japanese (ja)
Other versions
JP2007067937A (en
JP2007067937A5 (en
Inventor
秀恭 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2005252476A priority Critical patent/JP4455456B2/en
Publication of JP2007067937A publication Critical patent/JP2007067937A/en
Publication of JP2007067937A5 publication Critical patent/JP2007067937A5/ja
Application granted granted Critical
Publication of JP4455456B2 publication Critical patent/JP4455456B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

本発明は、入力デバイスの画像データを出力デバイス用の画像データに変換する色処理に関する。   The present invention relates to color processing for converting image data of an input device into image data for an output device.

入力側と出力側の観察条件に依存せず、入力画像と出力画像の高精度なカラーマッチングを実現する方法としては例えば特開2000-50086号公報に記載された技術がある。この技術は、まず、入力デバイスの色空間に依存する入力データを、変換テーブル、変換マトリクスまたは変換関数(以下、まとめて「変換機能」と呼ぶ )により、入力側の観察条件に基づくデバイスに依存しない色空間のデータに変換する。次に、そのデータを、順変換部により、人間の色知覚空間のデータに色空間変換する。さらに、色空間変換したデータを、逆変換部により、出力側の観察条件に基づくデバイスに依存しない色空間のデータへ変換する。そして、そのデータを変換機能により出力デバイスに依存する色空間の出力データヘ変換する。   As a method for realizing high-accuracy color matching between an input image and an output image without depending on observation conditions on the input side and the output side, for example, there is a technique described in Japanese Patent Laid-Open No. 2000-50086. In this technology, first, input data that depends on the color space of the input device depends on the device based on the observation conditions on the input side using a conversion table, conversion matrix, or conversion function (hereinafter collectively referred to as “conversion function”). Convert to color space data. Next, the data is color space converted into human color perception space data by the forward conversion unit. Furthermore, the color space-converted data is converted into data in a color space that does not depend on the device based on the viewing condition on the output side by the inverse conversion unit. Then, the data is converted into output data in a color space depending on the output device by a conversion function.

入力側と出力側で異なる観察条件を処理し、かつ、入力側と出力側の間に存在するデバイスに固有の、利用可能な色空間の差異を吸収するための色域変換処理も必要とする。そのため、入力画像上の全画素について本処理の計算を順次行うと、出力画像を得るまでに非常に時間がかかる。   Processes different viewing conditions on the input and output sides, and also requires a gamut conversion process to absorb the differences in available color space inherent to the devices that exist between the input and output sides . For this reason, if calculation of this processing is sequentially performed for all pixels on the input image, it takes a very long time to obtain an output image.

そこで、予め変換機能に対応する変換テーブルを作成してキャッシュする。そして、実際のマッチング処理は、キャッシュした変換テーブル(キャッシュデータ)を利用して行うことが考えられる。   Therefore, a conversion table corresponding to the conversion function is created and cached in advance. The actual matching process can be performed using a cached conversion table (cache data).

しかし、上記のキャッシュデータの作成には時間がかかる。従って、デバイスドライバのインストール後の最初の印刷前にキャッシュデータを作成すれば、印刷処理全体が遅くなり、ユーザには歓迎されない。   However, it takes time to create the cache data. Therefore, if the cache data is created before the first printing after the installation of the device driver, the entire printing process is delayed and is not welcomed by the user.

そこで、デバイスドライバなどのインストール時にキャッシュデータを作成する方法が考えられるが、入出力デバイスの組み合わせが多い場合、今度は、インストール時間が長くなり、やはりユーザには歓迎されない。   Therefore, a method of creating cache data at the time of installation of a device driver or the like is conceivable. However, when there are many combinations of input / output devices, the installation time becomes longer and is not welcomed by the user.

とくに、昨今のシステムの色域変換モジュールは、入出力デバイスの特性を判断し、それぞれの特性を最大限に発揮するように機能することが期待されている。従って、ますますキャッシュデータの作成に時間がかかることになる。   In particular, the color gamut conversion module of recent systems is expected to function so as to judge the characteristics of the input / output devices and to maximize the respective characteristics. Therefore, it takes time to create cache data.

また、特開平7-36675号公報は、情報処理装置にソフトウェアなどを更新インストールする際、以前インストールしたデータファイルを確認、参照しながら、更新インストールを行う機能を開示する。また、アプリケーションソフトなどのインストールや実行に必要なリソースのインストールや、インストールや実行に先立つチェック機能を開示する。   Japanese Patent Laid-Open No. 7-36675 discloses a function for performing update installation while confirming and referring to a previously installed data file when software and the like are installed in an information processing apparatus. Also disclosed is the installation of resources necessary for installation and execution of application software and the check function prior to installation and execution.

特開2000-50086号公報JP 2000-50086 特開平7-36675号公報Japanese Unexamined Patent Publication No. 7-36675

本発明は、キャッシュした統合変換データに組み合わされた変換の何れかが変更された場合、キャッシュした統合変換データを適切に更新または削除することを目的とする。 An object of the present invention is to appropriately update or delete cached integrated conversion data when any of conversions combined with cached integrated conversion data is changed .

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

本発明にかかる色処理は、入力デバイスに依存する色空間のデータにデバイスに依存しない色空間のデータに変換する入力変換、入力観察条件に基づく色知覚モデルの順変換、出力デバイスの色域のデータに変換する色域変換、出力観察条件に基づく前記色知覚モデルの逆変換、前記出力デバイスに依存する色空間のデータに変換する出力変換をを含む色変換を施す際に、前記入力変換、前記順変換、前記色域変換、前記逆変換および前記出力変換をそれぞれ行うために必要なモジュールおよびプロファイルをメモリに格納し、前記入力変換、前記順変換、前記色域変換、前記逆変換および前記出力変換の変換特性を組み合わせた統合変換データを作成して前記メモリにキャッシュし、前記キャッシュされた統合変換データを管理するために、組み合わせ識別情報に対応させて前記入力変換に関する識別情報、前記順変換に関する識別情報、前記色域変換に関する識別情報、前記逆変換に関する識別情報および前記出力変換に関する識別情報の組み合わせを保持する第一の管理テーブルを前記メモリに格納し、前記キャッシュされた統合変換データの更新を管理するために、前記組み合わせ識別情報を保持する第二の管理テーブルを前記メモリに格納し、前記入力変換、前記色域変換または前記出力変換に関連するモジュールまたはプロファイルがインストールされると、前記第一の管理テーブルを参照して、前記インストールされたモジュールまたはプロファイルに対応する前記入力変換、前記色域変換または前記出力変換に関する識別情報を有する統合変換データの前記組み合わせ識別情報を取得し、前記第二の管理テーブルを参照して、前記取得した組み合わせ識別情報に対応する統合変換データ更新の対象か否かを判定し、前記取得した組み合わせ識別情報に対応する統合変換データが更新の対象と判定された場合は、前記インストールされたモジュールまたはプロファイルを用いて、前記組み合わせ識別情報に対応する前記キャッシュされた統合変換データを更新し、前記取得した組み合わせ識別情報に対応する統合変換データが更新の対象ではないと判定された場合は、前記組み合わせ識別情報に対応する前記キャッシュされた統合変換データおよび前記組み合わせ識別情報に対応する前記第一の管理テーブルのレコードを削除することを特徴とする。 The color processing according to the present invention includes input conversion that converts data in a color space that depends on an input device into data in a color space that does not depend on a device, forward conversion of a color perception model based on input observation conditions, and a color gamut of an output device. Input conversion when performing color conversion including color gamut conversion to be converted to data, inverse conversion of the color perception model based on output observation conditions, and output conversion to be converted to data in a color space depending on the output device. the forward transform, the stored color gamut conversion, the module and required profile the inverse transform and said output conversion a in order to perform the respective memory, the input conversion, the forward transformation, the gamut conversion, the inverse transformation and To create integrated conversion data combining the conversion characteristics of the output conversion, cache it in the memory, and manage the cached integrated conversion data First, holding a combination of identification information related to the input conversion, identification information related to the forward conversion, identification information related to the color gamut conversion, identification information related to the reverse conversion, and identification information related to the output conversion in association with the combination identification information In order to manage the update of the cached integrated conversion data, a second management table holding the combination identification information is stored in the memory, the input conversion, the color When a module or profile related to gamut conversion or the output conversion is installed , the input conversion, the gamut conversion, or the output corresponding to the installed module or profile is referred to the first management table. the set of integration transform data with identification information about the conversion Acquires Align identification information, by referring to the second management table, integrated conversion data corresponding to the acquired combination identification information to determine whether the update of the target, corresponding to the acquired combined identification information If the integrated conversion data is determined to be updated, the cached integrated conversion data corresponding to the combination identification information is updated using the installed module or profile, and the acquired combination identification information is added to the acquired combination identification information. When it is determined that the corresponding integrated conversion data is not an update target, the cached integrated conversion data corresponding to the combination identification information and the record of the first management table corresponding to the combination identification information are deleted. characterized in that it.

本発明によれば、キャッシュした統合変換データに組み合わされた変換の何れかが変更された場合、キャッシュした統合変換データを適切に更新または削除することができる。 According to the present invention, when any of the conversions combined with the cached integrated conversion data is changed, the cached integrated conversion data can be appropriately updated or deleted .

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

図1は実施例の画像処理装置の構成例を示す図である。   FIG. 1 is a diagram illustrating a configuration example of an image processing apparatus according to an embodiment.

CPU101は、RAM103をワークメモリとして、ROM102およびHDD108に格納されたプログラムを実行し、システムバス104を介して、後述する各構成を制御することで、後述する画像処理を含む様々な処理を実行する。 The CPU 101 uses the RAM 103 as a work memory, executes programs stored in the ROM 102 and the HDD 108 , and executes various processes including image processing described later by controlling each component described later via the system bus 104. To do.

入力インタフェイス105は、キーボードやマウス、ディジタルカメラ、スキャナなどの入力デバイス106を接続する例えばUSBやIEEE1394などのシリアルバスインタフェイスである。CPU 101は、入力インタフェイス105を介して、入力デバイス106からデータを読み込むことが可能である。なお、例えばディジタルカメラのモデル名や色域情報といった、入力デバイス106に固有のデバイス情報も読み込むことができる。   The input interface 105 is a serial bus interface such as USB or IEEE1394 for connecting an input device 106 such as a keyboard, mouse, digital camera, or scanner. The CPU 101 can read data from the input device 106 via the input interface 105. Note that device information unique to the input device 106, such as a digital camera model name and color gamut information, can also be read.

HDDインタフェイス107は、ハードディスクドライブ(HDD) 108や光ディスクドライブなどの二次記憶装置を接続する例えばシリアルATA (SATA)などのインタフェイスである。CPU 101は、HDDインタフェイス107を介してHDD 108のデータ読み出し、HDD 108にデータを書き込むことが可能である。さらに、CPU 101は、HDD 108に格納されたデータをRAM 103に展開し、同様に、RAM 103に展開されたデータをHDD 108に保存することができる。そして、CPU 101は、RAM 103に展開したHDD 108に格納されたデータをプログラムとみなし、実行することができる。   The HDD interface 107 is an interface such as serial ATA (SATA) for connecting a secondary storage device such as a hard disk drive (HDD) 108 or an optical disk drive. The CPU 101 can read data from the HDD 108 via the HDD interface 107 and write data to the HDD 108. Further, the CPU 101 can expand the data stored in the HDD 108 in the RAM 103 and similarly, can store the data expanded in the RAM 103 in the HDD 108. The CPU 101 can execute the data stored in the HDD 108 expanded in the RAM 103 as a program.

ビデオインタフェイス109は、モニタ110を接続するインタフェイスである。CPU 101は、ビデオインタフェイス109を制御して、任意の文字や画像をモニタ110に表示することができる。   The video interface 109 is an interface for connecting the monitor 110. The CPU 101 can control the video interface 109 to display an arbitrary character or image on the monitor 110.

出力インタフェイス111は、プリンタ、プロッタ、フィルムレコーダなどの出力デバイス112を接続する例えばUSBやIEEE1394などのシリアルバスインタフェイスである。CPU101は、出力インタフェイス111を介して出力デバイス112にデータを送り、印刷や記録を実行させることができる。また、入力デバイス106の場合と同様に、CPU101は、出力インタフェイス111を介して、出力デバイス112のモデル名や色域情報といった、出力デバイス112に固有のデバイス情報を読み込むことができる。なお、USBやIEEE1394などの双方向通信インタフェイスを利用すれば、入力インタフェイス105と出力インタフェイス111は一つにまとめることができる。 The output interface 111 is a serial bus interface such as USB or IEEE1394 for connecting an output device 112 such as a printer, plotter, or film recorder. The CPU 101 can send data to the output device 112 via the output interface 111 to execute printing and recording. Similarly to the case of the input device 106, the CPU 101 can read device information unique to the output device 112 such as the model name and color gamut information of the output device 112 via the output interface 111. If a bidirectional communication interface such as USB or IEEE1394 is used, the input interface 105 and the output interface 111 can be combined into one.

[カラーマッチグ処理の概略]
図18はカラーマッチングシステムの構成の概要を示すブロック図である。
[Outline of color matching process]
FIG. 18 is a block diagram showing an outline of the configuration of the color matching system.

入力変換部1101は、ソースデバイスの色空間のデータを、デバイスに依存しない色空間のデータに変換する。順変換部1102は、入力変換部1101から入力されるデータの色空間を色知覚空間JChまたはQMhへ変換する色知覚モデルの順変換部(CAM)である。色域変換部1103は、順変換部1102から入力されるデータに色域変換を施す。逆変換部1104は、色域変換部1103から入力されるデータの色空間をデバイスに依存しない色空間に変換する色知覚モデルの逆順変換部(CAM-1)である。出力変換部1105は、逆変換部1104から入力されるデータをデスティネーションデバイスの色空間のデータに変換する。 The input conversion unit 1101 converts the color space data of the source device into device-independent color space data. The forward conversion unit 1102 is a color perception model forward conversion unit (CAM) that converts the color space of the data input from the input conversion unit 1101 to the color perception space JCh or QMh. The color gamut conversion unit 1103 performs color gamut conversion on the data input from the forward conversion unit 1102. The inverse conversion unit 1104 is a color perception model reverse order conversion unit (CAM −1 ) that converts the color space of the data input from the color gamut conversion unit 1103 into a device-independent color space. The output conversion unit 1105 converts the data input from the inverse conversion unit 1104 into data in the color space of the destination device.

図19は、ソースデバイスがモニタ、ディスティネーションデバイスがCMYKプリンタの色変換用データを作成する手順を説明する図である。   FIG. 19 is a diagram illustrating a procedure for creating color conversion data for the source device as a monitor and the destination device as a CMYK printer.

まず、例えばLab色空間を均等に分割した格子点のLab値に対応する、RGBやCMYKなどの入力値1204をデバイス1205(モニタおよびCMYKプリンタ)に入力する。そして、デバイス1205が出力する色を測色機1201で測色して、入力したLab値に対するデバイス1205の出力値(Lab値)を取得する。こうして入力Lab値と出力Lab値の対応関係、つまりデバイス1205の色再現特性を示すデータを得る。デバイス特性値計算部1202は、この対応関係に基づき、デバイスごとの色変換用のデータ、モニタの例えばガンマ値、CMYKプリンタの例えばLUTを計算する。こうして得た色変換用のデータをメモリに保存するが、以下では、デバイスごとに作成され、メモリに保存された色変換用データ1203を「デバイスキャッシュ」と呼ぶ。デバイスキャッシュ1203を作成したデバイス1205の色変換を行う場合、再び図19に示す処理を行う必要はない。 First, for example, input values 1204 such as RGB and CMYK corresponding to Lab values of grid points obtained by equally dividing the Lab color space are input to the device 1205 (monitor and CMYK printer). Then, the color output by the device 1205 is measured by the colorimeter 1201, and the output value (Lab value) of the device 1205 with respect to the input Lab value is acquired. Thus, data indicating the correspondence between the input Lab value and the output Lab value, that is, the color reproduction characteristics of the device 1205 is obtained. Based on this correspondence, the device characteristic value calculation unit 1202 calculates data for color conversion for each device, a gamma value for a monitor, and a LUT for a CMYK printer, for example. The color conversion data thus obtained is stored in a memory. Hereinafter, the color conversion data 1203 created for each device and stored in the memory is referred to as a “device cache”. When performing color conversion of the device 1205 that has created the device cache 1203, it is not necessary to perform the processing shown in FIG. 19 again.

なお、以下では、デバイスキャッシュには、例えば、スキャナやディジタルカメラなどの入力機器の色変換用データも含む。また、デバイスの測色値から色変換用データを作成する方法は、図19に示される方法に限らず、公知の他の方法を適用しても構わない。   In the following description, the device cache includes data for color conversion of an input device such as a scanner or a digital camera. Further, the method for creating the color conversion data from the colorimetric values of the device is not limited to the method shown in FIG. 19, and other known methods may be applied.

図20は、図18の構成をデバイスキャッシュで置き換えた様子を示す図である。   FIG. 20 is a diagram showing a state where the configuration of FIG. 18 is replaced with a device cache.

入力変換部1101をソースデバイスキャッシュ1301に、出力変換部1105をデスティネーションデバイスキャッシュ1303にそれぞれ置き換える。さらに、順変換部1102、色域変換部1103、逆変換部1104の色域変換アルゴリズムを例えば彩度優先に特定すれば、図20にシステムの、ある入力値に対する出力値の関係を示す変換特性が固定される。従って、ソースデバイスキャッシュ1301、順変換部1102の変換特性、特定の色域変換アルゴリズムの色域変換部1103の変換特性、逆変換部1104の変換特性、ディスティネーションデバイスキャッシュ1303を統合することができる。つまり、ある色変換システム用の色変換データ1304を作成することができる。以下では、統合した色変換用のデータ1304を「システムキャッシュ」と呼ぶ。特定の入出力デバイスおよび色域変換アルゴリズムの組み合せに対応するカラーマッチング処理は、システムキャッシュにより、極めて短時間に実行することができる。 The input conversion unit 1101 is replaced with the source device cache 1301, and the output conversion unit 1105 is replaced with the destination device cache 1303. Further, if the color gamut conversion algorithm of the forward conversion unit 1102, the color gamut conversion unit 1103, and the reverse conversion unit 1104 is specified as, for example, saturation priority, the conversion characteristics indicating the relationship of the output value to a certain input value of the system shown in FIG. Is fixed. Accordingly, the source device cache 1301, the conversion characteristics of the forward conversion unit 1102, the conversion characteristics of the color gamut conversion unit 1103 of a specific color gamut conversion algorithm, the conversion characteristics of the inverse conversion unit 1104, and the destination device cache 1303 can be integrated. . That is, color conversion data 1304 for a certain color conversion system can be created. Hereinafter, the integrated color conversion data 1304 is referred to as a “system cache”. A color matching process corresponding to a combination of a specific input / output device and a color gamut conversion algorithm can be executed in a very short time by the system cache.

また、入力変換部1101、順変換部1102、逆変換部1104および出力変換部1105の変換データ、並びに、特定の色域変換アルゴリズムの色域変換部1103の変換特性(色域変換データ)をそれぞれキャッシュしたものを「部分キャッシュ」と呼ぶ。   Also, the conversion data of the input conversion unit 1101, the forward conversion unit 1102, the reverse conversion unit 1104, and the output conversion unit 1105, and the conversion characteristics (gamut conversion data) of the color gamut conversion unit 1103 of a specific color gamut conversion algorithm are shown. The cached one is called “partial cache”.

[機能構成]
図2は画像処理装置の機能構成例を示すブロック図で、CPU 101がプログラムを実行することにより実現される機能構成を示す図である。
[Function configuration]
FIG. 2 is a block diagram illustrating a functional configuration example of the image processing apparatus, and illustrates a functional configuration realized by the CPU 101 executing a program.

制御部201は、記憶部202に格納された各種データに基づき、後述する各構成を制御して画像処理を実行する。また、カラーサンプル216、システム特性作成部217を用いてシステム特性データを生成し記憶部202に保存する機能を備える。さらに、外部からインストールされるプロファイルやプラグインなどを記憶部202に格納し、記憶部202に格納した情報を適切に管理する役割を担う。なお、制御部201は、一般に、ROM 102やHDD 108に格納されたソフトウェアモジュールをRAM 103を使用してCPU 101が実行することで実現される。しかし、本実施例においては、後述される機能が実現される形態であればよく、その形態は限定されない。また、記憶部202は、制御部201が管理する各種情報やソフトウェアモジュールを格納するメモリであり、図1においては、ROM 102、RAM 103、HDD 108に存在する。   Based on various data stored in the storage unit 202, the control unit 201 controls each component described later and executes image processing. In addition, a function of generating system characteristic data using the color sample 216 and the system characteristic creating unit 217 and storing it in the storage unit 202 is provided. Further, it stores a profile or a plug-in installed from the outside in the storage unit 202, and plays a role of appropriately managing information stored in the storage unit 202. Note that the control unit 201 is generally realized by the CPU 101 executing software modules stored in the ROM 102 or the HDD 108 using the RAM 103. However, in the present embodiment, any form that realizes the functions described below may be used, and the form is not limited. The storage unit 202 is a memory for storing various information and software modules managed by the control unit 201. The storage unit 202 exists in the ROM 102, the RAM 103, and the HDD 108 in FIG.

入力変換部204は、制御部201の指示に基づき、入力切替部203を介して入力される入力デバイスに依存する色データを、デバイスに依存しない色空間(例えばXYZ色空間)のデータに変換する。その際、制御部201は、入力側の環境光の白色点基準(入力観察条件)、入力プロファイルなどの変換パラメータを入力変換部204に設定する。入力変換部204は、入力観察条件に基づき、例えば入力RGBデータを例えばXYZデータに変換する。   Based on an instruction from the control unit 201, the input conversion unit 204 converts color data depending on an input device input via the input switching unit 203 into data in a device-independent color space (for example, XYZ color space). . At that time, the control unit 201 sets conversion parameters such as a white point reference (input observation condition) and input profile of ambient light on the input side in the input conversion unit 204. The input conversion unit 204 converts, for example, input RGB data into, for example, XYZ data based on the input observation conditions.

また、入力変換部204は、変換処理の前後に必要に応じて、入力変換修正部205に色データを送って色補正を行う。入力変換修正部205は、入力変換部204から入力される色データに、制御部201から入力される指示やパラメータに応じて適切な色補正を施し、入力変換部204に戻す。   Further, the input conversion unit 204 performs color correction by sending color data to the input conversion correction unit 205 as necessary before and after the conversion process. The input conversion correction unit 205 performs appropriate color correction on the color data input from the input conversion unit 204 in accordance with instructions and parameters input from the control unit 201, and returns the color data to the input conversion unit 204.

順変換部206は、入力変換部204から入力される色データの色空間を色知覚空間JChまたはQMhへ変換する色知覚モデルの順変換部(CAM)である。色知覚モデルとしてCIECAM97sやCIECAM02などが知られている。なお、順変換部206の処理に必要なパラメータは、制御部201によって設定される。   The forward conversion unit 206 is a color perception model forward conversion unit (CAM) that converts the color space of the color data input from the input conversion unit 204 into the color perception space JCh or QMh. CIECAM97s and CIECAM02 are known as color perception models. Note that parameters necessary for the processing of the forward conversion unit 206 are set by the control unit 201.

切替部207は、制御部201の指示に従い、順変換部206から出力される色データを相対的な色域変換を行う色域変換部208または絶対的な色域変換を行う色域変換部209に入力する。   In accordance with an instruction from the control unit 201, the switching unit 207 is a color gamut conversion unit 208 that performs relative color gamut conversion on the color data output from the forward conversion unit 206 or a color gamut conversion unit 209 that performs absolute color gamut conversion. To enter.

色域変換部208は、入力される色データに、環境光の基準白色に相対的な色知覚空間で行うのに適した色域変換処理を施す。このような色域変換の代表例には、知覚的一致(Perceptual)、相対的一致(Relative Colorimetric)、および、彩度優先(Saturation)の色域マッピングがあげられる。   The color gamut conversion unit 208 performs color gamut conversion processing suitable for performing in a color perception space relative to the reference white color of ambient light on the input color data. Typical examples of such color gamut conversion include perceptual coincidence (Perceptual), relative coincidence (Relative Colorimetric), and saturation priority (Saturation) color gamut mapping.

一方、色域変換部209は、入力される色データに、照度レベルによって大きさが変化する絶対的な色知覚空間で行うのに適した色域変換処理を施す。このような色域変換の代表例には、絶対的一致(Absolute Colorimetric)の色域マッピングがあげられる。   On the other hand, the color gamut conversion unit 209 performs a color gamut conversion process suitable for performing in an absolute color perception space whose size changes depending on the illuminance level, on the input color data. A typical example of such color gamut conversion is absolute colorimetric color gamut mapping.

逆変換部210は、色域変換部209から入力される色データを例えばXYZデータに変換する、順変換部206と逆の色変換を行う色知覚モデルの逆変換部(CAM-1)である。なお、逆変換部210の処理に必要なパラメータは、制御部201によって設定される。 The inverse conversion unit 210 is an inverse conversion unit (CAM −1 ) of a color perception model that performs color conversion opposite to the forward conversion unit 206, which converts the color data input from the color gamut conversion unit 209 into, for example, XYZ data. . Note that parameters necessary for the processing of the inverse transform unit 210 are set by the control unit 201.

出力変換部211は、制御部201の指示に基づき、逆変換部210から入力される色データを、出力デバイスに依存する色空間のデータに変換する。その際、制御部201は、出力側の環境光の白色点基準(出力観察条件)、出力プロファイルなどの変換パラメータを出力変換部211に設定する。出力変換部211は、出力観察条件に基づき、例えばXYZデータを例えばCMYKデータに変換する。   Based on an instruction from the control unit 201, the output conversion unit 211 converts the color data input from the inverse conversion unit 210 into data in a color space depending on the output device. At this time, the control unit 201 sets conversion parameters such as a white point reference (output observation condition) and an output profile of the ambient light on the output side in the output conversion unit 211. The output conversion unit 211 converts, for example, XYZ data into, for example, CMYK data based on the output observation condition.

また、出力変換部211は、変換処理の前後に必要に応じて、出力変換修正部212に色データを送って色補正を行う。力変換修正部212は、出力変換部211から入力される色データに、制御部201から入力される指示やパラメータに応じて適切な色補正を施し、出力変換部211に戻す。 The output conversion unit 211 performs color correction by sending color data to the output conversion correction unit 212 as necessary before and after the conversion process. Output conversion correction unit 212, the color data inputted from the output conversion unit 211 performs appropriate color correction in accordance with the instructions and parameters input from the control unit 201, back to the output converter 211.

制御部201は、入力切替部203および出力切替部213を操作して、カラーマッチング処理の系統、つまり上記の入力変換部204から出力変換部211、または、システム特性適用部214を切り換える。また、入力変換部204の入力元を入力デバイスまたはカラーサンプル216に切り換える。さらに、出力変換部211の出力先を出力デバイスまたはシステム特性作成部217に切り換える。   The control unit 201 operates the input switching unit 203 and the output switching unit 213 to switch the color matching processing system, that is, the input conversion unit 204 to the output conversion unit 211 or the system characteristic application unit 214. The input source of the input conversion unit 204 is switched to the input device or the color sample 216. Further, the output destination of the output conversion unit 211 is switched to the output device or the system characteristic creation unit 217.

システム特性適用部214は、上記の入力変換部204から出力変換部211の処理を効率化するために用意されている。システム特性適用部214がカラーマッチング処理を行うために必要な変換特性データは、システム特性作成部217で生成された後、記憶部202に格納される。   The system characteristic application unit 214 is prepared to improve the efficiency of the processing from the input conversion unit 204 to the output conversion unit 211. Conversion characteristic data necessary for the system characteristic application unit 214 to perform color matching processing is generated by the system characteristic generation unit 217 and then stored in the storage unit 202.

また、入力変換部204および出力変換部211と同様に、システム特性適用部214は、適宜呼び出すことができるシステム特性修正部215を備える。システム特性修正部215は、システム特性適用部214から入力される色データに、制御部201から入力される指示やパラメータに応じた適切な色補正を施し、システム特性適用部214に戻す。   Similarly to the input conversion unit 204 and the output conversion unit 211, the system characteristic application unit 214 includes a system characteristic correction unit 215 that can be called as appropriate. The system characteristic correction unit 215 performs appropriate color correction on the color data input from the system characteristic application unit 214 in accordance with instructions and parameters input from the control unit 201, and returns to the system characteristic application unit 214.

カラーサンプル216は、システム特性適用部214が使用するデータを作成するために必要な例えばカラーパッチデータなどの色情報の集合である。図3はカラーサンプル216の構成例を示す図である。図3に示すように、カラーサンプル216は、例えば、各8ビットのRGBデータをさらに離散的な集合としたものである。システム特性作成部217は、このカラーサンプル216を入力変換部204から出力変換部211において処理した結果から、システム特性データを生成して記憶部202に後述するキャッシュデータ(システムキャッシュ)として格納する。   The color sample 216 is a set of color information such as color patch data necessary for creating data used by the system characteristic application unit 214. FIG. 3 is a diagram illustrating a configuration example of the color sample 216. As shown in FIG. 3, the color sample 216 is, for example, a further discrete set of 8-bit RGB data. The system characteristic creation unit 217 generates system characteristic data from the result of processing the color sample 216 from the input conversion unit 204 to the output conversion unit 211 and stores it in the storage unit 202 as cache data (system cache) described later.

インストール制御部218は、例えばプラグインなどのインストーラが利用することを想定した機能で、記憶部202に含まれる各種情報を適切に制御する機能をもつ。   The installation control unit 218 is a function that is assumed to be used by an installer such as a plug-in, and has a function of appropriately controlling various types of information included in the storage unit 202.

[システムキャッシュ]
図4はシステムキャッシュの作成処理を説明するフローチャートで、制御部201によって実行される処理である。
[System Cache]
FIG. 4 is a flowchart for explaining system cache creation processing, which is executed by the control unit 201.

制御部201は、入力切替部203と出力切替部213を操作して(S61)、カラーサンプル216入力変換部203へ入力し、出力変換部211の出力システム特性作成部217へ入力するように設定する。 The control unit 201 operates the input switching unit 203 and the output switching unit 213 (S61), inputs the color sample 216 to the input conversion unit 203, and inputs the output of the output conversion unit 211 to the system characteristic creation unit 217. Set to.

次に、制御部201は、作成するシステムキャッシュに対応するデバイスや観測条件に応じた各種パラメータを記憶部202から読み出して、入力変換部204、順変換部206、逆変換部210、出力変換部211に設定する。また、それらの情報はすべて記部202に格納されている。また、色域マッピングの方法に応じて切替部207を設定する(S62)。 Next, the control unit 201 reads various parameters corresponding to the device corresponding to the system cache to be created and the observation conditions from the storage unit 202, and converts the input conversion unit 204, the forward conversion unit 206, the reverse conversion unit 210, and the output conversion unit. Set to 211. Further, the information is stored in all Symbol unit 202. Further, the switching unit 207 is set according to the color gamut mapping method (S62).

次に、制御部201は、カラーサンプル216から一組の色データを読み出して入力変換部204に入力する(S63)。色データは、入力変換部204、順変換部206、逆変換部210、出力変換部211に順に処理され、システム特性作成部217はカラーマッチング処理後の色データを入力する。制御部201は、ステップS64の判定により、カラーサンプル216から全組の色データを読み出すまでステップS63の処理を繰り返す。   Next, the control unit 201 reads a set of color data from the color sample 216 and inputs it to the input conversion unit 204 (S63). The color data is sequentially processed by the input conversion unit 204, the forward conversion unit 206, the inverse conversion unit 210, and the output conversion unit 211, and the system characteristic creation unit 217 inputs the color data after the color matching process. The control unit 201 repeats the process of step S63 until all sets of color data are read from the color sample 216 based on the determination of step S64.

色データの読み出しが終了すると、制御部201は、システム特性作成部217にカラーサンプル216とカラーマッチング処理後の色データの対応を示すテーブルの作成を指示する(S65)。   When the reading of the color data is completed, the control unit 201 instructs the system characteristic creation unit 217 to create a table indicating the correspondence between the color sample 216 and the color data after the color matching process (S65).

図5はシステム特性作成部217が作成するテーブルを示す図である。このテーブルは、ある入力デバイスとある入力観察条件の下の、入力色データ(図ではRGBデータ)に対応する、ある出力デバイスとある出力観察条件に依存する色データ(図ではCMYKデータ)の関係を示している。   FIG. 5 is a diagram showing a table created by the system characteristic creation unit 217. This table shows the relationship between a certain output device and color data (CMYK data in the figure) corresponding to the input color data (RGB data in the figure) depending on a certain input device and a certain input observation condition. Is shown.

次に、制御部201は、システム特性作成部217が作成したテーブルをシステムキャッシュとして記憶部202の所定領域に格納する(S66)。以降、システムキャッシュが存在する入力デバイス、入力観察条件、出力デバイス、出力観察条件の組み合わせにおけるカラーマッチング処理は、システム特性適用部214に当該システムキャッシュを供給することで実行可能である。   Next, the control unit 201 stores the table created by the system characteristic creation unit 217 in a predetermined area of the storage unit 202 as a system cache (S66). Thereafter, color matching processing in a combination of an input device, an input viewing condition, an output device, and an output viewing condition in which a system cache exists can be executed by supplying the system cache to the system characteristic application unit 214.

なお、図5に示すテーブルのデータ量は、カラーサンプル216の色データの組数に応じて増加する。色データの組数が多いほど、システム特性適用部214の色変換精度は向上するが、記憶部202の記憶容量を消費する。一般に、様々な補間技術を利用することで、カラーサンプル216の色データを離散的にして、システムキャッシュのデータ量を抑える。   The data amount of the table shown in FIG. 5 increases according to the number of sets of color data of the color sample 216. As the number of sets of color data increases, the color conversion accuracy of the system characteristic application unit 214 improves, but the storage capacity of the storage unit 202 is consumed. In general, by using various interpolation techniques, the color data of the color sample 216 is made discrete to suppress the data amount of the system cache.

また、システムキャッシュの作成と同様に、上記の各変換部の変換特性を示すデータを作成し、記憶部202に部分キャッシュして利用することができる。   Similarly to the creation of the system cache, data indicating the conversion characteristics of each of the conversion units described above can be generated and used by partially caching in the storage unit 202.

[記憶部]
図6は記憶部202に格納された様々なデータの様子を示す図である。
[Storage unit]
FIG. 6 is a diagram illustrating various data stored in the storage unit 202.

プラグイン302は、入力変換部204、入力変換修正部205、順変換部206、色域変換部208、209、逆変換部210、出力変換部211、出力変換修正部212に相当するソフトウェアモジュールで、一般に複数のファイルから構成される。CPU 101は、RAM 103をワークメモリとして、記憶部202から読み出したプラグイン302を実行することで上記の変換機能を実現する。   The plug-in 302 is a software module corresponding to the input conversion unit 204, the input conversion correction unit 205, the forward conversion unit 206, the color gamut conversion units 208 and 209, the inverse conversion unit 210, the output conversion unit 211, and the output conversion correction unit 212. Generally, it consists of multiple files. The CPU 101 implements the conversion function by executing the plug-in 302 read from the storage unit 202 using the RAM 103 as a work memory.

プロファイル303は、入力変換部204や出力変換部211などに設定するデータで、一般に複数のファイルから構成される。制御部201は、入出力デバイスに応じて記憶部202から読み出したプロファイル303を入力変換部204や出力変換部211などに設定する。   The profile 303 is data set in the input conversion unit 204, the output conversion unit 211, and the like, and generally includes a plurality of files. The control unit 201 sets the profile 303 read from the storage unit 202 in the input conversion unit 204, the output conversion unit 211, and the like according to the input / output device.

キャッシュデータ304は、入力変換部204、入力変換修正部205、順変換部206、色域変換部208、209、出力変換修正部212、出力変換部211、システム特性適用部214それぞれの処理結果をテーブルとしてキャッシュしたデータである。各部は、過去に演算した入力と同一の入力は、あらためて演算を行わずに、キャッシュデータ304を出力(再利用)する。これにより、演算を行わない分、処理効率を高めることができる。勿論、入力に対応するキャッシュデータが存在しない場合、各部は、通常の演算処理を行う。   The cache data 304 includes processing results of the input conversion unit 204, the input conversion correction unit 205, the forward conversion unit 206, the color gamut conversion units 208 and 209, the output conversion correction unit 212, the output conversion unit 211, and the system characteristic application unit 214. Data cached as a table. Each unit outputs (reuses) the cache data 304 without performing another calculation on the same input as the input calculated in the past. As a result, the processing efficiency can be increased as much as the calculation is not performed. Of course, when there is no cache data corresponding to the input, each unit performs normal arithmetic processing.

修正データ305は、入力変換修正部205、出力変換修正部212、システム特性修正部215が使用するデータで、一般に複数のファイルで構成される。 The correction data 305 is data used by the input conversion correction unit 205, the output conversion correction unit 212, and the system characteristic correction unit 215, and generally includes a plurality of files.

制御テーブル301は、複数のテーブルから構成され、各テーブルには記憶部202に格納された上記の各種データを管理するためのデータが記録される。   The control table 301 includes a plurality of tables, and data for managing the various data stored in the storage unit 202 is recorded in each table.

図7は制御テーブル301の詳細を示す図である。   FIG. 7 is a diagram showing details of the control table 301.

システム管理テーブル401は、システム特性適用部214に設定するシステムキャッシュを、組み合わせIDに対応付けて管理するためのテーブルである。システム管理テーブル401には、組み合わせIDに対応する、入力デバイス情報ID、順変換CAM ID、色域変換ID、逆変換CAM ID、出力デバイス情報ID、キャッシュ情報IDを記録する。組み合わせIDは、ユニークなIDで、後述する指定テーブル407から参照される。   The system management table 401 is a table for managing the system cache set in the system characteristic application unit 214 in association with the combination ID. In the system management table 401, an input device information ID, forward conversion CAM ID, color gamut conversion ID, reverse conversion CAM ID, output device information ID, and cache information ID corresponding to the combination ID are recorded. The combination ID is a unique ID and is referred to from the designation table 407 described later.

デバイス管理テーブル402は、入出力デバイスのデバイス名、プラグイン名、プロファイル名、キャッシュ情報IDを、デバイス情報IDに対応付けて管理するためのテーブルである。デバイス情報IDは、ユニークなIDで、システム管理テーブル401から参照される。なお、入出力デバイスは、図1に示す入力デバイス106、出力デバイス112に対応し、そのデバイス名は、入力インタフェイス105、出力インタフェイス111を介して取得可能である。また、プラグイン名、プロファイル名は、図6に示すプラグイン302、プロファイル303の名称である。   The device management table 402 is a table for managing the device name, plug-in name, profile name, and cache information ID of the input / output device in association with the device information ID. The device information ID is a unique ID and is referred to from the system management table 401. The input / output devices correspond to the input device 106 and the output device 112 shown in FIG. 1, and the device names can be acquired via the input interface 105 and the output interface 111. The plug-in name and profile name are the names of the plug-in 302 and profile 303 shown in FIG.

CAM管理テーブル403は、順変換部206および逆変換部210に設定するパラメータを、変換CAM IDに関連付けて管理するためのテーブルである。設定するパラメータには、白色点、順応視野の輝度値、順応度合い、背景の相対輝度値、周囲の影響、色誘導ファクタ、キャッシュ情報IDがある。変換CAM IDは、ユニークなIDで、システム管理テーブル401から参照される。なお、本実施例では、色知覚モデルとしてCIECAM02を前提とするので、その観察条件の各項目を上記のパラメータとして列挙した。もし、他の色知覚モデルを使用する場合は当該モデルの観察条件の各項目をパラメータとすればよい。   The CAM management table 403 is a table for managing parameters set in the forward conversion unit 206 and the reverse conversion unit 210 in association with the conversion CAM ID. The parameters to be set include the white point, the luminance value of the adaptation field of view, the degree of adaptation, the relative luminance value of the background, the influence of the surroundings, the color induction factor, and the cache information ID. The conversion CAM ID is a unique ID and is referred to from the system management table 401. In this embodiment, since CIECAM02 is assumed as a color perception model, each item of the observation conditions is listed as the above parameter. If another color perception model is used, each item of the viewing condition of the model may be used as a parameter.

色域変換管理テーブル404は、色域変換部208、209に対応するプラグイン名を、色変換IDに対応付けて管理するためのテーブルである。色域変換IDは、ユニークなIDで、システム管理テーブル401から参照される。   The color gamut conversion management table 404 is a table for managing plug-in names corresponding to the color gamut conversion units 208 and 209 in association with color conversion IDs. The color gamut conversion ID is a unique ID and is referred to from the system management table 401.

上記の各テーブルにおいて、組み合わせID、デバイス情報ID、変換CAM ID、色域変換IDに対応する有効なキャッシュ情報IDが存在しない場合、当該テーブルのキャッシュ情報IDフィールドに、有効なキャッシュデータ304(図3参照)が存在しないことを示す「NULL」が記録される。   If there is no valid cache information ID corresponding to the combination ID, device information ID, conversion CAM ID, and gamut conversion ID in each of the above tables, valid cache data 304 (see FIG. “Refer to 3”) is recorded as “NULL”.

キャッシュ管理テーブル405は、キャッシュデータ304(システムキャッシュ、部分キャッシュのファイル名)と修正データIDの組み合わせを、キャッシュ情報IDに対応付けて管理するためのテーブルである。キャッシュ情報IDは、ユニークなIDで、システム管理テーブル401、デバイス管理テーブル402、CAM管理テーブル403、色域変換管理テーブル404から参照される。もし、キャッシュファイル名に対応する有効な修正データIDが存在しない場合、キャッシュ管理テーブル405の修正データIDフィールドには、有効な修正データ305が存在しないことを示す「NULL」が記録される。   The cache management table 405 is a table for managing a combination of the cache data 304 (system cache, partial cache file name) and the correction data ID in association with the cache information ID. The cache information ID is a unique ID and is referred to from the system management table 401, the device management table 402, the CAM management table 403, and the color gamut conversion management table 404. If there is no valid correction data ID corresponding to the cache file name, “NULL” indicating that no valid correction data 305 exists is recorded in the correction data ID field of the cache management table 405.

修正管理テーブル406は、図3に示す修正データ305のファイル名を、修正データIDに対応付けて管理するためのテーブルである。修正データIDは、ユニークなIDで、キャッシュ管理テーブル405から参照される。なお、修正データ305は、一つのキャッシュデータ304に対して複数存在することができる。   The correction management table 406 is a table for managing the file name of the correction data 305 shown in FIG. 3 in association with the correction data ID. The correction data ID is a unique ID and is referred to from the cache management table 405. A plurality of correction data 305 can exist for one cache data 304.

指定テーブル407は、システム管理テーブル401に記録された組み合わせIDだけを属性としてもつテーブルである。指定テーブル407の利用は後述するが、例えば、インストール制御部218によってプラグイン302またはプロファイル303がインストールされると、システムキャッシュの一部または全部を作成し直すか否かの判断に利用される。   The designation table 407 is a table having only the combination ID recorded in the system management table 401 as an attribute. Although the use of the specification table 407 will be described later, for example, when the plug-in 302 or profile 303 is installed by the installation control unit 218, it is used to determine whether or not to recreate part or all of the system cache.

[システムキャッシュの更新]
以下では、ユーザが予め指定した、組み合わせIDに対応するシステムキャッシュのみを更新することで、更新に要する時間を軽減することを説明する。
[Update system cache]
Hereinafter, it will be described that the time required for the update is reduced by updating only the system cache corresponding to the combination ID designated in advance by the user.

図8はプラグインまたはプロファイルのインストール時の制御テーブル301の更新を説明するフローチャートで、インストール制御部218によって実行される。   FIG. 8 is a flowchart for explaining the update of the control table 301 at the time of installing a plug-in or profile, which is executed by the installation control unit 218.

インストール制御部218は、ファイル(プラグインまたはプロファイル)を記憶部202に格納する(S801)。なお、ファイルの種類によって記憶部202に格納する場所を区別する必要はないが、もし区別する場合は、インストール制御部218がファイルの種類を認識した後、所定の場所に配置すればよい。   The installation control unit 218 stores the file (plug-in or profile) in the storage unit 202 (S801). Note that it is not necessary to distinguish the storage location in the storage unit 202 depending on the file type. However, if the file is to be distinguished, the installation control unit 218 may recognize the file type and place it in a predetermined location.

インストール制御部218は、新たに格納したファイルの種類を判定する(S802)。そして、デバイスプラグインまたはプロファイル(以下「デバイスプラグイン」と省略する)であればステップS803に、色域変換プラグインであればステップS815に処理を分岐する。   The installation control unit 218 determines the type of the newly stored file (S802). If it is a device plug-in or profile (hereinafter abbreviated as “device plug-in”), the process branches to step S803, and if it is a color gamut conversion plug-in, the process branches to step S815.

デバイスプラグインの場合、インストール制御部218は、それに相当するプラグイン名がデバイス管理テーブル402に記録されている(存在する)か否かを判定する(S803)。存在する場合は、デバイス管理テーブル402から対応するデバイス情報IDを取得する(S804)。そして、当該デバイス情報IDによってシステム管理テーブル401を検索して、更新したデバイスプラグインに関連する組み合わせIDを取得する(S805)。なお、ここでは複数の組み合わせIDが取得される場合がある。   In the case of a device plug-in, the installation control unit 218 determines whether or not the corresponding plug-in name is recorded (exists) in the device management table 402 (S803). If it exists, the corresponding device information ID is acquired from the device management table 402 (S804). Then, the system management table 401 is searched with the device information ID, and a combination ID related to the updated device plug-in is acquired (S805). Here, a plurality of combination IDs may be acquired.

次に、インストール制御部218は、取得した組み合わせIDそれぞれについて、指定テーブル407に登録されているか否かを判定する(S806)。   Next, the installation control unit 218 determines whether or not each acquired combination ID is registered in the designation table 407 (S806).

指定テーブル407に未登録の組み合わせIDについて、インストール制御部218は、当該IDに対応するシステム管理テーブル401のキャッシュ情報IDを取得する(S807)。そして、当該キャッシュ情報IDに対応するキャッシュ管理テーブル405のキャッシュファイル名を取得する(S808)。続いて、当該キャッシュファイル名に対応するキャッシュデータ、および、当該キャッシュ情報IDに対応するキャッシュ管理テーブル405のレコードを削除する(S809)。さらに、当該組み合わせIDに対応するシステム管理テーブル401のキャッシュ情報IDを「NULL」に書き換える(S810)。   For the combination ID not registered in the specification table 407, the installation control unit 218 acquires the cache information ID of the system management table 401 corresponding to the ID (S807). Then, the cache file name of the cache management table 405 corresponding to the cache information ID is acquired (S808). Subsequently, the cache data corresponding to the cache file name and the record of the cache management table 405 corresponding to the cache information ID are deleted (S809). Further, the cache information ID of the system management table 401 corresponding to the combination ID is rewritten to “NULL” (S810).

また、指定テーブル407に既登録の組み合わせIDについて、インストール制御部218は、当該IDに対応するシステム管理テーブル401のキャッシュ情報IDを取得する(S811)。そして、当該キャッシュ情報IDに対応するシステムキャッシュの更新を制御部201に要求する(S812)。この要求を受けた制御部201は、キャッシュ情報IDおよび制御テーブル301を参照して、図4に示したシステムキャッシュの作成処理を実行し、当該キャッシュ情報IDに対応するキャッシュデータ304を更新する。   For the combination ID already registered in the specification table 407, the installation control unit 218 acquires the cache information ID of the system management table 401 corresponding to the ID (S811). Then, the control unit 201 is requested to update the system cache corresponding to the cache information ID (S812). Upon receiving this request, the control unit 201 refers to the cache information ID and the control table 301, executes the system cache creation process shown in FIG. 4, and updates the cache data 304 corresponding to the cache information ID.

一方、新たなデバイスプラグインに相当するプラグイン名がデバイス管理テーブル402に存在しない場合、インストール制御部218は、デバイス情報IDを割り当て、デバイス管理テーブル402に新たなレコードを作成する登録処理を行う(S813)。さらに、組み合わせIDを割り当て、デバイスプラグインの追加によって可能になるデバイスとプロファイルの、新たな組み合わせのレコードをシステム管理テーブル401に作成する登録処理を行う(S814)。これにより、システム管理テーブル401のレコードと、他のテーブルのレコードの整合が保たれる。   On the other hand, when the plug-in name corresponding to the new device plug-in does not exist in the device management table 402, the installation control unit 218 performs a registration process of assigning a device information ID and creating a new record in the device management table 402. (S813). Further, a registration process is performed in which a combination ID is assigned and a record of a new combination of a device and a profile that is enabled by adding a device plug-in is created in the system management table 401 (S814). As a result, the records of the system management table 401 and the records of other tables are kept consistent.

他方、色域変換プラグインと判定した場合、インストール制御部218は、それに相当するプラグイン名が色域変換管理テーブル404に記録されている(存在する)か否かを判定する(S815)。存在する場合は、色域変換管理テーブル404から対応する色域変換IDを取得する(S816)。そして、当該色域変換IDによってシステム管理テーブル401を検索して、更新した色域変換プラグインに関連する組み合わせIDを取得する(S817)。なお、ここでは複数の組み合わせIDが取得される場合がある。以降の処理は、前述したステップS806からS812と同じであるから、説明を省略する。   On the other hand, if it is determined that the color gamut conversion plug-in is present, the installation control unit 218 determines whether the corresponding plug-in name is recorded (exists) in the color gamut conversion management table 404 (S815). If it exists, the corresponding color gamut conversion ID is acquired from the color gamut conversion management table 404 (S816). Then, the system management table 401 is searched using the color gamut conversion ID, and a combination ID related to the updated color gamut conversion plug-in is acquired (S817). Here, a plurality of combination IDs may be acquired. Subsequent processing is the same as steps S806 to S812 described above, and a description thereof will be omitted.

また、新たな色域変換プラグインに相当するプラグイン名が色域変換管理テーブル404に存在しない場合、インストール制御部218は、色域変換IDを割り当て、色域変換管理テーブル404に新たなレコードを作成する登録処理を行う(S818)。さらに、組み合わせIDを割り当て、デバイスプラグインの追加によって可能になるデバイスとプロファイルの組み合わせのレコードをデバイス管理テーブル402に作成する登録処理を行う(S814)。これにより、システム管理テーブル401のレコードと、他のテーブルのレコードの整合が保たれる。   If the plug-in name corresponding to the new color gamut conversion plug-in does not exist in the color gamut conversion management table 404, the installation control unit 218 assigns a color gamut conversion ID and creates a new record in the color gamut conversion management table 404. The registration process for creating the file is performed (S818). Furthermore, a registration process is performed in which a combination ID is assigned and a record of a combination of a device and a profile that is enabled by adding a device plug-in is created in the device management table 402 (S814). As a result, the records of the system management table 401 and the records of other tables are kept consistent.

図9は制御テーブル301のセットの一例を示す図である。   FIG. 9 is a diagram illustrating an example of a set of the control table 301.

図9において、デバイス管理テーブル402には、三種類の入出力デバイスが登録され、そのうちデバイス名「printer1」の部分キャッシュだけが作成されている。言い換えれば、printer1用の出力変換部211の変換テーブルは作成され、入力変換部204の変換テーブルは未作成である。   In FIG. 9, three types of input / output devices are registered in the device management table 402, and only a partial cache of the device name “printer1” is created. In other words, the conversion table of the output conversion unit 211 for printer 1 is created, and the conversion table of the input conversion unit 204 is not created.

CAM管理テーブル403には、白色点が異なる二種類の観察条件が登録され、部分キャッシュ(順変換部206、逆変換部210の変換テーブル)は未作成である。また、色域変換管理テーブル404には、プラグイン名「Perceptual.dll」の色域変換プラグインが登録され、部分キャッシュ(色域変換部208、209の変換テーブル)は未作成である。 Two types of observation conditions with different white points are registered in the CAM management table 403, and partial caches (conversion tables of the forward conversion unit 206 and the reverse conversion unit 210) have not been created. In addition, a color gamut conversion plug-in with a plug-in name “Perceptual.dll” is registered in the color gamut conversion management table 404, and partial caches (conversion tables of the color gamut conversion units 208 and 209) have not been created.

そして、システム管理テーブル401には、以上の情報の二種類の組み合わせが登録されている。組み合わせID「1」は、入力デバイス「camera1」の色データを、変換CAM ID「2」を入力観察条件とし、変換CAM ID「1」を出力観察条件として、出力デバイス「printer1」の色データに変換する組み合わせを表す。当該組み合わせのシステムキャッシュは作成され、System01.cacheというファイル名で記憶部202に格納されている。   In the system management table 401, two types of combinations of the above information are registered. The combination ID “1” is the color data of the input device “camera1”, the conversion CAM ID “2” is the input observation condition, the conversion CAM ID “1” is the output observation condition, and the color data of the output device “printer1”. Represents the combination to convert. A system cache of the combination is created and stored in the storage unit 202 with the file name System01.cache.

また、指定テーブル407には、組み合わせID「1」が登録されている。   Further, the combination ID “1” is registered in the designation table 407.

以下では、制御テーブル301が図9に示す状態において、デバイス名「printer1」のデバイスプラグイン「printer1.dll」を更新すると想定する。   In the following, it is assumed that the device plug-in “printer1.dll” having the device name “printer1” is updated in the state shown in FIG.

インストール制御部218は、「printer1.dll」を記憶部202に格納し(S801)、「printer.dll」の種類を判定する(S802)。この場合はデバイスプラグインであるから、デバイス管理テーブル402を検索する(S803)。「printer1」が存在するから、当該レコードのデバイス情報ID「1」を取得し(S804)、システム管理テーブル401からデバイス情報ID「1」に対応する組み合わせID「1」と「2」を取得する(S805)。   The installation control unit 218 stores “printer1.dll” in the storage unit 202 (S801), and determines the type of “printer.dll” (S802). In this case, since it is a device plug-in, the device management table 402 is searched (S803). Since “printer1” exists, the device information ID “1” of the record is obtained (S804), and the combination IDs “1” and “2” corresponding to the device information ID “1” are obtained from the system management table 401. (S805).

次に、インストール制御部218は、指定テーブル407を調べて(S806)、組み合わせID「1」が登録されていることを認識する。従って、組み合わせID「1」について、ステム管理テーブル401からキャッシュ情報ID「2」を取得して(S811)、制御部201にシステムキャッシュの更新を要求する。一方、組み合わせID「2」について、システム管理テーブル401、キャッシュ管理テーブル405を参照して、キャッシュデータとレコードの削除、システム管理テーブル401のキャッシュ情報IDの書き換えを行う(S807-S810)。しかし、システム管理テーブル401のキャッシュ情報IDは「NULL」であるから、何もしないで処理を終了する。 Next, the installation control unit 218 checks the designation table 407 (S806) and recognizes that the combination ID “1” is registered. Thus, the combination ID "1", acquires the cache information ID "2" from the system management table 401 (S811), and requests an update of the system cache to the controller 201. On the other hand, with respect to the combination ID “2”, the cache management table 401 and the cache management table 405 are referred to, cache data and records are deleted, and the cache information ID of the system management table 401 is rewritten (S807 to S810). However, since the cache information ID of the system management table 401 is “NULL”, the processing ends without doing anything.

このように、ユーザが指定テーブル407に予め設定した組み合わせIDに対応するシステムキャッシュを更新する。一方、指定テーブル407に設定されていない組み合わせIDに対応するシステムキャッシュの更新は行わず、キャッシュデータがある場合は、それを削除する。従って、デバイスドライバなどの更新インストール時に、ユーザが望むシステムキャッシュを更新し、その他のシステムキャッシュは作成しないので、更新インストール全体にかかる時間を抑制することができる。   In this way, the system cache corresponding to the combination ID preset by the user in the designation table 407 is updated. On the other hand, the system cache corresponding to the combination ID not set in the specification table 407 is not updated, and if there is cache data, it is deleted. Accordingly, since the system cache desired by the user is updated and other system caches are not created at the time of update installation of a device driver or the like, the time required for the entire update installation can be suppressed.

以下、本発明にかかる実施例2の画像処理を説明する。なお、実施例2において、実施例1と略同様の構成については、同一符号を付して、その詳細説明を省略する。   The image processing according to the second embodiment of the present invention will be described below. Note that the same reference numerals in the second embodiment denote the same parts as in the first embodiment, and a detailed description thereof will be omitted.

以下では、ユーザがカラーマッチング処理に選択した組み合わせ履歴を記録することで、使用実績に応じてシステムキャッシュを更新する例を実施例2として説明する。   Hereinafter, an example in which the system cache is updated according to the usage record by recording the combination history selected by the user for the color matching process will be described as a second embodiment.

図10は、図7に示した制御テーブル301のテーブル群に追加する履歴テーブル408を示す図である。履歴テーブル408は、例えばプリントジョブのようなジョブ単位に、使用したカラーマッチング処理の組み合わせIDと、その処理回数を、ジョブIDに関連付けて管理するためのテーブルである。なお、ジョブIDはジョブの発生順に発番される整数値で、値が小さいものほど古いジョブを表す。例えば、図10は六回のジョブが記録された例を示す。ジョブID=「1」のジョブは、組み合わせID=「2」のカラーマッチング処理により例えば五頁分の画像を処理したことを表す。   FIG. 10 is a diagram showing a history table 408 to be added to the table group of the control table 301 shown in FIG. The history table 408 is a table for managing, in association with a job ID, the combination ID of the used color matching process and the number of processes for each job such as a print job. Note that the job ID is an integer value that is issued in the order in which the jobs occur, and the smaller the value, the older the job. For example, FIG. 10 shows an example in which six jobs are recorded. A job with a job ID = “1” represents that, for example, five pages of images have been processed by the color matching process with a combination ID = “2”.

図11は、図8に示す制御テーブル301の更新処理における指定テーブルの検索(S806)の直前に実行する処理を示すフローチャートで、インストール制御部218によって実行される。   FIG. 11 is a flowchart showing a process executed immediately before the designated table search (S806) in the update process of the control table 301 shown in FIG.

インストール制御部218は、履歴テーブル408から最新の五つのジョブに関するデータを取得し(S1001)、それらジョブにおいて最も頻度が高い組み合わせIDを取得する(S1002)。図10の例では、五つのジョブ中、組み合わせID=「2」のジョブが三つを占めるので、組み合わせID=「2」を取得する。続いて、インストール制御部218は、指定テーブル407をクリアし(S1103)、指定テーブル407に組み合わせID=「2」を登録する(S1104)。この後、インストール制御部218は、図8に示すステップS806以降の処理を実行する。   The installation control unit 218 obtains the data related to the latest five jobs from the history table 408 (S1001), and obtains the combination ID having the highest frequency in those jobs (S1002). In the example of FIG. 10, since the job with the combination ID = “2” occupies three of the five jobs, the combination ID = “2” is acquired. Subsequently, the installation control unit 218 clears the designation table 407 (S1103), and registers the combination ID = “2” in the designation table 407 (S1104). Thereafter, the installation control unit 218 executes the processing after step S806 shown in FIG.

実施例1と同様に、制御テーブル301が図9に示す状態において、デバイス名「printer1」のデバイスプラグイン「printer1.dll」を更新すると想定する。インストール制御部218は、図12に示すように、指定テーブル407の組み合わせIDを「2」に書き換え、組み合わせID=「2」のシステムキャッシュの更新を制御部201に要求する。   As in the first embodiment, it is assumed that the device plug-in “printer1.dll” with the device name “printer1” is updated in the state where the control table 301 is shown in FIG. As shown in FIG. 12, the installation control unit 218 rewrites the combination ID in the designation table 407 to “2” and requests the control unit 201 to update the system cache with the combination ID = “2”.

なお、最近の所定数(上記では五つ)のジョブの中で頻度が最大の組み合わせIDを選ぶのではなく、組み合わせIDごとの処理回数の合計が最大の組み合わせIDを選んでもよい。この場合、履歴テーブル408の記録が図10に示す状態であれば、組み合わせID=「1」は五回、組み合わせID=「2」は六回になり、組み合わせID=「2」を選択する。   Instead of selecting the combination ID having the highest frequency among the recent predetermined number of jobs (five in the above), the combination ID having the maximum total number of processes for each combination ID may be selected. In this case, if the record in the history table 408 is in the state shown in FIG. 10, the combination ID = “1” is five times, the combination ID = “2” is six times, and the combination ID = “2” is selected.

あるいは、最近の所定数のジョブの中に多数の組み合わせIDが存在する場合、様々な入出力デバイスが利用されていることを示す。このような場合、頻度が最大の組み合わせIDだけではなく、組み合わせIDの数に応じて上位の二つまたは三つなど、複数の組み合わせIDを選ぶようにしてもよい。   Alternatively, when there are a large number of combination IDs in the recent predetermined number of jobs, it indicates that various input / output devices are used. In such a case, not only the combination ID having the highest frequency but also a plurality of combination IDs such as the upper two or three may be selected according to the number of combination IDs.

さらに、履歴テーブル408に、記録紙サイズや処理コストなどの情報を追加し、それら情報を適宜利用して組み合わせIDを選んでもよい。   Furthermore, information such as the recording paper size and processing cost may be added to the history table 408, and the combination ID may be selected by appropriately using the information.

このように、カラーマッチング処理の組み合わせの使用実績に基づき、最近の使用率が高いシステムキャッシュだけを更新するので、更新インストール全体にかかる時間を抑制することができる。   As described above, since only the system cache having the latest high usage rate is updated based on the use record of the combination of the color matching processes, the time required for the entire update installation can be suppressed.

以下、本発明にかかる実施例3の画像処理を説明する。なお、実施例3において、実施例1、2と略同様の構成については、同一符号を付して、その詳細説明を省略する。   Hereinafter, image processing according to the third embodiment of the present invention will be described. Note that the same reference numerals in the third embodiment denote the same parts as in the first and second embodiments, and a detailed description thereof will be omitted.

以下では、システムキャッシュの更新に必要な時間を見積り、許容時間以内に終了するシステムキャッシュの更新だけを行う例を、実施例3として説明する。   Hereinafter, an example in which the time required for updating the system cache is estimated and only the system cache that ends within the allowable time is updated will be described as a third embodiment.

システムキャッシュの更新に必要な時間は、色域変換プラグインに依存する固定値として見積る。例えば、図13に示すように、Perceptual.dllを含む組み合わせの場合、システムキャッシュの作成に20秒間、Saturation.dllを含む組み合わせの場合は10秒間として、見積テーブル409に記録する。また、ユーザが入力する許容時間は、許容時間レジスタ410に記録する。   The time required for updating the system cache is estimated as a fixed value depending on the color gamut conversion plug-in. For example, as shown in FIG. 13, the combination including Perceptual.dll is recorded in the estimation table 409 as 20 seconds for creating the system cache, and 10 seconds for the combination including Saturation.dll. The allowable time input by the user is recorded in the allowable time register 410.

図14は、図8に示す制御テーブル301の更新処理におけるキャッシュ情報IDの取得(S811)と更新要求(S812)の間で実行する処理を示すフローチャートで、インストール制御部218によって実行される。   FIG. 14 is a flowchart showing processing executed between acquisition of the cache information ID (S811) and update request (S812) in the update processing of the control table 301 shown in FIG.

実施例1と同様に、制御テーブル301が図15に示す状態において、デバイス名「printer1」のデバイスプラグイン「printer1.dll」を更新すると想定する。   As in the first embodiment, it is assumed that the device plug-in “printer1.dll” with the device name “printer1” is updated in the state where the control table 301 is shown in FIG.

インストール制御部218は、直前のステップS811で、組み合わせID=「1」のキャッシュ情報ID=「2」を取得する。そして、システム管理テーブ401の色域変換ID=「1」に対応する色域変換プラグイン名を色域変換管理テーブル404から取得し(S1401)、取得した色域変換プラグイン名に対応する見積時間を見積テーブル409から取得する(S1402)。そして、取得した見積時間を積算し(S1403)、ステップS1404の判定により、取得したキッシュ情報IDすべてに対応する見積時間を取得するまで、ステップS1401からS1404を繰り返す。 The installation control unit 218 acquires the cache information ID = “2” of the combination ID = “1” in the immediately preceding step S811. Then, to get the color gamut conversion plugin name corresponding to "1" color gamut conversion ID = system management table 401 from the color gamut conversion management table 404 (S1401), corresponding to the acquired color gamut conversion plugin name The estimated time is acquired from the estimation table 409 (S1402). The acquired estimated time is integrated (S1403), and steps S1401 to S1404 are repeated until the estimated time corresponding to all of the acquired quiche information IDs is acquired by the determination in step S1404.

見積時間の取得、積算が終了すると、インストール制御部218は、見積時間の積算値と許容時間レジスタ410の値(許容値)を比較し(S1405)、積算値≦許容値であれば、処理を図8に示すステップS812に進める。   When the acquisition and integration of the estimated time are completed, the installation control unit 218 compares the estimated value of the estimated time with the value (allowable value) of the allowable time register 410 (S1405). The process proceeds to step S812 shown in FIG.

一方、積算値>許容値の場合、インストール制御部218は、図16に示すような警告ダイアログを表示し(S1406)、ユーザの判断を待つ(S1407)。ユーザが「はい」ボタンを押すと、処理を図8に示すステップS812に進めて、ステップS811で取得したキャッシュ情報IDに対応するシステムキャッシュの更新を制御部201に要求する。   On the other hand, if the integrated value> the allowable value, the installation control unit 218 displays a warning dialog as shown in FIG. 16 (S1406) and waits for the user's judgment (S1407). When the user presses the “Yes” button, the process proceeds to step S812 shown in FIG. 8, and the control unit 201 is requested to update the system cache corresponding to the cache information ID acquired in step S811.

また、「いいえ」ボタンが押された場合、インストール制御部218は、ステップS811で取得したキャッシュ情報IDをクリアして、処理を図8に示すステップS812に進める。つまり、ステップS811で取得したキャッシュ情報IDをクリアすることで、システムキャッシュの更新を制御部201に要求しないことになる。   If the “No” button is pressed, the installation control unit 218 clears the cache information ID acquired in step S811, and advances the process to step S812 shown in FIG. That is, by clearing the cache information ID acquired in step S811, the control unit 201 is not requested to update the system cache.

図15に示す例では、色域変換プラグイン名として「Perceputual.dll」が、見積時間として「20秒」が取得され、ステップS881で取得されるキャッシュ情報IDは一つだけであるから、積算値は「20秒」になる。そして、積算値(20秒)≦許容値(15秒)であるから図16に示すダイアログが表示される。   In the example shown in FIG. 15, “Perceputual.dll” is acquired as the color gamut conversion plug-in name, “20 seconds” is acquired as the estimated time, and only one cache information ID is acquired in step S881. The value is “20 seconds”. Since the integrated value (20 seconds) ≦ allowable value (15 seconds), the dialog shown in FIG. 16 is displayed.

以上では、見積時間を色域変換プラグインにのみ依拠する例を説明したが、例えば前回のシステムキャッシュの更新にかかった時間をシステム管理テーブル401に追加するなどして、更新時間の実績に基づき更新時間を見積ってもよい。   In the above, an example in which the estimated time depends only on the color gamut conversion plug-in has been described. However, for example, by adding the time required for the previous system cache update to the system management table 401, based on the actual update time. An update time may be estimated.

このように、システムキャッシュの更新にかかる時間を見積り、ユーザが指定する許容時間を超える場合、その情報をユーザに提示してユーザの判断を得ることができる。   Thus, when the time required for updating the system cache is estimated and the allowable time specified by the user is exceeded, the information can be presented to the user to obtain the user's judgment.

[変形例]
上記の各実施例では、未インストールのデバイスプラグイン、プロファイル、色変換プラグインの場合、その組み合わせは存在しないので指定テーブル407に登録されず、また履歴も存在しないので、当然、システムキャッシュの作成対象にはならない。しかし、ユーザは、機能を追加するためにインストールしたと考えられるので、デバイスプラグイン、プロファイルまたは色変換プラグインを追加し、制御テーブル301に登録した後、システムキャッシュを作成すればユーザの利便性を向上することができる。それには、図8に示した処理を、図17に示すように修正して、システム管理テーブル401に登録(S814)した後、システムキャッシュの作成を制御部201に要求すればよい。
[Modification]
In each of the above embodiments, in the case of an uninstalled device plug-in, profile, and color conversion plug-in, the combination does not exist, so it is not registered in the designation table 407, and there is no history, so naturally, a system cache is created Not subject. However, since it is considered that the user has installed to add functions, it is convenient for users to add a device plug-in, profile or color conversion plug-in, register it in the control table 301, and create a system cache. Can be improved. For this purpose, the processing shown in FIG. 8 may be modified as shown in FIG. 17 and registered in the system management table 401 (S814), and then the control unit 201 may be requested to create a system cache.

また、システム全体の変換特性データをシステムキャッシュとしてキャッシュする例を説明したが、システムを二つに分けた方がより自然な場合、例えば前半部分と後半部分に分けてそれぞれキャッシュデータを作成すればよい。   In addition, the example of caching the conversion characteristic data of the entire system as a system cache has been explained, but if it is more natural to divide the system into two, for example, if the cache data is created separately in the first half part and the second half part, Good.

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

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

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

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

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

実施例の画像処理装置の構成例を示す図、The figure which shows the structural example of the image processing apparatus of an Example. 画像処理装置の機能構成例を示すブロック図、Block diagram showing a functional configuration example of an image processing device, カラーサンプルの構成例を示す図、A diagram showing a configuration example of a color sample, システムキャッシュの作成処理を説明するフローチャート、A flowchart for explaining system cache creation processing; システム特性作成部が作成するテーブルを示す図、The figure which shows the table which a system characteristic creation part creates, 記憶部に格納された様々なデータの様子を示す図、The figure which shows the mode of various data stored in the storage unit, 制御テーブルの詳細を示す図、Figure showing details of the control table, 制御テーブルの更新を説明するフローチャート、A flowchart for explaining the update of the control table; 制御テーブルのセットの一例を示す図、The figure which shows an example of the set of a control table, 実施例2において、図7に示した制御テーブルのテーブル群に追加する履歴テーブルを示す図、In Example 2, a diagram showing a history table to be added to the table group of the control table shown in FIG. 図8に示す制御テーブルの更新処理における指定テーブルの検索の直前に実行する処理を示すフローチャート、FIG. 9 is a flowchart showing processing executed immediately before a specified table search in the control table update processing shown in FIG. 実施例2における制御テーブルのセットの一例を示す図、A diagram showing an example of a set of control tables in the embodiment 2, 実施例3において、図7に示した制御テーブルのテーブル群に追加する履歴テーブルを示す図、In Example 3, a diagram showing a history table to be added to the table group of the control table shown in FIG. 図8に示す制御テーブルの更新処理におけるキャッシュ情報IDの取得と更新要求の間で実行する処理を示すフローチャート、The flowchart which shows the process performed between acquisition of the cache information ID and the update request in the update process of the control table shown in FIG. 実施例3における制御テーブルのセットの一例を示す図、、FIG. 10 is a diagram illustrating an example of a set of control tables in the third embodiment; 警告ダイアログの一例を示す図、Figure showing an example of warning dialog, 制御テーブルを更新する変形例を説明するフローチャート、The flowchart explaining the modification which updates a control table, カラーマッチングシステムの構成の概要を示すブロック図、Block diagram showing an outline of the configuration of the color matching system, 色変換用データを作成する手順を説明する図、A diagram explaining the procedure for creating color conversion data, 図18の構成をデバイスキャッシュで置き換えた様子を示す図である。FIG. 19 is a diagram showing a state where the configuration of FIG. 18 is replaced with a device cache.

Claims (5)

入力デバイスに依存する色空間のデータにデバイスに依存しない色空間のデータに変換する入力変換、入力観察条件に基づく色知覚モデルの順変換、出力デバイスの色域のデータに変換する色域変換、出力観察条件に基づく前記色知覚モデルの逆変換、前記出力デバイスに依存する色空間のデータに変換する出力変換を含む色変換を施す色処理方法であって、
前記入力変換、前記順変換、前記色域変換、前記逆変換および前記出力変換をそれぞれ行うために必要なモジュールおよびプロファイルをメモリに格納するステップと、
前記入力変換、前記順変換、前記色域変換、前記逆変換および前記出力変換の変換特性を組み合わせた統合変換データを作成して前記メモリにキャッシュするステップと、
前記キャッシュされた統合変換データを管理するために、組み合わせ識別情報に対応させて前記入力変換に関する識別情報、前記順変換に関する識別情報、前記色域変換に関する識別情報、前記逆変換に関する識別情報および前記出力変換に関する識別情報の組み合わせを保持する第一の管理テーブルを前記メモリに格納するステップと、
前記キャッシュされた統合変換データの更新を管理するために、前記組み合わせ識別情報を保持する第二の管理テーブルを前記メモリに格納するステップと、
前記入力変換、前記色域変換または前記出力変換に関連するモジュールまたはプロファイルがインストールされると、前記第一の管理テーブルを参照して、前記インストールされたモジュールまたはプロファイルに対応する前記入力変換、前記色域変換または前記出力変換に関する識別情報を有する統合変換データの前記組み合わせ識別情報を取得するステップと、
前記第二の管理テーブルを参照して、前記取得した組み合わせ識別情報に対応する統合変換データ更新の対象か否かを判定するステップと
前記取得した組み合わせ識別情報に対応する統合変換データが更新の対象と判定された場合は、前記インストールされたモジュールまたはプロファイルを用いて、前記組み合わせ識別情報に対応する前記キャッシュされた統合変換データを更新するステップと、
前記取得した組み合わせ識別情報に対応する統合変換データが更新の対象ではないと判定された場合は、前記組み合わせ識別情報に対応する前記キャッシュされた統合変換データおよび前記組み合わせ識別情報に対応する前記第一の管理テーブルのレコードを削除するステップとを有することを特徴とする色処理方法。
The data of a color space dependent on the input device, the input conversion for converting the data of a color space independent of the device, forward conversion of the color appearance model based on the input viewing conditions, gamut conversion for converting the data of the color gamut of the output device A color processing method for performing color conversion including inverse conversion of the color perception model based on output observation conditions and output conversion for conversion to data in a color space depending on the output device,
And storing the input conversion, the forward transformation, the gamut conversion, the module and profile required to perform each of the inverse transform and said output conversion in the memory,
Creating integrated conversion data combining the conversion characteristics of the input conversion, the forward conversion, the color gamut conversion, the reverse conversion, and the output conversion, and caching them in the memory;
In order to manage the cached integrated conversion data, identification information related to the input conversion, identification information related to the forward conversion, identification information related to the color gamut conversion, identification information related to the reverse conversion, Storing in the memory a first management table holding a combination of identification information relating to output conversion;
Storing a second management table holding the combination identification information in the memory for managing the update of the cached integrated conversion data;
When a module or profile related to the input conversion, the color gamut conversion or the output conversion is installed , the input conversion corresponding to the installed module or profile is referred to by referring to the first management table , Obtaining the combination identification information of the integrated conversion data having identification information relating to color gamut conversion or the output conversion ;
Determining whether or not the integrated conversion data corresponding to the acquired combination identification information is an update target with reference to the second management table ;
If the integrated conversion data corresponding to the acquired combination identification information is determined to be updated, the cached integrated conversion data corresponding to the combination identification information is updated using the installed module or profile. And steps to
When it is determined that the integrated conversion data corresponding to the acquired combination identification information is not an update target, the cached integrated conversion data corresponding to the combination identification information and the first corresponding to the combination identification information And a step of deleting a record in the management table .
さらに、前記入力変換、前記順変換、前記色域変換、前記逆変換および前記出力変換の何れかに関する前記変換特性を示す部分変換データを作成して前記メモリにキャッシュするステップを有することを特徴とする請求項1に記載された色処理方法。 Further, characterized in that it has the input conversion, the forward transformation, the gamut conversion, that creates a partial conversion data indicating the characteristics relating to one of the inverse transform and said output conversion caches in the memory step The color processing method according to claim 1. さらに、前記キャッシュされた部分変換データを管理するために、前記入力変換に関する識別情報または前記出力変換に関する識別情報に対応させて前記モジュールの識別情報および前記プロファイルの識別情報の組み合わせを保持する第三の管理テーブルを前記メモリに格納するステップを有することを特徴とする請求項2に記載された色処理方法。 Further, in order to manage the cached partial conversion data, a third holding a combination of the module identification information and the profile identification information in correspondence with the identification information about the input conversion or the identification information about the output conversion. color processing method according to claim 2, the management table, characterized in that have a step of storing in said memory. 入力デバイスに依存する色空間のデータにデバイスに依存しない色空間のデータに変換する入力変換、入力観察条件に基づく色知覚モデルの順変換、出力デバイスの色域のデータに変換する色域変換、出力観察条件に基づく前記色知覚モデルの逆変換、前記出力デバイスに依存する色空間のデータに変換する出力変換を含む色変換を施す色処理装置であって、
前記入力変換、前記順変換、前記色域変換、前記逆変換および前記出力変換をそれぞれ行うために必要なモジュールおよびプロファイルをメモリに格納する手段と、
前記入力変換、前記順変換、前記色域変換、前記逆変換および前記出力変換の変換特性を組み合わせた統合変換データを作成して前記メモリにキャッシュする手段と、
前記キャッシュされた統合変換データを管理するために、組み合わせ識別情報に対応させて前記入力変換に関する識別情報、前記順変換に関する識別情報、前記色域変換に関する識別情報、前記逆変換に関する識別情報および前記出力変換に関する識別情報の組み合わせを保持する第一の管理テーブルを前記メモリに格納する手段と、
前記キャッシュされた統合変換データの更新を管理するために、前記組み合わせ識別情報を保持する第二の管理テーブルを前記メモリに格納する手段と、
前記入力変換、前記色域変換または前記出力変換に関連するモジュールまたはプロファイルがインストールされると、前記第一の管理テーブルを参照して、前記インストールされたモジュールまたはプロファイルに対応する前記入力変換、前記色域変換または前記出力変換に関する識別情報を有する統合変換データの前記組み合わせ識別情報を取得する手段と、
前記第二の管理テーブルを参照して、前記取得した組み合わせ識別情報に対応する統合変換データ更新の対象か否かを判定する手段と
前記取得した組み合わせ識別情報に対応する統合変換データが更新の対象と判定された場合は、前記インストールされたモジュールまたはプロファイルを用いて、前記組み合わせ識別情報に対応する前記キャッシュされた統合変換データを更新する手段と、
前記取得した組み合わせ識別情報に対応する統合変換データが更新の対象ではないと判定された場合は、前記組み合わせ識別情報に対応する前記キャッシュされた統合変換データを削除する手段とを有することを特徴とする色処理装置。
The data of a color space dependent on the input device, the input conversion for converting the data of a color space independent of the device, forward conversion of the color appearance model based on the input viewing conditions, gamut conversion for converting the data of the color gamut of the output device A color processing device for performing color conversion including inverse conversion of the color perception model based on output observation conditions and output conversion for conversion to data in a color space depending on the output device,
It means for storing the input conversion, the forward transformation, the gamut conversion, the module and profile required to perform each of the inverse transform and said output conversion in the memory,
Means for creating integrated conversion data combining the conversion characteristics of the input conversion, the forward conversion, the color gamut conversion, the reverse conversion, and the output conversion and caching them in the memory;
In order to manage the cached integrated conversion data, identification information related to the input conversion, identification information related to the forward conversion, identification information related to the color gamut conversion, identification information related to the reverse conversion, Means for storing in the memory a first management table holding a combination of identification information relating to output conversion;
Means for storing, in the memory, a second management table that holds the combination identification information in order to manage the update of the cached integrated conversion data;
When a module or profile related to the input conversion, the color gamut conversion or the output conversion is installed , the input conversion corresponding to the installed module or profile is referred to by referring to the first management table , Means for obtaining said combination identification information of integrated conversion data having identification information relating to color gamut conversion or said output conversion ;
With reference to the second management table, integrated conversion data corresponding to the acquired combined identification information means for determining whether the updating of the target,
If the integrated conversion data corresponding to the acquired combination identification information is determined to be updated, the cached integrated conversion data corresponding to the combination identification information is updated using the installed module or profile. Means to
A unit that deletes the cached integrated conversion data corresponding to the combination identification information when it is determined that the integrated conversion data corresponding to the acquired combination identification information is not an update target. Color processing device.
コンピュータ装置を制御して、請求項1から請求項4の何れか一項に記載された色処理を実現することを特徴とするプログラム。 For controlling a computer system, a program, characterized in that to realize a color process according to claims 1 to any one of claims 4.
JP2005252476A 2005-08-31 2005-08-31 Color processing method and apparatus Expired - Fee Related JP4455456B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005252476A JP4455456B2 (en) 2005-08-31 2005-08-31 Color processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005252476A JP4455456B2 (en) 2005-08-31 2005-08-31 Color processing method and apparatus

Publications (3)

Publication Number Publication Date
JP2007067937A JP2007067937A (en) 2007-03-15
JP2007067937A5 JP2007067937A5 (en) 2008-10-09
JP4455456B2 true JP4455456B2 (en) 2010-04-21

Family

ID=37929577

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005252476A Expired - Fee Related JP4455456B2 (en) 2005-08-31 2005-08-31 Color processing method and apparatus

Country Status (1)

Country Link
JP (1) JP4455456B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010114839A (en) * 2008-11-10 2010-05-20 Canon Inc Image processing device and image processing method
JP5344619B2 (en) * 2009-12-28 2013-11-20 キヤノンマーケティングジャパン株式会社 Information processing apparatus, method and program

Also Published As

Publication number Publication date
JP2007067937A (en) 2007-03-15

Similar Documents

Publication Publication Date Title
US20090210732A1 (en) Information processing apparatus and method of controlling the same
JP5344518B2 (en) Image processing method and image processing apparatus
US20080170045A1 (en) Digital information input apparatus
JP2005333630A (en) Color management module
EP1968305B1 (en) Color processing apparatus and method thereof
US8767253B2 (en) Information processing apparatus and computer program product
JP2006081190A (en) Method and apparatus for efficient processing of color conversion
US7760393B2 (en) Color processing method and apparatus thereof, and installer of device driver
JP4455456B2 (en) Color processing method and apparatus
US8218159B2 (en) Data processing apparatus for transmitting resources to an image processing apparatus
JP4921151B2 (en) Data processing apparatus, printing apparatus, printing processing method, storage medium, program
JP2008084305A (en) Method and system for composite printer conversion
JP2011188198A (en) Image processing system, information processing system, control method, and program
JP2016126604A (en) Terminal device, program, information processing system and output method
JP2003198866A (en) Image output apparatus, control method therefor, and image output system
JP4498245B2 (en) Color processing method and apparatus
JP4035283B2 (en) Image processing system and control method thereof
JP2000083176A (en) Conversion device and method, image processing device, and recording medium
JP2007158613A (en) Image processing apparatus, control method therefor, and control program
JP2009200930A (en) Image processing apparatus, image processing method, program, and storage medium
JP2015075839A (en) Image processing apparatus, image processing method, and program
JP2004080175A (en) Image processing apparatus, data processing method, computer-readable storage medium, and program
JP4960269B2 (en) Image processing system and image processing apparatus
JP2007067958A (en) Information processing method and device driver installer
JP2007067936A (en) Color matching system and method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080826

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080826

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091026

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091030

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091225

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100201

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100203

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130212

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees