JP2011041183A - Image processing apparatus and method, and program - Google Patents

Image processing apparatus and method, and program Download PDF

Info

Publication number
JP2011041183A
JP2011041183A JP2009189108A JP2009189108A JP2011041183A JP 2011041183 A JP2011041183 A JP 2011041183A JP 2009189108 A JP2009189108 A JP 2009189108A JP 2009189108 A JP2009189108 A JP 2009189108A JP 2011041183 A JP2011041183 A JP 2011041183A
Authority
JP
Japan
Prior art keywords
intensity
pixel
value
noise
noise removal
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.)
Withdrawn
Application number
JP2009189108A
Other languages
Japanese (ja)
Inventor
Yuichi Hazama
雄一 間
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2009189108A priority Critical patent/JP2011041183A/en
Publication of JP2011041183A publication Critical patent/JP2011041183A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Picture Signal Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To properly eliminate noise in an image. <P>SOLUTION: An average value (average luminance value LALL) of luminance values of all pixels that constitute an image imaged by an imaging part 201 and an average value (average luminance value Lx) of a luminance value of a limited area including the pixels to be processed are supplied from OPD 206 to an strength correction part 207. A noise elimination strength relating to a strength in eliminating noise is supplied from a noise elimination strength control part 205 to the strength correction part 207. The strength correction part 207 multiplies the noise elimination strength by a correction coefficient k calculated from a difference between the average luminance value LALL and the average luminance value Lx to correct the noise elimination strength. A 2DNR processing unit 204 performs a process relating to noise elimination by using the corrected noise elimination strength. This invention applies to an imaging device. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は画像処理装置および方法、並びにプログラムに関し、特に、画像からノイズを除去するときに用いて好適な画像処理装置および方法、並びにプログラムに関する。   The present invention relates to an image processing apparatus, method, and program, and more particularly, to an image processing apparatus, method, and program suitable for use in removing noise from an image.

従来、ビデオカメラ等の撮像装置では、デジタルの入力映像信号のS/N(シグナル/ノイズ)比を向上させる目的で、2次元ノイズリダクション(2DNR)や3次元ノイズリダクション(3DNR)等のノイズ除去を行うノイズ除去回路が採用されていた。図1に、従来の2DNR回路の一例の構成を示す。   Conventionally, in an imaging apparatus such as a video camera, noise removal such as two-dimensional noise reduction (2DNR) and three-dimensional noise reduction (3DNR) is performed for the purpose of improving the S / N (signal / noise) ratio of a digital input video signal. The noise removal circuit which performs was adopted. FIG. 1 shows an exemplary configuration of a conventional 2DNR circuit.

図1に示した2DNR回路10は、撮像部11、AGC(Automatic Gain Control)部12、A/D(Analog/Digital)変換部13、2DNR処理部14、および、ノイズ除去強度制御部15を含む構成とされている。撮像部11で撮像された所定の画像のデータは、AGC部12に供給される。AGC部12は、供給されたデータの信号が強くなると利得を抑えて出力が大きくならないようにし、信号が弱くなると利得を上げて出力が小さくならないように制御することで、一定の強度を有する信号をA/D変換部13とノイズ除去強度制御部15に供給する。   The 2DNR circuit 10 shown in FIG. 1 includes an imaging unit 11, an AGC (Automatic Gain Control) unit 12, an A / D (Analog / Digital) conversion unit 13, a 2DNR processing unit 14, and a noise removal intensity control unit 15. It is configured. Data of a predetermined image captured by the imaging unit 11 is supplied to the AGC unit 12. The AGC unit 12 controls the gain so that the output is not increased by suppressing the gain when the signal of the supplied data becomes strong, and the output is not reduced by increasing the gain when the signal becomes weak. Is supplied to the A / D conversion unit 13 and the noise removal intensity control unit 15.

A/D変換部13は、供給された信号をデジタル信号(データ)に変換し、2DNR処理部14に供給する。ノイズ除去強度制御部15は、ノイズを除去するための強度を、AGC部12からの信号を基に設定し、その設定でノイズ除去をするように、2DNR処理部14に指示する。2DNR処理部14は、ノイズ除去強度制御部15からの指示に基づき、A/D変換部13からの信号からノイズを除去する処理を施す。   The A / D conversion unit 13 converts the supplied signal into a digital signal (data) and supplies it to the 2DNR processing unit 14. The noise removal intensity control unit 15 sets the intensity for removing noise based on the signal from the AGC unit 12, and instructs the 2DNR processing unit 14 to perform noise removal with the setting. The 2DNR processing unit 14 performs processing to remove noise from the signal from the A / D conversion unit 13 based on an instruction from the noise removal intensity control unit 15.

2DNRとは一般的に、ノイズ成分に対して空間的なフィルタ処理を行い、出力画像の S/N 比向上を図るものである。図1に示した2DNR回路10において実行される2DNRのフィルタ処理について 1次元のモデルを用いて簡単に説明する。   In general, 2DNR is intended to improve the S / N ratio of an output image by performing spatial filtering on noise components. The 2DNR filter processing executed in the 2DNR circuit 10 shown in FIG. 1 will be briefly described using a one-dimensional model.

図2に示した5画素からなる配列を例にあげて説明する。図2に示した5画素は、画素nを中央とし、図中右側(x軸プラス方向)に、画素n+1、画素n+2が位置し、図中左側(x軸マイナス方向)に、画素n−1、画素n−2が位置している。この中央の画素nを注目画素としてフィルタ処理を行うとする。このとき、図3Aに示すように、注目画素nの画素値が、周囲の画素n−2,n−1、n+1,n+2のそれぞれの画素値より大きい場合、出力信号の強度は、フィルタ処理により、周囲画素の影響を受け、図3Bに示したような画素値(強度)となる。   An example of the array of five pixels shown in FIG. 2 will be described. The five pixels shown in FIG. 2 have the pixel n as the center, the pixel n + 1 and the pixel n + 2 are located on the right side (x-axis plus direction) in the drawing, and the pixel n−1 on the left side (x-axis minus direction) in the drawing. , Pixel n-2 is located. It is assumed that the filtering process is performed with the central pixel n as a target pixel. At this time, as shown in FIG. 3A, when the pixel value of the target pixel n is larger than the respective pixel values of the surrounding pixels n−2, n−1, n + 1, and n + 2, the intensity of the output signal is obtained by filtering. Under the influence of surrounding pixels, the pixel value (intensity) as shown in FIG. 3B is obtained.

すなわち、注目画素nの画素値は、周囲の画素の画素値が小さいために、その影響を受け、フィルタ処理後の画素値は、入力時の画素値よりも小さくなる。このときの周囲画素の影響の強さをノイズ除去強度αとする。この例の場合、ノイズ除去強度αが大きいほど 注目画素nの出力値は、周辺画素の画素値に近づくことになる。従って、2DNR では 隣接する画素値の差分が小さくなって出力されるため、画の解像感が劣化する可能性があった。   That is, the pixel value of the target pixel n is influenced by the pixel values of surrounding pixels, and the pixel value after the filter processing is smaller than the pixel value at the time of input. The intensity of influence of surrounding pixels at this time is defined as a noise removal intensity α. In this example, the output value of the target pixel n approaches the pixel values of the surrounding pixels as the noise removal strength α increases. Therefore, in 2DNR, since the difference between adjacent pixel values is reduced and output, the resolution of the image may be degraded.

図4は、従来の3DNR回路の一例の構成を示す。図4に示した3DNR回路50は、撮像部51、AGC部52、A/D変換部53、減算部54、減算部55、ノイズ除去部56、ノイズ除去強度制御部57、およびメモリ58を含む構成とされている。撮像部51で撮像された所定の画像のデータは、AGC部52に供給される。AGC部52は、供給されたデータの信号が強くなると利得を抑えて出力が大きくならないようにし、信号が弱くなると利得を上げて出力が小さくならないように制御することで、一定の強度を有する信号をA/D変換部53とノイズ除去強度制御部57に供給する。   FIG. 4 shows an exemplary configuration of a conventional 3DNR circuit. 4 includes an imaging unit 51, an AGC unit 52, an A / D conversion unit 53, a subtraction unit 54, a subtraction unit 55, a noise removal unit 56, a noise removal intensity control unit 57, and a memory 58. It is configured. Data of a predetermined image captured by the imaging unit 51 is supplied to the AGC unit 52. The AGC unit 52 controls the gain so that the output is not increased by suppressing the gain when the signal of the supplied data becomes strong, and the output is not reduced by increasing the gain when the signal becomes weak. Is supplied to the A / D converter 53 and the noise removal intensity controller 57.

A/D変換部53は、供給された信号をデジタル信号(データ)に変換し、減算部54と減算部55に供給する。減算部55には、メモリ58からのデータも供給される。メモリ58には、減算部54からのデータが保存されている。すなわち、メモリ58には、減算部54から出力されたフレームのデータが記憶され、減算部55には、A/D変換部53からの現在のフレームのデータとメモリ58からの過去のフレームのデータが供給される。   The A / D conversion unit 53 converts the supplied signal into a digital signal (data) and supplies the digital signal to the subtraction unit 54 and the subtraction unit 55. Data from the memory 58 is also supplied to the subtraction unit 55. Data from the subtracting unit 54 is stored in the memory 58. That is, the memory 58 stores the data of the frame output from the subtractor 54, and the subtractor 55 stores the current frame data from the A / D converter 53 and the past frame data from the memory 58. Is supplied.

減算部55は、現在のフレームと過去のフレームとの差分を算出し、その差分値をノイズ除去部56に出力する。ノイズ除去部56は、ノイズ除去強度制御部57の指示により差分値から、ノイズ成分を除去する。ノイズ除去強度制御部57は、ノイズを除去するための強度を、AGC部52からの信号を基に設定し、その設定でノイズ除去するように、ノイズ除去部56に指示する。   The subtraction unit 55 calculates a difference between the current frame and the past frame, and outputs the difference value to the noise removal unit 56. The noise removal unit 56 removes a noise component from the difference value according to an instruction from the noise removal intensity control unit 57. The noise removal intensity control unit 57 sets the intensity for removing noise based on the signal from the AGC unit 52 and instructs the noise removal unit 56 to remove noise with the setting.

ノイズ成分が除去された差分値は、減算部54に供給される。減算部54は、A/D変換部53からの信号、すなわち現在のフレームから、ノイズ除去部56からの差分値を減算したデータを、その時点でのフレームのデータとして出力する。   The difference value from which the noise component has been removed is supplied to the subtracting unit 54. The subtractor 54 outputs the signal from the A / D converter 53, that is, the data obtained by subtracting the difference value from the noise remover 56 from the current frame as the data of the frame at that time.

図5を参照し、図4に示した3DNR回路50の処理についてさらに説明を加える。フレームn−1は、メモリ58に記憶されている過去のフレームのデータであり、フレームnは、A/D変換部53から出力される現フレームのデータである。減算部55は、フレームn−1とフレームnの差分値を算出する。算出された差分値を差分値Mnとする。この差分値Mnには、被写体の動きによる変化とランダムノイズが含まれている。   The processing of the 3DNR circuit 50 shown in FIG. 4 will be further described with reference to FIG. Frame n−1 is data of the past frame stored in the memory 58, and frame n is data of the current frame output from the A / D conversion unit 53. The subtracting unit 55 calculates a difference value between the frame n−1 and the frame n. Let the calculated difference value be the difference value Mn. This difference value Mn includes a change due to the movement of the subject and random noise.

ノイズ除去部56は、ノイズによる寄与の大きさを算出し、減算部54 にて現フレームの映像信号(フレームn)からノイズによる寄与のみを除去する。フレームn−1と入力フレームnの差分値Mnに、ノイズ除去強度制御部57からのノイズ除去強度αが乗算されて差分値Mn’が算出され、その差分値Mn’だけの差分を有するフレームnが出力される。   The noise removal unit 56 calculates the magnitude of contribution due to noise, and the subtraction unit 54 removes only the contribution due to noise from the video signal (frame n) of the current frame. A difference value Mn ′ is calculated by multiplying the difference value Mn between the frame n−1 and the input frame n by the noise removal intensity α from the noise removal intensity control unit 57, and a frame n having a difference of only the difference value Mn ′. Is output.

差分値Mnが、ノイズ除去強度制御部57からのノイズ除去強度αが乗算された差分値Mn’とされることにより、減算部54から出力される出力フレームは、被写体の動きによる情報を保持しつつノイズが除去されたものとなる。   Since the difference value Mn is set to a difference value Mn ′ multiplied by the noise removal intensity α from the noise removal intensity control unit 57, the output frame output from the subtraction unit 54 holds information on the movement of the subject. However, the noise is removed.

ところで、ランダムノイズは、撮像部11(撮像部51)を構成するCCD(Charge Coupled Device Image Sensor)などから入力信号を取り出す際に発生するため、その振幅は、入力信号に対しAGC部12(AGC部52)でかける利得(AGCゲイン)の大きさに依存する。そのためノイズ除去強度制御部15(ノイズ除去強度制御部57) にて、AGCゲインの大きさから、動きによる変化とランダムノイズとの閾値(ノイズ除去強度)が算出される。そして、ノイズ除去部56は、ノイズ除去強度を基にノイズ除去制御を行う(例えば、特許文献1参照)。   By the way, random noise is generated when an input signal is extracted from a CCD (Charge Coupled Device Image Sensor) or the like constituting the imaging unit 11 (imaging unit 51), and therefore the amplitude thereof is AGC unit 12 (AGC) with respect to the input signal. Depends on the magnitude of the gain (AGC gain) applied by the unit 52). Therefore, the noise removal strength control unit 15 (noise removal strength control unit 57) calculates a threshold (noise removal strength) between a change due to motion and random noise from the magnitude of the AGC gain. And the noise removal part 56 performs noise removal control based on noise removal intensity | strength (for example, refer patent document 1).

特開2000−196916号公報JP 2000-196916 A

AGCゲインは、処理対象とされた画像内の全画素に均一にかけられるため、ランダムノイズの振幅も、全ての画素で同程度であり、3DNRにおけるノイズ除去の処理も全画素同一のノイズ除去強度にて行われる。ここで高輝度画素と低輝度画素で信号強度に差分がある撮像条件に対して3DNRを適用する場合を考える。高輝度画素の信号強度を強度SH、低輝度画素の信号強度を強度SLとし、3DNRにて出力信号のS/N比をR以下に抑えるものとする。このとき、S/N=Rを実現しうるノイズ振幅はそれぞれNH=SH/R,NL=SL/Rとなる。このようにS/N=Rを実現するノイズ振幅は信号強度によって差分が存在する。   Since the AGC gain is uniformly applied to all pixels in the image to be processed, the amplitude of random noise is the same for all pixels, and the noise removal processing in 3DNR has the same noise removal strength for all pixels. Done. Here, consider a case where 3DNR is applied to an imaging condition in which there is a difference in signal intensity between a high luminance pixel and a low luminance pixel. Assume that the signal intensity of the high-luminance pixel is intensity SH, the signal intensity of the low-luminance pixel is intensity SL, and the S / N ratio of the output signal is suppressed to R or less at 3DNR. At this time, noise amplitudes that can realize S / N = R are NH = SH / R and NL = SL / R, respectively. Thus, there is a difference in the noise amplitude that realizes S / N = R depending on the signal intensity.

一方で前述のとおり、3DNRのノイズ除去強度は全画素で同一とされている。例えば、低輝度画素にてS/N=Rを満たすように3DNRを行う場合、低輝度画素、高輝度画素双方の画素に対して、ノイズ振幅がNHになるように3DNRがかかる。高輝度画素ではNLよりも大きいノイズ振幅NHにてS/N=Rが実現可能であり、S/N=Rに対し過度に3DNRがかかっていることになる。   On the other hand, as described above, the noise removal strength of 3DNR is the same for all pixels. For example, when 3DNR is performed so that S / N = R is satisfied in a low-luminance pixel, 3DNR is applied so that the noise amplitude is NH for both the low-luminance pixel and the high-luminance pixel. In a high luminance pixel, S / N = R can be realized with a noise amplitude NH larger than NL, and 3DNR is excessively applied to S / N = R.

3DNRには、出力画像の動解像度の劣化があることが一般に知られている。従って、それぞれの画素に対し、目標とするS/N比に対し最適なノイズ除去強度にて3DNRを行うことで、動解像度の劣化を最低限に抑えることが必要である。それに対し、従来の3DNRは全画素同一のノイズ除去強度にてノイズ除去が行われるため、一方の画素では適切なノイズ除去が行えても、他方の画素では適切なノイズ除去ではない可能性があった。またこのようなことは、2DNRにおいても発生する可能性があった。   It is generally known that 3DNR has a degradation in dynamic resolution of an output image. Therefore, it is necessary to suppress the degradation of the dynamic resolution to the minimum by performing 3DNR for each pixel with the optimum noise removal strength for the target S / N ratio. In contrast, the conventional 3DNR performs noise removal with the same noise removal strength for all pixels, so even if one pixel can perform appropriate noise removal, the other pixel may not perform proper noise removal. It was. Such a situation may also occur in 2DNR.

本発明は、このような状況に鑑みてなされたものであり、画像内のノイズを適切に除去できるようにすることができるようにするものである。   The present invention has been made in view of such a situation, and makes it possible to appropriately remove noise in an image.

本発明の一側面の画像処理装置は、処理対象とされている画像からノイズを除去するための強度を算出するノイズ除去強度算出手段と、前記画像を構成する全画素の輝度値の平均値である第1の平均輝度値と、前記画像内のノイズを除去する対象とされている画素を含む有限領域内の画素の輝度値の平均値である第2の平均輝度値を取得し、前記第1の平均輝度値と前記第2の平均輝度値の差分を算出する差分値算出手段と、前記差分値算出手段で算出された差分値から、前記ノイズ除去強度算出手段により算出された前記強度を補正するための補正係数を導出する導出手段と、前記導出手段により導出された前記補正係数で前記強度を補正することで、前記ノイズを除去する対象とされている画素に対するノイズ除去のための強度を設定する設定手段とを備える。   An image processing apparatus according to an aspect of the present invention includes a noise removal intensity calculation unit that calculates an intensity for removing noise from an image to be processed, and an average value of luminance values of all pixels constituting the image. Obtaining a first average luminance value and a second average luminance value, which is an average value of the luminance values of pixels in a finite region including the pixel from which noise is to be removed in the image; A difference value calculating means for calculating a difference between an average luminance value of 1 and the second average luminance value; and the intensity calculated by the noise removal intensity calculating means from the difference value calculated by the difference value calculating means. Deriving means for deriving a correction coefficient for correction, and intensity for noise removal with respect to a pixel that is a target for removing the noise by correcting the intensity with the correction coefficient derived by the deriving means. Set And a setting means.

前記導出手段は、前記差分値と前記補正係数との相関に基づく演算を行うことで、前記補正係数を導出するようにすることができる。   The derivation unit can derive the correction coefficient by performing an operation based on a correlation between the difference value and the correction coefficient.

前記差分値と前記補正係数とを関連付けたテーブルであり、前記差分値から一意に前記補正係数を読み出せるテーブルを保持するテーブル保持手段をさらに備え、前記導出手段は、前記テーブル保持手段で保持されている前記テーブルを参照して前記補正係数を導出するようにすることができる。   It is a table in which the difference value and the correction coefficient are associated with each other, further comprising table holding means for holding a table from which the correction coefficient can be uniquely read from the difference value, and the derivation means is held by the table holding means. The correction coefficient can be derived with reference to the table.

前記補正係数は、前記差分値に対し負の依存性を持ち、前記差分値が0のとき1となるようにすることができる。   The correction coefficient has a negative dependency on the difference value, and can be 1 when the difference value is zero.

2DNR(2次元ノイズリダクション)、または3DNR(3次元ノイズリダクション)の処理を行う回路に組み込まれるようにすることができる。   It can be incorporated in a circuit that performs 2DNR (2D noise reduction) or 3DNR (3D noise reduction) processing.

本発明の一側面の画像処理方法は、処理対象とされている画像からノイズを除去するための強度を算出し、前記画像を構成する全画素の輝度値の平均値である第1の平均輝度値と、前記画像内のノイズを除去する対象とされている画素を含む有限領域内の画素の輝度値の平均値である第2の平均輝度値を取得し、前記第1の平均輝度値と前記第2の平均輝度値の差分を算出し、前記差分値から、前記強度を補正するための補正係数を導出し、導出された前記補正係数で前記強度を補正することで、前記ノイズを除去する対象とされている画素に対するノイズ除去のための強度を設定するステップを含む。   An image processing method according to one aspect of the present invention calculates a strength for removing noise from an image to be processed, and a first average luminance that is an average value of luminance values of all pixels constituting the image. A second average luminance value that is an average value of a value and a luminance value of a pixel in a finite area including a pixel that is a target for removing noise in the image, and the first average luminance value The difference between the second average luminance values is calculated, a correction coefficient for correcting the intensity is derived from the difference value, and the intensity is corrected by the derived correction coefficient, thereby removing the noise. A step of setting an intensity for removing noise with respect to a pixel to be processed.

本発明の一側面のプログラムは、処理対象とされている画像からノイズを除去するための強度を算出し、前記画像を構成する全画素の輝度値の平均値である第1の平均輝度値と、前記画像内のノイズを除去する対象とされている画素を含む有限領域内の画素の輝度値の平均値である第2の平均輝度値を取得し、前記第1の平均輝度値と前記第2の平均輝度値の差分を算出し、前記差分値から、前記強度を補正するための補正係数を導出し、導出された前記補正係数で前記強度を補正することで、前記ノイズを除去する対象とされている画素に対するノイズ除去のための強度を設定するステップを含む処理をコンピュータに実行させる。   A program according to one aspect of the present invention calculates a strength for removing noise from an image to be processed, and a first average luminance value that is an average value of luminance values of all pixels constituting the image; , Obtaining a second average luminance value that is an average value of the luminance values of pixels in a finite area including pixels that are targeted for noise removal in the image, and the first average luminance value and the first A target for removing the noise by calculating a difference between two average luminance values, deriving a correction coefficient for correcting the intensity from the difference value, and correcting the intensity with the derived correction coefficient The computer is caused to execute a process including a step of setting an intensity for removing noise with respect to the pixel.

本発明の一側面の画像処理装置および方法、並びにプログラムにおいては、処理対象とされている画像からノイズを除去するための強度が、画像を構成する全画素の輝度値の平均値である第1の平均輝度値と、画像内のノイズを除去する対象とされている画素を含む有限領域内の画素の輝度値の平均値である第2の平均輝度値の差分に依存する補正係数で補正される。その補正係数で補正された強度で、ノイズ除去のための処理が実行される。   In the image processing apparatus, method, and program according to one aspect of the present invention, the intensity for removing noise from an image to be processed is an average value of luminance values of all the pixels constituting the image. Is corrected with a correction coefficient that depends on the difference between the average luminance value of the second average luminance value that is the average value of the luminance values of the pixels in the finite area including the pixel that is the target of removing noise in the image. The A process for noise removal is executed with the intensity corrected by the correction coefficient.

本発明の一側面によれば、画像内のノイズを適切に除去できるようになる。   According to one aspect of the present invention, noise in an image can be appropriately removed.

従来の2DNR回路の一例の構成を示す図である。It is a figure which shows the structure of an example of the conventional 2DNR circuit. 処理対象の画素を含む配列を示す図である。It is a figure which shows the arrangement | sequence containing the pixel of a process target. 信号強度について説明するための図である。It is a figure for demonstrating signal strength. 従来の3DNR回路の一例の構成を示す図である。It is a figure which shows the structure of an example of the conventional 3DNR circuit. 信号強度について説明するための図である。It is a figure for demonstrating signal strength. 本発明を適用した3DNR回路の一実施の形態の構成を示す図である。It is a figure which shows the structure of one Embodiment of the 3DNR circuit to which this invention is applied. 強度補正部の構成を示す図である。It is a figure which shows the structure of an intensity correction part. 処理対象とされる画像の一例を示す図である。It is a figure which shows an example of the image made into a process target. 補正係数について説明するための図である。It is a figure for demonstrating a correction coefficient. 補正係数について説明するための図である。It is a figure for demonstrating a correction coefficient. 補正強度部の処理について説明するためのフローチャートである。It is a flowchart for demonstrating the process of a correction | amendment intensity | strength part. 低輝度領域の画素の処理について説明するための図である。It is a figure for demonstrating the process of the pixel of a low-intensity area | region. 高輝度領域の画素の処理について説明するための図である。It is a figure for demonstrating the process of the pixel of a high-intensity area | region. 高輝度領域の画素の処理について説明するための図である。It is a figure for demonstrating the process of the pixel of a high-intensity area | region. 高輝度領域の画素の処理について説明するための図である。It is a figure for demonstrating the process of the pixel of a high-intensity area | region. 強度補正部の他の構成を示す図である。It is a figure which shows the other structure of an intensity correction part. 本発明を適用した2DNR回路の一実施の形態の構成を示す図である。It is a figure which shows the structure of one Embodiment of the 2DNR circuit to which this invention is applied. 記録媒体について説明するための図である。It is a figure for demonstrating a recording medium.

以下に、本発明の実施の形態について図面を参照して説明する。   Embodiments of the present invention will be described below with reference to the drawings.

ビデオカメラ等の撮像装置では、デジタルの入力映像信号のS/N(シグナル/ノイズ)比を向上させる目的で、2次元ノイズリダクション(2DNR)や3次元ノイズリダクション(3DNR)等のノイズ除去を行うノイズ除去回路が採用されている。本発明は、この2DNRや3DNRに係わる発明である。   In an imaging apparatus such as a video camera, noise removal such as two-dimensional noise reduction (2DNR) and three-dimensional noise reduction (3DNR) is performed for the purpose of improving the S / N (signal / noise) ratio of a digital input video signal. A noise removal circuit is adopted. The present invention relates to 2DNR and 3DNR.

[3DNRの構成について]
図6は、本発明を適用した3DNR回路の一実施の形態の構成を示す図である。図6に示した3DNR回路100は、撮像部101、AGC部102、A/D変換部103、減算部104、減算部105、ノイズ除去部106、ノイズ除去強度制御部107、メモリ108、OPD(Optical Detector)109、および強度補正部110を含む構成とされている。
[Configuration of 3DNR]
FIG. 6 is a diagram showing a configuration of an embodiment of a 3DNR circuit to which the present invention is applied. 6 includes an imaging unit 101, an AGC unit 102, an A / D conversion unit 103, a subtraction unit 104, a subtraction unit 105, a noise removal unit 106, a noise removal intensity control unit 107, a memory 108, an OPD ( Optical Detector) 109 and intensity correction unit 110 are included.

撮像部101は、CCD(Charge Coupled Device Image Sensor)などの撮像素子を含む構成とされ、画像や映像を撮像する。撮像部101で撮像された所定の画像のデータは、AGC部102に供給される。AGC部102は、供給されたデータの信号が強くなると利得を抑えて出力が大きくならないようにし、信号が弱くなると利得を上げて出力が小さくならないように制御することで、一定の強度を有する信号をA/D変換部103とノイズ除去強度制御部107に供給する。   The imaging unit 101 includes an imaging element such as a CCD (Charge Coupled Device Image Sensor) and captures images and videos. Data of a predetermined image captured by the imaging unit 101 is supplied to the AGC unit 102. The AGC unit 102 controls the gain so as not to increase the output by suppressing the gain when the signal of the supplied data becomes strong, and increases the gain to prevent the output from decreasing when the signal becomes weak. Is supplied to the A / D conversion unit 103 and the noise removal intensity control unit 107.

A/D変換部103は、供給された信号をデジタル信号(データ)に変換し、減算部104、減算部105、およびOPD109に供給する。減算部105には、メモリ108からのデータも供給される。メモリ108には、減算部104からのデータが保存されている。メモリ108には、減算部104から出力されたフレームのデータが記憶され、減算部105には、A/D変換部103からの現在のフレームのデータとメモリ108からの過去のフレームのデータが供給される構成とされている。   The A / D conversion unit 103 converts the supplied signal into a digital signal (data) and supplies the digital signal to the subtraction unit 104, the subtraction unit 105, and the OPD 109. Data from the memory 108 is also supplied to the subtraction unit 105. Data from the subtraction unit 104 is stored in the memory 108. The memory 108 stores the data of the frame output from the subtraction unit 104, and the subtraction unit 105 is supplied with the current frame data from the A / D conversion unit 103 and the past frame data from the memory 108. It is supposed to be configured.

減算部105は、現在のフレームと過去のフレームとの差分を算出し、その差分値をノイズ除去部106に出力する。ノイズ除去部106は、強度補正部110からの指示(詳細は後述する)により差分値から、ノイズ成分を除去する。強度補正部110には、ノイズ除去強度制御部107からのデータと、OPD109からのデータが供給される。ノイズ除去強度制御部107は、ノイズを除去するための強度を、AGC部102からの信号を基に設定し、その設定でノイズ除去をするように、ノイズ除去部106に指示するが、本実施の形態においては、ノイズ除去部106に直接指示を出す構成とされておらず、強度補正部110を介して指示が出される構成とされている。   The subtraction unit 105 calculates a difference between the current frame and the past frame, and outputs the difference value to the noise removal unit 106. The noise removal unit 106 removes a noise component from the difference value according to an instruction (details will be described later) from the intensity correction unit 110. The intensity correction unit 110 is supplied with data from the noise removal intensity control unit 107 and data from the OPD 109. The noise removal intensity control unit 107 sets the intensity for removing noise based on the signal from the AGC unit 102, and instructs the noise removal unit 106 to remove noise with the setting. In this embodiment, the instruction is not directly given to the noise removing unit 106, but the instruction is given via the intensity correcting unit 110.

撮像部101を構成するCCDなどから入力信号を取り出す際に発生するため、その振幅は、入力信号に対しAGC部102でかける利得(AGCゲイン)の大きさに依存する。そのためノイズ除去強度制御部107 にて、AGC部102のAGCゲインの大きさから、動きによる変化とランダムノイズとの閾値(ノイズ除去強度α)が算出される。このノイズ除去強度αが、強度補正部110に供給され、補正される。そして、その補正されたノイズ除去強度α’により、ノイズ除去部106は、ノイズを除去する処理を実行する。   Since it occurs when an input signal is taken out from a CCD or the like constituting the imaging unit 101, the amplitude depends on the gain (AGC gain) applied to the input signal by the AGC unit 102. For this reason, the noise removal intensity control unit 107 calculates a threshold (noise removal intensity α) between a change due to motion and random noise from the magnitude of the AGC gain of the AGC unit 102. This noise removal intensity α is supplied to the intensity correction unit 110 and corrected. Then, the noise removal unit 106 performs a process of removing noise based on the corrected noise removal strength α ′.

OPD109は、ある期間、例えば1フィールド期間において輝度信号成分あるいはクロマ信号成分を検波(積分)する。OPD109は、図示していない制御部からの指示に基づき、検波領域を切り出す検波枠信号を生成し、当該検波枠信号を基に検波領域切り出し、この切り出した検波領域のデジタル映像信号、例えば輝度信号を積分し、その輝度積分データを強度補正部110に供給する。   The OPD 109 detects (integrates) a luminance signal component or a chroma signal component in a certain period, for example, one field period. The OPD 109 generates a detection frame signal that cuts out a detection region based on an instruction from a control unit (not shown), cuts out a detection region based on the detection frame signal, and outputs a digital video signal of the cut-out detection region, for example, a luminance signal And the luminance integration data is supplied to the intensity correction unit 110.

強度補正部110には、OPD109から、全画素平均の輝度値と処理対象とされている領域の平均の輝度値が供給される。ここでは、“全画素平均の輝度値”とは、処理対象とされている1フレーム(画像)内の全画素の輝度値の平均値であるとして説明を続ける。また、“処理対象とされている領域”とは、ノイズ除去の対象とされた注目画素を含む領域であり、所定の数の画素を含む有限領域である。   The intensity correction unit 110 is supplied from the OPD 109 with the average luminance value of all pixels and the average luminance value of the area to be processed. Here, the “all pixel average luminance value” is assumed to be the average value of the luminance values of all the pixels in one frame (image) to be processed. In addition, the “region to be processed” is a region including a target pixel that is a target of noise removal, and is a finite region including a predetermined number of pixels.

ノイズ除去部106により、ノイズ成分が除去された差分値は、減算部104に供給される。減算部104は、A/D変換部103からの信号、すなわち現在のフレームから、ノイズ除去部106からの差分値を減算したデータを、その時点でのフレームのデータとして出力する。その出力されたフレームデータは、メモリ108にも供給され、記憶される。   The difference value from which the noise component has been removed by the noise removing unit 106 is supplied to the subtracting unit 104. The subtraction unit 104 outputs the signal from the A / D conversion unit 103, that is, the data obtained by subtracting the difference value from the noise removal unit 106 from the current frame as the data of the frame at that time. The output frame data is also supplied to and stored in the memory 108.

[強度補正部の構成について]
図7は、強度補正部110の構成を示す図である。強度補正部110は、減算部151、係数導出部152、および乗算部153を備える構成とされている。減算部151には、OPD109(図6)から全画素の輝度値の平均値(以下、平均輝度値LALLと記述する)と、ノイズ除去対象の画素を含む有限領域の輝度値の平均値(以下、平均輝度値Lxと記述する)が供給される。減算部151は、供給された平均輝度値Lxから平均輝度値LALLを減算する。
[Configuration of intensity correction unit]
FIG. 7 is a diagram illustrating a configuration of the intensity correction unit 110. The intensity correction unit 110 includes a subtraction unit 151, a coefficient derivation unit 152, and a multiplication unit 153. The subtracting unit 151 includes an average value of luminance values of all pixels (hereinafter referred to as average luminance value LALL) from the OPD 109 (FIG. 6) and an average value of luminance values of a finite region including the pixels to be denoised (hereinafter referred to as “average luminance value LALL”) , Described as an average luminance value Lx). The subtracting unit 151 subtracts the average luminance value LALL from the supplied average luminance value Lx.

すなわち、減算部151は、処理対象とされているフレーム内にある処理対象とされている領域の輝度値の平均値から、フレーム内の全画素の輝度値の平均値を減算する。その減算結果(以下、差分値(Lx−LALL)と記述する)は、係数導出部152に供給される。係数導出部152は、所定の演算式に差分値(Lx−LALL)を代入することで、補正係数kを導出する。導出された補正係数kは、乗算部153に供給される。   That is, the subtraction unit 151 subtracts the average value of the luminance values of all the pixels in the frame from the average value of the luminance values of the processing target area in the processing target frame. The subtraction result (hereinafter referred to as difference value (Lx−LALL)) is supplied to the coefficient deriving unit 152. The coefficient deriving unit 152 derives the correction coefficient k by substituting the difference value (Lx−LALL) into a predetermined arithmetic expression. The derived correction coefficient k is supplied to the multiplier 153.

乗算部153には、ノイズ除去強度制御部107から、ノイズを除去するためのノイズ除去強度αと、係数導出部152からの補正係数kが供給される。乗算部153は、供給されたノイズ除去強度αに補正係数kを乗算することで、補正後のノイズ除去強度α’を算出し、ノイズ除去部106(図6)に供給する。   The multiplier 153 is supplied with the noise removal strength α for removing noise and the correction coefficient k from the coefficient deriving unit 152 from the noise removal strength control unit 107. The multiplier 153 multiplies the supplied noise removal strength α by the correction coefficient k to calculate a corrected noise removal strength α ′ and supplies the calculated noise removal strength α ′ to the noise removal unit 106 (FIG. 6).

除去されるノイズのうち、ランダムノイズは、撮像部101から入力信号を取り出す際に発生するため、その振幅は、入力信号に対しAGC部102でかける利得(AGCゲイン)の大きさに依存する。そのためノイズ除去強度制御部107 にて、AGCゲインの大きさから、動きによる変化とランダムノイズとの閾値(ノイズ除去強度α)が算出される。   Among the noises to be removed, random noise is generated when an input signal is extracted from the imaging unit 101. Therefore, the amplitude depends on the gain (AGC gain) applied to the input signal by the AGC unit 102. Therefore, the noise removal intensity control unit 107 calculates a threshold value (noise removal intensity α) between a change due to motion and random noise from the magnitude of the AGC gain.

ノイズ除去強度制御部107で算出されるノイズ除去強度αは、フレーム内の全画素に対するノイズ除去強度αであるため、必ずしも、フレーム内の全画素に適した強度であるとは限らない。ここで高輝度画素と低輝度画素で信号強度に差分がある撮像条件に対して3DNRを適用する場合を考える。例えば、図8に示したような画像が撮像され、ノイズ除去の対象とされている場合を考える。   Since the noise removal strength α calculated by the noise removal strength control unit 107 is the noise removal strength α for all the pixels in the frame, it is not necessarily the strength suitable for all the pixels in the frame. Here, consider a case where 3DNR is applied to an imaging condition in which there is a difference in signal intensity between a high luminance pixel and a low luminance pixel. For example, consider a case where an image as shown in FIG. 8 is taken and is targeted for noise removal.

図8に示した画像は、右側が、低輝度領域161であり、左側が、高輝度領域162である。低輝度領域内の低輝度画素の信号強度を強度SLとし、高輝度領域162内の高輝度画素の信号強度を強度SHとした場合、3DNRにて出力信号のS/N比をR以下に抑えるとき、S/N=Rを実現しうるノイズ振幅はそれぞれNH=SH/R,NL=SL/Rとなる。このようにS/N=Rを実現するノイズ振幅は信号強度によって差分が存在する。   In the image shown in FIG. 8, the right side is a low luminance region 161 and the left side is a high luminance region 162. When the signal intensity of the low-luminance pixel in the low-luminance area is strength SL and the signal intensity of the high-luminance pixel in the high-luminance area 162 is intensity SH, the S / N ratio of the output signal is suppressed to R or less at 3DNR. Then, the noise amplitudes that can realize S / N = R are NH = SH / R and NL = SL / R, respectively. Thus, there is a difference in the noise amplitude that realizes S / N = R depending on the signal intensity.

一方で前述のとおり、3DNRのノイズ除去強度は全画素で同一とされている。例えば、低輝度画素にてS/N=Rを満たすように3DNRを行う場合、低輝度画素、高輝度画素双方の画素に対して、ノイズ振幅がNHになるように3DNRがかかる。高輝度画素ではNLよりも大きいノイズ振幅NHにてS/N=Rが実現可能であり、S/N=Rに対し過度に3DNRがかかっていることになる。   On the other hand, as described above, the noise removal strength of 3DNR is the same for all pixels. For example, when 3DNR is performed so that S / N = R is satisfied in a low-luminance pixel, 3DNR is applied so that the noise amplitude is NH for both the low-luminance pixel and the high-luminance pixel. In a high luminance pixel, S / N = R can be realized with a noise amplitude NH larger than NL, and 3DNR is excessively applied to S / N = R.

このように、全画素に対して同一のノイズ除去強度αを適用して処理すると、例えば、高輝度の画素に対して適切なノイズ除去強度αであっても、低輝度の画素に対しては不適切なノイズ除去強度αで処理された画像となってしまう可能性がある。   In this way, if the same noise removal strength α is applied to all the pixels and processed, for example, even if the noise removal strength α is appropriate for high luminance pixels, There is a possibility that the image is processed with an inappropriate noise removal strength α.

そこで、輝度の違いにより適切なノイズ除去強度が適用されるように、強度補正部110では、フレーム内の処理対象とされている領域毎に、ノイズ除去強度制御部107からのノイズ除去強度αに、補正係数kを乗算し、その領域にあったノイズ除去強度α’を算出する。強度補正部110がこのように、領域毎にノイズ除去強度α’を算出するので、1つのフレーム(画像)内の全画素に同一のノイズ除去強度αが適用されることなく、1つのフレーム内で、複数のノイズ除去強度α’が、領域毎に、その領域に適した値に設定され、適用される。   Therefore, the intensity correction unit 110 uses the noise removal intensity α from the noise removal intensity control unit 107 for each region to be processed in the frame so that an appropriate noise removal intensity is applied depending on the luminance difference. Then, the correction coefficient k is multiplied to calculate a noise removal intensity α ′ suitable for the region. Since the intensity correction unit 110 calculates the noise removal strength α ′ for each region in this way, the same noise removal strength α is not applied to all the pixels in one frame (image). Thus, a plurality of noise removal strengths α ′ are set and applied to values suitable for each region.

このようなノイズ除去強度αをノイズ除去強度α’に変換するための処理を、強度補正部110は行う。再度図7を参照するに、係数導出部152は、補正係数kを算出するとき、所定の演算式に、差分値(Lx−LALL)を代入することで算出する。ここでは、演算式と表記したが、予め定められた差分値(Lx - LALL)と補正係数kとの相関F(Lx−LALL)に基づき、補正係数kが導出される。
k=F(Lx−LALL)
The intensity correction unit 110 performs processing for converting such noise removal intensity α into noise removal intensity α ′. Referring to FIG. 7 again, the coefficient deriving unit 152 calculates the correction coefficient k by substituting the difference value (Lx−LALL) into a predetermined arithmetic expression. Here, although expressed as an arithmetic expression, the correction coefficient k is derived based on a correlation F (Lx−LALL) between a predetermined difference value (Lx−LALL) and the correction coefficient k.
k = F (Lx-LALL)

この相関は、補正係数kが、差分値(Lx - LALL)に対し負の依存性を持ち、差分値(Lx - LALL)=0 にてk=1 となるように設定されている。差分値(Lx - LALL)と 補正係数kとの相関F(Lx−LALL)の一例を、図9に示す。図9に示した相関は、
差分値(Lx - LALL)=0 のとき k=1
差分値(Lx - LALL)<1 のとき k>1
差分値(Lx - LALL)>1 のとき k<1
の関係を満たしている。
This correlation is set so that the correction coefficient k has a negative dependency on the difference value (Lx−LALL), and k = 1 when the difference value (Lx−LALL) = 0. FIG. 9 shows an example of the correlation F (Lx−LALL) between the difference value (Lx−LALL) and the correction coefficient k. The correlation shown in FIG.
When the difference value (Lx-LALL) = 0, k = 1
When difference value (Lx-LALL) <1, k> 1
When the difference value (Lx-LALL)> 1, k <1
Meet the relationship.

図9に示した補正係数kと差分値(Lx - LALL)の相関は一例であり、限定を示すものではない。図9に示した相関が用いられ、補正係数kが算出される場合、補正後のノイズ除去強度α’は、図10に示したような値をとる。すなわち、処理対象とされている領域の平均輝度値Lxが、処理対象とされているフレーム内の全画素の輝度値の平均輝度値LALLよりも小さい場合(低輝度の場合であり、輝度値が輝度値LLの場合)、ノイズ除去強度制御部107からのノイズ除去強度αは、補正係数kが乗算されることにより、ノイズ除去強度αよりも大きな値を有するノイズ除去強度αLに補正される。   The correlation between the correction coefficient k and the difference value (Lx−LALL) shown in FIG. 9 is an example, and is not a limitation. When the correlation shown in FIG. 9 is used and the correction coefficient k is calculated, the noise removal intensity α ′ after correction takes a value as shown in FIG. That is, when the average luminance value Lx of the region to be processed is smaller than the average luminance value LALL of the luminance values of all the pixels in the frame to be processed (in the case of low luminance, the luminance value is In the case of the luminance value LL), the noise removal strength α from the noise removal strength control unit 107 is corrected to a noise removal strength αL having a value larger than the noise removal strength α by multiplication by the correction coefficient k.

一方、平均輝度値Lxが、平均輝度値LALLよりも大きい場合(高輝度の場合であり、輝度値が輝度値LHである場合)、ノイズ除去強度αは、補正係数kが乗算されることにより、ノイズ除去強度αよりも小さな値を有するノイズ除去強度αHに補正される。平均輝度値Lxが、平均輝度値LALLと同じ場合、ノイズ除去強度αは、補正係数k=1が乗算されることにより、ノイズ除去強度αと同じ値を有するノイズ除去強度αに補正される。   On the other hand, when the average luminance value Lx is larger than the average luminance value LALL (in the case of high luminance and the luminance value is the luminance value LH), the noise removal intensity α is multiplied by the correction coefficient k. The noise removal strength αH having a value smaller than the noise removal strength α is corrected. When the average luminance value Lx is the same as the average luminance value LALL, the noise removal strength α is corrected to the noise removal strength α having the same value as the noise removal strength α by being multiplied by the correction coefficient k = 1.

このように、処理対象とされている領域が、その領域を含む画像全体に対して、低輝度であると判断される場合には、例えば、図8における低輝度領域161であると判断される場合には、ノイズ除去強度が強く補正される。そして、処理対象とされている領域が、その領域を含む画像全体に対して、高輝度であると判断される場合には、例えば、図8における高輝度領域162であると判断される場合には、ノイズ除去強度が弱く補正される。   As described above, when it is determined that the region to be processed has low luminance with respect to the entire image including the region, for example, it is determined that the region is the low luminance region 161 in FIG. In this case, the noise removal strength is strongly corrected. Then, when it is determined that the region to be processed is high brightness with respect to the entire image including the region, for example, when it is determined that it is the high brightness region 162 in FIG. Is corrected with a weak noise removal strength.

このように、補正係数kを算出し、ノイズ除去強度αを補正することで、信号強度が大きく比較的S/N比のよい高輝度領域に対するノイズ除去強度を弱くし、S/N比の悪い低輝度領域に対するノイズ除去強度を強くする、というような各信号のS/N比に応じて、ノイズ除去強度を調節することが可能となる。   Thus, by calculating the correction coefficient k and correcting the noise removal strength α, the noise removal strength for a high luminance region having a large signal strength and a relatively good S / N ratio is weakened, and the S / N ratio is poor. It is possible to adjust the noise removal strength in accordance with the S / N ratio of each signal such as increasing the noise removal strength for the low luminance region.

3DNRでは動解像度の劣化というようにノイズ除去制御には副作用が伴う可能性があるが、本発明を適用することで、S/N比に対してノイズ除去強度の最適化を図られるため、S/N比のよい高輝度領域での副作用の発現を抑えながら、低輝度領域の S/N比の改善を図ることが可能となる。さらに、信号強度の差分の大きい撮像条件、すなわちダイナミックレンジの高い撮像条件にて、より効果的なノイズ除去を行うことが可能となる。   In 3DNR, noise removal control may have side effects such as degradation of dynamic resolution. However, by applying the present invention, noise removal strength can be optimized with respect to the S / N ratio. It is possible to improve the S / N ratio in the low luminance area while suppressing the occurrence of side effects in the high luminance area with a good / N ratio. Furthermore, more effective noise removal can be performed under imaging conditions with a large difference in signal intensity, that is, imaging conditions with a high dynamic range.

このような補正係数kを算出し、ノイズ除去強度αを補正する図7に示した強度補正部110の処理について、図11のフローチャートを参照して説明する。ステップS11において、強度補正部110の減算部151は、OPD109(図6)から、全画素の平均輝度値LALLと、ノイズ除去対象の画素を含む有限領域の平均輝度値Lxを取得する。   The processing of the intensity correction unit 110 shown in FIG. 7 for calculating the correction coefficient k and correcting the noise removal intensity α will be described with reference to the flowchart of FIG. In step S11, the subtraction unit 151 of the intensity correction unit 110 acquires the average luminance value LALL of all the pixels and the average luminance value Lx of the finite region including the pixels to be denoised from the OPD 109 (FIG. 6).

ステップS12において、減算部151は、取得した平均輝度値LALLと平均輝度値Lxとの差分を算出する。ここでは、平均輝度値Lxから平均輝度値LALLが減算されるとして説明を続ける。   In step S12, the subtraction unit 151 calculates a difference between the acquired average luminance value LALL and the average luminance value Lx. Here, the description will be continued assuming that the average luminance value LALL is subtracted from the average luminance value Lx.

仮に、平均輝度値LALLから平均輝度値Lxが減算されるようにした場合、補正係数kと差分値(LALL―Lx)との相関は、図9に示した相関とは逆の相関となるようにすればよい。すなわち、差分値(LALL―Lx)に対し正の依存性を持ち、差分値(Lx - LALL)=0にてk=1 となるように設定される。式で表せば、
差分値(LALL―Lx)=0 のとき k=1
差分値(LALL―Lx)<1 のとき k<1
差分値(LALL―Lx)>1 のとき k>1
の関係を満たす相関であればよい。
If the average luminance value Lx is subtracted from the average luminance value LALL, the correlation between the correction coefficient k and the difference value (LALL-Lx) is opposite to the correlation shown in FIG. You can do it. That is, the difference value (LALL−Lx) is positively dependent, and is set so that k = 1 when the difference value (Lx−LALL) = 0. Expressed as an expression,
When difference value (LALL-Lx) = 0, k = 1
When difference value (LALL-Lx) <1, k <1
When difference value (LALL-Lx)> 1, k> 1
Any correlation that satisfies this relationship may be used.

図11に示したフローチャートの説明に戻り、ステップS12において、減算部151により、平均輝度値Lxから平均輝度値LALLが減算された差分値(Lx - LALL)が算出されると、その差分値(Lx - LALL)は、係数導出部152(図7)に供給される。ステップS13において、係数導出部152は、減算部151からの差分値(Lx - LALL)から、補正係数kを算出する。この算出については、既に説明した通り、差分値(Lx - LALL)と補正係数kの相関により求められる。   Returning to the description of the flowchart shown in FIG. 11, when the difference value (Lx−LALL) obtained by subtracting the average luminance value LALL from the average luminance value Lx is calculated by the subtraction unit 151 in step S12, the difference value ( Lx−LALL) is supplied to the coefficient deriving unit 152 (FIG. 7). In step S <b> 13, the coefficient deriving unit 152 calculates the correction coefficient k from the difference value (Lx−LALL) from the subtracting unit 151. This calculation is obtained from the correlation between the difference value (Lx−LALL) and the correction coefficient k as already described.

ステップS13において、係数導出部152で補正係数kが算出されると、その補正係数kは、乗算部153に供給される。乗算部153は、ノイズ除去強度制御部107からのノイズ除去強度αに、係数導出部152からの補正係数kを乗算することで、補正後のノイズ除去強度α’を算出し、ノイズ除去部106に供給する。   When the correction coefficient k is calculated by the coefficient deriving unit 152 in step S13, the correction coefficient k is supplied to the multiplication unit 153. The multiplier 153 multiplies the noise removal strength α from the noise removal strength control unit 107 by the correction coefficient k from the coefficient derivation unit 152 to calculate a corrected noise removal strength α ′, and the noise removal unit 106. To supply.

このようにして、強度補正部110は、ノイズ除去強度αを補正する。   In this way, the intensity correction unit 110 corrects the noise removal intensity α.

すなわち、本実施の形態においては、ノイズ除去強度制御部107により算出された処理対象とされている画像からノイズを除去するためのノイズ除去強度αが補正される。その補正のために、画像を構成する全画素の輝度値の平均値である平均輝度値LALLと、画像内のノイズを除去する対象とされている画素を含む有限領域内の画素の輝度値の平均値である平均輝度値Lxが取得され、その平均輝度値同士の差分が算出され、その差分値から、ノイズ除去強度αを補正するための補正係数kが導出される。そして、補正係数kがノイズ除去強度αに乗算されることで、ノイズを除去する対象とされている画素に対するノイズ除去のためのノイズ除去強度α’が設定される。   That is, in the present embodiment, the noise removal intensity α for removing noise from the image to be processed calculated by the noise removal intensity control unit 107 is corrected. For the correction, the average luminance value LALL, which is the average value of the luminance values of all the pixels constituting the image, and the luminance values of the pixels in the finite area including the pixel that is the target of removing noise in the image An average luminance value Lx that is an average value is acquired, a difference between the average luminance values is calculated, and a correction coefficient k for correcting the noise removal intensity α is derived from the difference value. Then, by multiplying the noise removal strength α by the correction coefficient k, a noise removal strength α ′ for noise removal is set for the pixel from which noise is to be removed.

さらに、補正係数kは、差分値と補正係数との相関に基づく演算を行うことで導出される。   Further, the correction coefficient k is derived by performing an operation based on the correlation between the difference value and the correction coefficient.

ここで図8に示したような低輝度領域161と高輝度領域162を含む画像に対して、上記したノイズ除去の処理が行われる場合を考える。低輝度領域161の画素による入力信号の信号強度は図12Aのようにランダムノイズにより時間的に変化している。画素nLの信号強度nL、画素nL+1の信号強度nL+1、画素nL+2の信号強度nL+2、画素nL+3の信号強度nL+3は、それぞれ異なる。このように、低輝度領域161内の画素の入力信号の信号強度は、ほぼ同一の値になるような状況であっても、ランダムノイズの影響などで、異なる強度となる。   Here, a case is considered where the above-described noise removal processing is performed on an image including the low luminance region 161 and the high luminance region 162 as shown in FIG. The signal intensity of the input signal by the pixels in the low luminance region 161 changes with time due to random noise as shown in FIG. 12A. The signal intensity nL of the pixel nL, the signal intensity nL + 1 of the pixel nL + 1, the signal intensity nL + 2 of the pixel nL + 2, and the signal intensity nL + 3 of the pixel nL + 3 are different. As described above, the signal strengths of the input signals of the pixels in the low luminance region 161 are different due to the influence of random noise even in a situation where the signal values are almost the same.

図12Bは、現フレームの所定の画素の入力信号の信号強度と、その画素に対応する1フレーム前の画素の出力信号の信号強度の差分値(Mn=INn−OUTn-1)を示す図である。図12Bに示すように、現フレームの画素nLの信号強度nLと、その画素nLに対して1フレーム前の画素の信号強度との差分は0であり、現フレームの画素nL+1の信号強度nL+1と、その画素nL+1に対して1フレーム前の画素の信号強度との差分は差分値ML+1であると算出される。また、現フレームの画素nL+2の信号強度nL+2と、その画素nL+2に対して1フレーム前の画素の信号強度との差分は差分値ML+2であり、現フレームの画素nL+3の信号強度nL+3と、その画素nL+3に対して1フレーム前の画素の信号強度との差分は差分値ML+3であると算出される。   FIG. 12B is a diagram showing a difference value (Mn = INn−OUTn−1) between the signal strength of the input signal of a predetermined pixel in the current frame and the signal strength of the output signal of the pixel one frame before corresponding to the pixel. is there. As shown in FIG. 12B, the difference between the signal strength nL of the pixel nL in the current frame and the signal strength of the pixel one frame before the pixel nL is 0, and the signal strength nL + 1 of the pixel nL + 1 in the current frame is The difference between the pixel nL + 1 and the signal intensity of the pixel one frame before is calculated as a difference value ML + 1. The difference between the signal intensity nL + 2 of the pixel nL + 2 in the current frame and the signal intensity of the pixel one frame before the pixel nL + 2 is a difference value ML + 2, the signal intensity nL + 3 of the pixel nL + 3 in the current frame, and the pixel The difference from the signal intensity of the pixel one frame before with respect to nL + 3 is calculated to be a difference value ML + 3.

このような場合、ノイズ振幅Δnに応じたノイズ除去強度αL(補正係数kが乗算されたノイズ除去強度α’)が設定されることで、そのノイズ除去強度α’内にある、現フレームの入力画素の画素値と、1フレーム前の出力画素の画素値との信号強度の差分である差分値ML+1、差分値ML+2、および差分値ML+3は、それぞれ殆どノイズであると判別される。   In such a case, by setting the noise removal strength αL (noise removal strength α ′ multiplied by the correction coefficient k) corresponding to the noise amplitude Δn, the input of the current frame within the noise removal strength α ′ is set. The difference value ML + 1, the difference value ML + 2, and the difference value ML + 3, which are signal intensity differences between the pixel value of the pixel and the pixel value of the output pixel one frame before, are each determined to be almost noise.

このようなとき、図6に示した3DNR回路100で3DNR処理が施されることで、図12Cに示すような出力信号が出力される。図12Cにおいて、実線は、出力信号の強度を表し、点線は、参考のために記載した入力信号の強度を表す。   In such a case, the 3DNR process is performed by the 3DNR circuit 100 illustrated in FIG. 6, so that an output signal as illustrated in FIG. 12C is output. In FIG. 12C, the solid line represents the intensity of the output signal, and the dotted line represents the intensity of the input signal described for reference.

図12Cにおいて、画素nLの信号強度nLはノイズが除去されることにより信号強度nL’になる。ただし、この画素nLを基準とした場合、信号強度nLと信号強度nL’は同じ強度である。同様に、画素nL+1の信号強度nL+1は、差分値ML+1のうち、ノイズであると判断されたノイズ除去強度αL内の強度分が、信号強度nL+1から減算された信号強度nL+1’とされ出力される。   In FIG. 12C, the signal intensity nL of the pixel nL becomes the signal intensity nL ′ by removing the noise. However, when the pixel nL is used as a reference, the signal intensity nL and the signal intensity nL ′ are the same intensity. Similarly, the signal intensity nL + 1 of the pixel nL + 1 is output as the signal intensity nL + 1 ′ obtained by subtracting the intensity within the noise removal intensity αL determined to be noise from the difference value ML + 1 from the signal intensity nL + 1. .

画素nL+2の信号強度nL+2は、差分値ML+2のうち、ノイズであると判断されたノイズ除去強度αL内の強度分が、信号強度nL+2から減算された信号強度nL+2’とされ出力される。画素nL+3の信号強度nL+3は、差分値ML+3のうち、ノイズであると判断されたノイズ除去強度αL内の強度分が、信号強度nL+3から減算された信号強度nL+3’とされ出力される。   The signal intensity nL + 2 of the pixel nL + 2 is output as the signal intensity nL + 2 ′ obtained by subtracting the intensity within the noise removal intensity αL determined to be noise from the difference value ML + 2 from the signal intensity nL + 2. The signal intensity nL + 3 of the pixel nL + 3 is output as the signal intensity nL + 3 ′ obtained by subtracting the intensity within the noise removal intensity αL determined to be noise from the difference value ML + 3 from the signal intensity nL + 3.

このように、図12Cに示したように、出力信号のS/N比は大きく改善されたものとすることが可能である。   Thus, as shown in FIG. 12C, the S / N ratio of the output signal can be greatly improved.

一方、高輝度領域162の画素による入力信号の信号強度は、低輝度領域161の画素に比べて比較的大きいものとなる。高輝度領域162内における画素値の時間変化において、ノイズによる差分以上に、被写体の動きによる差分の方が支配的である。高輝度領域162の動被写体の動きにより、図13Aに示したような入力信号の時間的変化があったとする。   On the other hand, the signal intensity of the input signal by the pixels in the high luminance region 162 is relatively higher than that of the pixels in the low luminance region 161. In the temporal change of the pixel value in the high luminance region 162, the difference due to the movement of the subject is more dominant than the difference due to noise. Assume that there is a temporal change in the input signal as shown in FIG. 13A due to the movement of the moving subject in the high luminance area 162.

画素nHの信号強度nH、画素nH+1の信号強度nH+1、画素nH+2の信号強度nH+2、画素nH+3の信号強度nH+3は、それぞれ異なる。このような、高輝度領域162内の画素の信号強度の違いは、被写体の動きによる差分、換言すれば、動き量によるところが大きい。   The signal intensity nH of the pixel nH, the signal intensity nH + 1 of the pixel nH + 1, the signal intensity nH + 2 of the pixel nH + 2, and the signal intensity nH + 3 of the pixel nH + 3 are different from each other. Such a difference in the signal intensity of the pixels in the high luminance region 162 is largely due to a difference due to the movement of the subject, in other words, a movement amount.

図13Bは、現フィールドの所定の画素の入力信号の信号強度と、その画素に対応する1フィールド前の画素の入力信号の信号強度の差分値(入力動き量ΔIN=INn−INn-1)を示す図である。   FIG. 13B shows a difference value (input motion amount ΔIN = INn−INn−1) between the signal strength of the input signal of a predetermined pixel in the current field and the signal strength of the input signal of the pixel one field before corresponding to the pixel. FIG.

図13Bに示すように、現フィールドの画素nLの信号強度nLと、その画素nLに対して1フィールド前の画素の信号強度との入力動き量は0である。現フィールドの画素nL+1の信号強度nL+1と、その画素nL+1に対して1フィールド前の画素の信号強度との入力動き量は、入力動き量P1である。現フィールドの画素nL+2の信号強度nL+2と、その画素nL+2に対して1フィールド前の画素の信号強度との入力動き量は、入力動き量P2である。現フィールドの画素nL+3の信号強度nL+3と、その画素nL+3に対して1フィールド前の画素の信号強度との入力動き量は、入力動き量P3である。   As shown in FIG. 13B, the input motion amount between the signal intensity nL of the pixel nL in the current field and the signal intensity of the pixel one field before the pixel nL is zero. The input motion amount between the signal strength nL + 1 of the pixel nL + 1 in the current field and the signal strength of the pixel one field before the pixel nL + 1 is the input motion amount P1. The input motion amount of the signal strength nL + 2 of the pixel nL + 2 in the current field and the signal strength of the pixel one field before the pixel nL + 2 is the input motion amount P2. The input motion amount of the signal strength nL + 3 of the pixel nL + 3 in the current field and the signal strength of the pixel one field before the pixel nL + 3 is the input motion amount P3.

これらの入力動き量P1、入力動き量P2、および入力動き量P3は、それぞれ、動被写体の動きに対応した量である。この量は、ノイズではなく、ノイズ除去処理により除去されない量とする必要がある。   These input motion amount P1, input motion amount P2, and input motion amount P3 are amounts corresponding to the motion of the moving subject. This amount is not noise and needs to be an amount that is not removed by the noise removal process.

ここで、このような入力動き量が得られる状況のときに、本発明を適用していない従来の3DNR回路、例えば、図4に示した3DNR回路50でノイズ除去を行った場合について、図14を参照して説明する。またここでは、このような差分値が算出された高輝度領域162が存在する画像には、低輝度領域161が存在し、図8に示したような画像であるとして説明を続ける。よって、従来の3DNR50においては、低輝度領域161で算出されたノイズ除去強度αL(図12で低輝度領域161内でノイズを除去するときのノイズ除去強度)が、高輝度領域162においても適用される。   Here, in a situation where such an input motion amount is obtained, a case where noise is removed by a conventional 3DNR circuit to which the present invention is not applied, for example, the 3DNR circuit 50 shown in FIG. Will be described with reference to FIG. Here, the description will be continued assuming that the image having the high luminance region 162 for which such a difference value is calculated has the low luminance region 161 and is an image as shown in FIG. Therefore, in the conventional 3DNR 50, the noise removal strength αL calculated in the low luminance region 161 (noise removal strength when noise is removed in the low luminance region 161 in FIG. 12) is also applied to the high luminance region 162. The

図14Aは、低輝度領域161の説明のときに用いた図12Bに対応する図であり、現フレームの所定の画素の入力信号の信号強度と、その画素に対応する1フレーム前の画素の出力信号の信号強度の差分値(Mn=INn−OUTn-1)を示す図である。   FIG. 14A is a diagram corresponding to FIG. 12B used in the description of the low luminance region 161. The signal intensity of the input signal of a predetermined pixel in the current frame and the output of the pixel one frame before that corresponding to that pixel It is a figure which shows the difference value (Mn = INn-OUTn-1) of the signal strength of a signal.

図14Aに示すように、現フレームの画素nHの信号強度nHと、その画素nHに対して1フレーム前の画素の信号強度との差分は0である。現フレームの画素nH+1の信号強度nH+1と、その画素nH+1に対して1フレーム前の画素の信号強度との差分は、差分値MH+1’である。現フレームの画素nH+2の信号強度nH+2と、その画素nH+2に対して1フレーム前の画素の信号強度との差分は、差分値MH+2’である。現フレームの画素nH+3の信号強度nH+3と、その画素nH+3に対して1フレーム前の画素の信号強度との差分は、差分値MH+3’である。   As shown in FIG. 14A, the difference between the signal intensity nH of the pixel nH in the current frame and the signal intensity of the pixel one frame before the pixel nH is zero. The difference between the signal intensity nH + 1 of the pixel nH + 1 in the current frame and the signal intensity of the pixel one frame before the pixel nH + 1 is a difference value MH + 1 ′. The difference between the signal intensity nH + 2 of the pixel nH + 2 in the current frame and the signal intensity of the pixel one frame before the pixel nH + 2 is a difference value MH + 2 ′. The difference between the signal intensity nH + 3 of the pixel nH + 3 in the current frame and the signal intensity of the pixel one frame before the pixel nH + 3 is a difference value MH + 3 ′.

このような場合、ノイズ振幅Δnに応じたノイズ除去強度αLが設定され、すなわち、従来の3DNR回路50では、処理対象とされている画像内の全画素に対して同一のノイズ除去強度αLが設定され、ノイズ除去の処理が実行される。そのため、その出力信号の強度は、図14Bに示したようになる。   In such a case, the noise removal strength αL corresponding to the noise amplitude Δn is set, that is, in the conventional 3DNR circuit 50, the same noise removal strength αL is set for all the pixels in the image to be processed. Then, the noise removal process is executed. Therefore, the intensity of the output signal is as shown in FIG. 14B.

図14Bにおいて、画素nHの信号強度nHはノイズが除去されることにより信号強度nH’になる。ただし、この画素nHを基準とした場合、信号強度nHと信号強度nH’は同じ強度である。同様に、画素nH+1の信号強度nH+1は、差分値MH+1のうち、ノイズであると判断されたノイズ除去強度αL内の強度分が、信号強度nH+1から減算された信号強度nH+1’とされ出力される。   In FIG. 14B, the signal intensity nH of the pixel nH becomes the signal intensity nH ′ by removing the noise. However, when the pixel nH is used as a reference, the signal intensity nH and the signal intensity nH ′ are the same intensity. Similarly, the signal intensity nH + 1 of the pixel nH + 1 is output as the signal intensity nH + 1 ′ obtained by subtracting the intensity within the noise removal intensity αL determined to be noise from the difference value MH + 1 from the signal intensity nH + 1. .

画素nH+2の信号強度nH+2は、差分値MH+2のうち、ノイズであると判断されたノイズ除去強度αL内の強度分が、信号強度nH+2から減算された信号強度nH+2’とされ出力される。画素nH+3の信号強度nH+3は、差分値MH+3のうち、ノイズであると判断されたノイズ除去強度αL内の強度分が、信号強度nH+3から減算された信号強度nH+3’とされ出力される。   The signal intensity nH + 2 of the pixel nH + 2 is output as the signal intensity nH + 2 ′ obtained by subtracting the intensity within the noise removal intensity αL determined to be noise from the difference value MH + 2 from the signal intensity nH + 2. The signal intensity nH + 3 of the pixel nH + 3 is output as the signal intensity nH + 3 ′ obtained by subtracting the intensity within the noise removal intensity αL determined to be noise from the difference value MH + 3 from the signal intensity nH + 3.

図14Cは、現フィールドの所定の画素の出力信号の信号強度と、その所定の画素に対応し、1フィールド前の出力信号の信号強度との差分 (出力動き量ΔOUT=OUTn−OUTn-1)を表す図である。   FIG. 14C shows the difference between the signal strength of the output signal of a predetermined pixel in the current field and the signal strength of the output signal of the previous field corresponding to the predetermined pixel (output motion amount ΔOUT = OUTn−OUTn−1). FIG.

図14Cに示すように、現フィールドの画素nHの出力信号の信号強度nH’と、その画素nHに対して1フィールド前の画素の出力信号の信号強度との出力動き量は0である。現フィールドの画素nH+1の出力信号の信号強度nH+1’と、その画素nH+1’に対して1フィールド前の画素の出力信号の信号強度との出力動き量は出力動き量P1’である。   As shown in FIG. 14C, the output motion amount between the signal intensity nH ′ of the output signal of the pixel nH in the current field and the signal intensity of the output signal of the pixel one field before the pixel nH is zero. The output motion amount P1 'is an output motion amount between the signal strength nH + 1' of the output signal of the pixel nH + 1 in the current field and the signal strength of the output signal of the pixel one field before the pixel nH + 1 '.

現フィールドの画素nH+2の出力信号の信号強度nH+2’と、その画素nH+2’に対して1フィールド前の画素の出力信号の信号強度との出力動き量は出力動き量P2’である。現フィールドの画素nH+3の出力信号の信号強度nH+3’と、その画素nH+3’に対して1フィールド前の画素の出力信号の信号強度との出力動き量は出力動き量P3’である。   The amount of output motion between the signal strength nH + 2 'of the output signal of the pixel nH + 2 in the current field and the signal strength of the output signal of the pixel one field before the pixel nH + 2' is the output motion amount P2 '. The output motion amount P3 'is the output motion amount P3' between the signal strength nH + 3 'of the output signal of the pixel nH + 3 in the current field and the signal strength of the output signal of the pixel one field before the pixel nH + 3'.

この出力動き量P1’、出力動き量P2’、出力動き量P3’の絶対値は、それぞれ、入力動き量P1、入力動き量P2、入力動き量P3(図13B)の絶対値と比較して小さくなる傾向にある。例えば、図13Bに示した、入力動き量P2が有限の大きさを有しているのに対して、図14Cに示した、出力動き量P2’は0となっている。これは入力信号に対して、出力信号の動解像度が劣化していることを意味している。   The absolute values of the output motion amount P1 ′, the output motion amount P2 ′, and the output motion amount P3 ′ are respectively compared with the absolute values of the input motion amount P1, the input motion amount P2, and the input motion amount P3 (FIG. 13B). It tends to be smaller. For example, the input motion amount P2 shown in FIG. 13B has a finite size, whereas the output motion amount P2 ′ shown in FIG. 14C is zero. This means that the dynamic resolution of the output signal is degraded with respect to the input signal.

このように従来の3DNR回路50(図4)でノイズ除去の処理を実行したときには、1フレーム(1フィールド)内の全ての画素に対して、同一の強度でノイズ除去の処理が実行されるため、低輝度領域のS/N比の改善に伴い、高輝度領域での動解像度の劣化が起こる可能性があった。   As described above, when the noise removal processing is executed by the conventional 3DNR circuit 50 (FIG. 4), the noise removal processing is executed with the same intensity for all the pixels in one frame (one field). With the improvement of the S / N ratio in the low brightness area, there is a possibility that the dynamic resolution in the high brightness area may deteriorate.

しかしながら、図15を参照して説明するように、本発明を適用した3DNR回路100(図6)によれば、低輝度領域のS/N比の改善に伴い、高輝度領域での動解像度の劣化が起こる可能性を低減させることが可能となる。   However, as described with reference to FIG. 15, according to the 3DNR circuit 100 (FIG. 6) to which the present invention is applied, the dynamic resolution in the high luminance region is improved with the improvement of the S / N ratio in the low luminance region. It is possible to reduce the possibility of deterioration.

図8に示したような画像を処理する場合、低輝度領域161の平均輝度値を平均輝度値LL、高輝度領域162の平均輝度値を平均輝度値LH、画面全体の平均輝度値を平均輝度値LALLとすると、
平均輝度値LH>平均輝度値LALL>平均輝度値LL
なる関係が成り立つ。
When processing an image as shown in FIG. 8, the average luminance value LL is the average luminance value of the low luminance region 161, the average luminance value LH is the average luminance value of the high luminance region 162, and the average luminance value is the average luminance value of the entire screen. If the value is LALL,
Average luminance value LH> Average luminance value LALL> Average luminance value LL
The relationship becomes true.

図15Aは低輝度領域161の説明のときに用いた図12Bに対応する図であり、現フレームの所定の画素の入力信号の信号強度と、その画素に対応する1フレーム前の画素の出力信号の信号強度の差分値(Mn=INn−OUTn-1)を示す図である。   FIG. 15A is a diagram corresponding to FIG. 12B used in the description of the low luminance region 161. The signal intensity of the input signal of a predetermined pixel in the current frame and the output signal of the pixel one frame before corresponding to the pixel are shown. It is a figure which shows the difference value (Mn = INn-OUTn-1) of signal intensity | strength.

図15Aに示すように、現フレームの画素nHの入力信号の信号強度nHと、その画素nHに対して1フレーム前の画素の信号強度との差分は0であり、現フレームの画素nH+1の入力信号の信号強度nH+1と、その画素nH+1に対して1フレーム前の画素の出力信号の信号強度との差分は、差分値MH+1”である。   As shown in FIG. 15A, the difference between the signal strength nH of the input signal of the pixel nH of the current frame and the signal strength of the pixel one frame before the pixel nH is 0, and the input of the pixel nH + 1 of the current frame The difference between the signal strength nH + 1 of the signal and the signal strength of the output signal of the pixel one frame before the pixel nH + 1 is a difference value MH + 1 ″.

現フレームの画素nH+2の入力信号の信号強度nH+2と、その画素nH+2に対して1フレーム前の画素の出力信号の信号強度との差分は、差分値MH+2”である。現フレームの画素nH+3の入力信号の信号強度nH+3と、その画素nH+3に対して1フレーム前の画素の出力信号の信号強度との差分は、差分値MH+3”である。   The difference between the signal strength nH + 2 of the input signal of the pixel nH + 2 in the current frame and the signal strength of the output signal of the pixel one frame before the pixel nH + 2 is the difference value MH + 2 ″. Input of the pixel nH + 3 of the current frame The difference between the signal strength nH + 3 of the signal and the signal strength of the output signal of the pixel one frame before the pixel nH + 3 is a difference value MH + 3 ″.

図14Aと図15Aを比較すると異なることがわかる。例えば、差分値MH+3’と差分値MH+3”は異なる値となっている。図14Aと図15Aは、ともに、図13Aに示したような入力信号強度の入力信号が入力されたときの差分値であるが、出力信号が異なるため、現フレームの所定の画素の入力信号の信号強度と、その画素に対応する1フレーム前の画素の出力信号の信号強度の差分値は異なる値となる。   It can be seen that FIG. 14A and FIG. 15A are different. For example, the difference value MH + 3 ′ and the difference value MH + 3 ″ are different values. Both FIG. 14A and FIG. 15A are difference values when an input signal having an input signal strength as shown in FIG. 13A is input. However, since the output signals are different, the difference value between the signal strength of the input signal of a predetermined pixel in the current frame and the signal strength of the output signal of the pixel one frame before corresponding to the pixel is different.

このような場合、ノイズ振幅Δnに応じたノイズ除去強度αH(補正係数kが乗算されたノイズ除去強度α”)を設定されてノイズ除去の処理が実行されるため、その出力信号の強度は、図15Bに示したようになる。   In such a case, the noise removal strength αH (noise removal strength α ″ multiplied by the correction coefficient k) corresponding to the noise amplitude Δn is set and the noise removal processing is executed. As shown in FIG. 15B.

図15Bにおいて、画素nHの入力信号の信号強度nHは、ノイズが除去されることにより信号強度nH”になる。ただし、この画素nHを基準とした場合、信号強度nHと信号強度nH”は同じ強度である。同様に、画素nH+1の入力信号の信号強度nH+1は、差分値MH+1”のうち、ノイズであると判断されたノイズ除去強度αH内の強度分が、信号強度nH+1から減算された信号強度nH+1”とされ出力される。   In FIG. 15B, the signal intensity nH of the input signal of the pixel nH becomes the signal intensity nH ″ by removing noise. However, when the pixel nH is used as a reference, the signal intensity nH and the signal intensity nH ″ are the same. It is strength. Similarly, the signal intensity nH + 1 of the input signal of the pixel nH + 1 is the signal intensity nH + 1 ″ obtained by subtracting the intensity within the noise removal intensity αH determined to be noise from the difference value MH + 1 ″ from the signal intensity nH + 1. And output.

画素nH+2の入力信号の信号強度nH+2は、差分値MH+2”のうち、ノイズであると判断されたノイズ除去強度αH内の強度分が、信号強度nH+2から減算された信号強度nH+2”とされ出力される。画素nH+3の入力信号の信号強度nH+3は、差分値MH+3”のうち、ノイズであると判断されたノイズ除去強度αH内の強度分が、信号強度nH+3から減算された信号強度nH+3”とされ出力される。   The signal intensity nH + 2 of the input signal of the pixel nH + 2 is output as the signal intensity nH + 2 ″ obtained by subtracting the intensity within the noise removal intensity αH determined to be noise from the difference value MH + 2 ″ from the signal intensity nH + 2. The The signal intensity nH + 3 of the input signal of the pixel nH + 3 is output as the signal intensity nH + 3 ″ obtained by subtracting the intensity within the noise removal intensity αH determined to be noise from the difference value MH + 3 ″ from the signal intensity nH + 3. The

ノイズ除去強度αHは、図14Aに示したノイズ除去強度αLと比較して、小さい値であることがわかる。これは、上述したように、同一画像内に低輝度領域161と高輝度領域162が存在するような場合、補正係数が乗算されることで、低輝度領域161内に適用するノイズ除去強度αLの方が、高輝度領域162内に適用するノイズ除去強度αHのよりも大きな値になるように設定されているからである。   It can be seen that the noise removal strength αH is smaller than the noise removal strength αL shown in FIG. 14A. As described above, when the low luminance region 161 and the high luminance region 162 exist in the same image, the noise removal intensity αL applied to the low luminance region 161 is multiplied by the correction coefficient. This is because the value is set to be larger than the noise removal intensity αH applied in the high luminance region 162.

よって、高輝度領域162内では、ノイズ成分は除去されるが、動き成分は除去されず、適切なノイズ除去が行われる。その結果、図15Bに示すような強度を有する出力信号が出力され、図15Cに示すような出力動き量が得られることになる。   Therefore, in the high luminance region 162, the noise component is removed, but the motion component is not removed, and appropriate noise removal is performed. As a result, an output signal having an intensity as shown in FIG. 15B is output, and an output motion amount as shown in FIG. 15C is obtained.

図15Cは、現フィールドの所定の画素の出力信号の信号強度と、その所定の画素に対応し、1フィールド前の出力信号の信号強度との差分 (出力動き量ΔOUT=OUTn−OUTn-1)を表す図である。   FIG. 15C shows the difference between the signal intensity of the output signal of a predetermined pixel in the current field and the signal intensity of the output signal of the previous field corresponding to the predetermined pixel (output motion amount ΔOUT = OUTn−OUTn−1). FIG.

図15Cに示すように、現フィールドの画素nHの出力信号の信号強度nH”と、その画素nHに対して1フィールド前の画素の出力信号の信号強度との出力動き量は0である。現フィールドの画素nH+1の出力信号の信号強度nH+1”と、その画素nH+1”に対して1フィールド前の画素の出力信号の信号強度との出力動き量は出力動き量P1”である。   As shown in FIG. 15C, the output motion amount between the signal intensity nH ″ of the output signal of the pixel nH in the current field and the signal intensity of the output signal of the pixel one field before the pixel nH is 0. The amount of output motion between the signal strength nH + 1 ″ of the output signal of the pixel nH + 1 in the field and the signal strength of the output signal of the pixel one field before the pixel nH + 1 ″ is the output motion amount P1 ″.

現フィールドの画素nH+2の出力信号の信号強度nH+2”と、その画素nH+2”に対して1フィールド前の画素の出力信号の信号強度との出力動き量は出力動き量P2”である。現フィールドの画素nH+3の出力信号の信号強度nH+3”と、その画素nH+3”に対して1フィールド前の画素の出力信号の信号強度との出力動き量は出力動き量P3”である。   The output motion amount between the signal strength nH + 2 ″ of the output signal of the pixel nH + 2 in the current field and the signal strength of the output signal of the pixel one field before the pixel nH + 2 ″ is the output motion amount P2 ″. The output motion amount between the signal strength nH + 3 ″ of the output signal of the pixel nH + 3 and the signal strength of the output signal of the pixel one field before the pixel nH + 3 ″ is the output motion amount P3 ″.

本発明を適用した3DNR回路100で、ノイズ除去強度αHにて3DNRの処理を行った場合、出力動き量ΔOUTと入力動き量ΔINとの差分は、従来の3DNR回路50でノイズ除去強度αLにて3DNRの処理を行ったときと比べて小さくなる。例えば、図15Cに示した出力動き量P3”と例えば、図13Bに示した入力動き量P3との差分(3DNR回路100で処理した場合の差分)は、例えば、図14Cに示した出力動き量P3’と例えば、図13Bに示した入力動き量P1との差分(3DNR回路50で処理した場合の差分)よりも小さいものとなる。   When 3DNR processing is performed with the noise removal strength αH in the 3DNR circuit 100 to which the present invention is applied, the difference between the output motion amount ΔOUT and the input motion amount ΔIN is the noise removal strength αL in the conventional 3DNR circuit 50. This is smaller than when 3DNR processing is performed. For example, the difference between the output motion amount P3 ″ shown in FIG. 15C and the input motion amount P3 shown in FIG. 13B (difference when processed by the 3DNR circuit 100) is, for example, the output motion amount shown in FIG. 14C. For example, the difference is smaller than the difference between P3 ′ and the input motion amount P1 shown in FIG. 13B (difference when processed by the 3DNR circuit 50).

このことは、本発明を用いて3DNRでノイズ除去の処理を行うことで、高輝度領域の動解像度の劣化を抑えながら、低輝度領域におけるS/N比の改善を行うことが可能となることを示している。すなわち、1つの画像内に、高輝度の領域と低輝度の領域が存在しているような場合であっても、その高輝度の領域と低輝度の領域の両方に適したノイズ除去を適切に行うことが可能となる。   This means that by performing noise removal processing with 3DNR using the present invention, it is possible to improve the S / N ratio in the low luminance region while suppressing deterioration of the dynamic resolution in the high luminance region. Is shown. In other words, even if there is a high-brightness region and a low-brightness region in one image, noise removal suitable for both the high-brightness region and the low-brightness region is properly performed. Can be done.

[強度補正部の他の構成について]
図7に示した強度補正部110においては、処理対象とされているフレーム内にある処理対象とされている領域の輝度値の平均値である平均輝度値Lxから、フレーム内の全画素の輝度値の平均値である平均輝度値LALLを減算した差分値(Lx−LALL)と、補正係数kとの相関F(Lx−LALL)に基づき、補正係数kが導出されるとして説明した。換言すれば、差分値(Lx−LALL)を所定の演算式に代入し、演算することで、補正係数kが算出されるとして説明した。
[Other configurations of intensity correction unit]
In the intensity correction unit 110 illustrated in FIG. 7, the luminance of all the pixels in the frame is calculated from the average luminance value Lx that is the average value of the luminance values of the processing target area in the processing target frame. It has been described that the correction coefficient k is derived based on the correlation value F (Lx−LALL) between the difference value (Lx−LALL) obtained by subtracting the average luminance value LALL, which is the average value, and the correction coefficient k. In other words, it has been described that the correction coefficient k is calculated by substituting the difference value (Lx−LALL) into a predetermined arithmetic expression and performing the calculation.

この相関関係を、予めテーブルとして保持し、そのテーブルが参照されることで、補正係数kが算出されるようにしても良い。テーブルを保持し、そのテーブルが参照されて補正係数kが算出されるようにした場合、強度補正部110の構成は、図16に示したようになる。   The correlation may be stored in advance as a table, and the correction coefficient k may be calculated by referring to the table. When the table is held and the correction coefficient k is calculated by referring to the table, the configuration of the intensity correction unit 110 is as shown in FIG.

図16は、強度補正部110の他の構成を示す図である。図16に示した強度補正部110は、減算部171、係数導出部172、乗算部173、およびテーブル保持部174を備える構成とされている。減算部171には、OPD109(図6)から全画素の輝度値の平均値である平均輝度値LALLと、ノイズ除去対象を含む有限領域の輝度値の平均値である平均輝度値Lxが供給される。減算部171は、供給された平均輝度値Lxから平均輝度値LALLを減算する。   FIG. 16 is a diagram illustrating another configuration of the intensity correction unit 110. The intensity correction unit 110 illustrated in FIG. 16 includes a subtraction unit 171, a coefficient derivation unit 172, a multiplication unit 173, and a table holding unit 174. The subtraction unit 171 is supplied from the OPD 109 (FIG. 6) with an average luminance value LALL that is an average value of luminance values of all pixels and an average luminance value Lx that is an average value of luminance values of a finite area including a noise removal target. The The subtracting unit 171 subtracts the average luminance value LALL from the supplied average luminance value Lx.

すなわち、減算部171は、処理対象とされているフレーム内にある処理対象とされている領域の輝度値の平均値から、フレーム内の全画素の輝度値の平均値を減算する。その減算結果である差分値(Lx−LALL)は、係数導出部172に供給される。係数導出部172は、テーブル保持部174を参照し、差分値(Lx−LALL)に対応する補正係数kを導出する。テーブル保持部174が保持するテーブルは、差分値(Lx−LALL)と補正係数kが関連付けられているテーブルであり、差分値(Lx−LALL)から一意に補正係数kを読み出せるテーブルである。   That is, the subtracting unit 171 subtracts the average value of the luminance values of all the pixels in the frame from the average value of the luminance values of the processing target area in the processing target frame. The difference value (Lx−LALL) as the subtraction result is supplied to the coefficient deriving unit 172. The coefficient deriving unit 172 refers to the table holding unit 174 and derives a correction coefficient k corresponding to the difference value (Lx−LALL). The table held by the table holding unit 174 is a table in which the difference value (Lx−LALL) and the correction coefficient k are associated, and is a table from which the correction coefficient k can be uniquely read from the difference value (Lx−LALL).

テーブルに書き込まれている補正係数kは、図7に示した強度補正部110の説明でした、図9に示すような相関関係を満たす。すなわち、補正係数kは、差分値(Lx - LALL)に対し負の依存性を持ち、差分値(Lx - LALL)=0 にてk=1 となるように設定されている。差分値(Lx - LALL)と補正係数kとの相関を満たす補正係数kが差分値(Lx - LALL)と関連付けられてテーブルに記載されている。図9に示した相関は、
差分値(Lx - LALL)=0 のとき k=1
差分値(Lx - LALL)<1 のとき k>1
差分値(Lx - LALL)>1 のとき k<1
の関係を満たし、この関係を満たす補正係数kが差分値(Lx - LALL)と関連付けられてテーブルに記載されている。
The correction coefficient k written in the table satisfies the correlation as shown in FIG. 9, which is the description of the intensity correction unit 110 shown in FIG. That is, the correction coefficient k has a negative dependency on the difference value (Lx−LALL), and is set so that k = 1 when the difference value (Lx−LALL) = 0. The correction coefficient k satisfying the correlation between the difference value (Lx−LALL) and the correction coefficient k is described in the table in association with the difference value (Lx−LALL). The correlation shown in FIG.
When the difference value (Lx-LALL) = 0, k = 1
When difference value (Lx-LALL) <1, k> 1
When the difference value (Lx-LALL)> 1, k <1
The correction coefficient k satisfying this relationship is described in the table in association with the difference value (Lx−LALL).

図16に示した強度補正部110の説明に戻り、テーブル保持部174が参照されて導出された補正係数kは、乗算部173に供給される。乗算部173には、ノイズ除去強度制御部107から、ノイズを除去するためのノイズ除去強度αと、係数導出部172からの補正係数kが供給される。乗算部173は、供給されたノイズ除去強度αに補正係数kを乗算することで、補正後のノイズ除去強度α’を算出し、ノイズ除去部106(図6)に供給する。   Returning to the description of the intensity correction unit 110 illustrated in FIG. 16, the correction coefficient k derived by referring to the table holding unit 174 is supplied to the multiplication unit 173. The multiplication unit 173 is supplied with the noise removal strength α for removing noise and the correction coefficient k from the coefficient deriving unit 172 from the noise removal strength control unit 107. The multiplier 173 multiplies the supplied noise removal strength α by the correction coefficient k to calculate a corrected noise removal strength α ′ and supplies the calculated noise removal strength α ′ to the noise removal unit 106 (FIG. 6).

基本的な動作は、図7に示した強度補正部110と同様であるが、補正係数kが、テーブルを参照して導出される点が異なる。図16に示した強度補正部110も、図11に示したフローチャートに基づいて処理を行うため、その説明は省略する。ただし、ステップS13において行われる補正係数kの導出に関する処理は、テーブル保持部174に保持されているテーブルが参照されて行われる点が異なる。   The basic operation is the same as that of the intensity correction unit 110 shown in FIG. 7 except that the correction coefficient k is derived with reference to the table. Since the intensity correction unit 110 shown in FIG. 16 also performs processing based on the flowchart shown in FIG. 11, the description thereof is omitted. However, the processing relating to the derivation of the correction coefficient k performed in step S13 is different in that it is performed by referring to the table held in the table holding unit 174.

このように、テーブルが参照されて補正係数kが導出される場合も、相関から補正係数kが導出される場合と同じく、高輝度領域の動解像度の劣化を抑えながら、低輝度領域におけるS/N比の改善を行うことが可能となるノイズ除去を実現できる。   In this way, when the correction coefficient k is derived by referring to the table, the S / S in the low luminance region is suppressed while suppressing the deterioration of the dynamic resolution in the high luminance region, as in the case where the correction coefficient k is derived from the correlation. Noise removal that can improve the N ratio can be realized.

[2DNR回路の構成について]
上述した実施の形態は、3DNR回路においてノイズを除去する場合であった。本発明は、2DNR回路にも適用できる。図17は、本発明を2DNR回路に適用したときの一実施の形態の構成を示す図である。
[Configuration of 2DNR circuit]
The embodiment described above is a case where noise is removed in the 3DNR circuit. The present invention can also be applied to a 2DNR circuit. FIG. 17 is a diagram showing a configuration of an embodiment when the present invention is applied to a 2DNR circuit.

図17に示した2DNR回路200は、撮像部201、AGC部202、A/D変換部203、2DNR処理部204、ノイズ除去強度制御部205、OPD206、および強度補正部207を含む構成とされている。撮像部201で撮像された所定の画像のデータは、AGC部202に供給される。AGC部202は、供給されたデータの信号が強くなると利得を抑えて出力が大きくならないようにし、信号が弱くなると利得を上げて出力が小さくならないように制御することで、一定の強度を有する信号をA/D変換部203とノイズ除去強度制御部205に供給する。   The 2DNR circuit 200 illustrated in FIG. 17 includes an imaging unit 201, an AGC unit 202, an A / D conversion unit 203, a 2DNR processing unit 204, a noise removal intensity control unit 205, an OPD 206, and an intensity correction unit 207. Yes. Data of a predetermined image captured by the imaging unit 201 is supplied to the AGC unit 202. The AGC unit 202 suppresses the gain so that the output does not increase when the supplied data signal becomes strong, and increases the gain so that the output does not become small when the signal becomes weak. Is supplied to the A / D conversion unit 203 and the noise removal intensity control unit 205.

A/D変換部203は、供給された信号をデジタル信号(データ)に変換し、2DNR処理部204とOPD206に供給する。ノイズ除去強度制御部205は、ノイズを除去するための強度(ノイズ除去強度α)を、AGC部202からの信号を基に設定し、強度補正部207に供給する。強度補正部207は、OPD206から供給される全画素平均の輝度値と処理対象とされている領域の平均の輝度値である平均輝度値LALLと、処理対象とされている領域内の画素の平均の輝度値である平均輝度値Lxを用いて、ノイズ除去強度制御部205からのノイズ除去強度αを補正する。   The A / D conversion unit 203 converts the supplied signal into a digital signal (data) and supplies it to the 2DNR processing unit 204 and the OPD 206. The noise removal strength control unit 205 sets the strength for removing noise (noise removal strength α) based on the signal from the AGC unit 202 and supplies it to the strength correction unit 207. The intensity correction unit 207 includes an average luminance value LALL that is an average luminance value of all pixels supplied from the OPD 206, an average luminance value of the area to be processed, and an average of pixels in the area to be processed. The noise removal intensity α from the noise removal intensity control unit 205 is corrected using the average luminance value Lx which is the luminance value of the noise.

補正されたノイズ除去強度α’は、2DNR処理部204に供給される。2DNR処理部204は、A/D変換部203からの信号を、ノイズ除去強度α’に基づき、ノイズを除去する処理を施す。   The corrected noise removal strength α ′ is supplied to the 2DNR processing unit 204. The 2DNR processing unit 204 performs processing for removing noise on the signal from the A / D conversion unit 203 based on the noise removal strength α ′.

このように構成される2DNR回路200におけるOPD206は、図6に示した3DNR回路100のOPD109と同じ構成とすることができる。また、2DNR回路200における強度補正部207は、図6に示した3DNR回路100の強度補正部110と同じ構成とすることができる。すなわち、強度補正部207は、図7に示した強度補正部110または図16に示した強度補正部110と同じ構成とすることが可能である。   The OPD 206 in the 2DNR circuit 200 configured as described above can have the same configuration as the OPD 109 of the 3DNR circuit 100 illustrated in FIG. Further, the intensity correction unit 207 in the 2DNR circuit 200 can have the same configuration as the intensity correction unit 110 of the 3DNR circuit 100 shown in FIG. That is, the intensity correction unit 207 can have the same configuration as the intensity correction unit 110 illustrated in FIG. 7 or the intensity correction unit 110 illustrated in FIG.

よって、強度補正部207は、図7に示した強度補正部110または図16に示した強度補正部110と同じ処理を実行することで、換言すれば、図11に示したフローチャートの処理を実行することで、供給されたノイズ除去強度αを補正し、ノイズ除去強度α’を生成する。   Therefore, the intensity correction unit 207 executes the same processing as the intensity correction unit 110 shown in FIG. 7 or the intensity correction unit 110 shown in FIG. 16, in other words, executes the processing of the flowchart shown in FIG. As a result, the supplied noise removal strength α is corrected to generate a noise removal strength α ′.

本発明を2DNRに適用した場合も、3DNRに適用した場合と同じ効果を得ることができる。すなわち、S/N比の比較的高い高輝度域における解像感の劣化を抑制しつつ、低輝度域のS/N比を高めることが可能となる。   When the present invention is applied to 2DNR, the same effect as when applied to 3DNR can be obtained. That is, it is possible to increase the S / N ratio in the low luminance region while suppressing deterioration of the resolution in the high luminance region having a relatively high S / N ratio.

このように、本発明を適用してノイズ除去を行うことで、信号強度が大きく比較的S/Nのよい高輝度領域に対するノイズ除去強度を弱くし、S/N比の悪い低輝度領域に対するノイズ除去強度を強くする、というように各信号のS/N比に応じて、ノイズ除去強度を調節することが可能となる。   As described above, by applying the present invention to perform noise removal, the noise removal strength for the high luminance region having a large signal strength and a relatively good S / N is weakened, and the noise for the low luminance region having a poor S / N ratio is obtained. It is possible to adjust the noise removal strength according to the S / N ratio of each signal, such as increasing the removal strength.

3DNRでは動解像度の劣化、2DNRでは解像感の劣化、というようにノイズ除去制御には副作用が伴うが、本発明を適用することで、S/N比に対してノイズ除去強度の最適化を図られるため、S/N比のよい高輝度領域での副作用の発現を抑えながら、低輝度領域のS/N比改善を図ることが可能となる。特に信号強度の差分の大きい撮像条件、すなわちダイナミックレンジの高い撮像条件にて、より効果を期待できる。   Noise removal control has side effects, such as degradation of dynamic resolution with 3DNR and degradation of resolution with 2DNR. Therefore, it is possible to improve the S / N ratio in the low luminance region while suppressing the occurrence of side effects in the high luminance region with a good S / N ratio. In particular, an effect can be expected more in an imaging condition having a large signal intensity difference, that is, an imaging condition having a high dynamic range.

なお、上述した実施の形態において、例えば、図9に示した差分値(Lx―LALL)と補正係数kとの相関関係は、一例であり、他の相関関係、例えば、一次関数に基づく相関関係であっても良い。   In the above-described embodiment, for example, the correlation between the difference value (Lx−LALL) and the correction coefficient k illustrated in FIG. 9 is an example, and other correlations, for example, correlations based on a linear function. It may be.

また、ノイズ除去強度αに、補正係数kが乗算されることで、ノイズ除去強度α’が算出されるとして説明したが、補正係数kが乗算される以外にも、例えば補正係数kが加算、減算、または除算されることによりノイズ除去強度α’が算出されるようにしても良い。   In addition, the noise removal intensity α is multiplied by the correction coefficient k to calculate the noise removal intensity α ′. The noise removal strength α ′ may be calculated by subtraction or division.

[記録媒体について]
上述した一連の処理は、ハードウエアにより実行することもできるし、ソフトウエアにより実行することもできる。一連の処理をソフトウエアにより実行する場合には、そのソフトウエアを構成するプログラムが、コンピュータにインストールされる。ここで、コンピュータには、専用のハードウエアに組み込まれているコンピュータや、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどが含まれる。
[About recording media]
The series of processes described above can be executed by hardware or can be executed by software. When a series of processing is executed by software, a program constituting the software is installed in the computer. Here, the computer includes, for example, a general-purpose personal computer capable of executing various functions by installing various programs by installing a computer incorporated in dedicated hardware.

図18は、上述した一連の処理をプログラムにより実行するコンピュータのハードウエアの構成例を示すブロック図である。コンピュータにおいて、CPU(Central Processing Unit)1001、ROM(Read Only Memory)1002、RAM(Random Access Memory)1003は、バス1004により相互に接続されている。バス1004には、さらに、入出力インタフェース1005が接続されている。入出力インタフェース1005には、入力部1006、出力部1007、記憶部1008、通信部1009、及びドライブ1010が接続されている。   FIG. 18 is a block diagram illustrating an example of a hardware configuration of a computer that executes the above-described series of processes using a program. In a computer, a CPU (Central Processing Unit) 1001, a ROM (Read Only Memory) 1002, and a RAM (Random Access Memory) 1003 are connected to each other by a bus 1004. An input / output interface 1005 is further connected to the bus 1004. An input unit 1006, an output unit 1007, a storage unit 1008, a communication unit 1009, and a drive 1010 are connected to the input / output interface 1005.

入力部1006は、キーボード、マウス、マイクロフォンなどよりなる。出力部1007は、ディスプレイ、スピーカなどよりなる。記憶部1008は、ハードディスクや不揮発性のメモリなどよりなる。通信部1009は、ネットワークインタフェースなどよりなる。ドライブ1010は、磁気ディスク、光ディスク、光磁気ディスク、又は半導体メモリなどのリムーバブルメディア1011を駆動する。   The input unit 1006 includes a keyboard, a mouse, a microphone, and the like. The output unit 1007 includes a display, a speaker, and the like. The storage unit 1008 includes a hard disk, a nonvolatile memory, and the like. The communication unit 1009 includes a network interface. The drive 1010 drives a removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory.

以上のように構成されるコンピュータでは、CPU1001が、例えば、記憶部1008に記憶されているプログラムを、入出力インタフェース1005及びバス1004を介して、RAM1003にロードして実行することにより、上述した一連の処理が行われる。   In the computer configured as described above, the CPU 1001 loads the program stored in the storage unit 1008 into the RAM 1003 via the input / output interface 1005 and the bus 1004 and executes the program, for example. Is performed.

コンピュータ(CPU1001)が実行するプログラムは、例えば、パッケージメディア等としてのリムーバブルメディア1011に記録して提供することができる。また、プログラムは、ローカルエリアネットワーク、インターネット、デジタル衛星放送といった、有線または無線の伝送媒体を介して提供することができる。   The program executed by the computer (CPU 1001) can be provided by being recorded on the removable medium 1011 as a package medium, for example. The program can be provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital satellite broadcasting.

コンピュータでは、プログラムは、リムーバブルメディア1011をドライブ1010に装着することにより、入出力インタフェース1005を介して、記憶部1008にインストールすることができる。また、プログラムは、有線または無線の伝送媒体を介して、通信部1009で受信し、記憶部1008にインストールすることができる。その他、プログラムは、ROM1002や記憶部1008に、あらかじめインストールしておくことができる。   In the computer, the program can be installed in the storage unit 1008 via the input / output interface 1005 by attaching the removable medium 1011 to the drive 1010. Further, the program can be received by the communication unit 1009 via a wired or wireless transmission medium and installed in the storage unit 1008. In addition, the program can be installed in advance in the ROM 1002 or the storage unit 1008.

なお、コンピュータが実行するプログラムは、本明細書で説明する順序に沿って時系列に処理が行われるプログラムであっても良いし、並列に、あるいは呼び出しが行われたとき等の必要なタイミングで処理が行われるプログラムであっても良い。   The program executed by the computer may be a program that is processed in time series in the order described in this specification, or in parallel or at a necessary timing such as when a call is made. It may be a program for processing.

また、本明細書において、システムとは、複数の装置により構成される装置全体を表すものである。   Further, in this specification, the system represents the entire apparatus constituted by a plurality of apparatuses.

なお、本発明の実施の形態は、上述した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の変更が可能である。   The embodiment of the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the gist of the present invention.

100 3DNR回路, 101 撮像部, 102 AGC部, 103 A/D変換部, 104 減算部, 105 減算部, 106 ノイズ除去部, 107 ノイズ除去強度制御部, 108 メモリ, 109 OPD, 110 強度補正部, 151 減算部, 152 係数導出部, 153 乗算部, 171 減算部, 172 係数導出部, 173 乗算部, 174 テーブル保持部, 201 撮像部, 202 AGC部, 203 A/D変換部, 204 2DNR処理部, 205 ノイズ除去強度制御部, 206 OPD, 207 強度補正部   100 3DNR circuit, 101 imaging unit, 102 AGC unit, 103 A / D conversion unit, 104 subtraction unit, 105 subtraction unit, 106 noise removal unit, 107 noise removal intensity control unit, 108 memory, 109 OPD, 110 intensity correction unit, 151 subtracting unit, 152 coefficient deriving unit, 153 multiplying unit, 171 subtracting unit, 172 coefficient deriving unit, 173 multiplying unit, 174 table holding unit, 201 imaging unit, 202 AGC unit, 203 A / D converting unit, 204 2DNR processing unit , 205 Noise removal intensity control unit, 206 OPD, 207 intensity correction unit

Claims (7)

処理対象とされている画像からノイズを除去するための強度を算出するノイズ除去強度算出手段と、
前記画像を構成する全画素の輝度値の平均値である第1の平均輝度値と、前記画像内のノイズを除去する対象とされている画素を含む有限領域内の画素の輝度値の平均値である第2の平均輝度値を取得し、前記第1の平均輝度値と前記第2の平均輝度値の差分を算出する差分値算出手段と、
前記差分値算出手段で算出された差分値から、前記ノイズ除去強度算出手段により算出された前記強度を補正するための補正係数を導出する導出手段と、
前記導出手段により導出された前記補正係数で前記強度を補正することで、前記ノイズを除去する対象とされている画素に対するノイズ除去のための強度を設定する設定手段と
を備える画像処理装置。
Noise removal intensity calculating means for calculating intensity for removing noise from an image to be processed;
The first average luminance value that is the average value of the luminance values of all the pixels constituting the image, and the average value of the luminance values of the pixels in the finite area including the pixel that is the target for removing noise in the image Difference value calculating means for acquiring a second average luminance value that is, and calculating a difference between the first average luminance value and the second average luminance value;
Deriving means for deriving a correction coefficient for correcting the intensity calculated by the noise removal intensity calculating means from the difference value calculated by the difference value calculating means;
An image processing apparatus comprising: setting means for setting an intensity for noise removal with respect to a pixel that is a target of noise removal by correcting the intensity with the correction coefficient derived by the derivation means.
前記導出手段は、前記差分値と前記補正係数との相関に基づく演算を行うことで、前記補正係数を導出する
請求項1に記載の画像処理装置。
The image processing apparatus according to claim 1, wherein the derivation unit derives the correction coefficient by performing an operation based on a correlation between the difference value and the correction coefficient.
前記差分値と前記補正係数とを関連付けたテーブルであり、前記差分値から一意に前記補正係数を読み出せるテーブルを保持するテーブル保持手段をさらに備え、
前記導出手段は、前記テーブル保持手段で保持されている前記テーブルを参照して前記補正係数を導出する
請求項1に記載の画像処理装置。
A table in which the difference value and the correction coefficient are associated with each other, further comprising table holding means for holding a table from which the correction coefficient can be uniquely read from the difference value;
The image processing apparatus according to claim 1, wherein the deriving unit derives the correction coefficient with reference to the table held by the table holding unit.
前記補正係数は、前記差分値に対し負の依存性を持ち、前記差分値が0のとき1となる
請求項1乃至3のいずれかに記載の画像処理装置。
The image processing apparatus according to claim 1, wherein the correction coefficient has a negative dependency on the difference value, and is 1 when the difference value is 0. 5.
2DNR(2次元ノイズリダクション)、または3DNR(3次元ノイズリダクション)の処理を行う回路に組み込まれる
請求項1乃至4のいずれかに記載の画像処理装置。
The image processing apparatus according to claim 1, wherein the image processing apparatus is incorporated in a circuit that performs 2DNR (2D noise reduction) or 3DNR (3D noise reduction) processing.
処理対象とされている画像からノイズを除去するための強度を算出し、
前記画像を構成する全画素の輝度値の平均値である第1の平均輝度値と、前記画像内のノイズを除去する対象とされている画素を含む有限領域内の画素の輝度値の平均値である第2の平均輝度値を取得し、前記第1の平均輝度値と前記第2の平均輝度値の差分を算出し、
前記差分値から、前記強度を補正するための補正係数を導出し、
導出された前記補正係数で前記強度を補正することで、前記ノイズを除去する対象とされている画素に対するノイズ除去のための強度を設定する
ステップを含む画像処理方法。
Calculate the strength to remove noise from the image being processed,
The first average luminance value that is the average value of the luminance values of all the pixels constituting the image, and the average value of the luminance values of the pixels in the finite area including the pixel that is the target for removing noise in the image A second average luminance value is calculated, and a difference between the first average luminance value and the second average luminance value is calculated,
Deriving a correction coefficient for correcting the intensity from the difference value,
An image processing method including a step of setting an intensity for noise removal for a pixel from which the noise is to be removed by correcting the intensity with the derived correction coefficient.
処理対象とされている画像からノイズを除去するための強度を算出し、
前記画像を構成する全画素の輝度値の平均値である第1の平均輝度値と、前記画像内のノイズを除去する対象とされている画素を含む有限領域内の画素の輝度値の平均値である第2の平均輝度値を取得し、前記第1の平均輝度値と前記第2の平均輝度値の差分を算出し、
前記差分値から、前記強度を補正するための補正係数を導出し、
導出された前記補正係数で前記強度を補正することで、前記ノイズを除去する対象とされている画素に対するノイズ除去のための強度を設定する
ステップを含む処理をコンピュータに実行させるプログラム。
Calculate the strength to remove noise from the image being processed,
The first average luminance value that is the average value of the luminance values of all the pixels constituting the image, and the average value of the luminance values of the pixels in the finite area including the pixel that is the target for removing noise in the image A second average luminance value is calculated, and a difference between the first average luminance value and the second average luminance value is calculated,
Deriving a correction coefficient for correcting the intensity from the difference value,
A program that causes a computer to execute processing including a step of setting an intensity for noise removal for a pixel that is a target of noise removal by correcting the intensity with the derived correction coefficient.
JP2009189108A 2009-08-18 2009-08-18 Image processing apparatus and method, and program Withdrawn JP2011041183A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009189108A JP2011041183A (en) 2009-08-18 2009-08-18 Image processing apparatus and method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009189108A JP2011041183A (en) 2009-08-18 2009-08-18 Image processing apparatus and method, and program

Publications (1)

Publication Number Publication Date
JP2011041183A true JP2011041183A (en) 2011-02-24

Family

ID=43768449

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009189108A Withdrawn JP2011041183A (en) 2009-08-18 2009-08-18 Image processing apparatus and method, and program

Country Status (1)

Country Link
JP (1) JP2011041183A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013161840A1 (en) * 2012-04-26 2013-10-31 日本電気株式会社 Image processing method and image processing device
WO2013161838A1 (en) * 2012-04-26 2013-10-31 日本電気株式会社 Image processing method and image processing device
WO2013161839A1 (en) * 2012-04-26 2013-10-31 日本電気株式会社 Image processing method and image processing device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013161840A1 (en) * 2012-04-26 2013-10-31 日本電気株式会社 Image processing method and image processing device
WO2013161838A1 (en) * 2012-04-26 2013-10-31 日本電気株式会社 Image processing method and image processing device
WO2013161839A1 (en) * 2012-04-26 2013-10-31 日本電気株式会社 Image processing method and image processing device
US9135685B2 (en) 2012-04-26 2015-09-15 Nec Corporation Image processing method and image processing device
JPWO2013161838A1 (en) * 2012-04-26 2015-12-24 日本電気株式会社 Image processing method and image processing apparatus
JPWO2013161840A1 (en) * 2012-04-26 2015-12-24 日本電気株式会社 Image processing method and image processing apparatus
JPWO2013161839A1 (en) * 2012-04-26 2015-12-24 日本電気株式会社 Image processing method and image processing apparatus
US9501711B2 (en) 2012-04-26 2016-11-22 Nec Corporation Image processing method and image processing device with correction of pixel statistical values to reduce random noise
US9519958B2 (en) 2012-04-26 2016-12-13 Nec Corporation Image processing method and image processing device with pixel correction

Similar Documents

Publication Publication Date Title
US8243150B2 (en) Noise reduction in an image processing method and image processing apparatus
JP4290193B2 (en) Image processing device
JP5974250B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium
JP5191224B2 (en) Image processing device
JP6785456B2 (en) Image processing equipment, image processing methods and programs
JP2011086275A5 (en)
US20100033596A1 (en) Solid-state image-capturing apparatus, camera, and method of processing signal
JP2007329524A (en) Noise suppression method, program for noise suppression method, recording medium with program for noise suppression method recorded thereon, and noise suppression apparatus
US9525824B2 (en) Method and apparatus for processing image according to image conditions
JP5701640B2 (en) Image processing device
US8750635B2 (en) Image processing apparatus, image processing method, program, and recording medium
KR101336240B1 (en) Method and apparatus for image processing using saved image
JP2006197455A (en) Noise reduction device
JP2011055259A (en) Image processing apparatus, image processing method, image processing program and program storage medium stored with image processing program
US20110091129A1 (en) Image processing apparatus and method, and program
JP2011041183A (en) Image processing apparatus and method, and program
US8159566B2 (en) Method and apparatus for compensating signal distortion caused by noise
JP2005150903A (en) Image processing apparatus, noise elimination method, and noise elimination program
US20190191057A1 (en) Image processing device, image processing method, and program
JP7117532B2 (en) Image processing device, image processing method and program
JP2010200236A (en) Lateral noise correcting method
JP2010074373A (en) Imaging apparatus
JP2013026875A (en) Image processing system
JP2010068090A (en) Method and device for processing image
JP2010141813A (en) Video processing apparatus and method of controlling video processing apparatus

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20121106