JPH05292385A - Motion vector detector - Google Patents

Motion vector detector

Info

Publication number
JPH05292385A
JPH05292385A JP9640592A JP9640592A JPH05292385A JP H05292385 A JPH05292385 A JP H05292385A JP 9640592 A JP9640592 A JP 9640592A JP 9640592 A JP9640592 A JP 9640592A JP H05292385 A JPH05292385 A JP H05292385A
Authority
JP
Japan
Prior art keywords
motion vector
correlation
representative point
parameter
minimum value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP9640592A
Other languages
Japanese (ja)
Inventor
Yasuhiro Komiya
康宏 小宮
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.)
Olympus Corp
Original Assignee
Olympus Optical 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 Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP9640592A priority Critical patent/JPH05292385A/en
Publication of JPH05292385A publication Critical patent/JPH05292385A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To quickly detect a motion vector corresponding to the change of the magnification with a high precision by using plural picture element signals near the minimum value of correlation values to interpolate the motion vector. CONSTITUTION:When a prescribed area is determined in a first field picture by representative point memories 1 and 20, a representative point formed in each block is stored by a correlation detection range setting circuit 31. When a correlation detection range is set in a 2nd filed picture by a parameter setting circuit 10, a parameter T of correlation operation is set. The correlation operation between a prescribed representative point and the picture single of every T-th picture element is performed in accordance with the parameter T, and the minimum value of correlation values is detected by a minimum value detector 6. Plural picture element signals near the minimum value are used to interpolate the motion vector by an interpolating operation device 24, and the interpolated vector is detected. Thus, the motion vector corresponding to the change of the magnification is quickly detected with a high precision.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、画面内の画像全体の平
行移動量である動きベクトルを検出する動きベクトル検
出装置に係り、特にその検出結果を補正する動きベクト
ル検出装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motion vector detecting device for detecting a motion vector which is a translation amount of an entire image within a screen, and more particularly to a motion vector detecting device for correcting the detection result.

【0002】[0002]

【従来の技術】例えば、画像信号の動きベクトルを検出
する方法としては、特開昭61−201581号公報に
より開示された代表点方式による方法が知られている。
この方法は、前フレームの画像情報より間引いて取り出
した代表点の画像情報と現フレームの画像情報との相関
演算を行うものである。以下、この方法について図9及
び図10を参照して説明する。
2. Description of the Related Art For example, as a method for detecting a motion vector of an image signal, a representative point method disclosed in Japanese Patent Laid-Open No. 61-201581 is known.
In this method, a correlation calculation is performed between the image information of the representative point extracted by thinning out the image information of the previous frame and the image information of the current frame. Hereinafter, this method will be described with reference to FIGS. 9 and 10.

【0003】先ず、図9に示すように、画像全体をK×
L画像からなる小ブロックに分けた場合には、それぞれ
のブロックが代表点の抽出領域となり、このブロックは
全部でM×N個である。
First, as shown in FIG. 9, the entire image is K ×
When divided into small blocks made up of L images, each block becomes a representative point extraction region, and this block is M × N in total.

【0004】1フレームの画像の横方向の座標をx方
向、縦方向の座標をy方向とし、横方向i番目で縦方向
j番目のブロックをBijと表す。代表点はこのような1
ブロックに対して1点、例えば、そのブロックの中心に
選ばれる。同図では、ブロックBijの代表点の座標をC
ijとしており、このCijを(Ci,Cj )とすれば、次
式(1)により示される。 Ci =K(i−1)+K/2 Cj =L(j−1)+L/2 (i=1〜M,j=1〜N) …(1)
The horizontal coordinate of the image of one frame is the x direction, the vertical coordinate is the y direction, and the i-th horizontal block and the j-th vertical block are represented as Bij. The representative point is 1
One point is selected for the block, for example, the center of the block. In the figure, the coordinates of the representative point of the block Bij are C
ij, and if Cij is (Ci, Cj), it is expressed by the following equation (1). Ci = K (i-1) + K / 2 Cj = L (j-1) + L / 2 (i = 1 to M, j = 1 to N) (1)

【0005】前記ブロックBijは、この代表点抽出領域
と相関検出領域の関係を示しており相関検出領域の大き
さをSx×Syとする。そして、前フレームの代表点C
ijと現フレームの対応する相関検出領域内の各点の画像
情報との相関値を、次式(2)により求める。
The block Bij shows the relationship between the representative point extraction region and the correlation detection region, and the size of the correlation detection region is Sx × Sy. Then, the representative point C of the previous frame
The correlation value between ij and the image information of each point in the corresponding correlation detection area of the current frame is obtained by the following equation (2).

【0006】 pij(u,v)=|Gt (Ci-u ,Cj-v )−Gt-1 (Ci ,Cj )|…(2) 前記式(2)で、(u,v)はx方向及びy方向のずれ
量を、Gt は現フレームの画像を、Gt-1 は前フレーム
の画像を表す。この式は、各ブロック個々に行われ画像
全体に亘って小ブロックの個数分、これらの相関値を累
積加算して、画像全体の相関値p´を次式によって求め
る。
Pij (u, v) = | Gt (Ci-u, Cj-v) -Gt-1 (Ci, Cj) | ... (2) In the above formula (2), (u, v) is in the x direction. , And the shift amount in the y direction, Gt represents the image of the current frame, and Gt-1 represents the image of the previous frame. This equation is carried out for each block individually, and these correlation values are cumulatively added for the number of small blocks over the entire image, and the correlation value p ′ for the entire image is obtained by the following equation.

【0007】[0007]

【数1】 ここで、ずれ量u,vのとり得る範囲は次の様に示され
る。 −K/2+1≦u≦K/2 −L/2+1≦v≦L/2 …(4)
[Equation 1] Here, the range that the deviation amounts u and v can take is shown as follows. −K / 2 + 1 ≦ u ≦ K / 2 −L / 2 + 1 ≦ v ≦ L / 2 (4)

【0008】そして、前記式(4)の範囲内において前
記相関値p´を最小とするu,vが動きベクトルを与え
る。この従来例では、代表点抽出領域が相関検出領域を
包含しているために次式(5)に示すような関係があ
る。 −K/2+1≦−Sx/2≦u≦Sx/2≦K/2 −L/2+1≦−Sy/2≦v≦Sy/2≦L/2 …(5)
Then, u and v that minimize the correlation value p ′ within the range of the equation (4) give a motion vector. In this conventional example, since the representative point extraction area includes the correlation detection area, there is a relationship shown in the following expression (5). -K / 2 + 1≤-Sx / 2≤u≤Sx / 2≤K / 2 -L / 2 + 1≤-Sy / 2≤v≤Sy / 2≤L / 2 (5)

【0009】即ち、ある1つの代表点の画像情報に対す
る相関検出領域の画像情報が持つ相関は、それぞれ1回
の演算によって求められる。従って、すべての画像情報
を保持する手段は必要ではなく、代表点の画像情報のみ
を保持する手段があれば良いことになる。
That is, the correlation of the image information of the correlation detection area with respect to the image information of a certain representative point is obtained by one calculation. Therefore, a means for holding all the image information is not necessary, and a means for holding only the image information of the representative point will suffice.

【0010】次に、図10は、従来例の動きベクトル検
出装置の具体的な回路構成を示したものである。同図に
おいて、代表点を記憶するための代表点メモリ101よ
り前フレームの代表点の画像信号値Gt-1 が出力される
と、該画像信号値Gt-1 と現フレームの画像信号値Gt
との差が減算器102で算出される。そして、この減算
器102から出力される差信号の絶対値が絶対値回路1
03にて算出される。そして、加算器104、相関値メ
モリ105では、前記(3)式に示した相関値p´
(u,v)が出力される。尚、この代表点メモリ10
1、相関値メモリ105はアドレスコントローラ107
により、その読み出し及び書き込みのアドレスが制御さ
れる。そして、最小値検出回路106では、この相関値
p´(u,v)の最小値を与える(u,v)、つまり動
きベクトルV(=(ξ、η))が出力される。
Next, FIG. 10 shows a specific circuit configuration of a conventional motion vector detecting device. In the figure, when the image signal value Gt-1 of the representative point of the previous frame is output from the representative point memory 101 for storing the representative point, the image signal value Gt-1 and the image signal value Gt of the current frame are output.
The difference between and is calculated by the subtractor 102. The absolute value of the difference signal output from the subtractor 102 is the absolute value circuit 1
It is calculated in 03. Then, in the adder 104 and the correlation value memory 105, the correlation value p ′ shown in the equation (3) is
(U, v) is output. The representative point memory 10
1. The correlation value memory 105 is the address controller 107.
Thus, the read and write addresses are controlled. Then, the minimum value detection circuit 106 outputs (u, v) that gives the minimum value of the correlation value p ′ (u, v), that is, the motion vector V (= (ξ, η)).

【0011】ここで、代表点検出領域は相関検出領域を
包含しており、各ブロックBijの各画素は各々対応する
代表点Cijとの相関演算が行われる。この相関演算は画
像信号が読み出されつつ行われ、1フレームの画像信号
を読み出し終わると同時に相関値p´(u,v)の検出
が終わる。
Here, the representative point detection area includes the correlation detection area, and each pixel of each block Bij is subjected to the correlation calculation with the corresponding representative point Cij. This correlation calculation is performed while the image signal is being read, and the detection of the correlation value p ′ (u, v) is finished at the same time when the reading of the image signal of one frame is finished.

【0012】さらに、テレビジョン画像信号のような走
差信号の場合は、順次入力される画素と対応する代表点
との相関演算を1回だけ行えばよいことになり、相関演
算のためにメモリとのアクセスが不要となり、回路規模
を大きくすることなく、動きベクトルを高速に求めるこ
とができる。
Further, in the case of a travel difference signal such as a television image signal, the correlation calculation between the sequentially input pixels and the corresponding representative points only needs to be performed once, and a memory is required for the correlation calculation. It is not necessary to access to and, and the motion vector can be obtained at high speed without increasing the circuit scale.

【0013】[0013]

【発明が解決しようとする課題】例えば、顕微鏡のよう
に倍率の異なるレンズを用いて撮影を行う場合には、実
際のカメラの振れ量が同じであっても、画像の動きは高
倍率のレンズほど大きくなってしまう為、動きベクトル
を正しく検出するためには、レンズの倍率に応じて相関
検出領域をより大きくする必要がある。
For example, when shooting is performed using lenses having different magnifications such as a microscope, the movement of the image is high even if the actual camera shake amount is the same. Therefore, in order to correctly detect the motion vector, it is necessary to make the correlation detection region larger according to the magnification of the lens.

【0014】しかしながら、上述したような従来例で
は、相関検出領域が代表点抽出領域を越えると、その相
関検出領域に対応する相関演算では、他の代表点抽出領
域に含まれる画像情報を必要とする。このため、同じ画
素の画像情報を最低2回以上演算に使用することにな
り、この2回以上使用する画像情報を保存する手段、つ
まりメモリが必要になる。さらに、1フレームの画像情
報の読み出しが終わった後に、このメモリの画像情報を
用いて相関演算を行うことになり、動きベクトルの検出
に多大な時間を要する。
However, in the above-described conventional example, when the correlation detection area exceeds the representative point extraction area, the correlation calculation corresponding to the correlation detection area requires image information included in another representative point extraction area. To do. Therefore, the image information of the same pixel is used at least twice in the calculation, and a means for storing the image information used twice or more, that is, a memory is required. Further, after the reading of the image information of one frame is completed, the correlation calculation is performed using the image information of this memory, and it takes a lot of time to detect the motion vector.

【0015】また、相関検出領域が代表点抽出領域を越
えないように代表点抽出領域も大きくすると、画像内の
小ブロック数を減らすことになり、前記(3)式に示し
たような累積加算数が減少し、動きベクトルの検出精度
を著しく低下させてしまう。本発明は前記問題に鑑みて
なされたもので、その目的とするところは、メモリを増
大させることなく、撮影倍率の変化に対応した動きベク
トルの検出を高速且つ高精度に行うことにある。
Further, if the representative point extraction area is enlarged so that the correlation detection area does not exceed the representative point extraction area, the number of small blocks in the image is reduced, and the cumulative addition as shown in the equation (3) is performed. The number decreases, and the accuracy of motion vector detection is significantly reduced. The present invention has been made in view of the above problems, and an object of the present invention is to detect a motion vector corresponding to a change in shooting magnification with high speed and high accuracy without increasing the memory.

【0016】[0016]

【課題を解決するための手段】前記目的を達成するため
に、本発明による動きベクトル検出装置では、異なる時
間に撮像された少なくとも第1及び第2のフィールドの
画像信号の相関演算から画像の動きベクトルを検出する
装置において、前記第1のフィールド画像に複数のブロ
ックからなる所定領域を定め、各ブロック内に形成され
る代表点を記憶する代表点記憶手段と、前記第2のフィ
ールド画像に前記ブロックと等しいか又はそれ以上であ
る相関検出領域を設定する相関検出領域設定手段と、前
記相関演算のパラメータTを設定するパラメータ設定手
段と、前記パラメータTに応じて所定代表点に対して前
記相関検出領域のT画素毎の画像信号との相関演算を行
う相関演算手段と、前記相関演算手段で検出された相関
値の最小値を動きベクトルとして検出する最小値検出手
段と、前記最小値付近の複数の画素信号を用いて前記動
きベクトルに補間演算を行い補間された第1の動きベク
トルを検出する補間演算手段とを具備することを特徴と
する。
In order to achieve the above object, in the motion vector detecting device according to the present invention, the motion of an image is calculated from the correlation calculation of the image signals of at least the first and second fields imaged at different times. In an apparatus for detecting a vector, a predetermined area composed of a plurality of blocks is defined in the first field image, representative point storage means for storing a representative point formed in each block, and the second field image in the representative field storage means. Correlation detection area setting means for setting a correlation detection area equal to or larger than the block, parameter setting means for setting a parameter T of the correlation calculation, and the correlation with respect to a predetermined representative point according to the parameter T. Correlation calculation means for performing a correlation calculation with the image signal for each T pixel in the detection area, and the minimum value of the correlation values detected by the correlation calculation means are moved. A minimum value detecting means for detecting as a cutout, and an interpolation calculating means for performing an interpolation operation on the motion vector by using a plurality of pixel signals near the minimum value and detecting an interpolated first motion vector. Characterize.

【0017】[0017]

【作用】即ち、本発明による動きベクトル検出装置で
は、代表点記憶手段により第1のフィールド画像に複数
のブロックからなる所定領域が定められると、相関検出
領域設定手段により各ブロック内に形成される代表点が
記憶される。そして、パラメータ設定手段により第2の
フィールド画像に前記ブロックと等しいか又はそれ以上
である相関検出領域が設定されると前記相関演算のパラ
メータTが設定される。さらに、相関演算手段により前
記パラメータTに応じて所定代表点に対して前記相関検
出領域のT画素毎の画像信号との相関演算が行われ、最
小値検出手段により、この検出された相関値の最小値が
動きベクトルとして検出される。そして、補間演算手段
により、前記最小値付近の複数の画素信号を用いて前記
動きベクトルに補間演算が行われ、補間された第1の動
きベクトルが検出される。
That is, in the motion vector detecting device according to the present invention, when the representative point storage means defines a predetermined area consisting of a plurality of blocks in the first field image, the correlation detection area setting means forms each block in each block. The representative point is stored. When the parameter setting means sets a correlation detection area equal to or larger than the block in the second field image, the parameter T of the correlation calculation is set. Further, the correlation calculation means performs the correlation calculation with the image signal for each T pixel in the correlation detection area with respect to the predetermined representative point according to the parameter T, and the minimum value detection means calculates the correlation value of the detected correlation value. The minimum value is detected as the motion vector. Then, the interpolation calculation means performs an interpolation calculation on the motion vector using the plurality of pixel signals near the minimum value, and the interpolated first motion vector is detected.

【0018】[0018]

【実施例】本発明は、隣合う画素はそれぞれ異なる代表
点との相関演算を行うようにし、この隣合う相関検出領
域を互いに交差させることに特徴を有している。
BEST MODE FOR CARRYING OUT THE INVENTION The present invention is characterized in that adjacent pixels are subjected to correlation calculation with different representative points, and the adjacent correlation detection regions are crossed with each other.

【0019】即ち、図2(a)に示すように、各ブロッ
クの相関検出領域を隣合うブロックの領域まで広げてい
る。同図では、9個の代表点抽出領域と、その中央に位
置する代表点を太線の丸印で示している。そして、代表
点Cijの相関検出領域を代表点抽出領域より大きく設定
する。ただし、代表点Cijと相関演算を行う画素は図
中、黒い丸印で示すように1画素おきとなっており、隣
の代表点の相関検出領域とオーバーラップするようにな
っている。
That is, as shown in FIG. 2A, the correlation detection area of each block is expanded to the area of the adjacent block. In the figure, nine representative point extraction regions and the representative point located at the center thereof are indicated by thick circles. Then, the correlation detection area of the representative point Cij is set larger than the representative point extraction area. However, the pixels for which the correlation calculation is performed with the representative point Cij are every other pixel as indicated by black circles in the figure, and overlap the correlation detection area of the adjacent representative point.

【0020】つまり、代表点Cijと相関演算を行う画素
はCi-4,j-4 、Ci-2,j-4 、Ci,j-4 、…Ci+4,j+4 と
1画素おき、且つ1ラインおきとなり、その相関値はそ
れぞれ図2(b)に示す相関メモリの対応位置P-4,-4
、P-2,-4 、P0 , -4、…P+4,+4 に累積加算され
る。
That is, the pixels to be subjected to the correlation calculation with the representative point Cij are Ci-4, j-4, Ci-2, j-4, Ci, j-4, ... Ci + 4, j + 4 every other pixel, In addition, every other line, the correlation values are respectively corresponding positions P-4 and -4 in the correlation memory shown in FIG.
, P-2, -4, P0, -4, ... P + 4, + 4 are cumulatively added.

【0021】そして、黒い丸印以外の画素(白い丸印)
は、異なる代表点との相関演算が行われる。例えば、画
素Ci-3,j-4 は代表点Ci-5,j と相関演算が行われ、そ
の相関値はP2,-4に累積加算される。
Pixels other than black circles (white circles)
, The correlation calculation with different representative points is performed. For example, the pixel Ci-3, j-4 is subjected to correlation calculation with the representative point Ci-5, j, and the correlation value is cumulatively added to P2, -4.

【0022】このように、隣合う画素はそれぞれ異なる
代表点との相関演算を行うことで、隣合う相関検出領域
を互いに交差させ、相関検出領域を代表点検出領域より
も大きくすることができる。また、各画素は1度だけ用
いることから、従来例と同じく相関演算のためにメモリ
とのアクセスが不要となり、回路規模を大きくすること
なく、動きベクトルを高速に求めることができる。さら
に、動きベクトルは数画素おきの間隔で検出されること
になるが、補間演算を用いることで精度を高めることも
可能である。
As described above, adjacent pixels are subjected to correlation calculation with different representative points, so that adjacent correlation detection areas can intersect with each other and the correlation detection area can be made larger than the representative point detection area. Also, since each pixel is used only once, access to the memory is not required for the correlation calculation as in the conventional example, and the motion vector can be obtained at high speed without increasing the circuit scale. Furthermore, although the motion vector is detected at intervals of several pixels, it is possible to improve the accuracy by using interpolation calculation.

【0023】尚、図2では特定の代表点に対しては2画
素毎に相関値を求めたが、3画素おき、或いはそれ以上
でもよい。例えば、T画素毎に行うとすれば、相関演算
を行う画素総数は変化されずに、相関検出範囲を従来の
T倍に広げることが可能となる。
In FIG. 2, the correlation value is calculated for every two pixels for a specific representative point, but it may be three pixels or more. For example, if it is performed for each T pixel, the total number of pixels for which the correlation calculation is performed does not change, and the correlation detection range can be expanded to T times that of the related art.

【0024】また、従来例では±2画素の動きベクトル
しか検出できなかったが、本発明では±2T画素の動き
ベクトルを検出することができる。そして、代表点メモ
リ及び相関値メモリの容量はパラメータTに応じて変え
る必要は無い。以下、本発明の第1実施例に係る動きベ
クトル検出装置について説明する。
Further, in the conventional example, only the motion vector of ± 2 pixels can be detected, but in the present invention, the motion vector of ± 2T pixels can be detected. The capacities of the representative point memory and the correlation value memory need not be changed according to the parameter T. Hereinafter, the motion vector detection device according to the first exemplary embodiment of the present invention will be described.

【0025】本実施例は、例えば顕微鏡のように撮影光
学系の倍率が変化する撮像装置における像の揺れを検出
して補正する装置である。そして、T画素毎に特定の代
表点との相関演算を行うときに、このパラメータTを撮
影光学系の倍率に応じて変化させることに特徴を有す
る。尚、前記代表点は図3に示すように、間隔Dx,D
yで画像の中央付近にM×N個配置されており、その相
関検出領域はSx×Syである。
The present embodiment is an apparatus for detecting and correcting an image shake in an image pickup apparatus such as a microscope in which the magnification of a photographing optical system changes. When the correlation calculation with a specific representative point is performed for each T pixel, the parameter T is changed according to the magnification of the photographing optical system. The representative points are, as shown in FIG.
M × N pieces are arranged in the vicinity of the center of the image by y, and the correlation detection area thereof is Sx × Sy.

【0026】図1に示すように、ステージ26には所望
の観察物体23が載せられており、種々の対物レンズを
含む撮影光学系8がそれに対面する位置に配置されてい
る。そして、この撮影光学系8には、所望とする対物レ
ンズを設定するための設定値を出力する倍率選択部9が
接続されている。
As shown in FIG. 1, a desired observation object 23 is placed on a stage 26, and a photographing optical system 8 including various objective lenses is arranged at a position facing it. Then, the photographing optical system 8 is connected to a magnification selection unit 9 that outputs a set value for setting a desired objective lens.

【0027】さらに、この倍率選択部9には、設定され
た倍率に応じて前記パラメータTを算出するためのパラ
メータ設定回路10が接続されており、該パラメータ設
定回路10には選択された対物レンズの倍率に応じて下
記の表1に示すような関係に基づいて選択されたパラメ
ータTを受けるアドレスコントローラ7が接続されてい
る。
Further, a parameter setting circuit 10 for calculating the parameter T according to the set magnification is connected to the magnification selecting section 9, and the selected objective lens is connected to the parameter setting circuit 10. An address controller 7 is connected which receives a parameter T selected based on the relationship shown in Table 1 below according to the scaling factor.

【0028】[0028]

【表1】 [Table 1]

【0029】そして、前記撮影光学系8に対面する位置
にはCCD11が配置されている。このCCD11に
は、読み出された信号を増幅するためのプリアンプ12
を介して、該信号をデジタル信号に変換するためのA/
D変換器13が接続されており、該A/D変換器13に
は、色分離やγ補正、ホワイトバランス補正等の各種信
号処理を行うための信号処理回路14が接続されてい
る。
A CCD 11 is arranged at a position facing the photographing optical system 8. The CCD 11 has a preamplifier 12 for amplifying the read signal.
A / for converting the signal into a digital signal via
The D converter 13 is connected, and the A / D converter 13 is connected with a signal processing circuit 14 for performing various signal processes such as color separation, γ correction, and white balance correction.

【0030】さらに、この信号処理回路14には、それ
ぞれ色信号Cのフィールド信号を記憶するためのフィー
ルドメモリ15,16、それぞれ輝度信号Yのフィール
ド信号を記憶するためのフィールドメモリ17,18が
接続されており、これらフィールドメモリ15乃至18
には、その読み出しアドレスを制御するためのアドレス
制御回路19が接続されている。前記信号処理回路14
は、異なるフィールドの代表点を記憶するための代表点
メモリ1,20にも接続されている。
Further, the signal processing circuit 14 is connected with field memories 15 and 16 for respectively storing a field signal of a color signal C and field memories 17 and 18 respectively for storing a field signal of a luminance signal Y. These field memories 15 to 18
An address control circuit 19 for controlling the read address is connected to. The signal processing circuit 14
Are also connected to representative point memories 1 and 20 for storing representative points of different fields.

【0031】そして、この代表点メモリ1,20には、
2フィールド前の代表点の画像信号値Gt-1 の出力を制
御するアドレスコントローラ7、及びこの2フィールド
前の代表点の画像信号値Gt-1 と現フィールドの画像信
号G1との差を求めるための減算器2が接続されてい
る。そして、このアドレスコントローラ7には、相関領
域を表す信号を与えるための相関検出領域設定回路31
が接続されている。
Then, in the representative point memories 1 and 20,
An address controller 7 that controls the output of the image signal value Gt-1 of the representative point two fields before, and to obtain the difference between the image signal value Gt-1 of the representative point two fields before and the image signal G1 of the current field. Subtractor 2 is connected. Then, the address controller 7 is provided with a correlation detection area setting circuit 31 for giving a signal representing the correlation area.
Are connected.

【0032】さらに、前記減算器2には、出力される差
信号の絶対値を算出するための絶対値回路3が接続され
ており、該絶対値回路3には、加算器4を介して前記
(3)式で示したp´(u,v)を出力するための相関
値メモリ5が接続されている。そして、この相関値メモ
リ5には、p´(u,v)の最小値を与える(u,
v)、つまり動きベクトルV(=(ξ,η)とする)を
出力するための最小値検出回路6が接続されており、該
最小値検出器6には、T画素以下の精度を持つ動きベク
トルV´を算出する補間演算器24が接続されている。
Further, an absolute value circuit 3 for calculating the absolute value of the output difference signal is connected to the subtractor 2, and the absolute value circuit 3 is connected to the absolute value circuit 3 via an adder 4. A correlation value memory 5 for outputting p '(u, v) shown in the equation (3) is connected. Then, the minimum value of p '(u, v) is given to the correlation value memory 5 (u,
v), that is, a minimum value detection circuit 6 for outputting a motion vector V (= (ξ, η)) is connected, and the minimum value detector 6 has a motion with an accuracy of T pixels or less. An interpolation calculator 24 for calculating the vector V ′ is connected.

【0033】そして、この補間演算器24には、順次出
力される動きベクトルV´からフィールドメモリ15乃
至18の読み出しアドレスSを検出し、アドレス制御回
路19へ出力する動きベクトル判定回路が接続されてい
る。
The interpolation calculator 24 is connected to a motion vector determination circuit that detects the read address S of the field memories 15 to 18 from the sequentially output motion vector V'and outputs it to the address control circuit 19. There is.

【0034】前記フィールドメモリ16、17には、読
み出された信号の表示を行う表示回路21が接続されて
いる。そして、前記アドレスコントローラ7、相関検出
設定回路31には、システム全体を制御するシステムコ
ントローラ27が接続されている。
A display circuit 21 for displaying the read signal is connected to the field memories 16 and 17. A system controller 27 that controls the entire system is connected to the address controller 7 and the correlation detection setting circuit 31.

【0035】ここで、前記補間演算器24は、最小値検
出回路6で検出された動きベクトルVより、相関値の最
小点を与える位置(ξ,η)の近傍の4点の相関値を相
関値メモリ5から読み出すために設けられたものであ
る。
Here, the interpolation calculator 24 correlates the correlation values of four points near the position (ξ, η) giving the minimum correlation value from the motion vector V detected by the minimum value detection circuit 6. It is provided for reading from the value memory 5.

【0036】つまり、図4(a)に示すように、Pξ,
ηの上下左右の4位置の相関値より補間演算を行う。そ
して、Pξ−T,η、Pξ,η、Pξ+T,ηの3点よ
りx方向の補間を、Pξ,η−T、Pξ,η、Pξ,η
+Tの3点を用いてy方向の補間を行う。
That is, as shown in FIG.
Interpolation is performed from the correlation values at four positions above, below, left and right of η. Then, interpolation in the x direction is performed from three points of Pξ-T, η, Pξ, η, Pξ + T, η, and Pξ, η-T, Pξ, η, Pξ, η
Interpolation in the y direction is performed using three points + T.

【0037】この補間は、図4(b)に示すような直線
補間で次式(6)により補間値ξ´を求める。尚、Pξ
−T,η、Pξ,η、Pξ+T,ηの3点の相関値をそ
れぞれ、φ−T、φ0、φ+Tとする。 φ−T≧φ+Tの時 ξ´=ξ+T(φ−T−φ+T)/{2(φ−T−φ0)} …(6a) φ−T>φ+Tの時 ξ´=ξ−T(φ+T−φ−T)/{2(φ+T−φ0)} …(6b)
This interpolation is a linear interpolation as shown in FIG. 4B, and the interpolation value ξ'is obtained by the following equation (6). In addition, Pξ
Correlation values at three points of −T, η, Pξ, η, Pξ + T, η are defined as φ-T, φ0, and φ + T, respectively. When φ−T ≧ φ + T ξ ′ = ξ + T (φ−T−φ + T) / {2 (φ−T−φ0)} (6a) When φ−T> φ + T ξ ′ = ξ−T (φ + T−φ −T) / {2 (φ + T−φ0)} (6b)

【0038】そして、y方向についても同様に補間値η
´を求める。このように、補間演算器24においてT画
素以下の精度を有する動きベクトルV´=(ξ´,η
´)を算出する。
The interpolation value η is similarly applied to the y direction.
Ask for ´. In this way, the motion vector V ′ = (ξ ′, η having an accuracy of T pixels or less in the interpolation calculator 24.
′) Is calculated.

【0039】また、前記動きベクトル判定回路25は、
動きベクトルV´が振動等の観察者の意図に反する揺れ
なのか、或いはステージを動かしたことで生じたパンニ
ングなのかを判定するために設けられた回路である。
Further, the motion vector determination circuit 25 is
This is a circuit provided to determine whether the motion vector V ′ is shaking such as vibration that is contrary to the observer's intention, or panning caused by moving the stage.

【0040】この動きベクトル判定回路25の揺れは、
図5において実線で示される。尚、同図における波線は
ステージを動かしたことによる変位を表し、これは観察
者が元々意図した動きである。即ち、同図に示された実
線と波線との差が補正すべき変位量に相当する。そし
て、この波線に相当する動きは例えば実線で表される変
位の局所平均に一致する。
The swing of the motion vector determination circuit 25 is
It is shown by a solid line in FIG. The wavy line in the figure represents the displacement caused by moving the stage, which is the movement originally intended by the observer. That is, the difference between the solid line and the wavy line shown in the figure corresponds to the displacement amount to be corrected. The movement corresponding to this wavy line corresponds to the local average of the displacement represented by the solid line, for example.

【0041】そして、この動きベクトル判定回路25
は、詳細には図6に示すような構成となっている。即
ち、加算器251、ラッチ回路252、FIFO(Firs
tin-Firstout memory )253、前記ラッチ回路252
の出力からFIFO253の出力を減算するための減算
器254、1/n(nはFIFO253に記憶される信
号数)を乗じ、nフィールドの動きベクトルの平均値V
´ave を求める乗算器255、現フィールドの動きベク
トルV´との差を求める減算器256からなる。そし
て、読み出されたアドレスSがアドレス制御回路19へ
出力されるようになっている。
The motion vector determination circuit 25
Has a configuration as shown in detail in FIG. That is, the adder 251, the latch circuit 252, the FIFO (Firs
tin-Firstout memory) 253, the latch circuit 252
Of the motion vector of the n field is multiplied by a subtracter 254, 1 / n (n is the number of signals stored in the FIFO 253) for subtracting the output of the FIFO 253 from the output of
It comprises a multiplier 255 for obtaining'ave 'and a subtracter 256 for obtaining the difference from the motion vector V'of the current field. Then, the read address S is output to the address control circuit 19.

【0042】以上説明したような構成において、観察に
当たり観察者が適当な倍率として、例えば20×の対物
レンズ8を選択すると、パラメータ設定回路10におい
て、前記表1に基づきパラメータTが“2”に設定さ
れ、その情報がアドレスコントローラ7へ出力される。
In the structure as described above, when the observer selects an objective lens 8 of 20 ×, for example, as an appropriate magnification for the observation, the parameter T is set to “2” in the parameter setting circuit 10 based on Table 1 above. The address is set and the information is output to the address controller 7.

【0043】そして、図示しない測距系により合焦調節
が行われた後、CCD11から読み出された観察物体の
画像信号はプリアンプ12で増幅された後、A/D変換
器13でデジタル信号に変換される。
Then, after focus adjustment is performed by a distance measuring system (not shown), the image signal of the observation object read from the CCD 11 is amplified by the preamplifier 12 and then converted into a digital signal by the A / D converter 13. To be converted.

【0044】さらに、信号処理回路14にて、色分離
や、γ補正、ホワイトバランス補正等が行われ、該信号
処理回路14からフィールド毎に出力される輝度信号
Y、及び色信号Cは、各々フィールドメモリ17,1
8、及び15,16に記憶される。一方、所定の位置に
設定された代表点は、フィールド毎に代表点メモリ1及
び代表点メモリ20に記憶される。そして、相関領域設
定回路31により設定された画像信号に対してアドレス
コントローラ7により現フィールドの2フィールド前、
つまり1フレーム前の代表点が代表点メモリ1又は20
から読み出される。この読み出しは、前述したようにパ
ラメータTに応じて画素毎に異なる代表点が読み出され
るように制御される。そして、順次入力された画素値と
対応する代表点との差の絶対値が減算器2、絶対値回路
3により検出され、対応する相関値メモリに累積加算さ
れる。こうして、すべての代表点に対応した相関検出領
域の相関演算が終わった時に、相関値p´(u,v)が
算出される。
Further, the signal processing circuit 14 performs color separation, γ correction, white balance correction, etc., and the luminance signal Y and the color signal C output from the signal processing circuit 14 for each field are respectively Field memory 17,1
8 and 15, 16. On the other hand, the representative point set at a predetermined position is stored in the representative point memory 1 and the representative point memory 20 for each field. Then, with respect to the image signal set by the correlation area setting circuit 31, the address controller 7 sets the field two fields before the current field,
That is, the representative point one frame before is the representative point memory 1 or 20.
Read from. This reading is controlled so that different representative points are read out for each pixel according to the parameter T as described above. Then, the absolute value of the difference between the sequentially input pixel value and the corresponding representative point is detected by the subtracter 2 and the absolute value circuit 3, and is cumulatively added to the corresponding correlation value memory. In this way, the correlation value p ′ (u, v) is calculated when the correlation calculation of the correlation detection areas corresponding to all the representative points is completed.

【0045】次に、最小値検出器6では、最小の相関値
を与えるu,vが動きベクトルVとして求められる。そ
して、補間演算器24では、前述の様な補間演算により
パラメータT(=2)画素以下の精度で動きベクトルV
´が算出される。
Next, in the minimum value detector 6, u and v giving the minimum correlation value are obtained as the motion vector V. Then, the interpolation calculator 24 performs the above-described interpolation calculation with the accuracy of the parameter T (= 2) pixels or less to obtain the motion vector V.
′ Is calculated.

【0046】こうして、フィールド毎に順次検出される
動きベクトルV´から動きベクトル判定回路25では、
前述のように現フィールドの動きベクトルからnフィー
ルドの平均値ベクトルの差からフィールドメモリからの
読み出しアドレスSが算出され、アドレス制御回路19
からは、このアドレスSによってフィールドメモリの所
定のアドレスの輝度信号と色信号が読み出され表示装置
21にて表示される。尚、観察者は必要に応じてステー
ジ26を動かしたり、対物レンズ8の倍率を変更するこ
とができる。例えば、倍率が50×になった場合にはパ
ラメータTを5に設定して前述の動作を続ける。そし
て、50×の場合、20×に比較して同じ振動があって
も画像信号の変位量は2.5倍となるが、パラメータT
も2.5倍となっているため相関検出範囲も同じく2.
5倍となっており、同程度の振動に対しては同様に検出
が可能である。
In this way, in the motion vector determination circuit 25 from the motion vector V'which is sequentially detected for each field,
As described above, the read address S from the field memory is calculated from the difference between the motion vector of the current field and the average value vector of the n field, and the address control circuit 19
From this, the luminance signal and the color signal at a predetermined address of the field memory are read by this address S and displayed on the display device 21. The observer can move the stage 26 and change the magnification of the objective lens 8 as necessary. For example, when the magnification becomes 50 ×, the parameter T is set to 5 and the above operation is continued. Then, in the case of 50 ×, the displacement amount of the image signal becomes 2.5 times as large as that in the case of 20 × even if the same vibration occurs.
Is 2.5 times, so the correlation detection range is also 2.
It is five times, and it is possible to detect vibrations of the same level in the same manner.

【0047】このように、本実施例においては、相関検
出領域を代表点検出領域よりも大きくしたことから代表
点間隔よりも大きい変位量の検出も可能であり、種々の
倍率に対して良好に動きベクトルの検出を行うことがで
きる。そして、この時、代表点メモリ及び相関値メモリ
の容量を増加させる必要はない。さらに、相関演算によ
り検出する動きベクトルはT画素間隔となり粗くなるが
補間演算利用してT画素以下の精度で動きベクトル検出
することができる。
As described above, in the present embodiment, since the correlation detection area is made larger than the representative point detection area, it is possible to detect a displacement amount larger than the representative point interval, which is excellent for various magnifications. Motion vector detection can be performed. At this time, it is not necessary to increase the capacities of the representative point memory and the correlation value memory. Furthermore, although the motion vector detected by the correlation calculation becomes coarse at T pixel intervals, the motion vector can be detected with accuracy of T pixels or less by using the interpolation calculation.

【0048】そして、動きベクトル判定回路25を設け
たことにより、ステージ26が動いた時にも正確な補正
処理を行っている。尚、パラメータTは選択されたレン
ズ8に応じて表1に示すように決められたが、外部スイ
ッチを設け観察者がマニュアルで設定してもよいし、高
倍率側に固定してもよい。また、本実施例ではX方向、
Y方向に対してパラメータTは同じとしてきたが異なる
値を用いてもよい。
Since the motion vector determination circuit 25 is provided, accurate correction processing is performed even when the stage 26 moves. Although the parameter T is determined as shown in Table 1 according to the selected lens 8, an external switch may be provided to be manually set by an observer or may be fixed to the high magnification side. Further, in the present embodiment, the X direction,
Although the parameter T is the same for the Y direction, different values may be used.

【0049】以上、第1の実施例について説明したが、
本実施例では、パタメータTが大きい場合でも補間演算
を用いてT画素以下の動きベクトルを検出できたが、パ
ラメータTが大きくなるに従い十分な精度を得ることが
できなくなってしまう。
The first embodiment has been described above.
In the present embodiment, even if the parameter T is large, the motion vector of T pixels or less can be detected by using the interpolation calculation, but as the parameter T becomes larger, sufficient accuracy cannot be obtained.

【0050】そこで、1度動きベクトル検出を行った後
に再度動きベクトルの検出を行うことで、このような第
1の実施例の問題を解決した第2の実施例について以下
に説明する。
Therefore, a second embodiment will be described below which solves the problem of the first embodiment by detecting the motion vector again after performing the motion vector detection once.

【0051】図8において、1回目の相関検出領域では
Sx=Sy=25で、T=3であり黒い丸印で示す代表
点と相関演算を行う画素で、1つの代表点当たり81回
である。そして、1回目の動きベクトル検出においてV
´(=(ξ´,η´))が検出されたとする。
In FIG. 8, in the first correlation detection area, Sx = Sy = 25, T = 3, and the number of pixels for which correlation calculation is performed with the representative points indicated by black circles is 81 times for each representative point. .. Then, in the first motion vector detection, V
It is assumed that ′ (= (ξ ′, η ′)) is detected.

【0052】第2回目の検出においては、パラメータT
を1回目の検出時の値より小さくして精度の向上を図
る。この時、図8に示すように1回目に検出された動き
ベクトルV´の周辺のみに2回目の相関検出領域を設定
すれば、相関演算量は1回目に比較し、大幅に少なくす
ることができる。尚、ξ´,η´は実数であるため、こ
れに最も近い整数値Cnを求め、この周辺に相関検出領
域を設定する。2回目の動きベクトルは、1回目のパラ
メータT程度の変位を見込めば良いのでSx,Syは次
式(7)より算出される。 Sx=Tx(1)×2 …(7a) Sy=Ty(1)×2 …(7b) Tx(1) : 1回目の検出時のX方向のパラメータ
T Ty(1) : 1回目の検出時のY方向のパラメータ
In the second detection, the parameter T
Is made smaller than the value at the first detection to improve accuracy. At this time, as shown in FIG. 8, if the second correlation detection area is set only around the motion vector V ′ detected first, the correlation calculation amount can be significantly reduced compared to the first time. it can. Since ξ ′ and η ′ are real numbers, the nearest integer value Cn is calculated and the correlation detection area is set around this value. Since it is sufficient for the second motion vector to allow for the displacement of the parameter T of the first time, Sx and Sy are calculated by the following equation (7). Sx = Tx (1) × 2 (7a) Sy = Ty (1) × 2 (7b) Tx (1): X direction parameter T Ty (1) at the first detection: At the first detection Parameter T in the Y direction of

【0053】本実施例では、Tx(1)=Ty(1)=
3であることから、Sx=Sy=5としている。また、
T=1とすれば画素演算量は25回となり、1回目の8
1回に比較してかなり少なくなる。次に、図7を参照し
て本実施例の構成について説明する。尚、第1実施例と
同一内容のものは同一番号で示し説明を省略する。
In this embodiment, Tx (1) = Ty (1) =
Since it is 3, Sx = Sy = 5. Also,
If T = 1, the pixel calculation amount becomes 25 times and the first 8 times.
It is considerably less than once. Next, the configuration of this embodiment will be described with reference to FIG. The same contents as those in the first embodiment are designated by the same reference numerals and the description thereof will be omitted.

【0054】本実施例は、第1実施例の構成に、更にシ
ステムコントローラ27にて制御される信号切り替え回
路28,29、整数化回路32を備えたことに特徴を有
している。
The present embodiment is characterized in that the configuration of the first embodiment is further provided with signal switching circuits 28 and 29 controlled by the system controller 27 and an integer conversion circuit 32.

【0055】このような構成において、第1回目の動き
ベクトル検出では、前記信号切り替え回路28がスイッ
チa側にオンとなり、第1実施例と全く同様に作用し、
補間演算器24で動きベクトルV´が算出される。
In such a structure, in the first motion vector detection, the signal switching circuit 28 is turned on to the switch a side, and operates exactly as in the first embodiment.
The motion vector V ′ is calculated by the interpolation calculator 24.

【0056】そして、整数化回路32にて、この動きベ
クトルV´に最も近い整数V1が算出され、メモリ29
に記憶されると共に相関検出範囲設定回路31へ出力さ
れ、第1回目の動きベクトル検出が終了する。
Then, the integer conversion circuit 32 calculates the integer V1 closest to the motion vector V ', and the memory 29
And stored in the correlation detection range setting circuit 31, and the first motion vector detection is completed.

【0057】次に、第2回目の動きベクトル検出では、
相関検出範囲設定回路31において第1回目の検出のパ
ラメータTから前記式(7)に基づいてSx,Syが求
められ、整数化回路32より出力された動きベクトルV
1の周辺にSx×Sy画素からなる相関検出領域が設定
され、アドレスコントローラ7に出力される。
Next, in the second motion vector detection,
The correlation detection range setting circuit 31 obtains Sx and Sy from the parameter T of the first detection based on the equation (7), and outputs the motion vector V output from the integer circuit 32.
A correlation detection area composed of Sx × Sy pixels is set around 1 and output to the address controller 7.

【0058】また、システムコントローラ27により新
たなパラメータT(1回目よりも小さい)がアドレスコ
ントローラ7に出力され、第2回目の動き検出が開始す
る。すると、信号切り替え回路28はスイッチb側がオ
ンとなり、フィールドメモリ17,18から各代表点に
対応して設定された相関検出範囲の信号が読み出され
る。
Further, the system controller 27 outputs a new parameter T (smaller than the first time) to the address controller 7, and the second time motion detection is started. Then, the switch b side of the signal switching circuit 28 is turned on, and the signals in the correlation detection range set corresponding to each representative point are read from the field memories 17 and 18.

【0059】そして、すべての代表点に対する相関演算
が終了した後、新たな動きベクトルV´が補間演算器2
4にて求められ、動きベクトル判定回路25に出力され
る。以降の動作は第1実施例と同様である。
After completion of the correlation calculation for all the representative points, the new motion vector V'is calculated by the interpolation calculator 2
4 and is output to the motion vector determination circuit 25. The subsequent operation is the same as in the first embodiment.

【0060】このように、本実施例では、例えば1回目
の検出時にはT=3、2回目の検出ではT=1とすれ
ば、検出される動きベクトルの精度は3倍となるが、演
算時間は、およそ(81+25)/81=1.3倍にし
か増加しないため、高速な動き検出を行うことができ
る。そして、1回目の動きベクトル検出を行った後に2
回目の動きベクトルの検出を行うようにしたので、検出
精度を容易に向上させることができる。
As described above, in this embodiment, for example, if T = 3 in the first detection and T = 1 in the second detection, the accuracy of the detected motion vector is tripled, but the calculation time is increased. Increases only approximately (81 + 25) /81=1.3 times, so high-speed motion detection can be performed. Then, after performing the first motion vector detection, 2
Since the motion vector is detected a second time, it is possible to easily improve the detection accuracy.

【0061】この時、相関検出領域を小さくしているた
め計算量は少なくてよく高速に行うことができる。尚、
本実施例では2回の動きベクトル検出を行うようにした
が、これに制限されるわけではなく、3回以上行っても
よい。
At this time, since the correlation detection area is made small, the amount of calculation is small and it can be performed at high speed. still,
Although the motion vector detection is performed twice in this embodiment, the present invention is not limited to this and may be performed three times or more.

【0062】以上詳述したように、本発明の動きベクト
ル検出装置では、代表点マッチング演算において必要な
メモリを増大させること無しに、累積加算数を変化させ
る事なく相関検出領域を代表点抽出領域より大きくする
事ができる為、撮影倍率が変り、動きベクトル量が変化
する場合においても確実に動きベクトルを検出すること
ができる。また、補間演算を併用しているため、高精度
な検出を行うことができる。
As described above in detail, in the motion vector detecting device of the present invention, the correlation detection area is changed to the representative point extraction area without changing the cumulative addition number without increasing the memory required for the representative point matching calculation. Since it can be made larger, the motion vector can be reliably detected even when the shooting magnification changes and the motion vector amount changes. Further, since interpolation calculation is also used, highly accurate detection can be performed.

【0063】[0063]

【発明の効果】本発明によれば、メモリを増大させるこ
となく、撮影倍率の変化に対応した動きベクトルの検出
を高速且つ高精度に行う動きベクトル検出装置を提供す
ることができる。
As described above, according to the present invention, it is possible to provide a motion vector detecting device which detects a motion vector corresponding to a change in photographing magnification at high speed and with high accuracy without increasing the memory.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1の実施例に係る動きベクトル検出
装置の構成を示す図である。
FIG. 1 is a diagram showing a configuration of a motion vector detection device according to a first embodiment of the present invention.

【図2】(a)は代表点検出領域及び相関検出範囲の関
係を示し、(b)は相関値メモリを示す。
FIG. 2A shows a relationship between a representative point detection area and a correlation detection range, and FIG. 2B shows a correlation value memory.

【図3】撮像画面において、代表点が間隔Dx,Dyで
画像の中央付近にM×N個配置されている様子を示す図
である。
FIG. 3 is a diagram showing a state in which M × N representative points are arranged near the center of an image at intervals Dx and Dy on an imaging screen.

【図4】(a)は動きベクトルの補間演算を説明するた
めの図であり、(b)は動き量と相関値との関係を示す
図である。
4A is a diagram for explaining a motion vector interpolation calculation, and FIG. 4B is a diagram showing a relationship between a motion amount and a correlation value.

【図5】実線は動きベクトル判定回路25の揺れを示
し、波線はステージを動かしたことによる変位を示す。
5A and 5B show a swing of the motion vector determination circuit 25, and a broken line show a displacement caused by moving the stage.

【図6】動きベクトル判定回路25の構成を示す図であ
る。
6 is a diagram showing a configuration of a motion vector determination circuit 25. FIG.

【図7】本発明の第2の実施例に係る動きベクトル検出
装置の構成を示す図である。
FIG. 7 is a diagram showing a configuration of a motion vector detection device according to a second embodiment of the present invention.

【図8】第2の実施例の相関検出領域を示す図である。FIG. 8 is a diagram showing a correlation detection area of the second embodiment.

【図9】従来の動きベクトル検出装置による代表点検出
領域及び相関検出範囲の関係を示す図である。
FIG. 9 is a diagram showing a relationship between a representative point detection area and a correlation detection range by a conventional motion vector detection device.

【図10】従来の動きベクトル検出装置の構成を示す図
である。
FIG. 10 is a diagram showing a configuration of a conventional motion vector detection device.

【符号の説明】[Explanation of symbols]

1,20…代表点メモリ、2…減算器、3…絶対値回
路、4…加算器、5…相関値メモリ、6…最小値検出
器、7…アドレスコントローラ、8…レンズ、9…倍率
選択部、10…パラメータ設定回路、11…CCD、1
2…プリアンプ、13…A/Dコンバータ、14…信号
処理回路、15,16,17,18…フィールドメモ
リ、19…アドレス制御回路、21…表示装置、23…
観察物体、24…補間演算器、25…動きベクトル判定
回路、26…ステージ、27…システムコントローラ、
28,29…信号切り替え回路、31…相関検出範囲設
定回路、32…整数化回路。
1, 20 ... Representative point memory, 2 ... Subtractor, 3 ... Absolute value circuit, 4 ... Adder, 5 ... Correlation value memory, 6 ... Minimum value detector, 7 ... Address controller, 8 ... Lens, 9 ... Magnification selection Section, 10 ... Parameter setting circuit, 11 ... CCD, 1
2 ... Preamplifier, 13 ... A / D converter, 14 ... Signal processing circuit, 15, 16, 17, 18 ... Field memory, 19 ... Address control circuit, 21 ... Display device, 23 ...
Observation object, 24 ... Interpolation calculator, 25 ... Motion vector determination circuit, 26 ... Stage, 27 ... System controller,
28, 29 ... Signal switching circuit, 31 ... Correlation detection range setting circuit, 32 ... Integer conversion circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 異なる時間に撮像された少なくとも第1
及び第2のフィールドの画像信号の相関演算から画像の
動きベクトルを検出する装置において、 前記第1のフィールド画像に複数のブロックからなる所
定領域を定め、各ブロック内に形成される代表点を記憶
する代表点記憶手段と、 前記第2のフィールド画像に前記ブロックと等しいか又
はそれ以上である相関検出領域を設定する相関検出領域
設定手段と、 前記相関演算のパラメータTを設定するパラメータ設定
手段と、 前記パラメータTに応じて所定代表点に対して前記相関
検出領域のT画素毎の画像信号との相関演算を行う相関
演算手段と、 前記相関演算手段で検出された相関値の最小値を動きベ
クトルとして検出する最小値検出手段と、 前記最小値付近の複数の画素信号を用いて前記動きベク
トルに補間演算を行い、補間された第1の動きベクトル
を検出する補間演算手段と、 を具備することを特徴とする動きベクトル検出装置。
1. At least a first imaged at a different time.
And a device for detecting a motion vector of an image from a correlation calculation of image signals of the second field, wherein a predetermined area composed of a plurality of blocks is defined in the first field image, and a representative point formed in each block is stored. Representative point storage means, correlation detection area setting means for setting a correlation detection area equal to or greater than the block in the second field image, and parameter setting means for setting a parameter T of the correlation calculation Correlation calculation means for performing a correlation calculation with an image signal for each T pixel in the correlation detection region with respect to a predetermined representative point according to the parameter T, and a minimum value of the correlation values detected by the correlation calculation means are moved. Minimum value detecting means for detecting as a vector, and a plurality of pixel signals near the minimum value are used to perform interpolation calculation on the motion vector, Motion vector detecting apparatus characterized by comprising the interpolation calculation means for detecting a motion vector, a.
JP9640592A 1992-04-16 1992-04-16 Motion vector detector Withdrawn JPH05292385A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9640592A JPH05292385A (en) 1992-04-16 1992-04-16 Motion vector detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9640592A JPH05292385A (en) 1992-04-16 1992-04-16 Motion vector detector

Publications (1)

Publication Number Publication Date
JPH05292385A true JPH05292385A (en) 1993-11-05

Family

ID=14164059

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9640592A Withdrawn JPH05292385A (en) 1992-04-16 1992-04-16 Motion vector detector

Country Status (1)

Country Link
JP (1) JPH05292385A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007267240A (en) * 2006-03-29 2007-10-11 Fujifilm Corp Motion vector calculation program and calculation apparatus, and imaging apparatus
JP2007267233A (en) * 2006-03-29 2007-10-11 Fujifilm Corp Electronic camera shake correction method and apparatus thereof, and imaging apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007267240A (en) * 2006-03-29 2007-10-11 Fujifilm Corp Motion vector calculation program and calculation apparatus, and imaging apparatus
JP2007267233A (en) * 2006-03-29 2007-10-11 Fujifilm Corp Electronic camera shake correction method and apparatus thereof, and imaging apparatus
JP4543000B2 (en) * 2006-03-29 2010-09-15 富士フイルム株式会社 Electronic image stabilization method and apparatus, and imaging apparatus

Similar Documents

Publication Publication Date Title
US7834907B2 (en) Image-taking apparatus and image processing method
US20090128643A1 (en) Image Pickup Apparatus, Method for Capturing Image, and Method for Designing Image Pickup Apparatus
US20120050580A1 (en) Imaging apparatus, imaging method, and program
JP2008092297A (en) Image processor, image processing program, image manufacturing method, and recording medium
JP2004056789A (en) Resolution and picture quality improving method for small image sensor
US5990942A (en) Photographing apparatus using image information for blurring correction
JPH11161773A (en) Method for processing picture and device for inputting picture
JP2011520339A (en) Image stabilization apparatus and method for moving image
JP2860702B2 (en) Motion vector detection device
JPH06165024A (en) Image pickup device, image reproducing device and video system
JPH05161145A (en) Sequential image pickup device
US20050105822A1 (en) Variable distortion aberration image pickup device
JP3333012B2 (en) Image synthesis device
JPH05292385A (en) Motion vector detector
JPH10262176A (en) Video image forming method
JP2003078808A (en) Device and method for detecting motion vector, device and method for correcting camera shake and imaging apparatus
JP4998134B2 (en) Image processing apparatus and image processing method
JP2005027046A (en) Image processor and image processing method
KR20120069543A (en) Device for processing image, method thereof and imaging device
JP6223135B2 (en) Imaging apparatus and control method thereof
JP2000078467A (en) Picture compositing method
JPH0846856A (en) Hand shake correcting device
JP2014099820A (en) Image photographing device and image photographing method
JP2735264B2 (en) Motion compensated imaging device
JP4567279B2 (en) Digital camera

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990706