JP2000113185A - Method and device for converting color - Google Patents

Method and device for converting color

Info

Publication number
JP2000113185A
JP2000113185A JP10286687A JP28668798A JP2000113185A JP 2000113185 A JP2000113185 A JP 2000113185A JP 10286687 A JP10286687 A JP 10286687A JP 28668798 A JP28668798 A JP 28668798A JP 2000113185 A JP2000113185 A JP 2000113185A
Authority
JP
Japan
Prior art keywords
color
matrix
image data
signal
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
JP10286687A
Other languages
Japanese (ja)
Inventor
Hideyasu Ishibashi
磴  秀康
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film Co Ltd
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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP10286687A priority Critical patent/JP2000113185A/en
Publication of JP2000113185A publication Critical patent/JP2000113185A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a digital color image processing by which colors of important colors to be stored such as gray and flesh color and the same hue colors are stored by setting a color conversion matrix that performs color conversion of the image data of an equivalent neutral density base so as to meet specific conditions. SOLUTION: A matrix setting part 14 decides the matrix coefficient of a color conversion matrix M so as to meet the following condition. The sum of respective row components of the matrix coefficient must be one to meet a gray storage condition, If image data has two or more terms, the sum of coefficients of n(n>1) next terms of an input density signal must be zero among respective row components of the matrix coefficient. For example, a flesh color is also defined to be stored as an important color to meet as an important color storage condition. For the color conversion matrix M, the difference of signal value in an input signal and an output signal must be stored to store the hue of the flesh color being the important color.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、カラー画像の色再
現を行う色変換の技術に係り、特に、制限つきマトリク
ス演算による色変換方法および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color conversion technique for reproducing colors of a color image, and more particularly to a color conversion method and apparatus using a limited matrix operation.

【0002】[0002]

【従来の技術】従来、カラー写真を含む一般のカラー画
像の、例えば彩度向上等のデジタル色画像処理の色処理
を行う場合、各種の画像の信号に対してマトリクス演算
を行うといった方法が一般に行われている。ところで、
色再現処理において、肌色(顔)、緑(草)および空色
(空)は重要色と呼ばれ、選択的な色再現処理が要求さ
れることが多い。そのうち明るさ再現に関しては、肌色
は明るく(薄く)、青空に関しては暗く(濃く)仕上げ
るのが良いと言われている。このとき、複写体または第
一の画像媒体上に形成された画像を第二の画像媒体に複
製する際に、適切な、または忠実な色再現と、上記の重
要色、特に肌色および空色の明るさを選択的に、視覚的
に好ましい明るさに再現することとを両立させるには、
複雑な色再現処理を行う必要があった。
2. Description of the Related Art Conventionally, when performing color processing of digital color image processing such as color saturation improvement of a general color image including a color photograph, a method of performing a matrix operation on signals of various images is generally used. Is being done. by the way,
In color reproduction processing, skin color (face), green (grass) and sky blue (sky) are called important colors, and selective color reproduction processing is often required. Among them, it is said that it is better to make the skin color bright (thin) for the reproduction of brightness and dark (dark) for the blue sky. At this time, when duplicating the copy or the image formed on the first image medium to the second image medium, appropriate or faithful color reproduction and the brightness of the above-mentioned important colors, especially flesh color and sky blue, In order to achieve a balance between selectively reproducibly and visually reproducing brightness,
It was necessary to perform complicated color reproduction processing.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、前記マ
トリクス演算を用いる方法では、マトリクスの係数によ
っては、画像の色変化を望まない部分にも色の変化が及
んでしまうという問題がある。すなわち、グレーおよび
肌色などの重要色が巧妙に調節された画像データに対し
て、マトリクス演算により彩度向上の色変換を行う場合
等、変換の前後でグレーおよび肌色については色の変化
がないことが求められるが、一般には、この限りでなく
色が変化する場合がある。
However, in the method using the matrix operation, there is a problem that a change in color extends to a portion where color change of an image is not desired depending on a coefficient of the matrix. That is, there is no change in gray and skin color before and after the conversion, such as when performing color conversion for improving saturation by matrix operation on image data in which important colors such as gray and skin color have been carefully adjusted. However, in general, the color may change in addition to the above.

【0004】本発明は、前記従来の問題に鑑みてなされ
たものであり、色変換の前後において、グレーと肌色な
どの保存したい重要色の色および同一色相色が保存され
るデジタル色画像処理を行うことのできる色変換方法お
よび装置を提供することを課題とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned conventional problems, and provides a digital color image processing for storing important colors such as gray and skin color and the same hue color before and after color conversion. It is an object to provide a color conversion method and apparatus that can be performed.

【0005】[0005]

【課題を解決するための手段】前記課題を解決するため
に本発明は、等価中性濃度ベースの画像データに対し色
変換を行う色変換マトリクスを、チャートから得られた
入力信号を等価中性濃度ベースの信号に変換したデータ
を用い、以下のグレー保存条件(a)、(b)および重
要色保存条件(c)、 (a)マトリクス係数の各行成分のうち、入力濃度信号
の一次項の係数の和が1 (b)マトリクス係数の各行成分のうち、入力濃度信号
のn(n>1)次項の係数の和が、各次数毎に0 (c)特定の重要色について、その色相を保存する を満たすように設定し、入力画像信号を等価中性濃度ベ
ースの画像データに変換して、前記色変換マトリクスに
より色変換し、該変換後の画像データを、再び前記入力
画像信号の空間へ変換することを特徴とする色変換方法
を提供する。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention provides a color conversion matrix for performing color conversion on equivalent neutral density based image data by converting an input signal obtained from a chart into an equivalent neutral signal. Using the data converted to the density-based signal, the following gray preservation conditions (a) and (b) and important color preservation conditions (c), (a) of each row component of the matrix coefficient, The sum of the coefficients is 1 (b) Among the row components of the matrix coefficients, the sum of the coefficients of the nth (n> 1) order term of the input density signal is 0 for each order. (C) The hue of a specific important color is The input image signal is converted into equivalent neutral density based image data, color-converted by the color conversion matrix, and the converted image data is again converted to the space of the input image signal. Converting to A color conversion method is provided.

【0006】同様に前記課題を解決するために、本発明
はまた、等価中性濃度ベースの画像データに対し色変換
を行う色変換マトリクスを、チャートから得られた入力
信号を等価中性濃度ベースの信号に変換したデータを用
い、以下のグレー保存条件(a)、(b)および重要色
保存条件(c)、 (a)マトリクス係数の各行成分のうち、入力濃度信号
の一次項の係数の和が1 (b)マトリクス係数の各行成分のうち、入力濃度信号
のn(n>1)次項の係数の和が、各次数毎に0 (c)特定の重要色について、その色自体を保存する を満たすように設定し、入力画像信号を等価中性濃度ベ
ースの画像データに変換して、前記色変換マトリクスに
より色変換し、該変換後の画像データを、再び前記入力
画像信号の空間へ変換することを特徴とする色変換方法
を提供する。
[0006] Similarly, in order to solve the above-mentioned problem, the present invention also provides a color conversion matrix for performing color conversion on equivalent neutral density based image data by converting an input signal obtained from a chart into an equivalent neutral density based image. Using the data converted to the following signal, the following gray preservation conditions (a) and (b) and important color preservation conditions (c), (a) of each row component of the matrix coefficient, The sum is 1 (b) Among the row components of the matrix coefficients, the sum of the coefficients of the nth (n> 1) order term of the input density signal is 0 for each order. (C) For a specific important color, the color itself is stored. The input image signal is converted to equivalent neutral density based image data, color-converted by the color conversion matrix, and the converted image data is returned to the space of the input image signal. Feature to convert Is provided.

【0007】また、前記課題を解決するために、本発明
は、等価中性濃度ベースの画像データに対し色変換を行
う色変換マトリクスを、チャートから得られた入力信号
を等価中性濃度ベースの信号に変換したデータを用い、
以下のグレー保存条件(a)、(b)および重要色保存
条件(c)、 (a)マトリクス係数の各行成分のうち、入力濃度信号
の一次項の係数の和が1 (b)マトリクス係数の各行成分のうち、入力濃度信号
のn(n>1)次項の係数の和が、各次数毎に0 (c)特定の重要色について、その色相を保存する を満たすように設定する手段と、入力画像信号を等価中
性濃度ベースの画像データに変換する等価中性濃度変換
手段と、前記色変換マトリクスにより、前記等価中性濃
度ベースの画像データを変換するマトリクス演算手段
と、該変換後の画像データを、再び前記入力画像信号の
空間へ変換する等価中性濃度逆変換手段と、を備えたこ
とを特徴とする色変換装置を提供する。
In order to solve the above-mentioned problem, the present invention provides a color conversion matrix for performing color conversion on equivalent neutral density based image data by converting an input signal obtained from a chart into an equivalent neutral density based image. Using the data converted to signals,
The following gray preservation conditions (a) and (b) and important color preservation conditions (c), (a) of each row component of the matrix coefficient, the sum of the coefficients of the primary term of the input density signal is 1 (b) the matrix coefficient Means for setting the sum of the coefficients of the nth (n> 1) order term of the input density signal in each row component to satisfy 0 (c) for a specific important color, and to store the hue of the specific important color; An equivalent neutral density conversion means for converting an input image signal into equivalent neutral density based image data; a matrix calculating means for converting the equivalent neutral density based image data by the color conversion matrix; and A color conversion device comprising: an equivalent neutral density inverse conversion means for converting image data into the space of the input image signal again.

【0008】同様に前記課題を解決するために、本発明
は、等価中性濃度ベースの画像データに対し色変換を行
う色変換マトリクスを、チャートから得られた入力信号
を等価中性濃度ベースの信号に変換したデータを用い、
以下のグレー保存条件(a)、(b)および重要色保存
条件(c)、 (a)マトリクス係数の各行成分のうち、入力濃度信号
の一次項の係数の和が1 (b)マトリクス係数の各行成分のうち、入力濃度信号
のn(n>1)次項の係数の和が、各次数毎に0 (c)特定の重要色について、その色自体を保存する を満たすように設定する手段と、入力画像信号を等価中
性濃度ベースの画像データに変換する等価中性濃度変換
手段と、前記色変換マトリクスにより、前記等価中性濃
度ベースの画像データを変換するマトリクス演算手段
と、該変換後の画像データを、再び前記入力画像信号の
空間へ変換する等価中性濃度逆変換手段と、を備えたこ
とを特徴とする色変換装置を提供する。
Similarly, in order to solve the above problems, the present invention provides a color conversion matrix for performing color conversion on equivalent neutral density based image data by converting an input signal obtained from a chart into an equivalent neutral density based image. Using the data converted to signals,
The following gray preservation conditions (a) and (b) and important color preservation conditions (c), (a) of each row component of the matrix coefficient, the sum of the coefficients of the primary term of the input density signal is 1 (b) the matrix coefficient Means for setting the sum of the coefficients of the nth (n> 1) order term of the input density signal in each row component to satisfy 0 (c) for a particular important color, save the color itself for each order; An equivalent neutral density conversion means for converting an input image signal into equivalent neutral density based image data; a matrix calculating means for converting the equivalent neutral density based image data by the color conversion matrix; And an equivalent neutral density inverse conversion means for converting the image data into the space of the input image signal again.

【0009】[0009]

【発明の実施の形態】以下、本発明の色変換方法および
装置について、添付の図面に示される好適実施例を基に
詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a color conversion method and apparatus according to the present invention will be described in detail based on preferred embodiments shown in the accompanying drawings.

【0010】図1は、本発明の一実施形態に係る、色変
換装置の概略を示すブロック図である。図1において、
色変換装置10は、色変換の対象である入力画像データ
を等価中性濃度(ENDともいう)データに変換するE
ND変換部(等価中性濃度変換手段)12、グレーを保
存し、かつ、その他少なくとも一色の重要保存色を保存
する条件を参照し、マトリクス係数を決定する(制限つ
き)マトリクス設定部(マトリクス設定手段)14、マ
トリクス演算による色信号処理を行うマトリクス演算部
(マトリクス演算手段)16、および、ENDデータか
ら再び入力画像信号空間への変換を行うEND逆変換部
(等価中性濃度逆変換手段)18からなっている。
FIG. 1 is a block diagram schematically showing a color conversion apparatus according to one embodiment of the present invention. In FIG.
The color conversion apparatus 10 converts input image data to be subjected to color conversion into equivalent neutral density (END) data.
ND conversion unit (equivalent neutral density conversion unit) 12, a matrix setting unit (with a limitation) that determines a matrix coefficient by referring to conditions for storing gray and storing at least one other important storage color (matrix setting) Means) 14, a matrix operation unit (matrix operation means) 16 for performing color signal processing by matrix operation, and an END inverse conversion unit (equivalent neutral density inverse conversion means) for converting END data to the input image signal space again. It consists of 18.

【0011】END変換部12は、入力画像データを、
3次元テーブルを用いて対数露光量に変換する。さら
に、画像データのグレーパッチの部分の、赤(R)、緑
(G)、青(B)各色成分が等しくなるような1次元テ
ーブル変換を実施し、グレーの場合には、濃度の赤、
緑、青の各色成分が等しい、ENDベースの信号に変換
する。END変換部12は、まず色変換マトリクスを設
定するために、チャートから得られた入力信号をEND
ベースのデータDi =(Dbi, Dgi, Dri) に変換す
る。ここでb、g、rは、それぞれ青、緑、赤成分を表
す。
The END conversion unit 12 converts the input image data into
It is converted into a logarithmic exposure using a three-dimensional table. Further, a one-dimensional table conversion is performed so that the red (R), green (G), and blue (B) color components of the gray patch portion of the image data become equal.
The signal is converted to an END-based signal in which the green and blue color components are equal. The END conversion unit 12 first converts the input signal obtained from the chart into an END to set a color conversion matrix.
It is converted into base data Di = (Dbi, Dgi, Dri). Here, b, g, and r represent blue, green, and red components, respectively.

【0012】マトリクス設定部14は、以下の条件を満
足するように色変換マトリクスMのマトリクス係数を決
定する。本実施形態では、簡単のため、画像データは、
一次項のみを有し、色変換マトリクスMは、3×3マト
リクスであるとする。まず、グレー保存条件を満たすた
めには、マトリクス係数の各行成分の和が1でなければ
ならない。(もし、画像データが2次以上の項を有する
場合は、マトリクス係数の各行成分のうち、入力濃度信
号のn(n>1)次項の係数の和が0でなければならな
い。)
The matrix setting section 14 determines matrix coefficients of the color conversion matrix M so as to satisfy the following conditions. In the present embodiment, for simplicity, the image data is
It is assumed that the color conversion matrix M has only a first-order term and is a 3 × 3 matrix. First, in order to satisfy the gray storage condition, the sum of each row component of the matrix coefficient must be 1. (If the image data has a second-order or higher-order term, the sum of the coefficients of the nth (n> 1) order term of the input density signal must be 0 among the row components of the matrix coefficient.)

【0013】また、本実施形態では、重要色として肌色
を保存するものとする。色変換マトリクスMは、重要色
である肌色の色相を保存するためには、入力信号と出力
信号とにおいて、その信号値の差が保存されなければな
らない。すなわち、保存すべき重要色の入力信号をDi
=(Dbi, Dgi, Dri) 、保存すべき重要色の出力信号
をDo =(Dbo, Dgo, Dro) とし、緑(g)に注目し
てその差をとると、変換前と変換後において、その差が
次式のように等しくなければならない。 ΔDb =Dbi−Dgi=Dbo−Dgo ΔDr =Dri−Dgi=Dro−Dgo これをマトリクスMを用いて表現すると以下の式(1)
のようになる。
In the present embodiment, it is assumed that a skin color is stored as an important color. In order to store the hue of the skin color, which is an important color, the color conversion matrix M must store the difference between the signal values of the input signal and the output signal. That is, the input signal of the important color to be stored is Di
= (Dbi, Dgi, Dri), the output signal of the important color to be stored is Do = (Dbo, Dgo, Dro), and the difference is calculated by focusing on green (g). The difference must be equal as follows: ΔDb = Dbi−Dgi = Dbo−Dgo ΔDr = Dri−Dgi = Dro−Dgo When this is expressed using the matrix M, the following equation (1) is obtained.
become that way.

【数1】 これにより、色相が保存される。この場合、色自体は完
全に合わないことがある。なお、彩度のup/down
は、行われる。
(Equation 1) Thereby, the hue is preserved. In this case, the colors themselves may not completely match. In addition, saturation up / down
Is done.

【0014】特に肌色等の重要色を、色を完全に合わ
せ、色自体保存するためには、Dgo=Dgi が成り立
つことが条件になる。このとき、Dbo=Dbi, Dgo=D
gi, Dro=Driが成り立つこととなる。これをマトリク
スMを用いて表すと次の式(2)のようになる。
In order to completely match important colors such as flesh color, etc., and to preserve the colors themselves, it is a condition that Dgo = Dgi is satisfied. At this time, Dbo = Dbi, Dgo = D
gi, Dro = Dri. This can be expressed by the following equation (2) using a matrix M.

【数2】 ここで濃度データが一次項(Db ,Dg ,Dr )のみの
場合は、色変換マトリクスMは、3×3であるが、濃度
データが二次項も含む場合には、3×9となり、各場合
において定数項(0次項)をも含むときは、それぞれ3
×4、および3×10となり、計算が大変になるが、よ
り高次のマトリクスを用いることもできる。
(Equation 2) Here, when the density data includes only the first-order terms (Db, Dg, and Dr), the color conversion matrix M is 3 × 3. However, when the density data includes the second-order terms, the color conversion matrix M is 3 × 9. , When a constant term (0-order term) is also included,
× 4 and 3 × 10, which makes the calculation difficult, but higher order matrices can be used.

【0015】上記式(1)または式(2)で表される条
件を満たすマトリクスMは、最適化計算等で求めること
ができる。このようにしてマトリクスMが設定される
と、マトリクス演算部16は、このマトリクスを用い
て、次に入力されEND変換部12で変換されたEND
ベースの信号に対してマトリクス演算を実施し、色変換
を行う。最後にEND逆変換部18では、この演算後の
画像データに対して、前記END変換部12で行った変
換の逆変換を行い、ENDベースのデータを前記入力画
像信号空間へ変換する。
The matrix M that satisfies the condition represented by the above equation (1) or (2) can be obtained by optimization calculation or the like. When the matrix M is set in this manner, the matrix operation unit 16 uses this matrix to input the next input and the END converted by the END conversion unit 12.
A matrix operation is performed on the base signal to perform color conversion. Finally, the END inverse conversion unit 18 performs an inverse conversion of the conversion performed by the END conversion unit 12 on the image data after the calculation, and converts END-based data into the input image signal space.

【0016】[0016]

【実施例】以下に、本発明の色変換方法を実施例に基づ
いてより具体的に説明する。撮影及び入力用フィルムと
して富士写真フイルム(株)製カラーリバーサルフィル
ム・プロビアを用い、マクベスチャートおよびNCSチ
ャートを撮影する。これらのチャートをプロビアで撮影
した原稿を、グレーステップウェッジと同時にスキャナ
にて収録し、入力画像データとする。スキャナは、大日
本スクリーン製SG1000を用いた。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The color conversion method of the present invention will be described below more specifically based on embodiments. A Macbeth chart and an NCS chart are photographed using a color reversal film Provia manufactured by Fuji Photo Film Co., Ltd. as a film for photographing and inputting. Documents obtained by photographing these charts with Provia are recorded by a scanner at the same time as the gray step wedge, and are used as input image data. The scanner used was Dainippon Screen SG1000.

【0017】グレーステップウェッジをTCD計(濃度
計)にて測定し、スキャナ出力値と濃度値間の一次元変
換テーブルを作成する。グレーステップウェッジは、ス
キャナ校正用のものである。ここで作成されたテーブル
を参照して画像データを次の表1に示す様な濃度データ
に変換する。表1のチャートは、66のパッチからな
り、No.1 からNo.42まではNCSチャートであり、N
o.43からNo.66までがマクベスチャートである。また、
左から青(B)、緑(G)、赤(R)の各データを表し
ている。以下の表においても、全て左からB、G、Rの
順に配列するものとする。
The gray step wedge is measured by a TCD meter (densitometer), and a one-dimensional conversion table between the scanner output value and the density value is created. The gray step wedge is for scanner calibration. The image data is converted into density data as shown in Table 1 below with reference to the table created here. The chart in Table 1 is composed of 66 patches, and the No. 1 to No. 42 are NCS charts.
Macbeth charts are from o.43 to No.66. Also,
From the left, data of blue (B), green (G), and red (R) are shown. Also in the following table, all are arranged in the order of B, G, and R from the left.

【表1】 [Table 1]

【0018】END変換部12では、入力画像データを
ENDベースの濃度に変換する。まず、事前に富士写真
フイルム(株)製レーザープリンタPHISULを用
い、プロビアに赤(R)、緑(G)、青(B)のレーザ
ー光量の組み合わせでチャートを露光し、これを上記入
力画像と同様の方法で濃度に変換する事により、光量
(対数)と濃度の関係を表現する3次元テーブルを作成
しておく。この3次元テーブルを用いて、上で得た画像
データを、対数露光量に変換する。この対数露光量に変
換された画像データを、次の表2に示す。
The END converter 12 converts the input image data into END-based densities. First, a chart was exposed to a combination of red (R), green (G), and blue (B) laser light on Provia using a laser printer PHISUL manufactured by Fuji Photo Film Co., Ltd. in advance. A three-dimensional table expressing the relationship between the light quantity (logarithm) and the density is created by converting the density into a density in the same manner. Using this three-dimensional table, the image data obtained above is converted into a log exposure amount. The image data converted to the logarithmic exposure amount is shown in Table 2 below.

【表2】 [Table 2]

【0019】さらに、画像データのグレーパッチ部を参
照して、赤、緑、青の成分が等しくなる様な一次元変換
テーブルによる変換を行う。この変換において、グレー
の場合には濃度の赤、緑、青の成分が等しい、すなわち
ENDベースの信号である。この一次元変換テーブルの
一例を次の表3に示す。表3は、左から、入力画像の青
(B)成分、出力画像の青(B)成分、入力画像の緑
(G)成分、出力画像の緑(G)成分、入力画像の赤
(R)成分、出力画像の赤(R)成分の順に並んでい
る。
Further, referring to the gray patch portion of the image data, conversion is performed by a one-dimensional conversion table so that the red, green, and blue components are equal. In this conversion, in the case of gray, the red, green, and blue components of the density are equal, that is, an END-based signal. An example of the one-dimensional conversion table is shown in Table 3 below. Table 3 shows, from the left, the blue (B) component of the input image, the blue (B) component of the output image, the green (G) component of the input image, the green (G) component of the output image, and the red (R) of the input image. Component and the red (R) component of the output image.

【表3】 [Table 3]

【0020】また、この変換後の画像データを以下の表
4に示す。この画像データは、色変換マトリクスMによ
って変換をうける、ENDベースの入力画像データDi
である。
The converted image data is shown in Table 4 below. This image data is converted by a color conversion matrix M, and is END-based input image data Di.
It is.

【表4】 [Table 4]

【0021】次に、(制限付き)マトリクス演算部14
は、色保存制限条件を参照して、色変換マトリクスMを
設定する。本実施例では、簡単のため、画像濃度データ
は一次項のみを含み、3次元ベクトルをなし、マトリク
スMは3×3とする。マトリクスMの係数が、前記条件
を満たすように、その係数を定める。これには前述した
ように、最適化法等を用いる。本実施例では、No.4
3のマクベスチャートの肌色を保存すべき重要色とし、
最適化法により、マトリクスMを式(3)の様に決定し
た。
Next, the (limited) matrix operation unit 14
Sets the color conversion matrix M with reference to the color storage restriction condition. In this embodiment, for the sake of simplicity, the image density data includes only a first-order term, forms a three-dimensional vector, and the matrix M is 3 × 3. The coefficient of the matrix M is determined so that the above condition is satisfied. As described above, an optimization method or the like is used for this. In the present embodiment, No. 4
3. Make the skin color of Macbeth chart 3 important color to be preserved,
The matrix M was determined by the optimization method as in equation (3).

【数3】 (Equation 3)

【0022】マトリクス演算部16では、前述した表4
に示すENDベースの画像信号に対して、マトリクスM
によるマトリクス演算を行い出力画像Do を得る。例え
ば、Di の第一パッチ(1.15534 ,1.12847 ,0.10218
)に対して、以下の式(4)に示すようにマトリクス
Mを作用させると、Do の第一パッチ(1.08491 ,1.16
959 ,0.00332 )が得られる。ただし、式(4)におい
ては、画像データは、列ベクトルとして計算を行ってい
る。
In the matrix operation section 16, Table 4 described above is used.
For the END-based image signal shown in FIG.
To obtain an output image Do. For example, the first patch of Di (1.15534, 1.12847, 0.10218
) Is applied with a matrix M as shown in the following equation (4), the first patch of Do (1.08491, 1.16)
959, 0.00332). However, in equation (4), the image data is calculated as a column vector.

【数4】 こうして得られた、変換後の画像データである出力画像
データDo を表5に示す。
(Equation 4) Table 5 shows the output image data Do obtained as the converted image data.

【0023】[0023]

【表5】 [Table 5]

【0024】END逆変換部18では、前述したEND
変換部12で行った変換の逆の変換を行い、ENDベー
スの画像データを当初の入力画像信号の空間のデータに
変換する。次の表6に、前記表3に対応する逆変換のテ
ーブルを示す。
In the END inverse conversion section 18, the above-mentioned END
The conversion unit 12 performs a conversion reverse to the conversion performed, and converts the END-based image data into data of the space of the original input image signal. Table 6 below shows a reverse conversion table corresponding to Table 3 above.

【0025】[0025]

【表6】 また、次の表7に、前記表2の画像データに対応する画
像データを示す。
[Table 6] Table 7 below shows image data corresponding to the image data in Table 2.

【0026】[0026]

【表7】 そして、前記表1の画像データに対応する、最終的な変
換後の画像データを表8に示す。
[Table 7] Table 8 shows the final converted image data corresponding to the image data shown in Table 1.

【0027】[0027]

【表8】 [Table 8]

【0028】また、変換前後における(入力画像データ
および出力画像データの)色差を計算した結果を次の表
9に示す。
Table 9 below shows the results of calculating the color differences (for the input image data and the output image data) before and after the conversion.

【表9】 この表で、No.1 からNo.42までがNCSチャートであ
り、No.43からNo.66までがマクベスチャートである。
No.43は、肌色で、その変換前後における色差は0とな
っており、肌色は保存されていることがわかる。また、
No.61からNo.66までは、グレーであり、計算による許
容範囲の誤差がでているが、やはり色差は0となってお
り、グレーも保存されていることがわかる。
[Table 9] In this table, No. 1 to No. 42 are NCS charts, and No. 43 to No. 66 are Macbeth charts.
No. 43 is a skin color, and the color difference before and after the conversion is 0, indicating that the skin color is preserved. Also,
No. 61 to No. 66 are gray, and there is an error in the allowable range due to calculation, but the color difference is also 0, indicating that gray is also preserved.

【0029】また、変換前後の画像データの動きを分か
りやすく視覚的に図2に示す。図2に、符号Aで示した
のは、肌色であり、符号Bで示したのは、グレーであ
る。これからも、肌色およびグレーは動いておらず、保
存されていることがわかる。
FIG. 2 shows the movement of the image data before and after the conversion in an easy-to-understand manner. In FIG. 2, the symbol A indicates the skin color, and the symbol B indicates the gray. From this, it can be seen that the skin color and gray are not moving and are preserved.

【0030】なお、色変換マトリクスMを決定する際、
実際には、前記式(1)、(2)は厳密に満足する必要
はない。すなわち、マトリクスMによる色変換後の濃度
信号Do ’=(Dbo’,Dgo’,Dro’)と目標の濃度
信号Do =(Dbo,Dgo,Dro)との誤差ないし残差
(色差)ΔD=|Do −Do'|={(Dbo−Dbo')2
(Dgo−Dgo')2 +(Dro−Dro')2 1/2は、その写
真の用途等に応じて以下のように許容範囲が定められて
いる。すなわち、プロ用写真等のように色の保存性を非
常に重視する場合には、残差は0.01以下、通常写真
等で色の保存性を重視する場合には、残差は0.03以
下が望ましい。また、デジタルカメラや市販のカラープ
リンタ等のように色の保存性をあまり重視しない場合に
は、残差は0.1以下程度でよい。
When determining the color conversion matrix M,
In practice, it is not necessary that the above-mentioned equations (1) and (2) be strictly satisfied. That is, an error or residual (color difference) ΔD = | between the density signal Do ′ = (Dbo ′, Dgo ′, Dro ′) after the color conversion by the matrix M and the target density signal Do = (Dbo, Dgo, Dro). Do−Do ′ | = {(Dbo−Dbo ′) 2 +
The allowable range of (Dgo−Dgo ′) 2 + (Dro−Dro ′) 21/2 is determined as follows according to the use of the photograph and the like. That is, when color storability is very important as in professional photos, the residual is 0.01 or less. 03 or less is desirable. Further, when the color storability is not so important as in a digital camera or a commercially available color printer, the residual may be about 0.1 or less.

【0031】以上、本発明の色変換方法及び装置につい
て詳細に説明したが、本発明は上記実施例に限定はされ
ず、本発明の要旨を逸脱しない範囲において、各種の変
更や改良を行ってもよいのはもちろんである。
Although the color conversion method and apparatus of the present invention have been described in detail above, the present invention is not limited to the above embodiments, and various changes and improvements are made without departing from the gist of the present invention. Of course it is good.

【0032】[0032]

【発明の効果】以上、詳細に説明したように、本発明の
色変換方法および装置によれば、グレーおよび肌色等の
保存したい重要色がデジタル色信号処理後も確実に保存
されるとともに、かかる色変換処理を行うことのできる
色変換マトリクスを容易に決定することが可能となる。
As described above in detail, according to the color conversion method and apparatus of the present invention, important colors such as gray and flesh color to be preserved are surely preserved even after digital color signal processing. It is possible to easily determine a color conversion matrix that can perform color conversion processing.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の色変換装置の一実施例の概略を示す
ブロック図である。
FIG. 1 is a block diagram schematically showing an embodiment of a color conversion apparatus according to the present invention.

【図2】 本発明の実施例の結果を示す説明図である。FIG. 2 is an explanatory diagram showing a result of an example of the present invention.

【符号の説明】[Explanation of symbols]

10 色変換装置 12 END変換部 14 (制限付き)マトリクス設定部 16 マトリクス演算部 18 END逆変換部 Reference Signs List 10 color conversion device 12 END conversion unit 14 (with limitations) matrix setting unit 16 matrix calculation unit 18 END inverse conversion unit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】等価中性濃度ベースの画像データに対し色
変換を行う色変換マトリクスを、 チャートから得られた入力信号を等価中性濃度ベースの
信号に変換したデータを用い、以下のグレー保存条件
(a)、(b)および重要色保存条件(c)、 (a)マトリクス係数の各行成分のうち、入力濃度信号
の一次項の係数の和が1 (b)マトリクス係数の各行成分のうち、入力濃度信号
のn(n>1)次項の係数の和が、各次数毎に0 (c)特定の重要色について、その色相を保存する を満たすように設定し、 入力画像信号を等価中性濃度ベースの画像データに変換
して、前記色変換マトリクスにより色変換し、 該変換後の画像データを、再び前記入力画像信号の空間
へ変換することを特徴とする色変換方法。
1. A color conversion matrix for performing color conversion on image data based on equivalent neutral density, using the data obtained by converting an input signal obtained from a chart into a signal based on equivalent neutral density, using the following gray preservation: Condition (a), (b) and important color storage condition (c), (a) of each row component of the matrix coefficient, the sum of the coefficients of the primary term of the input density signal is 1 (b) of each row component of the matrix coefficient , The sum of the coefficients of the nth (n> 1) order term of the input density signal is set to satisfy 0 (c) Preserving the hue of a specific important color for each order. A color conversion method for converting the image data into color space-based image data, performing color conversion using the color conversion matrix, and converting the converted image data again into the space of the input image signal.
【請求項2】等価中性濃度ベースの画像データに対し色
変換を行う色変換マトリクスを、 チャートから得られた入力信号を等価中性濃度ベースの
信号に変換したデータを用い、以下のグレー保存条件
(a)、(b)および重要色保存条件(c)、 (a)マトリクス係数の各行成分のうち、入力濃度信号
の一次項の係数の和が1 (b)マトリクス係数の各行成分のうち、入力濃度信号
のn(n>1)次項の係数の和が、各次数毎に0 (c)特定の重要色について、その色自体を保存する を満たすように設定し、 入力画像信号を等価中性濃度ベースの画像データに変換
して、前記色変換マトリクスにより色変換し、 該変換後の画像データを、再び前記入力画像信号の空間
へ変換することを特徴とする色変換方法。
2. A color conversion matrix for performing color conversion on image data based on equivalent neutral density, using a data obtained by converting an input signal obtained from a chart into a signal based on equivalent neutral density, using the following gray preservation: Condition (a), (b) and important color storage condition (c), (a) of each row component of the matrix coefficient, the sum of the coefficients of the primary term of the input density signal is 1 (b) of each row component of the matrix coefficient , The sum of the coefficients of the nth (n> 1) order term of the input density signal is set to satisfy 0 (c) Save the color itself for a specific important color. A color conversion method comprising converting the image data into neutral density-based image data, performing color conversion using the color conversion matrix, and converting the converted image data again into the space of the input image signal.
【請求項3】等価中性濃度ベースの画像データに対し色
変換を行う色変換マトリクスを、 チャートから得られた入力信号を等価中性濃度ベースの
信号に変換したデータを用い、以下のグレー保存条件
(a)、(b)および重要色保存条件(c)、 (a)マトリクス係数の各行成分のうち、入力濃度信号
の一次項の係数の和が1 (b)マトリクス係数の各行成分のうち、入力濃度信号
のn(n>1)次項の係数の和が、各次数毎に0 (c)特定の重要色について、その色相を保存する を満たすように設定する手段と、 入力画像信号を等価中性濃度ベースの画像データに変換
する等価中性濃度変換手段と、 前記色変換マトリクスにより、前記等価中性濃度ベース
の画像データを変換するマトリクス演算手段と、 該変換後の画像データを、再び前記入力画像信号の空間
へ変換する等価中性濃度逆変換手段と、 を備えたことを特徴とする色変換装置。
3. A color conversion matrix for performing color conversion on image data based on equivalent neutral density, using the data obtained by converting an input signal obtained from a chart into a signal based on equivalent neutral density, using the following gray preservation: Condition (a), (b) and important color storage condition (c), (a) of each row component of the matrix coefficient, the sum of the coefficients of the primary term of the input density signal is 1 (b) of each row component of the matrix coefficient Means for setting the sum of the coefficients of the nth (n> 1) order term of the input density signal to satisfy 0 (c) for a particular important color, and to store the hue of the specific color; Equivalent neutral density conversion means for converting to equivalent neutral density based image data, matrix calculation means for converting the equivalent neutral density based image data by the color conversion matrix, image data after the conversion, Again The color conversion apparatus characterized by comprising a, equivalent neutral density inverse conversion means for converting into a space of the input image signal.
【請求項4】等価中性濃度ベースの画像データに対し色
変換を行う色変換マトリクスを、 チャートから得られた入力信号を等価中性濃度ベースの
信号に変換したデータを用い、以下のグレー保存条件
(a)、(b)および重要色保存条件(c)、 (a)マトリクス係数の各行成分のうち、入力濃度信号
の一次項の係数の和が1 (b)マトリクス係数の各行成分のうち、入力濃度信号
のn(n>1)次項の係数の和が、各次数毎に0 (c)特定の重要色について、その色自体を保存する を満たすように設定する手段と、 入力画像信号を等価中性濃度ベースの画像データに変換
する等価中性濃度変換手段と、 前記色変換マトリクスにより、前記等価中性濃度ベース
の画像データを変換するマトリクス演算手段と、 該変換後の画像データを、再び前記入力画像信号の空間
へ変換する等価中性濃度逆変換手段と、 を備えたことを特徴とする色変換装置。
4. A color conversion matrix for performing color conversion on image data based on equivalent neutral density, using the data obtained by converting an input signal obtained from a chart into a signal based on equivalent neutral density, using the following gray preservation: Condition (a), (b) and important color preservation condition (c), (a) of each row component of the matrix coefficient, the sum of the coefficients of the primary term of the input density signal is 1 (b) of each row component of the matrix coefficient Means for setting the sum of the coefficients of the n-th (n> 1) order term of the input density signal to satisfy 0 (c) for a particular important color, and to store the color itself. To an equivalent neutral density based image data, an equivalent neutral density conversion means, and a matrix operation means for converting the equivalent neutral density based image data by the color conversion matrix; and , Equivalent neutral density inverse conversion means for converting into a space of the fine said input image signal, a color conversion device characterized by comprising a.
JP10286687A 1998-10-08 1998-10-08 Method and device for converting color Withdrawn JP2000113185A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10286687A JP2000113185A (en) 1998-10-08 1998-10-08 Method and device for converting color

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10286687A JP2000113185A (en) 1998-10-08 1998-10-08 Method and device for converting color

Publications (1)

Publication Number Publication Date
JP2000113185A true JP2000113185A (en) 2000-04-21

Family

ID=17707682

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10286687A Withdrawn JP2000113185A (en) 1998-10-08 1998-10-08 Method and device for converting color

Country Status (1)

Country Link
JP (1) JP2000113185A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6396599B1 (en) * 1998-12-21 2002-05-28 Eastman Kodak Company Method and apparatus for modifying a portion of an image in accordance with colorimetric parameters
KR101248907B1 (en) * 2007-07-13 2013-03-28 삼성전자주식회사 Image forming apparatus, and method for generating color table and method for printing color document thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6396599B1 (en) * 1998-12-21 2002-05-28 Eastman Kodak Company Method and apparatus for modifying a portion of an image in accordance with colorimetric parameters
KR101248907B1 (en) * 2007-07-13 2013-03-28 삼성전자주식회사 Image forming apparatus, and method for generating color table and method for printing color document thereof
US8705116B2 (en) 2007-07-13 2014-04-22 Samsung Electronics Co., Ltd. Image forming apparatus and color table generating method and color document printing method thereof

Similar Documents

Publication Publication Date Title
JP3011432B2 (en) Color image processing equipment
EP0460193B1 (en) A method to extend the linear range of images captured on film
US7081918B2 (en) Image processing method, image processing apparatus and recording medium storing program therefor
US6952223B2 (en) Image processing method and apparatus
US6369901B1 (en) Digital photofinishing system including digital image processing of alternative capture color photographic media
JPH0239097A (en) Color printing system applicable for duplication of image generated by computer
JPH05506733A (en) Creation of a second generation camera original control tool using digitally created transparency photos representing real scenes
JPH10221792A (en) Method for executing calibration of photograph finishing system and device used for it
JPH11205620A (en) Correcting method for three-dimensional look-up table, image processor for executing the method and digital color printer provided with the device
US6233069B1 (en) Digital photofinishing system including film under exposure gamma, scene balance, contrast normalization, and image sharpening digital image processing
US7215832B1 (en) Retrieval system and image processing apparatus
US5721811A (en) Pre-press process and system for accurately reproducing color images
US6163389A (en) Digital photofinishing system including digital image processing of alternative capture color photographic media
EP0578203B1 (en) Method and apparatus for forming image data metrics from cascaded photographic imaging systems
JP2000113185A (en) Method and device for converting color
US6373993B1 (en) Image processing method and image processing apparatus
JP3664582B2 (en) White balance adjustment method and apparatus
US6339485B1 (en) Method of making photoprocessing reference image control tool photograph and methods of converting image data
JPH11261831A (en) Method for eliminating density fluctuation of three-dimensional lookup table for chrominance signal conversion and image output device for performing the mithod
US6882451B2 (en) Method and means for determining estimated relative exposure values from optical density values of photographic media
JP3719860B2 (en) Color correction method and apparatus
JPH1127624A (en) Image reproduction method, image reproduction system and image processing unit
JP2791325B2 (en) Thermal printer
JP2001024887A (en) Method for discriminating similar scene
JPH0767139B2 (en) Input signal processing method for negative documents

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: 20060110