JP2004312536A - Photographing equipment, blurring detection method of photographing equipment, and program - Google Patents

Photographing equipment, blurring detection method of photographing equipment, and program Download PDF

Info

Publication number
JP2004312536A
JP2004312536A JP2003105450A JP2003105450A JP2004312536A JP 2004312536 A JP2004312536 A JP 2004312536A JP 2003105450 A JP2003105450 A JP 2003105450A JP 2003105450 A JP2003105450 A JP 2003105450A JP 2004312536 A JP2004312536 A JP 2004312536A
Authority
JP
Japan
Prior art keywords
blur
image data
photographing
image
focus evaluation
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
JP2003105450A
Other languages
Japanese (ja)
Inventor
Hiroshi Maeno
泰士 前野
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2003105450A priority Critical patent/JP2004312536A/en
Publication of JP2004312536A publication Critical patent/JP2004312536A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To detect the blurring of a simply photographed image without requiring a sensor etc. and also alleviating a burden on software. <P>SOLUTION: This photographing equipment is provided with a lens optical system 22 which obtains image data of a digital value by photographing an object image, a CCD 23, a sample-and-hold circuit 26 and an A/D converter 27 and a control part 32 which calculates a focus evaluation value from the obtained image data, detects the blurring of the image by comparing focus evaluation values of a plurality of pieces of the calculated image data and performs warning output of generation of the blurring, for example, by a display part 17 according to a detection result. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、デジタルカメラ等に好適な撮影装置、撮影装置のぶれ検出方法及びプログラムに関する。
【0002】
【従来の技術】
近時、デジタルカメラが高性能化すると共に大幅な小型化が進んでおり、撮影時にぶれが発生し易くなっている。ぶれの発生を検出する方法としては、一般に加速度センサを用いてぶれを直接検出する方法と、ソフトウェアでの画像解析を行なう方法がある。
【0003】
ソフトウェアで画像解析を行なう方法としては、例えば1回のシャッタキー操作に対応してその操作前後を含む時間的に連続した複数の画像を取得し、その中で最も「動き度合い」の少ない画像をぶれが少ないものと判断して記録するようにした技術がある。
【0004】
(例えば、特許文献1参照。)
【0005】
【特許文献1】
特開平02−172366号公報
【0006】
【発明が解決しようとする課題】
上述したセンサを用いてぶれを直接検出する方法は、画像の縦横各方向に対応した少なくとも2つの計算をカメラ内に搭載する必要があり、その分製造コストがかかってしまうという不具合がある。
【0007】
また、ソフトウェアで画像解析を行なう方法は、複数の撮影画像から「動き度合い」を算出してぶれの度合いを検出するもので、近時の高精細度化した、データ量の大きな画像データを複数枚分メモリに記憶した上で解析処理を行なう必要があるので、ソフトウェア上の処理が煩雑なだけでなく、大容量のメモリ等のハードウェア資源も必要とし、デジタルカメラを設計する上で負担の大きなものとなっていた。
【0008】
本発明は上記のような実情に鑑みてなされたもので、その目的とするところは、センサ等を必要とせず、またソフトウェア上の負担も軽減して簡易に撮影した画像のぶれを検出することが可能な撮影装置、撮影装置のぶれ検出方法及びプログラムを提供することにある。
【0009】
【課題を解決するための手段】
請求項1記載の発明は、被写体像を撮影してデジタル値の画像データを得る撮影手段と、この撮影手段で得た画像データから合焦評価値を算出する算出手段と、この算出手段で算出した複数の画像データの合焦評価値を比較して画像のぶれを検出するぶれ検出手段とを具備したことを特徴とする。
【0010】
このような構成とすれば、AF(自動合焦)を行なう装置であれば必ず算出する合焦評価値の変化から画像のぶれを検出するようにしたので、センサ等を必要としないだけでなく、ソフトウェア上も画像データを用いずに合焦評価値という1つのパラメータの変化のみで判断できるため、きわめて容易に画像のぶれを検出することが可能となる。
【0011】
請求項2記載の発明は、上記請求項1記載の発明において、上記ぶれ検出手段での検出結果に応じてぶれの発生を警告出力する警告手段をさらに具備したことを特徴とする。
【0012】
このような構成とすれば、上記請求項1記載の発明の作用に加えて、ぶれを検出した際にこれを警告してユーザに認知させるようにしたため、即座に再度の撮影を行なうなど、対処動作に移行することができる。
【0013】
請求項3記載の発明は、上記請求項1記載の発明において、上記ぶれ検出手段での検出結果に応じてぶれの補正を行なうぶれ補正手段をさらに具備したことを特徴とする。
【0014】
このような構成とすれば、上記請求項1記載の発明の作用に加えて、発生したぶれを補正して結果的に常にぶれを抑制した画像を撮影できる。
【0015】
請求項4記載の発明は、上記請求項2記載の発明において、上記警告手段は、ぶれの発生を示す視覚情報を表示出力することを特徴とする。
【0016】
このような構成とすれば、上記請求項2記載の発明の作用に加えて、例えばモニタ表示部の画面上に文字メッセージやシンボルマーク等でぶれの発生を表示出力するようにしたため、ぶれが発生した場合でもすぐにこれを視認して再度の撮影に移行することができる。
【0017】
請求項5記載の発明は、上記請求項2記載の発明において、上記警告手段は、ぶれの発生を示す音声情報を拡声出力することを特徴とする。
【0018】
このような構成とすれば、上記請求項2記載の発明の作用に加えて、例えば音声メッセージやビープ音等でぶれの発生を拡声出力するようにしたため、ユーザが光学ファインダを覗いたままの状態でもぶれの発生をすぐに認識して再度の撮影に移行することができる。
【0019】
請求項6記載の発明は、上記請求項2記載の発明において、上記ぶれ検出手段は、ぶれの度合いを検出し、上記警告手段は、上記ぶれ検出手段が検出したぶれの度合いを併せて出力することを特徴とする。
【0020】
このような構成とすれば、上記請求項2記載の発明の作用に加えて、発生したぶれの度合いに応じて再度の撮影に移行するかどうかをユーザ自身が判断できる。
【0021】
請求項7記載の発明は、上記請求項1記載の発明において、上記算出手段は、画像データの像鮮鋭度から合焦評価値を算出することを特徴とする。
【0022】
このような構成とすれば、上記請求項1記載の発明の作用に加えて、コントラスト方式のAF機能を搭載する一般的な装置で何ら他の回路等を付加せずに容易にぶれの発生も検出することができる。
【0023】
請求項8記載の発明は、上記請求項1記載の発明において、上記算出手段は、画像データ中の複数の領域から合焦評価値を算出することを特徴とする。
【0024】
このような構成とすれば、上記請求項1記載の発明の作用に加えて、ぶれの発生をより高い精度で検出することができる。
【0025】
請求項9記載の発明は、上記請求項2記載の発明において、上記撮影手段により得た画像データを記録する記録手段と、上記警告手段での警告に対して画像データの記録の実行の有無を指示する指示手段と、この指示手段での指示内容に応じて上記撮影手段で得た画像データの記記録手段への記録の実行の有無を制御する記録制御手段とをさらに具備したことを特徴とする。
【0026】
このような構成とすれば、上記請求項2記載の発明の作用に加えて、ぶれの発生を警告した上でユーザが任意に撮影した画像の記録を選択することができる。
【0027】
請求項10記載の発明は、被写体像を撮影してデジタル値の画像データを得る撮影工程と、この撮影工程で得た画像データから合焦評価値を算出する算出工程と、この算出工程で算出した複数の画像データの合焦評価値を比較して画像のぶれを検出するぶれ検出工程とを有したことを特徴とする。
【0028】
このような方法とすれば、AFを行なう装置であれば必ず算出する合焦評価値の変化から画像のぶれを検出するようにしたので、センサ等を必要としないだけでなく、ソフトウェア上も画像データを用いずに合焦評価値という1つのパラメータの変化のみで判断できるため、きわめて容易に画像のぶれを検出することが可能となる。
【0029】
請求項11記載の発明は、撮影装置に内蔵されたコンピュータに実行させるプログラムであって、被写体像を撮影してデジタル値の画像データを得る撮影ステップと、この撮影ステップで得た画像データから合焦評価値を算出する算出ステップと、この算出ステップで算出した複数の画像データの合焦評価値を比較して画像のぶれを検出するぶれ検出ステップとをコンピュータに実行させることを特徴とする。
【0030】
このようなプログラム内容とすれば、AFを行なう装置であれば必ず算出する合焦評価値の変化から画像のぶれを検出するようにしたので、センサ等を必要としないだけでなく、ソフトウェア上も画像データを用いずに合焦評価値という1つのパラメータの変化のみで判断できるため、きわめて容易に画像のぶれを検出することが可能となる。
【0031】
【発明の実施の形態】
以下本発明をコントラスト方式のAF機能を有するデジタルカメラに適用した場合の実施の一形態について図面を参照して説明する。
【0032】
図1は、その外観構成を示すもので、図1(A)が主に前面の、図1(B)が主に背面の構成を示す斜視図である。
【0033】
このデジタルカメラ1は、略矩形の薄板状ボディの前面に、撮影レンズ2、セルフタイマランプ3、光学ファインダ窓4、マイクロホン部5、ストロボ発光部6、及びラバーグリップ7を配設し、上面の(ユーザにとって)右端側には電源キー8及びシャッタキー9を配する。
【0034】
ラバーグリップ7は、ユーザが撮影時にデジタルカメラ1を右手で筐体右側面側から把持した場合に右手中指、薬指、及び小指が確実に該筐体を把持できるように配設されたゴム製の帯状突起である。
【0035】
また、電源キー8は、電源のオン/オフ毎に操作するキーであり、シャッタキー9は、撮影モード時に撮影タイミングを指示する。
【0036】
また、デジタルカメラ1の背面には、モードスイッチ(SW)10、スピーカ部11、メニューキー12、十字キー13、セットキー14、光学ファインダ15、ストロボチャージランプ16、及び表示部17を配する。
【0037】
モードスイッチ10は、例えばスライドキースイッチにより構成され、基本モードである記録モード「R」と再生モード「P」とを切換える。
【0038】
メニューキー12は、各種メニュー項目等を選択させる際に操作する。
【0039】
十字キー13は、上下左右各方向へのカーソル移動用のキーが一体に形成されたものであり、表示されているメニュー項目等を移動させる際に操作する。
【0040】
セットキー14は、上記十字キー13の中心位置に配置され、その時点で選択されているメニュー項目内容等を設定するために操作する。
【0041】
ストロボチャージランプ16は、光学ファインダ15に近接して配設されたLEDランプでなり、このデジタルカメラ1のユーザが光学ファインダ15を覗いている場合と表示部17を見ている場合のいずれであってもストロボのチャージ状態等をユーザに視認させる。
【0042】
表示部17は、バックライト付きのカラー液晶パネルで構成されるもので、記録モード時には電子ファインダとしてスルー画像のモニタ表示を行なう一方で、再生モード時には選択した画像等を再生表示する。
【0043】
なお、図示はしないがデジタルカメラ1の底面には、記録媒体として用いられるメモリカードを着脱するためのメモリカードスロットや、外部のパーソナルコンピュータ等と接続するためのシリアルインタフェースコネクタとして、例えばUSB(Universal Seriual Bus)コネクタ等が設けられるものとする。
【0044】
次いで図2により上記デジタルカメラ1の電子回路構成を説明する。
同図で、基本モードである記録モードにおいては、モータ(M)21の駆動により合焦位置や絞り位置が移動される、上記撮影レンズ2を構成するレンズ光学系22の撮影光軸後方に配置された撮像素子であるCCD23が、タイミング発生器(TG)24、垂直ドライバ25によって走査駆動され、一定周期毎に結像した光像に対応する光電変換出力を1画面分出力する。
【0045】
この光電変換出力は、アナログ値の信号の状態でRGBの各原色成分毎に適宜ゲイン調整された後に、サンプルホールド回路26でサンプルホールドされ、A/D変換器27でデジタルデータに変換され、カラープロセス回路28で画素補間処理及びγ補正処理を含むカラープロセス処理が行なわれて、デジタル値の輝度信号Y及び色差信号Cb,Crが生成され、DMA(Direct Memory Access)コントローラ29に出力される。
【0046】
DMAコントローラ29は、カラープロセス回路28の出力する輝度信号Y及び色差信号Cb,Crを、同じくカラープロセス回路28からの複合同期信号、メモリ書込みイネーブル信号、及びクロック信号を用いて一度DMAコントローラ29内部のバッファに書込み、DRAMインタフェース(I/F)30を介してバッファメモリとして使用されるDRAM31にDMA転送を行なう。
【0047】
制御部32は、CPUと、後述する記録モード時のぶれ検出処理を含む該CPUで実行される動作プログラムを固定的に記憶したROM、及びワークメモリとして使用されるRAM等により構成され、このデジタルカメラ1全体の制御動作を司るもので、上記輝度及び色差信号のDRAM31へのDMA転送終了後に、この輝度及び色差信号をDRAMインタフェース30を介してDRAM31より読出し、VRAMコントローラ33を介してVRAM34に書込む。
【0048】
デジタルビデオエンコーダ35は、上記輝度及び色差信号をVRAMコントローラ33を介してVRAM34より定期的に読出し、これらのデータを元にビデオ信号を発生して上記表示部17に出力する。
【0049】
この表示部17は、上述した如く記録モード時にはモニタ表示部(電子ファインダ)として機能するもので、デジタルビデオエンコーダ35からのビデオ信号に基づいた表示を行なうことで、その時点でVRAMコントローラ33から取込んでいる画像情報に基づく画像をリアルタイムに表示することとなる。
【0050】
このように表示部17にその時点での画像がモニタ画像としてリアルタイムに表示されている状態で、静止画撮影を行ないたいタイミングでキー入力部36を構成する上記シャッタキー9を操作すると、トリガ信号を発生する。
【0051】
制御部32は、このトリガ信号に応じてその時点でCCD23から取込んでいる1画面分の輝度及び色差信号のDRAM31へのDMA転送の終了後、直ちにCCD23からのDRAM31への経路を停止し、記録保存の状態に遷移する。
【0052】
この記録保存の状態では、制御部32がDRAM31に書込まれている1フレーム分の輝度及び色差信号をDRAMインタフェース30を介してY,Cb,Crの各コンポーネント毎に縦8画素×横8画素の基本ブロックと呼称される単位で読出してJPEG(Joint Photograph coding Experts Group)回路37に書込み、このJPEG回路37でADCT(Adaptive Discrete Cosine Transform:適応離散コサイン変換)、エントロピ符号化方式であるハフマン符号化等の処理によりデータ圧縮する。
【0053】
そして、得た符号データを1画像のデータファイルとして該JPEG回路37から読出し、このデジタルカメラ1の記録媒体として着脱自在に装着されるメモリカード38か、またはこのデジタルカメラ1に固定的に内蔵される内蔵メモリ39のいずれか一方に書込む。
【0054】
そして、1フレーム分の輝度及び色差信号の圧縮処理及びメモリカード38または内蔵メモリ39への全圧縮データの書込み終了に伴なって、制御部32はCCD23からDRAM31への経路を再び起動する。
【0055】
また、制御部32にはさらに、音声処理部40、USBインタフェース(I/F)41、及びストロボ駆動部42が接続される。
【0056】
音声処理部40は、PCM音源等の音源回路を備え、音声の録音時には上記マイクロホン部(MIC)5より入力された音声信号をデジタル化し、所定のデータファイル形式、例えばMP3(MPEG−1 audio layer 3)規格にしたがってデータ圧縮して音声データファイルを作成してメモリカード38または内蔵メモリ39へ送出する一方、音声の再生時にはメモリカード38または内蔵メモリ39から送られてきた音声データファイルの圧縮を解いてアナログ化し、上記スピーカ部(SP)11を駆動して、拡声放音させる。
【0057】
USBインタフェース41は、USBコネクタを介して有線接続されるパーソナルコンピュータ等の他の情報端末装置との間で画像データその他の送受を行なう場合の通信制御を行なう。
【0058】
ストロボ駆動部42は、静止画像撮影時に図示しないストロボ用の大容量コンデンサを充電した上で、制御部32からの制御に基づいて上記ストロボ発光部6を閃光駆動する。
【0059】
なお、上記キー入力部36は、上述したシャッタキー9の他に、上記電源キー8、モードスイッチ10、メニューキー12、十字キー13及びセットキー14等から構成され、それらのキー操作に伴なう信号は直接制御部32へ送出される。
【0060】
しかるに、静止画像ではなく動画像の撮影時においては、キー入力部36のシャッタキー9が操作され続けている間、上述した静止画像データをJPEG回路37でデータ圧縮した静止画データファイルのメモリカード38または内蔵メモリ39への記録を時間的に連続して実行し、該シャッタキー9の操作が終わるか、または所定の制限時間、例えば30秒が経過した時点でそれら一連の静止画データファイルを一括してモーションJPEGのデータファイルとして設定し直す。
【0061】
また、基本モードである再生モード時には、制御部32がメモリカード38または内蔵メモリ39に記録されている画像データを選択的に読出し、JPEG回路37で記録モード時にデータ圧縮した手順と全く逆の手順で圧縮されている画像データを伸長し、伸長した画像データをDRAMインタフェース30を介してDRAM31に保持させた上で、このDRAM31の保持内容をVRAMコントローラ33を介してVRAM34に記憶させ、このVRAM34より定期的に画像データを読出してビデオ信号を発生し、上記表示部17で再生出力させる。
【0062】
選択した画像データが静止画像ではなく動画像であった場合、選択した動画像ファイルを構成する個々の静止画像データの再生を時間的に連続して実行し、すべての静止画像データの再生を終了した時点で、次に再生の指示がなされるまで先頭に位置する静止画像データのみを用いて再生表示する。
【0063】
次に上記実施の形態の動作について説明する。
なお、以下に示す各処理は、基本的に制御部32が予め固定記憶されたプログラムに基づいて実行するものである。
【0064】
図3は、記録モード時の処理内容を示すもので、その当初にはキー入力部36のシャッタキー9が半押し状態となるのを待機する(ステップA01)。
【0065】
すなわち該シャッタキー9は、2段階のストロークで押圧操作を検知するもので、その1段目の操作、所謂半押し状態で撮影条件をロックし、2段目の操作、所謂全押し状態で実際の撮影を行なうものである。
【0066】
しかして、シャッタキー9が半押し状態となるとステップA01でこれを判断し、AF処理を行なって合焦位置を得、同時に合焦評価値を得た後に(ステップA02)、AE(自動露光)処理により適正な露出が得られる絞り値とシャッタ速度とを得て(ステップA03)、撮影条件をロックする。
【0067】
図4は、上記AF処理時に得られる合焦評価値を説明するものである。レンズ光学系22を構成する複数のレンズ中のフォーカシングレンズを移動させた場合、得られる画像の鮮鋭度(コントラスト値)は合焦位置を頂点とし、合焦位置を外れるに従って低くなる。そのため、その時点で得られる画像に対し、フォーカシングレンズを移動させて最もコントラスト値が高くなる位置を合焦位置とし、合わせてそのコントラスト値を当該画像の合焦評価値として取得し、保持するものである。
【0068】
この撮影条件をロックした状態から、シャッタキー9が全押し操作されたか否か(ステップA04)、同シャッタキー9がまだ半押しされているか否か(ステップA05)を繰返し判断することで、シャッタキー9が半押しされていることを確認しながら、全押しされるのを待機する。
【0069】
ここで、シャッタキー9の半押し状態が解除された場合には、ステップA05でこれを判断して上記撮影条件のロックを解き、再び上記ステップA01からの処理に戻る。
【0070】
そして、シャッタキー9が全押し操作された時点でステップA04においてこれを判断して画像データの記録保存状態に移行する。すなわち、まず撮像による画像データを得た後(ステップA06)、その得た画像データから上記ステップA02で得た場合と同様に合焦評価値としてのコントラスト値を取得する(ステップA07)。
【0071】
次いでこの撮影画像から得た合焦評価値を上記ステップA02でAF処理時に得た合焦評価値を基準として比較し、所定の範囲に収まっているか否かによりぶれが生じたか否かを判断する(ステップA08)。
【0072】
AF処理時に得た合焦評価値に対して撮影画像から得た合焦評価値が所定の範囲を越えており、ぶれが生じたと判断した場合には、ぶれが発生したことを示す警告メッセージを例えば表示部17で表示出力した上で(ステップA09)、撮影により得た画像データをファイル化してメモリカード38または内蔵メモリ39に記録保存し(ステップA10)、以上で一連の撮影に関する処理を終了して、再び次の撮影に備えるべく上記ステップA01からの処理に戻る。
【0073】
なお、ぶれが発生したことを示す警告メッセージの表示は、記録保存した(ステップA10)後に行なってもよい。
【0074】
また、上記ステップA08でぶれが生じたか否かを判断した後、ぶれが生じたと判断した場合には、上記ステップA09で警告メッセージを表示出力することに代えて、ぶれ補正を行なうようにしてもよい。その場合、ぶれ補正は画像処理等で一般的に行なわれている技術を使えばよく、その詳細についてはここでは説明を省略する。
【0075】
このようにぶれ補正を行なうことで、撮影した画像がぶれてしまった場合でも、ユーザは気にすることなく自動的にぶれを抑制した画像を記録することができる。
【0076】
図5は、上記ステップA09で表示部17に表示されるぶれ警告メッセージを例示するものである。
図5(A)は、文字メッセージ「ぶれ警告!」を中心とした例を示すものであり、撮影した画像上にこの文字メッセージを重ねて表示部17で表示することで、ぶれが発生したことをユーザに視覚的に警告する。
図5(B)は、人物とその人物の揺らぎを模したシンボルを例示するものであり、上記図5(A)と同様に、撮影した画像上にこのシンボルを重ねて表示部17で表示することで、ぶれが発生したことをユーザに視覚的に警告する。
【0077】
また、上記ステップA08で、AF処理時に得た合焦評価値に対して撮影画像から得た合焦評価値が所定の範囲内に収まっており、ぶれが生じてはいないと判断した場合には、上記ステップA09の処理を省略して、そのまま撮影により得た画像データをファイル化してメモリカード38または内蔵メモリ39に記録保存し(ステップA10)、以上で一連の撮影に関する処理を終了して、再び次の撮影に備えるべく上記ステップA01からの処理に戻る。
【0078】
このように、AFを行なうカメラであれば必ず算出する合焦評価値の変化から画像のぶれを検出するようにしたので、ぶれを検出するための加速度センサ等の専用のセンサ類を必要としないだけでなく、ソフトウェア上においても、画像データを用いずに合焦評価値という1つのパラメータの変化のみで判断できるため、きわめて容易に画像のぶれを検出することができる。
【0079】
特に、コントラスト方式のAFを行なうカメラでは、合焦評価値を画像データの像鮮鋭度から算出するため、アクティブ方式のAFを行なうカメラのようにAFのためのセンサ類を元々必要としないため、カメラの構成を簡易なものとしたまま、ぶれ検出に適用可能となる。
【0080】
また、上記実施の形態では、文字メッセージやシンボルマーク等でぶれの発生を表示部17にて表示出力するようにした。そのため、ぶれが発生した場合でもすぐにこれをユーザが視認して再度の撮影に移行することができる。
【0081】
なお、上記実施の形態では表示部17にてぶれの検出に伴う文字メッセージやシンボルマーク等を表示するものとして説明したが、本発明はこれに限らず、ストロボチャージランプ16等を通常とは異なる色や点滅パターンで点灯駆動するものとしてもよいし、さらには視覚的な警告に限らず、スピーカ部11より音声メッセージやビープ音等で拡声出力するものとしてもよい。
【0082】
その場合、このデジタルカメラ1のユーザがスルー画像をモニタ表示する表示部17を使用せず、光学ファインダ15を覗いている場合であっても、ぶれの検出を認識することができる。
【0083】
また、上記図3に示した記録モード時の処理内容では、ぶれの発生を検出する/しないに拘わらず、撮影により得た画像データをメモリカード38または内蔵メモリ39に記録するものとして説明したが、画像撮影時にぶれの発生を検出した場合にはその画像データを記録するかどうかをユーザの判断に委ねるものとしてもよい。
【0084】
以下図6により、そのような本実施の形態の他の動作例について説明する。
この図6の場合、上記図3のステップA08までは全く同様の動作内容であるので、同一ステップには同一符号を付してステップS08までの処理内容の説明は省略する。
【0085】
しかして、ステップA08でAF処理時に得た合焦評価値に対して撮影画像から得た合焦評価値が所定の範囲を越えており、ぶれが生じたと判断した場合には、ぶれが発生したことを示す、例えば上記図5(A)または図5(B)で示したような警告メッセージを表示部17で表示出力し、併せて
「撮影画像がぶれを生じている可能性があります
画像を記録しますか?
はい/いいえ」
のような文字メッセージにより、記録の有無の選択を促す表示を行ない、その一方、例えば「はい」の側を仮の選択状態として反転表示した上で(ステップA11)、その選択に応答する操作がなされるのを待機する(ステップA12)。
【0086】
そして、応答の操作があったと判断した時点で、次にその操作内容から記録を承認するものであるか否かを判断する(ステップA13)。
【0087】
ここで、上記文字メッセージに対して「いいえ」の側が応答操作として選択されたと判断した場合には、その操作に対応してその時点で上記シャッタキー9の操作に対応する撮影と記録の動作を中断し、再び上記ステップA01からの処理に戻る。
【0088】
また、上記ステップA13で上記文字メッセージに対して「はい」の側が応答操作として選択されたと判断した場合には、撮影により得た画像データをファイル化してメモリカード38または内蔵メモリ39に記録保存し(ステップA10)、以上で一連の撮影に関する処理を終了して、再び次の撮影に備えるべく上記ステップA01からの処理に戻る。
【0089】
また、上記ステップA08で、AF処理時に得た合焦評価値に対して撮影画像から得た合焦評価値が所定の範囲内に収まっており、ぶれが生じてはいないと判断した場合には、上記ステップA11〜A13の処理を省略して、そのまま撮影により得た画像データをファイル化してメモリカード38または内蔵メモリ39に記録保存し(ステップA10)、以上で一連の撮影に関する処理を終了して、再び次の撮影に備えるべく上記ステップA01からの処理に戻る。
【0090】
このように、上記図3の処理内容で説明した動作に対する効果に加えて、撮影時のぶれを検出した場合にその旨を警告、報知した上で、記録の実行の有無をユーザに委ねるようにしたため、ユーザが任意に撮影した画像の記録を選択することができる。
【0091】
なお、上記実施の形態では、単に撮影画像から得た合焦評価値を上記ステップA02でAF処理時に得た合焦評価値を基準として比較し、所定の範囲に収まっているか否かにより、ぶれが生じたか否かを判断するものとして説明したが、択一的にぶれの発生の有無に対応した処理を行なうのではなく、そのぶれの度合いを例えば表示部17に表示して、ユーザにその後の記録の実行の有無を選択させるようにしてもよい、
図7は、このような表示部17での棒グラフBGによる表示例を示すもので、ここでは画面中の左下端部で、AF処理時に得た合焦評価値を基準として、撮影画像から得た合焦評価値が略1/3程度しかなく、大幅にコントラストが低下しているので、ぶれの発生の懸念が大きいことを示している。
【0092】
このようにぶれの発生の具体的な度合いを報知出力することで、発生したぶれの度合いに応じて再度の撮影に移行するかどうかをユーザ自身が判断できる。
【0093】
また、上述した如くぶれの検出は合焦評価値から算出するものであるが、合焦評価値は、画像の中央の領域のみから算出する「スポットAF」または、中央の領域を重点的に他の領域も勘案して算出する「中央重点AF」によるものでもよいし、さらには画像中の予め設定された複数の領域を重点的に検出する「マルチポイントAF」によるものでもよい。
【0094】
図8は、合焦領域AFAを画像の中央を挟んでその左右にも合焦領域を合計3箇所配置した場合を例示するもので、上記3箇所でそれぞれAF処理を実行し、そのうちで最も近い距離にある領域AFAでの合焦評価値を選択して、全体の合焦評価値とするものである。
【0095】
このように、複数の領域から合焦評価値を算出することにより、種々の構図にも対応して正確なAF処理を行なうことができるので、結果としてぶれの発生をより高い精度で検出することにもつながる。
【0096】
また、上記実施の形態では、AF処理時に得た合焦評価値と撮影時に得た合焦評価値とを比較し、所定の範囲に収まっているか否かによりぶれが生じたか否かを判断するものとしたが、例えば、さらに撮影後のCCDから取込まれるスルー画像において、シャッターキーを半押しし、合焦評価値を得て、撮影の前後での合焦評価値を比較して、ぶれが生じたか否かを判断するようにしてもよい。
【0097】
このように複数回の合焦評価値を比較することにより、さらにぶれの発生をより高い精度で検出することができる。
【0098】
なお、上記実施の形態はデジタルカメラに適用したものであるが、本発明はこれに限るものではなく、AF処理を行なうようなカメラ機能を備えた、携帯電話機やPDA(Personal Digital Assistant:個人向け携帯情報端末)等にも同様に適用可能となる。
【0099】
その他、本発明は上記実施の形態に限らず、その要旨を逸脱しない範囲内で種々変形して実施することが可能であるものとする。
【0100】
さらに、上記実施の形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組合わせにより種々の発明が抽出され得る。例えば、実施の形態に示される全構成要件からいくつかの構成要件が削除されても、発明が解決しようとする課題の欄で述べた課題の少なくとも1つが解決でき、発明の効果の欄で述べられている効果の少なくとも1つが得られる場合には、この構成要件が削除された構成が発明として抽出され得る。
【0101】
【発明の効果】
請求項1記載の発明によれば、AF(自動合焦)を行なう装置であれば必ず算出する合焦評価値の変化から画像のぶれを検出するようにしたので、センサ等を必要としないだけでなく、ソフトウェア上も画像データを用いずに合焦評価値という1つのパラメータの変化のみで判断できるため、きわめて容易に画像のぶれを検出することが可能となる。
【0102】
請求項2記載の発明によれば、上記請求項1記載の発明の効果に加えて、ぶれを検出した際にこれを警告してユーザに認知させるようにしたため、即座に再度の撮影を行なうなど、対処動作に移行することができる。
【0103】
請求項3記載の発明によれば、上記請求項1記載の発明の効果に加えて、発生したぶれを補正して結果的に常にぶれを抑制した画像を撮影できる。
【0104】
請求項4記載の発明によれば、上記請求項2記載の発明の効果に加えて、例えばモニタ表示部の画面上に文字メッセージやシンボルマーク等でぶれの発生を表示出力するようにしたため、ぶれが発生した場合でもすぐにこれを視認して再度の撮影に移行することができる。
【0105】
請求項5記載の発明によれば、上記請求項2記載の発明の効果に加えて、例えば音声メッセージやビープ音等でぶれの発生を拡声出力するようにしたため、ユーザが光学ファインダを覗いたままの状態でもぶれの発生をすぐに認識して再度の撮影に移行することができる。
【0106】
請求項6記載の発明によれば、上記請求項2記載の発明の効果に加えて、発生したぶれの度合いに応じて再度の撮影に移行するかどうかをユーザ自身が判断できる。
【0107】
請求項7記載の発明によれば、上記請求項1記載の発明の効果に加えて、コントラスト方式のAF機能を搭載する一般的な装置で何ら他の回路等を付加せずに容易にぶれの発生も検出することができる。
【0108】
請求項8記載の発明によれば、上記請求項1記載の発明の効果に加えて、ぶれの発生をより高い精度で検出することができる。
【0109】
請求項9記載の発明によれば、上記請求項2記載の発明の効果に加えて、ぶれの発生を警告した上でユーザが任意に撮影した画像の記録を選択することができる。
【0110】
請求項10記載の発明によれば、AFを行なう装置であれば必ず算出する合焦評価値の変化から画像のぶれを検出するようにしたので、センサ等を必要としないだけでなく、ソフトウェア上も画像データを用いずに合焦評価値という1つのパラメータの変化のみで判断できるため、きわめて容易に画像のぶれを検出することが可能となる。
【0111】
請求項11記載の発明によれば、AFを行なう装置であれば必ず算出する合焦評価値の変化から画像のぶれを検出するようにしたので、センサ等を必要としないだけでなく、ソフトウェア上も画像データを用いずに合焦評価値という1つのパラメータの変化のみで判断できるため、きわめて容易に画像のぶれを検出することが可能となる。
【図面の簡単な説明】
【図1】本発明の実施の一形態に係るデジタルカメラの外観構成を示す斜視図。
【図2】同実施の形態に係る電子回路の構成を示すブロック図。
【図3】同実施の形態に係る記録モード時の静止画撮影の処理内容を示すフローチャート。
【図4】同実施の形態に係るぶれ検出警告時の表示画面を例示する図。
【図5】同実施の形態に係る画面表示されるぶれ警告メッセージを例示する図。
【図6】同実施の形態に係る記録モード時の静止画撮影の他の処理内容を示すフローチャート。
【図7】同実施の形態に係る表示部での発生したぶれの度合いの表示例を示す図。
【図8】同実施の形態に係る複数の合焦領域の配置例を示す図。
【符号の説明】
1…デジタルカメラ、2…撮影レンズ、3…セルフタイマランプ、4…光学ファインダ窓、5…マイクロホン部(MIC)、6…ストロボ発光部、7…ラバーグリップ、8…電源キー、9…シャッタキー、10…モードスイッチ(SW)、11…スピーカ部(SP)、12…メニューキー、13…十字キー、14…セットキー、15…光学ファインダ、16…ストロボチャージランプ、17…表示部、21…モータ(M)、22…レンズ光学系、23…CCD、24…タイミング発生器(TG)、25…垂直ドライバ、26…サンプルホールド回路(S/H)、27…A/D変換器、28…カラープロセス回路、29…DMAコントローラ、30…DRAMインタフェース(I/F)、31…DRAM、32…制御部、33…VRAMコントローラ、34…VRAM、35…デジタルビデオエンコーダ、36…キー入力部、37…JPEG回路、38…メモリカード、39…内蔵メモリ、40…音声処理部、41…USBインタフェース(I/F)、42…ストロボ駆動部、AFA…合焦領域、BG…棒グラフ、。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a photographing apparatus suitable for a digital camera or the like, a blur detection method of the photographing apparatus, and a program.
[0002]
[Prior art]
2. Description of the Related Art Recently, digital cameras have become higher in performance and have been significantly reduced in size, so that blurring tends to occur during shooting. Methods for detecting the occurrence of blur generally include a method of directly detecting blur using an acceleration sensor and a method of performing image analysis using software.
[0003]
As a method of performing image analysis with software, for example, a plurality of temporally continuous images including before and after the shutter key operation are acquired corresponding to one shutter key operation, and an image with the smallest “motion degree” is obtained. There is a technology that determines that there is little blurring and records it.
[0004]
(For example, refer to Patent Document 1.)
[0005]
[Patent Document 1]
JP-A-02-172366
[0006]
[Problems to be solved by the invention]
The method of directly detecting blur using the above-described sensor requires at least two calculations corresponding to the vertical and horizontal directions of an image to be mounted in the camera, and has a disadvantage in that the manufacturing cost is increased accordingly.
[0007]
In addition, a method of performing image analysis by software is to calculate the “motion degree” from a plurality of captured images and detect the degree of blurring. Recently, a plurality of image data having a high definition and a large data amount are obtained. Since it is necessary to perform analysis processing after storing in the memory for the number of sheets, not only the processing on software is complicated, but also hardware resources such as a large capacity memory are required, which is a burden in designing a digital camera. It was big.
[0008]
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has as its object to detect a blur of an image photographed easily without requiring a sensor or the like and also reducing a load on software. It is an object of the present invention to provide a photographing apparatus capable of performing the above, a blur detection method of the photographing apparatus, and a program.
[0009]
[Means for Solving the Problems]
According to a first aspect of the present invention, there is provided a photographing means for photographing a subject image to obtain digital image data, a calculating means for calculating a focus evaluation value from the image data obtained by the photographing means, and a calculating means for calculating the focus evaluation value. And a blur detecting means for comparing the focus evaluation values of the plurality of image data to detect the blur of the image.
[0010]
With such a configuration, if the apparatus performs AF (automatic focusing), image blur is detected based on a change in the calculated focus evaluation value. Also, since the determination can be made on software only by a change of one parameter called a focus evaluation value without using image data, it is possible to detect image blurring very easily.
[0011]
According to a second aspect of the present invention, in the first aspect of the present invention, there is further provided a warning unit for outputting a warning of occurrence of a blur according to a detection result of the blur detection unit.
[0012]
With this configuration, in addition to the operation of the first aspect of the present invention, when a blur is detected, this is warned and the user is made aware of the blur. Move to operation.
[0013]
According to a third aspect of the present invention, in the first aspect of the present invention, there is further provided a shake correcting means for correcting a shake according to a detection result of the shake detecting means.
[0014]
With such a configuration, in addition to the effect of the first aspect of the present invention, it is possible to capture an image in which the generated blur is corrected and the blur is always suppressed.
[0015]
According to a fourth aspect of the present invention, in the second aspect of the present invention, the warning means displays and outputs visual information indicating occurrence of blur.
[0016]
With such a configuration, in addition to the effect of the invention described in claim 2, the occurrence of blurring is displayed and output on a screen of a monitor display unit using a character message, a symbol mark, or the like. In this case, it is possible to immediately recognize this and shift to shooting again.
[0017]
According to a fifth aspect of the present invention, in the second aspect of the present invention, the warning means loudspeaker outputs audio information indicating occurrence of blur.
[0018]
According to such a configuration, in addition to the operation of the invention described in claim 2, the occurrence of blurring is output by, for example, a voice message or a beep sound, so that the user remains in the optical viewfinder. However, it is possible to immediately recognize the occurrence of blurring and shift to shooting again.
[0019]
According to a sixth aspect of the present invention, in the second aspect of the invention, the blur detecting means detects a degree of the blur, and the warning means outputs the degree of the blur detected by the blur detecting means. It is characterized by the following.
[0020]
With such a configuration, in addition to the effect of the invention described in the second aspect, the user himself / herself can determine whether or not to shift to shooting again according to the degree of the generated blur.
[0021]
According to a seventh aspect of the present invention, in the first aspect, the calculating means calculates a focus evaluation value from the image sharpness of the image data.
[0022]
With such a configuration, in addition to the operation of the first aspect of the present invention, blurring can easily occur without adding any other circuit in a general device equipped with a contrast type AF function. Can be detected.
[0023]
According to an eighth aspect of the present invention, in the first aspect of the present invention, the calculating means calculates a focus evaluation value from a plurality of areas in the image data.
[0024]
With such a configuration, in addition to the operation of the first aspect of the present invention, the occurrence of blur can be detected with higher accuracy.
[0025]
According to a ninth aspect of the present invention, in the second aspect of the present invention, a recording unit for recording the image data obtained by the photographing unit, and whether or not the recording of the image data is executed in response to the warning by the warning unit. Instruction means for instructing, and recording control means for controlling whether or not to execute recording of the image data obtained by the photographing means on the recording means in accordance with the contents of the instruction by the instruction means. I do.
[0026]
With such a configuration, in addition to the effect of the second aspect of the present invention, the user can arbitrarily select the recording of an image photographed after warning of the occurrence of blurring.
[0027]
According to a tenth aspect of the present invention, a photographing step of photographing a subject image to obtain digital value image data, a calculating step of calculating a focus evaluation value from the image data obtained in the photographing step, and a calculating step of calculating And a blur detection step of detecting the blur of the image by comparing the focus evaluation values of the plurality of pieces of image data.
[0028]
According to such a method, if the apparatus performs AF, the blur of the image is detected from the change of the calculated focus evaluation value, so that not only the sensor and the like are not required but also the software Since the determination can be made only by a change of one parameter called the focus evaluation value without using data, it is possible to detect image blurring very easily.
[0029]
According to an eleventh aspect of the present invention, there is provided a program to be executed by a computer built in a photographing apparatus, comprising: a photographing step of photographing a subject image to obtain digital value image data; The computer is characterized by causing a computer to execute a calculation step of calculating a focus evaluation value and a blur detection step of comparing the focus evaluation values of a plurality of pieces of image data calculated in the calculation step and detecting a blur of an image.
[0030]
With such a program content, a device that performs AF always detects a blur of an image from a change in a calculated focus evaluation value, so that not only a sensor and the like are not required but also software Since the determination can be made only by the change of one parameter called the focus evaluation value without using the image data, it is possible to detect the blur of the image very easily.
[0031]
BEST MODE FOR CARRYING OUT THE INVENTION
An embodiment in which the present invention is applied to a digital camera having a contrast AF function will be described below with reference to the drawings.
[0032]
FIG. 1 is a perspective view showing the external configuration, in which FIG. 1 (A) mainly shows the configuration on the front side and FIG. 1 (B) shows the configuration mainly on the back side.
[0033]
In this digital camera 1, a photographic lens 2, a self-timer lamp 3, an optical finder window 4, a microphone unit 5, a strobe light emitting unit 6, and a rubber grip 7 are disposed on a front surface of a substantially rectangular thin plate-like body. A power key 8 and a shutter key 9 are arranged on the right end side (for the user).
[0034]
The rubber grip 7 is made of rubber which is disposed so that the right middle finger, ring finger, and little finger can securely grip the housing when the user holds the digital camera 1 with the right hand from the right side of the housing during shooting. It is a band-like projection.
[0035]
A power key 8 is a key operated every time the power is turned on / off, and a shutter key 9 instructs a shooting timing in a shooting mode.
[0036]
On the back of the digital camera 1, a mode switch (SW) 10, a speaker unit 11, a menu key 12, a cross key 13, a set key 14, an optical finder 15, a strobe charge lamp 16, and a display unit 17 are arranged.
[0037]
The mode switch 10 is configured by, for example, a slide key switch, and switches between a recording mode “R” and a reproduction mode “P” which are basic modes.
[0038]
The menu key 12 is operated when selecting various menu items and the like.
[0039]
The cross key 13 is integrally formed with keys for moving a cursor in up, down, left, and right directions, and is operated when moving a displayed menu item or the like.
[0040]
The set key 14 is arranged at the center position of the cross key 13 and is operated to set the contents of the menu item selected at that time.
[0041]
The strobe charge lamp 16 is an LED lamp disposed close to the optical finder 15, and is used when the user of the digital camera 1 is looking into the optical finder 15 or when viewing the display unit 17. Even so, the charge state of the strobe and the like are visually recognized by the user.
[0042]
The display unit 17 is configured by a color liquid crystal panel with a backlight, and performs monitor display of a through image as an electronic finder in a recording mode, and reproduces and displays a selected image or the like in a reproduction mode.
[0043]
Although not shown, on the bottom surface of the digital camera 1, for example, a USB (Universal) is provided as a memory card slot for attaching and detaching a memory card used as a recording medium and a serial interface connector for connecting to an external personal computer or the like. Serial Bus) connector and the like are provided.
[0044]
Next, the electronic circuit configuration of the digital camera 1 will be described with reference to FIG.
In the same figure, in the recording mode which is the basic mode, the focus position and the aperture position are moved by driving the motor (M) 21 and disposed behind the photographing optical axis of the lens optical system 22 constituting the photographing lens 2. The CCD 23, which is an image pickup device, is scanned and driven by a timing generator (TG) 24 and a vertical driver 25, and outputs a photoelectric conversion output corresponding to a light image formed at regular intervals for one screen.
[0045]
The photoelectric conversion output is appropriately adjusted in gain for each of RGB primary color components in the state of an analog value signal, sampled and held by a sample and hold circuit 26, converted to digital data by an A / D converter 27, and converted into color data. A color process including a pixel interpolation process and a γ correction process is performed in the process circuit 28, and a digital luminance signal Y and color difference signals Cb and Cr are generated, and are output to a DMA (Direct Memory Access) controller 29.
[0046]
The DMA controller 29 converts the luminance signal Y and the color difference signals Cb and Cr output from the color process circuit 28 into the DMA controller 29 once using the composite synchronizing signal, the memory write enable signal, and the clock signal from the color process circuit 28. And a DMA transfer is performed to a DRAM 31 used as a buffer memory via a DRAM interface (I / F) 30.
[0047]
The control unit 32 includes a CPU, a ROM fixedly storing an operation program executed by the CPU including a shake detection process in a recording mode described later, a RAM used as a work memory, and the like. After the DMA transfer of the luminance and chrominance signals to the DRAM 31, the luminance and chrominance signals are read out from the DRAM 31 via the DRAM interface 30 and written into the VRAM 34 via the VRAM controller 33. Put in.
[0048]
The digital video encoder 35 periodically reads out the luminance and color difference signals from the VRAM 34 via the VRAM controller 33, generates a video signal based on the data, and outputs the video signal to the display unit 17.
[0049]
The display unit 17 functions as a monitor display unit (electronic finder) in the recording mode as described above, and performs a display based on the video signal from the digital video encoder 35, so that the VRAM controller 33 can acquire the display at that time. An image based on the embedded image information is displayed in real time.
[0050]
When the shutter key 9 constituting the key input unit 36 is operated at a timing at which the user wants to take a still image while the image at that time is displayed on the display unit 17 in real time as a monitor image, a trigger signal is generated. Occurs.
[0051]
The control unit 32 stops the path from the CCD 23 to the DRAM 31 immediately after the completion of the DMA transfer of the luminance and color difference signals for one screen taken from the CCD 23 to the DRAM 31 at that time in response to the trigger signal, Transit to the record save state.
[0052]
In this recording and storage state, the control unit 32 transmits the luminance and chrominance signals for one frame written in the DRAM 31 via the DRAM interface 30 to each of the Y, Cb, and Cr components by 8 pixels by 8 pixels. Is written in a unit called a basic block of JPEG (Joint Photograph Coding Experts Group) circuit 37, and the JPEG circuit 37 is an adaptive discrete cosine transform (ADCT) and entropy coding system. Data compression by processing such as conversion.
[0053]
Then, the obtained code data is read out from the JPEG circuit 37 as a data file of one image, and the memory card 38 which is removably mounted as a recording medium of the digital camera 1 or is fixedly incorporated in the digital camera 1. The data is written into one of the built-in memories 39.
[0054]
Then, with the compression processing of the luminance and chrominance signals for one frame and the completion of the writing of all the compressed data to the memory card 38 or the built-in memory 39, the control unit 32 activates the path from the CCD 23 to the DRAM 31 again.
[0055]
The control unit 32 is further connected to an audio processing unit 40, a USB interface (I / F) 41, and a flash drive unit 42.
[0056]
The sound processing unit 40 includes a sound source circuit such as a PCM sound source. When recording a sound, the sound processing unit 40 digitizes the sound signal input from the microphone unit (MIC) 5 and converts the sound signal into a predetermined data file format, for example, an MP3 (MPEG-1 audio layer). 3) Create an audio data file by data compression in accordance with the standard and send it to the memory card 38 or the built-in memory 39, while compressing the audio data file sent from the memory card 38 or the built-in memory 39 when playing back the sound. The analog signal is converted into an analog signal, and the loudspeaker (SP) 11 is driven to emit a loudspeaker.
[0057]
The USB interface 41 performs communication control when transmitting and receiving image data and the like to and from another information terminal device such as a personal computer connected by wire through a USB connector.
[0058]
The strobe driving unit 42 flashes the strobe light emitting unit 6 based on the control from the control unit 32 after charging a large-capacity strobe capacitor (not shown) at the time of capturing a still image.
[0059]
The key input unit 36 includes the power key 8, the mode switch 10, the menu key 12, the cross key 13, the set key 14, and the like in addition to the shutter key 9 described above. This signal is sent directly to the control unit 32.
[0060]
However, at the time of shooting a moving image instead of a still image, a memory card of a still image data file obtained by compressing the still image data by the JPEG circuit 37 while the shutter key 9 of the key input unit 36 is continuously operated. 38 or the recording to the built-in memory 39 is executed continuously in time, and when the operation of the shutter key 9 is completed, or when a predetermined time limit, for example, 30 seconds has elapsed, the series of still image data files is stored. Collectively reset as a motion JPEG data file.
[0061]
Also, in the reproduction mode which is the basic mode, the control unit 32 selectively reads out the image data recorded in the memory card 38 or the built-in memory 39, and the procedure completely reverses the procedure in which the JPEG circuit 37 compresses the data in the recording mode. The compressed image data is decompressed, and the decompressed image data is stored in the DRAM 31 via the DRAM interface 30. The stored content of the DRAM 31 is stored in the VRAM 34 via the VRAM controller 33. The image data is periodically read out to generate a video signal, and the display unit 17 reproduces and outputs the video signal.
[0062]
If the selected image data is not a still image but a moving image, the individual still image data constituting the selected moving image file is played back continuously in time, and the playback of all still image data ends. At this point, reproduction and display are performed using only the still image data located at the head until the next reproduction instruction is issued.
[0063]
Next, the operation of the above embodiment will be described.
The following processes are basically executed by the control unit 32 based on a program fixedly stored in advance.
[0064]
FIG. 3 shows the contents of processing in the recording mode. At first, the process waits until the shutter key 9 of the key input unit 36 is half-pressed (step A01).
[0065]
That is, the shutter key 9 detects a pressing operation with a two-stage stroke, locks the photographing condition in the first-stage operation, so-called half-pressed state, and actually locks in the second-stage operation, so-called full-press state. Is performed.
[0066]
When the shutter key 9 is half-pressed, this is determined in step A01, AF processing is performed to obtain a focus position, and at the same time a focus evaluation value is obtained (step A02), then AE (automatic exposure) An aperture value and a shutter speed for obtaining an appropriate exposure are obtained by the processing (step A03), and the photographing conditions are locked.
[0067]
FIG. 4 illustrates the focus evaluation value obtained during the AF processing. When a focusing lens among a plurality of lenses constituting the lens optical system 22 is moved, the sharpness (contrast value) of the obtained image is set to the apex position at the apex and becomes lower as the focus position deviates. Therefore, for the image obtained at that time, the position where the contrast value becomes highest by moving the focusing lens is set as the focus position, and the contrast value is acquired and held as the focus evaluation value of the image. It is.
[0068]
By repeatedly determining whether or not the shutter key 9 is fully pressed (step A04) and whether or not the shutter key 9 is still half-pressed (step A05) from the state in which the photographing conditions are locked, the shutter is released. While confirming that the key 9 is half-pressed, it waits until the key 9 is fully pressed.
[0069]
Here, when the half-pressed state of the shutter key 9 is released, this is determined in step A05, the lock of the shooting condition is unlocked, and the process returns to step A01 again.
[0070]
Then, when the shutter key 9 is fully pressed, this is determined in step A04, and the state shifts to the image data recording / saving state. That is, after obtaining image data by imaging (step A06), a contrast value as a focus evaluation value is obtained from the obtained image data as in the case of step A02 (step A07).
[0071]
Next, the focus evaluation value obtained from the photographed image is compared with the focus evaluation value obtained at the time of the AF processing in step A02 as a reference, and it is determined whether or not blur has occurred depending on whether or not the focus evaluation value is within a predetermined range. (Step A08).
[0072]
When it is determined that the focus evaluation value obtained from the photographed image is out of the predetermined range with respect to the focus evaluation value obtained at the time of the AF processing and blur has occurred, a warning message indicating that blur has occurred is issued. For example, after displaying and outputting on the display unit 17 (step A09), the image data obtained by shooting is filed and stored in the memory card 38 or the built-in memory 39 (step A10). Then, the process returns to step A01 to prepare for the next photographing again.
[0073]
The display of the warning message indicating that the blur has occurred may be performed after recording and saving (step A10).
[0074]
If it is determined in step A08 whether or not blur has occurred, and if it is determined that blur has occurred, blur correction may be performed instead of displaying a warning message in step A09. Good. In this case, the blur correction may be performed using a technique generally used in image processing or the like, and the details thereof will not be described herein.
[0075]
By performing the blur correction in this way, even when the captured image is blurred, the user can automatically record the image in which the blur is suppressed without concern.
[0076]
FIG. 5 illustrates a blur warning message displayed on the display unit 17 in step A09.
FIG. 5A shows an example centered on the text message “blur warning!”. The text message is displayed on the display unit 17 by superimposing the text message on the captured image, and the Is visually warned to the user.
FIG. 5B illustrates a person and a symbol imitating the fluctuation of the person. The symbol is superimposed on the captured image and displayed on the display unit 17 as in FIG. 5A. This visually warns the user that the blur has occurred.
[0077]
If it is determined in step A08 that the focus evaluation value obtained from the captured image is within a predetermined range with respect to the focus evaluation value obtained at the time of the AF processing, and that no blurring has occurred, By omitting the processing of step A09, the image data obtained by the photographing is filed as it is, and recorded and saved in the memory card 38 or the built-in memory 39 (step A10). The process returns to step A01 to prepare for the next photographing again.
[0078]
As described above, if the camera performs AF, the image blur is detected from the change of the calculated focus evaluation value, so that dedicated sensors such as an acceleration sensor for detecting the blur are not required. Not only that, but also on software, the determination can be made based on only a change of one parameter called a focus evaluation value without using image data, and therefore, image blur can be detected extremely easily.
[0079]
In particular, since a camera that performs AF of a contrast method calculates an in-focus evaluation value from the image sharpness of image data, it does not originally require sensors for AF as a camera that performs AF of an active method. The present invention can be applied to shake detection while keeping the configuration of the camera simple.
[0080]
Further, in the above-described embodiment, the occurrence of blur due to a character message, a symbol mark, or the like is displayed and output on the display unit 17. Therefore, even if a blur occurs, the user can immediately recognize the blur and shift to shooting again.
[0081]
In the above-described embodiment, the description has been given assuming that the display unit 17 displays a character message, a symbol mark, and the like accompanying the detection of a shake. However, the present invention is not limited to this. Lighting driving may be performed in a color or blinking pattern, or furthermore, not limited to a visual warning, and may be output from a speaker unit 11 as a voice message or a beep sound.
[0082]
In this case, even when the user of the digital camera 1 is looking into the optical viewfinder 15 without using the display unit 17 for displaying the through image on the monitor, the detection of the blur can be recognized.
[0083]
Further, in the processing content in the recording mode shown in FIG. 3, it has been described that the image data obtained by the photographing is recorded in the memory card 38 or the built-in memory 39 regardless of whether or not the blur is detected. Alternatively, when occurrence of blurring is detected during image capturing, whether or not to record the image data may be left to the user's judgment.
[0084]
Hereinafter, another operation example of the present embodiment will be described with reference to FIG.
In the case of FIG. 6, since the operation contents are completely the same up to step A08 in FIG. 3, the same steps are denoted by the same reference numerals and the description of the processing contents up to step S08 is omitted.
[0085]
However, if it is determined in step A08 that the focus evaluation value obtained from the captured image is out of the predetermined range with respect to the focus evaluation value obtained at the time of the AF processing, and that blurring has occurred, blurring has occurred. For example, a warning message as shown in FIG. 5 (A) or FIG. 5 (B) is output and displayed on the display unit 17 and
"The captured image may be blurred
Do you want to record images?
Yes, No"
A message prompting the user to select the presence or absence of a record is displayed using a text message such as “”. On the other hand, for example, the operation of responding to the selection after the “Yes” side is highlighted as a tentative selection state (step A11). The process waits for the execution (Step A12).
[0086]
Then, when it is determined that a response operation has been performed, it is next determined whether or not the recording is approved based on the operation content (step A13).
[0087]
Here, if it is determined that the “No” side has been selected as the response operation to the text message, the shooting and recording operations corresponding to the operation of the shutter key 9 at that time are performed in response to the operation. The process is interrupted, and the process returns to step A01.
[0088]
If it is determined in step A13 that the "yes" side has been selected as the response operation to the text message, the image data obtained by shooting is filed and stored in the memory card 38 or the built-in memory 39. (Step A10) The above-described series of processes related to photographing are completed, and the process returns to step A01 to prepare for the next photographing.
[0089]
If it is determined in step A08 that the focus evaluation value obtained from the captured image is within a predetermined range with respect to the focus evaluation value obtained at the time of the AF processing, and that no blurring has occurred, By omitting the processing of steps A11 to A13, the image data obtained by the shooting is directly converted into a file and recorded and stored in the memory card 38 or the built-in memory 39 (step A10). Then, the process returns to the process from step A01 to prepare for the next photographing again.
[0090]
As described above, in addition to the effect on the operation described in the processing contents of FIG. 3 described above, when blurring during shooting is detected, the fact is notified and notified, and then whether or not to execute recording is left to the user. As a result, the user can arbitrarily select to record an image captured.
[0091]
In the above-described embodiment, the focus evaluation value obtained from the captured image is simply compared with the focus evaluation value obtained at the time of the AF processing in step A02, and the blur is determined based on whether the focus evaluation value is within a predetermined range. Although it has been described that it is determined whether or not the blur has occurred, instead of performing the processing corresponding to the presence or absence of the blur alternatively, the degree of the blur is displayed on the display unit 17 and the May be selected to determine whether or not recording is performed.
FIG. 7 shows a display example of such a bar graph BG on the display unit 17, in which the lower left end of the screen is obtained from the photographed image based on the focus evaluation value obtained during the AF processing. Since the focus evaluation value is only about 1/3, and the contrast is greatly reduced, it indicates that there is a great concern about occurrence of blur.
[0092]
By notifying and outputting the specific degree of occurrence of the blur as described above, the user himself / herself can determine whether or not to shift to shooting again in accordance with the degree of the generated blur.
[0093]
Further, as described above, the detection of blur is calculated from the focus evaluation value. The focus evaluation value is calculated using only the “spot AF” calculated only from the center area of the image, or the focus area is determined by focusing on the center area. May be based on “center-weighted AF”, which is calculated in consideration of the area described above, or may be based on “multi-point AF”, which mainly detects a plurality of predetermined areas in an image.
[0094]
FIG. 8 illustrates a case where a total of three focus areas are arranged on the left and right sides of the focus area AFA with the center of the image interposed therebetween. AF processing is executed at each of the three places, and the closest AF processing is performed. The focus evaluation value in the area AFA at a distance is selected, and is used as the overall focus evaluation value.
[0095]
As described above, by calculating the focus evaluation value from a plurality of regions, accurate AF processing can be performed corresponding to various compositions, and as a result, the occurrence of blur can be detected with higher accuracy. Also leads to.
[0096]
Further, in the above embodiment, the focus evaluation value obtained at the time of the AF processing is compared with the focus evaluation value obtained at the time of shooting, and it is determined whether or not blur has occurred depending on whether or not the focus evaluation value is within a predetermined range. For example, in a through image captured from a CCD after shooting, the shutter key is pressed halfway to obtain a focus evaluation value, and the focus evaluation values before and after shooting are compared. It may be determined whether or not the error has occurred.
[0097]
By comparing the focus evaluation values a plurality of times in this way, the occurrence of blur can be detected with higher accuracy.
[0098]
Although the above-described embodiment is applied to a digital camera, the present invention is not limited to this, and a mobile phone or a PDA (Personal Digital Assistant: personal digital assistant) having a camera function for performing AF processing is provided. Similarly, the present invention can be applied to portable information terminals).
[0099]
In addition, the present invention is not limited to the above-described embodiment, and can be variously modified and implemented without departing from the gist thereof.
[0100]
Furthermore, the above embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent features. For example, even if some components are deleted from all the components shown in the embodiments, at least one of the problems described in the column of the problem to be solved by the invention can be solved and the effects described in the column of the effect of the invention can be solved. When at least one of the effects described above is obtained, a configuration from which this component is deleted can be extracted as an invention.
[0101]
【The invention's effect】
According to the first aspect of the present invention, if the apparatus performs AF (automatic focusing), the image blur is detected from a change in the calculated focus evaluation value, so that a sensor or the like is not required. Instead, it is possible to judge only by a change of one parameter called a focus evaluation value without using image data on software, so that image blur can be detected very easily.
[0102]
According to the second aspect of the present invention, in addition to the effect of the first aspect of the present invention, when a blur is detected, a warning is given to the user to recognize the blur, so that the user can immediately take a picture again. Then, it is possible to shift to a coping operation.
[0103]
According to the third aspect of the invention, in addition to the effect of the first aspect of the invention, it is possible to capture an image in which the generated blur is corrected and the blur is always suppressed.
[0104]
According to the fourth aspect of the present invention, in addition to the effect of the second aspect of the present invention, for example, the occurrence of blurring is displayed and output on a screen of a monitor display unit by a text message or a symbol mark. Even when the image is generated, it is possible to visually recognize this immediately and shift to photographing again.
[0105]
According to the fifth aspect of the invention, in addition to the effect of the second aspect of the invention, since the occurrence of blurring is output by, for example, a voice message or a beep sound, the user remains in the optical viewfinder. In this state, it is possible to immediately recognize the occurrence of blurring and shift to shooting again.
[0106]
According to the invention described in claim 6, in addition to the effect of the invention described in claim 2, the user himself / herself can determine whether or not to shift to shooting again in accordance with the degree of blurring that has occurred.
[0107]
According to the seventh aspect of the present invention, in addition to the effect of the first aspect of the present invention, a general apparatus equipped with a contrast type AF function can easily shake without adding any other circuit or the like. Occurrence can also be detected.
[0108]
According to the invention of claim 8, in addition to the effect of the invention of claim 1, the occurrence of blur can be detected with higher accuracy.
[0109]
According to the ninth aspect of the present invention, in addition to the effect of the second aspect of the present invention, it is possible to select the recording of an image arbitrarily shot by the user after warning of the occurrence of the blur.
[0110]
According to the tenth aspect of the present invention, if the apparatus performs AF, the image blur is detected from a change in the calculated focus evaluation value, so that not only the sensor is not required but also the software is used. Can be determined only by a change in one parameter called a focus evaluation value without using image data, so that blurring of an image can be detected very easily.
[0111]
According to the eleventh aspect of the present invention, if the apparatus performs AF, the image blur is detected from the change of the calculated focus evaluation value, so that not only the sensor is not required but also the software Can be determined only by a change in one parameter called a focus evaluation value without using image data, so that blurring of an image can be detected very easily.
[Brief description of the drawings]
FIG. 1 is a perspective view showing an external configuration of a digital camera according to an embodiment of the present invention.
FIG. 2 is a block diagram showing a configuration of an electronic circuit according to the embodiment.
FIG. 3 is a flowchart showing still image shooting processing in a recording mode according to the embodiment;
FIG. 4 is an exemplary view showing a display screen at the time of a shake detection warning according to the embodiment;
FIG. 5 is an exemplary view showing a blur warning message displayed on the screen according to the embodiment;
FIG. 6 is a flowchart showing another processing content of still image shooting in the recording mode according to the embodiment;
FIG. 7 is an exemplary diagram showing a display example of the degree of blurring generated on the display unit according to the embodiment;
FIG. 8 is a view showing an example of the arrangement of a plurality of focus areas according to the embodiment;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Digital camera, 2 ... Shooting lens, 3 ... Self-timer lamp, 4 ... Optical finder window, 5 ... Microphone unit (MIC), 6 ... Strobe light emitting unit, 7 ... Rubber grip, 8 ... Power key, 9 ... Shutter key , 10 mode switch (SW), 11 speaker unit (SP), 12 menu key, 13 cross key, 14 set key, 15 optical finder, 16 strobe charge lamp, 17 display unit, 21 Motor (M), 22: Lens optical system, 23: CCD, 24: Timing generator (TG), 25: Vertical driver, 26: Sample / hold circuit (S / H), 27: A / D converter, 28: Color process circuit, 29 DMA controller, 30 DRAM interface (I / F), 31 DRAM, 32 controller, 33 VRAM controller , VRAM, 35 digital video encoder, 36 key input unit, 37 JPEG circuit, 38 memory card, 39 internal memory, 40 audio processing unit, 41 USB interface (I / F), 42: Strobe drive unit, AFA: Focus area, BG: Bar graph.

Claims (11)

被写体像を撮影してデジタル値の画像データを得る撮影手段と、
この撮影手段で得た画像データから合焦評価値を算出する算出手段と、
この算出手段で算出した複数の画像データの合焦評価値を比較して画像のぶれを検出するぶれ検出手段と
を具備したことを特徴とする撮影装置。
Photographing means for photographing a subject image to obtain digital value image data;
Calculating means for calculating a focus evaluation value from image data obtained by the photographing means;
An image-capturing apparatus comprising: a blur detection unit configured to compare a focus evaluation value of a plurality of image data calculated by the calculation unit and detect a blur of an image.
上記ぶれ検出手段での検出結果に応じてぶれの発生を警告出力する警告手段をさらに具備したことを特徴とする請求項1記載の撮影装置。2. The photographing apparatus according to claim 1, further comprising a warning unit that outputs a warning of occurrence of a blur according to a detection result of the blur detection unit. 上記ぶれ検出手段での検出結果に応じてぶれの補正を行なうぶれ補正手段をさらに具備したことを特徴とする請求項1記載の撮影装置。2. The photographing apparatus according to claim 1, further comprising: a shake correcting unit that performs shake correction in accordance with a detection result of the shake detecting unit. 上記警告手段は、ぶれの発生を示す視覚情報を表示出力することを特徴とする請求項2記載の撮影装置。3. The photographing apparatus according to claim 2, wherein said warning means displays and outputs visual information indicating occurrence of blur. 上記警告手段は、ぶれの発生を示す音声情報を拡声出力することを特徴とする請求項2記載の撮影装置。3. The photographing apparatus according to claim 2, wherein the warning unit outputs voice information indicating occurrence of blurring. 上記ぶれ検出手段は、ぶれの度合いを検出し、
上記警告手段は、上記ぶれ検出手段が検出したぶれの度合いを併せて出力することを特徴とする請求項2記載の撮影装置。
The blur detecting means detects a degree of blur,
3. The photographing apparatus according to claim 2, wherein the warning unit outputs the degree of blur detected by the blur detection unit.
上記算出手段は、画像データの像鮮鋭度から合焦評価値を算出することを特徴とする請求項1記載の撮影装置。2. The photographing apparatus according to claim 1, wherein said calculating means calculates a focus evaluation value from an image sharpness of the image data. 上記算出手段は、画像データ中の複数の領域から合焦評価値を算出することを特徴とする請求項1記載の撮影装置。2. The photographing apparatus according to claim 1, wherein said calculating means calculates a focus evaluation value from a plurality of regions in the image data. 上記撮影手段により得た画像データを記録する記録手段と、
上記警告手段での警告に対して画像データの記録の実行の有無を指示する指示手段と、
この指示手段での指示内容に応じて上記撮影手段で得た画像データの記記録手段への記録の実行の有無を制御する記録制御手段と
をさらに具備したことを特徴とする請求項2記載の撮影装置。
Recording means for recording image data obtained by the photographing means,
Instruction means for instructing whether or not to execute recording of image data in response to the warning by the warning means,
3. A recording control unit according to claim 2, further comprising a recording control unit for controlling whether or not to execute recording of the image data obtained by said photographing unit on said recording unit in accordance with the contents of said instruction unit. Shooting equipment.
被写体像を撮影してデジタル値の画像データを得る撮影工程と、
この撮影工程で得た画像データから合焦評価値を算出する算出工程と、
この算出工程で算出した複数の画像データの合焦評価値を比較して画像のぶれを検出するぶれ検出工程と
を有したことを特徴とする撮影装置のぶれ検出方法。
A photographing step of photographing a subject image to obtain digital value image data;
A calculating step of calculating a focus evaluation value from the image data obtained in the photographing step;
A blur detection step of comparing focus evaluation values of a plurality of image data calculated in the calculation step and detecting blur of the image.
撮影装置に内蔵されたコンピュータに実行させるプログラムであって、
被写体像を撮影してデジタル値の画像データを得る撮影ステップと、
この撮影ステップで得た画像データから合焦評価値を算出する算出ステップと、
この算出ステップで算出した複数の画像データの合焦評価値を比較して画像のぶれを検出するぶれ検出ステップと
をコンピュータに実行させることを特徴とするプログラム。
A program to be executed by a computer built in the imaging device,
A photographing step of photographing a subject image to obtain digital value image data;
A calculating step of calculating a focus evaluation value from the image data obtained in the photographing step;
A computer-readable storage medium storing a program for causing a computer to execute a blur detection step of detecting a blur of an image by comparing focus evaluation values of a plurality of image data calculated in the calculation step.
JP2003105450A 2003-04-09 2003-04-09 Photographing equipment, blurring detection method of photographing equipment, and program Pending JP2004312536A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003105450A JP2004312536A (en) 2003-04-09 2003-04-09 Photographing equipment, blurring detection method of photographing equipment, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003105450A JP2004312536A (en) 2003-04-09 2003-04-09 Photographing equipment, blurring detection method of photographing equipment, and program

Publications (1)

Publication Number Publication Date
JP2004312536A true JP2004312536A (en) 2004-11-04

Family

ID=33467957

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003105450A Pending JP2004312536A (en) 2003-04-09 2003-04-09 Photographing equipment, blurring detection method of photographing equipment, and program

Country Status (1)

Country Link
JP (1) JP2004312536A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8465415B2 (en) 2009-07-23 2013-06-18 Olympus Corporation Endoscope apparatus and measurement method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8465415B2 (en) 2009-07-23 2013-06-18 Olympus Corporation Endoscope apparatus and measurement method

Similar Documents

Publication Publication Date Title
JP4761146B2 (en) Imaging apparatus and program thereof
JP2006174105A (en) Electronic camera and program
TWI459126B (en) Image processing device capable of generating a wide-range image, image processing method and recording medium
JP2009147730A (en) Moving image generating apparatus, moving image shooting apparatus, moving image generating method, and program
JP4697078B2 (en) Imaging apparatus and program thereof
TWI492618B (en) Image pickup device and computer readable recording medium
JP4408456B2 (en) Information processing device
JP2006033724A (en) Information processing apparatus and information processing method
JP4609315B2 (en) Imaging device, method of displaying angle frame at zoom, and program
JP4429394B2 (en) Information processing apparatus and recording medium
JP4570171B2 (en) Information processing apparatus and recording medium
JP4379921B2 (en) Imaging apparatus and program thereof
JP4045377B2 (en) Information processing apparatus and recording medium
JP4828486B2 (en) Digital camera, photographing method and photographing program
JP4360395B2 (en) Information processing device
JP2005278003A (en) Image processing apparatus
JP4558108B2 (en) Information processing apparatus, information processing method, and recording medium
JP2004312536A (en) Photographing equipment, blurring detection method of photographing equipment, and program
JP2007088747A (en) Image reproduction display method and device, and imaging device
JP2007013586A (en) Image pickup device
JP2005215495A (en) Image photographing device
JP2006094200A (en) Imaging apparatus, focusing display method, and program
JP5648563B2 (en) Image processing apparatus, image processing method, and program
JP2007259485A (en) Information processing apparatus and recording medium
JP2006145567A (en) Camera, method for notifying camera shake amount of camera, and program