JP2004056568A - Image composing method and image pickup device - Google Patents

Image composing method and image pickup device Download PDF

Info

Publication number
JP2004056568A
JP2004056568A JP2002212517A JP2002212517A JP2004056568A JP 2004056568 A JP2004056568 A JP 2004056568A JP 2002212517 A JP2002212517 A JP 2002212517A JP 2002212517 A JP2002212517 A JP 2002212517A JP 2004056568 A JP2004056568 A JP 2004056568A
Authority
JP
Japan
Prior art keywords
image data
image
output image
low
scene
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.)
Granted
Application number
JP2002212517A
Other languages
Japanese (ja)
Other versions
JP4015492B2 (en
Inventor
Masahiko Sugimoto
杉本 雅彦
Manabu Hyodo
兵藤 学
Koichi Sakamoto
坂本 浩一
Masaya Tamaru
田丸 雅也
Hirokazu Kobayashi
小林 寛和
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 Holdings Corp
Original Assignee
Fuji Photo Film Co Ltd
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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP2002212517A priority Critical patent/JP4015492B2/en
Priority to US10/601,654 priority patent/US7508421B2/en
Publication of JP2004056568A publication Critical patent/JP2004056568A/en
Priority to US11/606,080 priority patent/US20070070223A1/en
Priority to US11/606,087 priority patent/US7750950B2/en
Priority to US11/606,078 priority patent/US20070076103A1/en
Application granted granted Critical
Publication of JP4015492B2 publication Critical patent/JP4015492B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Transforming Light Signals Into Electric Signals (AREA)
  • Color Television Image Signal Generators (AREA)
  • Processing Of Color Television Signals (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To obtain a white-balanced image having a wide dynamic range by composing of a high sensitive image and a low sensitive image. <P>SOLUTION: In composing images of high output image data and low output image data, composite image data are obtained by multiplying the total gain corresponding to a scene by added data of the high output image data and the low output image data. The total gain is suitably multiplied in the range where the high output image data exceeds a certain value. The range is a range where the value of the total gain p exceeds the value of an optional number α-a coefficient value k × (high output image data high after gamma correction/threshold th), wherein, suitably, if the coefficient value k = 0.2, and the optional number α = 1, p = 0.8 in a scene with high contrast, p = 0.86 in a scene on a cloudy day or in shade, and p = 0.9 in a scene in an indoor fluorescent lamp. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は画像合成方法および撮像装置に係り、特に、ホワイトバランスをとりながらダイナミックレンジを広げた画像信号を得ることができる画像合成方法および撮像装置に関する。
【0002】
【従来の技術】
デジタルスチルカメラ等の撮像装置で、例えば室内風景を撮像した場合、室内に存在する被写体の映像は良く映っても、窓から見える青い空が白飛びしてしまい、全体的に不自然な画像になってしまうことがある。これは画像のダイナミックレンジが狭いためであり、この問題を解決するために、従来から、2枚の画像を撮像し合成することで、画像のダイナミックレンジを広げることが行われている。
【0003】
例えば、高速シャッタを切って1枚目の短時間露光画像(低感度画像)を撮像し、これに連続して低速シャッタを切って2枚目の長時間露光画像(高感度画像)を撮像し、2枚の画像を合成することで、低感度画像中に映っている窓の外の風景が、室内風景の良く映っている高感度画像に重なるようにしている。
【0004】
特開2000―307963号公報に記載されている従来の撮像装置では、2枚の画像を合成するとき、動きのある被写体部分が低感度画像と高感度画像とでピッタリ一致しないため、マスクを使って部分毎に高感度画像と低感度画像を置き換え、画像合成を行う様にしている。
【0005】
【発明が解決しようとする課題】
上述した従来技術では、2枚の撮像画像の画像信号をマスクを使って合成しているが、ホワイトバランスのズレに関しては考慮していない。このため、合成画像中の高感度画像と低感度画像とでホワイトバランスが異なってしまい、撮影シーンによって違和感のある合成画像になってしまうという問題がある。
【0006】
近年では、例えば固体撮像素子に高感度画素と低感度画素の両方を搭載し、高感度画素で撮像した高感度画像(以下、高出力画像ともいう。)と低感度画素で撮像した低感度画像(低出力画像ともいう。)とを合成処理して1枚の画像データとして出力するデジタルスチルカメラ等の撮像装置が提案されており、斯かる撮像装置で画像合成を行うときに、上述した従来技術の問題を解決する必要が生じる。
【0007】
本発明の目的は、ホワイトバランスをとりながらダイナミックレンジの広い画像を合成し出力することができる画像合成方法および撮像装置を提供することにある。
【0008】
【課題を解決するための手段】
上記目的を達成する画像合成方法は、高出力画像データと低出力画像データとを画像合成する画像合成方法において、シーンに応じたトータルゲインを高出力画像データと低出力画像データとの加算データに乗算して合成画像データとすることを特徴とする。この構成により、ホワイトバランスのとれたダイナミックレンジの広い画像を合成することが可能となる。
【0009】
好適には、高出力画像データが或る値を越える範囲で、シーンに応じたトータルゲインを高出力画像データと低出力画像データとの加算データに乗算することを特徴とし、高出力画像データが或る値を越える範囲とは、トータルゲインpの値が、任意数α−係数値k×(ガンマ補正後の高出力画像データhigh/閾値th)の値を越える範囲であることを特徴とし、更に、前記係数値k=0.2であり、前記任意数α=1であり、コントラストの高いシーンのときp=0.8とし、曇りや日陰のシーンのときp=0.86とし、室内蛍光灯下のシーンではp=0.9とすることを特徴とする。これにより、シーンに合った良好な合成画像を得ることが可能となる。
【0010】
上記目的を達成する撮像装置は、高出力画像データと低出力画像データとを画像合成し出力する撮像装置において、シーンに応じたトータルゲインを高出力画像データと低出力画像データとの加算データに乗算して合成画像データとして出力する画像合成手段を備えたことを特徴とする。この構成により、ホワイトバランスのとれたダイナミックレンジの広い画像を合成し出力することが可能となる。
【0011】
【発明の実施の形態】
以下、本発明の一実施形態について、図面を参照して説明する。
【0012】
図1は、本発明の一実施形態に係るデジタルスチルカメラの構成図である。この実施形態ではデジタルスチルカメラを例に説明するが、デジタルビデオカメラ等の他の種類の撮像装置にも本発明を適用可能である。また、本実施形態の画像合成処理は、後述するデジタル信号処理部26がソフトウェアにて実行処理するが、これをハードウェア回路にて実現することも可能である。
【0013】
図1に示すデジタルスチルカメラは、撮影レンズ10と、固体撮像素子11と、この両者の間に設けられた絞り12と、赤外線カットフィルタ13と、光学ローパスフィルタ14とを備える。デジタルスチルカメラの全体を制御するCPU15は、フラッシュ用の発光部16及び受光部17を制御し、また、レンズ駆動部18を制御して撮影レンズ10の位置をフォーカス位置に調整し、絞り駆動部19を介し絞り12の開口量を制御して露光量が適正露光量となるように調整する。
【0014】
また、CPU15は、撮像素子駆動部20を介して固体撮像素子11を駆動し、撮影レンズ10を通して撮像した被写体画像を色信号として出力させる。また、CPU15には、操作部21を通してユーザの指示信号が入力され、CPU15はこの指示に従って各種制御を行う。
【0015】
デジタルスチルカメラの電気制御系は、固体撮像素子11の出力に接続されたアナログ信号処理部22と、このアナログ信号処理部22から出力されたRGBの色信号をデジタル信号に変換するA/D変換回路23とを備え、これらはCPU15によって制御される。
【0016】
更に、このデジタルスチルカメラの電気制御系は、メインメモリ24に接続されたメモリ制御部25と、詳細は後述するデジタル信号処理部26と、撮像画像をJPEG画像に圧縮したり圧縮画像を伸張したりする圧縮伸張処理部27と、測光データを積算してホワイトバランスのゲインを調整させる積算部28と、着脱自在の記録媒体29が接続される外部メモリ制御部30と、カメラ背面等に搭載された液晶表示部31が接続される表示制御部32とを備え、これらは、制御バス33及びデータバス34によって相互に接続され、CPU15からの指令によって制御される。
【0017】
図1に示すデジタル信号処理部26や、アナログ信号処理部22,A/D変換回路23等は、これを夫々別回路としてデジタルスチルカメラに搭載することもできるが、これらを固体撮像素子11と同一半導体基板上にLSI製造技術を用いて製造し、1つの固体撮像装置とするのがよい。
【0018】
図2は、本実施形態で使用する固体撮像素子11の画素配置図である。広ダイナミックレンジの画像を撮像するCCD部分の画素1は、例えば特開平10―136391号公報に記載されている画素配置をとり、偶数行の各画素に対して奇数行の各画素が水平方向に1/2ピッチずらして配置され、各画素から読み出された信号電荷を垂直方向に転送する垂直転送路(図示せず)が、垂直方向の各画素を避けるように蛇行配置される構成をとっている。
【0019】
そして、本実施形態に係る各画素1は、図示する例では、画素1の面積の約1/5を占める低感度画素2と、残りの約4/5を占める高感度画素3とに分割して設けられ、各低感度画素2の信号電荷と、各高感度画素3の信号電荷とを区別して上記垂直転送路に読み出し転送することができるようになっている。尚、画素1をどのような割合、どの様な位置で分割するかは設計的に決められるものであり、図2は単なる例示に過ぎない。
【0020】
本実施形態の撮像装置では、1回の撮像で、低感度画像(低感度画素2で得られた画像)と高感度画像(高感度画素3で得られた画像)を同時に取得し、各画像を各画素2,3から順次読み出し、詳細は後述する様に合成して出力する様になっている。
【0021】
尚、固体撮像素子11は、図2に示す様なハニカム画素配置のCCDを例に説明したが、ベイヤー方式のCCDやCMOSセンサでも良い。
【0022】
図3は、図1に示すデジタル信号処理部26の詳細構成図である。このデジタル信号処理部26は、高感度画像信号と低感度画像信号とを夫々ガンマ補正した後に加算処理する対数加算方式を採用しており、図1に示すA/D変換回路23から出力される高感度画像のデジタル信号でなるRGB色信号を取り込んでオフセット処理を行うオフセット補正回路41aと、オフセット補正回路41aの出力信号のホワイトバランスをとるゲイン補正回路42aと、ゲイン補正後の色信号に対してガンマ補正を行うガンマ補正回路43aと、図1に示すA/D変換回路23から出力される低感度画像のデジタル信号でなるRGB色信号を取り込んでオフセット処理を行うオフセット補正回路41bと、オフセット補正回路41bの出力信号のホワイトバランスをとるゲイン補正回路42bと、ゲイン補正後の色信号に対してガンマ補正を行うガンマ補正回路43bとを備える。オフセット補正後の信号に対してリニアマトリクス処理などを行う場合には、ゲイン補正回路42a,42bとガンマ補正回路43a,43bとの間で行う。
【0023】
デジタル信号処理部26は、更に、各ガンマ補正回路43a,43bの両出力信号を取り込んで詳細は後述する様にして画像合成処理を行う画像合成処理回路44と、画像合成後のRGB色信号を補間演算して各画素位置におけるRGB3色の信号を求めるRGB補間演算部45と、RGB信号から輝度信号Yと色差信号Cr,Cbとを求めるRGB/YC変換回路46と、輝度信号Yや色差信号Cr,Cbからノイズを低減するノイズフィルタ47と、ノイズ低減後の輝度信号Yに対して輪郭補正を行う輪郭補正回路48と、色差信号Cr,Cbに対して色差マトリクスを乗算して色調補正を行う色差マトリクス回路49とを備える。
【0024】
RGB補間演算部44は、3板式の撮像素子であれば不要であるが、本実施形態で使用する固体撮像素子11は単板式の固体撮像素子であり、各画素からは、R,G,Bのうちの一色の信号しか出力されないため、出力しない色、即ち、Rを出力する画素では、この画素位置においてG,Bの色信号がどの程度になるかを、周りの画素のG,B信号から補間演算により求めるものである。
【0025】
上述した画像合成処理回路44は、ガンマ補正回路43aから出力される高感度画像信号と、ガンマ補正回路43bから出力される低感度画像信号とを次の数1に基づいて画素単位に合成し、出力する。
【0026】
〔数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で便宜的に求めることができる。
【0031】
〔数2〕
係数k=1−Sh/(Sh+Sl)
ここで、Sh:高感度画素の信号電荷飽和量
Sl:低感度画素の信号電荷飽和量
【0032】
図2に示す例で、フォトダイオードの面積比がそのまま飽和比になるわけではないが、便宜的に面積比と見ることができ、上記例を当てはめると、
k=1−4/(4+1)=1−0.8
=0.2
となる。
【0033】
高感度画素と低感度画素とを合わせ持つ固体撮像素子は、図2に例示するものに限らず、例えば、図5に示す様に、同一寸法形状に形成された多数のフォトダイオード(図示せず)の上に設けるマイクロレンズの開口面積を変え、高感度画素3と低感度画素2とを設けるものが考えられる。この場合には、高感度画素と低感度画素の信号電荷の飽和量は同じになるため数2は適用できないが、係数kの値を実験的に求めたり、あるいはマイクロレンズ等の開口面積などから係数値を求めることで、数1を適用することができる。この係数kの値は、固体撮像素子の構成によって決まってしまう値であり、使用者が任意に変更するものではなく、撮像装置の出荷時に固定値に設定されるものである。
【0034】
数1において、トータルゲインpの値として、本実施形態では、実験的に定めた値を採用する。pは、合成画像データの全体に対するゲインであり、本実施形態では、このpの値を制御することで、画像のダイナミックレンジの制御を行う。このトータルゲインpの値が小さいほどダイナミックレンジは広く、pの値が大きいほどダイナミックレンジは狭くなる。具体的には、コントラストの高いシーン(真夏の晴天など)では、p=0.8、曇りや日陰ではp=0.86、室内蛍光灯下ではp=0.9というように、シーンに応じてpの値を変化させる。これにより、ガンマ補正後のデータが8ビットデータである場合、8ビット階調値をより有効に使用することが可能となる。
【0035】
pの値は、デジタルスチルカメラ自体が各種センサの検出値に基づいて撮像画像のシーンを自動判定し自動設定することでもよく、また、ユーザが図1に示す操作部21でシーンの種類を指定することでpの値を設定することでもよい。
【0036】
図4は、pの値を変えたときのダイナミックレンジの変化の様子を示す図である。トータルゲインpの値を大きくしたときの特性線イはダイナミックレンジが小さく、トータルゲインpの値を小さくしていくとダイナミックレンジが大きい特性線ロまで変化する。
【0037】
尚、数1において、αの値は、撮像画像のシーンに応じた値とすることも可能であるが、固定値“1”を採用することでもよい。
【0038】
このように、本実施形態によれば、高感度画像データと低感度画像データとを加算した後にシーンに応じたトータルゲインを乗算するため、ホワイトバランスのとれたダイナミックレンジの広い画像を生成可能となる。また、対数加算方式を採用して高感度画像データと低感度画像データの夫々のビット数を落としてから画像合成するため、回路規模が小さくて済み、低コスト化を図ることが可能となる。
【0039】
上述した実施形態では、デジタルスチルカメラで撮像した高出力画像(高感度画像)と低出力画像(低感度画像)とをデジタルスチルカメラ内で合成する例について述べたが、撮像装置で撮像された高感度画像データと低感度画像データとをメモリに格納して撮像装置から取り出し、この高感度画像データおよび低感度画像データ(CCD―RAWデータ)をパソコン等に読み込み、上述した実施形態で述べたデジタル信号処理部26と同様の画像合成処理を行う場合にも適用でき、ホワイトバランス調整のとれたダイナミックレンジの広い合成画像を生成することができる。
【0040】
また、上述した実施形態では、低感度画素で撮像した画像を低感度画像といい、高感度画素で撮像した画像を高感度画像といったが、本発明は感度の違う画像を合成する場合に制限されるものではなく、同一画素で撮像した画像であって絞りの開口量が異なる複数の撮像画像を合成する場合にも適用できる。例えば、コントラストの高い静物を露出をふって複数枚連続して撮像した場合、開口量の広い絞りで撮像した画像は固体撮像素子の各画素からの出力レベルが高いため上述した高出力画像となり、開口量の狭い絞りの基で撮像した画像は高出力画像よりも各画素からの出力レベルが低いため上述した低出力画像となる。この両画像データを合成する場合にも、上記実施形態を適用できる。
【0041】
【発明の効果】
本発明によれば、シーンに応じ且つホワイトバランスのとれたダイナミックレンジの広い画像を合成することが可能となる。
【図面の簡単な説明】
【図1】本発明の一実施形態に係るデジタルスチルカメラの構成図である。
【図2】図1に示す固体撮像素子の画素配置例を示す図である。
【図3】図1に示すデジタル信号処理部の詳細構成図である。
【図4】ダイナミックレンジの変化の様子を示す図である。
【図5】固体撮像素子の別実施形態に係る画素配置図である。
【符号の説明】
1 画素
2 低感度画素
3 高感度画素
10 レンズ
11 固体撮像素子
15 CPU
26 デジタル信号処理部
43a,43b ガンマ補正回路
44 画像合成処理回路
イ トータルゲイン大(ダイナミックレンジ小)の特性線
ロ トータルゲイン小(ダイナミックレンジ大)の特性線
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image synthesizing method and an imaging apparatus, and more particularly to an image synthesizing method and an imaging apparatus capable of obtaining an image signal having a wide dynamic range while maintaining white balance.
[0002]
[Prior art]
For example, when an indoor landscape is imaged with an imaging device such as a digital still camera, the image of the subject present in the room is well reflected, but the blue sky seen from the window is blown out, resulting in an overall unnatural image. It may become. This is because the dynamic range of the image is narrow, and in order to solve this problem, conventionally, the dynamic range of the image is widened by capturing and synthesizing two images.
[0003]
For example, the first short-time exposure image (low-sensitivity image) is taken with the high-speed shutter turned off, and then the second long-time exposure image (high-sensitivity image) is taken with the low-speed shutter turned off. By synthesizing the two images, the scenery outside the window shown in the low-sensitivity image overlaps the high-sensitivity image in which the indoor scenery is well reflected.
[0004]
In the conventional imaging device described in Japanese Patent Application Laid-Open No. 2000-307963, when two images are combined, a moving subject portion does not match exactly between a low-sensitivity image and a high-sensitivity image, so a mask is used. For each part, the high-sensitivity image and the low-sensitivity image are replaced and image synthesis is performed.
[0005]
[Problems to be solved by the invention]
In the above-described conventional technology, the image signals of two captured images are combined using a mask, but the white balance deviation is not taken into consideration. For this reason, there is a problem in that the white balance differs between the high-sensitivity image and the low-sensitivity image in the composite image, resulting in a composite image having a sense of incongruity depending on the shooting scene.
[0006]
In recent years, for example, both a high-sensitivity pixel and a low-sensitivity pixel are mounted on a solid-state imaging device, and a high-sensitivity image (hereinafter, also referred to as a high-output image) captured with a high-sensitivity pixel and a low-sensitivity image captured with a low-sensitivity pixel. An image pickup apparatus such as a digital still camera that outputs a single image data by combining the image data (also referred to as a low output image) has been proposed. There is a need to solve technical problems.
[0007]
An object of the present invention is to provide an image composition method and an imaging apparatus that can synthesize and output an image with a wide dynamic range while maintaining white balance.
[0008]
[Means for Solving the Problems]
An image composition method that achieves the above object is an image composition method for image composition of high output image data and low output image data. In the image composition method, a total gain corresponding to a scene is added to the addition data of the high output image data and the low output image data. It is characterized in that it is multiplied to obtain composite image data. With this configuration, it is possible to synthesize an image with a wide dynamic range with white balance.
[0009]
Preferably, in a range where the high output image data exceeds a certain value, the sum of the high output image data and the low output image data is multiplied by a total gain corresponding to the scene. The range exceeding a certain value is a range in which the value of the total gain p exceeds a value of an arbitrary number α−coefficient value k × (high output image data high / threshold th after gamma correction), Further, the coefficient value k = 0.2, the arbitrary number α = 1, p = 0.8 for a high-contrast scene, p = 0.86 for a cloudy or shaded scene, In a scene under a fluorescent lamp, p = 0.9. Thereby, it is possible to obtain a good composite image suitable for the scene.
[0010]
An imaging apparatus that achieves the above object is an imaging apparatus that synthesizes and outputs high-output image data and low-output image data, and adds a total gain corresponding to the scene to the addition data of the high-output image data and the low-output image data. Image combining means for multiplying and outputting as composite image data is provided. With this configuration, it is possible to synthesize and output an image having a wide dynamic range with white balance.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0012]
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 be applied to other types of imaging devices such as a digital video camera. 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.
[0013]
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.
[0014]
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.
[0015]
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.
[0016]
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.
[0017]
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.
[0018]
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.
[0019]
Each pixel 1 according to this embodiment is divided into a low-sensitivity pixel 2 occupying about 1/5 of the area of the pixel 1 and a high-sensitivity pixel 3 occupying the remaining about 4/5 in the illustrated example. 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.
[0020]
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 are synthesized and output as will be described in detail later.
[0021]
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.
[0022]
FIG. 3 is a detailed configuration diagram of the digital signal processing unit 26 shown in FIG. 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 is output from the A / D conversion circuit 23 shown in FIG. An offset correction circuit 41a that takes an RGB color signal that is a digital signal of a high-sensitivity image and performs an offset process, a gain correction circuit 42a that white balances an output signal of the offset correction circuit 41a, and a color signal after gain correction A gamma correction circuit 43a that performs gamma correction, an offset correction circuit 41b that performs an offset process by taking in RGB color signals that are digital signals of low-sensitivity images output from the A / D conversion circuit 23 shown in FIG. A gain correction circuit 42b for white balance of the output signal of the correction circuit 41b, and a color signal after gain correction And a gamma correction circuit 43b for performing gamma correction for. 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.
[0023]
The digital signal processing unit 26 further captures both output signals of the respective gamma correction circuits 43a and 43b and performs an image composition processing circuit 44 for performing image composition processing as will be described in detail later, and an RGB color signal after image composition. An RGB interpolation calculation unit 45 that obtains RGB three-color signals at each pixel position by interpolation calculation, an RGB / YC conversion circuit 46 that obtains the luminance signal Y and the color difference signals Cr and Cb from the RGB signals, and the luminance signal Y and the color difference signal A noise filter 47 that reduces noise from Cr and Cb, a contour correction circuit 48 that performs contour correction on the luminance signal Y after noise reduction, and a color difference matrix that multiplies the color difference signals Cr and Cb by color correction. And a color difference matrix circuit 49 to be performed.
[0024]
The RGB interpolation calculation unit 44 is not required if it is a three-plate image sensor, but the solid-state image sensor 11 used in this embodiment is a single-plate solid-state image sensor, and R, G, B from each pixel. Therefore, in a pixel that outputs no color, that is, a pixel that outputs R, the level of the G and B color signals at this pixel position indicates the G and B signals of the surrounding pixels. Is obtained by interpolation calculation.
[0025]
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.
[0026]
[Equation 1]
data = [high + MIN (high / th, 1) × low] × MAX [(−k × high / th) + α, p]
Here, 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 (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” of the value 0 to 255 and the user of the digital still camera or the designer of the digital still camera. The value to be
[0028]
The first term of Equation 1 adds the low-sensitivity image data low 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 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 addition data obtained in the first term is not used as the synthesized 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. 2, the coefficient k can be conveniently obtained by the following equation 2.
[0031]
[Equation 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.
[0033]
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. 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.
[0034]
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.
[0035]
The value of p may be that the digital still camera itself automatically determines and automatically sets the scene of the captured image based on the detection values of various sensors, and the user designates the scene type with the operation unit 21 shown in FIG. By doing so, the value of p may be set.
[0036]
FIG. 4 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.
[0037]
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”.
[0038]
Thus, according to 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, it is possible to generate an image with a wide white balance and a wide dynamic range. Become. 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.
[0039]
In the above-described embodiment, an example in which a high-output image (high-sensitivity image) and a low-output image (low-sensitivity image) captured by a digital still camera are combined in the digital still camera has been described. The high-sensitivity image data and the low-sensitivity image data are stored in a memory and taken out from the image pickup device, and the high-sensitivity image data and the low-sensitivity image data (CCD-RAW data) are read into a personal computer or the like and described in the above-described embodiment. The present invention can also be applied to the case where image synthesis processing similar to that performed by the digital signal processing unit 26 is performed, and a composite image having a wide dynamic range with white balance adjustment can be generated.
[0040]
In the embodiment described above, an image captured with low-sensitivity pixels is referred to as a low-sensitivity image, and an image captured with high-sensitivity pixels is referred to as a high-sensitivity image. However, the present invention is limited to combining images with different sensitivities. The present invention is not limited to this, and can also be applied to a case where a plurality of captured images that are images captured by the same pixel and have different aperture amounts are combined. For example, when a plurality of still images with high contrast are taken continuously with exposure, the image taken with a wide aperture aperture is the above-mentioned high output image because the output level from each pixel of the solid-state image sensor is high, An image picked up with a narrow aperture with a small opening amount is the above-described low output image because the output level from each pixel is lower than that of the high output image. The above embodiment can also be applied to the case where these two image data are combined.
[0041]
【The invention's effect】
According to the present invention, it is possible to synthesize an image with a wide dynamic range in accordance with a scene and with white balance.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of a digital still camera according to an embodiment of the present invention.
2 is a diagram illustrating a pixel arrangement example of the solid-state imaging device illustrated in FIG. 1;
FIG. 3 is a detailed configuration diagram of a digital signal processing unit shown in FIG. 1;
FIG. 4 is a diagram illustrating a change in dynamic range.
FIG. 5 is a pixel arrangement diagram according to another embodiment of the solid-state imaging device.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Pixel 2 Low sensitivity pixel 3 High sensitivity pixel 10 Lens 11 Solid-state image sensor 15 CPU
26 Digital signal processing units 43a and 43b Gamma correction circuit 44 Image composition processing circuit A Characteristic line of large total gain (low dynamic range) B Characteristic line of small total gain (dynamic range large)

Claims (5)

高出力画像データと低出力画像データとを画像合成する画像合成方法において、シーンに応じたトータルゲインを高出力画像データと低出力画像データとの加算データに乗算して合成画像データとすることを特徴とする画像合成方法。In an image composition method for compositing high output image data and low output image data, the sum of the high output image data and low output image data is multiplied by the total gain corresponding to the scene to obtain composite image data. A characteristic image composition method. 高出力画像データが或る値を越える範囲で、シーンに応じたトータルゲインを高出力画像データと低出力画像データとの加算データに乗算することを特徴とする請求項1に記載の画像合成方法。2. The image composition method according to claim 1, wherein the sum of the high output image data and the low output image data is multiplied by a total gain corresponding to a scene within a range in which the high output image data exceeds a certain value. . 高出力画像データが或る値を越える範囲とは、トータルゲインpの値が、任意数α−係数値k×(ガンマ補正後の高出力画像データhigh/閾値th)の値を越える範囲であることを特徴とする請求項2に記載の画像合成方法。The range in which the high output image data exceeds a certain value is a range in which the value of the total gain p exceeds the value of an arbitrary number α-coefficient value k × (high output image data high / threshold th after gamma correction). The image synthesizing method according to claim 2. 前記係数値k=0.2であり、前記任意数α=1であり、コントラストの高いシーンのときp=0.8とし、曇りや日陰のシーンのときp=0.86とし、室内蛍光灯下のシーンではp=0.9とすることを特徴とする請求項3に記載の画像合成方法。The coefficient value k = 0.2, the arbitrary number α = 1, p = 0.8 for a high contrast scene, p = 0.86 for a cloudy or shaded scene, 4. The image composition method according to claim 3, wherein p = 0.9 is set in the lower scene. 高出力画像データと低出力画像データとを画像合成し出力する撮像装置において、シーンに応じたトータルゲインを高出力画像データと低出力画像データとの加算データに乗算して合成画像データとして出力する画像合成手段を備えたことを特徴とする撮像装置。In an imaging device that synthesizes and outputs high-output image data and low-output image data, the sum of the high-output image data and low-output image data is multiplied by the total gain corresponding to the scene and output as composite image data An image pickup apparatus comprising an image composition unit.
JP2002212517A 2002-06-24 2002-07-22 Image composition method and imaging apparatus Expired - Fee Related JP4015492B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2002212517A JP4015492B2 (en) 2002-07-22 2002-07-22 Image composition method and imaging apparatus
US10/601,654 US7508421B2 (en) 2002-06-24 2003-06-24 Image pickup apparatus and image processing method
US11/606,080 US20070070223A1 (en) 2002-06-24 2006-11-30 Image pickup apparatus and image processing method
US11/606,087 US7750950B2 (en) 2002-06-24 2006-11-30 Image pickup apparatus and image processing method
US11/606,078 US20070076103A1 (en) 2002-06-24 2006-11-30 Image pickup apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002212517A JP4015492B2 (en) 2002-07-22 2002-07-22 Image composition method and imaging apparatus

Publications (2)

Publication Number Publication Date
JP2004056568A true JP2004056568A (en) 2004-02-19
JP4015492B2 JP4015492B2 (en) 2007-11-28

Family

ID=31935428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002212517A Expired - Fee Related JP4015492B2 (en) 2002-06-24 2002-07-22 Image composition method and imaging apparatus

Country Status (1)

Country Link
JP (1) JP4015492B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1770983A3 (en) * 2005-09-28 2010-09-29 Sony Corporation Imaging apparatus and image processor
US7957588B2 (en) 2004-07-07 2011-06-07 Nikon Corporation Image processor and computer program product
US8848073B2 (en) 2009-09-16 2014-09-30 Sony Corporation Solid-state imaging device and electronic apparatus
EP3557862A1 (en) 2018-04-20 2019-10-23 Canon Kabushiki Kaisha Image processing apparatus, information display apparatus, control method, and program
US11184594B2 (en) 2018-04-20 2021-11-23 Canon Kabushiki Kaisha Image processing apparatus, information display apparatus, control method, and computer-readable storage medium for improving image visibility

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7957588B2 (en) 2004-07-07 2011-06-07 Nikon Corporation Image processor and computer program product
EP1770983A3 (en) * 2005-09-28 2010-09-29 Sony Corporation Imaging apparatus and image processor
KR101325344B1 (en) * 2005-09-28 2013-11-08 소니 주식회사 Imaging apparatus, image processor and method, and computer-readable recording medium having image processing program recorded thereon
US8848073B2 (en) 2009-09-16 2014-09-30 Sony Corporation Solid-state imaging device and electronic apparatus
US9288410B2 (en) 2009-09-16 2016-03-15 Sony Corporation Solid-state imaging device and electronic apparatus
EP3557862A1 (en) 2018-04-20 2019-10-23 Canon Kabushiki Kaisha Image processing apparatus, information display apparatus, control method, and program
US10887511B2 (en) 2018-04-20 2021-01-05 Canon Kabushiki Kaisha Image processing apparatus, information display apparatus, control method, and computer-readable storage medium that output a combined image based on brightness values of pixels in an image
US11184594B2 (en) 2018-04-20 2021-11-23 Canon Kabushiki Kaisha Image processing apparatus, information display apparatus, control method, and computer-readable storage medium for improving image visibility

Also Published As

Publication number Publication date
JP4015492B2 (en) 2007-11-28

Similar Documents

Publication Publication Date Title
JP4004943B2 (en) Image composition method and imaging apparatus
US7626619B2 (en) Digital camera
JP4025207B2 (en) Solid-state image sensor and digital camera
US20070076103A1 (en) Image pickup apparatus and image processing method
US7479991B2 (en) Digital camera, and signal processing method and signal processing apparatus for the same
JP2004328140A (en) Solid state imaging device and digital camera
JP2004186879A (en) Solid-state imaging unit and digital camera
JP4150599B2 (en) Digital camera with exposure compensation
JP4015492B2 (en) Image composition method and imaging apparatus
JP4178046B2 (en) Digital camera
JP2006025167A (en) Imaging processing method, imaging processing circuit, and imaging apparatus
JP2004048562A (en) Noise reduction circuit and imaging apparatus
JP3977260B2 (en) Digital camera and recorded image data recording method
JP4307862B2 (en) Signal processing method, signal processing circuit, and imaging apparatus
JP2004120511A (en) Imaging apparatus
JP4604098B2 (en) Digital camera
JP2004048563A (en) Imaging device and image processing method
JP2004247873A (en) Picture display program
JP2004274473A (en) Digital camera
JP4105556B2 (en) Digital camera and recorded image data recording method
JP2004072196A (en) Imaging apparatus and image signal processing method
JP2004222162A (en) Image composition method and digital camera
JP2004221739A (en) Imaging apparatus
JP2004159170A (en) Digital camera, pick-up image data recording method and image signal processing method
JP2000278590A (en) Digital camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050208

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

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070306

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070328

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070517

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070620

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070810

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070913

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

Free format text: PAYMENT UNTIL: 20100921

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4015492

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100921

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110921

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20120921

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20130921

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees