JP3225598B2 - Image shake detection device - Google Patents

Image shake detection device

Info

Publication number
JP3225598B2
JP3225598B2 JP16378992A JP16378992A JP3225598B2 JP 3225598 B2 JP3225598 B2 JP 3225598B2 JP 16378992 A JP16378992 A JP 16378992A JP 16378992 A JP16378992 A JP 16378992A JP 3225598 B2 JP3225598 B2 JP 3225598B2
Authority
JP
Japan
Prior art keywords
vector
motion vector
camera shake
macro
image
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.)
Expired - Lifetime
Application number
JP16378992A
Other languages
Japanese (ja)
Other versions
JPH05336432A (en
Inventor
哲二郎 近藤
泰弘 藤森
真史 内田
司 橋野
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 JP16378992A priority Critical patent/JP3225598B2/en
Publication of JPH05336432A publication Critical patent/JPH05336432A/en
Application granted granted Critical
Publication of JP3225598B2 publication Critical patent/JP3225598B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Adjustment Of Camera Lenses (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

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

【0002】[0002]

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

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

【0004】一般に、上述の如きブロックマッチング法
では、カメラの手振れによる画像の動きベクトルと被写
体の動きによる動きベクトルとが同時に発生するので、
これらの判別が難しい。従来、手振れによる画像の動き
ベクトルの検出精度を高める手法として、1画面を複数
の領域(マクロブロック)に分割し、上記マクロブロッ
ク毎の動きベクトル(マクロベクトル)を求め、それら
から画面全体の動きベクトルを決定する手法が知られて
いる。例えば図7に示すように、1画面の4×3の12
マクロブロックに分割して求めたマクロベクトルについ
ての多数決により(2,0)を画面全体の動きベクトル
とすることにより、動き物体MVによる動きベクトルの
影響を除去するようにしていた。
In general, in the above-described block matching method, a motion vector of an image due to camera shake and a motion vector of a motion of a subject occur simultaneously.
It is difficult to determine these. 2. Description of the Related Art Conventionally, as a method for improving the accuracy of detecting a motion vector of an image due to camera shake, one screen is divided into a plurality of regions (macroblocks), and motion vectors (macrovectors) for each macroblock are obtained. Techniques for determining vectors are known. For example, as shown in FIG.
The influence of the motion vector due to the moving object MV is removed by setting (2, 0) as the motion vector of the entire screen by majority decision on the macro vector obtained by dividing the macro vector into macro blocks.

【0005】[0005]

【発明が解決しようとする課題】ところで、マクロブロ
ック単位の相関積算値表の最小値を求めることにより動
きベクトルを検出し、上記マクロブロック毎の動きベク
トルから画面全体の動きベクトルを検出する手法では、
動き物体があると、手振れベクトルの情報を含む背景画
像が上記動き物体によりマスクされてしまうので、画像
中の動き物体の占める割合が大きい程、手振れベクトル
が上記マクロブロック単位の動きベクトルとして検出さ
れる割合が低下し、正しい手振れベクトルの検出が困難
になるとういう問題点がある。
By the way, a method of detecting a motion vector by obtaining a minimum value of a correlation integrated value table in units of macroblocks and detecting a motion vector of the entire screen from the motion vector of each macroblock is described. ,
If there is a moving object, the background image including the information on the camera shake vector is masked by the moving object, so that as the ratio of the moving object in the image increases, the camera shake vector is detected as the motion vector in macroblock units. However, there is a problem that the detection ratio of the camera shake vector decreases and it becomes difficult to detect a correct camera shake vector.

【0006】そこで、本件出願人は、互いに隣接しない
マクロブロックが生じるような形態で1画面を複数のマ
クロブロックに分割して、マクロブロック単位の相関積
算値表の最小値を求めることにより動きベクトルを検出
し、図8に示すように、空間的に分離された位置にある
少なくとも二つのマクロブロックにおいて検出される同
一の動きベクトルを手振れベクトルする手法を例えば特
願平3−100384号などにおいて先に提案してい
る。
Accordingly, the present applicant divides one screen into a plurality of macroblocks in such a manner that macroblocks that are not adjacent to each other are generated, and obtains a motion vector by obtaining a minimum value of a correlation integrated value table in macroblock units. As shown in FIG. 8, a method for shaking the same motion vector detected in at least two macroblocks located at spatially separated positions is described in, for example, Japanese Patent Application No. 3-100384. Has proposed.

【0007】しかし、この手法においても、図9に示す
ように、画像中の動き物体の占める割合が極めて大きい
場合には、空間的に分離された位置にあるマクロブロッ
クの一方に背景ベクトルでなく動き物体による動きベク
トルが検出されてしまい、正しい手振れベクトルが検出
できなくなってしまうことがある。
However, even in this method, as shown in FIG. 9, when the proportion of a moving object in an image is extremely large, one of the macroblocks at spatially separated positions is not a background vector but a background vector. In some cases, a motion vector due to a moving object is detected, and a correct camera shake vector cannot be detected.

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

【0009】[0009]

【課題を解決するための手段】本発明に係る画像の手振
れ検出装置は、上述の課題を解決するために、互いに隣
接しないマクロブロックが生じるような形態で、1画面
を複数のマクロブロックに分割し、上記マクロブロック
毎に動きベクトルを検出する第1の検出手段と、上記第
1の検出手段の出力の内で空間的に分離された位置にあ
る少なくとも二つの上記マクロブロックにおいて、同一
の動きベクトルを有するものがあるか否かを検出し、同
一のものがある時に、その動きベクトルを画面全体の動
きベクトルとして出力する第2の検出手段とを備え、上
記第2の検出手段は、マクロブロック毎の積算値表の極
小値座標を手振れベクトル候補として、検出した画面全
体の動きベクトルを手振れベクトルとして出力すること
を特徴とするものである。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, an image blur detection apparatus according to the present invention divides one screen into a plurality of macroblocks in such a manner that macroblocks not adjacent to each other are generated. The same motion is detected in the first detecting means for detecting a motion vector for each macroblock and at least two macroblocks at positions spatially separated in the output of the first detecting means. A second detection means for detecting whether or not there is a vector, and when there is the same one, outputting the motion vector as a motion vector of the entire screen. Outputting the minimum value coordinate of the integrated value table for each block as a camera shake vector candidate and a detected motion vector of the entire screen as a camera shake vector. A.

【0010】[0010]

【作用】本発明に係る画像の手振れ検出装置では、第1
の検出手段により、互いに隣接しないマクロブロックが
生じるような形態で、1画面を複数のマクロブロックに
分割し、上記マクロブロック毎に動きベクトルを検出
し、第2の検出手段により、上記第1の検出手段の出力
の内で空間的に分離された位置にある少なくとも二つの
上記マクロブロックにおいて、同一の動きベクトルを有
するものがあるか否かを検出し、同一のものがある時
に、その動きベクトルを画面全体の動きベクトルとして
出力する。そして、第2の検出手段は、マクロブロック
毎の積算値表の極小値座標を手振れベクトル候補とし
て、検出した画面全体の動きベクトルを手振れベクトル
として出力する。
In the image blur detecting apparatus according to the present invention, the first
The screen is divided into a plurality of macroblocks in such a manner that macroblocks that are not adjacent to each other are generated by the detecting means, and a motion vector is detected for each of the macroblocks. In at least two of the macroblocks at positions spatially separated from the output of the detecting means, it is detected whether or not any of the macroblocks has the same motion vector. Is output as a motion vector of the entire screen. Then, the second detection means outputs the minimum value coordinate of the integrated value table for each macroblock as a camera shake vector candidate, and outputs the detected motion vector of the entire screen as a camera shake vector.

【0011】[0011]

【実施例】以下、本発明に係る画像の手振れ検出装置の
一実施例について図面に従い詳細に説明する。本発明に
係る画像の手振れ検出装置は、例えば図1のように構成
される。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of an image blur detecting apparatus according to the present invention. An image shake detection apparatus according to the present invention is configured, for example, as shown in FIG.

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

【0013】この手振れ検出装置10は、入力ビデオデ
ータが上記信号入力端子1を介して供給されるフィール
ド差分検出部11と、このフィールド差分検出部11の
出力が供給される相関積算値表形成部12と、この相関
積算値表形成部12の出力が供給されるマクロベクトル
検出部15と、このマクロベクトル検出部15の出力が
供給される有効ベクトル判定部16と、この有効ベクト
ル判定部16の出力が供給される動きベクトル決定部1
7とを備えてなる。
The camera shake detecting device 10 includes a field difference detecting section 11 to which input video data is supplied via 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, a macro vector detecting unit 15 to which the output of the correlation integrated value table forming unit 12 is supplied, an effective vector determining unit 16 to which the output of the macro vector detecting unit 15 is supplied, Motion vector determination unit 1 to which the output is supplied
7 is provided.

【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 for each block obtained by dividing an image of one field composed of input video data into a plurality of blocks.
Is stored. Specifically, for example, as shown in FIG.
The screen of the field is divided into blocks of m pixels × n lines, and as shown in FIG.
0) as a representative point, and the image data I of each representative point pixel
k (0, 0) is stored in the representative point memory 11A for one field period. Note that the representative points are uniformly 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 converts m ×××××××××××××××××××××××××××××××××××××××××× s1 B1 B block distances of input video data supplied through the signal input terminal 1, that is, image data of the current field.
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 the difference between the fields | I k-1 (0,
0) -I k (x, y) |.

【0017】そして、上記フィールド差分検出部11
は、上記減算回路11Bにより得られるフィールド差分
絶対値|Ik-1 (0,0)−Ik (x,y)|を上記相
関積算値表形成部12に供給する。
The field difference detector 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 integrated 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 detection 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 It comprises 13 absolute value integration 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 converts the field difference absolute value | I k-1 (0,0) -I k (x, y) | obtained by the field difference detector 11 into macros that are not adjacent to each other. In the form that blocks occur,
One screen is divided into a plurality of macro blocks. For example, as shown in FIG. 4, one screen is divided into 12 4 × 3 macro blocks 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 macro-blocked by the macro-blocking circuit 13
k-1 (0,0) -I k (x, y) | is supplied to the first to twelfth absolute value integration circuits 14A to 14L corresponding to the macroblocks B1 to B12 for each macroblock. At the same time, all macroblocks 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 integration circuit 14A includes a first absolute value integration circuit 14A.
Field difference absolute value | I k-1 of macro block B1
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 macro block B1 Is formed. Hereinafter, similarly, the second
The twelfth to twelfth absolute value integration circuits 14B to 14L respectively correspond to the second to twelfth macroblocks B2 to B1.
2 is formed. Further, the thirteenth absolute value integration circuit 14M forms a correlation integrated value table for the entire one screen including the first to twelfth macroblocks B1 to B12.

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

【0023】上記マクロベクトル検出部15は、上記第
1乃至第12の絶対値積分回路14A〜14Lにより形
成された各マクロブロックB1〜B12の相関積算値表
の相関積算値が供給される第1乃至第12のマクロベク
トル検出回路15A〜15Lと、上記第13の絶対値積
分回路14Mにより形成された1画面全体の相関積算値
表の相関積算値が供給されるベクトル検出回路15Mと
からなる。
The macro vector detection section 15 is supplied with a first correlation integrated value of a correlation integrated value table of each of the macro blocks B1 to B12 formed by the first to twelfth absolute value integration circuits 14A to 14L. To a twelfth macro vector detection circuit 15A to 15L, and a vector detection circuit 15M to which a correlation integrated value of a correlation integrated value table for one entire 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 provided for each of the macro blocks B1 to B12.
As the motion vector (macro vector) of each image, the coordinates of the minimum value of the integrated correlation value in the integrated correlation value table of each of the macro blocks B1 to B12 are detected. Further, the vector detection circuit 15M detects the coordinates of the minimum value of the correlation integrated value in the correlation integrated value table as a motion vector of one entire screen.

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

【0026】ここで、相関積算値表の最小値は極小値の
1つであって、上述のように画像中の動き物体の占める
割合が大きいときには、例えば図5に示すように、マク
ロブロックB1において、上記動き物体による動きベク
トルが上記相関積算値表の最小値座標(3,1)として
検出され、背景ベクトルすなわち手振れベクトルが上記
マクロブロック単位の動きベクトルを示す座標として検
出される割合が低下するが、上記手振れベクトルは上記
相関積算値表の極小値の座標(−1,0)として検出さ
れることになる。
Here, the minimum value of the correlation integrated value table is one of the minimum values, and when the proportion of the moving object in the image is large as described above, for example, as shown in FIG. , The rate at which the motion vector due to the moving object is detected as the minimum value coordinate (3, 1) in the correlation integrated value table and the background vector, that is, the camera shake vector, is detected as the coordinate indicating the motion vector in the macroblock unit is reduced. However, the camera shake vector is detected as the coordinate (-1, 0) of the minimum value in the correlation integrated value table.

【0027】そして、上記マクロベクトル検出部15
は、上記第1乃至第12のマクロベクトル検出回路15
A〜15Lにより検出された各マクロベクトルと上記ベ
クトル検出回路15Mにより検出された1画面全体の動
きベクトルを上記有効ベクトル判定部16に供給する。
The macro vector detecting unit 15
Are the first to twelfth macro vector detection circuits 15
The macro vectors detected by A to 15L and the motion vector of one entire screen detected by the vector detection circuit 15M are supplied to the effective vector determination unit 16.

【0028】上記有効ベクトル判定部16は、上記マク
ロベクトル検出部15により検出されたマクロブロック
毎のマクロベクトルと1画面全体の動きベクトルについ
て、例えば積算値が最小の極小値すなわち最小値と積算
値との差や極小値と周囲の積算値との差(凹みの度合)
などをしきい値として、有効判定を行う。
The effective vector determination unit 16 determines, for example, the minimum value of the integrated value, that is, the minimum value and the integrated value of the macro vector for each macro block detected by the macro vector detecting unit 15 and the motion vector of the entire screen. And the difference between the minimum value and the surrounding integrated value (degree of dent)
The validity determination is performed using the threshold as a threshold.

【0029】そして、上記ベクトル決定部17は、上記
有効ベクトル判定部16の出力に基づいて、空間的に分
離された位置にある少なくとも二つのマクロブロックに
おいて、同一の動きベクトルを有するものがあるか否か
を検出し、同一のものがある時に、その動きベクトルを
画面全体の動きベクトルすなわち手振れベクトルとす
る。例えば上記図5に示した状態では、空間的に分離さ
れた位置にある2つマクロブロックB1,4に同一の動
きベクトル(−1,0)があるので、この動きベクトル
(−1,0)を手振れベクトルとする。
Based on the output of the effective vector determination unit 16, the vector determination unit 17 determines whether at least two macroblocks at the spatially separated positions have the same motion vector. Whether the motion vector is the same or not is determined as the motion vector of the entire screen, that is, the camera shake vector. For example, in the state shown in FIG. 5, the same motion vector (-1, 0) is present in the two macroblocks B1, 4 at spatially separated positions. Is the camera shake vector.

【0030】すなわち、この実施例の手振れ検出装置1
0では、上記フィールド差分検出部11,相関積算値表
形成部12及びマクロベクトル検出部15により、互い
に隣接しないマクロブロックが生じるような形態で、1
画面を複数に分割したマクロブロック毎に動きベクトル
を検出する。そして、上記有効ベクトル判定部16及び
ベクトル決定部17により、マクロブロック毎の積算値
表の極小値座標を手振れベクトル候補として、空間的に
分離された位置にある少なくとも二つのマクロブロック
において、同一の動きベクトルを有するものがあるか否
かを検出し、同一のものがある時に、その動きベクトル
を画面全体の動きベクトルすなわち手振れベクトルとし
て出力する。
That is, the camera shake detecting device 1 of this embodiment
In the case of 0, the field difference detection unit 11, the correlation integrated value table forming unit 12, and the macro vector detection unit 15 generate 1
A motion vector is detected for each macroblock obtained by dividing the screen into a plurality. Then, the effective vector determination unit 16 and the vector determination unit 17 use the minimum value coordinate of the integrated value table for each macroblock as a camera shake vector candidate, and at least two macroblocks located at spatially separated positions have the same value. Whether or not there is a motion vector is detected, and when there is the same motion vector, the motion vector is output as a motion vector of the entire screen, that is, a camera shake vector.

【0031】このように、各マクロブロックの積算値の
最小値ベクトルだけでなく、極小値ベクトルも手振れベ
クトルの候補とすることにより、動き物体が画面中に占
める割合が非常に大きいときでも、正しい手振れベクト
ルを検出できる確立が高まり、動き物体の影響を軽減し
て、誤差の少ない手振れベクトルを得ることができる。
As described above, not only the minimum value vector of the integrated value of each macroblock but also the minimum value vector is set as a candidate for the shake vector, so that even when the ratio of the moving object occupying the screen is very large, the correct value can be obtained. The probability of detecting a camera shake vector is increased, and the influence of a moving object is reduced, so that a camera shake vector with less error can be obtained.

【0032】また、上記補正信号発生部20は、上記手
振れ検出装置10により検出された手振れベクトル
t ’を入力として、 Xt =Xt-1 −Vt ’ なる補正量Xt の手振れ補正信号を形成し、この手振れ
補正信号を上記補正部30に供給する。
Further, the 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 camera shake correction signal is supplied to the correction unit 30.

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

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

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

【0036】[0036]

【発明の効果】以上の説明からも明らかなように、本発
明に係る画像の手振れ検出装置では、第1の検出手段に
より、互いに隣接しないマクロブロックが生じるような
形態で、1画面を複数のマクロブロックに分割し、上記
マクロブロック毎に動きベクトルを検出し、第2の検出
手段により、マクロブロック毎の積算値表の極小値座標
を手振れベクトル候補として、上記第1の検出手段の出
力の内で空間的に分離された位置にある少なくとも二つ
の上記マクロブロックにおいて、同一の動きベクトルを
有するものがあるか否かを検出し、同一のものがある時
に、その動きベクトルを画面全体の動きベクトルすなわ
ち手振れベクトルとするので、動き物体が画面中に占め
る割合が非常に大きいときでも、正しい手振れベクトル
を検出できる確立が高まり、動き物体の影響を軽減し
て、誤差の少ない手振れベクトルを得ることができる。
As is apparent from the above description, in the image shake detecting apparatus according to the present invention, one screen is divided into a plurality of screens by the first detecting means in such a manner that macroblocks not adjacent to each other are generated. The motion vector is divided into macroblocks, a motion vector is detected for each macroblock, and the minimum value coordinate of the integrated value table for each macroblock is set as a camera shake vector candidate by the second detection means, and the output of the first detection means is output. In at least two of the macroblocks located at positions spatially separated within the macroblock, it is detected whether or not there is one having the same motion vector. Since it is a vector, that is, a camera shake vector, it is possible to detect the correct camera shake vector even when the proportion of the moving object occupying the screen is very large. Increased, to reduce the effect of the moving object can be obtained with less hand movement vector of errors.

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

【図1】本発明に係る画像の手振れ検出装置を設けた手
振れ補正装置の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating 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 in which a screen is divided into blocks 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 a macro block obtained by dividing one screen into 12 parts.

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

【図6】上記手振れ補正装置の補正部の構成を示すブロ
ック図である。
FIG. 6 is a block diagram illustrating a configuration of a correction unit of the camera shake correction device.

【図7】マクロベクトルの多数決により手振れベクトル
を決定する手法の説明に供する図である。
FIG. 7 is a diagram for explaining a method of determining a camera shake vector by majority decision of macro vectors.

【図8】空間的に分離された位置のマクロベクトルによ
り手振れベクトルを決定する手法の説明に供する図であ
る。
FIG. 8 is a diagram provided for describing a method of determining a camera shake vector using macro vectors at spatially separated positions.

【図9】空間的に分離された位置のマクロベクトルによ
り手振れベクトルを決定する手法の破綻例の説明に供す
る図である。
FIG. 9 is a diagram for explaining a failure example of a method of determining a camera shake vector using macro vectors at positions spatially separated.

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

10・・・・・手振れクトル検出装置 11・・・・・フィールド差分検出部 12・・・・・相関積算値表作成部 15・・・・・マクロベクトル検出部 16・・・・・有効ベクトル判定部 17・・・・・ベクトル決定部 Reference numeral 10: Camera shake detection device 11: Field difference detection unit 12: Correlation integrated value table creation unit 15: Macro vector detection unit 16: Effective vector Judgment unit 17 ... Vector determination unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 橋野 司 東京都品川区北品川6丁目7番35号 ソ ニー株式会社内 (56)参考文献 特開 平4−309078(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 5/232 G03B 5/00 ──────────────────────────────────────────────────続 き Continuation of the front page (72) Inventor Tsukasa Hashino 6-35, Kita-Shinagawa, Shinagawa-ku, Tokyo Sony Corporation (56) References JP-A-4-309078 (JP, A) (58) Field surveyed (Int. Cl. 7 , DB name) H04N 5/232 G03B 5/00

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 互いに隣接しないマクロブロックが生じ
るような形態で、1画面を複数のマクロブロックに分割
し、上記マクロブロック毎に動きベクトルを検出する第
1の検出手段と、上記第1の検出手段の出力の内で空間
的に分離された位置にある少なくとも二つの上記マクロ
ブロックにおいて、同一の動きベクトルを有するものが
あるか否かを検出し、同一のものがある時に、その動き
ベクトルを画面全体の動きベクトルとして出力する第2
の検出手段とを備え、 上記第2の検出手段は、マクロブロック毎の積算値表の
極小値座標を手振れベクトル候補として、検出した画面
全体の動きベクトルを手振れベクトルとして出力するこ
とを特徴とする画像の手振れ検出装置。
1. A first detecting means for dividing one screen into a plurality of macro blocks and detecting a motion vector for each of the macro blocks in such a manner that macro blocks which are not adjacent to each other are generated; In at least two of the macroblocks at spatially separated positions in the output of the means, it is detected whether or not any of the macroblocks has the same motion vector. 2nd output as motion vector of entire screen
Wherein the second detecting means outputs the minimum value coordinate of the integrated value table for each macroblock as a camera shake vector candidate, and outputs the detected motion vector of the entire screen as a camera shake vector. Image shake detection device.
JP16378992A 1992-05-30 1992-05-30 Image shake detection device Expired - Lifetime JP3225598B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16378992A JP3225598B2 (en) 1992-05-30 1992-05-30 Image shake detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16378992A JP3225598B2 (en) 1992-05-30 1992-05-30 Image shake detection device

Publications (2)

Publication Number Publication Date
JPH05336432A JPH05336432A (en) 1993-12-17
JP3225598B2 true JP3225598B2 (en) 2001-11-05

Family

ID=15780740

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16378992A Expired - Lifetime JP3225598B2 (en) 1992-05-30 1992-05-30 Image shake detection device

Country Status (1)

Country Link
JP (1) JP3225598B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001145109A (en) 1999-11-11 2001-05-25 Nec Corp Moving vector detecting device
JP4904925B2 (en) * 2006-05-29 2012-03-28 ソニー株式会社 Image processing apparatus and image processing method
CN104317218B (en) * 2014-10-11 2017-08-25 华南理工大学 Accurate grand dynamic parallel positioning system and method under a kind of micro-nano operating environment

Also Published As

Publication number Publication date
JPH05336432A (en) 1993-12-17

Similar Documents

Publication Publication Date Title
JP3200889B2 (en) Image vibration correction device
US5453800A (en) Apparatus for judging a hand movement of an image
JP3225598B2 (en) Image shake detection device
JP3465264B2 (en) Apparatus and method for detecting motion of video data
JP3252418B2 (en) Image shake determination device
JP3223582B2 (en) Image shake detection device
JP3257035B2 (en) Apparatus and method for correcting image vibration
JP3252448B2 (en) Apparatus and method for detecting motion vector and apparatus and method for correcting image vibration
JP3601506B2 (en) Apparatus and method for detecting motion vector, and apparatus and method for correcting image vibration
JP3221052B2 (en) Image shake detection device
JP3223577B2 (en) Image stabilization device
JP3466640B2 (en) Apparatus and method for detecting motion vector, apparatus and method for correcting image vibration
JP3303312B2 (en) Image vibration correction apparatus and image vibration correction method
JP3200890B2 (en) Image vibration correction device
JP3196258B2 (en) Image motion vector detection device
JP3252415B2 (en) Image stabilization device
JP3252416B2 (en) Image stabilization device
JP3271273B2 (en) Image vibration determination apparatus, image vibration correction apparatus, image vibration determination method, and image vibration correction method
JP3200900B2 (en) Image shake determination device
JP3252411B2 (en) Image vibration correction device
JP3252417B2 (en) Image stabilization device
JP3271274B2 (en) Image vibration determination apparatus, image vibration correction apparatus, image vibration determination method, and image vibration correction method
JP3303311B2 (en) Image vibration correction apparatus and image vibration correction method
JP3200888B2 (en) Image vibration correction device
JP3271275B2 (en) Image vibration correction apparatus and image vibration correction method

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

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

Free format text: PAYMENT UNTIL: 20080831

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090831

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100831

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110831

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110831

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120831

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

Year of fee payment: 11