JP6345430B2 - Multi-area white balance control device, multi-area white balance control method, multi-area white balance control program, computer recording multi-area white balance control program, multi-area white balance image processing device, multi-area white balance image processing method, multi-area White balance image processing program, computer recording multi-area white balance image processing program, and imaging apparatus provided with multi-area white balance image processing device - Google Patents

Multi-area white balance control device, multi-area white balance control method, multi-area white balance control program, computer recording multi-area white balance control program, multi-area white balance image processing device, multi-area white balance image processing method, multi-area White balance image processing program, computer recording multi-area white balance image processing program, and imaging apparatus provided with multi-area white balance image processing device Download PDF

Info

Publication number
JP6345430B2
JP6345430B2 JP2014017717A JP2014017717A JP6345430B2 JP 6345430 B2 JP6345430 B2 JP 6345430B2 JP 2014017717 A JP2014017717 A JP 2014017717A JP 2014017717 A JP2014017717 A JP 2014017717A JP 6345430 B2 JP6345430 B2 JP 6345430B2
Authority
JP
Japan
Prior art keywords
area
color temperature
light source
white balance
estimated
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.)
Active
Application number
JP2014017717A
Other languages
Japanese (ja)
Other versions
JP2015146480A (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.)
Olympus Corp
Original Assignee
Olympus 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 Olympus Corp filed Critical Olympus Corp
Priority to JP2014017717A priority Critical patent/JP6345430B2/en
Publication of JP2015146480A publication Critical patent/JP2015146480A/en
Application granted granted Critical
Publication of JP6345430B2 publication Critical patent/JP6345430B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、複数の光源で照明されたシーンを撮影した画像におけるマルチエリアホワイトバランス画像処理において、複数のエリアに分割された画像に対して、画像内の光源の種類を絞り込んだうえ、エリア毎の色温度推定を行い、その結果に基づき、画像全体のホワイトバランス補正ゲインマップを生成し、それを用いて入力画像に対してホワイトバランス補正を行うことで、画像全体における違和感の無い色再現を実現するためのマルチエリアホワイトバランス制御装置、マルチエリアホワイトバランス制御方法、マルチエリアホワイトバランス制御プログラム、マルチエリアホワイトバランス制御プログラムを記録したコンピュータ、マルチエリアホワイトバランス画像処理装置、マルチエリアホワイトバランス画像処理方法、マルチエリアホワイトバランス画像処理プログラム、マルチエリアホワイトバランス画像処理プログラムを記録したコンピュータ及びマルチエリアホワイトバランス画像処理装置を備えた撮像装置に関する。   In the multi-area white balance image processing in an image obtained by photographing a scene illuminated with a plurality of light sources, the present invention narrows down the types of light sources in the image for each image divided into a plurality of areas, and Based on the result, a white balance correction gain map of the entire image is generated, and white balance correction is performed on the input image using the generated image, thereby making it possible to reproduce the color without any discomfort in the entire image. Multi-area white balance control device, multi-area white balance control method, multi-area white balance control program, computer recording multi-area white balance control program, multi-area white balance image processing device, multi-area white balance image processing Way, multi Rear white balance image processing program, an image pickup apparatus having recorded a computer and multi-area white balance image processing apparatus multi area white balance image processing program.

撮影光源は、日中の屋外であれば太陽の高度・大気の状態などに依存してその色温度が変化する。
また、同じシーンの中でも日向と日陰で色温度が異なる。
更に屋内では蛍光灯や白熱灯など様々な人工照明があり、それぞれの光源の色温度が異なる。
また、昼間の室外でフラッシュ撮影した場合、フラッシュ照明と外光の混合光が撮影光源となる。
また、夜の室外でフラッシュ撮影した場合、フラッシュ照明光と背景の人工照明光とは混合しないが、同じシーンの中の異なるエリアでは、光源の色温度が異なる。
また、室内でフラッシュ撮影した場合、フラッシュ照明光と人工照明光が混じりあった光が、撮影光源となる。
If the photographing light source is outdoors during the day, its color temperature changes depending on the altitude of the sun and the atmospheric conditions.
In the same scene, the color temperature differs between the sun and the shade.
Furthermore, there are various artificial lights such as fluorescent lamps and incandescent lamps indoors, and the color temperature of each light source is different.
In addition, when flash photography is taken outdoors in the daytime, mixed light of flash illumination and external light serves as a photographing light source.
Also, when flash photography is taken outdoors at night, the flash illumination light and the background artificial illumination light are not mixed, but the color temperature of the light source is different in different areas in the same scene.
In addition, when flash photography is performed indoors, light in which flash illumination light and artificial illumination light are mixed becomes a photographing light source.

上記のような様々な撮影光源の下では、人間の眼は色順応する。つまり、人間の眼は、光源が太陽光、人工照明光、それらのミックス光の如何を問わず、注目エリアの白い被写体を白く感じる。この人間の眼の特性に合わせて入力装置であるカメラも、RGBのゲインを調整して、いわゆるホワイトバランスを取るように構成されている。   Under the various light sources described above, the human eye adapts to color. That is, the human eye feels a white subject in the attention area white regardless of whether the light source is sunlight, artificial illumination light, or a mixed light thereof. The camera, which is an input device in accordance with the characteristics of the human eye, is also configured to adjust so-called white balance by adjusting the RGB gain.

しかし、カメラにとっては、撮影前まで撮影光源が未知であるため、一般的には撮影照明の種類(光源の色温度)を撮影した画像から推定したり、もしくはユーザーが指定することによって、その照明種類に合わせて撮影した画像全体のホワイトバランスを補正する。   However, for a camera, the illuminating light source is unknown until shooting, so in general, the type of illuminating illumination (color temperature of the light source) is estimated from the captured image, or the illumination is specified by the user. Correct the white balance of the entire image shot according to the type.

被写体のシーンが複数の光源によって照明された場合、画像全体のホワイトバランス処理を高精度に行うためには、取得した画像の領域に応じて光源の色温度を検出し、領域ごとに異なるホワイトバランス処理を行う必要がある。   When the subject scene is illuminated by multiple light sources, in order to perform white balance processing of the entire image with high accuracy, the color temperature of the light source is detected according to the area of the acquired image, and a different white balance for each area. It is necessary to perform processing.

従来、複数の光源で照明されたシーンを撮影した画像のホワイトバランス処理を行う方法としては、例えば、特許文献1に、その一例が開示されている。
特許文献1に記載の方法では、入力されたカラー画像を、複数の小画面に分割し、該分割された各小画面毎に、前記カラー画像を撮影した際の撮影光源の色温度を推定し、各小画面毎の推定色温度のヒストグラムを作成し、前記各小画面をグループ分けし、該グループ毎に、再度撮影光源の色温度を推定し、該グループ毎の色温度推定結果により、各グループ毎にホワイトバランス補正量を算出し、該グループ内の各小画面に対し、前記各グループ毎に算出されたホワイトバランス補正量によりそれぞれホワイトバランス補正を施している。
Conventionally, for example, Patent Document 1 discloses an example of a method for performing white balance processing on an image obtained by photographing a scene illuminated with a plurality of light sources.
In the method described in Patent Document 1, an input color image is divided into a plurality of small screens, and a color temperature of a photographing light source when the color image is photographed is estimated for each of the divided small screens. , Create a histogram of the estimated color temperature for each small screen, group the small screens, again estimate the color temperature of the photographic light source for each group, and according to the color temperature estimation result for each group, A white balance correction amount is calculated for each group, and white balance correction is performed on each small screen in the group using the white balance correction amount calculated for each group.

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

ところで、従来、複数の異種光源により撮影を行った所謂ミックス光源画像のホワイトバランス補正技術では、ホワイトバランスの補正に先立ち、入力された画像を複数のエリアに分割し、該分割されたエリアごとに、例えば、一般的に行われている光源色温度推定方法を用いて、ミックス光源画像を撮影した際の撮影光源の色温度を推定している。
しかし、複数の光源の境界部に当たるエリアや、特定の色の被写体が多いエリアでは、光源の色温度を間違った色温度に推定してしまい易い。
例えば、図1に示すように、画面の左下半分が日向、右上半分が日陰のようなシーンの入力画像を6×6のエリアに分割して、それぞれのエリアの光源の色温度を推定する場合、左上から右下の対角線上に近い、日陰と日向がミックスしているようなエリアや、左下の全体がほぼ芝生となるようなエリアでは、光源の色温度の推定が間違いやすい。
全面が芝生のエリアに対して、一般的に行われている光源色温度推定方法で光源の色温度を推定した場合、光源の色温度が蛍光灯などの人工照明と間違って推定され易い。このように間違って推定された光源の色温度に基づいて、対応するホワイトバランス補正ゲインを用いてホワイトバランスを補正すると、当該エリアの色と隣接エリアの色のバランスが大きく崩れてしまい、画像全体が非常に不自然な色合いとなる可能性がある。
By the way, in the conventional so-called mixed light source image white balance correction technique in which shooting is performed with a plurality of different light sources, the input image is divided into a plurality of areas prior to the white balance correction, and each divided area is divided into a plurality of areas. For example, the color temperature of the photographing light source when the mixed light source image is photographed is estimated using a light source color temperature estimating method that is generally performed.
However, the color temperature of the light source is likely to be estimated at an incorrect color temperature in an area that hits a boundary between a plurality of light sources or an area that has many subjects of a specific color.
For example, as shown in FIG. 1, when an input image of a scene in which the lower left half of the screen is sunny and the upper right half is shaded is divided into 6 × 6 areas, the color temperature of the light source in each area is estimated. The color temperature of the light source is likely to be erroneously estimated in an area that is close to the diagonal line from the upper left to the lower right, where the shade and the sun are mixed, or in an area where the entire lower left is almost lawn.
When the color temperature of a light source is estimated by a light source color temperature estimation method that is generally performed on an area of the entire surface of a lawn, the color temperature of the light source is likely to be erroneously estimated as artificial lighting such as a fluorescent lamp. If the white balance is corrected using the corresponding white balance correction gain based on the color temperature of the light source that is erroneously estimated in this way, the balance between the color of the area and the color of the adjacent area is greatly lost, and the entire image May result in a very unnatural hue.

しかるに、特許文献1に記載されている方法は、小画面毎に光源の色温度を推定した後、推定した光源の色温度が近い小画面を複数のグループに仕分けし、仕分けしたグループ毎に再度光源の色温度の推定を行うので、同じグループに属するエリアが異なる色温度と推定されることがなくなり、エリア間で色温度の変化が少なくなり、その再度推定した光源の色温度を用いたホワイトバランス補正で画像全体が非常に不自然な色合いとなることを防ぐことができる。しかし、小画面の光源の色温度の推定が間違っていて、推定した光源の色温度が本来の光源の色温度と大きく異なる場合、その小画面がそもそも本来属するべきグループに仕分けされない。このため、特許文献1に記載されている方法では、小画面の光源の色温度の推定が間違っているエリアでは、間違って推定した光源の色温度に対応するホワイトバランス補正ゲインを用いてホワイトバランスを補正する結果、当該エリアの色のバランスが大きく崩れて、局所的に非常に不自然な色合いとなるといった課題に対処できない。   However, in the method described in Patent Document 1, after estimating the color temperature of the light source for each small screen, the small screens with the estimated color temperature of the light source are sorted into a plurality of groups, and again for each sorted group. Since the color temperature of the light source is estimated, areas that belong to the same group are not estimated to have different color temperatures, and there is less change in color temperature between areas, and white that uses the re-estimated color temperature of the light source. The balance correction can prevent the entire image from having a very unnatural hue. However, when the estimation of the color temperature of the light source of the small screen is wrong and the estimated color temperature of the light source is significantly different from the color temperature of the original light source, the small screen is not sorted into the group to which it originally belongs. For this reason, in the method described in Patent Document 1, in an area where the color temperature of the light source of the small screen is wrongly estimated, the white balance correction gain corresponding to the color temperature of the light source estimated incorrectly is used. As a result of correcting the above, it is impossible to cope with the problem that the color balance of the area is greatly lost and the color becomes unnatural locally.

本発明は、以上の従来技術における問題を鑑みてなされたものであり、撮影画像全体を複数のエリアに分割して、それぞれのエリアの光源の色温度を推定する場合、複数の光源の境界部に当たるエリアや、特定の色の被写体が多いエリアなどの個別のエリアにおいて光源の色温度の推定の間違いを減らし、画像全体において違和感の無い色再現を実現することの可能なマルチエリアホワイトバランス制御装置、マルチエリアホワイトバランス制御方法、マルチエリアホワイトバランス制御プログラム、マルチエリアホワイトバランス制御プログラムを記録したコンピュータ、マルチエリアホワイトバランス画像処理装置、マルチエリアホワイトバランス画像処理方法、マルチエリアホワイトバランス画像処理プログラム、マルチエリアホワイトバランス画像処理プログラムを記録したコンピュータ及びマルチエリアホワイトバランス画像処理装置を備えた撮像装置を提供することを目的としている。   The present invention has been made in view of the above problems in the prior art, and when dividing the entire captured image into a plurality of areas and estimating the color temperature of the light source in each area, the boundary portion between the plurality of light sources Multi-area white balance control device that can reduce the estimation error of the color temperature of the light source in individual areas such as areas where there are many objects of a specific color , Multi-area white balance control method, multi-area white balance control program, computer recording multi-area white balance control program, multi-area white balance image processing apparatus, multi-area white balance image processing method, multi-area white balance image processing program, Multi-area why And its object is to provide an imaging apparatus having recorded a computer and multi-area white balance an image processing apparatus to balance image processing program.

上記目的を達成するため、本発明によるマルチエリアホワイトバランス制御装置は、入力画像を複数のエリアに分割するエリア分割手段と、前記エリア分割手段によって分割されたエリア毎に光源の色温度を推定する第1のエリア光源色温度推定手段と、前記第1のエリア光源色温度推定手段によって推定された光源の色温度を種類毎にカウントし、カウント数が上位となる一部の種類の光源の色温度に絞り込む色温度推定対象光源抽出手段と、前記エリア分割手段によって分割されたそれぞれのエリアのうち、前記第1のエリア光源色温度推定手段によって推定された光源の色温度が、前記色温度推定対象光源抽出手段が絞り込んだ一部の種類の光源の色温度のいずれにも該当しないエリアのみを対象として、光源の色温度を前記色温度推定対象光源抽出手段が絞り込んだ一部の種類の光源の色温度のいずれかに推定する第2のエリア光源色温度推定手段と、前記第2のエリア光源色温度推定手段によって推定された各エリアの光源の色温度に基づき、前記入力画像全体のホワイトバランス補正ゲインマップを生成するホワイトバランス補正ゲインマップ生成手段とを有することを特徴としている。 In order to achieve the above object, a multi-area white balance control apparatus according to the present invention estimates area color means for dividing an input image into a plurality of areas and the color temperature of the light source for each area divided by the area division means. The color temperature of the light source estimated by the first area light source color temperature estimation unit and the first area light source color temperature estimation unit is counted for each type, and the color of some types of light sources having the higher count number Among the areas divided by the color temperature estimation target light source extraction means and the area dividing means, the color temperature of the light source estimated by the first area light source color temperature estimation means is the color temperature estimation. targeting only areas that do not correspond to any of the color temperature of a part narrowed down the target light source extracting means types of light sources, the color temperature estimated color temperature of the light source Second area light source color temperature estimating means for estimating one of the color temperatures of some types of light sources narrowed down by the target light source extracting means; and each area estimated by the second area light source color temperature estimating means. And white balance correction gain map generation means for generating a white balance correction gain map of the entire input image based on the color temperature of the light source.

また、本発明によるマルチエリアホワイトバランス制御方法は、入力画像を複数のエリアに分割し、分割したエリア毎に光源の色温度を推定し、推定した、光源の色温度を種類毎にカウントし、カウント数が上位となる一部の種類の光源の色温度に絞り込み、分割したそれぞれのエリアのうち、推定した光源の色温度が、絞り込んだ一部の種類の光源の色温度のいずれにも該当しないエリアのみを対象として、光源の色温度を、絞り込んだ一部の種類の光源の色温度のいずれかに推定し直し、推定し直した各エリアの光源の色温度に基づき、前記入力画像全体のホワイトバランス補正ゲインマップを生成することを特徴としている。 Further, the multi-area white balance control method according to the present invention divides the input image into a plurality of areas, estimates the color temperature of the light source for each divided area , counts the estimated color temperature of the light source for each type, Narrow down the color temperature of some types of light sources with higher counts , and the estimated color temperature of the light source in each divided area corresponds to any of the color temperatures of some of the narrowed types of light sources The target color temperature of the light source is re-estimated to one of the narrowed-down light source color temperatures, and the entire input image is based on the re-estimated color temperature of the light source of each area. The white balance correction gain map is generated.

また、本発明によるマルチエリアホワイトバランス制御プログラムを記録したコンピュータは、マルチエリアホワイトバランス制御装置に備わるコンピュータであって、前記コンピュータを、入力画像を複数のエリアに分割するエリア分割手段、前記エリア分割手段によって分割されたエリア毎に光源の色温度を推定する第1のエリア光源色温度推定手段、前記第1のエリア光源色温度推定手段によって推定された光源の色温度を種類毎にカウントし、カウント数が上位となる一部の種類の光源の色温度に絞り込む色温度推定対象光源抽出手段、前記エリア分割手段によって分割されたそれぞれのエリアのうち、前記第1のエリア光源色温度推定手段によって推定された光源の色温度が、前記色温度推定対象光源抽出手段が絞り込んだ一部の種類の光源の色温度のいずれにも該当しないエリアのみを対象として、光源の色温度を、前記色温度推定対象光源抽出手段が絞り込んだ一部の種類の光源の色温度のいずれかに推定する第2のエリア光源色温度推定手段、前記第2のエリア光源色温度推定手段によって推定された各エリアの光源の色温度に基づき、前記入力画像全体のホワイトバランス補正ゲインマップを生成するホワイトバランス補正ゲインマップ生成手段として機能させるためのマルチエリアホワイトバランス制御プログラムを記録している。 Further, a computer that records a multi-area white balance control program according to the present invention is a computer provided in a multi-area white balance control device, wherein the computer divides an input image into a plurality of areas, the area division First area light source color temperature estimating means for estimating the color temperature of the light source for each area divided by the means, counting the color temperature of the light source estimated by the first area light source color temperature estimating means for each type, Of the respective areas divided by the color temperature estimation target light source extraction means and the area division means, which are narrowed down to the color temperatures of some types of light sources with higher counts , the first area light source color temperature estimation means. The estimated color temperature of the light source is a part of the color temperature estimation target light source extraction means narrowed down. Targeting only areas that do not correspond to any of the color temperature of the kind of light source, the color temperature of the light source, to estimate any of the color temperature estimation of target light source extracting means partially narrowed down type of light source color temperature White balance correction for generating a white balance correction gain map of the entire input image based on the color temperature of the light source in each area estimated by the second area light source color temperature estimation means and the second area light source color temperature estimation means A multi-area white balance control program for functioning as a gain map generating means is recorded.

また、本発明によるマルチエリアホワイトバランス制御プログラムは、マルチエリアホワイトバランス制御装置に備わるコンピュータが読み取り可能なマルチエリアホワイトバランス制御プログラムであって、前記コンピュータを、入力画像を複数のエリアに分割するエリア分割手段、前記エリア分割手段によって分割されたエリア毎に光源の色温度を推定する第1のエリア光源色温度推定手段、前記第1のエリア光源色温度推定手段によって推定された光源の色温度を種類毎にカウントし、カウント数が上位となる一部の種類の光源の色温度に絞り込む色温度推定対象光源抽出手段、前記エリア分割手段によって分割されたそれぞれのエリアのうち、前記第1のエリア光源色温度推定手段によって推定された光源の色温度が、前記色温度推定対象光源抽出手段が絞り込んだ一部の種類の光源の色温度のいずれにも該当しないエリアのみを対象として、光源の色温度を、前記色温度推定対象光源抽出手段が絞り込んだ一部の種類の光源の色温度のいずれかに推定する第2のエリア光源色温度推定手段、前記第2のエリア光源色温度推定手段によって推定された各エリアの光源の色温度に基づき、前記入力画像全体のホワイトバランス補正ゲインマップを生成するホワイトバランス補正ゲインマップ生成手段として機能させることを特徴としている。 A multi-area white balance control program according to the present invention is a computer-readable multi-area white balance control program provided in a multi-area white balance control device, wherein the computer divides an input image into a plurality of areas. dividing means, the first area light source color temperature estimating means for estimating the color temperature of the light source for each area divided by the area dividing means, the color temperature of the light source estimated by the first area light source color temperature estimating means The first area among the areas divided by the color temperature estimation target light source extraction unit and the area division unit that counts for each type and narrows down to the color temperatures of some types of light sources with higher counts. The color temperature of the light source estimated by the light source color temperature estimation means is the color temperature estimation. Targeting only areas that do not correspond to any of the color temperature of a part narrowed down the target light source extracting means type of light source, the color temperature of the light source, a portion narrowed down is the color temperature estimation target light source extracting means type A second area light source color temperature estimator for estimating one of the color temperatures of the light source, and a white color of the entire input image based on the color temperature of the light source in each area estimated by the second area light source color temperature estimator It is characterized by functioning as white balance correction gain map generation means for generating a balance correction gain map.

本発明によれば、撮影画像全体を複数のエリアに分割して、それぞれのエリアの色温度を推定する場合、複数の光源の境界部に当たるエリアや、特定の色の被写体が多いエリアなどの個別のエリアにおいて光源の色温度の推定の間違いを減らし、画像全体において違和感の無い色再現を実現することの可能なマルチエリアホワイトバランス制御装置、マルチエリアホワイトバランス制御方法、マルチエリアホワイトバランス制御プログラム、マルチエリアホワイトバランス制御プログラムを記録したコンピュータ、マルチエリアホワイトバランス画像処理装置、マルチエリアホワイトバランス画像処理方法、マルチエリアホワイトバランス画像処理プログラム、マルチエリアホワイトバランス画像処理プログラムを記録したコンピュータ及びマルチエリアホワイトバランス画像処理装置を備えた撮像装置が得られる。   According to the present invention, when the entire captured image is divided into a plurality of areas and the color temperature of each area is estimated, individual areas such as an area hitting the boundary of a plurality of light sources or an area with a large number of subjects of a specific color are used. A multi-area white balance control device, a multi-area white balance control method, a multi-area white balance control program capable of reducing the estimation error of the color temperature of the light source in the area, and realizing color reproduction without any sense of incongruity in the entire image, Computer recording multi-area white balance control program, multi-area white balance image processing apparatus, multi-area white balance image processing method, multi-area white balance image processing program, computer recording multi-area white balance image processing program, and An image pickup apparatus having a Ruchi area white balance image processing device can be obtained.

入力画像を複数のエリアに分割した一例を示す説明図である。It is explanatory drawing which shows an example which divided | segmented the input image into the several area. 本発明の第1実施形態にかかるマルチエリアホワイトバランス制御装置を備えたデジタルカメラのブロック図である。1 is a block diagram of a digital camera including a multi-area white balance control device according to a first embodiment of the present invention. 図2のマルチエリアホワイトバランス制御装置における入力画像のホワイトバランスを補正するまでの処理手順を示すフローチャートである。3 is a flowchart showing a processing procedure until correction of white balance of an input image in the multi-area white balance control device of FIG. 2. (R/G,B/G)色度図における被写体の色分布から光源の色温度を推定する際における、画像データにおける全ての画素を色度図上にプロットし、色度図上での予め設定した各種の光源の色温度エリア判定基準に従い、プロットした点についての光源の色温度の判定を行うための、色度図及びエリア判定基準の一例を示すグラフである。When estimating the color temperature of the light source from the color distribution of the subject in the (R / G, B / G) chromaticity diagram, all the pixels in the image data are plotted on the chromaticity diagram, and the chromaticity diagram in advance. It is a graph which shows an example of a chromaticity diagram and an area determination standard for determining the color temperature of the light source about the plotted point according to the set color temperature area determination standard of various light sources. 図2のマルチエリアホワイトバランス制御装置において、入力画像がエリア分割され第1のエリア光源色温度推定手段により、エリア毎に推定された光源の色温度の一例を示す説明図である。In the multi-area white balance control device of FIG. 2, the input image is divided into areas and is an explanatory diagram showing an example of the color temperature of the light source estimated for each area by the first area light source color temperature estimation means. 図2のマルチエリアホワイトバランス制御装置において、第2のエリア光源色温度推定手段により、エリア毎に推定された光源の色温度の一例を示す説明図である。In the multi-area white balance control apparatus of FIG. 2, it is explanatory drawing which shows an example of the color temperature of the light source estimated for every area by the 2nd area light source color temperature estimation means. 本発明の第2実施形態にかかるマルチエリアホワイトバランス制御装置を備えたデジタルカメラのブロック図である。It is a block diagram of the digital camera provided with the multi-area white balance control apparatus concerning 2nd Embodiment of this invention. 図7のマルチエリアホワイトバランス制御装置における入力画像のホワイトバランスを補正するまでの処理手順を示すフローチャートである。It is a flowchart which shows the process sequence until it correct | amends the white balance of the input image in the multi-area white balance control apparatus of FIG. 図7のマルチエリアホワイトバランス制御装置において、第1のエリア分割手段が入力画像を複数の第1のエリアに分割した一例を示す説明図である。FIG. 8 is an explanatory diagram showing an example in which the first area dividing unit divides an input image into a plurality of first areas in the multi-area white balance control device of FIG. 7. 図7のマルチエリアホワイトバランス制御装置において、第1のエリア光源色温度推定手段により、図9に示す第1のエリア毎に推定された光源の色温度の一例を示す説明図である。In the multi-area white balance control apparatus of FIG. 7, it is explanatory drawing which shows an example of the color temperature of the light source estimated for every 1st area shown in FIG. 9 by the 1st area light source color temperature estimation means. 図7のマルチエリアホワイトバランス制御装置において、第2のエリア分割手段が入力画像を複数の第2のエリアに分割した一例を示す説明図である。FIG. 8 is an explanatory diagram showing an example in which the second area dividing unit divides an input image into a plurality of second areas in the multi-area white balance control device of FIG. 7. 図7のマルチエリアホワイトバランス制御装置において、第2のエリア光源色温度推定手段により、図11に示す第2のエリア毎に推定された光源の色温度の一例を示す説明図である。In the multi-area white balance control apparatus of FIG. 7, it is explanatory drawing which shows an example of the color temperature of the light source estimated for every 2nd area shown in FIG. 11 by the 2nd area light source color temperature estimation means. 第2実施形態のマルチエリアホワイトバランス制御装置の変形例にかかる入力画像のホワイトバランスを補正するまでの処理手順を示すフローチャートである。It is a flowchart which shows the process sequence until it correct | amends the white balance of the input image concerning the modification of the multi-area white balance control apparatus of 2nd Embodiment. 第2実施形態のマルチエリアホワイトバランス制御装置の変形例にかかるマルチエリアホワイトバランス制御装置において、第1のエリア光源色温度推定手段により、第1のエリア毎に推定された光源の色温度の一例を示す説明図である。In the multi-area white balance control device according to the modification of the multi-area white balance control device of the second embodiment, an example of the color temperature of the light source estimated for each first area by the first area light source color temperature estimation means It is explanatory drawing which shows. 第2実施形態のマルチエリアホワイトバランス制御装置の変形例にかかるマルチエリアホワイトバランス制御装置において、第1のエリア光源色温度推定手段により第1のエリア毎に推定された光源の色温度が図14に示すよう場合に、第1のエリア全体の光源の色温度を推定し直した状態を示す説明図である。In the multi-area white balance control device according to the modification of the multi-area white balance control device of the second embodiment, the color temperature of the light source estimated for each first area by the first area light source color temperature estimation means is shown in FIG. In such a case, it is explanatory drawing which shows the state which re-estimated the color temperature of the light source of the whole 1st area.

実施例の説明に先立ち、本発明の作用効果について説明する。
本発明は、入力画像を複数のエリアに分割し、分割したエリア毎に光源の色温度を推定し、推定した、光源の色温度を種類毎にカウントし、カウント数が上位となる一部の種類の光源の色温度に絞り込み、分割したそれぞれのエリアのうち、推定した光源の色温度が、絞り込んだ一部の種類の光源の色温度のいずれにも該当しないエリアのみを対象として、光源の色温度を、絞り込んだ一部の種類の光源の色温度のいずれかに推定し直し、推定し直した各エリアの光源の色温度に基づき、入力画像全体のホワイトバランス補正ゲインマップを生成するようにしている。
Prior to the description of the embodiments, the effects of the present invention will be described.
The present invention divides an input image into a plurality of areas, estimates the color temperature of the light source for each divided area , counts the estimated color temperature of the light source for each type, and counts the upper part of the count number . Only the areas where the estimated color temperature of the selected light source does not correspond to any of the color temperatures of some of the narrowed-down light sources among the divided areas are narrowed down to the color temperature of the type of light source. Re-estimate the color temperature to one of the narrowed-down types of light sources, and generate a white balance correction gain map for the entire input image based on the re-estimated color temperatures of the light sources in each area I have to.

本発明のように、推定した、光源の色温度を種類毎にカウントし、カウント数が上位となる一部の種類の光源の色温度に絞り込み、分割したそれぞれのエリアのうち、推定した光源の色温度が、絞り込んだ一部の種類の光源の色温度のいずれにも該当しないエリアのみを対象として、光源の色温度を、絞り込んだ一部の種類の光源の色温度のいずれかに推定し直せば、当初推定した当該エリアの色温度が間違っていても、当該エリアの推定した光源の色温度をより適正な色温度に推定し直すことができる。その結果、各エリアの適正な色温度に推定し直された光源の色温度に基づいて、入力画像全体のホワイトバランス補正ゲインマップを生成でき、生成したホワイトバランス補正マップに基づいて入力画像全体のホワイトバランスを補正したときに、入力画像全体における当該エリアの色のバランスが適正に保たれ、違和感のない色再現を実現することができる。 As in the present invention, the estimated color temperature of the light source is counted for each type, the color temperature of some types of light sources with the highest count is narrowed down, and the estimated light source of each estimated area is divided . Estimate the color temperature of the light source to one of the narrowed types of light sources only in areas where the color temperature does not correspond to any of the narrowed types of light sources. If corrected, even if the color temperature of the area estimated at the beginning is wrong, the color temperature of the light source estimated in the area can be estimated again to a more appropriate color temperature. As a result, a white balance correction gain map of the entire input image can be generated based on the color temperature of the light source re-estimated to an appropriate color temperature of each area, and the entire input image can be generated based on the generated white balance correction map. When the white balance is corrected, the color balance of the area in the entire input image is properly maintained, and color reproduction without a sense of incongruity can be realized.

以下、本発明の実施形態について、図面を参照して説明する。なお、以下の実施の形態は特許請求の範囲に係る本発明を限定するものではない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. The following embodiments do not limit the present invention according to the claims.

第1実施形態
図2は本発明の第1実施形態にかかるマルチエリアAWB(オートホワイトバランス)制御装置を備えたデジタルカメラのブロック図である。図2中、一点鎖線で囲んだ部分が本実施形態にかかるマルチエリアホワイトバランス制御装置、二点差線で囲んだ部分がマルチエリアホワイトバランス画像処理装置に対応する構成である。図3は図2のマルチエリアホワイトバランス制御装置における入力画像のホワイトバランスを補正するまでの処理手順を示すフローチャートである。
First Embodiment FIG. 2 is a block diagram of a digital camera provided with a multi-area AWB (auto white balance) control device according to a first embodiment of the present invention. In FIG. 2, a portion surrounded by a one-dot chain line corresponds to the multi-area white balance control device according to the present embodiment, and a portion surrounded by a two-dot difference line corresponds to the multi-area white balance image processing device. FIG. 3 is a flowchart showing a processing procedure until the white balance of the input image is corrected in the multi-area white balance control apparatus of FIG.

本実施形態のマルチエリアホワイトバランス制御装置1は、図2に示すように、エリア分割手段としての画像エリア分割部11と、第1のエリア光源色温度推定手段としての第1のエリア色温度推定部12と、色温度推定対象光源抽出手段としての色温度推定対象光源抽出部13と、第2のエリア光源色温度推定手段第2のエリア色温度推定部14と、ホワイトバランス補正ゲインマップ生成手段としてのWB(ホワイトバランス)ゲインマップ生成部15を有している。図2中、10はマルチエリアホワイトバランス画像処理装置、16はWB(ホワイトバランス)ゲインマップ生成部15が生成したホワイトバランス補正ゲインマップを記憶するゲインマップ記憶部、17はホワイトバランス処理手段としてのWB(ホワイトバランス)ゲイン補正部、21はレンズ、22はイメージセンサ、23はイメージセンサ22が撮像した画像を記憶する画像記憶部である。なお、本実施形態のマルチエリアホワイトバランス画像処理装置10を備えたデジタルカメラは、図示しない制御部を備えている。制御部は、撮影指示に基づきイメージセンサ22が撮影した画像を画像記憶部23に記憶する機能や、画像記憶部23に記憶されている画像を入力する機能を、夫々別個に備えている。図2の例では、図示しない制御部の撮影指示により、レンズ21を経てイメージセンサ22に結像された画像が撮像されデジタル信号として画像記憶部23に記憶されている。   As shown in FIG. 2, the multi-area white balance control device 1 according to the present embodiment includes an image area dividing unit 11 as an area dividing unit and a first area color temperature estimating unit as a first area light source color temperature estimating unit. Unit 12, color temperature estimation target light source extraction unit 13 as color temperature estimation target light source extraction unit, second area light source color temperature estimation unit second area color temperature estimation unit 14, and white balance correction gain map generation unit As a WB (white balance) gain map generation unit 15. In FIG. 2, 10 is a multi-area white balance image processing device, 16 is a gain map storage unit that stores a white balance correction gain map generated by a WB (white balance) gain map generation unit 15, and 17 is a white balance processing unit. A WB (white balance) gain correction unit, 21 is a lens, 22 is an image sensor, and 23 is an image storage unit that stores an image captured by the image sensor 22. Note that the digital camera including the multi-area white balance image processing apparatus 10 according to the present embodiment includes a control unit (not shown). The control unit is separately provided with a function of storing an image captured by the image sensor 22 based on a shooting instruction in the image storage unit 23 and a function of inputting an image stored in the image storage unit 23. In the example of FIG. 2, an image formed on the image sensor 22 through the lens 21 is picked up and stored as a digital signal in the image storage unit 23 in accordance with a shooting instruction from a control unit (not shown).

画像エリア分割部11は、入力画像を予め決められたサイズの複数のブロックに分割する。   The image area dividing unit 11 divides the input image into a plurality of blocks having a predetermined size.

第1のエリア色温度推定部12は、画像エリア分割部11により分割されたブロック毎に光源の色温度を推定する。なお、光源の色温度の推定方法の詳細については後述する。   The first area color temperature estimation unit 12 estimates the color temperature of the light source for each block divided by the image area division unit 11. Details of the method for estimating the color temperature of the light source will be described later.

色温度推定対象光源抽出部13は、第1のエリア色温度推定部12によって推定された光源の色温度のうち一部の種類の光源の色温度に絞り込みを行う。詳しくは、色温度推定対象光源抽出部13は、第1のエリア色温度推定部12によって推定された全ブロックの光源の色温度を種類毎にカウントし、入力画像全体に含まれる主要な光源の色温度の種類として、カウント数が所定の閾値(例えば、カウント数が全ブロック数の15%)を上回る一部の種類(ここでは上位2種類)の光源の色温度を抽出する。なお、ここでは便宜上、色温度推定対象光源抽出部13が抽出する光源の色温度の種類を上位2種類としたが、色温度推定対象光源抽出部13が抽出する光源の色温度の種類は、カウント数が所定の閾値を上回る光源の色温度が2種類以上存在する場合には、2種類を上回る種類の光源の色温度を抽出するようにしてもよい。また、色温度推定対象光源抽出部13は、光源の色温度の種類毎のカウントに関し、第1のエリア色温度推定部12によって光源の色温度が推定不能なブロックについてはカウントの対象外とするように構成されている。
第2のエリア色温度推定部14は、画像エリア分割部11によって分割されたそれぞれのブロックのうち、第1のエリア色温度推定部12によって推定された光源の色温度が、色温度推定対象光源抽出部13が絞り込んだ上位2種類の光源の色温度のいずれにも該当しないブロックのみを対象として、色温度推定対象光源抽出部13が絞り込んだ上位2種類の光源の色温度のいずれかに、光源の色温度を推定する。
なお、主要な光源の色温度の抽出方法及び光源の色温度の推定方法の詳細については後述する。
The color temperature estimation target light source extraction unit 13 narrows down the color temperatures of some types of light sources out of the color temperatures of the light sources estimated by the first area color temperature estimation unit 12. Specifically, the color temperature estimation target light source extraction unit 13 counts the color temperatures of the light sources of all blocks estimated by the first area color temperature estimation unit 12 for each type, and determines the main light sources included in the entire input image. As the types of color temperatures, the color temperatures of some types (here, the top two types) of light sources whose count number exceeds a predetermined threshold (for example, the count number is 15% of the total number of blocks) are extracted. Here, for convenience, the color temperature types of light sources extracted by the color temperature estimation target light source extraction unit 13 are the top two types, but the color temperature types of light sources extracted by the color temperature estimation target light source extraction unit 13 are When there are two or more types of color temperatures of light sources whose count number exceeds a predetermined threshold, the color temperatures of types of light sources exceeding two types may be extracted. In addition, the color temperature estimation target light source extraction unit 13 regards counting for each type of color temperature of the light source, and excludes blocks for which the color temperature of the light source cannot be estimated by the first area color temperature estimation unit 12 from being counted. It is configured as follows.
The second area color temperature estimator 14 includes a light source color temperature estimated by the first area color temperature estimator 12 among the blocks divided by the image area divider 11 , and a color temperature estimation target light source. For only blocks that do not correspond to any of the color temperatures of the top two types of light sources narrowed down by the extraction unit 13, any one of the color temperatures of the top two types of light sources narrowed down by the color temperature estimation target light source extraction unit 13 Estimate the color temperature of the light source.
The details of the method for extracting the color temperature of the main light source and the method for estimating the color temperature of the light source will be described later.

WBゲインマップ生成部15は、第2のエリア色温度推定部14によって推定された各ブロックの光源の色温度に基づき、入力画像全体のホワイトバランス補正ゲインマップを生成する。   The WB gain map generation unit 15 generates a white balance correction gain map of the entire input image based on the color temperature of the light source of each block estimated by the second area color temperature estimation unit 14.

WBゲイン補正部17は、WBゲインマップ生成部15によって生成されたホワイトバランス補正ゲインマップに基づき、入力画像全体のホワイトバランスを補正する。   The WB gain correction unit 17 corrects the white balance of the entire input image based on the white balance correction gain map generated by the WB gain map generation unit 15.

このように構成された本実施形態のマルチエリアホワイトバランス制御装置を用いた入力画像のホワイトバランスを補正するまでの処理の流れを図3から図6を用いて説明する。   The flow of processing up to correcting the white balance of the input image using the multi-area white balance control device of this embodiment configured as described above will be described with reference to FIGS.

まず、図示しないデジタルカメラの制御部が、イメージセンサ22での出力を経て画像記憶部23に記憶されている画像データを入力する(ステップS1)。
次いで、画像エリア分割部11が、入力された画像データを予め決められたサイズの複数のブロックに分割する(ステップS2)。なお、便宜上、以下の説明では画像データは6×6のブロックに分割するものとする。
First, a control unit of a digital camera (not shown) inputs image data stored in the image storage unit 23 via an output from the image sensor 22 (step S1).
Next, the image area dividing unit 11 divides the input image data into a plurality of blocks having a predetermined size (step S2). For convenience, in the following description, the image data is divided into 6 × 6 blocks.

次いで、第1のエリア色温度推定部12が、画像エリア分割部11により分割された各ブロックの画像に対して、例えば、次のような方法で、ブロック毎の光源の色温度の推定を行う(ステップS3)。   Next, the first area color temperature estimation unit 12 estimates the color temperature of the light source for each block with respect to the image of each block divided by the image area division unit 11 by, for example, the following method. (Step S3).

例えば、イメージセンサの有効画素が4800×3600画素であるものとする。入力されるベイヤーパターンのRAW画像は、画像エリア分割部11により6×6のブロックに分割され、各ブロックのサイズは800×600画素となっている。   For example, it is assumed that the effective pixels of the image sensor are 4800 × 3600 pixels. The input Bayer pattern RAW image is divided into 6 × 6 blocks by the image area dividing unit 11, and the size of each block is 800 × 600 pixels.

光源の色温度の推定に先立ち、この800×600画素のブロックに対して、更に、例えば、20×20の画素範囲を1つのサンプリングポイントとし、20×20の画素範囲内にあるR、G、Bそれぞれの画素値の平均値を求めることで、ダウンサンプリングした40×30画素のサンプリングポイントを有するR、G、Bそれぞれの画素データを得る。   Prior to the estimation of the color temperature of the light source, for example, a 20 × 20 pixel range is set as one sampling point for the 800 × 600 pixel block, and R, G, By obtaining an average value of the pixel values of B, R, G, and B pixel data having a sampling point of 40 × 30 pixels down-sampled are obtained.

この40×30画素のサンプリングポイントに対して、色度値(R/G,B/G)を求め、各サンプリングポイントの色度値を、例えば、図4に示す色度図上にプロットする。そして、例えば、図4に示すような、色度図上での各種の光源の色温度エリア判定基準を用いて、全てのサンプリングポイントの色度値をプロットした点について光源の色温度のエリア判定を行い、各光源の色温度エリアに属するプロットした点の個数を集計する。集計した各光源の色温度エリアに属するプロットした点の個数の大小の順位から、例えば、次の表1に示すような条件に従い、当該ブロックの光源の色温度を推定する。   The chromaticity values (R / G, B / G) are obtained for the sampling points of 40 × 30 pixels, and the chromaticity values at the respective sampling points are plotted on, for example, the chromaticity diagram shown in FIG. Then, for example, using the color temperature area determination criteria of various light sources on the chromaticity diagram as shown in FIG. 4, the area determination of the color temperature of the light source for the points where the chromaticity values of all the sampling points are plotted. And the number of plotted points belonging to the color temperature area of each light source is totaled. The color temperature of the light source of the block is estimated from the order of the number of plotted points belonging to the aggregated color temperature area of each light source, for example, according to the conditions shown in Table 1 below.

Figure 0006345430
Figure 0006345430

第1のエリア色温度推定部12は、36個のブロック全てに対して、上記方法を用いて光源の色温度の推定を行う。これにより、画像全体に対して、例えば、図5に示すような光源の色温度の推定結果が得られる。   The first area color temperature estimation unit 12 estimates the color temperature of the light source using the above method for all 36 blocks. Thereby, for example, the estimation result of the color temperature of the light source as shown in FIG. 5 is obtained for the entire image.

エリア色温度推定部12による全てのブロックに対する光源の色温度の推定処理が終了後、色温度推定対象光源抽出部13が、第1のエリア色温度推定部12によって推定された上記36個のブロックの光源の色温度を種類別にカウントする。図5の例では、色温度推定対象光源抽出部13がカウントした光源の色温度の種類に関し、“A”(日向)として推定されたブロックが13個、“B”(日陰)として推定されたブロックが14個、“C”(蛍光灯)として推定されたブロックが4個、“D”(その他)として推定されたブロックが5個となっている。そこで、色温度推定対象光源抽出部13は、上記36個のブロック全体でカウント数が所定の閾値(例えば、カウント数が全ブロック数の15%)を上回る一部の種類(ここでは上位2種類)の光源の色温度の種類として、“B”(日陰)と“A”(日向)を抽出する(ステップS4)。   After the area color temperature estimation unit 12 finishes estimating the color temperature of the light source for all the blocks, the color temperature estimation target light source extraction unit 13 performs the 36 blocks estimated by the first area color temperature estimation unit 12. The color temperature of the light source is counted by type. In the example of FIG. 5, regarding the type of color temperature of the light source counted by the color temperature estimation target light source extraction unit 13, 13 blocks estimated as “A” (Hyuga) were estimated as “B” (shade). There are 14 blocks, 4 blocks estimated as “C” (fluorescent lamp), and 5 blocks estimated as “D” (other). Therefore, the color temperature estimation target light source extraction unit 13 has some types (here, the top two types) in which the count number exceeds the predetermined threshold value (for example, the count number is 15% of the total number of blocks) in the above 36 blocks. "B" (shade) and "A" (Hyuga) are extracted as the color temperature types of the light source (step S4).

続いて、第2のエリア色温度推定部14が、画像エリア分割部11により分割された36個のそれぞれのブロックのうち、第1のエリア色温度推定部12によって推定された光源の色温度が、色温度推定対象光源抽出部13が絞り込んだ上位2種類の光源の色温度のいずれにも該当しないブロックの画像に対して、例えば、次のような方法で、光源の色温度を推定し直す(ステップS5)。この場合、色温度推定対象光源抽出部13が絞り込んだ上位2種類のいずれかの光源の色温度、即ち、図5の例では、“B”(日陰)、“A”(日向)のいずれかに推定する。 Subsequently, the second area color temperature estimation unit 14, among the 36 pieces of each block divided by the image area dividing portion 11, the color temperature of the light source estimated by the first area color temperature estimating part 12 The color temperature estimation target light source extraction unit 13 re-estimates the color temperature of the light source by, for example, the following method with respect to an image of a block that does not correspond to any of the color temperatures of the top two types of light sources. (Step S5). In this case, the color temperature of one of the top two types of light sources narrowed down by the color temperature estimation target light source extraction unit 13, that is, either “B” (shade) or “A” (Hyuga) in the example of FIG. To estimate.

例えば、イメージセンサの有効画素が4800×3600画素であるものとすると、入力されるベイヤーパターンのRAW画像は、画像エリア分割部11により6×6のブロックに分割され、各ブロックのサイズは800×600画素となっている。   For example, assuming that the effective pixels of the image sensor are 4800 × 3600 pixels, the input RAW image of the Bayer pattern is divided into 6 × 6 blocks by the image area dividing unit 11, and the size of each block is 800 ×. It is 600 pixels.

光源の色温度の推定に先立ち、この800×600画素のブロックに対して、更に、例えば、20×20の画素範囲を1つのサンプリングポイントとし、20×20の画素範囲内にあるR、G、Bそれぞれの画素値の平均値を求めることで、ダウンサンプリングした40×30画素のサンプリングポイントを有するR、G、Bそれぞれの画素データを得る。   Prior to the estimation of the color temperature of the light source, for example, a 20 × 20 pixel range is set as one sampling point for the 800 × 600 pixel block, and R, G, By obtaining an average value of the pixel values of B, R, G, and B pixel data having a sampling point of 40 × 30 pixels down-sampled are obtained.

この40×30画素のサンプリングポイントに対して、色度値(R/G,B/G)を求め、各サンプリングポイントの色度値を、例えば、図4に示す色度図上にプロットする。   The chromaticity values (R / G, B / G) are obtained for the sampling points of 40 × 30 pixels, and the chromaticity values at the respective sampling points are plotted on, for example, the chromaticity diagram shown in FIG.

次いで、例えば、図4に示すような、色度図上での各種の光源の色温度エリア判定基準を用いて、日陰(エリア1:日陰)と日向(エリア3:晴天)の色温度エリアに属するプロットした点の個数を集計する。集計した日陰と日向の色温度エリアに属するプロットした点の重心が、日陰と日向のうちのいずれの色温度エリアにあるかを判定し、重心があるエリアの色温度を当該ブロックの光源の色温度として推定する。
これにより、画像全体に対して、例えば、図6に示すような光源の色温度の推定結果が得られる。
Next, for example, as shown in FIG. 4, the color temperature areas of the shade (area 1: shade) and the sun (area 3: clear sky) are determined using the color temperature area determination criteria of various light sources on the chromaticity diagram. Aggregate the number of plotted points to which they belong. Determine whether the centroid of the plotted points belonging to the shaded and sunny color temperature areas is in the shaded or sunny color temperature area, and determine the color temperature of the area with the centroid as the color of the light source of the block Estimated as temperature.
Thereby, for example, the estimation result of the color temperature of the light source as shown in FIG. 6 is obtained for the entire image.

第1のエリア色温度推定部12によって全てのブロックの光源の色温度を推定した場合、実際の目視結果と比べて、第1のエリア色温度推定部12が推定した大半のブロックにおける光源の色温度は、正しいものとなるが、一部のブロックでは間違ったものとなりうる。例えば、図5に示す(0,0)、(1,1)、(2,2)、(2,3)、(3,3)、(4,3)、(4,4)、(4,5)、(5,5)の各ブロックは、“B”(日陰)と“A”(日向)の境界部に位置するブロックであるため、第1のエリア色温度推定部12は、光源の色温度の推定を、“C”(蛍光灯)あるいは“D”(その他)に間違え易くなる。   When the color temperature of the light source of all the blocks is estimated by the first area color temperature estimation unit 12, the color of the light source in most blocks estimated by the first area color temperature estimation unit 12 compared with the actual visual result The temperature will be correct but may be incorrect for some blocks. For example, (0,0), (1,1), (2,2), (2,3), (3,3), (4,3), (4,4), (4) shown in FIG. , 5) and (5, 5) are blocks located at the boundary between “B” (shade) and “A” (Hyuga), the first area color temperature estimator 12 uses the light source It is easy to mistake the estimation of the color temperature for “C” (fluorescent lamp) or “D” (others).

しかるに、本実施形態のマルチエリアホワイトバランス制御装置1では、色温度推定対象光源抽出部13が、第1のエリア色温度推定部12によって推定された光源の色温度を種類毎にカウントし、カウント数が上位となる一部の種類の光源の色温度に絞り込み、第2のエリア色温度推定部14が、エリア分割手段11によって分割されたそれぞれのブロックのうち、第1のエリア色温度推定部12によって推定された光源の色温度が、色温度推定対象光源抽出部13が絞り込んだ一部の種類の光源の色温度のいずれにも該当しないエリアのみを対象として、光源の色温度を、色温度推定対象光源抽出部13が絞り込んだ一部の種類の光源の色温度のいずれかに推定することで、図6に示すように、丸印で囲まれているブロック(即ち、(0,0)、(1,1)、(2,2)、(2,3)、(3,3)、(4,3)、(4,4)、(4,5)、(5,5)の各ブロック)の光源の色温度が、“C”(蛍光灯)あるいは“D”(その他)に間違っていた色温度から“B”(日陰)あるいは“A”(日向)といった正しい光源の色温度に推定し直される。 However, in the multi-area white balance control device 1 according to the present embodiment, the color temperature estimation target light source extraction unit 13 counts the color temperature of the light source estimated by the first area color temperature estimation unit 12 for each type. The second area color temperature estimator 14 narrows down to the color temperatures of some types of light sources with higher numbers , and the second area color temperature estimator 14 is the first area color temperature estimator of the blocks divided by the area divider 11. The color temperature of the light source is calculated only for the area where the color temperature of the light source estimated by 12 does not correspond to any of the color temperatures of some types of light sources extracted by the color temperature estimation target light source extraction unit 13. The temperature estimation target light source extraction unit 13 estimates to one of the color temperatures of some types of light sources narrowed down, and as shown in FIG. 6, a block surrounded by a circle (that is, (0 0), (1,1), (2,2), (2,3), (3,3), (4,3), (4,4), (4,5), (5,5) The color temperature of the light source of each block) is the correct color of the light source such as “B” (shade) or “A” (Hyuga) from the wrong color temperature to “C” (fluorescent lamp) or “D” (other) Estimated to temperature.

第2のエリア色温度推定部14による、第1のエリア色温度推定部12によって推定された光源の色温度が、色温度推定対象光源抽出部13が絞り込んだ一部の種類の光源の色温度のいずれにも該当しないブロックのみを対象とした光源の色温度の、色温度推定対象光源抽出部13が絞り込んだ一部の種類の光源の色温度のいずれかへの推定の後、WBゲインマップ生成部15が、図6に示す推定し直された各ブロックの光源の色温度に基づき、図示しない予め決められている光源の色温度に対応するR、Bのゲインのデータを参照にして、R、Bに対応するWB補正ゲインマップを生成する(ステップS6)。WBゲインマップ生成部15が生成したWB補正ゲインマップは、ゲインマップ記憶部16に記憶(保存)される。 The color temperature of the light source estimated by the first area color temperature estimation unit 12 by the second area color temperature estimation unit 14 is the color temperature of some types of light sources narrowed down by the color temperature estimation target light source extraction unit 13. After estimating the color temperature of the light source only for the block that does not correspond to any one of the color temperatures of some types of light sources narrowed down by the color temperature estimation target light source extraction unit 13, the WB gain map The generation unit 15 refers to R and B gain data corresponding to a predetermined color temperature of a light source (not shown) based on the color temperature of the light source of each block reestimated shown in FIG. A WB correction gain map corresponding to R and B is generated (step S6). The WB correction gain map generated by the WB gain map generation unit 15 is stored (saved) in the gain map storage unit 16.

そして、WBゲイン補正部17が、入力画像の位置に対応して、それぞれの色の画素値にゲインマップ記憶部16を入力して得たゲインをかけることにより、ホワイトバランスを補正し、画像を出力する(ステップS7)。   Then, the WB gain correction unit 17 corrects the white balance by applying the gain obtained by inputting the gain map storage unit 16 to the pixel value of each color corresponding to the position of the input image, thereby correcting the image. Output (step S7).

本実施形態のマルチエリアホワイトバランス制御装置1及びマルチエリアホワイトバランス制御方法によれば、推定した、光源の色温度のうち、カウント数が上位となる一部の種類の光源の色温度に絞り込み、分割したそれぞれのエリアのうち、推定した光源の色温度が、絞り込んだ一部の種類の光源の色温度のいずれにも該当しないエリアのみを対象として、光源の色温度を、絞り込んだ一部の種類の光源の色温度のいずれかに推定し直すようにしたので、複数の光源の境界部に当たるエリアや、特定の色の被写体が多いエリアなどの個別のエリアにおいて推定した当該エリアの色温度が間違っていても、当該エリアの推定した光源の色温度をより適正な色温度に推定し直すことができる。その結果、各エリアの適正な色温度に推定し直された光源の色温度に基づいて、入力画像全体のホワイトバランス補正ゲインマップを生成でき、生成したホワイトバランス補正マップに基づいて入力画像全体のホワイトバランスを補正したときに、入力画像全体における当該エリアの色のバランスが適正に保たれ、違和感のない色再現を実現することができる。 According to multi-area white balance control apparatus 1 and the multi-area white balance control method of the present embodiment, estimated, of the color temperature of the light source, narrowing the color temperature of some types of light sources count becomes higher, Of the divided areas , only the areas where the estimated color temperature of the light source does not correspond to any of the color temperatures of some types of light sources that have been narrowed down, and the color temperature of the light source is limited Since the color temperature of one type of light source is re-estimated, the color temperature of that area estimated in an individual area such as an area that hits the boundary between multiple light sources or an area with many subjects of a specific color Even if it is wrong, the color temperature of the light source estimated in the area can be estimated again to a more appropriate color temperature. As a result, a white balance correction gain map of the entire input image can be generated based on the color temperature of the light source re-estimated to an appropriate color temperature of each area, and the entire input image can be generated based on the generated white balance correction map. When the white balance is corrected, the color balance of the area in the entire input image is properly maintained, and color reproduction without a sense of incongruity can be realized.

なお、上記の例では、第2のエリア色温度推定部14が、画像エリア分割部11により分割された36個のエリアのうち、色温度推定対象光源抽出部13が絞り込んだ一部の種類の光源の色温度のいずれかへの光源の色温度の推定を行うようにし、図5において、主要光源の色温度(“B”(日陰)、“A”(日向))と異なる種類の光源の色温度(“C”(蛍光灯)、“D”(その他))となっているブロックのみに対して、再度の光源の色温度の推定を行う。即ち、本実施形態のマルチエリアホワイトバランス制御装置1において、第2のエリア色温度推定部14は、エリア分割手段11によって分割されたそれぞれのブロックのうち、第1のエリア色温度推定部12によって推定された光源の色温度が、色温度推定対象光源抽出手段13が絞り込んだ一部の種類の光源の色温度のいずれにも該当しないブロックのみを対象として、光源の色温度を推定するようにする。このようにすれば、重複する処理が省かれて、マルチエリアホワイトバランス処理全体の高速化が図れる。 In the above example, the second area color temperature estimator 14 selects some types of the 36 areas divided by the image area divider 11 and the color temperature estimation target light source extractor 13 narrows down. The color temperature of the light source is estimated to one of the color temperatures of the light source, and in FIG. 5, the light source of a different type from the color temperature of the main light source (“B” (shade), “A” (Hyuga)) color temperature ( "C" (fluorescent lamp), "D" (other)) with respect to only going on blocks, intends rows estimated color temperature again of the light source. That is, in the multi-area white balance control device 1 according to the present embodiment, the second area color temperature estimation unit 14 uses the first area color temperature estimation unit 12 among the blocks divided by the area division unit 11. The color temperature of the light source is estimated only for blocks whose color temperature of the estimated light source does not correspond to any of the color temperatures of some types of light sources extracted by the color temperature estimation target light source extraction means 13. you. In this way, overlapping processes can be omitted, and the speed of the entire multi-area white balance process can be increased.

第2実施形態
図7は本発明の第2実施形態にかかるマルチエリアAWB(オートホワイトバランス)制御装置を備えたデジタルカメラのブロック図である。図7中、一点鎖線で囲んだ部分が本実施形態にかかるマルチエリアホワイトバランス制御装置、二点差線で囲んだ部分がマルチエリアホワイトバランス画像処理装置に対応する構成である。図8は図7のマルチエリアホワイトバランス制御装置における入力画像のホワイトバランスを補正するまでの処理手順を示すフローチャートである。
Second Embodiment FIG. 7 is a block diagram of a digital camera provided with a multi-area AWB (auto white balance) control device according to a second embodiment of the present invention. In FIG. 7, a portion surrounded by a one-dot chain line corresponds to the multi-area white balance control device according to this embodiment, and a portion surrounded by a two-dot difference line corresponds to the multi-area white balance image processing device. FIG. 8 is a flowchart showing a processing procedure until the white balance of the input image is corrected in the multi-area white balance control device of FIG.

本実施形態のマルチエリアホワイトバランス制御装置1は、図7に示すように、第1のエリア分割手段としての画像エリア分割部11と、第1のエリア光源色温度推定手段としての第1のエリア色温度推定部12と、色温度推定対象光源抽出手段としての色温度推定対象光源抽出部13と、第2のエリア光源色温度推定手段第2のエリア色温度推定部14と、ホワイトバランス補正ゲインマップ生成手段としてのWB(ホワイトバランス)ゲインマップ生成部15と、第2のエリア分割手段としての画像エリア分割部18を有しており、エリア分割手段としては、第1のエリア分割手段としての第1の画像エリア分割部11と、第2のエリア分割手段としての第2の画像エリア分割部18を有している。図7中、10はマルチエリアホワイトバランス画像処理装置、16はWB(ホワイトバランス)ゲインマップ生成部15が生成したホワイトバランス補正ゲインマップを記憶するゲインマップ記憶部、17はホワイトバランス処理手段としてのWB(ホワイトバランス)ゲイン補正部、21はレンズ、22はイメージセンサ、23はイメージセンサ22が撮像した画像を記憶する画像記憶部である。   As shown in FIG. 7, the multi-area white balance control apparatus 1 of the present embodiment includes an image area dividing unit 11 as a first area dividing unit and a first area as a first area light source color temperature estimating unit. Color temperature estimation unit 12, color temperature estimation target light source extraction unit 13 as color temperature estimation target light source extraction means, second area light source color temperature estimation means second area color temperature estimation unit 14, and white balance correction gain It has a WB (white balance) gain map generation unit 15 as a map generation unit and an image area division unit 18 as a second area division unit, and the area division unit is a first area division unit. A first image area dividing unit 11 and a second image area dividing unit 18 as second area dividing means are provided. In FIG. 7, 10 is a multi-area white balance image processing apparatus, 16 is a gain map storage unit that stores a white balance correction gain map generated by a WB (white balance) gain map generation unit 15, and 17 is a white balance processing unit. A WB (white balance) gain correction unit, 21 is a lens, 22 is an image sensor, and 23 is an image storage unit that stores an image captured by the image sensor 22.

第1の画像エリア分割部11は、入力画像を予め決められた第1のサイズの複数のブロック(例えば、図9に示すように3×3の9個)に分割する。
第2の画像エリア分割部18は、入力画像を予め決められた、第1のサイズよりも小さな第2のサイズの複数のブロック(例えば、図11に示すように6×6の36個)に分割する。
The first image area dividing unit 11 divides the input image into a plurality of blocks having a predetermined first size (for example, 9 blocks of 3 × 3 as shown in FIG. 9).
The second image area dividing unit 18 divides the input image into a plurality of blocks having a predetermined second size smaller than the first size (for example, 36 blocks of 6 × 6 as shown in FIG. 11). To divide.

第1のエリア色温度推定部12は、第1の画像エリア分割部11により分割されたブロック毎に光源の色温度を推定する。   The first area color temperature estimation unit 12 estimates the color temperature of the light source for each block divided by the first image area division unit 11.

第2のエリア色温度推定部14は、第2の画像エリア分割部18によって分割されたそれぞれのブロックのうち第1のエリア色温度推定部12によって推定された光源の色温度が、色温度推定対象光源抽出部13が絞り込んだ上位2種類の光源の色温度のいずれにも該当しないブロックのみを対象として、色温度推定対象光源抽出部13が絞り込んだ上位2種類の光源の色温度のいずれかに、光源の色温度を推定する。 The second area color temperature estimation unit 14 determines the color temperature of the light source estimated by the first area color temperature estimation unit 12 among the blocks divided by the second image area division unit 18. Which of the color temperatures of the top two types of light sources narrowed down by the color temperature estimation target light source extraction unit 13 is targeted only for blocks that do not correspond to any of the color temperatures of the top two types of light sources narrowed down by the estimation target light source extraction unit 13 In addition, the color temperature of the light source is estimated.

その他の構成は、第1実施形態のマルチエリアホワイトバランス制御装置1と略同じである。   Other configurations are substantially the same as those of the multi-area white balance control device 1 of the first embodiment.

このように構成された本実施形態のマルチエリアホワイトバランス制御装置を用いた入力画像のホワイトバランスを補正するまでの処理の流れを図8から図12を用いて説明する。   The flow of processing up to correcting the white balance of the input image using the multi-area white balance control device of the present embodiment configured as described above will be described with reference to FIGS.

まず、図示しないデジタルカメラの制御部が、イメージセンサ22での出力を経て画像記憶部23に記憶されている画像データを入力する(ステップS11)。
次いで、第1の画像エリア分割部11が、入力された画像データを図9に示すような第1のサイズの3×3の9個のブロックに分割する(ステップS12)。
First, a control unit of a digital camera (not shown) inputs image data stored in the image storage unit 23 via an output from the image sensor 22 (step S11).
Next, the first image area dividing unit 11 divides the input image data into 9 blocks of 3 × 3 having the first size as shown in FIG. 9 (step S12).

次いで、第1のエリア色温度推定部12が、第1の画像エリア分割部11により分割された各ブロックの画像に対して、第1実施形態における第1のエリア色温度推定部12と同様の光源の色温度の推定方法で、ブロック毎の光源の色温度の推定を行う(ステップS13)。これにより、画像全体に対して、例えば、図10に示すような光源の色温度の推定結果が得られる。   Next, the first area color temperature estimation unit 12 performs the same processing as the first area color temperature estimation unit 12 in the first embodiment on the image of each block divided by the first image area division unit 11. The color temperature of the light source for each block is estimated by the method for estimating the color temperature of the light source (step S13). Thereby, for example, an estimation result of the color temperature of the light source as shown in FIG. 10 is obtained for the entire image.

エリア色温度推定部12による全てのブロックに対する光源の色温度の推定処理が終了後、色温度推定対象光源抽出部13が、第1のエリア色温度推定部12によって推定された上記9個のブロックの光源の色温度を種類別にカウントする。図10の例では、色温度推定対象光源抽出部13がカウントした光源の色温度の種類に関し、“A”(日向)として推定されたブロックが4個、“B”(日陰)として推定されたブロックが3個、“C”(蛍光灯)として推定されたブロックが1個、“D”(その他)として推定されたブロックが1個となっている。そこで、色温度推定対象光源抽出部13は、上記9個のブロック全体でカウント数が所定の閾値(例えば、カウント数が全ブロック数の15%)を上回る一部の種類(ここでは上位2種類)の光源の色温度の種類として、“A”(日向)と“B”(日陰)を検出する(ステップS14)。   After the area color temperature estimation unit 12 finishes estimating the color temperature of the light source for all the blocks, the color temperature estimation target light source extraction unit 13 performs the above nine blocks estimated by the first area color temperature estimation unit 12. The color temperature of the light source is counted by type. In the example of FIG. 10, regarding the type of the color temperature of the light source counted by the color temperature estimation target light source extraction unit 13, four blocks estimated as “A” (Hyuga) were estimated as “B” (shade). There are three blocks, one block estimated as “C” (fluorescent lamp), and one block estimated as “D” (others). Therefore, the color temperature estimation target light source extraction unit 13 uses some types (here, the top two types) in which the count number exceeds the predetermined threshold value (for example, the count number is 15% of the total block number) in the nine blocks. "A" (Hyuga) and "B" (shade) are detected as the color temperature types of the light source (step S14).

続いて、第2の画像エリア分割部18が、入力された画像データを図11に示すような第2のサイズの6×6の36個のブロックに分割する(ステップS15)。   Subsequently, the second image area dividing unit 18 divides the input image data into 36 blocks of 6 × 6 of the second size as shown in FIG. 11 (step S15).

続いて、第2のエリア色温度推定部14が、第2の画像エリア分割部18により分割された36個の各ブロックの画像に対して、第1実施形態における第2のエリア色温度推定部14と同様の光源の色温度の推定方法で、ブロック毎の光源の色温度を推定し直す(ステップS16)。この場合、色温度推定対象光源抽出部13が絞り込んだ上位2種類のいずれかの光源の色温度、即ち、図10の例では、“A”(日向)、“B”(日陰)のいずれかに推定する。これにより、画像全体に対して、例えば、図12に示すような光源の色温度の推定結果が得られる。   Subsequently, the second area color temperature estimation unit 14 applies the second area color temperature estimation unit in the first embodiment to the 36 blocks of images divided by the second image area division unit 18. The color temperature of the light source for each block is estimated again by the same method for estimating the color temperature of the light source as in step 14 (step S16). In this case, the color temperature of one of the top two types of light sources narrowed down by the color temperature estimation target light source extraction unit 13, that is, either “A” (Hyuga) or “B” (shade) in the example of FIG. To estimate. Thereby, for example, an estimation result of the color temperature of the light source as shown in FIG. 12 is obtained for the entire image.

第1のエリア色温度推定部12によって全てのブロックの光源の色温度を推定した場合、実際の目視結果と比べて、第1のエリア色温度推定部12が推定した大半のブロックにおける光源の色温度は、正しいものとなるが、一部のブロックでは間違ったものとなりうる。例えば、図10に示す(1,1)、(2,2)の各ブロックは、“A”(日向)と“B”(日陰)の境界部に位置するブロックであるため、第1のエリア色温度推定部12は、光源の色温度の推定を、“D”(その他)あるいは“C”(蛍光灯)に間違え易くなる。   When the color temperature of the light source of all the blocks is estimated by the first area color temperature estimation unit 12, the color of the light source in most blocks estimated by the first area color temperature estimation unit 12 compared with the actual visual result The temperature will be correct but may be incorrect for some blocks. For example, the blocks (1, 1) and (2, 2) shown in FIG. 10 are blocks located at the boundary between “A” (Hyuga) and “B” (shade). The color temperature estimation unit 12 is likely to mistake the estimation of the color temperature of the light source as “D” (others) or “C” (fluorescent lamp).

しかるに、本実施形態のマルチエリアホワイトバランス制御装置1では、色温度推定対象光源抽出部13が、第1のエリア色温度推定部12によって推定された光源の色温度を種類毎にカウントし、カウント数が上位となる一部の種類の光源の色温度に絞り込み、第2のエリア色温度推定部14が、第2のエリア分割手段17によって分割されたそれぞれのブロックのうち、第1のエリア色温度推定部12によって推定された光源の色温度が、色温度推定対象光源抽出部13が絞り込んだ一部の種類の光源の色温度のいずれにも該当しないブロックのみを対象として、光源の色温度を色温度推定対象光源抽出部13が絞り込んだ一部の種類の光源の色温度のいずれかに推定することで、図12に示すように、図10でのブロック(1,1)に対応するブロック(2,2)、(2,3)、(3,2)、(3,3)、及び図10でのブロック(2,2)に対応するブロック(4,4)、(4,5)、(5,4)、(5、5)の光源の色温度が、“D”(その他)あるいは“C”(蛍光灯)に間違っていた色温度から“A”(日向)あるいは“B”(日陰)といった正しい光源の色温度に推定し直される。 However, in the multi-area white balance control device 1 according to the present embodiment, the color temperature estimation target light source extraction unit 13 counts the color temperature of the light source estimated by the first area color temperature estimation unit 12 for each type. The second area color temperature estimation unit 14 narrows down to the color temperatures of some types of light sources with higher numbers , and the second area color temperature estimation unit 14 uses the first area color among the blocks divided by the second area dividing unit 17. The color temperature of the light source is estimated only for blocks in which the color temperature of the light source estimated by the temperature estimation unit 12 does not correspond to any of the color temperatures of some types of light sources extracted by the color temperature estimation target light source extraction unit 13. Is estimated to one of the color temperatures of some types of light sources narrowed down by the color temperature estimation target light source extraction unit 13, as shown in FIG. 12, the block (1, 1) in FIG. Corresponding blocks (2, 2), (2, 3), (3, 2), (3, 3), and blocks (4, 4), (4) corresponding to block (2, 2) in FIG. , 5), (5, 4), (5, 5), the color temperature of the light source from “D” (other) or “C” (fluorescent light) was changed from “A” (Hyuga) or It is re-estimated to the correct color temperature of the light source such as “B” (shade).

第2のエリア色温度推定部14によるブロック毎の光源の色温度の、色温度推定対象光源抽出部13が絞り込んだ一部の種類の光源の色温度のいずれかへの推定の後、WBゲインマップ生成部15が、図12に示す推定し直された各ブロックの光源の色温度に基づき、図示しない予め決められている光源の色温度に対応するR、Bのゲインのデータを参照にして、R、Bに対応するWB補正ゲインマップを生成する(ステップS17)。WBゲインマップ生成部15が生成したWB補正ゲインマップは、ゲインマップ記憶部16に記憶(保存)される。   After estimating the color temperature of the light source for each block by the second area color temperature estimation unit 14 to one of the color temperatures of some types of light sources narrowed down by the color temperature estimation target light source extraction unit 13, the WB gain Based on the color temperature of the light source of each reestimated block shown in FIG. 12, the map generation unit 15 refers to R and B gain data corresponding to a predetermined color temperature of the light source (not shown). , R and B corresponding to WB correction gain maps are generated (step S17). The WB correction gain map generated by the WB gain map generation unit 15 is stored (saved) in the gain map storage unit 16.

そして、WBゲイン補正部17が、入力画像の位置に対応して、それぞれの色の画素値にゲインマップ記憶部16を入力して得たゲインをかけることにより、ホワイトバランスを補正し、画像を出力する(ステップS18)。   Then, the WB gain correction unit 17 corrects the white balance by applying the gain obtained by inputting the gain map storage unit 16 to the pixel value of each color corresponding to the position of the input image, thereby correcting the image. Output (step S18).

本実施形態のマルチエリアホワイトバランス制御装置1及びマルチエリアホワイトバランス制御方法によれば、第1のエリア分割部11で複数のブロックに分割する第1のサイズを大きくして分割するブロック数を極力少なくすることにより、第1のエリア色温度推定部12による光源の色温度の推定処理回数を減らすことができ、マルチエリアホワイトバランス処理全体の高速化が図れる。
その他の作用効果は、第1実施形態のマルチエリアホワイトバランス制御装置1及びマルチエリアホワイトバランス制御方法と略同じである。
According to the multi-area white balance control device 1 and multi-area white balance control method of the present embodiment, the first area dividing unit 11 increases the first size to be divided into a plurality of blocks, and the number of blocks to be divided is minimized. By reducing the number, it is possible to reduce the number of times the color temperature of the light source is estimated by the first area color temperature estimation unit 12 and to speed up the entire multi-area white balance process.
Other functions and effects are substantially the same as those of the multi-area white balance control device 1 and the multi-area white balance control method of the first embodiment.

なお、本実施形態のマルチエリアホワイトバランス制御装置において、第1のエリア色温度推定部12により、第1のエリア毎に推定された光源の色温度の種類が略1種類であるような場合には、入力画像全体の光源の色温度が1種類であるものと判断できる。そこで、そのような場合には、次のような手順で処理を行うようにするのが望ましい。   In the multi-area white balance control device of this embodiment, when the first area color temperature estimation unit 12 has approximately one type of color temperature of the light source estimated for each first area. It can be determined that the color temperature of the light source of the entire input image is one type. Therefore, in such a case, it is desirable to perform processing in the following procedure.

図13は第2実施形態のマルチエリアホワイトバランス制御装置の変形例にかかる入力画像のホワイトバランスを補正するまでの処理手順を示すフローチャートである。   FIG. 13 is a flowchart showing a processing procedure until the white balance of the input image according to the modification of the multi-area white balance control device of the second embodiment is corrected.

図14は第2実施形態の変形例のマルチエリアホワイトバランス制御装置1において、色温度推定対象光源抽出部13による、第1のエリア色温度推定部12によって推定された光源の色温度を種類毎にカウントした、カウント数が上位となる光源の色温度の種類が、 “A”(日向)のみの1種類となったときを示している。詳しくは、図14の例では、色温度推定対象光源抽出部13がカウントした光源の色温度の種類に関し、“A”(日向)として推定されたブロックが7個、“B”(日陰)として推定されたブロックが1個、“C”(蛍光灯)として推定されたブロックが1個、“D”(その他)として推定されたブロックが0個となっており、所定の閾値(例えば、カウント数が全ブロック数の15%)を上回る光源の色温度の種類が“A”(日向)のみの1種類となっている。   FIG. 14 shows, for each type, the color temperature of the light source estimated by the first area color temperature estimation unit 12 by the color temperature estimation target light source extraction unit 13 in the multi-area white balance control device 1 of the modification of the second embodiment. The type of color temperature of the light source with the highest count is counted as “A” (Hyuga) only. Specifically, in the example of FIG. 14, regarding the type of color temperature of the light source counted by the color temperature estimation target light source extraction unit 13, seven blocks estimated as “A” (Hyuga) and “B” (shade) are used. There are one estimated block, one block estimated as “C” (fluorescent lamp), and zero block estimated as “D” (other), and a predetermined threshold (for example, count) The type of color temperature of the light source, the number of which exceeds 15% of the total number of blocks), is only one type of “A” (Hyuga).

このような場合には、本変形例では、第1のエリア色温度推定部12が推定した光源の色温度が“A”(日向)以外の光源の色温度(ここでは、“B”(日陰)、“C”(蛍光灯))に推定されたブロックの光源の色温度の推定が誤っているものと判断して、第1のエリア色温度推定部12に、図15に示すように、全ブロックの光源の色温度を“A”(日向)に推定し直させる(ステップS30)。
そして、第2の画像エリア分割部18、第2のエリア色温度推定部14の夫々による処理を経ることなく、WBゲインマップ生成部15が、図15に示す推定し直された各ブロックの光源の色温度に基づき、図示しない予め決められている光源の色温度に対応するR、Bのゲインのデータを参照にして、WB補正ゲインマップを生成する(ステップS28)。
In such a case, in this modification, the color temperature of the light source estimated by the first area color temperature estimation unit 12 is a color temperature of a light source other than “A” (Hyuga) (here, “B” (shade). ), It is determined that the estimation of the color temperature of the light source of the block estimated at “C” (fluorescent lamp)) is incorrect, and the first area color temperature estimation unit 12 is informed as shown in FIG. The color temperature of the light source of all blocks is re-estimated to “A” (Hyuga) (step S30).
Then, the WB gain map generation unit 15 performs the re-estimation of the light source of each block shown in FIG. 15 without undergoing the processing by the second image area dividing unit 18 and the second area color temperature estimation unit 14. WB correction gain map is generated with reference to the R and B gain data corresponding to the predetermined color temperature of the light source (not shown) based on the color temperature (step S28).

その他の構成及び処理手順は、第2実施形態のマルチエリアホワイトバランス制御装置と略同じである。   Other configurations and processing procedures are substantially the same as those of the multi-area white balance control device of the second embodiment.

第2実施形態の変形例のようにすれば、色温度推定対象光源抽出部13による、第1のエリア色温度推定部12によって推定された光源の色温度を種類毎にカウントした、カウント数が所定の閾値(例えば、カウント数が図ンブロック数の15%)を上回る光源の色温度の種類が1種類である場合に、第2の画像エリア分割部18、第2のエリア色温度推定部14の夫々による処理を省くことができ、マルチエリアホワイトバランス処理全体のより一層の高速化が図れる。
その他の作用効果は、図7〜図12を用いて説明した第2実施形態のマルチエリアホワイトバランス制御装置1及びマルチエリアホワイトバランス制御方法と略同じである。
According to the modification of the second embodiment, the color temperature estimation target light source extraction unit 13 counts the color temperature of the light source estimated by the first area color temperature estimation unit 12 for each type. The second image area dividing unit 18 and the second area color temperature estimating unit when the type of the color temperature of the light source exceeds a predetermined threshold (for example, the count number is 15% of the number of blocks in the figure). 14 can be omitted, and the speed of the entire multi-area white balance process can be further increased.
Other functions and effects are substantially the same as those of the multi-area white balance control device 1 and the multi-area white balance control method according to the second embodiment described with reference to FIGS.

以上、本発明のマルチエリアホワイトバランス制御装置1及びマルチエリアホワイトバランス制御方法を説明し、上記各実施形態のマルチエリアホワイトバランス制御装置1においては、エリア分割手段としての画像エリア分割部11、第2の画像エリア分割部18が、入力画像を縦横夫々の直線で区切られた形状及び面積の等しいブロックに分割した例で説明したが、本発明のマルチエリアホワイトバランス制御装置1におけるエリア分割手段が分割する各エリアの形状・大きさは本実施形態に限定されるものではなく、例えば、三角形状、湾曲形状等どのような形状でもよいし、各エリアの大きさが異なっていてもよい。   The multi-area white balance control device 1 and the multi-area white balance control method of the present invention have been described above. In the multi-area white balance control device 1 of each of the above embodiments, the image area dividing unit 11 as the area dividing means, the first In the example described above, the image area dividing unit 18 divides the input image into blocks having the same shape and area divided by vertical and horizontal straight lines. However, the area dividing means in the multi-area white balance control device 1 of the present invention is described below. The shape and size of each area to be divided is not limited to this embodiment, and may be any shape such as a triangular shape or a curved shape, and the size of each area may be different.

さらに、上記各実施形態のマルチエリアホワイトバランス画像処理装置10は、コンピュータを(第1の)画像エリア分割部11((第1の)エリア分割手段)(さらには第2の画像エリア分割部18(第2のエリア分割手段))、第1のエリア色温度推定部12(第1のエリア光源色温度推定手段)、色温度推定対象光源抽出部13(色温度推定対象光源抽出手段)、第2のエリア色温度推定部14(第2のエリア光源色温度推定手段)、WBゲインマップ生成部15(ホワイトバランス補正ゲインマップ生成手段)、WBゲイン補正部17(ホワイトバランス処理手段)として機能させるためのマルチエリアホワイトバランス画像処理プログラムを内蔵するハードディスクに記録したコンピュータで構成してもよい。
さらに、あるいは、本実施形態のマルチエリアホワイトバランス画像処理装置10は、コンピュータを(第1の)画像エリア分割部11((第1の)エリア分割手段)(さらには第2の画像エリア分割部18(第2のエリア分割手段))、第1のエリア色温度推定部12(第1のエリア光源色温度推定手段)、色温度推定対象光源抽出部13(色温度推定対象光源抽出手段)、第2のエリア色温度推定部14(第2のエリア光源色温度推定手段)、WBゲインマップ生成部15(ホワイトバランス補正ゲインマップ生成手段)、WBゲイン補正部17(ホワイトバランス処理手段)として機能させるためのマルチエリアホワイトバランス画像処理プログラムを記録した、例えば、CD−ROM等のコンピュータ読み取り可能な媒体で構成してもよい。
Furthermore, the multi-area white balance image processing apparatus 10 of each of the above embodiments includes a computer (first) image area dividing unit 11 ((first) area dividing means) (and second image area dividing unit 18). (Second area dividing unit)), first area color temperature estimating unit 12 (first area light source color temperature estimating unit), color temperature estimating target light source extracting unit 13 (color temperature estimating target light source extracting unit), first 2 area color temperature estimator 14 (second area light source color temperature estimator), WB gain map generator 15 (white balance correction gain map generator), and WB gain corrector 17 (white balance processor). A multi-area white balance image processing program may be configured by a computer recorded on a hard disk.
Further alternatively, the multi-area white balance image processing apparatus 10 according to the present embodiment includes a computer (first) image area dividing unit 11 ((first) area dividing unit) (and second image area dividing unit). 18 (second area dividing means)), a first area color temperature estimation unit 12 (first area light source color temperature estimation means), a color temperature estimation target light source extraction unit 13 (color temperature estimation target light source extraction means), Functions as a second area color temperature estimation unit 14 (second area light source color temperature estimation unit), a WB gain map generation unit 15 (white balance correction gain map generation unit), and a WB gain correction unit 17 (white balance processing unit). A multi-area white balance image processing program for recording, for example, a computer-readable medium such as a CD-ROM Good.

本発明のマルチエリアホワイトバランス制御装置、マルチエリアホワイトバランス制御方法、マルチエリアホワイトバランス制御プログラム、マルチエリアホワイトバランス制御プログラムを記録したコンピュータ、マルチエリアホワイトバランス画像処理装置、マルチエリアホワイトバランス画像処理方法、マルチエリアホワイトバランス画像処理プログラム、マルチエリアホワイトバランス画像処理プログラムを記録したコンピュータ及びマルチエリアホワイトバランス画像処理装置を備えた撮像装置は、複数の異種光源により撮影を行った所謂ミックス光源画像のホワイトバランスを補正することが求められる分野に有用である。   Multi-area white balance control apparatus, multi-area white balance control method, multi-area white balance control program, computer recording multi-area white balance control program, multi-area white balance image processing apparatus, multi-area white balance image processing method A multi-area white balance image processing program, a computer having a multi-area white balance image processing program recorded thereon, and an imaging apparatus having a multi-area white balance image processing apparatus are so-called mixed light source image white images captured with a plurality of different light sources. This is useful in fields where balance correction is required.

1 マルチエリアホワイトバランス制御装置
10 マルチエリアホワイトバランス画像処理装置
11 (第1の)エリア分割手段((第1の)画像エリア分割部)
12 第1のエリア光源色温度推定手段(第1のエリア色温度推定部)
13 色温度推定対象光源抽出手段(色温度推定対象光源抽出部)
14 第2のエリア光源色温度推定手段(第2のエリア色温度推定部)
15 ホワイトバランス補正ゲインマップ生成手段(WBゲインマップ生成部)
16 ゲインマップ記憶部
17 ホワイトバランス処理手段(WBゲイン補正部)
18 第2のエリア分割手段(第2の画像エリア分割部)
21 レンズ
22 イメージセンサ
23 画像記憶部
DESCRIPTION OF SYMBOLS 1 Multi area white balance control apparatus 10 Multi area white balance image processing apparatus 11 (1st) Area division means ((1st) image area division part)
12 1st area light source color temperature estimation means (1st area color temperature estimation part)
13 Color temperature estimation target light source extraction means (color temperature estimation target light source extraction unit)
14 2nd area light source color temperature estimation means (2nd area color temperature estimation part)
15 White balance correction gain map generation means (WB gain map generation unit)
16 Gain map storage unit 17 White balance processing means (WB gain correction unit)
18 Second area dividing means (second image area dividing unit)
21 Lens 22 Image sensor 23 Image storage unit

Claims (8)

入力画像を複数のエリアに分割するエリア分割手段と、
前記エリア分割手段によって分割されたエリア毎に光源の色温度を推定する第1のエリア光源色温度推定手段と、
前記第1のエリア光源色温度推定手段によって推定された光源の色温度を種類毎にカウントし、カウント数が上位となる一部の種類の光源の色温度に絞り込む色温度推定対象光源抽出手段と、
前記エリア分割手段によって分割されたそれぞれのエリアのうち、前記第1のエリア光源色温度推定手段によって推定された光源の色温度が、前記色温度推定対象光源抽出手段が絞り込んだ一部の種類の光源の色温度のいずれにも該当しないエリアのみを対象として、光源の色温度を、前記色温度推定対象光源抽出手段が絞り込んだ一部の種類の光源の色温度のいずれかに推定する第2のエリア光源色温度推定手段と、
前記第2のエリア光源色温度推定手段によって推定された各エリアの光源の色温度に基づき、前記入力画像全体のホワイトバランス補正ゲインマップを生成するホワイトバランス補正ゲインマップ生成手段と
を有することを特徴とするマルチエリアホワイトバランス制御装置。
Area dividing means for dividing the input image into a plurality of areas;
First area light source color temperature estimating means for estimating the color temperature of the light source for each area divided by the area dividing means;
A color temperature estimation target light source extraction unit that counts the color temperature of the light source estimated by the first area light source color temperature estimation unit for each type, and narrows down to the color temperature of some types of light sources with higher counts ; ,
Wherein within each of the areas divided by the area dividing means, the color temperature of the light source estimated by the first area light source color temperature estimating means, wherein the color temperature estimation target light source extracting means is part narrowed down type Secondly, the color temperature of the light source is estimated to one of the color temperatures of some types of light sources narrowed down by the color temperature estimation target light source extraction means , only for an area that does not correspond to any of the color temperatures of the light sources. Area light source color temperature estimation means,
White balance correction gain map generation means for generating a white balance correction gain map of the entire input image based on the color temperature of the light source in each area estimated by the second area light source color temperature estimation means. Multi-area white balance control device.
前記エリア分割手段は、入力画像を複数の第1のエリアに分割する第1のエリア分割手段と、該入力画像を複数の第2のエリアに分割する第2のエリア分割手段を有し、
前記第1のエリア光源色温度推定手段は、前記第1のエリア分割手段によって分割された第1のエリア毎に光源の色温度を推定し、
前記第2のエリア光源色温度推定手段は、前記第2のエリア分割手段によって分割された第2のエリア毎に光源の色温度を前記色温度推定対象光源抽出手段が絞り込んだ一部の種類の光源の色温度のいずれかに推定することを特徴とする請求項1に記載のマルチエリアホワイトバランス制御装置。
The area dividing means includes first area dividing means for dividing an input image into a plurality of first areas, and second area dividing means for dividing the input image into a plurality of second areas,
The first area light source color temperature estimating means estimates the color temperature of the light source for each first area divided by the first area dividing means,
The second area light source color temperature estimator is a part of a type in which the color temperature estimation target light source extractor narrows down the color temperature of the light source for each second area divided by the second area divider. The multi-area white balance control apparatus according to claim 1, wherein the multi-area white balance control apparatus estimates the color temperature of any one of the light sources.
前記第1のエリアのサイズが、前記第2のエリアのサイズと異なることを特徴とする請求項に記載のマルチエリアホワイトバランス制御装置。 The size of the first area, multi-area white balance control device according to claim 2, characterized in that different from the size of the second area. 請求項1〜のいずれかに記載のマルチエリアホワイトバランス制御装置と、
前記マルチエリアホワイトバランス制御装置に備わる前記ホワイトバランス補正ゲインマップ生成手段によって生成された、各エリアのホワイトバランス補正ゲインに基づき、該マルチエリアホワイトバランス制御装置の前記エリア分割手段が分割対象とした前記入力画像全体のホワイトバランス処理を行うホワイトバランス処理手段と
を備えることを特徴とするマルチエリアホワイトバランス画像処理装置。
The multi-area white balance control device according to any one of claims 1 to 3 ,
Based on the white balance correction gain of each area generated by the white balance correction gain map generation unit provided in the multi-area white balance control device, the area division unit of the multi-area white balance control device sets the division target. A multi-area white balance image processing apparatus comprising: white balance processing means for performing white balance processing on the entire input image.
請求項に記載のマルチエリアホワイトバランス画像処理装置を備えた撮像装置。 An imaging apparatus comprising the multi-area white balance image processing apparatus according to claim 4 . 入力画像を複数のエリアに分割し、
分割したエリア毎に光源の色温度を推定し、
推定した、光源の色温度を種類毎にカウントし、カウント数が上位となる一部の種類の光源の色温度に絞り込み、
分割したそれぞれのエリアのうち、推定した光源の色温度が、絞り込んだ一部の種類の光源の色温度のいずれにも該当しないエリアのみを対象として、光源の色温度を、絞り込んだ一部の種類の光源の色温度のいずれかに推定し直し、
推定し直した各エリアの光源の色温度に基づき、前記入力画像全体のホワイトバランス補正ゲインマップを生成することを特徴とするマルチエリアホワイトバランス制御方法。
Divide the input image into multiple areas,
Estimate the color temperature of the light source for each divided area,
Count the estimated color temperature of the light source for each type, narrow down to the color temperature of some types of light sources with higher counts ,
Of the divided areas , only the areas where the estimated color temperature of the light source does not correspond to any of the color temperatures of some types of light sources that have been narrowed down, and the color temperature of the light source is limited Reestimate one of the color temperatures of the different light sources,
A multi-area white balance control method, comprising: generating a white balance correction gain map of the entire input image based on the color temperature of the light source of each area re-estimated.
マルチエリアホワイトバランス制御装置に備わるコンピュータであって、
前記コンピュータを、
入力画像を複数のエリアに分割するエリア分割手段、
前記エリア分割手段によって分割されたエリア毎に光源の色温度を推定する第1のエリア光源色温度推定手段、
前記第1のエリア光源色温度推定手段によって推定された光源の色温度を種類毎にカウントし、カウント数が上位となる一部の種類の光源の色温度に絞り込む色温度推定対象光源抽出手段、
前記エリア分割手段によって分割されたそれぞれのエリアのうち、前記第1のエリア光源色温度推定手段によって推定された光源の色温度が、前記色温度推定対象光源抽出手段が絞り込んだ一部の種類の光源の色温度のいずれにも該当しないエリアのみを対象として、光源の色温度を、前記色温度推定対象光源抽出手段が絞り込んだ一部の種類の光源の色温度のいずれかに推定する第2のエリア光源色温度推定手段、
前記第2のエリア光源色温度推定手段によって推定された各エリアの光源の色温度に基づき、前記入力画像全体のホワイトバランス補正ゲインマップを生成するホワイトバランス補正ゲインマップ生成手段として機能させるためのマルチエリアホワイトバランス制御プログラムを記録したコンピュータ。
A computer provided in a multi-area white balance control device,
The computer,
Area dividing means for dividing the input image into a plurality of areas;
First area light source color temperature estimating means for estimating the color temperature of the light source for each area divided by the area dividing means;
A color temperature estimation target light source extraction unit that counts the color temperature of the light source estimated by the first area light source color temperature estimation unit for each type, and narrows down to the color temperature of some types of light sources having a higher count number ;
Wherein within each of the areas divided by the area dividing means, the color temperature of the light source estimated by the first area light source color temperature estimating means, wherein the color temperature estimation target light source extracting means is part narrowed down type Secondly, the color temperature of the light source is estimated to one of the color temperatures of some types of light sources narrowed down by the color temperature estimation target light source extraction means , only for an area that does not correspond to any of the color temperatures of the light sources. Area light source color temperature estimation means,
A multi function for functioning as a white balance correction gain map generating unit that generates a white balance correction gain map of the entire input image based on the color temperature of the light source in each area estimated by the second area light source color temperature estimating unit. A computer that records the area white balance control program.
マルチエリアホワイトバランス制御装置に備わるコンピュータが読み取り可能なマルチエリアホワイトバランス制御プログラムであって、
前記コンピュータを、
入力画像を複数のエリアに分割するエリア分割手段、
前記エリア分割手段によって分割されたエリア毎に光源の色温度を推定する第1のエリア光源色温度推定手段、
前記第1のエリア光源色温度推定手段によって推定された光源の色温度を種類毎にカウントし、カウント数が上位となる一部の種類の光源の色温度に絞り込む色温度推定対象光源抽出手段、
前記エリア分割手段によって分割されたそれぞれのエリアのうち、前記第1のエリア光源色温度推定手段によって推定された光源の色温度が、前記色温度推定対象光源抽出手段が絞り込んだ一部の種類の光源の色温度のいずれにも該当しないエリアのみを対象として、光源の色温度を、前記色温度推定対象光源抽出手段が絞り込んだ一部の種類の光源の色温度のいずれかに推定する第2のエリア光源色温度推定手段、
前記第2のエリア光源色温度推定手段によって推定された各エリアの光源の色温度に基づき、前記入力画像全体のホワイトバランス補正ゲインマップを生成するホワイトバランス補正ゲインマップ生成手段として機能させるためのマルチエリアホワイトバランス制御プログラム。
A computer-readable multi-area white balance control program provided in the multi-area white balance control device,
The computer,
Area dividing means for dividing the input image into a plurality of areas;
First area light source color temperature estimating means for estimating the color temperature of the light source for each area divided by the area dividing means;
A color temperature estimation target light source extraction unit that counts the color temperature of the light source estimated by the first area light source color temperature estimation unit for each type, and narrows down to the color temperature of some types of light sources having a higher count number ;
Wherein within each of the areas divided by the area dividing means, the color temperature of the light source estimated by the first area light source color temperature estimating means, wherein the color temperature estimation target light source extracting means is part narrowed down type Secondly, the color temperature of the light source is estimated to one of the color temperatures of some types of light sources narrowed down by the color temperature estimation target light source extraction means , only for an area that does not correspond to any of the color temperatures of the light sources. Area light source color temperature estimation means,
A multi function for functioning as a white balance correction gain map generating unit that generates a white balance correction gain map of the entire input image based on the color temperature of the light source in each area estimated by the second area light source color temperature estimating unit. Area white balance control program.
JP2014017717A 2014-01-31 2014-01-31 Multi-area white balance control device, multi-area white balance control method, multi-area white balance control program, computer recording multi-area white balance control program, multi-area white balance image processing device, multi-area white balance image processing method, multi-area White balance image processing program, computer recording multi-area white balance image processing program, and imaging apparatus provided with multi-area white balance image processing device Active JP6345430B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014017717A JP6345430B2 (en) 2014-01-31 2014-01-31 Multi-area white balance control device, multi-area white balance control method, multi-area white balance control program, computer recording multi-area white balance control program, multi-area white balance image processing device, multi-area white balance image processing method, multi-area White balance image processing program, computer recording multi-area white balance image processing program, and imaging apparatus provided with multi-area white balance image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014017717A JP6345430B2 (en) 2014-01-31 2014-01-31 Multi-area white balance control device, multi-area white balance control method, multi-area white balance control program, computer recording multi-area white balance control program, multi-area white balance image processing device, multi-area white balance image processing method, multi-area White balance image processing program, computer recording multi-area white balance image processing program, and imaging apparatus provided with multi-area white balance image processing device

Publications (2)

Publication Number Publication Date
JP2015146480A JP2015146480A (en) 2015-08-13
JP6345430B2 true JP6345430B2 (en) 2018-06-20

Family

ID=53890545

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014017717A Active JP6345430B2 (en) 2014-01-31 2014-01-31 Multi-area white balance control device, multi-area white balance control method, multi-area white balance control program, computer recording multi-area white balance control program, multi-area white balance image processing device, multi-area white balance image processing method, multi-area White balance image processing program, computer recording multi-area white balance image processing program, and imaging apparatus provided with multi-area white balance image processing device

Country Status (1)

Country Link
JP (1) JP6345430B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107920241B (en) * 2017-12-14 2020-04-28 四川长虹电器股份有限公司 White balance processing method for liquid crystal display television
JP6900577B2 (en) * 2018-05-08 2021-07-07 富士フイルム株式会社 Image processing equipment and programs
CN113068016B (en) * 2021-04-02 2023-03-24 杭州涂鸦信息技术有限公司 White balance correction method and device and computer equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002271638A (en) * 2001-03-09 2002-09-20 Fuji Photo Film Co Ltd White balance correction method and device, and recording medium recorded with program for executing the method
JP4158592B2 (en) * 2003-04-25 2008-10-01 富士フイルム株式会社 Auto white balance adjustment method and camera to which this method is applied
JP4754227B2 (en) * 2005-01-31 2011-08-24 イーストマン コダック カンパニー Auto white balance device and white balance adjustment method
JP4955235B2 (en) * 2005-07-29 2012-06-20 イーストマン コダック カンパニー Digital camera and gain calculation method
JP5250996B2 (en) * 2007-04-25 2013-07-31 株式会社ニコン White balance adjustment device, imaging device, and white balance adjustment program
JP5023874B2 (en) * 2007-08-06 2012-09-12 株式会社ニコン Color imaging device
JP5321163B2 (en) * 2009-03-12 2013-10-23 株式会社リコー Imaging apparatus and imaging method

Also Published As

Publication number Publication date
JP2015146480A (en) 2015-08-13

Similar Documents

Publication Publication Date Title
US9723285B2 (en) Multi-area white-balance control device, multi-area white-balance control method, multi-area white-balance control program, computer in which multi-area white-balance control program is recorded, multi-area white-balance image-processing device, multi-area white-balance image-processing method, multi-area white-balance image-processing program, computer in which multi-area white-balance image-processing program is recorded, and image-capture apparatus
JP6274931B2 (en) Multi-area white balance control device, multi-area white balance control method, multi-area white balance control program, computer recording multi-area white balance control program, multi-area white balance image processing device, multi-area white balance image processing method, multi-area White balance image processing program, computer recording multi-area white balance image processing program, and imaging apparatus provided with multi-area white balance image processing device
US7755672B2 (en) Techniques for modifying image field data obtained using illumination sources
KR100918701B1 (en) Method for robust automatic white balance
CN105578021B (en) The imaging method and its device of binocular camera
KR101685887B1 (en) Image processing device, image processing method, and computer-readable storage medium having image processing program
JP7152065B2 (en) Image processing device
JP2012235377A (en) Image processing apparatus, image processing method, and program
JP2007097175A (en) White balance mechanism with zone weighting function
JP6345430B2 (en) Multi-area white balance control device, multi-area white balance control method, multi-area white balance control program, computer recording multi-area white balance control program, multi-area white balance image processing device, multi-area white balance image processing method, multi-area White balance image processing program, computer recording multi-area white balance image processing program, and imaging apparatus provided with multi-area white balance image processing device
CN108012135B (en) Image processing method and device, computer readable storage medium and computer equipment
JP2008011289A (en) Digital camera
CN108063934B (en) Image processing method and device, computer readable storage medium and computer device
JP6196882B2 (en) Multi-area white balance control device, multi-area white balance control method, multi-area white balance control program, computer recording multi-area white balance control program, multi-area white balance image processing device, multi-area white balance image processing method, multi-area White balance image processing program, computer recording multi-area white balance image processing program, and imaging apparatus provided with multi-area white balance image processing device
JP7144678B2 (en) Image processing device, image processing method, and image processing program
JP4029206B2 (en) Imaging device
EP3363193A1 (en) Device and method for reducing the set of exposure times for high dynamic range video/imaging
JPH09261580A (en) Image processing method
US20140118574A1 (en) Method for white balance adjustment of images
JP6316006B2 (en) SUBJECT SEARCH DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND IMAGING DEVICE
CN108111831B (en) Photographing method, imaging apparatus, computer-readable storage medium, and computer device
JP5752993B2 (en) Image processing apparatus and image processing program
KR102315200B1 (en) Image processing apparatus for auto white balance and processing method therefor
KR101227082B1 (en) Apparatus and method for color balancing of multi image stitch
JP2013115571A (en) Information processing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161003

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171010

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171117

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180523

R150 Certificate of patent or registration of utility model

Ref document number: 6345430

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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