JP2002185977A - Video signal processor and recording medium with video signal processing program recorded thereon - Google Patents

Video signal processor and recording medium with video signal processing program recorded thereon

Info

Publication number
JP2002185977A
JP2002185977A JP2000374841A JP2000374841A JP2002185977A JP 2002185977 A JP2002185977 A JP 2002185977A JP 2000374841 A JP2000374841 A JP 2000374841A JP 2000374841 A JP2000374841 A JP 2000374841A JP 2002185977 A JP2002185977 A JP 2002185977A
Authority
JP
Japan
Prior art keywords
video signal
color
signal processing
area
pixel output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2000374841A
Other languages
Japanese (ja)
Other versions
JP4649734B2 (en
Inventor
Masahisa Suzuki
政央 鈴木
Hideo Hojuyama
秀雄 宝珠山
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.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP2000374841A priority Critical patent/JP4649734B2/en
Priority to US10/001,997 priority patent/US7196724B2/en
Publication of JP2002185977A publication Critical patent/JP2002185977A/en
Priority to US11/710,404 priority patent/US7750948B2/en
Application granted granted Critical
Publication of JP4649734B2 publication Critical patent/JP4649734B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Color Television Image Signal Generators (AREA)
  • Processing Of Color Television Signals (AREA)
  • Exposure Control For Cameras (AREA)
  • Cameras In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain good white balance even when a chromatic subject occupies the large area of a photographic picture. SOLUTION: The photodetective surface of a color imaging device is divided into plural areas and the pixel output average of each color in each area is calculated. The rate of the pixel output average of another color to that of a color to be a standard is calculated by each area. Then, the hue of each area is detected based on the rate of the pixel output average and an area of a hue equal to or lower than a prescribed frequency is extracted from among plural areas based on the frequency distribution of the house in the plural areas to adjust the white balance based on the pixel output of each color in the extracted area.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、カラー撮像素子か
ら入力した映像信号を処理する装置およびその処理プロ
グラムを記録した記録媒体に関し、特に、ホワイトバラ
ンス性能を改良したものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for processing a video signal input from a color image sensor and a recording medium on which a processing program is recorded, and more particularly, to an apparatus having improved white balance performance.

【0002】[0002]

【従来の技術】カラー撮像素子で撮像した映像信号を処
理し、被写体の白色部分を正しく白色に再生するための
ホワイトバランス調整を行う電子スチルカメラやビデオ
カメラなどの映像信号処理装置が知られている(例え
ば、特許第2997234号公報参照)。
2. Description of the Related Art A video signal processing apparatus such as an electronic still camera or a video camera for processing a video signal captured by a color image sensor and performing white balance adjustment for correctly reproducing a white portion of a subject in white is known. (For example, see Japanese Patent No. 29997234).

【0003】図9は従来の映像信号処理回路の制御ブロ
ック図であり、この図により従来のホワイトバランス調
整について簡単に説明する。このカメラはTTL方式の
撮像装置と映像信号処理装置を備えている。撮影レンズ
51によりカラー撮像素子52上に結像された被写体像
は、カラー撮像素子52により映像電気信号に変換され
る。輝度信号処理部53では映像信号から輝度信号Yが
生成され、クロマ信号処理部54では映像信号から輝度
信号の低周波数成分YLと赤信号Rおよび青信号Bが生
成される。ここで、輝度信号Yは、
FIG. 9 is a control block diagram of a conventional video signal processing circuit, and the conventional white balance adjustment will be briefly described with reference to FIG. This camera includes a TTL type imaging device and a video signal processing device. The subject image formed on the color image sensor 52 by the photographing lens 51 is converted by the color image sensor 52 into a video electric signal. The luminance signal processing section 53 generates a luminance signal Y from the video signal, and the chroma signal processing section 54 generates a low frequency component YL, a red signal R, and a blue signal B of the luminance signal from the video signal. Here, the luminance signal Y is

【数1】Y=0.30R+0.59G+0.11B の比率で赤R、緑G、青Bを混合した信号である。## EQU1 ## A signal obtained by mixing red R, green G, and blue B at a ratio of Y = 0.30R + 0.59G + 0.11B.

【0004】赤信号RはR利得制御部55で赤信号のホ
ワイトバランスゲインRgainが乗じられ、赤信号R’が
生成される。一方、青信号BはB利得制御部56で青信
号のホワイトバランスゲインBgainが乗じられ、青信号
B’が生成される。次に、マトリクスアンプ57では赤
信号R’と輝度信号の低周波数成分YLに基づいて色差
信号R−Yが生成され、またマトリクスアンプ58では
青信号B’と輝度信号の低周波数成分YLに基づいて色
差信号B−Yが生成される。ここで、
[0004] The red signal R is multiplied by a white balance gain Rgain of the red signal in an R gain control unit 55 to generate a red signal R '. On the other hand, the blue signal B is multiplied by the white balance gain Bgain of the blue signal in the B gain control unit 56 to generate a blue signal B ′. Next, the matrix amplifier 57 generates a color difference signal RY based on the red signal R 'and the low frequency component YL of the luminance signal, and the matrix amplifier 58 generates the color difference signal RY based on the blue signal B' and the low frequency component YL of the luminance signal. A color difference signal BY is generated. here,

【数2】 R−Y=0.70R−0.59G−0.11B, B−Y=0.89B−0.59G−0.30R これらの色差信号R−Y、B−Yは圧縮処理部59へ送
られ、JPEGなどに圧縮されて記録媒体に記録され
る。
## EQU00002 ## RY = 0.70R-0.59G-0.11B, BY = 0.89B-0.59G-0.30R These color difference signals RY and BY are compression-processed. It is sent to 59 and compressed to JPEG or the like and recorded on a recording medium.

【0005】一方、平均化部60、61はそれぞれ色差
信号R−Y、B−Yの1画面分の平均値を求め、制御電
圧導出部62はそれらの平均信号レベルが0レベル、す
なわちR=B=Gとなるようなホワイトバランスゲイン
Rgain、Bgainを導出する。上述したように、これらの
ホワイトバランスゲインRgain、Bgainはそれぞれ赤信
号Rと青信号Bに乗ぜられ、ホワイトバランス調整が行
われる。
On the other hand, the averaging units 60 and 61 calculate the average values of the color difference signals RY and BY for one screen, respectively, and the control voltage deriving unit 62 sets the average signal level to 0 level, that is, R = The white balance gains Rgain and Bgain that satisfies B = G are derived. As described above, these white balance gains Rgain and Bgain are multiplied by the red signal R and the blue signal B, respectively, to perform white balance adjustment.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、従来の
映像信号処理装置では、有彩色の被写体が撮影画面の広
い範囲を占めるシーンを撮影する場合に、その被写体の
色に強い影響を受けて正しくホワイトバランス調整が行
われないという問題がある。
However, in the conventional video signal processing apparatus, when shooting a scene in which a chromatic subject occupies a wide area of a shooting screen, the subject is strongly affected by the color of the subject, and a white image is correctly obtained. There is a problem that balance adjustment is not performed.

【0007】本発明の目的は、有彩色の被写体が撮影画
面の広い範囲を占める場合でも良好なホワイトバランス
を得ることにある。
An object of the present invention is to obtain a good white balance even when a chromatic object occupies a wide area of a photographing screen.

【0008】[0008]

【課題を解決するための手段】一実施の形態の画像処理
プログラムを示す図5および図6に対応づけて本発明を
説明すると、 (1) 請求項1の発明は、撮影レンズにより結像され
た被写体像を電気信号に変換するカラー撮像素子を備
え、前記カラー撮像素子から入力した各色の画素出力に
処理を施してホワイトバランス調整を行う映像信号処理
装置に適用される。そして、前記カラー撮像素子の受光
面を複数の領域に分割する領域分割手段(S5)と、各
領域の色ごとの画素出力平均値を演算する平均値演算手
段(S6)と、各領域ごとに基準となる色の画素出力平
均値に対する他の色の画素出力平均値の比を演算する平
均値比演算手段(S7)と、前記画素出力平均値の比に
基づいて各領域の色相を検出する色相検出手段(S8,
S9)と、前記複数の領域の色相の度数分布に基づいて
前記複数の領域の中から所定度数以下の色相の領域を抽
出する領域抽出手段(S10)とを備え、前記抽出され
た領域の各色の画素出力に基づいてホワイトバランス調
整を行う(S11,S12,S14)。 (2) 請求項2の映像信号処理装置は、前記抽出され
た領域の色ごとの画素出力平均値の総和を演算する総和
演算手段(S11)と、前記各色の総和に基づいて基準
色以外の色に対するホワイトバランスゲインを演算する
ゲイン演算手段(S12)と、基準色以外の色の画素出
力に前記ホワイトバランスゲインを乗ずる画素出力調整
手段(S14)とを備え、ホワイトバランス調整を行
う。 (3) 請求項3の発明は、撮影レンズにより結像され
た被写体像を電気信号に変換するカラー撮像素子から映
像信号を入力し、その映像信号に含まれる各色の画素出
力に処理を施してホワイトバランス調整を行う映像信号
処理プログラムを記録したコンピューター読み取り可能
な記録媒体に適用され、前記カラー撮像素子の受光面を
複数の領域に分割する領域分割処理(S5)と、各領域
の色ごとの画素出力平均値を演算する平均値演算処理
(S6)と、各領域ごとに基準となる色の画素出力平均
値に対する他の色の画素出力平均値の比を演算する平均
値比演算処理(S7)と、前記画素出力平均値の比に基
づいて各領域の色相を検出する色相検出処理(S8,S
9)と、前記複数の領域の色相の度数分布に基づいて前
記複数の領域の中から所定度数以下の色相の領域を抽出
する領域抽出処理(S10)とを行い、前記抽出された
領域の各色の画素出力に基づいてホワイトバランス調整
を行う(S11,S12,S14)。 (4) 請求項4の映像信号処理プログラムを記録した
コンピューター読み取り可能な記録媒体は、前記抽出さ
れた領域の色ごとの画素出力平均値の総和を演算する総
和演算処理(S11)と、前記各色の総和に基づいて基
準色以外の色に対するホワイトバランスゲインを演算す
るゲイン演算処理(S12)と、基準色以外の色の画素
出力に前記ホワイトバランスゲインを乗ずる画素出力調
整処理(S14)とを行い、ホワイトバランス調整を行
う。 (5) 請求項5の映像信号処理装置または映像信号処
理プログラムを記録したコンピューター読み取り可能な
記録媒体は、前記カラー撮像素子が赤色成分、緑色成分
および青色成分の画素を有し、前記基準色は緑色であ
る。 (6) 請求項6の映像信号処理装置または映像信号処
理プログラムを記録したコンピューター読み取り可能な
記録媒体の前記カラー撮像素子は、緑色成分、黄色成
分、青緑色成分および紫色成分の画素を有し、前記基準
色は緑色である。 (7) 請求項7の映像信号処理装置または映像信号処
理プログラムを記録したコンピューター読み取り可能な
記録媒体は、前記撮像素子が撮像した被写体像を記録す
るための撮像素子である。 (8) 請求項8の映像信号処理装置または映像信号処
理プログラムを記録したコンピューター読み取り可能な
記録媒体は、前記撮像素子が被写界を複数の測光領域に
分割して各測光領域ごとに被写体輝度を測定するための
撮像素子である。 (9) 請求項9の発明は、撮影レンズにより結像され
た被写体像を電気信号に変換するカラー撮像素子を備
え、カラー撮像素子から入力した各色の画素出力に処理
を施してホワイトバランス調整を行う映像信号処理装置
に適用される。そして、カラー撮像素子の受光面を複数
の領域に分割する領域分割手段と、各領域の画素出力に
基づいて各領域ごとの色相を演算する色相演算手段と、
複数の領域の色相の度数分布を演算する色相分布演算手
段と、色相の度数分布から所定度数以下の領域を抽出す
る領域抽出手段とを備え、抽出された領域の各色の画素
出力に基づいてホワイトバランス調整を行う。 (10) 請求項10の発明は、撮影レンズにより結像
された被写体像を電気信号に変換するカラー撮像素子か
ら映像信号を入力し、その映像信号に含まれる各色の画
素出力に処理を施してホワイトバランス調整を行う映像
信号処理プログラムを記録したコンピューター読み取り
可能な記録媒体に適用される。そして、カラー撮像素子
の受光面を複数の領域に分割する領域分割処理と、各領
域の画素出力に基づいて各領域ごとの色相を演算する色
相演算処理と、複数の領域の色相の度数分布を演算する
色相分布演算処理と、色相の度数分布から所定度数以下
の領域を抽出する領域抽出処理とを行い、抽出された領
域の各色の画素出力に基づいてホワイトバランス調整を
行う。
The present invention will be described with reference to FIGS. 5 and 6 showing an image processing program according to an embodiment. (1) The invention of claim 1 forms an image by a photographing lens. The present invention is applied to a video signal processing apparatus that includes a color image sensor that converts a subject image into an electric signal, and performs white balance adjustment by processing pixel outputs of each color input from the color image sensor. An area dividing means (S5) for dividing the light receiving surface of the color image sensor into a plurality of areas; an average value calculating means (S6) for calculating an average pixel output value for each color of each area; Average value ratio calculating means (S7) for calculating a ratio of a pixel output average value of another color to a pixel output average value of a reference color, and detecting a hue of each area based on the ratio of the pixel output average values. Hue detecting means (S8,
S9), and a region extracting means (S10) for extracting a region having a hue of a predetermined frequency or less from the plurality of regions based on a frequency distribution of hues of the plurality of regions, wherein each color of the extracted region is provided. (S11, S12, S14). (2) The video signal processing device according to claim 2, wherein a sum calculation means (S11) for calculating a sum of pixel output average values for each color of the extracted area, and a non-reference color based on the sum of each color. A gain calculating means (S12) for calculating a white balance gain for a color, and a pixel output adjusting means (S14) for multiplying a pixel output of a color other than the reference color by the white balance gain, perform white balance adjustment. (3) According to a third aspect of the present invention, a video signal is input from a color imaging device that converts a subject image formed by a photographing lens into an electric signal, and a process is performed on pixel outputs of each color included in the video signal. The method is applied to a computer-readable recording medium on which a video signal processing program for performing white balance adjustment is recorded. The area division processing (S5) for dividing the light receiving surface of the color image sensor into a plurality of areas. Average value calculation processing (S6) for calculating the pixel output average value, and average value ratio calculation processing (S7) for calculating the ratio of the pixel output average value of the other color to the reference color pixel output average value for each region. ) And a hue detection process for detecting the hue of each area based on the ratio of the pixel output average value (S8, S8)
9) and an area extraction process (S10) for extracting an area having a hue of a predetermined frequency or less from the plurality of areas based on the frequency distribution of hues of the plurality of areas, and performing each color of the extracted area. (S11, S12, S14). (4) A computer-readable recording medium on which the video signal processing program according to claim 4 is recorded, wherein a sum total calculation process (S11) for calculating a sum of pixel output average values for each color of the extracted area; A gain calculation process (S12) for calculating a white balance gain for a color other than the reference color based on the sum of the above, and a pixel output adjustment process (S14) for multiplying a pixel output of a color other than the reference color by the white balance gain. , Adjust the white balance. (5) In a computer-readable recording medium on which the video signal processing device or the video signal processing program according to claim 5 is recorded, the color imaging element has pixels of a red component, a green component, and a blue component, and the reference color is It is green. (6) The color image sensor of the computer-readable recording medium on which the video signal processing device or the video signal processing program according to claim 6 is recorded has pixels of a green component, a yellow component, a blue-green component, and a violet component, The reference color is green. (7) A computer-readable recording medium storing the video signal processing device or the video signal processing program according to claim 7 is an image sensor for recording a subject image captured by the image sensor. (8) A computer-readable recording medium storing the video signal processing device or the video signal processing program according to claim 8, wherein the image pickup device divides an object field into a plurality of photometric areas and outputs a subject brightness for each of the photometric areas. Is an image pickup device for measuring. (9) A ninth aspect of the present invention includes a color image sensor for converting a subject image formed by a photographic lens into an electric signal, and performs white balance adjustment by performing processing on pixel output of each color input from the color image sensor. The present invention is applied to a video signal processing device that performs the processing. An area dividing unit that divides a light receiving surface of the color image sensor into a plurality of areas; a hue calculating unit that calculates a hue of each area based on a pixel output of each area;
A hue distribution calculating means for calculating a frequency distribution of hues in a plurality of areas; and an area extracting means for extracting an area having a predetermined frequency or less from the hue frequency distribution. Perform balance adjustment. (10) According to a tenth aspect of the present invention, a video signal is input from a color image sensor that converts a subject image formed by a photographic lens into an electric signal, and a pixel output of each color included in the video signal is processed. The present invention is applied to a computer-readable recording medium on which a video signal processing program for performing white balance adjustment is recorded. Then, an area dividing process of dividing the light receiving surface of the color image sensor into a plurality of regions, a hue calculating process of calculating a hue of each region based on a pixel output of each region, and a frequency distribution of hues of the plurality of regions are performed. The hue distribution calculation processing to be calculated and the area extraction processing to extract an area having a frequency equal to or less than a predetermined frequency from the hue frequency distribution are performed, and the white balance is adjusted based on the pixel output of each color of the extracted area.

【0009】上述した課題を解決するための手段の項で
は、説明を分かりやすくするために一実施の形態の図を
用いたが、これにより本発明が一実施の形態に限定され
るものではない。
In the section of the means for solving the above-described problem, a diagram of one embodiment is used for easy understanding of the description, but the present invention is not limited to the embodiment. .

【0010】[0010]

【発明の実施の形態】本発明をTTL一眼レフ電子スチ
ルカメラに適用した一実施の形態を説明する。なお、本
発明はTTL一眼レフ電子スチルカメラに限定されず、
CCDなどのカラー撮像素子により映像を撮像する透視
ファインダー式などのすべての電子スチルカメラ、ビデ
オカメラ、あるいはスキャナーなどにも適用することが
できる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to a TTL single-lens reflex electronic still camera will be described. Note that the present invention is not limited to a TTL single-lens reflex electronic still camera,
The present invention can be applied to all electronic still cameras, video cameras, scanners, and the like, such as a perspective finder type, which captures an image with a color imaging element such as a CCD.

【0011】図1は一実施の形態のカメラの横断面を示
し、図2はカメラの構成を示す。このTTL一眼レフカ
メラは、カメラボディ1に交換レンズ鏡筒2が装着され
る。被写体からの光はレンズ鏡筒2へ入射し、鏡筒2内
の撮影レンズ3と絞り4の開口部を通過してカメラボデ
ィ1へ導かれる。
FIG. 1 shows a cross section of a camera according to an embodiment, and FIG. 2 shows a configuration of the camera. In this TTL single-lens reflex camera, an interchangeable lens barrel 2 is mounted on a camera body 1. Light from the subject enters the lens barrel 2, passes through the aperture of the photographing lens 3 and the aperture 4 in the lens barrel 2, and is guided to the camera body 1.

【0012】カメラボディ1では、撮影時以外はメイン
ミラー5が破線で示す位置に置かれ、被写体光はメイン
ミラー5で反射されてファインダーマット6へ導かれ、
ファインダーマット6上に被写体像が結像される。その
被写体像はペンタプリズム7により接眼レンズ8へ導か
れ、接眼レンズ8を介して撮影者に視認される。
In the camera body 1, the main mirror 5 is placed at a position shown by a dashed line except during photographing, and the subject light is reflected by the main mirror 5 and guided to the finder mat 6,
A subject image is formed on the viewfinder mat 6. The subject image is guided to the eyepiece 8 by the pentaprism 7 and is visually recognized by the photographer via the eyepiece 8.

【0013】また、ファインダーマット6上に結像され
た被写体像は、ペンタプリズム7およびプリズム9によ
り結像レンズ10へ導かれ、結像レンズ10により測光
用撮像素子11上に被写体像が再結像される。測光用撮
像素子11はフォトダイオードやCCDから構成され、
被写界を複数の測光領域に分割して各測光領域ごとに被
写体輝度を測定する。
The subject image formed on the finder mat 6 is guided to an imaging lens 10 by a pentaprism 7 and a prism 9, and the subject image is re-formed on the photometric image sensor 11 by the imaging lens 10. Imaged. The photometric imaging device 11 is composed of a photodiode or a CCD,
The object scene is divided into a plurality of photometric areas, and the subject brightness is measured for each photometric area.

【0014】一方、撮影時はメインミラー5が実線で示
す位置まで退避されるので、被写体光はサブミラー12
を透過して開放されているシャッター13を通り、撮影
用撮像素子14へ導かれ、撮像素子14上に被写体像が
結像される。なお、被写体光の一部はサブミラー12で
反射され、カメラボディ1の底部に設置される焦点検出
装置(不図示)へ導かれ、撮影レンズ3の焦点調節状態
が検出される。
On the other hand, at the time of photographing, the main mirror 5 is retracted to the position shown by the solid line.
The light passes through the shutter 13 that is opened through the light-emitting device, and is guided to the image pickup device 14 for imaging, and a subject image is formed on the image pickup device 14. A part of the subject light is reflected by the sub-mirror 12 and guided to a focus detection device (not shown) installed at the bottom of the camera body 1 to detect a focus adjustment state of the photographing lens 3.

【0015】撮影用撮像素子(CCD)14は複数の画
素が平面上に配列されており、各画素上には図3に示す
ように赤R、緑G、青Bのカラーフィルターが配置され
ている。なお、図4に示すような緑G、黄色(イエロ
ー)Ye、青緑(シアン)Cy、紫(マゼンダ)Maの補
色系のカラーフィルターを配置した撮像素子を用いるこ
ともできる。なお、このようなカラーフィルターを備え
た撮像素子をこの明細書ではカラー撮像素子と呼ぶ。
The image pickup device (CCD) 14 for photography has a plurality of pixels arranged on a plane, and a red R, green G, and blue B color filter is arranged on each pixel as shown in FIG. I have. It is also possible to use an image sensor in which complementary color filters of green G, yellow (yellow) Ye, blue-green (cyan) Cy, and purple (magenta) Ma as shown in FIG. 4 are arranged. Note that an image pickup device provided with such a color filter is referred to as a color image pickup device in this specification.

【0016】図2において、CPU21はカメラ全体の
動作を制御する。CPU21はタイミングジェネレータ
ー(TG)22とドライバー23を制御して上述した撮
影用のカラー撮像素子(CCD)14を駆動する。ま
た、CPU21はタイミングジェネレーター22を制御
してアナログ信号処理回路24、A/D変換器25、画
像処理回路(ASIC)26、バッファーメモリ27を
制御する。
In FIG. 2, a CPU 21 controls the operation of the entire camera. The CPU 21 controls the timing generator (TG) 22 and the driver 23 to drive the above-described color imaging device (CCD) 14 for photographing. The CPU 21 controls the timing generator 22 to control the analog signal processing circuit 24, the A / D converter 25, the image processing circuit (ASIC) 26, and the buffer memory 27.

【0017】アナログ信号処理回路24は、カラー撮像
素子14から入力したアナログR、G、B信号に対して
ゲインコントロール、雑音除去などのアナログ処理を施
す。A/D変換器25はアナログR、G、B信号をデジ
タル信号に変換する。また、画像処理回路(ASIC)
26は、デジタルR、G、B信号に対してホワイトバラ
ンス調整、γ補正、補間輪郭補償などの処理を施す。な
お、この画像処理回路26の動作については後述する。
The analog signal processing circuit 24 performs analog processing such as gain control and noise removal on the analog R, G, and B signals input from the color image sensor 14. The A / D converter 25 converts analog R, G, B signals into digital signals. Also, an image processing circuit (ASIC)
26 performs processing such as white balance adjustment, γ correction, and interpolation contour compensation on the digital R, G, and B signals. The operation of the image processing circuit 26 will be described later.

【0018】バッファーメモリ27は、画像処理中もし
くは処理後の画像データを格納する。圧縮回路(JPE
G)28は、バッファーメモリ27に格納されている画
像データをJPEG方式で所定の比率に圧縮する。表示
画像生成回路29は、バッファーメモリ27に格納され
ている画像データから表示用画像データを生成し、モニ
ター30に表示する。メモリカード31はフラッシュメ
モリなどから構成され、圧縮後の画像データを記録す
る。また、CPU21にはシャッターレリーズ釦の半押
しスイッチ32と全押し(レリーズ)スイッチ33が接
続される。
The buffer memory 27 stores image data during or after image processing. Compression circuit (JPE
G) 28 compresses the image data stored in the buffer memory 27 at a predetermined ratio by the JPEG method. The display image generation circuit 29 generates display image data from the image data stored in the buffer memory 27 and displays the display image data on the monitor 30. The memory card 31 is composed of a flash memory or the like, and records compressed image data. Further, a half-press switch 32 and a full-press (release) switch 33 of a shutter release button are connected to the CPU 21.

【0019】CPU21は、シャッター13がレリーズ
されて撮影が行われるたびに、カラー撮像素子14の電
荷蓄積を行い、蓄積電荷を読み出してアナログ信号処理
回路24とA/D変換器25で信号処理とデジタル変換
した後、画像処理回路26により処理を行う。そして、
モニター30に撮像画像を表示し、圧縮回路28で画像
を圧縮してメモリカード31に記録する。
Each time the shutter 13 is released and photographing is performed, the CPU 21 accumulates charges in the color image pickup element 14, reads out the accumulated charges, and performs signal processing by the analog signal processing circuit 24 and the A / D converter 25. After the digital conversion, the image processing circuit 26 performs processing. And
The captured image is displayed on the monitor 30, and the image is compressed by the compression circuit 28 and recorded on the memory card 31.

【0020】画像処理回路(ASIC)26はCPUと
その周辺部品から構成され、図5および図6に示す画像
処理プログラムを実行してR、G、B画像信号を処理す
る。なお、この実施の形態ではマイクロコンピューター
のソフトウエアで画像処理を行う例を示すが、ハードウ
エアにより画像処理を行ってもよい。
An image processing circuit (ASIC) 26 comprises a CPU and its peripheral parts, and executes an image processing program shown in FIGS. 5 and 6 to process R, G, B image signals. In this embodiment, an example in which image processing is performed by software of a microcomputer is described, but image processing may be performed by hardware.

【0021】ステップ1において、カラー撮像素子14
から出力されA/D変換器25でデジタル信号に変換さ
れたR、G、Bの各画素データを入力する。続くステッ
プ2で、画素配列の1ラインごとに、オプティカルブラ
ックとして使用する複数の画素データの加重平均をその
ラインの各画素データから減算する。ステップ3では、
画素配列の1ラインごとに、R、G、Bの各画素データ
に対して一律に所定のゲインを乗して信号レベルを調整
するとともに、G画素に対するRとB画素の感度のばら
つきを補正する。
In step 1, the color image sensor 14
The R, G, and B pixel data output from the A / D converter 25 and converted into digital signals by the A / D converter 25 are input. In the following step 2, for each line of the pixel array, a weighted average of a plurality of pixel data used as optical black is subtracted from each pixel data of the line. In step 3,
For each line of the pixel array, a predetermined gain is uniformly applied to each of the R, G, and B pixel data to adjust the signal level, and to correct the variation in the sensitivity of the R and B pixels with respect to the G pixel. .

【0022】ステップ4で上記処理を施したRGB画素
データをバッファーメモリ27へ出力して記憶させると
ともに、ステップ5〜11において上記処理を施したR
GB画素データに基づいてホワイトバランスゲインRga
in、Bgainを演算する。
In step 4, the RGB pixel data subjected to the above processing is output to the buffer memory 27 and stored therein.
White balance gain Rga based on GB pixel data
Calculate in and Bgain.

【0023】ホワイトバランスゲインRgain、Bgainの
演算方法を説明する。まず、ステップ5で複数の画素が
平面上に配列された撮像素子14の受光面を、少なくと
も2個以上の画素を含む複数の領域に分割する。この領
域分割方法には、原則として同一個数の画素を含み、
各領域が互いにオーバーラップしないように分割する方
法、原則として同一個数の画素を含み、各領域がオー
バーラップするように分割する方法、当初の演算は広
い領域に分割して行い、演算結果に基づいて狭い領域に
分割する方法、つまり、演算結果に基づいて領域の大き
さを変更する方法、あるいは上記の方法を組み合わせた
方法などがある。なお、領域の分割方法はこの実施の形
態の方法に限定されるものではない。
A method of calculating the white balance gains Rgain and Bgain will be described. First, in step 5, the light receiving surface of the image sensor 14 in which a plurality of pixels are arranged on a plane is divided into a plurality of regions including at least two or more pixels. In this region division method, in principle, the same number of pixels are included,
A method of dividing each area so that they do not overlap each other, a method of including the same number of pixels as a rule, and a method of dividing each area so that they overlap each other. There is a method of dividing the area into smaller areas, that is, a method of changing the size of the area based on the calculation result, or a method of combining the above methods. The method of dividing the area is not limited to the method of this embodiment.

【0024】の領域のオーバーラップを許容する分割
方法は、のオーバーラップを許容しない分割方法に比
べて、より正確なホワイトバランスゲインを演算するこ
とができるが、オーバーラップ量を多くすると、後述す
る撮影画面内から有彩色被写体の範囲を排除する際に不
具合を生じる。の分割方法は、当初は広い領域分割で
演算を行い、信頼性の高い演算結果が得られない場合は
狭い領域分割で演算をやり直すことによって、演算処理
時間を短縮できる。
The division method allowing the overlap of the area can calculate a more accurate white balance gain as compared with the division method not allowing the overlap. However, if the amount of overlap is increased, it will be described later. A problem occurs when the range of the chromatic subject is excluded from the shooting screen. In the division method of, the operation is performed in a wide area division at first, and when a highly reliable operation result cannot be obtained, the calculation is performed again in a narrow area division, thereby shortening the operation processing time.

【0025】いずれかの方法でn分割された各領域に対
して、領域番号i(=1〜n)を付して区別する。ステ
ップ6で、各領域iに含まれるR,G,Bごとの画素値
の平均値Ra(i)、Ga(i)、Ba(i)を演算する。続くステ
ップ7では、各領域iにおけるG画素平均値Ga(i)に対
するR画素平均値Ra(i)の比RG(i)と、G画素平均値
Ga(i)に対するB画素平均値Ba(i)の比BG(i)を、次
式により演算する。
Each area divided into n parts by any of the methods is distinguished by giving an area number i (= 1 to n). In step 6, average values Ra (i), Ga (i), and Ba (i) of pixel values for each of R, G, and B included in each area i are calculated. In the following step 7, the ratio RG (i) of the average R pixel value Ra (i) to the average G pixel value Ga (i) in each region i, and the average B pixel value Ba (i) to the average G pixel value Ga (i) ) Is calculated by the following equation.

【数3】RG(i)={Ra(i)−Ga(i)}/Ga(i), BG(i)={Ba(i)−Ga(i)}/Ga(i)RG (i) = {Ra (i) −Ga (i)} / Ga (i), BG (i) = {Ba (i) −Ga (i)} / Ga (i)

【0026】次に、ステップ8で、図7に示すように、
横軸をG画素平均値に対するB画素平均値の比BG、縦
軸をG画素平均値に対するR画素平均値の比RGとする
平面座標上に、演算結果の各領域iの比RG(i)と比B
G(i)で決まる点{RG(i),BG(i)}をプロットする。ステ
ップ9では、図7に示す平面座標において、原点(0,0)
からの放射範囲ごとの点{RG(i),BG(i)}の度数分布を
調べ、図8に示すようなヒストグラムを作成する。な
お、この実施の形態では10度の放射範囲を例に上げて
説明するが、放射範囲の角度はこの実施の形態に限定さ
れない。
Next, in step 8, as shown in FIG.
The ratio RG (i) of each region i of the calculation result is plotted on a plane coordinate where the horizontal axis represents the ratio BG of the B pixel average value to the G pixel average value and the vertical axis represents the ratio RG of the R pixel average value to the G pixel average value. And ratio B
The points {RG (i), BG (i)} determined by G (i) are plotted. In Step 9, the origin (0,0) is obtained in the plane coordinates shown in FIG.
The frequency distribution of the points {RG (i), BG (i)} for each radiation range from is examined, and a histogram as shown in FIG. 8 is created. In this embodiment, a radiation range of 10 degrees will be described as an example, but the angle of the radiation range is not limited to this embodiment.

【0027】G画素平均値に対するR画素平均値の比R
Gと、G画素平均値に対するB画素平均値の比BGの平
面座標上で、領域iの点{RG(i),BG(i)}が存在する位
置はその領域iに対応する被写体の有彩色の区別、すな
わち色相を表すことになるから、図7に示す放射範囲ご
との点{RG(i),BG(i)}の度数分布は被写体の色相傾向
を表す。例えば、青空が撮影画面の広い範囲を占める場
合には比BGが大きくなり、横軸BG周りの放射範囲の
度数が多くなる。また、一面の赤いバラ園を撮影する場
合には比RGが大きくなり、縦軸RG周りの放射範囲の
度数が多くなる。
The ratio R of the average R pixel value to the average G pixel value R
On the plane coordinates of G and the ratio BG of the average value of the B pixel to the average value of the G pixel, the position where the point {RG (i), BG (i)} of the region i exists is the presence of the subject corresponding to the region i. Since the coloring is represented, that is, the hue is represented, the frequency distribution of the points {RG (i), BG (i)} for each radiation range shown in FIG. 7 indicates the hue tendency of the subject. For example, when the blue sky occupies a wide range of the photographing screen, the ratio BG increases, and the frequency of the radiation range around the horizontal axis BG increases. Further, when photographing a whole red rose garden, the ratio RG increases, and the frequency of the radiation range around the vertical axis RG increases.

【0028】ところが、上述したようにこのような有彩
色の被写体が撮影画面の広い範囲を占めるシーンを撮影
する場合には、その被写体の色に強い影響を受けて良好
なホワイトバランスが得られなくなる。そこでこの実施
の形態では、所定度数Kを超える色相の領域iには撮影
画面の広い範囲を占める有彩色の被写体が存在すると判
断し、そのような領域をホワイトバランスゲイン演算の
対象領域から除外する。これにより、撮影画面内の広い
範囲を占める有彩色被写体を除外してホワイトバランス
調整を行うことができ、良好な調整結果が得られる。
However, as described above, when photographing a scene in which such a chromatic subject occupies a wide area of the photographing screen, a good white balance cannot be obtained due to the strong influence of the color of the subject. . Therefore, in this embodiment, it is determined that a chromatic subject occupying a wide range of the photographing screen exists in a region i having a hue exceeding a predetermined frequency K, and such a region is excluded from a target region of white balance gain calculation. . As a result, white balance adjustment can be performed while excluding a chromatic subject that occupies a wide range in the shooting screen, and a good adjustment result can be obtained.

【0029】具体的には、ステップ10で図8に示すヒ
ストグラムにおいて所定値K以下の度数の領域iを抽出
し、続くステップ11で抽出したすべての領域のR,
G,B各画素の平均値の総和を次式により演算する。
More specifically, in step 10, an area i having a frequency equal to or less than a predetermined value K is extracted from the histogram shown in FIG.
The sum of the average values of the G and B pixels is calculated by the following equation.

【数4】Rt=ΣRa(i), Gt=ΣGa(i), Bt=ΣBa(i) そして、ステップ12で総和Rt、Gt、Btに基づいて
次式によりホワイトバランスゲインRgain、Bgainを演
算する。
Rt = 4Ra (i), Gt = ΣGa (i), Bt = ΣBa (i) Then, in step 12, white balance gains Rgain and Bgain are calculated based on the sums Rt, Gt and Bt by the following equation. .

【数5】Rgain=Rt/Gt, Bgain=Bt/Gt## EQU5 ## Rgain = Rt / Gt, Bgain = Bt / Gt

【0030】ホワイトバランスゲインRgain、Bgainを
算出したら、ステップ13でバッファーメモリ27から
先に記憶したRGB画素データを入力し、すべてのR画
素値にゲインRgainを乗ずるとともに、すべてのB画素
値にゲインBgainを乗じてホワイトバランス調整を行
う。
After calculating the white balance gains Rgain and Bgain, the RGB pixel data previously stored is input from the buffer memory 27 in step 13, and all the R pixel values are multiplied by the gain Rgain. Multiply Bgain to adjust white balance.

【0031】ホワイトバランス調整後のステップ14
で、周知の黒レベル調整とγ補正を行う。さらに、ステ
ップ15において、縦p×横q画素領域ごとに周知の補
間、輪郭処理を行う。すなわち、ホワイトバランス調整
後の画像データに対してp×q画素領域のブロックデー
タごとにJPEG方式のデータ圧縮のためのフォーマッ
ト処理を行って、p1×q1画素領域のY信号とp2×q2
画素領域のCb信号およびCr信号を生成する。以上の黒
レベル調整、γ補正、補間輪郭処理については周知であ
り、本願発明と直接に関係しないので詳細な説明を省略
する。最後にステップ15で、Y信号、Cb信号、Cr信
号をバッファーメモリ27へ出力し、記憶する。
Step 14 after white balance adjustment
Then, well-known black level adjustment and gamma correction are performed. Further, in step 15, known interpolation and contour processing are performed for each of the vertical p × horizontal q pixel regions. That is, the image data after the white balance adjustment is subjected to a format process for JPEG data compression for each block data in the p × q pixel area, and the Y signal in the p1 × q1 pixel area and p2 × q2
A Cb signal and a Cr signal for the pixel area are generated. The above-described black level adjustment, γ correction, and interpolation contour processing are well known, and are not directly related to the present invention. Finally, in step 15, the Y signal, the Cb signal, and the Cr signal are output to the buffer memory 27 and stored.

【0032】このように、カラー撮像素子14の受光面
を複数の領域iに分割し、各領域iの色R、G、Bごと
の画素出力平均値Ra(i)、Ga(i)、Ba(i)を演算すると
ともに、各領域iごとに基準となる色Gの画素出力平均
値Ga(i)に対する他の色R、Bの画素出力平均値Ra
(i)、Ba(i)の比RG(i)、BG(i)を演算する。そし
て、画素出力平均値の比RG(i)、BG(i)に基づいて各
領域iの色相を検出し、複数の領域iの色相の度数分布
に基づいて複数の領域iの中から所定度数K以下の色相
の領域を抽出し、抽出した領域の各色の画素出力に基づ
いてホワイトバランス調整を行うようにしたので、有彩
色の被写体が撮影画面の広い範囲を占める場合でも良好
なホワイトバランスを得ることができる。
As described above, the light receiving surface of the color image sensor 14 is divided into a plurality of regions i, and the average pixel output values Ra (i), Ga (i), and Ba for the colors R, G, and B of each region i. (i) is calculated, and the pixel output average value Ra of the other colors R and B with respect to the pixel output average value Ga (i) of the reference color G for each region i.
(i) The ratios RG (i) and BG (i) of Ba (i) are calculated. Then, the hue of each area i is detected based on the pixel output average value ratios RG (i) and BG (i), and the predetermined frequency is determined from the plurality of areas i based on the frequency distribution of the hue of the plurality of areas i. Since a region having a hue equal to or less than K is extracted and white balance adjustment is performed based on the pixel output of each color in the extracted region, a good white balance can be obtained even when a chromatic subject occupies a wide area of the shooting screen. Obtainable.

【0033】以上の実施の形態の構成において、画像処
理回路(ASIC)26が領域分割手段、平均値演算手
段、平均値比演算手段、色相検出手段、領域抽出手段、
総和演算手段、ゲイン演算手段、画素出力調整手段、色
相演算手段および色相分布演算手段を構成する。
In the configuration of the above embodiment, the image processing circuit (ASIC) 26 includes area dividing means, average value calculating means, average value calculating means, hue detecting means, area extracting means,
The summation means, the gain calculation means, the pixel output adjustment means, the hue calculation means and the hue distribution calculation means are constituted.

【0034】なお、上述した一実施の形態では、G画素
平均値に対するR画素平均値の比RGと、G画素平均値
に対するB画素平均値の比BGの平面座標系を設定し、
各領域の被写体の色相傾向を判断する例を示したが、上
述した座標系に限定されず、例えばXYZ、LAB、L
UV、HSCなどの色相を表す座標系であればどのよう
な座標系を用いてもよい。
In the above-described embodiment, the plane coordinate system of the ratio RG of the average R pixel value to the average G pixel value and the ratio BG of the average B pixel value to the average G pixel value is set.
The example in which the hue tendency of the subject in each area is determined has been described. However, the present invention is not limited to the coordinate system described above. For example, XYZ, LAB, L
Any coordinate system that represents a hue such as UV or HSC may be used.

【0035】また、上述した一実施の形態では、撮影用
カラー撮像素子14の出力を用いてホワイトバランス調
整を行う例を示したが、測光用カラー撮像素子11の出
力を用いて上述したホワイトバランス調整を行っても、
同様な効果が得られる。
In the above-described embodiment, an example in which white balance adjustment is performed using the output of the color imaging device 14 for photographing has been described. After making adjustments,
Similar effects can be obtained.

【0036】さらに、上述した一実施の形態では、緑色
を基準色とするR,G,Bの三原色カラーフィルターを
備えた撮像素子を例に上げて説明したが、カラー撮像素
子のフィルターの色とその配列および基準色は上記一実
施の形態に限定されず、例えばG、Ye、Cr、Maの補
色カラーフィルターを備えた撮像素子を用いても同様な
効果が得られる。
Further, in the above-described embodiment, an image pickup device having three primary color filters of R, G, and B using green as a reference color has been described as an example. The arrangement and the reference colors are not limited to those in the above-described embodiment. For example, similar effects can be obtained by using an image sensor having a complementary color filter of G, Ye, Cr, and Ma.

【0037】[0037]

【発明の効果】以上説明したように本発明によれば、カ
ラー撮像素子の受光面を複数の領域に分割し、各領域の
色ごとの画素出力平均値を演算するとともに、各領域ご
とに基準となる色の画素出力平均値に対する他の色の画
素出力平均値の比を演算する。そして、画素出力平均値
の比に基づいて各領域の色相を検出し、複数の領域の色
相の度数分布に基づいて複数の領域の中から所定度数以
下の色相の領域を抽出し、抽出した領域の各色の画素出
力に基づいてホワイトバランス調整を行うようにしたの
で、有彩色の被写体が撮影画面の広い範囲を占める場合
でも良好なホワイトバランスを得ることができる。ま
た、本発明によれば、R、G、B三原色系のカラー撮像
素子はもちろんのこと、G、Ye、Cy、Ma補色系のカ
ラー撮像素子でも上記効果を得ることができる。さら
に、本発明によれば、撮影用撮像素子はもちろんのこ
と、測光用撮像素子でも上記効果を得ることができる。
さらに、本発明によれば、カラー撮像素子の受光面を複
数の領域に分割し、各領域の画素出力に基づいて各領域
ごとの色相を演算するとともに、複数の領域の色相の度
数分布を演算し、色相の度数分布から所定度数以下の領
域を抽出し、抽出した領域の各色の画素出力に基づいて
ホワイトバランス調整を行うようにしたので、有彩色の
被写体が撮影画面の広い範囲を占める場合でも良好なホ
ワイトバランスを得ることができる。
As described above, according to the present invention, the light receiving surface of the color image sensor is divided into a plurality of regions, the average pixel output value for each color in each region is calculated, and the reference value is calculated for each region. The ratio of the pixel output average value of the other color to the pixel output average value of the color to be calculated is calculated. Then, the hue of each area is detected based on the ratio of the pixel output average values, and a hue area having a predetermined frequency or less is extracted from the plurality of areas based on the hue frequency distribution of the plurality of areas, and the extracted area is extracted. The white balance adjustment is performed based on the pixel output of each color, so that a good white balance can be obtained even when a chromatic subject occupies a wide area of the shooting screen. Further, according to the present invention, the above effects can be obtained not only with color image sensors of the three primary colors of R, G and B, but also with color image sensors of the complementary colors of G, Ye, Cy and Ma. Further, according to the present invention, the above-described effects can be obtained not only with the imaging element for photographing but also with the imaging element for photometry.
Further, according to the present invention, the light receiving surface of the color image sensor is divided into a plurality of regions, and the hue of each region is calculated based on the pixel output of each region, and the frequency distribution of the hue of the plurality of regions is calculated. Then, an area having a frequency equal to or less than a predetermined frequency is extracted from the frequency distribution of the hue, and the white balance is adjusted based on the pixel output of each color in the extracted area. However, a good white balance can be obtained.

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

【図1】 一実施の形態のカメラの横断面図である。FIG. 1 is a cross-sectional view of a camera according to an embodiment.

【図2】 一実施の形態の構成を示す図である。FIG. 2 is a diagram illustrating a configuration of an embodiment.

【図3】 カラー撮像素子のR、G、B画素配置例を示
す図である。
FIG. 3 is a diagram illustrating an example of the arrangement of R, G, and B pixels of a color image sensor.

【図4】 カラー撮像素子の補色系画素配列を示す図で
ある。
FIG. 4 is a diagram showing a complementary color pixel array of the color image sensor.

【図5】 一実施の形態の画像処理を示すフローチャー
トである。
FIG. 5 is a flowchart illustrating image processing according to an embodiment.

【図6】 図5に続く、一実施の形態の画像処理を示す
フローチャートである。
FIG. 6 is a flowchart showing image processing according to the embodiment, following FIG. 5;

【図7】 画素平均値の比RG、BGを平面上に展開し
た図である。
FIG. 7 is a diagram in which ratios RG and BG of pixel average values are developed on a plane.

【図8】 放射範囲に対するヒストグラムを示す図であ
る。
FIG. 8 is a diagram showing a histogram with respect to a radiation range.

【図9】 従来の画像処理装置の構成を示す図である。FIG. 9 is a diagram illustrating a configuration of a conventional image processing apparatus.

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

11 測光用カラー撮像素子 14 撮影用カラー撮像素子 21 CPU 22 タイミングジェネレーター 23 ドライバー 24 アナログ信号処理回路 25 A/D変換器 26 画像処理回路(ASIC) 27 バッファーメモリ 28 圧縮回路(JPEG) 29 表示画像生成回路 30 モニター 31 メモリカード DESCRIPTION OF SYMBOLS 11 Photometric color imaging element 14 Color imaging element for photography 21 CPU 22 Timing generator 23 Driver 24 Analog signal processing circuit 25 A / D converter 26 Image processing circuit (ASIC) 27 Buffer memory 28 Compression circuit (JPEG) 29 Display image generation Circuit 30 Monitor 31 Memory card

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 9/79 H04N 9/79 G Fターム(参考) 2H002 DB02 DB14 DB17 DB25 EB01 EB09 GA32 GA33 HA01 JA07 JA08 ZA03 2H054 AA01 5C055 BA05 BA06 EA02 EA03 EA04 HA16 HA36 HA37 5C065 AA01 AA03 BB02 CC02 CC03 DD02 DD17 EE01 EE02 FF03 GG15 GG17 GG22 GG24 5C066 AA01 BA02 CA08 CA17 EA04 EA15 EC02 EC05 GA01 GA02 GA05 HA03 HA04 JA01 KA12 KE02 KE03 KE07 KE17 KM02 KM05 KM13 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) H04N 9/79 H04N 9/79 GF Term (Reference) 2H002 DB02 DB14 DB17 DB25 EB01 EB09 GA32 GA33 HA01 JA07 JA08 ZA03 2H054 AA01 5C055 BA05 BA06 EA02 EA03 EA04 HA16 HA36 HA37 5C065 AA01 AA03 BB02 CC02 CC03 DD02 DD17 EE01 EE02 FF03 GG15 GG17 GG22 GG24 5C066 AA01 BA02 CA08 CA17 EA04 EA15 EC02 GA05 KA02 JA02

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】撮影レンズにより結像された被写体像を電
気信号に変換するカラー撮像素子を備え、前記カラー撮
像素子から入力した各色の画素出力に処理を施してホワ
イトバランス調整を行う映像信号処理装置において、 前記カラー撮像素子の受光面を複数の領域に分割する領
域分割手段と、 各領域の色ごとの画素出力平均値を演算する平均値演算
手段と、 各領域ごとに基準となる色の画素出力平均値に対する他
の色の画素出力平均値の比を演算する平均値比演算手段
と、 前記画素出力平均値の比に基づいて各領域の色相を検出
する色相検出手段と、前記複数の領域の色相の度数分布
に基づいて前記複数の領域の中から所定度数以下の色相
の領域を抽出する領域抽出手段とを備え、 前記抽出された領域の各色の画素出力に基づいてホワイ
トバランス調整を行うことを特徴とする映像信号処理装
置。
1. A video signal processing device comprising: a color image sensor for converting a subject image formed by a photographing lens into an electric signal; and performing white balance adjustment by processing pixel outputs of respective colors input from the color image sensor. In the apparatus, an area dividing unit that divides a light receiving surface of the color image sensor into a plurality of areas, an average value calculating unit that calculates an average pixel output value for each color of each area, and a reference color for each area. An average value ratio calculating unit that calculates a ratio of a pixel output average value of another color to a pixel output average value; a hue detecting unit that detects a hue of each area based on the ratio of the pixel output average values; Region extracting means for extracting a region having a hue of a predetermined frequency or less from the plurality of regions based on a frequency distribution of hues of the region, and a white portion based on a pixel output of each color of the extracted region. Video signal processing device and performs balance adjustment.
【請求項2】請求項1に記載の映像信号処理装置におい
て、 前記抽出された領域の色ごとの画素出力平均値の総和を
演算する総和演算手段と、 前記各色の総和に基づいて基準色以外の色に対するホワ
イトバランスゲインを演算するゲイン演算手段と、 基準色以外の色の画素出力に前記ホワイトバランスゲイ
ンを乗ずる画素出力調整手段とを備え、ホワイトバラン
ス調整を行うことを特徴とする映像信号処理装置。
2. The video signal processing device according to claim 1, wherein: a sum calculating means for calculating a sum of pixel output average values for each color of the extracted region; and a reference color other than the reference color based on the sum of the colors. Video signal processing, comprising: a gain calculating means for calculating a white balance gain for the color of the color; and a pixel output adjusting means for multiplying a pixel output of a color other than the reference color by the white balance gain. apparatus.
【請求項3】撮影レンズにより結像された被写体像を電
気信号に変換するカラー撮像素子から映像信号を入力
し、その映像信号に含まれる各色の画素出力に処理を施
してホワイトバランス調整を行う映像信号処理プログラ
ムを記録したコンピューター読み取り可能な記録媒体に
おいて、 前記カラー撮像素子の受光面を複数の領域に分割する領
域分割処理と、 各領域の色ごとの画素出力平均値を演算する平均値演算
処理と、 各領域ごとに基準となる色の画素出力平均値に対する他
の色の画素出力平均値の比を演算する平均値比演算処理
と、 前記画素出力平均値の比に基づいて各領域の色相を検出
する色相検出処理と、 前記複数の領域の色相の度数分布に基づいて前記複数の
領域の中から所定度数以下の色相の領域を抽出する領域
抽出処理とを行い、 前記抽出された領域の各色の画素出力に基づいてホワイ
トバランス調整を行うことを特徴とする映像信号処理プ
ログラムを記録したコンピューター読み取り可能な記録
媒体。
3. A white balance adjustment is performed by inputting a video signal from a color image pickup device that converts a subject image formed by a photographing lens into an electric signal, and performing processing on pixel outputs of respective colors included in the video signal. In a computer-readable recording medium on which a video signal processing program is recorded, an area dividing process for dividing a light receiving surface of the color image sensor into a plurality of areas, and an average value calculation for calculating an average pixel output value for each color in each area. Processing, an average value ratio calculation process of calculating a ratio of a pixel output average value of another color to a pixel output average value of a reference color for each region, and an average value ratio calculation process of each region based on the ratio of the pixel output average values. Hue detection processing for detecting hue, and area extraction processing for extracting a hue area having a predetermined frequency or less from the plurality of areas based on the frequency distribution of hues of the plurality of areas, Performed, a computer readable recording medium recording the video signal processing program, characterized in that the white balance adjustment is performed based on the pixel output of each color of the extracted region.
【請求項4】請求項3に記載の映像信号処理プログラム
を記録したコンピューター読み取り可能な記録媒体にお
いて、 前記抽出された領域の色ごとの画素出力平均値の総和を
演算する総和演算処理と、 前記各色の総和に基づいて基準色以外の色に対するホワ
イトバランスゲインを演算するゲイン演算処理と、 基準色以外の色の画素出力に前記ホワイトバランスゲイ
ンを乗ずる画素出力調整処理とを行い、ホワイトバラン
ス調整を行うことを特徴とする映像信号処理プログラム
を記録したコンピューター読み取り可能な記録媒体。
4. A computer-readable recording medium on which the video signal processing program according to claim 3 is recorded, wherein: a sum calculation processing for calculating a sum of pixel output average values for each color of the extracted area; A gain calculation process of calculating a white balance gain for a color other than the reference color based on the sum of each color, and a pixel output adjustment process of multiplying a pixel output of a color other than the reference color by the white balance gain are performed. A computer-readable recording medium having recorded thereon a video signal processing program.
【請求項5】請求項1〜4のいずれかの項に記載の映像
信号処理装置または映像信号処理プログラムを記録した
コンピューター読み取り可能な記録媒体において、 前記カラー撮像素子は赤色成分、緑色成分および青色成
分の画素を有し、前記基準色は緑色である、ことを特徴
とする映像信号処理装置または映像信号処理プログラム
を記録したコンピューター読み取り可能な記録媒体。
5. A computer-readable recording medium on which the video signal processing device or the video signal processing program according to claim 1 is recorded, wherein the color image pickup device includes a red component, a green component, and a blue component. A video signal processing device or a computer readable recording medium storing a video signal processing program, the pixel having component pixels, and the reference color is green.
【請求項6】請求項1〜4のいずれかの項に記載の映像
信号処理装置または映像信号処理プログラムを記録した
コンピューター読み取り可能な記録媒体において、 前記カラー撮像素子は緑色成分、黄色成分、青緑色成分
および紫色成分の画素を有し、前記基準色は緑色であ
る、ことを特徴とする映像信号処理装置または映像信号
処理プログラムを記録したコンピューター読み取り可能
な記録媒体。
6. A computer-readable recording medium on which the video signal processing device or the video signal processing program according to claim 1 is recorded, wherein the color image pickup device comprises a green component, a yellow component, and a blue component. A computer readable recording medium having a video signal processing device or a video signal processing program, wherein the video signal processing device has a green component and a purple component pixel and the reference color is green.
【請求項7】請求項1〜4のいずれかの項に記載の映像
信号処理装置または映像信号処理プログラムを記録した
コンピューター読み取り可能な記録媒体において、 前記撮像素子は撮像した被写体像を記録するための撮像
素子である、ことを特徴とする映像信号処理装置または
映像信号処理プログラムを記録したコンピューター読み
取り可能な記録媒体。
7. A computer-readable recording medium on which the video signal processing device or the video signal processing program according to claim 1 is recorded, wherein the imaging element records a captured subject image. A video signal processing device or a computer readable recording medium storing a video signal processing program.
【請求項8】請求項1〜4のいずれかの項に記載の映像
信号処理装置または映像信号処理プログラムを記録した
コンピューター読み取り可能な記録媒体において、 前記撮像素子は被写界を複数の測光領域に分割して各測
光領域ごとに被写体輝度を測定するための撮像素子であ
る、ことを特徴とする映像信号処理装置または映像信号
処理プログラムを記録したコンピューター読み取り可能
な記録媒体。
8. A computer-readable recording medium on which the video signal processing device or the video signal processing program according to claim 1 is recorded, wherein said imaging element divides an object field into a plurality of photometric areas. A video signal processing device or a computer readable recording medium storing a video signal processing program, wherein the video signal processing device is an image sensor for measuring subject brightness for each photometry area.
【請求項9】撮影レンズにより結像された被写体像を電
気信号に変換するカラー撮像素子を備え、前記カラー撮
像素子から入力した各色の画素出力に処理を施してホワ
イトバランス調整を行う映像信号処理装置において、 前記カラー撮像素子の受光面を複数の領域に分割する領
域分割手段と、 各領域の画素出力に基づいて各領域ごとの色相を演算す
る色相演算手段と、 前記複数の領域の色相の度数分布を演算する色相分布演
算手段と、 前記色相の度数分布から所定度数以下の領域を抽出する
領域抽出手段とを備え、 前記抽出された領域の各色の画素出力に基づいてホワイ
トバランス調整を行うことを特徴とする映像信号処理装
置。
9. A video signal processing device comprising: a color image sensor for converting a subject image formed by a photographing lens into an electric signal; and performing white balance adjustment by processing pixel outputs of respective colors input from the color image sensor. In the apparatus, an area dividing unit that divides a light receiving surface of the color imaging device into a plurality of areas, a hue calculating unit that calculates a hue of each area based on a pixel output of each area, and a hue calculation unit that calculates a hue of the plurality of areas. A hue distribution calculating means for calculating a frequency distribution; and an area extracting means for extracting an area having a frequency equal to or less than a predetermined frequency from the frequency distribution of the hue, and performing white balance adjustment based on a pixel output of each color of the extracted area. A video signal processing device characterized by the above-mentioned.
【請求項10】撮影レンズにより結像された被写体像を
電気信号に変換するカラー撮像素子から映像信号を入力
し、その映像信号に含まれる各色の画素出力に処理を施
してホワイトバランス調整を行う映像信号処理プログラ
ムを記録したコンピューター読み取り可能な記録媒体に
おいて、 前記カラー撮像素子の受光面を複数の領域に分割する領
域分割処理と、 各領域の画素出力に基づいて各領域ごとの色相を演算す
る色相演算処理と、 前記複数の領域の色相の度数分布を演算する色相分布演
算処理と、 前記色相の度数分布から所定度数以下の領域を抽出する
領域抽出処理とを行い、 前記抽出された領域の各色の画素出力に基づいてホワイ
トバランス調整を行うことを特徴とする映像信号処理プ
ログラムを記録したコンピューター読み取り可能な記録
媒体。
10. A white balance adjustment is performed by inputting a video signal from a color image sensor for converting a subject image formed by a photographing lens into an electric signal, and performing processing on pixel outputs of respective colors included in the video signal. In a computer-readable recording medium on which a video signal processing program is recorded, an area dividing process of dividing the light receiving surface of the color image sensor into a plurality of areas, and calculating a hue of each area based on a pixel output of each area. A hue calculation process, a hue distribution calculation process for calculating a frequency distribution of hues of the plurality of regions, and a region extraction process for extracting a region having a predetermined frequency or less from the hue frequency distribution. Computer-readable recording of a video signal processing program characterized by performing white balance adjustment based on pixel output of each color Capacity recording medium.
JP2000374841A 2000-12-08 2000-12-08 Video signal processing apparatus and recording medium on which video signal processing program is recorded Expired - Fee Related JP4649734B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2000374841A JP4649734B2 (en) 2000-12-08 2000-12-08 Video signal processing apparatus and recording medium on which video signal processing program is recorded
US10/001,997 US7196724B2 (en) 2000-12-08 2001-12-05 Image signal processing device, digital camera and computer program product that perform white balance adjustment using pixel outputs from extracted areas
US11/710,404 US7750948B2 (en) 2000-12-08 2007-02-26 Image signal processing device, digital camera and computer program product for processing image signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000374841A JP4649734B2 (en) 2000-12-08 2000-12-08 Video signal processing apparatus and recording medium on which video signal processing program is recorded

Publications (2)

Publication Number Publication Date
JP2002185977A true JP2002185977A (en) 2002-06-28
JP4649734B2 JP4649734B2 (en) 2011-03-16

Family

ID=18843957

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000374841A Expired - Fee Related JP4649734B2 (en) 2000-12-08 2000-12-08 Video signal processing apparatus and recording medium on which video signal processing program is recorded

Country Status (1)

Country Link
JP (1) JP4649734B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1406454A1 (en) * 2002-09-25 2004-04-07 Dialog Semiconductor GmbH Automatic white balance technique
JP2006197082A (en) * 2005-01-12 2006-07-27 Nikon Corp Signal processing method, signal processor, and storage medium stored with signal processing procedure
JP2007189595A (en) * 2006-01-16 2007-07-26 Hitachi Advanced Digital Inc On-vehicle camera device
KR100841429B1 (en) 2006-11-30 2008-06-25 삼성전기주식회사 Apparatus to automatically controlling white balance and method thereof
KR100983037B1 (en) 2008-07-25 2010-09-17 삼성전기주식회사 Method for controlling auto white balance
CN101267495B (en) * 2007-03-14 2013-02-13 松下电器产业株式会社 Phase adjustment device, phase adjustment method and digital camera
US8482630B2 (en) 2009-08-27 2013-07-09 Samsung Electronics Co., Ltd. Apparatus and method for adjusting automatic white balance by detecting effective area
CN109076167A (en) * 2016-06-17 2018-12-21 索尼公司 Image processor, photographic device and image processing system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2523036B2 (en) * 1990-02-28 1996-08-07 三洋電機株式会社 Color video camera
JP2000184391A (en) * 1998-12-18 2000-06-30 Sanyo Electric Co Ltd Image data processor

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05292535A (en) * 1992-04-10 1993-11-05 Matsushita Electric Ind Co Ltd Automatic white balance device
JP2735003B2 (en) * 1994-09-28 1998-04-02 松下電器産業株式会社 White balance adjustment amount calculation device
JPH11146242A (en) * 1997-11-13 1999-05-28 Sony Corp Camera apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2523036B2 (en) * 1990-02-28 1996-08-07 三洋電機株式会社 Color video camera
JP2000184391A (en) * 1998-12-18 2000-06-30 Sanyo Electric Co Ltd Image data processor

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1406454A1 (en) * 2002-09-25 2004-04-07 Dialog Semiconductor GmbH Automatic white balance technique
US7146040B2 (en) 2002-09-25 2006-12-05 Dialog Imaging Systems Gmbh Automatic white balance technique
JP2006197082A (en) * 2005-01-12 2006-07-27 Nikon Corp Signal processing method, signal processor, and storage medium stored with signal processing procedure
JP2007189595A (en) * 2006-01-16 2007-07-26 Hitachi Advanced Digital Inc On-vehicle camera device
KR100841429B1 (en) 2006-11-30 2008-06-25 삼성전기주식회사 Apparatus to automatically controlling white balance and method thereof
CN101267495B (en) * 2007-03-14 2013-02-13 松下电器产业株式会社 Phase adjustment device, phase adjustment method and digital camera
KR100983037B1 (en) 2008-07-25 2010-09-17 삼성전기주식회사 Method for controlling auto white balance
US8482630B2 (en) 2009-08-27 2013-07-09 Samsung Electronics Co., Ltd. Apparatus and method for adjusting automatic white balance by detecting effective area
CN109076167A (en) * 2016-06-17 2018-12-21 索尼公司 Image processor, photographic device and image processing system

Also Published As

Publication number Publication date
JP4649734B2 (en) 2011-03-16

Similar Documents

Publication Publication Date Title
US7750948B2 (en) Image signal processing device, digital camera and computer program product for processing image signal
US7751619B2 (en) Image processing apparatus and method, recording medium, and program
US6906744B1 (en) Electronic camera
JP4826028B2 (en) Electronic camera
US20070177004A1 (en) Image creating method and imaging device
WO2003105467A1 (en) Digital still camera apparatus, video camera apparatus, and information terminal apparatus
JP4487342B2 (en) Digital camera
JP4366768B2 (en) Digital camera and computer-readable recording medium
US20020118967A1 (en) Color correcting flash apparatus, camera, and method
JP2003259389A (en) Imaging unit
CN113691795A (en) Image processing apparatus, image processing method, and storage medium
JP3821729B2 (en) Digital camera
JP4049257B2 (en) Solid-state imaging device and digital camera
JP4649734B2 (en) Video signal processing apparatus and recording medium on which video signal processing program is recorded
JP2003149050A (en) Colorimetric apparatus, colorimetric method, colorimetry control program, and recording medium in which colorimetry control program has been stored and can be read by computer
JP2005109705A (en) Imaging processor
JP2002185976A (en) Video signal processor and recording medium with video signal processing program recorded thereon
JP7455656B2 (en) Image processing device, image processing method, and program
JP3958700B2 (en) Digital camera
JP2002058039A (en) Imaging apparatus
JP2003143623A (en) Method and apparatus for photographing image
JPH08107560A (en) Image input device
JP3897370B2 (en) Imaging device
WO2005057278A1 (en) Method and device for capturing multiple images
JPH09116805A (en) Automatic focus adjustment device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070914

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100611

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100615

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100810

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20100810

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100831

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101027

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20101116

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101129

R150 Certificate of patent or registration of utility model

Ref document number: 4649734

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20131224

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131224

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees