JP3883883B2 - Contrast correction circuit - Google Patents
Contrast correction circuit Download PDFInfo
- Publication number
- JP3883883B2 JP3883883B2 JP2002050911A JP2002050911A JP3883883B2 JP 3883883 B2 JP3883883 B2 JP 3883883B2 JP 2002050911 A JP2002050911 A JP 2002050911A JP 2002050911 A JP2002050911 A JP 2002050911A JP 3883883 B2 JP3883883 B2 JP 3883883B2
- Authority
- JP
- Japan
- Prior art keywords
- pixels
- screen
- value
- black level
- brightness
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/2007—Display of intermediate tones
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/22—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
- G09G3/28—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using luminous gas-discharge panels, e.g. plasma panels
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0285—Improving the quality of display appearance using tables for spatial correction of display data
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0606—Manual adjustment
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/066—Adjustment of display parameters for control of contrast
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2360/00—Aspects of the architecture of display systems
- G09G2360/16—Calculation or use of calculated indices related to luminance levels in display data
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Plasma & Fusion (AREA)
- Picture Signal Circuits (AREA)
- Television Receiver Circuits (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Controls And Circuits For Display Device (AREA)
Description
【0001】
【発明の属する技術分野】
本発明はコントラスト補正回路に係り、特にPDP(Plasma Display Panel)等のダイナミックレンジの狭い表示装置に使用するに好適なコントラスト補正回路に関する。
【0002】
【従来の技術】
PDPのようにダイナミックレンジの狭い表示装置においては、視感上、より良い画像を得るために、画像中の情報量の多い部分のコントラストを強調するためのコントラスト補正回路が良く用いられる。
このような従来のコントラスト補正回路において、画像のコントラストを強調するためのコントラスト変換には、通常、コントラスト変換特性の異なる複数種のルックアップテーブルが用いられ、これらのテーブルはROM等のメモリに収められている。ルックアップテーブルの選択には、1画面分の画像データを積算した結果やヒストグラムを取った結果等が用いられる。
【0003】
【発明が解決しようとする課題】
上述した複数のルックアップテーブルを使用して画像データのコントラスト変換を行う従来のコントラスト補正回路を使用した場合に、大半の画面においてはかなり良好な映像が得られる。
【0004】
しかしながら、特定の画面では、補正しない方が良いという場合も有る。具体的には映画の暗い画面等の画像データがこれに該当する。このような画面、すなわち黒レベルの画素数が多い画像中に小面積の比較的に明るい画像が有る場合には面積比率(データ量に相当する)で言えば、黒レベルの画素からなる画像の方が多いため、従来のコントラスト補正回路では、暗い画面で有効なコントラスト変換特性を有するルックアップテーブルが選択されやすい。
【0005】
しかし、黒レベルの画素数が多い画像中に小面積の比較的に明るい画像が有る画面の場合、重要な情報はむしろ小面積の部分であり、このような画面に対して暗い画面向けのルックアップテーブルが選択されてコントラストの補正が行われた場合には白潰れ等の劣化を起こしやすいという問題が有った。
本発明はこのような事情に鑑みてなされたものであり、暗い画面での白潰れ等を防止することができるコントラスト補正回路を提供することを目的とする。
【0006】
【課題を解決するための手段】
上記目的を達成するために請求項1に記載の発明は、入力される映像信号の明るさのレベルを積算し、画面全体の映像信号の明るさのレベルの総和を算出する積分手段と、画面の明るさに応じた複数種のコントラスト変換特性を示すテーブルデータが格納されている第1の記憶手段と、前記画面の全画素の明るさのレベルが最大であるときの全画素の明るさのレベルの総和を仮の基準値として該基準値と前記積分手段の積分出力とを比較し、該比較結果に基づいて前記複数種のテーブルデータのうち画面の明るさに適合するテーブルデータを選択的に出力するように前記第1の記憶手段に指示する選択手段と、前記入力される映像信号のコントラストを前記第1の記憶手段から出力されるテーブルデータにより補正する変換テーブルが格納されている第2の記憶手段と、前記入力される映像信号の黒レベルが画素単位に連続的に存在する場合に該連続する画素数が所定値以上の場合に前記基準値を補正する補正手段とを有し、前記補正手段は、前記入力される映像信号の明るさのレベルを画素単位で検出し、映像信号の明るさのレベルが所定値以下の場合に黒レベルと判定する黒レベル検出手段と、黒レベル検出手段より検出された黒レベルの画素数を 1 水平走査期間において、外部から設定された画素数毎に前記設定された画素数だけ、連続した場合にのみ計数し、前記画面の行方向の各ラインについて黒レベルの画素数の計数値を出力する第1の計数手段と、第1の計数手段の計数出力を取り込み、外部から設定された前記画面の行方向のライン数について前記第1の計数手段から前記黒レベルの画素数の計数値が連続して入力された場合にそれらの合計値を計数値として前記選択手段に出力する第2の計数手段とを有し、前記選択手段は、前記補正手段からの補正入力が有った場合には該補正入力により補正された値を基準値として前記複数種のテーブルデータから選択すべきテーブルデータを特定すると共に、前記積分手段の出力と比較する前記基準値を、前記画面の全画素の明るさのレベルが最大であるときの全画素の明るさのレベルの総和を示す算出式において前記画面の全画素数を示す値を、前記画面の全画素数を示す値から前記第2の計数手段から出力された黒レベルの画素数の計数値を減算した値に置き換えて得られる値とすることを特徴とすることを特徴とする。
【0007】
また、請求項2に記載の発明は、請求項1に記載のコントラスト補正回路において、前記第1の計数手段に設定される画素数及び前記第2の計数手段に設定されるライン数は映像信号に対するノイズ成分を考慮して決定されることを特徴とする。
【0009】
【発明の実施の形態】
以下、本発明の実施の形態を、図面を参照して詳細に説明する。本実施の形態に係るコントラスト補正回路の構成を図1に示す。同図において、コントラスト補正回路は、積分回路10と、黒レベル検出回路12と、水平カウンタ14と、判定回路16と、垂直カウンタ18と、選択信号発生回路20と、ROM22と、RAM24とを有している。
積分回路10は、入力される映像信号の明るさのレベルを積算し、画面全体の映像信号の明るさのレベルの総和を算出する。
【0010】
黒レベル検出回路12は、入力される映像信号の明るさのレベルを画素単位で検出し、映像信号の明るさのレベルが所定値以下の場合に黒レベルと判定する機能を有する。すなわち、入力端子100、101、102より入力される映像信号のうち、R,G,Bともにある値以下である場合、黒レベルと判定し、その判定信号を出力する回路である。なお、積分回路10は本発明の積分手段に、黒レベル検出回路12は本発明の黒レベル検出手段に、それぞれ相当する。
【0011】
水平カウンタ14は、黒レベル検出回路12より検出された黒レベルの画素数を1水平走査期間において、外部から設定された画素数毎にこの設定された画素数だけ、連続した場合にのみ計数し、画面の行方向の各ラインについて黒レベルの画素数の計数値を出力する。1画面を852(ドット)×480(ライン)として外部から設定される画素数は例えば、「4」である。
【0012】
判定回路16は、水平カウンタ14から出力される各ライン毎の黒レベルの画素数が所定値以上の場合のみ水平カウンタ14の計数出力を垂直カウンタ18に出力する。ここで、所定値は例えば、「800」に設定される。なお、判定回路16の機能を水平カウンタ14に組み込むことにより判定回路16を省略してもよい。
【0013】
垂直カウンタ18は、水平カウンタ14の計数出力を取り込み、外部から設定された画面の行方向のライン数について水平カウンタ14から判定回路16を介して黒レベルの画素数の計数値(零でない値)が連続して入力された場合にそれらの合計値を計数値として選択信号発生回路20に出力する。ここで、外部から設定されるライン数は例えば、「4」である。なお、水平カウンタ14、判定回路16、垂直カウンタ18に設定される各値は、非映像信号に対するノイズ成分を考慮して決定される。
なお、水平カウンタ14及び判定回路16は本発明の第1の計数手段に、垂直カウンタ18は本発明の第2の計数手段に、それぞれ相当する。
【0014】
選択信号発生回路20は、積分回路10の積分出力と、画面の全画素の明るさのレベルが最大であるときの全画素の明るさのレベルの総和を仮の基準値として該基準値と積分回路10の積分出力とを比較し、該比較結果に基づいてROM16に格納されている複数種のテーブルデータのうち画面の明るさに適合するテーブルデータを選択的に出力するようにROM16に指示する機能を有する。
【0015】
また、選択信号発生回路20は積分回路10の出力と比較する基準値を、前記画面の全画素の明るさのレベルが最大であるときの全画素の明るさのレベルの総和を示す算出式において前記画面の全画素数を示す値を、前記画面の全画素数を示す値から垂直カウンタ18から出力された黒レベルの画素数の計数値を減算した値に置き換えて得られる値とする。
【0016】
ROM22には、画面の明るさに応じて選択される複数種のコントラスト変換特性を示すテーブルデータが格納されており、ROM22は、選択信号発生回路20より出力される選択信号により選択されたコントラスト変換特性のテーブルデータを出力する。
【0017】
また、RAM24には、入力端子100〜102より入力される映像信号のコントラストをROM22から出力されるテーブルデータにより補正する変換テーブルが格納されている。RAM24に格納された変換テーブルによりコントラストが補正された映像信号は出力端子200〜202に出力される。
なお、選択信号発生回路20は本発明の選択手段に、ROM22は本発明の第1の記憶手段に、RAM24は本発明の第2の記憶手段に、それぞれ相当する。
【0018】
次に、ROM22に格納されている複数種のコントラスト変換特性を示すテーブルデータについて図2を参照して説明する。図2は画像のコントラスト変換特性を示している。同図において、曲線Q1で示されたコントラスト変換特性は、入力される映像信号の明るさのレベルの平均値が小さく、全体が暗い画像に対して選択される特性であり、曲線Q16で示されたコントラスト変換特性は、入力される映像信号の明るさのレベルの平均値が大きく、全体が明るい画像に対して選択される特性である。図中、破線で囲まれた領域の画像データのコントラストが強調されるような特性になっている。
【0019】
本実施の形態では、曲線Q1と曲線Q16の間を均等に分割して得られる曲線Q1〜Q16の16のコントラスト変換特性を示すテーブルデータ(数値データ)がROM16に格納されており、入力される映像信号の明るさのレベルの平均値に応じて所定のテーブルデータが選択されるようになっている。
上記構成からなる本実施形態に係るコントラスト補正回路の動作について説明する。
【0020】
図1において、入力端子100〜102よりR,G,Bの映像信号(ディジタル信号)が入力されると、積分回路10は入力される映像信号の明るさのレベルを積算し、画面全体の映像信号の明るさのレベルの総和(平均値)S0を算出する。ここで、1画面のサイズを852(ドット)×480(ライン)とし、1画素をR,G,Bについて8ビットで表示するとして、画面の全画素の明るさのレベルが最大であるときの全画素の明るさのレベルの総和Smは、
Sm=852(ドット)×480(ライン)×255(8ビット:最大値)×3(RGB)=312854400
となる。
【0021】
積分回路10により算出された画面全体の映像信号の明るさのレベルの総和(平均値)S0は、選択信号発生回路20により以下のように、テーブルデータを選択するための選択信号へと置換される。すなわち、選択信号は、積分回路10の出力S0を総和Smで除した値(積分器の出力(総和)÷312854400)であり、0〜1までの値を取るが、各コントラスト変換特性Q1〜Q16を示すテーブルデータからなるコントラスト変換テーブル数に合わせて、均等に割り振る。ここでは、各コントラスト変換特性を示すテーブルデータの集合をコントラスト変換テーブルと呼ぶことにする。
【0022】
選択信号は上述したように、コントラスト変換テーブルが16種有る場合に、選択信号発生回路20での計算結果に応じて以下のようにコントラスト変換テーブルを選択する選択信号がROM22に出力される。すなわち、
S0/Sm=0 〜0.0625である場合には、コントラスト変換テーブルQ1を、
S0/Sm=0.0625〜0.125である場合にはコントラスト変換テーブルQ2を、
S0/Sm=0.875〜0.9375である場合にはコントラスト変換テーブルQ15を、
S0/Sm=0.9375〜1である場合にはコントラスト変換テーブルQ16を、それぞれ、選択するための選択信号がROM22に出力される。
【0023】
この結果、ROM22では、選択信号発生回路20より出力される選択信号により選択されたコントラスト変換特性を有するテーブルデータをRAM24に出力する。RAM24では、変換テーブルによりROM22より受け取ったテーブルデータに基づいて入力端子100〜102より入力された映像信号(R,G,B)のコントラストを補正し、このコントラストが補正された映像信号(R,G,B)を出力端子200〜202より出力する。
【0024】
このようにして、画面全体が暗い時には暗い部分のコントラストを強調した映像が、また、画面全体が明るい時には明るい部分のコントラストを強調した映像が得られる。
大半の場合はこの方法で所望のコントラスト補正ができるが、既述したように、逆に弊害を引き起こす場合も有りうる。その具体例を、図3を参照して説明する。
【0025】
図3は、背景Aの大部分が黒レベルの階調で、部分的に白に近い明るい階調の画像Bが存在する場合の画面を示している。図3に示すような画面の場合、積分回路10の出力、すなわち画面全体の映像信号の明るさのレベルの総和(平均値)は低い値となるので、図1の構成において黒レベル検出回路12、水平カウンタ14、判定回路16、垂直カウンタ18を設けない場合には、暗い画面に相応しいコントラスト変換テーブルが選択され、画面中、明るい部分のコントラストを犠牲にして暗い部分のコントラストが強調されることとなる。
【0026】
ところが、重要な映像信号はむしろ明るい部分に有るのに対し、その部分のコントラストは減らされているので、白潰れのような現象を引き起こす。
このような現象を回避するために、本発明では、まず、積分回路10により映像信号の総和を積算すると同時に、黒レベル検出回路12により入力端子100、101、102から入力される映像信号の明るさのレベルのうち、R,G,Bともにある値以下である場合、黒レベルと判定する。
【0027】
ここで、黒レベル検出回路12で黒レベルの判定をある値以下としているのは、映像信号にはノイズ成分が含まれているため、黒レベル検出回路12で検出された映像信号の明るさのレベルは、実際は黒レベルでも映像信号の明るさのレベルが全て零になるとは限らないからである。本実施の形態では、例えば、映像信号の階調が0〜5では、黒レベルと判定し、階調が6〜255では黒以外の色と判定することとする。
【0028】
図4に1画面(852(ドット)×480(ライン))において、黒レベル検出回路により各画素について黒レベルと判定された画素を「0」、それ以外のレベル、すなわち「信号有り」と判定された画素を「1」として記した検出結果を示す。この例で水平カウンタ14、判定回路16、垂直カウンタ18の動作を説明する。
【0029】
水平カウンタ14は、黒レベル検出回路12で検出された黒レベルの画素数を1水平走査期間(1H)において、外部より設定された画素数毎に、設定された画素数だけ、連続した場合にのみ計数し、画面の行方向の各ラインについて黒レベルの画素数の計数値を出力する。
【0030】
すなわち、例えば、図4に示すように、画面の第1行のラインL1で行(H)方向に黒レベル検出回路12により最初の4画素について「0000」、次の4画素について「0000」、更に、次の4画素で「0100」と検出されると、水平カウンタ14では、4画素毎に「4」、「4」、「0」と計数し、ラインL1の計数値としてこれらの4画素毎の計数値の合計値である「808」が出力される。
同様にして、ラインL2、L3、L4については水平カウンタ14の計数出力は「812」、「814」、「816」が出力される。
【0031】
これに対して判定回路16では、水平カウンタ14から出力される各ライン毎の黒レベルの画素数が所定値以上の場合のみ水平カウンタ14の計数出力を垂直カウンタ18に出力する。ここで、判定の基準となる所定値は既述したように「800」に設定されている。したがって、この例では、判定回路16よりラインL1〜L4について、「808」、「812」、「814」、「816」が垂直カウンタ18に出力される。ただし、各ラインの黒レベルの画素数が800未満の場合にはそのラインについて判定回路16は「0」を出力する。
【0032】
垂直カウンタ18は、水平カウンタ14の計数出力を取り込み、外部から設定された画面の行方向のライン数(本実施形態では4)について水平カウンタ14から判定回路16を介して黒レベルの画素数の計数値(零でない値)が連続して入力された場合にそれらの合計値を計数値として選択信号発生回路20に出力する。
【0033】
この例では、判定回路16よりラインL1〜L4について、「808」、「812」、「814」、「816」が入力されるので、垂直カウンタは最初の4ラインについて、これらの合計値である「3250」を出力する。
ここで、4ラインのうち少なくとも1ラインについて判定回路16より「0」が出力されると、これら4ラインについての垂直カウンタ18の出力は「0」となる。
【0034】
次に、選択信号発生回路20は積分回路10の出力と比較する基準値を、前記画面の全画素の明るさのレベルが最大であるときの全画素の明るさのレベルの総和Smを示す計算式において前記画面の全画素数を示す値を、前記画面の全画素数を示す値から垂直カウンタ18から出力された黒レベルの画素数の計数値を減算した値に置き換えて得られる値とする。
すなわち、次式により求められるSm‘をSmの代わりに使用して選択信号(S0/Sm‘)を算出する。
Sm‘={852(ドット)×480(行)−(黒レベルと計数した値(垂直カウンタ18の計数出力))}×255(8bit最大値)×3(RGB)
【0035】
このようにして、本実施の形態に係るコントラスト補正回路によれば、黒レベルの画素データの多い画面においても、より適切なコントラスト変換特性を有するテーブルデータが選択されるので、背景の大部分が黒レベルの画素で占められる画面において白潰れが発生する等の弊害を防止することができる。
【0036】
【発明の効果】
本発明では、請求項1に記載の発明は、入力される映像信号の明るさのレベルを積算し、画面全体の映像信号の明るさのレベルの総和を算出する積分手段と、画面の明るさに応じた複数種のコントラスト変換特性を示すテーブルデータが格納されている第1の記憶手段と、前記画面の全画素の明るさのレベルが最大であるときの全画素の明るさのレベルの総和を仮の基準値として該基準値と前記積分手段の積分出力とを比較し、該比較結果に基づいて前記複数種のテーブルデータのうち画面の明るさに適合するテーブルデータを選択的に出力するように前記第1の記憶手段に指示する選択手段と、前記入力される映像信号のコントラストを前記第1の記憶手段から出力されるテーブルデータにより補正する変換テーブルが格納されている第2の記憶手段と、前記入力される映像信号の黒レベルが画素単位に連続的に存在する場合に該連続する画素数が所定値以上の場合に前記基準値を補正する補正手段とを有し、前記補正手段は、前記入力される映像信号の明るさのレベルを画素単位で検出し、映像信号の明るさのレベルが所定値以下の場合に黒レベルと判定する黒レベル検出手段と、黒レベル検出手段より検出された黒レベルの画素数を 1 水平走査期間において、外部から設定された画素数毎に前記設定された画素数だけ、連続した場合にのみ計数し、前記画面の行方向の各ラインについて黒レベルの画素数の計数値を出力する第1の計数手段と、第1の計数手段の計数出力を取り込み、外部から設定された前記画面の行方向のライン数について前記第1の計数手段から前記黒レベルの画素数の計数値が連続して入力された場合にそれらの合計値を計数値として前記選択手段に出力する第2の計数手段とを有し、前記選択手段は、前記補正手段からの補正入力が有った場合には該補正入力により補正された値を基準値として前記複数種のテーブルデータから選択すべきテーブルデータを特定すると共に、前記積分手段の出力と比較する前記基準値を、前記画面の全画素の明るさのレベルが最大であるときの全画素の明るさのレベルの総和を示す算出式において前記画面の全画素数を示す値を、前記画面の全画素数を示す値から前記第2の計数手段から出力された黒レベルの画素数の計数値を減算した値に置き換えて得られる値とする。
【0037】
また、本発明では、請求項2に記載の発明は、請求項1に記載のコントラスト補正回路において、前記第1の計数手段に設定される画素数及び前記第2の計数手段に設定されるライン数は映像信号に対するノイズ成分を考慮して決定される。
【図面の簡単な説明】
【図1】 本実施の形態に係るコントラスト補正回路の構成を示すブロック図。
【図2】 図1示したコントラスト補正回路のROMに格納されているテーブルデータが示すコントラスト変換特性を示す説明図。
【図3】 背景の大部分が黒レベルの階調で、部分的に白に近い明るい階調の画像が存在する場合の画面を示す説明図。
【図4】 1画面における各画素についての、黒レベル検出回路による検出結果を示す説明図。
【符号の説明】
10…積分回路(積分手段)
12…黒レベル検出回路(黒レベル検出手段、補正手段)
14…水平カウンタ(第1の計数手段,補正手段)
16…判定回路(第1の計数手段、補正手段)
18…垂直カウンタ(第2の計数手段、補正手段)
20…選択信号発生回路(選択手段)
22…ROM(第1の記憶手段)
24…RAM(第2の記憶手段)[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a contrast correction circuit, and more particularly to a contrast correction circuit suitable for use in a display device having a narrow dynamic range such as a plasma display panel (PDP).
[0002]
[Prior art]
In a display device with a narrow dynamic range such as a PDP, a contrast correction circuit for enhancing the contrast of a portion with a large amount of information in an image is often used in order to obtain a better image in terms of visual perception.
In such a conventional contrast correction circuit, a plurality of types of look-up tables having different contrast conversion characteristics are usually used for contrast conversion for enhancing the contrast of an image, and these tables are stored in a memory such as a ROM. It has been. For the selection of the lookup table, a result of integrating image data for one screen, a result of taking a histogram, or the like is used.
[0003]
[Problems to be solved by the invention]
When a conventional contrast correction circuit that performs contrast conversion of image data using a plurality of lookup tables as described above is used, a considerably good video can be obtained on most screens.
[0004]
However, there are cases where it is better not to make correction on a specific screen. Specifically, image data such as a dark screen of a movie corresponds to this. If there is a relatively bright image with a small area in such a screen, that is, an image with a large number of pixels at the black level, the area ratio (corresponding to the data amount) of the image composed of pixels at the black level. Therefore, in the conventional contrast correction circuit, a look-up table having contrast conversion characteristics effective on a dark screen is easily selected.
[0005]
However, in the case of a screen with a relatively bright image with a small area in an image with a large number of black-level pixels, the important information is rather a small area, and the dark screen for such a screen When the uptable is selected and contrast correction is performed, there is a problem that deterioration such as white crushing is likely to occur.
The present invention has been made in view of such circumstances, and an object of the present invention is to provide a contrast correction circuit capable of preventing white collapse on a dark screen.
[0006]
[Means for Solving the Problems]
In order to achieve the above object, the invention according to
[0007]
According to a second aspect of the present invention, in the contrast correction circuit according to the first aspect, the number of pixels set in the first counting unit and the number of lines set in the second counting unit are video signals. It is determined in consideration of the noise component .
[0009]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The configuration of the contrast correction circuit according to this embodiment is shown in FIG. In the figure, the contrast correction circuit includes an
The integrating
[0010]
The black
[0011]
The
[0012]
The
[0013]
The
The
[0014]
The selection
[0015]
In addition, the selection
[0016]
The
[0017]
The
The selection
[0018]
Next, table data indicating a plurality of types of contrast conversion characteristics stored in the
[0019]
In the present embodiment, table data (numerical data) indicating 16 contrast conversion characteristics of the curves Q1 to Q16 obtained by dividing the curve Q1 and the curve Q16 equally is stored in the
The operation of the contrast correction circuit according to this embodiment configured as described above will be described.
[0020]
In FIG. 1, when R, G, B video signals (digital signals) are input from
Sm = 852 (dots) x 480 (lines) x 255 (8 bits: maximum value) x 3 (RGB) = 312854400
It becomes.
[0021]
The sum (average value) S0 of the brightness level of the video signal of the entire screen calculated by the
[0022]
As described above, when there are 16 types of contrast conversion tables as described above, a selection signal for selecting the contrast conversion table is output to the
When S0 / Sm = 0 to 0.0625, the contrast conversion table Q1 is
When S0 / Sm = 0.0625 to 0.125, the contrast conversion table Q2 is
When S0 / Sm = 0.875 to 0.9375, the contrast conversion table Q15 is
When S0 / Sm = 0.9375 to 1, selection signals for selecting the contrast conversion table Q16 are output to the
[0023]
As a result, the
[0024]
In this way, an image in which the contrast of the dark part is emphasized when the entire screen is dark, and an image in which the contrast of the bright part is emphasized when the entire screen is bright can be obtained.
In most cases, a desired contrast correction can be performed by this method. However, as described above, there is a possibility that a negative effect is caused. A specific example will be described with reference to FIG.
[0025]
FIG. 3 shows a screen in the case where there is an image B with a gray level that is mostly black level and has a light gray level that is partially close to white. In the case of the screen as shown in FIG. 3, the output of the
[0026]
However, while the important video signal is rather in the bright part, the contrast of that part is reduced, causing a phenomenon such as white crushing.
In order to avoid such a phenomenon, in the present invention, first, the integration of the video signal is integrated by the
[0027]
Here, the reason why the black
[0028]
In one screen (852 (dots) x 480 (lines)) in FIG. 4, the pixels determined to be black level for each pixel by the black level detection circuit are determined to be “0” and other levels, that is, “signal present”. A detection result in which the obtained pixel is described as “1” is shown. In this example, operations of the
[0029]
The
[0030]
That is, for example, as shown in FIG. 4, “0000” for the first four pixels and “0000” for the next four pixels by the black
Similarly, for the lines L2, L3, and L4, the count output of the
[0031]
On the other hand, the
[0032]
The
[0033]
In this example, since “808”, “812”, “814”, and “816” are input from the
Here, when “0” is output from the
[0034]
Next, the selection
That is, the selection signal (S0 / Sm ′) is calculated using Sm ′ obtained by the following equation instead of Sm.
Sm ′ = {852 (dots) × 480 (rows) − (value counted with black level (count output of vertical counter 18))} × 255 (8-bit maximum value) × 3 (RGB)
[0035]
In this way, according to the contrast correction circuit according to the present embodiment, table data having more appropriate contrast conversion characteristics is selected even on a screen with a lot of black level pixel data, so that most of the background is It is possible to prevent adverse effects such as occurrence of white crushing on a screen occupied by black level pixels.
[0036]
【The invention's effect】
In the present invention, the invention described in
[0037]
In the present invention, the invention of claim 2 is set to the contrast correction have your circuit, the first pixel number is set to the counting means and said second counting means according to
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a contrast correction circuit according to an embodiment.
FIG. 2 is an explanatory diagram showing contrast conversion characteristics indicated by table data stored in a ROM of the contrast correction circuit shown in FIG. 1;
FIG. 3 is an explanatory diagram showing a screen in a case where an image having a light gradation having a gray level close to white partially exists with the majority of the background being a black level gradation.
FIG. 4 is an explanatory diagram showing a detection result by a black level detection circuit for each pixel in one screen.
[Explanation of symbols]
10: Integration circuit (integration means)
12. Black level detection circuit (black level detection means, correction means)
14 ... Horizontal counter (first counting means, correcting means)
16: Determination circuit (first counting means, correction means)
18 ... Vertical counter (second counting means, correcting means)
20 ... Selection signal generation circuit (selection means)
22 ROM (first storage means)
24 ... RAM (second storage means)
Claims (2)
画面の明るさに応じた複数種のコントラスト変換特性を示すテーブルデータが格納されている第1の記憶手段と、
前記画面の全画素の明るさのレベルが最大であるときの全画素の明るさのレベルの総和を仮の基準値として該基準値と前記積分手段の積分出力とを比較し、該比較結果に基づいて前記複数種のテーブルデータのうち画面の明るさに適合するテーブルデータを選択的に出力するように前記第1の記憶手段に指示する選択手段と、
前記入力される映像信号のコントラストを前記第1の記憶手段から出力されるテーブルデータにより補正する変換テーブルが格納されている第2の記憶手段と、
前記入力される映像信号の黒レベルが画素単位に連続的に存在する場合に該連続する画素数が所定値以上の場合に前記基準値を補正する補正手段とを有し、
前記補正手段は、
前記入力される映像信号の明るさのレベルを画素単位で検出し、映像信号の明るさのレベルが所定値以下の場合に黒レベルと判定する黒レベル検出手段と、
黒レベル検出手段より検出された黒レベルの画素数を 1 水平走査期間において、外部から設定された画素数毎に前記設定された画素数だけ、連続した場合にのみ計数し、前記画面の行方向の各ラインについて黒レベルの画素数の計数値を出力する第1の計数手段と、
第1の計数手段の計数出力を取り込み、外部から設定された前記画面の行方向のライン数について前記第1の計数手段から前記黒レベルの画素数の計数値が連続して入力された場合にそれらの合計値を計数値として前記選択手段に出力する第2の計数手段とを有し、
前記選択手段は、前記補正手段からの補正入力が有った場合には該補正入力により補正された値を基準値として前記複数種のテーブルデータから選択すべきテーブルデータを特定すると共に、前記積分手段の出力と比較する前記基準値を、前記画面の全画素の明るさのレベルが最大であるときの全画素の明るさのレベルの総和を示す算出式において前記画面の全画素数を示す値を、前記画面の全画素数を示す値から前記第2の計数手段から出力された黒レベルの画素数の計数値を減算した値に置き換えて得られる値とすることを特徴とするコントラスト補正回路。Integration means for integrating the brightness level of the input video signal and calculating the sum of the brightness levels of the video signal of the entire screen;
First storage means storing table data indicating a plurality of types of contrast conversion characteristics according to the brightness of the screen;
The sum of the brightness levels of all the pixels when the brightness level of all the pixels of the screen is the maximum is used as a temporary reference value to compare the reference value with the integration output of the integrating means, and the comparison result Selection means for instructing the first storage means to selectively output table data suitable for screen brightness among the plurality of types of table data,
Second storage means storing a conversion table for correcting the contrast of the input video signal by table data output from the first storage means;
Correction means for correcting the reference value when the number of continuous pixels is equal to or greater than a predetermined value when the black level of the input video signal is continuously present in pixel units,
The correction means includes
Black level detection means for detecting the brightness level of the input video signal in units of pixels, and determining the black level when the brightness level of the video signal is a predetermined value or less;
The number of black level pixels detected by the black level detection means is counted only when the set number of pixels is continuous for each number of pixels set from the outside in one horizontal scanning period, and the row direction of the screen First counting means for outputting a count value of the number of black level pixels for each of the lines;
When the count output of the first counting means is taken in and the count value of the number of pixels at the black level is continuously input from the first counting means for the number of lines in the row direction of the screen set from the outside A second counting means for outputting the total value as a count value to the selection means,
When there is a correction input from the correction unit, the selection unit specifies table data to be selected from the plurality of types of table data using a value corrected by the correction input as a reference value , and the integration The reference value to be compared with the output of the means is a value indicating the total number of pixels of the screen in a calculation formula indicating the sum of the brightness levels of all the pixels when the brightness level of all the pixels of the screen is maximum. Is a value obtained by substituting a value obtained by subtracting the count value of the number of black level pixels output from the second counting means from the value indicating the total number of pixels of the screen. .
Priority Applications (7)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002050911A JP3883883B2 (en) | 2002-02-27 | 2002-02-27 | Contrast correction circuit |
KR10-2002-0049479A KR100441527B1 (en) | 2002-02-27 | 2002-08-21 | Contrast compensation circuit |
US10/305,013 US6894666B2 (en) | 2001-12-12 | 2002-11-27 | Contrast correcting circuit |
TW091135014A TWI235605B (en) | 2001-12-12 | 2002-12-03 | Contrast correcting circuit |
CNB021611106A CN100423542C (en) | 2001-12-12 | 2002-12-12 | Contrast correction circuit |
DE60234305T DE60234305D1 (en) | 2001-12-12 | 2002-12-12 | Circuit for contrast correction |
EP02090403A EP1321920B1 (en) | 2001-12-12 | 2002-12-12 | Contrast correcting circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002050911A JP3883883B2 (en) | 2002-02-27 | 2002-02-27 | Contrast correction circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2003259153A JP2003259153A (en) | 2003-09-12 |
JP3883883B2 true JP3883883B2 (en) | 2007-02-21 |
Family
ID=28663019
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002050911A Expired - Fee Related JP3883883B2 (en) | 2001-12-12 | 2002-02-27 | Contrast correction circuit |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP3883883B2 (en) |
KR (1) | KR100441527B1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100563462B1 (en) * | 2003-10-21 | 2006-03-23 | 엘지전자 주식회사 | Method and Apparatus of Driving Plasma Display Panel |
JP4445290B2 (en) | 2004-03-08 | 2010-04-07 | パナソニック株式会社 | Driving method of plasma display panel |
KR101023414B1 (en) * | 2004-06-08 | 2011-03-25 | 주식회사 대우일렉트로닉스 | Method for automatic controlling contrast by video signal |
KR100813076B1 (en) | 2006-06-16 | 2008-03-14 | 엘지전자 주식회사 | Control apparatus and method for protecting corduroy noise of Projection TV |
KR102062776B1 (en) * | 2013-08-02 | 2020-01-07 | 삼성디스플레이 주식회사 | Display device and driving method thereof |
-
2002
- 2002-02-27 JP JP2002050911A patent/JP3883883B2/en not_active Expired - Fee Related
- 2002-08-21 KR KR10-2002-0049479A patent/KR100441527B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR100441527B1 (en) | 2004-07-23 |
KR20030071463A (en) | 2003-09-03 |
JP2003259153A (en) | 2003-09-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1321920B1 (en) | Contrast correcting circuit | |
JP4073477B2 (en) | Image processing apparatus and image display apparatus | |
EP1858257B1 (en) | Display device, contrast adjusting method and contrast adjusting program | |
US20010033260A1 (en) | Liquid crystal display device for displaying video data | |
JP2004007076A (en) | Video signal processing method and video signal processing apparatus | |
JP2007163828A (en) | Image processor and image display device | |
US7095888B2 (en) | Apparatus for detecting average picture level | |
JP2007324763A (en) | Television receiver and television reception method | |
JP3883883B2 (en) | Contrast correction circuit | |
JP3874658B2 (en) | Contrast correction circuit | |
KR100570600B1 (en) | Circuit and method for compensating contrast and recording medium | |
US7339555B2 (en) | Method and apparatus for displaying an image on a plasma display panel | |
JPH06350943A (en) | Picture processing circuit | |
JP4397623B2 (en) | Tone correction device | |
JP3825313B2 (en) | Contrast correction circuit | |
JP3685712B2 (en) | Dynamic gamma correction device | |
JP4373128B2 (en) | Tone correction device | |
US7796832B2 (en) | Circuit and method of dynamic contrast enhancement | |
JP2000350054A (en) | Gamma-processing unit | |
JPH06178153A (en) | Dynamic gamma correction circuit | |
JP2003087603A (en) | Device and method for video signal processing | |
JPH0777963A (en) | Method and device for processing image | |
JPH1039822A (en) | Multiple picture display device | |
JP2006033226A (en) | Gradation correcting circuit | |
JPH10307559A (en) | Multi-image display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060609 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060620 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060920 |
|
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: 20061017 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20061115 |
|
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: 20091124 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101124 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101124 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111124 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111124 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121124 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121124 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131124 Year of fee payment: 7 |
|
LAPS | Cancellation because of no payment of annual fees |