JP2003134531A - Image processing apparatus, image processing system, image processing method, storage medium, and program - Google Patents

Image processing apparatus, image processing system, image processing method, storage medium, and program

Info

Publication number
JP2003134531A
JP2003134531A JP2001329641A JP2001329641A JP2003134531A JP 2003134531 A JP2003134531 A JP 2003134531A JP 2001329641 A JP2001329641 A JP 2001329641A JP 2001329641 A JP2001329641 A JP 2001329641A JP 2003134531 A JP2003134531 A JP 2003134531A
Authority
JP
Japan
Prior art keywords
color temperature
white balance
image processing
color
range
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
JP2001329641A
Other languages
Japanese (ja)
Inventor
Mitsuaki Hattori
光明 服部
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2001329641A priority Critical patent/JP2003134531A/en
Publication of JP2003134531A publication Critical patent/JP2003134531A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide an image processing apparatus that can obtain an excellent result of applying white balance adjustment (correction) to every photographed image. SOLUTION: A colorimetric means 150 measures a color temperature of external light at acquisition of a photographed image (color temperature of light source around a camera for acquiring the photographed image) in the case of applying white balance correction to the photographing image. A control means 121a revises a range (white balance correction value control limiter range) of a limiter controlling a white balance correction available color temperature with respect to the photographed image on the basis of the colorimetric result by the colorimetric means 150.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えば、撮影画像
のホワイトバランスを調整するための装置或いはシステ
ムに用いられる、画像処理装置、画像処理システム、画
像処理方法、それを実施するためのプログラムを記憶し
たコンピュータ読出可能な記憶媒体、及び当該プログラ
ムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, an image processing system, an image processing method, and a program for implementing the same, which are used in an apparatus or system for adjusting the white balance of a captured image. The present invention relates to a stored computer-readable storage medium and the program.

【0002】[0002]

【従来の技術】従来より例えば、ディジタルスチルカメ
ラの動作モードとして、自動ホワイトバランス調整モー
ドがある。自動ホワイトバランス調整モードとは、撮像
素子から得られる撮像画像データから、無彩色と思われ
る画像領域を抽出し、当該画像領域が無彩色となるよう
に、ホワイトバランス補正(調整)を行うモードであ
る。
2. Description of the Related Art Conventionally, as an operation mode of a digital still camera, there is an automatic white balance adjustment mode. The automatic white balance adjustment mode is a mode in which an image area that seems to be an achromatic color is extracted from the captured image data obtained from the image sensor and white balance correction (adjustment) is performed so that the image area becomes an achromatic color. is there.

【0003】具体的には例えば、自動ホワイトバランス
調整モードでは、オートホワイトバランス算出方法(以
下、「TTL方式」と言う)が用いられる。TTL方式
とは、撮像画像データの無彩色と思われる画像領域のデ
ータに対して、当該画像領域が無彩色となるように、当
該画像領域を構成する色成分のR成分及びB成分のゲイ
ンを算出する方法である。TTL方式としては、例え
ば、ホワイトバランスのR成分とB成分のゲイン(利
得)の制御範囲にリミッタ(以下、「ホワイトバランス
補正値制御リミッタ」と言う)を設け、極端に誤ったホ
ワイトバランスの補正値が算出できないようにする、と
いう方法がある。
Specifically, for example, in the automatic white balance adjustment mode, an automatic white balance calculation method (hereinafter referred to as "TTL method") is used. The TTL method refers to the gains of the R and B components of the color components forming the image area so that the image area becomes achromatic with respect to the data of the image area that is considered to be achromatic in the captured image data. This is the method of calculation. As a TTL method, for example, a limiter (hereinafter, referred to as a “white balance correction value control limiter”) is provided in the control range of the gain (gain) of the R component and the B component of the white balance, and extremely erroneous white balance correction is performed. There is a method to prevent the value from being calculated.

【0004】上記のTTL方式におけるホワイトバラン
ス補正値制御リミッタに関して、撮像素子から得られる
撮像画像中に存在する被写体の輝度情報に応じて、その
範囲変更を行う場合がある。例えば、被写体の輝度が十
分高いと判断した場合、被写体は屋外にあると仮定し、
日中光用のホワイトバランス補正値、若しくはこれに近
い値のみが算出されるように、ホワイトバランス補正値
制御リミッタを狭く設定する。一方、被写体の輝度が低
いと判断した場合、被写体は室内にある可能性があると
仮定し、白色蛍光灯等やタングステンをも補正できるよ
うに、ホワイトバランス補正値制御リミッタを広く設定
する。
Regarding the white balance correction value control limiter in the above-mentioned TTL system, the range may be changed according to the brightness information of the subject existing in the captured image obtained from the image sensor. For example, if it is determined that the brightness of the subject is sufficiently high, it is assumed that the subject is outdoors,
The white balance correction value control limiter is set narrow so that only the white balance correction value for daylight or a value close to it is calculated. On the other hand, when it is determined that the brightness of the subject is low, it is assumed that the subject may be in the room, and the white balance correction value control limiter is set to be wide so that the white fluorescent lamp and tungsten can be corrected.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述し
たような従来のホワイトバランス調整のための処理方法
(ホワイトバランス制御処理方法)では、例えば、ホワ
イトバランス補正値制御リミッタを用いたTTL方式に
よる処理方法の場合、撮像画像中の被写体の輝度が高い
とき、仮に誤ったホワイトバランス補正値が算出された
としても、最終的にはホワイトバランス補正値制御リミ
ッタの範囲変更によりホワイトバランス補正値の制御範
囲を限定することで、被写体領域が無彩色となってしま
うケースを減少させることができるが、撮像画像中の被
写体の輝度が低いとき、被写体領域が無彩色となってし
まうことがあった。
However, in the conventional processing method for white balance adjustment (white balance control processing method) as described above, for example, the processing method by the TTL method using the white balance correction value control limiter is used. In the case of, when the brightness of the subject in the captured image is high, even if an incorrect white balance correction value is calculated, the control range of the white balance correction value is finally changed by changing the range of the white balance correction value control limiter. By limiting the number of cases, it is possible to reduce the case where the subject area becomes achromatic. However, when the luminance of the subject in the captured image is low, the subject area may become achromatic.

【0006】例えば、輝度が明るい日中光下で、ある人
物の肌色のアップを撮影し、この撮影画像(撮像画像)
に対してホワイトバランス調整を行う場合、肌色領域を
タングステンの光源色と間違えてしまっても、最終的に
算出されるホワイトバランス補正値は、ホワイトバラン
ス補正値制御リミッタにより日中光用のホワイトバラン
ス補正値付近にまで戻されてしまうため、肌色領域が無
彩色となることはない。一方、輝度が低い蛍光灯下等
で、ある人物の肌色をアップで撮影し、この撮影画像
(撮像画像)に対してホワイトバランス調整を行う場
合、肌色領域をタングステンの光源色と間違え、そのま
ま肌色領域が無彩色となるように、ホワイトバランス調
整が行なわれることになる。これは、撮像画像中の被写
体の輝度が低いときには、白色蛍光灯等やタングステン
をも補正できるように、ホワイトバランス補正値制御リ
ミッタが広く設定されるためである。
For example, in a daylight with bright brightness, a person's skin tone up is photographed, and this photographed image (captured image)
When performing white balance adjustment, even if you mistake the skin color area for the light source color of tungsten, the white balance correction value that is finally calculated is the white balance correction value control limiter for white light for daylight. Since the color is returned to the vicinity of the correction value, the flesh color area does not become achromatic. On the other hand, when taking a picture of a person's flesh-colored up under a low-luminance fluorescent light and performing white balance adjustment on this captured image (captured image), the flesh-colored area is mistaken for the tungsten light source color and White balance adjustment is performed so that the area becomes achromatic. This is because the white balance correction value control limiter is widely set so that the white fluorescent lamp and tungsten can be corrected when the brightness of the subject in the captured image is low.

【0007】上述のような、撮像画像中の被写体の輝度
が低い場合の問題を解決するために、例えば、被写体の
輝度に関わらず、ホワイトバランス補正値制御リミッタ
の範囲(制御可能色温度範囲)を狭くするという方法が
考えられるが、このような方法では、被写体の色を誤っ
て無彩色にしてしまうケースを減らすことはできるが、
多くの光源色を完全に補正することができなくなる。
In order to solve the above-mentioned problem when the brightness of the subject in the captured image is low, for example, the range of the white balance correction value control limiter (controllable color temperature range) regardless of the brightness of the subject. Although it is possible to reduce the number of cases, it is possible to reduce the case where the color of the subject is mistakenly made achromatic.
Many light source colors cannot be completely corrected.

【0008】そこで、本発明は、上記の欠点を除去する
ために成されたもので、あらゆる撮影画像に対しても、
良好なホワイトバランス調整(補正)の結果が得られ
る、画像処理装置、画像処理システム、画像処理方法、
それを実施するためのプログラムを記憶したコンピュー
タ読出可能な記憶媒体、及び当該プログラムを提供する
ことを目的とする。
Therefore, the present invention has been made to eliminate the above-mentioned drawbacks, and can be applied to all photographed images.
An image processing apparatus, an image processing system, an image processing method, which can obtain a good white balance adjustment (correction) result.
An object of the present invention is to provide a computer-readable storage medium that stores a program for implementing the program, and the program.

【0009】[0009]

【課題を解決するための手段】斯かる目的下において、
第1の発明は、撮影画像に対してホワイトバランス補正
を行うための画像処理装置であって、上記撮影画像取得
時の外光の色温度を測色する測色手段と、上記測色手段
の測色結果に基づいて、上記撮影画像に対するホワイト
バランス補正可能色温度を制御するリミッタの範囲を制
御する制御手段とを備えることを特徴とする。
[Means for Solving the Problems] Under such a purpose,
A first aspect of the present invention is an image processing apparatus for performing white balance correction on a captured image, comprising: a color measurement unit that measures the color temperature of the outside light when the captured image is acquired; and the color measurement unit. And a control unit for controlling a range of a limiter for controlling the white balance correctable color temperature of the photographed image based on the color measurement result.

【0010】第2の発明は、上記第1の発明において、
上記制御手段は、上記撮影画像の輝度情報に基づいて上
記リミッタ範囲を制御することを特徴とする。
A second invention is the same as the first invention,
The control means controls the limiter range based on the brightness information of the captured image.

【0011】第3の発明は、上記第1の発明において、
上記制御手段は、上記測色手段により得られた色温度が
所定のリミッタ範囲に対応する色温度範囲に含まれるか
否かに基づいて、当該リミッタ範囲を変更することを特
徴とする。
A third aspect of the invention is the same as the first aspect of the invention.
The control means changes the limiter range based on whether or not the color temperature obtained by the colorimetric means is included in a color temperature range corresponding to a predetermined limiter range.

【0012】第4の発明は、上記第1の発明において、
上記制御手段は、所定のリミッタ範囲の高色温度側又は
低色温度側のリミッタに対応する色温度が上記測色手段
により得られた色温度より低いか否かに基づいて、当該
高色温度側又は低色温度側のリミッタの範囲を変更する
ことを特徴とする。
A fourth invention is the same as the first invention,
The control means, based on whether the color temperature corresponding to the limiter on the high color temperature side or the low color temperature side of the predetermined limiter range is lower than the color temperature obtained by the color measurement means, the high color temperature concerned. It is characterized in that the range of the limiter on the low side or the low color temperature side is changed.

【0013】第5の発明は、上記第4の発明において、
上記所定のリミッタ範囲は、処理対象の撮影画像の輝度
情報に基づいて得られる、当該撮影画像に対するホワイ
トバランス補正可能色温度を制御するリミッタの範囲を
含むことを特徴とする。
A fifth aspect of the invention is the same as the fourth aspect of the invention.
The predetermined limiter range includes a limiter range that is obtained based on the luminance information of the captured image to be processed and that controls the white balance correctable color temperature of the captured image.

【0014】第6の発明は、複数の機器が互いに通信可
能に接続されてなる画像処理システムであって、上記複
数の機器のうち少なくとも1つの機器は、請求項1〜5
の何れかに記載の画像処理装置の機能を有することを特
徴とする。
According to a sixth aspect of the present invention, there is provided an image processing system in which a plurality of devices are communicably connected to each other, and at least one of the plurality of devices is a device according to any one of claims 1 to 5.
It is characterized by having the function of the image processing device described in any one of 1.

【0015】第7の発明は、撮影画像に対してホワイト
バランス補正を行うための画像処理方法であって、上記
撮影画像を取得する装置或いはシステム周辺の光源の色
温度を測色する測色ステップと、上記測色ステップによ
る測色結果に基づいて、上記撮影画像に対するホワイト
バランス補正可能色温度を制御するリミッタの範囲を制
御する制御ステップとを含むことを特徴とする。
A seventh aspect of the present invention is an image processing method for performing white balance correction on a photographed image, which comprises a colorimetric step for measuring the color temperature of a light source around the device or system for obtaining the photographed image. And a control step of controlling a range of a limiter for controlling the white balance correctable color temperature of the photographed image based on the color measurement result of the color measurement step.

【0016】第8の発明は、撮影画像に対してホワイト
バランス補正を行うための画像処理方法であって、光源
の色温度を測色する測色ステップと、上記撮影画像の色
信号に対してホワイトバランス補正を施すホワイトバラ
ンス補正ステップと、上記測色ステップにより得られた
色温度情報に基づいて、上記ホワイトバランス補正ステ
ップにより補正される上記撮影画像の色信号の利得制御
範囲を制御する制御ステップとを含むことを特徴とす
る。
An eighth aspect of the present invention is an image processing method for performing white balance correction on a photographed image, which comprises a colorimetric step for measuring the color temperature of a light source and a color signal of the photographed image. A white balance correction step for performing white balance correction, and a control step for controlling the gain control range of the color signal of the photographed image corrected by the white balance correction step based on the color temperature information obtained by the color measurement step. It is characterized by including and.

【0017】第9の発明は、上記第8の発明において、
上記制御ステップは、上記測色ステップにより得られる
色温度が上記利得制御範囲に対応する色温度範囲に含ま
れる場合、上記色温度の情報に基づいて、上記利得制御
範囲を狭くするように変更するステップを含むことを特
徴とする。
In a ninth aspect based on the eighth aspect,
In the control step, when the color temperature obtained by the color measurement step is included in the color temperature range corresponding to the gain control range, the gain control range is narrowed based on the color temperature information. It is characterized by including a step.

【0018】第10の発明は、上記第9の発明におい
て、上記制御ステップは、上記色温度範囲の低色温度側
のリミッタに対応する色温度が上記測色ステップにより
得られる色温度より低い場合、上記低色温度側のリミッ
タ範囲を狭くするステップを含むことを特徴とする。
In a tenth aspect based on the ninth aspect, in the control step, the color temperature corresponding to the limiter on the low color temperature side of the color temperature range is lower than the color temperature obtained by the color measurement step. And a step of narrowing the limiter range on the low color temperature side.

【0019】第11の発明は、上記第9の発明におい
て、上記制御ステップは、上記色温度範囲の高色温度側
のリミッタに対応する色温度が上記測色ステップにより
得られる色温度より低い場合、上記高色温度側のリミッ
タ範囲を狭くするステップを含むことを特徴とする。
In an eleventh aspect based on the ninth aspect, in the control step, the color temperature corresponding to the limiter on the high color temperature side of the color temperature range is lower than the color temperature obtained by the color measurement step. And a step of narrowing the limiter range on the high color temperature side.

【0020】第12の発明は、上記第8の発明におい
て、上記ホワイトバランス補正ステップは、上記測色ス
テップにより得られた色温度情報、及び上記撮影画像の
色信号に基づいて、上記ホワイトバランス補正を行うス
テップを含むことを特徴とする。
In a twelfth aspect based on the eighth aspect, the white balance correction step is based on the color temperature information obtained by the color measurement step and the color signal of the photographed image. Is included.

【0021】第13の発明は、請求項1〜5の何れかに
記載の画像処理装置の機能、又は請求項6記載の画像処
理システムの機能をコンピュータに実現させるためのプ
ログラムをコンピュータ読出可能な記憶媒体に記録した
ことを特徴とする。
According to a thirteenth invention, a program for causing a computer to realize the function of the image processing apparatus according to any one of claims 1 to 5 or the function of the image processing system according to claim 6 can be read by a computer. It is characterized by being recorded in a storage medium.

【0022】第14の発明は、請求項7〜12の何れか
に記載の画像処理方法の処理ステップをコンピュータに
実行させるためのプログラムをコンピュータ読出可能な
記憶媒体に記録したことを特徴とする。
A fourteenth invention is characterized in that a program for causing a computer to execute the processing steps of the image processing method according to any one of claims 7 to 12 is recorded in a computer-readable storage medium.

【0023】第15の発明は、請求項1〜5の何れかに
記載の画像処理装置の機能、又は請求項6記載の画像処
理システムの機能をコンピュータに実現させるためのプ
ログラムであることを特徴とする。
A fifteenth invention is a program for causing a computer to realize the function of the image processing apparatus according to any one of claims 1 to 5 or the function of the image processing system according to claim 6. And

【0024】第16の発明は、請求項7〜12の何れか
に記載の画像処理方法の処理ステップをコンピュータに
実行させるためのプログラムであることを特徴とする。
A sixteenth invention is a program for causing a computer to execute the processing steps of the image processing method according to any one of claims 7 to 12.

【0025】[0025]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を用いて説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0026】本発明は、例えば、図1に示すようなディ
ジタルカメラ(ディジタルスチルカメラ)100に適用
される。本実施の形態のディジタルカメラ100は、特
に、撮像素子113から得られる撮像画像のホワイトバ
ランスを調整するための構成として、ディジタルカメラ
100周辺の光源(外光)の色温度を測色する測色セン
サ(ホワイトバランスセンサ)150の出力に基いて、
ホワイトバランスの補正可能色温度を制御するリミッタ
(ホワイトバランス補正値制御リミッタ)の範囲を変更
する構成を備える。これにより、オートホワイトバラン
スの補正可能色温度範囲を狭めることなく、撮像画像中
に存在する被写体の色を誤って無彩色にしてしまうケー
スを減らすことができ、より精度の高いホワイトバラン
スの調整を実現できる。以下、本実施の形態のディジタ
ルカメラ100の構成及び動作について具体的に説明す
る。
The present invention is applied to, for example, a digital camera (digital still camera) 100 as shown in FIG. The digital camera 100 of the present embodiment has a colorimetry for measuring the color temperature of the light source (outside light) around the digital camera 100, particularly as a configuration for adjusting the white balance of the captured image obtained from the image sensor 113. Based on the output of the sensor (white balance sensor) 150,
A configuration is provided in which the range of a limiter (white balance correction value control limiter) that controls the white balance correctable color temperature is changed. As a result, it is possible to reduce the case in which the color of the subject present in the captured image is mistakenly made achromatic without narrowing the correctable color temperature range of auto white balance, and more accurate white balance adjustment is possible. realizable. The configuration and operation of the digital camera 100 according to this embodiment will be specifically described below.

【0027】ディジタルカメラ100は、上記図1に示
すように、被写体光Lが順次入射される撮像レンズ11
1a、絞り11b、及び撮像素子113と、撮像素子1
13で得られた撮像画像信号に対して前処理を施す前処
理回路114と、前処理回路114による処理後撮像画
像信号をディジタル化するA/Dコンバータ115と、
A/Dコンバータ115により得られたディジタルの画
像データに対して画像処理を施す画像処理回路116
と、画像処理回路116による処理後画像データを外部
記憶装置119や内部記憶部120へ記憶させるための
メモリ制御回路117と、外部記憶装置119のインタ
ーフェース(I/F)回路118と、シャッター(シャ
ッター装置)124と、シャッタースピードや絞り値に
基いてシャッター124を駆動制御するための測光セン
サ122及び測距センサ123と、詳細は後述する測色
センサ150と、測色センサ150の出力をディジタル
化するA/Dコンバータ115と、ディジタルカメラ1
00全体の動作制御を司る制御部121とを備えてい
る。
As shown in FIG. 1, the digital camera 100 includes an image pickup lens 11 into which subject light L is sequentially incident.
1a, diaphragm 11b, image sensor 113, and image sensor 1
A pre-processing circuit 114 that performs pre-processing on the captured image signal obtained in 13; and an A / D converter 115 that digitizes the captured image signal processed by the pre-processing circuit 114,
Image processing circuit 116 for performing image processing on digital image data obtained by the A / D converter 115.
A memory control circuit 117 for storing the image data processed by the image processing circuit 116 in the external storage device 119 or the internal storage unit 120; the interface (I / F) circuit 118 of the external storage device 119; Device) 124, a photometric sensor 122 and a distance measuring sensor 123 for driving and controlling the shutter 124 based on the shutter speed and aperture value, a colorimetric sensor 150 to be described in detail later, and the output of the colorimetric sensor 150 is digitized. A / D converter 115 and digital camera 1
00, and a control unit 121 that controls the entire operation.

【0028】上述のようなディジタルカメラ100は、
制御部121の制御により、以下のように動作する。具
体的には例えば、制御部121は、CPUやメモリ等を
含むコンピュータ機能を有し、CPUによりメモリから
所定の処理プログラムを読み出して実行する。これによ
り、ディジタルカメラ100は、以下のように動作す
る。
The digital camera 100 as described above,
Under the control of the control unit 121, it operates as follows. Specifically, for example, the control unit 121 has a computer function including a CPU and a memory, and the CPU reads out and executes a predetermined processing program from the memory. As a result, the digital camera 100 operates as follows.

【0029】先ず、被写体(不図示)からの光線(被写
体光)Lは、撮影レンズ111a及び絞り111bを介
して、撮像素子113の受光面に対して入射する。この
とき、制御部121は、被写体の輝度を測定する測光セ
ンサ122、及び測距点に対応したCCDやC−MOS
等のラインセンサーで構成され被写体との距離に応じた
焦点ずれ信号を出力する測距センサ122の各出力に基
いて、適切な露出値を求め、シャッター124における
シャッタースピードを駆動制御すると共に、絞り111
bの絞り値を決定して制御する。
First, a light beam (subject light) L from a subject (not shown) is incident on the light receiving surface of the image pickup device 113 via the taking lens 111a and the diaphragm 111b. At this time, the control unit 121 controls the photometric sensor 122 for measuring the brightness of the subject and the CCD or C-MOS corresponding to the distance measuring point.
An appropriate exposure value is obtained based on each output of the distance measurement sensor 122 that is configured by a line sensor such as a line sensor and that outputs a defocus signal according to the distance to the subject, and the shutter speed of the shutter 124 is drive-controlled and the aperture is set. 111
The aperture value of b is determined and controlled.

【0030】尚、上記図1では、測光センサ122を、
撮影レンズ111aの光軸とは別個に設ける構成として
いるが、これに限られることはなく、撮影レンズ111
aの光軸と同軸に形成した、所謂TTL(スルーザレン
ズ)方式による構成としてもよい。
In FIG. 1, the photometric sensor 122 is
Although the configuration is provided separately from the optical axis of the taking lens 111a, the present invention is not limited to this, and the taking lens 111a is not limited to this.
A so-called TTL (through-the-lens) system may be used, which is formed coaxially with the optical axis of a.

【0031】撮像素子113は、CCD(電荷転送デバ
イス)やC−MOSデバイス等の固体撮像素子を含み、
絞り111bを介した入射光を電気信号に変換して出力
する。前処理回路114は、撮像素子113の出力信号
(画像信号)に対して、CDS回路(不図示)によるノ
イズ除去処理や、非線形増幅処理等を含む前処理を施
す。A/Dコンバータ115は、前処理回路114によ
る処理後の画像信号をディジタル化し、ディジタルの画
像データとして出力する。
The image pickup device 113 includes a solid-state image pickup device such as a CCD (charge transfer device) or a C-MOS device,
The incident light that has passed through the diaphragm 111b is converted into an electric signal and output. The pre-processing circuit 114 performs pre-processing including a noise removal process by a CDS circuit (not shown) and a non-linear amplification process on the output signal (image signal) of the image sensor 113. The A / D converter 115 digitizes the image signal processed by the preprocessing circuit 114 and outputs it as digital image data.

【0032】画像処理回路116は、A/Dコンバータ
115から出力された画像データに対して、輪郭補償や
ガンマ補正等の画像処理を施す。メモリ制御回路117
は、画像処理回路116による処理後の画像データを、
I/F回路118を介して、メモリカード等の外部記憶
装置119、或いは内部記憶部120へ記憶する。ま
た、メモリ制御回路117は、詳細は後述するが、制御
部121で得られたホワイトバランス制御信号を、内部
記憶部120へ記憶する。
The image processing circuit 116 performs image processing such as contour compensation and gamma correction on the image data output from the A / D converter 115. Memory control circuit 117
Is the image data processed by the image processing circuit 116,
The data is stored in the external storage device 119 such as a memory card or the internal storage unit 120 via the I / F circuit 118. The memory control circuit 117 stores the white balance control signal obtained by the control unit 121 in the internal storage unit 120, the details of which will be described later.

【0033】制御部121は、ホワイトバランス調整回
路121aを有し、詳細は後述するが、ホワイトバラン
ス調整回路121aにより、測色センサ150の出力信
号(制御信号)、及びA/Dコンバータ115から出力
される画像データに基いて、ホワイトバランス補正値
(調整値)を算出し、これを画像処理回路116に対し
て出力する。したがって、画像処理回路116は、制御
部121からのホワイトバランス補正値(調整値)に基
いて、A/Dコンバータ115から出力された画像デー
タに対する画像処理を行う。
The control section 121 has a white balance adjusting circuit 121a, which will be described in detail later. The white balance adjusting circuit 121a outputs an output signal (control signal) of the colorimetric sensor 150 and an output from the A / D converter 115. A white balance correction value (adjustment value) is calculated based on the image data to be generated, and this is output to the image processing circuit 116. Therefore, the image processing circuit 116 performs image processing on the image data output from the A / D converter 115 based on the white balance correction value (adjustment value) from the control unit 121.

【0034】測色センサ150は、ディジタルカメラ1
00周辺の光源(外光)の色温度を測色するセンサであ
り、当該外光が入射される拡散板151と、拡散板15
1を介した光を受光するR受光素子152R、G受光素
子152G、及びB受光素子152Bと、R受光素子1
52R、G受光素子152G、及びB受光素子152B
の各出力を圧縮処理する対数圧縮回路153と、対数圧
縮回路153の出力を減算処理する減算回路154,1
55と、減算回路154,155の出力を伸長する伸長
回路156と、伸長回路156の出力を電流/電圧変換
処理する電流電圧変換回路157とを含んでいる。電流
電圧変換回路157の出力が制御信号として、A/Dコ
ンバータ128を介して制御部121へ供給され、制御
部121のホワイトバランス調整回路121aにより、
当該制御信号に基いたホワイトバランス補正値(調整
値)が得られることになる。
The colorimetric sensor 150 is the digital camera 1
00 is a sensor for measuring the color temperature of a light source (outside light) around the light source, and includes a diffusion plate 151 on which the outside light is incident, and a diffusion plate 15
R light receiving element 152R, G light receiving element 152G, and B light receiving element 152B that receive the light transmitted through
52R, G light receiving element 152G, and B light receiving element 152B
Logarithmic compression circuit 153 for compressing each output of the above and subtraction circuits 154, 1 for subtracting the output of the logarithmic compression circuit 153.
55, a decompression circuit 156 that decompresses the outputs of the subtraction circuits 154 and 155, and a current-voltage conversion circuit 157 that performs a current / voltage conversion process on the output of the decompression circuit 156. The output of the current-voltage conversion circuit 157 is supplied as a control signal to the control unit 121 via the A / D converter 128, and the white balance adjustment circuit 121a of the control unit 121 causes
A white balance correction value (adjustment value) based on the control signal is obtained.

【0035】上述のような測色センサ150において、
先ず、外光は拡散板151を介して、R受光素子152
R、G受光素子152G、及びB受光素子152Bのそ
れぞれに対して入射する。したがって、R受光素子15
2R、G受光素子152G、及びB受光素子152Bか
らはそれぞれ、外光を構成する、赤成分(Rb)、緑成
分(Gb)、及び青成分(Bb)の色成分信号が出力さ
れる。
In the colorimetric sensor 150 as described above,
First, outside light is transmitted through the diffusion plate 151 to the R light receiving element 152.
The light is incident on each of the R, G light receiving elements 152G, and the B light receiving elements 152B. Therefore, the R light receiving element 15
The 2R, G light receiving element 152G, and B light receiving element 152B output the color component signals of the red component (Rb), the green component (Gb), and the blue component (Bb) that compose the external light, respectively.

【0036】対数圧縮回路153は、R受光素子152
R、G受光素子152G、及びB受光素子152Bから
出力された色成分信号Rb,Gb,Bbを対数圧縮し、
この結果logRb,logGb,logBbを出力す
る。減算回路154,155は、対数圧縮回路153の
出力logRb,logGb,logBbから、log
(Rb/Gb)及びlog(Bb/Gb)を求めて出力
する。
The logarithmic compression circuit 153 has an R light receiving element 152.
The color component signals Rb, Gb, Bb output from the R, G light receiving elements 152G, and the B light receiving elements 152B are logarithmically compressed,
As a result, logRb, logGb, and logBb are output. The subtraction circuits 154 and 155 use the outputs logRb, logGb, and logBb of the logarithmic compression circuit 153 to obtain log
(Rb / Gb) and log (Bb / Gb) are calculated and output.

【0037】伸長回路156は、減算回路154,15
5の出力値log(Rb/Gb)及びlog(Bb/G
b)を逆log変換することで、Rb/Gb及びBb/
Gbを求めて出力する。電流電圧変換回路157は、伸
長回路156の出力Rb/Gb及びBb/Gbに基いた
電圧値を出力する。
The expansion circuit 156 is provided with subtraction circuits 154 and 15
5 output values log (Rb / Gb) and log (Bb / G)
Inverse log transformation of b) yields Rb / Gb and Bb /
Gb is obtained and output. The current-voltage conversion circuit 157 outputs a voltage value based on the outputs Rb / Gb and Bb / Gb of the expansion circuit 156.

【0038】したがって、A/Dコンバータ128は、
測色センサ150の出力(電流電圧変換回路157の出
力)を制御信号(ホワイトバランス制御信号)としてデ
ィジタル化して、制御部121に対して出力する。
Therefore, the A / D converter 128 is
The output of the colorimetric sensor 150 (output of the current-voltage conversion circuit 157) is digitized as a control signal (white balance control signal) and output to the control unit 121.

【0039】制御部121において、ホワイトバランス
調整回路121aは、測色センサ150からのホワイト
バランス制御信号に基いて、最終的なホワイトバランス
の調整値(補正値)を決める。このときのホワイトバラ
ンス制御信号は、上述したように、メモリ制御回路11
7により内部記憶部120へ記憶される。
In the control section 121, the white balance adjusting circuit 121a determines a final white balance adjustment value (correction value) based on the white balance control signal from the colorimetric sensor 150. The white balance control signal at this time is, as described above, the memory control circuit 11
It is stored in the internal storage unit 120 according to 7.

【0040】制御部121のホワイトバランス調整回路
121aについて具体的に説明すると、先ず、ホワイト
バランス調整回路121aは、A/Dコンバータ115
から得られた画像データを構成する各画素のRGBデー
タ、又は当該画像データを複数のブロックに分割したと
きの各ブロックの平均RGBデータに基いて、対象画素
又は対象ブロックのRGBデータを、xy色空間等にプ
ロットし、その結果、当該色空間上で光源の色の可能性
が高い黒体輻射軌跡付近にプロットされたデータのR,
G,Bを積分し、当該積分値から、R及びBのホワイト
バランス補正値G/R及びG/Bを求める。
The white balance adjusting circuit 121a of the control unit 121 will be described in detail. First, the white balance adjusting circuit 121a includes the A / D converter 115.
Based on the RGB data of each pixel forming the image data obtained from, or the average RGB data of each block when the image data is divided into a plurality of blocks, the RGB data of the target pixel or the target block is converted into xy colors. R of the data plotted near the blackbody radiation locus in which the possibility of the color of the light source is high in the color space
G and B are integrated, and the white balance correction values G / R and G / B of R and B are obtained from the integrated value.

【0041】尚、ホワイトバランス補正値を求める方法
としては、上記の方法に限られることはなく、任意の方
法や、さらに複雑な方法等を適用可能である。
The method for obtaining the white balance correction value is not limited to the above method, and any method or a more complicated method can be applied.

【0042】上述のようにして取得したR及びBのホワ
イトバランス補正値G/R及びG/Bに対して、ホワイ
トバランス補正値制御リミッタというものが用いられ
る。例えば、ホワイトバランス調整回路121aは、ホ
ワイトバランス補正値制御リミッタの範囲を、測光セン
サ122で得られた輝度値(被写体輝度値)に基いて決定
する。
A white balance correction value control limiter is used for the R and B white balance correction values G / R and G / B obtained as described above. For example, the white balance adjustment circuit 121a determines the range of the white balance correction value control limiter based on the brightness value (subject brightness value) obtained by the photometric sensor 122.

【0043】図2は、ホワイトバランス調整回路121
aによる、ホワイトバランス補正値制御リミッタの範囲
制御の一例を示したものである。上記図2では、Rのホ
ワイトバランス補正値G/Rを横軸に示し、Bのホワイ
トバランス補正値G/Bを縦軸に示しており、低色温度
側方向Lr、高色温度側方向Lb、Green側方向L
g、及びMagenta側方向Lmの4方向の範囲で制
御するものとしている。
FIG. 2 shows the white balance adjusting circuit 121.
It shows an example of the range control of the white balance correction value control limiter by a. In FIG. 2, the white balance correction value G / R for R is shown on the horizontal axis, and the white balance correction value G / B for B is shown on the vertical axis, and the low color temperature side direction Lr and the high color temperature side direction Lb are shown. , Green side direction L
It is assumed that the control is performed in the range of four directions, g and the Lenta side direction Lm.

【0044】ホワイトバランス調整回路121aは、画
像の輝度が高いと判断すると、上記図2の“L1”(高
輝度時のリミッタ)で示されるように、ホワイトバラン
ス補正値制御リミッタの範囲を狭く設定する。これは、
高輝度の場合、光源がタングステンや蛍光灯等である可
能性が低いという予測をたてているためである。また、
ホワイトバランス調整回路121aは、画像の輝度が低
いと判断すると、上記図2の“L2”(低輝度時のリミ
ッタ)で示されるように、白色蛍光灯等をもホワイトバ
ランス補正できるくらいに、ホワイトバランス補正値制
御リミッタの範囲を広く設定する。これは、低輝度の場
合、光源がタングステンや蛍光灯等である可能性が大き
いという予測をたて、このような様々な光源にホワイト
バランスを対応させるためである。
When the white balance adjusting circuit 121a determines that the brightness of the image is high, the range of the white balance correction value control limiter is set to be narrow as shown by "L1" (limiter at high brightness) in FIG. To do. this is,
This is because, in the case of high brightness, it is predicted that the light source is unlikely to be tungsten or a fluorescent lamp. Also,
When the white balance adjustment circuit 121a determines that the brightness of the image is low, as shown by "L2" (limiter when the brightness is low) in FIG. Widen the range of the balance correction value control limiter. This is because, in the case of low luminance, it is highly possible that the light source is a tungsten light source, a fluorescent light source, or the like, and the white balance is made to correspond to such various light source sources.

【0045】ホワイトバランス調整回路121aは、上
述のようなホワイトバランス補正値制御リミッタの範囲
を設定する際に、当該リミッタ範囲を、ある輝度以上で
最も狭くなるよう設定し、ある輝度以下で最も広くなる
ように設定し、この間の輝度における当該リミッタ範囲
に関しては、線形補間して輝度に応じて徐々に変更設定
する。
When setting the range of the white balance correction value control limiter as described above, the white balance adjusting circuit 121a sets the limiter range to be the narrowest above a certain luminance and the widest below the certain luminance. The linearly interpolating is performed for the limiter range in the brightness during this period, and the limiter range is gradually changed and set according to the brightness.

【0046】ところで、上記図2では、Magenta
側方向Lmのリミッタ範囲ついて、高輝度時と低輝度時
の何れにおいても同じ設定となっている。これは、Ma
genta側方向Lmの色の光源は非常にまれなケース
であるため、ホワイトバランス補正値制御リミッタ範囲
内に入れる必要がないと判断しているためである。
By the way, in FIG.
The limiter range in the lateral direction Lm is set to be the same in both high brightness and low brightness. This is Ma
This is because it is judged that it is not necessary to put the light source of the color in the direction of the genta side Lm within the range of the white balance correction value control limiter because it is a very rare case.

【0047】また、仮に、ホワイトバランス補正値制御
リミッタの範囲を設定する前のホワイトバランス補正値
が、上記図2に示したようなホワイトバランス補正値制
御リミッタ範囲外にある場合、ホワイトバランス調整回
路121aは、当該リミッタ範囲の端まで、ホワイトバ
ランス補正値を戻すようにする。例えば、ホワイトバラ
ンス調整回路121aは、算出したホワイトバランス補
正値が、上記図2の“201”に示す位置(×)である
場合、位置201(×)から最も近いリミッタの端とな
る、“202”に示す位置(○)まで戻す。ただし、ホ
ワイトバランス調整回路121aは、算出したホワイト
バランス補正値が、上記図2に示されるリミッタ上又は
範囲内に存在する場合、そのホワイトバランス補正値を
そのまま使用する。
If the white balance correction value before setting the range of the white balance correction value control limiter is outside the range of the white balance correction value control limiter as shown in FIG. 2, the white balance adjustment circuit. The reference numeral 121a returns the white balance correction value to the end of the limiter range. For example, when the calculated white balance correction value is the position (x) indicated by "201" in FIG. 2 described above, the white balance adjustment circuit 121a becomes the end of the limiter closest to the position 201 (x), "202". Return to the position (○) shown in. However, when the calculated white balance correction value is on the limiter or within the range shown in FIG. 2, the white balance adjustment circuit 121a uses the white balance correction value as it is.

【0048】上述のようにして、ホワイトバランス調整
回路121aは、ホワイトバランス補正値制御リミッタ
の範囲を、A/Dコンバータ115で得られた画像デー
タの輝度値に基いて設定して、最終的なホワイトバラン
ス補正値を求めるが、本実施の形態では、特に、ホワイ
トバランス補正値制御リミッタの範囲を、測色センサ1
50からのホワイトバランス制御信号に基いて設定す
る。
As described above, the white balance adjustment circuit 121a sets the range of the white balance correction value control limiter on the basis of the brightness value of the image data obtained by the A / D converter 115, and finally. The white balance correction value is obtained. In the present embodiment, in particular, the range of the white balance correction value control limiter is set to the color measurement sensor 1
It is set based on the white balance control signal from 50.

【0049】すなわち、ホワイトバランス調整回路12
1aは、先ず、上述したようにして被写体輝度値に基づ
いて色信号に対するホワイトバランス補正値制御リミッ
タの範囲に対応する色温度範囲を予め算出しておく。こ
こでさらに、ホワイトバランス調整回路121aは、測
色センサ150のホワイトバランス制御信号から色温度
を算出し、当該色温度が、上記の予め算出しておいた低
色温度側のリミッタに対応した色温度より低いか否かを
判別する。この判別の結果、測色センサ150のホワイ
トバランス制御信号から算出した色温度の方が高い場
合、ホワイトバランス調整回路121aは、被写体に照
明する光源の色温度をも高いと判断し、上記の予め算出
しておいた低色温度側のリミッタの範囲を、測色センサ
150のホワイトバランス制御信号から算出した色温度
付近まで移動させることで、低色温度側のリミッタの範
囲を狭くするように設定する。
That is, the white balance adjusting circuit 12
1a first calculates in advance the color temperature range corresponding to the range of the white balance correction value control limiter for the color signal based on the subject brightness value as described above. Further, the white balance adjustment circuit 121a calculates the color temperature from the white balance control signal of the colorimetric sensor 150, and the color temperature corresponds to the previously calculated low color temperature side limiter. It is determined whether the temperature is lower than the temperature. If the result of this determination is that the color temperature calculated from the white balance control signal of the colorimetric sensor 150 is higher, the white balance adjustment circuit 121a determines that the color temperature of the light source that illuminates the subject is also higher, and The calculated range of the low color temperature side limiter is moved to near the color temperature calculated from the white balance control signal of the color measurement sensor 150, so that the range of the low color temperature side limiter is narrowed. To do.

【0050】図3は、上述のリミッタの範囲の移動の一
例を示したものである。上記図3においても、上記図2
と同様に、Rのホワイトバランス補正値G/Rを横軸に
示し、Bのホワイトバランス補正値G/Bを縦軸に示し
ている。
FIG. 3 shows an example of movement within the range of the limiter described above. Also in FIG. 3 above, FIG.
Similarly, the white balance correction value G / R for R is shown on the horizontal axis, and the white balance correction value G / B for B is shown on the vertical axis.

【0051】上記図3に示すように、例えば、被写体輝
度に基いた低色温度側のリミッタの範囲の色温度が、図
中“B”に示す位置(約3500K)であるものとし、
測色センサ150のホワイトバランス制御信号から算出
された色温度が、図中“A”に示す位置(約4500
K)であるものとした場合、ホワイトバランス調整回路
121aは、被写体輝度に基いた低色温度側のリミッタ
の範囲(B)を、測色センサ150のホワイトバランス
制御信号から算出した色温度A付近まで移動させる。こ
れにより、より精度の高いホワイトバランスを実現でき
る。
As shown in FIG. 3, for example, it is assumed that the color temperature in the range of the limiter on the low color temperature side based on the brightness of the subject is at the position indicated by "B" in the drawing (about 3500K).
The color temperature calculated from the white balance control signal of the colorimetric sensor 150 is at the position (about 4500) indicated by “A” in the figure.
K), the white balance adjustment circuit 121a determines the range (B) of the limiter on the low color temperature side based on the subject brightness to be near the color temperature A calculated from the white balance control signal of the color measurement sensor 150. Move to. As a result, more accurate white balance can be realized.

【0052】尚、本実施の形態では、低色温度側のホワ
イトバランス補正値制御リミッタのみ、測色センサ15
0のホワイトバランス制御信号に応じて変更設定するよ
うに構成したが、これに限られることはなく、例えば、
高色温度側のホワイトバランス補正値制御リミッタにつ
ても同様に変更設定可能である。また、本実施の形態で
は、対象画像のR成分及びB成分に対して、ホワイトバ
ランスの補正を行うように構成したが、これに限られる
ことはなく、例えば、色差信号に対してもホワイトバラ
ンスの補正を行うことも可能である。
In this embodiment, only the white balance correction value control limiter on the low color temperature side is provided with the colorimetric sensor 15.
Although it is configured to change and set according to the white balance control signal of 0, the present invention is not limited to this, and for example,
The white balance correction value control limiter on the high color temperature side can be similarly changed and set. Further, in the present embodiment, the white balance is corrected for the R component and the B component of the target image, but the present invention is not limited to this. For example, the white balance is also corrected for the color difference signal. Can be corrected.

【0053】また、本発明の目的は、本実施の形態のホ
スト及び端末の機能を実現するソフトウェアのプログラ
ムコードを記憶した記憶媒体を、システム或いは装置に
供給し、そのシステム或いは装置のコンピュータ(又は
CPUやMPU)が記憶媒体に格納されたプログラムコ
ードを読みだして実行することによっても、達成される
ことは言うまでもない。この場合、記憶媒体から読み出
されたプログラムコード自体が本実施の形態の機能を実
現することとなり、そのプログラムコードを記憶した記
憶媒体及び当該プログラムコードは本発明を構成するこ
ととなる。プログラムコードを供給するための記憶媒体
としては、ROM、フレキシブルディスク、ハードディ
スク、光ディスク、光磁気ディスク、CD−ROM、C
D−R、磁気テープ、不揮発性のメモリカード等を用い
ることができる。また、コンピュータが読みだしたプロ
グラムコードを実行することにより、本実施の形態の機
能が実現されるだけでなく、そのプログラムコードの指
示に基づき、コンピュータ上で稼動しているOS等が実
際の処理の一部又は全部を行い、その処理によって本実
施の形態の機能が実現される場合も含まれることは言う
までもない。さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された拡張機能ボー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書き込まれた後、そのプログラムコードの指
示に基づき、その機能拡張ボードや機能拡張ユニットに
備わるCPUなどが実際の処理の一部又は全部を行い、
その処理によって本実施の形態の機能が実現される場合
も含まれることは言うまでもない。
Further, an object of the present invention is to supply a storage medium storing a program code of software for realizing the functions of the host and the terminal of this embodiment to a system or an apparatus, and to supply a computer (or a computer of the system or the apparatus). It is needless to say that this can be achieved by the CPU and MPU) reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the function of the present embodiment, and the storage medium storing the program code and the program code constitute the present invention. As a storage medium for supplying the program code, ROM, flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, C
A DR, a magnetic tape, a non-volatile memory card, or the like can be used. Further, not only the functions of the present embodiment are realized by executing the program code read by the computer, but also the OS or the like running on the computer actually performs the processing based on the instruction of the program code. It goes without saying that a case where a part or all of the above is performed and the processing realizes the functions of the present embodiment is also included. Further, after the program code read from the storage medium is written in the memory provided in the extended function board inserted in the computer or the extended function unit connected to the computer, the extended function is executed based on the instruction of the program code. The CPU provided on the board or function expansion unit performs some or all of the actual processing,
It goes without saying that the processing includes the case where the functions of the present embodiment are realized.

【0054】図4は、上記コンピュータの機能600を
示したものである。コンピュータ機能600は、上記図
4に示すように、CPU601と、ROM602と、R
AM603と、キーボード(KB)609のキーボード
コントローラ(KBC)605と、表示部としてのCR
Tディスプレイ(CRT)610のCRTコントローラ
(CRTC)606と、ハードディスク(HD)611
及びフレキシブルディスク(FD)612のディスクコ
ントローラ(DKC)607と、ネットワーク620と
の接続のためのネットワークインターフェースコントロ
ーラ(NIC)608とが、システムバス604を介し
て互いに通信可能に接続された構成としている。
FIG. 4 shows the function 600 of the computer. As shown in FIG. 4, the computer function 600 includes a CPU 601, a ROM 602, and an R
AM 603, keyboard controller (KBC) 605 of keyboard (KB) 609, and CR as a display unit
T-display (CRT) 610 CRT controller (CRTC) 606 and hard disk (HD) 611
A disk controller (DKC) 607 of the flexible disk (FD) 612 and a network interface controller (NIC) 608 for connecting to the network 620 are connected to each other via a system bus 604 so that they can communicate with each other. .

【0055】CPU601は、ROM602或いはHD
611に記憶されたソフトウェア、或いはFD612よ
り供給されるソフトウェアを実行することで、システム
バス604に接続された各構成部を総括的に制御する。
すなわち、CPU601は、所定の処理シーケンスに従
った処理プログラムを、ROM602、或いはHD61
1、或いはFD612から読み出して実行することで、
本実施の形態での動作を実現するための制御を行う。
The CPU 601 is a ROM 602 or HD.
By executing the software stored in 611 or the software supplied from FD612, each component connected to the system bus 604 is comprehensively controlled.
That is, the CPU 601 executes the processing program according to the predetermined processing sequence in the ROM 602 or the HD 61.
1 or by reading from FD612 and executing,
Control for realizing the operation in this embodiment is performed.

【0056】RAM603は、CPU601の主メモリ
或いはワークエリア等として機能する。KBC605
は、KB609や図示していないポインティングデバイ
ス等からの指示入力を制御する。CRTC606は、C
RT610の表示を制御する。DKC607は、ブート
プログラム、種々のアプリケーション、編集ファイル、
ユーザファイル、ネットワーク管理プログラム、及び本
実施の形態における所定の処理プログラム等を記憶する
HD611及びFD612とのアクセスを制御する。N
IC608は、ネットワーク620上の装置或いはシス
テムと双方向にデータをやりとりする。
The RAM 603 functions as the main memory or work area of the CPU 601. KBC605
Controls instruction input from the KB 609 or a pointing device (not shown). CRTC606 is C
It controls the display of the RT 610. The DKC607 is a boot program, various applications, edit files,
It controls access to the HD 611 and the FD 612 that store a user file, a network management program, and a predetermined processing program according to the present embodiment. N
The IC 608 bidirectionally exchanges data with a device or system on the network 620.

【0057】[0057]

【発明の効果】以上説明したように本発明では、撮影画
像に対してホワイトバランス補正を行う際に、撮影画像
取得時の外光の色温度(撮影画像を取得するカメラ周辺
の光源の色温度等)を測色し、当該測色結果に基づい
て、撮影画像に対するホワイトバランス補正可能色温度
を制御するリミッタの範囲(ホワイトバランス補正値制
御リミッタ範囲)を制御するように構成した。
As described above, according to the present invention, when white balance correction is performed on a captured image, the color temperature of the external light at the time of capturing the captured image (the color temperature of the light source around the camera that captures the captured image) And the like), and the range of the limiter for controlling the white balance correctable color temperature of the captured image (white balance correction value control limiter range) is controlled based on the color measurement result.

【0058】具体的には例えば、撮影画像を取得するカ
メラ周辺の光源の色温度を測色する測色センサ(ホワイ
トバランスセンサ)を設け、撮影画像の輝度とは別に、
当該ホワイトバランスセンサの出力に応じて、撮影画像
に対するホワイトバランス補正値制御リミッタ範囲を変
更する。これにより、従来の構成では、撮影画像の輝度
(被写体輝度)が低い場合、ホワイトバランス補正可能
色温度が低色温度から高色温度まで幅広く設定されてい
たが、本発明の構成では、撮影画像の輝度が低い場合で
あっても、ホワイトバランスセンサの出力から色温度が
高いと判断できる場合、低色温度側のホワイトバランス
補正値制御リミッタ範囲を狭くすることで、低色温度の
光源を補正しきれないように制御させることができる。
したがって、仮に、撮影画像に含まれる肌色領域を無彩
色とするようなホワイトバランス補正値が算出されて
も、ホワイトバランス補正値制御リミッタ範囲の当該制
御により、肌色領域が無彩色になってしまうことを確実
に防ぐことができる。
Specifically, for example, a colorimetric sensor (white balance sensor) for measuring the color temperature of the light source around the camera for obtaining the photographed image is provided, and in addition to the luminance of the photographed image,
The white balance correction value control limiter range for the captured image is changed according to the output of the white balance sensor. As a result, in the conventional configuration, when the brightness of the captured image (subject brightness) is low, the white balance correctable color temperature is set broadly from the low color temperature to the high color temperature. If the color temperature can be judged to be high from the output of the white balance sensor even if the brightness of the white balance is low, the white balance correction value control limiter range on the low color temperature side is narrowed to correct the light source of the low color temperature. It can be controlled so that it cannot be exhausted.
Therefore, even if a white balance correction value that makes the flesh color area included in the captured image achromatic is calculated, the flesh color area becomes achromatic due to the control of the white balance correction value control limiter range. Can be reliably prevented.

【0059】よって、本発明によれば、輝度が低いため
に光源を特定しにくい場合等であっても、より精度の高
いホワイトバランス補正が可能となる。すなわち、あら
ゆる撮影画像に対しても、良好なホワイトバランス調整
(補正)の結果が得られる。
Therefore, according to the present invention, even if it is difficult to specify the light source due to the low brightness, the white balance correction can be performed with higher accuracy. That is, a good white balance adjustment (correction) result can be obtained for all captured images.

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

【図1】本発明を適用したディジタルカメラの構成を示
すブロック図である。
FIG. 1 is a block diagram showing a configuration of a digital camera to which the present invention has been applied.

【図2】上記ディジタルカメラにおいて、被写体輝度に
基いたホワイトバランス補正値制御リミッタの変更設定
を説明するための図である。
FIG. 2 is a diagram for explaining change setting of a white balance correction value control limiter based on subject brightness in the digital camera.

【図3】上記ディジタルカメラにおいて、測色センサの
出力に基いたホワイトバランス補正値制御リミッタの変
更設定を説明するための図である。
FIG. 3 is a diagram for explaining a change setting of a white balance correction value control limiter based on an output of a color measurement sensor in the digital camera.

【図4】上記ディジタルカメラの機能をコンピュータに
実現させるためのプログラムをコンピュータ読出可能な
記憶媒体から読み出して実行する当該コンピュータの構
成を示すブロック図である。
FIG. 4 is a block diagram showing a configuration of a computer that reads a program for causing a computer to realize the functions of the digital camera from a computer-readable storage medium and executes the program.

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

100 ディジタルカメラ 111a 撮影レンズ 111b 絞り 113 撮像素子 114 前処理回路 115 A/Dコンバータ 116 画像処理回路 117 メモリ制御回路 118 I/F回路 119 外部記憶装置 120 内部記憶部 121 制御部 121a ホワイトバランス調整回路 122 測光センサ 123 測距センサ 124 シャッター装置 128 A/Dコンバータ 150 測色センサ 100 digital camera 111a shooting lens 111b aperture 113 image sensor 114 Pre-processing circuit 115 A / D converter 116 Image processing circuit 117 memory control circuit 118 I / F circuit 119 External storage device 120 internal storage 121 control unit 121a White balance adjustment circuit 122 Photometric sensor 123 Distance measuring sensor 124 Shutter device 128 A / D converter 150 color measurement sensor

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C055 EA05 FA05 HA14 5C065 AA03 BB02 CC01 CC09 GG22 5C066 AA01 AA11 BA01 CA05 CA17 EA14 EC01 EE01 FA02 GA01 GB01 KE02 KM02 KM05 5C077 MP08 PP14 PP32 PP37 PQ12 PQ22 TT09 5C079 HB01 HB05 LA01 LA03 LA23 MA01 MA11    ─────────────────────────────────────────────────── ─── Continued front page    F-term (reference) 5C055 EA05 FA05 HA14                 5C065 AA03 BB02 CC01 CC09 GG22                 5C066 AA01 AA11 BA01 CA05 CA17                       EA14 EC01 EE01 FA02 GA01                       GB01 KE02 KM02 KM05                 5C077 MP08 PP14 PP32 PP37 PQ12                       PQ22 TT09                 5C079 HB01 HB05 LA01 LA03 LA23                       MA01 MA11

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】 撮影画像に対してホワイトバランス補正
を行うための画像処理装置であって、 上記撮影画像取得時の外光の色温度を測色する測色手段
と、 上記測色手段の測色結果に基づいて、上記撮影画像に対
するホワイトバランス補正可能色温度を制御するリミッ
タの範囲を制御する制御手段とを備えることを特徴とす
る画像処理装置。
1. An image processing apparatus for performing white balance correction on a captured image, comprising: a color measuring unit for measuring a color temperature of external light when the captured image is acquired; and a color measuring unit for measuring the color temperature. An image processing apparatus comprising: a control unit that controls a range of a limiter that controls a white balance correctable color temperature of the captured image based on a color result.
【請求項2】 上記制御手段は、上記撮影画像の輝度情
報に基づいて上記リミッタ範囲を制御することを特徴と
する請求項1記載の画像処理装置。
2. The image processing apparatus according to claim 1, wherein the control unit controls the limiter range based on brightness information of the captured image.
【請求項3】 上記制御手段は、上記測色手段により得
られた色温度が所定のリミッタ範囲に対応する色温度範
囲に含まれるか否かに基づいて、当該リミッタ範囲を変
更することを特徴とする請求項1記載の画像処理装置。
3. The control means changes the limiter range based on whether or not the color temperature obtained by the colorimetric means is included in a color temperature range corresponding to a predetermined limiter range. The image processing apparatus according to claim 1.
【請求項4】 上記制御手段は、所定のリミッタ範囲の
高色温度側又は低色温度側のリミッタに対応する色温度
が上記測色手段により得られた色温度より低いか否かに
基づいて、当該高色温度側又は低色温度側のリミッタの
範囲を変更することを特徴とする請求項1記載の画像処
理装置。
4. The control means is based on whether or not the color temperature corresponding to the limiter on the high color temperature side or the low color temperature side of the predetermined limiter range is lower than the color temperature obtained by the color measuring means. The image processing apparatus according to claim 1, wherein the range of the limiter on the high color temperature side or the low color temperature side is changed.
【請求項5】 上記所定のリミッタ範囲は、処理対象の
撮影画像の輝度情報に基づいて得られる、当該撮影画像
に対するホワイトバランス補正可能色温度を制御するリ
ミッタの範囲を含むことを特徴とする請求項4記載の画
像処理装置。
5. The predetermined limiter range includes a limiter range for controlling a white balance correctable color temperature for a captured image, which is obtained based on luminance information of the captured image to be processed. Item 4. The image processing device according to item 4.
【請求項6】 複数の機器が互いに通信可能に接続され
てなる画像処理システムであって、 上記複数の機器のうち少なくとも1つの機器は、請求項
1〜5の何れかに記載の画像処理装置の機能を有するこ
とを特徴とする画像処理システム。
6. An image processing system comprising a plurality of devices communicably connected to each other, wherein at least one of the plurality of devices is an image processing device according to any one of claims 1 to 5. An image processing system having the function of.
【請求項7】 撮影画像に対してホワイトバランス補正
を行うための画像処理方法であって、 上記撮影画像を取得する装置或いはシステム周辺の光源
の色温度を測色する測色ステップと、 上記測色ステップによる測色結果に基づいて、上記撮影
画像に対するホワイトバランス補正可能色温度を制御す
るリミッタの範囲を制御する制御ステップとを含むこと
を特徴とする画像処理方法。
7. An image processing method for performing white balance correction on a captured image, the method comprising: a color measurement step of measuring color temperature of a light source around an apparatus or system for acquiring the captured image; And a control step of controlling a range of a limiter for controlling a white balance correctable color temperature of the photographed image based on a color measurement result of the color step.
【請求項8】 撮影画像に対してホワイトバランス補正
を行うための画像処理方法であって、 光源の色温度を測色する測色ステップと、 上記撮影画像の色信号に対してホワイトバランス補正を
施すホワイトバランス補正ステップと、 上記測色ステップにより得られた色温度情報に基づい
て、上記ホワイトバランス補正ステップにより補正され
る上記撮影画像の色信号の利得制御範囲を制御する制御
ステップとを含むことを特徴とする画像処理方法。
8. An image processing method for performing white balance correction on a captured image, the method comprising: a color measurement step of measuring a color temperature of a light source; and a white balance correction for a color signal of the captured image. A white balance correction step to be performed, and a control step of controlling a gain control range of the color signal of the photographed image corrected by the white balance correction step based on the color temperature information obtained by the color measurement step. An image processing method characterized by:
【請求項9】 上記制御ステップは、上記測色ステップ
により得られる色温度が上記利得制御範囲に対応する色
温度範囲に含まれる場合、上記色温度の情報に基づい
て、上記利得制御範囲を狭くするように変更するステッ
プを含むことを特徴とする請求項8記載の画像処理方
法。
9. The control step, when the color temperature obtained by the color measurement step is included in a color temperature range corresponding to the gain control range, narrows the gain control range based on the color temperature information. 9. The image processing method according to claim 8, further comprising the step of changing so that
【請求項10】 上記制御ステップは、上記色温度範囲
の低色温度側のリミッタに対応する色温度が上記測色ス
テップにより得られる色温度より低い場合、上記低色温
度側のリミッタ範囲を狭くするステップを含むことを特
徴とする請求項9記載の画像処理方法。
10. The control step narrows the limiter range on the low color temperature side when the color temperature corresponding to the limiter on the low color temperature side of the color temperature range is lower than the color temperature obtained by the color measurement step. The image processing method according to claim 9, further comprising:
【請求項11】 上記制御ステップは、上記色温度範囲
の高色温度側のリミッタに対応する色温度が上記測色ス
テップにより得られる色温度より低い場合、上記高色温
度側のリミッタ範囲を狭くするステップを含むことを特
徴とする請求項9記載の画像処理方法。
11. The control step narrows the limiter range on the high color temperature side when the color temperature corresponding to the limiter on the high color temperature side of the color temperature range is lower than the color temperature obtained by the color measurement step. The image processing method according to claim 9, further comprising:
【請求項12】 上記ホワイトバランス補正ステップ
は、上記測色ステップにより得られた色温度情報、及び
上記撮影画像の色信号に基づいて、上記ホワイトバラン
ス補正を行うステップを含むことを特徴とする請求項8
記載の画像処理方法。
12. The white balance correction step includes a step of performing the white balance correction based on color temperature information obtained in the color measurement step and a color signal of the captured image. Item 8
The described image processing method.
【請求項13】 請求項1〜5の何れかに記載の画像処
理装置の機能、又は請求項6記載の画像処理システムの
機能をコンピュータに実現させるためのプログラムを記
録したコンピュータ読出可能な記憶媒体。
13. A computer-readable storage medium recording a program for causing a computer to realize the function of the image processing apparatus according to claim 1 or the function of the image processing system according to claim 6. .
【請求項14】 請求項7〜12の何れかに記載の画像
処理方法の処理ステップをコンピュータに実行させるた
めのプログラムを記録したコンピュータ読取可能な記憶
媒体。
14. A computer-readable storage medium recording a program for causing a computer to execute the processing steps of the image processing method according to claim 7.
【請求項15】 請求項1〜5の何れかに記載の画像処
理装置の機能、又は請求項6記載の画像処理システムの
機能をコンピュータに実現させるためのプログラム。
15. A program for causing a computer to realize the function of the image processing apparatus according to claim 1 or the function of the image processing system according to claim 6.
【請求項16】 請求項7〜12の何れかに記載の画像
処理方法の処理ステップをコンピュータに実行させるた
めのプログラム。
16. A program for causing a computer to execute the processing steps of the image processing method according to claim 7.
JP2001329641A 2001-10-26 2001-10-26 Image processing apparatus, image processing system, image processing method, storage medium, and program Pending JP2003134531A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001329641A JP2003134531A (en) 2001-10-26 2001-10-26 Image processing apparatus, image processing system, image processing method, storage medium, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001329641A JP2003134531A (en) 2001-10-26 2001-10-26 Image processing apparatus, image processing system, image processing method, storage medium, and program

Publications (1)

Publication Number Publication Date
JP2003134531A true JP2003134531A (en) 2003-05-09

Family

ID=19145510

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001329641A Pending JP2003134531A (en) 2001-10-26 2001-10-26 Image processing apparatus, image processing system, image processing method, storage medium, and program

Country Status (1)

Country Link
JP (1) JP2003134531A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007272298A (en) * 2006-03-30 2007-10-18 Fujifilm Corp Face detection method and photographing device using the same
JP2008160477A (en) * 2006-12-22 2008-07-10 Canon Inc Imaging apparatus, its control method, program, and storage medium
JP2009152920A (en) * 2007-12-21 2009-07-09 Murata Mach Ltd Image reader
KR100951279B1 (en) 2008-07-22 2010-04-02 삼성전기주식회사 Method of camera image compensation and camera device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63141488A (en) * 1986-12-03 1988-06-13 Canon Inc White balance correcting device
JPH0564219A (en) * 1991-09-05 1993-03-12 Canon Inc Image pickup device
JP2000032490A (en) * 1999-06-28 2000-01-28 Matsushita Electric Ind Co Ltd Automatic white balance adjustment apparatus
JP2000224608A (en) * 1999-02-02 2000-08-11 Fuji Photo Film Co Ltd Automatic white balance control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63141488A (en) * 1986-12-03 1988-06-13 Canon Inc White balance correcting device
JPH0564219A (en) * 1991-09-05 1993-03-12 Canon Inc Image pickup device
JP2000224608A (en) * 1999-02-02 2000-08-11 Fuji Photo Film Co Ltd Automatic white balance control method
JP2000032490A (en) * 1999-06-28 2000-01-28 Matsushita Electric Ind Co Ltd Automatic white balance adjustment apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007272298A (en) * 2006-03-30 2007-10-18 Fujifilm Corp Face detection method and photographing device using the same
JP2008160477A (en) * 2006-12-22 2008-07-10 Canon Inc Imaging apparatus, its control method, program, and storage medium
US8743233B2 (en) 2006-12-22 2014-06-03 Canon Kabushiki Kaisha Sensitivity-settable image capture apparatus
JP2009152920A (en) * 2007-12-21 2009-07-09 Murata Mach Ltd Image reader
KR100951279B1 (en) 2008-07-22 2010-04-02 삼성전기주식회사 Method of camera image compensation and camera device

Similar Documents

Publication Publication Date Title
US11206382B2 (en) White balance synchronization method and apparatus, and terminal device
JP4217698B2 (en) Imaging apparatus and image processing method
JP4434073B2 (en) Image processing apparatus and imaging apparatus
US20020131635A1 (en) System and method for effectively performing a white balance operation
KR101352440B1 (en) Image processing apparatus, image processing method, and recording medium
JP4956581B2 (en) Imaging apparatus, white balance processing method of imaging apparatus, program, and recording medium
JP6006543B2 (en) Image processing apparatus and image processing method
JP2009212853A (en) White balance controller, its control method, and imaging apparatus
JP2002290829A (en) Image processor, program, and recording medium
JP2002354498A (en) Electronic camera
JP2009044221A (en) Imaging apparatus
JP2012235377A (en) Image processing apparatus, image processing method, and program
JP2012165069A (en) Image processing apparatus and method
US20040196383A1 (en) Image pickup device, white balance processing method, program, and storage medium
US11838648B2 (en) Image processing device, imaging apparatus, image processing method, and program for determining a condition for high dynamic range processing
JP5225137B2 (en) Imaging apparatus, image processing method, and program
JP4959237B2 (en) Imaging system and imaging program
CN110324529B (en) Image processing apparatus and control method thereof
US20030076424A1 (en) Digital camera
JP6148497B2 (en) Image processing apparatus, image processing method, program, and storage medium
JP5854716B2 (en) Image processing apparatus, image processing method, and program
JP2003134531A (en) Image processing apparatus, image processing system, image processing method, storage medium, and program
JP5414216B2 (en) Imaging apparatus, control method thereof, and program
JP4332413B2 (en) Imaging device, white balance processing method of imaging device, white balance processing method of imaging system, program, and storage medium
JP3595104B2 (en) White balance adjustment method for color imaging device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041025

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070119

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070130

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070529