JPH0411482A - Movement vector detecting device - Google Patents
Movement vector detecting deviceInfo
- Publication number
- JPH0411482A JPH0411482A JP2114365A JP11436590A JPH0411482A JP H0411482 A JPH0411482 A JP H0411482A JP 2114365 A JP2114365 A JP 2114365A JP 11436590 A JP11436590 A JP 11436590A JP H0411482 A JPH0411482 A JP H0411482A
- Authority
- JP
- Japan
- Prior art keywords
- motion vector
- movement
- vectors
- circuit
- vector
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 239000013598 vector Substances 0.000 title claims abstract description 77
- 238000001514 detection method Methods 0.000 claims description 10
- 230000002194 synthesizing effect Effects 0.000 abstract 1
- 238000000034 method Methods 0.000 description 7
- 238000004091 panning Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 1
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、1枚の画像の全体的な動きベクトルを検出
するのに適用される動きベクトル検出装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a motion vector detection device that is applied to detect the overall motion vector of one image.
〔発明の概要]
この発明は、画像を分割してなる複数のブロックの夫々
の動きベクトルを求め、画像の中心に関して点対称の位
置の第1の動きベクトルと第2の動きベクトルとを合成
して第3の動きベクトルを生成し、第3の動きベクトル
から画像の全体的な動きベクトルを生成することにより
、ズームで発生した動きをキャンセルすることができる
。[Summary of the Invention] The present invention obtains motion vectors for each of a plurality of blocks formed by dividing an image, and combines a first motion vector and a second motion vector at points symmetrical positions with respect to the center of the image. The motion caused by the zoom can be canceled by generating a third motion vector from the third motion vector and generating an overall motion vector of the image from the third motion vector.
動画像の処理のために、画像中の物体の動きの方向と大
きさを示す動きベクトルの検出が必要である。動きベク
トルの精度は、処理に応したものであるが、通常は、(
8X8)画素のようなブロック単位で求められることが
多い。しかしながら、ビデオカメラ撮影時の手ふれを補
正したり、カメラのパニングによる動きを検出して動き
補正を行う時には、画面全体の動きを示す全体的な動き
ベクトルを検出することが必要である。In order to process moving images, it is necessary to detect motion vectors that indicate the direction and magnitude of movement of objects in the image. The accuracy of motion vectors depends on the processing, but usually (
It is often determined in block units such as 8x8) pixels. However, when correcting camera shake during shooting with a video camera or detecting movement due to camera panning and performing motion correction, it is necessary to detect an overall motion vector indicating the movement of the entire screen.
従来では、1枚の画像中に複数のブロックを設定し、各
ブロックの動きベクトルを検出し、同一の動きベクトル
が占める割合から全体的な動きへクトルを求めていた。Conventionally, a plurality of blocks are set in one image, the motion vector of each block is detected, and the overall motion vector is determined from the proportion occupied by the same motion vector.
従来の動きベクトル検出装置は、ズームしながらパニン
グを行った時には、ズームに伴う動きが生じるので、パ
ニング量、或いはズーム中の手ぶれの量を正確に検出す
ることができなかった。Conventional motion vector detection devices cannot accurately detect the amount of panning or the amount of camera shake during zooming because when panning is performed while zooming, movement occurs due to zooming.
従って、この発明の目的は、ズームがされた時であって
も、全体的な動きベクトルを検出することができる動き
ベクトル検出装置を提供することにある。Therefore, it is an object of the present invention to provide a motion vector detection device that can detect the overall motion vector even when zoomed.
[課題を解決するための手段〕
この発明は、画像を分割してなる複数のブロックの夫々
の動きベクトルを求める動きベクトル検出回路(2)と
、
画像の中心に関して点対称の位置の第1の動きベクトル
と第2の動きベクトルとを合成して第3の動きベクトル
を生成する加算回路(4)と、第3の動きベクトルから
画像の全体的な動きベクトルを生成する選択回路(5)
と
からなる動きベクトル検出装置である。[Means for Solving the Problems] The present invention includes a motion vector detection circuit (2) that calculates the motion vectors of each of a plurality of blocks formed by dividing an image; An addition circuit (4) that combines the motion vector and the second motion vector to generate a third motion vector, and a selection circuit (5) that generates the overall motion vector of the image from the third motion vector.
A motion vector detection device consisting of:
C作用〕
画像の全体の動きを示す全体的な動きベクトルは、ビデ
オカメラの撮影時の手ふれ補正、パニング時の動き補正
等で必要とされる。ズームがされた時には、ズームで生
じる動きが画像の中心から放射状の方向であり、その量
が画像の中心の点対称の位置で等しい。従って、点対称
の位置の動きベクトルを加算回路4で合成することで、
ズームの成分をキャンセルできる。C Effect] An overall motion vector indicating the overall movement of an image is required for camera shake correction during shooting with a video camera, motion correction during panning, and the like. When zoomed, the movement caused by zooming is in a radial direction from the center of the image, and the amount is equal at points symmetrical to the center of the image. Therefore, by combining motion vectors at point-symmetrical positions in the adding circuit 4,
You can cancel the zoom component.
[実施例]
以下、この発明の一実施例について図面を参照して説明
する。第1図において、■で示す入力端子からのディジ
タル画像信号か動きベクトル検出回路2に供給される。[Example] Hereinafter, an example of the present invention will be described with reference to the drawings. In FIG. 1, a digital image signal from an input terminal indicated by ■ is supplied to a motion vector detection circuit 2. In FIG.
動きベクトル検出回路2では、例えばパターンマツチン
グ法によりブロック毎の動きベクトルが検出される。検
出された動きベクトルが動きベクトルメモリ3に格納さ
れる。The motion vector detection circuit 2 detects a motion vector for each block by, for example, a pattern matching method. The detected motion vector is stored in the motion vector memory 3.
ブロックの動きベクトルは、パターンマツチング法以外
の他の方法例えば勾配法で検出しても良い。The motion vector of a block may be detected by a method other than the pattern matching method, such as a gradient method.
第2図に示すように、例えば1フレームの画像8内に、
等しい間隔で配される(5X5)の25個の代表ブロッ
クの夫々の動きベクトルが動きベクトル検出回路2で検
出される。中心点9に位置する代表ブロックm以外で、
点対称の12個の代表プロ・ンクの対が得られる。この
対は、a及びa′のように、代表ブロックの記号に′が
付して表されている。代表ブロックは、(8X8)のサ
イズのものである。代表ブロックの配置は、第2図のも
のに限らず、同心円的なものでも良い。As shown in FIG. 2, for example, in one frame of image 8,
The motion vector detection circuit 2 detects the motion vectors of each of 25 (5×5) representative blocks arranged at equal intervals. Other than representative block m located at center point 9,
Twelve point-symmetric representative pro-nk pairs are obtained. This pair is represented by adding ' to the symbol of the representative block, such as a and a'. The representative block has a size of (8×8). The arrangement of the representative blocks is not limited to that shown in FIG. 2, and may be arranged concentrically.
加算回路4では、点対称の代表ブロックの動きベクトル
が加算される。動きベクトルは、xy座標の成分で表現
されているので、二つの動きベクトルのX成分とX成分
とが夫々加算される。但し、中心点9に位置する代表ブ
ロックmに関しては、加算処理がなされない。従って、
加算回路4により合計で13個の動きベクトルが得られ
る。In the addition circuit 4, motion vectors of point-symmetric representative blocks are added. Since the motion vector is expressed by xy coordinate components, the X component and the X component of the two motion vectors are respectively added. However, the addition process is not performed for the representative block m located at the center point 9. Therefore,
A total of 13 motion vectors are obtained by the adder circuit 4.
加算回路4の処理について、第3図を参照して説明する
。例えばビデオカメラの撮影時に、水平方向の手ふれが
生じたとすると、点対称の位置の代表ブロックにとに′
の夫々の動きベクトルVk及びVk’は、下式で表され
る。The processing of the adder circuit 4 will be explained with reference to FIG. For example, if a camera shakes in the horizontal direction when shooting with a video camera, there will be a
The motion vectors Vk and Vk' are expressed by the following formulas.
Vk =Vp+Vz
Vk′=Vp−Vz
■P:水平方向の手ぶれで発生した成分■Z:ズームで
発生した成分
従って、加算回路4では、これらの動きベクトルが加算
される。Vk = Vp + Vz Vk' = Vp - Vz (1) P: Component generated by horizontal camera shake; (2) Z: Component generated by zooming. Therefore, in the adding circuit 4, these motion vectors are added.
Vk士Vk’=2VP
従って、ズームで生じた成分がキャンセルされ、手ふれ
で発生した成分を持つ動きベクトルが得られる。点対称
の関係にある他の対に関しても、加算処理でズームの成
分が同様にキャンセルされる。Vk and Vk'=2VP Therefore, the component caused by zooming is canceled, and a motion vector having a component caused by camera shake is obtained. Regarding other pairs having a point-symmetrical relationship, the zoom component is similarly canceled by the addition process.
キャンセルできる理由は、ズームで発生する動きベクト
ルは、中心点9から周辺に向かう放射状の方向を有して
おり、その量は、中心点9と点対称の位置で等しいから
である。The reason why it can be canceled is that the motion vector generated by zooming has a radial direction from the center point 9 toward the periphery, and its amount is equal at a point symmetrical to the center point 9.
加算回路4の出力が選択回路5に供給される。The output of the adder circuit 4 is supplied to the selection circuit 5.
選択回路5では、加算回路4からの13個の動きベクト
ルの中で、多数を占める動きベクトルが手ぶれで発生し
た成分2Vpとして選択される。選択回路5からの動き
ベクトルがη倍回路6を介されることにより、出力端子
7には、この成分Vpが得られる。この画像8の全体的
な動きを示す動きベクトルにより、手ぷれを補正するこ
とができる。The selection circuit 5 selects the motion vector that accounts for the majority among the 13 motion vectors from the addition circuit 4 as the component 2Vp caused by camera shake. This component Vp is obtained at the output terminal 7 by passing the motion vector from the selection circuit 5 through the η multiplication circuit 6. Using the motion vector indicating the overall movement of the image 8, it is possible to correct camera shake.
手ふれに限らず、パニングで発生した全体的に水平方向
に移動する画像の動き補正に対しても、同様に通用でき
る。つまり、画像情報を伝送する時に、パニングで生じ
た動きが分かれば、静止画像として伝送することができ
、受信側では、パニングの動きを与えることで、原画像
を再現することができる。The present invention can be applied not only to camera shake but also to motion correction for images that move horizontally as a whole due to panning. In other words, when transmitting image information, if the motion caused by panning is known, it can be transmitted as a still image, and on the receiving side, by applying the panning motion, the original image can be reproduced.
上述の一実施例と異なり、加算回路4からの複数の動き
ベクトルの平均値を求め、この平均値を全体的な動きベ
クトルとしても良い。Unlike the embodiment described above, the average value of a plurality of motion vectors from the adding circuit 4 may be determined and this average value may be used as the overall motion vector.
〔発明の効果]
この発明によれば、撮影時に、ズーム操作がされて得ら
れた画像に関して、ズームによる動き成分をキャンセル
して画像の全体的な動きベクトルを検出できる。従って
、この全体的な動きベクトルにより、撮影時の手ふれ、
動き補正を正確に行うことができる。[Effects of the Invention] According to the present invention, with respect to an image obtained by performing a zoom operation during photographing, the motion component due to zooming can be canceled and the overall motion vector of the image can be detected. Therefore, due to this overall motion vector, camera shake during shooting,
Movement compensation can be performed accurately.
第1図はこの発明の一実施例のフロック図、第2図は代
表ブロックの配置を示す路線図、第3図は動きベクトル
の処理の説明に用いる路線図である。
図面における主要な符号の説明
2:動きベクトル検出回路、
4:加算回路、
5:選択回路。
代理人 弁理士 杉 浦 正 知FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a route map showing the arrangement of representative blocks, and FIG. 3 is a route map used to explain motion vector processing. Explanation of main symbols in the drawings 2: Motion vector detection circuit, 4: Addition circuit, 5: Selection circuit. Agent Patent Attorney Masatoshi Sugiura
Claims (1)
ルを求める手段と、 上記画像の中心に関して点対称の位置の第1の動きベク
トルと第2の動きベクトルとを合成して第3の動きベク
トルを生成する手段と、 上記第3の動きベクトルから上記画像の全体的な動きベ
クトルを生成する手段と からなる動きベクトル検出装置。[Claims] Means for obtaining a motion vector for each of a plurality of blocks formed by dividing an image; and composing a first motion vector and a second motion vector at points symmetrical positions with respect to the center of the image. A motion vector detection device comprising: means for generating a third motion vector based on the motion vector; and means for generating an overall motion vector of the image from the third motion vector.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2114365A JPH0411482A (en) | 1990-04-28 | 1990-04-28 | Movement vector detecting device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2114365A JPH0411482A (en) | 1990-04-28 | 1990-04-28 | Movement vector detecting device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0411482A true JPH0411482A (en) | 1992-01-16 |
Family
ID=14635893
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2114365A Pending JPH0411482A (en) | 1990-04-28 | 1990-04-28 | Movement vector detecting device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0411482A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010183194A (en) * | 2009-02-03 | 2010-08-19 | Victor Co Of Japan Ltd | Image correction processing apparatus and method of processing image correction |
JP2010231231A (en) * | 2010-06-07 | 2010-10-14 | Canon Inc | Optical instrument |
-
1990
- 1990-04-28 JP JP2114365A patent/JPH0411482A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010183194A (en) * | 2009-02-03 | 2010-08-19 | Victor Co Of Japan Ltd | Image correction processing apparatus and method of processing image correction |
US8400515B2 (en) | 2009-02-03 | 2013-03-19 | JVC Kenwood Corporation | Image correction processing apparatus and method |
JP2010231231A (en) * | 2010-06-07 | 2010-10-14 | Canon Inc | Optical instrument |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3770271B2 (en) | Image processing device | |
JP3263931B2 (en) | Stereo matching device | |
JP4489848B2 (en) | Method for correcting image steadyness error in television film scanning, method for changing the motion sequence of a predetermined image object in a television image, and apparatus for performing the method | |
JPH05122586A (en) | Blurring corrector for image | |
JPH0422280A (en) | Movement detector for picture | |
JP3465264B2 (en) | Apparatus and method for detecting motion of video data | |
JPH0411482A (en) | Movement vector detecting device | |
JP3252418B2 (en) | Image shake determination device | |
JP3303312B2 (en) | Image vibration correction apparatus and image vibration correction method | |
JP3196258B2 (en) | Image motion vector detection device | |
JP3225598B2 (en) | Image shake detection device | |
JPH0846856A (en) | Hand shake correcting device | |
JPH1075453A (en) | Device and method for detecting motion vector | |
JP3179475B2 (en) | Signal processing device and signal processing method | |
JP3271271B2 (en) | Image motion vector detection device, image motion vector detection method, image vibration correction device, and image vibration correction method | |
JP3303311B2 (en) | Image vibration correction apparatus and image vibration correction method | |
JPH04296176A (en) | Blurring correction circuit | |
JPH05328201A (en) | Correction device for camera shake of picture | |
JP2735264B2 (en) | Motion compensated imaging device | |
WO2021200191A1 (en) | Image processing device and method, and program | |
JP3223582B2 (en) | Image shake detection device | |
JP2925890B2 (en) | Video camera with image stabilization device | |
JPH08279949A (en) | Electronic zooming processing unit and its method | |
JPH05328194A (en) | Picture hand jiggling detector | |
JPH01109970A (en) | Moving picture fluctuation elimination device |