JP4455456B2 - Color processing method and apparatus - Google Patents
Color processing method and apparatus Download PDFInfo
- 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
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.
本発明は、キャッシュした統合変換データに組み合わされた変換の何れかが変更された場合、キャッシュした統合変換データを適切に更新または削除することを目的とする。 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
入力インタフェイス105は、キーボードやマウス、ディジタルカメラ、スキャナなどの入力デバイス106を接続する例えばUSBやIEEE1394などのシリアルバスインタフェイスである。CPU 101は、入力インタフェイス105を介して、入力デバイス106からデータを読み込むことが可能である。なお、例えばディジタルカメラのモデル名や色域情報といった、入力デバイス106に固有のデバイス情報も読み込むことができる。
The
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
ビデオインタフェイス109は、モニタ110を接続するインタフェイスである。CPU 101は、ビデオインタフェイス109を制御して、任意の文字や画像をモニタ110に表示することができる。
The
出力インタフェイス111は、プリンタ、プロッタ、フィルムレコーダなどの出力デバイス112を接続する例えばUSBやIEEE1394などのシリアルバスインタフェイスである。CPU101は、出力インタフェイス111を介して出力デバイス112にデータを送り、印刷や記録を実行させることができる。また、入力デバイス106の場合と同様に、CPU101は、出力インタフェイス111を介して、出力デバイス112のモデル名や色域情報といった、出力デバイス112に固有のデバイス情報を読み込むことができる。なお、USBやIEEE1394などの双方向通信インタフェイスを利用すれば、入力インタフェイス105と出力インタフェイス111は一つにまとめることができる。
The
[カラーマッチグ処理の概略]
図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
図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,
なお、以下では、デバイスキャッシュには、例えば、スキャナやディジタルカメラなどの入力機器の色変換用データも含む。また、デバイスの測色値から色変換用データを作成する方法は、図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
また、入力変換部1101、順変換部1102、逆変換部1104および出力変換部1105の変換データ、並びに、特定の色域変換アルゴリズムの色域変換部1103の変換特性(色域変換データ)をそれぞれキャッシュしたものを「部分キャッシュ」と呼ぶ。
Also, the conversion data of the
[機能構成]
図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
制御部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
入力変換部204は、制御部201の指示に基づき、入力切替部203を介して入力される入力デバイスに依存する色データを、デバイスに依存しない色空間(例えばXYZ色空間)のデータに変換する。その際、制御部201は、入力側の環境光の白色点基準(入力観察条件)、入力プロファイルなどの変換パラメータを入力変換部204に設定する。入力変換部204は、入力観察条件に基づき、例えば入力RGBデータを例えばXYZデータに変換する。
Based on an instruction from the
また、入力変換部204は、変換処理の前後に必要に応じて、入力変換修正部205に色データを送って色補正を行う。入力変換修正部205は、入力変換部204から入力される色データに、制御部201から入力される指示やパラメータに応じて適切な色補正を施し、入力変換部204に戻す。
Further, the
順変換部206は、入力変換部204から入力される色データの色空間を色知覚空間JChまたはQMhへ変換する色知覚モデルの順変換部(CAM)である。色知覚モデルとしてCIECAM97sやCIECAM02などが知られている。なお、順変換部206の処理に必要なパラメータは、制御部201によって設定される。
The
切替部207は、制御部201の指示に従い、順変換部206から出力される色データを相対的な色域変換を行う色域変換部208または絶対的な色域変換を行う色域変換部209に入力する。
In accordance with an instruction from the
色域変換部208は、入力される色データに、環境光の基準白色に相対的な色知覚空間で行うのに適した色域変換処理を施す。このような色域変換の代表例には、知覚的一致(Perceptual)、相対的一致(Relative Colorimetric)、および、彩度優先(Saturation)の色域マッピングがあげられる。
The color
一方、色域変換部209は、入力される色データに、照度レベルによって大きさが変化する絶対的な色知覚空間で行うのに適した色域変換処理を施す。このような色域変換の代表例には、絶対的一致(Absolute Colorimetric)の色域マッピングがあげられる。
On the other hand, the color
逆変換部210は、色域変換部209から入力される色データを例えばXYZデータに変換する、順変換部206と逆の色変換を行う色知覚モデルの逆変換部(CAM-1)である。なお、逆変換部210の処理に必要なパラメータは、制御部201によって設定される。
The
出力変換部211は、制御部201の指示に基づき、逆変換部210から入力される色データを、出力デバイスに依存する色空間のデータに変換する。その際、制御部201は、出力側の環境光の白色点基準(出力観察条件)、出力プロファイルなどの変換パラメータを出力変換部211に設定する。出力変換部211は、出力観察条件に基づき、例えばXYZデータを例えばCMYKデータに変換する。
Based on an instruction from the
また、出力変換部211は、変換処理の前後に必要に応じて、出力変換修正部212に色データを送って色補正を行う。出力変換修正部212は、出力変換部211から入力される色データに、制御部201から入力される指示やパラメータに応じて適切な色補正を施し、出力変換部211に戻す。
The
制御部201は、入力切替部203および出力切替部213を操作して、カラーマッチング処理の系統、つまり上記の入力変換部204から出力変換部211、または、システム特性適用部214を切り換える。また、入力変換部204の入力元を入力デバイスまたはカラーサンプル216に切り換える。さらに、出力変換部211の出力先を出力デバイスまたはシステム特性作成部217に切り換える。
The
システム特性適用部214は、上記の入力変換部204から出力変換部211の処理を効率化するために用意されている。システム特性適用部214がカラーマッチング処理を行うために必要な変換特性データは、システム特性作成部217で生成された後、記憶部202に格納される。
The system
また、入力変換部204および出力変換部211と同様に、システム特性適用部214は、適宜呼び出すことができるシステム特性修正部215を備える。システム特性修正部215は、システム特性適用部214から入力される色データに、制御部201から入力される指示やパラメータに応じた適切な色補正を施し、システム特性適用部214に戻す。
Similarly to the
カラーサンプル216は、システム特性適用部214が使用するデータを作成するために必要な例えばカラーパッチデータなどの色情報の集合である。図3はカラーサンプル216の構成例を示す図である。図3に示すように、カラーサンプル216は、例えば、各8ビットのRGBデータをさらに離散的な集合としたものである。システム特性作成部217は、このカラーサンプル216を入力変換部204から出力変換部211において処理した結果から、システム特性データを生成して記憶部202に後述するキャッシュデータ(システムキャッシュ)として格納する。
The
インストール制御部218は、例えばプラグインなどのインストーラが利用することを想定した機能で、記憶部202に含まれる各種情報を適切に制御する機能をもつ。
The
[システムキャッシュ]
図4はシステムキャッシュの作成処理を説明するフローチャートで、制御部201によって実行される処理である。
[System Cache]
FIG. 4 is a flowchart for explaining system cache creation processing, which is executed by the
制御部201は、入力切替部203と出力切替部213を操作して(S61)、カラーサンプル216を入力変換部203へ入力し、出力変換部211の出力をシステム特性作成部217へ入力するように設定する。
The
次に、制御部201は、作成するシステムキャッシュに対応するデバイスや観測条件に応じた各種パラメータを記憶部202から読み出して、入力変換部204、順変換部206、逆変換部210、出力変換部211に設定する。また、それらの情報はすべて記憶部202に格納されている。また、色域マッピングの方法に応じて切替部207を設定する(S62)。
Next, the
次に、制御部201は、カラーサンプル216から一組の色データを読み出して入力変換部204に入力する(S63)。色データは、入力変換部204、順変換部206、逆変換部210、出力変換部211に順に処理され、システム特性作成部217はカラーマッチング処理後の色データを入力する。制御部201は、ステップS64の判定により、カラーサンプル216から全組の色データを読み出すまでステップS63の処理を繰り返す。
Next, the
色データの読み出しが終了すると、制御部201は、システム特性作成部217にカラーサンプル216とカラーマッチング処理後の色データの対応を示すテーブルの作成を指示する(S65)。
When the reading of the color data is completed, the
図5はシステム特性作成部217が作成するテーブルを示す図である。このテーブルは、ある入力デバイスとある入力観察条件の下の、入力色データ(図ではRGBデータ)に対応する、ある出力デバイスとある出力観察条件に依存する色データ(図ではCMYKデータ)の関係を示している。
FIG. 5 is a diagram showing a table created by the system
次に、制御部201は、システム特性作成部217が作成したテーブルをシステムキャッシュとして記憶部202の所定領域に格納する(S66)。以降、システムキャッシュが存在する入力デバイス、入力観察条件、出力デバイス、出力観察条件の組み合わせにおけるカラーマッチング処理は、システム特性適用部214に当該システムキャッシュを供給することで実行可能である。
Next, the
なお、図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
また、システムキャッシュの作成と同様に、上記の各変換部の変換特性を示すデータを作成し、記憶部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
[記憶部]
図6は記憶部202に格納された様々なデータの様子を示す図である。
[Storage unit]
FIG. 6 is a diagram illustrating various data stored in the
プラグイン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
プロファイル303は、入力変換部204や出力変換部211などに設定するデータで、一般に複数のファイルから構成される。制御部201は、入出力デバイスに応じて記憶部202から読み出したプロファイル303を入力変換部204や出力変換部211などに設定する。
The
キャッシュデータ304は、入力変換部204、入力変換修正部205、順変換部206、色域変換部208、209、出力変換修正部212、出力変換部211、システム特性適用部214それぞれの処理結果をテーブルとしてキャッシュしたデータである。各部は、過去に演算した入力と同一の入力は、あらためて演算を行わずに、キャッシュデータ304を出力(再利用)する。これにより、演算を行わない分、処理効率を高めることができる。勿論、入力に対応するキャッシュデータが存在しない場合、各部は、通常の演算処理を行う。
The
修正データ305は、入力変換修正部205、出力変換修正部212、システム特性修正部215が使用するデータで、一般に複数のファイルで構成される。
The
制御テーブル301は、複数のテーブルから構成され、各テーブルには記憶部202に格納された上記の各種データを管理するためのデータが記録される。
The control table 301 includes a plurality of tables, and data for managing the various data stored in the
図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
デバイス管理テーブル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
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
色域変換管理テーブル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
上記の各テーブルにおいて、組み合わせ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
修正管理テーブル406は、図3に示す修正データ305のファイル名を、修正データIDに対応付けて管理するためのテーブルである。修正データIDは、ユニークなIDで、キャッシュ管理テーブル405から参照される。なお、修正データ305は、一つのキャッシュデータ304に対して複数存在することができる。
The correction management table 406 is a table for managing the file name of the
指定テーブル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
[システムキャッシュの更新]
以下では、ユーザが予め指定した、組み合わせ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
インストール制御部218は、ファイル(プラグインまたはプロファイル)を記憶部202に格納する(S801)。なお、ファイルの種類によって記憶部202に格納する場所を区別する必要はないが、もし区別する場合は、インストール制御部218がファイルの種類を認識した後、所定の場所に配置すればよい。
The
インストール制御部218は、新たに格納したファイルの種類を判定する(S802)。そして、デバイスプラグインまたはプロファイル(以下「デバイスプラグイン」と省略する)であればステップS803に、色域変換プラグインであればステップS815に処理を分岐する。
The
デバイスプラグインの場合、インストール制御部218は、それに相当するプラグイン名がデバイス管理テーブル402に記録されている(存在する)か否かを判定する(S803)。存在する場合は、デバイス管理テーブル402から対応するデバイス情報IDを取得する(S804)。そして、当該デバイス情報IDによってシステム管理テーブル401を検索して、更新したデバイスプラグインに関連する組み合わせIDを取得する(S805)。なお、ここでは複数の組み合わせIDが取得される場合がある。
In the case of a device plug-in, the
次に、インストール制御部218は、取得した組み合わせIDそれぞれについて、指定テーブル407に登録されているか否かを判定する(S806)。
Next, the
指定テーブル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
また、指定テーブル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
一方、新たなデバイスプラグインに相当するプラグイン名がデバイス管理テーブル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
他方、色域変換プラグインと判定した場合、インストール制御部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
また、新たな色域変換プラグインに相当するプラグイン名が色域変換管理テーブル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
図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
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
そして、システム管理テーブル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
また、指定テーブル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
次に、インストール制御部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
このように、ユーザが指定テーブル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
実施例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
なお、最近の所定数(上記では五つ)のジョブの中で頻度が最大の組み合わせ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
図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
見積時間の取得、積算が終了すると、インストール制御部218は、見積時間の積算値と許容時間レジスタ410の値(許容値)を比較し(S1405)、積算値≦許容値であれば、処理を図8に示すステップS812に進める。
When the acquisition and integration of the estimated time are completed, the
一方、積算値>許容値の場合、インストール制御部218は、図16に示すような警告ダイアログを表示し(S1406)、ユーザの判断を待つ(S1407)。ユーザが「はい」ボタンを押すと、処理を図8に示すステップS812に進めて、ステップS811で取得したキャッシュ情報IDに対応するシステムキャッシュの更新を制御部201に要求する。
On the other hand, if the integrated value> the allowable value, the
また、「いいえ」ボタンが押された場合、インストール制御部218は、ステップS811で取得したキャッシュ情報IDをクリアして、処理を図8に示すステップS812に進める。つまり、ステップS811で取得したキャッシュ情報IDをクリアすることで、システムキャッシュの更新を制御部201に要求しないことになる。
If the “No” button is pressed, the
図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
また、システム全体の変換特性データをシステムキャッシュとしてキャッシュする例を説明したが、システムを二つに分けた方がより自然な場合、例えば前半部分と後半部分に分けてそれぞれキャッシュデータを作成すればよい。 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.
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 .
前記入力変換、前記順変換、前記色域変換、前記逆変換および前記出力変換をそれぞれ行うために必要なモジュールおよびプロファイルをメモリに格納する手段と、
前記入力変換、前記順変換、前記色域変換、前記逆変換および前記出力変換の変換特性を組み合わせた統合変換データを作成して前記メモリにキャッシュする手段と、
前記キャッシュされた統合変換データを管理するために、組み合わせ識別情報に対応させて前記入力変換に関する識別情報、前記順変換に関する識別情報、前記色域変換に関する識別情報、前記逆変換に関する識別情報および前記出力変換に関する識別情報の組み合わせを保持する第一の管理テーブルを前記メモリに格納する手段と、
前記キャッシュされた統合変換データの更新を管理するために、前記組み合わせ識別情報を保持する第二の管理テーブルを前記メモリに格納する手段と、
前記入力変換、前記色域変換または前記出力変換に関連するモジュールまたはプロファイルがインストールされると、前記第一の管理テーブルを参照して、前記インストールされたモジュールまたはプロファイルに対応する前記入力変換、前記色域変換または前記出力変換に関する識別情報を有する統合変換データの前記組み合わせ識別情報を取得する手段と、
前記第二の管理テーブルを参照して、前記取得した組み合わせ識別情報に対応する統合変換データが更新の対象か否かを判定する手段と、
前記取得した組み合わせ識別情報に対応する統合変換データが更新の対象と判定された場合は、前記インストールされたモジュールまたはプロファイルを用いて、前記組み合わせ識別情報に対応する前記キャッシュされた統合変換データを更新する手段と、
前記取得した組み合わせ識別情報に対応する統合変換データが更新の対象ではないと判定された場合は、前記組み合わせ識別情報に対応する前記キャッシュされた統合変換データを削除する手段とを有することを特徴とする色処理装置。 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.
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)
| 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 |
-
2005
- 2005-08-31 JP JP2005252476A patent/JP4455456B2/en not_active Expired - Fee Related
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 |