[go: up one dir, main page]

JP2002209221A - Digital image pickup device and recording medium - Google Patents

Digital image pickup device and recording medium

Info

Publication number
JP2002209221A
JP2002209221A JP2001003786A JP2001003786A JP2002209221A JP 2002209221 A JP2002209221 A JP 2002209221A JP 2001003786 A JP2001003786 A JP 2001003786A JP 2001003786 A JP2001003786 A JP 2001003786A JP 2002209221 A JP2002209221 A JP 2002209221A
Authority
JP
Japan
Prior art keywords
image
digital imaging
imaging device
photometric
vertical direction
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
JP2001003786A
Other languages
Japanese (ja)
Inventor
Toshiyuki Tanaka
俊幸 田中
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.)
Minolta Co Ltd
Original Assignee
Minolta Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP2001003786A priority Critical patent/JP2002209221A/en
Publication of JP2002209221A publication Critical patent/JP2002209221A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a digital camera that can properly conduct exposure control and WB(White Balance) control. SOLUTION: The digital camera storing picked-up image in an image memory 209 as digital data is provided with a top/bottom discrimination section 265 that discriminates up and down directions (top and bottom directions) of an object in an image from the image in the image memory 209 and a photometry arithmetic section 266 and a colorimetry arithmetic section 267 that respectively conduct photometry and colorimetry arithmetic operations depending on the result of top/bottom discrimination. A timing control circuit 202 and an aperture driver 306 respectively receive an exposure time and an aperture value obtained by the photometry arithmetic operation and a WB circuit 207 receives a gain setting value obtained by the colorimetry arithmetic operation. Thus, the digital camera can properly conduct exposure control and WB control in response to the result of top/bottom discrimination.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、デジタル撮像装置
において測光および測色を行う技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for performing photometry and colorimetry in a digital imaging device.

【0002】[0002]

【従来の技術】デジタルスチルカメラ(以下、「デジタ
ルカメラ」という。)において、複数の測光用領域の輝
度に基づいて画像中の被写体の上下方向を判別する技術
が知られている。例えば、特開2000−184271
号公報では、複数の測光用領域の輝度から画像中の被写
体の上下方向を判別し、上側の測光用領域を拡大するこ
とにより測光をより適切に行う技術が開示されている。
2. Description of the Related Art In a digital still camera (hereinafter, referred to as a "digital camera"), there is known a technique for determining the vertical direction of a subject in an image based on the luminance of a plurality of photometric areas. For example, JP-A-2000-184271
Japanese Patent Application Laid-Open Publication No. H11-163873 discloses a technique for determining the vertical direction of a subject in an image from the luminance of a plurality of photometric areas and expanding the upper photometric area to more appropriately perform photometry.

【0003】[0003]

【発明が解決しようとする課題】ところで、上記公報に
記載された技術では、画像の中央の測光用領域の形状は
一定とされる。したがって、デジタルカメラの向きを変
更した場合、画像中の被写体に対する画面中央の測光用
領域の向きも変わってしまう。また、上記公報では画像
(すなわち、被写界)全体が複数の領域に分割されるた
め、画像の隅に光源が存在する場合には適切な測光およ
び露光制御が困難となってしまう。
According to the technique described in the above publication, the shape of the photometric area at the center of the image is fixed. Therefore, when the direction of the digital camera is changed, the direction of the photometric region at the center of the screen with respect to the subject in the image also changes. Further, in the above publication, the entire image (that is, the object scene) is divided into a plurality of regions, so that when a light source is present at a corner of the image, it becomes difficult to perform appropriate photometry and exposure control.

【0004】一方で、デジタルカメラにて画像を取得す
る際には、ホワイトバランスの制御も行われる。従来の
ホワイトバランス制御(以下、「WB制御」という。)
では、画像中の被写体の上下方向を考慮することなく色
合いが制御される。したがって、被写界の上部に位置す
る蛍光灯で照らされた人物等の主被写体と蛍光灯とを同
時に撮影する場合、光源の影響を十分に補正することが
できず、人物の顔が緑を帯びることとなる。
On the other hand, when an image is obtained by a digital camera, white balance control is also performed. Conventional white balance control (hereinafter, referred to as “WB control”)
In, the hue is controlled without considering the vertical direction of the subject in the image. Therefore, when simultaneously photographing a fluorescent light and a main subject such as a person illuminated by a fluorescent light positioned above the object scene, the effect of the light source cannot be sufficiently corrected, and the face of the person turns green. It will take on.

【0005】本発明は、上記様々な課題に鑑みなされた
ものであり、デジタル撮像装置において測光および測色
を適切に行うことを主たる目的としている。
The present invention has been made in view of the various problems described above, and has as its main object to appropriately perform photometry and colorimetry in a digital imaging device.

【0006】[0006]

【課題を解決するための手段】請求項1に記載の発明
は、デジタル撮像装置であって、被写体の画像をデジタ
ルデータとして取得する撮像手段と、前記画像中の前記
被写体の上下方向を判別する判別手段と、前記上下方向
に従いつつホワイトバランスを制御する制御手段とを備
える。
According to a first aspect of the present invention, there is provided a digital imaging apparatus, comprising: an imaging unit that acquires an image of a subject as digital data; and a vertical direction of the subject in the image. A determination unit; and a control unit that controls the white balance while following the vertical direction.

【0007】請求項2に記載の発明は、請求項1に記載
のデジタル撮像装置であって、前記判別手段が、前記画
像に設定された複数の判別用領域に基づいて前記上下方
向を判別する。
According to a second aspect of the present invention, in the digital imaging device according to the first aspect, the discriminating means discriminates the vertical direction based on a plurality of discriminating areas set in the image. .

【0008】請求項3に記載の発明は、請求項2に記載
のデジタル撮像装置であって、前記制御手段が、前記上
下方向に従いつつ前記画像に設定された複数の測色用領
域に基づいてR、GおよびBに関する測色評価値を求
め、前記測色評価値を用いてホワイトバランスを制御す
る。
According to a third aspect of the present invention, there is provided the digital imaging apparatus according to the second aspect, wherein the control means is configured to follow a plurality of colorimetric areas set in the image while following the vertical direction. The colorimetric evaluation values for R, G, and B are obtained, and the white balance is controlled using the colorimetric evaluation values.

【0009】請求項4に記載の発明は、請求項3に記載
のデジタル撮像装置であって、前記制御手段が、前記複
数の測色用領域に基づいて前記画像のR,GおよびBご
との画素値の加重和を求め、前記加重和を用いて前記測
色評価値を求める。
According to a fourth aspect of the present invention, there is provided the digital image pickup apparatus according to the third aspect, wherein the control means controls the R, G, and B of the image based on the plurality of colorimetric regions. A weighted sum of pixel values is determined, and the colorimetric evaluation value is determined using the weighted sum.

【0010】請求項5に記載の発明は、請求項4に記載
のデジタル撮像装置であって、前記制御手段が前記加重
和を求める際に、前記上下方向により特定される前記画
像の上部の測色用領域に対応する加重係数が前記画像の
下部の測色用領域に対応する加重係数よりも大きく設定
される。
According to a fifth aspect of the present invention, in the digital imaging apparatus according to the fourth aspect, when the control means calculates the weighted sum, it measures the upper part of the image specified by the vertical direction. A weight coefficient corresponding to the color area is set to be larger than a weight coefficient corresponding to the color measurement area below the image.

【0011】請求項6に記載の発明は、請求項3ないし
5のいずれかに記載のデジタル撮像装置であって、前記
複数の判別用領域と前記複数の測色用領域との設定形態
が異なる。
According to a sixth aspect of the present invention, there is provided the digital imaging apparatus according to any one of the third to fifth aspects, wherein the plurality of determination areas and the plurality of colorimetric areas are set differently. .

【0012】請求項7に記載の発明は、デジタル撮像装
置を制御するプログラムを記録した記録媒体であって、
前記プログラムのデジタル撮像装置による実行は、前記
デジタル撮像装置に、被写体の画像をデジタルデータと
して取得する工程と、前記画像中の前記被写体の上下方
向を判別する工程と、前記上下方向に従いつつホワイト
バランスを制御する工程とを実行させる。
[0012] According to a seventh aspect of the present invention, there is provided a recording medium recording a program for controlling a digital imaging device,
The execution of the program by the digital imaging device includes the steps of: obtaining, by the digital imaging device, an image of a subject as digital data; determining the vertical direction of the subject in the image; and performing white balance while following the vertical direction. And the step of controlling.

【0013】請求項8に記載の発明は、デジタル撮像装
置であって、被写体の画像をデジタルデータとして取得
する撮像手段と、前記画像の全体を演算対象として演算
を行い、前記画像中の前記被写体の上下方向を判別する
判別手段と、前記上下方向に従いつつ前記画像の周縁部
を除く部分を演算対象として測光演算を行う測光手段と
を備える。
The invention according to claim 8 is a digital image pickup apparatus, wherein: an image pickup means for acquiring an image of a subject as digital data; And a photometric means for performing photometric calculation on a portion other than a peripheral portion of the image while performing the photometric operation while following the vertical direction.

【0014】請求項9に記載の発明は、デジタル撮像装
置を制御するプログラムを記録した記録媒体であって、
前記プログラムのデジタル撮像装置による実行は、前記
デジタル撮像装置に、被写体の画像をデジタルデータと
して取得する工程と、前記画像の全体を演算対象として
演算を行い、前記画像中の前記被写体の上下方向を判別
する工程と、前記上下方向に従いつつ前記画像の周縁部
を除く部分を演算対象として測光演算を行う工程とを実
行させる。
According to a ninth aspect of the present invention, there is provided a recording medium recording a program for controlling a digital imaging device,
The execution of the program by the digital imaging device includes, in the digital imaging device, a step of acquiring an image of the subject as digital data, performing an operation on the entire image as an operation target, and performing the vertical direction of the object in the image. The step of performing the determination and the step of performing the photometric calculation on the portion excluding the peripheral portion of the image while following the vertical direction are to be calculated.

【0015】請求項10に記載の発明は、デジタル撮像
装置であって、被写体の画像をデジタルデータとして取
得する撮像手段と、前記画像に設定された複数の判別用
領域に基づいて前記画像中の前記被写体の上下方向を判
別する判別手段と、前記上下方向に従いつつ前記複数の
判別用領域とは設定形態が異なる複数の測光用領域に基
づいて測光演算を行う測光手段とを備える。
According to a tenth aspect of the present invention, there is provided a digital image pickup apparatus, comprising: an image pickup means for obtaining an image of a subject as digital data; and a plurality of determination regions set in the image. Determining means for determining the vertical direction of the subject; and photometric means for performing a photometric calculation based on a plurality of photometric areas different in setting form from the plurality of determination areas while following the vertical direction.

【0016】請求項11に記載の発明は、請求項10に
記載のデジタル撮像装置であって、前記複数の測光用領
域の数が前記複数の判別用領域の数よりも多い。
According to an eleventh aspect of the present invention, in the digital imaging device according to the tenth aspect, the number of the plurality of photometric areas is larger than the number of the plurality of determination areas.

【0017】請求項12に記載の発明は、請求項10ま
たは11に記載のデジタル撮像装置であって、前記複数
の判別用領域および前記複数の測光用領域のいずれとも
設定形態が異なる複数の測色用領域に基づいてホワイト
バランスの制御を行う制御手段をさらに備える。
According to a twelfth aspect of the present invention, there is provided the digital imaging apparatus according to the tenth or eleventh aspect, wherein the plurality of measurement areas having different setting modes from each of the plurality of determination areas and the plurality of photometry areas are provided. The image processing apparatus further includes control means for controlling white balance based on the color area.

【0018】請求項13に記載の発明は、請求項10な
いし12のいずれかに記載のデジタル撮像装置であっ
て、前記判別手段および前記測光手段が、前記撮像手段
により取得された同一の画像に対して処理を行う。
According to a thirteenth aspect of the present invention, in the digital imaging device according to any one of the tenth to twelfth aspects, the discriminating unit and the photometric unit convert the same image acquired by the imaging unit. The processing is performed for this.

【0019】請求項14に記載の発明は、デジタル撮像
装置を制御するプログラムを記録した記録媒体であっ
て、前記プログラムのデジタル撮像装置による実行は、
前記デジタル撮像装置に、被写体の画像をデジタルデー
タとして取得する工程と、前記画像に設定された複数の
判別用領域に基づいて前記画像中の前記被写体の上下方
向を判別する工程と、前記上下方向に従いつつ前記複数
の判別用領域とは設定形態が異なる複数の測光用領域に
基づいて測光演算を行う工程とを実行させる。
According to a fourteenth aspect of the present invention, there is provided a recording medium storing a program for controlling a digital imaging device, wherein the program is executed by the digital imaging device.
The digital imaging device, a step of acquiring an image of a subject as digital data, a step of determining the vertical direction of the subject in the image based on a plurality of determination areas set in the image, the vertical direction And performing a photometric calculation based on a plurality of photometric regions having a different setting form from the plurality of determination regions.

【0020】請求項15に記載の発明は、デジタル撮像
装置であって、被写体の画像をデジタルデータとして取
得する撮像手段と、前記画像に設定されたの複数の判別
用領域に基づいて前記画像中の前記被写体の上下方向を
判別する判別手段と、前記上下方向に従いつつ前記画像
に設定された複数の測光用領域に基づいて測光演算を行
う測光手段とを備え、前記複数の判別領域が設定される
画像と前記複数の測光用領域が設定される画像とが同一
であり、前記画像が複数の小ブロックに区分けされてお
り、前記複数の判別領域および前記複数の測光用領域が
小ブロックを基準に設定されるとともに前記複数の判別
用領域の境界と前記複数の測光用領域の境界とが少なく
とも一部において一致し、前記上下方向の判別および前
記測光演算が前記複数の小ブロックから導かれる値に基
づいて行われる。
According to a fifteenth aspect of the present invention, there is provided a digital image pickup apparatus, wherein the image pickup means for obtaining an image of the subject as digital data, and the image pickup means based on a plurality of determination areas set in the image. Determination means for determining the vertical direction of the subject, and photometric means for performing photometric calculation based on a plurality of photometric areas set in the image while following the vertical direction, wherein the plurality of determination areas are set. And the image in which the plurality of photometric areas are set is the same, and the image is divided into a plurality of small blocks, and the plurality of determination areas and the plurality of photometric areas are based on the small blocks. The boundary between the plurality of determination areas and the boundary between the plurality of photometry areas are at least partially coincident with each other, and the determination in the vertical direction and the photometry calculation are performed. It is performed based on the value derived from the number of small blocks.

【0021】請求項16に記載の発明は、請求項15に
記載のデジタル撮像装置であって、前記測光演算におい
て、前記複数の測光用領域に基づいて各ブロックの輝度
の加重和が求められ、前記加重和を求める際に前記上下
方向により特定される前記画像の上部の測光用領域に対
応する加重係数が前記画像の下部に対応する測光用領域
の加重係数よりも大きく設定される。
According to a sixteenth aspect of the present invention, in the digital imaging device according to the fifteenth aspect, in the photometric operation, a weighted sum of the luminance of each block is obtained based on the plurality of photometric regions, When obtaining the weighted sum, a weighting coefficient corresponding to a photometric area at the top of the image specified by the vertical direction is set to be larger than a weighting coefficient of a photometric area corresponding to a lower part of the image.

【0022】請求項17に記載の発明は、デジタル撮像
装置を制御するプログラムを記録した記録媒体であっ
て、前記プログラムのデジタル撮像装置による実行は、
前記デジタル撮像装置に、被写体の画像をデジタルデー
タとして取得する工程と、前記画像に設定された複数の
判定用領域に基づいて前記画像中の前記被写体の上下方
向を判別する工程と、前記上下方向に従いつつ前記画像
に設定された複数の測光用領域に基づいて測光演算を行
う工程とを実行させ、前記複数の判定用領域の境界と前
記複数の測光用領域の境界とが、少なくとも一部におい
て一致する。
According to a seventeenth aspect of the present invention, there is provided a recording medium storing a program for controlling a digital imaging device, wherein the program is executed by the digital imaging device.
The digital imaging device, a step of acquiring an image of the subject as digital data, and a step of determining the vertical direction of the subject in the image based on a plurality of determination areas set in the image, the vertical direction Performing a photometric operation based on the plurality of photometric regions set in the image while following, the boundaries of the plurality of determination regions and the boundaries of the plurality of photometric regions, at least in part. Matches.

【0023】請求項18に記載の発明は、デジタル撮像
装置であって、被写体の画像をデジタルデータとして取
得する撮像手段と、前記画像中の前記被写体の上下方向
を判別する判別手段と、前記画像の略中央において前記
上下方向に長い領域を含む複数の測光用領域に基づいて
測光演算を行う測光手段とを備える。
The invention according to claim 18 is a digital image pickup apparatus, wherein: an image pickup means for acquiring an image of a subject as digital data; a discrimination means for discriminating a vertical direction of the subject in the image; And a photometric unit that performs photometric calculation based on a plurality of photometric areas including the area that is long in the up-down direction at substantially the center of the image.

【0024】請求項19に記載の発明は、デジタル撮像
装置を制御するプログラムを記録した記録媒体であっ
て、前記プログラムのデジタル撮像装置による実行は、
前記デジタル撮像装置に、被写体の画像をデジタルデー
タとして取得する工程と、前記画像中の前記被写体の上
下方向を判別する工程と、前記画像の略中央において前
記上下方向に長い領域を含む複数の測光用領域に基づい
て測光演算を行う工程とを実行させる。
According to a nineteenth aspect of the present invention, there is provided a recording medium storing a program for controlling a digital imaging device, wherein the program is executed by the digital imaging device.
A step of acquiring an image of the subject as digital data in the digital imaging device; a step of determining the vertical direction of the subject in the image; and a plurality of photometry areas including a vertically long region substantially at the center of the image. And performing a photometric calculation based on the use area.

【0025】[0025]

【発明の実施の形態】<1. デジタルカメラの構成>
図1ないし図3は、本発明の一の実施の形態に係るデジ
タルカメラ1の要部構成を示す図であり、図1は平面
図、図2は図1のII−II位置から見た断面図、図3は背
面図に相当する。これらの図は必ずしも三角図法に則っ
ているものではなく、デジタルカメラ1の要部構成を概
念的に例示することを主眼としている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS <1. Digital Camera Configuration>
FIGS. 1 to 3 are views showing a main part configuration of a digital camera 1 according to an embodiment of the present invention. FIG. 1 is a plan view, and FIG. 2 is a cross-sectional view taken along the line II-II in FIG. Figures and 3 correspond to rear views. These drawings do not always follow the triangular projection, and the main purpose is to conceptually illustrate the configuration of the main part of the digital camera 1.

【0026】図1ないし図3に示すように、デジタルカ
メラ1は、略直方体状のカメラ本体部2と、撮像部3と
に大別される構造となっており、図2に示すように、撮
像部3には撮影レンズであるマクロ機能付きレンズ群3
0の後方位置の適所にCCD(カラーエリアセンサ)3
03を有する撮像回路302が設けられている。また、
レンズ群30は、ズームレンズ300と合焦レンズ30
1とを備えている。
As shown in FIGS. 1 to 3, the digital camera 1 has a structure roughly divided into a substantially rectangular parallelepiped camera body 2 and an image pickup section 3, and as shown in FIG. The imaging unit 3 includes a lens group 3 having a macro function as a photographing lens.
CCD (color area sensor) 3 in the right position behind 0
An imaging circuit 302 having an image sensor 03 is provided. Also,
The lens group 30 includes a zoom lens 300 and a focusing lens 30.
1 is provided.

【0027】一方、カメラ本体部2の内部には、ズーム
レンズ300のズーム比の変更と収容位置、撮影位置間
のレンズ移動を行うためのズームモータM1、および合
焦レンズ301を駆動して合焦を行うためのモータM2
が設けられている。カメラ本体部2上端部の適所にはポ
ップアップ形式の内蔵フラッシュ5が設けられる。
On the other hand, inside the camera body 2, a zoom motor M1 for changing the zoom ratio of the zoom lens 300 and moving the lens between the accommodation position and the photographing position, and the focusing lens 301 are driven to focus. Motor M2 for performing scoring
Is provided. A pop-up built-in flash 5 is provided at an appropriate position at the upper end of the camera body 2.

【0028】一方、図3に示すように、カメラ本体部2
の上面にはシャッタボタン9が設けられ、カメラ本体部
2の背面には、略中央に撮影画像のライブビュー表示、
記録画像の再生表示等を行うための液晶ディスプレイ
(LCD)10と電子ビューファインダ(EVF)20
とが設けられている。LCD10およびEVF20で
は、カラーで画像表示が行われる。
On the other hand, as shown in FIG.
A shutter button 9 is provided on the upper surface of the camera.
A liquid crystal display (LCD) 10 and an electronic viewfinder (EVF) 20 for performing reproduction display of a recorded image and the like.
Are provided. The LCD 10 and the EVF 20 display images in color.

【0029】カメラ本体部2の背面にはさらに、「撮影
モード」と「再生モード」とを切換える撮影/再生モー
ド設定スイッチ14が設けられる。撮影モードは、写真
撮影を行うモードであり、再生モードは、メモリカード
8(図1参照)に記録された撮影画像をLCD10に再
生表示するモードである。
A shooting / playback mode setting switch 14 for switching between a "shooting mode" and a "playback mode" is further provided on the back of the camera body 2. The photographing mode is a mode for photographing, and the reproduction mode is a mode for reproducing and displaying a photographed image recorded on the memory card 8 (see FIG. 1) on the LCD 10.

【0030】デジタルカメラ1の背面右側には、4連ス
イッチ35が設けられ、ボタンL、Rを押すことによ
り、ズームモータM1によるズーミングが行われ、その
他、ボタンU、D、L、Rにより各種操作が行われる。
4連スイッチ35の下方には、LCD10のON/OF
Fを切り替えるLCDボタン31、LCD10に表示さ
れた項目の選択を確定させる確定ボタン32、項目の選
択を取り消す取消ボタン33、および、各種項目のメニ
ューを表示させるメニューボタン34が設けられる。
On the right side of the back of the digital camera 1, a four-way switch 35 is provided. By pressing the buttons L and R, zooming is performed by the zoom motor M1, and various other operations are performed by the buttons U, D, L and R. An operation is performed.
The ON / OF of the LCD 10 is provided below the four switches 35.
There are provided an LCD button 31 for switching F, a decision button 32 for confirming selection of an item displayed on the LCD 10, a cancel button 33 for canceling selection of an item, and a menu button 34 for displaying a menu of various items.

【0031】また、カメラ本体部2の側面には、外部モ
ニタ端子222が設けられる。外部モニタ端子222
は、デジタルカメラ1から外部モニタに画像データ等を
伝送するための端子である。
An external monitor terminal 222 is provided on a side surface of the camera body 2. External monitor terminal 222
Is a terminal for transmitting image data and the like from the digital camera 1 to an external monitor.

【0032】図1に示すように、デジタルカメラ1には
記録媒体であるメモリカード8が装着可能とされ、メモ
リカード8を用いて取得画像を外部機器に転送すること
ができるようにされている。また、メモリカード8に記
憶されたデジタルカメラ1用の動作プログラムをデジタ
ルカメラ1に取り込むことにより、デジタルカメラ1内
の動作プログラムを更新することも可能とされている。
As shown in FIG. 1, a digital camera 1 can be loaded with a memory card 8 as a recording medium, and the obtained image can be transferred to an external device using the memory card 8. . The operation program in the digital camera 1 can be updated by loading the operation program for the digital camera 1 stored in the memory card 8 into the digital camera 1.

【0033】図4は、デジタルカメラ1の構成をブロッ
クにて示す図である。図4において、CCD303は、
レンズ群30により結像された被写体の光像を、R
(赤),G(緑),B(青)の色成分の画像信号(各画
素で受光された画素信号の信号列からなる信号)に光電
変換して出力する。
FIG. 4 is a block diagram showing the configuration of the digital camera 1. In FIG. 4, the CCD 303 is
The light image of the subject formed by the lens group 30 is represented by R
The image signal is photoelectrically converted into an image signal of a color component of (red), G (green), and B (blue) (a signal composed of a signal sequence of pixel signals received by each pixel) and output.

【0034】撮像部3における露出制御は、絞り制御ド
ライバ306によるレンズ群30内の絞りと、CCD3
03の露光量、すなわち、シャッタスピードに相当する
CCD303の電荷蓄積時間(露光時間)を調節して行
われる。被写体輝度が低輝度時に適切な露光時間が設定
できない場合は、CCD303から出力される画像信号
のレベル調整を行うことにより露光不足による不適正露
出が補正される。すなわち、低輝度時は、露光時間と後
述する信号処理回路313によるゲイン調整とを組み合
わせて露出制御が行われる。
The exposure control in the image pickup unit 3 is performed by controlling the aperture in the lens group 30 by the aperture control driver 306 and the CCD 3
03, that is, the charge accumulation time (exposure time) of the CCD 303 corresponding to the shutter speed is adjusted. If the appropriate exposure time cannot be set when the subject luminance is low, the improper exposure due to insufficient exposure is corrected by adjusting the level of the image signal output from the CCD 303. That is, when the luminance is low, the exposure control is performed by combining the exposure time with the gain adjustment by the signal processing circuit 313 described later.

【0035】タイミングジェネレータ314は、タイミ
ング制御回路202から送信される基準クロック基づき
CCD303の駆動制御信号を生成するものである。タ
イミングジェネレータ314は、例えば積分開始/終了
(露光開始/終了)のタイミング信号、各画素の受光信
号の読出制御信号(水平同期信号,垂直同期信号,転送
信号等)等のクロック信号を生成し、CCD303に出
力する。
The timing generator 314 generates a drive control signal for the CCD 303 based on the reference clock transmitted from the timing control circuit 202. The timing generator 314 generates clock signals such as integration start / end (exposure start / end) timing signals and readout control signals (horizontal synchronization signal, vertical synchronization signal, transfer signal, etc.) of the light receiving signal of each pixel, and the like. Output to the CCD 303.

【0036】信号処理回路313は、CCD303から
出力される画像信号(アナログ信号)に所定のアナログ
信号処理を施すものである。信号処理回路313は、C
DS(相関二重サンプリング)回路とAGC(オートゲ
インコントロール)回路とを有し、CDS回路により画
像信号のノイズの低減を行い、AGC回路のゲインを調
整することにより画像信号のレベル調整を行う。
The signal processing circuit 313 performs predetermined analog signal processing on an image signal (analog signal) output from the CCD 303. The signal processing circuit 313
It has a DS (correlated double sampling) circuit and an AGC (auto gain control) circuit. The CDS circuit reduces the noise of the image signal, and the level of the image signal is adjusted by adjusting the gain of the AGC circuit.

【0037】調光回路304は、フラッシュ撮影におけ
る内蔵フラッシュ5の発光量を全体制御部211により
設定された所定の発光量に制御するものである。フラッ
シュ撮影においては、露光開始と同時に被写体からのフ
ラッシュ光の反射光が調光センサ305により受光さ
れ、受光量が所定の発光量に達すると調光回路304か
ら発光停止信号が出力される。発光停止信号に応答して
内蔵フラッシュ5の発光が強制的に停止され、内蔵フラ
ッシュ5の発光量が所定の発光量に制御される。
The dimming circuit 304 controls the light emission amount of the built-in flash 5 during flash photography to a predetermined light emission amount set by the overall control unit 211. In flash photography, reflected light of flash light from a subject is received by the light control sensor 305 at the same time as the start of exposure, and a light emission stop signal is output from the light control circuit 304 when the amount of received light reaches a predetermined light emission amount. The light emission of the built-in flash 5 is forcibly stopped in response to the light emission stop signal, and the light emission amount of the built-in flash 5 is controlled to a predetermined light emission amount.

【0038】A/D変換器205は、画像信号の各画素
信号を12ビットのデジタル信号に変換するものであ
る。A/D変換器205は、タイミング発生回路から入
力されるA/D変換用のクロックに基づいて各画素信号
(アナログ信号)をデジタル変換するとともに補間処理
を行い、12ビットのデジタル信号を得る。
The A / D converter 205 converts each pixel signal of the image signal into a 12-bit digital signal. The A / D converter 205 converts each pixel signal (analog signal) into a digital signal and performs an interpolation process based on an A / D conversion clock input from the timing generation circuit to obtain a 12-bit digital signal.

【0039】タイミング制御回路202は、全体制御部
211内の基準クロックにより制御され、タイミングジ
ェネレータ314や信号処理回路313のみならず、A
/D変換器205に対するクロックも生成する。
The timing control circuit 202 is controlled by a reference clock in the overall control unit 211, and includes not only the timing generator 314 and the signal processing circuit 313 but also A
A clock for the / D converter 205 is also generated.

【0040】黒レベル補正回路206は、A/D変換さ
れた画素信号の黒レベルを基準の黒レベルに補正するも
のである。また、ホワイトバランス回路(以下、「WB
回路」という。)207は、R,G,Bの各色成分の画
素データのレベル変換を行う。WB回路207は、全体
制御部211から入力されるレベル変換テーブルを用い
てR,G,Bの各色成分の画素データのレベルを変換す
る。なお、レベル変換テーブルの各色成分のパラメータ
(特性の傾き)は全体制御部211により、撮影画像毎
に自動的に設定される。
The black level correction circuit 206 corrects the black level of the A / D converted pixel signal to a reference black level. In addition, a white balance circuit (hereinafter referred to as “WB
Circuit. " ) 207 performs level conversion of pixel data of each color component of R, G, and B. The WB circuit 207 converts the level of the pixel data of each of the R, G, and B color components using the level conversion table input from the overall control unit 211. Note that the parameters (gradients of characteristics) of each color component in the level conversion table are automatically set by the overall control unit 211 for each captured image.

【0041】γ補正回路208は、画素データの階調を
補正するものである。画像メモリ209は、γ補正回路
208から出力されるデジタルデータ、すなわち、撮影
により取得された画像を記憶するメモリである。画像メ
モリ209は、CCD303の画素数に対応する1フレ
ーム分(例えば、2100×1400)の画素データの
記憶容量を有し、各画素データが対応する画素位置に記
憶される。
The gamma correction circuit 208 corrects the gradation of pixel data. The image memory 209 is a memory that stores digital data output from the gamma correction circuit 208, that is, an image obtained by shooting. The image memory 209 has a storage capacity of one frame (for example, 2100 × 1400) of pixel data corresponding to the number of pixels of the CCD 303, and each pixel data is stored in a corresponding pixel position.

【0042】VRAM210は、LCD10に表示され
る画像データのバッファメモリである。VRAM210
は、LCD10の画素数400×300に対応した画像
データの記憶容量を有している。
The VRAM 210 is a buffer memory for image data displayed on the LCD 10. VRAM 210
Has a storage capacity of image data corresponding to 400 × 300 pixels of the LCD 10.

【0043】もう一つのVRAM220は、EVF20
に表示される画像データのバッファメモリである。VR
AM220は、EVF20の画素数640×480に対
応した画像データの記憶容量を有している。
Another VRAM 220 is an EVF 20
Is a buffer memory for image data displayed on the screen. VR
The AM 220 has a storage capacity of image data corresponding to the number of pixels 640 × 480 of the EVF 20.

【0044】また、撮影待機状態においては、撮像部3
により1/30(秒)毎に撮像された画像の各画素デー
タがA/D変換器205〜γ補正回路208により所定
の信号処理を施された後、画像メモリ209に一時記憶
されるとともに、全体制御部211を介してVRAM2
10およびVRAM220に転送され、LCD10やE
VF20に表示される(ライブビュー表示)。
In the photographing standby state, the imaging unit 3
After subjecting each pixel data of an image captured every 1/30 (second) to predetermined signal processing by the A / D converters 205 to γ correction circuit 208, the pixel data is temporarily stored in the image memory 209, VRAM2 via the overall control unit 211
10 and the VRAM 220, and the LCD 10 and E
It is displayed on the VF 20 (live view display).

【0045】これによって、ユーザは被写体像をリアル
タイムに視認することができる。また、再生モードにお
いては、メモリカード8から読み出された画像が全体制
御部211で所定の信号処理が施された後、VRAM2
10に転送され、LCD10に再生表示される。EVF
20にも同様の表示が行われる。
Thus, the user can visually recognize the subject image in real time. In the reproduction mode, after the image read from the memory card 8 is subjected to predetermined signal processing by the overall control unit 211, the VRAM 2
10 and reproduced and displayed on the LCD 10. EVF
A similar display is performed on 20.

【0046】カードI/F212は、メモリカード8へ
の画像データの書込みおよび画像データの読出しを行う
ためのインターフィースである。また、通信用I/F2
24は、パーソナルコンピュータ225を通信可能に外
部接続するための、例えばUSB規格に準拠したインタ
ーフェースである。カードI/F212および通信用I
/F224を介して、メモリカード8やCD−ROM2
26等の記録媒体に記録している制御プログラムを、全
体制御部211のROM内に取り込むことができる。
The card I / F 212 is an interface for writing image data to the memory card 8 and reading image data. Also, communication I / F2
Reference numeral 24 denotes an interface conforming to, for example, the USB standard for externally connecting the personal computer 225 so that communication is possible. Card I / F 212 and communication I
/ F224 via the memory card 8 or the CD-ROM 2
The control program recorded on a recording medium such as 26 can be loaded into the ROM of the overall control unit 211.

【0047】RTC219は、撮影日時を管理するする
ための時計回路であり、本体の電源とは別の電源で駆動
される。
The RTC 219 is a clock circuit for managing the shooting date and time, and is driven by a power supply different from the power supply of the main body.

【0048】NTSC変換器221は、VRAM220
に格納される画像信号を、NTSC方式に信号変換を行
い、EVF20および外部モニタ端子222を介して外
部モニタ223に転送する。
The NTSC converter 221 has a VRAM 220
Is converted into an NTSC format signal and transferred to the external monitor 223 via the EVF 20 and the external monitor terminal 222.

【0049】操作部250は、上述したシャッタボタン
9、LCDボタン31、確定ボタン32等の各種スイッ
チ、ボタン等に相当する。
The operation unit 250 corresponds to various switches and buttons such as the shutter button 9, LCD button 31, and enter button 32 described above.

【0050】シャッタボタン9は、銀塩カメラで採用さ
れているような半押し状態と押し込んだ状態(全押し)
とが検出可能な2段階スイッチになっている。待機状態
でシャッタボタン9を半押し状態にするとオートフォー
カス制御(以下、「AF制御」という。)が開始され、
全体制御部211が画像メモリ209内の画像のコント
ラストを評価しながら、コントラストがもっとも高くな
るようにモータM2を制御し、合焦レンズ301を合焦
位置へと移動させる。また、半押し時の画像メモリ20
9内の画像データに基づいて後述する測光演算による露
出制御が行われ、さらに、測色演算によるWB制御が行
われる。
The shutter button 9 is in a half-pressed state and a depressed state (fully pressed) as employed in a silver halide camera.
Are two-stage switches that can be detected. When the shutter button 9 is half-pressed in the standby state, auto focus control (hereinafter, referred to as “AF control”) is started, and
While evaluating the contrast of the image in the image memory 209, the overall control unit 211 controls the motor M2 so that the contrast becomes highest, and moves the focusing lens 301 to the focusing position. Further, the image memory 20 at the time of half-pressing is
Exposure control is performed based on the photometric calculation described later based on the image data in the image data 9, and WB control based on the colorimetric calculation is performed.

【0051】全体制御部211は、マイクロコンピュー
タからなり、上述したカメラの各部材の駆動を有機的に
制御してデジタルカメラ1の撮影動作を統括制御する。
The overall control unit 211 is composed of a microcomputer, and controls the driving of each member of the camera described above in an organic manner to control the photographing operation of the digital camera 1 overall.

【0052】全体制御部211は、AF制御、測光演算
および測色演算の他に、撮影により取得された画像をメ
モリカード8に記録したり、メモリカード8に記録され
た画像をLCD10やEVF20に再生するための処理
も行う。
The overall control unit 211 records an image obtained by photographing on the memory card 8 and stores an image recorded on the memory card 8 on the LCD 10 or the EVF 20 in addition to the AF control, the photometric operation and the colorimetric operation. Processing for reproduction is also performed.

【0053】画像が記録される際には、全体制御部21
1は画像メモリ209から画像データを読み出してメモ
リカード8に記録すべきサムネイル画像と圧縮画像とを
生成する。具体的には、画像メモリ209から横方向と
縦方向の両方向でそれぞれ8画素毎に画素のデータが読
み出され、順次、メモリカード8に転送することにより
サムネイル画像が生成および記録される。次に、画像メ
モリ209から全画素のデータが読み出され、2次元D
CT変換、ハフマン符号化等のJPEG方式による所定
の圧縮処理を施して圧縮画像の画像データが生成および
記録される。
When an image is recorded, the overall control unit 21
1 reads out image data from the image memory 209 and generates a thumbnail image and a compressed image to be recorded on the memory card 8. Specifically, pixel data is read out from the image memory 209 every eight pixels in both the horizontal direction and the vertical direction, and is sequentially transferred to the memory card 8 to generate and record a thumbnail image. Next, data of all pixels is read from the image memory 209, and the two-dimensional D
The image data of the compressed image is generated and recorded by performing a predetermined compression process by the JPEG method such as the CT conversion and the Huffman coding.

【0054】撮影/再生モード設定スイッチ14が再生
モードに設定された場合には、全体制御部211により
メモリカード8内のコマ番号の最も大きな画像のデータ
が読み出され、データ伸張されてVRAM210,22
0に転送される。これにより、LCD10やEVF20
にはコマ番号の最も大きな画像、すなわち直近に撮影さ
れた画像が表示される。この状態において、ボタンUを
操作することにより、コマ番号の大きな画像が表示さ
れ、ボタンDを押すことによりコマ番号の小さな画像が
表示される。
When the photographing / reproduction mode setting switch 14 is set to the reproduction mode, the data of the image having the largest frame number in the memory card 8 is read out by the overall control unit 211, and the data is expanded and the VRAM 210, 22
0 is transferred. Thereby, the LCD 10 or the EVF 20
Displays the image with the largest frame number, that is, the most recently captured image. In this state, operating the button U displays an image with a large frame number, and pressing the button D displays an image with a small frame number.

【0055】<2. デジタルカメラの概略動作>図5
は撮影モードにおけるデジタルカメラ1の動作の概略の
流れを示す図である。撮影モードでは、操作が行われて
いない状態にて定期的にCCD303にて画像が取得さ
れ、画像メモリ209に記憶される。また、画像メモリ
209内の画像のデータはVRAM210へと転送され
てLCD10に表示される(ステップS11)。これに
より、被写体像がリアルタイムにLCD10に表示され
る。
<2. Schematic operation of digital camera> FIG.
FIG. 3 is a diagram showing a schematic flow of an operation of the digital camera 1 in a photographing mode. In the photographing mode, an image is periodically acquired by the CCD 303 while no operation is performed, and is stored in the image memory 209. The image data in the image memory 209 is transferred to the VRAM 210 and displayed on the LCD 10 (Step S11). Thereby, the subject image is displayed on the LCD 10 in real time.

【0056】シャッタボタン9が半押しとされると(ス
テップS12)、既述のように、全体制御部211によ
り画像メモリ209内の画像のコントラストが最大とな
るようにAF制御が行われる(ステップS13)。な
お、正確には、画像の取得を複数回行いつつAF制御が
実行される。
When the shutter button 9 is half-pressed (step S12), AF control is performed by the overall control unit 211 so that the contrast of the image in the image memory 209 is maximized as described above (step S12). S13). Note that, more accurately, the AF control is performed while obtaining the image a plurality of times.

【0057】次に、全体制御部211が画像中の被写体
の上下方向を判別する処理(以下、「天地判別」とい
う。)、測光演算および測色演算を順次行い(ステップ
S14〜S16)、CCDの露光時間、絞り値およびW
B回路のゲイン設定が行われる。ステップS14〜S1
6の詳細については後述する。
Next, the overall control unit 211 sequentially performs a process of determining the vertical direction of the subject in the image (hereinafter, referred to as “top / bottom determination”), a photometric operation, and a colorimetric operation (steps S 14 to S 16). Exposure time, aperture value and W
The gain setting of the B circuit is performed. Steps S14 to S1
Details of 6 will be described later.

【0058】その後、シャッタボタン9の全押しを待機
する状態に移行し(ステップS17,S18)、シャッ
タボタン9が全押しされると本撮影が実行され、取得さ
れた画像がLCD10に表示される(ステップS1
9)。すなわち、設定された露光時間、絞り値にてCC
D303により画像が取得され、さらに、設定されたゲ
インにてWB補正が行われる。
Thereafter, the state shifts to a state of waiting for the shutter button 9 to be fully pressed (steps S17 and S18). When the shutter button 9 is fully pressed, the main photographing is executed, and the acquired image is displayed on the LCD 10. (Step S1
9). In other words, CC is determined by the set exposure time and aperture value.
An image is acquired by D303, and WB correction is performed with the set gain.

【0059】本撮影が行われると、本撮影にて取得され
た画像を保存するか否かが使用者に問い合わされ、保存
が選択されるとメモリカード8に画像が保存される(ス
テップS20,S21)。
When the actual photographing is performed, the user is inquired whether or not to save the image obtained in the actual photographing, and when the save is selected, the image is stored in the memory card 8 (step S20, step S20). S21).

【0060】シャッタボタン9が半押し状態から全押し
されなかった場合(ステップS18)、本撮影にて取得
された画像を保存しない場合(ステップS20)、およ
び、本撮影による画像が保存された後、ステップS11
へと戻ってライブビュー表示が行われる。
When the shutter button 9 is not fully pressed from the half-pressed state (step S18), when the image obtained in the main shooting is not stored (step S20), and after the image obtained by the main shooting is stored , Step S11
Then, the live view display is performed.

【0061】<3. 露出制御およびWB制御>図6は
露出制御およびWB制御のための測光演算および測色演
算に係る構成を示すブロック図である。図6において、
CPU261およびROM262は全体制御部211に
含まれ、他の構成は図4に示すものと同様である。図6
に示すように、デジタルカメラ1では測光および測色に
係る処理(ステップS14〜S16)は、CPU261
がROM262内のプログラム262aに従って演算処
理を行うことによりソフトウェア的に実現される。プロ
グラム262aはデジタルカメラ1を製造した際にRO
M262に記憶されていてもよく、プログラムを記録し
た記録媒体としてメモリカード8を利用し、メモリカー
ド8からROM262にプログラムが転送されてもよ
い。また、図4に示すようにCD−ROM226からコ
ンピュータ225を介してデジタルカメラ1へとプログ
ラムが転送されてもよい。
<3. Exposure Control and WB Control> FIG. 6 is a block diagram showing a configuration relating to photometric calculation and colorimetric calculation for exposure control and WB control. In FIG.
The CPU 261 and the ROM 262 are included in the overall control unit 211, and the other configuration is the same as that shown in FIG. FIG.
As shown in (2), in the digital camera 1, the processes related to photometry and colorimetry (steps S14 to S16) are performed by the CPU 261.
Is implemented in software by performing arithmetic processing according to a program 262a in the ROM 262. When the digital camera 1 is manufactured, the program 262a
The program may be stored in the M262, or the program may be transferred from the memory card 8 to the ROM 262 using the memory card 8 as a recording medium on which the program is recorded. In addition, a program may be transferred from the CD-ROM 226 to the digital camera 1 via the computer 225 as shown in FIG.

【0062】図7は測光演算および測色演算を行う際の
CPU261の機能を周辺構成とともにブロックにて示
す図である。図7において天地判別部265、測光演算
部266および測色演算部267がCPU261が実現
する機能に相当する。
FIG. 7 is a block diagram showing the functions of the CPU 261 when performing the photometric calculation and the colorimetric calculation together with the peripheral configuration. In FIG. 7, the top / bottom determination unit 265, the photometry calculation unit 266, and the colorimetry calculation unit 267 correspond to the functions realized by the CPU 261.

【0063】天地判別部265には画像メモリ209か
ら画像のデータが入力され、画像中の被写体の上下方向
(以下、適宜「天地方向」と略す。)を判別する。例え
ば、起立姿勢の人物の全身が通常の照明下にて撮影され
る場合、デジタルカメラ1の向きに関わらず、人物の上
半身側および下半身側をそれぞれ被写体像の上側および
下側として天地方向が判別される。
The image data is input from the image memory 209 to the top / bottom discrimination unit 265, and the top / bottom direction (hereinafter, abbreviated as “top / bottom direction”) of the subject in the image is discriminated. For example, when the whole body of a person in a standing posture is photographed under normal lighting, the top and bottom directions are determined with the upper body side and the lower body side of the person as the upper side and the lower side of the subject image, respectively, regardless of the orientation of the digital camera 1. Is done.

【0064】天地判別の結果は測光演算部266および
測色演算部267に入力される。測光演算部266で
は、判別された天地方向を考慮した測光演算が行われ、
CCD303の露光時間および絞り値が求められる。露
光時間はタイミング制御回路202に与えられ、絞り値
は絞り制御ドライバ306に与えられる。測色演算部2
67においても天地方向を考慮した測色演算が行われ、
R,G,B各色に対するゲインが求められる。求められ
たゲインはWB回路207へと送られ、WB回路207
内のゲイン設定が更新される。
The result of the top / bottom discrimination is input to the photometry calculation unit 266 and the colorimetry calculation unit 267. The photometric calculation unit 266 performs a photometric calculation in consideration of the determined vertical direction,
The exposure time and aperture value of the CCD 303 are obtained. The exposure time is given to the timing control circuit 202, and the aperture value is given to the aperture control driver 306. Colorimetric calculation unit 2
Also in 67, the colorimetric calculation considering the vertical direction is performed,
The gain for each of the R, G, and B colors is determined. The obtained gain is sent to the WB circuit 207, and the WB circuit 207
Is updated.

【0065】以上の構成により、本撮影にて画像中の被
写体の上下方向を考慮した適切な画像を取得することが
実現される。
With the above configuration, it is possible to obtain an appropriate image in the actual photographing taking into account the vertical direction of the subject in the image.

【0066】図8は天地判別部265による天地判別
(ステップS14)の詳細を示す流れ図である。天地判
別では、まず、画像に天地判別用の複数の領域(以下、
「判別用領域」という。)が設定される(ステップS1
41)。図9は複数の判別用領域411〜414の設定
形態を示す図である。方向501はデジタルカメラ1の
下部から上部に向かう方向である。
FIG. 8 is a flowchart showing the details of the top / bottom discrimination (step S14) by the top / bottom discrimination unit 265. In the top / bottom discrimination, first, a plurality of areas for the top / bottom discrimination (hereinafter, referred to as “top and bottom”
This is called a “determination area”. Is set (step S1).
41). FIG. 9 is a diagram showing a setting form of the plurality of determination areas 411 to 414. The direction 501 is a direction from the lower part to the upper part of the digital camera 1.

【0067】図9に示すように、予め、画像中の画素配
列(すなわち、CCD303の画素配列)は20×14
(=280)の小さなブロック401に区分けされてい
る。例えば、CCD303の画素数が2100×140
0の場合、1つのブロックの画素数は105×100と
される。そして、10×7個のブロック401からなる
上下左右のブロック群がそれぞれ判別用領域411〜4
14として設定される。
As shown in FIG. 9, the pixel arrangement in the image (that is, the pixel arrangement of the CCD 303) is previously 20 × 14.
(= 280) small blocks 401. For example, if the number of pixels of the CCD 303 is 2100 × 140
In the case of 0, the number of pixels in one block is 105 × 100. The upper, lower, left and right block groups composed of 10 × 7 blocks 401 are respectively used for the determination areas 411 to 4.
It is set as 14.

【0068】次に、各判別用領域411〜414の輝度
が求められる(各領域の平均輝度が求められてもよく、
単に、領域内の各画素の輝度の合計や各ブロックの平均
輝度の合計が求められてもよい。)(ステップS14
2)。各領域の輝度が求められると、判別用領域41
1,412の輝度の和L12、判別用領域412,41
3の輝度の和L23、判別用領域413,414の輝度
の和L34、および、判別用領域414,411の輝度
の和L41のうち、最も大きなものに対応する領域が特
定され、特定された領域の位置が画像中の被写体の上側
であると判定される(ステップS143)。
Next, the luminance of each of the determination areas 411 to 414 is obtained (the average luminance of each area may be obtained.
The sum of the brightness of each pixel in the region or the sum of the average brightness of each block may simply be obtained. ) (Step S14)
2). When the brightness of each area is obtained, the determination area 41
1,412, the sum L12 of the luminances, the determination areas 412, 41
3, the area corresponding to the largest one of the sum L23 of the luminances of L3, the sum L34 of the luminances of the determination areas 413 and 414, and the sum L41 of the luminances of the determination areas 414 and 411 is specified, and the specified area Is determined to be above the subject in the image (step S143).

【0069】すなわち、値L12が最も大きい場合、図
9中に示す方向502aが上側(すなわち、天地方向の
天側)であると判別され、値L23,L34,L41が
最も大きい場合には、それぞれ方向502b,502
c,502dが上側であると判別される。そして、上側
の領域以外の2つの領域が画像中の被写体の下側の領域
であると判別される。
That is, when the value L12 is the largest, it is determined that the direction 502a shown in FIG. 9 is upward (that is, the top side in the vertical direction), and when the values L23, L34, and L41 are the largest, Direction 502b, 502
It is determined that c and 502d are on the upper side. Then, two regions other than the upper region are determined to be lower regions of the subject in the image.

【0070】画素の輝度に基づいて画像の天地方向を判
別する場合、被写体の照明環境が特殊であると(例え
ば、人物の足元から照明が行われる場合)、適切な天地
判別は行われない。したがって、上述の天地判別は、正
確には、画像中の被写体の上下方向を推定する処理であ
るといえる。なお、どのような天地判別手法であっても
確実に天地方向を判別することは困難であり、一般に、
天地方向を判別する処理は天地方向を推定する処理であ
るといえる。
When the orientation of the image is determined based on the luminance of the pixel, if the illumination environment of the subject is special (for example, when the illumination is performed from the feet of a person), the appropriate orientation determination is not performed. Therefore, it can be said that the above-described top / bottom discrimination is, to be precise, a process of estimating the vertical direction of the subject in the image. Note that it is difficult to reliably determine the upside-down direction using any upside-down determination method.
It can be said that the process of determining the vertical direction is the process of estimating the vertical direction.

【0071】なお、特開2000−184271号公報
では、画像の周縁部のみを用いて天地判別を行うが、デ
ジタルカメラ1では画像の周縁部のみならず、中央部も
利用して天地判別を行う。これにより、背景が暗い状態
で主被写体が上方から照明される場合であっても、主被
写体上の輝度分布に基づいて適切な天地判別が実現され
る。
In Japanese Patent Laid-Open No. 2000-184271, the top and bottom discrimination is performed using only the periphery of the image, but the digital camera 1 performs the top and bottom discrimination using not only the periphery but also the center of the image. . Thus, even when the main subject is illuminated from above with the background being dark, appropriate top / bottom discrimination is realized based on the luminance distribution on the main subject.

【0072】図10は、天地判別後に測光演算部266
により実行される測光演算(ステップS15)の詳細を
示す流れ図である。測光演算では、まず、天地方向に従
って画像に測光演算用の複数の領域(以下、「測光用領
域」という。)が設定される(ステップS151)。
FIG. 10 shows a photometry operation unit 266 after the top and bottom discrimination.
9 is a flowchart showing details of photometric calculation (step S15) executed by (1). In the photometric calculation, first, a plurality of areas for photometric calculation (hereinafter, referred to as “photometric areas”) are set in the image according to the up-down direction (step S151).

【0073】図11および図12は、複数の測光用領域
421〜425の設定形態を示す図である。図11にお
いて、方向502は画像中の被写体の上下方向(天地方
向)を示しており、デジタルカメラ1の上下方向(方向
501)と画像の天地方向502とが一致する場合の測
光用領域421〜425を示している。領域421〜4
23は画像の中央にて天地方向502に長い矩形領域と
して設定され、領域423は領域422を囲い、領域4
22は領域421を囲む。領域424,425はそれぞ
れ領域423の外部において、天地方向502を基準と
する上部および下部に設定され、これらの領域は最外周
のブロック401を含まない。
FIG. 11 and FIG. 12 are diagrams showing a setting mode of a plurality of photometric areas 421 to 425. FIG. 11, a direction 502 indicates the vertical direction (vertical direction) of the subject in the image, and the photometric areas 421 to 421 when the vertical direction (direction 501) of the digital camera 1 matches the vertical direction 502 of the image. 425 is shown. Regions 421-4
23 is set as a rectangular area long in the vertical direction 502 at the center of the image, an area 423 surrounds the area 422,
22 surrounds the region 421. The regions 424 and 425 are respectively set outside and above the region 423 at the upper and lower positions with respect to the vertical direction 502, and do not include the outermost block 401.

【0074】図12は、天地方向502がデジタルカメ
ラ1の上下方向501に対して直角をなす場合の複数の
測光用領域421〜425の設定形態を示す図である。
図12においても、領域421〜423は画像の中央に
て天地方向502に長い矩形領域として設定され、領域
423は領域422を囲い、領域422は領域421を
囲む。また、領域424,425はそれぞれ領域423
の外部において、天地方向502を基準とする上部およ
び下部に設定され、これらの領域は最外周のブロック4
01を含まない。
FIG. 12 is a diagram showing a setting form of a plurality of photometric areas 421 to 425 when the vertical direction 502 is perpendicular to the vertical direction 501 of the digital camera 1.
Also in FIG. 12, the regions 421 to 423 are set as rectangular regions long in the vertical direction 502 at the center of the image, the region 423 surrounds the region 422, and the region 422 surrounds the region 421. Also, the regions 424 and 425 are respectively the region 423
Are set on the upper and lower sides with reference to the up-down direction 502, and these areas are set in the outermost block 4
01 is not included.

【0075】このように、デジタルカメラ1では天地方
向に応じて測光用領域421〜425の設定形態が変更
されるため、以下に説明する測光演算の精度が向上され
る。
As described above, in the digital camera 1, since the setting form of the photometric areas 421 to 425 is changed according to the top and bottom directions, the accuracy of the photometric calculation described below is improved.

【0076】複数の測光用領域421〜425が設定さ
れると、ブロック401ごとに画素の輝度の平均値(以
下、「ブロックの輝度」という。)が求められる(ステ
ップS152)。そして、各ブロック401の輝度の加
重平均が測光評価値として求められる(ステップS15
3)。すなわち、各ブロック401の輝度に加重係数を
乗算したものを合計して得られる加重和を総ブロック数
にて除算して測光評価値が求められる。なお、測光に基
づくデジタルカメラ1の制御は、各ブロック401の輝
度の加重和を測光評価値として求め、測光評価値を評価
するためのパラメータが調整されてもよい。また、各ブ
ロックの輝度も平均輝度として求められる必要はなく、
画素の輝度の総和がブロックの輝度として用いられても
よい。すなわち、測光演算では測光用領域に基づいて決
定される加重係数を用いつつ画素の輝度の加重和が求め
られ、測光評価値は加重和に応じた値とされる。
When a plurality of photometric areas 421 to 425 are set, an average value of pixel luminance (hereinafter, referred to as “block luminance”) is obtained for each block 401 (step S152). Then, a weighted average of the luminance of each block 401 is obtained as a photometric evaluation value (step S15).
3). That is, the photometric evaluation value is obtained by dividing the weighted sum obtained by summing the values obtained by multiplying the luminance of each block 401 by the weighting coefficient by the total number of blocks. In the control of the digital camera 1 based on photometry, a weighted sum of the luminance of each block 401 may be obtained as a photometric evaluation value, and parameters for evaluating the photometric evaluation value may be adjusted. Also, the luminance of each block does not need to be calculated as the average luminance,
The sum of the luminance of the pixels may be used as the luminance of the block. That is, in the photometric calculation, the weighted sum of the luminances of the pixels is obtained using the weighting coefficient determined based on the photometric area, and the photometric evaluation value is a value corresponding to the weighted sum.

【0077】加重係数としては、領域421のブロック
には「64」、領域422のブロックには「32」、領
域423のブロックには「16」、領域424のブロッ
クには「4」、領域425のブロックには「1」が設定
される。また、画像の最外周のブロックには実質的に
「0」が設定される。
The weighting coefficients are “64” for the block of the area 421, “32” for the block of the area 422, “16” for the block of the area 423, “4” for the block of the area 424, and area 425. Is set to “1”. Also, “0” is set substantially for the outermost block of the image.

【0078】このような加重係数の設定により、複数の
測光用領域に含まれる画像の略中央の測光用領域421
〜423は、天地方向に長い領域とされるとともに重点
的に測光されるため、人物を主被写体とする撮影に適し
た測光が実現される。
By setting the weighting coefficient as described above, the photometry area 421 substantially at the center of the image included in the plurality of photometry areas is set.
423 are long areas in the vertical direction and are mainly measured, so that photometry suitable for photographing with a person as a main subject is realized.

【0079】画像の周縁部においては上部よりも下部の
方が重要でないため、天地方向により特定される画像の
上部の測色用領域424に対応する加重係数が画像の下
部の測色用領域425に対応する加重係数よりも大きく
設定される。
Since the lower part is less important than the upper part in the peripheral part of the image, the weighting coefficient corresponding to the upper color measuring area 424 of the image specified by the top and bottom direction is the lower color measuring area 425 of the image. Is set to be larger than the weighting coefficient corresponding to.

【0080】画像の最外周は撮影上全く重要でないとみ
なすことができるため、測光演算では利用されない。し
たがって、天地判別では画像の全体が演算対象とされる
が、測光演算では画像の外周部を除く部分が演算対象と
され、適切な天地判別および測光演算が実現される。例
えば、画像の隅に光源が存在する場合、天地判別では光
源の位置を考慮した天地判別が行われるが、測光演算で
は光源の影響が抑えられる。
Since the outermost periphery of an image can be regarded as having no significance in photographing, it is not used in photometric calculation. Therefore, in the top / bottom discrimination, the entire image is set as a calculation target, but in the photometry calculation, a portion excluding the outer peripheral portion of the image is set as a calculation target, and appropriate top / bottom discrimination and photometry calculation are realized. For example, when a light source exists at a corner of an image, the top and bottom determination is performed in consideration of the position of the light source in the top and bottom determination, but the influence of the light source is suppressed in the photometric calculation.

【0081】測光評価値が求められると、測光評価値と
各種パラメータとが比較され、CCD303の露光時間
および絞り値が求められる(ステップS154)。例え
ば、測光評価値が比較対象となるターゲットレベルを所
定量以上に上回った場合には露光時間が短く設定され、
所定量以上に下回った場合には露光時間が長く設定され
る。また、CCD303の露光がさらに適切に実行され
るように絞り値が求められる。その後、測光演算部26
6から露光時間を示す信号がタイミング制御回路202
へと送出され、絞り値を示す信号が絞り制御ドライバ3
06へと送出される(ステップS155)。
When the photometric evaluation value is obtained, the photometric evaluation value is compared with various parameters, and the exposure time and aperture value of the CCD 303 are obtained (step S154). For example, if the photometric evaluation value exceeds a target level to be compared by a predetermined amount or more, the exposure time is set short,
If the amount falls below the predetermined amount, the exposure time is set to be long. Also, the aperture value is determined so that the exposure of the CCD 303 is performed more appropriately. After that, the photometric calculation unit 26
From 6 the signal indicating the exposure time is sent to the timing control circuit 202.
To the aperture control driver 3
06 (step S155).

【0082】なお、デジタルカメラ1では測光用領域4
21〜425の数が判別用領域411〜414の数より
も多くされるとともに測光用領域の形状は判別用領域の
形状よりも複雑な形状(すなわち、頂点が多い)とされ
る。天地判別は画像全体から簡易に推定されるのみで十
分であるのに対し、測光演算は詳細に行う必要があるた
め、このような領域設定により天地判別および測光演算
に適した演算処理が実現される。
In the digital camera 1, the photometric area 4
The number of the regions 21 to 425 is made larger than the number of the regions for determination 411 to 414, and the shape of the photometric region is made to be more complicated than the shape of the region for determination (that is, there are many vertices). Although it is sufficient to simply estimate the top and bottom from the entire image, the photometry calculation needs to be performed in detail, and thus such area setting realizes a calculation process suitable for the top and bottom judgment and the photometry calculation. You.

【0083】図13は、天地判別の際に各ブロック40
1の輝度が取得される様子を説明する図である。図13
に示すように天地判別の際には、各ブロック401の輝
度が求められた後、判別用領域412において異なる平
行斜線にて例示するように複数のブロック群4121〜
4125ごとにブロック401の輝度の合計(以下、
「ブロック群の輝度」という。)が求められる。その
後、ブロック群4121〜4125の輝度の合計を求め
た上で判別用領域412の輝度が算出される。ここで、
ブロック群4121〜4125の境界は図11に示す測
光用領域の境界に基づいて設定される。これにより、測
光演算の際に、各ブロック401の輝度から測光評価値
を求めるのではなく、ブロック群の輝度を流用しつつ測
光用評価値が求められる。
FIG. 13 shows each block 40 when the top and bottom are determined.
FIG. 7 is a diagram illustrating a state in which a luminance of 1 is obtained. FIG.
As shown in the figure, after the luminance of each block 401 is obtained at the time of the top / bottom discrimination, a plurality of block groups 4121 to 4101 are used in the discrimination area 412 as illustrated by different parallel oblique lines.
4125, the sum of the luminance of the block 401 (hereinafter, referred to as
This is called “brightness of a block group”. ) Is required. After that, the total luminance of the block groups 4121 to 4125 is obtained, and then the luminance of the determination area 412 is calculated. here,
The boundaries of the block groups 4121 to 4125 are set based on the boundaries of the photometric area shown in FIG. Thus, in the photometric calculation, the photometric evaluation value is obtained by diverting the luminance of the block group, instead of obtaining the photometric evaluation value from the luminance of each block 401.

【0084】すなわち、複数の判定用領域の境界と複数
の測光用領域の境界とを用いて複数のブロック群(以
下、「補助領域」という。)を設定しておき、補助領域
に対する演算を行ってから判定用領域に対する演算を行
い、測光演算では補助領域に対する演算結果が流用され
る。これにより、測光演算の高速化が図られる。また、
画像の再取得を伴うことなく同一の画像に対して天地判
別および測光演算を容易に行うことができ、測光演算の
さらなる高速化が図られる。
That is, a plurality of block groups (hereinafter, referred to as "auxiliary areas") are set using the boundaries of the plurality of determination areas and the boundaries of the plurality of photometric areas, and calculations are performed on the auxiliary areas. After that, the calculation for the determination area is performed, and in the photometric calculation, the calculation result for the auxiliary area is used. As a result, the speed of the photometric calculation can be increased. Also,
The top and bottom determination and the photometric calculation can be easily performed on the same image without reacquiring the image, and the speed of the photometric calculation can be further increased.

【0085】以上の手法により測光演算の高速化を図る
には、補助領域の数を抑えることが好ましい。補助領域
の数は判別用領域の境界と測光用領域の境界との不一致
の度合いが高いほど多くなる。そこで、デジタルカメラ
1では、図11および図12中に符号428にて示す部
分において判別用領域の境界と測光用領域の境界とを一
致させ、図13に示すブロック群4121〜4125の
数をできるだけ少なくするように配慮されている。すな
わち、判別用領域の境界と測光用領域の境界とを少なく
とも一部において一致させることにより、測光演算の高
速化が図られる。なお、デジタルカメラ1では、ブロッ
ク401を基準に複数の判別用領域および複数の測光用
領域を設定することにより、判別用領域の境界と測光用
領域の境界とを少なくとも一部において容易に一致させ
ることができるようにされている。
In order to increase the speed of photometric calculation by the above method, it is preferable to reduce the number of auxiliary areas. The number of auxiliary areas increases as the degree of mismatch between the boundary of the determination area and the boundary of the photometric area increases. Therefore, in the digital camera 1, the boundary of the discrimination area and the boundary of the photometry area in the portion indicated by reference numeral 428 in FIGS. 11 and 12 coincide with each other, and the number of the block groups 4121 to 4125 shown in FIG. Care is taken to reduce it. That is, the speed of the photometric calculation can be increased by at least partially matching the boundary of the determination region with the boundary of the photometric region. In the digital camera 1, by setting a plurality of discrimination areas and a plurality of photometry areas with reference to the block 401, the boundary of the discrimination area and the border of the photometry area can be easily matched at least in part. Have been able to.

【0086】図14は、測色演算部267により実行さ
れる測色演算(ステップS16)の詳細を示す流れ図で
ある。測色演算においても、まず、天地方向に従って画
像に測色演算用の複数の領域(以下、「測色用領域」と
いう。)が設定される(ステップS161)。図15お
よび図16は複数の測色用領域431〜434の設定形
態を示す図である。図15および図16において、方向
501はデジタルカメラ1の上下方向を示し、方向50
2は判別された天地方向を示す。図15および図16に
示すように、複数の測色用領域431〜434は、天地
方向に垂直な方向に長い形状として設定される。
FIG. 14 is a flowchart showing details of the colorimetry calculation (step S16) executed by the colorimetry calculation section 267. Also in the colorimetric calculation, first, a plurality of areas for colorimetric calculation (hereinafter, referred to as “colorimetric areas”) are set in the image according to the up-down direction (step S161). FIG. 15 and FIG. 16 are views showing a setting form of a plurality of color measurement areas 431 to 434. 15 and 16, a direction 501 indicates the vertical direction of the digital camera 1, and
Numeral 2 indicates the determined vertical direction. As shown in FIGS. 15 and 16, the plurality of colorimetric regions 431 to 434 are set to have shapes that are long in a direction perpendicular to the top and bottom directions.

【0087】次に、各ブロック401において、画素ご
とのR,G,Bの値の平均値(以下、「ブロックのR,
G,B値」という。)が求められ(ステップS16
2)、ブロック401のR,G,B値のそれぞれの加重
平均がR,G,Bに関する測色評価値として求められる
(ステップS163)。すなわち、各ブロック401の
R値に加重係数を乗算したものを合計して得られる加重
和を総ブロック数にて除算してRに関する測色評価値R
sが求められる。同様にして、GおよびBに関する測色
評価値Gs,Bsが求められる。
Next, in each block 401, the average value of the R, G, and B values for each pixel (hereinafter, “R, G,
G, B value ". ) Is obtained (step S16)
2) The respective weighted averages of the R, G, and B values of the block 401 are obtained as the colorimetric evaluation values for R, G, and B (step S163). That is, the colorimetric evaluation value R for R is obtained by dividing the weighted sum obtained by summing the values obtained by multiplying the R value of each block 401 by the weighting coefficient by the total number of blocks.
s is required. Similarly, the colorimetric evaluation values Gs and Bs for G and B are obtained.

【0088】なお、各ブロック401のR,G,B値の
それぞれの加重和が測色評価値として求められ、測色評
価値を評価するためのパラメータを調整することによ
り、WB制御が行われてもよい。すなわち、測色演算に
おいて複数の測色用領域に基づいて決定される加重係数
を用いて各ブロックのR,G,B値の加重和が求めら
れ、測色評価値は加重和に応じた値とされる。
The weighted sum of the R, G, and B values of each block 401 is obtained as a colorimetric evaluation value, and WB control is performed by adjusting parameters for evaluating the colorimetric evaluation value. You may. That is, a weighted sum of the R, G, and B values of each block is obtained by using a weighting coefficient determined based on a plurality of colorimetric regions in the colorimetric operation, and the colorimetric evaluation value is a value corresponding to the weighted sum. It is said.

【0089】加重係数としては、領域431のブロック
には「16」、領域432のブロックには「8」、領域
433のブロックには「4」、領域434のブロックに
は「1」が設定される。すなわち、天地方向により特定
される画像の上部の測色用領域に対応する加重係数が下
部の測色用領域に対応する加重係数よりも大きく設定さ
れる。このような加重係数の設定により、画像中の被写
体の上側(天地方向の天側)を重視した測色演算が行わ
れる。
As the weighting coefficient, “16” is set for the block of the area 431, “8” is set for the block of the area 432, “4” is set for the block of the area 433, and “1” is set for the block of the area 434. You. That is, the weight coefficient corresponding to the upper color measurement area of the image specified by the top and bottom direction is set to be larger than the weight coefficient corresponding to the lower color measurement area. By setting such weighting coefficients, the colorimetric operation is performed with emphasis on the upper side (the top side in the vertical direction) of the subject in the image.

【0090】測色評価値Rs,Gs,Bsは、数1によ
り新たな評価値gr,gbへと変換される。
The colorimetric evaluation values Rs, Gs, Bs are converted into new evaluation values gr, gb according to equation (1).

【0091】[0091]

【数1】 (Equation 1)

【0092】そして、評価値gr,gbに基づいてホワ
イトバランス制御値(以下、「WB制御値」という。)
grw,gbwが求められる(ステップS164)。図
17は、WB制御値grw,gbwを求める処理を説明
するための図である。
Then, based on the evaluation values gr and gb, a white balance control value (hereinafter referred to as “WB control value”).
grw and gbw are obtained (step S164). FIG. 17 is a diagram for explaining a process of obtaining the WB control values grw and gbw.

【0093】図17において、点510はx−y座標系
において座標(gr,gb)に位置する。座標(gr,
gb)のx座標の値が大きく、y座標の値が小さいほど
Gs/Bsに対してGs/Rsが大きくなるため、元の
画像は青みがかっていることとなる。逆に、x座標の値
が小さく、y座標の値が大きいほどGs/Bsに対して
Gs/Rsが小さくなるため、元の画像は赤みがかって
いることとなる。したがって、原点から45°の角度に
て伸びる直線520に近い点は、ホワイトバランスが整
っている画像(自然光にて照明された被写体を撮影した
画像)に対応する点となる。
In FIG. 17, a point 510 is located at coordinates (gr, gb) in the xy coordinate system. Coordinates (gr,
As the value of the x coordinate of gb) is larger and the value of the y coordinate is smaller, Gs / Rs becomes larger than Gs / Bs, so that the original image is bluish. Conversely, the smaller the value of the x-coordinate and the larger the value of the y-coordinate, the smaller the value of Gs / Rs with respect to Gs / Bs, so that the original image is reddish. Therefore, a point close to the straight line 520 extending at an angle of 45 ° from the origin is a point corresponding to an image with a proper white balance (an image of a subject illuminated by natural light).

【0094】図17に示すように、予め撮影の際に設定
されたホワイトバランスモード(以下、「WBモード」
という。)に応じてx−y座標系には領域521,52
2が設定されており、領域521は昼光モードに対応
し、領域522は白熱球モードに対応する。そして、W
Bモードに応じて点510の位置が領域521または領
域522のうち最も近い位置へと変換される。これによ
り、照明環境や人間の視覚の色順応等を考慮した座標変
換が行われる。
As shown in FIG. 17, a white balance mode (hereinafter referred to as a “WB mode”) previously set at the time of photographing is set.
That. ), The areas 521, 52 are included in the xy coordinate system.
2 is set, the area 521 corresponds to the daylight mode, and the area 522 corresponds to the incandescent bulb mode. And W
The position of the point 510 is converted to the closest position in the region 521 or 522 according to the B mode. As a result, coordinate conversion is performed in consideration of the lighting environment, chromatic adaptation of human vision, and the like.

【0095】図17において、点511は昼光モードの
場合に点510の変換後の位置を示し、点512は白熱
球モードにおける点510の変換後の位置を示す。そし
て、変換後の位置の座標(grw,gbw)がWB制御
値とされる。なお、点510が変換基準となる領域に含
まれる場合には、点510の位置の変換は行われない。
In FIG. 17, point 511 indicates the converted position of point 510 in the daylight mode, and point 512 indicates the converted position of point 510 in the incandescent bulb mode. Then, the coordinates (grw, gbw) of the converted position are used as the WB control values. When the point 510 is included in the conversion reference area, the position of the point 510 is not converted.

【0096】WB制御値grw,gbwが求められる
と、数2に示す演算により、WB制御に用いられる値R
w,Gw,Bwが求められる。そして、測色評価値R
s,Gs,Bsが値Rw,Gw,Bwとなるように、
R,G,Bのゲインの設定値が求められる。求められた
設定値はWB回路207へと転送され、ホワイトバラン
スのゲイン設定が更新される(ステップS165)。こ
れにより、本撮影の際のWBモードに応じたWB制御が
行われる。
When the WB control values grw and gbw are obtained, the value R used for the WB control is calculated by the operation shown in Expression 2.
w, Gw, and Bw are obtained. And the colorimetric evaluation value R
so that s, Gs, and Bs become values Rw, Gw, and Bw,
R, G, and B gain setting values are obtained. The obtained set value is transferred to the WB circuit 207, and the gain setting of the white balance is updated (step S165). As a result, WB control according to the WB mode at the time of actual photographing is performed.

【0097】[0097]

【数2】 (Equation 2)

【0098】以上のように、デジタルカメラ1の測色演
算では、判別された天地方向に従って測色用領域が設定
されるため、画像中の被写体の向きに応じた測色演算が
行われ、適切なWB制御が実現される。
As described above, in the colorimetric calculation of the digital camera 1, since the colorimetric area is set in accordance with the determined top-down direction, the colorimetric calculation according to the direction of the subject in the image is performed. WB control is realized.

【0099】また、測色評価値を求める際には測色用領
域ごとの所定の加重係数が用いられるため、演算処理を
高速に行うことができる。加重係数は画像中の被写体の
上部の測色用領域ほど大きく設定されるため、光源の影
響を考慮した適切なWB制御が可能となる。
Further, when a colorimetric evaluation value is obtained, a predetermined weighting coefficient for each colorimetric area is used, so that arithmetic processing can be performed at high speed. Since the weighting coefficient is set larger in the colorimetric area above the subject in the image, appropriate WB control can be performed in consideration of the influence of the light source.

【0100】なお、天地判別の際の複数の判別用領域、
測光演算の際の複数の測光用領域、および、測光演算の
際の複数の測色用領域の設定形態は互いに異なるため、
天地判別、測光演算および測色演算の精度(すなわち、
露出制御およびWB制御の精度)を高めることができ
る。また、天地判別、測光演算および測色演算は画像メ
モリ209内の同一の画像に対して行われるようになっ
ており、これらの演算処理は画像の再取込を行うことな
く迅速に行われる。
Note that a plurality of discrimination areas for the top and bottom discrimination,
Since the plurality of photometric areas in the photometric operation, and the setting form of the plurality of colorimetric areas in the photometric operation are different from each other,
Accuracy of top and bottom discrimination, photometry calculation and colorimetry calculation (that is,
Exposure control and WB control). In addition, the top and bottom determination, the photometry calculation and the colorimetry calculation are performed on the same image in the image memory 209, and these calculation processes are performed quickly without re-capturing the image.

【0101】<4. 変形例>以上、本発明の一の実施
の形態に係るデジタルカメラ1について説明してきた
が、本発明は上記実施の形態に限定されるものではな
く、様々な変形が可能である。
<4. Modifications> Although the digital camera 1 according to one embodiment of the present invention has been described above, the present invention is not limited to the above embodiment, and various modifications are possible.

【0102】例えば、上記実施の形態では画像から天地
方向を判別し、天地方向に応じた測光演算および測色演
算を行うようにしているが、天地方向の判別は他の手法
により行われてもよい。図18は天地判別を行うための
水銀センサ600の構造を例示する縦断面図である。
For example, in the above embodiment, the direction of the top and bottom is determined from the image, and the photometric calculation and the colorimetry calculation according to the top and bottom direction are performed. Good. FIG. 18 is a longitudinal sectional view illustrating the structure of the mercury sensor 600 for performing the top / bottom discrimination.

【0103】図18において、水銀センサ600の外殻
の4隅は電極601〜604となっており、内部に電極
611が設けられる。外殻と内部の電極611との間に
は水銀612が貯溜される。図18に示す状態では、水
銀により電極602と電極611とが通電される。水銀
センサ600をデジタルカメラに設けた場合、デジタル
カメラの姿勢に応じて内部の水銀612の貯溜位置が変
化するため、姿勢に応じて電極611と電極601〜6
04のいずれかとが通電し、デジタルカメラの姿勢を検
出することが可能となる。これにより、画像中の被写体
の上下方向を判別することができる。他の種類の変位セ
ンサや加速度センサ等により天地判別が行われてもよ
い。
In FIG. 18, the four corners of the outer shell of the mercury sensor 600 are electrodes 601 to 604, and electrodes 611 are provided inside. Mercury 612 is stored between the outer shell and the inner electrode 611. In the state shown in FIG. 18, the electrodes 602 and 611 are energized by mercury. When the mercury sensor 600 is provided in a digital camera, the storage position of the internal mercury 612 changes according to the posture of the digital camera.
04 is energized, and the posture of the digital camera can be detected. Thereby, the vertical direction of the subject in the image can be determined. The top and bottom determination may be performed by another type of displacement sensor, acceleration sensor, or the like.

【0104】天地判別が画像に基づいて行われる場合、
必ずしも画素値やブロックの輝度に基づいて天地判別が
行われなくてもよい。例えば、輝度とみなすことができ
る画素のG値に基づいて天地判別が行われてもよい。す
なわち、天地判別は画像の画素値に基づいて行うことが
できる。
When the orientation is determined based on the image,
The top and bottom determination does not necessarily have to be performed based on the pixel value or the luminance of the block. For example, the top and bottom determination may be performed based on the G value of a pixel that can be regarded as luminance. That is, the top and bottom determination can be performed based on the pixel value of the image.

【0105】また、デジタルカメラ1では各種領域の設
定はブロック401をグループ化することにより行われ
るが、ブロックを用いることなく画素を単位として領域
設定が行われてもよい。
In the digital camera 1, various regions are set by grouping the blocks 401. However, the regions may be set in units of pixels without using blocks.

【0106】同様に、測光演算においてブロックごとの
輝度の加重和を求めることは、画素ごとの輝度の加重和
を求めることに実質的に等しく、ブロックを単位とせず
に測光演算が行われてもよい。測色演算も同様に、ブロ
ックごとのR,G,B値を求めることは画素のR,G,
B値の加重和を求めることと同等であり、画素を単位と
して演算が行われてもよい。
Similarly, obtaining the weighted sum of the luminance for each block in the photometric operation is substantially equivalent to obtaining the weighted sum of the luminance for each pixel, and even if the photometric operation is performed without using the block as a unit. Good. Similarly, in the colorimetric calculation, obtaining the R, G, B values for each block is based on the R, G,
This is equivalent to obtaining a weighted sum of B values, and the calculation may be performed in units of pixels.

【0107】また、デジタルカメラ1では、WB制御を
天地判別部265、測色演算部267およびWB回路2
07により実行するが、WB回路207と同等の機能が
A/D変換前に(例えば、信号処理回路313におい
て)行われてもよい。さらに、WB制御は取得後の画像
に対するWB補正として実行されてもよい。
In the digital camera 1, the WB control is performed by the top / bottom discriminator 265, the colorimetric calculator 267, and the WB circuit 2.
07, the function equivalent to the WB circuit 207 may be performed before the A / D conversion (for example, in the signal processing circuit 313). Further, the WB control may be executed as a WB correction for the acquired image.

【0108】WB制御のゲイン設定、並びに、露出制御
の露光時間および絞り値は撮影ごとに再設定されなくて
もよく、所定量以上ずれている場合にのみ再設定が行わ
れてもよい。
The gain setting of the WB control, and the exposure time and aperture value of the exposure control do not have to be reset for each photographing, but may be reset only when they are shifted by a predetermined amount or more.

【0109】また、上記実施の形態における判別用領
域、測光用領域および測色用領域の設定形態は例示にす
ぎず、他の設定形態が採用されてもよい。また、これら
の領域のいずれかの設定形態が他の種類の領域の設定形
態と同様とされてもよい。
Further, the setting mode of the determination area, the photometric area and the colorimetric area in the above embodiment is merely an example, and other setting modes may be adopted. Further, the setting form of any of these areas may be the same as the setting form of other types of areas.

【0110】上記実施の形態では、天地判別、測光演算
および測色演算がCPU261がプログラム262aを
実行することによりソフトウェア的に実現されるが、こ
れらの構成の全部または一部が専用の電気回路により実
現されてもよい。
In the above embodiment, the top and bottom discrimination, the photometric operation and the colorimetric operation are realized by software when the CPU 261 executes the program 262a, but all or a part of these components are provided by a dedicated electric circuit. It may be realized.

【0111】上記実施の形態では、静止画像を取得する
デジタルスチルカメラを例に説明を行ったが、上記実施
の形態における様々な技術は動画像を取得するビデオカ
メラを含む各種デジタル撮像装置に応用することができ
る。
In the above embodiment, a digital still camera for obtaining a still image has been described as an example. However, various techniques in the above embodiment are applied to various digital imaging devices including a video camera for obtaining a moving image. can do.

【0112】[0112]

【発明の効果】請求項1ないし7の発明では、画像中の
被写体の向きを考慮した適切なホワイトバランスの制御
を行うことができる。
According to the first to seventh aspects of the present invention, it is possible to perform appropriate white balance control in consideration of the orientation of a subject in an image.

【0113】また、請求項2の発明では、画像から画像
中の被写体の上下方向を判別することができる。
According to the second aspect of the present invention, the vertical direction of a subject in an image can be determined from the image.

【0114】また、請求項3および4の発明では、画像
中の被写体の上下方向を考慮した測色評価値を求めるこ
とができる。
According to the third and fourth aspects of the present invention, it is possible to obtain a colorimetric evaluation value in consideration of the vertical direction of a subject in an image.

【0115】また、請求項5の発明では、光源の影響を
考慮したホワイトバランスの制御を行うことができる。
According to the fifth aspect of the present invention, it is possible to control the white balance in consideration of the influence of the light source.

【0116】また、請求項6の発明では、画像中の被写
体の上下方向の判別、および、ホワイトバランスの制御
を適切に行うことができる。
Further, according to the present invention, it is possible to appropriately determine the vertical direction of the subject in the image and control the white balance.

【0117】請求項8ないし14の発明では、画像中の
被写体の上下方向の判別および測光演算を適切に行うこ
とができる。
According to the eighth to fourteenth aspects of the present invention, the determination of the vertical direction of the subject in the image and the photometric calculation can be appropriately performed.

【0118】また、請求項11の発明では、画像中の被
写体の上下方向の判別および測光演算に適した領域設定
が行われる。
According to the eleventh aspect of the present invention, the determination of the vertical direction of a subject in an image and the setting of an area suitable for photometric calculation are performed.

【0119】また、請求項12の発明では、画像中の被
写体の上下方向の判別、測光演算およびホワイトバラン
スの制御の精度を高めることができる。
According to the twelfth aspect of the present invention, it is possible to enhance the accuracy of discrimination of the subject in the image in the vertical direction, the photometric calculation, and the control of the white balance.

【0120】また、請求項13の発明では、画像の再取
得が不要となる。
Further, according to the thirteenth aspect, it is not necessary to reacquire an image.

【0121】請求項15ないし17の発明では、測光演
算を高速に行うことができる。
According to the fifteenth to seventeenth aspects, the photometric calculation can be performed at high speed.

【0122】また、請求項16の発明では、照明の影響
を考慮した測光演算を行うことができる。
According to the sixteenth aspect of the present invention, it is possible to perform a photometric calculation in consideration of the influence of illumination.

【0123】請求項18および19の発明では、人物を
主被写体とする撮影に適した測光が行われる。
According to the eighteenth and nineteenth aspects, photometry suitable for photographing with a person as a main subject is performed.

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

【図1】デジタルカメラの平面図である。FIG. 1 is a plan view of a digital camera.

【図2】デジタルカメラの縦断面図である。FIG. 2 is a longitudinal sectional view of the digital camera.

【図3】デジタルカメラの背面図である。FIG. 3 is a rear view of the digital camera.

【図4】デジタルカメラの構成を示すブロック図であ
る。
FIG. 4 is a block diagram illustrating a configuration of a digital camera.

【図5】デジタルカメラの動作の概略を示す流れ図であ
る。
FIG. 5 is a flowchart showing an outline of the operation of the digital camera.

【図6】測光演算および測色演算に係る構成を示すブロ
ック図である。
FIG. 6 is a block diagram illustrating a configuration related to a photometric operation and a colorimetric operation.

【図7】測光演算および測色演算に係る機能構成を示す
ブロック図である。
FIG. 7 is a block diagram illustrating a functional configuration related to photometric calculation and colorimetric calculation.

【図8】天地判別の動作を示す流れ図である。FIG. 8 is a flowchart showing the operation of top and bottom determination.

【図9】判別用領域を例示する図である。FIG. 9 is a diagram illustrating a discrimination area.

【図10】測光演算の動作を示す流れ図である。FIG. 10 is a flowchart showing the operation of the photometric calculation.

【図11】測光用領域を例示する図である。FIG. 11 is a diagram exemplifying a photometry area.

【図12】測光用領域を例示する図である。FIG. 12 is a diagram illustrating a photometry area.

【図13】演算の際のブロック群を例示する図である。FIG. 13 is a diagram exemplifying a block group at the time of calculation;

【図14】測色演算の動作を示す流れ図である。FIG. 14 is a flowchart showing an operation of a colorimetric calculation.

【図15】測色用領域を例示する図である。FIG. 15 is a diagram illustrating a colorimetric area.

【図16】測色用領域を例示する図である。FIG. 16 is a diagram illustrating a colorimetric area.

【図17】測色演算を説明するための図である。FIG. 17 is a diagram illustrating a colorimetric calculation.

【図18】水銀センサの縦断面図である。FIG. 18 is a longitudinal sectional view of the mercury sensor.

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

1 デジタルカメラ 8 メモリカード 207 WB回路 261 CPU 262 ROM 262a プログラム 265 天地判別部 266 測光演算部 276 測色演算部 303 CCD 401 ブロック 411〜414 判別用領域 421〜425 測光用領域 431〜434 測色用領域 502,502a〜502d 方向 S11,S14〜S16 ステップ Reference Signs List 1 digital camera 8 memory card 207 WB circuit 261 CPU 262 ROM 262a program 265 top / bottom discrimination unit 266 photometry operation unit 276 colorimetry operation unit 303 CCD 401 block 411-414 discrimination area 421-425 photometry area 431-434 for colorimetry Area 502, 502a to 502d Direction S11, S14 to S16 Step

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) // H04N 101:00 H04N 101:00 Fターム(参考) 2H002 CC00 DB14 DB17 DB25 HA04 JA07 2H054 AA01 5C022 AB03 AB15 AB17 AB22 AB66 AC03 AC31 AC42 AC54 AC56 AC69 AC74 5C065 AA03 BB02 BB12 BB48 CC01 DD02 GG12 GG15 GG18 GG27 GG32 5C066 AA01 EA14 EC05 GA01 KE02 KE05 KE07 KM02 ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) // H04N 101: 00 H04N 101: 00 F term (Reference) 2H002 CC00 DB14 DB17 DB25 HA04 JA07 2H054 AA01 5C022 AB03 AB15 AB17 AB22 AB66 AC03 AC31 AC42 AC54 AC56 AC69 AC74 5C065 AA03 BB02 BB12 BB48 CC01 DD02 GG12 GG15 GG18 GG27 GG32 5C066 AA01 EA14 EC05 GA01 KE02 KE05 KE07 KM02

Claims (19)

【特許請求の範囲】[Claims] 【請求項1】 デジタル撮像装置であって、 被写体の画像をデジタルデータとして取得する撮像手段
と、 前記画像中の前記被写体の上下方向を判別する判別手段
と、 前記上下方向に従いつつホワイトバランスを制御する制
御手段と、を備えることを特徴とするデジタル撮像装
置。
1. A digital imaging apparatus, comprising: imaging means for acquiring an image of a subject as digital data; determining means for determining the vertical direction of the subject in the image; and controlling white balance according to the vertical direction. A digital imaging device comprising:
【請求項2】 請求項1に記載のデジタル撮像装置であ
って、 前記判別手段が、前記画像に設定された複数の判別用領
域に基づいて前記上下方向を判別することを特徴とする
デジタル撮像装置。
2. The digital imaging apparatus according to claim 1, wherein the determination unit determines the up-down direction based on a plurality of determination areas set in the image. apparatus.
【請求項3】 請求項2に記載のデジタル撮像装置であ
って、 前記制御手段が、前記上下方向に従いつつ前記画像に設
定された複数の測色用領域に基づいてR、GおよびBに
関する測色評価値を求め、前記測色評価値を用いてホワ
イトバランスを制御することを特徴とするデジタル撮像
装置。
3. The digital imaging device according to claim 2, wherein the control unit measures R, G, and B based on a plurality of colorimetric regions set in the image while following the vertical direction. A digital imaging device, wherein a color evaluation value is obtained, and a white balance is controlled using the colorimetric evaluation value.
【請求項4】 請求項3に記載のデジタル撮像装置であ
って、 前記制御手段が、前記複数の測色用領域に基づいて前記
画像のR,GおよびBごとの画素値の加重和を求め、前
記加重和を用いて前記測色評価値を求めることを特徴と
するデジタル撮像装置。
4. The digital imaging device according to claim 3, wherein the control unit calculates a weighted sum of pixel values for each of R, G, and B of the image based on the plurality of colorimetric regions. A digital imaging apparatus for calculating the colorimetric evaluation value using the weighted sum.
【請求項5】 請求項4に記載のデジタル撮像装置であ
って、 前記制御手段が前記加重和を求める際に、前記上下方向
により特定される前記画像の上部の測色用領域に対応す
る加重係数が前記画像の下部の測色用領域に対応する加
重係数よりも大きく設定されることを特徴とするデジタ
ル撮像装置。
5. The digital imaging apparatus according to claim 4, wherein when the control means calculates the weighted sum, a weight corresponding to a colorimetric area in an upper part of the image specified by the up-down direction. A digital imaging device, wherein a coefficient is set to be larger than a weighting coefficient corresponding to a colorimetric area below the image.
【請求項6】 請求項3ないし5のいずれかに記載のデ
ジタル撮像装置であって、 前記複数の判別用領域と前記複数の測色用領域との設定
形態が異なることを特徴とするデジタル撮像装置。
6. The digital imaging apparatus according to claim 3, wherein the plurality of determination areas and the plurality of colorimetric areas are set differently. apparatus.
【請求項7】 デジタル撮像装置を制御するプログラム
を記録した記録媒体であって、前記プログラムのデジタ
ル撮像装置による実行は、前記デジタル撮像装置に、 被写体の画像をデジタルデータとして取得する工程と、 前記画像中の前記被写体の上下方向を判別する工程と、 前記上下方向に従いつつホワイトバランスを制御する工
程と、を実行させることを特徴とする記録媒体。
7. A recording medium on which a program for controlling a digital imaging device is recorded, wherein the execution of the program by the digital imaging device includes: obtaining a subject image as digital data by the digital imaging device; A recording medium for executing a step of determining a vertical direction of the subject in an image and a step of controlling a white balance while following the vertical direction.
【請求項8】 デジタル撮像装置であって、 被写体の画像をデジタルデータとして取得する撮像手段
と、 前記画像の全体を演算対象として演算を行い、前記画像
中の前記被写体の上下方向を判別する判別手段と、 前記上下方向に従いつつ前記画像の周縁部を除く部分を
演算対象として測光演算を行う測光手段と、を備えるこ
とを特徴とするデジタル撮像装置。
8. A digital imaging apparatus, comprising: imaging means for acquiring an image of a subject as digital data; and performing a calculation on the entire image as a calculation target to determine a vertical direction of the subject in the image. A digital imaging device comprising: a photometric unit that performs photometric computation on a portion except for a peripheral edge of the image while following the vertical direction.
【請求項9】 デジタル撮像装置を制御するプログラム
を記録した記録媒体であって、前記プログラムのデジタ
ル撮像装置による実行は、前記デジタル撮像装置に、 被写体の画像をデジタルデータとして取得する工程と、 前記画像の全体を演算対象として演算を行い、前記画像
中の前記被写体の上下方向を判別する工程と、 前記上下方向に従いつつ前記画像の周縁部を除く部分を
演算対象として測光演算を行う工程と、を実行させるこ
とを特徴とする記録媒体。
9. A recording medium on which a program for controlling a digital imaging device is recorded, wherein the execution of the program by the digital imaging device includes: acquiring a subject image as digital data in the digital imaging device; Performing a calculation on the entire image as a calculation target, determining the vertical direction of the subject in the image, and performing a photometric calculation on the calculation target for a portion excluding a peripheral portion of the image while following the vertical direction, Recording medium.
【請求項10】 デジタル撮像装置であって、 被写体の画像をデジタルデータとして取得する撮像手段
と、 前記画像に設定された複数の判別用領域に基づいて前記
画像中の前記被写体の上下方向を判別する判別手段と、 前記上下方向に従いつつ前記複数の判別用領域とは設定
形態が異なる複数の測光用領域に基づいて測光演算を行
う測光手段と、を備えることを特徴とするデジタル撮像
装置。
10. A digital imaging device, comprising: imaging means for acquiring an image of a subject as digital data; and determining a vertical direction of the subject in the image based on a plurality of determination areas set in the image. A digital imaging device comprising: a determination unit that performs a photometric calculation based on a plurality of photometric regions that are different in a setting form from the plurality of determination regions while following the vertical direction.
【請求項11】 請求項10に記載のデジタル撮像装置
であって、 前記複数の測光用領域の数が前記複数の判別用領域の数
よりも多いことを特徴とするデジタル撮像装置。
11. The digital imaging device according to claim 10, wherein the number of the plurality of photometric areas is larger than the number of the plurality of determination areas.
【請求項12】 請求項10または11に記載のデジタ
ル撮像装置であって、 前記複数の判別用領域および前記複数の測光用領域のい
ずれとも設定形態が異なる複数の測色用領域に基づいて
ホワイトバランスの制御を行う制御手段、をさらに備え
ることを特徴とするデジタル撮像装置。
12. The digital imaging device according to claim 10, wherein a white color is set based on a plurality of colorimetric regions having different setting modes from each of the plurality of determination regions and the plurality of photometric regions. A digital imaging device further comprising control means for controlling balance.
【請求項13】 請求項10ないし12のいずれかに記
載のデジタル撮像装置であって、 前記判別手段および前記測光手段が、前記撮像手段によ
り取得された同一の画像に対して処理を行うことを特徴
とするデジタル撮像装置。
13. The digital imaging device according to claim 10, wherein the determination unit and the photometry unit perform processing on the same image acquired by the imaging unit. Digital imaging device characterized by the following.
【請求項14】 デジタル撮像装置を制御するプログラ
ムを記録した記録媒体であって、前記プログラムのデジ
タル撮像装置による実行は、前記デジタル撮像装置に、 被写体の画像をデジタルデータとして取得する工程と、 前記画像に設定された複数の判別用領域に基づいて前記
画像中の前記被写体の上下方向を判別する工程と、 前記上下方向に従いつつ前記複数の判別用領域とは設定
形態が異なる複数の測光用領域に基づいて測光演算を行
う工程と、を実行させることを特徴とする記録媒体。
14. A recording medium recording a program for controlling a digital imaging device, wherein the execution of the program by the digital imaging device includes: acquiring a subject image as digital data in the digital imaging device; A step of determining the vertical direction of the subject in the image based on a plurality of determination areas set in the image; and a plurality of photometric areas different in the setting form from the plurality of determination areas while following the up-down direction Performing a photometric operation on the basis of (i).
【請求項15】 デジタル撮像装置であって、 被写体の画像をデジタルデータとして取得する撮像手段
と、 前記画像に設定されたの複数の判別用領域に基づいて前
記画像中の前記被写体の上下方向を判別する判別手段
と、 前記上下方向に従いつつ前記画像に設定された複数の測
光用領域に基づいて測光演算を行う測光手段と、を備
え、 前記複数の判別領域が設定される画像と前記複数の測光
用領域が設定される画像とが同一であり、 前記画像が複数の小ブロックに区分けされており、前記
複数の判別領域および前記複数の測光用領域が小ブロッ
クを基準に設定されるとともに前記複数の判別用領域の
境界と前記複数の測光用領域の境界とが少なくとも一部
において一致し、 前記上下方向の判別および前記測光演算が前記複数の小
ブロックから導かれる値に基づいて行われることを特徴
とするデジタル撮像装置。
15. A digital imaging device, comprising: imaging means for acquiring an image of a subject as digital data; and Discriminating means for discriminating, and photometric means for performing photometric calculation based on a plurality of photometric areas set in the image while following the up-down direction, and The image in which the photometry area is set is the same, and the image is divided into a plurality of small blocks, and the plurality of determination areas and the plurality of photometry areas are set based on the small blocks, and A boundary between a plurality of discrimination areas and a boundary between the plurality of photometry areas at least partially coincide with each other, and the discrimination in the vertical direction and the photometry calculation are performed on the plurality of small blocks. A digital imaging device, which is performed based on a value derived from the digital imaging device.
【請求項16】 請求項15に記載のデジタル撮像装置
であって、 前記測光演算において、前記複数の測光用領域に基づい
て各ブロックの輝度の加重和が求められ、前記加重和を
求める際に前記上下方向により特定される前記画像の上
部の測光用領域に対応する加重係数が前記画像の下部に
対応する測光用領域の加重係数よりも大きく設定される
ことを特徴とするデジタル撮像装置。
16. The digital imaging device according to claim 15, wherein in the photometric calculation, a weighted sum of the luminance of each block is obtained based on the plurality of photometric regions, and the weighted sum is obtained. A digital imaging apparatus, wherein a weighting coefficient corresponding to a photometric area at an upper part of the image specified by the vertical direction is set to be larger than a weighting coefficient of a photometric area corresponding to a lower part of the image.
【請求項17】 デジタル撮像装置を制御するプログラ
ムを記録した記録媒体であって、前記プログラムのデジ
タル撮像装置による実行は、前記デジタル撮像装置に、 被写体の画像をデジタルデータとして取得する工程と、 前記画像に設定された複数の判定用領域に基づいて前記
画像中の前記被写体の上下方向を判別する工程と、 前記上下方向に従いつつ前記画像に設定された複数の測
光用領域に基づいて測光演算を行う工程と、を実行さ
せ、 前記複数の判定用領域の境界と前記複数の測光用領域の
境界とが、少なくとも一部において一致することを特徴
とする記録媒体。
17. A recording medium recording a program for controlling a digital imaging device, wherein the execution of the program by the digital imaging device includes: acquiring a subject image as digital data in the digital imaging device; Determining the vertical direction of the subject in the image based on a plurality of determination areas set in the image; and performing a photometric calculation based on the plurality of photometric areas set in the image while following the vertical direction. And a step of performing the step of performing, wherein a boundary between the plurality of determination regions and a boundary between the plurality of photometry regions at least partially coincide with each other.
【請求項18】 デジタル撮像装置であって、 被写体の画像をデジタルデータとして取得する撮像手段
と、 前記画像中の前記被写体の上下方向を判別する判別手段
と、 前記画像の略中央において前記上下方向に長い領域を含
む複数の測光用領域に基づいて測光演算を行う測光手段
と、を備えることを特徴とするデジタル撮像装置。
18. A digital imaging device, comprising: imaging means for acquiring an image of a subject as digital data; determining means for determining the vertical direction of the subject in the image; and the vertical direction substantially at the center of the image. A photometric unit for performing photometric calculation based on a plurality of photometric areas including a long area.
【請求項19】 デジタル撮像装置を制御するプログラ
ムを記録した記録媒体であって、前記プログラムのデジ
タル撮像装置による実行は、前記デジタル撮像装置に、 被写体の画像をデジタルデータとして取得する工程と、 前記画像中の前記被写体の上下方向を判別する工程と、 前記画像の略中央において前記上下方向に長い領域を含
む複数の測光用領域に基づいて測光演算を行う工程と、
を実行させることを特徴とする記録媒体。
19. A recording medium storing a program for controlling a digital imaging device, wherein the execution of the program by the digital imaging device includes: acquiring a subject image as digital data in the digital imaging device; Determining the vertical direction of the subject in the image, and performing a photometric operation based on a plurality of photometric areas including a vertically long area at substantially the center of the image,
Recording medium.
JP2001003786A 2001-01-11 2001-01-11 Digital image pickup device and recording medium Pending JP2002209221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001003786A JP2002209221A (en) 2001-01-11 2001-01-11 Digital image pickup device and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001003786A JP2002209221A (en) 2001-01-11 2001-01-11 Digital image pickup device and recording medium

Publications (1)

Publication Number Publication Date
JP2002209221A true JP2002209221A (en) 2002-07-26

Family

ID=18872078

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001003786A Pending JP2002209221A (en) 2001-01-11 2001-01-11 Digital image pickup device and recording medium

Country Status (1)

Country Link
JP (1) JP2002209221A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004077820A1 (en) * 2003-02-25 2004-09-10 Matsushita Electric Industrial Co. Ltd. Image pickup processing method and image pickup apparatus
JP2016225885A (en) * 2015-06-01 2016-12-28 キヤノン株式会社 Information processing apparatus, information processing apparatus control method, image processing system, and program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004077820A1 (en) * 2003-02-25 2004-09-10 Matsushita Electric Industrial Co. Ltd. Image pickup processing method and image pickup apparatus
US7329057B2 (en) 2003-02-25 2008-02-12 Matsushita Electric Industrial Co., Ltd. Image pickup processing method and image pickup apparatus
US7609951B2 (en) 2003-02-25 2009-10-27 Panasonic Corporation Image pickup processing method and image pickup apparatus
CN1701595B (en) * 2003-02-25 2010-04-28 松下电器产业株式会社 Image photographing processing method and image photographing apparatus
US7859568B2 (en) 2003-02-25 2010-12-28 Panasonic Corporation Image capturing processing method and system for performing roll correction
JP2016225885A (en) * 2015-06-01 2016-12-28 キヤノン株式会社 Information processing apparatus, information processing apparatus control method, image processing system, and program

Similar Documents

Publication Publication Date Title
US8462228B2 (en) Image processing method, apparatus and computer program product, and imaging apparatus, method and computer program product
JP4217698B2 (en) Imaging apparatus and image processing method
TWI508555B (en) Image processing apparatus and image processing method for performing image synthesis
JP4284448B2 (en) Image processing apparatus and method
US20090002518A1 (en) Image processing apparatus, method, and computer program product
JP2001211362A (en) Composition assisting frame selecting method for digital camera and digital camera
JP2008236101A (en) Imaging apparatus and imaging method
JP4628937B2 (en) Camera system
JP4487342B2 (en) Digital camera
JP4200428B2 (en) Face area extraction method and apparatus
US9036046B2 (en) Image processing apparatus and method with white balance correction
JP6741881B2 (en) Image processing device, imaging device, image processing method, and program
JP5225137B2 (en) Imaging apparatus, image processing method, and program
KR100651813B1 (en) Strobo control apparatus, and strobo control method
US7830446B2 (en) Image sensing apparatus, image sensing method, program, and recording medium providing selective image correction
US7777806B2 (en) Camera, method, and program which captures a field of an object to generate an image, and image processing program and imaging device for applying image processing to an image
JP2002290988A (en) Imaging device
JP2003309854A (en) Digital camera
JP2002209221A (en) Digital image pickup device and recording medium
JP4422353B2 (en) Electronic camera
JP2003333381A (en) Imaging device with image evaluation function
JP2003087608A (en) Electronic camera
JP4885079B2 (en) Digital camera, photographing method and photographing program
JP3918985B2 (en) Digital camera
JP2001169152A (en) Electronic camera, method for display state adjustment of electronic camera, and recording medium

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040629

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20040702

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20040726

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040823

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050705