JP2000069305A - Color correction method for color image input output device and recording medium with color correction program recorded therein - Google Patents

Color correction method for color image input output device and recording medium with color correction program recorded therein

Info

Publication number
JP2000069305A
JP2000069305A JP10233264A JP23326498A JP2000069305A JP 2000069305 A JP2000069305 A JP 2000069305A JP 10233264 A JP10233264 A JP 10233264A JP 23326498 A JP23326498 A JP 23326498A JP 2000069305 A JP2000069305 A JP 2000069305A
Authority
JP
Japan
Prior art keywords
color
input
output
range
correction
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.)
Pending
Application number
JP10233264A
Other languages
Japanese (ja)
Inventor
Takaaki Akimoto
▲高▼明 秋本
Harumi Kawamura
春美 川村
Yoshihiro Ochiai
慶広 落合
Tsutomu Horikoshi
力 堀越
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP10233264A priority Critical patent/JP2000069305A/en
Publication of JP2000069305A publication Critical patent/JP2000069305A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an accurate color correction method over the entire range of a color input output characteristics for a color image input output device. SOLUTION: Color input output characteristics of a color image input output device are measured, a range where an output value is not lost even when an input value is decreased (a low level saturation area 301), a range where an output value is not increased even when an input value is increased (a high level saturation area 305), and respective range (a non-saturation area 303) are respectively detected and separate input output characteristics (302, 304, 306) are obtained for each range, and color is corrected for each range of each color component, based on the input output characteristics obtained.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、カラー画像入出力
機器の機器固有の色入出力特性を補正して、本来の色と
なるべく同じ色を入力及び出力できるようにするカラー
画像入出力機器の色補正方法およびその色補正プログラ
ムを記録した記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color image input / output device which corrects the color input / output characteristics inherent to the color image input / output device so that the same color can be input and output as much as possible. The present invention relates to a color correction method and a recording medium storing the color correction program.

【0002】[0002]

【従来の技術】デジタル静止画カメラ、カラー画像スキ
ャナー、ビデオカメラ等のカラー画像入力機器でカラー
画像を入力したとき、個々のカラー画像入力機器の色入
力特性が異なるため、入力されたカラー画像中の色が実
際の色と微妙に異なる場合がある。また、カラーCRT
ディスプレイ、カラー液晶ディスプレイ、カラープラズ
マディスプレイ、カラープリンタ等のカラー画像出力機
器においても、個々のカラー画像出力機器の色出力特性
が異なっているので、出力されたカラー画像中の色が本
来の色から微妙にずれてしまう場合がある。
2. Description of the Related Art When a color image is input by a color image input device such as a digital still image camera, a color image scanner, and a video camera, the color input characteristics of each color image input device are different. May be slightly different from the actual color. Also, color CRT
Even in color image output devices such as displays, color liquid crystal displays, color plasma displays, and color printers, the color output characteristics of each color image output device are different, so the colors in the output color image differ from the original colors. It may be slightly shifted.

【0003】従来、このようなのカラー画像入出力機器
の色補正方法としては、色の各成分毎にγ補正と呼ばれ
る補正を施す方法が一般的である。説明を容易にするた
めに、ここでは、色は赤(R),緑(G),青(B)の
3原色の強さを示す値の組み合わせ、つまり(R,G,
B)で表し、R,G,Bそれぞれは0〜1の値を取ると
する。この3原色の値の組み合わせ(R,G,B)を色
データと呼び、色データの中の赤のみ、緑のみ、青のみ
をそれぞれ赤成分、緑成分、青成分と呼ぶ。
Conventionally, as a color correction method for such a color image input / output device, a method of performing correction called γ correction for each color component is generally used. For ease of explanation, here, the color is a combination of values indicating the intensity of the three primary colors of red (R), green (G), and blue (B), that is, (R, G,
B), and each of R, G, and B takes a value of 0 to 1. The combination (R, G, B) of the values of the three primary colors is called color data, and only red, only green, and only blue in the color data are called red, green, and blue components, respectively.

【0004】以下、従来の色補正方法について、デジタ
ル静止画カメラなどのカラー画像入力装置を例に取って
具体的に説明する。
Hereinafter, a conventional color correction method will be specifically described by taking a color image input device such as a digital still image camera as an example.

【0005】まず、色データが既知である色を含むカラ
ー画像を用意し、その画像中の色データを(Ri,G
i,Bi)(iは色データの番号、i=1,2,・・
・,N,Nは色データの総数)とする。このカラー画像
をカラー画像入力装置から入力すると、この装置の色入
力特性により入力結果が(ri,gi,bi)となった
とする。(Ri,Gi,Bi)と(ri,gi,bi)
の間には、式1の関係があると仮定する。
First, a color image including a color whose color data is known is prepared, and the color data in the image is represented by (Ri, G
i, Bi) (i is a color data number, i = 1, 2,...)
, N, N is the total number of color data). When this color image is input from a color image input device, it is assumed that the input result is (ri, gi, bi) due to the color input characteristics of the device. (Ri, Gi, Bi) and (ri, gi, bi)
It is assumed that there is a relationship of Equation 1 between.

【0006】[0006]

【数1】 なお、αr,βr,γr,…,γbは定数である。(Equation 1) Here, αr, βr, γr,..., Γb are constants.

【0007】ここで、本来の正しい色データ(Ri,G
i,Bi)とそれに対して入力結果としての色データ
(ri,gi,bi)(iは色データの番号)から、こ
の入出力の関係を最もよく表すような式1の係数αr,
βr,γr,・・・,γbを最小2乗法等を用いて求め
る。つまり、赤成分について云えば、式2に示すような
本来の色データRiを式1で変換した結果と入力結果の
色データriとの差の2乗の総和を最小にするような係
数αr,βr,γrを求めるのである。緑成分、青成分
についても同様である。
Here, the originally correct color data (Ri, G
i, Bi) and the corresponding color data (ri, gi, bi) (i is the number of the color data) as input results, the coefficients αr,
.beta.r, .gamma.r,..., .gamma.b are obtained by using a least square method or the like. That is, for the red component, coefficients αr, rr that minimize the sum of the squares of the differences between the result of conversion of the original color data Ri as shown in equation 2 by equation 1 and the input result color data ri βr and γr are determined. The same applies to the green component and the blue component.

【0008】[0008]

【数2】 (Equation 2)

【0009】次に、これで求めた係数αr,βr,γ
r,・・・、γbを用いて、式1を式3のように変形し
て、riを与えると、Riが求められる。gi,Gi,
bi,Biについても同様だが、ここでは省略する。
Next, the coefficients αr, βr, γ thus obtained
Using r,..., γb, by transforming Equation 1 to Equation 3 and giving ri, Ri is obtained. gi, Gi,
The same applies to bi and Bi, but is omitted here.

【0010】[0010]

【数3】 (Equation 3)

【0011】さて、このカラー画像入力機器で本来の色
データRiのカラー画像を入力すると入力結果はriと
なってしまうが、このriを式3によって変換すれば、
Riが得られ、正しいカラー画像中の色データが得られ
て赤成分について色補正できる。つまり、式1によって
このデジタル静止画カメラの色入力特性を近似し、入力
結果の色データをその逆の特性(式3)で変換すること
により色入力特性(式1)をキャンセルし、結果として
色補正できる。緑成分及び青成分についても同様であ
る。
When the color image of the original color data Ri is input by the color image input device, the input result is ri.
Ri is obtained, and color data in a correct color image is obtained, so that color correction can be performed on the red component. That is, the color input characteristic of the digital still image camera is approximated by Expression 1, and the color input characteristic (Expression 1) is canceled by converting the color data of the input result by the reverse characteristic (Expression 3). Color can be corrected. The same applies to the green component and the blue component.

【0012】[0012]

【発明が解決しようとする課題】前述した従来の方法で
も、ある程度の補正ができるが、カラー画像入出力機器
の色入出力特性によっては、色補正を精度よく行うこと
が困難であるという問題があった。例えば、デジタル静
止画カメラ等では、図2の実線(201)に示すような
色入力特性を示すものがある。つまり、色データの値が
小さい場合や大きい場合に、入力に対して出力がやや飽
和しているような色入出力特性を持つ機器がある。この
ようなカラー画像入出力機器に対して前述した従来の方
法で色補正しても、色データの全範囲で精度良く色補正
を行うことが困難であった。これは、前述した従来の方
法が、色データの全範囲で式(1)のような一つの変換
式でカラー画像入出力機器の色入出力特性を表すため、
この機器の色入出力特性は例えば図2の破線(202)
のように近似するしかなく、結果として近似した色入出
力特性の逆の特性で色変換しても精度良く色補正するこ
とができないためである。
Although the above-described conventional method can perform a certain degree of correction, it is difficult to accurately perform color correction depending on the color input / output characteristics of a color image input / output device. there were. For example, some digital still image cameras and the like exhibit color input characteristics as shown by a solid line (201) in FIG. That is, there are devices having color input / output characteristics such that the output is slightly saturated with respect to the input when the value of the color data is small or large. Even when color correction is performed on such a color image input / output device by the above-described conventional method, it has been difficult to accurately perform color correction over the entire range of color data. This is because the conventional method described above expresses the color input / output characteristics of the color image input / output device with one conversion formula such as Expression (1) over the entire range of color data.
The color input / output characteristic of this device is, for example, a broken line (202) in FIG.
This is because color correction cannot be performed accurately even if color conversion is performed using the reverse characteristic of the approximated color input / output characteristic as a result.

【0013】本発明は、このような課題を解決し、図2
のように入力に対して出力がやや飽和しているような色
入出力特性を持つカラー画像入出力機器に対して、色デ
ータの全範囲で精度の良い色補正方法およびその色補正
プログラムを記録した記録媒体を提供することを目的と
する。
The present invention solves such a problem, and FIG.
For a color image input / output device with color input / output characteristics such that the output is slightly saturated with respect to the input, an accurate color correction method and its color correction program are recorded over the entire range of color data. It is an object of the present invention to provide a recording medium that has been used.

【0014】[0014]

【課題を解決するための手段】本発明では、カラー画像
入出力機器の色入出力特性を計測し、入力色データの値
を小さくしても出力が小さくならないような入力色デー
タの値の範囲(低レベル飽和域)、入力色データの値を
大きくしても出力が大きくならないような入力色データ
の値の範囲(高いレベル飽和域)、それら以外の入力色
データの範囲(非飽和域)を見つけ、それら3つの範囲
毎に別々の色補正方法を用いて色補正を行う。即ち、例
えば図2の201と同じ色入出力特性に対して、図3に
示すように、入力色データの範囲が301(低レベル飽
和域)に対しては302に示すような曲線で色入出力特
性を近似し、同様に303(非飽和域)に対しては30
4で、305(高レベル飽和域)に対しては306で色
入出力特性を近似する。これにより、入力色データの全
範囲で正確に色入出力特性を近似できるので、入力され
た色データをこの逆の特性で変換することにより、精度
の高い色補正を実現できる。
According to the present invention, the color input / output characteristics of a color image input / output device are measured, and the range of the input color data is set such that the output does not decrease even if the value of the input color data is reduced. (Low level saturation range), range of input color data values that does not increase output even if the value of input color data is increased (high level saturation range), range of other input color data (non-saturation range) And color correction is performed using a different color correction method for each of the three ranges. That is, for example, as shown in FIG. 3, for the same color input / output characteristics as 201 in FIG. The output characteristics are approximated, and similarly for 303 (unsaturated region), 30
In 4, the color input / output characteristics are approximated in 306 with respect to 305 (high-level saturation region). As a result, the color input / output characteristics can be accurately approximated over the entire range of the input color data. Therefore, by converting the input color data with the opposite characteristics, highly accurate color correction can be realized.

【0015】[0015]

【発明の実施の形態】図1に、本発明の色補正方法を実
現するハードウエア構成例の概略ブロック図を示す。図
1において、10は色補正対象のカラー画像入出力機
器、20はコマンドやデータの入力に加えて、色標に対
応した色データを入力し、モニタ表示するために用いる
キーボード及びディスプレィ等のデータ入出力装置、3
0は対象カラー画像入出力機器10の色入出力特性を求
める色入出力特性取得処理部、40は色入出力特性取得
処理部30で求めた色入出力特性により対象カラー画像
入出力機器10の色補正を行う色補正処理部、50は入
出力特性補正パラメータを保持する色補正パラメータメ
モリ、60はこれら各部を接続するバスである。ここ
で、色入出力特性取得処理部30と色補正処理部40の
機能は、実際には、所謂CPU上でプログラムおよび内
部メモリ等を用いて実現されるものである。
FIG. 1 is a schematic block diagram showing an example of a hardware configuration for realizing a color correction method according to the present invention. In FIG. 1, reference numeral 10 denotes a color image input / output device to be subjected to color correction, and reference numeral 20 denotes data such as a keyboard and a display used for inputting color data corresponding to a color mark in addition to inputting commands and data and displaying the data on a monitor. I / O device, 3
Reference numeral 0 denotes a color input / output characteristic acquisition processing unit that obtains color input / output characteristics of the target color image input / output device 10. A color correction processing unit that performs color correction, 50 is a color correction parameter memory that holds input / output characteristic correction parameters, and 60 is a bus that connects these units. Here, the functions of the color input / output characteristic acquisition processing unit 30 and the color correction processing unit 40 are actually realized on a so-called CPU using a program and an internal memory.

【0016】以下、対象をカラー画像入力機器とカラー
画像出力機器とに分け、それぞれの場合について本発明
による色補正処理の一実施例を説明する。
Hereinafter, an object is divided into a color image input device and a color image output device, and in each case, an embodiment of the color correction processing according to the present invention will be described.

【0017】[カラー画像入力機器の色補正]図4、図
5に、本発明によるカラー画像入力機器の色入力特性補
正処理の一実施例のフローチャートを示す。図4は、カ
ラー画像入力機器の色入力特性補正パラメータを得るた
めの処理であり、図5は、図4の処理で得た色入力特性
補正パラメータを用いて、当該カラー画像入力機器の色
補正を行う処理である。
[Color Correction of Color Image Input Device] FIGS. 4 and 5 show a flowchart of one embodiment of the color input characteristic correction process of the color image input device according to the present invention. FIG. 4 shows a process for obtaining a color input characteristic correction parameter of the color image input device. FIG. 5 shows a color correction of the color image input device using the color input characteristic correction parameter obtained in the process of FIG. This is the process of performing

【0018】処理を開始する前に、まず、カラー画像入
力機器の色入力特性補正パラメータを得るために使用す
る色票画像(カラーパッチ)を用意する。これは、例え
ばJIS標準色票等の本来の色データが既知の色票から
数十から数百の色を選択して作成する。このとき、予め
実験等を行い、なるべく正確に色入力特性の補正が行え
るように色の種類と数を決定する。色票画像の例を図6
に示す。もし、必要とする色を1枚の色票画像に入れる
ことができない場合は、複数枚の色票画像に分ける。
Before starting the processing, first, a color chart image (color patch) used for obtaining a color input characteristic correction parameter of a color image input device is prepared. This is created by selecting tens to hundreds of colors from a color chart whose original color data such as a JIS standard color chart is known. At this time, experiments and the like are performed in advance, and the type and number of colors are determined so that the color input characteristics can be corrected as accurately as possible. Fig. 6 shows an example of a color chart image
Shown in If the required color cannot be included in one color patch image, the image is divided into a plurality of color patch images.

【0019】色票の色データは、JIS標準色票を含め
一般的にCIEXYZ表色系とよばれる色表現方法で表
わされた数値(X,Y,Z)で与えられる。ここでは、
この(X,Y,Z)をCIE(L*,a*,b*)均等知
覚色空間と呼ばれる色表現方法で表された色データ(L
*,a*,b*)に変換した数値を扱うこととする。
(X,Y,Z)から(L*,a*,b*)へは、式4によ
り変換することができる(例えば、日本色彩学会編、
「新編色彩科学ハンドブック」、東京大学出版会発行、
1980年7刷、142ページ参照)。
The color data of the color chart, including the JIS standard color chart, is given by numerical values (X, Y, Z) represented by a color expression method generally called a CIEXYZ color system. here,
This (X, Y, Z) is converted into color data (L) represented by a color expression method called CIE (L * , a * , b * ) uniform perceived color space.
* , A * , b * ).
(X, Y, Z) to (L * , a * , b * ) can be converted by Equation 4 (for example, edited by The Japan Society of Color Science,
"New Color Science Handbook", published by The University of Tokyo Press,
1980, 7th edition, page 142).

【0020】[0020]

【数4】 (Equation 4)

【0021】ここで、(X0,Y0,Z0)は基準白色
とする光の色データで、C光源やD65光源が一般的で
ある。例えば、NTSCカラーテレビ方式等で基準白色
として用いられているC光源の場合は、以下の値を用い
る。
Here, (X0, Y0, Z0) is the color data of the light used as the reference white light, and is generally a C light source or a D65 light source. For example, in the case of a C light source used as a reference white color in the NTSC color television system or the like, the following values are used.

【0022】X0=98.072 Y0=100.000 Z0=118.225 なお、CIE(L*,a*,b*)で表された色票画像中
の色の本来の色データを(Li,Ai,Bi)とする。
ここで、iは色票中の色の番号で、i=1,2,・・
・,Nである。Nは色票中の色の総数である。
X0 = 98.072 Y0 = 100.000 Z0 = 118.225 The original color data of the color in the color chart image represented by CIE (L * , a * , b * ) is expressed by (Li, Ai, Bi).
Here, i is the number of the color in the color chart, i = 1, 2,.
, N. N is the total number of colors in the color chart.

【0023】用意した色票画像(カラーパッチ)をカラ
ー画像入力機器で入力し、入力画像中に描かれている各
色のCIE(L*,a*,b*)で表された色データ(l
i,ai,bi)を得る(ステップ401)。
The prepared color chart image (color patch) is input by a color image input device, and color data (l * , a * , b * ) represented by CIE (L * , a * , b * ) of each color drawn in the input image.
i, ai, bi) are obtained (step 401).

【0024】一般に、デジタルカメラやスキャナーで入
力されたカラー画像の色は、従来の技術で述べたような
(R,G,B)で表されている。この(R,G,B)か
らCIE(L*,a*,b*)へは容易に変換することが
できる。具体的には、C光源を基準白色とする場合、
(R,G,B)から次の式5により、 X=0.6067R+0.1736G+0.2001B Y=0.2988R+0.5868G+0.1144B Z=0.0661R+1.1150B (式5) CIEXYZ表色系の色データ(X,Y,Z)に変換で
きるので、これをさらに、式4により(X,Y,Z)を
(L*,a*,b*)に変換すればよい(例えば、日本色
彩学会編、「新編色彩科学ハンドブック」、東京大学出
版会発行、1980年7刷、936ページ参照)。
In general, the color of a color image input by a digital camera or a scanner is represented by (R, G, B) as described in the related art. This (R, G, B) can be easily converted to CIE (L * , a * , b * ). Specifically, when the C light source is set to the reference white,
From (R, G, B), according to the following equation 5, X = 0.6767R + 0.1736G + 0.2001B Y = 0.2988R + 0.5868G + 0.1144B Z = 0.0661R + 1.1150B (Formula 5) Color data of CIEXYZ color system (X, Y, Z), which can be further converted from (X, Y, Z) to (L * , a * , b * ) by Equation 4 (for example, "Handbook of New Color Science", published by The University of Tokyo Press, 1980, 7th edition, p. 936).

【0025】次に、入力画像中の色データ(li,a
i,bi)対する本来の色データ(Li,Ai,Bi)
を入力する(ステップ402)。これは、例えば、色票
の色に対応する色データの値を記載した色データ表を用
意し、ユーザが該色データ表を見ながらキーボード等か
ら値を入力することで行う。他には、色票の色に対応し
た色データをあらかじめROM等に記憶しておき、該R
OM等から色データを読み込むことでもよい。
Next, the color data (li, a
i, bi) original color data (Li, Ai, Bi)
Is input (step 402). This is performed, for example, by preparing a color data table in which values of color data corresponding to colors of a color chart are described, and inputting a value from a keyboard or the like while the user looks at the color data table. Alternatively, color data corresponding to the color of the color chart is stored in advance in a ROM or the like, and
Color data may be read from an OM or the like.

【0026】次に、本来の色データ(Li,Ai,B
i)と入力色データ(li,ai,bi)の関係を調べ
て、各色成分毎に、低レベル飽和域、高レベル飽和域、
非飽和域を検出する(ステップ403)。
Next, the original color data (Li, Ai, B
The relationship between i) and the input color data (li, ai, bi) is examined, and for each color component, a low level saturation range, a high level saturation range,
An unsaturated region is detected (step 403).

【0027】CIE(L*,a*,b*)のa*の成分
(以後、a成分と書く。L*、b*成分もそれぞれL成
分、b成分と書く)を例にとって具体的に説明する。本
来の色データのa成分(Ai)とその色に対する入力色
データのa成分(ai)の値を図7のようにグラフにプ
ロットする。次に、本来の色データのa成分Aiの中の
最小値をAL、このALに対応する入力色データのa成
分をaLとするとき、予め定めたしきい値をTとし、式
6を満たす最大のAjを探し、Aiに関してはALから
Ajの範囲(AL≦Ai<Aj)を、aiに関してはa
Lからaj(aL≦ai<aj)を低レベル飽和域とす
る。 (aj−aL)/(Aj−AL)<T (式6)
The CIE (L * , a * , b * ) a * component (hereinafter referred to as the a component; the L * and b * components are also referred to as the L component and the b component, respectively) will be specifically described as an example. I do. The value of the a component (Ai) of the original color data and the value of the a component (ai) of the input color data for that color are plotted on a graph as shown in FIG. Next, when the minimum value of the a component Ai of the original color data is AL and the a component of the input color data corresponding to this AL is aL, a predetermined threshold value is set to T, and Expression 6 is satisfied. Find the largest Aj, find the range from AL to Aj (AL ≦ Ai <Aj) for Ai, and a for ai
Let aj (aL ≦ ai <aj) from L be a low-level saturation range. (Aj-aL) / (Aj-AL) <T (Equation 6)

【0028】さらに、本来の色データのa成分Aiの中
の最大値をAH、このAHに対応する入力色データのa
成分をaHとするとき、予め定めたしきい値をTとし、
式7を満たす最小のAkを探し、Aiに関してはAkか
らAHの範囲(Ak<Ai≦AH)を、aiに関しては
akからaH(ak<ai≦aH)を高レベル飽和域と
する。 (aH−ak)/(AH−Ak)<T (式7)
Further, the maximum value among the a component Ai of the original color data is AH, and the maximum value of the input color data corresponding to the AH is a
When the component is aH, a predetermined threshold value is T,
The minimum Ak that satisfies Equation 7 is searched for, and the high-level saturation range is set for Ai from Ak to AH (Ak <Ai ≦ AH) and for ai from ak to aH (ak <ai ≦ aH). (AH-ak) / (AH-Ak) <T (Equation 7)

【0029】上記低レベル飽和域と高レベル飽和域とを
除いた範囲、即ちAiに関してはAjからAkの範囲
(Aj≦Ai≦Ak)を、aiに関してはajからak
(aj≦ai≦ak)を非飽和域とする。
The range excluding the low-level saturation range and the high-level saturation range, that is, the range from Aj to Ak (Aj ≦ Ai ≦ Ak) for Ai, and the range from aj to ak for ai
(Aj ≦ ai ≦ ak) is defined as an unsaturated region.

【0030】L成分、b成分に関しても同様に低レベル
飽和域、高レベル飽和域、非飽和域の範囲を求める。
Similarly, for the L component and the b component, the ranges of the low level saturation range, the high level saturation range, and the non-saturation range are obtained.

【0031】次に、各色成分毎に、低レベル飽和域、高
レベル飽和域、非飽和域の3つの各範囲毎に色入力特性
を推定する(ステップ404)。
Next, for each color component, the color input characteristics are estimated for each of three ranges of a low-level saturation region, a high-level saturation region, and a non-saturation region (step 404).

【0032】これは、例えば従来の技術で説明したγ補
正と呼ばれる方法を用いて、低レベル飽和域における本
来の色データのa成分Aiと入力色データaiとの間に
は式8の関係があるとし、その係数αaL,βaL,γ
aLを最小2乗法などで求める。
This is because, for example, by using a method called γ correction described in the background art, the relationship of equation 8 is established between the a component Ai of the original color data and the input color data ai in the low level saturation region. And the coefficients αaL, βaL, γ
aL is obtained by the least square method or the like.

【0033】[0033]

【数5】 (Equation 5)

【0034】係数αaL,βaL,γaLが決定されれ
ば、式8を変形した式9で入力色データのa成分aiを
変換することによって、当該カラー画像入力機器の色入
力特性をキャンセルし、本来の正しいa成分の値Aiを
得ることができる。
When the coefficients αaL, βaL, and γaL are determined, the color input characteristic of the color image input device is canceled by converting the a component ai of the input color data by Expression 9 obtained by modifying Expression 8. Can be obtained.

【0035】[0035]

【数6】 (Equation 6)

【0036】L成分、b成分についても同様であり、そ
れらの成分についての係数を、それぞれαiL,βi
L,γiL、及び、αbL,βbL,γbLとする。
The same applies to the L component and the b component, and the coefficients for those components are represented by αiL and βi, respectively.
L, γiL and αbL, βbL, γbL.

【0037】高レベル飽和域、非飽和域についても同様
な式で色入力特性を推定する。高レベル飽和域における
式8に相当する変換式の係数をαlH,βlH,γl
H,αaH,βaH,γaH,αbH,βbH,γbH
とする。非飽和域における同様の係数をαlM,βl
M,γlM,αaM,βaM,γaM,αbM,βb
M,γbMとする。
The color input characteristics of the high-level saturated region and the non-saturated region are estimated by the same formula. The coefficients of the conversion equation corresponding to equation 8 in the high-level saturation region are αlH, βlH, γl
H, αaH, βaH, γaH, αbH, βbH, γbH
And ΑM, βl
M, γlM, αaM, βaM, γaM, αbM, βb
M and γbM.

【0038】結果として、図8に示すように、各色成分
毎に、高レベル飽和域、非飽和域、低レベル飽和域の範
囲とその範囲における色入力特性の係数が決定され、こ
れが当該カラー画像入力機器の色入力特性となる。
As a result, as shown in FIG. 8, for each color component, a range of a high-level saturated range, a non-saturated range, and a low-level saturated range and a coefficient of a color input characteristic in the range are determined. This is the color input characteristic of the input device.

【0039】次に、ステップ404で得られた色成分毎
の、低レベル飽和域、高レベル飽和域、非飽和域の範囲
と色入力特性(補正パラメータ)をメモリに記憶する
(ステップ405)。具体的には、図8に示す各数値を
記憶する。
Next, the low-level saturation range, high-level saturation range, and non-saturation range and color input characteristics (correction parameters) for each color component obtained in step 404 are stored in a memory (step 405). Specifically, each numerical value shown in FIG. 8 is stored.

【0040】次に、図5に沿って、当該カラー画像入力
機器に動作させた場合の色補正処理を説明する。
Next, with reference to FIG. 5, a description will be given of a color correction process when the color image input device is operated.

【0041】まず、図4に示す色入力特性取得処理で取
得した色入力特性補正パラロメータ、具体的には図8に
示す各数値を読み込む(ステップ501)。
First, the color input characteristic correction parameter acquired in the color input characteristic acquisition processing shown in FIG. 4, specifically, each numerical value shown in FIG. 8, is read (step 501).

【0042】次に、当該カラー画像入力機器で入力され
た実際の色データ(l,a,b)を読み込む(ステップ
502)。
Next, the actual color data (l, a, b) input by the color image input device is read (step 502).

【0043】次に、ステップ503,504,505,
506で色データ(l,a,b)のL成分の色補正を、
ステップ507,508,509,510でa成分の色
補正を、ステップ511,512,513,514でb
成分の色補正を行う。
Next, steps 503, 504, 505,
At 506, the color correction of the L component of the color data (l, a, b) is performed.
In steps 507, 508, 509, and 510, the color correction of the a component is performed, and in steps 511, 512, 513, and 514, the b correction is performed.
Performs component color correction.

【0044】例えば、a成分の補正は次のように行われ
る。まず、ステップ507で、色データ(l,a,b)
のaの値が、低レベル飽和域(aL≦a≦aj)か、非
飽和域(aj<a<ak)か、高レベル飽和域(ak≦
a≦aH)のどの範囲にあるかを調べ、その結果に従っ
てa成分の色補正方法を選択する。本実施例では、a成
分の色補正に用いる係数を、低レベル飽和域用係数(α
aL,βaL,γaL)、非飽和域用係数(αaM,β
aM,γaM)、高レベル飽和域係数(αaH,βa
H,γaH)の中から選択することになる。次に、選択
された色補正方法、即ち色補正の係数を用いてa成分の
色補正を行う。例えば、aL≦a≦ajの場合、低レベ
ル飽和域の色補正係数(αaL,βaL,γaL)が選
択され、式9によって補正された赤成分の値を得る(ス
テップ508)。ステップ509、ステップ510も同
様である。
For example, the correction of the component a is performed as follows. First, in step 507, the color data (l, a, b)
Is a low level saturation range (aL ≦ a ≦ aj), a non-saturation range (aj <a <ak), or a high level saturation range (ak ≦
a? aH) is checked, and a color correction method for the a component is selected according to the result. In this embodiment, the coefficient used for the color correction of the component a is a low-level saturation area coefficient (α
aL, βaL, γaL), coefficients for the unsaturated region (αaM, β
aM, γaM), high-level saturation region coefficients (αaH, βa
H, γaH). Next, the color correction of the component a is performed using the selected color correction method, that is, the color correction coefficient. For example, when aL ≦ a ≦ aj, the color correction coefficients (αaL, βaL, γaL) in the low-level saturation region are selected, and the value of the red component corrected by Expression 9 is obtained (step 508). Steps 509 and 510 are the same.

【0045】最後に、色補正された色データを出力する
(ステップ515)。即ち、カラー画像入力機器で入力
されたそのままの色データの代わりに、補正された色デ
ータをこのカラー画像入力機器で入力した色データとす
ることによって、カラー画像入力機器の色入力特性を補
正し、真の色データに近い色を得ることができる。
Finally, the color-corrected color data is output (step 515). That is, the color input characteristics of the color image input device are corrected by using the corrected color data as the color data input by the color image input device instead of the color data input directly by the color image input device. , A color close to the true color data can be obtained.

【0046】本実施例では、色データをCIE(L*
*,b*)で表現して色補正を行ったが、CIE
(L*,a*,b*)の代わりに従来の技術の説明で用い
た色表現方法(R,G,B)や、CIEXYZ表色系に
よる色表現方法を使うこともできる。
In this embodiment, the color data is represented by CIE (L * ,
a * , b * ) for color correction.
Instead of (L * , a * , b * ), a color expression method (R, G, B) used in the description of the related art or a color expression method based on the CIEXYZ color system can be used.

【0047】[カラー画像出力機器の色補正]カラー画
像出力機器の色補正も以下のようなわずかな変更で同様
に実現できる。つまり、図4の色入力特性取得処理フロ
ーチャート代わりに図8に示すフローチャートによって
対象とするカラー画像出力機器の色出力特性を取得す
る。
[Color Correction of Color Image Output Device] The color correction of the color image output device can be similarly realized by the following slight changes. That is, the color output characteristics of the target color image output device are acquired by the flowchart shown in FIG. 8 instead of the color input characteristic acquisition processing flowchart of FIG.

【0048】まず、色出力特性を調べるための色票を用
意し、ステップ901で、図4のステップ402と同様
に色票中に描かれている色の本来の色データ(Li,A
i,Bi)(iは色番号で、i=1,2,・・・,N.
Nは色票中の色の数)を、キーボードなどにより入力す
る。この場合も、色票の色に対応した色データをあらか
じめ記憶したROM等から、色票中に描かれている本来
の色データを入力するようにしてもよい。
First, a color chart for examining the color output characteristics is prepared, and in step 901 the original color data (Li, A) of the color drawn in the color chart as in step 402 of FIG.
i, Bi) (i is a color number, i = 1, 2,..., N.
N is the number of colors in the color chart) using a keyboard or the like. Also in this case, the original color data drawn in the color chart may be input from a ROM or the like in which color data corresponding to the color of the color chart is stored in advance.

【0049】次に、ステップ902において、ステップ
801で入力した真の色データ(Li,Ai,Bi)を
含むカラー画像を当該画像出力機器で出力し、出力され
たカラー画像中の色を測色計等の色の正確なデータを得
ることができる測定器で計測し、この計測された色デー
タ(li,ai,bi)を入力する。
Next, in step 902, a color image including the true color data (Li, Ai, Bi) input in step 801 is output by the image output device, and the colors in the output color image are measured. The color data (li, ai, bi) is input by measuring with a measuring device capable of obtaining accurate color data, such as a meter.

【0050】次に、ステップ903、904、905
で、真の色データ(Li,Ai,Bi)と計測された色
データ(li,ai,bi)に基づいて、図4のステッ
プ403、404、405と全く同様な処理で、色成分
毎に、低レベル飽和域、高レベル飽和域、非飽和域の色
出力特性(色出力特性補正パラメータ)を得る。次に、
ステップ905で、この取得した色出力特性補正パラメ
ータをメモリに記憶する。
Next, steps 903, 904, 905
Then, on the basis of the true color data (Li, Ai, Bi) and the measured color data (li, ai, bi), the same processing as in steps 403, 404, and 405 in FIG. , Color output characteristics (color output characteristic correction parameters) of a low level saturation region, a high level saturation region, and a non-saturation region. next,
In step 905, the obtained color output characteristic correction parameters are stored in the memory.

【0051】当該画像出力機器を実際に動作させる場
合、上記取得した色出力特性に基づいて、図5に示す色
補正処理を行う。即ち、出力しようとするカラー画像中
の全色データを、図5の処理手順で色補正し、色補正後
の色データを、当該カラー画像出力機器で出力すること
により、当該カラー画像出力機器の色出力特性による色
の変化を事前にキャンセルして正しい色を出力すること
ができる。
When the image output device is actually operated, a color correction process shown in FIG. 5 is performed based on the obtained color output characteristics. That is, all the color data in the color image to be output is color-corrected according to the processing procedure of FIG. 5, and the color data after the color correction is output by the color image output device. A change in color due to color output characteristics can be canceled in advance and a correct color can be output.

【0052】本実施例では、色データをCIE(L*
*,b*)で表現するとしたが、CIE(L*,a*,b
*)の代わりに従来の技術の説明で用いた色表現方法
(R,G,B)や、CIEXYZ表色系による色表現方
法を使うこともできる。
In this embodiment, the color data is represented by CIE (L * ,
a * , b * ), but CIE (L * , a * , b)
Instead of * ), a color expression method (R, G, B) used in the description of the related art or a color expression method using the CIEXYZ color system can be used.

【0053】以上、本発明の一実施形態について説明し
たが、図4、図5及び図9に示す処理手順は、色補正プ
ログラムとして、コンピュータが読み取り可能な記録媒
体、例えばフロッピーディスクやメモリカード、コンパ
クトディスク(CD−ROM)などに記録して提供する
ことが可能である。
Although the embodiment of the present invention has been described above, the processing procedures shown in FIGS. 4, 5 and 9 correspond to a computer-readable recording medium such as a floppy disk or a memory card as a color correction program. It can be recorded on a compact disk (CD-ROM) and provided.

【0054】[0054]

【発明の効果】以上説明したように、本発明によれば、
カラー画像入出力機器において、その色入出力特性が飽
和している入力または出力範囲を検出し、それらの飽和
域と非飽和域でそれぞれに適した色補正を施すことがで
き、結果として色データの全範囲でより正確な色補正が
可能となる。
As described above, according to the present invention,
In a color image input / output device, an input or output range where the color input / output characteristics are saturated can be detected, and appropriate color correction can be performed in each of a saturated region and a non-saturated region. More accurate color correction is possible in the entire range of.

【0055】安価なデジタルカメラでは色の再現性が悪
く、特に、徐々に彩度(色のあざやかさ)の低い色から
高い色に変わるような色をデジタルカメラで入力する
と、彩度の高い部分で入力結果の色の彩度が飽和してし
まう傾向が見られる。このような色入力特性を持つデジ
タルカメラについて、従来の技術で説明したような色補
正方法で色補正を行っても、前述の彩度が飽和する部分
で正確な色補正が行えなかった。一方、色を(L*
*,b*)で表現したとき、色の彩度はほぼa*または
*の大きさで表わされる。したがって、前述の実施例
で説明したように、a* またはb*に関する入出力の関係
が飽和しかかっている範囲を別の数式などで色補正を行
う事により、色の再現性が悪いデジタルカメラでも従来
技術より正確に色補正を行う事が出来る。
Inexpensive digital cameras have poor color reproducibility
Especially, from colors with gradually lower saturation (color vividness)
Inputting colors that change to high colors with a digital camera
And the saturation of the color of the input result is saturated in the high saturation part.
There is a tendency to go around. Digital with such color input characteristics
Color camera as described in the prior art.
Even if color correction is performed by the correct method, the above-mentioned saturation
Did not perform accurate color correction. On the other hand, if the color is (L*,
a*, B*), The color saturation is almost a*Or
b*It is represented by the size of Therefore, the aforementioned embodiment
As described above, a* Or b*Input / output relationship
Color correction using another formula etc.
Digital cameras with poor color reproduction
Color correction can be performed more accurately than technology.

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

【図1】本発明の色補正方法を実施するハードウエア構
成の概略ブロック図である。
FIG. 1 is a schematic block diagram of a hardware configuration for implementing a color correction method of the present invention.

【図2】カラー画像入出力機器の色入出力特性を示す図
である。
FIG. 2 is a diagram illustrating color input / output characteristics of a color image input / output device.

【図3】本発明を適用した場合の色入出力特性を示す図
である。
FIG. 3 is a diagram showing color input / output characteristics when the present invention is applied.

【図4】本発明による色入出力特性取得処理の一実施例
のフローチャートである。
FIG. 4 is a flowchart of one embodiment of a color input / output characteristic acquisition process according to the present invention.

【図5】本発明による色補正処理の一実施例のフローチ
ャートである。
FIG. 5 is a flowchart of an embodiment of a color correction process according to the present invention.

【図6】色票の一例を示す図である。FIG. 6 is a diagram illustrating an example of a color chart.

【図7】本来の色データと入力色データの関係を示す図
である。
FIG. 7 is a diagram showing a relationship between original color data and input color data.

【図8】本発明により得られる色入力特性補正パラメー
タの一例を示す図である。
FIG. 8 is a diagram showing an example of a color input characteristic correction parameter obtained by the present invention.

【図9】本発明による色出力特性取得処理の一実施例の
フローチャートである。
FIG. 9 is a flowchart of one embodiment of a color output characteristic acquisition process according to the present invention.

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

10 カラー画像入出力機器 20 データ入出力装置 30 色入出力特性取得処理部 40 色補正処理部 50 色補正パラメータメモリ 301 低レベル飽和域 303 非飽和域 305 高レベル飽和域 302,304,306 色入出力特性曲線 Reference Signs List 10 color image input / output device 20 data input / output device 30 color input / output characteristic acquisition processing section 40 color correction processing section 50 color correction parameter memory 301 low level saturation area 303 non-saturation area 305 high level saturation area 302, 304, 306 Output characteristic curve

───────────────────────────────────────────────────── フロントページの続き (72)発明者 落合 慶広 東京都新宿区西新宿三丁目19番2号 日本 電信電話株式会社内 (72)発明者 堀越 力 東京都新宿区西新宿三丁目19番2号 日本 電信電話株式会社内 Fターム(参考) 5C066 AA01 AA03 AA05 BA20 CA17 DD00 EA03 EA13 EC05 FA01 GA01 KD06 KE02 KE03 KE09 KE17 KL13 KM02 KM12 KM13 KM15 KN03 KN04 5C077 LL01 PP15 PP28 PP32 PP37 PP43 PP68 PQ22 PQ23 SS06 TT09 5C079 HB01 LB00 LB02 MA01 NA03 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Yoshihiro Ochiai 3-19-2 Nishi-Shinjuku, Shinjuku-ku, Tokyo Japan Telegraph and Telephone Co., Ltd. No. Nippon Telegraph and Telephone Corporation F-term (reference) LB00 LB02 MA01 NA03

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 カラー画像入出力機器の色入出力特性に
応じて入力した色データまたは出力しようとする色デー
タを補正する色補正方法において、 カラー画像入出力機器の色入出力特性を計測し、各色成
分毎に、入力の値の変化に対する出力の値の変化が所定
の変化率より小さい範囲とそれ以外の範囲を検出し、そ
れらの範囲毎に別々の入出力特性を求め、該求めた入出
力特性により各範囲毎に別々に色補正を行うことを特徴
とするカラー画像入出力機器の色補正方法。
1. A color correction method for correcting input color data or color data to be output according to color input / output characteristics of a color image input / output device, wherein the color input / output characteristics of the color image input / output device are measured. For each of the color components, a range in which the change in the output value with respect to the change in the input value is smaller than a predetermined rate of change, and other ranges are detected, and separate input / output characteristics are obtained for each of those ranges. A color correction method for a color image input / output device, wherein color correction is performed separately for each range according to input / output characteristics.
【請求項2】 カラー画像入出力機器の色入出力特性に
応じて入力した色データまたは出力しようとする色デー
タを補正するための色補正プログラムを記録した記録媒
体であって、 カラー画像入出力機器の色入出力特性を計測する処理プ
ロセスと、各色成分毎に、入力の値の変化に対する出力
の値の変化が所定の変化率より小さい範囲とそれ以外の
範囲を検出する処理プロセスと、各色成分毎、前記範囲
毎に別々の入出力特性を求める処理プロセスと、各色成
分毎、前記求めた入出力特性により各範囲毎に別々に色
補正を行う処理プロセスとを有することを特徴とするカ
ラー画像入出力機器の色補正プログラムを記録した記録
媒体。
2. A recording medium storing a color correction program for correcting color data input or output in accordance with color input / output characteristics of a color image input / output device, comprising: A process for measuring the color input / output characteristics of the device, a process for detecting, for each color component, a range in which a change in the output value with respect to a change in the input value is smaller than a predetermined rate of change, and a process in which the other range is detected. A color process, comprising: a process for obtaining input / output characteristics separately for each component and each range; and a process for separately performing color correction for each range based on the obtained input / output characteristics for each color component. A recording medium that stores a color correction program for an image input / output device.
JP10233264A 1998-08-19 1998-08-19 Color correction method for color image input output device and recording medium with color correction program recorded therein Pending JP2000069305A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10233264A JP2000069305A (en) 1998-08-19 1998-08-19 Color correction method for color image input output device and recording medium with color correction program recorded therein

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10233264A JP2000069305A (en) 1998-08-19 1998-08-19 Color correction method for color image input output device and recording medium with color correction program recorded therein

Publications (1)

Publication Number Publication Date
JP2000069305A true JP2000069305A (en) 2000-03-03

Family

ID=16952368

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10233264A Pending JP2000069305A (en) 1998-08-19 1998-08-19 Color correction method for color image input output device and recording medium with color correction program recorded therein

Country Status (1)

Country Link
JP (1) JP2000069305A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003008936A (en) * 2001-06-27 2003-01-10 Pioneer Electronic Corp Image signal processing unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003008936A (en) * 2001-06-27 2003-01-10 Pioneer Electronic Corp Image signal processing unit

Similar Documents

Publication Publication Date Title
EP0681396B1 (en) Method and apparatus for calibrating a four color printer
KR100300950B1 (en) Method and apparatus for correcting color
JP3242251B2 (en) Color image reproduction method
US5867286A (en) Color processing method and apparatus thereof using two-dimensional chromaticity separation
US20080204469A1 (en) Color Transformation Luminance Correction Method and Device
KR101990956B1 (en) Device for converting color gamut and method thereof
US8411936B2 (en) Apparatus and method for color reproduction
US8456511B2 (en) Method and apparatus for reproducing image using output prediction
JP2004252620A (en) Image processing device and method, and program
EP1560417A2 (en) System and method for clipping values of pixels in one color space so not to exceed the limits of a second color space
US8405673B2 (en) Color processing apparatus and color processing method
KR100834766B1 (en) Color management apparatus and method for the same
JP2004304793A (en) Color conversion apparatus and color conversion method
US9288456B2 (en) Image processing apparatus and method
JP2002109523A (en) Image pickup device, optical filter group, and image data converter
JPH1141622A (en) Image processor
JP2004032140A (en) Color gamut mapping method, color gamut mapping device, its program and storage medium
JP2000201279A (en) Color converting method and conversion processor
JP2000069305A (en) Color correction method for color image input output device and recording medium with color correction program recorded therein
JP2002027263A (en) Image processing method
JP4300780B2 (en) Color conversion coefficient creation method, color conversion coefficient creation apparatus, program, and storage medium
JP2005167929A (en) Image processing using information associated with image data
JP4221584B2 (en) Color processing apparatus, color processing method, and color processing program
JP2005269443A (en) Method and apparatus for image processing, program and recording medium
JP2002209117A (en) Image processing system, its image processing method and picture processor