Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4636739B2 - IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND COMPUTER-READABLE STORAGE MEDIUM - Google Patents
[go: Go Back, main page]

JP4636739B2 - IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND COMPUTER-READABLE STORAGE MEDIUM - Google Patents

IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND COMPUTER-READABLE STORAGE MEDIUM Download PDF

Info

Publication number
JP4636739B2
JP4636739B2 JP2001199797A JP2001199797A JP4636739B2 JP 4636739 B2 JP4636739 B2 JP 4636739B2 JP 2001199797 A JP2001199797 A JP 2001199797A JP 2001199797 A JP2001199797 A JP 2001199797A JP 4636739 B2 JP4636739 B2 JP 4636739B2
Authority
JP
Japan
Prior art keywords
evaluation value
exposure
area
weighting
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2001199797A
Other languages
Japanese (ja)
Other versions
JP2003018456A (en
JP2003018456A5 (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2001199797A priority Critical patent/JP4636739B2/en
Publication of JP2003018456A publication Critical patent/JP2003018456A/en
Publication of JP2003018456A5 publication Critical patent/JP2003018456A5/ja
Application granted granted Critical
Publication of JP4636739B2 publication Critical patent/JP4636739B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Exposure Control For Cameras (AREA)
  • Color Television Image Signal Generators (AREA)
  • Studio Devices (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、自動露出機構を有する撮像装置、撮像装置の制御方法、プログラム、及びコンピュータ読み取り可能な記憶媒体に関する。
【0002】
【従来の技術】
従来から、自動で露出制御を行って静止画像や動画像を記録するカメラは市販されている。これらのカメラによれば、ユーザ自身が絞りやシャッター速度を操作せずとも、カメラが自動的に露出を決定し、ユーザは露出を意識することなく撮影を行うことができ、ユーザにとって有益な機能となっている。
【0003】
【発明が解決しようとする課題】
このような従来のカメラにおいては、雪景色や雲等の広範囲に高輝度部分の存在するような撮影状況に対しては、高輝度部分につられて露出アンダー気味になることがある。
【0004】
これを回避する方法として、各測光エリアの輝度レベルの積分値が所定値を超えると、該測光エリアの重み付けを小さくして、露出アンダーになるのを防ぐものがある。
【0005】
ところで、雪景色や雲を撮影する場合でも、輝度の低い白が占めている場合もある。この場合に、上記の方法では、各測光エリアの輝度レベルの積分値が所定値を超えないので、該測光エリアの重み付けはそのままとなり、輝度は低いとみなされて露出を決定するので、露出アンダーになる可能性がある。
【0006】
本発明は上記の点に鑑みてなされたものであり、測光エリアの大部分を輝度の低い白が占めている場合等でも、露出アンダーになるのを防ぐようにすることを目的とする。
【0007】
【課題を解決するための手段】
本発明の撮像装置は、自動露出機構を備えた撮像装置であって、撮影画像データを複数のエリアに分割する分割手段と、上記エリアごとに輝度に基づく露出評価値を生成する露出評価値生成手段と、上記各エリア中において部分ごとに色評価値を生成する色評価値生成手段と、上記各エリア中において上記色評価値が色温度分布の所定範囲内に収まって白色とされる部分の数が第1の数である場合、白色とされる部分の数が上記第1の数より小さい第2の数である場合に比べて、当該エリアの露出評価値に対する重み付けを小さくする重み付け決定手段と、上記重み付け決定手段により決定された重み付けを用いて上記各エリアの露出評価値に重み付け演算を行い、その重み付け演算の結果に基づいて露出制御を行う露出制御手段とを備えた点に特徴を有する。
【0010】
また、本発明の撮像装置の他の特徴とするところは、上記色評価値生成手段は、上記各エリア中において画素ごとに上記色評価値を生成する点にある。
【0011】
本発明の撮像装置の制御方法は、自動露出機構を備えた撮像装置の制御方法であって、撮影画像データを複数のエリアに分割する分割手順と、上記エリアごとに輝度に基づく露出評価値を生成する露出評価値生成手順と、上記各エリア中において部分ごとに色評価値を生成する色評価値生成手順と、上記各エリア中において上記色評価値が色温度分布の所定範囲内に収まって白色とされる部分の数が第1の数である場合、白色とされる部分の数が上記第1の数より小さい第2の数である場合に比べて、当該エリアの露出評価値に対する重み付けを小さくする重み付け決定手順と、上記重み付け決定手順により決定された重み付けを用いて上記各エリアの露出評価値に重み付け演算を行い、その重み付け演算の結果に基づいて露出制御を行う露出制御手順とを有する点に特徴を有する。
【0013】
本発明のプログラムは、自動露出機構を備えた撮像装置を制御するためのプログラムであって、撮影画像データを複数のエリアに分割する分割処理と、上記エリアごとに輝度に基づく露出評価値を生成する露出評価値生成処理と、上記各エリア中において上記色評価値が色温度分布の所定範囲内に収まって白色とされる部分の数が第1の数である場合、白色とされる部分の数が上記第1の数より小さい第2の数である場合に比べて、当該エリアの露出評価値に対する重み付けを小さくする重み付け決定処理と、上記重み付け決定処理により決定された重み付けを用いて上記各エリアの露出評価値に重み付け演算を行い、その重み付け演算の結果に基づいて露出制御を行う露出制御処理とをコンピュータに実行させる点に特徴を有する。
【0015】
本発明のコンピュータ読み取り可能な記憶媒体は、上記プログラムを格納した点に特徴を有する。
【0016】
上記のようにした本発明においては、輝度に基づいて各エリアの露出評価値を生成するとともに、上記各エリア中の色情報に基づいて露出評価値に重み付け演算を行うようにしたので、測光エリアの大部分を輝度の低い白が占めている場合等でも、露出アンダーになることを防ぐことができる。
【0017】
【発明の実施の形態】
以下、図面を参照して、本発明の撮像装置、撮像装置の制御方法、プログラム、及びコンピュータ読み取り可能な記憶媒体の実施の形態について説明する。
【0018】
図1は、本実施の形態のデジタルカメラの構成例を示すブロック図である。同図において、10は撮影レンズ、12は絞り機能を備えるシャッター、14は光学像を電気信号に変換する撮像素子である。
【0019】
16は撮像素子14のアナログ信号出力をディジタル信号に変換するA/D変換器である。18は撮像素子14、A/D変換器16、D/A変換器26にクロック信号や制御信号を供給するタイミング発生回路であり、メモリ制御回路22及びシステム制御回路50により制御される。
【0020】
20は画像処理回路であり、A/D変換器16からのデータ或いはメモリ制御回路22からのデータに対して所定の画素補間処理や色変換処理を行う。また、画像処理回路20においては、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてシステム制御回路50が露光制御部40、測距制御手段42に対して制御を行う、TTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュプリ発光)処理を行っている。さらに、画像処理回路20においては、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいて、TTL方式のAWB(オートホワイトバランス)処理も行っている。
【0021】
22はメモリ制御回路であり、A/D変換器16、タイミング発生回路18、画像処理回路20、画像表示メモリ24、D/A変換器26、メモリ30、圧縮・伸長回路32を制御する。A/D変換器16のデータが、画像処理回路20、メモリ制御回路22を介して、或いは、直接メモリ制御回路22を介して、画像表示メモリ24或いはメモリ30に書き込まれる。
【0022】
24は画像表示メモリ、26はD/A変換器、28はTFT LCD等から成る画像表示部であり、画像表示メモリ24に書き込まれた表示用の画像データは、D/A変換器26を介して画像表示部28により表示される。画像表示部28を用いて撮像した画像データを逐次表示すれば、電子ファインダー機能を実現することが可能である。また、画像表示部28は、システム制御回路50の指示により任意に表示をON/OFFすることが可能であり、表示をOFFにした場合にはデジタルカメラの電力消費を大幅に低減することができる。
【0023】
30は撮影した静止画像や動画像を格納するためのメモリであり、所定枚数の静止画像や所定時間の動画像を格納するのに十分な記憶量を備えている。これにより、複数枚の静止画像を連続して撮影する連射撮影やパノラマ撮影の場合にも、高速かつ大量の画像書き込みをメモリ30に対して行うことが可能となる。また、メモリ30はシステム制御回路50の作業領域としても使用することが可能である。
【0024】
32は適応離散コサイン変換(ADCT)等により画像データを圧縮伸長する圧縮・伸長回路であり、メモリ30に格納された画像を読み込んで圧縮処理或いは伸長処理を行い、処理を終えたデータをメモリ30に書き込む。
【0025】
40は絞り機能を備えるシャッター12を制御する露光制御部であり、フラッシュ48と連携することにより、フラッシュ調光機能も有するものである。42は撮影レンズ10のフォーカシングを制御する測距制御部、44は撮影レンズ10のズーミングを制御するズーム制御部、46はバリアである保護手段102の動作を制御するバリア制御部である。48はフラッシュであり、AF補助光の投光機能、フラッシュ調光機能も有する。露光制御部40、測距制御部42はTTL方式を用いて制御されており、撮像した画像データを画像処理回路20によって演算した演算結果に基づき、システム制御回路50が露光制御部40、測距制御部42に対して制御を行う。
【0026】
50は全体を制御するシステム制御回路、52はシステム制御回路50の動作用の定数、変数、プログラム等を記憶するメモリである。
【0027】
54はシステム制御回路50でのプログラムの実行に応じて、文字、画像、音声等を用いて動作状態やメッセージ等を表示する液晶表示装置、スピーカー等の表示部であり、デジタルカメラの操作部近辺の視認し易い位置に単数或いは複数個所設置され、例えばLCDやLED、発音素子等の組み合わせにより構成されている。また、表示部54は、その一部の機能が光学ファインダー104内に設置されている。
【0028】
表示部54の表示内容のうち、LCD等に表示するものとしては、シングルショット/連写撮影表示、セルフタイマー表示、圧縮率表示、記録画素数表示、記録枚数表示、残撮影可能枚数表示、シャッタースピード表示、絞り値表示、露出補正表示、フラッシュ表示、赤目緩和表示、マクロ撮影表示、ブザー設定表示、時計用電池残量表示、電池残量表示、エラー表示、複数桁の数字による情報表示、記録媒体200及び210の着脱状態表示、通信I/F動作表示、日付・時刻表示等がある。
【0029】
また、表示部54の表示内容のうち、光学ファインダー104内に表示するものとしては、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタースピード表示、絞り値表示、露出補正表示等がある。
【0030】
56は電気的に消去・記録可能な不揮発性メモリであり、例えばEEPROM等が用いられる。
【0031】
60、62、64、66、68及び70は、システム制御回路50の各種の動作指示を入力するための操作手段であり、スイッチやダイアル、タッチパネル、視線検知によるポインティング、音声認識装置等の単数或いは複数の組み合わせで構成される。
【0032】
ここで、これらの操作手段の具体的な説明を行う。60はモードダイアルスイッチで、電源オフ、自動撮影モード、撮影モード、パノラマ撮影モード、再生モード、マルチ画面再生・消去モード、PC接続モード等の各機能モードを切り替え設定することができる。
【0033】
62はシャッタースイッチSW1で、不図示のシャッターボタンの操作途中でONとなり、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュプリ発光)処理等の動作開始を指示する。64はシャッタースイッチSW2で、不図示のシャッターボタンの操作完了でONとなり、撮像素子12から読み出した信号をA/D変換器16、メモリ制御回路22を介してメモリ30に画像データを書き込む露光処理、画像処理回路20やメモリ制御回路22での演算を用いた現像処理、メモリ30から画像データを読み出し、圧縮・伸長回路32で圧縮を行い、記録媒体200或いは210に画像データを書き込む記録処理という一連の処理の動作開始を指示する。
【0034】
66は画像表示ON/OFFスイッチで、画像表示部28のON/OFFを設定することができる。この機能により、光学ファインダー104を用いて撮影を行う際に、TFT LCD等からなる画像表示部28への電流供給を遮断することにより、省電力を図ることが可能となる。
【0035】
68はクイックレビューON/OFFスイッチで、撮影直後に撮影した画像データを自動再生するクイックレビュー機能を設定する。なお、本実施の形態では、特に、画像表示部28をOFFとした場合におけるクイックレビュー機能の設定をする機能を備えるものとする。
【0036】
70は各種ボタンやタッチパネル等からなる操作部で、メニューボタン、セットボタン、マクロボタン、マルチ画面再生改ページボタン、フラッシュ設定ボタン、単写/連写/セルフタイマー切り替えボタン、メニュー移動+(プラス)ボタン、メニュー移動−(マイナス)ボタン、再生画像移動+(プラス)ボタン、再生画像−(マイナス)ボタン、撮影画質選択ボタン、露出補正ボタン、日付/時間設定ボタン等がある。
【0037】
80は電源制御部で、電池検出回路、DC-DCコンバータ、通電するブロックを切り替えるスイッチ回路等により構成されており、電池の装着の有無、電池の種類、電池残量の検出を行い、検出結果及びシステム制御回路50の指示に基づいてDC-DCコンバータを制御し、必要な電圧を必要な期間、記録媒体を含む各部へ供給する。
【0038】
82はコネクタ、84はコネクタ、86はアルカリ電池やリチウム電池等の一次電池やNiCd電池やNiMH電池、Li電池等の二次電池、ACアダプタ等からなる電源手段である。
【0039】
90及び94はメモリカードやハードディスク等の記録媒体とのインターフェース、92及び96はメモリカードやハードディスク等の記録媒体と接続を行うコネクタ、98はコネクタ92及び或いは96に記録媒体200或いは210が装着されているか否かを検知する記録媒体着脱検知手段である。
【0040】
なお、本実施の形態では、記録媒体を取り付けるインターフェース及びコネクタを2系統持つものとして説明しているが、もちろん、記録媒体を取り付けるインターフェース及びコネクタは、単数或いは複数いずれの系統数を備える構成としてもかまわない。また、異なる規格のインターフェース及びコネクタを組み合わせて備える構成としてもかまわない。
【0041】
インターフェース及びコネクタとしては、PCMCIAカードやCF(コンパクトフラッシュ(R))カード等の規格に準拠したものを用いて構成してかまわない。さらに、インターフェース90及び94、そしてコネクタ92及び96をPCMCIAカードやCF(コンパクトフラッシュ(R))カード等の規格に準拠したものを用いて構成した場合、LANカードやモデムカード、USBカード、IEEE1394カード、P1284カード、SCSIカード、PHS等の通信カード、等の各種通信カードを接続することにより、他のコンピュータやプリンタ等の周辺機器との間で画像データや画像データに付属した管理情報を転送し合うことができる。
【0042】
102はバリアである保護手段で、レンズ10を含む撮像部を覆うことにより、撮像部の汚れや破損を防止する。104は光学ファインダーであり、画像表示部28による電子ファインダー機能を使用することなしに、光学ファインダーのみを用いて撮影を行うことが可能である。また、光学ファインダー104内には、表示部54の一部の機能、例えば、合点表示、手振れ警告表示、フラッシュ充電表示、シャッタースピード表示、絞り値表示、露出補正表示等が設置されている。
【0043】
110は通信手段で、RS232CやUSB、IEEE1394、P1284、SCSI、モデム、LAN、無線通信等の各種通信機能を有する。112は通信手段110によりデジタルカメラを他の機器と接続するコネクタ或いは無線通信の場合はアンテナである。
【0044】
200はメモリカードやハードディスク等の記録媒体である。記録媒体200は、半導体メモリや磁気ディスク等から構成される記録部202、デジタルカメラとのインターフェース204、デジタルカメラとの接続を行うコネクタ206を備えている。
【0045】
210はメモリカードやハードディスク等の記録媒体である。記録媒体210は、半導体メモリや磁気ディスク等から構成される記録部212、デジタルカメラとのインターフェース214、デジタルカメラとの接続を行うコネクタ216を備えている。
【0046】
以下、図2〜図7を参照して、上記実施の形態のデジタルカメラにおける処理動作について説明する。
【0047】
図2及び図3は、主ルーチンのフローチャートを示す。電池交換等の電源投入により、システム制御回路50はフラグや制御変数等を初期化し(ステップS101)、画像表示部28の画像表示をOFF状態に初期設定する(ステップS102)。
【0048】
システム制御回路50は、モードダイアル60の設定位置を判断し、モードダイアル60が電源OFFに設定されていたならば(ステップS103)、各表示部の表示を終了状態に変更し、保護手段102のバリアを閉じて撮像部を保護し、フラグや制御変数等を含む必要なパラメータや設定値、設定モードを不揮発性メモリ56に記録し、電源制御手段80により画像表示部28を含むデジタルカメラ各部の不要な電源を遮断する等の所定の終了処理を行った後(ステップS105)、ステップS103に戻る。
【0049】
モードダイアル60が撮影モードに設定されていたならば(ステップS103)、ステップS106に進む。モードダイアル60がその他のモードに設定されていたならば(ステップS103)、選択されたモードに応じた処理を実行し(ステップS104)、処理を終えたならば、ステップS103に戻る。
【0050】
システム制御回路50は、電源制御手段80により電池等により構成される電源86の残容量や動作状況がデジタルカメラの動作に問題があるか否かを判断し(ステップS106)、問題があるならば、表示部54を用いて画像や音声により所定の警告表示を行った後に(ステップS108)、ステップS103に戻る。電源86に問題が無いならば(ステップS106)、記録媒体200或いは210の動作状態が画像処理装置100の動作、特に記録媒体に対する画像データの記録再生動作に問題があるか否かを判断し(ステップS107)、問題があるならば表示部54を用いて画像や音声により所定の警告表示を行った後に(ステップS108)、ステップS103に戻る。
【0051】
記録媒体200或いは210の動作状態に問題が無いならば(ステップS107)、表示部54を用いて画像や音声により画像処理装置100の各種設定状態の表示を行う(ステップS109)。なお、画像表示部28の画像表示がONであったならば、画像表示部28も用いて画像や音声により画像処理装置100の各種設定状態の表示を行う。
【0052】
システム制御回路50は、クイックレビューON/OFFスイッチ68の設定状態を調べ(ステップS110)、クイックレビューONに設定されていたならばクイックレビューフラグを設定し、(ステップS111)、クイックレビューOFFに設定されていたならばクイックレビューフラグを解除する(ステップS112)。なお、クイックレビューフラグの状態は、システム制御回路50の内部メモリ或いはメモリ52に記憶する。
【0053】
続いて、システム制御回路50は、画像表示ON/OFFスイッチ66の設定状態を調べ(ステップS113)、画像表示ONに設定されていたならば、画像表示フラグを設定すると共に(ステップS114)、画像表示部28の画像表示をON状態に設定し(ステップS115)、さらに撮像した画像データを逐次表示するスルー表示状態に設定して(ステップS116)、図3のフローチャートにおけるステップS119に進む。
【0054】
スルー表示状態においては、撮像素子12,A/D変換器16、画像処理回路20、メモリ制御回路22を介して、画像表示メモリ24に逐次書き込まれたデータを、メモリ制御回路22、D/A変換器26を介して画像表示部28により逐次表示することにより、電子ファインダー機能を実現している。
【0055】
画像表示ON/OFFスイッチ66が画像表示0FFに設定されていたならば(ステップS113)、画像表示フラグを解除すると共に(ステップS117)、画像表示部28の画像表示をOFF状態に設定して(ステップS118)、図3のフローチャートにおけるステップS119に進む。
【0056】
画像表示OFFの場合は、画像表示部28による電子ファインダー機能を使用せず、光学ファインダー104を用いて撮影を行う。この場合、電力消費量の大きい画像表示部28やD/A変換器26等の消費電力を削減することが可能となる。なお、画像表示フラグの状態は、システム制御回路50の内部メモリ或いはメモリ52に記憶する。
【0057】
システム制御回路50は、シャッタースイッチSW1が押されていないならば(ステップS119)、図2のフローチャートにおけるステップS103に戻る。シャッタースイッチSW1が押されたならば(ステップS119)、システム制御回路50の内部メモリ或いはメモリ52に記憶される画像表示フラグの状態を判断し(ステップS120)、画像表示フラグが設定されていたならば、画像表示部28の表示状態をフリーズ表示状態に設定して(ステップS121)、ステップS122に進む。
【0058】
フリーズ表示状態においては、撮像素子12、A/D変換器16、画像処理回路20、メモリ制御回路22を介した画像表示メモリ24の画像データ書き換えを禁止し、最後に書き込まれた画像データを、メモリ制御回路22、D/A変換器26を介して画像表示部28により表示することにより、フリーズした映像を電子ファインダーに表示している。
【0059】
画像表示フラグが解除されていたならば(ステップS120)、ステップS122に進む。システム制御回路50は、測距処理を行って撮影レンズ10の焦点を被写体に合わせ、測光処理を行って絞り値及びシャッター時間を決定する(ステップS122)。測光処理において、必要であればフラッシュの設定も行う。この測距・測光処理(ステップS122)の詳細は、図4のフローチャートを用いて後述する。
【0060】
測距・測光処理(ステップS122)を終えたならば、システム制御回路50は、システム制御回路50の内部メモリ或いはメモリ52に記憶される画像表示フラグの状態を判断し(ステップS123)、画像表示フラグが設定されていたならば画像表示部28の表示状態をスルー表示状態に設定して(ステップS124)、ステップS125に進む。なお、ステップS124でのスルー表示状態は、ステップS116でのスルー状態と同じ動作状態である。
【0061】
シャッタースイッチSW2が押されずに(ステップS125)、さらにシャッタースイッチSW1も解除されたならば(ステップS126)、図2のフローチャートにおけるステップS103に戻る。
【0062】
シャッタースイッチSW2が押されたならば(ステップS125)、システム制御回路50は、システム制御回路50の内部メモリ或いはメモリ52に記憶される画像表示フラグの状態を判断し(ステップS127)、画像表示フラグが設定されていたならば画像表示部28の表示状態を固定色表示状態に設定して(ステップS128)、ステップS129に進む。
【0063】
固定色表示状態においては、撮像素子12、A/D変換器16、画像処理回路20、メモリ制御回路22を介して画像表示メモリ24に書き込まれた撮影画像データの代わりに、差し替えた固定色の画像データを、メモリ制御回路22、D/A変換器26を介して画像表示部28により表示することにより、固定色の映像を電子ファインダーに表示している。
【0064】
画像表示フラグが解除されていたならば(ステップS127)、ステップS129に進む。システム制御回路50は、撮像素子12、A/D変換器16、画像処理回路20、メモリ制御回路22を介して、或いはA/D変換器から直接メモリ制御回路22を介して、メモリ30に撮影した画像データを書き込む露光処理、及び、メモリ制御回路22、そして必要に応じて画像処理回路20を用いて、メモリ30に書き込まれた画像データを読み出して各種処理を行う現像処理からなる撮影処理を実行する(ステップS129)。この撮影処理(ステップS129)の詳細は、図5のフローチャートを用いて後述する。
【0065】
システム制御回路50は、システム制御回路50の内部メモリ或いはメモリ52に記憶される画像表示フラグの状態を判断し(ステップS130)、画像表示フラグが設定されていたならばクイックレビュー表示を行う(ステップS133)。この場合は、撮影中も画像表示部28が電子ファインダーとして常に表示された状態であり、撮影直後のクイックレビュー表示も行われる。
【0066】
画像表示フラグが解除されていたならば(ステップS130)、システム制御回路50の内部メモリ或いはメモリ52に記憶されるクイックレビューフラグの状態を判断し(ステップS131)、クイックレビューフラグが設定されていたならば、画像表示部28の画像表示をON状態に設定し(ステップS132)、クイックレビュー表示を行う(ステップS133)。
【0067】
このように、省電力のために或いは光学ファインダー104を用いて撮影を行うので電子ファインダー機能が不要であるために、画像表示部28の画像表示をOFFに設定していても、クイックレビュースイッチによりクイックレビュー機能が設定されていれば、撮影を行った直後に自動的に撮影画像を画像表示部28に再生することが可能となり、省電力かつ撮影画像の確認に便利な機能を提供することが可能となる。
【0068】
画像表示フラグが解除され(ステップS130)、クイックレビューフラグも解除されていたならば(ステップS131)、画像表示部28がOFFの状態のままステップS134に進む。この場合は、撮影を行った後でも画像表示部28は消えたままであり、クイックレビュー表示も行われない。これは、光学ファインダー104を用いて撮影を続ける場合のように、撮影直後の撮影画像の確認が不要で、画像表示部28の電子ファインダー機能を使用せずに省電力を重視する使用方法である。
【0069】
システム制御回路50は、メモリ30に書き込まれた撮影画像データを読み出して、メモリ制御回路22、そして必要に応じて画像処理回路20を用いて各種画像処理を、また、圧縮・伸長回路32を用いて設定したモードに応じた画像圧縮処理を行った後、記録媒体200或いは210へ画像データの書き込みを行う記録処理を実行する(ステップS134)。この記録処理(ステップS134)の詳細は、図6のフローチャートを用いて後述する。
【0070】
記録処理(ステップS134)が終了した際に、シャッタースイッチSW2が押された状態であったならば(ステップS135)、システム制御回路50は、システム制御回路50の内部メモリ或いはメモリ52に記憶される連写フラグの状態を判断し(ステップS136)、連写フラグが設定されていたならば、連続して撮影を行うためにステップS129に戻り、次の撮影を行う。
【0071】
連写フラグが設定されていないならば(ステップS136)、シャッタースイッチSW2が放されるまで(ステップS135)、現在の処理を繰り返す。
【0072】
記録処理(ステップS134)が終了した際にシャッタースイッチSW2が放された状態であった、或いは、シャッタースイッチSW2を押し続けてクイックレビュー表示を継続して撮影画像の確認を行った後にシャッタースイッチSW2を放した状態であったならば(ステップS135)、所定のミニマムレビュー時間が経過した後に、ステップS138に進む(ステップS137)。
【0073】
このように、画像表示部28におけるクイックレビュー表示を所定の時間継続することにより、撮影画像の確認を確実に行うことを可能とすると共に、不必要に長時間クイックレビュー表示を継続して、次の撮影チャンスを失うことを防止することができる。なお、このミニマムレビュー時間は、固定値としても、使用者が任意に設定することが可能としても、さらには所定の範囲内で使用者が任意に設定或いは選択することが可能としても、いずれの方法で設定してもかまわない。
【0074】
システム制御回路50は、画像表示フラグが設定されていたならば(ステップS138)、画像表示部28の表示状態をスルー表示状態に設定して(ステップS139)、ステップS141に進む。この場合、画像表示部28でのクイックレビュー表示によって撮影画像を確認した後に、次の撮影のために撮像した画像データを逐次表示するスルー表示状態にすることができる。
【0075】
画像表示フラグが解除されていたならば(ステップS138)、画像表示部28の画像表示をOFF状態に設定して(ステップS140)、ステップS141に進む。この場合、画像表示部28でのクイックレビュー表示によって撮影画像を確認した後に、省電力のために画像表示部28の機能を停止して、電力消費量の大きい画像表示部28やD/A変換器26等の消費電力を削減することが可能となる。
【0076】
シャッタースイッチSW1が押された状態であったならば(ステップS141)、システム制御回路50は、ステップS125に戻って次の撮影に備える。シャッタースイッチSW1が放された状態であったならば(ステップS141)、システム制御回路50は、一連の撮影動作を終えて、図2のフローチャートにおけるステップS103に戻る。
【0077】
図4は、図3のフローチャートのステップS122における測距・測光処理の詳細なフローチャートを示す。システム制御回路50は、撮像素子14から電荷信号を読み出し、A/D変換器16を介して画像処理回路20に撮影画像データを逐次読み込む(ステップS201)。読み込まれた画像データを複数のサンプリングエリアに分割し、露出評価値をエリアごとに重み付けを行い、露出評価の演算を行う。この各エリア中で、色評価値が色温度分布の所定範囲内に収まっている画素の総数が所定数を超えたならば、該サンプリングエリアの露出評価値の重み付けを下げる。この測光評価処理(ステップS201)の詳細は、図7のフローチャートを用いて後述する。
【0078】
この逐次読み込まれた画像データを用いて、画像処理回路20はTTL(スルー・ザ・レンズ)方式のAE(自動露出)処理、EF(フラッシュプリ発光)処理、AF(オートフォーカス)処理に用いる所定の演算を行っている。なお、ここでの各処理は、撮影した全画素数のうちの必要に応じた特定の部分を必要個所分切り取って抽出し、演算に用いている。これにより、TTL方式のAE、EF、AWB、AFの各処理において、中央重点モード、平均モード、評価モードの各モード等の異なるモード毎に最適な演算を行うことが可能となる。
【0079】
画像処理回路20での演算結果を用いて、システム制御回路50は、露出(AE)が適正と判断されるまで(ステップS202)、露光制御部40を用いてAE制御を行う(ステップS203)。
【0080】
AE制御で得られた測定データを用いて、システム制御回路50は、フラッシュが必要か否かを判断し(ステップS204)、フラッシュが必要ならばフラッシュフラグをセツトし、フラッシュ48を充電する(ステップS205)。
【0081】
露出(AE)が適正と判断したならば(ステップS202)、測定データ及び/又は設定パラメータをシステム制御回路50の内部メモリ或いはメモリ52に記憶する。
【0082】
画像処理回路20での演算結果及びAE制御で得られた測定データを用いて、システム制御回路50は、ホワイトバランス(AWB)が適正と判断されるまで(ステップS206)、画像処理回路20を用いて色処理のパラメータを調節してAWB制御を行う(ステップS207)。
【0083】
ホワイトバランス(AWB)が適正と判断したならば(ステップS206)、測定データ及び/又は設定パラメータをシステム制御回路50の内部メモリ或いはメモリ52に記憶する。
【0084】
AE制御及びAWB制御で得られた測定データを用いて、システム制御回路50は、測距(AF)が合点と判断されるまで(ステップS208)、測距制御部42を用いてAF制御を行う(ステップS209)。
【0085】
測距(AF)が合点と判断したならば(ステップS208)、測定データ及び/又は設定パラメータをシステム制御回路50の内部メモリ或いはメモリ52に記憶し、測距・測光処理ルーチン(ステップS122)を終了する。
【0086】
図5は、図3のフローチャートのステップS129における撮影処理の詳細なフローチャートを示す。システム制御回路50は、システム制御回路50の内部メモリ或いはメモリ52に記憶される測光データに従い、露光制御部40によって、絞り機能を有するシャッター12を絞り値に応じて開放して撮像素子10を露光する(ステップS301、S302)。
【0087】
フラッシュフラグによりフラッシュ48が必要か否かを判断し(ステップS303)、必要な場合はフラッシュ48を発光させる(ステップS304)。
【0088】
システム制御回路50は、測光データに従って撮像素子12の露光終了を待ち(ステップS305)、シャッター12を閉じて(ステップS306)、撮像素子14から電荷信号を読み出し、A/D変換器16、画像処理回路20、メモリ制御回路22を介して、或いはA/D変換器16から直接メモリ制御回路22を介して、メモリ30に撮影画像のデータを書き込む(ステップS307)。
【0089】
設定された撮影モードに応じて、フレーム処理を行う必要があるならば(ステップS308)、システム制御回路50は、メモリ制御回路22そして必要に応じて画像処理回路20を用いて、メモリ30に書き込まれた画像データを読み出して垂直加算処理や(ステップS309)、色処理(ステップS310)を順次行った後、メモリ30に処理を終えた画像データを書き込む。
【0090】
システム制御回路50は、メモリ30から画像データを読み出し、メモリ制御回路22を介して画像表示メモリ24に表示画像データの転送を行う(ステップS311)。一連の処理を終えたならば、撮影処理ルーチン(ステップS129)を終了する。
【0091】
図6は、図3のフローチャートのステップS134における記録処理の詳細なフローチャートを示す。システム制御回路50は、メモリ制御回路22、そして必要に応じて画像処理回路20を用いて、メモリ30に書き込まれた撮影画像データを読み出して撮像素子の縦横画素比率を1:1に補間する画素正方化処理を行った後(ステップS401)、メモリ30に処理を終えた画像データを書き込む。
【0092】
そして、メモリ30に書き込まれた画像データを読み出して、設定したモードに応じた圧縮・伸長回路32により画像圧縮処理を行った後(ステップS402)、インターフェース90或いは94、コネクタ92或いは96を介して、メモリカードやコンパクトフラッシュ(R)カード等の記録媒体200或いは210へ圧縮した画像データの書き込みを行う(ステップS403)。記録媒体への書き込みが終わったならば、記録処理ルーチン(ステップS134)を終了する。
【0093】
図7は、図4のフローチャートのステップS201における測光評価処理の詳細なフローチャートを示す。システム制御回路50は、撮像素子14から電荷信号を読み出し、A/D変換器16を介して画像処理回路20に撮影画像データを逐次読み込む(ステップS501)。読み込まれた画像からサンプリングエリアごとに処理を行う。
【0094】
各サンプリングエリアでは、まず輝度情報(輝度レベル)から露出評価値を生成する(ステップS502)。
【0095】
次に、各サンプリングエリア内の画素の色合い等を判断することのできる信号である色評価値を色情報信号レベルから生成し(例えば、色レベル(RGB等)から色差信号CR/CBを色評価値として生成する)(ステップS503)、色評価値が色温度分布の所定範囲内に収まっている画素の総数を数え、総数が所定数以内なら(ステップS504)、該エリアの重み付けは、予め設定されている値にする(ステップS505)。それに対して、総数が所定数を超えているならば、該エリアの重み付けは、通常設定される値より小さい値に設定する(ステップS506)。すなわち、上記所定範囲や所定数として、エリアごとに白色かどうか(白色の画素が多いかどうか)を判定できるように設定しておき、白色のエリア(白色の画素が多いエリア)では、露出評価値の重み付けを小さくするようにしている。
【0096】
この一連の処理をすべてのサンプリングエリアに対して行い、それらの重み付けした露出評価値を足し合わせて全体の露出評価値を算出する(ステップS508)。全体の露出評価値を算出したら、露出評価値演算ルーチン(ステップS201)を終了する。なお、本実施の形態においては、システム制御回路50が、本発明でいう露出評価値生成手段、色評価値生成手段等の各手段に相当する。
【0097】
以上述べたように、輝度に基づいて各エリアの露出評価値を生成するとともに、上記各エリア中の色情報に基づいて露出評価値に重み付け演算を行うようにしたので、測光エリアの大部分を輝度の低い白が占めている場合等でも、露出アンダーになるのを防ぐことが可能となる。
【0098】
なお、本実施の形態においては、色評価値が色温度分布の所定範囲内に収まっている画素の総数を数えるようにしたが、この所定範囲は固定値としても、使用者が任意に設定することが可能としても、所定の範囲内で使用者が任意に設定あるいは選択することが可能としても、いずれの方法で設定してもかまわない。
【0099】
また、色評価値が色温度分布の所定範囲内に収まっている画素の総数が所定数を超えているかを判定するようにしたが、この所定数は固定値としても、使用者が任意に設定することが可能としても、所定の範囲内で使用者が任意に設定あるいは選択することが可能としても、いずれの方法で設定してもかまわない。
【0100】
さらに、色評価値が色温度分布の所定範囲内に収まっている画素の総数が所定数を超えたら重み付けを変更するといった二段階で変更するだけでなく、所定範囲内に収まっている画素の総数に応じて、より多段階的に重み付けの値を変更するようにしてもかまわない。
【0101】
(その他の実施の形態)
上述した実施の形態の機能を実現するべく各種のデバイスを動作させるように、該各種デバイスと接続された装置或いはシステム内のコンピュータに対し、上記実施の形態の機能を実現するためのソフトウェアのプログラムコードを供給し、そのシステム或いは装置のコンピュータ(CPU或いはMPU)に格納されたプログラムに従って上記各種デバイスを動作させることによって実施したものも、本発明の範疇に含まれる。
【0102】
また、この場合、上記ソフトウェアのプログラムコード自体が上述した実施の形態の機能を実現することになり、そのプログラムコード自体は本発明を構成する。そのプログラムコードの伝送媒体としては,プログラム情報を搬送波として伝搬させて供給するためのコンピュータネットワーク(LAN、インターネット等のWAN、無線通信ネットワーク等)システムにおける通信媒体(光ファイバ等の有線回線や無線回線等)を用いることができる。
【0103】
さらに、上記プログラムコードをコンピュータに供給するための手段、例えばかかるプログラムコードを格納した記録媒体は本発明を構成する。かかるプログラムコードを記憶する記録媒体としては、例えばフレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。
【0104】
また、コンピュータが供給されたプログラムコードを実行することにより、上述の実施の形態の機能が実現されるだけでなく、そのプログラムコードがコンピュータにおいて稼働しているOS(オペレーティングシステム)或いは他のアプリケーションソフト等と共同して上述の実施の形態の機能が実現される場合にもかかるプログラムコードは本発明の実施の形態に含まれることはいうまでもない。
【0105】
さらに、供給されたプログラムコードがコンピュータの機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに格納された後、そのプログラムコードの指示に基づいてその機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行い、その処理によって上述した実施の形態の機能が実現される場合にも本発明に含まれることはいうまでもない。
【0106】
なお、上記実施の形態において示した各部の形状及び構造は、何れも本発明を実施するにあたっての具体化のほんの一例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその精神、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。
【0107】
【発明の効果】
以上述べたように本発明によれば、測光エリアの大部分を輝度の低い白が占めている場合等でも、露出アンダーになるのを防ぐことが可能となり、自動露出機能を高めた撮像装置を提供することができる。
【図面の簡単な説明】
【図1】デジタルカメラの構成を示すブロック図である。
【図2】本実施の形態のデジタルカメラの処理動作の主ルーチンを示すフローチャートである。
【図3】本実施の形態のデジタルカメラの処理動作の主ルーチンを示すフローチャートである。
【図4】測距・測光処理ルーチンを示すフローチャートである。
【図5】撮影処理ルーチンを示すフローチャートである。
【図6】記録処理ルーチンを示すフローチャートである。
【図7】測光評価処理ルーチンを示すフローチャートである。
【符号の説明】
12 絞り機能を備えるシャッター
14 撮像素子
18 タイミング発生回路
20 画像処理回路
40 測光制御部
50 システム制御回路
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an imaging device having an automatic exposure mechanism, a control method for the imaging device, a program, and a computer-readable storage medium.
[0002]
[Prior art]
Conventionally, cameras that automatically control exposure and record still images and moving images are commercially available. According to these cameras, even if the user does not operate the aperture or shutter speed, the camera automatically determines the exposure, and the user can take a picture without being aware of the exposure. It has become.
[0003]
[Problems to be solved by the invention]
In such a conventional camera, for a shooting situation in which a high brightness portion exists in a wide area such as a snowy landscape or a cloud, the high brightness portion may be underexposed.
[0004]
As a method for avoiding this, when the integrated value of the luminance level of each photometric area exceeds a predetermined value, the weighting of the photometric area is reduced to prevent underexposure.
[0005]
By the way, even when shooting snow scenes or clouds, white with low brightness may be occupied. In this case, in the above method, since the integrated value of the luminance level of each photometric area does not exceed a predetermined value, the weighting of the photometric area remains as it is, and the exposure is determined because the luminance is considered low. There is a possibility.
[0006]
The present invention has been made in view of the above points, and an object of the present invention is to prevent underexposure even when a low brightness white occupies most of the photometric area.
[0007]
[Means for Solving the Problems]
An imaging apparatus according to the present invention is an imaging apparatus having an automatic exposure mechanism, and a dividing unit that divides captured image data into a plurality of areas, and an exposure evaluation value generation that generates an exposure evaluation value based on luminance for each of the areas. Means, color evaluation value generation means for generating a color evaluation value for each part in each area, and the color evaluation value is within a predetermined range of the color temperature distribution in each area. White Number of parts Is the first number, compared to the case where the number of white portions is a second number smaller than the first number, Weighting the exposure evaluation value for the area Make smaller A weight determining unit; and an exposure control unit that performs a weighting operation on the exposure evaluation value of each area using the weight determined by the weight determining unit, and performs exposure control based on a result of the weighting operation. It has the characteristics.
[0010]
Another feature of the imaging apparatus according to the present invention is that the color evaluation value generation means generates the color evaluation value for each pixel in each area.
[0011]
An image pickup apparatus control method according to the present invention is an image pickup apparatus control method provided with an automatic exposure mechanism, and a division procedure for dividing captured image data into a plurality of areas, and an exposure evaluation value based on luminance for each of the areas. The generated exposure evaluation value generation procedure, the color evaluation value generation procedure for generating the color evaluation value for each part in each area, and the color evaluation value within the predetermined range of the color temperature distribution in each area. White Number of parts Is the first number, compared to the case where the number of white portions is a second number smaller than the first number, Weighting the exposure evaluation value for the area Make smaller A weight determination procedure, and an exposure control procedure for performing a weight calculation on the exposure evaluation value of each area using the weight determined by the weight determination procedure and performing an exposure control based on a result of the weight calculation. Has characteristics.
[0013]
The program of the present invention is a program for controlling an image pickup apparatus equipped with an automatic exposure mechanism, and generates a division processing for dividing captured image data into a plurality of areas and an exposure evaluation value based on luminance for each of the areas. Exposure evaluation value generation processing to be performed, and when the number of portions in which the color evaluation value falls within a predetermined range of the color temperature distribution and is white in each area is the first number, Compared to the case where the number is a second number smaller than the first number, the weight determination process for reducing the weight for the exposure evaluation value of the area and the weights determined by the weight determination process are used for each of the above. An exposure control process that performs a weighting operation on the exposure evaluation value of the area and performs exposure control based on the result of the weighting operation. On the computer It is characterized in that it is executed.
[0015]
The computer-readable storage medium of the present invention is characterized in that the program is stored.
[0016]
In the present invention as described above, the exposure evaluation value for each area is generated based on the luminance, and the exposure calculation value is weighted based on the color information in each area. Even when most of the area is white with low brightness, it is possible to prevent underexposure.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of an imaging apparatus, an imaging apparatus control method, a program, and a computer-readable storage medium according to the present invention will be described with reference to the drawings.
[0018]
FIG. 1 is a block diagram illustrating a configuration example of a digital camera according to the present embodiment. In the figure, reference numeral 10 denotes a photographic lens, 12 denotes a shutter having a diaphragm function, and 14 denotes an image sensor that converts an optical image into an electric signal.
[0019]
Reference numeral 16 denotes an A / D converter that converts an analog signal output from the image sensor 14 into a digital signal. A timing generation circuit 18 supplies a clock signal and a control signal to the image sensor 14, the A / D converter 16, and the D / A converter 26, and is controlled by the memory control circuit 22 and the system control circuit 50.
[0020]
An image processing circuit 20 performs predetermined pixel interpolation processing and color conversion processing on the data from the A / D converter 16 or the data from the memory control circuit 22. Further, the image processing circuit 20 performs predetermined calculation processing using the captured image data, and the system control circuit 50 controls the exposure control unit 40 and the distance measurement control means 42 based on the obtained calculation result. TTL (through-the-lens) AF (autofocus) processing, AE (automatic exposure) processing, and EF (flash pre-flash) processing. Further, the image processing circuit 20 performs predetermined arithmetic processing using the captured image data, and also performs TTL AWB (auto white balance) processing based on the obtained arithmetic result.
[0021]
A memory control circuit 22 controls the A / D converter 16, the timing generation circuit 18, the image processing circuit 20, the image display memory 24, the D / A converter 26, the memory 30, and the compression / decompression circuit 32. Data of the A / D converter 16 is written to the image display memory 24 or the memory 30 via the image processing circuit 20 and the memory control circuit 22 or directly via the memory control circuit 22.
[0022]
Reference numeral 24 denotes an image display memory, 26 denotes a D / A converter, and 28 denotes an image display unit composed of a TFT LCD or the like. Display image data written in the image display memory 24 passes through the D / A converter 26. Are displayed by the image display unit 28. An electronic viewfinder function can be realized by sequentially displaying image data captured using the image display unit 28. The image display unit 28 can arbitrarily turn on / off the display according to an instruction from the system control circuit 50. When the display is turned off, the power consumption of the digital camera can be greatly reduced. .
[0023]
Reference numeral 30 denotes a memory for storing captured still images and moving images, and has a sufficient storage capacity to store a predetermined number of still images and a predetermined time of moving images. Thereby, even in the case of continuous shooting or panoramic shooting in which a plurality of still images are continuously shot, it is possible to write a large amount of images to the memory 30 at high speed. The memory 30 can also be used as a work area for the system control circuit 50.
[0024]
Reference numeral 32 denotes a compression / decompression circuit that compresses and decompresses image data by adaptive discrete cosine transform (ADCT) or the like, reads an image stored in the memory 30, performs compression processing or decompression processing, and stores the processed data in the memory 30. Write to.
[0025]
Reference numeral 40 denotes an exposure control unit that controls the shutter 12 having a diaphragm function, and has a flash light control function in cooperation with the flash 48. Reference numeral 42 denotes a distance measurement control unit that controls focusing of the photographing lens 10, reference numeral 44 denotes a zoom control unit that controls zooming of the photographing lens 10, and reference numeral 46 denotes a barrier control unit that controls the operation of the protection means 102 serving as a barrier. A flash 48 has an AF auxiliary light projecting function and a flash light control function. The exposure control unit 40 and the distance measurement control unit 42 are controlled using the TTL method. Based on the calculation result obtained by calculating the captured image data by the image processing circuit 20, the system control circuit 50 performs the exposure control unit 40 and the distance measurement. The controller 42 is controlled.
[0026]
Reference numeral 50 denotes a system control circuit that controls the entire system, and reference numeral 52 denotes a memory that stores constants, variables, programs, and the like for operation of the system control circuit 50.
[0027]
Reference numeral 54 denotes a display unit such as a liquid crystal display device or a speaker that displays an operation state or a message using characters, images, sounds, or the like in accordance with execution of a program in the system control circuit 50. In the vicinity of the operation unit of the digital camera One or a plurality of positions are installed at a position where it is easy to visually recognize, and for example, it is configured by a combination of an LCD, an LED, a sound generation element, and the like. In addition, the display unit 54 is partially installed in the optical viewfinder 104.
[0028]
Among the display contents of the display unit 54, what is displayed on the LCD or the like includes single shot / continuous shooting display, self-timer display, compression rate display, number of recorded pixels, number of recorded pixels, number of remaining shots, shutter Speed display, Aperture value display, Exposure compensation display, Flash display, Red-eye reduction display, Macro shooting display, Buzzer setting display, Clock battery level display, Battery level display, Error display, Multi-digit number information display and recording There are a display state of the media 200 and 210, a communication I / F operation display, a date / time display, and the like.
[0029]
Among the display contents of the display unit 54, what is displayed in the optical viewfinder 104 includes in-focus display, camera shake warning display, flash charge display, shutter speed display, aperture value display, exposure correction display, and the like.
[0030]
Reference numeral 56 denotes an electrically erasable / recordable nonvolatile memory, such as an EEPROM.
[0031]
Reference numerals 60, 62, 64, 66, 68 and 70 are operation means for inputting various operation instructions of the system control circuit 50, and may be a single unit such as a switch, a dial, a touch panel, pointing by line-of-sight detection, a voice recognition device, or the like. Consists of multiple combinations.
[0032]
Here, a specific description of these operating means will be given. Reference numeral 60 denotes a mode dial switch, which can switch and set various function modes such as power-off, automatic shooting mode, shooting mode, panoramic shooting mode, playback mode, multi-screen playback / erase mode, and PC connection mode.
[0033]
Reference numeral 62 denotes a shutter switch SW1, which is turned ON during the operation of a shutter button (not shown), and performs AF (auto focus) processing, AE (auto exposure) processing, AWB (auto white balance) processing, EF (flash pre-flash) processing, and the like. Instruct to start operation. Reference numeral 64 denotes a shutter switch SW2, which is turned on when the operation of a shutter button (not shown) is completed, and an exposure process for writing a signal read from the image sensor 12 to the memory 30 via the A / D converter 16 and the memory control circuit 22. Development processing using operations in the image processing circuit 20 and the memory control circuit 22, recording processing for reading image data from the memory 30, compression in the compression / decompression circuit 32, and writing the image data to the recording medium 200 or 210. Instructs the start of a series of processing operations.
[0034]
Reference numeral 66 denotes an image display ON / OFF switch, which can set ON / OFF of the image display unit 28. With this function, when taking an image using the optical viewfinder 104, it is possible to save power by cutting off the current supply to the image display unit 28 including a TFT LCD or the like.
[0035]
Reference numeral 68 denotes a quick review ON / OFF switch, which sets a quick review function for automatically reproducing image data taken immediately after photographing. In the present embodiment, it is assumed that a function for setting a quick review function when the image display unit 28 is turned off is provided.
[0036]
Reference numeral 70 denotes an operation unit composed of various buttons, a touch panel, and the like. A menu button, a set button, a macro button, a multi-screen playback page break button, a flash setting button, a single shooting / continuous shooting / self-timer switching button, menu movement + (plus) Button, menu shift- (minus) button, playback image shift + (plus) button, playback image- (minus) button, shooting image quality selection button, exposure correction button, date / time setting button, and the like.
[0037]
Reference numeral 80 denotes a power supply control unit, which includes a battery detection circuit, a DC-DC converter, a switch circuit that switches a block to be energized, and the like, and detects the presence / absence of a battery, the type of battery, the remaining battery level, In addition, the DC-DC converter is controlled based on an instruction from the system control circuit 50, and a necessary voltage is supplied to each part including the recording medium for a necessary period.
[0038]
Reference numeral 82 denotes a connector, 84 denotes a connector, and 86 denotes a power source means including a primary battery such as an alkaline battery or a lithium battery, a secondary battery such as a NiCd battery, NiMH battery, or Li battery, an AC adapter, or the like.
[0039]
90 and 94 are interfaces with a recording medium such as a memory card or a hard disk, 92 and 96 are connectors for connecting to a recording medium such as a memory card or a hard disk, and 98 is a recording medium 200 or 210 attached to the connector 92 or 96. Recording medium attachment / detachment detecting means for detecting whether or not the recording medium is present.
[0040]
In the present embodiment, the description has been made assuming that there are two interfaces and connectors to which the recording medium is attached. Of course, the interface and connector to which the recording medium is attached may have a single or plural number of systems. It doesn't matter. In addition, a combination of interfaces and connectors of different standards may be provided.
[0041]
The interface and the connector may be configured using a PCMCIA card, a CF (Compact Flash (R)) card, or the like that conforms to a standard. In addition, when the interfaces 90 and 94 and the connectors 92 and 96 are configured using a PCMCIA card or a CF (Compact Flash (R)) card or the like, LAN cards, modem cards, USB cards, IEEE1394 cards By connecting various communication cards such as communication cards such as P1284 card, SCSI card, PHS, etc., image data and management information attached to image data can be transferred to and from peripheral devices such as other computers and printers. Can fit.
[0042]
A protection unit 102 is a barrier that covers the imaging unit including the lens 10 to prevent the imaging unit from being dirty or damaged. Reference numeral 104 denotes an optical viewfinder, which can take an image using only the optical viewfinder without using the electronic viewfinder function of the image display unit 28. Further, in the optical viewfinder 104, some functions of the display unit 54, for example, a match point display, a camera shake warning display, a flash charge display, a shutter speed display, an aperture value display, an exposure correction display, and the like are installed.
[0043]
A communication unit 110 has various communication functions such as RS232C, USB, IEEE1394, P1284, SCSI, modem, LAN, and wireless communication. Reference numeral 112 denotes a connector for connecting the digital camera to other devices by the communication means 110 or an antenna in the case of wireless communication.
[0044]
Reference numeral 200 denotes a recording medium such as a memory card or a hard disk. The recording medium 200 includes a recording unit 202 composed of a semiconductor memory, a magnetic disk, and the like, an interface 204 with a digital camera, and a connector 206 for connecting with the digital camera.
[0045]
Reference numeral 210 denotes a recording medium such as a memory card or a hard disk. The recording medium 210 includes a recording unit 212 composed of a semiconductor memory, a magnetic disk, or the like, an interface 214 with a digital camera, and a connector 216 for connecting with the digital camera.
[0046]
Hereinafter, processing operations in the digital camera according to the above embodiment will be described with reference to FIGS.
[0047]
2 and 3 show a flowchart of the main routine. Upon power-on such as battery replacement, the system control circuit 50 initializes flags, control variables, and the like (step S101), and initializes the image display on the image display unit 28 to an OFF state (step S102).
[0048]
The system control circuit 50 determines the setting position of the mode dial 60, and if the mode dial 60 is set to power OFF (step S103), the display of each display unit is changed to the end state, and the protection means 102 The image capturing unit is protected by closing the barrier, and necessary parameters, setting values, and setting modes including flags and control variables are recorded in the non-volatile memory 56, and each unit of the digital camera including the image display unit 28 is controlled by the power control unit 80. After performing a predetermined end process such as shutting off unnecessary power (step S105), the process returns to step S103.
[0049]
If the mode dial 60 is set to the photographing mode (step S103), the process proceeds to step S106. If the mode dial 60 has been set to another mode (step S103), the process according to the selected mode is executed (step S104). If the process is completed, the process returns to step S103.
[0050]
The system control circuit 50 determines whether there is a problem in the operation of the digital camera in terms of the remaining capacity and operation status of the power source 86 constituted by a battery or the like by the power control means 80 (step S106). Then, after a predetermined warning is displayed by image or sound using the display unit 54 (step S108), the process returns to step S103. If there is no problem with the power source 86 (step S106), it is determined whether the operation state of the recording medium 200 or 210 has a problem with the operation of the image processing apparatus 100, particularly with respect to the recording / reproducing operation of the image data with respect to the recording medium ( In step S107), if there is a problem, a predetermined warning is displayed by image or sound using the display unit 54 (step S108), and then the process returns to step S103.
[0051]
If there is no problem in the operation state of the recording medium 200 or 210 (step S107), the display unit 54 is used to display various setting states of the image processing apparatus 100 using images and sounds (step S109). If the image display of the image display unit 28 is ON, the image display unit 28 is also used to display various setting states of the image processing apparatus 100 using images and sounds.
[0052]
The system control circuit 50 checks the setting state of the quick review ON / OFF switch 68 (step S110), sets the quick review flag if it is set to quick review ON (step S111), and sets the quick review OFF. If so, the quick review flag is canceled (step S112). The state of the quick review flag is stored in the internal memory of the system control circuit 50 or the memory 52.
[0053]
Subsequently, the system control circuit 50 checks the setting state of the image display ON / OFF switch 66 (step S113). If the image display is set to ON, the system control circuit 50 sets an image display flag (step S114) and the image. The image display on the display unit 28 is set to the ON state (step S115), and further, the captured image data is set to the through display state for sequentially displaying (step S116), and the process proceeds to step S119 in the flowchart of FIG.
[0054]
In the through display state, the data sequentially written in the image display memory 24 via the image sensor 12, the A / D converter 16, the image processing circuit 20, and the memory control circuit 22 are transferred to the memory control circuit 22 and the D / A. An electronic viewfinder function is realized by sequentially displaying images on the image display unit 28 via the converter 26.
[0055]
If the image display ON / OFF switch 66 is set to image display 0FF (step S113), the image display flag is canceled (step S117), and the image display of the image display unit 28 is set to the OFF state (step S117). Step S118), the process proceeds to step S119 in the flowchart of FIG.
[0056]
When the image display is OFF, shooting is performed using the optical viewfinder 104 without using the electronic viewfinder function of the image display unit 28. In this case, it is possible to reduce power consumption of the image display unit 28, the D / A converter 26, and the like that consume a large amount of power. The state of the image display flag is stored in the internal memory of the system control circuit 50 or the memory 52.
[0057]
If the shutter switch SW1 has not been pressed (step S119), the system control circuit 50 returns to step S103 in the flowchart of FIG. If the shutter switch SW1 is pressed (step S119), the state of the image display flag stored in the internal memory of the system control circuit 50 or the memory 52 is determined (step S120), and if the image display flag is set. For example, the display state of the image display unit 28 is set to the freeze display state (step S121), and the process proceeds to step S122.
[0058]
In the freeze display state, image data rewriting of the image display memory 24 via the image sensor 12, the A / D converter 16, the image processing circuit 20, and the memory control circuit 22 is prohibited, and the last written image data is By displaying the image on the image display unit 28 via the memory control circuit 22 and the D / A converter 26, the frozen video is displayed on the electronic viewfinder.
[0059]
If the image display flag has been canceled (step S120), the process proceeds to step S122. The system control circuit 50 performs a distance measurement process to focus the photographing lens 10 on the subject, performs a photometry process, and determines an aperture value and a shutter time (step S122). In the photometric process, the flash is set if necessary. Details of the distance measurement / photometry processing (step S122) will be described later with reference to the flowchart of FIG.
[0060]
After completing the distance measurement / photometry processing (step S122), the system control circuit 50 determines the state of the image display flag stored in the internal memory of the system control circuit 50 or the memory 52 (step S123), and displays the image. If the flag has been set, the display state of the image display unit 28 is set to the through display state (step S124), and the process proceeds to step S125. Note that the through display state in step S124 is the same operating state as the through state in step S116.
[0061]
If the shutter switch SW2 is not pressed (step S125) and the shutter switch SW1 is also released (step S126), the process returns to step S103 in the flowchart of FIG.
[0062]
If the shutter switch SW2 is pressed (step S125), the system control circuit 50 determines the state of the image display flag stored in the internal memory of the system control circuit 50 or the memory 52 (step S127), and the image display flag. Is set, the display state of the image display unit 28 is set to the fixed color display state (step S128), and the process proceeds to step S129.
[0063]
In the fixed color display state, instead of the captured image data written in the image display memory 24 via the image sensor 12, the A / D converter 16, the image processing circuit 20, and the memory control circuit 22, the fixed color of the replaced color is displayed. By displaying the image data on the image display unit 28 via the memory control circuit 22 and the D / A converter 26, a fixed color image is displayed on the electronic viewfinder.
[0064]
If the image display flag has been canceled (step S127), the process proceeds to step S129. The system control circuit 50 captures an image in the memory 30 via the image sensor 12, the A / D converter 16, the image processing circuit 20, the memory control circuit 22, or directly from the A / D converter via the memory control circuit 22. An exposure process for writing the image data, and a photographing process including a development process for reading out the image data written in the memory 30 and performing various processes using the memory control circuit 22 and, if necessary, the image processing circuit 20. Execute (Step S129). Details of this photographing process (step S129) will be described later with reference to the flowchart of FIG.
[0065]
The system control circuit 50 determines the state of the image display flag stored in the internal memory of the system control circuit 50 or the memory 52 (step S130), and if the image display flag is set, performs a quick review display (step S130). S133). In this case, the image display unit 28 is always displayed as an electronic viewfinder even during shooting, and quick review display immediately after shooting is also performed.
[0066]
If the image display flag has been canceled (step S130), the state of the quick review flag stored in the internal memory of the system control circuit 50 or the memory 52 is determined (step S131), and the quick review flag has been set. Then, the image display of the image display unit 28 is set to the ON state (step S132), and quick review display is performed (step S133).
[0067]
As described above, since the electronic viewfinder function is not necessary because the image is taken for power saving or using the optical viewfinder 104, the quick review switch can be used even when the image display of the image display unit 28 is set to OFF. If the quick review function is set, it is possible to automatically reproduce the captured image on the image display unit 28 immediately after shooting, and provide a power saving and a convenient function for confirming the captured image. It becomes possible.
[0068]
If the image display flag is released (step S130) and the quick review flag is also released (step S131), the process proceeds to step S134 while the image display unit 28 is in an OFF state. In this case, the image display unit 28 remains off even after shooting, and no quick review display is performed. This is a usage method in which it is not necessary to check a photographed image immediately after photographing as in the case of continuing photographing using the optical viewfinder 104, and the power saving is emphasized without using the electronic finder function of the image display unit 28. .
[0069]
The system control circuit 50 reads the captured image data written in the memory 30 and performs various image processing using the memory control circuit 22 and, if necessary, the image processing circuit 20, and also uses the compression / decompression circuit 32. After performing the image compression process according to the set mode, the recording process for writing the image data to the recording medium 200 or 210 is executed (step S134). Details of this recording process (step S134) will be described later with reference to the flowchart of FIG.
[0070]
If the shutter switch SW2 has been pressed when the recording process (step S134) is completed (step S135), the system control circuit 50 is stored in the internal memory of the system control circuit 50 or the memory 52. The state of the continuous shooting flag is determined (step S136). If the continuous shooting flag is set, the flow returns to step S129 to perform continuous shooting, and the next shooting is performed.
[0071]
If the continuous shooting flag is not set (step S136), the current process is repeated until the shutter switch SW2 is released (step S135).
[0072]
The shutter switch SW2 was released when the recording process (step S134) was completed, or the shutter switch SW2 was kept pressed to continue the quick review display to confirm the captured image, and then the shutter switch SW2 If the state is released (step S135), the process proceeds to step S138 after a predetermined minimum review time has elapsed (step S137).
[0073]
As described above, by continuing the quick review display in the image display unit 28 for a predetermined time, it is possible to surely check the captured image, and to continue the quick review display unnecessarily for a long time. Can prevent you from losing your shooting chance. The minimum review time can be a fixed value, can be arbitrarily set by the user, or can be arbitrarily set or selected by the user within a predetermined range. It does not matter if it is set by the method
[0074]
If the image display flag has been set (step S138), the system control circuit 50 sets the display state of the image display unit 28 to the through display state (step S139), and proceeds to step S141. In this case, after confirming the captured image by the quick review display on the image display unit 28, it is possible to enter a through display state in which image data captured for the next imaging is sequentially displayed.
[0075]
If the image display flag has been canceled (step S138), the image display of the image display unit 28 is set to the OFF state (step S140), and the process proceeds to step S141. In this case, after confirming the photographed image by the quick review display on the image display unit 28, the function of the image display unit 28 is stopped for power saving, and the image display unit 28 or D / A conversion with large power consumption is stopped. It is possible to reduce the power consumption of the device 26 and the like.
[0076]
If the shutter switch SW1 has been pressed (step S141), the system control circuit 50 returns to step S125 to prepare for the next shooting. If the shutter switch SW1 has been released (step S141), the system control circuit 50 ends the series of shooting operations and returns to step S103 in the flowchart of FIG.
[0077]
FIG. 4 shows a detailed flowchart of the distance measurement / photometry process in step S122 of the flowchart of FIG. The system control circuit 50 reads the charge signal from the image sensor 14 and sequentially reads the captured image data into the image processing circuit 20 via the A / D converter 16 (step S201). The read image data is divided into a plurality of sampling areas, the exposure evaluation value is weighted for each area, and the exposure evaluation is calculated. If the total number of pixels whose color evaluation values are within the predetermined range of the color temperature distribution in each area exceeds the predetermined number, the exposure evaluation value in the sampling area is reduced in weight. Details of the photometric evaluation process (step S201) will be described later with reference to the flowchart of FIG.
[0078]
Using the sequentially read image data, the image processing circuit 20 is used for predetermined TTL (through the lens) AE (automatic exposure) processing, EF (flash pre-flash) processing, and AF (autofocus) processing. The operation is performed. In each processing here, a specific portion of the total number of photographed pixels is extracted by extracting a necessary portion according to necessity and used for calculation. This makes it possible to perform optimum computation for each different mode such as the center-weighted mode, the average mode, and the evaluation mode in each of the TTL AE, EF, AWB, and AF processes.
[0079]
Using the calculation result in the image processing circuit 20, the system control circuit 50 performs AE control using the exposure control unit 40 (step S203) until it is determined that the exposure (AE) is appropriate (step S202).
[0080]
Using the measurement data obtained by the AE control, the system control circuit 50 determines whether or not the flash is necessary (step S204). If the flash is necessary, the flash control is set and the flash 48 is charged (step S204). S205).
[0081]
If it is determined that the exposure (AE) is appropriate (step S202), the measurement data and / or setting parameters are stored in the internal memory of the system control circuit 50 or the memory 52.
[0082]
The system control circuit 50 uses the image processing circuit 20 until the white balance (AWB) is determined to be appropriate (step S206) using the calculation result in the image processing circuit 20 and the measurement data obtained by the AE control. The color processing parameters are adjusted to perform AWB control (step S207).
[0083]
If it is determined that the white balance (AWB) is appropriate (step S206), the measurement data and / or setting parameters are stored in the internal memory of the system control circuit 50 or the memory 52.
[0084]
Using the measurement data obtained by the AE control and the AWB control, the system control circuit 50 performs the AF control using the distance measurement control unit 42 until the distance measurement (AF) is determined to be a match point (step S208). (Step S209).
[0085]
If the distance measurement (AF) is determined to be the point (step S208), the measurement data and / or the setting parameters are stored in the internal memory of the system control circuit 50 or the memory 52, and the distance measurement / photometry processing routine (step S122) is executed. finish.
[0086]
FIG. 5 shows a detailed flowchart of the photographing process in step S129 of the flowchart of FIG. The system control circuit 50 exposes the image sensor 10 by opening the shutter 12 having an aperture function according to the aperture value by the exposure control unit 40 according to the photometric data stored in the internal memory of the system control circuit 50 or the memory 52. (Steps S301 and S302).
[0087]
It is determined whether or not the flash 48 is necessary based on the flash flag (step S303). If necessary, the flash 48 is caused to emit light (step S304).
[0088]
The system control circuit 50 waits for the end of exposure of the image sensor 12 according to the photometric data (step S305), closes the shutter 12 (step S306), reads out the charge signal from the image sensor 14, and performs the A / D converter 16 and image processing. The photographed image data is written into the memory 30 via the circuit 20, the memory control circuit 22, or directly from the A / D converter 16 via the memory control circuit 22 (step S307).
[0089]
If it is necessary to perform frame processing according to the set shooting mode (step S308), the system control circuit 50 writes into the memory 30 using the memory control circuit 22 and, if necessary, the image processing circuit 20. The read image data is read out, the vertical addition process (step S309) and the color process (step S310) are sequentially performed, and the processed image data is written in the memory 30.
[0090]
The system control circuit 50 reads the image data from the memory 30 and transfers the display image data to the image display memory 24 via the memory control circuit 22 (step S311). When the series of processing is finished, the photographing processing routine (step S129) is finished.
[0091]
FIG. 6 shows a detailed flowchart of the recording process in step S134 of the flowchart of FIG. The system control circuit 50 reads out the captured image data written in the memory 30 using the memory control circuit 22 and, if necessary, the image processing circuit 20, and interpolates the vertical / horizontal pixel ratio of the image sensor to 1: 1. After performing the square processing (step S401), the processed image data is written in the memory 30.
[0092]
The image data written in the memory 30 is read out and subjected to image compression processing by the compression / decompression circuit 32 corresponding to the set mode (step S402), and then via the interface 90 or 94 and the connector 92 or 96. Then, the compressed image data is written to the recording medium 200 or 210 such as a memory card or a compact flash (R) card (step S403). When the writing to the recording medium is finished, the recording processing routine (step S134) is ended.
[0093]
FIG. 7 shows a detailed flowchart of the photometric evaluation process in step S201 of the flowchart of FIG. The system control circuit 50 reads the charge signal from the image sensor 14 and sequentially reads the captured image data into the image processing circuit 20 via the A / D converter 16 (step S501). Processing is performed for each sampling area from the read image.
[0094]
In each sampling area, first, an exposure evaluation value is generated from luminance information (luminance level) (step S502).
[0095]
Next, a color evaluation value, which is a signal that can determine the hue of the pixels in each sampling area, is generated from the color information signal level (for example, the color difference signal CR / CB is color-evaluated from the color level (RGB or the like). (Step S503), the total number of pixels whose color evaluation value is within the predetermined range of the color temperature distribution is counted, and if the total number is within the predetermined number (Step S504), the weight of the area is set in advance. The set value is set (step S505). On the other hand, if the total number exceeds the predetermined number, the weight of the area is set to a value smaller than a value that is normally set (step S506). That is, the predetermined range and the predetermined number are set so that it is possible to determine whether each area is white (whether there are many white pixels), and in the white area (area where there are many white pixels), exposure evaluation is performed. The weight of the value is made small.
[0096]
This series of processes is performed for all sampling areas, and the weighted exposure evaluation values are added to calculate the overall exposure evaluation value (step S508). When the overall exposure evaluation value is calculated, the exposure evaluation value calculation routine (step S201) is terminated. In the present embodiment, the system control circuit 50 corresponds to each means such as an exposure evaluation value generation means and a color evaluation value generation means referred to in the present invention.
[0097]
As described above, the exposure evaluation value for each area is generated based on the luminance, and the exposure evaluation value is weighted based on the color information in each area. Even when white with low brightness occupies, it is possible to prevent underexposure.
[0098]
In the present embodiment, the total number of pixels whose color evaluation values are within a predetermined range of the color temperature distribution is counted, but the predetermined range is arbitrarily set by the user even if it is a fixed value. Even if it is possible, the user can arbitrarily set or select within a predetermined range, or any method may be used.
[0099]
In addition, it is determined whether the total number of pixels whose color evaluation value is within the predetermined range of the color temperature distribution exceeds the predetermined number. However, the predetermined number can be set as a fixed value by the user. It can be set by any method, even if the user can arbitrarily set or select within a predetermined range.
[0100]
Furthermore, the total number of pixels whose color evaluation value is within the predetermined range is not only changed in two stages, such as changing the weighting when the total number of pixels within the predetermined range of the color temperature distribution exceeds the predetermined number. Depending on, the weighting value may be changed in more stages.
[0101]
(Other embodiments)
Software program for realizing the functions of the above-described embodiment for an apparatus or a computer in the system connected to the various devices so as to operate the various devices to realize the functions of the above-described embodiments. What was implemented by supplying the code and operating the various devices in accordance with a program stored in a computer (CPU or MPU) of the system or apparatus is also included in the scope of the present invention.
[0102]
In this case, the program code of the software itself realizes the functions of the above-described embodiments, and the program code itself constitutes the present invention. As a transmission medium of the program code, a communication medium (wired line or wireless line such as an optical fiber) in a computer network (LAN, WAN such as the Internet, wireless communication network, etc.) system for propagating and supplying program information as a carrier wave Etc.) can be used.
[0103]
Further, means for supplying the program code to the computer, for example, a recording medium storing the program code constitutes the present invention. As a recording medium for storing the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
[0104]
Further, by executing the program code supplied by the computer, not only the functions of the above-described embodiments are realized, but also the OS (operating system) or other application software in which the program code is running on the computer. Needless to say, the program code is also included in the embodiment of the present invention even when the functions of the above-described embodiment are realized in cooperation with the above.
[0105]
Further, after the supplied program code is stored in the memory provided in the function expansion board of the computer or the function expansion unit connected to the computer, the CPU provided in the function expansion board or function expansion unit based on the instruction of the program code Needless to say, the present invention also includes the case where the functions of the above-described embodiment are realized by performing part or all of the actual processing.
[0106]
It should be noted that the shapes and structures of the respective parts shown in the above embodiments are merely examples of implementation in carrying out the present invention, and these limit the technical scope of the present invention. It should not be interpreted. That is, the present invention can be implemented in various forms without departing from the spirit or main features thereof.
[0107]
【The invention's effect】
As described above, according to the present invention, it is possible to prevent the underexposure even when the white area having a low luminance occupies most of the photometric area, and to provide an imaging apparatus with an enhanced automatic exposure function. Can be provided.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a digital camera.
FIG. 2 is a flowchart showing a main routine of processing operations of the digital camera of the present embodiment.
FIG. 3 is a flowchart showing a main routine of processing operations of the digital camera of the present embodiment.
FIG. 4 is a flowchart showing a distance measurement / photometry processing routine.
FIG. 5 is a flowchart illustrating an imaging processing routine.
FIG. 6 is a flowchart showing a recording processing routine.
FIG. 7 is a flowchart showing a photometric evaluation processing routine.
[Explanation of symbols]
12 Shutter with aperture function
14 Image sensor
18 Timing generator
20 Image processing circuit
40 Metering control unit
50 System control circuit

Claims (5)

自動露出機構を備えた撮像装置であって、
撮影画像データを複数のエリアに分割する分割手段と、
上記エリアごとに輝度に基づく露出評価値を生成する露出評価値生成手段と、
上記各エリア中において部分ごとに色評価値を生成する色評価値生成手段と、
上記各エリア中において上記色評価値が色温度分布の所定範囲内に収まって白色とされる部分の数が第1の数である場合、白色とされる部分の数が上記第1の数より小さい第2の数である場合に比べて、当該エリアの露出評価値に対する重み付けを小さくする重み付け決定手段と、
上記重み付け決定手段により決定された重み付けを用いて上記各エリアの露出評価値に重み付け演算を行い、その重み付け演算の結果に基づいて露出制御を行う露出制御手段とを備えたことを特徴とする撮像装置。
An imaging device equipped with an automatic exposure mechanism,
A dividing means for dividing the photographed image data into a plurality of areas;
Exposure evaluation value generating means for generating an exposure evaluation value based on luminance for each area;
Color evaluation value generation means for generating a color evaluation value for each part in each area,
In each area, when the color evaluation value is within a predetermined range of the color temperature distribution and the number of white portions is the first number, the number of white portions is greater than the first number. A weight determination means for reducing the weight for the exposure evaluation value of the area as compared with the case of the small second number;
An exposure control means for performing a weighting operation on the exposure evaluation value of each area using the weighting determined by the weighting determination means and performing exposure control based on a result of the weighting calculation. apparatus.
上記色評価値生成手段は、上記各エリア中において画素ごとに上記色評価値を生成することを特徴とする請求項1に記載の撮像装置。  The imaging apparatus according to claim 1, wherein the color evaluation value generation unit generates the color evaluation value for each pixel in each area. 自動露出機構を備えた撮像装置の制御方法であって、
撮影画像データを複数のエリアに分割する分割手順と、
上記エリアごとに輝度に基づく露出評価値を生成する露出評価値生成手順と、
上記各エリア中において部分ごとに色評価値を生成する色評価値生成手順と、
上記各エリア中において上記色評価値が色温度分布の所定範囲内に収まって白色とされる部分の数が第1の数である場合、白色とされる部分の数が上記第1の数より小さい第2の数である場合に比べて、当該エリアの露出評価値に対する重み付けを小さくする重み付け決定手順と、
上記重み付け決定手順により決定された重み付けを用いて上記各エリアの露出評価値に重み付け演算を行い、その重み付け演算の結果に基づいて露出制御を行う露出制御手順とを有することを特徴とする撮像装置の制御方法。
A method for controlling an imaging apparatus having an automatic exposure mechanism,
A division procedure for dividing the captured image data into a plurality of areas;
An exposure evaluation value generation procedure for generating an exposure evaluation value based on luminance for each area,
A color evaluation value generation procedure for generating a color evaluation value for each part in each area;
In each area, when the color evaluation value is within a predetermined range of the color temperature distribution and the number of white portions is the first number, the number of white portions is greater than the first number. A weighting determination procedure for reducing the weighting for the exposure evaluation value of the area as compared with the case of the small second number;
An exposure control procedure for performing a weighting operation on the exposure evaluation value of each area using the weighting determined by the weighting determination procedure, and performing an exposure control based on a result of the weighting operation. Control method.
自動露出機構を備えた撮像装置を制御するためのプログラムであって、
撮影画像データを複数のエリアに分割する分割処理と、
上記エリアごとに輝度に基づく露出評価値を生成する露出評価値生成処理と、
上記各エリア中において上記色評価値が色温度分布の所定範囲内に収まって白色とされる部分の数が第1の数である場合、白色とされる部分の数が上記第1の数より小さい第2の数である場合に比べて、当該エリアの露出評価値に対する重み付けを小さくする重み付け決定処理と、
上記重み付け決定処理により決定された重み付けを用いて上記各エリアの露出評価値に重み付け演算を行い、その重み付け演算の結果に基づいて露出制御を行う露出制御処理とをコンピュータに実行させることを特徴とするプログラム。
A program for controlling an imaging apparatus equipped with an automatic exposure mechanism,
A division process for dividing the captured image data into a plurality of areas;
Exposure evaluation value generation processing for generating an exposure evaluation value based on luminance for each area;
In each area, when the color evaluation value is within a predetermined range of the color temperature distribution and the number of white portions is the first number, the number of white portions is greater than the first number. A weighting determination process for reducing the weighting for the exposure evaluation value of the area as compared with the case where the second number is small;
A weight calculation is performed on the exposure evaluation value of each area using the weight determined by the weight determination process, and an exposure control process for performing exposure control based on a result of the weight calculation is executed by the computer. Program to do.
請求項4に記載のプログラムを格納したことを特徴とするコンピュータ読み取り可能な記憶媒体。  A computer-readable storage medium storing the program according to claim 4.
JP2001199797A 2001-06-29 2001-06-29 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND COMPUTER-READABLE STORAGE MEDIUM Expired - Fee Related JP4636739B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001199797A JP4636739B2 (en) 2001-06-29 2001-06-29 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND COMPUTER-READABLE STORAGE MEDIUM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001199797A JP4636739B2 (en) 2001-06-29 2001-06-29 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND COMPUTER-READABLE STORAGE MEDIUM

Publications (3)

Publication Number Publication Date
JP2003018456A JP2003018456A (en) 2003-01-17
JP2003018456A5 JP2003018456A5 (en) 2008-08-07
JP4636739B2 true JP4636739B2 (en) 2011-02-23

Family

ID=19037029

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001199797A Expired - Fee Related JP4636739B2 (en) 2001-06-29 2001-06-29 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND COMPUTER-READABLE STORAGE MEDIUM

Country Status (1)

Country Link
JP (1) JP4636739B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100460981C (en) * 2004-07-16 2009-02-11 佛山市顺德区顺达电脑厂有限公司 Software photometric system and method thereof
JP4902136B2 (en) 2005-04-28 2012-03-21 キヤノン株式会社 Imaging apparatus, imaging method, and program
JP4626432B2 (en) * 2005-07-25 2011-02-09 富士フイルム株式会社 Color discriminating method and apparatus in imaging apparatus and exposure control method of imaging apparatus
JP5226195B2 (en) 2006-07-28 2013-07-03 オリンパスメディカルシステムズ株式会社 Endoscope apparatus and method for operating endoscope apparatus
JP5504895B2 (en) * 2010-01-07 2014-05-28 日本電気株式会社 Mobile terminal, photometry area selection method, photometry area selection program, and program recording medium
JP5885416B2 (en) 2011-07-14 2016-03-15 キヤノン株式会社 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08107559A (en) * 1994-10-05 1996-04-23 Ricoh Co Ltd Image input device
JP3701058B2 (en) * 1995-08-29 2005-09-28 富士写真フイルム株式会社 Imaging device
JPH11146264A (en) * 1997-11-11 1999-05-28 Canon Inc Imaging device, imaging method, and computer-readable storage medium
JP2000324506A (en) * 1999-05-10 2000-11-24 Matsushita Electric Ind Co Ltd Exposure control device for video camera

Also Published As

Publication number Publication date
JP2003018456A (en) 2003-01-17

Similar Documents

Publication Publication Date Title
JP4989385B2 (en) Imaging apparatus, control method thereof, and program
JP2005167697A (en) Electronic camera with red-eye correction function
US8169507B2 (en) Image recording apparatus with electronic zoom and recording size setting, and control method and program therefor
JP4636739B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND COMPUTER-READABLE STORAGE MEDIUM
JP4136296B2 (en) Image processing apparatus, method, and computer-readable storage medium
JP3625371B2 (en) Image processing apparatus, control method for image processing apparatus, and storage medium
JP4343340B2 (en) Image processing apparatus and control method
JP2005292740A (en) Electronic camera
JP2004194109A (en) Exposure compensation device
JP4262022B2 (en) Imaging device
JP4498169B2 (en) Image processing apparatus and control method thereof
JP4481428B2 (en) Image processing device
JP2006042258A (en) Imaging apparatus and control method thereof
JP4612763B2 (en) Imaging apparatus and control method thereof
JP2006203689A (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP4717645B2 (en) Imaging apparatus and control method thereof
JP2005184611A (en) Image processing device
JP2006235060A (en) Imaging device
JP2005208392A (en) Image capturing apparatus, image processing method, and program
JP4682104B2 (en) Imaging device
JP4532668B2 (en) Imaging apparatus, control method thereof, and computer-readable recording medium
JP4408545B2 (en) Imaging device
JP2013197839A (en) Image pickup device and control method and program therefor
JP2004219473A (en) Exposure control device
JPH11261853A (en) Image processing apparatus, control method for image processing apparatus, and storage medium

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080625

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080625

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100520

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100601

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100802

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100921

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101022

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101122

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

Free format text: PAYMENT UNTIL: 20131203

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees