JPH06105211A - Motion vector detection circuit - Google Patents
Motion vector detection circuitInfo
- Publication number
- JPH06105211A JPH06105211A JP4078983A JP7898392A JPH06105211A JP H06105211 A JPH06105211 A JP H06105211A JP 4078983 A JP4078983 A JP 4078983A JP 7898392 A JP7898392 A JP 7898392A JP H06105211 A JPH06105211 A JP H06105211A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- representative point
- detection
- motion vector
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 147
- 239000013598 vector Substances 0.000 title claims abstract description 42
- 230000007704 transition Effects 0.000 claims abstract description 16
- 230000001186 cumulative effect Effects 0.000 claims description 13
- 238000009825 accumulation Methods 0.000 abstract description 6
- 238000012935 Averaging Methods 0.000 abstract 1
- 238000000034 method Methods 0.000 description 46
- 238000010586 diagram Methods 0.000 description 20
- 238000005070 sampling Methods 0.000 description 17
- 238000001914 filtration Methods 0.000 description 3
- 101100350187 Caenorhabditis elegans odd-2 gene Proteins 0.000 description 2
- 238000003384 imaging method Methods 0.000 description 2
- 101100350185 Caenorhabditis elegans odd-1 gene Proteins 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明はビデオカメラの手ぶれ補
正装置等に用いて好適な動きベクトル検出回路に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motion vector detection circuit suitable for use in a camera shake correction device of a video camera.
【0002】[0002]
【従来の技術】ビデオカメラにおいて、手ぶれ補正を行
うには動きベクトルの検出が必要となる。この動きベク
トルの検出方法の一つにNational Technical Report Vo
l.37No.3 Jun.1991のP48〜54に示される代表点マ
ッチング法がある。2. Description of the Related Art In a video camera, it is necessary to detect a motion vector in order to perform camera shake correction. One of the methods of detecting this motion vector is National Technical Report Vo.
There is a representative point matching method shown in P48-54 of l.37 No.3 Jun.1991.
【0003】この代表点マッチング法とは、固定の複数
の代表点における1フィールド(あるいは1フレーム)
前の映像信号レベルと代表点を含む検出エリア内のサン
プリング点の映像信号レベルとを比較し、その差がもっ
とも少ない相関性の高い現フィールドのサンプリング点
を求め、このサンプリング点と代表点の差を被写体の動
き、即ち、動きベクトルとして特定するものである。The representative point matching method is one field (or one frame) at a plurality of fixed representative points.
Compare the previous video signal level with the video signal level of the sampling point in the detection area including the representative point, find the sampling point of the current field that has the smallest difference and has a high correlation, and determine the difference between this sampling point and the representative point. Is specified as a motion of the subject, that is, a motion vector.
【0004】この代表点マッチング法を説明する。図9
は撮像エリアを示し、この撮像エリア内には4個の検出
ブロックが設けられている。更に、各検出ブロックは1
6個の検出エリアに区分されている。そして、検出エリ
アには複数のサンプリング点が存在し、その中の一つが
代表点として定められている。The representative point matching method will be described. Figure 9
Indicates an image pickup area, and four detection blocks are provided in this image pickup area. Furthermore, each detection block is 1
It is divided into 6 detection areas. A plurality of sampling points exist in the detection area, and one of them is set as the representative point.
【0005】図10に代表点マッチング法による動きベ
クトル検出回路のブロック図を示す。入力端子1に入力
されるデジタル映像信号は垂直補間回路9にて、インタ
ーレース方式による奇数、偶数フィールド間の垂直方向
の画素位置のずれが修正され、その後、代表点メモリ2
及び相関値演算回路3に供給される。この代表点メモリ
2には各代表点の輝度レベルに応じたデジタルデータが
保存される。相関値演算回路3では現フレームの映像信
号の輝度レベルに応じたデジタルデータと前記代表点メ
モリ2からの1フィールド前のデジタルデータとの差の
絶対値、即ち代表点と検出エリア内における代表点に対
する各変移との輝度の相関が演算される。この相関は相
関値メモリ及び加算器を含む累積加算回路4において、
検出ブロック内の全ての代表点について各変移毎に累積
加算される。この累積加算は4個の検出ブロック毎に行
われる。FIG. 10 shows a block diagram of a motion vector detection circuit by the representative point matching method. The digital video signal input to the input terminal 1 is corrected in the vertical interpolation circuit 9 for vertical pixel position deviation between odd and even fields by the interlace method, and then the representative point memory 2 is used.
And the correlation value calculation circuit 3. The representative point memory 2 stores digital data corresponding to the brightness level of each representative point. In the correlation value calculation circuit 3, the absolute value of the difference between the digital data corresponding to the brightness level of the video signal of the current frame and the digital data one field before from the representative point memory 2, that is, the representative point and the representative point in the detection area. The luminance correlation with each transition for is computed. This correlation is calculated in the cumulative addition circuit 4 including the correlation value memory and the adder,
All representative points in the detection block are cumulatively added for each transition. This cumulative addition is performed for every four detection blocks.
【0006】累積加算回路出力は最小値検出回路5及び
平均値演算回路6に供給される。最小値検出回路5は複
数の変移の中で累積された相関値が最小のものの位置及
びその最小値を検出する。また、平均値演算回路6は累
積された各変移の相関値の平均を算出する。そして、求
められた最小位置、最小値及び平均値は動きベクトル発
生回路7に供給される。動きベクトル発生回路7はマイ
クロコンピュータにより構成され、そのソフトウェア処
理により、まず、各検出ブロック毎に最小位置に基づい
て計4個の動きベクトルを抽出する。次に、この動きベ
クトルの内、最小値/平均値が所定の閾値より小さいも
のを信頼度の低いものとして除去し、残りのものから1
個の動きベクトルを特定する。尚、代表点メモリ2、累
積加算回路4及び平均値演算回路6は制御回路8により
アドレス及びタイミング等が制御される。The output of the cumulative addition circuit is supplied to the minimum value detection circuit 5 and the average value calculation circuit 6. The minimum value detection circuit 5 detects the position of the one having the smallest correlation value among the plurality of transitions and the minimum value thereof. Further, the average value calculation circuit 6 calculates the average of the accumulated correlation values of each transition. Then, the calculated minimum position, minimum value and average value are supplied to the motion vector generation circuit 7. The motion vector generation circuit 7 is composed of a microcomputer, and its software processing first extracts a total of four motion vectors based on the minimum position for each detection block. Next, of the motion vectors, those having a minimum value / average value smaller than a predetermined threshold value are removed as having low reliability, and 1 is selected from the remaining ones.
Individual motion vectors are specified. The address, timing, etc. of the representative point memory 2, the cumulative addition circuit 4, and the average value calculation circuit 6 are controlled by the control circuit 8.
【0007】[0007]
【発明が解決しようとする課題】ビデオカメラにおいて
は、インターレース方式が採用されており、奇数フィー
ルド、偶数フィールドで1フレームが構成される。従っ
て、代表点メモリと現フィールドの画像データとの相関
値を見る場合、例えば代表点メモリは奇数フィールドで
あるとすると現フィールドは偶数フィールドとなる。In the video camera, the interlace system is adopted, and one frame is composed of an odd field and an even field. Therefore, when looking at the correlation value between the representative point memory and the image data of the current field, for example, if the representative point memory is an odd field, the current field is an even field.
【0008】従って、図11に示すように、垂直方向検
出エリアのライン数を、例えば12本とした場合につき
考察する。この図に示すように偶数(even)1の後
奇数(odd)1が、偶数(even)2の後に奇数
(odd)2とこのように奇数フィールド、偶数フィー
ルドが順次交互にデータとして送られてくる。尚、この
図及び後述する図12において、0〜11の数字はライ
ン数即ち代表点メモリのアドレス、□は代表点の位置、
○印は検出エリアの位置、△は前フィールドの代表点の
位置を示す。Therefore, as shown in FIG. 11, the case where the number of lines in the vertical direction detection area is, for example, 12 will be considered. As shown in this figure, even 1 is followed by odd 1 and odd 2 is followed by odd 2 and thus odd field and even field are sequentially transmitted as data. come. In this figure and in FIG. 12 described later, the numbers 0 to 11 are the number of lines, that is, the address of the representative point memory, □ is the position of the representative point,
A circle indicates the position of the detection area, and a triangle indicates the position of the representative point of the previous field.
【0009】ところで、従来は、検出エリアの始点及び
代表点の地点も各フィールドで同一ライン(同一アドレ
ス)として制御されている。その為、図11に示すよう
に、前フィールドの代表点1(△)と現フィールドの画
像との相関位置を取るための検出エリアは、奇数フィー
ルドでは、代表点より上部の6ライン、下部の6ライ
ン、又偶数フィールドでは、代表点より上部7ライン、
下部5ラインとなり、奇数偶数フィールドで検出範囲が
異なるという問題がある。By the way, conventionally, the start point and the representative point of the detection area are also controlled as the same line (same address) in each field. Therefore, as shown in FIG. 11, in the odd field, the detection area for obtaining the correlation position between the representative point 1 (Δ) of the previous field and the image of the current field is 6 lines above the representative point, 6 lines or 7 lines above the representative point in the even field,
There is a problem that the detection range is different in the odd-numbered and even-numbered fields due to the lower five lines.
【0010】また、垂直補間回路によって垂直方向の補
間をする場合、図12に示すようになる。図12におい
て、点線ラインは補間により作成されたラインである。
この補間した場合においても、検出エリアは、奇数フィ
ールドでは、代表点より上部2ライン下部2.5ライ
ン、偶数では代表ラインにより上部3ライン、下部1.
5ラインとなり、この場合も奇数、偶数フィールドで検
出範囲が異なる。When vertical interpolation is performed by the vertical interpolation circuit, it is as shown in FIG. In FIG. 12, the dotted line is a line created by interpolation.
Even in the case of this interpolation, the detection area is 2 lines above the representative point and 2.5 lines below the representative point in the odd field, and 3 lines above the representative point and 3 lines below the representative point and 1.
There are 5 lines, and in this case as well, the detection range is different in the odd and even fields.
【0011】動きベクトルを正確に算出しようとする場
合、代表点位置からの検出範囲は等しい方が好ましい。In order to accurately calculate the motion vector, it is preferable that the detection ranges from the representative point position are the same.
【0012】この発明は上述した点に鑑みなされたもの
にして、奇数、偶数フィールドでどちらにおいても、同
じ検出範囲をとるように構成することを目的とする。The present invention has been made in view of the above points, and it is an object of the present invention to provide the same detection range in both odd and even fields.
【0013】[0013]
【課題を解決するための手段】この発明の動きベクトル
検出回路は、画像を複数の領域に分割し、各領域の代表
点の画像データを記憶する代表点メモリ回路と、現フィ
ールドの画像データと前記代表点メモリ回路からのデー
タとにより前記代表点に対する検出エリア内の各変移に
おける相関値を演算する相関値演算回路と、この相関値
演算回路出力を前記各変移毎に累積加算する累積加算回
路と、この累積加算回路出力より最小値及び最小位置を
検出する最小値検出回路と、前記相関値の平均値を算出
する平均値演算回路と、前記最小値検出回路出力及び前
記平均値演算回路出力に基づき画像の動きベクトルを発
生する動きベクトル発生回路とを備える動きベクトル検
出回路において、奇数フィールドと偶数フィールドによ
り、前記検出エリアの検出位置を1ライン分ずつ相違す
るように、前記代表点メモリ回路より検出エリアのデー
タの読み出しを制御するか又は前記代表点の位置を1ラ
イン分ずつ変更するように、前記代表点メモリ回路より
代表点のデータの読み出しを制御する制御手段を備えて
なる。A motion vector detection circuit according to the present invention divides an image into a plurality of areas, stores a representative point memory circuit for storing image data of representative points of each area, and image data of a current field. A correlation value calculation circuit that calculates a correlation value at each transition in the detection area with respect to the representative point based on the data from the representative point memory circuit, and a cumulative addition circuit that cumulatively adds the output of this correlation value calculation circuit for each transition. And a minimum value detection circuit that detects a minimum value and a minimum position from the output of the cumulative addition circuit, an average value calculation circuit that calculates the average value of the correlation values, the minimum value detection circuit output, and the average value calculation circuit output In a motion vector detection circuit including a motion vector generation circuit that generates a motion vector of an image based on The representative point memory circuit is controlled such that the representative point memory circuit controls the reading of the data in the detection area so that the detected position of the representative point is changed by one line, or the position of the representative point is changed by one line. It further comprises a control means for controlling the reading of the data of the representative point.
【0014】[0014]
【作用】この発明によれば、奇数フィールドと偶数フィ
ールドにより、前記検出エリアの検出位置を1ライン分
ずつ相違させるか、または前記代表点の位置を1ライン
分ずつ変更することにより、奇数、偶数フィールドでど
ちらにおいても、同じ検出範囲をとることができる。従
って、動きベクトルを正確に算出する動きベクトル検出
回路を提供することが出来る。According to the present invention, the odd-numbered field and the even-numbered field are used to make the detection position of the detection area different for each line or to change the position of the representative point for each line to make the odd-numbered and even-numbered fields even. The same detection range can be taken in both fields. Therefore, it is possible to provide a motion vector detection circuit that accurately calculates a motion vector.
【0015】[0015]
【実施例】以下、この発明の実施例につき、図面を参照
して説明する。図1にこの発明の実施例にかかる代表点
マッチング法による動きベクトル検出回路のブロック図
を示す。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a block diagram of a motion vector detection circuit by the representative point matching method according to the embodiment of the present invention.
【0016】入力端子1に入力されるデジタル映像信号
は、水平方向まびき回路11にて、水平方向の画素がま
びかれた後、垂直補間回路12送られる。水平方向まび
き回路11は、後述する相関値累積メモリ回路25のメ
モリ容量を減らすため及び1画素の転送時間(サンプリ
ング時間)を長くして処理時間に余裕を持たせるために
設けられる。この実施例では、2画素間隔でサンプリン
グが行われ、1画素がまびかれる。例えば、14MHz
のサンプリングを7MHzで行うことで、2画素間隔の
データが出力される。The digital video signal input to the input terminal 1 is sent to the vertical interpolation circuit 12 after the horizontal pixels have been spread by the horizontal spreading circuit 11. The horizontal spreading circuit 11 is provided in order to reduce the memory capacity of the correlation value accumulation memory circuit 25 described later and to lengthen the transfer time (sampling time) of one pixel to allow a processing time. In this embodiment, sampling is performed at intervals of two pixels, and one pixel is scattered. For example, 14MHz
Is sampled at 7 MHz, data with a 2-pixel interval is output.
【0017】垂直補間回路12は、前述したように、イ
ンターレース方式による奇数、偶数フィールド間の垂直
方向の画素位置のずれを修正するもので、垂直補間メモ
リ回路13に蓄えられた前ラインのデータと現ラインの
データを加算、平均したものを補間データとして用い
る。垂直補間回路12からの出力以降、CCDからのデ
ータと補間データとの2系列になるが、これを1系列に
戻すと、ラインの違うデータが交互に送られること並び
にサンプリング時間の周期も倍(14MHz)になるの
で、この実施例では2系列のまま取り扱う。そのため垂
直補間回路12からの出力は、水平方向フィルタ回路1
4、15に与えられる。この水平方向フィルタ回路1
4、15は検出精度を向上させるために水平方向のノイ
ズを除去するものである。そして、その後、垂直方向フ
ィルタ回路16にデータが出力され、垂直方向フィルタ
回路16で垂直方向のノイズが除去される。前ラインの
垂直方向の画像データはフィルタ用メモリ回路17に蓄
えられ、この前ラインのデータと現ラインのデータに基
づきフィルタ処理がされる。As described above, the vertical interpolation circuit 12 corrects the pixel position shift in the vertical direction between the odd and even fields by the interlace system, and the data of the previous line stored in the vertical interpolation memory circuit 13 is used. The data of the current line is added and averaged to be used as interpolation data. After the output from the vertical interpolation circuit 12, there are two series of data from the CCD and interpolated data, but if this is returned to one series, the data of different lines are alternately sent and the sampling time period is also doubled ( 14 MHz), two series are handled as they are in this embodiment. Therefore, the output from the vertical interpolation circuit 12 is the horizontal filter circuit 1
Given to 4, 15. This horizontal filter circuit 1
Reference numerals 4 and 15 are for removing horizontal noise in order to improve the detection accuracy. Then, after that, the data is output to the vertical direction filter circuit 16, and the vertical direction noise is removed by the vertical direction filter circuit 16. The vertical image data of the previous line is stored in the filter memory circuit 17, and the filtering process is performed based on the previous line data and the current line data.
【0018】フィルタ処理がされたデータは代表点メモ
リ回路18及び相関値演算回路24に供給される。この
代表点メモリ回路18には各代表点の輝度レベルに応じ
たデジタルデータが保存される。相関値演算回路24で
は現フレームの映像信号の輝度レベルに応じたデジタル
データと前記代表点メモリ回路18からの1フィールド
前のデジタルデータとの差の絶対値、即ち代表点と検出
エリア内における代表点に対する各変移との輝度の相関
が演算される。この相関は相関値メモリ及び加算器を含
む相関累積メモリ回路25において、検出ブロック内の
全ての代表点について各変移毎に累積加算される。この
累積加算は4個の検出ブロック毎に行われる。また、相
関値演算回路24からの出力は平均値演算回路26に供
給され、平均値演算回路26にて累積された各変移の相
関値の平均が算出される。The filtered data is supplied to the representative point memory circuit 18 and the correlation value calculation circuit 24. The representative point memory circuit 18 stores digital data corresponding to the brightness level of each representative point. In the correlation value calculation circuit 24, the absolute value of the difference between the digital data corresponding to the luminance level of the video signal of the current frame and the digital data one field before from the representative point memory circuit 18, that is, the representative point and the representative in the detection area. The luminance correlation with each transition for the point is calculated. This correlation is cumulatively added for each transition for all the representative points in the detection block in the correlation cumulative memory circuit 25 including the correlation value memory and the adder. This cumulative addition is performed for every four detection blocks. The output from the correlation value calculation circuit 24 is supplied to the average value calculation circuit 26, and the average of the correlation values of the respective transitions accumulated in the average value calculation circuit 26 is calculated.
【0019】相関累積メモリ回路25の出力は、最小値
検出回路27に供給される。最小値検出回路27は複数
の変移の中で累積された相関値が最小のものの位置及び
その最小値を検出する。そして、求められた最小位置、
最小値及び平均値が前述した従来例と同様に動きベクト
ル発生回路(図示しない)に供給され、動きベクトル発
生回路にて、まず、各検出ブロック毎に最小位置に基づ
いて計4個の動きベクトルを抽出する。次に、この動き
ベクトルの内、最小値/平均値が所定の閾値より小さい
ものを信頼度の低いものとして除去し、残りのものから
1個の動きベクトルを特定する。The output of the correlation accumulation memory circuit 25 is supplied to the minimum value detection circuit 27. The minimum value detection circuit 27 detects the position of the one having the smallest correlation value among the plurality of transitions and the minimum value thereof. And the minimum position found,
The minimum value and the average value are supplied to the motion vector generation circuit (not shown) as in the above-mentioned conventional example, and the motion vector generation circuit firstly outputs a total of four motion vectors based on the minimum position for each detection block. To extract. Next, of these motion vectors, those having a minimum value / average value smaller than a predetermined threshold value are removed as having low reliability, and one motion vector is specified from the remaining ones.
【0020】さて、この発明は、動きベクトルの検出精
度を向上させるために、奇数、偶数フィールドのどちら
においても、代表点位置からの検出範囲を等しくするよ
うに構成するものである。このため、この発明は、内部
の制御回路(マイクロコンピュータ)又は外部入力によ
り、位置、間隔等の各データを入力することにより、代
表点位置と検出位置が設定可能な構成となっている。In the present invention, in order to improve the motion vector detection accuracy, the detection range from the representative point position is made equal in both odd and even fields. Therefore, the present invention has a configuration in which the representative point position and the detection position can be set by inputting each data such as the position and the interval by the internal control circuit (microcomputer) or the external input.
【0021】そして、同期発生回路20より、水平アド
レス同期信号及び垂直アドレス同期信号が代表点位置発
生回路21及び検出系位置発生回路22に与えられ、代
表点位置発生回路21及び検出系位置発生回路22から
代表点メモリ制御回路19及び検出系制御回路23に
て、夫々各メモリ回路18、26のアドレス及びリード
/ライトための制御パルスが作成される。また、この検
出系位置発生回路22からは代表点メモリ制御回路19
にメモリを読みだす場合の相関を取るために制御パルス
が与えられる。Then, the horizontal address synchronizing signal and the vertical address synchronizing signal are given from the synchronization generating circuit 20 to the representative point position generating circuit 21 and the detection system position generating circuit 22, and the representative point position generating circuit 21 and the detection system position generating circuit are provided. From 22 to the representative point memory control circuit 19 and the detection system control circuit 23, control pulses for address and read / write of the respective memory circuits 18 and 26 are created. Further, from the detection system position generation circuit 22, the representative point memory control circuit 19
A control pulse is given to obtain the correlation when reading the memory.
【0022】これら制御パルスは、奇数、偶数フィール
ドでどちらにおいても代表点位置からの検出範囲を一定
にするように各メモリのアドレスやリード/ライトを制
御するものである。These control pulses control the address and read / write of each memory so that the detection range from the representative point position is constant in both odd and even fields.
【0023】すなわち、同期発生回路20からのアドレ
スを基準とし、マイクロコンピュータから入力された代
表点位置データへアドレスから代表点位置信号を出力す
る。そして、代表点位置信号は前述したように、エリア
間隔、ブロック間隔、代表点数データにより決められ、
前述の代表点位置データのアドレスより発生される。こ
れは、検出系位置信号の場合も同様である。That is, with the address from the synchronization generating circuit 20 as a reference, a representative point position signal is output from the address to the representative point position data input from the microcomputer. Then, the representative point position signal is determined by the area interval, the block interval, and the representative point number data as described above,
It is generated from the address of the representative point position data described above. This also applies to the detection system position signal.
【0024】図2は水平方向の同期パルスと、代表点位
置信号、検出系位置信号の関係を示すタイミングチャー
トである。同期パルスは同期発生回路20から、代表点
位置信号は代表点位置発生回路21から、検出位置信号
は検出位置発生回路22から夫々出力され、この出力パ
ルスを受けて、代表点、検出系ともに、制御回路19、
23で各メモリのアドレス及びリード/ライト制御パル
スが作成される。尚、垂直方向も同様に各メモリのアド
レス及びリード/ライト制御パルスが作成される。FIG. 2 is a timing chart showing the relationship between the horizontal synchronizing pulse, the representative point position signal and the detection system position signal. The synchronization pulse is output from the synchronization generation circuit 20, the representative point position signal is output from the representative point position generation circuit 21, and the detection position signal is output from the detection position generation circuit 22. Upon receipt of this output pulse, both the representative point and the detection system, Control circuit 19,
At 23, the address and read / write control pulse of each memory are created. In the vertical direction, the address of each memory and the read / write control pulse are similarly created.
【0025】次に、この発明の動作につき図3ないし図
8に従い説明する。尚、前述した図11及び図12と同
様に、図4、図5図7及び図8において、0〜11の数
字はライン数即ち代表点メモリのアドレス、□は代表点
の位置、○印は検出エリアの位置、△は前フィールドの
代表点の位置を示す。先ず、代表点位置を固定した場合
に付き説明する。図4は、垂直方向に補間していない場
合を示し、代表点位置が固定ライン数(同一アドレス)
の場合には、偶数フィールド、奇数フィールドで検出エ
リアが1ライン分ずつ交互にずれるように制御する。即
ち、図3のフロー図に示すように、マイクロコンピュー
タが現ラインが偶数フィールドか否か判定し(ステップ
S1)、偶数フィールドである場合には、検出エリア位
置を+1ラインするように検出系位置発生回路22を制
御する(ステップS2)。また、偶数フィールドでな
い、即ち奇数フィールドの場合には、検出エリア位置を
そのまま出力するように検出系位置発生回路22を制御
する(ステップS3)。そして、全ての検出が終了する
まで前述の動作を繰り返す(ステップS4)。この結
果、図4に示すように、偶数、奇数フィールドとも代表
点より上部6ライン、下部6ラインとなる。Next, the operation of the present invention will be described with reference to FIGS. As in FIGS. 11 and 12, the numbers 0 to 11 are the number of lines, that is, the address of the representative point memory, □ is the position of the representative point, and ○ is the same as in FIGS. 11 and 12. The position of the detection area, Δ indicates the position of the representative point of the previous field. First, the case where the representative point position is fixed will be described. FIG. 4 shows a case in which interpolation is not performed in the vertical direction, and the representative point position is a fixed number of lines (same address).
In the case of 1, the control is performed so that the detection areas in the even field and the odd field are alternately shifted by one line. That is, as shown in the flow chart of FIG. 3, the microcomputer determines whether or not the current line is an even field (step S1), and if it is an even field, the detection system position is set so that the detection area position is +1 line. The generation circuit 22 is controlled (step S2). If it is not an even field, that is, if it is an odd field, the detection system position generation circuit 22 is controlled so as to output the detection area position as it is (step S3). Then, the above operation is repeated until all the detections are completed (step S4). As a result, as shown in FIG. 4, both even and odd fields have 6 lines above and 6 lines below the representative point.
【0026】図5は、垂直方向の補間がある場合の実施
例を示し、この実施例では偶数、奇数フィールドとも代
表点より上部2ライン、下部2.5ラインとなる。FIG. 5 shows an embodiment in which there is vertical interpolation. In this embodiment, both even and odd fields have two lines above the representative point and 2.5 lines below the representative point.
【0027】次に、検出エリア位置を固定した場合に付
き説明する。図7は、垂直方向に補間していない場合を
示し、検出エリア位置が固定ライン数(同一アドレス)
の場合には、偶数フィールド、奇数フィールドで代表点
位置が1ライン分ずつ交互にずれるように制御する。即
ち、図6のフロー図に示すように、マイクロコンピュー
タが現ラインが偶数フィールドか否か判定し(ステップ
S11)、偶数フィールドである場合には、代表点位置
をそのまま出力するように代表点位置発生回路21を制
御する(ステップS12)。また、偶数フィールドでな
い、即ち奇数フィールドの場合には、代表点位置を−1
ラインするように代表点位置発生回路21を制御する
(ステップS13)。そして、全ての検出が終了するま
で前述の動作を繰り返す(ステップS14)。この結
果、図7に示すように、偶数、奇数フィールドとも代表
点より上部6ライン、下部6ラインとなる。Next, a case where the detection area position is fixed will be described. FIG. 7 shows a case where interpolation is not performed in the vertical direction, and the detection area position has a fixed number of lines (same address).
In the case of 1, the control is performed such that the representative point position is alternately shifted by one line in the even field and the odd field. That is, as shown in the flowchart of FIG. 6, the microcomputer determines whether the current line is an even field (step S11), and if it is an even field, the representative point position is output as it is. The generation circuit 21 is controlled (step S12). If it is not an even field, that is, if it is an odd field, the representative point position is -1.
The representative point position generation circuit 21 is controlled so as to line (step S13). Then, the above operation is repeated until all the detections are completed (step S14). As a result, as shown in FIG. 7, there are 6 lines above and 6 lines below the representative point for even and odd fields.
【0028】図8は、垂直方向の補間がある場合の実施
例を示し、この実施例では偶数、奇数フィールドとも代
表点より上部2ライン、下部2.5ラインとなる。FIG. 8 shows an embodiment in which there is vertical interpolation. In this embodiment, both even and odd fields have two lines above the representative point and 2.5 lines below the representative point.
【0029】この様に、この発明では、ハード回路はも
ちろんのこと設定でフィールドごとに検出位置が自由に
変られる構成となっている。As described above, in the present invention, the detection position can be freely changed for each field by setting not only the hardware circuit.
【0030】[0030]
【発明の効果】以上説明したように、この発明によれ
ば、奇数フィールドと偶数フィールドにより、前記検出
エリアの検出位置を1ライン分ずつ相違させるか、また
は前記代表点の位置を1ライン分ずつ変更することによ
り、奇数、偶数フィールドでどちらにおいても、同じ検
出範囲をとることができ動きベクトルを正確に算出する
ことができる。As described above, according to the present invention, the detection position of the detection area is made to differ by one line by the odd field and the even field, or the position of the representative point is made by one line. By changing it, the same detection range can be taken in both odd and even fields, and the motion vector can be accurately calculated.
【図1】この発明の実施例にかかる代表点マッチング法
による動きベクトル検出回路のブロック図である。FIG. 1 is a block diagram of a motion vector detection circuit according to a representative point matching method according to an embodiment of the present invention.
【図2】水平方向の同期パルスと、代表点位置信号、検
出系位置信号の関係を示すタイミングチャートである。FIG. 2 is a timing chart showing the relationship between a horizontal synchronizing pulse, a representative point position signal, and a detection system position signal.
【図3】この発明の一実施例の動作を示すフロー図であ
る。FIG. 3 is a flowchart showing the operation of the embodiment of the present invention.
【図4】この発明の一実施例における垂直方向に補間し
ていない場合の代表点と検出エリアの関係を示す模式図
である。FIG. 4 is a schematic diagram showing a relationship between a representative point and a detection area when vertical interpolation is not performed in an embodiment of the present invention.
【図5】この発明の一実施例における垂直方向に補間し
ている場合の代表点と検出エリアの関係を示す模式図で
ある。FIG. 5 is a schematic diagram showing a relationship between a representative point and a detection area when interpolation is performed in a vertical direction in an embodiment of the present invention.
【図6】この発明の他の実施例の動作を示すフロー図で
ある。FIG. 6 is a flowchart showing the operation of another embodiment of the present invention.
【図7】この発明の他の実施例における垂直方向に補間
していない場合の代表点と検出エリアの関係を示す模式
図である。FIG. 7 is a schematic diagram showing the relationship between representative points and detection areas when vertical interpolation is not performed in another embodiment of the present invention.
【図8】この発明の他の実施例における垂直方向に補間
している場合の代表点と検出エリアの関係を示す模式図
である。FIG. 8 is a schematic diagram showing a relationship between a representative point and a detection area in the case where interpolation is performed in the vertical direction in another embodiment of the present invention.
【図9】代表点マッチング法における撮像エリアを示す
模式図である。FIG. 9 is a schematic diagram showing an imaging area in the representative point matching method.
【図10】従来のる代表点マッチング法による動きベク
トル検出回路のブロック図である。FIG. 10 is a block diagram of a motion vector detection circuit according to a conventional representative point matching method.
【図11】従来の垂直方向に補間していない場合の代表
点と検出エリアの関係を示す模式図である。FIG. 11 is a schematic diagram showing a relationship between a representative point and a detection area when conventional vertical interpolation is not performed.
【図5】従来の垂直方向に補間している場合の代表点と
検出エリアの関係を示す模式図である。FIG. 5 is a schematic diagram showing a relationship between a representative point and a detection area in the case of performing vertical interpolation in the related art.
18 代表点メモリ回路 19 代表点メモリ制御回路 20 同期発生回路 21 代表点位置発生回路 22 検出系位置発生回路 23 検出系制御回路 24 相関演算回路 25 相関累積メモリ回路 26 平均値演算回路 27 最小値検出回路 18 representative point memory circuit 19 representative point memory control circuit 20 synchronization generation circuit 21 representative point position generation circuit 22 detection system position generation circuit 23 detection system control circuit 24 correlation calculation circuit 25 correlation cumulative memory circuit 26 average value calculation circuit 27 minimum value detection circuit
─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───
【手続補正書】[Procedure amendment]
【提出日】平成4年7月3日[Submission date] July 3, 1992
【手続補正1】[Procedure Amendment 1]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0004[Correction target item name] 0004
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0001】この代表点マッチング法を説明する。図9
は撮像エリアを示し、この撮像エリア内には4個の検出
ブロックが設けられている。更に、各検出ブロックは3
0個の検出エリアに区分されている。そして、検出エリ
アには複数のサンプリング点が存在し、その中の一つが
代表点として定められている。This representative point matching method will be described. Figure 9
Indicates an image pickup area, and four detection blocks are provided in this image pickup area. Furthermore, each detection block has 3
It is divided into 0 detection areas. A plurality of sampling points exist in the detection area, and one of them is set as the representative point.
【手続補正2】[Procedure Amendment 2]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0009[Correction target item name] 0009
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0002】ところで、従来は、検出エリアの始点及び
代表点の地点も各フィールドで同一ライン(同一アドレ
ス)として制御されている。その為、図11に示すよう
に、前フィールドの代表点位置(△)と現フィールドの
画像との相関位置を取るための検出エリアは、奇数フィ
ールドでは、代表点より上部の6ライン、下部の6ライ
ン、又偶数フィールドでは、代表点より上部7ライン、
下部5ラインとなり、奇数偶数フィールドで検出範囲が
異なるという問題がある。By the way, conventionally, the start point and the representative point of the detection area are also controlled as the same line (same address) in each field. Therefore, as shown in FIG. 11, the detection area for obtaining the correlation position between the representative point position (Δ) of the previous field and the image of the current field is 6 lines above the representative point in the odd field, 6 lines or 7 lines above the representative point in the even field,
There is a problem that the detection range is different in the odd-numbered and even-numbered fields due to the lower five lines.
【手続補正3】[Procedure 3]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0016[Correction target item name] 0016
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0003】入力端子1に入力されるデジタル映像信号
は、水平方向まびき回路11にて、水平方向の画素がま
びかれた後、垂直補間回路12へ送られる。水平方向ま
びき回路11は、後述する相関値累積メモリ回路25の
メモリ容量を減らすため及び1画素の転送時間(サンプ
リング時間)を長くして処理時間に余裕を持たせるため
に設けられる。この実施例では、2画素間隔でサンプリ
ングが行われ、1画素がまびかれる。例えば、14MH
zのサンプリングを7MHzで行うことで、2画素間隔
のデータが出力される。The digital video signal input to the input terminal 1 is sent to the vertical interpolation circuit 12 after the horizontal pixels are spread by the horizontal spreading circuit 11. The horizontal spreading circuit 11 is provided in order to reduce the memory capacity of the correlation value accumulation memory circuit 25 described later and to lengthen the transfer time (sampling time) of one pixel to allow a processing time. In this embodiment, sampling is performed at intervals of two pixels, and one pixel is scattered. For example, 14 MH
By sampling z at 7 MHz, data with a 2-pixel interval is output.
【手続補正4】[Procedure amendment 4]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0017[Correction target item name] 0017
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0004】垂直補間回路12は、前述したように、イ
ンターレース方式による奇数、偶数フィールド間の垂直
方向の画素位置のずれを修正するもので、垂直補間メモ
リ回路13に蓄えられた前ラインのデータと現ラインの
データを加算、平均したものを補間データとして用い
る。垂直補間回路12からの出力以降、CCDからのデ
ータと補間データとの2系列になるが、これを1系列に
戻すと、ラインの違うデータが交互に送られること並び
にサンプリング時間も倍(14MHz)になるので、こ
の実施例では2系列のまま取り扱う。そのため垂直補間
回路12からの出力は、水平方向フィルタ回路14、1
5に与えられる。この水平方向フィルタ回路14、15
は検出精度を向上させるために水平方向のノイズを除去
するものである。そして、その後、垂直方向フィルタ回
路16にデータが出力され、垂直方向フィルタ回路16
で垂直方向のノイズが除去される。前ラインの垂直方向
の画像データはフィルタ用メモリ回路17に蓄えられ、
この前ラインのデータと現ラインのデータに基づきフィ
ルタ処理がされる。As described above, the vertical interpolation circuit 12 corrects the vertical pixel position shift between the odd and even fields by the interlace method, and the data of the previous line stored in the vertical interpolation memory circuit 13 is corrected. The data of the current line is added and averaged to be used as interpolation data. After the output from the vertical interpolation circuit 12, there are two series of data from the CCD and the interpolated data, but if this is returned to one series, the data of different lines are alternately sent and the sampling time is also doubled (14 MHz). Therefore, in this embodiment, two series are handled as they are. Therefore, the output from the vertical interpolation circuit 12 is the horizontal direction filter circuits 14 and 1.
Given to 5. The horizontal filter circuits 14 and 15
Is to remove horizontal noise in order to improve detection accuracy. Then, after that, the data is output to the vertical direction filter circuit 16,
Removes vertical noise. The vertical image data of the previous line is stored in the filter memory circuit 17,
Filtering processing is performed based on the data of the previous line and the data of the current line.
【手続補正5】[Procedure Amendment 5]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0021[Correction target item name] 0021
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0005】そして、同期発生回路20より、水平アド
レス同期信号及び垂直アドレス同期信号が代表点位置発
生回路21及び検出系位置発生回路22に与えられ、代
表点位置発生回路21及び検出系位置発生回路22から
代表点メモリ制御回路19及び検出系制御回路23に
て、夫々各メモリ回路18、25のアドレス及びリード
/ライトための制御パルスが作成される。また、この検
出系位置発生回路22からは代表点メモリ制御回路19
にメモリを読みだす場合の相関を取るために制御パルス
が与えられる。Then, the horizontal address synchronizing signal and the vertical address synchronizing signal are given from the synchronization generating circuit 20 to the representative point position generating circuit 21 and the detection system position generating circuit 22, and the representative point position generating circuit 21 and the detection system position generating circuit are provided. From 22 to the representative point memory control circuit 19 and the detection system control circuit 23, control pulses for address and read / write of the respective memory circuits 18 and 25 are created. Further, from the detection system position generation circuit 22, the representative point memory control circuit 19
A control pulse is given to obtain the correlation when reading the memory.
【手続補正6】[Procedure correction 6]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0025[Name of item to be corrected] 0025
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0006】次に、この発明の動作につき図3ないし図
8に従い説明する。尚、前述した図11及び図12と同
様に、図4、図5、図7及び図8において、0〜11の
数字はライン数即ち代表点メモリのアドレス、□は代表
点の位置、○印は検出エリアの位置、△は前フィールド
の代表点の位置を示す。先ず、代表点位置を固定した場
合に付き説明する。図4は、垂直方向に補間していない
場合を示し、代表点位置が固定ライン数(同一アドレ
ス)の場合には、偶数フィールド、奇数フィールドで検
出エリアが1ライン分ずつ交互にずれるように制御す
る。即ち、図3のフロー図に示すように、マイクロコン
ピュータが現ラインが偶数フィールドか否か判定し(ス
テップS1)、偶数フィールドである場合には、検出エ
リア位置を+1ラインするように検出系位置発生回路2
2を制御する(ステップS2)。また、偶数フィールド
でない、即ち奇数フィールドの場合には、検出エリア位
置をそのまま出力するように検出系位置発生回路22を
制御する(ステップS3)。そして、全ての検出が終了
するまで前述の動作を繰り返す(ステップS4)。この
結果、図4に示すように、偶数、奇数フィールドとも代
表点より上部6ライン、下部6ラインとなる。 ─────────────────────────────────────────────────────
Next, the operation of the present invention will be described with reference to FIGS. As in FIGS. 11 and 12, the numbers 0 to 11 are the number of lines, that is, the address of the representative point memory, □ is the position of the representative point, and ○ is the same as in FIGS. 11 and 12. Indicates the position of the detection area, and Δ indicates the position of the representative point of the previous field. First, the case where the representative point position is fixed will be described. FIG. 4 shows a case where interpolation is not performed in the vertical direction, and when the representative point position is a fixed number of lines (same address), the detection area is alternately shifted by one line in the even field and odd field. To do. That is, as shown in the flow chart of FIG. 3, the microcomputer determines whether or not the current line is an even field (step S1). If it is an even field, the detection system position is set so that the detection area position is +1 line. Generation circuit 2
2 is controlled (step S2). If it is not an even field, that is, if it is an odd field, the detection system position generation circuit 22 is controlled so as to output the detection area position as it is (step S3). Then, the above operation is repeated until all the detections are completed (step S4). As a result, as shown in FIG. 4, both even and odd fields have 6 lines above and 6 lines below the representative point. ─────────────────────────────────────────────────── ───
【手続補正書】[Procedure amendment]
【提出日】平成4年8月20日[Submission date] August 20, 1992
【手続補正1】[Procedure Amendment 1]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0004[Correction target item name] 0004
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0004】この代表点マッチング法を説明する。図9
は撮像エリアを示し、この撮像エリア内には4個の検出
ブロックが設けられている。更に、各検出ブロックは3
0個の検出エリアに区分されている。そして、検出エリ
アには複数のサンプリング点が存在し、その中の一つが
代表点として定められている。The representative point matching method will be described. Figure 9
Indicates an image pickup area, and four detection blocks are provided in this image pickup area. Furthermore, each detection block has 3
It is divided into 0 detection areas. A plurality of sampling points exist in the detection area, and one of them is set as the representative point.
【手続補正2】[Procedure Amendment 2]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0009[Correction target item name] 0009
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0009】ところで、従来は、検出エリアの始点及び
代表点の地点も各フィールドで同一ライン(同一アドレ
ス)として制御されている。その為、図11に示すよう
に、前フィールドの代表点位置(△)と現フィールドの
画像との相関位置を取るための検出エリアは、奇数フィ
ールドでは、代表点より上部の6ライン、下部の6ライ
ン、又偶数フィールドでは、代表点より上部7ライン、
下部5ラインとなり、奇数偶数フィールドで検出範囲が
異なるという問題がある。By the way, conventionally, the start point and the representative point of the detection area are also controlled as the same line (same address) in each field. Therefore, as shown in FIG. 11, the detection area for obtaining the correlation position between the representative point position (Δ) of the previous field and the image of the current field is 6 lines above the representative point in the odd field, 6 lines or 7 lines above the representative point in the even field,
There is a problem that the detection range is different in the odd-numbered and even-numbered fields due to the lower five lines.
【手続補正3】[Procedure 3]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0016[Correction target item name] 0016
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0016】入力端子1に入力されるデジタル映像信号
は、水平方向まびき回路11にて、水平方向の画素がま
びかれた後、垂直補間回路12へ送られる。水平方向ま
びき回路11は、後述する相関値累積メモリ回路25の
メモリ容量を減らすため及び1画素の転送時間(サンプ
リング時間)を長くして処理時間に余裕を持たせるため
に設けられる。この実施例では、2画素間隔でサンプリ
ングが行われ、1画素がまびかれる。例えば、14MH
zのサンプリングを7MHzで行うことで、2画素間隔
のデータが出力される。The digital video signal input to the input terminal 1 is sent to the vertical interpolation circuit 12 after the horizontal pixels have been spread by the horizontal spreading circuit 11. The horizontal spreading circuit 11 is provided in order to reduce the memory capacity of the correlation value accumulation memory circuit 25 described later and to lengthen the transfer time (sampling time) of one pixel to allow a processing time. In this embodiment, sampling is performed at intervals of two pixels, and one pixel is scattered. For example, 14 MH
By sampling z at 7 MHz, data with a 2-pixel interval is output.
【手続補正4】[Procedure amendment 4]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0017[Correction target item name] 0017
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0017】垂直補間回路12は、前述したように、イ
ンターレース方式による奇数、偶数フィールド間の垂直
方向の画素位置のずれを修正するもので、垂直補間メモ
リ回路13に蓄えられた前ラインのデータと現ラインの
データを加算、平均したものを補間データとして用い
る。垂直補間回路12からの出力以降、CCDからのデ
ータと補間データとの2系列になるが、これを1系列に
戻すと、ラインの違うデータが交互に送られること並び
にサンプリング時間も倍(14MHz)になるので、こ
の実施例では2系列のまま取り扱う。そのため垂直補間
回路12からの出力は、水平方向フィルタ回路14、1
5に与えられる。この水平方向フィルタ回路14、15
は検出精度を向上させるために水平方向のノイズを除去
するものである。そして、その後、垂直方向フィルタ回
路16にデータが出力され、垂直方向フィルタ回路16
で垂直方向のノイズが除去される。前ラインの垂直方向
の画像データはフィルタ用メモリ回路17に蓄えられ、
この前ラインのデータと現ラインのデータに基づきフィ
ルタ処理がされる。As described above, the vertical interpolation circuit 12 corrects the pixel position shift in the vertical direction between the odd and even fields by the interlace system, and the data of the previous line stored in the vertical interpolation memory circuit 13 is used. The data of the current line is added and averaged to be used as interpolation data. After the output from the vertical interpolation circuit 12, there are two series of data from the CCD and the interpolated data, but if this is returned to one series, the data of different lines are alternately sent and the sampling time is also doubled (14 MHz). Therefore, in this embodiment, two series are handled as they are. Therefore, the output from the vertical interpolation circuit 12 is the horizontal direction filter circuits 14 and 1.
Given to 5. The horizontal filter circuits 14 and 15
Is to remove horizontal noise in order to improve detection accuracy. Then, after that, the data is output to the vertical direction filter circuit 16,
Removes vertical noise. The vertical image data of the previous line is stored in the filter memory circuit 17,
Filtering processing is performed based on the data of the previous line and the data of the current line.
【手続補正5】[Procedure Amendment 5]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0021[Correction target item name] 0021
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0021】そして、同期発生回路20より、水平アド
レス同期信号及び垂直アドレス同期信号が代表点位置発
生回路21及び検出系位置発生回路22に与えられ、代
表点位置発生回路21及び検出系位置発生回路22から
代表点メモリ制御回路19及び検出系制御回路23に
て、夫々各メモリ回路18、25のアドレス及びリード
/ライトための制御パルスが作成される。また、この検
出系位置発生回路22からは代表点メモリ制御回路19
にメモリを読みだす場合の相関を取るために制御パルス
が与えられる。Then, the horizontal address synchronizing signal and the vertical address synchronizing signal are given from the synchronization generating circuit 20 to the representative point position generating circuit 21 and the detection system position generating circuit 22, and the representative point position generating circuit 21 and the detection system position generating circuit are provided. From 22 to the representative point memory control circuit 19 and the detection system control circuit 23, control pulses for address and read / write of the respective memory circuits 18 and 25 are created. Further, from the detection system position generation circuit 22, the representative point memory control circuit 19
A control pulse is given to obtain the correlation when reading the memory.
【手続補正6】[Procedure correction 6]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0025[Name of item to be corrected] 0025
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0025】次に、この発明の動作につき図3ないし図
8に従い説明する。尚、前述した図11及び図12と同
様に、図4、図5、図7及び図8において、0〜11の
数字はライン数即ち代表点メモリのアドレス、□は代表
点の位置、○印は検出エリアの位置、△は前フィールド
の代表点の位置を示す。先ず、代表点位置を固定した場
合に付き説明する。図4は、垂直方向に補間していない
場合を示し、代表点位置が固定ライン数(同一アドレ
ス)の場合には、偶数フィールド、奇数フィールドで検
出エリアが1ライン分ずつ交互にずれるように制御す
る。即ち、図3のフロー図に示すように、マイクロコン
ピュータが現ラインが偶数フィールドか否か判定し(ス
テップS1)、偶数フィールドである場合には、検出エ
リア位置を+1ラインするように検出系位置発生回路2
2を制御する(ステップS2)。また、偶数フィールド
でない、即ち奇数フィールドの場合には、検出エリア位
置をそのまま出力するように検出系位置発生回路22を
制御する(ステップS3)。そして、全ての検出が終了
するまで前述の動作を繰り返す(ステップS4)。この
結果、図4に示すように、偶数、奇数フィールドとも代
表点より上部6ライン、下部6ラインとなる。 ─────────────────────────────────────────────────────
Next, the operation of the present invention will be described with reference to FIGS. As in FIGS. 11 and 12, the numbers 0 to 11 are the number of lines, that is, the address of the representative point memory, □ is the position of the representative point, and ○ is the same as in FIGS. 11 and 12. Indicates the position of the detection area, and Δ indicates the position of the representative point of the previous field. First, the case where the representative point position is fixed will be described. FIG. 4 shows a case where interpolation is not performed in the vertical direction, and when the representative point position is a fixed number of lines (same address), the detection area is alternately shifted by one line in the even field and odd field. To do. That is, as shown in the flow chart of FIG. 3, the microcomputer determines whether or not the current line is an even field (step S1), and if it is an even field, the detection system position is set so that the detection area position is +1 line. Generation circuit 2
2 is controlled (step S2). If it is not an even field, that is, if it is an odd field, the detection system position generation circuit 22 is controlled so as to output the detection area position as it is (step S3). Then, the above operation is repeated until all the detections are completed (step S4). As a result, as shown in FIG. 4, both even and odd fields have 6 lines above and 6 lines below the representative point. ─────────────────────────────────────────────────── ───
【手続補正書】[Procedure amendment]
【提出日】平成4年12月7日[Submission date] December 7, 1992
【手続補正1】[Procedure Amendment 1]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】図面の簡単な説明[Name of item to be corrected] Brief description of the drawing
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【図面の簡単な説明】[Brief description of drawings]
【図1】この発明の実施例にかかる代表点マッチング法
による動きベクトル検出回路のブロック図である。FIG. 1 is a block diagram of a motion vector detection circuit according to a representative point matching method according to an embodiment of the present invention.
【図2】水平方向の同期パルスと、代表点位置信号、検
出系位置信号の関係を示すタイミングチャートである。FIG. 2 is a timing chart showing the relationship between a horizontal synchronizing pulse, a representative point position signal, and a detection system position signal.
【図3】この発明の一実施例の動作を示すフロー図であ
る。FIG. 3 is a flowchart showing the operation of the embodiment of the present invention.
【図4】この発明の一実施例における垂直方向に補間し
ていない場合の代表点と検出エリアの関係を示す模式図
である。FIG. 4 is a schematic diagram showing a relationship between a representative point and a detection area when vertical interpolation is not performed in an embodiment of the present invention.
【図5】この発明の一実施例における垂直方向に補間し
ている場合の代表点と検出エリアの関係を示す模式図で
ある。FIG. 5 is a schematic diagram showing a relationship between a representative point and a detection area when interpolation is performed in a vertical direction in an embodiment of the present invention.
【図6】この発明の他の実施例の動作を示すフロー図で
ある。FIG. 6 is a flowchart showing the operation of another embodiment of the present invention.
【図7】この発明の他の実施例における垂直方向に補間
していない場合の代表点と検出エリアの関係を示す模式
図である。FIG. 7 is a schematic diagram showing the relationship between representative points and detection areas when vertical interpolation is not performed in another embodiment of the present invention.
【図8】この発明の他の実施例における垂直方向に補間
している場合の代表点と検出エリアの関係を示す模式図
である。FIG. 8 is a schematic diagram showing a relationship between a representative point and a detection area in the case where interpolation is performed in the vertical direction in another embodiment of the present invention.
【図9】代表点マッチング法における撮像エリアを示す
模式図である。FIG. 9 is a schematic diagram showing an imaging area in the representative point matching method.
【図10】従来のる代表点マッチング法による動きベク
トル検出回路のブロック図である。FIG. 10 is a block diagram of a motion vector detection circuit according to a conventional representative point matching method.
【図11】従来の垂直方向に補間していない場合の代表
点と検出エリアの関係を示す模式図である。FIG. 11 is a schematic diagram showing a relationship between a representative point and a detection area when conventional vertical interpolation is not performed.
【図12】従来の垂直方向に補間している場合の代表点
と検出エリアの関係を示す模式図である。FIG. 12 is a schematic diagram showing a relationship between a representative point and a detection area in a case where conventional vertical interpolation is performed.
【符号の説明】 18 代表点メモリ回路 19 代表点メモリ制御回路 20 同期発生回路 21 代表点位置発生回路 22 検出系位置発生回路 23 検出系制御回路 24 相関演算回路 25 相関累積メモリ回路 26 平均値演算回路 27 最小値検出回路[Description of Reference Signs] 18 representative point memory circuit 19 representative point memory control circuit 20 synchronization generation circuit 21 representative point position generation circuit 22 detection system position generation circuit 23 detection system control circuit 24 correlation calculation circuit 25 correlation accumulation memory circuit 26 average value calculation Circuit 27 Minimum value detection circuit
Claims (2)
表点の画像データを記憶する代表点メモリと、現フィー
ルドの画像データと前記代表点メモリ回路からのデータ
とにより前記代表点に対する検出エリア内の各変移にお
ける相関値を演算する相関値演算回路と、この相関値演
算回路出力を前記各変移毎に累積加算する累積加算回路
と、この累積加算回路出力より最小値及び最小位置を検
出する最小値検出回路と、前記相関値の平均値を算出す
る平均値演算回路と、前記最小値検出回路出力及び前記
平均値演算回路出力に基づき画像の動きベクトルを発生
する動きベクトル発生回路とを備える動きベクトル検出
回路において、 奇数フィールドと偶数フィールドにより、前記検出エリ
アの検出位置を1ライン分ずつ相違するように、前記代
表点メモリ回路より検出エリアのデータの読み出しを制
御する制御手段を備えてなる動きベクトル検出回路。1. A representative point memory for dividing an image into a plurality of areas and storing image data of representative points of each area, and image data of the current field and data from the representative point memory circuit for the representative points. A correlation value calculation circuit that calculates a correlation value at each transition in the detection area, a cumulative addition circuit that cumulatively adds the correlation value calculation circuit output for each transition, and a minimum value and a minimum position from the cumulative addition circuit output. A minimum value detecting circuit for detecting, an average value calculating circuit for calculating an average value of the correlation values, a motion vector generating circuit for generating an image motion vector based on the minimum value detecting circuit output and the average value calculating circuit output In a motion vector detection circuit including: a representative vector so that the detection position of the detection area differs by one line depending on an odd field and an even field. Motion vector detecting circuit comprising a control means for controlling reading of data of the detected area from the memory circuit.
表点の画像データを記憶する代表点メモリ回路と、現フ
ィールドの画像データと前記代表点メモリ回路からのデ
ータとにより前記代表点に対する検出エリア内の各変移
における相関値を演算する相関値演算回路と、この相関
値演算回路出力を前記各変移毎に累積加算する累積加算
回路と、この累積加算回路出力より最小値及び最小位置
を検出する最小値検出回路と、前記相関値の平均値を算
出する平均値演算回路と、前記最小値検出回路出力及び
前記平均値演算回路出力に基づき画像の動きベクトルを
発生する動きベクトル発生回路とを備える動きベクトル
検出回路において、 奇数フィールドと偶数フィールドにより、前記代表点の
位置を1ライン分ずつ変更するように、前記代表点メモ
リ回路より代表点のデータの読み出しを制御する制御手
段を備えてなる動きベクトル検出回路。2. A representative point memory circuit that divides an image into a plurality of areas and stores image data of representative points of each area, and the representative point by image data of the current field and data from the representative point memory circuit. A correlation value calculation circuit for calculating a correlation value at each transition in the detection area, a cumulative addition circuit for cumulatively adding the correlation value calculation circuit output for each transition, and a minimum value and a minimum position from the cumulative addition circuit output. A minimum value detection circuit, an average value calculation circuit that calculates an average value of the correlation values, and a motion vector generation circuit that generates a motion vector of an image based on the minimum value detection circuit output and the average value calculation circuit output. In the motion vector detection circuit including, the representative point memory is configured to change the position of the representative point by one line by using an odd field and an even field. Motion vector detecting circuit comprising a control means for controlling reading of data of the representative points from Li circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP07898392A JP3157261B2 (en) | 1992-02-28 | 1992-02-28 | Motion vector detection circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP07898392A JP3157261B2 (en) | 1992-02-28 | 1992-02-28 | Motion vector detection circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH06105211A true JPH06105211A (en) | 1994-04-15 |
JP3157261B2 JP3157261B2 (en) | 2001-04-16 |
Family
ID=13677130
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP07898392A Expired - Fee Related JP3157261B2 (en) | 1992-02-28 | 1992-02-28 | Motion vector detection circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3157261B2 (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100942803B1 (en) * | 2008-03-10 | 2010-02-18 | 엘지전자 주식회사 | Low Light Compensation Device and Method of Camera |
US7903899B2 (en) | 2007-05-23 | 2011-03-08 | Videosurf, Inc. | Method of geometric coarsening and segmenting of still images |
US7920748B2 (en) | 2007-05-23 | 2011-04-05 | Videosurf, Inc. | Apparatus and software for geometric coarsening and segmenting of still images |
US8059915B2 (en) | 2006-11-20 | 2011-11-15 | Videosurf, Inc. | Apparatus for and method of robust motion estimation using line averages |
US8364660B2 (en) | 2008-07-11 | 2013-01-29 | Videosurf, Inc. | Apparatus and software system for and method of performing a visual-relevance-rank subsequent search |
US8364698B2 (en) | 2008-07-11 | 2013-01-29 | Videosurf, Inc. | Apparatus and software system for and method of performing a visual-relevance-rank subsequent search |
US8379915B2 (en) | 2006-11-20 | 2013-02-19 | Videosurf, Inc. | Method of performing motion-based object extraction and tracking in video |
US8488839B2 (en) | 2006-11-20 | 2013-07-16 | Videosurf, Inc. | Computer program and apparatus for motion-based object extraction and tracking in video |
US9508011B2 (en) | 2010-05-10 | 2016-11-29 | Videosurf, Inc. | Video visual and audio query |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101262995B1 (en) * | 2012-11-26 | 2013-05-10 | (주)대호테크 | Sign device for showing road information using complex energy |
-
1992
- 1992-02-28 JP JP07898392A patent/JP3157261B2/en not_active Expired - Fee Related
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8059915B2 (en) | 2006-11-20 | 2011-11-15 | Videosurf, Inc. | Apparatus for and method of robust motion estimation using line averages |
US8379915B2 (en) | 2006-11-20 | 2013-02-19 | Videosurf, Inc. | Method of performing motion-based object extraction and tracking in video |
US8488839B2 (en) | 2006-11-20 | 2013-07-16 | Videosurf, Inc. | Computer program and apparatus for motion-based object extraction and tracking in video |
US7903899B2 (en) | 2007-05-23 | 2011-03-08 | Videosurf, Inc. | Method of geometric coarsening and segmenting of still images |
US7920748B2 (en) | 2007-05-23 | 2011-04-05 | Videosurf, Inc. | Apparatus and software for geometric coarsening and segmenting of still images |
KR100942803B1 (en) * | 2008-03-10 | 2010-02-18 | 엘지전자 주식회사 | Low Light Compensation Device and Method of Camera |
US8364660B2 (en) | 2008-07-11 | 2013-01-29 | Videosurf, Inc. | Apparatus and software system for and method of performing a visual-relevance-rank subsequent search |
US8364698B2 (en) | 2008-07-11 | 2013-01-29 | Videosurf, Inc. | Apparatus and software system for and method of performing a visual-relevance-rank subsequent search |
US9508011B2 (en) | 2010-05-10 | 2016-11-29 | Videosurf, Inc. | Video visual and audio query |
Also Published As
Publication number | Publication date |
---|---|
JP3157261B2 (en) | 2001-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0449283B1 (en) | An image sensing apparatus having camera-shake detection function | |
JP2816095B2 (en) | Video camera signal processing circuit | |
KR100232113B1 (en) | Motion vector detecting apparatus | |
JP2507138B2 (en) | Motion vector detection device and image shake correction device | |
JPH06105211A (en) | Motion vector detection circuit | |
EP0450889B1 (en) | Image shift correction for video cameras | |
JPH04213973A (en) | Image shake corrector | |
JP2003078808A (en) | Device and method for detecting motion vector, device and method for correcting camera shake and imaging apparatus | |
JP3947328B2 (en) | Defective pixel data correction device for solid-state image sensor | |
JP3143173B2 (en) | Video camera shake correction circuit | |
JP2019149602A (en) | Imaging apparatus | |
US6917650B2 (en) | Image motion detecting circuit | |
JP2562715B2 (en) | Camera shake detection circuit | |
JP2810814B2 (en) | Motion vector detection device and camera-integrated camera shake correction device | |
JP2547687B2 (en) | Motion vector detection circuit | |
JPH05300440A (en) | Solid-state image pickup device | |
JP2825377B2 (en) | Motion vector detection device and camera-integrated camera shake correction device | |
JP2659964B2 (en) | Automatic focusing device | |
JPH06121218A (en) | Motion vector detecting method | |
JPH10173992A (en) | Image correction device | |
JPH06319074A (en) | Motion vector detector for picture | |
JP2000267619A (en) | Liquid crystal projector device with image pickup camera | |
JPH099135A (en) | Motion vector detector | |
JP2547688B2 (en) | Motion vector detection circuit | |
JPH0646312A (en) | Moving vector detection circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090209 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090209 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100209 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110209 Year of fee payment: 10 |
|
LAPS | Cancellation because of no payment of annual fees |