[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JP2007279800A - Motion vector detection apparatus, motion vector detection method, camera shake correction apparatus, camera shake correction method, camera shake correction program, and moving image display apparatus including camera shake correction apparatus - Google Patents

Motion vector detection apparatus, motion vector detection method, camera shake correction apparatus, camera shake correction method, camera shake correction program, and moving image display apparatus including camera shake correction apparatus Download PDF

Info

Publication number
JP2007279800A
JP2007279800A JP2006101666A JP2006101666A JP2007279800A JP 2007279800 A JP2007279800 A JP 2007279800A JP 2006101666 A JP2006101666 A JP 2006101666A JP 2006101666 A JP2006101666 A JP 2006101666A JP 2007279800 A JP2007279800 A JP 2007279800A
Authority
JP
Japan
Prior art keywords
motion vector
frame image
correlation
camera shake
correlation value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2006101666A
Other languages
Japanese (ja)
Inventor
Makoto Ouchi
真 大内
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2006101666A priority Critical patent/JP2007279800A/en
Publication of JP2007279800A publication Critical patent/JP2007279800A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Analysis (AREA)
  • Liquid Crystal Display Device Control (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

【課題】動きベクトルの誤差が動画像処理へ与える影響を少なくする。
【解決手段】動画像から時系列順に前後する2つのフレーム画像である参照フレーム画像
と探索フレーム画像を取得するフレーム画像取得手段と、参照フレーム画像と探索フレー
ム画像の画像間の相関値を算出する相関値算出手段と、相関値に基づいて、参照フレーム
画像を基準とする探索フレーム画像の画像全体の動きを示す動きベクトルを算出する動き
ベクトル算出手段とを備え、動きベクトル算出手段は相関値算出手段が算出した相関値の
うち最も相関が強い相関値と2番目に相関が強い相関値との差の絶対値が所定の閾値Aよ
りも小さい場合に時系列順で一つ前の前記フレーム画像の動きベクトルを探索フレーム画
像の前記動きベクトルとし、相関値のうち最も相関が強い相関値が相関の強さを示す所定
の閾値Bよりも相関が弱い場合に探索フレーム画像の動きベクトルを算出しない。
【選択図】図1
The influence of motion vector errors on moving image processing is reduced.
A frame image acquisition unit that acquires a reference frame image and a search frame image, which are two frame images moving back and forth in time series from a moving image, and a correlation value between the reference frame image and the search frame image are calculated. A correlation value calculating means; and a motion vector calculating means for calculating a motion vector indicating a motion of the entire search frame image based on the reference frame image based on the correlation value, the motion vector calculating means calculating the correlation value If the absolute value of the difference between the correlation value with the strongest correlation value and the correlation value with the second strongest correlation value among the correlation values calculated by the means is smaller than a predetermined threshold A, the previous frame image in time series order If the correlation vector having the strongest correlation among the correlation values is weaker than a predetermined threshold B indicating the strength of the correlation, Not calculated a motion vector of a search frame image.
[Selection] Figure 1

Description

本発明は、動画像からフレーム画像を取得し、取得したフレーム画像の動きベクトルを
検出する動きベクトル検出装置、動きベクトル検出方法と、検出された動きベクトルを用
いる、手ぶれ補正装置、手ぶれ補正方法、手ぶれ補正プログラム、及び手ぶれ補正装置を
備えた動画像表示装置に関する。
The present invention acquires a frame image from a moving image, detects a motion vector of the acquired frame image, a motion vector detection device, a motion vector detection method, a camera shake correction device, a camera shake correction method using the detected motion vector, The present invention relates to a camera shake correction program and a moving image display device including a camera shake correction device.

従来、手ぶれ補正、動画像の圧縮などで重要な技術である動きベクトルの検出は、代表
点マッチング法、ブロックマッチング法など画素の相関値を用いる方法が用いられてきた
(例えば、特許文献1)。特許文献1の動きベクトル検出装置は、前記動画像を構成する
フレーム画像の一つである探索フレーム画像の、当該探索フレーム画像に先行又は後続す
る参照フレーム画像を基準とする動きベクトルを、当該両フレーム間の画素の相関により
求めている。
Conventionally, a method using a correlation value of pixels such as a representative point matching method and a block matching method has been used for detection of a motion vector, which is an important technique in camera shake correction and moving image compression (for example, Patent Document 1). . The motion vector detection device of Patent Document 1 uses a motion vector based on a reference frame image preceding or following the search frame image of a search frame image that is one of the frame images constituting the moving image. It is obtained from the correlation of pixels between frames.

特開2004−206638号公報JP 2004-206638 A

代表点マッチング法、ブロックマッチング法のいずれの方法も画素値の相関を用いて動
きベクトルを検出しているため、画像の内容や動きによっては、検出された動きベクトル
の誤差が大きくなってしまう場合がある。動きベクトルの誤差が大きくなると、手ぶれ補
正、動画像の圧縮など動きベクトルを用いる動画像処理に誤差の影響を与えてしまい、効
果を十分に出すことができなくなるという問題があった。
Since both the representative point matching method and the block matching method detect the motion vector using the correlation of the pixel values, the error of the detected motion vector may increase depending on the content and motion of the image. There is. When the error of the motion vector becomes large, there is a problem that the effect of the error is exerted on the moving image processing using the motion vector such as camera shake correction and compression of the moving image, and the effect cannot be sufficiently obtained.

本発明は、このような従来の課題に着目してなされたもので、その目的は、動きベクト
ルの誤差が動きベクトルを用いる動画像処理へ与える影響を少なくすることができる動き
ベクトル検出装置、動きベクトル検出方法、手ぶれ補正装置、手ぶれ補正方法、手ぶれ補
正プログラム、及び手ぶれ補正装置を備えた動画像表示装置を提供することにある。
The present invention has been made paying attention to such a conventional problem, and its purpose is to provide a motion vector detection apparatus and a motion that can reduce the influence of motion vector errors on moving image processing using motion vectors. An object of the present invention is to provide a vector detection method, a camera shake correction device, a camera shake correction method, a camera shake correction program, and a moving image display device including the camera shake correction device.

本発明に係る動きベクトル検出装置は、上記課題を解決すべく、基本的に、動画像から
時系列順に前後する2つのフレーム画像である参照フレーム画像と探索フレーム画像を取
得するフレーム画像取得手段と、前記参照フレーム画像と前記探索フレーム画像の画像間
の相関値を算出する相関値算出手段と、前記相関値に基づいて、前記参照フレーム画像を
基準とする前記探索フレーム画像の画像全体の動きを示す動きベクトルを算出する動きベ
クトル算出手段と、を備え、前記動きベクトル算出手段は、前記相関値算出手段が算出し
た前記相関値のうち最も相関が強い前記相関値と2番目に相関が強い前記相関値との差の
絶対値が所定の閾値Aよりも小さい場合に、時系列順で一つ前の前記フレーム画像の前記
動きベクトルを前記探索フレーム画像の前記動きベクトルとし、前記相関値のうち最も相
関が強い前記相関値が相関の強さを示す所定の閾値Bよりも相関が弱い場合に、前記探索
フレーム画像の動きベクトルを算出しないことを要旨とする。
In order to solve the above problems, a motion vector detection device according to the present invention basically includes a frame image acquisition means for acquiring a reference frame image and a search frame image, which are two frame images moving back and forth in chronological order from a moving image. Correlation value calculating means for calculating a correlation value between the reference frame image and the search frame image, and based on the correlation value, movement of the entire search frame image based on the reference frame image. Motion vector calculation means for calculating a motion vector to be shown, wherein the motion vector calculation means has the second highest correlation with the correlation value having the strongest correlation among the correlation values calculated by the correlation value calculation means. When the absolute value of the difference from the correlation value is smaller than a predetermined threshold A, the motion vector of the previous frame image in time series order is determined as the search frame. The motion vector of the search frame image is not calculated when the correlation value is weaker than a predetermined threshold value B indicating the strength of the correlation. The gist.

本発明に係る動きベクトル検出装置によれば、動きベクトル算出手段は、フレーム画像
取得手段が取得した参照フレーム画像と探索フレーム画像から相関値算出手段が算出した
画像間の相関値に基づいて探索フレーム画像の動きベクトルを算出する。相関値算出手段
が算出した相関値のうち最も相関が強い相関値と2番目に相関が強い相関値の差の絶対値
が所定の閾値Aより小さければ、時系列順で前のフレーム画像の動きベクトルを探索フレ
ーム画像の動きベクトルとする。また、相関値算出手段が算出した相関値のうち最も相関
が強い相関値が相関の強さを示す所定の閾値Bより相関が弱ければ、探索フレーム画像の
相関値を算出しない。
According to the motion vector detection device of the present invention, the motion vector calculation means includes the search frame based on the correlation value between images calculated by the correlation value calculation means from the reference frame image acquired by the frame image acquisition means and the search frame image. The motion vector of the image is calculated. If the absolute value of the difference between the correlation value having the strongest correlation and the correlation value having the second highest correlation among the correlation values calculated by the correlation value calculation means is smaller than a predetermined threshold A, the motion of the previous frame image in time series order Let the vector be the motion vector of the search frame image. If the correlation value having the strongest correlation among the correlation values calculated by the correlation value calculation means is weaker than a predetermined threshold B indicating the strength of the correlation, the correlation value of the search frame image is not calculated.

最も相関の強い相関値と2番目に相関の強い相関値の差の絶対値が小さいときは、動画
像の内容の変化は少ないが、相関値に基づいて算出された動きベクトルの誤差が大きくな
る可能性が高い。しかし、強い相関値が2つあるので、動画像の内容の変化が少ないと考
えられ、相関値に基づいて算出された動きベクトルよりも時系列順で前のフレームの動き
ベクトルを使うほうが誤差が少ない。そのため、時系列順で前のフレームの動きベクトル
を使うことにより、より誤差が少ない動きベクトルを使うことができる。
When the absolute value of the difference between the correlation value having the strongest correlation and the correlation value having the second strongest correlation is small, the change in the content of the moving image is small, but the error of the motion vector calculated based on the correlation value becomes large. Probability is high. However, since there are two strong correlation values, it is considered that there is little change in the content of the moving image, and it is more error to use the motion vector of the previous frame in chronological order than the motion vector calculated based on the correlation value. Few. Therefore, a motion vector with less error can be used by using the motion vector of the previous frame in time series order.

また、最も相関の強い相関値の相関が弱い場合は、相関値に基づいて算出された動きベ
クトルに誤差が含まれている可能性が高い。そのため、動きベクトルの誤差が大きくなる
最も相関の強い相関値の相関が弱い場合は、動きベクトルを算出しないようにし、誤差が
多く含まれている動きベクトルが使われないようにすることができる。また、次に誤差が
大きい、最も相関が強い相関値と2番目に相関が強い相関値の差の絶対値が小さいときは
、時系列順で前のフレームの動きベクトルを使用することで誤差の少ない動きベクトルを
代わりに使うことができる。
If the correlation value having the strongest correlation is weak, there is a high possibility that an error is included in the motion vector calculated based on the correlation value. Therefore, when the correlation of the correlation value having the strongest correlation that increases the error of the motion vector is weak, the motion vector is not calculated, and the motion vector containing a large amount of error can be prevented from being used. Also, when the absolute value of the difference between the correlation value with the next largest error and the correlation value with the second strongest correlation is small, the motion vector of the previous frame is used in time series order to reduce the error. Fewer motion vectors can be used instead.

また、上記した本発明の動きベクトル検出装置では、前記相関値算出手段は、前記参照
フレーム画像と前記探索フレーム画像の相対位置を所定の範囲内で変え、各位置において
、所定の画素ブロックの画素データの輝度値の差の平均値である差分平均値を前記相関値
とする。
In the above-described motion vector detection device of the present invention, the correlation value calculating unit changes a relative position between the reference frame image and the search frame image within a predetermined range, and a pixel of a predetermined pixel block at each position. A difference average value, which is an average value of differences in luminance values of data, is set as the correlation value.

こうすれば、画素ブロックを用いたブロックマッチング法で参照フレーム画像と探索フ
レーム画像の相関値、及び動きベクトルを算出することができる。そのため、簡単に、ブ
ロックマッチング法を利用していた従来の動きベクトル検出装置を本発明の動きベクトル
検出装置に置き換えることができる。
In this way, the correlation value and the motion vector between the reference frame image and the search frame image can be calculated by the block matching method using the pixel block. Therefore, the conventional motion vector detection device using the block matching method can be easily replaced with the motion vector detection device of the present invention.

また、上記した本発明の手ぶれ補正装置に対応する手ぶれ補正方法は、動画像から時系
列順に前後する2つのフレーム画像である参照フレーム画像と探索フレーム画像を取得す
るフレーム画像取得工程と、前記参照フレーム画像と前記探索フレーム画像の画像間の相
関値を算出する相関値算出工程と、前記相関値に基づいて、前記参照フレーム画像を基準
とする前記探索フレーム画像の画像全体の動きを示す動きベクトルを算出する動きベクト
ル算出工程と、を備え、前記動きベクトル算出工程は、前記相関値算出工程が算出した前
記相関値のうち最も相関が強い前記相関値と2番目に相関が強い前記相関値との差の絶対
値が所定の閾値Aより小さい場合に、時系列順で一つ前の前記フレーム画像の前記動きベ
クトルを前記探索フレーム画像の前記動きベクトルとし、前記相関値のうち最も相関が強
い前記相関値が相関の強さを示す所定の閾値Bよりも相関が弱い場合に、前記探索フレー
ム画像の動きベクトルを算出しないことを要旨とする。
In addition, the camera shake correction method corresponding to the above-described camera shake correction device of the present invention includes a frame image acquisition step of acquiring a reference frame image and a search frame image, which are two frame images moving back and forth in time series from a moving image, and the reference A correlation value calculating step for calculating a correlation value between a frame image and the search frame image; and a motion vector indicating a motion of the entire search frame image based on the reference frame image based on the correlation value A motion vector calculation step for calculating the correlation value, wherein the motion vector calculation step includes the correlation value having the strongest correlation among the correlation values calculated by the correlation value calculation step and the correlation value having the second highest correlation. When the absolute value of the difference between the two is smaller than a predetermined threshold A, the motion vector of the previous frame image in time-series order is used as the search frame image. The gist is that the motion vector of the search frame image is not calculated when the correlation is weaker than a predetermined threshold B indicating the strength of the correlation. To do.

こうすれば、本発明の動きベクトル検出装置と同等の効果が得られる。   In this way, an effect equivalent to that of the motion vector detection device of the present invention can be obtained.

また、本発明に係る手ぶれ補正装置は、上記課題を解決すべく、基本的に、上記した動
きベクトル検出装置と、前記動きベクトルに基づいて、前記探索フレーム画像の手ぶれを
補正する手ぶれ補正手段と、を備え、前記手ぶれ補正手段は、前記動きベクトル算出手段
が前記動きベクトルを算出しない場合は、前記手ぶれの補正を行わないことを要旨とする
Further, in order to solve the above problems, a camera shake correction device according to the present invention basically includes the above-described motion vector detection device, and a camera shake correction unit that corrects camera shake in the search frame image based on the motion vector. The camera shake correction means is configured not to correct the camera shake when the motion vector calculation means does not calculate the motion vector.

こうすれば、相関値算出手段が算出した相関値のうち相関が最も強い相関の相関値が相
関を示す所定の閾値Bよりも相関が弱い場合、すなわち、動きベクトルの誤差が最も大き
い場合は、誤差の影響を少なくするために手ぶれの補正をしないようにできる。また、相
関値算出工程が算出した相関値のうち最も相関が強い相関値と2番目に相関が強い相関値
との差の絶対値が所定の閾値Aより小さい場合には、誤差が少ない前のフレームの動きベ
クトルを用いて手ぶれの補正をすることができる。
In this way, when the correlation value of the correlation having the strongest correlation among the correlation values calculated by the correlation value calculation means is weaker than the predetermined threshold value B indicating the correlation, that is, when the motion vector error is the largest, In order to reduce the influence of errors, it is possible to avoid correcting camera shake. If the absolute value of the difference between the correlation value with the strongest correlation value and the correlation value with the second strongest correlation value among the correlation values calculated by the correlation value calculation step is smaller than the predetermined threshold A, the previous error is small. Camera shake can be corrected using the motion vector of the frame.

また、上記した手ぶれ補正装置に対応する手ぶれ補正方法及び手ぶれ補正プログラムは
、上記した動きベクトル検出方法と、前記動きベクトルに基づいて、前記探索フレーム画
像の手ぶれを補正する手ぶれ補正工程と、を備え、前記手ぶれ補正工程は、前記動きベク
トル算出工程が前記動きベクトルを算出しない場合は、前記手ぶれの補正を行わないこと
を要旨とする。
Further, a camera shake correction method and a camera shake correction program corresponding to the above-described camera shake correction apparatus include the above-described motion vector detection method and a camera shake correction process for correcting camera shake in the search frame image based on the motion vector. The camera shake correction step is summarized in that the camera shake correction is not performed when the motion vector calculation step does not calculate the motion vector.

こうすれば、本発明の手ぶれ補正装置と同等の効果が得られる。   In this way, the same effect as the camera shake correction device of the present invention can be obtained.

また、本発明に係る動画像表示装置は、上記した手ぶれ補正装置を備える。こうすれば
、動きベクトルの誤差の影響を少なくして手ぶれを補正した動画像を表示することができ
る。
A moving image display apparatus according to the present invention includes the above-described camera shake correction apparatus. By doing so, it is possible to display a moving image in which the influence of motion vector errors is reduced and camera shake is corrected.

以下、本発明を具体化した実施例について図面を用いて説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は、手ぶれ補正装置100の構成概略を説明する説明図である。実施例1の手ぶれ
補正装置100は、動きベクトル検出装置90、及び手ぶれを補正する画像補正手段14
0から構成される。動きベクトル検出装置90は、フレーム画像取得手段110、相関値
算出手段120、動きベクトル算出手段130から構成され、入力機器200から動画像
を取得し、フレーム画像の動きベクトルを算出する。また、画像補正手段140は、動き
ベクトル算出手段130が算出した動きベクトルに基づいてフレーム画像取得手段110
が取得したフレーム画像の手ぶれを補正して出力機器210に出力する。
FIG. 1 is an explanatory diagram for explaining a schematic configuration of the camera shake correction apparatus 100. The camera shake correction apparatus 100 according to the first embodiment includes a motion vector detection device 90 and an image correction unit 14 that corrects camera shake.
Consists of zero. The motion vector detection device 90 includes a frame image acquisition unit 110, a correlation value calculation unit 120, and a motion vector calculation unit 130, acquires a moving image from the input device 200, and calculates a motion vector of the frame image. The image correction unit 140 also includes a frame image acquisition unit 110 based on the motion vector calculated by the motion vector calculation unit 130.
Corrects camera shake in the acquired frame image and outputs it to the output device 210.

入力機器200としては、ビデオ、デジタルビデオカメラ(DVC)、放送、及び動画
像を保管する動画像データベース(DB)など動画像を出力することができる機器を用い
ることができる。また、入力機器200として動画像が格納されたハードディスク、メモ
リカードなどの記憶媒体を用いても良い。
As the input device 200, a device capable of outputting a moving image such as a video, a digital video camera (DVC), a broadcast, and a moving image database (DB) for storing a moving image can be used. Further, a storage medium such as a hard disk or a memory card in which moving images are stored may be used as the input device 200.

フレーム画像取得手段110は、入力機器200から出力された動画像からフレーム画
像F(n)(nは時系列順を示す整数)を順次取得する。
The frame image acquisition unit 110 sequentially acquires frame images F (n) (n is an integer indicating a time-series order) from the moving image output from the input device 200.

相関値算出手段120は、フレーム画像取得手段110が取得したフレーム画像F(n
−1)とF(n)の画像全体の動きを表す画像間の相関値を算出する。
The correlation value calculation unit 120 is configured to display the frame image F (n
-1) and a correlation value between images representing the movement of the entire image of F (n) is calculated.

動きベクトル算出手段130は、相関値算出手段120が算出した相関値に基づいて、
フレーム画像F(n)の画像全体の動きを示す動きベクトルV(n)を算出する。
The motion vector calculation means 130 is based on the correlation value calculated by the correlation value calculation means 120.
A motion vector V (n) indicating the motion of the entire frame image F (n) is calculated.

画像補正手段140は、動きベクトルV(n)を用いて、フレーム画像F(n)の手ぶ
れを補正した補正フレーム画像HFG(n)を生成し、出力機器210に出力する。
The image correction unit 140 generates a corrected frame image HFG (n) in which the camera shake of the frame image F (n) is corrected using the motion vector V (n), and outputs it to the output device 210.

出力機器210としては、CRT、プロジェクタ、テレビなどを用いることができる。
また、ネットワークを介して補正フレーム画像HFG(n)を配信しても良い。また、出
力機器210として、ハードディスク、DVD−ROMなどの記憶媒体を用い、補正フレ
ーム画像HFG(n)を記録しても良い。
As the output device 210, a CRT, a projector, a television, or the like can be used.
Further, the corrected frame image HFG (n) may be distributed via a network. Further, the output frame 210 may be a storage medium such as a hard disk or a DVD-ROM, and the corrected frame image HFG (n) may be recorded.

以上の構成の手ぶれ補正装置100は、上記の各部における処理をソフトウェアプログ
ラムで実現し、その処理プログラムである手ぶれ補正プログラムをインストールしたコン
ピュータにより構成される。このコンピュータ(図示なし)は、CPU,ROM,RAM
,ハードディスク、インターフェース等を備え、キーボード、ディスプレイ等と接続され
た一般的な計算機である。このコンピュータのROMには手ぶれ補正プログラムが記憶さ
れ、CPUが手ぶれ補正プログラムを実行することにより、手ぶれ補正装置100として
機能する。以下に、このコンピュータでCPUにより実行される上記各部の処理について
、図2のフローチャートを用いて説明する。
The camera shake correction apparatus 100 having the above configuration is configured by a computer that implements the processing in each of the above-described units by a software program and installs the camera shake correction program as the processing program. This computer (not shown) includes a CPU, ROM, RAM
, A general computer equipped with a hard disk, an interface, etc., connected to a keyboard, a display, etc. The computer's ROM stores a camera shake correction program, and the CPU functions as the camera shake correction device 100 when the camera shake correction program is executed. In the following, the processing of each unit executed by the CPU in this computer will be described with reference to the flowchart of FIG.

処理を開始すると、フレーム画像取得手段110は、入力機器200からフレーム画像
F(n)を取得する(ステップS100)。
When the process is started, the frame image acquisition unit 110 acquires the frame image F (n) from the input device 200 (step S100).

次に、相関値算出手段120は、フレーム画像取得手段110が取得したフレーム画像
F(n−1)(参照フレーム画像)とF(n)(探索フレーム画像)の画像間の相関値を
算出する(ステップS110)。ここで、相関値の算出方法を、図3の相関値の算出方法
を説明するための説明図を用いて説明する。
Next, the correlation value calculation unit 120 calculates a correlation value between the images of the frame images F (n−1) (reference frame image) and F (n) (search frame image) acquired by the frame image acquisition unit 110. (Step S110). Here, the correlation value calculation method will be described with reference to the explanatory diagram for explaining the correlation value calculation method of FIG.

まず、フレーム画像F(n−1)とF(n)を画素数SX,SYだけずらした位置に重
ねる。そして、フレーム画像のF(n−1)に画素ブロックB(SX,SY)を置く。画
素ブロックB(SX,SY)は、縦N画素、横M画素の予め決められた大きさの四角形の
領域を示す。このときの、画素ブロックB(SX,SY)の左下の座標は、フレーム画像
F(n−1)の座標では(x0、y0)であり、フレーム画像F(n)の座標では、(x
1、y1)である。また、フレーム画像F(n−1)とF(n)はSX,SYだけずれて
いるので、(x1、y1)=(x0−SX,y0+SY)となる。
First, the frame images F (n−1) and F (n) are overlaid at positions shifted by the number of pixels SX and SY. Then, the pixel block B (SX, SY) is placed in F (n−1) of the frame image. The pixel block B (SX, SY) indicates a rectangular area having a predetermined size of vertical N pixels and horizontal M pixels. At this time, the lower left coordinates of the pixel block B (SX, SY) are (x0, y0) in the coordinates of the frame image F (n−1), and (x) in the coordinates of the frame image F (n).
1, y1). Since the frame images F (n−1) and F (n) are shifted by SX and SY, (x1, y1) = (x0−SX, y0 + SY).

このときのフレーム画像F(n−1)とF(n)の画像間の相関値D(SX,SY)は
、式(1)のように、画素ブロックB(SX,SY)の中の輝度値の差の平均値(差分平
均値)で算出できる。
The correlation value D (SX, SY) between the images of the frame images F (n−1) and F (n) at this time is the luminance in the pixel block B (SX, SY) as shown in Equation (1). It can be calculated by the average value difference (difference average value).

Figure 2007279800
P0(x,y):フレーム画像F(n−1)の座標(x,y)の輝度値
P1(x,y):フレーム画像F(n)の座標(x,y)の輝度値
N :画素ブロックの縦の画素数
M :画素ブロックの横の画素数
(x0,y0):フレーム画像F(n−1)の中の画素ブロックの左下の座標
(x1,y1):フレーム画像F(n)の中の画素ブロックの左下の座標
Figure 2007279800
P0 (x, y): luminance value of coordinates (x, y) of the frame image F (n−1) P1 (x, y): luminance value of coordinates (x, y) of the frame image F (n) N: Number of vertical pixels of the pixel block M: Number of horizontal pixels of the pixel block (x0, y0): Lower left coordinates of the pixel block in the frame image F (n-1) (x1, y1): Frame image F (n The lower left coordinates of the pixel block in

ここで、動きベクトルの検出範囲を水平方向が±TX、垂直方向±TYとすると、相関
値算出手段120は、動きベクトルの検出範囲内でSX,SYを1画素ずつ変更した、(
2×TX+1)×(2×TY+1)個の相関値D(SX,SY)(−TX≦SX≦TX,
−TY≦SY≦TY)を算出する。このように算出した相関値D(SX,SY)は、画素
ブロックB(SX,SY)の中のフレーム画像F(n−1)とF(n)の画像が似ている
(相関が強い)ほど小さくなり、フレーム画像F(n−1)とF(n)の画像が似ていな
い(相関が弱い)ほど大きくなる。
Here, assuming that the motion vector detection range is ± TX in the horizontal direction and ± TY in the vertical direction, the correlation value calculation unit 120 changes SX and SY pixel by pixel within the motion vector detection range.
2 × TX + 1) × (2 × TY + 1) correlation values D (SX, SY) (−TX ≦ SX ≦ TX,
-TY≤SY≤TY) is calculated. The correlation values D (SX, SY) calculated in this way are similar to the images of the frame images F (n−1) and F (n) in the pixel block B (SX, SY) (strongly correlated). The smaller the frame images F (n−1) and F (n), the larger the images.

次に、動きベクトル算出手段130は、相関値D(SX,SY)を用いて、フレーム画
像F(n)の画像全体の動きを示す動きベクトルV(n)を算出する(ステップS120
)。ここで、図4のフレーム画像F(n)及び動きベクトルV(n)を説明するための説
明図を用いて動きベクトルV(n)について説明する。
Next, the motion vector calculation means 130 calculates a motion vector V (n) indicating the motion of the entire frame image F (n) using the correlation value D (SX, SY) (step S120).
). Here, the motion vector V (n) will be described with reference to an explanatory diagram for explaining the frame image F (n) and the motion vector V (n) in FIG.

図4(上側)は、フレーム画像取得手段110により取得された時系列順1番目のフレ
ーム画像F(1)と、2番目、3番目のフレーム画像F(2),F(3)の例を示してい
る。また、図4は、画像の中に写っている家が左下方向に移動している例である。
FIG. 4 (upper side) shows an example of the first frame image F (1) in time order and the second and third frame images F (2) and F (3) acquired by the frame image acquisition unit 110. Show. FIG. 4 is an example in which the house shown in the image is moving in the lower left direction.

手ぶれ補正装置100は、フレーム画像F(n)から所定の大きさの画像を手ぶれによ
る画像の揺れを軽減する位置で切り出すことで、手ぶれを補正した補正フレーム画像HF
G(n)を生成する。補正フレーム画像HFG(n)のデフォルトの切り出し位置は、そ
れぞれ図4に破線で示したフレーム画像FK(1)〜FK(3)となる。ここで、フレー
ム画像FK(n)は、図4に示したように、フレーム画像F(n)に対して所定の補正限
界値Smax(X方向ではSxmax、Y方向ではSymax)だけ画面サイズが小さい
画像になる。所定の補正限界値Smax(X成分はSxmax,Y成分はSymax)は
、実施例1では、予め手ぶれ補正プログラムにデフォルトで所定の値が設定されているも
のとする。
The camera shake correction apparatus 100 cuts out an image of a predetermined size from the frame image F (n) at a position that reduces image shake due to camera shake, thereby correcting the camera shake correction frame image HF.
G (n) is generated. The default cut-out positions of the corrected frame image HFG (n) are frame images FK (1) to FK (3) indicated by broken lines in FIG. Here, as shown in FIG. 4, the frame image FK (n) is smaller in screen size than the frame image F (n) by a predetermined correction limit value Smax (Sxmax in the X direction and Symax in the Y direction). Become an image. In the first embodiment, a predetermined correction limit value Smax (X component is Sxmax, Y component is Symax) is set to a predetermined value in advance in the camera shake correction program.

同じく図4(下側)に、フレーム画像F(1)〜F(3)に映っている物体が同じ位置
になるように配置したフレーム画像F(1)〜F(3),FK(1)〜FK(3)を示し
た。このように配置したときのフレーム画像FK(n)の相対位置の差が動きベクトルで
ある。すなわち、動きベクトルV(2)はフレーム画像FK(2)とFK(1)の相対位
置の差であり、動きベクトルV(3)はフレーム画像FK(3)とフレーム画像FK(2
)の相対位置の差である。また、図4の例では、フレーム画像F(1)の前のフレームは
ないので、動きベクトルV(1)は0になる。
Similarly, in FIG. 4 (lower side), frame images F (1) to F (3) and FK (1) are arranged so that the objects shown in the frame images F (1) to F (3) are in the same position. -FK (3) was shown. A difference in relative position of the frame image FK (n) when arranged in this way is a motion vector. That is, the motion vector V (2) is a difference between the relative positions of the frame images FK (2) and FK (1), and the motion vector V (3) is the frame image FK (3) and the frame image FK (2).
) Relative position difference. In the example of FIG. 4, there is no frame preceding the frame image F (1), so the motion vector V (1) is zero.

この相対位置が、図3のフレーム画像F(n−1)とF(n)を重ねる位置を示す(S
X,SY)に相当する。図4(下側)のように映っている物体が同じ位置になるように配
置する相対位置を(X1,Y1)とすると、このときの相関値D(X1,Y1)は、画素
ブロックB(X1,Y1)の中の画像が最も似ており、相関も最も強くなる。したがって
、相関値算出手段120が算出した相関値D(SX,SY)のうち、最も相関が強くなる
(X1,Y1)が、動きベクトルV(n)になる。
This relative position indicates a position where the frame images F (n−1) and F (n) in FIG.
X, SY). Assuming that the relative positions where the objects shown in FIG. 4 (lower side) are arranged at the same position are (X1, Y1), the correlation value D (X1, Y1) at this time is the pixel block B ( The images in X1, Y1) are the most similar, and the correlation is the strongest. Accordingly, among the correlation values D (SX, SY) calculated by the correlation value calculation unit 120, the correlation (X1, Y1) having the strongest correlation is the motion vector V (n).

次に、動きベクトル算出手段130は、相関値D(SX,SY)のうち、最も相関が強
い相関値D(X1,Y1)と2番目に相関が強い相関値D(X2、Y2)の差の絶対値(
|D(X1,Y1)−D(X2,Y2)|)が所定の閾値Aより小さいかどうかを調べる
(ステップS130)。(|D(X1,Y1)−D(X2,Y2)|)が所定の閾値Aよ
り小さい場合(ステップS130:YES)は、前のフレームで算出した動きベクトルV
(n−1)を動きベクトルV(n)とする(ステップS140)。
Next, the motion vector calculation means 130 calculates the difference between the correlation value D (X1, Y1) having the strongest correlation and the correlation value D (X2, Y2) having the second highest correlation among the correlation values D (SX, SY). Absolute value of (
Whether or not | D (X1, Y1) -D (X2, Y2) |) is smaller than a predetermined threshold A is checked (step S130). When (| D (X1, Y1) −D (X2, Y2) |) is smaller than the predetermined threshold A (step S130: YES), the motion vector V calculated in the previous frame is used.
Let (n-1) be a motion vector V (n) (step S140).

(|D(X1,Y1)−D(X2,Y2)|)が小さいときは、画像の似ている箇所が
2箇所以上あるため、相関値D(SX,SY)から算出された動きベクトルV(n)の誤
差は大きくなる。しかし、相関の高い箇所があるので、フレーム画像F(n−1)とF(
n)で画像の内容の差は大きくない。また、画像の内容の差が少ないので、前のフレーム
画像F(n−1)から画像全体の動きの変化も少ない。したがって、前のフレームの動き
ベクトルV(n−1)をフレーム画像F(n)の動きベクトルV(n)とすることで、相
関値D(SX,SY)から直接算出された動きベクトルよりは、誤差の少ない動きベクト
ルV(n)を算出することができる。また、所定の閾値Aは、手ぶれを補正する動画像の
内容に応じて手ぶれ補正装置100の利用者が設定する。例えば、実施例1では、最大の
相関値の5%とする。
When (| D (X1, Y1) −D (X2, Y2) |) is small, there are two or more similar parts in the image, and therefore the motion vector V calculated from the correlation value D (SX, SY). The error of (n) becomes large. However, since there is a highly correlated part, the frame images F (n−1) and F (n
In n), the difference in image contents is not large. Further, since the difference in image contents is small, there is little change in the movement of the entire image from the previous frame image F (n−1). Therefore, by using the motion vector V (n−1) of the previous frame as the motion vector V (n) of the frame image F (n), the motion vector directly calculated from the correlation value D (SX, SY) is used. The motion vector V (n) with a small error can be calculated. The predetermined threshold A is set by the user of the camera shake correction apparatus 100 according to the content of the moving image for correcting camera shake. For example, in Example 1, it is set to 5% of the maximum correlation value.

次に、相関値D(SX,SY)のうち、最も相関が強い相関値D(X1,Y1)と2番
目に相関が強い相関値D(X2、Y2)の差の絶対値(|D(X1,Y1)−D(X2−
Y2)|)が所定の閾値A以上の場合(ステップS130:NO)は、相関が最も強い相
関値D(X1,Y1)が所定の閾値Bよりも小さいかどうかを調べる(ステップS150
)。相関が最も強い相関値D(X1,Y1)が所定の閾値Bよりも小さい場合(ステップ
S150:YES)は、動きベクトル算出手段130によりフレーム画像F(n)の動き
ベクトルV(n)を無効にする(ステップS160)。一方、相関が最も強い相関値D(
X1,Y1)が所定の閾値Bよりも小さくない場合(ステップS150:NO)は、ステ
ップS170に進む。
Next, of the correlation values D (SX, SY), the absolute value (| D () of the difference between the correlation value D (X1, Y1) having the strongest correlation and the correlation value D (X2, Y2) having the second highest correlation. X1, Y1) -D (X2-
Y2) |) is greater than or equal to the predetermined threshold A (step S130: NO), it is checked whether or not the correlation value D (X1, Y1) having the strongest correlation is smaller than the predetermined threshold B (step S150).
). When the correlation value D (X1, Y1) having the strongest correlation is smaller than the predetermined threshold B (step S150: YES), the motion vector calculation unit 130 invalidates the motion vector V (n) of the frame image F (n). (Step S160). On the other hand, the correlation value D (
If X1, Y1) is not smaller than the predetermined threshold B (step S150: NO), the process proceeds to step S170.

相関値D(SX,SY)は、画像全体の動きよりも、画像の内容の変化の影響を強く受
けていると、最も相関が強い相関値D(X1,Y1)が小さくなる。そのため、相関値D
(X1,Y1)を所定の閾値Bと比較し、所定の閾値Bよりも小さい場合は、相関値D(
SX,SY)による動きベクトルの算出が誤差が多くなりすぎて無理であると判断し、動
きベクトル算出手段130は動きベクトルの算出を中止、すなわち、動きベクトルV(n
)を無効にする。こうすることで、動きベクトルの誤差が大きくなる場合に、誤差の大き
い動きベクトルV(n)が使われることを防ぐことができる。また、所定の閾値Bは、手
ぶれを補正する動画像の内容に応じて手ぶれ補正装置100の利用者が設定する。例えば
、実施例1では、最大の相関値の5%とする。
When the correlation value D (SX, SY) is strongly influenced by the change in the image content rather than the movement of the entire image, the correlation value D (X1, Y1) having the strongest correlation becomes small. Therefore, the correlation value D
(X1, Y1) is compared with a predetermined threshold B, and if it is smaller than the predetermined threshold B, the correlation value D (
The motion vector calculation by SX, SY) is determined to be impossible due to an excessive error, and the motion vector calculation means 130 stops calculating the motion vector, that is, the motion vector V (n
) Is disabled. By doing so, it is possible to prevent the motion vector V (n) having a large error from being used when the motion vector error becomes large. Further, the predetermined threshold B is set by the user of the camera shake correction apparatus 100 according to the content of the moving image for correcting camera shake. For example, in Example 1, it is set to 5% of the maximum correlation value.

次に、画像補正手段140は、フレーム画像F(n)の手ぶれの補正を行うための補正
量を示す補正位置ベクトルS(n)を算出し、補正位置ベクトルS(n)を用いて手ぶれ
の補正をした補正フレーム画像HFG(n)を生成する(ステップS170)。
Next, the image correction unit 140 calculates a correction position vector S (n) indicating a correction amount for correcting the camera shake of the frame image F (n), and uses the correction position vector S (n) to reduce the camera shake. A corrected frame image HFG (n) is generated (step S170).

図5は、画像補正手段140による手ぶれの補正を説明するための説明図である。図5
を用いて、図4で説明したフレーム画像F(2),F(3)の手ぶれの補正方法を説明す
る。補正位置ベクトルS(2),S(3)は、フレーム画像F(2),F(3)から補正
フレーム画像HFG(2),HFG(3)を切り取る位置を示すベクトルであり、デフォ
ルトの補正フレーム画像と同じ位置にあるフレーム画像FK(2),FK(3)からの相
対位置で表される。
FIG. 5 is an explanatory diagram for explaining correction of camera shake by the image correction unit 140. FIG.
Will be used to describe a method of correcting camera shake in the frame images F (2) and F (3) described with reference to FIG. The correction position vectors S (2) and S (3) are vectors indicating positions where the correction frame images HFG (2) and HFG (3) are cut out from the frame images F (2) and F (3). It is represented by a relative position from the frame images FK (2) and FK (3) at the same position as the frame image.

ここで、補正位置ベクトルS(2),S(3)を動きベクトルV(2),V(3)の向
きを反対方向に変えたベクトルとすれば、切り出される補正フレーム画像HFG(2),
HFG(3)の中に映っている家の位置は変わらなくなり、手ぶれの補正ができたことに
なる。
Here, if the correction position vectors S (2) and S (3) are vectors obtained by changing the directions of the motion vectors V (2) and V (3) in the opposite directions, the corrected frame images HFG (2),
The position of the house shown in HFG (3) is not changed, and camera shake can be corrected.

そして、画像補正手段140は、フレーム画像F(n)を補正位置ベクトルS(n)で
示す位置で切り取り補正フレーム画像HFG(n)を生成する。
Then, the image correcting unit 140 cuts out the frame image F (n) at a position indicated by the correction position vector S (n) and generates a corrected frame image HFG (n).

また、動きベクトル算出手段130により、動きベクトルV(n)が無効にされている
ときは、補正位置ベクトルS(n)を0として、手ぶれの補正をしないようにする。
In addition, when the motion vector V (n) is invalidated by the motion vector calculation means 130, the correction position vector S (n) is set to 0 so that the camera shake is not corrected.

次に、補正フレーム画像HFG(n)を出力機器210に出力する(ステップS180
)。このようにしてフレーム画像F(n)の手ぶれの補正が終了すると、次にフレーム画
像F(n)が動画像の終わりかどうかを調べる(ステップS190)。フレーム画像F(
n)が動画像の終わりである場合(ステップS190:YES)は、手ぶれ補正プログラ
ムを終了する。
Next, the corrected frame image HFG (n) is output to the output device 210 (step S180).
). When the camera shake correction of the frame image F (n) is completed in this way, it is next checked whether or not the frame image F (n) is the end of the moving image (step S190). Frame image F (
If n) is the end of the moving image (step S190: YES), the camera shake correction program is terminated.

フレーム画像F(n)が動画像の終わりでない場合(ステップS190:NO)は、フ
レーム画像F(n+1)の手ぶれを補正するために、nに1を足して、ステップS100
に戻る。こうして、フレーム画像F(n)の手ぶれの補正が1フレームづつ、時系列順に
進められる。
If the frame image F (n) is not the end of the moving image (step S190: NO), 1 is added to n to correct the camera shake of the frame image F (n + 1), and step S100 is performed.
Return to. In this way, correction of camera shake of the frame image F (n) proceeds in time-series order, one frame at a time.

このように実施例1の手ぶれ補正装置100では、最も強い相関値D(X1,Y1)と
2番目の強い相関値D(X2,Y2)の差が少ないときは、誤差がより少ない一つ前のフ
レームの動きベクトルV(n−1)を用いて手ぶれを補正することで、精度の高い手ぶれ
の補正ができる。また、最も強い相関値D(X1,Y1)の値が小さく動きベクトルV(
n)の誤差が多くなる可能性が高い場合は、動きベクトルV(n)を用いた手ぶれの補正
を休止し、動きベクトルV(n)の誤差による手ぶれの補正のミスを防止することができ
る。
As described above, in the camera shake correction apparatus 100 according to the first embodiment, when the difference between the strongest correlation value D (X1, Y1) and the second strongest correlation value D (X2, Y2) is small, the previous error is smaller. The camera shake can be corrected with high accuracy by correcting the camera shake using the motion vector V (n−1) of the frame. In addition, the strongest correlation value D (X1, Y1) is small and the motion vector V (
When there is a high possibility that the error in n) is likely to increase, the camera shake correction using the motion vector V (n) is suspended, and a camera shake correction error due to the error in the motion vector V (n) can be prevented. .

以下、実施例1における手ぶれ補正装置に関する変形例を記載する。
(変形例1)
CPU,ROM,RAMを搭載したプロジェクタなどの動画像表示装置に手ぶれ補正装
置を備えても良い。動画像表示装置のROMに実施例1の手ぶれ補正プログラムを格納し
、動画像表示装置のCPUで手ぶれ補正プログラムを実行させることにより、動画像表示
装置を手ぶれ補正装置として機能させる。こうすれば、動画像を精度良く手ぶれの補正を
して表示することができる。
Hereinafter, modified examples related to the camera shake correction apparatus according to the first embodiment will be described.
(Modification 1)
A camera shake correction device may be provided in a moving image display device such as a projector equipped with a CPU, ROM, and RAM. The camera shake correction program according to the first embodiment is stored in the ROM of the moving image display apparatus, and the CPU of the moving image display apparatus executes the camera shake correction program, thereby causing the moving image display apparatus to function as a camera shake correction apparatus. In this way, it is possible to display a moving image with camera shake correction with high accuracy.

手ぶれ補正装置の構成概略を説明する説明図。Explanatory drawing explaining the structure outline of a camera-shake correction apparatus. 手ぶれ補正装置の処理手順を説明するフローチャート図。The flowchart figure explaining the process sequence of a camera shake correction apparatus. 相関値の算出方法を説明するための説明図。Explanatory drawing for demonstrating the calculation method of a correlation value. フレーム画像F(n)及び動きベクトルV(n)を説明するための説明図。Explanatory drawing for demonstrating frame image F (n) and motion vector V (n). 画像補正手段による手ぶれの補正を説明するための説明図。Explanatory drawing for demonstrating the correction of camera shake by an image correction means.

符号の説明Explanation of symbols

90…動きベクトル検出装置、100…手ぶれ補正装置、110…フレーム画像取得手
段、120…相関値算出手段、130…動きベクトル算出手段、140…画像補正手段、
200…入力機器、210…出力機器、F(n)…フレーム画像、FK(n)…フレーム
画像、V(n)…動きベクトル、S(n)…補正位置ベクトル、HFG(n)…補正フレ
ーム画像。
DESCRIPTION OF SYMBOLS 90 ... Motion vector detection apparatus, 100 ... Camera shake correction apparatus, 110 ... Frame image acquisition means, 120 ... Correlation value calculation means, 130 ... Motion vector calculation means, 140 ... Image correction means,
200 ... input device 210 ... output device F (n) frame image FK (n) frame image V (n) motion vector S (n) correction position vector HFG (n) correction frame image.

Claims (7)

動画像から時系列順に前後する2つのフレーム画像である参照フレーム画像と探索フレ
ーム画像を取得するフレーム画像取得手段と、
前記参照フレーム画像と前記探索フレーム画像の画像間の相関値を算出する相関値算出
手段と、
前記相関値に基づいて、前記参照フレーム画像を基準とする前記探索フレーム画像の画
像全体の動きを示す動きベクトルを算出する動きベクトル算出手段と、を備え、
前記動きベクトル算出手段は、前記相関値算出手段が算出した前記相関値のうち最も相
関が強い前記相関値と2番目に相関が強い前記相関値との差の絶対値が所定の閾値Aより
も小さい場合に、時系列順で一つ前の前記フレーム画像の前記動きベクトルを前記探索フ
レーム画像の前記動きベクトルとし、前記相関値のうち最も相関が強い前記相関値が相関
の強さを示す所定の閾値Bよりも相関が弱い場合に、前記探索フレーム画像の動きベクト
ルを算出しないことを特徴とする動きベクトル検出装置。
Frame image acquisition means for acquiring a reference frame image and a search frame image, which are two frame images moving back and forth in chronological order from a moving image;
Correlation value calculating means for calculating a correlation value between the reference frame image and the search frame image;
A motion vector calculating means for calculating a motion vector indicating a motion of the entire image of the search frame image based on the reference frame image based on the correlation value;
The motion vector calculating means has an absolute value of a difference between the correlation value having the strongest correlation and the correlation value having the second highest correlation among the correlation values calculated by the correlation value calculating means being greater than a predetermined threshold A. If the correlation value is small, the motion vector of the previous frame image in time series order is the motion vector of the search frame image, and the correlation value having the strongest correlation among the correlation values indicates a correlation strength A motion vector detection device that does not calculate a motion vector of the search frame image when the correlation is weaker than a threshold value B of the search frame image.
請求項1に記載の動きベクトル検出装置であって、
前記相関値算出手段は、前記参照フレーム画像と前記探索フレーム画像の相対位置を所
定の範囲内で変え、各位置において、所定の画素ブロックの画素データの輝度値の差の平
均値である差分平均値を前記相関値とすることを特徴とする動きベクトル検出装置。
The motion vector detection device according to claim 1,
The correlation value calculating unit changes a relative position between the reference frame image and the search frame image within a predetermined range, and a difference average that is an average value of differences in luminance values of pixel data of a predetermined pixel block at each position A motion vector detection apparatus characterized in that a value is the correlation value.
動画像から時系列順に前後する2つのフレーム画像である参照フレーム画像と探索フレ
ーム画像を取得するフレーム画像取得工程と、
前記参照フレーム画像と前記探索フレーム画像の画像間の相関値を算出する相関値算出
工程と、
前記相関値に基づいて、前記参照フレーム画像を基準とする前記探索フレーム画像の画
像全体の動きを示す動きベクトルを算出する動きベクトル算出工程と、を備え、
前記動きベクトル算出工程は、前記相関値算出工程が算出した前記相関値のうち最も相
関が強い前記相関値と2番目に相関が強い前記相関値との差の絶対値が所定の閾値Aより
小さい場合に、時系列順で一つ前の前記フレーム画像の前記動きベクトルを前記探索フレ
ーム画像の前記動きベクトルとし、前記相関値のうち最も相関が強い前記相関値が相関の
強さを示す所定の閾値Bよりも相関が弱い場合に、前記探索フレーム画像の動きベクトル
を算出しないことを特徴とする動きベクトル検出方法。
A frame image acquisition step of acquiring a reference frame image and a search frame image, which are two frame images moving back and forth in chronological order from a moving image;
A correlation value calculating step of calculating a correlation value between the reference frame image and the search frame image;
A motion vector calculating step of calculating a motion vector indicating a motion of the entire image of the search frame image based on the reference frame image based on the correlation value;
In the motion vector calculation step, an absolute value of a difference between the correlation value having the strongest correlation and the correlation value having the second highest correlation among the correlation values calculated by the correlation value calculation step is smaller than a predetermined threshold A. In this case, the motion vector of the previous frame image in time series order is the motion vector of the search frame image, and the correlation value having the strongest correlation among the correlation values indicates a predetermined correlation strength. A motion vector detection method characterized by not calculating a motion vector of the search frame image when the correlation is weaker than a threshold value B.
請求項1に記載の動きベクトル検出装置と、
前記動きベクトルに基づいて、前記探索フレーム画像の手ぶれを補正する手ぶれ補正手
段と、を備え、
前記手ぶれ補正手段は、前記動きベクトル算出手段が前記動きベクトルを算出しない場
合は、前記手ぶれの補正を行わないことを特徴とする手ぶれ補正装置。
The motion vector detection device according to claim 1;
A camera shake correction unit that corrects camera shake of the search frame image based on the motion vector;
The camera shake correction device according to claim 1, wherein the camera shake correction unit does not correct the camera shake when the motion vector calculation unit does not calculate the motion vector.
請求項3に記載の動きベクトル検出方法と、
前記動きベクトルに基づいて、前記探索フレーム画像の手ぶれを補正する手ぶれ補正工
程と、を備え、
前記手ぶれ補正工程は、前記動きベクトル算出工程が前記動きベクトルを算出しない場
合は、前記手ぶれの補正を行わないことを特徴とする手ぶれ補正方法。
The motion vector detection method according to claim 3,
A camera shake correction step of correcting camera shake of the search frame image based on the motion vector,
The camera shake correction method is characterized in that the camera shake correction is not performed when the motion vector calculation step does not calculate the motion vector.
請求項5に記載の手ぶれ補正方法をコンピュータに実行させることを特徴とする手ぶれ
補正プログラム。
6. A camera shake correction program that causes a computer to execute the camera shake correction method according to claim 5.
請求項4に記載の手ぶれ補正装置を備えた動画像表示装置。
A moving image display apparatus comprising the camera shake correction apparatus according to claim 4.
JP2006101666A 2006-04-03 2006-04-03 Motion vector detection apparatus, motion vector detection method, camera shake correction apparatus, camera shake correction method, camera shake correction program, and moving image display apparatus including camera shake correction apparatus Withdrawn JP2007279800A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006101666A JP2007279800A (en) 2006-04-03 2006-04-03 Motion vector detection apparatus, motion vector detection method, camera shake correction apparatus, camera shake correction method, camera shake correction program, and moving image display apparatus including camera shake correction apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006101666A JP2007279800A (en) 2006-04-03 2006-04-03 Motion vector detection apparatus, motion vector detection method, camera shake correction apparatus, camera shake correction method, camera shake correction program, and moving image display apparatus including camera shake correction apparatus

Publications (1)

Publication Number Publication Date
JP2007279800A true JP2007279800A (en) 2007-10-25

Family

ID=38681214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006101666A Withdrawn JP2007279800A (en) 2006-04-03 2006-04-03 Motion vector detection apparatus, motion vector detection method, camera shake correction apparatus, camera shake correction method, camera shake correction program, and moving image display apparatus including camera shake correction apparatus

Country Status (1)

Country Link
JP (1) JP2007279800A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011118057A (en) * 2009-12-01 2011-06-16 Canon Inc Image forming device, image forming method and program
CN101866602B (en) * 2009-04-16 2013-03-27 联发科技股份有限公司 Display control device for flat panel display and flat panel display device
KR101384437B1 (en) * 2008-07-16 2014-04-14 소니 일렉트로닉스 인코포레이티드 Speculative start point selection for motion estimation iterative search
WO2017208718A1 (en) * 2016-06-02 2017-12-07 ソニー株式会社 Display control device, display control method, display device, and mobile object device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02157980A (en) * 1988-12-09 1990-06-18 Matsushita Electric Ind Co Ltd Moving vector detector and oscillation correcting device for picture
JPH06284329A (en) * 1992-02-03 1994-10-07 Sanyo Electric Co Ltd Moving vector detecting circuit
JPH0738800A (en) * 1993-06-28 1995-02-07 Sanyo Electric Co Ltd Video camera having camera shake correcting device
JP2000078450A (en) * 1998-09-02 2000-03-14 Canon Inc Image pickup device, reproducing device and image pickup recording and reproducing device
JP2000222587A (en) * 1999-01-27 2000-08-11 Matsushita Electric Ind Co Ltd Motion estimation using orthogonal transformation/ domain block matching
JP2003078807A (en) * 2001-08-31 2003-03-14 Sony Corp Device and method for detecting motion vector, device and method for correcting camera shake and imaging apparatus
JP2005260481A (en) * 2004-03-10 2005-09-22 Olympus Corp Device and method for detecting motion vector and camera

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02157980A (en) * 1988-12-09 1990-06-18 Matsushita Electric Ind Co Ltd Moving vector detector and oscillation correcting device for picture
JPH06284329A (en) * 1992-02-03 1994-10-07 Sanyo Electric Co Ltd Moving vector detecting circuit
JPH0738800A (en) * 1993-06-28 1995-02-07 Sanyo Electric Co Ltd Video camera having camera shake correcting device
JP2000078450A (en) * 1998-09-02 2000-03-14 Canon Inc Image pickup device, reproducing device and image pickup recording and reproducing device
JP2000222587A (en) * 1999-01-27 2000-08-11 Matsushita Electric Ind Co Ltd Motion estimation using orthogonal transformation/ domain block matching
JP2003078807A (en) * 2001-08-31 2003-03-14 Sony Corp Device and method for detecting motion vector, device and method for correcting camera shake and imaging apparatus
JP2005260481A (en) * 2004-03-10 2005-09-22 Olympus Corp Device and method for detecting motion vector and camera

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101384437B1 (en) * 2008-07-16 2014-04-14 소니 일렉트로닉스 인코포레이티드 Speculative start point selection for motion estimation iterative search
KR101448440B1 (en) 2008-07-16 2014-10-13 소니 주식회사 Speculative start point selection for motion estimation iterative search
CN101866602B (en) * 2009-04-16 2013-03-27 联发科技股份有限公司 Display control device for flat panel display and flat panel display device
JP2011118057A (en) * 2009-12-01 2011-06-16 Canon Inc Image forming device, image forming method and program
WO2017208718A1 (en) * 2016-06-02 2017-12-07 ソニー株式会社 Display control device, display control method, display device, and mobile object device
US10757380B2 (en) 2016-06-02 2020-08-25 Sony Corporation Display control device, display control method, display device, and mobile device to control display of media content in a mobile object

Similar Documents

Publication Publication Date Title
US8045825B2 (en) Image processing apparatus and method for composition of real space images and virtual space images
US20080180535A1 (en) Motion Vector Calculation Method and Hand-Movement Correction Device, Imaging Device and Moving Picture Generation Device
CN111738955B (en) Projection image distortion correction method, device and computer readable storage medium
KR102141290B1 (en) Image processing apparatus, image processing method, image processing program and storage medium
US8059899B2 (en) Image processing apparatus, image processing method, and computer product
JP6570296B2 (en) Image processing apparatus, image processing method, and program
JP2007226643A (en) Image processor
US20130336597A1 (en) Image stabilization apparatus, image stabilization method, and document
JP2008217526A (en) Image processor, image processing program, and image processing method
CN109543534B (en) Method and device for re-detecting lost target in target tracking
US10586099B2 (en) Information processing apparatus for tracking processing
JP2007279800A (en) Motion vector detection apparatus, motion vector detection method, camera shake correction apparatus, camera shake correction method, camera shake correction program, and moving image display apparatus including camera shake correction apparatus
JP5751254B2 (en) Image processing system, image processing method, and image processing program
JP4872508B2 (en) Image processing apparatus, image processing method, and program
JP6282133B2 (en) Imaging device, control method thereof, and control program
US7522189B2 (en) Automatic stabilization control apparatus, automatic stabilization control method, and computer readable recording medium having automatic stabilization control program recorded thereon
JP5820716B2 (en) Image processing apparatus, image processing method, computer program, recording medium, and stereoscopic image display apparatus
JP6704726B2 (en) Edge detection device, edge detection method, and program
JP2016201037A (en) Image processing device, image processing method, and program
JP4482933B2 (en) Motion vector detection device, image display device, image imaging device, motion vector detection method, program, and recording medium
JP2012068842A (en) Motion vector detection apparatus, motion vector detection method, and, motion vector detection program
CN115511919B (en) Video processing method, image detection method and device
JP3969151B2 (en) Image display apparatus, image processing method, program, and information storage medium
US20240282089A1 (en) Learning apparatus, inference apparatus, learning method, inference method, non-transitory computer-readable storage medium
CN110299123B (en) Adaptive resolution display method for audio processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090402

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110301

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20110428