JP2005229568A - Motion vector detecting apparatus - Google Patents

Motion vector detecting apparatus Download PDF

Info

Publication number
JP2005229568A
JP2005229568A JP2004264827A JP2004264827A JP2005229568A JP 2005229568 A JP2005229568 A JP 2005229568A JP 2004264827 A JP2004264827 A JP 2004264827A JP 2004264827 A JP2004264827 A JP 2004264827A JP 2005229568 A JP2005229568 A JP 2005229568A
Authority
JP
Japan
Prior art keywords
motion vector
inter
fields
frame
frames
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.)
Pending
Application number
JP2004264827A
Other languages
Japanese (ja)
Inventor
Tatsuro Yamauchi
達郎 山内
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.)
Shibasoku Co Ltd
Original Assignee
Shibasoku Co Ltd
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 Shibasoku Co Ltd filed Critical Shibasoku Co Ltd
Priority to JP2004264827A priority Critical patent/JP2005229568A/en
Publication of JP2005229568A publication Critical patent/JP2005229568A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a motion vector detecting apparatus having more reduced misdetection of a motion vector than before when the motion vector detecting apparatus is applied in particular to a video signal adopting the interlace system. <P>SOLUTION: In the motion vector detecting apparatus, an inter-frame motion vector V2 is outputted in place of an inter-field motion vector V1 when a motion is small and an inter-frame difference DFD 2 is smaller than an inter-field difference DFD 1. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、動きベクトル検出装置に関し、特にインタレース方式のビデオ信号で動きベクトルを検出する場合に適用することができる。本発明は、動きが小さい場合、フレーム間差分値がフィールド間差分値より小さい場合、フィールド間による動きベクトルに代えてフレーム間による動きベクトルを出力することにより、従来に比して一段と動きベクトルの誤検出を低減することができるようにする。   The present invention relates to a motion vector detection device, and in particular, can be applied to a case where a motion vector is detected from an interlace video signal. In the present invention, when the motion is small, when the inter-frame difference value is smaller than the inter-field difference value, the motion vector between the frames is output instead of the motion vector between the fields. It is possible to reduce false detection.

従来、ビデオ信号の高能率符号化処理においては、動きベクトルを用いてフレーム間符号化処理の効率を向上させるようになされており、またテレビジョン信号のフォーマット変換においては、動きベクトルを用いた動き補正により、フィールド数の変換によるギクシャクとした動きを滑らかな動きに補正するようになされている。   Conventionally, in high-efficiency encoding processing of video signals, motion vectors are used to improve the efficiency of inter-frame encoding processing. In television signal format conversion, motion using motion vectors is used. By the correction, the jerky movement due to the conversion of the number of fields is corrected to a smooth movement.

このような動きベクトルの検出は、ビデオ信号をm画素×nライン(m、nは整数)による動きベクトルの検出単位(すなわちマクロブロックである)にブロック化し、各ブロック毎に動きベクトルを検出するようになされており、例えば特開昭55−162683号公報、特開昭55−162684号公報に開示のパターンマッチング法、特開昭60−158786号公報に開示の勾配法、位相相関法等が用いられるようになされている。   In such motion vector detection, a video signal is blocked into motion vector detection units (that is, macro blocks) of m pixels × n lines (m and n are integers), and a motion vector is detected for each block. For example, there are a pattern matching method disclosed in Japanese Patent Laid-Open Nos. 55-162683 and 55-162684, a gradient method disclosed in Japanese Patent Laid-Open No. 60-158786, a phase correlation method, and the like. It is made to be used.

このような各種の動きベクトル検出方法によりインタレース方式のビデオ信号で動きベクトルを検出する場合、従来、フィールド間で動きベクトル検出することにより、動き量が大きい場合の検出精度の劣化を防止するようになされている。すなわち、フレーム間ではフィールド間に比べて動き量が2倍となることにより、フレーム間で検出した動きベクトルの大きさは、フィールド間で検出した動きベクトルの大きさに比して2倍となり、動き量が大きい場合には動きベクトルの検出精度が劣化する。   When a motion vector is detected from an interlaced video signal using such various motion vector detection methods, conventionally, a motion vector is detected between fields to prevent deterioration in detection accuracy when the amount of motion is large. Has been made. That is, the amount of motion between frames is twice that of between fields, so that the magnitude of the motion vector detected between frames is twice that of the motion vector detected between fields. When the amount of motion is large, the motion vector detection accuracy deteriorates.

しかしながらインタレース方式のビデオ信号においては、偶数フィールドと奇数フィールドとで映像の重心が垂直方向に1/2ラインずれることにより、フィールド間で動きベクトル検出する場合、事前に重心補正する必要がある。しかしながら、重心補正した場合にあっては、動き量が小さい場合、検出精度が劣化する。具体的には、例えば静止画のように動きが「0」の場合にあっても、重心補正によりフィールド間差分値は、値「0」になり得ず、これにより検出誤差が発生する。特に勾配法を用いた動きベクトル検出では、動きベクトルを演算により算出することにより、静止画であってもフィールド間差分値が「0」にはならず、また画像のエッジ成分がある場合は、静止画においても値「0」以外の動きベクトルが検出されることになる。   However, in the case of an interlaced video signal, the center of gravity of the video is shifted by ½ line in the vertical direction between the even field and the odd field, so that when the motion vector is detected between the fields, the center of gravity needs to be corrected in advance. However, when the center of gravity is corrected, the detection accuracy is deteriorated when the amount of motion is small. Specifically, even when the motion is “0” as in a still image, for example, the inter-field difference value cannot be the value “0” due to the centroid correction, which causes a detection error. Particularly in motion vector detection using the gradient method, by calculating a motion vector by calculation, the inter-field difference value does not become “0” even for a still image, and when there is an edge component of the image, A motion vector other than the value “0” is also detected in the still image.

この問題を解決する1つの方法として、インタレース方式のビデオ信号をプログレッシブ方式のビデオ信号に変換して動きベクトルを検出する方法が考えられる。しかしながらプログレッシブ方式への変換処理においては、動画及び静止画で内挿処理を切り換え、静止画にあっては前フィールドのビデオ信号を用いるのに対して、動画にあっては結局、重心補正と同様に補間処理することにより、プログレッシブ方式のビデオ信号に変換して動きベクトルを検出する場合でも、動き量の小さな場合に、動きベクトルを誤検出する。
特開昭55−162683号公報 特開昭55−162684号公報 特開昭60−158786号公報
As one method for solving this problem, a method of detecting a motion vector by converting an interlaced video signal into a progressive video signal can be considered. However, in the conversion process to the progressive method, the interpolation process is switched between the moving image and the still image, and the video signal of the previous field is used for the still image, but the moving image is the same as the center of gravity correction after all. Thus, even when the motion vector is detected after being converted into a progressive video signal, the motion vector is erroneously detected when the motion amount is small.
Japanese Unexamined Patent Publication No. 55-162683 Japanese Patent Laid-Open No. 55-162684 JP 60-158786 A

本発明は以上の点を考慮してなされたもので、インタレース方式のビデオ信号で動きベクトルを検出する場合に、従来に比して一段と動きベクトルの誤検出を低減することができる動きベクトル検出装置を提案しようとするものである。   The present invention has been made in consideration of the above points, and when detecting a motion vector with an interlaced video signal, the motion vector detection that can further reduce the erroneous detection of the motion vector as compared with the prior art. The device is to be proposed.

係る課題を解決するため請求項1の発明においては、インタレース方式のビデオ信号の動きベクトルを検出する動きベクトル検出装置に適用して、ビデオ信号のフィールド間で動きベクトルを検出してフィールド間の動きベクトルを出力するフィールド間動きベクトル検出手段と、ビデオ信号のフレーム間で動きベクトルを検出してフレーム間の動きベクトルを出力するフレーム間動きベクトル検出手段と、フレーム間の動きベクトル及び又はフィールド間の動きベクトルを所定の判定基準値と比較して比較結果を出力する比較手段と、比較結果に基づいて、所定の条件を満足する場合に、フィールド間の動きベクトルに代えて、フレーム間の動きベクトルを出力する切り替え手段とを備え、所定の条件を満足する場合が、フレーム間の動きベクトル及び又はフィールド間の動きベクトルが判定基準値より小さい場合であるようにする。   In order to solve such a problem, the invention of claim 1 is applied to a motion vector detecting device for detecting a motion vector of an interlaced video signal to detect a motion vector between fields of the video signal and Inter-field motion vector detection means for outputting a motion vector, inter-frame motion vector detection means for detecting a motion vector between frames of a video signal and outputting a motion vector between frames, and an inter-frame motion vector and / or between fields A comparison unit that compares the motion vector with a predetermined criterion value and outputs a comparison result, and when a predetermined condition is satisfied based on the comparison result, the motion between frames is replaced with the motion vector between fields. Switching means for outputting a vector, and when the predetermined condition is satisfied, the motion between frames Motion vector between vector and or field so that it is smaller than the determination reference value.

また請求項2の発明においては、インタレース方式のビデオ信号の動きベクトルを検出する動きベクトル検出装置に適用して、ビデオ信号のフィールド間で動きベクトルを検出してフィールド間の動きベクトルを出力するフィールド間動きベクトル検出手段と、ビデオ信号のフレーム間で動きベクトルを検出してフレーム間の動きベクトルを出力するフレーム間動きベクトル検出手段と、フィールド間の動きベクトルにより動き補正して、フィールド間の動きベクトルに係るフィールド間差分値を検出するフィールド間の差分演算手段と、フレーム間の動きベクトルにより動き補正して、フレーム間の動きベクトルに係るフレーム間差分値を検出するフレーム間の差分演算手段と、フィールド間差分値及びフレーム間差分値を比較して比較結果を出力する比較手段と、比較結果に基づいて、所定の条件を満足する場合に、フィールド間の動きベクトルに代えて、フレーム間の動きベクトルを出力する切替手段とを備え、所定の条件を満足する場合が、フィールド間差分値の値よりフレーム間差分値の値が小さい場合であるようにする。   According to a second aspect of the present invention, the present invention is applied to a motion vector detection device for detecting a motion vector of an interlace video signal, detects a motion vector between fields of the video signal, and outputs a motion vector between fields. Inter-field motion vector detection means, inter-frame motion vector detection means for detecting a motion vector between frames of a video signal and outputting an inter-frame motion vector, and motion correction using an inter-field motion vector, Inter-field difference calculation means for detecting an inter-field difference value related to a motion vector, and inter-frame difference calculation means for detecting an inter-frame difference value related to a motion vector between frames by performing motion correction using the motion vector between frames. Compare the difference value between fields and the difference value between frames. And a switching means for outputting a motion vector between frames instead of a motion vector between fields when a predetermined condition is satisfied based on the comparison result, and satisfying the predetermined condition In this case, the difference value between frames is smaller than the difference value between fields.

また請求項3の発明においては、インタレース方式のビデオ信号の動きベクトルを検出する動きベクトル検出装置に適用して、ビデオ信号のフィールド間で動きベクトルを検出してフィールド間の動きベクトルを出力するフィールド間動きベクトル検出手段と、ビデオ信号のフレーム間で動きベクトルを検出してフレーム間の動きベクトルを出力するフレーム間動きベクトル検出手段と、フレーム間の動きベクトル及び又はフィールド間の動きベクトルを所定の判定基準値と比較して動きベクトルの比較結果を出力する動きベクトルの比較手段と、フィールド間の動きベクトルにより動き補正して、フィールド間の動きベクトルに係るフィールド間差分値を検出するフィールド間の差分演算手段と、フレーム間の動きベクトルにより動き補正して、フレーム間の動きベクトルに係るフレーム間差分値を検出するフレーム間の差分演算手段と、フィールド間差分値及びフレーム間差分値を比較して差分値の比較結果を出力する差分値の比較手段と、動きベクトルの比較結果、差分値の比較結果に基づいて、所定の条件を満足する場合に、フィールド間の動きベクトルに代えて、フレーム間の動きベクトルを出力する切替手段とを備え、所定の条件を満足する場合が、フレーム間の動きベクトル及び又はフィールド間の動きベクトルが判定基準値よりも小さく、かつフレーム間差分値がフィールド間差分値よりも小さい場合であるようにする。   According to a third aspect of the present invention, the present invention is applied to a motion vector detecting device for detecting a motion vector of an interlace video signal, detects a motion vector between fields of the video signal, and outputs a motion vector between fields. Inter-field motion vector detection means, inter-frame motion vector detection means for detecting a motion vector between frames of a video signal and outputting an inter-frame motion vector, and inter-frame motion vector and / or inter-field motion vector are predetermined. A motion vector comparison unit that outputs a motion vector comparison result compared to the determination reference value of the field, and a field correction method that detects a difference value between fields related to a motion vector between fields by performing motion correction using a motion vector between fields. Motion compensation using the difference calculation means and motion vectors between frames A difference calculation means for detecting an inter-frame difference value related to a motion vector between frames, and a difference value comparison means for comparing a difference value between fields and an inter-frame difference value and outputting a difference value comparison result Switching means for outputting a motion vector between frames instead of a motion vector between fields when a predetermined condition is satisfied based on a comparison result of motion vectors and a comparison result of difference values. Is satisfied when the motion vector between frames and / or the motion vector between fields is smaller than the criterion value and the inter-frame difference value is smaller than the inter-field difference value.

また請求項4の発明においては、インタレース方式のビデオ信号の動きベクトルを検出する動きベクトル検出装置に適用して、ビデオ信号を1フィールドの期間だけ遅延させて出力するフィールド遅延回路と、ビデオ信号を1フレームの期間だけ遅延させて出力するフレーム遅延回路と、フィールド遅延回路、フレーム遅延回路の出力信号を選択的に出力する切替回路と、ビデオ信号と、切替回路の出力信号とを用いて動きベクトルを検出する動きベクトル検出回路と、動きベクトル検出回路で検出される動きベクトルの大きさの判定により、ビデオ信号の動きが小さい場合、動きベクトル検出回路でフレーム間で動きベクトル検出するように、切替回路を制御する切替制御回路とを備えるようにする。   According to a fourth aspect of the present invention, there is provided a field delay circuit for applying to a motion vector detecting device for detecting a motion vector of an interlaced video signal, outputting the video signal with a delay of one field period, and a video signal. Delay using a frame delay circuit that outputs a signal delayed by one frame period, a field delay circuit, a switching circuit that selectively outputs an output signal of the frame delay circuit, a video signal, and an output signal of the switching circuit. When the motion vector detection circuit detects the vector and the motion vector detection circuit determines the magnitude of the motion vector, and the motion of the video signal is small, the motion vector detection circuit detects the motion vector between frames. A switching control circuit for controlling the switching circuit.

また請求項5の発明においては、請求項4の構成において、切替制御回路は、フィールド単位で、切替回路を制御する。   According to a fifth aspect of the present invention, in the configuration of the fourth aspect, the switching control circuit controls the switching circuit in field units.

また請求項6の発明においては、請求項4の構成において、切替制御回路は、マクロブロック単位で、切替回路を制御する。   According to a sixth aspect of the present invention, in the configuration of the fourth aspect, the switching control circuit controls the switching circuit in units of macroblocks.

また請求項7の発明においては、請求項6の構成において、動きベクトル検出回路が、既検出の動きベクトルから初期偏位ベクトルを検出し、初期偏位ベクトルを用いて検出した偏位ベクトルを初期偏位ベクトルに加算して動きベクトルを検出し、切替制御回路による動きベクトル検出回路で検出される動きベクトルの大きさの判定が、動きベクトル検出回路で検出される初期偏位ベクトルの判定であるようにする。   According to a seventh aspect of the present invention, in the configuration of the sixth aspect, the motion vector detecting circuit detects an initial deviation vector from the already detected motion vector, and the deviation vector detected using the initial deviation vector is initialized. The motion vector is detected by adding to the displacement vector, and the determination of the magnitude of the motion vector detected by the motion vector detection circuit by the switching control circuit is the determination of the initial displacement vector detected by the motion vector detection circuit. Like that.

請求項1の構成によれば、インタレース方式のビデオ信号の動きベクトルを検出する動きベクトル検出装置に適用して、ビデオ信号のフィールド間で動きベクトルを検出してフィールド間の動きベクトルを出力するフィールド間動きベクトル検出手段と、ビデオ信号のフレーム間で動きベクトルを検出してフレーム間の動きベクトルを出力するフレーム間動きベクトル検出手段と、フレーム間の動きベクトル及び又はフィールド間の動きベクトルを所定の判定基準値と比較して比較結果を出力する比較手段と、比較結果に基づいて、所定の条件を満足する場合に、フィールド間の動きベクトルに代えて、フレーム間の動きベクトルを出力する切替手段とを備え、所定の条件を満足する場合が、フレーム間の動きベクトル及び又はフィールド間の動きベクトルが判定基準値より小さい場合であることにより、動き量が小さく、フィールド間の動きベクトルに比してフレーム間の動きベクトルの方が、検出精度が高い場合に、フィールド間の動きベクトルに代えて、フレーム間の動きベクトルを出力することができ、これにより動きベクトルの誤検出を低減することができる。   According to the configuration of the first aspect, the present invention is applied to a motion vector detection device that detects a motion vector of an interlace video signal, detects a motion vector between fields of the video signal, and outputs a motion vector between fields. Inter-field motion vector detection means, inter-frame motion vector detection means for detecting a motion vector between frames of a video signal and outputting an inter-frame motion vector, and inter-frame motion vector and / or inter-field motion vector are predetermined. Comparing means for outputting a comparison result compared to the determination reference value, and switching for outputting a motion vector between frames instead of a motion vector between fields when a predetermined condition is satisfied based on the comparison result And a motion vector between frames and / or between fields when a predetermined condition is satisfied. When the motion vector is smaller than the criterion value, the motion amount is small, and the motion vector between frames has a higher detection accuracy than the motion vector between fields. Instead, motion vectors between frames can be output, thereby reducing motion vector false detection.

また請求項2の構成によれば、インタレース方式のビデオ信号の動きベクトルを検出する動きベクトル検出装置に適用して、ビデオ信号のフィールド間で動きベクトルを検出してフィールド間の動きベクトルを出力するフィールド間動きベクトル検出手段と、ビデオ信号のフレーム間で動きベクトルを検出してフレーム間の動きベクトルを出力するフレーム間動きベクトル検出手段と、フィールド間の動きベクトルにより動き補正して、フィールド間の動きベクトルに係るフィールド間差分値を検出するフィールド間の差分演算手段と、フレーム間の動きベクトルにより動き補正して、フレーム間の動きベクトルに係るフレーム間差分値を検出するフレーム間の差分演算手段と、フィールド間差分値及びフレーム間差分値を比較して比較結果を出力する比較手段と、比較結果に基づいて、所定の条件を満足する場合に、フィールド間の動きベクトルに代えて、フレーム間の動きベクトルを出力する切替手段とを備え、所定の条件を満足する場合が、フィールド間差分値の値よりフレーム間差分値の値が小さい場合であることにより、フィールド間の動きベクトルに比してフレーム間の動きベクトルの方が、信頼性が高いと判断できる場合に、フィールド間の動きベクトルに代えてフレーム間の動きベクトルを出力することができ、これにより動きベクトルの誤検出を低減することができる。   According to the second aspect of the present invention, the present invention is applied to a motion vector detection device for detecting a motion vector of an interlace video signal, detects a motion vector between fields of the video signal, and outputs a motion vector between fields. Inter-field motion vector detection means, inter-frame motion vector detection means for detecting a motion vector between frames of a video signal and outputting an inter-frame motion vector, and motion correction using an inter-field motion vector, The inter-field difference calculation means for detecting the inter-field difference value relating to the motion vector of the frame, and the inter-frame difference calculation for detecting the inter-frame difference value relating to the inter-frame motion vector by performing motion correction by the inter-frame motion vector. Comparison results between the field and the difference value between fields and the difference value between frames Comparing output means, and switching means for outputting a motion vector between frames instead of a motion vector between fields when a predetermined condition is satisfied based on the comparison result, the predetermined condition is satisfied When it is determined that the inter-frame motion vector is more reliable than the inter-field motion vector because the inter-frame difference value is smaller than the inter-field difference value. In addition, it is possible to output a motion vector between frames instead of a motion vector between fields, thereby reducing erroneous detection of motion vectors.

また請求項3の構成によれば、インタレース方式のビデオ信号の動きベクトルを検出する動きベクトル検出装置に適用して、ビデオ信号のフィールド間で動きベクトルを検出してフィールド間の動きベクトルを出力するフィールド間動きベクトル検出手段と、ビデオ信号のフレーム間で動きベクトルを検出してフレーム間の動きベクトルを出力するフレーム間動きベクトル検出手段と、フレーム間の動きベクトル及び又はフィールド間の動きベクトルを所定の判定基準値と比較して動きベクトルの比較結果を出力する動きベクトルの比較手段と、フィールド間の動きベクトルにより動き補正して、フィールド間の動きベクトルに係るフィールド間差分値を検出するフィールド間の差分演算手段と、フレーム間の動きベクトルにより動き補正して、フレーム間の動きベクトルに係るフレーム間差分値を検出するフレーム間の差分演算手段と、フィールド間差分値及びフレーム間差分値を比較して差分値の比較結果を出力する差分値の比較手段と、動きベクトルの比較結果、差分値の比較結果に基づいて、所定の条件を満足する場合に、フィールド間の動きベクトルに代えて、フレーム間の動きベクトルを出力する切替手段とを備え、所定の条件を満足する場合が、フレーム間の動きベクトル及び又はフィールド間の動きベクトルが判定基準値よりも小さく、かつフレーム間差分値がフィールド間差分値よりも小さい場合であることにより、動き量が小さく、フィールド間の動きベクトルに比してフレーム間の動きベクトルの方が、検出精度が高い場合であって、かつフィールド間の動きベクトルに比してフレーム間の動きベクトルの方が、信頼性が高いと判断できる場合に、フィールド間の動きベクトルに代えてフレーム間の動きベクトルを出力することができ、これにより動きベクトルの誤検出を低減することができる。   According to the configuration of claim 3, the present invention is applied to a motion vector detecting device for detecting a motion vector of an interlaced video signal, and detects a motion vector between fields of the video signal and outputs a motion vector between fields. An inter-field motion vector detecting means, an inter-frame motion vector detecting means for detecting a motion vector between frames of a video signal and outputting an inter-frame motion vector, and an inter-frame motion vector and / or an inter-field motion vector. A motion vector comparing means for outputting a motion vector comparison result compared with a predetermined determination reference value, and a field for detecting a difference value between fields related to a motion vector between fields by performing motion correction with a motion vector between fields. Motion correction using the difference calculation means between frames and motion vectors between frames An inter-frame difference calculating means for detecting an inter-frame difference value relating to an inter-frame motion vector; and a differential value comparing means for comparing the inter-field difference value and the inter-frame difference value and outputting a difference value comparison result; Switching means for outputting a motion vector between frames instead of a motion vector between fields when a predetermined condition is satisfied based on a comparison result of motion vectors and a comparison result of difference values, When the condition is satisfied, the motion vector between frames and / or the motion vector between fields is smaller than the criterion value, and the inter-frame difference value is smaller than the inter-field difference value. The motion vector between frames has a higher detection accuracy than the motion vector between fields and the motion between fields. When it can be determined that the motion vector between frames is more reliable than the vector, the motion vector between frames can be output instead of the motion vector between fields. Detection can be reduced.

また請求項4の構成により、インタレース方式のビデオ信号の動きベクトルを検出する動きベクトル検出装置に適用して、ビデオ信号を1フィールドの期間だけ遅延させて出力するフィールド遅延回路と、ビデオ信号を1フレームの期間だけ遅延させて出力するフレーム遅延回路と、フィールド遅延回路、フレーム遅延回路の出力信号を選択的に出力する切替回路と、ビデオ信号と、切替回路の出力信号とを用いて動きベクトルを検出する動きベクトル検出回路と、動きベクトル検出回路で検出される動きベクトルの大きさの判定により、ビデオ信号の動きが小さい場合、動きベクトル検出回路でフレーム間で動きベクトル検出するように、切替回路を制御する切替制御回路とを備えるようにすれば、動きベクトルの判定により動きベクトルの検出を切り換えて動きベクトルの誤検出を低減するようにして、1つの動きベクトル検出回路により動きベクトル検出装置を構成することができ、その分、全体構成を簡略化することができる。   According to the configuration of claim 4, the present invention is applied to a motion vector detecting device for detecting a motion vector of an interlaced video signal, a field delay circuit for delaying and outputting the video signal by a period of one field, and a video signal A motion vector using a frame delay circuit that outputs a delayed signal for a period of one frame, a field delay circuit, a switching circuit that selectively outputs an output signal of the frame delay circuit, a video signal, and an output signal of the switching circuit When the motion of the video signal is small by determining the size of the motion vector detected by the motion vector detection circuit and the motion vector detection circuit, the motion vector detection circuit switches to detect the motion vector between frames. A switching control circuit for controlling the circuit, the motion vector is determined by the motion vector determination. So as to reduce the erroneous detection of a motion vector by switching the detection, by a single motion vector detection circuit can be configured a motion vector detection apparatus, which makes it possible to simplify the entire configuration.

また請求項5の構成により、請求項4の構成において、切替制御回路は、フィールド単位で、切替回路を制御すれば、フィールド単位で、フィールド間による動きベクトルの検出とフレーム間による動きベクトルの検出とを切り換えることができる。   According to the configuration of claim 5, in the configuration of claim 4, if the switching control circuit controls the switching circuit in units of fields, detection of motion vectors between fields and detection of motion vectors between frames in units of fields. And can be switched.

また請求項6の構成により、請求項4の構成において、切替制御回路は、マクロブロック単位で、切替回路を制御すれば、マクロブロック単位で、フィールド間による動きベクトルの検出とフレーム間による動きベクトルの検出とを切り換えることができる。   According to the configuration of claim 6, in the configuration of claim 4, if the switching control circuit controls the switching circuit in units of macroblocks, detection of motion vectors between fields and motion vectors between frames in units of macroblocks. Can be switched.

また請求項7の構成により、請求項6の構成において、動きベクトル検出回路が、既検出の動きベクトルから初期偏位ベクトルを検出し、初期偏位ベクトルを用いて検出した偏位ベクトルを初期偏位ベクトルに加算して動きベクトルを検出し、切替制御回路による動きベクトル検出回路で検出される動きベクトルの大きさの判定が、動きベクトル検出回路で検出される初期偏位ベクトルの判定であるようにすれば、1つの動きベクトル検出回路を用いて、マクロブロック単位で、フィールド間による動きベクトルの検出とフレーム間による動きベクトルの検出とを切り換える場合に、動きベクトルの検出精度を向上することができる。   According to the configuration of claim 7, in the configuration of claim 6, the motion vector detection circuit detects an initial deviation vector from the already detected motion vector, and the detected deviation vector is detected using the initial deviation vector. The motion vector is detected by adding to the position vector, and the determination of the magnitude of the motion vector detected by the motion vector detection circuit by the switching control circuit seems to be the determination of the initial deviation vector detected by the motion vector detection circuit. In this case, when one motion vector detection circuit is used to switch between motion vector detection between fields and motion vector detection between frames in units of macroblocks, the motion vector detection accuracy can be improved. it can.

本発明によれば、インタレース方式のビデオ信号で動きベクトルを検出する場合に、従来に比して一段と動きベクトルの誤検出を低減することができる。   According to the present invention, when a motion vector is detected with an interlaced video signal, it is possible to further reduce the erroneous detection of the motion vector as compared with the conventional case.

以下、適宜図面を参照しながら本発明の実施例を詳述する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings as appropriate.

(1)実施例の構成
図2は、本発明の実施例1に係る動きベクトル検出装置を示すブロック図である。この動きベクトル検出装置1は、例えばフォーマット変換装置、MPEG(Moving Picture Experts Group)等による符号化装置、ノイズ軽減装置等に適用されて、インタレースのビデオ信号を構成する輝度信号Yから動きベクトルVを検出して出力する。なお動きベクトルの検出においては、輝度信号Yを使用する場合に限らず、色差信号R−Y、B−Yを使用することも可能である。
(1) Configuration of Embodiment FIG. 2 is a block diagram showing a motion vector detection apparatus according to Embodiment 1 of the present invention. The motion vector detection device 1 is applied to, for example, a format conversion device, a coding device based on MPEG (Moving Picture Experts Group), a noise reduction device, and the like, and uses a motion vector V from a luminance signal Y constituting an interlaced video signal. Is detected and output. In the detection of the motion vector, not only when the luminance signal Y is used, but the color difference signals RY and BY can also be used.

この動きベクトル検出装置1において、前置フィルタ2は、二次元のローパスフィルタであり、輝度信号Yを入力して高域成分を抑圧し、これによりノイズによる動きベクトルの誤検出を防止する。また前置フィルタ2は、偶数フィールドと奇数フィールドとで垂直方向のタップ係数を切り換えることによりいわゆる重心補正の処理を実行する。なおこの前置フィルタ2は、ローパスフィルタに限らず、帯域通過フィルタを適用することもできる。   In this motion vector detection device 1, the pre-filter 2 is a two-dimensional low-pass filter, which receives the luminance signal Y and suppresses high frequency components, thereby preventing erroneous detection of motion vectors due to noise. The pre-filter 2 performs so-called center-of-gravity correction processing by switching the tap coefficient in the vertical direction between the even field and the odd field. The pre-filter 2 is not limited to a low-pass filter, and a band-pass filter can be applied.

1フィールド遅延回路3は、この前置フィルタ2から輝度信号Yを入力し、1フィールドの期間だけ遅延させて出力する。   The 1-field delay circuit 3 receives the luminance signal Y from the pre-filter 2 and outputs it after being delayed by a period of 1 field.

動きベクトル検出回路4は、勾配法により、1フィールド遅延回路3から出力される輝度信号Y1を基準にして前置フィルタ2から出力される輝度信号Yの動きベクトルV1を順次検出して出力する。なおこの実施例では、前置フィルタ2から出力される輝度信号Yに順次マクロブロックを設定して、マクロブロック単位で動きベクトルV1を検出するようになされ、このマクロブロックが8画素×8ラインの大きさに設定されるようになされている。   The motion vector detection circuit 4 sequentially detects and outputs the motion vector V1 of the luminance signal Y output from the prefilter 2 based on the luminance signal Y1 output from the one-field delay circuit 3 by the gradient method. In this embodiment, macroblocks are sequentially set in the luminance signal Y output from the pre-filter 2, and the motion vector V1 is detected in units of macroblocks. This macroblock is composed of 8 pixels × 8 lines. It is designed to be set to size.

これにより動きベクトル検出装置1では、前置フィルタ2、1フィールド遅延回路3及び動きベクトル検出回路4により、フィールド間で動きベクトルV1を検出してフィールド間の動きベクトルV1を出力するフィールド間動きベクトル検出手段を構成するようになされている。   Thus, in the motion vector detection device 1, the pre-filter 2, the 1-field delay circuit 3, and the motion vector detection circuit 4 detect the motion vector V1 between fields and output the motion vector V1 between fields. The detection means is configured.

またこれに対して、前置フィルタ5は、2次元のローパスフィルタであり、輝度信号Yを入力して高域成分を抑圧し、これによりノイズによる動きベクトルの誤検出を防止する。なおこの前置フィルタ5は、ローパスフィルタに限らず、帯域通過フィルタを適用することもできる。   On the other hand, the pre-filter 5 is a two-dimensional low-pass filter, which receives the luminance signal Y and suppresses high frequency components, thereby preventing erroneous detection of motion vectors due to noise. The pre-filter 5 is not limited to a low-pass filter, and a band-pass filter can also be applied.

1フレーム遅延回路6は、この前置フィルタ5から輝度信号Yを入力し、1フレームの期間だけ遅延させて出力する。   The 1-frame delay circuit 6 receives the luminance signal Y from the pre-filter 5 and outputs it after being delayed by a period of 1 frame.

動きベクトル検出回路7は、勾配法により、1フレーム遅延回路6から出力される輝度信号Y2を基準にして前置フィルタ5から出力される輝度信号Yの動きベクトルV2を順次検出して出力する。なおこの実施例において、動きベクトル検出回路7は、フィールド間で動きベクトルを検出する動きベクトル検出回路4と同一にマクロブロックを設定して各マクロブロック毎に動きベクトルを検出する。   The motion vector detection circuit 7 sequentially detects and outputs the motion vector V2 of the luminance signal Y output from the pre-filter 5 based on the luminance signal Y2 output from the one-frame delay circuit 6 by the gradient method. In this embodiment, the motion vector detection circuit 7 sets a macroblock in the same manner as the motion vector detection circuit 4 that detects a motion vector between fields, and detects a motion vector for each macroblock.

これにより動きベクトル検出装置1では、前置フィルタ5、1フレーム遅延回路6及び動きベクトル検出回路7により、フレーム間で動きベクトルV2を検出してフレーム間の動きベクトルV2を出力するフレーム間動きベクトル検出手段を構成するようになされている。   Thus, in the motion vector detection device 1, the pre-filter 5, the one-frame delay circuit 6 and the motion vector detection circuit 7 detect the motion vector V2 between frames and output the motion vector V2 between frames. The detection means is configured.

比較/切替回路8は、動きベクトル検出回路4で検出されるフィールド間の動きベクトルV1を輝度信号Yの動きベクトルVとして出力し、所定の条件を満足する場合には、この動きベクトルVの出力を切り換え、フィールド間の動きベクトルV1に代えて、動きベクトル検出回路7で検出されるフレーム間の動きベクトルV2をフィールド間の動きベクトルに換算して出力する。   The comparison / switching circuit 8 outputs the inter-field motion vector V1 detected by the motion vector detection circuit 4 as the motion vector V of the luminance signal Y, and outputs the motion vector V when a predetermined condition is satisfied. , And instead of the motion vector V1 between fields, the motion vector V2 between frames detected by the motion vector detection circuit 7 is converted into a motion vector between fields and output.

すなわち図1に示すように、比較/切替回路8において、メモリ回路11は、1フィールド遅延回路3から出力される輝度信号Y1を記録して保持し、この保持した輝度信号Y1をマクロブロックに対応する大きさの領域単位で出力する。この処理おいて、メモリ回路11は、輝度信号Y1の書き込みに供した書き込みアドレスに対して、動きベクトル検出回路4で検出した動きベクトルV1の分、読み出しアドレスを偏位させたアドレス制御により保持した輝度信号Y1を出力し、これにより保持した輝度信号Y1を動きベクトルV1で動き補正して出力する。   That is, as shown in FIG. 1, in the comparison / switching circuit 8, the memory circuit 11 records and holds the luminance signal Y1 output from the one-field delay circuit 3, and the held luminance signal Y1 corresponds to the macro block. Output in units of area of the size you want. In this process, the memory circuit 11 holds the address by shifting the read address by the amount of the motion vector V1 detected by the motion vector detection circuit 4 with respect to the write address used for writing the luminance signal Y1. The luminance signal Y1 is output, and the luminance signal Y1 held thereby is corrected by the motion vector V1 and output.

メモリ回路12は、1フレーム遅延回路6から出力される輝度信号Y2を記録して保持し、この保持した輝度信号Y2をマクロブロックに対応する大きさの領域単位で出力する。この処理おいて、メモリ回路12は、輝度信号Y2の書き込みに供した書き込みアドレスに対して、動きベクトル検出回路7で検出した動きベクトルV2の分、読み出しアドレスを偏位させたアドレス制御により保持した輝度信号Y2を出力し、これにより保持した輝度信号Y2を動きベクトルV2で動き補正して出力する。   The memory circuit 12 records and holds the luminance signal Y2 output from the one-frame delay circuit 6, and outputs the held luminance signal Y2 in units of areas corresponding to macroblocks. In this processing, the memory circuit 12 holds the address by shifting the read address by the amount of the motion vector V2 detected by the motion vector detection circuit 7 with respect to the write address used for writing the luminance signal Y2. The luminance signal Y2 is output, and the luminance signal Y2 held thereby is corrected by the motion vector V2 and output.

評価回路13は、前置フィルタ2から出力される輝度信号Yのマクロブロック単位で、メモリ回路11から出力される輝度信号と、現フィールドの輝度信号Yとの間で、フィールド間差分値DFD1を計算する。また評価回路13は、前置フィルタ5から出力される輝度信号Yのマクロブロック単位で、メモリ回路12から出力される輝度信号と、現フィールドの輝度信号Yとの間で、フレーム間差分値DFD2を計算する。なおこの実施例において、このフィールド間差分値DFD1及びフレーム間差分値DFD2には、対応する画素間で画素値の差分値を計算し、この差分値の絶対値をマクロブロック毎に加算した差分絶対値和が適用されるようになされている。なおフィールド間差分値DFD1、フレーム間差分値DFD2には、このような差分値の2乗和を適用するようにしてもよい。評価回路13は、これらの計算結果をベクトル値比較/切替回路14に出力する。これらによりメモリ回路11及び評価回路13は、フィールド間の動きベクトルV1により動き補正して、フィールド間の動きベクトルV1に係るフィールド間差分値DFD1を検出するフィールド間の差分演算手段を構成するのに対し、メモリ回路12及び評価回路13は、フレーム間の動きベクトルV2により動き補正して、フレーム間の動きベクトルV2に係るフレーム間差分値DFD2を検出するフレーム間の差分演算手段を構成するようになされている。   The evaluation circuit 13 calculates the inter-field difference value DFD1 between the luminance signal output from the memory circuit 11 and the luminance signal Y of the current field in units of macroblocks of the luminance signal Y output from the prefilter 2. calculate. In addition, the evaluation circuit 13 performs the inter-frame difference value DFD2 between the luminance signal output from the memory circuit 12 and the luminance signal Y of the current field in units of macroblocks of the luminance signal Y output from the prefilter 5. Calculate In this embodiment, for the inter-field difference value DFD1 and inter-frame difference value DFD2, the difference value of the pixel value is calculated between the corresponding pixels, and the absolute value of the difference value is added for each macroblock. A sum of values is applied. Note that the sum of squares of such difference values may be applied to the inter-field difference value DFD1 and the inter-frame difference value DFD2. The evaluation circuit 13 outputs these calculation results to the vector value comparison / switching circuit 14. As a result, the memory circuit 11 and the evaluation circuit 13 constitute an inter-field difference calculation means for detecting the inter-field difference value DFD1 related to the inter-field motion vector V1 by performing motion correction with the inter-field motion vector V1. On the other hand, the memory circuit 12 and the evaluation circuit 13 constitute an inter-frame difference calculating means for detecting the inter-frame difference value DFD2 related to the inter-frame motion vector V2 by performing motion correction with the inter-frame motion vector V2. Has been made.

ベクトル値比較/切替回路14は、このようにして検出される差分値DFD1、DFD2、フレーム間の動きベクトルV2に基づいて、所定の条件を満足する場合に、フィールド間の動きベクトルV1に代えてフレーム間の動きベクトルV2をフィールド間の動きベクトルに換算して出力し、比較/切替回路8では、このベクトル値比較/切替回路14から出力される動きベクトルVを出力するようになされている。   The vector value comparison / switching circuit 14 replaces the inter-field motion vector V1 when a predetermined condition is satisfied based on the difference values DFD1, DFD2 and the inter-frame motion vector V2 thus detected. The motion vector V2 between frames is converted into a motion vector between fields and output, and the comparison / switching circuit 8 outputs the motion vector V output from the vector value comparison / switching circuit 14.

このためベクトル値比較/切替回路14は、動きベクトル検出回路7から出力されるフレーム間の動きベクトルV2を所定の判定基準値αと比較することにより、動き量を判定する。なお判定基準値αは、オペレータの操作により設定された値が適用され、又は事前に設定された固定値が適用される。   Therefore, the vector value comparison / switching circuit 14 determines the amount of motion by comparing the inter-frame motion vector V2 output from the motion vector detection circuit 7 with a predetermined determination reference value α. As the determination reference value α, a value set by an operator's operation is applied, or a fixed value set in advance is applied.

ここでフレーム間で検出した動きベクトルV2の大きさが判定基準値αよりも小さい場合は、動き量が小さい場合であり、この場合は、フィールド間で検出したフィールド間の動きベクトルV1に比して、フレーム間で検出したフレーム間の動きベクトルV2をフィールド間の動きベクトルに換算した方が、高い精度により動きベクトルを検出することができる。因みに静止画像でも、重心補正によりフィールド間差分値は、値「0」にならないのに対し、フレーム間差分値は、静止画像で値「0」になり、これによりフレーム間で検出したフレーム間の動きベクトルV2をフィールド間の動きベクトルに換算した方が、高い精度により動きベクトルを検出することができる。   Here, when the magnitude of the motion vector V2 detected between the frames is smaller than the determination reference value α, the motion amount is small. In this case, the motion vector V1 detected between the fields is compared with the motion vector V1 detected between the fields. Thus, when the inter-frame motion vector V2 detected between frames is converted into a motion vector between fields, the motion vector can be detected with higher accuracy. Incidentally, even in a still image, the inter-field difference value does not become the value “0” by the gravity center correction, whereas the inter-frame difference value becomes a value “0” in the still image, and thereby, between the frames detected between the frames. The motion vector can be detected with higher accuracy by converting the motion vector V2 into a motion vector between fields.

しかしながらこのように動きベクトルV2の大きさによりフレーム間の動きベクトルV2を選択する場合にあっても、必ずしも誤検出を防止できない。これによりベクトル値比較/切替回路14は、さらにフィールド間差分値DFD1とフレーム間差分値DFD2とを比較し、フレーム間で検出した動きベクトルV2の大きさが判定基準値αよりも小さい場合であって、かつフィールド間差分値DFD1よりフレーム間差分値DFD2が小さい場合に、フィールド間の動きベクトルV1に代えて、フレーム間の動きベクトルV2をフィールド間の動きベクトルに換算して出力する。なおこのフィールド間の動きベクトルへの換算にあっては、単に、動きベクトルV2の値を1/2にして実行される。   However, even when the motion vector V2 between frames is selected according to the magnitude of the motion vector V2, erroneous detection cannot always be prevented. Thereby, the vector value comparison / switching circuit 14 further compares the inter-field difference value DFD1 with the inter-frame difference value DFD2, and the magnitude of the motion vector V2 detected between frames is smaller than the determination reference value α. When the inter-frame difference value DFD2 is smaller than the inter-field difference value DFD1, the inter-frame motion vector V2 is converted into an inter-field motion vector instead of the inter-field motion vector V1 and output. Note that the conversion to the motion vector between the fields is simply performed by setting the value of the motion vector V2 to ½.

なお判定基準値αは、X成分及びY成分について設けられるようになされ、動きベクトルV1、V2の判定基準値αによる判定においては、X成分(VX)及びY成分(VY)について、それぞれ各成分による判定基準により実行され、双方の成分について上述の判定基準を満足する場合には、フィールド間差分値DFD1及びフレーム間差分値DFD2の大小関係を満足することを条件にフレーム間で検出された動きベクトルV2を選択するようになされている。なお判定基準値αによる判定においては、動きベクトルV2の水平方向成分VX及び垂直方向成分VYをMV=(VX2+VY21/2の関係式により処理して判定基準値αと比較するようにしてもよい。 Note that the determination reference value α is provided for the X component and the Y component. In the determination based on the determination reference value α of the motion vectors V1 and V2, the respective components for the X component (VX) and the Y component (VY) are provided. The motion detected between frames on the condition that the magnitude relationship between the inter-field difference value DFD1 and the inter-frame difference value DFD2 is satisfied when the above criteria are satisfied for both components. The vector V2 is selected. In the determination based on the determination reference value α, the horizontal component VX and the vertical component VY of the motion vector V2 are processed by the relational expression MV = (VX 2 + VY 2 ) 1/2 and compared with the determination reference value α. It may be.

これらによりこの実施例1において、評価回路13は、フィールド間の動きベクトルV1により動き補正して、フィールド間の動きベクトルV1に係るフィールド間差分値DFD1を検出するフィールド間の差分演算手段と、フレーム間の動きベクトルV2により動き補正して、フレーム間の動きベクトルV2に係るフレーム間差分値DFD2を検出するフレーム間の差分演算手段を構成し、ベクトル値比較/切替回路14は、フレーム間の動きベクトルV2を所定の判定基準値αと比較して動きベクトルの比較結果を出力する動きベクトルの比較手段と、フィールド間差分値DFD1及びフレーム間差分値DFD2を比較して差分値の比較結果を出力する差分値の比較手段とを構成し、さらにはこれら動きベクトルの比較結果、差分値の比較結果に基づいて、所定の条件を満足する場合に、フィールド間の動きベクトルV1に代えて、フレーム間の動きベクトルV2を出力する切替手段を構成するようになされている。   Thus, in the first embodiment, the evaluation circuit 13 corrects the motion using the inter-field motion vector V1 and detects the inter-field difference value DFD1 related to the inter-field motion vector V1. The inter-frame difference calculating means for detecting the inter-frame difference value DFD2 related to the inter-frame motion vector V2 by performing motion correction with the inter-frame motion vector V2, and the vector value comparison / switching circuit 14 A motion vector comparison unit that compares the vector V2 with a predetermined determination reference value α and outputs a motion vector comparison result, and compares the inter-field difference value DFD1 and the inter-frame difference value DFD2, and outputs the difference value comparison result. Difference value comparison means, and the comparison result of these motion vectors, the ratio of the difference values Based on the results, when a predetermined condition is satisfied, instead of the motion vector V1 between the fields it is adapted to constitute a switching means for outputting the motion vector V2 between frames.

(2)実施例の動作
以上の構成において、この動きベクトル検出装置1において、処理対象であるインタレース方式のビデオ信号の輝度信号Yは(図2)、前置フィルタ2により周波数特性、偶数フィールド及び奇数フィールドにおける重心が補正された後、動きベクトル検出回路4において、フィールド間の動きベクトルV1が検出され、この動きベクトルV1が比較/切替回路8を介して出力され、例えばフィールド内挿等に適用される。
(2) Operation of Embodiment In the above configuration, in the motion vector detecting device 1, the luminance signal Y of the interlaced video signal to be processed (FIG. 2) After the center of gravity in the odd field is corrected, the motion vector detection circuit 4 detects the motion vector V1 between the fields, and the motion vector V1 is output via the comparison / switching circuit 8, for example, for field interpolation or the like. Applied.

これによりこの動きベクトル検出装置1では、フィールド間で動きベクトル検出することにより、動き量が大きい場合の検出精度の劣化が防止されるようになされている。しかしながらこのようにしてフィールド間の動きベクトルの検出であることにより、さらには重心を事前に補正することにより、動きが小さい場合に、動きベクトルの検出精度が低下することになる。   As a result, in this motion vector detection device 1, by detecting a motion vector between fields, deterioration in detection accuracy when the amount of motion is large is prevented. However, by detecting motion vectors between fields in this way, and further correcting the center of gravity in advance, the motion vector detection accuracy decreases when the motion is small.

このため動きベクトル検出装置1では、このようなフィールド間における動きベクトル検出と同時並列的に、動きベクトル検出回路7でフレーム間の動きベクトルV2が検出される。またフィールド間の動きベクトルV1及びフレーム間の動きベクトルV2により、それぞれ輝度信号Y1、Y2が動き補正されてフィールド間差分値DFD1、フレーム間差分値DFD2が検出される。   For this reason, in the motion vector detection device 1, the motion vector detection circuit 7 detects the motion vector V2 between frames in parallel with the motion vector detection between the fields. Also, the luminance signals Y1 and Y2 are subjected to motion correction by the inter-field motion vector V1 and the inter-frame motion vector V2, and the inter-field difference value DFD1 and inter-frame difference value DFD2 are detected.

この動きベクトル検出装置1では、このようにして検出したフィールド間差分値DFD1、フレーム間差分値DFD2、フレーム間の動きベクトルV2に応じて、フィールド間の動きベクトルV1に代えて、フレーム間の動きベクトルV2がフィールド間の動きベクトルに換算されて出力される。   In this motion vector detection apparatus 1, instead of the inter-field motion vector V1, the inter-frame motion is determined according to the inter-field difference value DFD1, inter-frame difference value DFD2, and inter-frame motion vector V2. The vector V2 is converted into a motion vector between fields and output.

すなわちフレーム間の動きベクトルV2と所定の判定基準値αとの比較により、動きの小さい場合が検出され、またフィールド間差分値DFD1、フレーム間差分値DFD2の比較により、フレーム間の動きベクトルV2により検出される動きの小さい場合において、フレーム間差分値DFD2の方が小さい場合が検出される。これによりこの実施例にいては、動きが小さく、かつフレーム間の動きベクトルの方が信頼性が高いと判断される場合に、フィールド間の動きベクトルV1に代えて、フレーム間の動きベクトルV2が出力され、動きの小さい場合における動きベクトル検出精度の低下が有効に回避され、その分、従来に比して動きベクトルの検出精度を向上することができる。   That is, a case where the motion is small is detected by comparing the motion vector V2 between the frames and the predetermined determination reference value α, and the motion vector V2 between the frames by comparing the inter-field difference value DFD1 and the inter-frame difference value DFD2. When the detected motion is small, the case where the inter-frame difference value DFD2 is smaller is detected. Accordingly, in this embodiment, when it is determined that the motion is small and the motion vector between frames is more reliable, the motion vector V2 between frames is replaced with the motion vector V1 between fields. As a result, a decrease in the accuracy of motion vector detection when the motion is small is effectively avoided, and the motion vector detection accuracy can be improved as compared with the conventional method.

(3)実施例の効果
以上の構成によれば、動きが小さい場合であって、フレーム間差分値がフィールド間差分値より小さい場合、フィールド間による動きベクトルに代えてフレーム間による動きベクトルを出力することにより、従来に比して一段と動きベクトルの誤検出を低減することができる。
(3) Effects of the embodiment According to the above configuration, when the motion is small and the inter-frame difference value is smaller than the inter-field difference value, an inter-frame motion vector is output instead of the inter-field motion vector. By doing so, it is possible to further reduce the erroneous detection of the motion vector as compared with the conventional case.

この実施例に係る動きベクトル検出装置では、図1について上述したベクトル値比較/切替回路14において、フレーム間の動きベクトルV2と所定の判定基準値αとの比較結果により、動きが小さい場合に、フィールド間の動きベクトルV1に代えて、フレーム間の動きベクトルV2をフィールド間の動きベクトルに換算して出力する。この実施例においては、この動きベクトルV2の選択基準に係る構成が異なる点を除いて、実施例1について上述した動きベクトル検出装置1と同一に構成される。   In the motion vector detection apparatus according to this embodiment, when the motion is small in the vector value comparison / switching circuit 14 described above with reference to FIG. 1 based on the comparison result between the motion vector V2 between frames and a predetermined determination reference value α, Instead of the inter-field motion vector V1, the inter-frame motion vector V2 is converted into an inter-field motion vector and output. This embodiment has the same configuration as that of the motion vector detection apparatus 1 described above with respect to the first embodiment except that the configuration related to the selection criterion of the motion vector V2 is different.

これによりこの実施例においては、実施例1に係る動きベクトル検出装置1に比して、検出精度は若干低下するものの、この判定基準に係る構成を簡略化して全体構成を簡略化するようになされている。   As a result, in this embodiment, although the detection accuracy is slightly lower than that of the motion vector detection device 1 according to the first embodiment, the configuration related to this criterion is simplified to simplify the overall configuration. ing.

この実施例によれば、動きが小さい場合、フィールド間による動きベクトルに代えてフレーム間による動きベクトルを出力することにより、従来に比して一段と動きベクトルの誤検出を低減することができる。   According to this embodiment, when the motion is small, by outputting a motion vector between frames instead of a motion vector between fields, it is possible to further reduce the erroneous detection of the motion vector as compared with the prior art.

この実施例に係る動きベクトル検出装置では、図1について上述したベクトル値比較/切替回路14において、フレーム間差分値DFD2がフィールド間差分値DFD1よりも小さい場合に、フィールド間の動きベクトルV1に代えて、フレーム間の動きベクトルV2をフィールド間の動きベクトルに換算して出力する。この実施例においては、この動きベクトルV2の選択基準に係る構成が異なる点を除いて、実施例1について上述した動きベクトル検出装置1と同一に構成される。   In the motion vector detection apparatus according to this embodiment, when the inter-frame difference value DFD2 is smaller than the inter-field difference value DFD1 in the vector value comparison / switching circuit 14 described above with reference to FIG. Thus, the motion vector V2 between frames is converted into a motion vector between fields and output. This embodiment has the same configuration as that of the motion vector detection apparatus 1 described above with respect to the first embodiment except that the configuration related to the selection criterion of the motion vector V2 is different.

これによりこの実施例においては、実施例1に係る動きベクトル検出装置1に比して、検出精度は若干低下するものの、この判定基準に係る構成を簡略化して全体構成を簡略化するようになされている。   As a result, in this embodiment, although the detection accuracy is slightly lower than that of the motion vector detection device 1 according to the first embodiment, the configuration related to this criterion is simplified to simplify the overall configuration. ing.

この実施例によれば、フレーム間差分値DFD2がフィールド間差分値DFD1よりも小さい場合に、フィールド間による動きベクトルに代えてフレーム間による動きベクトルを出力することにより、従来に比して一段と動きベクトルの誤検出を低減することができる。   According to this embodiment, when the inter-frame difference value DFD2 is smaller than the inter-field difference value DFD1, the motion vector between the frames is output instead of the motion vector between the fields. Vector false detection can be reduced.

なお上述の実施例1、実施例2においては、フレーム間の動きベクトルV2を所定の判定基準値αで判定して動きの小さい場合を検出する場合について述べたが、この実施例では、フレーム間の動きベクトルV2に代えて、フィールド間の動きベクトルV1により動きの大きさを判定する。   In the first embodiment and the second embodiment described above, the case where the motion vector V2 between frames is determined by the predetermined determination reference value α to detect a case where the motion is small has been described. Instead of the motion vector V2, the magnitude of motion is determined by the motion vector V1 between fields.

この実施例のようにフレーム間の動きベクトルV2に代えて、フィールド間の動きベクトルV1により動きの大きさを判定するようにしても、上述の実施例と同様の効果を得ることができる。   Even if the magnitude of motion is determined by the motion vector V1 between fields instead of the motion vector V2 between frames as in this embodiment, the same effect as in the above-described embodiment can be obtained.

図3は、本発明の実施例5に係る動きベクトル検出装置を示すブロック図である。この動きベクトル検出装置21は、インタレース方式のビデオ信号を構成する輝度信号Yから動きベクトルVを検出して出力する。なお動きベクトルの検出においては、輝度信号Yを使用する場合に限らず、色差信号R−Y、B−Yを使用することも可能である。   FIG. 3 is a block diagram showing a motion vector detection apparatus according to Embodiment 5 of the present invention. This motion vector detection device 21 detects and outputs a motion vector V from a luminance signal Y constituting an interlaced video signal. In the detection of the motion vector, not only when the luminance signal Y is used, but the color difference signals RY and BY can also be used.

この動きベクトル検出装置21において、前置フィルタ22、23は、二次元のローパスフィルタであり、輝度信号Yを入力して高域成分を抑圧し、これによりノイズによる動きベクトルの誤検出を防止する。また前置フィルタ22、23は、偶数フィールドと奇数フィールドとで垂直方向のタップ係数を切り換えることによりいわゆる重心補正の処理を実行する。   In this motion vector detection device 21, the pre-filters 22 and 23 are two-dimensional low-pass filters, which input the luminance signal Y and suppress high-frequency components, thereby preventing erroneous detection of motion vectors due to noise. . The pre-filters 22 and 23 execute so-called center-of-gravity correction processing by switching the tap coefficient in the vertical direction between the even field and the odd field.

前置フィルタ24は、同様の2次元のローパスフィルタであり、輝度信号Yを入力して高域成分を抑圧し、これによりノイズによる動きベクトルの誤検出を防止する。なお前置フィルタ24は、必要に応じて省略することもできる。   The pre-filter 24 is a similar two-dimensional low-pass filter that receives the luminance signal Y and suppresses high frequency components, thereby preventing erroneous detection of motion vectors due to noise. The pre-filter 24 can be omitted if necessary.

1フィールド遅延回路25は、この前置フィルタ23から輝度信号Yを入力し、1フィールドの期間だけ遅延させて出力する。1フレーム遅延回路26は、前置フィルタ24から輝度信号Yを入力し、1フレームの期間だけ遅延させて出力する。これらによりこの動きベクトル検出装置21では、輝度信号Yに対して、1フィールド遅延した輝度信号Y1と、1フレーム遅延した輝度信号Y2とを生成する。   The one-field delay circuit 25 receives the luminance signal Y from the pre-filter 23, and outputs it after delaying it for a period of one field. The 1-frame delay circuit 26 receives the luminance signal Y from the pre-filter 24, delays it for a period of 1 frame, and outputs it. Thus, the motion vector detection device 21 generates a luminance signal Y1 delayed by one field and a luminance signal Y2 delayed by one frame with respect to the luminance signal Y.

メモリ回路27は、1フィールド遅延回路25から出力される輝度信号Y1を記録して保持し、この保持した輝度信号Y1を後段の動きベクトル検出回路28の処理に対応して選択的に出力する。メモリ回路28は、1フレーム遅延回路26から出力される輝度信号Y1を記録して保持し、この保持した輝度信号Y1を後段の動きベクトル検出回路28の処理に対応して選択的に出力する。   The memory circuit 27 records and holds the luminance signal Y1 output from the one-field delay circuit 25, and selectively outputs the held luminance signal Y1 corresponding to the processing of the subsequent motion vector detection circuit 28. The memory circuit 28 records and holds the luminance signal Y1 output from the one-frame delay circuit 26, and selectively outputs the held luminance signal Y1 corresponding to the processing of the subsequent motion vector detection circuit 28.

切替回路30は、切替制御回路31の制御により、これらメモリ回路27、28から出力される輝度信号Y1、Y2を選択して動きベクトル検出回路28に出力する。   The switching circuit 30 selects the luminance signals Y 1 and Y 2 output from the memory circuits 27 and 28 under the control of the switching control circuit 31 and outputs them to the motion vector detection circuit 28.

動きベクトル検出回路28は、勾配法により、切替回路30から出力される輝度信号Y1又はY2を基準にして前置フィルタ22から出力される輝度信号Yの動きベクトルV2を順次検出して出力する。なおこの動きベクトルの検出は、勾配法以外の、例えばブロックマッチング法等、種々の手法を広く適用することができる。これにより動きベクトル検出回路28は、切替回路30の設定に応じて、フィールド間又はフレーム間により動きベクトルを検出して出力する。   The motion vector detection circuit 28 sequentially detects and outputs the motion vector V2 of the luminance signal Y output from the prefilter 22 based on the luminance signal Y1 or Y2 output from the switching circuit 30 by the gradient method. For the detection of the motion vector, various methods other than the gradient method, such as a block matching method, can be widely applied. Accordingly, the motion vector detection circuit 28 detects and outputs a motion vector between fields or frames according to the setting of the switching circuit 30.

動きベクトル値設定回路32は、この動きベクトル検出回路28から出力されるフィールド間、フレーム間による動きベクトルV1、V2を入力して出力する。このときこの動きベクトル検出回路28から出力される動きベクトルがフレーム間による動きベクトルV2の場合、フィールド間の動きベクトルV1に換算して出力する。なおこの動きベクトルの換算にあっては、単に、動きベクトルV2の値を1/2にして実行される。   The motion vector value setting circuit 32 inputs and outputs motion vectors V1 and V2 between fields and frames output from the motion vector detection circuit 28. At this time, when the motion vector output from the motion vector detection circuit 28 is a motion vector V2 between frames, the motion vector is converted into a motion vector V1 between fields and output. In this motion vector conversion, the motion vector V2 is simply halved.

ベクトル値比較回路33は、動きベクトル検出回路28から出力されるマクロブロック単位による動きベクトルをフィールド単位で平均値化する。またこの平均値による動きベクトルの大きさを判定基準値αにより判定して判定結果を出力する。なおこの処理において、この動きベクトル検出回路28から出力される動きベクトルがフレーム間による動きベクトルV2の場合、フィールド間の動きベクトルV1に換算して判定基準値αにより判定する。   The vector value comparison circuit 33 averages the motion vectors in units of macro blocks output from the motion vector detection circuit 28 in units of fields. Further, the magnitude of the motion vector based on the average value is determined by the determination reference value α, and the determination result is output. In this process, when the motion vector output from the motion vector detection circuit 28 is a motion vector V2 between frames, the motion vector V1 between fields is converted into a motion vector V1 and determined by the determination reference value α.

切替制御回路31は、このベクトル値比較回路33による判定結果に基づいて、動きベクトル検出回路28から出力される動きベクトルV1、V2が判定基準値α以下の場合、続くフィールドの処理においては、フレーム間で動きベクトル検出するように、切替回路30を制御する。なおここでこの判定基準値αは、実施例1について上述したと同様に、X成分及びY成分についてそれぞれ設けられ、切替回路30は、X成分及びY成分の双方について、動きベクトル検出回路28で検出される動きベクトルV1、V2が判定基準値αより小さい場合、フレーム間で動きベクトル検出するように、切替回路30を制御する。なおこの動きベクトルの大きさの判定は、動きベクトルの水平方向成分VX及び垂直方向成分VYをMV=(VX2 +VY21/2 の関係式により処理して判定基準値αと比較するようにしてもよい。 When the motion vectors V1 and V2 output from the motion vector detection circuit 28 are equal to or less than the determination reference value α based on the determination result by the vector value comparison circuit 33, the switching control circuit 31 The switching circuit 30 is controlled so that a motion vector is detected between them. Here, the determination reference value α is provided for each of the X component and the Y component in the same manner as described above for the first embodiment, and the switching circuit 30 uses the motion vector detection circuit 28 for both the X component and the Y component. When the detected motion vectors V1 and V2 are smaller than the determination reference value α, the switching circuit 30 is controlled so that the motion vector is detected between frames. The magnitude of the motion vector is determined by processing the horizontal direction component VX and the vertical direction component VY of the motion vector with a relational expression of MV = (VX 2 + VY 2 ) 1/2 and comparing it with the determination reference value α. It may be.

これらによりこの実施例では、映像信号の連続するフィールドの高い相間を有効に利用して、直前フィールドで検出される動きベクトルの大きさを判定基準値により判定し、続くフィールドの動きベクトル検出手法をフィールド間とフレーム間とで切り換える。またこのフィールド間とフレーム間との動きベクトル検出の切り換えを、動きベクトル検出回路28に入力する輝度信号Y1、Y2の切り換えにより実行することにより、全体構成を簡略化する。   Thus, in this embodiment, the high phase between successive fields of the video signal is effectively used, the magnitude of the motion vector detected in the immediately preceding field is determined based on the determination reference value, and the motion vector detection method for the subsequent field is determined. Switch between fields and frames. Further, the switching of motion vector detection between fields and frames is executed by switching the luminance signals Y1 and Y2 input to the motion vector detection circuit 28, thereby simplifying the overall configuration.

すなわち上述した実施例1〜4では、フィールド間とフレーム間とで動きベクトル検出回路をそれぞれ設けることが必要なことにより、その分、構成が煩雑になる。しかしながらこの実施例のように、動きベクトル検出回路28に入力する輝度信号Y1、Y2の切り換えにより、フィールド間とフレーム間とで動きベクトル検出を切り換えるようにすれば、1つの動きベクトル検出回路により構成することができ、その分、全体構成を簡略化することができる。   That is, in the first to fourth embodiments described above, since it is necessary to provide motion vector detection circuits between fields and between frames, the configuration becomes complicated accordingly. However, if the motion vector detection is switched between the fields and between the frames by switching the luminance signals Y1 and Y2 input to the motion vector detection circuit 28 as in this embodiment, it is configured by one motion vector detection circuit. The entire configuration can be simplified accordingly.

この実施例では、このように動きベクトル検出回路に入力する輝度信号の切り換えによりフィールド間とフレーム間とで動きベクトル検出を切り換えるようにして、直前フィールドで検出される動きベクトルにより、動きが小さい場合、続くフィールドでフレーム間により動きベクトルを検出することにより、全体構成を簡略化して、従来に比して一段と動きベクトルの誤検出を低減することができる。   In this embodiment, the motion vector detection is switched between the fields and between the frames by switching the luminance signal input to the motion vector detection circuit as described above, and the motion vector detected in the immediately preceding field causes a small motion. By detecting a motion vector between frames in the following field, the overall configuration can be simplified, and erroneous detection of a motion vector can be further reduced as compared with the conventional case.

この実施例6に係る動きベクトル検出装置は、実施例5について上述した判定基準値αによる動きベクトルの判定、動きベクトル検出方法の切り換えを、マクロブロック単位で実行する。これによりこの実施例に係る動きベクトル検出装置は、図3の動きベクトル検出装置21のベクトル値比較回路33において、動きベクトル検出回路28から出力される動きベクトルを順次判定基準値αにより判定し、判定結果を1フィールドの期間だけ遅延させて出力する。なおこの判定の処理において、動きベクトル検出回路28から出力される動きベクトルがフレーム間によるものの場合、大きさを1/2に補正して判定の処理を実行する。また切替制御回路31は、この判定結果により切替回路30をマクロブロック単位で制御する。なおこの実施例に係る動きベクトル検出装置は、これらの動きベクトルの判定、動きベクトル検出方法の切り換え以外を除いて、実施例5に係る動きベクトル検出装置21と同一に構成される。   The motion vector detection apparatus according to the sixth embodiment executes motion vector determination based on the determination reference value α described above with respect to the fifth embodiment and switching of the motion vector detection method in units of macroblocks. Accordingly, the motion vector detection device according to this embodiment sequentially determines the motion vectors output from the motion vector detection circuit 28 based on the determination reference value α in the vector value comparison circuit 33 of the motion vector detection device 21 in FIG. The determination result is output with a delay of one field period. In this determination processing, when the motion vector output from the motion vector detection circuit 28 is between frames, the size is corrected to ½ and the determination processing is executed. Further, the switching control circuit 31 controls the switching circuit 30 in units of macroblocks based on the determination result. The motion vector detection device according to the present embodiment is configured in the same manner as the motion vector detection device 21 according to the fifth embodiment except for determination of these motion vectors and switching of the motion vector detection method.

この実施例においては、動きベクトル検出回路に入力する輝度信号の切り換えによりフィールド間とフレーム間とで動きベクトル検出を切り換えるようにして、マクロブロック単位で、直前フィールドで検出される動きベクトルを判定して動きベクトルの検出を切り換えるようにしても、実施例5と同様の効果を得ることができる。   In this embodiment, motion vector detection is switched between fields and between frames by switching the luminance signal input to the motion vector detection circuit, and the motion vector detected in the immediately preceding field is determined on a macroblock basis. Even if the detection of the motion vector is switched, the same effect as in the fifth embodiment can be obtained.

この実施例においては、反復勾配法により動きベクトルを検出するようにして、この反復勾配法により予測される動きベクトルを判定対象に設定し、マクロブロック単位で、動きベクトルの判定、動きベクトル検出方法を切り換える。   In this embodiment, a motion vector is detected by the iterative gradient method, a motion vector predicted by this iterative gradient method is set as a determination target, and a motion vector determination and motion vector detection method is performed in units of macroblocks. Switch.

すなわち図4に示すよう、この実施例に係る動きベクトル検出装置41は、反復勾配法による動きベクトル検出回路48により動きベクトルVを検出する。なおこの図4は、動きベクトル検出回路48の周辺構成に限って動きベクトル検出装置41の構成を図3の動きベクトル検出装置21との対比により示すブロック図であり、メモリ回路27、28より前段の構成は、動きベクトル検出装置21と同一に構成される。   That is, as shown in FIG. 4, the motion vector detection device 41 according to this embodiment detects a motion vector V by a motion vector detection circuit 48 based on an iterative gradient method. FIG. 4 is a block diagram showing the configuration of the motion vector detection device 41 in comparison with the motion vector detection device 21 of FIG. 3 only in the peripheral configuration of the motion vector detection circuit 48, and is prior to the memory circuits 27 and 28. The configuration is the same as that of the motion vector detection device 21.

ここで反復勾配法による動きベクトル検出回路48は、マクロブロック単位で動きベクトルを検出して、既検出の動きベクトルVをベクトルメモリ51に保持するようにして、このベクトルメモリ51に保持した既検出の動きベクトルVから処理対象マクロブロックに係る動きベクトルの予測値を初期偏位ベクトル選択回路52により検出して初期偏位ベクトルVVに設定する。また勾配法演算回路53において、この初期偏位ベクトルVVを用いて勾配法により偏位ベクトルを検出し、加算回路54において、この偏位ベクトルと初期偏位ベクトルVVとを加算して動きベクトルVを検出する。   Here, the motion vector detection circuit 48 based on the iterative gradient method detects a motion vector in units of macroblocks, holds the detected motion vector V in the vector memory 51, and stores the detected vector stored in the vector memory 51. From the motion vector V, the predicted value of the motion vector related to the processing target macroblock is detected by the initial displacement vector selection circuit 52 and set to the initial displacement vector VV. In addition, the gradient method computing circuit 53 detects the displacement vector by the gradient method using the initial displacement vector VV, and the adding circuit 54 adds the displacement vector and the initial displacement vector VV to add the motion vector VV. Is detected.

なおこの動きベクトル検出装置21では、動きベクトル検出回路48に入力する輝度信号Y1、Y2の切替により、フィールド間、フレーム間で動きベクトル検出回路48で検出する動きベクトルを切り換えることにより、動きベクトル検出回路48は、検出した動きベクトルをベクトルメモリ51に記録する場合、フィールド間による動きベクトルに換算して記録する。またメモリ回路28から出力される輝度信号Y2を処理するようにして、フレーム間で動きベクトルを検出する場合、ベクトルメモリ51に保持した動きベクトルを読み出して初期偏位ベクトルVVを選択する場合に、この初期偏位ベクトルVVの候補ベクトルをフレーム間の動きベクトルに換算して処理する。   In this motion vector detection device 21, motion vector detection is performed by switching the motion vectors detected by the motion vector detection circuit 48 between fields and frames by switching the luminance signals Y1 and Y2 input to the motion vector detection circuit 48. When the detected motion vector is recorded in the vector memory 51, the circuit 48 converts it into a motion vector between fields and records it. Further, when the luminance signal Y2 output from the memory circuit 28 is processed to detect a motion vector between frames, when the motion vector held in the vector memory 51 is read and the initial deviation vector VV is selected, The initial deviation vector VV candidate vector is converted into a motion vector between frames and processed.

この動きベクトル検出装置41は、この処理対象マクロブロックに係る予測値である初期偏位ベクトルVVを動きベクトル値比較回路33により判定基準値αで判定し、この判定結果により動きベクトル検出回路48の入力をマクロブロック単位で切り換える。   The motion vector detection device 41 determines the initial deviation vector VV, which is a predicted value related to the processing target macroblock, by the motion vector value comparison circuit 33 based on the determination reference value α, and based on the determination result, the motion vector detection circuit 48 Switches input in units of macroblocks.

この実施例においては、反復勾配法による初期偏位ベクトルの判定により動きベクトルの大きさを判定してフィールド間とフレーム間とで動きベクトルの検出を切り換えることにより、動きベクトルの予測値である初期偏位ベクトルを判定対象に設定した分、実施例6による場合に比して、一段と高い精度により動きベクトルを検出することができる。   In this embodiment, the magnitude of the motion vector is determined by determining the initial displacement vector by the iterative gradient method, and the detection of the motion vector is switched between the fields and between the frames, so that the initial value that is the predicted value of the motion vector Since the displacement vector is set as the determination target, the motion vector can be detected with higher accuracy than in the case of the sixth embodiment.

なお上述の実施例5〜7に係る動きベクトル検出装置では、遅延回路25、26に続いてメモリ回路27、28を設ける場合について述べたが、これらメモリ回路27、28の機能を遅延回路25、26で確保できる場合、メモリ回路27、28を省略するようにしてもよい。   In the motion vector detection devices according to the fifth to seventh embodiments described above, the case where the memory circuits 27 and 28 are provided subsequent to the delay circuits 25 and 26 has been described. If it can be secured by 26, the memory circuits 27 and 28 may be omitted.

本発明は、動きベクトル検出装置に関し、例えばフォーマット変換装置に適用することができる。   The present invention relates to a motion vector detection device, and can be applied to, for example, a format conversion device.

本発明の実施例に係る動きベクトル検出装置の比較/切替回路を示すブロック図である。It is a block diagram which shows the comparison / switching circuit of the motion vector detection apparatus based on the Example of this invention. 本発明の実施例1に係る動きベクトル検出装置を示すブロック図である。It is a block diagram which shows the motion vector detection apparatus which concerns on Example 1 of this invention. 本発明の実施例5に係る動きベクトル検出装置を示すブロック図である。It is a block diagram which shows the motion vector detection apparatus which concerns on Example 5 of this invention. 本発明の実施例7に係る動きベクトル検出装置を示すブロック図である。It is a block diagram which shows the motion vector detection apparatus which concerns on Example 7 of this invention.

符号の説明Explanation of symbols

1、21、41……動きベクトル検出装置、3、25……1フィールド遅延回路、4、7、28、48……動きベクトル検出回路、6、26……1フレーム遅延回路、8……比較/切替回路、11、12、27、28……メモリ回路、13……評価回路、14……ベクトル値比較/切替回路、30……切替回路、31……切替制御回路、33……ベクトル値比較回路
1, 21, 41 ... motion vector detection device, 3, 25 ... 1 field delay circuit, 4, 7, 28, 48 ... motion vector detection circuit, 6, 26 ... 1 frame delay circuit, 8 ... comparison / Switching circuit 11, 12, 27, 28 ... memory circuit, 13 ... evaluation circuit, 14 ... vector value comparison / switching circuit, 30 ... switching circuit, 31 ... switching control circuit, 33 ... vector value Comparison circuit

Claims (7)

インタレース方式のビデオ信号の動きベクトルを検出する動きベクトル検出装置において、
前記ビデオ信号のフィールド間で動きベクトルを検出してフィールド間の動きベクトルを出力するフィールド間動きベクトル検出手段と、
前記ビデオ信号のフレーム間で動きベクトルを検出してフレーム間の動きベクトルを出力するフレーム間動きベクトル検出手段と、
前記フレーム間の動きベクトル及び又は前記フィールド間の動きベクトルを所定の判定基準値と比較して比較結果を出力する比較手段と、
前記比較結果に基づいて、所定の条件を満足する場合に、前記フィールド間の動きベクトルに代えて、前記フレーム間の動きベクトルを出力する切り替え手段とを備え、
前記所定の条件を満足する場合が、
前記フレーム間の動きベクトル及び又は前記フィールド間の動きベクトルが前記判定基準値より小さい場合である
ことを特徴とする動きベクトル検出装置。
In a motion vector detection device for detecting a motion vector of an interlaced video signal,
An inter-field motion vector detecting means for detecting a motion vector between fields of the video signal and outputting a motion vector between the fields;
Inter-frame motion vector detection means for detecting a motion vector between frames of the video signal and outputting a motion vector between frames;
A comparison means for comparing a motion vector between the frames and / or a motion vector between the fields with a predetermined determination reference value and outputting a comparison result;
Switching means for outputting a motion vector between the frames instead of the motion vector between the fields when a predetermined condition is satisfied based on the comparison result;
When the predetermined condition is satisfied,
A motion vector detection apparatus, wherein a motion vector between frames and / or a motion vector between fields is smaller than the determination reference value.
インタレース方式のビデオ信号の動きベクトルを検出する動きベクトル検出装置において、
前記ビデオ信号のフィールド間で動きベクトルを検出してフィールド間の動きベクトルを出力するフィールド間動きベクトル検出手段と、
前記ビデオ信号のフレーム間で動きベクトルを検出してフレーム間の動きベクトルを出力するフレーム間動きベクトル検出手段と、
前記フィールド間の動きベクトルにより動き補正して、前記フィールド間の動きベクトルに係るフィールド間差分値を検出するフィールド間の差分演算手段と、
前記フレーム間の動きベクトルにより動き補正して、前記フレーム間の動きベクトルに係るフレーム間差分値を検出するフレーム間の差分演算手段と、
前記フィールド間差分値及び前記フレーム間差分値を比較して比較結果を出力する比較手段と、
前記比較結果に基づいて、所定の条件を満足する場合に、前記フィールド間の動きベクトルに代えて、前記フレーム間の動きベクトルを出力する切替手段とを備え、
前記所定の条件を満足する場合が、
前記フィールド間差分値の値より前記フレーム間差分値の値が小さい場合である
ことを特徴とする動きベクトル検出装置。
In a motion vector detection device for detecting a motion vector of an interlaced video signal,
An inter-field motion vector detecting means for detecting a motion vector between fields of the video signal and outputting a motion vector between the fields;
Inter-frame motion vector detection means for detecting a motion vector between frames of the video signal and outputting a motion vector between frames;
A field difference calculation means for detecting a difference value between fields related to a motion vector between the fields by performing motion correction with the motion vector between the fields;
A frame-to-frame difference calculating means for detecting a frame-to-frame difference value related to the motion vector between the frames by performing motion correction with the frame-to-frame motion vector;
A comparing means for comparing the inter-field difference value and the inter-frame difference value and outputting a comparison result;
Switching means for outputting a motion vector between the frames instead of the motion vector between the fields when a predetermined condition is satisfied based on the comparison result;
When the predetermined condition is satisfied,
The motion vector detection device, wherein the inter-frame difference value is smaller than the inter-field difference value.
インタレース方式のビデオ信号の動きベクトルを検出する動きベクトル検出装置において、
前記ビデオ信号のフィールド間で動きベクトルを検出してフィールド間の動きベクトルを出力するフィールド間動きベクトル検出手段と、
前記ビデオ信号のフレーム間で動きベクトルを検出してフレーム間の動きベクトルを出力するフレーム間動きベクトル検出手段と、
前記フレーム間の動きベクトル及び又は前記フィールド間の動きベクトルを所定の判定基準値と比較して動きベクトルの比較結果を出力する動きベクトルの比較手段と、
前記フィールド間の動きベクトルにより動き補正して、前記フィールド間の動きベクトルに係るフィールド間差分値を検出するフィールド間の差分演算手段と、
前記フレーム間の動きベクトルにより動き補正して、前記フレーム間の動きベクトルに係るフレーム間差分値を検出するフレーム間の差分演算手段と、
前記フィールド間差分値及び前記フレーム間差分値を比較して差分値の比較結果を出力する差分値の比較手段と、
前記動きベクトルの比較結果、前記差分値の比較結果に基づいて、所定の条件を満足する場合に、前記フィールド間の動きベクトルに代えて、前記フレーム間の動きベクトルを出力する切替手段とを備え、
前記所定の条件を満足する場合が、前記フレーム間の動きベクトル及び又は前記フィールド間の動きベクトルが前記判定基準値よりも小さく、かつ前記フレーム間差分値が前記フィールド間差分値よりも小さい場合である
ことを特徴とする動きベクトル検出装置。
In a motion vector detection device for detecting a motion vector of an interlaced video signal,
An inter-field motion vector detecting means for detecting a motion vector between fields of the video signal and outputting a motion vector between the fields;
Inter-frame motion vector detection means for detecting a motion vector between frames of the video signal and outputting a motion vector between frames;
A motion vector comparing means for comparing a motion vector between the frames and / or a motion vector between the fields with a predetermined criterion value, and outputting a motion vector comparison result;
A field difference calculation means for detecting a difference value between fields related to a motion vector between the fields by performing motion correction with the motion vector between the fields;
A frame-to-frame difference calculating means for detecting a frame-to-frame difference value related to the motion vector between the frames by performing motion correction with the frame-to-frame motion vector;
A difference value comparing means for comparing the inter-field difference value and the inter-frame difference value and outputting a difference value comparison result;
Switching means for outputting a motion vector between the frames instead of the motion vector between the fields when a predetermined condition is satisfied based on the comparison result of the motion vector and the comparison result of the difference value; ,
The case where the predetermined condition is satisfied is when the motion vector between the frames and / or the motion vector between the fields is smaller than the determination reference value and the inter-frame difference value is smaller than the inter-field difference value. A motion vector detection device characterized by being.
インタレース方式のビデオ信号の動きベクトルを検出する動きベクトル検出装置において、
前記ビデオ信号を1フィールドの期間だけ遅延させて出力するフィールド遅延回路と、
前記ビデオ信号を1フレームの期間だけ遅延させて出力するフレーム遅延回路と、
前記フィールド遅延回路、前記フレーム遅延回路の出力信号を選択的に出力する切替回路と、
前記ビデオ信号と、前記切替回路の出力信号とを用いて動きベクトルを検出する動きベクトル検出回路と、
前記動きベクトル検出回路で検出される動きベクトルの大きさの判定により、前記ビデオ信号の動きが小さい場合、前記動きベクトル検出回路でフレーム間で動きベクトル検出するように、前記切替回路を制御する切替制御回路と
を備えることを特徴とする動きベクトル検出装置。
In a motion vector detection device for detecting a motion vector of an interlaced video signal,
A field delay circuit for outputting the video signal with a delay of one field period;
A frame delay circuit for outputting the video signal with a delay of one frame period;
A switching circuit that selectively outputs an output signal of the field delay circuit and the frame delay circuit;
A motion vector detection circuit for detecting a motion vector using the video signal and an output signal of the switching circuit;
Switching for controlling the switching circuit so that the motion vector detection circuit detects a motion vector between frames when the motion of the video signal is small by determining the magnitude of the motion vector detected by the motion vector detection circuit. A motion vector detecting device comprising: a control circuit.
前記切替制御回路は、
フィールド単位で、前記切替回路を制御する
ことを特徴とする請求項4に記載の動きベクトル検出装置。
The switching control circuit includes:
The motion vector detection device according to claim 4, wherein the switching circuit is controlled in a field unit.
前記切替制御回路は、
マクロブロック単位で、前記切替回路を制御する
ことを特徴とする請求項4に記載の動きベクトル検出装置。
The switching control circuit includes:
The motion vector detection device according to claim 4, wherein the switching circuit is controlled in units of macroblocks.
前記動きベクトル検出回路が、既検出の前記動きベクトルから初期偏位ベクトルを検出し、前記初期偏位ベクトルを用いて検出した偏位ベクトルを前記初期偏位ベクトルに加算して前記動きベクトルを検出し、
前記切替制御回路による前記動きベクトル検出回路で検出される動きベクトルの大きさの判定が、前記動きベクトル検出回路で検出される前記初期偏位ベクトルの判定である
ことを特徴とする請求項6に記載の動きベクトル検出装置。
The motion vector detection circuit detects an initial deviation vector from the detected motion vector, and adds the deviation vector detected using the initial deviation vector to the initial deviation vector to detect the motion vector. And
The determination of the magnitude of the motion vector detected by the motion vector detection circuit by the switching control circuit is the determination of the initial deviation vector detected by the motion vector detection circuit. The motion vector detection device described.
JP2004264827A 2004-01-15 2004-09-13 Motion vector detecting apparatus Pending JP2005229568A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004264827A JP2005229568A (en) 2004-01-15 2004-09-13 Motion vector detecting apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004007451 2004-01-15
JP2004264827A JP2005229568A (en) 2004-01-15 2004-09-13 Motion vector detecting apparatus

Publications (1)

Publication Number Publication Date
JP2005229568A true JP2005229568A (en) 2005-08-25

Family

ID=35003915

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004264827A Pending JP2005229568A (en) 2004-01-15 2004-09-13 Motion vector detecting apparatus

Country Status (1)

Country Link
JP (1) JP2005229568A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016071591A (en) * 2014-09-30 2016-05-09 アズビル株式会社 Collation apparatus and collation method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016071591A (en) * 2014-09-30 2016-05-09 アズビル株式会社 Collation apparatus and collation method

Similar Documents

Publication Publication Date Title
US7365801B2 (en) Apparatus and method for processing signal
KR20060047638A (en) Film mode correction in still areas
JP5081898B2 (en) Interpolated image generation method and system
JP2007122232A (en) Image processor and program
KR20070063369A (en) Apparatus and method for compensating frame based on motion estimation
US8345148B2 (en) Method and system for inverse telecine and scene change detection of progressive video
WO2006114951A1 (en) Image processing device and image processing program
JP2005051460A (en) Apparatus and method for processing video signal
WO1992007443A1 (en) Picture movement detector
JP2006203597A (en) Digital image decoder and decoding method
JP2007243627A (en) Video signal processor
JP2005229568A (en) Motion vector detecting apparatus
JP2947103B2 (en) Moving picture coding apparatus and moving picture coding method
JP4261381B2 (en) Video signal processing device
JP2006129326A (en) Motion vector detecting device
JP4454380B2 (en) 3D noise reduction circuit and video signal processing apparatus
JP2008118340A (en) Motion vector detecting device and video signal processor
JP2005505212A (en) Static region detection
JP2004180044A (en) Motion vector processing method and motion vector processing circuit
JP2005202921A (en) Motion vector detector
JP3022977B2 (en) Television signal interpolation method
JP5300568B2 (en) Video processing apparatus and control method thereof
KR100624304B1 (en) Apparatus and method for de-interlacing adaptively field image by using motion
JP2006031597A (en) Motion vector detection device
WO2009057372A1 (en) Sequential scanning conversion device and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070906

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090730

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090804

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20091201