JP3977260B2 - Digital camera and recorded image data recording method - Google Patents

Digital camera and recorded image data recording method Download PDF

Info

Publication number
JP3977260B2
JP3977260B2 JP2003009660A JP2003009660A JP3977260B2 JP 3977260 B2 JP3977260 B2 JP 3977260B2 JP 2003009660 A JP2003009660 A JP 2003009660A JP 2003009660 A JP2003009660 A JP 2003009660A JP 3977260 B2 JP3977260 B2 JP 3977260B2
Authority
JP
Japan
Prior art keywords
sensitivity
low
image
image data
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2003009660A
Other languages
Japanese (ja)
Other versions
JP2004222149A (en
Inventor
克弥 牧岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2003009660A priority Critical patent/JP3977260B2/en
Publication of JP2004222149A publication Critical patent/JP2004222149A/en
Application granted granted Critical
Publication of JP3977260B2 publication Critical patent/JP3977260B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は低感度画像と高感度画像の両方を撮像するデジタルカメラとその撮像画像データ記録方法に係り、特に、撮像画像データをRAWデータ(固体撮像素子から出力された撮像画像データで未加工のままの生データ)でメモリに記録するデジタルカメラ及び撮像画像データ記録方法に関する。
【0002】
【従来の技術】
デジタルスチルカメラやデジタルビデオカメラ等のデジタルカメラでは、固体撮像素子の各画素を構成するフォトダイオードに蓄積される電荷の飽和量が高画素化すなわちフォトダイオードの微細化に伴って小さくなり、撮像画像のダイナミックレンジが狭くなってしまうという欠点を有している。
【0003】
この欠点を克服するため、例えば特開2001―8104号公報記載の従来技術では、固体撮像素子に、高感度画素と低感度画素の2種類の画素を設け、高感度画素から得られた撮像画像データと、低感度画素から得られた撮像画像データとを合成することで、撮像画像のダイナミックレンジを広げるようにしている。
【0004】
また、その一方で、近年の様に固体撮像素子の高画素化が進展してくると、銀塩カメラと同等の画像が撮像されるようになり、このため、固体撮像素子から出力される撮像画像データを、ホワイトバランス補正やガンマ補正,JPEG圧縮などせずに未加工のままRAWデータでメモリに保存し、パーソナルコンピュータ等でこの画像データを読み取り、ホワイトバランス補正やガンマ補正,色調補正などを自分の好みに応じて行いたいというユーザの要望が高くなってきている。このため、デジタルカメラには、特開平11―261933号公報(特許文献2)や特開2001―223979号公報(特許文献3)に記載されている様に、RAWデータで画像データを記録するものが増えてきている。
【0005】
【特許文献1】
特開2001―8104号公報
【特許文献2】
特開平11―261933号公報
【特許文献3】
特開2001―223979号公報
【0006】
【発明が解決しようとする課題】
上述したように低感度画像と高感度画像の両方を撮像するデジタルカメラでは、撮像画像データをRAWデータでメモリに記録する場合、低感度画像の撮像画像データと高感度画像の撮像画像データの両方を記録することになる。しかし、ユーザがメモリから低感度画像データと高感度画像データのRAWデータを読み出してパソコン上のアプリケーションソフトウェアにて画像合成しても、なかなか合成処理がうまく行かず、希望する画質の合成画像が得られないという問題がある。
【0007】
本発明の目的は、低感度画像データと高感度画像データのRAWデータをカメラ外で画像合成するときでも容易に且つ迅速に希望する画質の合成画像を得ることができるデジタルカメラとその撮像画像データ記録方法を提供することにある。
【0008】
【課題を解決するための手段】
上記目的を達成するデジタルカメラとその撮像画像データ記録方法は、高感度画素と低感度画素を有する固体撮像素子の前記高感度画素から得られた高感度画像データと前記低感度画素から得られた低感度画像データとをRAWデータで記録媒体に記録すると共に、高感度画像データと低感度画像データとを合成するときの画素単位の各データdを
d=〔high+MIN(high/th,1)×low〕×MAX〔(−k×high/th)+α,p〕
ここで、high:高感度(高出力)画像信号のガンマ補正後のデータ
low:低感度(低出力)画像信号のガンマ補正後のデータ
p:total gain(トータルゲイン)
k:係数
th:閾値
α:シーンにより決める値(≒1)
としたときカメラが撮影シーンに応じて自動設定した上記p,αの各値及び前記高感度画素と前記低感度画素の信号電荷飽和量比から求まる上記kの値を画像補正用パラメータとして前記記録媒体に記録することで、達成される。
【0009】
この構成により、記録媒体に記録されたk,p,αの値をユーザが参考にして画像合成を行うパラメータ値の範囲を調整でき、容易且つ迅速にユーザが希望する画質の合成画像を生成可能となる。
【0010】
【発明の実施の形態】
以下、本発明の一実施形態を図面を参照して説明する。
【0011】
図1は、本発明の一実施形態に係るデジタルスチルカメラの構成図である。この実施形態ではデジタルスチルカメラを例に説明するが、デジタルビデオカメラや携帯電話機等の小型電子機器に搭載されたカメラ等の他の種類のデジタルカメラにも本発明を適用可能である。また、本実施形態の画像合成処理は、後述するデジタル信号処理部26がソフトウェアにて実行処理するが、これをハードウェア回路にて実現することも可能である。
【0012】
図1に示すデジタルスチルカメラは、撮影レンズ10と、固体撮像素子11と、この両者の間に設けられた絞り12と、赤外線カットフィルタ13と、光学ローパスフィルタ14とを備える。デジタルスチルカメラの全体を制御するCPU15は、フラッシュ用の発光部16及び受光部17を制御し、また、レンズ駆動部18を制御して撮影レンズ10の位置をフォーカス位置に調整し、絞り駆動部19を介し絞り12の開口量を制御して露光量が適正露光量となるように調整する。
【0013】
また、CPU15は、撮像素子駆動部20を介して固体撮像素子11を駆動し、撮影レンズ10を通して撮像した被写体画像を色信号として出力させる。また、CPU15には、操作部21を通してユーザの指示信号が入力され、CPU15はこの指示に従って各種制御を行う。
【0014】
デジタルスチルカメラの電気制御系は、固体撮像素子11の出力に接続されたアナログ信号処理部22と、このアナログ信号処理部22から出力されたRGBの色信号をデジタル信号に変換するA/D変換回路23とを備え、これらはCPU15によって制御される。
【0015】
更に、このデジタルスチルカメラの電気制御系は、メインメモリ24に接続されたメモリ制御部25と、詳細は後述するデジタル信号処理部26と、撮像画像をJPEG画像に圧縮したり圧縮画像を伸張したりする圧縮伸張処理部27と、測光データを積算してホワイトバランスのゲインを調整させる積算部28と、着脱自在の記録媒体29が接続される外部メモリ制御部30と、カメラ背面等に搭載された液晶表示部31が接続される表示制御部32とを備え、これらは、制御バス33及びデータバス34によって相互に接続され、CPU15からの指令によって制御される。
【0016】
図1に示すデジタル信号処理部26や、アナログ信号処理部22,A/D変換回路23等は、これを夫々別回路としてデジタルスチルカメラに搭載することもできるが、これらを固体撮像素子11と同一半導体基板上にLSI製造技術を用いて製造し、1つの固体撮像装置とするのがよい。
【0017】
図2は、本実施形態で使用する固体撮像素子11の画素配置図である。広ダイナミックレンジの画像を撮像するCCD部分の画素1は、例えば特開平10―136391号公報に記載されている画素配置をとり、偶数行の各画素に対して奇数行の各画素が水平方向に1/2ピッチずらして配置され、各画素から読み出された信号電荷を垂直方向に転送する垂直転送路(図示せず)が、垂直方向の各画素を避けるように蛇行配置される構成をとっている。
【0018】
そして、本実施形態に係る各画素1は、図示する例では、画素1の面積の約1/5を占める低感度画素(副画素)2と、残りの約4/5を占める高感度画素(主画素)3とに分割して設けられ、各低感度画素2の信号電荷と、各高感度画素3の信号電荷とを区別して上記垂直転送路に読み出し転送することができるようになっている。尚、画素1をどのような割合、どの様な位置で分割するかは設計的に決められるものであり、図2は単なる例示に過ぎない。
【0019】
本実施形態の撮像装置では、1回の撮像で、低感度画像(低感度画素2で得られた画像)と高感度画像(高感度画素3で得られた画像)を同時に取得し、各画像を各画素2,3から順次読み出し、詳細は後述する様に合成し、あるいはそのままRAWデータとして記録媒体29に記録する様になっている。
【0020】
尚、固体撮像素子11は、図2に示す様なハニカム画素配置のCCDを例に説明したが、ベイヤー方式のCCDやCMOSセンサでも良い。
【0021】
図3は、上述したデジタルスチルカメラの動作説明図である。固体撮像素子11の高感度画素3から出力されるアナログの高感度画像信号Hは、A/D変換器23によって例えば10ビットのデジタルデータに変換され、固体撮像素子11の低感度画素2から出力されるアナログの低感度画像信号Lは、A/D変換器23によって例えば8ビットのデジタルデータに変換される。
【0022】
ユーザが操作部21で完成画像記録モードを設定しておくと、A/D変換器23から出力される10ビットの高感度画像データと8ビットの低感度画像データをデジタル信号処理部26が取り込んで合成処理その他の画像処理を行い、外部メモリ制御部(記録回路)30は、デジタル信号処理部26から図1の圧縮伸張処理部27(図3では図示省略)を介して渡された例えばJPEG圧縮された完成画像データを記録媒体29に記録する。
【0023】
ユーザが操作部21でRAWデータ記録モードを設定しておくと、A/D変換器23から出力される10ビットの高感度画像データと8ビットの低感度画像データを、外部メモリ制御部30がそのまま記録媒体29に記録する。このとき、外部メモリ制御部30は、RAWデータの他に、後述する画像補正用パラメータの値も一緒に記録する。
【0024】
図4は、完成画像記録モードのときに動作するデジタル信号処理部26の処理構成図である。このデジタル信号処理部26は、高感度画像信号と低感度画像信号とを夫々ガンマ補正した後に加算処理する対数加算方式を採用しており、A/D変換回路23から出力される高感度画像のデジタル信号でなるRGB色信号を取り込んでオフセット処理を行うオフセット補正回路41aと、オフセット補正回路41aの出力信号のホワイトバランスをとるゲイン補正回路42aと、ゲイン補正後の色信号に対してガンマ補正を行うガンマ補正回路43aと、図1に示すA/D変換回路23から出力される低感度画像のデジタル信号でなるRGB色信号を取り込んでオフセット処理を行うオフセット補正回路41bと、オフセット補正回路41bの出力信号のホワイトバランスをとるゲイン補正回路42bと、ゲイン補正後の色信号に対してガンマ補正を行うガンマ補正回路43bとを備える。オフセット補正後の信号に対してリニアマトリクス処理などを行う場合には、ゲイン補正回路42a,42bとガンマ補正回路43a,43bとの間で行う。
【0025】
デジタル信号処理部26は、更に、各ガンマ補正回路43a,43bの両出力信号を取り込んで画像合成処理を行う画像合成処理回路44と、画像合成後のRGB色信号を補間演算して各画素位置におけるRGB3色の信号を求めるRGB補間演算部45と、RGB信号から輝度信号Yと色差信号Cr,Cbとを求めるRGB/YC変換回路46と、輝度信号Yや色差信号Cr,Cbからノイズを低減するノイズフィルタ47と、ノイズ低減後の輝度信号Yに対して輪郭補正を行う輪郭補正回路48と、色差信号Cr,Cbに対して色差マトリクスを乗算して色調補正を行う色差マトリクス回路49とを備える。
【0026】
上述した画像合成処理回路44は、ガンマ補正回路43aから出力される高感度画像信号と、ガンマ補正回路43bから出力される低感度画像信号とを次の数1に基づいて画素単位に合成し、出力する。
【数1】
data=〔high+MIN(high/th,1)×low〕×MAX〔(−k×high/th)+α,p〕
ここで、high:高感度(高出力)画像信号のガンマ補正後のデータ
low:低感度(低出力)画像信号のガンマ補正後のデータ
p:total gain(トータルゲイン)
k:係数
th:閾値
α:シーンにより決める値(≒1)
である。
【0027】
閾値thとは、ガンマ補正後のデータが8ビットデータ(256階調)であれば、例えば値0〜255のうちの“219”とデジタルスチルカメラの使用者あるいはデジタルスチルカメラの設計者が指定する値である。
【0028】
数1の第1項は、高感度画像データhighが閾値thを越えているとき高感度画像データhighにそのまま低感度画像データlowを加算し、高感度画像データhighが閾値th以下のときは、高感度画像データhighの閾値thに対する割合に対し低感度画像データlowを乗算した値を高感度画像データhighに加算することを示している。
【0029】
本実施形態では、この第1項で求めた加算データをそのまま合成画像データとするのではなく、この第1項に、第2項(MAX〔(−k×high/th)+α,p〕)を乗算した値を合成画像のデータとすることを特徴とする。
【0030】
この第2項において、係数kは、図2に示す実施形態の固体撮像素子11では、値“0.2”を用いるのが良い。図2に示す固体撮像素子11の様に、高感度画素3と低感度画素2の信号電荷の飽和比が異なる場合、係数kは、次の数2で便宜的に求めることができる。
【数2】
係数k=1−Sh/(Sh+Sl)
ここで、Sh:高感度画素の信号電荷飽和量
Sl:低感度画素の信号電荷飽和量
【0031】
図2に示す例で、フォトダイオードの面積比がそのまま飽和比になるわけではないが、便宜的に面積比と見ることができ、上記例を当てはめると、
k=1−4/(4+1)=1−0.8
=0.2
となる。
【0032】
高感度画素と低感度画素とを合わせ持つ固体撮像素子は、図2に例示するものに限らず、例えば、図5に示す様に、同一寸法形状に形成された多数のフォトダイオード(図示せず)の上に設けるマイクロレンズの開口面積を変え、高感度画素3と低感度画素2とを設けるものが考えられる。この場合には、高感度画素と低感度画素の信号電荷の飽和量は同じになるため数2は適用できないが、係数kの値を実験的に求めたり、あるいはマイクロレンズ等の開口面積などから係数値を求めることで、数1を適用することができる。この係数kの値は、固体撮像素子の構成によって決まってしまう値であり、使用者が任意に変更するものではなく、撮像装置の出荷時に固定値に設定されるものである。
【0033】
数1において、トータルゲインpの値として、本実施形態では、実験的に定めた値を採用する。pは、合成画像データの全体に対するゲインであり、本実施形態では、このpの値を制御することで、画像のダイナミックレンジの制御を行う。このトータルゲインpの値が小さいほどダイナミックレンジは広く、pの値が大きいほどダイナミックレンジは狭くなる。具体的には、コントラストの高いシーン(真夏の晴天など)では、p=0.8、曇りや日陰ではp=0.86、室内蛍光灯下ではp=0.9というように、シーンに応じてpの値を変化させる。これにより、ガンマ補正後のデータが8ビットデータである場合、8ビット階調値をより有効に使用することが可能となる。
【0034】
pの値は、ユーザが図1に示す操作部21でシーンの種類を指定することでpの値を設定することでも、デジタルスチルカメラ自体が各種センサの検出値に基づいて撮像画像のシーンを自動判定し自動設定することでもよい。例えば、積算部28による測光データの積算値からホワイトバランスのゲイン量を求めるが、このホワイトバランスの値から如何なるシーンであるかを自動判別可能であるため、pの値の自動設定は可能である。
【0035】
図6は、pの値を変えたときのダイナミックレンジの変化の様子を示す図である。トータルゲインpの値を大きくしたときの特性線イはダイナミックレンジが小さく、トータルゲインpの値を小さくしていくとダイナミックレンジが大きい特性線ロまで変化する。
【0036】
このように、本実施形態の完成画像記録モードでは、高感度画像データと低感度画像データとを加算した後にシーンに応じたトータルゲインを乗算するため、ホワイトバランスのとれたダイナミックレンジの広い画像を生成可能となる。また、対数加算方式を採用して高感度画像データと低感度画像データの夫々のビット数を落としてから画像合成するため、回路規模が小さくて済み、低コスト化を図ることが可能となる。
【0037】
以上が完成画像記録モード時におけるデジタル信号処理部の動作であるが、RAWデータ記録モードでは、A/D変換器23から出力される高感度画像データと低感度画像データがそのまま記録媒体29に記録されることになり、ユーザがパーソナルコンピュータにRAWデータを読み出し、様々な画像合成パラメータを調整して所望の画質の合成画像が得られる様に試行錯誤を繰り返すことになる。
【0038】
ユーザが画像合成作業を行うとき、そのRAWデータが如何なる状況の下で撮影されたデータなのかを知らないと、画像合成パラメータをどのように調整して良いのか分からず、試行錯誤の回数が増えてしまう。ユーザが画像合成作業を行うときの画像合成用ソフトウェア処理は、完成画像記録モード時にデジタル信号処理部26が行った処理と必ずしも同じである必要はないが、デジタル信号処理部26と同じ処理をより精度良く手作業で行いたい場合には、上述した数1の係数k,トータルゲインp,シーンにより決める値αを手作業で一々調整することになる。
【0039】
このとき、その撮影時にカメラが最適な値として自動判定したk,p,αの値が分かれば、ユーザはこのk,p,αの値を参考にして各値の調整範囲を絞ることができ、より迅速且つ容易に希望する画質の合成画像を得ることができることになる。
【0040】
そこで、本実施形態に係るデジタルスチルカメラでは、図3で述べた画像補正用パラメータとして、このk,p,αの値をRAWデータと共に記録媒体29に記録することとしている。
【0041】
図7は、RAWデータを記録媒体29に記録するときの画像ファイルのフォーマット図である。画像ファイルは、ヘッダ部と画像データ部とから成り、ヘッダ部は、ファイル番号等のファイル情報51と、撮影に使用したデジタルスチルカメラや使用レンズの機種情報52と、画像補正用パラメータ53と、撮像したときの露光量やシャッタ速度等の撮影情報54とを含む。画像データ部は、高感度画像のRAWデータ55と、低感度画像のRAWデータ56とから成り、上記のk,p,αの値が画像補正用パラメータ53として記録される。
【0042】
尚、数1において、αの値は、撮像画像のシーンに応じた値とすることも可能であるが、固定値“1”を採用することでもよい。
【0043】
尚、上述した実施形態では、RAWデータ記録モードと完成画像記録モードの2つのモードを持つデジタルスチルカメラについて述べたが、完成画像記録モードを搭載していないデジタルカメラであっても、本発明を適用可能である。
【0044】
【発明の効果】
本発明によれば、高感度画像データと低感度画像データを出力する固体撮像素子を搭載したデジタルスチルカメラの撮像画像データをRAWデータで記録媒体に記録するときカメラが自動判定した画像補正用パラメータも一緒に記録するため、ユーザが画像合成作業を行うときに画像補正用パラメータの値を参考にして合成処理を行うことができ、良好な画質の合成画像を容易に且つ迅速に得ることが可能となる。
【図面の簡単な説明】
【図1】本発明の第1実施形態に係るデジタルスチルカメラのブロック構成図である。
【図2】図1に示す固体撮像素子の表面模式図である。
【図3】図1に示すデジタルスチルカメラの動作説明図である。
【図4】図3に示すデジタル信号処理部の処理構成図である。
【図5】固体撮像素子の別実施形態に係る画素配置図である。
【図6】ダイナミックレンジの変化の様子を示す図である。
【図7】図1に示すデジタルスチルカメラで撮像画像データをRAWデータで記録媒体に記録するときの画像ファイルのフォーマット図である。
【符号の説明】
1 画素
2 低感度画素(副画素)
3 高感度画素(主画素)
10 レンズ
11 固体撮像素子
23 A/D変換器
26 デジタル信号処理部
29 記録媒体
44 画像合成処理回路
53 画像補正用パラメータ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a digital camera that captures both a low-sensitivity image and a high-sensitivity image and a captured image data recording method thereof. In particular, the captured image data is converted to RAW data (raw image data output from a solid-state image sensor). The present invention relates to a digital camera and captured image data recording method for recording in a memory with raw data.
[0002]
[Prior art]
In digital cameras such as digital still cameras and digital video cameras, the saturation amount of charge accumulated in the photodiodes that make up each pixel of the solid-state image sensor decreases as the number of pixels increases, that is, the photodiodes become smaller. Has a drawback that the dynamic range becomes narrow.
[0003]
In order to overcome this drawback, for example, in the conventional technique described in Japanese Patent Application Laid-Open No. 2001-8104, a solid-state image sensor is provided with two types of pixels, a high-sensitivity pixel and a low-sensitivity pixel, and a captured image obtained from the high-sensitivity pixel. The dynamic range of the captured image is expanded by combining the data and the captured image data obtained from the low sensitivity pixels.
[0004]
On the other hand, when the number of pixels of a solid-state image sensor increases as in recent years, an image equivalent to that of a silver salt camera is picked up. The image data is saved in raw memory as raw data without white balance correction, gamma correction, JPEG compression, etc., and this image data is read by a personal computer etc., and white balance correction, gamma correction, color tone correction, etc. Users' desire to do according to their own preference is increasing. For this reason, digital cameras record image data as RAW data as described in JP-A-11-261933 (Patent Document 2) and JP-A-2001-2231979 (Patent Document 3). Is increasing.
[0005]
[Patent Document 1]
Japanese Patent Laid-Open No. 2001-8104 [Patent Document 2]
JP-A-11-261933 [Patent Document 3]
[Patent Document 1] Japanese Patent Application Laid-Open No. 2001-223979
[Problems to be solved by the invention]
As described above, in the digital camera that captures both the low-sensitivity image and the high-sensitivity image, when the captured image data is recorded in the memory as RAW data, both the captured image data of the low-sensitivity image and the captured image data of the high-sensitivity image are recorded. Will be recorded. However, even if the user reads low-sensitivity image data and RAW data of high-sensitivity image data from the memory and composes the image using application software on a personal computer, the composition process does not go well, and a composite image with the desired image quality is obtained. There is a problem that can not be.
[0007]
SUMMARY OF THE INVENTION An object of the present invention is to provide a digital camera capable of easily and quickly obtaining a synthesized image of desired image quality even when synthesizing RAW data of low sensitivity image data and high sensitivity image data outside the camera, and its captured image data. It is to provide a recording method.
[0008]
[Means for Solving the Problems]
A digital camera that achieves the above object and a method for recording captured image data thereof are obtained from the high-sensitivity image data obtained from the high-sensitivity pixel and the low-sensitivity pixel of a solid-state imaging device having high-sensitivity pixels and low-sensitivity pixels. The low-sensitivity image data is recorded on the recording medium as RAW data, and each data d in units of pixels when the high-sensitivity image data and the low-sensitivity image data are combined is expressed as d = [high + MIN (high / th, 1) × low] × MAX [(− k × high / th) + α, p]
Where: high: Data after gamma correction of high sensitivity (high output) image signal
low: Data after gamma correction of low sensitivity (low output) image signal p: total gain
k: coefficient
th: threshold α: value determined by the scene (≈1)
The above-described values of p and α automatically set according to the shooting scene by the camera and the k value obtained from the signal charge saturation amount ratio of the high-sensitivity pixel and the low-sensitivity pixel are used as the image correction parameters. This is achieved by recording on a medium.
[0009]
With this configuration, the range of parameter values for image composition can be adjusted with reference to the values of k, p, and α recorded on the recording medium, and a composite image with the image quality desired by the user can be generated easily and quickly. It becomes.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0011]
FIG. 1 is a configuration diagram of a digital still camera according to an embodiment of the present invention. In this embodiment, a digital still camera will be described as an example. However, the present invention can also be applied to other types of digital cameras such as a camera mounted on a small electronic device such as a digital video camera or a mobile phone. Further, the image synthesis processing of the present embodiment is executed by software by the digital signal processing unit 26 described later, but this can also be realized by a hardware circuit.
[0012]
The digital still camera shown in FIG. 1 includes a photographic lens 10, a solid-state image sensor 11, a diaphragm 12 provided between them, an infrared cut filter 13, and an optical low-pass filter 14. The CPU 15 that controls the entire digital still camera controls the light emitting unit 16 and the light receiving unit 17 for flash, controls the lens driving unit 18 to adjust the position of the photographing lens 10 to the focus position, and stops the aperture driving unit. The opening amount of the diaphragm 12 is controlled via 19 to adjust the exposure amount to an appropriate exposure amount.
[0013]
Further, the CPU 15 drives the solid-state image sensor 11 via the image sensor driving unit 20 and outputs the subject image captured through the photographing lens 10 as a color signal. In addition, a user instruction signal is input to the CPU 15 through the operation unit 21, and the CPU 15 performs various controls according to the instruction.
[0014]
The electric control system of the digital still camera includes an analog signal processing unit 22 connected to the output of the solid-state imaging device 11, and an A / D conversion that converts RGB color signals output from the analog signal processing unit 22 into digital signals. The circuit 23 is provided and these are controlled by the CPU 15.
[0015]
Further, the electric control system of this digital still camera includes a memory control unit 25 connected to the main memory 24, a digital signal processing unit 26 described later in detail, and compresses the captured image into a JPEG image and decompresses the compressed image. Mounted on the back side of the camera, the compression / decompression processing unit 27, the integration unit 28 for integrating the photometric data and adjusting the white balance gain, the external memory control unit 30 to which the removable recording medium 29 is connected. And a display control unit 32 to which the liquid crystal display unit 31 is connected. These are connected to each other by a control bus 33 and a data bus 34, and are controlled by a command from the CPU 15.
[0016]
The digital signal processing unit 26, the analog signal processing unit 22, the A / D conversion circuit 23, and the like shown in FIG. 1 can be mounted on the digital still camera as separate circuits. It is preferable to manufacture on the same semiconductor substrate using LSI manufacturing technology to form one solid-state imaging device.
[0017]
FIG. 2 is a pixel arrangement diagram of the solid-state imaging device 11 used in the present embodiment. The pixel 1 in the CCD portion that captures an image with a wide dynamic range has a pixel arrangement described in, for example, Japanese Patent Laid-Open No. 10-136391, and each pixel in the odd row is horizontally aligned with each pixel in the even row. A vertical transfer path (not shown) that is arranged with a ½ pitch shift and transfers signal charges read from each pixel in the vertical direction is meandered so as to avoid each pixel in the vertical direction. ing.
[0018]
In the illustrated example, each pixel 1 according to the present embodiment includes a low-sensitivity pixel (sub-pixel) 2 that occupies about 1/5 of the area of the pixel 1 and a high-sensitivity pixel (subpixel) that occupies the remaining about 4/5. Main signal) 3 so that the signal charge of each low-sensitivity pixel 2 and the signal charge of each high-sensitivity pixel 3 can be distinguished and transferred to the vertical transfer path. . It should be noted that the ratio and the position at which the pixel 1 is divided are determined by design, and FIG. 2 is merely an example.
[0019]
In the imaging apparatus according to the present embodiment, a low-sensitivity image (an image obtained by the low-sensitivity pixel 2) and a high-sensitivity image (an image obtained by the high-sensitivity pixel 3) are simultaneously acquired by one imaging, and each image is acquired. Are sequentially read out from the pixels 2 and 3, and the details are combined as described later, or are recorded as they are on the recording medium 29 as RAW data.
[0020]
The solid-state imaging device 11 has been described by taking a CCD having a honeycomb pixel arrangement as shown in FIG. 2 as an example, but may be a Bayer CCD or a CMOS sensor.
[0021]
FIG. 3 is a diagram for explaining the operation of the digital still camera described above. An analog high-sensitivity image signal H output from the high-sensitivity pixel 3 of the solid-state image sensor 11 is converted into, for example, 10-bit digital data by the A / D converter 23 and output from the low-sensitivity pixel 2 of the solid-state image sensor 11. The analog low-sensitivity image signal L is converted into, for example, 8-bit digital data by the A / D converter 23.
[0022]
When the user sets the completed image recording mode with the operation unit 21, the digital signal processing unit 26 captures the 10-bit high sensitivity image data and the 8-bit low sensitivity image data output from the A / D converter 23. The external memory control unit (recording circuit) 30 performs, for example, JPEG received from the digital signal processing unit 26 via the compression / decompression processing unit 27 (not shown in FIG. 3). The compressed completed image data is recorded on the recording medium 29.
[0023]
When the user sets the RAW data recording mode on the operation unit 21, the external memory control unit 30 outputs the 10-bit high sensitivity image data and the 8-bit low sensitivity image data output from the A / D converter 23. The data is recorded on the recording medium 29 as it is. At this time, the external memory control unit 30 records the value of an image correction parameter described later together with the RAW data.
[0024]
FIG. 4 is a processing configuration diagram of the digital signal processing unit 26 that operates in the completed image recording mode. The digital signal processing unit 26 employs a logarithmic addition method in which high-sensitivity image signals and low-sensitivity image signals are subjected to gamma correction and then subjected to addition processing, and the high-sensitivity image output from the A / D conversion circuit 23 is used. An offset correction circuit 41a that takes an RGB color signal that is a digital signal and performs an offset process, a gain correction circuit 42a that white balances an output signal of the offset correction circuit 41a, and a gamma correction for the color signal after gain correction. A gamma correction circuit 43a for performing, an offset correction circuit 41b for performing an offset process by taking in RGB color signals which are digital signals of low-sensitivity images output from the A / D conversion circuit 23 shown in FIG. 1, and an offset correction circuit 41b The gain correction circuit 42b for white balance of the output signal and the color signal after gain correction And a gamma correction circuit 43b which performs Ma correction. When linear matrix processing or the like is performed on the signal after offset correction, it is performed between the gain correction circuits 42a and 42b and the gamma correction circuits 43a and 43b.
[0025]
The digital signal processing unit 26 further interpolates the RGB color signal after the image composition by performing an image composition process by taking both output signals of each of the gamma correction circuits 43a and 43b and performing image composition processing. Reduces noise from the RGB interpolation calculation unit 45 for obtaining RGB three-color signals, the RGB / YC conversion circuit 46 for obtaining the luminance signal Y and the color difference signals Cr and Cb from the RGB signal, and the luminance signal Y and the color difference signals Cr and Cb. A noise filter 47, a contour correction circuit 48 that performs contour correction on the luminance signal Y after noise reduction, and a color difference matrix circuit 49 that performs color correction by multiplying the color difference signals Cr and Cb by the color difference matrix. Prepare.
[0026]
The above-described image synthesis processing circuit 44 synthesizes the high sensitivity image signal output from the gamma correction circuit 43a and the low sensitivity image signal output from the gamma correction circuit 43b in units of pixels based on the following equation (1). Output.
[Expression 1]
data = [high + MIN (high / th, 1) × low] × MAX [(− k × high / th) + α, p]
Where: high: Data after gamma correction of high sensitivity (high output) image signal
low: Data after gamma correction of low sensitivity (low output) image signal p: total gain
k: coefficient
th: threshold α: value determined by the scene (≈1)
It is.
[0027]
If the data after gamma correction is 8-bit data (256 gradations), the threshold value th is designated by, for example, “219” from the value 0 to 255 and the user of the digital still camera or the designer of the digital still camera. Is the value to be
[0028]
The first term of Equation 1 adds the low sensitivity image data low as it is to the high sensitivity image data high when the high sensitivity image data high exceeds the threshold th, and when the high sensitivity image data high is equal to or less than the threshold th, A value obtained by multiplying the ratio of the high sensitivity image data high to the threshold th by the low sensitivity image data low is added to the high sensitivity image data high.
[0029]
In the present embodiment, the added data obtained in the first term is not used as composite image data as it is, but the second term (MAX [(− k × high / th) + α, p]) is added to the first term. A value obtained by multiplying is used as composite image data.
[0030]
In the second term, the coefficient “k” is preferably a value “0.2” in the solid-state imaging device 11 of the embodiment shown in FIG. When the signal charge saturation ratios of the high-sensitivity pixel 3 and the low-sensitivity pixel 2 are different as in the solid-state imaging device 11 shown in FIG.
[Expression 2]
Coefficient k = 1−Sh / (Sh + Sl)
Here, Sh: signal charge saturation amount of high sensitivity pixel Sl: signal charge saturation amount of low sensitivity pixel
In the example shown in FIG. 2, the area ratio of the photodiode does not become the saturation ratio as it is, but it can be regarded as an area ratio for convenience, and when the above example is applied,
k = 1-4 / (4 + 1) = 1-0.8
= 0.2
It becomes.
[0032]
The solid-state imaging device having both high-sensitivity pixels and low-sensitivity pixels is not limited to that illustrated in FIG. 2, and for example, as shown in FIG. 5, a large number of photodiodes (not shown) formed in the same size and shape. It is conceivable to change the aperture area of the microlens provided on top of the above and provide the high-sensitivity pixel 3 and the low-sensitivity pixel 2. In this case, the saturation amount of the signal charge of the high-sensitivity pixel and the low-sensitivity pixel is the same, and thus Equation 2 cannot be applied. However, the value of the coefficient k is obtained experimentally or from the opening area of a microlens or the like. Equation 1 can be applied by obtaining the coefficient value. The value of the coefficient k is a value that is determined by the configuration of the solid-state imaging device, and is not arbitrarily changed by the user, but is set to a fixed value when the imaging apparatus is shipped.
[0033]
In Equation 1, an experimentally determined value is used as the value of the total gain p in this embodiment. p is a gain with respect to the entire composite image data. In this embodiment, the dynamic range of the image is controlled by controlling the value of p. The smaller the value of the total gain p, the wider the dynamic range, and the larger the value of p, the narrower the dynamic range. Specifically, depending on the scene, p = 0.8 for high-contrast scenes (such as midsummer sunny weather), p = 0.86 for cloudy or shaded, and p = 0.9 for indoor fluorescent lighting. To change the value of p. Thereby, when the data after gamma correction is 8-bit data, the 8-bit gradation value can be used more effectively.
[0034]
Even if the user sets the value of p by specifying the type of scene using the operation unit 21 shown in FIG. 1, the digital still camera itself can change the scene of the captured image based on the detection values of various sensors. Automatic determination and automatic setting may be used. For example, the white balance gain amount is obtained from the integrated value of the photometric data obtained by the integrating unit 28. Since the scene can be automatically determined from the white balance value, the value of p can be automatically set. .
[0035]
FIG. 6 is a diagram showing how the dynamic range changes when the value of p is changed. When the total gain p is increased, the characteristic line a has a small dynamic range, and when the total gain p is decreased, the characteristic line a changes to a characteristic line B having a large dynamic range.
[0036]
As described above, in the completed image recording mode of the present embodiment, since the high-sensitivity image data and the low-sensitivity image data are added and then multiplied by the total gain according to the scene, an image with a wide dynamic range with white balance can be obtained. Can be generated. In addition, since the logarithmic addition method is employed to combine the images after reducing the number of bits of the high-sensitivity image data and the low-sensitivity image data, the circuit scale can be reduced and the cost can be reduced.
[0037]
The above is the operation of the digital signal processing unit in the completed image recording mode. In the RAW data recording mode, the high-sensitivity image data and the low-sensitivity image data output from the A / D converter 23 are recorded on the recording medium 29 as they are. As a result, the user reads RAW data to the personal computer and adjusts various image synthesis parameters to repeat trial and error so that a synthesized image having a desired image quality can be obtained.
[0038]
When the user performs image composition work, if the user does not know under what circumstances the RAW data was taken, it does not know how to adjust the image composition parameters, and the number of trial and error increases. End up. The software processing for image composition when the user performs image composition work is not necessarily the same as the processing performed by the digital signal processing unit 26 in the completed image recording mode, but the same processing as that of the digital signal processing unit 26 is performed. When it is desired to perform the operation manually with high accuracy, the above-described coefficient k, total gain p, and value α determined by the scene are adjusted manually.
[0039]
At this time, if k, p, α values automatically determined as optimum values by the camera at the time of shooting are known, the user can narrow down the adjustment range of each value with reference to the k, p, α values. Thus, a composite image having a desired image quality can be obtained more quickly and easily.
[0040]
Therefore, in the digital still camera according to the present embodiment, the values of k, p, and α are recorded on the recording medium 29 together with the RAW data as the image correction parameters described in FIG.
[0041]
FIG. 7 is a format diagram of an image file when RAW data is recorded on the recording medium 29. The image file includes a header portion and an image data portion. The header portion includes file information 51 such as a file number, model information 52 of a digital still camera and a lens used for photographing, an image correction parameter 53, And shooting information 54 such as an exposure amount and a shutter speed when the image is taken. The image data portion includes RAW data 55 for high-sensitivity images and RAW data 56 for low-sensitivity images, and the values of k, p, and α are recorded as image correction parameters 53.
[0042]
In Equation 1, the value of α may be a value corresponding to the scene of the captured image, but may be a fixed value “1”.
[0043]
In the above-described embodiment, the digital still camera having the two modes of the RAW data recording mode and the completed image recording mode has been described. However, the present invention can be applied to a digital camera not equipped with the completed image recording mode. Applicable.
[0044]
【The invention's effect】
According to the present invention, an image correction parameter automatically determined by a camera when recording image data of a digital still camera equipped with a solid-state image sensor that outputs high-sensitivity image data and low-sensitivity image data on a recording medium as RAW data. Since the image is recorded together, when the user performs image composition work, the composition processing can be performed with reference to the value of the parameter for image correction, and a composite image with good image quality can be obtained easily and quickly. It becomes.
[Brief description of the drawings]
FIG. 1 is a block diagram of a digital still camera according to a first embodiment of the present invention.
FIG. 2 is a schematic surface view of the solid-state imaging device shown in FIG.
3 is an operation explanatory diagram of the digital still camera shown in FIG. 1. FIG.
4 is a processing configuration diagram of a digital signal processing unit shown in FIG. 3. FIG.
FIG. 5 is a pixel arrangement diagram according to another embodiment of the solid-state imaging device.
FIG. 6 is a diagram showing how the dynamic range changes.
7 is a format diagram of an image file when captured image data is recorded on a recording medium as RAW data by the digital still camera shown in FIG. 1; FIG.
[Explanation of symbols]
1 pixel 2 low sensitivity pixel (sub pixel)
3 High sensitivity pixels (main pixels)
DESCRIPTION OF SYMBOLS 10 Lens 11 Solid-state image sensor 23 A / D converter 26 Digital signal processing part 29 Recording medium 44 Image composition processing circuit 53 Image correction parameter

Claims (2)

高感度画素と低感度画素を有する固体撮像素子と、前記高感度画素から得られた高感度画像データと前記低感度画素から得られた低感度画像データとをRAWデータで記録媒体に記録すると共に、高感度画像データと低感度画像データとを合成する場合の画素単位の各データdを
d=〔high+MIN(high/th,1)×low〕×MAX〔(−k×high/th)+α,p〕
ここで、high:高感度(高出力)画像信号のガンマ補正後のデータ
low:低感度(低出力)画像信号のガンマ補正後のデータ
p:total gain(トータルゲイン)
k:係数
th:閾値
α:シーンにより決める値(≒1)
としたときカメラが撮影シーンに応じて自動設定した上記p,αの各値及び前記高感度画素と前記低感度画素の信号電荷飽和量比から求まる上記kの値を画像補正用パラメータとして前記記録媒体に記録する記録手段とを備えることを特徴とするデジタルカメラ。
A solid-state imaging device having a high-sensitivity pixel and a low-sensitivity pixel, high-sensitivity image data obtained from the high-sensitivity pixel, and low-sensitivity image data obtained from the low-sensitivity pixel are recorded on a recording medium as raw data. In the case of combining high-sensitivity image data and low-sensitivity image data, each data d in pixel units is expressed as d = [high + MIN (high / th, 1) × low] × MAX [(−k × high / th) + α, p]
Where: high: Data after gamma correction of high sensitivity (high output) image signal
low: Data after gamma correction of low sensitivity (low output) image signal p: total gain
k: coefficient
th: threshold α: value determined by the scene (≈1)
The above-described values of p and α automatically set according to the shooting scene by the camera and the k value obtained from the signal charge saturation amount ratio of the high-sensitivity pixel and the low-sensitivity pixel are used as the image correction parameters. A digital camera comprising recording means for recording on a medium.
高感度画素と低感度画素を有する固体撮像素子を搭載したデジタルカメラの撮像画像データ記録方法において、前記高感度画素から得られた高感度画像データと前記低感度画素から得られた低感度画像データとをRAWデータで記録媒体に記録すると共に、高感度画像データと低感度画像データとを合成する場合の画素単位の各データdを
d=〔high+MIN(high/th,1)×low〕×MAX〔(−k×high/th)+α,p〕
ここで、high:高感度(高出力)画像信号のガンマ補正後のデータ
low:低感度(低出力)画像信号のガンマ補正後のデータ
p:total gain(トータルゲイン)
k:係数
th:閾値
α:シーンにより決める値(≒1)
としたときカメラが撮影シーンに応じて自動設定した上記p,αの各値及び前記高感度画素と前記低感度画素の信号電荷飽和量比から求まる上記kの値を画像補正用パラメータとして前記記録媒体に記録することを特徴とするデジタルカメラの撮像画像データ記録方法。
High-sensitivity image data obtained from the high-sensitivity pixels and low-sensitivity image data obtained from the low-sensitivity pixels in a method for recording captured image data of a digital camera equipped with a solid-state imaging device having high-sensitivity pixels and low-sensitivity pixels Are recorded as RAW data on a recording medium, and each data d in pixel units when combining high-sensitivity image data and low-sensitivity image data is d = [high + MIN (high / th, 1) × low] × MAX. [(−k × high / th) + α, p]
Where: high: Data after gamma correction of high sensitivity (high output) image signal
low: Data after gamma correction of low sensitivity (low output) image signal p: total gain
k: coefficient
th: threshold α: value determined by the scene (≈1)
The above-described values of p and α automatically set according to the shooting scene by the camera and the k value obtained from the signal charge saturation amount ratio of the high-sensitivity pixel and the low-sensitivity pixel are used as the image correction parameters. A method for recording captured image data of a digital camera, comprising: recording on a medium.
JP2003009660A 2003-01-17 2003-01-17 Digital camera and recorded image data recording method Expired - Fee Related JP3977260B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003009660A JP3977260B2 (en) 2003-01-17 2003-01-17 Digital camera and recorded image data recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003009660A JP3977260B2 (en) 2003-01-17 2003-01-17 Digital camera and recorded image data recording method

Publications (2)

Publication Number Publication Date
JP2004222149A JP2004222149A (en) 2004-08-05
JP3977260B2 true JP3977260B2 (en) 2007-09-19

Family

ID=32899092

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003009660A Expired - Fee Related JP3977260B2 (en) 2003-01-17 2003-01-17 Digital camera and recorded image data recording method

Country Status (1)

Country Link
JP (1) JP3977260B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5315634B2 (en) * 2007-07-04 2013-10-16 株式会社ニコン Image processing apparatus and image processing method
JP5279636B2 (en) * 2009-06-30 2013-09-04 キヤノン株式会社 Imaging device

Also Published As

Publication number Publication date
JP2004222149A (en) 2004-08-05

Similar Documents

Publication Publication Date Title
JP4004943B2 (en) Image composition method and imaging apparatus
JP4025207B2 (en) Solid-state image sensor and digital camera
US7626619B2 (en) Digital camera
JP5843027B1 (en) Imaging apparatus, control method, and program
JP4717720B2 (en) Image processing apparatus and method, and program
JP4150599B2 (en) Digital camera with exposure compensation
JP4178046B2 (en) Digital camera
JP4015492B2 (en) Image composition method and imaging apparatus
JP2006333113A (en) Imaging device
JP4235408B2 (en) Noise reduction circuit and imaging device
JP3977260B2 (en) Digital camera and recorded image data recording method
JP4307862B2 (en) Signal processing method, signal processing circuit, and imaging apparatus
JP4604098B2 (en) Digital camera
JP4105556B2 (en) Digital camera and recorded image data recording method
JP2003333422A (en) Shading correction method and digital camera
JP2004274473A (en) Digital camera
JP4028396B2 (en) Image composition method and digital camera
JP4276847B2 (en) Imaging device
JP2004048563A (en) Imaging device and image processing method
JP2006109046A (en) Imaging device
JP4769851B2 (en) Imaging device
JP2004159170A (en) Digital camera, pick-up image data recording method and image signal processing method
JP2004242015A (en) Histogram calculation method, histogram calculation circuit, and imaging apparatus
JP2000278590A (en) Digital camera
JP2004072196A (en) Imaging apparatus and image signal processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050215

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060325

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061124

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070620

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

Free format text: PAYMENT UNTIL: 20100629

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110629

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110629

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120629

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120629

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130629

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees