JP5441555B2 - Video signal processing apparatus and video signal processing method - Google Patents

Video signal processing apparatus and video signal processing method Download PDF

Info

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
Application number
JP2009182350A
Other languages
Japanese (ja)
Other versions
JP2011035814A5 (en
JP2011035814A (en
Inventor
卓士 木村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2009182350A priority Critical patent/JP5441555B2/en
Publication of JP2011035814A publication Critical patent/JP2011035814A/en
Publication of JP2011035814A5 publication Critical patent/JP2011035814A5/ja
Application granted granted Critical
Publication of JP5441555B2 publication Critical patent/JP5441555B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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 Patent Document 1, the second maximum correlation point is detected from a portion excluding the periphery of the first maximum correlation point of block matching, and the second maximum correlation point is not in contact with the excluded portion. A technique for determining the reliability of a detected motion vector is described. In Patent Document 2, the search range for block matching is divided into several regions, the maximum correlation point is detected for each region, and the reliability of the detected vector is determined based on the correlation value of each of these correlation points. Techniques for judging sex are described.

特開平07−050815号公報Japanese Patent Laid-Open No. 07-050815 特開2008−035404号公報JP 2008-035404 A

特許文献1に記載された技術では、第1最大相関点の周囲に第1最大相関点と同程度に高い相関点がある場合には、検出された動きベクトルの信頼性は低いと判定されない場合があった。また、特許文献2に記載された技術では、分割したサーチ範囲の同一領域内に前景の動きベクトルと背景の動きベクトルの最大相関点があった場合に、検出された動きベクトルの信頼性は低いと判定されない場合があった。そのため、不適切な動きベクトルに基づいて補間フレームが生成され、生成された補間フレームを用いてフレーム数変換処
理が行なわれることにより、出力映像に乱れが生じる場合があった。
In the technique described in Patent Document 1, when there is a correlation point as high as the first maximum correlation point around the first maximum correlation point, the reliability of the detected motion vector is not determined to be low. was there. Further, in the technique described in Patent Document 2, when the maximum correlation point between the foreground motion vector and the background motion vector is in the same region of the divided search range, the reliability of the detected motion vector is low. Sometimes it was not judged. For this reason, an interpolation frame is generated based on an inappropriate motion vector, and a frame number conversion process is performed using the generated interpolation frame, so that the output video may be disturbed.

本発明は、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 is a block diagram illustrating a schematic configuration of a frame rate conversion apparatus according to a first embodiment. フレーム0の画像のブロック分割の例を説明する図The figure explaining the example of the block division of the image of the frame 0 ブロックマッチングの動きベクトルのサーチ範囲の例を示す図The figure which shows the example of the search range of the motion vector of block matching 差分絶対値和の分布の例を示す図The figure which shows the example of distribution of the difference absolute value sum 動きベクトルに基づく補間フレーム画像の生成方法の例を示す図The figure which shows the example of the production | generation method of the interpolation frame image based on a motion vector 不適切な動きベクトルが検出されやすい画像の例Examples of images where inappropriate motion vectors are easily detected 差分絶対値和の分布の例を示す図The figure which shows the example of distribution of the difference absolute value sum 差分絶対値和の分布の例を示す図The figure which shows the example of distribution of the difference absolute value sum 実施例1における複数ピーク検出部の構成を示すブロック図The block diagram which shows the structure of the multiple peak detection part in Example 1. FIG. 差分絶対値和のピークの検出方法の例を示す図The figure which shows the example of the detection method of the peak of difference absolute value sum 実施例2における複数ピーク検出部の構成を示すブロック図The block diagram which shows the structure of the multiple peak detection part in Example 2. FIG. 実施例3における複数ピーク検出部の構成を示すブロック図The block diagram which shows the structure of the multiple peak detection part in Example 3. 実施例4における複数ピーク検出部の構成を示すブロック図The block diagram which shows the structure of the multiple peak detection part in Example 4. FIG. 実施例5における複数ピーク検出部の構成を示すブロック図The block diagram which shows the structure of the multiple peak detection part in Example 5. FIG.

(実施例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 rate conversion apparatus 1 according to the present embodiment includes a block buffer 10, a block buffer 11, a difference absolute value sum calculation unit 12, a motion vector detection unit 13, a multiple peak detection unit 14, and an interpolation image generation. The unit 15 is configured. The frame rate conversion apparatus 1 receives two consecutive frame images, detects a motion vector from the two frame images, and inserts the motion vector between the previous frame and the subsequent frame based on the motion vector. Generate and output an interpolated frame image. For example, a frame memory is provided in the previous stage of the frame rate conversion apparatus 1, and an image of the previous frame held in the frame memory is input to the block buffer 10.

<ブロックバッファ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)のように表わされる。

Figure 0005441555
<Block buffer 10>
The block buffer 10 cuts out an image in a specific area of the image of the previous frame (referred to as frame 0) from two consecutive frames, and outputs it as block data 0. Hereinafter, as shown in FIG. 2, an example in which an image of frame 0 of 128 dots × 96 dots is divided into 12 rectangular blocks of 32 dots × 32 dots and each block is output as block data 0 will be described as an example. To do. As will be described later, each block data 0 is an image serving as a unit for detecting a motion vector. Hereinafter, block data 0 (hereinafter also referred to as BD0) output from the block buffer 10 is represented by BD0 using block numbers (n, m) (n = 0-3, m = 0-2) shown in FIG. n, m . The pixel data at the horizontal coordinate i and the vertical coordinate j in the block data BD0 n, m is represented as BD0 n, m (i, j). If the image data of frame 0 is FD0 and the pixel data at coordinates (x, y) in the image data FD0 of frame 0 is represented as FD0 (x, y), the pixel at coordinates (i, j) in block data 0 Data BD0 n, m (i, j) is expressed as shown in equation (1).
Figure 0005441555

<ブロックバッファ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が出力される。
<Block buffer 11>
The block buffer 11 cuts out a block having the same shape as the block data 0 from the image of the subsequent frame (referred to as frame 1) of the two consecutive frames, and outputs it as block data 1. The position where the block data 1 is cut out from the image of the frame 1 is a position where the relative position with respect to the position where the block data 0 is cut out from the frame image 0 is represented by a shift amount within a predetermined range (referred to as a search range). The block data 1 is cut out from the image of the frame 1 for all shift amounts within the search range and sequentially output. The search range is determined according to the magnitude of the motion vector to be detected. For example, when the size of the motion vector to be detected is horizontal ± 24 dots and vertical ± 15 dots, the search range is defined as horizontal ± 24 dots and vertical ± 15 dots. Then, at the position where the relative position to the position where the block data 0 is cut out in the frame 0 image is represented by a shift amount within a range of ± 24 dots in the horizontal direction and ± 15 dots in the vertical direction, Block data 1 is cut out. If the block data 0 is at a position close to the edge of the image of the frame 0, the position where the corresponding block data 1 should be cut out may protrude from the frame 1, but the value of the protruding pixel is, for example, a predetermined fixed value. And In this case, the number of possible combinations of horizontal and vertical shift amounts is 1440, and 1440 pieces of block data 1 are output corresponding to one block data 0.

図3に、1つのブロックデータ0と、それに対応して出力されるブロックデータ1の存在範囲と、を示す。図3において中央に描かれた1枚のブロックデータ0に対して、外側の実線で囲まれる範囲内で水平方向又は垂直方向が1ドットずつ位置がずれた1440枚のブロックデータ1が出力される。このようなブロックデータ1が、12枚のブロックデータ0の各々に対して出力される。   FIG. 3 shows one block data 0 and the existence range of block data 1 output corresponding thereto. In relation to one block data 0 drawn in the center in FIG. 3, 1440 pieces of block data 1 whose positions are shifted by one dot in the horizontal or vertical direction within the range surrounded by the outer solid line are output. . Such block data 1 is output for each of the 12 pieces of block data 0.

ブロックデータ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)のように表わされる。

Figure 0005441555
Block data 1 having a shift amount (is, js) corresponding to block data 0 (BD0 n, m ) is represented as BD1 n, m (is, js). The pixel data at the horizontal coordinate i and the vertical coordinate j in the block data BD1 n, m (is, js) is represented as BD1 n, m (i, j, is, js). If the image data of frame 1 is FD1, and the pixel data at coordinates (x, y) in the image data FD1 of frame 1 is FD1 (x, y), the pixel BD1 n, m (i, j) of block data 1 , Is, js) is expressed as in equation (2).
Figure 0005441555

<差分絶対値和計算部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)で表される。

Figure 0005441555
差分絶対値和計算部12は、各ブロックデータ0について、サーチ範囲内のシフト量毎に差分絶対値和を計算する。本実施例の差分絶対値和計算部12は、本発明における「算出手段」に相当する。これにより、各ブロックデータ0について、差分絶対値和の分布が得られる。図4は、本実施例における差分絶対値和の分布例を、シフト量に対応するis−js平面上の各点において高さ方向に差分絶対値和の値をプロットすることによって可視化した図である。 <Absolute Difference Sum Calculation Unit 12>
The difference absolute value sum calculation unit 12 calculates the absolute value of the difference between the input block data 0, the block data 1 of the corresponding shift amount (is, js), and the corresponding pixel value, The sum of absolute differences is calculated over all pixels. This sum is called a difference absolute value sum (SAD). The sum of absolute differences between the block data 0 (BD0 n, m ) and the block data 1 (BD1 n, m (is, js)) of the corresponding shift amount (is, js) is SAD n, m (is , Js), SAD n, m (is, js) is expressed by the following equation (3).
Figure 0005441555
The difference absolute value sum calculation unit 12 calculates the difference absolute value sum for each block data 0 for each shift amount within the search range. The difference absolute value sum calculation unit 12 of this embodiment corresponds to a “calculation unit” in the present invention. Thereby, the distribution of the sum of absolute differences is obtained for each block data 0. FIG. 4 is a diagram visualized by plotting the value of the sum of absolute differences in the height direction at each point on the is-js plane corresponding to the shift amount in the distribution example of the sum of absolute differences in this embodiment. is there.

<動きベクトル検出部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 vector detection unit 13>
The sum of absolute differences represents the degree of difference between block data 0 and block data 1 corresponding thereto. As the value of the sum of absolute differences SAD n, m (is, js) is smaller, the block data BD0 n, m and the block data BD1 n, m (is, js) of the corresponding shift amount (is, js) The correlation is high. A location where the value of the sum of absolute differences is relatively small in the distribution of sum of absolute differences is referred to as a correlation point. When the amount of shift from the position of block data 0 to the position of block data 1 matches the motion vector between the image of block data 0 and the image of block data 1, the correlation between block data 0 and block data 1 is Get higher. Therefore, the motion vector detection unit 13 detects a motion vector based on the shift amount (is, js) that minimizes the sum of absolute differences. In this embodiment, the sum of absolute differences is obtained for all shift amounts (is, js) within the search range, and block matching is performed by searching for the shift amount with the highest degree of correlation between block data 0 and block data 1. Is done. The motion vector detection unit 13 of the present embodiment corresponds to “motion vector detection means” in the present invention.

例えば、フレーム0の画像とフレーム1の画像との間の動きが、平行移動のような単純な動きの場合には、差分絶対値和の分布は、図4に示すように、鋭いピークを有する分布となり、このピークにおいて差分絶対値和は最小値となる。従って、動きベクトル検出部13は、このピークとなっている差分絶対値和に対応するシフト量(is,js)に基づいて動きベクトルを検出する。   For example, when the motion between the image of frame 0 and the image of frame 1 is a simple motion such as translation, the distribution of the sum of absolute differences has a sharp peak as shown in FIG. The distribution is a distribution, and the sum of absolute differences is the minimum value at this peak. Accordingly, the motion vector detection unit 13 detects a motion vector based on the shift amount (is, js) corresponding to the peak difference absolute value sum.

<補間画像生成部15>
補間画像生成部15は、動きベクトル検出部13から入力される動きベクトルに基づいて、フレーム0画像とフレーム1画像からそれらの中間に挿入すべき補間フレームの画像を生成し出力する。補間フレームの画像の生成方法の例を図5に基づいて説明する。図5の例では、動きベクトルを(Vx、Vy)とし、生成すべき補間フレームの画像の画素Pの座標を(x,y)とする。このとき、画素Pは、座標(x,y)に対する相対位置が(−Vx/2、―Vy/2)であるフレーム0の画素Aと、座標(x,y)に対する相対位置が(Vx/2、Vy/2)であるフレーム1画像の画素Aと、の平均値を算出することで生成する。本実施例の補間画像生成部15が、本発明における「生成手段」に相当する。
<Interpolated image generation unit 15>
The interpolation image generation unit 15 generates and outputs an image of an interpolation frame to be inserted between the frame 0 image and the frame 1 image based on the motion vector input from the motion vector detection unit 13. An example of an interpolation frame image generation method will be described with reference to FIG. In the example of FIG. 5, the motion vector is (Vx, Vy), and the coordinates of the pixel P of the image of the interpolation frame to be generated are (x, y). At this time, the pixel P has a relative position with respect to the coordinate (x, y) and the relative position with respect to the coordinate (x, y) and the pixel A 0 of the frame 0 whose relative position is (−Vx / 2, −Vy / 2). / 2, Vy / 2) and calculating the average value of the pixel A 1 of the frame 1 image. The interpolated image generation unit 15 of the present embodiment corresponds to “generation means” in the present invention.

<動きベクトルの誤検出(繰り返しパターン)>
ところで、図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 block data 0 and the block data 1 becomes high at a shift amount that matches the period of the repetitive pattern. Therefore, in the difference absolute value sum distribution, the difference absolute value sum is small not only in the shift amount that matches the motion vector but also in the shift amount that matches the cycle of the repetitive pattern. Therefore, a plurality of shift amounts with high correlation appear in block matching. As described above, the motion vector detection unit 13 detects a shift amount that minimizes the sum of the absolute differences as a motion vector. Therefore, if the sum of absolute differences in the shift amount corresponding to the repetition pattern period is smaller than the sum of absolute differences in the shift amount corresponding to the motion vector, the shift amount corresponding to the repetition pattern period is erroneously detected as a motion vector. End up.

繰り返しパターンがある画像における差分絶対値和の分布例を図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 frame 0 and frame 1.

例えば、相関点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 detection unit 13 is (L, 0). Therefore, each pixel of the image of the interpolation frame is in the relative position (L / 2, 0) with respect to the pixel of the frame 0 image in the relative position (-L / 2, 0) with respect to the coordinate. It is generated by the average value of pixels of a certain frame 1 image. However, the motion vector corresponding to the motion of the image is (0, 0). In this case, there is actually no motion in the image. Therefore, when the generated interpolated frame is inserted between the frame 0 and the frame 1, the video after the frame rate conversion is greatly disturbed.

<動きベクトルの誤検出(異なる動きの共存)>
また、図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 block data 0 and block data 1 is high in the shift amount corresponding to the motion vector indicating each motion. Become. Therefore, in the distribution of the sum of absolute differences, the sum of absolute differences becomes a small value in the shift amount corresponding to each motion vector. For this reason, a plurality of shift amounts with high correlation appear in block matching. Then, the shift amount having the minimum difference absolute value sum is detected as a motion vector.

図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 frame 0 and frame 1. The video after frame rate conversion generated in this way is displayed smoothly with respect to the foreground movement, but is greatly disturbed with respect to the background.

<複数ピーク検出部14>
このように、フレームレート変換により乱れた映像が生成されることを抑制するための
、本実施例の映像信号処理装置に特有の構成について以下説明する。複数ピーク検出部14は、動きベクトル検出部13によって検出される動きベクトルの信頼性を判断し、検出される動きベクトルの信頼性が低いと判断される場合には、検出された動きベクトルに基づく補間フレームの画像生成を抑制する信号を出力する。図9に複数ピーク検出部14の構成図を示す。複数ピーク検出部14は、ピーク検出部16、比較部17、カウント部18、判定部19で構成される。
<Multiple Peak Detection Unit 14>
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 peak detection unit 14 determines the reliability of the motion vector detected by the motion vector detection unit 13, and if it is determined that the reliability of the detected motion vector is low, it is based on the detected motion vector. A signal for suppressing the image generation of the interpolation frame is output. FIG. 9 shows a configuration diagram of the multiple peak detection unit 14. The multiple peak detection unit 14 includes a peak detection unit 16, a comparison unit 17, a count unit 18, and a determination unit 19.

<ピーク検出部16>
ピーク検出部16は、差分絶対値和計算部12からの差分絶対値和の入力を受けて、差分絶対値和の極小ピークを検出する。ピーク検出部16による差分絶対値和のピークの検出方法の例について図10に基づいて説明する。図10は、あるブロックデータ0について算出された各シフト量における差分絶対値和を、ブロックマッチングのサーチ範囲内の対応する位置に記して可視化した分布図である。サーチ範囲は、本実施例では−24≦is≦+24、−15≦js≦+15だが、図10では簡単のため−5≦is≦+5、−2≦js≦+2の範囲のみを拡大して示している。
<Peak detection unit 16>
The peak detection unit 16 receives the input of the difference absolute value sum from the difference absolute value sum calculation unit 12 and detects the minimum peak of the difference absolute value sum. An example of a method for detecting the peak of the sum of absolute differences by the peak detector 16 will be described with reference to FIG. FIG. 10 is a distribution diagram in which the sum of absolute differences at each shift amount calculated for a certain block data 0 is recorded at a corresponding position in the block matching search range and visualized. In this embodiment, the search range is −24 ≦ is ≦ + 24 and −15 ≦ js ≦ + 15, but in FIG. 10, only the ranges of −5 ≦ is ≦ + 5 and −2 ≦ js ≦ + 2 are shown enlarged for the sake of simplicity. ing.

ピーク検出部16は、注目するシフト量における差分絶対値和と、それに隣接する8箇所のシフト量における差分絶対値和とを比較する。そして、注目するシフト量における差分絶対値和が最小であった場合に、その差分絶対値和をピークと判定する。図10に示す例では、2重線で囲まれた3箇所の差分絶対値和10、20及び75がピークと判定される。   The peak detector 16 compares the difference absolute value sum at the shift amount of interest with the difference absolute value sum at the eight shift amounts adjacent thereto. When the difference absolute value sum in the shift amount of interest is minimum, the sum of difference absolute values is determined to be a peak. In the example shown in FIG. 10, the absolute difference value sums 10, 20, and 75 at three locations surrounded by a double line are determined to be peaks.

なお、ピークの判定方法は、差分絶対値和の分布において極小値となっている差分絶対値和(極大相関点という)を検出することができれば、上述した方法に限られない。例えば、注目するシフト量における差分絶対値和が、該シフト量に水平方向又は垂直方向に隣接する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が検出したピークのうちブロックマッチングで一定以上の相関があるピークが抽出される。本実施例の複数ピーク検出閾値は、本発明における「閾値」に相当する。
<Comparator 17>
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 peak detector 16. Such a low correlation degree peak can occur randomly in a region where the block matching correlation is low in the search range. Therefore, the comparison unit 17 compares the sum of absolute difference values determined as peaks by the peak detection unit 16 with a predetermined threshold value (referred to as a multiple peak detection threshold value), and determines a peak that is equal to or less than the multiple peak detection threshold value as an effective peak. judge. For example, when the multiple peak detection threshold is 50, in the example of FIG. 10, two peaks of the difference absolute value sums 10 and 20 are detected among the detected three peaks (difference absolute value sums 10, 20 and 75). It is determined as a valid peak. The comparison unit 17 extracts a peak having a certain correlation or more by block matching from the peaks detected by the peak detection unit 16. The multiple peak detection threshold in this embodiment corresponds to a “threshold” in the present invention.

<カウント部18>
カウント部18では、サーチ範囲内に有効なピークがいくつあったかをカウントする。そして、カウント値が2以上の場合には、動きベクトル検出部13で検出される動きベクトルの信頼性は低いと判定し、それを示す信号を出力する。繰り返しパターンや異なる動きが共存する画像を含むブロックデータの場合、サーチ範囲内に2以上の有効なピークが検出される可能性が高いので、ブロックマッチングによって検出された動きベクトルの信
頼性は低いと判定されることになる。
<Counter 18>
The counting unit 18 counts how many effective peaks exist in the search range. When the count value is 2 or more, it is determined that the reliability of the motion vector detected by the motion vector detection unit 13 is low, and a signal indicating this is output. In the case of block data including images with repeated patterns and different motions coexisting, there is a high possibility that two or more effective peaks are detected in the search range, so the reliability of the motion vector detected by block matching is low. Will be judged.

<判定部19>
判定部19は、フレーム0の画像を構成する全てのブロックデータのうちに、動きベクトル検出部13によって検出された動きベクトルは信頼性が低いと判定されたブロックデータが所定割合以上あるか否かを判定する。そして、判定部19は、検出された動きベクトルの信頼性が低いと判定されたブロックデータが所定割合以上あった場合、検出された動きベクトルに基づいて補間フレームの画像を生成することを禁止する信号を出力する。
<Determining unit 19>
The determination unit 19 determines whether or not the block data determined by the motion vector detection unit 13 as having low reliability among all the block data constituting the frame 0 image has a predetermined ratio or more. Determine. The determination unit 19 prohibits generation of an image of the interpolation frame based on the detected motion vector when the block data determined to have low reliability of the detected motion vector has a predetermined ratio or more. Output a signal.

補間画像生成部15は、判定部19から上記禁止信号を受信した場合は、動きベクトル検出部13が検出した動きベクトルに基づく補間フレームの画像生成をせずに、フレーム0画像又はフレーム1画像を補間フレームの画像として出力する。すなわち、この場合、フレーム0とフレーム1の間に、補間フレームとして、フレーム0画像又はフレーム1画像を挿入することによって、フレームレートを増加させる処理が行なわれる。これにより、ブロックマッチングにより不適切な動きベクトルが検出される可能性が高い画像については、ブロックマッチングで検出された動きベクトルに基づく補間フレームの生成は行なわれない。従って、画像内に繰り返しパターンを含む領域や異なる複数の動きが共存する領域があるような映像信号に対しても、フレームレート変換後の映像に乱れが生じることを抑制しつつ、フレームレート変換処理を行なうことが可能となる。ブロックマッチングのサーチ範囲内に有効なピークが1つしかない場合には、当該ピークに対応するシフト量から検出される動きベクトルはブロックデータ間の画像の動きを正しく示す適切な動きベクトルであると考えられる。従って、この場合、補間画像生成部15は、上述したように、動きベクトル検出部13により検出された動きベクトル、ブロックデータ0及びブロックデータ1に基づいて補間フレームの画像を生成する。   When the interpolated image generating unit 15 receives the prohibition signal from the determining unit 19, the interpolated image generating unit 15 generates the frame 0 image or the frame 1 image without generating an interpolated frame image based on the motion vector detected by the motion vector detecting unit 13. Output as an interpolated frame image. That is, in this case, a process for increasing the frame rate is performed by inserting a frame 0 image or a frame 1 image as an interpolation frame between frame 0 and frame 1. As a result, an interpolation frame based on a motion vector detected by block matching is not generated for an image that is likely to have an inappropriate motion vector detected by block matching. Therefore, frame rate conversion processing can be performed while suppressing disturbance of the video after frame rate conversion, even for video signals where there are regions that contain repetitive patterns or regions where multiple different motions coexist in the image. Can be performed. When there is only one effective peak within the block matching search range, the motion vector detected from the shift amount corresponding to the peak is an appropriate motion vector that correctly indicates the motion of the image between the block data. Conceivable. Accordingly, in this case, the interpolation image generation unit 15 generates an image of the interpolation frame based on the motion vector, block data 0, and block data 1 detected by the motion vector detection unit 13, as described above.

なお、本実施例では、サーチ範囲内に有効なピークが複数有る場合に、検出される動きベクトルの信頼性は低いと判定する例について説明したが、単にサーチ範囲内にピークが複数有る場合に、検出される動きベクトルの信頼性が低いと判定するようにしても良い。   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 multiple peak detector 14 in the second embodiment. The multiple peak detection unit 14 according to the second embodiment includes a peak detection unit 16, a comparison unit 17, a determination unit 19, a first minimum peak value memory unit 20, and a second minimum peak value memory unit 21. In the present embodiment, the reliability of the motion vector detected by the motion vector detection unit 13 based on the value of the sum of absolute differences of the peak having the second smallest absolute difference value among the peaks detected by the peak detection unit 16. Determine gender. Since the configuration other than the multiple peak detection unit 14 is the same as that of the first embodiment, the description thereof will be omitted, and only the multiple peak detection unit 14 will be described below.
The operations of the peak detection unit 16 and the determination unit 19 in the present embodiment are the same as those in the first embodiment.

<第1最小ピーク値メモリ部20>
第1最小ピーク値メモリ部20は、サーチ範囲内に存在する全てのピークのうち、差分絶対値和が最小のピーク(第1最小ピークという)の差分絶対値和(第1最小差分絶対値和という)を記憶する。ピーク検出部16によるブロック毎のピークの検出が続けられる間、第1最小ピーク値メモリ部20に記憶される差分絶対値和は、既に検出されたピークのうち差分絶対値和が最小のピークの差分絶対値和で更新されていく。ピーク検出部16によるピークの検出が完了した時点で、第1最小ピーク値メモリ部20には、第1最小差分絶対値和が記憶されていることになる。
<First Minimum Peak Value Memory Unit 20>
The first minimum peak value memory unit 20 includes a difference absolute value sum (first minimum difference absolute value sum) of peaks having a minimum difference absolute value sum (referred to as a first minimum peak) among all peaks existing in the search range. Remember). While the detection of the peak for each block by the peak detection unit 16 continues, the difference absolute value sum stored in the first minimum peak value memory unit 20 is the peak having the smallest difference absolute value sum among the already detected peaks. It is updated with the sum of absolute differences. When the peak detection by the peak detection unit 16 is completed, the first minimum peak value memory unit 20 stores the first minimum difference absolute value sum.

<第2最小ピーク値メモリ部21>
第2最小ピーク値メモリ部21は、サーチ範囲内に存在する全てのピークのうち、差分
絶対値和が2番目に小さいピーク(第2最小ピークという)の差分絶対値和(第2最小差分絶対値和という)を記憶する。ピーク検出部16によるブロック毎のピークの検出が続けられる間、第2最小ピーク値メモリ部21に記憶される差分絶対値和は、既に検出されたピークのうち差分絶対値和が2番目に小さいピークの差分絶対値和で更新されていく。ピーク検出部16によるピークの検出が完了した時点で、第2最小ピーク値メモリ部21には、第2最小差分絶対値和が記憶されていることになる。
<Second Minimum Peak Value Memory Unit 21>
The second minimum peak value memory unit 21 calculates a sum of absolute differences (second minimum absolute difference) of a peak (referred to as a second minimum peak) having the second smallest absolute difference value among all peaks existing in the search range. Value sum). While the peak detection unit 16 continues to detect the peak for each block, the difference absolute value sum stored in the second minimum peak value memory unit 21 is the second smallest absolute difference sum among the already detected peaks. It is updated with the sum of absolute differences of peaks. When the peak detection by the peak detection unit 16 is completed, the second minimum peak value memory unit 21 stores the second minimum difference absolute value sum.

具体的な処理フローを説明する。ピーク検出部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 peak detector 16, the sum of absolute differences SAD new of the peak is input to the first minimum peak value memory unit 20 and the second minimum peak value memory unit 21. Then, the input difference absolute value sum SAD new , the difference absolute value sum SAD min1 stored in the first minimum peak value memory unit 20, and the difference absolute value stored in the second minimum peak value memory unit 21 A comparison is made with the sum SAD min2 .
(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 value memory unit 21 is the first minimum peak value memory unit 20 Is updated with the value SAD min1 . Further, the value of the first minimum peak value memory unit 20 is updated with the input value SAD new .
(B) When the input value is equal to or larger than the value of the first minimum peak value memory unit 20 and smaller than the value of the second minimum peak value memory unit 21 (SAD min1 ≦ SAD new <SAD min2 ), the second minimum The value in the peak value memory unit 21 is updated with the input value SAD new .

このような処理フローを繰り返すことにより、あるブロックについてピーク検出部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 peak detection unit 16 is completed for a certain block. In the example of FIG. 10, the first minimum difference absolute value sum is 10 and the second minimum difference absolute value sum is 20.

<比較部17>
比較部17は、第2最小差分絶対値和を複数ピーク検出閾値と比較し、複数ピーク検出閾値以下であった場合に、動きベクトル検出部13で検出される動きベクトルの信頼性は低いと判定し、それを示す信号を出力する。図10の例では、第2最小差分絶対値和は20であり、複数ピーク検出閾値を実施例1と同様50とすれば、図10のブロックについては動きベクトル検出部13で検出される動きベクトルは信頼性が低いと判定されることになる。
なお、第2最小ピークが無かった場合には、サーチ範囲内にピークが1つしか存在しないことを意味する。従ってこの場合、比較部17は、動きベクトル検出部13によって検出される動きベクトルは信頼できると判定する。また、第1最小ピークが無かった場合は、サーチ範囲の端に差分絶対値和の最小点があることになり、それはサーチ範囲内にピークが存在しないことを意味する。従ってこの場合、比較部17は、動きベクトル検出部13によって検出される動きベクトルの信頼性は低いと判定する。
<Comparator 17>
The comparison unit 17 compares the second minimum difference absolute value sum with a plurality of peak detection threshold values, and determines that the reliability of the motion vector detected by the motion vector detection unit 13 is low when the sum is equal to or less than the plurality of peak detection threshold values. And a signal indicating this is output. In the example of FIG. 10, if the second minimum difference absolute value sum is 20, and the multiple peak detection threshold is 50 as in the first embodiment, the motion vector detected by the motion vector detection unit 13 for the block of FIG. Is determined to be unreliable.
When there is no second minimum peak, it means that there is only one peak in the search range. Therefore, in this case, the comparison unit 17 determines that the motion vector detected by the motion vector detection unit 13 is reliable. When there is no first minimum peak, there is a minimum point of the sum of absolute differences at the end of the search range, which means that no peak exists in the search range. Therefore, in this case, the comparison unit 17 determines that the reliability of the motion vector detected by the motion vector detection unit 13 is low.

実施例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 comparison unit 17 as fixed values has been described. For example, in a noisy image, the correlation of block matching becomes lower overall due to the influence of noise, so the distribution of sum of absolute differences has a dull peak, and the sum of absolute differences at the peak is the average value. Get closer. Therefore, in the third embodiment, the multiple peak detection threshold is adaptively set according to the image. Since the configuration other than the multiple peak detection unit 14 is the same as that of the first embodiment, the description thereof will be omitted, and only the multiple peak detection unit 14 will be described below.
FIG. 12 is a block diagram of the multiple peak detector 14 in the third embodiment. The multiple peak detection unit 14 according to the third embodiment is configured by adding a threshold value calculation unit 22 to the configuration of the multiple peak detection unit 14 according to the second embodiment. The threshold calculation unit 22 receives the input of the first minimum difference absolute value sum from the first minimum peak value memory unit 20 and calculates a plurality of peak detection thresholds by the following equation (4).
Multiple peak detection threshold = first minimum difference absolute value sum + α (α is a fixed constant) (4)
The threshold value calculation unit 22 in this embodiment corresponds to setting means in the present invention.

比較部17は、第2最小差分絶対値和を閾値算出部22により算出された複数ピーク検出閾値と比較し、複数ピーク検出閾値以下であった場合に、動きベクトル検出部13で検出される動きベクトルの信頼性は低いと判定し、それを示す信号を出力する。
実施例3の構成によれば、入力信号のフレーム0の画像とフレーム1の画像との全体的な相関の度合いに応じて複数ピーク検出閾値を適応的に設定できるので、動きベクトルの信頼性をより精度良く判定することができる。従って、不適切な動きベクトルに基づく補間フレームの画像生成が行なわれることを抑制し、フレームレート変換後の映像に乱れが生じることを抑制することが可能となる。
The comparison unit 17 compares the second minimum difference absolute value sum with the plurality of peak detection threshold values calculated by the threshold value calculation unit 22, and the motion detected by the motion vector detection unit 13 when the value is equal to or less than the plurality of peak detection threshold values. It is determined that the reliability of the vector is low, and a signal indicating this is output.
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 frame 0 and the image of frame 1 of the input signal. More accurate determination can be made. Therefore, it is possible to suppress the generation of an interpolated frame image based on an inappropriate motion vector, and to suppress the occurrence of disturbance in the video after the frame rate conversion.

(実施例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 multiple peak detector 14 in the fourth embodiment. The multiple peak detection unit 14 of the fourth embodiment is configured by adding a maximum value memory unit 23 to the configuration of the multiple peak detection unit 14 of the third embodiment.
The maximum value memory unit 23 stores the maximum value among the already calculated absolute difference sums while the calculation of the absolute difference sum is continued in the block matching for each block. A specific processing flow is as follows. When the value of the newly inputted difference absolute value sum is larger than the value stored in the maximum value memory unit 23, the value of the maximum value memory unit 23 is set by the inputted difference absolute value sum. Update.
The threshold value calculation unit 22 receives an input of the maximum difference absolute value sum from the maximum value memory unit 23 and an input of the first minimum difference absolute value sum from the first minimum peak value memory unit 20, and the following equation (5) The multiple peak detection threshold is calculated using a calculation formula.
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 value calculation unit 22 in this embodiment corresponds to setting means in the present invention.

比較部17は、第2最小差分絶対値和を閾値算出部22により算出された複数ピーク検出閾値と比較し、複数ピーク検出閾値以下であった場合に、動きベクトル検出部13で検出される動きベクトルの信頼性は低いと判定し、それを示す信号を出力する。
実施例4の構成によれば、入力信号のフレーム0の画像とフレーム1の画像との全体的な相関の度合いに応じて複数ピーク検出閾値を適応的に設定できるので、動きベクトルの信頼性をより精度良く判定することができる。従って、不適切な動きベクトルに基づく補間フレームの画像生成が行なわれることを抑制し、フレームレート変換後の映像に乱れが生じることを抑制することが可能となる。
The comparison unit 17 compares the second minimum difference absolute value sum with the plurality of peak detection threshold values calculated by the threshold value calculation unit 22, and the motion detected by the motion vector detection unit 13 when the value is equal to or less than the plurality of peak detection threshold values. It is determined that the reliability of the vector is low, and a signal indicating this is output.
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 frame 0 image and the frame 1 image of the input signal. More accurate determination can be made. Therefore, it is possible to suppress the generation of an interpolated frame image based on an inappropriate motion vector, and to suppress the occurrence of disturbance in the video after the frame rate conversion.

(実施例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 multiple peak detector 14 in the fifth embodiment. The multiple peak detection unit 14 of the fifth embodiment is configured by adding an average value calculation unit 24 to the configuration of the multiple peak detection unit 14 of the third embodiment.
The average value calculation unit 24 calculates and outputs the average value of the sum of absolute differences within the search range.
The threshold value calculation unit 22 receives the input of the absolute difference sum average from the average value calculation unit 24 and the input of the first absolute minimum sum of absolute values from the first minimum peak value memory unit 20, and the following equation (6) The multiple peak detection threshold is calculated using a calculation formula.
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 value calculation unit 22 in this embodiment corresponds to setting means in the present invention.

比較部17は、第2最小差分絶対値和を閾値算出部22により算出された複数ピーク検出閾値と比較し、複数ピーク検出閾値以下であった場合に、動きベクトル検出部13で検出される動きベクトルの信頼性は低いと判定し、それを示す信号を出力する。
実施例5の構成によれば、入力信号のフレーム0の画像とフレーム1の画像との全体的な相関の度合いに応じて複数ピーク検出閾値を適応的に設定できるので、動きベクトルの信頼性をより精度良く判定することができる。従って、不適切な動きベクトルに基づく補間フレームの画像生成が行なわれることを抑制し、フレームレート変換後の映像に乱れが生じることを抑制することが可能となる。
The comparison unit 17 compares the second minimum difference absolute value sum with the plurality of peak detection threshold values calculated by the threshold value calculation unit 22, and the motion detected by the motion vector detection unit 13 when the value is equal to or less than the plurality of peak detection threshold values. It is determined that the reliability of the vector is low, and a signal indicating this is output.
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 frame 0 image and the frame 1 image of the input signal. More accurate determination can be made. Therefore, it is possible to suppress the generation of an interpolated frame image based on an inappropriate motion vector, and to suppress the occurrence of disturbance in the video after the frame rate conversion.

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つのフレームのうちの前フレームの画像を分割して得られるブロックと、該ブロックの位置に対して所定のサーチ範囲内のシフト量で表される相対位置にある後フレームのブロックと、の対応する画素値どうしの差分絶対値の総和である差分絶対値和を、該サーチ範囲内のシフト量毎に算出する算出手段と、
前記算出手段により算出される差分絶対値和が極小となる前記サーチ範囲内のシフト量に基づいて、前記前フレームのブロックと前記後フレームのブロックとの間の画像の動きを表す動きベクトルを検出する動きベクトル検出手段と、
前記算出手段により算出される差分絶対値和が極小となるシフト量が前記サーチ範囲内に複数あり、差分絶対値和の複数の極小値のうち前記サーチ範囲内で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に記載の映像信号処理装置。   When the generation unit includes a predetermined percentage or more of blocks determined to have low motion vector reliability among a plurality of blocks constituting the previous frame, either the image of the previous frame or the image of the subsequent frame The image of the interpolation frame is generated. Otherwise, the image of the interpolation frame is generated based on the motion vector detected by the motion vector detection means, the image of the previous frame, and the image of the subsequent frame. The video signal processing apparatus according to claim 1. 前記算出手段により算出される差分絶対値和の極小値の前記サーチ範囲内での最小値と、予め定められた固定値と、に基づいて前記閾値を
閾値=最小値+固定値
により求められる値に設定する設定手段を更に備えることを特徴とする請求項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つのフレームのうちの前フレームの画像を分割して得られるブロックと、該ブロックの位置に対して所定のサーチ範囲内のシフト量で表される相対位置にある後フレームのブロックと、の対応する画素値どうしの差分絶対値の総和である差分絶対値和を、該サーチ範囲内のシフト量毎に算出する算出工程と、
前記算出工程により算出される差分絶対値和が極小となる前記サーチ範囲内のシフト量に基づいて、前記前フレームのブロックと前記後フレームのブロックとの間の画像の動きを表す動きベクトルを検出する動きベクトル検出工程と、
前記算出工程により算出される差分絶対値和が極小となるシフト量が前記サーチ範囲内に複数あり、差分絶対値和の複数の極小値のうち前記サーチ範囲内で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:
前記生成工程では、前記前フレームを構成する複数のブロックのうちに、動きベクトルの信頼性は低いと判定されたブロックが所定割合以上ある場合、前記前フレームの画像又は前記後フレームの画像のいずれかを前記補間フレームの画像とし、そうでない場合、前記動きベクトル検出工程により検出される動きベクトル、前記前フレームの画像及び前記後フレームの画像に基づいて前記補間フレームの画像を生成することを特徴とする請求項に記載の映像信号処理方法。 In the generating step, when a plurality of blocks constituting the previous frame include a predetermined percentage or more of blocks determined to have low motion vector reliability, either the previous frame image or the subsequent frame image The image of the interpolation frame is generated. Otherwise, the image of the interpolation frame is generated based on the motion vector detected by the motion vector detection step, the image of the previous frame, and the image of the subsequent frame. The video signal processing method according to claim 6 . 前記算出工程により算出される差分絶対値和の極小値の前記サーチ範囲内での最小値と、予め定められた固定値と、に基づいて前記閾値を
閾値=最小値+固定値
により求められる値に設定する設定工程を更に有することを特徴とする請求項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.
JP2009182350A 2009-08-05 2009-08-05 Video signal processing apparatus and video signal processing method Expired - Fee Related JP5441555B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

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