JPH05328194A - Picture hand jiggling detector - Google Patents

Picture hand jiggling detector

Info

Publication number
JPH05328194A
JPH05328194A JP12647592A JP12647592A JPH05328194A JP H05328194 A JPH05328194 A JP H05328194A JP 12647592 A JP12647592 A JP 12647592A JP 12647592 A JP12647592 A JP 12647592A JP H05328194 A JPH05328194 A JP H05328194A
Authority
JP
Japan
Prior art keywords
motion vector
vector
integrated value
image
macro
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP12647592A
Other languages
Japanese (ja)
Other versions
JP3221052B2 (en
Inventor
Tetsujiro Kondo
哲二郎 近藤
Yasuhiro Fujimori
泰弘 藤森
Masashi Uchida
真史 内田
Tsukasa Hashino
司 橋野
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP12647592A priority Critical patent/JP3221052B2/en
Publication of JPH05328194A publication Critical patent/JPH05328194A/en
Application granted granted Critical
Publication of JP3221052B2 publication Critical patent/JP3221052B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Adjustment Of Camera Lenses (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To detect a hand jiggle vector with high accuracy through interpola tion even when a moving object is in existence in a picture. CONSTITUTION:A field difference detection section 11, a correlation integration list generating section 12 and a macro vector detection section 15 are used to detect a motion vector for each of macro blocks being plural number of divisions of one pattern and a motion vector detection section 16 detects motion vectors of the entire pattern. The motion vector detection section 16, a peripheral integration value storage section 17, a effective integration value list generating section 18 and an interpolation processing section 19 are used to interpolate the motion vectors of the entire pattern with integration data around the motion vectors of each valid macro block in which the motion vectors in the vicinity of the motion vectors for the entire pattern are obtained and the result is outputted as a hand jiggle vector.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像の手振れ検出装置
に関し、例えばハンディタイプのビデオカメラの撮像出
力などのビデオデータに含まれる所謂手振れによる画像
の移動量を検出して補正する画像の手振れ補正装置など
に適用される。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image shake detecting apparatus, and for example, an image shake detecting and correcting a movement amount of an image due to so-called shake included in video data such as an image pickup output of a handy type video camera. It is applied to correction devices.

【0002】[0002]

【従来の技術】一般に、ハンディタイプのビデオカメラ
では、撮影時の手振れすなわちカメラの振動が画像の振
動となって現れる。そこで、このような手振れによる画
像の振動を補正する画像の手振れ補正装置として、例え
ば特開昭63−166370号公報に開示されているよ
うに、画像の動きベクトルを検出し、この動きベクトル
に基づいて、画像メモリに貯えられているビデオデータ
を補正するものが提案されている。
2. Description of the Related Art Generally, in a handy type video camera, camera shake during shooting, that is, camera vibration, appears as image vibration. Therefore, as an image shake correction apparatus for an image which corrects the image shake due to such a hand shake, for example, as disclosed in Japanese Patent Laid-Open No. 63-166370, a motion vector of the image is detected and based on this motion vector. Then, a method of correcting video data stored in the image memory has been proposed.

【0003】画像の動きベクトルの検出には、例えばブ
ロックマッチング法が採用される。このブロックマッチ
ング法による画像の動きベクトルの検出では、画面を多
数の領域(ブロックと称する)に分割し、各ブロックの
中心に位置する前フィールドの代表点画素と現フィール
ドのブロック内の各画素の画像データとのフィールド差
の絶対値を演算し、各ブロックのフィールド差分絶対値
を対応する画素毎に積算して相関積分値を求めて、1ブ
ロック分の画素配列に対応する座標を有する相関積算値
表を形成する。そして、この相関積算値表における相関
積分値の最小値の座標値を画像の動きベクトルの座標値
として画面全体の動きベクトルを決定している。
A block matching method, for example, is employed to detect the motion vector of the image. In the detection of the motion vector of the image by this block matching method, the screen is divided into a number of areas (referred to as blocks), and the representative point pixel of the previous field located at the center of each block and each pixel in the block of the current field are divided. The absolute value of the field difference from the image data is calculated, the absolute value of the field difference of each block is integrated for each corresponding pixel to obtain the correlation integral value, and the correlation integration having the coordinates corresponding to the pixel array for one block is calculated. Form a value table. Then, the motion vector of the entire screen is determined using the coordinate value of the minimum value of the correlation integrated value in the correlation integrated value table as the coordinate value of the motion vector of the image.

【0004】一般に、このようなブロックマッチング法
では、画素の間隔を1単位として動きベクトルが検出さ
れ、少数点以下の値は求まらない。
Generally, in such a block matching method, a motion vector is detected with a pixel interval as one unit, and a value below the decimal point cannot be obtained.

【0005】ところで、手振れの補正を行う場合は、フ
ィールド毎又はフレーム毎に検出される動きベクトルを
積算したベクトルを手振れベクトルとして用いるため、
正しいベクトルに対する誤差が大きくなることがある。
そこで、決定された動きベクトルとその周辺の積算値デ
ータを用いて動きベクトルの補間を行うことにより少数
点以下の値を求めるようにしている。
By the way, when the camera shake is corrected, a vector obtained by adding motion vectors detected for each field or frame is used as the camera shake vector.
The error for the correct vector can be large.
Therefore, the value below the decimal point is obtained by interpolating the motion vector using the determined motion vector and the integrated value data around it.

【0006】また、上述の如きブロックマッチング法で
は、カメラの手振れによる画像の動きベクトルと被写体
の動きによる動きベクトルとが同時に発生するので、こ
れらの判別が難しい。従来、手振れによる画像の動きベ
クトルの検出精度を高める手法として、1画面の複数の
領域(マクロブロック)に分割し、上記マクロブロック
毎の動きベクトルから画面全体の動きベクトルを検出す
る手法が知られている。本件出願人は、高いに隣接しな
いマクロブロックが生じるような形態で1画面を複数の
マクロブロックに分割して、上記マクロブロック毎の動
きベクトルから画面全体の動きベクトルを検出する手法
を例えば特願平3−100384号などにおいて先に提
案している。
In the block matching method as described above, the motion vector of the image due to the camera shake and the motion vector due to the motion of the object are generated at the same time, so that it is difficult to distinguish between them. Conventionally, as a method of improving the detection accuracy of a motion vector of an image due to camera shake, there is known a method of dividing a screen into a plurality of regions (macroblocks) and detecting the motion vector of the entire screen from the motion vector of each macroblock. ing. The applicant of the present application has, for example, a patent application for a method of dividing one screen into a plurality of macroblocks in such a manner that macroblocks that are not highly adjacent to each other are generated and detecting the motion vector of the entire screen from the motion vector of each macroblock. It has been previously proposed in No. 3-100384.

【0007】[0007]

【発明が解決しようとする課題】ところで、1画面の複
数のマクロブロックに分割し、上記マクロブロック毎の
動きベクトルから画面全体の動きベクトルを決定し、こ
の動きベクトルについて、その周辺の積算値データを用
いて補間すると、画像中に動き物体がある場合には、上
記動き物体が存在するマクロブロックの手振れベクトル
周辺の積算値データに上記動き物体による動きベクトル
の成分が含まれてしまうので、動きベクトルの検出精度
を十分に高めることができず、補間された動きベクトル
と実際の手振れベクトルとの差が大きくなってしまう。
By the way, the screen is divided into a plurality of macroblocks of one screen, the motion vector of the entire screen is determined from the motion vector of each macroblock, and the integrated value data around this motion vector is determined. If a moving object is present in the image, the integrated value data around the shake vector of the macroblock in which the moving object exists will include the motion vector component of the moving object. The vector detection accuracy cannot be sufficiently increased, and the difference between the interpolated motion vector and the actual camera shake vector becomes large.

【0008】そこで、本発明は、このような実情に鑑み
てなされたものであり、ハンディタイプのビデオカメラ
などにおける高性能の手振れ補正を可能にすることを目
的とし、画像中に動き物体がある場合にも補間により手
振れベクトルを高精度に検出することのできる画像の手
振れ検出装置を提供するものである。
Therefore, the present invention has been made in view of such circumstances, and an object thereof is to enable high-performance image stabilization in a handy type video camera or the like, and a moving object is present in an image. Even in such a case, the present invention provides an image shake detection apparatus capable of detecting a shake vector with high accuracy by interpolation.

【0009】[0009]

【課題を解決するための手段】本発明に係る画像の手振
れ検出装置は、上述の課題を解決するために、1画面を
複数のマクロブロックに分割し、上記マクロブロック毎
に動きベクトルを検出する第1の検出手段と、上記第1
の検出手段の出力に基づいて画面全体の動きベクトルを
検出する第2の検出手段と、上記第2の検出手段により
検出された画面全体の動きベクトル近傍の動きベクトル
が得られるマクロブロックを有効マクロブロックとし
て、各有効マクロブロックの動きベクトルの周辺の積算
値データにより画面全体の動きベクトルを補間する補間
手段とを備え、上記補間手段により補間された動きベク
トルを手振れベクトルとして出力することを特徴とす
る。
In order to solve the above-mentioned problems, an image shake detecting apparatus according to the present invention divides one screen into a plurality of macroblocks and detects a motion vector for each macroblock. The first detection means and the first
Second detection means for detecting the motion vector of the entire screen based on the output of the detection means of (1), and a macroblock for obtaining a motion vector in the vicinity of the motion vector of the entire screen detected by the second detection means. As a block, an interpolation means for interpolating the motion vector of the entire screen by the integrated value data around the motion vector of each effective macroblock is provided, and the motion vector interpolated by the interpolation means is output as a camera shake vector. To do.

【0010】[0010]

【作用】本発明に係る画像の手振れ検出装置では、第1
の検出手段により1画面を複数に分割したマクロブロッ
ク毎に動きベクトルを検出し、第2の検出手段により各
マクロブロックの動きベクトルに基づいて画面全体の動
きベクトルを検出する。そして、上記画面全体の動きベ
クトル近傍の動きベクトルが得られるマクロブロックを
有効マクロブロックとして、補間手段により、各有効マ
クロブロックの動きベクトルの周辺の積算値データで画
面全体の動きベクトルを補間し、手振れベクトルとして
出力する。
In the image shake detecting apparatus according to the present invention, the first
The detection means detects the motion vector for each macroblock obtained by dividing one screen into a plurality of parts, and the second detection means detects the motion vector for the entire screen based on the motion vector of each macroblock. Then, using a macroblock for which a motion vector near the motion vector of the entire screen is obtained as an effective macroblock, the interpolation means interpolates the motion vector of the entire screen with integrated value data around the motion vector of each effective macroblock, Output as a shake vector.

【0011】[0011]

【実施例】以下、本発明に係る画像の手振れ検出装置の
一実施例について図面に従い詳細に説明する。本発明に
係る画像の手振れ検出装置は、例えば図1のように構成
される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of an image shake detecting apparatus according to the present invention will be described in detail below with reference to the drawings. The image shake detecting apparatus according to the present invention is configured as shown in FIG. 1, for example.

【0012】この図1に示した手振れ検出装置10は、
ハンディタイプのビデオカメラにおける手振れによる画
像の動きを補正する手振れ補正装置に本発明を適用した
もので、補正信号発生部20及び補正部30とともに手
振れ補正装置を構成している。この図1において、信号
入力端子1には、上記ビデオカメラの図示しない撮像部
による撮像出力として得られるビデオ信号をディジタル
化した入力ビデオデータが供給される。
The camera shake detection device 10 shown in FIG.
The present invention is applied to a camera shake correction apparatus that corrects image movement due to camera shake in a handy type video camera, and constitutes a camera shake correction apparatus together with a correction signal generation unit 20 and a correction unit 30. In FIG. 1, a signal input terminal 1 is supplied with input video data obtained by digitizing a video signal obtained as an image pickup output by an image pickup unit (not shown) of the video camera.

【0013】この手振れ検出装置10は、入力ビデオデ
ータが上記信号入力端子1を介して供給されるフィール
ド差分検出部11と、このフィールド差分検出部11の
出力が供給される相関積算値表形成部12と、この相関
積算値表形成部12の出力が供給されるマクロベクトル
検出部15と、このマクロベクトル検出部15の出力が
供給される動きベクトル決定部16及び周辺積算値記憶
部17と、上記動きベクトル検出部16及び周辺積算値
記憶部17の各出力が供給される有効積算値表作成部1
8と、この有効積算値表作成部18の出力が供給される
補間処理部19とを備えてなる。
The camera-shake detecting apparatus 10 includes a field difference detecting section 11 to which input video data is supplied through the signal input terminal 1 and a correlation integrated value table forming section to which an output of the field difference detecting section 11 is supplied. 12, the macro vector detection unit 15 to which the output of the correlation integrated value table forming unit 12 is supplied, the motion vector determination unit 16 and the peripheral integrated value storage unit 17 to which the output of the macro vector detection unit 15 is supplied, The effective integrated value table creation unit 1 to which the outputs of the motion vector detection unit 16 and the peripheral integrated value storage unit 17 are supplied.
8 and an interpolation processing unit 19 to which the output of the effective integrated value table creating unit 18 is supplied.

【0014】上記フィールド差分検出部11は、上記入
力ビデオデータが上記信号入力端子1を介して供給され
る代表点メモリ11Aと減算回路11Bからなる。
The field difference detector 11 comprises a representative point memory 11A to which the input video data is supplied via the signal input terminal 1 and a subtraction circuit 11B.

【0015】上記代表点メモリ11Aは、入力ビデオデ
ータで構成される1フィールドの画像を複数に分割した
各ブロック毎の代表点画素の画像データIk (0,0)
を記憶する。具体的には、例えば図2に示すように、1
フィールドの画面をm画素×nラインのブロックに分割
し、図3に示すように各ブロックの中心の画素S(0,
0)を代表点とし、各代表点画素の画像データI
k (0,0)を上記代表点メモリ11Aに1フィールド
期間記憶する。なお、上記代表点は、画面上で均一にば
らまかれている。そして、この代表点メモリ11Aから
読み出される1フィールド前の各代表点画素の画像デー
タIk-1 (0,0)が上記減算回路11Bに供給され
る。
The representative point memory 11A stores image data I k (0,0) of representative point pixels in each block obtained by dividing an image of one field composed of input video data into a plurality of blocks.
Memorize Specifically, for example, as shown in FIG.
The field screen is divided into blocks of m pixels × n lines, and as shown in FIG. 3, the pixel S (0,
0) as a representative point and image data I of each representative point pixel
k (0, 0) is stored in the representative point memory 11A for one field period. The representative points are evenly distributed on the screen. Then, the image data I k-1 (0,0) of each representative point pixel one field before read from the representative point memory 11A is supplied to the subtraction circuit 11B.

【0016】また、上記減算回路11Bは、上記信号入
力端子1を介して供給される入力ビデオデータすなわち
現フィールドの画像データについて、ブロック毎のm×
n個の各画素の画像データIk (x,y)と上記代表点
メモリ11Aから読み出される前フィールドの対応する
ブロックの代表点画素の画像データIk-1 (0,0)と
の差分すなわちフィールド間差の絶対値|Ik-1 (0,
0)−Ik (x,y)|を検出する。
Further, the subtraction circuit 11B, for the input video data supplied through the signal input terminal 1, that is, the image data of the current field, m × m for each block.
The difference between the image data I k (x, y) of each of the n pixels and the image data I k-1 (0, 0) of the representative point pixel of the corresponding block of the previous field read from the representative point memory 11A, that is, Absolute value of field difference | I k-1 (0,
0) -I k (x, y) | is detected.

【0017】そして、上記フィールド差分検出部11
は、上記減算回路11Bにより得られるフィールド差分
絶対値|Ik-1 (0,0)−Ik (x,y)|を上記相
関積算値表形成部12に供給する。
Then, the field difference detection section 11
Supplies the field difference absolute value | I k-1 (0,0) -I k (x, y) | obtained by the subtraction circuit 11B to the correlation integrated value table forming unit 12.

【0018】上記相関積算値表形成部12は、上記フィ
ールド差分検出部11により得られたフィールド差分絶
対値|Ik-1 (0,0)−Ik (x,y)|が供給され
るマクロブロック化回路13と、このマクロブロック化
回路13によりマクロブロック化されたフィールド差分
絶対値|Ik-1 (0,0)−Ik (x,y)|が供給さ
れる第1乃至第13の絶対値積分回路14A〜14Mか
らなる。
The correlation accumulated value table forming unit 12 is supplied with the field difference absolute value | I k-1 (0,0) -I k (x, y) | obtained by the field difference detecting unit 11. a macro blocking circuit 13, a macroblock of the field difference absolute value by the macro blocking circuit 13 | I k-1 (0,0 ) -I k (x, y) | first through is supplied 13 absolute value integrating circuits 14A to 14M.

【0019】上記マクロブロック化回路13は、上記フ
ィールド差分検出部11により得られたフィールド差分
絶対値|Ik-1 (0,0)−Ik (x,y)|につい
て、互いに隣接しないマクロブロックが生じる形態で、
1画面を複数のマクロブロックに分割するもので、例え
ば図4に示すように、1画面を4×3の12個のマクロ
ブロックB1〜B12に分割する。
The macroblocking circuit 13 is a macroblock which is not adjacent to the field difference absolute value | I k-1 (0,0) -I k (x, y) | obtained by the field difference detecting unit 11. In the form of blocks,
One screen is divided into a plurality of macroblocks. For example, as shown in FIG. 4, one screen is divided into 12 4 × 3 macroblocks B1 to B12.

【0020】そして、このマクロブロック化回路13に
よりマクロブロック化されたフィールド差分絶対値|I
k-1 (0,0)−Ik (x,y)|は、各マクロブロッ
クB1〜B12に対応する上記第1乃至第12の絶対値
積分回路14A〜14Lにマクロブロック毎に供給され
るとともに、上記第13の絶対値積分回路14Mに全マ
クロブロックが供給される。
The field difference absolute value | I macroblocked by the macroblocking circuit 13
k−1 (0,0) −I k (x, y) | is supplied to each of the first to twelfth absolute value integrating circuits 14A to 14L corresponding to each of the macro blocks B1 to B12 for each macro block. At the same time, all the macro blocks are supplied to the thirteenth absolute value integration circuit 14M.

【0021】上記第1の絶対値積分回路14Aは、第1
のマクロブロックB1のフィールド差分絶対値|Ik-1
(0,0)−Ik (x,y)|について、上記m×n個
の画素で構成されるブロックの各フィールド差分絶対値
を対応する画素毎に積算し、上記第1のマクロブロック
B1の相関積算値表を形成する。以下同様に、上記第2
乃至第12の絶対値積分回路14B〜14Lは、それぞ
れ対応する第2乃至第12のマクロブロックB2〜B1
2の相関積算値表を形成する。また、上記第13の絶対
値積分回路14Mは、上記第1乃至第12のマクロブロ
ックB1〜B12からなる1画面全体の相関積算値表を
形成する。
The first absolute value integrating circuit 14A has a first
Field difference absolute value of macroblock B1 of | I k-1
For (0,0) -I k (x, y) |, the field difference absolute values of the block composed of the m × n pixels are integrated for each corresponding pixel, and the first macroblock B1 is added. Form a correlation integrated value table of. Similarly, the second
To 12th absolute value integrator circuits 14B to 14L respectively correspond to the 2nd to 12th macroblocks B2 to B1.
2. Form a correlation integrated value table of 2. The thirteenth absolute value integration circuit 14M forms a correlation integrated value table for the entire one screen including the first to twelfth macro blocks B1 to B12.

【0022】そして、上記相関積算値表形成部12は、
上記第1乃至第12の絶対値積分回路14A〜14Lに
より形成された各マクロブロックB1〜B12の相関積
算値表の相関積算値と上記第13の絶対値積分回路14
Mにより形成された1画面全体の相関積算値表の相関積
算値を上記マクロベクトル検出部15に供給する。
The correlation integrated value table forming unit 12 is
The correlation integrated value of the correlation integrated value table of each macro block B1 to B12 formed by the first to twelfth absolute value integration circuits 14A to 14L and the thirteenth absolute value integration circuit 14 described above.
The correlation integrated value of the correlation integrated value table of the entire screen formed by M is supplied to the macro vector detection unit 15.

【0023】上記マクロベクトル検出部15は、上記第
1乃至第12の絶対値積分回路14A〜14Lにより形
成された各マクロブロックB1〜B12の相関積算値表
の相関積算値が供給される第1乃至第12のマクロベク
トル検出回路15A〜15Lと、上記第13の絶対値積
分回路14Mにより形成された1画面全体の相関積算値
表の相関積算値が供給されるベクトル検出回路15Mと
からなる。
The macro vector detection unit 15 is supplied with the correlation integrated value of the correlation integrated value table of each macro block B1 to B12 formed by the first to twelfth absolute value integration circuits 14A to 14L. It is composed of a twelfth macro vector detection circuit 15A to 15L and a vector detection circuit 15M to which the correlation integrated value of the correlation integrated value table of the entire one screen formed by the thirteenth absolute value integration circuit 14M is supplied.

【0024】上記第1乃至第12のマクロベクトル検出
回路15A〜15Lは、各マクロブロックB1〜B12
毎の画像の動きベクトル(マクロベクトル)として、各
マクロブロックB1〜B12の相関積算値表の相関積算
値の最小値の座標を検出する。また、上記ベクトル検出
回路15Mは、1画面全体の動きベクトルとして、上記
相関積算値表の相関積算値の最小値の座標を検出する。
The first to twelfth macro vector detection circuits 15A to 15L are arranged in the respective macro blocks B1 to B12.
As the motion vector (macro vector) of each image, the coordinates of the minimum value of the correlation integrated value in the correlation integrated value table of each macro block B1 to B12 are detected. Further, the vector detection circuit 15M detects the coordinates of the minimum value of the correlation integrated values in the correlation integrated value table as the motion vector of the entire screen.

【0025】ここで、上記相関積算値表形成部12によ
り形成された各相関積算値表の相関積算値は、各ブロッ
クの代表点画素の画像データIk-1 (0,0)と他の画
素の画像データIk (x,y)とのフィールド間相関を
示すもので、相関の強い画素に対応する座標ほど小さな
値となり、動きベクトルに対応する座標の相関積算値が
最小値となるので、上記マクロベクトル検出部15は、
相関積算値表の最小値の座標を検出することにより動き
ベクトルを検出することができる。
Here, the correlation integrated value of each correlation integrated value table formed by the correlation integrated value table forming unit 12 is the same as the image data I k-1 (0, 0) of the representative point pixel of each block. This indicates the inter-field correlation with the image data I k (x, y) of a pixel, and the coordinate corresponding to the pixel having a strong correlation has a smaller value, and the correlation integrated value of the coordinates corresponding to the motion vector has the minimum value. The macro vector detection unit 15 is
The motion vector can be detected by detecting the coordinates of the minimum value in the correlation integrated value table.

【0026】そして、上記マクロベクトル検出部15
は、上記第1乃至第12のマクロベクトル検出回路15
A〜15Lにより検出された各マクロベクトルと上記ベ
クトル検出回路15Mにより検出された1画面全体の動
きベクトルを上記動きベクトル決定部16に供給する。
さらに、この相関積算値表形成部12は、上記第1乃至
第12のマクロベクトル検出回路15A〜15Lにより
検出された各マクロベクトルの周辺の相関積算値データ
を上記周辺積算値記憶部17に供給する。
Then, the macro vector detector 15
Is the first to twelfth macro vector detection circuit 15
The macro vectors detected by A to 15L and the motion vector of the entire one screen detected by the vector detection circuit 15M are supplied to the motion vector determination unit 16.
Furthermore, the correlation integrated value table forming unit 12 supplies the correlation integrated value data around each macro vector detected by the first to twelfth macro vector detection circuits 15A to 15L to the peripheral integrated value storage unit 17. To do.

【0027】上記動きベクトル決定部16では、上記マ
クロベクトル検出部15から供給される各マクロベクト
ルと1画面全体の動きベクトルとから総合的に画像の動
きベクトルを決定する。そして、この動きベクトル決定
部16は、決定した画像の動きベクトルを上記有効積算
値表作成部18に供給する。
The motion vector determination unit 16 comprehensively determines the motion vector of the image from each macro vector supplied from the macro vector detection unit 15 and the motion vector of the entire screen. Then, the motion vector determination unit 16 supplies the determined motion vector of the image to the effective integrated value table creation unit 18.

【0028】また、上記周辺積算値記憶部17には、上
記第1乃至第12のマクロベクトル検出回路15A〜1
5Lにより検出された各マクロベクトルの周辺の相関積
算値データが各周辺積算値メモリ17A〜17Lにコピ
ーされる。
In the peripheral integrated value storage unit 17, the first to twelfth macro vector detection circuits 15A to 1 are provided.
Correlation integrated value data around each macro vector detected by 5L is copied to each peripheral integrated value memory 17A to 17L.

【0029】さらに、上記有効積算値表作成部18は、
上記周辺積算値記憶部17の各周辺積算値メモリ17A
〜17Lにコピーされた各マクロベクトルの周辺の相関
積算値データについて、上記動きベクトル決定部16に
り決定された画像の動きベクトル近傍のマクロベクトル
が得られるマクロブロックを有効マクロブロックとし
て、各有効マクロブロックの動きベクトルの周辺の積算
値データにより有効積算値表を作成する。
Further, the effective integrated value table preparation section 18 is
Each peripheral integrated value memory 17A of the above peripheral integrated value storage unit 17
With respect to the correlation integrated value data around each macro vector copied to ˜17L, the macro block for which the macro vector near the motion vector of the image determined by the motion vector determination unit 16 is obtained is set as the valid macro block and each valid An effective integrated value table is created from integrated value data around the motion vector of the macro block.

【0030】ここで、例えば図5に示すように、1画面
を4×3の12マクロブロックに分割してマクロブロッ
ク毎の動きベクトルから画面全体の動きベクトルを決定
する場合に、手振れベクトルが(−3,1)で他のベク
トルが物体の動きによるものであったとすると、全ての
マクロブロックの積算値表を足した全体積算値表で(−
3,1)のベクトルに補間をかけると、(−3,1)の
ベクトルが出たマクロブロック以外では、物体の動きに
より(−3,1)近傍の積算値データが汚れているの
で、ベクトルの補間精度が期待できない。
Here, as shown in FIG. 5, for example, when a screen is divided into 4 × 3 12 macroblocks and the motion vector of the entire screen is determined from the motion vector of each macroblock, the shake vector is ( If it is assumed that the other vector is due to the movement of the object in -3, 1), the total integrated value table obtained by adding up the integrated value tables of all macroblocks (-
When the vector of (3, 1) is interpolated, the accumulated value data in the vicinity of (-3, 1) is contaminated by the motion of the object, except for the macroblock in which the vector of (-3, 1) appears. The interpolation accuracy of cannot be expected.

【0031】そこで、図6に斜線を施して示すように、
手振れベクトル(−3,1)以外のベクトルが検出され
たマクロブロックは無視し、手振れベクトルが検出され
たマクロブロックの積算値表のみを加算することによ
り、動き物体の影響を軽減した有効積算値表を上記有効
積算値表作成部18において作成する。なお、手振れベ
クトルが(−3,1)と決定されも、実際には(−2,
1)との中間といったことも考えられるので、上記有効
積算値表作成部18は、例えば図7に斜線を施して示す
ように、上記動きベクトル決定部16により決定された
動きベクトルに近いベクトルは有効ベクトルとみなし
て、有効積算値表を作成する。
Therefore, as shown by hatching in FIG.
An effective integrated value that reduces the effect of a moving object by ignoring macroblocks in which a vector other than the shake vector (-3, 1) is detected and adding only the integrated value table of macroblocks in which the shake vector is detected. A table is created by the effective integrated value table creation unit 18. Although the shake vector is determined to be (-3, 1), it is actually (-2,
Since it may be in the middle of 1), the effective integrated value table creating unit 18 determines that the vector close to the motion vector determined by the motion vector determining unit 16 is, for example, as shown by hatching in FIG. Create an effective integrated value table by regarding it as an effective vector.

【0032】そして、上記補間処理部19は、上記有効
積算値表作成部18により作成された有効積算値表に基
づいて、上記動きベクトル決定部16にり決定された画
像の動きベクトルを補間する。この補間処理部19によ
り補間された動きベクトルは、画像の手振れを示す手振
れベクトルとして上記補正信号発生部20に供給され
る。
Then, the interpolation processing section 19 interpolates the motion vector of the image determined by the motion vector determination section 16 based on the effective integrated value table created by the effective integrated value table creating section 18. .. The motion vector interpolated by the interpolation processing unit 19 is supplied to the correction signal generation unit 20 as a camera shake vector indicating the camera shake of the image.

【0033】なお、上記有効積算値表作成部18におい
て各有効マクロブロックの動きベクトルの周辺の積算値
データにより有効積算値表を作成するときには、上記相
関積算値表形成部12における各相関積算値データの一
部は次のフィールドのデータで更新されてしまっている
が、各マクロベクトルの周辺の相関積算値データを各周
辺積算値メモリ17A〜17Lにコピーして使用するこ
とにより、正しい有効積算値表を作成することができ
る。また、上記各周辺積算値メモリ17A〜17Lは、
全ての相関積算値データをコピーするようにしても良い
のであるが、動きベクトルの補間処理に使用される周辺
積算値データのみをコピーすることにより、記憶容量を
削減している。
When the effective integrated value table creating unit 18 creates an effective integrated value table from the integrated value data around the motion vector of each effective macroblock, each correlation integrated value in the correlation integrated value table forming unit 12 is Although a part of the data has been updated with the data of the next field, the correct integrated value can be calculated correctly by copying the correlation integrated value data around each macro vector to each peripheral integrated value memory 17A to 17L. A value list can be created. Further, the peripheral integrated value memories 17A to 17L are
Although it is possible to copy all the correlation integrated value data, the storage capacity is reduced by copying only the peripheral integrated value data used for the interpolation processing of the motion vector.

【0034】すなわち、この実施例の手振れ検出装置1
0では、上記フィールド差分検出部11,相関積算値表
形成部12及びマクロベクトル検出部15により、1画
面を複数に分割したマクロブロック毎に動きベクトルを
検出し、上記動きベクトル決定部16により各マクロブ
ロックの動きベクトルに基づいて画面全体の動きベクト
ルを検出する。そして、上記周辺積算値記憶部17及び
有効積算値表作成部18により、上記画面全体の動きベ
クトル近傍の動きベクトルが得られるマクロブロックを
有効マクロブロックする有効積算値表を作成して、上記
補間処理部9により各有効マクロブロックの動きベクト
ルの周辺の積算値データで画面全体の動きベクトルを補
間し、手振れベクトルとして出力する。
That is, the camera shake detection device 1 of this embodiment
At 0, the field difference detection unit 11, the correlation integrated value table formation unit 12, and the macro vector detection unit 15 detect a motion vector for each macro block obtained by dividing one screen into a plurality of screens, and the motion vector determination unit 16 detects each motion vector. The motion vector of the entire screen is detected based on the motion vector of the macro block. Then, the peripheral integrated value storage unit 17 and the effective integrated value table creating unit 18 create an effective integrated value table for valid macroblocking a macroblock for which a motion vector near the motion vector of the entire screen is obtained, and the interpolation is performed. The processing unit 9 interpolates the motion vector of the entire screen by the integrated value data around the motion vector of each effective macroblock, and outputs it as a camera shake vector.

【0035】このように、上記画面全体の動きベクトル
近傍の動きベクトルが得られるマクロブロックを有効マ
クロブロックする有効積算値表を作成して補間処理を行
うことにより、動き物体の影響を軽減して、誤差の少な
い手振れベクトルを得ることができる。
As described above, the effect of a moving object is reduced by creating an effective integrated value table for an effective macroblock of a macroblock for which a motion vector near the motion vector of the entire screen is obtained and performing interpolation processing. , It is possible to obtain a shake vector with less error.

【0036】また、上記補正信号発生部20は、上記手
振れ検出装置10により検出された手振れベクトル
t ’を入力として、 Xt =Xt-1 −Vt ’ なる補正量Xt の手振れ補正信号を形成し、この手振れ
補正信号を上記補正部30に供給する。
Further, the above correction signal generating section 20, 'as input, X t = X t-1 -V t' by the hand-shake is detected by the detection device 10 is hand shake vector V t image stabilization becomes the correction amount X t A signal is formed and this image stabilization signal is supplied to the correction section 30.

【0037】そして、上記補正部30は、例えば図8に
示すように、上記補正信号発生部20から手振れ補正信
号が供給されるアドレス制御回路31及びセレクト信号
発生回路32と、上記アドレス制御回路31から供給さ
れるアドレス信号に従ってビデオデータの書き込み/読
み出しが行われるフィールドメモリ33及び周辺メモリ
34と、上記フィールドメモリ33及び周辺メモリ34
から読み出されるビデオデータを上記セレクト信号発生
回路32から供給されるセレクト信号に応じて選択的に
出力するセレクタ35とを備えてなる。
As shown in FIG. 8, for example, the correction section 30 includes an address control circuit 31 and a select signal generation circuit 32 to which a shake correction signal is supplied from the correction signal generation section 20, and the address control circuit 31. A field memory 33 and peripheral memory 34 for writing / reading video data in accordance with an address signal supplied from the field memory 33 and the peripheral memory 34.
And a selector 35 for selectively outputting the video data read from the select signal generator circuit 32 according to the select signal supplied from the select signal generating circuit 32.

【0038】上記フィールドメモリ33には、上記信号
入力端子1を介して供給される入力ビデオデータが順次
書き込まれる。そして、このフィールドメモリ33の読
み出しアドレスが上記手振れ補正信号により上記手振れ
ベクトルに応じて制御される。これにより、上記フィー
ルドメモリ33からは、1フィールドの入力ビデオデー
タが上記手振れベクトルに応じて移動されたビデオデー
タが得られる。そして、このフィールドメモリ33から
読み出されるビデオデータと上記周辺メモリ34から読
み出される周辺ビデオデータとが上記セレクタ35によ
る選択によって合成され、手振れ補正処理済のビデオデ
ータとして信号出力端子2から出力される。
Input video data supplied through the signal input terminal 1 is sequentially written in the field memory 33. The read address of the field memory 33 is controlled by the camera shake correction signal according to the camera shake vector. As a result, from the field memory 33, video data in which one field of input video data is moved according to the camera shake vector is obtained. Then, the video data read out from the field memory 33 and the peripheral video data read out from the peripheral memory 34 are combined by the selection by the selector 35 and output from the signal output terminal 2 as the video data subjected to the image stabilization process.

【0039】なお、上記周辺メモリ34には、上記セレ
クタ35を介して出力される手振れ補正処理済のビデオ
データによる画像の補正範囲に相当する周辺部分のビデ
オデータが周辺ビデオデータとして逐次書き込まれる。
In the peripheral memory 34, the video data of the peripheral portion corresponding to the image correction range of the image data subjected to the image stabilization processing output via the selector 35 is sequentially written as peripheral video data.

【0040】[0040]

【発明の効果】以上の説明からも明らかなように、本発
明に係る画像の手振れ検出装置では、第1の検出手段に
より1画面を複数に分割したマクロブロック毎に動きベ
クトルを検出し、第2の検出手段により各マクロブロッ
クの動きベクトルに基づいて画面全体の動きベクトルを
検出し、上記画面全体の動きベクトル近傍の動きベクト
ルが得られるマクロブロックを有効マクロブロックとし
て、補間手段により、各有効マクロブロックの動きベク
トルの周辺の積算値データで画面全体の動きベクトルを
補間し、手振れベクトルとして出力することにより、動
き物体の影響を軽減して、誤差の少ない手振れベクトル
を得ることができる。
As is apparent from the above description, in the image shake detecting apparatus according to the present invention, the first detecting means detects the motion vector for each macroblock obtained by dividing one screen into a plurality of screens. The second detection means detects the motion vector of the entire screen based on the motion vector of each macroblock, and the interpolation means uses each macroblock for which a motion vector near the motion vector of the entire screen is obtained as an effective macroblock. By interpolating the motion vector of the entire screen with the integrated value data around the motion vector of the macroblock and outputting it as a shake vector, the influence of the moving object can be reduced and a shake vector with less error can be obtained.

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

【図1】本発明に係る画像の手振れ検出装置を設けた手
振れ補正装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a camera shake correction apparatus provided with an image camera shake detection apparatus according to the present invention.

【図2】上記手振れ検出装置における画面のブロック分
割の状態を示す図である。
FIG. 2 is a diagram showing a state of screen block division in the camera shake detection device.

【図3】ブロック分割された画面の1ブロックの構造を
示す図である。
FIG. 3 is a diagram showing a structure of one block of a screen divided into blocks.

【図4】1画面を12分割したマクロブロックの状態を
示す図である。
FIG. 4 is a diagram showing a state of macroblocks obtained by dividing one screen into 12 parts.

【図5】各マクロブロックの動きベクトルの状態を示す
図である。
FIG. 5 is a diagram showing a state of a motion vector of each macroblock.

【図6】図5に示した動きベクトルの状態における有効
マクロブロックを示す図である。
6 is a diagram showing valid macroblocks in the state of the motion vector shown in FIG.

【図7】上記手振れ検出装置における有効マクロブロッ
クの一例を示す図である。
FIG. 7 is a diagram showing an example of an effective macroblock in the camera shake detection device.

【図8】上記手振れ補正装置の補正部の構成を示すブロ
ック図である。
FIG. 8 is a block diagram showing a configuration of a correction unit of the image stabilization apparatus.

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

10・・・・・手振れクトル検出装置 11・・・・・フィールド差分検出部 12・・・・・相関積算値表作成部 15・・・・・マクロベクトル検出部 16・・・・・ベクトル決定部 17・・・・・周辺積算値記憶部 18・・・・・有効積算値表作成部 19・・・・・補間処理部 10: Hand shake actor detection device 11: Field difference detection unit 12: Correlation integrated value table creation unit 15: Macro vector detection unit 16: Vector determination Part 17: peripheral integrated value storage unit 18: effective integrated value table creation unit 19: interpolation processing unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 橋野 司 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Tsukasa Hashino 6-735 Kita-Shinagawa, Shinagawa-ku, Tokyo Sony Corporation

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 1画面を複数のマクロブロックに分割
し、上記マクロブロック毎に動きベクトルを検出する第
1の検出手段と、 上記第1の検出手段の出力に基づいて画面全体の動きベ
クトルを検出する第2の検出手段と、 上記第2の検出手段により検出された画面全体の動きベ
クトル近傍の動きベクトルが得られるマクロブロックを
有効マクロブロックとして、各有効マクロブロックの動
きベクトルの周辺の積算値データにより画面全体の動き
ベクトルを補間する補間手段とを備え、 上記補間手段により補間された動きベクトルを手振れベ
クトルとして出力することを特徴とする画像の手振れ検
出装置。
1. A first screen is divided into a plurality of macroblocks, and a motion vector for the entire screen is calculated based on an output of the first detection means for detecting a motion vector for each macroblock. Second detection means for detecting, and a macro block for which a motion vector near the motion vector of the entire screen detected by the second detection means is obtained as an effective macro block, and integration around the motion vector of each effective macro block An image shake detecting apparatus for an image, comprising: an interpolating unit that interpolates a motion vector of the entire screen based on value data, and outputs the motion vector interpolated by the interpolating unit as a shake vector.
JP12647592A 1992-05-19 1992-05-19 Image shake detection device Expired - Lifetime JP3221052B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12647592A JP3221052B2 (en) 1992-05-19 1992-05-19 Image shake detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12647592A JP3221052B2 (en) 1992-05-19 1992-05-19 Image shake detection device

Publications (2)

Publication Number Publication Date
JPH05328194A true JPH05328194A (en) 1993-12-10
JP3221052B2 JP3221052B2 (en) 2001-10-22

Family

ID=14936141

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12647592A Expired - Lifetime JP3221052B2 (en) 1992-05-19 1992-05-19 Image shake detection device

Country Status (1)

Country Link
JP (1) JP3221052B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007235769A (en) * 2006-03-03 2007-09-13 Victor Co Of Japan Ltd Moving vector detection method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007235769A (en) * 2006-03-03 2007-09-13 Victor Co Of Japan Ltd Moving vector detection method and device

Also Published As

Publication number Publication date
JP3221052B2 (en) 2001-10-22

Similar Documents

Publication Publication Date Title
JP3103894B2 (en) Apparatus and method for correcting camera shake of video data
JP3200889B2 (en) Image vibration correction device
JP2956527B2 (en) Video device with image memory function
JP3465264B2 (en) Apparatus and method for detecting motion of video data
JP3225598B2 (en) Image shake detection device
JP3221052B2 (en) Image shake detection device
JP3252418B2 (en) Image shake determination device
JP3257035B2 (en) Apparatus and method for correcting image vibration
JP3223582B2 (en) Image shake detection device
JP3223577B2 (en) Image stabilization device
JP3601506B2 (en) Apparatus and method for detecting motion vector, and apparatus and method for correcting image vibration
JPS63166369A (en) Mobile vector detection circuit
JP3303312B2 (en) Image vibration correction apparatus and image vibration correction method
JPH0795469A (en) Picture compensation device of camcorder
JP3252448B2 (en) Apparatus and method for detecting motion vector and apparatus and method for correcting image vibration
JP3196258B2 (en) Image motion vector detection device
JP3252416B2 (en) Image stabilization device
JP3303311B2 (en) Image vibration correction apparatus and image vibration correction method
JP3252415B2 (en) Image stabilization device
JP3466640B2 (en) Apparatus and method for detecting motion vector, apparatus and method for correcting image vibration
JP3271273B2 (en) Image vibration determination apparatus, image vibration correction apparatus, image vibration determination method, and image vibration correction method
JP3252417B2 (en) Image stabilization device
JP3252411B2 (en) Image vibration correction device
JP3103893B2 (en) Apparatus and method for detecting camera shake of video data
JP3286345B2 (en) Motion vector detection circuit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010717

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080817

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090817

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100817

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110817

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110817

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120817

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120817

Year of fee payment: 11