JP2011114642A - Noise eliminating device and noise elimination method - Google Patents

Noise eliminating device and noise elimination method Download PDF

Info

Publication number
JP2011114642A
JP2011114642A JP2009269931A JP2009269931A JP2011114642A JP 2011114642 A JP2011114642 A JP 2011114642A JP 2009269931 A JP2009269931 A JP 2009269931A JP 2009269931 A JP2009269931 A JP 2009269931A JP 2011114642 A JP2011114642 A JP 2011114642A
Authority
JP
Japan
Prior art keywords
pixel
correlation degree
correlation
processing
calculated
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.)
Granted
Application number
JP2009269931A
Other languages
Japanese (ja)
Other versions
JP5289288B2 (en
JP2011114642A5 (en
Inventor
Masaji Tamura
正司 田村
Narihiro Matoba
成浩 的場
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2009269931A priority Critical patent/JP5289288B2/en
Publication of JP2011114642A publication Critical patent/JP2011114642A/en
Publication of JP2011114642A5 publication Critical patent/JP2011114642A5/ja
Application granted granted Critical
Publication of JP5289288B2 publication Critical patent/JP5289288B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Picture Signal Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To eliminate noise of middle and low frequencies by real time processing without increasing the size of circuits. <P>SOLUTION: The noise elimination device is provided with: a filter coefficient calculation part 5 which calculates a filter coefficient f<SB>xy</SB>of each reference pixel P<SB>xy</SB>; a correlation Γ calculation part 6 which calculates correlation Γ of a pixel P<SB>22</SB>for processing; and a correlation holding part 7 which stores the correlation Γ of the pixel P<SB>22</SB>for processing calculated this time by the correlation Γ calculation part 6 and further outputs correlation Γ<SB>-1</SB>of the pixel P<SB>22</SB>to be processed, which is calculated in the previous time and already stored, wherein a filter processing part 8 performs filter processing to the pixel P<SB>22</SB>by using the pixel P<SB>22</SB>, a signal level of each reference pixel P<SB>xy</SB>, the filter coefficient f<SB>xy</SB>of each reference pixel P<SB>xy</SB>, and the correlation Γ<SB>-1</SB>of the pixel P<SB>22</SB>. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

この発明は、画像入力系あるいは画像伝送系で混入するノイズを除去するノイズ除去装置及びノイズ除去方法に関するものである。   The present invention relates to a noise removal apparatus and a noise removal method for removing noise mixed in an image input system or an image transmission system.

例えば、CCDなどの撮像素子を備えているディジタルカメラやイメージスキャナなどの画像入力装置や、画像入力装置により入力された画像を表示又は印刷するディスプレイやカラープリンタなどの画像出力装置では、画像入力系あるいは画像伝送系で混入するノイズを除去する画像処理を装置内で行うのが一般的である。
ここでは、画像入出力装置であるディジタルカメラが、混入したノイズを除去する一般的な方法について説明する。
For example, in an image input device such as a digital camera or an image scanner provided with an image sensor such as a CCD, an image output device such as a display or a color printer that displays or prints an image input by the image input device, an image input system Alternatively, image processing for removing noise mixed in the image transmission system is generally performed in the apparatus.
Here, a general method for removing mixed noise by a digital camera as an image input / output device will be described.

ノイズを除去する最も平易で一般的な方法は、ノイズ除去の処理対象である画素(以下、「注目画素」と称する)を中心に含む複数の周辺画素からなる画素ウィンドウを用意し、その画素ウィンドウ内の各周辺画素の信号レベル値と注目画素の信号レベル値とを重み付けして畳み込み演算することによって、ローパスフィルタをかける方法である。
しかしながら、この方法を実施する場合、ノイズ以外の画像に存在している有意なエッジに対しても、一律にローパスフィルタをかけることになるため、画像の解像度が低下することがある。
The simplest and most general method for removing noise is to prepare a pixel window composed of a plurality of peripheral pixels mainly including a pixel to be processed for noise removal (hereinafter referred to as “target pixel”). This is a method of applying a low pass filter by weighting the signal level value of each peripheral pixel and the signal level value of the pixel of interest and performing a convolution operation.
However, when this method is performed, the low-pass filter is uniformly applied to significant edges existing in an image other than noise, so that the resolution of the image may be lowered.

また、注目画素を中心とする画素ウィンドウを用意して、PrewittやSobelなどのオペレータを適用することでエッジを検出し、処理対象画素が画像中の有意なエッジであると判断される場合には、ローパスフィルタの強度を弱めてフィルタ処理を実施する。あるいは、周辺に存在するエッジを構成する画素を避ける方向性をローパスフィルタに持たせてフィルタ処理を実施することで、画像の解像度低下を抑えながらノイズを除去する方法が提案されている。
しかしながら、画像入出力装置において、上記の方法でノイズを除去する場合、孤立点のような高周波ノイズを低減することは可能であるが、中低周波ノイズを低減するためには、非常に大きな画素サイズの画素ウィンドウを用意して、ローパスフィルタをかける必要がある。
In addition, when a pixel window centered on the target pixel is prepared and an edge is detected by applying an operator such as Prewitt or Sobel, and it is determined that the pixel to be processed is a significant edge in the image The filter processing is performed with the low-pass filter strength reduced. Alternatively, a method has been proposed in which noise is removed while suppressing a decrease in the resolution of an image by providing a low-pass filter with a directivity that avoids pixels constituting edges existing in the vicinity, and performing filter processing.
However, in the image input / output device, when noise is removed by the above method, it is possible to reduce high-frequency noise such as an isolated point, but in order to reduce medium-low frequency noise, a very large pixel It is necessary to prepare a size pixel window and apply a low-pass filter.

そこで、以下の特許文献1には、入力画像を段階的に縮小し、各段階の入力画像に対してフィルタ処理を行うことで、非常に大きな画素ウィンドウを用意することなく、周波数成分毎のノイズを低減する方法が開示されている。
しかしながら、この方法では、段階的な縮小画像を生成する画像生成処理と、複数の縮小画像に対するフィルタ処理とを行う必要があるため、実時間処理が困難である。
困難な実時間処理を達成するためには、段階的な縮小画像を生成する画像生成処理と、縮小画像数分のフィルタ処理と並列に行える電子回路を備える必要があり、回路規模が増大することになる。
Therefore, Patent Document 1 below reduces noise for each frequency component without preparing a very large pixel window by reducing the input image in stages and performing filter processing on the input image at each stage. A method for reducing the above is disclosed.
However, in this method, real-time processing is difficult because it is necessary to perform image generation processing for generating a reduced image in stages and filter processing for a plurality of reduced images.
In order to achieve difficult real-time processing, it is necessary to provide an electronic circuit that can perform image generation processing for generating step-by-step reduced images and filter processing for the number of reduced images, which increases the circuit scale. become.

国際公開第06/106919号(段落番号[0008])International Publication No. 06/106919 (paragraph number [0008])

従来のノイズ除去方法は以上のように構成されているので、段階的な縮小画像を生成する画像生成処理と、縮小画像数分のフィルタ処理と並列に行える電子回路を備えれば、非常に大きな画素ウィンドウを用意することなく、実時間処理で、周波数成分毎のノイズを低減することができるが、回路規模が増大してしまうなどの課題があった。   Since the conventional noise removal method is configured as described above, it is very large if an image generation process for generating a step-by-step reduced image and an electronic circuit that can be performed in parallel with the filter process for the number of reduced images are provided. Noise for each frequency component can be reduced by real-time processing without preparing a pixel window, but there is a problem that the circuit scale increases.

この発明は上記のような課題を解決するためになされたもので、回路規模の増大を招くことなく、実時間処理で、中低周波のノイズを除去することができるノイズ除去装置及びノイズ除去方法を得ることを目的とする。   The present invention has been made to solve the above-described problems, and a noise removing apparatus and a noise removing method capable of removing medium and low frequency noise by real-time processing without causing an increase in circuit scale. The purpose is to obtain.

この発明に係るノイズ除去装置は、画素ウィンドウの中心に存在している処理対象画素と各参照画素との信号レベル差を算出し、その信号レベル差から処理対象画素と各参照画素間の相関度を算出する第1の相関度算出手段と、処理対象画素と各参照画素との距離を算出し、その距離から処理対象画素と各参照画素間の相関度を算出する第2の相関度算出手段と、第1の相関度算出手段により算出された相関度と第2の相関度算出手段により算出された相関度から各参照画素のフィルタ係数を算出するフィルタ係数算出手段と、第1の相関度算出手段により算出された相関度と第2の相関度算出手段により算出された相関度から処理対象画素の相関度を算出する第3の相関度算出手段と、第3の相関度算出手段により今回算出された処理対象画素の相関度を記憶する一方、第3の相関度算出手段により前回算出されて既に記憶している処理対象画素の相関度を出力する相関度記憶手段とを設け、フィルタ処理手段が処理対象画素及び各参照画素の信号レベル、フィルタ係数算出手段により算出された各参照画素のフィルタ係数及び相関度記憶手段から出力された処理対象画素の相関度を用いて、処理対象画素に重畳されているノイズを除去するフィルタ処理を実施するようにしたものである。   The noise removal device according to the present invention calculates a signal level difference between a processing target pixel existing at the center of a pixel window and each reference pixel, and a correlation degree between the processing target pixel and each reference pixel from the signal level difference. A first correlation degree calculating unit that calculates a distance between the processing target pixel and each reference pixel, and a second correlation degree calculating unit that calculates a correlation degree between the processing target pixel and each reference pixel from the distance. A filter coefficient calculating means for calculating a filter coefficient of each reference pixel from the correlation degree calculated by the first correlation degree calculating means and the correlation degree calculated by the second correlation degree calculating means, and the first correlation degree The third correlation degree calculation means for calculating the correlation degree of the processing target pixel from the correlation degree calculated by the calculation means and the correlation degree calculated by the second correlation degree calculation means, and the third correlation degree calculation means this time Calculated processing target A correlation degree storage unit that outputs a correlation degree of a processing target pixel that has been previously calculated by the third correlation degree calculation unit and that has already been stored. And noise superimposed on the processing target pixel using the signal level of each reference pixel, the filter coefficient of each reference pixel calculated by the filter coefficient calculation means, and the correlation degree of the processing target pixel output from the correlation degree storage means In this case, a filtering process is performed to remove.

この発明によれば、画素ウィンドウの中心に存在している処理対象画素と各参照画素との信号レベル差を算出し、その信号レベル差から処理対象画素と各参照画素間の相関度を算出する第1の相関度算出手段と、処理対象画素と各参照画素との距離を算出し、その距離から処理対象画素と各参照画素間の相関度を算出する第2の相関度算出手段と、第1の相関度算出手段により算出された相関度と第2の相関度算出手段により算出された相関度から各参照画素のフィルタ係数を算出するフィルタ係数算出手段と、第1の相関度算出手段により算出された相関度と第2の相関度算出手段により算出された相関度から処理対象画素の相関度を算出する第3の相関度算出手段と、第3の相関度算出手段により今回算出された処理対象画素の相関度を記憶する一方、第3の相関度算出手段により前回算出されて既に記憶している処理対象画素の相関度を出力する相関度記憶手段とを設け、フィルタ処理手段が処理対象画素及び各参照画素の信号レベル、フィルタ係数算出手段により算出された各参照画素のフィルタ係数及び相関度記憶手段から出力された処理対象画素の相関度を用いて、処理対象画素に重畳されているノイズを除去するフィルタ処理を実施するように構成したので、回路規模の増大を招くことなく、実時間処理で、中低周波のノイズを除去することができる効果がある。   According to the present invention, the signal level difference between the processing target pixel existing in the center of the pixel window and each reference pixel is calculated, and the degree of correlation between the processing target pixel and each reference pixel is calculated from the signal level difference. A first correlation degree calculating means, a second correlation degree calculating means for calculating a distance between the processing target pixel and each reference pixel and calculating a correlation degree between the processing target pixel and each reference pixel from the distance; A filter coefficient calculating means for calculating a filter coefficient of each reference pixel from the correlation degree calculated by the first correlation degree calculating means and the correlation degree calculated by the second correlation degree calculating means; and the first correlation degree calculating means. The third correlation degree calculating means for calculating the correlation degree of the pixel to be processed from the calculated correlation degree and the correlation degree calculated by the second correlation degree calculating means, and the third correlation degree calculating means calculated this time. The correlation of the pixel to be processed On the other hand, there is provided correlation degree storage means for outputting the degree of correlation of the pixel to be processed that has been previously calculated and stored by the third correlation degree calculation means, and the filter processing means is provided for the processing target pixel and each reference pixel. Filter processing for removing noise superimposed on the processing target pixel using the signal level, the filter coefficient of each reference pixel calculated by the filter coefficient calculation means, and the correlation degree of the processing target pixel output from the correlation degree storage means Therefore, there is an effect that it is possible to remove medium and low frequency noise by real time processing without increasing the circuit scale.

この発明の実施の形態1によるノイズ除去装置を示す構成図である。It is a block diagram which shows the noise removal apparatus by Embodiment 1 of this invention. この発明の実施の形態1によるノイズ除去装置の処理内容(ノイズ除去方法)を示すフローチャートである。It is a flowchart which shows the processing content (noise removal method) of the noise removal apparatus by Embodiment 1 of this invention. 5×5画素からなる画素ウィンドウを示す説明図である。It is explanatory drawing which shows the pixel window which consists of 5x5 pixels. 信号レベル差ΔPxyに対する相関度特性が記録されているルックアップテーブルの一例を示す説明図である。It is explanatory drawing which shows an example of the look-up table in which the correlation characteristic with respect to signal level difference (DELTA) Pxy is recorded. 距離Dxyに対する相関度特性が記録されているルックアップテーブルの一例を示す説明図である。It is explanatory drawing which shows an example of the look-up table in which the correlation characteristic with respect to distance Dxy is recorded. 相関度γxyに対するフィルタ係数特性が記録されているルックアップテーブルの一例を示す説明図である。It is explanatory drawing which shows an example of the look-up table in which the filter coefficient characteristic with respect to correlation degree (gamma) xy is recorded. この発明の実施の形態2によるノイズ除去装置を示す構成図である。It is a block diagram which shows the noise removal apparatus by Embodiment 2 of this invention. 3×3画素、5×5画素、7×7画素からなる画素ウィンドウを示す説明図である。It is explanatory drawing which shows the pixel window which consists of 3x3 pixel, 5x5 pixel, and 7x7 pixel. この発明の実施の形態3によるノイズ除去装置を示す構成図である。It is a block diagram which shows the noise removal apparatus by Embodiment 3 of this invention. この発明の実施の形態4によるノイズ除去装置が使用する画素ウィンドウの一例を示す説明図である。It is explanatory drawing which shows an example of the pixel window which the noise removal apparatus by Embodiment 4 of this invention uses. この発明の実施の形態4によるノイズ除去装置が使用する画素ウィンドウの変形例を示す説明図である。It is explanatory drawing which shows the modification of the pixel window which the noise removal apparatus by Embodiment 4 of this invention uses. 相関度保持部7により記憶されている相関度Γ11,Γ12,Γ13,Γ21,Γ22を示す説明図である。It is explanatory drawing which shows correlation degree (GAMMA) 11 , (GAMMA) 12 , (GAMMA) 13 , (GAMMA) 21 , (GAMMA) 22 memorize | stored by the correlation degree holding | maintenance part 7. FIG.

実施の形態1.
図1はこの発明の実施の形態1によるノイズ除去装置を示す構成図である。
図1において、信号レベル差算出部1は2次元画像を構成している複数の画素の画素値(信号レベル)を示す2次元画像データを入力すると、M×N画素(例えば、5×5画素)からなる画素ウィンドウを2次元画像上に形成し、その画素ウィンドウの中心に存在している処理対象画素(例えば、図3に示すように、画素ウィンドウが5×5画素から構成されている場合、処理対象画素はP22)と、その処理対象画素P22の周辺に存在している画素ウィンドウ内の各参照画素Pxy(5×5画素からなる画素ウィンドウであれば、0≦x≦4、0≦y≦4)との信号レベル差ΔPxyを算出する処理を実施する。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a noise removing apparatus according to Embodiment 1 of the present invention.
In FIG. 1, when a signal level difference calculation unit 1 inputs two-dimensional image data indicating pixel values (signal levels) of a plurality of pixels constituting a two-dimensional image, M × N pixels (for example, 5 × 5 pixels). ) Is formed on a two-dimensional image, and the pixel to be processed existing in the center of the pixel window (for example, as shown in FIG. 3, the pixel window is composed of 5 × 5 pixels). , The processing target pixel is P 22 ), and each reference pixel P xy (5 × 5 pixel window in a pixel window existing around the processing target pixel P 22 is 0 ≦ x ≦ 4. , 0 ≦ y ≦ 4), a process of calculating a signal level difference ΔP xy is performed.

相関度α算出部2は例えば信号レベル差ΔPxyに対する相関度特性が記録されている図4のルックアップテーブルを参照することにより、信号レベル差算出部1により算出された処理対象画素P22と各参照画素Pxyとの信号レベル差ΔPxyから、処理対象画素P22と各参照画素Pxy間の相関度αxyを算出する処理を実施する。
なお、信号レベル差算出部1及び相関度α算出部2から第1の相関度算出手段が構成されている。
For example, the correlation degree α calculation unit 2 refers to the processing target pixel P 22 calculated by the signal level difference calculation unit 1 by referring to the lookup table of FIG. 4 in which the correlation characteristic with respect to the signal level difference ΔP xy is recorded. from the signal level difference [Delta] P xy and the reference pixels P xy, carries out a process of calculating the target pixel P 22 the correlation alpha xy among the reference pixels P xy.
The signal level difference calculation unit 1 and the correlation level α calculation unit 2 constitute a first correlation level calculation unit.

画素間距離算出部3は画素ウィンドウ内の処理対象画素P22と各参照画素Pxyとの距離Dxyを算出する処理を実施する。
相関度β算出部4は例えば距離Dxyに対する相関度特性が記録されている図5のルックアップテーブルを参照することにより、画素間距離算出部3により算出された距離Dxyから、処理対象画素P22と各参照画素Pxy間の相関度βxyを算出する処理を実施する。
なお、画素間距離算出部3及び相関度β算出部4から第2の相関度算出手段が構成されている。
The inter-pixel distance calculation unit 3 performs a process of calculating a distance D xy between the processing target pixel P 22 and each reference pixel P xy in the pixel window.
The correlation degree β calculation unit 4 refers to, for example, the pixel D to be processed from the distance D xy calculated by the inter-pixel distance calculation unit 3 by referring to the lookup table in FIG. 5 in which the correlation characteristic with respect to the distance D xy is recorded. A process of calculating the correlation degree β xy between P 22 and each reference pixel P xy is performed.
The inter-pixel distance calculation unit 3 and the correlation degree β calculation unit 4 constitute a second correlation degree calculation unit.

フィルタ係数算出部5は相関度α算出部2により算出された相関度αxyと相関度β算出部4により算出された相関度βxyから、各参照画素Pxyにおける相関度γxyを算出し(あるいは、相関度Γ算出部6により算出された相関度γxyを取得する)、例えば、相関度γxyに対するフィルタ係数特性が記録されている図6のルックアップテーブルを参照することにより、各参照画素Pxyにおける相関度γxyから各参照画素Pxyのフィルタ係数fxyを算出する処理を実施する。なお、フィルタ係数算出部5はフィルタ係数算出手段を構成している。 Filter coefficient calculating unit 5 from the xy correlation β calculated as the calculated correlation alpha xy by correlation β calculating unit 4 by correlation alpha calculator 2 calculates a correlation degree gamma xy in the reference pixels P xy (Alternatively, the correlation degree γ xy calculated by the correlation degree Γ calculation unit 6 is acquired), for example, by referring to the look-up table in FIG. 6 in which the filter coefficient characteristic for the correlation degree γ xy is recorded. implementing the xy correlation degree γ in the reference pixel P xy processing for calculating the filter coefficients f xy of the reference pixels P xy. The filter coefficient calculation unit 5 constitutes a filter coefficient calculation unit.

相関度Γ算出部6は相関度α算出部2により算出された相関度αxyと相関度β算出部4により算出された相関度βxyから、各参照画素Pxyにおける相関度γxyを算出し(あるいは、フィルタ係数算出部5により算出された相関度γxyを取得する)、その相関度γxyと相関度保持部7により記憶されている処理対象画素P22の相関度Γ−1(相関度Γ算出部6により前回算出された処理対象画素P22の相関度Γ−1)から、処理対象画素P22の相関度Γを算出する処理を実施する。なお、相関度Γ算出部6は第3の相関度算出手段を構成している。
相関度保持部7はメモリなどの記録媒体等から構成されており、相関度Γ算出部6により今回算出された処理対象画素P22の相関度Γを記憶する一方、相関度Γ算出部6により前回算出されて既に記憶している処理対象画素P22の相関度Γ−1を出力する処理を実施する。なお、相関度保持部7は相関度記憶手段を構成している。
The correlation Γ calculator 6 xy correlation β calculated as the calculated correlation alpha xy by correlation β calculating unit 4 by correlation alpha calculator 2, calculates a correlation degree gamma xy in the reference pixels P xy (Or the degree of correlation γ xy calculated by the filter coefficient calculation unit 5 is acquired), and the degree of correlation Γ −1 of the processing target pixel P 22 stored by the degree of correlation γ xy and the degree of correlation holding unit 7 ( from the correlation gamma calculation unit 6 correlation gamma -1 of the target pixel P 22 calculated the last time), and carries out a process of calculating a correlation degree gamma of the target pixel P 22. The correlation degree Γ calculation unit 6 constitutes third correlation degree calculation means.
The correlation degree holding unit 7 includes a recording medium such as a memory, and stores the correlation degree Γ of the processing target pixel P 22 calculated this time by the correlation degree Γ calculation unit 6, while the correlation degree Γ calculation unit 6 stores the correlation degree Γ. A process of outputting the correlation degree Γ −1 of the processing target pixel P 22 that has been calculated and stored previously is performed. The correlation degree holding unit 7 constitutes a correlation degree storage unit.

フィルタ処理部8は処理対象画素P22及び各参照画素Pxyの信号レベル、フィルタ係数算出部5により算出された各参照画素Pxyのフィルタ係数fxy及び相関度保持部7から出力された処理対象画素P22の相関度Γ−1を用いて、処理対象画素P22に重畳されているノイズを除去するフィルタ処理を実施し、ノイズ除去後の処理対象画素P22’を出力する。なお、フィルタ処理部8はフィルタ処理手段を構成している。 The filter processing unit 8 processes the signal level of the processing target pixel P 22 and each reference pixel P xy , the filter coefficient f xy of each reference pixel P xy calculated by the filter coefficient calculation unit 5, and the processing output from the correlation degree holding unit 7. using correlation gamma -1 of the target pixel P 22, the filter processing for removing noise superimposed on the processing target pixel P 22 is performed, and outputs the processing target pixel P 22 after the noise removal '. The filter processing unit 8 constitutes a filter processing means.

図1では、ノイズ除去装置の構成要素である信号レベル差算出部1、相関度α算出部2、画素間距離算出部3、相関度β算出部4、フィルタ係数算出部5、相関度Γ算出部6、相関度保持部7及びフィルタ処理部8のそれぞれが専用のハードウェア(例えば、CPUを実装している半導体集積回路やワンチップマイコン)で構成されているものを想定しているが、ノイズ除去装置がコンピュータで構成される場合、信号レベル差算出部1、相関度α算出部2、画素間距離算出部3、相関度β算出部4、フィルタ係数算出部5、相関度Γ算出部6、相関度保持部7及びフィルタ処理部8の処理内容を記述しているプログラムをコンピュータのメモリに格納し、当該コンピュータのCPUが当該メモリに格納されているプログラムを実行するようにしてもよい。
図2はこの発明の実施の形態1によるノイズ除去装置の処理内容(ノイズ除去方法)を示すフローチャートである。
In FIG. 1, the signal level difference calculation unit 1, the correlation degree α calculation unit 2, the inter-pixel distance calculation unit 3, the correlation degree β calculation unit 4, the filter coefficient calculation unit 5, and the correlation degree Γ calculation, which are components of the noise removal apparatus. It is assumed that each of the unit 6, the correlation degree holding unit 7, and the filter processing unit 8 is configured by dedicated hardware (for example, a semiconductor integrated circuit or a one-chip microcomputer in which a CPU is mounted) When the noise removal device is configured by a computer, the signal level difference calculation unit 1, the correlation degree α calculation unit 2, the inter-pixel distance calculation unit 3, the correlation degree β calculation unit 4, the filter coefficient calculation unit 5, and the correlation degree Γ calculation unit 6. A program describing the processing contents of the correlation degree holding unit 7 and the filter processing unit 8 is stored in the memory of a computer, and the CPU of the computer executes the program stored in the memory. It may be.
FIG. 2 is a flowchart showing the processing contents (noise removal method) of the noise removal apparatus according to Embodiment 1 of the present invention.

次に動作について説明する。
信号レベル差算出部1は、2次元画像を構成している複数の画素の画素値(信号レベル)を示す2次元画像データを入力すると、M×N画素の画素ウィンドウを2次元画像上に形成する。
ここでは、説明の便宜上、図3に示すような5×5画素からなる画素ウィンドウを2次元画像上に形成するものとする。
図3の例では、画素ウィンドウの中心に存在している画素P22が処理対象画素であり、処理対象画素P22の周辺に存在している画素ウィンドウ内の画素Pxy(0≦x≦4、0≦y≦4)が参照画素である。ただし、この例では、処理対象画素P22は、参照画素Pxyにも該当する。
Next, the operation will be described.
When the signal level difference calculation unit 1 receives two-dimensional image data indicating pixel values (signal levels) of a plurality of pixels constituting a two-dimensional image, an M × N pixel window is formed on the two-dimensional image. To do.
Here, for convenience of description, it is assumed that a pixel window composed of 5 × 5 pixels as shown in FIG. 3 is formed on a two-dimensional image.
In the example of FIG. 3, the pixel P 22 existing in the center of the pixel window is the processing target pixel, and the pixel P xy (0 ≦ x ≦ 4) in the pixel window existing around the processing target pixel P 22. , 0 ≦ y ≦ 4) is a reference pixel. However, in this example, the processing target pixel P 22 also corresponds with the reference pixel P xy.

なお、画素ウィンドウは、例えば、最初に2次元画像の左上に形成されて、後述するフィルタ処理が実施される。
その後、画素ウィンドウは、水平右方向にずらされながら、フィルタ処理が繰り返され、1ライン分のフィルタ処理が完了すると、垂直下方向にずらされて、全ラインのフィルタ処理が完了するまで、同様のフィルタ処理が繰り返される。
Note that the pixel window is first formed at the upper left of the two-dimensional image, for example, and a filter process described later is performed.
Thereafter, the pixel window is shifted in the horizontal right direction, and the filtering process is repeated. When the filtering process for one line is completed, the pixel window is shifted in the vertical downward direction until the filtering process for all lines is completed. The filtering process is repeated.

信号レベル差算出部1は、画素ウィンドウを2次元画像上に形成すると、下記の式(1)に示すように、画素ウィンドウ内の処理対象画素P22と各参照画素Pxyとの信号レベル差ΔPxyを算出する(図2のステップST1)。
ΔPxy=|P22−Pxy| (1)
ただし、式(1)において、P22は処理対象画素の信号レベル(画素値)を示し、Pxyは参照画素の信号レベル(画素値)を示しているものとする。
また、|X|はXの絶対値を示す数学記号である。
When the signal level difference calculation unit 1 forms the pixel window on the two-dimensional image, the signal level difference between the processing target pixel P 22 in the pixel window and each reference pixel P xy as shown in the following equation (1). ΔP xy is calculated (step ST1 in FIG. 2).
ΔP xy = | P 22 −P xy | (1)
However, in the formula (1), P 22 represents the signal level of the target pixel (pixel value), P xy is assumed to show the signal level of the reference pixel (pixel value).
| X | is a mathematical symbol indicating the absolute value of X.

相関度α算出部2は、信号レベル差算出部1が処理対象画素P22と各参照画素Pxyとの信号レベル差ΔPxyを算出すると、例えば、信号レベル差ΔPxyに対する相関度特性が記録されている図4のルックアップテーブルを参照することにより、その信号レベル差ΔPxyから、処理対象画素P22と各参照画素Pxy間の相関度αxyを算出する(ステップST2)。
ただし、図4では、信号レベル差ΔPxyの値が0〜255の範囲である例を示しており、信号レベル差ΔPxyの値が大きくなると、相関度αxyが急激に低下する相関度特性が記録されている。
なお、信号レベル差ΔPxy=0のとき、相関度αxyが最大の“1”になり、信号レベル差ΔPxy=255のとき、相関度αxyが最小の“0”になる。
このように、信号レベル差ΔPxyの値が大きくなると、相関度αxyが急激に低下するように設定することで、微妙な階調差の信号も、ローパスフィルタで消してしまわないように解像度を調整することが可能になる。
When the signal level difference calculation unit 1 calculates the signal level difference ΔP xy between the processing target pixel P 22 and each reference pixel P xy , for example, the correlation degree α calculation unit 2 records the correlation characteristic with respect to the signal level difference ΔP xy . by referring to it are look-up table of Figure 4 which are, from the signal level difference [Delta] P xy, calculates the processing target pixel P 22 the correlation alpha xy among the reference pixels P xy (step ST2).
However, FIG. 4 shows an example in which the value of the signal level difference ΔP xy is in the range of 0 to 255, and the correlation degree characteristic that the correlation degree α xy rapidly decreases as the value of the signal level difference ΔP xy increases. Is recorded.
When the signal level difference ΔP xy = 0, the correlation degree α xy is “1” at the maximum, and when the signal level difference ΔP xy = 255, the correlation degree α xy is the minimum “0”.
In this way, when the value of the signal level difference ΔP xy increases, the resolution α xy is set so that the correlation degree α xy rapidly decreases, so that a signal with a subtle gradation difference is not erased by the low-pass filter. Can be adjusted.

画素間距離算出部3は、2次元画像データを入力すると、画素ウィンドウ内の処理対象画素P22と各参照画素Pxyとの距離Dxyを算出する(ステップST3)。
例えば、2次元画像における隣り合う画素間の距離が“1”であるとすると、処理対象画素P22と各参照画素Pxyとの距離Dxyは下記のようになる。
・D12,D21,D23,D32 → 1
・D11,D13,D31,D33 → (1+11/2=√2
・D02,D20,D24,D42 → 2
・D01,D03,D41,D43 → (1+21/2=√5
・D10,D14,D30,D34 → (2+11/2=√5
・D00,D04,D40,D44 → (2+21/2=2√2
When the two-dimensional image data is input, the inter-pixel distance calculation unit 3 calculates the distance D xy between the processing target pixel P 22 and each reference pixel P xy in the pixel window (step ST3).
For example, if the distance between adjacent pixels in the two-dimensional image is “1”, the distance D xy between the processing target pixel P 22 and each reference pixel P xy is as follows.
· D 12, D 21, D 23, D 32 → 1
D 11 , D 13 , D 31 , D 33 → (1 2 +1 2 ) 1/2 = √2
・ D 02 , D 20 , D 24 , D 42 → 2
D 01 , D 03 , D 41 , D 43 → (1 2 +2 2 ) 1/2 = √5
D 10 , D 14 , D 30 , D 34 → (2 2 +1 2 ) 1/2 = √5
D 00 , D 04 , D 40 , D 44 → (2 2 +2 2 ) 1/2 = 2√2

相関度β算出部4は、画素間距離算出部3が処理対象画素P22と各参照画素Pxyとの距離Dxyを算出すると、例えば、距離Dxyに対する相関度特性が記録されている図5のルックアップテーブルを参照することにより、その距離Dxyから、処理対象画素P22と各参照画素Pxy間の相関度βxyを算出する(ステップST4)。
ただし、図5では、距離Dxyの値が0〜3の範囲である例を示しており、距離Dxyの値が大きくなると、相関度βxyが徐々に低下する相関度特性が記録されている。
このように、距離Dxyの値が大きくなると、相関度βxyが徐々に低下することで、図3の画素ウィンドウのサイズを大きくする場合と同様に、より低周波のノイズを除去することが可能になる。
The correlation β calculation unit 4 is a diagram in which, for example, a correlation characteristic with respect to the distance D xy is recorded when the inter-pixel distance calculation unit 3 calculates the distance D xy between the processing target pixel P 22 and each reference pixel P xy . by referring to the 5 look-up table, from the distance D xy, it calculates the processing target pixel P 22 the correlation beta xy among the reference pixels P xy (step ST4).
However, FIG. 5 shows an example in which the value of the distance D xy is in the range of 0 to 3. As the value of the distance D xy increases, a correlation degree characteristic in which the degree of correlation β xy gradually decreases is recorded. Yes.
As described above, when the value of the distance D xy increases, the correlation β xy gradually decreases, so that the low-frequency noise can be removed as in the case of increasing the size of the pixel window in FIG. It becomes possible.

フィルタ係数算出部5は、相関度α算出部2が相関度αxyを算出し、相関度β算出部4が相関度βxyを算出すると、例えば、下記の式(2)に示すような相関度αxyと相関度βxyの重み加算を行うことで、各参照画素Pxyにおける相関度γxyを算出する。
γxy=A×αxy+B×βxy (2)
A+B=1
ただし、A,Bは相関度αxy,βxyに対する加重係数(0≦A≦1、0≦B≦1)である。
When the correlation degree α calculation unit 2 calculates the correlation degree α xy and the correlation degree β calculation unit 4 calculates the correlation degree β xy , for example, the correlation coefficient as shown in the following equation (2) is obtained. by performing the degree alpha xy correlation degree beta xy weights sum to calculate a correlation gamma xy in the reference pixels P xy.
γ xy = A × α xy + B × β xy (2)
A + B = 1
However, A and B are weighting coefficients (0 ≦ A ≦ 1, 0 ≦ B ≦ 1) for the correlation degrees α xy and β xy .

フィルタ係数算出部5は、各参照画素Pxyにおける相関度γxyを算出すると、例えば、相関度γxyに対するフィルタ係数特性が記録されている図6のルックアップテーブルを参照することにより、各参照画素Pxyにおける相関度γxyから各参照画素Pxyのフィルタ係数fxyを算出する(ステップST5)。
ただし、図6では、相関度γxyの値が0〜1の範囲である例を示しており、相関度γxyの値が大きくなると、フィルタ係数fxyが徐々に低下するフィルタ係数特性が記録されている。
なお、相関度γxy=0のとき、フィルタ係数fxyが最大の“255”になり、相関度γxy=1のとき、フィルタ係数fxyが最小の“0”になる。
このように、相関度γxyの値に応じて、フィルタ係数fxyを設定することで、ノイズの周波数特性が変化しても対処することが可能になる。
フィルタ係数fxyは、画素ウィンドウ内の全画素Pxyについて算出される。
Filter coefficient calculating unit 5 calculating the xy correlation gamma in the reference pixels P xy, for example, by referring to the look-up table of Figure 6 in which the filter coefficient characteristics are recorded for correlation gamma xy, each reference It calculates the filter coefficients f xy of the reference pixels P xy from xy correlation γ in the pixel P xy (step ST5).
However, FIG. 6 shows an example in which the value of the correlation degree γ xy is in the range of 0 to 1, and the filter coefficient characteristic in which the filter coefficient f xy gradually decreases as the value of the correlation degree γ xy increases is recorded. Has been.
When the correlation degree γ xy = 0, the filter coefficient f xy becomes the maximum “255”, and when the correlation degree γ xy = 1, the filter coefficient f xy becomes the minimum “0”.
As described above, by setting the filter coefficient f xy in accordance with the value of the correlation degree γ xy , it is possible to cope with a change in noise frequency characteristics.
The filter coefficient f xy is calculated for all the pixels P xy in the pixel window.

相関度Γ算出部6は、相関度α算出部2が相関度αxyを算出し、相関度β算出部4が相関度βxyを算出すると、フィルタ係数算出部5と同様にして、各参照画素Pxyにおける相関度γxyを算出する。あるいは、フィルタ係数算出部5により算出された相関度γxyを取得する。
相関度Γ算出部6は、各参照画素Pxyにおける相関度γxyを算出すると、例えば、下記の式(3)に示すように、各参照画素Pxyにおける相関度γxyを統合し、統合後の相関度γxyと相関度保持部7により記憶されている処理対象画素P22の相関度Γ−1(相関度Γ算出部6により前回算出された処理対象画素P22の相関度Γ−1)から、処理対象画素P22の相関度Γを算出する(ステップST6)。
The correlation Γ calculator 6, the correlation degree alpha calculator 2 calculates the correlation alpha xy, when the correlation beta calculator 4 calculates a correlation beta xy, similarly to the filter coefficient calculating unit 5, the reference The degree of correlation γ xy at the pixel P xy is calculated. Alternatively, the correlation degree γ xy calculated by the filter coefficient calculation unit 5 is acquired.
When calculating the correlation degree γ xy at each reference pixel P xy , the correlation degree Γ calculating unit 6 integrates the correlation degree γ xy at each reference pixel P xy as shown in the following equation (3), for example. The later correlation degree γ xy and the correlation degree Γ −1 of the processing target pixel P 22 stored in the correlation degree holding unit 7 (the correlation degree Γ − of the processing target pixel P 22 previously calculated by the correlation degree Γ calculation unit 6) 1), it calculates the correlation Γ of the target pixel P 22 (step ST6).

Figure 2011114642
C+E=1
ただし、式(3)において、C,Eは統合後の相関度γxyと前画素処理時に算出された相関度Γ−1に対する加重係数である(0≦C≦1、0≦E≦1)。
Figure 2011114642
C + E = 1
In Equation (3), C and E are weighting coefficients for the correlation degree γ xy after integration and the correlation degree Γ −1 calculated during the previous pixel processing (0 ≦ C ≦ 1, 0 ≦ E ≦ 1). .

相関度Γ算出部6は、上記のようにして、処理対象画素P22の相関度Γを算出すると、次画素処理時において、その相関度ΓをΓ−1として参照するために、その相関度Γを相関度保持部7に格納する。
相関度保持部7は、相関度Γ算出部6により今回算出された処理対象画素P22の相関度Γを記憶する一方、相関度Γ算出部6により前回算出されて既に記憶している処理対象画素P22の相関度Γ−1をフィルタ処理部8に出力する。
When the correlation degree Γ calculating unit 6 calculates the correlation degree Γ of the processing target pixel P 22 as described above, the correlation degree Γ is referred to as Γ −1 during the next pixel processing. Γ is stored in the correlation degree holding unit 7.
The correlation degree holding unit 7 stores the correlation degree Γ of the processing target pixel P 22 calculated this time by the correlation degree Γ calculation unit 6, while the processing target previously calculated by the correlation degree Γ calculation unit 6 and already stored therein. The correlation degree Γ −1 of the pixel P 22 is output to the filter processing unit 8.

フィルタ処理部8は、フィルタ係数算出部5が各参照画素Pxyのフィルタ係数fxyを算出すると、例えば、下記の式(4)に示すように、処理対象画素P22及び各参照画素Pxyの信号レベル、各参照画素Pxyのフィルタ係数fxy及び相関度保持部7から出力されたP22の相関度Γ−1を用いて、処理対象画素P22に重畳されているノイズを除去するフィルタ処理を実施し、ノイズ除去後の処理対象画素P22’を出力する(ステップST7)。

Figure 2011114642
Filter processing unit 8, the filter coefficient calculating unit 5 calculates the filter coefficient f xy of the reference pixels P xy, for example, as shown in the following formula (4), the processing target pixel P 22 and the reference pixels P xy signal level, using the correlation gamma -1 of P 22 output from the reference pixel P xy filter coefficient f xy and correlation holder 7, to remove the noise superimposed on the processing target pixel P 22 Filter processing is performed, and the processing target pixel P 22 ′ after noise removal is output (step ST7).
Figure 2011114642

ここで、式(4)の第1項(相関度Γ−1がかかっている項)は、処理対象画素P22以外の画素Pxyのフィルタ出力値を表しており、第2項((1−Γ−1)がかかっている項)は、処理対象画素P22のフィルタ出力値を表している。
したがって、式(4)では、前画素処理時に算出された相関度Γ−1が大きい場合(周辺画素の平滑性が高い場合)、処理対象画素P22以外の画素Pxyのフィルタ出力値を出力する比重が大きくなり、強いローパスフィルタがかかる。
一方、前画素処理時に算出された相関度Γ−1が小さい場合(高周波成分が多い領域の場合)、処理対象画素P22のフィルタ出力値を出力する比重が大きくなる。
Here, the first term in Equation (4) (the term on which the correlation degree Γ −1 is applied) represents the filter output value of the pixel P xy other than the processing target pixel P 22 , and the second term ((1 -gamma -1) term is taking) represents the filter output value of the target pixel P 22.
Therefore, in Expression (4), when the degree of correlation Γ −1 calculated during the previous pixel processing is large (when the peripheral pixels have high smoothness), the filter output value of the pixel P xy other than the processing target pixel P 22 is output. The specific gravity is increased and a strong low-pass filter is applied.
On the other hand, pre if pixel processing correlation gamma -1 calculated at the time is small (in the case of region frequency component is great), a specific gravity of outputting a filter output value of the processing pixel P 22 is increased.

以上で明らかなように、この実施の形態1によれば、画素ウィンドウの中心に存在している処理対象画素P22と各参照画素Pxyとの信号レベル差ΔPxyから処理対象画素P22と各参照画素Pxy間の相関度αxyを算出する相関度α算出部2と、処理対象画素P22と各参照画素Pxyとの距離Dxyから処理対象画素P22と各参照画素Pxy間の相関度βxyを算出する相関度β算出部4と、相関度α算出部2により算出された相関度αxyと相関度β算出部4により算出された相関度βxyから各参照画素Pxyのフィルタ係数fxyを算出するフィルタ係数算出部5と、相関度α算出部2により算出された相関度αxyと相関度β算出部4により算出された相関度βxyから処理対象画素P22の相関度Γを算出する相関度Γ算出部6と、相関度Γ算出部6により今回算出された処理対象画素P22の相関度Γを記憶する一方、相関度Γ算出部6により前回算出されて既に記憶している処理対象画素P22の相関度Γ−1を出力する相関度保持部7とを設け、フィルタ処理部8が処理対象画素P22及び各参照画素Pxyの信号レベル、フィルタ係数算出部5により算出された各参照画素Pxyのフィルタ係数fxy及び相関度保持部7から出力された処理対象画素P22の相関度Γ−1を用いて、処理対象画素P22に重畳されているノイズを除去するフィルタ処理を実施するように構成したので、回路規模の増大を招くことなく、実時間処理で、中低周波のノイズを除去することができる効果を奏する。 As can be seen from the above description, according to the first embodiment, the processing target pixel P 22 existing in the center of the pixel window with the processing target pixel P 22 from the signal level difference [Delta] P xy and the reference pixels P xy a correlation alpha calculator 2 for calculating a correlation degree alpha xy among the reference pixels P xy, the processing target pixel P 22 the distance D the reference pixels P xy processed pixel P 22 from the xy of the reference pixels P xy each reference pixel and correlation beta calculator 4, the correlation beta xy calculated by correlation beta calculator 4 and the calculated correlation degree alpha xy by correlation alpha calculator 2 for calculating a correlation degree beta xy between a filter coefficient calculating unit 5 that calculates a P xy filter coefficients f xy, the processing pixel from the calculated correlation beta xy and calculated correlation alpha xy by correlation beta calculator 4 by correlation alpha calculator 2 phase of calculating the correlation Γ of P 22 The degree Γ calculating section 6, while storing the correlation Γ of the target pixel P 22, which is currently calculated by the correlation Γ calculator 6, processed for storing already been previously calculated by the correlation Γ calculator 6 A correlation degree holding unit 7 that outputs the degree of correlation Γ −1 of the pixel P 22 is provided, and the filter processing unit 8 calculates the signal level of the processing target pixel P 22 and each reference pixel P xy by the filter coefficient calculation unit 5. using correlation gamma -1 of the target pixel P 22 output from the reference pixel P xy filter coefficient f xy and correlation holder 7, a filter for removing noise superimposed on the processing target pixel P 22 Since the processing is performed, there is an effect that it is possible to remove medium and low frequency noise by real time processing without increasing the circuit scale.

即ち、画素間の相関度を用いて、フィルタ係数fxyを動的に算出するとともに、相関度Γを時定数として、次画素のフィルタ処理に伝搬させるようにしているので、大きいサイズの画素ウィンドウを使用する場合と同様の効果が得られるようになり、その結果、低解像度の画像を順次生成することなく、解像度の低下を抑えつつ、中低周波のノイズを効果的に低減することが可能になる。 That is, the filter coefficient f xy is dynamically calculated using the degree of correlation between pixels, and the degree of correlation Γ is propagated to the filter processing of the next pixel as a time constant. As a result, it is possible to effectively reduce mid- and low-frequency noise while suppressing degradation of resolution without sequentially generating low-resolution images. become.

例えば、図4に示すように、信号レベル差ΔPxyの値が大きくなると、相関度αxyが急激に低下するように設定することで、微妙な階調差の信号も、ローパスフィルタで消してしまわないように解像度を調整することが可能になる。
また、図5に示すように、距離Dxyの値が大きくなると、相関度βxyが徐々に低下するように設定することで、図3の画素ウィンドウのサイズを大きくする場合と同様に、より低周波のノイズを除去することが可能になる。
また、式(2)における加重係数A,Bを調整することで、相関度αxy,βxyの特性を変更することなく、解像度とノイズ低減特性の調整を行うことが可能になる。
さらに、相関度γxyに対するフィルタ係数特性(図6)を調整することで、ノイズの周波数特性が変化しても対処することが可能になる。
For example, as shown in FIG. 4, when the value of the signal level difference ΔP xy is increased, the correlation degree α xy is set so as to rapidly decrease. It becomes possible to adjust the resolution so as not to stutter.
Further, as shown in FIG. 5, when the value of the distance D xy is increased, the correlation degree β xy is set to gradually decrease, so that the size of the pixel window in FIG. 3 is increased. Low frequency noise can be removed.
Further, by adjusting the weighting coefficients A and B in the expression (2), it is possible to adjust the resolution and noise reduction characteristics without changing the characteristics of the correlation degrees α xy and β xy .
Furthermore, by adjusting the filter coefficient characteristic (FIG. 6) with respect to the degree of correlation γ xy, it is possible to cope with a change in noise frequency characteristic.

なお、この実施の形態1では、5×5画素からなる画素ウィンドウを2次元画像上に形成するものについて示したが、これは一例に過ぎず、除去したいノイズの周波数特性に応じて、画素ウィンドウの水平方向及び垂直方向のサイズを任意に決定し、当該画素ウィンドウを2次元画像上に形成するようにしてもよい。   In the first embodiment, the pixel window composed of 5 × 5 pixels is formed on the two-dimensional image. However, this is only an example, and the pixel window is selected according to the frequency characteristics of noise to be removed. The size in the horizontal direction and the vertical direction may be arbitrarily determined, and the pixel window may be formed on the two-dimensional image.

この実施の形態1では、フィルタ係数算出部5及び相関度Γ算出部6が相関度γxyを算出する際、相関度αxyと相関度βxyの重み付け加算演算を行うものを示したが、これに限るものではなく、例えば、より相関値の高い数値を相関度γxyに設定するなど、処理によって得られる画像の必要な特性によって演算するようにしてもよい。 In the first embodiment, when the filter coefficient calculation unit 5 and the correlation degree Γ calculation unit 6 calculate the correlation degree γ xy , the weighting addition calculation of the correlation degree α xy and the correlation degree β xy is shown. However, the present invention is not limited to this. For example, calculation may be performed according to necessary characteristics of an image obtained by processing, such as setting a correlation value γ xy with a higher correlation value.

この実施の形態1では、フィルタ処理部8が処理対象画素P22のフィルタ出力値P’22を算出する際、式(4)のように、処理対象画素P22と参照画素Pxyの重み付け演算を行うものを示したが、これに限るものではない。
例えば、より低周波のノイズを低減する必要がある場合などでは、領域の特徴を伝える相関度Γの伝搬だけでなく、前画素処理時のフィルタ出力値P’21と現在の処理対象画素P22のフィルタ出力値P’22を、相関度Γと相関度Γ−1の差に応じて重み付け加算して、直接的に前画素処理時のフィルタ出力値P’21をフィードバックするIIRの構成としてもよい。
この場合、相関度Γと相関度Γ−1の差が大きい場合は、前画素と現在の処理対象画素P22の相関性が低いと判断して、前画素処理時のフィルタ出力値P’21の重みを小さくする制御を行う。
In the first embodiment, when the filter processing unit 8 calculates a filter output value P '22 of the processing pixel P 22, the formula (4) as in the reference pixel P xy weighting operation as the processing target pixel P 22 However, the present invention is not limited to this.
For example, when it is necessary to reduce low-frequency noise, not only the propagation of the correlation degree Γ that conveys the characteristics of the region, but also the filter output value P ′ 21 at the time of the previous pixel processing and the current processing target pixel P 22. the filter output value P '22, and weighted addition in accordance with the difference between the correlation gamma -1 degree of correlation gamma, filter output value P at the time directly previous pixel processed' as IIR structure for feeding back 21 Good.
In this case, when the difference between the correlation degree Γ and the correlation degree Γ −1 is large, it is determined that the correlation between the previous pixel and the current processing target pixel P 22 is low, and the filter output value P ′ 21 during the previous pixel processing is determined. Control to reduce the weight of.

また、この実施の形態1では、相関度Γ算出部6が処理対象画素P22の相関度Γを算出する際、式(3)を用いて算出するものについて示したが、これに限るものではなく、例えば、式(3)の第1項で、画素ウィンドウ内の相関度γxyの平均値を算出する代わりに、代表値として相関度γxyの中央値を使用するようにしてもよい。
この場合、画素ウィンドウ内に存在する高周波ノイズ画素(相関度γxyが他の画素と著しく異なる画素)の影響が排除されるため、高周波ノイズに影響されない高精度の相関度Γを算出することができる。
In the first embodiment, the correlation degree Γ calculation unit 6 calculates the correlation degree Γ of the processing target pixel P 22 using the expression (3). However, the present invention is not limited to this. Instead, for example, instead of calculating the average value of the correlation degree γ xy in the pixel window in the first term of Expression (3), the median value of the correlation degree γ xy may be used as the representative value.
In this case, since the influence of high-frequency noise pixels (pixels whose correlation degree γ xy is significantly different from other pixels) existing in the pixel window is eliminated, a highly accurate correlation degree Γ that is not affected by high-frequency noise can be calculated. it can.

実施の形態2.
図7はこの発明の実施の形態2によるノイズ除去装置を示す構成図であり、図において、図1と同一符号は同一又は相当部分を示すので説明を省略する。
ただし、この実施の形態2では、相互に画素サイズが異なる複数の画素ウィンドウが用意されているものについて説明するため、図7のノイズ除去装置では、複数の画素ウィンドウ毎に、信号レベル差算出部1、相関度α算出部2、画素間距離算出部3、相関度β算出部4、フィルタ係数算出部5、相関度Γ算出部6、相関度保持部7及びフィルタ処理部8が、各々の処理を実施するものとする。
Embodiment 2. FIG.
7 is a block diagram showing a noise removing apparatus according to Embodiment 2 of the present invention. In the figure, the same reference numerals as those in FIG.
However, in this second embodiment, a description will be given of a case where a plurality of pixel windows having different pixel sizes are prepared. Therefore, in the noise removal apparatus in FIG. 7, a signal level difference calculation unit is provided for each of the plurality of pixel windows. 1, a correlation degree α calculation unit 2, an inter-pixel distance calculation unit 3, a correlation degree β calculation unit 4, a filter coefficient calculation unit 5, a correlation degree Γ calculation unit 6, a correlation degree holding unit 7, and a filter processing unit 8. Processing shall be performed.

最小相関度特定部11は例えば3個の画素ウィンドウ(3×3画素からなる画素ウィンドウ、5×5画素からなる画素ウィンドウ、7×7画素からなる画素ウィンドウ)毎に、相関度Γ算出部6により今回算出された相関度Γ3(3×3画素の画素ウィンドウに係る相関度),Γ5(5×5画素の画素ウィンドウに係る相関度),Γ7(7×7画素の画素ウィンドウに係る相関度)と、前回算出されて相関度保持部7により記憶されている相関度Γ−1との変化量|Γ3−Γ−1|,|Γ5−Γ−1|,|Γ7−Γ−1|を求め、今回算出された相関度Γ3,Γ5,Γ7の中で、その変化量|Γ3−Γ−1|,|Γ5−Γ−1|,|Γ7−Γ−1|が最小になるときの相関度を特定する処理を実施する。 For example, the minimum correlation degree specifying unit 11 includes a correlation degree Γ calculating unit 6 for each of three pixel windows (a pixel window including 3 × 3 pixels, a pixel window including 5 × 5 pixels, and a pixel window including 7 × 7 pixels). Correlation degree Γ3 (correlation degree relating to a pixel window of 3 × 3 pixels), Γ5 (correlation degree relating to a pixel window of 5 × 5 pixels), Γ7 (correlation degree relating to a pixel window of 7 × 7 pixels) calculated this time a), the amount of change between the degree of correlation gamma -1 stored by the correlation degree holding unit 7 is previously calculated | Γ3-Γ -1 |, | Γ5-Γ -1 |, | Γ7-Γ -1 | a Among the correlation degrees Γ3, Γ5, and Γ7 calculated this time, the correlation when the change amount | Γ3-Γ- 1 |, | Γ5-Γ- 1 |, | Γ7-Γ- 1 | Implement a process to specify the degree.

フィルタ処理結果選択部12は最小相関度特定部11により特定された最小の相関度の算出に用いられた画素ウィンドウに対応するフィルタ出力値(フィルタ処理結果)の選択をフィルタ処理部8に指示する処理を実施する。
なお、最小相関度特定部11及びフィルタ処理結果選択部12からフィルタ処理結果選択手段が構成されている。
The filter processing result selection unit 12 instructs the filter processing unit 8 to select a filter output value (filter processing result) corresponding to the pixel window used for calculation of the minimum correlation specified by the minimum correlation specifying unit 11. Perform the process.
The minimum correlation degree specifying unit 11 and the filter processing result selecting unit 12 constitute a filter processing result selecting unit.

次に動作について説明する。
信号レベル差算出部1は、2次元画像を構成している複数の画素の画素値(信号レベル)を示す2次元画像データを入力すると、3×3画素の画素ウィンドウ(図8(a)を参照)、5×5画素の画素ウィンドウ(図8(b)を参照)及び7×7画素の画素ウィンドウ(図8(c)を参照)を2次元画像上に形成する。
図8の例では、画素P33が処理対象画素であり、処理対象画素P33以外の画素Pxy(0≦x≦6、0≦y≦6)が参照画素である。ただし、この例では、処理対象画素P33は、参照画素Pxyにも該当する。
Next, the operation will be described.
When the signal level difference calculation unit 1 receives the two-dimensional image data indicating the pixel values (signal levels) of a plurality of pixels constituting the two-dimensional image, the signal level difference calculation unit 1 displays a 3 × 3 pixel window (FIG. 8A). (See) A 5 × 5 pixel window (see FIG. 8B) and a 7 × 7 pixel window (see FIG. 8C) are formed on the two-dimensional image.
In the example of FIG. 8, the pixel P 33 is the processing target pixel, the pixel P xy other than the processing target pixel P 33 (0 ≦ x ≦ 6,0 ≦ y ≦ 6) is the reference pixel. However, in this example, the processing target pixel P 33 also corresponds with the reference pixel P xy.

信号レベル差算出部1は、3個の画素ウィンドウを2次元画像上に形成すると、3個の画素ウィンドウ毎に、画素ウィンドウ内の処理対象画素P33と各参照画素Pxyとの信号レベル差ΔPxyを算出する。ただし、信号レベル差ΔPxyの算出方法は、上記実施の形態1と同様である。
この実施の形態2では、3×3画素の画素ウィンドウに係る信号レベル差をΔP3xyで表し、5×5画素の画素ウィンドウに係る信号レベル差をΔP5xyで表し、7×7画素の画素ウィンドウに係る信号レベル差をΔP7xyで表すものとする。
When the signal level difference calculation unit 1 forms three pixel windows on the two-dimensional image, the signal level difference between the processing target pixel P 33 in the pixel window and each reference pixel P xy for each of the three pixel windows. ΔP xy is calculated. However, the method for calculating the signal level difference ΔP xy is the same as that in the first embodiment.
In the second embodiment, 3 × 3 represents the signal level difference of the pixel window of pixels in .DELTA.P3 xy, represents the signal level difference of the pixel window 5 × 5 pixels ΔP5 in xy, 7 × 7 pixels of the pixel window The signal level difference relating to is represented by ΔP7 xy .

相関度α算出部2は、信号レベル差算出部1が3個の画素ウィンドウ毎に、信号レベル差ΔP3xy,ΔP5xy,ΔP7xyを算出すると、上記実施の形態1と同様にして、3個の画素ウィンドウ毎に、その信号レベル差ΔP3xy,ΔP5xy,ΔP7xyから、処理対象画素P33と各参照画素Pxy間の相関度αxyを算出する。
この実施の形態2では、3×3画素の画素ウィンドウに係る相関度をα3xyで表し、5×5画素の画素ウィンドウに係る相関度をα5xyで表し、7×7画素の画素ウィンドウに係る相関度をα7xyで表すものとする。
Correlation α calculating unit 2, the signal level difference calculating unit 1 every 3 pixels window, signal level difference ΔP3 xy, ΔP5 xy, calculating the DerutaP7 xy, in the same manner as in the first embodiment, three each pixel window of the signal level difference ΔP3 xy, ΔP5 xy, from DerutaP7 xy, calculates the processing target pixel P 33 the correlation alpha xy among the reference pixels P xy.
In the second embodiment, the degree of correlation related to the pixel window of 3 × 3 pixels is represented by α3 xy , the degree of correlation related to the pixel window of 5 × 5 pixels is represented by α5 xy , and the pixel window of 7 × 7 pixels is concerned. Assume that the degree of correlation is represented by α7 xy .

画素間距離算出部3は、2次元画像データを入力すると、上記実施の形態1と同様にして、3個の画素ウィンドウ毎に、処理対象画素P33と各参照画素Pxyとの距離Dxyを算出する。
この実施の形態2では、3×3画素の画素ウィンドウに係る距離をD3xyで表し、5×5画素の画素ウィンドウに係る距離をD5xyで表し、7×7画素の画素ウィンドウに係る距離をD7xyで表すものとする。
When the two-dimensional image data is input, the inter-pixel distance calculation unit 3 receives the distance D xy between the processing target pixel P 33 and each reference pixel P xy for each of the three pixel windows, as in the first embodiment. Is calculated.
In the second embodiment, the distance relating to the pixel window of 3 × 3 pixels is represented by D3 xy , the distance relating to the pixel window of 5 × 5 pixels is represented by D5 xy , and the distance relating to the pixel window of 7 × 7 pixels is represented. It shall be represented by D7 xy .

相関度β算出部4は、画素間距離算出部3が3個の画素ウィンドウ毎に、距離D3xy,距離D5xy,距離D7xyを算出すると、上記実施の形態1と同様にして、3個の画素ウィンドウ毎に、その距離D3xy,距離D5xy,距離D7xyから、処理対象画素P33と各参照画素Pxy間の相関度βxyを算出する。
この実施の形態2では、3×3画素の画素ウィンドウに係る相関度をβ3xyで表し、5×5画素の画素ウィンドウに係る相関度をβ5xyで表し、7×7画素の画素ウィンドウに係る相関度をβ7xyで表すものとする。
When the inter-pixel distance calculation unit 3 calculates the distance D3 xy , the distance D5 xy , and the distance D7 xy for each of the three pixel windows, the correlation degree β calculation unit 4 includes three pieces as in the first embodiment. for each pixel window, the distance D3 xy, distance D5 xy, the distance D7 xy, calculates the processing target pixel P 33 the correlation beta xy among the reference pixels P xy.
In the second embodiment, the degree of correlation related to the pixel window of 3 × 3 pixels is represented by β3 xy , the degree of correlation related to the pixel window of 5 × 5 pixels is represented by β5 xy , and the pixel window of 7 × 7 pixels is concerned. The degree of correlation is represented by β7 xy .

フィルタ係数算出部5は、相関度α算出部2が相関度α3xy,α5xy,α7xyを算出し、相関度β算出部4が相関度β3xy,β5xy,β7xyを算出すると、上記実施の形態1と同様にして、3個の画素ウィンドウ毎に、各参照画素Pxyにおける相関度γxyを算出する。
この実施の形態2では、3×3画素の画素ウィンドウに係る相関度をγ3xyで表し、5×5画素の画素ウィンドウに係る相関度をγ5xyで表し、7×7画素の画素ウィンドウに係る相関度をγ7xyで表すものとする。
The filter coefficient calculation unit 5 calculates the correlation degree α3 xy , α5 xy , and α7 xy when the correlation degree α calculation unit 2 calculates the correlation degrees β3 xy , β5 xy , and β7 xy when the correlation degree β calculation unit 4 calculates the correlation degrees β3 xy , β5 xy , and β7 xy. in the same manner as the first embodiment, every 3 pixels window, calculates a correlation degree gamma xy in the reference pixels P xy.
In the second embodiment, the correlation degree related to the 3 × 3 pixel window is represented by γ3 xy , the correlation degree related to the 5 × 5 pixel window is represented by γ5 xy , and the 7 × 7 pixel window is concerned. The correlation degree is represented by γ7 xy .

また、フィルタ係数算出部5は、各参照画素Pxyにおける相関度γ3xy,γ5xy,γ7xyを算出すると、上記実施の形態1と同様にして、3個の画素ウィンドウ毎に、各参照画素Pxyにおけるγ3xy,γ5xy,γ7xyから、各参照画素Pxyのフィルタ係数fxyを算出する。
この実施の形態2では、3×3画素の画素ウィンドウに係るフィルタ係数をf3xyで表し、5×5画素の画素ウィンドウに係るフィルタ係数をf5xyで表し、7×7画素の画素ウィンドウに係るフィルタ係数をf7xyで表すものとする。
In addition, when the filter coefficient calculation unit 5 calculates the correlations γ3 xy , γ5 xy , and γ7 xy at each reference pixel P xy , each reference pixel is calculated for each of the three pixel windows in the same manner as in the first embodiment. [gamma] 3 xy in P xy, γ5 xy, from [gamma] 7 xy, calculates the filter coefficient f xy of the reference pixels P xy.
In the second embodiment, the filter coefficient related to the 3 × 3 pixel window is represented by f3 xy , the filter coefficient related to the 5 × 5 pixel window is represented by f5 xy , and the filter window is related to the 7 × 7 pixel window. The filter coefficient is represented by f7 xy .

相関度Γ算出部6は、相関度α算出部2が相関度α3xy,α5xy,α7xyを算出し、相関度β算出部4が相関度β3xy,β5xy,β7xyを算出すると、上記実施の形態1と同様にして、3個の画素ウィンドウ毎に、各参照画素Pxyにおける相関度γ3xy,γ5xy,γ7xyを算出する。
また、相関度Γ算出部6は、各参照画素Pxyにおける相関度γ3xy,γ5xy,γ7xyを算出すると、上記実施の形態1と同様にして、3個の画素ウィンドウ毎に、処理対象画素P33の相関度Γを算出する。
この実施の形態2では、3×3画素の画素ウィンドウに係る相関度をΓ3で表し、5×5画素の画素ウィンドウに係る相関度をΓ5で表し、7×7画素の画素ウィンドウに係る相関度をΓ7で表すものとする。
The correlation degree Γ calculation unit 6 calculates the correlation degrees α3 xy , α5 xy , and α7 xy while the correlation degree α calculation unit 2 calculates the correlation degrees β3 xy , β5 xy , and β7 xy . in the same manner as the first embodiment, every 3 pixels window correlation [gamma] 3 xy in the reference pixels P xy, [gamma] 5 xy, calculates the [gamma] 7 xy.
Moreover, the correlation Γ calculator 6, correlation [gamma] 3 xy in the reference pixels P xy, [gamma] 5 xy, calculating the [gamma] 7 xy, in the same manner as in the first embodiment, every 3 pixels window, processed calculating a correlation Γ pixel P 33.
In the second embodiment, the degree of correlation related to the pixel window of 3 × 3 pixels is represented by Γ3, the degree of correlation related to the pixel window of 5 × 5 pixels is represented by Γ5, and the degree of correlation related to the pixel window of 7 × 7 pixels. Is represented by Γ7.

フィルタ処理部8は、フィルタ係数算出部5が各参照画素Pxyのフィルタ係数f3xy,f5xy,f7xyを算出すると、上記実施の形態1と同様にして、3個の画素ウィンドウ毎に、処理対象画素P33に重畳されているノイズを除去するフィルタ処理を実施して、ノイズ除去後の処理対象画素P33’の信号レベルを示すフィルタ出力値を算出する。
この実施の形態2では、3×3画素の画素ウィンドウに係るフィルタ出力値をP3’33で表し、5×5画素の画素ウィンドウに係るフィルタ出力値をP5’33で表し、7×7画素の画素ウィンドウに係るフィルタ出力値をP7’33で表すものとする。
When the filter coefficient calculation unit 5 calculates the filter coefficients f3 xy , f5 xy , and f7 xy of each reference pixel P xy , the filter processing unit 8 performs the calculation for each of the three pixel windows as in the first embodiment. Filter processing for removing noise superimposed on the processing target pixel P 33 is performed, and a filter output value indicating the signal level of the processing target pixel P 33 ′ after noise removal is calculated.
In the second embodiment, the filter output value of the 3 × 3 pixels of the pixel window 'expressed by 33, the filter output value of the pixel 5 × 5 window pixel P5' P3 expressed by 33, 7 × 7 pixels It shall be represented by the filter output value P7 '33 according to the pixel window.

最小相関度特定部11は、処理対象画素P33の相関度Γ3,Γ5,Γ7と前画素処理時の相関度Γ−1の変化量は、現在の処理対象画素P33に適用可能なフィルタ出力値と関連性があるので、3個の画素ウィンドウ毎に、相関度Γ算出部6が処理対象画素P33の相関度Γ3,Γ5,Γ7を算出すると、その相関度Γ3,Γ5,Γ7と、相関度保持部7により記憶されている相関度Γ−1との変化量|Γ3−Γ−1|,|Γ5−Γ−1|,|Γ7−Γ−1|を算出する。
例えば、前画素の処理時点から現在の処理対象画素に移動したときに、新たに被写体のエッジが画素ウィンドウに含まれるようになると、処理対象画素P33の相関度Γが、前画素処理時の相関度Γ−1と大きく異なる値になる。即ち、最も画素サイズが大きい7×7画素の画素ウィンドウに係る処理対象画素P33の相関度Γ7が、前画素処理時の相関度Γ−1から大きく変動することになる。
したがって、仮に、7×7画素の画素ウィンドウに係るフィルタ出力値P7’33をローパスフィルタの出力値に適用すると、被写体のエッジがぼける可能性がある。
Minimum correlation identification unit 11, correlation Γ3 of the target pixel P 33, [gamma] 5, the variation of correlation gamma -1 during previous pixel processing Γ7 is applicable filter output for the current processing target pixel P 33 since there is a value and relevance, every three pixel window, correlation [Gamma] 3 of correlation Γ calculator 6 is the processing target pixel P 33, [gamma] 5, calculating the [gamma] 7, the correlation degree [Gamma] 3, [gamma] 5, and [gamma] 7, The amount of change | Γ3-Γ -1 |, | Γ5-Γ -1 |, | Γ7-Γ -1 | with the degree of correlation Γ −1 stored by the correlation degree holding unit 7 is calculated.
For example, when moving from the processing time of the previous pixel to the current processing target pixel, if the edge of the subject is newly included in the pixel window, the correlation degree Γ of the processing target pixel P 33 is the same as that during the previous pixel processing. The value is greatly different from the correlation degree Γ −1 . That is, correlation Γ7 of the target pixel P 33 according to the pixel window most pixel size is larger 7 × 7 pixels will vary greatly from correlation gamma -1 during previous pixel processed.
Therefore, if, when applying the filter output value P7 '33 according to the pixel window 7 × 7 pixels to the output value of the low-pass filter, there is a possibility that the subject edge is blurred.

最小相関度特定部11は、変化量|Γ3−Γ−1|,|Γ5−Γ−1|,|Γ7−Γ−1|を算出すると、その変化量|Γ3−Γ−1|,|Γ5−Γ−1|,|Γ7−Γ−1|を相互に比較して、最小の変化量を特定する。
そして、最小相関度特定部11は、処理対象画素P33の相関度Γ3,Γ5,Γ7の中で、最小の変化量に係る相関度を特定する。
When the minimum correlation degree specifying unit 11 calculates the amount of change | Γ3-Γ -1 |, | Γ5-Γ -1 |, | Γ7-Γ -1 |, the amount of change | Γ3-Γ -1 |, | Γ5 -Γ -1 | and | Γ7-Γ -1 | are compared with each other to identify the minimum amount of change.
The minimum correlation identification unit 11, correlation Γ3 of the target pixel P 33, [gamma] 5, in the [gamma] 7, identifies a correlation according to the minimum change amount.

フィルタ処理結果選択部12は、最小相関度特定部11が最小の相関度を特定すると、最小の相関度の算出に用いられた画素ウィンドウに対応するフィルタ出力値の選択をフィルタ処理部8に指示する。
これにより、例えば、変化量|Γ3−Γ−1|が最小であれば、フィルタ処理部8から3×3画素の画素ウィンドウに係るフィルタ出力値P3’33が選択されて出力され、変化量|Γ5−Γ−1|が最小であれば、フィルタ処理部8から5×5画素の画素ウィンドウに係るフィルタ出力値P5’33が選択されて出力される。
また、変化量|Γ7−Γ−1|が最小であれば、フィルタ処理部8から7×7画素の画素ウィンドウに係るフィルタ出力値P7’33が選択されて出力される。
When the minimum correlation degree specifying unit 11 specifies the minimum correlation degree, the filter processing result selection unit 12 instructs the filter processing unit 8 to select the filter output value corresponding to the pixel window used for calculating the minimum correlation degree. To do.
Thereby, for example, if the amount of change | Γ3-Γ −1 | is minimum, the filter output value P3 ′ 33 relating to the pixel window of 3 × 3 pixels is selected and output from the filter processing unit 8, and the amount of change | If Γ5-Γ −1 | is minimum, the filter processing unit 8 selects and outputs the filter output value P5 ′ 33 relating to the pixel window of 5 × 5 pixels.
If the amount of change | Γ7−Γ −1 | is minimum, the filter processing unit 8 selects and outputs the filter output value P7 ′ 33 relating to the pixel window of 7 × 7 pixels.

以上で明らかなように、この実施の形態2によれば、相関度Γ算出部6により今回算出された相関度Γ3,Γ5,Γ7の中で、前回算出されて相関度保持部7により記憶されている相関度Γ−1との変化量が最小の相関度を特定し、最小の相関度の算出に用いられた画素ウィンドウに対応するフィルタ処理部8のフィルタ出力値を選択して出力するように構成したので、被写体中の有意なエッジのぼけを招くことなく、中低周波のノイズを除去することができる効果を奏する。 As apparent from the above, according to the second embodiment, the correlation degree Γ3, Γ5, and Γ7 calculated this time by the correlation degree Γ calculation unit 6 are calculated last time and stored in the correlation degree holding unit 7. The degree of correlation with the smallest amount of change from the correlation degree Γ −1 is specified, and the filter output value of the filter processing unit 8 corresponding to the pixel window used for calculating the minimum degree of correlation is selected and output. Thus, there is an effect that it is possible to remove medium and low frequency noise without causing significant edge blur in the subject.

なお、この実施の形態2では、複数の画素ウィンドウの画素サイズとして、3×3画素の画素サイズ、5×5画素の画素サイズ、7×7画素の画素サイズの例を示したが、これに限るものではなく、例えば、除去したいノイズの周波数特性に応じて、画素ウィンドウの画素サイズを任意に決定するようにすればよい。   In the second embodiment, the example of the pixel size of the plurality of pixel windows is 3 × 3 pixel size, 5 × 5 pixel size, and 7 × 7 pixel size. For example, the pixel size of the pixel window may be arbitrarily determined according to the frequency characteristics of the noise to be removed.

実施の形態3.
図9はこの発明の実施の形態3によるノイズ除去装置を示す構成図であり、図において、図1と同一符号は同一又は相当部分を示すので説明を省略する。
ただし、この実施の形態3では、相互に画素サイズが異なる複数の画素ウィンドウが用意されているものについて説明するため、上記実施の形態2と同様に、図9のノイズ除去装置では、複数の画素ウィンドウ毎に、信号レベル差算出部1、相関度α算出部2、画素間距離算出部3、相関度β算出部4、フィルタ係数算出部5、相関度Γ算出部6、相関度保持部7及びフィルタ処理部8が、各々の処理を実施するものとする。
Embodiment 3 FIG.
FIG. 9 is a block diagram showing a noise removing apparatus according to Embodiment 3 of the present invention. In the figure, the same reference numerals as those in FIG.
However, in the third embodiment, since a plurality of pixel windows having different pixel sizes are prepared will be described, the noise removal apparatus in FIG. For each window, the signal level difference calculation unit 1, the correlation degree α calculation unit 2, the inter-pixel distance calculation unit 3, the correlation degree β calculation unit 4, the filter coefficient calculation unit 5, the correlation degree Γ calculation unit 6, and the correlation degree holding unit 7 And the filter process part 8 shall implement each process.

変化量算出部21は例えば3個の画素ウィンドウ(3×3画素からなる画素ウィンドウ、5×5画素からなる画素ウィンドウ、7×7画素からなる画素ウィンドウ)毎に、相関度Γ算出部6により今回算出された相関度Γ3,Γ5,Γ7と、前回算出されて相関度保持部7により記憶されている相関度Γ−1との変化量|Γ3−Γ−1|,|Γ5−Γ−1|,|Γ7−Γ−1|を算出する処理を実施する。
重み付け加算部22は変化量算出部21により算出された変化量|Γ3−Γ−1|,|Γ5−Γ−1|,|Γ7−Γ−1|に応じて、フィルタ処理部8における画素ウィンドウ毎のフィルタ出力値P3’33,P5’33,P7’33を重み付け加算して出力する処理を実施する。
なお、変化量算出部21及び重み付け加算部22から重み付け加算手段が構成されている。
For example, the change amount calculating unit 21 uses the correlation degree Γ calculating unit 6 for each of three pixel windows (a pixel window including 3 × 3 pixels, a pixel window including 5 × 5 pixels, and a pixel window including 7 × 7 pixels). The amount of change between the correlation degrees Γ3, Γ5, and Γ7 calculated this time and the correlation degree Γ −1 calculated last time and stored in the correlation degree holding unit 7 | Γ3-Γ −1 |, | Γ5-Γ −1 |, | Γ7−Γ −1 | is calculated.
The weighting adder 22 uses the pixel window in the filter processor 8 according to the amount of change | Γ3-Γ -1 |, | Γ5-Γ -1 |, | Γ7-Γ -1 | The filter output values P3 ′ 33 , P5 ′ 33 , and P7 ′ 33 for each filter are weighted and outputted.
The change amount calculation unit 21 and the weighting addition unit 22 constitute weighting addition means.

次に動作について説明する。
上記実施の形態2では、最小相関度特定部11が、相関度Γ算出部6により今回算出された相関度Γ3,Γ5,Γ7の中で、前回算出されて相関度保持部7により記憶されている相関度Γ−1との変化量が最小の相関度を特定すると、フィルタ処理結果選択部12が、最小相関度特定部11により特定された最小の相関度の算出に用いられた画素ウィンドウに対応するフィルタ出力値の選択をフィルタ処理部8に指示するものについて示したが、今回算出された相関度Γ3,Γ5,Γ7と、前回算出されて相関度保持部7により記憶されている相関度Γ−1との変化量|Γ3−Γ−1|,|Γ5−Γ−1|,|Γ7−Γ−1|を算出し、その変化量|Γ3−Γ−1|,|Γ5−Γ−1|,|Γ7−Γ−1|に応じて、フィルタ処理部8における画素ウィンドウ毎のフィルタ出力値P3’33,P5’33,P7’33を重み付け加算して出力するようにしてもよい。
Next, the operation will be described.
In the second embodiment, the minimum correlation degree specifying unit 11 is calculated last time among the correlation degrees Γ3, Γ5, and Γ7 calculated by the correlation degree Γ calculation unit 6 and stored by the correlation degree holding unit 7. When the correlation degree with the smallest change amount from the existing correlation degree Γ −1 is specified, the filter processing result selection unit 12 displays the pixel window used for calculation of the minimum correlation degree specified by the minimum correlation degree specification unit 11. Although the filter processing unit 8 is instructed to select the corresponding filter output value, the correlation degrees Γ3, Γ5, and Γ7 calculated this time and the correlation degrees calculated last time and stored in the correlation degree holding unit 7 are shown. The amount of change from Γ -1 | Γ3-Γ -1 |, | Γ5-Γ -1 |, | Γ7-Γ -1 | is calculated, and the amount of change | Γ3-Γ -1 |, | Γ5-Γ 1 |, | Γ7-Γ -1 | depending on, image in the filter processing section 8 Filter output value for each window P3 '33, P5' 33, P7 '33 may be the as weighted addition and output.

以下、この実施の形態3の処理内容を具体的に説明する。
変化量算出部21は、例えば、3個の画素ウィンドウ毎に、相関度Γ算出部6により今回算出された相関度Γ3,Γ5,Γ7と、前回算出されて相関度保持部7により記憶されている相関度Γ−1との変化量|Γ3−Γ−1|,|Γ5−Γ−1|,|Γ7−Γ−1|を算出する。
Hereinafter, the processing content of this Embodiment 3 is demonstrated concretely.
For example, for each of three pixel windows, the change amount calculating unit 21 calculates the correlation degrees Γ3, Γ5, and Γ7 calculated this time by the correlation degree Γ calculating unit 6 and stores the correlation degree holding unit 7 calculated last time. The amount of change | Γ3-Γ -1 |, | Γ5-Γ -1 |, | Γ7-Γ -1 | with the correlation degree Γ −1 is calculated.

重み付け加算部22は、変化量算出部21が変化量|Γ3−Γ−1|,|Γ5−Γ−1|,|Γ7−Γ−1|を算出すると、その変化量|Γ3−Γ−1|,|Γ5−Γ−1|,|Γ7−Γ−1|から、加重係数G,H,Kを算出する。
G+H+K=1
ただし、加重係数Gは変化量|Γ3−Γ−1|が大きいほど小さな値になる係数であり(0≦G≦1)、加重係数Hは変化量|Γ5−Γ−1|が大きいほど小さな値になる係数である(0≦H≦1)。
また、加重係数Kは変化量|Γ7−Γ−1|が大きいほど小さな値になる係数である(0≦K≦1)。
When the change amount calculation unit 21 calculates the change amounts | Γ3-Γ -1 |, | Γ5-Γ -1 |, | Γ7-Γ -1 |, the change amount | Γ3-Γ -1 Weighting coefficients G, H, and K are calculated from |, | Γ5-Γ -1 |, | Γ7-Γ -1 |.
G + H + K = 1
However, the weighting coefficient G is a coefficient that becomes smaller as the amount of change | Γ3-Γ −1 | becomes larger (0 ≦ G ≦ 1), and the weighting factor H becomes smaller as the amount of change | Γ5-Γ −1 | It is a coefficient that becomes a value (0 ≦ H ≦ 1).
The weighting coefficient K is a coefficient that becomes smaller as the change amount | Γ7−Γ −1 | becomes larger (0 ≦ K ≦ 1).

重み付け加算部22は、加重係数G,H,Kを算出すると、例えば、下記の式(5)に示すように、その加重係数G,H,Kを用いて、フィルタ処理部8における画素ウィンドウ毎のフィルタ出力値P3’33,P5’33,P7’33を重み付け加算し、重み付け加算後のフィルタ出力値P’33を出力する。
P’33=G×P3’33+H×P5’33+K×P7’33 (5)
When the weighting addition unit 22 calculates the weighting coefficients G, H, and K, for example, as shown in the following expression (5), the weighting addition unit 22 uses the weighting coefficients G, H, and K for each pixel window in the filter processing unit 8. The filter output values P3 ′ 33 , P5 ′ 33 and P7 ′ 33 are weighted and added, and the filter output value P ′ 33 after the weighted addition is output.
P ′ 33 = G × P 3 ′ 33 + H × P 5 ′ 33 + K × P 7 ′ 33 (5)

このように、フィルタ処理部8における画素ウィンドウ毎のフィルタ出力値P3’33,P5’33,P7’33を重み付け加算して出力することで、上記実施の形態2のように、1つのフィルタ出力値を選択して出力する場合よりも、隣接画素間での処理時における画素ウィンドウサイズの相違や、それに伴うフィルタ出力値の急激な変化が起こり難くなる。そのため、画素ウィンドウサイズの切り替えに伴う画質の変化が起こらず、全体としてまとまりのある画像が得られ易くなる効果を奏する。 In this way, the filter output values P3 ′ 33 , P5 ′ 33 , and P7 ′ 33 for each pixel window in the filter processing unit 8 are weighted and output, thereby outputting one filter output as in the second embodiment. Compared with the case where a value is selected and output, a difference in pixel window size during processing between adjacent pixels and a sudden change in the filter output value associated therewith are less likely to occur. For this reason, there is no change in image quality due to switching of the pixel window size, and there is an effect that it is easy to obtain a coherent image as a whole.

実施の形態4.
上記実施の形態1〜3では、相関度α算出部2、相関度β算出部4及びフィルタ処理部8が各々の処理を実施する際、画素ウィンドウ内の画素のうち、処理対象画素P22(または、処理対象画素P33)に隣接する画素(例えば、画素P21,P23など)も参照画素Pxyに含めているものを示したが、図10に示すように、画素ウィンドウ内の画素のうち、処理対象画素P22に隣接している画素(例えば、画素P21,P23など)を除く画素を参照画素Pxyとして取り扱うようにしてもよい。
このように、参照画素Pxyから処理対象画素P22に隣接している画素を除くことにより、処理対象画素P22にローパスフィルタをかけたときに、高周波のノイズが中低周波のノイズに変移する状況の発生を防止することができる効果を奏する。
Embodiment 4 FIG.
In the first to third embodiments, when the correlation degree α calculation unit 2, the correlation degree β calculation unit 4, and the filter processing unit 8 perform the respective processes, among the pixels in the pixel window, the processing target pixel P 22 ( Alternatively, the pixels adjacent to the processing target pixel P 33 ) (for example, the pixels P 21 , P 23, etc.) are also included in the reference pixel P xy , but as shown in FIG. 10, the pixels in the pixel window of a pixel adjacent to the processing target pixel P 22 (e.g., pixel including P 21, P 23) may be handled pixels except as a reference pixel P xy.
Thus, by removing pixels adjacent to the target pixel P 22 from the reference pixel P xy, transition when subjected to low-pass filter to the processing target pixel P 22, the high frequency noise in the middle low frequency noise It is possible to prevent the occurrence of the situation.

ここで、図11はこの発明の実施の形態4によるノイズ除去装置が使用する画素ウィンドウの変形例を示す説明図である。
図11の画素ウィンドウでは、処理対象画素が参照画素P22と参照画素P24の間に位置している画素(黒く塗りつぶされている画素)であり、この処理対象画素は、参照画素に含まれていない。
このように、処理対象画素が参照画素に含まれていない場合、処理対象画素が孤立点ノイズ(処理対象画素の周辺に存在している画素との関連性がいずれも低く、孤立している画素)であっても、処理対象画素が孤立点として残留してしまう状況の発生を防止することができる効果を奏する。
なお、このような画素ウィンドウを使用するに際しては、輝度と比較して、解像度の低下が知覚され難い色信号に対して、適用することがより効果的である。
Here, FIG. 11 is an explanatory view showing a modification of the pixel window used by the noise removing apparatus according to Embodiment 4 of the present invention.
In the pixel window of FIG. 11, the processing target pixel is a pixel (a pixel that is painted black) located between the reference pixel P 22 and the reference pixel P 24 , and this processing target pixel is included in the reference pixel. Not.
Thus, when the pixel to be processed is not included in the reference pixel, the pixel to be processed is isolated point noise (the pixel that has low relevance with the pixels existing around the pixel to be processed and is isolated. ), It is possible to prevent the occurrence of a situation in which the processing target pixel remains as an isolated point.
When such a pixel window is used, it is more effective to apply it to a color signal in which a decrease in resolution is hardly perceived as compared with luminance.

この実施の形態4では、参照画素Pxyとして取り扱う画素が、1画素おきの画素であるものについて示したが、これは一例に過ぎず、2画素や3画素おきの画素であってもよく、所望する出力画像特性に応じて変更可能である。
この場合、画素間隔をあけるほど、隣接画素の処理時に共通して参照する画素が減るため、中低周波のノイズを人間が知覚し難い高周波に変移させることが可能となる。
In the fourth embodiment, the pixels handled as the reference pixels P xy are shown as being every other pixel, but this is only an example, and the pixels may be every two or three pixels. It can be changed according to desired output image characteristics.
In this case, as the pixel interval is increased, the number of pixels that are commonly referred to when processing adjacent pixels decreases, and therefore, it is possible to shift the medium and low frequency noise to a high frequency that is difficult for humans to perceive.

実施の形態5.
上記実施の形態1〜4では、相関度保持部7が相関度Γ算出部6により前回算出された相関度Γ−1(前画素処理時の相関度Γ21)を記憶するものについて示したが、図12に示すように、相関度保持部7が前画素処理時の相関度Γ21のほかに、処理対象画素P22を含むラインより1ライン前の各画素P11,P12,P13の相関度Γ11,Γ12,Γ13を記憶するようにしてもよい。
この場合、相関度Γ算出部6は、前画素処理時の相関度Γ21と1ライン前の各画素P11,P12,P13の相関度Γ11,Γ12,Γ13との平均値Γave(=(Γ21+Γ11+Γ12+Γ13)/4)を求め、その平均値Γaveを処理対象画素P22の相関度Γ−1としてフィルタ処理部8に出力するようにする。
これにより、領域の特徴量である相関度を、左方向だけでなく、4方向(左方向、左上方向、上方向、右上方向)について参照することが可能になり、時定数制御に伴う方向性を緩和することが可能になる。
そのため、上記実施の形態1〜4よりも、フィルタ処理後の画像に処理固有のムラや周波数分布の偏りを低減することができる。
Embodiment 5 FIG.
In the first to fourth embodiments, the correlation degree holding unit 7 stores the correlation degree Γ −1 (correlation degree Γ 21 at the time of previous pixel processing) previously calculated by the correlation degree Γ calculation unit 6. As shown in FIG. 12, in addition to the correlation degree Γ 21 when the correlation degree holding unit 7 performs the previous pixel processing, each pixel P 11 , P 12 , P 13 one line before the line including the processing target pixel P 22 is displayed. The correlation degrees Γ 11 , Γ 12 , and Γ 13 may be stored.
In this case, the correlation degree Γ calculating unit 6 calculates the average value of the correlation degree Γ 21 at the time of the previous pixel processing and the correlation degrees Γ 11 , Γ 12 , Γ 13 of the pixels P 11 , P 12 , P 13 one line before. Γ ave (= (Γ 21 + Γ 11 + Γ 12 + Γ 13 ) / 4) is obtained, and the average value Γ ave is output to the filter processing unit 8 as the correlation degree Γ −1 of the processing target pixel P 22 .
This makes it possible to refer to the degree of correlation, which is a feature quantity of the region, not only in the left direction but also in four directions (left direction, upper left direction, upper direction, upper right direction), and the directionality associated with time constant control. Can be relaxed.
Therefore, processing-specific unevenness and frequency distribution bias can be reduced compared to the first to fourth embodiments.

この実施の形態5では、前画素処理時の相関度Γ21と1ライン前の各画素P11,P12,P13の相関度Γ11,Γ12,Γ13との平均値Γaveを処理対象画素P22の相関度Γ−1としてフィルタ処理部8に出力するものについて示したが、これに限るものではなく、例えば、前画素処理時の相関度Γ21と1ライン前の各画素P11,P12,P13の相関度Γ11,Γ12,Γ13とを重み付け加算し、その重み付け加算値を処理対象画素P22の相関度Γ−1としてフィルタ処理部8に出力するようにしてもよく、同様の効果を奏することができる。 In the fifth embodiment, the correlation value Γ 21 at the time of the previous pixel processing and the average value Γ ave of the correlation degrees Γ 11 , Γ 12 , Γ 13 of the pixels P 11 , P 12 , P 13 one line before are processed. Although what was output to the filter processing unit 8 as the degree of correlation Γ −1 of the target pixel P 22 has been shown, the present invention is not limited to this. For example, the degree of correlation Γ 21 at the time of previous pixel processing and each pixel P one line before 11 , P 12 , P 13 correlations Γ 11 , Γ 12 , Γ 13 are weighted and added, and the weighted addition value is output to the filter processing unit 8 as the correlation degree Γ −1 of the processing target pixel P 22. However, the same effect can be obtained.

上記実施の形態1〜5では、全ての画素に画素値が存在する単一の画像に適用するものについて示したが、これに限るものではなく、例えば、ディジタルカメラのイメージセンサから得られるベイヤー配列の画像に適用して、その画像内の同色画素を対象に処理を行うようにしてもよい。   In Embodiments 1 to 5 described above, the present invention is applied to a single image in which all pixels have pixel values. However, the present invention is not limited to this. For example, a Bayer array obtained from an image sensor of a digital camera is used. The image may be applied to the same image and the process may be performed on the same color pixels in the image.

また、上記実施の形態1〜5では、ディジタルカメラにより入力された画像に重畳されているノイズを除去するものについて示したが、これに限るものではなく、例えば、イメージスキャナなどの画像入力装置により入力された画像や、プリンタやディスプレイ等の画像出力装置から出力された画像に重畳されているノイズを除去するようにしてもよい。   In the above first to fifth embodiments, the noise superposed on the image input by the digital camera has been described. However, the present invention is not limited to this. You may make it remove the noise superimposed on the input image and the image output from image output apparatuses, such as a printer and a display.

1 信号レベル差算出部(第1の相関度算出手段)、2 相関度α算出部(第1の相関度算出手段)、3 画素間距離算出部(第2の相関度算出手段)、4 相関度β算出部(第2の相関度算出手段)、5 フィルタ係数算出部(フィルタ係数算出手段)、6 相関度Γ算出部(第3の相関度算出手段)、7 相関度保持部(相関度記憶手段)、8 フィルタ処理部(フィルタ処理手段)、11 最小相関度特定部(フィルタ処理結果選択手段)、12 フィルタ処理結果選択部(フィルタ処理結果選択手段)、21 変化量算出部(重み付け加算手段)、22 重み付け加算部(重み付け加算手段)。   DESCRIPTION OF SYMBOLS 1 Signal level difference calculation part (1st correlation degree calculation means) 2 Correlation degree alpha calculation part (1st correlation degree calculation means) 3 Inter-pixel distance calculation part (2nd correlation degree calculation means) 4 Correlation Degree β calculating section (second correlation degree calculating means), 5 filter coefficient calculating section (filter coefficient calculating means), 6 correlation degree Γ calculating section (third correlation degree calculating means), 7 correlation degree holding section (correlation degree) Storage unit), 8 filter processing unit (filter processing unit), 11 minimum correlation specifying unit (filter processing result selection unit), 12 filter processing result selection unit (filter processing result selection unit), 21 change amount calculation unit (weighted addition) Means), 22 weighting addition section (weighting addition means).

Claims (7)

2次元画像を構成している複数の画素のうち、画素ウィンドウの中心に存在している処理対象画素と上記処理対象画素の周辺に存在している画素ウィンドウ内の各参照画素との信号レベル差を算出し、上記信号レベル差から上記処理対象画素と各参照画素間の相関度を算出する第1の相関度算出手段と、上記処理対象画素と各参照画素との距離を算出し、上記距離から上記処理対象画素と各参照画素間の相関度を算出する第2の相関度算出手段と、上記第1の相関度算出手段により算出された相関度と上記第2の相関度算出手段により算出された相関度から各参照画素のフィルタ係数を算出するフィルタ係数算出手段と、上記第1の相関度算出手段により算出された相関度と上記第2の相関度算出手段により算出された相関度から上記処理対象画素の相関度を算出する第3の相関度算出手段と、上記第3の相関度算出手段により今回算出された処理対象画素の相関度を記憶する一方、上記第3の相関度算出手段により前回算出されて既に記憶している処理対象画素の相関度を出力する相関度記憶手段と、上記処理対象画素及び各参照画素の信号レベル、上記フィルタ係数算出手段により算出された各参照画素のフィルタ係数及び上記相関度記憶手段から出力された処理対象画素の相関度を用いて、上記処理対象画素に重畳されているノイズを除去するフィルタ処理を実施するフィルタ処理手段とを備えたノイズ除去装置。   The signal level difference between the processing target pixel existing in the center of the pixel window and the reference pixels in the pixel window existing around the processing target pixel among the plurality of pixels constituting the two-dimensional image Calculating a correlation between the processing target pixel and each reference pixel from the signal level difference, and calculating a distance between the processing target pixel and each reference pixel. Second correlation degree calculating means for calculating the correlation degree between the processing target pixel and each reference pixel, the correlation degree calculated by the first correlation degree calculating means, and the second correlation degree calculating means. Filter coefficient calculation means for calculating the filter coefficient of each reference pixel from the calculated correlation degree, correlation degree calculated by the first correlation degree calculation means, and correlation degree calculated by the second correlation degree calculation means The above processing pair The third correlation degree calculation means for calculating the correlation degree of the pixel, and the correlation degree of the processing target pixel calculated this time by the third correlation degree calculation means are stored, while the third correlation degree calculation means calculates the previous time. Correlation degree storage means for outputting the calculated degree of correlation of the processing target pixel, the signal level of the processing target pixel and each reference pixel, and the filter coefficient of each reference pixel calculated by the filter coefficient calculation means And a filter processing means for performing a filter process for removing noise superimposed on the processing target pixel using the correlation degree of the processing target pixel output from the correlation degree storage means. 相互に画素サイズが異なる複数の画素ウィンドウが用意されている場合、複数の画素ウィンドウ毎に、第1から第3の相関度算出手段が相関度の算出処理を実施するとともに、フィルタ係数算出手段がフィルタ係数の算出処理を実施して、フィルタ処理手段がフィルタ処理を実施し、
上記第3の相関度算出手段により今回算出された相関度の中で、前回算出されて相関度記憶手段により記憶されている相関度との変化量が最小の相関度を特定し、上記相関度の算出に用いられた画素ウィンドウに対応する上記フィルタ処理手段のフィルタ処理結果を選択して出力するフィルタ処理結果選択手段を設けたことを特徴とする請求項1記載のノイズ除去装置。
When a plurality of pixel windows having pixel sizes different from each other are prepared, the first to third correlation degree calculation means perform correlation degree calculation processing for each of the plurality of pixel windows, and the filter coefficient calculation means includes Perform the filter coefficient calculation process, the filter processing means performs the filter process,
Among the correlation degrees calculated this time by the third correlation degree calculation means, the correlation degree with the smallest change amount from the correlation degree calculated last time and stored in the correlation degree storage means is specified, and the correlation degree 2. The noise removing apparatus according to claim 1, further comprising filter processing result selecting means for selecting and outputting the filter processing result of the filter processing means corresponding to the pixel window used for calculating the value.
相互に画素サイズが異なる複数の画素ウィンドウが用意されている場合、複数の画素ウィンドウ毎に、第1から第3の相関度算出手段が相関度の算出処理を実施するとともに、フィルタ係数算出手段がフィルタ係数の算出処理を実施して、フィルタ処理手段がフィルタ処理を実施し、
複数の画素ウィンドウ毎に、上記第3の相関度算出手段により今回算出された相関度と前回算出されて相関度記憶手段により記憶されている相関度との変化量を算出し、上記変化量に応じて、上記フィルタ処理手段における画素ウィンドウ毎のフィルタ処理結果を重み付け加算して出力する重み付け加算手段を設けたことを特徴とする請求項1記載のノイズ除去装置。
When a plurality of pixel windows having pixel sizes different from each other are prepared, the first to third correlation degree calculation means perform correlation degree calculation processing for each of the plurality of pixel windows, and the filter coefficient calculation means includes Perform the filter coefficient calculation process, the filter processing means performs the filter process,
For each of the plurality of pixel windows, a change amount between the correlation degree calculated this time by the third correlation degree calculation unit and the correlation degree calculated last time and stored in the correlation degree storage unit is calculated. The noise removing apparatus according to claim 1, further comprising weighted addition means for weighting and adding the filter processing results for each pixel window in the filter processing means.
第1及び第2の相関度算出手段とフィルタ処理手段は、画素ウィンドウ内の画素のうち、処理対象画素に隣接している画素を除く画素を参照画素として取り扱うことを特徴とする請求項1から請求項3のうちのいずれか1項記載のノイズ除去装置。   The first and second correlation degree calculating means and the filter processing means treat a pixel excluding a pixel adjacent to a pixel to be processed among the pixels in the pixel window as a reference pixel. The noise removal device according to claim 3. 相関度記憶手段は、第3の相関度算出手段により前回算出された相関度のほかに、処理対象画素を含むラインより1ライン前の各画素の相関度を記憶して、前回算出された相関度と1ライン前の各画素の相関度との平均値を求め、上記平均値を上記処理対象画素の相関度としてフィルタ処理手段に出力することを特徴とする請求項1から請求項4のうちのいずれか1項記載のノイズ除去装置。   The correlation degree storage means stores the correlation degree of each pixel one line before the line including the processing target pixel in addition to the correlation degree previously calculated by the third correlation degree calculation means, and the correlation calculated the last time The average value of the degree and the degree of correlation of each pixel before one line is obtained, and the average value is output to the filter processing means as the degree of correlation of the pixel to be processed. The noise removal apparatus of any one of these. 相関度記憶手段は、第3の相関度算出手段により前回算出された相関度のほかに、処理対象画素を含むラインより1ライン前の各画素の相関度を記憶して、前回算出された相関度と1ライン前の各画素の相関度とを重み付け加算し、その重み付け加算値を上記処理対象画素の相関度としてフィルタ処理手段に出力することを特徴とする請求項1から請求項4のうちのいずれか1項記載のノイズ除去装置。   The correlation degree storage means stores the correlation degree of each pixel one line before the line including the processing target pixel in addition to the correlation degree previously calculated by the third correlation degree calculation means, and the correlation calculated the last time The degree of correlation and the degree of correlation of each pixel before one line are weighted and added, and the weighted addition value is output to the filter processing means as the degree of correlation of the processing target pixel. The noise removal apparatus of any one of these. 第1の相関度算出手段が2次元画像を構成している複数の画素のうち、画素ウィンドウの中心に存在している処理対象画素と上記処理対象画素の周辺に存在している画素ウィンドウ内の各参照画素との信号レベル差を算出し、上記信号レベル差から上記処理対象画素と各参照画素間の相関度を算出する第1の相関度算出処理ステップと、第2の相関度算出手段が上記処理対象画素と各参照画素との距離を算出し、上記距離から上記処理対象画素と各参照画素間の相関度を算出する第2の相関度算出処理ステップと、フィルタ係数算出手段が上記第1の相関度算出処理ステップで算出された相関度と上記第2の相関度算出処理ステップで算出された相関度から各参照画素のフィルタ係数を算出するフィルタ係数算出処理ステップと、第3の相関度算出手段が上記第1の相関度算出処理ステップで算出された相関度と上記第2の相関度算出処理ステップで算出された相関度から上記処理対象画素の相関度を算出する第3の相関度算出処理ステップと、相関度記憶手段が上記第3の相関度算出処理ステップで今回算出された処理対象画素の相関度を記憶する一方、上記第3の相関度算出処理ステップで前回算出されて既に記憶している処理対象画素の相関度を出力する相関度記憶処理ステップと、フィルタ処理手段が上記処理対象画素及び各参照画素の信号レベル、上記フィルタ係数算出処理ステップで算出された各参照画素のフィルタ係数及び上記相関度記憶処理ステップで出力された処理対象画素の相関度を用いて、上記処理対象画素に重畳されているノイズを除去するフィルタ処理を実施するフィルタ処理ステップとを備えたノイズ除去方法。   Among the plurality of pixels constituting the two-dimensional image by the first correlation degree calculating means, the processing target pixel existing at the center of the pixel window and the pixel window existing around the processing target pixel A first correlation degree calculation processing step of calculating a signal level difference with each reference pixel, and calculating a correlation degree between the processing target pixel and each reference pixel from the signal level difference; and a second correlation degree calculation means, A second correlation degree calculation processing step for calculating a distance between the processing target pixel and each reference pixel and calculating a correlation degree between the processing target pixel and each reference pixel from the distance; A filter coefficient calculation processing step for calculating a filter coefficient of each reference pixel from the correlation degree calculated in one correlation degree calculation processing step and the correlation degree calculated in the second correlation degree calculation processing step; and a third correlation A third correlation degree by which the calculating means calculates the correlation degree of the processing target pixel from the correlation degree calculated in the first correlation degree calculation processing step and the correlation degree calculated in the second correlation degree calculation processing step; The calculation processing step and the correlation degree storage means store the correlation degree of the processing target pixel calculated this time in the third correlation degree calculation processing step, and have already been previously calculated in the third correlation degree calculation processing step. A correlation degree storage processing step for outputting the stored correlation degree of the processing target pixel; and a filter processing means for the signal level of the processing target pixel and each reference pixel, and for each reference pixel calculated in the filter coefficient calculation processing step. Filter processing for removing noise superimposed on the processing target pixel using the filter coefficient and the correlation degree of the processing target pixel output in the correlation degree storage processing step Noise removing method and a filtering step of performing.
JP2009269931A 2009-11-27 2009-11-27 Noise removing apparatus and noise removing method Expired - Fee Related JP5289288B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009269931A JP5289288B2 (en) 2009-11-27 2009-11-27 Noise removing apparatus and noise removing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009269931A JP5289288B2 (en) 2009-11-27 2009-11-27 Noise removing apparatus and noise removing method

Publications (3)

Publication Number Publication Date
JP2011114642A true JP2011114642A (en) 2011-06-09
JP2011114642A5 JP2011114642A5 (en) 2013-01-17
JP5289288B2 JP5289288B2 (en) 2013-09-11

Family

ID=44236647

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009269931A Expired - Fee Related JP5289288B2 (en) 2009-11-27 2009-11-27 Noise removing apparatus and noise removing method

Country Status (1)

Country Link
JP (1) JP5289288B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014179971A (en) * 2013-02-14 2014-09-25 Canon Inc Image processing system, image processing method, and program
CN112308806A (en) * 2020-11-11 2021-02-02 海宁奕斯伟集成电路设计有限公司 Image processing method, image processing device, electronic equipment and readable storage medium
US11282173B2 (en) 2013-02-14 2022-03-22 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and storage medium for reducing noise in a captured image

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05103226A (en) * 1991-10-08 1993-04-23 Matsushita Electric Ind Co Ltd Contour smoothing circuit
JP2001103341A (en) * 1999-07-29 2001-04-13 Sony Corp Signal processing unit and method
JP2006339957A (en) * 2005-06-01 2006-12-14 Nissan Motor Co Ltd Image correction device
JP2008205737A (en) * 2007-02-19 2008-09-04 Olympus Corp Imaging system, image processing program, and image processing method
JP2008271492A (en) * 2007-03-23 2008-11-06 Mitsubishi Electric Corp Noise reducer and reducing method for television video signal
JP2009130537A (en) * 2007-11-21 2009-06-11 Olympus Corp Image processing device and image processing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05103226A (en) * 1991-10-08 1993-04-23 Matsushita Electric Ind Co Ltd Contour smoothing circuit
JP2001103341A (en) * 1999-07-29 2001-04-13 Sony Corp Signal processing unit and method
JP2006339957A (en) * 2005-06-01 2006-12-14 Nissan Motor Co Ltd Image correction device
JP2008205737A (en) * 2007-02-19 2008-09-04 Olympus Corp Imaging system, image processing program, and image processing method
JP2008271492A (en) * 2007-03-23 2008-11-06 Mitsubishi Electric Corp Noise reducer and reducing method for television video signal
JP2009130537A (en) * 2007-11-21 2009-06-11 Olympus Corp Image processing device and image processing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014179971A (en) * 2013-02-14 2014-09-25 Canon Inc Image processing system, image processing method, and program
US10504212B2 (en) 2013-02-14 2019-12-10 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and storage medium
US11282173B2 (en) 2013-02-14 2022-03-22 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and storage medium for reducing noise in a captured image
CN112308806A (en) * 2020-11-11 2021-02-02 海宁奕斯伟集成电路设计有限公司 Image processing method, image processing device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
JP5289288B2 (en) 2013-09-11

Similar Documents

Publication Publication Date Title
EP2574039B1 (en) Image pickup device, image processing device, image processing method, and image processing program
US8406547B2 (en) Visual processing device, visual processing method, program, display device, and integrated circuit
JP6101817B2 (en) Image quality improvement device, image display device, image quality improvement method, and computer program
RU2413384C2 (en) Device of image processing and method of image processing
US8238685B2 (en) Image noise reduction method and image processing apparatus using the same
CN107993189B (en) Image tone dynamic adjustment method and device based on local blocking
JP2004221644A (en) Image processing apparatus and method therefor, recording medium, and program
JP6150899B2 (en) Image quality improvement device, image display device, image quality improvement method, and computer program
JP5289288B2 (en) Noise removing apparatus and noise removing method
JP5781370B2 (en) Image processing apparatus, image processing method, image display apparatus including image processing apparatus, program, and recording medium
WO2014008329A1 (en) System and method to enhance and process a digital image
CN114693526A (en) Directional scaling system and method
US8265419B2 (en) Image processing apparatus and image processing method
JP2005063097A (en) Image signal processing device and method, program, and recording media
US8031945B2 (en) Image-processing device, image-processing method, program of image-processing method, and recording medium recording program of image-processing method
JP6624061B2 (en) Image processing method, image processing device, and recording medium for storing image processing program
JP2006014024A (en) Image processor, image display device using the same, image processing method and program for making computer execute the same
JP7271492B2 (en) Image processing device and image processing method
JP2011134203A (en) Image processing device
JP2006033473A (en) Image processor and image processing program
JP2003219182A (en) Spatial filtering method
JP5846885B2 (en) Image processing apparatus and image processing method
JP4632100B2 (en) Image processing apparatus, image processing method, recording medium, and program
KR20160069452A (en) Image processing device, image processing method and program
JP2012134576A (en) Image processing system and image processing method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121121

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121121

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130408

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130604

R150 Certificate of patent or registration of utility model

Ref document number: 5289288

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees