JP4240256B2 - Electronic camera - Google Patents
Electronic camera Download PDFInfo
- Publication number
- JP4240256B2 JP4240256B2 JP2000006401A JP2000006401A JP4240256B2 JP 4240256 B2 JP4240256 B2 JP 4240256B2 JP 2000006401 A JP2000006401 A JP 2000006401A JP 2000006401 A JP2000006401 A JP 2000006401A JP 4240256 B2 JP4240256 B2 JP 4240256B2
- Authority
- JP
- Japan
- Prior art keywords
- primary color
- data
- image
- evaluation value
- linear matrix
- 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
Description
【0001】
【発明の属する技術分野】
本発明は電子カメラに係り、特に撮像画像の色再現性を改善するためのリニアマトリックス変換手段を備えた電子カメラに関する。
【0002】
【従来の技術】
従来の電子カメラでは固体撮像素子からの出力信号をR、G、Bの原色信号に分離して出力しても、色相や色の飽和度などの色再現性の点で必ずしも十分とは言えず、また、輝度信号と比較して空間周波数の帯域幅が狭く、画質の点で満足のいく再生画像が得られないという問題があった。このような信号の色再現性を改善する目的で入力RGB信号を変換して補正されたRGB出力信号を得るために、特開平11−191893号に示されているようなリニアマトリックスという回路が用いられている。
【0003】
また、特開平5−236492号の公報には、3種の原色信号入力RIN、GIN、BINに対し、3個の差動増幅器を用いるとともに、マイクロコンピュータで設定する3個の補正データを用いて原色出力信号ROUT 、GOUT 、BOUT を得るカラービデオカメラが示されている。
【0004】
【発明が解決しようとする課題】
しかしながら、従来の特開平11−191893号に示されているリニアマトリックス回路は、ビデオカメラの信号処理系のうちの用いられている場所に関する記載が無く、ホワイトバランス等の信号処理の過程で色相の誤調節や画像データに含まれるノイズを増幅してしまう可能性があった。
【0005】
また、特開平5−236492号の公報に示されているカラービデオカメラでは、CCDから出力した画像信号をCDS回路に伝送して色信号C1、C2を取り出し、色分離マトリックス回路にてR、G、Bの原色信号とYH の輝度信号とを生成してゲインコントロール回路に伝送してホワイトバランスを自動調節してからリニアマトリックス回路にて各カラーフィルタの分光透過率に応じた補正係数に基づいてマトリックス演算を行っていた。そのため、リニアマトリックス回路の前段におけるホワイトバランスの自動調節を行う過程で画像データのゲインを上げる際に色相が変化してしまうとともにノイズも一緒に増幅してしまい、色の再現性が悪くノイズが目立つ画像データを生成してしまう可能性があった。なお、色の再現性が悪い画像データに基づいて画像を用紙にプリントする際には、自動または手動操作にてプリント画像の色補正を実施する必要があった。
【0006】
本発明は、このような事情に鑑みてなされたもので、ホワイトバランス等のRGBのゲイン調節を実施する以前の段階でリニアマトリックス変換による補正を実施することによって、ノイズが少なく色の再現性が良好で混色を生じない画像が得られる電子カメラを提供することを目的としている。
【0007】
【課題を解決するための手段】
本発明は前記目的を達成するために、撮像素子を用いて被写体像を撮像し、該撮像により取得される複数の原色信号の画像データを出力する撮像手段と、前記撮像手段から出力された原色信号の画像データに対して画像処理を実施して新たな原色信号の画像データを出力する画像処理手段と、を備え、前記画像処理手段は、前記撮像素子の光電変換特性を前記原色信号の画像データに対して補正変換するリニアマトリックス変換手段と、前記リニアマトリックス変換を行った後に原色信号のゲインを調節するホワイトバランス調節手段と、前記リニアマトリックス変換を行った後の原色信号であって、前記ホワイトバランス調節手段によってホワイトバランス調節される前の原色信号を入力し、該原色信号に基づいて自動露出調節を実施するための評価値を算出する評価値算出手段と、を備えたことを特徴としている。
【0008】
本発明によれば、撮像素子を用いて被写体像を撮像し該撮像により取得される複数の原色信号の画像データを出力する撮像手段と、前記撮像手段から出力された原色信号の画像データに対して画像処理を実施して新たな原色信号の画像データを出力する画像処理手段とを備え、前記画像処理手段は撮像素子の光電変換特性を前記原色信号の画像データに対して補正変換するリニアマトリックス変換手段と、前記リニアマトリックス変換を行った後に原色信号のゲインを調節するホワイトバランス調節手段とを含むので、ノイズが少なく色の再現性が良好な電子カメラを提供することが可能となる。
【0009】
【発明の実施の形態】
以下添付図面に従って、本発明に係る電子カメラの好ましい実施の形態について詳説する。
【0010】
図1は、電子カメラの撮像信号の処理を示す流れ図である。
【0011】
同図によれば、電子カメラ10の撮像手段は、被写体像11をCCD(固体撮像素子)12に結像するレンズ14と、CCD12に到達する光量を調節する絞り16と、結像した被写体像を電荷に変換するための光電変換素子を備えるとともに結像した被写体像の光量に応じた電荷を垂直転送及び水平転送を行って出力するCCD12と、CCD12から出力された信号をフィードスルーレベルとデータレベルとに分離するCDS処理部(相関2重サンプリング処理部)20と、CCD12のフィルタ配列に対応した点順次のアナログのR、G、Bの信号に同時化変換して出力する3線化処理部22とが設けられている。
【0012】
また、前記アナログのR、G、B信号をデジタルデータに変換するA/D変換器24と、R、G、BのうちのRの原色データに対して他のG及びBの原色データのうちの少なくともいずれか一つと演算してR’の新たな原色データを求めるとともに、他のG及びBの原色データに対しても同様にG’、B’の新たな原色データを求めるリニアマトリックス変換手段30と、各色信号から黒レベルの参照データを減算するオプティカルブラック処理手段32とが設けられている。
【0013】
リニアマトリックス変換手段30の後段には、ホワイトバランス等を補正するRGBゲイン調節手段34と、ガンマ補正を行うγ処理手段36と、R’、G’、B’の原色データを輝度データYや色差データCに変換するYC変換手段38と、色差データCのクロマゲインを調節するAPCクロマゲイン調節部40と、YC変換された画像データをJPEG等の書式に従って指定された割合にデータ量を減少させる圧縮手段42と、画像データを含む情報を記憶する記録媒体44に対して情報を読み書きするためのインターフェースである記録I/F46と、画像データを含む情報を他の機器に無線又は有線の通信手段を用いて通信する通信I/F48と、リニアマトリックス変換手段30の後段にはR’、B’、C’の画像データからオートフォーカスや自動露出(AE)を実施する際の評価値を算出するオート評価値算出手段50とが設けられている。
【0014】
オート評価値算出手段50では、全画面のRGB画像データから輝度データYを生成して所定の領域毎に分割して各評価値を算出してもよいし、簡易的に全画面の緑色の原色データGを所定の領域毎に分割して各評価値を算出してもよい。
【0015】
次に、撮影時においてCCD12から得られる撮像信号が記録媒体44に記録されるまでの流れについて説明する。
【0016】
図1に示されているように、CCD12上に結像した被写体像は画像信号に光電変換されてCDS回路20に出力される。CDS回路20では、画像信号を相関2重サンプリングしてフィードスルーレベルとデータレベルとに分離して出力する。CCD12が単板で構成されている場合には、1つの固体撮像素子(CCD12)の受光面には色分離フィルタが組み込まれている。この色分離フィルタは、例えば赤色、緑色、青色の原色を各々透過する微妙なカラーフィルタ、あるいはシアン、マゼンタ、イエローの補色を各々透過する微妙なカラーフィルタを固体撮像素子の各画素の前面を覆うように所定のパターンで配列されている。したがって、CCD12からは、前記カラーフィルタの配列パターンに従った個別の色信号が1ラインずつ順次出力される。次の3線化処理部22では、相関2重サンプリングされたCCD12のカラーフィルタの配列に従った画像信号をマトリックス演算してR、G、Bの各色分離した信号を得る。
【0017】
また、CCD12が各原色フィルタ毎に複数設けられている場合には、撮像素子の構成に応じて相関2重サンプリングを行って各原色信号を得る。
【0018】
R、G、Bの各色信号は、次のA/D変換器24でA/D変換されてデジタルの画像データとなる。色分離が終了したR、G、B原色信号は、CCD12に設けられている個々のカラーフィルタの分光透過率に影響された値となっているため、実際の被写体が発している色相や色の飽和度を正しく反映したものとは異なっている。そこで、リニアマトリックス変換手段30ではA/D変換器から得たR、G、Bデータを入力して光電変換素子の光電変換特性に合わせて色相、色、輝度を変換、補正して新たなRGB原色データを出力する。
【0019】
以下に、リニアマトリックス変換手段30でR、G、Bの各画像データからR’、G’、B’の新たな原色データを求める処理の演算式の例を示す。
【0020】
【数1】
但し、上記a〜iは定数。
【0021】
上記の原色補正処理を行った画像データは次のオプティカルブラック処理手段32にて、原色データから、CCD12が発する暗電流に相当する黒レベルデータを減算する等の演算処理を行って、ゆらぎを含む暗電流分が補正された画像信号を得るようにしている。
【0022】
次に画像データはRGBゲイン調節手段34にて、オート評価値算出手段50で算出した輝度や色相に関する評価値を参照して各原色データのゲインをそれぞれ調節してホワイトバランス調節を行い、γ処理手段36の非直線増幅手段を用いて階調特性を変換し、YC変換手段38にてRGBの原色データから輝度データYと色差データCを生成する。
【0023】
次のAPCクロマゲイン調節部40にて画像の輪郭補正と色差データの補正を実施するとともに各原色データを増幅して輝度レベル補正を行って、圧縮手段42にて画像データの記録又は送信用に画像データの容量を減少させる圧縮処理を実施する。圧縮された画像データは記録I/F46を介して記録媒体44に記録される。また、画像データを他の機器に転送する場合には、圧縮された画像データは通信I/F48を介して無線又は有線の通信手段により他の機器に転送される。
【0024】
図2にカラーCCDの光電変換特性例と理想撮像特性との関係を示す。
【0025】
同図には、各原色信号のカラーCCDの光電変換特性Rc、Gc、Bcと、各原色信号の理想撮像特性Rn、Gn、Bnとが示されている。
【0026】
同図に示すように、例えばカラーCCDの青色の光電変換特性Bcには波長の長い緑色や赤色の情報も含まれている。同様に他のカラーCCDの光電変換特性Rc、Gcにも他の色の情報が含まれている。従って、Rc、Gc、Bcのみを用いて各原色信号を増幅してホワイトバランスを調節してしまうと、理想撮像特性Rn、Gn、Bnとは一致せずに色のバランスが崩れてしまう。ホワイトバランス調節にて、各原色信号に対して常に一定のゲイン補正を行っていて且つ補正誤差が全く無い場合には、このバランスが崩れた状態でリニアマトリックス変換による補正を行っても正しく色補正を行うことが可能であるが、ホワイトバランスに調節誤差があったり被写体の色温度の補正を適宜調節する場合にはリニアマトリックス変換を行うとホワイトバランスのずれが強調されたり被写体像の色が再現されなくなってしまう。
【0027】
そこで、本発明ではホワイトバランス等のゲイン調節を実施する以前の段階でリニアマトリックス変換を実施することによって、ノイズの増幅を少なくするとともに色の再現性を理想撮像特性Rn、Gn、Bnに近い良好な状態に保つことが可能となる。
【0028】
上記の説明では、リニアマトリックス変換手段30の後段にオプティカルブラック処理手段32を設けた実施例で示したが、本発明はこれに限定されるものではなく、リニアマトリックス変換手段30の前段に設けてもよいし、3線化処理部22の前段に設けててもよい。この場合、オプティカルブラック処理をA/D変換器24の前段においてアナログ処理手段にて実施してもよいし、A/D変換器24の後段においてデジタル処理手段にて実施してもよい。また、APCクロマゲイン調節部40までの信号処理をアナログ処理で実施してもよい。
【0029】
図3は電子カメラの撮像信号の処理の他の実施の形態を示す流れ図である。
【0030】
同図に示されている構成で、前記図1に示されている構成と重複する部分の説明は省略し、異なる部分のみ以下に説明する。
【0031】
図3によれば、電子カメラ10のCCD12からは緑色と赤色と青色との原色信号がCCD12のフィルタ配列に応じて点順次に出力される。CCD12から出力された信号をフィードスルーレベルとデータレベルとに分離するとともに、CCD12のフィルタ配列に応じて出力されるGrとGbとの2種類の緑色の原色信号を含むGと、赤色Rと青色Bの原色信号とに分離して出力するCDS処理部(相関2重サンプリング処理部)120とが設けられている。
【0032】
また、前記緑色の原色信号Gと、赤色Rと青色Bの原色信号とが含まれるR/B信号とをデジタルデータに変換するA/D変換器124と、G、R/BのデータのうちのRの原色データに対して緑色のGrを用いて演算してRmの新たな原色データを算出するとともに、他の青色のBの原色データに対しても同様にBmの新たな原色データを算出するリニアマトリックス変換手段130と、各画素別の色データRm、Grm、Gbm、Bmから独立して黒レベルの参照データを減算してRo、Gro、Gbo、Boの各画素別の原色データを出力するオプティカルブラック処理手段132とが設けられている。
【0033】
リニアマトリックス変換手段130の後段には、全画面の画像データからオートフォーカスや自動露出(AE)を実施する際の評価値を算出するオート評価値算出手段150と、ホワイトバランス等を補正してCCD12の画素毎のRg、Grg、Gbg、Bgの原色データを出力するRGBゲイン調節手段134とが設けられている。
【0034】
次に、撮影時においてCCD12から得られる撮像信号が記録する形態まで変換されてゆく流れについて説明する。
【0035】
図3に示されているように、CCD12上に結像した被写体像は画像信号に光電変換されてCDS回路120に出力される。CDS回路120では、画像信号を相関2重サンプリングしてフィードスルーレベルとデータレベルとに分離するとともに、GrとGbとを含む緑色の原色信号Gと、赤色R及び青色Gとから構成されるR/G信号とを出力する。
【0036】
R、Gr、Gb、Bの各色信号は、次のA/D変換器124でA/D変換されてデジタルの画像データとなる。色分離が終了したR、Gr、Gb、B原色信号は、CCD12に設けられている個々のカラーフィルタの分光透過率に影響された値となっているため、実際の被写体が発している色相や色の飽和度を正しく反映したものとは異なっている。そこで、リニアマトリックス変換手段130ではA/D変換器から得たR、Gr、Gb、Bの原色データを入力して光電変換素子の光電変換特性に合わせて色相、色、輝度を変換、補正して1線化した新たなRm、Grm、Bm、Gbmの各原色データを出力する。ここでこのように1線化した点順次の画像データを出力することにより、以降の変換手段を全て1系統の回路で構成することが可能となるので電子カメラ10の信号処理回路を構成する上で好都合となる。
【0037】
リニアマトリックス変換手段130におけるリニアマトリックス変換式は、式(1)に示した計算式を用いてもよいが、下式に示すような簡略化した演算を行っても十分な効果を得ることが可能である。
【0038】
【数2】
Rm=R−α×Gr …(2)
【0039】
【数3】
Grm=Gr …(3)
【0040】
【数4】
Bm=B−β×Gb …(4)
【0041】
【数5】
Gbm=Gm …(5)
但し、αはRデータの補正ゲイン値としβはBデータの補正ゲイン値とし、−0.25〜+0.25程度の値とするとよい。
【0042】
上記の原色補正処理を行った画像データは次のオプティカルブラック処理手段132にて、CCD12から出力される画素に応じた原色画像信号からCCD12が発する暗電流に相当する黒レベルデータを減算する等の演算処理を行って、ゆらぎを含む暗電流分が補正されたRo、Gro、Bo、Gboの各原色データを得るようにしている。但し、オプティカルブラック処理手段132の前段のリニアマトリックス変換手段130にてαとβの係数を用いて原色データを変換した後なので、本オプティカルブラック処理手段132では下式に示すような補正を行う必要がある。
【0043】
【数6】
Ro=Rm−(Roff−α×Groff) …(6)
【0044】
【数7】
Gro=Grm−Groff …(7)
【0045】
【数8】
Bo=Bm−(Boff−β×Gboff) …(8)
【0046】
【数9】
Gbo=Gbm−Gboff …(9)
但し、Roff、Groff、Boff、Gboffは、R、Gr、B、Gbの黒レベルデータオフセット値で、0〜255程度の値とするとよい。
【0047】
上記の説明では、リニアマトリックス変換手段130の後段にオプティカルブラック処理手段132を設けた実施例で示したが、本発明はこれに限定されるものではなく、リニアマトリックス変換手段130の前段に設けてもよい。但し、電子カメラ10の画像処理手段の回路構成によっては、オプティカルブラック処理を実施した画像データを格納した後にリニアマトリックス変換をする際に、再び画像データを読み出さねばならず、画像処理に要する時間が長くなるという不具合を生ずる可能性もある。
【0048】
次にRGBゲイン調節手段134にて、オート評価値算出手段150で算出した輝度や色相に関する評価値を参照してCCD12の画素別に各原色データのゲインをそれぞれ調節してホワイトバランス調節を行い、Rg、Grg、Bg、Gbgの各原色データを出力する。
【0049】
なお、リニアマトリックス変換手段130にてα’とβ’との係数を用いて原色データを変換した後なので本RGBゲイン調節手段134では下式に示すような補正を行う必要がある。
【0050】
【数10】
Rg=Ro×Rgain×1/(1−α’) …(10)
【0051】
【数11】
Grg=Gro×Grgain …(11)
【0052】
【数12】
Bg=Bo×Bgain×1/(1−β’) …(12)
【0053】
【数13】
Gbg=Gbo×Gbgain …(13)
但し、Rgain、Grgain、Bgain、GbgainはR、Gr、B、Gbデータのホワイトバランス用のゲイン値で、例えば0〜8倍の値を設定するとよい。また、α’=Kα、β’=Lβ(0≦K、L)とする。
【0054】
図3に示した実施例では、RGBゲイン調節手段134にて入力された12ビットの原色データをゲイン調節手段134で演算する際に下位の2ビットを丸めて10ビットのデータに変換して出力しているが、本発明はこの方法に限定されるものではない。
【0055】
次のγ処理手段36では、10ビットデータを8ビットデータに非直線増幅手段を用いて階調特性を変換し、YC変換手段38にてRGBの原色データから輝度データYと色差データCを生成する。以降の信号処理は図1に示した方法と同様に実施する。なお、γ処理手段における階調変換は、予め記憶されている変換テーブルを用いて階調変換を行うテーブル変換方式を用いてもよい。
【0056】
オート系評価値算出手段150にて自動露出(AE)の評価値を算出する際に、リニアマトリックス変換を実施した原色データに基づいて積算値を算出した後に下記に示す演算を行うことによって、積算した結果と信号処理及び記録する各データとの相関が取りやすく、またAE評価値のホワイトバランスが取りやすくなるとともに、CCD12のダイナミックレンジ特性を有効に利用した撮影を行うためのAE値を算出することが可能となる。
【0057】
なお、利用する画像データはリニアマトリックス変換手段130にてα’とβ’との係数を用いて原色データを変換した後なので、本オート系評価値算出手段150では必要に応じて下式に示すような補正を行ってもよい。
【0058】
【数14】
R評価値=R積算値×1/(1−α’) …(14)
【0059】
【数15】
G評価値=G積算値 …(15)
【0060】
【数16】
B評価値=B積算値×1/(1−β’) …(16)
但し、α’=Kα、β’=Lβ(0≦K、L)とする。
【0061】
図3に示した例では、オート系評価値算出手段150ではオプティカルブラック処理を実施していない画像データを用いて評価値を算出しているが、一般にオプティカルブラック処理による補正量は僅かであることと安定した値であるため、オート系の評価値を算出する際にオプティカルブラック処理は不要である。また、より高精度の評価値を算出する必要がある場合にはオート系評価値算出手段150内にオフセット手段を設けてオプティカルブラック処理を実施してもよい。
【0062】
【発明の効果】
以上説明したように本発明に係る電子カメラによれば、撮像素子を用いて被写体像を撮像し該撮像により取得される複数の原色信号の画像データを出力する撮像手段と、前記撮像手段から出力された原色信号の画像データに対して画像処理を実施して新たな原色信号の画像データを出力する画像処理手段とを備え、前記画像処理手段は撮像素子の光電変換特性を前記原色信号の画像データに対して補正変換するリニアマトリックス変換手段と、前記リニアマトリックス変換を行った後に原色信号のゲインを調節するホワイトバランス調節手段とを含むので、ノイズが少なく色の再現性が良好な電子カメラを提供することが可能となる。
【0063】
また、上記のように画像データの色の再現性を良好に保つことにより、画像データに基づいて用紙に画像をプリントする際に色の補正を少なくしたり、色の補正が不要にすることが可能となる。
【図面の簡単な説明】
【図1】電子カメラの撮像信号の処理を示す流れ図
【図2】カラーCCDの光電変換特性と理想撮像特性との関係を示す図
【図3】電子カメラの撮像信号の処理の他の実施の形態を示す流れ図
【符号の説明】
10…電子カメラ、12…CCD(固体撮像素子)、14…レンズ、16…絞り、20…CDS処理部、22…3線化処理部、24…A/D変換器、30…リニアマトリックス変換手段、32…オプティカルブラック処理手段、34…RGBゲイン調節手段、36…γ処理手段、38…YC変換手段、40…APCクロマゲイン調節部、42…圧縮手段、44…記録媒体、46…記録I/F、48…通信I/F、50…オート評価値算出手段、120…CDS処理部、124…A/D変換器、130…リニアマトリックス変換手段、132…オプティカルブラック処理手段、134…RGBゲイン調節手段、136…γ処理手段、150…オート評価値算出手段[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an electronic camera, and more particularly to an electronic camera including linear matrix conversion means for improving color reproducibility of a captured image.
[0002]
[Prior art]
In conventional electronic cameras, it is not necessarily sufficient in terms of color reproducibility such as hue and color saturation even if the output signal from the solid-state imaging device is separated into R, G, and B primary color signals and output. Also, there is a problem that the spatial frequency bandwidth is narrower than that of the luminance signal, and a reproduced image that is satisfactory in terms of image quality cannot be obtained. In order to obtain a corrected RGB output signal by converting the input RGB signal for the purpose of improving the color reproducibility of such a signal, a circuit called a linear matrix as shown in JP-A-11-191893 is used. It has been.
[0003]
Japanese Patent Application Laid-Open No. 5-236492 uses three differential amplifiers for three kinds of primary color signal inputs R IN , G IN , and B IN and three correction data set by a microcomputer. A color video camera that obtains primary color output signals R OUT , G OUT , and B OUT is shown.
[0004]
[Problems to be solved by the invention]
However, the conventional linear matrix circuit disclosed in Japanese Patent Application Laid-Open No. 11-191893 has no description about the place where it is used in the signal processing system of the video camera, and the hue of the signal is processed in the process of signal processing such as white balance. There was a possibility of amplifying noise included in misadjustment or image data.
[0005]
In the color video camera disclosed in Japanese Patent Laid-Open No. 5-236492, the image signal output from the CCD is transmitted to the CDS circuit to extract the color signals C1 and C2, and R, G are extracted by the color separation matrix circuit. The primary color signal of B and the luminance signal of Y H are generated and transmitted to the gain control circuit to automatically adjust the white balance, and then based on the correction coefficient corresponding to the spectral transmittance of each color filter in the linear matrix circuit. Matrix operations were performed. Therefore, when the gain of the image data is increased in the process of automatically adjusting the white balance in the previous stage of the linear matrix circuit, the hue changes and the noise is amplified together, and the color reproducibility is poor and the noise is conspicuous. There was a possibility of generating image data. When an image is printed on paper based on image data with poor color reproducibility, it is necessary to perform color correction of the print image automatically or manually.
[0006]
The present invention has been made in view of such circumstances, and by performing correction by linear matrix conversion at a stage prior to performing RGB gain adjustment such as white balance, color reproducibility is reduced with less noise. An object of the present invention is to provide an electronic camera capable of obtaining a good image that does not cause color mixing.
[0007]
[Means for Solving the Problems]
For the present invention to achieve the above object, it captures a subject image using an imaging device, an imaging unit for outputting image data of a plurality of primary color signals obtained by the imaging, output from the imaging means primaries comprising image processing means for outputting the image data of a new primary color signals by carrying out image processing on the signal image data, wherein the image processing means, the photoelectric conversion characteristics of the image pickup element and said primary color signal of the image Linear matrix conversion means for correcting and converting data, white balance adjustment means for adjusting the gain of the primary color signal after the linear matrix conversion, and the primary color signal after the linear matrix conversion, The primary color signal before white balance is adjusted by the white balance adjustment means is input, and automatic exposure adjustment is performed based on the primary color signal. Is characterized by comprising an evaluation value calculation means for calculating an evaluation value of the order, the.
[0008]
According to the present invention, an image pickup unit that picks up a subject image using an image pickup device and outputs image data of a plurality of primary color signals acquired by the image pickup, and image data of the primary color signal output from the image pickup unit Image processing means for performing image processing and outputting image data of a new primary color signal, and the image processing means corrects and converts the photoelectric conversion characteristics of the image sensor with respect to the image data of the primary color signal. Since the conversion means and the white balance adjustment means for adjusting the gain of the primary color signal after performing the linear matrix conversion, it is possible to provide an electronic camera with less noise and good color reproducibility.
[0009]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, preferred embodiments of an electronic camera according to the present invention will be described in detail with reference to the accompanying drawings.
[0010]
FIG. 1 is a flowchart showing processing of an image signal of an electronic camera.
[0011]
According to the figure, the image pickup means of the
[0012]
An A /
[0013]
In the subsequent stage of the linear matrix conversion means 30, an RGB gain adjustment means 34 for correcting white balance and the like, a γ processing means 36 for performing gamma correction, primary color data of R ′, G ′, and B ′ as luminance data Y and color difference. YC conversion means 38 for converting to data C, APC chroma
[0014]
The auto evaluation value calculation means 50 may generate the luminance data Y from the RGB image data of the entire screen and divide it into predetermined areas to calculate each evaluation value, or simply the green primary color of the entire screen. Each evaluation value may be calculated by dividing the data G into predetermined areas.
[0015]
Next, a flow until an imaging signal obtained from the
[0016]
As shown in FIG. 1, the subject image formed on the
[0017]
When a plurality of
[0018]
The R, G, and B color signals are A / D converted by the next A /
[0019]
Hereinafter, an example of an arithmetic expression of processing for obtaining new primary color data of R ′, G ′, and B ′ from the R, G, and B image data by the linear
[0020]
[Expression 1]
Where a to i are constants.
[0021]
The image data subjected to the above primary color correction processing is subjected to arithmetic processing such as subtraction of black level data corresponding to the dark current generated by the
[0022]
Next, the RGB gain adjusting means 34 adjusts the white balance by adjusting the gain of each primary color data with reference to the evaluation values relating to the luminance and hue calculated by the automatic evaluation value calculating means 50, and the γ processing. The gradation characteristics are converted using the non-linear amplification means of the
[0023]
The next APC chroma
[0024]
FIG. 2 shows a relationship between an example of photoelectric conversion characteristics of a color CCD and ideal imaging characteristics.
[0025]
This figure shows photoelectric conversion characteristics Rc, Gc, Bc of the color CCD of each primary color signal and ideal imaging characteristics Rn, Gn, Bn of each primary color signal.
[0026]
As shown in the figure, for example, the blue photoelectric conversion characteristic Bc of the color CCD includes green and red information having a long wavelength. Similarly, photoelectric conversion characteristics Rc and Gc of other color CCDs also contain information on other colors. Accordingly, if each primary color signal is amplified using only Rc, Gc, and Bc to adjust the white balance, the ideal imaging characteristics Rn, Gn, and Bn do not match and the color balance is lost. If white balance adjustment always performs constant gain correction for each primary color signal and there is no correction error, correct color correction even if correction is performed using linear matrix conversion while this balance is lost. However, if there is an adjustment error in the white balance or if the correction of the color temperature of the subject is adjusted as appropriate, linear matrix conversion will enhance the white balance deviation or reproduce the subject image color. It will not be done.
[0027]
Therefore, in the present invention, linear matrix conversion is performed before the gain adjustment such as white balance is performed, so that noise amplification is reduced and color reproducibility is close to ideal imaging characteristics Rn, Gn, and Bn. It is possible to maintain a stable state.
[0028]
In the above description, the optical black processing means 32 is provided in the subsequent stage of the linear matrix conversion means 30, but the present invention is not limited to this, and is provided in the preceding stage of the linear matrix conversion means 30. Alternatively, it may be provided before the three-
[0029]
FIG. 3 is a flowchart showing another embodiment of processing of an image signal of an electronic camera.
[0030]
In the configuration shown in the figure, the description of the parts overlapping with the configuration shown in FIG. 1 is omitted, and only different parts will be described below.
[0031]
According to FIG. 3, primary color signals of green, red, and blue are output from the
[0032]
An A /
[0033]
In the subsequent stage of the linear
[0034]
Next, a flow in which an imaging signal obtained from the
[0035]
As shown in FIG. 3, the subject image formed on the
[0036]
The R, Gr, Gb, and B color signals are A / D converted by the next A /
[0037]
As the linear matrix conversion formula in the linear matrix conversion means 130, the calculation formula shown in the formula (1) may be used, but a sufficient effect can be obtained even by performing a simplified calculation as shown in the following formula. It is.
[0038]
[Expression 2]
Rm = R−α × Gr (2)
[0039]
[Equation 3]
Grm = Gr (3)
[0040]
[Expression 4]
Bm = B−β × Gb (4)
[0041]
[Equation 5]
Gbm = Gm (5)
However, α is a correction gain value for R data, β is a correction gain value for B data, and is preferably set to a value of about −0.25 to +0.25.
[0042]
The image data that has undergone the above primary color correction processing is subtracted by the next optical black processing means 132 from black level data corresponding to the dark current generated by the
[0043]
[Formula 6]
Ro = Rm− (Roff−α × Grot) (6)
[0044]
[Expression 7]
Gro = Grm-Groff (7)
[0045]
[Equation 8]
Bo = Bm− (Boff−β × Gboff) (8)
[0046]
[Equation 9]
Gbo = Gbm−Gboff (9)
However, Roff, Groff, Boff, and Gboff are black level data offset values of R, Gr, B, and Gb, and are preferably set to values of about 0 to 255.
[0047]
In the above description, the optical
[0048]
Next, the RGB gain adjusting means 134 adjusts the white balance by adjusting the gain of each primary color data for each pixel of the
[0049]
Since the primary color data is converted by using the coefficients α ′ and β ′ in the linear matrix conversion means 130, the RGB gain adjustment means 134 needs to perform correction as shown in the following equation.
[0050]
[Expression 10]
Rg = Ro × Rgain × 1 / (1-α ′) (10)
[0051]
[Expression 11]
Grg = Gro × Grgain (11)
[0052]
[Expression 12]
Bg = Bo × Bgain × 1 / (1-β ′) (12)
[0053]
[Formula 13]
Gbg = Gbo × Gbgain (13)
However, Rgain, Grgain, Bgain, and Gbgain are gain values for white balance of R, Gr, B, and Gb data, and may be set to values of, for example, 0 to 8 times. Further, α ′ = Kα and β ′ = Lβ (0 ≦ K, L).
[0054]
In the embodiment shown in FIG. 3, when the 12-bit primary color data input by the RGB gain adjusting means 134 is calculated by the gain adjusting means 134, the lower 2 bits are rounded to be converted into 10-bit data and output. However, the present invention is not limited to this method.
[0055]
In the next γ processing means 36, gradation characteristics are converted from 10-bit data to 8-bit data using a non-linear amplification means, and luminance data Y and color difference data C are generated from RGB primary color data by YC conversion means 38. To do. The subsequent signal processing is performed in the same manner as the method shown in FIG. The gradation conversion in the γ processing means may use a table conversion method that performs gradation conversion using a conversion table stored in advance.
[0056]
When calculating the automatic exposure (AE) evaluation value by the automatic system evaluation value calculating means 150, the integrated value is calculated based on the primary color data subjected to the linear matrix conversion, and then the calculation shown below is performed. It is easy to correlate the result with signal processing and each data to be recorded, and it is easy to obtain the white balance of the AE evaluation value, and calculate an AE value for performing photographing using the dynamic range characteristic of the
[0057]
Since the image data to be used is after the primary color data is converted by using the coefficients of α ′ and β ′ by the linear matrix conversion means 130, the automatic system evaluation value calculation means 150 shows the following equation as necessary. Such correction may be performed.
[0058]
[Expression 14]
R evaluation value = R integrated value × 1 / (1-α ′) (14)
[0059]
[Expression 15]
G evaluation value = G integrated value (15)
[0060]
[Expression 16]
B evaluation value = B integrated value × 1 / (1−β ′) (16)
However, α ′ = Kα and β ′ = Lβ (0 ≦ K, L).
[0061]
In the example shown in FIG. 3, the auto system evaluation value calculation means 150 calculates the evaluation value using image data that has not been subjected to the optical black processing, but generally the correction amount by the optical black processing is very small. Therefore, the optical black process is unnecessary when calculating the evaluation value of the auto system. Further, when it is necessary to calculate an evaluation value with higher accuracy, an offset means may be provided in the auto system evaluation value calculation means 150 to perform the optical black processing.
[0062]
【The invention's effect】
As described above, according to the electronic camera of the present invention, the imaging device that captures the subject image using the imaging device and outputs the image data of the plurality of primary color signals acquired by the imaging, and the output from the imaging device Image processing means for performing image processing on the image data of the primary color signal and outputting image data of a new primary color signal, wherein the image processing means has a photoelectric conversion characteristic of the image sensor as an image of the primary color signal. Since it includes linear matrix conversion means for correcting and converting data and white balance adjustment means for adjusting the gain of the primary color signal after the linear matrix conversion, an electronic camera with low noise and good color reproducibility It becomes possible to provide.
[0063]
Also, by maintaining good color reproducibility of image data as described above, color correction can be reduced or no color correction is required when printing an image on paper based on image data. It becomes possible.
[Brief description of the drawings]
FIG. 1 is a flowchart showing processing of an imaging signal of an electronic camera. FIG. 2 is a diagram showing a relationship between photoelectric conversion characteristics and ideal imaging characteristics of a color CCD. FIG. Flow chart showing form 【Explanation of symbols】
DESCRIPTION OF
Claims (3)
前記撮像手段から出力された原色信号の画像データに対して画像処理を実施して新たな原色信号の画像データを出力する画像処理手段と、
を備え、
前記画像処理手段は、
前記撮像素子の光電変換特性を前記原色信号の画像データに対して補正変換するリニアマトリックス変換手段と、
前記リニアマトリックス変換を行った後に原色信号のゲインを調節するホワイトバランス調節手段と、
前記リニアマトリックス変換を行った後の原色信号であって、前記ホワイトバランス調節手段によってホワイトバランス調節される前の原色信号を入力し、該原色信号に基づいて自動露出調節を実施するための評価値を算出する評価値算出手段と、
を備えたことを特徴とする電子カメラ。Imaging means for imaging a subject image using an imaging element and outputting image data of a plurality of primary color signals acquired by the imaging;
Image processing means for performing image processing on image data of the primary color signal output from the imaging means and outputting image data of a new primary color signal;
With
The image processing means includes
And linear matrix conversion means for correcting converting photoelectric conversion characteristic of the image pickup device with respect to the image data of said primary color signals,
White balance adjusting means for adjusting the gain of the primary color signal after performing the linear matrix conversion ;
An evaluation value for inputting the primary color signal after the linear matrix conversion and before the white balance adjustment by the white balance adjustment means, and performing the automatic exposure adjustment based on the primary color signal An evaluation value calculating means for calculating
Electronic camera comprising the.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000006401A JP4240256B2 (en) | 2000-01-14 | 2000-01-14 | Electronic camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000006401A JP4240256B2 (en) | 2000-01-14 | 2000-01-14 | Electronic camera |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2001197511A JP2001197511A (en) | 2001-07-19 |
JP4240256B2 true JP4240256B2 (en) | 2009-03-18 |
Family
ID=18534937
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000006401A Expired - Fee Related JP4240256B2 (en) | 2000-01-14 | 2000-01-14 | Electronic camera |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4240256B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3950715B2 (en) * | 2002-03-05 | 2007-08-01 | 富士フイルム株式会社 | Solid-state imaging device and imaging apparatus using the same |
JP4544308B2 (en) * | 2008-01-11 | 2010-09-15 | ソニー株式会社 | Image processing apparatus, imaging apparatus, method, and program |
JP4867983B2 (en) * | 2008-12-11 | 2012-02-01 | セイコーエプソン株式会社 | Image signal processing apparatus and method |
JP5158239B2 (en) * | 2011-07-11 | 2013-03-06 | セイコーエプソン株式会社 | Image signal processing apparatus and method |
-
2000
- 2000-01-14 JP JP2000006401A patent/JP4240256B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2001197511A (en) | 2001-07-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6995791B2 (en) | Automatic white balance for digital imaging | |
US7221393B2 (en) | Color imaging device and method | |
US7750950B2 (en) | Image pickup apparatus and image processing method | |
US7102669B2 (en) | Digital color image pre-processing | |
EP0263295B1 (en) | Electronic still camera for compensating color temperature dependency of color video signals | |
US5189511A (en) | Method and apparatus for improving the color rendition of hardcopy images from electronic cameras | |
US20060092444A1 (en) | Matrix coefficient determining method and image input apparatus | |
US7598986B2 (en) | Image pick-up apparatus and white balance control method | |
JP4936686B2 (en) | Image processing | |
US20040126012A1 (en) | Method, apparatus, and recording medium for processing image data to obtain color-balance adjusted image data based on white-balance adjusted image data | |
JP4182735B2 (en) | Facial color correction method, facial color correction apparatus, and imaging device | |
US5404165A (en) | Apparatus and method for processing signals of an imaging device | |
JP4240256B2 (en) | Electronic camera | |
KR20100082452A (en) | Apparatus for processing image signal and method for the same | |
JP4240257B2 (en) | Electronic camera | |
JP3706708B2 (en) | Image forming system and image forming method | |
JP4258752B2 (en) | Printer system and white balance control method thereof, and electronic camera and printer | |
JP4397724B2 (en) | Imaging apparatus, camera, and signal processing method | |
JP4298595B2 (en) | Imaging apparatus and signal processing method thereof | |
JPH0837603A (en) | Image processing device/method | |
JP4258237B2 (en) | Image signal processing device | |
JP2008219117A (en) | Image processor and image processing method | |
JP3121026B2 (en) | Color image processing equipment | |
JP3871681B2 (en) | Imaging apparatus and camera | |
KR100219603B1 (en) | The color tv receiver to output with frame screen compensating by color characteristic to printing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050825 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20061130 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070907 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071107 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071228 |
|
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: 20081204 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20081217 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120109 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: 20120109 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130109 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130109 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140109 Year of fee payment: 5 |
|
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 |