JP2014158083A - Video processing device, video processing method, broadcast reception device, video imaging device, video storage device, and program - Google Patents
Video processing device, video processing method, broadcast reception device, video imaging device, video storage device, and program Download PDFInfo
- Publication number
- JP2014158083A JP2014158083A JP2013026781A JP2013026781A JP2014158083A JP 2014158083 A JP2014158083 A JP 2014158083A JP 2013026781 A JP2013026781 A JP 2013026781A JP 2013026781 A JP2013026781 A JP 2013026781A JP 2014158083 A JP2014158083 A JP 2014158083A
- Authority
- JP
- Japan
- Prior art keywords
- frame
- noise reduction
- motion vector
- motion
- pixel value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Picture Signal Circuits (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
本発明は、映像信号に含まれるノイズを低減することができる装置、方法、及びプログラムに関する。 The present invention relates to an apparatus, a method, and a program that can reduce noise included in a video signal.
一般に、被写体を撮影して映像信号を生成する処理、この映像信号を伝送する処理、及び受信した映像信号に基づいて表示装置に映像を表示させる処理において、映像信号にノイズが付加される。このノイズは、暗ノイズ及び符号化ノイズなどを含む。暗ノイズは、暗い被写体を明るい映像として表示させるための増幅処理によって、映像信号の微小な揺らぎをも増幅してしまうことで現れるノイズである。符号化ノイズは、映像信号を伝送するための符号化処理によって映像信号に発生するノイズである。 In general, noise is added to a video signal in a process of photographing a subject to generate a video signal, a process of transmitting the video signal, and a process of displaying a video on a display device based on the received video signal. This noise includes dark noise and coding noise. Dark noise is noise that appears when a small fluctuation of a video signal is amplified by amplification processing for displaying a dark subject as a bright video. The coding noise is noise generated in the video signal by the coding process for transmitting the video signal.
このようなノイズを低減する方法として、平均化フィルタ又はガウシアンフィルタなどを用いて、映像信号に対し空間方向の平滑化処理を行う方法が知られている。しかし、空間方向の平滑化処理を行った場合には、ノイズの低減の度合いが増すほど画像の鮮鋭度が低下して、画像にぼやけが発生するという問題がある。また、メディアンフィルタを用いて、画像のエッジを保存しながら空間方向の平滑化処理を行う方法も知られているが、この場合には、画像のエッジの形状が変化するという他の問題が生じる。 As a method of reducing such noise, a method of performing a smoothing process in a spatial direction on a video signal using an averaging filter or a Gaussian filter is known. However, when the smoothing process in the spatial direction is performed, there is a problem that the sharpness of the image is lowered and the image is blurred as the degree of noise reduction is increased. In addition, a method of performing a smoothing process in the spatial direction while preserving the edge of an image using a median filter is also known, but in this case, another problem that the shape of the edge of the image changes occurs. .
上記問題を解決するために、時間的に隣接する複数の映像フレーム(以下「フレーム」又は「1フレームの映像データ」ともいう。)の比較結果に基づいてノイズ低減処理を行う3次元ノイズ低減法が提案されている。この方法は、例えば、ノイズ低減の対象フレームである現フレーム(着目フレーム)と、現フレームに対し時間的に先行するフレーム(前フレーム)と、現フレームに対し時間的に後続するフレーム(後フレーム)とから成る3つのフレームにおいて、同一座標の画素の画素値の平均を算出し、現フレームの画素値を、算出された画素値(平均値)に置き換える方法である。3次元ノイズ低減法は、空間方向の平滑化処理の場合のような画像のぼやけを発生させないが、異なる時刻の複数のフレームの同一座標の画素の画素値を参照するため、映像に物体の動きが存在する場合には、残像のようなぼやけが発生するという問題がある。 In order to solve the above problem, a three-dimensional noise reduction method for performing noise reduction processing based on a comparison result of a plurality of temporally adjacent video frames (hereinafter also referred to as “frames” or “one-frame video data”). Has been proposed. In this method, for example, a current frame (frame of interest) that is a target frame for noise reduction, a frame temporally preceding the current frame (previous frame), and a frame temporally subsequent to the current frame (back frame) ) Is calculated and the pixel value of the pixel having the same coordinate is calculated, and the pixel value of the current frame is replaced with the calculated pixel value (average value). The three-dimensional noise reduction method does not generate image blur as in the case of the smoothing process in the spatial direction, but refers to the pixel values of the pixels at the same coordinates in a plurality of frames at different times, so Is present, there is a problem that blurring such as afterimage occurs.
この残像のようなぼやけは、同一座標の画素の画素値を参照する代わりに、同一物体の同一位置の画素の画素値を参照する動き補償方式を用いることで軽減可能である(例えば、特許文献1参照)。しかし、動き補償方式を用いた3次元ノイズ低減法においては、物体の動き(フレーム間の動きベクトル)に応じて参照する画素の位置を決めるため、着目フレームより時間的に先行するフレームにおける動きの検出精度がノイズ低減の性能に大きく影響する。例えば、動きを誤って検出した場合は、ノイズを低減できないだけでなく、映像品質を低下させるおそれがある。特に、時間の経過に伴って前景物体に隠れる領域、又は、時間の経過に伴って前景物体の陰から出現する領域(すなわち、隠れていた領域)が存在する場合には、これらの領域において、着目フレームよりも時間的に先行するフレーム内に参照すべき画素が存在せず、物体の動きに応じて、参照する画素の座標位置を適切に決めることができない。 Blurring such as an afterimage can be reduced by using a motion compensation method that refers to the pixel value of the pixel at the same position of the same object instead of referring to the pixel value of the pixel of the same coordinate (for example, Patent Documents). 1). However, in the three-dimensional noise reduction method using the motion compensation method, the position of the pixel to be referred to is determined according to the motion of the object (the motion vector between frames). Detection accuracy greatly affects noise reduction performance. For example, when motion is detected by mistake, not only noise cannot be reduced, but also the video quality may be lowered. In particular, if there are areas that are hidden in the foreground object over time, or areas that appear behind the foreground object over time (i.e. areas that were hidden), There is no pixel to be referenced in a frame that temporally precedes the frame of interest, and the coordinate position of the pixel to be referenced cannot be appropriately determined according to the movement of the object.
以上に説明したように、従来の3次元ノイズ低減法においては、フレーム間の動きベクトルを誤って検出した場合に、ノイズを適切に低減できないだけでなく、映像品質を低下させるおそれがある。 As described above, in the conventional three-dimensional noise reduction method, when a motion vector between frames is erroneously detected, not only noise can be appropriately reduced but also video quality may be lowered.
そこで、本発明は、上記従来技術の課題を解決するためになされたものであり、その目的は、映像品質の低下を回避しながら、ノイズを適切に低減することができる映像処理装置、映像処理方法、放送受信装置、映像撮影装置、映像蓄積装置及びプログラムを提供することである。 Therefore, the present invention has been made to solve the above-described problems of the prior art, and an object of the present invention is to provide a video processing apparatus and video processing capable of appropriately reducing noise while avoiding deterioration in video quality. A method, a broadcast receiving device, a video photographing device, a video storage device, and a program are provided.
本発明の一態様に係る映像処理装置は、動画像を構成する一連の複数のフレームの1つを着目フレームとし、前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方を動き検出用参照フレームとして用いて、前記着目フレームと前記動き検出用参照フレームとの間の動きを推定し、前記着目フレームを構成する画素単位の動きベクトルを検出する動き検出部と、前記動き検出部によって検出された前記動きベクトル、前記着目フレーム、及び前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方であるノイズ低減用参照フレームを用いて、前記着目フレームのノイズが低減されたノイズ低減フレームを生成するノイズ低減部とを有し、前記ノイズ低減部は、前記動きベクトルの境界画素を検出し、前記検出された境界画素を示す動きベクトル境界画素情報を生成する動きベクトル境界検出手段と、前記着目フレームと前記ノイズ低減用参照フレームとの間における画素値変化率を解析し、前記画素値変化率の解析結果情報を生成する画素値変化率解析手段と、前記動きベクトル境界画素情報及び前記画素値変化率の解析結果情報を用いて前記ノイズ低減フレームの生成を行う補正手段とを有することを特徴としている。 The video processing apparatus according to one aspect of the present invention uses one of a plurality of frames constituting a moving image as a target frame, and at least one of a temporally preceding frame and a temporally subsequent frame of the target frame. As a motion detection reference frame, estimating a motion between the frame of interest and the motion detection reference frame, and detecting a motion vector in units of pixels constituting the frame of interest, and the motion Using the reference vector for noise reduction that is at least one of the motion vector, the frame of interest, the frame temporally preceding the frame of interest, and the frame temporally following the frame of interest detected by the detection unit, A noise reduction unit that generates a noise reduction frame with reduced noise, the noise reduction unit Pixel value change between the motion vector boundary detection means for detecting the boundary pixel of the motion vector and generating motion vector boundary pixel information indicating the detected boundary pixel, and the reference frame for noise reduction A pixel value change rate analyzing means for analyzing a rate and generating analysis result information of the pixel value change rate, and generating the noise reduction frame using the motion vector boundary pixel information and the analysis result information of the pixel value change rate And correction means for performing the above.
本発明の他の態様に係る映像処理方法は、動画像を構成する一連の複数のフレームの1つを着目フレームとし、前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方を動き検出用参照フレームとして用いて、前記着目フレームと前記動き検出用参照フレームとの間の動きを推定し、前記着目フレームを構成する画素単位の動きベクトルを検出する動き検出ステップと、前記動き検出ステップにおいて検出された前記動きベクトル、前記着目フレーム、及び前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方であるノイズ低減用参照フレームを用いて、前記着目フレームのノイズが低減されたノイズ低減フレームを生成するノイズ低減ステップとを有し、前記ノイズ低減ステップは、前記動きベクトルの境界画素を検出し、前記検出された境界画素を示す動きベクトル境界画素情報を生成する動きベクトル境界検出ステップと、前記着目フレームと前記動き検出用参照フレームとの間における画素値変化率を解析し、前記画素値変化率の解析結果情報を生成する画素値変化率解析ステップと、前記動きベクトル境界画素情報及び前記画素値変化率の解析結果情報を用いて前記ノイズ低減フレームの生成を行うノイズ低減フレーム生成ステップと
を有することを特徴としている。
In the video processing method according to another aspect of the present invention, one of a plurality of frames constituting a moving image is set as a frame of interest, and at least of a frame temporally preceding and temporally following the frame of interest. Using one of them as a reference frame for motion detection, estimating a motion between the frame of interest and the reference frame for motion detection, and detecting a motion vector in units of pixels constituting the frame of interest; The target frame using the noise reduction reference frame that is at least one of the motion vector, the target frame, the temporally preceding frame, and the temporally following frame detected in the motion detection step. A noise reduction step for generating a noise reduction frame with reduced noise The noise reduction step includes a motion vector boundary detection step of detecting a boundary pixel of the motion vector and generating motion vector boundary pixel information indicating the detected boundary pixel; the frame of interest; and the motion detection reference frame; A pixel value change rate analysis step for analyzing the pixel value change rate between the two, generating the pixel value change rate analysis result information, and using the motion vector boundary pixel information and the pixel value change rate analysis result information And a noise reduction frame generation step for generating the noise reduction frame.
本発明の他の態様に係る放送受信装置は、放送波を受信し、前記放送波に含まれる映像情報の復号化を行う放送受信部と、前記放送受信部から動画像を構成する一連の複数のフレームを受け取り、前記一連の複数のフレームの1つを着目フレームとし、前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方を動き検出用参照フレームとして用いて、前記着目フレームと前記動き検出用参照フレームとの間の動きを推定し、前記着目フレームを構成する画素単位の動きベクトルを検出する動き検出部と、前記動き検出部によって検出された前記動きベクトル、前記着目フレーム、及び前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方であるノイズ低減用参照フレームを用いて、前記着目フレームのノイズが低減されたノイズ低減フレームを生成するノイズ低減部とを有し、前記ノイズ低減部は、
前記動きベクトルの境界画素を検出し、前記検出された境界画素を示す動きベクトル境界画素情報を生成する動きベクトル境界検出手段と、前記着目フレームと前記動き検出用参照フレームとの間における画素値変化率を解析し、前記画素値変化率の解析結果情報を生成する画素値変化率解析手段と、前記動きベクトル境界画素情報及び前記画素値変化率の解析結果情報を用いて前記ノイズ低減フレームの生成を行う補正手段とを有することを特徴としている。
A broadcast receiving apparatus according to another aspect of the present invention includes a broadcast receiving unit that receives a broadcast wave and decodes video information included in the broadcast wave, and a series of a plurality of pieces that configure a moving image from the broadcast receiving unit. And using one of the plurality of frames as a target frame, using at least one of a temporally preceding frame and a temporally following frame as the motion detection reference frame, Estimating a motion between the frame of interest and the reference frame for motion detection, detecting a motion vector in units of pixels constituting the frame of interest, the motion vector detected by the motion detector, Noise reduction that is at least one of a frame of interest and a frame temporally preceding and temporally following the frame of interest Using the reference frames, and a noise reduction unit which generates a noise reduction frame noise of the focus frame is reduced, the noise reduction unit,
Pixel value change between the motion vector boundary detection means for detecting the boundary pixel of the motion vector and generating motion vector boundary pixel information indicating the detected boundary pixel, and the frame of interest and the reference frame for motion detection A pixel value change rate analyzing means for analyzing a rate and generating analysis result information of the pixel value change rate, and generating the noise reduction frame using the motion vector boundary pixel information and the analysis result information of the pixel value change rate And correction means for performing the above.
本発明の他の態様に係る映像撮影装置は、映像を撮影し動画像を構成する一連の複数のフレームデータを生成する撮像部と、前記撮像部から動画像を構成する一連の複数のフレームを受け取り、前記一連の複数のフレームの1つを着目フレームとし、前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方を動き検出用参照フレームとして用いて、前記着目フレームと前記動き検出用参照フレームとの間の動きを推定し、前記着目フレームを構成する画素単位の動きベクトルを検出する動き検出部と、前記動き検出部によって検出された前記動きベクトル、前記着目フレーム、及び前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方であるノイズ低減用参照フレームを用いて、前記着目フレームのノイズが低減されたノイズ低減フレームを生成するノイズ低減部とを有し、前記ノイズ低減部は、前記動きベクトルの境界画素を検出し、前記検出された境界画素を示す動きベクトル境界画素情報を生成する動きベクトル境界検出手段と、前記着目フレームと前記動き検出用参照フレームとの間における画素値変化率を解析し、前記画素値変化率の解析結果情報を生成する画素値変化率解析手段と、前記動きベクトル境界画素情報及び前記画素値変化率の解析結果情報を用いて前記ノイズ低減フレームの生成を行う補正手段とを有することを特徴としている。 An image capturing apparatus according to another aspect of the present invention includes an imaging unit that captures a video and generates a series of frame data constituting a moving image, and a series of frames that constitute a moving image from the imaging unit. Receiving one of the plurality of frames as a target frame, using at least one of a temporally preceding frame and a temporally following frame as the motion detection reference frame, A motion detection unit that estimates a motion between the motion detection reference frame and detects a motion vector in units of pixels constituting the target frame; the motion vector detected by the motion detection unit; the target frame; And at least one of a temporally preceding frame and a temporally following frame of the frame of interest. A noise reduction unit that generates a noise reduction frame in which noise of the frame of interest is reduced using a reference frame, wherein the noise reduction unit detects a boundary pixel of the motion vector, and detects the detected boundary Motion vector boundary detection means for generating motion vector boundary pixel information indicating a pixel; and a pixel value change rate between the frame of interest and the motion detection reference frame; and analysis result information of the pixel value change rate It has a pixel value change rate analyzing means to be generated, and a correcting means for generating the noise reduction frame using the motion vector boundary pixel information and the analysis result information of the pixel value change rate.
本発明の他の態様に係る映像蓄積装置は、動画像を構成する一連の複数のフレームを記憶する記憶部と、前記記憶部に記憶されている前記一連の複数のフレームの1つを着目フレームとし、前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方を動き検出用参照フレームとして用いて、前記着目フレームと前記動き検出用参照フレームとの間の動きを推定し、前記着目フレームを構成する画素単位の動きベクトルを検出する動き検出部と、前記動き検出部によって検出された前記動きベクトル、前記着目フレーム、及び前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方であるノイズ低減用参照フレームを用いて、前記着目フレームのノイズが低減されたノイズ低減フレームを生成するノイズ低減部と、を有し、前記ノイズ低減部は、前記動きベクトルの境界画素を検出し、前記検出された境界画素を示す動きベクトル境界画素情報を生成する動きベクトル境界検出手段と、前記着目フレームと前記動き検出用参照フレームとの間における画素値変化率を解析し、前記画素値変化率の解析結果情報を生成する画素値変化率解析手段と、前記動きベクトル境界画素情報及び前記画素値変化率の解析結果情報を用いて前記ノイズ低減フレームの生成を行う補正手段とを有することを特徴している。 A video storage device according to another aspect of the present invention includes a storage unit that stores a series of frames constituting a moving image, and a frame of interest as one of the series of frames stored in the storage unit. And using at least one of a temporally preceding frame and a temporally following frame as the motion detection reference frame to estimate a motion between the focus frame and the motion detection reference frame. A motion detection unit that detects a motion vector in units of pixels constituting the target frame, the motion vector detected by the motion detection unit, the target frame, a frame temporally preceding the target frame, and a temporal The noise of the frame of interest is reduced by using a noise reduction reference frame that is at least one of the following frames. A noise reduction unit that generates a noise reduction frame, wherein the noise reduction unit detects a boundary pixel of the motion vector and generates motion vector boundary pixel information indicating the detected boundary pixel. Boundary detection means, pixel value change rate analysis means for analyzing a pixel value change rate between the frame of interest and the motion detection reference frame, and generating analysis result information of the pixel value change rate; and the motion vector And correction means for generating the noise reduction frame using boundary pixel information and analysis result information of the pixel value change rate.
本発明の他の態様に係るプログラムは、コンピュータに処理を実行させるプログラムであって、前記処理は、動画像を構成する一連の複数のフレームの1つを着目フレームとし、前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方を動き検出用参照フレームとして用いて、前記着目フレームと前記動き検出用参照フレームとの間の動きを推定し、前記着目フレームを構成する画素単位の動きベクトルを検出する動き検出処理と、前記動き検出処理において検出された前記動きベクトル、前記着目フレーム、及び前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方であるノイズ低減用参照フレームを用いて、前記着目フレームのノイズが低減されたノイズ低減フレームを生成するノイズ低減処理とを含み、前記ノイズ低減処理は、前記動きベクトルの境界画素を検出し、前記検出された境界画素を示す動きベクトル境界画素情報を生成する動きベクトル境界検出処理と、前記着目フレームと前記動き検出用参照フレームとの間における画素値変化率を解析し、前記画素値変化率の解析結果情報を生成する画素値変化率解析処理と、前記動きベクトル境界画素情報及び前記画素値変化率の解析結果情報を用いて前記ノイズ低減フレームの生成を行うノイズ低減フレーム生成処理とを含むことを特徴としている。 A program according to another aspect of the present invention is a program that causes a computer to execute a process, and the process uses one of a plurality of frames constituting a moving image as a target frame, and is temporally more than the target frame. Pixels constituting the frame of interest by estimating the motion between the frame of interest and the reference frame for motion detection using at least one of the frame preceding the frame and the frame following temporally as the frame for motion detection At least one of a motion detection process for detecting a unit motion vector, the motion vector detected in the motion detection process, the frame of interest, a frame temporally preceding the frame of interest, and a frame temporally following Using a noise reduction reference frame, the noise of the frame of interest is reduced. Noise reduction processing for generating a noise reduction frame, wherein the noise reduction processing detects a boundary pixel of the motion vector and generates motion vector boundary pixel information indicating the detected boundary pixel. A pixel value change rate analysis process for analyzing a pixel value change rate between the frame of interest and the motion detection reference frame, and generating analysis result information of the pixel value change rate, and the motion vector boundary pixel information And noise reduction frame generation processing for generating the noise reduction frame using the analysis result information of the pixel value change rate.
本発明によれば、動きベクトルだけでなく、動きベクトルの境界画素を示す動きベクトル境界画素情報及び着目フレームと動き検出用参照フレームとの間における画素値変化率の解析結果情報を用いてノイズ低減フレームを生成するので、映像品質の低下を回避しながら、ノイズを適切に低減することができる。 According to the present invention, not only the motion vector but also the motion vector boundary pixel information indicating the boundary pixel of the motion vector and the analysis result information of the pixel value change rate between the target frame and the motion detection reference frame are used to reduce noise. Since the frame is generated, it is possible to appropriately reduce noise while avoiding deterioration in video quality.
《1》実施の形態1.
《1−1》実施の形態1の構成
図1は、本発明の実施の形態1に係る映像処理装置(すなわち、実施の形態1に係る映像処理方法を実施することができる装置)1の構成を概略的に示す機能ブロック図である。図1に示されるように、実施の形態1に係る映像処理装置1は、動き検出部10と、ノイズ低減部20とを備えている。また、図1に示されるように、映像処理装置1は、フレームバッファ30と、フレームバッファ40とを備えてもよい。フレームバッファ30は、動画像を構成する一連の複数のフレームFS1を蓄えるための記憶部である。フレームバッファ40は、動画像を構成する一連の複数のフレームを蓄えるための記憶部であるが、例えば、ノイズ低減部20から出力されたノイズ低減された映像データである一連の複数のフレーム(ノイズ低減フレーム)FS3を蓄えることができる。映像処理装置1は、動き補償方式を用いた3次元ノイズ低減法を用いる装置であり、動き検出部10が動きを誤って検出した場合であっても、映像品質を低下させないように、適切にノイズを低減することができる装置である。
<< 1 >>
<< 1-1 >> Configuration of
また、実施の形態1に係る映像処理方法は、実施の形態1に係る映像処理装置1によって実行可能な方法である。実施の形態1に係る映像処理方法は、動画像を構成する一連の複数のフレームの1つを着目フレームとし、前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方を動き検出用参照フレームとして用いて、前記着目フレームと前記動き検出用参照フレームとの間の動きを推定し、前記着目フレームを構成する画素単位の動きベクトルを検出する動き検出ステップ(動き検出部10によって実行されるステップ)と、動き検出ステップにおいて検出された前記動きベクトル、前記着目フレーム、及び前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方であるノイズ低減用参照フレームを用いて、前記着目フレームのノイズが低減されたノイズ低減フレームを生成するノイズ低減ステップ(ノイズ低減部20によって実行されるステップ)とを有している。ここで、ノイズ低減ステップは、動きベクトルの境界画素を検出し、前記検出された境界画素を示す動きベクトル境界画素情報を生成する動きベクトル境界検出ステップ(後述する動きベクトル境界検出手段202によって実行されるステップ)と、前記着目フレームと前記動き検出用参照フレームとの間における画素値変化率を解析し、前記画素値変化率の解析結果情報を生成する画素値変化率解析ステップ(後述する画素値変化率解析手段201によって実行されるステップ)と、前記動きベクトル境界画素情報及び前記画素値変化率の解析結果情報を用いて前記ノイズ低減フレームの生成を行うノイズ低減フレーム生成ステップ(後述するフレームブレンド率算出手段204、ノイズ低減画像生成手段205、動き誤検出領域補正係数算出手段203、動き誤検出領域補正手段206などによって実行されるステップ)とを含んでいる。
The video processing method according to the first embodiment is a method that can be executed by the
また、映像処理装置1は、プログラムによって動作するコンピュータであってもよい。このプログラムは、コンピュータに処理を実行させるプログラムであって、前記処理は、動画像を構成する一連の複数のフレームの1つを着目フレームとし、前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方を動き検出用参照フレームとして用いて、前記着目フレームと前記動き検出用参照フレームとの間の動きを推定し、前記着目フレームを構成する画素単位の動きベクトルを検出する動き検出処理と、前記動き検出処理において検出された前記動きベクトル、前記着目フレーム、及び前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方であるノイズ低減用参照フレームを用いて、前記着目フレームのノイズが低減されたノイズ低減フレームを生成するノイズ低減処理とを含み、前記ノイズ低減処理は、前記動きベクトルの境界画素を検出し、前記検出された境界画素を示す動きベクトル境界画素情報を生成する動きベクトル境界検出処理と、前記着目フレームと前記動き検出用参照フレームとの間における画素値変化率を解析し、前記画素値変化率の解析結果情報を生成する画素値変化率解析処理と、前記動きベクトル境界画素情報及び前記画素値変化率の解析結果情報を用いて前記ノイズ低減フレームの生成を行うノイズ低減フレーム生成処理とを含んでいる。
The
また、上記プログラムは、コンピュータで読み取り可能な記録媒体に記録することができる。この場合には、プログラムを記録したコンピュータで読み取り可能な記録媒体も、本発明の一部をなす。 The program can be recorded on a computer-readable recording medium. In this case, a computer-readable recording medium on which the program is recorded also forms a part of the present invention.
図1に示される動き検出部10は、動画像を構成する一連の複数のフレーム(すなわち、時間的に並ぶ複数のフレームから構成されるフレーム列)FS1を受け取り、この一連の複数のフレームFS1の内の1つを着目フレームとし、この着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方を参照フレームとして用いて(実施の形態1においては、両方のフレームを誤り検出用参照フレームとしている。)、着目フレームと該着目フレームの前後のフレームとの間の動きを推定して画素単位で(すなわち、フレーム内の各画素について)動きベクトルMVを検出する。例えば、動き検出部10は、フレームバッファ30から動画像を構成する一連の複数のフレームFS1を受け取り、受け取った一連の複数のフレームFS1の内の互いに隣接するフレームである第1フレームFn−1と第2フレームFnとの間の動きベクトル、及び、互いに隣接する第2フレームFnと第3フレームFn+1との間の動きベクトルを検出する。なお、nは、正の整数であり、Fの添え字であるn−1,n,n+1,…は、フレームの並びの順番を示す整数である。また、動きベクトルの検出に用いるフレームは、上記連続する3フレームに限定されない。
The
ノイズ低減部20は、動き検出部10によって検出された動きベクトル、着目フレーム、及び着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方である参照フレーム(ノイズ低減用参照フレーム)を用いて、着目フレームのノイズが低減されたノイズ低減フレームを生成する。ノイズ低減部20は、動きベクトルの境界画素を検出し、前記検出された境界画素を示す動きベクトル境界画素情報を生成する動きベクトル境界検出手段(後述する動きベクトル境界検出手段202)と、着目フレームと動き検出用参照フレームとの間における画素値変化率を解析し、画素値変化率の解析結果情報を生成する画素値変化率解析手段(後述する画素値変化率解析手段201)と、前記動きベクトル境界画素情報及び前記画素値変化率の解析結果情報を用いて前記ノイズ低減フレームFS3の生成を行うノイズ低減フレーム生成手段(後述するフレームブレンド率算出手段204、ノイズ低減画像生成手段205、動き誤検出領域補正係数算出手段203、動き誤検出領域補正手段206)とを含んでいる。なお、ノイズ低減フレームFS3の生成に用いるフレームは、上記連続する3フレームに限定されない。
The
図2は、図1に示されるノイズ低減部20の構成を概略的に示す機能ブロック図である。図2に示されるように、ノイズ低減部20は、フレーム間の画素値の変化率を解析して、フレーム間の画素値変化率の解析結果情報ANを生成する画素値変化率解析手段201と、動きベクトルMVの分布を解析し、動きベクトルMVの境界を検出して、動きベクトルMVの境界画素を示す動きベクトル境界画素情報BOを生成する動きベクトル境界検出手段202と、動き検出部10によって行われた動きの検出が誤りであると判断できる領域を検出して、この検出結果に基づいて画像を補正するための補正係数ERを算出する動き誤検出領域補正係数算出手段203とを有する。また、ノイズ低減部20は、ノイズ低減のためのフレームの重み付き平均を計算する際に用いられるフレーム合成係数であるブレンド重み係数(フレームブレンド率)BWを算出するフレームブレンド率算出手段204と、ブレンド重み係数BWを用いてノイズ低減処理を行うノイズ低減画像生成手段205と、動き検出部10によって行われた動きの検出が誤りであると判断できる領域における、検出された動きの誤りに起因するノイズ低減画像の乱れを補正する動き誤検出領域補正手段206とを有する。なお、図2において、207は、動画像を構成する一連の複数のフレーム(すなわち、第1、第2、第3フレームFn−1,Fn,Fn+1を含むフレーム列)FS1が入力される入力端子を示し、208は、画素単位の動きベクトルMVが入力される入力端子を示し、209は、ノイズを低減した画像データであるノイズ低減フレームFS3が出力される出力端子を示す。
FIG. 2 is a functional block diagram schematically showing the configuration of the
画素値変化率解析手段201は、入力端子207を介して入力される一連の複数のフレームFS1の内の第1、第2、第3フレームFn−1,Fn,Fn+1と、入力端子208を介して入力される画素単位の動きベクトルMVとを受け取り、受け取った第1、第2、第3フレームFn−1,Fn,Fn+1及び動きベクトルMVに基づいて、フレーム間の画素値の変化を画素毎に解析し、フレーム間の画素値変化率の解析結果情報ANを生成する。
The pixel value change
動きベクトル境界検出手段202は、入力端子208を介して入力される画素単位の動きベクトルMVを受け取り、検出対象となる対象画素の動きベクトルとこの対象画素に隣接する隣接画素の動きベクトルとの差が所定の値以上になる対象画素を動きベクトルの境界画素として抽出し、この抽出された境界画素に関する情報である動きベクトル境界画素情報BO及び動きベクトルMVを出力する。
The motion vector
動き誤検出領域補正係数算出手段203は、画素値変化率解析手段201からフレーム間の画素値変化率の解析結果情報ANを受け取り、動きベクトル境界検出手段202から動きベクトルMV及び動きベクトル境界画素情報BOを受け取り、受け取った画素値変化率の解析結果情報AN、動きベクトルMV、及び動きベクトル境界画素情報BOに基づいて、各画素における動きベクトルの誤検出の有無を判断し、誤検出がある画素の補正係数ERを算出する。
The motion error detection region correction
フレームブレンド率算出手段204は、画素値変化率解析手段201からフレーム間の画素値変化率の解析結果情報ANを受け取り、動きベクトル境界検出手段202から動きベクトルMV及び動きベクトル境界画素情報BOを受け取り、受け取った画素値変化率の解析結果情報AN、動きベクトルMV、及び動きベクトル境界画素情報BOに基づいて、第1、第2、第3フレームFn−1,Fn,Fn+1の重み付き平均に用いるブレンド重み係数BWを算出する。
The frame blend
ノイズ低減画像生成手段205は、入力端子207を介して第1、第2、第3フレームFn−1,Fn,Fn+1を受け取り、フレームブレンド率算出手段204からブレンド重み係数BWを受け取り、受け取ったブレンド重み係数BWと第1、第2、第3フレームFn−1,Fn,Fn+1とに基づいて、着目フレームのノイズ低減画像(動き誤検出領域を考慮した補正係数ERによる補正前のノイズ低減フレーム)FS2を生成する。
The noise reduction image generation unit 205 receives the first, second, and third frames F n−1 , F n , and F n + 1 via the
動き誤検出領域補正手段206は、入力端子207を介して第1、第2、第3フレームFn−1,Fn,Fn+1を受け取り、動き誤検出領域補正係数算出手段203から補正係数ERを受け取り、ノイズ低減画像生成手段205からノイズ低減フレームFS2を受け取り、受け取った第1、第2、第3フレームFn−1,Fn,Fn+1、補正係数ER、及びノイズ低減画像FS2に基づいて、ノイズ低減画像FS2の動き誤検出領域の補正を行ない、補正後の画像、すなわち、ノイズ低減された映像データを構成する一連の複数のフレーム(ノイズ低減フレーム)FS3を生成する。
The motion error detection area correction unit 206 receives the first, second, and third frames F n−1 , F n , and F n + 1 via the
図3は、図2に示されるフレームブレンド率算出手段204の構成を概略的に示す機能ブロック図である。図3に示されるように、フレームブレンド率算出手段204は、画素値変化率の解析結果情報ANから、第1、第2、第3フレームFn−1,Fn,Fn+1のノイズ低減への寄与率に応じた優先度PRを算出する参照フレーム優先度算出手段2041と、動きベクトルMV及び動きベクトル境界画素情報BOからオクルージョンを判定してオクルージョン判定結果OCを生成するオクルージョン判定手段2042と、ブレンド重み係数率BWを算出するブレンド重み係数算出手段2043とを有する。なお、図3において、2044は、画素値変化率の解析結果情報ANが入力される入力端子を示し、2045は、動きベクトルMVと動きベクトル境界情報BOが入力される入力端子を示し、2046は、ブレンド重み係数BWが出力される出力端子を示す。 FIG. 3 is a functional block diagram schematically showing the configuration of the frame blend rate calculation means 204 shown in FIG. As shown in FIG. 3, the frame blend rate calculation means 204 reduces the noise of the first, second, and third frames F n−1 , F n , and F n + 1 from the analysis result information AN of the pixel value change rate. Reference frame priority calculation means 2041 for calculating a priority PR according to the contribution rate of the image, occlusion determination means 2042 for determining occlusion from the motion vector MV and the motion vector boundary pixel information BO, and generating an occlusion determination result OC; Blend weight coefficient calculation means 2043 for calculating the blend weight coefficient rate BW. In FIG. 3, 2044 indicates an input terminal to which the analysis result information AN of the pixel value change rate is input, 2045 indicates an input terminal to which the motion vector MV and the motion vector boundary information BO are input, and 2046 indicates , The output terminal from which the blend weight coefficient BW is output.
参照フレーム優先度算出手段2041は、入力端子2044を介して画素値変化率の解析結果情報ANを受け取り、第1、第2、第3フレームFn−1,Fn,Fn+1のそれぞれのノイズの有無、前景物体が背景を隠すオクルージョンの有無を推定し、第1、第2、第3フレームFn−1,Fn,Fn+1のノイズ低減処理に最適な優先度PRを算出する。
The reference frame priority calculation means 2041 receives the analysis result information AN of the pixel value change rate via the
オクルージョン判定手段2042は、入力端子2045を介して動きベクトルMVと動きベクトル境界画素情報BOを受け取り、画素単位でオクルージョンの有無を判定し、画素毎のオクルージョンの有無を示すオクルージョン判定結果OCを生成する。
The
ブレンド重み係数算出手段2043は、参照フレーム優先度算出手段2041から、第1、第2、第3フレームFn−1,Fn,Fn+1の優先度PRを受け取り、オクルージョン判定手段2042から画素毎のオクルージョン判定結果OCを受け取り、受け取った優先度PR及びオクルージョン判定結果OCに基づいて、第1、第2、第3フレームFn−1,Fn,Fn+1の重み付き平均に用いるブレンド重み係数BWを算出する。
The blend weight
図4は、図2に示される動き誤検出領域補正係数算出手段203の構成を概略的に示す機能ブロック図である。図4に示されるように、動き誤検出領域補正係数算出手段203は、画素値変化率の解析結果情報ANに基づいて、補正の要否を判定する画素値急変領域検出手段2031と、動きベクトル境界画素情報BOに基づいて、参照フレームを決定する際に参照フレームが不定となる参照フレーム不定領域を検出して、検出結果を示す参照フレーム不定領域情報BRを生成する参照フレーム不定領域検出手段2032とを有する。また、動き誤検出領域補正係数算出手段203は、動きベクトル境界が集中する動きベクトル境界集中領域を検出する動きベクトル境界集中領域検出手段2033と、動きベクトルの誤検出領域を補正するための補正係数ERを算出する補正係数算出手段2034とを有する。なお、図4において、2035は、画素値変化率の解析結果情報ANが入力される入力端子を示し、2036は、動きベクトルMVと動きベクトル境界画素情報BOとが入力される入力端子を示し、2037は、動きが誤検出された領域を補正するための補正係数ERが出力される出力端子を示す。
FIG. 4 is a functional block diagram schematically showing the configuration of the motion error detection region correction
画素値急変領域検出手段2031は、入力端子2035を介して画素値変化率の解析結果情報ANを受け取り、受け取った画素値変化率の解析結果情報ANに基づいて、動きの誤検出の影響で画素値が急激に変化する領域を検出し、検出した領域を示す補正対象領域情報SRを生成する。
The pixel value sudden change
参照フレーム不定領域検出手段2032は、入力端子2036を介して動きベクトルMVと動きベクトル境界画素情報BOを受け取り、受け取った動きベクトルMVと動きベクトル境界画素情報BOに基づいて、オクルージョンを避けて画素値の参照先を決定する参照フレームが不定である領域を検出し、動きベクトルMVの信頼度が低く、ノイズ低減処理を行うことが不適切な領域を示す参照フレーム不定領域情報RRを生成する。
The reference frame indefinite region detection means 2032 receives the motion vector MV and the motion vector boundary pixel information BO via the
動きベクトル境界集中領域検出手段2033は、入力端子2036を介して動きベクトルMVと動きベクトル境界画素情報BOを受け取り、受け取った動きベクトルMV及び動きベクトル境界画素情報BOに基づいて、動きの誤検出に起因すると推測される動きベクトル境界集中領域を示す動きベクトル境界集中領域情報BRを生成する。
The motion vector boundary concentration
補正係数算出手段2034は、画素値急変領域検出手段2031から画素値が急激に変化している補正対象領域情報SRを受け取り、参照フレーム不定領域検出手段2032から参照フレーム不定領域情報RRを受け取り、動きベクトル境界集中領域検出手段2033から動きベクトル境界集中領域情報BRを受け取り、受け取った情報SR,RR,BRに基づいて、これらの領域におけるノイズ低減画像(図2におけるFS2)上の画像の乱れを補正するための補正係数ERを算出する。
The correction coefficient calculation unit 2034 receives the correction target region information SR in which the pixel value is rapidly changing from the pixel value sudden change
《1−2》実施の形態1の動作
《1−2−1》画素値変化率解析手段201
以下に、各機能ブロックの処理内容の詳細を、図面を参照しながら説明する。画素値変化率解析手段201は、第1、第2、第3フレームFn−1,Fn,Fn+1を受け取り、各画素について、動き補償された第1、第2、第3フレームFn−1,Fn,Fn+1間の画素値の変化を解析する。
<< 1-2 >> Operation of
Details of processing contents of each functional block will be described below with reference to the drawings. The pixel value change
図5は、実施の形態1に係る映像処理装置1におけるノイズ低減処理で参照する第1、第2、第3フレームFn−1,Fn,Fn+1及び座標位置(図5の上側)、並びに、ノイズ低減処理されたノイズ低減フレームMn(図5の下側)を概略的に示す図である。図5に示されるように、実施の形態1においては、映像処理装置1は、第2フレームFnをノイズ低減の対象である着目フレームとし、この第2フレームFnよりも時間的に先行するフレーム(前フレーム)である第1フレームFn−1及び時間的に後続するフレーム(後フレーム)である第3フレームFn+1を参照フレームとして利用する。ただし、映像処理装置1が使用するフレームの組は、図5の例に限定されない。例えば、動き検出部10は、第1、第2、第3フレームFn−1,Fn,Fn+1の中から2つのフレームを選択し、選択された2つのフレームを用いて動きを検出し、ノイズ低減部20は、第1、第2、第3フレームFn−1,Fn,Fn+1の3つのフレームを用いてノイズ低減処理を行うように構成してもよい。
FIG. 5 shows first, second, and third frames F n−1 , F n , F n + 1 and coordinate positions (upper side in FIG. 5) that are referred to in noise reduction processing in the
図5は、静止した背景111上を画像中の左下から右上に向かって円状の前景物体110が移動する様子を示している。図5の例においては、第2フレームFnにおける背景(前景物体110以外の領域)111上の着目画素P1nは、静止した背景111上にあるため、動き検出部10から出力された動きベクトルMVである「0ベクトル」に基づき、第1フレームFn−1及び第3フレームFn+1上においても第2フレームFn上の画素P1nと同一座標の第1フレームFn−1上の画素P1n−1及び第3フレームFn+1上の画素P1n+1を参照することができる。一方、第2フレームFn上の画素P2nは、移動する前景物体110上にあるため、第1フレームFn−1及び第3フレームFn+1上においては、第2フレームFn上の画素P2nの座標とは異なる座標の画素を参照する。すなわち、第2フレームFn上の画素P2nは、動き検出部10から出力された動きベクトルに従って、第1フレームFn−1上の画素P2n−1及び第3フレームFn+1上の画素P2n+1を参照する。
FIG. 5 shows how the
図6(a)から(i)は、図2に示される画素値変化率解析手段201による画素値変化率の解析結果情報ANの具体例としての解析パターンPA1,PA2,…,PA9を示すグラフである。画素値変化率解析手段201は、動き検出部10から出力された動きベクトルMVに基づいて動き補償された3フレームにわたる画素値の変化を、図6(a)から(i)に示される9パターンPA1,PA2,…,PA9のいずれかに分類する。
6A to 6I are graphs showing analysis patterns PA1, PA2,..., PA9 as specific examples of the analysis result information AN of the pixel value change rate by the pixel value change
図6(a)から(c)は、画素値の差の絶対値が比較的小さいパターンを示している。図6(a)は、画素値の差の絶対値が予め決められた第1閾値TH1以下であるパターンを示しており、この場合には、画素値の変化は、微小変化パターンPA1に分類される。図6(b)は、画素値の差の絶対値が、予め決められた第1閾値TH1より大きいが、第2の閾値TH2以下であり(ただし、TH1<TH2)、且つ、時間の経過に伴い画素値の差の絶対値が増加するパターンを示しており、この場合には、画素値の変化は、単調増加パターンPA2に分類される。図6(c)は、画素値の差の絶対値が予め決められた第1閾値TH1より大きく第2の閾値TH2以下であり、且つ、時間の経過に伴い画素値の差の絶対値が減少するパターンを示しており、この場合には、画素値の変化は、単調減少パターンPA3に分類される。 FIGS. 6A to 6C show patterns in which the absolute value of the pixel value difference is relatively small. FIG. 6A shows a pattern in which the absolute value of the difference between the pixel values is equal to or less than a first threshold TH1, which is determined in advance. In this case, the change in the pixel value is classified into a minute change pattern PA1. The FIG. 6B shows that the absolute value of the difference between the pixel values is larger than the predetermined first threshold value TH1, but less than or equal to the second threshold value TH2 (however, TH1 <TH2), and over time. A pattern in which the absolute value of the difference between the pixel values increases is shown. In this case, the change in the pixel value is classified into a monotone increasing pattern PA2. FIG. 6C shows that the absolute value of the pixel value difference is larger than the predetermined first threshold value TH1 and less than or equal to the second threshold value TH2, and the absolute value of the pixel value difference decreases with time. In this case, the change in the pixel value is classified into a monotone decreasing pattern PA3.
図6(d)から(f)は、画素値の差の絶対値が第2閾値TH2より大きく、後述する後端差DifN(第2フレームFn上の画素と第3フレームFn+1上の画素の間の画素値の差の絶対値)、両端差DifM(第1フレームFn−1上の画素と第3フレームFn+1上の画素の間の画素値の差の絶対値)、前方差DifP(第1フレームFn−1上の画素と第2フレームFn上の画素の間の画素値の差の絶対値)が予め決められた第3閾値TH3以下であるパターンを示している。図6(d)は、第1、第2、第3フレームFn−1,Fn,Fn+1の画素値の差の絶対値が第2閾値TH2より大きく、且つ、後端差DifNについては、DifN≦TH3であるパターンを示しており、この場合には、画素値の変化は、前方不一致パターンPA4に分類される。図6(e)は、第1、第2、第3フレームFn−1,Fn,Fn+1の画素値の差の絶対値が第2閾値TH2より大きく、且つ、両端差DifMについては、DifM≦TH3であるパターンを示しており、この場合には、画素値の変化は、中央不一致パターンPA5に分類される。図6(f)は、第1、第2、第3フレームFn−1,Fn,Fn+1の画素値の差の絶対値が第2閾値TH2より大きく、且つ、前方差DifPについては、DifP≦TH3であるパターンを示しており、この場合には、画素値の変化は、後方不一致パターンPA6に分類される。 FIG 6 (d) (f) is greater than the absolute value of the second threshold TH2 of the difference between the pixel values, the pixel of the pixel and the third frame F n + 1 on the rear differential DifN (second frame F n, which will be described later The absolute value of the difference between the pixel values between the first frame F n−1 and the third frame F n + 1 ), the forward difference DifP A pattern in which (the absolute value of the difference in pixel value between the pixel on the first frame F n−1 and the pixel on the second frame F n ) is equal to or less than a predetermined third threshold value TH3 is shown. FIG. 6D shows that the absolute value of the difference between the pixel values of the first, second, and third frames F n−1 , F n , and F n + 1 is larger than the second threshold value TH2, and the rear end difference DifN is , DifN ≦ TH3. In this case, the change in pixel value is classified into the forward mismatch pattern PA4. In FIG. 6E, the absolute value of the difference between the pixel values of the first, second, and third frames F n−1 , F n , and F n + 1 is larger than the second threshold TH2, and the difference DifM between the both ends is A pattern where DifM ≦ TH3 is shown. In this case, the change in pixel value is classified into the center mismatch pattern PA5. FIG. 6F shows that the absolute value of the difference between the pixel values of the first, second, and third frames F n−1 , F n , and F n + 1 is larger than the second threshold value TH2, and the forward difference DifP is A pattern in which DifP ≦ TH3 is shown. In this case, a change in pixel value is classified into a backward mismatch pattern PA6.
図6(g)から(i)は、第1、第2、第3フレームFn−1,Fn,Fn+1の画素値の差の絶対値が大きいパターンを示している。図6(h)は、図6(a)から(f)のパターンPA1,…,PA6いずれにも分類されず、且つ、単調増加するパターンを示しており、この場合には、画素値の変化は、単調大増加パターンPA8に分類される。図6(i)は、図6(a)から(f)のパターンPA1,…,PA6いずれにも分類されず、且つ、単調減少するパターンを示しており、この場合には、画素値の変化は、単調大減少パターンPA9に分類される。図6(g)は、図6(a)から(f)、(h)、(i)のパターンPA1,…,PA6,PA8,PA9のいずれにも分類されないパターンを示しており、この場合には、画素値の変化は、不規則パターンPA7に分類される。ただし、図6(a)から(i)の一式の分析結果パターンは一例であり、他のパターンを採用することもできる。 FIGS. 6G to 6I show patterns in which the absolute value of the difference between the pixel values of the first, second, and third frames F n−1 , F n , and F n + 1 is large. FIG. 6H shows a pattern that is not classified into any of the patterns PA1,..., PA6 of FIGS. 6A to 6F and monotonously increases. Are classified into a monotonous large increase pattern PA8. FIG. 6 (i) shows a pattern that is not classified into any of the patterns PA1,..., PA6 in FIGS. 6 (a) to 6 (f) and monotonously decreases. In this case, the pixel value changes. Are classified into the monotonous large decrease pattern PA9. FIG. 6 (g) shows patterns that are not classified into any of the patterns PA1,..., PA6, PA8, PA9 in FIGS. 6 (a) to (f), (h), (i). The change in pixel value is classified into an irregular pattern PA7. However, the set of analysis result patterns in FIGS. 6A to 6I is an example, and other patterns may be adopted.
図7は、図2に示される画素値変化率解析手段201により実行される画素値変化パターンの分類処理を概略的に示すフローチャートである。図7に示されるように、画素値変化率解析手段201は、第1、第2、第3フレームFn−1,Fn,Fn+1の画像中の着目フレームの各画素に対してパターン分類を行う。
FIG. 7 is a flowchart schematically showing a pixel value change pattern classification process executed by the pixel value change
先ず、画素値変化率解析手段201は、対象画素(x、y)の初期値を座標を(0,0)に設定する(ステップST1)。
First, the pixel value change
次に、画素値変化率解析手段201は、第1、第2、第3フレームFn−1,Fn,Fn+1間の画素値の差の絶対値を、例えば、式(1)、(2)、(3)により求める。
DifN(x,y)、DifM(x,y)、DifP(x,y)はそれぞれ、第2及び第3フレームFn,Fn+1間の画素値の差の絶対値である後方差DifN、第1及び第3フレームFn−1,Fn+1間の画素値の差の絶対値である両端差DifM、第1及び第2フレームFn−1,Fn間の画素値の差の絶対値である前方差DifPを示す。また、In−1(x,y),In(x,y),In+1(x,y)はそれぞれ、第1、第2、第3フレームFn−1,Fn,Fn+1における座標(x,y)の画素の画素値を示す。また、vx(x,y),vy(x,y)はそれぞれ、第2フレームFnにおける座標(x,y)の動きベクトルのx,y成分を示す。なお、画素値は、座標(x,y)の画素の輝度値であってもよく、又は、RGBの値それぞれにおける計算結果の和であってもよい。 DifN (x, y), DifM (x, y), and DifP (x, y) are the backward difference DifN, which is the absolute value of the pixel value difference between the second and third frames F n and F n + 1 , respectively. The absolute value of the difference between both ends DifM, which is the absolute value of the difference between the pixel values between the first and third frames F n−1 and F n + 1 , and the difference between the pixel values between the first and second frames F n−1 and F n. A certain forward difference DifP is shown. Further, I n−1 (x, y), In (x, y), and I n + 1 (x, y) are coordinates in the first, second, and third frames F n−1 , F n , and F n + 1, respectively . The pixel value of the pixel (x, y) is shown. Further, v x (x, y) and v y (x, y) indicate the x and y components of the motion vector at the coordinates (x, y) in the second frame F n , respectively. The pixel value may be a luminance value of a pixel at coordinates (x, y), or may be a sum of calculation results for each of RGB values.
画素値変化率解析手段201は、式(1)、(2)、(3)で求めた各フレーム間の画素値の差の絶対値の内の最も値が大きいものを、式(4)に示す値maxDif(x,y)として求める。
画素値変化率解析手段201は、maxDif(x,y)が、予め決められた第1の閾値TH1以下(maxDif(x,y)≦TH1)であれば(ステップST2でYES)、画素値の変化を、微小変化パターンPA1(図6(a))に分類する(ステップST3)。
The pixel value change
画素値変化率解析手段201は、maxDif(x,y)が、第1の閾値TH1より大(minDif(x,y)>TH1)であり(ステップST2でNO)、maxDif(x,y)が、予め決められた第2の閾値TH2以下(maxDif(x,y)≦TH2)であり(ステップST4でYES)、且つ、時間経過と共に画素値が増加する(ステップST5でYES)場合は、画素値の変化を、単調増加パターンPA2(図6(b))に分類する(ステップST6)。
In the pixel value change
画素値変化率解析手段201は、第1の閾値TH1より大(minDif(x,y)>TH1)であり、maxDif(x,y)が、第2の閾値TH2以下であり、且つ、時間経過と共に画素値が減少する場合(ステップST7でYES)は、画素値の変化を、単調減少パターンPA3(図6(c))に分類する(ステップST8)。
The pixel value change
画素値変化率解析手段201は、画素値の変化が微小変化パターンPA1、単調増加パターンPA2、単調減少パターンPA3以外の場合で、式(1)に示す前端差DifN(x,y)が、予め決められた第3の閾値TH3以下である場合は(ステップST9でYES)、画素値の変化を、前方不一致パターンPA4に分類し(ステップST10)、式(2)に示す値DifM(x,y)が第3の閾値TH3以下である場合は(ステップST11でYES)、画素値の変化を、中央不一致パターンPA5(図6(e))に分類し(ステップST12)、式(3)に示す値DifP(x,y)が、第3の閾値TH3以下である場合は(ステップST13でYES)、画素値の変化を、後方不一致パターンPA6(図6(f))に分類する(ステップST14)。 The pixel value change rate analyzing means 201 is a case where the change in the pixel value is other than the minute change pattern PA1, the monotone increase pattern PA2, and the monotone decrease pattern PA3, and the front end difference DifN (x, y) shown in Expression (1) is calculated in advance. If it is equal to or less than the determined third threshold TH3 (YES in step ST9), the change in pixel value is classified into the forward mismatch pattern PA4 (step ST10), and the value DifM (x, y shown in equation (2) ) Is less than or equal to the third threshold value TH3 (YES in step ST11), the change in pixel value is classified into the center mismatch pattern PA5 (FIG. 6 (e)) (step ST12), as shown in equation (3). When the value DifP (x, y) is equal to or smaller than the third threshold value TH3 (YES in step ST13), the change in the pixel value is classified into the backward mismatch pattern PA6 (FIG. 6 (f)). Flop ST14).
画素値変化率解析手段201は、画素値の変化がパターンPA1,…,PA6以外の場合で、時間経過と共に画素値が増加する場合は(ステップST15でYES)、画素値の変化を、単調大増加パターンPA8(図6(h))に分類し(ステップST16)、時間経過と共に画素値が減少する場合は(ステップST17でYES)、画素値の変化を、単調大減少パターンPA9(図6(i))に分類し(ステップST18)、画素値の変化がパターンPA1,…,PA6,PA8,PA9以外の場合は(ステップST17でNO)、画素値の変化を、不規則パターンPA9(図6(i))に分類する(ステップST19)。 The pixel value change rate analysis means 201 is a monotonically large change in pixel value when the pixel value changes other than the patterns PA1,..., PA6 and the pixel value increases with time (YES in step ST15). If the pixel value decreases with the passage of time (step ST17: YES), it is classified into the increase pattern PA8 (FIG. 6 (h)) (step ST17: YES). i)) (step ST18), and when the pixel value change is other than the patterns PA1,..., PA6, PA8, PA9 (NO in step ST17), the pixel value change is changed to the irregular pattern PA9 (FIG. 6). (I)) (step ST19).
次に、画素値変化率解析手段201は、対象画素が着目フレーム(1フレーム)内の最終画素でなければ、処理をステップST1に戻し、対象画素が1フレーム内の最終画素であれば、処理を終了する(ステップST20)。処理がステップST1に戻ると、画素値変化率解析手段201は、対象画素(x、y)の初期値の座標を未処理の座標に変更し、ステップST2以降の処理を実行する。
Next, the pixel value change
《1−2−2》動きベクトル境界検出手段202
動きベクトル境界検出手段202は、隣接する画素の動きベクトルの差が所定の閾値以上の画素を動きベクトル境界として分類する。隣接する画素の動きベクトルの差は、例えば、ラプラシアンフィルタに基づいて、式(5)のように定義される。
The motion vector
《1−2−3》フレームブレンド率算出手段204
フレームブレンド率算出手段204は、ノイズ低減画像生成手段205が第1、第2、第3フレームFn−1,Fn,Fn+1の重み付き平均を算出する際に用いるブレンド重み係数BWを算出する。参照フレーム優先度算出手段2041は、画素値変化率解析手段201から出力される画素値変化率の解析結果情報ANを受け取り、第1のブレンド重み係数(KN−1,KN,KN+1)を算出する。画素値変化率解析手段201から出力される画素値変化率の解析結果情報ANが微小変化パターンPA1、単調増加パターンPA2、単調減少パターンPA3のいずれかである場合は、第1のブレンド重み係数(KN−1,KN,KN+1)を、式(6)のように設定する。画素値変化率解析手段201から出力される画素値変化率の解析結果情報ANが前方不一致パターンPA4の場合は、第1のブレンド重み係数(KN−1,KN,KN+1)を、式(7)のように設定し、画素値変化率の解析結果情報ANが中央不一致パターンPA5の場合は、第1のブレンド重み係数(KN−1,KN,KN+1)を、式(8)のように設定し、画素値変化率の解析結果情報ANが後方不一致パターンPA6の場合は、第1のブレンド重み係数(KN−1,KN,KN+1)を、式(9)のように設定し、それ以外の場合は、第1のブレンド重み係数(KN−1,KN,KN+1)を、式(10)のように設定する。
<< 1-2-3 >> Frame Blend Rate Calculation Means 204
The frame blend
PA1、PA2、PA3の場合:
(KN−1,KN,KN+1)=(1/3,1/3,1/3) 式(6)
PA4の場合:
(KN−1,KN,KN+1)=(1−α,α/2,α/2) 式(7)
PA5の場合:
(KN−1,KN,KN+1)=(α/2,1−α,α/2) 式(8)
PA6の場合:
(KN−1,KN,KN+1)=(α/2,α/2,1−α) 式(9)
PA7、PA8、PA9の場合:
(KN−1,KN,KN+1)=((1−α)/2,α,(1−α)/2) 式(10)
ここで、αは、2/3以上1以下の所定の値である。
For PA1, PA2 and PA3:
(K N−1 , K N , K N + 1 ) = (1/3, 1/3, 1/3) Equation (6)
For PA4:
(K N−1 , K N , K N + 1 ) = (1−α, α / 2, α / 2) Equation (7)
For PA5:
(K N−1 , K N , K N + 1 ) = (α / 2, 1−α, α / 2) Equation (8)
For PA6:
(K N−1 , K N , K N + 1 ) = (α / 2, α / 2, 1−α) Equation (9)
For PA7, PA8, PA9:
(K N−1 , K N , K N + 1 ) = ((1−α) / 2, α, (1−α) / 2) Equation (10)
Here, α is a predetermined value of 2/3 or more and 1 or less.
画素値変化率解析手段201から出力される画素値変化率の解析結果情報ANが微小変化パターンPA1、単調増加パターンPA2、単調減少パターンPA3のいずれかである場合は、第1、第2、第3フレームFn−1,Fn,Fn+1の対応する座標の画素値は、いずれも近い値であるため、第1、第2、第3フレームFn−1,Fn,Fn+1のすべてのフレームが、ノイズ低減に有効である。
When the pixel value change rate analysis result information AN output from the pixel value change
一方で、画素値変化率解析手段201から出力される画素値変化率の解析結果情報ANが前方不一致パターンPA4、中央不一致パターンPA5、後方不一致パターンPA6のいずれかである場合は、それぞれ第1フレームFn−1、第2フレームFn及び第3フレームFn+1がノイズなどの影響で他のフレームと大きく異なった値を示しているため、ノイズ低減処理の際に、画素値変化率の解析結果情報ANが微小変化パターンPA1、単調増加パターンPA2、単調減少パターンPA3のいずれかである場合よりも、このフレームの影響を小さくすることでより、より適切なノイズ低減が可能となる。
On the other hand, when the pixel value change rate analysis result information AN output from the pixel value change
画素値変化率解析手段201から出力される画素値変化率の解析結果情報ANがパターンPA7、PA8、PA9の場合は、第1、第2、第3フレームFn−1,Fn,Fn+1が大きく異なる画素値を持つため、重み付き平均をとることでノイズ低減を行うことが適切でないと推測できる。このため、ノイズ低減の対象フレームである第2フレームFnの重みを大きくし、参照フレーム(第1及び第3フレーム)の影響を小さくすることで、ノイズが強調されてしまうなどのリスクを回避している。
When the analysis result information AN of the pixel value change rate output from the pixel value change
なお、実施の形態1においては、フレームブレンド率算出手段204が、微小変化パターンPA1、単調増加パターンPA2、単調減少パターンPA3の区別を行っておらず、また、不規則パターンPA7、単調大増加パターンPA8、単調大減少パターンPA9の区別を行っていないため、画素値変化率解析手段201における分類段階において、これらの区別を行わない簡便な方法を採用してもよい。
In the first embodiment, the frame blend
また、フレームブレンド率算出手段204においては、微小変化パターンPA1、単調増加パターンPA2、単調減少パターンPA3の場合におけるαの値と、不規則パターンPA7、単調大増加パターンPA8、単調大減少パターンPA9の場合におけるαの値とを変えたり、個々の係数を調整するなど、詳細な処理を採用してもよい。 Further, in the frame blend rate calculation means 204, the value of α in the case of the minute change pattern PA1, the monotone increase pattern PA2, the monotone decrease pattern PA3, the irregular pattern PA7, the monotone large increase pattern PA8, and the monotone large decrease pattern PA9. Detailed processing such as changing the value of α in each case or adjusting individual coefficients may be employed.
図8(a)から(c)は、オクルージョンの一例を示す図である。オクルージョン判定手段2042は、前景物体が背景領域を隠す領域を検出し、第1、第2、第3フレームFn−1,Fn,Fn+1から適切なフレームを選択してノイズ低減を行うよう第2のブレンド重み係数を算出する。図8(a)から(c)は、第1、第2、第3フレームFn−1,Fn,Fn+1において、静止している背景121上を矩形の前景物体120が右に向かって動く様子を表したものである。第2フレームFnにおいて前景物体120の左側の領域122は、第1フレームFn−1で前景物体120によって隠されている。同様に、前景物体120の右の領域123は、第3フレームFn+1においては、前景物体120によって隠されている。すなわち、領域122のノイズ低減をする際は、第1フレームFn−1を参照することは適切ではなく、領域123のノイズ低減をする際は第3フレームFn+1を参照することは適切ではない。オクルージョン判定手段2042は、このような時間的に先行する第1フレームFn−1及び時間的に後続する第3フレームFn+1で隠される領域を検出し、ブレンド重み係数BWを算出する。
FIGS. 8A to 8C are diagrams illustrating an example of occlusion. The occlusion determination means 2042 detects a region where the foreground object hides the background region, and performs noise reduction by selecting an appropriate frame from the first, second, and third frames F n−1 , F n , and F n + 1. A second blend weight coefficient is calculated. FIGS. 8A to 8C show the
前後のフレームで隠される領域は、前景物体120と背景121の境界周辺に分布する。境界の検出は、画像にソーベルフィルタなどの微分フィルタを適用することで得ることができるが、微分フィルタを適用した場合には、同一物体中の模様も境界として検出してしまう。そこで、実施の形態1においては、動きベクトルの境界を用いる。動きベクトル境界検出手段202から動きベクトル境界画素情報BOを受け取り、動きベクトルの境界画素の周辺をオクルージョン領域とする。具体的には、フレーム中のすべての動きベクトルの境界画素に対し、上下左右方向に一定距離の画素から得た動きベクトルのx,y成分の差に基づいてオクルージョン領域を設定する。すなわち、式(11)に表すDistX(x,y)の絶対値を横幅とし、DistY(x,y)の絶対値を縦幅とする矩形領域が座標(x,y)に位置する動きベクトルの境界画素の周辺に設定されるオクルージョン領域となる。
DistX(x,y)=vx(x+χ,y)−vx(x−χ,y) 式(11)
DistY(x,y)=vy(x,y+χ)−vy(x,y−χ) 式(12)
ここで、χは、上下左右方向の参照する画素を決めるための所定の距離値であり、vx(x,y),vy(x,y)はそれぞれ、第2フレームFnにおける座標(x,y)の動きベクトルのx,y成分を示す。
The area hidden by the preceding and following frames is distributed around the boundary between the
DistX (x, y) = v x (x + χ, y) −v x (x−χ, y) Equation (11)
DistY (x, y) = v y (x, y + χ) −v y (x, y−χ) Equation (12)
Here, χ is a predetermined distance value for determining a reference pixel in the vertical and horizontal directions, and v x (x, y) and v y (x, y) are coordinates in the second frame F n ( x, y) represents the x, y component of the motion vector.
図9は、図3に示されるフレームブレンド率算出手段204のオクルージョン判定手段2042から出力されるオクルージョン判定結果OCに基づくオクルージョン領域132,133の一例を示す図である。図9は、131(濃いハッチング部分)の周辺にオクルージョン領域132,133(斜線部分)を設定する例である。ここでは、簡単のために水平方向のみに注目して説明する。動きベクトルの境界画素131の左側は、画像中で右向きに「1」の動きが検出されており、右側は、画像中で左向き「2」(右向き「−2」)の動きが検出されている場合を説明する。この場合には、
DistX(x,y)=(−2)−1=−3
となる。この場合、オクルージョン領域132,133の横幅は、「3」となるため、幅「3」のオクルージョン領域132,133が動きベクトルの境界画素131の両側に設定されることとなる。
FIG. 9 is a diagram illustrating an example of the
DistX (x, y) = (− 2) −1 = −3
It becomes. In this case, since the horizontal width of the
図8(a)から(c)に示されるように、オクルージョン判定手段2042は、オクルージョン領域が、領域122のように時間的に先行する第1フレームFn−1で隠されるのか、領域123のように時間的に後続する第3フレームFn+1で隠されるのかを、オクルージョン領域生成もとの動きベクトルの境界画素125,126から判断する。すなわち、DistX(x,y)の絶対値とDistY(x,y)の絶対値を比較し、大きいほうの符号が正であれば、領域122のように時間的に先行する第1フレームFn−1で隠され、大きいほうの符号が負であれば、領域123のように時間的に後続する第3フレームFn+1で隠される。動きベクトルの境界画素125に着目すると、境界の左側は、静止している背景であるので動き「0」であり、右側は、右向きに動いているため水平方向に正の動きを持っており、DistX(x,y)は、正となる。一方、動きベクトルの境界画素126に着目すると、境界の右側は、静止している背景であるので、動き「0」であり、左側は、右向きに動いているため水平方向に正の動きを持っており、DistX(x,y)は、負となる。
As shown in FIGS. 8A to 8C, the
第2のブレンド重み係数(CN−1,CN,CN+1)は、オクルージョン領域であるか否か、及び、オクルージョン領域が時間的に前又は後のいずれのフレームで隠されているか、に基づいて決定される。オクルージョン領域以外の画素の第2のブレンド重み係数(CN−1,CN,CN+1)は、式(13)で算出され、オクルージョン領域で時間的に後続するフレームで隠される領域の画素の第2のブレンド重み係数(CN−1,CN,CN+1)は、式(14)で算出され、オクルージョン領域で時間的に先行するフレームで隠される領域の画素の第2のブレンド重み係数(CN−1,CN,CN+1)は、式(15)で算出される。
(CN−1,CN,CN+1)=(1/3,1/3,1/3) 式(13)
(CN−1,CN,CN+1)=(β/2,β/2,1−β) 式(14)
(CN−1,CN,CN+1)=(1−β,β/2,β/2) 式(15)
ここで、βは、2/3以上1以下の所定の値である。
The second blend weight coefficient (C N−1 , C N , C N + 1 ) determines whether or not the occlusion area is present and whether the occlusion area is hidden in the frame before or after in time. To be determined. The second blend weight coefficients (C N−1 , C N , C N + 1 ) of the pixels other than the occlusion area are calculated by the equation (13), and the pixels of the area hidden in the temporally subsequent frame in the occlusion area The second blend weight coefficient (C N−1 , CN, C N + 1 ) is calculated by the equation (14), and the second blend weight coefficient ((2) of the pixel in the region hidden in the temporally preceding frame in the occlusion region ( C N−1 , C N , C N + 1 ) are calculated by the equation (15).
(C N−1 , C N , C N + 1 ) = (1/3, 1/3, 1/3) Equation (13)
(C N−1 , C N , C N + 1 ) = (β / 2, β / 2, 1−β) Equation (14)
(C N−1 , C N , C N + 1 ) = (1−β, β / 2, β / 2) Equation (15)
Here, β is a predetermined value of 2/3 or more and 1 or less.
このように、動きベクトルの境界画素に着目し、その周辺をオクルージョン領域とすることで、前景物体による隠を考慮した適切なフレームを選択してのノイズ低減が可能となる。 In this way, by focusing on the boundary pixels of the motion vector and setting the periphery thereof as an occlusion area, it is possible to reduce noise by selecting an appropriate frame in consideration of hiding by the foreground object.
ブレンド重み係数算出手段2043は、参照フレーム優先度算出手段2041が算出した第1のブレンド重み係数と、オクルージョン判定手段2042が算出した第2のブレンド重み係数を用いてノイズ低減画像生成手段205が第1、第2、第3フレームFn−1,Fn,Fn+1の重み付き平均を算出するためのブレンド重み係数(BN−1,BN,BN+1)を算出する。算出式は、式(16)、又は、式(17)、(18)である。 The blend weight coefficient calculation means 2043 uses the first blend weight coefficient calculated by the reference frame priority calculation means 2041 and the second blend weight coefficient calculated by the occlusion determination means 2042, and the noise reduction image generation means 205 uses the first blend weight coefficient. Blend weight coefficients (B N−1 , B N , B N + 1 ) for calculating the weighted average of the first, second, and third frames F n−1 , F n , and F n + 1 are calculated. The calculation formula is formula (16) or formulas (17) and (18).
《1−2−4》ノイズ低減画像生成手段205
ノイズ低減画像生成手段205は、フレームブレンド率算出手段204によって算出されたブレンド重み係数(BN−1,BN,BN+1)を用いて、入力端子207を介して入力されたデータからノイズ低減画像を生成する。ノイズ低減画像生成手段205は、例えば、ノイズ低減画像の各画素値NR(x,y)を、式(19)に従い算出することでノイズ低減画像を生成する。
The noise reduction image generation unit 205 uses the blend weight coefficients (B N−1 , B N , B N + 1 ) calculated by the frame blend
《1−2−5》動き誤検出領域補正係数算出手段203
動き誤検出領域補正係数算出手段203は、画素値変化率解析手段201から画素値変化率の解析結果情報ANを受け取り、動きベクトル境界検出手段202から動きベクトルMV及び動きベクトル境界画素情報BOを受け取り、画素値変化率の解析結果情報ANと動きベクトルMVと動きベクトル境界画素情報BOとに基づいて、動き検出部10において検出された動きに誤りがある画素を検出し、この画素を補正するための補正係数ERを算出する。
<< 1-2-5 >> Motion Error Detection Area Correction Coefficient Calculation Means 203
The motion error detection region correction
画素値急変領域検出手段2031は、入力端子2035を介して画素値変化率の解析結果情報ANを受け取り、誤った動きベクトルにより画素値が急激に変化している画素を検出する。画素値に急激な変化があるのは、画素値変化率の解析結果情報ANの中で前方不一致パターンPA4、中央不一致パターンPA5、後方不一致パターンPA6、単調大増加パターンPA8、単調大減少パターンPA9、不規則パターンPA7の場合である。ただし、前方不一致パターンPA4、中央不一致パターンPA5、後方不一致パターンPA6は、オクルージョンが原因で画素値の急激な変化が起こったと推測でき、フレームブレンド率算出手段204においてオクルージョンに対応した係数を算出してノイズ低減を行っているため、これら3つのパターンの場合には、補正係数ERを用いた補正の対象としない。一方、単調大増加パターンPA8、単調大減少パターンPA9、不規則パターンPA7の場合は、いずれも第1、第2、第3フレームFn−1,Fn,Fn+1の3フレームにわたって値が大きく変化しており、動きベクトルが誤っているため、異なる物体の値が参照されたと推測される。よって、画素値急変領域検出手段2031は、単調大増加パターンPA8、単調大減少パターンPA9、不規則パターンPA7に分類されている画素を補正対象画素として出力する。
The pixel value sudden change
図10は、図4に示される動き誤検出領域補正係数算出手段203の参照フレーム不定領域検出手段2032が検出する参照フレーム不定領域134の一例を示す図である。参照フレーム不定領域検出手段2032は、入力端子2036を介して動きベクトルMVと動きベクトル境界画素情報BOを受け取り、参照領域を決定することができない領域を補正対象として出力する。オクルージョン判定手段2042は、動きベクトルMVと動きベクトル境界画素情報BOから、図9に示されるように、動きベクトルの境界画素131の周辺をオクルージョン領域132,133として、さらに、その周辺の動きベクトルから第1フレームFn−1又は第3フレームFn+1のいずれにおける前景物体によって隠されていたのかを判断した。これに対し、参照フレーム不定領域検出手段2032は、図10に示されるように、動きベクトルの境界画素131(濃いハッチング部分)と動きベクトルの境界画素141(濃いハッチング部分)が近接している場合、動きベクトルの境界画素131の周辺領域132,133及び動きベクトルの境界画素141の周辺領域142,143が重なる領域134が発生する。オクルージョン判定手段2042は、後から生成されたオクルージョン領域で画像データが上書きされるため、動きベクトルの境界画素131を先に評価し、動きベクトルの境界画素141を後に評価した場合には、領域134は、動きベクトルの境界画素141の周辺のオクルージョン領域142であると判断する。しかし、領域134が、オクルージョン領域133に属するものとして扱う方が適切な場合もある。さらに、オクルージョン領域同士が重なるほど動きベクトル境界が近接することは、稀なことであるから、動き推定部10において動きベクトルの誤検出が発生したと推測できる。よって、参照フレーム不定領域検出手段2032は、このオクルージョン領域同士が重なる領域134を補正対象とする情報(参照フレーム不定領域情報)RRを出力する。
FIG. 10 is a diagram illustrating an example of the reference frame
動きベクトル境界集中領域検出手段2033は、入力端子2036を介して動きベクトルMVと動きベクトル境界画素情報BOを受け取り、動きベクトル境界が局所的に集中している領域を補正対象領域とする情報(動きベクトル集中領域情報)BRとして出力する。様々な大きさ方向の動きベクトルが狭い領域に混在し動きベクトル境界が集中することは、稀なことであるから、動き推定部10において動きベクトルの誤検出が原因で動きベクトル境界が局所的に集中していると推測できる。
The motion vector boundary concentration
図11は、図4に示される動き誤検出領域補正係数算出手段203の動きベクトル境界集中領域検出手段2033が検出する動きベクトル集中領域の一例を示す図である。動きベクトル境界集中領域検出手段2033は、動きベクトルの境界画素151(濃いハッチング部分)の集中の有無を判断するためにブロック処理を行う。所定の閾値を設定し、ブロック(図11においては4行4列の16画素からなる太線正方形の領域)内の画素の内の動きベクトルの境界画素151の数が予め決められた閾値を超えたブロックを動きベクトルの境界画素集中ブロックとして、ブロック内の画素を補正対象として出力する。図11は、4画素四方のブロックにおける処理を表したものである。ブロック154は、ブロック内の16画素の内、4画素が動きベクトルの境界画素151である。一方、ブロック155は、16画素中7画素が動きベクトルの境界画素151となっている。閾値を値「5」とした場合、ブロック154は、動きベクトルの境界画素集中ブロックに該当しないが、ブロック155は、動きベクトルの境界画素集中ブロックに該当する。このため、動きベクトル境界集中領域検出手段2033は、ブロック155に属する16画素を補正対象画素であることを示す情報(動きベクトル集中領域情報)BRを出力する。
FIG. 11 is a diagram illustrating an example of a motion vector concentration region detected by the motion vector boundary concentration
補正係数算出手段2034は、画素値急変領域検出手段2031と、参照フレーム不定領域検出手段2032と、動きベクトル境界集中領域検出手段2033とのそれぞれから、補正対象画素の情報を受け取り、画像中の各画素の補正係数を算出する。補正係数Conp(x、y)は、式(20)に示されるように、画素値急変領域検出手段2031、参照フレーム不定領域検出手段2032、動きベクトル境界集中領域検出手段2033の出力結果のいずれかが補正対象ならば「1」とし、いずれも補正対象外ならば「0」とする。
The correction coefficient calculation unit 2034 receives information on the correction target pixel from each of the pixel value sudden change
なお、補正係数は、式(20)以外の式に基づいて算出してもよい。例えば、式(21)に示されるように、画素値急変領域検出手段2031、参照フレーム不定領域検出手段2032、動きベクトル境界集中領域検出手段2033の出力結果それぞれに重みをつけて、補正係数を算出してもよい。
The correction coefficient may be calculated based on an expression other than Expression (20). For example, as shown in Expression (21), the correction coefficient is calculated by weighting the output results of the pixel value sudden change
さらに、式(22)及び(23)に示されるように第1、第2、第3フレームFn−1,Fn,Fn+1間における画素値の差に応じて補正係数を変更してもよい。 Further, as shown in the equations (22) and (23), even if the correction coefficient is changed according to the difference in the pixel values between the first, second, and third frames F n−1 , F n , and F n + 1. Good.
《1−2−6》動き誤検出領域補正手段206
図2に示されるように、動き誤検出領域補正手段206は、入力端子207を介して第1、第2、第3フレームFn−1,Fn,Fn+1を受け取り、ノイズ低減画像生成手段205からノイズ低減画像FS3を受け取り、動き誤検出領域補正係数算出手段203から補正係数ERを受け取り、受け取った情報FS2,ERを用いて、動きの誤検出に伴うノイズ低減画像の乱れを補正する。補正は、補正係数ERに従い、例えば、式(24)及び(25)によって行う。
<< 1-2-6 >> Motion Error Detection Area Correction Unit 206
As shown in FIG. 2, the motion error detection region correction unit 206 receives the first, second, and third frames F n−1 , F n , and F n + 1 via the
《1−3》実施の形態1の効果
以上に説明した実施の形態1に係る映像処理装置1及び映像処理方法によれば、隠蔽や画素値の変化に応じたブレンド率に応じて処理することに加え、動きベクトルの誤りがある領域を検出し、この領域を補正することで、動きベクトルの誤検出に伴う映像品質の低下を抑制しつつ、ノイズを軽減することができる。
<< 1-3 >> Effects of the First Embodiment According to the
《2》実施の形態2.
図12は、本発明の実施の形態2に係る映像処理装置(すなわち、実施の形態2に係る映像処理方法を実施することができる装置)2の構成を概略的に示す機能ブロック図である。図12において、図1に示される構成と同じ又は対応する構成には、同じ符号を付す。実施の形態2に係る映像処理装置2は、動画像を構成する一連の複数のフレームを蓄えるフレームバッファ30と、動画像を構成する一連の複数のフレームの内の時間的に互いに隣接する第1、第2、第3フレームを受け取り、これらのフレーム間の動きを検出して、動きベクトルMVとして出力する動き検出部10aと、動き検出部10aから出力された画素単位の動きベクトルMV及び第1、第2、第3フレームを受け取り、着目フレームである第2フレームFnのノイズを低減してノイズ低減フレームFS3aを生成するノイズ低減部20aと、ノイズ低減フレームを画像データとして蓄えるフレームバッファ40とを有する。実施の形態2に係る画像処理装置2及び画像処理方法は、ノイズ低減フレームFS3aを生成する際に参照するフレームの点において、実施の形態1に係る画像処理装置1及び画像処理方法と相違する。他の点については、実施の形態2に係る映像処理装置2及び映像処理方法は、実施の形態1に係る映像処理装置1及び映像処理方法と同じである。
<< 2 >>
FIG. 12 is a functional block diagram schematically showing the configuration of the video processing apparatus 2 (that is, the apparatus capable of performing the video processing method according to the second embodiment) 2 according to the second embodiment of the present invention. 12, the same reference numerals are given to the same or corresponding components as those shown in FIG. The
図13は、実施の形態1に係る映像処理装置1おいてノイズ低減処理に用いるフレームを示す図であり、実施の形態2を実施の形態1と比較して説明するための図である。図13に示されるように、実施の形態1においては、動き検出部10及びノイズ低減部20には、動画像を構成する一連の複数のフレームとして、時間的に互いに隣接する第1、第2、第3フレームFn−1,Fn,Fn+1が入力される。そして、実施の形態1においては、図13に示されるように、時間的に第2フレームFnに相当するノイズ低減フレームMnを,時間的に隣接する第1、第2、第3フレームFn−1,Fn,Fn+1に基づいて生成する。
FIG. 13 is a diagram illustrating frames used for noise reduction processing in the
図14は、実施の形態2に係る映像処理装置2おいてノイズ低減処理に用いるフレームを示す図である。図14に示されるように、実施の形態2においては、動き検出部10a及びノイズ低減部20aには、動画像を構成する一連の複数のフレームとして、時間的に隣接する入力される3フレームの内の、第1のフレームを過去にノイズ低減部20aが生成し、フレームバッファ40に蓄えられたノイズ低減フレームMn−1で代用する。そして、実施の形態2に係る映像処理装置2においては、図14に示されるように、時間的に第2フレームFnに相当するノイズ低減フレームMnを、既に生成されフレームバッファ40に蓄積されたノイズ低減フレームMn−1と第2、第3フレームFn,Fn+1とに基づいて生成する。
FIG. 14 is a diagram illustrating frames used for noise reduction processing in the
図15は、本発明の実施の形態2の変形例に係る映像処理装置(すなわち、実施の形態2の変形例に係る映像処理方法を実施することができる装置)3の構成を概略的に示す機能ブロック図である。図15において、図12に示される構成と同じ又は対応する構成には、同じ符号を付す。実施の形態2の変形例に係る映像処理装置3は、動画像を構成する一連の複数のフレームを蓄えるフレームバッファ30と、動画像を構成する一連の複数のフレームの内の時間的に互いに隣接する第1、第2、第3フレームを受け取り、これらのフレーム間の動きを検出して、動きベクトルMVとして出力する動き検出部10bと、動き検出部10bから出力された画素単位の動きベクトルMV及び第1、第2、第3フレームを受け取り、着目フレームである第2フレームFnのノイズを低減してノイズ低減フレームFS3aを生成するノイズ低減部20bと、ノイズ低減フレームを画像データとして蓄えるフレームバッファ40とを有する。実施の形態2の変形例に係る画像処理装置3及び画像処理方法は、ノイズ低減フレームFS3bを生成する際に参照するフレームの点において、実施の形態2に係る画像処理装置2及び画像処理方法と相違する。
FIG. 15 schematically shows a configuration of a
図16は、実施の形態2の変形例に係る映像処理装置3おいてノイズ低減処理に用いるフレームを示す図である。図16に示されるように、実施の形態2の変形例においては、動き検出部10b及びノイズ低減部20bには、動画像を構成する一連の複数のフレームとして、時間的に隣接する入力される3フレームの内の、2枚のフレームを過去にノイズ低減部20bが生成し、フレームバッファ40に蓄えられたノイズ低減フレームMn−1,Mnで代用する。そして、図16に示されるように、実施の形態2の変形例においては、時間的に第2フレームFnに相当するノイズ低減フレームを、既に生成されフレームバッファ40に蓄積されたノイズ低減フレームMn−1,Mn及び第3フレームFn+1から生成する。
FIG. 16 is a diagram illustrating frames used for noise reduction processing in the
以上に説明したように、実施の形態2に係る映像処理装置2及び映像処理方法、並びに、実施の形態2の変形例に係る映像処理装置3及び映像処理方法によれば、ノイズ低減部20a又は20bは、過去に生成された、着目フレームより時間的に先行する少なくとも1枚のノイズ低減フレームを参照フレームとして用いる。具体的には、ノイズ低減部20a又は20bは、過去に生成されたノイズ低減フレームMn−1、又は、過去に生成されたノイズ低減フレームMn−1,Mnを使用して、着目フレームについてノイズ低減処理を行って新たにノイズ低減フレームを生成するので、より高いノイズ低減効果を得ることができる。
As described above, according to the
《3》実施の形態3.
図17は、本発明の実施の形態3に係る放送受信装置4の構成を概略的に示す機能ブロック図である。図17において、図1に示される構成と同じ又は対応する構成には、同じ符号を付す。図17に示されるように、実施の形態3に係る放送受信装置(又は受像装置)4は、放送波を受信し、映像と音声の多重分離を行い、デコードした映像フレームを出力する放送受信部51と、放送受信部51で受信された放送波に基づく動画像を構成する一連の複数のフレームを蓄えるフレームバッファ30と、動画像を構成する一連の複数のフレームの内の時間的に互いに隣接する第1、第2、第3フレームFn−1,Fn,Fn+1を受け取り、これらのフレーム間の動きを検出して、動きベクトルMVとして出力する動き検出部10と、動き検出部10から出力された画素単位の動きベクトルMV及び第1、第2、第3フレームFn−1,Fn,Fn+1を受け取り、着目フレームである第2フレームFnのノイズを低減してノイズ低減フレームFS3を生成するノイズ低減部20と、ノイズ低減フレームを画像データとして蓄えるフレームバッファ40と、フレームバッファ40に蓄えられたノイズ低減フレームに基づく映像を表示する映像表示部52とを有する。実施の形態3に係る放送受信装置4は、放送受信部51と映像表示部52を備えた点において、実施の形態1に係る映像処理装置1と相違する。他の構成については、実施の形態3は、実施の形態1と同じである。
<< 3 >>
FIG. 17 is a functional block diagram schematically showing the configuration of the
図18は、本発明の実施の形態3の変形例に係る放送受信装置5の構成を概略的に示す機能ブロック図である。図18において、図17に示される構成と同じ又は対応する構成には、同じ符号を付す。図18に示されるように、実施の形態3の変形例に係る放送受信装置5は、動き検出部10及びノイズ低減部20に代えて、動き検出部10a(又は10b)及びノイズ低減部20a(又は20b)を備えた点において、実施の形態3に係る放送受信装置4と相違する。他の構成については、実施の形態3の変形例は、実施の形態3(図17)と同じである。また、動き検出部10a(又は10b)及びノイズ低減部20a(又は20b)は、図12(又は図15)で説明したものと同じである。
FIG. 18 is a functional block diagram schematically showing a configuration of broadcast receiving apparatus 5 according to a modification of the third embodiment of the present invention. In FIG. 18, the same or corresponding components as those shown in FIG. As shown in FIG. 18, the broadcast receiving apparatus 5 according to the modification of the third embodiment replaces the
以上に説明したように、実施の形態3に係る放送受信装置4、及び、実施の形態3の変形例に係る放送受信装置5によれば、受信した放送波に基づく映像のノイズを低減して、映像表示部52に表示される映像の品質を向上させることができる。
As described above, according to the
また、実施の形態3の変形例に係る放送受信装置5によれば、過去に生成されたノイズ低減フレームMn−1、又は、過去に生成されたノイズ低減フレームMn−1,Mnを使用して、新たなノイズ低減フレームの生成を行うので、より高いノイズ低減効果を得ることができる。 Further, according to the broadcast receiving device 5 according to the modification of the third embodiment, the noise reduction frame M n−1 generated in the past or the noise reduction frames M n−1 and M n generated in the past are received. Since a new noise reduction frame is generated using this, a higher noise reduction effect can be obtained.
《4》実施の形態4.
図19は、本発明の実施の形態4に係る映像撮影装置6の構成を概略的に示す機能ブロック図である。図19において、図1に示される構成と同じ又は対応する構成には、同じ符号を付す。図19に示されるように、実施の形態4に係る映像撮影装置6は、レンズなどの光学系を通して入射する光の強度に応じて電気信号を生成することで動画像を構成する一連の複数の画像フレームを生成する撮像部61と、撮像部61で生成された一連の複数のフレームを蓄えるフレームバッファ30と、動画像を構成する一連の複数のフレームの内の時間的に互いに隣接する第1、第2、第3フレームFn−1,Fn,Fn+1を受け取り、これらのフレーム間の動きを検出して、動きベクトルMVとして出力する動き検出部10と、動き検出部10から出力された画素単位の動きベクトルMV及び第1、第2、第3フレームFn−1,Fn,Fn+1を受け取り、着目フレームである第2フレームFnのノイズを低減してノイズ低減フレームFS3を生成するノイズ低減部20と、ノイズ低減フレームを画像データとして蓄えるフレームバッファ40と、フレームバッファ40に蓄えられたノイズ低減フレームを、ハードディスク、光ディスク、半導体記憶装置の記録媒体に記録する映像記録部62とを有する。実施の形態4に係る映像撮影装置6は、撮像部61と映像記録部62を備えた点において、実施の形態1に係る映像処理装置1と相違する。他の構成については、実施の形態4は、実施の形態1と同じである。
<< 4 >>
FIG. 19 is a functional block diagram schematically showing the configuration of the video imaging apparatus 6 according to
図20は、本発明の実施の形態4の変形例に係る映像撮影装置7の構成を概略的に示す機能ブロック図である。図20において、図19に示される構成と同じ又は対応する構成には、同じ符号を付す。図20に示されるように、実施の形態4の変形例に係る映像撮影装置7は、動き検出部10及びノイズ低減部20に代えて、動き検出部10a(又は10b)及びノイズ低減部20a(又は20b)を備えた点において、実施の形態4に映像撮影装置6と相違する。他の構成については、実施の形態4の変形例は、実施の形態4(図19)と同じである。動き検出部10a(又は10b)及びノイズ低減部20a(又は20b)を備えた点において、実施の形態3に係る放送受信装置4と相違する。他の構成については、実施の形態3の変形例は、実施の形態3(図17)と同じである。また、動き検出部10a(又は10b)及びノイズ低減部20a(又は20b)は、図12(又は図15)で説明したものと同じである。また、動き検出部10a(又は10b)及びノイズ低減部20a(又は20b)は、図12(又は図15)で説明したものと同じである。
FIG. 20 is a functional block diagram schematically showing the configuration of the video imaging apparatus 7 according to a modification of the fourth embodiment of the present invention. 20, the same reference numerals are given to the same or corresponding components as those shown in FIG. As illustrated in FIG. 20, the video imaging apparatus 7 according to the modification of the fourth embodiment replaces the
以上に説明したように、実施の形態4に係る映像撮影装置6、及び、実施の形態4の変形例に係る映像撮影装置7によれば、撮像部61で発生するノイズを含む映像のノイズを低減して、映像記録部62に記録される映像の品質を向上させることができる。
As described above, according to the video imaging device 6 according to the fourth embodiment and the video imaging device 7 according to the modification of the fourth embodiment, the noise of the video including noise generated in the
また、実施の形態4の変形例に係る映像撮影装置7によれば、過去に生成されたノイズ低減フレームMn−1、又は、過去に生成されたノイズ低減フレームMn−1,Mnを使用してノイズ低減フレームの生成を行うので、より高いノイズ低減効果を得ることができる。 Moreover, according to the video imaging device 7 according to the modification of the fourth embodiment, the noise reduction frame M n−1 generated in the past or the noise reduction frames M n−1 and M n generated in the past are used. Since the noise reduction frame is generated by using it, a higher noise reduction effect can be obtained.
《5》実施の形態5.
図21は、本発明の実施の形態5に係る映像蓄積装置8の構成を概略的に示す機能ブロック図である。図21において、図1に示される構成と同じ又は対応する構成には、同じ符号を付す。図21に示されるように、実施の形態5に係る映像蓄積装置8は、動画像を構成する一連の複数のフレームの内の時間的に互いに隣接する第1、第2、第3フレームFn−1,Fn,Fn+1を受け取り、これらのフレーム間の動きを検出して、動きベクトルMVとして出力する動き検出部10と、動き検出部10から出力された画素単位の動きベクトルMV及び第1、第2、第3フレームFn−1,Fn,Fn+1を受け取り、着目フレームである第2フレームFnのノイズを低減してノイズ低減フレームFS3を生成するノイズ低減部20と、ノイズ低減フレームを画像データとして蓄えるフレームバッファ40と、フレームバッファ40に蓄えられたノイズ低減フレームを、ハードディスク、光ディスク、半導体記憶装置の記録媒体に記録する映像記録部62とを有する実施の形態5に係る映像蓄積装置8では、動き検出部10とノイズ低減部20に、映像記録部62に蓄積されている一連の複数のフレームが供給される。実施の形態5に係る映像蓄積装置8は、動き検出部10とノイズ低減部20に、映像記録部62に蓄積されている一連の複数のフレームが供給される点において、実施の形態1に係る映像処理装置1と相違する。他の構成については、実施の形態5は、実施の形態1と同じである。
<< 5 >> Embodiment 5
FIG. 21 is a functional block diagram schematically showing the configuration of the video storage device 8 according to Embodiment 5 of the present invention. In FIG. 21, the same or corresponding elements as those shown in FIG. As shown in FIG. 21, the video storage apparatus 8 according to the fifth embodiment includes the first, second, and third frames F n that are temporally adjacent to each other in a series of frames constituting a moving image. -1 , F n , F n + 1 are received, the motion between these frames is detected and output as a motion vector MV, the pixel-based motion vector MV output from the
図22は、本発明の実施の形態5の変形例に係る映像蓄積装置9の構成を概略的に示す機能ブロック図である。図22において、図21に示される構成と同じ又は対応する構成には、同じ符号を付す。図22に示されるように、実施の形態5の変形例に係る映像蓄積装置9は、動き検出部10及びノイズ低減部20に代えて、動き検出部10a(又は10b)及びノイズ低減部20a(又は20b)を備えた点において、実施の形態5に映像蓄積装置8と相違する。他の構成については、実施の形態5の変形例は、実施の形態5(図21)と同じである。また、動き検出部10a(又は10b)及びノイズ低減部20a(又は20b)は、図12(又は図15)で説明したものと同じである。また、動き検出部10a(又は10b)及びノイズ低減部20a(又は20b)は、図12(又は図15)で説明したものと同じである。
FIG. 22 is a functional block diagram schematically showing the configuration of the video storage device 9 according to a modification of the fifth embodiment of the present invention. 22, the same reference numerals are given to the same or corresponding components as those shown in FIG. As illustrated in FIG. 22, the video storage device 9 according to the modification of the fifth embodiment replaces the
以上に説明したように、実施の形態5係る映像蓄積装置8、及び、実施の形態5の変形例に係る映像撮影装置9によれば、ノイズ低減処理を行わずに蓄積された映像フレームのノイズを低減し、新たなノイズ低減フレームとして映像記録部62に記録することができる。
As described above, according to the video storage device 8 according to the fifth embodiment and the video shooting device 9 according to the modification of the fifth embodiment, the noise of the video frames stored without performing the noise reduction process Can be recorded in the
また、実施の形態5の変形例に係る映像蓄積装置9によれば、過去に生成されたノイズ低減フレームMn−1、又は、過去に生成されたノイズ低減フレームMn−1,Mnを使用してノイズ低減フレームの生成を行うので、より高いノイズ低減効果を得ることができる。 Further, according to the video storage device 9 according to the modification of the fifth embodiment, the noise reduction frame M n−1 generated in the past or the noise reduction frames M n−1 and M n generated in the past are used. Since the noise reduction frame is generated by using it, a higher noise reduction effect can be obtained.
本発明は、テレビ受像機、放送受信機、映像記録再生装置、パーソナルコンピュータ、並びに、携帯電話及びスマートフォンなどのような通信端末などのような、映像信号に含まれるノイズを低減する処理を行う装置、映像信号に含まれるノイズを低減する処理を行う方法、及び映像信号に含まれるノイズを低減する処理を装置に実行させるプログラムに適用可能である。 The present invention relates to an apparatus for performing processing for reducing noise included in a video signal, such as a television receiver, a broadcast receiver, a video recording / reproducing apparatus, a personal computer, and a communication terminal such as a mobile phone and a smartphone. The present invention can be applied to a method for performing processing for reducing noise contained in a video signal and a program for causing a device to execute processing for reducing noise contained in a video signal.
1,2,3 映像処理装置、 4,5 放送受信装置、 6,7 映像撮影装置、 8,9 映像蓄積装置、 10,10a,10b 動き検出部、 20,20a,20b ノイズ低減部、 30,40 フレームバッファ、 51 放送受信部、 52 映像表示部、 61 撮像部、 62 映像記録部、 201 画素値変化率解析手段、 202 動きベクトル境界検出手段、 203 動き誤検出領域補正係数算出手段、 204 フレームブレンド率算出手段、 205 ノイズ低減画像生成手段、 206 動き誤検出領域補正手段、 2031 画素値急変領域検出手段、 2032 参照フレーム不定領域検出手段、 2033 動きベクトル境界集中領域検出手段、 2034 補正係数算出手段、 2041 参照フレーム優先度算出手段、 2042 オクルージョン判定手段、 2043 ブレンド重み係数算出手段、 AN 画素値変化率の解析結果情報、 BO 動きベクトル境界画素情報、 BR 動きベクトル集中領域情報、 BW ブレンド重み係数、 ER 補正係数、 Fn−1,Fn,Fn+1 第1、第2、第3フレーム、 FS フレーム、 FS2 ノイズ低減画像、 FS3,FS3a,FS3b ノイズ低減フレーム、 Mn−1,Mn ノイズ低減フレーム、 MV 動きベクトル、 OC オクルージョン判定結果、 PR 優先度、 RR 参照フレーム不定領域情報、 SR 補正対象領域情報。 1, 2, 3 Video processing device, 4, 5 Broadcast receiving device, 6, 7 Video shooting device, 8, 9 Video storage device, 10, 10a, 10b Motion detection unit, 20, 20a, 20b Noise reduction unit, 30, 40 frame buffer, 51 broadcast receiving unit, 52 video display unit, 61 imaging unit, 62 video recording unit, 201 pixel value change rate analysis unit, 202 motion vector boundary detection unit, 203 motion error detection area correction coefficient calculation unit, 204 frame Blend rate calculation means, 205 noise reduction image generation means, 206 motion error detection area correction means, 2031 pixel value sudden change area detection means, 2032 reference frame indefinite area detection means, 2033 motion vector boundary concentration area detection means, 2034 correction coefficient calculation means 2041 reference frame priority calculation means, 2042 occlusion determination means, 2043 Blend weight coefficient calculation means, AN pixel value change rate analysis result information, BO motion vector boundary pixel information, BR motion vector concentration area information, BW blend weight coefficient, ER correction coefficient, F n−1 , F n , F n + 1 1st, 2nd, 3rd frame, FS frame, FS2 noise reduction image, FS3, FS3a, FS3b noise reduction frame, Mn-1 , Mn noise reduction frame, MV motion vector, OC occlusion judgment result, PR priority RR Reference frame indefinite area information, SR correction target area information.
Claims (14)
前記動き検出部によって検出された前記動きベクトル、前記着目フレーム、及び前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方であるノイズ低減用参照フレームを用いて、前記着目フレームのノイズが低減されたノイズ低減フレームを生成するノイズ低減部と
を有し、
前記ノイズ低減部は、
前記動きベクトルの境界画素を検出し、前記検出された境界画素を示す動きベクトル境界画素情報を生成する動きベクトル境界検出手段と、
前記着目フレームと前記ノイズ低減用参照フレームとの間における画素値変化率を解析し、前記画素値変化率の解析結果情報を生成する画素値変化率解析手段と、
前記動きベクトル境界画素情報及び前記画素値変化率の解析結果情報を用いて前記ノイズ低減フレームの生成を行う補正手段と
を有する
ことを特徴とする映像処理装置。 One of a plurality of frames constituting a moving image is set as a frame of interest, and at least one of a temporally preceding frame and a temporally subsequent frame of the frame of interest is used as a motion detection reference frame. A motion detector that estimates a motion between a frame and the motion detection reference frame, and detects a motion vector in units of pixels constituting the frame of interest;
Using the noise reduction reference frame that is at least one of the motion vector detected by the motion detector, the frame of interest, a frame temporally preceding the frame of interest, and a frame temporally following the frame of interest. A noise reduction unit that generates a noise reduction frame in which the noise of the frame is reduced,
The noise reduction unit is
Motion vector boundary detection means for detecting boundary pixels of the motion vector and generating motion vector boundary pixel information indicating the detected boundary pixels;
A pixel value change rate analysis unit that analyzes a pixel value change rate between the frame of interest and the noise reduction reference frame, and generates analysis result information of the pixel value change rate;
A video processing apparatus comprising: correction means for generating the noise reduction frame using the motion vector boundary pixel information and the analysis result information of the pixel value change rate.
前記補正手段による前記ノイズ低減フレームの生成は、前記動きベクトル境界画素情報、前記画素値変化率の解析結果情報、及び前記フレーム合成係数を用いて行われる
ことを特徴とする請求項1に記載の映像処理装置。 The noise reduction unit uses the pixel value change rate analysis result information generated by the pixel value change rate analysis unit and the motion vector boundary pixel information generated by the motion vector boundary detection unit, and A frame blend rate calculating means for calculating a frame synthesis coefficient for each pixel of the frame;
The generation of the noise reduction frame by the correction unit is performed using the motion vector boundary pixel information, the analysis result information of the pixel value change rate, and the frame synthesis coefficient. Video processing device.
前記補正手段は、前記画素毎の補正係数を用いて前記ノイズ低減画像を生成する
ことを特徴とする請求項4に記載の映像処理装置。 The noise reduction unit detects the motion based on the analysis result information of the pixel value change rate generated by the pixel value change rate analysis unit and the motion vector boundary pixel information generated by the motion vector boundary detection unit. A motion erroneous detection region correction coefficient calculating means for detecting a region where motion detection by the unit can be estimated to be a false detection and determining a correction coefficient for each pixel;
The video processing apparatus according to claim 4, wherein the correction unit generates the noise reduced image using a correction coefficient for each pixel.
画素値の変化率が大きい箇所を検出して、検出された箇所を示す補正対象領域情報を生成する画素値急変領域検出手段と、
前記着目フレームに隣接するフレームにおいて前景部分であるか背景であるかの判定ができない領域を示す参照フレーム不定領域情報を生成する参照フレーム不定領域検出手段と、
前記動きベクトルの境界が集中する領域を示す動きベクトル集中領域情報を生成する動きベクトル境界集中領域検出手段と、
前記補正対象領域情報、前記参照フレーム不定領域情報、前記動きベクトル集中領域情報に基づいて前記補正係数を決定する補正係数算出手段と
を有することを特徴とする請求項4に記載の映像処理装置。 The motion error detection region correction coefficient calculation means is
A pixel value sudden change region detecting means for detecting a portion where the change rate of the pixel value is large and generating correction target region information indicating the detected portion;
A reference frame indefinite area detecting means for generating reference frame indefinite area information indicating an area in which it is impossible to determine whether it is a foreground part or a background in a frame adjacent to the frame of interest;
Motion vector boundary concentration area detecting means for generating motion vector concentration area information indicating an area where the boundary of the motion vector is concentrated;
5. The video processing apparatus according to claim 4, further comprising correction coefficient calculation means for determining the correction coefficient based on the correction target area information, the reference frame indefinite area information, and the motion vector concentration area information.
前記ノイズ低減部は、過去に生成された前記着目フレームより時間的に先行する少なくとも1枚のノイズ低減フレームを前記記憶部から読み出し、前記ノイズ低減用参照フレームとして用いる
ことを特徴とする請求項1から5のいずれか1項に記載の映像処理装置。 A storage unit for storing the noise reduction frame;
The noise reduction unit reads at least one noise reduction frame temporally preceding the frame of interest generated in the past from the storage unit, and uses it as the noise reduction reference frame. 6. The video processing apparatus according to any one of items 1 to 5.
前記動き検出ステップにおいて検出された前記動きベクトル、前記着目フレーム、及び前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方であるノイズ低減用参照フレームを用いて、前記着目フレームのノイズが低減されたノイズ低減フレームを生成するノイズ低減ステップと
を有し、
前記ノイズ低減ステップは、
前記動きベクトルの境界画素を検出し、前記検出された境界画素を示す動きベクトル境界画素情報を生成する動きベクトル境界検出ステップと、
前記着目フレームと前記動き検出用参照フレームとの間における画素値変化率を解析し、前記画素値変化率の解析結果情報を生成する画素値変化率解析ステップと、
前記動きベクトル境界画素情報及び前記画素値変化率の解析結果情報を用いて前記ノイズ低減フレームの生成を行うノイズ低減フレーム生成ステップと
を有する
ことを特徴とする映像処理方法。 One of a plurality of frames constituting a moving image is set as a frame of interest, and at least one of a temporally preceding frame and a temporally subsequent frame of the frame of interest is used as a motion detection reference frame. A motion detection step of estimating a motion between a frame and the motion detection reference frame, and detecting a motion vector in pixel units constituting the frame of interest;
Using the noise reduction reference frame that is at least one of the motion vector detected in the motion detection step, the frame of interest, and a frame temporally preceding and temporally following the frame of interest. A noise reduction step for generating a noise reduction frame in which the noise of the frame is reduced, and
The noise reduction step includes
A motion vector boundary detection step for detecting a boundary pixel of the motion vector and generating motion vector boundary pixel information indicating the detected boundary pixel;
A pixel value change rate analysis step of analyzing a pixel value change rate between the frame of interest and the motion detection reference frame, and generating analysis result information of the pixel value change rate;
And a noise reduction frame generation step of generating the noise reduction frame using the motion vector boundary pixel information and the analysis result information of the pixel value change rate.
前記放送受信部から動画像を構成する一連の複数のフレームを受け取り、前記一連の複数のフレームの1つを着目フレームとし、前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方を動き検出用参照フレームとして用いて、前記着目フレームと前記動き検出用参照フレームとの間の動きを推定し、前記着目フレームを構成する画素単位の動きベクトルを検出する動き検出部と、
前記動き検出部によって検出された前記動きベクトル、前記着目フレーム、及び前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方であるノイズ低減用参照フレームを用いて、前記着目フレームのノイズが低減されたノイズ低減フレームを生成するノイズ低減部と
を有し、
前記ノイズ低減部は、
前記動きベクトルの境界画素を検出し、前記検出された境界画素を示す動きベクトル境界画素情報を生成する動きベクトル境界検出手段と、
前記着目フレームと前記動き検出用参照フレームとの間における画素値変化率を解析し、前記画素値変化率の解析結果情報を生成する画素値変化率解析手段と、
前記動きベクトル境界画素情報及び前記画素値変化率の解析結果情報を用いて前記ノイズ低減フレームの生成を行う補正手段と
を有する
ことを特徴とする放送受信装置。 A broadcast receiving unit that receives a broadcast wave and decodes video information included in the broadcast wave;
A series of frames constituting a moving image is received from the broadcast receiving unit, one of the series of frames is set as a frame of interest, and a frame temporally preceding and temporally following the frame of interest Using at least one of them as a motion detection reference frame, estimating a motion between the target frame and the motion detection reference frame, and detecting a motion vector in units of pixels constituting the target frame;
Using the noise reduction reference frame that is at least one of the motion vector detected by the motion detector, the frame of interest, a frame temporally preceding the frame of interest, and a frame temporally following the frame of interest. A noise reduction unit that generates a noise reduction frame in which the noise of the frame is reduced,
The noise reduction unit is
Motion vector boundary detection means for detecting boundary pixels of the motion vector and generating motion vector boundary pixel information indicating the detected boundary pixels;
A pixel value change rate analyzing means for analyzing a pixel value change rate between the frame of interest and the motion detection reference frame, and generating analysis result information of the pixel value change rate;
A broadcast receiving apparatus comprising: correction means for generating the noise reduction frame using the motion vector boundary pixel information and the analysis result information of the pixel value change rate.
前記ノイズ低減部は、過去に生成された少なくとも1枚のノイズ低減フレームを前記記憶部から読み出し、前記ノイズ低減用参照フレームとして用いる
ことを特徴とする請求項8に記載の放送受信装置。 A storage unit for storing the noise reduction frame;
The broadcast receiving apparatus according to claim 8, wherein the noise reduction unit reads at least one noise reduction frame generated in the past from the storage unit and uses the frame as the noise reduction reference frame.
前記撮像部から動画像を構成する一連の複数のフレームを受け取り、前記一連の複数のフレームの1つを着目フレームとし、前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方を動き検出用参照フレームとして用いて、前記着目フレームと前記動き検出用参照フレームとの間の動きを推定し、前記着目フレームを構成する画素単位の動きベクトルを検出する動き検出部と、
前記動き検出部によって検出された前記動きベクトル、前記着目フレーム、及び前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方であるノイズ低減用参照フレームを用いて、前記着目フレームのノイズが低減されたノイズ低減フレームを生成するノイズ低減部と
を有し、
前記ノイズ低減部は、
前記動きベクトルの境界画素を検出し、前記検出された境界画素を示す動きベクトル境界画素情報を生成する動きベクトル境界検出手段と、
前記着目フレームと前記動き検出用参照フレームとの間における画素値変化率を解析し、前記画素値変化率の解析結果情報を生成する画素値変化率解析手段と、
前記動きベクトル境界画素情報及び前記画素値変化率の解析結果情報を用いて前記ノイズ低減フレームの生成を行う補正手段と
を有する
ことを特徴とする映像撮影装置。 An imaging unit that shoots video and generates a series of frame data constituting a moving image;
A series of a plurality of frames constituting a moving image is received from the imaging unit, one of the series of frames is set as a frame of interest, and at least a frame temporally preceding and temporally following the frame of interest Using one of them as a motion detection reference frame, estimating a motion between the target frame and the motion detection reference frame, and detecting a motion vector in units of pixels constituting the target frame;
Using the noise reduction reference frame that is at least one of the motion vector detected by the motion detector, the frame of interest, a frame temporally preceding the frame of interest, and a frame temporally following the frame of interest. A noise reduction unit that generates a noise reduction frame in which the noise of the frame is reduced,
The noise reduction unit is
Motion vector boundary detection means for detecting boundary pixels of the motion vector and generating motion vector boundary pixel information indicating the detected boundary pixels;
A pixel value change rate analyzing means for analyzing a pixel value change rate between the frame of interest and the motion detection reference frame, and generating analysis result information of the pixel value change rate;
A video photographing apparatus comprising: correction means for generating the noise reduction frame using the motion vector boundary pixel information and the analysis result information of the pixel value change rate.
前記ノイズ低減部は、過去に生成された少なくとも1枚のノイズ低減フレームを前記記憶部から読み出し、前記ノイズ低減用参照フレームとして用いる
ことを特徴とする請求項10に記載の映像撮影装置。 A storage unit for storing the noise reduction frame;
The video imaging apparatus according to claim 10, wherein the noise reduction unit reads at least one noise reduction frame generated in the past from the storage unit and uses the read frame as the noise reduction reference frame.
前記記憶部に記憶されている前記一連の複数のフレームの1つを着目フレームとし、前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方を動き検出用参照フレームとして用いて、前記着目フレームと前記動き検出用参照フレームとの間の動きを推定し、前記着目フレームを構成する画素単位の動きベクトルを検出する動き検出部と、
前記動き検出部によって検出された前記動きベクトル、前記着目フレーム、及び前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方であるノイズ低減用参照フレームを用いて、前記着目フレームのノイズが低減されたノイズ低減フレームを生成するノイズ低減部と、
を有し、
前記ノイズ低減部は、
前記動きベクトルの境界画素を検出し、前記検出された境界画素を示す動きベクトル境界画素情報を生成する動きベクトル境界検出手段と、
前記着目フレームと前記動き検出用参照フレームとの間における画素値変化率を解析し、前記画素値変化率の解析結果情報を生成する画素値変化率解析手段と、
前記動きベクトル境界画素情報及び前記画素値変化率の解析結果情報を用いて前記ノイズ低減フレームの生成を行う補正手段と
を有する
ことを特徴とする映像蓄積装置。 A storage unit for storing a series of frames constituting a moving image;
One of the series of frames stored in the storage unit is set as a target frame, and at least one of a temporally preceding frame and a temporally subsequent frame is used as a motion detection reference frame. A motion detection unit that estimates a motion between the frame of interest and the motion detection reference frame, and detects a motion vector in units of pixels constituting the frame of interest;
Using the noise reduction reference frame that is at least one of the motion vector detected by the motion detector, the frame of interest, a frame temporally preceding the frame of interest, and a frame temporally following the frame of interest. A noise reduction unit that generates a noise reduction frame in which the noise of the frame is reduced;
Have
The noise reduction unit is
Motion vector boundary detection means for detecting boundary pixels of the motion vector and generating motion vector boundary pixel information indicating the detected boundary pixels;
A pixel value change rate analyzing means for analyzing a pixel value change rate between the frame of interest and the motion detection reference frame, and generating analysis result information of the pixel value change rate;
A video storage device comprising: correction means for generating the noise reduction frame using the motion vector boundary pixel information and the analysis result information of the pixel value change rate.
前記処理は、
動画像を構成する一連の複数のフレームの1つを着目フレームとし、前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方を動き検出用参照フレームとして用いて、前記着目フレームと前記動き検出用参照フレームとの間の動きを推定し、前記着目フレームを構成する画素単位の動きベクトルを検出する動き検出処理と、
前記動き検出処理において検出された前記動きベクトル、前記着目フレーム、及び前記着目フレームより時間的に先行するフレーム及び時間的に後続するフレームの少なくとも一方であるノイズ低減用参照フレームを用いて、前記着目フレームのノイズが低減されたノイズ低減フレームを生成するノイズ低減処理と
を含み、
前記ノイズ低減処理は、
前記動きベクトルの境界画素を検出し、前記検出された境界画素を示す動きベクトル境界画素情報を生成する動きベクトル境界検出処理と、
前記着目フレームと前記動き検出用参照フレームとの間における画素値変化率を解析し、前記画素値変化率の解析結果情報を生成する画素値変化率解析処理と、
前記動きベクトル境界画素情報及び前記画素値変化率の解析結果情報を用いて前記ノイズ低減フレームの生成を行うノイズ低減フレーム生成処理と
を含む
ことを特徴とするプログラム。 A program for causing a computer to execute processing,
The process is
One of a plurality of frames constituting a moving image is set as a frame of interest, and at least one of a temporally preceding frame and a temporally subsequent frame of the frame of interest is used as a motion detection reference frame. A motion detection process for estimating a motion between a frame and the motion detection reference frame and detecting a motion vector in units of pixels constituting the frame of interest;
Using the reference vector for noise reduction that is at least one of the motion vector detected in the motion detection process, the frame of interest, a frame temporally preceding and temporally following the frame of interest Including noise reduction processing for generating a noise reduction frame in which noise of the frame is reduced,
The noise reduction process
A motion vector boundary detection process for detecting a boundary pixel of the motion vector and generating motion vector boundary pixel information indicating the detected boundary pixel;
A pixel value change rate analysis process for analyzing a pixel value change rate between the frame of interest and the motion detection reference frame, and generating analysis result information of the pixel value change rate;
A noise reduction frame generation process for generating the noise reduction frame using the motion vector boundary pixel information and the analysis result information of the pixel value change rate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013026781A JP6128878B2 (en) | 2013-02-14 | 2013-02-14 | Video processing device, video processing method, broadcast receiving device, video photographing device, video storage device, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013026781A JP6128878B2 (en) | 2013-02-14 | 2013-02-14 | Video processing device, video processing method, broadcast receiving device, video photographing device, video storage device, and program |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2014158083A true JP2014158083A (en) | 2014-08-28 |
JP2014158083A5 JP2014158083A5 (en) | 2015-11-05 |
JP6128878B2 JP6128878B2 (en) | 2017-05-17 |
Family
ID=51578723
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013026781A Active JP6128878B2 (en) | 2013-02-14 | 2013-02-14 | Video processing device, video processing method, broadcast receiving device, video photographing device, video storage device, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6128878B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111783632A (en) * | 2020-06-29 | 2020-10-16 | 北京字节跳动网络技术有限公司 | Face detection method and device for video stream, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000013643A (en) * | 1998-06-18 | 2000-01-14 | Sony Corp | Device and method for reducing noise, video signal processor and motion detecting method |
JP2003006658A (en) * | 2001-06-19 | 2003-01-10 | Sony Corp | Image processor and method for processing image, recording medium and program |
JP2003284076A (en) * | 2001-12-31 | 2003-10-03 | Pentamicro Inc | Device and method for detecting movement in digital image storage utilizing mpeg image compression technique |
JP2010283623A (en) * | 2009-06-04 | 2010-12-16 | Panasonic Corp | Image processor, image processing method, program, recording medium and integrated circuit |
JP2011176776A (en) * | 2010-02-25 | 2011-09-08 | Olympus Corp | Image processing apparatus and image processing method |
JP2012080369A (en) * | 2010-10-01 | 2012-04-19 | Sony Corp | Image processing apparatus and image processing method |
-
2013
- 2013-02-14 JP JP2013026781A patent/JP6128878B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000013643A (en) * | 1998-06-18 | 2000-01-14 | Sony Corp | Device and method for reducing noise, video signal processor and motion detecting method |
JP2003006658A (en) * | 2001-06-19 | 2003-01-10 | Sony Corp | Image processor and method for processing image, recording medium and program |
JP2003284076A (en) * | 2001-12-31 | 2003-10-03 | Pentamicro Inc | Device and method for detecting movement in digital image storage utilizing mpeg image compression technique |
JP2010283623A (en) * | 2009-06-04 | 2010-12-16 | Panasonic Corp | Image processor, image processing method, program, recording medium and integrated circuit |
JP2011176776A (en) * | 2010-02-25 | 2011-09-08 | Olympus Corp | Image processing apparatus and image processing method |
JP2012080369A (en) * | 2010-10-01 | 2012-04-19 | Sony Corp | Image processing apparatus and image processing method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111783632A (en) * | 2020-06-29 | 2020-10-16 | 北京字节跳动网络技术有限公司 | Face detection method and device for video stream, electronic equipment and storage medium |
CN111783632B (en) * | 2020-06-29 | 2022-06-10 | 北京字节跳动网络技术有限公司 | Face detection method and device for video stream, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
JP6128878B2 (en) | 2017-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9202263B2 (en) | System and method for spatio video image enhancement | |
JP4666012B2 (en) | Image processing apparatus, image processing method, and program | |
EP2489007B1 (en) | Image deblurring using a spatial image prior | |
US7570309B2 (en) | Methods for adaptive noise reduction based on global motion estimation | |
CN102077572B (en) | Method and apparatus for motion blur and ghosting prevention in imaging system | |
US7702178B2 (en) | Method and apparatus for providing noise reduction | |
JP4857916B2 (en) | Noise suppression method, noise suppression method program, recording medium recording noise suppression method program, and noise suppression device | |
KR100739753B1 (en) | Method and apparatus of bidirectional temporal noise reduction | |
US9002129B2 (en) | Method and device for reducing temporal noise for image | |
JP4454657B2 (en) | Blur correction apparatus and method, and imaging apparatus | |
US20120314093A1 (en) | Image processing apparatus and method, program, and recording medium | |
JP2010286488A (en) | Image processor and method | |
JP6254938B2 (en) | Image noise removing apparatus and image noise removing method | |
US10614554B2 (en) | Contrast adaptive video denoising system | |
JP2012208553A (en) | Image processing device, image processing method, and program | |
KR101805623B1 (en) | Method and apparatus for generating superresolution image using prediction and stabilization of high-frequency information of image | |
JP2012109656A (en) | Image processing apparatus and method, and image display unit and method | |
JP2005150903A (en) | Image processing apparatus, noise elimination method, and noise elimination program | |
JP6128878B2 (en) | Video processing device, video processing method, broadcast receiving device, video photographing device, video storage device, and program | |
JP2012032739A (en) | Image processing device, method and image display device | |
Zhao et al. | Image restoration under significant additive noise | |
EP3540685B1 (en) | Image-processing apparatus to reduce staircase artifacts from an image signal | |
JP5550794B2 (en) | Image processing apparatus and method, and image display apparatus and method | |
KR100772405B1 (en) | Methods for adaptive noise reduction based on global motion estimation and video processing system therefore | |
JP2014158083A5 (en) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150910 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150910 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160706 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160823 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20161018 |
|
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: 20170314 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170411 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6128878 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |