JP4397623B2 - Tone correction device - Google Patents

Tone correction device Download PDF

Info

Publication number
JP4397623B2
JP4397623B2 JP2003140640A JP2003140640A JP4397623B2 JP 4397623 B2 JP4397623 B2 JP 4397623B2 JP 2003140640 A JP2003140640 A JP 2003140640A JP 2003140640 A JP2003140640 A JP 2003140640A JP 4397623 B2 JP4397623 B2 JP 4397623B2
Authority
JP
Japan
Prior art keywords
luminance
primary color
correction
value
frequency distribution
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 - Fee Related
Application number
JP2003140640A
Other languages
Japanese (ja)
Other versions
JP2004342030A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2003140640A priority Critical patent/JP4397623B2/en
Publication of JP2004342030A publication Critical patent/JP2004342030A/en
Application granted granted Critical
Publication of JP4397623B2 publication Critical patent/JP4397623B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、映像信号の階調を補正する階調補正装置および階調補正方法に関する。
【0002】
【従来の技術】
プラズマディスプレイパネル(以下、PDPと呼ぶ)、液晶表示装置(以下、LCDと呼ぶ)等のようにデジタル方式で階調表示を行う表示装置においては、限られた階調ダイナミックレンジを有効に活用して高コントラスト化を実現するために、映像信号の輝度分布の平滑化処理が行われている(例えば、特許文献1〜4参照)。このような輝度分布の平滑化処理では、画像をより鮮明に見せるためにコントラストが改善されたり、全体的に暗い画像がより明るく改善されたりしている。
【0003】
図13(a)は平滑化処理前の1フレームにおける輝度の度数分布の一例を示す図であり、図13(b)は従来の階調補正装置による平滑化処理後の1フレームにおける輝度の度数分布を示す図である。図13(a),(b)の横軸は輝度レベルを示し、縦軸は出現度数(以下、度数と略記する)を示す。
【0004】
図13(a)の例では、中間の輝度レベルで度数が高くなっている。平滑化処理によれば、図13(b)に示すように度数分布が輝度レベルの全範囲にわたって平滑化される。それにより、高コントラスト化が実現される。
【0005】
一般に、輝度分布の平滑化処理は輝度信号に対して行われる。そのため、従来の階調補正装置では、赤色原色信号(R信号)、緑色原色信号(G信号)および青色原色信号(B信号)が色座標変換により輝度信号および2つの色差信号に変換され、輝度信号に輝度分布の平滑化処理が行われる。その後、処理された輝度信号および2つの色差信号が色座標逆変換により赤色原色信号、緑色原色信号および青色原色信号に変換される(例えば、特許文献5および6参照)。
【0006】
【特許文献1】
特開昭63−040472号公報
【特許文献2】
特開平08−115417号公報
【特許文献3】
特開2002−165095号公報
【特許文献4】
特開平08−023460号公報
【特許文献5】
特開平09−247483号公報
【特許文献6】
特開2003−009172号公報
【0007】
【発明が解決しようとする課題】
従来の階調補正装置では、3つの原色信号が色座標変換により輝度信号および2つの色差信号に変換される際に演算誤差が発生し、平滑化処理された輝度信号および2つの色差信号が色座標逆変換により3つの原色信号に変換される際にも演算誤差が発生する。それにより、平滑化処理により得られた3つの原色信号が劣化し、表示される映像の劣化が発生する。
【0008】
また、色座標変換においては9回の乗算が必要であり、色座標逆変換においても9回の乗算が必要である。そのため、色座標変換を行う色座標変換回路および色座標逆変換を行う色座標逆変換回路をハードウエアにより実現する場合、合計18個の乗算回路が必要となる。そのため、階調補正装置の回路規模が増大する。
【0009】
本発明の目的は、回路規模を増大させることなくかつ映像の劣化を生じることなく原色信号を高コントラスト化することが可能な階調補正装置および階調補正方法を提供することである。
【0010】
【課題を解決するための手段】
本発明に係る階調補正装置は、入力された複数の原色信号から輝度に対して相関性を有する輝度相関情報を生成する輝度相関情報生成手段と、輝度相関情報生成手段により生成された輝度相関情報に基づいて輝度分布の平滑化処理のための補正情報を生成する補正情報生成手段と、補正情報生成手段により生成された補正情報に基づいて輝度相関情報生成手段により生成された輝度相関情報に対応する補正比率を算出する補正比率算出手段と、補正比率算出手段により算出された補正比率を入力された複数の原色信号にそれぞれ乗算する乗算手段とを備えたものである。
【0011】
本発明に係る階調補正装置においては、入力された複数の原色信号から輝度に対して相関性を有する輝度相関情報が輝度相関情報生成手段により生成され、その輝度相関情報に基づいて輝度分布の平滑化処理のための補正情報が補正情報生成手段により生成される。そして、補正情報生成手段により生成された補正情報に基づいて輝度相関情報生成手段により生成された輝度相関情報に対応する補正比率が補正比率算出手段により算出され、その補正比率が入力された複数の原色信号に乗算手段によりそれぞれ乗算される。
【0012】
このように、複数の原色信号に共通の補正情報に基づく輝度分布の平滑化処理が行われるので、回路規模の低減化が可能となる。また、入力された複数の原色信号の各々に輝度分布の平滑化処理が行われるので、演算誤差が小さく、映像の劣化が防止される。したがって、回路規模を増大させることなくかつ映像の劣化を生じることなく原色信号を高コントラスト化することができる。
【0013】
さらに、複数の原色信号に共通の補正比率が乗算されるので、入力された複数の原色信号と得られた複数の原色信号とで色バランスの変化が生じにくい。
【0014】
補正比率算出手段は、補正情報生成手段により生成された補正情報および輝度相関情報生成手段により生成された輝度相関情報の合計と輝度相関情報との比率を補正比率として算出してもよい。この場合、簡単な回路構成により補正比率を容易に算出することができる。
【0015】
輝度相関情報生成手段は、輝度相関情報として輝度信号を生成してもよい。
この場合、輝度信号は、複数の原色信号の輝度の平均的な要素を含むので、複数の原色信号の平均的な輝度分布を平滑化することが可能となる。それにより、映像の画質を低下させることなく高コントラスト化を図ることができる。
【0016】
複数の原色信号は、赤色原色信号、緑色原色信号および青色原色信号を含み、乗算手段は、補正比率算出手段により算出された補正比率を入力された赤色原色信号に乗算する第1の乗算回路と、補正比率算出手段により算出された補正比率を入力された緑色原色信号に乗算する第2の乗算回路と、補正比率算出手段により算出された補正比率を入力された青色原色信号に乗算する第3の乗算回路とを含んでもよい。
【0017】
乗算手段においては、補正比率算出手段により算出された補正比率が第1の乗算回路により入力された赤色原色信号に乗算され、補正比率算出手段により算出された補正比率が第2の乗算回路により入力された緑色原色信号に乗算され、補正比率算出手段により算出された補正比率が第3の乗算回路により入力された青色原色信号に乗算される。
【0018】
この場合、色座標変換および色座標逆変換を行うことなく、赤色原色信号、緑色原色信号および青色原色信号を用いて映像をそのまま表示することができる。それにより、回路規模の低減が可能になるとともに映像の劣化が防止される。
【0019】
補正情報生成手段は、フレームごとに輝度相関情報生成手段により生成された輝度相関情報の各値の出現度数の分布を検出する度数分布検出手段と、度数分布検出手段により検出された分布に基づいて各値における補正量を補正情報として記憶する補正情報記憶手段とを含み、補正比率算出手段は、補正情報記憶手段から読み出された補正情報に基づいて輝度相関情報生成手段により生成された輝度相関情報に対応する補正比率を算出してもよい。
【0020】
この場合、フレームごとに輝度相関情報の各値の出現度数の分布が検出され、その分布に基づいて所定範囲内で各値における補正量が補正情報記憶手段に補正情報として記憶される。そして、補正情報記憶手段から読み出された補正情報に基づいて輝度相関情報に対応する補正比率が算出される。
【0021】
第2の発明に係る階調補正方法は、入力された複数の原色信号から輝度に対して相関性を有する輝度相関情報を生成するステップと、生成された輝度相関情報に基づいて輝度分布の平滑化処理のための補正情報を生成するステップと、生成された補正情報に基づいて生成された輝度相関情報に対応する補正比率を算出するステップと、算出された補正比率を入力された複数の原色信号にそれぞれ乗算するステップとを備えたものである。
【0022】
第2の発明に係る階調補正方法においては、入力された複数の原色信号から輝度に対して相関性を有する輝度相関情報が生成され、その輝度相関情報に基づいて輝度分布の平滑化処理のための補正情報が生成される。そして、生成された補正情報に基づいて生成された輝度相関情報に対応する補正比率が算出され、その補正比率が入力された複数の原色信号にそれぞれ乗算される。
【0023】
このように、複数の原色信号に共通の補正情報に基づく輝度分布の平滑化処理が行われるので、回路規模の低減化が可能となる。また、入力された複数の原色信号の各々に輝度分布の平滑化処理が行われるので、演算誤差が小さく、映像の劣化が防止される。したがって、回路規模を増大させることなくかつ映像の劣化を生じることなく原色信号を高コントラスト化することができる。
【0024】
さらに、複数の原色信号に共通の補正比率が乗算されるので、入力された複数の原色信号と得られた複数の原色信号とで色バランスの変化が生じにくい。
【0025】
【発明の実施の形態】
以下、本発明の実施の形態に係る階調補正装置について説明する。
【0026】
図1は、本発明の一実施の形態に係る階調補正装置の構成を示すブロック図である。
【0027】
図1の階調補正装置100は、階調情報算出回路5、変換比率算出回路7、輝度分布抽出回路10、切替回路11、階調補正変換テーブル作成回路12および乗算回路21,22,23を含む。
【0028】
図1の階調補正装置100の階調情報算出回路5には、赤色原色信号(R信号)RI、緑色原色信号(G信号)GIおよび青色原色信号(B信号)BIが入力される。また、乗算回路21には赤色原色信号RIが入力され、乗算回路22には緑色原色信号GIが入力され、乗算回路23には青色原色信号BIが入力される。
【0029】
ここで、赤色原色信号RI、緑色原色信号GIおよび青色原色信号BIは、それぞれデジタルの原色信号である。赤色原色信号RIの値、緑色原色信号GIの値および青色原色信号BIの値は、それぞれ赤色の輝度レベル(階調)、緑色の輝度レベル(階調)および青色の輝度レベル(階調)を表す。
【0030】
階調情報算出回路5は、3個の乗算回路を含み、赤色原色信号RI、緑色原色信号GIおよび青色原色信号BIから輝度信号Y1を算出する。階調情報算出回路5は、算出した輝度信号Y1を変換比率算出回路7、輝度分布抽出回路10および切替回路11に与える。
【0031】
輝度分布抽出回路10は、その輝度信号Y1から後述する輝度分布抽出処理を行い、正規化累積度数分布SSを作成して切替回路11に与える。
【0032】
切替回路11は、垂直有効走査期間に輝度信号Y1を階調補正変換テーブル作成回路12に与え、垂直帰線期間に正規化累積度数分布SSを階調補正変換テーブル作成回路12に与える。ここで、垂直有効走査期間とは、1垂直走査期間のうち映像を表示する期間をいい、垂直帰線期間とは、1垂直帰線期間のうち電子ビームが垂直走査終了点から垂直走査開始点へ戻る期間をいう。
【0033】
階調補正変換テーブル作成回路12は、垂直帰線期間において正規化累積度数分布SSに基づいて平滑化処理のための階調補正変換テーブルを作成して記憶する。また、階調補正変換テーブル作成回路12は、垂直有効走査期間において輝度信号Y1から階調補正変換テーブルを用いて補正量ΔYを生成し、その補正量ΔYを変換比率算出回路7に与える。
【0034】
変換比率算出回路7は、1個の乗算回路を含み、補正量ΔYおよび与えられた輝度信号Y1を用いて3つのデジタルの原色信号に対して輝度分布の平滑化処理を行うための変換比率YRを算出する。この変換比率YRの算出方法については後述する。変換比率算出回路7は、乗算回路21,22,23に算出した変換比率YRを与える。
【0035】
乗算回路21は、赤色原色信号RIと変換比率YRとを乗算し、その乗算結果を赤色原色信号R0として出力する。乗算回路22は、緑色原色信号GIと変換比率YRとを乗算し、その乗算結果を緑色原色信号G0として出力する。乗算回路23は、青色原色信号BIと変換比率YRとを乗算し、その乗算結果を青色原色信号B0として出力する。
【0036】
次に、輝度分布抽出回路10の構成および動作について説明する。図2は、図1の輝度分布抽出回路10の構成を示すブロック図である。
【0037】
図2に示す輝度分布抽出回路10は、アドレスデコーダ30、n個のカウンタ41 ,42 ,・・・,4n (以下、41 〜4n と略記する)、累積度数分布作成回路50、ゲイン制御回路60および正規化回路70を含む。ここで、nは輝度レベルの数(階調数)に相当する。例えば、輝度信号Y1が8ビットを有する場合にはnは256である。以下、理解を容易にするために、n=256とするが、階調数はこれに限定されず、任意の値に設定することができる。
【0038】
まず、アドレスデコーダ30に輝度信号Y1が与えられる。アドレスデコーダ30は、輝度信号Y1の値に応じてカウンタ41 〜4n のいずれかにパルスP1 〜Pn を与える。
【0039】
例えば、アドレスデコーダ30は、輝度信号Y1の値が“0”の場合にカウンタ41 にパルスP1 を与え、輝度信号Y1の値が“1”の場合にカウンタ42 にパルスP2 を与え、輝度信号Y1の値がn−1の場合にカウンタ4n にパルスPn を与える。
【0040】
カウンタ41 〜4n は、それぞれパルスP1 〜Pn をカウントし、1フレーム毎の各輝度レベルの出現度数(以下、度数と略記する)H1 〜Hn を累積度数分布作成回路50に与える。累積度数分布作成回路50は、1フレーム毎の各輝度レベルの度数H1 〜Hn を累積することにより累積度数分布RDを生成し、その累積度数分布RDをゲイン制御回路60に与える。
【0041】
ゲイン制御回路60には、所定の補正ゲイン制限パラメータGPが与えられている。本実施の形態では、補正ゲイン制限パラメータGPの値は予め設定されている。ゲイン制御回路60は、補正ゲイン制限パラメータGPに基づいて累積度数分布作成回路50より与えられた累積度数分布RDにゲイン補正のための処理を行い、補正累積度数分布GRを正規化回路70に与える。ゲイン制御回路60の処理については後述する。
【0042】
正規化回路70は、与えられた補正累積度数分布GRの正規化処理を行い、正規化累積度数分布SSを出力する。
【0043】
ここで、図1の階調情報算出回路5および図2の輝度分布抽出回路10の動作の詳細について例を用いて説明する。
【0044】
図3(a)は赤色原色信号RIの度数分布の一例を示す図、図3(b)は緑色原色信号GIの度数分布の一例を示す図、図3(c)は青色原色信号BIの度数分布を示す図である。図3(a),(b),(c)の横軸は赤色入力輝度レベル(赤色原色信号RIの値)、緑色入力輝度レベル(緑色原色信号GIの値)、青色入力輝度レベル(青色原色信号BIの値)を示し、縦軸は度数を示す。
【0045】
図1の階調情報算出回路5は、次式に従って赤色原色信号RI、緑色原色信号GIおよび青色原色信号BIから輝度信号Y1を算出する。
【0046】
Y1=α・RI+β・GI+γ・BI
上式において、α、βおよびγはそれぞれ所定の係数である。
【0047】
図4は、階調情報算出回路5より算出される輝度信号Y1の度数分布の一例を示すヒストグラムである。図4の横軸は輝度レベル(輝度信号Y1の値)を示し、縦軸は度数を示す。本実施の形態では、輝度レベルは値“0”〜“255”を有する。
【0048】
図4の例では、輝度レベルが低い範囲aおよび高い範囲bにおいては、度数が0となっている。そのため、範囲a,bに、輝度分布を広げることにより平滑化処理を行うための裕度がある。
【0049】
図2の累積度数分布作成回路50は、図4に示した各輝度レベルの度数を順に累積演算することにより累積度数を算出する。
【0050】
図5は累積度数分布作成回路50により作成される累積度数分布RDの一例を示す図である。図5の横軸は輝度レベル(輝度信号Y1の値)を示し、縦軸は累積度数を示す。
【0051】
また、累積度数分布作成回路50は、輝度レベルの度数の平均値、モード値、最小値、最大値、偏差係数、白面積、黒面積等の特徴量を検出し、検出した特徴量に基づいて正規化後の最大輝度レベル等の制御値を算出する。
【0052】
さらに、ゲイン制御回路60は、補正ゲイン制限パラメータGPに基づいてオフセットを生成する。
【0053】
図6はゲイン制御回路60により生成されるオフセットの一例を示す図である。図6の横軸は輝度レベルを示し、縦軸はオフセット値を示す。
【0054】
オフセットOFの一例を実線で示し、オフセットOFの他の例を破線で示す。ゲイン制御回路60は、補正ゲイン制限パラメータGPの値が小さい場合には、実線で示すようにオフセットOFの傾きを大きくし、補正ゲイン制限パラメータGPの値が大きい場合には、破線で示すようにオフセットOFの傾きを小さくする。
【0055】
ゲイン制御回路60は、補正ゲイン制限パラメータGPに基づいてゲイン補正のための以下の処理を行う。
【0056】
ゲイン制御回路60は、図5に示す累積度数分布RDに図6に示すオフセットOFを加算し、補正累積度数分布GRを生成する。
【0057】
図7はゲイン制御回路60により生成される補正累積度数分布GRの一例を示す図である。図7の横軸は輝度レベルを示し、縦軸は累積度数を示す。
【0058】
オフセットOFの傾きが大きい場合の補正累積度数分布GRを実線で示し、オフセットOFの傾きが小さい場合の補正累積度数分布GRを破線で示す。図6に示すように、オフセットOFの傾きが大きいほど、補正累積度数分布GRの最大値が大きくなる。
【0059】
正規化回路70は、ゲイン制御回路60から与えられる補正累積度数分布GRを正規化し、正規化累積度数分布SSを作成する。具体的に、正規化回路70は、正規化累積度数分布SSの最大累積度数が累積度数分布作成回路50により得られた最大輝度レベルとなるように、補正累積度数分布GRの正規化演算を行う。
【0060】
図8は、正規化回路70により作成される正規化累積度数分布SSの一例を示す図である。図8の横軸は輝度レベルを示し、縦軸は正規化された度数を示す。
【0061】
図8において、図6のオフセットOFの傾きが大きい場合の正規化累積度数分布SSを実線で示し、図6のオフセットOFの傾きが小さい場合の正規化累積度数分布SSを破線で示す。また、横軸をX軸とし、縦軸をY軸とした場合、Y=Xの一次関数で示されるランプ直線LPを一点鎖線で示す。
【0062】
図8に示すように、オフセットOFの傾きが大きい場合、すなわち補正ゲイン制限パラメータGPの値が小さい場合には、ランプ直線LPに対する正規化累積度数分布SSの変位量は小さくなり、オフセットOFの傾きが小さい場合、すなわち補正ゲイン制限パラメータGPの値が大きい場合には、ランプ直線LPに対する正規化累積度数分布SSの変位量は大きくなる。
【0063】
図1の階調補正変換テーブル作成回路12は、正規化回路70により得られた正規化累積度数分布SSからランプ直線LPを減算することにより、補正量ΔYを算出する。
【0064】
図9は、階調補正変換テーブル作成回路12により算出された補正量ΔYの分布の一例を示す図である。図9の横軸は輝度レベルを示し、縦軸は補正量ΔYを示す。
【0065】
図9において、図6のオフセットOFの傾きが大きい場合の補正量ΔYを実線で示し、図6のオフセットOFの傾きが小さい場合の補正量ΔYを破線で示す。
【0066】
図8に示すように、オフセットOFの傾きが大きい場合、すなわち補正ゲイン制限パラメータGPの値が小さい場合には、補正量ΔYは小さくなり、オフセットOFの傾きが小さい場合、すなわち補正ゲイン制限パラメータGPの値が大きい場合には、補正量ΔYは大きくなる。そのため、設定された補正ゲイン制限パラメータGPの値により補正ゲインが定まる。
【0067】
また、階調補正変換テーブル作成回路12は、ルックアップテーブル(LUT)メモリを有する。ルックアップテーブルメモリのアドレスに輝度信号Y1を対応させ、そのアドレスに補正量ΔYがデータとして格納される。ルックアップテーブルメモリに記憶される補正量ΔYが階調補正変換テーブルを構成する。階調補正変換テーブル作成回路12は、垂直有効走査期間に切替回路11を介して与えられる輝度信号Y1をアドレス信号として受け、ルックアップテーブルメモリの指定されたアドレスから補正量ΔYを読み出し、変換比率算出回路7に与える。
【0068】
次に、変換比率算出回路7の構成および動作について説明する。図10は、変換比率算出回路7の構成を示すブロック図である。
【0069】
図10の変換比率算出回路7は、加算回路71および除算回路72を含む。
加算回路71は、図1の階調情報算出回路5より与えられた輝度信号Y1と階調補正変換テーブル作成回路12より与えられた補正量ΔYとを加算して補正後輝度信号Y2を生成し、除算回路72に与える。
【0070】
図11は、加算回路71に与えられる輝度信号Y1と加算回路71により生成される補正後輝度信号Y2との関係の一例を示す図である。図11の横軸は輝度信号Y1の値を示し、縦軸は補正後輝度信号Y2の値を示す。
【0071】
図11の例においては、輝度信号Y1の値が低い場合、補正後輝度信号Y2は輝度信号Y1の値よりも低い値を有し、輝度信号Y1の値が高い場合、補正後輝度信号Y2は輝度信号Y1の値よりも高い値を有する。
【0072】
すなわち、輝度信号Y1の値が比較的低い場合、補正後輝度信号Y2はさらに輝度レベルの低い範囲に平滑化され、輝度信号Y1の値が比較的高い場合、補正後輝度信号Y2はさらに輝度レベルの高い範囲に平滑化される。
【0073】
続いて、図10の除算回路72は、与えられた補正後輝度信号Y2と輝度信号Y1との比率を算出する。除算回路72は、補正後輝度信号Y2を輝度信号Y1で除算することにより3つのデジタルの原色信号に輝度分布の平滑化処理を行うための変換比率YR(=Y2/Y1)を算出する。除算回路72は、その変換比率YRを乗算回路21,22,23に与える。
【0074】
乗算回路21は、次式に従って変換比率YR(=Y2/Y1)を用いて赤色原色信号R0を算出する。
【0075】
R0=(Y2/Y1)・RI=YR・RI
同様に、乗算回路22および乗算回路23は、次式に従って変換比率YR(=Y2/Y1)を用いて緑色原色信号G0および青色原色信号B0を算出する。
【0076】
G0=(Y2/Y1)・GI=YR・GI
B0=(Y2/Y1)・BI=YR・BI
次いで、上式によって算出された3つのデジタルの原色信号について説明する。図12(a)は赤色原色信号R0の度数分布の一例を示す図、図12(b)は緑色原色信号G0の度数分布の一例を示す図、図12(c)は青色原色信号B0の度数分布を示す図である。図12(a),(b),(c)の横軸は赤色出力輝度レベル(赤色原色信号R0の値)、緑色出力輝度レベル(緑色原色信号G0の値)、青色出力輝度レベル(青色原色信号B0の値)を示し、縦軸は度数を示す。
【0077】
図12(a)の赤色原色信号R0の度数分布においては、図3(a)の赤色原色信号RIの度数分布と比較して、輝度分布が低い範囲および高い範囲に広げられている。したがって、赤色原色信号RIの平滑化処理により、赤色原色信号R0の高コントラスト化を実現することができる。
【0078】
同様に、図12(b)の緑色原色信号G0の度数分布においては、図3(b)の緑色原色信号GIの度数分布と比較して、輝度分布が低い範囲および高い範囲に広げられている。したがって、緑色原色信号GIの平滑化処理により、緑色原色信号G0の高コントラスト化を実現することができる。さらに、図12(c)の青色原色信号B0の度数分布においては、図3(b)の青色原色信号BIの度数分布と比較して、輝度分布が低い範囲および高い範囲に広げられている。したがって、青色原色信号BIの平滑化処理により、青色原色信号B0の高コントラスト化を実現することができる。
【0079】
本実施の形態に係る階調補正装置100においては、階調情報算出回路5が3つの乗算回路を含み、変換比率算出回路7が1つの除算回路を含む。なお、除算回路は、乗算回路とほぼ等価の回路規模で実現可能である。また、3つの乗算回路21,22,23が用いられる。すなわち、階調補正装置100は、7つの乗算回路に相当する回路を含む。したがって、階調補正装置100では、18個の乗算回路を有する従来の階調補正回路と比較して大幅に回路規模が低減される。
【0080】
また、入力された赤色原色信号RI、緑色原色信号GIおよび青色原色信号BIの各々に輝度分布の平滑化処理が行われ、色座標変換および色逆座標変換が行われないので、演算誤差が小さく、映像の劣化が防止される。このように、階調補正装置100においては、回路規模を増大させることなくかつ映像の劣化を生じることなく原色信号を高コントラスト化することができる。
【0081】
さらに、複数の原色信号に共通の変換比率YRが乗算されるので、入力された赤色原色信号RI、緑色原色信号GIおよび青色原色信号BIと得られた赤色原色信号R0、緑色原色信号G0および青色原色信号B0とで色バランスの変化が生じにくい。
【0082】
なお、本実施の形態では、階調情報算出回路5により赤色原色信号RI、緑色原色信号GIおよび青色原色信号BIから輝度相関情報として輝度信号Y1が算出される場合を説明したが、これに限定されず、赤色原色信号RI、緑色原色信号GIおよび青色原色信号BIから輝度と相関性を有する他の信号を算出して輝度相関情報として用いてもよい。
【0083】
本実施の形態においては、階調情報算出回路5が輝度相関情報生成手段に相当し、輝度分布抽出回路10および階調補正変換テーブル作成回路12が補正情報生成手段に相当し、変換比率算出回路7が補正比率算出手段に相当し、乗算回路21,22,23が乗算手段に相当する。また、乗算回路21が第1の乗算回路に相当し、乗算回路22が第2の乗算回路に相当し、乗算回路23が第3の乗算回路に相当し、輝度分布抽出回路10が度数分布検出手段に相当し、階調補正変換テーブル作成回路12が補正情報記憶手段に相当する。さらに、補正量ΔYが補正情報に相当し、輝度信号Y1が輝度相関情報に相当し、変換比率YRが補正比率に相当する。
【0084】
【発明の効果】
本発明によれば、複数の原色信号に共通の補正情報に基づく輝度分布の平滑化処理が行われるので、回路規模の低減化が可能となる。また、入力された複数の原色信号の各々に輝度分布の平滑化処理が行われるので、演算誤差が小さく、映像の劣化が防止される。したがって、回路規模を増大させることなくかつ映像の劣化を生じることなく原色信号を高コントラスト化することができる。
【0085】
さらに、複数の原色信号に共通の補正比率が乗算されるので、入力された複数の原色信号と得られた複数の原色信号とで色バランスの変化が生じにくい。
【図面の簡単な説明】
【図1】本発明の一実施の形態に係る階調補正装置の構成を示すブロック図
【図2】図1の輝度分布抽出回路の構成を示すブロック図
【図3】(a)は赤色原色信号の度数分布の一例を示す図、(b)は緑色原色信号の度数分布の一例を示す図、(c)は青色原色信号の度数分布を示す図
【図4】階調情報算出回路より算出される輝度信号の度数分布の一例を示すヒストグラム
【図5】累積度数分布作成回路により作成される累積度数分布の一例を示す図
【図6】ゲイン制御回路により生成されるオフセットの一例を示す図
【図7】ゲイン制御回路により生成される補正累積度数分布の一例を示す図
【図8】正規化回路により作成される正規化累積度数分布の一例を示す図
【図9】階調補正変換テーブル作成回路により算出された補正量の分布の一例を示す図
【図10】変換比率算出回路の構成を示すブロック図
【図11】加算回路に与えられる輝度信号と加算回路により生成される補正後輝度信号との関係の一例を示す図
【図12】(a)は赤色原色信号の度数分布の一例を示す図、(b)は緑色原色信号の度数分布の一例を示す図、(c)は青色原色信号の度数分布を示す図
【図13】(a)は平滑化処理前の1フレームにおける輝度の度数分布の一例を示す図、(b)は従来の階調補正装置による平滑化処理後の1フレームにおける輝度の度数分布を示す図
【符号の説明】
1 〜4n カウンタ
5 階調情報算出回路
7 変換比率算出回路
10 輝度分布抽出回路
11 切替回路
12 階調補正変換テーブル作成回路
21,22,23 乗算回路
100 階調補正装置
Y1,Y2 輝度信号
ΔY 補正量
YR 変換比率
30 アドレスデコーダ
50 累積度数分布作成回路
60 ゲイン制御回路
70 正規化回路
71 加算回路
72 除算回路
GP 補正ゲイン制限パラメータ
GR 補正累積度数分布
1 〜Hn 度数
1 〜Pn パルス
RD 累積度数分布
SS 正規化累積度数分布
RI,R0 赤色原色信号
GI,G0 緑色原色信号
BI,B0 青色原色信号
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a gradation correction apparatus and a gradation correction method for correcting gradation of a video signal.
[0002]
[Prior art]
In a display device that performs gradation display in a digital manner, such as a plasma display panel (hereinafter referred to as PDP) or a liquid crystal display device (hereinafter referred to as LCD), a limited gradation dynamic range is effectively utilized. In order to achieve high contrast, smoothing processing of the luminance distribution of the video signal is performed (see, for example, Patent Documents 1 to 4). In such a luminance distribution smoothing process, the contrast is improved in order to make the image appear clearer, and the overall dark image is improved more brightly.
[0003]
FIG. 13A is a diagram showing an example of a luminance frequency distribution in one frame before the smoothing process, and FIG. 13B is a luminance frequency in one frame after the smoothing process by the conventional gradation correction apparatus. It is a figure which shows distribution. 13A and 13B, the horizontal axis indicates the luminance level, and the vertical axis indicates the appearance frequency (hereinafter abbreviated as frequency).
[0004]
In the example of FIG. 13A, the frequency is high at an intermediate luminance level. According to the smoothing process, the frequency distribution is smoothed over the entire range of luminance levels as shown in FIG. Thereby, high contrast is realized.
[0005]
In general, the luminance distribution smoothing process is performed on the luminance signal. Therefore, in the conventional gradation correction device, the red primary color signal (R signal), the green primary color signal (G signal), and the blue primary color signal (B signal) are converted into a luminance signal and two color difference signals by color coordinate conversion. A luminance distribution smoothing process is performed on the signal. Thereafter, the processed luminance signal and the two color difference signals are converted into a red primary color signal, a green primary color signal, and a blue primary color signal by inverse color coordinate conversion (see, for example, Patent Documents 5 and 6).
[0006]
[Patent Document 1]
Japanese Unexamined Patent Publication No. 63-040472
[Patent Document 2]
JP 08-115417 A
[Patent Document 3]
JP 2002-165095 A
[Patent Document 4]
Japanese Patent Laid-Open No. 08-023460
[Patent Document 5]
Japanese Patent Laid-Open No. 09-247483
[Patent Document 6]
JP 2003-009172 A
[0007]
[Problems to be solved by the invention]
In the conventional gradation correction device, an arithmetic error occurs when the three primary color signals are converted into a luminance signal and two color difference signals by color coordinate conversion, and the smoothed luminance signal and the two color difference signals are converted into colors. A calculation error also occurs when the three primary color signals are converted by the inverse coordinate transformation. As a result, the three primary color signals obtained by the smoothing process are degraded, and the displayed video is degraded.
[0008]
In addition, nine multiplications are necessary in the color coordinate conversion, and nine multiplications are also necessary in the color coordinate reverse conversion. Therefore, when the color coordinate conversion circuit for performing color coordinate conversion and the color coordinate reverse conversion circuit for performing color coordinate reverse conversion are realized by hardware, a total of 18 multiplication circuits are required. Therefore, the circuit scale of the gradation correction device increases.
[0009]
An object of the present invention is to provide a gradation correction apparatus and a gradation correction method capable of increasing the contrast of a primary color signal without increasing the circuit scale and without causing image deterioration.
[0010]
[Means for Solving the Problems]
The gradation correction apparatus according to the present invention includes a luminance correlation information generating unit that generates luminance correlation information having a correlation with luminance from a plurality of input primary color signals, and a luminance correlation generated by the luminance correlation information generating unit. Correction information generating means for generating correction information for smoothing the luminance distribution based on the information, and luminance correlation information generated by the luminance correlation information generating means based on the correction information generated by the correction information generating means. A correction ratio calculation unit that calculates a corresponding correction ratio and a multiplication unit that multiplies each of the input primary color signals by the correction ratio calculated by the correction ratio calculation unit.
[0011]
In the gradation correction apparatus according to the present invention, luminance correlation information having a correlation with luminance is generated from a plurality of input primary color signals by the luminance correlation information generating means, and the luminance distribution information is generated based on the luminance correlation information. Correction information for the smoothing process is generated by the correction information generation means. Then, based on the correction information generated by the correction information generating means, a correction ratio corresponding to the luminance correlation information generated by the luminance correlation information generating means is calculated by the correction ratio calculating means, and a plurality of the correction ratios inputted thereto are inputted. The primary color signals are respectively multiplied by multiplication means.
[0012]
As described above, since the luminance distribution is smoothed based on correction information common to a plurality of primary color signals, the circuit scale can be reduced. In addition, since the luminance distribution is smoothed on each of the plurality of input primary color signals, the calculation error is small and the deterioration of the video is prevented. Therefore, it is possible to increase the contrast of the primary color signal without increasing the circuit scale and without causing deterioration of the image.
[0013]
Furthermore, since a plurality of primary color signals are multiplied by a common correction ratio, a change in color balance is unlikely to occur between the input primary color signals and the obtained primary color signals.
[0014]
The correction ratio calculation unit may calculate a ratio between the correction information generated by the correction information generation unit and the luminance correlation information generated by the luminance correlation information generation unit and the luminance correlation information as a correction ratio. In this case, the correction ratio can be easily calculated with a simple circuit configuration.
[0015]
The luminance correlation information generation unit may generate a luminance signal as the luminance correlation information.
In this case, since the luminance signal includes an average element of the luminances of the plurality of primary color signals, it is possible to smooth the average luminance distribution of the plurality of primary color signals. As a result, high contrast can be achieved without degrading the image quality of the video.
[0016]
A plurality of primary color signals including a red primary color signal, a green primary color signal, and a blue primary color signal; and a multiplying unit that multiplies the input red primary color signal by the correction ratio calculated by the correction ratio calculating unit; A second multiplication circuit that multiplies the input green primary color signal by the correction ratio calculated by the correction ratio calculation means; and a third multiplier that multiplies the input blue primary color signal by the correction ratio calculated by the correction ratio calculation means. The multiplication circuit may be included.
[0017]
In the multiplication means, the correction ratio calculated by the correction ratio calculation means is multiplied by the red primary color signal input by the first multiplication circuit, and the correction ratio calculated by the correction ratio calculation means is input by the second multiplication circuit. The blue primary color signal input by the third multiplication circuit is multiplied by the corrected green primary color signal and the correction ratio calculated by the correction ratio calculating means.
[0018]
In this case, an image can be displayed as it is using the red primary color signal, the green primary color signal, and the blue primary color signal without performing color coordinate conversion and color coordinate reverse conversion. Thereby, the circuit scale can be reduced and the deterioration of the video is prevented.
[0019]
The correction information generating means is based on the frequency distribution detecting means for detecting the distribution of the appearance frequency of each value of the luminance correlation information generated by the luminance correlation information generating means for each frame, and the distribution detected by the frequency distribution detecting means. Correction information storage means for storing the correction amount at each value as correction information, the correction ratio calculation means is a luminance correlation generated by the luminance correlation information generation means based on the correction information read from the correction information storage means A correction ratio corresponding to the information may be calculated.
[0020]
In this case, the distribution of the frequency of appearance of each value of the luminance correlation information is detected for each frame, and the correction amount for each value is stored as correction information in the correction information storage means within a predetermined range based on the distribution. Then, a correction ratio corresponding to the luminance correlation information is calculated based on the correction information read from the correction information storage unit.
[0021]
According to a second aspect of the present invention, there is provided a gradation correction method comprising: generating luminance correlation information having a correlation with luminance from a plurality of input primary color signals; and smoothing a luminance distribution based on the generated luminance correlation information. Generating correction information for the conversion processing, calculating a correction ratio corresponding to the luminance correlation information generated based on the generated correction information, and a plurality of primary colors inputted with the calculated correction ratio Each step of multiplying the signals.
[0022]
In the gradation correction method according to the second invention, luminance correlation information having a correlation with the luminance is generated from the plurality of input primary color signals, and the luminance distribution smoothing process is performed based on the luminance correlation information. Correction information is generated. Then, a correction ratio corresponding to the luminance correlation information generated based on the generated correction information is calculated, and the input primary color signals are respectively multiplied by the correction ratio.
[0023]
As described above, since the luminance distribution is smoothed based on correction information common to a plurality of primary color signals, the circuit scale can be reduced. In addition, since the luminance distribution is smoothed on each of the plurality of input primary color signals, the calculation error is small and the deterioration of the video is prevented. Therefore, it is possible to increase the contrast of the primary color signal without increasing the circuit scale and without causing deterioration of the image.
[0024]
Furthermore, since a plurality of primary color signals are multiplied by a common correction ratio, a change in color balance is unlikely to occur between the input primary color signals and the obtained primary color signals.
[0025]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, a gradation correction apparatus according to an embodiment of the present invention will be described.
[0026]
FIG. 1 is a block diagram showing a configuration of a gradation correction apparatus according to an embodiment of the present invention.
[0027]
The gradation correction apparatus 100 of FIG. 1 includes a gradation information calculation circuit 5, a conversion ratio calculation circuit 7, a luminance distribution extraction circuit 10, a switching circuit 11, a gradation correction conversion table creation circuit 12, and multiplication circuits 21, 22, and 23. Including.
[0028]
A red primary color signal (R signal) RI, a green primary color signal (G signal) GI, and a blue primary color signal (B signal) BI are input to the gradation information calculation circuit 5 of the gradation correction apparatus 100 of FIG. Further, the red primary color signal RI is input to the multiplication circuit 21, the green primary color signal GI is input to the multiplication circuit 22, and the blue primary color signal BI is input to the multiplication circuit 23.
[0029]
Here, the red primary color signal RI, the green primary color signal GI, and the blue primary color signal BI are digital primary color signals, respectively. The value of the red primary color signal RI, the value of the green primary color signal GI, and the value of the blue primary color signal BI are respectively a red luminance level (gradation), a green luminance level (gradation), and a blue luminance level (gradation). To express.
[0030]
The gradation information calculation circuit 5 includes three multiplication circuits, and calculates the luminance signal Y1 from the red primary color signal RI, the green primary color signal GI, and the blue primary color signal BI. The gradation information calculation circuit 5 supplies the calculated luminance signal Y1 to the conversion ratio calculation circuit 7, the luminance distribution extraction circuit 10, and the switching circuit 11.
[0031]
The luminance distribution extraction circuit 10 performs a luminance distribution extraction process, which will be described later, from the luminance signal Y1, creates a normalized cumulative frequency distribution SS, and gives it to the switching circuit 11.
[0032]
The switching circuit 11 provides the luminance signal Y1 to the gradation correction conversion table creation circuit 12 during the vertical effective scanning period, and provides the normalized cumulative frequency distribution SS to the gradation correction conversion table creation circuit 12 during the vertical blanking period. Here, the vertical effective scanning period refers to a period during which an image is displayed in one vertical scanning period, and the vertical blanking period refers to the vertical scanning start point from the vertical scanning end point in one vertical blanking period. The period to return to.
[0033]
The gradation correction conversion table creation circuit 12 creates and stores a gradation correction conversion table for smoothing processing based on the normalized cumulative frequency distribution SS in the vertical blanking period. In addition, the gradation correction conversion table creation circuit 12 generates a correction amount ΔY from the luminance signal Y1 using the gradation correction conversion table in the vertical effective scanning period, and supplies the correction amount ΔY to the conversion ratio calculation circuit 7.
[0034]
The conversion ratio calculation circuit 7 includes one multiplication circuit, and uses the correction amount ΔY and the given luminance signal Y1 to convert the luminance distribution smoothing process for the three digital primary color signals. Is calculated. A method for calculating the conversion ratio YR will be described later. The conversion ratio calculation circuit 7 gives the calculated conversion ratio YR to the multiplication circuits 21, 22 and 23.
[0035]
The multiplication circuit 21 multiplies the red primary color signal RI and the conversion ratio YR, and outputs the multiplication result as a red primary color signal R0. The multiplication circuit 22 multiplies the green primary color signal GI and the conversion ratio YR, and outputs the multiplication result as the green primary color signal G0. The multiplication circuit 23 multiplies the blue primary color signal BI and the conversion ratio YR, and outputs the multiplication result as the blue primary color signal B0.
[0036]
Next, the configuration and operation of the luminance distribution extraction circuit 10 will be described. FIG. 2 is a block diagram showing a configuration of the luminance distribution extraction circuit 10 of FIG.
[0037]
The luminance distribution extraction circuit 10 shown in FIG. 2 includes an address decoder 30 and n counters 4. 1 , 4 2 , ..., 4 n (Hereinafter 4 1 ~ 4 n A cumulative frequency distribution generation circuit 50, a gain control circuit 60, and a normalization circuit 70. Here, n corresponds to the number of luminance levels (the number of gradations). For example, n is 256 when the luminance signal Y1 has 8 bits. Hereinafter, for ease of understanding, n = 256, but the number of gradations is not limited to this, and can be set to any value.
[0038]
First, the luminance signal Y1 is given to the address decoder 30. The address decoder 30 counters the counter 4 according to the value of the luminance signal Y1. 1 ~ 4 n Pulse P to either 1 ~ P n give.
[0039]
For example, when the value of the luminance signal Y1 is “0”, the address decoder 30 1 Pulse P 1 When the value of the luminance signal Y1 is “1”, the counter 4 2 Pulse P 2 When the value of the luminance signal Y1 is n-1, the counter 4 n Pulse P n give.
[0040]
Counter 4 1 ~ 4 n Are each pulse P 1 ~ P n And the frequency of appearance of each luminance level for each frame (hereinafter abbreviated as frequency) H 1 ~ H n Is given to the cumulative frequency distribution creation circuit 50. The cumulative frequency distribution creation circuit 50 is configured to calculate the frequency H of each luminance level for each frame. 1 ~ H n Is accumulated to generate a cumulative frequency distribution RD, and the cumulative frequency distribution RD is given to the gain control circuit 60.
[0041]
The gain control circuit 60 is given a predetermined correction gain limiting parameter GP. In the present embodiment, the value of the correction gain restriction parameter GP is set in advance. The gain control circuit 60 performs a process for gain correction on the cumulative frequency distribution RD given from the cumulative frequency distribution creation circuit 50 based on the correction gain restriction parameter GP, and gives the corrected cumulative frequency distribution GR to the normalization circuit 70. . The processing of the gain control circuit 60 will be described later.
[0042]
The normalization circuit 70 performs normalization processing on the given corrected cumulative frequency distribution GR and outputs a normalized cumulative frequency distribution SS.
[0043]
Here, details of the operations of the gradation information calculation circuit 5 in FIG. 1 and the luminance distribution extraction circuit 10 in FIG. 2 will be described using examples.
[0044]
3A shows an example of the frequency distribution of the red primary color signal RI, FIG. 3B shows an example of the frequency distribution of the green primary color signal GI, and FIG. 3C shows the frequency of the blue primary color signal BI. It is a figure which shows distribution. 3A, 3B, and 3C, the horizontal axis indicates the red input luminance level (the value of the red primary color signal RI), the green input luminance level (the value of the green primary color signal GI), and the blue input luminance level (the blue primary color). The value of the signal BI), and the vertical axis indicates the frequency.
[0045]
The gradation information calculation circuit 5 in FIG. 1 calculates a luminance signal Y1 from the red primary color signal RI, the green primary color signal GI, and the blue primary color signal BI according to the following equation.
[0046]
Y1 = α · RI + β · GI + γ · BI
In the above equation, α, β, and γ are predetermined coefficients.
[0047]
FIG. 4 is a histogram showing an example of the frequency distribution of the luminance signal Y1 calculated by the gradation information calculation circuit 5. The horizontal axis in FIG. 4 indicates the luminance level (value of the luminance signal Y1), and the vertical axis indicates the frequency. In the present embodiment, the luminance level has values “0” to “255”.
[0048]
In the example of FIG. 4, the frequency is 0 in the low range a and high range b. Therefore, the ranges a and b have a margin for performing the smoothing process by widening the luminance distribution.
[0049]
The cumulative frequency distribution creation circuit 50 of FIG. 2 calculates the cumulative frequency by sequentially calculating the frequency of each luminance level shown in FIG.
[0050]
FIG. 5 is a diagram showing an example of the cumulative frequency distribution RD created by the cumulative frequency distribution creation circuit 50. As shown in FIG. The horizontal axis in FIG. 5 indicates the luminance level (value of the luminance signal Y1), and the vertical axis indicates the cumulative frequency.
[0051]
In addition, the cumulative frequency distribution creation circuit 50 detects feature values such as the average value, mode value, minimum value, maximum value, deviation coefficient, white area, black area, etc. of the brightness level, and based on the detected feature values. A control value such as the maximum luminance level after normalization is calculated.
[0052]
Furthermore, the gain control circuit 60 generates an offset based on the correction gain limiting parameter GP.
[0053]
FIG. 6 is a diagram illustrating an example of the offset generated by the gain control circuit 60. The horizontal axis in FIG. 6 indicates the luminance level, and the vertical axis indicates the offset value.
[0054]
An example of the offset OF is indicated by a solid line, and another example of the offset OF is indicated by a broken line. The gain control circuit 60 increases the slope of the offset OF as shown by the solid line when the value of the correction gain restriction parameter GP is small, and as shown by the broken line when the value of the correction gain restriction parameter GP is large. Decrease the slope of the offset OF.
[0055]
The gain control circuit 60 performs the following processing for gain correction based on the correction gain restriction parameter GP.
[0056]
The gain control circuit 60 adds the offset OF shown in FIG. 6 to the cumulative frequency distribution RD shown in FIG. 5 to generate a corrected cumulative frequency distribution GR.
[0057]
FIG. 7 is a diagram illustrating an example of the corrected cumulative frequency distribution GR generated by the gain control circuit 60. The horizontal axis in FIG. 7 indicates the luminance level, and the vertical axis indicates the cumulative frequency.
[0058]
The corrected cumulative frequency distribution GR when the offset OF has a large slope is indicated by a solid line, and the corrected cumulative frequency distribution GR when the offset OF has a small slope is indicated by a broken line. As shown in FIG. 6, the maximum value of the corrected cumulative frequency distribution GR increases as the slope of the offset OF increases.
[0059]
The normalization circuit 70 normalizes the corrected cumulative frequency distribution GR given from the gain control circuit 60 and creates a normalized cumulative frequency distribution SS. Specifically, the normalization circuit 70 performs a normalization operation on the corrected cumulative frequency distribution GR so that the maximum cumulative frequency of the normalized cumulative frequency distribution SS becomes the maximum luminance level obtained by the cumulative frequency distribution creation circuit 50. .
[0060]
FIG. 8 is a diagram illustrating an example of the normalized cumulative frequency distribution SS created by the normalization circuit 70. The horizontal axis in FIG. 8 indicates the luminance level, and the vertical axis indicates the normalized frequency.
[0061]
In FIG. 8, the normalized cumulative frequency distribution SS when the offset OF in FIG. 6 is large is indicated by a solid line, and the normalized cumulative frequency distribution SS when the offset OF in FIG. 6 is small is indicated by a broken line. When the horizontal axis is the X axis and the vertical axis is the Y axis, the ramp straight line LP indicated by a linear function of Y = X is indicated by a one-dot chain line.
[0062]
As shown in FIG. 8, when the slope of the offset OF is large, that is, when the value of the correction gain limiting parameter GP is small, the displacement amount of the normalized cumulative frequency distribution SS with respect to the ramp line LP becomes small, and the slope of the offset OF Is small, that is, when the value of the correction gain limiting parameter GP is large, the displacement amount of the normalized cumulative frequency distribution SS with respect to the ramp straight line LP becomes large.
[0063]
The gradation correction conversion table creation circuit 12 in FIG. 1 calculates the correction amount ΔY by subtracting the ramp straight line LP from the normalized cumulative frequency distribution SS obtained by the normalization circuit 70.
[0064]
FIG. 9 is a diagram illustrating an example of the distribution of the correction amount ΔY calculated by the gradation correction conversion table creation circuit 12. In FIG. 9, the horizontal axis indicates the luminance level, and the vertical axis indicates the correction amount ΔY.
[0065]
In FIG. 9, the correction amount ΔY when the inclination of the offset OF in FIG. 6 is large is indicated by a solid line, and the correction amount ΔY when the inclination of the offset OF in FIG. 6 is small is indicated by a broken line.
[0066]
As shown in FIG. 8, when the inclination of the offset OF is large, that is, when the value of the correction gain restriction parameter GP is small, the correction amount ΔY is small, and when the inclination of the offset OF is small, that is, the correction gain restriction parameter GP. When the value of is large, the correction amount ΔY is large. Therefore, the correction gain is determined by the set value of the correction gain restriction parameter GP.
[0067]
The gradation correction conversion table creation circuit 12 has a look-up table (LUT) memory. The luminance signal Y1 is made to correspond to the address of the lookup table memory, and the correction amount ΔY is stored as data at that address. The correction amount ΔY stored in the look-up table memory constitutes a gradation correction conversion table. The gradation correction conversion table creation circuit 12 receives the luminance signal Y1 given via the switching circuit 11 during the vertical effective scanning period as an address signal, reads the correction amount ΔY from the designated address in the lookup table memory, and converts the conversion ratio. This is given to the calculation circuit 7.
[0068]
Next, the configuration and operation of the conversion ratio calculation circuit 7 will be described. FIG. 10 is a block diagram showing the configuration of the conversion ratio calculation circuit 7.
[0069]
10 includes an adding circuit 71 and a dividing circuit 72.
The adding circuit 71 adds the luminance signal Y1 given from the gradation information calculating circuit 5 in FIG. 1 and the correction amount ΔY given from the gradation correction conversion table creating circuit 12 to generate a corrected luminance signal Y2. To the division circuit 72.
[0070]
FIG. 11 is a diagram illustrating an example of the relationship between the luminance signal Y1 supplied to the adding circuit 71 and the corrected luminance signal Y2 generated by the adding circuit 71. In FIG. 11, the horizontal axis indicates the value of the luminance signal Y1, and the vertical axis indicates the value of the corrected luminance signal Y2.
[0071]
In the example of FIG. 11, when the value of the luminance signal Y1 is low, the corrected luminance signal Y2 has a lower value than the value of the luminance signal Y1, and when the luminance signal Y1 is high, the corrected luminance signal Y2 is The value is higher than the value of the luminance signal Y1.
[0072]
That is, when the value of the luminance signal Y1 is relatively low, the corrected luminance signal Y2 is smoothed to a range with a lower luminance level, and when the value of the luminance signal Y1 is relatively high, the corrected luminance signal Y2 is further increased in luminance level. Is smoothed to a high range.
[0073]
Subsequently, the division circuit 72 of FIG. 10 calculates a ratio between the given corrected luminance signal Y2 and the luminance signal Y1. The division circuit 72 divides the corrected luminance signal Y2 by the luminance signal Y1 to calculate a conversion ratio YR (= Y2 / Y1) for performing luminance distribution smoothing processing on the three digital primary color signals. The division circuit 72 gives the conversion ratio YR to the multiplication circuits 21, 22, and 23.
[0074]
The multiplier circuit 21 calculates the red primary color signal R0 using the conversion ratio YR (= Y2 / Y1) according to the following equation.
[0075]
R0 = (Y2 / Y1) .RI = YR.RI
Similarly, the multiplication circuit 22 and the multiplication circuit 23 calculate the green primary color signal G0 and the blue primary color signal B0 using the conversion ratio YR (= Y2 / Y1) according to the following equation.
[0076]
G0 = (Y2 / Y1) · GI = YR · GI
B0 = (Y2 / Y1) · BI = YR · BI
Next, the three digital primary color signals calculated by the above equation will be described. 12A shows an example of the frequency distribution of the red primary color signal R0, FIG. 12B shows an example of the frequency distribution of the green primary color signal G0, and FIG. 12C shows the frequency of the blue primary color signal B0. It is a figure which shows distribution. 12A, 12B, and 12C, the horizontal axis represents the red output luminance level (the value of the red primary color signal R0), the green output luminance level (the value of the green primary color signal G0), and the blue output luminance level (the blue primary color). The value of the signal B0), and the vertical axis indicates the frequency.
[0077]
In the frequency distribution of the red primary color signal R0 in FIG. 12A, the luminance distribution is expanded to a low range and a high range as compared with the frequency distribution of the red primary color signal RI in FIG. Therefore, it is possible to realize a high contrast of the red primary color signal R0 by the smoothing process of the red primary color signal RI.
[0078]
Similarly, in the frequency distribution of the green primary color signal G0 in FIG. 12B, the luminance distribution is expanded to a low range and a high range as compared with the frequency distribution of the green primary color signal GI in FIG. . Therefore, it is possible to realize high contrast of the green primary color signal G0 by smoothing the green primary color signal GI. Furthermore, in the frequency distribution of the blue primary color signal B0 in FIG. 12C, the luminance distribution is expanded to a low range and a high range as compared with the frequency distribution of the blue primary color signal BI in FIG. Therefore, high contrast of the blue primary color signal B0 can be realized by the smoothing process of the blue primary color signal BI.
[0079]
In the gradation correction apparatus 100 according to the present embodiment, the gradation information calculation circuit 5 includes three multiplication circuits, and the conversion ratio calculation circuit 7 includes one division circuit. The divider circuit can be realized with a circuit scale substantially equivalent to that of the multiplier circuit. Three multiplication circuits 21, 22, and 23 are used. That is, the gradation correction apparatus 100 includes a circuit corresponding to seven multiplication circuits. Therefore, in the gradation correction apparatus 100, the circuit scale is significantly reduced as compared with the conventional gradation correction circuit having 18 multiplication circuits.
[0080]
Further, since the luminance distribution is smoothed on each of the input red primary color signal RI, green primary color signal GI, and blue primary color signal BI, and color coordinate conversion and color inverse coordinate conversion are not performed, the calculation error is small. Deterioration of the image is prevented. Thus, in the gradation correction apparatus 100, it is possible to increase the contrast of the primary color signal without increasing the circuit scale and without causing image degradation.
[0081]
Further, since a plurality of primary color signals are multiplied by a common conversion ratio YR, the input red primary color signal RI, green primary color signal GI and blue primary color signal BI and the obtained red primary color signal R0, green primary color signal G0 and blue color are obtained. The change in color balance is less likely to occur with the primary color signal B0.
[0082]
In the present embodiment, the case where the luminance signal Y1 is calculated as the luminance correlation information from the red primary color signal RI, the green primary color signal GI, and the blue primary color signal BI by the gradation information calculation circuit 5 has been described. Alternatively, another signal having a correlation with the luminance may be calculated from the red primary color signal RI, the green primary color signal GI, and the blue primary color signal BI and used as the luminance correlation information.
[0083]
In the present embodiment, the gradation information calculation circuit 5 corresponds to the luminance correlation information generation means, the luminance distribution extraction circuit 10 and the gradation correction conversion table creation circuit 12 correspond to the correction information generation means, and the conversion ratio calculation circuit 7 corresponds to the correction ratio calculation means, and the multiplication circuits 21, 22, and 23 correspond to the multiplication means. The multiplication circuit 21 corresponds to the first multiplication circuit, the multiplication circuit 22 corresponds to the second multiplication circuit, the multiplication circuit 23 corresponds to the third multiplication circuit, and the luminance distribution extraction circuit 10 detects the frequency distribution. The gradation correction conversion table creation circuit 12 corresponds to a correction information storage unit. Further, the correction amount ΔY corresponds to the correction information, the luminance signal Y1 corresponds to the luminance correlation information, and the conversion ratio YR corresponds to the correction ratio.
[0084]
【The invention's effect】
According to the present invention, the luminance distribution is smoothed based on correction information common to a plurality of primary color signals, so that the circuit scale can be reduced. In addition, since the luminance distribution is smoothed on each of the plurality of input primary color signals, the calculation error is small and the deterioration of the video is prevented. Therefore, it is possible to increase the contrast of the primary color signal without increasing the circuit scale and without causing deterioration of the image.
[0085]
Furthermore, since a plurality of primary color signals are multiplied by a common correction ratio, a change in color balance is unlikely to occur between the input primary color signals and the obtained primary color signals.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a gradation correction apparatus according to an embodiment of the present invention.
2 is a block diagram showing a configuration of a luminance distribution extraction circuit in FIG.
3A is a diagram illustrating an example of a frequency distribution of a red primary color signal, FIG. 3B is a diagram illustrating an example of a frequency distribution of a green primary color signal, and FIG. 3C is a diagram illustrating a frequency distribution of a blue primary color signal;
FIG. 4 is a histogram showing an example of a frequency distribution of a luminance signal calculated by a gradation information calculation circuit.
FIG. 5 is a diagram illustrating an example of a cumulative frequency distribution created by a cumulative frequency distribution creation circuit;
FIG. 6 is a diagram illustrating an example of an offset generated by a gain control circuit.
FIG. 7 is a diagram showing an example of a corrected cumulative frequency distribution generated by a gain control circuit.
FIG. 8 is a diagram showing an example of a normalized cumulative frequency distribution created by a normalization circuit
FIG. 9 is a diagram illustrating an example of a correction amount distribution calculated by a gradation correction conversion table creation circuit;
FIG. 10 is a block diagram illustrating a configuration of a conversion ratio calculation circuit.
FIG. 11 is a diagram illustrating an example of a relationship between a luminance signal given to an addition circuit and a corrected luminance signal generated by the addition circuit;
12A is a diagram illustrating an example of a frequency distribution of a red primary color signal, FIG. 12B is a diagram illustrating an example of a frequency distribution of a green primary color signal, and FIG. 12C is a diagram illustrating a frequency distribution of a blue primary color signal;
FIG. 13A is a diagram showing an example of a luminance frequency distribution in one frame before smoothing processing, and FIG. 13B is a luminance frequency distribution in one frame after smoothing processing by a conventional gradation correction apparatus. Illustration
[Explanation of symbols]
4 1 ~ 4 n counter
5 Gradation information calculation circuit
7 Conversion ratio calculation circuit
10 Luminance distribution extraction circuit
11 Switching circuit
12 gradation correction conversion table creation circuit
21, 22, 23 multiplication circuit
100 gradation correction device
Y1, Y2 Luminance signal
ΔY Correction amount
YR conversion ratio
30 Address decoder
50 Cumulative frequency distribution creation circuit
60 Gain control circuit
70 Normalization circuit
71 Adder circuit
72 Division circuit
GP correction gain limit parameter
GR corrected cumulative frequency distribution
H 1 ~ H n frequency
P 1 ~ P n pulse
RD cumulative frequency distribution
SS Normalized cumulative frequency distribution
RI, R0 Red primary color signal
GI, G0 green primary color signal
BI, B0 Blue primary color signal

Claims (3)

入力された複数の原色信号から輝度に対して相関性を有する輝度相関情報を生成する輝度相関情報生成手段と、
前記輝度相関情報生成手段の出力である前記輝度相関情報の各レベルの出現度数をフレーム毎に検出し前記出現度数の累積度数分布を算出する累積度数分布部と、
予め設定されている補正ゲイン制限パラメータに基いて前記輝度相関情報の最小レベルにおける値が最小値であり、前記輝度相関情報の最大レベルにおける値が最大値であり、前記輝度相関情報の値の取りうる範囲内において前記輝度相関情報に対して単調増加する値であるオフセット値を前記累積度数分布部の出力である累積度数分布に加算し補正累積度数分布を生成するゲイン制御部と、前記ゲイン制御部の出力である前記補正累積度数分布の最大値を基準にして正規化演算を行い正規化累積度数分布を算出する正規化部とを備える度数分布検出手段と、
前記度数分布検出手段の出力である正規化累積度数分布の前記輝度相関情報の最小レベルにおける値が最小値であり、前記輝度相関情報の最大レベルにおける値が最大値であり、前記輝度相関情報の値の取りうる範囲内において前記輝度相関情報に対して単調増加する値を前記正規化累積度数分布から減算して前記輝度相関情報の各レベルに対する補正情報を算出し記憶し出力する補正情報記憶手段と、
前記補正情報記憶手段の出力である前記補正情報と前記輝度相関情報との加算結果を前記輝度相関情報で除算した値を輝度相関情報に対応する補正比率とする補正比率算出手段と、
前記補正比率算出手段の出力である補正比率を前記入力された複数の原色信号の各々に乗算する乗算手段と、
を有する階調補正装置。
Luminance correlation information generating means for generating luminance correlation information having correlation with luminance from a plurality of input primary color signals;
A cumulative frequency distribution unit that detects the frequency of appearance of each level of the luminance correlation information that is an output of the luminance correlation information generation unit for each frame and calculates the cumulative frequency distribution of the frequency of appearance;
A value at the minimum level of the luminance correlation information is a minimum value based on a preset correction gain restriction parameter, a value at the maximum level of the luminance correlation information is a maximum value, and the value of the luminance correlation information is taken. A gain control unit that generates a corrected cumulative frequency distribution by adding an offset value that is a monotonically increasing value with respect to the luminance correlation information within a possible range to a cumulative frequency distribution that is an output of the cumulative frequency distribution unit; and the gain control A frequency distribution detection means comprising: a normalization unit that performs a normalization operation on the basis of the maximum value of the corrected cumulative frequency distribution that is an output of the unit, and calculates a normalized cumulative frequency distribution;
The value at the minimum level of the luminance correlation information of the normalized cumulative frequency distribution that is the output of the frequency distribution detection means is the minimum value, the value at the maximum level of the luminance correlation information is the maximum value, and the luminance correlation information Correction information storage means for calculating, storing and outputting correction information for each level of the luminance correlation information by subtracting from the normalized cumulative frequency distribution a value that monotonically increases with respect to the luminance correlation information within a possible range of values When,
A correction ratio calculation means for setting a value obtained by dividing the addition result of the correction information and the luminance correlation information, which is an output of the correction information storage means, by the luminance correlation information as a correction ratio corresponding to the luminance correlation information;
Multiplying means for multiplying each of the inputted primary color signals by a correction ratio that is an output of the correction ratio calculating means;
A gradation correction apparatus having
前記複数の原色信号は、赤色原色信号、緑色原色信号および青色原色信号を含む請求項1記載の階調補正装置。  The gradation correction apparatus according to claim 1, wherein the plurality of primary color signals include a red primary color signal, a green primary color signal, and a blue primary color signal. 前記補正ゲイン制限パラメータの値が小さくなるに従って前記オフセット値の最大値が大きくなることを特徴とする請求項1記載の階調補正装置。  The gradation correction apparatus according to claim 1, wherein the maximum value of the offset value increases as the value of the correction gain limiting parameter decreases.
JP2003140640A 2003-05-19 2003-05-19 Tone correction device Expired - Fee Related JP4397623B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003140640A JP4397623B2 (en) 2003-05-19 2003-05-19 Tone correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003140640A JP4397623B2 (en) 2003-05-19 2003-05-19 Tone correction device

Publications (2)

Publication Number Publication Date
JP2004342030A JP2004342030A (en) 2004-12-02
JP4397623B2 true JP4397623B2 (en) 2010-01-13

Family

ID=33529317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003140640A Expired - Fee Related JP4397623B2 (en) 2003-05-19 2003-05-19 Tone correction device

Country Status (1)

Country Link
JP (1) JP4397623B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7986351B2 (en) 2005-01-27 2011-07-26 Qualcomm Incorporated Luma adaptation for digital image processing
JP4071800B2 (en) * 2006-02-13 2008-04-02 シャープ株式会社 Moving picture reproduction apparatus and gradation correction apparatus
JP5039788B2 (en) * 2007-09-12 2012-10-03 財団法人国際メディア研究財団 Color conversion method and color conversion apparatus
JP4575963B2 (en) * 2008-02-14 2010-11-04 三菱電機株式会社 Image processing device
JP4853524B2 (en) * 2009-01-06 2012-01-11 三菱電機株式会社 Image processing device
JP4599446B2 (en) 2009-02-27 2010-12-15 株式会社東芝 Gradation control device and gradation control method
CN103460682B (en) 2011-03-24 2016-08-17 三菱电机株式会社 Image processing apparatus and method
JP2014096752A (en) * 2012-11-12 2014-05-22 Konica Minolta Inc Image processor, image processing method and imaging apparatus

Also Published As

Publication number Publication date
JP2004342030A (en) 2004-12-02

Similar Documents

Publication Publication Date Title
JP4078649B2 (en) Video signal processing apparatus and method
US8942475B2 (en) Image signal processing device to emphasize contrast
JP2007142500A (en) Display device, signal processing circuit, program, and display method
JP5178473B2 (en) Image processing apparatus and image processing method
US20050259185A1 (en) Gamma correction apparatus and method capable of preventing noise boost-up
JP6548517B2 (en) Image processing apparatus and image processing method
US20070025635A1 (en) Picture signal processor and picture signal processing method
JP4575963B2 (en) Image processing device
JP3709981B2 (en) Gradation correction apparatus and method
JP2006270417A (en) Video signal processing method and video signal processing apparatus
JP4504294B2 (en) Video signal processing apparatus and video signal processing method
EP1575264B1 (en) Image processing apparatus and image processing method
JP4397623B2 (en) Tone correction device
WO2002102059A1 (en) Gradation correction apparatus
JPH1013849A (en) Gamma correction system for pdp
JP3630093B2 (en) Video data correction apparatus and video data correction method
JP2003177697A (en) Video display device
JP4373128B2 (en) Tone correction device
JP4455554B2 (en) Image processing apparatus and image processing method
JP4791884B2 (en) Video signal processing apparatus and video signal processing method
JP2006033226A (en) Gradation correcting circuit
JP3835692B2 (en) Video signal processing apparatus and method
JP3825313B2 (en) Contrast correction circuit
JP2005151074A (en) Processing circuit for color correction classified by hue
JP2010026690A (en) Image processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060424

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090331

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090529

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090623

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090716

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090818

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090828

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

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

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

Free format text: PAYMENT UNTIL: 20121030

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20131030

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees