JP4017419B2 - Digital camera - Google Patents

Digital camera Download PDF

Info

Publication number
JP4017419B2
JP4017419B2 JP2002053195A JP2002053195A JP4017419B2 JP 4017419 B2 JP4017419 B2 JP 4017419B2 JP 2002053195 A JP2002053195 A JP 2002053195A JP 2002053195 A JP2002053195 A JP 2002053195A JP 4017419 B2 JP4017419 B2 JP 4017419B2
Authority
JP
Japan
Prior art keywords
circuit
focus
subject
photographing
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2002053195A
Other languages
Japanese (ja)
Other versions
JP2003259188A (en
Inventor
徹 山本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2002053195A priority Critical patent/JP4017419B2/en
Publication of JP2003259188A publication Critical patent/JP2003259188A/en
Application granted granted Critical
Publication of JP4017419B2 publication Critical patent/JP4017419B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)
  • Focusing (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、ディジタルカメラに関し、特にたとえばフォーカスレンズを通して撮影した被写体の画像信号を記録する、ディジタルカメラに関する。
【0002】
【従来技術】
最近のディジタルカメラの多くは、オートフォーカス機能を搭載している。このオートフォーカス機能によれば、被写体にフォーカス調整エリア(一般には画面(全撮影エリア)の中央付近)を合わせてシャッタボタンを半分ほど押し込むと、つまり半押しすると、自動的にその被写体にピントが合う。そして、さらにシャッタボタンを押し込むと、つまり全押しすると、撮影が実行される。したがって、カメラ操作に不慣れな人でも、比較的容易にピントの合った撮影をすることができる。
【0003】
【発明が解決しようとする課題】
しかし、オートフォーカス機能を搭載していても、動きの速い被写体を正確なピントで撮影するのは難しい。また、このような被写体を気に入った構図で(たとえば画面の中央に置いて)撮影するのも容易ではない。特に、被写体が走り回る子供などのようにランダムに動き回る場合には、この傾向が顕著となり、折角のシャッタチャンスを逃しかねない、という問題がある。
【0004】
それゆえに、この発明の主たる目的は、シャッタチャンスを適確に捉えることができる、ディジタルカメラを提供することである。
【0005】
【課題を解決するための手段】
この発明に従うディジタルカメラは、フォーカスレンズを通して被写体を撮影する撮影手段、撮影手段から出力された画像信号に基づいて被写体に対するフォーカスレンズの合焦情報を作成する合焦情報作成手段、撮影手段から出力された画像信号に基づいて撮影領域における被写体の位置情報を作成する位置情報作成手段、合焦情報作成手段によって作成された合焦情報と位置情報作成手段によって作成された位置情報とに重み付け加算を施す加算手段、および加算手段の重み付け加算によって得られた加算値と閾値との比較結果に基づいて撮影手段から出力された画像信号に記録処理を施す記録手段を備える。
【0006】
【作用】
この発明では、フォーカスレンズを通して撮影した被写体の画像信号が、撮影手段から出力される。この画像信号に基づいて、合焦情報作成手段が合焦情報を作成し、位置情報作成手段が位置情報を作成する。加算手段は、合焦情報作成手段によって作成された合焦情報と位置情報作成手段によって作成された位置情報とに重み付け加算を施す。記録手段は、加算手段の重み付け加算によって得られた加算値と閾値との比較結果に基づいて、撮影手段から出力された画像信号に記録処理を施す。
【0008】
み付け加算における合焦情報および位置情報の各々に対する重み付けの比率を任意に変更する比率変更手段をさらに設けてもよい。このようにすれば、撮影を実行する上で、合焦の程度および被写体の位置の各々にどれくらいの重点を置くのかを、任意に設定できる。
【0009】
また、閾値を任意に変更するための閾値変更手段をさらに設けてもよい。すなわち、撮影を実行するか否かの判断基準となる当該閾値を、任意に設定できるようにしてもよい。
【0010】
【発明の効果】
この発明によれば、被写体に対するフォーカスレンズの合焦程度および撮影領域における被写体の位置に基づいて撮影が実行されるので、動き回る被写体でも正確なピントでかつ気に入った構図で撮影することができる。つまり、シャッタチャンスを適確に捉えることができる。
【0011】
この発明の上述の目的,その他の目的,特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。
【0012】
【実施例】
図1を参照して、この実施例のディジタルカメラ10は、フォーカスレンズ12を通して被写体の光学像が入射されるCCD(Charge Coupled Device)型固体撮像素子(以下、単にCCDと言う。)14を内蔵している。このCCD14は、タイミングジェネレータ(Timing Generator:以下、TGと言う。)16から供給されるタイミング信号に従って、被写体の光学像を露光するとともに当該露光によって蓄積された電荷を画像信号として出力する。
【0013】
すなわち、図示しない電源スイッチがONされると、これに応答して、CPU18が撮影モードに入る。この撮影モードにおいて、CPU18は、TG16に対してプリ露光および間引き読み出しの繰り返しを命令する。TG16は、この命令に応答して、自身が発する垂直同期信号に同期してプリ露光を実行するとともに当該プリ露光によって蓄積された電荷の一部を次のフレーム期間で出力するよう上述のタイミング信号をCCD14に供給する。これによって、CCD14からは低解像度の画像信号が1フレーム毎に出力される。出力された各フレームの画像信号は、CDS(Correlated Double Sampling)/AGC(Automatic Gain Control)回路20に入力される。
【0014】
CSD/AGC回路20は、入力された画像信号に相関二重サンプリング処理および増幅処理を順次施す。そして、この処理後の画像信号をA/D変換器22に入力する。A/D変換器22は、入力された画像信号をディジタル信号である画像データに変換し、この変換後の画像データを信号処理回路24に入力する。なお、これらCSD/AGC回路20およびA/D変換器22の各動作もまた、TG16から与えられる上述とは別のタイミング信号によって制御される。
【0015】
信号処理回路24は、入力された画像データに色分離,白バランス調整,ガンマ補正,YUV変換等の一連の処理を施し、これによって生成されたYUVデータをビデオエンコーダ26に入力する。ビデオエンコーダ26は入力されたYUVデータをNTSC方式の複合画像信号に変換し、当該複合画像信号を液晶モニタ28に入力する。これによって、液晶モニタ28の画面に、被写体のリアルタイム動画像(スルー画像)が表示される。
【0016】
この状態で、シャッタボタン30が押下されると、CPU18は、撮影処理に入り、その手始めとしてフォーカス調整および露出調整を行う。すなわち、CPU18は、まず、TG16に対してプリ露光および全画素読み出しの繰り返しを命令する。TG16は、この命令に応答して、垂直同期信号に同期してプリ露光を実行するとともに当該プリ露光によって蓄積された全電荷を次のフレームで出力するようCCD14に対しタイミング信号を供給する。これによって、CCD14から高解像度の画像信号が1フレーム毎に出力され、これら各フレームの画像信号は、上述と同様にCDS/AGC回路20およびA/D変換器22を介して信号処理回路24に入力される。
【0017】
信号処理回路20は、入力された画像データに上述の色分離,白バランス調整およびYUV変換を施してYUVデータを生成する。そして、このYUVデータを形成するY(輝度)データを、輝度評価回路32およびフォーカス評価回路34に入力する。輝度評価回路32は、入力されたYデータを1フレーム毎に積分することによって、被写体像の輝度の程度を表す輝度評価値を算出する。一方、フォーカス評価回路34は、当該Yデータの高域周波数成分を1フレーム毎に積分することによって(コントラスト検出方式)、被写体に対するフォーカスレンズ12の合焦の程度を表すフォーカス評価値を算出する。これら算出された輝度評価値およびフォーカス評価値は、CPU18に入力される。
【0018】
CPU18は、フォーカス評価値に基づいてフォーカスドライバ36を制御し、フォーカスレンズ12を合焦位置に設定する。これと同時に、CPU18は、輝度評価値に基づいて最適露光期間を算出し、当該最適露光期間をTG16に設定する。
【0019】
このようなフォーカス調整および露出調整を終えた後、CPU18は、本撮影動作に移る。具体的には、TG16に対して1フレーム分の本露光および全画素読み出しを命令するととともに、圧縮伸長回路38に対して圧縮処理を命令する。TG16は、CPU18からの命令に応答して、設定された最適露光期間に従う本露光を実行するとともに当該本露光によって蓄積された全電荷を出力するようCCD14に対しタイミング信号を供給する。これによって、CCD14から1フレーム分の高解像度の画像信号が出力され、この画像信号は、CDS/AGC回路20およびA/D変換器22を介して信号処理回路24に入力される。信号処理回路24では、上述の一連の処理が実行され、これによって生成されたYUVデータが圧縮伸長回路38に入力される。圧縮伸長回路38は、CPU18からの圧縮処理命令に応答して当該入力されたYUVデータをJPEG(Joint Photographic Expert Group)方式で圧縮する。そして、この圧縮処理によって生成したJPEG画像ファイルを、メモリカード40に記録する。
【0020】
このようにしてメモリカード40に記録した画像(JPEG画像ファイル)は、再生モードによって再生することができる。すなわち、メニューキー42の操作によって再生モードに入ると、CPU18は、圧縮伸長回路38に対してJPEG画像ファイルの読み出しおよび伸長処理を命令する。圧縮伸長回路38は、この命令に応答して、メモリカード40からJPEG画像ファイルを読み出すとともに、読み出したJPEG画像ファイルを伸長して元のYUVデータに戻す。このYUVデータは、信号処理回路24を介してビデオエンコーダ26に転送され、ここでNTSC方式の複合画像信号に変換される。変換後の複合画像信号は、液晶モニタ28に入力され、これによって液晶モニタ28の画面に再生画像が映し出される。
【0021】
なお、再生モードにおいては、再生画像を1枚ずつ表示させることもできるし、複数枚の再生画像をマルチ表示させることもできる。このようにいずれの態様で再生画像を表示させるかは、メニューキー42の操作によって選択できるが、これについてはこの発明の本旨に直接関係しないので、ここではこれ以上の詳しい説明を省略する。
【0022】
ところで、この実施例のディジタルカメラ10は、動きの速い被写体やランダムに動き回る被写体を撮影するのに適した動体自動撮影機能を備えている。この動体自動撮影機能によれば、当該動く被写体を正確なピントでかつ画面の中央付近に置いた構図で撮影することができる。これを実現するために、この実施例のディジタルカメラ10は、信号処理回路24から上述したYデータが入力される撮影条件評価回路50を備えている。図2に、撮影条件評価回路50の詳細な構成を示す。
【0023】
図2に示すように、撮影条件評価回路50は、対象物位置評価回路52,合焦率変換回路54および比率変換回路56を含み、これらのうちの対象物位置評価回路52に上述のYデータが入力される。対象物位置評価回路52は、入力されるYデータに基づいて画面(撮影領域)上における被写体の位置を表す位置評価値を算出する。ここで、この対象物位置評価回路52について、図3および図4を参照して詳しく説明する。
【0024】
図3を参照して、対象物位置評価回路52は、輪郭抽出回路70,2値化回路72,重心検出回路74および位置判定回路76を含む。対象物位置評価回路52に入力されたYデータは、まず、輪郭抽出回路70において輪郭抽出処理を施される。具体的には、輪郭抽出回路70は、周知のフレーム間差分方式(現在のフレームの画像データとその前のフレームの画像データとの差分を取る方式)に基づいて当該Yデータから被写体の輪郭を抽出する。抽出された輪郭を示す輪郭データは、2値化回路72によって2値化され、2値データは、重心検出回路74に入力される。重心検出回路74は、入力された2値データから被写体の重心Gを算出し、この算出した重心Gを示す重心データを位置判定回路76に入力する。
【0025】
位置判定回路76は、図4に示すように、画面の全エリアを当該画面の中央Oを中心とする同心状の10個の矩形エリア80,80,・・・に分割するとともに、これらの矩形エリア80,80,・・・に対して画面の外方にあるのものから順に“1”〜“10”までの数値を付している。そして、被写体(同図では人間)の重心Gがいずれの矩形エリア80に位置しているのかを判定し、その矩形エリア80に付されている数値を上述の位置評価値として出力する。したがって、被写体(重心G)が画面の中央Oに近いほど、位置評価値の数値は大きくなる。なお、被写体が複数存在する場合は、各々の被写体(重心G)の位置する矩形エリア80に付された数値の平均値を、当該位置評価値とする。この位置評価値は、図2に示す乗算回路58に入力される。
【0026】
一方、合焦率変換回路54には、フォーカス評価回路34から上述のフォーカス評価値が入力される。合焦率変換回路54は、入力されたフォーカス評価値を“1”〜“10”までの数値に変換して、この変換後の評価値を上述とは別の乗算回路60に入力する。なお、合焦率変換回路54は、合焦率が高いほど大きい数値のフォーカス評価値を出力する。
【0027】
比率変換回路56には、CPU18から重み付けデータが入力される。この重み付けデータとは、互いに足し合わせて“1”になる2つの数値αおよびβを含み、この数値の一方αは位置評価値が入力される側の乗算回路58に入力され、他方の数値βは変換後のフォーカス評価値が入力される側の乗算回路60に入力される。なお、各数値αおよびβは、メニューキー42の操作によって任意に設定することができる。
【0028】
乗算回路58は、位置評価値および数値αを互いに乗算して、この乗算結果を加算回路62に入力する。これと同様に、他方の乗算回路60も、入力されるフォーカス評価値および数値βを互いに乗算して、この乗算結果を加算回路62に入力する。加算回路62は、各々の乗算回路58および60から入力される乗算結果を加算して、この加算結果を判定回路64に入力する。
【0029】
判定回路64には、加算回路62による加算結果の他に、CPU18から判定レベルデータ(閾値データ)も入力される。判定回路64は、これら加算結果と判定レベルデータが示す閾値とを比較する。ここで、当該加算結果が閾値以上であるとき、判定回路64は、F=1という判定データを出力する。一方、加算結果が閾値よりも小さいとき、判定回路64は、F=0という判定データFを出力する。この判定データFは、CPU18に入力される。
【0030】
CPU18は、撮影条件評価回路50から入力される判定データFがF=1であるとき、本撮影動作を実行する。すなわち、TG16に対して1フレーム分の本露光および全画素読み出しを命令するととともに、圧縮伸長回路38に対して圧縮処理を命令する。これによって、CCD14から1フレーム分の高解像度の画像信号が出力され、この画像信号は、CDS/AGC回路20およびA/D変換器22を介して信号処理回路24に入力され、YUVデータに変換される。そして、このYUVデータは、圧縮伸長回路38によって圧縮され、圧縮後のJPEG画像ファイルは、メモリカード40に記録される。
【0031】
このような撮影条件評価回路50による一連の動作、および当該撮影条件評価回路50が出力する判定データFがF=1となったときのCPU18の動作は、メニューキー42の操作によって動体撮影モードが選択され、かつ当該動体撮影モードにおいてシャッタボタン30が全押しされたときに初めて実行される。つまり、動体撮影モードにおいてシャッタボタン30が全押しされた後、被写体が画面の中央付近で捉えられ、かつ当該被写体にピントが合ったときに、実際に撮影が実行される。
【0032】
なお、当該動体撮影モードで撮影を実行する上で、被写体の位置および合焦の程度のいずれに重点を置くかは、メニューキー42によって上述した重み付けデータを操作することで任意に設定できる。また、被写体の位置および合焦の程度(厳密にはこれらに上述の数値αおよびβに従う重み付け加算をした結果)がどれくらいの条件に達したときに撮影を実行するのかの判断基準は、メニューキー42によって上述の判定レベルデータを操作することで任意に設定できる。
【0033】
図5を参照して、動体撮影モードにおけるCPU18の具体的な動作を説明する。なお、このフロー図で示される各処理に従ってCPU18の動作を制御するための制御プログラムは、CPU18内のプログラムメモリ18aに記憶されている。
【0034】
すなわち、CPU18は、まず、ステップS1において、メニューキー42の操作によって動体撮影モードが解除されたか否かを判断する。ここで、動体撮影モードが解除されたと判断すると、CPU18は、この図5で示される一連の処理を終了して、動体撮影モードを抜ける(たとえば、撮影モードまたは再生モードに移る)。一方、動体撮影モードが解除されていない場合には、CPU18は、次のステップS3に進む。
【0035】
ステップS3において、CPU18は、シャッタボタン30が全押しされたか否かを判断する。そして、全押しされたと判断すると、CPU18は、ステップS5に進み、撮影条件評価回路50から入力される判定データFがF=1であるか否かを判断する。なお、ステップS3においてシャッタボタン30が全押しされていないと判断した場合には、CPU18は、ステップS1に戻る。
【0036】
ステップS5において判定データFがF=1であると判断したとき、CPU18は、ステップS7に進み、TG16に対して本露光および全画素読み出しを命令する。そして、ステップS9において、圧縮伸長回路38に対して圧縮処理を命令した後、ステップS1に戻る。
【0037】
一方、ステップS5において判定データFがF=1でないとき、すなわちF=0であるとき、CPU18は、ステップS11に進む。そして、このステップS11において、メニューキー42の操作によって動体撮影モードが解除されたか否かを判断し、動体撮影モードが解除されたと判断したとき、当該動体撮影モードを抜ける。動体撮影モードが解除されていない場合には、ステップS5に戻る。
【0038】
以上の説明から判るように、この実施例のディジタルカメラ10によれば、動体撮影モードを使用すると、被写体の位置および合焦の程度に応じて自動的に撮影が実行される。したがって、たとえば無作為に走り回る子供を被写体として撮影する場合でも、気に入った構図(ここでは被写体が中央付近に位置する構図)で、かつ正確なピントで、当該被写体を撮影することができる。つまり、シャッタチャンスを適確に捉えることができる。この動体撮影モードによる有効性は、フォーカスレンズ12の焦点距離が長い場合(つまり撮影領域が狭く、動き回る被写体を捉え難い場合)に、特に発揮される。また、動体撮影モードで撮影を行う場合には、ディジタルカメラ10を三脚に固定するのが望ましい。
【0039】
なお、この実施例では、被写体の光学像を画像信号に変換する手段として、CCD14を用いたが、CMOS(Complementary Metal Oxide Semiconductor)型などの他の撮像素子または撮像管を用いてもよい。また、撮影した画像データ(JPEG画像ファイル)を記録する記録媒体としてメモリカード40を使用したが、たとえば光磁気ディスクなどの他の記録媒体を使用してもよい。
【0040】
そして、図3の輪郭抽出回路70において、被写体の輪郭を抽出するのにフレーム間差分方式を用いたが、背景差分方式や膨張/侵食処理方式などの他の輪郭抽出方式を採用してもよい。また、位置判定回路76において、図4に示す如く画面を10個の矩形エリア80,80,・・・に分割したが、当該10個以外の数の矩形エリア80に分割してもよい。さらに、画面の中央Oを中心として同心状に各矩形エリア80,80,・・・を形成したが、当該中央O以外の部分を中心として当該各矩形エリア80,80,・・・を形成してもよい。また、矩形以外の形状のエリアに分割してもよい。
【0041】
なお、撮影条件評価回路50は、DSP(Digital Signal Processor)によって構成することができる。また、純粋なハードウェアによって撮影条件評価回路50(各回路52〜64)を構成することもできる。さらに、CPU18によって、当該撮影条件評価回路50と同様の機能を実現することもできる。
【図面の簡単な説明】
【図1】この発明の一実施例の概略構成を示すブロック図である。
【図2】図1における撮影条件評価回路の詳細構成を示すブロック図である。
【図3】図2における対象物位置評価回路の詳細構成を示すブロック図である。
【図4】図3における位置判定回路の動作を説明するための図解図である。
【図5】図1の実施例におけるCPUの動作を示すフロー図である。
【符号の説明】
10…ディジタルカメラ
12…フォーカスレンズ
14…CCD型固体撮像素子
18…CPU
34…フォーカス評価回路
40…メモリカード
50…撮影条件評価回路
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a digital camera, and more particularly to a digital camera that records, for example, an image signal of a subject photographed through a focus lens.
[0002]
[Prior art]
Many recent digital cameras have an autofocus function. According to this autofocus function, when the focus adjustment area (generally near the center of the screen (all shooting areas)) is aligned with the subject and the shutter button is pressed halfway, that is, when halfway pressed, the subject is automatically focused. Fit. When the shutter button is further pressed, that is, when the shutter button is fully pressed, shooting is performed. Therefore, even a person unfamiliar with the camera operation can shoot in focus with relative ease.
[0003]
[Problems to be solved by the invention]
However, even with an autofocus function, it is difficult to capture a fast-moving subject with accurate focus. Also, it is not easy to shoot such a subject with a favorite composition (for example, in the center of the screen). In particular, when the subject moves around at random, such as a child who runs around, this tendency becomes prominent, and there is a problem in that a chance to take a photo opportunity at a corner may be missed.
[0004]
Therefore, a main object of the present invention is to provide a digital camera capable of accurately capturing a photo opportunity.
[0005]
[Means for Solving the Problems]
The digital camera according to the present invention is output from the photographing means for photographing the subject through the focus lens, the focus information creating means for creating the focus lens focusing information for the subject based on the image signal outputted from the photographing means , and the photographing means. position information generation means for generating position information of the subject in imaged region based on the image signal, a weighted addition on the position information created by a position information creating means and focusing information created by the focusing information creating means subjecting the adding means, and Ru with a recording means for performing recording processing on the image signal output from the imaging means based on a result of comparison between the obtained sum value and the threshold value by weighted addition of the adding means.
[0006]
[Action]
In the present invention, the image signal of the subject photographed through the focus lens is output from the photographing means. Based on this image signal, the focus information creating means creates focus information, and the position information creating means creates position information. The adding means weights and adds the focus information created by the focus information creating means and the position information created by the position information creating means. The recording means performs a recording process on the image signal output from the photographing means based on the comparison result between the addition value obtained by the weighted addition of the adding means and the threshold value.
[0008]
Weighted with further may be provided with a ratio changing means for arbitrarily changing the ratio of the weight for each of the focus information and the position information in addition. In this way, it is possible to arbitrarily set how much emphasis is placed on each of the degree of focusing and the position of the subject when performing shooting.
[0009]
Moreover, you may further provide the threshold value change means for changing a threshold value arbitrarily. That is, the threshold value that serves as a criterion for determining whether or not to perform shooting may be arbitrarily set.
[0010]
【The invention's effect】
According to the present invention, since photographing is performed based on the degree of focus lens focusing on the subject and the position of the subject in the photographing region, even a moving subject can be photographed with an accurate focus and a favorite composition. That is, the photo opportunity can be accurately captured.
[0011]
The above object, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.
[0012]
【Example】
Referring to FIG. 1, a digital camera 10 of this embodiment has a built-in CCD (Charge Coupled Device) type solid-state imaging device (hereinafter simply referred to as a CCD) 14 into which an optical image of a subject is incident through a focus lens 12. is doing. The CCD 14 exposes an optical image of a subject in accordance with a timing signal supplied from a timing generator (hereinafter referred to as TG) 16 and outputs charges accumulated by the exposure as an image signal.
[0013]
That is, when a power switch (not shown) is turned on, the CPU 18 enters the photographing mode in response to this. In this shooting mode, the CPU 18 instructs the TG 16 to repeat pre-exposure and thinning-out reading. In response to this command, the TG 16 executes the pre-exposure in synchronization with the vertical synchronization signal generated by itself, and outputs the part of the charge accumulated by the pre-exposure in the next frame period. Is supplied to the CCD 14. As a result, a low resolution image signal is output from the CCD 14 for each frame. The output image signal of each frame is input to a CDS (Correlated Double Sampling) / AGC (Automatic Gain Control) circuit 20.
[0014]
The CSD / AGC circuit 20 sequentially performs correlated double sampling processing and amplification processing on the input image signal. Then, the processed image signal is input to the A / D converter 22. The A / D converter 22 converts the input image signal into image data that is a digital signal, and inputs the converted image data to the signal processing circuit 24. Note that the operations of the CSD / AGC circuit 20 and the A / D converter 22 are also controlled by timing signals different from those described above provided from the TG 16.
[0015]
The signal processing circuit 24 performs a series of processes such as color separation, white balance adjustment, gamma correction, and YUV conversion on the input image data, and inputs the generated YUV data to the video encoder 26. The video encoder 26 converts the input YUV data into an NTSC composite image signal and inputs the composite image signal to the liquid crystal monitor 28. As a result, a real-time moving image (through image) of the subject is displayed on the screen of the liquid crystal monitor 28.
[0016]
In this state, when the shutter button 30 is pressed, the CPU 18 enters a photographing process, and performs focus adjustment and exposure adjustment as the beginning. That is, the CPU 18 first instructs the TG 16 to repeat pre-exposure and all-pixel reading. In response to this command, the TG 16 performs pre-exposure in synchronization with the vertical synchronization signal and supplies a timing signal to the CCD 14 so that all charges accumulated by the pre-exposure are output in the next frame. As a result, a high-resolution image signal is output from the CCD 14 for each frame, and the image signal of each frame is sent to the signal processing circuit 24 via the CDS / AGC circuit 20 and the A / D converter 22 as described above. Entered.
[0017]
The signal processing circuit 20 performs the above-described color separation, white balance adjustment, and YUV conversion on the input image data to generate YUV data. Then, Y (luminance) data forming the YUV data is input to the luminance evaluation circuit 32 and the focus evaluation circuit 34. The luminance evaluation circuit 32 calculates a luminance evaluation value representing the degree of luminance of the subject image by integrating the input Y data for each frame. On the other hand, the focus evaluation circuit 34 calculates a focus evaluation value representing the degree of focus of the focus lens 12 with respect to the subject by integrating the high frequency component of the Y data for each frame (contrast detection method). The calculated luminance evaluation value and focus evaluation value are input to the CPU 18.
[0018]
The CPU 18 controls the focus driver 36 based on the focus evaluation value, and sets the focus lens 12 to the in-focus position. At the same time, the CPU 18 calculates the optimum exposure period based on the luminance evaluation value, and sets the optimum exposure period in the TG 16.
[0019]
After completing such focus adjustment and exposure adjustment, the CPU 18 proceeds to the main photographing operation. Specifically, the main exposure for one frame and the reading of all pixels are instructed to the TG 16 and the compression processing is instructed to the compression / decompression circuit 38. In response to a command from the CPU 18, the TG 16 executes main exposure according to the set optimum exposure period and supplies a timing signal to the CCD 14 so as to output all charges accumulated by the main exposure. As a result, a high-resolution image signal for one frame is output from the CCD 14, and this image signal is input to the signal processing circuit 24 via the CDS / AGC circuit 20 and the A / D converter 22. In the signal processing circuit 24, the above-described series of processing is executed, and YUV data generated thereby is input to the compression / decompression circuit 38. The compression / decompression circuit 38 compresses the input YUV data by a JPEG (Joint Photographic Expert Group) system in response to a compression processing command from the CPU 18. Then, the JPEG image file generated by this compression process is recorded on the memory card 40.
[0020]
The image (JPEG image file) recorded in the memory card 40 in this way can be reproduced in the reproduction mode. That is, when the playback mode is entered by operating the menu key 42, the CPU 18 instructs the compression / decompression circuit 38 to read and decompress the JPEG image file. In response to this command, the compression / decompression circuit 38 reads out the JPEG image file from the memory card 40 and decompresses the read JPEG image file back to the original YUV data. The YUV data is transferred to the video encoder 26 via the signal processing circuit 24, where it is converted into an NTSC composite image signal. The converted composite image signal is input to the liquid crystal monitor 28, whereby a reproduced image is displayed on the screen of the liquid crystal monitor 28.
[0021]
In the playback mode, playback images can be displayed one by one, or a plurality of playback images can be displayed in a multi display. In this manner, the display mode of the reproduced image can be selected by operating the menu key 42. However, since this is not directly related to the gist of the present invention, further detailed description is omitted here.
[0022]
By the way, the digital camera 10 of this embodiment has a moving object automatic photographing function suitable for photographing a fast-moving subject or a randomly moving subject. According to this moving object automatic photographing function, it is possible to photograph the moving subject with a composition in which the moving subject is accurately focused and placed near the center of the screen. In order to realize this, the digital camera 10 of this embodiment includes an imaging condition evaluation circuit 50 to which the Y data described above is input from the signal processing circuit 24. FIG. 2 shows a detailed configuration of the imaging condition evaluation circuit 50.
[0023]
As shown in FIG. 2, the imaging condition evaluation circuit 50 includes an object position evaluation circuit 52, a focus rate conversion circuit 54, and a ratio conversion circuit 56. Among these, the object position evaluation circuit 52 includes the above-described Y data. Is entered. The object position evaluation circuit 52 calculates a position evaluation value representing the position of the subject on the screen (imaging area) based on the input Y data. Here, the object position evaluation circuit 52 will be described in detail with reference to FIGS.
[0024]
Referring to FIG. 3, the object position evaluation circuit 52 includes a contour extraction circuit 70, a binarization circuit 72, a centroid detection circuit 74, and a position determination circuit 76. The Y data input to the object position evaluation circuit 52 is first subjected to contour extraction processing in the contour extraction circuit 70. Specifically, the contour extraction circuit 70 calculates the contour of the subject from the Y data based on a well-known inter-frame difference method (a method for obtaining the difference between the image data of the current frame and the image data of the previous frame). Extract. The contour data indicating the extracted contour is binarized by the binarization circuit 72, and the binary data is input to the centroid detection circuit 74. The center of gravity detection circuit 74 calculates the center of gravity G of the subject from the input binary data, and inputs the center of gravity data indicating the calculated center of gravity G to the position determination circuit 76.
[0025]
As shown in FIG. 4, the position determination circuit 76 divides the entire area of the screen into ten concentric rectangular areas 80, 80,. Numerical values from “1” to “10” are assigned to areas 80, 80,. Then, it is determined in which rectangular area 80 the center of gravity G of the subject (human in the figure) is located, and the numerical value assigned to the rectangular area 80 is output as the above-described position evaluation value. Therefore, the closer the subject (center of gravity G) is to the center O of the screen, the larger the numerical value of the position evaluation value. When there are a plurality of subjects, the average value of the numerical values assigned to the rectangular area 80 where each subject (center of gravity G) is located is used as the position evaluation value. This position evaluation value is input to the multiplication circuit 58 shown in FIG.
[0026]
On the other hand, the focus evaluation value is input from the focus evaluation circuit 34 to the focus rate conversion circuit 54. The focus rate conversion circuit 54 converts the input focus evaluation value into a numerical value from “1” to “10”, and inputs the converted evaluation value to a multiplication circuit 60 different from the above. The focus rate conversion circuit 54 outputs a larger focus evaluation value as the focus rate is higher.
[0027]
Weighting data is input from the CPU 18 to the ratio conversion circuit 56. The weighted data includes two numerical values α and β that are added to each other and become “1”. One of the numerical values α is input to the multiplication circuit 58 on the side where the position evaluation value is input, and the other numerical value β Is input to the multiplication circuit 60 on the side where the converted focus evaluation value is input. The numerical values α and β can be arbitrarily set by operating the menu key 42.
[0028]
The multiplication circuit 58 multiplies the position evaluation value and the numerical value α, and inputs the multiplication result to the addition circuit 62. Similarly, the other multiplication circuit 60 also multiplies the input focus evaluation value and the numerical value β, and inputs the multiplication result to the addition circuit 62. The adder circuit 62 adds the multiplication results input from the multiplication circuits 58 and 60 and inputs the addition result to the determination circuit 64.
[0029]
In addition to the addition result by the addition circuit 62, determination level data (threshold value data) is also input from the CPU 18 to the determination circuit 64. The determination circuit 64 compares these addition results with the threshold value indicated by the determination level data. Here, when the addition result is equal to or greater than the threshold value, the determination circuit 64 outputs determination data of F = 1. On the other hand, when the addition result is smaller than the threshold value, the determination circuit 64 outputs determination data F that F = 0. This determination data F is input to the CPU 18.
[0030]
When the determination data F input from the imaging condition evaluation circuit 50 is F = 1, the CPU 18 executes the actual imaging operation. That is, the main exposure for one frame and the reading of all pixels are commanded to the TG 16 and the compression processing is commanded to the compression / decompression circuit 38. As a result, a high-resolution image signal for one frame is output from the CCD 14, and this image signal is input to the signal processing circuit 24 via the CDS / AGC circuit 20 and the A / D converter 22 and converted into YUV data. Is done. The YUV data is compressed by the compression / decompression circuit 38, and the compressed JPEG image file is recorded in the memory card 40.
[0031]
Such a series of operations by the imaging condition evaluation circuit 50 and the operation of the CPU 18 when the determination data F output by the imaging condition evaluation circuit 50 is F = 1 are set in the moving body imaging mode by operating the menu key 42. This is executed for the first time when the shutter button 30 is fully pressed in the selected moving body shooting mode. That is, after the shutter button 30 is fully pressed in the moving body shooting mode, shooting is actually executed when the subject is caught near the center of the screen and the subject is in focus.
[0032]
It should be noted that, when performing shooting in the moving body shooting mode, which of the subject position and the degree of focus should be emphasized can be arbitrarily set by operating the weighting data described above with the menu key 42. In addition, the criteria for determining whether the shooting is executed when the subject position and the degree of focusing (strictly speaking, the result of weighted addition according to the above-described numerical values α and β) are reached are determined by the menu key. 42 can be arbitrarily set by operating the above-described determination level data.
[0033]
A specific operation of the CPU 18 in the moving body shooting mode will be described with reference to FIG. A control program for controlling the operation of the CPU 18 in accordance with each process shown in this flowchart is stored in a program memory 18a in the CPU 18.
[0034]
That is, the CPU 18 first determines in step S1 whether or not the moving body shooting mode has been canceled by operating the menu key 42. If it is determined that the moving body shooting mode has been canceled, the CPU 18 ends the series of processes shown in FIG. 5 and exits the moving body shooting mode (for example, shifts to the shooting mode or the playback mode). On the other hand, if the moving body shooting mode has not been canceled, the CPU 18 proceeds to the next step S3.
[0035]
In step S3, the CPU 18 determines whether or not the shutter button 30 has been fully pressed. When it is determined that the button has been fully pressed, the CPU 18 proceeds to step S5, and determines whether or not the determination data F input from the imaging condition evaluation circuit 50 is F = 1. If it is determined in step S3 that the shutter button 30 has not been fully pressed, the CPU 18 returns to step S1.
[0036]
When it is determined in step S5 that the determination data F is F = 1, the CPU 18 proceeds to step S7 and instructs the TG 16 to perform main exposure and all pixel readout. In step S9, the compression / decompression circuit 38 is instructed to perform compression processing, and the process returns to step S1.
[0037]
On the other hand, when the determination data F is not F = 1 in step S5, that is, when F = 0, the CPU 18 proceeds to step S11. In step S11, it is determined whether the moving body shooting mode has been canceled by operating the menu key 42. When it is determined that the moving body shooting mode has been canceled, the moving body shooting mode is exited. If the moving body shooting mode has not been canceled, the process returns to step S5.
[0038]
As can be seen from the above description, according to the digital camera 10 of this embodiment, when the moving body shooting mode is used, shooting is automatically executed according to the position of the subject and the degree of focusing. Therefore, for example, even when a child running around randomly is photographed as a subject, the subject can be photographed with a favorite composition (here, the composition where the subject is located near the center) and with an accurate focus. That is, the photo opportunity can be accurately captured. The effectiveness of the moving body shooting mode is particularly effective when the focal length of the focus lens 12 is long (that is, when the shooting area is narrow and it is difficult to capture a moving subject). In addition, when shooting in the moving body shooting mode, it is desirable to fix the digital camera 10 to a tripod.
[0039]
In this embodiment, the CCD 14 is used as means for converting the optical image of the subject into an image signal. However, other imaging elements or imaging tubes such as a CMOS (Complementary Metal Oxide Semiconductor) type may be used. Further, although the memory card 40 is used as a recording medium for recording photographed image data (JPEG image file), other recording media such as a magneto-optical disk may be used.
[0040]
In the contour extraction circuit 70 of FIG. 3, the inter-frame difference method is used to extract the contour of the subject, but other contour extraction methods such as a background difference method and an expansion / erosion processing method may be adopted. . In the position determination circuit 76, the screen is divided into ten rectangular areas 80, 80,... As shown in FIG. Further, the rectangular areas 80, 80,... Are formed concentrically with the center O of the screen as the center, but the rectangular areas 80, 80,. May be. Moreover, you may divide | segment into the area of shapes other than a rectangle.
[0041]
The imaging condition evaluation circuit 50 can be configured by a DSP (Digital Signal Processor). Further, the imaging condition evaluation circuit 50 (each circuit 52 to 64) can be configured by pure hardware. Further, the CPU 18 can realize the same function as the imaging condition evaluation circuit 50.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of the present invention.
2 is a block diagram showing a detailed configuration of an imaging condition evaluation circuit in FIG. 1. FIG.
3 is a block diagram showing a detailed configuration of an object position evaluation circuit in FIG. 2. FIG.
4 is an illustrative view for explaining the operation of the position determination circuit in FIG. 3; FIG.
FIG. 5 is a flowchart showing the operation of the CPU in the embodiment of FIG. 1;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 10 ... Digital camera 12 ... Focus lens 14 ... CCD type solid-state image sensor 18 ... CPU
34 ... Focus evaluation circuit 40 ... Memory card 50 ... Imaging condition evaluation circuit

Claims (3)

フォーカスレンズを通して被写体を撮影する撮影手段、
前記撮影手段から出力された画像信号に基づいて前記被写体に対する前記フォーカスレンズの合焦情報を作成する合焦情報作成手段、
前記撮影手段から出力された画像信号に基づいて撮影領域における前記被写体の位置情報を作成する位置情報作成手段、
前記合焦情報作成手段によって作成された合焦情報と前記位置情報作成手段によって作成された位置情報とに重み付け加算を施す加算手段、および
前記加算手段の重み付け加算によって得られた加算値と閾値との比較結果に基づいて前記撮影手段から出力された画像信号に記録処理を施す記録手段を備える、ディジタルカメラ。
A photographing means for photographing a subject through a focus lens;
Focusing information creating means for creating focusing information of the focus lens with respect to the subject based on an image signal output from the photographing means;
Position information creating means for creating position information of the subject in the photographing region based on the image signal output from the photographing means;
Adding means for performing weighted addition on the focus information created by the focus information creating means and the position information created by the position information creating means; and
A digital camera comprising recording means for performing recording processing on an image signal output from the photographing means based on a comparison result between an addition value obtained by weighted addition of the adding means and a threshold value .
前記重み付け加算における前記合焦情報および前記位置情報の各々に対する重み付けの比率を任意に変更する比率変更手段をさらに備える、請求項記載のディジタルカメラ。Further comprising, claim 1 digital camera according to the ratio changing means for arbitrarily changing the ratio of the weight for each of the focus information and the position information in the weighted addition. 前記閾値を任意に変更する閾値変更手段をさらに備える、請求項または記載のディジタルカメラ。Further comprising, according to claim 1 or 2 digital camera according to the threshold changing means for arbitrarily changing the threshold value.
JP2002053195A 2002-02-28 2002-02-28 Digital camera Expired - Fee Related JP4017419B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002053195A JP4017419B2 (en) 2002-02-28 2002-02-28 Digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002053195A JP4017419B2 (en) 2002-02-28 2002-02-28 Digital camera

Publications (2)

Publication Number Publication Date
JP2003259188A JP2003259188A (en) 2003-09-12
JP4017419B2 true JP4017419B2 (en) 2007-12-05

Family

ID=28664683

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002053195A Expired - Fee Related JP4017419B2 (en) 2002-02-28 2002-02-28 Digital camera

Country Status (1)

Country Link
JP (1) JP4017419B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007316417A (en) * 2006-05-26 2007-12-06 Matsushita Electric Ind Co Ltd High frequency information detection processing device and imaging apparatus

Also Published As

Publication number Publication date
JP2003259188A (en) 2003-09-12

Similar Documents

Publication Publication Date Title
TWI422219B (en) Imaging device, imaging method and computer-readable recording medium
JP3430994B2 (en) camera
JP2004064676A (en) Image pickup apparatus
JP2011059337A (en) Image pickup apparatus
JP6325841B2 (en) Imaging apparatus, imaging method, and program
JP2007215091A (en) Imaging apparatus and program therefor
JP4635739B2 (en) Imaging device
KR101721226B1 (en) digital image signal processing apparatus and method for controlling the same
JP2010087722A (en) Photographing device, and method for editing moving picture
JP4123352B2 (en) Movie imaging device and movie playback device
JP2003158680A (en) Image pickup device
JP4178017B2 (en) Image processing method and digital camera
JP4445662B2 (en) Electronic camera
JP2009017427A (en) Imaging device
JP4013026B2 (en) Electronic camera and image display method during automatic focus adjustment
JP2008172395A (en) Imaging apparatus and image processing apparatus, method, and program
JP4017419B2 (en) Digital camera
JP2010062987A (en) Imaging apparatus and method
JP2008205953A (en) Imaging device and image reproducing device
JP2007208355A (en) Photographing device, method, and program
JP4871664B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP4616697B2 (en) Image processing apparatus and method
JP2010087723A (en) Photographing device, and method for editing moving picture
JPH11224324A (en) Image signal processing method and device
JP4220406B2 (en) Solid-state imaging device, image recording method thereof, and image reproducing method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050106

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070312

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070327

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070525

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070821

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070918

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

Free format text: PAYMENT UNTIL: 20100928

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100928

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110928

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110928

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120928

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120928

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130928

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130928

Year of fee payment: 6

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

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

Free format text: PAYMENT UNTIL: 20130928

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees