JPH0568258A - Image discriminating device - Google Patents

Image discriminating device

Info

Publication number
JPH0568258A
JPH0568258A JP3148716A JP14871691A JPH0568258A JP H0568258 A JPH0568258 A JP H0568258A JP 3148716 A JP3148716 A JP 3148716A JP 14871691 A JP14871691 A JP 14871691A JP H0568258 A JPH0568258 A JP H0568258A
Authority
JP
Japan
Prior art keywords
light source
image
image data
dispersion
gwa
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.)
Granted
Application number
JP3148716A
Other languages
Japanese (ja)
Other versions
JP2506584B2 (en
Inventor
Toshiki Kanemichi
道 敏 樹 金
Shin Yamada
田 伸 山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP3148716A priority Critical patent/JP2506584B2/en
Priority to DE69217276T priority patent/DE69217276T2/en
Priority to US07/903,229 priority patent/US5448502A/en
Priority to EP92305724A priority patent/EP0519761B1/en
Publication of JPH0568258A publication Critical patent/JPH0568258A/en
Application granted granted Critical
Publication of JP2506584B2 publication Critical patent/JP2506584B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Processing Of Color Television Signals (AREA)

Abstract

PURPOSE:To provide an image discriminating device necessary for reproducing a correct tone even when an area occupied by a specific color is large on the screen of a video camera or VTR. CONSTITUTION:This device is provided with a sampling circuit 11 obtaining image data proper for discriminating the image from a color-separated image signal, a distributed calculating part 12 calculating a statistical quantity expressing the feature of the distribution of image data by receiving image data and a threshold value processing part 13 judging the normality/defectiveness of the image based on the calculates statistic quantity. A photographing light source can correctly be estimated by setting the discrimination of the normality/ defectiveness of the image to be that whether GWA is satisfied or not in the photographed image.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ビデオカメラなどにお
ける正しい色調を再現させるための画像判定装置に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image judging device for reproducing a correct color tone in a video camera or the like.

【0002】[0002]

【従来の技術】近年、ビデオカメラの普及にともなっ
て、美しい色を得るために撮影条件に追従する手段がま
すます重要になってきている。そのなかにあって、撮影
時の光源を的確に推定することは、色再現の上から非常
に重要である。
2. Description of the Related Art In recent years, with the spread of video cameras, means for following photographing conditions have become more and more important in order to obtain beautiful colors. Among them, it is very important for color reproduction to accurately estimate the light source at the time of shooting.

【0003】従来から撮影光源を推定するための手段と
して、異なるスペクトル特性を持った複数の光感応素子
を用いて推定を行なう手段と、画像処理を通して推定を
行なう手段とが知られている。一般に、光源推定装置
は、デザイン、コストなどの観点から制約のある光感応
素子を用いた手段に代わって、画像信号を処理して光源
を推定する手段へと移行してきている。
Conventionally, as means for estimating the photographing light source, there are known means for estimating using a plurality of photosensitive elements having different spectral characteristics and means for performing estimation through image processing. In general, the light source estimation device has been replaced with a means using a light sensitive element, which is restricted from the viewpoints of design, cost, etc., to a means for processing an image signal to estimate a light source.

【0004】画像処理に基づいて光源を推定する手法の
根拠は、画面中の被写体の色を混合平均するとその色は
無彩色になるという仮定すなわちグレイ・ワールド・ア
ンサンプション(以下、GWAと略す。)にある。この
仮定に基づいて色調整を行なう手法としては、特開昭5
6−36291号公報に記載されたものが知られてい
る。さらに、この仮定に立脚したいくつかの工夫のひと
つに、白い部分は高輝度であるという仮定を付加した特
開平2−50592号公報などに記載された手法も考え
られている。
The basis of the method of estimating the light source based on image processing is the assumption that when the colors of the subject in the screen are mixed and averaged, the colors are achromatic, that is, the gray world assumption (hereinafter abbreviated as GWA). )It is in. As a method for performing color adjustment based on this assumption, Japanese Patent Application Laid-Open No.
The thing described in 6-36291 is known. Further, a method described in Japanese Patent Laid-Open No. 2-50592, which adds the assumption that the white portion has high brightness, is also considered as one of several ideas based on this assumption.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記の
従来のGWAに基づいた手法は、いくつかの工夫はあっ
ても、画面全体の色の単純な加算平均が無彩色になると
いう仮定の下で処理が行なわれていたので、画面上で特
定の色が占める面積が大きい場合には上記仮定が成立し
ないため、しばしば光源推定を間違え、色バランスが崩
れるという問題があった。
However, the above-mentioned conventional GWA-based method is, on the assumption that the simple arithmetic mean of the colors of the entire screen is achromatic, although some measures have been taken. Since the processing is performed, the above assumption does not hold when a specific color occupies a large area on the screen, and thus there is a problem that the light source is often mistaken and the color balance is lost.

【0006】本発明は、このような従来の問題を解決す
るものであり、画面に特定の色が占める面積が大きい場
合などにおいても、色バランスを正しく調整できるよう
にするための画像判定装置を提供することを目的とす
る。
The present invention solves such a conventional problem, and provides an image determination device for enabling accurate adjustment of color balance even when the area occupied by a specific color is large on the screen. The purpose is to provide.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に、本発明の画像判定装置は、色分離された画像信号を
サンプリングして画像判定に適した画像データを得るサ
ンプリング手段と、サンプリングされた画像データの分
布の特徴を表わす統計量を算出する手段と、算出された
統計量に基づいて画像の良否を判定する手段とを備えた
ものである。
In order to achieve the above object, an image judgment apparatus of the present invention comprises sampling means for sampling color-separated image signals to obtain image data suitable for image judgment, and sampling means. Further, there is provided means for calculating a statistic representing the characteristics of the distribution of the image data, and means for judging the quality of the image based on the calculated statistic.

【0008】本発明の好ましい実施例においては、統計
量を算出する手段は、サンプリングされた画像データの
色度空間における黒体輻射曲線またはこれに近似された
光源ラインに対する垂直分散を算出する手段であり、画
像の良否を判定する手段は、算出された垂直分散を閾値
に対して大きいか小さいかを判断する手段である。
In a preferred embodiment of the present invention, the means for calculating the statistic means is means for calculating the vertical dispersion for the black body radiation curve in the chromaticity space of the sampled image data or the light source line approximated to this curve. Yes, the means for judging the quality of the image is a means for judging whether the calculated vertical dispersion is larger or smaller than the threshold value.

【0009】[0009]

【作用】本発明は、上記構成によって、画像データの統
計処理を正しく行なうことができる。また、本発明をG
WA判定に適用することにより、光源推定の誤りの多く
なるGWAが成立しない場合には光源推定を実行しない
ように制御することができ、その結果として、光源推定
結果の誤り率が減少し、従来より光源推定の誤りを少な
くすることができる。
According to the present invention, with the above configuration, the statistical processing of the image data can be correctly performed. In addition, the present invention is
By applying to the WA determination, it is possible to control not to execute the light source estimation when the GWA with many errors in the light source estimation is not established, and as a result, the error rate of the light source estimation result is reduced, It is possible to further reduce the error in light source estimation.

【0010】[0010]

【実施例】以下、本発明の実施例について図面を参照し
ながら説明するが、まずその前に本発明の原理およびそ
れに基づく考察について述べる。
Embodiments of the present invention will be described below with reference to the drawings. First, the principle of the present invention and consideration based thereon will be described.

【0011】GWAを可能とするものの本質は、混色は
色の彩度を落とすという現象にある。そして、この現象
について考えを進めれば、十分に多くの色を全て混ぜ合
わせると、色は無彩色すなわちグレイ(白)になる。こ
れに基づいて、GWAでは以下のような予想の下に処理
が行なわれる。
The essence of enabling GWA lies in the phenomenon that color mixture reduces the color saturation. And if you think about this phenomenon, if you mix all enough colors, the color will be achromatic, or gray (white). Based on this, the GWA performs processing under the following expectations.

【0012】もし、画面に入る被写体が十分多くの色を
含んでいるのであれば、被写体の色の全平均をとると、
それは無彩色になっているはずである。被写体の色が無
彩色であれば、画面の色は光源色をそのまま反映する。
すなわち、画面全体の平均色をみれば、光源を推定でき
る。したがって、画面全体の平均色を無彩色するように
色再現系を調整すれば、光源の演色性を補正することが
でき、ホワイトバランスの調整が実現される。
If the subject entering the screen contains a large number of colors, the average of all the subject colors is calculated as follows:
It should be achromatic. If the subject color is achromatic, the screen color reflects the light source color as it is.
That is, the light source can be estimated by looking at the average color of the entire screen. Therefore, by adjusting the color reproduction system so that the average color of the entire screen is achromatic, the color rendering of the light source can be corrected and the white balance can be adjusted.

【0013】ここで、注意を喚起しておきたいことは、
普通はあまり強調されないことではあるが、「十分多く
の色を含んでいる・・・」の表現に暗に示されているよ
うに、GWAは(一画面に対する)統計的手法であると
いうことである。GWAが統計的手法であることの本質
は、GWAの限界に関してよく議論される「赤い光源に
照らされた白い壁と白い光源に照らされた赤い壁を区別
できるか?」という話に集約されている。よく知られて
いるように、統計的手法が適用できるためには、対象が
統計的な議論を許すに足りるだけのものでなければなら
ない。上の設定は、対象が統計的手法が適用できない場
合を取り上げている訳であるから、GWAによってただ
しく光源が推定できるはずはない。はっきり言えば、上
の設問はGWA適用限界を越えた議論であって、意味は
ない。
Here, the point to be noted is that
It's usually not much emphasized, but as implied in the expression "contains enough colors ...", GWA is a statistical method (for one screen). is there. The essence of GWA being a statistical method is summarized in the talk of "the white wall illuminated by a red light source and the red wall illuminated by a white light source?" There is. As is well known, in order for statistical methods to be applicable, the subject must be sufficient to allow statistical discussion. Since the above settings deal with the case where the statistical method cannot be applied to the target, the light source cannot be properly estimated by the GWA. To be clear, the above question is a discussion beyond the limit of GWA application and has no meaning.

【0014】GWAを前提に考える場合には、このよう
に統計的に無意味な条件について論じるのではなく、G
WAの適用限界を把握することが重要である。そして、
GWAの実施において、光源推定を適用限界内にとどめ
ておくことが推定精度確保の上で最も重要である。本発
明者らは、以上のように考え、種々のデータ分析に基づ
いて以下に述べる考察を行なった。
When considering the GWA as a premise, rather than discussing the statistically meaningless condition as described above, G
It is important to understand the WA application limits. And
In the implementation of GWA, keeping the light source estimation within the applicable limit is the most important for ensuring the estimation accuracy. The present inventors considered as described above and made the following consideration based on various data analysis.

【0015】色度は2次元であるから、データの分布を
記述する分散軸は2つ存在する。数学的にいえば、その
軸はどのようにとっても構わない。しかしながら、ホワ
イトバランスの問題では、色度空間にあって、黒体輻射
によって発せられる光の色が黒体の温度にしたがって描
く黒体輻射曲線が、図5に示すように特別の意味を持つ
ために、方向の等価性は成り立たない。なお、計算の便
宜上、黒体輻射曲線に近似する線として光源ラインが設
定してある。
Since the chromaticity is two-dimensional, there are two dispersion axes that describe the distribution of data. Mathematically speaking, the axis doesn't matter. However, in the problem of white balance, in the chromaticity space, the blackbody radiation curve drawn by the color of the light emitted by the blackbody radiation according to the temperature of the blackbody has a special meaning as shown in FIG. Moreover, the equivalence of directions does not hold. For convenience of calculation, the light source line is set as a line that approximates the black body radiation curve.

【0016】実際、データをみるにつけ、黒体輻射曲線
の接線方向の分散(水平分散)とそれに垂直な方向の分
散(垂直分散)には顕著な違いが見られる。接線方向の
分散は、普通、垂直分散に比べて大きく、また、屋外撮
影において、画面に空が入るかどうかだけで分散の大き
さは大きく変化するといった性質がある。ちなにみ、図
5に示す色度空間において空色の領域を四角で囲んで示
してある。一方、垂直分散にはこのような現象は見られ
ない。したがって、さまざまな被写体に対して、垂直分
散は安定して意味を持つ。(以下、垂直分散を単に分散
と呼ぶことがある。また、垂直分散の軸方向を記述する
パラメータを軸パラメータと呼ぶ。)
In fact, in view of the data, there is a remarkable difference between the tangential dispersion (horizontal dispersion) of the blackbody radiation curve and the vertical dispersion (vertical dispersion). The dispersion in the tangential direction is usually larger than the vertical dispersion, and in outdoor photography, the dispersion size greatly changes depending on whether or not there is a sky in the screen. Incidentally, in the chromaticity space shown in FIG. 5, the sky blue region is shown surrounded by a square. On the other hand, such a phenomenon is not observed in vertical dispersion. Therefore, vertical dispersion is stable and meaningful for various subjects. (Hereinafter, vertical dispersion may be simply referred to as dispersion. Also, a parameter that describes the axial direction of vertical dispersion is referred to as an axis parameter.)

【0017】さて、GWAは画面に入る被写体の色分布
が統計的に自然な分布(例えば、無彩色を中心とした正
規分布)であり、少なくともどんな被写体であっても色
分布は変わらないことを、「十分多くの色」という表現
の内に暗に仮定している。この仮定は、屋外で遠景を撮
影した場合などにおいては、かなりの精度で成立してい
ると思われるが、色分布を不変とするような仮定が常に
成立していないことは、屋外の遠景に対して彩度の高い
服を着た人のバストショット等を考えれば明らかであ
る。
In GWA, the color distribution of the subject entering the screen is a statistically natural distribution (for example, a normal distribution centered on an achromatic color), and at least the subject does not change the color distribution. , Implicitly in the expression "many colors". This assumption seems to hold with considerable accuracy when shooting a distant view outdoors, but the assumption that the color distribution does not change is not always true. On the other hand, it is clear when considering a bust shot of a person wearing highly saturated clothes.

【0018】このような彩度の高い服を着た人のバスト
ショット等、GWAの仮定の崩れた被写体では、単純加
算で求められる画面全体の平均の色は服等の色に強く引
かれてしまう。これが、光源の推定を誤る原因となって
いる。
For a subject whose GWA assumption is broken, such as a bust shot of a person wearing such highly saturated clothes, the average color of the entire screen obtained by simple addition is strongly drawn to the color of the clothes. I will end up. This is a cause of incorrect estimation of the light source.

【0019】また、一方で、バストショットのような画
像では、ブロック平均データのいくつかの彩度が比較的
高くなり、色相平面でのデータが広く分布する。これ
は、データの分散の増大となって現れる。この現象は、
画面をいくつかのブロックに分割し、そのそれぞれのブ
ロックで平均操作を行なったブロック平均データにおい
て顕著に見られる。
On the other hand, in an image such as a bust shot, the saturation of some of the block average data is relatively high, and the data in the hue plane is widely distributed. This appears as an increase in the distribution of data. This phenomenon is
The screen is divided into several blocks, and it can be seen notably in the block average data obtained by performing the averaging operation on each block.

【0020】垂直分散が大きい場合は、GWAの仮定が
成立していない場合が多く、垂直分散は誤りに関する指
標として有効である。したがって、垂直分散を用いて次
のような処理を行なうと、光源推定の誤り率を減少させ
ることが可能となる。すなわち、GWAの適用限界を示
す指標の一つである垂直分散が、ある設定値より大きく
なった場合には、処理対象の画像においてGWAの仮定
が成立していないと予想される。この場合には光源推定
を実行せず、現在の光源推定結果を保持することで、誤
りの発生を抑制する。
When the vertical dispersion is large, the GWA assumption is often not satisfied, and the vertical dispersion is effective as an index related to errors. Therefore, it is possible to reduce the error rate of light source estimation by performing the following processing using vertical dispersion. That is, when the vertical dispersion, which is one of the indexes indicating the application limit of GWA, becomes larger than a certain set value, it is expected that the GWA assumption does not hold in the image to be processed. In this case, the light source estimation is not executed, and the current light source estimation result is held to suppress the occurrence of an error.

【0021】上に述べた考察に対して、分散が大きくて
も、画面全体の平均の色が無彩色になり、光源が正しく
推定できる場合があるのではないかとの主張もあろう。
しかしながら、このような場合というのは、画面のかな
りの部分を占める色が互いに補色関係にある場合に偶然
生じることであって、GWAの仮定に基づいてのホワイ
トバランス処理には本来想定されていないことである。
もちろん、このような被写体が数多く存在するのであれ
ば、積極的に対応する必要があるが、これまでにそのよ
うな傾向は見られない。
It may be argued that the average color of the entire screen may be achromatic and the light source may be estimated correctly even if the variance is large.
However, such a case happens by chance when colors that occupy a considerable part of the screen are in a complementary color relationship with each other, and is not originally assumed in the white balance processing based on the assumption of GWA. That is.
Of course, if there are many such subjects, it is necessary to respond positively, but no such tendency has been seen so far.

【0022】最後に、分散を用いる処理の想定しうる副
作用とその解決法について述べる。想定しうる副作用と
して、光源推定を誤った状態で立ち上がった場合の回復
性の低下が考えられる。初期推定においては、どういう
条件においても光源を推定する必要がある。したがっ
て、立ち上がり画面がクローズアップなどであった場
合、誤った判断を下し易く、かつ分散による安定化効果
が強く現われると考えられる。このような状況は、統計
的手法の限界の範囲外であるため、回復自体が偶然によ
るところが大きいことを考慮しても、従来法に比べて発
生する可能性が高いと考えられる。しかしながら、この
ような副作用については、立ち上がってから少なくとも
一度、垂直分散が閾値以下になるまで分散によるGWA
判定を行なわないようにすることにより、回避すること
ができる。
Lastly, possible side effects of the processing using dispersion and its solution will be described. As a possible side effect, it is considered that the recoverability decreases when the light source estimation is started up in an incorrect state. In the initial estimation, it is necessary to estimate the light source under any condition. Therefore, when the rising screen is a close-up screen, it is considered that it is easy to make an erroneous decision, and the stabilizing effect due to the dispersion appears strongly. Since such a situation is outside the limits of the statistical method, it is considered that the situation is more likely to occur than the conventional method, even considering that the recovery itself is largely due to chance. However, with regard to such side effects, GWA by dispersion is at least once after startup until the vertical dispersion falls below the threshold value.
This can be avoided by not making the determination.

【0023】以下、上記考察に基づいた本発明の各実施
例について図面を参照しながら説明する。
Each embodiment of the present invention based on the above consideration will be described below with reference to the drawings.

【0024】(実施例1)図1は本発明の第1の実施例
における画像判定装置の概略構成を示すブロック図であ
る。図1において、11は色分離された画像信号から画
像判定に適した画像データを得るためのサンプリング回
路、12はサンプリングされた画像データを受けて色信
号の光源ラインに対する垂直分散を計算する分散計算
部、13は分散計算部からの色分散信号を受けて内部に
設定された閾値と比較して、分散が閾値より小さい場合
にはGWA成立を、その他の場合には不成立を出力する
閾値処理部である。
(Embodiment 1) FIG. 1 is a block diagram showing a schematic configuration of an image judgment apparatus according to a first embodiment of the present invention. In FIG. 1, 11 is a sampling circuit for obtaining image data suitable for image determination from the color-separated image signal, and 12 is a dispersion calculation for receiving the sampled image data and calculating the vertical dispersion of the color signal with respect to the light source line. And a threshold processing unit 13 which receives the chromatic dispersion signal from the dispersion calculation unit and compares it with a threshold value set internally, and outputs GWA establishment if the dispersion is smaller than the threshold value, and outputs establishment failure in other cases. Is.

【0025】以上のように構成された画像判定装置につ
いて、以下その動作を説明する。まず、CCD等の撮像
素子を通じて色分離回路から出力された画像信号が適当
なサンプリング規則に従ってサンプリング回路11によ
り取り込まれ、分散計算部12に送られる。分散計算部
12は、入力された画像データIS((RGB)、
(Y,R−Y,B−Y)など)を受けて、場合によって
は、データの評価を行ないながら、色度空間例えば図5
に示すような(R−Y)/Y,(B−Y)/Yで示され
る色度空間における光源ラインに対する垂直分散である
画像データ分散SGMを次式から計算する。
The operation of the image determining apparatus constructed as above will be described below. First, the image signal output from the color separation circuit through an image pickup device such as a CCD is taken in by the sampling circuit 11 according to an appropriate sampling rule, and sent to the dispersion calculator 12. The variance calculator 12 receives the input image data IS ((RGB),
(Y, R-Y, B-Y, etc.), and in some cases, while evaluating the data, the chromaticity space, for example, FIG.
The image data variance SGM, which is the vertical variance with respect to the light source line in the chromaticity space represented by (RY) / Y and (BY) / Y as shown in FIG.

【0026】[0026]

【数1】 [Equation 1]

【0027】以下、入力された画像データISを(Y,
R−Y,B−Y)として,分散計算部12の動作につい
て、より具体的に説明する。
Hereinafter, the input image data IS is converted into (Y,
RY, BY), the operation of the dispersion calculator 12 will be described more specifically.

【0028】画像データISは、 C1=(B−Y)/Y C2=(R−Y)/Y と変換され、色度信号CS=(C1,C2)となる。色
度信号CSは、原理の説明で述べた光源ラインに垂直な
方向(V1,V2)へ射影され、その大きさ、すなわち
光源ラインからの変位Xは、 X=C1・V1+C2・V2 で与えられる。このように計算される変位Xの分布の分
散が、垂直画像データ分散SGMである。
The image data IS is converted into C1 = (BY) / Y C2 = (RY) / Y and the chromaticity signal CS = (C1, C2). The chromaticity signal CS is projected in the direction (V1, V2) perpendicular to the light source line described in the description of the principle, and its magnitude, that is, the displacement X from the light source line is given by X = C1 · V1 + C2 · V2 .. The variance of the distribution of the displacement X calculated in this way is the vertical image data variance SGM.

【0029】閾値処理部13は、分散計算部12からの
画像データ分散SGMを受けて、内部に蓄えられた閾値
θと比較し、 SGM<θのとき、J=GWA成立(OK) その他の場合には、J=GWA不成立(NO) (ただし、立ち上がってから、少なくとも一度、SGM
<θとなるまでは、特にJ=OK)として、GWA判定
信号Jを出力する。
The threshold value processing unit 13 receives the image data variance SGM from the variance calculation unit 12 and compares it with the internally stored threshold value θ. When SGM <θ, J = GWA is established (OK), and otherwise. , J = GWA not satisfied (NO) (However, after starting up, at least once, SGM
Until <θ, in particular, J = OK), and the GWA determination signal J is output.

【0030】このように、上記第1の実施例によれば、
画像データの光源ラインに対する垂直分散に基づいてG
WAの成立を判定することができ、より精度の高い光源
推定を行なうことができる。
As described above, according to the first embodiment,
G based on the vertical dispersion of the image data with respect to the light source line
It is possible to determine the establishment of WA, and it is possible to perform more accurate light source estimation.

【0031】なお、上記した光源ラインに垂直な方向を
与えるベクトル(V1,V2)は、おおよそ、 (V1,V2)〜(1,1) であればよく、厳密に定める必要はない。また、この軸
パラメータによってGWAの判定精度はいくらか変化す
るが、その影響はデータ分析の結果大きいものではな
い。
The vector (V1, V2) that gives a direction perpendicular to the light source line may be approximately (V1, V2) to (1, 1) and need not be strictly determined. Further, although the GWA determination accuracy is somewhat changed depending on this axis parameter, the influence thereof is not large as a result of the data analysis.

【0032】また、垂直画像データ分散SGMの計算の
基本が、画像データがRGB信号であるか、Y,R−
Y,B−Y信号であるかなどに依存しないことはいうま
でもない。
The basis of calculation of the vertical image data dispersion SGM is that the image data is an RGB signal or Y, R-.
It goes without saying that it does not depend on whether the signals are Y and BY signals.

【0033】さらに、上記の計算では、画像データを2
次元の色度空間に落とした上で垂直分散を計算したが、
これは、光源ラインを光源曲面と考え直すなど、若干の
工夫で3次元の画像データを直接用いて計算することも
できる。
Further, in the above calculation, the image data is 2
I calculated the vertical dispersion after dropping it into the dimensional chromaticity space.
This can also be calculated by directly using the three-dimensional image data with a slight modification such as re-thinking the light source line as a light source curved surface.

【0034】加えて、3次元の画像データを直接用いる
場合などには、原理で説明した光源推定に大きな影響を
与える空などの特定色の効果を除くようにアルゴリズム
を組むこともできる。この場合には、光源ライン方向の
分散(水平分散)も十分意味を持つことができるように
なるので、GWAを判定する統計量を垂直分散に特定す
る必要はない。
In addition, when the three-dimensional image data is directly used, an algorithm can be constructed so as to eliminate the effect of a specific color such as the sky, which has a great influence on the light source estimation described in the principle. In this case, the variance in the light source line direction (horizontal variance) can also have a significant meaning, so it is not necessary to specify the vertical variance as the statistic for determining GWA.

【0035】さらに、画像データの分布の特徴を表わす
統計量は、分散だけでなく、平均やN次モーメントを用
いることができる。
Further, as the statistic representing the characteristics of the distribution of the image data, not only the variance but also the average or the Nth moment can be used.

【0036】(実施例2)次に、上記画像判定装置を光
源推定装置に用いた本発明の第2の実施例について説明
する。図2は本発明の第2の実施例における光源推定装
置の構成を示すブロック図である。図2において、21
は画像判定装置であり、色分離された画像信号から画像
判定に適した画像データを得るためのサンプリング回路
22と、画像データの色信号の分散を計算する分散計算
部23と、分散計算部23からの色分散信号を受けて内
部に設定された閾値と比較して、分散が閾値より小さい
場合にはGWA成立を、その他の場合には不成立を出力
する閾値処理部24とを備えている。25はサンプリン
グされた画像データを受けて光源を推定する光源推定部
であり、26は光源推定部25と画像判定装置21とか
らそれぞれ1次光源推定結果S1 とGWA判定信号Jを
受け、GWA判定信号Jに基づいて1次光源推定結果S
1 を処理して2次光源推定結果S2 を出力する総合判定
部であり、27は総合判定部26からの2次光源推定結
果S2 を保持する光源推定結果保持部である。
(Embodiment 2) Next, a second embodiment of the present invention will be described in which the above image determining device is used as a light source estimating device. FIG. 2 is a block diagram showing the configuration of the light source estimation device in the second embodiment of the present invention. In FIG. 2, 21
Is an image determination device, which includes a sampling circuit 22 for obtaining image data suitable for image determination from color-separated image signals, a dispersion calculation unit 23 for calculating the dispersion of color signals of image data, and a dispersion calculation unit 23. And a threshold value processing unit 24 that outputs a GWA succession when the dispersion is smaller than the threshold value and compares it with a threshold value that is internally set by receiving the chromatic dispersion signal from. Reference numeral 25 is a light source estimation unit that receives the sampled image data and estimates the light source. Reference numeral 26 is a light source estimation unit 25 and the image determination device 21, which receive the primary light source estimation result S1 and the GWA determination signal J, respectively, and perform the GWA determination. Primary light source estimation result S based on signal J
Reference numeral 27 denotes a comprehensive determination unit that processes 1 and outputs a secondary light source estimation result S2, and reference numeral 27 denotes a light source estimation result holding unit that retains the secondary light source estimation result S2 from the comprehensive determination unit 26.

【0037】以上ように構成された光源推定装置につい
て、以下その動作を説明する。まず、CCD等の撮像素
子を通じて色分離回路から出力された画像信号が、適当
なサンプリング規則に従ってサンプリング回路22によ
り取り込まれ、光源推定部25と分散計算部23とに送
られる。光源推定部25は、入力された画像データIS
((RGB)、(Y,R−Y,B−Y)など)を受け
て、場合によってはデータの評価を行ないながら、例え
ば画像データ平均IS aveを計算し、内部に蓄えられた
光源色とIS aveの比較を行ない、最も近い光源を推定
結果として、1次光源推定結果S1 を出力する。また、
画像判定装置21の分散計算部23は、入力された画像
データIS((RGB)、(Y,R−Y,B−Y)な
ど)を受けて、場合によってはデータの評価を行いなが
ら、色度空間例えば図5に示すような(R−Y)/Y,
(B−Y)/Yで示される色度空間における光源ライン
に対する垂直分散である画像データ分散SGMを実施例
1と同様にして計算する。
The operation of the light source estimation device configured as described above will be described below. First, the image signal output from the color separation circuit through an image pickup device such as a CCD is captured by the sampling circuit 22 according to an appropriate sampling rule, and sent to the light source estimation unit 25 and the dispersion calculation unit 23. The light source estimation unit 25 uses the input image data IS
In response to ((RGB), (Y, RY, BY), etc.), the image data average IS ave is calculated, for example, while the data is evaluated, and the light source color stored inside is calculated. The IS ave is compared, and the nearest light source is used as the estimation result, and the primary light source estimation result S1 is output. Also,
The variance calculation unit 23 of the image determination device 21 receives the input image data IS ((RGB), (Y, RY, BY), etc.) and, in some cases, evaluates the data while performing color evaluation. Degree space For example, (RY) / Y, as shown in FIG.
The image data variance SGM, which is the vertical variance with respect to the light source line in the chromaticity space represented by (BY) / Y, is calculated in the same manner as in the first embodiment.

【0038】一方、閾値処理部24は、分散計算部23
からの画像データ分散SGMを受けて、内部に蓄えられ
た閾値θと比較し、 SGM<θのとき、J=GWA成立(OK) その他の場合には、J=GWA不成立(NO) (ただし、立ち上がってから、少なくとも一度、SGM
<θとなるまでは、特にJ=OK)として、GWA判定
信号Jを出力する。総合判定部26は、光源推定部25
からの1次光源推定結果S1 と閾値処理部24からのG
WA判定信号Jを受け、 J=OKのとき S2 =S1 J=NOのとき S2 =判定不能 として、2次光源推定結果S2 を出力する。光源推定結
果保持部27は、総合判定部26からの2次光源推定結
果S2 を受け、 S2 ≠判定不能のとき S f =S2 S buf=S2 S2 =判定不能のとき S f =S buf S buf=S buf として、2次光源推定結果をS bufに保持するととも
に、最終光源推定結果S fを出力する。
On the other hand, the threshold value processing section 24 has a variance calculation section 23.
The image data variance SGM from is received and compared with the threshold value θ stored inside. When SGM <θ, J = GWA is established (OK) In other cases, J = GWA is not established (NO) (however, After standing up, at least once, SGM
Until <θ, in particular, J = OK), and the GWA determination signal J is output. The comprehensive determination unit 26 includes the light source estimation unit 25.
Primary light source estimation result S1 from G and G from the threshold processing unit 24
Upon receiving the WA determination signal J, when J = OK, S2 = S1 and when J = NO, S2 = determination is not possible, and the secondary light source estimation result S2 is output. The light source estimation result holding unit 27 receives the secondary light source estimation result S2 from the comprehensive determination unit 26, and when S2 ≠ determination is not possible S f = S2 S buf = S2 S2 = when determination is not possible S f = S buf S buf = S buf, the secondary light source estimation result is held in S buf, and the final light source estimation result S f is output.

【0039】このように、上記第2の実施例によれば、
画像データの光源ラインに対する垂直分散に基づいてG
WAの成立を判定することにより、光源推定を誤り易い
GWA不成立時の光源判定が破棄されるために、全体と
して誤りの少ない光源推定装置を実現することができ
る。
As described above, according to the second embodiment,
G based on the vertical dispersion of the image data with respect to the light source line
By determining whether the WA is established, the light source determination when the GWA is not established, which is likely to make an error in the light source estimation, is discarded. Therefore, it is possible to realize a light source estimation device with few errors as a whole.

【0040】(実施例3)次に、上記画像判定装置の別
の実施例を光源推定装置に用いた本発明の第3の実施例
について説明する。図3は本発明の第3の実施例におけ
る光源推定装置の構成を示すブロック図である。図3に
おいて、31は画像判定装置であり、色分離された画像
信号から画像判定に適した画像データを得るためのサン
プリング回路32と、画像データから分散軸方向を定め
る軸パラメータ計算部33と、画像データと軸パラメー
タ計算部33から図5の黒体輻射曲線の方向に関する信
号を受けて色信号の垂直分散を計算する分散計算部34
と、分散計算部34からの色分散信号を受けて内部に設
定された閾値と比較して、分散が閾値より小さい場合に
はGWA成立を、その他の場合には不成立を出力する閾
値処理部35とを備えている。36は画像データを受け
て光源を推定する光源推定部であり、37は光源推定部
36と画像判定装置31とからそれぞれ1次光源推定結
果S1 とGWA判定信号Jを受け、GWA判定信号Jに
基づいて1次光源推定結果S1 を処理して2次光源推定
結果S2 を出力する総合判定部であり、38は総合判定
部37からの2次光源推定結果S2 を保持する光源推定
結果保持部である。
(Embodiment 3) Next, a third embodiment of the present invention will be described in which another embodiment of the image judging apparatus is used as a light source estimating apparatus. FIG. 3 is a block diagram showing the configuration of the light source estimation device in the third embodiment of the present invention. In FIG. 3, reference numeral 31 denotes an image determination device, which includes a sampling circuit 32 for obtaining image data suitable for image determination from color-separated image signals, an axis parameter calculation unit 33 that determines a dispersion axis direction from the image data, A dispersion calculator 34 that receives the image data and a signal relating to the direction of the blackbody radiation curve of FIG. 5 from the axis parameter calculator 33 and calculates the vertical dispersion of the color signals.
And a chromatic dispersion signal from the dispersion calculation unit 34, and compares the chromatic dispersion signal with a threshold value set internally. If the dispersion is smaller than the threshold value, GWA is established, and otherwise, a threshold processing unit 35 is output. It has and. Reference numeral 36 denotes a light source estimation unit that receives the image data and estimates the light source, and 37 receives the primary light source estimation result S1 and the GWA determination signal J from the light source estimation unit 36 and the image determination device 31, respectively, and outputs them as the GWA determination signal J. Reference numeral 38 is a comprehensive determination unit that processes the primary light source estimation result S1 and outputs a secondary light source estimation result S2, and 38 is a light source estimation result holding unit that retains the secondary light source estimation result S2 from the comprehensive determination unit 37. is there.

【0041】以上ように構成された光源推定装置につい
て、以下その動作を説明する。まず、CCD等の撮像素
子を通じて色分離回路から出力された画像信号が適当な
サンプリング規則に従ってサンプリング回路32により
取り込まれ、光源推定部36と画像判定装置31の軸パ
ラメータ計算部33および分散計算部34に送られる。
光源推定部36は、入力された画像データIS((RG
B)、(Y,R−Y,B−Y)など)を受けて、場合に
よってはデータの評価を行ないながら、例えば、画像デ
ータ平均IS aveを計算し、内部に蓄えられた光源色と
IS aveの比較を行ない、最も近い光源を推定結果とし
て、光源推定結果S1 を出力する。また、画像判定装置
31の軸パラメータ計算部33は、画像信号を受けて画
像データ平均値IS aveなどに基づいて黒体輻射曲線に
おける分散軸方向を決め、軸パラメータを出力する。分
散計算部34は、軸パラメータ計算部33からの軸パラ
メータと入力された画像データIS((RGB)、
(Y,R−Y,B−Y)など)を受けて、場合によって
はデータの評価を行ないながら、そのデータの色度空間
における黒体輻射曲線に対する垂直分散である画像デー
タ分散SGMを計算する。閾値処理手段35は、分散計
算部34からの画像データ分散SGMを受けて、内部に
蓄えられた閾値θと比較し、 SGM<θのとき、J=GWA成立(OK) その他の場合には、J=GWA不成立(NO) (ただし、立ち上がってから、少なくとも一度、SGM
<θとなるまでは、特にJ=OK)として、GWA判定
信号Jを出力する。総合判定部37は、光源推定部36
からの光源推定結果S1 と閾値処理部35からのGWA
判定信号Jを受け、 J=OKのとき S2 =S1 J=NOのとき S2 =判定不能 として、2次光源推定結果S2 を出力する。光源推定結
果保持部38は、総合判定部37からの2次光源推定結
果S2 を受け、 S2 ≠判定不能のとき S f =S2 S buf=S2 S2 =判定不能のとき S f =S buf S buf=S buf として、2次光源推定結果をS bufに保持するととも
に、最終光源推定結果S fを出力する。
The operation of the light source estimation device having the above-described structure will be described below. First, the image signal output from the color separation circuit through an image pickup device such as a CCD is taken in by the sampling circuit 32 according to an appropriate sampling rule, and the light source estimation unit 36 and the axis parameter calculation unit 33 and the dispersion calculation unit 34 of the image determination device 31. Sent to.
The light source estimation unit 36 receives the input image data IS ((RG
B), (Y, RY, BY), etc.), the image data average IS ave is calculated, for example, while the data is evaluated depending on the case. The ave is compared, and the light source estimation result S1 is output with the closest light source as the estimation result. Further, the axis parameter calculation unit 33 of the image determination device 31 receives the image signal, determines the dispersion axis direction in the black body radiation curve based on the image data average value IS ave, and outputs the axis parameter. The variance calculator 34 receives the axis parameters from the axis parameter calculator 33 and the input image data IS ((RGB),
(Y, R-Y, B-Y, etc.), the image data variance SGM, which is the vertical variance with respect to the blackbody radiation curve in the chromaticity space of the data, is calculated while evaluating the data in some cases. .. The threshold value processing means 35 receives the image data variance SGM from the variance calculator 34 and compares it with the threshold value θ stored inside. When SGM <θ, J = GWA is established (OK), otherwise, J = GWA not established (NO) (However, at least once after starting up, SGM
Until <θ, in particular, J = OK), and the GWA determination signal J is output. The comprehensive determination unit 37 includes the light source estimation unit 36.
Light source estimation result S1 from GWA from the threshold processing unit 35
Upon receiving the determination signal J, when J = OK, S2 = S1 and when J = NO, S2 = determination is impossible, and the secondary light source estimation result S2 is output. The light source estimation result holding unit 38 receives the secondary light source estimation result S2 from the comprehensive determination unit 37, and when S2 ≠ determination is not possible S f = S2 S buf = S2 S2 = when determination is not possible S f = S buf S buf = S buf, the secondary light source estimation result is held in S buf, and the final light source estimation result S f is output.

【0042】このように、上記第3の実施例によれば、
軸パラメータ計算部33が色度空間の黒体輻射曲線にお
ける分散軸方向を求めるので、垂直分数の計算の精度が
高くなる。そして、画像データの垂直分散に基づいてG
WAの成立を判定することにより、光源推定を誤り易い
GWA不成立時の光源判定が破棄されるために、全体と
して、より誤りの少ない光源推定装置を実現することが
できる。
As described above, according to the third embodiment,
Since the axis parameter calculation unit 33 obtains the dispersion axis direction in the black body radiation curve of the chromaticity space, the accuracy of calculation of the vertical fraction increases. Then, based on the vertical distribution of the image data, G
By determining whether the WA is established, the light source determination when the GWA is not established, which is likely to make an error in the light source estimation, is abandoned. Therefore, it is possible to realize a light source estimation apparatus with fewer errors as a whole.

【0043】(実施例4)次に、上記画像判定装置のさ
らに別の実施例を光源推定装置に用いた本発明の第4の
実施例について説明する。図4は本発明の第4の実施例
における光源推定装置の構成を示すブロック図である。
図4において、41は画像判定装置であり、色分離され
た画像信号から画像判定に適した画像データを得るため
のサンプリング回路42と、画像データを受けて画像デ
ータの平均IS aveを計算する平均計算部43と、平均
計算部43からの画像データ平均IS aveを受けて分散
軸方向を定める軸パラメータ計算部44と、サンプリン
グされた画像データと軸パラメータ計算部44とから黒
体輻射曲線の方向に関する信号を受けて色信号の垂直分
散を計算する分散計算部45と、分散計算部45からの
色分散信号を受けて内部に設定された閾値と比較して、
分散が閾値より小さい場合にはGWA成立を、その他の
場合には不成立を出力する閾値処理部46とを備えてい
る。47は平均計算部43の画像データ平均IS aveを
受けて光源を推定する平均光源推定部であり、48は平
均光源推定部47と画像判定装置41からそれぞれ1次
光源推定結果S1 とGWA判定信号Jを受け、GWA判
定信号Jに基づいて1次光源推定結果S1 を処理して2
次光源推定結果S2 を出力する総合判定部であり、49
は総合判定部48からの2次光源推定結果S2 を保持す
る光源推定結果保持部である。
(Embodiment 4) Next, a fourth embodiment of the present invention will be described in which another embodiment of the image judging apparatus is used as a light source estimating apparatus. FIG. 4 is a block diagram showing the configuration of the light source estimation device in the fourth embodiment of the present invention.
In FIG. 4, reference numeral 41 denotes an image determination device, which includes a sampling circuit 42 for obtaining image data suitable for image determination from color-separated image signals, and an average for receiving the image data and calculating an average IS ave of the image data. The direction of the black body radiation curve is calculated from the calculation unit 43, the axis parameter calculation unit 44 that receives the image data average IS ave from the average calculation unit 43 and determines the dispersion axis direction, and the sampled image data and the axis parameter calculation unit 44. And a threshold value set internally by receiving the chromatic dispersion signal from the dispersion calculating unit 45,
A threshold processing unit 46 that outputs GWA when the variance is smaller than the threshold and outputs otherwise when the variance is less than the threshold. Reference numeral 47 denotes an average light source estimation unit that receives the image data average IS ave of the average calculation unit 43 and estimates the light source. Reference numeral 48 denotes the primary light source estimation result S1 and the GWA determination signal from the average light source estimation unit 47 and the image determination device 41, respectively. J, and processes the primary light source estimation result S1 based on the GWA determination signal J
It is a comprehensive determination unit that outputs the next light source estimation result S2,
Is a light source estimation result holding unit that holds the secondary light source estimation result S2 from the comprehensive determination unit 48.

【0044】以上ように構成された光源推定装置につい
て、以下その動作を説明する。まず、CCD等の撮像素
子を通じて色分離回路から出力された画像信号が、適当
なサンプリング規則に従ってサンプリング回路42によ
り取り込まれ、平均計算部43に送られる。平均計算部
43は、入力された画像データIS((RGB)、
(Y,R−Y,B−Y)など)を受けて、場合によって
はデータの評価を行ないながら、画像データ平均IS a
veを計算する。平均光源推定部47は、平均計算部43
からの画像データ平均IS aveを受けて、内部に蓄えら
れた光源色とIS aveの比較を行ない、最も近い光源を
推定結果として光源推定結果S1 を出力する。また、画
像判定装置41の軸パラメータ計算部44は、平均計算
部43からの画像データ平均IS aveから最も近い黒体
輻射曲線上の点を求め、その点の法線方向を垂直分散軸
とするように、軸パラメータを出力する。分散計算部4
5は、軸パラメータ計算部44からの軸パラメータと入
力された画像データIS((RGB)、(Y,R−Y,
B−Y)など)を受けて、場合によってはデータの評価
を行ないながら、そのデータの色度空間における黒体輻
射曲線の法線に対する垂直分散である画像データ分散S
GMを計算する。その後の処理は、上記第3の実施例と
同様である。
The operation of the light source estimation device configured as described above will be described below. First, the image signal output from the color separation circuit through an image pickup device such as a CCD is captured by the sampling circuit 42 according to an appropriate sampling rule, and sent to the average calculation unit 43. The average calculator 43 receives the input image data IS ((RGB),
(Y, RY, BY), etc.), the image data average IS a
Calculate ve. The average light source estimation unit 47 includes an average calculation unit 43.
Upon receiving the image data average IS ave from, the light source color stored internally is compared with IS ave, and the light source estimation result S1 is output with the closest light source as the estimation result. Further, the axis parameter calculation unit 44 of the image determination device 41 finds a point on the black body radiation curve closest to the image data average IS ave from the average calculation unit 43, and sets the normal direction of the point as the vertical dispersion axis. To output the axis parameters. Distributed calculation unit 4
Reference numeral 5 denotes the image data IS ((RGB), (Y, RY,
(B-Y), etc.), the image data dispersion S, which is the vertical dispersion with respect to the normal line of the blackbody radiation curve in the chromaticity space of the data, is evaluated while the data is evaluated.
Calculate GM. The subsequent processing is the same as in the third embodiment.

【0045】このように、上記第4の実施例によれば、
軸パラメータ計算部44が、画像データ平均IS aveか
ら最も近い黒体輻射曲線上の点を求め、その点の法線方
向を垂直分散軸として軸パラメータを出力するので、よ
り正確な垂直分散データを得ることができる。そして画
像データの垂直分散に基づいてGWAの成立を判定する
ことにより、光源推定を誤り易いGWA不成立時の光源
判定が破棄されるために、全体として、より誤りの少な
い光源推定装置を実現することができる。
As described above, according to the fourth embodiment,
Since the axis parameter calculation unit 44 obtains the closest point on the black body radiation curve from the image data average IS ave and outputs the axis parameter with the normal direction of that point as the vertical dispersion axis, more accurate vertical dispersion data is obtained. Obtainable. By determining the establishment of GWA based on the vertical dispersion of the image data, the light source determination when the GWA is not established, which is easy to make an error in the light source estimation, is discarded. Therefore, it is possible to realize a light source estimation apparatus with fewer errors as a whole. You can

【0046】なお、上記第3および第4の実施例におい
て、軸パラメータ計算部33,44の処理は、かなり計
算負荷の大きいものなので、精度は落ちるが、色度空間
を適当な領域に分割し、各領域ごと軸パラメータを割り
振っておき、画像データ平均がどの領域に入ったかを算
出することにより軸パラメータを定めるという簡便な手
段を採ることができる。
In the third and fourth embodiments, the processing of the axis parameter calculation units 33 and 44 has a considerably large calculation load, so the accuracy is lowered, but the chromaticity space is divided into appropriate regions. It is possible to adopt a simple means of allocating an axis parameter for each area and determining the axis parameter by calculating in which area the image data average falls.

【0047】[0047]

【発明の効果】以上のように本発明は、色分離された画
像信号をサンプリングして画像判定に適した画像データ
を得るサンプリング手段と、サンプリングされた画像デ
ータからの分布の特徴を表わす統計量を算出する手段
と、算出された統計量に基づいて画像の良否を判定する
手段とを備えているので、画像データの統計処理を正し
く行なうことができる。
As described above, according to the present invention, the sampling means for sampling the color-separated image signal to obtain the image data suitable for the image determination, and the statistical quantity representing the characteristics of the distribution from the sampled image data. Since it is provided with a means for calculating and a means for determining the quality of the image based on the calculated statistical amount, the statistical processing of the image data can be performed correctly.

【0048】本発明はまた、統計量を算出する手段とし
て分散計算手段を設けるとともに、画像の良否を判定す
る手段として閾値処理手段を設けることにより、撮影画
像においてGWAが成立しているか否かを判断すること
ができ、色バランスを正しく調整することができる。
According to the present invention, by providing the variance calculating means as the means for calculating the statistic and the threshold processing means as the means for judging the quality of the image, it is possible to determine whether or not the GWA is established in the photographed image. It can be judged and the color balance can be adjusted correctly.

【0049】本発明はまた、分散計算手段において、黒
体輻射曲線に近似させた光源ラインに対する垂直分散を
計算させることにより、GWA判定をより的確に行なう
ことができる。
According to the present invention, the GWA determination can be performed more accurately by calculating the vertical dispersion for the light source line approximated to the black body radiation curve in the dispersion calculating means.

【0050】本発明はまた、分散計算手段において、黒
体輻射曲線そのものに対する垂直分散を計算させること
により、GWA判定をより的確に行なうことができる。
According to the present invention, the GWA determination can be performed more accurately by calculating the vertical dispersion with respect to the black body radiation curve itself in the dispersion calculating means.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1の実施例における画像判定装置の
構成を示すブロック図
FIG. 1 is a block diagram showing a configuration of an image determination device according to a first embodiment of the present invention.

【図2】本発明の第2の実施例における画像判定装置を
用いた光源推定装置の構成を示すブロック図
FIG. 2 is a block diagram showing a configuration of a light source estimation device using an image determination device according to a second embodiment of the present invention.

【図3】本発明の第3の実施例における別の画像判定装
置を用いた光源推定装置の構成を示すブロック図
FIG. 3 is a block diagram showing the configuration of a light source estimation device using another image determination device according to the third embodiment of the present invention.

【図4】本発明の第4の実施例におけるさらに別の画像
判定装置を用いた光源推定装置の構成を示すブロック図
FIG. 4 is a block diagram showing a configuration of a light source estimation device using still another image determination device according to a fourth embodiment of the present invention.

【図5】色度空間における黒体輻射曲線と光源ラインを
示す概念図
FIG. 5 is a conceptual diagram showing a blackbody radiation curve and a light source line in a chromaticity space.

【符号の説明】[Explanation of symbols]

11 サンプリング回路 12 分散計算部 13 閾値処理部 21 画像判定装置 22 サンプリング回路 23 分散計算部 24 閾値処理部 25 光源推定部 26 総合判定部 27 光源推定結果保持部 31 画像判定装置 32 サンプリング回路 33 軸パラメータ計算部 34 分散計算部 35 閾値処理部 36 光源推定部 37 総合判定部 38 光源推定結果保持部 41 画像判定装置 42 サンプリング回路 43 平均計算部 44 軸パラメータ計算部 45 分散計算部 46 閾値処理部 47 平均光源推定部 48 総合判定部 49 光源推定結果保持部 11 Sampling Circuit 12 Variance Calculating Section 13 Threshold Processing Section 21 Image Judgment Device 22 Sampling Circuit 23 Variance Calculating Section 24 Threshold Processing Section 25 Light Source Estimating Section 26 Total Judgment Section 27 Light Source Estimation Result Holding Section 31 Image Judging Device 32 Sampling Circuit 33 Axis Parameter Calculation unit 34 Variance calculation unit 35 Threshold processing unit 36 Light source estimation unit 37 Total determination unit 38 Light source estimation result storage unit 41 Image determination device 42 Sampling circuit 43 Average calculation unit 44 Axis parameter calculation unit 45 Variance calculation unit 46 Threshold processing unit 47 Average Light source estimation unit 48 Comprehensive determination unit 49 Light source estimation result storage unit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 色分離された画像信号をサンプリングし
て画像判定に適した画像データを得るサンプリング手段
と、サンプリングされた画像データの分布の特徴を表わ
す統計量を算出する手段と、算出された統計量に基づい
て画像の良否を判定する手段とを備えた画像判定装置。
1. A sampling means for sampling color-separated image signals to obtain image data suitable for image determination, a means for calculating a statistic representing characteristics of distribution of the sampled image data, and a calculated means. An image determination device comprising means for determining the quality of an image based on a statistic.
【請求項2】 統計量を算出する手段が、サンプリング
された画像データの分散を算出する分散計算手段であ
り、画像の良否を判定する手段が、算出された統計量の
閾値に対する良否の判定を行なう閾値処理手段である請
求項1記載の画像判定装置。
2. The means for calculating a statistic is a variance calculating means for calculating the variance of sampled image data, and the means for determining the quality of an image determines the quality of a threshold of the calculated statistic. The image determination device according to claim 1, which is a threshold value processing unit for performing.
【請求項3】 画像データの分散が、画像データの色度
空間における分散である請求項2記載の画像判定装置。
3. The image determining apparatus according to claim 2, wherein the variance of the image data is a variance of the image data in the chromaticity space.
【請求項4】 色度空間における分散が、黒体輻射曲線
に近似させた光源ラインに対する垂直分散である請求項
3記載の画像判定装置。
4. The image determination apparatus according to claim 3, wherein the dispersion in the chromaticity space is vertical dispersion with respect to the light source line approximated to the black body radiation curve.
【請求項5】 色度空間における分散が、黒体輻射曲線
に対する垂直分散である請求項3記載の画像判定装置。
5. The image determination device according to claim 3, wherein the dispersion in the chromaticity space is vertical dispersion with respect to the black body radiation curve.
JP3148716A 1991-06-20 1991-06-20 Image judgment device Expired - Lifetime JP2506584B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP3148716A JP2506584B2 (en) 1991-06-20 1991-06-20 Image judgment device
DE69217276T DE69217276T2 (en) 1991-06-20 1992-06-22 Facilities for assessing the quality of an image
US07/903,229 US5448502A (en) 1991-06-20 1992-06-22 Devices for judging image on the basis of gray world assumption, discriminating color chart, deducing light source and regulating color
EP92305724A EP0519761B1 (en) 1991-06-20 1992-06-22 Devices for judging quality of an image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3148716A JP2506584B2 (en) 1991-06-20 1991-06-20 Image judgment device

Publications (2)

Publication Number Publication Date
JPH0568258A true JPH0568258A (en) 1993-03-19
JP2506584B2 JP2506584B2 (en) 1996-06-12

Family

ID=15459001

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3148716A Expired - Lifetime JP2506584B2 (en) 1991-06-20 1991-06-20 Image judgment device

Country Status (1)

Country Link
JP (1) JP2506584B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013128259A (en) * 2011-12-19 2013-06-27 Fujitsu Ltd Imaging apparatus, image processing apparatus, image processing program, and image processing method
US8624995B2 (en) 2006-05-26 2014-01-07 Samsung Electronics Co., Ltd. Automatic white balancing method, medium, and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02194792A (en) * 1989-01-24 1990-08-01 Sony Corp Auto-white-balance circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02194792A (en) * 1989-01-24 1990-08-01 Sony Corp Auto-white-balance circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8624995B2 (en) 2006-05-26 2014-01-07 Samsung Electronics Co., Ltd. Automatic white balancing method, medium, and system
JP2013128259A (en) * 2011-12-19 2013-06-27 Fujitsu Ltd Imaging apparatus, image processing apparatus, image processing program, and image processing method

Also Published As

Publication number Publication date
JP2506584B2 (en) 1996-06-12

Similar Documents

Publication Publication Date Title
EP1774797B1 (en) Automatic white balance method and apparatus
US7750948B2 (en) Image signal processing device, digital camera and computer program product for processing image signal
EP2426928B1 (en) Image processing apparatus, image processing method and program
US7973850B2 (en) Image processing apparatus and image processing method
US5448502A (en) Devices for judging image on the basis of gray world assumption, discriminating color chart, deducing light source and regulating color
JPH0898204A (en) White balance adjustment extent arithmetic unit
US7148921B2 (en) White balance adjustment method, image sensing apparatus, program, and storage medium
US20090231462A1 (en) Image-pickup apparatus and white-balance control method provided therefor
EP0530738A2 (en) Automatic white balance device
JP3330905B2 (en) How to adjust the white balance of a video camera
CN110324529B (en) Image processing apparatus and control method thereof
TWI565319B (en) Electronic device and color correction method therefor
JP2003333616A (en) White balance adjustment method, image pickup device, program, and storage medium
JP4649734B2 (en) Video signal processing apparatus and recording medium on which video signal processing program is recorded
JP2506584B2 (en) Image judgment device
US8654220B2 (en) Image processing apparatus and control method for the same
US8675106B2 (en) Image processing apparatus and control method for the same
JP7455656B2 (en) Image processing device, image processing method, and program
JP4069522B2 (en) Video signal processing apparatus, color video camera, and video signal processing method
KR101143834B1 (en) Aparatus and metod for controlling auto white balance
JP2651960B2 (en) Light source estimation device and color adjustment device
JP2002185976A (en) Video signal processor and recording medium with video signal processing program recorded thereon
JP3384916B2 (en) Imaging device
KR20040067086A (en) Automatic white balance apparatus and method thereof
JP2022186166A (en) Imaging apparatus, control method for the same, program, and storage medium

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080402

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20090402

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20100402

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20110402

Year of fee payment: 15

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

Free format text: PAYMENT UNTIL: 20120402

Year of fee payment: 16

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120402

Year of fee payment: 16