JP4947624B2 - White balance adjustment method - Google Patents

White balance adjustment method Download PDF

Info

Publication number
JP4947624B2
JP4947624B2 JP2006117536A JP2006117536A JP4947624B2 JP 4947624 B2 JP4947624 B2 JP 4947624B2 JP 2006117536 A JP2006117536 A JP 2006117536A JP 2006117536 A JP2006117536 A JP 2006117536A JP 4947624 B2 JP4947624 B2 JP 4947624B2
Authority
JP
Japan
Prior art keywords
white balance
evaluation
area
image
balance adjustment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2006117536A
Other languages
Japanese (ja)
Other versions
JP2007295062A (en
Inventor
元 佐々木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
MegaChips Corp
Original Assignee
MegaChips Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by MegaChips Corp filed Critical MegaChips Corp
Priority to JP2006117536A priority Critical patent/JP4947624B2/en
Publication of JP2007295062A publication Critical patent/JP2007295062A/en
Application granted granted Critical
Publication of JP4947624B2 publication Critical patent/JP4947624B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ホワイトバランス調整方法に関し、特に、ディジタルスチルカメラやディジタルビデオカメラ等に搭載されるオートホワイトバランス調整機能に関する。   The present invention relates to a white balance adjustment method, and more particularly to an auto white balance adjustment function mounted on a digital still camera, a digital video camera, or the like.

従来より、グレーワールドアルゴリズム(Gray World algorithm)を用いたホワイトバランス調整が知られている(例えば下記特許文献1)。グレーワールドアルゴリズムは、画面内の全ての色を平均すれば無彩色に近くなるという統計的事実を前提としたアルゴリズムであり、画面内のR(赤),G(緑),B(青)の各色の平均信号レベルが等しくなるように、ホワイトバランスのゲインを設定するものである。   Conventionally, white balance adjustment using a gray world algorithm is known (for example, Patent Document 1 below). The gray world algorithm is an algorithm that presupposes the statistical fact that if all colors in the screen are averaged, it becomes close to an achromatic color, and R (red), G (green), and B (blue) in the screen are assumed. The white balance gain is set so that the average signal level of each color becomes equal.

特開2002−185977号公報JP 2002-185977 A

しかしながら、一般的に、グレーワールドアルゴリズムを用いたホワイトバランス調整方法によると、青空を含む風景撮影や、果実や花をクローズアップしたマクロ撮影等、有彩色の被写体が撮影画面内の広範囲を占める状況で撮影が行われた場合には、その有彩色の被写体の色に強い影響を受けて、ホワイトバランス調整が正しく行われないことがある。   However, in general, according to the white balance adjustment method using the gray world algorithm, chromatic subjects occupy a wide area in the shooting screen, such as landscape shooting including blue sky, macro shooting with close-up of fruits and flowers, etc. When shooting is performed, the white balance adjustment may not be performed correctly due to the strong influence of the color of the chromatic subject.

本発明はかかる事情に鑑みて成されたものであり、有彩色の単色領域(以下「有彩単色領域」と称す)が撮影画面内に広範囲に含まれる場合であっても、その有彩単色領域の影響を排除して良好なホワイトバランス調整を行うことが可能な、ホワイトバランス調整方法を得ることを目的とする。   The present invention has been made in view of such circumstances, and even when a chromatic single-color region (hereinafter referred to as a “chromatic single-color region”) is included in a wide range in a shooting screen, the chromatic single color is included. It is an object of the present invention to obtain a white balance adjustment method capable of excluding the influence of the region and performing a good white balance adjustment.

第1の発明に係るホワイトバランス調整方法は、(A)画像内に複数の評価エリアを規定するステップと、(B)前記複数の評価エリアの各々ごとに、その評価エリアが有彩単色領域であるか否かを判定するステップと、(C)前記複数の評価エリアのうちの一部の評価エリアが有彩単色領域であると判定された場合に、当該複数の評価エリアのうち、有彩単色領域であると判定された評価エリアだけを計算対象から除外したグレーワールドアルゴリズムを用いて、前記画像のホワイトバランスを調整するステップとを備える。 The white balance adjustment method according to the first invention includes (A) a step of defining a plurality of evaluation areas in the image, and (B) for each of the plurality of evaluation areas, the evaluation area is a chromatic monochrome region. and whether the determining whether, (C) If a part of the evaluation area of the plurality of evaluation area is determined to be a chromatic monochromatic area, among the plurality of evaluation areas, Arisa Adjusting the white balance of the image using a gray world algorithm in which only the evaluation area determined to be a single color area is excluded from the calculation target.

第2の発明に係るホワイトバランス調整方法は、第1の発明に係るホワイトバランス調整方法において特に、(D)前記複数の評価エリアの全てが有彩単色領域であると判定された場合に、予め設定されているデフォルト値を用いて前記画像のホワイトバランスを調整するステップをさらに備えることを特徴とする。   The white balance adjustment method according to the second invention is the white balance adjustment method according to the first invention, particularly when (D) it is determined in advance that all of the plurality of evaluation areas are chromatic monochromatic regions. The method further includes the step of adjusting the white balance of the image using a set default value.

第3の発明に係るホワイトバランス調整方法は、第1又は第2の発明に係るホワイトバランス調整方法において特に、前記ステップ(B)は、(B−1)前記評価エリアを複数の小エリアに分割するステップと、(B−2)前記複数の小エリアの各々ごとに、色ベクトルを求めるステップと、(B−3)前記複数の小エリアに関して求めた複数の色ベクトルの平均値及び均一度に基づいて、前記評価エリアが有彩単色領域であるか否かを判定するステップとを有することを特徴とする。   The white balance adjustment method according to a third aspect of the invention is the white balance adjustment method according to the first or second aspect of the invention. In particular, the step (B) includes (B-1) dividing the evaluation area into a plurality of small areas. (B-2) obtaining a color vector for each of the plurality of small areas; and (B-3) calculating an average value and uniformity of the plurality of color vectors obtained for the plurality of small areas. And determining whether or not the evaluation area is a chromatic single-color region.

第4の発明に係るホワイトバランス調整方法は、第1又は第2の発明に係るホワイトバランス調整方法において特に、前記ステップ(B)は、(B−1)前記評価エリアを複数の小エリアに分割するステップと、(B−2)前記複数の小エリアの各々ごとに、色ベクトル及び輝度値を求めるステップと、(B−3)前記複数の小エリアに関して求めた、複数の色ベクトルの平均値及び均一度並びに複数の輝度値の均一度に基づいて、前記評価エリアが有彩単色領域であるか否かを判定するステップとを有することを特徴とする。   The white balance adjustment method according to a fourth aspect of the present invention is the white balance adjustment method according to the first or second aspect of the invention. In particular, the step (B) includes (B-1) dividing the evaluation area into a plurality of small areas. (B-2) obtaining a color vector and a luminance value for each of the plurality of small areas, and (B-3) an average value of the plurality of color vectors obtained for the plurality of small areas. And determining whether or not the evaluation area is a chromatic monochrome region based on the uniformity and the uniformity of a plurality of luminance values.

第5の発明に係るホワイトバランス調整方法は、第3又は第4の発明に係るホワイトバランス調整方法において特に、前記ステップ(B−3)は、(B−3−1)前記複数の色ベクトルに関する平均色ベクトルを求めるステップと、(B−3−2)前記平均色ベクトルと前記複数の色ベクトルの各々との差分値を求めるステップと、(B−3−3)前記ステップ(B−3−2)で求められた複数の差分値の二乗平均値を求めるステップと、(B−3−4)前記平均色ベクトルのベクトル長が予め定められた第1のしきい値より大きく、かつ、前記二乗平均値が、予め定められた第2のしきい値以下である場合に、前記評価エリアが有彩単色領域であると判定するステップとを有することを特徴とする。   The white balance adjustment method according to a fifth aspect of the present invention is the white balance adjustment method according to the third or fourth aspect of the invention. In particular, the step (B-3) relates to (B-3-1) the plurality of color vectors. A step of obtaining an average color vector; (B-3-2) a step of obtaining a difference value between the average color vector and each of the plurality of color vectors; and (B-3-3) the step (B-3- A step of obtaining a mean square value of the plurality of difference values obtained in 2); and (B-3-4) a vector length of the mean color vector is greater than a predetermined first threshold value, and Determining that the evaluation area is a chromatic monochrome region when the mean square value is equal to or less than a predetermined second threshold value.

第6の発明に係るホワイトバランス調整方法は、第5の発明に係るホワイトバランス調整方法において特に、前記ステップ(B−3−3)では、前記ステップ(B−3−2)で求められた全ての差分値のうち、その値が大きい上位所定割合の差分値を計算対象から除外して、前記二乗平均値が求められることを特徴とする。   The white balance adjustment method according to the sixth aspect of the invention is the white balance adjustment method according to the fifth aspect of the invention. In particular, in the step (B-3-3), all the values obtained in the step (B-3-2) are obtained. Among the difference values, the difference value of the upper predetermined ratio having a large value is excluded from the calculation target, and the root mean square value is obtained.

第7の発明に係るホワイトバランス調整方法は、第1〜第6のいずれか一つの発明に係るホワイトバランス調整方法において特に、前記ステップ(C)では、前記評価エリア自身と、前記評価エリアの近傍領域とが、グレーワールドアルゴリズムの計算対象から除外されることを特徴とする。   The white balance adjustment method according to a seventh aspect of the invention is the white balance adjustment method according to any one of the first to sixth aspects of the invention, particularly in the step (C), the evaluation area itself and the vicinity of the evaluation area. The region is excluded from the calculation target of the gray world algorithm.

第8の発明に係るホワイトバランス調整方法は、第1〜第7のいずれか一つの発明に係るホワイトバランス調整方法において特に、前記ステップ(A)は、(A−1)前記画像の水平方向及び垂直方向に並ぶ複数の評価エリアを規定するステップと、(A−2)前記画像の中央領域に位置する評価エリアと、前記画像の周縁領域に位置する評価エリアとを規定するステップとを有し、前記ステップ(B)及び(C)は、前記ステップ(A−1)及び(A−2)のそれぞれに対応して順に実行されることを特徴とする。   The white balance adjustment method according to an eighth invention is the white balance adjustment method according to any one of the first to seventh inventions, and in particular, the step (A) includes (A-1) the horizontal direction of the image and Defining a plurality of evaluation areas arranged in the vertical direction, and (A-2) defining an evaluation area located in a central area of the image and an evaluation area located in a peripheral area of the image. The steps (B) and (C) are executed in order corresponding to the steps (A-1) and (A-2), respectively.

第9の発明に係るホワイトバランス調整方法は、第1〜第7のいずれか一つの発明に係るホワイトバランス調整方法において特に、前記ステップ(A)では、前記画像の中央領域に位置する評価エリアと、前記画像の周縁領域内で前記画像の水平方向及び垂直方向に並ぶ複数の評価エリアとが規定されることを特徴とする。   A white balance adjustment method according to a ninth aspect of the invention is the white balance adjustment method according to any one of the first to seventh aspects of the invention, in particular, in the step (A), an evaluation area located in a central area of the image, A plurality of evaluation areas arranged in a horizontal direction and a vertical direction of the image are defined in a peripheral region of the image.

第10の発明に係るホワイトバランス調整方法は、第1〜第10のいずれか一つの発明に係るホワイトバランス調整方法において特に、有彩単色領域の評価エリアを計算対象から除外したグレーワールドアルゴリズムを用いたホワイトバランス調整と、有彩単色領域の評価エリアを計算対象から除外しないグレーワールドアルゴリズムを用いたホワイトバランス調整とが任意の順で時間的に連続する場合、先のホワイトバランス調整における調整量から、後のホワイトバランス調整における調整量への遷移は、段階的に行われることを特徴とする。   The white balance adjustment method according to the tenth invention is the white balance adjustment method according to any one of the first to tenth inventions, particularly using a gray world algorithm in which the evaluation area of the chromatic monochrome region is excluded from the calculation target. White balance adjustment and white balance adjustment using the gray world algorithm that does not exclude the evaluation area of the chromatic single-color area from the calculation target are temporally continuous in any order, from the adjustment amount in the previous white balance adjustment The transition to the adjustment amount in the subsequent white balance adjustment is performed in stages.

第1の発明に係るホワイトバランス調整方法によれば、有彩単色領域の評価エリアを計算対象から除外したグレーワールドアルゴリズムを用いて、画像のホワイトバランス調整が行われる。従って、撮影画面内に有彩単色領域が広範囲に含まれる場合であっても、有彩単色領域の影響を排除して良好なホワイトバランス調整を行うことが可能となる。   According to the white balance adjustment method according to the first aspect of the invention, the white balance adjustment of the image is performed using the gray world algorithm in which the evaluation area of the chromatic monochrome region is excluded from the calculation target. Therefore, even when the chromatic single-color region is included in a wide range in the shooting screen, it is possible to eliminate the influence of the chromatic single-color region and perform good white balance adjustment.

第2の発明に係るホワイトバランス調整方法によれば、全ての評価エリアが有彩単色領域である場合には、グレーワールドアルゴリズムを用いたホワイトバランス調整ではなく、予め設定されているデフォルト値を用いたホワイトバランス調整が行われる。従って、太陽光や蛍光灯等の光源の種類に応じて適切なデフォルト値を設定しておくことにより、全ての評価エリアが有彩単色領域である場合であっても、良好なホワイトバランス調整を行うことができる。   According to the white balance adjustment method according to the second aspect of the invention, when all the evaluation areas are chromatic monochromatic areas, the preset default value is used instead of the white balance adjustment using the gray world algorithm. The white balance adjustment was made. Therefore, by setting an appropriate default value according to the type of light source such as sunlight or fluorescent light, even when all the evaluation areas are chromatic monochromatic areas, good white balance adjustment is possible. It can be carried out.

第3の発明に係るホワイトバランス調整方法によれば、複数の色ベクトルの平均値及び均一度に基づく判定手法によって、評価エリアが有彩単色領域であるか否かを、簡易かつ高精度に判定することができる。   According to the white balance adjustment method according to the third aspect of the present invention, whether or not the evaluation area is a chromatic monochrome region is determined easily and with high accuracy by a determination method based on the average value and uniformity of a plurality of color vectors. can do.

第4の発明に係るホワイトバランス調整方法によれば、複数の色ベクトルの平均値及び均一度並びに複数の輝度値の均一度に基づく判定手法によって、評価エリアが有彩単色領域であるか否かを、簡易かつ高精度に判定することができる。   According to the white balance adjustment method of the fourth aspect of the invention, whether or not the evaluation area is a chromatic monochromatic region by a determination method based on the average value and uniformity of a plurality of color vectors and the uniformity of a plurality of luminance values. Can be determined easily and with high accuracy.

第5の発明に係るホワイトバランス調整方法によれば、差分値や二乗平均値を求めるという簡単な演算によって、評価エリアが有彩単色領域であるか否かを判定することができる。   According to the white balance adjustment method according to the fifth aspect of the present invention, it is possible to determine whether or not the evaluation area is a chromatic monochrome area by a simple calculation of obtaining a difference value or a root mean square value.

第6の発明に係るホワイトバランス調整方法によれば、ノイズの影響や、ノイズに相当する希有な色ベクトルに起因する影響を排除できるため、良好なホワイトバランス調整を行うことができる。   According to the white balance adjustment method of the sixth aspect of the invention, it is possible to eliminate the influence of noise and the influence caused by a rare color vector corresponding to the noise, so that good white balance adjustment can be performed.

第7の発明に係るホワイトバランス調整方法によれば、有彩単色領域の評価エリア自身のみならず、その評価エリアの近傍領域をもグレーワールドアルゴリズムの計算対象から除外することにより、評価エリアからはみ出している部分の有彩単色領域の影響を排除することができる。   According to the white balance adjustment method according to the seventh aspect of the invention, not only the evaluation area itself of the chromatic monochrome area but also the neighboring area of the evaluation area is excluded from the calculation object of the gray world algorithm, thereby protruding from the evaluation area. It is possible to eliminate the influence of the chromatic monochromatic region in the portion where the image is present.

第8の発明に係るホワイトバランス調整方法によれば、複数のパターンで評価エリアを規定することにより、撮影画面内における有彩単色の被写体の位置に関わらず、有彩単色領域の評価エリアを特定することができる。   According to the white balance adjustment method of the eighth invention, by specifying the evaluation area with a plurality of patterns, the evaluation area of the chromatic monochrome area is specified regardless of the position of the chromatic monochrome object in the shooting screen. can do.

第9の発明に係るホワイトバランス調整方法によれば、メインの被写体が含まれる可能性が高い画面中央領域に評価エリアを規定しつつ、画面周縁領域にも複数の評価エリアを規定することにより、撮影画面内における有彩単色の被写体の位置に関わらず、有彩単色領域の評価エリアを特定することができる。   According to the white balance adjustment method according to the ninth aspect of the present invention, by defining the evaluation area in the screen center area that is likely to include the main subject, and by defining a plurality of evaluation areas in the screen peripheral area, The evaluation area of the chromatic / monochromatic area can be specified regardless of the position of the chromatic / monochromatic subject in the shooting screen.

第10の発明に係るホワイトバランス調整方法によれば、ホワイトバランスの調整量が頻繁に変化することに起因する画面のちらつきを防止することができる。   According to the white balance adjustment method according to the tenth aspect of the present invention, it is possible to prevent screen flickering caused by frequent changes in the white balance adjustment amount.

以下、本発明の実施の形態について、図面を用いて詳細に説明する。なお、異なる図面において同一の符号を付した要素は、同一又は相応する要素を示すものとする。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In addition, the element which attached | subjected the same code | symbol in different drawing shall show the same or corresponding element.

図1は、本発明の実施の形態に係るディジタルカメラの全体構成を概略的に示すブロック図である。撮像部1の後段には、アナログ信号処理回路2が接続されている。アナログ信号処理回路2の後段には、SPU(Sensor Processing Unit)3aが接続されている。SPU3aの後段には、RPU(Real-time Processing Unit)4が接続されている。SPU3a及びRPU4は、メインバス5に接続されている。メインバス5には、SPU3a及びRPU4のほかに、DMAコントローラ6及びメモリインタフェース7が接続されている。メモリインタフェース7にはSDRAM等のメモリ8が接続されている。   FIG. 1 is a block diagram schematically showing the overall configuration of a digital camera according to an embodiment of the present invention. An analog signal processing circuit 2 is connected to the subsequent stage of the imaging unit 1. An SPU (Sensor Processing Unit) 3 a is connected to the subsequent stage of the analog signal processing circuit 2. An RPU (Real-time Processing Unit) 4 is connected to the subsequent stage of the SPU 3a. The SPU 3 a and RPU 4 are connected to the main bus 5. In addition to the SPU 3 a and RPU 4, a DMA controller 6 and a memory interface 7 are connected to the main bus 5. A memory 8 such as an SDRAM is connected to the memory interface 7.

撮像部1は、CCD等の撮像素子(画像センサ)を有している。また、撮像部1は、R(レッド),G(グリーン),B(ブルー)等の3色系のカラーフィルタを有しており、光学レンズを用いて画像を撮像して、得られた画像信号S1を出力する。なお、CCDの代わりに、CMOSイメージセンサ等の他の撮像素子が設けられていてもよい。また、3色系のカラーフィルタの代わりに、Y(イエロー),M(マゼンタ),C(シアン),W(ホワイト)等の4色系のカラーフィルタが設けられていてもよい。   The imaging unit 1 has an imaging element (image sensor) such as a CCD. In addition, the imaging unit 1 includes three color filters such as R (red), G (green), and B (blue), and images obtained using an optical lens are captured. The signal S1 is output. Note that another image pickup device such as a CMOS image sensor may be provided instead of the CCD. Instead of the three-color color filters, four-color color filters such as Y (yellow), M (magenta), C (cyan), and W (white) may be provided.

アナログ信号処理回路2は、撮像部1から入力されたアナログの画像信号S1に対して、ノイズ除去、信号増幅、及びA/D変換等の信号処理を施し、ディジタルの画像信号D1を出力する。   The analog signal processing circuit 2 performs signal processing such as noise removal, signal amplification, and A / D conversion on the analog image signal S1 input from the imaging unit 1, and outputs a digital image signal D1.

SPU3aは、アナログ信号処理回路2から入力された画像信号D1に対して、画像センサの特性に起因する問題点に関連する各種の信号処理を施して、画像信号D2を出力する。特に、SPU3aは、画像信号D1に対してホワイトバランス調整を行うオートホワイトバランス処理部(以下「AWB処理部」と称す)9を有している。   The SPU 3a performs various types of signal processing related to the problems caused by the characteristics of the image sensor on the image signal D1 input from the analog signal processing circuit 2, and outputs the image signal D2. In particular, the SPU 3a includes an auto white balance processing unit (hereinafter referred to as “AWB processing unit”) 9 that performs white balance adjustment on the image signal D1.

RPU4は、SPU3aから入力された画像信号D2に対して、画素補間、色空間変換、輪郭強調、及び偽色抑圧等の各種の信号処理を施して、画像信号D3を出力する。RPU4から出力された画像信号D3は、DMAコントローラ6の制御により、メインバス5及びメモリインタフェース7を介してメモリ8に格納される。   The RPU 4 performs various types of signal processing such as pixel interpolation, color space conversion, edge enhancement, and false color suppression on the image signal D2 input from the SPU 3a, and outputs an image signal D3. The image signal D3 output from the RPU 4 is stored in the memory 8 via the main bus 5 and the memory interface 7 under the control of the DMA controller 6.

SPU3aとメモリ8との間では、DMAコントローラ6の制御により、メインバス5及びメモリインタフェース7を介した画像信号D1の相互伝送が可能である。   Between the SPU 3 a and the memory 8, the image signal D 1 can be mutually transmitted via the main bus 5 and the memory interface 7 under the control of the DMA controller 6.

図2は、図1に示したAWB処理部9によるホワイトバランス調整の処理の流れを示すフローチャートである。この例では、ホワイトバランス調整前の画像信号D1が一旦メモリ8に格納され、AWB処理部9は、メモリ8からフレーム毎に画像信号D1を読み出して、ホワイトバランス調整処理を行う。   FIG. 2 is a flowchart showing a flow of white balance adjustment processing by the AWB processing unit 9 shown in FIG. In this example, the image signal D1 before white balance adjustment is temporarily stored in the memory 8, and the AWB processing unit 9 reads the image signal D1 from the memory 8 for each frame and performs white balance adjustment processing.

まずステップSP1において、AWB処理部9は、メモリ8から読み出した画像信号D1で表される画像内に、複数の評価エリアを規定する。図3は、画像10内に4個の評価エリアA1〜A4が規定された例を示す図である。評価エリアA1,A2,A3,A4は、画像10を4等分した左上領域内、右上領域内、左下領域内、右下領域内に、それぞれ規定されている。評価エリアA1,A2は画像10の水平方向に並び、同様に評価エリアA3,A4も画像10の水平方向に並んでいる。評価エリアA1,A3は画像10の垂直方向に並び、同様に評価エリアA2,A4も画像10の垂直方向に並んでいる。   First, in step SP1, the AWB processing unit 9 defines a plurality of evaluation areas in the image represented by the image signal D1 read from the memory 8. FIG. 3 is a diagram illustrating an example in which four evaluation areas A1 to A4 are defined in the image 10. The evaluation areas A1, A2, A3, and A4 are respectively defined in an upper left area, an upper right area, a lower left area, and a lower right area obtained by dividing the image 10 into four equal parts. Evaluation areas A1 and A2 are arranged in the horizontal direction of the image 10, and similarly, evaluation areas A3 and A4 are arranged in the horizontal direction of the image 10. The evaluation areas A1 and A3 are arranged in the vertical direction of the image 10, and similarly, the evaluation areas A2 and A4 are arranged in the vertical direction of the image 10.

図2を参照して、次にステップSP2において、AWB処理部9は、各評価エリアA1〜A4が有彩単色領域であるか否かを判定する。つまり、各評価エリアA1〜A4が有彩色かつ単色の画像領域(又はそれに近い画像領域)から成る評価エリアであるか否かを判定する。かかる判定の具体的手法については後述する。図4は、画像10の第1の例を示す図である。山40の背景に青空41が写っている。第1の例の場合、評価エリアA1,A2内には青空41の青色だけが含まれるので、評価エリアA1,A2は有彩単色領域であると判定される。   Referring to FIG. 2, next, in step SP2, the AWB processing unit 9 determines whether or not each of the evaluation areas A1 to A4 is a chromatic monochrome region. That is, it is determined whether or not each of the evaluation areas A1 to A4 is an evaluation area composed of a chromatic and monochromatic image area (or an image area close thereto). A specific method for such determination will be described later. FIG. 4 is a diagram illustrating a first example of the image 10. The blue sky 41 is reflected in the background of the mountain 40. In the case of the first example, since only the blue color of the blue sky 41 is included in the evaluation areas A1 and A2, it is determined that the evaluation areas A1 and A2 are chromatic monochrome regions.

図2を参照して、評価エリアA1〜A4内に有彩単色領域が存在する場合(つまりステップSP2の判定結果が「YES」の場合)は、次にステップSP3において、AWB処理部9は、評価エリアA1〜A4の全てが有彩単色領域であるか否かを判定する。   Referring to FIG. 2, when a chromatic single color area exists in evaluation areas A1 to A4 (that is, when the determination result in step SP2 is “YES”), in step SP3, AWB processing unit 9 It is determined whether or not all of the evaluation areas A1 to A4 are chromatic monochromatic areas.

評価エリアA1〜A4の一部が有彩単色領域である場合(つまりステップSP3の判定結果が「NO」の場合)は、次にステップSP4において、AWB処理部9は、有彩単色領域の評価エリアを計算対象から除外したグレーワールドアルゴリズムによってホワイトバランスゲインの値を決定し、画像10のホワイトバランス調整を行う。   If a part of the evaluation areas A1 to A4 is a chromatic monochrome region (that is, if the determination result in step SP3 is “NO”), then in step SP4, the AWB processing unit 9 evaluates the chromatic monochrome region. The value of the white balance gain is determined by the gray world algorithm excluding the area from the calculation target, and the white balance of the image 10 is adjusted.

図5は、図4に示した第1の例に対応して、グレーワールドアルゴリズムの計算対象から除外すべき画像領域を示す図である。評価エリアA1自身と評価エリアA1の近傍領域とを含む画像領域B1(斜線ハッチング部分)が、計算対象から除外される。同様に、評価エリアA2自身と評価エリアA2の近傍領域とを含む画像領域B1(散点ハッチング部分)が、計算対象から除外される。従って、AWB処理部9は、画像10の下半分の領域に対応する画像信号に基づいて、ホワイトバランスゲインの値を決定する。このように、評価エリアA1,A2よりも広い領域を計算対象から除外することにより、評価エリアA1,A2からはみ出している部分の有彩単色領域(第1の例では青空41)の影響をも排除することができる。   FIG. 5 is a diagram showing image areas to be excluded from the calculation target of the gray world algorithm, corresponding to the first example shown in FIG. An image area B1 (shaded hatched portion) including the evaluation area A1 itself and the vicinity area of the evaluation area A1 is excluded from the calculation target. Similarly, the image area B1 (scattered hatched portion) including the evaluation area A2 itself and the vicinity area of the evaluation area A2 is excluded from the calculation target. Therefore, the AWB processing unit 9 determines the value of the white balance gain based on the image signal corresponding to the lower half area of the image 10. In this way, by excluding the area wider than the evaluation areas A1 and A2 from the calculation target, the influence of the chromatic monochrome area (the blue sky 41 in the first example) of the portion that protrudes from the evaluation areas A1 and A2 can be obtained. Can be eliminated.

図2を参照して、ステップSP3において、評価エリアA1〜A4の全てが有彩単色領域である場合(つまりステップSP3の判定結果が「YES」の場合)は、次にステップSP7において、AWB処理部9は、予め定められているデフォルト値を用いて、画像10のホワイトバランス調整を行う。デフォルト値としては、太陽光や蛍光灯等の光源の種類に応じたホワイトバランスゲインの値が、予め設定されている。AWB処理部9は、画像10の平均輝度値を算出し、その平均輝度値が所定のしきい値以上である場合には、太陽光用に設定されたホワイトバランスゲインの値を用いてホワイトバランス調整を行う。一方、画像10の平均輝度値が上記所定のしきい値未満である場合には、蛍光灯用に設定されたホワイトバランスゲインの値を用いてホワイトバランス調整を行う。各ホワイトバランスゲインの値を適切に設定しておくことにより、全ての評価エリアが有彩単色領域である場合であっても、グレーワールドアルゴリズムによらずに良好なホワイトバランス調整を行うことが可能となる。   Referring to FIG. 2, when all of evaluation areas A1 to A4 are chromatic monochromatic regions in step SP3 (that is, when the determination result in step SP3 is “YES”), in step SP7, an AWB process is performed. The unit 9 performs white balance adjustment of the image 10 using a predetermined default value. As the default value, a white balance gain value corresponding to the type of light source such as sunlight or fluorescent lamp is set in advance. The AWB processing unit 9 calculates an average luminance value of the image 10, and when the average luminance value is equal to or greater than a predetermined threshold, the white balance is set using the white balance gain value set for sunlight. Make adjustments. On the other hand, when the average luminance value of the image 10 is less than the predetermined threshold value, white balance adjustment is performed using the value of the white balance gain set for the fluorescent lamp. By appropriately setting each white balance gain value, even if all evaluation areas are chromatic single-color areas, it is possible to perform good white balance adjustments regardless of the gray world algorithm. It becomes.

ステップSP2において、評価エリアA1〜A4内に有彩単色領域が存在しない場合(つまりステップSP2の判定結果が「NO」の場合)は、次にステップSP5において、AWB処理部9は、図3に示した評価エリアA1〜A4の規定パターンとは異なる規定パターンの評価エリアを、画像10内に規定する。図6は、画像10内に2個の評価エリアA5,A6が規定された例を示す図である。評価エリアA5は、画像10の中心を含む中央領域に規定されている。評価エリアA6は、評価エリアA5の周囲を取り囲むように、画像10の周縁領域内に規定されている。   In step SP2, if there is no chromatic single color region in the evaluation areas A1 to A4 (that is, if the determination result in step SP2 is “NO”), then in step SP5, the AWB processing unit 9 performs the processing shown in FIG. An evaluation area of a prescribed pattern different from the prescribed patterns of the evaluation areas A1 to A4 shown is defined in the image 10. FIG. 6 is a diagram showing an example in which two evaluation areas A5 and A6 are defined in the image 10. As shown in FIG. The evaluation area A5 is defined as a central area including the center of the image 10. The evaluation area A6 is defined in the peripheral area of the image 10 so as to surround the periphery of the evaluation area A5.

図2を参照して、次にステップSP6において、AWB処理部9は、各評価エリアA5,A6が有彩単色領域であるか否かを判定する。図7は、画像10の第2の例を示す図である。壁52に接して配置された机51の上にリンゴ50が置かれている。第2の例の場合、評価エリアA5内にはリンゴ50の赤色だけが含まれるので、評価エリアA5は有彩単色領域であると判定される。図8は、画像10の第3の例を示す図である。熱気球60の背景に青空61が写っている。第3の例の場合、評価エリアA6内には青空61の青色だけが含まれるので、評価エリアA6は有彩単色領域であると判定される。このように、複数の規定パターンで評価エリアを規定することにより、撮影画面内における有彩単色の被写体の位置に関わらず、有彩単色領域の評価エリアを特定することができる。   Referring to FIG. 2, next, in step SP6, AWB processing unit 9 determines whether or not each of evaluation areas A5 and A6 is a chromatic monochrome region. FIG. 7 is a diagram illustrating a second example of the image 10. An apple 50 is placed on a desk 51 placed in contact with the wall 52. In the case of the second example, since only the red color of the apple 50 is included in the evaluation area A5, it is determined that the evaluation area A5 is a chromatic monochrome region. FIG. 8 is a diagram illustrating a third example of the image 10. The blue sky 61 is reflected in the background of the hot air balloon 60. In the case of the third example, since only the blue color of the blue sky 61 is included in the evaluation area A6, it is determined that the evaluation area A6 is a chromatic monochrome region. In this way, by defining the evaluation area with a plurality of prescribed patterns, it is possible to specify the evaluation area of the chromatic monochrome region regardless of the position of the chromatic monochrome subject in the shooting screen.

図2を参照して、ステップSP6において、評価エリアA5,A6内に有彩単色領域が存在する場合(つまりステップSP6の判定結果が「YES」の場合)は、次にステップSP3において、AWB処理部9は、評価エリアA5,A6の全てが有彩単色領域であるか否かを判定する。   Referring to FIG. 2, if a chromatic single color area exists in evaluation areas A5 and A6 in step SP6 (that is, if the determination result in step SP6 is “YES”), then in step SP3, an AWB process is performed. The unit 9 determines whether or not all of the evaluation areas A5 and A6 are chromatic monochromatic areas.

評価エリアA5,A6の全てが有彩単色領域である場合(つまりステップSP3の判定結果が「YES」の場合)は、上記と同様に、次にステップSP7において、AWB処理部9は、予め定められているデフォルト値を用いて、画像10のホワイトバランス調整を行う。一方、評価エリアA5,A6の一部が有彩単色領域である場合(つまりステップSP3の判定結果が「NO」の場合)は、上記と同様に、次にステップSP4において、AWB処理部9は、有彩単色領域の評価エリアを計算対象から除外したグレーワールドアルゴリズムによってホワイトバランスゲインの値を決定し、画像10のホワイトバランス調整を行う。   When all of the evaluation areas A5 and A6 are chromatic monochromatic areas (that is, when the determination result in step SP3 is “YES”), in the next step SP7, the AWB processing unit 9 determines in advance as described above. The white balance adjustment of the image 10 is performed using the default value. On the other hand, when a part of the evaluation areas A5 and A6 is a chromatic monochrome region (that is, when the determination result in step SP3 is “NO”), in the next step SP4, the AWB processing unit 9 The white balance gain value is determined by the gray world algorithm excluding the evaluation area of the chromatic monochrome region from the calculation target, and the white balance of the image 10 is adjusted.

図9は、図7に示した第2の例に対応して、グレーワールドアルゴリズムの計算対象から除外すべき画像領域を示す図である。評価エリアA5自身と評価エリアA5の近傍領域とを含む画像領域B5(斜線ハッチング部分)が、計算対象から除外される。従って、AWB処理部9は、画像10から画像領域B5を除いた残りの画像領域に対応する画像信号に基づいて、ホワイトバランスゲインの値を決定する。また、図10は、図8に示した第3の例に対応して、グレーワールドアルゴリズムの計算対象から除外すべき画像領域を示す図である。評価エリアA6自身と評価エリアA6の近傍領域とを含む画像領域B6(斜線ハッチング部分)が、計算対象から除外される。従って、AWB処理部9は、画像10から画像領域B6を除いた残りの画像領域に対応する画像信号に基づいて、ホワイトバランスゲインの値を決定する。   FIG. 9 is a diagram showing image regions to be excluded from the calculation target of the gray world algorithm, corresponding to the second example shown in FIG. The image area B5 (shaded hatched portion) including the evaluation area A5 itself and the vicinity area of the evaluation area A5 is excluded from the calculation target. Accordingly, the AWB processing unit 9 determines the value of the white balance gain based on the image signal corresponding to the remaining image area obtained by removing the image area B5 from the image 10. FIG. 10 is a diagram showing image areas to be excluded from the calculation target of the gray world algorithm, corresponding to the third example shown in FIG. An image area B6 (shaded hatched portion) including the evaluation area A6 itself and the vicinity area of the evaluation area A6 is excluded from the calculation target. Accordingly, the AWB processing unit 9 determines the value of the white balance gain based on the image signal corresponding to the remaining image area obtained by removing the image area B6 from the image 10.

図2を参照して、ステップSP6において、評価エリアA5,A6内に有彩単色領域が存在しない場合(つまりステップSP6の判定結果が「NO」の場合)は、次にステップSP8において、AWB処理部9は、通常のグレーワールドアルゴリズムによってホワイトバランス調整を行う。つまり、画像10の全領域を対象とした計算によってホワイトバランスゲインの値を決定し、ホワイトバランス調整を行う。   Referring to FIG. 2, if there is no chromatic single color region in evaluation areas A5 and A6 in step SP6 (that is, if the determination result in step SP6 is “NO”), then in step SP8, an AWB process is performed. The unit 9 performs white balance adjustment by a normal gray world algorithm. In other words, the white balance gain value is determined by calculation for the entire area of the image 10 and white balance adjustment is performed.

なお、以上の説明では、評価エリアの規定パターンが2種類である例について述べたが、規定パターンは3種類以上であってもよい。また、第1の規定パターン(図3)を用いた判定で有彩単色領域が発見されなかった場合に第2の規定パターン(図6)を用いて再判定を行う例について述べたが、第1の規定パターンを用いた判定で有彩単色領域が発見された場合であっても、第2の規定パターンを用いた判定を行ってもよい。   In the above description, an example in which there are two types of defined patterns in the evaluation area has been described, but there may be three or more defined patterns. In addition, an example has been described in which re-determination is performed using the second defined pattern (FIG. 6) when a chromatic monochrome region is not found in the determination using the first defined pattern (FIG. 3). Even if a chromatic monochromatic region is found by the determination using the first specified pattern, the determination using the second specified pattern may be performed.

これとは逆に、2種類の規定パターンを用いた2回の判定を行うのではなく、1種類の規定パターンを用いて1回の判定のみを行うこともできる。図11は、画像10内に5個の評価エリアA7〜A11が規定された例を示す図である。評価エリアA7は、画像10の中心を含む中央領域に規定されている。評価エリアA8〜A11は、評価エリアA7の周囲を取り囲むように、画像10の周縁領域内に規定されている。評価エリアA8,A9,A10,A11は、画像10を4等分した左上領域内、右上領域内、左下領域内、右下領域内に、それぞれ規定されている。評価エリアA8,A8は画像10の水平方向に並び、同様に評価エリアA10,A11も画像10の水平方向に並んでいる。評価エリアA8,A10は画像10の垂直方向に並び、同様に評価エリアA9,A11も画像10の垂直方向に並んでいる。このように、メインの被写体が含まれる可能性が高い画面中央領域に評価エリアA7を規定しつつ、画面周縁領域にも複数の評価エリアA8〜A11を規定することにより、撮影画面内における有彩単色の被写体の位置に関わらず、有彩単色領域の評価エリアを1回の判定で特定することができる。   On the contrary, it is also possible to perform only one determination using one type of specified pattern instead of performing the determination twice using two types of specified patterns. FIG. 11 is a diagram showing an example in which five evaluation areas A7 to A11 are defined in the image 10. As shown in FIG. The evaluation area A7 is defined as a central region including the center of the image 10. The evaluation areas A8 to A11 are defined in the peripheral area of the image 10 so as to surround the periphery of the evaluation area A7. Evaluation areas A8, A9, A10, and A11 are respectively defined in an upper left area, an upper right area, a lower left area, and a lower right area obtained by dividing the image 10 into four equal parts. The evaluation areas A8 and A8 are arranged in the horizontal direction of the image 10, and similarly, the evaluation areas A10 and A11 are arranged in the horizontal direction of the image 10. The evaluation areas A8 and A10 are arranged in the vertical direction of the image 10, and similarly, the evaluation areas A9 and A11 are arranged in the vertical direction of the image 10. As described above, by defining the evaluation area A7 in the center area of the screen where the main subject is likely to be included, and by defining the plurality of evaluation areas A8 to A11 in the peripheral area of the screen, the chromaticity in the shooting screen is displayed. Regardless of the position of the monochrome subject, the evaluation area of the chromatic monochrome region can be specified by one determination.

さて次に、上記の評価エリアA1〜A11(以下総称して「評価エリアA」と称す)の各々が有彩単色領域であるか否かを判定する処理について、詳細に説明する。   Now, a process for determining whether or not each of the evaluation areas A1 to A11 (hereinafter collectively referred to as “evaluation area A”) is a chromatic monochrome region will be described in detail.

図12は、図1に示したAWB処理部9による、各評価エリアAが有彩単色領域であるか否かの判定処理の流れを示すフローチャートである。まずステップSP20において、AWB処理部9は、図3,6,11に示したように各評価エリアAを複数の小エリア11に分割する。図3,6,11には、評価エリアAのみならず画像10の全領域が小エリア11に分割された例が示されているが、評価エリアA以外の画像領域は、必ずしも小エリア11に分割する必要はない。   FIG. 12 is a flowchart showing a flow of determination processing for determining whether or not each evaluation area A is a chromatic monochrome region by the AWB processing unit 9 shown in FIG. First, in step SP20, the AWB processing unit 9 divides each evaluation area A into a plurality of small areas 11 as shown in FIGS. 3, 6, and 11 illustrate an example in which not only the evaluation area A but the entire area of the image 10 is divided into small areas 11, image areas other than the evaluation area A are not necessarily included in the small area 11. There is no need to split.

図13は、一つの小エリア11を拡大して示す図である。図13に示した例では、一つの小エリア11内に8行×8列の合計64個の画素が含まれている。但し、一つの小エリア11内に含まれる画素数は、これに限定されるものではない。   FIG. 13 is an enlarged view showing one small area 11. In the example shown in FIG. 13, a total of 64 pixels of 8 rows × 8 columns are included in one small area 11. However, the number of pixels included in one small area 11 is not limited to this.

図12を参照して、次にステップSP21において、AWB処理部9は、各評価エリアA内に含まれる複数の小エリア11の色ベクトルを、それぞれ求める。具体的には、図13を参照して、小エリア11内に含まれるR,G,B各色の複数の画素値を各色毎に平均することにより、平均画素値RAVE,GAVE,BAVEを算出する。次に、平均画素値RAVE,GAVE,BAVEをYUV色空間に変換することにより、Y値、U値、及びV値を算出する。そして、U値を縦軸、V値を横軸とする座標系において、座標の原点と、上記で算出したU値及びV値をプロットした点とを結ぶベクトルとして、その小エリア11の色ベクトル(換言すれば色差信号)を求める。なお、YUV色空間のほかにも、R/G,B/Gゲイン空間等、2次元以上の座標系で色ベクトルを表現できる色空間であれば、どのような色空間に変換してもよい。 Referring to FIG. 12, next, in step SP21, AWB processing unit 9 obtains the color vectors of a plurality of small areas 11 included in each evaluation area A, respectively. Specifically, referring to FIG. 13, the average pixel values R AVE , G AVE , B AVE are obtained by averaging a plurality of pixel values of R, G, B colors included in the small area 11 for each color. Is calculated. Next, the Y value, U value, and V value are calculated by converting the average pixel values R AVE , G AVE , and B AVE into the YUV color space. In the coordinate system with the U value as the vertical axis and the V value as the horizontal axis, the color vector of the small area 11 is a vector connecting the origin of the coordinates and the point where the U value and V value calculated above are plotted. (In other words, a color difference signal) is obtained. In addition to the YUV color space, any color space may be used as long as it is a color space that can express a color vector in a two-dimensional or higher coordinate system, such as an R / G, B / G gain space. .

図12を参照して、次にステップSP22において、AWB処理部9は、ステップSP21で求めた複数の色ベクトルを各評価エリアA毎に平均することにより、各評価エリアA毎の平均色ベクトルを算出する。   Referring to FIG. 12, in step SP22, the AWB processing unit 9 averages the plurality of color vectors obtained in step SP21 for each evaluation area A, thereby obtaining an average color vector for each evaluation area A. calculate.

次にステップSP23において、AWB処理部9は、平均色ベクトルのベクトル長(換言すれば飽和度)が、予め定められた所定のしきい値TH1以下であるか否かを、各評価エリアA毎に判定する。しきい値TH1は、実験等によって最適値を求めることが可能である。 In step SP23, AWB processing unit 9, the vector length of the mean color vector (saturation in other words) is, whether a predetermined threshold value TH 1 below a predetermined, each evaluation area A Judge every time. The threshold value TH 1 can be determined by an experiment or the like.

平均色ベクトルのベクトル長が短い(つまり飽和度が低い)ということは、その平均色ベクトルがグレーに近いことを意味する。従って、そのような評価エリアAをグレーワールドアルゴリズムの計算対象から除外したのでは、正確なホワイトバランス調整は望めない。よって、平均色ベクトルがしきい値TH1以下である場合(つまりステップSP23の判定結果が「YES」の場合)は、AWB処理部9は、その評価エリアAは有彩単色領域ではないと判定する。これにより、その評価エリアAがグレーワールドアルゴリズムの計算対象から除外される事態が回避される。 A short average color vector length (that is, low saturation) means that the average color vector is close to gray. Accordingly, if such an evaluation area A is excluded from the calculation target of the gray world algorithm, accurate white balance adjustment cannot be expected. Therefore, when the average color vector is equal to or less than the threshold value TH 1 (that is, when the determination result in step SP23 is “YES”), the AWB processing unit 9 determines that the evaluation area A is not a chromatic monochrome region. To do. Thereby, the situation where the evaluation area A is excluded from the calculation target of the gray world algorithm is avoided.

平均色ベクトルのベクトル長がしきい値TH1より大きい場合(つまりステップSP23の判定結果が「NO」の場合)は、次にステップSP24において、AWB処理部9は、各評価エリアA毎に、平均色ベクトルと、複数の小エリア11に関する複数の色ベクトルの各々との差分値を算出する。 When the vector length of the average color vector is larger than the threshold value TH 1 (that is, when the determination result in step SP23 is “NO”), in step SP24, the AWB processing unit 9 performs the following for each evaluation area A. A difference value between the average color vector and each of the plurality of color vectors related to the plurality of small areas 11 is calculated.

次にステップSP25において、AWB処理部9は、各評価エリアA毎に、ステップSP24で求めた複数の差分値のうち、その値が大きい上位所定割合(例えば上位5%)の差分値を特定する。特定された差分値は、続くステップSP26における計算対象から除外される。これにより、ノイズの影響や、ノイズに相当する希有な色ベクトルに起因する影響を排除できるため、良好なホワイトバランス調整を行うことができる。但し、上位所定割合の差分値を除外するのではなく、予め定められた所定のしきい値よりも大きい差分値を除外してもよい。   Next, in step SP25, the AWB processing unit 9 specifies, for each evaluation area A, a difference value of a higher predetermined ratio (for example, higher 5%) having a larger value among the plurality of difference values obtained in step SP24. . The identified difference value is excluded from the calculation target in the subsequent step SP26. As a result, the influence of noise and the influence caused by a rare color vector corresponding to the noise can be eliminated, so that good white balance adjustment can be performed. However, instead of excluding the upper predetermined ratio difference value, a difference value larger than a predetermined threshold value may be excluded.

次にステップSP26において、AWB処理部9は、各評価エリアA毎に、ステップSP24で求めた複数の差分値からステップSP25で求めた上位所定割合の差分値を除外した残りの差分値に関して、二乗平均値(Root Means Square:RMS)を算出する。ここで、二乗平均値の代わりに標準偏差を求めてもよいが、すでに平均色ベクトルとの差分値というかたちで正規化されているため、あえて複雑な標準偏差演算を行う必要はなく、より簡単な二乗平均値の演算で足りる。   Next, in step SP26, for each evaluation area A, the AWB processing unit 9 squares the remaining difference values obtained by excluding the upper predetermined ratio difference values obtained in step SP25 from the plurality of difference values obtained in step SP24. An average value (Root Means Square: RMS) is calculated. Here, the standard deviation may be obtained instead of the mean square value, but since it has already been normalized in the form of the difference value from the average color vector, it is not necessary to perform complicated standard deviation calculations. It is sufficient to calculate a mean square value.

次にステップSP27において、AWB処理部9は、ステップSP26で求めた二乗平均値が、予め定められた所定のしきい値TH2以下であるか否かを、各評価エリアA毎に判定する。しきい値TH2は、実験等によって最適値を求めることが可能である。 In step SP27, AWB processing unit 9, mean square values calculated in step SP26 is, whether a predetermined threshold value TH 2 below a predetermined determines for each evaluation area A. The threshold value TH 2 can be determined by an experiment or the like.

二乗平均値が大きいということは、その評価エリアAに関する複数の色ベクトルの均一度が低いこと、つまり、その評価エリアA内に複数の色が存在することを意味する。よって、二乗平均値がしきい値TH2より大きい場合(つまりステップSP27の判定結果が「NO」の場合)は、AWB処理部9は、その評価エリアAは有彩単色領域ではないと判定する。 A large mean square value means that the uniformity of a plurality of color vectors related to the evaluation area A is low, that is, a plurality of colors exist in the evaluation area A. Therefore, when the mean square value is larger than the threshold value TH 2 (that is, when the determination result in step SP27 is “NO”), the AWB processing unit 9 determines that the evaluation area A is not a chromatic monochrome region. .

一方、二乗平均値がしきい値TH2以下である場合(つまりステップSP27の判定結果が「YES」の場合)は、AWB処理部9は、その評価エリアAは有彩単色領域であると判定する。 On the other hand, when the mean square value is equal to or less than the threshold value TH 2 (that is, when the determination result in step SP27 is “YES”), the AWB processing unit 9 determines that the evaluation area A is a chromatic monochrome region. To do.

なお、以上の説明では、複数の小エリア11に関して求めた複数の色ベクトルの平均値及び均一度に基づいて、各評価エリアAが有彩単色領域であるか否かを判定したが、図13に示したU値及びV値に加えて、Y値(輝度値)も判定に利用することができる。つまり、上記した色ベクトルに基づく判定に加えて、ステップSP21で複数の画素の輝度値の平均値として各小エリア11毎の輝度値を算出し、ステップSP22で複数の小エリア11の輝度値の平均値として各評価エリアA毎の平均輝度値を算出し、ステップSP24で平均輝度値と各小エリア11の輝度値との差分値を算出し、ステップSP25で上位所定割合の差分値を除外し、ステップSP26で二乗平均値を算出する。そして、ステップSP27では、色ベクトルの二乗平均値がしきい値TH2以下であり、かつ輝度の二乗平均値が予め定められた所定のしきい値TH3以下である場合に、AWB処理部9はその評価エリアAが有彩単色領域であると判定する。しきい値TH3は、実験等によって最適値を求めることが可能である。このように、複数の色ベクトルの平均値及び均一度並びに複数の輝度値の均一度に基づく判定手法によって、各評価エリアAが有彩単色領域であるか否かを、簡易かつ高精度に判定することができる。 In the above description, whether or not each evaluation area A is a chromatic monochrome region is determined based on the average value and the uniformity of the plurality of color vectors obtained for the plurality of small areas 11. In addition to the U value and the V value shown in FIG. 6, a Y value (luminance value) can also be used for the determination. That is, in addition to the determination based on the color vector described above, the luminance value for each small area 11 is calculated as an average value of the luminance values of a plurality of pixels in step SP21, and the luminance values of the plurality of small areas 11 are calculated in step SP22. An average luminance value for each evaluation area A is calculated as an average value, a difference value between the average luminance value and the luminance value of each small area 11 is calculated in step SP24, and the upper predetermined ratio difference value is excluded in step SP25. The mean square value is calculated in step SP26. In step SP27, when the mean square value of the color vector is equal to or less than the threshold value TH 2 and the mean square value of the luminance is equal to or less than a predetermined threshold value TH 3 , the AWB processing unit 9 Determines that the evaluation area A is a chromatic monochrome region. The threshold value TH 3 can be determined by an experiment or the like. As described above, whether or not each evaluation area A is a chromatic monochrome region is determined easily and with high accuracy by a determination method based on the average value and uniformity of a plurality of color vectors and the uniformity of a plurality of luminance values. can do.

また、以上の説明では、しきい値TH1及びしきい値TH3は固定値であると仮定しているが、状況に応じてしきい値TH1及びしきい値TH3の値を変更することも、より高精度なホワイトバランスを行うためには有効である。例えば、平均色ベクトルのベクトル長が大きい場合は色ベクトルのばらつきも大きくなることが予測されるため、しきい値TH3を大きく設定するほうが有彩単色を検出できる確率が上がる。平均色ベクトルのベクトル長に応じて段階的にしきい値TH3の値を変更しても良いし、平均色ベクトルのベクトル長に応じて連続的にしきい値TH3の値を変更しても良い。さらに、平均色ベクトルのベクトル長が非常に大きい場合は、しきい値TH3の値をゼロに設定して、平均色ベクトルのみを判断材料に有彩単色を検出することも有効である。 In the above description, it is assumed that the threshold value TH 1 and the threshold value TH 3 are fixed values, but the values of the threshold value TH 1 and the threshold value TH 3 are changed according to the situation. This is also effective for performing more accurate white balance. For example, when the average color vector has a large vector length, it is predicted that the variation in the color vector also increases. Therefore, the probability that a chromatic single color can be detected increases when the threshold value TH 3 is set large. May change the value of the stepwise threshold TH 3 in accordance with the vector length of the mean color vector, it may change the value of the continuous threshold TH 3 in accordance with the vector length of the average color vector . In addition, when the vector length of the average color vector is very large, it is also effective to set the threshold value TH 3 to zero and detect a chromatic single color using only the average color vector as a judgment material.

図14は、連続する複数のフレームに関してホワイトバランスゲインを設定する状況を示す図である。本実施の形態に係るホワイトバランス調整方法では、図2に示したように、有彩単色領域の評価エリアを計算対象から除外したグレーワールドアルゴリズムによるAWB調整(ステップSP4)、デフォルト値を用いたホワイトバランス調整(ステップSP7)、及び、通常のグレーワールドアルゴリズムによるAWB調整(ステップSP8)の、3種類のAWB調整手法が用意されており、画像に応じて適切な調整手法が選択される。   FIG. 14 is a diagram illustrating a situation in which the white balance gain is set for a plurality of consecutive frames. In the white balance adjustment method according to the present embodiment, as shown in FIG. 2, AWB adjustment (step SP4) by the gray world algorithm in which the evaluation area of the chromatic monochrome region is excluded from the calculation target, and white using the default value Three types of AWB adjustment methods are prepared: balance adjustment (step SP7) and AWB adjustment (step SP8) using a normal gray world algorithm, and an appropriate adjustment method is selected according to the image.

図14では、第n−1フレーム以前に関してはステップSP4のAWB調整によってホワイトバランスゲインG1が設定されており、第nフレーム以降に関してはステップSP8のAWB調整によってホワイトバランスゲインG4を設定すべきものとする。但し、AWB調整手法の種類や順序はこの例に限らず、任意である。   In FIG. 14, the white balance gain G1 is set by the AWB adjustment in step SP4 before the n-1th frame, and the white balance gain G4 should be set by the AWB adjustment in step SP8 after the nth frame. . However, the type and order of the AWB adjustment methods are not limited to this example, and are arbitrary.

撮影者によるフレーミング動作によって、撮影画面内における有彩単色の被写体の有無、大きさ、位置等が変化する。従って、フレーミングが変更される度にAWB調整手法が切り替わり、それに伴ってホワイトバランスゲインの値も変化するという事態が想定される。図14の(A)に示した例では、小さな値のホワイトバランスゲインG1から大きな値のホワイトバランスゲインG4への遷移が隣接フレーム間で行われている。従って、AWB調整手法の切り替えが頻繁に行われると、ホワイトバランスゲインの変化に起因して画面がちらつく可能性がある。   The presence / absence, size, position, and the like of a chromatic single-colored object in the shooting screen are changed by the framing operation by the photographer. Accordingly, it is assumed that the AWB adjustment method is switched every time the framing is changed, and the value of the white balance gain is changed accordingly. In the example shown in FIG. 14A, a transition from a small white balance gain G1 to a large white balance gain G4 is performed between adjacent frames. Therefore, if the AWB adjustment method is frequently switched, the screen may flicker due to a change in white balance gain.

これに対して、図14の(B)に示した例では、ホワイトバランスゲインG1からホワイトバランスゲインG4への遷移が、複数フレーム(この例では3フレーム)を掛けて行われている。つまり、図1に示したAWB処理部9は、有彩単色領域の評価エリアを計算対象から除外したグレーワールドアルゴリズムによるAWB調整(図2のステップSP4)と、それ以外のAWB調整(図2のステップSP7,SP8)とが任意の順で時間的に連続する状況においては、先のAWB調整におけるゲインG1から後のAWB調整におけるゲインG4への遷移を、複数フレームを掛けて段階的に行う。これにより、ホワイトバランスの調整量が頻繁に変化することに起因する画面のちらつきを防止又は抑制することができる。   In contrast, in the example shown in FIG. 14B, the transition from the white balance gain G1 to the white balance gain G4 is performed by multiplying a plurality of frames (three frames in this example). That is, the AWB processing unit 9 shown in FIG. 1 performs the AWB adjustment (step SP4 in FIG. 2) by the gray world algorithm in which the evaluation area of the chromatic monochrome region is excluded from the calculation target, and other AWB adjustments (in FIG. 2). In a situation where steps SP7 and SP8) are temporally continuous in an arbitrary order, the transition from the gain G1 in the previous AWB adjustment to the gain G4 in the subsequent AWB adjustment is performed in stages over a plurality of frames. Accordingly, it is possible to prevent or suppress flickering of the screen due to frequent changes in the white balance adjustment amount.

このように本実施の形態に係るホワイトバランス調整方法によれば、図2に示したように、画像10内に規定された複数の評価エリアAのうちの一部の評価エリアが有彩単色領域であると判定された場合には、有彩単色領域の評価エリアを計算対象から除外したグレーワールドアルゴリズムを用いて、画像10のホワイトバランス調整が行われる。従って、撮影画面内に有彩単色領域が広範囲に含まれる場合であっても、有彩単色領域の影響を排除して良好なホワイトバランス調整を行うことが可能となる。   Thus, according to the white balance adjustment method according to the present embodiment, as shown in FIG. 2, some of the evaluation areas A among the plurality of evaluation areas A defined in the image 10 are chromatic monochromatic regions. Is determined, the white balance adjustment of the image 10 is performed using a gray world algorithm in which the evaluation area of the chromatic monochrome region is excluded from the calculation target. Therefore, even when the chromatic single-color region is included in a wide range in the shooting screen, it is possible to eliminate the influence of the chromatic single-color region and perform good white balance adjustment.

図15は、図1に対応して、本実施の形態に係るディジタルカメラの変形例を示すブロック図である。図1では、ホワイトバランス調整前の画像信号D1が一旦メモリ8に格納され、AWB処理部9は、メモリ8からフレーム毎に画像信号D1を読み出して、ホワイトバランス調整を行う例を示した。これに対し、図15では、図1に示したSPU3aの代わりに、AWB処理部9と平均値演算回路10とを有するSPU3bが設けられている。平均値演算回路10は、アナログ信号処理回路2から入力された画像信号D1で表される画像10を複数の小エリア11に分割し、図13と同様に、小エリア11内に含まれるR,G,B各色の複数の画素値を各色毎に平均することにより、平均画素値RAVE,GAVE,BAVEを算出する。そして、各小エリア11毎の平均画素値RAVE,GAVE,BAVEに関するデータD4を、メインバス5及びメモリインタフェース7を介してメモリ8に格納する。AWB処理部9は、メモリ8からフレーム毎にデータD4を読み出し、その後は上記と同様の手法によってホワイトバランス調整を行う。これにより、メモリ8に格納するデータ量を削減することができる。なお、データD4は、メモリ8ではなく、SPU3bに接続されたレジスタ等に格納してもよい。 FIG. 15 is a block diagram showing a modification of the digital camera according to the present embodiment, corresponding to FIG. In FIG. 1, the image signal D1 before white balance adjustment is temporarily stored in the memory 8, and the AWB processing unit 9 reads the image signal D1 from the memory 8 for each frame and performs white balance adjustment. On the other hand, in FIG. 15, an SPU 3b having an AWB processing unit 9 and an average value calculation circuit 10 is provided instead of the SPU 3a shown in FIG. The average value calculation circuit 10 divides the image 10 represented by the image signal D1 input from the analog signal processing circuit 2 into a plurality of small areas 11, and, as in FIG. Average pixel values R AVE , G AVE , and B AVE are calculated by averaging a plurality of pixel values for each color of G and B for each color. Then, data D4 related to the average pixel values R AVE , G AVE , and B AVE for each small area 11 is stored in the memory 8 via the main bus 5 and the memory interface 7. The AWB processing unit 9 reads the data D4 from the memory 8 for each frame, and thereafter performs white balance adjustment by the same method as described above. Thereby, the amount of data stored in the memory 8 can be reduced. Note that the data D4 may be stored not in the memory 8 but in a register or the like connected to the SPU 3b.

本発明の実施の形態に係るディジタルカメラの全体構成を概略的に示すブロック図である。1 is a block diagram schematically showing an overall configuration of a digital camera according to an embodiment of the present invention. 図1に示したAWB処理部によるホワイトバランス調整の処理の流れを示すフローチャートである。3 is a flowchart showing a flow of white balance adjustment processing by an AWB processing unit shown in FIG. 1. 画像内に4個の評価エリアが規定された例を示す図である。It is a figure which shows the example in which four evaluation areas were prescribed | regulated in the image. 画像の第1の例を示す図である。It is a figure which shows the 1st example of an image. 図4に示した第1の例に対応して、グレーワールドアルゴリズムの計算対象から除外すべき画像領域を示す図である。FIG. 5 is a diagram showing image regions to be excluded from the calculation target of the gray world algorithm corresponding to the first example shown in FIG. 4. 画像内に2個の評価エリアが規定された例を示す図である。It is a figure which shows the example in which two evaluation areas were prescribed | regulated in the image. 画像の第2の例を示す図である。It is a figure which shows the 2nd example of an image. 画像の第3の例を示す図である。It is a figure which shows the 3rd example of an image. 図7に示した第2の例に対応して、グレーワールドアルゴリズムの計算対象から除外すべき画像領域を示す図である。FIG. 8 is a diagram illustrating image regions to be excluded from the calculation target of the gray world algorithm, corresponding to the second example illustrated in FIG. 7. 図8に示した第3の例に対応して、グレーワールドアルゴリズムの計算対象から除外すべき画像領域を示す図である。FIG. 9 is a diagram illustrating image regions to be excluded from the calculation target of the gray world algorithm corresponding to the third example illustrated in FIG. 8. 画像内に5個の評価エリアが規定された例を示す図である。It is a figure which shows the example in which five evaluation areas were prescribed | regulated in the image. 各評価エリアが有彩単色領域であるか否かの判定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the determination process whether each evaluation area is a chromatic monochrome area | region. 一つの小エリアを拡大して示す図である。It is a figure which expands and shows one small area. 連続する複数のフレームに関してホワイトバランスゲインを設定する状況を示す図である。It is a figure which shows the condition which sets a white balance gain regarding several continuous frames. 図1に対応して、本発明の実施の形態に係るディジタルカメラの変形例を示すブロック図である。FIG. 6 is a block diagram showing a modification of the digital camera according to the embodiment of the present invention corresponding to FIG. 1.

符号の説明Explanation of symbols

3a,3b SPU
9 AWB処理部
10 画像
11 小エリア
A1〜A11 評価エリア
B1,B2,B5,B6 画像領域
3a, 3b SPU
9 AWB processing unit 10 Image 11 Small area A1 to A11 Evaluation area B1, B2, B5, B6 Image area

Claims (10)

(A)画像内に複数の評価エリアを規定するステップと、
(B)前記複数の評価エリアの各々ごとに、その評価エリアが有彩単色領域であるか否かを判定するステップと、
(C)前記複数の評価エリアのうちの一部の評価エリアが有彩単色領域であると判定された場合に、当該複数の評価エリアのうち、有彩単色領域であると判定された評価エリアだけを計算対象から除外したグレーワールドアルゴリズムを用いて、前記画像のホワイトバランスを調整するステップと
を備える、ホワイトバランス調整方法。
(A) defining a plurality of evaluation areas in the image;
(B) for each of the plurality of evaluation areas, determining whether the evaluation area is a chromatic monochrome region;
(C) When it is determined that some of the plurality of evaluation areas are chromatic monochromatic areas, the evaluation area determined to be a chromatic monochromatic area among the plurality of evaluation areas. Adjusting the white balance of the image using a gray world algorithm in which only the image is excluded from the calculation target.
(D)前記複数の評価エリアの全てが有彩単色領域であると判定された場合に、予め設定されているデフォルト値を用いて前記画像のホワイトバランスを調整するステップ
をさらに備える、請求項1に記載のホワイトバランス調整方法。
(D) The method further includes the step of adjusting the white balance of the image using a preset default value when it is determined that all of the plurality of evaluation areas are chromatic single-color regions. The white balance adjustment method described in 1.
前記ステップ(B)は、
(B−1)前記評価エリアを複数の小エリアに分割するステップと、
(B−2)前記複数の小エリアの各々ごとに、色ベクトルを求めるステップと、
(B−3)前記複数の小エリアに関して求めた複数の色ベクトルの平均値及び均一度に基づいて、前記評価エリアが有彩単色領域であるか否かを判定するステップと
を有する、請求項1又は2に記載のホワイトバランス調整方法。
The step (B)
(B-1) dividing the evaluation area into a plurality of small areas;
(B-2) obtaining a color vector for each of the plurality of small areas;
(B-3) determining whether or not the evaluation area is a chromatic monochrome region based on an average value and uniformity of a plurality of color vectors obtained with respect to the plurality of small areas. The white balance adjustment method according to 1 or 2.
前記ステップ(B)は、
(B−1)前記評価エリアを複数の小エリアに分割するステップと、
(B−2)前記複数の小エリアの各々ごとに、色ベクトル及び輝度値を求めるステップと、
(B−3)前記複数の小エリアに関して求めた、複数の色ベクトルの平均値及び均一度並びに複数の輝度値の均一度に基づいて、前記評価エリアが有彩単色領域であるか否かを判定するステップと
を有する、請求項1又は2に記載のホワイトバランス調整方法。
The step (B)
(B-1) dividing the evaluation area into a plurality of small areas;
(B-2) obtaining a color vector and a luminance value for each of the plurality of small areas;
(B-3) Whether or not the evaluation area is a chromatic monochromatic area based on the average value and uniformity of a plurality of color vectors and the uniformity of a plurality of luminance values obtained for the plurality of small areas. The white balance adjustment method according to claim 1, further comprising a step of determining.
前記ステップ(B−3)は、
(B−3−1)前記複数の色ベクトルに関する平均色ベクトルを求めるステップと、
(B−3−2)前記平均色ベクトルと前記複数の色ベクトルの各々との差分値を求めるステップと、
(B−3−3)前記ステップ(B−3−2)で求められた複数の差分値の二乗平均値を求めるステップと、
(B−3−4)前記平均色ベクトルのベクトル長が予め定められた第1のしきい値より大きく、かつ、前記二乗平均値が、予め定められた第2のしきい値以下である場合に、前記評価エリアが有彩単色領域であると判定するステップと
を有する、請求項3又は4に記載のホワイトバランス調整方法。
The step (B-3)
(B-3-1) obtaining an average color vector for the plurality of color vectors;
(B-3-2) obtaining a difference value between the average color vector and each of the plurality of color vectors;
(B-3-3) obtaining a mean square value of a plurality of difference values obtained in the step (B-3-2);
(B-3-4) The vector length of the average color vector is larger than a predetermined first threshold value, and the mean square value is equal to or smaller than a predetermined second threshold value. The white balance adjustment method according to claim 3, further comprising: determining that the evaluation area is a chromatic monochrome region.
前記ステップ(B−3−3)では、前記ステップ(B−3−2)で求められた全ての差分値のうち、その値が大きい上位所定割合の差分値を計算対象から除外して、前記二乗平均値が求められる、請求項5に記載のホワイトバランス調整方法。   In the step (B-3-3), out of all the difference values obtained in the step (B-3-2), the difference value of the upper predetermined ratio having a large value is excluded from the calculation target, The white balance adjustment method according to claim 5, wherein a mean square value is obtained. 前記ステップ(C)では、前記評価エリア自身と、前記評価エリアの近傍領域とが、グレーワールドアルゴリズムの計算対象から除外される、請求項1〜6のいずれか一つに記載のホワイトバランス調整方法。   The white balance adjustment method according to any one of claims 1 to 6, wherein in the step (C), the evaluation area itself and a neighboring region of the evaluation area are excluded from a calculation target of a gray world algorithm. . 前記ステップ(A)は、
(A−1)前記画像の水平方向及び垂直方向に並ぶ複数の評価エリアを規定するステップと、
(A−2)前記画像の中央領域に位置する評価エリアと、前記画像の周縁領域に位置する評価エリアとを規定するステップと
を有し、
前記ステップ(B)及び(C)は、前記ステップ(A−1)及び(A−2)のそれぞれに対応して順に実行される、請求項1〜7のいずれか一つに記載のホワイトバランス調整方法。
The step (A)
(A-1) defining a plurality of evaluation areas arranged in the horizontal and vertical directions of the image;
(A-2) defining an evaluation area located in a central area of the image and an evaluation area located in a peripheral area of the image;
The white balance according to any one of claims 1 to 7, wherein the steps (B) and (C) are sequentially executed corresponding to the steps (A-1) and (A-2). Adjustment method.
前記ステップ(A)では、前記画像の中央領域に位置する評価エリアと、前記画像の周縁領域内で前記画像の水平方向及び垂直方向に並ぶ複数の評価エリアとが規定される、請求項1〜7のいずれか一つに記載のホワイトバランス調整方法。   In the step (A), an evaluation area located in a central region of the image and a plurality of evaluation areas arranged in a horizontal direction and a vertical direction of the image in a peripheral region of the image are defined. 8. The white balance adjustment method according to any one of 7 above. 有彩単色領域の評価エリアを計算対象から除外したグレーワールドアルゴリズムを用いたホワイトバランス調整と、有彩単色領域の評価エリアを計算対象から除外しないグレーワールドアルゴリズムを用いたホワイトバランス調整とが任意の順で時間的に連続する場合、先のホワイトバランス調整における調整量から、後のホワイトバランス調整における調整量への遷移は、段階的に行われる、請求項1〜9のいずれか一つに記載のホワイトバランス調整方法。
The white balance adjustment using the gray world algorithm that excludes the evaluation area of the chromatic monochrome area from the calculation target and the white balance adjustment using the gray world algorithm that does not exclude the evaluation area of the chromatic monochrome area from the calculation target are optional. The transition from the adjustment amount in the previous white balance adjustment to the adjustment amount in the subsequent white balance adjustment is performed in a stepwise manner in the case of continuous in time in order. White balance adjustment method.
JP2006117536A 2006-04-21 2006-04-21 White balance adjustment method Expired - Fee Related JP4947624B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006117536A JP4947624B2 (en) 2006-04-21 2006-04-21 White balance adjustment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006117536A JP4947624B2 (en) 2006-04-21 2006-04-21 White balance adjustment method

Publications (2)

Publication Number Publication Date
JP2007295062A JP2007295062A (en) 2007-11-08
JP4947624B2 true JP4947624B2 (en) 2012-06-06

Family

ID=38765267

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006117536A Expired - Fee Related JP4947624B2 (en) 2006-04-21 2006-04-21 White balance adjustment method

Country Status (1)

Country Link
JP (1) JP4947624B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8235452B2 (en) 1993-09-30 2012-08-07 Magna Mirrors Of America, Inc. Window assembly for vehicle
US8668989B2 (en) 1995-04-11 2014-03-11 Magna Mirrors Of America, Inc. Vehicular sliding window assembly

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101024067B1 (en) 2008-12-30 2011-03-22 엠텍비젼 주식회사 Apparatus for auto white balancing, method for auto white balancing considering auto-exposure time and recorded medium for performing method for auto white balancing
KR100999886B1 (en) 2008-12-30 2010-12-09 엠텍비젼 주식회사 Apparatus for auto white balancing, method for auto white balancng including mono-color space and recorded medium for performing method for auto white balancing
KR101018237B1 (en) 2009-02-03 2011-03-03 삼성전기주식회사 White balance adjusting apparatus and method considering effect of single tone image
KR101964256B1 (en) * 2013-06-24 2019-04-01 한화테크윈 주식회사 Method for interpolating white balance
US9595086B2 (en) 2014-09-04 2017-03-14 Samsung Electronics Co., Ltd. Image processing device, image processing system and method for image processing

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002095003A (en) * 2000-09-14 2002-03-29 Olympus Optical Co Ltd Electronic camera
JP2002185976A (en) * 2000-12-08 2002-06-28 Nikon Corp Video signal processor and recording medium with video signal processing program recorded thereon
AU2003221024A1 (en) * 2002-04-04 2003-10-20 Nikon Corporation Image processing device, image processing program, and image processing method
JP4305281B2 (en) * 2004-05-26 2009-07-29 日本ビクター株式会社 Auto white balance device and auto white balance adjustment method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8235452B2 (en) 1993-09-30 2012-08-07 Magna Mirrors Of America, Inc. Window assembly for vehicle
US8668989B2 (en) 1995-04-11 2014-03-11 Magna Mirrors Of America, Inc. Vehicular sliding window assembly

Also Published As

Publication number Publication date
JP2007295062A (en) 2007-11-08

Similar Documents

Publication Publication Date Title
KR101270851B1 (en) Adaptive lens shading correction
JP4947624B2 (en) White balance adjustment method
US8508625B2 (en) Image processing apparatus
US10055815B2 (en) Image processing apparatus, image processing system, imaging apparatus and image processing method
JP2006324840A (en) Image processing apparatus and white balance adjusting device
JP4813897B2 (en) Image signal processing device
JP2008277899A (en) White balance adjustment device, imaging device, and white balance adjusting program
US20060262196A1 (en) Image processor
JP2008085996A (en) Illuminant estimation method and apparatus
JP2015156615A (en) Image processing system, image processing method, control program, and recording medium
US20080292184A1 (en) Apparatus and method for automatically adjusting white balance
JP2007174117A (en) Image processing circuit and image processing method
JP6789904B2 (en) Dynamic range compression device and image processing device
JP2005025448A (en) Signal processing device, signal processing program, and electronic camera
US8896731B2 (en) Image processing apparatus, image processing method, and camera module
JP6315239B2 (en) Imaging apparatus, imaging method, image processing apparatus, imaging program
KR100712809B1 (en) Apparatus for auto white balance control and method for control of auto white balance
JP2019004281A (en) Image processing device
WO2017122394A1 (en) Imaging control device and imaging device
JP2009260542A (en) Color correction device and color correction method
JP2009506722A (en) Improved color difference filter for white balance statistics calculation
JP5649409B2 (en) Image processing device
JP6630895B2 (en) Signal processing apparatus and image noise reduction method
JP6676948B2 (en) Image processing apparatus, imaging apparatus, and image processing program
JP2006237748A (en) White balance correction device and method, and image pickup device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090303

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20090303

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20090303

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110830

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111027

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

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

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

Free format text: PAYMENT UNTIL: 20150316

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4947624

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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