JP2008148163A - Color processing apparatus and method thereof - Google Patents
Color processing apparatus and method thereof Download PDFInfo
- Publication number
- JP2008148163A JP2008148163A JP2006335075A JP2006335075A JP2008148163A JP 2008148163 A JP2008148163 A JP 2008148163A JP 2006335075 A JP2006335075 A JP 2006335075A JP 2006335075 A JP2006335075 A JP 2006335075A JP 2008148163 A JP2008148163 A JP 2008148163A
- Authority
- JP
- Japan
- Prior art keywords
- color
- image
- image data
- color processing
- feature amount
- 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
Links
Images
Abstract
Description
本発明は、第一の色域で表される画像データを、第一の色域とは異なる第二の色域の画像データに変換する色処理に関する。 The present invention relates to color processing for converting image data represented by a first color gamut into image data of a second color gamut different from the first color gamut.
一つのカラー画像を複数の画像入出力装置において良好に再現するための色管理技術としてカラーマネジメントシステム(Color Management System: CMS)が知られている。CMSは、デバイスに依存する色空間の色からデバイスに依存しない色空間の色への色変換を規定するソースプロファイル(所定の変換式または変換テーブル)を用いる。さらに、デバイスに依存しない色空間の色からデバイスに依存する色空間の色への色変換を規定するデスティネーションプロファイルを用いる。これら二つの色変換によりカラーマネージメントを実現する。なお、デバイスに依存しない色空間には、例えばCIELabやCIEJCh空間などを利用する。 A color management system (Color Management System: CMS) is known as a color management technique for satisfactorily reproducing one color image in a plurality of image input / output devices. The CMS uses a source profile (predetermined conversion formula or conversion table) that defines color conversion from a color in a device-dependent color space to a color in a device-independent color space. Further, a destination profile that defines color conversion from a color in a device-independent color space to a color in a device-dependent color space is used. Color management is realized by these two color conversions. For example, CIELab or CIEJCh space is used as a device-independent color space.
しかし、出力系の色域(以下、出力色域と呼ぶ)が入力系の色域(以下、入力色域と呼ぶ)より狭い場合、入力系の色情報を正確に再現することが不可能な場合が存在する。例えば、色域が広いモニタ上の画像を、色域が狭いプリンタで出力する場合、プリンタの色域外の色をそのまま再現することはできない。このような場合、元の画像情報(階調性や色合いなど)をなるべく保ちつつ、色域外の色を色域内の色で良好に再現する色処理が必要になる。これを実現する技術として色域マッピングがある。 However, when the output color gamut (hereinafter referred to as the output color gamut) is narrower than the input color gamut (hereinafter referred to as the input color gamut), it is impossible to accurately reproduce the input color information. There are cases. For example, when an image on a monitor with a wide color gamut is output by a printer with a narrow color gamut, colors outside the color gamut of the printer cannot be reproduced as they are. In such a case, it is necessary to perform color processing that satisfactorily reproduces the color outside the color gamut with the color within the color gamut while maintaining the original image information (gradation, hue, etc.) as much as possible. There is color gamut mapping as a technique for realizing this.
色域マッピングは様々な方法が提案されている。図1A〜1Dは色相を固定して、明度と彩度の二次元平面上で色域マッピングを行う代表的な処理を示す図である。図1Aは明度を固定して、彩度を圧縮する色域マッピング方法を示す。図1Bは彩度を一定にして、明度を圧縮する色域マッピング方法を示す。図1Cは明度と彩度のマッピング前後の変化量を最小にするマッピング方法を示す。図1Dは明度軸上の所定の定点(焦点)Pに向けて明度と彩度を圧縮するマッピング方法である。 Various methods have been proposed for color gamut mapping. 1A to 1D are diagrams illustrating a typical process for performing color gamut mapping on a two-dimensional plane of lightness and saturation while fixing a hue. FIG. 1A shows a color gamut mapping method in which the lightness is fixed and the saturation is compressed. FIG. 1B shows a color gamut mapping method that compresses lightness with constant saturation. FIG. 1C shows a mapping method that minimizes the amount of change before and after mapping lightness and saturation. FIG. 1D shows a mapping method for compressing lightness and saturation toward a predetermined fixed point (focal point) P on the lightness axis.
図1A〜1Dに示すマッピング方法以外にも、色相を所定の範囲で変化させて明度と彩度の圧縮率(マッピング前後の変化量)を軽減する方法が知られている。また、階調性を保つために色域内の所定の非圧縮領域までは色信号値を維持し、非圧縮領域を超える色信号値は、所定の圧縮関数を用いて、非圧縮領域の境界面と出力色域の境界面の間に滑らかにマッピングする方法が知られている。 In addition to the mapping methods shown in FIGS. 1A to 1D, there is known a method of reducing the compression ratio (change amount before and after mapping) of lightness and saturation by changing the hue within a predetermined range. In order to maintain gradation, the color signal value is maintained up to a predetermined non-compressed area in the color gamut, and the color signal value exceeding the non-compressed area is determined by using a predetermined compression function. There is known a method of smoothly mapping between the boundary surface of the output color gamut and the output color gamut.
しかし、これらマッピング方法にはそれぞれ一長一短がある。例えば、色域外の色を多く含む画像について、色相一定で色域マッピングする際、彩度を保存するため、明度の圧縮を大きくするとコントラストが低下して画像の立体感が失われる。逆に、明度を保存するため、彩度の圧縮を大きくすると鮮やかさが低下し、インパクトのない画像になる。 However, each of these mapping methods has advantages and disadvantages. For example, when color gamut mapping is performed with a constant hue for an image including many colors outside the color gamut, the saturation is preserved, so that increasing the compression of lightness lowers the contrast and loses the stereoscopic effect of the image. On the contrary, in order to preserve the lightness, if the compression of the saturation is increased, the vividness is lowered and the image has no impact.
また、非圧縮領域までは色信号値を維持するマッピング方法は、入力画像の色信号値の分布に依らず、相対的または絶対的に非圧縮領域を設定すると、色信号値が出力色域内で忠実に再現できるにも関わらず、マッピングされる場合がある。 In addition, the mapping method for maintaining the color signal values up to the non-compressed region is independent of the distribution of the color signal values of the input image. Although it can be reproduced faithfully, it may be mapped.
このように、すべての画像について一つのマッピング方法で良好な色再現を得ることは非常に難しい。 Thus, it is very difficult to obtain a good color reproduction with one mapping method for all images.
また、画像適応型のマッピング方法としてマッピングすべき画像の特徴量を算出し、その特徴量に基づき最適な色域マッピングを行う方法が知られている。しかし、画像の撮影シーンに応じて色域マッピングのパラメータを最適化するため、複数の類似する画像が同じ被写体の色データを有していたとしても、それら画像間では異なる被写体の色データとして扱われて、統一的な色再現が得られない問題がある。 As an image adaptive mapping method, there is known a method of calculating a feature amount of an image to be mapped and performing optimum color gamut mapping based on the feature amount. However, in order to optimize the color gamut mapping parameters according to the shooting scene of the images, even if multiple similar images have the same subject color data, they are treated as different subject color data among the images. Therefore, there is a problem that uniform color reproduction cannot be obtained.
本発明は、複数の類似する画像間で、統一的な色再現を得ることを目的とする。 An object of the present invention is to obtain a uniform color reproduction between a plurality of similar images.
本発明は、前記の目的を達成する一手段として、以下の構成を備える。 The present invention has the following configuration as one means for achieving the above object.
第一の色域で表される画像データを、前記第一の色域とは異なる第二の色域の画像データに変換する色処理を行う際に、複数の画像データをカテゴリ別にメモリに登録し、前記メモリに登録された前記カテゴリ別の画像データの画像特徴量を計算し、前記画像特徴量に基づき前記カテゴリ別に、画像データに施す色処理を設定することを特徴とする。 When performing color processing to convert image data represented by the first color gamut into image data of the second color gamut different from the first color gamut, a plurality of image data is registered in the memory by category. Then, an image feature amount of the image data for each category registered in the memory is calculated, and color processing to be performed on the image data is set for each category based on the image feature amount.
本発明によれば、複数の類似する画像間で、統一的な色再現を得ることができる。 According to the present invention, uniform color reproduction can be obtained between a plurality of similar images.
以下、本発明にかかる実施例の画像処理を図面を参照して詳細に説明する。 Hereinafter, image processing according to an embodiment of the present invention will be described in detail with reference to the drawings.
[装置の構成]
図2は実施例1の画像処理装置101の構成例を示すブロック図である。
[Device configuration]
FIG. 2 is a block diagram illustrating a configuration example of the
図2において、画像表示装置102は、画像を表示するためのモニタなどである。画像出力装置103は、画像を出力するためのプリンタなどである。画像入力装置104は、画像を入力するためのディジタルカメラなどである。これら装置はそれぞれ、所定のインタフェイス(例えばUSBやIEEE1394)を介して画像処理装置101に接続されている。
In FIG. 2, an
画像処理装置101において、画像表示部105は、画像表示装置102に表示するためのビデオ信号を生成する。画像入力部106は、画像入力装置104が取得したディジタル画像を画像データベース112に格納する。画像出力部111は、画像出力装置103で画像を出力するための画像信号を生成する。
In the
画像特徴量算出部107は、画像データベース112に登録された画像の特徴量を算出する。マッピング方法選択部108は、画像データベース112に登録された各画像に適した色域のマッピング方法を選択する。色処理部109は、画像出力装置103で画像を出力するための色処理を行う。
The image feature
入力プロファイル記憶部113は、画像表示装置102や画像入力装置104などのソースプロファイルを記憶する。出力プロファイル記憶部114、画像出力装置103などのデスティネーションプロファイルを記憶する。なお、画像データベース112、入力プロファイル記憶部113、出力プロファイル記憶部114は、例えばハードディスクドライブなどの不揮発性メモリに割り当てられる。データバッファ115は、データ処理を行うために一時的にデータを記憶するRAMなどである。
The input
ユーザインタフェイス(UI)部116は、ユーザが画像処理装置101を操作するためのユーザインタフェイスを画像表示装置102に表示するための画像データを生成する。操作入力部110は、例えば特定色に対して目標にする色データなど、ユーザの指示などを入力するための、例えばキーボード、ポインティングデバイス、タッチパネルなどである。
A user interface (UI) unit 116 generates image data for displaying a user interface for the user to operate the
[画像処理]
図3は画像処理装置101が実行する画像処理を説明するフローチャートである。
[Image processing]
FIG. 3 is a flowchart for describing image processing executed by the
画像処理装置101は、まずデータバッファ115を初期化するなどの初期化処理を行う(S201)。
The
次に、画像処理装置101は、画像入力装置104が取得した画像データを画像入力部106を介して入力し、ユーザが指定するカテゴリ別に画像データを分類して画像データベース112に登録する(S202)。
Next, the
次に、画像処理装置101は、画像データベース112に登録された、ユーザが指定するカテゴリの画像データをデータバッファ115に読み込み、画像データの画像特徴量(色分布特性)を画像特徴量算出部107に計算させる(S203)。なお、画像特徴量算出部107による画像特徴量の計算方法は後述する。
Next, the
次に、画像処理装置101は、ユーザの指示に従い、入力プロファイル記憶部113と出力プロファイル記憶部114から画像入力装置104と画像出力装置103の色再現情報を取得する(S204)。ここで取得する色再現情報は、ソースプロファイルに含まれるデバイスに依存する色空間(例えばRGB空間など)からデバイスに独立な色空間(例えばXYZ、Lab色空間など)への変換特性が記述されたデータテーブルである。さらに、デスティネーションプロファイルに含まれるデバイスに独立しない色空間からデバイスに依存する色空間(例えばCMYK空間)への変換特性が記述されたデータテーブルである。
Next, the
実施例1のデータテーブルは、例えば図5に示すフォーマットのように、格子点のRGB値と、それに対応するLab値の対応関係を記述する。なお、図5には、均等に配置した9×9×9の格子点のRGB値とLab値の組み合わせを記述する例を示している。勿論、格子点の配置と数は均等と9×9×9に限定されるわけではなく、不均等、5×5×5、7×7×7などでもよい。 The data table of the first embodiment describes the correspondence between the RGB values of the grid points and the corresponding Lab values as in the format shown in FIG. 5, for example. FIG. 5 shows an example in which the combination of RGB values and Lab values of 9 × 9 × 9 grid points arranged uniformly is described. Of course, the arrangement and number of grid points are not limited to 9 × 9 × 9, but may be non-uniform, 5 × 5 × 5, 7 × 7 × 7, or the like.
次に、画像処理装置101は、後述するユーザの指示に従い、目標色データを読み込む(S205)。図6は目標色データの一例を示す図である。目標色データには、ユーザが再現したい色(重要色)を示すRGB値とLab値の対応関係が記述されている。
Next, the
次に、画像処理装置101は、マッピング方法選択部108により、後述するユーザの指示を入力して、画像データの名称(例えばデータファイル名)、カテゴリ、マッピング方法の関係を記述したマッピング方法テーブルを更新する(S206)。詳細は後述するが、ユーザは、カテゴリ別の画像データの色分布特性を参考にして最適なマッピング方法を選択する。
Next, the
図7はマッピング方法テーブルの一例を示す図である。マッピング方法テーブルは、画像データベース112の所定領域に格納されている。
FIG. 7 shows an example of the mapping method table. The mapping method table is stored in a predetermined area of the
次に、画像処理装置101は、ユーザが指示する画像データを、色処理部109により、ステップS204で取得した画像入力装置104の色再現情報を用いてRGB値からLab値に変換する(S207)。そして、色処理部109により、ステップS204で取得した色再現情報が示す画像入力装置104の色域と画像出力装置103の色域の関係と、ステップS206で選択したマッピング方法を用いて、画像データのLab値を色域マッピングする(S208)。そして、色処理部109により、ステップS204で取得した画像出力装置103の色再現情報を用いて、色域マッピング後の画像データをLab値を画像出力装置103のCMYK値へ変換する(S209)。
Next, the
ステップS207、S208においては、ステップS205で読み込まれた目標色データに基づき、ユーザが重要とする特定色の目標色データを設定して、目標色データを出力するよう色処理を行う。また、ステップS207、S208において、テーブルデータがない格子点以外の信号値の計算には、四面体補間などの補間演算を用いる。 In steps S207 and S208, based on the target color data read in step S205, target color data of a specific color important for the user is set, and color processing is performed to output the target color data. In steps S207 and S208, interpolation calculation such as tetrahedron interpolation is used for calculation of signal values other than the grid points having no table data.
次に、画像処理装置101は、画像出力部111により、ステップS208で変換した画像データから画像出力装置103が処理可能な印刷データを生成して画像出力装置103に出力する(S209)。
Next, the
なお、図3には、画像データの登録処理(S202)から画像データの出力処理(S210)までを一連の処理のように記述した。しかし、実際は、画像データの登録処理(S202)、特徴量の計算処理(S203)からマッピング方法テーブルの更新処理(S206)、画像データの色処理(S207)から画像データの出力処理(S210)に分けることができる。これらの処理は、後述するユーザインタフェイスの操作によって独立に実行される処理である。 In FIG. 3, the process from the image data registration process (S202) to the image data output process (S210) is described as a series of processes. However, in practice, the image data registration process (S202), the feature value calculation process (S203), the mapping method table update process (S206), and the image data color process (S207) to the image data output process (S210). Can be divided. These processes are executed independently by operation of a user interface described later.
[ユーザインタフェイス]
図4は画像処理装置101が画像表示装置102に表示する、画像処理を操作するためのUIの一例を示す図である。
[User interface]
FIG. 4 is a diagram illustrating an example of a UI for operating image processing, which is displayed on the
領域301には、ユーザが画像データの画像特徴量を算出するカテゴリを選択するためのラジオボタン302を配置する。なお、ユーザは、画像データを画像データベース102に登録する際、画像データに任意のカテゴリ名称を設定することが可能である。つまり、画像データベース102に登録された画像データに設定されたカテゴリの名称が領域301にリストされる。
In the
領域303には、ユーザが指定したカテゴリの画像データの画像特徴量(色分布特性)を示すヒストグラムを表示する。ユーザは、ボタン310を選択することで、明度分布、彩度分布、色相分布のそれぞれ、あるいは、二つまたは三つを重ねたヒストグラムを表示させることができる。また、ユーザは、ボタン311によって、R、G、B、C、M、Yなどの色領域を選択して、各領域の明度および彩度のヒストグラムを表示させることできる。
In the
画像特徴量算出ボタン304は、ユーザが指定したカテゴリの画像データの画像特徴量の算出を指示するボタンである。
The image feature
ドロップダウンメニュー305は、予め用意されたマッピング方法の中からユーザがマッピング方法を選択するメニューである。例えば、海の写真画像を印刷する場合、ユーザは、海のカテゴリで分類された画像データの明度分布、彩度分布、色相分布を参照する。そして、シアン領域に色分布が偏っている場合は、マッピング方法B(シアン領域保存)を選択して、シアン領域の色再現性を重視するマッピング方法を選択する。
A drop-
図7は、ユーザのマッピング方法の選択によって作成される、画像データの名称(例えばデータファイル名)、カテゴリ、マッピング方法の関係が記述されたテーブルを示す図である。このテーブルは、画像データベース112の所定領域に格納されている。
FIG. 7 is a diagram showing a table describing the relationship between image data names (for example, data file names), categories, and mapping methods, which is created by the user's mapping method selection. This table is stored in a predetermined area of the
印刷画像データ指定ボタン306は、ユーザが印刷を望む画像データ指定するためのボタンである。
A print image
色再現情報取得ボタン307は、ユーザが画像入力装置104と画像出力装置103の名称等を指定するためのボタンである。ステップS204では、このボタン307の操作により指定された名称等に対応する画像入力装置104と画像出力装置103の色再現情報を取得する。なお、画像入力装置104の名称等は、画像データに付加された情報から取得することも可能である。その場合、ユーザは、色再現情報取得ボタン307を操作して画像入力装置104の名称等を指定する必要はない。
The color reproduction
目標色データ取得ボタン308は、ユーザが重要色を記述した図6に示す形式のデータの取得を指示するボタンである。
The target color
画像出力ボタン309は、ユーザが画像データの印刷を指示するボタンである。このボタン309を押すと、印刷画像データの指定ボタン306を操作して指定した画像データは、図7に示すテーブルに記述されたマッピング方法による色域マッピングを含む色処理が施された後、画像出力装置103に出力される。
The
[画像特徴量の計算]
図8は画像特徴量算出部107の処理を説明するフローチャートである。
[Image feature calculation]
FIG. 8 is a flowchart for explaining the processing of the image feature
画像特徴量算出部107は、前処理として、ヒストグラム作成による演算コストを低減するために画像データの画素のサンプリングや、不特定の画像サイズを所定サイズに変換する処理を行う(S701)。
The image feature
次に、画像特徴量算出部107は、色再現情報取得ボタン307の操作によって指定された名称等または画像データに付加された情報に従い、画像入力装置104のソースプロファイルを入力プロファイル記憶部113から読み込む(S702)。
Next, the image feature
次に、画像特徴量算出部107は、データバッファ115に格納された画像データの一つを選択する(S703)。そして、選択した画像データの一画素を抽出し(S704)、ステップS702で読み込んだソースプロファイルを用いて画素のRGB値をLab値に変換し、さらに式(1)を用いて、明度L、彩度C、色相Hを計算する(S705)。
L = L*
C = √(a*2 + b*2) …(1)
H = tan-1(b*/a*)
Next, the image feature
L = L *
C = √ (a * 2 + b * 2 )… (1)
H = tan -1 (b * / a *)
次に、画像特徴量算出部107は、ステップS702で計算した明度L、彩度C、色相Hによって、データバッファ115の所定領域に格納したヒストグラムを更新する(S706)。なお、ヒストグラムには、明度LのヒストグラムHistL、彩度CのヒストグラムHistC、色相HのヒストグラムHistHがあり、初期状態のヒストグラムの要素はすべて0である。また、ヒストグラムは式(2)に従って更新する。
HistL[L] = HistL[L] + 1
HistC[C] = HistC[C] + 1 …(2)
HistH[H] = HistH[H] + 1
Next, the image feature
HistL [L] = HistL [L] + 1
HistC [C] = HistC [C] + 1… (2)
HistH [H] = HistH [H] + 1
次に、画像特徴量算出部107は、一つの画像データの全画素のヒストグラムの作成が終了したか否かを判定する(S707)。そして、一つの画像データの全画素のヒストグラムの作成が終了するまで、ステップS704からS706の処理を繰り返す。
Next, the image feature
一つの画像データの全画素のヒストグラムの作成が終了すると、データバッファ115に格納した全画像データ(指定されたカテゴリの全画像データ)のヒストグラムの作成が終了したか否かを判定する(S708)。そして、指定されたカテゴリの全画像データのヒストグラムの作成が終了するまで、ステップS703からS707の処理を繰り返す。 When the creation of the histogram of all the pixels of one image data is completed, it is determined whether or not the creation of the histogram of all the image data stored in the data buffer 115 (all the image data of the specified category) is finished (S708). . Then, the processes from step S703 to S707 are repeated until the creation of the histogram of all image data of the specified category is completed.
図9は画像特徴量算出部107が作成するヒストグラムの例を示す図である。
FIG. 9 is a diagram illustrating an example of a histogram created by the image feature
このように、複数の画像データをカテゴリ別にデータベース化し、複数の画像データの色分布特性を解析して、ユーザの目的に応じた色処理を施すことができる。従って、カテゴリが同じ画像間で統一的な色再現を得ることができる。 In this way, a plurality of image data can be made into a database for each category, color distribution characteristics of the plurality of image data can be analyzed, and color processing according to the user's purpose can be performed. Therefore, uniform color reproduction can be obtained between images having the same category.
以下、本発明にかかる実施例2の画像処理を説明する。なお、実施例2において、実施例1と略同様の構成については、同一符号を付して、その詳細説明を省略する。 The image processing according to the second embodiment of the present invention will be described below. Note that the same reference numerals in the second embodiment denote the same parts as in the first embodiment, and a detailed description thereof will be omitted.
実施例1では、ユーザは、領域303に表示される色分布特性を参照してマッピング方法の
In the first embodiment, the user refers to the color distribution characteristics displayed in the
選択メニュー305により、適切な色域のマッピング方法を選択する例を説明した。以下では、ユーザではなく、マッピング方法選択部108が適切な色域のマッピング方法を選択する処理を説明する。
The example of selecting an appropriate color gamut mapping method using the
以下では、色域のマッピング方法として、R、G、B、C、M、Yの領域ごとに色域を圧縮しない非圧縮領域を設ける。そして、非圧縮領域までは色信号値を維持し、非圧縮領域を超える色信号値は、所定の圧縮関数を用いて、非圧縮領域の境界面と出力色域の境界面の間に滑らかにマッピングする方法を説明する。 In the following, as a color gamut mapping method, an uncompressed area in which the color gamut is not compressed is provided for each of the R, G, B, C, M, and Y areas. The color signal value is maintained up to the non-compressed region, and the color signal value exceeding the non-compressed region is smoothed between the boundary surface of the non-compressed region and the output color gamut using a predetermined compression function. A method of mapping will be described.
図10は、マッピング方法選択部108が実行する、データバッファ115に格納された画像データ(指定されたカテゴリの画像データ)の画像特徴量が算出された後、画像特徴量に基づいて非圧縮領域を設定する方法を説明するフローチャートである。
FIG. 10 shows an uncompressed area based on the image feature amount after the image feature amount of the image data (image data of the specified category) stored in the
マッピング方法選択部108は、まず初期化処理を行う(S901)。
The mapping
次に、マッピング方法選択部108は、色再現情報取得ボタン307の操作によって指定された名称等に従い、出力プロファイル記憶部114から画像出力装置103の色再現情報を取得する(S902)。
Next, the mapping
次に、マッピング方法選択部108は、データバッファ115に格納された画像データ(指定されたカテゴリの画像データ)の色分布情報から、R、G、B、C、M、Yの色相領域の何れかについて、最大彩度値をもつ色信号値Cmaxを取得する(S903)。なお、色分布情報は、実施例1の処理によって計算済みとする。
Next, the mapping
次に、マッピング方法選択部108は、ヒストグラムの制御値Nを0に初期化し(S904)、Cmaxが画像出力装置103の出力色域内か否かを判定する(S905)。
Next, the mapping
Cmaxが出力色域外の場合、マッピング方法選択部108は、制御値Nをインクリメントする(S906)。そして、ステップS903でCmaxを取得した色相領域のヒストグラムの上位側N%における出現頻度が最も高い彩度値をもつ色信号値をCmaxに設定し(S907)、処理をステップS905に戻す。従って、Cmaxが出力色域内になるまでステップS905からS907が繰り返される。
When Cmax is out of the output color gamut, the mapping
Cmaxが出力色域内になると、マッピング方法選択部108は、現在のCmaxを、ステップS903でCmaxを取得した色相領域の非圧縮領域に設定する(S908)。非圧縮領域の設定には、画像出力装置103の出力色域に対して相対的に非圧縮領域を設定する方法を用いる。つまり、データバッファ115に格納された画像データ(指定されたカテゴリの画像データ)の色信号値と、画像出力装置103の出力色域の共通色域で、最大彩度を有する色信号値を探索する。そして、その色信号値の明度値を求め、その明度値上において彩度の非圧縮領域を設定する。
When Cmax falls within the output color gamut, mapping
次に、マッピング方法選択部108は、R、G、B、C、M、Yすべての色相領域について、ステップS903からS908の処理を行ったか否かを判定し(S909)、未了であればステップS903からS908の処理を繰り返す。
Next, the mapping
[変形例]
上記の実施例では、カテゴリ別の画像データの画像特徴量として明度、彩度、色相のヒストグラムを作成する例を説明したが、CIELab空間におけるab平面の色分布特性を用いてもよい。また、Lab信号値を擬似的に三次元表示し、三次元上の色分布特性を参照して、色域のマッピング方法を選択させるようにしてもよい。
[Modification]
In the above-described embodiment, an example has been described in which a histogram of brightness, saturation, and hue is created as the image feature amount of image data by category. However, the color distribution characteristics of the ab plane in the CIELab space may be used. Alternatively, the Lab signal value may be displayed in a pseudo three-dimensional manner, and the color gamut mapping method may be selected by referring to the three-dimensional color distribution characteristics.
上記の実施例において、ユーザ選択した色域のマッピング方法を用いて色補正用のルックアップテーブル(色補正LUT)を生成し、この色補正LUTを用いて色処理を行う。しかし、予めカテゴリ別に画像出力装置103および出力設定に応じた色補正LUTを不揮発性メモリに格納しておき、色処理を行う際に、不揮発性メモリに格納された色補正LUTを参照するようにしてもよい。
In the above embodiment, a color correction lookup table (color correction LUT) is generated using a user-selected color gamut mapping method, and color processing is performed using the color correction LUT. However, the color correction LUT corresponding to the
上記の実施例では、写像色空間をLab空間としたが、CIEJCH空間のような他の均等色空間、XYZ空間のような非均等色空間、あるいは、デバイスディペンデントなRGB色空間などに対しても本発明は適用可能である。 In the above embodiment, the mapping color space is Lab space, but for other uniform color space such as CIEJCH space, non-uniform color space such as XYZ space, or device-dependent RGB color space. However, the present invention is applicable.
.so canon _3 .so canon _3
Claims (8)
複数の画像データをカテゴリ別にメモリに登録する登録手段と、
前記メモリに登録された前記カテゴリ別の画像データの画像特徴量を計算する計算手段と、
前記画像特徴量に基づき前記カテゴリ別に、画像データに施す色処理を設定する設定手段とを有することを特徴とする色処理装置。 A color processing device that converts image data represented by a first color gamut into image data of a second color gamut different from the first color gamut,
Registration means for registering a plurality of image data in a memory by category;
Calculation means for calculating the image feature amount of the image data by category registered in the memory;
A color processing apparatus comprising: setting means for setting color processing to be performed on image data for each category based on the image feature amount.
前記選定された画像データのカテゴリに対応する色処理を、前記画像データに施す色処理手段とを有することを特徴とする請求項1に記載された色処理装置。 A selecting means for selecting image data to be subjected to the color processing from the image data registered in the memory;
2. The color processing apparatus according to claim 1, further comprising color processing means for performing color processing corresponding to the category of the selected image data on the image data.
複数の画像データをカテゴリ別にメモリに登録し、
前記メモリに登録された前記カテゴリ別の画像データの画像特徴量を計算し、
前記画像特徴量に基づき前記カテゴリ別に、画像データに施す色処理を設定することを特徴とする色処理方法。 A color processing method for converting image data represented by a first color gamut into image data of a second color gamut different from the first color gamut,
Register multiple image data in memory by category,
Calculating an image feature amount of the image data for each category registered in the memory;
A color processing method comprising: setting color processing to be performed on image data for each category based on the image feature amount.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006335075A JP2008148163A (en) | 2006-12-12 | 2006-12-12 | Color processing apparatus and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006335075A JP2008148163A (en) | 2006-12-12 | 2006-12-12 | Color processing apparatus and method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008148163A true JP2008148163A (en) | 2008-06-26 |
Family
ID=39607816
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006335075A Withdrawn JP2008148163A (en) | 2006-12-12 | 2006-12-12 | Color processing apparatus and method thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008148163A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010074435A (en) * | 2008-09-17 | 2010-04-02 | Ricoh Co Ltd | Image processing apparatus, image processing method, and image processing program |
JP2012182549A (en) * | 2011-02-28 | 2012-09-20 | Kyocera Document Solutions Inc | Image forming device and color gamut correction method |
JP2013198075A (en) * | 2012-03-22 | 2013-09-30 | Canon Inc | Recording method, recorder, image processing method, image processor and table generating method |
-
2006
- 2006-12-12 JP JP2006335075A patent/JP2008148163A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010074435A (en) * | 2008-09-17 | 2010-04-02 | Ricoh Co Ltd | Image processing apparatus, image processing method, and image processing program |
JP2012182549A (en) * | 2011-02-28 | 2012-09-20 | Kyocera Document Solutions Inc | Image forming device and color gamut correction method |
JP2013198075A (en) * | 2012-03-22 | 2013-09-30 | Canon Inc | Recording method, recorder, image processing method, image processor and table generating method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4375781B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
US6650771B1 (en) | Color management system incorporating parameter control channels | |
JP2002016818A (en) | Color correction method and device, and recording medium | |
JP4779843B2 (en) | Color conversion lookup table creation device, color conversion lookup table creation method, and color conversion lookup table creation program | |
JPH08315132A (en) | Method for selective color correction | |
JP2009055465A (en) | Image processing device and method | |
US7965427B2 (en) | Color processing apparatus and its method | |
US20020008762A1 (en) | Method, apparatus and recording medium for image processing | |
JP2009071548A (en) | Color processing device and method therefor | |
JP4656006B2 (en) | Color conversion apparatus and color conversion program | |
JP2002016874A (en) | Method and apparatus for processing image as well as recording medium for recording program therefor | |
JP4803122B2 (en) | Color processing apparatus and program | |
JP2007274584A (en) | Color processing method and device thereof | |
JP2007166543A (en) | Image processing device and method thereof | |
JP2005354372A (en) | Apparatus and method for image recording device, method and system for image processing | |
JP2008148163A (en) | Color processing apparatus and method thereof | |
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 | |
JP2006019827A (en) | Image processing method and image processing apparatus | |
JP4985162B2 (en) | Color gamut generation device, color gamut generation program, and color conversion device | |
JP2007151055A6 (en) | Image processing apparatus, image processing method, and image processing program | |
JP4401853B2 (en) | Image processing apparatus and method | |
JP2000004369A (en) | Method and processor for image processing, and recording medium thereof | |
JP2009038593A (en) | Color processing apparatus and method | |
JP4613940B2 (en) | Color signal conversion apparatus, image forming apparatus, and program | |
JP2004064111A (en) | Color processing apparatus and method therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20100302 |