JP4970419B2 - Image processing device - Google Patents
Image processing device Download PDFInfo
- Publication number
- JP4970419B2 JP4970419B2 JP2008326439A JP2008326439A JP4970419B2 JP 4970419 B2 JP4970419 B2 JP 4970419B2 JP 2008326439 A JP2008326439 A JP 2008326439A JP 2008326439 A JP2008326439 A JP 2008326439A JP 4970419 B2 JP4970419 B2 JP 4970419B2
- Authority
- JP
- Japan
- Prior art keywords
- color gamut
- image
- color
- image 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.)
- Active
Links
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Description
本発明は、入力装置における入力色域内の画像データを出力装置における出力色域内の画像データに変換する画像処理装置に関し、特に、入力色域と出力色域間における色変換を行う画像処理装置に関するものである。 The present invention relates to an image processing device that converts image data in an input color gamut in an input device into image data in an output color gamut in an output device, and more particularly to an image processing device that performs color conversion between an input color gamut and an output color gamut. Is.
従来、入力装置における画像データを出力装置における画像データに変換する際、入力装置における入力色域上の画像データを、出力装置における出力色域内において再現させる色域写像という処理が行われている。
上記色域写像において、色域写像パラメータは、出力装置の色域に対して入力装置の色域に一意に対応付けられて決定されるのが一般的であり、且つ、入力色域に対して出力色域が小さい場合が多い。このように、入力色域より出力色域の方が小さいと、色域写像時の写像圧縮の度合いが大きくなるため、全色域を彩度・明度の階調性を維持して出力色空間へ写像する色域写像では、彩度の低下が顕著となり、好ましい色再現が行えないという問題があった。
Conventionally, when converting image data in the input device into image data in the output device, a process called color gamut mapping is performed to reproduce the image data in the input color gamut in the input device within the output color gamut in the output device.
In the above color gamut mapping, the color gamut mapping parameter is generally determined by uniquely associating the color gamut of the output device with the color gamut of the input device, and for the input color gamut. The output color gamut is often small. In this way, if the output color gamut is smaller than the input color gamut, the degree of mapping compression during color gamut mapping increases, so the entire color gamut maintains the gradation of saturation and lightness, and the output color space In the color gamut mapping that maps to the gamut, there is a problem that the saturation is significantly lowered, and preferable color reproduction cannot be performed.
係る問題に鑑み、彩度の低下を抑制した好ましい色再現を実現できる色域写像処理として、特許文献1が提案されている。特許文献1は、入力画像データの使用色域を解析し、予め記憶してある色域情報と、各色域情報に対応付けられた色域写像パラメータを最適化した色変換プロファイルから入力画像データの使用色域を包含する最小の色域情報と、これに対応付けられた色変換プロファイルを選択し、当色変換プロファイルを用いて入力画像データに色変換処理を施して出力画像データを生成するというものである。
しかしながら、特許文献1の場合、入力画像データの使用色域が異なると、それに対応した色域写像パラメータが変わるため、同じ入力色であっても異なる色に再現されてしまうという問題があった。 However, in the case of Patent Document 1, if the used color gamut of the input image data is different, the corresponding color gamut mapping parameter is changed, so that even the same input color is reproduced in a different color.
本発明は、上記問題に鑑みなされたもので、同じ入力色に対して同じ色に再現できる画像処理装置を提供することを目的としている。 The present invention has been made in view of the above problems, and an object thereof is to provide an image processing apparatus that can reproduce the same color for the same input color.
すなわち、本発明は、入力装置における入力色域内の画像データを出力装置における出力色域内の画像データに変換する画像処理装置において、前回入力された第1画像データに関する第1画像色域情報を記憶する第1情報記憶部と、今回入力された第2画像データに関する第2画像色域情報を算出する画像色域解析部と、上記第2画像データと上記第2画像色域情報を記憶する第2情報記憶部と、上記第1画像色域情報と上記第2画像色域情報の類似度を求める類似度算出部と、上記類似度が所定の類似範囲内であれば、上記第1画像色域情報を色域写像に使用する入力装置の色域とし、上記類似度が所定の類似範囲外であれば、上記第2画像色域情報を色域写像に使用する入力装置の色域とする色変換色域決定部と、上記色域写像に使用する入力の色域と上記出力装置の色域に基づいて、上記第2画像データの色を上記出力装置の色域内に写像した色域写像画像データを生成する色域写像部とを有することを特徴としている。 That is, according to the present invention, in an image processing device that converts image data in the input color gamut of the input device into image data in the output color gamut of the output device, the first image gamut information relating to the first image data input last time is stored. A first information storage unit, an image color gamut analysis unit that calculates second image color gamut information relating to the second image data input this time, a second image data and a second image color information that stores the second image color gamut information. Two information storage units, a similarity calculation unit for obtaining a similarity between the first image gamut information and the second image gamut information, and the first image color if the similarity is within a predetermined similarity range. If the gamut information is used as the gamut of the input device used for the gamut mapping, and the similarity is outside the predetermined similarity range, the second image gamut information is used as the gamut of the input device used for the gamut mapping. Used for color conversion color gamut determination unit and the above color gamut mapping A color gamut mapping unit for generating color gamut mapping image data in which the color of the second image data is mapped into the color gamut of the output device based on the input color gamut and the color gamut of the output device. It is a feature.
また、別の発明は、入力装置における入力色域内の画像データを出力装置における出力色域内の画像データに変換する画像処理装置において、前回入力された第1画像データに関する第1画像色域情報を記憶する第1情報記憶部と、今回入力された第2画像データに関する第2画像色域情報を算出する画像色域解析部と、上記第2画像データと上記第2画像色域情報を記憶する第2情報記憶部と、上記第1画像色域情報と上記出力装置の色域に基づいて、上記第2画像データの色を上記出力装置の色域内に写像した第1色域写像画像データを生成すると共に、上記第2画像色域情報と上記出力装置の色域に基づいて、上記第2画像データの色を上記出力装置の色域内に写像した第2色域写像画像データを生成する色域写像部と、上記第1色域写像画像データと上記第2色域写像画像データを記憶するデータ記憶部と、上記第1色域写像画像データと上記第2色域写像画像データの差分画像を生成する差分画像生成部とを有し、上記差分画像を、上記第1色域写像画像データと上記第2色域写像画像データの何れかを上記出力装置の出力画像データとして選択するための判断基準とすることを特徴としている。 According to another aspect of the present invention, in an image processing device that converts image data in an input color gamut in an input device into image data in an output color gamut in an output device, first image gamut information relating to the first image data input last time is obtained. A first information storage unit for storing; an image color gamut analysis unit for calculating second image color gamut information relating to the second image data input this time; and the second image data and the second image color gamut information. First color gamut mapping image data obtained by mapping the color of the second image data into the color gamut of the output device based on the second information storage unit, the first image color gamut information and the color gamut of the output device. And a color for generating second color gamut mapping image data in which the color of the second image data is mapped into the color gamut of the output device based on the second image color gamut information and the color gamut of the output device. Area mapping section and the first color gamut A data storage unit that stores the image image data and the second color gamut mapping image data, and a difference image generation unit that generates a difference image between the first color gamut mapping image data and the second color gamut mapping image data. The difference image is used as a criterion for selecting either the first color gamut mapping image data or the second color gamut mapping image data as output image data of the output device.
本発明によれば、入力画像データの再現色域が類似した画像に対しては、同じ色変換色域を設定するようにしたので、同じ入力色に対し同じ色再現を行うことができ、同じ入力色でありながら異なる色で再現されるという不都合を解消できる。 According to the present invention, since the same color conversion color gamut is set for images having similar reproduction color gamuts of input image data, the same color reproduction can be performed for the same input colors. It is possible to eliminate the inconvenience that the input color is reproduced with a different color.
また、別の発明によれば、前回の入力画像に対する色域写像処理と同じ色再現を行った第1色域写像画像データと、前回と色再現は異なるが入力画像に対し階調性が最適となるような変換を行った第2色域写像画像データとの差分画像を生成し、この差分画像を、上記第1色域写像画像データと第2色域写像画像データの何れかを出力画像データとして選択するための判断基準としたので、ユーザーは、表示された差分画像と各色域写像画像の階調性を目視にて確認しながら、上記色域写像画像の内、好ましい方の写像画像を選択して、出力装置より出力することができる。 Further, according to another invention, the first color gamut mapping image data obtained by performing the same color reproduction as the color gamut mapping processing for the previous input image is different from the previous color reproduction, but the gradation is optimum for the input image. A difference image with the second color gamut mapping image data that has been converted to be generated is generated, and either the first color gamut mapping image data or the second color gamut mapping image data is output as the difference image. Since the determination criterion for selecting as data is used, the user can visually confirm the gradation of the displayed difference image and each color gamut mapping image while checking the preferred mapping image among the above color gamut mapping images. Can be selected and output from the output device.
以下、図1〜図11に基づいて本発明による画像処理装置の実施形態を説明する。 Hereinafter, an embodiment of an image processing apparatus according to the present invention will be described with reference to FIGS.
図1は実施例1による画像処理装置の概略構成を示すブロック図である。
本実施例の画像処理装置300は、図1に示すように、CPU32を有し、このCPU32には、入出力I/F31、プログラムROM33、RAM34、HDD35等が接続されている。
プログラムROM33には、画像処理に関するプログラムが格納されており、CPU32がプログラムROM33に格納された画像処理のプロクラムをRAM34上に展開してプロクラムを実行することにより、画像処理装置300の処理動作が行われる。
HDD35は、ユーザーにより印字された画像、モニタ100の色域情報、プリンタ400の色域情報等、後述する画像処理装置300の処理に必要な各種データを格納しておく記憶媒体として使用される。
また、入出力I/F31には、入力装置としてモニタ100とキーボード200が接続されており、また、出力装置としてプリンタ400が接続されている。
FIG. 1 is a block diagram illustrating a schematic configuration of the image processing apparatus according to the first embodiment.
As shown in FIG. 1, the
The
The HDD 35 is used as a storage medium for storing various data necessary for processing of the
The input / output I /
図2は実施例1による画像処理装置300の機能ブロック図である。
本実施例の画像処理装置300は、第2情報記憶部としての入力画像情報格納部301、モニタ色域情報格納部302、画像色域解析部303、第1情報記憶部としての処理履歴情報格納部304、類似度算出部305、色変換色域決定部306、プリンタ色域情報格納部307、色域写像部308、色変換テーブル格納部309、色変換部310、画像出力部311等を備える。これらは、既述のように、CPU32がRAM34上に展開された画像処理プログラムを実行することにより実現される機能部である。
FIG. 2 is a functional block diagram of the
The
上記入力画像情報格納部301は、入力画像データ(第2画像)、及び入力画像に使用される色の範囲を表す入力画像色域情報(第2画像色域情報)を格納する機能部である。入力画像色域情報は、後述するモニタ色域情報に対する1.0以下のスケーリング係数である。
The input image
上記モニタ色域情報格納部302は、モニタ100の色域情報を格納する機能部である。このモニタ色域情報は、色域の外郭に相当するRGB値を離散的に複数点でサンプリングし、各サンプリング点におけるRGB値に対応付けられたLab値で与えられる。
例えば、図3に示すモニタ100の色域情報の例では、それぞれ離散的にサンプリングされた白から赤、赤から黒の各色に対応するLab値が格納されている。同様に、緑や青、シアン、マゼンタ、イエロー等、各色相の色域全体についてサンプリングし、それぞれのサンプリング点において対応付けられたLab値がモニタ色域情報として格納される。
The monitor color gamut
For example, in the example of the color gamut information of the
上記画像色域解析部303は、入力画像情報格納部301から入力された入力画像データと、モニタ色域情報格納部302から入力されたモニタ色域情報に基づいて入力画像色域を算出する機能部である。入力画像色域は、入力画像に使用される色の範囲を示している。
The image color
図5は画像色域解析部303の処理説明図であり、Lab空間における色相断面を示している。図5の横軸は彩度、縦軸は明度である。
上記入力画像色域603は、モニタ色域601と相似形の色域であって、入力画像の色分布602は色域内に全て包含される。入力画像色域情報は、モニタ色域601の最大彩度C1に対する入力画像色域603の最大彩度C2の比(C2/C1)で算出される1.0以下のスケーリング係数である。尚、算出された入力画像色域情報は、入力画像情報格納部301に格納される。
FIG. 5 is a process explanatory diagram of the image color
The input
上記処理履歴情報格納部304は、前色変換色域情報(第1画像色域情報)を格納する機能部である。前色変換色域情報とは、画像処理装置300において前回の入力画像に対して色域写像を行う際に使用された色変換色域情報を示し、モニタ色域601の最大彩度に対する1.0以下のスケーリング係数である。
The processing history
上記類似度算出部305は、入力画像情報格納部301から入力された入力画像色域情報の色域と、処理履歴情報格納部304から入力された前色変換色域情報の色域の類似度Sを算出する機能部である。
類似度Sは、入力画像色域情報をSc、前色変換色域情報をSpとすると、Sc/Spにて算出することができる。従って、算出された類似度Sの値が1に近い程、類似度は高くなり、入力画像色域情報Scの色域と前色変換色域情報Spの色域が類似していることになる。
The
The similarity S can be calculated by Sc / Sp, where Sc is the input image color gamut information and Sp is the previous color conversion color gamut information. Accordingly, the closer the calculated similarity S value is to 1, the higher the similarity is, and the color gamut of the input image color gamut information Sc and the color gamut of the previous color conversion color gamut information Sp are similar. .
上記色変換色域決定部306は、類似度算出部305から入力された類似度Sに基づいて、後述する色域写像部308で使用するモニタ100の色変換色域情報を決定する機能部である。色変換色域情報は、モニタ100の色域に対するスケーリング係数である。
The color conversion color
類似度Sが、所定範囲内、例えば、0.9〜1.1の範囲内であれば、前色変換色域情報を色変換色域情報とし、類似度Sが、0.9〜1.1の範囲外であれば、入力画像色域情報を色変換色域情報とする。すなわち、入力画像に使用された色分布が前回処理した画像の色分布に類似している場合、今回の色域写像処理には、前回と同じ色変換色域情報が使用される。 If the similarity S is within a predetermined range, for example, 0.9 to 1.1, the previous color conversion color gamut information is used as color conversion color gamut information, and the similarity S is 0.9 to 1. If it is outside the range of 1, the input image color gamut information is used as color conversion color gamut information. That is, when the color distribution used for the input image is similar to the color distribution of the previously processed image, the same color conversion color gamut information as the previous time is used for the current color gamut mapping process.
上記プリンタ色域情報格納部307は、プリンタ400の色域情報を格納する機能部である。このプリンタ色域情報は、色域の外郭に相当するCMYK値を離散的に複数点でサンプリングし、各サンプリング点におけるCMYK値に対応付けられたLab値で与えられる。
例えば、図4に示すプリンタ400の色域情報の例では、それぞれ離散的にサンプリングされた白から赤、赤から黒の各色に対応するLab値が格納されている。既述したモニタ色域情報と同様に、各色相についてサンプリングし、それぞれのサンプリング点において対応付けられたLab値がプリンタ色域情報として格納される。
The printer color gamut
For example, in the example of the color gamut information of the
上記色域写像部308は、色変換色域決定部306から入力された色変換色域情報と、モニタ色域情報格納部302から入力されたモニタ色域情報から仮のモニタ色域情報を算出すると共に、この仮モニタ色域情報とプリンタ色域情報格納部307から入力されたプリンタ色域情報を使用して、入力画像データの色をプリンタ400の色域内において再現させた色域写像画像データを生成する機能部である。
The color
上記色変換テーブル格納部309は、Lab値とCMYK値の対応関係を示すテーブル形式の変換データ(変換テーブル)を格納する機能部である。この変換テーブルは、Lab値の各L値、a値、b値による3次元のルックアップテーブルである。
The color conversion
上記色変換部310は、上記色変換テーブルを用い、色域写像部308から入力された色域写像画像データの各画素のLab値をプリンタ400が出力可能なCMYK値に変換する機能部である。
The
上記画像出力部311は、色変換部310から入力されたCMYK値でなる画像データをプリンタ400へ出力する機能部である。
The
次に、上述した各機能部で構成される画像処理装置300の処理を、図6のフローチャートに基づいて説明する。
Next, processing of the
先ず、S101では、ユーザーのキーボード200操作により、画像処理装置300に画像の印字命令が入力されると、印字命令にて指定された画像が、入力画像情報格納部301から画像色域解析部303に入力される。
First, in S101, when an image print command is input to the
次に、S102では、画像色域解析部303において、入力画像情報格納部301から入力された入力画像データに使用されている色の分布が解析され、入力画像色域情報が算出される。算出された入力画像色域情報は、入力画像情報格納部301に格納される。
Next, in S102, the image color
次に、S103では、類似度算出部305において、入力画像情報格納部301から入力された入力画像色域情報と、処理履歴情報格納部304から入力された前色変換色域情報より、今回の入力画像と前回の入力画像における色域の類似度が算出される。
Next, in S103, the
次に、S104では、色変換色域決定部306において、類似度算出部305で算出された類似度に基づき、色変換色域情報が選択、決定される。すなわち、類似度が高い場合は、前色変換色域情報が選択され、類似度が低い場合は、入力画像色域が選択される。決定された色変換色域情報は、処理履歴情報格納部304に格納される。
In step S <b> 104, the color conversion color
次に、S105では、色域写像部308において、モニタ色域情報格納部302から入力されたモニタ色域情報が色変換色域決定部306で設定された色変換色域情報でスケーリングされて、モニタの仮色域が設定される。このモニタ仮色域とプリンタ色域情報格納部307から入力されたプリンタ色域情報に基づき、入力画像情報格納部301から入力された入力画像の色が色域写像される。この色域写像処理の詳細は後述する。
In step S105, the color
ここで、上記S104での処理の結果、前色変換色域情報を使用してモニタ100の仮色域が設定された場合は、入力画像色に対し前回の同様の色再現(色域写像)が行われる。他方、入力画像色域情報を使用してモニタ100の仮色域が設定された場合は、前回と異なる色再現が行われるが、入力画像に対して、階調性の優れる画像が得られる。
Here, when the temporary color gamut of the
次に、S106では、色変換部310において、色変換テーブル格納部309の変換テーブルが参照されて、公知の補間方法により、色域写像部308から入力された色域写像画像データがプリンタ400で出力可能なCMYK画像データに変換される。
Next, in S106, the
次に、S107では、画像出力部311において、色変換部310から入力された画像データがプリンタ400に送信されると共に、プリンタ400において、当画像データがプリント出力される。
In step S107, the
次に、色域写像部308における色域写像処理処理の詳細を、図7を用い、図8に基づいて説明する。図7は色域写像部308の処理説明図、図8は色域写像部308の処理を示すフローチャートである。
Next, details of the color gamut mapping processing in the color
先ず、S111では、色域写像部308において、モニタ色域情報格納部302から入力されたモニタ色域601が、色変換色域決定部306から入力された色変換色域情報(スケーリング係数)でスケーリングされ、仮モニタ色域701が算出される。図7は色変換色域情報が0.8の場合である。ここでは、仮モニタ色域701は、モニタ色域の最大彩度点601aが0.8倍された点を最大彩度点701aとし、且つ、モニタ色域601と相似形の色域となる。
First, in S 111, the
次に、S112では、プリンタ色域情報格納部307から入力されたプリンタ色域情報を使って写像集中点704が算出される。写像集中点704は、入力色705が写像される方向を示し、プリンタ色域702の最大彩度点702aと同じ明度で、且つ彩度が0の点である。
In step S112, a
次に、S113では、入力色705は、入力色705と写像集中点704を結ぶ直線上を写像集中点704に向かって移動し、プリンタ色域702内の写像色706に写像される。色域写像は、仮モニタ色域701をプリンタ色域702に比例配分することによって行われるため、仮モニタ色域701の大きさが変わると色域写像の結果も変わる。
In step S <b> 113, the
次に、S114では、写像色706がプリンタ色域702内に存在するか否かが判定され、写像色706がプリンタ色域702内に存在する場合は、色域写像処理が終了し、次の入力画素に対する色域写像処理が開始され、入力画像の全画素について上記した色域写像処理が繰り返し行われる。
Next, in S114, it is determined whether or not the
また、写像色706がプリンタ色域702外に存在する場合は、S115において、プリンタ色域702外の写像色706をプリンタ色域702の外郭の色に置き換えるクリッピング処理が実行される。クリッピング処理終了後は、次の入力画素に対する色域写像処理が開始され、入力画像の全画素について上記した色域写像処理が繰り返し行われる。
尚、既述した類似度が1.0より大いき場合は、写像色706がプリンタ色域702内に入らないことがある。
If the
If the similarity described above is greater than 1.0, the
以上、実施例1によれば、入力画像データの再現色域が類似した画像に対しては、同じ色変換色域を設定することにより、同じ入力色に対し同じ色再現を行うことができ、同じ入力色に対して異なる色で再現される不都合を解消できる。 As described above, according to the first embodiment, the same color reproduction can be performed for the same input color by setting the same color conversion color gamut for images having similar reproduction color gamuts of the input image data. The inconvenience of being reproduced with different colors for the same input color can be solved.
図9は実施例2による画像処理装置の概略構成を示すブロック図である。
本実施例の画像処理装置500は、実施例1と同様、CPU32、入出力I/F31、プログラムROM33、RAM34、HDD35等で構成され、入出力I/F31には、入力装置としてモニタ100とキーボード200が接続され、出力装置としてプリンタ400が接続されている。
FIG. 9 is a block diagram illustrating a schematic configuration of the image processing apparatus according to the second embodiment.
As in the first embodiment, the
図10は実施例2による画像処理装置500の機能ブロック図である。
本実施例の画像処理装置500は、入力画像情報格納部301、モニタ色域情報格納部302、画像色域解析部303、処理履歴情報格納部304、プリンタ色域情報格納部307、色域写像部501、色域写像画像情報格納部502(データ記憶部)、差分画像生成部503、色変換テーブル格納部309、色変換部310、画像出力部311等を備え、これらは、既述のように、CPU32がRAM34上に展開された画像処理プログラムを実行することにより実現される機能部である。
尚、上記構成の内、入力画像情報格納部301、モニタ色域情報格納部302、画像色域解析部303、処理履歴情報格納部304、プリンタ色域情報格納部307、色変換テーブル格納部309、色変換部310、画像出力部311の各機能部については、実施例1と同様であるため、同じ符号を付して説明を省略する。
FIG. 10 is a functional block diagram of an
The
Of the above configuration, the input image
上記色域写像部501は、入力画像情報格納部301から入力された入力画像色域情報と、モニタ色域情報格納部302から入力されたモニタ色域情報から仮モニタ色域情報を算出すると共に、この仮モニタ色域情報とプリンタ色域情報格納部307から入力されたプリンタ色域情報を使用して、入力画像情報格納部301から入力された入力画像データの色をプリンタ400の色域内において再現(写像)させた色域写像画像データ(第2色域写像画像データ)を生成する機能部である。
また、処理履歴情報格納部304から入力された前色変換色域情報と、モニタ色域情報格納部302から入力されたモニタ色域情報から仮モニタ色域情報を算出すると共に、この仮のモニタ色域情報とプリンタ色域情報格納部307から入力されたプリンタ色域情報を使用して、入力画像データの色をプリンタ400の色域内において再現させた色域写像画像データ(第1色域写像画像データ)を生成する機能部でもある。
The
The temporary monitor color gamut information is calculated from the previous color conversion color gamut information input from the processing history
上記色域写像画像情報格納部502は、色域写像部501において生成された第1色域写像画像データと第2色域写像画像データ、および色域写像の際に使用した前色変換色域情報を、それぞれ格納しておく機能部である。
The color gamut mapping image
上記差分画像生成部503は、色域写像画像情報格納部502から入力された第1色域写像画像データと第2色域写像画像データの差分画像を生成する機能部である。
この差分画像は、上記第1色域写像画像データと上記第2色域写像画像データの画素毎の色差を算出することにより生成されるもので、色差の無い画素は白となり、色差が大きくなる程画素が黒くなる、所謂、グレースケールで示される画像である。
The difference
This difference image is generated by calculating the color difference for each pixel of the first color gamut mapping image data and the second color gamut mapping image data. Pixels having no color difference are white and the color difference is large. This is an image shown in so-called gray scale, in which the pixels become black.
次に、上記各機能部で構成される画像処理装置500の処理を、図11のフローチャートに基づいて説明する。
Next, the processing of the
先ず、S201では、キーボード200の操作により、ユーザーから画像処理装置500に画像の印字命令が入力されると、印字命令で指定された画像が入力画像情報格納部301から画像色域解析部303に入力される。
First, in step S <b> 201, when a user inputs an image print command to the
次に、S202では、画像色域解析部303において、入力画像情報格納部301から入力された入力画像データに用いられている色の分布が解析され、入力画像色域情報が算出される。算出された入力画像色域情報は入力画像情報格納部301へ格納される。
In step S <b> 202, the image color
次に、S203では、色域写像部501において、モニタ色域情報格納部302から入力されたモニタ色域情報を入力画像情報格納部301から入力された入力画像色域情報でスケーリングすることにより、モニタの仮色域が設定され、このモニタ仮色域とプリンタ色域情報格納部307から入力されたプリンタ色域情報に基づいて、入力画像情報格納部301から入力された入力画像の色が色域写像されることにより、第2色域写像画像データが生成される。
In step S203, the color
次に、S204では、色域写像部501において、モニタ色域情報格納部302から入力されたモニタ色域情報を処理履歴情報格納部304から入力された前色変換色域情報でスケーリングすることにより、モニタの仮色域が設定され、このモニタ仮色域とプリンタ色域情報格納部307から入力されたプリンタ色域情報に基づいて、入力画像の色が色域写像されることにより、第1色域写像画像データが生成される。
In step S204, the color
次に、S205では、差分画像生成部503において、S203で生成された第2色域写像画像データと、S204で生成された第1色域写像画像データの差分画像が生成される。
Next, in S205, the difference
次に、S206では、S203で生成された第2色域写像画像データによる第2色域写像画像と、S204で生成された第1色域写像画像データによる第1色域写像画像と、S205で生成された差分画像が、それぞれモニタ100に表示される。
Next, in S206, the second color gamut mapping image based on the second color gamut mapping image data generated in S203, the first color gamut mapping image based on the first color gamut mapping image data generated in S204, and in S205. The generated difference images are displayed on the
次に、S207では、ユーザーは、モニタ100に表示された差分画像を参照し、第1色域写像画像と第2色域写像画像の階調性から、出力すべき好ましい方の色域写像画像を判断すると共に、画像処理装置500に対し、選択した画像をキーボード200操作により指定する。ユーザーが指定した色域写像画像データは、色域写像画像情報格納部502から色変換部310に入力される。同時に、選択された色域写像画像データの生成時に用いられた色変換色域情報は、処理履歴情報格納部304に格納される。
Next, in S207, the user refers to the difference image displayed on the
次に、S208では、色変換部310において、色変換テーブル格納部309の色変換テーブルが参照されて、色域写像画像情報格納部502から入力されたユーザー指定の色域写像画像データがプリンタ400にて出力可能なCMYK画像データに変換される。
In step S <b> 208, the
次に、S209では、画像出力部311において、色変換部310から入力された画像データがプリンタ400に送信されると共に、プリンタ400において、当画像データがプリント出力される。
In step S209, the
以上、実施例2によれば、前回の入力画像に対する色域写像処理と同じ色再現が行なわれた第1色域写像画像と、前回と色再現は異なるが入力画像に対し階調性が最適となる変換が行われた第2色域写像画像と、これら色域写像画像の差分画像を表示することにより、当差分画像と各色域写像画像の階調性を確認しながら、ユーザーが所望する好ましい色域写像画像を選択して、プリント出力することができる。 As described above, according to the second embodiment, the first color gamut mapped image in which the same color reproduction as the previous color gamut mapping process is performed on the input image is different from the previous color reproduction, but the gradation property is optimum for the input image. By displaying the second color gamut mapping image that has undergone conversion and the difference image of these color gamut mapping images, the user can check the gradation of the difference image and each color gamut mapping image, as desired by the user. A preferred color gamut mapping image can be selected and printed out.
本実施形態では、入力装置としてモニタを使用し、出力装置としてプリンタを使用したが、本発明は、コピー機のように入出力デバイスを備えた装置にも適用可能である。 In this embodiment, a monitor is used as an input device and a printer is used as an output device. However, the present invention can also be applied to an apparatus having an input / output device such as a copier.
100 モニタ(入力装置)
300、500 画像処理装置
304 処理履歴情報格納部(第1情報記憶部)
303 画像色域解析部
301 入力画像情報格納部(第2情報記憶部)
305 類似度算出部
306 色変換色域決定部
308、501 色域写像部
400 プリンタ(出力装置)
502 色域写像画像情報格納部(データ記憶部)
503 差分画像生成部
100 Monitor (input device)
300, 500
303 Image color
305
502 Color gamut mapping image information storage unit (data storage unit)
503 Difference image generation unit
Claims (4)
前回入力された第1画像データに関する第1画像色域情報を記憶する第1情報記憶部と、
今回入力された第2画像データに関する第2画像色域情報を算出する画像色域解析部と、
前記第2画像データと前記第2画像色域情報を記憶する第2情報記憶部と、
前記第1画像色域情報と前記第2画像色域情報の類似度を求める類似度算出部と、
類似度が所定の類似範囲内であれば、前記第1画像色域情報を色域写像に使用する入力装置の色域として設定し、類似度が所定の類似範囲外であれば、前記第2画像色域情報を色域写像に使用する入力装置の色域として設定する色変換色域決定部と、
前記色変換色域決定部で設定した前記色域写像に使用する入力色域と前記出力装置の色域に基づいて、前記第2画像データの色を前記出力装置の色域内に写像した色域写像画像データを生成する色域写像部と
を有することを特徴とする画像処理装置。 In an image processing apparatus for converting image data in an input color gamut in an input device into image data in an output color gamut in an output device,
A first information storage unit for storing first image color gamut information relating to first image data input last time;
An image color gamut analyzing unit for calculating second image color gamut information relating to the second image data input this time;
A second information storage unit for storing the second image data and the second image color gamut information;
A similarity calculation unit for obtaining a similarity between the first image gamut information and the second image gamut information;
If the similarity is within a predetermined similarity range, the first image gamut information is set as the color gamut of the input device used for gamut mapping. If the similarity is outside the predetermined similarity range, the second color gamut information is set. A color conversion color gamut determining unit that sets the image color gamut information as the color gamut of the input device used for the color gamut mapping;
A color gamut obtained by mapping the color of the second image data into the color gamut of the output device based on the input color gamut used for the color gamut mapping set by the color conversion color gamut determining unit and the color gamut of the output device. An image processing apparatus comprising: a color gamut mapping unit that generates mapped image data.
前回入力された第1画像データに関する第1画像色域情報を記憶する第1情報記憶部と、
今回入力された第2画像データに関する第2画像色域情報を算出する画像色域解析部と、
前記第2画像データと前記第2画像色域情報を記憶する第2情報記憶部と、
前記第1画像色域情報と前記出力装置の色域に基づいて、前記第2画像データの色を前記出力装置の色域内に写像した第1色域写像画像データを生成すると共に、前記第2画像色域情報と前記出力装置の色域に基づいて、前記第2画像データの色を前記出力装置の色域内に写像した第2色域写像画像データを生成する色域写像部と、
前記第1色域写像画像データと前記第2色域写像画像データを記憶するデータ記憶部と、
前記第1色域写像画像データと前記第2色域写像画像データの差分画像を生成する差分画像生成部と
を有し、
前記差分画像を、前記第1色域写像画像データと前記第2色域写像画像データの何れかを前記出力装置の出力画像データとして選択するための判断基準とすることを特徴とする画像処理装置。 In an image processing apparatus for converting image data in an input color gamut in an input device into image data in an output color gamut in an output device,
A first information storage unit for storing first image color gamut information relating to first image data input last time;
An image color gamut analyzing unit for calculating second image color gamut information relating to the second image data input this time;
A second information storage unit for storing the second image data and the second image color gamut information;
Based on the first image color gamut information and the color gamut of the output device, first color gamut mapped image data in which the color of the second image data is mapped into the color gamut of the output device is generated, and the second A color gamut mapping unit that generates second color gamut mapping image data in which the color of the second image data is mapped into the color gamut of the output device based on the image color gamut information and the color gamut of the output device;
A data storage unit for storing the first color gamut mapping image data and the second color gamut mapping image data;
A difference image generation unit that generates a difference image between the first color gamut mapping image data and the second color gamut mapping image data;
The difference image is used as a criterion for selecting either the first color gamut mapping image data or the second color gamut mapping image data as output image data of the output device. .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008326439A JP4970419B2 (en) | 2008-12-22 | 2008-12-22 | Image processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008326439A JP4970419B2 (en) | 2008-12-22 | 2008-12-22 | Image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010148064A JP2010148064A (en) | 2010-07-01 |
JP4970419B2 true JP4970419B2 (en) | 2012-07-04 |
Family
ID=42567965
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008326439A Active JP4970419B2 (en) | 2008-12-22 | 2008-12-22 | Image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4970419B2 (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002271643A (en) * | 2001-03-08 | 2002-09-20 | Fuji Photo Film Co Ltd | Color gamut conversion method, color gamut converter and program |
JP2004112675A (en) * | 2002-09-20 | 2004-04-08 | Konica Minolta Holdings Inc | Image data providing method, recording apparatus and program |
JP2004200902A (en) * | 2002-12-17 | 2004-07-15 | Nikon Corp | Image processor, electronic camera, and image processing program |
JP2007036331A (en) * | 2005-07-22 | 2007-02-08 | Fuji Xerox Co Ltd | Image processing system, image processing method and program |
JP2007166403A (en) * | 2005-12-15 | 2007-06-28 | Canon Inc | Image processing apparatus, method thereof and recording medium thereof |
-
2008
- 2008-12-22 JP JP2008326439A patent/JP4970419B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2010148064A (en) | 2010-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5067276B2 (en) | Color conversion method, color conversion table generated by the color conversion method, image processing apparatus, and color conversion program | |
US7764411B2 (en) | Color processing apparatus and method, and storage medium storing color processing program | |
JP4899919B2 (en) | Image processing apparatus and image processing method | |
JP2012249133A (en) | Image processing device, and method of generating color conversion table | |
US8427696B2 (en) | Color processing method and apparatus thereof | |
JP4710721B2 (en) | Color conversion apparatus and color conversion program | |
JP2014165656A (en) | Color profile generation device, image processing apparatus, image processing system, color profile generation method and program | |
JP4803122B2 (en) | Color processing apparatus and program | |
US8223396B2 (en) | Color conversion device for applying clipping to color values outside a color reproduction range and which satisfy a predetermined condition | |
KR20050109663A (en) | Method and apparatus for creating profile | |
JP4910557B2 (en) | Color conversion apparatus, color conversion method, color conversion program, color conversion coefficient creation apparatus, color conversion coefficient creation method, and color conversion coefficient creation program | |
JP6682867B2 (en) | Image processing device | |
JP4621998B2 (en) | Image processing apparatus and program | |
JP4970419B2 (en) | Image processing device | |
JP2010050832A (en) | Device and method for processing image, program, and recording medium | |
JP5206428B2 (en) | Color processing apparatus and program | |
JP2007243957A (en) | System, method and program for extracting gray information from color image data | |
JP2009218780A (en) | Image processing method, printer, color conversion device, and color conversion program | |
JP2009038593A (en) | Color processing apparatus and method | |
JP4849099B2 (en) | Color processing apparatus and color processing program | |
JP2009219062A (en) | Image processing method, printer, image processor and image processing program | |
JP4983658B2 (en) | Image processing method, image processing apparatus, and image processing program | |
JP2009159284A (en) | Color data conversion apparatus, color data conversion method and color data conversion program | |
JP2011024031A (en) | Color processing apparatus and program | |
JP2007329841A (en) | Image processing system, image processing apparatus, an image processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110624 |
|
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: 20120313 |
|
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: 20120404 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150413 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4970419 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |