JP4137648B2 - Image data synthesizing apparatus and method - Google Patents
Image data synthesizing apparatus and method Download PDFInfo
- Publication number
- JP4137648B2 JP4137648B2 JP2003006769A JP2003006769A JP4137648B2 JP 4137648 B2 JP4137648 B2 JP 4137648B2 JP 2003006769 A JP2003006769 A JP 2003006769A JP 2003006769 A JP2003006769 A JP 2003006769A JP 4137648 B2 JP4137648 B2 JP 4137648B2
- Authority
- JP
- Japan
- Prior art keywords
- image data
- low
- sensitivity
- sensitivity image
- dynamic range
- 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
- 230000002194 synthesizing effect Effects 0.000 title claims description 18
- 238000000034 method Methods 0.000 title claims description 15
- 239000002131 composite material Substances 0.000 claims description 84
- 238000012937 correction Methods 0.000 claims description 51
- 230000035945 sensitivity Effects 0.000 claims description 46
- 230000015572 biosynthetic process Effects 0.000 claims description 35
- 238000003786 synthesis reaction Methods 0.000 claims description 34
- 239000000203 mixture Substances 0.000 claims description 25
- 238000003384 imaging method Methods 0.000 claims description 8
- 230000004044 response Effects 0.000 claims description 5
- 238000001308 synthesis method Methods 0.000 claims 2
- 239000011159 matrix material Substances 0.000 description 15
- 229920006395 saturated elastomer Polymers 0.000 description 15
- 230000000875 corresponding effect Effects 0.000 description 14
- 230000001629 suppression Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000010354 integration Effects 0.000 description 7
- 230000001276 controlling effect Effects 0.000 description 5
- SPCMQFLNOVTUBM-UHFFFAOYSA-N [7-(dimethylazaniumyl)-10h-phenothiazin-3-yl]-dimethylazanium;methanesulfonate Chemical compound CS([O-])(=O)=O.CS([O-])(=O)=O.C1=C([NH+](C)C)C=C2SC3=CC([NH+](C)C)=CC=C3NC2=C1 SPCMQFLNOVTUBM-UHFFFAOYSA-N 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000013144 data compression Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000001678 irradiating effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000003595 spectral effect Effects 0.000 description 1
Images
Landscapes
- Transforming Light Signals Into Electric Signals (AREA)
Description
【0001】
【技術分野】
この発明は,画像データ合成装置および方法ならびに画像データ合成プログラムに関する。
【0002】
【発明の背景】
ディジタル・スチル・カメラの撮像素子に利用されるCCDは,一般的にダイナミック・レンジが狭い。ダイナミック・レンジを広げるために,異なる露光条件で2回撮像し,得られた2種類の映像信号同士を加算するものがある(例えば,特許文献1)。
【0003】
【特許文献1】
特願平11−271239号公報
【0004】
このような方法によりダイナミック・レンジを広げる場合には,ダイナミック・レンジは固定とされる。ダイナミック・レンジを変更することはできないことが多い。ダイナミック・レンジを広げて得られた合成画像を表示する場合,合成画像の確認が難しいことがある。
【0005】
【発明の開示】
この発明は,ダイナミック・レンジを広げて得られた合成画像を表示し,低感度画像を分割したときに得られる分割領域の積算値の最大値近傍の画像を拡大できるようにすることを目的とする。
【0006】
この発明による画像データ合成装置は,ダイナミック・レンジを設定するダイナミック・レンジ設定手段(レベル調整された低感度画像データと合成された場合に,非飽和状態となるように),上記ダイナミック・レンジ設定手段による設定に応じて,与えられる高感度画像データのレベルを調整する第1の調整手段()上記第1の調整手段によってレベル調整された高感度画像データと合成された場合に非飽和状態となるように),上記ダイナミック・レンジ設定手段による設定に応じて,与えられる低感度画像データのレベルを調整する第2の調整手段,および上記第1の調整手段によってレベルが調整された高感度画像データと上記第2の調整手段によってレベルが調整された低感度画像データとを合成して合成画像データを出力する画像データ合成手段を備えていることを特徴とする。
【0007】
この発明は,上記画像データ合成装置に適した方法も提供している。すなわち,この方法は,ダイナミック・レンジを設定し(レベル調整された低感度画像データと合成された場合に,非飽和状態となるように),設定されたダイナミック・レンジに応じて,与えられる高感度画像データのレベルを調整し(レベル調整された高感度画像データと合成された場合に非飽和状態となるように),設定されたダイナミック・レンジに応じて,与えられる低感度画像データのレベルを調整し,レベルが調整された高感度画像データとレベルが調整された低感度画像データとを合成して合成画像データを出力するものである。
【0008】
また,この発明は,画像データ合成のプログラムおよびそのプログラムを格納した記録媒体も提供している。
【0009】
この発明によると,ダイナミック・レンジが設定される。ダイナミック・レンジは,ボリュウム,スイッチ,ボタンなどの設定器によりユーザが手動で設定可能なものでもよいし,高感度画像データ,低感度画像データにもとづいて自動設定するものでもよい。
【0010】
高感度画像データと低感度画像データとが与えられる。高感度画像データは,レベル調整された低感度画像データと合成された場合に,非飽和状態となるように,設定されたダイナミック・レンジに応じてそのレベルが調整される。同様に,低感度画像データは,レベル調整された高感度画像データと合成された場合に,非飽和状態となるように,設定されたダイナミック・レンジに応じてそのレベルが調整される。レベル調整された高感度画像データとレベル調整された低感度画像データとが合成されて,合成画像を表す合成画像データが得られる。
【0011】
設定されたダイナミック・レンジに応じた合成画像データが得られるようになる。高感度画像データと低感度画像データとは互いに合成された場合に,非飽和状態となるようにレベル調整されるので,合成画像データが飽和してしまうことを未然に防止できる。
【0012】
被写体を撮像し,被写体像を表す上記高感度画像データと上記低感度画像データとを出力する固体電子撮像装置をさらに備えるようにしてもよい。この場合,上記第1の調整手段は,上記固体電子撮像装置から出力された上記高感度画像データを与えられ,上記第2の調整手段は上記固体電子撮像装置から出力された上記低感度画像データを与えられるものとなろう。
【0013】
上記画像データ合成手段から出力される合成画像データによって表される画像を表示画面上に表示するように表示装置を制御する第1の表示制御手段,記録指令を与える記録指令スイッチ,および上記記録指令スイッチから記録指令が与えられたことに応答して,上記第1の表示制御手段の制御にもとづいて表示画面上に表示される画像を表す合成画像データを記録媒体に記録する記録制御手段をさらに備えるようにしてもよい。
【0014】
ダイナミック・レンジが調整された合成画像が表示装置の表示画面上に表示されるので,その表示された合成画像を確認した後に,合成画像データを記録媒体に記録することができる。
【0015】
上述したように,上記ダイナミック・レンジ設定手段は,ユーザによってダイナミック・レンジが設定される設定器であってもよいし,上記ダイナミック・レンジ設定手段は,与えられる高感度画像データおよび与えられる低感度画像データの少なくとも一方にもとづいて,ダイナミック・レンジを設定するものでもよい。
【0016】
上記ダイナミック・レンジ設定手段は,例えば,与えられる低感度画像データによって表される低感度画像を複数の領域に分割する分割手段,および上記分割手段によって分割された複数の領域内の画像を表す低感度画像データをそれぞれ積算し,複数の積算値を算出する算出手段を備える。この場合,上記算出手段によって算出された複数の積算値にもとづいてダイナミック・レンジを設定するものとなろう。
【0017】
得られた画像が飽和しないようにダイナミック・レンジを設定できる。
【0018】
また,上記画像データ合成手段から出力される合成画像データによって表される画像を表示画面上に表示するように表示装置を制御する第2の表示制御手段,および上記第2の表示制御手段の制御のもとに上記表示画面に表示された画像のうち,上記算出手段によって算出された複数の積算値の最大値をもつ領域近傍の画像を拡大する画像拡大手段をさらに備えるようにしてもよい。
【0019】
画像が拡大されているので,画像が飽和してしまっているかどうかを確認できる。
【0020】
好ましくは,記録指令を与える記録指令スイッチ,および上記記録指令スイッチから記録指令が与えられたことに応答して,上記第2の表示制御手段の制御にもとづいて表示画面に表示される画像を表す合成画像データを記録媒体に記録する記録制御手段をさらに備える。
【0021】
表示画面に表示された合成画像を確認したあとに,その合成画像を表す合成画像データを記録媒体に記録することができるようになる。
【0022】
上記ダイナミック・レンジ設定手段によって設定されたダイナミック・レンジにもとづいて,上記画像データ合成手段から出力された合成画像データによって表される画像の色(彩度)を補正する色(彩度)補正手段をさらに備えるようにしてもよい。
【0023】
ダイナミック・レンジに応じて比較的適切に色(彩度)補正を行うことができるようになる。
【0024】
上記高感度画像データおよび上記低感度画像データが記録されている記録媒体から上記高感度画像データおよび上記低感度画像データを読み取る読み取り手段をさらに備えるようにしてもよい。この場合,上記読み取り手段から読み取られた高感度画像データを上記第1の調整手段に与え,上記読み取り手段によって読み取られた上記低感度画像データを上記第2の調整手段に与えるものとなろう。
【0025】
記録媒体に記録されている高感度画像データおよび低感度画像データを読み取り,上述したようにダイナミック・レンジを設定して合成画像データを生成することができる。
【0026】
上記低感度画像データによって表される低感度画像を分割することにより得られる複数の領域内のそれぞれの画像を表す低感度画像データの積算値のうちの最大値の位置を示すデータが上記記録媒体に記録されていてもよい。この場合,上記読み取り手段は,上記位置データも読み取るものとなろう。
【0027】
そして,上記画像データ合成手段から出力される合成画像データによって表される合成画像を表示画面上に表示するように表示装置を制御する第3の表示制御手段,および上記第3の表示制御手段の制御のもとに表示された合成画像のうち,上記読み取り手段によって読み取られた位置データによって表される位置近傍を拡大して表示するように上記表示装置を制御する第4の表示制御手段をさらに備えることとなろう。
【0028】
最大値に合わせたダイナミック・レンジを設定しているので,飽和しない合成画像を得ることができる。
【0029】
上記ダイナミック・レンジ設定手段は,設定可能なダイナミック・レンジの範囲およびその範囲中の所望の位置を指定するスライダを表示するように上記表示装置を制御する第5の表示制御手段,および上記スライダの位置を指定する指定手段を備えるものでもよい。この場合,上記指定手段によって指定されるスライダの位置にもとづいて上記ダイナミック・レンジを設定するものとなろう。
【0030】
上記ダイナミック・レンジの範囲の上限が,上記ダイナミック・レンジ設定手段によって設定可能なダイナミック・レンジの最大値であることが好ましい。設定できない位置を指定することを未然に防止できるからである。
【0031】
上記ダイナミック・レンジ設定手段が,ダイナミック・レンジを設定するダイナミック・レンジ設定パラメータを入力する入力手段,上記入力手段から入力されたパラメータによって設定されるダイナミック・レンジが設定可能な範囲外かどうかを判定する判定手段,および上記判定手段により設定可能な範囲外と判定されたことに応答して警告する警告手段をさらに備えるようにしてもよい。
【0032】
上記ダイナミック・レンジ設定手段によって設定されたダイナミック・レンジに応じたガンマ補正係数を決定するガンマ補正係数決定手段,ならびに上記第1の調整手段によってレベルが調整された高感度画像データおよび上記第2の調整手段によってレベルが調整された低感度画像データとの少なくとも一方を,上記ガンマ補正係数決定手段によって決定されたガンマ補正係数にもとづいてガンマ補正するガンマ補正手段をさらに備えるようにしてもよい。この場合,上記画像データ合成手段は,上記ガンマ補正手段によってガンマ補正された画像データを用いて合成画像データを生成するものとなう。
【0033】
【実施例の説明】
図1は,この発明の実施例によるディジタル・スチル・カメラに用いられるCCD5を模式的に示している。
【0034】
CCD5には,水平方向および垂直方向に多数のフォトダイオード20が配列されている。フォトダイオード20は,奇数列は奇数行に配置され,偶数列は偶数行に配置されている。偶数列は奇数行に配置し,奇数列は偶数行に配置するようにしてもよい。
【0035】
フォトダイオード20は,その受光領域が2つに分けられている。一方の受光領域21を主受光領域,他方の受光領域22を副受光領域ということにする。主受光領域21に蓄積された信号電荷と副受光領域22に蓄積された信号電荷とは混ざらないようにフォトダイオード20が形成されている。主受光領域21の受光面積と副受光領域22の受光面積との比率は,4対1に規定されている。もっとも,その他の比率でもよいのはいうまでもない。
【0036】
フォトダイオード20の右側には,フォトダイオード20に蓄積された信号電荷を垂直方向に転送する垂直転送路23が設けられている。フォトダイオード20に蓄積された信号電荷のうち,主受光領域21に蓄積された信号電荷(主信号電荷という)がフォトダイオード20から垂直転送路22にシフトされる。主信号電荷は,水平転送路24に与えられ,水平方向に転送させられる。主信号電荷は,増幅回路25において増幅され,一駒分の画像を表す高感度映像信号としてCCD5から出力される。
【0037】
高感度映像信号の出力が終了すると,フォトダイオード20の副受光領域22に蓄積された信号電荷(副信号電荷という)が垂直転送路23にシフトされる。主信号電荷と同様に,副信号電荷は,垂直転送路23内を垂直方向に転送させられ,水平転送路24に与えられる。副信号電荷は,水平転送路24内を水平方向に転送させられ,増幅回路25を介して低感度映像信号としてCCD5から出力される。
【0038】
主受光領域21の受光面積は,副受光領域22の受光面積の4倍であるから,同一の被写体を撮像した場合高感度映像信号のレベルは低感度映像信号のレベルの4倍となる。
【0039】
図2は,ディジタル・スチル・カメラの電気的構成を示すブロック図である。
【0040】
ディジタル・スチル・カメラの全体の動作は,CPU2によって統括される。
【0041】
ディジタル・スチル・カメラには,操作装置1が含まれている。この操作装置1には,シャッタ・レリーズ・ボタン,ダイナミック・レンジ調整ボリュウム,プレビュー・レック・ボタンなどの各種ボタンが含まれている。操作装置1からの出力信号は,CPU2に入力する。ダイナミック・レンジ調整ボリュウムは,6段階の設定が可能であり,6種類のダイナミック・レンジを指定することができる。もちろん,さらに多くの種類の指定ができるようにしてもよいのはいうまでもない。
【0042】
ディジタル・スチル・カメラには,被写体にストロボ光を照射するためのストロボ発光装置3が含まれている。
【0043】
また,ディジタル・スチル・カメラには,各種クロック・パルス等を生成するためのタイミング・ジェネレータ4が含まれている。このタイミング・ジェネレータ4から出力されるクロック・パルス等は,CCD5およびアナログ信号処理回路6に与えられる。
【0044】
プレビュー・レック・ボタンにより,プレビュー・レック・モードが設定されると,次に述べるように,メモリ・カード12に画像データが記録される前にメモリ8に画像データが一時的に記憶される。メモリ8に記憶されている画像データによって表される画像が表示装置11の表示画面上に表示される。表示された画像を見ながら,ダイナミック・レンジ調整ボリュウムを用いて表示画面上に表示されている画像のダイナミック・レンジが調整される。その後,シャッタ・レリーズ・ボタンが押されることにより,メモリ8に一時的に記憶されていた画像データがメモリ・カード12に記録される。
【0045】
プレビュー・レック・モードが設定されると,CCD5によって被写体が撮像され,上述のように,被写体像を表す高感度映像信号と低感度映像信号とが順に出力される。高感度映像信号および低感度映像信号は,それぞれ順にアナログ信号処理回路6に入力し,相関二重サンプリング処理およびアナログ/ディジタル変換処理が行われ,高感度画像データおよび低感度画像データが得られる。高感度画像データおよび低感度画像データは,ディジタル信号処理回路7を通過して,メモリ8に与えられ,一時的に記憶される。高感度画像データおよび低感度画像データは,メモリ8から読み出され,ディジタル信号処理回路7に入力し,所定の傷補正処理が行われる。傷補正処理が行われた高感度画像データおよび低感度画像データは,メモリ8に与えられ,再び記憶される。
【0046】
高感度画像データおよび低感度画像データは,メモリ8から再び読み出され,ディジタル信号処理回路7に入力する。ディジタル信号処理回路7において,画像合成処理が行われ,合成画像を表す合成画像データが生成れる。この画像合成処理について詳しくは後述する。合成画像データは,表示装置11に与えられ,表示画面上に合成画像が表示される。
【0047】
表示装置11の表示画面上に最初に表示される合成画像のダイナミック・レンジは,後述するように低感度画像データの緑成分の最大レベルにもとづいて決定される。その後,ユーザが操作装置1に含まれるダイナミック・レンジ調整ボリュウムを操作することにより,ダイナミック・レンジが変更された合成画像が表示装置11の表示画面上に表示される。
【0048】
プレビュー・レック・モードが設定されている場合に,シャッタ・レリーズ・ボタン(記録指令スイッチ)が押されると,表示装置11の表示画面上に表示されている合成画像を表す画像データがメモリ8から圧縮回路9に与えられ,JPEG(joint photographic experts group)などにもとづくデータ圧縮が行われる。圧縮された合成画像データは,メモリ・カード・インターフェイス10を介してメモリ・カード12に与えられ,記録される。
【0049】
図3から図6は,この実施例による画像データの合成の仕方を説明するためのグラフである。
【0050】
この実施例による画像データの合成は,式1にもとづいて行われる。
【0051】
data=[high+MIN(high/th,1)×low]×MAX[lg(high/th)+1,p]・・・式1
【0052】
ただし,highは後述するようにガンマ補正後の高感度画像データのレベルを示し,lowは後述するようにガンマ補正後の低感度画像データのレベルを示し,th,lgおよびpは,合成パラメータを示し,MIN(a,b)は,aまたはbのうちいずれか小さい方を採用することを示し,MAX(a,b)は,aまたはbのうちいずれか大きい方を採用することを示している。
【0053】
図3は,ガンマ補正後の高感度画像データhigh,ガンマ補正後の低感度画像データlowおよび式1の第1項{high+MIN(high/th,1)×low}における相対的被写体輝度と画像データのレベルとの関係を示している。相対的被写体輝度とは,高感度画像データが飽和する時点のレベルを与える被写体輝度を100%としたものである。画像データは,8ビットのものであり,十進数の表現では,画像データは,0から255の間の値となる。
【0054】
高感度画像データhighは,相対被写体輝度が100%となるまでの間は,相対被写体輝度が高くなるにつれて,そのレベルが徐々に高くなる。相対被写体輝度が100%となると,高感度画像データhighのレベルは,「255」となり飽和する。相対被写体輝度が100%を越えると飽和状態がつづき,高感度画像データのレベルは「255」が維持される。
【0055】
低感度画像データlowは,副信号電荷にもとづいて得られるものである。上述したようにCCD5のフォトダイオード20の副受光領域22の受光面積は,主受光領域21の受光面積の1/4である。このために,相対被写体輝度が400%となったときに,低感度画像データlowのレベルは,「63 」となり,飽和する。相対被写体輝度が400%となるまでの間は,相対被写体輝度が高くなるにつれ,低感度画像データlowのレベルは高くなる。
【0056】
式1の第1項は,高感度画像データhighと低感度画像データlowとの合成(加算)を表している。重み付け係数MIN(high/th,1)が乗じられた低感度画像データlowと高感度画像データhighとが合成される。
【0057】
図4は,重み付け係数を示すグラフである。
【0058】
重み付け係数は,高感度画像データhighのレベルに依存する。高感度画像データhighが合成パラメータth(しきい値を示すパラメータである)までの間は,(1/th)highにしたがって徐々に大きくなる。高感度画像データhighが合成パラメータthの値以上となると,重み付け係数は1となる。
【0059】
図3にもどって,合成パラメータthに対応する相対被写体輝度Lthまでは,(high/th)の重み付け係数が乗じられた低感度画像データlowが高感度画像データhighに加算されることにより画像データの合成が行われる。合成パラメータthに対応する相対被写体輝度Lthとなると,重み付け係数は1となり,高感度画像データhighと低感度画像データlowとが単純に加算される。
【0060】
高感度画像データhighと低感度画像データlowとが加算されると,加算された画像データのレベルは「255」を超え,飽和することとなる。このために,式1の第2項によって,加算された画像データのレベルが「255」以下となるように抑圧処理が行われる。
【0061】
図5は,式1の第2項の高感度画像データhighと合成パラメータpとの関係を示すグラフである。
【0062】
高感度画像データhighが合成パラメータthになるまでの間は,抑圧率はlg(high/th)+1となる。この場合の抑圧率は合成パラメータlgにも依存することとなる。高感度画像データhighが高くなるにつれて,抑圧率は徐々に小さくなる。合成パラメータlgは,式2にもとづいて算出することができる。
【0063】
lg=[1−{Sh/(Sh+Sl)}]・・・式2
【0064】
ただし,Shは,主受光領域の面積を示し,Slは,副受光領域の面積を示している。実際には,Shは主受光領域の飽和量であり,Slは副受光領域の飽和量であるが,主受光領域の面積と副受光領域の面積とをそれぞれの飽和量と見なしている。
【0065】
合成パラメータlgは,高感度画像データhighが合成パラメータth以上となると,抑圧率はp(pは,1未満であり,たとえば0.8)となる。
【0066】
図6は,抑圧後の合成画像データを示している。
【0067】
図3を参照して説明したように,高感度画像データhighと低感度画像データlowとが加算されると,加算後の画像データのレベルが「255」を超えることがあるために,抑圧処理が行われる。この抑圧処理は,相対被写体輝度がLthとなるまでは加算後の画像データが(1−lg・high/th)倍される。相対被写体輝度がLth以上となるとp倍される。
【0068】
上述したダイナミック・レンジ調整ボタンの調整量に応じて,合成パラメータthおよびpが変わる。合成パラメータthおよびpが変わることにより,合成画像データのダイナミック・レンジが変わることが理解されよう(後述する図13参照)。たとえば,高感度画像データhighのみで画像を表現する場合のダイナミック・レンジを100%とすると,図6においては,ダイナミック・レンジが400%にまで広げられている。
【0069】
この実施例においては,プレビュー・レック・モードが設定されたときに表示装置11の表示画面に最初に表示される画像のダイナミック・レンジは,低感度画像データlowにもとづいて決定される。
【0070】
図7は,低感度画像データlowによって表される低感度画像のメモリ上の配置を示している。図8は,図7の一部を拡大して示している。
【0071】
低感度画像は図8に示すように,奇数行はR(赤)色の成分を示す画素(Rで示す)とB(青)色の成分を示す画素(Bで示す)とが交互に現れ,偶数行はG(緑)色の成分を示す画素が現れるように,メモリ(後述するように積算回路内のメモリ)上に画像データが配置される。
【0072】
一例として,水平方向1416画素垂直方向2128画素の画像26が得られる。この画像26のうち,上下のそれぞれ104画素,両端部のそれぞれの68画素を除いた水平方向1280画素垂直方向1920画素からなる領域27が積算領域として設定される。
【0073】
積算領域27が,水平方向80画素垂直方向120画素からなるブロックBrに分割される。積算領域27内は,水平方向16個垂直方向16個の合計256個のブロックBrに分割される。
【0074】
それぞれのブロックBrごとに緑色成分の平均が算出される。算出された平均値のうち,最大値Gmaxを用いて初期画像のダイナミック・レンジDiが算出される。初期画像のダイナミック・レンジDiは,式3にもとづいて算出される。
【0075】
Di=(Gmax×400[%]/4095)×1.25[%]・・・式3
【0076】
式3は,Gmaxが低感度画像データlowの最大値4095であったときに,最大のダイナミック・レンジである400%となるように初期画像のダイナミック・レンジDiが決定されるものである。また,式3において「1.25」が乗じられているのは,後述するように,ホワイト・バランス/ゲイン回路において低感度画像データlowが1.25倍されるのに対して,積算回路における積算処理に使用される低感度画像データlowは1.25倍される前のものが用いられるからである。
【0077】
図9は,ディジタル信号処理回路7に含まれる画像データ合成回路の電気的構成を示すブロック図である。
【0078】
式1は,式4のように書き換えることができる。
【0079】
data=MAX[-lg(high/th)+1,p]+[MAX[-lg(high/th)+1,p]×MIN(high/th,1)]×low・・・式4
【0080】
式4において,第1項のMAX[-lg(high/th)+1,p]をhgainと置き換え,第2項のMAX[-lg(high/th)+1,p]×MIN(high/th,1)をlgainと置き換えると,式4はさらに,式5によって表される。
【0081】
data=hgain×high+lgain×low・・・式5
【0082】
図9に示す画像データ合成回路は,式5にしたがって画像合成をするものである。
【0083】
上述のように,メモリ8に記憶されている高感度画像データ(H)および低感度画像データ(L)が読み取られ,画像合成回路に入力する。高感度画像データHおよび低感度画像データLは,それぞれオフセット処理回路31および41においてそれぞれオフセット処理が行われる。オフセット処理回路31および41からそれぞれ出力された高感度RAW画像データおよび低感度RAW画像データは,リニア・マトリクス回路32および42においてCCD5の分光特性を補正する色調補正処理が行われる。また,この実施例においては,高感度RAW画像データおよび低感度RAW画像データをメモリ・カード12に記録することもできる。このためにオフセット処理回路31および41から出力される高感度RAW画像データおよび低感度RAW画像データは,メモリ・カード12にも与えられる。
【0084】
リニア・マトリクス回路32および42から出力された高感度画像データおよび低感度画像データは,ホワイト・バランス/ゲイン調整回路33および43にそれぞれ与えられ,レベルが1.25倍となるようにゲイン調整処理が行われ,かつ白バランス調整が行われる。ホワイト・バランス/ゲイン調整回路33および43から出力された高感度画像データおよび低感度画像データは,それぞれガンマ補正回路34および44に与えられる。
【0085】
低感度画像データ用のリニア・マトリクス回路42から出力された低感度画像データは,積算回路51にも与えられる。積算回路51において,上述したように,ブロック分割処理,緑成分の平均値算出処理,緑成分の最大値Gmax算出処理等が行われる。算出された緑成分の最大値Gmaxを表すデータは,Dレンジ算出回路52に与えられる。Dレンジ算出回路52において,上述したように初期画像のダイナミック・レンジDiが算出される。
【0086】
Dレンジ算出回路52には,メモリ(図示略)も内蔵されており,そのメモリ内に図11に示すパラメータ等決定テーブルを示すデータが格納されている。
【0087】
図11を参照して,ダイナミック・レンジ調整ボリュウムは,上述したようにv0からv5までの6個の位置に位置決めできる。ボリュウムの位置v0からv5に対応して,ダイナミック・レンジD0からD5,低感度画像データ用のガンマ補正回路44のガンマ係数γ0またはγ1,上述した合成パラメータpおよびthならびに後述する色差マトリクス回路56における色差補正ゲインCrおよびCbが決定するようにテーブルに各データが格納されている。
【0088】
図12は,低感度画像データ用のγ補正回路44に適用されるガンマ補正係数によって表されるガンマ曲線を示している。
【0089】
後述するように,ダイナミック・レンジが広くされた場合に,ダイナミック・レンジを示す曲線がダイナミック・レンジの割合に応じて均等とならないことが多い。ダイナミック・レンジを示す曲線がダイナミック・レンジの割合に応じて均等になるように,決定されるダイナミック・レンジに応じてガンマ係数が決定される。決定されたダイナミック・レンジが狭いほど隣接するダイナミック・レンジを示す曲線同士が近づくので,急峻の特性を有するガンマ曲線を表すガンマ補正係数γ0が選択される。
【0090】
上述のように,初期画像のダイナミック・レンジDiが,テーブルに格納されているダイナミック・レンジD0からD5のうち対応するものが見つけられる。ダイナミック・レンジD0からD5のうち対応するダイナミック・レンジにもとづいて,低感度γ,合成パラメータpおよびthならびに色差補正ゲインCrおよびCbが見つけられる。見つけられた低感度γを示すデータは,低感度用画像データ用のγ補正回路44に,合成パラメータpおよびthをそれぞれ示すデータは,LUT(ルックアップ・テーブル)35に,色差補正ゲインCrおよびCbをそれぞれ示すデータは,色差マトリクス回路56にそれぞれ与えられる。また,これらのパラメータ等はメモリ・カードに与えられ,記録される。
【0091】
高感度画像データ用ガンマ補正回路34から出力された高感度画像データhighは,LUT35および第1の乗算回路36に与えられ,低感度画像データ用ガンマ補正回路44から出力された低感度画像データlowは,第2の乗算回路46に与えられる。
【0092】
LUT35において,Dレンジ算出回路52から与えられた合成パラメータpおよびthにもとづいて上述した高感度画像データhighの係数hgainおよび低感度画像データlowの係数lgainが得られる(合成パラメータlgはこの実施例ではたとえば−0.2と固定される)。係数hgainは,第1の乗算回路36に,係数lgainは,第2の乗算回路46にそれぞれ与えられる。第1の乗算回路36において高感度画像データhighに係数hgainが乗じられ(high×hgain),第2の乗算回路46において低感度画像データlowに係数lgainが乗じられる(low×lgain)。
【0093】
第1の乗算回路36から出力されたデータ(high×hgain)および第2の乗算回路46から出力されたデータ(low×lgain)が加算されて上述した式5により表され,初期画像のダイナミック・レンジDiをもつ合成画像データdataが得られる。
【0094】
合成画像データは,リミッタ54において振幅が制限されてY/C処理回路55において合成輝度データおよび合成色差データが生成される。生成された合成輝度データおよび合成色差データは,色差マトリクス回路56において,Dレンジ算出回路52から与えられた色差ゲイン補正CrおよびCbに基準のゲインが乗じられて合成色差データが補正される。色差マトリクス回路56においては,ダイナミック・レンジが広がるほど色差ゲイン補正値が大きくなっている。
【0095】
色差マトリクス回路56から出力された合成輝度データおよび合成色差データがメモリ8に与えられ,一時的に記憶される。合成輝度データおよび合成色差データがメモリ8から読み出され,表示装置11に与えられる。初期画像のダイナミック・レンジDiをもつ初期画像が表示装置11の表示画面上に表示される。
【0096】
図10は,表示装置11の表示画面上に表示される初期画像の一例である。
【0097】
表示装置11の表示画面60には,上述のようにして初期のダイナミック・レンジDiをもつ合成画像61が表示されている。また,表示画面60の右上には,拡大画像表示領域62が形成されている。この拡大画像表示領域62は,上述した緑成分の最大値Gmax(最大値Gmaxをもつブロックが符号63で示されている。)近傍の画像の拡大画像を表示する領域である。拡大画像の生成処理は,CPU2によって行われるのはいうまでもない。
【0098】
緑成分の最大値Gmax近傍の画像の拡大画像62が表示されるので,合成画像が飽和しているかどうかを比較的簡単に確認できる。
【0099】
この実施例によるディジタル・スチル・カメラは,上述のようにダイナミック・レンジ調整ボリュウムを用いてユーザの所望のダイナミック・レンジを設定することができる。
【0100】
操作装置1に含まれているダイナミック・レンジ調整ボリュウムのボリュウム位置を示す信号はCPU2を介してディジタル信号処理回路7に与えられ,Dレンジ算出回路52に入力する。図11に示すように,ダイナミック・レンジ調整ボリュウムの位置に応じてダイナミック・レンジ,低感度γ,合成パラメータpおよびthならびに色差補正ゲインCrおよびCbが決定される。
【0101】
上述したように,決定した低感度γを表すデータが低感度画像データ用γ補正回路44に与えられ,合成パラメータpおよびthを表すデータがLUT35に与えられ,色差補正ゲインCrおよびCbを表すデータが色差マトリクス回路56に与えられる。上述したのと同様に,ダイナミック・レンジ調整ボリュウムの位置に応じたダイナミック・レンジをもつ合成画像が表示装置11の表示画面上に表示されることが理解されよう。
【0102】
図13は,合成画像データのレベルを相対的被写体輝度との関係を示している。
【0103】
上述のようにダイナミック・レンジ調整ボリュウムの位置v0〜v5に応じて,合成画像データのダイナミック・レンジがD0〜D5(相対的被写体輝度では100%から400%)に変わる
【0104】
所望のダイナミック・レンジをもつ合成画像が得られると,ユーザによってシャッタ・レリーズ・ボタンが押される。表示装置11の表示画面上に表示されている合成画像を表す合成画像データがメモリ・カード12に記録されることとなる。
【0105】
図14および図15は,ディジタル・スチル・カメラの処理手順を示すフローチャートである。
【0106】
プレビュー・レック・スイッチによりプレビュー・レック・モードが設定されると,被写体が撮像され(ステップ71),被写体像を表す高感度画像データおよび低感度画像データ(画像データ合成回路に入力する前のそれぞれの画像データ)がメモリ8に与えられ,一時的に記憶される(ステップ72)。
【0107】
ディジタル・スチル・カメラに設定可能なダイナミック・レンジの最大値Dmaxが読み取られ(ステップ73)(Dレンジ算出回路52内のメモリに格納されている),上述のように緑成分の最大値Gmaxが算出される(ステップ74)。すると,初期のダイナミック・レンジDiが決定される(ステップ75)。決定されたダイナミック・レンジDiを与える合成パラメータpおよびthが決定される(ステップ76)。決定されたパラメータpおよびthを用いて画像データが合成される(ステップ77)。得られた合成画像データが表示装置11に与えられることにより,上述したように表示装置11の表示画面上に初期のダイナミック・レンジDiをもつ画像が表示される(ステップ78)。上述したように,最大の緑成分Gmaxを表す画像近傍が拡大されて表示されるのはいうまでもない。
【0108】
ダイナミック・レンジ調整ボリュウムを用いてダイナミック・レンジの調整が行われずに(ステップ79でNO),シャッタ・レリーズ・ボタンが押されると(ステップ80でYES),合成画像データがメモリ・カードに記録される(ステップ81)。
【0109】
ユーザによってダイナミック・レンジ調整ボリュウムが操作されると(ステップYES),操作位置によって特定されるダイナミック・レンジが設定可能な最大のダイナミック・レンジDmax超えてしまったかどうかが確認される(ステップ82)。超えていたら(ステップ82でYES),最大のダイナミック・レンジDmaxに制限される(ステップ83)。ダイナミック・レンジ調整ボリュウムの位置に応じて,ダイナミック・レンジ決定処理(ステップ75),合成パラメータpおよびthの算出処理(ステップ76),画像データ合成処理(ステップ77)が行われ,合成画像が表示される(ステップ78)。シャッタ・レリーズ・ボタンが押されることにより,合成画像データがメモリ・カードに記録される(ステップ81)。
【0110】
図16から図20は,他の実施例を示すものである。上述した実施例は,被写体を撮像して得られた合成画像データをメモリ・カードに記録する前に,所望のダイナミック・レンジとなるように調整し,ダイナミック・レンジ調整後の合成画像データをメモリ・カードに記録している。これに対して,次に述べる実施例は,ダイナミック・レンジを調整する前に,高感度画像データおよび低感度画像データをメモリ・カードに記録し,メモリ・カードに記録された高感度画像データおよび低感度画像データを読み出して所望のダイナミック・レンジをもつ合成画像データを生成するものである。
【0111】
図16は,メモリ・カードのデータ構造(ファイル構造)を示している。
【0112】
メモリ・カードの記録領域には,Exif(exchangeble image file format)記録領域,高感度画像データ用パラメータ記録領域,低感度画像データ用パラメータ記録領域,高感度RAW画像データ記録領域および低感度RAW画像データ記録領域が含まれている。
【0113】
Exif記録領域には,ディジタル・スチル・カメラを用いて撮像されたときの撮影情報(シャッタ速度,絞り値,撮影日など)などを表すデータが記録される。
【0114】
高感度画像データ用パラメータ記録領域には,上述したように初期画像のダイナミック・レンジDiを決定するために必要なLMTX値,WBゲイン値,Di,Dmax,ハイライト位置情報などのパラメータ等が記録される。LMTX値は,リニア・マトリクス回路32における色調補正を行うために用いられるパラメータである。WBゲイン値は,WB/ゲイン回路33において行われるゲイン調整において用いられるゲイン値を示すものである。Diは,上述したように初期のダイナミック・レンジである。Dmaxは,上述したように設定可能なダイナミック・レンジの最大値である。ハイライト位置情報は,最大値Gmaxを与える位置を示す情報である。
【0115】
低感度画像データ用パラメータ記録領域にも,高感度画像データ用パラメータ記録領域に記録されているパラメータ等と同様のパラメータが記録されている。
【0116】
高感度RAW画像データ記録領域および低感度RAW画像データ記録領域には,それぞれオフセット調整が行われた後の高感度画像データおよび低感度画像データが記録されている。
【0117】
図17は,画像合成装置の電気的構成を示すブロック図である。図17において,図9に示す回路と同一の回路については同一の符号を付して説明を省略する。
【0118】
画像合成装置の全体の動作は,制御装置97によって統括される。
【0119】
画像合成装置には,CDドライブ96が含まれている。CD-ROM(コンパクト・ディスク−リード・オンリ・メモリ)95に,後述する動作を行わせるためのプログラムが格納されており,CD-R0M95に格納されているプログラムがCDドライブ96によって読み取られ,制御装置97にインストールされる。
【0120】
図16に示すデータ構造をもつメモリ・カード91が画像合成装置に装填され,インターフェイス92に接続される。インターフェイス92によって,メモリ・カード91に記録されている高感度RAW画像データ,低感度RAW画像データおよびパラメータが読み取られる。高感度RAW画像データは第1のリニア・マトリクス回路32に,低感度RAW画像データは第2のリニア・マトリクス回路42に,パラメータ等は,Dレンジ算出回路94にそれぞれ与えられる。
【0121】
Dレンジ算出回路94には,図18に示すパラメータ・テーブルが格納されている。
【0122】
バラメータ・テーブルには,上述した合成パラメータp,thおよびlg(lgは固定でもよい),副ガンマならびに色差ゲイン補正値がDレンジ・パラメータに対応して格納されている。また,対応するダイナミック・レンジ(Dレンジ)もパラメータ・テーブルに格納されている。
【0123】
メモリ・カード91から与えられたパラメータ等のうち,初期のダイナミック・レンジDiに対応する副ガンマ補正係数,パラメータp,thおよびlgならびに色差ゲイン補正値が読み取られる。読み取られた副ガンマ補正係数は,低感度用ガンマ補正回路44に与えられ,読み取られたパラメータp,thおよびlgは,LUT35に与えられ,読み取られた色差ゲイン補正値は色差マトリクス回路56に与えられる。読み取られた副ガンマ補正係数にもとづくガンマ補正が低感度画像データに対して行われ,初期のダイナミック・レンジDiをもつ合成画像データが生成されることが理解されよう。また,色差マトリクス回路56においても初期のダイナミック・レンジDiに対応した彩度補正処理が実行されることとなる。
【0124】
画像合成装置においても合成画像をユーザの所望のダイナミック・レンジをもつように調整することができる。このために,画像合成装置には,設定装置93が設けられている。設定装置93には,キーボード,マウスなどが含まれている。また,画像合成装置には,表示装置(図示略)も含まれており,その表示装置の表示画面上に,図20に示すダイナミック・レンジ設定ウインドウ100が表示される。
【0125】
図20を参照して,ダイナミック・レンジ設定ウインドウ100には,ダイナミック・レンジ設定領域101と指令入力領域105とが含まれている。
【0126】
ダイナミック・レンジ設定領域101には,Dレンジ・パラメータ軸102が形成されている。このDレンジ・パラメータ軸102には,設定可能なDレンジ・パラメータが表示されている。図20に示す例では,「0」から「Pi」までのDレンジ・パラメータが設定可能である。最大のDレンジ・パラメータは「Pi」であるから,設定可能なダイナミック・レンジは,最大400%となる。設定可能なダイナミック・レンジが変われば,Dレンジ・パラメータ軸102の最大値もその設定可能なダイナミック・レンジに対応して変わることとなる。
【0127】
Dレンジ・パラメータ軸102の下には,スライダ103が軸102に沿って移動自在に表示されている。スライダ103はマウスを用いて移動させることができる。このスライダ103の位置がユーザによって指定されたDレンジ・パラメータとなる。すなわち,ユーザによってダイナミック・レンジが指定されることとなる。
【0128】
Dレンジ・パラメータ軸102の右上には,Dレンジ・パラメータ入力領域104が形成されている。この入力領域104に,マウスを用いてカーソル(図示略)を合わせて選択状態とすることにより,キーボードを用いてDレンジ・パラメータ入力することができる。入力可能なDレンジ・パラメータは最大のDレンジ・パラメータDmaxなのはいうまでもない。もっとも,最大のDレンジ・パラメータDmax以上のDレンジ・パラメータを入力可能とし,最大のDレンジ・パラメータDmax以上のDレンジが入力された場合には警告するようにしてもよい。
【0129】
指令入力領域105には,OK領域106,キャンセル領域107およびチェック・ボックス108が含まれている。OK領域106は,設定されたDレンジ・パラメータで良いときにユーザによってクリックされる。キャンセル領域107がクリックされることにより,設定されたDレンジ・パラメータがリセットされる。チェック・ボックス108は,合成画像データをメモリ・カード91に記録する前に,設定されたダイナミック・レンジをもつ合成画像を表示装置の表示画面上に表示する場合にユーザによってチェックされる。設定されたダイナミック・レンジ・レンジをもつ合成画像データをメモリ・カード91に記録する場合には,チェック・ボックス108のチェックが外された後にOK領域106がクリックされる。
【0130】
図20に示すダイナミック・レンジ設定ウインドウ100を用いて設定されたDレンジ・パラメータは,Dレンジ算出回路94に与えられ,設定されたDレンジに対応するダイナミック・レンジをもつ合成画像を表す合成画像データが生成されるのこととなる。
【0131】
図21は,画像合成装置の処理手順の一部を示すフローチャートであり,図15に対応するものである。
【0132】
上述したように,メモリ・カード91が画像合成装置に装填されると,メモリ・カード91に格納されている高感度RAW画像データ,低感度RAW画像データおよびパラメータ等が読み取られる(ステップ75)。読み取られたパラメータ等に含まれる初期のDレンジDiから合成パラメータが決定する(ステップ75,76)。決定した合成パラメータを用い高感度画像データと低感度画像データとから合成画像データが生成される(ステップ77)。その後の処理は,上述したものと同様であり,図20に示したダイナミック・レンジ設定ウインドウ100をDレンジ・パラメータが設定されると,設定されたDレンジ・パラメータに対応するダイナミック・レンジをもつ合成画像が得られることとなる。
【0133】
上述した実施例においては,ハードウエア回路により構成されているがソフトウエアにより実現するようにしてもよい。
【0134】
上述した実施例においては,フォトダイオード20の主受光領域21に蓄積された信号電荷にもとづいて高感度映像信号を得,フォトダイオード20の副受光領域22に蓄積された信号電荷にもとづいて低感度映像信号を得ているが,露出量を変えて同一の被写体を2回撮像することにより高感度映像信号と低感度映像信号とを得るようにしてもよい。
【図面の簡単な説明】
【図1】CCDの模式図である。
【図2】ディジタル・スチル・カメラの電気的構成を示すブロック図である。
【図3】相対被写体輝度と画像データとの関係を示している。
【図4】低感度画像データの重み係数を表している。
【図5】合成画像データの抑圧率を表している。
【図6】抑圧された合成画像データと相対被写体輝度との関係を示している。
【図7】メモリ上における画像の様子を示している。
【図8】図7の一部拡大図である。
【図9】画像合成回路の電気的構成を示すブロック図である。
【図10】表示画面上に表示される画像の一例である。
【図11】合成パラメータ・テーブルを示している。
【図12】ガンマ補正曲線を示している。
【図13】相対被写体輝度と合成画像データとの関係を示している。
【図14】ディジタル・スチル・カメラの処理手順の一部を示すフローチャートである。
【図15】ディジタル・スチル・カメラの処理手順の一部を示すフローチャートである。
【図16】メモリ・カードのデータ構造を示している。
【図17】画像合成装置の電気的構成を示すブロック図である。
【図18】合成パラメータ・テーブルを示している。
【図19】ダイナミック・レンジ設定ウインドウである。
【図20】画像合成装置の処理手順の一部を示すフローチャートである。
【符号の説明】
1 操作装置
2 CPU
5 CCD
7 ディジタル信号処理回路
8 メモリ
10,92 メモリ・カード・インターフェイス
11 表示装置
12,91 メモリ・カード
20 フォトダイオード
21 主受光領域
22 副受光領域
34,44 ガンマ補正回路
35 LUT
36,46 乗算回路
53 加算回路
51 積算回路
52,94 Dレンジ算出回路
56 色差マトリクス回路
61 合成画像
62 拡大画像
93 設定装置
95 CD-ROM
97 制御装置
100 ダイナミック・レンジ設定ウインドウ
102 Dレンジ・パラメータ軸[0001]
【Technical field】
The present invention relates to an image data composition apparatus and method, and an image data composition program.
[0002]
BACKGROUND OF THE INVENTION
A CCD used for an image sensor of a digital still camera generally has a narrow dynamic range. In order to widen the dynamic range, there is one in which images are taken twice under different exposure conditions, and two types of obtained video signals are added (for example, Patent Document 1).
[0003]
[Patent Document 1]
Japanese Patent Application No. 11-271239
[0004]
When the dynamic range is expanded by such a method, the dynamic range is fixed. Often the dynamic range cannot be changed. When displaying a composite image obtained by expanding the dynamic range, it may be difficult to confirm the composite image.
[0005]
DISCLOSURE OF THE INVENTION
An object of the present invention is to display a composite image obtained by expanding the dynamic range and to enlarge an image near the maximum integrated value of divided areas obtained when a low-sensitivity image is divided. To do.
[0006]
The image data synthesizing apparatus according to the present invention comprises a dynamic range setting means for setting a dynamic range (so as to be in a non-saturated state when synthesized with low-sensitivity image data whose level has been adjusted), First adjusting means for adjusting the level of the high-sensitivity image data given according to the setting by the means () When the high-sensitivity image data level-adjusted by the first adjusting means is combined with the non-saturated state The second adjustment means for adjusting the level of the low-sensitivity image data given according to the setting by the dynamic range setting means, and the high-sensitivity image whose level is adjusted by the first adjustment means The synthesized image data is output by synthesizing the data and the low-sensitivity image data whose level is adjusted by the second adjusting means. Characterized in that it comprises an image data combining means.
[0007]
The present invention also provides a method suitable for the image data synthesizing apparatus. In other words, this method sets the dynamic range (so that it becomes non-saturated when synthesized with low-sensitivity image data that has been level-adjusted), and is given a high range according to the set dynamic range. The level of the sensitivity image data is adjusted (so that it becomes non-saturated when synthesized with the level-adjusted high sensitivity image data), and the level of the low sensitivity image data given according to the set dynamic range The high-sensitivity image data whose level is adjusted and the low-sensitivity image data whose level is adjusted are synthesized to output composite image data.
[0008]
The present invention also provides an image data synthesis program and a recording medium storing the program.
[0009]
According to the present invention, a dynamic range is set. The dynamic range may be set manually by a user using a setting device such as a volume, switch, or button, or may be automatically set based on high-sensitivity image data and low-sensitivity image data.
[0010]
High sensitivity image data and low sensitivity image data are provided. The level of the high-sensitivity image data is adjusted according to the set dynamic range so that the high-sensitivity image data is brought into a non-saturated state when synthesized with the low-sensitivity image data whose level has been adjusted. Similarly, the level of the low-sensitivity image data is adjusted according to the set dynamic range so that the low-sensitivity image data is brought into a non-saturated state when it is combined with the level-adjusted high-sensitivity image data. The high-sensitivity image data whose level has been adjusted and the low-sensitivity image data whose level has been adjusted are combined to obtain combined image data representing a combined image.
[0011]
Composite image data corresponding to the set dynamic range can be obtained. When the high-sensitivity image data and the low-sensitivity image data are combined with each other, the level is adjusted so as to be in a non-saturated state, so that the combined image data can be prevented from being saturated.
[0012]
You may make it further provide the solid-state electronic imaging device which images a to-be-photographed object and outputs the said high sensitivity image data showing a to-be-photographed image, and the said low sensitivity image data. In this case, the first adjustment means is given the high-sensitivity image data output from the solid-state electronic imaging device, and the second adjustment means is the low-sensitivity image data output from the solid-state electronic imaging device. Will be given.
[0013]
First display control means for controlling the display device to display an image represented by the composite image data output from the image data synthesizing means on a display screen, a recording command switch for giving a recording command, and the recording command Recording control means for recording, on the recording medium, composite image data representing an image displayed on the display screen based on the control of the first display control means in response to the recording command given from the switch; You may make it prepare.
[0014]
Since the composite image with the adjusted dynamic range is displayed on the display screen of the display device, the composite image data can be recorded on the recording medium after confirming the displayed composite image.
[0015]
As described above, the dynamic range setting means may be a setting device in which the dynamic range is set by a user, or the dynamic range setting means may be provided with high-sensitivity image data provided and low sensitivity provided. A dynamic range may be set based on at least one of the image data.
[0016]
The dynamic range setting unit includes, for example, a dividing unit that divides a low-sensitivity image represented by given low-sensitivity image data into a plurality of regions, and a low-level image that represents an image in the plurality of regions divided by the dividing unit. Compensation image data is integrated, and a calculation means for calculating a plurality of integrated values is provided. In this case, the dynamic range will be set based on a plurality of integrated values calculated by the calculating means.
[0017]
The dynamic range can be set so that the obtained image is not saturated.
[0018]
Also, second display control means for controlling the display device to display an image represented by the composite image data output from the image data composition means on the display screen, and control of the second display control means An image enlarging means for enlarging an image in the vicinity of the region having the maximum of a plurality of integrated values calculated by the calculating means out of the images displayed on the display screen under the above.
[0019]
Since the image is enlarged, you can check if the image is saturated.
[0020]
Preferably, a recording command switch for giving a recording command and an image displayed on the display screen based on the control of the second display control means in response to the recording command being given from the recording command switch The apparatus further includes recording control means for recording the composite image data on a recording medium.
[0021]
After confirming the composite image displayed on the display screen, the composite image data representing the composite image can be recorded on the recording medium.
[0022]
Color (saturation) correction means for correcting the color (saturation) of the image represented by the composite image data output from the image data composition means based on the dynamic range set by the dynamic range setting means May be further provided.
[0023]
Color (saturation) correction can be performed relatively appropriately according to the dynamic range.
[0024]
You may make it further provide the reading means which reads the said high sensitivity image data and the said low sensitivity image data from the recording medium with which the said high sensitivity image data and the said low sensitivity image data are recorded. In this case, the high-sensitivity image data read from the reading unit will be given to the first adjustment unit, and the low-sensitivity image data read by the reading unit will be given to the second adjustment unit.
[0025]
High-sensitivity image data and low-sensitivity image data recorded on the recording medium can be read, and a dynamic range can be set as described above to generate composite image data.
[0026]
Data indicating the position of the maximum value among the integrated values of the low-sensitivity image data representing each image in a plurality of regions obtained by dividing the low-sensitivity image represented by the low-sensitivity image data is the recording medium May be recorded. In this case, the reading means will also read the position data.
[0027]
And third display control means for controlling the display device so as to display the composite image represented by the composite image data output from the image data composition means on the display screen, and the third display control means Fourth display control means for controlling the display device so as to enlarge and display the vicinity of the position represented by the position data read by the reading means among the composite images displayed under the control. I will prepare.
[0028]
Since the dynamic range is set according to the maximum value, a composite image that does not saturate can be obtained.
[0029]
The dynamic range setting means includes fifth display control means for controlling the display device so as to display a slider for designating a settable dynamic range range and a desired position in the range, and the slider. You may provide the designation | designated means to designate a position. In this case, the dynamic range will be set based on the position of the slider specified by the specifying means.
[0030]
The upper limit of the dynamic range is preferably the maximum value of the dynamic range that can be set by the dynamic range setting means. This is because it is possible to prevent a position that cannot be set from being specified.
[0031]
The dynamic range setting means determines whether the dynamic range set by the parameters input from the input means is outside the settable range, input means for inputting dynamic range setting parameters for setting the dynamic range And a warning means for giving a warning in response to a determination that the determination means is out of a settable range.
[0032]
Gamma correction coefficient determining means for determining a gamma correction coefficient according to the dynamic range set by the dynamic range setting means, high-sensitivity image data whose level is adjusted by the first adjusting means, and the second A gamma correction unit that performs gamma correction on the basis of the gamma correction coefficient determined by the gamma correction coefficient determination unit may be further provided. In this case, the image data synthesizing unit generates synthesized image data using the image data that has been gamma corrected by the gamma correction unit.
[0033]
[Explanation of Examples]
FIG. 1 schematically shows a
[0034]
A number of
[0035]
The light receiving area of the
[0036]
On the right side of the
[0037]
When the output of the high-sensitivity video signal is completed, the signal charge accumulated in the sub
[0038]
Since the light receiving area of the main
[0039]
FIG. 2 is a block diagram showing an electrical configuration of the digital still camera.
[0040]
The entire operation of the digital still camera is controlled by the
[0041]
The digital still camera includes an
[0042]
The digital still camera includes a strobe
[0043]
The digital still camera includes a timing generator 4 for generating various clock pulses and the like. Clock pulses and the like output from the timing generator 4 are applied to the
[0044]
When the preview REC mode is set by the preview REC button, the image data is temporarily stored in the memory 8 before the image data is recorded on the
[0045]
When the preview REC mode is set, the subject is imaged by the
[0046]
High-sensitivity image data and low-sensitivity image data are read again from the memory 8 and input to the digital signal processing circuit 7. In the digital signal processing circuit 7, image composition processing is performed, and composite image data representing a composite image is generated. Details of this image composition processing will be described later. The composite image data is given to the
[0047]
The dynamic range of the composite image that is initially displayed on the display screen of the
[0048]
When the preview recording mode is set, when the shutter release button (recording command switch) is pressed, image data representing the composite image displayed on the display screen of the
[0049]
3 to 6 are graphs for explaining how to synthesize image data according to this embodiment.
[0050]
The synthesis of the image data according to this embodiment is performed based on
[0051]
data = [high + MIN (high / th, 1) × low] × MAX [lg (high / th) + 1, p] ・ ・ ・
[0052]
However, high indicates the level of high-sensitivity image data after gamma correction as described later, low indicates the level of low-sensitivity image data after gamma correction as described later, and th, lg, and p indicate synthesis parameters. MIN (a, b) indicates that the smaller of a or b is adopted, and MAX (a, b) indicates that the larger of a or b is adopted. Yes.
[0053]
FIG. 3 shows the relative object brightness and image data in the high-sensitivity image data high after gamma correction, the low-sensitivity image data low after gamma correction, and the first term {high + MIN (high / th, 1) × low} of
[0054]
The high-sensitivity image data high gradually increases as the relative subject brightness increases until the relative subject brightness reaches 100%. When the relative subject brightness reaches 100%, the level of the high-sensitivity image data high becomes “255” and is saturated. When the relative subject brightness exceeds 100%, saturation continues, and the level of high-sensitivity image data is maintained at “255”.
[0055]
The low sensitivity image data low is obtained based on the sub-signal charge. As described above, the light receiving area of the sub
[0056]
The first term of
[0057]
FIG. 4 is a graph showing weighting coefficients.
[0058]
The weighting coefficient depends on the level of the high sensitivity image data high. Until the high-sensitivity image data high reaches the synthesis parameter th (which is a parameter indicating a threshold value), it gradually increases according to (1 / th) high. When the high-sensitivity image data high is equal to or greater than the value of the synthesis parameter th, the weighting coefficient is 1.
[0059]
Returning to FIG. 3, up to the relative subject brightness Lth corresponding to the synthesis parameter th, the low-sensitivity image data low multiplied by the (high / th) weighting coefficient is added to the high-sensitivity image data high. Is synthesized. When the relative subject luminance Lth corresponding to the synthesis parameter th is reached, the weighting coefficient is 1, and the high-sensitivity image data high and the low-sensitivity image data low are simply added.
[0060]
When the high-sensitivity image data high and the low-sensitivity image data low are added, the level of the added image data exceeds “255” and is saturated. For this reason, suppression processing is performed according to the second term of
[0061]
FIG. 5 is a graph showing the relationship between the high-sensitivity image data high in the second term of
[0062]
The suppression rate is lg (high / th) +1 until the high-sensitivity image data high becomes the synthesis parameter th. The suppression rate in this case also depends on the synthesis parameter lg. As the high-sensitivity image data high increases, the suppression rate gradually decreases. The synthesis parameter lg can be calculated based on
[0063]
lg = [1− {Sh / (Sh + Sl)}]
[0064]
Here, Sh represents the area of the main light receiving region, and Sl represents the area of the sub light receiving region. Actually, Sh is the saturation amount of the main light receiving region, and Sl is the saturation amount of the sub light receiving region, but the area of the main light receiving region and the area of the sub light receiving region are regarded as the respective saturation amounts.
[0065]
When the high-sensitivity image data high is equal to or higher than the synthesis parameter th, the suppression parameter p is p (p is less than 1, for example, 0.8).
[0066]
FIG. 6 shows the composite image data after suppression.
[0067]
As described with reference to FIG. 3, when the high-sensitivity image data high and the low-sensitivity image data low are added, the level of the image data after the addition may exceed “255”. Is done. In this suppression processing, the image data after the addition is multiplied by (1−lg · high / th) until the relative subject luminance becomes Lth. When the relative subject luminance is equal to or greater than Lth, the value is multiplied by p.
[0068]
The synthesis parameters th and p change according to the adjustment amount of the dynamic range adjustment button described above. It will be understood that the dynamic range of the composite image data changes as the composite parameters th and p change (see FIG. 13 described later). For example, assuming that the dynamic range when an image is expressed only with the high-sensitivity image data high is 100%, in FIG. 6, the dynamic range is expanded to 400%.
[0069]
In this embodiment, the dynamic range of the image initially displayed on the display screen of the
[0070]
FIG. 7 shows the arrangement of the low-sensitivity image represented by the low-sensitivity image data low on the memory. FIG. 8 shows an enlarged part of FIG.
[0071]
In the low-sensitivity image, as shown in FIG. 8, pixels (indicated by R) indicating R (red) color components and pixels (indicated by B) indicating B (blue) color components appear alternately in odd rows. , Image data is arranged on a memory (a memory in an integration circuit as will be described later) so that pixels indicating G (green) color components appear in even rows.
[0072]
As an example, an
[0073]
The
[0074]
The average of the green component is calculated for each block Br. Of the calculated average values, the dynamic range Di of the initial image is calculated using the maximum value Gmax. The dynamic range Di of the initial image is calculated based on
[0075]
Di = (Gmax × 400 [%] / 4095) × 1.25 [%]
[0076]
[0077]
FIG. 9 is a block diagram showing an electrical configuration of an image data synthesis circuit included in the digital signal processing circuit 7.
[0078]
[0079]
data = MAX [-lg (high / th) + 1, p] + [MAX [-lg (high / th) + 1, p] × MIN (high / th, 1)] × low (4)
[0080]
In Equation 4, MAX [-lg (high / th) + 1, p] in the first term is replaced with hgain, and MAX [-lg (high / th) + 1, p] × MIN (high / th, When 1) is replaced with lgain, Equation 4 is further expressed by
[0081]
data = hgain × high + lgain × low ...
[0082]
The image data composition circuit shown in FIG. 9 performs image composition according to
[0083]
As described above, the high sensitivity image data (H) and the low sensitivity image data (L) stored in the memory 8 are read and input to the image composition circuit. The high-sensitivity image data H and the low-sensitivity image data L are subjected to offset processing in offset processing circuits 31 and 41, respectively. The high-sensitivity RAW image data and low-sensitivity RAW image data output from the offset processing circuits 31 and 41 are subjected to color tone correction processing for correcting the spectral characteristics of the
[0084]
The high-sensitivity image data and low-sensitivity image data output from the
[0085]
The low-sensitivity image data output from the
[0086]
The D
[0087]
Referring to FIG. 11, the dynamic range adjustment volume can be positioned at six positions from v0 to v5 as described above. Corresponding to the volume positions v0 to v5, the dynamic ranges D0 to D5, the gamma coefficient γ0 or γ1 of the
[0088]
FIG. 12 shows a gamma curve represented by a gamma correction coefficient applied to the
[0089]
As will be described later, when the dynamic range is widened, the curve indicating the dynamic range is often not uniform according to the proportion of the dynamic range. The gamma coefficient is determined according to the determined dynamic range so that the curve indicating the dynamic range is uniform according to the proportion of the dynamic range. As the determined dynamic range is narrower, the curves indicating the adjacent dynamic ranges are closer to each other. Therefore, a gamma correction coefficient γ0 representing a gamma curve having a steep characteristic is selected.
[0090]
As described above, the dynamic range Di of the initial image is found corresponding to the dynamic range D0 to D5 stored in the table. Based on the corresponding dynamic range among the dynamic ranges D0 to D5, the low sensitivity γ, the synthesis parameters p and th, and the color difference correction gains Cr and Cb are found. The found data indicating the low sensitivity γ is supplied to the
[0091]
The high-sensitivity image data high output from the high-sensitivity image data
[0092]
In the
[0093]
The data (high × hgain) output from the
[0094]
The amplitude of the synthesized image data is limited by the
[0095]
The combined luminance data and the combined color difference data output from the color
[0096]
FIG. 10 is an example of an initial image displayed on the display screen of the
[0097]
On the
[0098]
Since the
[0099]
The digital still camera according to this embodiment can set a user's desired dynamic range using the dynamic range adjustment volume as described above.
[0100]
A signal indicating the volume position of the dynamic range adjustment volume included in the
[0101]
As described above, the data representing the determined low sensitivity γ is given to the
[0102]
FIG. 13 shows the relationship between the level of the composite image data and the relative subject brightness.
[0103]
As described above, the dynamic range of the composite image data changes from D0 to D5 (100% to 400% in relative subject brightness) according to the position v0 to v5 of the dynamic range adjustment volume.
[0104]
When a composite image having a desired dynamic range is obtained, the user releases the shutter release button. The composite image data representing the composite image displayed on the display screen of the
[0105]
14 and 15 are flowcharts showing the processing procedure of the digital still camera.
[0106]
When the preview REC mode is set by the preview REC switch, the subject is imaged (step 71), and high-sensitivity image data and low-sensitivity image data representing the subject image (before being input to the image data synthesis circuit) Are provided to the memory 8 and temporarily stored (step 72).
[0107]
The maximum value Dmax of the dynamic range that can be set in the digital still camera is read (step 73) (stored in the memory in the D range calculation circuit 52), and the maximum value Gmax of the green component is calculated as described above. Calculated (step 74). Then, the initial dynamic range Di is determined (step 75). The synthesis parameters p and th giving the determined dynamic range Di are determined (step 76). Image data is synthesized using the determined parameters p and th (step 77). By providing the obtained composite image data to the
[0108]
If the dynamic range is not adjusted using the dynamic range adjustment volume (NO in step 79), and the shutter release button is pressed (YES in step 80), the composite image data is recorded on the memory card. (Step 81).
[0109]
When the dynamic range adjustment volume is operated by the user (step YES), it is confirmed whether or not the dynamic range specified by the operation position has exceeded the maximum settable dynamic range Dmax (step 82). If exceeded (YES in step 82), the maximum dynamic range Dmax is limited (step 83). Depending on the position of the dynamic range adjustment volume, dynamic range determination processing (step 75), calculation processing of synthesis parameters p and th (step 76), and image data synthesis processing (step 77) are performed, and a composite image is displayed. (Step 78). By pressing the shutter release button, the composite image data is recorded on the memory card (step 81).
[0110]
16 to 20 show another embodiment. In the embodiment described above, the composite image data obtained by imaging the subject is adjusted to have a desired dynamic range before being recorded on the memory card, and the composite image data after the dynamic range adjustment is stored in the memory.・ It is recorded on the card. On the other hand, in the embodiment described below, high-sensitivity image data and low-sensitivity image data are recorded on a memory card before adjusting the dynamic range, and high-sensitivity image data recorded on the memory card and The low-sensitivity image data is read to generate composite image data having a desired dynamic range.
[0111]
FIG. 16 shows the data structure (file structure) of the memory card.
[0112]
The memory card recording area includes Exif (exchangeble image file format) recording area, high-sensitivity image data parameter recording area, low-sensitivity image data parameter recording area, high-sensitivity RAW image data recording area, and low-sensitivity RAW image data. A recording area is included.
[0113]
In the Exif recording area, data representing shooting information (shutter speed, aperture value, shooting date, etc.) when the image is taken using a digital still camera is recorded.
[0114]
In the parameter recording area for high-sensitivity image data, parameters such as the LMTX value, WB gain value, Di, Dmax, highlight position information necessary for determining the dynamic range Di of the initial image are recorded as described above. Is done. The LMTX value is a parameter used to perform color tone correction in the
[0115]
The same parameters as those recorded in the high sensitivity image data parameter recording area are also recorded in the low sensitivity image data parameter recording area.
[0116]
High sensitivity image data and low sensitivity image data after offset adjustment are recorded in the high sensitivity RAW image data recording area and the low sensitivity RAW image data recording area, respectively.
[0117]
FIG. 17 is a block diagram showing an electrical configuration of the image composition apparatus. In FIG. 17, the same circuits as those shown in FIG. 9 are denoted by the same reference numerals and description thereof is omitted.
[0118]
The overall operation of the image composition device is controlled by the
[0119]
The image composition device includes a
[0120]
A
[0121]
The D
[0122]
In the parameter table, the above-described synthesis parameters p, th and lg (lg may be fixed), sub-gamma, and color difference gain correction value are stored corresponding to the D range parameter. The corresponding dynamic range (D range) is also stored in the parameter table.
[0123]
Of the parameters given from the
[0124]
In the image synthesizing apparatus, the synthesized image can be adjusted to have the dynamic range desired by the user. Therefore, a
[0125]
Referring to FIG. 20, dynamic
[0126]
A D range parameter axis 102 is formed in the dynamic
[0127]
A
[0128]
A D range /
[0129]
The
[0130]
The D range parameter set using the dynamic
[0131]
FIG. 21 is a flowchart showing a part of the processing procedure of the image composition device, and corresponds to FIG.
[0132]
As described above, when the
[0133]
In the above-described embodiment, it is configured by a hardware circuit, but may be realized by software.
[0134]
In the above-described embodiment, a high-sensitivity video signal is obtained based on the signal charge accumulated in the main
[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 shows a relationship between relative subject luminance and image data.
FIG. 4 shows a weighting coefficient of low sensitivity image data.
FIG. 5 shows a suppression rate of composite image data.
FIG. 6 shows a relationship between suppressed composite image data and relative subject brightness.
FIG. 7 shows a state of an image on a memory.
FIG. 8 is a partially enlarged view of FIG. 7;
FIG. 9 is a block diagram illustrating an electrical configuration of an image synthesis circuit.
FIG. 10 is an example of an image displayed on the display screen.
FIG. 11 shows a synthesis parameter table.
FIG. 12 shows a gamma correction curve.
FIG. 13 shows a relationship between relative subject luminance and composite image data.
FIG. 14 is a flowchart showing a part of the processing procedure of the digital still camera.
FIG. 15 is a flowchart showing a part of the processing procedure of the digital still camera.
FIG. 16 shows a data structure of a memory card.
FIG. 17 is a block diagram illustrating an electrical configuration of the image composition apparatus.
FIG. 18 shows a synthesis parameter table.
FIG. 19 is a dynamic range setting window.
FIG. 20 is a flowchart illustrating a part of the processing procedure of the image composition apparatus.
[Explanation of symbols]
1 Operation device
2 CPU
5 CCD
7 Digital signal processing circuit
8 memory
10,92 memory card interface
11 Display device
12, 91 memory card
20 photodiode
21 Main light receiving area
22 Sub-light-receiving area
34, 44 Gamma correction circuit
35 LUT
36, 46 Multiplier circuit
53 Adder circuit
51 Integration circuit
52,94 D range calculation circuit
56 Color difference matrix circuit
61 Composite image
62 Enlarged image
93 Setting device
95 CD-ROM
97 Control unit
100 Dynamic range setting window
102 D range / parameter axis
Claims (17)
上記ダイナミック・レンジ設定手段による設定に応じて,与えられる高感度画像データのレベルを調整する第1の調整手段,
上記ダイナミック・レンジ設定手段による設定に応じて,与えられる低感度画像データのレベルを調整する第2の調整手段,および
上記第1の調整手段によってレベルが調整された高感度画像データと上記第2の調整手段によってレベルが調整された低感度画像データとを合成して合成画像データを出力する画像データ合成手段を備え,
上記ダイナミック・レンジ設定手段は,
与えられる低感度画像データによって表される低感度画像を複数の領域に分割する分割手段,および
上記分割手段によって分割された複数の領域内の画像を表す低感度画像データをそれぞれ積算し,複数の積算値を算出する算出手段を備え,
上記算出手段によって算出された複数の積算値にもとづいてダイナミック・レンジを設定するものであり,
上記画像データ合成手段から出力される合成画像データによって表される画像を表示画面上に表示するように表示装置を制御する第1の表示制御手段,および
上記第1の表示制御手段の制御のもとに上記表示画面に表示された画像のうち,上記算出手段によって算出された複数の積算値の最大値をもつ領域近傍の画像を拡大する画像拡大手段,
をさらに備えた画像データ合成装置。Dynamic range setting means for setting the dynamic range,
First adjusting means for adjusting the level of the high-sensitivity image data given in accordance with the setting by the dynamic range setting means;
Second adjustment means for adjusting the level of the low-sensitivity image data applied according to the setting by the dynamic range setting means; high-sensitivity image data whose level is adjusted by the first adjustment means; Image data synthesizing means for synthesizing the low-sensitivity image data whose level is adjusted by the adjusting means and outputting synthesized image data;
The dynamic range setting means is
Dividing means for dividing the low-sensitivity image represented by the given low-sensitivity image data into a plurality of areas, and low-sensitivity image data representing images in the plurality of areas divided by the dividing means, A calculating means for calculating the integrated value;
A dynamic range is set based on a plurality of integrated values calculated by the calculating means.
First display control means for controlling the display device so as to display an image represented by the composite image data output from the image data composition means on a display screen, and control of the first display control means. Image enlarging means for enlarging an image in the vicinity of the region having the maximum of the plurality of integrated values calculated by the calculating means among the images displayed on the display screen;
An image data synthesizing apparatus further comprising:
上記第1の調整手段が,上記固体電子撮像装置から出力された上記高感度画像データを与えられるものであり,
上記第2の調整手段が上記固体電子撮像装置から出力された上記低感度画像データを与えられるものである,
請求項1に記載の画像データ合成装置。A solid-state electronic imaging device that images the subject and outputs the high-sensitivity image data representing the subject image and the low-sensitivity image data;
The first adjusting means is provided with the high-sensitivity image data output from the solid-state electronic imaging device;
The second adjusting means is provided with the low-sensitivity image data output from the solid-state electronic imaging device;
The image data synthesizing device according to claim 1.
記録指令を与える記録指令スイッチ,および
上記記録指令スイッチから記録指令が与えられたことに応答して,上記第2の表示制御手段の制御にもとづいて表示画面上に表示される画像を表す合成画像データを記録媒体に記録する記録制御手段,
をさらに備えた請求項1に記載の画像データ合成装置。Second display control means for controlling the display device to display an image represented by the composite image data output from the image data composition means on a display screen;
A recording command switch for giving a recording command, and a composite image representing an image displayed on the display screen under the control of the second display control means in response to the recording command being given from the recording command switch Recording control means for recording data on a recording medium;
The image data synthesis device according to claim 1, further comprising:
上記記録指令スイッチから記録指令が与えられたことに応答して,上記第1の表示制御手段の制御にもとづいて表示画面に表示される画像を表す合成画像データを記録媒体に記録する記録制御手段,
をさらに備えた請求項1に記載の画像データ合成装置。A record command switch for giving a record command, and composite image data representing an image displayed on the display screen under the control of the first display control means in response to the record command being given from the record command switch Recording control means for recording on a recording medium,
The image data synthesis device according to claim 1, further comprising:
上記読み取り手段から読み取られた高感度画像データを上記第1の調整手段に与え,上記読み取り手段によって読み取られた上記低感度画像データを上記第2の調整手段に与えるものである,
請求項1に記載の画像データ合成装置。A reading means for reading the high-sensitivity image data and the low-sensitivity image data from a recording medium on which the high-sensitivity image data and the low-sensitivity image data are recorded;
High-sensitivity image data read from the reading means is given to the first adjustment means, and the low-sensitivity image data read by the reading means is given to the second adjustment means.
The image data synthesizing device according to claim 1.
上記読み取り手段は,上記位置データも読み取るものであり,
上記画像データ合成手段から出力される合成画像データによって表される合成画像を表示画面上に表示するように表示装置を制御する第3の表示制御手段,および
上記第3の表示制御手段の制御のもとに表示された合成画像のうち,上記読み取り手段によって読み取られた位置データによって表される位置近傍を拡大して表示するように上記表示装置を制御する第4の表示制御手段,
をさらに備えた請求項8に記載の画像データ合成装置。Data indicating the position of the maximum value among the integrated values of the low-sensitivity image data representing the respective images in a plurality of regions obtained by dividing the low-sensitivity image represented by the low-sensitivity image data is the recording medium Recorded in
The reading means is also for reading the position data,
Third display control means for controlling the display device to display a composite image represented by the composite image data output from the image data composition means on a display screen, and control of the third display control means Fourth display control means for controlling the display device so as to enlarge and display the vicinity of the position represented by the position data read by the reading means among the originally displayed composite image;
The image data synthesis device according to claim 8, further comprising:
上記第1の調整手段によってレベルが調整された高感度画像データおよび上記第2の調整手段によってレベルが調整された低感度画像データとの少なくとも一方を,上記ガンマ補正係数決定手段によって決定されたガンマ補正係数にもとづいてガンマ補正するガンマ補正手段をさらに備え,
上記画像データ合成手段は,
上記ガンマ補正手段によってガンマ補正された画像データを用いて合成画像データを生成するものである,
請求項1に記載の画像データ合成装置。Gamma correction coefficient determining means for determining a gamma correction coefficient corresponding to the dynamic range set by the dynamic range setting means, high-sensitivity image data whose level is adjusted by the first adjusting means, and the second Gamma correction means for gamma-correcting at least one of the low-sensitivity image data whose level is adjusted by the adjustment means based on the gamma correction coefficient determined by the gamma correction coefficient determination means,
The image data composition means
The composite image data is generated using the image data that has been gamma corrected by the gamma correction means.
The image data synthesizing device according to claim 1.
設定されたダイナミック・レンジに応じて,与えられる高感度画像データおよび与えられる低感度画像データのレベルを調整し,
レベルが調整された高感度画像データとレベルが調整された低感度画像データとを合成して合成画像データを出力し,
上記ダイナミック・レンジの設定は,
与えられる低感度画像データによって表される低感度画像を複数の領域に分割し,
分割された複数の領域内の画像を表す低感度画像データをそれぞれ積算し,複数の積算値を算出し,
算出された複数の積算値にもとづいてダイナミック・レンジを設定するものであり,
上記出力される合成画像データによって表される画像を表示画面上に表示するように表示装置を制御し,
上記制御のもとに上記表示画面に表示された画像のうち,算出された複数の積算値の最大値をもつ領域近傍の画像を拡大する,
画像データ合成方法。Set the dynamic range,
According to the set dynamic range, adjust the level of given high-sensitivity image data and given low-sensitivity image data,
Combining high-sensitivity image data with adjusted level and low-sensitivity image data with adjusted level, and outputting composite image data
The above dynamic range setting is
The low-sensitivity image represented by the given low-sensitivity image data is divided into multiple regions,
Each of the low-sensitivity image data representing the images in the divided areas is integrated to calculate a plurality of integrated values,
The dynamic range is set based on the calculated multiple integrated values.
Controlling the display device to display the image represented by the output composite image data on the display screen;
Of the images displayed on the display screen under the control, enlarge an image in the vicinity of the region having the maximum value of the plurality of calculated integrated values.
Image data synthesis method.
設定されたダイナミック・レンジに応じて,与えられる高感度画像データおよび与えられる低感度画像データのレベルを調整させ,
レベルが調整された高感度画像データとレベルが調整された低感度画像データとを合成して合成画像データを出力させ,
上記ダイナミック・レンジ設定処理は,
与えられる低感度画像データによって表される低感度画像を複数の領域に分割させ,
分割された複数の領域内の画像を表す低感度画像データをそれぞれ積算し,複数の積算値を算出させ,
上記算出手段によって算出された複数の積算値にもとづいてダイナミック・レンジを設定させるものであり,
上記出力される合成画像データによって表される画像を表示画面上に表示するように表示装置を制御させ,
上記制御のもとに上記表示画面に表示された画像のうち,算出された複数の積算値の最大値をもつ領域近傍の画像を拡大させるように画像合成装置のコンピュータを制御するプログラム。Set the dynamic range,
According to the set dynamic range, the level of the given high-sensitivity image data and the given low-sensitivity image data is adjusted,
The high-sensitivity image data with the adjusted level and the low-sensitivity image data with the adjusted level are combined to output composite image data.
The above dynamic range setting process
The low-sensitivity image represented by the given low-sensitivity image data is divided into multiple regions,
Each of the low-sensitivity image data representing the images in the divided areas is integrated, and a plurality of integrated values are calculated.
The dynamic range is set based on a plurality of integrated values calculated by the calculating means.
Controlling the display device to display the image represented by the output composite image data on the display screen;
A program for controlling the computer of the image composition apparatus so as to enlarge an image in the vicinity of a region having a maximum value of a plurality of calculated integrated values among images displayed on the display screen under the control.
上記ダイナミック・レンジ設定手段による設定に応じて,与えられる高感度画像データのレベルを調整する第1の調整手段,
上記ダイナミック・レンジ設定手段による設定に応じて,与えられる低感度画像データのレベルを調整する第2の調整手段,
上記第1の調整手段によってレベルが調整された高感度画像データと上記第2の調整手段によってレベルが調整された低感度画像データとを合成して合成画像データを出力する画像データ合成手段,ならびに
上記高感度画像データおよび上記低感度画像データが記録されている記録媒体から上記高感度画像データおよび上記低感度画像データを読み取る読み取り手段をさらに備え,
上記読み取り手段から読み取られた高感度画像データを上記第1の調整手段に与え,上記読み取り手段によって読み取られた上記低感度画像データを上記第2の調整手段に与えるものであり,
上記低感度画像データによって表される低感度画像を分割することにより得られる複数の領域内のそれぞれの画像を表す低感度画像データの積算値のうちの最大値の位置を示すデータが上記記録媒体に記録されており,
上記読み取り手段は,上記位置データも読み取るものであり,
上記画像データ合成手段から出力される合成画像データによって表される合成画像を表示画面上に表示するように表示装置を制御する第1の表示制御手段,ならびに
上記第1の表示制御手段の制御のもとに表示された合成画像のうち,上記読み取り手段によって読み取られた位置データによって表される位置近傍を拡大して表示するように上記表示装置を制御する第2の表示制御手段,
をさらに備えた画像データ合成装置。Dynamic range setting means for setting the dynamic range,
First adjusting means for adjusting the level of the high-sensitivity image data given in accordance with the setting by the dynamic range setting means;
A second adjusting means for adjusting the level of the low-sensitivity image data given in accordance with the setting by the dynamic range setting means;
Image data synthesizing means for synthesizing the high-sensitivity image data whose level is adjusted by the first adjusting means and the low-sensitivity image data whose level is adjusted by the second adjusting means, and outputting synthesized image data; and A reading means for reading the high-sensitivity image data and the low-sensitivity image data from a recording medium on which the high-sensitivity image data and the low-sensitivity image data are recorded;
High sensitivity image data read from the reading means is given to the first adjusting means, and the low sensitivity image data read by the reading means is given to the second adjusting means,
Data indicating the position of the maximum value among the integrated values of the low-sensitivity image data representing the respective images in a plurality of regions obtained by dividing the low-sensitivity image represented by the low-sensitivity image data is the recording medium Recorded in
The reading means is also for reading the position data,
First display control means for controlling the display device to display a composite image represented by the composite image data output from the image data composition means on a display screen; and control of the first display control means Second display control means for controlling the display device so as to enlarge and display the vicinity of the position represented by the position data read by the reading means among the originally displayed composite image;
An image data synthesizing apparatus further comprising:
設定されたダイナミック・レンジに応じて,与えられる高感度画像データおよび与えられる低感度画像データのレベルを調整し,
レベルが調整された高感度画像データとレベルが調整された低感度画像データとを合成して合成画像データを出力し,
上記高感度画像データおよび上記低感度画像データが記録されている記録媒体から上記高感度画像データおよび上記低感度画像データを読み取り,
読み取られた高感度画像データを上記与えられる高感度画像データとし,読み取られた上記低感度画像データを上記与えられる低感度画像データとし,
上記低感度画像データによって表される低感度画像を分割することにより得られる複数の領域内のそれぞれの画像を表す低感度画像データの積算値のうちの最大値の位置を示すデータが上記記録媒体に記録されており,
上記読み取り処理は,上記位置データも読み取るものであり,
上記出力される合成画像データによって表される合成画像を表示画面上に表示するように表示装置を制御し,
上記制御のもとに表示された合成画像のうち,読み取られた位置データによって表される位置近傍を拡大して表示するように上記表示装置を制御する,
画像データ合成方法。Set the dynamic range,
According to the set dynamic range, adjust the level of given high-sensitivity image data and given low-sensitivity image data,
Combining high-sensitivity image data with adjusted level and low-sensitivity image data with adjusted level, and outputting composite image data
Reading the high sensitivity image data and the low sensitivity image data from a recording medium on which the high sensitivity image data and the low sensitivity image data are recorded;
The read high-sensitivity image data is the given high-sensitivity image data, the read low-sensitivity image data is the given low-sensitivity image data,
Data indicating the position of the maximum value among the integrated values of the low-sensitivity image data representing the respective images in a plurality of regions obtained by dividing the low-sensitivity image represented by the low-sensitivity image data is the recording medium Recorded in
The reading process also reads the position data,
Controlling the display device to display the composite image represented by the composite image data output on the display screen;
Controlling the display device to enlarge and display the vicinity of the position represented by the read position data among the composite images displayed under the control;
Image data synthesis method.
設定されたダイナミック・レンジに応じて,与えられる高感度画像データおよび与えられる低感度画像データのレベルを調整させ,
レベルが調整された高感度画像データとレベルが調整された低感度画像データとを合成して合成画像データを出力させ,
上記高感度画像データおよび上記低感度画像データが記録されている記録媒体から上記高感度画像データおよび上記低感度画像データを読み取らせ,
読み取られた高感度画像データを上記与えられる高感度画像データとし,読み取られた上記低感度画像データを上記与えられる低感度画像データとし,
上記低感度画像データによって表される低感度画像を分割することにより得られる複数の領域内のそれぞれの画像を表す低感度画像データの積算値のうちの最大値の位置を示すデータが上記記録媒体に記録されており,
上記読み取り処理は,上記位置データも読み取るものであり,
上記出力される合成画像データによって表される合成画像を表示画面上に表示するように表示装置を制御させ,
上記制御のもとに表示された合成画像のうち,読み取られた位置データによって表される位置近傍を拡大して表示するように上記表示装置を制御させるように画像合成装置のコンピュータを制御するプログラム。Set the dynamic range,
According to the set dynamic range, the level of the given high-sensitivity image data and the given low-sensitivity image data is adjusted,
The high-sensitivity image data with the adjusted level and the low-sensitivity image data with the adjusted level are combined to output composite image data.
Reading the high-sensitivity image data and the low-sensitivity image data from a recording medium on which the high-sensitivity image data and the low-sensitivity image data are recorded;
The read high-sensitivity image data is the given high-sensitivity image data, the read low-sensitivity image data is the given low-sensitivity image data,
Data indicating the position of the maximum value among the integrated values of the low-sensitivity image data representing the respective images in a plurality of regions obtained by dividing the low-sensitivity image represented by the low-sensitivity image data is the recording medium Recorded in
The reading process also reads the position data,
Controlling the display device to display the composite image represented by the composite image data output on the display screen;
A program for controlling the computer of the image composition device to control the display device so as to enlarge and display the vicinity of the position represented by the read position data among the composite images displayed under the control. .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003006769A JP4137648B2 (en) | 2003-01-15 | 2003-01-15 | Image data synthesizing apparatus and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003006769A JP4137648B2 (en) | 2003-01-15 | 2003-01-15 | Image data synthesizing apparatus and method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004221928A JP2004221928A (en) | 2004-08-05 |
JP4137648B2 true JP4137648B2 (en) | 2008-08-20 |
Family
ID=32897051
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003006769A Expired - Fee Related JP4137648B2 (en) | 2003-01-15 | 2003-01-15 | Image data synthesizing apparatus and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4137648B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6443857B2 (en) * | 2014-06-05 | 2018-12-26 | キヤノン株式会社 | Image processing apparatus, image processing method, and program |
JP6789810B2 (en) * | 2016-12-28 | 2020-11-25 | キヤノン株式会社 | Image processing method, image processing device, and imaging device |
-
2003
- 2003-01-15 JP JP2003006769A patent/JP4137648B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2004221928A (en) | 2004-08-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7830420B2 (en) | Composite image data generating apparatus, method of controlling the same, and program for controlling the same | |
US8982242B2 (en) | Imaging device and imaging method | |
KR101352440B1 (en) | Image processing apparatus, image processing method, and recording medium | |
JP2007259344A (en) | Imaging apparatus and image processing method | |
JP3531003B2 (en) | Image processing apparatus, recording medium on which image processing program is recorded, and image reproducing apparatus | |
JP4217041B2 (en) | Filtering | |
JP2002084449A (en) | Image pickup device employing solid-state imaging device | |
WO2004071077A1 (en) | Image processing device, image processing program and program-recorded recording medium | |
JP4812282B2 (en) | Image processing method and apparatus, and imaging apparatus | |
JP5803233B2 (en) | Imaging apparatus and imaging method | |
JP4137648B2 (en) | Image data synthesizing apparatus and method | |
JP4439173B2 (en) | Digital camera and information terminal | |
JP4268891B2 (en) | Imaging apparatus and image generation method thereof | |
JP6108854B2 (en) | Imaging apparatus and control method thereof | |
JP4028395B2 (en) | Digital camera | |
JP3951993B2 (en) | IMAGING DEVICE AND COLOR DATA MEASURING METHOD USED FOR THIS IMAGING DEVICE | |
JP5904753B2 (en) | Image processing apparatus and image processing apparatus control method | |
JP4028396B2 (en) | Image composition method and digital camera | |
JP2006310926A (en) | Composite image data recording control apparatus, control method thereof, and control program thereof | |
JP4449692B2 (en) | Electronic camera | |
JP4732795B2 (en) | Solid-state imaging device and image correction method | |
JP4336827B2 (en) | Imaging apparatus and image generation method thereof | |
JP4735820B2 (en) | Signal processing method for imaging apparatus and imaging apparatus | |
JP2009055278A (en) | Camera | |
JP2006121386A (en) | Imaging apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050318 |
|
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: 20071119 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071128 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080124 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080219 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080418 |
|
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: 20080527 |
|
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: 20080604 |
|
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: 20110613 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110613 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120613 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120613 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130613 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |