JP4199044B2 - Imaging apparatus and control method thereof - Google Patents
Imaging apparatus and control method thereof Download PDFInfo
- Publication number
- JP4199044B2 JP4199044B2 JP2003132434A JP2003132434A JP4199044B2 JP 4199044 B2 JP4199044 B2 JP 4199044B2 JP 2003132434 A JP2003132434 A JP 2003132434A JP 2003132434 A JP2003132434 A JP 2003132434A JP 4199044 B2 JP4199044 B2 JP 4199044B2
- Authority
- JP
- Japan
- Prior art keywords
- image data
- shading correction
- correction function
- color image
- zoom lens
- 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
Links
Images
Landscapes
- Color Television Image Signal Generators (AREA)
- Processing Of Color Television Signals (AREA)
- Facsimile Scanning Arrangements (AREA)
- Facsimile Image Signal Circuits (AREA)
- Studio Devices (AREA)
- Image Input (AREA)
- Picture Signal Circuits (AREA)
Description
【0001】
【技術分野】
この発明は,撮像装置およびその制御方法に関する。
【0002】
【発明の背景】
ディジタル・スチル・カメラにおいて被写体を撮像する場合には,ズーム・レンズによってCCDの受光面上に被写体像が結像する。CCDの受光面上における光量は,撮像レンズの中心部分に対応する部分よりも撮像レンズの周辺部分に対応する部分の方が少なくなる(シェーディング)。シェーディングにより,撮像によって得られた画像には明暗のむらができることがある。このために通常はシェーディング補正が行われる(例えば,特許文献1参照)。
【0003】
【特許文献1】
特開平11−275452号公報
【0004】
シェーディング補正を行うためには,基準となる対象物(例えば,白色一色のスクリーンなど)を撮像して,基準画像を得る必要がある。シェーディング補正は比較的煩雑となる。
【0005】
【発明の開示】
この発明は,比較的簡単にシェーディング補正を行うことを目的とする。
【0006】
この発明による撮像装置は,ズーム・レンズによって受光面上に結像するカラーの対象画像を表すカラー画像データを出力する固体電子撮像装置,カスタム白バランス・モードの設定手段,上記カスタム白バランス・モード設定手段における設定に応じて上記ズーム・レンズをワイド端およびテレ端にそれぞれ移動して,それぞれのレンズ位置において対象物を撮像することにより,ワイド端でのカラー画像データおよびテレ端でのカラー画像データを得るように上記ズーム・レンズおよび上記固体電子撮像装置を制御する制御手段,上記制御手段の制御にもとづいて得られるワイド端でのカラー画像データおよびテレ端でのカラー画像データの少なくとも一方を用いてカスタム白バランス調整を行う白バランス調整手段,上記制御手段の制御にもとづいて得られるワイド端でのカラー画像データおよびテレ端でのカラー画像データを用いて,ワイド端でのシェーディング補正関数およびテレ端でのシェーディング補正関数を算出するシェーディング補正関数算出手段,ならびに上記シェーディング補正関数算出手段によって算出されたワイド端でのシェーディング補正関数およびテレ端でのシェーディング補正関数のうち,上記ズーム・レンズの位置に応じた補正関数を用いて,上記固体電子撮像装置から出力される画像データをシェーディング補正するシェーディング補正手段を備えていることを特徴とする。
【0007】
この発明は,上記撮像装置に適した制御方法も提供している。すなわち,ズーム・レンズによって受光面上に結像するカラーの対象画像を表すカラー画像データを出力する固体電子撮像装置を備えた撮像装置において,カスタム白バランス・モードの設定に応じて上記ズーム・レンズをワイド端およびテレ端にそれぞれ移動して,それぞれのレンズ位置において対象物を撮像することにより,ワイド端でのカラー画像データおよびテレ端でのカラー画像データを得るように上記ズーム・レンズおよび上記固体電子撮像装置を制御し,上記制御にもとづいて得られるワイド端でのカラー画像データおよびテレ端でのカラー画像データの少なくとも一方を用いてカスタム白バランス調整を行い,上記制御にもとづいて得られるワイド端でのカラー画像データおよびテレ端でのカラー画像データを用いて,ワイド端でのシェーディング補正関数およびテレ端でのシェーディング補正関数を算出し,算出されたワイド端でのシェーディング補正関数およびテレ端でのシェーディング補正関数のうち,上記ズーム・レンズの位置に応じた補正関数を用いて,上記固体電子撮像装置から出力される画像データをシェーディング補正するものである。
【0008】
この発明によると,カスタム白バランス・モードの設定が可能である。カスタム白バランス・モードが設定されると,ズーム・レンズがワイド端およびテレ端に移動させられ,それぞれのレンズ位置において対象物(カスタム白バランス調整を行うための基準対象物)が撮像される。撮像により,ワイド端でのカラー画像データおよびテレ端でのカラー画像データが得られる。ワイド端でのカラー画像データおよびテレ端でのカラー画像データの少なくとも一方のカラー画像データを用いてカスタム白バランス調整が行われる。
【0009】
また,カスタム白バランス・モードの設定に応じて得られたワイド端でのカラー画像データおよびテレ端でのカラー画像データを用いて,ワイド端でのシェーディング補正関数およびテレ端でのシェーディング補正関数がそれぞれ算出される。算出されたシェーディング補正関数を用いて,固体電子撮像装置から出力されるカラー画像データがシェーディング補正される。
【0010】
カスタム白バランス調整が行われるときに得られるカラー画像データを用いてシェーディング補正関数を算出できる。撮像装置の動作を煩雑にすることなく,比較的簡単にシェーディング補正関数を得ることができる。
【0011】
また,上記固体電子撮像装置は,たとえば,ズーム・レンズによって受光面上に結像する高感度カラー画像データと低感度カラー画像データとを出力する。この場合,上記シェーディング補正関数算出手段は,上記制御手段の制御にもとづいて得られるワイド端での低感度カラー画像データおよびテレ端での低感度カラー画像データを用いて,ワイド端でのシェーディング補正関数およびテレ端でのシェーディング補正関数を算出するものとなろう。
【0012】
対象物の輝度が高い場合には,高感度画像データが飽和する可能性が高い。飽和した画像データを用いてシェーディング補正関数が算出されると不正確となることがある。低感度画像データを用いてシェーディング補正関数を用いることにより,比較的正確なシェーディング補正関数が得られる。
【0013】
【実施例の説明】
図1は,この発明の実施例によるディジタル・スチル・カメラに用いられるCCD1を模式的に示している。
【0014】
CCD1には,水平方向および垂直方向に多数のフォトダイオード4が配列されている。フォトダイオード4の受光面上には,赤色,青色または緑色の光成分の透過を許すカラー・フィルタが形成されている。フォトダイオード4は,奇数列は奇数行に配置され,偶数列は偶数行に配置されている。偶数列は奇数行に配置し,奇数列は偶数行に配置するようにしてもよい。
【0015】
フォトダイオード4は,その受光領域が2つに分けられている。一方の受光領域3を主受光領域,他方の受光領域4を副受光領域ということにする。主受光領域3に蓄積された信号電荷と副受光領域4に蓄積された信号電荷とは混ざらないようにフォトダイオード2が形成されている。主受光領域3の受光面積と副受光領域4の受光面積との比率は,4対1に規定されている。もっとも,その他の比率でもよいのはいうまでもない。
【0016】
フォトダイオード2の右側には,フォトダイオード2に蓄積された信号電荷を垂直方向に転送する垂直転送路5が設けられている。フォトダイオード2に蓄積された信号電荷のうち,主受光領域3に蓄積された信号電荷(主信号電荷という)がフォトダイオード2から垂直転送路4にシフトされる。主信号電荷は,水平転送路6に与えられ,水平方向に転送させられる。主信号電荷は,増幅回路7において増幅され,一駒分の画像を表す赤色,青色または緑色のカラーの高感度映像信号SHとしてCCD5から出力される。
【0017】
高感度映像信号SHの出力が終了すると,フォトダイオード2の副受光領域4に蓄積された信号電荷(副信号電荷という)が垂直転送路5にシフトされる。主信号電荷と同様に,副信号電荷は,垂直転送路5内を垂直方向に転送させられ,水平転送路6に与えられる。副信号電荷は,水平転送路6内を水平方向に転送させられ,増幅回路7を介して赤色,青色または緑色のカラーの低感度映像信号SLとしてCCD5から出力される。
【0018】
図2は,ディジタル・スチル・カメラの電気的構成の一部を示すブロック図である。
【0019】
ディジタル・スチル・カメラの全体の動作は,CPU10によって統括される。
【0020】
ディジタル・スチル・カメラには,操作スイッチ類11が含まれている。この操作スイッチ類11には,シャッタ・レリーズ・ボタン,モード設定スイッチ(モードには,撮像モード,セットアップ・モードなどがある),決定ボタン,Backボタンなどが含まれている。
【0021】
ディジタル・スチル・カメラには,ズーム・レンズ13が含まれている。ズーム・レンズ13は,着脱自在であってもよいし,着脱自在でなくともよい。ズーム・レンズ13のズーム量(レンズ位置)は,CPU10によって制御されるズーム制御回路12によって制御される。
【0022】
ズーム・レンズ13によってCCD1の受光面上に被写体像が結像する。被写体像を表す高感度映像信号SHおよび低感度映像信号SLがCCD1から出力され,相関二重サンプリング回路14を介してアナログ/ディジタル変換回路15に入力する。アナログ/ディジタル変換回路15において,高感度映像信号SHおよび低感度映像信号SLが,高感度画像データDHおよび低感度画像データDSにディジタル変換される。高感度画像データDHおよび低感度画像データDSは,それぞれ第1のオフセット回路16および第2のオフセット回路17においてオフセットされ,シェーディング補正回路18に入力する。
【0023】
撮像により得られた高感度画像データDHおよび低感度画像データDLがメモリ・カード(図示略)に記録される場合には,後述するようにシェーディング補正回路18においてシェーディング補正が行われる。シェーディング補正回路18から出力された高感度画像データDHおよび低感度画像データDLは,白バランス補正回路21に入力する。シェーディング補正回路18から第1のゲイン増幅回路19用のゲイン制御信号および第2のゲイン増幅回路20用のゲイン制御信号が出力され,第1のゲイン増幅回路19および第2のゲイン増幅回路20にそれぞれ与えられる。
【0024】
この実施例によるディジタル・スチル・カメラにおいては後述するようにカスタム白バランス調整を行うことができる。カスタム白バランス調整が行われる場合には,白バランス補正回路21に入力した高感度画像データDHおよび低感度画像データDLにもとづいて第1のゲイン増幅回路19および第2のゲイン増幅回路20のそれぞれのゲイン調整量が算出され,上述のようにゲイン制御信号として第1のゲイン増幅回路19および第2のゲイン増幅回路20に与えられる。第1のゲイン増幅回路19および第2のゲイン増幅回路20において,入力した高感度画像データDHおよび低感度画像データDLのレベルが調整されることにより白バランス調整が行われることとなる。
【0025】
第1のゲイン増幅回路19および第2のゲイン増幅回路20から出力された高感度画像データDHおよび低感度画像データDLは,第1のガンマ補正回路22および第2のガンマ補正回路23においてそれぞれガンマ補正される。ガンマ補正された高感度画像データDHおよび低感度画像データDLは,ミクス回路25およびCPU10に入力する。また,第2のガンマ補正回路23から出力された低感度画像データDLは,シェーディング補正関数算出回路24にも入力する。低感度画像データDLはシェーディング補正関数算出回路24内のメモリ(図示略)に記憶される。
【0026】
CPU10に入力した高感度画像データDHおよび低感度画像データDLにもとづいて白バランス調整が適正かどうかが判定される。不適正であれば,再度白バランス調整が行われる。
【0027】
また,シェーディング補正関数算出回路24において,シェーディング補正関数が算出される。算出されたシェーディング補正関数を表すデータはシェーディング補正回路18に与えられ,シェーディング補正が行われる。シェーディング補正関数の算出およびシェーディング補正について詳しくは後述する。
【0028】
ミクス回路25において高感度画像データDHと低感度画像データDLとがミクスされて新たな画像データが生成される。生成された画像データは画素配置処理回路26に入力し,画素配置処理回路26において表示装置29の表示に適した配置となるように処理される。画素配置処理回路26から出力された画像データは輪郭補正回路27において輪郭補正される。輪郭補正された画像データは色補正処理回路28において色補正される。色補正処理回路28から出力された画像データが表示装置29に与えられることにより,表示画面上に撮像画像が表示される。また,シャッタ・レリーズ・ボタンの押下に応じてメモリ・カードに画像データが記録される。
【0029】
図3および図4は,カスタム白バランス処理手順を示すフローチャートである。図5は,表示装置29の表示画面の一例である。
【0030】
この実施例によるディジタル・スチル・カメラにおいては,カスタム白バランス・モードが設定されると,カスタム白バランス補正が行われるとともに,ズーム・レンズ13がテレ端およびワイド端に移動させられ,テレ端でのシェーディング補正関数およびワイド端でのシェーディング補正関数が算出される。
【0031】
モード設定スイッチによりセットアップ・モードが設定されると,表示装置29の表示画面上にはメニュー画像が表示される。そのメニュー画像の中からカスタム白バランス・モードが選択されることにより,カスタム白バランス・モードとなる(ステップ31)。すると,表示装置29の表示画面50には,図5に示すようにカスタム白バランス/シェーディング用プレビュー画像が表示される(ステップ32)。
【0032】
プレビュー画像50には,次の領域等が含まれている。
【0033】
マーク51:プレビュー画像50の四隅に表示されるもので,このマークで規定される領域内に,カスタム白バランス補正に利用される白いスクリーンなどの被写体が位置決めされて,撮像される。
【0034】
注意表示領域52:カスタム白バランス補正のために被写体を撮像する場合の注意事項が表示される。
【0035】
ゾーン53:撮像範囲の中心部分を示している。
【0036】
モード表示領域54:設定されたモード(カスタム白バランス・モード)をユーザに知らせるために,設定されたモードが表示される。
【0037】
新規登録表示領域55:カスタム白バランス補正を行う場合(シェーディング補正関数の算出を行う場合)にユーザが行うべき動作を示している。シャッタ・レリーズ・ボタンが押されることにより,カスタム白バランス補正(シェーディング補正関数の算出)が行われることが示されている。
【0038】
キャンセル表示領域56:カスタム白バランス補正のキャンセルを行う場合にユーザが行うべき動作を示している。Backボタンが押されることによりキャンセルとなることが示されている。
【0039】
カスタム白バランス・モードが設定されると,ズーム・レンズ13はワイド端の位置に移動させられる(ステップ33)。シャッタ・レリーズ・ボタンが押されると(ステップ34でYES),被写体(基準対象物であり,上述したように白バランス補正用の白いスクリーンなど)が撮像され,上述のように被写体像を表す高感度画像データDHおよび低感度画像データDLが得られる。低感度画像データDLは,シェーディング補正回路24内のメモリに記憶される(ズーム・レンズ13の位置はワイド端にあるから,この低感度画像データDLをワイド端画像データということにする。)。表示画面50には,ウェイティング画像が表示される(ステップ36)。
【0040】
つづいて,ズーム・レンズ13のレンズ位置はワイド端からテレ端に移動させられる(ステップ37)。再び,被写体が撮像され,被写体像を表す画像データが得られる(ステップ38)。レンズ位置がワイド端にある場合と同様に,低感度画像データDLがシェーディング補正回路24内のメモリに記憶される(レンズ位置がテレ端にあるから,テレ端画像データということにする。)。
【0041】
また,ズーム・レンズ13のレンズ位置がテレ端にある場合に得られた高感度画像データDHおよび低感度画像データDLが白バランス補正回路21に入力し,上述のようにして白バランス補正が行われる(カスタム白バランス補正)。比較的正確に白バランス補正が行われたかどうかが判定される(ステップ39)。極端に明るい場合などは白バランス補正が適正でないとして(ステップ40でNO),ステップ32からの処理が繰り返される。
【0042】
白バランス補正が適正であると判定されると(ステップ40でYES),テレ端画像データを用いてワイド端およびテレ端用のシェーディング補正関数が算出される(ステップ41)。シェーディング補正関数算出処理について詳しくは後述する。また,算出されたワイド端およびテレ端用のシェーディング補正関数がシェーディング補正回路18にセットされる(ステップ42)。表示装置29の表示画面上にはセット終了画像が表示されることとなる(ステップ43)。
【0043】
次にシェーディング補正関数の算出について述べる。
【0044】
図6は,撮像により得られた画像(CCD1の受光面にも対応する)の一例を示している。
【0045】
画像の水平方向の幅はwidth,垂直方向の高さはheightとされている。画像の左上の点Oが原点とされている。原点Oの座標は(0,0)である。画像の中心の点Cの座標は(Cx,Cy)である。画像上の所望の点P(シェーディング補正すべき対象となる画像の位置)の座標は(x,y)である。所望の点Pと中心点Cとの水平方向の距離Δxは式1から得られ,所望の点Pと中心点Cとの垂直方向の距離Δyは式2から得られる。
【0046】
Δx=|x−Cx|=|x−width/2|・・・式1
Δy=|y−Cy|=|x−height/2|・・・式2
【0047】
図7は,レンズ・シェーディングにより生じるCCD上の光量の変化の様子を示している。
【0048】
上述したように,CCDの受光面上における光量はズーム・レンズ13の中心部分ほど高く,周辺となるにしたがって低下する。図7においては,CCD1の水平方向と垂直方向との位置に応じて光量が変化する様子が示されている。CCD1の中心部分ほど光量が大きく,CCD1の周辺部分ほど光量が小さくなっている。
【0049】
このようなレンズ・シェーディングは,上述したように,テレ端画像データおよびワイド端画像データごとに得られる。ズーム・レンズ13のレンズ位置がテレ端にある場合のレンズ・シェーディングとワイド端にある場合のレンズ・シェーディングとが得られる。これらのレンズ・シェーディング(sd[x,y])は式3によって表される(テレ端にある場合のレンズ・シェーディングとワイド端にある場合のレンズ・シェーディングとを共通のレンズ・シェーディングsd[x,y]としている)。ただし,Aは2次項の係数,Bは4次項の係数,Cは定数である。
【0050】
sd[x,y]=A×(Δx2+Δy2)+B×(Δx2+Δy2)2+C・・・式3
【0051】
シェーディング補正関数HSD[x,y]は,式4となる。
【0052】
HSD[x,y]=1/sd[x,y]・・・式4
【0053】
このようなシェーディング補正関数HSD[x,y]が,ズーム・レンズ13のレンズ位置がテレ端にある場合とワイド端にある場合とでシェーディング補正関数算出回路24においてそれぞれ算出される。
【0054】
ズーム・レンズ13のレンズ位置がテレ端とワイド端との間にある場合のシェーディング補正関数は,テレ端の補正関数とワイド端の補正関数との比率によって求められることは理解されよう。
【0055】
シェーディング補正回路18(またはシェーディング補正関数算出回路24)において,推奨レンズのシェーディング補正関数HSDr[x,y]がセットされていてもよい。推奨レンズ以外のレンズがディジタル・スチル・カメラに装着された場合には,補正関数を補正する関数HSDc[x,y]を用いて推奨レンズのシェーディング補正関数HSDr[x,y]が補正されることによりトータルの補正関数HSDt[x,y]が算出される(式5参照)。
【0056】
【数1】
【0057】
図8は,シェーディング補正の処理手順を示すフローチャートである。
【0058】
まず,ユーザによってモード設定スイッチを用いて撮像モードに設定される。撮像モードに設定された後にシャッタ・レリーズ・ボタンが押されると(ステップ61でYES),ズーム・レンズ13のレンズ位置が検出される(ステップ62)。検出されたレンズ位置を表すデータはシェーディング補正関数算出回路24に与えられる。
【0059】
シェーディング補正関数算出回路24にセットされているテレ端でのシェーディング補正関数およびワイド端でのシェーディング補正関数がそれぞれ読み取られる(ステップ63)。また,検出されたレンズ位置を表すデータから,ズーム・レンズ13の位置の割合(テレ端とワイド端との間の比率)が算出される(ステップ64)。ズーム・レンズ13のレンズ位置に応じて,テレ端のシェーディング補正関数とワイド端のシェーディング補正関数とを用いてそのレンズ位置でのシェーディング補正関数が算出される(ステップ65)。
【0060】
算出されたシェーディング補正関数がシェーディング補正回路18にセットされる(ステップ66)。撮像により得られた高感度画像データDHと低感度画像データDLとがシェーディング補正回路18に入力することにより,シェーディング補正が行われることとなる(ステップ67)。
【図面の簡単な説明】
【図1】CCDの模式図を示している。
【図2】ディジタル・スチル・カメラの電気的構成を示すブロック図である。
【図3】カスタム白バランス補正の処理手順の一部を示すフローチャートである。
【図4】カスタム白バランス補正の処理手順の一部を示すフローチャートである。
【図5】カスタム白バランス/シェーディング用プレビュー画像の一例である。
【図6】撮像画像の一例である。
【図7】シェーディングの様子を示している。
【図8】シェーディング補正の処理手順を示すフローチャートである。
【符号の説明】
1 CCD
10 CPU
11 操作スイッチ類
12 ズーム・レンズ制御回路
13 ズーム・レンズ
18 シェーディング補正回路
19,20 ゲイン増幅回路
21 白バランス補正回路
24 シェーディング補正関数算出回路
29 表示装置[0001]
【Technical field】
The present invention relates to an imaging apparatus and a control method thereof.
[0002]
BACKGROUND OF THE INVENTION
When a subject is imaged with a digital still camera, a subject image is formed on the light receiving surface of the CCD by a zoom lens. The amount of light on the light receiving surface of the CCD is less in the portion corresponding to the peripheral portion of the imaging lens than in the portion corresponding to the central portion of the imaging lens (shading). Due to shading, an image obtained by imaging may have uneven brightness. For this reason, shading correction is usually performed (see, for example, Patent Document 1).
[0003]
[Patent Document 1]
Japanese Patent Laid-Open No. 11-275452 [0004]
In order to perform shading correction, it is necessary to capture a reference object (for example, a white color screen) to obtain a reference image. Shading correction is relatively complicated.
[0005]
DISCLOSURE OF THE INVENTION
An object of the present invention is to perform shading correction relatively easily.
[0006]
An image pickup apparatus according to the present invention includes a solid-state electronic image pickup apparatus that outputs color image data representing a color target image formed on a light receiving surface by a zoom lens, custom white balance mode setting means, and the custom white balance mode. The zoom lens is moved to the wide end and the tele end in accordance with the setting in the setting means, and the object is imaged at each lens position, so that the color image data at the wide end and the color image at the tele end are obtained. Control means for controlling the zoom lens and the solid-state electronic imaging device so as to obtain data, and at least one of color image data at the wide end and color image data at the tele end obtained based on the control of the control means White balance adjustment means for custom white balance adjustment using the above control means A shading correction function calculating means for calculating a shading correction function at the wide end and a shading correction function at the tele end using color image data at the wide end and color image data at the tele end obtained based on the above, and the above Of the shading correction function at the wide end and the shading correction function at the tele end calculated by the shading correction function calculation means, the correction function corresponding to the position of the zoom lens is used to output from the solid-state electronic imaging device. The image processing apparatus includes a shading correction unit that performs shading correction on image data.
[0007]
The present invention also provides a control method suitable for the imaging apparatus. That is, in an imaging apparatus including a solid-state electronic imaging apparatus that outputs color image data representing a color target image formed on a light receiving surface by a zoom lens, the zoom lens according to the setting of the custom white balance mode By moving the zoom lens to the wide end and the tele end, respectively, and imaging the object at the respective lens positions to obtain the color image data at the wide end and the color image data at the tele end. Obtained based on the above control by controlling the solid-state electronic image pickup device and performing custom white balance adjustment using at least one of the color image data at the wide end and the color image data at the tele end obtained based on the above control. Using the color image data at the wide end and the color image data at the tele end, A shading correction function at the end and a shading correction function at the tele end are calculated, and among the calculated shading correction function at the wide end and the shading correction function at the tele end, a correction function according to the position of the zoom lens. Is used to correct shading of image data output from the solid-state electronic imaging device.
[0008]
According to the present invention, the custom white balance mode can be set. When the custom white balance mode is set, the zoom lens is moved to the wide end and the tele end, and an object (reference object for performing custom white balance adjustment) is imaged at each lens position. By imaging, color image data at the wide end and color image data at the tele end are obtained. Custom white balance adjustment is performed using color image data of at least one of color image data at the wide end and color image data at the tele end.
[0009]
Also, using the color image data at the wide end and the color image data at the tele end obtained according to the setting of the custom white balance mode, the shading correction function at the wide end and the shading correction function at the tele end are Each is calculated. Using the calculated shading correction function, color image data output from the solid-state electronic imaging device is subjected to shading correction.
[0010]
A shading correction function can be calculated using color image data obtained when custom white balance adjustment is performed. A shading correction function can be obtained relatively easily without complicating the operation of the imaging apparatus.
[0011]
The solid-state electronic imaging device outputs, for example, high-sensitivity color image data and low-sensitivity color image data that are imaged on the light receiving surface by a zoom lens. In this case, the shading correction function calculating means uses the low-sensitivity color image data at the wide end and the low-sensitivity color image data at the tele end obtained based on the control of the control means, and performs shading correction at the wide end. The function and the shading correction function at the tele end will be calculated.
[0012]
When the brightness of the object is high, the high-sensitivity image data is likely to be saturated. If a shading correction function is calculated using saturated image data, it may be inaccurate. By using a shading correction function using low-sensitivity image data, a relatively accurate shading correction function can be obtained.
[0013]
[Explanation of Examples]
FIG. 1 schematically shows a
[0014]
A number of
[0015]
The
[0016]
On the right side of the
[0017]
When the output of the high-sensitivity video signal SH is completed, the signal charge (referred to as sub-signal charge) accumulated in the sub
[0018]
FIG. 2 is a block diagram showing a part of the electrical configuration of the digital still camera.
[0019]
The entire operation of the digital still camera is controlled by the
[0020]
The digital still camera includes operation switches 11. The operation switches 11 include a shutter release button, a mode setting switch (modes include an imaging mode, a setup mode, etc.), a determination button, a Back button, and the like.
[0021]
The digital still camera includes a
[0022]
An object image is formed on the light receiving surface of the
[0023]
When high-sensitivity image data DH and low-sensitivity image data DL obtained by imaging are recorded on a memory card (not shown), shading correction is performed in a
[0024]
In the digital still camera according to this embodiment, custom white balance adjustment can be performed as described later. When custom white balance adjustment is performed, each of the first
[0025]
The high-sensitivity image data DH and the low-sensitivity image data DL output from the first
[0026]
It is determined whether the white balance adjustment is appropriate based on the high sensitivity image data DH and the low sensitivity image data DL input to the
[0027]
Further, the shading correction
[0028]
In the mixing
[0029]
3 and 4 are flowcharts showing the custom white balance processing procedure. FIG. 5 is an example of a display screen of the
[0030]
In the digital still camera according to this embodiment, when the custom white balance mode is set, the custom white balance correction is performed and the
[0031]
When the setup mode is set by the mode setting switch, a menu image is displayed on the display screen of the
[0032]
The
[0033]
Mark 51: Displayed at the four corners of the
[0034]
Caution display area 52: Displays precautions when imaging a subject for custom white balance correction.
[0035]
Zone 53: indicates the center of the imaging range.
[0036]
Mode display area 54: The set mode is displayed to inform the user of the set mode (custom white balance mode).
[0037]
New registration display area 55: Shows an operation to be performed by the user when performing custom white balance correction (when calculating a shading correction function). It is shown that the custom white balance correction (calculation of the shading correction function) is performed by pressing the shutter release button.
[0038]
Cancel display area 56: An operation to be performed by the user when canceling the custom white balance correction is shown. It is shown that cancellation is made when the Back button is pressed.
[0039]
When the custom white balance mode is set, the
[0040]
Subsequently, the lens position of the
[0041]
Further, the high sensitivity image data DH and the low sensitivity image data DL obtained when the lens position of the
[0042]
If it is determined that the white balance correction is appropriate (YES in step 40), the wide end and tele end shading correction functions are calculated using the tele end image data (step 41). Details of the shading correction function calculation process will be described later. The calculated wide end and tele end shading correction functions are set in the shading correction circuit 18 (step 42). The set end image is displayed on the display screen of the display device 29 (step 43).
[0043]
Next, calculation of the shading correction function will be described.
[0044]
FIG. 6 shows an example of an image (corresponding to the light receiving surface of the CCD 1) obtained by imaging.
[0045]
The horizontal width of the image is width, and the vertical height is height. The upper left point O of the image is the origin. The coordinates of the origin O are (0, 0). The coordinates of the center point C of the image are (Cx, Cy). The coordinates of a desired point P (image position to be subjected to shading correction) on the image are (x, y). The horizontal distance Δx between the desired point P and the center point C is obtained from
[0046]
Δx = | x−Cx | = | x−width / 2 |
Δy = | y−Cy | = | x−height / 2 |
[0047]
FIG. 7 shows how the amount of light on the CCD changes due to lens shading.
[0048]
As described above, the amount of light on the light receiving surface of the CCD is higher at the central portion of the
[0049]
Such lens shading is obtained for each tele-end image data and wide-end image data as described above. Lens shading when the lens position of the
[0050]
sd [x, y] = A × (Δx 2 + Δy 2 ) + B × (Δx 2 + Δy 2 ) 2 +
[0051]
The shading correction function HSD [x, y] is expressed by
[0052]
HSD [x, y] = 1 / sd [x, y]...
[0053]
Such a shading correction function HSD [x, y] is calculated by the shading correction
[0054]
It will be understood that the shading correction function when the lens position of the
[0055]
In the shading correction circuit 18 (or the shading correction function calculation circuit 24), the recommended lens shading correction function HSDr [x, y] may be set. When a lens other than the recommended lens is attached to the digital still camera, the shading correction function HSDr [x, y] of the recommended lens is corrected using the function HSDc [x, y] that corrects the correction function. Thus, the total correction function HSDt [x, y] is calculated (see Equation 5).
[0056]
[Expression 1]
[0057]
FIG. 8 is a flowchart showing a processing procedure for shading correction.
[0058]
First, the user sets the imaging mode using the mode setting switch. When the shutter release button is pressed after setting the imaging mode (YES in step 61), the lens position of the
[0059]
The shading correction function at the tele end and the shading correction function at the wide end set in the shading correction
[0060]
The calculated shading correction function is set in the shading correction circuit 18 (step 66). The high-sensitivity image data DH and low-sensitivity image data DL obtained by imaging are input to the
[Brief description of the drawings]
FIG. 1 is a schematic diagram of a CCD.
FIG. 2 is a block diagram showing an electrical configuration of a digital still camera.
FIG. 3 is a flowchart showing a part of a processing procedure for custom white balance correction;
FIG. 4 is a flowchart showing a part of a processing procedure of custom white balance correction.
FIG. 5 is an example of a custom white balance / shading preview image.
FIG. 6 is an example of a captured image.
FIG. 7 shows a state of shading.
FIG. 8 is a flowchart showing a processing procedure for shading correction.
[Explanation of symbols]
1 CCD
10 CPU
11 Operation switches
12 Zoom lens control circuit
13 Zoom lens
18 Shading correction circuit
19, 20 gain amplifier circuit
21 White balance correction circuit
24 Shading correction function calculation circuit
29 Display device
Claims (2)
カスタム白バランス・モードの設定手段,
上記カスタム白バランス・モード設定手段における設定に応じて上記ズーム・レンズをワイド端およびテレ端にそれぞれ移動して,それぞれのレンズ位置において対象物を撮像することにより,ワイド端でのカラー画像データおよびテレ端でのカラー画像データを得るように上記ズーム・レンズおよび上記固体電子撮像装置を制御する制御手段,
上記制御手段の制御にもとづいて得られるワイド端でのカラー画像データおよびテレ端でのカラー画像データの少なくとも一方を用いてカスタム白バランス調整を行う白バランス調整手段,
上記制御手段の制御にもとづいて得られるワイド端でのカラー画像データおよびテレ端でのカラー画像データを用いて,ワイド端でのシェーディング補正関数およびテレ端でのシェーディング補正関数を算出するシェーディング補正関数算出手段,ならびに
上記シェーディング補正関数算出手段によって算出されたワイド端でのシェーディング補正関数およびテレ端でのシェーディング補正関数のうち,上記ズーム・レンズの位置に応じた補正関数を用いて,上記固体電子撮像装置から出力される画像データをシェーディング補正するシェーディング補正手段を備え,
上記固体電子撮像装置は,ズーム・レンズによって受光面上に結像する高感度カラー画像データと低感度カラー画像データとを出力するものであり,
上記シェーディング補正関数算出手段は,上記制御手段の制御にもとづいて得られるワイド端での低感度カラー画像データおよびテレ端での低感度カラー画像データを用いて,ワイド端でのシェーディング補正関数およびテレ端でのシェーディング補正関数を算出するものである,
撮像装置。A solid-state electronic imaging device that outputs color image data representing a color target image formed on a light-receiving surface by a zoom lens;
Custom white balance mode setting means,
According to the setting in the custom white balance mode setting means, the zoom lens is moved to the wide end and the tele end, respectively, and the object is imaged at each lens position. Control means for controlling the zoom lens and the solid-state electronic imaging device so as to obtain color image data at the tele end;
White balance adjusting means for performing custom white balance adjustment using at least one of color image data at the wide end and color image data at the tele end obtained based on the control of the control means;
A shading correction function for calculating a shading correction function at the wide end and a shading correction function at the tele end using color image data at the wide end and color image data at the tele end obtained based on the control of the control means. Of the calculation means, and among the shading correction function at the wide end and the shading correction function at the tele end calculated by the shading correction function calculation means, the correction function according to the position of the zoom lens is used to obtain the solid-state electronic Comprising shading correction means for correcting shading of image data output from the imaging apparatus ;
The solid-state electronic imaging device outputs high-sensitivity color image data and low-sensitivity color image data that are imaged on a light-receiving surface by a zoom lens.
The shading correction function calculating means uses the low-sensitivity color image data at the wide end and the low-sensitivity color image data at the tele end obtained based on the control of the control means, and uses the shading correction function and the telephoto at the wide end. To calculate the shading correction function at the edge,
Imaging device.
カスタム白バランス・モードの設定に応じて上記ズーム・レンズをワイド端およびテレ端にそれぞれ移動して,それぞれのレンズ位置において対象物を撮像することにより,ワイド端でのカラー画像データおよびテレ端でのカラー画像データを得るように上記ズーム・レンズおよび上記固体電子撮像装置を制御し,
上記制御にもとづいて得られるワイド端でのカラー画像データおよびテレ端でのカラー画像データの少なくとも一方を用いてカスタム白バランス調整を行い,
上記制御にもとづいて得られるワイド端でのカラー画像データおよびテレ端でのカラー画像データを用いて,ワイド端でのシェーディング補正関数およびテレ端でのシェーディング補正関数を算出し,
算出されたワイド端でのシェーディング補正関数およびテレ端でのシェーディング補正関数のうち,上記ズーム・レンズの位置に応じた補正関数を用いて,上記固体電子撮像装置から出力される画像データをシェーディング補正し,
上記固体電子撮像装置は,ズーム・レンズによって受光面上に結像する高感度カラー画像データと低感度カラー画像データとを出力するものであり,
上記シェーディング補正関数を算出する処理は,上記ズーム・レンズおよび上記固体電子撮像装置を制御する処理にもとづいて得られるワイド端での低感度カラー画像データおよびテレ端での低感度カラー画像データを用いて,ワイド端でのシェーディング補正関数およびテレ端でのシェーディング補正関数を算出するものである,
撮像装置の制御方法。In an imaging device comprising a solid-state electronic imaging device for outputting color image data representing a color target image formed on a light receiving surface by a zoom lens,
By moving the zoom lens to the wide end and the tele end according to the setting of the custom white balance mode, and imaging the object at each lens position, the color image data at the wide end and the tele end Controlling the zoom lens and the solid-state electronic imaging device so as to obtain color image data of
Custom white balance adjustment is performed using at least one of color image data at the wide end and color image data at the tele end obtained based on the above control,
Using the color image data at the wide end and the color image data at the tele end obtained based on the above control, a shading correction function at the wide end and a shading correction function at the tele end are calculated.
Of the calculated shading correction function at the wide end and the shading correction function at the tele end, the correction function corresponding to the position of the zoom lens is used to correct the shading of the image data output from the solid-state electronic imaging device. And
The solid-state electronic imaging device outputs high-sensitivity color image data and low-sensitivity color image data that are imaged on a light-receiving surface by a zoom lens.
The processing for calculating the shading correction function uses low-sensitivity color image data at the wide end and low-sensitivity color image data at the tele end obtained based on the processing for controlling the zoom lens and the solid-state electronic imaging device. Thus, the shading correction function at the wide end and the shading correction function at the tele end are calculated.
Control method of imaging apparatus.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003132434A JP4199044B2 (en) | 2003-05-12 | 2003-05-12 | Imaging apparatus and control method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003132434A JP4199044B2 (en) | 2003-05-12 | 2003-05-12 | Imaging apparatus and control method thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2004336585A JP2004336585A (en) | 2004-11-25 |
| JP4199044B2 true JP4199044B2 (en) | 2008-12-17 |
Family
ID=33507283
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003132434A Expired - Fee Related JP4199044B2 (en) | 2003-05-12 | 2003-05-12 | Imaging apparatus and control method thereof |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4199044B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115918103B (en) * | 2020-06-02 | 2024-12-20 | Oppo广东移动通信有限公司 | Electronic device, method of controlling electronic device, and computer-readable storage medium |
-
2003
- 2003-05-12 JP JP2003132434A patent/JP4199044B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2004336585A (en) | 2004-11-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100938167B1 (en) | Ambient Light Correction Device, Ambient Light Correction Method, Electronic Information Equipment, Control Program, and Readable Recording Media | |
| US20250301231A1 (en) | Image capturing device, image processing device and display device for setting different exposure conditions | |
| US8314850B2 (en) | Image sensing apparatus and method for controlling the same | |
| JP2006121612A (en) | Imaging device | |
| JP2008288648A (en) | Imaging apparatus and imaging data correction method | |
| US20190045146A1 (en) | Method and apparatus for imaging an object | |
| US20180338096A1 (en) | Image processing appartatus | |
| US20060114340A1 (en) | Image capturing apparatus and program | |
| CN103581578A (en) | Image pickup apparatus and image pickup method | |
| JPWO2013065518A1 (en) | Imaging apparatus and image processing method | |
| JPH10248068A (en) | Imaging device and image processing device | |
| JP2009043047A (en) | Image display device, image display method, and program | |
| JP2007243714A (en) | Imaging apparatus and exposure control method | |
| JP4295149B2 (en) | Color shading correction method and solid-state imaging device | |
| JP4763469B2 (en) | Solid-state imaging device, image input device, and image correction method thereof | |
| JP4547465B2 (en) | Imaging apparatus and exposure control method | |
| JP4199044B2 (en) | Imaging apparatus and control method thereof | |
| JP2003101815A (en) | Signal processor and method for processing signal | |
| JP2008228185A (en) | Imaging device | |
| JP2002281361A (en) | Multi-view camera | |
| JP2021110885A (en) | Image capturing apparatus and control method thereof | |
| JP4993670B2 (en) | Imaging apparatus and control method thereof | |
| JP2006287814A (en) | Imaging apparatus and method of determining motion vector | |
| JP2007318630A (en) | Image input device, imaging module, and solid-state imaging device | |
| JP5267290B2 (en) | Image processing apparatus, image processing method, and image processing program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060302 |
|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20061208 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080613 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080715 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080903 |
|
| 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: 20080930 |
|
| 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: 20081002 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111010 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121010 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121010 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131010 Year of fee payment: 5 |
|
| LAPS | Cancellation because of no payment of annual fees |