JP2007067935A - Image processing apparatus and method thereof - Google Patents

Image processing apparatus and method thereof Download PDF

Info

Publication number
JP2007067935A
JP2007067935A JP2005252474A JP2005252474A JP2007067935A JP 2007067935 A JP2007067935 A JP 2007067935A JP 2005252474 A JP2005252474 A JP 2005252474A JP 2005252474 A JP2005252474 A JP 2005252474A JP 2007067935 A JP2007067935 A JP 2007067935A
Authority
JP
Japan
Prior art keywords
update
plug
data
color
conversion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2005252474A
Other languages
Japanese (ja)
Inventor
Kikuo Naito
起久雄 内藤
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 JP2005252474A priority Critical patent/JP2007067935A/en
Publication of JP2007067935A publication Critical patent/JP2007067935A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To solve a problem that a color matching result obtained by plug in update cannot always be a desired update result. <P>SOLUTION: Prior to the plug in update, a result of applying the plug in update to a target image is confirmed in advance by previewing results of the color matching before and after the plug in update applied to a prescribed image, and when the update result is executed as desired, the plug in update is instructed. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、カラーマッチング処理を構成する変換処理を更新する際の処理に関する。   The present invention relates to a process for updating a conversion process constituting a color matching process.

今日、コンピュータの発達と共にデジタル画像データの流通はごく一般的に行われている。画像データの流通に際しては、デバイス間のカラー表現の差異を配慮して、使用デバイスに適切な色信号へ変換を行う、いわゆるカラーマッチングを行うことは周知のとおりである。そして、カラーマッチングによる変換結果を事前に確認する方法も知られている(例えば、特許文献1参照)。   Today, with the development of computers, the distribution of digital image data is very common. It is well known that when image data is distributed, so-called color matching is performed in which color signals are converted into a color signal suitable for a device in use in consideration of a difference in color expression between devices. A method for confirming the conversion result by color matching in advance is also known (see, for example, Patent Document 1).

以下に、図10の概念図を用いて一般的に用いられているカラーマッチングについて説明する。RGBデータである入力データは、入力プロファイルによりデバイスに依存しない色空間のXYZデータに変換される。出力デバイスの色再現範囲外の色は出力デバイスにより表現することができないため、そのすべての色が出力デバイスの色再現範囲内に収まるように、デバイスに依存しない色空間のデータに変換された入力データに色空間圧縮が施される。そして、色空間圧縮が施された後、入力データはデバイスに依存しない色空間から出力デバイスに依存する色空間のCMYKデータへ変換される。   Hereinafter, color matching generally used will be described with reference to the conceptual diagram of FIG. The input data that is RGB data is converted into XYZ data in a color space that does not depend on the device by the input profile. Since colors outside the color gamut of the output device cannot be represented by the output device, the input converted to device-independent color space data so that all the colors fall within the color gamut of the output device. Color space compression is applied to the data. After color space compression, the input data is converted from a device-independent color space to CMYK data in a color space that depends on the output device.

カラーマッチングにおいて基準白色点および環境光は固定されている。例えば、International Color Consortium(ICC)によって規定されるプロファイルでは、プロファイルを結び付けるProfile Connection Space(PCS)がD50基準のXYZ値およびLab値である。このため、入力原稿やプリント出力はD50特性の光源下で観察する場合に正しい色再現が保証され、その他の特性の光源下では正しい色再現が保証されない。
特開平9-326938号公報
In color matching, the reference white point and the ambient light are fixed. For example, in a profile defined by International Color Consortium (ICC), Profile Connection Space (PCS) for linking profiles is the D50 standard XYZ value and Lab value. For this reason, correct color reproduction is guaranteed when the input document or print output is observed under a light source having D50 characteristics, and correct color reproduction is not guaranteed under a light source having other characteristics.
JP-A-9-326938

カラーマッチング処理を構成する変換処理の組み合わせによっては、当然の如くカラーマッチング処理の結果は変わるために、ユーザの嗜好にそぐわない変換結果をもたらすこともある。   Depending on the combination of the conversion processes constituting the color matching process, the result of the color matching process naturally changes, so that a conversion result that does not match the user's preference may be brought about.

従来は、変換処理を更新する際に、更新した変換処理によるカラーマッチング結果を確認した後に、変換処理の更新を実行するか否かを判断することができなかった。   Conventionally, when updating the conversion process, it has been impossible to determine whether or not to update the conversion process after confirming the color matching result of the updated conversion process.

特許文献1では、プリンタの印刷結果をプレビューすることはできるが、変換処理の更新する際にプレビューすることはできなかった。   In Patent Document 1, the printing result of the printer can be previewed, but cannot be previewed when the conversion process is updated.

また、カラーマッチングに使用する変換処理をコンピュータで稼動可能なプラグラムファイルによって提供することが提案されている。このプログラムファイルをカラーマッチングに用いるには事前登録が必要となる。故に、変換処理プラグラムのバージョンアップによってユーザの嗜好にそぐわない変換結果が生じてしまった場合には、煩雑な手順を経て該プログラムを以前のバージョンへ戻さなければならない。   Further, it has been proposed to provide a conversion process used for color matching by a program file operable on a computer. Pre-registration is required to use this program file for color matching. Therefore, when a conversion result that does not match the user's preference is generated by upgrading the conversion processing program, the program must be returned to the previous version through a complicated procedure.

本発明は上記問題を解決するためになされたものであり、カラーマッチング処理を構成する変換処理を更新する際に、簡便な方法でユーザの意図に応じた更新結果を得ることを可能とする画像処理装置およびその方法を提供することを目的とする。   The present invention has been made to solve the above-described problem, and an image that makes it possible to obtain an update result according to a user's intention by a simple method when updating a conversion process that constitutes a color matching process. It is an object of the present invention to provide a processing apparatus and method.

上記目的を達成するための一手法として、本発明の画像処理方法は以下のステップを有する。   As a technique for achieving the above object, the image processing method of the present invention includes the following steps.

すなわち、カラーマッチング処理を構成する変換処理を更新可能とする画像処理方法であって、更新対象となる新たな変換処理を指示する更新指示ステップと、前記新たな変換処理を含むカラーマッチング処理を事前実行した結果を報知する事前確認ステップと、前記事前確認ステップにおける報知結果に基づいて前記新たな変換処理への更新の可否を判断する更新判断ステップと、前記更新判断ステップにおいて更新可と判断された場合に前記新たな変換処理への更新を行う更新ステップと、を有することを特徴とする。   In other words, an image processing method that makes it possible to update a conversion process that constitutes a color matching process, which includes an update instruction step that instructs a new conversion process to be updated, and a color matching process that includes the new conversion process in advance. A prior confirmation step for notifying the execution result, an update determination step for determining whether or not to update to the new conversion process based on the notification result in the prior confirmation step, and an update determination in the update determination step. And an update step for updating to the new conversion process in the case of the above.

例えば、前記事前確認ステップにおいては、前記新たな変換処理を含むカラーマッチング処理の事前実行結果を画面表示することを特徴とする。   For example, in the preliminary confirmation step, the preliminary execution result of the color matching process including the new conversion process is displayed on the screen.

例えば、前記事前確認ステップにおいては、前記新たな変換処理を含むカラーマッチング処理を所定の画像に対して実行した結果を報知することを特徴とする。   For example, in the prior confirmation step, a result of executing a color matching process including the new conversion process on a predetermined image is notified.

例えば、前記事前確認ステップにおいてはさらに、更新前の変換処理を含むカラーマッチング処理を前記所定の画像に対して実行した結果を報知することを特徴とする。   For example, in the prior confirmation step, a result of executing a color matching process including a conversion process before the update on the predetermined image is notified.

例えば、前記新たな変換処理は、プラグインモジュールとして提供されることを特徴とする。   For example, the new conversion process is provided as a plug-in module.

上記構成からなる本発明によれば、カラーマッチング処理を構成する変換処理を更新する際に事前確認を行うことによって、簡便な方法でユーザの意図に応じた更新結果を得ることが可能となる。   According to the present invention having the above-described configuration, it is possible to obtain an update result according to the user's intention by a simple method by performing prior confirmation when updating the conversion process constituting the color matching process.

以下、添付の図面を参照して、本発明をその好適な実施形態に基づいて詳細に説明する。   Hereinafter, the present invention will be described in detail based on preferred embodiments with reference to the accompanying drawings.

<色知覚モデル>
まず、本実施形態のカラーマッチングに用いる色知覚モデルについて、図9を用いて説明する。
<Color perception model>
First, a color perception model used for color matching according to the present embodiment will be described with reference to FIG.

人間の視覚系によって知覚される色は、照明光の違い、刺激がおかれている背景などの条件によって、目に入ってくる光が同じであっても異なって見えることが知られている。 例えば、白熱電球で照明された白色は、目に入ってくる光の特性ほどには赤く感じられなくて、白として知覚される。また、黒い背景におかれた白と、明るい背景に置かれた白とでは黒い背景に置かれた白の方が明るく感じられる。前者の現象は色順応、後者は対比として知られている。このためには、XYZではなく網膜状に分布している視細胞の生理的な活性度に対応する量で色を表示する必要があるが、このような目的のために色知覚モデルが開発されている。CIEでは、CIECAM02の使用を推奨している。この色知覚モデルは色覚の生理的な三原色を用いており、例えばCIECAM02で計算される色知覚の相関量であるH(色相),J(明度),C(クロマ)、あるいは、H(色相),Q(ブライトネス),M(カラフルネス)の値が、観察条件に依存しない色の表示方法と考えられる。H,J,CまたはH,Q,Mの値がデバイス間で一致するように色再現することによって、入出力画像の観察条件の違いを解決することができる。   It is known that the color perceived by the human visual system looks different even when the light entering the eye is the same, depending on the conditions such as the difference in illumination light and the background on which the stimulus is placed. For example, white illuminated by an incandescent bulb does not feel as red as the characteristics of light entering the eye, and is perceived as white. In addition, white placed on a black background and white placed on a light background feel brighter on white placed on a black background. The former phenomenon is known as chromatic adaptation, and the latter is known as contrast. For this purpose, it is necessary to display colors in an amount corresponding to the physiological activity of photoreceptor cells distributed in retinal rather than XYZ. For this purpose, a color perception model has been developed. ing. CIE recommends using CIECAM02. This color perception model uses the physiological three primary colors of color vision, for example, H (hue), J (lightness), C (chroma), or H (hue), which is the correlation amount of color perception calculated by CIECAM02 , Q (brightness) and M (colorfulness) values are considered to be a color display method independent of viewing conditions. By reproducing the colors so that the values of H, J, C or H, Q, M match between the devices, the difference in the observation conditions of the input / output images can be solved.

以下、入力画像を観察する際の観察条件に応じた補正処理(XYZをHJCまたはHQMに変換する処理)を行う色知覚モデルCIECAM02の順変換における処理内容を説明する。   In the following, processing contents in the forward conversion of the color perception model CIECAM02 for performing correction processing (processing for converting XYZ into HJC or HQM) according to the observation conditions when observing the input image will be described.

図9においてまず、入力画像の観察条件情報としてステップS160で、順応視野の輝度LA、光源条件における試料の相対三刺激値XYZ、光源条件における白色光の相対三刺激値XωYωZω、および、光源条件における背景の相対輝度Ybが設定される。なお、順応視野の輝度LAの単位はcd/平方メートルであり、通常、順応視野における白の輝度の20%が選ばれる。また、ステップS180で指定される観察条件のタイプに基づき、入力画像の観察条件情報として、ステップS170で周囲の影響の定数c、色誘導係数Nc、明度コントラスト係数FLLおよび順応度の係数Fが設定される。   In FIG. 9, first, as observation condition information of the input image, in step S160, the luminance LA of the adaptation field, the relative tristimulus value XYZ of the sample under the light source condition, the relative tristimulus value XωYωZω of the white light under the light source condition, and the light source condition The background relative luminance Yb is set. The unit of the luminance LA of the adaptation field is cd / square meter, and 20% of the luminance of white in the adaptation field is usually selected. Based on the type of viewing condition specified in step S180, the ambient condition constant c, color induction coefficient Nc, brightness contrast coefficient FLL, and adaptation coefficient F are set as viewing condition information for the input image in step S170. Is done.

ステップS160およびS170で設定された入力画像観察条件情報に基づき、入力画像を示すXYZに対して以下のような処理が行われる。   Based on the input image observation condition information set in steps S160 and S170, the following processing is performed on XYZ indicating the input image.

まず、人間の生理的な三原色として考えられているBradfordの三原色に基づき、XYZを変換してBradford錐体応答RGBが求められる(S100)。人間の視覚は常に観察光源に完全順応するわけではないので、輝度レベルと周囲条件(LAおよびF)に基づき順応度を示す変数Dを求め、この変数DおよびXωYωZωに基づき、RGBに対して不完全順応処理を行いRcGcBcに変換される(S110)。   First, Bradford cone response RGB is obtained by converting XYZ based on Bradford's three primary colors considered as human's physiological three primary colors (S100). Since human vision is not always fully adapted to the observation light source, a variable D indicating the degree of adaptation is obtained based on the luminance level and ambient conditions (LA and F), and based on this variable D and XωYωZω, it is not suitable for RGB. A complete adaptation process is performed and converted to RcGcBc (S110).

次に、人間の生理的な三原色として考えられているHunt-Pointer-Estevezの三原色に基づき、RcGcBcを変換してHunt-Pointer-Estevez錐体応答R'G'B'が求められる(S120)。このR'G'B'に対して刺激強度レベルによる順応度合いの推定が行われ、試料と白の両方に応じた順応後錐体応答R'aG'aB'aが求められる(S130)。なお、ステップS130では、順応視野の輝度LAに基づき求められる変数FLを用いて非線型応答圧縮が行われる。   Next, RcGcBc is converted based on the three primary colors of Hunt-Pointer-Estevez, which are considered to be human physiological three primary colors, and a Hunt-Pointer-Estevez cone response R′G′B ′ is obtained (S120). An adaptation degree based on the stimulus intensity level is estimated for R′G′B ′, and a post-adaptation cone response R′aG′aB′a corresponding to both the sample and white is obtained (S130). In step S130, nonlinear response compression is performed using the variable FL obtained based on the luminance LA of the adaptation field of view.

続いて、見えとの相関関係を求めるために、以下の処理が行われる。   Subsequently, in order to obtain a correlation with appearance, the following processing is performed.

赤-緑および黄色-青の反対色応答abがR'aG'aB'aから求められ(S140)、反対色応答abおよび偏心係数から色相Hが求められる(S150)。   Red-green and yellow-blue opposite color responses ab are determined from R'aG'aB'a (S140), and hue H is determined from the opposite color response ab and the eccentricity coefficient (S150).

また、Yωおよび背景の相対輝度Ybから求められる背景誘導係数nが求められ、この背景誘導係数nを用いて試料および白の両方に関する無彩色応答AおよびAωが求められる(S190)。そして、背景誘導係数nおよび明度コントラスト係数FLLから求められる係数z、並びに、A,Aωおよびcに基づき明度Jが求められる(S151)。さらに、色誘導係数Ncから飽和度Sが求められ(S153)、飽和度Sおよび明度JからクロマCが求められ(S152)、明度Jおよび白の無彩色応答Aωから輝度Qが求められる(S154)。   Further, the background induction coefficient n obtained from Yω and the relative luminance Yb of the background is obtained, and achromatic responses A and Aω for both the sample and white are obtained using this background induction coefficient n (S190). Then, the lightness J is obtained based on the coefficient z obtained from the background induction coefficient n and the lightness contrast coefficient FLL, and A, Aω, and c (S151). Further, the saturation S is obtained from the color induction coefficient Nc (S153), the chroma C is obtained from the saturation S and the lightness J (S152), and the luminance Q is obtained from the lightness J and the white achromatic response Aω (S154). ).

また、変数FLおよび周囲の影響の定数cからカラフルネスMが求められる(S155)。   Further, the colorfulness M is obtained from the variable FL and the ambient influence constant c (S155).

<色知覚モデルを用いたカラーマッチング処理>
図1は、本実施形態における、上述した色知覚モデルを用いたカラーマッチング処理の概念を説明する図である。図1において、101は入力デバイスに依存する色信号を、入力側の環境光の白色点基準に基づくデバイスに依存しない色空間データへ変換するための変換マトリクスまたは変換ルックアップテーブル(LUT)である。104および105は入力観察条件(D50光源の白色点、照度レベル、周囲光の状態など)に基づいて人間の知覚信号JCHまたはQMHへ変換を行う色知覚モデル順変換部である。106および107は出力観察条件(D65光源の白色点、照度レベル、周囲光の状態など)に基づいて人間の知覚信号JCHまたはQMHよりデバイスに依存しない色信号であるXYZ信号へ変換する色知覚モデル逆変換部である。108は、出力側の環境光の白色点基準に基づくデバイスに依存しない色空間データより出力デバイスに依存する色信号へ変換するための変換マトリクスまたは変換ルックアップテーブル(LUT)である。102,103は入力色空間値を出力デバイスの色再現可能領域に応じて色空間値に変換を行う色空間変換部である。
<Color matching process using color perception model>
FIG. 1 is a diagram illustrating the concept of color matching processing using the above-described color perception model in the present embodiment. In FIG. 1, reference numeral 101 denotes a conversion matrix or conversion look-up table (LUT) for converting color signals depending on the input device into device-independent color space data based on the white point criterion of the ambient light on the input side. . Reference numerals 104 and 105 denote color perception model forward conversion units that perform conversion into human perceptual signals JCH or QMH based on input observation conditions (white point of D50 light source, illuminance level, ambient light state, etc.). 106 and 107 are color perception models that convert human perception signals JCH or QMH into XYZ signals that are device-independent color signals based on the output observation conditions (white point of D65 light source, illumination level, ambient light condition, etc.) It is an inverse conversion unit. Reference numeral 108 denotes a conversion matrix or conversion look-up table (LUT) for converting device-independent color space data based on the white point criterion of ambient light on the output side into color signals dependent on the output device. Reference numerals 102 and 103 denote color space conversion units that convert input color space values into color space values according to the color reproducible region of the output device.

RGBまたはCMYKの入力色信号は、変換LUT101により入力デバイスの色信号から入力観察条件におけるデバイスに依存しない色信号であるXYZ信号へ変換される。次に、XYZ信号は、色知覚モデル順変換部104および105により観察条件1(D50光源の白色点、照度レベル、周囲光の状態など)に基づいて人間の知覚信号JCHまたはQMHへ変換される。相対的カラーマッチングの場合はJCH空間が、絶対的カラーマッチングの場合はQMH空間がそれぞれ選択される。   The input color signal of RGB or CMYK is converted by the conversion LUT 101 from the color signal of the input device into an XYZ signal that is a color signal independent of the device under the input observation conditions. Next, the XYZ signal is converted into a human perception signal JCH or QMH by the color perception model forward conversion units 104 and 105 based on the observation condition 1 (white point of D50 light source, illuminance level, ambient light state, etc.) . The JCH space is selected for relative color matching, and the QMH space is selected for absolute color matching.

色知覚信号JCHおよびQMHは色空間変換部102または103により出力デバイスの色再現範囲内へ圧縮される。色空間圧縮された色知覚信号JCHおよびQMHは、色知覚モデル逆変換部106および107により出力観察条件(D65光源の白色点、照度レベル、周囲光の状態など)に基づいて出力観察条件におけるデバイスに依存しない色信号であるXYZ信号へ変換される。そして、XYZ信号は変換LUT106により出力デバイスに依存する色信号へ変換される。   The color perception signals JCH and QMH are compressed by the color space conversion unit 102 or 103 into the color reproduction range of the output device. The color space-compressed color perception signals JCH and QMH are output by the color perception model inverse transform units 106 and 107 based on the output observation conditions (D65 light source white point, illuminance level, ambient light condition, etc.) It is converted into an XYZ signal that is a color signal independent of. The XYZ signal is converted into a color signal depending on the output device by the conversion LUT 106.

以上の処理によって得られたRGBまたはCMYK信号は出力デバイスへ送られて、その色信号によって示される画像が出力される。出力結果であるプリント物あるいは画面表示は出力観察条件下で観察すれば、入力観察条の下で観察されるオリジナル原稿と同じ色味に見える。   The RGB or CMYK signal obtained by the above processing is sent to an output device, and an image indicated by the color signal is output. When the printed matter or the screen display as an output result is observed under the output observation condition, it looks the same color as the original document observed under the input observation condition.

なお、一般に観察条件における環境光の白色点は、カラーターゲットやカラーパッチなどの色票を測色した際の標準光源の白色点とは異なる。例えば、測色の際に使用される標準光源はD50やD65であるが、実際に画像を観察する場合の環境光はライトブースのD50やD65とは限らず、白熱電球や蛍光灯などの照明光や、照明光と太陽光とが混合した光になる場合が多い。以下の説明では、簡単化のために、観察条件における環境光の光源特性をD50、D65およびD93とするが、実際にはメディア上の白色点のXYZ値を白色点として設定する。   In general, the white point of ambient light under viewing conditions is different from the white point of a standard light source when color charts such as color targets and color patches are measured. For example, the standard light source used for colorimetry is D50 or D65, but the ambient light when actually observing the image is not limited to D50 or D65 in the light booth, such as incandescent bulbs and fluorescent lights In many cases, light or a mixture of illumination light and sunlight is used. In the following description, for simplification, the light source characteristics of the ambient light under the observation conditions are set to D50, D65, and D93, but actually, the XYZ values of the white point on the medium are set as the white point.

本実施形態では、入力デバイスに応じた変換LUT101および出力デバイスに応じた変換LUT108は、デバイスの特性を示すデバイス特性データから作成される。デバイス特性データとは、複数の色についてのデバイス色信号とデバイス非依存な色空間データの対応関係を示すデータである。例えば、プリンタのデバイス特性データの1例としては、複数の色についてのCMYK色データと、CMYK色信号に基づきプリントされた色の測色値(XYZデータ)で示される。   In the present embodiment, the conversion LUT 101 corresponding to the input device and the conversion LUT 108 corresponding to the output device are created from device characteristic data indicating the characteristics of the device. The device characteristic data is data indicating a correspondence relationship between device color signals for a plurality of colors and device-independent color space data. For example, as an example of printer device characteristic data, CMYK color data for a plurality of colors and colorimetric values (XYZ data) of colors printed based on the CMYK color signal are shown.

本実施形態では、カラーマッチング処理するたびに、デバイス特性データから変換LUTが作成されることを防ぐために、作成した変換LUTをメモリ上にキャッシュする。このキャッシュされたデバイス特性データを本実施形態では「デバイスキャシュ」と呼ぶ。同様に、メモリ上にキャシュした色知覚モデル順変換部104(105)、色知覚モデル逆変換部106(107)の変換LUTを「CAMキャッシュ」と呼ぶ。   In this embodiment, every time color matching processing is performed, the created conversion LUT is cached in the memory in order to prevent the conversion LUT from being created from the device characteristic data. This cached device characteristic data is called “device cache” in this embodiment. Similarly, the conversion LUTs of the color perception model forward conversion unit 104 (105) and the color perception model inverse conversion unit 106 (107) cached in the memory are referred to as “CAM cache”.

また、本実施形態では、カラーマッチング処理を行うために必要な複数の変換処理(入力デバイスに応じた変換LUT101、色知覚モデル順変換部104(105)、色空間変換部102(103)、色知覚モデル逆変換部106(107)および出力デバイスに応じた変換LUT108を合成することにより合成変換LUT109を生成する。そして、入力画像に対してカラーマッチング処理する際は合成変換LUT109を用いて、一括処理を行う。この合成変換LUTもメモリ上にキャッシュする。本実施形態では合成変換LUT109を「システムキャッシュ」と呼ぶ。   Further, in the present embodiment, a plurality of conversion processes necessary for performing the color matching process (the conversion LUT 101 according to the input device, the color perception model order conversion unit 104 (105), the color space conversion unit 102 (103), the color A combined conversion LUT 109 is generated by combining the perceptual model inverse conversion unit 106 (107) and the conversion LUT 108 corresponding to the output device, and when performing color matching processing on the input image, the combined conversion LUT 109 is used to perform batch processing. This composite conversion LUT is also cached in the memory, and in this embodiment, the composite conversion LUT 109 is called a “system cache”.

<機能構成>
図2は本実施形態の一例であるカラーマッチングモジュールの機能構成を示すブロック図である。同図において図1と等価な構成には同一符号を用いている。
<Functional configuration>
FIG. 2 is a block diagram showing a functional configuration of a color matching module which is an example of the present embodiment. In the figure, the same reference numerals are used for components equivalent to those in FIG.

図2中、201は、変換LUT101を用いて入力デバイスに依存する色信号(RGBやCMYK)をデバイスに依存しない色空間データ(XYZ)へ変換する入力変換部である。入力変換部201は、事前測定したデバイス色信号とデバイスに依存しない色空間データ(XYZ)の対応値のいくつかを記憶する側色値ならびに入力観察条件を記憶したデバイス情報より測色値を取得し変換LUTを生成する機能を有する。さらに入力変換部201は、入力観察条件を色知覚モデル順変換部104(105)へ提供する機能も併せ持つ。   In FIG. 2, reference numeral 201 denotes an input conversion unit that converts color signals (RGB and CMYK) depending on the input device into color space data (XYZ) independent of the device using the conversion LUT 101. The input conversion unit 201 obtains colorimetric values from the device information that stores the side color values that store some of the corresponding values of the device color signal measured in advance and the device-independent color space data (XYZ) and the input observation conditions. And has a function of generating a conversion LUT. Furthermore, the input conversion unit 201 also has a function of providing input observation conditions to the color perception model order conversion unit 104 (105).

202は、変換LUT108を用いてデバイスに依存しない色空間データ(XYZ)を出力デバイスに依存する色信号(RGBやCMYK)へ変換する出力変換部である。出力変換部202は、事前測定したデバイス色信号とデバイスに依存しない色空間データ(XYZ)の対応値のいくつかを記憶する側色値ならびに出力観察条件を記憶したデバイス情報より測色値を取得し変換LUTを生成する機能を有する。さらに出力変換部202は、出力観察条件を色知覚モデル逆変換部順変換部106(107)へ提供を行う機能、出力デバイス色再現領域を色空間変換部102(103)へ提供する機能も併せ持つ。   An output conversion unit 202 converts the device-independent color space data (XYZ) into a color signal (RGB or CMYK) depending on the output device using the conversion LUT 108. The output conversion unit 202 obtains colorimetric values from the device information that stores the side color values that store some of the corresponding values of the device color signal measured in advance and the device-independent color space data (XYZ) and the output observation conditions. And has a function of generating a conversion LUT. Further, the output conversion unit 202 has a function of providing the output observation condition to the color perception model reverse conversion unit forward conversion unit 106 (107) and a function of providing the output device color reproduction region to the color space conversion unit 102 (103). .

なお、本実施形態において入力変換部201、出力変換部202は、デバイスに応じた処理の切り替えや上記説明した機能以外の拡張機能などを提供することが可能となるよう、プラグイン(デバイスプラグイン)で提供される。   In the present embodiment, the input conversion unit 201 and the output conversion unit 202 are provided with plug-ins (device plug-ins) so as to be able to provide processing switching according to devices and extended functions other than the functions described above. ).

また、本実施形態における色空間変換部102(103)も、色空間の圧縮方法(ICCのレンダリングインテントに相当)に応じた切り替え等に応ずる事が可能となるよう、色空間変換プラグインで提供される。   In addition, the color space conversion unit 102 (103) in this embodiment is also a color space conversion plug-in so that it can respond to switching according to the color space compression method (equivalent to the ICC rendering intent). Provided.

203は、入力変換部201および出力変換部202に対して事前測定したデバイス色信号とデバイスに依存しない色空間データ(XYZ)の対応値のいくつかを記憶する側色値ならびに出力観察条件の提供を行うデバイス情報である。   203 provides side color values and output observation conditions for storing some of the corresponding values of the device color signal (XYZ) that are not measured by the device color signal and the device-independent color space data for the input conversion unit 201 and the output conversion unit 202 This is device information.

204は、デバイス情報203の格納場所の管理を行うデバイス情報管理部204である。   Reference numeral 204 denotes a device information management unit 204 that manages the storage location of the device information 203.

205は、デバイスプラグイン、色空間変換プラグインのバージョン、格納場所の管理を行う入出力・色空間変換管理部(プラグイン管理部)である。   An input / output / color space conversion management unit (plug-in management unit) 205 manages device plug-ins, color space conversion plug-in versions, and storage locations.

206はデバイス・CAMキャッシュ管理部であり、入力変換部201あるいは出力変換部202において生成された変換LUT101,108および色知覚モデル順変換部104(105)あるいは色知覚モデル逆変換部106(107)で生成されたCAMテーブル、CAM-1テーブルの格納場所となる。また、変換LUT101,108の生成条件ならびCAMテーブル、CAM-1テーブルの生成条件であるデバイスプラグインとデバイス情報の関連を管理する。これにより、入力変換部201,出力変換部202における変換LUTの生成を省略することができる。ならびに、色知覚モデル順変換部104(105),色知覚モデル逆変換部106(107)における色知覚モデルへの変換・逆変換を行うために用いる変換テーブル(CAMテーブル、CAM-1テーブル)の生成を省略することができる。したがって、本実施形態におけるカラーマッチングの高速化を行うことが可能となる。   A device / CAM cache management unit 206 includes conversion LUTs 101 and 108 generated by the input conversion unit 201 or the output conversion unit 202 and the color perception model forward conversion unit 104 (105) or the color perception model reverse conversion unit 106 (107). This is the storage location for the CAM table and CAM-1 table generated in step 1. It also manages the relationship between the device information and the device plug-ins that are the generation conditions of the conversion LUTs 101 and 108 and the generation conditions of the CAM table and CAM-1 table. Thereby, the generation of the conversion LUT in the input conversion unit 201 and the output conversion unit 202 can be omitted. In addition, the conversion table (CAM table, CAM-1 table) used to perform the conversion / inverse conversion to the color perception model in the color perception model forward conversion unit 104 (105) and the color perception model reverse conversion unit 106 (107) Generation can be omitted. Therefore, it is possible to increase the speed of color matching in this embodiment.

なお本実施形態においては、CAMテーブル、CAM-1テーブルの生成条件として関連付けの対象をデバイスプラグインならびにデバイス情報とした。しかしながら、XYZとJCh空間の対応は観察条件(光源の白色点、照度レベル、周囲光の状態など)と対応していれば良いため、観察条件を関連付けてCAMテーブル、CAM-1テーブルを管理することでも代用可能である。   In the present embodiment, the association target is the device plug-in and device information as the generation conditions of the CAM table and the CAM-1 table. However, the correspondence between XYZ and JCh space only needs to correspond to the observation conditions (white point of light source, illuminance level, ambient light state, etc.), so the CAM table and CAM-1 table are managed in association with the observation conditions. It can be substituted.

本実施形態における一連のカラーマッチング処理において、とある入力デバイスプラグイン、出力デバイスプラグイン、入出力デバイス情報ならびに色空間変換プラグインの組み合わせを頻繁に使用する場合が考えられる。このとき、カラーマッチングの結果である入力信号と出力信号の対応関係を直接的に対応付けたLUT(システムキャッシュ)の生成を行うことで、処理の高速化が可能となる。207は、このようなシステムキャッシュの作成を行うシステムキャッシュ作成部である。   In a series of color matching processes in this embodiment, a case where a combination of a certain input device plug-in, output device plug-in, input / output device information, and color space conversion plug-in is frequently used is considered. At this time, the processing speed can be increased by generating a LUT (system cache) that directly associates the correspondence between the input signal and the output signal, which is the result of color matching. A system cache creation unit 207 creates such a system cache.

208は、システムキャッシュ作成部207において作成されたシステムキャッシュの管理を行うシステムキャッシュ管理部である。   A system cache management unit 208 manages the system cache created by the system cache creation unit 207.

209はシステムキャッシュの生成やプレビュー表示に使用されるサンプル画像である。   Reference numeral 209 denotes a sample image used for system cache generation and preview display.

210は、システムキャッシュ作成部207において作成され、システムキャッシュ管理部208において管理されるシステムキャッシュを用いてカラーマッチング処理を行う入出力結合処理部である。   An input / output coupling processing unit 210 performs color matching processing using a system cache created by the system cache creation unit 207 and managed by the system cache management unit 208.

211は、カラーマッチングを行った入力デバイスプラグイン、出力デバイスプラグイン、入出力デバイス情報ならびに色空間変換プラグインの組み合わせをカラーマッチング履歴として管理する履歴管理部である。   A history management unit 211 manages a combination of input device plug-ins, output device plug-ins, input / output device information, and color space conversion plug-ins subjected to color matching as a color matching history.

212は、上記各構成の管理を行い、外部からのカラーマッチング指示を受け付け、カラーマッチング処理の実行を制御し、カラーマッチング結果の出力などを行う本実施形態における制御部である。   A control unit 212 in the present embodiment performs management of each of the above components, receives an external color matching instruction, controls the execution of the color matching process, and outputs a color matching result.

213は、デバイス情報、デバイスプラグイン、色空間変換プラグインのインストールの制御を行うインストール制御部である。   An installation control unit 213 controls installation of device information, device plug-ins, and color space conversion plug-ins.

<装置構成>
図3は、図2に示した機能構成を実現する装置の構成例を示すブロック図である。図3に示すような装置は、例えばパーソナルコンピュータのような汎用のコンピュータ装置に、図2に示す機能を実現するソフトウェアを供給することによって実現されることは言うまでもない。その場合、本実施形態の機能を実現するソフトウェアは、コンピュータ装置のOS(基本システム)に含まれていても構わないし、OSとは別に例えば入出力デバイスのドライバソフトウェアに含まれていても構わない。
<Device configuration>
FIG. 3 is a block diagram illustrating a configuration example of an apparatus that implements the functional configuration illustrated in FIG. Needless to say, the apparatus shown in FIG. 3 is realized by supplying software that realizes the functions shown in FIG. 2 to a general-purpose computer apparatus such as a personal computer. In that case, the software that implements the functions of the present embodiment may be included in the OS (basic system) of the computer device, or may be included in the driver software of the input / output device, for example, separately from the OS. .

図3において、CPU301は、ROM302およびハードディスク(HD)307などに格納されたプログラムに従い、RAM303をワークメモリに利用して、装置全体の動作を司るとともに、上述したカラーマッチングに関連する処理をはじめとする各種の処理を実行する。入力インタフェイス304はデジタルカメラ等の入力デバイス305を接続するための、ハードディスクインタフェイス306はHD307を接続するためのインタフェイスである。また、ビデオインタフェイス308はモニタ等のビデオデバイス309を接続するための、出力インタフェイス310はプリンタ等の出力デバイス311を接続するためのインタフェイスである。   In FIG. 3, the CPU 301 uses the RAM 303 as a work memory in accordance with programs stored in the ROM 302 and the hard disk (HD) 307, etc. to control the operation of the entire apparatus and to perform the above-described processing related to color matching. Various processes are executed. An input interface 304 is an interface for connecting an input device 305 such as a digital camera, and a hard disk interface 306 is an interface for connecting an HD 307. The video interface 308 is an interface for connecting a video device 309 such as a monitor, and the output interface 310 is an interface for connecting an output device 311 such as a printer.

なお、本実施形態が対象とする入力デバイスには、ディジタルスチルカメラおよびディジタルビデオカメラなどの撮影機器、並びに、イメージスキャナおよびフィルムスキャナなどイメージリーダをはじめとする各種の画像入力機器が含まれる。また、出力デバイスには、CRTやLCDなどのカラーモニタ、カラープリンタおよびフィルムレコーダなどの画像出力機器が含まれる。   The input devices targeted by the present embodiment include various image input devices such as image readers such as image scanners such as image scanners and image scanners and film scanners, and digital still cameras and digital video cameras. Output devices include image output devices such as color monitors such as CRT and LCD, color printers, and film recorders.

また、インタフェイスとして汎用のインタフェイスが利用できる。その用途に応じて、例えば、RS232C、RS422、USBおよびIEEE1394などのシリアルインタフェイス、並びに、SCSIおよびセントロニクスなどのパラレルインタフェイスが利用可能である。   A general-purpose interface can be used as the interface. Depending on the application, for example, serial interfaces such as RS232C, RS422, USB and IEEE1394, and parallel interfaces such as SCSI and Centronics can be used.

本実施形態では、カラーマッチングを行うためのデバイス情報やプラグイン他のプラグラムはHD307に格納されるが、ハードディスクに限らず、他の記憶媒体を用いても本実施形態は構成可能である。   In this embodiment, device information and plug-in and other programs for performing color matching are stored in the HD 307. However, the present embodiment can be configured not only using a hard disk but also using other storage media.

<データ構成>
次に、本実施形態において用いられる主要なデータ構成を、図4および図5を用いて説明する。なお、図4および図5においては、本実施形態における特徴的な項目のみを記載しているが、本図で説明する以外の項目が各データに含まれていても構わない。
<Data structure>
Next, main data structures used in the present embodiment will be described with reference to FIGS. 4 and 5. FIG. 4 and FIG. 5, only the characteristic items in the present embodiment are described, but items other than those described in this drawing may be included in each data.

<<デバイス情報、プラグイン情報>>
図4は、デバイス情報ならびにデバイスプラグイン、色空間変換プラグインの模式図である。図4中、401はデバイス情報の模式図である。デバイス情報401の構成項目としては、変換LUT101,108を生成するためのデバイス信号とデバイスに依存しない色空間の対応データ、CAM変換テーブル、CAM-1テーブルを生成するための「観察条件」、および「測色情報」を含む。さらに、前記情報が適用可能なデバイスプラグインを特定するためのプラグインを一意に特定するプラグインIDを、「適用プラグインID」として含む。「適用プラグインID」を構成項目として含む理由は、デバイスプラグインは入出力デバイスに応じてプラグインが提供されるため、測定デバイスに応じたデバイスプラグインを選定する必要があるためである。
<< Device information, plug-in information >>
FIG. 4 is a schematic diagram of device information, device plug-ins, and color space conversion plug-ins. In FIG. 4, 401 is a schematic diagram of device information. As the configuration items of the device information 401, the device signal for generating the conversion LUTs 101 and 108 and the corresponding data of the color space independent of the device, the CAM conversion table, the “observation condition” for generating the CAM-1 table, and Includes “colorimetric information”. Furthermore, a plug-in ID that uniquely identifies a plug-in for identifying a device plug-in to which the information can be applied is included as an “applied plug-in ID”. The reason why the “applied plug-in ID” is included as a configuration item is that the device plug-in is provided according to the input / output device, and therefore it is necessary to select the device plug-in according to the measurement device.

402は、デバイスプラグインの模式図である。デバイスプラグイン402の構成項目としては、本実施形態に用いるプラグインを一意に特定するための「プラグインID」、および該プラグインがデバイスプラグインであるか色空間変換プラグインであるかを示す「種別」、およびその「名称」を含む。また、改定履歴を管理するためのバージョン情報を示す「バージョン」、適用可能なデバイスを特定するための「適用デバイス」の情報を含む。さらに、入力変換部201、出力変換部202における変換機能を実行するプログラムを「プログラム部」に含む。ここで「プラグインID」としては例えばUUIDなどを用いる。また「適用デバイス」としては、ディジタルカメラ、プリンタといった一般的なデバイス分類や特定の機種など適用範囲を指定することが可能である。   402 is a schematic diagram of a device plug-in. The configuration items of the device plug-in 402 include a “plug-in ID” for uniquely identifying the plug-in used in the present embodiment, and whether the plug-in is a device plug-in or a color space conversion plug-in. “Type” to be shown, and “Name” thereof. Further, it includes information on “version” indicating version information for managing the revision history and “applied device” for specifying an applicable device. Further, a program for executing the conversion function in the input conversion unit 201 and the output conversion unit 202 is included in the “program unit”. Here, for example, UUID is used as the “plug-in ID”. As the “applicable device”, it is possible to specify an applicable range such as a general device classification such as a digital camera or a printer or a specific model.

403は、色空間変換プラグインの模式図である。色空間変換プラグイン403の構成項目としては、本実施形態に用いるプラグインを一意に特定するための「プラグインID」、および該プラグインがデバイスプラグインであるか色空間変換プラグインであるかを示す「種別」、およびその「名称」を含む。また、改定履歴を管理するためのバージョン情報を示す「バージョン」、レンダリングインテントに相当する色空間変換方法を示す「マッチング方法」を含む。さらに、色空間変換部102(103)における変換機能を実行するプラグラムを「プログラム部」に含む。ここで「プラグインID」としては、デバイスプラグイン402と同様に例えばUUIDなどを用いる。   403 is a schematic diagram of a color space conversion plug-in. The configuration items of the color space conversion plug-in 403 include a “plug-in ID” for uniquely identifying the plug-in used in this embodiment, and whether the plug-in is a device plug-in or a color space conversion plug-in "Type" indicating "and" name ". Further, a “version” indicating version information for managing the revision history and a “matching method” indicating a color space conversion method corresponding to the rendering intent are included. Further, a program for executing the conversion function in the color space conversion unit 102 (103) is included in the “program unit”. Here, as the “plug-in ID”, for example, a UUID or the like is used as in the device plug-in 402.

<<管理情報>>
図5は、デバイス情報管理部204、プラグイン管理部205、デバイス・CAMキャッシュ管理部206、システムキャッシュ管理部208および履歴管理部211における管理情報の模式図である。
<< Management information >>
FIG. 5 is a schematic diagram of management information in the device information management unit 204, the plug-in management unit 205, the device / CAM cache management unit 206, the system cache management unit 208, and the history management unit 211.

501は、デバイス情報管理部204におけるデバイス情報管理データであり、これを用いてデバイス情報の管理が行われる。デバイス情報管理データは、デバイス情報を特定するためのID、適用デバイスプラグインを特定するためのID、並びにデバイス情報ファイルの格納場所の対応を記憶する。IDはデバイス情報管理データ501中でユニークであればよい。   Reference numeral 501 denotes device information management data in the device information management unit 204, which is used to manage device information. The device information management data stores a correspondence between an ID for specifying device information, an ID for specifying an applicable device plug-in, and a storage location of a device information file. The ID may be unique in the device information management data 501.

502は、プラグイン管理部205におけるデバイスプラグイン管理データである。本データを用いてデバイスプラグインの管理を行う。デバイスプラグイン管理データ502は、デバイスプラグインに格納されるプラグインID、名称、バージョン、適用デバイスならびにプラグインの格納場所の対応を記憶する。   Reference numeral 502 denotes device plug-in management data in the plug-in management unit 205. Device plug-ins are managed using this data. The device plug-in management data 502 stores the correspondence between the plug-in ID, name, version, application device, and plug-in storage location stored in the device plug-in.

503は、プラグイン管理部205における色空間変換プラグイン管理データである。本データを用いて色空間変換プラグインの管理を行う。色空間変換プラグイン管理データ503は、色空間変換プラグインに格納されるプラグインID、名称、バージョン、変換方法ならびにプラグインの格納場所の対応を記憶する。   Reference numeral 503 denotes color space conversion plug-in management data in the plug-in management unit 205. The color space conversion plug-in is managed using this data. The color space conversion plug-in management data 503 stores the correspondence between the plug-in ID, name, version, conversion method, and plug-in storage location stored in the color space conversion plug-in.

504は、プラグイン管理部205における変換LUT101,108の管理を行うデバイスキャッシュ管理データである。デバイスキャッシュ管理データ504は、自身の内部でユニークなデバイスキャッシュID、変換方向(デバイス信号→/←XYZ)、変換LUT101,108の生成を行ったプラグインID、デバイス情報IDならびにキャッシュデータの格納場所の対応を記憶する。   Reference numeral 504 denotes device cache management data for managing the conversion LUTs 101 and 108 in the plug-in management unit 205. Device cache management data 504 is a device cache ID unique to itself, conversion direction (device signal → / ← XYZ), plug-in ID that generated the conversion LUT 101, 108, device information ID, and cache data storage location Memorize the correspondence.

505は、プラグイン管理部205におけるCAMキャッシュの管理を行うCAMキャッシュ管理データである。CAMキャッシュ管理データ505は、自身の内部でユニークなCAMキャッシュID、CAMキャッシュの生成を行ったプラグインID、デバイス情報IDならびにキャッシュデータの格納場所の対応を記憶する。   Reference numeral 505 denotes CAM cache management data for managing the CAM cache in the plug-in management unit 205. The CAM cache management data 505 stores the correspondence between the CAM cache ID unique within itself, the plug-in ID that generated the CAM cache, the device information ID, and the cache data storage location.

506は、プラグイン管理部205におけるCAM-1キャッシュの管理を行うCAM-1キャッシュ管理データである。CAM-1キャッシュ管理データ506は、自身の内部でユニークなCAM-1キャッシュID、CAM-1キャッシュの生成を行ったプラグインID、デバイス情報IDならびにキャッシュデータの格納場所の対応を記憶する。   Reference numeral 506 denotes CAM-1 cache management data for managing the CAM-1 cache in the plug-in management unit 205. The CAM-1 cache management data 506 stores a correspondence among a unique CAM-1 cache ID, a plug-in ID that has generated the CAM-1 cache, a device information ID, and a cache data storage location.

507は、システムキャッシュ管理部208においてシステムキャッシュの管理を行うシステムキャッシュ管理データである。システムキャッシュ管理データ507は、自身の内部でユニークなシステムキャッシュID、システムキャッシュの生成を行った入力デバイスプラグインを特定するプラグインID、入力デバイス情報を特定するデバイス情報IDを記憶する。さらに、出力デバイスプラグインを特定するプラグインID、出力デバイス情報を特定するデバイス情報ID、色空間変換プラグインIDならびにキャッシュデータの格納場所の対応を記憶する。   Reference numeral 507 denotes system cache management data for managing the system cache in the system cache management unit 208. The system cache management data 507 stores therein a system cache ID unique to itself, a plug-in ID that identifies an input device plug-in that has generated the system cache, and a device information ID that identifies input device information. Further, a correspondence between a plug-in ID for specifying an output device plug-in, a device information ID for specifying output device information, a color space conversion plug-in ID, and a cache data storage location is stored.

508は、履歴管理部211においてカラーマッチング処理履歴を管理する履歴管理データである。履歴管理データ508は、自身の内部でユニークな履歴ID、カラーマッチングを実施した日時を記憶するタイムスタンプ、カラーマッチングにシステムキャッシュを用いた場合はシステムキャッシュIDを対応付けて記憶する。システムキャッシュを使用した場合は、履歴IDと、カラーマッチング処理を行った入力デバイスプラグインID、入力デバイス情報ID、出力デバイスプラグインID、出力デバイス情報ID、色空間変換プラグインID、を対応付けて記憶する。ここで、システムキャッシュ作成部207によってシステムキャッシュを作成する際にも、入力信号と出力信号の対応を求めるために、カラーマッチング処理が実行される。   Reference numeral 508 denotes history management data for managing the color matching processing history in the history management unit 211. The history management data 508 stores therein a history ID unique within itself, a time stamp for storing the date and time when color matching is performed, and a system cache ID when a system cache is used for color matching. When the system cache is used, the history ID is associated with the input device plug-in ID, input device information ID, output device plug-in ID, output device information ID, and color space conversion plug-in ID that have undergone color matching processing. Remember. Here, also when a system cache is created by the system cache creation unit 207, a color matching process is executed in order to obtain a correspondence between an input signal and an output signal.

<プラグイン更新処理>
以下、図6のフローチャートを用いて本実施形態におけるプラグイン更新処理の詳細を説明する。なお本実施形態においては、上述したプラグインIDが同一である場合に、同一プラグインとみなすものとして説明する。
<Plug-in update process>
Hereinafter, the details of the plug-in update processing in the present embodiment will be described with reference to the flowchart of FIG. In the present embodiment, the description will be made assuming that the above plug-in IDs are regarded as the same plug-in when they are the same.

図6は、インストール制御部213によってデバイスプラグインあるいは色空間変換プラグインを本実施形態のカラーマッチングモジュールに対してインストールする処理を示すフローチャートである。   FIG. 6 is a flowchart showing a process of installing a device plug-in or color space conversion plug-in in the color matching module of this embodiment by the installation control unit 213.

本実施形態のカラーマッチングモジュールにおいて使用されるプラグインならびにデバイス情報は、インストール制御部213によってインストールされ、使用可能となる。   The plug-in and device information used in the color matching module of this embodiment are installed by the installation control unit 213 and can be used.

以下、デバイスプラグインあるいは色空間変換プラグインを総称する呼称として単に「プラグイン」と記載する。   Hereinafter, device plug-ins or color space conversion plug-ins are simply referred to as “plug-ins” as generic names.

まず、インストール対象のプラグインより図4において説明したプラグインIDならびにバージョンの読み出しを行う。次に更新対象であるか、あるいは新規インストールとなるかを識別するために、制御部212に対して同一のプラグインIDを有するプラグインが存在するかの検索依頼を行う。制御部212はプラグイン管理部205に対して、デバイスプラグイン管理データ502および色空間変換プラグイン管理データ503中に該検索依頼を受けたプラグインIDが存在するかを検索して、制御部212へ該検索結果を返却する。該検索結果はインストール制御部213へ返却される。インストール制御部213では、同一プラグインが存在しない場合は、新規インストールであるとみなしてステップS602へ進み、同一プラグインIDが存在する場合は、更新インストールであるとみなしてステップS603へ進む(ステップS601)。   First, the plug-in ID and version described in FIG. 4 are read from the plug-in to be installed. Next, in order to identify whether it is an update target or a new installation, a search request is made to the control unit 212 as to whether there is a plug-in having the same plug-in ID. The control unit 212 searches the plug-in management unit 205 for the presence of the plug-in ID that has received the search request in the device plug-in management data 502 and the color space conversion plug-in management data 503. The search result is returned to 212. The search result is returned to the installation control unit 213. If the same plug-in does not exist, the installation control unit 213 regards it as a new installation and proceeds to step S602.If the same plug-in ID exists, regards it as an update installation and proceeds to step S603 (step S603). S601).

インストール対象のプラグインが新規のプラグインである場合は、新規インストール処理を行う。すなわち、プラグインをインストールとするとともにプラグインに対応する管理データを作成する(ステップS602)。   If the plug-in to be installed is a new plug-in, a new installation process is performed. In other words, the plug-in is installed and management data corresponding to the plug-in is created (step S602).

ステップS601において既にインストールされているプラグインの更新であると判定された場合は、更新インストール処理を開始する。本実施形態では、更新前後のカラーマッチング結果を比較するために、ビデオデバイス309に対し更新前後のプレビュー表示を行う。   If it is determined in step S601 that the plug-in has already been installed, update installation processing is started. In this embodiment, in order to compare the color matching results before and after the update, preview display before and after the update is performed on the video device 309.

まずステップS603においてインストール制御部213は、制御部212へ、更新対象となるプラグインを用いたカラーマッチング処理が行われたかを問い合わせる。制御部212は、履歴管理部211に対して、履歴管理データ508中に更新対象となるプラグインIDが存在するか検索を依頼し、該検索結果を受領する。更に使用履歴のあるシステムキャッシュIDを履歴管理部211より取得し、システムキャッシュ管理部208に対して、該使用履歴のあるシステムキャッシュが更新対象のプラグインを用いて作成されたか検索依頼を行う。システムキャッシュ管理部208では、システムキャッシュ管理データ507を使用履歴の存在するシステムキャッシュIDと更新対象のプラグインIDが関連付けられているかの検索を行い、該検索結果を制御部212へ返却する。制御部212は、システムキャッシュ管理部208における検索結果または履歴管理部211における検索結果に使用履歴が存在する場合は、使用履歴があることをインストール制御部213へ通知する。インストール制御部213は使用履歴が存在することを確認した場合はステップS604へ進み、使用履歴が無い場合はステップS605へ進む。   First, in step S603, the installation control unit 213 inquires of the control unit 212 whether the color matching process using the plug-in to be updated has been performed. The control unit 212 requests the history management unit 211 to search for a plug-in ID to be updated in the history management data 508, and receives the search result. Furthermore, a system cache ID having a usage history is acquired from the history management unit 211, and a search request is made to the system cache management unit 208 to determine whether the system cache having the usage history has been created using the plug-in to be updated. The system cache management unit 208 searches the system cache management data 507 for whether or not the system cache ID having the usage history is associated with the plug-in ID to be updated, and returns the search result to the control unit 212. If there is a usage history in the search result in the system cache management unit 208 or the search result in the history management unit 211, the control unit 212 notifies the installation control unit 213 that there is a usage history. If the installation control unit 213 confirms that there is a usage history, the process proceeds to step S604, and if there is no usage history, the process proceeds to step S605.

本実施形態においては、使用履歴が存在する場合は、該使用履歴に基づいて、プレビューの作成対象となるカラーマッチング処理の選択を行うためのプレビュー対象選択画面を表示する。一方、使用履歴が存在しない場合は、任意の組み合わせにてカラーマッチング処理の指定を行うためのプレビュー対象選択画面を表示する。   In this embodiment, when there is a usage history, a preview target selection screen for selecting a color matching process to be a preview creation target is displayed based on the usage history. On the other hand, when there is no usage history, a preview target selection screen for specifying color matching processing in an arbitrary combination is displayed.

すなわち、使用履歴が存在する場合はステップS604において、更新対象のプラグインの使用履歴として、入出力、色空間変換プラグイン名称、入出力デバイス情報ファイル名の組み合わせの取得を制御部212へ依頼する。制御部212では、履歴管理部211より更新対象のプラグインIDが含まれる使用履歴の取得を行うと共に、使用履歴のあるシステムキャッシュIDの作成時の組み合わせをシステムキャッシュ管理部208より取得する。使用履歴管理データ508およびシステムキャッシュ管理データ507ではIDを記憶しているため、プラグイン名称はプラグイン管理部205より取得し、デバイス情報のファイル名についてはデバイス情報管理部204より取得する。取得されたプラグイン名称ならびにデバイス情報ファイル名は、使用履歴ならびにデバイスキャッシュ作成組み合わせのIDとの対応関係をもたせて、インストール制御部213へ通知する。   That is, if there is a usage history, in step S604, the control unit 212 is requested to obtain a combination of input / output, color space conversion plug-in name, and input / output device information file name as the usage history of the plug-in to be updated. . The control unit 212 obtains the usage history including the plug-in ID to be updated from the history management unit 211, and obtains the combination when creating the system cache ID having the usage history from the system cache management unit 208. Since the usage history management data 508 and the system cache management data 507 store IDs, the plug-in name is acquired from the plug-in management unit 205, and the file name of device information is acquired from the device information management unit 204. The acquired plug-in name and device information file name are notified to the installation control unit 213 with a correspondence relationship with the usage history and the ID of the device cache creation combination.

一方、ステップS605においては、更新対象のプラグインの使用履歴が存在しないため、プラグイン管理部205において管理される入出力プラグイン、色空間変換プラグインの名称のすべてとデバイス情報ファイル名のすべての取得を制御部212に依頼する。制御部212では、プラグイン管理部205ならびにデバイス情報管理部204よりプラグイン名称ならびにデバイス情報ファイル名を取得して、インストール制御部213へ通知する。   On the other hand, in step S605, since there is no usage history of the plug-in to be updated, all the names of the input / output plug-ins and color space conversion plug-ins managed by the plug-in management unit 205 and all the device information file names Is requested to the control unit 212. The control unit 212 acquires the plug-in name and device information file name from the plug-in management unit 205 and the device information management unit 204 and notifies the installation control unit 213 of them.

次にステップS606では、プレビュー対象選択画面の生成を行い、ビデオデバイス309への表示を行う。   In step S606, a preview target selection screen is generated and displayed on the video device 309.

<<プレビュー対象選択画面>>
ここで図7Aおよび図7Bを用いて、プレビュー対象選択画面の表示様態を説明する。
<< Preview target selection screen >>
Here, the display mode of the preview object selection screen will be described with reference to FIGS. 7A and 7B.

図7Aは、使用履歴が存在した場合のプレビュー対象選択画面の表示例を示す(以下、履歴選択画面と称する)。履歴選択画面は、ステップS604において制御部212より取得した使用履歴を1行1履歴として表示し、プレビュー対象を択一選択するための択一選択手段を設けたものである。ユーザはプレビューを所望するカラーマッチングの組み合わせを使用履歴中より択一選択し、「選択終了」ボタンをもって選択終了をインストール制御部213へ通知する。なお、インストールを中止する場合は、「更新中止」ボタンをもって中止指示をインストール制御部213に通知する。   FIG. 7A shows a display example of a preview target selection screen when a usage history exists (hereinafter referred to as a history selection screen). The history selection screen is provided with alternative selection means for displaying the usage history acquired from the control unit 212 in step S604 as one line and one history, and selecting the preview target. The user selects one of the color matching combinations for which a preview is desired from the usage history, and notifies the installation control unit 213 of the selection end with a “end selection” button. If the installation is to be canceled, a stop instruction is notified to the installation control unit 213 using the “Update Cancel” button.

図7Bは、使用履歴が存在しない場合のプレビュー対象選択画面の表示例を示す(以下、処理フロー指定画面と呼称する)。処理フロー指定画面は、ステップS605によって取得した、デバイスプラグイン名称、色空間変換プラグイン名称、デバイス情報をそれぞれの選択手段にセットする。ここで、更新対象のプラグインがデバイスプラグインであるか色空間変換プラグインであるかを識別し、デバイスプラグインの場合は、これを明示する。例えば、入力/出力プラグイン選択手段にセットされた更新対象のプラグイン名称に対して反転表示を行う等、更新対象であることを識別できるような表示を行う。これは、例えばモニタのごとく入力あるいは出力双方に適用可能なデバイスを対象としたプラグインの場合において、入力側あるいは出力側のいずれに用いるのかをユーザが選択可能とするためである。一方、色空間変換プラグインの場合は、更新対象のプラグイン名称を固定的に表示する。なお、図7Bに示す処理フロー指定画面では、色空間変換プラグインが更新対象である場合を例としている。   FIG. 7B shows a display example of a preview target selection screen when there is no usage history (hereinafter referred to as a processing flow designation screen). The processing flow designation screen sets the device plug-in name, the color space conversion plug-in name, and the device information acquired in step S605 in each selection unit. Here, whether the plug-in to be updated is a device plug-in or a color space conversion plug-in is identified, and if it is a device plug-in, this is clearly indicated. For example, a display that can identify the update target is performed, such as reverse display of the update target plug-in name set in the input / output plug-in selection means. This is because, for example, in the case of a plug-in intended for a device applicable to both input and output, such as a monitor, the user can select whether to use the input side or the output side. On the other hand, in the case of a color space conversion plug-in, the name of the plug-in to be updated is fixedly displayed. In the processing flow designation screen shown in FIG. 7B, the case where the color space conversion plug-in is an update target is taken as an example.

ユーザは、処理フロー指定画面を用いて、プレビュー表示を行うカラーマッチング処理の組み合わせを指定し、「選択終了」ボタンをもって選択終了をインストール制御部213へ通知する。なお、インストールの中止を行う場合は、「更新中止」ボタンをもって中止指示をインストール制御部213に通知する。   The user designates a combination of color matching processes for preview display using the process flow designation screen, and notifies the installation control unit 213 of the selection completion with the “end selection” button. In the case of canceling the installation, a stop instruction is notified to the installation control unit 213 using an “update cancel” button.

図6の説明に戻り、以上のようにステップS606でプレビュー対象が選択されると、次にステップS607ではインストール制御部213によって、プレビュー指示がなされたか否かの判定を行う。すなわち、プレビュー選択終了通知、あるいはプラグイン更新中止指示のいずれが通知されたかを判定する。プラグイン更新中止指示の場合は、更新インストール処理を終了する。プレビュー選択終了通知の場合は、プレビュー指示がなされたものと見なしてステップS608へ進む。   Returning to the description of FIG. 6, when the preview target is selected in step S606 as described above, in step S607, the installation control unit 213 determines whether or not a preview instruction has been issued. That is, it is determined whether a preview selection end notification or a plug-in update stop instruction is notified. In the case of a plug-in update cancel instruction, the update installation process ends. In the case of the preview selection end notification, it is considered that a preview instruction has been given, and the process proceeds to step S608.

ステップS608では、プレビュー対象選択画面において指定された、プレビュー表示対象となるカラーマッチング処理を行うプラグイン、デバイス情報の組み合わせを取得する。 ステップS609では、ステップS608で取得したプラグイン、デバイス情報の組み合わせと共に、プラグイン更新前のプレビュー画像の生成を制御部212に依頼する。制御部212では、指定された入力プラグインID、入力デバイス情報ID、出力プラグインID、出力デバイス情報IDおよび色空間変換プラグインIDに基づき、システムキャッシュが存在するかをシステムキャッシュ管理部208に問い合わせる。   In step S608, a combination of plug-in and device information for performing color matching processing to be a preview display target designated on the preview target selection screen is acquired. In step S609, the control unit 212 is requested to generate a preview image before updating the plug-in together with the combination of the plug-in and device information acquired in step S608. Based on the specified input plug-in ID, input device information ID, output plug-in ID, output device information ID, and color space conversion plug-in ID, the control unit 212 determines whether or not a system cache exists in the system cache management unit 208. Inquire.

該問い合わせの結果、システムキャッシュが存在する場合は、その格納場所をシステムキャッシュ管理部208より取得し、当該システムキャッシュを用いて、サンプル画像209に対するカラーマッチング指示を入出力結合処理部210に対して行う。   If the system cache exists as a result of the inquiry, the storage location is acquired from the system cache management unit 208, and a color matching instruction for the sample image 209 is sent to the input / output combination processing unit 210 using the system cache. Do.

一方、システムキャッシュが存在しない場合は、入力プラグインID、入力/出力デバイス情報IDならびに出力プラグインIDに基づき、デバイスキャッシュ、CAMキャッシュ、CAM-1キャッシュが存在するかをデバイス・CAMキャッシュ管理部206へ問い合わせる。入力プラグインID、入力デバイス情報IDに対応したデバイスキャッシュ、CAMキャッシュが存在する場合は、当該キャッシュの格納場所を取得して、入力変換部201および色知覚モデル順変換部104(105)へ当該キャッシュ使用の指示を行う。出力プラグインID、出力デバイス情報IDに対応したデバイスキャッシュ、CAM-1キャッシュが存在する場合は、当該キャッシュの格納場所を取得して、出力変換部202および色知覚モデル逆変換部106(107)へ当該キャッシュ使用の指示を行う。一方、これらキャッシュが存在しない場合は、プラグイン管理部205、デバイス情報管理部204よりデバイスプラグインならびにデバイス情報の格納場所を取得し、入力変換部201、出力変換部202へ当該デバイスプラグインならびにデバイス情報の使用を指示する。   On the other hand, if the system cache does not exist, the device / CAM cache management unit determines whether the device cache, CAM cache, and CAM-1 cache exist based on the input plug-in ID, input / output device information ID, and output plug-in ID. Contact 206. If there is a device cache and CAM cache corresponding to the input plug-in ID and input device information ID, the storage location of the cache is acquired and the input conversion unit 201 and the color perception model order conversion unit 104 (105) Instruct to use cache. If there is a device cache and CAM-1 cache corresponding to the output plug-in ID and output device information ID, the storage location of the cache is acquired, and the output conversion unit 202 and the color perception model inverse conversion unit 106 (107) Instruct the use of the cache. On the other hand, if these caches do not exist, the storage location of the device plug-in and device information is acquired from the plug-in management unit 205 and the device information management unit 204, and the device plug-in and Instruct the use of device information.

次いで入力変換部201あるいは出力変換部202では、デバイス情報内の観察条件を取得し、色知覚モデル順変換部104(105)あるいは色知覚モデル逆変換部106(107)へ観察条件の通知を行う。続けて制御部212は、プラグイン管理部205より色空間変換プラグインの格納場所を取得して色空間変換部102(103)に対して当該プラグインの使用指示を行う。そして制御部212は、サンプル209に対してカラーマッチングの実行を行うべく、入力変換部201、色知覚モデル順変換部104(105)、色空間変換部102(103)、色知覚モデル逆変換部106(107)、出力変換部202に対して順次処理実行を指示する。   Next, the input conversion unit 201 or the output conversion unit 202 acquires the observation conditions in the device information, and notifies the color perception model forward conversion unit 104 (105) or the color perception model inverse conversion unit 106 (107) of the observation conditions. . Subsequently, the control unit 212 obtains the storage location of the color space conversion plug-in from the plug-in management unit 205, and instructs the color space conversion unit 102 (103) to use the plug-in. The control unit 212 performs an input conversion unit 201, a color perception model order conversion unit 104 (105), a color space conversion unit 102 (103), and a color perception model inverse conversion unit to perform color matching on the sample 209. 106 (107), the output conversion unit 202 is instructed to execute processing sequentially.

以上の処理をもってプラグイン更新前のカラーマッチング処理が終了するが、上記カラーマッチング処理の出力デバイスがビデオデバイスではない場合は、更に出力デバイスをビデオデバイスとして忠実な再現が可能となるように更にカラーマッチングを行う。そして、インストール制御部213へカラーマッチング処理が終了したプレビュー画像の格納場所を通知する。   With the above processing, the color matching process before plug-in update is completed. However, if the output device of the color matching process is not a video device, further color reproduction is possible so that the output device can be faithfully reproduced as a video device. Perform matching. The installation control unit 213 is notified of the storage location of the preview image for which the color matching process has been completed.

次にステップS610において、プラグイン更新後のプレビュー画像の生成を行う。インストール制御部213は、更新対象のプラグインの適用箇所として入力変換部201、出力変換部202または色空間変換部102(103)の指定ならびにプラグイン格納場所、更新対象以外のプラグインID、デバイス情報IDを制御部212へ通知する。そしてさらに、プレビュー画像生成を制御212に依頼する。制御部212では、更新対象以外のプラグインID、デバイス情報IDの格納場所をプラグイン管理部205、デバイス情報管理部204より取得する。次に、インストール制御部213より通知を受けた更新対象のプラグイン適用箇所に基づき、入力変換部201または出力変換部202または色空間変換部102(103)に対して更新後のプラグイン格納場所を通知すると共に、当該プラグインの使用を指示する。   In step S610, a preview image after updating the plug-in is generated. The installation control unit 213 specifies the input conversion unit 201, the output conversion unit 202, or the color space conversion unit 102 (103) as the application location of the plug-in to be updated, the plug-in storage location, the plug-in ID other than the update target, the device The control unit 212 is notified of the information ID. Further, the control 212 is requested to generate a preview image. The control unit 212 acquires the storage location of the plug-in ID and device information ID other than the update target from the plug-in management unit 205 and the device information management unit 204. Next, the plug-in storage location after the update to the input conversion unit 201, the output conversion unit 202, or the color space conversion unit 102 (103) based on the plug-in application location to be updated received from the installation control unit 213 And instructing the use of the plug-in.

次に、更新対象以外のプラグインならびにデバイス情報の格納場所を各々、入力変換部201あるいは出力変換部202あるいは色空間変換部102(103)へ通知する。入力変換部201、出力変換部202は、デバイス情報中の観察条件の取得を行い、色知覚モデル順変換部104(105)あるいは色知覚モデル逆変換部106(107)へ観察条件を通知する。続けて制御部212は、サンプル209に対してカラーマッチングの実行を行うべく、入力変換部201、色知覚モデル順変換部104(105)、色空間変換部102(103)、色知覚モデル逆変換部106(107)、出力変換部202に対して順次処理実行を指示する。   Next, the plug-in other than the update target and the storage location of the device information are notified to the input conversion unit 201, the output conversion unit 202, or the color space conversion unit 102 (103), respectively. The input conversion unit 201 and the output conversion unit 202 acquire the observation condition in the device information, and notify the color perception model forward conversion unit 104 (105) or the color perception model inverse conversion unit 106 (107). Subsequently, the control unit 212 performs an input conversion unit 201, a color perception model order conversion unit 104 (105), a color space conversion unit 102 (103), and a color perception model inverse conversion in order to perform color matching on the sample 209. The unit 106 (107) and the output conversion unit 202 are instructed to execute processing sequentially.

以上の処理をもって更新前のカラーマッチング処理が終了するが、上記カラーマッチング処理の出力デバイスがビデオデバイスではない場合は、更にビデオデバイスに忠実な再現が可能となるように更にカラーマッチングを行う。そして、インストール制御部213へカラーマッチング処理が終了したプレビュー画像の格納場所を通知する。   With the above processing, the pre-update color matching processing is completed. However, when the output device of the color matching processing is not a video device, color matching is further performed so that the reproduction can be more faithful to the video device. The installation control unit 213 is notified of the storage location of the preview image for which the color matching process has been completed.

ステップS611では、プレビュー画面を生成し、ビデオデバイス309への表示を行う。   In step S611, a preview screen is generated and displayed on the video device 309.

<<プレビュー画面>>
ここで図8を用いて、本実施形態におけるプレビュー画面の表示様態を説明する。図8はインストール制御部213が生成し、ビデオデバイス309に表示されたプレビュー画面例である。該プレビュー画面は、ステップS609ならびにステップS610で生成した更新前、更新後のプラグインを使用したプレビュー画像をそれぞれ、更新前、更新後として対比できるようなプレビュー画像表示欄を備える。さらに、ユーザが更新を所望した場合にインストール制御部213に対して更新指示を与える「更新実行」ボタン並びに更新中止を指示する「更新」中止ボタンが配置される。更に、キャッシュの再作成を行うか否かのキャッシュ更新指示手段を有する。ここでの更新指示対象は、色空間変換プラグインの更新の場合はシステムキャッシュであるが、デバイスプラグインの場合は、システムキャッシュに加え、デバイスキャッシュ、CAMキャッシュ、CAM-1キャッシュとなる。
<< Preview screen >>
Here, the display mode of the preview screen in the present embodiment will be described with reference to FIG. FIG. 8 is an example of a preview screen generated by the installation control unit 213 and displayed on the video device 309. The preview screen includes a preview image display field in which preview images using the pre-update and post-update plug-ins generated in step S609 and step S610 can be compared as before and after update, respectively. Further, an “update execution” button for giving an update instruction to the installation control unit 213 when an update is desired by the user, and an “update” stop button for instructing an update stop are arranged. Furthermore, it has a cache update instruction means for determining whether or not to recreate the cache. The update instruction target here is the system cache in the case of updating the color space conversion plug-in, but in the case of the device plug-in, in addition to the system cache, the device cache, the CAM cache, and the CAM-1 cache.

図6の説明に戻り、ステップS611で表示されたプレビュー画面に対してユーザは、キャッシュ更新の有無指定並びに、更新を所望する場合は「更新実行」ボタンによりインストール制御部213に対して更新指示を与える。更新を所望しない場合は、「更新中止」ボタンにより更新中止を指示する。   Returning to the description of FIG. 6, the user designates whether or not to update the cache on the preview screen displayed in step S611, and if an update is desired, issues an update instruction to the installation control unit 213 using the “Update” button. give. If the update is not desired, the update is instructed by the “Update Cancel” button.

ステップS612では、インストール制御部213が、更新指示あるいは更新中止指示のいずれが選択されたかを識別し、更新中止指示がされた場合は更新処理を終了し、更新指示がなされた場合はステップS613へ進む。   In step S612, the installation control unit 213 identifies whether an update instruction or an update stop instruction has been selected. If an update stop instruction is issued, the update process ends. If an update instruction is issued, the process proceeds to step S613. move on.

ステップS613では、インストール制御部213は、制御部212に対して更新対象となるデバイスプラグイン管理データの更新依頼を行う。制御部212は、プラグイン管理部205に対して更新対象のプラグインIDならびに更新後のバージョン情報を通知して更新処理を指示する。プラグイン管理部205は、更新対象がデバイスプラグインであれば、デバイスプラグイン管理データ502中に存在する更新対象のプラグインIDの検索を行い、当該プラグインIDと関連付けられるバージョン情報の更新を行って更新完了通知を発する。また、更新対象が色空間変換プラグインであれば、色空間変換プラグイン管理データ503中に存在する更新対象のプラグインIDの検索を行い、当該プラグインIDと関連付けられるバージョン情報の更新を行い、更新完了通知を発する。制御部212は、完了通知をインストール制御部213へ通知する。   In step S613, the installation control unit 213 requests the control unit 212 to update the device plug-in management data to be updated. The control unit 212 notifies the plug-in management unit 205 of the plug-in ID to be updated and the version information after the update, and instructs the update process. If the update target is a device plug-in, the plug-in management unit 205 searches for the update target plug-in ID existing in the device plug-in management data 502, and updates the version information associated with the plug-in ID. Go and issue an update completion notification. If the update target is a color space conversion plug-in, search for the update target plug-in ID existing in the color space conversion plug-in management data 503, and update the version information associated with the plug-in ID. An update completion notification is issued. The control unit 212 notifies the installation control unit 213 of a completion notification.

次にステップS614では、インストール制御部213よりプラグイン本体の格納場所を制御部212に通知すると共に、プラグイン本体の更新を依頼する。制御部212はプラグイン管理部205へプラグインIDと共にプラグイン本体のファイル名を通知し、更新指示を行う。プラグイン管理部205は、更新後のプラグインの格納場所を決定し、デバイスプラグイン管理データ502または色空間変換プラグイン管理データ503の当該プラグインIDに関連した格納場所に更新を行い、更新された格納場所を制御部212へ通知する。制御部212は、プラグイン管理部205より通知された格納先へプラグインを格納する。   Next, in step S614, the installation control unit 213 notifies the control unit 212 of the storage location of the plug-in main body and requests update of the plug-in main body. The control unit 212 notifies the plug-in management unit 205 of the file name of the plug-in body together with the plug-in ID, and issues an update instruction. The plug-in management unit 205 determines the storage location of the updated plug-in, updates the storage location related to the plug-in ID of the device plug-in management data 502 or the color space conversion plug-in management data 503, and updates The control unit 212 is notified of the stored location. The control unit 212 stores the plug-in in the storage location notified from the plug-in management unit 205.

ステップS615では、ステップS611で表示したプレビュー画面中でキャッシュ更新指示がなされていたか否かを判定する。キャッシュ更新が指示されていた場合はステップS616へ進み、指示されていなかった場合はステップS617へ進む。   In step S615, it is determined whether or not a cache update instruction has been issued in the preview screen displayed in step S611. If the cache update is instructed, the process proceeds to step S616, and if not, the process proceeds to step S617.

ステップS616では、更新対象となるプラグインを用いて作成されたデバイスキャッシュ、CAMキャッシュ、CAM-1キャッシュ、システムキャッシュの更新を行う。   In step S616, the device cache, CAM cache, CAM-1 cache, and system cache created using the plug-in to be updated are updated.

制御部212は、デバイス・CAMキャッシュ管理部206より当該プラグインを用いて作成されたキャッシュが存在するか検索を依頼する。存在する場合は、管理されているキャッシュの作成条件に従い、入力変換部201または出力変換部202に変換LUT101,108の作成指示を行う。さらに、色知覚モデル順変換部104(105)あるいは色知覚モデル逆変換部106(107)に対してCAMテーブルまたはCAM-1テーブルの作成指示を行う。作成が完了したならば、デバイス・CAMキャッシュ管理部206に管理される格納先への格納を行う。   The control unit 212 requests the device / CAM cache management unit 206 to search for a cache created using the plug-in. If it exists, the creation instruction of the conversion LUTs 101 and 108 is issued to the input conversion unit 201 or the output conversion unit 202 according to the managed cache creation conditions. Further, it instructs the color perception model order conversion unit 104 (105) or the color perception model inverse conversion unit 106 (107) to create a CAM table or a CAM-1 table. When the creation is completed, storage in the storage location managed by the device / CAM cache management unit 206 is performed.

続いて、制御部212は、システムキャッシュ管理部208より当該プラグインを用いて作成されたキャッシュが存在するか検索する。存在する場合には、管理されているキャッシュの作成条件に従い、システムキャッシュ作成部207でシステムキャッシュを作成する。作成されたシステムキャッシュは、システムキャッシュ管理部208に管理される格納場所へ格納される。   Subsequently, the control unit 212 searches the system cache management unit 208 for a cache created using the plug-in. If it exists, the system cache creation unit 207 creates a system cache in accordance with the managed cache creation conditions. The created system cache is stored in a storage location managed by the system cache management unit 208.

キャッシュの更新が終了したならばインストール制御部213へ終了の通知を行い、インストール制御部213の処理を終了する。   If the cache update is completed, the installation control unit 213 is notified of the end, and the process of the installation control unit 213 is terminated.

ステップS617では、更新対象となるプラグインを用いて作成されたデバイスキャッシュ、CAMキャッシュ、CAM-1キャッシュ、システムキャッシュの破棄を行う。   In step S617, the device cache, CAM cache, CAM-1 cache, and system cache created using the plug-in to be updated are discarded.

制御部212は、デバイス・CAMキャッシュ管理部206より当該プラグインを用いて作成されたキャッシュが存在するか検索を依頼する。存在する場合は、デバイスキャッシュ管理データ504、CAMキャッシュ管理データ505およびCAM-1キャッシュ管理データ506より当該データを削除すると共に、キャッシュの削除を行う。   The control unit 212 requests the device / CAM cache management unit 206 to search for a cache created using the plug-in. If it exists, the data is deleted from the device cache management data 504, the CAM cache management data 505, and the CAM-1 cache management data 506, and the cache is deleted.

次に、制御部212は、システムキャッシュ管理部208より当該プラグインを用いて作成されたキャッシュが存在するか検索する。存在する場合には、システムキャッシュ管理データ507の当該データを削除すると共にキャッシュの削除を行う。   Next, the control unit 212 searches the system cache management unit 208 for a cache created using the plug-in. If it exists, the data in the system cache management data 507 is deleted and the cache is deleted.

キャッシュの破棄が終了したならばインストール制御部213へ終了の通知を行い、インストール制御部213の処理を終了する。   When the cache discard is completed, the installation control unit 213 is notified of the end, and the process of the installation control unit 213 is terminated.

以上説明したように本実施形態によれば、プラグインの更新を行う際にプレビューによる事前確認を行うことが可能となる。   As described above, according to the present embodiment, it is possible to perform prior confirmation by preview when updating a plug-in.

なお、本実施形態ではプレビュー結果をモニタ表示する例を示したが、プリンタを用いて該プレビュー結果をプリント出力することも可能である。   In this embodiment, an example in which the preview result is displayed on the monitor has been shown. However, the preview result can be printed out using a printer.

<他の実施形態>
以上、実施形態例を詳述したが、本発明は例えば、システム、装置、方法、プログラム若しくは記憶媒体(記録媒体)等としての実施態様をとることが可能である。具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。
<Other embodiments>
Although the embodiment has been described in detail above, the present invention can take an embodiment as a system, apparatus, method, program, storage medium (recording medium), or the like. Specifically, the present invention may be applied to a system composed of a plurality of devices, or may be applied to an apparatus composed of a single device.

なお本発明を適用する計算機は、パーソナルコンピュータ、携帯電話を含む携帯端末、画像形成装置など、その形態を問わないのは言うまでもない。   Needless to say, the computer to which the present invention is applied may be of any form, such as a personal computer, a portable terminal including a cellular phone, an image forming apparatus, or the like.

尚本発明は、前述した実施形態の機能を実現するソフトウェアのプログラムを、システムあるいは装置に直接あるいは遠隔から供給し、そのシステムあるいは装置のコンピュータが該供給されたプログラムコードを読み出して実行することによっても達成される。なお、この場合のプログラムとは、実施形態において図に示したフローチャートに対応したプログラムである。   In the present invention, a software program for realizing the functions of the above-described embodiments is supplied directly or remotely to a system or apparatus, and the computer of the system or apparatus reads and executes the supplied program code. Is also achieved. The program in this case is a program corresponding to the flowchart shown in the drawing in the embodiment.

従って、本発明の機能処理をコンピュータで実現するために、該コンピュータにインストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明は、本発明の機能処理を実現するためのコンピュータプログラム自体も含まれる。   Accordingly, since the functions of the present invention are implemented by computer, the program code installed in the computer also implements the present invention. In other words, the present invention includes a computer program itself for realizing the functional processing of the present invention.

その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等の形態であっても良い。   In that case, as long as it has the function of a program, it may be in the form of object code, a program executed by an interpreter, script data supplied to the OS, or the like.

プログラムを供給するための記録媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、MO、CD-ROM、CD-R、CD-RW、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD-ROM,DVD-R)などがある。   As a recording medium for supplying the program, for example, floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, MO, CD-ROM, CD-R, CD-RW, magnetic tape, nonvolatile memory card , ROM, DVD (DVD-ROM, DVD-R).

プログラムの供給方法としては、以下に示す方法も可能である。すなわち、クライアントコンピュータのブラウザからインターネットのホームページに接続し、そこから本発明のコンピュータプログラムそのもの(又は圧縮され自動インストール機能を含むファイル)をハードディスク等の記録媒体にダウンロードする。また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明に含まれるものである。   As a program supply method, the following method is also possible. That is, the browser of the client computer is connected to a homepage on the Internet, and the computer program itself (or a compressed file including an automatic installation function) of the present invention is downloaded to a recording medium such as a hard disk. It can also be realized by dividing the program code constituting the program of the present invention into a plurality of files and downloading each file from a different homepage. That is, a WWW server that allows a plurality of users to download a program file for realizing the functional processing of the present invention on a computer is also included in the present invention.

また、本発明のプログラムを暗号化してCD-ROM等の記憶媒体に格納してユーザに配布し、所定の条件をクリアしたユーザに対し、インターネットを介してホームページから暗号化を解く鍵情報をダウンロードさせることも可能である。すなわち該ユーザは、その鍵情報を使用することによって暗号化されたプログラムを実行し、コンピュータにインストールさせることができる。   In addition, the program of the present invention is encrypted, stored in a storage medium such as a CD-ROM, distributed to users, and key information for decryption is downloaded from a homepage via the Internet to users who have cleared predetermined conditions. It is also possible to make it. That is, the user can execute the encrypted program by using the key information and install it on the computer.

また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される。さらに、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部または全部を行い、その処理によっても前述した実施形態の機能が実現され得る。   Further, the functions of the above-described embodiments are realized by the computer executing the read program. Furthermore, based on the instructions of the program, an OS or the like running on the computer performs part or all of the actual processing, and the functions of the above-described embodiments can also be realized by the processing.

さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、実行されることによっても、前述した実施形態の機能が実現される。すなわち、該プログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行うことが可能である。   Further, the program read from the recording medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, and then executed, so that the program of the above-described embodiment can be realized. Function is realized. That is, based on the instructions of the program, the CPU provided in the function expansion board or function expansion unit can perform part or all of the actual processing.

本実施形態における色知覚モデルを用いたカラーマッチング処理を示す概念図である。It is a conceptual diagram which shows the color matching process using the color perception model in this embodiment. 本実施形態におけるカラーマッチングモジュールの機能構成を示すブロック図である。It is a block diagram which shows the function structure of the color matching module in this embodiment. 図2の機能構成を実現する装置の構成例を示すブロック図である。FIG. 3 is a block diagram showing a configuration example of an apparatus that realizes the functional configuration of FIG. デバイス情報ならびにデバイスプラグイン、色空間変換プラグインの模式図である。It is a schematic diagram of device information, a device plug-in, and a color space conversion plug-in. 管理情報の模式図である。It is a schematic diagram of management information. 本実施形態のカラーマッチングモジュールに対するインストール処理を示すフローチャートである。It is a flowchart which shows the installation process with respect to the color matching module of this embodiment. プレビュー対象選択画面の表示例を示す図である。It is a figure which shows the example of a display of a preview object selection screen. プレビュー対象選択画面の表示例を示す図である。It is a figure which shows the example of a display of a preview object selection screen. プレビュー画面の表示例を示す図である。It is a figure which shows the example of a display of a preview screen. 本実施形態に適用されるカラーマッチング用の色知覚モデルを示す図である。It is a figure which shows the color perception model for color matching applied to this embodiment. 一般的なカラーマッチング処理を示す概念図である。It is a conceptual diagram which shows a general color matching process.

Claims (16)

カラーマッチング処理を構成する変換処理を更新可能とする画像処理方法であって、
更新対象となる新たな変換処理を指示する更新指示ステップと、
前記新たな変換処理を含むカラーマッチング処理を事前実行した結果を報知する事前確認ステップと、
前記事前確認ステップにおける報知結果に基づいて前記新たな変換処理への更新の可否を判断する更新判断ステップと、
前記更新判断ステップにおいて更新可と判断された場合に前記新たな変換処理への更新を行う更新ステップと、
を有することを特徴とする画像処理方法。
An image processing method capable of updating a conversion process constituting a color matching process,
An update instruction step for instructing a new conversion process to be updated;
A prior confirmation step for informing a result of performing a color matching process including the new conversion process in advance;
An update determination step for determining whether or not an update to the new conversion process is possible based on a notification result in the prior confirmation step;
An update step for performing an update to the new conversion process when it is determined that the update is possible in the update determination step;
An image processing method comprising:
前記事前確認ステップにおいては、前記新たな変換処理を含むカラーマッチング処理の事前実行結果を画面表示することを特徴とする請求項1記載の画像処理方法。   The image processing method according to claim 1, wherein in the preliminary confirmation step, a preliminary execution result of a color matching process including the new conversion process is displayed on a screen. 前記事前確認ステップにおいては、前記新たな変換処理を含むカラーマッチング処理の事前実行結果を印刷出力することを特徴とする請求項1記載の画像処理方法。   The image processing method according to claim 1, wherein in the preliminary confirmation step, a preliminary execution result of a color matching process including the new conversion process is printed out. 前記事前確認ステップにおいては、前記新たな変換処理を含むカラーマッチング処理を所定の画像に対して実行した結果を報知することを特徴とする請求項1乃至3のいずれかに記載の画像処理方法。   4. The image processing method according to claim 1, wherein in the prior confirmation step, a result of executing color matching processing including the new conversion processing on a predetermined image is notified. . 前記事前確認ステップにおいてはさらに、更新前の変換処理を含むカラーマッチング処理を前記所定の画像に対して実行した結果を報知することを特徴とする請求項4記載の画像処理方法。   5. The image processing method according to claim 4, wherein in the prior confirmation step, a result of executing a color matching process including a conversion process before the update on the predetermined image is notified. さらに、前記事前確認ステップにおける報知結果に基づいて、更新前の変換処理において使用されるデータを更新するか否かを判断するデータ更新判断ステップと、
前記データ更新判断ステップにおいて更新可と判断された場合に、前記更新前の変換処理において使用されるデータを更新するデータ更新ステップと、
を有することを特徴とする請求項1乃至5のいずれかに記載の画像処理方法。
Furthermore, based on the notification result in the prior confirmation step, a data update determination step for determining whether to update data used in the conversion process before the update,
A data update step of updating data used in the conversion process before the update when it is determined that the update is possible in the data update determination step;
The image processing method according to claim 1, further comprising:
前記データ更新ステップにおいては、前記データ更新判断ステップにおいて更新不可と判断された場合に、更新前の変換処理において使用されるデータを破棄することを特徴とする請求項6記載の画像処理方法。   7. The image processing method according to claim 6, wherein in the data update step, data used in the conversion process before the update is discarded when it is determined that the update is impossible in the data update determination step. 前記データ更新ステップにおいては、前記更新前の変換処理において使用されるキャッシュデータを更新することを特徴とする請求項6または7記載の画像処理方法。   8. The image processing method according to claim 6, wherein, in the data update step, cache data used in the conversion process before the update is updated. 前記新たな変換処理は、プラグインモジュールとして提供されることを特徴とする請求項1乃至8のいずれかに記載の画像処理方法。   9. The image processing method according to claim 1, wherein the new conversion process is provided as a plug-in module. 前記カラーマッチング処理は、
入力デバイスに依存する色空間で示される入力データを、デバイスに依存しない色空間で示される第1のデータに変換する第1のデータ変換ステップと、
前記第1のデータに対し、入力側の観察条件に応じた色知覚モデルの順変換を施して色知覚空間で示される第2のデータに変換する第2のデータ変換ステップと、
前記第2のデータに対し、出力デバイスの色再現領域に応じた色空間圧縮処理を施して第3のデータに変換する第3のデータ変換ステップと、
前記第3のデータに対し、出力側の観察条件に応じた色知覚モデルの逆変換を施してデバイスに依存しない色空間で示される第4のデータに変換する第4のデータ変換ステップと、
前記第4のデータを、前記出力デバイスに依存する色空間で示される出力データへ変換する第5のデータ変換ステップと、
によって構成されることを特徴とする請求項1乃至9のいずれかに記載の画像処理方法。
The color matching process
A first data conversion step of converting input data indicated in a color space dependent on an input device into first data indicated in a color space independent of a device;
A second data conversion step for converting the first data to the second data shown in the color perception space by performing forward conversion of the color perception model according to the observation condition on the input side,
A third data conversion step for converting the second data into third data by performing color space compression processing according to the color reproduction region of the output device;
A fourth data conversion step for converting the third data into fourth data shown in a device-independent color space by performing an inverse conversion of a color perception model according to an output-side observation condition;
A fifth data conversion step for converting the fourth data into output data represented by a color space depending on the output device;
The image processing method according to claim 1, comprising:
前記第1、第3および第5のデータ変換ステップは、事前に登録された任意の変換処理に更新可能であることを特徴とする請求項10記載の画像処理方法。   11. The image processing method according to claim 10, wherein the first, third, and fifth data conversion steps can be updated to an arbitrary conversion process registered in advance. カラーマッチング処理を構成する変換処理を更新可能とする画像処理装置であって、
更新対象となる新たな変換処理を指示する更新指示手段と、
前記新たな変換処理を含むカラーマッチング処理を事前実行した結果を報知する事前確認手段と、
前記事前確認手段による報知結果に基づいて前記新たな変換処理への更新の可否を判断する更新判断手段と、
前記更新判断手段によって更新可と判断された場合に前記新たな変換処理への更新を行う更新手段と、
を有することを特徴とする画像処理装置。
An image processing apparatus capable of updating a conversion process constituting a color matching process,
An update instruction means for instructing a new conversion process to be updated;
A prior confirmation means for informing a result of performing a color matching process including the new conversion process in advance;
Update determination means for determining whether or not to update to the new conversion process based on a notification result by the prior confirmation means;
An update means for performing an update to the new conversion process when the update determination means determines that the update is possible;
An image processing apparatus comprising:
前記事前確認手段は、前記新たな変換処理を含むカラーマッチング処理の事前実行結果を画面表示することを特徴とする請求項12記載の画像処理装置。   The image processing apparatus according to claim 12, wherein the prior confirmation unit displays a result of prior execution of a color matching process including the new conversion process on a screen. 前記新たな変換処理は、プラグインモジュールとして提供されることを特徴とする請求項12または13記載の画像処理装置。   The image processing apparatus according to claim 12, wherein the new conversion process is provided as a plug-in module. 情報処理装置上で実行されることによって、該情報処理装置を請求項1乃至11の何れかに記載された画像処理方法を実行するように制御することを特徴とするプログラム。   A program that, when executed on an information processing apparatus, controls the information processing apparatus to execute the image processing method according to any one of claims 1 to 11. 請求項15に記載されたプログラムが記録されたことを特徴とするコンピュータ可読の記録媒体。   A computer-readable recording medium on which the program according to claim 15 is recorded.
JP2005252474A 2005-08-31 2005-08-31 Image processing apparatus and method thereof Withdrawn JP2007067935A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005252474A JP2007067935A (en) 2005-08-31 2005-08-31 Image processing apparatus and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005252474A JP2007067935A (en) 2005-08-31 2005-08-31 Image processing apparatus and method thereof

Publications (1)

Publication Number Publication Date
JP2007067935A true JP2007067935A (en) 2007-03-15

Family

ID=37929575

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005252474A Withdrawn JP2007067935A (en) 2005-08-31 2005-08-31 Image processing apparatus and method thereof

Country Status (1)

Country Link
JP (1) JP2007067935A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008287363A (en) * 2007-05-15 2008-11-27 Ricoh Co Ltd Image processing apparatus, method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008287363A (en) * 2007-05-15 2008-11-27 Ricoh Co Ltd Image processing apparatus, method, and program

Similar Documents

Publication Publication Date Title
JP3634633B2 (en) Image processing apparatus and method
JP2007081586A (en) Image processing unit and image processing method, program thereof, and recording medium
JP4522346B2 (en) Color processing method and apparatus
Süsstrunk et al. Standard RGB color spaces
JP4592090B2 (en) Color processing method and apparatus
JP3991196B2 (en) Image processing system and image processing server
US20090128840A1 (en) Apparatus, method, signal and computer program product configured to provide output image adjustment of an image file
US20050149864A1 (en) Image processing device, image processing system, output device, computer readable recording medium and image processing method
JP2000050086A (en) Picture processor, picture processing method and profile generation method
JP2006217181A (en) Color processing device and method
KR20100074016A (en) Method of calibration of a target color reproduction device
US6803921B1 (en) Use of softproofing to assist in the rendering of images of unknown colorimetry
US7667872B2 (en) Gamut mapping and rendering intent management system
JPH114353A (en) Image processing method and system
US8115978B2 (en) Information processing method and information processing apparatus for simulating a result output from a first output device based on input data represented in a color space that is dependent on the input device by a second output device
US8730343B2 (en) Color processing apparatus and method for performing color conversion using a color appearance model
JP3805247B2 (en) Image processing apparatus and method
JP2007067940A (en) Image processing apparatus and method thereof
JP2007067935A (en) Image processing apparatus and method thereof
JP2007074557A (en) Image processing method, image processing apparatus, computer program, and storage medium
JP4533291B2 (en) Color processing method and apparatus
JP2007081581A (en) Color processing method and device
JP4356975B2 (en) Image processing apparatus and method
JP3305266B2 (en) Image processing method
JPH1141478A (en) Method and device for processing image and recording medium

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20081104