JP2004274482A - Image processing apparatus and imaging system - Google Patents

Image processing apparatus and imaging system Download PDF

Info

Publication number
JP2004274482A
JP2004274482A JP2003063744A JP2003063744A JP2004274482A JP 2004274482 A JP2004274482 A JP 2004274482A JP 2003063744 A JP2003063744 A JP 2003063744A JP 2003063744 A JP2003063744 A JP 2003063744A JP 2004274482 A JP2004274482 A JP 2004274482A
Authority
JP
Japan
Prior art keywords
image
white
color
value
color temperature
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.)
Pending
Application number
JP2003063744A
Other languages
Japanese (ja)
Inventor
Toshiyuki Sano
俊幸 佐野
Koichi Hoshino
功一 星野
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2003063744A priority Critical patent/JP2004274482A/en
Publication of JP2004274482A publication Critical patent/JP2004274482A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Color Television Image Signal Generators (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To enhance the accuracy of white balance processing by improving the discrimination accuracy of a white object part in an image. <P>SOLUTION: A video camera 10 is provided with: an imaging element 11 for imaging an object to acquire an image; a representative hue parameter calculation section 27 for estimating the color temperature of the image from the acquired image; and a white object part discrimination section 29 for variably setting a white discrimination reference to detect the white object part in the image based on estimated color temperature. The video camera 10 uses the white discrimination reference set by the white object part discrimination section 29 to discriminate the white object part in the image, compares a color difference signal of the white object part with the reference value to obtain white balance correction values kr, kb and applies white balance processing to the image by using the white balance correction values. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、画像のホワイトバランスを調整する技術に関し、特に、画像中の白色被写体を判別して画像にホワイトバランス処理を施す技術に関する。
【0002】
【従来の技術】
撮像装置を用いて被写体を撮影すると、例えば、白熱灯の下で撮像したときと太陽光の下で撮像したときとでは、光源の色温度の違いによって、同じ被写体であっても異なる色として撮影される。このような画像中に現れる光源の色温度の影響を軽減するために、撮影によって得られた画像に対してホワイトバランス処理が施される。
【0003】
ホワイトバランス処理では、画像中で白色の被写体を撮影した部分(以下、白被写体部分という)が適正な白に補正されるような補正値を算出し、その補正値を用いて画像全体を補正する。したがって、ホワイトバランス処理の精度を向上させるためには、画像中から白被写体部分を正確に検出する必要がある。
【0004】
従来のホワイトバランス処理では、画像中の白被写体部分を検出するために、画像を構成する各画素の色合いのパラメータ、すなわち色の情報のうちの色相および彩度の情報を同時に表すパラメータ(以下、色合いパラメータという)を用いている。白被写体部分を構成する画素の色合いパラメータは、光源の色温度の変化に従って黒体放射曲線上を推移する。そこで、従来のホワイトバランス処理では、黒体放射曲線の高色温度部分から低色温度部分までを含む領域を白判別基準として、各画素の色合いパラメータがその白判別基準である領域に含まれるか否かによって、それぞれの画素が白被写体部分を構成する画素であるか否かを判別している。
【0005】
このように色合いパラメータを用いて白被写体部分を検出するにあたって、検出精度を向上させるための技術が提案されている。例えば、特許文献1に記載されたホワイトバランス処理では、被写体を撮影したときの撮影条件(カメラのEV値、シャッタースピード、F値およびフラッシュのON/OFF情報)や被写体条件(被写体距離など)から、撮影時の光源の色温度を推定して、推定された色温度に応じて白判別基準である領域を可変に設定することにより、白被写体部分の検出精度の向上を図っている。
【0006】
【特許文献1】
特開平11−262029号公報(第12頁、第4図)
【0007】
【発明が解決しようとする課題】
上記の従来のホワイトバランス処理で用いられる色合いパラメータと黒体放射曲線とは、光源の色温度によって次のような関係にある。光源の色温度が高温であるときには、白被写体部分の色合いパラメータが黒体放射曲線の高色温度部分に位置する。このとき、低彩度の赤系の色をもつ被写体部分の色合いパラメータが黒体放射曲線の低温度部分周辺に位置し、白判別基準の領域に含まれることになる。また、光源の色温度が低温であるときは、白被写体部分の色合いパラメータは黒体放射曲線の低色温度部分に位置する。この場合には、低彩度の青系の色をもつ被写体部分の色合いパラメータが黒体放射曲線の高温度部分周辺に位置し、白判別基準の領域に含まれることになる。したがって、黒体放射曲線の高色温度部分から低色温度部分までを含む領域を白判別基準として用いると、有彩色の被写体を表す部分まで白被写体部分であると誤判別してしまうことがある。
【0008】
上記特許文献1に開示された技術は、撮像条件や被写体条件から色温度を推定して、黒体放射曲線のうちの推定された色温度に対応する領域のみを白判別基準として白被写体部分を判別することにより、上記のような誤判別の防止を図っている。
【0009】
しかしながら、この従来技術では、フラッシュがOFFでであるときは昼外光下での撮影であるとみなして色温度を高く推定するなど、経験則に基づいて撮影条件や被写体条件と光源の色温度との対応関係を定め、この対応関係に従って色温度を推定する。そのため、このような経験則に頼っていることによる推定精度の低下は避けられない。色温度の推定精度が低いと、白被写体部分を正確に判別することができず、ホワイトバランス処理の精度の低下を招く。また、この従来技術では、色温度を推定するために、カメラのEV値、シャッタースピード、フラッシュのON/OFFおよび被写体距離などを検出しなければならないので、装置の構成が複雑になる。さらに、この従来技術では、EV値やシャッタースピードの調整機能を持たない撮像装置や、フラッシュや測距機能をもたない撮像装置は、色温度を推定することができないため、白判別基準を可変に設定することはできない。
【0010】
本発明は、このような問題を解決するためになされたもので、白被写体部分の判別精度を向上させることによりホワイトバランス処理の精度を向上させる技術を提供するものである。本発明は、特に、撮像条件や被写体条件によらずに白判別基準を可変に設定することにより、色合いパラメータが黒体放射曲線周辺に位置する有彩色の被写体部分を白被写体部分と誤判別することを防止して、白被写体部分の判別精度を向上させる技術を提供するものである。
【0011】
【課題を解決するための手段】
本発明の画像処理装置は、画像を取得する画像取得手段と、前記画像取得手段により取得された前記画像から推定される前記画像の色温度に基づいて、前記画像中の白被写体部分を色合いによって判別する基準になる白判別基準を可変に設定する設定手段と、前記設定手段により設定された白判別基準を用いて、前記画像取得手段により取得された画像にホワイトバランス処理を施すホワイトバランス処理手段とを備えている。
【0012】
この構成により、取得された画像自身から推定された色温度に基づいて白判別基準が設定されるので、撮像条件や被写体条件によらずに白判別基準を適切に設定することができ、ホワイトバランス処理の精度を向上できる。
【0013】
ここで、画像取得手段は、被写体を撮影することにより画像を取得する撮像手段であってもよいし、撮像手段により生成された画像を受け取る手段であってもよい。
【0014】
また、本発明の画像処理装置では、前記設定手段は、前記画像取得手段により取得された画像の全体の色合いを一つの色合いパラメータで表す代表色合いパラメータを、前記色温度を表すパラメータとして用いる。
【0015】
この構成により、画像全体が一つの代表色合いパラメータで代表されるので、この代表色合いパラメータを用いて画像の色温度を推定できる。
【0016】
また、本発明の画像処理装置では、前記色温度は、前記画像を構成する画素の色パラメータの平均から推定される。
【0017】
この構成により、画像自身が持つ情報を用いて色温度を好適に推定できる。
【0018】
また、本発明の画像処理装置では、前記色温度は、前記画像から抽出された複数の画素の色パラメータの平均から推定される。
【0019】
この構成により、画像の色温度がその画像を構成する画素の一部のみを用いて推定されるので、装置の処理負担を軽減でき、処理時間を短縮できる。
【0020】
また、本発明の画像処理装置では、前記色温度は、前記画像の色合いパラメータを表す座標上で、前記座標上の黒体放射曲線から所定距離離れた色合いパラメータをもつ画素を除く複数の画素の色パラメータの平均から推定される。
【0021】
この構成により、彩度の高い有彩色を除外して色温度が推定されるので、色温度推定の精度を向上できる。
【0022】
本発明の他の態様の画像処理装置は、画像を取得する画像取得手段と、前記画像取得手段により取得された前記画像を代表する色合いパラメータである代表色合いパラメータを求める演算手段と、前記演算手段によって求められた代表色合いパラメータに基づいて、前記画像中の白被写体部分を色合いによって判別する基準になる白判別基準を可変に設定する設定手段と、前記設定手段により設定された白判別基準を用いて、前記画像取得手段により取得された画像にホワイトバランス処理を施すホワイトバランス処理手段とを備えている。
【0023】
この構成により、取得された画像自身のパラメータを用いて白判別基準が設定されるので、撮像条件や被写体条件によらずに白判別基準を適切に設定することができ、ホワイトバランス処理の精度を向上できる。
【0024】
また、本発明の撮像システムは、上記のいずれかの画像処理装置と、被写体を撮像して前記画像を生成する撮像装置とを備えている。そして、前記画像取得手段は、前記撮像装置により生成された画像を取得し、前記画像処理装置は、前記撮像装置により生成された画像にホワイトバランス処理を施す。
【0025】
この構成により、様々な色温度条件下で撮像された画像に対するホワイトバランス処理の精度を向上できる。
【0026】
本発明は、上述したような装置の態様に限定されない。本発明の別の態様は、画像処理方法、画像処理方法をコンピュータに実行させるプログラム、およびそのプログラムを格納した記録媒体である。
【0027】
【発明の実施の形態】
以下、本発明の実施の形態について、図面を用いて説明する。
【0028】
図1は、本実施の形態の画像処理装置が備えられた撮像システムであるビデオカメラの構成を示すブロック図である。ビデオカメラ10は、撮像素子11、CDS回路12、AGC部回路13およびA/D変換器14を備えている。撮像素子11は、画素ごとにR(赤)、G(緑)およびB(青)の三色のフィルタを備えており、これらのフィルタを通過した光を電気信号に変換して出力する。撮像素子11が被写体の光学像を電気信号に変換することにより、被写体の画像を表す映像信号が生成され、これにより画像が取得される。撮像素子11から出力された映像信号は、CDS回路12によるノイズ除去処理およびAGC回路13によるゲイン制御処理を施され、A/D変換器14でデジタル信号に変換される。
【0029】
ビデオカメラ10は、さらに、色分離回路21、R値乗算器22、B値乗算器23、R色差演算器24およびB色差演算器25を備えている。A/D変換器14にてデジタル信号に変換された映像信号は、色分離回路21にてR、GおよびBの三色に色分離され、色分離回路21からは、R値、G値およびB値の各信号が出力される。これらのR値、G値およびB値は、画像の各画素の色を加色法によって表す色パラメータである。
【0030】
この色パラメータの信号のうち、R値およびB値の信号は、それぞれR値乗算器22およびB値乗算器23にてホワイトバランス補正値krおよびkbを乗算されることによりゲイン調整される。これによって、R値およびB値の信号は、光源の色温度による影響が除去されてホワイトバランスが調整された信号となる。R色差演算器24およびB色差演算器25は、ゲイン調整されたR値(kr・R値)およびゲイン調整されたB値(kb・B値)のそれぞれからG値を減算することにより、ホワイトバランスが調整されたR色差値(kr・R値−G値)およびB色差値(kb・B値−G値)の信号を生成して出力する。
【0031】
ビデオカメラ10は、さらに、色温度推定用の加算器26、代表色合いパラメータ算出部27、白被写体部分検出用の加算器28、白被写体検出部29、R色差加算器30、B色差加算器31、R色差比較器32およびB色差比較器33を備えている。色分離回路21から出力されたR値、G値およびB値の各信号は、色温度推定用の加算器26に取り込まれて、代表色合いパラメータ算出部27での処理に供される。この加算器26および代表色合いパラメータ算出部27での処理については後に詳しく説明する。
【0032】
また、色分離回路21より出力されたR値、G値およびB値の各信号は、白被写体部分検出用の加算器28に入力される。加算器28は、1画像を8×6の48ブロックに分割して、ブロックごとにR値、G値およびB値のそれぞれを加算して平均する。加算器28は、このようにして、Rブロック平均値、Gブロック平均値およびBブロック平均値を算出する。
【0033】
白被写体検出部29は、このRブロック平均値、Gブロック平均値およびBブロック平均値を用いて、Rブロック平均値/Gブロック平均値およびBブロック平均値/Gブロック平均値を算出する。このRブロック平均値/Gブロック平均値およびBブロック平均値/Gブロック平均値は、各ブロックの色合いを表すパラメータであり、本発明の色合いパラメータに相当する。白被写体検出部29は、各ブロックの色合いパラメータが白判別基準を満たすか否かによりそれぞれのブロックが白被写体部分であるか否かを判別する。
【0034】
図2は、白被写体検出部29による白斜体部分の判別処理を説明する図である。図2には、色合いパラメータであるR値/G値およびB値/G値(以下、R/GおよびB/Gと表記する)をそれぞれ横軸および縦軸とする座標が示されている。白被写体検出部29は、後述するように、代表色合いパラメータ算出部27にて推定された色温度に基づいて白判別基準を可変に設定するが、ここでは、この白判別基準設定処理にてある白判別基準が設定された後の白判別処理を説明し、白判別基準設定処理については後述する。
【0035】
本実施の形態では、白判別基準は、図2の座標上の白判別領域WAである。この座標において、赤系の色の色合いパラメータは、R/Gの値が大きく、かつB/Gの値が小さい位置にプロットされる。また、青系の色の色合いパラメータは、R/Gの値が小さく、かつB/Gの値が大きい位置にプロットされる。さらに、緑系の色の色合いパラメータは、R/GおよびB/Gのいずれの値も小さい位置にプロットされる。そして、画像中の白被写体部分の色合いパラメータは、黒体放射曲線41上の光源の色温度に応じた位置にプロットされる。
【0036】
図2の例では、R/G>X0、B/G>X1、R/G+B/G>X2、およびR/G+B/G<X3の判定式によって定義される白判別領域WAが白判別基準とされている。(R/G,B/G)=(Rブロック平均値/Gブロック平均値,Bブロック平均値/Gブロック平均値)として、あるブロックが上記の判別式を満たすとき、すなわち点(Rブロック平均値/Gブロック平均値,Bブロック平均値/Gブロック平均値)が図2の座標上で白判別領域WAに含まれるときに、そのブロックは白被写体部分であると判別される。なお、白判別領域WAは、図2に示すような台形の領域に限られず、三角形、長方形でもよく、曲線で囲まれた領域であってもよい。
【0037】
白被写体検出部29は、上記の白判別処理により、ブロックが白被写体部分であるか否かを示す白判別信号を出力する。ただし、本実施の形態では、ブロックが白被写体部分でないことを示す信号が白判別信号として出力される。この白判別信号を基に、後段にて白被写体部分の映像信号に基づくホワイトバランス処理が行なわれる。
【0038】
図1に戻って、R色差加算器30およびB色差加算器31は、それぞれR色差演算器24およびB色差演算器25から出力された1画像分の全ての画素のR色差値およびB色差値の信号を取り込む。また、R色差加算器30およびB色差加算器31には、白被写体検出部27から白判別信号が入力される。白判別信号は、既に説明したように、白被写体部分ではないと判断されたブロックを示す信号である。R色差加算器30およびB色差加算器31は、この白判別信号に従って、白被写体部分以外の部分の色差信号を除外して、白被写体部分のみのR色差信号およびB色差信号を加算して平均する。R色差加算器30およびB色差加算器31は、このようにして算出した白被写体部分のR色差値およびB色差値の平均(R白部分色差平均値およびB白部分色差平均値という)の信号を出力する。
【0039】
R色差比較器32は、R色差加算器30より出力されたR白部分色差平均値とあらかじめ記憶されているR基準値とを比較する。そして、この比較によって、R値の信号のゲインを調整するためのRホワイトバランス補正値krを求め、R乗算器22に出力する。B色差比較器33も同様に、B白部分色差平均値とB基準値とを比較して、B値乗算器23にBホワイトバランス補正値kbを出力する。ここで、R基準値およびB基準値は、ホワイトバランス処理後の白被写体部分のR色差信号およびB色差信号の目標値である。Rホワイトバランス補正値krおよびBホワイトバランス補正値kbは、例えばR準値/R白部分色差平均値およびB基準値/B白部分色差平均値である。
【0040】
このように、本実施の形態のビデオカメラ10では、画像中の白被写体部分を検出してその白被写体部分を理想的な白に補正する補正値を求め、その補正値を用いて映像信号にホワイトバランス処理を施す。ビデオカメラ10のこの機能によって、本発明のホワイトバランス処理手段が実現される。
【0041】
次に、上記の白被写体検出部29による白判別基準設定処理を詳細に説明する。上述したように、白被写体検出部29は、代表色合いパラメータ算出部27にて推定された色温度に基づいて白判別基準を設定する。そこで、以下では、まず加算器26および代表色合いパラメータ算出部27による色温度推定処理を説明して、それから白被写体検出部29による白判別基準設定処理を説明する。
【0042】
図1に示されるように、色温度推定用の加算器26は、色分離回路21より出力されたR値、G値およびB値の信号を取り込む。そして、加算器26は、R値、G値およびB値のそれぞれを1画像分加算して平均し、代表色合いパラメータ算出部27にR平均値、G平均値およびB平均値の各データを出力する。代表色合いパラメータ算出部27は、R平均値、G平均値およびB平均値を用いて、R平均値/G平均値およびB平均値/G平均値を算出する。このR平均値/G平均値およびB平均値/G平均値は、画像全体の色合いを一つのパラメータで表す色合いパラメータ、すなわち画像を代表する色合いパラメータであり、本発明の代表色合いパラメータの一形態に相当する。そして、代表色合いパラメータ算出部27は、本発明の画像の代表色合いパラメータを求める演算手段に相当する。
【0043】
本実施の形態では、代表色合いパラメータ算出部27は、さらに、代表色合いパラメータに対応する色温度を求めて、その色温度の情報を白被写体検出部29に出力する。
【0044】
図3および図4は、代表色合いパラメータ算出部27にて代表色合いパラメータに対応する色温度を求める処理を説明するための図である。これらの図では、図2と同様に、横軸がR/Gであり、縦軸がB/Gである座標を示している。以下では、代表色合いパラメータに対応する色温度を求める二つの例を説明する。ここで、代表色合いパラメータ(R平均値/G平均値,B平均値/G平均値)は、画像全体を一つの色合いパラメータで表したものであるので、図3および図4に示される色合いパラメータの座標上にプロットすると、一般的には、黒体放射曲線41の近傍に位置する。
【0045】
図3は、代表色合いパラメータ算出部27の処理の一例を説明するための図である。代表色合いパラメータ算出部27は、代表色合いパラメータを表す点から黒体放射曲線に垂線をおろしたときの交点に対応する色温度をその代表色合いパラメータに対応する色温度とする。例えば、図3に示すように、代表色合いパラメータAが得られたときに、代表色合いパラメータ算出部27は、このA点から黒体放射曲線41に垂線をおろしたときの、その垂線と黒体放射曲線との交点XAに対応する色温度を代表色合いパラメータAに対応する色温度とする。
【0046】
図4は、代表色合いパラメータ算出部の処理の他の例を説明するための図である。色合いパラメータ算出部27には、黒体放射曲線41の高色温度部分から低色温度部分までを含む領域42を黒体放射曲線に沿って分割した複数の小領域43が記憶されている。代表色合いパラメータ算出部27は、さらに、各小領域43に含まれるの黒体放射曲線41の部分のほぼ中央に位置する点44に対応する色温度を候補色温度として記憶している。そして、色合いパラメータ算出部27は、代表色合いパラメータを表す点が属する小領域43の候補色温度をその代表色合いパラメータに対応する色温度とする。例えば、図4に示すように、代表色合いパラメータBが得られたときに、代表色合いパラメータ算出部27は、B点が属する小領域43の候補色温度を代表色合いパラメータBに対応する色温度とする。
【0047】
図3および図4のいずれの例においても、代表色合いパラメータ算出部27は、代表色合いパラメータに対応する色温度を求めると、その色温度の情報を白被写体検出部29に出力する。
【0048】
次に、白被写体検出部29における白判別基準設定処理を説明する。
【0049】
図5は、白判別基準設定処理を説明するための図である。図5に示される座標は、図2に示す座標と同じである。画像中の白被写体部分の色合いパラメータは、画像の色温度に応じて、黒体放射曲線41上のどこかの位置にプロットされる。すなわち、色温度が低いときには、白被写体部分の色合いパラメータは、黒体放射曲線41上のR/Gが大きくB/Gが小さい部分(低色温度部分)に位置し、色温度が高いときには、黒体放射曲線41上のR/Gが小さくB/Gが大きい部分(高色温度部分)に位置する。
【0050】
一方、画像の色温度が高いときには、黒体放射曲線41の低色温度部分やその周辺には淡い赤系の被写体部分の色合いパラメータが位置し、また、画像の色温度が低いときには、黒体放射曲線41の高色温度部分やその周辺に淡い青系の被写体部分の色合いパラメータが位置する。したがって、従来のように、黒体放射曲線41の高色温度部分から低色温度部分までを含む領域を白判別領域とすると、淡い赤系または淡い青系の被写体部分が白被写体部分として検出されてしまうことがある。
【0051】
そこで、本実施の形態では、黒体放射曲線41上やその周辺に位置する有彩色の被写体部分を白被写体部分であると誤判別しないように、白被写体検出部29は、代表色合いパラメータ算出部27にて推定された画像の色温度に応じて、その色温度の周辺領域を白判別基準として設定する。このとき、白被写体検出部29は、本発明の代表色合いパラメータに基づいて白判別範囲を可変設定する設定手段として機能する。
【0052】
具体的には、白被写体検出部29は、代表色合いパラメータ算出部27から色温度の情報を取得して、その色温度に対応する黒体放射曲線41上の点をほぼ中心に含むように、所定の大きさの白判別領域WAを設定する。図5には、代表色合いパラメータ算出部27から得た色温度の情報CT1〜3に応じて白判別領域WA1〜3が設定される例が示されている。
【0053】
ここで、白被写体検出部29には、図5に示すように、黒体放射曲線41に沿って黒体放射曲線41の高色温度部分から低色温度部分までを含む領域45が記憶されている。そして、白判別領域WAは、この領域45から色温度の情報CTに対応する黒体放射曲線41上の点をほぼ中心とした一部分の領域を切り取ることにより設定される。なお、あらかじめ所定の色温度範囲ごとに候補領域を記憶しておき、色温度の情報CTに基づいていずれかの候補領域を選択することにより白判別領域WAを設定してもよい。
【0054】
次に、上記のように構成されたビデオカメラ10において、実際に画像に対してホワイトバランス処理を施すときのビデオカメラ10の動作を説明する。
【0055】
まず、撮像素子11は、被写体の動画を撮影することにより、例えば1秒間に30画像分の映像信号を生成する。撮像素子11で連続的に生成された映像信号は、CDS回路12、AGC回路13およびA/D変換器14を経て、画像ごとに順に色分離回路21に入力される。色分離回路21は、映像信号をR、GおよびBに色分離して、R値、G値およびB値の各信号を出力する。
【0056】
これらの各信号のうち、R値およびB値の各信号は、それぞれR乗算器22およびB乗算器23にてホワイトバランス補正値を用いてゲイン調整されるが、本実施例では、このホワイトバランス補正値は5画像につき1回更新される。したがって、本実施の形態のビデオカメラ10では、色分離回路21から5画像分の信号が出力されるごとに、1画像分のR値、G値およびB値の各信号を用いて、ホワイトバランス補正値を求めるための処理が実行される。
【0057】
加算器26は、色分離回路21から5画像分の信号が出力されるごとに、1画像分のR値、G値およびB値の各信号を取得して、R値、G値およびB値を画素ごとに全ての画素について加算して平均し、R平均値、G平均値およびB平均値を求める。代表色合いパラメータ算出部27は、R平均値、G平均値およびB平均値を用いてその画像の色温度を推定する。そして、白被写体検出部29は、代表色合いパラメータ算出部27で推定された色温度に基づいて、その色温度の周辺の領域を白判別領域として設定する。
【0058】
一方、加算器28は、加算器26が色分離回路21から出力された信号を取得するのと同一のタイミングでR値、G値およびB値の各信号を取得して、Rブロック平均値、Gブロック平均値およびBブロック平均値を求める。白被写体検出部29は、各ブロックのRブロック平均値、Gブロック平均値およびBブロック平均値から各ブロックの色合いパラメータであるRブロック平均値/Gブロック平均値およびBブロック平均値/Gブロック平均値を求める。白被写体検出部29は、各ブロックの色合いパラメータが、先に設定された白判別領域に含まれるか否かを判断して白判別信号を出力する。
【0059】
R色差加算器30およびB色差加算器31は、それぞれR色差演算器24およびB色差演算器25から出力されたR色差値およびB色差値の信号を取得して、白被写体検出部29から出力された白判別信号に従って、色合いパラメータが白判別領域に含まれるブロックの色差値の信号のみを加算して平均し、R色差平均値およびB色差平均値の信号を出力する。R色差比較器32およびB色差信号比較器33は、それぞれR色差平均値およびB色差平均値をR基準値およびB基準値と比較することによりRホワイトバランス補正値krおよびBホワイトバランス補正値kbを求めて、それぞれR値乗算器22およびB値乗算器23に出力する。
【0060】
R値乗算器22およびB値乗算器23は、それぞれRホワイトバランス補正値krおよびBホワイトバランス補正値kbを取得すると、既に設定されているそれぞれのホワイトバランス補正値を更新する。そして、R値乗算器22およびB値乗算器23は、次にホワイトバランス補正値が更新されるまで、すなわち、先に加算器26および加算器28に取り込まれた画像の次の5つの画像に対して、この更新されたホワイトバランス補正値を用いてR値およびB値のゲイン調整を行なう。R色差演算器24およびB色差演算器25は、ゲイン調整されたR値およびB値からG値を減算してR色差値およびB色差値の各信号を生成して出力する。
【0061】
このように、映像信号中のR値およびB値の信号のゲイン調整をした上でR色差値およびB色差値の信号を生成することにより、ホワイトバランスが調整された色差信号を生成することができる。
【0062】
なお、上記の実施の形態では、撮像素子11によって撮影された動画に対してホワイトバランス処理を施したが、上記のホワイトバランス処理は1枚の静止画に対して施されてもよい。この場合には、対象となる静止画を用いて上記の処理により白判別基準を設定し、その白判別基準を用いてその静止画の白被写体部分を検出し、ホワイトバランス補正値を求める。そして、そのホワイトバランス補正値を用いてその静止画に対してホワイトバランス処理が施される。
【0063】
また、上記の実施の形態では、白被写体検出部29は、1画像を48ブロックに分割したブロックごとに色合いパラメータを求めたが、画素単位で色合いパラメータR値/G値およびB値/G値を求めて、白被写体部分判別処理を行なってもよいことは勿論である。
【0064】
さらに、上記の実施の形態では、代表色合いパラメータは、1画像中の全画素のR値、G値およびB値の平均値を用いて算出されたが、これに限らず、画像を代表する色合いパラメータであれば他の方法で算出されてもよい。例えば、画像を構成する全画素から適当な間隔で間引きして抽出された画素を用いてR値、G値およびB値の平均値が求められ、そのような平均値を用いて代表色合いパラメータが算出されてもよい。このように、全画素の中から抽出された一部の画素のみを用いれば、代表色合いパラメータを求めるための処理負担が軽減され、処理時間も短縮される。
【0065】
さらに、代表色合いパラメータは、極端に彩度の高い画素を除くR値、G値およびB値の平均値を用いて算出されてもよい。色合いパラメータの座標上では、黒体放射曲線から遠ざかるほど彩度が高くなるので、黒体放射曲線から所定距離離れた色合いパラメータを持つ画素を除外することによって、彩度の高い画素を除外して平均値を求めることができる。この場合に、画像処理装置は、黒体放射曲線を含む採用領域を記憶している。そして、色温度推定用の加算器26は、この採用領域の中に含まれる画素のみを加算してR平均値、G平均値およびB平均値を算出する。このとき、採用領域は、図4に示した領域45よりも十分に広い領域であってよい。このように、極端に彩度の高い画素を除外して代表色合いパラメータを求めれば、代表色合いパラメータは黒体放射曲線に近づき、より正確に白判別基準を設定できる。
【0066】
なお、上記の実施の形態では、色合いパラメータとしてR値/G値およびB値/G値を用いたが、本発明はこれに限定されない。色合いパラメータは、色の情報のうちの色相および彩度の情報を同時に表すパラメータであれば、他のパラメータでもよい。例えば、R値/Y値およびB値/Y値を色合いパラメータとしてもよい。R値/Y値およびB値/Y値は、色の情報のうちの色相および彩度の情報を同時に表す典型的なパラメータである。ここで、Y値とは、色の情報のうちの輝度の情報を表すパラメータであり、R値、G値およびB値を重み付け加算して求めることができる値である。画像の色合いを代表するパラメータについても同様に、R平均値/Y平均値およびB平均値/Y平均値を代表色合いパラメータとしてもよい。
【0067】
さらに、上記の実施の形態では、R値−G値およびB値−G値をそれぞれR色差値およびB色差値として扱ったが、R値−Y値およびB値−Y値など、他の値を色差値としてもよい。
【0068】
また、上記の実施の形態では、代表色合いパラメータ算出部27にて代表色合いパラメータに対応する色温度を求め、白被写体検出部29は、この色温度の情報に応じて白判別基準である白判別領域WAを設定したが、白判別基準の設定はこの方法に限られない。色温度に基づいて白判別基準を可変設定する他の処理が行なわれてもよい。例えば、白被写体検出部29が代表色合いパラメータから直接白判別基準を設定してもよい。このとき、代表色合いパラメータは、色温度を表す情報として用いられる。
【0069】
この場合には、画像処理装置では、例えば、代表色合いパラメータのいろいろな値の各々と関連付けてあらかじめ適当な白判別基準が用意され、図示しない記憶手段に記憶されている。代表色合いパラメータ算出部27は、上記と同様にして代表色合いパラメータを求め、これを白被写体検出部29に出力する。そして、白被写体検出部29は、代表色合いパラメータに対応する白判別領域WAを選択する。なお、この例においても、代表パラメータ算出部27が本発明の演算手段に相当し、白被写体検出部29が本発明の設定手段に相当する。
【0070】
このように、代表色パラメータに対応する色温度を求めずに白判別基準を可変設定する例においても、取得された画像自身の色パラメータを用いて画像の色温度を推定した上で白判別基準が設定されており、撮像条件や被写体条件の情報を用いなくても白判別基準を適切に設定することができ、ホワイトバランス処理の精度を向上できる。
【0071】
また、上記の実施の形態では、色温度推定処理および白被写体部分検出処理を同一の画像を対象として行なったが、両処理の対象が別の画像であってもよい。また、例えば、色温度推定処理を15画像ごとに行なうとともに、白被写体部分検出処理を5画像ごとに行なうというように、両処理のインターバルが互いに異なっていてもよい。なお、色温度推定処理や白被写体部分検出処理を全ての画像に施してもよいことは勿論である。
【0072】
また、上記のビデオカメラ10の一部の機能がソフトウェアにより実現されてもよい。この場合には、CPU、RAMおよびROMなどを含むコンピュータがプログラムを実行することによりその機能を実現することができる。さらに、上記のビデオカメラ10は撮像素子11を含み、被写体を撮影することによりホワイトバランス処理の対象画像を取得したが、ビデオカメラ10は対象画像を外部から取得してもよい。
【0073】
上記のビデオカメラ10によれば、白被写体部分を判別するための白判別基準を、誤判別を防止するように可変に設定した上で白被写体部分を判別するので、白被写体部分の色差平均値をより正確に求めることができる。これにより、より正確なホワイトバランス補正値を求めることができ、ホワイトバランス処理の精度が向上する。
【0074】
また、上記のビデオカメラ10では、代表色合いパラメータ算出部27が画像自身の情報、すなわち画像の色パラメータから画像の色温度を推定して、白被写体部分はその色温度に基づいて白判別基準である白判別領域を設定するので、撮像条件や被写体条件に頼らずに、ホワイトバランス補正値を好適に求めることが出きる。そして、このホワイトバランス補正値を用いて画像にホワイトバランス処理を施すことにより、ホワイトバランス処理の精度を向上できる。
【0075】
また、上記のビデオカメラ10では、代表色合いパラメータ算出部27が画像全体の色合いを一つの色合いパラメータで表す代表色合いパラメータを画像の色温度を表すパラメータとして用いるので、画像の色温度を好適に推定することが出きる。
【0076】
さらに、画像を構成する全ての画素の色パラメータを用いることで色温度の推定精度が向上する。一方、画像を構成する画素のうちの一部の画素を間引きして抽出された画素のみを用いて色温度を推定することにより、色温度推定のための処理負担が軽減し、処理時間を短縮できる。また、画像の色合いパラメータを表す座表上で、黒体放射曲線から所定距離離れた色合いパラメータ、すなわち、極端に彩度の高い色合いパラメータを除外して色温度を推定することにより、色温度の推定精度がより向上する。
【0077】
【発明の効果】
以上説明したように、本発明は、画像自身から推定される色温度に基づいて白判別基準を可変設定することにより、ホワイトバランス補正値を好適に求めることができ、これによりホワイトバランス処理の精度を向上できるという優れた効果を有する画像処理装置を提供することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態の撮像システムの構成図
【図2】本発明の実施の形態の白判別処理を説明するための図
【図3】本発明の実施の形態の色温度推定処理を説明するための図
【図4】本発明の実施の形態の色温度推定処理を説明するための図
【図5】本発明の実施の形態の白判別基準設定処理を説明するための図
【符号の説明】
10 撮像システム
11 撮像素子
22 R値乗算器
23 B値乗算器
27 代表色合いパラメータ算出部
29 白被写体検出部
41 黒体放射曲線
WA 白判別領域
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a technique for adjusting the white balance of an image, and more particularly to a technique for determining a white subject in an image and performing white balance processing on the image.
[0002]
[Prior art]
When a subject is photographed using an imaging device, for example, when photographing under an incandescent lamp and when photographing under sunlight, the same subject is photographed as a different color due to a difference in color temperature of a light source. Is done. In order to reduce the influence of the color temperature of the light source appearing in such an image, a white balance process is performed on an image obtained by shooting.
[0003]
In the white balance process, a correction value is calculated such that a portion of a white object photographed in an image (hereinafter, referred to as a white object portion) is corrected to an appropriate white, and the entire image is corrected using the correction value. . Therefore, in order to improve the accuracy of the white balance process, it is necessary to accurately detect a white subject portion in an image.
[0004]
In the conventional white balance processing, in order to detect a white subject portion in an image, a parameter of hue of each pixel constituting the image, that is, a parameter (hereinafter, referred to as hue and saturation information) of color information which simultaneously represents hue and saturation information. Hue parameter). The tint parameters of the pixels constituting the white object portion change on the blackbody radiation curve according to the change in the color temperature of the light source. Therefore, in the conventional white balance processing, an area including a high color temperature portion to a low color temperature portion of a blackbody radiation curve is set as a white determination criterion, and the hue parameter of each pixel is included in the white determination criterion. Whether or not each pixel is a pixel constituting a white subject portion is determined based on whether or not the pixel is a white subject portion.
[0005]
As described above, a technique for improving detection accuracy in detecting a white subject portion using a color parameter has been proposed. For example, in the white balance processing described in Patent Document 1, the shooting conditions (EV value, shutter speed, F-number and flash ON / OFF information of the camera) and the shooting conditions (such as subject distance) when shooting the subject are taken. By estimating the color temperature of the light source at the time of photographing and variably setting an area serving as a white determination reference according to the estimated color temperature, the detection accuracy of the white subject portion is improved.
[0006]
[Patent Document 1]
Japanese Patent Application Laid-Open No. H11-262029 (page 12, FIG. 4)
[0007]
[Problems to be solved by the invention]
The color parameter and the blackbody radiation curve used in the above-described conventional white balance processing have the following relationship depending on the color temperature of the light source. When the color temperature of the light source is high, the tint parameter of the white object portion is located in the high color temperature portion of the blackbody radiation curve. At this time, the tint parameter of the subject portion having a low chroma reddish color is located around the low temperature portion of the blackbody radiation curve, and is included in the white determination reference region. When the color temperature of the light source is low, the hue parameter of the white subject portion is located in the low color temperature portion of the blackbody radiation curve. In this case, the tint parameter of the object portion having a low-saturation bluish color is located around the high-temperature portion of the blackbody radiation curve, and is included in the white determination reference region. Therefore, when a region including a high color temperature portion to a low color temperature portion of a black body radiation curve is used as a white determination reference, a portion representing a chromatic subject may be erroneously determined to be a white subject portion.
[0008]
The technique disclosed in Patent Document 1 estimates a color temperature from an imaging condition or a subject condition, and determines only a region corresponding to the estimated color temperature in a blackbody radiation curve as a white determination reference to determine a white subject portion. By performing the determination, the erroneous determination as described above is prevented.
[0009]
However, in this conventional technique, when the flash is off, it is assumed that the image is taken under daylight, and the color temperature is estimated to be high. Is determined, and the color temperature is estimated according to this correspondence. Therefore, it is inevitable that the estimation accuracy is reduced by relying on such an empirical rule. If the estimation accuracy of the color temperature is low, it is not possible to accurately determine the white subject portion, and the accuracy of the white balance processing is reduced. Further, in this conventional technique, since the EV value of the camera, the shutter speed, the ON / OFF of the flash, the subject distance, and the like must be detected in order to estimate the color temperature, the configuration of the apparatus is complicated. Further, according to this conventional technique, an image pickup apparatus without an EV value or shutter speed adjustment function or an image pickup apparatus without a flash or a distance measurement function cannot estimate a color temperature, so that the white discrimination reference is variable. Cannot be set to.
[0010]
The present invention has been made to solve such a problem, and provides a technique for improving the accuracy of white balance processing by improving the accuracy of determining a white subject portion. In particular, the present invention erroneously determines a chromatic subject portion whose hue parameter is located around a black body radiation curve as a white subject portion by variably setting a white determination reference regardless of an imaging condition or a subject condition. It is an object of the present invention to provide a technique for preventing such a situation and improving the accuracy of determining a white subject.
[0011]
[Means for Solving the Problems]
An image processing apparatus according to the present invention includes: an image obtaining unit that obtains an image; and a white subject portion in the image, based on a color temperature of the image estimated from the image obtained by the image obtaining unit. Setting means for variably setting a white discrimination criterion serving as a discrimination criterion, and white balance processing means for performing white balance processing on the image acquired by the image acquisition means using the white discrimination criterion set by the setting means And
[0012]
With this configuration, the white determination criterion is set based on the color temperature estimated from the acquired image itself, so that the white determination criterion can be appropriately set irrespective of imaging conditions and subject conditions, and white balance can be set. Processing accuracy can be improved.
[0013]
Here, the image acquisition unit may be an imaging unit that acquires an image by photographing a subject or a unit that receives an image generated by the imaging unit.
[0014]
Further, in the image processing apparatus according to the present invention, the setting unit uses a representative hue parameter representing the entire hue of the image acquired by the image acquisition unit with one hue parameter as the parameter representing the color temperature.
[0015]
With this configuration, since the entire image is represented by one representative color parameter, the color temperature of the image can be estimated using the representative color parameters.
[0016]
Further, in the image processing apparatus according to the aspect of the invention, the color temperature is estimated from an average of color parameters of pixels included in the image.
[0017]
With this configuration, the color temperature can be appropriately estimated using the information of the image itself.
[0018]
In the image processing device according to the present invention, the color temperature is estimated from an average of color parameters of a plurality of pixels extracted from the image.
[0019]
With this configuration, since the color temperature of an image is estimated using only some of the pixels that form the image, the processing load on the device can be reduced, and the processing time can be reduced.
[0020]
Further, in the image processing apparatus of the present invention, the color temperature is a coordinate of a plurality of pixels excluding a pixel having a color parameter separated by a predetermined distance from a blackbody radiation curve on the coordinate on a coordinate representing the color parameter of the image. Estimated from the average of the color parameters.
[0021]
With this configuration, the color temperature is estimated excluding chromatic colors having high saturation, so that the accuracy of color temperature estimation can be improved.
[0022]
An image processing apparatus according to another aspect of the present invention includes an image acquisition unit that acquires an image, an arithmetic unit that determines a representative tint parameter that is a tint parameter representing the image acquired by the image acquisition unit, and the arithmetic unit. Setting means for variably setting a white determination criterion, which is a reference for determining a white subject portion in the image based on the color tone, based on the representative hue parameter obtained by using the white determination criterion set by the setting means. And white balance processing means for performing white balance processing on the image acquired by the image acquisition means.
[0023]
With this configuration, the white determination criterion is set using the parameters of the acquired image itself, so that the white determination criterion can be appropriately set irrespective of the imaging conditions and the subject conditions, and the accuracy of the white balance processing can be improved. Can be improved.
[0024]
Further, an imaging system according to the present invention includes any one of the above-described image processing apparatuses and an imaging apparatus that captures an image of a subject and generates the image. Then, the image acquisition unit acquires an image generated by the imaging device, and the image processing device performs a white balance process on the image generated by the imaging device.
[0025]
With this configuration, it is possible to improve the accuracy of white balance processing on images captured under various color temperature conditions.
[0026]
The invention is not limited to the device embodiments as described above. Another embodiment of the present invention is an image processing method, a program for causing a computer to execute the image processing method, and a recording medium storing the program.
[0027]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0028]
FIG. 1 is a block diagram illustrating a configuration of a video camera which is an imaging system provided with the image processing apparatus according to the present embodiment. The video camera 10 includes an image sensor 11, a CDS circuit 12, an AGC circuit 13, and an A / D converter 14. The image sensor 11 includes three color filters of R (red), G (green) and B (blue) for each pixel, and converts light passing through these filters into an electric signal and outputs the electric signal. The image sensor 11 converts the optical image of the subject into an electric signal, thereby generating a video signal representing the image of the subject, thereby obtaining the image. The video signal output from the image sensor 11 is subjected to noise removal processing by the CDS circuit 12 and gain control processing by the AGC circuit 13, and is converted into a digital signal by the A / D converter 14.
[0029]
The video camera 10 further includes a color separation circuit 21, an R value multiplier 22, a B value multiplier 23, an R color difference calculator 24, and a B color difference calculator 25. The video signal converted into a digital signal by the A / D converter 14 is color-separated into three colors of R, G, and B by a color separation circuit 21, and the R value, the G value, Each signal of the B value is output. These R value, G value, and B value are color parameters representing the color of each pixel of the image by an additive method.
[0030]
Among the color parameter signals, the R value signal and the B value signal are subjected to gain adjustment by being multiplied by white balance correction values kr and kb in an R value multiplier 22 and a B value multiplier 23, respectively. As a result, the R value and B value signals are signals whose white balance has been adjusted by eliminating the influence of the color temperature of the light source. The R color difference calculator 24 and the B color difference calculator 25 subtract the G value from each of the gain-adjusted R value (kr · R value) and the gain-adjusted B value (kb · B value), thereby obtaining a white value. A signal of an R color difference value (kr · R value−G value) and a B color difference value (kb · B value−G value) whose balance has been adjusted is generated and output.
[0031]
The video camera 10 further includes an adder 26 for estimating a color temperature, a representative hue parameter calculating unit 27, an adder 28 for detecting a white subject portion, a white subject detecting unit 29, an R color difference adder 30, and a B color difference adder 31. , R color difference comparator 32 and B color difference comparator 33. The R value, G value, and B value signals output from the color separation circuit 21 are taken into an adder 26 for color temperature estimation, and are subjected to processing in a representative hue parameter calculation unit 27. The processing in the adder 26 and the representative hue parameter calculator 27 will be described later in detail.
[0032]
Each signal of the R value, the G value, and the B value output from the color separation circuit 21 is input to an adder 28 for detecting a white subject portion. The adder 28 divides one image into 48 blocks of 8 × 6, and adds and averages each of the R value, the G value, and the B value for each block. The adder 28 thus calculates the average value of the R block, the average value of the G block, and the average value of the B block.
[0033]
The white subject detection unit 29 calculates the average value of the R block / the average value of the G block and the average value of the B block / the average value of the G block using the average value of the R block, the average value of the G block, and the average value of the B block. The average value of the R block / the average value of the G block and the average value of the B block / the average value of the G block are parameters representing the color of each block, and correspond to the color parameters of the present invention. The white subject detection unit 29 determines whether each block is a white subject portion based on whether the hue parameter of each block satisfies the white determination criterion.
[0034]
FIG. 2 is a diagram illustrating a process of determining a white italic part by the white subject detection unit 29. FIG. 2 shows the coordinates with the horizontal axis and the vertical axis respectively of the R value / G value and the B value / G value (hereinafter referred to as R / G and B / G), which are the tint parameters. The white subject detection unit 29 variably sets the white determination criterion based on the color temperature estimated by the representative hue parameter calculation unit 27, as described later. Here, this white determination criterion setting processing is performed. The white determination process after the white determination reference is set will be described, and the white determination reference setting process will be described later.
[0035]
In the present embodiment, the white determination reference is the white determination area WA on the coordinates in FIG. In these coordinates, the tint parameter of the reddish color is plotted at a position where the value of R / G is large and the value of B / G is small. Further, the hue parameter of the bluish color is plotted at a position where the value of R / G is small and the value of B / G is large. Further, the tint parameter of the green color is plotted at a position where both the values of R / G and B / G are small. Then, the tint parameter of the white subject portion in the image is plotted on the black body radiation curve 41 at a position corresponding to the color temperature of the light source.
[0036]
In the example of FIG. 2, the white determination area WA defined by the determination formulas of R / G> X0, B / G> X1, R / G + B / G> X2, and R / G + B / G <X3 is the white determination reference. Have been. When (R / G, B / G) = (R block average / G block average, B block average / G block average), when a certain block satisfies the above discriminant, (Value / G block average value, B block average value / G block average value) are included in the white determination area WA on the coordinates in FIG. 2, the block is determined to be a white subject portion. The white determination area WA is not limited to a trapezoidal area as shown in FIG. 2 and may be a triangle, a rectangle, or an area surrounded by a curve.
[0037]
The white subject detection unit 29 outputs a white discrimination signal indicating whether or not the block is a white subject portion by the above-described white discrimination processing. However, in the present embodiment, a signal indicating that the block is not a white subject portion is output as a white determination signal. Based on the white determination signal, white balance processing is performed in a subsequent stage based on the video signal of the white subject portion.
[0038]
Returning to FIG. 1, the R color difference adder 30 and the B color difference adder 31 respectively provide the R color difference value and the B color difference value of all pixels of one image output from the R color difference calculator 24 and the B color difference calculator 25. Capture the signal of The R color difference adder 30 and the B color difference adder 31 receive a white discrimination signal from the white subject detection unit 27. As described above, the white determination signal is a signal indicating a block determined not to be a white subject portion. An R color difference adder 30 and a B color difference adder 31 add up the R color difference signal and the B color difference signal of only the white subject portion, excluding the color difference signals of the portions other than the white subject portion, according to the white discrimination signal, and average them. I do. The R color difference adder 30 and the B color difference adder 31 output a signal of the average of the R color difference value and the B color difference value of the white subject portion calculated as described above (referred to as an R white portion color difference average value and a B white portion color difference average value). Is output.
[0039]
The R color difference comparator 32 compares the average value of the R white partial color differences output from the R color difference adder 30 with an R reference value stored in advance. By this comparison, an R white balance correction value kr for adjusting the gain of the R value signal is obtained and output to the R multiplier 22. Similarly, the B color difference comparator 33 compares the B white partial color difference average value with the B reference value, and outputs the B white balance correction value kb to the B value multiplier 23. Here, the R reference value and the B reference value are target values of the R color difference signal and the B color difference signal of the white subject portion after the white balance processing. The R white balance correction value kr and the B white balance correction value kb are, for example, R reference value / R white partial color difference average value and B reference value / B white partial color difference average value.
[0040]
As described above, the video camera 10 according to the present embodiment detects a white subject portion in an image, obtains a correction value for correcting the white subject portion to ideal white, and uses the correction value to generate a video signal. Apply white balance processing. This function of the video camera 10 implements the white balance processing means of the present invention.
[0041]
Next, the white determination reference setting processing by the white subject detection unit 29 will be described in detail. As described above, the white subject detection unit 29 sets the white determination criterion based on the color temperature estimated by the representative hue parameter calculation unit 27. Therefore, hereinafter, first, the color temperature estimation processing by the adder 26 and the representative hue parameter calculation unit 27 will be described, and then the white determination reference setting processing by the white subject detection unit 29 will be described.
[0042]
As shown in FIG. 1, an adder 26 for estimating a color temperature takes in the R, G, and B value signals output from the color separation circuit 21. Then, the adder 26 adds and averages each of the R value, the G value, and the B value for one image, and outputs each data of the R average value, the G average value, and the B average value to the representative hue parameter calculation unit 27. I do. The representative color parameter calculation unit 27 calculates an R average value / G average value and a B average value / G average value using the R average value, the G average value, and the B average value. The R average value / G average value and the B average value / G average value are color parameters that represent the color of the entire image with one parameter, that is, color parameters representing the image. Is equivalent to The representative hue parameter calculation unit 27 corresponds to an operation unit for obtaining a representative hue parameter of an image according to the present invention.
[0043]
In the present embodiment, the representative hue parameter calculation unit 27 further obtains a color temperature corresponding to the representative hue parameter, and outputs information on the color temperature to the white subject detection unit 29.
[0044]
FIG. 3 and FIG. 4 are diagrams for explaining the process of calculating the color temperature corresponding to the representative hue parameter in the representative hue parameter calculation unit 27. In these figures, as in FIG. 2, the horizontal axis indicates R / G and the vertical axis indicates B / G. Hereinafter, two examples of obtaining the color temperature corresponding to the representative hue parameter will be described. Here, the representative hue parameters (R average value / G average value, B average value / G average value) represent the entire image with one hue parameter, and therefore the hue parameters shown in FIGS. Is generally located near the blackbody radiation curve 41.
[0045]
FIG. 3 is a diagram for explaining an example of the processing of the representative hue parameter calculation unit 27. The representative color parameter calculation unit 27 sets the color temperature corresponding to the intersection point when a perpendicular line is drawn from the point representing the representative color parameter to the blackbody radiation curve as the color temperature corresponding to the representative color parameter. For example, as shown in FIG. 3, when the representative hue parameter A is obtained, the representative hue parameter calculation unit 27 determines the perpendicular and the black body when the perpendicular is drawn from the point A to the black body radiation curve 41. The color temperature corresponding to the intersection XA with the radiation curve is defined as the color temperature corresponding to the representative hue parameter A.
[0046]
FIG. 4 is a diagram for explaining another example of the process of the representative hue parameter calculation unit. The tint parameter calculation unit 27 stores a plurality of small areas 43 obtained by dividing an area 42 including a high color temperature part to a low color temperature part of the blackbody radiation curve 41 along the blackbody radiation curve. The representative hue parameter calculation unit 27 further stores, as a candidate color temperature, a color temperature corresponding to a point 44 located substantially at the center of the black body radiation curve 41 included in each small area 43. Then, the hue parameter calculator 27 sets the candidate color temperature of the small area 43 to which the point representing the representative hue parameter belongs as the color temperature corresponding to the representative hue parameter. For example, as shown in FIG. 4, when the representative hue parameter B is obtained, the representative hue parameter calculation unit 27 sets the candidate color temperature of the small area 43 to which the point B belongs to the color temperature corresponding to the representative hue parameter B. I do.
[0047]
In each of the examples of FIG. 3 and FIG. 4, when the representative color parameter calculation unit 27 obtains the color temperature corresponding to the representative color parameter, it outputs information on the color temperature to the white subject detection unit 29.
[0048]
Next, the white determination reference setting process in the white subject detection unit 29 will be described.
[0049]
FIG. 5 is a diagram for explaining the white determination reference setting process. The coordinates shown in FIG. 5 are the same as the coordinates shown in FIG. The tint parameter of the white subject portion in the image is plotted at some position on the blackbody radiation curve 41 according to the color temperature of the image. That is, when the color temperature is low, the hue parameter of the white object portion is located in a portion where the R / G is large and B / G is small (low color temperature portion) on the blackbody radiation curve 41, and when the color temperature is high, It is located in a portion where the R / G is small and the B / G is large (high color temperature portion) on the blackbody radiation curve 41.
[0050]
On the other hand, when the color temperature of the image is high, the tint parameter of the light reddish subject portion is located at or around the low color temperature portion of the blackbody radiation curve 41, and when the color temperature of the image is low, the blackbody The hue parameter of the pale blue subject portion is located in the high color temperature portion of the radiation curve 41 and its periphery. Therefore, assuming that a region including the high color temperature portion to the low color temperature portion of the black body radiation curve 41 is a white determination region as in the related art, a light red or light blue subject portion is detected as a white subject portion. Sometimes.
[0051]
Therefore, in the present embodiment, the white subject detection unit 29 is configured to use the representative hue parameter calculation unit so that the chromatic subject located on or around the black body radiation curve 41 is not erroneously determined to be a white subject. In accordance with the color temperature of the image estimated at 27, a peripheral area of the color temperature is set as a white determination reference. At this time, the white subject detection unit 29 functions as a setting unit that variably sets the white determination range based on the representative hue parameter of the present invention.
[0052]
Specifically, the white subject detection unit 29 acquires the information of the color temperature from the representative hue parameter calculation unit 27, and includes a point on the black body radiation curve 41 corresponding to the color temperature substantially at the center. A white determination area WA having a predetermined size is set. FIG. 5 shows an example in which the white determination areas WA1 to WA3 are set in accordance with the color temperature information CT1 to CT3 obtained from the representative hue parameter calculator 27.
[0053]
Here, as shown in FIG. 5, the white subject detection unit 29 stores an area 45 including a high color temperature portion to a low color temperature portion of the black body radiation curve 41 along the black body radiation curve 41. I have. Then, the white determination area WA is set by cutting out a partial area centered on a point on the black body radiation curve 41 corresponding to the color temperature information CT from the area 45. Note that a candidate area may be stored in advance for each predetermined color temperature range, and the white determination area WA may be set by selecting one of the candidate areas based on the color temperature information CT.
[0054]
Next, the operation of the video camera 10 configured as described above when actually performing white balance processing on an image will be described.
[0055]
First, the image sensor 11 generates a video signal for 30 images per second, for example, by capturing a moving image of a subject. The video signal continuously generated by the image sensor 11 is input to the color separation circuit 21 in order for each image via the CDS circuit 12, the AGC circuit 13, and the A / D converter 14. The color separation circuit 21 separates the video signal into R, G, and B colors, and outputs signals of R, G, and B values.
[0056]
Of these signals, each of the R value and B value signals is subjected to gain adjustment using the white balance correction value in the R multiplier 22 and the B multiplier 23, respectively. The correction value is updated once for every five images. Therefore, in the video camera 10 of the present embodiment, each time the signal for five images is output from the color separation circuit 21, the white balance is calculated using the R value, G value, and B value signals for one image. Processing for obtaining a correction value is executed.
[0057]
The adder 26 acquires the R value, G value, and B value signals for one image each time the signal for five images is output from the color separation circuit 21, and outputs the R value, G value, and B value. Are averaged by adding for all pixels for each pixel to obtain an R average value, a G average value, and a B average value. The representative hue parameter calculator 27 estimates the color temperature of the image using the R average value, the G average value, and the B average value. Then, based on the color temperature estimated by the representative hue parameter calculation unit 27, the white subject detection unit 29 sets an area around the color temperature as a white determination area.
[0058]
On the other hand, the adder 28 obtains each signal of the R value, the G value, and the B value at the same timing as when the adder 26 obtains the signal output from the color separation circuit 21, and obtains an R block average value, The G block average value and the B block average value are obtained. The white subject detection unit 29 calculates the R block average value / G block average value and B block average value / G block average value, which are the hue parameters of each block, from the R block average value, G block average value, and B block average value of each block. Find the value. The white subject detection unit 29 determines whether or not the hue parameter of each block is included in the previously set white determination area, and outputs a white determination signal.
[0059]
The R color difference adder 30 and the B color difference adder 31 obtain the signals of the R color difference value and the B color difference value output from the R color difference calculator 24 and the B color difference calculator 25, respectively, and output the signals from the white subject detection unit 29. In accordance with the white determination signal thus obtained, only the signals of the color difference values of the blocks whose hue parameters are included in the white determination area are added and averaged, and the signals of the R and B color difference average values are output. The R color difference comparator 32 and the B color difference signal comparator 33 compare the R color difference average value and the B color difference average value with the R reference value and the B reference value, respectively, to thereby obtain the R white balance correction value kr and the B white balance correction value kb. And outputs them to the R value multiplier 22 and the B value multiplier 23, respectively.
[0060]
Upon acquiring the R white balance correction value kr and the B white balance correction value kb, respectively, the R value multiplier 22 and the B value multiplier 23 update the previously set respective white balance correction values. Then, the R-value multiplier 22 and the B-value multiplier 23 perform the operations until the next white balance correction value is updated, that is, the next five images of the images previously taken into the adders 26 and 28. On the other hand, the gain of the R value and the B value is adjusted using the updated white balance correction value. The R color difference calculator 24 and the B color difference calculator 25 generate and output signals of the R color difference value and the B color difference value by subtracting the G value from the gain adjusted R value and B value.
[0061]
In this manner, by adjusting the gain of the R value and B value signals in the video signal and then generating the R color difference value and B color difference value signals, it is possible to generate a color difference signal with an adjusted white balance. it can.
[0062]
In the above-described embodiment, the white balance processing is performed on the moving image captured by the image sensor 11, but the white balance processing may be performed on one still image. In this case, a white determination criterion is set by the above processing using the target still image, a white subject portion of the still image is detected using the white determination criterion, and a white balance correction value is obtained. Then, the still image is subjected to white balance processing using the white balance correction value.
[0063]
Further, in the above embodiment, the white subject detection unit 29 calculates the hue parameter for each block obtained by dividing one image into 48 blocks, but the hue parameter R value / G value and B value / G value are obtained in pixel units. Of course, the white subject portion determination processing may be performed.
[0064]
Further, in the above embodiment, the representative color parameter is calculated using the average value of the R, G, and B values of all pixels in one image. However, the present invention is not limited to this. If it is a parameter, it may be calculated by another method. For example, the average value of the R value, the G value, and the B value is obtained using pixels extracted by thinning out all the pixels constituting the image at appropriate intervals, and the representative hue parameter is calculated using such an average value. It may be calculated. As described above, if only some of the pixels extracted from all the pixels are used, the processing load for obtaining the representative hue parameters is reduced, and the processing time is also reduced.
[0065]
Further, the representative hue parameter may be calculated using an average value of the R value, the G value, and the B value excluding pixels with extremely high saturation. On the coordinates of the hue parameter, the saturation increases as the distance from the blackbody radiation curve increases, so by excluding pixels having a hue parameter that is a predetermined distance away from the blackbody radiation curve, excluding pixels with high saturation An average can be determined. In this case, the image processing apparatus stores an adopted area including the blackbody radiation curve. Then, the adder 26 for estimating the color temperature adds only the pixels included in the adopted area to calculate an R average value, a G average value, and a B average value. At this time, the adoption area may be an area that is sufficiently wider than the area 45 illustrated in FIG. As described above, if the representative hue parameters are obtained by excluding the pixels having extremely high saturation, the representative hue parameters approach the blackbody radiation curve, and the white determination reference can be set more accurately.
[0066]
In the above embodiment, the R value / G value and the B value / G value are used as the hue parameters, but the present invention is not limited to this. The hue parameter may be another parameter as long as the parameter simultaneously represents hue and saturation information of the color information. For example, the R value / Y value and the B value / Y value may be used as the hue parameters. The R value / Y value and the B value / Y value are typical parameters that simultaneously represent hue and saturation information of the color information. Here, the Y value is a parameter representing luminance information of the color information, and is a value that can be obtained by weighting and adding the R value, the G value, and the B value. Similarly, for the parameters representing the color of the image, the R average value / Y average value and the B average value / Y average value may be used as the representative color parameters.
[0067]
Further, in the above embodiment, the R value-G value and the B value-G value are treated as the R color difference value and the B color difference value, respectively. However, other values such as the R value-Y value and the B value-Y value are used. May be used as the color difference value.
[0068]
In the above-described embodiment, the color temperature corresponding to the representative hue parameter is determined by the representative hue parameter calculation unit 27, and the white subject detection unit 29 determines the white determination as a white determination criterion according to the color temperature information. Although the area WA is set, the setting of the white determination reference is not limited to this method. Other processing for variably setting the white determination criterion based on the color temperature may be performed. For example, the white subject detection unit 29 may directly set the white determination criterion from the representative hue parameter. At this time, the representative hue parameter is used as information indicating the color temperature.
[0069]
In this case, in the image processing apparatus, for example, an appropriate white determination criterion is prepared in advance in association with each of various values of the representative hue parameter, and stored in a storage unit (not shown). The representative hue parameter calculation unit 27 obtains a representative hue parameter in the same manner as described above, and outputs this to the white subject detection unit 29. Then, the white subject detection unit 29 selects the white determination area WA corresponding to the representative hue parameter. Note that, also in this example, the representative parameter calculating unit 27 corresponds to the calculating unit of the present invention, and the white subject detecting unit 29 corresponds to the setting unit of the present invention.
[0070]
As described above, even in an example in which the white determination reference is variably set without obtaining the color temperature corresponding to the representative color parameter, the color temperature of the image is estimated using the acquired color parameters of the image itself, and then the white determination reference is determined. Is set, the white determination criterion can be appropriately set without using information on the imaging condition and the subject condition, and the accuracy of the white balance process can be improved.
[0071]
Further, in the above embodiment, the color temperature estimation process and the white subject portion detection process are performed on the same image, but both processes may be performed on different images. Further, for example, the intervals of both processes may be different from each other, such that the color temperature estimation process is performed for every 15 images and the white subject portion detection process is performed for every 5 images. Of course, the color temperature estimation processing and the white subject part detection processing may be applied to all the images.
[0072]
Further, some functions of the video camera 10 may be realized by software. In this case, a computer including a CPU, a RAM, a ROM, and the like can realize the function by executing the program. Furthermore, the video camera 10 includes the image sensor 11 and obtains a target image of the white balance process by photographing the subject. However, the video camera 10 may obtain the target image from outside.
[0073]
According to the video camera 10 described above, the white subject portion is determined after the white determination standard for determining the white subject portion is variably set so as to prevent erroneous determination. Can be determined more accurately. As a result, a more accurate white balance correction value can be obtained, and the accuracy of the white balance processing is improved.
[0074]
In the video camera 10 described above, the representative hue parameter calculator 27 estimates the color temperature of the image from the information of the image itself, that is, the color parameters of the image. Since a certain white determination area is set, a white balance correction value can be suitably obtained without depending on imaging conditions or subject conditions. Then, by performing white balance processing on the image using the white balance correction value, the accuracy of the white balance processing can be improved.
[0075]
In the video camera 10 described above, the representative color parameter calculation unit 27 uses the representative color parameter representing the color of the entire image with one color parameter as the parameter representing the color temperature of the image. I can do it.
[0076]
Further, the use of the color parameters of all the pixels constituting the image improves the accuracy of color temperature estimation. On the other hand, by estimating the color temperature using only the pixels extracted by thinning out some of the pixels constituting the image, the processing load for color temperature estimation is reduced, and the processing time is reduced. it can. In addition, on the coordinate table representing the color parameters of the image, the color temperature is estimated by excluding the color parameters separated from the blackbody radiation curve by a predetermined distance, that is, the color parameters having extremely high saturation, thereby obtaining the color temperature. The estimation accuracy is further improved.
[0077]
【The invention's effect】
As described above, according to the present invention, the white balance correction value can be preferably obtained by variably setting the white determination criterion based on the color temperature estimated from the image itself. An image processing apparatus having an excellent effect of improving image quality can be provided.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of an imaging system according to an embodiment of the present invention.
FIG. 2 is a diagram for explaining white determination processing according to the embodiment of the present invention;
FIG. 3 is a diagram for explaining a color temperature estimation process according to the embodiment of the present invention;
FIG. 4 is a diagram for explaining color temperature estimation processing according to the embodiment of the present invention;
FIG. 5 is a view for explaining white determination reference setting processing according to the embodiment of the present invention;
[Explanation of symbols]
10 Imaging system
11 Image sensor
22 R value multiplier
23 B value multiplier
27 Representative color parameter calculator
29 White subject detector
41 Blackbody radiation curve
WA white determination area

Claims (10)

画像を取得する画像取得手段と、
前記画像取得手段により取得された前記画像から推定される前記画像の色温度に基づいて、前記画像中の白被写体部分を色合いによって判別する基準になる白判別基準を可変に設定する設定手段と、
前記設定手段により設定された白判別基準を用いて、前記画像取得手段により取得された画像にホワイトバランス処理を施すホワイトバランス処理手段と、
を備えたことを特徴とする画像処理装置。
Image acquisition means for acquiring an image,
Setting means for variably setting a white determination criterion serving as a criterion for determining a white subject portion in the image based on a hue based on a color temperature of the image estimated from the image obtained by the image obtaining means,
Using a white determination criterion set by the setting unit, a white balance processing unit that performs white balance processing on the image acquired by the image acquisition unit,
An image processing apparatus comprising:
前記設定手段は、前記画像取得手段により取得された画像の全体の色合いを一つの色合いパラメータで表す代表色合いパラメータを、前記色温度を表すパラメータとして用いることを特徴とする請求項1に記載の画像処理装置。2. The image according to claim 1, wherein the setting unit uses a representative hue parameter representing a whole hue of the image acquired by the image acquisition unit with one hue parameter as a parameter representing the color temperature. 3. Processing equipment. 前記色温度は、前記画像を構成する画素の色パラメータの平均から推定されることを特徴とする請求項1または2に記載の画像処理装置。The image processing apparatus according to claim 1, wherein the color temperature is estimated from an average of color parameters of pixels included in the image. 前記色温度は、前記画像から抽出された複数の画素の色パラメータの平均から推定されることを特徴とする請求項3に記載の画像処理装置。The image processing apparatus according to claim 3, wherein the color temperature is estimated from an average of color parameters of a plurality of pixels extracted from the image. 前記色温度は、前記画像の色合いパラメータを表す座標上で、前記座標上の黒体放射曲線から所定距離離れた色合いパラメータをもつ画素を除く複数の画素の色パラメータの平均から推定されることを特徴とする請求項3に記載の画像処理装置。The color temperature is estimated on a coordinate representing a color parameter of the image from an average of color parameters of a plurality of pixels excluding a pixel having a color parameter separated by a predetermined distance from a blackbody radiation curve on the coordinate. The image processing apparatus according to claim 3, wherein: 画像を取得する画像取得手段と、
前記画像取得手段により取得された前記画像を代表する色合いパラメータである代表色合いパラメータを求める演算手段と、
前記演算手段によって求められた代表色合いパラメータに基づいて、前記画像中の白被写体部分を色合いによって判別する基準になる白判別基準を可変に設定する設定手段と、
前記設定手段により設定された白判別基準を用いて、前記画像取得手段によって取得された画像にホワイトバランス処理を施すホワイトバランス処理手段と、
を備えたことを特徴とする画像処理装置。
Image acquisition means for acquiring an image,
Calculating means for calculating a representative color parameter which is a color parameter representative of the image acquired by the image acquisition means;
Setting means for variably setting a white determination criterion serving as a reference for determining a white subject portion in the image based on the color tone based on the representative color parameter obtained by the arithmetic means;
Using a white determination criterion set by the setting unit, a white balance processing unit that performs white balance processing on the image acquired by the image acquisition unit,
An image processing apparatus comprising:
請求項1〜6のいずれかに記載の画像処理装置と、
被写体を撮像して前記画像を生成する撮像装置とを備え、
前記画像取得手段は、前記撮像装置により生成された画像を取得し、
前記画像処理装置は、前記撮像装置により生成された画像にホワイトバランス処理を施すことを特徴とする撮像システム。
An image processing apparatus according to claim 1,
An imaging device for imaging the subject to generate the image,
The image acquisition unit acquires an image generated by the imaging device,
The image processing system, wherein the image processing device performs a white balance process on an image generated by the image capturing device.
画像を取得する画像取得ステップと、
前記画像取得ステップにて取得された前記画像から推定される前記画像の色温度に基づいて、前記画像中の白被写体部分を色合いによって判別する基準になる白判別基準を可変に設定する設定ステップと、
前記設定ステップにて設定された白判別基準を用いて、前記画像取得ステップにて取得された画像にホワイトバランス処理を施すホワイトバランス処理ステップと、
を含むことを特徴とする画像処理方法。
An image acquisition step of acquiring an image;
A setting step of variably setting a white determination criterion serving as a criterion for determining a white subject portion in the image based on a tint based on a color temperature of the image estimated from the image obtained in the image obtaining step; ,
Using a white determination criterion set in the setting step, a white balance processing step of performing white balance processing on the image obtained in the image obtaining step,
An image processing method comprising:
画像を取得する画像取得ステップと、
前記画像取得ステップにて取得された前記画像を代表する色合いパラメータである代表色合いパラメータを求める演算ステップと、
前記演算ステップにて求められた代表色合いパラメータに基づいて、前記画像中の白被写体部分を色合いによって判別する基準になる白判別基準を可変に設定する設定ステップと、
前記設定ステップにて設定された白判別基準を用いて、前記画像取得ステップにて取得された画像にホワイトバランス処理を施すホワイトバランス処理ステップと、
を含むことを特徴とする画像処理方法。
An image acquisition step of acquiring an image;
A calculating step of obtaining a representative hue parameter which is a hue parameter representing the image obtained in the image obtaining step;
A setting step of variably setting a white determination criterion that is a reference for determining a white subject portion in the image based on the color tone based on the representative color parameter obtained in the calculation step;
Using a white determination criterion set in the setting step, a white balance processing step of performing white balance processing on the image obtained in the image obtaining step,
An image processing method comprising:
請求項8または9に記載の画像処理方法をコンピュータに実行させるプログラム。A program for causing a computer to execute the image processing method according to claim 8.
JP2003063744A 2003-03-10 2003-03-10 Image processing apparatus and imaging system Pending JP2004274482A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003063744A JP2004274482A (en) 2003-03-10 2003-03-10 Image processing apparatus and imaging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003063744A JP2004274482A (en) 2003-03-10 2003-03-10 Image processing apparatus and imaging system

Publications (1)

Publication Number Publication Date
JP2004274482A true JP2004274482A (en) 2004-09-30

Family

ID=33125247

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003063744A Pending JP2004274482A (en) 2003-03-10 2003-03-10 Image processing apparatus and imaging system

Country Status (1)

Country Link
JP (1) JP2004274482A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007272298A (en) * 2006-03-30 2007-10-18 Fujifilm Corp Face detection method and photographing device using the same
JP2008005447A (en) * 2006-06-26 2008-01-10 Sony Corp Image signal processing apparatus and method, imaging apparatus, and computer program
JP2008072575A (en) * 2006-09-15 2008-03-27 Canon Inc Image processor, method, and computer program
KR101324246B1 (en) 2008-12-04 2013-11-01 삼성테크윈 주식회사 Method of white balancing within digital image processing apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007272298A (en) * 2006-03-30 2007-10-18 Fujifilm Corp Face detection method and photographing device using the same
JP2008005447A (en) * 2006-06-26 2008-01-10 Sony Corp Image signal processing apparatus and method, imaging apparatus, and computer program
JP2008072575A (en) * 2006-09-15 2008-03-27 Canon Inc Image processor, method, and computer program
US8466983B2 (en) 2006-09-15 2013-06-18 Canon Kabushiki Kaisha Image processing apparatus performing white balance control
KR101324246B1 (en) 2008-12-04 2013-11-01 삼성테크윈 주식회사 Method of white balancing within digital image processing apparatus

Similar Documents

Publication Publication Date Title
CN110022469B (en) Image processing method, image processing device, storage medium and electronic equipment
US7656437B2 (en) Image processing apparatus, image processing method, and computer program
EP2076054B1 (en) White balance control device and white balance control method
JP4054184B2 (en) Defective pixel correction device
JP4346634B2 (en) Target detection device
US10453188B2 (en) Methods and devices for improving image quality based on synthesized pixel values
US20150278996A1 (en) Image processing apparatus, method, and medium for generating color image data
US20050093992A1 (en) Image processing apparatus, image-taking system, image processing method and image processing program
JP2004088149A (en) Imaging system and image processing program
US8704911B2 (en) Image processing apparatus, image processing method, and recording medium
EP2227025B1 (en) Apparatus and method for adjusting white balance of digital image
US8614751B2 (en) Image processing apparatus and image processing method
CN107533756B (en) Image processing device, imaging device, image processing method, and storage medium storing image processing program for image processing device
JP2006324840A (en) Image processing apparatus and white balance adjusting device
US20120113294A1 (en) Camera device, color calibration method, and program
JP6083974B2 (en) Image processing apparatus, image processing method, and program
US11889202B2 (en) Image processing apparatus, image processing method, and storage medium
EP3493539B1 (en) Image processing apparatus, image processing method, and storage medium
KR20060118352A (en) Image process apparatus, image pickup apparatus, and image processing program
CN108174173A (en) Image pickup method and device, computer readable storage medium and computer equipment
JP2016076851A (en) Imaging apparatus, image processing method, and program
JP2003309859A (en) Image processing apparatus, image processing method, and image processing program
JP2003333616A (en) White balance adjustment method, image pickup device, program, and storage medium
JP2009100302A (en) Image processing device, image processing method, program, imaging apparatus, and imaging method
JP2004274482A (en) Image processing apparatus and imaging system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060309

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070413

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070417

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070613

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070717

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070911

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071016