JP2004194109A - Exposure correction device - Google Patents

Exposure correction device Download PDF

Info

Publication number
JP2004194109A
JP2004194109A JP2002361280A JP2002361280A JP2004194109A JP 2004194109 A JP2004194109 A JP 2004194109A JP 2002361280 A JP2002361280 A JP 2002361280A JP 2002361280 A JP2002361280 A JP 2002361280A JP 2004194109 A JP2004194109 A JP 2004194109A
Authority
JP
Japan
Prior art keywords
image
histogram
mode
image data
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002361280A
Other languages
Japanese (ja)
Inventor
Genshiro Shibaue
玄志郎 芝上
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 JP2002361280A priority Critical patent/JP2004194109A/en
Publication of JP2004194109A publication Critical patent/JP2004194109A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Exposure Control For Cameras (AREA)
  • Indication In Cameras, And Counting Of Exposures (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an exposure correction device by which exposure correction for picture data appropriately exposing the picture data at any range is available. <P>SOLUTION: The exposure correction device comprises: selecting the picture data at any range from the picture data generated by photographing processing for an object image in a photographing means; preparing the histogram of the picture data at any range by a system control circuit 50; and conducting the exposure correction for the picture data based on the histogram. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、撮像手段によって生成される画像データの露出を補正する露出補正装置に関するものである。
【0002】
【従来の技術】
近年デジタルカメラの普及と共に、その技術は発展し、様々な方法での撮影、加工が可能になっている。例えば、静止画像全体のヒストグラム(輝度分布グラフ)を表示させ、それにより画像全体の露出を確かめることができる。そして、画像全体のヒストグラムから画像全体の露出を判断し、露出補正を行うことができる。
【0003】
【発明が解決しようとする課題】
しかしながら、所望の位置、例えば画像の右上付近に配した人の顔の露出を適正に補正したい場合では、静止画像全体に対してのヒストグラムを用いて、露出補正を行う事が困難であった。
【0004】
本発明は、上記問題点に鑑みてなされたものであり、任意の範囲の画像データの輝度分布を基に画像データの露出補正を可能とすることを目的とする。
【0005】
【課題を解決するための手段】
斯かる目的を達成するために、本発明の露出補正装置は、撮像手段の被写体像の撮像処理によって生成される画像データから任意の範囲の画像データを選択可能な選択手段と、前記選択手段により選択された前記任意の範囲の画像データの輝度分布を示す情報を作成する情報作成手段と、前記情報作成手段により作成された前記輝度分布を示す情報に基づき、前記撮像手段より生成される画像データの露出補正を行う補正手段とを有することを特徴とする。
【0006】
【発明の実施の形態】
以下、本発明の好適な実施形態を、添付図面を参照しながら詳細に説明する。以下に説明する本発明の実施形態は、撮影中の画像データに対して任意の範囲の画像データを指定し、その範囲のヒストグラムを作成し、このヒストグラムを基に露出補正を行い、その結果を用いて撮影を行うことによって、任意の範囲の露出を適正にすることが可能となる。
【0007】
図1は、本発明に係る露出補正装置の一実施形態の構成を示したブロック図である。先ず、図1を用いて本実施形態の構成を説明する。
10は撮影レンズ、12は絞り機能を備えるシャッタ、14は光学像を電気信号に変換する撮像素子、16は撮像素子14のアナログ信号出力をディジタル信号に変換するA/D変換器である。
【0008】
18は撮像素子14、A/D変換器16、D/A変換器26にクロック信号や制御信号を供給するタイミング発生回路であり、メモリ制御回路22及びシステム制御回路50により制御される。
【0009】
20は画像処理回路であり、A/D変換器16からのデータ或いはメモリ制御回路22からのデータに対して所定の画素補間処理や色変換処理を行う。また、画像処理回路20においては、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてシステム制御回路50が露光制御手段40、測距制御手段42に対して制御を行う、TTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュプリ発光)処理を行っている。
【0010】
また、画像処理回路20においては、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてTTL方式のAWB(オートホワイトバランス)処理も行っている。さらに画像処理回路20では、撮像した画像データを用いて所定の演算処理を行い、画像データ内の輝度分布をヒストグラムとして作成する処理も行っている。
【0011】
22はメモリ制御回路であり、A/D変換器16、タイミング発生回路18、画像処理回路20、画像表示メモリ24、D/A変換器26、メモリ30、圧縮・伸長回路32を制御する。
【0012】
A/D変換器16のデータが画像処理回路20、メモリ制御回路22を介して、或いはA/D変換器16のデータが直接メモリ制御回路22を介して、画像表示メモリ24或いはメモリ30に書き込まれる。
【0013】
24は画像表示メモリ、26はD/A変換器、28はTFT LCD等から成る画像表示部であり、画像表示メモリ24に書き込まれた表示用の画像データはD/A変換器26を介して画像表示部28により表示される。
【0014】
画像表示部28を用いて撮像した画像データを逐次表示すれば、電子ファインダ機能を実現することが可能である。また画像処理回路20で作成されたヒストグラムを表示する事も可能である。画像表示部28は、システム制御回路50の指示により任意に表示をON/OFFすることが可能であり、表示をOFFにした場合には露出補正装置100の電力消費を大幅に低減することができる。
【0015】
さらに、画像表示部28は、回転可能なヒンジ部によって露出補正装置100本体と結合されており、自由な向き、角度を設定して電子ファインダ機能や再生表示機能、各種表示機能を使用することが可能である。
【0016】
また、画像表示部28の表示部分を露出補正装置100に向けて格納することが可能であり、この場合は画像表示部開閉検知手段106により、格納状態を検知して画像表示部28の表示動作を停止することができる。
【0017】
30は撮影した静止画像や動画像を格納するためのメモリであり、所定枚数の静止画像や所定時間の動画像を格納するのに十分な記憶量を備えている。これにより、複数枚の静止画像を連続して撮影する連射撮影やパノラマ撮影の場合にも、高速かつ大量の画像書き込みをメモリ30に対して行うことが可能となる。また、メモリ30はシステム制御回路50の作業領域としても使用することが可能である。
【0018】
32は適応離散コサイン変換(ADCT)等により画像データを圧縮伸長する圧縮・伸長回路であり、メモリ30に格納された画像を読み込んで圧縮処理或いは伸長処理を行い、処理を終えたデータをメモリ30に書き込む。
【0019】
40は絞り機能を備えるシャッタ12を制御する露光制御手段であり、フラッシュ48と連携することによりフラッシュ調光機能も有するものである。
【0020】
42は撮影レンズ10のフォーカシングを制御する測距制御手段である。露光制御手段40、測距制御手段42はTTL方式を用いて制御されており、撮像した画像データを画像処理回路20によって演算した演算結果に基づき、システム制御回路50が露光制御手段40、測距制御手段42に対して制御を行う。
【0021】
44は撮影レンズ10のズーミングを制御するズーム制御手段、46はバリアである保護手段102の動作を制御するバリア制御手段である。48はコネクタであり、アクセサリーシューとも呼ばれ、フラッシュ装置400との電気接点や機械的な固定手段も合わせて備えている。
【0022】
50は露出補正装置100全体を制御するシステム制御回路、52はシステム制御回路50の動作用の定数、変数、プログラム等を記憶するメモリである。54はシステム制御回路50でのプログラムの実行に応じて、文字、画像、音声等を用いて動作状態やメッセージ等を表示する液晶表示装置、スピーカー等の表示部であり、露出補正装置100の操作部近辺の視認し易い位置に単数或いは複数個所設置され、例えばLCDやLED、発音素子等の組み合わせにより構成されている。
【0023】
また、表示部54は、その一部の機能が光学ファインダ104内に設置されている。表示部54の表示内容のうち、LCD等に表示するものとしては、シングルショット/連写撮影表示、セルフタイマ表示、圧縮率表示、記録画素数表示、記録枚数表示、残撮影可能枚数表示、シャッタスピード表示、絞り値表示、露出補正表示、フラッシュ表示、赤目緩和表示、マクロ撮影表示、ブザー設定表示、時計用電池残量表示、電池残量表示、エラー表示、複数桁の数字による情報表示、記録媒体200及び210の着脱状態表示、通信I/F動作表示、日付け・時刻表示、等がある。
【0024】
また、表示部54の表示内容のうち、光学ファインダ104内に表示するものとしては、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタスピード表示、絞り値表示、露出補正表示、等がある。56は電気的に消去・記録可能な不揮発性メモリであり、例えばEEPROM等が用いられる。
【0025】
60、62、64、66、68及び70は、システム制御回路50の各種の動作指示を入力するための操作手段であり、スイッチやダイアル、タッチパネル、視線検知によるポインティング、音声認識装置等の単数或いは複数の組み合わせで構成される。
【0026】
ここで、これらの操作手段の具体的な説明を行う。
60はモードダイアルスイッチで、電源オフ、自動撮影モード、撮影モード、パノラマ撮影モード、再生モード、マルチ画面再生・消去モード、PC接続モード等の各機能モードを切り替え設定することができる。
【0027】
62はシャッタスイッチSW1で、不図示のシャッタボタンの操作途中でONとなり、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュプリ発光)処理等の動作開始を指示する。
【0028】
64はシャッタスイッチSW2で、不図示のシャッタボタンの操作完了でONとなり、撮像素子12から読み出した信号をA/D変換器16、メモリ制御回路22を介してメモリ30に画像データを書き込む露光処理、画像処理回路20やメモリ制御回路22での演算を用いた現像処理、メモリ30から画像データを読み出し、圧縮・伸長回路32で圧縮を行い、記録媒体200或いは210に画像データを書き込む記録処理という一連の処理の動作開始を指示する。
【0029】
66は画像表示ON/OFFスイッチで、画像表示部28のON/OFFを設定することができる。この機能により、光学ファインダ104を用いて撮影を行う際に、TFT LCD等から成る画像表示部28への電流供給を遮断することにより、省電力を図ることが可能となる。
【0030】
68は単写/連写スイッチで、シャッタスイッチSW2を押した場合に1駒の撮影を行って待機状態とする単写モードとシャッタスイッチSW2を押している間は連続して撮影を行い続ける連写モードとを設定することができる。
【0031】
70は各種ボタンやタッチパネル等からなる操作部で、メニューボタン、セットボタン、キャンセルボタン、マクロボタン、マルチ画面再生改ページボタン、フラッシュ設定ボタン、単写/連写/セルフタイマ切り替えボタン、メニュー移動+(プラス)ボタン、メニュー移動−(マイナス)ボタン、再生画像移動+(プラス)ボタン、再生画像−(マイナス)ボタン、撮影画質選択ボタン、露出補正ボタン、日付/時間設定ボタン、パノラマモード等の撮影及び再生を実行する際に各種機能の選択及び切り替えを設定する選択/切り替えボタン、パノラマモード等の撮影及び再生を実行する際に各種機能の決定及び実行を設定する決定/実行ボタン、指定した範囲のヒストグラムを表示するモードに切り替えるヒストグラムボタン、画像表示部28のON/OFFを設定する画像表示ON/OFFスイッチ、撮影直後に撮影した画像データを自動再生するクイックレビュー機能を設定するクイックレビューON/OFFスイッチ、JPEG圧縮の圧縮率を選択するため或いは撮像素子の信号をそのままディジタル化して記録媒体に記録するCCDRAWモードを選択するためのスイッチである圧縮モードスイッチ、再生モード、マルチ画面再生・消去モード、PC接続モード等の各機能モードを設定することができる再生モードスイッチ、撮影モード状態において、撮影した画像をメモリ30或いは記録媒体200或いは210から読み出して画像表示部28によって表示する再生動作の開始を指示する再生スイッチ等がある。
【0032】
80は電源制御手段で、電池検出回路、DC-DCコンバータ、通電するブロックを切り替えるスイッチ回路等により構成されており、電池の装着の有無、電池の種類、電池残量の検出を行い、検出結果及びシステム制御回路50の指示に基づいてDC-DCコンバータを制御し、必要な電圧を必要な期間、記録媒体を含む各部へ供給する。
【0033】
82はコネクタ、84はコネクタ、86はアルカリ電池やリチウム電池等の一次電池やNiCd電池やNiMH電池、Li電池等の二次電池、ACアダプタ等からなる電源手段である。
【0034】
90及び94はメモリカードやハードディスク等の記録媒体とのインタフェース、92及び96はメモリカードやハードディスク等の記録媒体と接続を行うコネクタ、98はコネクタ92及び或いは96に記録媒体200或いは210が装着されているか否かを検知する記録媒体着脱検知手段である。
【0035】
なお、本実施形態では記録媒体を取り付けるインタフェース及びコネクタを2系統持つものとして説明している。もちろん、記録媒体を取り付けるインタフェース及びコネクタは、単数或いは複数、いずれの系統数を備える構成としても構わない。また、異なる規格のインタフェース及びコネクタを組み合わせて備える構成としても構わない。インタフェース及びコネクタとしては、PCMCIAカードやCF(コンパクトフラッシュ(R))カード等の規格に準拠したものを用いて構成して構わない。
【0036】
さらに、インタフェース90及び94、そしてコネクタ92及び96をPCMCIAカードやCF(コンパクトフラッシュ(R))カード等の規格に準拠したものを用いて構成した場合、LANカードやモデムカード、USBカード、IEEE1394カード、P1284カード、SCSIカード、PHS等の通信カード、等の各種通信カードを接続することにより、他のコンピュータやプリンタ等の周辺機器との間で画像データや画像データに付属した管理情報を転送し合うことができる。
【0037】
102は、露出補正装置100のレンズ10を含む撮像部を覆う事により、撮像部の汚れや破損を防止するバリアである保護手段である。104は光学ファインダであり、画像表示部28による電子ファインダ機能を使用すること無しに、光学ファインダのみを用いて撮影を行うことが可能である。また、光学ファインダ104内には、表示部54の一部の機能、例えば、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタスピード表示、絞り値表示、露出補正表示などが設置されている。
【0038】
106は画像表示部開閉検知手段であり、画像表示部28が、画像表示部28の表示部分を露出補正装置100に向けて格納した格納状態にあるかどうかを検知することができる。ここで、格納状態にあると検知したならば画像表示部28の表示動作を停止して不要な電力消費を禁止することが可能である。
【0039】
110は通信手段で、RS232CやUSB、IEEE1394、P1284、SCSI、モデム、LAN、無線通信、等の各種通信機能を有する。112は通信手段110により露出補正装置100を他の機器と接続するコネクタ或いは無線通信の場合はアンテナである。200はメモリカードやハードディスク等の記録媒体である。
【0040】
記録媒体200は、半導体メモリや磁気ディスク等から構成される記録部202、露出補正装置100とのインタフェース204、露出補正装置100と接続を行うコネクタ206を備えている。210はメモリカードやハードディスク等の記録媒体である。
【0041】
記録媒体210は、半導体メモリや磁気ディスク等から構成される記録部212、露出補正装置100とのインタフェース214、露出補正装置100と接続を行うコネクタ216を備えている。
【0042】
400はフラッシュ装置である。402は露出補正装置100のアクセサリーシューと接続するためのコネクタである。404はフラッシュであり、AF補助光の投光機能、フラッシュ調光機能も有する。
【0043】
<第1の実施形態>
次に、本発明の第1の実施形態の動作を図2〜6を参照しながら説明する。図2〜図6は、本実施形態の露出補正装置の動作を示したフローチャートである。また、図7〜図11は、本実施形態又は後述する第2の実施形態における画面表示部28上の画面表示例を模式的に示した図である。
【0044】
電池交換等の電源投入により、システム制御回路50はフラグや制御変数等を初期化し(S101)、画像表示部28の画像表示をOFF状態に初期設定する(S102)。システム制御回路50は、モードダイアル60の設定位置を判断し、モードダイアル60が電源OFFに設定されていたならば(S103)、各表示部の表示を終了状態に変更し、保護手段102のバリアを閉じて撮像部を保護し、フラグや制御変数等を含む必要なパラメータや設定値、設定モードを不揮発性メモリ56に記録し、電源制御手段80により画像表示部28を含む、画像処理装置100各部の不要な電源を遮断する等の所定の終了処理を行った後(S105)、S103に戻る。
【0045】
モードダイアル60が撮影モードに設定されていたならば(S103)、S106に進む。モードダイアル60がその他のモードに設定されていたならば(S103)、システム制御回路50は選択されたモードに応じた処理を実行し(S104)、処理を終えたならばS103に戻る。
【0046】
システム制御回路50は、電源制御手段80により電池等により構成される電源86の残容量や動作状況が画像処理装置100の動作に問題があるか否かを判断し(S106)、問題があるならば表示部54を用いて画像や音声により所定の警告表示を行った後に(S108)、S103に戻る。
【0047】
電源86に問題が無いならば(S106)、システム制御回路50は、記録媒体200或いは210の動作状態が画像処理装置100の動作、特に記録媒体に対する画像データの記録再生動作に問題があるか否かを判断し(S107)、問題があるならば表示部54を用いて画像や音声により所定の警告表示を行った後に(S108)、S103に戻る。記録媒体200或いは210の動作状態に問題が無いならば(S107)、S109に進む。
【0048】
S109では撮影中の画像データ、即ち撮像素子から逐次読み出される画像データを画像表示部28に図7(a)に示すように表示する。この表示は画像表示ON/OFF66でON/OFFを切り替えることができる。次に、画像表示部28上に表示される画像データのヒストグラムを表示することがユーザによって選択されているか否かを判断する(S110)。これも画像表示ON/OFF66を用いてヒストグラム表示モードON/OFFを切り替えることができる。
【0049】
画像処理部20は、ヒストグラム表示モードがOnに設定されていると判断すると、撮影中の画像データ全体の輝度分布を計算し、その計算を基にヒストグラム(A)を作成する(S111)。図7(b)に示すように、この作成したヒストグラム(A)302を画像表示部28に撮影中の画像データとともに表示する(S112)。
【0050】
次に、システム制御回路50は、ユーザによって撮影中の画像データ全体の中から任意に指定された範囲が存在するか否かを判断する(S113)。このように、本実施形態では、ユーザは撮影中の画像データの中からヒストグラムの作成対象とする画像範囲を任意に指定することができる。
【0051】
次に、システム制御回路50は、指定された画像範囲のヒストグラム作成モードが設定されていることを検知すると、当該画像範囲のヒストグラム作成処理を開始する。ヒストグラム作成モードのモード設定は、例えばヒストグラムボタンの押下等によって行うことが可能であるが、モード切り替えを行うことができれば、どのような手段を用いても構わず、例えばメニュー選択画面内でモード選択を行っても良い。
【0052】
ここでは、ヒストグラムボタンの押下により当該画像範囲のヒストグラム作成モードに入ったとすると、図8(a)に示すように、画像表示部28に範囲指定アイコン303、例えば四角の枠等が表示される。ユーザは、十字キー等の入力手段を用いて範囲指定アイコン303を、撮影中の画像データの中で明るさを知りたい位置へ移動させる。移動を終えたら、決定ボタンを押す(S114)。
【0053】
次に、画像処理部20は当該画像範囲の輝度分布を計算し、図8(b)に示すように、その計算結果を基にヒストグラム(B)304を作成する(S115)。画像処理部20が一つの場合、ヒストグラム(A)302とヒストグラム(B)304を同時に作成することができない。そこで、本実施形態では、ヒストグラム(B)304を作成する時、ヒストグラム(A)302の作成は行わず、直前に作成したヒストグラム(A)302を表示するようにしている。
【0054】
作成したヒストグラム(B)304は、図8(b)に示すように、画像表示部28に表示されているヒストグラム(A)302と例えば色を変えて、重ねて表示される(S116)。本実施形態ではヒストグラム(A)302とヒストグラム(B)304を、画像処理部20で時分割で作成し画像表示部28に表示することで、ヒストグラム(A)302及びヒストグラム(B)304ともに略リアルタイムで表示できるようにしている。
【0055】
次に、ユーザによるヒストグラム作成対象の画像範囲の指定が終了したか否かを判断する(S117)。更にヒストグラム作成対象の画像範囲の指定がある場合は、S114に戻り、ヒストグラム(B)305を作成する。このようにヒストグラム(B)304、305を2個表示する場合には、図9(a)に示すように、2個のヒストグラム(B)304、305も色を変えて表示を行う。一度作成されたヒストグラムをキャンセルする場合は、ユーザがキャンセルボタンを押すことで削除対象のヒストグラム(B)を選択することができる。削除対象のヒストグラム(B)が選択された後、次にユーザが決定ボタンを押すことで、当該ヒストグラム(B)を削除することができる(S118)。
【0056】
次に、ヒストグラム作成モードが終了したか否かを判断する(S119)。ヒストグラム作成モードを終了させる場合には、ユーザが再びヒストグラムボタンを押ことによってヒストグラム作成モードを終了させることができる。次に、露出補正モードに設定されているか否かを判断する(S120)。露出補正モードに設定する場合は、ユーザが露出補正ボタンを押すことによって、露出補正モードに設定することができる。
【0057】
露出補正モードになると、図9(b)に示すように、画像表示部28内のヒストグラム表示画面中には2本のバー306が表示される。この2本のバー306に挟まれている領域が適正露出領域である。また、画像表示部28の下部には露出補正バー307が表示される。ユーザは、十字キー等の入力手段を用いてこの露出補正バー307により露出が適正になるように操作する(S121)。
【0058】
ユーザが上記露出補正操作を行うことで、図10(a)に示すように、ヒストグラム(A)302、ヒストグラム(B)304、305がともに画面上において左右に移動する。任意のヒストグラム(B)304が適正露出領域に入ることで、ユーザは選択した画像範囲の露出が適正に修正されることを確認する(S122)。露出補正モードを終了させたい場合には、ユーザがサイド露出補正ボタンを押すことで露出補正モードを終了させることができる。
【0059】
次に、上記露出補正操作において、露出補正バー307上で何段階の補正操作が行われたのかをカメラ内部で記憶しておく(S123)。次に、ユーザによって撮影操作が行われたか否かを判断する(S124)。撮影操作が行われていない場合は、S113に戻り、動作を繰り返す。撮影操作が行われた場合は、露出補正装置は、まず測距・測光処理(S125)を行う。この測距・測光処理は後に詳しく説明する。
【0060】
次に、上記露出補正操作による露出補正が行われたか否かを判断する(S126)。露出補正を行っていた場合は、ステップS213において記憶した補正段階情報に基づいて露出補正を行い(S127)、撮影処理(S128)を行う。この撮影処理は後に詳しく説明する。
【0061】
次に、ユーザによって撮影した画像を確認するモードに設定されているか否かを判断する(S129)。撮影画像確認モードに設定されている場合は、次にヒストグラム表示モードに設定されているか否かを判断する(S130)。ヒストグラム表示モードに設定されている場合は、撮影した画像全体の輝度分布を計算し、その計算を基にヒストグラム(C)を作成する(S131)。撮影した画像とともに、作成したヒストグラム(C)をヒストグラム表示領域に表示する(S132)。
【0062】
次に、撮影した画像を記録媒体に記憶するモードに設定されているか否かを判断する(S133)。内部記録媒体に記録する場合は記録を行い(S134)、選択モード(S119)に戻る。
【0063】
図5は、図4のS125における測距・測光処理の詳細動作を示したフローチャートである。
システム制御回路50は、撮像素子14から電荷信号を読み出し、A/D変換器16を介して画像処理回路20に撮影画像データを逐次読み込む(S1001)。この逐次読み込まれた画像データを用いて、画像処理回路20はTTL(スルー・ザ・レンズ)方式のAE(自動露出)処理、EF(フラッシュプリ発光)処理、AF(オートフォーカス)処理に用いる所定の演算を行っている。なお、ここでの各処理は、撮影した全画素数のうちの必要に応じた特定の部分を必要個所分切り取って抽出し、演算に用いている。これにより、 TTL方式のAE、EF、AWB、AFの各処理において、中央重点モード、平均モード、評価モードの各モード等の異なるモード毎に最適な演算を行うことが可能となる。
【0064】
画像処理回路20での演算結果を用いて、システム制御回路50は露出(AE)が適正と判断するまで(S1002)、露光制御手段40を用いてAE制御を行う(S1003)。AE制御で得られた測定データを用いて、システム制御回路50はフラッシュが必要か否かを判断し(S1004)、フラッシュが必要ならばフラッシュフラグをセットし、フラッシュ48を充電する(S1005)。露出(AE)が適正と判断したならば(S1002)、測定データ及び或いは設定パラメータをシステム制御回路50の内部メモリ或いはメモリ52に記憶する。
【0065】
画像処理回路20での演算結果及びAE制御で得られた測定データを用いて、システム制御回路50はホワイトバランス(AWB)が適正と判断されるまで(S1006)、画像処理回路20を用いて色処理のパラメータを調節してAWB制御を行う(S1007)。ホワイトバランス(AWB)が適正と判断したならば(S1006)、測定データ及び或いは設定パラメータをシステム制御回路50の内部メモリ或いはメモリ52に記憶する。
【0066】
AE制御及びAWB制御で得られた測定データを用いて、システム制御回路50は測距(AF)が合焦と判断されるまで(S1008)、測距制御手段42を用いてAF制御を行う(S1009)。測距(AF)が合焦と判断したならば(S1008)、測定データ及び或いは設定パラメータをシステム制御回路50の内部メモリ或いはメモリ52に記憶し、測距・測光処理ルーチンS125を終了する。
【0067】
図6は、図4のS128における撮影処理の詳細動作を示したフローチャートである。
システム制御回路50は、撮像素子14の電荷クリア動作を行った後に(S2001)、撮像素子14の電荷蓄積を開始した後(S2002)、シャッタ制御手段40によって、シャッタ12を開き(S2003)、撮像素子14の露光を開始する(S2004)。ここで、フラッシュフラグによりフラッシュ48が必要か否かを判断し(S2005)、必要な場合はフラッシュを発光させる(S2006)。なお、フラッシュ48が使用不可能な場合はS2007に進む。
【0068】
システム制御回路50は、測光データに従って撮像素子14の露光終了を待ち(S2007)、シャッタ制御手段40によって、シャッタ12を閉じ(S2008)、撮像素子14の露光を終了する。設定した電荷蓄積時間が経過したならば(S2009)、システム制御回路50は、撮像素子14の電荷蓄積を終了した後(S2010)、撮像素子14から電荷信号を読み出し、A/D変換器16、画像処理回路20、メモリ制御回路22を介して、或いはA/D変換器16から直接メモリ制御回路22を介して、メモリ30の所定領域への撮影画像データを書き込む(S2011)。一連の処理を終えたならば、撮影処理ルーチンS128を終了する。
【0069】
<第2の実施形態>
本発明の第2の実施形態では、撮影した画像に対して任意の範囲を指定し、ヒストグラムを作成し、このヒストグラムを基に露出補正を行い、その結果を用いて再度撮影を行うことにより、任意の範囲の露出を適正にすることが可能となる。尚、本実施形態の露出補正装置の構成は、図1の構成と同様であるため、その説明は省略する。
【0070】
次に、本発明の第2の実施形態の動作を、図12〜図14を参照しながら説明する。図12〜図14は、本実施形態の動作を示したフローチャートである。
電池交換等の電源投入により、システム制御回路50はフラグや制御変数等を初期化し(S201)、画像表示部28の画像表示をOFF状態に初期設定する(S202)。システム制御回路50は、モードダイアル60の設定位置を判断し、モードダイアル60が電源OFFに設定されていたならば(S203)、各表示部の表示を終了状態に変更し、保護手段102のバリアを閉じて撮像部を保護し、フラグや制御変数等を含む必要なパラメータや設定値、設定モードを不揮発性メモリ56に記録し、電源制御手段80により画像表示部28を含む画像処理装置100各部の不要な電源を遮断する等の所定の終了処理を行った後(S205)、S203に戻る。
【0071】
モードダイアル60が撮影モードに設定されていたならば(S203)、S206に進む。モードダイアル60がその他のモードに設定されていたならば(S203)、システム制御回路50は選択されたモードに応じた処理を実行し(S204)、処理を終えたならばS203に戻る。
【0072】
システム制御回路50は、電源制御手段80により電池等により構成される電源86の残容量や動作状況が画像処理装置100の動作に問題があるか否かを判断し(S206)、問題があるならば表示部54を用いて画像や音声により所定の警告表示を行った後に(S208)、S203に戻る。
【0073】
電源86に問題がないならば(S206)、システム制御回路50は記録媒体200或いは210の動作状態が画像処理装置100の動作、特に記録媒体に対する画像データの記録再生動作に問題があるか否かを判断し(S207)、問題があるならば表示部54を用いて画像や音声により所定の警告表示を行った後に(S208)、S203に戻る。記録媒体200或いは210の動作状態に問題が無いならば(S207)、S209に進む。
【0074】
S209では撮影中の画像データを画像表示部28に表示する。この表示は画像表示ON/OFF66でON/OFFを切り替えることができる。次に、撮影モードに設定されているか否かを判断する(S210)。撮影モードに設定されていない場合はS210に戻り、判断を繰り返す。撮影モードに設定されている場合は測距・測光処理を行う(S211)。この測距・測光処理は、上記第1の実施形態で説明した通りである。測距・測光処理(S211)が終了したら、撮影処理を行う(S212)。この撮影処理は、上記第1の実施形態で説明した通りである。
【0075】
撮影後、撮影した画像データを記録媒体に記録するモードに設定されているか否かを判断する(S213)。撮影した画像データを記録するモードに設定されている場合は、記録媒体に記録を行い、画像データを記録しないモードに設定されていない場合は記録を行わず、S215に進む。
【0076】
S215では撮影した画像を確認するモードに設定されているか否かを判断する。撮影画像を確認しないモードに設定されている場合は、S209に戻り、画像表示部28に撮影中の画像データを表示する。撮影画像の確認を行うモードに設定されている場合は、ヒストグラム表示モードがOnに設定されているか否かを判断する(S216)。
【0077】
ヒストグラム表示モードがOnに設定されていない場合、ヒストグラム表示モードをOnとするか否かを例えば画面表示により問い合わせ、これに応じてユーザがヒストグラム表示モードをOnとした場合には、ステップS218に処理を移行する。一方で、ヒストグラム表示モードをOffである場合には、S209に戻り、撮影中の画像データを表示する。
【0078】
ステップS218では、画像処理部20は撮影した画像データ全体の輝度分布を計算し、その計算を基にヒストグラム(C)302を作成する(S218)。ヒストグラム(C)302と撮影した画像データを図7(b)に示すように画像表示部28に表示する(S219)。
【0079】
次に、システム制御回路50は、ユーザによって撮影中の画像データ全体の中から任意に指定された範囲が存在するか否かを判断する(S220)。続いて、システム制御回路50は、ヒストグラムボタンの押下によりヒストグラム作成モードのモード設定がなされていると判断すると、図8(a)に示すように、画像表示部28に範囲指定アイコン303、例えば四角の枠等が表示される。ユーザは、十字キー等の入力手段を用いて範囲指定アイコンを、画像の中で明るさを知りたい位置へ移動させる。移動を終えたら、決定ボタンを押す(S221)。
【0080】
次に、画像処理部20は、当該画像範囲の輝度分布を計算し、その計算結果を基にヒストグラム(B)304を作成する(S222)。作成したヒストグラム(B)304は、図8(b)に示すように、画像表示部28に表示されているヒストグラム(C)302と色を変えて、重ねて表示される(S223)。本実施形態では、記憶しているヒストグラム(C)302に画像処理部20で新たに作成されたヒストグラム(B)304を重ねて表示することで同時表示を実現している。
【0081】
次に、ユーザによるヒストグラム作成対象の画像範囲の指定が終了したか否かを判断する(S224)。更にヒストグラム作成対象の画像範囲の指定がある場合は、S221に戻り、ヒストグラム(B)304を作成する。このようにヒストグラム(B)304、305を2個表示する場合には、図9(a)に示すように、2個のヒストグラム(B)304、305も色を変えて表示を行う。一度作成されたヒストグラムをキャンセルする場合は、ユーザがキャンセルボタンを押すことで削除対象のヒストグラム(B)を選択することができる。削除対象のヒストグラム(B)が選択された後、次にユーザが決定ボタンを押すことで、当該ヒストグラム(B)を削除することができる(S225)。
【0082】
次に、ヒストグラム作成モードが終了したか否かを判断する(S226)。ヒストグラム作成モードを終了させる場合には、ユーザが再びヒストグラムボタンを押すことによってヒストグラム作成モードを終了させることができる。次に、露出補正モードに設定されているか否かを判断する(S227)。露出補正モードに設定されていない場合は、S209に戻り、撮影中の画像データを画像表示部28に表示する。
【0083】
露出補正モードになると、図9(b)に示すように、画像表示部28内のヒストグラム表示画面中には2本のバー306が表示される。この2本のバー306に挟まれている領域が輝度レベルが適正な領域である。輝度レベル補正モードでは、ユーザは、まず十字キー等の入力手段を用いて、選択範囲に基づいて作成したヒストグラム(B)304、305群の中から、どのヒストグラムに属する範囲の輝度レベルの補正対象とするか選択する(S228)。選択されたヒストグラム(B)308は図10(b)に示すように、色が変わる。
【0084】
次に、ユーザは、選択したヒストグラム(B)308が適正輝度レベル領域に入るよう、十字キー等の入力手段を用いヒストグラム(B)308を操作する(S229)。ヒストグラム(B)308が図11のように適正輝度レベル領域に入ることで、ユーザは選択した画像範囲の露出が適正に修正されることを確認することができる(S230)。輝度レベル補正モードを終了させたい場合には、ユーザが再度露出補正ボタンを押すことで、輝度レベル補正モードを終了させることができる。
【0085】
当該選択範囲の輝度レベルを適正に補正した後は、ユーザにより再度撮影が行われるための操作が行われたのか否かを判断する(S231)。撮影操作が行われた場合には、当該選択範囲の輝度レベルを適正に補正するため、露光量を何段補正すれば良いか画像表示部28内の露出補正量表示部(図11の309)に表示する(S232)。この表示のOn/Offは切り替えることができる。
【0086】
次に、当該選択範囲を適正輝度レベルにするために、ユーザによって何段階の露出量の調整操作が行われたのかを記録媒体に記憶する(S233)。露出量の調整操作が行われた後、再度、撮影処理を行う。撮影処理では、まず測距・測光処理を行う(S234)。この測距・測光処理は、上記第1の実施形態で説明した通りである。測距・測光処理(S234)が終了したら、ステップS233にて記録した情報を基に露出補正を行う(S235)。露出補正を行った後、撮影処理(S236)を行う。この撮影処理は、上記第1の実施形態で説明した通りである。撮影後、画像データを記録媒体に記録するモードに設定されているか否かを判断する(S239)。撮影した画像データを記録するモードに設定されている場合は、記録媒体に記録を行う(S240)。画像データを記録するモードに設定されていない場合は、画像データの記録を行わず、S209に戻り、撮影中の画像データを画像表示部28に表示する。
【0087】
撮影を行わない場合は、ユーザは、撮影した画像データの輝度レベルを補正するか否かを選択し、システム制御部50は、その選択内容を判断し(S237)、輝度レベルを補正することが選択されていない場合には、S209に戻り、画像データを画像表示部28に表示する。輝度レベルを補正することが選択されている場合には、S229、S230で行った輝度レベルの補正操作内容に基づき、撮影した画像データの輝度レベルを補正する(S233)。次に、ユーザは、輝度レベルを補正した画像データを記録媒体に記録するか否かを選択する(S249)。システム制御部50は、その選択内容を判断し、画像データを記録媒体に記録する場合は、輝度レベルを補正した画像データを記録媒体に記録する(S240)。
【0088】
従来は、静止画像全体に対してのヒストグラムでは、任意の位置、例えば画像の右上付近に配した人の顔が、どのような明るさなのか把握出来ない問題があった。また静止画像全体に対してのヒストグラムを参照しながら露出補正を行うと、任意の位置、例えば画像の右上付近に配した人の顔の輝度レベルが適正になっているか否かの確認が行いづらいといった問題点があった。これに対し、上記実施形態によれば、画像データ内の任意の範囲のヒストグラムを表示し、そのヒストグラムに基づいて露出補正を行うことで、任意の範囲の露出補正を直感的に行うことができる。また、上記実施形態では、EFVでは確認しづらい露出をヒストグラムを用いて補正することで確実に補正することができる。
【0089】
<その他の実施形態>
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。
【0090】
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、プログラムコード自体及びそのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0091】
プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。
【0092】
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(基本システム或いはオペレーティングシステム)などが実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0093】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0094】
ここで、本発明の実施態様を以下に列挙する。
[実施態様1]撮像手段の被写体像の撮像処理によって生成される画像データから任意の範囲の画像データを選択可能な選択手段と、
前記選択手段により選択された前記任意の範囲の画像データの輝度分布を示す情報を作成する情報作成手段と、
前記情報作成手段により作成された前記輝度分布を示す情報に基づき、前記撮像手段より生成される画像データの露出補正を行う補正手段とを有することを特徴とする露出補正装置。
【0095】
[実施態様2]前記撮像手段より出力される前記画像データを記録する画像データ記録手段と、
前記画像データ記録手段にて記録される前記画像データを再生する再生手段とを更に有し、
前記選択手段は、前記再生手段により再生される前記画像データから前記任意の範囲の画像データを選択することを特徴とする実施態様1に記載の露出補正装置。
【0096】
[実施態様3]前記補正手段による前記任意の範囲の画像データに対する過去の補正情報を記録する補正情報記録手段を更に有し、
前記補正手段は、前記補正情報記録手段に記録された前記補正情報に基づいて、前記撮像手段によって以降生成される画像データの露出補正を行うことを特徴とする実施態様1又は2に記載の露出補正装置。
【0097】
[実施態様4]前記補正手段は、前記輝度分布を示す情報に基づいて、次回以降の撮影時における画像データの露出補正を行うことを特徴とする実施態様2に記載の露出補正装置。
【0098】
[実施態様5]前記情報作成手段は、前記選択手段により複数の範囲の画像データが選択された場合、前記複数の範囲の画像データ夫々について輝度分布を示す情報を時分割で作成することを特徴とする実施態様1に記載の露出補正装置。
【0099】
[実施態様6]前記輝度分布を示す情報は、輝度分布を示すヒストグラムであることを特徴とする実施態様1〜5の何れか1項に記載の露出補正装置。
【0100】
[実施態様7]撮像手段の被写体像の撮像処理によって生成される画像データから任意の範囲の画像データを選択手段により選択するステップと、
前記選択手段により選択された前記任意の範囲の画像データの輝度分布を示す情報を情報作成手段により作成するステップと、
前記情報作成手段により作成された前記輝度分布を示す情報に基づき、補正手段が前記撮像手段より生成される画像データの露出補正を行うステップとを含むことを特徴とする輝度レベル補正方法。
【0101】
[実施態様8]実施態様7に記載の輝度レベル補正方法をコンピュータに実行させるためのプログラム。
【0102】
[実施態様9]実施態様8に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。
【0103】
【発明の効果】
本発明によれば、任意の範囲の画像データの輝度分布を示す情報に基づいて、任意の範囲の画像データを適正な露出するような画像データの露出補正を行うことが可能となる。
【図面の簡単な説明】
【図1】本発明に係る露出補正装置の一実施形態の構成を示したブロック図である。
【図2】本発明の第1の実施形態の動作を示したフローチャートである。
【図3】本発明の第1の実施形態の動作を示したフローチャートである。
【図4】本発明の第1の実施形態の動作を示したフローチャートである。
【図5】本発明の第1の実施形態の動作を示したフローチャートである。
【図6】本発明の第1の実施形態の動作を示したフローチャートである。
【図7】本発明の第1又は第2の実施形態における画面表示部上の画面表示例を模式的に示した図である。
【図8】本発明の第1又は第2の実施形態における画面表示部上の画面表示例を模式的に示した図である。
【図9】本発明の第1又は第2の実施形態における画面表示部上の画面表示例を模式的に示した図である。
【図10】本発明の第1又は第2の実施形態における画面表示部上の画面表示例を模式的に示した図である。
【図11】本発明の第1又は第2の実施形態における画面表示部上の画面表示例を模式的に示した図である。
【図12】本発明の第2の実施形態の動作を示したフローチャートである。
【図13】本発明の第2の実施形態の動作を示したフローチャートである。
【図14】本発明の第2の実施形態の動作を示したフローチャートである。
【符号の説明】
301 撮影画像表示領域
302 ヒストグラム表示領域
303 範囲指定アイコン
304、305、306 指定範囲ヒストグラム
307 露出補正バー
309 露出補正量表示部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an exposure correction device that corrects exposure of image data generated by an imaging unit.
[0002]
[Prior art]
2. Description of the Related Art In recent years, with the spread of digital cameras, the technology has been developed, and photography and processing by various methods have become possible. For example, it is possible to display a histogram (luminance distribution graph) of the entire still image and thereby confirm the exposure of the entire image. Then, the exposure of the entire image can be determined from the histogram of the entire image, and the exposure can be corrected.
[0003]
[Problems to be solved by the invention]
However, when it is desired to appropriately correct the exposure of a desired position, for example, the face of a person arranged near the upper right of the image, it has been difficult to perform exposure correction using a histogram for the entire still image.
[0004]
The present invention has been made in view of the above problems, and has as its object to enable exposure correction of image data based on a luminance distribution of image data in an arbitrary range.
[0005]
[Means for Solving the Problems]
In order to achieve such an object, an exposure correction apparatus according to the present invention includes: a selection unit that can select image data in an arbitrary range from image data generated by an imaging process of a subject image by an imaging unit; Information creating means for creating information indicating the brightness distribution of the selected image data in the arbitrary range; and image data generated by the imaging means based on the information indicating the brightness distribution created by the information creating means. And a correction means for performing the above-described exposure correction.
[0006]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. An embodiment of the present invention described below specifies image data in an arbitrary range with respect to image data being captured, creates a histogram in that range, performs exposure correction based on this histogram, and calculates the result. By using the camera, the exposure in an arbitrary range can be made appropriate.
[0007]
FIG. 1 is a block diagram showing a configuration of an embodiment of an exposure correction device according to the present invention. First, the configuration of the present embodiment will be described with reference to FIG.
Reference numeral 10 denotes a photographing lens, 12 denotes a shutter having an aperture function, 14 denotes an image sensor that converts an optical image into an electric signal, and 16 denotes an A / D converter that converts an analog signal output of the image sensor 14 into a digital signal.
[0008]
Reference numeral 18 denotes a timing generation circuit that 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.
[0009]
Reference numeral 20 denotes an image processing circuit which performs predetermined pixel interpolation processing and color conversion processing on data from the A / D converter 16 or data from the memory control circuit 22. In the image processing circuit 20, predetermined arithmetic processing is performed using the captured image data, and the system control circuit 50 controls the exposure control means 40 and the distance measurement control means 42 based on the obtained arithmetic results. TTL (through-the-lens) AF (autofocus) processing, AE (auto exposure) processing, and EF (flash pre-flash) processing.
[0010]
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. Further, the image processing circuit 20 performs a predetermined calculation process using the captured image data, and performs a process of creating a luminance distribution in the image data as a histogram.
[0011]
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.
[0012]
The 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 the data of the A / D converter 16 is directly written via the memory control circuit 22. It is.
[0013]
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. Image data for display written in the image display memory 24 passes through the D / A converter 26. The image is displayed by the image display unit 28.
[0014]
If image data captured using the image display unit 28 is sequentially displayed, an electronic finder function can be realized. It is also possible to display the histogram created by the image processing circuit 20. The image display unit 28 can arbitrarily turn on / off the display in accordance with an instruction from the system control circuit 50. When the display is turned off, the power consumption of the exposure correction device 100 can be significantly reduced. .
[0015]
Further, the image display unit 28 is connected to the exposure compensating device 100 by a rotatable hinge unit, and can be freely set to any direction and angle to use the electronic finder function, the reproduction display function, and various display functions. It is possible.
[0016]
In addition, the display portion of the image display unit 28 can be stored toward the exposure compensation device 100. In this case, the storage state is detected by the image display unit open / close detection unit 106, and the display operation of the image display unit 28 is performed. Can be stopped.
[0017]
Reference numeral 30 denotes a memory for storing captured still images and moving images, and has a sufficient storage capacity for storing a predetermined number of still images and moving images for a predetermined time. Accordingly, 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 of the system control circuit 50.
[0018]
Reference numeral 32 denotes a compression / decompression circuit for compressing / decompressing image data by adaptive discrete cosine transform (ADCT) or the like. The compression / decompression circuit 32 reads an image stored in the memory 30 and performs compression or decompression processing. Write to.
[0019]
An exposure control unit 40 controls the shutter 12 having an aperture function, and also has a flash dimming function in cooperation with the flash 48.
[0020]
Reference numeral 42 denotes a distance measurement control unit that controls focusing of the photographing lens 10. The exposure control means 40 and the distance measurement control means 42 are controlled using the TTL method, and the system control circuit 50 controls the exposure control means 40 and the distance measurement based on the calculation result obtained by calculating the captured image data by the image processing circuit 20. The control unit 42 is controlled.
[0021]
Reference numeral 44 denotes a zoom control unit that controls zooming of the photographing lens 10, and 46 denotes a barrier control unit that controls the operation of the protection unit 102, which is a barrier. Reference numeral 48 denotes a connector, which is also called an accessory shoe, and also includes electrical contacts with the flash device 400 and mechanical fixing means.
[0022]
Reference numeral 50 denotes a system control circuit that controls the entire exposure correction apparatus 100, and reference numeral 52 denotes a memory that stores constants, variables, programs, and the like for operation of the system control circuit 50. Reference numeral 54 denotes a display unit such as a liquid crystal display device or a speaker that displays an operating state or a message using characters, images, sounds, or the like in response to execution of a program in the system control circuit 50. It is installed at one or more locations in the vicinity of the part where it is easily visible, and is composed of, for example, a combination of LCDs, LEDs, sound elements, and the like.
[0023]
The display unit 54 has a part of its functions installed in the optical finder 104. Among the display contents of the display unit 54, those displayed on the LCD or the like include a single shot / continuous shooting display, a self-timer display, a compression ratio display, a recording pixel number display, a recording number display, a remaining number of images displayable, a shutter Speed display, Aperture display, Exposure compensation display, Flash display, Red-eye reduction display, Macro shooting display, Buzzer setting display, Battery remaining battery display, Battery remaining display, Error display, Information display with multiple digits, Recording The display includes the attachment / detachment state display of the media 200 and 210, the communication I / F operation display, the date / time display, and the like.
[0024]
Further, among the display contents of the display unit 54, those displayed in the optical viewfinder 104 include a focus 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. Reference numeral 56 denotes an electrically erasable / recordable nonvolatile memory, for example, an EEPROM or the like.
[0025]
Reference numerals 60, 62, 64, 66, 68, and 70 denote operation means for inputting various operation instructions of the system control circuit 50, such as a switch, a dial, a touch panel, pointing by gaze detection, a single voice recognition device, or the like. It is composed of multiple combinations.
[0026]
Here, these operation means will be specifically described.
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, panorama shooting mode, playback mode, multi-screen playback / erase mode, and PC connection mode.
[0027]
Reference numeral 62 denotes a shutter switch SW1, which is turned on during operation of a shutter button (not shown) to perform AF (auto focus) processing, AE (auto exposure) processing, AWB (auto white balance) processing, EF (flash pre-flash) processing, and the like. Instruct operation start.
[0028]
Reference numeral 64 denotes a shutter switch SW2 which is turned on when the operation of a shutter button (not shown) is completed, and writes a signal read from the image sensor 12 to the memory 30 via the A / D converter 16 and the memory control circuit 22 in an exposure process. A development process using an operation in the image processing circuit 20 or the memory control circuit 22; a recording process in which image data is read from the memory 30, compressed by the compression / decompression circuit 32, and written into the recording medium 200 or 210. Instructs the start of a series of processing operations.
[0029]
An image display ON / OFF switch 66 can set ON / OFF of the image display unit 28. With this function, it is possible to save power by cutting off the current supply to the image display unit 28 composed of a TFT LCD or the like when shooting using the optical viewfinder 104.
[0030]
Reference numeral 68 denotes a single shooting / continuous shooting switch, which is a single shooting mode in which a single frame is shot when the shutter switch SW2 is pressed and a standby state is set, and a continuous shooting mode in which shooting is continuously performed while the shutter switch SW2 is pressed. And can be set.
[0031]
Reference numeral 70 denotes an operation unit including various buttons, a touch panel, and the like. A menu button, a set button, a cancel button, a macro button, a multi-screen playback page break button, a flash setting button, a single shooting / continuous shooting / self-timer switching button, and a menu movement + (Plus) button, menu shift-(minus) button, playback image shift + (plus) button, playback image-(minus) button, shooting image quality selection button, exposure compensation button, date / time setting button, panorama mode shooting, etc. Selection / switch button to set selection and switching of various functions when executing and playback, Decision / execution button to set and execute various functions when executing shooting and playback such as panorama mode, specified range Button for switching to the mode for displaying the histogram of the image, the image display unit 2 Image display ON / OFF switch to set ON / OFF of the image, Quick review ON / OFF switch to set the quick review function to automatically play back the image data immediately after shooting, to select the compression rate of JPEG compression or image sensor You can set each function mode such as compression mode switch, which is a switch to select CCD RAW mode to digitize the signal as it is and record it on the recording medium, playback mode, multi-screen playback / erasure mode, PC connection mode There are a reproduction mode switch and a reproduction switch for instructing the start of a reproduction operation for reading a captured image from the memory 30 or the recording medium 200 or 210 and displaying the image on the image display unit 28 in the shooting mode state.
[0032]
Reference numeral 80 denotes a power supply control unit, which includes a battery detection circuit, a DC-DC converter, a switch circuit for switching a block to be energized, and the like. The DC-DC converter is controlled based on an instruction from the system control circuit 50, and a required voltage is supplied to each unit including a recording medium for a required period.
[0033]
Reference numeral 82 denotes a connector, 84 denotes a connector, and 86 denotes a power supply unit including a primary battery such as an alkaline battery or a lithium battery, a secondary battery such as a NiCd battery, a NiMH battery, or a Li battery, and an AC adapter.
[0034]
Reference numerals 90 and 94 denote an interface with a recording medium such as a memory card or a hard disk, reference numerals 92 and 96 denote connectors for connecting to a recording medium such as a memory card or a hard disk, and reference numeral 98 denotes a connector 92 or 96 to which a recording medium 200 or 210 is mounted. This is a recording medium attachment / detachment detecting means for detecting whether or not the recording medium is attached.
[0035]
In the present embodiment, the interface and the connector for attaching the recording medium are described as having two systems. Of course, the interface and the connector for attaching the recording medium may have a single or plural number of systems. Further, a configuration may be adopted in which interfaces and connectors of different standards are provided in combination. The interface and the connector may be configured using a standard such as a PCMCIA card or a CF (Compact Flash (R)) card.
[0036]
Further, when the interfaces 90 and 94 and the connectors 92 and 96 are configured using a standard such as a PCMCIA card or a CF (Compact Flash (R)) card, a LAN card, a modem card, a USB card, an IEEE 1394 card By connecting various communication cards such as P1284 card, SCSI card, communication card such as PHS, etc., image data and management information attached to the image data can be transferred to / from other computers and peripheral devices such as printers. Can fit.
[0037]
Reference numeral 102 denotes a protection unit that is a barrier that covers the imaging unit including the lens 10 of the exposure correction device 100 to prevent the imaging unit from being stained or damaged. Reference numeral 104 denotes an optical finder, which enables photographing using only the optical finder without using the electronic finder function of the image display unit 28. Further, in the optical finder 104, some functions of the display unit 54, for example, a focus 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 provided.
[0038]
Reference numeral 106 denotes an image display unit opening / closing detecting unit, which can detect whether or not the image display unit 28 is in a storage state in which a display portion of the image display unit 28 is stored toward the exposure correction device 100. Here, if it is detected that the image is in the storage state, the display operation of the image display unit 28 can be stopped to prohibit unnecessary power consumption.
[0039]
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 exposure compensation device 100 to another device by the communication unit 110 or an antenna in the case of wireless communication. Reference numeral 200 denotes a recording medium such as a memory card or a hard disk.
[0040]
The recording medium 200 includes a recording unit 202 including a semiconductor memory or a magnetic disk, an interface 204 with the exposure correction device 100, and a connector 206 for connecting to the exposure correction device 100. 210 is a recording medium such as a memory card or a hard disk.
[0041]
The recording medium 210 includes a recording unit 212 including a semiconductor memory or a magnetic disk, an interface 214 with the exposure correction device 100, and a connector 216 for connecting to the exposure correction device 100.
[0042]
400 is a flash device. Reference numeral 402 denotes a connector for connecting to an accessory shoe of the exposure compensation device 100. Reference numeral 404 denotes a flash, which also has an AF auxiliary light projecting function and a flash light control function.
[0043]
<First embodiment>
Next, the operation of the first embodiment of the present invention will be described with reference to FIGS. 2 to 6 are flowcharts showing the operation of the exposure correction device according to the present embodiment. 7 to 11 are diagrams schematically illustrating examples of screen display on the screen display unit 28 in the present embodiment or a second embodiment described later.
[0044]
Upon power-on such as battery replacement, the system control circuit 50 initializes flags, control variables, and the like (S101), and initializes the image display of the image display unit 28 to the OFF state (S102). 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 (S103), changes the display of each display unit to the end state, To protect the imaging unit, record necessary parameters and setting values including flags and control variables, and setting modes in the non-volatile memory 56, and use the power control unit 80 to control the image processing apparatus 100 including the image display unit 28. After performing a predetermined end process such as shutting off unnecessary power of each unit (S105), the process returns to S103.
[0045]
If the mode dial 60 has been set to the shooting mode (S103), the process proceeds to S106. If the mode dial 60 has been set to another mode (S103), the system control circuit 50 executes a process according to the selected mode (S104), and returns to S103 when the process is completed.
[0046]
The system control circuit 50 determines whether or not the remaining capacity and the operating state of the power supply 86 composed of a battery or the like have a problem with the operation of the image processing apparatus 100 by the power control means 80 (S106). For example, after a predetermined warning display is performed by image or sound using the display unit 54 (S108), the process returns to S103.
[0047]
If there is no problem in the power supply 86 (S106), the system control circuit 50 determines whether the operation state of the recording medium 200 or 210 has a problem in the operation of the image processing apparatus 100, particularly, in the operation of recording and reproducing image data on the recording medium. Is determined (S107), and if there is a problem, a predetermined warning display is performed using images or sounds using the display unit 54 (S108), and the process returns to S103. If there is no problem in the operation state of the recording medium 200 or 210 (S107), the process proceeds to S109.
[0048]
In step S109, the image data being captured, that is, the image data sequentially read from the image sensor, is displayed on the image display unit 28 as shown in FIG. This display can be switched ON / OFF by the image display ON / OFF 66. Next, it is determined whether or not the user has selected to display the histogram of the image data displayed on the image display unit 28 (S110). The histogram display mode ON / OFF can be switched using the image display ON / OFF 66 also.
[0049]
If the image processing unit 20 determines that the histogram display mode is set to On, it calculates the luminance distribution of the entire image data being captured, and creates a histogram (A) based on the calculation (S111). As shown in FIG. 7B, the created histogram (A) 302 is displayed on the image display unit 28 together with the image data being captured (S112).
[0050]
Next, the system control circuit 50 determines whether or not a range arbitrarily designated by the user exists in the entire image data being photographed (S113). As described above, in the present embodiment, the user can arbitrarily specify an image range in which the histogram is to be created from the image data being captured.
[0051]
Next, when the system control circuit 50 detects that the histogram creation mode of the specified image range is set, the system control circuit 50 starts the histogram creation process of the image range. The mode setting of the histogram creation mode can be performed by, for example, pressing a histogram button or the like. However, any mode can be used as long as the mode can be switched. For example, the mode selection in the menu selection screen can be performed. May be performed.
[0052]
Here, assuming that the user enters the histogram creation mode for the image range by pressing the histogram button, a range designation icon 303, for example, a square frame or the like is displayed on the image display unit 28 as shown in FIG. The user moves the range designation icon 303 to a position where the user wants to know the brightness in the image data being shot using input means such as a cross key. When the movement is completed, the enter button is pressed (S114).
[0053]
Next, the image processing unit 20 calculates the luminance distribution of the image range, and creates a histogram (B) 304 based on the calculation result as shown in FIG. 8B (S115). When there is one image processing unit 20, the histogram (A) 302 and the histogram (B) 304 cannot be created at the same time. Therefore, in the present embodiment, when the histogram (B) 304 is created, the histogram (A) 302 is not created, and the histogram (A) 302 created immediately before is displayed.
[0054]
The created histogram (B) 304 is displayed, for example, in a different color from the histogram (A) 302 displayed on the image display unit 28, as shown in FIG. 8B (S116). In the present embodiment, the histogram (A) 302 and the histogram (B) 304 are created in a time-division manner by the image processing unit 20 and displayed on the image display unit 28, so that both the histogram (A) 302 and the histogram (B) 304 are substantially identical. It can be displayed in real time.
[0055]
Next, it is determined whether or not the user has finished specifying the image range for which the histogram is to be created (S117). If there is further designation of an image range for which a histogram is to be created, the process returns to S114 to create a histogram (B) 305. When two histograms (B) 304 and 305 are displayed in this manner, the two histograms (B) 304 and 305 are also displayed in different colors, as shown in FIG. When canceling the histogram once created, the user can select the histogram (B) to be deleted by pressing the cancel button. After the histogram (B) to be deleted is selected, the user can press the enter button next to delete the histogram (B) (S118).
[0056]
Next, it is determined whether the histogram creation mode has ended (S119). To end the histogram creation mode, the user can press the histogram button again to end the histogram creation mode. Next, it is determined whether or not the exposure correction mode has been set (S120). When setting the exposure compensation mode, the user can set the exposure compensation mode by pressing the exposure compensation button.
[0057]
When the exposure correction mode is set, two bars 306 are displayed on the histogram display screen in the image display unit 28 as shown in FIG. 9B. The region sandwiched between the two bars 306 is a proper exposure region. An exposure correction bar 307 is displayed below the image display unit 28. The user operates the exposure correction bar 307 using input means such as a cross key so that the exposure is appropriate (S121).
[0058]
When the user performs the above-described exposure correction operation, both the histogram (A) 302 and the histograms (B) 304 and 305 move left and right on the screen as shown in FIG. When the arbitrary histogram (B) 304 enters the proper exposure area, the user confirms that the exposure of the selected image range is properly corrected (S122). To end the exposure compensation mode, the user can press the side exposure compensation button to end the exposure compensation mode.
[0059]
Next, in the exposure compensation operation, the number of steps of the compensation operation performed on the exposure compensation bar 307 is stored in the camera (S123). Next, it is determined whether or not the user has performed a shooting operation (S124). If the photographing operation has not been performed, the process returns to S113 and the operation is repeated. When a shooting operation is performed, the exposure correction device first performs a distance measurement / photometry process (S125). The distance measurement / photometry processing will be described later in detail.
[0060]
Next, it is determined whether or not the exposure correction has been performed by the exposure correction operation (S126). If exposure correction has been performed, exposure correction is performed based on the correction step information stored in step S213 (S127), and shooting processing (S128) is performed. This photographing process will be described later in detail.
[0061]
Next, it is determined whether or not a mode for confirming the captured image has been set by the user (S129). If the mode is set to the captured image confirmation mode, it is determined whether or not the mode is set to the histogram display mode (S130). If the histogram display mode is set, the brightness distribution of the entire captured image is calculated, and a histogram (C) is created based on the calculation (S131). The created histogram (C) is displayed in the histogram display area together with the photographed image (S132).
[0062]
Next, it is determined whether or not the mode in which the captured image is stored in the recording medium is set (S133). When recording on the internal recording medium, recording is performed (S134), and the process returns to the selection mode (S119).
[0063]
FIG. 5 is a flowchart showing the detailed operation of the distance measurement and photometry processing in S125 of FIG.
The system control circuit 50 reads a charge signal from the image sensor 14 and sequentially reads captured image data into the image processing circuit 20 via the A / D converter 16 (S1001). Using the sequentially read image data, the image processing circuit 20 performs predetermined TTL (through the lens) AE (auto exposure) processing, EF (flash pre-flash) processing, and AF (auto focus) processing. Is calculated. In each process, a specific portion of the total number of captured pixels, which is necessary, is cut out and extracted for a necessary portion, and is used for calculation. As a result, in each of the TTL-type AE, EF, AWB, and AF processes, it is possible to perform an optimal calculation for each of the different modes such as the center-weighted mode, the average mode, and the evaluation mode.
[0064]
Using the calculation result in the image processing circuit 20, the system control circuit 50 performs AE control using the exposure control means 40 until it determines that the exposure (AE) is appropriate (S1002) (S1003). Using the measurement data obtained by the AE control, the system control circuit 50 determines whether or not a flash is necessary (S1004), and if a flash is required, sets a flash flag and charges the flash 48 (S1005). If it is determined that the exposure (AE) is appropriate (S1002), the measurement data and / or setting parameters are stored in the internal memory of the system control circuit 50 or the memory 52.
[0065]
Using the calculation result of the image processing circuit 20 and the measurement data obtained by the AE control, the system control circuit 50 uses the image processing circuit 20 to determine the color until the white balance (AWB) is determined to be appropriate (S1006). AWB control is performed by adjusting the processing parameters (S1007). If it is determined that the white balance (AWB) is appropriate (S1006), the measurement data and / or the setting parameters are stored in the internal memory of the system control circuit 50 or the memory 52.
[0066]
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 it is determined that the distance measurement (AF) is in focus (S1008) (S1008). S1009). If it is determined that the distance measurement (AF) is in focus (S1008), the measurement data and / or setting parameters are stored in the internal memory or the memory 52 of the system control circuit 50, and the distance measurement / photometry processing routine S125 ends.
[0067]
FIG. 6 is a flowchart showing the detailed operation of the photographing process in S128 of FIG.
After performing the charge clearing operation of the image sensor 14 (S2001), the system control circuit 50 starts the charge accumulation of the image sensor 14 (S2002), and then opens the shutter 12 by the shutter control unit 40 (S2003). The exposure of the element 14 is started (S2004). Here, it is determined whether or not the flash 48 is necessary based on the flash flag (S2005). If necessary, the flash is fired (S2006). If the flash 48 cannot be used, the process proceeds to S2007.
[0068]
The system control circuit 50 waits for the end of exposure of the image sensor 14 according to the photometric data (S2007), closes the shutter 12 by the shutter control means 40 (S2008), and ends the exposure of the image sensor 14. When the set charge accumulation time has elapsed (S2009), the system control circuit 50 reads the charge signal from the image sensor 14 after terminating the charge accumulation of the image sensor 14 (S2010), and reads the charge signal from the A / D converter 16, The captured image data is written to a predetermined area of the memory 30 via the image processing circuit 20 and the memory control circuit 22 or directly from the A / D converter 16 via the memory control circuit 22 (S2011). When a series of processing is completed, the photographing processing routine S128 ends.
[0069]
<Second embodiment>
In the second embodiment of the present invention, an arbitrary range is designated for a photographed image, a histogram is created, exposure correction is performed based on the histogram, and photographing is performed again using the result. Exposure in an arbitrary range can be made appropriate. Note that the configuration of the exposure correction device of the present embodiment is the same as the configuration of FIG. 1, and a description thereof is omitted.
[0070]
Next, the operation of the second embodiment of the present invention will be described with reference to FIGS. 12 to 14 are flowcharts showing the operation of the present embodiment.
Upon power-on such as battery replacement, the system control circuit 50 initializes flags, control variables, and the like (S201), and initializes the image display on the image display unit 28 to the OFF state (S202). The system control circuit 50 determines the setting position of the mode dial 60, and if the mode dial 60 has been set to the power OFF state (S203), changes the display of each display unit to the end state, and sets the barrier of the protection means 102. Is closed to protect the imaging unit, necessary parameters including flags and control variables, setting values, and setting modes are recorded in the nonvolatile memory 56, and the power control unit 80 controls the image processing apparatus 100 including the image display unit 28. After performing a predetermined end process such as shutting off unnecessary power (S205), the process returns to S203.
[0071]
If the mode dial 60 has been set to the shooting mode (S203), the process proceeds to S206. If the mode dial 60 has been set to another mode (S203), the system control circuit 50 executes a process according to the selected mode (S204), and returns to S203 when the process is completed.
[0072]
The system control circuit 50 determines whether or not the remaining capacity or the operating state of the power supply 86 composed of a battery or the like has a problem with the operation of the image processing apparatus 100 by the power control means 80 (S206). For example, after a predetermined warning display is performed by an image or sound using the display unit 54 (S208), the process returns to S203.
[0073]
If there is no problem in the power supply 86 (S206), the system control circuit 50 determines whether the operation state of the recording medium 200 or 210 has a problem in the operation of the image processing apparatus 100, particularly, in the operation of recording and reproducing image data on the recording medium. Is determined (S207). If there is a problem, a predetermined warning display is performed using images or sounds using the display unit 54 (S208), and the process returns to S203. If there is no problem in the operation state of the recording medium 200 or 210 (S207), the process proceeds to S209.
[0074]
In step S209, the image data being captured is displayed on the image display unit 28. This display can be switched ON / OFF by the image display ON / OFF 66. Next, it is determined whether or not the photographing mode is set (S210). If the shooting mode has not been set, the process returns to S210, and the determination is repeated. If the shooting mode has been set, the distance measurement / photometry processing is performed (S211). This distance measurement / photometry processing is as described in the first embodiment. When the distance measurement / photometry process (S211) is completed, a photographing process is performed (S212). This photographing process is as described in the first embodiment.
[0075]
After the photographing, it is determined whether or not the mode for recording the photographed image data on the recording medium is set (S213). If the mode is set to record captured image data, recording is performed on a recording medium. If the mode is not set to not record image data, recording is not performed and the process proceeds to S215.
[0076]
In S215, it is determined whether or not the mode for confirming the captured image is set. If the mode in which the captured image is not confirmed is set, the process returns to S209, and the image data being captured is displayed on the image display unit 28. If the mode is set to check the captured image, it is determined whether the histogram display mode is set to On (S216).
[0077]
If the histogram display mode is not set to On, whether or not the histogram display mode is set to On is inquired, for example, by screen display. If the user sets the histogram display mode to On in response, the process proceeds to step S218. Migrate. On the other hand, if the histogram display mode is Off, the process returns to S209, and the image data being captured is displayed.
[0078]
In step S218, the image processing unit 20 calculates the luminance distribution of the entire captured image data, and creates a histogram (C) 302 based on the calculation (S218). The histogram (C) 302 and the captured image data are displayed on the image display unit 28 as shown in FIG. 7B (S219).
[0079]
Next, the system control circuit 50 determines whether or not a range arbitrarily designated by the user exists in the entire image data being photographed (S220). Subsequently, when the system control circuit 50 determines that the histogram creation mode has been set by pressing the histogram button, as shown in FIG. 8A, the image display unit 28 displays a range designation icon 303 such as a square. Is displayed. The user moves the range designation icon to a position in the image at which the user wants to know the brightness by using input means such as a cross key. When the movement is completed, the enter button is pressed (S221).
[0080]
Next, the image processing unit 20 calculates the luminance distribution of the image range, and creates a histogram (B) 304 based on the calculation result (S222). The created histogram (B) 304 is displayed in a different color from that of the histogram (C) 302 displayed on the image display unit 28, as shown in FIG. 8B (S223). In the present embodiment, simultaneous display is realized by superimposing and displaying the histogram (B) 304 newly created by the image processing unit 20 on the stored histogram (C) 302.
[0081]
Next, it is determined whether or not the user has finished specifying the image range for which the histogram is to be created (S224). If there is further designation of an image range for which a histogram is to be created, the process returns to S221 to create a histogram (B) 304. When two histograms (B) 304 and 305 are displayed in this manner, the two histograms (B) 304 and 305 are also displayed in different colors, as shown in FIG. When canceling the histogram once created, the user can select the histogram (B) to be deleted by pressing the cancel button. After the histogram (B) to be deleted is selected, the user can press the enter button to delete the histogram (B) (S225).
[0082]
Next, it is determined whether the histogram creation mode has been completed (S226). When ending the histogram creation mode, the user can press the histogram button again to end the histogram creation mode. Next, it is determined whether or not the exposure correction mode has been set (S227). If the exposure correction mode has not been set, the process returns to step S209, and the image data being captured is displayed on the image display unit.
[0083]
When the exposure correction mode is set, two bars 306 are displayed on the histogram display screen in the image display unit 28 as shown in FIG. 9B. The region sandwiched between the two bars 306 is a region where the luminance level is appropriate. In the luminance level correction mode, the user first uses an input device such as a cross key to select a histogram belonging to any of the histograms (B) 304 and 305 created based on the selected range. Is selected (S228). The color of the selected histogram (B) 308 changes as shown in FIG.
[0084]
Next, the user operates the histogram (B) 308 using input means such as a cross key so that the selected histogram (B) 308 enters the appropriate luminance level area (S229). When the histogram (B) 308 enters the appropriate luminance level region as shown in FIG. 11, the user can confirm that the exposure of the selected image range is properly corrected (S230). To end the brightness level correction mode, the user can press the exposure correction button again to end the brightness level correction mode.
[0085]
After appropriately correcting the brightness level of the selected range, it is determined whether or not the user has performed an operation for performing shooting again (S231). When a shooting operation is performed, the exposure correction amount display unit (309 in FIG. 11) in the image display unit 28 determines how many steps the exposure amount should be corrected in order to appropriately correct the luminance level of the selected range. (S232). On / Off of this display can be switched.
[0086]
Next, the number of exposure adjustment operations performed by the user in order to set the selection range to the appropriate luminance level is stored in the recording medium (S233). After the exposure amount is adjusted, the photographing process is performed again. In the photographing processing, first, distance measurement and photometry processing are performed (S234). This distance measurement / photometry processing is as described in the first embodiment. When the distance measurement / photometry processing (S234) is completed, exposure correction is performed based on the information recorded in step S233 (S235). After performing the exposure correction, a photographing process (S236) is performed. This photographing process is as described in the first embodiment. After photographing, it is determined whether or not the mode for recording the image data on the recording medium is set (S239). When the mode for recording the captured image data is set, the recording is performed on the recording medium (S240). If the mode for recording the image data is not set, the process returns to S209 without recording the image data, and displays the image data being photographed on the image display unit 28.
[0087]
When the photographing is not performed, the user selects whether or not to correct the luminance level of the photographed image data, and the system control unit 50 determines the selection (S237), and corrects the luminance level. If it is not selected, the process returns to S209, and the image data is displayed on the image display unit 28. When the correction of the luminance level is selected, the luminance level of the captured image data is corrected based on the content of the correction operation of the luminance level performed in S229 and S230 (S233). Next, the user selects whether or not to record the image data with the corrected luminance level on a recording medium (S249). The system control unit 50 determines the content of the selection, and if the image data is to be recorded on the recording medium, records the image data with the corrected luminance level on the recording medium (S240).
[0088]
Conventionally, the histogram of the entire still image has a problem that it is not possible to grasp the brightness of the face of a person arranged at an arbitrary position, for example, near the upper right of the image. Also, if exposure correction is performed with reference to the histogram for the entire still image, it is difficult to confirm whether the brightness level of the face of a person arranged at an arbitrary position, for example, near the upper right of the image, is appropriate. There was a problem. On the other hand, according to the above embodiment, by displaying a histogram in an arbitrary range in image data and performing exposure correction based on the histogram, exposure correction in an arbitrary range can be performed intuitively. . In the above embodiment, the exposure that is difficult to confirm with the EFV can be reliably corrected by correcting the exposure using the histogram.
[0089]
<Other embodiments>
Further, an object of the present invention is to provide a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or an apparatus, and a computer (or CPU or MPU) of the system or the apparatus to store the storage medium. Needless to say, this can also be achieved by reading and executing the program code stored in the program.
[0090]
In this case, the program code itself read from the storage medium realizes the function of the above-described embodiment, and the program code itself and the storage medium storing the program code constitute the present invention.
[0091]
As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, and the like can be used.
[0092]
When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also an OS (basic system or operating system) running on the computer based on the instruction of the program code. ) May perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.
[0093]
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function is executed based on the instruction of the program code. It goes without saying that a CPU or the like provided in the expansion board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
[0094]
Here, embodiments of the present invention are listed below.
[Embodiment 1] Selection means capable of selecting image data in an arbitrary range from image data generated by an imaging process of a subject image by an imaging means;
Information creating means for creating information indicating the luminance distribution of the image data in the arbitrary range selected by the selecting means,
An exposure correction device, comprising: a correction unit configured to perform exposure correction of image data generated by the imaging unit based on the information indicating the luminance distribution created by the information creation unit.
[0095]
[Embodiment 2] Image data recording means for recording the image data output from the imaging means,
Reproducing means for reproducing the image data recorded by the image data recording means,
The exposure correction apparatus according to claim 1, wherein the selection unit selects image data in the arbitrary range from the image data reproduced by the reproduction unit.
[0096]
[Embodiment 3] The apparatus further comprises correction information recording means for recording past correction information for the image data in the arbitrary range by the correction means,
3. The exposure apparatus according to claim 1, wherein the correction unit corrects exposure of image data generated thereafter by the imaging unit based on the correction information recorded in the correction information recording unit. Correction device.
[0097]
[Embodiment 4] The exposure correction apparatus according to Embodiment 2, wherein the correction means performs exposure correction of image data at the time of the next and subsequent photographing based on the information indicating the luminance distribution.
[0098]
[Embodiment 5] When a plurality of ranges of image data are selected by the selection unit, the information creating unit creates information indicating a luminance distribution for each of the plurality of ranges of image data by time division. An exposure correction apparatus according to the first embodiment.
[0099]
[Sixth Embodiment] The exposure correction apparatus according to any one of the first to fifth embodiments, wherein the information indicating the luminance distribution is a histogram indicating the luminance distribution.
[0100]
[Embodiment 7] a step of selecting image data in an arbitrary range from image data generated by the image pickup processing of the subject image by the image pickup means by the selection means
Creating information indicating the luminance distribution of the image data in the arbitrary range selected by the selection means by information creation means,
Correcting the exposure of the image data generated by the imaging means based on the information indicating the luminance distribution created by the information creating means.
[0101]
[Eighth Embodiment] A program for causing a computer to execute the luminance level correction method according to the seventh embodiment.
[0102]
[Embodiment 9] A computer-readable recording medium on which the program according to Embodiment 8 is recorded.
[0103]
【The invention's effect】
According to the present invention, it is possible to perform exposure correction of image data such that image data in an arbitrary range is properly exposed based on information indicating the luminance distribution of image data in an arbitrary range.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an embodiment of an exposure correction device according to the present invention.
FIG. 2 is a flowchart showing an operation of the first exemplary embodiment of the present invention.
FIG. 3 is a flowchart showing an operation of the first exemplary embodiment of the present invention.
FIG. 4 is a flowchart showing an operation of the first exemplary embodiment of the present invention.
FIG. 5 is a flowchart showing the operation of the first embodiment of the present invention.
FIG. 6 is a flowchart showing an operation of the first exemplary embodiment of the present invention.
FIG. 7 is a diagram schematically illustrating a screen display example on a screen display unit according to the first or second embodiment of the present invention.
FIG. 8 is a diagram schematically illustrating a screen display example on a screen display unit according to the first or second embodiment of the present invention.
FIG. 9 is a diagram schematically illustrating a screen display example on a screen display unit according to the first or second embodiment of the present invention.
FIG. 10 is a diagram schematically illustrating a screen display example on a screen display unit according to the first or second embodiment of the present invention.
FIG. 11 is a diagram schematically illustrating a screen display example on a screen display unit according to the first or second embodiment of the present invention.
FIG. 12 is a flowchart showing an operation of the second exemplary embodiment of the present invention.
FIG. 13 is a flowchart showing an operation of the second exemplary embodiment of the present invention.
FIG. 14 is a flowchart showing an operation of the second exemplary embodiment of the present invention.
[Explanation of symbols]
301 Captured image display area
302 Histogram display area
303 Range designation icon
304, 305, 306 specified range histogram
307 Exposure compensation bar
309 Exposure compensation amount display

Claims (1)

撮像手段の被写体像の撮像処理によって生成される画像データから任意の範囲の画像データを選択可能な選択手段と、前記選択手段により選択された前記任意の範囲の画像データの輝度分布を示す情報を作成する情報作成手段と、
前記情報作成手段により作成された前記輝度分布を示す情報に基づき、前記撮像手段より生成される画像データの露出補正を行う補正手段とを有することを特徴とする露出補正装置。
Selecting means for selecting image data in an arbitrary range from image data generated by the imaging process of the subject image by the imaging means; and information indicating a luminance distribution of the image data in the arbitrary range selected by the selecting means. Information creation means to be created,
An exposure correction device, comprising: a correction unit configured to perform exposure correction of image data generated by the imaging unit based on the information indicating the luminance distribution created by the information creation unit.
JP2002361280A 2002-12-12 2002-12-12 Exposure correction device Pending JP2004194109A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002361280A JP2004194109A (en) 2002-12-12 2002-12-12 Exposure correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002361280A JP2004194109A (en) 2002-12-12 2002-12-12 Exposure correction device

Publications (1)

Publication Number Publication Date
JP2004194109A true JP2004194109A (en) 2004-07-08

Family

ID=32760097

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002361280A Pending JP2004194109A (en) 2002-12-12 2002-12-12 Exposure correction device

Country Status (1)

Country Link
JP (1) JP2004194109A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008048251A (en) * 2006-08-18 2008-02-28 Victor Co Of Japan Ltd Photographing apparatus and photographing method
WO2008026398A1 (en) * 2006-08-31 2008-03-06 Sony Corporation Imaging device, imaging device control method and program for imaging device control method
JP2009300831A (en) * 2008-06-16 2009-12-24 Olympus Corp Imaging system for microscope, exposure adjustment program, and exposure adjustment method
JP2010074858A (en) * 2009-12-18 2010-04-02 Casio Computer Co Ltd Electronic camera, imaging control method and program
JP2011139159A (en) * 2009-12-25 2011-07-14 Canon Inc Display control device and display control method
JP2012029233A (en) * 2010-07-27 2012-02-09 Canon Inc Imaging device and control method therefor

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008048251A (en) * 2006-08-18 2008-02-28 Victor Co Of Japan Ltd Photographing apparatus and photographing method
JP4600684B2 (en) * 2006-08-18 2010-12-15 日本ビクター株式会社 Imaging apparatus and imaging method
WO2008026398A1 (en) * 2006-08-31 2008-03-06 Sony Corporation Imaging device, imaging device control method and program for imaging device control method
US8237817B2 (en) 2006-08-31 2012-08-07 Sony Corporation Imaging device, imaging device control method and program for imaging device control method
JP2009300831A (en) * 2008-06-16 2009-12-24 Olympus Corp Imaging system for microscope, exposure adjustment program, and exposure adjustment method
JP2010074858A (en) * 2009-12-18 2010-04-02 Casio Computer Co Ltd Electronic camera, imaging control method and program
JP2011139159A (en) * 2009-12-25 2011-07-14 Canon Inc Display control device and display control method
JP2012029233A (en) * 2010-07-27 2012-02-09 Canon Inc Imaging device and control method therefor

Similar Documents

Publication Publication Date Title
JP3814514B2 (en) Image display apparatus, image processing method, and program
JP2004096641A (en) Imaging apparatus and its control method
JP2005167697A (en) Electronic camera having red-eye correction function
JP2004096686A (en) Imaging device, method for controlling the same, and recording medium
JP4136296B2 (en) Image processing apparatus, method, and computer-readable storage medium
JP2004194109A (en) Exposure correction device
JP4700796B2 (en) Imaging apparatus, control method therefor, and storage medium
JP4719371B2 (en) Imaging apparatus and control method thereof
JP4636739B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND COMPUTER-READABLE STORAGE MEDIUM
JP2006203689A (en) Imaging apparatus and control method thereof, program, and storage medium
JP2005292740A (en) Electronic camera
JP2006235060A (en) Imaging apparatus
JP4508357B2 (en) Imaging apparatus, control method therefor, and storage medium
JP4463941B2 (en) Imaging apparatus and imaging method
JP4481428B2 (en) Image processing device
JP4560189B2 (en) Imaging device
JP4612763B2 (en) Imaging apparatus and control method thereof
JP3697215B2 (en) Imaging device
JP4408545B2 (en) Imaging device
JP4532668B2 (en) Imaging apparatus, control method thereof, and computer-readable recording medium
JP2005208392A (en) Image imaging unit, image processing method and program
JPH11261853A (en) Image processor and its control method, and storage medium
JP2004219473A (en) Exposure controller
JP2000115588A (en) Image pickup device, control method thereof and storage medium
JP2000165785A (en) Image data recorder, image data recording method and storage medium