JP2004229084A - Blurring correcting instrument, method therefor and imaging apparatus - Google Patents

Blurring correcting instrument, method therefor and imaging apparatus Download PDF

Info

Publication number
JP2004229084A
JP2004229084A JP2003016251A JP2003016251A JP2004229084A JP 2004229084 A JP2004229084 A JP 2004229084A JP 2003016251 A JP2003016251 A JP 2003016251A JP 2003016251 A JP2003016251 A JP 2003016251A JP 2004229084 A JP2004229084 A JP 2004229084A
Authority
JP
Japan
Prior art keywords
frame
motion vector
image
pressed
recording button
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003016251A
Other languages
Japanese (ja)
Other versions
JP2004229084A5 (en
Inventor
Hirobumi Nomura
博文 野村
Masamitsu Nakamura
真備 中村
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 JP2003016251A priority Critical patent/JP2004229084A/en
Publication of JP2004229084A publication Critical patent/JP2004229084A/en
Publication of JP2004229084A5 publication Critical patent/JP2004229084A5/ja
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an imaging apparatus which has a function to set parameters, such as brightness, white balance, focus distance, or the like, when a recording button is half-pressed, and to form an image when the button is deeply pressed, and also has a blurring correcting function to reproduce the parameters set in a half-pressed state precisely. <P>SOLUTION: The imaging apparatus comprises first and second frame memories in which images are stored, a gain controller connected to the output side of either of the first and second frame memories, a gain control means for controlling brightness levels of respective frame memory images to make them identical, and a controller which extracts partial picture elements out of the first and second frame memory images whose brightness levels are equalized by the gain control means. The apparatus further includes a motion vector detecting means for detecting motion vectors in respective extracted partial picture elements, and a corrective control means for calculating a correction quantity in response to the movement quantity of the motion vector given by the motion vector detecting means and correcting a formed image. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、手振れ補正装置、手振れ補正方法及び撮像装置に関するものであり、詳しくは半押しと深押しとの機能を有する記録ボタンを備えた撮像装置において、深押ししたときの手振れを防止する手振れ補正装置、手振れ補正方法及び撮像装置に関する。
【0002】
【従来の技術】
従来のデジタルカメラである撮像装置の記録ボタン(シャッターリリースボタンともいう)には2つのストローク状態が存在している。
一つ目は半押し状態で、明るさやホワイトバランスや焦点距離などのパラメータを決定するのみで、記録媒体に記録することは行われない。2つ目は、深押し状態で決定されたパラメータを維持した状態で、撮像した画像を記録媒体に記録することを行う。
【0003】
【特許文献1】
特開2002−131799号公報 (第5頁 第3図)
【0004】
【発明が解決しようとする課題】
しかしながら、従来技術で説明した撮像装置において、記録ボタンを半押しから深押し状態へ遷移する途中で、手振れなどにより撮影者の所望の画枠に対してずれる場合がある。そのため、明るさやホワイトバランスや焦点距離は撮影者の期待通りに処理できても、実際に撮影したときの記録データは異なった、所謂、画揺を生じることになる。そのため、画揺れに対しては三脚などの固定装置を用いなければ期待通りに撮影できないという問題がある。
【0005】
従って、半押しと深押しの機能を備えた記録ボタンを有する撮像装置において、深押ししたときに画揺れが生じないようにして記録できる手振れ補正装置、手振れ補正方法及び撮像装置に解決しなければならない課題を有する。
【0006】
【課題を解決するための手段】
上記課題を達成するために、本発明に係る手振れ補正装置、手振れ補正方法及び撮像装置は、次に示す構成にすることである。
【0007】
(1)手振れ補正装置は、第1及び第2フレームメモリと該第1及び第2フレームメモリを制御するメモリコントローラとを有し、前記第1フレームメモリと第2フレームメモリに対して異なる時刻でフレーム画像を書き込むメモリ制御手段と、前記第1及び第2フレームメモリの何れかの出力側にゲインコントローラを有し、前記第1及び第2フレームメモリに蓄積されている夫々のフレーム画像の輝度レベルが等しくなるように制御するゲイン制御手段と、前記ゲイン制御手段により輝度レベルを等しくした前記第1及び第2フレームメモリに蓄積されている夫々のフレーム画像の一部分の画素を抽出するコントローラを有し、抽出した夫々の一部分の画素から動きベクトルを検出する動きベクトル検出手段と、前記動きベクトル検出手段により得られた動きベクトルの移動量に応じて補正量を算出して、前記記録ボタンが深押し状態のときに得られる撮像画像を補正する補正制御手段と、を備えたことである。
(2)前記メモリ制御手段は、記録ボタンが半押し状態のときの少なくとも、明るさ、ホワイトバランス、焦点距離を設定するときに、前記第1フレームメモリにフレーム画像を書き込み、記録ボタンが深押し状態のときに前記第2フレームメモリにフレーム画像を書き込むことを特徴とする(1)に記載の手振れ補正装置。
(3)動きベクトル検出手段は、代表点マッチング手法により動きベクトルを検出することを特徴とする(1)に記載の手振れ補正装置。
【0008】
(4)手振れ補正方法は、記録ボタンが半押し状態のときのフレーム画像を第1フレームメモリに蓄積して画像の明るさを設定し、記録ボタンが深押し状態のときのフレーム画像を第2フレームメモリに蓄積して画像の明るさを設定し、前記第1及び第2フレームメモリに蓄積されている夫々のフレーム画像の輝度レベルを等しくすると共に、前記第1フレームメモリに蓄積されているフレーム画像の一部分の画素と前記第2フレームメモリに蓄積されているフレーム画像の一部分の画素と比較して動きベクトルを検出し、前記動きベクトルで検出した情報を基に、前記記録ボタンが深押し状態のときに得られる撮像画像を補正することである。
【0009】
(5)撮像装置は、記録ボタンが半押し状態のときに、少なくとも、明るさ、ホワイトバランス、焦点距離のパラメータを設定し、記録ボタンが深押し状態のときに撮像するように機能する撮像装置であって、記録ボタンが半押し状態のときのフレーム画像を第1フレームメモリに蓄積して画像の明るさを設定し、記録ボタンが深押し状態のときのフレーム画像を第2フレームメモリに蓄積して画像の明るさを設定するメモリ制御手段と、前記第1及び第2フレームメモリの何れかの出力側にゲインコントローラを有し、前記第1及び第2フレームメモリに蓄積されている夫々のフレーム画像の輝度レベルが等しくなるように制御するゲイン制御手段と、前記ゲイン制御手段により輝度レベルを等しくした前記第1及び第2フレームメモリに蓄積されている夫々のフレーム画像の一部分の画素を抽出するコントローラを有し、抽出した夫々の一部分の画素から動きベクトルを検出する動きベクトル検出手段と、前記動きベクトル検出手段により得られた動きベクトルの移動量に応じて補正量を算出して、前記記録ボタンが深押し状態のときに得られる撮像画像を補正する補正制御手段と、を備えたことである。
(6)前記動きベクトル検出手段は、代表点マッチング手法により動きベクトルを検出することを特徴とする(5)に記載の撮像装置。
【0010】
このように、時刻が異なる時期、即ち、記録ボタンが半押し状態のときのフレーム画像を第1フレームメモリに蓄積し、記録ボタンが深押し状態のときのフレーム画像を第2フレームメモリに蓄積するようにし、深押し状態に遷移したときに、第1及び第2フレームメモリに蓄積されているフレーム画像の輝度レベルが等しくなるようにゲイン制御を行うと共に、夫々のフレーム画像の一部分の画素を比較することで、半押しから深押し状態に遷移する際のフレーム画像の動きベクトルを検出し、この動きベクトルに基づいて、深押し状態のときに得られた撮像画像を補正することで、半押し状態で設定された様々なパラメータに充実に基づいた撮像画像を得ることが可能になる。
【0011】
【発明の実施の形態】
次に、本願発明に係る手振れ補正装置、手振れ補正方法及び撮像装置の実施形態について、図面を参照して、以下説明する。
【0012】
本願発明の手振れ補正装置、手振れ補正方法を具現化できる撮像装置は、図1に示すように、被写体を撮像する撮像デバイス11と、撮像デバイス11で得られた撮像信号であるアナログ信号をデジタル信号に変換するA/D変換器12と、A/D変換器12で得られたデジタル信号を輝度検出器15から得た情報を基にマイコン20にて最適な明るさになるようなゲインを算出し、このゲインにより調整を行う第1ゲインコントローラ13と、輝度調整されたデジタル信号をマイコン20からの制御により第1フレームメモリ18の書き込みと第2フレームメモリ19の読み書きを制御するメモリコントローラ14と、マイコン20の制御により撮像デバイス11を駆動させるタイミングジェネレータ(TG)17と、記録ボタン23の半押し時のフレーム画像を蓄積する第1フレームメモリ18と、記録ボタン23の深押し時のフレーム画像を蓄積する第2フレームメモリ19と、第2フレームメモリ19に蓄積されているフレーム画像に基づいて動きベクトルを検出する際に比較画像の輝度レベルが同じになるように調整する第2ゲインコントローラ21と、第1フレームメモリ18と第2フレームメモリ19との2つのフレーム画像から動きベクトルを検出し、マイコン20に検出情報を出力する動きベクトル検出部22と、メモリコントローラ14から出力される画像の輝度情報をマイコン20に出力する輝度検出器15と、動きベクトル検出部22で得られた動きベクトルを基にマイコン20が算出した補正情報により補正を行う補正器16と、撮像した映像データを補正器16で補正した補正画像を記録する記録媒体24とから大略構成されている。
【0013】
動きベクトル検出部22は、図2に示すように、第1フレームメモリ18(図1参照)の画像を入力する第1入力部25と、第2フレームメモリ19(図1参照)の画像を入力する第2入力部26と、第1入力部25で入力した画像データに対して動きベクトルを検出するのに不要な周波数成分を除去するための第1フィルタ処理回路部31と、第2入力部26で入力した画像データに対して動きベクトルを検出するのに不要な周波数成分を除去するための第2フィルタ処理回路部33と、第1フィルタ処理回路部31で処理された第1フレームメモリ18の画像から代表点を抽出し、その輝度レベルを記憶する処理をする代表点抽出回路部32と、代表点抽出回路部32で抽出した第1フレームメモリ18(図1参照)の画像の代表点の輝度レベルと第2フィルタ処理回路部33で得られた第2フレームメモリ19(図1参照)の画像のサーチ範囲における画素の輝度レベルとの差を絶対値化する絶対値変換回路部34と、絶対値変換回路部34で求めた各サーチ範囲で求めた残差の絶対値を、図5に示すように、各座標毎に累積加算する累積加算回路部35と、累積加算回路部35で累積された結果に基づき、図6に示すように、最も相関が高い点を検索して動きベクトルとして発生させる動きベクトル発生回路部36とから構成されている。
【0014】
このような構成からなる撮像装置において、マイコン20により制御されているタイミングジェネレータ(TG)により撮像デバイス11が駆動される。この撮像デバイス11から出力されるアナログ信号は、A/D変換器12によりアナログ信号からデジタル信号に変換される。このデジタル信号は輝度検出器15から得た情報を基にマイコン20にて最適な明るさになるようなゲインを算出し、第1ゲインコントローラ13において調整を行う。
メモリコントローラ14はマイコン20により制御され、第1フレームメモリ18の書き込みと第2フレームメモリ19の読み書きを行う。
輝度検出器15では、メモリコントローラ14から出力された画像の輝度情報をマイコン20に出力する。補正器16では動きベクトル検出部22で得られた動きベクトルを基にマイコン20が算出した補正情報により補正を行う。
第1フレームメモリ18は、記録ボタン23が半押し時の画像を蓄積する。第2フレームメモリ19は、記録ボタン23が深押し時の画像を蓄積する。第2ゲインコントローラ21は動きベクトルを検出する際に、比較画像の輝度レベルが同じになるように調整するためのものであり、半押しと深押し状態における画像の輝度情報を基に、マイコン20により制御される。動きベクトル検出部22は、第1及び第2フレームメモリ18、19の夫々のフレーム画像から抽出した画素を比較して動きベクトルを検出し、マイコン20にその検出情報を出力する。
【0015】
さて、上記構成からなる動きベクトル検出部22は、代表点マッチング法を用いて手振れ補正をするもので、この代表点マッチング法は、過去と現在の2つの異なる時刻における画像から動きベクトルを検出する場合、過去の画像のある1画素(代表点)の輝度レベルが現在の画像のどの座標の画素に最も近いかを検出する手法である。
【0016】
図3は、代表点マッチング法による動きベクトルの検出方法を示したものであり、代表点抽出回路部32で処理する。
番号6は第mフレーム(第1フレームメモリ18に蓄積されているフレーム画像)を示し、番号7は第nフレーム(第2フレームメモリ19に蓄積されているフレーム画像)を示す。ここでm<nである必要がある。番号3は1つの画素を示している。番号1はサーチ範囲であり、この範囲内において動きベクトルの検出を行う。番号2は第mフレームで設定された代表点を示し、番号5は第nフレームでサーチ範囲内の各画素の輝度レベルと第mフレームの代表点2の輝度レベルと比較し、サーチ範囲内の画素の中で代表点2の輝度レベルに最も近い画素である。この第mフレームの代表点2と画素5の位置関係から動きベクトル4を検出する。
【0017】
図4は、検出領域1と、1つの検出領域1に含まれる複数のサーチ範囲2を示すものである。番号1はサーチ範囲の集合体を示し、複数のサーチ範囲より1つの動きベクトルの検出を行う。番号2は1つのサーチ範囲を示し、1つの代表点3と比較用の画素を持つ。
【0018】
図5は、第2フレームメモリ19(図1参照)のフレーム画像のサーチ範囲における画素の輝度レベルとの差を絶対値化する絶対値変換回路部34で求めた各サーチ範囲の残差の絶対値を、各座標毎に累積加算する累積加算回路部35の動作を説明したものであり、各サーチ範囲における残差の絶対値とその積分について示したものである。
番号1は1つのサーチ範囲における第mフレームにおける代表点と第nフレームにおける各画素との差分の絶対値を示すものである。このサーチ範囲における代表点は、サーチ範囲が配置された座標毎に異なっている。
番号2は各サーチ範囲における残差の絶対値化されたデータを、サーチ範囲の同一座標毎に積分したものを示す。これは、複数のサーチ範囲を持たせることで検出精度を向上させるためである。
【0019】
図6は、動きベクトル発生回路部36の動作を説明したもので、上記した図5に示す累積加算回路部35で累積された結果に基づき、最も相関が高い点を検索して動きベクトルとして発生させる様子を示したものである。
即ち、偏移と残差の絶対値の関係を示したものであり、最も相関が高い(残差の絶対値がもっとも小さい)点aと代表点の位置から動きベクトルを検出する。
【0020】
次に、上記説明した構成からなる撮像装置における記録ボタンが押されたときの制御フローについて、図1及び図2に示すブロック図を参照して、図7及び図8に示すフローチャートに基づいて以下説明する。
【0021】
先ず、この制御フローは毎フレーム呼出され、記録ボタン23が押されているかを判別する。押されている場合は、半押し又は深押しの状態を判別する処理に移り、押されていない場合には通常の処理を行う(ステップST11、ST12、ST13、ST14、ST15)。
【0022】
ステップST12において、記録ボタン23が半押し状態のときは、図8(A)に示すように、半押し状態時のフレーム画像を第1フレームメモリ18に書き込む(ステップST31)。
そして、この第1フレームメモリ18に書き込まれたフレーム画像は後の動きベクトル検出における比較用画像として扱われる。
次に、メモリコントローラ14から第1フレームメモリ18に書き込まれたものと同一のフレーム画像が輝度検出器13に入力され、ここでの検出値を変数brightAに設定する(ステップST32)。
【0023】
図7に示すステップST12において、記録ボタン23が半押し状態ではなく、深押し状態のときには、深押し処理が行われる(ステップST14)。
【0024】
深押し処理は、図8(B)に示すように、先ず、深押し状態時のフレーム画像を第2フレームメモリ19に書き込む(ステップST21)。ここに書き込まれたフレーム画像は後の補正用画像として扱われる。次に、メモリコントローラ14から第2フレームメモリ19に書き込まれたものと同一のフレーム画像が輝度検出器15に入力されるが、ここでの検出チェックを変数brightBに設定する(ステップST22)。
次に、第2フレームメモリ19の画像の輝度レベルが第1フレームメモリ18の画像の輝度レベルと同一になるようなゲインを求める(ステップST23)。
gain=brightB/brightA
次に、上記で求めた変数gainを第2ゲインコントローラ21に設定する(ステップST24)。この処理は、代表点マッチングでは輝度レベルの比較を行うための両画像のレベルを等しくするために必要なものである。
次に、第2ゲインコントローラ21と第2フレームメモリ19より出力されたフレーム画像より、動きベクトル検出部22において検出した情報を基にマイコン20にて補正量を算出する(ステップST25)。
次に、第2フレームメモリ19のフレーム画像をメモリコントローラ14より読出しを行い、マイコン20にて算出した補正情報を基に補正器16にて補正(部分抽出)を行う(ステップST26)。
【0025】
図9は、第1及び第2フレームメモリ18,19に書き込むタイミングと記録媒体24に書き込むタイミングを経時的に示したものであり、時刻5で記録ボタン23が半押し状態に変化すると、撮像デバイス11のフレーム画像は第1フレームメモリ18に書き込まれる。又、半押し状態では明るさやホワイトバランスや焦点距離などのパラメータを決定する処理が同時に行われる。
時刻15で記録ボタン23が深押し状態に変化すると、撮像デバイス11のフレーム画像は第2フレームメモリ19に書き込まれる。時刻16では第1フレームメモリ18から読み出されたフレーム画像は第2ゲインコントローラ21で調整された後、動きベクトル検出部22に入力される。同時に第2フレームメモリ19から読み出されたフレーム画像は動きベクトル検出部22に入力される。時刻17では、第2フレームメモリ19から読み出されたフレーム画像は補正器16に入力される。
そして、時刻16で検出された動きベクトル情報を基にマイコン20が補正器16で入力画像に対して補正を行い、補正画像を記録媒体24に対して記録を行う。
【0026】
【発明の効果】
上記説明したように、本発明に係る手振れ補正装置、手振れ補正方法及び撮像装置は、記録ボタンが半押し状態のときのフレーム画像を第1フレームメモリに蓄積し、記録ボタンが深押し状態のときの画像を第2フレームメモリに蓄積するようにし、深押し状態に遷移したときに、第1フレームメモリに蓄積されているフレーム画像の輝度レベルが等しくなるようにゲイン制御を行い、次に、半押しから深押し状態に遷移する際のフレーム画像から動きベクトルを検出して深押し状態のときに得られた撮像画像を補正することで、深押し状態のときの画像の手振れを補正することができ、撮影者の期待通りの映像を得ることができるという効果がある。
【図面の簡単な説明】
【図1】本発明に係る手振れ補正機能を備えた撮像装置のブロック図である。
【図2】同、動きベクトル検出部のブロック図である。
【図3】同、代表点マッチング法による動きベクトルの検出方法を示した説明図である。
【図4】同、検出領域と、1つの検出領域に含まれる複数のサーチ範囲を示した説明図である。
【図5】同、各サーチ範囲における残差の絶対値とその積分について示した説明図である。
【図6】同、偏移と残差の絶対値の関係を示し、最も相関が高い点aと代表点の位置から動きベクトルを検出する様子を示した説明図である。
【図7】同、制御フローを示すフローチャートである。
【図8】同、半押しの状態と深押しの状態の処理を示すフローチャートである。
【図9】同、第1及び第2フレームメモリへの書き込みを示すタイミングチャートである。
【符号の説明】
11;撮像デバイス、12;A/D変換器、13;第1ゲインコントローラ、14;メモリコントローラ、15;輝度検出器、16;補正器、17;タイミングジェネレータ、18;第1フレームメモリ、19;第2フレームメモリ、20;マイコン、21;第2ゲインコントローラ、22;動きベクトル検出部、23;記録ボタン、24;記録媒体、25;第1入力部、26;第2入力部、31;第1フィルタ処理回路部、32;代表点抽出回路部、33;第2フィルタ処理回路部、34;絶対値変換回路部、35;累積加算回路部、36;動きベクトル発生回路部。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a camera shake correction apparatus, a camera shake correction method, and an image pickup apparatus. The present invention relates to a correction device, a camera shake correction method, and an imaging device.
[0002]
[Prior art]
A recording button (also referred to as a shutter release button) of an imaging device that is a conventional digital camera has two stroke states.
The first is a half-pressed state, in which only parameters such as brightness, white balance, and focal length are determined, and no recording is performed on a recording medium. Second, the captured image is recorded on the recording medium while the parameters determined in the deeply pressed state are maintained.
[0003]
[Patent Document 1]
JP-A-2002-131799 (page 5 FIG. 3)
[0004]
[Problems to be solved by the invention]
However, in the imaging apparatus described in the related art, there is a case where the recording button is shifted from a half-pressed state to a deeply-pressed state by a camera shake or the like due to camera shake or the like. For this reason, even if the brightness, white balance, and focal length can be processed as expected by the photographer, the recorded data when the image is actually photographed is different, so-called image shaking occurs. For this reason, there is a problem that the image cannot be shot as expected with respect to image shaking unless a fixing device such as a tripod is used.
[0005]
Therefore, in an image pickup apparatus having a recording button having half-press and deep-press functions, a camera-shake correction apparatus, a camera-shake correction method, and an image pickup apparatus that can perform recording without causing image shaking when deeply pressed must be solved. Have issues that must be met.
[0006]
[Means for Solving the Problems]
In order to achieve the above object, a camera shake correction apparatus, a camera shake correction method, and an imaging apparatus according to the present invention have the following configurations.
[0007]
(1) The image stabilization apparatus has first and second frame memories and a memory controller that controls the first and second frame memories, and the first and second frame memories are provided at different times. A memory controller for writing a frame image, and a gain controller on one of the output sides of the first and second frame memories, and a luminance level of each frame image stored in the first and second frame memories. And a controller for extracting pixels of a part of each of the frame images stored in the first and second frame memories whose luminance levels are made equal by the gain control means. Motion vector detecting means for detecting a motion vector from each of the extracted partial pixels; Calculates a correction amount in accordance with the moving amount of the obtained motion vector by a correction control means for correcting the captured image obtained when the record button is pressed deep state, is that with the.
(2) The memory control unit writes a frame image in the first frame memory when setting the brightness, white balance, and focal length at least when the recording button is half-pressed, and presses the recording button deeply. The image stabilizing apparatus according to (1), wherein a frame image is written in the second frame memory in the state.
(3) The camera shake correction apparatus according to (1), wherein the motion vector detecting means detects the motion vector by a representative point matching method.
[0008]
(4) In the camera shake correction method, the frame image when the recording button is half-pressed is stored in the first frame memory to set the brightness of the image, and the frame image when the recording button is fully pressed is stored in the second frame memory. The brightness of the image stored in the frame memory is set, the brightness levels of the respective frame images stored in the first and second frame memories are made equal, and the frame stored in the first frame memory is set. A motion vector is detected by comparing a pixel of a part of the image with a pixel of a part of the frame image stored in the second frame memory, and based on information detected by the motion vector, the recording button is pressed deeply. Is to correct the captured image obtained in the case of (1).
[0009]
(5) The imaging apparatus sets at least parameters of brightness, white balance, and focal length when the recording button is half-pressed, and functions to capture an image when the recording button is fully pressed. Storing the frame image when the recording button is half-pressed in the first frame memory and setting the brightness of the image, and storing the frame image when the recording button is fully pressed in the second frame memory A memory controller for setting the brightness of an image, and a gain controller on one of the output sides of the first and second frame memories, each of which is stored in the first and second frame memories. Gain control means for controlling the luminance levels of the frame images to be equal, and the first and second frame memories having the same luminance level by the gain control means. A motion vector detecting means for detecting a motion vector from each of the extracted partial pixels; and a motion vector detecting means for detecting a motion vector from each of the extracted partial pixels. And a correction control means for calculating a correction amount in accordance with the moving amount of the recording button and correcting a captured image obtained when the recording button is in a deeply pressed state.
(6) The imaging device according to (5), wherein the motion vector detection unit detects a motion vector by a representative point matching method.
[0010]
As described above, the frame images at different times, that is, when the recording button is half-pressed, are stored in the first frame memory, and the frame images when the recording button is deeply pressed are stored in the second frame memory. In such a manner, when the state is shifted to the deeply pressed state, the gain control is performed so that the luminance levels of the frame images stored in the first and second frame memories become equal, and the pixels of a part of each frame image are compared. By detecting the motion vector of the frame image when transitioning from the half-pressed state to the deeply-pressed state, based on this motion vector, correcting the captured image obtained in the fully-pressed state, the half-pressed state It is possible to obtain a captured image based on various parameters set in the state.
[0011]
BEST MODE FOR CARRYING OUT THE INVENTION
Next, embodiments of a camera shake correction apparatus, a camera shake correction method, and an imaging apparatus according to the present invention will be described below with reference to the drawings.
[0012]
As shown in FIG. 1, a camera shake correction apparatus and an image pickup apparatus capable of realizing a camera shake correction method according to the present invention include an image pickup device 11 for picking up an image of a subject, A / D converter 12 for converting the digital signal into a digital signal, and a microcomputer 20 calculates a gain to obtain an optimal brightness based on information obtained from the luminance detector 15 of the digital signal obtained by the A / D converter 12. A first gain controller 13 for adjusting the gain with the gain; a memory controller 14 for controlling writing and reading of the first frame memory 18 and reading and writing of the second frame memory 19 under the control of the microcomputer 20 with the luminance-adjusted digital signal. A timing generator (TG) 17 for driving the imaging device 11 under the control of the microcomputer 20, and a half of the recording button 23. A first frame memory 18 for storing a frame image at the time of recording, a second frame memory 19 for storing a frame image when the recording button 23 is deeply pressed, and a frame image stored in the second frame memory 19. A second gain controller 21 that adjusts the luminance level of the comparison image to be the same when detecting the motion vector, and detects the motion vector from two frame images of the first frame memory 18 and the second frame memory 19. A motion vector detecting unit 22 that outputs detection information to the microcomputer 20, a luminance detector 15 that outputs luminance information of an image output from the memory controller 14 to the microcomputer 20, and a motion vector obtained by the motion vector detecting unit 22. A corrector 16 for performing correction based on correction information calculated by the microcomputer 20 based on the It is largely constituted by a recording medium 24 for recording the corrected image corrected by righteous 16.
[0013]
As shown in FIG. 2, the motion vector detection unit 22 receives a first input unit 25 for inputting an image of the first frame memory 18 (see FIG. 1) and an image of the second frame memory 19 (see FIG. 1). A second input unit 26, a first filter processing circuit unit 31 for removing a frequency component unnecessary for detecting a motion vector from the image data input by the first input unit 25, and a second input unit A second filter processing circuit 33 for removing frequency components unnecessary for detecting a motion vector from the image data input at 26, and a first frame memory 18 processed at the first filter processing circuit 31. And a representative point extracting circuit unit 32 for performing processing for extracting the representative points from the image and storing the luminance level, and representative points of the image of the first frame memory 18 (see FIG. 1) extracted by the representative point extracting circuit unit 32. Shine An absolute value conversion circuit section 34 for converting a difference between the level and a luminance level of a pixel in a search range of an image of the second frame memory 19 (see FIG. 1) obtained by the second filter processing circuit section 33 into an absolute value; As shown in FIG. 5, the absolute value of the residual obtained in each search range obtained by the value conversion circuit unit 34 is cumulatively added by the cumulative addition circuit unit 35 and the cumulative addition circuit unit 35 for each coordinate. Based on the result, as shown in FIG. 6, a motion vector generating circuit 36 for searching for a point having the highest correlation and generating a motion vector is provided.
[0014]
In the imaging apparatus having such a configuration, the imaging device 11 is driven by a timing generator (TG) controlled by the microcomputer 20. The analog signal output from the imaging device 11 is converted from an analog signal to a digital signal by the A / D converter 12. The digital signal is calculated by the microcomputer 20 based on information obtained from the luminance detector 15 so as to obtain an optimal brightness, and the first gain controller 13 adjusts the gain.
The memory controller 14 is controlled by the microcomputer 20 and performs writing in the first frame memory 18 and reading and writing in the second frame memory 19.
The brightness detector 15 outputs the brightness information of the image output from the memory controller 14 to the microcomputer 20. The corrector 16 performs correction based on the correction information calculated by the microcomputer 20 based on the motion vector obtained by the motion vector detector 22.
The first frame memory 18 stores an image when the recording button 23 is half-pressed. The second frame memory 19 stores an image when the recording button 23 is pressed deeply. The second gain controller 21 is for adjusting the luminance level of the comparison image to be the same when detecting the motion vector. The second gain controller 21 controls the microcomputer 20 based on the luminance information of the image in the half-pressed state and the fully-pressed state. Is controlled by The motion vector detection unit 22 detects a motion vector by comparing pixels extracted from the respective frame images of the first and second frame memories 18 and 19, and outputs the detection information to the microcomputer 20.
[0015]
The motion vector detection unit 22 having the above-described configuration performs camera shake correction using a representative point matching method. The representative point matching method detects a motion vector from images at two different times, past and present. In this case, a method is used to detect which luminance level of a certain pixel (representative point) of the past image is closest to the pixel of which coordinate of the current image.
[0016]
FIG. 3 shows a method of detecting a motion vector by the representative point matching method.
Number 6 indicates the m-th frame (frame image stored in the first frame memory 18), and number 7 indicates the n-th frame (frame image stored in the second frame memory 19). Here, it is necessary that m <n. Number 3 indicates one pixel. Number 1 is a search range in which a motion vector is detected. Number 2 indicates the representative point set in the m-th frame. Number 5 compares the luminance level of each pixel in the search range in the n-th frame with the luminance level of the representative point 2 in the m-th frame. The pixel closest to the luminance level of the representative point 2 among the pixels. The motion vector 4 is detected from the positional relationship between the representative point 2 and the pixel 5 in the m-th frame.
[0017]
FIG. 4 shows a detection area 1 and a plurality of search ranges 2 included in one detection area 1. Number 1 indicates a set of search ranges, and one motion vector is detected from a plurality of search ranges. Number 2 indicates one search range and has one representative point 3 and a pixel for comparison.
[0018]
FIG. 5 shows the absolute value of the residual of each search range obtained by the absolute value conversion circuit unit 34 which converts the difference between the luminance level of the pixel and the brightness level of the pixel in the search range of the frame image in the second frame memory 19 (see FIG. 1). This is for explaining the operation of the cumulative addition circuit unit 35 for cumulatively adding the values for each coordinate, and shows the absolute value of the residual in each search range and its integration.
Number 1 indicates the absolute value of the difference between the representative point in the m-th frame in one search range and each pixel in the n-th frame. The representative point in this search range is different for each coordinate where the search range is arranged.
Numeral 2 indicates the data obtained by integrating the absolute value of the residual in each search range for each same coordinate in the search range. This is to improve the detection accuracy by providing a plurality of search ranges.
[0019]
FIG. 6 illustrates the operation of the motion vector generation circuit 36. Based on the result accumulated by the accumulation circuit 35 shown in FIG. 5, a point having the highest correlation is searched to generate a motion vector. FIG.
That is, the relationship between the shift and the absolute value of the residual is shown, and a motion vector is detected from the position of the point a having the highest correlation (the absolute value of the residual is the smallest) and the representative point.
[0020]
Next, a control flow when the recording button is pressed in the imaging apparatus having the above-described configuration will be described with reference to the block diagrams shown in FIGS. 1 and 2 and the flowcharts shown in FIGS. explain.
[0021]
First, this control flow is called every frame, and it is determined whether or not the recording button 23 is pressed. If the button is pressed, the process proceeds to a process of determining whether the button is half-pressed or deeply pressed. If not, a normal process is performed (steps ST11, ST12, ST13, ST14, ST15).
[0022]
If the recording button 23 is half-pressed in step ST12, the frame image in the half-pressed state is written to the first frame memory 18 as shown in FIG. 8A (step ST31).
Then, the frame image written in the first frame memory 18 is treated as a comparison image in the subsequent motion vector detection.
Next, the same frame image as that written in the first frame memory 18 is input from the memory controller 14 to the luminance detector 13, and the detected value is set as a variable brightA (step ST32).
[0023]
In step ST12 shown in FIG. 7, when the recording button 23 is not in the half-pressed state but in the deep-pressed state, a deep-pressing process is performed (step ST14).
[0024]
In the deep pressing process, as shown in FIG. 8B, first, the frame image in the deep pressing state is written in the second frame memory 19 (step ST21). The frame image written here is treated as a later correction image. Next, the same frame image as the one written in the second frame memory 19 is input from the memory controller 14 to the luminance detector 15, and the detection check here is set to a variable brightB (step ST22).
Next, a gain is determined so that the luminance level of the image in the second frame memory 19 becomes the same as the luminance level of the image in the first frame memory 18 (step ST23).
gain = brightB / brightA
Next, the variable gain determined above is set in the second gain controller 21 (step ST24). This processing is necessary for equalizing the levels of both images for comparing the luminance levels in the representative point matching.
Next, the microcomputer 20 calculates a correction amount from the frame image output from the second gain controller 21 and the second frame memory 19 based on the information detected by the motion vector detection unit 22 (step ST25).
Next, the frame image in the second frame memory 19 is read from the memory controller 14, and correction (partial extraction) is performed by the corrector 16 based on the correction information calculated by the microcomputer 20 (step ST26).
[0025]
FIG. 9 shows the timing of writing to the first and second frame memories 18 and 19 and the timing of writing to the recording medium 24 with time. When the recording button 23 changes to a half-pressed state at time 5, the imaging device The eleventh frame image is written to the first frame memory 18. In the half-pressed state, processing for determining parameters such as brightness, white balance, and focal length is simultaneously performed.
When the recording button 23 changes to a deeply pressed state at time 15, the frame image of the imaging device 11 is written to the second frame memory 19. At time 16, the frame image read from the first frame memory 18 is adjusted by the second gain controller 21 and then input to the motion vector detecting unit 22. At the same time, the frame image read from the second frame memory 19 is input to the motion vector detection unit 22. At time 17, the frame image read from the second frame memory 19 is input to the corrector 16.
Then, the microcomputer 20 corrects the input image by the corrector 16 based on the motion vector information detected at the time 16, and records the corrected image on the recording medium 24.
[0026]
【The invention's effect】
As described above, the camera shake correction apparatus, the camera shake correction method, and the imaging apparatus according to the present invention store the frame image when the recording button is half-pressed in the first frame memory and store the frame image when the recording button is deeply pressed. Are stored in the second frame memory, and when the display is shifted to the deeply pressed state, gain control is performed so that the luminance levels of the frame images stored in the first frame memory become equal. By detecting a motion vector from a frame image when transitioning from the pressed state to the fully pressed state and correcting the captured image obtained in the fully pressed state, it is possible to correct the image shake in the image in the fully pressed state. Thus, there is an effect that an image as expected by the photographer can be obtained.
[Brief description of the drawings]
FIG. 1 is a block diagram of an imaging apparatus having a camera shake correction function according to the present invention.
FIG. 2 is a block diagram of a motion vector detection unit.
FIG. 3 is an explanatory diagram showing a method for detecting a motion vector by a representative point matching method.
FIG. 4 is an explanatory diagram showing a detection region and a plurality of search ranges included in one detection region.
FIG. 5 is an explanatory diagram showing an absolute value of a residual in each search range and its integration.
FIG. 6 is an explanatory diagram showing the relationship between the shift and the absolute value of the residual, and showing how a motion vector is detected from the position of the point a having the highest correlation and the position of the representative point.
FIG. 7 is a flowchart showing a control flow.
FIG. 8 is a flowchart showing a half-pressed state and a deeply-pressed state.
FIG. 9 is a timing chart showing writing to the first and second frame memories.
[Explanation of symbols]
11; imaging device, 12; A / D converter, 13; first gain controller, 14; memory controller, 15; luminance detector, 16; corrector, 17; timing generator, 18; 2nd frame memory, 20; microcomputer, 21; second gain controller, 22; motion vector detection unit, 23; recording button, 24; recording medium, 25; first input unit, 26; second input unit, 31; 1 filter processing circuit section, 32; representative point extraction circuit section, 33; second filter processing circuit section, 34; absolute value conversion circuit section, 35; cumulative addition circuit section, 36; motion vector generation circuit section.

Claims (6)

第1及び第2フレームメモリと該第1及び第2フレームメモリを制御するメモリコントローラとを有し、前記第1フレームメモリと第2フレームメモリに対して異なる時刻でフレーム画像を書き込むメモリ制御手段と、
前記第1及び第2フレームメモリの何れかの出力側にゲインコントローラを有し、前記第1及び第2フレームメモリに蓄積されている夫々のフレーム画像の輝度レベルが等しくなるように制御するゲイン制御手段と、
前記ゲイン制御手段により輝度レベルを等しくした前記第1及び第2フレームメモリに蓄積されている夫々のフレーム画像の一部分の画素を抽出するコントローラを有し、抽出した夫々の一部分の画素から動きベクトルを検出する動きベクトル検出手段と、
前記動きベクトル検出手段により得られた動きベクトルの移動量に応じて補正量を算出して、前記記録ボタンが深押し状態のときに得られる撮像画像を補正する補正制御手段と、
を備えたことを特徴とする手振れ補正装置。
A memory control means having first and second frame memories and a memory controller for controlling the first and second frame memories, and writing frame images at different times in the first and second frame memories; ,
A gain controller having a gain controller on one of the output sides of the first and second frame memories and controlling the luminance levels of the respective frame images stored in the first and second frame memories to be equal. Means,
A controller for extracting a part of pixels of each of the frame images stored in the first and second frame memories whose luminance levels are made equal by the gain control means, and calculating a motion vector from each of the extracted parts of the pixels. Motion vector detecting means for detecting,
Correction control means for calculating a correction amount according to the movement amount of the motion vector obtained by the motion vector detection means, and correcting a captured image obtained when the recording button is in a deeply pressed state,
A camera shake correction device comprising:
前記メモリ制御手段は、記録ボタンが半押し状態のときの少なくとも、明るさ、ホワイトバランス、焦点距離を設定するときに、前記第1フレームメモリにフレーム画像を書き込み、記録ボタンが深押し状態のときに前記第2フレームメモリにフレーム画像を書き込むことを特徴とする請求項1に記載の手振れ補正装置。The memory control unit writes a frame image in the first frame memory when setting the brightness, white balance, and focal length at least when the recording button is half-pressed, and when the recording button is fully pressed. 2. The image stabilizing apparatus according to claim 1, wherein a frame image is written in the second frame memory. 動きベクトル検出手段は、代表点マッチング手法により動きベクトルを検出することを特徴とする請求項1に記載の手振れ補正装置。The apparatus according to claim 1, wherein the motion vector detecting means detects the motion vector by a representative point matching method. 記録ボタンが半押し状態のときのフレーム画像を第1フレームメモリに蓄積して画像の明るさを設定し、記録ボタンが深押し状態のときのフレーム画像を第2フレームメモリに蓄積して画像の明るさを設定し、前記第1及び第2フレームメモリに蓄積されている夫々のフレーム画像の輝度レベルを等しくすると共に、前記第1フレームメモリに蓄積されているフレーム画像の一部分の画素と前記第2フレームメモリに蓄積されているフレーム画像の一部分の画素と比較して動きベクトルを検出し、前記動きベクトルで検出した情報を基に、前記記録ボタンが深押し状態のときに得られる撮像画像を補正することを特徴とする手振れ補正方法。The frame image when the recording button is half-pressed is stored in the first frame memory to set the brightness of the image, and the frame image when the recording button is fully pressed is stored in the second frame memory to store the image. The brightness is set, the luminance levels of the respective frame images stored in the first and second frame memories are made equal, and a pixel of a part of the frame image stored in the first frame memory is A motion vector is detected by comparing with a part of the pixel of the frame image stored in the two-frame memory. Based on the information detected by the motion vector, a captured image obtained when the recording button is pressed deeply is displayed. A camera shake correction method characterized by correcting. 記録ボタンが半押し状態のときに、少なくとも、明るさ、ホワイトバランス、焦点距離のパラメータを設定し、記録ボタンが深押し状態のときに撮像するように機能する撮像装置であって、
記録ボタンが半押し状態のときのフレーム画像を第1フレームメモリに蓄積して画像の明るさを設定し、記録ボタンが深押し状態のときのフレーム画像を第2フレームメモリに蓄積して画像の明るさを設定するメモリ制御手段と、
前記第1及び第2フレームメモリの何れかの出力側にゲインコントローラを有し、前記第1及び第2フレームメモリに蓄積されている夫々のフレーム画像の輝度レベルが等しくなるように制御するゲイン制御手段と、
前記ゲイン制御手段により輝度レベルを等しくした前記第1及び第2フレームメモリに蓄積されている夫々のフレーム画像の一部分の画素を抽出するコントローラを有し、抽出した夫々の一部分の画素から動きベクトルを検出する動きベクトル検出手段と、
前記動きベクトル検出手段により得られた動きベクトルの移動量に応じて補正量を算出して、前記記録ボタンが深押し状態のときに得られる撮像画像を補正する補正制御手段と、
を備えたことを特徴とする撮像装置。
When the recording button is half-pressed, at least, brightness, white balance, set the parameters of the focal length, an imaging device that functions to take an image when the recording button is fully pressed,
The frame image when the recording button is half-pressed is stored in the first frame memory to set the brightness of the image, and the frame image when the recording button is fully pressed is stored in the second frame memory to store the image. Memory control means for setting brightness;
A gain controller having a gain controller on one of the output sides of the first and second frame memories and controlling the luminance levels of the respective frame images stored in the first and second frame memories to be equal. Means,
A controller for extracting a part of pixels of each of the frame images stored in the first and second frame memories whose luminance levels are made equal by the gain control means, and calculating a motion vector from each of the extracted parts of the pixels. Motion vector detecting means for detecting,
Correction control means for calculating a correction amount according to the movement amount of the motion vector obtained by the motion vector detection means, and correcting a captured image obtained when the recording button is in a deeply pressed state,
An imaging device comprising:
前記動きベクトル検出手段は、代表点マッチング手法により動きベクトルを検出することを特徴とする請求項5に記載の撮像装置。The imaging apparatus according to claim 5, wherein the motion vector detection unit detects a motion vector by a representative point matching method.
JP2003016251A 2003-01-24 2003-01-24 Blurring correcting instrument, method therefor and imaging apparatus Pending JP2004229084A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003016251A JP2004229084A (en) 2003-01-24 2003-01-24 Blurring correcting instrument, method therefor and imaging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003016251A JP2004229084A (en) 2003-01-24 2003-01-24 Blurring correcting instrument, method therefor and imaging apparatus

Publications (2)

Publication Number Publication Date
JP2004229084A true JP2004229084A (en) 2004-08-12
JP2004229084A5 JP2004229084A5 (en) 2005-12-22

Family

ID=32903769

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003016251A Pending JP2004229084A (en) 2003-01-24 2003-01-24 Blurring correcting instrument, method therefor and imaging apparatus

Country Status (1)

Country Link
JP (1) JP2004229084A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006287629A (en) * 2005-03-31 2006-10-19 Sanyo Electric Co Ltd Video equipment
US7742690B2 (en) 2005-04-07 2010-06-22 Sony Corporation Imaging apparatus and method for processing imaging results
JP2010245658A (en) * 2009-04-02 2010-10-28 Nikon Corp Image processing apparatus, digital camera including the same, and image processing program
US7925053B2 (en) 2006-06-15 2011-04-12 Sony Corporation Motion detection method, motion detection program, storage medium in which motion detection program is stored, and motion detection apparatus
CN102202178A (en) * 2010-03-25 2011-09-28 株式会社东芝 Image processing method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006287629A (en) * 2005-03-31 2006-10-19 Sanyo Electric Co Ltd Video equipment
US7742690B2 (en) 2005-04-07 2010-06-22 Sony Corporation Imaging apparatus and method for processing imaging results
US7925053B2 (en) 2006-06-15 2011-04-12 Sony Corporation Motion detection method, motion detection program, storage medium in which motion detection program is stored, and motion detection apparatus
JP2010245658A (en) * 2009-04-02 2010-10-28 Nikon Corp Image processing apparatus, digital camera including the same, and image processing program
JP4678061B2 (en) * 2009-04-02 2011-04-27 株式会社ニコン Image processing apparatus, digital camera equipped with the same, and image processing program
CN102202178A (en) * 2010-03-25 2011-09-28 株式会社东芝 Image processing method and device
JP2011205284A (en) * 2010-03-25 2011-10-13 Toshiba Corp Image processing method and image processing device
US8836800B2 (en) 2010-03-25 2014-09-16 Kabushiki Kaisha Toshiba Image processing method and device interpolating G pixels

Similar Documents

Publication Publication Date Title
JP4719553B2 (en) Imaging apparatus, imaging method, computer program, and computer-readable storage medium
JP5778998B2 (en) Imaging apparatus, image generation method, and computer program
EP2168005B1 (en) Focus control apparatus, image sensing apparatus, and control method therefor
JP5643563B2 (en) Image processing apparatus and control method thereof
US20100177200A1 (en) Image processing apparatus and method, recording medium, and program
KR20090071471A (en) Imaging device and its shutter drive mode selection method
JP6222514B2 (en) Image processing apparatus, imaging apparatus, and computer program
JP2008109336A (en) Image processor and imaging apparatus
JP2008035167A (en) Imaging apparatus
JP4821626B2 (en) Image processing apparatus, electronic camera, and image processing program
JP2009111596A (en) Imaging apparatus
US8836821B2 (en) Electronic camera
JP4953770B2 (en) Imaging device
JP2011114486A (en) Imaging device
JP2011066827A (en) Image processing apparatus, image processing method and program
JP2002247444A (en) Image processor and recording medium for recording image processing program
JP2004229084A (en) Blurring correcting instrument, method therefor and imaging apparatus
JP2007011054A (en) Imaging apparatus, control method for imaging apparatus and computer program
JP2003078808A (en) Device and method for detecting motion vector, device and method for correcting camera shake and imaging apparatus
JP4665826B2 (en) Imaging apparatus and image processing program
JP2019071522A (en) Imaging apparatus and control method
JP4969349B2 (en) Imaging apparatus and imaging method
JP5179859B2 (en) Imaging apparatus and imaging method
JP5341536B2 (en) Imaging device
JP5195973B2 (en) Image processing apparatus, electronic camera, and image processing program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051108

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051108

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080605

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080610

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080808

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090303