Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6196882B2 - 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
[go: Go Back, main page]

JP6196882B2 - 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
JP6196882B2
JP6196882B2 JP2013232350A JP2013232350A JP6196882B2 JP 6196882 B2 JP6196882 B2 JP 6196882B2 JP 2013232350 A JP2013232350 A JP 2013232350A JP 2013232350 A JP2013232350 A JP 2013232350A JP 6196882 B2 JP6196882 B2 JP 6196882B2
Authority
JP
Japan
Prior art keywords
area
light source
color temperature
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.)
Expired - Fee Related
Application number
JP2013232350A
Other languages
Japanese (ja)
Other versions
JP2015095681A (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 JP2013232350A priority Critical patent/JP6196882B2/en
Publication of JP2015095681A publication Critical patent/JP2015095681A/en
Application granted granted Critical
Publication of JP6196882B2 publication Critical patent/JP6196882B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Color Television Image Signal Generators (AREA)
  • Processing Of Color Television Signals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Studio Devices (AREA)

Description

本発明は、複数の光源で照明されたシーンを撮影した画像における光源の色温度の推定の誤りを調整・修正して、入力画像のホワイトバランス補正を行うことで、画像全体における違和感の無い色再現を実現するためのマルチエリアホワイトバランス制御装置、マルチエリアホワイトバランス制御方法、マルチエリアホワイトバランス制御プログラム、マルチエリアホワイトバランス制御プログラムを記録したコンピュータ、マルチエリアホワイトバランス画像処理装置、マルチエリアホワイトバランス画像処理方法、マルチエリアホワイトバランス画像処理プログラム、マルチエリアホワイトバランス画像処理プログラムを記録したコンピュータ及びマルチエリアホワイトバランス画像処理装置を備えた撮像装置に関する。   The present invention adjusts and corrects an error in estimating the color temperature of a light source in an image obtained by photographing a scene illuminated with a plurality of light sources, and corrects the white balance of the input image, so that there is no uncomfortable color 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 The present invention relates to an image processing method, a multi-area white balance image processing program, a computer recording the multi-area white balance image processing program, and an imaging apparatus including the multi-area white balance image processing apparatus.

撮影光源は、日中の屋外であれば太陽の高度・大気の状態などに依存してその色温度が変化する。また、日向と日陰でも色温度が異なる。
更に屋内では蛍光灯や白熱灯など様々な人工照明があり、それぞれの光源の色温度が異なる。
また、昼間の室外でフラッシュ撮影した場合、フラッシュ照明と外光の混合光が撮影光源となる。
また、夜の室外でフラッシュ撮影した場合、フラッシュ照明と背景の人工照明とは混合しないが、同じシーンの中の異なるエリアでは、光源の色温度が異なる。
また、室内でフラッシュ撮影した場合、フラッシュ照明と人工照明が混じりあった光が、撮影光源となる。
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. Also, 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 and background artificial illumination 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 and artificial illumination are mixed serves as 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 lighting, 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, the acquired image is divided into multiple areas in order to perform white balance processing with high accuracy regardless of the color temperature of the light source in the area in the scene. However, it is necessary to detect the color temperature of the light source corresponding to each divided area and perform different white balance 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.

また、特許文献2には、撮像画面内に異なる種類の光源の照射エリアが存在する場合に撮像画面全体に適切なホワイトバランスを掛けることが難しく、色ずれが生じた撮像画像になってしまうという問題を解決するために、撮像画面内を輝度情報と色情報とに応じて複数の領域に分割し、複数の領域のそれぞれに対して異なるホワイトバランス補正係数を設定し、前記複数の領域のそれぞれに対して設定されたホワイトバランス補正係数の差を、所定範囲内に収めるホワイトバランス補正係数リミットを設けて、全画面のホワイトバランス補正係数を生成することが開示されている。   Further, in Patent Document 2, when there are irradiation areas of different types of light sources in the imaging screen, it is difficult to apply an appropriate white balance to the entire imaging screen, resulting in a captured image with color misregistration. In order to solve the problem, the imaging screen is divided into a plurality of areas according to luminance information and color information, different white balance correction coefficients are set for each of the plurality of areas, and each of the plurality of areas is set. It is disclosed that a white balance correction coefficient limit for keeping the difference in white balance correction coefficient set for the above in a predetermined range is provided to generate a white balance correction coefficient for the entire screen.

特開2002−271638公報JP 2002-271638 A 特開2010−213232公報JP 2010-213232 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, since each divided area is a part of the scene of the input image, the subject in each area is likely to be a single color subject, and the color temperature of the light source in the divided area is likely to be estimated to the wrong color temperature. .
For example, as shown in FIG. 1, after an input image of a scene with the sun on the front and the shade on the background is divided into 6 × 6 areas, the subject is almost grass in the lower left area corresponding to the foreground lawn. A case arises.
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 wrong estimated light source color temperature, the color balance of the area is greatly lost, and the entire image has a very unnatural hue. There is a possibility.

しかるに、特許文献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, there is an effect of limiting the type of the estimated color temperature of the light source. However, if 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 different from the original color temperature of the light source, they cannot be sorted into the same group in the first place. For this reason, in the method described in Patent Document 1, when the estimated light source color temperature is incorrect as described above, by correcting the white balance using the white balance correction gain corresponding to the estimated light source color temperature, The color balance of the area is greatly lost, and it is not possible to cope with the problem that the color becomes very unnatural locally.

また、特許文献2に記載されている方法は、分割された複数の領域のそれぞれのホワイトバランス補正係数(即ち、光源の色温度に対応する制御値)を設定しており、そもそも推定(または設定)する光源の色温度が間違っていることが想定されていない。このため、特許文献2に記載されている方法でも、上述のような、推定光源色温度を間違った場合、間違った推定光源色温度に対応するホワイトバランス補正ゲインを用いてホワイトバランスを補正することによって、当該エリアの色のバランスが大きく崩れて、画像全体が非常に不自然な色合いとなるといった課題に対処できない。   The method described in Patent Document 2 sets a white balance correction coefficient (that is, a control value corresponding to the color temperature of the light source) for each of a plurality of divided areas, and estimates (or sets) in the first place. ) It is not assumed that the color temperature of the light source is wrong. For this reason, even in the method described in Patent Document 2, if the estimated light source color temperature is incorrect as described above, the white balance is corrected using the white balance correction gain corresponding to the incorrect estimated light source color temperature. As a result, the color balance of the area is largely lost, and the problem that the entire image has a very unnatural color cannot be dealt with.

本発明は、以上の従来技術における問題を鑑みてなされたものであり、撮影画像全体を複数のエリアに分割して、それぞれのエリアの光源の色温度を推定する場合、個別のエリアにおいて推定した光源の色温度が間違っていても、違和感の無い色再現を実現することの可能なマルチエリアホワイトバランス制御装置、マルチエリアホワイトバランス制御方法、マルチエリアホワイトバランス制御プログラム、マルチエリアホワイトバランス制御プログラムを記録したコンピュータ、マルチエリアホワイトバランス画像処理装置、マルチエリアホワイトバランス画像処理方法、マルチエリアホワイトバランス画像処理プログラム、マルチエリアホワイトバランス画像処理プログラムを記録したコンピュータ及びマルチエリアホワイトバランス画像処理装置を備えた撮像装置を提供することを目的としている。   The present invention has been made in view of the above-described problems in the prior art. When the entire captured image is divided into a plurality of areas and the color temperature of the light source in each area is estimated, the estimation is performed in the individual areas. A multi-area white balance control device, multi-area white balance control method, multi-area white balance control program, and multi-area white balance control program that can realize color reproduction without a sense of incongruity even if the color temperature of the light source is wrong. Recorded computer, 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 multi-area white balance image And its object is to provide an imaging apparatus having a processing device.

上記目的を達成するため、本発明によるマルチエリアホワイトバランス制御装置は、入力画像を複数のエリアに分割するエリア分割手段と、前記エリア分割手段によって分割されたエリア毎に光源の色温度を推定するエリア光源色温度推定手段と、前記エリア光源色温度推定手段によって推定された、当該エリアの光源の色温度と当該エリアに隣接するエリアの光源の色温度との比較に基づき、当該エリアの推定された光源の色温度に対する調整の要否を判定し、調整が必要であると判定したときに、当該エリアに隣接するエリアの推定された光源の色温度に基づき、当該エリアの推定された光源の色温度を調整するエリア推定光源色温度調整手段と、前記エリア推定光源色温度調整手段によって調整された各エリアの光源の色温度に基づき、前記入力画像全体のホワイトバランス補正ゲインマップを生成するホワイトバランス補正ゲインマップ生成手段とを有することを特徴としている。 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 area light source color temperature estimation means and the area light source color temperature estimation means estimated by the area light source color temperature and the area adjacent to the area are compared with the color temperature of the light source. When it is determined whether or not adjustment is necessary for the color temperature of the light source, and based on the estimated color temperature of the light source in the area adjacent to the area, the estimated light source of the area Based on the color temperature of the area estimated light source color temperature adjusting means for adjusting the color temperature, and the light temperature of each area adjusted by the area estimated light source color temperature adjusting means It is characterized by having a white balance correction gain map generating means for generating a white balance correction gain map of the entire input image.

また、本発明によるマルチエリアホワイトバランス制御方法は、入力画像を複数のエリアに分割し、分割したエリア毎に光源の色温度を推定し、推定した、当該エリアの光源の色温度と当該エリアに隣接するエリアの光源の色温度との比較に基づき、当該エリアの推定した光源の色温度に対する調整の要否を判定し、調整が必要であると判定したときに、当該エリアに隣接するエリアの推定した光源の色温度に基づき、当該エリアの推定した光源の色温度を調整し、調整した各エリアの光源の色温度に基づき、前記入力画像全体のホワイトバランス補正ゲインマップを生成することを特徴としている。 The multi-area white balance control method according to the present invention divides an input image into a plurality of areas, estimates the color temperature of the light source for each divided area, and estimates the color temperature of the light source in the area and the area. Based on the comparison with the color temperature of the light source in the adjacent area, it is determined whether or not the adjustment of the estimated color temperature of the light source in the area is necessary. Adjusting the estimated color temperature of the light source in the area based on the estimated color temperature of the light source, and generating a white balance correction gain map of the entire input image based on the adjusted color temperature of the light source in each area. It is said.

また、本発明によるマルチエリアホワイトバランス制御プログラムを記録したコンピュータは、マルチエリアホワイトバランス制御装置に備わるコンピュータであって、前記コンピュータを、入力画像を複数のエリアに分割するエリア分割手段、前記エリア分割手段によって分割されたエリア毎に光源の色温度を推定するエリア光源色温度推定手段、前記エリア光源色温度推定手段によって推定された、当該エリアの光源の色温度と当該エリアに隣接するエリアの光源の色温度との比較に基づき、当該エリアの推定された光源の色温度に対する調整の要否を判定し、調整が必要であると判定したときに、当該エリアに隣接するエリアの推定された光源の色温度に基づき、当該エリアの推定された光源の色温度を調整するエリア推定光源色温度調整手段、前記エリア推定光源色温度調整手段によって調整された各エリアの光源の色温度に基づき、前記入力画像全体のホワイトバランス補正ゲインマップを生成するホワイトバランス補正ゲインマップ生成手段として機能させるためのマルチエリアホワイトバランス制御プログラムを記録している。 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 Area light source color temperature estimating means for estimating the color temperature of the light source for each area divided by the means, the color temperature of the light source in the area estimated by the area light source color temperature estimating means and the light source in the area adjacent to the area Based on the comparison with the color temperature of the area, it is determined whether or not the adjustment of the color temperature of the estimated light source of the area is necessary, and when it is determined that the adjustment is necessary, the estimated light source of the area adjacent to the area Area estimated light source color temperature that adjusts the estimated color temperature of the light source in the area based on the color temperature of And a white balance correction gain map generation 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 adjusted by the area estimation light source color temperature adjustment unit. A multi-area white balance control program is recorded.

また、本発明によるマルチエリアホワイトバランス制御プログラムは、マルチエリアホワイトバランス制御装置に備わるコンピュータが読み取り可能なマルチエリアホワイトバランス制御プログラムであって、前記コンピュータを、入力画像を複数のエリアに分割するエリア分割手段、前記エリア分割手段によって分割されたエリア毎に光源の色温度を推定するエリア光源色温度推定手段、前記エリア光源色温度推定手段によって推定された、当該エリアの光源の色温度と当該エリアに隣接するエリアの光源の色温度との比較に基づき、当該エリアの推定された光源の色温度に対する調整の要否を判定し、調整が必要であると判定したときに、当該エリアに隣接するエリアの推定された光源の色温度に基づき、当該エリアの推定された光源の色温度を調整するエリア推定光源色温度調整手段、前記エリア推定光源色温度調整手段によって調整された各エリアの光源の色温度に基づき、前記入力画像全体のホワイトバランス補正ゲインマップを生成するホワイトバランス補正ゲインマップ生成手段として機能させることを特徴としている。 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 area dividing unit area light source color temperature estimating means for estimating the color temperature of the light source for each area divided by, estimated by the area light source color temperature estimating means, the color temperature and the area of the area light source Based on the comparison with the color temperature of the light source in the area adjacent to the area, it is determined whether adjustment is necessary for the estimated color temperature of the light source in the area. Based on the color temperature of the estimated light source of the area, the estimated light source of the area Area estimated light source color temperature adjusting means for adjusting 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 adjusted by the area estimated light source color temperature adjusting means It is characterized by functioning as a gain map generating means.

本発明によれば、撮影画像全体を複数のエリアに分割して、それぞれのエリアの色温度を推定する場合、個別のエリアにおいて推定した光源の色温度が間違っていても、違和感の無い色再現を実現することの可能なマルチエリアホワイトバランス制御装置、マルチエリアホワイトバランス制御方法、マルチエリアホワイトバランス制御プログラム、マルチエリアホワイトバランス制御プログラムを記録したコンピュータ、マルチエリアホワイトバランス画像処理装置、マルチエリアホワイトバランス画像処理方法、マルチエリアホワイトバランス画像処理プログラム、マルチエリアホワイトバランス画像処理プログラムを記録したコンピュータ及びマルチエリアホワイトバランス画像処理装置を備えた撮像装置が得られる。   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, even if the color temperature of the light source estimated in the individual area is incorrect, color reproduction without a sense of incongruity 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 A balance image processing method, a multi-area white balance image processing program, a computer recording the multi-area white balance image processing program, and an imaging device including the multi-area white balance image processing apparatus are obtained.

入力画像を複数のエリアに分割した一例を示す説明図である。It is explanatory drawing which shows an example which divided | segmented the input image into the several area. 本発明の一実施形態にかかるマルチエリアホワイトバランス制御装置を備えたデジタルカメラのブロック図である。1 is a block diagram of a digital camera including a multi-area white balance control device according to an embodiment of the present invention. 図2のマルチエリアホワイトバランス制御装置における入力画像からホワイトバランス補正のためのゲインマップを作成するまでの処理手順を示すフローチャートである。3 is a flowchart showing a processing procedure until a gain map for white balance correction is created from 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のマルチエリアホワイトバランス制御装置において、入力画像がエリア分割されエリア光源色温度推定手段により、エリア毎に推定された光源の色温度の一例を示す説明図である。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 area light source color temperature estimation means. 図2のマルチエリアホワイトバランス制御装置において、エリア推定光源色温度調整手段が、図5に示された当該エリアの推定された光源の色温度を調整する際のスキャン方向の一例を示す説明図である。In the multi-area white balance control device of FIG. 2, the area estimated light source color temperature adjusting means is an explanatory diagram showing an example of the scanning direction when adjusting the estimated color temperature of the light source in the area shown in FIG. is there. エリア推定光源色温度調整手段が図6に示す方向にスキャンして、図5に示された当該エリアの推定された光源の色温度を調整した後の、各エリアの光源の色温度を示す説明図である。Explanation showing the color temperature of the light source in each area after the area estimated light source color temperature adjusting means scans in the direction shown in FIG. 6 and adjusts the estimated color temperature of the light source in the area shown in FIG. FIG. 図2のマルチエリアホワイトバランス制御装置において、入力画像がエリア分割されエリア光源色温度推定手段により、エリア毎に推定された光源の色温度の他の例を示す説明図で、局所的に高彩度被写体のエリアがある各エリアの推定された光源の色温度を示す説明図である。In the multi-area white balance control device of FIG. 2, the input image is divided into areas and is an explanatory diagram showing another example of the color temperature of the light source estimated for each area by the area light source color temperature estimation means. It is explanatory drawing which shows the color temperature of the estimated light source of each area with a certain area. エリア推定光源色温度調整手段が図6に示す方向と同じ方向にスキャンして、図8に示された当該エリアの推定された光源の色温度を調整した後の、各エリアの光源の色温度を示す説明図である。The color temperature of the light source in each area after the area estimated light source color temperature adjusting means scans in the same direction as shown in FIG. 6 and adjusts the estimated color temperature of the light source in the area shown in FIG. It is explanatory drawing which shows.

実施例の説明に先立ち、本発明の作用効果について説明する。
本発明は、入力画像を複数のエリアに分割し、分割したエリア毎に光源の色温度を推定し、推定した、当該エリアの光源の色温度と当該エリアに隣接するエリアの光源の色温度との比較に基づき、当該エリアの推定した光源の色温度に対する調整の要否を判定し、調整が必要であると判定したときに、当該エリアに隣接するエリアの推定した光源の色温度に基づき、当該エリアの推定した光源の色温度を調整し、調整した各エリアの光源の色温度に基づき、入力画像全体のホワイトバランス補正ゲインマップを生成するようにしている。
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, the color temperature of the light source is estimated in each divided area was estimated, and the color temperature of the area of the light source adjacent to the color temperature and the area of the area light source On the basis of the comparison , the necessity of adjustment to the color temperature of the estimated light source of the area is determined, and when it is determined that adjustment is necessary, based on the estimated color temperature of the light source of the area adjacent to the area, The estimated color temperature of the light source in the area is adjusted, and a white balance correction gain map of the entire input image is generated based on the adjusted color temperature of the light source in each area.

本発明のように、推定した、当該エリアの光源の色温度と当該エリアに隣接するエリアの推定光源色温度との比較に基づき、当該エリアの推定した光源の色温度に対する調整の要否を判定し、調整が必要であると判定したときに、当該エリアに隣接するエリアの推定した光源の色温度に基づき、当該エリアの推定した光源の色温度を調整すれば、推定した当該エリアの色温度が間違っていても、当該エリアの推定した光源の色温度をより適正な色温度に調整することができる。その結果、各エリアの適正な色温度に調整された光源の色温度に基づいて、入力画像全体のホワイトバランス補正ゲインマップを生成でき、生成したホワイトバランス補正マップに基づいて入力画像全体のホワイトバランスを補正したときに、入力画像全体における当該エリアの色のバランスが適正に保たれ、違和感のない色再現を実現することができる。 As in the present invention it was estimated based on a comparison between the estimated light source color temperature of the area adjacent to the color temperature and the area of the area light source, judging the necessity of adjustment for the color temperature of the light source estimated in the area If the color temperature of the estimated light source in the area is adjusted based on the estimated color temperature of the light source in the area adjacent to the area when it is determined that adjustment is necessary, the estimated color temperature of the area Even if is incorrect, the color temperature of the light source estimated in the area can be adjusted 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 adjusted to an appropriate color temperature of each area, and the white balance of the entire input image can be generated based on the generated white balance correction map. 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.

実施形態
図2は本発明の一実施形態にかかるマルチエリアAWB(オートホワイトバランス)制御装置を備えたデジタルカメラのブロック図である。図2中、一点鎖線で囲んだ部分が本実施形態にかかるマルチエリアホワイトバランス制御装置、二点差線で囲んだ部分がマルチエリアホワイトバランス画像処理装置に対応する構成である。図3は図2のマルチエリアホワイトバランス制御装置における入力画像からホワイトバランス補正のためのゲインマップを作成するまでの処理手順を示すフローチャートである。
Embodiment FIG. 2 is a block diagram of a digital camera provided with a multi-area AWB (auto white balance) control device according to an 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 for creating a gain map for white balance correction from an input image in the multi-area white balance control apparatus of FIG.

本実施形態のマルチエリアホワイトバランス制御装置1は、図2に示すように、エリア分割手段としての画像エリア分割部11と、エリア光源色温度推定手段としてのエリア色温度推定部12と、エリア推定光源色温度調整手段としてのエリア色温度調整部13と、ホワイトバランス補正ゲインマップ生成手段としてのWB(ホワイトバランス)ゲインマップ生成部14を有している。図2中、10はマルチエリアホワイトバランス画像処理装置、15はWB(ホワイトバランス)ゲインマップ生成部14が生成したホワイトバランス補正ゲインマップを記憶するゲインマップ記憶部、16はホワイトバランス処理手段としてのWB(ホワイトバランス)ゲイン補正部、21はレンズ、22はイメージセンサ、23はイメージセンサ22が撮像した画像を記憶する画像記憶部である。なお、本実施形態のマルチエリアホワイトバランス画像処理装置10を備えたデジタルカメラは、図示しない制御部を備えている。制御部は、撮影指示に基づきイメージセンサ22が撮影した画像を画像記憶部23に記憶する機能や、画像記憶部23に記憶されている画像を入力する機能を、夫々別個に備えている。図2の例では、図示しない制御部の撮影指示により、レンズ21を経てイメージセンサ22に結像された画像が撮像されデジタル信号として画像記憶部23に記憶されている。   As shown in FIG. 2, the multi-area white balance control apparatus 1 of the present embodiment includes an image area dividing unit 11 as an area dividing unit, an area color temperature estimating unit 12 as an area light source color temperature estimating unit, and an area estimation. An area color temperature adjusting unit 13 as a light source color temperature adjusting unit and a WB (white balance) gain map generating unit 14 as a white balance correction gain map generating unit are provided. In FIG. 2, 10 is a multi-area white balance image processing device, 15 is a gain map storage unit that stores a white balance correction gain map generated by a WB (white balance) gain map generation unit 14, and 16 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.

エリア色温度推定部12は、画像エリア分割部11により分割されたブロック毎に光源の色温度を推定する。なお、光源の色温度の推定方法については後述する。   The 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. A method for estimating the color temperature of the light source will be described later.

エリア色温度調整部13は、エリア色温度推定部12によって推定された、当該ブロックの光源の色温度と当該ブロックに隣接する隣接ブロックの光源の色温度との比較に基づき、当該エリアの推定された光源の色温度に対する調整の要否を判定し、調整が必要であると判定したときに、当該エリアに隣接するエリアの推定された光源の色温度に基づき、当該ブロックの推定された光源の色温度を調整する。なお、当該ブロックの推定された光源の色温度の調整方法については後述する。 The area color temperature adjustment unit 13 estimates the area based on the comparison between the color temperature of the light source of the block estimated by the area color temperature estimation unit 12 and the color temperature of the light source of the adjacent block adjacent to the block. When it is determined that adjustment is necessary for the color temperature of the light source and it is determined that adjustment is necessary, the estimated light source of the block is determined based on the estimated color temperature of the light source adjacent to the area. Adjust the color temperature. A method for adjusting the color temperature of the light source estimated for the block will be described later.

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

WBゲイン補正部16は、WBゲインマップ生成部14によって生成されたホワイトバランス補正ゲインマップに基づき、入力画像全体のホワイトバランスを補正する。   The WB gain correction unit 16 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 14.

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

まず、図示しないデジタルカメラの制御部が、画像記憶部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 (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.

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

エリア色温度推定部12は、36個のブロック全てに対して、上記方法を用いて光源の色温度の推定を行う。これにより、画像全体に対して、例えば、図5に示すような光源の色温度の推定結果が得られる。   The area color temperature estimation unit 12 estimates the color temperature of the light source by 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が推定した大半のブロックにおける光源の色温度は、正しいものとなるが、一部のブロックでは間違ったものとなりうる。例えば、図5の例における(1,4)ブロックの画像は、殆どの被写体が室外の芝生であるため、光源の色温度を蛍光灯(“C”)に間違えて推定されている。ブロックのサイズが小さいと、局所的に同じ色の被写体になり易く、その結果、エリア色温度推定部12による光源の色温度の推定も間違い易くなる。   When the color temperatures of the light sources of all the blocks are estimated in this way, the color temperatures of the light sources in most blocks estimated by the area color temperature estimation unit 12 are correct compared to the actual visual result. Some blocks can be wrong. For example, in the image of (1, 4) block in the example of FIG. 5, since most of the subject is an outdoor lawn, the color temperature of the light source is estimated by mistake with a fluorescent lamp (“C”). If the block size is small, the subject is likely to be a subject of the same color locally, and as a result, the estimation of the color temperature of the light source by the area color temperature estimation unit 12 is likely to be erroneous.

エリア色温度推定部12による全てのブロックに対する光源の色温度の推定処理が終了後、エリア色温度調整部13が、図5に示した推定された光源の色温度に対して、例えば、図6に示すように、画面の左上から右下までスキャンしながら、当該ブロックとその周辺の縦横3×3の範囲内に位置するブロックの推定された光源の色温度と比較することによって、当該ブロックの推定された光源の色温度に対する調整の要否を判定し、調整が必要であると判定したときに、当該ブロックの周辺の縦横3×3の範囲内に位置するブロックの推定された光源の色温度に基づき、当該ブロックの推定された光源の色温度を調整する(ステップS4)。   After the area color temperature estimation unit 12 finishes estimating the color temperature of the light source for all the blocks, the area color temperature adjustment unit 13 performs, for example, FIG. 6 on the estimated color temperature of the light source shown in FIG. As shown in FIG. 3, by scanning from the upper left to the lower right of the screen, the block is compared with the estimated color temperature of the light source of the block located in the vertical and horizontal 3 × 3 range around the block. The necessity of adjustment for the estimated color temperature of the light source is determined, and when it is determined that the adjustment is necessary, the color of the estimated light source of the block located within the vertical and horizontal 3 × 3 range around the block Based on the temperature, the estimated color temperature of the light source of the block is adjusted (step S4).

エリア色温度調整部13による、当該ブロックの推定された光源の色温度の調整は、詳しくは、例えば、次のような調整基準に従って行う。
例えば、当該エリアの推定された光源の色温度が、当該エリアに隣接するエリアの推定された光源の色温度のいずれかと異なる場合に、当該エリアの推定された光源の色温度に対する調整が必要であると判定し、当該エリアの推定された光源の色温度を当該エリアに隣接するエリアの推定された光源の色温度の多数値に修正する(調整基準1)。
また、例えば、当該エリアの推定された光源の色温度が、当該エリアに隣接するエリアの推定された光源の色温度のいずれとも異なる場合に、当該エリアの推定された光源の色温度に対する調整が必要であると判定し、当該エリアの推定された光源の色温度を当該エリアに隣接するエリアの推定された光源の色温度の多数値に修正する(調整基準2)。
また、例えば、当該エリアの推定された光源の色温度が、当該エリアに隣接する上、下、左、右のエリアの推定された光源の色温度のいずれとも異なる場合に、当該エリアの推定された光源の色温度に対する調整が必要であると判定し、当該エリアの推定された光源の色温度を当該エリアに隣接する上、下、左、右のエリアの推定された光源の色温度の多数値に修正する(調整基準3)。
なお、本実施形態においては、便宜上、エリア色温度調整部13は、調整基準3に従って当該ブロックの色温度の推定された光源の色温度の調整・修正を行うように構成されているものとする。
The adjustment of the color temperature of the light source estimated for the block by the area color temperature adjustment unit 13 is performed according to the following adjustment criteria, for example.
For example, if the estimated color temperature of the light source in the area is different from any of the estimated color temperatures of the light sources adjacent to the area, adjustment to the estimated color temperature of the light source in the area is necessary. It is determined that there is, and the estimated color temperature of the light source in the area is corrected to a multiple value of the estimated color temperature of the light source in the area adjacent to the area (adjustment criterion 1).
Further, for example, when the estimated color temperature of the light source in the area is different from any of the estimated color temperatures of the light sources adjacent to the area, the adjustment to the estimated color temperature of the light source in the area is performed. It is determined that it is necessary, and the estimated color temperature of the light source in the area is corrected to the multiple values of the estimated color temperature of the light source in the area adjacent to the area (adjustment criterion 2).
Further, for example, when the estimated color temperature of the light source in the area is different from any of the estimated color temperatures of the light sources adjacent to the area in the upper, lower, left, and right areas, the estimated color area of the area is estimated. It is determined that adjustment is necessary for the color temperature of the light source, and the estimated color temperature of the light source in the area is set to be larger than the estimated color temperature of the light source in the upper, lower, left, and right areas adjacent to the area. Correct the value (Adjustment Criteria 3).
In this embodiment, for the sake of convenience, the area color temperature adjustment unit 13 is configured to adjust / correct the color temperature of the light source in which the color temperature of the block is estimated in accordance with the adjustment standard 3. .

図6の例において、エリア色温度調整部13は、(4,1)のブロックの推定された光源の色温度が“D”(ミックス光)となっているが、その上下左右のブロックの推定された光源の色温度が全て“D”(ミックス光)と異なる“B”(日陰)であるため、(4,1)のブロックの光源の色温度の推定が間違っているものと判断し、(4,1)のブロックの推定された光源の色温度に対する調整が必要であると判定する。そして、上下左右のブロックの推定された光源の色温度の多数値が“B”(日陰)であるため、エリア(4,1)の色温度“D”(ミックス光)を“B”(日陰)に修正する。
また、エリア色温度調整部13は、(2,3)のブロックの推定された光源の色温度が“B”(日陰)となっているが、その上下左右のブロックの推定された光源の色温度が全て“B”(日陰)と異なる“A”(日向)であるため、(2,3)のブロックの光源の色温度の推定が間違っているものと判断し、(2,3)のブロックの推定された光源の色温度に対する調整が必要であると判定する。そして、上下左右のブロックの推定された光源の色温度の多数値が“A”(日向)であるため、エリア(2,3)の色温度“B”(日陰)を“A”(日向)に修正する。
また、エリア色温度調整部13は、(0,4)のブロックの推定された光源の色温度が“D”(ミックス光)となっているが、その上下左右のブロックの推定された光源の色温度が全て“D”と異なるため、(0,4)のブロックの光源の色温度の推定が間違っているものと判断し、(0,4)のブロックの推定された光源の色温度に対する調整が必要であると判定する。そして、上下左右のブロックの推定された光源の色温度の多数値が“A”(日向)であるため、エリア(0,4)の色温度“D”(ミックス光)を“A”(日向)に修正する。
また、エリア色温度調整部13は、(1,4)のブロックの推定された光源の色温度が“C”(蛍光灯)となっているが、その上下左右のブロックの推定された光源の色温度は、全て“C”(蛍光灯)と異なるため、(1,4)のブロックの光源の色温度の推定が間違っているものと判断し、(1,4)のブロックの推定された光源の色温度に対する調整が必要であると判定する。そして、上下左右のブロックの推定された光源の色温度の多数値が“A”(日向)であるため、エリア(1,4)の色温度“C”(蛍光灯)を“A”(日向)に修正する。
その結果、画像全体の光源の色温度が図7に示すように調整される。
In the example of FIG. 6, the area color temperature adjusting unit 13 estimates the color temperature of the estimated light source of the block (4, 1) as “D” (mixed light). Since the color temperature of the light source is “B” (shade) different from “D” (mixed light), it is determined that the estimation of the color temperature of the light source of the block (4, 1) is wrong, It is determined that adjustment to the estimated color temperature of the light source in the block (4, 1) is necessary. Since the estimated multiple color temperature values of the light source in the upper, lower, left and right blocks are “B” (shade), the color temperature “D” (mixed light) of the area (4, 1) is changed to “B” (shade). )
The area color temperature adjustment unit 13 has the estimated color temperature of the light source of the block (2, 3) as “B” (shade), but the estimated color of the light source of the upper, lower, left and right blocks. Since all the temperatures are “A” (Hyuga) different from “B” (shade), it is judged that the estimation of the color temperature of the light source of the block of (2, 3) is wrong. It is determined that the block needs to be adjusted for the estimated light source color temperature. Then, since the majority value of the estimated color temperature of the light source of the upper, lower, left and right blocks is “A” (Hyuga), the color temperature “B” (shade) of the area (2, 3) is set to “A” (Hyuga). To correct.
Further, the area color temperature adjustment unit 13 has the estimated color temperature of the light source of the (0, 4) block as “D” (mixed light). Since all the color temperatures are different from “D”, it is judged that the estimation of the color temperature of the light source of the block (0, 4) is wrong, and the color temperature of the estimated light source of the block (0, 4) It is determined that adjustment is necessary. Then, since the majority value of the estimated color temperature of the light source of the upper, lower, left and right blocks is “A” (Hyuga), the color temperature “D” (mixed light) of the area (0, 4) is set to “A” (Hyuga). )
Further, the area color temperature adjustment unit 13 has the estimated color temperature of the light source of the block (1, 4) as “C” (fluorescent light), but the estimated light source of the upper, lower, left, and right blocks. Since the color temperatures are all different from “C” (fluorescent lamp), it is judged that the color temperature of the light source of the block (1, 4) is wrong, and the block of (1, 4) is estimated. It is determined that adjustment to the color temperature of the light source is necessary. Then, since the majority value of the estimated color temperature of the light source of the upper, lower, left and right blocks is “A” (Hyuga), the color temperature “C” (fluorescent light) of the area (1, 4) is changed to “A” (Hyuga). )
As a result, the color temperature of the light source of the entire image is adjusted as shown in FIG.

ところで、撮影する被写体によっては、撮影画面内に局所的に高彩度の照射エリアが存在する場合が起こりえる。
そのような場合におけるエリア色温度調整部13による当該ブロックの色温度の推定された光源の色温度の調整・修正の一例を図8及び図9を用いて説明する。
図8の例では、局所的に高彩度被写体のエリアがあるため、エリア(4,1)や、エリア(0,4)の色温度の推定ができない。図8の例では、これらの光源の色温度を推定できないエリアを未知の色温度“X”とする。
続いて、図6の例と同様に、画面の左上から右下までスキャンするように、当該ブロックとその上下左右の4つのブロックの推定された光源の色温度と比較することで、当該ブロックの推定された光源の色温度に対する調整の要否を判定し、調整が必要であると判定したときに、当該ブロックの上下左右の4つのブロックの推定された光源の色温度に基づき、当該ブロックの推定された光源の色温度を調整・修正する。その結果、画像全体の光源の色温度が図9のよう出力される。
By the way, depending on the subject to be photographed, there may be a case where an irradiation area with high saturation locally exists in the photographing screen.
An example of adjustment / correction of the color temperature of the light source in which the color temperature of the block is estimated by the area color temperature adjustment unit 13 in such a case will be described with reference to FIGS.
In the example of FIG. 8, since there is a local area of a highly saturated subject, the color temperature of the area (4, 1) or the area (0, 4) cannot be estimated. In the example of FIG. 8, the area where the color temperature of these light sources cannot be estimated is defined as an unknown color temperature “X”.
Subsequently, as in the example of FIG. 6, the color temperature of the block is compared with the estimated light source color temperature of the block and the four blocks above, below, left, and right so as to scan from the upper left to the lower right of the screen. When it is determined whether or not adjustment is necessary for the estimated color temperature of the light source, and when it is determined that adjustment is necessary, based on the estimated color temperature of the light source of the upper, lower, left, and right blocks of the block, Adjust / correct the estimated color temperature of the light source. As a result, the color temperature of the light source of the entire image is output as shown in FIG.

エリア色温度調整部13による推定された光源の色温度の調整の後、WBゲインマップ生成部14が、図7に示す調整された各ブロックの光源の色温度に基づき、図示しない予め決められている光源の色温度に対応するR、Bのゲインのデータを参照にして、R、Bに対応するWB補正ゲインマップを生成する(ステップS5)。WBゲインマップ生成部14が生成したWB補正ゲインマップは、ゲインマップ記憶部15に記憶(保存)される(ステップS6)。   After the adjustment of the estimated color temperature of the light source by the area color temperature adjustment unit 13, the WB gain map generation unit 14 is determined in advance based on the adjusted color temperature of the light source of each block shown in FIG. Referring to the R and B gain data corresponding to the color temperature of the light source, a WB correction gain map corresponding to R and B is generated (step S5). The WB correction gain map generated by the WB gain map generation unit 14 is stored (saved) in the gain map storage unit 15 (step S6).

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

本実施形態のマルチエリアホワイトバランス制御装置1及びマルチエリアホワイトバランス制御方法によれば、推定した、当該エリアの光源の色温度と当該エリアに隣接するエリアの光源の色温度との比較に基づき、当該エリアの推定した光源の色温度に対する調整の要否を判定し、調整が必要であると判定したときに、当該エリアに隣接するエリアの推定した光源の色温度に基づき、当該エリアの推定した光源の色温度を調整するようにしたので、推定した当該エリアの色温度が間違っていても、当該エリアの推定した光源の色温度をより適正な色温度に調整することができる。その結果、各エリアの適正な色温度に調整された光源の色温度に基づいて、入力画像全体のホワイトバランス補正ゲインマップを生成でき、生成したホワイトバランス補正マップに基づいて入力画像全体のホワイトバランスを補正したときに、入力画像全体における当該エリアの色のバランスが適正に保たれ、違和感のない色再現を実現することができる。 According to the multi-area white balance control device 1 and multi-area white balance control method of the present embodiment, based on the comparison between the estimated color temperature of the light source of the area and the color temperature of the light source of the area adjacent to the area, When it is determined whether or not adjustment is necessary for the estimated color temperature of the light source estimated in the area, the area estimated based on the estimated color temperature of the light source in the area adjacent to the area. Since the color temperature of the light source is adjusted, even if the estimated color temperature of the area is incorrect, the estimated color temperature of the light source of the area can be adjusted 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 adjusted to an appropriate color temperature of each area, and the white balance of the entire input image can be generated based on the generated white balance correction map. 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.

なお、本実施形態のマルチエリアホワイトバランス画像処理装置10においては、エリア分割手段としての画像エリア分割部11が、入力画像を縦横夫々の直線で区切られた形状及び面積の等しいブロックに分割した例で説明したが、本発明のマルチエリアホワイトバランス画像処理装置におけるエリア分割手段が分割する各エリアの形状・大きさは本実施形態に限定されるものではなく、例えば、三角形状、湾曲形状等どのような形状でもよいし、各エリアの大きさが異なっていてもよい。   In the multi-area white balance image processing apparatus 10 of the present embodiment, an example in which the image area dividing unit 11 as an area dividing unit divides an input image into blocks having the same shape and area divided by vertical and horizontal straight lines. As described above, the shape and size of each area divided by the area dividing unit in the multi-area white balance image processing apparatus of the present invention is not limited to this embodiment. Such a shape may be sufficient and the size of each area may differ.

また、本実施形態のマルチエリアホワイトバランス制御装置1においては、エリア推定光源色温度調整手段としてのエリア色温度調整部13が当該ブロックの色温度の推定された光源の色温度の調整を行う際に用いる調整基準として、調整基準1〜3を示したが、調整基準は、これらに限定されるものではなく、例えば、次の調整基準4〜6を用いても良い。
例えば、当該エリアの推定された光源の色温度が、当該エリアに隣接するエリアの推定された光源の色温度のいずれかと異なる場合に、当該エリアの推定された光源の色温度に対する調整が必要であると判定し、当該エリアの推定された光源の色温度を当該エリアに隣接するエリアを含む、当該エリアを基準とする所定半径範囲内のエリアの推定された光源の色温度の多数値に修正する(調整基準4)。
また、例えば、当該エリアの推定された光源の色温度が、当該エリアに隣接するエリアの推定された光源の色温度のいずれとも異なる場合に、当該エリアの推定された光源の色温度に対する調整が必要であると判定し、当該エリアの推定された光源の色温度を当該エリアに隣接するエリアを含む、当該エリアを基準とする所定半径範囲内のエリアの推定された光源の色温度の多数値に修正する(調整基準5)。
また、例えば、当該エリアの推定された光源の色温度が、当該エリアに隣接する上、下、左、右のエリアの推定された光源の色温度のいずれとも異なる場合に、当該エリアの推定された光源の色温度に対する調整が必要であると判定し、当該エリアの推定された光源の色温度を当該エリアに隣接する上、下、左、右のエリアを含む、当該エリアを基準とする所定半径範囲内のエリアの推定された光源の色温度の多数値に修正する(調整基準6)。
In the multi-area white balance control device 1 of the present embodiment, when the area color temperature adjusting unit 13 as the area estimated light source color temperature adjusting unit adjusts the color temperature of the light source whose color temperature is estimated for the block. Although the adjustment standards 1 to 3 are shown as the adjustment standards used in the above, the adjustment standards are not limited to these, and for example, the following adjustment standards 4 to 6 may be used.
For example, if the estimated color temperature of the light source in the area is different from any of the estimated color temperatures of the light sources adjacent to the area, adjustment to the estimated color temperature of the light source in the area is necessary. It is determined that there is, and the estimated color temperature of the light source in the area is corrected to the multiple values of the estimated color temperature of the light source in an area within a predetermined radius range including the area adjacent to the area. (Adjustment criterion 4).
Further, for example, when the estimated color temperature of the light source in the area is different from any of the estimated color temperatures of the light sources adjacent to the area, the adjustment to the estimated color temperature of the light source in the area is performed. Multiple values of the estimated light source color temperature of the area within a predetermined radius range with the area as a reference, including the area adjacent to the area, the color temperature of the estimated light source of the area determined to be necessary (Adjustment criterion 5).
Further, for example, when the estimated color temperature of the light source in the area is different from any of the estimated color temperatures of the light sources adjacent to the area in the upper, lower, left, and right areas, the estimated color area of the area is estimated. It is determined that adjustment to the color temperature of the light source is necessary, and the color temperature of the estimated light source of the area is determined based on the area including the upper, lower, left, and right areas adjacent to the area. Correction is made to the multiple values of the estimated color temperature of the light source in the area within the radius range (adjustment criterion 6).

さらに、本実施形態のマルチエリアホワイトバランス画像処理装置10は、コンピュータを画像エリア分割部11(エリア分割手段)、エリア色温度推定部12(エリア光源色温度推定手段)、エリア色温度調整部13(エリア推定光源色温度調整手段)、WBゲインマップ生成部14(ホワイトバランス補正ゲインマップ生成手段)、WBゲイン補正部16(ホワイトバランス処理手段)として機能させるためのマルチエリアホワイトバランス画像処理プログラムを内蔵するハードディスクに記録したコンピュータで構成してもよい。
さらに、あるいは、本実施形態のマルチエリアホワイトバランス画像処理装置10は、コンピュータを画像エリア分割部11(エリア分割手段)、エリア色温度推定部12(エリア光源色温度推定手段)、エリア色温度調整部13(エリア推定光源色温度調整手段)、WBゲインマップ生成部14(ホワイトバランス補正ゲインマップ生成手段)、WBゲイン補正部16(ホワイトバランス処理手段)として機能させるためのマルチエリアホワイトバランス画像処理プログラムを記録した、例えば、CD−ROM等のコンピュータ読み取り可能な媒体で構成してもよい。
Further, the multi-area white balance image processing apparatus 10 according to the present embodiment includes a computer with an image area dividing unit 11 (area dividing unit), an area color temperature estimating unit 12 (area light source color temperature estimating unit), and an area color temperature adjusting unit 13. A multi-area white balance image processing program for functioning as (area estimated light source color temperature adjusting means), WB gain map generating section 14 (white balance correction gain map generating means), and WB gain correcting section 16 (white balance processing means). You may comprise with the computer recorded on the internal hard disk.
In addition, the multi-area white balance image processing apparatus 10 according to the present embodiment includes a computer with an image area dividing unit 11 (area dividing unit), an area color temperature estimating unit 12 (area light source color temperature estimating unit), and area color temperature adjustment. Multi-area white balance image processing for functioning as a unit 13 (area estimation light source color temperature adjustment unit), a WB gain map generation unit 14 (white balance correction gain map generation unit), and a WB gain correction unit 16 (white balance processing unit) You may comprise with the computer-readable medium which recorded the program, for example, CD-ROM.

本発明のマルチエリアホワイトバランス制御装置、マルチエリアホワイトバランス制御方法、マルチエリアホワイトバランス制御プログラム、マルチエリアホワイトバランス制御プログラムを記録したコンピュータ、マルチエリアホワイトバランス画像処理装置、マルチエリアホワイトバランス画像処理方法、マルチエリアホワイトバランス画像処理プログラム、マルチエリアホワイトバランス画像処理プログラムを記録したコンピュータ及びマルチエリアホワイトバランス画像処理装置を備えた撮像装置は、複数の異種光源により撮影を行った所謂ミックス光源画像のホワイトバランスを補正することが求められる分野に有用である。   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 エリア分割手段(画像エリア分割部)
12 エリア光源色温度推定手段(エリア色温度推定部)
13 エリア推定光源色温度調整手段(エリア色温度調整部)
14 ホワイトバランス補正ゲインマップ生成手段(WBゲインマップ生成部)
15 ゲインマップ記憶部
16 ホワイトバランス処理手段(WBゲイン補正部)
21 レンズ
22 イメージセンサ
23 画像記憶部
DESCRIPTION OF SYMBOLS 1 Multi area white balance control apparatus 10 Multi area white balance image processing apparatus 11 Area division means (image area division part)
12 Area light source color temperature estimation means (area color temperature estimation unit)
13 Area estimated light source color temperature adjusting means (area color temperature adjusting unit)
14 White balance correction gain map generation means (WB gain map generation unit)
15 Gain map storage unit 16 White balance processing means (WB gain correction unit)
21 Lens 22 Image sensor 23 Image storage unit

Claims (11)

入力画像を複数のエリアに分割するエリア分割手段と、
前記エリア分割手段によって分割されたエリア毎に光源の色温度を推定するエリア光源色温度推定手段と、
前記エリア光源色温度推定手段によって推定された、当該エリアの光源の色温度と当該エリアに隣接するエリアの光源の色温度との比較に基づき、当該エリアの推定された光源の色温度に対する調整の要否を判定し、調整が必要であると判定したときに、当該エリアに隣接するエリアの推定された光源の色温度に基づき、当該エリアの推定された光源の色温度を調整するエリア推定光源色温度調整手段と、
前記エリア推定光源色温度調整手段によって調整された各エリアの光源の色温度に基づき、前記入力画像全体のホワイトバランス補正ゲインマップを生成するホワイトバランス補正ゲインマップ生成手段と
を有することを特徴とするマルチエリアホワイトバランス制御装置。
Area dividing means for dividing the input image into a plurality of areas;
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;
Based on the comparison between the color temperature of the light source of the area estimated by the area light source color temperature estimation means and the color temperature of the light source of the area adjacent to the area, the adjustment of the estimated color temperature of the light source of the area is performed. Area estimation light source that adjusts the color temperature of the estimated light source of the area based on the color temperature of the estimated light source of the area adjacent to the area when it is determined whether adjustment is necessary. Color temperature adjusting 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 of each area adjusted by the area estimation light source color temperature adjustment means. Multi-area white balance control device.
前記エリア推定光源色温度調整手段は、前記エリア光源色温度推定手段によって推定された、当該エリアの光源の色温度が、当該エリアに隣接するエリアの推定された光源の色温度のいずれとも異なる場合に、当該エリアの推定された光源の色温度に対する調整が必要であると判定し、当該エリアの推定された光源の色温度を当該エリアに隣接するエリアの推定された光源の色温度の多数値に修正することを特徴とする請求項1に記載のマルチエリアホワイトバランス制御装置。   The area estimated light source color temperature adjusting means, when the color temperature of the light source in the area estimated by the area light source color temperature estimating means is different from any of the estimated light temperatures of the areas adjacent to the area In addition, it is determined that the adjustment of the color temperature of the estimated light source of the area is necessary, and the color temperature of the estimated light source of the area is set to a plurality of values of the color temperature of the estimated light source of the area adjacent to the area. The multi-area white balance control device according to claim 1, wherein the multi-area white balance control device is corrected to the following. 前記エリア推定光源色温度調整手段は、前記エリア光源色温度推定手段によって推定された、当該エリアの光源の色温度が、当該エリアに隣接する上、下、左、右のエリアの推定された光源の色温度のいずれとも異なる場合に、当該エリアの推定された光源の色温度に対する調整が必要であると判定し、当該エリアの推定された光源の色温度を当該エリアに隣接する上、下、左、右のエリアの推定された光源の色温度の多数値に修正することを特徴とする請求項1に記載のマルチエリアホワイトバランス制御装置。   The area estimated light source color temperature adjusting means is the estimated light source of the upper, lower, left, and right areas adjacent to the area in which the color temperature of the light source of the area is estimated by the area light source color temperature estimating means. If it is different from any of the color temperatures of the area, it is determined that an adjustment to the color temperature of the estimated light source of the area is necessary, and the color temperature of the estimated light source of the area is adjacent to the area above, below, 2. The multi-area white balance control apparatus according to claim 1, wherein the multi-area white balance control device corrects the estimated color temperature of the light source in the left and right areas to a plurality of values. 前記エリア推定光源色温度調整手段は、前記エリア光源色温度推定手段によって推定された、当該エリアの光源の色温度と当該エリアに隣接するエリアを含む、当該エリアを基準とする所定半径範囲内のエリアの光源の色温度との比較に基づき、当該エリアの推定された光源の色温度に対する調整の要否を判定し、調整が必要であると判定したときに、当該エリアに隣接するエリアに隣接するエリアを含む、当該エリアを基準とする所定半径範囲内のエリアの推定された光源の色温度に基づき、当該エリアの推定された光源の色温度を調整することを特徴とする請求項1に記載のマルチエリアホワイトバランス制御装置。 The area estimated light source color temperature adjusting means includes a color temperature of the light source of the area estimated by the area light source color temperature estimating means and an area adjacent to the area within a predetermined radius range based on the area. Based on the comparison with the color temperature of the light source of the area, it is determined whether or not adjustment is necessary for the estimated color temperature of the light source of the area, and when it is determined that adjustment is necessary, it is adjacent to the area adjacent to the area. The color temperature of the estimated light source in the area is adjusted based on the estimated color temperature of the light source in an area within a predetermined radius range with the area as a reference, including the area to be operated. The multi-area white balance control device described. 前記エリア推定光源色温度調整手段は、前記エリア光源色温度推定手段によって推定された、当該エリアの光源の色温度が、当該エリアに隣接するエリアの推定された光源の色温度のいずれとも異なる場合に、当該エリアの推定された光源の色温度に対する調整が必要であると判定し、当該エリアの推定された光源の色温度を当該エリアに隣接するエリアを含む、当該エリアを基準とする所定半径範囲内のエリアの推定された光源の色温度の多数値に修正することを特徴とする請求項4に記載のマルチエリアホワイトバランス制御装置。   The area estimated light source color temperature adjusting means, when the color temperature of the light source in the area estimated by the area light source color temperature estimating means is different from any of the estimated light temperatures of the areas adjacent to the area In addition, it is determined that adjustment to the color temperature of the estimated light source in the area is necessary, and the color temperature of the estimated light source in the area includes a predetermined radius including the area adjacent to the area. 5. The multi-area white balance control apparatus according to claim 4, wherein the multi-area white balance control apparatus corrects the estimated color temperature of the light source in the area within the range to a plurality of values. 前記エリア推定光源色温度調整手段は、前記エリア光源色温度推定手段によって推定された、当該エリアの光源の色温度が、当該エリアに隣接する上、下、左、右のエリアの推定された光源の色温度のいずれとも異なる場合に、当該エリアの推定された光源の色温度に対する調整が必要であると判定し、当該エリアの推定された光源の色温度を当該エリアに隣接する上、下、左、右のエリアを含む、当該エリアを基準とする所定半径範囲内のエリアの推定された光源の色温度の多数値に修正することを特徴とする請求項4に記載のマルチエリアホワイトバランス制御装置。   The area estimated light source color temperature adjusting means is the estimated light source of the upper, lower, left, and right areas adjacent to the area in which the color temperature of the light source of the area is estimated by the area light source color temperature estimating means. If it is different from any of the color temperatures of the area, it is determined that an adjustment to the color temperature of the estimated light source of the area is necessary, and the color temperature of the estimated light source of the area is adjacent to the area above, below, 5. The multi-area white balance control according to claim 4, wherein the multi-area white balance control is corrected to a multiple value of the estimated color temperature of the light source in an area within a predetermined radius range including the left and right areas as a reference. apparatus. 請求項1〜6のいずれかに記載のマルチエリアホワイトバランス制御装置と、
前記マルチエリアホワイトバランス制御装置に備わる前記ホワイトバランス補正ゲインマップ生成手段によって生成された、各エリアのホワイトバランス補正ゲインに基づき、該マルチエリアホワイトバランス制御装置の前記エリア分割手段が分割対象とした前記入力画像全体のホワイトバランス処理を行うホワイトバランス処理手段と
を備えることを特徴とするマルチエリアホワイトバランス画像処理装置。
The multi-area white balance control device according to any one of claims 1 to 6,
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.
請求項7に記載のマルチエリアホワイトバランス画像処理装置を備えた撮像装置。   An imaging apparatus comprising the multi-area white balance image processing apparatus according to claim 7. 入力画像を複数のエリアに分割し、
分割したエリア毎に光源の色温度を推定し、
推定した、当該エリアの光源の色温度と当該エリアに隣接するエリアの光源の色温度との比較に基づき、当該エリアの推定した光源の色温度に対する調整の要否を判定し、調整が必要であると判定したときに、当該エリアに隣接するエリアの推定した光源の色温度に基づき、当該エリアの推定した光源の色温度を調整し、
調整した各エリアの光源の色温度に基づき、前記入力画像全体のホワイトバランス補正ゲインマップを生成
することを特徴とするマルチエリアホワイトバランス制御方法。
Divide the input image into multiple areas,
Estimate the color temperature of the light source for each divided area,
Estimated, based on a comparison of the color temperature of the area of the light source adjacent to the color temperature and the area of the area light source, and determines the necessity of adjustment for the color temperature of the light source estimated in the area, it is necessary to adjust When it is determined that there is, based on the estimated color temperature of the light source in the area adjacent to the area, adjust the estimated color temperature of the light source in the area,
A multi-area white balance control method that generates a white balance correction gain map of the entire input image based on the adjusted color temperature of the light source in each area.
マルチエリアホワイトバランス制御装置に備わるコンピュータであって、
前記コンピュータを、
入力画像を複数のエリアに分割するエリア分割手段、
前記エリア分割手段によって分割されたエリア毎に光源の色温度を推定するエリア光源色温度推定手段、
前記エリア光源色温度推定手段によって推定された、当該エリアの光源の色温度と当該エリアに隣接するエリアの光源の色温度との比較に基づき、当該エリアの推定された光源の色温度に対する調整の要否を判定し、調整が必要であると判定したときに、当該エリアに隣接するエリアの推定された光源の色温度に基づき、当該エリアの推定された光源の色温度を調整するエリア推定光源色温度調整手段、
前記エリア推定光源色温度調整手段によって調整された各エリアの光源の色温度に基づき、前記入力画像全体のホワイトバランス補正ゲインマップを生成するホワイトバランス補正ゲインマップ生成手段
として機能させるためのマルチエリアホワイトバランス制御プログラムを記録したコンピュータ。
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;
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,
Based on the comparison between the color temperature of the light source of the area estimated by the area light source color temperature estimation means and the color temperature of the light source of the area adjacent to the area, the adjustment of the estimated color temperature of the light source of the area is performed. Area estimation light source that adjusts the color temperature of the estimated light source of the area based on the color temperature of the estimated light source of the area adjacent to the area when it is determined whether adjustment is necessary. Color temperature adjusting means,
Multi-area white for functioning as 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 of each area adjusted by the area estimation light source color temperature adjustment means A computer that records a balance control program.
マルチエリアホワイトバランス制御装置に備わるコンピュータが読み取り可能なマルチエリアホワイトバランス制御プログラムであって、
前記コンピュータを、
入力画像を複数のエリアに分割するエリア分割手段、
前記エリア分割手段によって分割されたエリア毎に光源の色温度を推定するエリア光源色温度推定手段、
前記エリア光源色温度推定手段によって推定された、当該エリアの光源の色温度と当該エリアに隣接するエリアの光源の色温度との比較に基づき、当該エリアの推定された光源の色温度に対する調整の要否を判定し、調整が必要であると判定したときに、当該エリアに隣接するエリアの推定された光源の色温度に基づき、当該エリアの推定された光源の色温度を調整するエリア推定光源色温度調整手段、
前記エリア推定光源色温度調整手段によって調整された各エリアの光源の色温度に基づき、前記入力画像全体のホワイトバランス補正ゲインマップを生成するホワイトバランス補正ゲインマップ生成手段
として機能させるためのマルチエリアホワイトバランス制御プログラム。
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;
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,
Based on the comparison between the color temperature of the light source of the area estimated by the area light source color temperature estimation means and the color temperature of the light source of the area adjacent to the area, the adjustment of the estimated color temperature of the light source of the area is performed. Area estimation light source that adjusts the color temperature of the estimated light source of the area based on the color temperature of the estimated light source of the area adjacent to the area when it is determined whether adjustment is necessary. Color temperature adjusting means,
Multi-area white for functioning as 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 of each area adjusted by the area estimation light source color temperature adjustment means Balance control program.
JP2013232350A 2013-11-08 2013-11-08 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 Expired - Fee Related JP6196882B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013232350A JP6196882B2 (en) 2013-11-08 2013-11-08 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
JP2013232350A JP6196882B2 (en) 2013-11-08 2013-11-08 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
JP2015095681A JP2015095681A (en) 2015-05-18
JP6196882B2 true JP6196882B2 (en) 2017-09-13

Family

ID=53197838

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013232350A Expired - Fee Related JP6196882B2 (en) 2013-11-08 2013-11-08 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) JP6196882B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108307125A (en) * 2018-02-08 2018-07-20 腾讯科技(深圳)有限公司 A kind of image-pickup method, device and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6274931B2 (en) 2014-03-19 2018-02-07 オリンパス株式会社 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
CN110192388A (en) * 2016-12-01 2019-08-30 夏普株式会社 Image processing device, digital camera, image processing program, and recording medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4487342B2 (en) * 1999-09-28 2010-06-23 株式会社ニコン Digital camera
JP4955235B2 (en) * 2005-07-29 2012-06-20 イーストマン コダック カンパニー Digital camera and gain calculation method
JP5092565B2 (en) * 2007-06-19 2012-12-05 株式会社ニコン Imaging apparatus, image processing apparatus, and program
JP5321163B2 (en) * 2009-03-12 2013-10-23 株式会社リコー Imaging apparatus and imaging method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108307125A (en) * 2018-02-08 2018-07-20 腾讯科技(深圳)有限公司 A kind of image-pickup method, device and storage medium
CN108307125B (en) * 2018-02-08 2021-10-08 腾讯科技(深圳)有限公司 Image acquisition method, device and storage medium

Also Published As

Publication number Publication date
JP2015095681A (en) 2015-05-18

Similar Documents

Publication Publication Date Title
JP6234191B2 (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
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
JP5398156B2 (en) WHITE BALANCE CONTROL DEVICE, ITS CONTROL METHOD, AND IMAGING DEVICE
JP5743696B2 (en) Image processing apparatus, image processing method, and program
WO2022253014A1 (en) Underwater image color restoration method and apparatus
JP2012054827A (en) Image processor, image processing method and program
JP6210775B2 (en) Imaging apparatus, imaging method, and imaging program
JPWO2006059573A1 (en) Color adjustment apparatus and method
JP4955235B2 (en) Digital camera and gain calculation method
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
JP7307541B2 (en) IMAGE PROCESSING DEVICE, IMAGING DEVICE, IMAGE PROCESSING METHOD, AND PROGRAM
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
JP5899894B2 (en) Imaging apparatus, image processing apparatus, image processing program, and image processing method
JP2023531605A (en) Halo correction in digital images and device for performing such correction
JP5854716B2 (en) Image processing apparatus, image processing method, and program
JPH09261580A (en) Image processing method
US9113121B2 (en) Method for white balance adjustment of images
JP2007097175A (en) White balance mechanism with zone weighting function
WO2017125779A1 (en) A system for immersive video for segmented capture of a scene
CN118923103A (en) Information processing apparatus, information processing method, and recording medium
JP2015106791A (en) Imaging device
KR101227082B1 (en) Color Balancing Apparatus and Method for Multiple Image Synthesis
KR101251803B1 (en) Method of image process
JP2015142281A (en) SUBJECT SEARCH DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND IMAGING DEVICE
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: 20160705

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170419

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170606

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170707

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170821

R151 Written notification of patent or utility model registration

Ref document number: 6196882

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees