JPH07115583A - Video camera with hand-shake correction device - Google Patents

Video camera with hand-shake correction device

Info

Publication number
JPH07115583A
JPH07115583A JP26226993A JP26226993A JPH07115583A JP H07115583 A JPH07115583 A JP H07115583A JP 26226993 A JP26226993 A JP 26226993A JP 26226993 A JP26226993 A JP 26226993A JP H07115583 A JPH07115583 A JP H07115583A
Authority
JP
Japan
Prior art keywords
motion vector
divergence
average
correlation value
area
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
JP26226993A
Other languages
Japanese (ja)
Inventor
Akira Toba
明 鳥羽
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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
Priority to JP15675293A priority Critical patent/JP2940762B2/en
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP26226993A priority patent/JPH07115583A/en
Priority to KR1019940014786A priority patent/KR100314104B1/en
Priority to US08/266,536 priority patent/US5563652A/en
Priority to EP19940110045 priority patent/EP0631432B1/en
Priority to DE1994625785 priority patent/DE69425785T2/en
Publication of JPH07115583A publication Critical patent/JPH07115583A/en
Priority to US08/475,171 priority patent/US5648815A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To detect the amount of hand-shake more accurately in which the resultant motion vector is more accurately obtained. CONSTITUTION:When a microcomputer 26 discriminates the presence of a valid area in a detection area, the microcomputer 26 calculates the degree of divergence. The divergence coefficient Hk is set stepwise in response to the degree of divergence, and the resultant motion vector is determined by calculating the arithmetic mean of partial motion vectors of a valid area XHk. When the divergence is a predetermined value or over, a minimum motion vector is selected from four partial motion vectors and the selected motion vector is used for the resultant motion vector. When no valid area is in existence in the detection area, the coefficient smaller than the resultant motion vector of the preceding field X1 is used as the resultant motion vector of a current field.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は手振れ補正装置を有す
るビデオカメラに関し、特にたとえば民生用のカメラ一
体型VTRとして用いられる、手振れ補正装置を有する
ビデオカメラに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a video camera having a camera shake correction device, and more particularly to a video camera having a camera shake correction device which is used, for example, as a VTR with a built-in camera for consumer use.

【0002】[0002]

【従来の技術】撮像装置の振れ成分を検出する方法の一
例が、1989年の第20回画像工学コンファレンスで
松下電器産業(株)から発表されている。この方法は、
特開昭61−201581号〔H04N 7/137〕
公報に記載されている代表点マッチング法から得られる
動きベクトルを使って、画像情報から撮像装置の振れ成
分を検出するものである。この発表では、画像情報から
得られる動きベクトルに基づいて手振れ補正をしてい
る。
2. Description of the Related Art An example of a method for detecting a shake component of an image pickup apparatus was announced by Matsushita Electric Industrial Co., Ltd. at the 20th Imaging Engineering Conference in 1989. This method
JP-A-61-201581 [H04N 7/137]
The motion vector obtained from the representative point matching method described in the publication is used to detect the shake component of the imaging device from the image information. In this presentation, camera shake correction is performed based on the motion vector obtained from the image information.

【0003】すなわち、この場合には、画面の4個の検
出領域を配置しており、1画面から4個の部分動きベク
トルを得る。そして、この4個の検出領域の部分動きベ
クトルの相加平均を画面の全体動きベクトルとしたり、
4個の部分動きベクトルのうち、中間の2個の部分動き
ベクトルの相加平均を画面の全体動きベクトルとしたり
して、手振れを補正している。
That is, in this case, four detection areas of the screen are arranged, and four partial motion vectors are obtained from one screen. Then, the arithmetic mean of the partial motion vectors of these four detection areas is used as the overall motion vector of the screen,
Of the four partial motion vectors, the camera shake is corrected by using the arithmetic mean of the middle two partial motion vectors as the overall motion vector of the screen.

【0004】[0004]

【発明が解決しようとする課題】しかし、たとえば画面
の左半分または右半分というように4個の検出領域内の
2領域に動く物体が存在するような場合、すなわち画面
内の一部分にのみ動く物体が存在するような場合には、
その動く物体に影響されて全体動きベクトルを正確に検
出することができず、手振れ量を誤検出する恐れがあっ
た。
However, when there is a moving object in two areas of the four detection areas, such as the left half or the right half of the screen, that is, an object that moves only in a part of the screen. Is present, then
Due to the moving object, the entire motion vector cannot be accurately detected, and the amount of camera shake may be erroneously detected.

【0005】それゆえに、この発明の主たる目的は、手
振れ量をより正確に検出できる、手振れ補正装置を有す
るビデオカメラを提供することである。
Therefore, a main object of the present invention is to provide a video camera having a camera shake correction device, which can detect a camera shake amount more accurately.

【0006】[0006]

【課題を解決するための手段】この発明は、画面内に形
成された複数個の検出領域の各々の部分動きベクトルを
用いて全体動きベクトルを求める手振れ補正装置を有す
るビデオカメラであって、各部分動きベクトルの平均で
ある平均ベクトルを求める平均化手段、各部分動きベク
トルと平均ベクトルとの差の絶対値をそれぞれ加算しそ
の加算結果を加算した個数で除算して発散度を求める発
散度算出手段、発散度を閾値と比較する比較手段、およ
び比較手段での比較結果に応じて異なる方法で全体動き
ベクトルを検出する全体動きベクトル検出手段を備え
る、手振れ補正装置を有するビデオカメラである。
SUMMARY OF THE INVENTION The present invention is a video camera having a camera shake correction device for obtaining an overall motion vector by using a partial motion vector of each of a plurality of detection areas formed in a screen. An averaging means for obtaining an average vector which is the average of the partial motion vectors, and a divergence calculation for obtaining the divergence by adding the absolute values of the differences between each partial motion vector and the average vector and dividing the addition result by the number of addition A video camera having a camera shake correction device, comprising: a means, a comparing means for comparing the divergence degree with a threshold value, and an overall motion vector detecting means for detecting an overall motion vector by a different method according to a comparison result by the comparing means.

【0007】[0007]

【作用】平均化手段で求めた平均ベクトルと各検出領域
の部分動きベクトルとを用いて、発散度算出手段で発散
度を求める。発散度が大きいということは各部分動きベ
クトルのばらつきが大きいことを示す。画面の一部分に
のみ動く物体が存在する場合にこの傾向がある。一方、
発散度が小さいということは各部分動きベクトルのばら
つきが小さいことを示す。画面内に動く物体が存在しな
い場合や、画面全体に動く物体が存在する場合にこの傾
向がある。
The divergence calculating means calculates the divergence using the average vector calculated by the averaging means and the partial motion vector of each detection area. A large divergence indicates that there are large variations in each partial motion vector. This tendency tends to occur when there is a moving object in only a part of the screen. on the other hand,
The small divergence indicates that the variation of each partial motion vector is small. This tendency occurs when there is no moving object on the screen or when there is a moving object on the entire screen.

【0008】したがって、発散度が大きい場合の部分動
きベクトルを用いて全体動きベクトルを求めると、信頼
性の低い全体動きベクトルが得られる。一方、発散度が
小さい場合の部分動きベクトルを用いて全体動きベクト
ルを求めると、信頼性の高い全体動きベクトルが得られ
る。したがって、発散度が大きい場合には、たとえば部
分動きベクトルの平均に小さい係数を掛けて全体動きベ
クトルの値を小さくする。また、発散度が小さい場合に
は、たとえば部分動きベクトルの平均に大きい係数を掛
けて全体動きベクトルの値を大きくする。すなわち、発
散度が大きい場合の全体動きベクトルをできるだけ用い
ないようにし、反対に発散度が小さい場合の全体動きベ
クトルはできるだけ用いるようにする。なお、発散度の
大きさの程度は比較手段で決定され、その比較結果に応
じて全体動きベクトル検出手段で全体動きベクトルが検
出される。
Therefore, if the overall motion vector is obtained by using the partial motion vector when the degree of divergence is large, an unreliable overall motion vector is obtained. On the other hand, when the overall motion vector is obtained using the partial motion vector when the divergence is small, a highly reliable overall motion vector is obtained. Therefore, when the degree of divergence is large, the average of the partial motion vectors is multiplied by a small coefficient to reduce the value of the overall motion vector. When the divergence is small, for example, the average of the partial motion vectors is multiplied by a large coefficient to increase the value of the overall motion vector. That is, the global motion vector when the divergence is large is used as little as possible, and the global motion vector when the divergence is small is used as much as possible. The degree of divergence is determined by the comparison means, and the overall motion vector detection means detects the overall motion vector according to the comparison result.

【0009】[0009]

【発明の効果】この発明によれば、発散度を算出するこ
とで画面の状態を把握して発散度に応じた方法で全体動
きベクトルを検出するので、全体動きベクトルをより正
確に検出できる。したがって、手振れ量をより正確に検
出できる。この発明の上述の目的,その他の目的,特徴
および利点は、図面を参照して行う以下の実施例の詳細
な説明から一層明らかとなろう。
According to the present invention, by calculating the divergence, the state of the screen is grasped and the whole motion vector is detected by a method according to the divergence, so that the whole motion vector can be detected more accurately. Therefore, the amount of camera shake can be detected more accurately. The above-mentioned objects, other objects, features and advantages of the present invention will become more apparent from the following detailed description of the embodiments with reference to the drawings.

【0010】[0010]

【実施例】図1に示すこの実施例のビデオカメラ10
は、レンズ14から入力される被写体(図示せず)から
の光信号を電気信号に変換するCCDのような固体撮像
素子12を含む。固体撮像素子12からの電気信号はカ
メラ回路16に入力される。カメラ回路16は、周知の
ように、サンプルホールド回路を含み、固体撮像素子1
2からの電気信号をサンプルホールドする。サンプルホ
ールドされた電気信号のレベルがAGCによって調整さ
れるとともに、さらに同期信号付加回路によって同期信
号が付加される。このようにして、カメラ回路16は固
体撮像素子12からのイメージ信号をアナログビデオ信
号に変換する。このアナログビデオ信号は、さらに、A
/D変換器18によってディジタルビデオ信号に変換さ
れる。ディジタルビデオ信号は動き検出回路20に与え
られる。動き検出回路20としては、たとえば三洋電機
株式会社製のLSI“L7A0948”が利用される。
この動き検出回路20を構成する同じLSIに含まれる
メモリ制御回路22の制御の下で、ディジタルビデオ信
号がフィールド順次にフィールドメモリ24に書き込ま
れる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A video camera 10 of this embodiment shown in FIG.
Includes a solid-state image sensor 12 such as a CCD that converts an optical signal from a subject (not shown) input from the lens 14 into an electric signal. The electric signal from the solid-state image sensor 12 is input to the camera circuit 16. As is well known, the camera circuit 16 includes a sample hold circuit, and includes the solid-state image sensor 1
Sample and hold the electrical signal from 2. The level of the sampled and held electric signal is adjusted by the AGC, and the synchronizing signal is further added by the synchronizing signal adding circuit. In this way, the camera circuit 16 converts the image signal from the solid-state image sensor 12 into an analog video signal. This analog video signal is
It is converted into a digital video signal by the / D converter 18. The digital video signal is supplied to the motion detection circuit 20. As the motion detection circuit 20, for example, an LSI "L7A0948" manufactured by Sanyo Electric Co., Ltd. is used.
Under the control of the memory control circuit 22 included in the same LSI configuring the motion detection circuit 20, the digital video signals are field-sequentially written in the field memory 24.

【0011】動き検出回路20は、たとえば周知の代表
点マッチング法を用いて図3に示す4個の各検出領域
A,B,CおよびD毎に、最も高い相関度(相関値は最
小)を有する1点およびその周囲の4点の位置、ならび
に各相関値を算出する。動き検出回路20からの位置デ
ータおよび相関値データは、マイクロコンピュータ26
に与えられる。
The motion detection circuit 20 gives the highest degree of correlation (minimum correlation value) to each of the four detection areas A, B, C and D shown in FIG. 3 by using, for example, a well-known representative point matching method. The positions of one point and four points around it and the respective correlation values are calculated. The position data and the correlation value data from the motion detection circuit 20 are stored in the microcomputer 26.
Given to.

【0012】すなわち、図2を参照して、動き検出回路
20は、A/D変換器18からのディジタルビデオ信号
を受ける入力端28を含み、この入力端28から入力さ
れたディジタルビデオ信号はフィルタ30を通して代表
点メモリ32および減算回路34に与えられる。フィル
タ30は、一種のディジタルローパスフィルタであり、
S/N比を改善し、少ない代表点で十分な検出精度を確
保するために用いられる。代表点メモリ32は、図3に
示す各検出領域A−Dの各々の範囲内で複数の代表点を
抽出(この実施例では、各検出領域A−Dの各々を30
分割し、したがって、30個の代表点を抽出)し、その
位置データと輝度データとを記憶する。30分割して形
成された各検出エリア42(図4)は、たとえば32画
素×16行で構成される。
That is, referring to FIG. 2, motion detection circuit 20 includes an input end 28 for receiving the digital video signal from A / D converter 18, and the digital video signal input from this input end 28 is filtered. It is given to the representative point memory 32 and the subtraction circuit 34 through 30. The filter 30 is a kind of digital low-pass filter,
It is used to improve the S / N ratio and secure sufficient detection accuracy with a small number of representative points. The representative point memory 32 extracts a plurality of representative points within the range of each of the detection areas A to D shown in FIG. 3 (in this embodiment, 30 of each of the detection areas A to D is extracted).
Therefore, 30 representative points are divided, and the position data and luminance data are stored. Each detection area 42 (FIG. 4) formed by dividing into 30 is composed of, for example, 32 pixels × 16 rows.

【0013】減算回路34は、代表点メモリ32から与
えられる前フィールドの代表点の輝度データと入力端2
8から与えられる現フィールドの全ての画素の輝度デー
タとを減算し、その絶対値をとる。すなわち、現フィー
ルドの輝度データと前フィールドの輝度データとの間で
輝度差を求める。求めた輝度差を累積加算回路36に与
える。累積加算回路36では、同じ検出領域内の各検出
エリア42の同じ位置の画素について求めた輝度差を累
積加算(この実施例では30個)し、相関値データとし
て出力する。相関値データは演算回路38に与えられ、
この演算回路38は最小相関値および平均相関値をそれ
ぞれ各検出領域A−D毎に演算するとともに、最小相関
値を示す画素の位置データを各検出領域A−D毎に求め
る。このようにして得られた最小相関値,平均相関値お
よび位置データが出力端40から前述のマイクロコンピ
ュータ26に与えられる。ただし、このような相関値の
計算は、先に述べたLSI“L7A0948”によって
実行される。
The subtraction circuit 34 receives the luminance data of the representative point of the previous field given from the representative point memory 32 and the input terminal 2.
The luminance data of all the pixels of the current field given from 8 is subtracted, and the absolute value is taken. That is, the brightness difference between the brightness data of the current field and the brightness data of the previous field is obtained. The obtained brightness difference is given to the cumulative addition circuit 36. The cumulative addition circuit 36 cumulatively adds (30 in this embodiment) the brightness differences obtained for the pixels at the same position in the respective detection areas 42 in the same detection area, and outputs it as correlation value data. The correlation value data is given to the arithmetic circuit 38,
The arithmetic circuit 38 calculates the minimum correlation value and the average correlation value for each detection area A-D, and also obtains the position data of the pixel indicating the minimum correlation value for each detection area AD. The minimum correlation value, the average correlation value and the position data thus obtained are given from the output end 40 to the microcomputer 26. However, such calculation of the correlation value is executed by the above-described LSI "L7A0948".

【0014】そして、マイクロコンピュータ26では、
位置データおよび相関値データに基づいて、画面すなわ
ちイメージフィールド44(図3)全体の動きベクトル
(以下、単に「全体動きベクトル」という)を計算す
る。まず、最小相関値を示す画素の位置データに基づい
て、最小相関値を示す画素の、代表点に対する偏移を求
め、その偏移を部分動きベクトルとする。なお、部分動
きベクトルの検出精度をよくするために、最小相関値を
有する画素の周囲4画素の相関値を用いて内挿補間し、
最小相関値を有する画素の位置データを計算する。
Then, in the microcomputer 26,
Based on the position data and the correlation value data, the motion vector of the entire screen, that is, the image field 44 (FIG. 3) (hereinafter, simply referred to as “whole motion vector”) is calculated. First, based on the position data of the pixel having the minimum correlation value, the shift of the pixel having the minimum correlation value with respect to the representative point is obtained, and the shift is set as the partial motion vector. In order to improve the detection accuracy of the partial motion vector, interpolation interpolation is performed using the correlation values of the four pixels surrounding the pixel having the minimum correlation value,
Compute the position data for the pixel with the smallest correlation value.

【0015】そして、マイクロコンピュータ26は、平
均相関値を最小相関値で除算した値が一定の閾値より大
きいか否か,平均相関値が所定値以上であるか否か,お
よび後述の傾きXが所定値P以上であるか否かを各検出
領域A−D毎に検出し、各検出領域A−Dからの部分動
きベクトルが手振れ以外の動く物体等によって誤検出さ
れずに信頼できるか否かすなわち各検出領域A−Dが有
効領域か否かを判断する。ここで、マイクロコンピュー
タ26は、後述の傾きXが所定値P以上であるか否かを
各検出領域A−D毎に検出することを、繰り返し模様の
被写体を検出する一方法とする。平均相関値を最小相関
値で除算した値が一定の閾値より大きく,平均相関値が
所定値以上でありかつ傾きXが所定値P以上であれば、
その検出領域は有効領域と判断される。
Then, the microcomputer 26 determines whether a value obtained by dividing the average correlation value by the minimum correlation value is larger than a certain threshold value, whether the average correlation value is a predetermined value or more, and a slope X described later. Whether or not it is equal to or more than a predetermined value P is detected for each detection area A-D, and whether the partial motion vector from each detection area A-D is reliable without being erroneously detected by a moving object other than camera shake That is, it is determined whether or not each detection area A-D is a valid area. Here, the microcomputer 26 detects whether or not an inclination X, which will be described later, is a predetermined value P or more for each of the detection areas A to D, as one method of detecting a subject having a repetitive pattern. If the value obtained by dividing the average correlation value by the minimum correlation value is larger than a certain threshold value, the average correlation value is a predetermined value or more, and the slope X is a predetermined value P or more,
The detection area is determined to be the effective area.

【0016】具体的には、有効領域か否かは以下のよう
に判断される。まず、画面のコントラストが低いときに
は、輝度差が小さいので、相関値が小さくなる。たとえ
ば、画面全体が白いときには相関値は小さくなる。この
ような場合には、信頼性がなくなるため、平均相関値≧
所定値のときに有効と判断される。なお、所定値は実験
により決定される。このようにして、平均相関値から低
コントラストか否かを判断する。
Specifically, it is determined as follows whether or not the area is the effective area. First, when the screen contrast is low, the brightness difference is small, so the correlation value is small. For example, the correlation value is small when the entire screen is white. In such a case, the reliability is lost, so the average correlation value ≧
When it is a predetermined value, it is determined to be valid. The predetermined value is determined by experiment. In this way, it is determined from the average correlation value whether or not the contrast is low.

【0017】また、検出領域内に動く物体があるときに
は、動く物体の占める部分と占めない部分とで相関値が
異なり、かつ動く物体の占める部分は様々な相関値をと
り、その相関値は一般的に大きな値となる(相関度は低
い)。したがって、検出領域内に動く物体があるときに
は、最小相関値が大きくなる可能性が高く、検出領域内
の部分動きベクトルを誤検出する恐れがある。部分動き
ベクトルを誤検出すると、全体動きベクトルを誤検出し
てしまう。しかし、平均相関値が大きいときには最小相
関値がある程度大きくても信頼できる。一方、平均相関
値が小さいときには最小相関値はより小さくなければ信
頼できない。したがって、具体的には、(平均相関値)
/(最小相関値)>7のときに有効と判断し、この条件
を満たさない検出領域の部分動きベクトルを用いないよ
うにして、上述の誤検出による弊害を防止する。このよ
うにして、(平均相関値)/(最小相関値)を求めて、
動く物体の有無を判断する。
When there is a moving object in the detection area, the correlation value differs between the part occupied by the moving object and the part not occupied, and the part occupied by the moving object has various correlation values, and the correlation value is generally Is relatively large (the degree of correlation is low). Therefore, when there is a moving object in the detection area, the minimum correlation value is likely to be large, and the partial motion vector in the detection area may be erroneously detected. If the partial motion vector is erroneously detected, the whole motion vector is erroneously detected. However, when the average correlation value is large, it is reliable even if the minimum correlation value is large to some extent. On the other hand, when the average correlation value is small, the minimum correlation value must be smaller to be reliable. Therefore, specifically, (average correlation value)
When / (minimum correlation value)> 7, it is determined to be valid, and the partial motion vector of the detection area that does not satisfy this condition is not used to prevent the above-mentioned adverse effects due to false detection. In this way, (average correlation value) / (minimum correlation value) is calculated,
Determine if there is a moving object.

【0018】さらに、マイクロコンピュータ26では、
繰り返し模様の被写体(たとえばストライプ画像等)を
検出するために、最小相関値を有する1点とその周囲の
4点の相関値を用いる。すなわち、図5に示すように、
最小相関値をM,その左右上下の4点の相関値をそれぞ
れL,R,U,Dとすると、それぞれの相関値の差,す
なわちL−M,R−M,U−MおよびD−Mを計算し、
そのうちの最小値を傾きXとする。その傾きXを、フィ
ールドテストによって求められた所定値P(この実施例
ではP=4)と比較する。傾きXが、所定値P以上であ
ればその検出領域は有効領域と判断し、所定値Pより小
さければその検出領域は無効領域と判断する。
Further, in the microcomputer 26,
In order to detect a subject having a repeating pattern (for example, a striped image), the correlation value of one point having the minimum correlation value and the four surrounding points are used. That is, as shown in FIG.
Assuming that the minimum correlation value is M and the correlation values at the four points on the left, right, top, and bottom are L, R, U, and D, respectively, the difference between the correlation values, that is, LM, RM, UM, and DM. And calculate
The minimum value among them is the slope X. The inclination X is compared with a predetermined value P (P = 4 in this embodiment) obtained by the field test. If the inclination X is equal to or larger than the predetermined value P, the detection area is determined to be a valid area, and if it is smaller than the predetermined value P, the detection area is determined to be an invalid area.

【0019】このような3つの条件によって、検出領域
が有効領域か否かは判断される。そして、マイクロコン
ピュータ26で、4個の部分動きベクトルの平均(平均
ベクトル)および有効領域の部分動きベクトルの平均を
それぞれ求める。また、マイクロコンピュータ26によ
って発散度が求められる。発散度によって、各検出領域
の部分動きベクトルのばらつきの程度が評価される。発
散度は数1によって表される。
Based on these three conditions, it is judged whether or not the detection area is the effective area. Then, the microcomputer 26 obtains the average of the four partial motion vectors (average vector) and the average of the partial motion vectors of the effective area. Further, the divergence is obtained by the microcomputer 26. The degree of divergence evaluates the degree of variation of the partial motion vector in each detection region. The divergence is represented by equation 1.

【0020】[0020]

【数1】X方向の発散度=Σ(|各検出領域のX方向部
分動きベクトル−X方向平均ベクトル|)/領域数 Y方向の発散度=Σ(|各検出領域のY方向部分動きベ
クトル−Y方向平均ベクトル|)/領域数 ここで、X方向部分動きベクトルとは部分動きベクトル
のX方向成分を、Y方向部分動きベクトルとは部分動き
ベクトルのY方向成分をそれぞれ示す。また、X方向平
均ベクトルとは平均ベクトルのX方向成分を、Y方向平
均ベクトルとは平均ベクトルのY方向成分をそれぞれ示
す。
## EQU1 ## Divergence in X direction = .SIGMA. (| X direction partial motion vector of each detection area−X direction average vector |) / number of areas Y direction divergence = .SIGMA. (| Y direction partial motion vector in each detection area) -Y direction average vector |) / number of regions Here, the X direction partial motion vector indicates the X direction component of the partial motion vector, and the Y direction partial motion vector indicates the Y direction component of the partial motion vector. The X-direction average vector indicates the X-direction component of the average vector, and the Y-direction average vector indicates the Y-direction component of the average vector.

【0021】この発散度に応じて、数2に示すような発
散係数Hkを有効領域の部分動きベクトルの平均に乗じ
たものを、画面の全体動きベクトルとする。全体動きベ
クトルは、フィールド間の動き量とその向きを表す。
According to this divergence degree, the divergence coefficient Hk as shown in equation 2 is multiplied by the average of the partial motion vectors in the effective area to obtain the entire motion vector of the screen. The overall motion vector represents the amount of motion between fields and its direction.

【0022】[0022]

【数2】1) 0≦発散度<8の場合 Hk=1 2) 8≦発散度<16の場合 Hk=0.75 3) 16≦発散度<24の場合 Hk=0.5 4) 24≦発散度<32の場合 Hk=0.25 なお、発散度が32以上の場合には、4個の部分動きベ
クトルのうち最小のものを全体動きベクトルとする。
[Equation 2] 1) When 0 ≦ divergence <8 Hk = 1 2) When 8 ≦ divergence <16 Hk = 0.75 3) 16 ≦ When divergence <24 Hk = 0.5 4) 24 ≤ Divergence <32 Hk = 0.25 When the divergence is 32 or more, the smallest one of the four partial motion vectors is set as the overall motion vector.

【0023】このように、有効領域があるときには、全
体動きベクトルはたとえば有効領域の部分動きベクトル
の平均に発散係数Hkを掛けたものを用いるが、有効領
域がないときには、全体動きベクトルはたとえば(現フ
ィールドの全体動きベクトル×1以下の係数)の値を用
い得る。ここで、1以下の係数としては、「0.97」
が好ましい。
As described above, when there is an effective area, the entire motion vector is obtained by multiplying the average of partial motion vectors of the effective area by the divergence coefficient Hk. The value of (total motion vector of current field × coefficient of 1 or less) can be used. Here, as a coefficient of 1 or less, "0.97"
Is preferred.

【0024】なお、発散度の大きさによって、発散係数
を段階的に設定するのは以下の理由による。発散度が大
きいということは各部分動きベクトルのばらつきが大き
いことを示す。画面の一部分にのみ動く物体が存在する
場合にこの傾向がある。一方、発散度が小さいというこ
とは各部分動きベクトルのばらつきが小さいことを示
す。画面内に動く物体が存在しない場合や、画面全体に
動く物体が存在する場合にこの傾向がある。
The reason why the divergence coefficient is set stepwise according to the degree of divergence is as follows. A large divergence indicates that there are large variations in each partial motion vector. This tendency tends to occur when there is a moving object in only a part of the screen. On the other hand, the small divergence indicates that the variation of each partial motion vector is small. This tendency occurs when there is no moving object on the screen or when there is a moving object on the entire screen.

【0025】したがって、発散度が大きい場合の部分動
きベクトルを用いて全体動きベクトルを求めると、信頼
性の低い全体動きベクトルが得られる。一方、発散度が
小さい場合の部分動きベクトルを用いて全体動きベクト
ルを求めると、信頼性の高い全体動きベクトルが得られ
る。したがって、発散度が大きい場合には、部分動きベ
クトルの平均に小さい発散係数Hkを掛けて全体動きベ
クトルの値を小さくする。また、発散度が小さい場合に
は、たとえば部分動きベクトルの平均に大きい発散係数
Hkを掛けて全体動きベクトルの値を大きくする。すな
わち、発散度が大きい場合の全体動きベクトルをできる
だけ用いないようにし、反対に発散度が小さい場合の全
体動きベクトルはできるだけ用いるようにすることで、
総じて、信頼性の高い全体動きベクトルが得られるから
である。
Therefore, if the overall motion vector is obtained by using the partial motion vector when the divergence is large, the overall motion vector with low reliability is obtained. On the other hand, when the overall motion vector is obtained using the partial motion vector when the divergence is small, a highly reliable overall motion vector is obtained. Therefore, when the divergence is large, the average of the partial motion vectors is multiplied by the small divergence coefficient Hk to reduce the value of the overall motion vector. When the degree of divergence is small, for example, the average of the partial motion vectors is multiplied by a large divergence coefficient Hk to increase the value of the overall motion vector. In other words, by using the whole motion vector when the divergence is large as much as possible, on the contrary, by using the whole motion vector when the divergence is small as much as possible,
This is because a highly reliable global motion vector can be obtained as a whole.

【0026】このようにして求められた全体動きベクト
ルはメモリ制御回路22に与えられる。そして、メモリ
制御回路22では、全体動きベクトルに基づいてフィー
ルドメモリ24の読み出し開始アドレスを決定し、その
アドレスからフィールドメモリ24に蓄えられたディジ
タルビデオ信号を読み出す。すなわち、メモリ制御回路
22は、マイクロコンピュータ26によって計算された
全体動きベクトルに従って、フィールドメモリ24のデ
ィジタルビデオ信号によって形成される抽出エリア46
(図6)を移動する。
The overall motion vector thus obtained is applied to the memory control circuit 22. Then, the memory control circuit 22 determines the read start address of the field memory 24 based on the overall motion vector, and reads the digital video signal stored in the field memory 24 from the address. That is, the memory control circuit 22 has the extraction area 46 formed by the digital video signal of the field memory 24 according to the overall motion vector calculated by the microcomputer 26.
Move (Fig. 6).

【0027】ただし、フィールドメモリ24から読み出
されたディジタルビデオ信号そのままでは抽出エリア4
6を移動できないので、電子ズーム回路48(図1)を
用いる。図6を参照して、電子ズーム回路48はイメー
ジフィールド44の大きさに対して、ズーム倍率に従っ
て画像が拡大された抽出エリア46を設定する。この抽
出エリア46の位置は、イメージフィールド44の範囲
内では、フィールドメモリ24の読み出し開始アドレス
を変更することによって、自由に移動できる。そして、
抽出ディジタルビデオ信号に基づいてイメージフィール
ド44全体のビデオ信号を得るために、フィールドメモ
リ24から読み出したディジタルビデオ信号に基づいて
内挿補間法を用いて画像を拡大する。
However, if the digital video signal read from the field memory 24 is as it is, the extraction area 4
Since 6 cannot be moved, electronic zoom circuit 48 (FIG. 1) is used. Referring to FIG. 6, the electronic zoom circuit 48 sets the extraction area 46 in which the image is enlarged according to the zoom magnification with respect to the size of the image field 44. The position of the extraction area 46 can be freely moved within the range of the image field 44 by changing the read start address of the field memory 24. And
In order to obtain the video signal of the entire image field 44 based on the extracted digital video signal, the image is enlarged by using the interpolation method based on the digital video signal read from the field memory 24.

【0028】このようにして、イメージフィールド44
内の任意の抽出エリア46のイメージを電子ズーム回路
48で電子的にズームすることによって、イメージフィ
ールド44と抽出エリア46との差に相当する補正可能
範囲50が形成され得る。ビデオカメラ10を操作する
人の手の振動に応じて、図7に示すようにビデオカメラ
10に手振れが生じると、そのビデオカメラ10からの
画像にぶれを生じ、結果的に、イメージフィールド44
内の左下方に目的の人物が存在する場合(図7上)や、
イメージフィールド44の右上方に目的の人物が存在す
る場合(図7下)などが生じる。したがって、各フィー
ルド毎に抽出エリア46を、マイクロコンピュータ26
によって計算した全体動きベクトルに応じて移動させる
ことによって、図7右に示すように、抽出エリア46に
は目的の人物がちょうど収まることになる。
In this way, the image field 44
By electronically zooming the image of an arbitrary extraction area 46 in the electronic zoom circuit 48, a correctable range 50 corresponding to the difference between the image field 44 and the extraction area 46 can be formed. When the video camera 10 is shaken due to the vibration of the hand of the person who operates the video camera 10 as shown in FIG. 7, the image from the video camera 10 is shaken, resulting in the image field 44.
If there is a target person in the lower left of the inside (Fig. 7 top),
This may be the case, for example, when the target person exists in the upper right of the image field 44 (bottom of FIG. 7). Therefore, the extraction area 46 is set for each field and the microcomputer 26
By moving in accordance with the overall motion vector calculated by, the target person will fit into the extraction area 46 as shown in the right side of FIG.

【0029】このようにして電子ズーム回路48から出
力されるディジタルビデオ信号を、D/A変換器52に
よってアナログ信号に変換して出力端子54から出力す
る。このようなビデオカメラ10のマイクロコンピュー
タ26での主要な動作を図8を参照して説明する。ま
ず、ステップS1において、4個の各検出領域(A−
D)が有効領域か無効領域かを判断する。このとき上述
のように、平均相関値を最小相関値で除算した値が一定
の閾値より大きく、平均相関値が所定値以上でありかつ
傾きXが所定P以上であれば、その検出領域を有効領域
と判断する。これらの条件のうち1つでも満たさない条
件があればその検出領域を無効領域と判断する。
In this way, the digital video signal output from the electronic zoom circuit 48 is converted into an analog signal by the D / A converter 52 and output from the output terminal 54. The main operation of the microcomputer 26 of the video camera 10 will be described with reference to FIG. First, in step S1, each of the four detection areas (A-
It is determined whether D) is a valid area or an invalid area. At this time, as described above, if the value obtained by dividing the average correlation value by the minimum correlation value is larger than a fixed threshold value, the average correlation value is a predetermined value or more, and the slope X is a predetermined P or more, the detection area is valid. Judge as an area. If any one of these conditions is not satisfied, the detection area is determined to be an invalid area.

【0030】そして、ステップS3において、有効領域
があるか否かを判断し、有効領域が1つでもあればステ
ップS5に進む。ステップS5において、発散度を計算
する。発散度は、数1に示すように、X方向の発散度と
Y方向の発散度とがそれぞれ独立して計算される。ステ
ップS7において0≦発散度<8であれば、ステップS
9において発散係数Hk=1とし、ステップS11に進
む。ステップS7において0≦発散度<8でなければ、
ステップS13に進む。ステップS13において8≦発
散度<16であれば、ステップS15において発散係数
Hk=0.75とし、ステップS11に進む。ステップ
S13において8≦発散度<16でなければ、ステップ
S17に進む。ステップS17において16≦発散度<
24であれば、ステップS19において発散係数Hk=
0.5とし、ステップS11に進む。ステップS19に
おいて16≦発散度<24でなければ、ステップS21
に進む。ステップS21において24≦発散度<32で
あれば、ステップS23において発散係数Hk=0.2
5とし、ステップS11に進む。そして、ステップS1
1において、有効領域の部分動きベクトルの相加平均×
Hkを求める。ステップS11の処理を、X方向部分動
きベクトルおよびY方向部分動きベクトルのそれぞれに
ついて独立して行い、X方向について行ったステップS
11の結果とY方向について行ったステップS11の結
果とを合成して、全体動きベクトルが得られ、終了す
る。
Then, in step S3, it is determined whether or not there is a valid area, and if there is even one valid area, the process proceeds to step S5. In step S5, the divergence is calculated. The divergence is calculated independently of the divergence in the X direction and the divergence in the Y direction, as shown in Formula 1. If 0 ≦ divergence degree <8 in step S7, step S7
In step 9, the divergence coefficient Hk is set to 1, and the process proceeds to step S11. If 0 ≦ divergence <8 in step S7,
It proceeds to step S13. If 8 ≦ divergence degree <16 in step S13, the divergence coefficient Hk = 0.75 is set in step S15, and the process proceeds to step S11. If 8 ≦ divergence degree <16 in step S13, the process proceeds to step S17. In step S17, 16 ≦ divergence degree <
If it is 24, the divergence coefficient Hk =
It is set to 0.5 and the process proceeds to step S11. If 16 ≦ divergence degree <24 in step S19, step S21
Proceed to. If 24 ≦ divergence degree <32 in step S21, divergence coefficient Hk = 0.2 in step S23.
5, and the process proceeds to step S11. And step S1
1, the arithmetic mean of the partial motion vectors in the effective area ×
Find Hk. The process of step S11 is performed independently for each of the X-direction partial motion vector and the Y-direction partial motion vector, and is performed for the X direction.
The result of step 11 and the result of step S11 performed in the Y direction are combined to obtain the overall motion vector, and the process ends.

【0031】一方、ステップS21において、24≦発
散度<32でなければ、ステップS25に進む。ステッ
プS25において、4個の部分動きベクトルから最小の
ものを選択し、それを全体動きベクトルとして終了す
る。一方、ステップS3において、有効領域がない場合
には、ステップS27に進む。ステップS27におい
て、前フィールドの全体動きベクトルに1以下の係数を
掛けたものを、現フィールドの全体動きベクトルとして
終了する。ここで、1以下の係数としては、好ましくは
「0.97」が用いられ得る。
On the other hand, in step S21, if 24 ≦ divergence degree <32, the process proceeds to step S25. In step S25, the smallest one is selected from the four partial motion vectors, and this is set as the overall motion vector, and the process ends. On the other hand, if there is no effective area in step S3, the process proceeds to step S27. In step S27, the whole motion vector of the previous field multiplied by a coefficient of 1 or less is ended as the whole motion vector of the current field. Here, "0.97" can be preferably used as the coefficient of 1 or less.

【0032】このようなビデオカメラ10によれば、た
とえば4個の検出領域中2個の検出領域に動く物体が存
在した場合においても、動く物体の影響を受けにくくな
り、手振れ量をより正確に検出できる。なお、有効領域
か無効領域かに拘わらず、各検出領域の部分動きベクト
ルの平均に発散係数Hkを掛けたものを全体動きベクト
ルとしてもよい。特に、有効領域か無効領域かを判断し
ない場合に有効となる。
According to such a video camera 10, even if a moving object exists in two of the four detection areas, it is less likely to be affected by the moving object, and the amount of camera shake is more accurate. Can be detected. Regardless of whether it is the effective area or the invalid area, the average of the partial motion vectors of each detection area may be multiplied by the divergence coefficient Hk to be the entire motion vector. In particular, it is effective when it is not determined whether the area is valid or invalid.

【0033】また、発散度と比較される値は数2のもの
に限定されず、また、発散係数Hkも数2のものに限定
されないことはいうまでもない。
Needless to say, the value to be compared with the divergence is not limited to that of the equation 2, and the divergence coefficient Hk is not limited to that of the equation 2.

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

【図1】この発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1実施例の動き検出回路を示すブロック図で
ある。
FIG. 2 is a block diagram showing a motion detection circuit of the embodiment in FIG.

【図3】電子ズームの原理を示し、イメージフィールド
内の検出領域を示す図解図である。
FIG. 3 is an illustrative view showing a principle of electronic zoom and showing a detection region in an image field.

【図4】電子ズームの原理を示し、検出領域内の代表点
およびサンプリング点を示す図解図である。
FIG. 4 is an illustrative view showing a principle of electronic zoom and showing representative points and sampling points in a detection area.

【図5】最小相関値を有する画素とその周囲の4画素と
を用いて繰り返し模様の被写体を検出する方法を説明す
るための図解図である。
FIG. 5 is an illustrative view for explaining a method of detecting a subject having a repetitive pattern by using a pixel having a minimum correlation value and four pixels around the pixel.

【図6】手振れ補正の原理を示す図解図である。FIG. 6 is an illustrative view showing the principle of camera shake correction.

【図7】代表点マッチング法を適用するイメージフィー
ルド内の各ブロックを示す図解図である。
FIG. 7 is an illustrative view showing each block in an image field to which the representative point matching method is applied.

【図8】この実施例の主要な動作を示すフロー図であ
る。
FIG. 8 is a flowchart showing main operations of this embodiment.

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

10 …ビデオカメラ 20 …動き検出回路 22 …メモリ制御回路 24 …フィールドメモリ 26 …マイクロコンピュータ 44 …イメージフィールド 46 …抽出エリア 48 …電子ズーム回路 10 ... Video camera 20 ... Motion detection circuit 22 ... Memory control circuit 24 ... Field memory 26 ... Microcomputer 44 ... Image field 46 ... Extraction area 48 ... Electronic zoom circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】画面内に形成された複数個の検出領域の各
々の部分動きベクトルを用いて全体動きベクトルを求め
る手振れ補正装置を有するビデオカメラであって、 前記各部分動きベクトルの平均である平均ベクトルを求
める平均化手段、 前記各部分動きベクトルと前記平均ベクトルとの差の絶
対値をそれぞれ加算しその加算結果を加算した個数で除
算して発散度を求める発散度算出手段、 前記発散度を閾値と比較する比較手段、および前記比較
手段での比較結果に応じて異なる方法で前記全体動きベ
クトルを検出する全体動きベクトル検出手段を備える、
手振れ補正装置を有するビデオカメラ。
1. A video camera having a camera shake correction device that obtains an overall motion vector by using partial motion vectors of each of a plurality of detection areas formed on a screen, the video camera being an average of the partial motion vectors. Averaging means for obtaining an average vector, divergence calculating means for obtaining the divergence by adding absolute values of differences between the respective partial motion vectors and the average vector, and dividing the addition result by the number of additions, the divergence And a global motion vector detecting means for detecting the global motion vector by a different method according to a comparison result by the comparing means.
A video camera having an image stabilizer.
JP26226993A 1993-06-28 1993-10-20 Video camera with hand-shake correction device Withdrawn JPH07115583A (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP15675293A JP2940762B2 (en) 1993-06-28 1993-06-28 Video camera with image stabilization device
JP26226993A JPH07115583A (en) 1993-10-20 1993-10-20 Video camera with hand-shake correction device
KR1019940014786A KR100314104B1 (en) 1993-06-28 1994-06-27 Video camera
US08/266,536 US5563652A (en) 1993-06-28 1994-06-27 Video camera with electronic picture stabilizer
EP19940110045 EP0631432B1 (en) 1993-06-28 1994-06-28 Video camera with electronical picture stabilizer
DE1994625785 DE69425785T2 (en) 1993-06-28 1994-06-28 Video camera with electronic image stabilizer
US08/475,171 US5648815A (en) 1993-06-28 1995-06-07 Video camera with electronic picture stabilizer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26226993A JPH07115583A (en) 1993-10-20 1993-10-20 Video camera with hand-shake correction device

Publications (1)

Publication Number Publication Date
JPH07115583A true JPH07115583A (en) 1995-05-02

Family

ID=17373450

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26226993A Withdrawn JPH07115583A (en) 1993-06-28 1993-10-20 Video camera with hand-shake correction device

Country Status (1)

Country Link
JP (1) JPH07115583A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006129375A (en) * 2004-11-01 2006-05-18 Fujitsu Ltd Moving image data generator and moving image data generation method
JP2007049545A (en) * 2005-08-11 2007-02-22 Casio Comput Co Ltd Image composing apparatus, image composing method, and program
KR100775104B1 (en) * 2006-02-27 2007-11-08 삼성전자주식회사 Image stabilizer and system having the same and method thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006129375A (en) * 2004-11-01 2006-05-18 Fujitsu Ltd Moving image data generator and moving image data generation method
JP4533089B2 (en) * 2004-11-01 2010-08-25 富士通セミコンダクター株式会社 Movie data generator
JP2007049545A (en) * 2005-08-11 2007-02-22 Casio Comput Co Ltd Image composing apparatus, image composing method, and program
JP4640032B2 (en) * 2005-08-11 2011-03-02 カシオ計算機株式会社 Image composition apparatus, image composition method, and program
KR100775104B1 (en) * 2006-02-27 2007-11-08 삼성전자주식회사 Image stabilizer and system having the same and method thereof

Similar Documents

Publication Publication Date Title
JP2940762B2 (en) Video camera with image stabilization device
EP0632649B1 (en) Video camera with electronic picture stabilizer and generation of addition data
US6144405A (en) Electronic picture stabilizer with movable detection areas and video camera utilizing the same
US7633525B2 (en) Unintentional hand movement canceling device and imaging apparatus
US7502050B2 (en) Unintentional hand movement canceling device
KR19990031401A (en) Image Stabilization Device and Image Stabilization Method Using Motion Correction of Input Image Using Bit Plane Matching
JP2957851B2 (en) Image stabilization method
JP2003078808A (en) Device and method for detecting motion vector, device and method for correcting camera shake and imaging apparatus
JPH07115583A (en) Video camera with hand-shake correction device
JP2944369B2 (en) Video camera shake correction device and video camera
JPH04309078A (en) Jiggling detector for video data
JPH0522645A (en) Movement detecting circuit
JP3213492B2 (en) Camera shake correction device and video camera using the same
JP2925890B2 (en) Video camera with image stabilization device
JP3208264B2 (en) Camera shake correction device and video camera using the same
JPH05328201A (en) Correction device for camera shake of picture
JP3152574B2 (en) Camera shake correction device and video camera using the same
JP2506499B2 (en) Image motion vector detection device and shake correction device
JP2669977B2 (en) Motion vector identification circuit for video camera with image stabilization function
JP3239051B2 (en) Video camera with image stabilization device
JP3218615B2 (en) Moving object detection device, image motion vector detection device, and shake correction device
JPH05145828A (en) Picture jiggle discrimination device
JP3416378B2 (en) Video camera with image stabilization function
JP2671561B2 (en) Motion vector detecting device and image shake correcting device
JP2669987B2 (en) Video camera shake detection device

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: 20001226