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 PDFInfo
- 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
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,
In the method described in
また、特許文献2には、撮像画面内に異なる種類の光源の照射エリアが存在する場合に撮像画面全体に適切なホワイトバランスを掛けることが難しく、色ずれが生じた撮像画像になってしまうという問題を解決するために、撮像画面内を輝度情報と色情報とに応じて複数の領域に分割し、複数の領域のそれぞれに対して異なるホワイトバランス補正係数を設定し、前記複数の領域のそれぞれに対して設定されたホワイトバランス補正係数の差を、所定範囲内に収めるホワイトバランス補正係数リミットを設けて、全画面のホワイトバランス補正係数を生成することが開示されている。
Further, in
ところで、従来、複数の異種光源により撮影を行った所謂ミックス光源画像のホワイトバランス補正技術では、ホワイトバランスの補正に先立ち、入力された画像を複数のエリアに分割し、該分割されたエリアごとに、例えば、一般的に行われている光源色温度推定方法を用いて、ミックス光源画像を撮影した際の撮影光源の色温度を推定している。
しかし、各分割エリアが入力画像のシーンの一部であるため、各エリアの被写体が単一な色の被写体になり易く、分割エリアの光源の色温度を間違った色温度に推定してしまい易い。
例えば、図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
また、特許文献2に記載されている方法は、分割された複数の領域のそれぞれのホワイトバランス補正係数(即ち、光源の色温度に対応する制御値)を設定しており、そもそも推定(または設定)する光源の色温度が間違っていることが想定されていない。このため、特許文献2に記載されている方法でも、上述のような、推定光源色温度を間違った場合、間違った推定光源色温度に対応するホワイトバランス補正ゲインを用いてホワイトバランスを補正することによって、当該エリアの色のバランスが大きく崩れて、画像全体が非常に不自然な色合いとなるといった課題に対処できない。
The method described in
本発明は、以上の従来技術における問題を鑑みてなされたものであり、撮影画像全体を複数のエリアに分割して、それぞれのエリアの光源の色温度を推定する場合、個別のエリアにおいて推定した光源の色温度が間違っていても、違和感の無い色再現を実現することの可能なマルチエリアホワイトバランス制御装置、マルチエリアホワイトバランス制御方法、マルチエリアホワイトバランス制御プログラム、マルチエリアホワイトバランス制御プログラムを記録したコンピュータ、マルチエリアホワイトバランス画像処理装置、マルチエリアホワイトバランス画像処理方法、マルチエリアホワイトバランス画像処理プログラム、マルチエリアホワイトバランス画像処理プログラムを記録したコンピュータ及びマルチエリアホワイトバランス画像処理装置を備えた撮像装置を提供することを目的としている。 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.
実施例の説明に先立ち、本発明の作用効果について説明する。
本発明は、入力画像を複数のエリアに分割し、分割したエリア毎に光源の色温度を推定し、推定した、当該エリアの光源の色温度と当該エリアに隣接するエリアの光源の色温度との比較に基づき、当該エリアの推定した光源の色温度に対する調整の要否を判定し、調整が必要であると判定したときに、当該エリアに隣接するエリアの推定した光源の色温度に基づき、当該エリアの推定した光源の色温度を調整し、調整した各エリアの光源の色温度に基づき、入力画像全体のホワイトバランス補正ゲインマップを生成するようにしている。
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
画像エリア分割部11は、入力画像を予め決められたサイズの複数のブロックに分割する。
The image
エリア色温度推定部12は、画像エリア分割部11により分割されたブロック毎に光源の色温度を推定する。なお、光源の色温度の推定方法については後述する。
The area color
エリア色温度調整部13は、エリア色温度推定部12によって推定された、当該ブロックの光源の色温度と当該ブロックに隣接する隣接ブロックの光源の色温度との比較に基づき、当該エリアの推定された光源の色温度に対する調整の要否を判定し、調整が必要であると判定したときに、当該エリアに隣接するエリアの推定された光源の色温度に基づき、当該ブロックの推定された光源の色温度を調整する。なお、当該ブロックの推定された光源の色温度の調整方法については後述する。
The area color
WBゲインマップ生成部14は、エリア色温度調整部13によって調整された各ブロックの推定された光源の色温度に基づき、入力画像全体のホワイトバランス補正ゲインマップを生成する。
The WB gain
WBゲイン補正部16は、WBゲインマップ生成部14によって生成されたホワイトバランス補正ゲインマップに基づき、入力画像全体のホワイトバランスを補正する。
The WB
このように構成された本実施形態のマルチエリアホワイトバランス制御装置を用いた入力画像からホワイトバランス補正のためのゲインマップを作成するまでの処理の流れを図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
次いで、エリア色温度推定部12が、画像エリア分割部11により分割された各ブロックの画像に対して、例えば、次のような方法で、ブロック毎の光源の色温度の推定を行う(ステップS3)。
Next, the area color
例えば、イメージセンサの有効画素が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
光源の色温度の推定に先立ち、この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.
エリア色温度推定部12は、36個のブロック全てに対して、上記方法を用いて光源の色温度の推定を行う。これにより、画像全体に対して、例えば、図5に示すような光源の色温度の推定結果が得られる。
The area color
このようにして全てのブロックの光源の色温度を推定した場合、実際の目視結果と比べて、エリア色温度推定部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
エリア色温度推定部12による全てのブロックに対する光源の色温度の推定処理が終了後、エリア色温度調整部13が、図5に示した推定された光源の色温度に対して、例えば、図6に示すように、画面の左上から右下までスキャンしながら、当該ブロックとその周辺の縦横3×3の範囲内に位置するブロックの推定された光源の色温度と比較することによって、当該ブロックの推定された光源の色温度に対する調整の要否を判定し、調整が必要であると判定したときに、当該ブロックの周辺の縦横3×3の範囲内に位置するブロックの推定された光源の色温度に基づき、当該ブロックの推定された光源の色温度を調整する(ステップS4)。
After the area color
エリア色温度調整部13による、当該ブロックの推定された光源の色温度の調整は、詳しくは、例えば、次のような調整基準に従って行う。
例えば、当該エリアの推定された光源の色温度が、当該エリアに隣接するエリアの推定された光源の色温度のいずれかと異なる場合に、当該エリアの推定された光源の色温度に対する調整が必要であると判定し、当該エリアの推定された光源の色温度を当該エリアに隣接するエリアの推定された光源の色温度の多数値に修正する(調整基準1)。
また、例えば、当該エリアの推定された光源の色温度が、当該エリアに隣接するエリアの推定された光源の色温度のいずれとも異なる場合に、当該エリアの推定された光源の色温度に対する調整が必要であると判定し、当該エリアの推定された光源の色温度を当該エリアに隣接するエリアの推定された光源の色温度の多数値に修正する(調整基準2)。
また、例えば、当該エリアの推定された光源の色温度が、当該エリアに隣接する上、下、左、右のエリアの推定された光源の色温度のいずれとも異なる場合に、当該エリアの推定された光源の色温度に対する調整が必要であると判定し、当該エリアの推定された光源の色温度を当該エリアに隣接する上、下、左、右のエリアの推定された光源の色温度の多数値に修正する(調整基準3)。
なお、本実施形態においては、便宜上、エリア色温度調整部13は、調整基準3に従って当該ブロックの色温度の推定された光源の色温度の調整・修正を行うように構成されているものとする。
The adjustment of the color temperature of the light source estimated for the block by the area color
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
図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
The area color
Further, the area color
Further, the area color
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
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
そして、WBゲイン補正部16が、入力画像の位置に対応して、それぞれの色の画素値にゲインマップ記憶部15を入力して得たゲインをかけることにより、ホワイトバランスを補正し、画像を出力する。
Then, the WB
本実施形態のマルチエリアホワイトバランス制御装置1及びマルチエリアホワイトバランス制御方法によれば、推定した、当該エリアの光源の色温度と当該エリアに隣接するエリアの光源の色温度との比較に基づき、当該エリアの推定した光源の色温度に対する調整の要否を判定し、調整が必要であると判定したときに、当該エリアに隣接するエリアの推定した光源の色温度に基づき、当該エリアの推定した光源の色温度を調整するようにしたので、推定した当該エリアの色温度が間違っていても、当該エリアの推定した光源の色温度をより適正な色温度に調整することができる。その結果、各エリアの適正な色温度に調整された光源の色温度に基づいて、入力画像全体のホワイトバランス補正ゲインマップを生成でき、生成したホワイトバランス補正マップに基づいて入力画像全体のホワイトバランスを補正したときに、入力画像全体における当該エリアの色のバランスが適正に保たれ、違和感のない色再現を実現することができる。
According to the multi-area white
なお、本実施形態のマルチエリアホワイトバランス画像処理装置10においては、エリア分割手段としての画像エリア分割部11が、入力画像を縦横夫々の直線で区切られた形状及び面積の等しいブロックに分割した例で説明したが、本発明のマルチエリアホワイトバランス画像処理装置におけるエリア分割手段が分割する各エリアの形状・大きさは本実施形態に限定されるものではなく、例えば、三角形状、湾曲形状等どのような形状でもよいし、各エリアの大きさが異なっていてもよい。
In the multi-area white balance
また、本実施形態のマルチエリアホワイトバランス制御装置1においては、エリア推定光源色温度調整手段としてのエリア色温度調整部13が当該ブロックの色温度の推定された光源の色温度の調整を行う際に用いる調整基準として、調整基準1〜3を示したが、調整基準は、これらに限定されるものではなく、例えば、次の調整基準4〜6を用いても良い。
例えば、当該エリアの推定された光源の色温度が、当該エリアに隣接するエリアの推定された光源の色温度のいずれかと異なる場合に、当該エリアの推定された光源の色温度に対する調整が必要であると判定し、当該エリアの推定された光源の色温度を当該エリアに隣接するエリアを含む、当該エリアを基準とする所定半径範囲内のエリアの推定された光源の色温度の多数値に修正する(調整基準4)。
また、例えば、当該エリアの推定された光源の色温度が、当該エリアに隣接するエリアの推定された光源の色温度のいずれとも異なる場合に、当該エリアの推定された光源の色温度に対する調整が必要であると判定し、当該エリアの推定された光源の色温度を当該エリアに隣接するエリアを含む、当該エリアを基準とする所定半径範囲内のエリアの推定された光源の色温度の多数値に修正する(調整基準5)。
また、例えば、当該エリアの推定された光源の色温度が、当該エリアに隣接する上、下、左、右のエリアの推定された光源の色温度のいずれとも異なる場合に、当該エリアの推定された光源の色温度に対する調整が必要であると判定し、当該エリアの推定された光源の色温度を当該エリアに隣接する上、下、左、右のエリアを含む、当該エリアを基準とする所定半径範囲内のエリアの推定された光源の色温度の多数値に修正する(調整基準6)。
In the multi-area white
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
In addition, the multi-area white balance
本発明のマルチエリアホワイトバランス制御装置、マルチエリアホワイトバランス制御方法、マルチエリアホワイトバランス制御プログラム、マルチエリアホワイトバランス制御プログラムを記録したコンピュータ、マルチエリアホワイトバランス画像処理装置、マルチエリアホワイトバランス画像処理方法、マルチエリアホワイトバランス画像処理プログラム、マルチエリアホワイトバランス画像処理プログラムを記録したコンピュータ及びマルチエリアホワイトバランス画像処理装置を備えた撮像装置は、複数の異種光源により撮影を行った所謂ミックス光源画像のホワイトバランスを補正することが求められる分野に有用である。 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
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
21
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.
前記マルチエリアホワイトバランス制御装置に備わる前記ホワイトバランス補正ゲインマップ生成手段によって生成された、各エリアのホワイトバランス補正ゲインに基づき、該マルチエリアホワイトバランス制御装置の前記エリア分割手段が分割対象とした前記入力画像全体のホワイトバランス処理を行うホワイトバランス処理手段と
を備えることを特徴とするマルチエリアホワイトバランス画像処理装置。 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.
分割したエリア毎に光源の色温度を推定し、
推定した、当該エリアの光源の色温度と当該エリアに隣接するエリアの光源の色温度との比較に基づき、当該エリアの推定した光源の色温度に対する調整の要否を判定し、調整が必要であると判定したときに、当該エリアに隣接するエリアの推定した光源の色温度に基づき、当該エリアの推定した光源の色温度を調整し、
調整した各エリアの光源の色温度に基づき、前記入力画像全体のホワイトバランス補正ゲインマップを生成
することを特徴とするマルチエリアホワイトバランス制御方法。 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.
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)
| 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)
| 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)
| 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 |
-
2013
- 2013-11-08 JP JP2013232350A patent/JP6196882B2/en not_active Expired - Fee Related
Cited By (2)
| 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 |