Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4392582B2 - Signal processing apparatus, signal processing method, and program - Google Patents
[go: Go Back, main page]

JP4392582B2 - Signal processing apparatus, signal processing method, and program - Google Patents

Signal processing apparatus, signal processing method, and program Download PDF

Info

Publication number
JP4392582B2
JP4392582B2 JP2003133382A JP2003133382A JP4392582B2 JP 4392582 B2 JP4392582 B2 JP 4392582B2 JP 2003133382 A JP2003133382 A JP 2003133382A JP 2003133382 A JP2003133382 A JP 2003133382A JP 4392582 B2 JP4392582 B2 JP 4392582B2
Authority
JP
Japan
Prior art keywords
signal
edge
pixel
interest
image
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
JP2003133382A
Other languages
Japanese (ja)
Other versions
JP2004336652A (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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2003133382A priority Critical patent/JP4392582B2/en
Publication of JP2004336652A publication Critical patent/JP2004336652A/en
Application granted granted Critical
Publication of JP4392582B2 publication Critical patent/JP4392582B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Picture Signal Circuits (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、信号処理装置および信号処理方法、並びにプログラムに関し、特に、例えば、画像におけるエッジ部等を精度良く区別し、テクスチャ部の画質を損なわずに、エッジ周辺部に発生する圧縮ノイズ(モスキートノイズ)を効果的に十分に除去できるようにした信号処理装置および信号処理方法、並びにプログラムに関する。
【0002】
【従来の技術】
例えば、MPEG(Moving Picture Experts Group)などにおいては、画像信号をブロック化し、各ブロックをDCT(Discrete Cosine Transform)処理する。このため、MPEGエンコードされた画像信号をデコードすると、そのデコード画像においては、原理的に、エッジ周辺部に、モスキートノイズが発生する。モスキートノイズは、画像のエッジ周辺部に現れるため、モスキートノイズを除去するには、画像からエッジ部を検出する必要がある。
【0003】
このため、モスキートノイズを除去する、従来のノイズ除去装置では、例えば、単なる一次微分や二次微分によるエッジ検出や、ソーベルオペレータを用いたソーベルフィルタなどによるエッジ検出が行われている(例えば、特許文献1)。
【0004】
図1は、ある画像51のある水平ラインの画素値を、横軸を画素の位置とするとともに、縦軸を画素値として示している。なお、図1(後述する図8においても同様)では、各画素の水平方向の中心位置に、各画素の画素値をプロットし、さらに、画素値の変化を明確にするため、隣接する画素の画素値(を表す点)を直線で結んである。また、図1では、その左側の画素から、1からのシーケンシャルな番号を付して、各画素を表してある。
【0005】
画像51は、画素♯1乃至画素♯10からなる信号レベル(画素値)がほとんど変化しない平坦部b、画素♯11および♯12からなる信号レベルが急に変化するエッジ部a、並びに画素♯13乃至画素♯21からなる有意なテクスチャ部(例えば、模様があるなどして、信号レベルの変化がある程度存在する部分)cを有している。
【0006】
ここで有意なテクスチャ部cでは、平坦部bよりも信号レベルが大きく変化しているが、エッジ部aにおける場合ほどは変化していない。
【0007】
例えば、二次微分によるエッジ検出では、画像51の二次微分が演算され、その結果得られる二次微分値を閾値処理することにより、エッジが検出される。
【0008】
即ち、二次微分によるエッジ検出では、二次微分値の大きさ(絶対値)が、ある閾値より大の部分が検出され、その部分がエッジ部として検出される。
【0009】
モスキートノイズは、エッジ本体部aを含むその周辺であるエッジ周辺部53に生じるので、そのエッジ周辺部53をフィルタリングすることにより、モスキートノイズを除去(低減)することができる。
【0010】
【特許文献1】
特開平7−231450号公報
【0011】
【発明が解決しようとする課題】
ところで、図1において波形52は、画像51の二次微分値を示している。平坦部bでは、信号レベルの変化がほとんどないため、二次微分値52の大きさは、小さくなる。これに対して、エッジ部aや有意なテクスチャ部cでは、信号レベルの変化がある程度以上であるため、二次微分値52の大きさは、大きくなる。
【0012】
このため、二次微分値52を閾値処理することによりエッジ検出を行う場合には、エッジ本体部aのみならず有意なテクスチャ部cも、エッジとして検出され、エッジ本体部aと有意なテクスチャ部cとを精度良く区別することができないことがあった。
【0013】
さらに、その結果、モスキートノイズを除去するためのフィルタリング時に、エッジ本体部aの他に、有意なテクスチャ部cもフィルタリングされ、有意なテクスチャ部cの画質の劣化が生じ、また、エッジ部53に発生するモスキートノイズを効率的に除去することができないことがあった。
【0014】
本発明はこのような状況に鑑みてなされたものであり、画像信号を精度良く識別して、さらには、例えば、エッジ部に発生するモスキートノイズを効果的に十分に除去するようにすること等ができるようにするものである。
【0015】
【課題を解決するための手段】
本発明の信号処理装置は、画像信号からエッジを検出し、その検出結果を表すエッジ検出信号を出力するエッジ検出手段と、エッジ検出信号を平滑化し、平滑化信号として出力する平滑化手段と、平滑化信号の変化量を求め、その変化量を表すエッジ信号を出力するエッジ信号算出手段と、画像信号の変化量を求め、その変化量を表す画像変化信号を出力する画像変化信号算出手段と、注目画素のエッジ信号所定の第1の閾値以上である場合、注目画素がエッジ本体部である識別し、注目画素のエッジ信号が第1の閾値未満、かつ、注目画素の平滑化信号所定の第2の閾値以下である場合、注目画素が平坦部である識別し、注目画素のエッジ信号が第1の閾値未満、かつ、注目画素の平滑化信号が第2の閾値より大きく、かつ、注目画素の画像変化信号所定の第3の閾値未満である場合、注目画素がエッジ周辺部であると識別し、注目画素のエッジ信号が第1の閾値未満、かつ、注目画素の平滑化信号が第2の閾値より大きく、かつ、注目画素の画像変化信号が第3の閾値以上である場合、注目画素がテクスチャ部であると識別する識別手段とを備えることを特徴とする。
【0016】
本発明の信号処理方法は、画像信号からエッジを検出し、その検出結果を表すエッジ検出信号を出力するエッジ検出ステップと、エッジ検出信号を平滑化し、平滑化信号として出力する平滑化ステップと、平滑化信号の変化量を求め、その変化量を表すエッジ信号を出力するエッジ信号算出ステップと、画像信号の変化量を求め、その変化量を表す画像変化信号を出力する画像変化信号算出ステップと、注目画素のエッジ信号所定の第1の閾値以上である場合、注目画素がエッジ本体部である識別し、注目画素のエッジ信号が第1の閾値未満、かつ、注目画素の平滑化信号所定の第2の閾値以下である場合、注目画素が平坦部である識別し、注目画素のエッジ信号が第1の閾値未満、かつ、注目画素の平滑化信号が第2の閾値より大きく、かつ、注目画素の画像変化信号所定の第3の閾値未満である場合、注目画素がエッジ周辺部であると識別し、注目画素のエッジ信号が第1の閾値未満、かつ、注目画素の平滑化信号が第2の閾値より大きく、かつ、注目画素の画像変化信号が第3の閾値以上である場合、注目画素がテクスチャ部であると識別する識別ステップとを含むことを特徴とする。
【0017】
本発明のプログラムは、画像信号からエッジを検出し、その検出結果を表すエッジ検出信号を出力するエッジ検出ステップと、エッジ検出信号を平滑化し、平滑化信号として出力する平滑化ステップと、平滑化信号の変化量を求め、その変化量を表すエッジ信号を出力するエッジ信号算出ステップと、画像信号の変化量を求め、その変化量を表す画像変化信号を出力する画像変化信号算出ステップと、注目画素のエッジ信号所定の第1の閾値以上である場合、注目画素がエッジ本体部である識別し、注目画素のエッジ信号が第1の閾値未満、かつ、注目画素の平滑化信号所定の第2の閾値以下である場合、注目画素が平坦部である識別し、注目画素のエッジ信号が第1の閾値未満、かつ、注目画素の平滑化信号が第2の閾値より大きく、かつ、注目画素の画像変化信号所定の第3の閾値未満である場合、注目画素がエッジ周辺部であると識別し、注目画素のエッジ信号が第1の閾値未満、かつ、注目画素の平滑化信号が第2の閾値より大きく、かつ、注目画素の画像変化信号が第3の閾値以上である場合、注目画素がテクスチャ部であると識別する識別ステップとを含む処理をコンピュータに実行させることを特徴とする。
【0018】
本発明の信号処理装置、信号処理方法、およびプログラムにおいては、画像信号からエッジが検出され、その検出結果を表すエッジ検出信号が出力され、エッジ検出信号が平滑化され、平滑化信号として出力され、平滑化信号の変化量が求められ、その変化量を表すエッジ信号が出力され、画像信号の変化量が求められ、その変化量を表す画像変化信号が出力され、注目画素のエッジ信号所定の第1の閾値以上である場合、注目画素がエッジ本体部である識別され、注目画素のエッジ信号が第1の閾値未満、かつ、注目画素の平滑化信号所定の第2の閾値以下である場合、注目画素が平坦部である識別され、注目画素のエッジ信号が第1の閾値未満、かつ、注目画素の平滑化信号が第2の閾値より大きく、かつ、注目画素の画像変化信号所定の第3の閾値未満である場合、注目画素がエッジ周辺部であると識別され、注目画素のエッジ信号が第1の閾値未満、かつ、注目画素の平滑化信号が第2の閾値より大きく、かつ、注目画素の画像変化信号が第3の閾値以上である場合、注目画素がテクスチャ部であると識別される
【0019】
【発明の実施の形態】
以下に本発明の実施の形態を説明するが、請求項に記載の構成要件と、発明の実施の形態における具体例との対応関係を例示すると、次のようになる。この記載は、請求項に記載されている発明をサポートする具体例が、発明の実施の形態に記載されていることを確認するためのものである。従って、発明の実施の形態中には記載されているが、構成要件に対応するものとして、ここには記載されていない具体例があったとしても、そのことは、その具体例が、その構成要件に対応するものではないことを意味するものではない。逆に、具体例が構成要件に対応するものとしてここに記載されていたとしても、そのことは、その具体例が、その構成要件以外の構成要件には対応しないものであることを意味するものでもない。
【0020】
さらに、この記載は、発明の実施の形態に記載されている具体例に対応する発明が、請求項に全て記載されていることを意味するものではない。換言すれば、この記載は、発明の実施の形態に記載されている具体例に対応する発明であって、この出願の請求項には記載されていない発明の存在、すなわち、将来、分割出願されたり、補正により追加される発明の存在を否定するものではない。
【0021】
請求項1に記載の信号処理装置は、画像信号からエッジを検出し、その検出結果を表すエッジ検出信号を出力するエッジ検出手段(例えば、図2のエッジ検出部1)と、前記エッジ検出信号を平滑化し、平滑化信号として出力する平滑化手段(例えば、図2のフィルタ部2)と、前記平滑化信号の変化量を求め、その変化量を表すエッジ信号を出力するエッジ信号算出手段(例えば、図2の変化検出部3)と、前記画像信号の変化量を求め、その変化量を表す画像変化信号を出力する画像変化信号算出手段(例えば、図2の変化検出部4)と、注目画素の前記エッジ信号所定の第1の閾値以上である場合、前記注目画素がエッジ本体部である識別し、前記注目画素の前記エッジ信号が前記第1の閾値未満、かつ、前記注目画素の前記平滑化信号所定の第2の閾値以下である場合、前記注目画素が平坦部である識別し、前記注目画素の前記エッジ信号が前記第1の閾値未満、かつ、前記注目画素の前記平滑化信号が前記第2の閾値より大きく、かつ、前記注目画素の前記画像変化信号所定の第3の閾値未満である場合、前記注目画素がエッジ周辺部であると識別し、前記注目画素の前記エッジ信号が前記第1の閾値未満、かつ、前記注目画素の前記平滑化信号が前記第2の閾値より大きく、かつ、前記注目画素の前記画像変化信号が前記第3の閾値以上である場合、前記注目画素がテクスチャ部であると識別する識別手段(例えば、図2の識別部5)とを備えることを特徴とする。
【0022】
請求項2に記載の信号処理装置は、エッジ信号が大きい画素ほどノイズの除去処理を強く施すとともに、エッジ信号の値が同じ場合、エッジ周辺部の画素に対してノイズの除去処理を最も強く施し、画像信号からノイズを除去するノイズ除去手段(例えば、図2のノイズ除去フィルタ部6)をさらに備えることを特徴とする。
【0024】
図2は、本発明を適用したノイズ除去装置の一実施の形態の構成例を示すブロック図である。ノイズ除去装置は、エッジ検出部1、フィルタ部2、変化検出部3、変化検出部4、識別部5、およびノイズ除去フィルタ部6から構成される。
【0025】
エッジ検出部1には、入力信号としての、例えばMPEGデコードされた画像信号が入力され、エッジ検出部1は、入力信号としての画像信号からエッジを検出し、フィルタ部2に、そのエッジの検出結果を表すエッジ検出信号を出力するようになされている。なお、エッジ検出部1としては、例えば、一次微分や二次微分、ソーベルオペレータによるエッジ検出を行う従来のエッジ検出装置その他を利用することができる。
【0026】
フィルタ部2は、エッジ検出部1から出力されるエッジ検出信号を平滑化し、その平滑化結果を平滑化信号として、変化検出部3および識別部5に出力するようになされている。なお、フィルタ部2は、例えば、LPF(Low Pass Filter)で構成することができる。
【0027】
変化検出部3は、フィルタ部2から出力される平滑化信号の変化量を検出し、その変化量を、入力信号としての画像信号におけるエッジの程度を表すエッジ信号として、識別部5およびノイズ除去フィルタ部6に出力するようになされている。
【0028】
変化検出部4には、入力信号としての画像信号が入力され、変化検出部4は、入力信号としての画像信号の変化量を検出し、その変化量(以下、適宜、画像変化信号という)を、識別部5に出力するようになされている。
【0029】
識別部5には、変化検出部3から出力されるエッジ信号、フィルタ部2から出力される平滑化信号、および変化検出部4から出力される画像変化信号が入力され、識別部5は、エッジ信号、平滑化信号、および画像変化信号に基づいて、画像信号がエッジ本体部、エッジ周辺部、有意なテクスチャ部、または平坦部のうちのいずれであるかを識別し、その識別結果を表す識別情報を、ノイズ除去フィルタ部6に出力するようになされている。
【0030】
ノイズ除去フィルタ部6には、識別部5から出力される識別情報の他、変化検出部3から出力されるエッジ信号および入力信号としての画像信号が入力される。ノイズ除去フィルタ部6は、識別部5から出力される識別情報に基づいて、処理に用いるパラメータ特性を設定し、そのパラメータ特性と変化検出部3からのエッジ信号に基づいて所定の演算を行い、これにより、画像信号からモスキートノイズを除去し、出力信号としての画像信号を出力するようになされている。
【0031】
図3は、図2のノイズ除去装置の処理(画像処理)を説明するフローチャートである。
【0032】
図2のノイズ除去装置には、例えば、MPEGデコードされた画像信号が入力信号として供給され、その画像信号は、エッジ検出部1、変化検出部4、およびノイズ除去フィルタ部6に供給される。図3の画像処理は、入力信号としての画像信号が、エッジ検出部1とノイズ除去フィルタ部6に供給されると開始される。
【0033】
ステップS1において、エッジ検出部1は、そこに供給される画像信号からエッジ検出を行い、そのエッジ検出結果としてのエッジ検出信号を、フィルタ部2に出力し、ステップS2に進む。
【0034】
ステップS2において、フィルタ部2は、エッジ検出部1から供給されるエッジ検出信号を、例えばLPFによってフィルタリングすることにより平滑化し、その結果得られる平滑化信号を変化検出器3および識別部5に出力して、ステップS3に進む。
【0035】
ステップS3において、変化検出部3は、フィルタ部2から供給される平滑化信号の変化量を算出し、その変化量をエッジ信号として、ノイズ除去フィルタ部6に出力して、ステップS4に進む。ここで、平滑化信号の変化量としては、例えば、その平滑化信号の分散を採用することができる。変化検出部3は、入力信号である平滑化された画像信号を構成する各画素について、その画素に対応する平滑化信号の分散を求め、エッジ信号として出力する。
【0036】
ステップ4において、変化検出部4は、そこに供給される画像信号から変化量を算出し、その変化量である画像変化信号を、識別部5に出力して、ステップS5に進む。ここで変化量としては、ステップS3と同様に分散を採用することができる。変化検出部4は、入力信号である画像信号を構成する各画素について、分散を求め、画像変化信号として出力する。
【0037】
なお、ステップS1乃至S3の処理とステップS4の処理とは、図3に示した順番で実行する必要はなく、また、並列に実行することもできる。
【0038】
ステップS5において、識別部5は、そこに供給されるエッジ信号、平滑化信号、および画像変化信号に基づいて、画像信号が、エッジ本体部、有意なテクスチャ部、平坦部、またはエッジ周辺部のうちいずれであるかを識別し、その識別結果を表す識別情報を、ノイズ除去フィルタ部6に出力して、ステップS6に進む。
【0039】
ステップS6において、ノイズ除去フィルタ部6は、識別部5から供給される画像識別信号、および変化検出部3から供給されるエッジ信号に基づいて、入力信号としての画像信号に対して、所定の演算を施し、その演算結果をモスキートノイズを除去した画像信号として出力する。そして、ステップS6からS1に戻り、以下、同様の処理が繰り返される。
【0040】
なお、図3の処理は、ノイズ除去装置に供給される画像信号を構成する各画素を、例えばラスタスキャン順に、順次、注目画素として、その注目画素を対象に行われ、ノイズ除去装置に画像信号が供給されなくなると、終了する。
【0041】
図4は、図2のエッジ検出部1の構成例を示すブロック図である。エッジ検出部1は、例えば、水平エッジ検出部11、比較部12、および垂直エッジ検出部13から構成されている。
【0042】
水平エッジ検出部11と垂直エッジ検出部13には、入力信号としての画像信号が入力される。そして、水平エッジ検出部11は、そこに入力される画像信号の水平方向のエッジ(水平エッジ)を検出し、その検出結果を表すエッジ検出信号(以下、適宜、水平エッジ検出信号という)を比較部12に出力する。
【0043】
一方、垂直エッジ検出部13は、そこに入力される画像信号の垂直方向のエッジ(垂直エッジ)を検出し、その検出結果を表すエッジ検出信号(以下、適宜、垂直エッジ検出信号という)を比較部12に出力する。
【0044】
なお、水平エッジ検出部11と垂直エッジ検出部13は、画像信号を構成する各画素について、エッジ検出信号を出力する。
【0045】
比較部12は、画像信号を構成する各画素ごとに、水平エッジ検出部11から供給される水平エッジ検出信号と、垂直エッジ検出部13から供給される垂直エッジ検出信号を比較し、値の大きい方を、最終的なエッジ検出信号としてフィルタ部2に出力する。
【0046】
なお、エッジ検出部1では、エッジを水平方向と垂直方向に分けずに、二次元フィルタ等によって検出することが可能である。
【0047】
また、エッジ検出部1では、水平エッジ検出信号と垂直エッジ検出信号との合成値(例えば、平均値)などを、最終的なエッジ検出信号として採用することが可能である。
【0048】
図5は、図4の水平エッジ検出部11の構成例を示すブロック図である。水平エッジ検出部11は、微分部21と絶対値化部22とから構成されている。
【0049】
微分部21は、そこに供給される画像信号を構成する画素を、例えばラスタスキャン順に、順次、注目画素とし、その注目画素における画素値の水平方向の微分値を求める。即ち、微分部21は、例えば、注目画素とその左または右隣の画素との画素値の差分を演算し、その差分を、注目画素における水平方向の微分値として、絶対値化部22に出力する。
【0050】
絶対値化部22は、微分部21から出力される微分値の絶対値をとり、その絶対値を、水平エッジ検出信号として、図5の比較部12に供給する。
【0051】
なお、図4の垂直エッジ検出部13も、図5の水平エッジ検出部11と同様に構成される。但し、垂直エッジ検出部13を構成する微分部21は、注目画素における画素値の垂直方向の微分値を求め、絶対値化部22に供給する。
【0052】
また、図5の実施の形態では、一次微分によって、エッジ検出を行うようにしたが、エッジ検出は、その他、例えば、二次微分などによって行うことも可能である。
【0053】
図6は、図2のフィルタ部2の構成例を示すブロック図である。フィルタ部2は、例えば、水平ローパスフィルタ部31と垂直ローパスフィルタ部32とから構成されている。
【0054】
水平ローパスフィルタ部31は、エッジ検出部1から供給されるエッジ検出信号の水平方向の高周波数成分をカットし、垂直ローパスフィルタ部32に出力する。
【0055】
垂直ローパスフィルタ部32は、水平ローパスフィルタ部31から出力された信号の垂直方向の高周波数成分をカットし、その結果得られる信号を、平滑化信号として変化検出部3に出力する。
【0056】
以上のようにして、フィルタ部2では、エッジ検出信号を平滑化した平滑化信号が出力される。
【0057】
なお、フィルタ部2は、例えば、水平ローパスフィルタ部31と垂直ローパスフィルタ部32とを入れ換えて構成することも可能である。
【0058】
さらに、フィルタ部2は、例えば、水平方向と垂直方向の高周波数成分を同時にカットする二次元のローパスフィルタで構成することも可能である。
【0059】
図7は、図2の識別部5の構成を示すブロック図である。識別部5は、例えば、エッジ識別部91、平坦部識別部92、テクスチャ識別部93、および識別結果出力部94から構成されている。
【0060】
識別部5には、変化検出部3から出力されるエッジ信号V、フィルタ部2から出力される平滑化信号F、および変化検出部4から出力される画像変化信号Txが入力され、識別部5は、注目画素がエッジ本体部、平坦部、有意なテクスチャ部、およびエッジ周辺部のいずれの画素であるかを識別する。
【0061】
エッジ識別部91は、変化検出部3から供給されるエッジ信号Vと、所定の閾値TH1とを比較し、その比較結果を、識別結果出力部94に供給する。
【0062】
平坦部識別部92は、フィルタ部2から供給される平滑化信号と、所定の閾値TH2とを比較し、その比較結果を、識別結果出力部94に供給する。
【0063】
テクスチャ識別部93は、変化検出部4から供給される画像変化信号と、所定の閾値TH3とを比較し、その比較結果を、識別結果出力部94に供給する。
【0064】
識別結果出力部94は、エッジ識別部91、平坦部識別部92またはテクスチャ識別部93の出力に基づいて、注目画素が、エッジ本体部、平坦部、有意なテクスチャ部、またはエッジ周辺部のうちのいずれであるかを識別し、その識別結果を表す識別情報を、ノイズ除去フィルタ部6に供給する。
【0065】
図8は、図7の識別部5による図3のステップS5における識別処理を説明するフローチャートである。
【0066】
ステップS11において、エッジ識別部91は、注目画素のエッジ信号Vが閾値TH1未満(または以下)であるかどうかを判定する。ステップS11において、注目画素のエッジ信号が閾値TH1未満でないと判定された場合、即ち、注目画素のエッジ信号が、ある程度大きい場合、ステップS12に進み、識別結果出力部94は、注目画素がエッジ本体部である旨の識別情報を、ノイズ除去フィルタ部6に出力し、リターンする。
【0067】
一方、ステップS11において、エッジ信号が閾値TH1未満であると判定された場合、ステップS13に進み、平坦部識別部92は、注目画素の平滑化信号が、閾値TH2より大(以上)であるかどうかを判定する。
【0068】
ステップS13において、注目画素の平滑化信号が閾値TH2より大でないと判定された場合、即ち、注目画素の平滑化信号がある程度小さい場合、ステップS14に進み、識別結果出力部94は、注目画素が平坦部である旨の識別情報を、ノイズ除去フィルタ部6に供給し、リターンする。
【0069】
ステップS13において、注目画素の平滑化信号が閾値TH2より大であると判定された場合、ステップS15に進み、テクスチャ識別部93は、注目画素の画像変化信号が閾値TH3未満(または以下)であるかどうかを判定する。
【0070】
ステップS15において、注目画素の画像変化信号が閾値TH3未満でないと判定された場合、即ち、注目画素の画素変化信号がある程度大きい場合、ステップS16に進み、識別結果出力部94は、注目画素が有意なテクスチャ部である旨の識別情報を、ノイズ除去フィルタ部6に供給してリターンする。
【0071】
また、ステップS15において、注目画素の画像変化信号が閾値TH3未満であると判定された場合、即ち、注目画素の画像変化信号がある程度小さい場合、ステップS17に進み、識別結果出力部94は、注目画素がエッジ周辺部である旨の識別情報を、ノイズ除去フィルタ部6に供給してリターンする。
【0072】
図9は、図2のノイズ除去装置で処理される信号の波形を模式的に示している。
【0073】
波形(画像信号)T1は、入力信号としての画像信号におけるある水平ラインの信号波形(各画素の画素値)を示している。図9において波形T1は、aで示されるエッジ本体部、bで示される平坦部、cで示される有意なテクスチャ部、およびdで示されるエッジ周辺部(エッジ本体部aの境界周辺)を有している。モスキートノイズは、エッジ部、特に、エッジ周辺部dに発生する。
【0074】
波形T2およびT3は、エッジ検出部1による画像信号T1を対象としたエッジ検出結果としての信号波形を示している。即ち、いま、エッジ検出部1が、画像信号T1を一次微分し、その一次微分結果の絶対値を、エッジ検出信号として出力するものとすると、波形T2は、波形T1の一次微分結果を示し、波形T3は、波形T2の絶対値であるエッジ検出信号を示す。エッジ検出信号T3は、平坦部bでは小さな振幅となるが、エッジ本体部aおよびエッジ周辺部d、さらには有意なテクスチャ部cでも大きな振幅となる。このため、例えば、エッジ検出信号T3だけによってエッジ部を検出するとすれば、エッジ本体部aおよびエッジ周辺部dの他、有意なテクスチャ部cも、エッジ部として検出されるおそれがある。
【0075】
波形T4は、フィルタ部2においてエッジ検出信号T3を平滑化することにより得られる平滑化信号の波形を示している。フィルタ部2では、エッジ検出信号T3から高周波成分が除去される。従って、エッジ本体部aおよびエッジ周辺部dでは、エッジ検出信号T3の振幅が大であるため、平滑化信号T4は、ある程度大きな変化を有するものとなる。また、有意なテクスチャ部cでは、エッジ検出信号T3の振幅は、エッジ本体部aおよびエッジ周辺部dほど大ではないため、平滑化信号T4は、それほど大きく変化しないものとなる。さらに、平坦部bでは、平滑化信号T4は、ほとんど変化がない、0に近いものとなる。
【0076】
そこで、識別部5では、注目画素の平滑化信号T4が閾値TH2より大きくないときには、注目画素を、平坦部bと識別する。
【0077】
波形T5は、変化検出部3において求められる平滑化信号T4の変化量としての、例えば分散の波形、即ち、エッジ信号を示している。エッジ信号T5は、平滑化信号T4の変化量であるから、平滑化信号T4がほとんど変化しない平坦部bや、それほど大きく変化しない有意なテクスチャ部cでは、0あるいは0に近い値となるが、平滑化信号T4がある程度大きく変化するエッジ本体部aでは、大きな値となる。
【0078】
エッジ検出信号T3は、上述したように、エッジ本体部aおよびエッジ周辺部dだけでなく、テクスチャ部cでも、ある程度大きな値となるため、エッジ検出信号T3によって、画像信号T1におけるエッジ部を判断したのでは、エッジ本体部aだけでなく、テクスチャ部cも、誤って、エッジと判断されることになる。
【0079】
これに対して、エッジ信号T5では、エッジ本体部aで大きな値となり、テクスチャ部cでは小さな値となる。そこで、識別部5は、注目画素のエッジ信号T5が閾値TH1未満でないときには、注目画素をエッジ本体部aであると識別する。
【0080】
波形T6は、変化検出部4において求められる入力信号としての画像信号の変化量としての、例えば、分散の波形、即ち、画像変化信号を示している。画像変化信号T6は、平坦部と、入力信号としての画像信号T1が大きく変化し始めるエッジ周辺部dでは小さな値をとり、画像信号T1がある程度変化するエッジ本体部aとテクスチャ部cではある程度大きな値をとる。そこで、識別部5は、注目画素の画像変化信号T6が閾値TH3未満でないときには、注目画素をテクスチャ部cであると識別し、画像変化信号T6が閾値TH3未満であるときには、注目画素をエッジ周辺部であると識別する。
【0081】
ここで、識別部5において、注目画素の画像変化信号T6を閾値T3によって閾値処理すると、有意なテクスチャ部cおよびエッジ本体部aと、エッジ周辺部dおよび平坦部bとを識別することができるが、図8の識別処理によれば、注目画素の画像変化信号T6を閾値処理するステップS15の時点において、注目画素が、エッジ本体部a(ステップS12)でも、平坦部(ステップS14)でもないことが識別処理されている。即ち、注目画素の画像変化信号T6を閾値処理するステップS15の時点において、注目画素が、有意なテクスチャ部cまたはエッジ周辺部dのどちらか一方であることは識別されている。従って、注目画素の画像変化信号T6を閾値T3と比較することにより、注目画素が、有意なテクスチャ部cであるか、または、エッジ周辺部dであるかを識別することができる。
【0082】
図10は、ある画像51について、図2のノイズ除去装置で得られるエッジ信号54を示している。なお、図10における画像51の波形は、図1における場合と同一であるため、その説明は省略する。また、図10においては、図1における場合と同様に、画像51の二次微分値52を図示してある。
【0083】
画像51からは、波形54で示すエッジ信号が得られる。
【0084】
エッジ信号54は、エッジ本体部aおよびエッジ周辺部であるエッジ部53において大きな値となっている。即ち、エッジ信号54は、エッジ本体部aである画素♯11および♯12を中心として大きな値をとり、その左または右方向の部分(エッジ周辺部)では次第に値が小さくなっている。そして、エッジ信号54は、有意なテクスチャ部cおよび平坦部bでは限りなく0に近い値となっている。従って、エッジ信号54によれば、エッジ部53と、有意なテクスチャ部cおよび平坦部bとを精度良く区別して検出することができる。
【0085】
図11は、図2のノイズ除去フィルタ部6の第1の構成例を示すブロック図である。図11では、ノイズ除去フィルタ部6は、例えば、LPF部41、混合部42、および特性設定部43とから構成されている。
【0086】
LPF部41と混合部42には、入力信号としての画像信号が供給される。LPF部41は、そこに供給される画像信号を構成する画素を、例えばラスタスキャン順に、順次、注目画素として、その注目画素(の画素値)を、LPFでフィルタリングし、そのフィルタリング信号を混合部42に出力する。
【0087】
ここで、LPF部41において画像信号がフィルタリングされることにより、その画像信号に生じているモスキートノイズが除去(低減)される。
【0088】
混合部42には、入力信号としての画像信号の他、変化検出部3から出力されたエッジ信号V、特性設定部43から出力されるパラメータ特性、およびLPF部41の出力が入力される。混合部42は、特性設定部43から出力されたパラメータ特性に基づき、変化検出器3から出力されたエッジ信号Vに対応して無次元量であるパラメータαを設定し、そのパラメータαに基づき、入力信号としての画像信号を構成する画素のうちの注目画素の画素値と、その注目画素に対応するLPF部41の出力とを用いて演算を行い、その演算結果を、注目画素のノイズ除去結果として出力する。
【0089】
即ち、混合部42は、パラメータαを、注目画素の元の画素値と、注目画素に対応するLPF部41の出力との混合比として、両者を混合し、その結果得られる混合値を、注目画素の新たな画素値(ノイズ除去結果)として出力する。
【0090】
具体的には、注目画素の元の画素値をXnと表すとともに、注目画素に対応するLPF部41の出力(注目画素のフィルタリング結果)をXn´と表すこととすると、混合部42は、式Zn=αXn´+(1−α)Xnにしたがって、注目画素の新たな画素値Znを求める。
【0091】
特性設定部43には、識別部5から出力される注目画素の識別情報が入力され、特性設定部43は、あらかじめ設定されているパラメータ特性を、注目画素の識別情報に応じて選択し、その選択したパラメータ特性を混合部42に出力する。
【0092】
図12は、図11のLPF部41でのフィルタリングに用いられるタップ係数の例を示している。
【0093】
図12のタップ係数によれば、注目画素の画素値に4/16が乗算され、注目画素の上下左右それぞれに隣接する画素の画素値に2/16が乗算され、注目画素の左上、左下、右上、右下それぞれに隣接する画素の画素値に1/16が乗算され、それらの乗算結果の総和が、フィルタリング結果として出力される。
【0094】
図13は、図11の特性設定部43においてあらかじめ設定されているパラメータ特性としての、エッジ信号Vとパラメータαとの関係を示している。
【0095】
図13によれば、パラメータαは、エッジ信号Vが大であるほど、つまり、エッジである程度が大であるほど、0乃至1の範囲で大になっている。
【0096】
また、図13のパラメータ特性においては、パラメータαは、エッジの程度が同じであっても、注目画素の種類(特性、性質)により、異なる値をとるようになっている。即ち、図13のパラメータ特性によれば平坦部、有意なテクスチャ部、エッジ本体部、エッジ周辺部の順で、パラメータαが大きな値に設定される。特に、モスキートノイズはエッジ周辺部に発生するため、注目画素がエッジ周辺部である場合、エッジの程度にかかわらず、αが限りなく1となるように、パラメータ特性が設定される。これにより、エッジ部、即ち、特にエッジ周辺部dに発生するモスキートノイズを効果的に十分に除去することができる。
【0097】
図11の混合部42では、上述したように、式Zn=αXn´+(1−α)Xnにしたがって、注目画素の画素値Xnと、注目画素のフィルタリング結果Xn´とが混合され、注目画素の新たな画素値Znが求められる。
【0098】
従って、パラメータαが大である画素、即ち、エッジ信号Vが大きく、エッジである程度が大である画素については、その画素のフィルタリング結果Xn´の重み大きくして、その画素の元の画素値Xxnとフィルタリング結果Xn´とが混合される。その結果、モスキートノイズが生じるエッジ部の画素については、フィルタリング結果Xn´の割合が高い画素値、即ち、モスキートノイズが除去された画素値が、新たな画素値Znとして得られる。
【0099】
一方、パラメータが小である画素、即ち、エッジ信号Vが小さい、平坦部や有意なテクスチャ部の画素については、その画素の元の画素値Xnの重みを大きくして、その画素値Xnと、フィルタリング結果Xn´とが混合される。その結果、平坦部や有意なテクスチャ部の画素については、元の画素値の割合が高い画素値、即ち、特に、有意なテクスチャ部のディテール(detail)を維持した画素値が、新たな画素値Znとして得られる。
【0100】
従って、有意なテクスチャ部の画質を損なわずに、モスキートノイズを効果的に除去することができる。
【0101】
図14は、図11のノイズ除去フィルタ部6により行われる図3のステップS6のノイズ除去処理を説明するフローチャートである。
【0102】
ステップS21において、特性設定部43には、識別部5から出力される注目画素の識別情報が入力され、特性設定部43は、その識別情報に基づき、図13に示したパラメータ特性の中から、注目画素の処理に用いるパラメータ特性を選択し、混合部42に出力して、ステップS22へ進む。
【0103】
ステップS22において、LPF41には、入力信号としての画像信号が入力され、LPF部41は、その画像信号を構成する各画素のうちの注目画素の画素値Xnについて、ローパスフィルタリング処理を実行し、その処理結果を混合部42に出力し、ステップS23へ進む。
【0104】
ステップ23において、混合部42には、特性設定部43から出力されるパラメータ特性、変化検出部3から出力される注目画素のエッジ信号V、入力信号としての画像信号を構成する各画素のうちの注目画素の画素値Xn、およびLPF部41から出力される、注目画素に対応するフィルタリング結果Xn´が入力され、混合部42は、パラメータ特性に基づき、注目画素のエッジ信号Vに対応するパラメータαを設定する。さらに、混合部42は、そのパラメータαを混合比として注目画素の画素値Xnと、その注目画素に対応するフィルタリング結果Xn´とを混合する演算処理を実行し、その演算結果を、注目画素の新しい画素値Znとして出力してリターンする。
【0105】
また、ステップS21とS22の処理は、任意の順番で実行することができ、また、並列に実行することも可能である。
【0106】
図15は、図2のノイズ除去フィルタ部6の第2の構成例を示す図である。図15では、ノイズ除去フィルタ部6は、例えば、ε利得供給部61、εフィルタ部62、および特性設定部63とから構成されている。
【0107】
ε利得供給部61は、特性設定部63から出力されるパラメータ特性にしたがい、変化検出部3から出力されるエッジ信号Vに応じてεフィルタ部62のパラメータεを設定し、そのパラメータεをεフィルタ部62に出力する。
【0108】
εフィルタ部62には、ε利得供給部61から出力されたパラメータεと入力信号としての画像信号が入力される。εフィルタ部62は、入力された画像信号に対してパラメータεの値に基づき所定の演算処理を実行し、その結果を注目画素の新しい画素値として出力する。即ち、εフィルタ部62は、そこに供給される画像信号を構成する各画素を、例えばラスタスキャン順に、順次、注目画素とし、その注目画素を、その注目画素に対応するパラメータεに応じてフィルタリングする。
【0109】
εフィルタ部62は、パラメータεの値が大きい値であるほど、平滑化される度合いが高く(即ち、鈍りが生じやすく)、パラメータεの値が小さい値であるほど、平滑化される度合いが低く(即ち、鈍りが生じにくく)なるように信号を平滑化するフィルタリング処理を実行する。
【0110】
特性設定部63には、識別部5から出力される注目画素の識別情報が入力され、特性設定部63は、あらかじめ設定されているパラメータ特性の中から、注目画その識別情報がに対応するパラメータ特性を選択し、その選択したパラメータ特性をε利得供給部61に出力する。
【0111】
図16は、図15の特性設定部63においてあらかじめ設定されているパラメータ特性を示している。図16のパラメータ特性は、パラメータεがとり得る範囲がパラメータαのとり得る範囲と異なることを除けば、図13と同様であるので説明は省略する。
【0112】
図17は、εフィルタ部62のフィルタリング処理を説明する図である。εフィルタ部62では、入力信号が、例えば、図17Aに示される急峻なエッジを有する画像信号であっても、図17Bに示すように、その急峻なエッジを維持するように信号に平滑化される。
【0113】
以下に、εフィルタ部62が実行する平滑化処理(フィルタリング処理)の詳細について説明する。εフィルタ部62は、注目画素を、その注目画素の近傍にある近傍画素を用いてローパスフィルタリングするが、その際に近傍画素の画素値がパラメータεに応じて設定される。即ち、注目画素Pnの画素値Xnを中心とするεの範囲内に近傍画素Pmの画素値Xmがない場合、近傍画素Pmの画素値Xmを注目画素Pnの画素値Xnに置き換えてローパスフィルタリングが行われ、近傍画素Pmの画素値Xmがεの範囲内にある場合、その近傍画素Pmの画素値Xmをそのまま用いてローパスフィルタリングが行われる。
【0114】
即ち、εフィルタ部62は、注目画素Pnの画素値Xnと注目画素Pnの近傍画素Pmの画素値Xmとの差の絶対値|Xn−Xm|をε/2と比較する。そして、εフィルタ部62は、絶対値|Xn−Xm|がε/2よりも大きい(または以上である)と判断した場合には、近傍画素Pmの画素値Xmを注目画素Pnの画素値Xnに置き換え、注目画素Pnについてローパスフィルタ処理(ローパスフィルタリング)を行う。
【0115】
一方、εフィルタ部62は、絶対値|Xn−Xm|がε/2以下(または未満)と判断した場合には、近傍画素の画素値Xmをそのまま用いて、注目画素Pnについてローパスフィルタ処理を行う。
【0116】
従って、εフィルタ部62によれば、注目画素の画素値に近い値の画素値のみを用いて、注目画素がローパスフィルタリングされる。その結果、εフィルタ部62においては、例えば、入力信号としての画像信号に微少なノイズが含まれる場合には、そのノイズが除去されたフィルタリング結果が得られる。さらに、εフィルタ部62においては、例えば、入力信号としての画像信号に、急峻なエッジが含まれている場合には、そのエッジの形状を維持したフィルタリング結果が得られる。
【0117】
図15のノイズ除去フィルタ部6では、上述したように、注目画素がエッジである程度が大であるとパラメータεも大とされ、エッジである程度が小であると、パラメータεも小とされる。
【0118】
従って、図15のεフィルタ部62では、エッジ部の画素については、パラメータεが大となり、その画素周辺の画素の画素値をそのまま用いてローパスフィルタリングが行われ易くるので、そのエッジ部に生じるモスキートノイズを除去することができる。また、図12のεフィルタ部62では、平坦部や有意なテクスチャ部の画素については、パラメータεが小となり、その画素周辺の画素の画素値を、注目画素の画素値に置き換えてローパスフィルタリングが行われ易くなるので、特に、有意なテクスチャ部のディテールを維持したフィルタリング結果を得ることができる。
【0119】
なお、εフィルタ部62で実行されるフィルタリング処理のタップ数は、特に限定されるのもではなく、また、ユーザの要求に応じた任意の値とすることが可能である。
【0120】
図18は、図15のノイズ除去フィルタ部6の動作を説明するフローチャートである。
【0121】
ステップS31において、特性設定部63には、識別部5が出力する注目画素の識別情報が入力され、特性設定部63は、その識別情報に基づき、あらかじめ設定されているパラメータ特性の中から、注目画素の処理に用いるパラメータ特性を選択し、ε利得供給部62に出力して、ステップS32へ進む。
【0122】
ステップS32において、ε利得供給部62は、特性設定部63から出力されたパラメータ特性に基づき、注目画素のエッジ信号Vに対応するパラメータεを設定し、そのパラメータεをεフィルタ部62へ出力して、ステップS33へ進む。
【0123】
ステップS33において、εフィルタ部62は、ε利得供給部62から供給されるパラメータεに基づき、画像信号を構成する各画素のうち注目画素について、注目画素の近傍にある近傍画素の画素値を用いてフィルタリング処理を行い、その処理結果を注目画素の新しい画素値Znとして出力してリターンする。なお、εフィルタ部62のフィルタリング処理に用いるタップ係数としては、例えば、図12に示したもの採用することができる。
【0124】
以上のように、エッジ検出信号、平滑化信号、およびエッジ信号に基づき、注目画素を識別し、その識別結果を表す識別情報と、エッジ信号とに基づいてフィルタリング処理を行うことにより、有意なテクスチャ部のディテールを損なわずに、モスキートノイズを効果的に十分に除去することができる。
【0125】
上述した一連の処理は、ハードウェアにより実行させることもできるが、ソフトウェアにより実行させることもできる。
【0126】
上述した一連の処理をソフトウェアで実行させる場合、ノイズ除去装置は、例えば、図19に示されるようなパーソナルコンピュータなどとして構成することが可能である。
【0127】
図19において、CPU(Central Processing Unit)71は、ROM(Read Only Memory)72に記憶されているプログラム、または記憶部78からRAM(Random Access Memory)73にロードされたプログラムに従って各種の処理を実行する。
【0128】
RAM73にはまた、CPU71が各種の処理を実行する上において必要なデータなども適宜記憶される。
【0129】
CPU71、ROM72、およびRAM73は、バス74を介して相互に接続されている。このバス74にはまた、入出力インタフェース75も接続されている。
【0130】
入出力インタフェース75には、キーボード、マウスなどよりなる入力部76、ディスプレイなどよりなる出力部77、ハードディスクなどより構成される記憶部78、および通信部79が接続されている。
【0131】
入出力インタフェース75にはまた、必要に応じてドライブ80が接続され、磁気ディスク81、光ディスク82、光磁気ディスク83、或いは半導体メモリ84が適宜装着され、それらから読み出されたコンピュータプログラムが、必要に応じて記憶部78にインストールされる。
【0132】
一連の処理をソフトウエアにより実行させる場合には、そのソフトウエアを構成するプログラムが、専用のハードウエアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどに、プログラム格納媒体からインストールされる。
【0133】
コンピュータにインストールされ、コンピュータによって実行可能な状態とされるプログラムを格納するプログラム格納媒体は、図19に示すように、磁気ディスク81(フロッピディスクを含む)、光ディスク82(CD-ROM(Compact Disk-Read Only Memory)、DVD(Digital Versatile Disk)を含む)、光磁気ディスク83、もしくは半導体メモリ84などよりなるパッケージメディア、または、プログラムが一時的もしくは永続的に格納されるROM72や、記憶部78を構成するハードディスクなどにより構成される。プログラム格納媒体へのプログラムの格納は、必要に応じてルータ、モデムなどのインタフェースを介して、ローカルエリアネットワーク、インターネット、デジタル衛星放送といった、有線または無線の通信媒体を利用して行われる。
【0134】
なお、本明細書において、プログラム格納媒体に格納されるプログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。
【0135】
また、本明細書において、システムとは、複数の装置により構成される装置全体を表すものである。
【0136】
なお、本実施の形態では、エッジ信号および識別情報に基づいて、モスキートノイズを除去するようにしたが、エッジ信号はおよび識別情報は、モスキートノイズの除去の他、例えば、画像をオブジェクト符号化する場合のオブジェクトの抽出などに利用することが可能である。
【0137】
また、本実施の形態では、MPEGデコードされた画像信号を処理するようにしたが、その他の画像信号を対象として処理を行うことも可能である。
【0138】
さらに、本実施の形態では、平滑化信号の変化量(エッジ信号)として、平滑化信号の分散を求めるようにしたが、平滑化信号の変化量としては、注目画素の近傍の画素の平滑化信号の差分絶対値の平均値や、平滑化信号の微分値などを採用することが可能である。画像信号の変化量(画像変化信号)についても同様である。
【0139】
また、本実施の形態では、エッジ信号、平滑化信号、画像変化信号の3つを用いて、画像信号を識別し、その識別結果を表す識別情報を出力するようにしたが、その他、例えば、エッジ信号と、平滑化信号または画像変化信号のうちのいずれか一方との2つを用いて、画像信号を識別することも可能である。但し、この場合、図8の識別処理において、平滑化信号を用いないときには、ステップS13およびS14の処理が行われなくなり、画像変化信号を用いないときには、ステップS15乃至S17の処理が行われなくなる。
【0140】
さらに、ノイズ除去フィルタ部6は、上述したように構成する他、例えば、メディアンフィルタを用いて構成することが可能である。
【0141】
【発明の効果】
以上のように、本発明によれば、エッジ本体部、平坦部、有意なテクスチャ部、およびノイズを明確に区別することができる。
【図面の簡単な説明】
【図1】従来の画像信号とその二次微分の信号レベルを説明する図である。
【図2】本発明を適用したノイズ除去装置の一実施の形態の構成を示すブロック図である。
【図3】ノイズ除去装置の動作を説明するフローチャートである。
【図4】エッジ検出部1の構成例を示すブロック図である。
【図5】水平エッジ検出部11(垂直エッジ検出部13)の構成例を示すブロック図である。
【図6】フィルタ部2の構成例を示すブロック図である。
【図7】識別部5の構成例を示すブロック図である。
【図8】識別部5の動作を説明するフローチャートである。
【図9】ノイズ除去装置で得られる信号の波形を示す図である。
【図10】変化検出部3において得られるエッジ信号の波形を説明する図である。
【図11】ノイズ除去フィルタ部6の第1の構成例を示すブロック図である。
【図12】LPF部41のタップ係数の一実施の形態を示す図である。
【図13】エッジ信号Vとパラメータαとの関係を示す図である。
【図14】図11のノイズ除去フィルタ部6の動作を説明するフローチャートである。
【図15】ノイズ除去フィルタ部6の第2の構成例を示すブロック図である。
【図16】エッジ信号Vとパラメータεとの関係を示す図である。
【図17】εフィルタ部62の処理を説明する図である。
【図18】図15のノイズ除去フィルタ部6の動作を説明するフローチャートである。
【図19】本発明を適用したノイズ除去装置を実現するコンピュータの構成例を示すブロック図である。
【符号の説明】
1 エッジ検出部, 2 フィルタ部, 3 変化検出部, 4 ノイズ除去フィルタ部, 11 水平エッジ検出部, 12 比較部, 13 垂直エッジ検出部, 21 微分部, 22 絶対値化部, 31 水平ローパスフィルタ部, 32 垂直ローパスフィルタ部, 41 LPF部, 42 混合部, 43 特性設定部, 61 ε利得供給部, 62 εフィルタ部, 63 特性設定部, 71 CPU, 72 ROM, 73 RAM, 74 バス,75 入出力インターフェース, 76 入力部, 77 出力部, 78 記憶部, 79 通信部, 80 ドライブ, 81 磁器ディスク, 82 光ディスク, 83 光磁器ディスク, 84 半導体メモリ, 91 エッジ識別部, 92 平坦部識別部, 93 テクスチャ識別部, 94 識別結果出力部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a signal processing device, a signal processing method, and a program, and in particular, for example, an edge portion in an image is accurately distinguished, and compression noise (mosquito noise generated in an edge peripheral portion without deteriorating the image quality of a texture portion. The present invention relates to a signal processing apparatus, a signal processing method, and a program that can effectively and sufficiently remove noise.
[0002]
[Prior art]
For example, in MPEG (Moving Picture Experts Group) or the like, an image signal is blocked and each block is subjected to DCT (Discrete Cosine Transform) processing. Therefore, when an MPEG-encoded image signal is decoded, in principle, mosquito noise is generated in the peripheral portion of the edge of the decoded image. Since mosquito noise appears around the edge of the image, it is necessary to detect the edge from the image in order to remove the mosquito noise.
[0003]
For this reason, in a conventional noise removing apparatus that removes mosquito noise, for example, edge detection by simple primary differentiation or secondary differentiation, or edge detection by a Sobel filter using a Sobel operator is performed (for example, Patent Document 1).
[0004]
FIG. 1 shows pixel values of a horizontal line of an image 51, with the horizontal axis as the pixel position and the vertical axis as the pixel value. In FIG. 1 (the same applies to FIG. 8 described later), the pixel value of each pixel is plotted at the center position in the horizontal direction of each pixel, and in order to clarify the change of the pixel value, Pixel values (representing points) are connected by a straight line. Further, in FIG. 1, each pixel is represented by a sequential number from 1 from the left pixel.
[0005]
The image 51 includes a flat portion b where the signal level (pixel value) consisting of the pixels # 1 to # 10 hardly changes, an edge portion a where the signal level consisting of the pixels # 11 and # 12 changes suddenly, and a pixel # 13. Or a significant texture portion (for example, a portion where a change in the signal level exists to some extent due to a pattern or the like) c including the pixel # 21.
[0006]
Here, in the significant texture portion c, the signal level changes more greatly than in the flat portion b, but does not change as much as in the edge portion a.
[0007]
For example, in edge detection by secondary differentiation, the secondary differentiation of the image 51 is calculated, and an edge is detected by thresholding the resulting secondary differential value.
[0008]
That is, in edge detection by secondary differentiation, a portion where the magnitude (absolute value) of the secondary differential value is greater than a certain threshold is detected, and that portion is detected as an edge portion.
[0009]
Since the mosquito noise is generated in the edge peripheral portion 53 that is the periphery including the edge main body portion a, the mosquito noise can be removed (reduced) by filtering the edge peripheral portion 53.
[0010]
[Patent Document 1]
JP 7-231450 A
[0011]
[Problems to be solved by the invention]
Incidentally, a waveform 52 in FIG. 1 indicates a second derivative value of the image 51. Since the signal level hardly changes in the flat part b, the magnitude of the secondary differential value 52 becomes small. On the other hand, in the edge part a and the significant texture part c, since the change in the signal level is more than a certain level, the magnitude of the secondary differential value 52 becomes large.
[0012]
For this reason, when performing edge detection by thresholding the secondary differential value 52, not only the edge body portion a but also the significant texture portion c is detected as an edge, and the edge body portion a and the significant texture portion are detected. c may not be accurately distinguished.
[0013]
Further, as a result, during the filtering for removing mosquito noise, in addition to the edge main body portion a, a significant texture portion c is also filtered, resulting in a significant deterioration in the image quality of the texture portion c. In some cases, the generated mosquito noise cannot be removed efficiently.
[0014]
The present invention has been made in view of such a situation, and identifies an image signal with high accuracy, and further, for example, effectively and sufficiently removes mosquito noise generated at an edge portion. Is to be able to.
[0015]
[Means for Solving the Problems]
The signal processing apparatus of the present invention detects an edge from an image signal, outputs an edge detection signal indicating the detection result, smoothes the edge detection signal, and outputs a smoothing signal. An edge signal calculating means for obtaining a change amount of the smoothed signal and outputting an edge signal representing the amount of change; an image change signal calculating means for obtaining an amount of change of the image signal and outputting an image change signal representing the amount of change; , Edge signal of the pixel of interest But A predetermined first threshold If so, The pixel of interest is the edge body When Identify and The edge signal of the pixel of interest is less than the first threshold, and Smoothed signal of the target pixel But A predetermined second threshold If The target pixel is a flat part When Identify and The edge signal of the pixel of interest is less than the first threshold, the smoothed signal of the pixel of interest is greater than the second threshold, and Image change signal of the target pixel But Predetermined third threshold If less than The pixel of interest is the edge periphery The edge signal of the target pixel is less than the first threshold, the smoothed signal of the target pixel is greater than the second threshold, and the image change signal of the target pixel is greater than or equal to the third threshold. The pixel of interest is identified as a texture portion And an identification unit.
[0016]
The signal processing method of the present invention detects an edge from an image signal, outputs an edge detection signal representing the detection result, smoothes the edge detection signal, and outputs a smoothing signal as a smoothing signal. An edge signal calculation step for obtaining a change amount of the smoothed signal and outputting an edge signal representing the change amount; an image change signal calculation step for obtaining an amount of change in the image signal and outputting an image change signal representing the change amount; , Edge signal of the pixel of interest But A predetermined first threshold If so, The pixel of interest is the edge body When Identify and The edge signal of the pixel of interest is less than the first threshold, and Smoothed signal of the target pixel But A predetermined second threshold If The target pixel is a flat part When Identify and The edge signal of the pixel of interest is less than the first threshold, the smoothed signal of the pixel of interest is greater than the second threshold, and Image change signal of the target pixel But Predetermined third threshold If less than The pixel of interest is the edge periphery The edge signal of the target pixel is less than the first threshold, the smoothed signal of the target pixel is greater than the second threshold, and the image change signal of the target pixel is greater than or equal to the third threshold. The pixel of interest is identified as a texture portion And an identification step.
[0017]
The program of the present invention detects an edge from an image signal, outputs an edge detection signal representing the detection result, smoothes the edge detection signal, and outputs a smoothing signal. An edge signal calculation step for obtaining an amount of change in the signal and outputting an edge signal representing the amount of change; an image change signal calculating step for obtaining an amount of change in the image signal and outputting an image change signal representing the amount of change; Pixel edge signal But A predetermined first threshold If so, The pixel of interest is the edge body When Identify and The edge signal of the pixel of interest is less than the first threshold, and Smoothed signal of the target pixel But A predetermined second threshold If The target pixel is a flat part When Identify and The edge signal of the pixel of interest is less than the first threshold, the smoothed signal of the pixel of interest is greater than the second threshold, and Image change signal of the target pixel But Predetermined third threshold If less than The pixel of interest is the edge periphery The edge signal of the target pixel is less than the first threshold, the smoothed signal of the target pixel is greater than the second threshold, and the image change signal of the target pixel is greater than or equal to the third threshold. The pixel of interest is identified as a texture portion The computer is caused to execute a process including an identification step.
[0018]
In the signal processing device, signal processing method, and program of the present invention, an edge is detected from an image signal, an edge detection signal representing the detection result is output, the edge detection signal is smoothed, and output as a smoothed signal. The change amount of the smoothing signal is obtained, the edge signal representing the change amount is output, the change amount of the image signal is obtained, the image change signal representing the change amount is output, and the edge signal of the target pixel But A predetermined first threshold If so, The pixel of interest is the edge body When Identified, The edge signal of the pixel of interest is less than the first threshold, and Smoothed signal of the target pixel But A predetermined second threshold If The target pixel is a flat part When Identified, The edge signal of the pixel of interest is less than the first threshold, the smoothed signal of the pixel of interest is greater than the second threshold, and Image change signal of the target pixel But Predetermined third threshold If less than The pixel of interest is the edge periphery The edge signal of the pixel of interest is less than the first threshold, the smoothed signal of the pixel of interest is greater than the second threshold, and the image change signal of the pixel of interest is greater than or equal to the third threshold. The pixel of interest is identified as a texture portion .
[0019]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below. Correspondences between constituent elements described in the claims and specific examples in the embodiments of the present invention are exemplified as follows. This description is to confirm that specific examples supporting the invention described in the claims are described in the embodiments of the invention. Therefore, even if there are specific examples that are described in the embodiment of the invention but are not described here as corresponding to the configuration requirements, the specific examples are not included in the configuration. It does not mean that it does not correspond to a requirement. On the contrary, even if a specific example is described here as corresponding to a configuration requirement, this means that the specific example does not correspond to a configuration requirement other than the configuration requirement. not.
[0020]
Further, this description does not mean that all the inventions corresponding to the specific examples described in the embodiments of the invention are described in the claims. In other words, this description is an invention corresponding to the specific example described in the embodiment of the invention, and the existence of an invention not described in the claims of this application, that is, in the future, a divisional application will be made. Nor does it deny the existence of an invention added by amendment.
[0021]
The signal processing apparatus according to claim 1 detects an edge from an image signal and outputs an edge detection signal indicating the detection result (for example, the edge detection unit 1 in FIG. 2), and the edge detection signal. Smoothing means (for example, the filter unit 2 in FIG. 2) that outputs a smoothing signal, and an edge signal calculation means that obtains a change amount of the smoothing signal and outputs an edge signal representing the change amount ( For example, a change detection unit 3) in FIG. 2, an image change signal calculation unit (for example, a change detection unit 4 in FIG. 2) that obtains a change amount of the image signal and outputs an image change signal representing the change amount; The edge signal of the pixel of interest But A predetermined first threshold If so, The target pixel is an edge main body When Identify and The edge signal of the pixel of interest is less than the first threshold, and The smoothed signal of the pixel of interest But A predetermined second threshold If The target pixel is a flat part When Identify and The edge signal of the pixel of interest is less than the first threshold, and the smoothed signal of the pixel of interest is greater than the second threshold, and The image change signal of the pixel of interest But Predetermined third threshold If less than The pixel of interest is the edge periphery The edge signal of the pixel of interest is less than the first threshold, the smoothing signal of the pixel of interest is greater than the second threshold, and the image change signal of the pixel of interest Is greater than or equal to the third threshold, the pixel of interest is identified as a texture portion And an identification unit (for example, the identification unit 5 in FIG. 2).
[0022]
The signal processing device according to claim 2 comprises: When the edge signal is larger, the noise removal process is more strongly applied, and when the edge signal value is the same, the noise removal process is most strongly applied to the pixels around the edge, The image processing apparatus further includes noise removing means for removing noise from the image signal (for example, the noise removing filter unit 6 in FIG. 2).
[0024]
FIG. 2 is a block diagram showing a configuration example of an embodiment of a noise removing device to which the present invention is applied. The noise removal apparatus includes an edge detection unit 1, a filter unit 2, a change detection unit 3, a change detection unit 4, an identification unit 5, and a noise removal filter unit 6.
[0025]
The edge detection unit 1 receives, for example, an MPEG decoded image signal as an input signal. The edge detection unit 1 detects an edge from the image signal as the input signal, and the filter unit 2 detects the edge. An edge detection signal representing the result is output. As the edge detection unit 1, for example, a conventional edge detection device or the like that performs edge detection by a primary differentiation, a secondary differentiation, or a Sobel operator can be used.
[0026]
The filter unit 2 smoothes the edge detection signal output from the edge detection unit 1 and outputs the smoothed result to the change detection unit 3 and the identification unit 5 as a smoothed signal. In addition, the filter part 2 can be comprised by LPF (Low Pass Filter), for example.
[0027]
The change detection unit 3 detects the change amount of the smoothed signal output from the filter unit 2, and uses the change amount as an edge signal representing the degree of edge in the image signal as the input signal, and the noise removal unit 5 and the noise removal unit The data is output to the filter unit 6.
[0028]
The change detection unit 4 receives an image signal as an input signal, and the change detection unit 4 detects a change amount of the image signal as the input signal and uses the change amount (hereinafter referred to as an image change signal as appropriate). Are output to the identification unit 5.
[0029]
The identification unit 5 receives the edge signal output from the change detection unit 3, the smoothed signal output from the filter unit 2, and the image change signal output from the change detection unit 4. Based on the signal, smoothing signal, and image change signal, identify whether the image signal is the edge body part, edge peripheral part, significant texture part, or flat part, and indicate the identification result The information is output to the noise removal filter unit 6.
[0030]
In addition to the identification information output from the identification unit 5, an edge signal output from the change detection unit 3 and an image signal as an input signal are input to the noise removal filter unit 6. The noise removal filter unit 6 sets parameter characteristics used for processing based on the identification information output from the identification unit 5, performs a predetermined calculation based on the parameter characteristics and the edge signal from the change detection unit 3, Thereby, mosquito noise is removed from the image signal, and an image signal as an output signal is output.
[0031]
FIG. 3 is a flowchart for explaining processing (image processing) of the noise removal apparatus of FIG.
[0032]
For example, an MPEG-decoded image signal is supplied as an input signal to the noise removal apparatus in FIG. 2, and the image signal is supplied to the edge detection unit 1, the change detection unit 4, and the noise removal filter unit 6. The image processing in FIG. 3 is started when an image signal as an input signal is supplied to the edge detection unit 1 and the noise removal filter unit 6.
[0033]
In step S1, the edge detection unit 1 performs edge detection from the image signal supplied thereto, outputs an edge detection signal as the edge detection result to the filter unit 2, and proceeds to step S2.
[0034]
In step S <b> 2, the filter unit 2 smoothes the edge detection signal supplied from the edge detection unit 1 by filtering, for example, with an LPF, and outputs the resulting smoothed signal to the change detector 3 and the identification unit 5. Then, the process proceeds to step S3.
[0035]
In step S3, the change detection unit 3 calculates a change amount of the smoothed signal supplied from the filter unit 2, outputs the change amount as an edge signal to the noise removal filter unit 6, and proceeds to step S4. Here, as the amount of change in the smoothed signal, for example, the variance of the smoothed signal can be employed. The change detection unit 3 obtains the variance of the smoothed signal corresponding to each pixel constituting the smoothed image signal that is the input signal, and outputs it as an edge signal.
[0036]
In step 4, the change detection unit 4 calculates a change amount from the image signal supplied thereto, outputs an image change signal that is the change amount to the identification unit 5, and proceeds to step S5. Here, as the amount of change, dispersion can be adopted as in step S3. The change detection unit 4 obtains dispersion for each pixel constituting the image signal that is an input signal, and outputs it as an image change signal.
[0037]
Note that the processing of steps S1 to S3 and the processing of step S4 do not have to be executed in the order shown in FIG. 3, and can be executed in parallel.
[0038]
In step S <b> 5, the identification unit 5 determines that the image signal is based on the edge signal, the smoothing signal, and the image change signal supplied to the edge main body part, significant texture part, flat part, or edge peripheral part. The identification information indicating the identification result is output to the noise removal filter unit 6, and the process proceeds to step S6.
[0039]
In step S <b> 6, the noise removal filter unit 6 performs a predetermined calculation on the image signal as the input signal based on the image identification signal supplied from the identification unit 5 and the edge signal supplied from the change detection unit 3. And the calculation result is output as an image signal from which mosquito noise is removed. And it returns to S1 from step S6, and the same process is repeated hereafter.
[0040]
Note that the processing in FIG. 3 is performed on each pixel constituting the image signal supplied to the noise removal device as the pixel of interest sequentially, for example, in raster scan order, and the image signal is sent to the noise removal device. When no more is supplied, the process ends.
[0041]
FIG. 4 is a block diagram illustrating a configuration example of the edge detection unit 1 of FIG. The edge detection unit 1 includes, for example, a horizontal edge detection unit 11, a comparison unit 12, and a vertical edge detection unit 13.
[0042]
An image signal as an input signal is input to the horizontal edge detection unit 11 and the vertical edge detection unit 13. Then, the horizontal edge detection unit 11 detects a horizontal edge (horizontal edge) of the image signal input thereto, and compares an edge detection signal indicating the detection result (hereinafter referred to as a horizontal edge detection signal as appropriate). To the unit 12.
[0043]
On the other hand, the vertical edge detection unit 13 detects an edge (vertical edge) in the vertical direction of an image signal input thereto, and compares an edge detection signal indicating the detection result (hereinafter referred to as a vertical edge detection signal as appropriate). To the unit 12.
[0044]
The horizontal edge detection unit 11 and the vertical edge detection unit 13 output an edge detection signal for each pixel constituting the image signal.
[0045]
The comparison unit 12 compares the horizontal edge detection signal supplied from the horizontal edge detection unit 11 with the vertical edge detection signal supplied from the vertical edge detection unit 13 for each pixel constituting the image signal, and has a large value. Is output to the filter unit 2 as a final edge detection signal.
[0046]
Note that the edge detection unit 1 can detect an edge with a two-dimensional filter or the like without dividing the edge into a horizontal direction and a vertical direction.
[0047]
In addition, the edge detection unit 1 can employ a combined value (for example, an average value) of the horizontal edge detection signal and the vertical edge detection signal as a final edge detection signal.
[0048]
FIG. 5 is a block diagram illustrating a configuration example of the horizontal edge detection unit 11 of FIG. The horizontal edge detection unit 11 includes a differentiation unit 21 and an absolute value conversion unit 22.
[0049]
The differentiating unit 21 sequentially sets pixels constituting the image signal supplied thereto as a target pixel in order of raster scan, for example, and obtains a horizontal differential value of the pixel value at the target pixel. That is, the differentiating unit 21 calculates, for example, a difference between pixel values of the pixel of interest and the left or right adjacent pixel, and outputs the difference to the absolute value converting unit 22 as a horizontal differential value of the pixel of interest. To do.
[0050]
The absolute value converting unit 22 takes the absolute value of the differential value output from the differentiating unit 21, and supplies the absolute value to the comparing unit 12 in FIG. 5 as a horizontal edge detection signal.
[0051]
4 is configured in the same manner as the horizontal edge detection unit 11 in FIG. However, the differentiating unit 21 constituting the vertical edge detecting unit 13 obtains a differential value in the vertical direction of the pixel value in the target pixel and supplies it to the absolute value converting unit 22.
[0052]
In the embodiment of FIG. 5, edge detection is performed by primary differentiation, but edge detection can also be performed by, for example, secondary differentiation.
[0053]
FIG. 6 is a block diagram illustrating a configuration example of the filter unit 2 of FIG. For example, the filter unit 2 includes a horizontal low-pass filter unit 31 and a vertical low-pass filter unit 32.
[0054]
The horizontal low-pass filter unit 31 cuts a high-frequency component in the horizontal direction of the edge detection signal supplied from the edge detection unit 1 and outputs it to the vertical low-pass filter unit 32.
[0055]
The vertical low-pass filter unit 32 cuts the high frequency component in the vertical direction of the signal output from the horizontal low-pass filter unit 31 and outputs the resulting signal to the change detection unit 3 as a smoothed signal.
[0056]
As described above, the filter unit 2 outputs a smoothed signal obtained by smoothing the edge detection signal.
[0057]
The filter unit 2 can be configured by replacing the horizontal low-pass filter unit 31 and the vertical low-pass filter unit 32, for example.
[0058]
Furthermore, the filter unit 2 can be configured by a two-dimensional low-pass filter that simultaneously cuts high-frequency components in the horizontal direction and the vertical direction, for example.
[0059]
FIG. 7 is a block diagram showing a configuration of the identification unit 5 of FIG. The identification unit 5 includes, for example, an edge identification unit 91, a flat part identification unit 92, a texture identification unit 93, and an identification result output unit 94.
[0060]
The identification unit 5 receives the edge signal V output from the change detection unit 3, the smoothed signal F output from the filter unit 2, and the image change signal Tx output from the change detection unit 4. Identifies whether the pixel of interest is an edge body part, a flat part, a significant texture part, or an edge peripheral part.
[0061]
The edge identification unit 91 compares the edge signal V supplied from the change detection unit 3 with a predetermined threshold TH1 and supplies the comparison result to the identification result output unit 94.
[0062]
The flat portion identifying unit 92 compares the smoothed signal supplied from the filter unit 2 with a predetermined threshold TH2, and supplies the comparison result to the identification result output unit 94.
[0063]
The texture identification unit 93 compares the image change signal supplied from the change detection unit 4 with a predetermined threshold TH3 and supplies the comparison result to the identification result output unit 94.
[0064]
Based on the output of the edge identification unit 91, the flat part identification unit 92, or the texture identification unit 93, the identification result output unit 94 includes an edge main body part, a flat part, a significant texture part, or an edge peripheral part. And the identification information indicating the identification result is supplied to the noise removal filter unit 6.
[0065]
FIG. 8 is a flowchart for explaining the identification processing in step S5 of FIG. 3 by the identification unit 5 of FIG.
[0066]
In step S11, the edge identifying unit 91 determines whether or not the edge signal V of the target pixel is less than (or less than) the threshold value TH1. If it is determined in step S11 that the edge signal of the target pixel is not less than the threshold TH1, that is, if the edge signal of the target pixel is somewhat large, the process proceeds to step S12, and the identification result output unit 94 determines that the target pixel is the edge body. Is output to the noise removal filter unit 6 and the process returns.
[0067]
On the other hand, if it is determined in step S11 that the edge signal is less than the threshold value TH1, the process proceeds to step S13, and the flat part identifying unit 92 determines whether the smoothed signal of the target pixel is greater than (or greater than) the threshold value TH2. Determine if.
[0068]
If it is determined in step S13 that the smoothed signal of the target pixel is not larger than the threshold TH2, that is, if the smoothed signal of the target pixel is somewhat small, the process proceeds to step S14, and the identification result output unit 94 determines whether the target pixel is The identification information indicating that it is a flat part is supplied to the noise removal filter part 6 and the process returns.
[0069]
If it is determined in step S13 that the smoothed signal of the target pixel is larger than the threshold value TH2, the process proceeds to step S15, and the texture identifying unit 93 has the image change signal of the target pixel less than (or less than) the threshold value TH3. Determine whether or not.
[0070]
If it is determined in step S15 that the image change signal of the target pixel is not less than the threshold TH3, that is, if the pixel change signal of the target pixel is somewhat large, the process proceeds to step S16, and the identification result output unit 94 determines that the target pixel is significant. The identification information indicating that the texture portion is a correct texture portion is supplied to the noise removal filter portion 6 and the process returns.
[0071]
If it is determined in step S15 that the image change signal of the target pixel is less than the threshold value TH3, that is, if the image change signal of the target pixel is small to some extent, the process proceeds to step S17, and the identification result output unit 94 Identification information indicating that the pixel is an edge peripheral portion is supplied to the noise removal filter unit 6 and the process returns.
[0072]
FIG. 9 schematically shows a waveform of a signal processed by the noise removal apparatus of FIG.
[0073]
A waveform (image signal) T1 indicates a signal waveform (pixel value of each pixel) of a certain horizontal line in the image signal as an input signal. In FIG. 9, the waveform T1 has an edge main body portion indicated by a, a flat portion indicated by b, a significant texture portion indicated by c, and an edge peripheral portion indicated by d (periphery of the boundary of the edge main body portion a). is doing. Mosquito noise is generated at the edge portion, particularly at the edge peripheral portion d.
[0074]
Waveforms T2 and T3 show signal waveforms as edge detection results for the image signal T1 by the edge detector 1. That is, now, assuming that the edge detection unit 1 performs primary differentiation on the image signal T1 and outputs the absolute value of the primary differentiation result as an edge detection signal, the waveform T2 indicates the primary differentiation result of the waveform T1, A waveform T3 indicates an edge detection signal that is an absolute value of the waveform T2. The edge detection signal T3 has a small amplitude in the flat portion b, but also has a large amplitude in the edge main body portion a and the edge peripheral portion d, and also in the significant texture portion c. For this reason, for example, if the edge portion is detected only by the edge detection signal T3, there is a possibility that a significant texture portion c as well as the edge body portion a and the edge peripheral portion d may be detected as the edge portion.
[0075]
A waveform T4 indicates a waveform of a smoothed signal obtained by smoothing the edge detection signal T3 in the filter unit 2. The filter unit 2 removes high frequency components from the edge detection signal T3. Accordingly, since the amplitude of the edge detection signal T3 is large at the edge body part a and the edge peripheral part d, the smoothing signal T4 has a certain large change. Further, in the significant texture portion c, the amplitude of the edge detection signal T3 is not as great as that of the edge main body portion a and the edge peripheral portion d, so that the smoothed signal T4 does not change so much. Further, in the flat portion b, the smoothed signal T4 is almost zero with almost no change.
[0076]
Therefore, the identifying unit 5 identifies the target pixel as the flat portion b when the smoothed signal T4 of the target pixel is not greater than the threshold value TH2.
[0077]
A waveform T5 indicates, for example, a dispersion waveform, that is, an edge signal, as an amount of change of the smoothed signal T4 obtained by the change detection unit 3. Since the edge signal T5 is the amount of change of the smoothed signal T4, the flat portion b where the smoothed signal T4 hardly changes or the significant texture portion c where there is not much change is 0 or a value close to 0. In the edge main body a where the smoothing signal T4 changes greatly to some extent, the value becomes large.
[0078]
As described above, the edge detection signal T3 has a large value to some extent not only in the edge body part a and the edge peripheral part d but also in the texture part c. Therefore, the edge part in the image signal T1 is determined by the edge detection signal T3. As a result, not only the edge body portion a but also the texture portion c is erroneously determined as an edge.
[0079]
On the other hand, the edge signal T5 has a large value at the edge body part a and a small value at the texture part c. Therefore, when the edge signal T5 of the target pixel is not less than the threshold value TH1, the identification unit 5 identifies the target pixel as the edge main body a.
[0080]
A waveform T6 indicates, for example, a dispersion waveform, that is, an image change signal as a change amount of the image signal as an input signal obtained in the change detection unit 4. The image change signal T6 takes a small value in the flat portion and the edge peripheral portion d where the image signal T1 as the input signal starts to change greatly, and is somewhat large in the edge body portion a and the texture portion c where the image signal T1 changes to some extent. Takes a value. Therefore, when the image change signal T6 of the target pixel is not less than the threshold value TH3, the identification unit 5 identifies the target pixel as the texture portion c, and when the image change signal T6 is less than the threshold value TH3, Identified as part.
[0081]
Here, when the image change signal T6 of the target pixel is threshold-processed by the threshold value T3 in the identification unit 5, the significant texture part c and the edge body part a, and the edge peripheral part d and the flat part b can be identified. However, according to the identification processing of FIG. 8, at the time of step S15 in which the image change signal T6 of the target pixel is threshold-processed, the target pixel is neither the edge main body part a (step S12) nor the flat part (step S14). That is the identification process. In other words, at the time of step S15 when threshold processing is performed on the image change signal T6 of the target pixel, it is identified that the target pixel is either the significant texture portion c or the edge peripheral portion d. Therefore, by comparing the image change signal T6 of the target pixel with the threshold T3, it is possible to identify whether the target pixel is a significant texture portion c or an edge peripheral portion d.
[0082]
FIG. 10 shows an edge signal 54 obtained by the noise removal apparatus of FIG. The waveform of the image 51 in FIG. 10 is the same as that in FIG. Further, in FIG. 10, as in the case of FIG. 1, the secondary differential value 52 of the image 51 is illustrated.
[0083]
An edge signal indicated by a waveform 54 is obtained from the image 51.
[0084]
The edge signal 54 has a large value in the edge body part a and the edge part 53 which is the edge peripheral part. That is, the edge signal 54 takes a large value centering on the pixels # 11 and # 12 which are the edge main body part a, and gradually decreases in the left or right part (edge peripheral part). The edge signal 54 has a value close to 0 as much as possible in the significant texture portion c and flat portion b. Therefore, according to the edge signal 54, it is possible to accurately distinguish and detect the edge portion 53 and the significant texture portion c and flat portion b.
[0085]
FIG. 11 is a block diagram illustrating a first configuration example of the noise removal filter unit 6 of FIG. In FIG. 11, the noise removal filter unit 6 includes, for example, an LPF unit 41, a mixing unit 42, and a characteristic setting unit 43.
[0086]
An image signal as an input signal is supplied to the LPF unit 41 and the mixing unit 42. The LPF unit 41 sequentially filters pixels constituting the image signal supplied thereto, for example, in the raster scan order as a pixel of interest, filters the pixel of interest (pixel value thereof) with the LPF, and mixes the filtered signal with the mixing unit Output to 42.
[0087]
Here, by filtering the image signal in the LPF unit 41, mosquito noise generated in the image signal is removed (reduced).
[0088]
In addition to the image signal as an input signal, the mixing unit 42 receives the edge signal V output from the change detection unit 3, the parameter characteristics output from the characteristic setting unit 43, and the output of the LPF unit 41. The mixing unit 42 sets a parameter α that is a dimensionless amount corresponding to the edge signal V output from the change detector 3 based on the parameter characteristic output from the characteristic setting unit 43, and based on the parameter α, An operation is performed using the pixel value of the pixel of interest among the pixels constituting the image signal as the input signal and the output of the LPF unit 41 corresponding to the pixel of interest, and the operation result is obtained as the noise removal result of the pixel of interest. Output as.
[0089]
That is, the mixing unit 42 uses the parameter α as a mixing ratio between the original pixel value of the target pixel and the output of the LPF unit 41 corresponding to the target pixel, and mixes both, and the resultant mixed value is used as the target value. A new pixel value (noise removal result) of the pixel is output.
[0090]
Specifically, if the original pixel value of the target pixel is expressed as Xn, and the output of the LPF unit 41 corresponding to the target pixel (filtering result of the target pixel) is expressed as Xn ′, the mixing unit 42 represents the expression In accordance with Zn = αXn ′ + (1−α) Xn, a new pixel value Zn of the target pixel is obtained.
[0091]
The characteristic setting unit 43 receives the identification information of the pixel of interest output from the identification unit 5, and the characteristic setting unit 43 selects a preset parameter characteristic according to the identification information of the pixel of interest. The selected parameter characteristic is output to the mixing unit 42.
[0092]
FIG. 12 shows an example of tap coefficients used for filtering in the LPF unit 41 of FIG.
[0093]
According to the tap coefficient of FIG. 12, the pixel value of the target pixel is multiplied by 4/16, the pixel values of pixels adjacent to the upper, lower, left, and right of the target pixel are multiplied by 2/16, and the upper left, lower left, The pixel values of the pixels adjacent to the upper right and lower right are multiplied by 1/16, and the sum of the multiplication results is output as the filtering result.
[0094]
FIG. 13 shows the relationship between the edge signal V and the parameter α as the parameter characteristic preset in the characteristic setting unit 43 of FIG.
[0095]
According to FIG. 13, the parameter α increases in the range from 0 to 1 as the edge signal V is larger, that is, as the edge signal is larger to some extent.
[0096]
In the parameter characteristics shown in FIG. 13, the parameter α takes different values depending on the type (characteristic and property) of the target pixel even when the edge degree is the same. That is, according to the parameter characteristics of FIG. 13, the parameter α is set to a large value in the order of the flat portion, significant texture portion, edge body portion, and edge peripheral portion. In particular, since mosquito noise is generated in the edge peripheral portion, when the pixel of interest is in the edge peripheral portion, the parameter characteristics are set so that α is 1 as much as possible regardless of the degree of the edge. Thereby, the mosquito noise generated at the edge portion, that is, particularly the edge peripheral portion d can be effectively and sufficiently removed.
[0097]
In the mixing unit 42 in FIG. 11, as described above, the pixel value Xn of the target pixel and the filtering result Xn ′ of the target pixel are mixed according to the expression Zn = αXn ′ + (1−α) Xn, and the target pixel The new pixel value Zn is obtained.
[0098]
Accordingly, for a pixel having a large parameter α, that is, a pixel having a large edge signal V and a certain degree of edge, the weight of the filtering result Xn ′ of the pixel is increased, and the original pixel value Xxn of the pixel is increased. And the filtering result Xn ′ are mixed. As a result, for a pixel at an edge where mosquito noise occurs, a pixel value having a high ratio of the filtering result Xn ′, that is, a pixel value from which mosquito noise has been removed is obtained as a new pixel value Zn.
[0099]
On the other hand, for a pixel having a small parameter, that is, a pixel of a flat portion or a significant texture portion where the edge signal V is small, the weight of the original pixel value Xn of the pixel is increased, The filtering result Xn ′ is mixed. As a result, for the pixels in the flat part and the significant texture part, the pixel value having a high ratio of the original pixel value, that is, the pixel value maintaining the detail of the significant texture part in particular is a new pixel value. Obtained as Zn.
[0100]
Therefore, mosquito noise can be effectively removed without impairing the image quality of the significant texture portion.
[0101]
FIG. 14 is a flowchart for explaining the noise removal processing in step S6 of FIG. 3 performed by the noise removal filter unit 6 of FIG.
[0102]
In step S21, the identification information of the target pixel output from the identification unit 5 is input to the characteristic setting unit 43, and the characteristic setting unit 43 selects, based on the identification information, the parameter characteristics shown in FIG. A parameter characteristic used for processing of the target pixel is selected and output to the mixing unit 42, and the process proceeds to step S22.
[0103]
In step S22, an image signal as an input signal is input to the LPF 41, and the LPF unit 41 performs a low-pass filtering process on the pixel value Xn of the target pixel among the pixels constituting the image signal. The processing result is output to the mixing unit 42, and the process proceeds to step S23.
[0104]
In step 23, the mixing unit 42 includes the parameter characteristics output from the characteristic setting unit 43, the edge signal V of the target pixel output from the change detection unit 3, and the pixels constituting the image signal as the input signal. The pixel value Xn of the target pixel and the filtering result Xn ′ corresponding to the target pixel output from the LPF unit 41 are input, and the mixing unit 42 sets the parameter α corresponding to the edge signal V of the target pixel based on the parameter characteristics. Set. Further, the mixing unit 42 executes a calculation process of mixing the pixel value Xn of the target pixel and the filtering result Xn ′ corresponding to the target pixel using the parameter α as a mixing ratio, and the calculation result is obtained from the target pixel. Output as a new pixel value Zn and return.
[0105]
Further, the processes of steps S21 and S22 can be executed in an arbitrary order, and can also be executed in parallel.
[0106]
FIG. 15 is a diagram illustrating a second configuration example of the noise removal filter unit 6 in FIG. 2. In FIG. 15, the noise removal filter unit 6 includes, for example, an ε gain supply unit 61, an ε filter unit 62, and a characteristic setting unit 63.
[0107]
The ε gain supply unit 61 sets the parameter ε of the ε filter unit 62 according to the edge signal V output from the change detection unit 3 in accordance with the parameter characteristic output from the characteristic setting unit 63, and sets the parameter ε to ε Output to the filter unit 62.
[0108]
The ε filter unit 62 receives the parameter ε output from the ε gain supply unit 61 and an image signal as an input signal. The ε filter unit 62 performs a predetermined calculation process on the input image signal based on the value of the parameter ε, and outputs the result as a new pixel value of the target pixel. That is, the ε filter unit 62 sequentially sets each pixel constituting the image signal supplied thereto as a pixel of interest, for example, in raster scan order, and filters the pixel of interest according to the parameter ε corresponding to the pixel of interest. To do.
[0109]
The larger the value of the parameter ε, the higher the degree of smoothing (ie, the dullness is likely to occur), and the smaller the value of the parameter ε, the smoother the degree of the ε filter unit 62 is. A filtering process for smoothing the signal so as to be low (that is, less likely to be dull) is executed.
[0110]
The characteristic setting unit 63 receives the identification information of the target pixel output from the identification unit 5, and the characteristic setting unit 63 sets the parameter corresponding to the identification information of the target image from the preset parameter characteristics. A characteristic is selected, and the selected parameter characteristic is output to the ε gain supply unit 61.
[0111]
FIG. 16 shows parameter characteristics preset in the characteristic setting unit 63 of FIG. The parameter characteristics in FIG. 16 are the same as those in FIG. 13 except that the range that can be taken by the parameter ε is different from the range that can be taken by the parameter α.
[0112]
FIG. 17 is a diagram illustrating the filtering process of the ε filter unit 62. In the ε filter unit 62, for example, even if the input signal is an image signal having a steep edge shown in FIG. 17A, the signal is smoothed into a signal so as to maintain the steep edge as shown in FIG. 17B. The
[0113]
Below, the detail of the smoothing process (filtering process) which the (epsilon) filter part 62 performs is demonstrated. The ε filter unit 62 performs low-pass filtering on the pixel of interest using neighboring pixels in the vicinity of the pixel of interest. At this time, the pixel value of the neighboring pixel is set according to the parameter ε. That is, when there is no pixel value Xm of the neighboring pixel Pm within the range of ε centered on the pixel value Xn of the target pixel Pn, the pixel value Xm of the neighboring pixel Pm is replaced with the pixel value Xn of the target pixel Pn, and low pass filtering is performed. When the pixel value Xm of the neighboring pixel Pm is within the range of ε, the low-pass filtering is performed using the pixel value Xm of the neighboring pixel Pm as it is.
[0114]
That is, the ε filter unit 62 compares the absolute value | Xn−Xm | of the difference between the pixel value Xn of the target pixel Pn and the pixel value Xm of the neighboring pixel Pm of the target pixel Pn with ε / 2. When the ε filter unit 62 determines that the absolute value | Xn−Xm | is greater than (or greater than) ε / 2, the pixel value Xm of the neighboring pixel Pm is changed to the pixel value Xn of the target pixel Pn. And low-pass filter processing (low-pass filtering) is performed on the pixel of interest Pn.
[0115]
On the other hand, when the ε filter unit 62 determines that the absolute value | Xn−Xm | is equal to or less than (or less than) ε / 2, the pixel value Xm of the neighboring pixel is used as it is, and the low pass filter process is performed on the target pixel Pn. Do.
[0116]
Therefore, according to the ε filter unit 62, the target pixel is low-pass filtered using only the pixel value close to the pixel value of the target pixel. As a result, in the ε filter unit 62, for example, when a minute noise is included in the image signal as the input signal, a filtering result from which the noise is removed is obtained. Further, in the ε filter unit 62, for example, when the image signal as the input signal includes a steep edge, a filtering result maintaining the shape of the edge is obtained.
[0117]
In the noise removal filter unit 6 of FIG. 15, as described above, the parameter ε is increased when the pixel of interest is an edge to some extent, and the parameter ε is also decreased when the edge is an edge to some extent.
[0118]
Therefore, in the ε filter unit 62 of FIG. 15, the parameter ε is large for the pixel at the edge portion, and low-pass filtering is easily performed using the pixel values of the pixels around the pixel as it is, and thus the pixel is generated at the edge portion. Mosquito noise can be removed. Further, in the ε filter unit 62 of FIG. 12, the parameter ε is small for the pixels of the flat portion and the significant texture portion, and the pixel values of the pixels around the pixel are replaced with the pixel values of the target pixel to perform low-pass filtering. Since it becomes easy to perform, the filtering result which maintained the detail of the significant texture part especially can be obtained.
[0119]
Note that the number of taps of the filtering process executed by the ε filter unit 62 is not particularly limited, and can be an arbitrary value according to the user's request.
[0120]
FIG. 18 is a flowchart for explaining the operation of the noise removal filter unit 6 of FIG.
[0121]
In step S31, the identification information of the target pixel output from the identification unit 5 is input to the characteristic setting unit 63, and the characteristic setting unit 63 selects the target parameter from preset parameter characteristics based on the identification information. The parameter characteristics used for pixel processing are selected and output to the ε gain supply unit 62, and the process proceeds to step S32.
[0122]
In step S <b> 32, the ε gain supply unit 62 sets a parameter ε corresponding to the edge signal V of the target pixel based on the parameter characteristic output from the characteristic setting unit 63, and outputs the parameter ε to the ε filter unit 62. Then, the process proceeds to step S33.
[0123]
In step S <b> 33, the ε filter unit 62 uses pixel values of neighboring pixels in the vicinity of the target pixel for the target pixel among the pixels constituting the image signal based on the parameter ε supplied from the ε gain supply unit 62. The filtering process is performed, the process result is output as a new pixel value Zn of the target pixel, and the process returns. In addition, as a tap coefficient used for the filtering process of the epsilon filter part 62, what was shown in FIG. 12 is employable, for example.
[0124]
As described above, a significant texture can be obtained by identifying the target pixel based on the edge detection signal, the smoothing signal, and the edge signal, and performing the filtering process based on the identification information indicating the identification result and the edge signal. Mosquito noise can be effectively and sufficiently removed without deteriorating the detail of the part.
[0125]
The series of processes described above can be executed by hardware, but can also be executed by software.
[0126]
When the above-described series of processing is executed by software, the noise removal device can be configured as a personal computer as shown in FIG. 19, for example.
[0127]
In FIG. 19, a CPU (Central Processing Unit) 71 executes various processes according to a program stored in a ROM (Read Only Memory) 72 or a program loaded from a storage unit 78 to a RAM (Random Access Memory) 73. To do.
[0128]
The RAM 73 also appropriately stores data necessary for the CPU 71 to execute various processes.
[0129]
The CPU 71, ROM 72, and RAM 73 are connected to each other via a bus 74. An input / output interface 75 is also connected to the bus 74.
[0130]
The input / output interface 75 is connected to an input unit 76 such as a keyboard and a mouse, an output unit 77 composed of a display, a storage unit 78 composed of a hard disk, and a communication unit 79.
[0131]
A drive 80 is connected to the input / output interface 75 as necessary, and a magnetic disk 81, an optical disk 82, a magneto-optical disk 83, or a semiconductor memory 84 is appropriately mounted, and a computer program read from them is necessary. Is installed in the storage unit 78 according to the above.
[0132]
When a series of processing is executed by software, the program that constitutes the software executes a variety of functions by installing a computer embedded in dedicated hardware or various programs. For example, a general-purpose personal computer is installed from the program storage medium.
[0133]
As shown in FIG. 19, a program storage medium for storing a program installed in a computer and ready to be executed by the computer includes a magnetic disk 81 (including a floppy disk), an optical disk 82 (CD-ROM (Compact Disk- Read only memory) (including DVD (Digital Versatile Disk)), magneto-optical disk 83, semiconductor memory 84, or other package media, ROM 72 for storing programs temporarily or permanently, and storage unit 78 Consists of a hard disk and the like. The program is stored in the program storage medium using a wired or wireless communication medium such as a local area network, the Internet, or digital satellite broadcasting via an interface such as a router or a modem as necessary.
[0134]
In the present specification, the step of describing the program stored in the program storage medium is not limited to the processing performed in time series according to the described order, but is not necessarily performed in time series. Or the process performed separately is also included.
[0135]
Further, in this specification, the system represents the entire apparatus constituted by a plurality of apparatuses.
[0136]
In this embodiment, the mosquito noise is removed based on the edge signal and the identification information. However, the edge signal and the identification information are, for example, object-coded in addition to the removal of the mosquito noise. It can be used for extracting objects in cases.
[0137]
In the present embodiment, the MPEG-decoded image signal is processed, but it is also possible to perform processing for other image signals.
[0138]
Furthermore, in this embodiment, the variance of the smoothed signal is obtained as the amount of change (edge signal) of the smoothed signal. However, as the amount of change of the smoothed signal, the smoothing of pixels in the vicinity of the target pixel is performed. It is possible to employ an average value of the absolute difference value of the signal, a differential value of the smoothed signal, or the like. The same applies to the change amount of the image signal (image change signal).
[0139]
In the present embodiment, the image signal is identified using the edge signal, the smoothed signal, and the image change signal, and the identification information representing the identification result is output. It is also possible to identify the image signal using two of the edge signal and either the smoothed signal or the image change signal. However, in this case, in the identification process of FIG. 8, when the smoothed signal is not used, the processes of steps S13 and S14 are not performed, and when the image change signal is not used, the processes of steps S15 to S17 are not performed.
[0140]
Furthermore, the noise removal filter unit 6 can be configured using a median filter, for example, in addition to the configuration described above.
[0141]
【The invention's effect】
As described above, according to the present invention, the edge main body portion, the flat portion, the significant texture portion, and the noise can be clearly distinguished.
[Brief description of the drawings]
FIG. 1 is a diagram for explaining a conventional image signal and a signal level of a second derivative thereof.
FIG. 2 is a block diagram showing a configuration of an embodiment of a noise removing device to which the present invention is applied.
FIG. 3 is a flowchart illustrating the operation of the noise removal device.
4 is a block diagram illustrating a configuration example of an edge detection unit 1. FIG.
FIG. 5 is a block diagram illustrating a configuration example of a horizontal edge detection unit 11 (vertical edge detection unit 13).
6 is a block diagram illustrating a configuration example of a filter unit 2. FIG.
7 is a block diagram illustrating a configuration example of an identification unit 5. FIG.
FIG. 8 is a flowchart for explaining the operation of the identification unit 5;
FIG. 9 is a diagram illustrating a waveform of a signal obtained by the noise removing device.
FIG. 10 is a diagram for explaining a waveform of an edge signal obtained in the change detection unit 3;
FIG. 11 is a block diagram illustrating a first configuration example of the noise removal filter unit 6;
12 is a diagram illustrating an embodiment of tap coefficients of the LPF unit 41. FIG.
FIG. 13 is a diagram illustrating a relationship between an edge signal V and a parameter α.
14 is a flowchart for explaining the operation of the noise removal filter unit 6 of FIG. 11;
FIG. 15 is a block diagram illustrating a second configuration example of the noise removal filter unit 6;
FIG. 16 is a diagram illustrating a relationship between an edge signal V and a parameter ε.
FIG. 17 is a diagram for explaining processing of the ε filter unit 62;
18 is a flowchart for explaining the operation of the noise removal filter unit 6 of FIG.
FIG. 19 is a block diagram illustrating a configuration example of a computer that implements a noise removal device to which the present invention has been applied.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Edge detection part, 2 Filter part, 3 Change detection part, 4 Noise removal filter part, 11 Horizontal edge detection part, 12 Comparison part, 13 Vertical edge detection part, 21 Differentiation part, 22 Absolute value conversion part, 31 Horizontal low pass filter Unit, 32 vertical low-pass filter unit, 41 LPF unit, 42 mixing unit, 43 characteristic setting unit, 61 ε gain supply unit, 62 ε filter unit, 63 characteristic setting unit, 71 CPU, 72 ROM, 73 RAM, 74 bus, 75 I / O interface, 76 input section, 77 output section, 78 storage section, 79 communication section, 80 drive, 81 magnetic disk, 82 optical disk, 83 optomagnetic disk, 84 semiconductor memory, 91 edge identification section, 92 flat section identification section, 93 texture identification unit, 94 identification result output unit

Claims (5)

画像信号からエッジを検出し、その検出結果を表すエッジ検出信号を出力するエッジ検出手段と、
前記エッジ検出信号を平滑化し、平滑化信号として出力する平滑化手段と、
前記平滑化信号の変化量を求め、その変化量を表すエッジ信号を出力するエッジ信号算出手段と、
前記画像信号の変化量を求め、その変化量を表す画像変化信号を出力する画像変化信号算出手段と、
注目画素の前記エッジ信号所定の第1の閾値以上である場合、前記注目画素がエッジ本体部である識別し、前記注目画素の前記エッジ信号が前記第1の閾値未満、かつ、前記注目画素の前記平滑化信号所定の第2の閾値以下である場合、前記注目画素が平坦部である識別し、前記注目画素の前記エッジ信号が前記第1の閾値未満、かつ、前記注目画素の前記平滑化信号が前記第2の閾値より大きく、かつ、前記注目画素の前記画像変化信号所定の第3の閾値未満である場合、前記注目画素がエッジ周辺部であると識別し、前記注目画素の前記エッジ信号が前記第1の閾値未満、かつ、前記注目画素の前記平滑化信号が前記第2の閾値より大きく、かつ、前記注目画素の前記画像変化信号が前記第3の閾値以上である場合、前記注目画素がテクスチャ部であると識別する識別手段と
を備えることを特徴とする信号処理装置。
Edge detection means for detecting an edge from an image signal and outputting an edge detection signal representing the detection result;
Smoothing means for smoothing the edge detection signal and outputting the smoothed signal;
An edge signal calculation means for obtaining a change amount of the smoothed signal and outputting an edge signal representing the change amount;
Image change signal calculating means for obtaining a change amount of the image signal and outputting an image change signal representing the change amount;
When the edge signal of the pixel of interest is equal to or greater than a predetermined first threshold value, the target pixel is identified as an edge body portion, the edge signal is less than the first threshold value of the pixel of interest, and the target when the smoothed signal of the pixel is equal to or less than a predetermined second threshold value, the target pixel is identified as a flat portion, the edge signal is less than the first threshold value of the pixel of interest, and the pixel of interest the smoothed signal is greater than said second threshold, and if the image change signal of the pixel of interest is less than a predetermined third threshold value, the target pixel is identified as an edge peripheral portion, wherein The edge signal of the pixel of interest is less than the first threshold, the smoothed signal of the pixel of interest is greater than the second threshold, and the image change signal of the pixel of interest is greater than or equal to the third threshold. If the Containing the signal processing apparatus characterized by comprising identifying means for identifying as a texture unit.
前記エッジ信号が大きい画素ほどノイズの除去処理を強く施すとともに、前記エッジ信号の値が同じ場合、前記エッジ周辺部の画素に対してノイズの除去処理を最も強く施し、前記画像信号からノイズを除去するノイズ除去手段をさらに備える
ことを特徴とする請求項1に記載の信号処理装置。
Pixels with a larger edge signal are subjected to stronger noise removal processing, and when the edge signal value is the same, the noise removal processing is most strongly applied to pixels around the edge to remove noise from the image signal. The signal processing apparatus according to claim 1, further comprising noise removing means for performing the processing.
前記ノイズ除去手段は、前記エッジ信号の値が同じ場合、強い方から、前記エッジ周辺部の画素、前記エッジ本体部の画素、前記テクスチャ部の画素、前記平坦部の画素の順にノイズの除去処理の強さを調整する
ことを特徴とする請求項に記載の信号処理装置。
When the edge signal value is the same, the noise removal means performs noise removal processing in order of the edge peripheral pixel, the edge body pixel, the texture pixel, and the flat pixel from the strongest one. The signal processing device according to claim 2 , wherein the strength of the signal processing unit is adjusted.
画像信号からエッジを検出し、その検出結果を表すエッジ検出信号を出力するエッジ検出ステップと、
前記エッジ検出信号を平滑化し、平滑化信号として出力する平滑化ステップと、
前記平滑化信号の変化量を求め、その変化量を表すエッジ信号を出力するエッジ信号算出ステップと、
前記画像信号の変化量を求め、その変化量を表す画像変化信号を出力する画像変化信号算出ステップと、
注目画素の前記エッジ信号所定の第1の閾値以上である場合、前記注目画素がエッジ本体部である識別し、前記注目画素の前記エッジ信号が前記第1の閾値未満、かつ、前記注目画素の前記平滑化信号所定の第2の閾値以下である場合、前記注目画素が平坦部である識別し、前記注目画素の前記エッジ信号が前記第1の閾値未満、かつ、前記注目画素の前記平滑化信号が前記第2の閾値より大きく、かつ、前記注目画素の前記画像変化信号所定の第3の閾値未満である場合、前記注目画素がエッジ周辺部であると識別し、前記注目画素の前記エッジ信号が前記第1の閾値未満、かつ、前記注目画素の前記平滑化信号が前記第2の閾値より大きく、かつ、前記注目画素の前記画像変化信号が前記第3の閾値以上である場合、前記注目画素がテクスチャ部であると識別する識別ステップと
を含むことを特徴とする信号処理装置の信号処理方法。
An edge detection step of detecting an edge from the image signal and outputting an edge detection signal representing the detection result;
A smoothing step of smoothing the edge detection signal and outputting as a smoothed signal;
An edge signal calculation step for obtaining a change amount of the smoothed signal and outputting an edge signal representing the change amount;
An image change signal calculation step for obtaining a change amount of the image signal and outputting an image change signal representing the change amount;
When the edge signal of the pixel of interest is equal to or greater than a predetermined first threshold value, the target pixel is identified as an edge body portion, the edge signal is less than the first threshold value of the pixel of interest, and the target when the smoothed signal of the pixel is equal to or less than a predetermined second threshold value, the target pixel is identified as a flat portion, the edge signal is less than the first threshold value of the pixel of interest, and the pixel of interest the smoothed signal is greater than said second threshold, and if the image change signal of the pixel of interest is less than a predetermined third threshold value, the target pixel is identified as an edge peripheral portion, wherein The edge signal of the pixel of interest is less than the first threshold, the smoothed signal of the pixel of interest is greater than the second threshold, and the image change signal of the pixel of interest is greater than or equal to the third threshold. If the Signal processing method containing the signal processing apparatus characterized by comprising an identification identifying as a texture unit.
画像信号からエッジを検出し、その検出結果を表すエッジ検出信号を出力するエッジ検出ステップと、
前記エッジ検出信号を平滑化し、平滑化信号として出力する平滑化ステップと、
前記平滑化信号の変化量を求め、その変化量を表すエッジ信号を出力するエッジ信号算出ステップと、
前記画像信号の変化量を求め、その変化量を表す画像変化信号を出力する画像変化信号算出ステップと、
注目画素の前記エッジ信号所定の第1の閾値以上である場合、前記注目画素がエッジ本体部である識別し、前記注目画素の前記エッジ信号が前記第1の閾値未満、かつ、前記注目画素の前記平滑化信号所定の第2の閾値以下である場合、前記注目画素が平坦部である識別し、前記注目画素の前記エッジ信号が前記第1の閾値未満、かつ、前記注目画素の前記平滑化信号が前記第2の閾値より大きく、かつ、前記注目画素の前記画像変化信号所定の第3の閾値未満である場合、前記注目画素がエッジ周辺部であると識別し、前記注目画素の前記エッジ信号が前記第1の閾値未満、かつ、前記注目画素の前記平滑化信号が前記第2の閾値より大きく、かつ、前記注目画素の前記画像変化信号が前記第3の閾値以上である場合、前記注目画素がテクスチャ部であると識別する識別ステップと
を含む処理をコンピュータに実行させるプログラム。
An edge detection step of detecting an edge from the image signal and outputting an edge detection signal representing the detection result;
A smoothing step of smoothing the edge detection signal and outputting as a smoothed signal;
An edge signal calculation step for obtaining a change amount of the smoothed signal and outputting an edge signal representing the change amount;
An image change signal calculation step for obtaining a change amount of the image signal and outputting an image change signal representing the change amount;
When the edge signal of the pixel of interest is equal to or greater than a predetermined first threshold value, the target pixel is identified as an edge body portion, the edge signal is less than the first threshold value of the pixel of interest, and the target when the smoothed signal of the pixel is equal to or less than a predetermined second threshold value, the target pixel is identified as a flat portion, the edge signal is less than the first threshold value of the pixel of interest, and the pixel of interest the smoothed signal is greater than said second threshold, and if the image change signal of the pixel of interest is less than a predetermined third threshold value, the target pixel is identified as an edge peripheral portion, wherein The edge signal of the pixel of interest is less than the first threshold, the smoothed signal of the pixel of interest is greater than the second threshold, and the image change signal of the pixel of interest is greater than or equal to the third threshold. If the Program element is to execute a process including the identification identifying as a texture unit to the computer.
JP2003133382A 2003-05-12 2003-05-12 Signal processing apparatus, signal processing method, and program Expired - Fee Related JP4392582B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003133382A JP4392582B2 (en) 2003-05-12 2003-05-12 Signal processing apparatus, signal processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003133382A JP4392582B2 (en) 2003-05-12 2003-05-12 Signal processing apparatus, signal processing method, and program

Publications (2)

Publication Number Publication Date
JP2004336652A JP2004336652A (en) 2004-11-25
JP4392582B2 true JP4392582B2 (en) 2010-01-06

Family

ID=33507937

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003133382A Expired - Fee Related JP4392582B2 (en) 2003-05-12 2003-05-12 Signal processing apparatus, signal processing method, and program

Country Status (1)

Country Link
JP (1) JP4392582B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100746744B1 (en) * 2005-11-28 2007-08-06 삼성전자주식회사 Image detail enhancement method and device
JP2007288761A (en) * 2006-03-20 2007-11-01 Sony Corp Image distribution system, image processing apparatus and method, distribution apparatus and method, and program
WO2009144768A1 (en) * 2008-05-30 2009-12-03 富士通株式会社 Image correction device and image correction method
JP5223702B2 (en) 2008-07-29 2013-06-26 株式会社リコー Image processing apparatus, noise reduction method, program, and storage medium
JP5180911B2 (en) * 2009-06-01 2013-04-10 キヤノン株式会社 Noise removal control device and noise removal control method
US9514515B2 (en) * 2013-03-08 2016-12-06 Sharp Kabushiki Kaisha Image processing device, image processing method, image processing program, and image display device
JP6188448B2 (en) 2013-06-26 2017-08-30 オリンパス株式会社 Image processing device
US9639771B2 (en) 2013-09-06 2017-05-02 Sharp Kabushiki Kaisha Image processing device

Also Published As

Publication number Publication date
JP2004336652A (en) 2004-11-25

Similar Documents

Publication Publication Date Title
JP5839631B2 (en) Block noise detection method
JP5075861B2 (en) Image processing apparatus and image processing method
JP4887544B2 (en) How to remove noise from video data
JP4145665B2 (en) Image processing apparatus and image processing method
JP4635779B2 (en) Data processing apparatus, data processing method, and program
JPH06348842A (en) Noise reducing filter
US20070286515A1 (en) Method and apparatus for removing false contours
JP4539027B2 (en) Signal processing apparatus, signal processing method, and program
KR101766536B1 (en) Method and apparatus of image denoising using multi-scale block region detection
US20130022288A1 (en) Image processing apparatus and method for reducing edge-induced artefacts
WO2002102086A2 (en) Apparatus and method for adaptive spatial segmentation-based noise reducing for encoded image signal
US7742652B2 (en) Methods and systems for image noise processing
JP2003018403A (en) Image processing device
JP4392582B2 (en) Signal processing apparatus, signal processing method, and program
CN112215764A (en) An Image Processing Method Based on Improved Algorithm of Median Filtering
US7295715B2 (en) Apparatus and method for detecting frequency
CN111429383B (en) Image noise reduction method and device and computer readable storage medium
JP2005117449A (en) Mosquito noise reducer, mosquito noise reducing method, and program for reducing mosquito noise
JP2002208006A (en) Image noise reduction method
JP2009253341A (en) Signal processing device, method, and program
JP2008293424A (en) Noise removal device, program, and method
JP2002247412A (en) Video signal noise reduction method
RU2411584C2 (en) Method of adaptive smoothing to suppress screen-type pattern of images
Pirsiavash et al. An efficient parameter selection criterion for image denoising
Ali et al. A proposed de-noising algorithm

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060509

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080502

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080515

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080714

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090709

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090828

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090917

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

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

Free format text: PAYMENT UNTIL: 20121023

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees