JP4265033B2 - Color correction method, recording medium storing program for executing color correction method, color correction device, and display device - Google Patents

Color correction method, recording medium storing program for executing color correction method, color correction device, and display device Download PDF

Info

Publication number
JP4265033B2
JP4265033B2 JP16230299A JP16230299A JP4265033B2 JP 4265033 B2 JP4265033 B2 JP 4265033B2 JP 16230299 A JP16230299 A JP 16230299A JP 16230299 A JP16230299 A JP 16230299A JP 4265033 B2 JP4265033 B2 JP 4265033B2
Authority
JP
Japan
Prior art keywords
color
signal
color difference
difference signal
color 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.)
Expired - Lifetime
Application number
JP16230299A
Other languages
Japanese (ja)
Other versions
JP2000069496A5 (en
JP2000069496A (en
Inventor
啓一 新田
吉造 森
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.)
Nikon Corp
Original Assignee
Nikon 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 Nikon Corp filed Critical Nikon Corp
Priority to JP16230299A priority Critical patent/JP4265033B2/en
Publication of JP2000069496A publication Critical patent/JP2000069496A/en
Publication of JP2000069496A5 publication Critical patent/JP2000069496A5/ja
Application granted granted Critical
Publication of JP4265033B2 publication Critical patent/JP4265033B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、色信号を補正するための色補正方法、色補正方法を実行するためのプログラムを記憶した記録媒体、色補正装置及び表示装置に関するものである。
【0002】
【従来の技術】
被写体を撮像し映像信号を出力する撮像装置、又は入力される映像信号をモニタもしくはスクリーンに表示する表示装置等では、表示効果を上げるために、映像信号に含まれる赤、緑、青の色信号を補正する色補正装置が使用される。
【0003】
この場合、例えば被写体であるチューリップの赤色を強調するために単に赤の色信号を増幅したのでは、他の被写体の赤色成分も同じように強調してしまい、白色の被写体を白く見せるためのホワイトバランスを崩してしまう。
【0004】
そこで、白や黒の無彩色に対してはホワイトバランスを変えることなく、赤や緑等の有彩色に対してその色を強調するために次のような色補正装置が使用される。
【0005】
図20は従来の色補正装置の構成例である。マトリクス回路1は、入力信号である3つの色信号、即ち赤、緑、青の成分を含む信号(以後、R信号、G信号、B信号という。)から、色差信号R−Y、G−Y、B−Yと輝度信号Yとを生成する。
【0006】
ここで輝度信号Yは、R信号、G信号、B信号にそれぞれの重み付けを施して加算した信号であり、色差信号R−Y、G−Y、B−Yは、それぞれの色信号と輝度信号Yとの差である。輝度信号Y及び色差信号R−Y、G−Y、B−Yは、例えば、以下に示す式1で表される。
〔式1〕
Y=0.3R+0.59G+0.11B
R−Y=0.7R−0.59G−0.11B
G−Y=−0.3R+0.41G−0.11B
B−Y=−0.3R−0.59G+0.89B
マトリクス回路1で得られた色差信号R−Y、G−Y、B−Yは、それぞれ増幅器2に入力されて適当な係数a、b、c倍される。a、b、c倍された色差信号a(R−Y)、b(G−Y)、c(B−Y)は、それぞれ加算器3に入力されてマトリクス回路1から出力される輝度信号Yと加算され、強調された色信号R’、G’、B’が出力される。このときの強調された色信号R’、G’、B’を式2に示す。
〔式2〕
R’=a(R−Y)+Y
G’=b(G−Y)+Y
B’=c(B−Y)+Y
今、色補正装置に赤みがかかった被写体の映像信号が入力されている場合を考えると、赤の色差信号R−Yが正であって、増幅器2の増幅度aが1より大きければ、色信号R’は入力される色信号Rより大きくなり強調される。即ち、式2の色信号R’と色信号Rとの差を求めると、
〔式3〕
R’−R=(a−1)(R−Y)
となり、R−Y>0、a>1であれば、R’>Rとなり、色信号R’は、入力される色信号Rより大きくなり強調される。
【0007】
一方、増幅器2の増幅度a、b、cが1より大きくても色信号R、G、Bが等しい場合、即ち無彩色であれば、色信号R’、G’、B’は入力される色信号R、G、Bに等しい。即ち、R=G=Bの場合は、式1から各色差信号R−Y、G−Y、B−Yは0となり、色信号R’、G’、B’は輝度信号Yに等しくなる。このように図20の色補正装置では、無彩色が入力されると、その輝度信号に等しい無彩色が出力され、ホワイトバランスを崩すことはない。
【0008】
【発明が解決しようとする課題】
しかしながら、図20に示した従来の色補正装置では、色差信号をその大小にかかわらず一律に所定係数(増幅度)による乗算を施して増幅してしまうため、色を強調させない方が望ましい被写体の色まで強調してしまう。
【0009】
このため、被写体としてチューリップと人物の両方を撮影する場合、チューリップの赤を強調するために増幅器2の増幅度aを大きくすると、チューリップの赤は強調されるものの、人肌も赤くなりすぎ不自然になってしまう。
【0010】
一方、人肌が赤くなるのを防止するために増幅度aを小さくすると、チューリップの赤が強調されず表示効果が上がらない。
【0011】
また、被写体が風景で、晴天時の日陰における雪と芝生、又は青空を含む画像の場合、芝生の緑又は青空の青は強調した方が好ましいが、雪はなるべく白い方がよい。このため、芝生の緑又は青空の青は強調しても、雪の白色に含まれる緑又は青の成分は強調しない方がよい。
【0012】
そこで、本発明は、被写体の色を強調する場合に、強調させた方が望ましい被写体の色だけを強調することができる色補正方法、色補正方法を実行するためのプログラムを記憶した記録媒体、色補正装置及び表示装置を提供することを目的とする。
【0013】
【課題を解決するための手段】
上記課題の解決のため、本発明の色補正方法は、
色信号と輝度信号の差を示す複数の色差信号に対して、該色差信号の少なくとも2つのレベルで乗算係数の異なる非線形演算を施す第1のステップと、
該非線形演算の結果に対して前記輝度信号を加算し、補正された色信号を得る第2のステップと
を含む。
【0014】
また、さらに、前記非線形演算の変換特性、及び/または前記非線形演算のパラメ−タを入力するステップを含んでもよい。
【0015】
また、前記第2のステップの終了後、補正される前の色信号を得るステップを含んでもよい。
【0016】
また、前記補正される前の色信号を得るステップが、下記の(A)〜(C)の何れかによることとしてもよい。
(A)再度色信号あるいは色差信号を取得する
(B)補正される前の色信号あるいは色差信号のデータを記憶しておき、それを読み出すことにより得る
(C)補正時の変換特性、パラメ−タ、及び輝度データを記憶しておき、色補正処理を行った結果に対して、前記変換特性、パラメ−タ、及び輝度デ−タを用いて逆演算を施す。
【0017】
また、前記輝度信号のデ−タを記憶しておき、1回目の色補正処理の後、前記輝度信号のデ−タと、1回目の色補正処理における変換特性、及びパラメ−タより、前記1回目の色補正処理前の、色差信号を求め、この結果を基にして、2回目の色補正処理における変換特性、及び/またはパラメ−タにより2回目の色補正処理を行うステップを含んでもよい。
【0018】
また、前記輝度信号のデ−タを記憶しておくステップを含み、
1回目の色補正処理を行った後に、等価的に前記輝度信号のデータに基づいて等価的に1回目の色補正前の色差信号のデータを得、前記1回目の色補正処理と同じもしくは異なる変換特性、及び/またはパラメ−タをもつ2回目の色補正処理を行うこととしてもよい。
【0019】
また、前記非線形演算の変換特性、及び/又はパラメ−タを、表示装置の表示画面上の領域によって異なるように設定可能としてもよい。
【0020】
また、入力される画像データから前記色差信号を生成するステップを含み、そのステップの前に、入力される画像データを固定するステップを有することとしてもよい。
【0021】
また、色補正処理前の画像デ−タと、その色補正処理における変換特性及びパラメ−タを、着脱可能な記憶媒体、もしくは、外部記憶装置に転送するステップを有することとしてもよい。
【0022】
また、前記輝度信号又は前記画像デ−タは、可逆変換可能な形態で圧縮して記憶されることとしてもよい。
【0033】
また、本発明の色補正装置は、
色信号と輝度信号の差を示す複数の色差信号に対して、該色差信号の少なくとも2つのレベルで乗算係数の異なる非線形演算を施す第1の手段と、
該非線形演算の結果に対して前記輝度信号を加算し、補正された色信号を得る第2の手段とを含む構成である。
【0034】
また、さらに、前記非線形演算の変換特性、及び/または前記非線形演算のパラメ−タを入力する手段を含む構成としてもよい。
【0035】
また、前記第2の手段での処理が終了後、補正される前の色信号を得る手段を有する構成としてもよい。
【0036】
また、前記補正される前の色信号を得る手段が、下記の(A)〜(C)の何れかによることととしてもよい。
(A)再度色信号あるいは色差信号を取得する
(B)補正される前の色信号あるいは色差信号のデータを記憶しておき、それを読み出すことにより得る
(C)補正時の変換特性、パラメ−タ、及び輝度データを記憶しておき、色補正処理を行った結果に対して、前記変換特性、パラメ−タ、及び輝度デ−タを用いて逆演算を施す。
【0037】
また、前記輝度信号のデ−タを記憶する記憶手段を有し、1回目の色補正処理の後、前記輝度信号のデ−タと、1回目の色補正処理における変換特性、及びパラメ−タより、前記1回目の色補正処理前の、色差信号を求め、この結果を基にして、2回目の色補正処理における変換特性、及び/またはパラメ−タにより2回目の色補正処理を行う第3の手段を有する構成としてもよい。
【0038】
また、前記輝度信号のデ−タを記憶する記憶手段を有し、
1回目の色補正処理を行った後に、等価的に前記輝度信号のデータに基づいて等価的に1回目の色補正前の色差信号のデータを得、前記1回目の色補正処理と同じもしくは異なる変換特性、及び/またはパラメ−タをもつ2回目の色補正処理を行う構成としてもよい。
【0039】
また、前記第1の手段における前記非線形演算の変換特性、及び/又はパラメ−タを、表示装置の表示画面上の領域によって異なるように設定可能とする構成としてもよい。
【0040】
また、入力される画像データから前記色差信号を生成する色差信号生成手段を有し、その色差信号生成手段によって色差信号を生成する前に入力される画像データを固定する手段を有する構成としてもよい。
【0041】
また、色補正処理前の画像デ−タと、その色補正処理における変換特性及びパラメ−タを、着脱可能な記憶媒体、もしくは、外部記憶装置に転送する転送手段を有する構成としてもよい。
【0042】
また、前記輝度信号又は前記画像デ−タは、可逆変換可能な形態で圧縮して記憶される構成としてもよい。
【0043】
また、本発明の色補正装置は、
赤、緑、青色成分を含む3種の色信号が入力され、少なくとも1種の前記色信号を増幅して出力する色補正装置であって、
輝度信号と、前記色信号から前記輝度信号を減算した少なくとも1種の色差信号を出力するマトリクス手段と、
前記色差信号のレベルに応じて異なる増幅度で前記色差信号を増幅する色差信号強調手段と、
前記色差信号強調手段からの出力と前記輝度信号とを加算する加算手段とを有する構成である。
【0044】
また、本発明の色補正装置は、
赤、緑、青色成分を含む3種の色信号と輝度信号との差を示す複数の色差信号のレベルに応じて異なる増幅度で前記色差信号を増幅する色差信号強調手段と、前記色差信号強調手段からの出力と前記輝度信号とを加算して増幅された色信号を出力する加算手段と
を有する構成である。
【0046】
また、前記色差信号強調手段は、前記色差信号の少なくとも2つのレベルで増幅度が異なる構成としてもよい。
【0048】
また、前記色差信号強調手段は、所定のレベル範囲の前記色差信号の通過を阻止し、前記所定のレベル範囲外の前記色差信号を通過させるコアリング手段と、
前記コアリング手段の出力を増幅する増幅手段と、
前記増幅手段の出力と前記色差信号とを加算する第2の加算手段とを有する構成としてもよい。
【0052】
また、本発明の表示装置は、撮像した被写体の画像信号が入力され、前記被写体の像を表示する表示装置であって、上記いずれかの色補正装置を備えた構成である。
【0053】
【発明の実施の形態】
以下、本発明の実施形態について説明する。
【0054】
色差信号R−Y,G−Y,B−Yを、そのレベルに応じて異なる係数で乗算し、色差信号R−Y,G−Y,B−Yを部分的に強調した色差信号(R−Y)',(G−Y)',(B−Y)'を求める。
【0055】
部分的に強調された色差信号(R−Y)',(G−Y)',(B−Y)'は、それぞれ輝度信号Yと加算され、部分的に強調された色信号R",G",B"を求める。
【0056】
この部分的に強調された色信号R",G",B"を[式4]に示す。
【0057】
[式4]
R"=(R−Y)'+Y
G"=(G−Y)'+Y
B"=(B−Y)'+Y
図18(a)〜(d)は、上記の色差信号R−Y,G−Y,B−Yと、上記の部分的に強調された色差信号(R−Y)',(G−Y)',(B−Y)'の変換特性の例を示す図である。図18において、横軸は、各色の色差信号(例えばR−Y)、縦軸は各色の部分的に強調された色差信号(例えば(R−Y)')を示している。
【0058】
図18(a)は、横軸のp,qは、乗算の際の係数(グラフの傾き)を変化させる点を示しており、色差信号R−Yが正であればしきい値pより高い部分で、負であればしきい値qより低い部分で、乗算の係数が大きくなる。尚、pとqの絶対値は、等しい必要はない。
【0059】
即ち、p〜q間の乗算係数はA(例えば1)であるが、その範囲外の乗算係数はB(例えば2)となる。従って、色の鮮やかな部分の画像がより鮮やかになり、鮮やかでない部分はそのままとなり自然な画像が得られる。
【0060】
図18(b)は、色差信号レベルに応じて、乗算の係数が連続的に変わる変換特性を有する。即ち、
[式6]
(R−Y)'=C(R−Y)^X
(G−Y)'=C(G−Y)^X
(B−Y)'=C(B−Y)^X
(^はべき乗を示し、a^XはaのX乗を示す。Xは1,0以外の数。但し、Xが偶数の時、(R−Y),(G−Y),(B−Y)が負の場合はC=−1、(R−Y),(G−Y),(B−Y)が正の場合はC=1。Xが奇数の時は、C=1)
のように色差信号のX乗を出力する変換特性を有する。この場合は、強調される色の度合いが徐々に変化し、図18(a)より自然な画像が得られる。
【0061】
例えば、上記のように、上記の色差信号と、上記の部分的に強調された色差信号の複数の変換特性例が用意される場合には、その中の一つの変換特性を選択し、しきい値p、qと変換特性のグラフの傾き、もしくはXの値を設定する。この設定は、ユーザが数値を設定するものであっても、デフォルトとして定められているものの中から選択するようにしてもよい。
【0062】
これにより、色差信号から、部分的に強調された色差信号への変換特性が決定される。
【0063】
次に、実際に画像の色を補正する場合について、図3、図4及び表1を用いて説明する。
【0064】
【表1】

Figure 0004265033
図3は、画像中の人肌部分の信号値の例を示し、図4は画像中のチュ−リップ部分の信号値の例を示す。
【0065】
また、表1は、それぞれの画像に対するR、G、B信号値と色差信号値の例である。尚、ディジタル信号処理において演算を行う場合、信号値は、ディジタル値で示されるが、以降の説明では、簡単の為、相対値として記載している。
【0066】
図3(a)は、画像の人肌の領域のR、G、B信号値を示す。それぞれの信号値は表1に示すように、R=0.81、G=0.57、B=0.47である。
【0067】
図3(b)は、[式1]をもとに計算された色差信号R−Y,G−Y,B−Yを示し、それぞれの値は、表1に示すようにR−Y=0.18、G−Y=−0.06、B−Y=−0.16となる。また、輝度信号Yは、[式1]より0.63となる。
【0068】
ここで、上記の色差信号と、上記の部分的に強調された色差信号の変換特性として、ユーザが図18(a)の変換特性を選択したものとし、しきい値p点、q点としては、赤の色差信号R−Yに対してRp,Rq、緑の色差信号G−Yに対してGp,Gq、青の色差信号B−Yに対してBp,Bqとし、例えば以下の値をとるものとする。
[式5]
Rp=0.2、Rq=−0.13
Gp=0.03、Gq=−0.1
Bp=0.2、Bq=−0.3
各色差信号におけるp点、q点のレベルは、図3(b)において破線で示される。また、変換特性の乗算係数(変換特性における傾き)は、各色差信号の変換特性に対してp点からq点までを1、その範囲外を2とする。尚、上記の例では、p、qの各々について定義したが、特にp、qの両方を指定する必要はなく、p、又はqの片方のみを定義するようにしてもよい。
【0069】
この場合、人肌部分の色差信号値R−Y、G−Y,B−Yは、上記のp点とq点の間にあるので、乗算係数は1である。
【0070】
即ち、強調された色差信号値(R−Y)',(G−Y)',(B−Y)'は、図3(c)に示すように、
(R−Y)'=0.18
(G−Y)'=−0.06
(B−Y)'=−0.16
となり、各々(R−Y),(G−Y),(B−Y)と等しい値となる。
【0071】
強調された色信号R",G",B"の値は、[式1]より以下に示すように計算される。
R"=0.81
G"=0.57
R"=0.47
即ち、R、G、Bの値と等しいものとなり、色強調処理は、実質的に施されていないことがわかる。
【0072】
一方、図4は、画像のチュ−リップの領域の信号値の例であり、図4(a)は、同領域のR、G、Bの信号値を示す。それぞれの信号値は、表1に示されるように、R=0.81、G=0.27、B=0.33である。
【0073】
図4(b)は、[式1]をもとに計算された色差信号R−Y,G−Y,B−Yを示し、それぞれの値は、表1に示すように
R−Y=0.37、G−Y=−0.17、B−Y=−0.11
となる。また、輝度信号Yは、[式1]より0.44となる。
【0074】
ここで、上記の色差信号と、上記の部分的に強調された色差信号の変換特性が、上記と同様の変換特性とすると、例えば、赤の色差信号値R−YがRp=0.2より高くなっており、図18(a)よりわかるように、Rpからの超過分0.17が乗算係数2で乗算されて、強調された色差信号値(R−Y)'は0.54となる。
【0075】
また、図4(b)に示す緑の色差信号値G−Yは、Gq=−0.1より負の方向にレベルが高い。従って、強調された色差信号値(G−Y)'は、図4(c)に示すように、Gqからの超過分−0.07が乗算係数2で乗算されて、−0.24となる。
【0076】
一方、青の色差信号値B−Yは、しきい値BpとBqの間にあるので、強調された色差信号値(B−Y)'は−0.11のままとなる。
【0077】
図4(d)に強調された色信号値R"、G"、B"を示す。
【0078】
R"は、強調された色差信号値(R−Y)'=0.54に輝度信号値Y=0.44が加算されて0.98となり、G"は、強調された色差信号値(G−Y)'=−0.24に輝度信号値Y=0.44が加算されて0.2となる。一方、B"は、強調された色差信号値(B−Y)'=−0.11に輝度信号値Y=0.44が加算され、色信号値Bと同じ、即ち0.33となる。
【0079】
このように、図18(a)の変換特性の場合、人肌のように画像の色差が小さい場合、即ちR、G、Bの信号値が近接しており、無彩色に近い色に関しては、信号値は変わらない。
【0080】
一方、チュ−リップのように画像の色差が大きい場合、即ちR、G、B信号値の差が大きく、有彩色に近い色に関しては、その色が強調されることがわかる。
【0081】
次に、図18(a)のしきい値p,qについて説明する。
【0082】
表1に示す被写体が1枚の画像の中に存在する場合について考える。
【0083】
例えば、色差信号R−Yの上記画像のヒストグラムは、図12に示すようなものとなる。横軸は、色差信号値、縦軸は、画素数を示している。ここで、画像中の被写体領域の大きさ、各被写体領域の単色性によって、各領域のヒストグラムの拡がり、高さが異なってくる。
【0084】
しきい値pの値は、強調したい色の領域と、ヒストグラム上でその隣の領域の間に設定する。例えば、Rの色について、チュ−リップの赤のみを強調したい場合には、図12のチュ−リップと人肌の領域の間のある値に設定する。
【0085】
一方、しきい値qの値は、その量を減らしたい領域と、ヒストグラム上でその隣の領域の間に設定する。例えば、Rの色について、青空の領域のみ、その量を若干減らしたいような場合には、図12の青空の領域と晴天時日陰雪の領域の間のある値に設定する。
【0086】
ここで、上記の領域が明確に分離していない場合には、図18(a)のような不連続な変換特性よりも、図18(b)に示されるような連続的な変換特性のほうが適している。
【0087】
また、図18(c)に示すような色差信号から、強調された色差信号への変換特性とすることで、無彩色に近い部分のホワイトバランスのみを若干ずらして、有彩色部の色特性はそのままとしたい場合についても対応することができる。但し、この特性では、不連続な部分が存在する為、図18(d)に示すような変換特性とすることが望ましい。また、この場合は、後述のように、再度色強調処理を行う場合には、入出力の関係が1:1で定まらない為、色補正処理を施す前の画像デ−タを記憶しておかないと、不都合となる場合がある。
【0088】
上記の色強調処理を行うシステムのブロックダイアグラムを図17に示す。
【0089】
端子508,509,510より入力される、アナログR、G、Bの映像信号は、A/D変換器501でディジタル信号に変換される。制御部516は、端子514,515から入力される水平(HD)、垂直(VD)同期信号をもとに、PLLを構成し、各ブロックを制御する。
【0090】
A/D変換器501でディジタル化されたR、G、B映像信号は、メモリ部502に書き込まれる。また、メモリ部502は、D/A変換器503に接続される。メモリ部502より読み出されたディジタル映像信号は、D/A変換器503でR、G、Bアナログ映像信号に変換され、不図示の表示装置、画像形成装置等に出力される。
【0091】
ここで、メモリ部502は、CPU504により制御部516を介して、メモリ部502のフリーズ、スル−制御が可能である。具体的には、制御部516は、CPU504の指令により、メモリ部502へのデータの書き込みを禁止することで、出力画像をフリーズ(freeze)し、メモリ部502への書き込みを連続的に許可することで出力画像をスルー(through)とする。尚、メモリ部502からの画像デ−タの読み出しは常に行われている。
【0092】
D/A変換器503は、オーバーレイメモリ517に接続される。オーバーレイメモリ517には、オンスクリーンディスプレイデータが記憶される。CPU504の指令に基づいて、記憶されたオンスクリーンデータはD/A変換器503に出力される。このようにして、ディジタル映像信号とオーバーレイメモリ517に記憶されるオンスクリーンディスプレイデータが、D/A変換器503で混合される。
【0093】
メモリ部502は、CPU504のワーキングメモリであるRAM506にも接続されている。CPU504には、キーボード505、上記色補正処理を行うプログラム等の格納される記憶媒体507も接続されている。
【0094】
図13は、上記の色補正処理を行う動作を示すフローチャートである。
【0095】
まず、ステップS101で、キーボード505からのCPU504に画像をフリーズするコマンドを入力する。CPU504は、このコマンドにより、制御部516にフリーズ制御信号を送出する。制御部516は、メモリ部502へのディジタルデータの書き込みを禁止する。
【0096】
ステップS102で、上記の、色差信号から強調された色差信号への変換特性が、例えば図19に示すような形でオンスクリーンディスプレイされ、キーボード505や、不図示のマウス等のポインティングデバイスにより、このうちの1つを選択する。尚、この際、パラメータの設定が必要な場合には、同パラメータについても、キーボード505や、マウス等のポインティングデバイスにより設定する。
【0097】
ステップS103では、メモリ部502よりRAM506に、ディジタル画像データを転送する。ステップS103’でCPU504は、RAM506に転送されたディジタル画像データを用いて[式10]の演算を1画面について順次行い、演算結果をRAM506に書き込む。
[式10]
R"=h(R−Y)+Y
G"=j(G−Y)+Y
B"=k(B−Y)+Y
(h(R−Y)、j(G−Y)、k(B−Y)は、各々(R−Y)、(G−Y)、(B−Y)の関数を示す)
尚、この際、輝度(Y)デ−タについても、必要に応じて、RAM506に記憶する。RAM506への記憶は、輝度(Y)デ−タを圧縮しても構わないが、再度、色強調処理を行う場合の、再生画像を高画質化する為には、可逆変換可能(Lossless)な圧縮とすることが望ましい。
【0098】
ステップS104で、[式10]によるRAM506に記憶された演算結果をメモリ部502に転送する。
【0099】
尚、上記ではRAM506に1画面分のデータの記憶容量を持たせる構成としたが、RAM506を小容量として、メモリ部502より1画面分のデータ量より少ない所定容量の画像データをRAM506に転送し、CPU504で、所定容量の画像データについての演算が終了後、メモリ部502にデータを転送するようにしてもよい。この処理を1画面分の画像データについて繰り返す。
【0100】
ステップS105では、出力画像の確認を行い、所望の効果が得られれば、色強調処理を終了する。この際、所望の効果が得られない等の場合には、上記の色補正処理を再度行う為に、上記の1回目の色補正処理を施す前の画像デ−タが必要となる。この画像デ−タを得る為には、キーボード5からの入力により、フリ−ズ状態を解除して、一度スルー状態に戻して(ステップS201)から再度フリーズ状態として(ステップS101)、色強調処理を施す前の画像デ−タを取得すればよい。
【0101】
また、色補正処理を再度行う為に、メモリ部502、又はRAM506に色補正処理を施す前の画像データを記憶する記憶領域を確保して、この領域に、色補正処理を施す前の画像デ−タ(R、G、B、又はR−Y、G−Y,B−Y)を記憶し、2回目以降の変換特性、パラメータの設定後の処理(ステップS103〜)に使用してもよい。この場合の動作を図14のフローチャートに示す。
【0102】
図14において、S101、S102は図13と同様であり、ステップS103aにおいて、メモリ部502よりRAM506に転送されたディジタル画像データをRAM506に記憶する。2回目以降のステップS103bにおいて、CPU504による演算に用いられるデータは、前の色補正処理の際にメモリ部502から転送されたデータ(すなわち前回のステップS103bで記憶しておいた画像データ)である。S103’S104、S105は図13と同様である。
【0103】
この場合、2回目以降の色補正処理においては、メモリ部502からRAM506へのデータの転送は行われない。この、RAM506に記憶されている色補正処理を施す前の画像データは、ステップS105が肯定された時点で不要となる。
【0104】
また、色補正処理がなされた画像データ(R"、G",B")より、[式10]の逆の演算を行い、色補正処理の施される前の画像デ−タ(R,G,B、又はR−Y,G−Y,B−Y)を求め、この画像デ−タ(R、G、B、又はR−Y,G−Y,B−Y)を、2回目以降の色補正処理に使用してもよい。但し、この逆演算においては、前の色補正処理における変換特性、及びパラメ−タ、輝度(Y)のデ−タが必要となるので、前回の色強調処理における変換特性、及びパラメ−タ、輝度デ−タ(Y)を、例えばRAM506に記憶しておく必要がある。この場合の動作を図15のフローチャートに示す。
【0105】
図15において、S101、S102、103’、S104、S105は図13と同様である。ステップS103cにおいて、色強調処理における変換特性、及びパラメ−タ、輝度デ−タ(Y)をRAM506に記憶しておく。
【0106】
上記の逆演算は、ステップS203において行われる。具体的には、前回の色補正処理により得られた色補正されたR"、G"、B"より、RAM506に記憶されている輝度(Y)デ−タを減算し、h(R−Y)、j(G−Y),k(B−Y)を求める。色強調処理の各変換特性において、部分的に強調された色差信号は、色差信号により1対1の関係で決定される為、R−Y、G−Y,B−Yを求めることができる(但し、前回の色補正処理において、図18(c),図18(d)の特性を選択した場合は、出力と入力が1対1に対応しない場合があるから、1つの出力に対して1つの入力を定義できないことがある。そのため、このような手法は用いることはできない)。
このようにして求められたR−Y,G−Y,B−Yは、RAM506に記憶され、次の色補正処理に用いられる。(ステップS103’c)
この、RAM506に記憶されている色補正処理を施す前の輝度(Y)の画像データ、変換特性、及びパラメ−タは、ステップS105が肯定された時点で不要となる。
【0107】
上記説明では、再度色強調処理を行う際に、一度等価的に前回の色強調処理を施す前の画像デ−タを復元する例について示している。
【0108】
これとは別に、一度色補正処理された画像デ−タに対して、さらに別、又は同じ変換特性、及び/又はパラメ−タの色補正処理を施す場合には、特に、前回の色補正処理を施す前の画像デ−タの記憶、復元は不要である。この場合の動作は図16のフロ−チャ−トに示す。
【0109】
出力画像の確認のステップS105において、再度、追加で色補正処理を施す必要がある場合には、ステップS204により、追加で施す色補正処理における変換特性、及び/又はパラメ−タを設定する。ステップ103’では、前回の色補正処理で得られた結果に対して、ステップS204での設定に基づいた色補正処理が行われる。他のステップは図13と同様である。
【0110】
図17中の記憶媒体518は、例えばPCカード、サ−バ−のメモリなどの記憶媒体であり、必要に応じて圧縮された画像データと、上記ステップS102で設定された変換特性、及び必要に応じて設定されたパラメ−タが記憶される。
【0111】
この画像データを再び再生する場合には、必要に応じて圧縮された画像データは解凍され、一緒に記憶されていた、変換特性、パラメ−タに基づいて、CPU504により色強調処理が行われる。この場合、画像デ−タが記憶されているのは、記憶媒体518であり、CPU504により演算された結果がRAM506から、メモリ部502に転送される。
【0112】
上記の圧縮は、再生画像を高画質化する為に、可逆再生可能(Lossless)とすることが望ましい。
【0113】
但し、上記の記憶媒体518に記憶する画像デ−タが、色補正処理後の画像デ−タの場合には、特にこの限りではなく、また、変換特性、パラメ−タ等の記憶も不要となる。
【0114】
尚、上記の実施の形態では、画面の全領域について、同じ変換特性、パラメ−タで色強調処理を行うようにしたが、画面を複数の領域に分割し、各分割領域について異なる変換特性、及び/又はパラメ−タで色強調処理を行うようにしてもよい。この場合、前述のように、各領域毎に、変換特性,及び/又はパラメ−タの記憶が必要となる場合がある。
【0115】
上記説明では、R、G、Bの信号値が与えられて、これより各色差信号を算出する例について示したが、各色差信号、コンポジット信号等のその他の信号が与えられる場合についても、本発明を適用することができる。
【0116】
以上説明した色補正方法の手順は、CPU504が読み取り可能なコンピュータプログラムとして、記憶媒体507に記憶されており、CPU504がこのプログラムを記憶媒体507から読み出して実行される。
本発明の別の実施の形態について図面に従って説明する。図1は、本発明の実施の形態の色補正装置の構成例である。
【0117】
マトリクス回路1は、入力信号であるR信号、G信号、B信号から、式1に示す輝度信号Yと色差信号R−Y、G−Y、B−Yとを生成し、色差信号R−Y、G−Y、B−Yを色差信号強調回路4に出力する。
【0118】
色差信号強調回路4は、入力される色差信号のレベルに応じて異なる増幅度を有する増幅器で、色差信号R−Y、G−Y、B−Yを部分的に強調した色差信号(R−Y)'、(G−Y)'、(B−Y)'を出力する。
【0119】
部分的に強調された色差信号(R−Y)'、(G−Y)'、(B−Y)'は、それぞれ加算器3に入力され、マトリクス回路1から出力される輝度信号Yと加算される。加算器3は、それらの信号から部分的に強調された色信号R"、G"、B"を出力する。この部分的に強調された色信号R"、G"、B"は式4に基づいて得られる。
【0120】
図2は、本発明の実施の形態の色差信号強調回路4の入出力特性例で、赤の色差信号R−Yが入力される場合を示す。図2において、横軸は入力の赤の色差信号R−Yを示し、縦軸は出力である強調された色差信号(R−Y)'を示す。また、横軸のp、qは増幅度が変化するしきい値を示し、この場合はp=0.3、q=−0.3である。
【0121】
色差信号強調回路4は、図2に示すように色差信号R−Yが正であればしきい値pより高い部分、負であればしきい値qより低い部分の増幅度が大きくなる。即ち、p〜q間の増幅度はA(例えば、1)であるが、その範囲外の増幅度はB(例えば、2)となる。従って、画面の中で色の鮮やかな部分の画像がより鮮やかになり、鮮やかでない部分はそのままとなり自然な画像が得られる。
【0122】
次に、本実施の形態の色補正装置で具体的な被写体の色を補正する場合について、図3、図4及び表1を用いて説明する。図3は、人肌を撮影する場合の信号例を示し、図4はチューリップを撮影する場合の信号例を示す。また、表1は、それぞれの被写体に対するR、G、B信号と色差信号の値の例である。
【0123】
図3(a)は、被写体が人肌の場合に色補正装置に入力されるR、G、B信号を示す。それぞれの信号の値は表1に示すように、
R=0.81、G=0.57、B=0.47
である。
【0124】
図3(b)は、色補正装置のマトリクス回路1から出力される色差信号R−Y、G−Y、B−Yを示し、それぞれの値は表1に示すように、
R−Y=0.18、G−Y=−0.06、B−Y=−0.16
となる。なお、輝度信号Yは、式1より0.63となる。
【0125】
ここで、図2のしきい値であるp点、q点として、赤の色差信号R−Yに対してRp、Rq、緑の色差信号G−Yに対してGp、Gq、青の色差信号B−Yに対してBp、Bqとし、例えば式5に示した値をとるものとする。
【0126】
各色差信号におけるp点、q点のレベルは、図3(b)における点線で示される。また、色差信号強調回路4は、図2と同様に各色差信号に対してp点からq点間での増幅度を1、その範囲外の増幅度を2とする。
【0127】
p点、q点のレベルが図3(b)の場合、人肌の各色差信号R−Y、G−Y、B−Yは、上記の各p点とq点の間にあるので、増幅度1で色差信号強調回路4から出力される。
【0128】
即ち、色差信号強調回路4の出力である色差信号(R−Y)'、(G−Y)'、(B−Y)'は、図3(c)に示すように、
(R−Y)'=0.18
(G−Y)'=−0.06
(B−Y)'=−0.16
となり、入力である色差信号(R−Y)、(G−Y)、(B−Y)と等しい。
【0129】
色差信号(R−Y)'、(G−Y)'、(B−Y)'は、加算器3により輝度信号Y=0.63と加算される。従って、色補正装置の出力である色信号R"、G"、B"は、図3(d)に示すように、
R"=0.81
G"=0.57
B"=0.47
となり、入力の色信号R、G、Bがそのまま出力される。
【0130】
図4は、被写体がチューリップの場合の信号例であり、図4(a)は、マトリクス回路1に入力されるR、G、B信号を示す。それぞれの信号の値は表1に示すように、
R=0.81、G=0.27、B=0.33
である。
【0131】
図4(b)は、マトリクス回路1から出力される色差信号R−Y、G−Y、B−Yを示し、それぞれの値は、
R−Y= 0.37
G−Y=−0.17
B−Y=−0.11
である。なお、輝度信号Yは式1より0.44となる。
【0132】
ここで、色差信号強調回路4のしきい値であるp点、q点を式5の値とすると、赤の色差信号R−YがRp=0.2よりレベルが高い。従って、色差信号強調回路4の出力は、図4(c)に示すようにRpからの超過分0.17が増幅度2で増幅されて0.34となり、増幅度1で出力される0.2と加算されて、強調された色差信号(R−Y)’は0.54となる。
【0133】
また、図4(b)に示す緑の色差信号G−Yは、Gq=−0.1より負の方向にレベルが高い。従って、強調された色差信号(G−Y)'は、図4(c)に示すように、Gqからの超過分−0.07が増幅度2で増幅されて−0.14となり、増幅度1で出力される−0.1と加算されて−0.24となる。
【0134】
一方、青の色差信号B−YはBpとBqの間にあるから、色差信号強調回路4の出力である色差信号(B−Y)'は−0.11のままである。
【0135】
図4(d)は色補正装置の出力を示す。色信号R"は、色差信号(R−Y)'=0.54に輝度信号Y=0.44が加算されて0.98となり、色信号G"は、色差信号(G−Y)'=−0.24に輝度信号Y=0.44が加算されて0.2となる。一方、色信号B"は、色差信号(B−Y)'=−0.11に輝度信号Y=0.44が加算され、入力される色信号Bと同じレベル即ち0.33で出力される。
【0136】
このように本実施の形態の色補正装置では、人肌のように被写体の色差が小さい場合、即ちR、G、B信号のレベルが近接しており、淡い印象を与える色に関しては入力レベルと同じレベルで出力される。一方、チューリップのように被写体の色差が大きい場合、即ちR、G、B信号のレベル差が大きく、比較的鮮やかな印象を与える色に関しては、その色が強調されて出力される。
【0137】
図2の色差信号強調回路4の入出力特性例では、p点、q点において増幅度が異なる場合を示したが、色差信号の入力レベルに応じて増幅度が連続的に変わるようにしてもよい。即ち、
〔式6'〕
(R−Y)'=(R−Y)^3
(G−Y)'=(G−Y)^3
(B−Y)'=(B−Y)^3
(a^3は、aの3乗を示す)
のように、入力信号の3乗を出力する特性としてもよい。この場合は、強調される色の度合いが徐々に変化し、より自然な画像が得られる。
【0138】
図5は、図1に示した色差信号強調回路4の具体例で、赤の色差信号R−Yを強調する場合を示す。色差信号R−Yは、コアリング回路6と色差信号R−Yに所定の遅延時間を与えるディレイライン5とに入力される。
【0139】
コアリング回路6は、例えば図6に示す入出力特性を有しており、入力信号が所定のレベル範囲、即ちコアリングレベルであるp点とq点の間にある場合は入力信号を遮断し、入力信号が所定のレベル範囲外、即ちp点とq点の範囲外にある場合は信号を出力する。この場合、コアリングレベルp、qを外部から設定できるようにすれば、強調する色差信号のレベルを変えることができる。例えば、p点のレベルを低く設定すると、比較的淡い色でも強調することができる。コアリング回路6を通った信号は、増幅度Aの増幅回路7により増幅され、加算器8によりディレイライン5を通った色差信号R−Yと加算されて強調された色差信号(R−Y)'となる。
【0140】
また、図5に示すコアリング回路6、増幅回路7、加算器8の機能をルックアップテーブル(Look Up Table)を用いて実現してもよい。この場合、ディレイライン5の機能は不要となる。ルックアップテーブルを、例えば、書き換え可能なメモリで構成し、メモリの各アドレスには、(R−Y)の値が入力され、メモリの対応するアドレスの各データ部には、(R−Y)を入力した場合の(R−Y)'の計算結果が書き込まれる。
【0141】
例えば、(R−Y)が8ビットのディジタルデータ、(R−Y)'が8ビットのディジタルデータであると仮定すると、ルックアップテーブルを構成するメモリの容量としては、アドレス8ビット、データ8ビットが必要となる。
【0142】
ここで、図5に示されるp、q、Aを変える場合には、上記ルックアップテーブルを構成するメモリのデータ部書き換えればよい。
【0143】
さらに、上記容量の整数倍の容量を持つメモリを用いて、メモリのデータ部に上記のp、q、Aを変えた場合のデータをいくつか記憶しておき、メモリのアドレスの一部を用いて、これを選択してもよい。
【0144】
メモリのデータ部を書き換える場合には、例えば、データの計算をCPU、DSP等で行い、この計算結果を、メモリのデータ部に書き込めばよい。
【0145】
ルックアップテーブルを用いて、上記機能を達成する場合には、後述の高周波成分のもれは発生しないという利点がある。
【0146】
また、増幅回路7の増幅度Aを外部から設定できるようにしてもよい。この場合は、色を強調したくない場合、例えば、輝度が高く強調すると鮮やかになりすぎる色に関しては増幅度Aを低く設定することができる。
【0147】
図7は、図5に示した色差信号強調回路4を使用した場合の信号例である。ここで図7(a)、(b)は、図4(a)、(b)と同様に被写体がチューリップの場合のR、G、B信号及び色差信号R−Y、G−Y、B−Yを示す。なお、図7(b)において、コアリングレベルRp、Rq等は式5に示す値と同じとする。
【0148】
色差信号R−Y、G−Y、B−Yがコアリング回路6に入力されると、コアリング回路6は、図7(c)に示すようにコアリングレベルの範囲外の信号を出力する。即ち、色差信号R−Yは0.17となり、色差信号G−Yは−0.07となる。一方、色差信号B−Yはコアリングレベルの範囲内であり0となる。
【0149】
コアリング回路6の出力は、例えば増幅度2の増幅回路7で図7(d)に示すように増幅され、色差信号R−Yは0.34となり色差信号G−Yは−0.14となる。一方、色差信号B−Yは0のままである。
【0150】
増幅回路7の出力は、加算器8によりディレイライン5を通った入力の色差信号と加算される。従って、色差信号強調回路4の出力は、図7(e)に示すように、色差信号(R−Y)'が0.71となり色差信号(G−Y)'が−0.31となる。一方、色差信号(B−Y)'は図7(b)と変わらず−0.11のままである。
【0151】
図7(f)は色補正装置の出力を示す。色補正装置の出力は、図1に示すように色差信号強調回路4の出力と輝度信号Y=0.44とが加算され、色信号R"、G"、B"はそれぞれ1.15、0.13、0.33となる。
【0152】
このようにコアリング回路6を使用した色補正装置においても、被写体の色差が小さい場合は入力レベルと同じレベルで出力され、被写体の色差が大きい場合は、その色が強調されて出力される。
【0153】
図8は、本実施の形態のコアリング回路6の回路例を示す。ここでコアリング回路6の入力端子15へ入力される電圧をV1、コアリング回路6の出力端子34から出力される電圧をV4とする。また、コアリング回路6内の演算増幅器22の出力電圧をV2、演算増幅器29の出力電圧をV3、ダイオード17、ダイオード24(以下D17、D24とする。)の順方向電圧Vfを0.7Vとする。
【0154】
演算増幅器22のプラス端子の電圧をVa’とすると、D17がオンとなるのは入力電圧V1が(Va’+0.7)以上のときであり、そのときの演算増幅器22のゲインは、R19/R18で与えられる。
【0155】
また、入力電圧V1が(Va’+0.7)より小さいときD17はオフしており演算増幅器22のゲインは0となるので、演算増幅器22は、入力電圧V1の(Va’+0.7)より大きい部分を取り出すことができる。
【0156】
一方、演算増幅器29のプラス端子の電圧をVb’とすると、D24がオンとなるのは入力電圧V1が(Vb’−0.7)以下のときであり、そのときのゲインは、R26/R25で与えられる。
【0157】
また、入力電圧V1が(Vb’−0.7)より高いときD24はオフしており演算増幅器29のゲインは0となるので、演算増幅器29は、入力電圧V1の(Vb’−0.7)より小さい部分を取り出すことができる。
【0158】
更に、演算増幅器22、29の出力電圧V2、V3は、入力電圧V1に対し極性が反転しているので、演算増幅器33によって、V2、V3を加算しながら反転させると、図6に示す入出力特性が得られる。
【0159】
なお、演算増幅器22、29のプラス端子の電圧Va’、Vb’は、電源電圧Va、Vbを端子16、23に供給し、抵抗R20、21、27、28で分圧することにより得る。この場合は、Va’、Vb’は固定値となる。
【0160】
一方、Va’、Vb’を外部から可変する場合は、端子16、23に任意の電圧を発生する制御手段を接続する。あるいは、この制御手段を演算増幅器22、29のプラス端子に直接接続しても良い。
【0161】
以上の手段により図2に示すp点、q点を設定するが、図8のコアリング回路6において、(Va’+0.7)がp点となり、(Vb’−0.7)がq点となる。
【0162】
図9は、本発明の実施の形態の色差信号強調回路4の別の具体例である。図5の色差信号強調回路4に使用されるコアリング回路6は、信号を部分的に切り取るため、色差信号の高周波成分が漏れることが多い。
【0163】
その漏れた高周波成分をキャンセルするため、図9に示すようにコアリング回路6と増幅回路7の間に高周波成分を遮断するローパスフィルタ9を入れる。人の視覚においては高周波における色の分解能は低いことから、ローパスフィルタ9を入れることにより、表示効果を落とさずに画質を低下させるノイズ成分を除くことができる。
【0164】
図10は、本発明の実施の形態のローパスフィルタ9の効果例である。図10(a)は、コアリング回路6に入力される色差信号を示す。また、図10(b)は、コアリング回路6の出力を示す。このようにコアリング回路6は、信号が急激に変化する信号のエッジ部分で高周波信号の漏れを生じる。
【0165】
図10(c)は、ローパスフィルタ9の出力を示す。ローパスフィルタ9は、信号の高周波成分を遮断するので、色差信号に含まれる高周波成分が外部に漏れることを防止し、高画質の画像を表示させることができる。
【0166】
図11は、本発明が適用できるプロジェクタ200のブロック図を撮像装置100のブロック図と共に示す。図11において、撮像装置100は、おもに静止画を撮像する書画撮像装置であり、被写体301からの光をレンズ101を通して集光する。レンズ101を通った光は、赤、緑、青のフィルタ部分に3分割された色分解フィルタ102で1フィールドごとに赤、緑、青の各色の光に色分解され、CCD103で光電変換される。
【0167】
CCD103で電気信号に変換されたR信号、G信号、B信号は信号処理回路104でホワイトバランス、ガンマ変換等の処理が施されて、A/D変換器105に入力されA/D変換される。
【0168】
ここまでは、時系列でR、G、B信号が発生しているので、フレームメモリ106で、通常の映像信号の形式である3チャンネルの信号に変換する。フレームメモリ106からの信号は、D/A変換器107でアナログRGB信号に変換されて出力され、ケーブル108を介してプロジェクタ200に入力される。
【0169】
プロジェクタ200は、本実施の形態の色補正回路201を入力段に設け、撮像装置100から出力されるアナログRGB信号を受ける。色補正回路201で色補正された信号は、A/D変換器202でA/D変換され、駆動回路203に入力される。駆動回路203は、A/D変換器202からの信号により空間光変調素子204〜206、例えば、反射型の液晶パネルを駆動する。
【0170】
一方、空間光変調素子204〜206にはミラー208およびダイクロイックミラー209、210を介して光源207からの光が投射される。空間光変調素子204〜206は、光源207からの光を駆動回路203からの信号で変調し、ミラー208およびダイクロイックミラー209、210に戻し、レンズ211を介して、外部のスクリーン302に被写体301の像を投影する。
【0171】
このように本実施の形態のプロジェクタ200は、強調させた方が望ましい被写体の色だけを強調する色補正装置201を使用しているので、表示効果の高い画像を投影することができる。
【0172】
上記例では、色補正画像をプロジェクタを用いて表示する場合について記載したが、特にこれに限定されず、モニタ、テレビジョン受像機、プラズマディスプレイ等、種々の表示装置に適用できることは言うまでもない。
【0173】
さらには、図11より、容易に理解できるように、本発明は、撮像装置に対しても適用できる。この場合も、上記と同様に、撮像装置は、図11に記載した面順次カメラに限定されず、電子スチルカメラ等その他の撮像装置であってもよい。
【0174】
さらには、本発明は、上記のような表示手段、撮像手段以外の、例えば、画像処理装置、パーソナルコンピュータ等のデータ処理装置に対しても適用できる。
【0175】
また、上記実施の形態においては、色差信号のレベルによる処理において、色差信号のレベルが大きいときの増幅度が、色差信号のレベルが小さい時の増幅度に比べて大きくなるような場合について説明したが、例えば、被写体が人物とチューリップの場合、チューリップの色はあまり変えないで、人肌を赤くしたいような場合には、上記説明とは逆に、色差信号のレベルが大きい時の増幅度を、色差信号のレベルが小さい時の増幅度に比べて小さくすればよい。これは、上記ルックアップテーブルを用いれば容易に実現することができる。この場合は、ホワイトバランス補正装置として機能させることもできる。
【0176】
以上、具体的な実施の形態について説明したが、かかる実施の形態が本発明の技術的範囲を限定するものではない。
【0177】
以上のような実施の形態によれば、色差信号を色差信号のレベルに応じて異なる増幅度で増幅する色差信号強調手段を有するので、色信号を部分的に増幅して出力することができる。従って、被写体の色を強調する場合に、強調させた方が望ましい被写体の色だけを強調することができる。即ち、淡い色の被写体で、そのままの色の方が望ましい場合はもとの色で出力され、色の濃い被写体はより強調されて出力される。
【0178】
また、本実施の形態によれば、増幅度又はしきい値は外部から可変できるので、強調する色差信号のレベルを変えることができる。従って、強調する度合いを、被写体の色や状況に応じて選択でき、表示効果を著しく向上させることができる。
【0179】
また、本実施の形態によれば、所定のレベル範囲の色差信号の通過を阻止し、所定のレベル範囲外の色差信号を通過させるコアリング回路を有するので、被写体の色差が小さい場合は入力レベルと同じレベルで出力し、被写体の色差が大きい場合は、その色を強調して出力することができる。
【0180】
また、本実施の形態によれば、コアリング回路の出力に含まれる高周波成分を遮断するローパスフィルタを有するので、表示する画像の画質を低下させるノイズ成分を除くことができる。
【0181】
本実施の形態のプロジェクタによれば、強調させた方が望ましい被写体の色だけを強調する色補正装置を使用しているので、表示効果の高い画像を投影することができる。
【0182】
【発明の効果】
以上説明した通り、本発明によれば、色信号を部分的に強調して出力することができる。従って、被写体の色を強調する場合に、強調させた方が望ましい被写体の色だけを強調することができる。
【0183】
また、本発明の表示装置は、強調させた方が望ましい被写体の色だけを強調する色補正装置を使用しているので、表示効果の高い画像を投影することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態の色補正装置の構成例である。
【図2】本発明の実施の形態の色差信号強調回路の入出力特性例である。
【図3】本発明の実施の形態で人肌を撮影する場合の信号例である。
【図4】本発明の実施の形態でチューリップを撮影する場合の信号例である。
【図5】本発明の実施の形態の色差信号強調回路の具体例である。
【図6】本発明の実施の形態のコアリング回路の入出力特性例である。
【図7】本発明の実施の形態のコアリング回路を使用する場合の信号例である。
【図8】本発明の実施の形態のコアリング回路の回路例である。
【図9】本発明の実施の形態の色差信号強調回路の別の具体例である。
【図10】本発明の実施の形態のローパスフィルタの効果例である。
【図11】本発明の実施の形態のプロジェクタの使用例である。
【図12】本発明の実施の形態における被写体像の色差信号のヒストグラムである。
【図13】本発明の実施の形態における色補正処理を行う動作を示すフローチャートである。
【図14】本発明の実施の形態における色補正処理を行う動作を示すフローチャートである。
【図15】本発明の実施の形態における色補正処理を行う動作を示すフローチャートである。
【図16】本発明の実施の形態における色補正処理を行う動作を示すフローチャートである。
【図17】本発明の実施の形態の色補正方法を用いる色補正装置の構成を示すブロック図である。
【図18】本発明の実施の形態における色差信号と強調された色差信号の変換特性の例を示す図である。
【図19】本発明の実施の形態における色差信号から強調された色差信号への変換特性がオンスクリーンディスプレイされた状態を示す図である。
【図20】従来の色補正装置の構成図である。
【符号の説明】
1:マトリクス回路、3:加算器、4:色差信号強調回路4、5:ディレイライン、6:コアリング回路、7:増幅回路、8:加算器、501:A/D変換器、502:メモリ部、503:D/A変換器、504:CPU、505:キーボード、506:RAM、507:記憶媒体、508,509,510:端子、516:制御部、514,515:端子、517:オーバーレイメモリ、518:記憶媒体。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a color correction method for correcting a color signal, a recording medium storing a program for executing the color correction method, a color correction device, and a display device.
[0002]
[Prior art]
In an imaging device that captures an image of a subject and outputs a video signal, or a display device that displays an input video signal on a monitor or screen, the red, green, and blue color signals included in the video signal are used to increase the display effect. A color correction device is used to correct the above.
[0003]
In this case, for example, if the red color signal is simply amplified in order to emphasize the red color of the tulip that is the subject, the red component of the other subject is also emphasized in the same way, and a white color is used to make the white subject appear white. The balance will be lost.
[0004]
Therefore, the following color correction device is used for white and black achromatic colors in order to emphasize the chromatic colors such as red and green without changing the white balance.
[0005]
FIG. 20 shows a configuration example of a conventional color correction apparatus. The matrix circuit 1 converts color difference signals RY and GI from three color signals that are input signals, that is, signals including red, green, and blue components (hereinafter referred to as R signal, G signal, and B signal). , B-Y and the luminance signal Y are generated.
[0006]
Here, the luminance signal Y is a signal obtained by weighting and adding the R signal, the G signal, and the B signal, and the color difference signals RY, G-Y, and BY are the respective color signals and luminance signals. This is the difference from Y. The luminance signal Y and the color difference signals R-Y, G-Y, and B-Y are expressed, for example, by Equation 1 shown below.
[Formula 1]
Y = 0.3R + 0.59G + 0.11B
RY = 0.7R-0.59G-0.11B
G-Y = -0.3R + 0.41G-0.11B
BY = -0.3R-0.59G + 0.89B
The color difference signals R-Y, G-Y, and B-Y obtained by the matrix circuit 1 are respectively input to the amplifier 2 and multiplied by appropriate coefficients a, b, and c. The color difference signals a (R−Y), b (G−Y), and c (B−Y) multiplied by a, b, and c are input to the adder 3 and output from the matrix circuit 1 respectively. And the enhanced color signals R ′, G ′, and B ′ are output. The emphasized color signals R ′, G ′, and B ′ at this time are shown in Equation 2.
[Formula 2]
R ′ = a (R−Y) + Y
G ′ = b (G−Y) + Y
B ′ = c (BY) + Y
Considering a case where a video signal of a reddish subject is input to the color correction apparatus, if the red color difference signal RY is positive and the amplification degree a of the amplifier 2 is greater than 1, the color is corrected. The signal R ′ is larger than the input color signal R and is emphasized. That is, when the difference between the color signal R ′ and the color signal R in Equation 2 is obtained,
[Formula 3]
R′−R = (a−1) (R−Y)
If RY> 0 and a> 1, then R ′> R, and the color signal R ′ is larger than the input color signal R and is emphasized.
[0007]
On the other hand, if the amplification signals a, b, and c of the amplifier 2 are larger than 1, the color signals R ′, G ′, and B ′ are input if the color signals R, G, and B are equal, that is, if they are achromatic colors. Equal to color signals R, G, B. That is, when R = G = B, the color difference signals RY, GY, BY are 0 from Equation 1, and the color signals R ′, G ′, B ′ are equal to the luminance signal Y. As described above, in the color correction apparatus of FIG. 20, when an achromatic color is input, an achromatic color equal to the luminance signal is output, and the white balance is not lost.
[0008]
[Problems to be solved by the invention]
However, the conventional color correction apparatus shown in FIG. 20 amplifies the color difference signal by multiplying it by a predetermined coefficient (amplification degree) regardless of the magnitude of the color difference signal. Emphasizes the color.
[0009]
For this reason, when both a tulip and a person are photographed as subjects, if the amplification degree a of the amplifier 2 is increased in order to emphasize the red color of the tulip, the red color of the tulip is emphasized but the human skin becomes too red. Become.
[0010]
On the other hand, if the amplification degree a is reduced in order to prevent the human skin from becoming red, the red of the tulip is not emphasized and the display effect is not improved.
[0011]
Further, in the case where the subject is a landscape and the image includes snow and lawn in the shade on a sunny day, or blue sky, it is preferable to emphasize the green of the lawn or blue of the blue sky, but the snow is preferably as white as possible. For this reason, it is better not to emphasize the green or blue component contained in the snow white, even though the green of the lawn or the blue of the blue sky is emphasized.
[0012]
Therefore, the present invention provides a color correction method capable of enhancing only the color of a subject that is desired to be emphasized when the color of the subject is emphasized, a recording medium storing a program for executing the color correction method, An object is to provide a color correction device and a display device.
[0013]
[Means for Solving the Problems]
In order to solve the above problems, the color correction method of the present invention is:
A first step of performing a non-linear operation with different multiplication coefficients on a plurality of color difference signals indicating a difference between the color signal and the luminance signal at at least two levels of the color difference signal;
A second step of adding the luminance signal to the result of the nonlinear calculation to obtain a corrected color signal;
including.
[0014]
Furthermore, a step of inputting conversion characteristics of the non-linear operation and / or parameters of the non-linear operation may be included.
[0015]
Further, a step of obtaining a color signal before correction after completion of the second step may be included.
[0016]
Further, the step of obtaining the color signal before correction may be based on any of the following (A) to (C).
(A) Acquire a color signal or a color difference signal again.
(B) Obtained by storing and reading out the color signal or color difference signal data before correction.
(C) The conversion characteristics, parameters, and luminance data at the time of correction are stored, and the result of color correction processing is reversed using the conversion characteristics, parameters, and luminance data. Perform the operation.
[0017]
Further, the luminance signal data is stored, and after the first color correction processing, the luminance signal data, the conversion characteristics and parameters in the first color correction processing are used to determine the luminance signal data. A step of obtaining a color difference signal before the first color correction processing and performing the second color correction processing based on the conversion characteristics and / or parameters in the second color correction processing based on the result is also included. Good.
[0018]
A step of storing data of the luminance signal;
After performing the first color correction processing, equivalently, color difference signal data before the first color correction is obtained based on the luminance signal data, and is the same as or different from the first color correction processing. A second color correction process having conversion characteristics and / or parameters may be performed.
[0019]
Further, the conversion characteristics and / or parameters of the nonlinear calculation may be set to be different depending on the area on the display screen of the display device.
[0020]
Further, the method may include a step of generating the color difference signal from the input image data, and a step of fixing the input image data before the step.
[0021]
The image data before color correction processing and the conversion characteristics and parameters in the color correction processing may be transferred to a removable storage medium or an external storage device.
[0022]
Further, the luminance signal or the image data may be compressed and stored in a reversible form.
[0033]
The color correction apparatus of the present invention is
First means for performing a non-linear operation with a different multiplication coefficient on at least two levels of the color difference signal on a plurality of color difference signals indicating a difference between the color signal and the luminance signal;
And a second means for adding the luminance signal to the result of the nonlinear calculation to obtain a corrected color signal.
[0034]
Furthermore, it may be configured to include means for inputting conversion characteristics of the nonlinear calculation and / or parameters of the nonlinear calculation.
[0035]
Further, it may be configured to have means for obtaining a color signal before correction after completion of the processing in the second means.
[0036]
The means for obtaining the color signal before correction may be any one of the following (A) to (C).
(A) Acquire a color signal or a color difference signal again.
(B) Obtained by storing and reading out the color signal or color difference signal data before correction.
(C) The conversion characteristics, parameters, and luminance data at the time of correction are stored, and the result of color correction processing is reversed using the conversion characteristics, parameters, and luminance data. Perform the operation.
[0037]
And a storage means for storing the luminance signal data. After the first color correction processing, the luminance signal data, conversion characteristics and parameters in the first color correction processing are provided. Thus, the color difference signal before the first color correction processing is obtained, and based on this result, the second color correction processing is performed by the conversion characteristics and / or parameters in the second color correction processing. It is good also as a structure which has 3 means.
[0038]
And storage means for storing data of the luminance signal,
After performing the first color correction processing, equivalently, color difference signal data before the first color correction is obtained based on the luminance signal data, and is the same as or different from the first color correction processing. A second color correction process having conversion characteristics and / or parameters may be performed.
[0039]
Further, the non-linear calculation conversion characteristics and / or parameters in the first means may be set differently depending on the area on the display screen of the display device.
[0040]
Further, it may have a color difference signal generating means for generating the color difference signal from the input image data, and a means for fixing the input image data before generating the color difference signal by the color difference signal generating means. .
[0041]
Further, the image data before the color correction process and the conversion characteristics and parameters in the color correction process may be provided with a transfer unit that transfers the data to a removable storage medium or an external storage device.
[0042]
The luminance signal or the image data may be stored after being compressed in a reversible transformable form.
[0043]
The color correction apparatus of the present invention is
A color correction device that receives three types of color signals including red, green, and blue components, and amplifies and outputs at least one type of the color signals,
Matrix means for outputting a luminance signal and at least one color difference signal obtained by subtracting the luminance signal from the color signal;
Color difference signal enhancement means for amplifying the color difference signal with a different amplification degree according to the level of the color difference signal;
An addition unit that adds the output from the color difference signal enhancement unit and the luminance signal is provided.
[0044]
The color correction apparatus of the present invention is
Color difference signal enhancement means for amplifying the color difference signal at different amplification levels according to the levels of a plurality of color difference signals indicating differences between three color signals including red, green, and blue components and a luminance signal, and the color difference signal enhancement Adding means for adding the output from the means and the luminance signal to output an amplified color signal;
It is the structure which has.
[0046]
Further, the color difference signal emphasizing means may have a configuration in which the degree of amplification differs at at least two levels of the color difference signal.
[0048]
Further, the color difference signal emphasizing means prevents corrosion of the color difference signal in a predetermined level range, and allows coring means to pass the color difference signal outside the predetermined level range;
Amplifying means for amplifying the output of the coring means;
It is good also as a structure which has the 2nd addition means which adds the output of the said amplification means, and the said color difference signal.
[0052]
The display device of the present invention is a display device that receives an image signal of a captured subject and displays the image of the subject, and includes any one of the color correction devices described above.
[0053]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described.
[0054]
The color difference signals RY, G-Y, and BY are multiplied by different coefficients depending on their levels, and the color difference signals R-Y, G-Y, BY are partially enhanced (R--). Y) ′, (G−Y) ′, and (B−Y) ′ are obtained.
[0055]
The partially enhanced color difference signals (R−Y) ′, (G−Y) ′, and (B−Y) ′ are added to the luminance signal Y, respectively, and the partially enhanced color signals R ″ and G Find ", B".
[0056]
The partially emphasized color signals R ″, G ″, B ″ are shown in [Formula 4].
[0057]
[Formula 4]
R ″ = (R−Y) ′ + Y
G "= (G−Y) ′ + Y
B "= (BY) '+ Y
18A to 18D show the color difference signals R-Y, G-Y, and BY and the partially enhanced color difference signals (R-Y) 'and (G-Y). It is a figure which shows the example of the conversion characteristic of ', (BY)'. In FIG. 18, the horizontal axis indicates the color difference signal (for example, RY) of each color, and the vertical axis indicates the color difference signal (for example, (RY) ′) of each color that is partially enhanced.
[0058]
In FIG. 18A, p and q on the horizontal axis indicate points at which the coefficient (gradient of the graph) at the time of multiplication is changed. If the color difference signal RY is positive, it is higher than the threshold value p. If the part is negative, the multiplication coefficient is larger in the part lower than the threshold value q. Note that the absolute values of p and q need not be equal.
[0059]
That is, the multiplication coefficient between p and q is A (for example, 1), but the multiplication coefficient outside the range is B (for example, 2). Accordingly, the image of the brightly colored part becomes more vivid, and the non-vivid part remains as it is and a natural image can be obtained.
[0060]
FIG. 18B has conversion characteristics in which the multiplication coefficient changes continuously according to the color difference signal level. That is,
[Formula 6]
(R−Y) ′ = C (R−Y) ^ X
(G−Y) ′ = C (G−Y) ^ X
(BY) '= C (BY) ^ X
(^ Indicates a power, a ^ X indicates a to the X power. X is a number other than 1 or 0. However, when X is an even number, (R−Y), (G−Y), (B− When Y) is negative, C = −1, when (R−Y), (G−Y), and (B−Y) are positive, C = 1, and when X is an odd number, C = 1)
As described above, the conversion characteristic of outputting the X power of the color difference signal is provided. In this case, the degree of the emphasized color gradually changes, and a natural image can be obtained from FIG.
[0061]
For example, when a plurality of conversion characteristic examples of the color difference signal and the partially emphasized color difference signal are prepared as described above, one of the conversion characteristics is selected, and the threshold is selected. The values p and q and the slope of the conversion characteristic graph, or the value of X are set. This setting may be selected from those set as defaults even if the user sets numerical values.
[0062]
Thereby, the conversion characteristic from the color difference signal to the partially enhanced color difference signal is determined.
[0063]
Next, the case of actually correcting the color of an image will be described with reference to FIGS. 3 and 4 and Table 1. FIG.
[0064]
[Table 1]
Figure 0004265033
FIG. 3 shows an example of the signal value of the human skin portion in the image, and FIG. 4 shows an example of the signal value of the tulip portion in the image.
[0065]
Table 1 is an example of R, G, B signal values and color difference signal values for each image. Note that, when performing computation in digital signal processing, the signal value is represented by a digital value, but in the following description, it is described as a relative value for simplicity.
[0066]
FIG. 3A shows R, G, and B signal values of the human skin region of the image. As shown in Table 1, the respective signal values are R = 0.81, G = 0.57, and B = 0.47.
[0067]
FIG. 3B shows color difference signals RY, G-Y, and BY calculated based on [Equation 1], and the respective values are represented by RY = 0 as shown in Table 1. .18, GY = −0.06, BY = −0.16. The luminance signal Y is 0.63 from [Equation 1].
[0068]
Here, it is assumed that the user has selected the conversion characteristics shown in FIG. 18A as the conversion characteristics of the color difference signal and the partially emphasized color difference signal. Rp and Rq for the red color difference signal RY, Gp and Gq for the green color difference signal GY, and Bp and Bq for the blue color difference signal BY, for example, take the following values: Shall.
[Formula 5]
Rp = 0.2, Rq = −0.13
Gp = 0.03, Gq = −0.1
Bp = 0.2, Bq = −0.3
The levels of the points p and q in each color difference signal are indicated by broken lines in FIG. Also, the multiplication factor (gradient in the conversion characteristic) of the conversion characteristic is 1 for the conversion characteristic of each color difference signal from the point p to the point q, and 2 outside that range. In the above example, each of p and q is defined. However, it is not necessary to specify both p and q, and only one of p or q may be defined.
[0069]
In this case, the color difference signal values RY, GY, and BY of the human skin portion are between the above points p and q, and thus the multiplication coefficient is 1.
[0070]
That is, the emphasized color difference signal values (R−Y) ′, (G−Y) ′, and (B−Y) ′ are expressed as shown in FIG.
(R−Y) ′ = 0.18
(G−Y) ′ = − 0.06
(BY) ′ = − 0.16
And become values equal to (R−Y), (G−Y), and (B−Y), respectively.
[0071]
The values of the emphasized color signals R ″, G ″, B ″ are calculated as shown below from [Equation 1].
R "= 0.81
G "= 0.57
R "= 0.47
That is, it becomes equal to the values of R, G, and B, and it can be seen that the color enhancement processing is not substantially performed.
[0072]
On the other hand, FIG. 4 shows an example of signal values in the tulip region of the image, and FIG. 4A shows R, G, and B signal values in the region. As shown in Table 1, the respective signal values are R = 0.81, G = 0.27, and B = 0.33.
[0073]
FIG. 4B shows the color difference signals RY, G-Y, and BY calculated based on [Equation 1], and the respective values are as shown in Table 1.
R−Y = 0.37, G−Y = −0.17, B−Y = −0.11
It becomes. The luminance signal Y is 0.44 from [Equation 1].
[0074]
Here, assuming that the conversion characteristics of the color difference signal and the partially enhanced color difference signal are the same as those described above, for example, the red color difference signal value RY is Rp = 0.2. As shown in FIG. 18A, the excess color 0.17 from Rp is multiplied by the multiplication coefficient 2, and the emphasized color difference signal value (RY) ′ is 0.54. .
[0075]
Also, the green color difference signal value G−Y shown in FIG. 4B has a higher level in the negative direction than Gq = −0.1. Therefore, as shown in FIG. 4C, the emphasized color difference signal value (G−Y) ′ is −0.24 by multiplying the excess −0.07 from Gq by the multiplication coefficient 2. .
[0076]
On the other hand, since the blue color difference signal value BY is between the threshold values Bp and Bq, the enhanced color difference signal value (BY) ′ remains −0.11.
[0077]
FIG. 4D shows the emphasized color signal values R ″, G ″, and B ″.
[0078]
R ″ is 0.98 by adding the luminance signal value Y = 0.44 to the enhanced color difference signal value (R−Y) ′ = 0.54, and G ″ is the enhanced color difference signal value (G The luminance signal value Y = 0.44 is added to −Y) ′ = − 0.24 to be 0.2. On the other hand, the luminance signal value Y = 0.44 is added to the emphasized color difference signal value (B−Y) ′ = − 0.11 and B ″ is the same as the color signal value B, that is, 0.33.
[0079]
As described above, in the case of the conversion characteristics shown in FIG. 18A, when the color difference of the image is small, such as human skin, that is, the signal values of R, G, and B are close to each other, The signal value does not change.
[0080]
On the other hand, when the color difference of the image is large as in the case of Tulip, that is, the difference between the R, G, and B signal values is large, it can be seen that the color is emphasized for a color close to a chromatic color.
[0081]
Next, the threshold values p and q in FIG.
[0082]
Consider the case where the subject shown in Table 1 exists in one image.
[0083]
For example, the histogram of the image of the color difference signal RY is as shown in FIG. The horizontal axis indicates the color difference signal value, and the vertical axis indicates the number of pixels. Here, the histogram of each region expands and the height varies depending on the size of the subject region in the image and the monochromaticity of each subject region.
[0084]
The value of the threshold value p is set between a color area to be emphasized and an adjacent area on the histogram. For example, when only the red of the tulip is desired to be emphasized for the R color, it is set to a certain value between the tulip and the human skin region of FIG.
[0085]
On the other hand, the value of the threshold value q is set between an area whose amount is to be reduced and an adjacent area on the histogram. For example, when it is desired to slightly reduce the amount of the R color only in the blue sky region, a certain value between the blue sky region and the sunny shaded snow region in FIG. 12 is set.
[0086]
Here, when the above regions are not clearly separated, the continuous conversion characteristic as shown in FIG. 18B is more preferable than the discontinuous conversion characteristic as shown in FIG. Is suitable.
[0087]
Further, by converting the color difference signal as shown in FIG. 18C to an enhanced color difference signal, only the white balance of the portion close to the achromatic color is slightly shifted, and the color characteristic of the chromatic color portion is The case where it is desired to keep it as it is can be dealt with. However, since there are discontinuous portions in this characteristic, it is desirable to have a conversion characteristic as shown in FIG. In this case, as will be described later, when the color enhancement process is performed again, since the input / output relationship is not determined at 1: 1, the image data before the color correction process is stored. Otherwise, it may be inconvenient.
[0088]
FIG. 17 shows a block diagram of a system that performs the above color enhancement processing.
[0089]
Analog R, G, and B video signals input from terminals 508, 509, and 510 are converted into digital signals by an A / D converter 501. The control unit 516 configures a PLL and controls each block based on horizontal (HD) and vertical (VD) synchronization signals input from terminals 514 and 515.
[0090]
The R, G, B video signals digitized by the A / D converter 501 are written in the memory unit 502. The memory unit 502 is connected to the D / A converter 503. The digital video signal read from the memory unit 502 is converted into an R, G, B analog video signal by a D / A converter 503 and output to a display device, an image forming device, etc. (not shown).
[0091]
Here, the memory unit 502 can be subjected to freeze and through control of the memory unit 502 via the control unit 516 by the CPU 504. Specifically, the control unit 516 prohibits the writing of data to the memory unit 502 according to a command from the CPU 504, thereby freezing the output image and continuously allowing the writing to the memory unit 502. This makes the output image through. Note that image data is always read from the memory unit 502.
[0092]
The D / A converter 503 is connected to the overlay memory 517. The overlay memory 517 stores on-screen display data. The stored on-screen data is output to the D / A converter 503 based on a command from the CPU 504. In this manner, the digital video signal and the on-screen display data stored in the overlay memory 517 are mixed by the D / A converter 503.
[0093]
The memory unit 502 is also connected to a RAM 506 that is a working memory of the CPU 504. The CPU 504 is also connected to a keyboard 505 and a storage medium 507 for storing a program for performing the color correction process.
[0094]
FIG. 13 is a flowchart showing the operation for performing the color correction process.
[0095]
First, in step S101, a command for freezing an image is input from the keyboard 505 to the CPU 504. In response to this command, the CPU 504 sends a freeze control signal to the control unit 516. The control unit 516 prohibits writing of digital data to the memory unit 502.
[0096]
In step S102, the conversion characteristic from the color difference signal to the emphasized color difference signal is displayed on the screen as shown in FIG. 19, for example, and this is displayed by a keyboard 505 or a pointing device such as a mouse (not shown). Select one of them. At this time, if it is necessary to set a parameter, the parameter is also set by a keyboard 505 or a pointing device such as a mouse.
[0097]
In step S103, the digital image data is transferred from the memory unit 502 to the RAM 506. In step S <b> 103 ′, the CPU 504 sequentially performs the calculation of [Equation 10] for one screen using the digital image data transferred to the RAM 506 and writes the calculation result in the RAM 506.
[Formula 10]
R ″ = h (R−Y) + Y
G ″ = j (G−Y) + Y
B "= k (BY) + Y
(H (R−Y), j (G−Y), and k (B−Y) represent functions of (R−Y), (G−Y), and (B−Y), respectively)
At this time, luminance (Y) data is also stored in the RAM 506 as necessary. The storage in the RAM 506 may compress the luminance (Y) data. However, in order to improve the quality of the reproduced image when the color enhancement process is performed again, it can be reversibly converted (Lossless). It is desirable to use compression.
[0098]
In step S104, the calculation result stored in the RAM 506 according to [Equation 10] is transferred to the memory unit 502.
[0099]
In the above description, the RAM 506 has a storage capacity for one screen of data. However, the RAM 506 has a small capacity, and the memory unit 502 transfers a predetermined amount of image data smaller than the data amount of one screen to the RAM 506. The CPU 504 may transfer the data to the memory unit 502 after completing the calculation for the predetermined amount of image data. This process is repeated for image data for one screen.
[0100]
In step S105, the output image is confirmed, and if a desired effect is obtained, the color enhancement process is terminated. At this time, if a desired effect cannot be obtained, image data before the first color correction process is required to perform the color correction process again. In order to obtain this image data, the freeze state is canceled by an input from the keyboard 5, and once returned to the through state (step S201) and then again frozen (step S101), color enhancement processing is performed. What is necessary is just to acquire the image data before performing.
[0101]
In order to perform color correction processing again, a storage area for storing image data before color correction processing is secured in the memory unit 502 or the RAM 506, and image data before color correction processing is stored in this area. -Data (R, G, B, or RY, G-Y, BY) may be stored and used for the second and subsequent conversion characteristics and processing after parameter setting (steps S103-). . The operation in this case is shown in the flowchart of FIG.
[0102]
14, S101 and S102 are the same as those in FIG. 13, and the digital image data transferred from the memory unit 502 to the RAM 506 is stored in the RAM 506 in step S103a. In the second and subsequent steps S103b, the data used for the calculation by the CPU 504 is the data transferred from the memory unit 502 during the previous color correction process (that is, the image data stored in the previous step S103b). . S103′S104 and S105 are the same as those in FIG.
[0103]
In this case, no data is transferred from the memory unit 502 to the RAM 506 in the second and subsequent color correction processes. The image data before color correction processing stored in the RAM 506 becomes unnecessary when step S105 is affirmed.
[0104]
Further, the inverse calculation of [Equation 10] is performed from the image data (R ″, G ″, B ″) that has been subjected to color correction processing, and image data (R, G before being subjected to color correction processing). , B, or R-Y, G-Y, B-Y), and this image data (R, G, B, or R-Y, G-Y, B-Y) However, this inverse operation requires conversion characteristics, parameters, and luminance (Y) data in the previous color correction process, so that the previous color enhancement is performed. The conversion characteristics, parameters, and luminance data (Y) in the processing must be stored in, for example, the RAM 506. The operation in this case is shown in the flowchart of FIG.
[0105]
15, S101, S102, 103 ′, S104, and S105 are the same as those in FIG. In step S103c, the conversion characteristics, parameters, and luminance data (Y) in the color enhancement process are stored in the RAM 506.
[0106]
The above inverse operation is performed in step S203. More specifically, the luminance (Y) data stored in the RAM 506 is subtracted from the color-corrected R ″, G ″, B ″ obtained by the previous color correction process, and h (R−Y ), J (G−Y), k (B−Y) Since the color difference signal partially enhanced in each conversion characteristic of the color enhancement processing is determined in a one-to-one relationship by the color difference signal. , R-Y, G-Y, and BY can be obtained (however, if the characteristics shown in FIGS. 18C and 18D are selected in the previous color correction process, the output and input are Since there is a case where there is no one-to-one correspondence, there is a case where one input cannot be defined for one output, and therefore such a method cannot be used.
RY, GY, and BY obtained in this way are stored in the RAM 506 and used for the next color correction process. (Step S103′c)
The luminance (Y) image data, conversion characteristics, and parameters before the color correction processing stored in the RAM 506 are not required when step S105 is affirmed.
[0107]
In the above description, when color enhancement processing is performed again, an example in which image data before the previous color enhancement processing is equivalently restored once is shown.
[0108]
Apart from this, when the image data that has been subjected to color correction processing is subjected to another or the same conversion characteristic and / or parameter color correction processing, the previous color correction processing is particularly important. It is not necessary to store and restore the image data before performing the operation. The operation in this case is shown in the flowchart of FIG.
[0109]
In step S105 for confirming the output image, if additional color correction processing needs to be performed again, conversion characteristics and / or parameters in the additional color correction processing are set in step S204. In step 103 ′, color correction processing based on the setting in step S204 is performed on the result obtained in the previous color correction processing. Other steps are the same as those in FIG.
[0110]
A storage medium 518 in FIG. 17 is a storage medium such as a PC card or a server memory, for example. The image data compressed as necessary, the conversion characteristics set in step S102, and the necessity. The parameters set accordingly are stored.
[0111]
When this image data is reproduced again, the compressed image data is decompressed as necessary, and color enhancement processing is performed by the CPU 504 based on the conversion characteristics and parameters stored together. In this case, image data is stored in the storage medium 518, and the result calculated by the CPU 504 is transferred from the RAM 506 to the memory unit 502.
[0112]
The above compression is desirably lossless in order to improve the quality of the reproduced image.
[0113]
However, when the image data stored in the storage medium 518 is image data after color correction processing, this is not particularly limited, and storage of conversion characteristics, parameters, and the like is not necessary. Become.
[0114]
In the above embodiment, the color enhancement processing is performed with the same conversion characteristics and parameters for the entire area of the screen. However, the screen is divided into a plurality of areas, and different conversion characteristics for each divided area. And / or color enhancement processing may be performed using parameters. In this case, as described above, it may be necessary to store conversion characteristics and / or parameters for each region.
[0115]
In the above description, an example in which R, G, and B signal values are given and the respective color difference signals are calculated from the R, G, and B signal values has been shown. However, the present invention also applies to cases where other signals such as the respective color difference signals and composite signals are given. The invention can be applied.
[0116]
The procedure of the color correction method described above is stored in the storage medium 507 as a computer program readable by the CPU 504, and the CPU 504 reads this program from the storage medium 507 and executes it.
Another embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a configuration example of a color correction apparatus according to an embodiment of the present invention.
[0117]
The matrix circuit 1 generates the luminance signal Y and the color difference signals RY, G-Y, and BY shown in Expression 1 from the R signal, the G signal, and the B signal that are input signals, and the color difference signal RY. , G-Y and BY are output to the color difference signal enhancement circuit 4.
[0118]
The color difference signal enhancement circuit 4 is an amplifier having different amplification degrees depending on the level of the input color difference signal, and a color difference signal (RY) in which the color difference signals RY, GY, BY are partially enhanced. ) ′, (G−Y) ′, and (B−Y) ′.
[0119]
The partially enhanced color difference signals (R−Y) ′, (G−Y) ′, and (B−Y) ′ are respectively input to the adder 3 and added to the luminance signal Y output from the matrix circuit 1. Is done. The adder 3 outputs partially emphasized color signals R ″, G ″, B ″ from these signals. These partially enhanced color signals R ″, G ″, B ″ are expressed in Equation 4. Obtained on the basis.
[0120]
FIG. 2 shows an example of input / output characteristics of the color difference signal emphasizing circuit 4 according to the embodiment of the present invention, in which a red color difference signal RY is input. In FIG. 2, the horizontal axis represents the input red color difference signal RY, and the vertical axis represents the enhanced color difference signal (RY) ′ that is the output. Further, p and q on the horizontal axis indicate threshold values at which the amplification degree changes. In this case, p = 0.3 and q = −0.3.
[0121]
As shown in FIG. 2, the color difference signal emphasizing circuit 4 has a higher degree of amplification in a portion higher than the threshold value p if the color difference signal RY is positive and in a portion lower than the threshold value q if it is negative. That is, the amplification degree between p and q is A (for example, 1), but the amplification degree outside the range is B (for example, 2). Therefore, the image of the brightly colored part in the screen becomes more vivid, and the natural part of the image is obtained without changing the non-brilliant part.
[0122]
Next, a case where a specific subject color is corrected by the color correction apparatus according to the present embodiment will be described with reference to FIGS. 3 and 4 and Table 1. FIG. FIG. 3 shows a signal example when photographing human skin, and FIG. 4 shows a signal example when photographing a tulip. Table 1 is an example of R, G, B signal and color difference signal values for each subject.
[0123]
FIG. 3A shows R, G, and B signals input to the color correction apparatus when the subject is human skin. The value of each signal is shown in Table 1,
R = 0.81, G = 0.57, B = 0.47
It is.
[0124]
FIG. 3B shows the color difference signals R-Y, G-Y, BY output from the matrix circuit 1 of the color correction apparatus, and the respective values are as shown in Table 1.
R−Y = 0.18, G−Y = −0.06, B−Y = −0.16
It becomes. Note that the luminance signal Y is 0.63 from Equation 1.
[0125]
Here, the threshold values p and q which are the threshold values in FIG. 2 are Rp and Rq for the red color difference signal RY, and Gp, Gq and blue color difference signals for the green color difference signal G-Y. For B−Y, Bp and Bq are assumed, for example, the values shown in Equation 5 are assumed.
[0126]
The levels at points p and q in each color difference signal are indicated by dotted lines in FIG. Similarly to FIG. 2, the color difference signal emphasizing circuit 4 sets the amplification degree between points p and q to 1 for each color difference signal, and sets the amplification degree outside the range to 2.
[0127]
When the levels of the p point and the q point are as shown in FIG. 3B, the color difference signals RY, GY, and BY of the human skin are between the p point and the q point described above. It is output from the color difference signal enhancement circuit 4 at a degree of 1.
[0128]
That is, the color difference signals (R−Y) ′, (G−Y) ′, and (B−Y) ′ that are the outputs of the color difference signal enhancement circuit 4 are as shown in FIG.
(R−Y) ′ = 0.18
(G−Y) ′ = − 0.06
(BY) ′ = − 0.16
It is equal to the input color difference signals (R−Y), (G−Y), and (B−Y).
[0129]
The color difference signals (R−Y) ′, (G−Y) ′, and (B−Y) ′ are added by the adder 3 to the luminance signal Y = 0.63. Therefore, the color signals R ″, G ″, B ″, which are the outputs of the color correction device, are as shown in FIG.
R "= 0.81
G "= 0.57
B "= 0.47
Thus, the input color signals R, G, and B are output as they are.
[0130]
FIG. 4 is an example of a signal when the subject is a tulip, and FIG. 4A shows R, G, and B signals input to the matrix circuit 1. The value of each signal is shown in Table 1,
R = 0.81, G = 0.27, B = 0.33
It is.
[0131]
FIG. 4B shows the color difference signals RY, GY, and BY output from the matrix circuit 1, and the respective values are as follows.
RY = 0.37
G−Y = −0.17
BY = −0.11
It is. The luminance signal Y is 0.44 from Equation 1.
[0132]
Here, if the p point and the q point, which are threshold values of the color difference signal enhancement circuit 4, are the values of Expression 5, the red color difference signal RY has a higher level than Rp = 0.2. Therefore, the output of the color difference signal emphasizing circuit 4 is obtained by amplifying the excess 0.17 from Rp with an amplification factor of 2 to 0.34 as shown in FIG. When added with 2, the enhanced color difference signal (RY) ′ is 0.54.
[0133]
Further, the green color difference signal G-Y shown in FIG. 4B has a higher level in the negative direction than Gq = −0.1. Therefore, as shown in FIG. 4C, the emphasized color difference signal (G−Y) ′ is obtained by amplifying an excess −0.07 from Gq with an amplification factor of −2 to −0.14. -0.1 output at 1 is added to -0.24.
[0134]
On the other hand, since the blue color difference signal BY is between Bp and Bq, the color difference signal (BY) ′ that is the output of the color difference signal enhancement circuit 4 remains −0.11.
[0135]
FIG. 4D shows the output of the color correction apparatus. The color signal R ″ becomes 0.98 by adding the luminance signal Y = 0.44 to the color difference signal (RY) ′ = 0.54, and the color signal G ″ becomes the color difference signal (G−Y) ′ = The luminance signal Y = 0.44 is added to −0.24 to become 0.2. On the other hand, the luminance signal Y = 0.44 is added to the color difference signal (BY) ′ = − 0.11 and the color signal B ″ is output at the same level as the input color signal B, that is, 0.33. .
[0136]
As described above, in the color correction apparatus according to the present embodiment, when the color difference of the subject is small, such as human skin, that is, the levels of the R, G, and B signals are close to each other, and the color that gives a light impression is the input level. Output at the same level. On the other hand, when a subject has a large color difference, such as a tulip, that is, a color that has a large level difference between R, G, and B signals and gives a relatively vivid impression, the color is emphasized and output.
[0137]
In the example of the input / output characteristics of the color difference signal emphasizing circuit 4 in FIG. 2, the amplification degree is different at the p point and the q point. However, the amplification degree may be continuously changed according to the input level of the color difference signal. Good. That is,
[Formula 6 ']
(R−Y) ′ = (R−Y) ^ 3
(G−Y) ′ = (G−Y) ^ 3
(BY) '= (BY) ^ 3
(A ^ 3 indicates the cube of a)
As in the above, it may be a characteristic that outputs the cube of the input signal. In this case, the degree of the emphasized color gradually changes, and a more natural image can be obtained.
[0138]
FIG. 5 is a specific example of the color difference signal enhancement circuit 4 shown in FIG. 1 and shows a case where the red color difference signal RY is enhanced. The color difference signal RY is input to the coring circuit 6 and the delay line 5 that gives a predetermined delay time to the color difference signal RY.
[0139]
The coring circuit 6 has, for example, the input / output characteristics shown in FIG. 6, and cuts off the input signal when the input signal is within a predetermined level range, that is, between the p point and the q point that are the coring level. When the input signal is outside the predetermined level range, that is, outside the range between the p point and the q point, a signal is output. In this case, if the coring levels p and q can be set from the outside, the level of the color difference signal to be emphasized can be changed. For example, if the p point level is set low, even a relatively light color can be emphasized. The signal passing through the coring circuit 6 is amplified by the amplification circuit 7 having the amplification degree A, and is added to the color difference signal RY passing through the delay line 5 by the adder 8 to enhance the color difference signal (RY). 'Become.
[0140]
Further, the functions of the coring circuit 6, the amplifier circuit 7, and the adder 8 shown in FIG. 5 may be realized using a look-up table. In this case, the function of the delay line 5 becomes unnecessary. For example, the look-up table is composed of a rewritable memory. A value of (R−Y) is input to each address of the memory, and each data part of the corresponding address of the memory has (R−Y). (R−Y) ′ calculation result is input.
[0141]
For example, assuming that (R−Y) is 8-bit digital data and (R−Y) ′ is 8-bit digital data, the capacity of the memory constituting the lookup table is 8 bits of address, 8 bits of data. A bit is required.
[0142]
Here, when p, q, and A shown in FIG. 5 are changed, the data portion of the memory constituting the lookup table may be rewritten.
[0143]
Further, using a memory having a capacity that is an integral multiple of the above capacity, some data when the above p, q, and A are changed are stored in the data portion of the memory, and a part of the address of the memory is used. This may be selected.
[0144]
When the data portion of the memory is rewritten, for example, the calculation of data is performed by a CPU, DSP, etc., and the calculation result is written into the data portion of the memory.
[0145]
When the above function is achieved using a look-up table, there is an advantage that leakage of high frequency components described later does not occur.
[0146]
Further, the amplification degree A of the amplifier circuit 7 may be set from the outside. In this case, when it is not desired to emphasize the color, for example, the amplification degree A can be set low for a color that becomes too bright when emphasized with high luminance.
[0147]
FIG. 7 is a signal example when the color difference signal enhancement circuit 4 shown in FIG. 5 is used. Here, FIGS. 7A and 7B are similar to FIGS. 4A and 4B in that the R, G, and B signals and the color difference signals RY, GY, and B− when the subject is a tulip are used. Y is shown. In FIG. 7B, the coring levels Rp, Rq, etc. are the same as the values shown in Equation 5.
[0148]
When the color difference signals R-Y, G-Y, and BY are input to the coring circuit 6, the coring circuit 6 outputs a signal outside the range of the coring level as shown in FIG. 7C. . That is, the color difference signal R-Y is 0.17, and the color difference signal G-Y is -0.07. On the other hand, the color difference signal BY is within the range of the coring level and becomes zero.
[0149]
The output of the coring circuit 6 is amplified as shown in FIG. 7D by the amplification circuit 7 having an amplification factor of 2, for example, so that the color difference signal RY becomes 0.34 and the color difference signal G-Y becomes -0.14. Become. On the other hand, the color difference signal BY remains 0.
[0150]
The output of the amplifier circuit 7 is added to the input color difference signal that has passed through the delay line 5 by the adder 8. Therefore, as shown in FIG. 7E, the output of the color difference signal enhancement circuit 4 has a color difference signal (RY) ′ of 0.71 and a color difference signal (G−Y) ′ of −0.31. On the other hand, the color difference signal (BY) ′ remains at −0.11 as in FIG. 7B.
[0151]
FIG. 7F shows the output of the color correction apparatus. As shown in FIG. 1, the output of the color correction device is obtained by adding the output of the color difference signal enhancement circuit 4 and the luminance signal Y = 0.44, and the color signals R ″, G ″, B ″ are 1.15, 0, respectively. .13, 0.33.
[0152]
As described above, even in the color correction apparatus using the coring circuit 6, when the color difference of the subject is small, it is output at the same level as the input level, and when the color difference of the subject is large, the color is emphasized and output.
[0153]
FIG. 8 shows a circuit example of the coring circuit 6 of the present embodiment. Here, the voltage input to the input terminal 15 of the coring circuit 6 is V1, and the voltage output from the output terminal 34 of the coring circuit 6 is V4. The output voltage of the operational amplifier 22 in the coring circuit 6 is V2, the output voltage of the operational amplifier 29 is V3, and the forward voltage Vf of the diode 17 and the diode 24 (hereinafter referred to as D17 and D24) is 0.7V. To do.
[0154]
When the voltage at the positive terminal of the operational amplifier 22 is Va ′, D17 is turned on when the input voltage V1 is equal to or higher than (Va ′ + 0.7), and the gain of the operational amplifier 22 at that time is R19 / Given by R18.
[0155]
Further, when the input voltage V1 is smaller than (Va ′ + 0.7), D17 is off and the gain of the operational amplifier 22 is 0. Therefore, the operational amplifier 22 is less than (Va ′ + 0.7) of the input voltage V1. A large part can be taken out.
[0156]
On the other hand, when the voltage at the plus terminal of the operational amplifier 29 is Vb ′, D24 is turned on when the input voltage V1 is (Vb′−0.7) or less, and the gain at that time is R26 / R25. Given in.
[0157]
Further, when the input voltage V1 is higher than (Vb′−0.7), D24 is off and the gain of the operational amplifier 29 becomes 0. Therefore, the operational amplifier 29 has (Vb′−0.7) of the input voltage V1. ) A smaller part can be taken out.
[0158]
Furthermore, since the polarities of the output voltages V2 and V3 of the operational amplifiers 22 and 29 are inverted with respect to the input voltage V1, if the operational amplifier 33 inverts while adding V2 and V3, the input / output shown in FIG. Characteristics are obtained.
[0159]
The voltages Va ′ and Vb ′ at the positive terminals of the operational amplifiers 22 and 29 are obtained by supplying the power supply voltages Va and Vb to the terminals 16 and 23 and dividing them by the resistors R20, 21, 27, and 28. In this case, Va ′ and Vb ′ are fixed values.
[0160]
On the other hand, when Va ′ and Vb ′ are varied from the outside, control means for generating an arbitrary voltage is connected to the terminals 16 and 23. Alternatively, this control means may be directly connected to the plus terminals of the operational amplifiers 22 and 29.
[0161]
The points p and q shown in FIG. 2 are set by the above means. In the coring circuit 6 of FIG. 8, (Va ′ + 0.7) becomes p point and (Vb′−0.7) becomes q point. It becomes.
[0162]
FIG. 9 is another specific example of the color difference signal enhancement circuit 4 according to the embodiment of the present invention. Since the coring circuit 6 used in the color difference signal enhancement circuit 4 in FIG. 5 partially cuts out the signal, the high frequency components of the color difference signal often leak.
[0163]
In order to cancel the leaked high-frequency component, a low-pass filter 9 for blocking the high-frequency component is inserted between the coring circuit 6 and the amplifier circuit 7 as shown in FIG. Since the color resolution at high frequencies is low in human vision, the noise component that degrades the image quality can be removed without degrading the display effect by inserting the low-pass filter 9.
[0164]
FIG. 10 shows an effect example of the low-pass filter 9 according to the embodiment of the present invention. FIG. 10A shows a color difference signal input to the coring circuit 6. FIG. 10B shows the output of the coring circuit 6. As described above, the coring circuit 6 leaks a high-frequency signal at the edge portion of the signal where the signal rapidly changes.
[0165]
FIG. 10C shows the output of the low-pass filter 9. Since the low-pass filter 9 blocks the high-frequency component of the signal, the high-frequency component included in the color difference signal is prevented from leaking to the outside, and a high-quality image can be displayed.
[0166]
FIG. 11 shows a block diagram of a projector 200 to which the present invention can be applied, together with a block diagram of the imaging apparatus 100. In FIG. 11, an image capturing apparatus 100 is a document image capturing apparatus that mainly captures a still image, and condenses light from a subject 301 through a lens 101. The light that has passed through the lens 101 is color-separated into red, green, and blue light for each field by a color separation filter 102 that is divided into three red, green, and blue filter portions, and photoelectrically converted by the CCD 103. .
[0167]
The R signal, the G signal, and the B signal converted into electric signals by the CCD 103 are subjected to processing such as white balance and gamma conversion by the signal processing circuit 104, and input to the A / D converter 105 for A / D conversion. .
[0168]
Up to this point, since R, G, and B signals have been generated in time series, the frame memory 106 converts the signals into a three-channel signal that is a normal video signal format. A signal from the frame memory 106 is converted into an analog RGB signal by the D / A converter 107 and output, and then input to the projector 200 via the cable 108.
[0169]
The projector 200 is provided with the color correction circuit 201 of this embodiment in the input stage, and receives an analog RGB signal output from the imaging apparatus 100. The signal color-corrected by the color correction circuit 201 is A / D converted by the A / D converter 202 and input to the drive circuit 203. The drive circuit 203 drives the spatial light modulation elements 204 to 206, for example, a reflection type liquid crystal panel, with a signal from the A / D converter 202.
[0170]
On the other hand, light from the light source 207 is projected onto the spatial light modulation elements 204 to 206 via the mirror 208 and the dichroic mirrors 209 and 210. The spatial light modulators 204 to 206 modulate the light from the light source 207 with the signal from the drive circuit 203, return it to the mirror 208 and the dichroic mirrors 209 and 210, and pass the object 301 onto the external screen 302 via the lens 211. Project an image.
[0171]
As described above, since the projector 200 according to the present embodiment uses the color correction device 201 that emphasizes only the color of the subject that should be emphasized, an image with a high display effect can be projected.
[0172]
In the above example, the case where the color correction image is displayed using a projector has been described. However, the present invention is not particularly limited thereto, and it goes without saying that the present invention can be applied to various display devices such as a monitor, a television receiver, and a plasma display.
[0173]
Furthermore, as can be easily understood from FIG. 11, the present invention can also be applied to an imaging apparatus. Also in this case, as described above, the imaging device is not limited to the frame sequential camera described in FIG. 11, and may be other imaging devices such as an electronic still camera.
[0174]
Furthermore, the present invention can also be applied to data processing apparatuses such as an image processing apparatus and a personal computer other than the above display means and imaging means.
[0175]
Further, in the above embodiment, in the processing based on the color difference signal level, a case has been described in which the amplification factor when the color difference signal level is large is larger than the amplification factor when the color difference signal level is small. However, for example, if the subject is a person and a tulip, and you want to make the human skin red without changing the color of the tulip very much, contrary to the above explanation, the amplification factor when the level of the color difference signal is large is used. What is necessary is just to make it small compared with the amplification degree when the level of the color difference signal is small. This can be easily realized by using the lookup table. In this case, it can function as a white balance correction device.
[0176]
Although specific embodiments have been described above, such embodiments do not limit the technical scope of the present invention.
[0177]
According to the embodiment as described above, since the color difference signal emphasizing means for amplifying the color difference signal with different amplification degrees according to the level of the color difference signal is provided, the color signal can be partially amplified and output. Accordingly, when the color of the subject is emphasized, only the color of the subject that is desired to be emphasized can be emphasized. In other words, if the subject is a light color, and the original color is desirable, the original color is output, and the dark subject is output with more emphasis.
[0178]
In addition, according to the present embodiment, the amplification degree or threshold value can be varied from the outside, so that the level of the color difference signal to be emphasized can be changed. Therefore, the degree of emphasis can be selected according to the color and situation of the subject, and the display effect can be significantly improved.
[0179]
In addition, according to the present embodiment, since the coring circuit that prevents the color difference signal in the predetermined level range from passing and passes the color difference signal outside the predetermined level range is provided, the input level is set when the subject color difference is small. When the color difference of the subject is large, the color can be emphasized and output.
[0180]
Further, according to the present embodiment, since the low-pass filter that blocks high-frequency components included in the output of the coring circuit is provided, noise components that degrade the image quality of the displayed image can be removed.
[0181]
According to the projector of the present embodiment, since the color correction device that emphasizes only the color of the subject that is desired to be emphasized is used, an image with a high display effect can be projected.
[0182]
【The invention's effect】
As described above, according to the present invention, a color signal can be partially emphasized and output. Accordingly, when the color of the subject is emphasized, only the color of the subject that is desired to be emphasized can be emphasized.
[0183]
In addition, since the display device of the present invention uses a color correction device that emphasizes only the color of a subject that should be emphasized, an image with a high display effect can be projected.
[Brief description of the drawings]
FIG. 1 is a configuration example of a color correction apparatus according to an embodiment of the present invention.
FIG. 2 is an example of input / output characteristics of a color difference signal enhancement circuit according to an embodiment of the present invention.
FIG. 3 is a signal example when human skin is photographed in the embodiment of the present invention.
FIG. 4 is a signal example when photographing a tulip in the embodiment of the present invention.
FIG. 5 is a specific example of a color difference signal enhancement circuit according to an embodiment of the present invention.
FIG. 6 is an example of input / output characteristics of the coring circuit according to the embodiment of the present invention.
FIG. 7 is a signal example when using the coring circuit according to the embodiment of the present invention;
FIG. 8 is a circuit example of a coring circuit according to the embodiment of the present invention.
FIG. 9 is another specific example of the color difference signal enhancement circuit according to the embodiment of the present invention.
FIG. 10 is an effect example of the low-pass filter according to the embodiment of the present invention.
FIG. 11 is a usage example of the projector according to the embodiment of the invention.
FIG. 12 is a histogram of a color difference signal of a subject image in the embodiment of the present invention.
FIG. 13 is a flowchart showing an operation for performing color correction processing in the embodiment of the present invention;
FIG. 14 is a flowchart showing an operation for performing color correction processing in the embodiment of the present invention;
FIG. 15 is a flowchart showing an operation of performing color correction processing in the embodiment of the present invention.
FIG. 16 is a flowchart showing an operation for performing color correction processing in the embodiment of the present invention;
FIG. 17 is a block diagram showing a configuration of a color correction apparatus using the color correction method according to the embodiment of the present invention.
FIG. 18 is a diagram illustrating an example of conversion characteristics between a color difference signal and an enhanced color difference signal in the embodiment of the present invention.
FIG. 19 is a diagram showing a state in which a conversion characteristic from a color difference signal to an enhanced color difference signal is on-screen displayed in the embodiment of the present invention.
FIG. 20 is a configuration diagram of a conventional color correction apparatus.
[Explanation of symbols]
1: Matrix circuit, 3: Adder, 4: Color difference signal enhancement circuit 4, 5: Delay line, 6: Coring circuit, 7: Amplifier circuit, 8: Adder, 501: A / D converter, 502: Memory 503: D / A converter, 504: CPU, 505: keyboard, 506: RAM, 507: storage medium, 508, 509, 510: terminal, 516: control unit, 514, 515: terminal, 517: overlay memory 518: Storage medium.

Claims (6)

色信号と輝度信号の差を示す複数の色差信号に対して、該色差信号のレベルに応じて異なる係数を乗算する非線形演算を施す第1のステップと、
該非線形演算の結果に対して前記輝度信号を加算し、補正された色信号を得る第2のステップとを含み、
前記第1のステップにおいて前記色差信号のレベルが2つのしきい値の範囲内にある場合と前記2つのしきい値の範囲外にある場合とで前記係数の傾きが変化するように、前記2つのしきい値が撮影対象となる被写体に応じて設定される
ことを特徴とする色補正方法。
A first step of performing a non-linear operation for multiplying a plurality of color difference signals indicating a difference between a color signal and a luminance signal by a different coefficient according to the level of the color difference signal;
A second step of adding the luminance signal to the result of the non-linear operation to obtain a corrected color signal ;
In order that the slope of the coefficient changes between the case where the level of the color difference signal is within the range of two threshold values and the case where it is outside the range of the two threshold values in the first step. A color correction method, wherein two threshold values are set according to a subject to be photographed .
請求項1に記載の色補正方法であって、
前記輝度信号は、可逆変換可能な形態で圧縮して記憶されることを特徴とする色補正方法。
The color correction method according to claim 1,
The luminance signal, the color correction method characterized in that it is stored in compressed reversible transform form.
色信号と輝度信号の差を示す複数の色差信号に対して、該色差信号のレベルに応じて異なる係数を乗算する非線形演算を施す第1の手段と、
該非線形演算の結果に対して前記輝度信号を加算し、補正された色信号を得る第2の手段と
を含み、
前記第1の手段において前記色差信号のレベルが2つのしきい値の範囲内にある場合と前記2つのしきい値の範囲外にある場合とで前記係数の傾きが変化するように、前記2つのしきい値が撮影対象となる被写体に応じて設定される
ことを特徴とする色補正装置。
First means for performing a non-linear operation for multiplying a plurality of color difference signals indicating a difference between a color signal and a luminance signal by a different coefficient according to the level of the color difference signal;
A second means for adding the luminance signal to the result of the nonlinear calculation to obtain a corrected color signal;
In the first means, the slope of the coefficient changes between when the level of the color difference signal is within the range of two threshold values and when the level is outside the range of the two threshold values. A color correction apparatus, wherein two threshold values are set according to a subject to be photographed .
請求項3に記載の色補正装置であって、
前記輝度信号は、可逆変換可能な形態で圧縮して記憶されることを特徴とする色補正装置。
The color correction device according to claim 3,
The luminance signal, the color correction apparatus characterized in that it is stored in compressed reversible transform form.
赤、緑、青色成分を含む3種の色信号と輝度信号との差を示す複数の色差信号のレベルに応じて異なる増幅度で前記色差信号を増幅する色差信号強調手段と、
前記色差信号強調手段からの出力と前記輝度信号とを加算して増幅された色信号を出力する加算手段とを有し、
前記色差信号強調手段において前記色差信号のレベルが2つのしきい値の範囲内にある場合と前記2つのしきい値の範囲外にある場合とで前記増幅度が変化するように、前記2つのしきい値が撮影対象となる被写体に応じて設定される
ことを特徴とする色補正装置。
Color difference signal enhancement means for amplifying the color difference signals with different amplification degrees according to the levels of a plurality of color difference signals indicating the difference between the three color signals including red, green and blue components and the luminance signal;
Possess an adding means for outputting an output and the luminance signal and the color signal amplified by adding from the color difference signal enhancement means,
In the color difference signal emphasizing means, the two degrees of amplification are changed so that the level of the color difference signal varies between the case where the level of the color difference signal is within the range of the two threshold values and the case where the level is outside the range of the two threshold values. A color correction apparatus, characterized in that a threshold value is set according to a subject to be photographed .
請求項に記載の色補正装置であって、
前記色差信号強調手段は、所定のレベル範囲の前記色差信号の通過を阻止し、
前記所定のレベル範囲外の前記色差信号を通過させるコアリング手段と、
前記コアリング手段の出力を増幅する増幅手段と、
前記増幅手段の出力と前記色差信号とを加算する第2の加算手段とを有することを特徴とする色補正装置。
The color correction apparatus according to claim 5 ,
The color difference signal enhancing means prevents the color difference signal from passing through a predetermined level range;
Coring means for passing the color difference signal outside the predetermined level range;
Amplifying means for amplifying the output of the coring means;
2. A color correction apparatus comprising: a second addition unit that adds the output of the amplification unit and the color difference signal.
JP16230299A 1998-06-09 1999-06-09 Color correction method, recording medium storing program for executing color correction method, color correction device, and display device Expired - Lifetime JP4265033B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16230299A JP4265033B2 (en) 1998-06-09 1999-06-09 Color correction method, recording medium storing program for executing color correction method, color correction device, and display device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP16035998 1998-06-09
JP10-160359 1998-06-09
JP16230299A JP4265033B2 (en) 1998-06-09 1999-06-09 Color correction method, recording medium storing program for executing color correction method, color correction device, and display device

Publications (3)

Publication Number Publication Date
JP2000069496A JP2000069496A (en) 2000-03-03
JP2000069496A5 JP2000069496A5 (en) 2006-07-13
JP4265033B2 true JP4265033B2 (en) 2009-05-20

Family

ID=26486897

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16230299A Expired - Lifetime JP4265033B2 (en) 1998-06-09 1999-06-09 Color correction method, recording medium storing program for executing color correction method, color correction device, and display device

Country Status (1)

Country Link
JP (1) JP4265033B2 (en)

Families Citing this family (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

Also Published As

Publication number Publication date
JP2000069496A (en) 2000-03-03

Similar Documents

Publication Publication Date Title
JP5086067B2 (en) Method for encoding a high dynamic range image, data structure for representing, and encoding apparatus
US9483848B2 (en) Image processing apparatus having a plurality of image processing blocks that are capable of real-time processing of an image signal
US5818525A (en) RGB image correction using compressed flat illuminated files and a simple one or two point correction algorithm
JP5430218B2 (en) Image processing apparatus and image processing method
CN100366052C (en) Image processing device and method
KR20050090060A (en) Image processing device and method
JPH02301295A (en) Video printer device
US7561189B2 (en) Method and apparatus of image dynamic response re-mapping and digital camera using the same
JP6974156B2 (en) Image color conversion device, image color conversion program, image color conversion method
JPH0837604A (en) Image processor
JP2007266955A (en) Imaging apparatus, video signal processing circuit, video signal processing method and computer program
US5818613A (en) System and method for color space conversion
JP4161719B2 (en) Image processing apparatus and method, recording medium, and program
JP2004246644A (en) Apparatus, method, and program for image processing
JP7296745B2 (en) Image processing device, image processing method, and program
KR100595251B1 (en) Color reproduction apparatus and method for display
JP4265033B2 (en) Color correction method, recording medium storing program for executing color correction method, color correction device, and display device
JP5568084B2 (en) Transform images encoded using different standards
JP6784643B2 (en) Video signal converter and its program, and video display device
JP2005204229A (en) Image processing apparatus, image processing method, and image processing program
JP3992490B2 (en) Imaging apparatus and imaging method
JP7332325B2 (en) IMAGE PROCESSING DEVICE, IMAGING DEVICE, IMAGE PROCESSING METHOD, AND PROGRAM
JP4377733B2 (en) Color adjustment module, image pickup apparatus, and program for realizing color adjustment
JP2003348442A (en) Television camera
JPH01222967A (en) Saturation adjustment of digital image and device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060529

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060529

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081031

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081111

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081225

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090127

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090209

R150 Certificate of patent or registration of utility model

Ref document number: 4265033

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120227

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120227

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150227

Year of fee payment: 6

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150227

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150227

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term