JPH0549049A - Color chart recognition device, gwa discrimination device and light source estimate device - Google Patents

Color chart recognition device, gwa discrimination device and light source estimate device

Info

Publication number
JPH0549049A
JPH0549049A JP3201679A JP20167991A JPH0549049A JP H0549049 A JPH0549049 A JP H0549049A JP 3201679 A JP3201679 A JP 3201679A JP 20167991 A JP20167991 A JP 20167991A JP H0549049 A JPH0549049 A JP H0549049A
Authority
JP
Japan
Prior art keywords
light source
signal
chromaticity
determination
sampling
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.)
Pending
Application number
JP3201679A
Other languages
Japanese (ja)
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 JP3201679A priority Critical patent/JPH0549049A/en
Priority to US07/903,229 priority patent/US5448502A/en
Priority to EP92305724A priority patent/EP0519761B1/en
Priority to DE69217276T priority patent/DE69217276T2/en
Publication of JPH0549049A publication Critical patent/JPH0549049A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

PURPOSE:To provide the color chart recognition device, the GWA discrimination device and the light source estimate device using the recognition device while solving a problem that the estimate of the light source does not follow a color charm often used for evaluation of a commodity or the like when the estimate of a light source is made accurate. CONSTITUTION:A picture signal sampled by a sampling means 1 in a color chart recognition device is converted into a chromaticity signal by a chromaticity conversion means 2, a projection means 3 projects the chromaticity signal in a direction perpendicular to a straight line defined on a chromaticity plane and converts the signal into a displacement of the component in the direction. Then a variance calculation means 4 calculates the variance of the displacement, a 3-dimension moment calculation means 5 calculates a 3-dimension moment of the displacement. Finally, threshold level processing means 61, 62 and an AND circuit 7 are used to implement prescribed processing to realize the color chart recognition device able to recognize a color chart. The excellent GWA discrimination device and the light source estimate device with high accuracy are realized by using the color chart recognition device.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ビデオカメラなどにお
いて、正しい色調を再現させるためのホワイトバランス
調整装置の制御などを行うカラーチャート認識装置とG
WA判定装置と光源推定装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color chart recognizing device for controlling a white balance adjusting device for reproducing a correct color tone in a video camera and the like, and a G chart recognizing device.
The present invention relates to a WA determination device and a light source estimation device.

【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】従来より撮影光源を推定するための手段と
して、異なるスペクトル特性を持った複数の光感応素子
を用いて推定を行う手段と、画像処理を通して推定を行
う手段とが知られている。一般に、光源推定装置はデザ
イン、コストなどの観点から制約のある光感応素子を用
いた手段から、画像信号を処理して推定する手段(以
下、AWBと呼ぶ)へと移行してきている。
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 estimating through image processing. In general, the light source estimation device has been shifting from a means using a photosensitive element, which is restricted in terms of design, cost, etc., to a means for processing and estimating an image signal (hereinafter, referred to as AWB).

【0004】画像処理に基づいて光源を推定する手法の
根拠は、画面中の被写体の色を混合平均するとその色は
無彩色になる、という仮定(Gray World A
ssumtion:GWA)にある。この仮定に基づい
て色調整を行う手法としては、特開昭56−36291
号公報に記載されたものが知られている。
The basis of the method of estimating the light source based on image processing is that the color of the subject in the screen is achromatic when mixed and averaged (Gray World A).
(Sumulation: GWA). As a method for performing color adjustment based on this assumption, Japanese Patent Laid-Open No. 56-36291 is available.
The one described in Japanese Patent Publication is known.

【0005】本発明者は、上記の従来の画像処理に基づ
いた手法の有していた、常に画面全体の色の単純な加算
平均が無彩色になるという仮定の下で処理が行われてい
たので、画面上で特定の色が占める面積が大きい場合な
ど、上記仮定が成立しない場合には、しばしば光源推定
をまちがえ、色バランスが崩れるという欠点を解決する
手法を提案した。それは、画面の色分布の分散を計算す
る分散計算部と、分散計算部からの出力が設定値より大
きいか否かによって閾値処理を行う閾値処理部とからな
るGWAを判定する画像判定装置によって、光源推定結
果の採用不採用を制御するというものであった。
The present inventor carried out the processing under the assumption that the simple arithmetic mean of the colors of the entire screen is always achromatic color, which the method based on the conventional image processing described above has. Therefore, when the above assumption is not satisfied, such as when the area occupied by a specific color on the screen is large, a method has been proposed that solves the drawback that the light source is often mistaken and the color balance is lost. That is, by an image determination device that determines a GWA, which includes a variance calculation unit that calculates the variance of the screen color distribution and a threshold processing unit that performs threshold processing depending on whether the output from the variance calculation unit is greater than a set value, It was to control the adoption / non-adoption of the light source estimation result.

【0006】[0006]

【発明が解決しようとする課題】しかしながら上記の構
成では、商品評価などによく用いられるカラーチャート
に対しては、カラーチャートの色空間での分散が極めて
大きいために、平均が無彩色であってもGWA不成立と
判定し、光源推定が追従しないという課題があった。
However, in the above configuration, the average of the color charts used for product evaluation is achromatic because the color chart has a very large dispersion in the color space. Also has a problem that it is determined that the GWA is not established and the light source estimation does not follow.

【0007】本発明は上記課題を解決するもので、日常
の風物の映像とカラーチャートを区別するカラーチャー
ト認識装置とそれを用いた画像判定装置と光源推定装置
を提供するものである。
The present invention solves the above problems and provides a color chart recognition device for distinguishing an image of a daily life from a color chart, an image determination device using the same, and a light source estimation device.

【0008】[0008]

【課題を解決するための手段】この目的を達成するため
に、カラーチャート認識装置は、CCD等からの画像信
号ISを適当なサンプリング規則にしたがって変換する
サンプリング手段と、サンプリング手段からサンプリン
グされた画像信号を色度信号に変換する色度変換手段
と、色度信号を黒体輻射からの光源の色が黒体の温度を
パラメータとしたときに色度平面上に描く軌跡を近似す
る直線に垂直な方向(V1,V2)へ射影しその方向の
成分大きさに変換する射影手段と、サンプリングデータ
から求められた変位の画像信号分散SGMを計算する分
散計算手段と、射影手段から変位を受けて3次モーメン
トを求める3次モーメント計算手段と、信号を受けて内
部に蓄えられた閾値と比較して判定信号を出力する閾値
処理手段と、AND回路からなる構成を有している。G
WA判定装置は、上の構成に、GWA判定に適したよう
閾値を設定された閾値処理手段と、OR回路とを付加し
た構成を有している。光源推定装置は、さらに、これ
に、サンプリング部からサンプリングされた画像データ
から光源を推定する光源推定部と、GWA判定部から光
源推定制御信号を、光源推定部から光源推定結果を受け
て総合的な判定を行う総合判定部と、総合判定部からの
総合判定結果を受け、それが判定不能であった場合に内
部に保持された光源推定結果を出力する光源推定結果保
持手段とを付加した構成を有している。
In order to achieve this object, a color chart recognition apparatus includes a sampling means for converting an image signal IS from a CCD or the like according to an appropriate sampling rule, and an image sampled from the sampling means. A chromaticity conversion means for converting a signal into a chromaticity signal, and a chromaticity signal perpendicular to a straight line approximating the trajectory drawn on the chromaticity plane when the color of the light source from the black body radiation is the temperature of the black body as a parameter Projection means for projecting in any direction (V1, V2) and converting to component magnitude in that direction, dispersion calculation means for calculating the image signal variance SGM of the displacement obtained from the sampling data, and displacement received from the projection means AND: third-order moment calculating means for obtaining a third-order moment, threshold processing means for receiving a signal, comparing it with a threshold stored internally, and outputting a determination signal, and It has a structure consisting of road. G
The WA determination device has a configuration in which a threshold value processing unit having a threshold value set so as to be suitable for GWA determination and an OR circuit are added to the above configuration. The light source estimation device further receives a light source estimation control signal from the GWA determination unit that estimates the light source from the image data sampled from the sampling unit, a light source estimation control signal from the GWA determination unit, and a light source estimation result from the light source estimation unit. And a light source estimation result holding means for receiving the comprehensive determination result from the comprehensive determination unit and outputting the internally held light source estimation result when the determination is impossible. have.

【0009】[0009]

【作用】この構成により、分散が大きく、かつ3次モー
メントが小さい場合にカラーチャートと判定すること
で、カラーチャートを認識することができる。そして、
GWA判定とともにカラーチャートを認識することによ
り、自然の風物に対するだけでなく、カラーチャートに
対しても光源推定が追従する装置が実現される。
With this configuration, the color chart can be recognized by determining the color chart when the variance is large and the third moment is small. And
By recognizing the color chart together with the GWA determination, a device in which the light source estimation follows not only the natural features but also the color chart is realized.

【0010】[0010]

【実施例】(実施例1)以下、本発明の一実施例につい
て、図面を参照しながら説明する。
(Embodiment 1) An embodiment of the present invention will be described below with reference to the drawings.

【0011】まず、本発明の原理について述べる。AW
Bを可能とするものの本質は、混色は色の彩度を落とす
という現象にある。そして、この現象について考えを進
めれば、十分に多くの色を全て混ぜると、色は無彩色即
ちグレイ(白)になる。
First, the principle of the present invention will be described. AW
The essence of what enables B is the phenomenon that color mixture reduces the saturation of colors. Then, when thinking about this phenomenon, if a sufficient number of colors are mixed, the color becomes an achromatic color, that is, gray (white).

【0012】これに基づいて、AWBでは以下のような
予想の下に処理が行われる。もし、画面に入る被写体が
十分多くの色を含んでいるのであれば、被写体の色の全
平均をとると、それは無彩色になっているはずである。
被写体の色が無彩色であれば、画面の色は、光源色をそ
のまま反映する。すなわち、画面全体の平均色をみれ
ば、光源を推定できる。したがって、画面全体の平均色
を無彩色にするように、色再現系を調整すれば、光源の
演色性を補正することができ、ホワイトバランスの調整
が実現される。
Based on this, the AWB performs processing under the following expectations. If the subject entering the screen contains enough colors, then taking the average of all the subjects' colors should be achromatic.
If the color of the subject is achromatic, the color of the screen 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, if the color reproduction system is adjusted 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】ここで、注意を喚起しておきたいことは、
普通、あまり強調されないことではあるが、「十分多く
の色を含んでいる・・・」に暗に示されているように、
AWBは(一画面に対する)統計的手法であるというこ
とである。AWBが統計的手法であることの本質は、A
WBの限界に関して、よく議論される「赤い光源に照ら
された白い壁と白い光源に照らされた赤い壁を区別でき
るか?」という話に集約されている。よく知られている
ように、統計的手法が適用できるためには、対象が統計
的な議論を許すに足りるだけのものでなければならな
い。上の設定は、対象が統計的手法が適用できない場合
を取り上げている訳であるから、AWBによってただし
く光源が推定できるはずはない。はっきり言えば、上の
設問はAWB適用限界を越えた議論であって、意味はな
い。
Here, the point to be noted is that
Usually, it's not really emphasized, but as implied by "contains enough colors ...",
AWB is a statistical method (for one screen). The essence of AWB being a statistical method is that
Concerning the limits of WB, it is summarized in the well-discussed question, "Can you distinguish a white wall illuminated by a red light source from a red wall illuminated by a white light source?" 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 object, the light source cannot be properly estimated by the AWB. To be clear, the above question is a discussion that goes beyond the limits of AWB, and is meaningless.

【0014】AWBを前提に考える場合には、このよう
に統計的に無意味な条件について論じるのではなく、A
WBの適用限界を把握することが重要である。そして、
AWBの実施において、光源推定を適用限界内に止めお
くことが推定精度確保の上で最も重要である。
When considering AWB, rather than discussing such statistically meaningless conditions, A
It is important to understand the application limits of WB. And
In implementing the AWB, it is most important to keep the light source estimation within the applicable limit in order to secure the estimation accuracy.

【0015】本発明者は、以上のように考え、データ分
析に基づいて以下に述べる考察を行った。
The present inventor considered the above and made the following consideration based on the data analysis.

【0016】色度は2次元であるから、データの分布を
記述する分散軸は2つ存在する。数学的にいえば、その
軸はどのようにとっても構わない。しかし、ホワイトバ
ランスの問題では、色度平面にあって、黒体輻射によっ
て発せられる光の色が黒体の温度をにしたがって描く軌
跡(光源曲線)が、図2に示したように、特別の意味を
持つために、方向の等価性は成り立たない。今、光源曲
線を近似する直線を光源ラインと名付ける。
Since 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 plane, the locus (light source curve) drawn by the color of the light emitted by the blackbody radiation according to the temperature of the blackbody, as shown in FIG. Directional equivalence does not hold because it has meaning. Now, a straight line that approximates the light source curve is named a light source line.

【0017】実際、さまざまな画像の色度データをみる
につけ、光源ライン方向の分散(水平分散)と光源ライ
ンに垂直な方向の分散(垂直分散)には顕著な違いが見
られる。光源ラインに平行な分散は、普通、垂直分散に
比べて大きく、また、屋外撮影において、画面に空が入
るかどうかだけで分散の大きさは大きく変化するといっ
た性質がある。一方、垂直分散には、このような現象は
見られない。したがって、さまざまな被写体に対して、
垂直分散は安定して意味を持つ。以下、水平分散、垂直
分散を区別しないときは、単に分散と呼び、特定する場
合には、水平分散または垂直分散と呼ぶ。
In fact, when looking at the chromaticity data of various images, there is a remarkable difference between the dispersion in the light source line direction (horizontal dispersion) and the dispersion in the direction perpendicular to the light source line (vertical dispersion). The dispersion parallel to the light source line is generally larger than the vertical dispersion, and the size of the dispersion changes greatly depending on whether or not the sky enters the screen in outdoor shooting. On the other hand, such a phenomenon is not observed in vertical dispersion. Therefore, for various subjects,
Vertical dispersion is stable and meaningful. Hereinafter, when the horizontal dispersion and the vertical dispersion are not distinguished, they are simply referred to as dispersion, and when specified, they are referred to as horizontal dispersion or vertical dispersion.

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

【0019】このような彩度の高い服を着た人のバスト
ショット等、AWBの仮定の崩れた被写体では、単純加
算で求められる画面全体の平均の色は、服等の色に強く
引かれてしまう。これが、光源の推定を誤る原因となっ
ている。
For a subject whose AWB 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. Will end up. This is a cause of incorrect estimation of the light source.

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

【0021】このように分散が大きい場合はGWAが成
立していない場合が多く、分散は誤りに関する指標とし
て有効である。ただ、空の影響を排除しようとすれば、
GWAの判定に垂直分散を用いる方がよい。この点を考
えて垂直分散を中心に説明を行うが、これは水平分散が
無効であることを意味するものではない。
When the variance is large as described above, the GWA is often not established, and the variance is effective as an index regarding an error. However, if you try to eliminate the influence of the sky,
It is better to use vertical dispersion for GWA determination. Considering this point, the explanation will focus on vertical dispersion, but this does not mean that horizontal dispersion is invalid.

【0022】上の議論から明きらかなように、垂直分散
を用いて次のような処理を行うと、光源推定の誤り率を
減少させることが可能となる。すなわち、AWBの適用
限界を示す指標の一つである垂直分散が、ある設定値よ
り大きくなった場合には、処理対象の画像においてGW
Aが成立していないと予想される。この場合には光源推
定を実行せず、現在の光源推定結果を保持することで、
誤りの発生を抑制する。
As is clear from the above discussion, 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 AWB, becomes larger than a certain set value, the GW is processed in the image to be processed.
It is expected that A will not hold. In this case, by not performing light source estimation and holding the current light source estimation result,
Suppress the occurrence of errors.

【0023】上に述べた考察に対して、分散が大きくて
も、画面全体の平均の色が無彩色になり、光源が正しく
推定できる場合があるのではないかとの主張もあろう。
しかし、このような場合というのは、画面のかなりの部
分を占める色が互いに補色関係にある場合に、統計学的
な意味での偶然に生じることであって、GWAに基づい
てのホワイトバランス処理には本来想定されていないこ
とである。もちろん、このような被写体が数多く存在す
る訳ではないが、出荷時の評価テストや商品テストなど
でよく用いられるカラーチャートはこれに該当する典型
的な例である。カラーチャートについては、その使用目
的のために、他の画像と区別して認識できることが望ま
れる。
It may be argued that even if the variance is large, the average color of the entire screen becomes achromatic and the light source can be correctly estimated in some cases.
However, in such a case, when colors that occupy a large part of the screen are in a complementary color relationship with each other, it happens by chance in a statistical sense, and white balance processing based on GWA is performed. This is something that was not originally supposed to be. Of course, many such subjects do not exist, but a color chart that is often used in evaluation tests and product tests at the time of shipment is a typical example corresponding to this. It is desirable that the color chart can be recognized separately from other images for the purpose of use.

【0024】カラーチャートを詳しく分析すると、その
特徴は、垂直分散が非常に大きいがデータの分布は平均
値の周りに均等に分布しているというものである。通常
の被写体においては、分散が極めて大きい場合には色空
間でのデータ分布はいびつなものとなっており、人工的
な画像を反映して、カラーチャートのバランスのとれた
色度分布は極めて特徴的である。こうした分布のいびつ
さを取り出す統計量として知られているものに、3次モ
ーメントがある。3次モーメントM3は、 M3=Σ(x−<x>)3/N (ここで、xはデータの値、<x>はxの平均値、Nは
データ数)で定義される。本発明者の分析によると、カ
ラーチャートの分散はGWAが壊れていると判定される
分散閾値の値のほぼ2倍以上であり、3次モーメント絶
対値の大きさはGWAが大丈夫と判定される画像と比較
しても相当に小さく、分散の大きい画像の3次モーメン
トと比較するとその大きさは10倍以上異なる場合がほ
とんどである。したがって、色度データの分散値と3次
モーメント値、特に3次モーメントの絶対値、とを総合
的に判断すれば、非常に高い精度でカラーチャートを認
識することができる。
A detailed analysis of the color chart shows that the vertical distribution is very large, but the data distribution is evenly distributed around the mean value. For normal subjects, the data distribution in the color space is distorted when the variance is extremely large, and the balanced chromaticity distribution of the color chart is extremely characteristic, reflecting the artificial image. Target. The third-order moment is known as a statistic for extracting the distorted distribution. The third moment M3 is defined by M3 = Σ (x− <x>) 3 / N (where x is the value of data, <x> is the average value of x, and N is the number of data). According to the analysis by the present inventor, the dispersion of the color chart is almost twice or more the value of the dispersion threshold value that is determined to be the GWA being broken, and the magnitude of the third-order moment absolute value is determined to be OK in the GWA. The size is considerably smaller than that of the image, and compared with the third moment of the image having large variance, the magnitude is almost 10 times or more different. Therefore, the color chart can be recognized with extremely high accuracy by comprehensively determining the variance value of the chromaticity data and the third moment value, especially the absolute value of the third moment.

【0025】なお、3次モーメントの絶対値を用いなく
てても同様の処理は可能であるが、絶対値を用いた方が
処理は簡単である。以下、説明を簡単にするために、3
次モーメントの絶対値を、単に3次モーメントと呼んで
説明を行う。
Although the same processing can be performed without using the absolute value of the third moment, the processing is simpler when the absolute value is used. Below, in order to simplify the explanation,
The absolute value of the second moment will be simply referred to as the third moment for explanation.

【0026】以上が、本発明の原理である。次に、本発
明の第一の実施例の構成について、図面を参照しながら
説明する。
The above is the principle of the present invention. Next, the configuration of the first embodiment of the present invention will be described with reference to the drawings.

【0027】図1は、カラーチャート認識部の構成を示
すブロック図である。図1において、1はCCD等から
の画像信号ISを適当なサンプリング規則にしたがって
変換するサンプリング手段であり、2はサンプリング手
段1からサンプリングされた画像信号を色度信号に変換
する色度変換手段であり、3は色度信号を原理の説明で
述べた光源ラインに垂直な方向(V1,V2)へ射影
し、その方向の成分大きさ、すなわち光源ラインからの
変位に変換する射影手段であり、4は、サンプリングデ
ータから求められた変位の画像信号分散SGMを計算す
る分散計算手段であり、5は射影手段3から変位Xiを
受けて、3次モーメントM3を求める3次モーメント計
算手段であり、61と62は、信号を受けて内部に蓄え
られた閾値と比較して判定信号を出力する閾値処理手段
であり、7は通常のAND回路であり、100は本発明
の中核をなすカラーチャート判定部である。以上のよう
に構成されたカラーチャート判定装置の動作について、
図2を用いて説明する。
FIG. 1 is a block diagram showing the structure of the color chart recognition section. In FIG. 1, 1 is a sampling means for converting an image signal IS from a CCD or the like according to an appropriate sampling rule, and 2 is a chromaticity conversion means for converting the image signal sampled by the sampling means 1 into a chromaticity signal. Yes, 3 is a projection means for projecting the chromaticity signal in the direction (V1, V2) perpendicular to the light source line described in the explanation of the principle, and converting the component magnitude in that direction, that is, the displacement from the light source line, Reference numeral 4 is a dispersion calculating means for calculating the image signal dispersion SGM of the displacement obtained from the sampling data, and 5 is a third moment calculating means for receiving the displacement Xi from the projecting means 3 to obtain a third moment M3. Reference numerals 61 and 62 are threshold value processing means for receiving a signal and comparing it with a threshold value stored inside to output a determination signal. Reference numeral 7 is an ordinary AND circuit. Reference numeral 0 is a color chart determination unit which is the core of the present invention. Regarding the operation of the color chart determination device configured as described above,
This will be described with reference to FIG.

【0028】なお、入力される画像信号ISについては
(Y,R−Y,B−Y)として、説明するが、これは本
発明を拘束するものではない。。
The input image signal IS will be described as (Y, RY, BY), but this does not restrict the present invention. ..

【0029】まず、CCD等からの画像信号ISは、サ
ンプリング手段1に入り、適当なサンプリング規則にし
たがって変換される。その一例としては、図3に示した
ように画面をm×nのブロックに分割し、図4に示した
ように各ブロックから複数(k個)のデータ点を取り出
して平均しブロック平均、 <IS>i=Σ(Yj,R−Yj,B−Yj)/k (ここで、i=1、・・、N、N(=m×n)はサンプ
リング数、kは各ブロック内でサンプリングされるデー
タ数) を求めるという方法が考えられる。色度計算手段2は、
サンプリング手段1からサンプリングされた画像信号<
IS>i=(YYi,BYi,RYi)を受け、 C1i= BYi/YYi C2i= RYi/YYi これを色度信号CSi=(C1i,C2i)に変換する。
射影手段3は、色度信号CSiを受け、原理の説明で述
べた光源ラインに垂直な方向(V1,V2)へ射影し、
その方向の成分大きさ、すなわち光源ラインからの変
位、Xi、 Xi=C1i・V1+C2i・V2 に変換する。分散計算手段4は、一画面分のサンプリン
グデータから求められた変位Xi、i=1、・・、N、
の画像信号分散SGMを計算する。3次モーメント計算
手段5もまた、射影手段3から変位Xiを受けて、3次
モーメントM3 を求める。閾値処理手段61は、分散計算手段4からの
画像信号分散SGMを受けて、内部に蓄えられた画像分
散閾値θTCと比較し、 SGM<θTCのとき、TSGM=0:非カラーチャート その他の場合には 、TSGM=1:カラーチャートの可
能性あり として、カラーチャート分散判定信号TSGMを出力す
る。閾値処理手段62は、3次モーメント計算手段5か
らの3次モーメントM3を受けて、内部に蓄えられた3
次モーメント閾値θM3と比較し、 M3<θM3のとき、TM3=1:カラーチャートに可能性
あり その他の場合には、TM3=0:非カラーチャート として、カラーチャート3次モーメント判定信号TM3を
出力する。AND回路7は、閾値処理手段61からカラ
ーチャート分散判定信号TSGMを、閾値処理手段62か
らカラーチャート3次モーメント判定信号TM3を受け、
その論理積をとって、カラーチャート判定信号T: T=1:カラーチャートである T=0:カラーチャートではない を出力する。
First, the image signal IS from the CCD or the like enters the sampling means 1 and is converted according to an appropriate sampling rule. As an example, as shown in FIG. 3, the screen is divided into m × n blocks, and a plurality of (k) data points are extracted from each block and averaged as shown in FIG. IS> i = Σ (Yj, R-Yj, B-Yj) / k (where i = 1, ..., N, N (= m × n) is the sampling number, and k is sampled in each block. It is conceivable to obtain the number of data). The chromaticity calculation means 2 is
Image signal sampled from the sampling means 1 <
IS> i = (YYi, BYi, RYi) is received, and C1i = BYi / YYi C2i = RYi / YYi is converted into a chromaticity signal CSi = (C1i, C2i).
The projection means 3 receives the chromaticity signal CSi and projects it in the direction (V1, V2) perpendicular to the light source line described in the description of the principle,
The component magnitude in that direction, that is, the displacement from the light source line, is converted into Xi, Xi = C1i · V1 + C2i · V2. The variance calculation means 4 calculates the displacement Xi obtained from the sampling data for one screen, i = 1, ..., N,
The image signal variance SGM of is calculated. The third moment calculating means 5 also receives the displacement Xi from the projecting means 3 and receives the third moment M3. Ask for. The threshold processing means 61 receives the image signal variance SGM from the variance calculating means 4 and compares it with the image variance threshold θTC stored inside. When SGM <θTC, TSGM = 0: non-color chart Outputs a color chart variance determination signal TSGM, with TSGM = 1: possible color chart. The threshold value processing means 62 receives the third moment M3 from the third moment calculating means 5 and stores the third moment M3 therein.
Compared with the next moment threshold value θM3, when M3 <θM3, TM3 = 1: There is a possibility of color chart. In other cases, TM3 = 0: Non-color chart, the third moment judgment signal TM3 of color chart is output. .. The AND circuit 7 receives the color chart variance determination signal TSGM from the threshold processing means 61 and the color chart third moment determination signal TM3 from the threshold processing means 62,
The logical product is obtained and the color chart determination signal T: T = 1: color chart T = 0: not color chart is output.

【0030】こうして画像信号から、カラーチャートの
判定がなされる。なお、上の光源ラインに垂直な方向を
与えるベクトル(V1,V2)は、おおよそ (V1,V2)〜(1,1) であればよく、厳密に定める必要はない。パラメータに
よってAWB仮定の判定精度はいくらか変化はするが、
その影響はデータ分析の結果大きいものではない。
In this way, the color chart is determined from the image signal. The vector (V1, V2) that gives a direction perpendicular to the upper light source line may be approximately (V1, V2) to (1, 1), and need not be strictly determined. Depending on the parameters, the accuracy of the AWB hypothesis judgment will vary somewhat,
The impact is not significant as a result of data analysis.

【0031】また、垂直分散SGMの計算の本質が、画
像信号が(RGB)であるか、(Y,R−Y,B−Y)
であるかなどに依存しないことはいうまでもない。
The essence of the calculation of the vertical dispersion SGM is that the image signal is (RGB) or (Y, RY, BY).
It goes without saying that it does not depend on whether or not

【0032】さらに、上の計算では、画像信号を2次元
の色度空間に落とした上で垂直分散を計算したが、これ
は、光源曲線を光源曲面と考え直すなど、若干の工夫で
3次元の画像信号を直接用いて計算することもできる。
Further, in the above calculation, the image signal is dropped into the two-dimensional chromaticity space and then the vertical dispersion is calculated. The image signal can also be used directly for calculation.

【0033】加えて、3次元の画像信号を直接用いる場
合などには、原理で説明した光源推定に大きな影響を与
える空などの特定色の効果を除くようにアルゴリズムを
組むこともできる。この場合には、光源ライン方向の分
散も十分意味を持つことができるようになるのでGWA
判定する統計量を垂直分散に特定する必要は薄らぐ。本
発明は、先に述べた画像に対する分析結果から得られた
原理に基づく処理を具現化したものであり、その構成は
ここに記載したものだけでなくさまざまな構成をとるこ
とが可能である。特に判定条件の設定については、多く
の方法がある。そのひとつには、 CC=α・SGM−β・|M3| 0<α<<β として、CCが一定値以下であれば、カラーチャートで
あるとする方法がある。
In addition, when a three-dimensional image signal is directly used, an algorithm can be designed so as to remove 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 dispersion in the light source line direction can also have a sufficient meaning.
It is not necessary to specify the statistic to be determined as the vertical variance. The present invention embodies the processing based on the principle obtained from the analysis result for the image described above, and its configuration is not limited to the one described here and can take various configurations. In particular, there are many methods for setting the determination condition. As one of them, there is a method of setting CC = α · SGM−β · | M3 | 0 <α << β and setting CC as a color chart if CC is equal to or less than a certain value.

【0034】さらに加えて、射影手段3を2つ設け、分
散計算手段4に入力される信号の軸と3次モーメント計
算手段5に入力される信号の軸を変えてもよい。
In addition, two projection means 3 may be provided to change the axis of the signal input to the variance calculation means 4 and the axis of the signal input to the third moment calculation means 5.

【0035】これらの事柄は、以下の実施例においても
同様であるので、繰り返さない。(実施例2)次に、本
発明の第2の実施例の構成について説明する。
Since these matters are the same in the following embodiments, they will not be repeated. (Embodiment 2) Next, the configuration of the second embodiment of the present invention will be described.

【0036】実施例1においては、カラーチャートを認
識するために、光源ラインに垂直な方向の3次モーメン
トを計算した。しかし、この軸方向の統計量を用いてカ
ラーチャートを認識しようとする場合、より簡単な手法
がある。それは、カラーチャートの画面の全平均が無彩
色なるという性質を積極的に利用した手法である。
In Example 1, in order to recognize the color chart, the third moment in the direction perpendicular to the light source line was calculated. However, there is a simpler method for recognizing the color chart by using the statistics in the axial direction. It is a method that positively utilizes the property that the entire average of the color chart screen is achromatic.

【0037】光源の色への影響は、主に色を光源ライン
に沿って移動させるだけであり、それに垂直な方向への
影響はほとんどない。したがって、光源ラインに素直な
方向に射影された色信号の平均<X>は、ほぼ0に保た
れる。この結果、3次モーメントM3は、 と近似できる。
The effect on the color of the light source is mainly to move the color along the light source line, and there is almost no effect on the direction perpendicular thereto. Therefore, the average <X> of the color signals projected in the straight direction on the light source line is maintained at almost 0. As a result, the third moment M3 is Can be approximated by

【0038】本発明の第2の実施例は、3次モーメント
に代わって、垂直3次和M3’ を用いてカラーチャートを認識するものである。その構
成は、実施例1にあって、射影手段の方向パラメータを
光源ラインに垂直になるように設定し、3次モーメント
計算手段5を、垂直3次和を計算するものに変更すれば
よい。
In the second embodiment of the present invention, instead of the third moment, the vertical third-order sum M3 ' Is used to recognize a color chart. In the configuration, in the first embodiment, the direction parameter of the projection means may be set so as to be perpendicular to the light source line, and the third-order moment calculation means 5 may be changed to one for calculating the vertical cubic sum.

【0039】なお、射影手段3を2つ設け、分散計算手
段4に入力される信号の軸と垂直3次和計算手段に入力
される信号の軸を変えてもよい。
It is also possible to provide two projecting means 3 and change the axis of the signal input to the variance calculating means 4 and the axis of the signal input to the vertical cubic sum calculating means.

【0040】(実施例3)以下本発明の第3の実施例に
ついて図面を参照しながら説明する。
(Third Embodiment) A third embodiment of the present invention will be described below with reference to the drawings.

【0041】図5は、カラーチャート判定装置を組み込
んだ画像判定装置の構成を示すブロック図である。
FIG. 5 is a block diagram showing the configuration of an image determination device incorporating a color chart determination device.

【0042】図5において、1はCCD等からの画像信
号ISを適当なサンプリング規則にしたがって変換する
サンプリング手段であり、2はサンプリング手段1から
サンプリングされた画像信号を色度信号に変換する色度
変換手段であり、3は色度信号を原理の説明で述べた光
源ラインに垂直な方向(V1,V2)へ射影し、その方
向の成分大きさ、すなわち光源ラインからの変位に変換
する射影手段であり、4は、サンプリングデータから求
められた変位の画像信号分散SGMを計算する分散計算
手段であり、5は射影手段3から変位Xiを受けて、3
次モーメントM3を求める3次モーメント計算手段であ
り、61と62は、信号を受けて内部に蓄えられた閾値
と比較して判定信号を出力する閾値処理手段であり、7
は通常のAND回路で、以上は図1の構成と同様なもの
であり、ここで加わった、閾値処理手段63は、61、
62と同じ閾値処理手段であり、8は通常のOR回路で
あり、200は画像判定部である。
In FIG. 5, reference numeral 1 is a sampling means for converting an image signal IS from a CCD or the like according to an appropriate sampling rule, and 2 is a chromaticity for converting the image signal sampled by the sampling means 1 into a chromaticity signal. Reference numeral 3 is a conversion means, and 3 is a projection means for projecting the chromaticity signal in the direction (V1, V2) perpendicular to the light source line described in the description of the principle and converting the component magnitude in that direction, that is, the displacement from the light source line. 4 is a dispersion calculation means for calculating the image signal dispersion SGM of the displacement obtained from the sampling data, and 5 is 3 when the displacement Xi is received from the projection means 3.
Third-order moment calculating means for obtaining the second-order moment M3, and 61 and 62 are threshold value processing means for receiving a signal and comparing it with a threshold value stored inside to output a determination signal.
Is a normal AND circuit, and the above is the same as the configuration of FIG. 1. The threshold processing means 63 added here is 61,
The same threshold processing means as 62, 8 is an ordinary OR circuit, and 200 is an image determination unit.

【0043】以上のように構成されたGWA判定装置の
動作について、図6を用いて説明する。
The operation of the GWA determining device configured as above will be described with reference to FIG.

【0044】まず、CCD等からの画像信号ISは、サ
ンプリング手段1に入り、適当なサンプリング規則にし
たがって変換される。色度計算手段2は、サンプリング
手段1からサンプリングされた画像信号(YYi,BY
i,RYi)を受け、 C1i= BYi/YYi C2i= RYi/YYi これを色度信号CSi=(C1i,C2i)に変換する。
射影手段3は、色度信号CSiを受け、原理の説明で述
べた光源ラインに垂直な方向(V1,V2)へ射影し、
その方向の成分大きさ、すなわち光源ラインからの変
位、Xi、 Xi=C1i・V1+C2i・V2 に変換する。分散計算手段4は、一画面分のサンプリン
グデータから求められた変位Xi、i=1、・・、N、
の画像信号分散SGMを計算する。3次モーメント計算
手段5もまた、射影手段3から変位Xiを受けて、3次
モーメントM3を求める。閾値処理手段61は、分散計
算手段4からの画像信号分散SGMを受けて、内部に蓄
えられた画像分散閾値θTCと比較し、 SGM<θTCのとき、TSGM=0:非カラーチャート その他の場合には 、TSGM=1:カラーチャートの可
能性あり として、カラーチャート分散判定信号TSGMを出力す
る。閾値処理手段62は、3次モーメント計算手段5か
らの3次モーメントM3を受けて、内部に蓄えられた3
次モーメント閾値θM3と比較し、 M3<θM3のとき、TM3=1:カラーチャートに可能性
あり その他の場合には、TM3=0:非カラーチャート として、カラーチャート3次モーメント判定信号TM3を
出力する。AND回路7は、閾値処理手段61からカラ
ーチャート分散判定信号TSGMを、閾値処理手段62か
らカラーチャート3次モーメント判定信号TM3を受け、
その論理積をとって、カラーチャート判定信号T: T=1:カラーチャートである T=0:カラーチャートではない を出力する。閾値処理手段63は、分散計算手段4から
の画像信号分散SGMを受けて、内部に蓄えられた画像
分散閾値θSGMと比較し、 SGM<θSGMのとき、J=1:AWB仮定成立(O
K) その他の場合には 、J=0:AWB不仮定成立(N
O) として、GWA判定信号Jを出力する。OR回路8は、
閾値処理手段63からGWA判定信号Jを、AND回路
7からカラーチャート判定信号Tを受け、論理和をとっ
て、光源推定制御信号C: C=1:光源推定結果OK C=0:光源推定結果NG を出力する。
First, the image signal IS from the CCD or the like enters the sampling means 1 and is converted according to an appropriate sampling rule. The chromaticity calculation means 2 receives the image signals (YYi, BY) sampled by the sampling means 1.
i, RYi), and C1i = BYi / YYi C2i = RYi / YYi is converted into a chromaticity signal CSi = (C1i, C2i).
The projection means 3 receives the chromaticity signal CSi and projects it in the direction (V1, V2) perpendicular to the light source line described in the description of the principle,
The component magnitude in that direction, that is, the displacement from the light source line, is converted into Xi, Xi = C1i · V1 + C2i · V2. The variance calculation means 4 calculates the displacement Xi obtained from the sampling data for one screen, i = 1, ..., N,
The image signal variance SGM of is calculated. The third moment calculating means 5 also receives the displacement Xi from the projecting means 3 to obtain the third moment M3. The threshold processing means 61 receives the image signal variance SGM from the variance calculating means 4 and compares it with the image variance threshold θTC stored inside. When SGM <θTC, TSGM = 0: non-color chart Outputs a color chart variance determination signal TSGM, with TSGM = 1: possible color chart. The threshold value processing means 62 receives the third moment M3 from the third moment calculating means 5 and stores the third moment M3 therein.
Compared with the next moment threshold value θM3, when M3 <θM3, TM3 = 1: There is a possibility of color chart. In other cases, TM3 = 0: Non-color chart, the third moment judgment signal TM3 of color chart is output. .. The AND circuit 7 receives the color chart variance determination signal TSGM from the threshold processing means 61 and the color chart third moment determination signal TM3 from the threshold processing means 62,
The logical product is obtained and the color chart determination signal T: T = 1: color chart T = 0: not color chart is output. The threshold processing means 63 receives the image signal variance SGM from the variance calculating means 4 and compares it with the image variance threshold θSGM stored inside. When SGM <θSGM, J = 1: AWB hypothesis holds (O
K) In other cases, J = 0: AWB disagreement holds (N
O), the GWA determination signal J is output. The OR circuit 8 is
The GWA determination signal J is received from the threshold value processing means 63, the color chart determination signal T is received from the AND circuit 7, and a logical sum is calculated to obtain a light source estimation control signal C: C = 1: light source estimation result OK C = 0: light source estimation result. Output NG.

【0045】こうして、カラーチャート判定装置を内包
した画像判定装置が実現される。 (実施例4)以下本発明の第4の実施例について、図面
を参照しながら説明する。
In this way, the image judging device including the color chart judging device is realized. (Embodiment 4) Hereinafter, a fourth embodiment of the present invention will be described with reference to the drawings.

【0046】図7は、光源推定装置の構成を示すブロッ
ク図である。図7において、200は実施例2で説明し
たGWA判定部であり、9はサンプリング部1からサン
プリングされた画像データから光源を推定する光源推定
部であり、10はGWA判定部200から光源推定制御
信号を、光源推定部9から光源推定結果を受けて総合的
な判定を行う総合判定部であり、11は総合判定部から
の総合判定結果を受け、それが判定不能であった場合に
内部に保持された光源推定結果を出力する光源推定結果
保持手段である。
FIG. 7 is a block diagram showing the configuration of the light source estimation device. In FIG. 7, 200 is the GWA determination unit described in the second embodiment, 9 is a light source estimation unit that estimates the light source from the image data sampled by the sampling unit 1, and 10 is a light source estimation control from the GWA determination unit 200. Reference numeral 11 denotes a comprehensive determination unit that receives a light source estimation result from the light source estimation unit 9 to make a comprehensive determination. Reference numeral 11 receives the overall determination result from the comprehensive determination unit, and if the determination cannot be made, internally. The light source estimation result holding means outputs the held light source estimation result.

【0047】以上のように構成された光源推定装置動作
について、図8を参照しながら説明する。総合判定部1
0は、光源推定部9からの光源推定結果S1とGWA判
定部200からの光源推定制御信号Cを受け、 C=1:OKのとき S2=S1 C=0:NGのとき S2=(判定不能) として、2次光源推定結果S2を出力する。光源推定結
果保持部11は、総合判定部10からの2次光源推定結
果S2を受け、 S2≠(判定不能)のとき Sf =S2 Sbuf=S2 S2=(判定不能)のとき Sf =Sbuf Sbuf=Sbuf として、2次光源推定結果をSbufに保持すると同時に
最終光源推定結果Sfを出力する。
The operation of the light source estimation device configured as described above will be described with reference to FIG. Comprehensive judgment section 1
0 receives the light source estimation result S1 from the light source estimation unit 9 and the light source estimation control signal C from the GWA determination unit 200, and when C = 1: OK S2 = S1 C = 0: NG S2 = (determination impossible ), The secondary light source estimation result S2 is output. The light source estimation result holding unit 11 receives the secondary light source estimation result S2 from the comprehensive determination unit 10, and when S2 ≠ (decision impossible) Sf = S2 Sbuf = S2 S2 = (decision impossible) Sf = Sbuf Sbuf = As Sbuf, the secondary light source estimation result is held in Sbuf, and at the same time, the final light source estimation result Sf is output.

【0048】最後に立ち上がり時の処理について述べ
る。立ち上がり時において、GWA判定部からの信号が
C=0(NG)である場合には、別途処理が必要とな
る。この立ち上がり時の処理としては、まず第1に、立
ち上がってから、少なくとも一度、SGM<θとなるま
では、特にJ=OKとする方法がある。第2には、光源
推定結果保持部のSbufに立ち上がり時の標準設定を設
ける方法がある。この標準設定は光源推定結果S1に依
存するように構成しておいてもよい。第3には、推定結
果保持部のSbufを保持する手段をSRAM等を使用す
ることにより、前回の最終推定結果をSbufに保持して
おくという方法がある。
Finally, the process at the time of rising will be described. At the time of rising, if the signal from the GWA determination unit is C = 0 (NG), separate processing is required. As the processing at the time of rising, first, there is a method in which J = OK is set at least once after the rising until SGM <θ. Secondly, there is a method in which Sbuf of the light source estimation result holding unit is provided with a standard setting at the time of rising. This standard setting may be configured to depend on the light source estimation result S1. Thirdly, there is a method of holding the previous final estimation result in Sbuf by using an SRAM or the like as the means for holding Sbuf in the estimation result holding unit.

【0049】以上のように本実施例によれば、画像信号
の分散に基づいてGWAの成立を判定することにより、
光源推定を誤り易いGWA不成立時の光源判定が破棄さ
れるために、全体として誤りの少ない光源推定装置が実
現される。
As described above, according to this embodiment, by determining the establishment of GWA based on the variance of image signals,
Since the light source determination when the GWA is not established is abandoned because the light source estimation is likely to be erroneous, a light source estimating apparatus with less error as a whole is realized.

【0050】なお、上の光源ラインに垂直な方向を与え
るベクトル(V1,V2)は、おおよそ (V1,V2)〜(1,1) であればよく、厳密に定める必要はない。パラメータに
よってAWB仮定の判定精度はいくらか変化はするが、
その影響はデータ分析の結果大きいものではない。
The vector (V1, V2) that gives a direction perpendicular to the above light source line may be approximately (V1, V2) to (1, 1), and need not be strictly determined. Depending on the parameters, the accuracy of the AWB hypothesis judgment will vary somewhat,
The impact is not significant as a result of data analysis.

【0051】また、垂直分散SGMの計算の本質が、画
像信号が(RGB)であるか、(Y,R−Y,B−Y)
であるかなどに依存しないことはいうまでもない。
The essence of the calculation of the vertical dispersion SGM is that the image signal is (RGB) or (Y, RY, BY).
It goes without saying that it does not depend on whether or not

【0052】さらに、上の計算では、画像信号を2次元
の色度空間に落とした上で垂直分散を計算したが、これ
は、光源曲線を光源曲面と考え直すなど、若干の工夫で
3次元の画像信号を直接用いて計算することもできる。
Further, in the above calculation, the image signal is dropped into the two-dimensional chromaticity space and then the vertical dispersion is calculated. The image signal can also be used directly for calculation.

【0053】加えて、3次元の画像信号を直接用いる場
合などには、原理で説明した光源推定に大きな影響を与
える空などの特定色の効果を除くようにアルゴリズムを
組むこともできる。この場合には、光源ライン方向の分
散も十分意味を持つことができるようになるのでGWA
判定する統計量を垂直分散に特定する必要は薄らぐ。本
発明は、先に述べた画像に対する分析結果から得られた
原理に基づく処理を具現化したものであり、その構成は
ここに記載したものだけでなくさまざまな構成をとるこ
とが可能である。特に判定条件の設定については、多く
の方法がある。
In addition, when a three-dimensional image signal is directly used, an algorithm can be constructed so as to remove 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 dispersion in the light source line direction can also have a sufficient meaning.
It is not necessary to specify the statistic to be determined as the vertical variance. The present invention embodies the processing based on the principle obtained from the analysis result for the image described above, and its configuration is not limited to the one described here and can take various configurations. In particular, there are many methods for setting the determination condition.

【0054】[0054]

【発明の効果】以上のように本発明は、カラーチャート
認識装置は、CCD等からの画像信号ISを適当なサン
プリング規則にしたがって変換するサンプリング手段
と、サンプリング手段からサンプリングされた画像信号
を色度信号に変換する色度変換手段と、色度信号を原理
の説明で述べた光源ラインに垂直な方向(V1,V2)
へ射影しその方向の成分大きさに変換する射影手段と、
サンプリングデータから求められた変位の画像信号分散
SGMを計算する分散計算手段と、射影手段から変位X
iを受けて3次モーメントM3を求める3次モーメント
計算手段と、信号を受けて内部に蓄えられた閾値と比較
して判定信号を出力する閾値処理手段と、AND回路か
らなる構成によって、色度の分散が大きく、かつ3次モ
ーメントが小さいというカラーチャートの特徴を取り出
すことにより、カラーチャートを認識することができる
優れたカラーチャート認識装置を実現できるものであ
る。さらに、上の構成にGWA判定に適したよう閾値を
設定された閾値処理手段と、OR回路とを付加すること
により、カラーチャート認識もできる優れたGWA判定
装置が実現できる。加えて、GWA判定装置にサンプリ
ング部からサンプリングされた画像データから光源を推
定する光源推定部と、GWA判定部から光源推定制御信
号を、光源推定部から光源推定結果を受けて総合的な判
定を行う総合判定部と、総合判定部からの総合判定結果
を受け、それが判定不能であった場合に内部に保持され
た光源推定結果を出力する光源推定結果保持手段とを付
加することにより、GWA判定とカラーチャート認識を
行いつつ光源推定を実行する優れた光源推定装置を実現
できるものである。
As described above, according to the present invention, the color chart recognition device has the sampling means for converting the image signal IS from the CCD or the like according to an appropriate sampling rule and the chromaticity of the image signal sampled by the sampling means. Chromaticity conversion means for converting into a signal, and a direction (V1, V2) perpendicular to the light source line described in the explanation of the principle of the chromaticity signal
Projection means for projecting to and converting to the component size in that direction,
Dispersion calculation means for calculating the image signal dispersion SGM of the displacement obtained from the sampling data, and displacement X from the projection means.
The third-order moment calculating means for receiving the third-order moment M3 in response to i, the threshold processing means for receiving the signal and comparing with the internally stored threshold value and outputting the determination signal, and the AND circuit, the chromaticity It is possible to realize an excellent color chart recognition device capable of recognizing a color chart by taking out the feature of the color chart in which the variance of 1 is large and the third moment is small. Further, by adding a threshold value processing unit having a threshold value set to be suitable for GWA determination and an OR circuit to the above configuration, an excellent GWA determination apparatus capable of color chart recognition can be realized. In addition, the GWA determination device receives a light source estimation control signal from the light source estimation unit that estimates the light source from the image data sampled from the sampling unit, the GWA determination unit, and the light source estimation result from the light source estimation unit to make a comprehensive determination. The GWA is provided by adding a comprehensive determination unit for performing and a light source estimation result holding unit that receives the comprehensive determination result from the comprehensive determination unit and outputs the internally held light source estimation result when the determination cannot be performed. It is possible to realize an excellent light source estimation device that performs light source estimation while performing determination and color chart recognition.

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

【図1】本発明の第1の実施例におけるカラーチャート
認識装置の構成を示すブロック結線図
FIG. 1 is a block connection diagram showing a configuration of a color chart recognition device according to a first embodiment of the present invention.

【図2】本発明の第1の実施例におけるカラーチャート
認識装置の動作を示すフローチャート
FIG. 2 is a flowchart showing the operation of the color chart recognition device in the first embodiment of the present invention.

【図3】画像データのサンプリング形式の実施例を示す
概念図
FIG. 3 is a conceptual diagram showing an example of a sampling format of image data.

【図4】画像データのサンプリング形式の実施例を示す
概念図
FIG. 4 is a conceptual diagram showing an example of a sampling format of image data.

【図5】本発明の第2の実施例におけるGWA判定装置
の構成を示すブロック結線図
FIG. 5 is a block connection diagram showing a configuration of a GWA determination device according to a second embodiment of the present invention.

【図6】本発明の第2の実施例におけるGWA判定装置
の動作を示すフローチャート
FIG. 6 is a flowchart showing the operation of the GWA determining device in the second embodiment of the present invention.

【図7】本発明の第3の実施例における光源推定装置の
構成を示すブロック結線図
FIG. 7 is a block connection diagram showing a configuration of a light source estimation device in a third embodiment of the present invention.

【図8】本発明の第3の実施例における光源推定装置の
動作を示すフローチャート
FIG. 8 is a flowchart showing the operation of the light source estimation device in the third embodiment of the present invention.

【図9】本発明の第2に実施例の原理を説明するための
色空間における光源ラインを示す概念図
FIG. 9 is a conceptual diagram showing a light source line in a color space for explaining the principle of the second embodiment of the present invention.

【図10】本発明のの原理を説明するためのカラーチャ
ートと通常の画像の分散−3次モーメント平面における
分布の概念図
FIG. 10 is a color chart for explaining the principle of the present invention and a conceptual diagram of distribution of a normal image and distribution in the third moment plane.

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

1 サンプリング手段 2 色度変換手段 3 射影手段 4 分散計算手段 5 3次モーメント計算手段 61 閾値処理手段 62 閾値処理手段 63 閾値処理手段 7 AND回路 8 OR回路 9 光源推定部 10 総合判定部 11 光源推定結果保持部 100 カラーチャート認識部 200 GWA判定部 DESCRIPTION OF SYMBOLS 1 Sampling means 2 Chromaticity conversion means 3 Projection means 4 Variance calculation means 5 Third moment calculation means 61 Threshold processing means 62 Threshold processing means 63 Threshold processing means 7 AND circuit 8 OR circuit 9 Light source estimation section 10 Overall determination section 11 Light source estimation Result holding unit 100 Color chart recognition unit 200 GWA determination unit

Claims (21)

【特許請求の範囲】[Claims] 【請求項1】 画像信号の統計量に基づいてカラーチャ
ートを認識するカラーチャート認識装置。
1. A color chart recognition device for recognizing a color chart based on a statistic of an image signal.
【請求項2】 統計量は、色分布の分散と3次モーメン
トであることを特徴とする請求項1記載のカラーチャー
ト認識装置。
2. The color chart recognition device according to claim 1, wherein the statistic is a variance of a color distribution and a third moment.
【請求項3】 統計量は、色分布の分散と色度信号を黒
体輻射からの光源の色が黒体の温度をパラメータとした
ときに色度平面上に描く軌跡を近似する直線に垂直な方
向へ射影しその方向の成分の大きさの3次和であること
を特徴とする請求項1記載のカラーチャート認識装置。
3. The statistic is perpendicular to a straight line that approximates the trajectory drawn on the chromaticity plane when the color of the light source from the black body radiation is used as a parameter for the dispersion of the color distribution and the chromaticity signal. The color chart recognition device according to claim 1, wherein the color chart recognition device projects in any direction and is a cubic sum of the magnitudes of components in that direction.
【請求項4】 読取手段からの画像信号ISを適当なサ
ンプリング規則にしたがって変換するサンプリング手段
と、サンプリング手段からサンプリングされた画像信号
を色度信号に変換する色度変換手段と、色度信号を黒体
輻射からの光源の色が黒体の温度をパラメータとしたと
きに色度平面上に描く軌跡を近似する直線に垂直な方向
へ射影しその方向の成分の大きさである変位に変換する
射影手段と、サンプリングデータから求められた変位の
画像信号分散を計算する分散計算手段と、射影手段から
変位を受けて3次モーメントを求める3次モーメント計
算手段と、信号を受けて内部に蓄えられた閾値と比較し
て判定信号を出力する閾値処理手段と、論理積回路から
なるカラーチャート認識装置。
4. Sampling means for converting the image signal IS from the reading means according to an appropriate sampling rule, chromaticity conversion means for converting the image signal sampled by the sampling means into chromaticity signals, and chromaticity signals. When the color of the light source from the black body radiation is the parameter of the temperature of the black body, it is projected in the direction perpendicular to the straight line approximating the locus drawn on the chromaticity plane and converted into the displacement which is the magnitude of the component in that direction. Projection means, dispersion calculation means for calculating the image signal variance of the displacement obtained from the sampling data, third moment calculation means for obtaining the third moment by receiving the displacement from the projection means, and receiving the signal and storing it internally. A color chart recognition device including a threshold value processing means for outputting a determination signal in comparison with the threshold value and an AND circuit.
【請求項5】 分散計算手段に入力される信号を生成す
る射影手段と、3次モーメント計算手段に入力される信
号を生成する射影手段が独立したパラメータ有すること
を特徴とする請求項4記載のカラーチャート認識装置。
5. The projection means for generating a signal input to the variance calculation means and the projection means for generating a signal input to the third moment calculation means have independent parameters. Color chart recognition device.
【請求項6】 読取手段からの画像信号ISを適当なサ
ンプリング規則にしたがって変換するサンプリング手段
と、サンプリング手段からサンプリングされた画像信号
を色度信号に変換する色度変換手段と、色度信号を黒体
輻射からの光源の色が黒体の温度をパラメータとしたと
きに色度平面上に描く軌跡を近似する直線に垂直な方向
へ射影しその方向の成分大きさに変換する射影手段と、
サンプリングデータから求められた変位の画像信号分散
を計算する分散計算手段と、射影手段から変位を受けて
垂直3次和を求める垂直3次和計算手段と、信号を受け
て内部に蓄えられた閾値と比較して判定信号を出力する
閾値処理手段と、論理積回路からなるカラーチャート認
識装置。
6. A sampling means for converting the image signal IS from the reading means according to an appropriate sampling rule, a chromaticity conversion means for converting the image signal sampled by the sampling means into a chromaticity signal, and a chromaticity signal. Projection means for projecting in a direction perpendicular to a straight line approximating the locus drawn on the chromaticity plane when the color of the light source from the black body radiation is the parameter of the temperature of the black body, and converting to a component size in that direction,
Dispersion calculating means for calculating the image signal dispersion of the displacement obtained from the sampling data, vertical third-order sum calculating means for obtaining the vertical third-order sum by receiving the displacement from the projecting means, and a threshold value internally stored by receiving the signal. And a color chart recognizing device including a threshold value processing unit that outputs a determination signal in comparison with.
【請求項7】 分散計算手段に入力される信号を生成す
る射影手段と、垂直3次和計算手段に入力される信号を
生成する射影手段が独立したパラメータ有することを特
徴とする請求項6記載のカラーチャート認識装置。
7. The projection means for generating a signal input to the variance calculation means and the projection means for generating a signal input to the vertical cubic sum calculation means have independent parameters. Color chart recognition device.
【請求項8】 画像信号の統計量によって、画面の全平
均が灰色であるあるかどうかとカラーチャートであるか
どうかを判定するGWA判定装置。
8. A GWA determination device that determines whether the average of all screens is gray and whether it is a color chart, based on the statistics of image signals.
【請求項9】 統計量は、分散と3次モーメントである
ことを特徴とする請求項8記載のGWA判定装置。
9. The GWA determination device according to claim 8, wherein the statistics are variance and third moment.
【請求項10】 統計量は、分散と垂直3次和であるこ
とを特徴とする請求項8記載のGWA判定装置。
10. The GWA determining device according to claim 8, wherein the statistic is a variance and a vertical cubic sum.
【請求項11】 読取手段からの画像信号ISを適当な
サンプリング規則にしたがって変換するサンプリング手
段と、サンプリング手段からサンプリングされた画像信
号を色度信号に変換する色度変換手段と、色度信号を原
理の説明で述べた光源ラインに垂直な方向へ射影しその
方向の成分大きさに変換する射影手段と、サンプリング
データから求められた変位の画像信号分散を計算する分
散計算手段と、射影手段から変位を受けて3次モーメン
トを求める3次モーメント計算手段と、信号を受けて内
部に蓄えられた閾値と比較して判定信号を出力する閾値
処理手段と、2つの閾値処理手段からの信号の論理積を
とる論理積回路と、画面の全平均が灰色であるあるかど
うかをGWA判定するに適したよう閾値を設定された閾
値処理手段と、論理積回路からの出力とGWA判定を行
う閾値処理手段の出力との論理和をとる論理和回路とか
ら構成されたGWA判定装置。
11. Sampling means for converting the image signal IS from the reading means according to an appropriate sampling rule, chromaticity conversion means for converting the image signal sampled by the sampling means into chromaticity signals, and chromaticity signals. Projection means for projecting in the direction perpendicular to the light source line described in the explanation of the principle and converting to the component size in that direction, dispersion calculation means for calculating the image signal dispersion of the displacement obtained from the sampling data, and projection means Third moment calculating means for receiving a third moment by receiving displacement, threshold processing means for receiving a signal and comparing with a threshold value stored inside and outputting a determination signal, and logic of signals from two threshold processing means A logical product circuit for taking a product, threshold processing means having a threshold value set so as to be suitable for the GWA determination of whether or not the overall average of the screen is gray, and a logic A GWA judging device comprising a logical sum circuit for taking the logical sum of the output from the product circuit and the output of the threshold value processing means for judging the GWA.
【請求項12】 分散計算手段に入力される信号を生成
する射影手段と、3次モーメント計算手段に入力される
信号を生成する射影手段が独立したパラメータ有するこ
とを特徴とする請求項11記載のGWA判定装置。
12. The projection means for generating a signal input to the variance calculation means and the projection means for generating a signal input to the third moment calculation means have independent parameters. GWA determination device.
【請求項13】 CCD等からの画像信号ISを適当な
サンプリング規則にしたがって変換するサンプリング手
段と、サンプリング手段からサンプリングされた画像信
号を色度信号に変換する色度変換手段と、色度信号を原
理の説明で述べた光源ラインに垂直な方向へ射影しその
方向の成分大きさに変換する射影手段と、サンプリング
データから求められた変位の画像信号分散を計算する分
散計算手段と、射影手段から変位を受けて垂直3次和を
求める垂直3次和計算手段と、信号を受けて内部に蓄え
られた閾値と比較して判定信号を出力する閾値処理手段
と、2つの閾値処理手段からの信号の論理積をとる論理
積回路と、GWA判定に適したよう閾値を設定された閾
値処理手段と、論理積回路からの出力とGWA判定を行
う閾値処理手段の出力との論理和をとる論理和回路とか
ら構成されたGWA判定装置。
13. A sampling means for converting an image signal IS from a CCD or the like according to an appropriate sampling rule, a chromaticity conversion means for converting an image signal sampled by the sampling means into a chromaticity signal, and a chromaticity signal. Projection means for projecting in the direction perpendicular to the light source line described in the explanation of the principle and converting to the component size in that direction, dispersion calculation means for calculating the image signal dispersion of the displacement obtained from the sampling data, and projection means A vertical third-order sum calculation means for receiving a displacement to obtain a vertical third-order sum, a threshold processing means for receiving a signal and outputting a determination signal in comparison with a threshold value stored inside, and signals from two threshold processing means. Output of the AND circuit, the threshold value processing means having a threshold value set so as to be suitable for the GWA determination, and the output of the AND circuit and the threshold value processing means for performing the GWA determination. A GWA determination device configured with a logical sum circuit that takes a logical sum with a force.
【請求項14】 分散計算手段に入力される信号を生成
する射影手段と、垂直3次和計算手段に入力される信号
を生成する射影手段が独立したパラメータ有することを
特徴とする請求項13記載のGWA判定装置。
14. The projection means for generating a signal input to the variance calculation means and the projection means for generating a signal input to the vertical cubic sum calculation means have independent parameters. GWA determination device.
【請求項15】 画像信号の統計量によって、画面の全
平均が灰色であるかどうかとカラーチャートであるかど
うかを判定によって、光源推定結果を評価して光源を推
定する光源推定装置。
15. A light source estimation device for estimating a light source by evaluating a light source estimation result by determining whether the total average of a screen is gray and whether it is a color chart based on a statistical amount of an image signal.
【請求項16】 統計量は、分散と3次モーメントであ
ることを特徴とする請求項15記載の光源推定装置。
16. The light source estimation apparatus according to claim 15, wherein the statistics are variance and third moment.
【請求項17】 統計量は、分散と垂直3次和であるこ
とを特徴とする請求項15記載の光源推定装置。
17. The light source estimation apparatus according to claim 15, wherein the statistic is a variance and a vertical cubic sum.
【請求項18】 読取手段からの画像信号ISを適当な
サンプリング規則にしたがって変換するサンプリング手
段と、サンプリング手段からサンプリングされた画像信
号を色度信号に変換する色度変換手段と、色度信号を黒
体輻射からの光源の色が黒体の温度をパラメータとした
ときに色度平面上に描く軌跡を近似する直線に垂直な方
向へ射影しその方向の成分大きさに変換する射影手段
と、サンプリングデータから求められた変位の画像信号
分散を計算する分散計算手段と、射影手段から変位を受
けて3次モーメントを求める3次モーメント計算手段
と、信号を受けて内部に蓄えられた閾値と比較して判定
信号を出力する閾値処理手段と、2つの閾値処理手段か
らの信号の論理積をとる論理積回路と、GWA判定に適
したよう閾値を設定された閾値処理手段と、論理積回路
からの出力とGWA判定を行う閾値処理手段の出力との
論理和をとる論理和回路と、サンプリング部からサンプ
リングされた画像データから光源を推定する光源推定部
と、論理和回路から光源推定制御信号を受け光源推定部
から光源推定結果を受けて総合的な判定を行う総合判定
部と、総合判定部からの総合判定結果を受けそれが判定
不能であった場合に内部に保持された光源推定結果を出
力する光源推定結果保持手段と光源推定装置。
18. A sampling means for converting the image signal IS from the reading means according to an appropriate sampling rule, a chromaticity conversion means for converting the image signal sampled by the sampling means into a chromaticity signal, and a chromaticity signal. Projection means for projecting in a direction perpendicular to a straight line approximating the locus drawn on the chromaticity plane when the color of the light source from the black body radiation is the parameter of the temperature of the black body, and converting to a component size in that direction, Dispersion calculating means for calculating the image signal dispersion of the displacement obtained from the sampling data, third moment calculating means for obtaining the third moment by receiving the displacement from the projecting means, and comparison with the threshold value stored internally upon receiving the signal A threshold value processing unit for outputting a determination signal, a logical product circuit for obtaining a logical product of the signals from the two threshold value processing units, and a threshold value suitable for GWA determination. A threshold value processing unit, a logical sum circuit that takes the logical sum of the output from the logical product circuit and the output of the threshold value processing unit that performs the GWA determination, and a light source estimation unit that estimates the light source from the image data sampled by the sampling unit. When the light source estimation control signal is received from the logical sum circuit and the light source estimation result is received from the light source estimation unit to make a comprehensive determination, and the comprehensive determination result from the comprehensive determination unit is received and it is impossible to make a determination A light source estimation result holding means and a light source estimation device for outputting the light source estimation result held inside.
【請求項19】 分散計算手段に入力される信号を生成
する射影手段と、3次モーメント計算手段に入力される
信号を生成する射影手段が独立したパラメータ有するこ
とを特徴とする請求項18記載の光源推定装置。
19. The projection means for generating a signal input to the variance calculation means and the projection means for generating a signal input to the third moment calculation means have independent parameters. Light source estimation device.
【請求項20】 読取手段からの画像信号ISを適当な
サンプリング規則にしたがって変換するサンプリング手
段と、サンプリング手段からサンプリングされた画像信
号を色度信号に変換する色度変換手段と、色度信号を黒
体輻射からの光源の色が黒体の温度をパラメータとした
ときに色度平面上に描く軌跡を近似する直線に垂直な方
向へ射影しその方向の成分の大きさに変換する射影手段
と、サンプリングデータから求められた変位の画像信号
分散を計算する分散計算手段と、射影手段から変位を受
けて垂直3次和を求める垂直3次和計算手段と、信号を
受けて内部に蓄えられた閾値と比較して判定信号を出力
する閾値処理手段と、2つの閾値処理手段からの信号の
論理積をとる論理積回路と、GWA判定に適したよう閾
値を設定された閾値処理手段と、論理積回路からの出力
とGWA判定を行う閾値処理手段の出力との論理和をと
る論理和回路と、サンプリング部からサンプリングされ
た画像データから光源を推定する光源推定部と、論理和
回路から光源推定制御信号を受け光源推定部から光源推
定結果を受けて総合的な判定を行う総合判定部と、総合
判定部からの総合判定結果を受けそれが判定不能であっ
た場合に内部に保持された光源推定結果を出力する光源
推定結果保持手段とからなる光源推定装置。
20. Sampling means for converting the image signal IS from the reading means according to an appropriate sampling rule, chromaticity conversion means for converting the image signal sampled by the sampling means into chromaticity signals, and chromaticity signals Projection means for projecting in a direction perpendicular to a straight line approximating the locus drawn on the chromaticity plane when the color of the light source from the black body radiation is used as a parameter and converting it to the magnitude of the component in that direction. , A variance calculating means for calculating the image signal variance of the displacement obtained from the sampling data, a vertical third-order sum calculating means for obtaining the vertical third-order sum by receiving the displacement from the projecting means, and a signal stored internally. A threshold processing unit that outputs a determination signal by comparing with a threshold value, an AND circuit that obtains a logical product of signals from two threshold processing units, and a threshold value set with a threshold value suitable for GWA determination. A processing unit, a logical sum circuit that takes the logical sum of the output from the logical product circuit and the output of the threshold value processing unit that determines the GWA, a light source estimation unit that estimates the light source from the image data sampled by the sampling unit, and a logic An internal judgment unit that receives a light source estimation control signal from a summing circuit and receives a light source estimation result from a light source estimation unit to make a comprehensive judgment, and an internal judgment when the comprehensive judgment result from the comprehensive judgment unit cannot be judged A light source estimation device comprising a light source estimation result holding means for outputting the light source estimation result held in the.
【請求項21】 分散計算手段に入力される信号を生成
する射影手段と、垂直3次和計算手段に入力される信号
を生成する射影手段が独立したパラメータを有すること
を特徴とする請求項20記載の光源推定装置。
21. The projection means for generating a signal input to the variance calculation means and the projection means for generating a signal input to the vertical cubic sum calculation means have independent parameters. The light source estimation device described.
JP3201679A 1991-06-20 1991-08-12 Color chart recognition device, gwa discrimination device and light source estimate device Pending JPH0549049A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP3201679A JPH0549049A (en) 1991-08-12 1991-08-12 Color chart recognition device, gwa discrimination device and light source estimate device
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
DE69217276T DE69217276T2 (en) 1991-06-20 1992-06-22 Facilities for assessing the quality of an image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3201679A JPH0549049A (en) 1991-08-12 1991-08-12 Color chart recognition device, gwa discrimination device and light source estimate device

Publications (1)

Publication Number Publication Date
JPH0549049A true JPH0549049A (en) 1993-02-26

Family

ID=16445107

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3201679A Pending JPH0549049A (en) 1991-06-20 1991-08-12 Color chart recognition device, gwa discrimination device and light source estimate device

Country Status (1)

Country Link
JP (1) JPH0549049A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002034053A (en) * 2000-07-18 2002-01-31 Nikon Corp Electronic camera

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002034053A (en) * 2000-07-18 2002-01-31 Nikon Corp Electronic camera
JP4543514B2 (en) * 2000-07-18 2010-09-15 株式会社ニコン Electronic camera

Similar Documents

Publication Publication Date Title
US10542243B2 (en) Method and system of light source estimation for image processing
CN107451969B (en) Image processing method, image processing device, mobile terminal and computer readable storage medium
EP0519761B1 (en) Devices for judging quality of an image
CN107424198B (en) Image processing method, image processing device, mobile terminal and computer readable storage medium
CN108024107B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
US5982951A (en) Apparatus and method for combining a plurality of images
CN107077725A (en) Data processing equipment, imaging device and data processing method
CN109688396B (en) Image white balance processing method and device and terminal equipment
CN101690160B (en) Methods, systems and apparatuses for motion detection using auto-focus statistics
US9307213B2 (en) Robust selection and weighting for gray patch automatic white balancing
CN107317967B (en) Image processing method, image processing device, mobile terminal and computer readable storage medium
EP0530738A2 (en) Automatic white balance device
TW201830337A (en) Method and device for performing automatic white balance on an image
US10499047B2 (en) Image processing apparatus, image processing system, and non-transitory computer readable medium
CN107464225B (en) Image processing method, image processing device, computer-readable storage medium and mobile terminal
TWI649724B (en) Method and apparatus for determining a light source of an image and performing color vision adaptation on the image
CN107392870B (en) Image processing method, image processing device, mobile terminal and computer readable storage medium
JPH0549049A (en) Color chart recognition device, gwa discrimination device and light source estimate device
CN115426487A (en) Color correction matrix adjusting method and device, electronic equipment and readable storage medium
JP3052592B2 (en) Light source estimation device
JP7455656B2 (en) Image processing device, image processing method, and program
CN112243118B (en) White balance correction method, device, equipment and storage medium
US11509797B2 (en) Image processing apparatus, image processing method, and storage medium
JP2002185977A (en) Video signal processor and recording medium with video signal processing program recorded thereon
US10701328B2 (en) Image processing device, image processing method, and image processing program