JP4301627B2 - False contour correction apparatus and method - Google Patents

False contour correction apparatus and method Download PDF

Info

Publication number
JP4301627B2
JP4301627B2 JP11005999A JP11005999A JP4301627B2 JP 4301627 B2 JP4301627 B2 JP 4301627B2 JP 11005999 A JP11005999 A JP 11005999A JP 11005999 A JP11005999 A JP 11005999A JP 4301627 B2 JP4301627 B2 JP 4301627B2
Authority
JP
Japan
Prior art keywords
signal
bit change
correction
false contour
digital video
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
JP11005999A
Other languages
Japanese (ja)
Other versions
JP2000004381A (en
JP2000004381A5 (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 JP11005999A priority Critical patent/JP4301627B2/en
Publication of JP2000004381A publication Critical patent/JP2000004381A/en
Publication of JP2000004381A5 publication Critical patent/JP2000004381A5/ja
Application granted granted Critical
Publication of JP4301627B2 publication Critical patent/JP4301627B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、映像信号をデジタル信号処理する場合に用いられる偽輪郭補正装置および方法に関する。
【0002】
【従来の技術】
近年、テレビジョン受信機などの高画質化や多機能化に伴って、映像信号に対してデジタル信号処理が施されることが多くなってきている。例えば、映像のコントラストを上げるために、デジタル信号処理による階調補正などが行われている。量子化されたデジタル信号に対してこのようなデジタル信号処理が施されると、画面に表示される映像に偽輪郭と呼ばれる不自然な輪郭線が発生することがある。これに対し、例えば特開平6−62280号公報において、デジタル信号処理によって発生する偽輪郭を除去する技術が開示されている。
【0003】
以下、図面を参照しながら、特開平6−62280号公報に開示された従来の偽輪郭補正回路について説明する。図9は、この従来の偽輪郭補正回路の構成を示すブロック図である。この偽輪郭補正回路は、乱数発生器5と、判別回路6と、加算回路7とを備えており、nビットのデジタル映像信号Aを入力する。入力されたデジタル映像信号Aを構成するnビットのうち所定の下位ビットからなる信号Fは、判回路6に供給される。乱数発生器5は、その信号Fのビット幅と同一ビット幅のデジタル乱数Hを出力する。判別回路6は、デジタル映像信号Aの所定の下位ビットから成る上記信号Fの示す値と、乱数発生器5から出力されるデジタル乱数Hとを比較し、その比較結果に応じて、「1」または「0」を示す信号を補正信号Iとして出力する。加算回路7は、デジタル映像信号Aの上位ビットGと同じビット幅を持つ加算器であって、デジタル映像信号Aの上位ビットGと判別回路6から出力される補正信号Iとを加算して補正出力信号Jを生成する。
【0004】
上記のような偽輪郭補正回路によれば、規則性の無い補正信号Iがデジタル映像信号Aの上位ビットGに加算されるため、デジタル映像信号Aを構成するnビットのうち判別回路6に入力される下位ビットの信号Fと判別回路6から出力される補正信号Iとの間の関係は、乱数発生器5の精度内において無相関となる。このように画像的に相関性のない補正を行うことにより、輝度または色相の変化の少ない画像を量子化する場合において、量子化レベルの変化する、画面上の位置が、前後左右に分散し、不自然な偽輪郭が低減される。したがって、このような補正後のデジタル映像信号により、量子化レベルの少ない量子化に起因する画質の低下が防止された映像を得ることができる。
【0005】
【発明が解決しようとする課題】
上記従来の偽輪郭補正回路では、量子化レベルの変化する画面上の位置を映像信号と無相関にするために、デジタル映像信号に対し、最下位ビットの変化に相当する変動を映像とは無相関に与えている。このため、輝度変化のない単一輝度レベルの映像を表す信号を入力した場合でも、最下位ビットの変化に相当する映像信号の変動により、画面上の表示がざらついてノイズが乗ったような映像が得られてしまう、という問題を有していた。
【0006】
そこで本発明は、上記のようなノイズが生じるという偽輪郭補正に伴う副作用等による画質の低下を回避しつつ、デジタル映像信号に基づく映像における偽輪郭を低減することができる偽輪郭補正装置および方法を提供することを目的とする。
【0007】
【課題を解決するための手段および発明の効果】
第1の発明は、デジタル映像信号に基づく映像における偽輪郭を低減するための偽輪郭補正装置であって、
デジタル映像信号においてデジタル映像信号の最小量子化単位の2倍に相当する信号値変化を2倍ビット変化として検出し、その検出の結果を示す信号を2倍ビット変化検出信号として出力する2倍ビット変化検出回路と、
ジタル映像信号における2倍ビット変化の部分に対し偽輪郭を低減するために、2倍ビット変化検出信号に基づき、デジタル映像信号における2倍ビット変化の部分を、最小量子化単位に相当する信号値変化である1ビット変化が2箇所存在する部分へと補正する信号補正回路と、を備えている。
第1の発明によれば、デジタル映像信号における2倍ビット変化が2つの1ビット変化へと変換されることにより、その2倍ビット変化に対応する偽輪郭が除去または低減れるため、従来の偽輪郭補正におけるノイズの発生というような副作用等による画質を低下を回避しつつ、偽輪郭を低減することができる。
【0009】
の発明は、第1の発明において、
デジタル映像信号における2倍ビット変化の前後の所定区間において最小量子化単位の2倍以上の信号値変化が存在するか否かを判定し、その判定の結果を示す信号を平坦検出信号として出力する前後平坦検出回路を更に備え、
信号補正回路は、平坦検出信号に基づき、2倍ビット変化の前後の所定区間において最小量子化単位の2倍以上の信号値変化が存在しない場合にのみ、2倍ビット変化の部分に対し偽輪郭を低減するための補正を行うことを特徴とする。
の発明によれば、デジタル映像信号における2倍ビット変化の前後の所定区間において2倍ビット変化以上の変化がない場合にのみ、すなわちその所定区間においてデジタル映像信号の値がほぼ一定となる場合にのみ、その2倍ビット変化に対して補正が行われる。このため、偽輪郭のみを確実に補正することができ、偽輪郭補正による映像への悪影響を防止することができる。
【0010】
の発明は、第の発明において、
所定区間は、デジタル映像信号における隣接する5画素に相当する区間であることを特徴とする。
【0011】
の発明は、第の発明において、
デジタル映像信号における2倍ビット変化の前後の所定区間において最小量子化単位の2倍以上の信号値変化が存在するか否かを判定し、その判定の結果を示す信号を平坦検出信号として出力する前後平坦検出回路を更に備え、
信号補正回路は、平坦検出信号に基づき、所定区間において最小量子化単位の2倍以上の信号値変化が存在しない場合にのみ、2倍ビット変化の部分に対し偽輪郭を低減するための補正を行い、その補正において2つの1ビット変化の間隔が所定区間よりも短くなるように1ビット変化の位置を決定することを特徴とする。
の発明によれば、デジタル映像信号において2倍ビット変化の前後の所定区間において他の2倍ビット変化が存在しない場合にのみ補正が行われ、その補正により生成される2つの1ビット変化の間隔はその所定区間よりも短くなる。したがって、デジタル映像信号に存在する2つの2倍ビット変化の一方に対する補正によって他方に対する補正に悪影響が与えられることはないため、2倍ビット変化が頻発するデジタル映像信号に対しても誤動作のない偽輪郭補正処理を行うことができる。
【0012】
の発明は、第の発明において、
擬似的な乱数を示す乱数信号を発生させる乱数発生回路を更に備え、
信号補正回路は、2倍ビット変化の部分に対する補正により生成されるべき2つの1ビット変化の位置を乱数信号に基づいて決定することを特徴とする。
の発明によれば、デジタル映像信号における2倍ビット変化の部分に対する補正により生成される2つの1ビット変化の位置は乱数信号に基づきランダムに決定されるため、それらの1ビット変化の部分がデジタル映像信号に基づく映像において縦に揃って縦線のように見えるという現象を防止することができる。
【0013】
の発明は、第の発明において、
乱数発生回路は、デジタル映像信号に対応する水平同期信号を入力し、その水平同期信号が示す水平ラインに応じて変動する値を示す信号を乱数信号として出力することを特徴とする。
の発明によれば、デジタル映像信号における2倍ビット変化の部分に対する補正により生成される2つの1ビット変化の位置は、乱数信号に基づき水平ライン毎に不規則に左右にずれるため、それらの1ビット変化の部分がデジタル映像信号に基づく映像において縦に揃って縦線のように見えるという現象を防止することができる。
【0015】
の発明は、デジタル映像信号に基づく映像における偽輪郭を低減するための偽輪郭補正方法であって、
デジタル映像信号の表す映像において隣接画素の値がデジタル映像信号の最小量子化単位の2倍だけ異なる部分を2倍ビット変化部分として検出する2倍ビット変化検出ステップと、
輪郭を低減するために、検出ステップでの検出結果に基づき、2倍ビット変化部分の画素の値を、隣接画素の値が最小量子化単位だけ異なる部分である1ビット変化部分が2箇所存在するように補正する補正ステップと、を備えている。
【0017】
の発明は、第の発明において、
2倍ビット変化部分における隣接画素の前後の所定区間において、最小量子化単位の2倍以上は値の異なる隣接画素が存在するか否かを検出する前後平坦検出ステップを更に備え、
補正ステップでは、前後平坦検出ステップの検出結果に基づき、最小量子化単位の2倍以上は値の異なる隣接画素が所定区間に存在しない場合にのみ、2倍ビット変化部分の画素の値が補正されることを特徴とする。
【0018】
の発明は、第の発明において、
2倍ビット変化部分における隣接画素の前後の所定区間において、最小量子化単位の2倍以上は値の異なる隣接画素が存在するか否かを検出する前後平坦検出ステップを更に備え、
補正ステップでは、前後平坦検出ステップの検出結果に基づき、所定区間において最小量子化単位の2倍以上の信号値変化が存在しない場合にのみ、2倍ビット変化部分の画素の値が補正され、その補正において2つの1ビット変化部分の間隔が所定区間よりも短くなるように1ビット変化部分の位置が決定されることを特徴とする。
【0019】
10の発明は、第の発明において、
擬似的な乱数を発生させる乱数発生ステップを更に備え、
補正ステップでは、2倍ビット変化部分に対する補正により生成されるべき2つの1ビット変化部分の位置が擬似的な乱数に基づいて決定されることを特徴とする。
【0021】
【発明の実施の形態】
以下、本発明の実施形態について添付図面を参照して説明する。
図4は、デジタル映像信号によって表現される信号値の変化を示す仮想的な信号波形図である。量子化されたデジタル映像信号は、通常は図4(a)に示すように、1ビットの変化のある状態か、または変化のない状態であることが多い。この1ビット変化は最小量子化単位に相当する信号値変化であり、8ビット以上を用いて階調表示が行われている場合には、画面に表示された映像において、この1ビット変化に対応する段差は、人間の目ではほとんど確認できない程度のものである。
【0022】
しかし、映像信号に施されるデジタル信号処理の内容によっては、その結果得られるデジタル映像信号Aに、図4(b)に示すような最小量子化単位の2倍分の変化(以下「2倍ビット変化」という)が一度に生じることがある。例えば、映像のコントラストを上げるためにデジタル信号処理による階調補正が行われた場合には、2倍ビット変化が生じることがある。このような場合には、そのデジタル映像信号に基づく映像において、その2倍ビット変化が不自然な偽輪郭として現れてしまう。
【0023】
そこで、本発明の各実施形態では、デジタル映像信号において2倍ビット変化を検出し、その検出結果に基づいて偽輪郭を低減するための処理を行っている。以下、このような各実施形態の詳細について説明する。
【0024】
<第1の実施形態>
図1は、本発明の第1の実施形態に係る偽輪郭補正装置の構成を示すブロック図である。この偽輪郭補正装置は、2倍ビット変化検出回路1と信号補正回路2aとを備えており、この偽輪郭補正装置に入力されたデジタル映像信号Aは、2倍ビット変化検出回路1および信号補正回路2aに供給される。
【0025】
2倍ビット変化検出回路1は、デジタル映像信号Aによって表される映像における隣接する画素の間で最小量子化単位(量子化ステップサイズ)の2倍に相当する画素値の違いがある場合、すなわちそれらの隣接画素の値に1ビット変化の2倍に相当する相違がある場合に、それらの画素値の相違を「2倍ビット変化」として検出し、その検出結果を示す信号を2倍ビット変化検出信号Bとして出力する。このような2倍ビット変化検出回路1は、後述の図7に示す偽輪郭補正装置における2倍ビット変化検出回路10と同様の構成により実現可能である。なお、2倍ビット変化としては、デジタル映像信号Aによって表される画像において水平方向に隣接する画素についての2倍ビット変化と、垂直方向に隣接する画素についての2倍ビット変化とが考えられるが、以下では、2倍ビット変化検出回路1は、水平方向に隣接する画素についての2倍ビット変化を検出するものとして説明を進める。ただし、垂直方向に隣接する画素についての2倍ビット変化についても後で言及する。
【0026】
信号補正回路2aは、2倍ビット変化検出信号Bを用いて、デジタル映像信号Aにおける2倍ビット変化を2つの最小量子化単位の変化(以下「1ビット変化」という)へと補正し、そのような補正の施されたデジタル映像信号を補正映像信号C1 として出力する。このような信号補正回路2aは、後述の図7に示す偽輪郭補正装置における信号補正回路20と同様の構成により実現可能である。
【0027】
以上のように構成された本実施形態の偽輪郭補正装置の動作を、図4を参照して説明する。
【0028】
本実施形態の偽輪郭補正装置では、図4(b)に示すような2倍ビット変化の存在するデジタル映像信号Aが入力されると、2倍ビット変化検出回路1によりその2倍ビット変化が検出される。信号補正回路2aでは、この検出結果を示す2倍ビット変化検出信号Bを用いて、デジタル映像信号Aにおける2倍ビット変化の部分が2つの1ビット変化の部分に変換される。すなわち、例えば図4(c)に示すように、2倍ビット変化の時点の手前からまず1ビット変化が生じ、その1ビット変化の時点から4クロックの期間の経過後に更に1ビット変化が生じるというように、1ビット変化が2段階で生じている信号に、デジタル映像信号Aが補正される。なお、ここで、nクロックの期間(nは自然数)とは、各画素に対応したパルスからなるクロック信号におけるn周期分の期間すなわちn画素分の期間を意味する。
【0029】
上記実施形態における2倍ビット変化検出回路1は、2倍ビット変化よりも大きい信号値変化すなわち最小量子化単位の2倍を越える信号値変化を検出することはない。これは、デジタル映像信号Aのうち2倍ビット変化を越える信号値変化がある部分は、偽輪郭に対応するものではなく、デジタル映像信号Aの表す画像おける真の輪郭分に対応するものと判断されるからである。
【0030】
以上のように本実施形態によれば、デジタル映像信号Aのうち2倍ビット変化の部分を検出することにより偽輪郭が検出され、その2倍ビット変化の部分を2つの1ビット変化に分解することによりその偽輪郭が除去される。このようにして偽輪郭に対応する信号部分に対してのみ補正が行われるため、従来の偽輪郭補正におけるノイズの発生というような副作用を回避しつつ、偽輪郭を低減することができる。また、本実施形態では、デジタル映像信号Aにおける2倍ビット変化を越える信号値変化(最小量子化単位の2倍を越える信号値変化)は検出されないため、真の輪郭分に対して偽輪郭補正を施すことが回避される。これにより、偽輪郭補正による真の輪郭のボケを防止しつつ、偽輪郭のみを確実に低減することができる。
【0031】
<第2の実施形態>
図2は、本発明の第2の実施形態に係る偽輪郭補正装置の構成を示すブロック図である。この偽輪郭補正装置は、第1の実施形態と同様、2倍ビット変化検出回路1と信号補正回路2bとを備えている。これらに加えて、この偽輪郭補正装置は、前後平坦検出回路3を備えており、この点で第1の実施形態と相違する。本実施形態では、偽輪郭補正装置に入力されたデジタル映像信号Aは、2倍ビット変化検出回路1、信号補正回路2bおよび前後平坦検出回路3に供給される。
【0032】
本実施形態における2倍ビット変化検出回路1の機能および構成は、第1の実施形態における2倍ビット変化検出回路1と同様であるので説明を省略する。
【0033】
前後平坦検出回路3は、2倍ビット変化検出回路1により検出された2倍ビット変化の前後の所定期間においてデジタル映像信号Aが平坦か否かを検出し、その検出結果を平坦検出信号Dとして出力する。ここで、デジタル映像信号Aが或る期間において2倍ビット変化以上の信号値変化を含まない場合、すなわち信号値が変化しない状態かまたは変化しても1ビット変化の状態である場合に、そのデジタル映像信号Aはその期間において平坦であるものとする。このような前後平坦検出回路3は、後述の図7に示す偽輪郭補正装置における前後平坦検出回路30と同様の構成により実現可能である。
【0034】
信号補正回路2bは、2倍ビット変化検出回路2からの2倍ビット変化検出信号Bおよび前後平坦検出回路3からの平坦検出信号Dに基づき、デジタル映像信号Aにおける2倍ビット変化を2つの1ビット変化へと補正し、補正後のデジタル映像信号を補正映像信号C2 として出力する。このような信号補正回路2bも、後述の図7に示す偽輪郭補正装置における信号補正回路20と同様の構成により実現可能である。
【0035】
以上のように構成された本実施形態の偽輪郭補正装置の動作を、図5を参照して説明する。図5は、デジタル映像信号Aによって表現される信号値の変化の一例を示す仮想的な信号波形図である。
【0036】
本実施形態においても、第1の実施形態と同様、2倍ビット変化検出回路1からの2倍ビット変化検出信号Bを用いて、図4(c)に示すように、信号補正回路2bがデジタル映像信号Aにおける2倍ビット変化の部分を2つの1ビット変化の部分へと補正する。この補正において生成される2つの1ビット変化の部分は、4クロックの期間離れているが、もしデジタル映像信号Aに2倍ビット変化の部分が複数箇所あり、それらの間隔が4クロックの期間以内であるような場合には、それら2つの2倍ビット変化の部分のうちの一方に対する補正が他方に対する補正に対して悪影響を与える。すなわち、この場合、信号補正回路2bにおいて偽輪郭を適切に補正することができない。また、デジタル映像信号Aにおいて2倍ビット変化の部分が短い間隔で続けて存在する場合は、それらの2倍ビット変化の部分は偽輪郭に相当するものではない可能性が高い。本実施形態では、水平方向有効画素数720を前提として試行錯誤的に決定した値として5クロックの期間を採用し、2つの2倍ビット変化の間隔が5クロックの期間よりも短い場合には、それら2つの2倍ビット変化の部分に対しては偽輪郭の低減のための補正は行わないものとする。
【0037】
上記の観点より本実施形態において、前後平坦検出回路3は、図5に示すように2倍ビット変化の前後の5クロックの期間はデジタル映像信号Aが平坦か否かすなわち2倍ビット変化以上の変化が無いか否かを検出し、その検出結果を平坦検出信号Dとして出力する。そして信号補正回路2bは、2倍ビット変化検出信号Bとともにこの平坦検出信号Dを用い、デジタル映像信号Aにおいて2倍ビット変化が存在し、かつその2倍ビット変化の前後の5クロックの期間はデジタル映像信号Aが平坦である場合に、その2倍ビット変化の部分を2つの1ビット変化の部分へと補正する。
【0038】
以上のような本実施形態によれば、デジタル映像信号Aにおいて2倍ビット変化が検出され、かつその2倍ビット変化の前後の5クロックの期間平坦な場合にのみ、偽輪郭除去のための補正が行われ、複数の2倍ビット変化が存在しそれらの間隔が4クロックの期間以下である場合には、偽輪郭除去のための補正は行われない。このため、2倍ビット変化が頻発するデジタル映像信号に対しても、誤動作のない偽輪郭補正処理を行うことができる。また、偽輪郭補正処理によって悪影響が生じない範囲で、偽輪郭に対してのみ偽輪郭補正処理を行うことができる。
【0039】
<第3の実施形態>
図3は、本発明の第3の実施形態に係る偽輪郭補正装置の構成を示すブロック図である。この偽輪郭補正装置は、第2の実施形態と同様、2倍ビット変化検出回路1と信号補正回路2cと前後平坦検出回路3とを備えている。これらに加えて、この偽輪郭補正装置は、乱数発生回路4を備えており、この点で第2の実施形態と相違する。本実施形態において、偽輪郭補正装置に入力されたデジタル映像信号Aは、第2の実施形態と同様、2倍ビット変化検出回路1、信号補正回路2cおよび前後平坦検出回路3に供給される。
【0040】
本実施形態における2倍ビット変化検出回路1と前後平坦検出回路3の機能および構成は、それぞれ、第2の実施形態における2倍ビット変化検出回路1と前後平坦検出回路3の機能および構成と同様であるので説明を省略する。
【0041】
乱数発生回路4は、入力されたデジタル映像信号Aや出力信号である補正映像信号C3 には無相関な乱数を発生し、その乱数を示す乱数信号Eを出力する。
【0042】
信号補正回路2cは、2倍ビット変化検出回路2からの2倍ビット変化検出信号B、前後平坦検出回路3からの平坦検出信号D、および乱数発生回路4からの乱数信号Eに基づき、デジタル映像信号Aにおける2倍ビット変化を2つの1ビット変化へと補正し、そのような補正の施されたデジタル映像信号を補正映像信号C3 として出力する。このような信号補正回路2cも、後述の図7に示す偽輪郭補正装置における信号補正回路20と同様の構成により実現可能である。
【0043】
以上のように構成された本実施形態の偽輪郭補正装置の動作を、図6を参照して説明する。
【0044】
本実施形態においても、第2の実施形態と同様に、2倍ビット変化検出信号Bを用いて、図4(c)に示すように、信号補正回路2cがデジタル映像信号Aにおける2倍ビット変化の部分を2つの1ビット変化の部分へと補正する。デジタル映像信号Aが表す映像において偽輪郭が垂直方向に延びている場合、この補正において生成される2つの1ビット変化の位置は、第2の実施形態では図6(a)に示すように常に同一である。このため、入力されるデジタル映像信号Aの状態によっては、補正後における1ビット変化の部分が、画面に表示される映像において縦に揃って縦線のように見えてしまう場合がある。
【0045】
そこで本実施形態では、デジタル映像信号Aにおける2倍ビット変化の部分を補正することにより生成される1ビット変化の位置を、乱数発生回路4からの乱数信号Eを用いて図6(b)に示すように各ライン毎にずらしている。これにより、偽輪郭補正において生成される1ビット変化の部分が、画面に表示された映像において縦に揃って縦線のように見える、という現象を防止することができる。
【0046】
図7は、本実施形態の偽輪郭補正装置の構成例を示す詳細ブロック図であり、図3に示した2ビット変化検出回路1、信号補正回路2c 、前後平坦検出回路3、および乱数発生回路4は、図7に示す2倍ビット変化検出回路10、信号補正回路20、前後平坦検出回路30、および乱数発生回路40に、それぞれ相当する。
【0047】
この構成例では、2倍ビット変化検出回路10は、1クロック微分回路12と全波整流回路14とレベル比較器16と遅延回路18とから構成される。1クロック微分回路12は、デジタル映像信号Aにおいて1クロックの期間離れた信号値の差すなわち隣接画素の値の差に相当する値を有する信号を微分信号として生成するとともに、その差の値が正か負かを示すフラグ信号Flgを出力する。全波整流回路14は、1クロック微分回路12からの微分信号のうち負の信号部分の極性を反転させることにより、その微分信号を正の値のみを有する信号に変換し、これを全波整流信号として出力する。レベル比較器16は、この全波整流信号の値を、予め設定された値である2倍ビット変化に相当する基準値と比較し、基準値に等しい場合にのみHレベルとなりその以外の場合にLレベルとなるデジタル信号を出力する。遅延回路18は、このデジタル信号を所定クロック数だけ遅延させた信号を2倍ビット変化検出信号Bとして出力する。
【0048】
前後平坦検出回路30は、最下位ビット切捨回路32と、全波整流回路34と、10個の1クロック遅延素子Tが縦続接続された遅延回路と、OR回路36とから構成される。最下位ビット切捨回路32は、2倍ビット変化検出回路10における1クロック微分回路12からの微分信号を入力し、その微分信号の最下位ビットを切り捨てた信号を出力する。ただし、入力される微分信号がアナログ信号の場合には、最下位ビット切捨回路32は、その微分信号をデジタル信号に変換し、その変換後の信号の最下位ビットを切り捨てる。なお、1クロック微分回路12から出力される微分信号を使用する代わりに、前後平坦検出回路30内に1クロック微分回路を別途設けるとともにその1クロック微分回路にデジタル映像信号Aを入力し、その1クロック微分回路により得られる微分信号を最下位ビット切捨回路32に入力するようにしてもよい。最下位ビット切捨回路32からの信号は、2倍ビット変化検出回路における全波整流回路14と同様の機能を有する全波整流回路34を経て、10個の1クロック遅延素子Tから成る遅延回路に入力される。この遅延回路に入力される信号は、デジタル映像信号Aにおいて変化がないかまたは変化があっても1ビット変化のときにLレベルとなり、2倍ビット変化以上の変化があるときにHレベルとなる。OR回路36は、上記遅延回路への入力信号と、上記遅延回路を構成する10個の遅延素子Tのうち1段目から4段目までの各遅延素子Tの出力信号と、6段目から10段目までの各遅延素子Tの出力信号とを入力し、それらの信号の論理和の信号を平坦検出信号Dとして出力する。したがって、この平坦検出信号Dは、クロック単位の各時点において、その時点を除くその時点の前後5クロックの期間で全波整流回路34からの信号がLレベルであるときにLレベルとなり、それ以外のときにHレベルとなる。よって、この平坦検出信号Dは、ローアクティブの信号であって、デジタル映像信号Aにおける2倍ビット変化の前後5クロックの期間においてその信号値に変化がないかまたは変化があっても1ビット変化のときにLレベルとなり、2倍ビット変化以上の変化があるときにHレベルとなる。
【0049】
乱数発生回路40は、線形フィードバックシフトレジスタ等を用いて擬似乱数を発生させる回路として実現してもよいが、この構成例では、水平同期信号Shを入力し、その水平同期信号が示す水平ラインに応じて変動する値を示す信号を乱数信号Eとして出力するための変換テーブルにより実現されている。この変換テーブルは、2倍ビット変化に対する補正の際に、乱数信号Eにより決定される1ビット変化の位置が図6(b)に示すように擬似的に各ライン毎にランダムにずれるように設定されている。
【0050】
信号補正回路20は、遅延回路22と加減算24と加減算制御回路26とから構成されている。遅延回路22は、デジタル映像信号Aを所定クロック数だけ遅延させ、遅延後のデジタル映像信号を出力する。加減算制御回路26は、2倍ビット変化検出回路10からの2倍ビット変化検出信号Bおよびフラグ信号Flgと、前後平坦検出回路30からの平坦検出信号Dと、乱数発生回路40からの乱数信号Eとに基づき、加減算器24による演算を制御するための信号として、加算指示信号Cadd と減算指示信号Csub とから成る制御信号Copを生成する。加減算器24は、この制御信号Copに応じて、遅延回路22から出力される遅延後のデジタル映像信号に対して所定値を所定の期間だけ加算または減算し、その演算後のデジタル映像信号を補正映像信号C3 として出力する。なお、信号補正回路20における遅延回路22と2倍ビット変化検出回路10における遅延回路18とは、後述の図8に示すような動作を実現するためにデジタル映像信号Aや2倍ビット変化検出信号B、平坦検出信号D等との間でタイミングを調整するために導入されたものである。
【0051】
図8(a)は、信号補正回路20の一動作例を示す信号波形図である。ただし、この図は、デジタル映像信号Aおよび補正映像信号C3 については、現実の信号波形ではなく、それらのデジタル信号AおよびC3 によって表現される信号値の変化を示す仮想的な信号波形を示している。図8(a)に示すようにデジタル映像信号Aにおいて信号値が増大する方向の2倍ビット変化が存在する場合は、その2倍ビット変化の位置を示す2倍ビット変化検出信号Bとともに、1クロック微分回路12からの微分信号の値が正であることを示すフラグ信号Flgが、加減算制御回路26に入力される。このようにフラグ信号Flgが「正」を示すことは、その2倍ビット変化がデジタル映像信号Aの値の増大する方向の変化であることを意味する。この場合、加減算制御回路26から出力される制御信号Copのうち加算指示信号Cadd は、平坦検出信号Dがアクティブ(Lレベル)であれば、その2倍ビット変化の時点の直前においてクロック数n1の期間だけアクティブ(Hレベル)となる。一方、制御信号Copのうち減算指示信号Csub は、平坦検出信号Dがアクティブ(Lレベル)であれば、その2倍ビット変化の時点の直後においてクロック数n2の期間だけアクティブ(Hレベル)となる。ここで、クロック数n1およびn2の値は、乱数信号Eによって決定される。加減算器24は、加算指示信号Cadd がアクティブである間は、デジタル映像信号Aの値に最小量子化単位に相当する値(すなわち1ビット変化の大きさに相当する値)を加算し、減算指示信号Csub がアクティブである間は、デジタル映像信号Aの値から最小量子化単位に相当する値を減算する。これにより、図8(a)に示すように、2倍ビット変化の部分が2つの1ビット変化へと補正されたデジタル映像信号が得られ、この信号が補正映像信号C3 として信号補正回路20から出力される。なお、平坦検出信号Dが非アクティブであれば、加算指示信号Cadd および減算指示信号Csub はアクティブにはならない。したがって、上記の2倍ビット変化の前後5クロックの期間において他に2倍ビット変化またはそれ以上の変化がある場合には、その2倍ビット変化に対しては上記の補正は行われない。
【0052】
図8(b)は、信号補正回路20の他の動作例を示す信号波形図である。ただし、この図も、デジタル映像信号Aおよび補正映像信号C3 については、現実の信号波形ではなく、それらのデジタル信号AおよびC3 によって表現される信号値の変化を示す仮想的な信号波形を示している。図8(b)に示すようにデジタル映像信号Aにおいて信号値が減少する方向の2倍ビット変化が存在する場合は、その2倍ビット変化の位置を示す2倍ビット変化検出信号Bとともに、1クロック微分回路12からの微分信号の値が負であることを示すフラグ信号Flgが、加減算制御回路26に入力される。このようにフラグ信号Flgが「負」を示すことは、その2倍ビット変化がデジタル映像信号Aの値の減少する方向の変化であることを意味する。この場合、加減算制御回路26から出力される制御信号Copのうち減算指示信号Csub は、平坦検出信号Dがアクティブであれば、その2倍ビット変化の時点の直前においてクロック数n1の期間だけアクティブとなる。一方、制御信号Copのうち加算指示信号Cadd は、平坦検出信号Dがアクティブであれば、その2倍ビット変化の時点の直後においてクロック数n2の期間だけアクティブとなる。このような減算信号Csub および加算信号Cadd に基づき、遅延回路22からのデジタル映像信号に対し加減算器24が減算および加算を行うことにより、図8(b)に示すように、2倍ビット変化の部分が2つの1ビット変化へと補正されたデジタル映像信号が得られ、この信号が補正映像信号C3 として信号補正回路20から出力される。なお、クロック数n1およびn2の値は、前述のように乱数信号Eによって決定される。また、上記の2倍ビット変化の前後5クロックの期間において他に2倍ビット変化またはそれ以上の変化がある場合には、平坦検出信号Dが非アクティブとなるため、その2倍ビット変化に対しては上記の補正は行われない。
【0053】
信号補正回路20の上述の動作により、図8(a)および8(b)に示すように、デジタル映像信号Aにおける2倍ビット変化が、2つのビット変化へと補正される。すなわち、その2倍ビット変化は、その2倍ビット変化の時点からn1クロック前の時点における1ビット変化と、その2倍ビット変化の時点からn2クロック後の時点における1ビット変化とに分解される。ただし、その2倍ビット変化の前後5クロックの期間において他に2倍ビット変化またはそれ以上の変化がある場合には、その2倍ビット変化は補正されない。また、n1、n2は乱数信号Eによって決定されるため、2倍ビット変化に対する補正すなわち偽輪郭補正において生成される2つの1ビット変化の位置は、図6(b)に示すように各ライン毎にずれることになる。
【0054】
上記のような本実施形態によれば、第1および第2の実施形態と同様の効果を得ることができるとともに、偽輪郭補正において生成される1ビット変化の部分が、画面に表示された映像において縦に揃って縦線のように見える、という現象を防止することができる。
【0055】
<変形例>
以上において説明した各実施形態では、デジタル映像信号Aにおける2倍ビット変化に対する補正により生成される2つの1ビット変化の間隔は、図4(c)に示したように4クロックの期間であるとしているが、この間隔は4クロックの期間に限定されるものではなく、2クロック以上の期間であればよい。
【0056】
また、第2および第3実施形態において使用されている前後平坦検出回路3は、2倍ビット変化の前後の5クロックの期間においてデジタル映像信号Aが平坦であるか否かを検出しているが、2倍ビット変化の前後の検出すべき平坦の期間は5クロックの期間に限定されるものではない。この平坦期間の適切な長さは、デジタル映像信号において存在する2つの2倍ビット変化の間隔がどの程度離れていれば偽輪郭と判断すべきかという点に依存する。例えば、そのデジタル映像信号の表す映像について統計的に調査を行うことにより、その映像における水平方向の画素数などに応じて、上記の平坦期間として適切な長さを決定することができる。ただし、既述のように、誤動作のない偽輪郭補正を行うために、上記の検出すべき平坦期間を2倍ビット変化に対する補正により生成される2つの1ビット変化の間隔(上記各実施形態では4クロックの期間)よりも長くする必要がある。
【0057】
さらに、上記の各実施形態の偽輪郭補正装置は、例えばテレビジョン受信機における映像信号のようにリアルタイムで送られてくるデジタル映像信号に対して偽輪郭補正処理を行うための装置として使用することができるが、蓄積画像データに対する画像処理としての偽輪郭補正処理を行う際にも使用可能である。すなわち、半導体メモリまたはハードディスク装置などの記憶装置に格納された画像データを順次読み出すことにより得られる画像信号を上記各実施形態におけるデジタル映像信号Aと見なして上記各実施形態の偽輪郭補正装置を使用することも可能である。
【0058】
さらにまた、上記各実施形態では、水平方向に隣接する画素についての2倍ビット変化を検出していたが、水平方向に延びる偽輪郭を除去すべく、垂直方向に隣接する画素についての2倍ビット変化を検出するようにしてもよい。垂直方向に隣接する画素についての2倍ビット変化を検出して偽輪郭補正を行う場合には、例えば図7に示した偽輪郭補正装置において、1クロック微分回路12を、デジタル映像信号Aにおいて1ラインの期間離れた信号値の差に相当する値を有する信号を微分信号として生成する1ライン微分回路に置き換え、前後平坦検出回路30における各1クロック遅延素子Tを1ライン遅延素子に置き換えるというように、各部におけるクロック単位での処理を1ライン単位での処理となるように変更すればよい。
【0059】
なお、以上において説明した各実施形態およびその変形例では、デジタル映像信号Aのうち2倍ビット変化を越える信号値変化がある部分は偽輪郭に対応するものではないという前提の下に、2倍ビット変化検出回路1は、デジタル映像信号Aにおける2倍ビット変化(または、最小量子化単位の2倍だけ値の異なる隣接画素)のみを検出していた。しかし、デジタル映像信号Aに対して施されたデジタル信号処理より最小量子化単位の3倍以上の信号値変化すなわち3倍ビット変化以上の信号変化が生じていて、そのような信号値変化が画面上の表示において偽輪郭として現れる場合には、2倍ビット変化のみならず3倍ビット変化以上の信号値変化をも検出し、その検出結果に基づいて偽輪郭を低減するための補正を行うようにしてもよい。このためには、例えば図7に示した偽輪郭補正装置において、レベル比較器16を、全波整流信号の値が基準値以上であればHレベルとなりそれ以外の場合にLレベルとなるデジタル信号を出力するように変更すればよい。なお、この場合、偽輪郭に対応しない2倍ビット変化以上の信号値変化に対する補正は、前後平坦検出回路30により回避される。
【図面の簡単な説明】
【図1】本発明の第1の実施形態に係る偽輪郭補正装置の構成を示すブロック図。
【図2】本発明の第2の実施形態に係る偽輪郭補正装置の構成を示すブロック図。
【図3】本発明の第3の実施形態に係る偽輪郭補正装置の構成を示すブロック図。
【図4】第1の実施形態に係る偽輪郭補正装置の動作を説明するための仮想的な信号波形図。
【図5】第2の実施形態に係る偽輪郭補正装置の動作を説明するための仮想的な信号波形図。
【図6】第3の実施形態に係る偽輪郭補正装置の動作を説明するための図。
【図7】第3の実施形態に係る偽輪郭補正装置の詳細構成を示すブロック図。
【図8】図7に示した偽輪郭補正装置の動作を説明するための仮想的な信号波形図。
【図9】従来の偽輪郭補正回路の構成を示すブロック図。
【符号の説明】
1、10 …2倍ビット変化検出回路
2a、2b、2c、20…信号補正回路
3、30 …前後平坦検出回路
4、40 …乱数発生回路
A …デジタル映像信号
B …2倍ビット変化検出信号
C1、C2、C3 …補正映像信号
D …平坦検出信号
E …乱数信号
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a false contour correction apparatus and method used when a video signal is digitally processed.
[0002]
[Prior art]
In recent years, digital signal processing has been increasingly performed on video signals as image quality and functionality of television receivers and the like have increased. For example, in order to increase the contrast of video, gradation correction by digital signal processing is performed. When such digital signal processing is performed on a quantized digital signal, an unnatural contour line called a false contour may be generated in an image displayed on the screen. On the other hand, for example, Japanese Patent Laid-Open No. 6-62280 discloses a technique for removing false contours generated by digital signal processing.
[0003]
The conventional false contour correction circuit disclosed in Japanese Patent Laid-Open No. 6-62280 will be described below with reference to the drawings. FIG. 9 is a block diagram showing the configuration of this conventional false contour correction circuit. This false contour correction circuit includes a random number generator 5, a discrimination circuit 6, and an addition circuit 7, and receives an n-bit digital video signal A. A signal F consisting of predetermined lower bits among n bits constituting the input digital video signal A is determined. Another It is supplied to the circuit 6. The random number generator 5 outputs a digital random number H having the same bit width as that of the signal F. The discriminating circuit 6 compares the value indicated by the signal F consisting of predetermined low-order bits of the digital video signal A with the digital random number H output from the random number generator 5, and “1” according to the comparison result. Alternatively, a signal indicating “0” is output as the correction signal I. The adder circuit 7 is an adder having the same bit width as the upper bits G of the digital video signal A, and corrects by adding the upper bits G of the digital video signal A and the correction signal I output from the determination circuit 6. An output signal J is generated.
[0004]
According to the false contour correction circuit as described above, since the correction signal I having no regularity is added to the upper bits G of the digital video signal A, it is input to the discrimination circuit 6 among the n bits constituting the digital video signal A. The relationship between the lower-order bit signal F and the correction signal I output from the determination circuit 6 becomes uncorrelated within the accuracy of the random number generator 5. By performing correction that has no correlation in terms of image in this way, when quantizing an image with little change in luminance or hue, the position on the screen where the quantization level changes is dispersed in the front, back, left, and right. Unnatural false contours are reduced. Therefore, with such a corrected digital video signal, it is possible to obtain an image in which a deterioration in image quality due to quantization with a low quantization level is prevented.
[0005]
[Problems to be solved by the invention]
In the above-described conventional false contour correction circuit, in order to make the position on the screen where the quantization level changes uncorrelated with the video signal, there is no fluctuation corresponding to the change of the least significant bit in the digital video signal. The correlation is given. For this reason, even when a signal representing a single luminance level image with no luminance change is input, the image on the screen appears rough due to fluctuations in the video signal corresponding to the change in the least significant bit. Has been obtained.
[0006]
Accordingly, the present invention provides a false contour correction apparatus and method capable of reducing the false contour in an image based on a digital video signal while avoiding a deterioration in image quality due to a side effect associated with the false contour correction that causes the above-described noise. The purpose is to provide.
[0007]
[Means for Solving the Problems and Effects of the Invention]
A first invention is a false contour correction device for reducing false contours in a video based on a digital video signal,
A double bit that detects a signal value change corresponding to twice the minimum quantization unit of the digital video signal as a double bit change in the digital video signal and outputs a signal indicating the detection result as a double bit change detection signal A change detection circuit;
De To reduce false contours for double bit change in digital video signals Further, based on the double bit change detection signal, the double bit change portion in the digital video signal is corrected to a portion where there are two 1-bit changes, which are signal value changes corresponding to the minimum quantization unit. A signal correction circuit.
According to the first invention, the double bit change in the digital video signal is Converts to two 1-bit changes to accommodate twice that change False contour Removed or Reduction The Therefore, it is possible to reduce false contours while avoiding deterioration in image quality due to side effects such as generation of noise in conventional false contour correction.
[0009]
First 2 In the first invention,
It is determined whether or not there is a signal value change more than twice the minimum quantization unit in a predetermined section before and after the double bit change in the digital video signal, and a signal indicating the determination result is output as a flat detection signal. A front / rear flatness detection circuit is further provided,
The signal correction circuit is based on the flatness detection signal, and only when the signal value change more than twice the minimum quantization unit does not exist in a predetermined section before and after the double bit change, the false contour is applied to the double bit change portion. It is characterized by performing correction for reducing the above.
First 2 According to the invention, only when there is no change more than the double bit change in the predetermined section before and after the double bit change in the digital video signal, that is, when the value of the digital video signal becomes substantially constant in the predetermined section. Only the correction for the double bit change is performed. For this reason, it is possible to reliably correct only the false contour, and to prevent an adverse effect on the image due to the false contour correction.
[0010]
First 3 The invention of the 2 In the invention of
The predetermined section is a section corresponding to five adjacent pixels in the digital video signal.
[0011]
First 4 The invention of the 1 In the invention of
It is determined whether or not there is a signal value change more than twice the minimum quantization unit in a predetermined section before and after the double bit change in the digital video signal, and a signal indicating the determination result is output as a flat detection signal. A front / rear flatness detection circuit is further provided,
Based on the flat detection signal, the signal correction circuit performs a correction for reducing the false contour for the double-bit change portion only when there is no signal value change more than twice the minimum quantization unit in a predetermined interval. In the correction, the position of the 1-bit change is determined so that the interval between the two 1-bit changes is shorter than a predetermined interval.
First 4 According to the invention, correction is performed only when there is no other double bit change in a predetermined section before and after the double bit change in the digital video signal, and the interval between two 1-bit changes generated by the correction is performed. Becomes shorter than the predetermined interval. Accordingly, the correction for one of the two double bit changes existing in the digital video signal does not adversely affect the correction for the other, and therefore, a false operation that does not cause a malfunction even for a digital video signal in which the double bit change frequently occurs. Contour correction processing can be performed.
[0012]
First 5 The invention of the 1 In the invention of
A random number generating circuit for generating a random number signal indicating a pseudo random number;
The signal correction circuit is characterized in that the positions of two 1-bit changes to be generated by correcting the double-bit change portion are determined based on a random number signal.
First 5 According to the invention, the positions of the two 1-bit changes generated by the correction for the double-bit change portion in the digital video signal are determined at random based on the random number signal. In the video based on the video signal, it is possible to prevent the phenomenon that the vertical lines are aligned and look like vertical lines.
[0013]
First 6 The invention of the 5 In the invention of
The random number generation circuit receives a horizontal synchronization signal corresponding to a digital video signal, and outputs a signal indicating a value varying according to a horizontal line indicated by the horizontal synchronization signal as a random number signal.
First 6 According to the invention, the positions of the two 1-bit changes generated by correcting the double-bit change portion in the digital video signal are irregularly shifted left and right for each horizontal line based on the random number signal. It is possible to prevent a phenomenon in which bit change portions are aligned vertically in a video based on a digital video signal and look like vertical lines.
[0015]
First 7 The present invention is a false contour correction method for reducing false contour in a video based on a digital video signal,
A double bit change detection step of detecting a portion in which the value of an adjacent pixel is different by twice the minimum quantization unit of the digital video signal as a double bit change portion in the video represented by the digital video signal;
false Reduce contours Therefore, based on the detection result in the detection step, the value of the pixel of the double bit change portion is corrected so that there are two 1-bit change portions where the values of adjacent pixels are different by the minimum quantization unit. A correction step.
[0017]
First 8 The invention of the 7 In the invention of
In a predetermined section before and after the adjacent pixel in the double bit change portion, further comprising a front and back flat detection step for detecting whether or not there is an adjacent pixel having a value that is twice or more the minimum quantization unit,
In the correction step, based on the detection result of the back-and-forth flatness detection step, the value of the pixel of the double bit change portion is corrected only when there is no adjacent pixel having a different value in the predetermined section at least twice the minimum quantization unit It is characterized by that.
[0018]
First 9 The invention of the 7 In the invention of
In a predetermined section before and after the adjacent pixel in the double bit change portion, further comprising a front and back flat detection step for detecting whether or not there is an adjacent pixel having a value that is twice or more the minimum quantization unit,
In the correction step, based on the detection result of the back-and-forth flatness detection step, the pixel value of the double bit change portion is corrected only when there is no signal value change more than twice the minimum quantization unit in the predetermined interval, In the correction, the position of the 1-bit changing portion is determined so that the interval between the two 1-bit changing portions is shorter than a predetermined interval.
[0019]
First 10 The invention of the 7 In the invention of
A random number generating step for generating a pseudo-random number;
The correction step is characterized in that the positions of two 1-bit changing portions to be generated by correcting the double-bit changing portion are determined based on pseudo random numbers.
[0021]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the accompanying drawings.
FIG. 4 is a virtual signal waveform diagram showing changes in signal values expressed by the digital video signal. The quantized digital video signal is usually in a state where there is a change of 1 bit or a state where there is no change, as shown in FIG. This 1-bit change is a signal value change corresponding to the minimum quantization unit. When gradation display is performed using 8 bits or more, it corresponds to this 1-bit change in the video displayed on the screen. The level difference is almost invisible to the human eye.
[0022]
However, depending on the contents of the digital signal processing applied to the video signal, the resulting digital video signal A has a change of twice the minimum quantization unit as shown in FIG. Bit change) may occur at once. For example, when gradation correction is performed by digital signal processing to increase the contrast of a video, a double bit change may occur. In such a case, in the video based on the digital video signal, the double bit change appears as an unnatural false contour.
[0023]
Therefore, in each embodiment of the present invention, a double bit change is detected in a digital video signal, and processing for reducing false contours is performed based on the detection result. Hereinafter, details of each of such embodiments will be described.
[0024]
<First Embodiment>
FIG. 1 is a block diagram showing a configuration of a false contour correction apparatus according to the first embodiment of the present invention. This false contour correction device includes a double bit change detection circuit 1 and a signal correction circuit 2a. The digital video signal A input to the false contour correction device is a double bit change detection circuit 1 and a signal correction. It is supplied to the circuit 2a.
[0025]
The double bit change detection circuit 1 has a pixel value difference corresponding to twice the minimum quantization unit (quantization step size) between adjacent pixels in the video represented by the digital video signal A, that is, When there is a difference corresponding to twice the 1-bit change in the values of those adjacent pixels, the difference between these pixel values is detected as “double-bit change”, and the signal indicating the detection result is changed by a 2-bit change. Output as detection signal B. Such a double bit change detection circuit 1 can be realized by the same configuration as the double bit change detection circuit 10 in the false contour correction apparatus shown in FIG. Note that the double bit change may be a double bit change for a pixel adjacent in the horizontal direction in the image represented by the digital video signal A and a double bit change for a pixel adjacent in the vertical direction. In the following description, it is assumed that the double bit change detection circuit 1 detects a double bit change for pixels adjacent in the horizontal direction. However, the double bit change for pixels adjacent in the vertical direction will be described later.
[0026]
The signal correction circuit 2a uses the double bit change detection signal B to correct the double bit change in the digital video signal A into two minimum quantization unit changes (hereinafter referred to as “1 bit change”). The corrected digital video signal is output as a corrected video signal C1. Such a signal correction circuit 2a can be realized by the same configuration as the signal correction circuit 20 in the false contour correction apparatus shown in FIG.
[0027]
The operation of the false contour correcting apparatus of the present embodiment configured as described above will be described with reference to FIG.
[0028]
In the false contour correcting device of this embodiment, when a digital video signal A having a double bit change as shown in FIG. 4B is input, the double bit change detection circuit 1 changes the double bit change. Detected. In the signal correction circuit 2a, the double bit change detection signal B indicating the detection result is used to convert the double bit change portion in the digital video signal A into two 1-bit change portions. That is, for example, as shown in FIG. 4C, a 1-bit change first occurs before the time of the double bit change, and a 1-bit change further occurs after a period of 4 clocks from the time of the 1-bit change. Thus, the digital video signal A is corrected to a signal in which a 1-bit change occurs in two stages. Here, the period of n clocks (n is a natural number) means a period of n cycles, ie, a period of n pixels, in a clock signal composed of pulses corresponding to each pixel.
[0029]
The double bit change detection circuit 1 in the above embodiment does not detect a signal value change larger than the double bit change, that is, a signal value change exceeding twice the minimum quantization unit. It is determined that the portion of the digital video signal A that has a signal value change exceeding a double bit change does not correspond to the false contour but corresponds to the true contour in the image represented by the digital video signal A. Because it is done.
[0030]
As described above, according to the present embodiment, a false contour is detected by detecting a double bit change portion in the digital video signal A, and the double bit change portion is decomposed into two 1-bit changes. As a result, the false contour is removed. Since correction is performed only for the signal portion corresponding to the false contour in this way, the false contour can be reduced while avoiding side effects such as generation of noise in the conventional false contour correction. Further, in this embodiment, a signal value change exceeding a double bit change in the digital video signal A (a signal value change exceeding twice the minimum quantization unit) is not detected. Is avoided. Thereby, it is possible to reliably reduce only the false contour while preventing the blur of the true contour due to the false contour correction.
[0031]
<Second Embodiment>
FIG. 2 is a block diagram showing a configuration of a false contour correction apparatus according to the second embodiment of the present invention. As in the first embodiment, the false contour correction apparatus includes a double bit change detection circuit 1 and a signal correction circuit 2b. In addition to these, the false contour correcting device includes a front / rear flatness detecting circuit 3, which is different from the first embodiment in this respect. In the present embodiment, the digital video signal A input to the false contour correction device is supplied to the double bit change detection circuit 1, the signal correction circuit 2b, and the front / rear flatness detection circuit 3.
[0032]
Since the function and configuration of the double bit change detection circuit 1 in the present embodiment are the same as those of the double bit change detection circuit 1 in the first embodiment, description thereof is omitted.
[0033]
The front and rear flat detection circuit 3 detects whether or not the digital video signal A is flat in a predetermined period before and after the double bit change detected by the double bit change detection circuit 1, and the detection result is used as a flat detection signal D. Output. Here, when the digital video signal A does not include a signal value change greater than or equal to a double bit change in a certain period, that is, when the signal value does not change or changes even when it changes, The digital video signal A is assumed to be flat during that period. Such a front / rear flatness detection circuit 3 can be realized by a configuration similar to that of the front / rear flatness detection circuit 30 in the false contour correction apparatus shown in FIG.
[0034]
The signal correction circuit 2b performs a double bit change in the digital video signal A based on the double bit change detection signal B from the double bit change detection circuit 2 and the flat detection signal D from the front and rear flat detection circuit 3. The bit change is corrected, and the corrected digital video signal is output as a corrected video signal C2. Such a signal correction circuit 2b can also be realized by the same configuration as the signal correction circuit 20 in the false contour correction apparatus shown in FIG.
[0035]
The operation of the false contour correcting apparatus of the present embodiment configured as described above will be described with reference to FIG. FIG. 5 is a virtual signal waveform diagram showing an example of a change in signal value expressed by the digital video signal A.
[0036]
Also in the present embodiment, as shown in FIG. 4C, the signal correction circuit 2b is digitally converted using the double bit change detection signal B from the double bit change detection circuit 1 as in the first embodiment. The double bit change portion in the video signal A is corrected into two 1-bit change portions. The two 1-bit change parts generated in this correction are separated by a period of 4 clocks, but if there are a plurality of double-bit change parts in the digital video signal A, the interval between them is within a period of 4 clocks. In such a case, the correction for one of the two double bit change parts adversely affects the correction for the other. That is, in this case, the false contour cannot be corrected appropriately in the signal correction circuit 2b. In addition, in the digital video signal A, when the double bit change portions are continuously present at short intervals, it is highly likely that these double bit change portions do not correspond to false contours. In the present embodiment, a period of 5 clocks is adopted as a value determined on a trial and error basis on the assumption that the number of effective pixels 720 in the horizontal direction, and when the interval between two double bit changes is shorter than the period of 5 clocks, It is assumed that correction for reducing the false contour is not performed on the two double bit change portions.
[0037]
From the above viewpoint, in this embodiment, the front / rear flat detection circuit 3 determines whether or not the digital video signal A is flat during the period of 5 clocks before and after the double bit change, that is, the double bit change or more as shown in FIG. It is detected whether or not there is a change, and the detection result is output as a flat detection signal D. Then, the signal correction circuit 2b uses the flat detection signal D together with the double bit change detection signal B, and there is a double bit change in the digital video signal A, and the period of 5 clocks before and after the double bit change is When the digital video signal A is flat, the double bit change portion is corrected to two 1-bit change portions.
[0038]
According to the present embodiment as described above, the correction for removing the false contour is performed only when the double bit change is detected in the digital video signal A and the period is flat for 5 clocks before and after the double bit change. If a plurality of double bit changes exist and their interval is equal to or shorter than the period of 4 clocks, no correction for false contour removal is performed. Therefore, it is possible to perform a false contour correction process without malfunction even for a digital video signal in which a double bit change frequently occurs. In addition, the false contour correction process can be performed only on the false contour within a range where no adverse effect is caused by the false contour correction process.
[0039]
<Third Embodiment>
FIG. 3 is a block diagram showing a configuration of a false contour correction apparatus according to the third embodiment of the present invention. As in the second embodiment, the false contour correcting apparatus includes a double bit change detection circuit 1, a signal correction circuit 2c, and a front / rear flatness detection circuit 3. In addition to these, the false contour correcting device includes a random number generation circuit 4 and is different from the second embodiment in this respect. In this embodiment, the digital video signal A input to the false contour correction device is supplied to the double bit change detection circuit 1, the signal correction circuit 2c, and the front / rear flatness detection circuit 3 as in the second embodiment.
[0040]
The functions and configurations of the double bit change detection circuit 1 and the front and rear flat detection circuit 3 in the present embodiment are the same as the functions and configurations of the double bit change detection circuit 1 and the front and rear flat detection circuit 3 in the second embodiment, respectively. Therefore, explanation is omitted.
[0041]
The random number generation circuit 4 generates an uncorrelated random number for the input digital video signal A and the corrected video signal C3 which is an output signal, and outputs a random number signal E indicating the random number.
[0042]
The signal correction circuit 2c is a digital video based on the double bit change detection signal B from the double bit change detection circuit 2, the flat detection signal D from the front and rear flat detection circuit 3, and the random signal E from the random number generation circuit 4. The double bit change in the signal A is corrected to two 1-bit changes, and the digital video signal subjected to such correction is output as a corrected video signal C3. Such a signal correction circuit 2c can also be realized by the same configuration as the signal correction circuit 20 in the false contour correction device shown in FIG.
[0043]
The operation of the false contour correcting apparatus of the present embodiment configured as described above will be described with reference to FIG.
[0044]
Also in this embodiment, as in the second embodiment, the signal correction circuit 2c uses the double bit change detection signal B to cause the double bit change in the digital video signal A as shown in FIG. Is corrected to two 1-bit change portions. When the false contour extends in the vertical direction in the video represented by the digital video signal A, the positions of the two 1-bit changes generated in this correction are always as shown in FIG. 6A in the second embodiment. Are the same. For this reason, depending on the state of the input digital video signal A, the 1-bit changed part after correction may appear as a vertical line aligned vertically in the video displayed on the screen.
[0045]
Therefore, in this embodiment, the position of the 1-bit change generated by correcting the double-bit change portion in the digital video signal A is shown in FIG. 6B using the random number signal E from the random number generation circuit 4. As shown, each line is shifted. As a result, it is possible to prevent a phenomenon in which the 1-bit change portion generated in the false contour correction looks vertically like a vertical line in the video displayed on the screen.
[0046]
FIG. 7 is a detailed block diagram showing an example of the configuration of the false contour correction apparatus according to the present embodiment. Double The bit change detection circuit 1, the signal correction circuit 2c, the front / rear flatness detection circuit 3, and the random number generation circuit 4 are the double bit change detection circuit 10, the signal correction circuit 20, the front / rear flatness detection circuit 30, and the random number generation shown in FIG. These correspond to the circuits 40, respectively.
[0047]
In this configuration example, the double bit change detection circuit 10 includes a 1-clock differentiation circuit 12, a full-wave rectification circuit 14, a level comparator 16, and a delay circuit 18. The 1-clock differentiating circuit 12 generates a signal having a value corresponding to a difference between signal values separated by a period of 1 clock in the digital video signal A, that is, a difference between adjacent pixel values, as a differential signal. A flag signal Flg indicating whether it is negative or negative is output. The full wave rectification circuit 14 converts the differential signal into a signal having only a positive value by inverting the polarity of the negative signal portion of the differential signal from the one clock differentiation circuit 12, and this is subjected to full wave rectification. Output as a signal. The level comparator 16 compares the value of the full-wave rectified signal with a reference value corresponding to a double bit change which is a preset value, and becomes H level only when it is equal to the reference value. A digital signal which becomes L level is output. The delay circuit 18 outputs a signal obtained by delaying the digital signal by a predetermined number of clocks as a double bit change detection signal B.
[0048]
The front / rear flat detection circuit 30 includes a least significant bit truncation circuit 32, a full-wave rectification circuit 34, a delay circuit in which ten 1-clock delay elements T are connected in cascade, and an OR circuit 36. The least significant bit truncation circuit 32 receives the differential signal from the 1-clock differentiation circuit 12 in the double bit change detection circuit 10 and outputs a signal obtained by truncating the least significant bit of the differentiation signal. However, when the differential signal to be input is an analog signal, the least significant bit truncation circuit 32 converts the differentiated signal into a digital signal and truncates the least significant bit of the converted signal. Instead of using the differential signal output from the 1-clock differentiating circuit 12, a 1-clock differentiating circuit is separately provided in the front / rear flatness detecting circuit 30, and the digital video signal A is input to the 1-clock differentiating circuit. A differential signal obtained by the clock differentiation circuit may be input to the least significant bit truncation circuit 32. The signal from the least significant bit truncation circuit 32 passes through a full wave rectifier circuit 34 having the same function as the full wave rectifier circuit 14 in the double bit change detection circuit, and is a delay circuit composed of ten 1-clock delay elements T. Is input. The signal input to the delay circuit is L level when there is no change in the digital video signal A or even if there is a change, and becomes H level when there is a change more than double bit change. . The OR circuit 36 includes an input signal to the delay circuit, an output signal of each delay element T from the first stage to the fourth stage among the ten delay elements T constituting the delay circuit, and the sixth stage. The output signals of the delay elements T up to the tenth stage are input, and a logical sum signal of these signals is output as the flat detection signal D. Therefore, the flat detection signal D becomes L level at each time point in units of clocks when the signal from the full-wave rectifier circuit 34 is L level in the period of 5 clocks before and after that time point, and otherwise. At H level. Therefore, the flat detection signal D is a low active signal, and even if the signal value does not change or changes during the period of 5 clocks before and after the double bit change in the digital video signal A, it changes by 1 bit. It becomes L level at the time of, and becomes H level when there is a change more than double bit change.
[0049]
The random number generation circuit 40 may be realized as a circuit that generates a pseudo-random number using a linear feedback shift register or the like, but in this configuration example, the horizontal synchronization signal Sh is input to the horizontal line indicated by the horizontal synchronization signal. This is realized by a conversion table for outputting as a random number signal E a signal indicating a value that varies accordingly. This conversion table is set so that the position of 1-bit change determined by the random number signal E is pseudo-randomly shifted for each line as shown in FIG. Has been.
[0050]
The signal correction circuit 20 adds and subtracts with the delay circuit 22 vessel 24 and an addition / subtraction control circuit 26. The delay circuit 22 delays the digital video signal A by a predetermined number of clocks and outputs the delayed digital video signal. The addition / subtraction control circuit 26 includes a double bit change detection signal B and a flag signal Flg from the double bit change detection circuit 10, a flat detection signal D from the front and rear flat detection circuit 30, and a random number signal E from the random number generation circuit 40. Based on the above, a control signal Cop composed of the addition instruction signal Cadd and the subtraction instruction signal Csub is generated as a signal for controlling the calculation by the adder / subtractor 24. The adder / subtractor 24 adds or subtracts a predetermined value for a predetermined period to the delayed digital video signal output from the delay circuit 22 in accordance with the control signal Cop, and corrects the calculated digital video signal. Output as video signal C3. The delay circuit 22 in the signal correction circuit 20 and the delay circuit 18 in the double bit change detection circuit 10 are digital video signal A and double bit change detection signal in order to realize the operation shown in FIG. B, introduced to adjust the timing between the flat detection signal D and the like.
[0051]
FIG. 8A is a signal waveform diagram showing an operation example of the signal correction circuit 20. However, this figure shows not a real signal waveform but a virtual signal waveform indicating a change in signal value expressed by the digital signals A and C3 for the digital video signal A and the corrected video signal C3. Yes. As shown in FIG. 8A, when there is a double bit change in the direction in which the signal value increases in the digital video signal A, the double bit change detection signal B indicating the position of the double bit change is 1 A flag signal Flg indicating that the value of the differential signal from the clock differentiation circuit 12 is positive is input to the addition / subtraction control circuit 26. The flag signal Flg indicating “positive” in this way means that the double bit change is a change in the direction in which the value of the digital video signal A increases. In this case, the addition instruction signal Cadd out of the control signal Cop output from the addition / subtraction control circuit 26 is the number of clocks n1 immediately before the point of the double bit change if the flat detection signal D is active (L level). It becomes active (H level) only for a period. On the other hand, if the flat detection signal D is active (L level), the subtraction instruction signal Csub of the control signal Cop is active (H level) for the period of the number of clocks n2 immediately after the double bit change. . Here, the values of the clock numbers n1 and n2 are determined by the random number signal E. While the addition instruction signal Cadd is active, the adder / subtractor 24 adds a value corresponding to the minimum quantization unit (that is, a value corresponding to the magnitude of 1-bit change) to the value of the digital video signal A, and performs a subtraction instruction. While the signal Csub is active, a value corresponding to the minimum quantization unit is subtracted from the value of the digital video signal A. As a result, as shown in FIG. 8A, a digital video signal in which the double bit change portion is corrected to two 1-bit changes is obtained, and this signal is obtained as a corrected video signal C3 from the signal correction circuit 20. Is output. If the flatness detection signal D is inactive, the addition instruction signal Cadd and the subtraction instruction signal Csub are not active. Therefore, if there are other double bit changes or more changes in the period of 5 clocks before and after the above double bit change, the above correction is not performed for the double bit change.
[0052]
FIG. 8B is a signal waveform diagram showing another operation example of the signal correction circuit 20. However, this figure also shows virtual signal waveforms indicating changes in signal values expressed by the digital signals A and C3, not the actual signal waveforms, for the digital video signal A and the corrected video signal C3. Yes. As shown in FIG. 8B, when there is a double bit change in the direction in which the signal value decreases in the digital video signal A, the double bit change detection signal B indicating the position of the double bit change is 1 A flag signal Flg indicating that the value of the differential signal from the clock differentiation circuit 12 is negative is input to the addition / subtraction control circuit 26. The flag signal Flg indicating “negative” in this way means that the double bit change is a change in the direction in which the value of the digital video signal A decreases. In this case, the subtraction instruction signal Csub out of the control signal Cop output from the addition / subtraction control circuit 26 is active only for the period of the number of clocks n1 immediately before the point of the double bit change if the flat detection signal D is active. Become. On the other hand, the addition instruction signal Cadd in the control signal Cop is active only for the period of the number of clocks n2 immediately after the double bit change if the flat detection signal D is active. Based on the subtraction signal Csub and the addition signal Cadd, the adder / subtractor 24 performs subtraction and addition on the digital video signal from the delay circuit 22, thereby changing the double bit change as shown in FIG. A digital video signal whose portion is corrected to two 1-bit changes is obtained, and this signal is output from the signal correction circuit 20 as a corrected video signal C3. Note that the values of the clock numbers n1 and n2 are determined by the random number signal E as described above. In addition, when there are other double bit changes or more changes in the period of 5 clocks before and after the above double bit change, the flat detection signal D becomes inactive. The above correction is not performed.
[0053]
By the above-described operation of the signal correction circuit 20, as shown in FIGS. 8 (a) and 8 (b), the double bit change in the digital video signal A is reduced to two. 1 It is corrected to bit change. That is, the double bit change is decomposed into a 1-bit change at a time point n1 clock before the double bit change time point and a 1-bit change at a time point n2 clocks after the double bit change time point. . However, if there are other double bit changes or more changes in the period of 5 clocks before and after the double bit change, the double bit change is not corrected. Further, since n1 and n2 are determined by the random number signal E, the positions of two 1-bit changes generated in the correction for the double-bit change, that is, the false contour correction, are shown for each line as shown in FIG. It will shift to.
[0054]
According to the present embodiment as described above, the same effect as in the first and second embodiments can be obtained, and the 1-bit change portion generated in the false contour correction is displayed on the screen. It is possible to prevent the phenomenon that the vertical lines are aligned like vertical lines.
[0055]
<Modification>
In each of the embodiments described above, it is assumed that the interval between two 1-bit changes generated by the correction for the double bit change in the digital video signal A is a period of 4 clocks as shown in FIG. However, this interval is not limited to a period of 4 clocks and may be a period of 2 clocks or more.
[0056]
In addition, the front and rear flatness detection circuit 3 used in the second and third embodiments detects whether or not the digital video signal A is flat in a period of 5 clocks before and after the double bit change. The flat period to be detected before and after the double bit change is not limited to a period of 5 clocks. The appropriate length of the flat period depends on how far the interval between two double bit changes existing in the digital video signal should be determined as a false contour. For example, by statistically examining the video represented by the digital video signal, it is possible to determine an appropriate length as the flat period according to the number of horizontal pixels in the video. However, as described above, in order to perform false contour correction without malfunction, the flat period to be detected is set to two 1-bit change intervals generated by correction for double bit change (in each embodiment described above). 4 clock periods).
[0057]
Furthermore, the false contour correction device of each of the above embodiments is used as a device for performing a false contour correction process on a digital video signal sent in real time such as a video signal in a television receiver, for example. However, it can also be used when performing false contour correction processing as image processing for accumulated image data. That is, the image signal obtained by sequentially reading out image data stored in a storage device such as a semiconductor memory or a hard disk device is regarded as the digital video signal A in each of the above embodiments, and the false contour correcting device of each of the above embodiments is used. It is also possible to do.
[0058]
Furthermore, in each of the embodiments described above, a double bit change is detected for pixels adjacent in the horizontal direction. However, in order to remove a false contour extending in the horizontal direction, a double bit for pixels adjacent in the vertical direction is detected. You may make it detect a change. In the case of performing false contour correction by detecting a double bit change for pixels adjacent in the vertical direction, for example, in the false contour correction device shown in FIG. A signal having a value corresponding to a difference between signal values separated by a line period is replaced with a one-line differentiating circuit that generates a differential signal, and each one-clock delay element T in the front and rear flat detection circuit 30 is replaced with a one-line delay element. In addition, the processing in units of clocks in each unit may be changed to be processing in units of one line.
[0059]
In each of the embodiments described above and the modifications thereof, the digital video signal A is doubled on the premise that a portion having a signal value change exceeding a double bit change does not correspond to a false contour. The bit change detection circuit 1 detects only a double bit change in the digital video signal A (or an adjacent pixel whose value is different by twice the minimum quantization unit). However, a signal value change more than three times the minimum quantization unit, that is, a signal change more than three times the bit change has occurred due to the digital signal processing applied to the digital video signal A. When it appears as a false contour in the above display, not only a double bit change but also a signal value change greater than a triple bit change is detected, and a correction for reducing the false contour is performed based on the detection result. It may be. For this purpose, for example, in the false contour correcting device shown in FIG. 7, the level comparator 16 is a digital signal that becomes H level if the value of the full-wave rectified signal is greater than or equal to the reference value, and that is L level otherwise. Can be changed to output. In this case, correction for a change in the signal value that is not equal to the false contour and that is more than a double bit change is avoided by the front-rear flatness detection circuit 30.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a false contour correction apparatus according to a first embodiment of the present invention.
FIG. 2 is a block diagram showing a configuration of a false contour correction apparatus according to a second embodiment of the present invention.
FIG. 3 is a block diagram showing a configuration of a false contour correction apparatus according to a third embodiment of the present invention.
FIG. 4 is a virtual signal waveform diagram for explaining the operation of the false contour correcting apparatus according to the first embodiment.
FIG. 5 is a virtual signal waveform diagram for explaining the operation of the false contour correcting apparatus according to the second embodiment.
FIG. 6 is a view for explaining the operation of a false contour correction apparatus according to a third embodiment.
FIG. 7 is a block diagram showing a detailed configuration of a false contour correction apparatus according to a third embodiment.
FIG. 8 is a virtual signal waveform diagram for explaining the operation of the false contour correcting apparatus shown in FIG. 7;
FIG. 9 is a block diagram showing a configuration of a conventional false contour correction circuit.
[Explanation of symbols]
1, 10 ... double bit change detection circuit
2a, 2b, 2c, 20... Signal correction circuit
3, 30 ... Front and rear flatness detection circuit
4, 40 ... random number generation circuit
A: Digital video signal
B: Double bit change detection signal
C1, C2, C3... Corrected video signal
D: Flatness detection signal
E ... Random number signal

Claims (10)

デジタル映像信号に基づく映像における偽輪郭を低減するための偽輪郭補正装置であって、
前記デジタル映像信号において前記デジタル映像信号の最小量子化単位の2倍に相当する信号値変化を2倍ビット変化として検出し、該検出の結果を示す信号を2倍ビット変化検出信号として出力する2倍ビット変化検出回路と、
記デジタル映像信号における前記2倍ビット変化の部分に対し前記偽輪郭を低減するために、前記2倍ビット変化検出信号に基づき、前記デジタル映像信号における前記2倍ビット変化の部分を、前記最小量子化単位に相当する信号値変化である1ビット変化が2箇所存在する部分へと補正する信号補正回路と、を備える偽輪郭補正装置。
A false contour correction device for reducing false contour in video based on a digital video signal,
In the digital video signal, a signal value change corresponding to twice the minimum quantization unit of the digital video signal is detected as a double bit change, and a signal indicating the detection result is output as a double bit change detection signal 2 A double bit change detection circuit;
To reduce the false contour to the portion of the double bit change in the previous SL digital video signal, on the basis of the double bit change detection signal, a portion of said double bit change in said digital video signal, said minimum A false contour correction apparatus comprising: a signal correction circuit that corrects a portion in which two 1-bit changes, which are signal value changes corresponding to quantization units, exist .
前記デジタル映像信号における前記2倍ビット変化の前後の所定区間において前記最小量子化単位の2倍以上の信号値変化が存在するか否かを判定し、該判定の結果を示す信号を平坦検出信号として出力する前後平坦検出回路を更に備え、
前記信号補正回路は、前記平坦検出信号に基づき、前記2倍ビット変化の前後の前記所定区間において前記最小量子化単位の2倍以上の信号値変化が存在しない場合にのみ、前記2倍ビット変化の部分に対し前記偽輪郭を低減するための前記補正を行う、請求項1に記載の偽輪郭補正装置。
It is determined whether there is a signal value change more than twice the minimum quantization unit in a predetermined section before and after the double bit change in the digital video signal, and a signal indicating the result of the determination is a flat detection signal Further comprising a front and rear flat detection circuit that outputs as
The signal correction circuit, based on the flatness detection signal, changes the double bit change only when there is no signal value change more than twice the minimum quantization unit in the predetermined section before and after the double bit change. The false contour correction apparatus according to claim 1, wherein the correction for reducing the false contour is performed on a portion of the false contour.
前記所定区間は、前記デジタル映像信号における隣接する5画素に相当する区間である、請求項に記載の偽輪郭補正装置。The false contour correction apparatus according to claim 2 , wherein the predetermined section is a section corresponding to five adjacent pixels in the digital video signal. 前記デジタル映像信号における前記2倍ビット変化の前後の所定区間において前記最小量子化単位の2倍以上の信号値変化が存在するか否かを判定し、該判定の結果を示す信号を平坦検出信号として出力する前後平坦検出回路を更に備え、
前記信号補正回路は、前記平坦検出信号に基づき、前記所定区間において前記最小量子化単位の2倍以上の信号値変化が存在しない場合にのみ、前記2倍ビット変化の部分に対し前記偽輪郭を低減するための補正を行い、該補正において2つの前記1ビット変化の間隔が前記所定区間よりも短くなるように前記1ビット変化の位置を決定する、請求項に記載の偽輪郭補正装置。
It is determined whether there is a signal value change more than twice the minimum quantization unit in a predetermined section before and after the double bit change in the digital video signal, and a signal indicating the result of the determination is a flat detection signal Further comprising a front and rear flat detection circuit that outputs as
Based on the flatness detection signal, the signal correction circuit applies the false contour to the double bit change portion only when there is no signal value change more than twice the minimum quantization unit in the predetermined interval. performs correction for reducing, the interval between two of said 1 bit change to determine the position of the 1 bit change to be shorter than the predetermined interval in the correction, the false contour correcting apparatus according to claim 1.
擬似的な乱数を示す乱数信号を発生させる乱数発生回路を更に備え、
前記信号補正回路は、前記2倍ビット変化の部分に対する補正により生成されるべき2つの前記1ビット変化の位置を前記乱数信号に基づいて決定する、請求項に記載の偽輪郭補正装置。
A random number generating circuit for generating a random number signal indicating a pseudo random number;
2. The false contour correction device according to claim 1 , wherein the signal correction circuit determines two positions of the 1-bit change to be generated by correction for the double-bit change portion based on the random number signal.
前記乱数発生回路は、前記デジタル映像信号に対応する水平同期信号を入力し、該水平同期信号が示す水平ラインに応じて変動する値を示す信号を前記乱数信号として出力する、請求項に記載の偽輪郭補正装置。The random number generation circuit receives a horizontal synchronizing signal corresponding to the digital video signal, and outputs the signal as the random number signal indicating a value that varies in accordance with the horizontal line indicated by the horizontal synchronization signals, according to claim 5 False contour correction device. デジタル映像信号に基づく映像における偽輪郭を低減するための偽輪郭補正方法であって、
前記デジタル映像信号の表す映像において隣接画素の値が前記デジタル映像信号の最小量子化単位の2倍だけ異なる部分を2倍ビット変化部分として検出する2倍ビット変化検出ステップと、
記偽輪郭を低減するために、前記検出ステップでの検出結果に基づき、前記2倍ビット変化部分の画素の値を、隣接画素の値が前記最小量子化単位だけ異なる部分である1ビット変化部分が2箇所存在するように補正する補正ステップと、を備える偽輪郭補正方法。
A false contour correction method for reducing false contour in video based on a digital video signal,
A double bit change detection step of detecting a portion in which the value of an adjacent pixel is different from the minimum quantization unit of the digital video signal by twice as a double bit change portion in the video represented by the digital video signal;
To reduce the pre-Symbol false contour, based on said detection result in the detecting step, wherein the value of a pixel of double bit change portion, one bit changes the value of the adjacent pixels are only different portions said minimum quantization unit A false contour correction method comprising: a correction step of correcting so that there are two portions .
前記2倍ビット変化部分における前記隣接画素の前後の所定区間において、前記最小量子化単位の2倍以上は値の異なる隣接画素が存在するか否かを検出する前後平坦検出ステップを更に備え、
前記補正ステップでは、前記前後平坦検出ステップの検出結果に基づき、前記最小量子化単位の2倍以上は値の異なる隣接画素が前記所定区間に存在しない場合にのみ、前記2倍ビット変化部分の画素の値が補正される、請求項に記載の偽輪郭補正方法。
A flat front and back detection step for detecting whether or not there is an adjacent pixel having a value different from that of the minimum quantization unit in a predetermined section before and after the adjacent pixel in the double bit change portion;
In the correction step, based on the detection result of the back-and-forth flatness detection step, the pixel of the double bit change portion is only when there is no adjacent pixel having a different value in the predetermined section at least twice the minimum quantization unit. The false contour correcting method according to claim 7 , wherein the value of is corrected.
前記2倍ビット変化部分における前記隣接画素の前後の所定区間において、前記最小量子化単位の2倍以上は値の異なる隣接画素が存在するか否かを検出する前後平坦検出ステップを更に備え、
前記補正ステップでは、前記前後平坦検出ステップの検出結果に基づき、前記所定区間において前記最小量子化単位の2倍以上の信号値変化が存在しない場合にのみ、前記2倍ビット変化部分の画素の値が補正され、該補正において2つの前記1ビット変化部分の間隔が前記所定区間よりも短くなるように前記1ビット変化部分の位置が決定される、請求項に記載の偽輪郭補正方法。
A flat front and back detection step for detecting whether or not there is an adjacent pixel having a value different from that of the minimum quantization unit in a predetermined section before and after the adjacent pixel in the double bit change portion;
In the correction step, based on the detection result of the back-and-forth flatness detection step, the value of the pixel of the double bit change portion is obtained only when there is no signal value change more than twice the minimum quantization unit in the predetermined section. The false contour correction method according to claim 7 , wherein the position of the 1-bit changing portion is determined such that an interval between the two 1-bit changing portions is shorter than the predetermined interval in the correction.
擬似的な乱数を発生させる乱数発生ステップを更に備え、 前記補正ステップでは、前記2倍ビット変化部分に対する補正により生成されるべき2つの前記1ビット変化部分の位置が前記擬似的な乱数に基づいて決定される、請求項に記載の偽輪郭補正方法。A random number generation step for generating a pseudo-random number, wherein in the correction step, the positions of the two 1-bit change portions to be generated by the correction for the double-bit change portion are based on the pseudo-random numbers. The false contour correction method according to claim 7 , which is determined.
JP11005999A 1998-04-17 1999-04-16 False contour correction apparatus and method Expired - Fee Related JP4301627B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11005999A JP4301627B2 (en) 1998-04-17 1999-04-16 False contour correction apparatus and method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP10758498 1998-04-17
JP10-107584 1998-04-17
JP11005999A JP4301627B2 (en) 1998-04-17 1999-04-16 False contour correction apparatus and method

Publications (3)

Publication Number Publication Date
JP2000004381A JP2000004381A (en) 2000-01-07
JP2000004381A5 JP2000004381A5 (en) 2006-06-01
JP4301627B2 true JP4301627B2 (en) 2009-07-22

Family

ID=26447606

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11005999A Expired - Fee Related JP4301627B2 (en) 1998-04-17 1999-04-16 False contour correction apparatus and method

Country Status (1)

Country Link
JP (1) JP4301627B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101303667B1 (en) * 2007-08-28 2013-09-04 삼성전자주식회사 Method and apparatus for detecting and removing false contour and method and apparatus for confirming whether pixel is contour and method and apparatus for computing simplicity
JP6348762B2 (en) 2014-04-17 2018-06-27 オリンパス株式会社 Image processing apparatus, image processing method, and image processing program

Also Published As

Publication number Publication date
JP2000004381A (en) 2000-01-07

Similar Documents

Publication Publication Date Title
EP1072153B1 (en) False contour correcting apparatus and method
JP3956887B2 (en) Image processing apparatus, image processing method, and image processing program
US7738042B2 (en) Noise reduction device for a video signal and noise reduction method for a video signal
JP3242278B2 (en) Image processing device
US8270750B2 (en) Image processor, display device, image processing method, and program
JP2601810B2 (en) Noise reduction circuit
KR100281877B1 (en) Impulse noise reduction apparatus and method
US7471336B2 (en) Global motion adaptive system with motion values correction with respect to luminance level
JP2002077623A (en) Image processing apparatus
JP3171283B2 (en) Noise measurement method and device
JP4301627B2 (en) False contour correction apparatus and method
JP4303652B2 (en) Gradation correction circuit and television receiver using the same
JP4910254B2 (en) Image processing apparatus and method
JP3305669B2 (en) Error diffusion method and error diffusion device
JP4258976B2 (en) Image processing apparatus and processing method
US7161708B2 (en) Image processing apparatus and method allowing control of edge enhancement effect
JP2007195216A (en) Image processing apparatus, image processing method and image processing program
JPH10222124A (en) Gradation adaptive error spreading circuit
JP2002369003A (en) Image processing circuit and image processing method
JP2506205B2 (en) Black level correction device
JPH0654173A (en) Image processor
JPH0662280A (en) False contour correcting circuit
JPH06225179A (en) Quantizer for picture signal
JP2000013714A (en) Luminance signal correction circuit
JP2001177739A (en) Noise eliminating device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060404

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060404

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090119

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090305

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

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

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

Free format text: PAYMENT UNTIL: 20120501

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees