JP3977260B2 - Digital camera and recorded image data recording method - Google Patents
Digital camera and recorded image data recording method Download PDFInfo
- 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
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
[0012]
The digital still camera shown in FIG. 1 includes a photographic lens 10, a solid-state image sensor 11, a
[0013]
Further, the
[0014]
The electric control system of the digital still camera includes an analog
[0015]
Further, the electric control system of this digital still camera includes a
[0016]
The digital
[0017]
FIG. 2 is a pixel arrangement diagram of the solid-state imaging device 11 used in the present embodiment. The
[0018]
In the illustrated example, each
[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
[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-
[0022]
When the user sets the completed image recording mode with the
[0023]
When the user sets the RAW data recording mode on the
[0024]
FIG. 4 is a processing configuration diagram of the digital
[0025]
The digital
[0026]
The above-described image
[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
[0028]
The first term of
[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-
[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-
[0033]
In
[0034]
Even if the user sets the value of p by specifying the type of scene using the
[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 /
[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
[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
[0041]
FIG. 7 is a format diagram of an image file when RAW data is recorded on the
[0042]
In
[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
3 High sensitivity pixels (main pixels)
DESCRIPTION OF SYMBOLS 10 Lens 11 Solid-state image sensor 23 A /
Claims (2)
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.
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.
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)
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 |
-
2003
- 2003-01-17 JP JP2003009660A patent/JP3977260B2/en not_active Expired - Fee Related
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 |