JP5441555B2 - Video signal processing apparatus and video signal processing method - Google Patents
Video signal processing apparatus and video signal processing method Download PDFInfo
- Publication number
- JP5441555B2 JP5441555B2 JP2009182350A JP2009182350A JP5441555B2 JP 5441555 B2 JP5441555 B2 JP 5441555B2 JP 2009182350 A JP2009182350 A JP 2009182350A JP 2009182350 A JP2009182350 A JP 2009182350A JP 5441555 B2 JP5441555 B2 JP 5441555B2
- Authority
- JP
- Japan
- Prior art keywords
- value
- sum
- image
- motion vector
- search range
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、映像信号処理装置及び映像信号処理方法に関し、特に連続する2つのフレームの画像の間に補間フレームを挿入して映像信号のフレーム数を増やす映像信号処理装置及び映像信号処理方法に関する。 The present invention relates to a video signal processing apparatus and a video signal processing method, and more particularly, to a video signal processing apparatus and a video signal processing method that insert an interpolation frame between two consecutive frames to increase the number of video signal frames.
入力される映像信号の連続する2つのフレームの画像から画像の動きを表す動きベクトルを検出し、動きベクトルに基づいて2つのフレームの間に挿入する補間フレームを生成し、映像信号のフレーム数を増やすフレームレート変換技術がある。 A motion vector representing the motion of the image is detected from images of two consecutive frames of the input video signal, an interpolation frame to be inserted between the two frames is generated based on the motion vector, and the number of frames of the video signal is determined. There are increasing frame rate conversion technologies.
動きベクトルを検出する方式の一つとして、ブロックマッチング法がある。ブロックマッチング法では、2つのフレームのうちの前フレーム内のブロックと後フレーム内のブロックとの相関を、両ブロックの相対位置を所定範囲内でずらしながら計算し、最も相関の高かった相対位置から動きベクトルを算出する。画像内に例えば縞模様や格子パターン等の一定周期の繰り返しパターンの領域がある場合、繰り返しパターンの周期に一致する相対位置においてもブロックマッチングの相関が高くなる。最も相関が高かった相対位置が繰り返しパターンの周期に一致するものであった場合には、本来の画像の動きとは無関係の誤った動きベクトルが検出されてしまう。このような不適切な動きベクトルに基づいて生成された補間フレームの画像を2つのフレームの間に挿入してフレーム数を増やす映像処理を行なうと、大きく乱れた映像が生成される。また、背景と前景との動きが異なる映像のように画像内に異なる動きが共存する領域がある場合、それぞれの動きに対応する相対位置においてブロックマッチングの相関が高くなり、いずれかの動きに対応する相対位置から動きベクトルが検出されることになる。その動きベクトルに基づいて生成された補間フレームの画像を2つのフレームの間に挿入してフレーム数を増やす映像処理を行なうと、その他の動きの部分が乱れが生じた映像が生成される。 One method for detecting motion vectors is a block matching method. In the block matching method, the correlation between the block in the previous frame and the block in the subsequent frame of the two frames is calculated while shifting the relative position of both blocks within a predetermined range, and from the relative position with the highest correlation. A motion vector is calculated. For example, when there is a repetitive pattern region such as a striped pattern or a lattice pattern in the image, the correlation of block matching becomes high even at a relative position that coincides with the repetitive pattern cycle. If the relative position having the highest correlation coincides with the cycle of the repetitive pattern, an erroneous motion vector unrelated to the original image motion is detected. When an interpolated frame image generated based on such an inappropriate motion vector is inserted between two frames and video processing is performed to increase the number of frames, a greatly disturbed video is generated. Also, if there are areas where different motions coexist in the image, such as images with different motions of the background and foreground, the correlation of block matching will be high at the relative position corresponding to each motion, and it will correspond to either motion The motion vector is detected from the relative position. When video processing for increasing the number of frames is performed by inserting an interpolated frame image generated based on the motion vector between two frames, a video in which other motion portions are disturbed is generated.
この課題を解決するために、検出された動きベクトルの信頼性を判定する技術が提案されている。例えば、特許文献1には、ブロックマッチングの第1最大相関点の周囲を除外した部分から第2最大相関点を検出し、第2最大相関点が除外した部分に接していないという条件を基に、検出された動きベクトルの信頼性を判断する技術が記載されている。また、特許文献2には、ブロックマッチングのサーチ範囲をいくつかの領域に分割し、領域ごとに最大相関点を検出し、それら相関点の各々の相関値に基づいて、検出されたベクトルの信頼性を判断する技術が記載されている。
In order to solve this problem, a technique for determining the reliability of a detected motion vector has been proposed. For example, in
特許文献1に記載された技術では、第1最大相関点の周囲に第1最大相関点と同程度に高い相関点がある場合には、検出された動きベクトルの信頼性は低いと判定されない場合があった。また、特許文献2に記載された技術では、分割したサーチ範囲の同一領域内に前景の動きベクトルと背景の動きベクトルの最大相関点があった場合に、検出された動きベクトルの信頼性は低いと判定されない場合があった。そのため、不適切な動きベクトルに基づいて補間フレームが生成され、生成された補間フレームを用いてフレーム数変換処
理が行なわれることにより、出力映像に乱れが生じる場合があった。
In the technique described in
本発明は、2つのフレームの間に補間フレームを挿入してフレーム数を増加させる映像処理において、出力される映像に乱れが生じることを抑制可能な映像信号処理装置及び映像信号処理方法を提供することを目的とする。 The present invention provides a video signal processing apparatus and a video signal processing method capable of suppressing occurrence of disturbance in an output video in video processing in which an interpolation frame is inserted between two frames to increase the number of frames. For the purpose.
本発明に係る映像信号処理装置は、
入力される映像信号の連続する2つのフレームの間に挿入する補間フレームの画像を生成する映像信号処理装置であって、
前記2つのフレームのうちの前フレームの画像を分割して得られるブロックと、該ブロックの位置に対して所定のサーチ範囲内のシフト量で表される相対位置にある後フレームのブロックと、の対応する画素値どうしの差分絶対値の総和である差分絶対値和を、該サーチ範囲内のシフト量毎に算出する算出手段と、
前記算出手段により算出される差分絶対値和が極小となる前記サーチ範囲内のシフト量に基づいて、前記前フレームのブロックと前記後フレームのブロックとの間の画像の動きを表す動きベクトルを検出する動きベクトル検出手段と、
前記算出手段により算出される差分絶対値和が極小となるシフト量が前記サーチ範囲内に複数あり、差分絶対値和の複数の極小値のうち前記サーチ範囲内で2番目に小さい極小値が所定の閾値以下である場合に、前記動きベクトル検出手段により検出される前記動きベクトルは信頼性が低いと判定する判定手段と、
前記判定手段による判定結果に基づいて前記補間フレームの画像を生成する生成手段と、
を備えることを特徴とする。
The video signal processing apparatus according to the present invention is
A video signal processing apparatus that generates an image of an interpolation frame to be inserted between two consecutive frames of an input video signal,
A block obtained by dividing an image of a previous frame of the two frames, and a block of a subsequent frame at a relative position represented by a shift amount within a predetermined search range with respect to the position of the block; the sum of absolute differences is the total sum of the absolute differences of each other corresponding pixel values, calculating means for calculating for each shift amount in the search range,
Based on the shift amount within the search range where the sum of absolute differences calculated by the calculating means is minimized, a motion vector representing the motion of the image between the block of the previous frame and the block of the subsequent frame is detected. Motion vector detecting means for performing,
There are a plurality of shift amounts within the search range where the sum of absolute differences calculated by the calculating means is a minimum, and the second minimum value within the search range is predetermined among the plurality of minimum values of the sum of absolute differences. A determination unit that determines that the motion vector detected by the motion vector detection unit is low in reliability when the threshold is less than or equal to
Generating means for generating an image of the interpolated frame based on a determination result by the determining means;
It is characterized by providing.
また、本発明に係る映像信号処理方法は、
入力される映像信号の連続する2つのフレームの間に挿入する補間フレームの画像を生成する映像信号処理方法であって、
映像信号を入力する工程と、
前記入力される映像信号の連続する2つのフレームのうちの前フレームの画像を分割して得られるブロックと、該ブロックの位置に対して所定のサーチ範囲内のシフト量で表される相対位置にある後フレームのブロックと、の対応する画素値どうしの差分絶対値の総和である差分絶対値和を、該サーチ範囲内のシフト量毎に算出する算出工程と、
前記算出工程により算出される差分絶対値和が極小となる前記サーチ範囲内のシフト量に基づいて、前記前フレームのブロックと前記後フレームのブロックとの間の画像の動きを表す動きベクトルを検出する動きベクトル検出工程と、
前記算出工程により算出される差分絶対値和が極小となるシフト量が前記サーチ範囲内に複数あり、差分絶対値和の複数の極小値のうち前記サーチ範囲内で2番目に小さい極小値が所定の閾値以下である場合に、前記動きベクトル検出工程により検出される前記動きベクトルは信頼性が低いと判定する判定工程と、
前記判定工程による判定結果に基づいて前記補間フレームの画像を生成する生成工程と、
を有することを特徴とする。
The video signal processing method according to the present invention includes:
A video signal processing method for generating an image of an interpolation frame to be inserted between two consecutive frames of an input video signal,
A step of inputting a video signal;
A block obtained by dividing an image of a previous frame of two consecutive frames of the input video signal, and a relative position represented by a shift amount within a predetermined search range with respect to the position of the block and a block of a following frame, the difference absolute value sum is the total sum of the corresponding difference absolute value of pixel values each other, a calculating step of calculating for each shift amount in the search range,
Based on the shift amount within the search range in which the sum of absolute differences calculated by the calculation step is minimized, a motion vector representing the motion of the image between the block of the previous frame and the block of the subsequent frame is detected. A motion vector detection step to perform,
There are a plurality of shift amounts within the search range where the sum of absolute differences calculated by the calculation step is a minimum, and the second minimum value within the search range is predetermined among the plurality of minimum values of the sum of absolute differences. A determination step of determining that the motion vector detected by the motion vector detection step is low in reliability when the threshold value is less than or equal to
A generation step of generating an image of the interpolation frame based on a determination result by the determination step;
It is characterized by having.
本発明によれば、2つの連続するフレームの画像から検出した動きベクトルに基づいて補間フレームを生成してフレーム数を増加させる処理において、出力される映像に乱れが生じることを抑制することが可能となる。 According to the present invention, it is possible to prevent the output video from being disturbed in the process of generating the interpolation frame based on the motion vector detected from the images of two consecutive frames and increasing the number of frames. It becomes.
(実施例1)
以下、本発明の実施形態を図面を参照して説明する。図1は、本発明に係る映像信号処理装置の一実施形態を示すブロック構成図である。この映像信号処理装置は、入力される映像信号の連続する2つのフレームの間に補間フレームを挿入して映像信号のフレーム数を増加させるフレームレート変換装置である。このようなフレームレート変換装置は、例えば液晶モニタやデジタルテレビにテレビジョン信号やビデオカメラで撮影した動画のような動きのある映像を表示させる際に、より滑らかな動きの表示が得られるように映像信号を処理するために用いることができる。また、このような映像表示時のリアルタイムの映像処理だけでなく、映像編集時に既存の映像をフレームレートの高い映像に変換する映像処理にも用いることができる。本実施例のフレームレート変換装置は、単位時間あたりのフレーム数を増加させる処理だけでなく、単に映像のフレーム数を増加させる処理を行なうためにも用いることが可能である。
Example 1
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a video signal processing apparatus according to the present invention. This video signal processing device is a frame rate conversion device that inserts an interpolation frame between two consecutive frames of an input video signal to increase the number of frames of the video signal. Such a frame rate conversion device can display a smoother motion when, for example, a moving image such as a moving picture taken with a television signal or a video camera is displayed on a liquid crystal monitor or digital television. It can be used to process video signals. In addition to such real-time video processing at the time of video display, it can also be used for video processing for converting an existing video to a video with a high frame rate at the time of video editing. The frame rate conversion apparatus of the present embodiment can be used not only for increasing the number of frames per unit time but also for simply increasing the number of video frames.
図1に示すように、本実施例に係るフレームレート変換装置1は、ブロックバッファ10、ブロックバッファ11、差分絶対値和計算部12、動きベクトル検出部13、複数ピーク検出部14、補間画像生成部15で構成される。フレームレート変換装置1は、連続する2つのフレームの画像の入力を受け、2つのフレームの画像から動きベクトルを検出し、動きベクトルに基づいて2つのフレームの前フレームと後フレームの間に挿入する補間フレームの画像を生成し出力する。フレームレート変換装置1の前段には、例えばフレームメモリが設けられ、フレームメモリに保持された前フレームの画像がブロックバッファ10に入力される。
As shown in FIG. 1, the frame
<ブロックバッファ10>
ブロックバッファ10は、連続する2つのフレームのうち前フレーム(フレーム0という)の画像の特定領域の画像をブロックとして切り出し、ブロックデータ0として出力する。以下、図2に示すように、128ドット×96ドットのフレーム0の画像を32ドット×32ドットの12個の矩形のブロックに分割し、各ブロックをブロックデータ0とし
て出力
する場合を例に説明する。後述するように、各ブロックデータ0は、動きベクトルを検出
するための単位となる画像である。以下、ブロックバッファ10から出力されるブロックデータ0(以下、BD0とも表す)を、図2に示すブロック番号(n,m)(n=0〜3、m=0〜2)を用いて、BD0n,mと表す。また、ブロックデータBD0n,m内の水平座標i、垂直座標jにおける画素データを、BD0n,m(i,j)と表す。フレーム0の画像データをFD0とし、フレーム0の画像データFD0内の座標(x,y)における画素データをFD0(x,y)と表せば、ブロックデータ0内の座標(i,j)における画素データBD0n,m(i,j)は式(1)のように表わされる。
<
The
<ブロックバッファ11>
ブロックバッファ11は、連続する2つのフレームのうちの後フレーム(フレーム1という)の画像からブロックデータ0と同一形状のブロックを切り出し、ブロックデータ1として出力する。フレーム1の画像からブロックデータ1を切り出す位置は、フレーム画像0からブロックデータ0を切り出した位置に対する相対位置が所定の範囲(サーチ範囲という)内のシフト量で表されるような位置である。フレーム1の画像からのブロックデータ1の切り出しは、サーチ範囲内の全てのシフト量について行なわれ、順次出力される。サーチ範囲は、検出する動きベクトルの大きさに応じて定める。例えば、検出する動きベクトルの大きさが水平±24ドット、垂直±15ドットの場合、サーチ範囲を水平方向±24ドット、垂直方向±15ドットと定める。そして、フレーム0の画像においてブロックデータ0を切り出した位置に対する相対位置が水平方向に±24ドット、垂直方向に±15ドットの範囲内のシフト量で表される位置において、フレーム1の画像からのブロックデータ1の切り出しが行なわれる。なお、ブロックデータ0がフレーム0の画像の端に近い位置にある場合、対応するブロックデータ1を切り出すべき位置がフレーム1からはみ出す場合があるが、はみ出した画素の値は例えば予め定めた固定値とする。この場合、水平方向及び垂直方向のシフト量の可能な組み合わせの数は1440であり、1つのブロックデータ0に対応して1440枚のブロックデータ1が出力される。
<
The
図3に、1つのブロックデータ0と、それに対応して出力されるブロックデータ1の存在範囲と、を示す。図3において中央に描かれた1枚のブロックデータ0に対して、外側の実線で囲まれる範囲内で水平方向又は垂直方向が1ドットずつ位置がずれた1440枚のブロックデータ1が出力される。このようなブロックデータ1が、12枚のブロックデータ0の各々に対して出力される。
FIG. 3 shows one
ブロックデータ0(BD0n,m)に対応するシフト量(is,js)のブロックデータ1をBD1n,m(is,js)と表す。ブロックデータBD1n,m(is,js)内の水平座標i、垂直座標jにおける画素データをBD1n,m(i,j,is,js)と表す。フレーム1の画像データをFD1とし、フレーム1の画像データFD1内の座標(x,y)における画素データをFD1(x,y)とすれば、ブロックデータ1の画素BD1n,m(i,j,is,js)は式(2)のように表わされる。
<差分絶対値和計算部12>
差分絶対値和計算部12は、入力されたブロックデータ0と、それに対応するシフト量
(is,js)のブロックデータ1と、対応する画素値どうしの差分絶対値を計算し、該ブロック内の全画素にわって差分絶対値の総和を計算する。この総和を差分絶対値和(SAD)という。ブロックデータ0(BD0n,m)と、それに対応するシフト量(is,js)のブロックデータ1(BD1n,m(is,js))と、の差分絶対値和をSADn,m(is,js)と表せば、SADn,m(is,js)は以下の式(3)で表される。
差分絶対値和計算部12は、各ブロックデータ0について、サーチ範囲内のシフト量毎に差分絶対値和を計算する。本実施例の差分絶対値和計算部12は、本発明における「算出手段」に相当する。これにより、各ブロックデータ0について、差分絶対値和の分布が得られる。図4は、本実施例における差分絶対値和の分布例を、シフト量に対応するis−js平面上の各点において高さ方向に差分絶対値和の値をプロットすることによって可視化した図である。
<Absolute Difference
The difference absolute value
The difference absolute value
<動きベクトル検出部13>
差分絶対値和はブロックデータ0とそれに対応するブロックデータ1との相違の度合いを表す。差分絶対値和SADn,m(is,js)の値が小さいほど、ブロックデータBD0n,mとそれに対応するシフト量(is,js)のブロックデータBD1n,m(is,js)との相関は高い。差分絶対値和の分布において差分絶対値和の値が比較的小さくなっている箇所を相関点という。ブロックデータ0の位置からブロックデータ1の位置へのシフト量が、ブロックデータ0の画像とブロックデータ1の画像との間の動きベクトルに一致するとき、ブロックデータ0とブロックデータ1との相関は高くなる。そこで動きベクトル検出部13は、差分絶対値和が最小となるシフト量(is,js)に基づいて動きベクトルを検出する。本実施例では、サーチ範囲内の全てのシフト量(is,js)について差分絶対値和を求め、ブロックデータ0とブロックデータ1との相関度合が最も高くなるシフト量を探索することによりブロックマッチングが行なわれる。本実施例の動きベクトル検出部13が、本発明における「動きベクトル検出手段」に相当する。
<Motion
The sum of absolute differences represents the degree of difference between
例えば、フレーム0の画像とフレーム1の画像との間の動きが、平行移動のような単純な動きの場合には、差分絶対値和の分布は、図4に示すように、鋭いピークを有する分布となり、このピークにおいて差分絶対値和は最小値となる。従って、動きベクトル検出部13は、このピークとなっている差分絶対値和に対応するシフト量(is,js)に基づいて動きベクトルを検出する。
For example, when the motion between the image of
<補間画像生成部15>
補間画像生成部15は、動きベクトル検出部13から入力される動きベクトルに基づいて、フレーム0画像とフレーム1画像からそれらの中間に挿入すべき補間フレームの画像を生成し出力する。補間フレームの画像の生成方法の例を図5に基づいて説明する。図5の例では、動きベクトルを(Vx、Vy)とし、生成すべき補間フレームの画像の画素Pの座標を(x,y)とする。このとき、画素Pは、座標(x,y)に対する相対位置が(−Vx/2、―Vy/2)であるフレーム0の画素A0と、座標(x,y)に対する相対位置が(Vx/2、Vy/2)であるフレーム1画像の画素A1と、の平均値を算出することで生成する。本実施例の補間画像生成部15が、本発明における「生成手段」に相当する。
<Interpolated
The interpolation
<動きベクトルの誤検出(繰り返しパターン)>
ところで、図6の右側の領域のように繰り返しパターンがある画像では、繰り返しパタ
ーンの周期と一致するシフト量においてブロックデータ0とブロックデータ1との相関が高くなる。従って、差分絶対値和の分布において、動きベクトルに一致するシフト量だけでなく、繰り返しパターンの周期に一致するシフト量においても、差分絶対値和が小さい値となる。従って、ブロックマッチングにおいて相関が高くなるシフト量が複数現われる。上述のように、動きベクトル検出部13は、差分絶対値和の値が最小となるシフト量を動きベクトルとして検出する。そのため、繰り返しパターンの周期に対応するシフト量における差分絶対値和が、動きベクトルに対応するシフト量における差分絶対値和より小さい場合、繰り返しパターンの周期に対応するシフト量を動きベクトルとして誤検出してしまう。
<Error detection of motion vectors (repeated pattern)>
By the way, in an image having a repetitive pattern as in the right region of FIG. 6, the correlation between the
繰り返しパターンがある画像における差分絶対値和の分布例を図7に示す。図7において、相関点Aが動きベクトルに対応するシフト量における差分絶対値和を表し、相関点Bが繰り返しパターンの周期に対応するシフト量における差分絶対値和を表す。相関点Aにおける差分絶対値和よりも相関点Bにおける差分絶対値和の方が小さくなっている場合、相関点Bに対応するシフト量が動きベクトルとして検出されることになる。すなわち、繰り返しパターンの周期に対応する、本来の画像の動きとは無関係のシフト量が、動きベクトルとして誤検出される。そして、このように誤検出された動きベクトルに基づいて補間フレームの画像が生成され、生成された補間フレームがフレーム0とフレーム1との間に挿入される。
An example of the distribution of the sum of absolute differences in an image having a repeated pattern is shown in FIG. In FIG. 7, the correlation point A represents the sum of absolute differences in the shift amount corresponding to the motion vector, and the correlation point B represents the sum of absolute differences in the shift amount corresponding to the cycle of the repeated pattern. When the difference absolute value sum at the correlation point B is smaller than the difference absolute value sum at the correlation point A, the shift amount corresponding to the correlation point B is detected as a motion vector. That is, a shift amount that is irrelevant to the original image motion and corresponds to the cycle of the repetitive pattern is erroneously detected as a motion vector. Then, an image of the interpolation frame is generated based on the motion vector erroneously detected in this way, and the generated interpolation frame is inserted between
例えば、相関点Aに対応するシフト量、すなわち本来の動きベクトルが(0,0)、相関点Bに対応するシフト量、すなわち繰り返しパターンの周期が(L,0)であるとすると、動きベクトル検出部13によって検出される動きベクトルは(L,0)となる。従って、補間フレームの画像の各画素は、その座標に対して相対位置(−L/2,0)にあるフレーム0画像の画素と、その座標に対して相対位置(L/2,0)にあるフレーム1画像の画素と、の平均値により生成される。しかしながら、画像の動きに対応する動きベクトルは(0,0)であり、この場合実際には画像に動きは無い。従って、生成された補間フレームがフレーム0とフレーム1との間に挿入されることにより、フレームレート変換後の映像は大きく乱れたものとなってしまう。
For example, assuming that the shift amount corresponding to the correlation point A, that is, the original motion vector is (0, 0), and the shift amount corresponding to the correlation point B, that is, the cycle of the repetitive pattern is (L, 0). The motion vector detected by the
<動きベクトルの誤検出(異なる動きの共存)>
また、図6の左側の領域のように異なる動きが画像内で共存している画像では、それぞれの動きを示す動きベクトルに対応するシフト量において、ブロックデータ0とブロックデータ1との相関が高くなる。従って、差分絶対値和の分布において、それぞれの動きベクトルに対応するシフト量において差分絶対値和が小さい値となる。そのため、ブロックマッチングにおいて相関が高くなるシフト量が複数現われる。そして、差分絶対値和の値が最小となっているシフト量が動きベクトルとして検出されることになる。
<Error detection of motion vectors (coexistence of different motions)>
In addition, in an image in which different motions coexist in the image as in the left area of FIG. 6, the correlation between
図6の左側の領域のように、前景と背景とで動きが異なる画像における差分絶対値和の分布例を図8に示す。図8において、相関点Aが前景の動きベクトルに対応するシフト量における差分絶対値和を表し、相関点Bが背景の動きベクトルに対応するシフト量における差分絶対値和を表す。相関点Aにおける差分絶対値和が相関点Bにおける差分絶対値和より小さい場合、相関点Aに対応するシフト量が動きベクトルとして検出される。そして、この検出された動きベクトルに基づいて補間フレームの画像が生成され、生成された補間フレームがフレーム0とフレーム1との間に挿入される。このようにして生成されたフレームレート変換後の映像は、前景の動きについては滑らかに表示されるものの、背景については大きく乱れたものとなってしまう。
FIG. 8 shows an example of the distribution of the sum of absolute differences in an image in which the motion is different between the foreground and the background as in the left area of FIG. In FIG. 8, correlation point A represents the sum of absolute differences in the shift amount corresponding to the foreground motion vector, and correlation point B represents the sum of absolute differences in the shift amount corresponding to the background motion vector. When the difference absolute value sum at the correlation point A is smaller than the difference absolute value sum at the correlation point B, the shift amount corresponding to the correlation point A is detected as a motion vector. Then, an image of an interpolation frame is generated based on the detected motion vector, and the generated interpolation frame is inserted between
<複数ピーク検出部14>
このように、フレームレート変換により乱れた映像が生成されることを抑制するための
、本実施例の映像信号処理装置に特有の構成について以下説明する。複数ピーク検出部14は、動きベクトル検出部13によって検出される動きベクトルの信頼性を判断し、検出される動きベクトルの信頼性が低いと判断される場合には、検出された動きベクトルに基づく補間フレームの画像生成を抑制する信号を出力する。図9に複数ピーク検出部14の構成図を示す。複数ピーク検出部14は、ピーク検出部16、比較部17、カウント部18、判定部19で構成される。
<Multiple
A configuration unique to the video signal processing apparatus of the present embodiment for suppressing the generation of a distorted video due to frame rate conversion will be described below. The multiple
<ピーク検出部16>
ピーク検出部16は、差分絶対値和計算部12からの差分絶対値和の入力を受けて、差分絶対値和の極小ピークを検出する。ピーク検出部16による差分絶対値和のピークの検出方法の例について図10に基づいて説明する。図10は、あるブロックデータ0について算出された各シフト量における差分絶対値和を、ブロックマッチングのサーチ範囲内の対応する位置に記して可視化した分布図である。サーチ範囲は、本実施例では−24≦is≦+24、−15≦js≦+15だが、図10では簡単のため−5≦is≦+5、−2≦js≦+2の範囲のみを拡大して示している。
<
The
ピーク検出部16は、注目するシフト量における差分絶対値和と、それに隣接する8箇所のシフト量における差分絶対値和とを比較する。そして、注目するシフト量における差分絶対値和が最小であった場合に、その差分絶対値和をピークと判定する。図10に示す例では、2重線で囲まれた3箇所の差分絶対値和10、20及び75がピークと判定される。
The
なお、ピークの判定方法は、差分絶対値和の分布において極小値となっている差分絶対値和(極大相関点という)を検出することができれば、上述した方法に限られない。例えば、注目するシフト量における差分絶対値和が、該シフト量に水平方向又は垂直方向に隣接する4箇所のシフト量における差分絶対値和より小さい場合に、該注目するシフト量における差分絶対値和をピークと判定しても良い。また、注目するシフト量における差分絶対値和が、該シフト量に隣接する8箇所のシフト量及びその外側にある16箇所のシフト量における差分絶対値和より小さい場合に、該注目するシフト量における差分絶対値和をピークと判定しても良い。 Note that the peak determination method is not limited to the above-described method as long as the difference absolute value sum (referred to as a maximum correlation point) that is a minimum value in the distribution of the difference absolute value sum can be detected. For example, if the sum of absolute differences at the shift amount of interest is smaller than the sum of absolute differences of shift amounts at four locations adjacent to the shift amount in the horizontal direction or the vertical direction, the sum of absolute differences at the shift amount of interest May be determined as a peak. Further, when the sum of absolute differences in the target shift amount is smaller than the sum of absolute differences in the eight shift amounts adjacent to the shift amount and the sixteen shift amounts outside the shift amount, The sum of absolute differences may be determined as a peak.
<比較部17>
ブロックマッチングの相関度合が低いシフト量における差分絶対値和であっても、ピーク検出部16によってピークとして検出されることがある。このような相関度合の低いピークは、サーチ範囲内におけるブロックマッチングの相関が低い領域内でランダムに発生し得る。そこで、比較部17は、ピーク検出部16によってピークと判定された差分絶対値和の値を所定の閾値(複数ピーク検出閾値という)と比較し、複数ピーク検出閾値以下のピークを有効なピークと判定する。例えば、複数ピーク検出閾値を50とした場合、図10の例では、検出された3つのピーク(差分絶対値和10、20及び75)のうち、差分絶対値和10及び20の2つのピークが有効なピークと判定される。比較部17により、ピーク検出部16が検出したピークのうちブロックマッチングで一定以上の相関があるピークが抽出される。本実施例の複数ピーク検出閾値は、本発明における「閾値」に相当する。
<
Even the sum of absolute differences at a shift amount with a low correlation degree of block matching may be detected as a peak by the
<カウント部18>
カウント部18では、サーチ範囲内に有効なピークがいくつあったかをカウントする。そして、カウント値が2以上の場合には、動きベクトル検出部13で検出される動きベクトルの信頼性は低いと判定し、それを示す信号を出力する。繰り返しパターンや異なる動きが共存する画像を含むブロックデータの場合、サーチ範囲内に2以上の有効なピークが検出される可能性が高いので、ブロックマッチングによって検出された動きベクトルの信
頼性は低いと判定されることになる。
<
The
<判定部19>
判定部19は、フレーム0の画像を構成する全てのブロックデータのうちに、動きベクトル検出部13によって検出された動きベクトルは信頼性が低いと判定されたブロックデータが所定割合以上あるか否かを判定する。そして、判定部19は、検出された動きベクトルの信頼性が低いと判定されたブロックデータが所定割合以上あった場合、検出された動きベクトルに基づいて補間フレームの画像を生成することを禁止する信号を出力する。
<Determining
The
補間画像生成部15は、判定部19から上記禁止信号を受信した場合は、動きベクトル検出部13が検出した動きベクトルに基づく補間フレームの画像生成をせずに、フレーム0画像又はフレーム1画像を補間フレームの画像として出力する。すなわち、この場合、フレーム0とフレーム1の間に、補間フレームとして、フレーム0画像又はフレーム1画像を挿入することによって、フレームレートを増加させる処理が行なわれる。これにより、ブロックマッチングにより不適切な動きベクトルが検出される可能性が高い画像については、ブロックマッチングで検出された動きベクトルに基づく補間フレームの生成は行なわれない。従って、画像内に繰り返しパターンを含む領域や異なる複数の動きが共存する領域があるような映像信号に対しても、フレームレート変換後の映像に乱れが生じることを抑制しつつ、フレームレート変換処理を行なうことが可能となる。ブロックマッチングのサーチ範囲内に有効なピークが1つしかない場合には、当該ピークに対応するシフト量から検出される動きベクトルはブロックデータ間の画像の動きを正しく示す適切な動きベクトルであると考えられる。従って、この場合、補間画像生成部15は、上述したように、動きベクトル検出部13により検出された動きベクトル、ブロックデータ0及びブロックデータ1に基づいて補間フレームの画像を生成する。
When the interpolated
なお、本実施例では、サーチ範囲内に有効なピークが複数有る場合に、検出される動きベクトルの信頼性は低いと判定する例について説明したが、単にサーチ範囲内にピークが複数有る場合に、検出される動きベクトルの信頼性が低いと判定するようにしても良い。 In this embodiment, the example in which it is determined that the reliability of the detected motion vector is low when there are a plurality of effective peaks in the search range is described. However, when there are a plurality of peaks in the search range. Alternatively, it may be determined that the reliability of the detected motion vector is low.
(実施例2)
図11は、実施例2における複数ピーク検出部14のブロック構成図である。実施例2の複数ピーク検出部14は、ピーク検出部16、比較部17、判定部19、第1最小ピーク値メモリ部20、第2最小ピーク値メモリ部21で構成される。本実施例では、ピーク検出部16で検出したピークのうち差分絶対値和の値が2番目に小さいピークの差分絶対値和の値に基づいて、動きベクトル検出部13で検出した動きベクトルの信頼性を判定する。複数ピーク検出部14以外の構成は実施例1と同じなので説明を割愛し、複数ピーク検出部14についてのみ以下説明する。
本実施例のピーク検出部16、判定部19の動作は実施例1と同じである。
(Example 2)
FIG. 11 is a block diagram of the
The operations of the
<第1最小ピーク値メモリ部20>
第1最小ピーク値メモリ部20は、サーチ範囲内に存在する全てのピークのうち、差分絶対値和が最小のピーク(第1最小ピークという)の差分絶対値和(第1最小差分絶対値和という)を記憶する。ピーク検出部16によるブロック毎のピークの検出が続けられる間、第1最小ピーク値メモリ部20に記憶される差分絶対値和は、既に検出されたピークのうち差分絶対値和が最小のピークの差分絶対値和で更新されていく。ピーク検出部16によるピークの検出が完了した時点で、第1最小ピーク値メモリ部20には、第1最小差分絶対値和が記憶されていることになる。
<First Minimum Peak
The first minimum peak
<第2最小ピーク値メモリ部21>
第2最小ピーク値メモリ部21は、サーチ範囲内に存在する全てのピークのうち、差分
絶対値和が2番目に小さいピーク(第2最小ピークという)の差分絶対値和(第2最小差分絶対値和という)を記憶する。ピーク検出部16によるブロック毎のピークの検出が続けられる間、第2最小ピーク値メモリ部21に記憶される差分絶対値和は、既に検出されたピークのうち差分絶対値和が2番目に小さいピークの差分絶対値和で更新されていく。ピーク検出部16によるピークの検出が完了した時点で、第2最小ピーク値メモリ部21には、第2最小差分絶対値和が記憶されていることになる。
<Second Minimum Peak
The second minimum peak
具体的な処理フローを説明する。ピーク検出部16によって新たなピークが検出されると、該ピークの差分絶対値和SADnewが第1最小ピーク値メモリ部20及び第2最小ピーク値メモリ部21に入力される。そして、入力された差分絶対値和SADnewと、第1最小ピーク値メモリ部20に記憶されている差分絶対値和SADmin1と、第2最小ピーク値メモリ部21に記憶されている差分絶対値和SADmin2と、の比較が行なわれる。
(イ)入力された値が第1最小ピーク値メモリ部20の値よりも小さい場合(SADnew<SADmin1)、第2最小ピーク値メモリ部21の値が、第1最小ピーク値メモリ部20の値SADmin1で更新される。また、第1最小ピーク値メモリ部20の値が、入力された値SADnewで更新される。
(ロ)入力された値が第1最小ピーク値メモリ部20の値以上で、且つ第2最小ピーク値メモリ部21の値よりも小さい場合(SADmin1≦SADnew<SADmin2)、第2最小ピーク値メモリ部21の値が、入力された値SADnewで更新される。
A specific processing flow will be described. When a new peak is detected by the
(A) When the input value is smaller than the value of the first minimum peak value memory unit 20 (SAD new <SAD min1 ), the value of the second minimum peak
(B) When the input value is equal to or larger than the value of the first minimum peak
このような処理フローを繰り返すことにより、あるブロックについてピーク検出部16によるピークの検出が完了した時点で、第1最小差分絶対値和と第2最小差分絶対値和が得られる。図10の例では、第1最小差分絶対値和は10、第2最小差分絶対値和は20となる。
By repeating such a processing flow, the first minimum difference absolute value sum and the second minimum difference absolute value sum are obtained when the peak detection by the
<比較部17>
比較部17は、第2最小差分絶対値和を複数ピーク検出閾値と比較し、複数ピーク検出閾値以下であった場合に、動きベクトル検出部13で検出される動きベクトルの信頼性は低いと判定し、それを示す信号を出力する。図10の例では、第2最小差分絶対値和は20であり、複数ピーク検出閾値を実施例1と同様50とすれば、図10のブロックについては動きベクトル検出部13で検出される動きベクトルは信頼性が低いと判定されることになる。
なお、第2最小ピークが無かった場合には、サーチ範囲内にピークが1つしか存在しないことを意味する。従ってこの場合、比較部17は、動きベクトル検出部13によって検出される動きベクトルは信頼できると判定する。また、第1最小ピークが無かった場合は、サーチ範囲の端に差分絶対値和の最小点があることになり、それはサーチ範囲内にピークが存在しないことを意味する。従ってこの場合、比較部17は、動きベクトル検出部13によって検出される動きベクトルの信頼性は低いと判定する。
<
The
When there is no second minimum peak, it means that there is only one peak in the search range. Therefore, in this case, the
実施例2の構成によれば、不適切な動きベクトルが誤検出される可能性が高い画像については、ブロックマッチングで検出された動きベクトルに基づく補間フレームの生成は行なわれない。従って、そのような画像を含む映像信号に対して、2つのフレームの間に補間フレームを挿入するフレームレート変換処理を行なっても、変換後の映像に乱れが生じることを精度良く抑制することが可能となる。 According to the configuration of the second embodiment, an interpolated frame is not generated based on a motion vector detected by block matching for an image in which an inappropriate motion vector is likely to be erroneously detected. Therefore, even if a frame rate conversion process for inserting an interpolated frame between two frames is performed on a video signal including such an image, it is possible to accurately suppress the occurrence of disturbance in the converted video. It becomes possible.
(実施例3)
実施例1及び実施例2では、複数ピーク検出閾値を固定値として比較部17に入力する例を説明したが、画像により差分絶対値和のピークにおける値は異なる。例えばノイズの多い画像では、ノイズの影響でブロックマッチングの相関が全体的に低くなるため、差分
絶対値和の分布は鈍いピークを有する分布になり、ピークにおける差分絶対値和の値は平均値に近くなる。そこで実施例3では、画像に応じて複数ピーク検出閾値を適応的に設定する。複数ピーク検出部14以外の構成は実施例1と同じなので説明を割愛し、複数ピーク検出部14についてのみ以下説明する。
図12は、実施例3における複数ピーク検出部14のブロック構成図である。実施例3の複数ピーク検出部14は、実施例2における複数ピーク検出部14の構成に、閾値算出部22を追加して構成される。閾値算出部22は、第1最小ピーク値メモリ部20から第1最小差分絶対値和の入力を受け、以下の式(4)の計算式によって複数ピーク検出閾値を計算する。
複数ピーク検出閾値=第1最小差分絶対値和+α(αは固定定数)・・・(4)
本実施例における閾値算出部22は、本発明における設定手段に相当する。
(Example 3)
In the first embodiment and the second embodiment, an example in which a plurality of peak detection threshold values are input to the
FIG. 12 is a block diagram of the
Multiple peak detection threshold = first minimum difference absolute value sum + α (α is a fixed constant) (4)
The threshold
比較部17は、第2最小差分絶対値和を閾値算出部22により算出された複数ピーク検出閾値と比較し、複数ピーク検出閾値以下であった場合に、動きベクトル検出部13で検出される動きベクトルの信頼性は低いと判定し、それを示す信号を出力する。
実施例3の構成によれば、入力信号のフレーム0の画像とフレーム1の画像との全体的な相関の度合いに応じて複数ピーク検出閾値を適応的に設定できるので、動きベクトルの信頼性をより精度良く判定することができる。従って、不適切な動きベクトルに基づく補間フレームの画像生成が行なわれることを抑制し、フレームレート変換後の映像に乱れが生じることを抑制することが可能となる。
The
According to the configuration of the third embodiment, the multi-peak detection threshold value can be adaptively set according to the overall degree of correlation between the image of
(実施例4)
実施例3の様に2つのフレームの全体的な相関度合に対して適応的に複数ピーク検出閾値を設定する方法として、サーチ範囲内の最大の差分絶対値和(最大差分絶対値和という)に応じて複数ピーク検出閾値を設定しても良い。
Example 4
As a method of adaptively setting a plurality of peak detection thresholds for the overall degree of correlation between two frames as in the third embodiment, the maximum absolute difference sum (referred to as the maximum absolute difference sum) within the search range is used. A plurality of peak detection thresholds may be set accordingly.
図13は、実施例4における複数ピーク検出部14のブロック構成図である。実施例4の複数ピーク検出部14は、実施例3における複数ピーク検出部14の構成に、最大値メモリ部23を追加して構成される。
最大値メモリ部23は、ブロック毎のブロックマッチングにおいて差分絶対値和の算出が続けられる間、既に算出された差分絶対値和のうち最大の値を記憶する。具体的な処理フローは、新たに入力された差分絶対値和の値が最大値メモリ部23に記憶されている値より大きい場合、入力された差分絶対値和によって最大値メモリ部23の値を更新する。
閾値算出部22は、最大値メモリ部23からの最大差分絶対値和の入力及び第1最小ピーク値メモリ部20からの第1最小差分絶対値和の入力を受け、以下の式(5)の計算式によって複数ピーク検出閾値を計算する。
複数ピーク検出閾値=第1最小差分絶対値和+(最大差分絶対値和−第1最小差分絶対値和)×α(αは0<α<1の値)・・・(5)
本実施例における閾値算出部22は、本発明における設定手段に相当する。
FIG. 13 is a block diagram of the
The maximum
The threshold
Multiple peak detection threshold = first minimum difference absolute value sum + (maximum difference absolute value sum−first minimum difference absolute value sum) × α (α is a value of 0 <α <1) (5)
The threshold
比較部17は、第2最小差分絶対値和を閾値算出部22により算出された複数ピーク検出閾値と比較し、複数ピーク検出閾値以下であった場合に、動きベクトル検出部13で検出される動きベクトルの信頼性は低いと判定し、それを示す信号を出力する。
実施例4の構成によれば、入力信号のフレーム0の画像とフレーム1の画像との全体的な相関の度合いに応じて複数ピーク検出閾値を適応的に設定できるので、動きベクトルの信頼性をより精度良く判定することができる。従って、不適切な動きベクトルに基づく補間フレームの画像生成が行なわれることを抑制し、フレームレート変換後の映像に乱れが生じることを抑制することが可能となる。
The
According to the configuration of the fourth embodiment, the multiple peak detection threshold can be adaptively set according to the overall degree of correlation between the
(実施例5)
実施例3の様に2つのフレームの全体的な相関度合に応じて適応的に複数ピーク検出閾値を設定する方法として、サーチ範囲内の差分絶対値和の平均値(差分絶対値和平均という)に応じて複数ピーク検出閾値を設定しても良い。
(Example 5)
As a method of adaptively setting a plurality of peak detection threshold values according to the overall degree of correlation between two frames as in the third embodiment, the average value of the sum of absolute differences within the search range (referred to as the sum of absolute differences) A plurality of peak detection thresholds may be set according to the above.
図14は、実施例5における複数ピーク検出部14のブロック構成図である。実施例5の複数ピーク検出部14は、実施例3における複数ピーク検出部14の構成に、平均値算出部24を追加して構成される。
平均値算出部24は、サーチ範囲内の差分絶対値和の平均値を算出し出力する。
閾値算出部22は、平均値算出部24からの差分絶対値和平均の入力及び第1最小ピーク値メモリ部20からの第1最小差分絶対値和の入力を受け、以下の式(6)の計算式によって複数ピーク検出閾値を計算する。
複数ピーク検出閾値=第1最小差分絶対値和+(差分絶対値和平均−第1最小差分絶対値和)×α(αは0<α<1の値)・・・(6)
本実施例における閾値算出部22は、本発明における設定手段に相当する。
FIG. 14 is a block diagram of the
The average
The threshold
Multiple peak detection threshold = first minimum difference absolute value sum + (difference absolute value sum average−first minimum difference absolute value sum) × α (α is a value of 0 <α <1) (6)
The threshold
比較部17は、第2最小差分絶対値和を閾値算出部22により算出された複数ピーク検出閾値と比較し、複数ピーク検出閾値以下であった場合に、動きベクトル検出部13で検出される動きベクトルの信頼性は低いと判定し、それを示す信号を出力する。
実施例5の構成によれば、入力信号のフレーム0の画像とフレーム1の画像との全体的な相関の度合いに応じて複数ピーク検出閾値を適応的に設定できるので、動きベクトルの信頼性をより精度良く判定することができる。従って、不適切な動きベクトルに基づく補間フレームの画像生成が行なわれることを抑制し、フレームレート変換後の映像に乱れが生じることを抑制することが可能となる。
The
According to the configuration of the fifth embodiment, the multi-peak detection threshold value can be adaptively set according to the overall degree of correlation between the
10:ブロックバッファ、11:ブロックバッファ、12:差分絶対値和計算部、13:動きベクトル検出部、14:複数ピーク検出部、15:補間画像生成部 10: block buffer, 11: block buffer, 12: absolute difference sum calculator, 13: motion vector detector, 14: multiple peak detector, 15: interpolated image generator
Claims (10)
前記2つのフレームのうちの前フレームの画像を分割して得られるブロックと、該ブロックの位置に対して所定のサーチ範囲内のシフト量で表される相対位置にある後フレームのブロックと、の対応する画素値どうしの差分絶対値の総和である差分絶対値和を、該サーチ範囲内のシフト量毎に算出する算出手段と、
前記算出手段により算出される差分絶対値和が極小となる前記サーチ範囲内のシフト量に基づいて、前記前フレームのブロックと前記後フレームのブロックとの間の画像の動きを表す動きベクトルを検出する動きベクトル検出手段と、
前記算出手段により算出される差分絶対値和が極小となるシフト量が前記サーチ範囲内に複数あり、差分絶対値和の複数の極小値のうち前記サーチ範囲内で2番目に小さい極小値が所定の閾値以下である場合に、前記動きベクトル検出手段により検出される前記動きベクトルは信頼性が低いと判定する判定手段と、
前記判定手段による判定結果に基づいて前記補間フレームの画像を生成する生成手段と、
を備えることを特徴とする映像信号処理装置。 A video signal processing apparatus that generates an image of an interpolation frame to be inserted between two consecutive frames of an input video signal,
A block obtained by dividing an image of a previous frame of the two frames, and a block of a subsequent frame at a relative position represented by a shift amount within a predetermined search range with respect to the position of the block; A calculating means for calculating a sum of absolute differences that is a sum of absolute differences between corresponding pixel values for each shift amount in the search range;
Based on the shift amount within the search range where the sum of absolute differences calculated by the calculating means is minimized, a motion vector representing the motion of the image between the block of the previous frame and the block of the subsequent frame is detected. Motion vector detecting means for performing,
There are a plurality of shift amounts within the search range where the sum of absolute differences calculated by the calculating means is a minimum, and the second minimum value within the search range is predetermined among the plurality of minimum values of the sum of absolute differences. A determination unit that determines that the motion vector detected by the motion vector detection unit is low in reliability when the threshold is less than or equal to
Generating means for generating an image of the interpolated frame based on a determination result by the determining means;
A video signal processing apparatus comprising:
閾値=最小値+固定値
により求められる値に設定する設定手段を更に備えることを特徴とする請求項1又は2に記載の映像信号処理装置。 A value obtained from the minimum value within the search range of the minimum value of the sum of absolute differences calculated by the calculating means and a predetermined fixed value as a threshold value = minimum value + fixed value The video signal processing apparatus according to claim 1, further comprising a setting unit configured to set to
閾値=最小値+(最大値−最小値)×α(αは0<α<1の値)
により求められる値に設定する設定手段を更に備えることを特徴とする請求項1又は2に記載の映像信号処理装置。 Based on the maximum value within the search range of the difference absolute value sum calculated by the calculation means and the minimum value within the search range of the minimum value of the difference absolute value sum calculated by the calculation means The threshold is threshold = minimum value + (maximum value−minimum value) × α (α is a value of 0 <α <1).
3. The video signal processing apparatus according to claim 1, further comprising setting means for setting to a value obtained by the above.
閾値=最小値+(平均値−最小値)×α(αは0<α<1の値)
により求められる値に設定する設定手段を更に備えることを特徴とする請求項1又は2に記載の映像信号処理装置。 Based on an average value in the search range of the sum of absolute differences calculated by the calculation means and a minimum value in the search range of a minimum value of the sum of absolute differences calculated by the calculation means The threshold is threshold = minimum value + (average value−minimum value) × α (α is a value of 0 <α <1).
3. The video signal processing apparatus according to claim 1, further comprising setting means for setting to a value obtained by the above.
映像信号を入力する工程と、
前記入力される映像信号の連続する2つのフレームのうちの前フレームの画像を分割して得られるブロックと、該ブロックの位置に対して所定のサーチ範囲内のシフト量で表される相対位置にある後フレームのブロックと、の対応する画素値どうしの差分絶対値の総和である差分絶対値和を、該サーチ範囲内のシフト量毎に算出する算出工程と、
前記算出工程により算出される差分絶対値和が極小となる前記サーチ範囲内のシフト量に基づいて、前記前フレームのブロックと前記後フレームのブロックとの間の画像の動きを表す動きベクトルを検出する動きベクトル検出工程と、
前記算出工程により算出される差分絶対値和が極小となるシフト量が前記サーチ範囲内に複数あり、差分絶対値和の複数の極小値のうち前記サーチ範囲内で2番目に小さい極小値が所定の閾値以下である場合に、前記動きベクトル検出工程により検出される前記動きベクトルは信頼性が低いと判定する判定工程と、
前記判定工程による判定結果に基づいて前記補間フレームの画像を生成する生成工程と、
を有することを特徴とする映像信号処理方法。 A video signal processing method for generating an image of an interpolation frame to be inserted between two consecutive frames of an input video signal,
A step of inputting a video signal;
A block obtained by dividing an image of a previous frame of two consecutive frames of the input video signal, and a relative position represented by a shift amount within a predetermined search range with respect to the position of the block A calculation step of calculating a difference absolute value sum that is a sum of absolute difference values of corresponding pixel values of a block in a certain subsequent frame for each shift amount in the search range;
Based on the shift amount within the search range in which the sum of absolute differences calculated by the calculation step is minimized, a motion vector representing the motion of the image between the block of the previous frame and the block of the subsequent frame is detected. A motion vector detection step to perform,
There are a plurality of shift amounts within the search range where the sum of absolute differences calculated by the calculation step is a minimum, and the second minimum value within the search range is predetermined among the plurality of minimum values of the sum of absolute differences. A determination step of determining that the motion vector detected by the motion vector detection step is low in reliability when the threshold value is less than or equal to
A generation step of generating an image of the interpolation frame based on a determination result by the determination step;
A video signal processing method comprising:
閾値=最小値+固定値
により求められる値に設定する設定工程を更に有することを特徴とする請求項6又は7に記載の映像信号処理方法。 A value obtained by the threshold value = minimum value + fixed value based on the minimum value within the search range of the minimum value of the sum of absolute differences calculated by the calculating step and a predetermined fixed value. The video signal processing method according to claim 6, further comprising a setting step of setting to.
閾値=最小値+(最大値−最小値)×α(αは0<α<1の値)
により求められる値に設定する設定工程を更に有することを特徴とする請求項6又は7に記載の映像信号処理方法。 Based on the maximum value within the search range of the difference absolute value sum calculated by the calculation step and the minimum value within the search range of the minimum value of the difference absolute value sum calculated by the calculation step The threshold is threshold = minimum value + (maximum value−minimum value) × α (α is a value of 0 <α <1).
The video signal processing method according to claim 6 or 7, further comprising a setting step of setting to a value obtained by the above.
閾値=最小値+(平均値−最小値)×α(αは0<α<1の値)
により求められる値に設定する設定工程を更に有することを特徴とする請求項6又は7に記載の映像信号処理方法。 Based on the average value within the search range of the difference absolute value sum calculated by the calculation step, and the minimum value within the search range of the minimum value of the difference absolute value sum calculated by the calculation step The threshold is threshold = minimum value + (average value−minimum value) × α (α is a value of 0 <α <1).
The video signal processing method according to claim 6 or 7, further comprising a setting step of setting to a value obtained by the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009182350A JP5441555B2 (en) | 2009-08-05 | 2009-08-05 | Video signal processing apparatus and video signal processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009182350A JP5441555B2 (en) | 2009-08-05 | 2009-08-05 | Video signal processing apparatus and video signal processing method |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2011035814A JP2011035814A (en) | 2011-02-17 |
JP2011035814A5 JP2011035814A5 (en) | 2012-09-20 |
JP5441555B2 true JP5441555B2 (en) | 2014-03-12 |
Family
ID=43764402
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009182350A Expired - Fee Related JP5441555B2 (en) | 2009-08-05 | 2009-08-05 | Video signal processing apparatus and video signal processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5441555B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6037224B2 (en) * | 2012-01-11 | 2016-12-07 | パナソニックIpマネジメント株式会社 | Image processing apparatus, imaging apparatus, and program |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4869049B2 (en) * | 2006-12-08 | 2012-02-01 | 株式会社東芝 | Interpolated frame image creation method and interpolated frame image creation apparatus |
JP2008171247A (en) * | 2007-01-12 | 2008-07-24 | Sony Corp | Motion detecting device, method and program |
JP4309453B2 (en) * | 2007-12-26 | 2009-08-05 | 株式会社東芝 | Interpolated frame generating apparatus, interpolated frame generating method, and broadcast receiving apparatus |
-
2009
- 2009-08-05 JP JP2009182350A patent/JP5441555B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2011035814A (en) | 2011-02-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4869045B2 (en) | Interpolation frame creation method and interpolation frame creation apparatus | |
CN101946507B (en) | Video display apparatus | |
JP4869049B2 (en) | Interpolated frame image creation method and interpolated frame image creation apparatus | |
EP2180695B1 (en) | Apparatus and method for improving frame rate using motion trajectory | |
US20110115790A1 (en) | Apparatus and method for converting 2d image signals into 3d image signals | |
JP2004312680A (en) | Motion estimation apparatus and method for detecting scrolling text or graphic data | |
KR20070063304A (en) | Motion estimator and motion estimating method | |
JP5887764B2 (en) | Motion compensation frame generation apparatus and method | |
JP2011141710A (en) | Device, method and program for estimating depth | |
US8817869B2 (en) | Image processing device and method, and image display device and method | |
JP4873765B2 (en) | Video signal processing apparatus and video signal processing method | |
JP4385077B1 (en) | Motion vector detection device and image processing device | |
JP5441555B2 (en) | Video signal processing apparatus and video signal processing method | |
JP2012095048A (en) | Image processor, image processing method, image display device, and image display method | |
JP4525064B2 (en) | Motion vector detection apparatus, motion vector detection method, and computer program | |
US20220270267A1 (en) | System and method for occlusion detection in frame rate up-conversion of video data | |
JP5737072B2 (en) | Motion compensation frame generation apparatus and method | |
US8331676B2 (en) | Image processing apparatus and method, and program | |
JP4289170B2 (en) | Noise amount measuring apparatus and video receiver | |
JP2006215657A (en) | Method, apparatus, program and program storage medium for detecting motion vector | |
JP2006332950A (en) | Device for interpolated image generation by bidirectional moving vector, and program | |
JP4207764B2 (en) | Motion vector detection apparatus, motion vector detection method, and computer program | |
JP2007018269A (en) | Movement probability calculation method in video, movement probability map calculation method in video, change detection method, and program | |
JP5887763B2 (en) | Motion compensation frame generation apparatus and method | |
US11533451B2 (en) | System and method for frame rate up-conversion of video data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120803 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120803 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130408 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130507 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130704 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130723 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130913 |
|
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: 20131119 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20131217 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5441555 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
LAPS | Cancellation because of no payment of annual fees |