JP4962159B2 - Measuring apparatus and method, program, and recording medium - Google Patents

Measuring apparatus and method, program, and recording medium Download PDF

Info

Publication number
JP4962159B2
JP4962159B2 JP2007162169A JP2007162169A JP4962159B2 JP 4962159 B2 JP4962159 B2 JP 4962159B2 JP 2007162169 A JP2007162169 A JP 2007162169A JP 2007162169 A JP2007162169 A JP 2007162169A JP 4962159 B2 JP4962159 B2 JP 4962159B2
Authority
JP
Japan
Prior art keywords
value
control information
data
noise
video signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007162169A
Other languages
Japanese (ja)
Other versions
JP2009003599A (en
Inventor
和憲 神尾
義明 松原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2007162169A priority Critical patent/JP4962159B2/en
Publication of JP2009003599A publication Critical patent/JP2009003599A/en
Application granted granted Critical
Publication of JP4962159B2 publication Critical patent/JP4962159B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

本発明は、計測装置および方法、プログラム、並びに記録媒体に関し、特に、より適切なノイズの補正を行うことができるようにする計測装置および方法、プログラム、並びに記録媒体に関する。   The present invention relates to a measuring apparatus and method, a program, and a recording medium, and more particularly, to a measuring apparatus and method, a program, and a recording medium that enable more appropriate noise correction.

ノイズレベルを画像データ値から算出する方式は多くあり、ある固定値以下の時間的差分をノイズと定義する方式、その応用として動き補正をした後に同様の判別をする方式、画像データを周波数成分に変換して、ある固定パワー以下をノイズと定義する方式などがある。   There are many methods for calculating the noise level from the image data value. A method for defining a temporal difference below a certain fixed value as noise, a method for performing the same discrimination after applying motion correction, and image data as frequency components. There is a method of converting and defining noise below a certain fixed power.

また、固定値を用いずにノイズを判別する方式として入力映像信号を画面上で複数の小さなブロックに分割し、分割された各小ブロックの画素毎に、映像信号と各前記小ブロック内で時間軸方向に平均化した信号との差分を求め、それら差分の分布をあらかじめS/N値検出用に用意した統計的分布則のノイズ分布と比較して有意度を求め、有意度ありと判定された当該小ブロックの差分によるS/N値の発生頻度を求め、その発生頻度の分布から有効なS/N値を検出することも提案されている(例えば、特許文献1参照)。   In addition, as a method of discriminating noise without using a fixed value, the input video signal is divided into a plurality of small blocks on the screen, and for each pixel of each divided small block, time is taken within the video signal and each of the small blocks. The difference with the signal averaged in the axial direction is obtained, and the distribution of these differences is compared with the noise distribution of the statistical distribution rule prepared for detecting the S / N value in advance, and the significance is obtained. It has also been proposed to obtain an S / N value occurrence frequency based on the difference between the small blocks and detect an effective S / N value from the distribution of the occurrence frequency (see, for example, Patent Document 1).

さらに、1番小さな揺らぎ集合をノイズと仮定する方式、画像の動き補正をした後に同様のノイズの判別を行う方式もある。   In addition, there are a method in which the smallest set of fluctuations are assumed to be noise, and a method in which similar noise discrimination is performed after image motion correction.

特開平8−201464号公報JP-A-8-201464

しかしながら、従来の技術では、画像データの各画素値からノイズ量を算出するものであり、このようにして得られたノイズ量は、実際に人が認識するノイズのレベルとは異なることがある。例えば、数値として同じノイズ量であったとしても、動きの小さい画像、エッジの少ない画像などの場合、人はノイズが多いと感じ、動きの大きい画像、エッジの多い画像などの場合、人はノイズが少ないと感じる。   However, in the conventional technique, the amount of noise is calculated from each pixel value of the image data, and the amount of noise obtained in this way may be different from the level of noise actually recognized by a person. For example, even if the amount of noise is the same as a numerical value, people feel that there is a lot of noise in the case of an image with small motion, an image with few edges, and in the case of an image with large motion, an image with many edges, I feel that there are few.

すなわち、動きの小さい画像やエッジの少ない画像(例えば、画面の中で、同じオブジェクトが同じ場所に大きく、長時間写っている画像など)は、ある程度の時間同じ画像が表示され続けるので微小な変化を感じやすくなる。   In other words, images with small movements or images with few edges (for example, images where the same object is large in the same place in the same place and taken for a long time) are displayed with the same image for a certain amount of time, so there is a slight change. It becomes easy to feel.

また、画像の中でも、例えば、人間の顔の部分など、人が注目する部分のノイズは、微小であっても気になる。   Also, in the image, for example, the noise of a part that a person pays attention to, such as a human face part, is worrisome even if it is minute.

本発明はこのような状況に鑑みてなされたものであり、より適切なノイズの補正を行うことができるようにするものである。   The present invention has been made in view of such circumstances, and makes it possible to perform more appropriate noise correction.

本発明の一側面は、映像信号のノイズレベルを計測する計測装置であって、入力映像信号に基づく1フレーム分の画像データにおいて、前記画像データの中の所定数の画素で構成される複数の領域のそれぞれについて制御情報を生成する制御情報生成手段と、前記入力映像信号に基づく、前記制御情報が生成された複数の領域のそれぞれについて、時間的に前の1フレーム分の画像データを構成するそれぞれの画素の値と、時間的に後の1フレーム分の画像データを構成するそれぞれの画素の値の差分データを、それぞれ取得する差分データ取得手段と、前記複数の領域のそれぞれの画素の値の差分値の頻度に、当該領域の前記制御情報に対応して定まる係数を乗じて前記画素の値の差分値の頻度を設定して、前記差分データ取得手段により取得された前記差分データのヒストグラムデータを生成するヒストグラムデータ生成手段と、前記ヒストグラムデータ生成手段により生成された前記ヒストグラムデータに基づいて前記入力映像信号のノイズ量を算出するノイズ量算出手段とを備え、前記制御情報生成手段は、前記領域における画像のエッジ数、前記領域における画素の輝度の平均値、または、前記領域における画素の動き量を表す演算値を演算し、前記演算値が小さいほど前記係数の値が大きくなるように、前記制御情報を生成する計測装置である。 One aspect of the present invention is a measuring device that measures a noise level of a video signal, and in image data for one frame based on an input video signal, a plurality of pixels configured by a predetermined number of pixels in the image data. Control information generating means for generating control information for each of the regions, and image data for one frame earlier in time for each of the plurality of regions where the control information is generated based on the input video signal Difference data acquisition means for acquiring difference data between each pixel value and each pixel value constituting image data for one frame later in time, and each pixel value of the plurality of regions of the frequency of the difference value, by setting the frequency of the difference of the values of the pixels multiplied by the coefficient determined in response to the control information of the region, by the difference data acquisition means Comprising a histogram data generating means for generating a resulting Histogram data of the difference data, and a noise amount calculating means for calculating a noise amount of the input video signal based on said histogram data generated by said histogram data generating means The control information generating means calculates the number of image edges in the region, the average value of the luminance of the pixels in the region, or a calculated value representing the amount of movement of the pixels in the region, and the smaller the calculated value, It is a measuring device that generates the control information so that the value of the coefficient becomes large .

本発明の一側面は、映像信号のノイズレベルを計測する計測装置の計測方法であって、入力映像信号に基づく1フレーム分の画像データにおいて、前記画像データの中の所定数の画素で構成される複数の領域のそれぞれについて制御情報を生成し、前記入力映像信号に基づく、前記制御情報が生成された複数の領域のそれぞれについて、時間的に前の1フレーム分の画像データを構成するそれぞれの画素の値と、時間的に後の1フレーム分の画像データを構成するそれぞれの画素の値の差分データを、それぞれ取得し、前記複数の領域のそれぞれの画素の値の差分値の頻度に、当該領域の前記制御情報に対応して定まる係数を乗じて前記画素の値の差分値の頻度を設定して、前記取得された前記差分データのヒストグラムデータを、前記生成された制御情報に基づいて生成し、前記生成された前記ヒストグラムデータに基づいて前記入力映像信号のノイズ量を算出するステップを含み、前記領域における画像のエッジ数、前記領域における画素の輝度の平均値、または、前記領域における画素の動き量を表す演算値が演算され、前記演算値が小さいほど前記係数の値が大きくなるように、前記制御情報が生成される計測方法である。 One aspect of the present invention is a measurement method of a measurement apparatus that measures a noise level of a video signal, and is configured by a predetermined number of pixels in the image data in one frame of image data based on an input video signal. Control information is generated for each of the plurality of regions, and each of the plurality of regions where the control information is generated based on the input video signal constitutes image data for one frame earlier in time. The difference value between the pixel value and the value of each pixel constituting the image data for one frame later in time is acquired, and the frequency of the difference value between the pixel values of the plurality of regions is obtained . set the frequency difference of the values of the pixels multiplied by the coefficient determined in response to the control information of the region, the histogram data of the difference data to which the acquired, the product Generated based on the control information comprises the step of calculating a noise amount of the input video signal on the basis of the histogram data said generated number of edges of the image in the area, the average luminance of pixels in the region In the measurement method, the control information is generated such that a value or a calculated value representing a motion amount of a pixel in the region is calculated, and the coefficient value increases as the calculated value decreases .

本発明の一側面は、コンピュータに映像信号のノイズレベルを計測させるプログラムであって、コンピュータを、入力映像信号に基づく1フレーム分の画像データにおいて、前記画像データの中の所定数の画素で構成される複数の領域のそれぞれについて制御情報を生成する制御情報生成手段と、前記入力映像信号に基づく、前記制御情報が生成された複数の領域のそれぞれについて、時間的に前の1フレーム分の画像データを構成するそれぞれの画素の値と、時間的に後の1フレーム分の画像データを構成するそれぞれの画素の値の差分データを、それぞれ取得する差分データ取得手段と、前記複数の領域のそれぞれの画素の値の差分値の頻度に、当該領域の前記制御情報に対応して定まる係数を乗じて前記画素の値の差分値の頻度を設定して、前記差分データ取得手段により取得された前記差分データのヒストグラムデータを生成するヒストグラムデータ生成手段と、前記ヒストグラムデータ生成手段により生成された前記ヒストグラムデータに基づいて前記入力映像信号のノイズ量を算出するノイズ量算出手段とを備え、前記制御情報生成手段は、前記領域における画像のエッジ数、前記領域における画素の輝度の平均値、または、前記領域における画素の動き量を表す演算値を演算し、前記演算値が小さいほど前記係数の値が大きくなるように、前記制御情報を生成する計測装置として機能させるプログラムである。 One aspect of the present invention is a program for causing a computer to measure a noise level of a video signal, and the computer is configured with a predetermined number of pixels in the image data in one frame of image data based on the input video signal. Control information generating means for generating control information for each of a plurality of regions, and an image corresponding to one frame earlier in time for each of the plurality of regions where the control information is generated based on the input video signal Difference data acquisition means for respectively acquiring difference data between the values of the respective pixels constituting the data and the values of the respective pixels constituting the image data for one frame later in time, and each of the plurality of regions Set the frequency of the difference value of the pixel value by multiplying the frequency of the difference value of the pixel value by a coefficient determined corresponding to the control information of the area Te, calculates the amount of noise of the input video signal the difference histogram data generating means for generating histogram data of the obtained the difference data is the data acquisition means, based on the generated the histogram data was by the histogram data generating means The control information generating means calculates a number of image edges in the region, an average value of luminance of pixels in the region, or a calculated value representing a motion amount of pixels in the region. A program that functions as a measurement device that generates the control information so that the value of the coefficient increases as the calculated value decreases .

本発明の一側面においては、入力映像信号に基づく1フレーム分の画像データにおいて、入力映像信号に基づく1フレーム分の画像データにおいて、前記画像データの中の所定数の画素で構成される複数の領域のそれぞれについて制御情報が生成され、前記入力映像信号に基づく、前記制御情報が生成された複数の領域のそれぞれについて、時間的に前の1フレーム分の画像データを構成するそれぞれの画素の値と、時間的に後の1フレーム分の画像データを構成するそれぞれの画素の値の差分データが、それぞれ取得され、前記複数の領域のそれぞれの画素の値の差分値の頻度に、当該領域の前記制御情報に対応して定まる係数を乗じて前記画素の値の差分値の頻度を設定して、前記取得された前記差分データのヒストグラムデータが、前記生成された制御情報に基づいて生成され、前記生成された前記ヒストグラムデータに基づいて前記入力映像信号のノイズ量が算出される。また、前記領域における画像のエッジ数、前記領域における画素の輝度の平均値、または、前記領域における画素の動き量を表す演算値が演算され、前記演算値が小さいほど前記係数の値が大きくなるように、前記制御情報が生成される。 In one aspect of the present invention, in one frame of image data based on an input video signal, in one frame of image data based on the input video signal, a plurality of pixels configured by a predetermined number of pixels in the image data are provided. Control information is generated for each of the regions, and the values of the respective pixels constituting the image data for the previous frame in terms of time for each of the plurality of regions where the control information is generated based on the input video signal Difference data of the values of the respective pixels constituting the image data for one frame later in time is acquired, and the frequency of the difference value of the values of the respective pixels of the plurality of regions set the frequency difference of the values of the pixels multiplied by the coefficient determined in response to the control information, the histogram data of the difference data to which the acquired are pre It is generated based on the generated control information, the noise amount of the input video signal on the basis of the histogram data the generated is calculated. Also, the number of image edges in the region, the average value of the luminance of the pixels in the region, or a calculated value representing the amount of movement of the pixels in the region is calculated, and the coefficient value increases as the calculated value decreases. As described above, the control information is generated.

本発明によれば、より適切なノイズの補正を行うことができる。   According to the present invention, more appropriate noise correction can be performed.

以下に本発明の実施の形態を説明するが、本発明の構成要件と、明細書または図面に記載の実施の形態との対応関係を例示すると、次のようになる。この記載は、本発明をサポートする実施の形態が、明細書または図面に記載されていることを確認するためのものである。従って、明細書または図面中には記載されているが、本発明の構成要件に対応する実施の形態として、ここには記載されていない実施の形態があったとしても、そのことは、その実施の形態が、その構成要件に対応するものではないことを意味するものではない。逆に、実施の形態が構成要件に対応するものとしてここに記載されていたとしても、そのことは、その実施の形態が、その構成要件以外の構成要件には対応しないものであることを意味するものでもない。   Embodiments of the present invention will be described below. Correspondences between constituent elements of the present invention and the embodiments described in the specification or the drawings are exemplified as follows. This description is intended to confirm that the embodiments supporting the present invention are described in the specification or the drawings. Therefore, even if there is an embodiment which is described in the specification or the drawings but is not described here as an embodiment corresponding to the constituent elements of the present invention, that is not the case. It does not mean that the form does not correspond to the constituent requirements. Conversely, even if an embodiment is described here as corresponding to a configuration requirement, that means that the embodiment does not correspond to a configuration requirement other than the configuration requirement. It's not something to do.

本発明の一側面の計測装置は、映像信号のノイズレベルを計測する計測装置(例えば、図1のノイズレベル計測装置10)であって、入力映像信号に基づく1フレーム分の画像データにおいて、前記画像データの中の所定数の画素で構成される複数の領域のそれぞれについて制御情報を生成する制御情報生成手段(例えば、図1の有効領域制御部21)と、前記入力映像信号に基づく、前記制御情報が生成された複数の領域のそれぞれについて、時間的に前の1フレーム分の画像データを構成するそれぞれの画素の値と、時間的に後の1フレーム分の画像データを構成するそれぞれの画素の値の差分データを、それぞれ取得する差分データ取得手段(例えば、図1のフレーム差分取得部31)と、前記複数の領域のそれぞれの画素の値の差分値の頻度に、当該領域の前記制御情報に対応して定まる係数を乗じて前記画素の値の差分値の頻度を設定して、前記差分データ取得手段により取得された前記差分データのヒストグラムデータを、前記制御情報生成手段により生成された制御情報に基づいて生成するヒストグラムデータ生成手段(例えば、図1のヒストグラム生成部32)と、前記ヒストグラムデータ生成手段により生成された前記ヒストグラムデータに基づいて前記入力映像信号のノイズ量を算出するノイズ量算出手段(例えば、図1のノイズ量算出部33)とを備え、前記制御情報生成手段は、前記領域における画像のエッジ数、前記領域における画素の輝度の平均値、または、前記領域における画素の動き量を表す演算値を演算し、前記演算値が小さいほど前記係数の値が大きくなるように、前記制御情報を生成するA measuring apparatus according to one aspect of the present invention is a measuring apparatus (for example, the noise level measuring apparatus 10 in FIG. 1) that measures a noise level of a video signal, and in the image data for one frame based on an input video signal, control information generating means for generating for each control information of a plurality of regions composed of a predetermined number of pixels in the image data (e.g., the effective area control unit 21 of FIG. 1) and, based on the input video signal, the For each of the plurality of regions in which the control information is generated, the values of the respective pixels constituting the image data for one frame earlier in time and the respective image data constituting the image data for one frame later in time the difference data of pixel values, the difference data acquisition means for each acquisition (e.g., frame difference obtaining unit 31 of FIG. 1), the difference between the value of each pixel of said plurality of areas Of the frequency, by setting the frequency of the difference of the values of the pixels multiplied by the coefficient determined in response to the control information of the region, the histogram data of the difference data obtained by said difference data acquisition means, Histogram data generation means (for example, the histogram generation unit 32 in FIG. 1) generated based on the control information generated by the control information generation means, and the input based on the histogram data generated by the histogram data generation means A noise amount calculation unit (for example, a noise amount calculation unit 33 in FIG. 1) for calculating a noise amount of the video signal, and the control information generation unit calculates the number of edges of the image in the region and the luminance of the pixel in the region. An average value or a calculated value representing the amount of movement of pixels in the region is calculated, and the smaller the calculated value, the more the coefficient As it increases, and generates the control information.

本発明の一側面の計測方法は、映像信号のノイズレベルを計測する計測装置(例えば、図1のノイズレベル計測装置10)の計測方法であって、入力映像信号に基づく1フレーム分の画像データにおいて、前記画像データの中の所定数の画素で構成される複数の領域のそれぞれについて制御情報を生成し(例えば、図3のステップS11の処理)、前記入力映像信号に基づく、前記制御情報が生成された複数の領域のそれぞれについて、時間的に前の1フレーム分の画像データを構成するそれぞれの画素の値と、時間的に後の1フレーム分の画像データを構成するそれぞれの画素の値の差分データを、それぞれ取得し(例えば、図3のステップS12の処理)、前記複数の領域のそれぞれの画素の値の差分値の頻度に、当該領域の前記制御情報に対応して定まる係数を乗じて前記画素の値の差分値の頻度を設定して、前記取得された前記差分データのヒストグラムデータを、前記生成された制御情報に基づいて生成し(例えば、図3のステップS13およびステップS14の処理)、前記生成された前記ヒストグラムデータに基づいて前記入力映像信号のノイズ量を算出する(例えば、図3のステップS15の処理)ステップを含み、前記領域における画像のエッジ数、前記領域における画素の輝度の平均値、または、前記領域における画素の動き量を表す演算値が演算され、前記演算値が小さいほど前記係数の値が大きくなるように、前記制御情報が生成されるA measurement method according to one aspect of the present invention is a measurement method of a measurement device (for example, the noise level measurement device 10 in FIG. 1) that measures the noise level of a video signal, and image data for one frame based on an input video signal. Control information is generated for each of a plurality of regions composed of a predetermined number of pixels in the image data (for example, the process of step S11 in FIG. 3), and the control information based on the input video signal is For each of the plurality of generated areas, the value of each pixel constituting the image data for one frame earlier in time and the value of each pixel constituting the image data for one frame later in time the differential data, respectively obtained (for example, step S12 in FIG. 3), the frequency of the difference of the values of each pixel of said plurality of regions, the control information of the area Multiplied by the coefficient determined in response to set the frequency of the difference of the values of the pixel, the histogram data of the difference data to which the acquired, generated based on the generated control information (e.g., Fig. 3), and calculating the noise amount of the input video signal based on the generated histogram data (for example, the process of step S15 in FIG. 3) , The control information is calculated such that the number of edges of the pixel, the average value of the luminance of the pixels in the region, or a calculated value representing the amount of motion of the pixel in the region is calculated, and the value of the coefficient increases as the calculated value decreases. Is generated .

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

図1は、本発明の一実施の形態に係るノイズレベル計測装置の構成例を示すブロック図である。   FIG. 1 is a block diagram showing a configuration example of a noise level measuring apparatus according to an embodiment of the present invention.

このノイズレベル計測装置10は、例えば、入力映像信号に基づいて、その映像信号のノイズレベルを計測し、計測結果を出力するようになされており、ノイズレベル計測装置10から出力される計測結果は、例えば、画像(映像)のノイズを除去するノイズリデューサなどの制御に用いられる。   For example, the noise level measuring apparatus 10 measures the noise level of the video signal based on the input video signal and outputs the measurement result. The measurement result output from the noise level measuring apparatus 10 is as follows. For example, it is used for control of a noise reducer that removes noise in an image (video).

同図に示されるように、このノイズレベル計測装置10は、有効領域制御部21とノイズ計測部22により構成されている。入力映像信号は、有効領域制御部21に供給されて後述するようにノイズを除去すべき領域に関する制御信号が生成され、有効領域制御部21から出力される制御信号に基づいてノイズ計測部22によるノイズの計測が制御されるようになされている。   As shown in the figure, the noise level measuring apparatus 10 includes an effective area control unit 21 and a noise measuring unit 22. The input video signal is supplied to the effective area control unit 21 to generate a control signal relating to an area from which noise is to be removed, as will be described later, and based on the control signal output from the effective area control unit 21, the noise measurement unit 22 Noise measurement is controlled.

ノイズ計測部22は、フレーム差分取得部31、ヒストグラム生成部32、およびノイズ量算出部33により構成されている。   The noise measurement unit 22 includes a frame difference acquisition unit 31, a histogram generation unit 32, and a noise amount calculation unit 33.

フレーム差分取得部31は、入力映像信号に基づいて、時間的に前のフレームの画像を構成するそれぞれの画素の輝度値と、時間的に後のフレームの画像を構成するそれぞれの画素の輝度値との差分絶対値を演算する。すなわち、フレーム差分取得部31は、フレーム間(時間的に前のフレームと時間的に後のフレーム)の対応する画素の輝度値の差分絶対値をそれぞれ演算するようになされている。   Based on the input video signal, the frame difference acquisition unit 31 determines the luminance value of each pixel constituting the temporally previous frame image and the luminance value of each pixel constituting the temporally subsequent frame image. The difference absolute value is calculated. That is, the frame difference acquisition unit 31 calculates the absolute difference value of the luminance values of the corresponding pixels between frames (temporally preceding frame and temporally subsequent frame).

ヒストグラム生成部32は、フレーム差分取得部31から出力されるデータに基づいて、ノイズ量を算出するための統計データであるヒストグラムを生成する。このヒストグラムは、例えば、横軸がフレーム間の画素毎の差分絶対値を表し、縦軸が頻度(その差分絶対値を有する画素の数)を表すものとされる。   The histogram generation unit 32 generates a histogram that is statistical data for calculating the amount of noise based on the data output from the frame difference acquisition unit 31. In this histogram, for example, the horizontal axis represents the difference absolute value for each pixel between frames, and the vertical axis represents the frequency (the number of pixels having the difference absolute value).

フレーム間の輝度値の変化が大きい場合、フレーム間の差分絶対値が大きい値となる画素が増えることになるので、ヒストグラムのピークは右側(横軸の値がゼロから遠い位置)に形成され、フレーム間の輝度値の変化が小さい場合、フレーム間の差分絶対値が小さい値となる画素が増えることになるので、ヒストグラムのピークは左側(横軸の値がゼロに近い位置)に形成されることになる。   If the change in luminance value between frames is large, the number of pixels with a large absolute difference between frames will increase, so the peak of the histogram is formed on the right side (the value on the horizontal axis is far from zero) When the change in luminance value between frames is small, the number of pixels with a small absolute value between frames increases, so the peak of the histogram is formed on the left side (the value on the horizontal axis is close to zero). It will be.

また、ヒストグラム生成部32は、有効領域制御部21から供給される制御信号に基づいてヒストグラムを生成する。例えば、ヒストグラム生成部32は、有効領域制御部21から供給された制御信号に含まれる重み係数に基づいて、所定のフレーム間の画素毎の差分絶対値に対応する頻度を、実際の頻度より高くまたは低く設定する。   In addition, the histogram generation unit 32 generates a histogram based on the control signal supplied from the effective area control unit 21. For example, the histogram generation unit 32 sets the frequency corresponding to the difference absolute value for each pixel between predetermined frames higher than the actual frequency based on the weighting factor included in the control signal supplied from the effective region control unit 21. Or set it low.

なお、フレーム間の差分絶対値は、画素単位ではなく、所定数の画素で構成されるブロック単位で演算され、ヒストグラムが生成されるようにしてもよい。この場合、例えば、1つのブロックを構成する画素のフレーム間の差分絶対値に基づいて、そのブロックの分散値が演算され、ブロックの分散値を横軸とし、その分散値を有するブロックの数で表される頻度を縦軸としてヒストグラムが生成されるようにすればよい。   The absolute difference between frames may be calculated not in units of pixels but in units of blocks including a predetermined number of pixels, and a histogram may be generated. In this case, for example, the variance value of the block is calculated based on the absolute difference value between the frames of pixels constituting one block, and the horizontal axis is the variance value of the block, and the number of blocks having the variance value is calculated. A histogram may be generated with the represented frequency as the vertical axis.

ノイズ量算出部33は、ヒストグラム生成部32から供給されるヒストグラムのデータ(例えば、画素毎の差分絶対値のそれぞれに対応する頻度を表す情報)に基づいて映像信号のノイズ量を算出する。ノイズ量算出部33は、映像信号のフレーム間の変化に応じて、その変化がノイズである可能性が高いものであるか否かを識別できるよう、映像信号のフレーム間の変化に対応するノイズ量を算出するようになされている。   The noise amount calculation unit 33 calculates the noise amount of the video signal based on the histogram data supplied from the histogram generation unit 32 (for example, information indicating the frequency corresponding to each difference absolute value for each pixel). The noise amount calculation unit 33 is a noise corresponding to a change between frames of the video signal so that it can be identified whether the change is highly likely to be a noise according to a change between frames of the video signal. An amount is calculated.

すなわち、ノイズ量算出部33は、ヒストグラム生成部32により生成されたヒストグラムにおいて、そのピークの位置が右側にあるほど、比較的大きな値のノイズ量を算出するようになされており、ヒストグラム生成部32により生成されたヒストグラムにおいて、そのピークの位置が左側にあるほど、比較的小さな値のノイズ量を算出するようになされている。   That is, in the histogram generated by the histogram generation unit 32, the noise amount calculation unit 33 calculates a relatively large amount of noise as the peak position is on the right side. In the histogram generated by the above, the noise amount of a relatively small value is calculated as the peak position is on the left side.

ノイズ量算出部33により算出されたノイズ量は、例えば、所定の基準で正規化されるなどしてノイズレベルとされ、ノイズレベル計測装置10の計測結果として出力されることになる。   The noise amount calculated by the noise amount calculation unit 33 is set to a noise level by, for example, normalization according to a predetermined standard, and is output as a measurement result of the noise level measurement device 10.

ところで、映像信号、画像データなどの各画素値からノイズ量を算出した場合、算出されたノイズ量が、実際に人が認識するノイズと対応しないことがある。例えば、映像信号、画像データなどの各画素値から算出されたノイズ量の数値が同じであったとしても、動きの小さい画像やエッジの少ない画像の場合、人はノイズが多いと感じ、動きの大きい画像やエッジの多い画像の場合、人はノイズが少ないと感じる。   By the way, when the amount of noise is calculated from each pixel value such as a video signal and image data, the calculated amount of noise may not correspond to noise that is actually recognized by a person. For example, even if the numerical value of the amount of noise calculated from each pixel value such as a video signal and image data is the same, in the case of an image with small motion or an image with few edges, a person feels that there is a lot of noise, In the case of large images or images with many edges, people feel that there is less noise.

すなわち、動きの小さい画像やエッジの少ない画像は、ある程度の時間同じ画像が表示され続けるので微小な変化を感じやすくなる。このような、人間の視感度の特性に応じたノイズ量を算出しなければ、例えば、ノイズリデューサなどでノイズ除去の処理を行って得られる画像が、不自然なものとなってしまうことがある。   That is, an image with small motion or an image with few edges is likely to feel minute changes because the same image continues to be displayed for a certain period of time. If the amount of noise corresponding to the characteristics of human visibility is not calculated, for example, an image obtained by performing noise removal processing with a noise reducer or the like may become unnatural. .

そこで、本発明のノイズレベル計測装置10には、有効領域制御部21が設けられている。有効領域制御部21は、上述のような人間の視感度の特性を考慮して、画像の中でノイズを除去すべき有効領域を特定し、その有効領域におけるヒストグラムの生成を、所定の基準に基づいて制御するようになされている。   Therefore, the noise level measuring apparatus 10 of the present invention is provided with an effective area control unit 21. The effective area control unit 21 specifies an effective area from which noise should be removed in the image in consideration of the characteristics of human visibility as described above, and generates a histogram in the effective area based on a predetermined reference. Based on control.

図2は、有効領域制御部21の構成例を示すブロック図である。同図に示されるように、有効領域制御部21は、ブロック分散演算部101と重み設定部102とにより構成されている。   FIG. 2 is a block diagram illustrating a configuration example of the effective area control unit 21. As shown in the figure, the effective area control unit 21 includes a block distribution calculation unit 101 and a weight setting unit 102.

ブロック分散演算部101は、入力映像信号に基づいて、例えば、1フレーム分の画面の画像データを取得し、その1画面分の画像データを、それぞれ所定の画素数で構成される複数のブロックに分割する。そして、ブロック分散演算部101は、それぞれのブロックの分散値を演算する。   Based on the input video signal, for example, the block distribution calculation unit 101 acquires screen data for one frame, and the image data for one screen is divided into a plurality of blocks each having a predetermined number of pixels. To divide. The block variance calculation unit 101 calculates the variance value of each block.

分散値が大きいブロックは、エッジが多くノイズが目立たない画像(人がノイズを視覚しにくい画像)といえる。また、分散値が大きいブロックは、画像の中で動きが大きい部分である可能性が高く、やはりノイズが目立たない画像といえる。   A block having a large variance value can be said to be an image with many edges and inconspicuous noise (an image in which it is difficult for humans to visually recognize noise). A block having a large variance value is highly likely to be a portion with a large movement in the image, and can be said to be an image in which noise is not conspicuous.

一方、分散値が小さいブロックは、エッジが少なくノイズが目立つ画像(人がノイズを視覚しやすい画像)といえる。また、分散値が大きいブロックは、画像の中で動きが小さい部分である可能性が高く、やはりノイズが目立つ画像といえる。   On the other hand, a block with a small variance value can be said to be an image with few edges and noticeable noise (an image in which a person can easily see noise). Also, a block with a large variance value is likely to be a portion with a small movement in the image, and can be said to be an image in which noise is conspicuous.

重み設定部102は、ブロック分散演算部101により演算されたブロックの分散値に基づいて、当該ブロックに対応する重み係数を設定するようになされている。重み設定部102は、例えば、ブロック分散演算部101により演算されたブロックの分散値が大きいほど、重み係数を小さく設定し、ブロック分散演算部101により演算されたブロックの分散値が小さいほど、重み係数を大きく設定するようになされている。   The weight setting unit 102 is configured to set a weight coefficient corresponding to the block based on the variance value of the block calculated by the block variance calculation unit 101. For example, the weight setting unit 102 sets the weight coefficient to be smaller as the block variance value calculated by the block variance calculation unit 101 is larger, and the weight is set to be smaller as the block variance value calculated by the block variance calculation unit 101 is smaller. A large coefficient is set.

具体的には、例えば、重み設定部102に予め閾値を記憶させておき、ブロック分散演算部101により演算されたブロックの分散値を、閾値と比較させ、重み係数が設定されるようにすればよい。   Specifically, for example, a threshold value is stored in advance in the weight setting unit 102, and the variance value of the block calculated by the block variance calculation unit 101 is compared with the threshold value so that the weight coefficient is set. Good.

このように、ブロックと重み係数が対応付けられた情報を含む制御信号が、重み設定部102から出力され、上述したように、ヒストグラム生成部32に供給されることになる。これにより、ヒストグラム生成部32は、ヒストグラムを生成するとき、例えば、あるブロックの画素のフレーム間の差分値の頻度に、そのブロックに対応付けられた重み係数を乗じてヒストグラムを生成する。   As described above, a control signal including information in which a block and a weighting coefficient are associated with each other is output from the weight setting unit 102 and supplied to the histogram generation unit 32 as described above. Thereby, when generating the histogram, for example, the histogram generating unit 32 generates the histogram by multiplying the frequency of the difference value between the pixels of a certain block by the weighting coefficient associated with the block.

その結果、分散値が小さく、エッジの少ないノイズが目立つ画像のブロックについては、ヒストグラムの頻度が高くなり、エッジの多いノイズが目立たない画像のブロックについては、ヒストグラムの頻度が低くなる。これにより、例えば、エッジの少ない画像のブロックにおいてフレーム間の画素の輝度の変化があった場合は、エッジの多い画像のブロックでフレーム間の画素の輝度の変化があまりなかったときでも、ヒストグラムのピークが右側に形成される可能性が高くなる。   As a result, the frequency of the histogram is high for a block of an image with a small variance value and noticeable noise with few edges, and the frequency of the histogram is low for a block of an image with no noticeable noise with many edges. Thus, for example, if there is a change in pixel brightness between frames in an image block with few edges, even if there is not much change in pixel brightness between frames in an image block with many edges, The possibility that a peak is formed on the right side increases.

このようにすることで、上述したノイズ量算出部33が、エッジの少ない画像のブロックにおいてフレーム間の画素の輝度の変化があった場合は、エッジの多い画像のブロックでフレーム間の画素の輝度の変化があまりなかったときでも、比較的大きな値のノイズ量を算出するようになる。   In this way, when the above-described noise amount calculation unit 33 has a change in pixel luminance between frames in an image block with few edges, the luminance of the pixel between frames in an image block with many edges. Even when there is not much change in, a relatively large amount of noise is calculated.

従って、本発明によれば、動きの小さい画像やエッジの少ない画像の場合、人はノイズが多いと感じ、動きの大きい画像やエッジの多い画像の場合、人はノイズが少ないと感じる、人間の視感度の特性に応じたノイズ量を算出することが可能となる。すなわち、有効領域制御部21から制御信号の供給を受けたノイズ計測部22は、上述したように、画像の中のエッジの少ない部分は、フレーム間の輝度値の変化に対して比較的大きなノイズレベルを計測するが、画像の中のエッジの多い部分は、フレーム間の輝度値の変化に対して、通常のノイズレベルを計測するようにすることができる。   Therefore, according to the present invention, in the case of an image with small motion or an image with few edges, a person feels a lot of noise, and in the case of an image with a large movement or an image with many edges, the person feels that there is little noise. It becomes possible to calculate the amount of noise corresponding to the characteristic of visibility. That is, as described above, the noise measurement unit 22 that has received the control signal from the effective region control unit 21 has a relatively large noise for a change in luminance value between frames in a portion with few edges in the image. Although the level is measured, a normal noise level can be measured for a portion with many edges in the image with respect to a change in luminance value between frames.

次に、図3のフローチャートを参照して、本発明のノイズレベル計測装置10によるノイズレベル計測処理の例について説明する。   Next, an example of noise level measurement processing by the noise level measurement apparatus 10 of the present invention will be described with reference to the flowchart of FIG.

ステップS11において、有効領域制御部21は、図4を参照して後述する有効領域制御信号出力処理を実行する。これにより、各ブロックに対応する重み係数の値を含む制御信号が生成されることになる。   In step S11, the effective area control unit 21 executes an effective area control signal output process which will be described later with reference to FIG. Thereby, a control signal including the value of the weight coefficient corresponding to each block is generated.

ステップS12において、フレーム差分取得部31は、入力映像信号に基づいて、フレーム間差分絶対値を取得する。このとき、例えば、上述したように、時間的に前のフレームの画像を構成するそれぞれの画素の輝度値と、時間的に後のフレームの画像を構成するそれぞれの画素の輝度値との差分絶対値が演算される。   In step S12, the frame difference acquisition unit 31 acquires an inter-frame difference absolute value based on the input video signal. At this time, for example, as described above, the absolute difference between the luminance value of each pixel constituting the temporally previous frame image and the luminance value of each pixel constituting the temporally subsequent frame image is absolute. The value is calculated.

ステップS13において、ヒストグラム生成部32は、ステップS12の処理により、フレーム差分取得部31から出力されるデータに基づいて、上述したように、ノイズ量を算出するための統計データであるヒストグラムを生成する。   In step S13, the histogram generation unit 32 generates a histogram, which is statistical data for calculating the noise amount, as described above, based on the data output from the frame difference acquisition unit 31 by the process of step S12. .

ステップS14において、ヒストグラム生成部32は、ステップS11の処理で生成された制御信号に基づいて、ヒストグラムの頻度に重みづけを行う。このとき、上述したように、ヒストグラム生成部32は、例えば、あるブロックの画素のフレーム間の差分値の頻度に、そのブロックに対応付けられた重み係数を乗じてヒストグラムを生成する。   In step S14, the histogram generation unit 32 weights the histogram frequency based on the control signal generated in the process of step S11. At this time, as described above, for example, the histogram generation unit 32 generates a histogram by multiplying the frequency of the difference value between the pixels of a certain block by the weighting coefficient associated with the block.

ステップS15において、ノイズ量算出部33は、ステップS14の処理によりヒストグラム生成部32から供給されるヒストグラムのデータに基づいて映像信号のノイズ量を算出する。   In step S15, the noise amount calculation unit 33 calculates the noise amount of the video signal based on the histogram data supplied from the histogram generation unit 32 by the process of step S14.

そして、ノイズ量算出部33により算出されたノイズ量は、例えば、所定の基準で正規化されるなどしてノイズレベルとされ、ステップS16においてノイズレベル計測装置10の計測結果として出力される。   The noise amount calculated by the noise amount calculation unit 33 is normalized to a noise level by, for example, a predetermined standard, and is output as a measurement result of the noise level measuring device 10 in step S16.

ここで、図3のステップS11の有効領域制御信号出力処理の詳細な例について図4のフローチャートを参照して説明する。   Here, a detailed example of the effective area control signal output processing in step S11 of FIG. 3 will be described with reference to the flowchart of FIG.

ステップS31において、有効領域制御部21のブロック分散演算部101は、入力映像信号に基づくブロックの分散値を演算する。このとき、ブロック分散演算部101は、上述したように、入力映像信号に基づいて、例えば、1フレーム分の画面の画像データを取得し、その1画面分の画像データを、それぞれ所定の画素数で構成される複数のブロックに分割する。そして、ブロック分散演算部101は、それぞれのブロックの分散値を演算する。   In step S31, the block variance calculation unit 101 of the effective area control unit 21 calculates a block variance value based on the input video signal. At this time, as described above, the block distribution calculation unit 101 acquires, for example, image data of a screen for one frame based on the input video signal, and the image data for one screen is obtained by a predetermined number of pixels. Is divided into a plurality of blocks. The block variance calculation unit 101 calculates the variance value of each block.

ステップS32において、有効領域制御部21の重み設定部102は、ステップS31の処理で演算された分散値に基づいて、当該ブロックの重み係数を設定する。このとき、重み設定部102は、例えば、予め記憶している閾値と、ステップS31の処理で演算されたブロックの分散値とを比較し、分散値が閾値以上の場合、重み係数の値を「1」に設定し、分散値が閾値未満の場合、重み係数の値を「1」より大きい値に設定する。   In step S32, the weight setting unit 102 of the effective area control unit 21 sets the weight coefficient of the block based on the variance value calculated in the process of step S31. At this time, for example, the weight setting unit 102 compares the threshold value stored in advance with the variance value of the block calculated in the process of step S31. When the variance value is less than the threshold value, the weight coefficient value is set to a value greater than “1”.

そして、ステップS33において、ステップS32の処理で設定された重み係数の値と、その重み係数が設定されたブロックを識別するための情報を含む制御信号が出力される。   In step S33, a control signal including the value of the weighting factor set in the process of step S32 and information for identifying the block in which the weighting factor is set is output.

この後、上述したステップS12乃至ステップS16の処理が実行されることになる。   Thereafter, the processes in steps S12 to S16 described above are executed.

このようにして、ノイズレベルの計測が行われる。このようにすることで、動きの小さい画像やエッジの少ない画像の場合、人はノイズが多いと感じ、動きの大きい画像やエッジの多い画像の場合、人はノイズが少ないと感じる、人間の視感度の特性に応じたノイズ量を算出してノイズレベルを計測することができる。また、このようにして、計測されたノイズレベルを用いてノイズリデューサなどを制御し、画像(映像)のノイズを除去するようにすれば、より自然な画像の補正を行うことができる。   In this way, the noise level is measured. By doing this, humans feel that there is a lot of noise in the case of images with small movements or images with few edges, and humans who feel that there is little noise in the case of images with large movements or images with many edges. The noise level can be calculated by calculating the amount of noise corresponding to the sensitivity characteristic. In addition, more natural image correction can be performed by controlling the noise reducer and the like using the measured noise level to remove noise from the image (video).

あるいはまた、このようにして、ノイズレベル計測装置10から出力される計測結果に基づいて、その画像にノイズが含まれているか否かが判定されるようにすることも可能である。例えば、時間的に前の画像と時間的に後の画像において微小な変化が検出された場合、その変化がノイズであるか否かを判定することは困難である。本発明のノイズレベル計測装置10から出力される計測結果は、上述したように、人間の視感度の特性に応じたノイズ量を算出してノイズレベルを計測することができるので、この計測結果に基づいて画像処理を行えば、例えば、動きの小さい画像やエッジの少ない画像の領域で生じた微小な変化は、ノイズとして処理し、例えば、動きの大きい画像やエッジの多い画像の領域で生じた微小な変化は、ノイズではないものとして処理することも可能である。   Alternatively, in this way, it is possible to determine whether or not noise is included in the image based on the measurement result output from the noise level measurement device 10. For example, when a minute change is detected in the temporally previous image and temporally subsequent image, it is difficult to determine whether the change is noise. As described above, the measurement result output from the noise level measurement device 10 of the present invention can calculate the noise amount according to the characteristics of human visibility and measure the noise level. If image processing is performed on the basis of this, for example, a minute change that occurs in an image area with little motion or an image with few edges is processed as noise, and occurs, for example, in an area with a large motion or an image with many edges. Small changes can be processed as not being noise.

以上においては、動きの小さい画像やエッジの少ない画像の場合、人はノイズが多いと感じ、動きの大きい画像やエッジの多い画像の場合、人はノイズが少ないと感じる、人間の視感度の特性を考慮して、有効領域制御部21によりエッジの少ない部分が検出されて重み係数が設定される例について説明したが、他の方式により重み係数が設定されるようにしてもよい。   In the above, characteristics of human visibility that people feel that there is a lot of noise in the case of images with small motion and images with few edges, and that people feel that there is little noise in the case of images with large movement and images with many edges In consideration of the above, the example in which the effective area control unit 21 detects the portion with few edges and sets the weighting coefficient has been described, but the weighting coefficient may be set by other methods.

例えば、画像の中でも、人間の顔の部分など、人が注目する部分のノイズは、微小であっても目立つので、有効領域制御部21により人間の顔の部分が検出されて重み係数が設定されるようにしてもよい。   For example, in the image, the noise of a portion that is noticed by a person, such as a human face portion, is conspicuous even if it is minute, so the effective region control unit 21 detects the human face portion and sets the weighting coefficient. You may make it do.

図5は、有効領域制御部21の別の構成例を示すブロック図である。この例では、有効領域制御部21が、顔画像検出部111と重み設定部112とにより構成されている。   FIG. 5 is a block diagram illustrating another configuration example of the effective area control unit 21. In this example, the effective area control unit 21 includes a face image detection unit 111 and a weight setting unit 112.

顔画像検出部111は、入力映像信号に基づいて、例えば、1フレーム分の画面の画像データを取得し、その画像から、肌色領域を抽出し、標準的な顔の画像であるテンプレートなどを用いて、抽出した肌色領域が顔の画像の領域であるかを判定し、顔画像の領域であると判定された場合、肌色領域を含む方形領域を顔画像の領域として検出するようになされている。   For example, the face image detection unit 111 acquires screen image data for one frame based on the input video signal, extracts a skin color region from the image, and uses a template or the like that is a standard face image. Then, it is determined whether the extracted skin color area is a face image area, and when it is determined that the extracted skin color area is a face image area, a square area including the skin color area is detected as a face image area. .

顔画像検出部111は、例えば、1画面分の画像データを、それぞれ所定の画素数で構成される複数のブロックに分割し、個々のブロックについて顔画像の領域であるか否かを表すフラグなどを付加して重み設定部112に供給する。   For example, the face image detection unit 111 divides image data for one screen into a plurality of blocks each having a predetermined number of pixels, and flags indicating whether each block is a face image region or the like To the weight setting unit 112.

重み設定部112は、顔画像検出部111により顔画像の領域であると判定されたブロックに対応する重み係数を設定するようになされている。重み設定部112は、例えば、顔画像の領域のブロックに対しては、「1」より大きい重み係数を設定し、顔画像の領域のブロック以外のブロックに対しては、重み係数を「1」に設定するようになされている。   The weight setting unit 112 is configured to set a weighting coefficient corresponding to a block determined to be a face image area by the face image detection unit 111. For example, the weight setting unit 112 sets a weight coefficient larger than “1” for a block in the face image area, and sets the weight coefficient to “1” for a block other than the block in the face image area. Has been made to set to.

このように、ブロックと重み係数が対応付けられた情報を含む制御信号が、重み設定部112から出力され、上述したように、ヒストグラム生成部32に供給されることになる。これにより、ヒストグラム生成部32は、ヒストグラムを生成するとき、例えば、あるブロックの画素のフレーム間の差分値の頻度に、そのブロックに対応付けられた重み係数を乗じてヒストグラムを生成する。   As described above, a control signal including information in which a block and a weighting coefficient are associated with each other is output from the weight setting unit 112 and supplied to the histogram generation unit 32 as described above. Thereby, when generating the histogram, for example, the histogram generating unit 32 generates the histogram by multiplying the frequency of the difference value between the pixels of a certain block by the weighting coefficient associated with the block.

その結果、顔画像のブロックについては、ヒストグラムの頻度が高くなり、顔画像のブロック以外のブロックについては、ヒストグラムの頻度が低くなる。   As a result, the frequency of the histogram is high for the face image block, and the frequency of the histogram is low for the blocks other than the face image block.

従って、有効領域制御部21を、図5に示されるように構成すれば、有効領域制御部21から制御信号の供給を受けたノイズ計測部22は、上述したように、人が注目する人間の顔の部分は、フレーム間の輝度値の変化に対して比較的大きなノイズレベルを計測するが、人間の顔以外の部分は、フレーム間の輝度値の変化に対して、通常のノイズレベルを計測するようにすることができる。また、このようにして、計測されたノイズレベルを用いてノイズリデューサなどを制御し、画像(映像)のノイズを除去するようにすれば、やはり自然な画像の補正を行うことができる。   Therefore, if the effective area control unit 21 is configured as shown in FIG. 5, the noise measurement unit 22 that has received the control signal from the effective area control unit 21 receives the human attention of the person as described above. The face part measures a relatively large noise level with respect to the change in luminance value between frames, but the part other than the human face measures the normal noise level with respect to the change in luminance value between frames. To be able to. In addition, if the noise reducer is controlled using the measured noise level in this way to remove noise from the image (video), natural image correction can be performed.

あるいはまた、有効領域制御部21により、画像の暗い部分が検出されて重み係数が設定されるようにしてもよい。映像信号、画像データなどの各画素値から算出されたノイズ量の数値が同じであったとしても、暗い画像の場合、人はノイズが多いと感じ、明るい画像の場合、人はノイズが少ないと感じる。   Alternatively, the effective area control unit 21 may detect the dark part of the image and set the weighting coefficient. Even if the numerical values of the amount of noise calculated from each pixel value such as video signal and image data are the same, people feel that there is a lot of noise in the case of dark images, and people have less noise in the case of bright images feel.

図6は、有効領域制御部21のさらに別の構成例を示すブロック図である。この例では、有効領域制御部21が、重み設定部122により構成されている。   FIG. 6 is a block diagram showing still another configuration example of the effective area control unit 21. In this example, the effective area control unit 21 includes a weight setting unit 122.

重み設定部122は、入力映像信号に基づいて、例えば、1フレーム分の画面の画像データを取得し、1画面分の画像データを、それぞれ所定の画素数で構成される複数のブロックに分割し、それらのブロックを構成する画素の輝度の平均値を算出する。そして、重み設定部122は、例えば、算出された輝度の平均値を予め記憶している閾値と比較し、輝度の平均値が閾値以上の場合、重み係数の値を「1」に設定し、輝度の平均値が閾値未満の場合、重み係数の値を「1」以上の値に設定する。   The weight setting unit 122 acquires, for example, image data of one frame of screen based on the input video signal, and divides the image data of one screen into a plurality of blocks each having a predetermined number of pixels. Then, the average value of the luminance of the pixels constituting these blocks is calculated. Then, for example, the weight setting unit 122 compares the calculated average value of luminance with a threshold value stored in advance, and if the average value of luminance is equal to or greater than the threshold value, sets the value of the weight coefficient to “1”, When the average luminance value is less than the threshold value, the value of the weighting coefficient is set to “1” or more.

このように、ブロックと重み係数が対応付けられた情報を含む制御信号が、重み設定部122から出力され、上述したように、ヒストグラム生成部32に供給されることになる。これにより、ヒストグラム生成部32は、ヒストグラムを生成するとき、例えば、あるブロックの画素のフレーム間の差分値の頻度に、そのブロックに対応付けられた重み係数を乗じてヒストグラムを生成する。   As described above, a control signal including information in which a block and a weighting coefficient are associated with each other is output from the weight setting unit 122 and supplied to the histogram generation unit 32 as described above. Thereby, when generating the histogram, for example, the histogram generating unit 32 generates the histogram by multiplying the frequency of the difference value between the pixels of a certain block by the weighting coefficient associated with the block.

その結果、暗い画像のブロックについては、ヒストグラムの頻度が高くなり、明るい画像のブロックについては、ヒストグラムの頻度が低くなる。   As a result, the histogram frequency is high for dark image blocks, and the histogram frequency is low for bright image blocks.

従って、有効領域制御部21を、図6に示されるように構成すれば、有効領域制御部21から制御信号の供給を受けたノイズ計測部22は、上述したように、画像の中の暗い部分は、フレーム間の輝度値の変化に対して比較的大きなノイズレベルを計測するが、画像の中の明るい部分は、フレーム間の輝度値の変化に対して、通常のノイズレベルを計測するようにすることができる。また、このようにして、計測されたノイズレベルを用いてノイズリデューサなどを制御し、画像(映像)のノイズを除去するようにすれば、やはり自然な画像の補正を行うことができる。   Therefore, if the effective area control unit 21 is configured as shown in FIG. 6, the noise measurement unit 22 that has received the control signal from the effective area control unit 21 can detect a dark portion in the image as described above. Measures a relatively large noise level with respect to the change in luminance value between frames, but measures a normal noise level with respect to a change in luminance value between frames in a bright part of an image. can do. In addition, if the noise reducer is controlled using the measured noise level in this way to remove noise from the image (video), natural image correction can be performed.

あるいはまた、有効領域制御部21の重み設定部122に、他の装置から供給される情報に基づいて重み係数を設定させるようにしてもよい。例えば、画像の中の各画素について動き量を演算する装置などにより、演算された動き量に基づいて、重み設定部122が、上述した場合と同様に重み係数を設定するようにしてもよい。このようにすることで、例えば、ノイズ計測部22が、画像の中の動きの小さい部分は、フレーム間の輝度値の変化に対して比較的大きなノイズレベルを計測するが、画像の中の動きの大きい部分は、フレーム間の輝度値の変化に対して、通常のノイズレベルを計測するようにすることができる。   Alternatively, the weight setting unit 122 of the effective area control unit 21 may be configured to set the weight coefficient based on information supplied from another device. For example, the weight setting unit 122 may set the weighting coefficient in the same manner as described above based on the calculated amount of motion by a device that calculates the amount of motion for each pixel in the image. By doing so, for example, the noise measurement unit 22 measures a relatively large noise level with respect to a change in luminance value between frames in a portion where the motion is small in the image. For a large portion, a normal noise level can be measured with respect to a change in luminance value between frames.

なお、上述した一連の処理は、ハードウェアにより実行させることもできるし、ソフトウェアにより実行させることもできる。上述した一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが、専用のハードウェアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば図7に示されるような汎用のパーソナルコンピュータ700などに、ネットワークや記録媒体からインストールされる。   The series of processes described above can be executed by hardware, or can be executed by software. When the above-described series of processing is executed by software, a program constituting the software executes various functions by installing a computer incorporated in dedicated hardware or various programs. For example, a general-purpose personal computer 700 as shown in FIG. 7 is installed from a network or a recording medium.

図7において、CPU(Central Processing Unit)701は、ROM(Read Only Memory)702に記憶されているプログラム、または記憶部708からRAM(Random Access Memory)703にロードされたプログラムに従って各種の処理を実行する。RAM703にはまた、CPU701が各種の処理を実行する上において必要なデータなども適宜記憶される。   In FIG. 7, a CPU (Central Processing Unit) 701 executes various processes according to a program stored in a ROM (Read Only Memory) 702 or a program loaded from a storage unit 708 to a RAM (Random Access Memory) 703. To do. The RAM 703 also appropriately stores data necessary for the CPU 701 to execute various processes.

CPU701、ROM702、およびRAM703は、バス704を介して相互に接続されている。このバス704にはまた、入出力インタフェース705も接続されている。   The CPU 701, ROM 702, and RAM 703 are connected to each other via a bus 704. An input / output interface 705 is also connected to the bus 704.

入出力インタフェース705には、キーボード、マウスなどよりなる入力部706、CRT(Cathode Ray Tube)、LCD(Liquid Crystal display)などよりなるディスプレイ、並びにスピーカなどよりなる出力部707、ハードディスクなどより構成される記憶部708、モデム、LANカードなどのネットワークインタフェースカードなどより構成される通信部709が接続されている。通信部709は、インターネットを含むネットワークを介しての通信処理を行う。   The input / output interface 705 includes an input unit 706 including a keyboard and a mouse, a display including a CRT (Cathode Ray Tube) and an LCD (Liquid Crystal display), an output unit 707 including a speaker, and a hard disk. A communication unit 709 including a storage unit 708, a network interface card such as a modem and a LAN card, and the like is connected. The communication unit 709 performs communication processing via a network including the Internet.

入出力インタフェース705にはまた、必要に応じてドライブ710が接続され、磁気ディスク、光ディスク、光磁気ディスク、或いは半導体メモリなどのリムーバブルメディア711が適宜装着され、それらから読み出されたコンピュータプログラムが、必要に応じて記憶部708にインストールされる。   A drive 710 is also connected to the input / output interface 705 as necessary, and a removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory is appropriately mounted, and a computer program read from them is loaded. It is installed in the storage unit 708 as necessary.

上述した一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが、インターネットなどのネットワークや、リムーバブルメディア711などからなる記録媒体からインストールされる。   When the above-described series of processing is executed by software, a program constituting the software is installed from a network such as the Internet or a recording medium such as a removable medium 711.

なお、この記録媒体は、図7に示される、装置本体とは別に、ユーザにプログラムを配信するために配布される、プログラムが記録されている磁気ディスク(フロッピディスク(登録商標)を含む)、光ディスク(CD-ROM(Compact Disk-Read Only Memory),DVD(Digital Versatile Disk)を含む)、光磁気ディスク(MD(Mini-Disk)(登録商標)を含む)、もしくは半導体メモリなどよりなるリムーバブルメディア711により構成されるものだけでなく、装置本体に予め組み込まれた状態でユーザに配信される、プログラムが記録されているROM702や、記憶部708に含まれるハードディスクなどで構成されるものも含む。   The recording medium shown in FIG. 7 is a magnetic disk (including a floppy disk (registered trademark)) on which a program is recorded, which is distributed to distribute the program to the user separately from the apparatus main body. Removable media consisting of optical disks (including CD-ROM (compact disk-read only memory), DVD (digital versatile disk)), magneto-optical disks (including MD (mini-disk) (registered trademark)), or semiconductor memory It includes not only those configured by 711 but also those configured by a ROM 702 storing a program, a hard disk included in the storage unit 708, and the like that are distributed to the user in a state of being incorporated in the apparatus main body in advance.

なお、本明細書において上述した一連の処理を実行するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。   Note that the steps of executing the series of processes described above in this specification are performed in parallel or individually even if they are not necessarily processed in time series, as well as processes performed in time series in the order described. The processing to be performed is also included.

本発明の一実施の形態に係るノイズレベル計測装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the noise level measuring apparatus which concerns on one embodiment of this invention. 図1の有効領域制御部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the effective area control part of FIG. ノイズレベル計測処理の例を説明するフローチャートである。It is a flowchart explaining the example of a noise level measurement process. 有効領域制御信号出力処理を説明するフローチャートである。It is a flowchart explaining an effective area | region control signal output process. 図1の有効領域制御部の別の構成例を示すブロック図である。It is a block diagram which shows another structural example of the effective area | region control part of FIG. 図1の有効領域制御部のさらに別の構成例を示すブロック図である。It is a block diagram which shows another example of a structure of the effective area | region control part of FIG. パーソナルコンピュータの構成例を示すブロック図である。And FIG. 16 is a block diagram illustrating a configuration example of a personal computer.

符号の説明Explanation of symbols

10 ノイズレベル計測装置, 21 有効領域制御部, 22 ノイズ計測部, 31 フレーム差分取得部, 32 ヒストグラム生成部, 33 ノイズ量算出部, 101 ブロック分散演算部, 102 重み設定部, 111 顔画像検出部, 112 重み設定部, 122 重み設定部, 701 CPU, 711 リムーバブルメディア   DESCRIPTION OF SYMBOLS 10 Noise level measuring device, 21 Effective area control part, 22 Noise measurement part, 31 Frame difference acquisition part, 32 Histogram generation part, 33 Noise amount calculation part, 101 Block dispersion | distribution calculation part, 102 Weight setting part, 111 Face image detection part , 112 Weight setting unit, 122 Weight setting unit, 701 CPU, 711 Removable media

Claims (4)

映像信号のノイズレベルを計測する計測装置であって、
入力映像信号に基づく1フレーム分の画像データにおいて、前記画像データの中の所定数の画素で構成される複数の領域のそれぞれについて制御情報を生成する制御情報生成手段と、
前記入力映像信号に基づく、前記制御情報が生成された複数の領域のそれぞれについて、時間的に前の1フレーム分の画像データを構成するそれぞれの画素の値と、時間的に後の1フレーム分の画像データを構成するそれぞれの画素の値の差分データを、それぞれ取得する差分データ取得手段と、
前記複数の領域のそれぞれの画素の値の差分値の頻度に、当該領域の前記制御情報に対応して定まる係数を乗じて前記画素の値の差分値の頻度を設定して、前記差分データ取得手段により取得された前記差分データのヒストグラムデータを生成するヒストグラムデータ生成手段と、
前記ヒストグラムデータ生成手段により生成された前記ヒストグラムデータに基づいて前記入力映像信号のノイズ量を算出するノイズ量算出手段とを備え、
前記制御情報生成手段は、
前記領域における画像のエッジ数、前記領域における画素の輝度の平均値、または、前記領域における画素の動き量を表す演算値を演算し、
前記演算値が小さいほど前記係数の値が大きくなるように、前記制御情報を生成する
計測装置。
A measuring device for measuring a noise level of a video signal,
Control information generating means for generating control information for each of a plurality of regions composed of a predetermined number of pixels in the image data in one frame of image data based on an input video signal;
For each of the plurality of regions in which the control information is generated based on the input video signal, the value of each pixel constituting image data for one frame earlier in time and one frame later in time Differential data acquisition means for acquiring the differential data of the values of the respective pixels constituting the image data;
The difference data acquisition is performed by setting the frequency of the difference value of the pixel value by multiplying the frequency of the difference value of the pixel value of each of the plurality of regions by a coefficient determined corresponding to the control information of the region. Histogram data generating means for generating histogram data of the difference data acquired by the means;
Noise amount calculating means for calculating the noise amount of the input video signal based on the histogram data generated by the histogram data generating means,
The control information generating means
Calculating the number of edges of the image in the region, the average value of the luminance of the pixels in the region, or a calculated value representing the amount of movement of the pixels in the region
A measurement device that generates the control information so that the value of the coefficient increases as the calculated value decreases.
映像信号のノイズレベルを計測する計測装置の計測方法であって、
入力映像信号に基づく1フレーム分の画像データにおいて、前記画像データの中の所定数の画素で構成される複数の領域のそれぞれについて制御情報を生成し、
前記入力映像信号に基づく、前記制御情報が生成された複数の領域のそれぞれについて、時間的に前の1フレーム分の画像データを構成するそれぞれの画素の値と、時間的に後の1フレーム分の画像データを構成するそれぞれの画素の値の差分データを、それぞれ取得し、
前記複数の領域のそれぞれの画素の値の差分値の頻度に、当該領域の前記制御情報に対応して定まる係数を乗じて前記画素の値の差分値の頻度を設定して、前記取得された前記差分データのヒストグラムデータを、前記生成された制御情報に基づいて生成し、
前記生成された前記ヒストグラムデータに基づいて前記入力映像信号のノイズ量を算出するステップを含み、
前記領域における画像のエッジ数、前記領域における画素の輝度の平均値、または、前記領域における画素の動き量を表す演算値が演算され、
前記演算値が小さいほど前記係数の値が大きくなるように、前記制御情報が生成される
計測方法。
A measuring method of a measuring device for measuring a noise level of a video signal,
In the image data for one frame based on the input video signal, control information is generated for each of a plurality of regions composed of a predetermined number of pixels in the image data,
For each of the plurality of regions in which the control information is generated based on the input video signal, the value of each pixel constituting image data for one frame earlier in time and one frame later in time Each of the difference data of the values of the pixels constituting the image data of
The frequency of the difference value of each pixel value of the plurality of regions is multiplied by a coefficient determined corresponding to the control information of the region to set the frequency of the difference value of the pixel value, and the obtained Generating histogram data of the difference data based on the generated control information;
Calculating a noise amount of the input video signal based on the generated histogram data;
The number of edges of the image in the region, the average value of the luminance of the pixels in the region, or a calculated value representing the amount of motion of the pixels in the region is calculated,
The measurement method in which the control information is generated so that the value of the coefficient increases as the calculated value decreases.
コンピュータに映像信号のノイズレベルを計測させるプログラムであって、
コンピュータを、
入力映像信号に基づく1フレーム分の画像データにおいて、前記画像データの中の所定数の画素で構成される複数の領域のそれぞれについて制御情報を生成する制御情報生成手段と、
前記入力映像信号に基づく、前記制御情報が生成された複数の領域のそれぞれについて、時間的に前の1フレーム分の画像データを構成するそれぞれの画素の値と、時間的に後の1フレーム分の画像データを構成するそれぞれの画素の値の差分データを、それぞれ取得する差分データ取得手段と、
前記複数の領域のそれぞれの画素の値の差分値の頻度に、当該領域の前記制御情報に対応して定まる係数を乗じて前記画素の値の差分値の頻度を設定して、前記差分データ取得手段により取得された前記差分データのヒストグラムデータを生成するヒストグラムデータ生成手段と、
前記ヒストグラムデータ生成手段により生成された前記ヒストグラムデータに基づいて前記入力映像信号のノイズ量を算出するノイズ量算出手段とを備え、
前記制御情報生成手段は、
前記領域における画像のエッジ数、前記領域における画素の輝度の平均値、または、前記領域における画素の動き量を表す演算値を演算し、
前記演算値が小さいほど前記係数の値が大きくなるように、前記制御情報を生成する計測装置として機能させる
プログラム。
A program that causes a computer to measure the noise level of a video signal,
Computer
Control information generating means for generating control information for each of a plurality of regions composed of a predetermined number of pixels in the image data in one frame of image data based on an input video signal;
For each of the plurality of regions in which the control information is generated based on the input video signal, the value of each pixel constituting image data for one frame earlier in time and one frame later in time Differential data acquisition means for acquiring the differential data of the values of the respective pixels constituting the image data;
The difference data acquisition is performed by setting the frequency of the difference value of the pixel value by multiplying the frequency of the difference value of the pixel value of each of the plurality of regions by a coefficient determined corresponding to the control information of the region. Histogram data generating means for generating histogram data of the difference data acquired by the means;
Noise amount calculating means for calculating the noise amount of the input video signal based on the histogram data generated by the histogram data generating means,
The control information generating means
Calculating the number of edges of the image in the region, the average value of the luminance of the pixels in the region, or a calculated value representing the amount of movement of the pixels in the region
A program that functions as a measurement device that generates the control information so that the value of the coefficient increases as the calculated value decreases.
請求項に記載のプログラムが記録されている記録媒体。 A recording medium on which the program according to claim 3 is recorded.
JP2007162169A 2007-06-20 2007-06-20 Measuring apparatus and method, program, and recording medium Expired - Fee Related JP4962159B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007162169A JP4962159B2 (en) 2007-06-20 2007-06-20 Measuring apparatus and method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007162169A JP4962159B2 (en) 2007-06-20 2007-06-20 Measuring apparatus and method, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2009003599A JP2009003599A (en) 2009-01-08
JP4962159B2 true JP4962159B2 (en) 2012-06-27

Family

ID=40319940

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007162169A Expired - Fee Related JP4962159B2 (en) 2007-06-20 2007-06-20 Measuring apparatus and method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP4962159B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010079580A1 (en) 2009-01-09 2010-07-15 Ntn株式会社 Microinjection apparatus and microinjection method
JP5436082B2 (en) * 2009-07-27 2014-03-05 キヤノン株式会社 Noise reduction device and noise reduction method
WO2011162124A1 (en) * 2010-06-25 2011-12-29 シャープ株式会社 Signal processing device, signal processing program, and display device
WO2012017773A1 (en) * 2010-08-04 2012-02-09 シャープ株式会社 Signal processing apparatus, signal processing method, signal processing program, and display apparatus
WO2012056792A1 (en) * 2010-10-29 2012-05-03 シャープ株式会社 Image processing device and image processing method
WO2012111486A1 (en) * 2011-02-18 2012-08-23 シャープ株式会社 Signal processing apparatus, signal processing method, signal processing program, and video display apparatus
JP2014150295A (en) * 2011-05-24 2014-08-21 Sharp Corp Noise reduction device, display device, noise reduction method, and noise reduction program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4224882B2 (en) * 1999-02-09 2009-02-18 ソニー株式会社 Data processing apparatus and data processing method
JP2004147018A (en) * 2002-10-23 2004-05-20 Fuji Photo Film Co Ltd Image processing method and digital camera
JP4496106B2 (en) * 2005-02-28 2010-07-07 株式会社東芝 Image processing apparatus and image processing method

Also Published As

Publication number Publication date
JP2009003599A (en) 2009-01-08

Similar Documents

Publication Publication Date Title
JP4962159B2 (en) Measuring apparatus and method, program, and recording medium
EP2285097B1 (en) Image processing apparatus, image processing method, and program
TWI376645B (en) Image processing methof of noise reduction and apparatus thereof
JP5389903B2 (en) Optimal video selection
CN104272346A (en) Image processing method for detail enhancement and noise reduction
JP2011233148A (en) Image enhancement method and device, and object detection method and device
KR20210103440A (en) Apparatus and method detecting motion mask
CN112818737B (en) Video identification method, device, storage medium and terminal
JP2013520687A (en) Parameter interpolation for high dynamic range video tone mapping
CN104182983B (en) Highway monitoring video definition detection method based on corner features
JP5574812B2 (en) Image processing apparatus and image processing method
JP5586858B2 (en) Display control apparatus and display control method
JP4888485B2 (en) Gradation correction characteristic evaluation apparatus, image processing apparatus, gradation correction characteristic evaluation method, image processing method, gradation correction characteristic evaluation program, and image processing program
WO2023236757A1 (en) Video image noise evaluation method and device
US20100061656A1 (en) Noise reduction of an image signal
JP2852287B2 (en) Image quality improvement method, edge strength calculation method and apparatus
US8077926B2 (en) Method of motion detection using adaptive threshold
JP2009004945A (en) Measuring apparatus and method, program, and record medium
KR101895390B1 (en) Apparatus and method for evaluating contrast of image
CN111583163A (en) AR-based face image processing method, device, equipment and storage medium
CN111062337B (en) People stream direction detection method and device, storage medium and electronic equipment
Feng et al. Video-level binocular tone-mapping framework based on temporal coherency algorithm
JP5582920B2 (en) Image processing device
CN117196979A (en) Image noise processing method and device, electronic equipment and storage medium
JP2013258513A (en) Measuring device, measurement method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100615

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110623

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110705

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110805

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110825

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110927

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120228

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120312

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

Free format text: PAYMENT UNTIL: 20150406

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees