JP2003333411A - Imaging apparatus, method therefor and imaging control computer program - Google Patents

Imaging apparatus, method therefor and imaging control computer program

Info

Publication number
JP2003333411A
JP2003333411A JP2003059972A JP2003059972A JP2003333411A JP 2003333411 A JP2003333411 A JP 2003333411A JP 2003059972 A JP2003059972 A JP 2003059972A JP 2003059972 A JP2003059972 A JP 2003059972A JP 2003333411 A JP2003333411 A JP 2003333411A
Authority
JP
Japan
Prior art keywords
focus
maximum value
focus lens
frequency component
photographing
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
JP2003059972A
Other languages
Japanese (ja)
Inventor
Hiroyuki Ogino
宏幸 荻野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2003059972A priority Critical patent/JP2003333411A/en
Publication of JP2003333411A publication Critical patent/JP2003333411A/en
Pending legal-status Critical Current

Links

Landscapes

  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)
  • Focusing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To obtain an image being focused at a position that a photographer intends even if there are at least two objects in difference distance. <P>SOLUTION: There are provided: a focus lens 101 for adjusting the focus of an object image; a motor 103 for moving the focus lens; an imaging device 112 for converting the object image whose image-forming position is adjusted by the focus lens to an electric signal; an extraction circuit 115 for extracting a signal indicating a high-frequency component, in the luminance of the object from the output signal of the imaging device; a memory 126 for storing the position of the focus lens when the signal indicating the high-frequency component extracted by the extraction circuit is set to be the maximum value; and a control circuit 119 for controlling a motor and the imaging device so that photographing is carried out for each position of the focus lens, when the signal indicating the high-frequency component is set to the maximum value. <P>COPYRIGHT: (C)2004,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、焦点調節機能を有
する電子スチルカメラなどの撮像装置、撮像方法、及び
撮像制御コンピュータプログラムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image pickup apparatus such as an electronic still camera having a focus adjustment function, an image pickup method, and an image pickup control computer program.

【0002】[0002]

【従来の技術】従来から、電子スチルカメラやビデオカ
メラなどでは、CCDなどの撮像素子から得られる輝度
信号の高域成分が最大になるレンズ位置を合焦位置とす
る方式が用いられており、撮像素子から得られる輝度信
号の高域成分(以下焦点評価値と言う)が増加する方向
にレンズを動かし、焦点評価値が最大になる位置を合焦
位置とする山登り方式や、測距範囲の全域にわたりレン
ズを駆動しながら焦点評価値を記憶していき、記憶した
値の最大値に相当するレンズ位置を合焦位置とするスキ
ャン方式が知られている。
2. Description of the Related Art Conventionally, in electronic still cameras, video cameras, etc., a method has been used in which a lens position where a high frequency component of a luminance signal obtained from an image pickup device such as a CCD becomes maximum is a focusing position. Move the lens in the direction in which the high-frequency component of the luminance signal obtained from the image sensor (hereinafter referred to as the focus evaluation value) increases, and use the hill climbing method in which the position where the focus evaluation value is the maximum is the in-focus position, A scan method is known in which the focus evaluation value is stored while driving the lens over the entire area, and the lens position corresponding to the maximum value of the stored values is set as the focus position.

【0003】これらの方式では通常、図15のように撮
影画面に対して中央部分を測距枠とし、この範囲内の被
写体に対して焦点評価値が最大になるレンズ位置を合焦
位置としている。また、図16のように測距枠を複数設
定して各々の測距枠について焦点評価値を記憶した後、
各測距枠毎の焦点評価値の最大値に相当するレンズ位置
を求め、これらのレンズ位置の中から最終的にレンズを
移動する位置を決定する方法が知られている。このよう
にして得られたレンズ位置と焦点評価値の関係は図17
のような山の形になる。
In these systems, usually, as shown in FIG. 15, the central portion is used as a distance measuring frame with respect to the photographing screen, and the lens position where the focus evaluation value is maximum for the subject within this range is the focusing position. . Further, after setting a plurality of distance measuring frames as shown in FIG. 16 and storing the focus evaluation value for each distance measuring frame,
A method is known in which a lens position corresponding to the maximum focus evaluation value for each distance measurement frame is obtained and a position where the lens is finally moved is determined from these lens positions. The relationship between the lens position and the focus evaluation value obtained in this way is shown in FIG.
It looks like a mountain.

【0004】[0004]

【発明が解決しようとする課題】図15及び図16で説
明したような測距枠の中に異なる距離の被写体がない場
合は、レンズ位置と焦点評価値との関係は図17のよう
な山の形になる。しかし、測距枠の中に異なる距離の被
写体がある場合、レンズ位置と焦点評価値との関係は図
18のようになる。つまり異なる距離にある被写体毎に
焦点評価値のピークが出るので、例えば測距枠内に2つ
の異なる距離にある被写体が存在した場合、図18のよ
うに2つの異なるレンズ位置にそれぞれピークが出てし
まう。
When there are no subjects at different distances in the distance measuring frame as described with reference to FIGS. 15 and 16, the relationship between the lens position and the focus evaluation value is as shown in FIG. Takes the form of. However, when there are subjects at different distances in the distance measurement frame, the relationship between the lens position and the focus evaluation value is as shown in FIG. That is, since the peak of the focus evaluation value appears for each subject at different distances, for example, when there are two subjects at different distances in the distance measurement frame, the peaks appear at two different lens positions as shown in FIG. Will end up.

【0005】このような場合、撮影者が本来ピントを合
わせたいのはどちらの被写体かをカメラが判断すること
はできないので、複数あるピーク位置のうち一番近い距
離に相当する位置を選んでレンズを移動することが多
い。しかしこうすると、例えば金網越しに撮影する場合
などは金網にピントが合ってしまい撮影者が本来意図す
る金網の向こうにある被写体には合焦しなくなってしま
う。たとえ一番近い位置に合焦させなくても撮影者が意
図する位置にいつでもピントを合わせるようカメラが判
断することはできない。
In such a case, since the camera cannot determine which subject the photographer originally wants to focus on, the lens is selected by selecting the position corresponding to the shortest distance among a plurality of peak positions. Often move. However, in this case, for example, when shooting through a wire net, the wire net is in focus, and the subject behind the wire net originally intended by the photographer is out of focus. Even if the camera is not focused to the closest position, the camera cannot always decide to focus on the position intended by the photographer.

【0006】従って、本発明は上述した課題に鑑みてな
されたものであり、その目的は、異なる距離に被写体が
2つ以上ある場合でも、撮影者が意図する位置にピント
を合わせた画像を得られるようにすることである。
Therefore, the present invention has been made in view of the above-mentioned problems, and an object thereof is to obtain an image in which a photographer focuses on an intended position even when there are two or more subjects at different distances. Is to be done.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に本発明は、被写体像の焦点調節を行なうフォーカスレ
ンズと、該フォーカスレンズを移動させる駆動手段と、
前記フォーカスレンズによって結像位置が調節された被
写体像を電気信号に変換する光電変換手段と、該光電変
換手段の出力信号から被写体の輝度の高周波成分を表す
信号を抽出する抽出手段と、該抽出手段で抽出された前
記高周波成分を表す信号が極大値をとるときの前記フォ
ーカスレンズの位置を記憶する記憶手段と、前記高周波
成分を表す信号が極大値をとるときの前記フォーカスレ
ンズの位置毎に撮影を行なうように前記駆動手段と前記
光電変換手段とを制御する制御手段とを有する撮像装置
とするものである。
In order to achieve the above object, the present invention provides a focus lens for adjusting the focus of a subject image, and a drive means for moving the focus lens.
Photoelectric conversion means for converting a subject image whose image formation position is adjusted by the focus lens into an electric signal, extraction means for extracting a signal representing a high-frequency component of the luminance of the subject from an output signal of the photoelectric conversion means, and the extraction Storage means for storing the position of the focus lens when the signal representing the high frequency component extracted by the means has a maximum value, and for each position of the focus lens when the signal representing the high frequency component has a maximum value The image pickup apparatus includes a control unit that controls the drive unit and the photoelectric conversion unit so as to perform photographing.

【0008】また、本発明は、被写体像の焦点調節を行
なうフォーカスレンズによって結像位置が調節された被
写体像を光電変換手段により電気信号に変換する光電変
換工程と、該光電変換工程によって得られた出力信号か
ら被写体の輝度の高周波成分を表す信号を抽出する抽出
工程と、該抽出工程において抽出された前記高周波成分
を表す信号が極大値をとるときの前記フォーカスレンズ
の位置を記憶する記憶工程と、前記高周波成分を表す信
号が極大値をとるときの前記フォーカスレンズの位置毎
に撮影を行なう撮影工程とを有する撮像方法とするもの
である。
Further, the present invention is obtained by a photoelectric conversion step of converting an object image whose image forming position is adjusted by a focus lens for adjusting the focus of the object image into an electric signal by photoelectric conversion means, and the photoelectric conversion step. A step of extracting a signal representing a high frequency component of the brightness of the subject from the output signal, and a storage step of storing the position of the focus lens when the signal representing the high frequency component extracted in the extracting step has a maximum value And an imaging step of performing imaging at each position of the focus lens when the signal representing the high frequency component has a maximum value.

【0009】また、本発明は、焦点調節の対象を特定す
るための同一の検出視野に距離の異なる複数の被写体が
存在する場合に、前記複数の被写体それぞれに対して撮
影光学系を合焦するように駆動する焦点調節手段と、前
記焦点調節手段により前記複数の被写体に対して合焦す
るように駆動された前記撮影光学系のそれぞれの位置で
撮影を行う撮影手段とを有する撮像装置とするものであ
る。
Further, according to the present invention, when there are a plurality of subjects having different distances in the same detection visual field for specifying the target of focus adjustment, the photographing optical system is focused on each of the plurality of subjects. And an image pickup unit that performs image pickup at each position of the image pickup optical system that is driven by the focus adjustment unit to focus on the plurality of subjects. It is a thing.

【0010】また、本発明は、焦点調節の対象を特定す
るための同一の検出視野に距離の異なる複数の被写体が
存在する場合に、前記複数の被写体それぞれに対して撮
影光学系を合焦するように駆動すると共に、前記複数の
被写体に対して合焦するように駆動された前記撮影光学
系のそれぞれの位置で撮影を行う撮像方法とするもので
ある。
Further, according to the present invention, when there are a plurality of subjects with different distances in the same detection visual field for specifying the target of focus adjustment, the photographing optical system is focused on each of the plurality of subjects. The image pickup method is to perform image pickup at each position of the image pickup optical system that is driven so as to focus on the plurality of subjects.

【0011】また、本発明は、焦点調節の対象を特定す
るための同一の検出視野に距離の異なる複数の被写体が
存在する場合に、前記複数の被写体それぞれに対して撮
影光学系を合焦するように駆動すると共に、前記複数の
被写体に対して合焦するように駆動された前記撮影光学
系のそれぞれの位置で撮影を行う撮像制御コンピュータ
プログラムとするものである。
Further, according to the present invention, when there are a plurality of subjects with different distances in the same detection visual field for specifying the target of focus adjustment, the photographing optical system is focused on each of the plurality of subjects. And an image capturing control computer program for performing image capturing at each position of the image capturing optical system that is driven so as to focus on the plurality of subjects.

【0012】[0012]

【発明の実施の形態】以下、本発明の好適な実施形態に
ついて、添付図面を参照して説明する。
Preferred embodiments of the present invention will be described below with reference to the accompanying drawings.

【0013】(第1の実施形態)図1は本発明を適用し
た電子カメラの第1の実施形態を示すブロック図であ
る。
(First Embodiment) FIG. 1 is a block diagram showing a first embodiment of an electronic camera to which the present invention is applied.

【0014】図1において、101は後述する撮像素子
上に焦点を合わせるためのフォーカスレンズ、102は
フォーカスレンズ101の初期位置を検出するフォトイ
ンタラプタ、103はフォーカスレンズ101を駆動す
るモータ、104はモータ103に駆動信号を入力して
フォーカスレンズ101を動かすフォーカスレンズ駆動
回路、105は絞り及びシャッタなどの光量制御部材、
106は絞り・シャッタ105を駆動するモータ、10
7はモータ106に駆動信号を入力して絞り・シャッタ
105を動かす絞り・シャッタ駆動回路、108は撮影
レンズの焦点距離を変更するズームレンズ、109はズ
ームレンズ108の初期位置を検出するフォトインタラ
プタ、110はズームレンズ108を駆動するモータ、
111はモータ110に駆動信号を入力してズームレン
ズ108を動かすズームレンズ駆動回路である。
In FIG. 1, 101 is a focus lens for focusing on an image pickup element, which will be described later, 102 is a photo interrupter for detecting the initial position of the focus lens 101, 103 is a motor for driving the focus lens 101, and 104 is a motor. A focus lens drive circuit that inputs a drive signal to 103 to move the focus lens 101, 105 is a light amount control member such as a diaphragm and a shutter,
106 is a motor for driving the diaphragm / shutter 105, 10
Reference numeral 7 denotes an aperture / shutter drive circuit for inputting a drive signal to the motor 106 to move the aperture / shutter 105, 108 a zoom lens for changing the focal length of the photographing lens, 109 a photo interrupter for detecting the initial position of the zoom lens 108, 110 is a motor for driving the zoom lens 108,
Reference numeral 111 denotes a zoom lens drive circuit that inputs a drive signal to the motor 110 to move the zoom lens 108.

【0015】112は被写体からの反射光を電気信号に
変換する撮像素子、113は撮像素子112から出力さ
れるアナログ信号をデジタル信号に変換するA/D変換
器、114は撮像素子112やA/D変換器113を動
作させるために必要なタイミング信号を発生するタイミ
ング信号発生回路(以降TGとする)、115はA/D
変換器113から入力された画像データに所定の処理を
施す画像処理プロセッサ、116は画像処理プロセッサ
115で処理された画像データを一時的に記憶するバッ
ファメモリ、117は後述する記録媒体との接続のため
のインターフェース、118はメモリカードやハードデ
ィスクなどの記録媒体、119は撮影シーケンスなどシ
ステムを制御するためのマイクロコントローラ(以下C
PUとする)である。
Reference numeral 112 is an image pickup device for converting the reflected light from the subject into an electric signal, 113 is an A / D converter for converting an analog signal output from the image pickup device 112 into a digital signal, and 114 is the image pickup device 112 or A / D. A timing signal generating circuit (hereinafter referred to as TG) for generating a timing signal necessary for operating the D converter 113, 115 is an A / D
An image processor for performing a predetermined process on the image data input from the converter 113, a buffer memory 116 for temporarily storing the image data processed by the image processor 115, and 117 for connection with a recording medium described later. Interface 118, a recording medium such as a memory card or a hard disk, and 119 a micro controller (hereinafter C) for controlling the system such as a photographing sequence.
PU).

【0016】120はズーム動作の開始および停止を指
示する信号をCPUに入力するズームSW、121はA
FやAE等の撮影準備を指示するためのスイッチ(以下
SW1とする)、122は撮影準備指示スイッチ121
の操作後、本露光及び記録動作等の撮影処理を指示する
ための撮影処理指示スイッチ(以下SW2とする)、1
23はシステムに電源を投入するためのメインスイッ
チ、124はカメラの動作モードを設定するモードスイ
ッチ、125はCPU119で実行されるプログラムが
記憶されているプログラムメモリ、126はCPU11
9がプログラムャc鰍P25に記憶されているプログラ
ムに従って処理を行う際に必要な各種データを書き込み
及び読み出しするワークメモリ、127はカメラの動作
状態や各種警告表示を行う操作表示部、128は画像を
表示する電子ビューファインダ(以下EVFとする)、
129は各種設定を行う設定スイッチである。
Reference numeral 120 is a zoom SW for inputting signals to the CPU to start and stop the zoom operation, and 121 is an A
A switch (hereinafter referred to as SW1) for instructing the preparation for shooting such as F and AE, and 122 is a shooting preparation instruction switch 121
After the operation, the shooting processing instruction switch (hereinafter referred to as SW2) for instructing shooting processing such as main exposure and recording operation, 1
Reference numeral 23 is a main switch for turning on the power to the system, 124 is a mode switch for setting the operation mode of the camera, 125 is a program memory in which programs executed by the CPU 119 are stored, and 126 is the CPU 11
9 is a work memory for writing and reading various data necessary for performing processing according to the program stored in the programer cP25, 127 is an operation display unit for displaying the operating state of the camera and various warnings, and 128 is an image Electronic viewfinder to display (hereinafter referred to as EVF),
Reference numeral 129 is a setting switch for making various settings.

【0017】次に図2のフローチャートを参照して本実
施形態の電子カメラの動作について説明する。
Next, the operation of the electronic camera of this embodiment will be described with reference to the flowchart of FIG.

【0018】まず、ステップS201では撮影準備を指
示するSW1の状態を判定し、ONならばステップS2
05へ、そうでなければステップS202へ進む。ステ
ップS202では絞り105やシャッタースピードを制
御してEVF128に表示される画像の明るさが適正に
なるようAE動作を行う。ステップS203では光源の
色温度によらずEVF128に表示される画像が適切な
色バランスになるようオートホワイトバランス(AW
B)動作を行う。ステップS204では撮像素子112
から読み出した画像信号に所定の処理を施してEVF1
28へ表示する。ステップS205では後述する手順に
従って撮影処理を行う。
First, in step S201, the state of SW1 for instructing the preparation for photographing is judged, and if it is ON, step S2
05, otherwise, to step S202. In step S202, the AE operation is performed so that the brightness of the image displayed on the EVF 128 becomes appropriate by controlling the aperture 105 and the shutter speed. In step S203, automatic white balance (AW) is performed so that the image displayed on the EVF 128 has an appropriate color balance regardless of the color temperature of the light source.
B) Perform the operation. In step S204, the image sensor 112
The EVF1 is processed by subjecting the image signal read from the
28 is displayed. In step S205, shooting processing is performed according to the procedure described later.

【0019】図3は図2におけるステップS205の撮
影処理を説明するフローチャートである。
FIG. 3 is a flow chart for explaining the photographing process of step S205 in FIG.

【0020】ステップS301では本露光用AE動作を
行う。ステップS302では後述する手順に従って本露
光用AF動作を行う。ステップS303では後述する手
順にしたがって本露光及び記録を行う。
In step S301, the main exposure AE operation is performed. In step S302, the main exposure AF operation is performed according to the procedure described later. In step S303, main exposure and recording are performed according to the procedure described later.

【0021】図4は図3のステップS302における本
露光用のAF動作を説明するフローチャートである。
FIG. 4 is a flow chart for explaining the AF operation for main exposure in step S302 of FIG.

【0022】まずステップS401ではデータ取得イン
デックスを0としてワークメモリ126に記憶する。こ
のデータ取得インデックスは後述する焦点評価値及びフ
ォーカスレンズ101の位置をワークメモリ126に記
憶する際、これらの取得及び記憶順序と取得及び記憶デ
ータ数の総数を示すものとして使用する。
First, in step S401, the data acquisition index is set to 0 and stored in the work memory 126. This data acquisition index is used to indicate the order of acquisition and storage and the total number of acquired and stored data when the focus evaluation value and the position of the focus lens 101, which will be described later, are stored in the work memory 126.

【0023】ステップS402では増加フラグをFAL
SEとしてワークメモリ126に記憶する。この増加フ
ラグは取得した焦点評価値が、1つ前に取得した焦点評
価値に対して増加しているか否かを示すものである。
In step S402, the increase flag is set to FAL.
It is stored in the work memory 126 as SE. This increase flag indicates whether or not the acquired focus evaluation value has increased with respect to the focus evaluation value acquired immediately before.

【0024】ステップS403では残り撮影枚数を0と
してワークメモリ126に記憶する。この残り撮影枚数
は後述する本露光処理における撮影枚数を示すものであ
る。
In step S403, the number of remaining images is set to 0 and stored in the work memory 126. The remaining number of shots indicates the number of shots in the main exposure process described later.

【0025】ステップS404ではフォーカスレンズ1
01をスキャン開始位置へ移動する。このスキャン開始
位置は例えば合焦可能領域の無限端とする。
In step S404, the focus lens 1
01 is moved to the scan start position. The scan start position is, for example, an infinite end of the focusable area.

【0026】ステップS405では撮像素子112から
読み出されたアナログ映像信号をA/D変換器113を
使ってデジタル信号に変換し、その出力を画像処理プロ
セッサ115において輝度信号の高周波成分を抽出し、
これを焦点評価値としてワークメモリ126に記憶す
る。
In step S405, the analog video signal read from the image sensor 112 is converted into a digital signal by using the A / D converter 113, and the output thereof is extracted by the image processor 115 as a high frequency component of the luminance signal.
This is stored in the work memory 126 as a focus evaluation value.

【0027】ステップS406ではフォーカスレンズ1
01の現在位置を取得しワークメモリ126に記憶す
る。フォーカスレンズ駆動モータ103にステッピング
モータを使用する場合は、フォトインタラプタ102に
よって検出される初期位置からの相対駆動パルス数をも
ってフォーカスレンズ101の位置とする。また図示し
ないロータリーエンコーダ等を用いて絶対位置を測定し
ても良い。
In step S406, the focus lens 1
The current position of 01 is acquired and stored in the work memory 126. When a stepping motor is used as the focus lens drive motor 103, the position of the focus lens 101 is determined by the number of relative drive pulses from the initial position detected by the photo interrupter 102. Also, the absolute position may be measured using a rotary encoder or the like not shown.

【0028】ステップS407ではデータ取得インデッ
クスに1を加えワークメモリ126に記憶する。
In step S407, 1 is added to the data acquisition index and stored in the work memory 126.

【0029】ステップS408ではフォーカスレンズ1
01の現在位置がスキャン終了位置と等しいか調べ、等
しければステップS410へ、そうでなければステップ
S409へ進む。このスキャン終了位置は例えば合焦可
能領域の至近端とする。
In step S408, the focus lens 1
It is checked whether the current position of 01 is equal to the scan end position. If they are equal, the process proceeds to step S410, and if not, the process proceeds to step S409. The scan end position is, for example, the closest end of the focusable area.

【0030】ステップS409ではフォーカスレンズ1
01をスキャン終了方向へ向かって所定量移動する。
In step S409, the focus lens 1
01 is moved by a predetermined amount in the scan end direction.

【0031】ステップS410ではデータ比較インデッ
クスnを0としてワークメモリ126に記憶する。この
データ比較インデックスnは、ステップS405で取得
しワークメモリ126に記憶した焦点評価値の大小関係
を比較する際に、取得した焦点評価値の順番を指示する
のに使用する。
In step S410, the data comparison index n is set to 0 and stored in the work memory 126. This data comparison index n is used to indicate the order of the acquired focus evaluation values when comparing the magnitude relation of the focus evaluation values acquired in step S405 and stored in the work memory 126.

【0032】ステップS411ではn番目の焦点評価値
よりもn+1番目の焦点評価値の方が大きいかどうか調
べる。つまりある焦点評価値と1つ後に取得した焦点評
価値との大小関係を比較する。n番目の焦点評価値より
もn+1番目の焦点評価値の方が大きければステップS
412へ、そうでなければステップS415へ進む。
In step S411, it is checked whether the n + 1th focus evaluation value is larger than the nth focus evaluation value. That is, the magnitude relation between a certain focus evaluation value and the focus evaluation value acquired one after is compared. If the n + 1th focus evaluation value is larger than the nth focus evaluation value, step S
412, otherwise proceeds to step S415.

【0033】ステップS412では増加フラグをTRU
Eにする。ステップS413ではデータ比較インデック
スnに1を加える。ステップS414ではデータ比較イ
ンデックスnがデータ取得インデックス−1に等しいか
どうか調べ、等しければステップS419へ、そうでな
ければステップS411へ進む。
In step S412, the increase flag is set to TRU.
Set to E. In step S413, 1 is added to the data comparison index n. In step S414, it is checked whether the data comparison index n is equal to the data acquisition index-1. If they are equal, the process proceeds to step S419, and if not, the process proceeds to step S411.

【0034】ステップS415では増加フラグがTRU
Eかどうか調べ、TRUEならステップS416へ、そ
うでなければステップS418へ進む。
In step S415, the increase flag is set to TRU.
Whether it is E or not is determined. If TRUE, the process proceeds to step S416, and if not, the process proceeds to step S418.

【0035】ステップS416では現在のデータ比較イ
ンデックスnに対応するレンズ位置を極大値の位置とし
て記憶する。つまり、n番目にワークメモリ126に記
憶したフォーカスレンズ101の位置を極大値の位置と
してワークメモリ126に記憶する。ステップS417
では残り撮影枚数に1を加える。ステップS418では
増加フラグをFALSEにしてステップS413に進
む。
In step S416, the lens position corresponding to the current data comparison index n is stored as the maximum value position. That is, the position of the focus lens 101 stored in the work memory 126 at the n-th position is stored in the work memory 126 as the maximum value position. Step S417
Then add 1 to the remaining number of shots. In step S418, the increase flag is set to FALSE and the process proceeds to step S413.

【0036】ステップS419ではステップS416で
記憶した、焦点評価値が極大値を示す第1の位置にフォ
ーカスレンズ101を移動する。この第1の位置とはス
テップS416で記憶したフォーカスレンズ101の位
置のうち最も無限端に近い位置とする。
In step S419, the focus lens 101 is moved to the first position where the focus evaluation value stored in step S416 shows the maximum value. The first position is the position closest to the infinite end among the positions of the focus lens 101 stored in step S416.

【0037】図5は図3のステップS303における本
露光処理を説明するフローチャートである。
FIG. 5 is a flow chart for explaining the main exposure processing in step S303 of FIG.

【0038】まずステップS501では撮像素子112
への露光を行う。ステップS502では撮像素子112
に蓄積されたデータを読み出す。ステップS503では
A/D変換器113を使って撮像素子112から読み出
したアナログ信号をデジタル信号に変換する。ステップ
S504では画像処理プロセッサ115を使ってA/D
変換器113から出力されるデジタル信号に各種画像処
理を施す。ステップS505ではステップS504で処
理した画像をJPEGなどのフォーマットにしたがって
圧縮する。ステップS506ではステップS505で圧
縮したデータを記録媒体インターフェース117を介し
て電子カメラ本体に装着されたメモリカードなどの記録
媒体118へ記録する。
First, in step S501, the image pickup device 112
Exposure to. In step S502, the image sensor 112
Read the data stored in. In step S503, the analog signal read from the image sensor 112 is converted into a digital signal using the A / D converter 113. In step S504, the image processor 115 is used to perform A / D.
Various types of image processing are performed on the digital signal output from the converter 113. In step S505, the image processed in step S504 is compressed according to a format such as JPEG. In step S506, the data compressed in step S505 is recorded on the recording medium 118 such as a memory card attached to the electronic camera body via the recording medium interface 117.

【0039】ステップS507では残り撮影枚数から1
を引く。この残り撮影枚数は図4のフローチャートで説
明したものである。ステップS508では残り撮影枚数
が0かどうか調べ、0ならば処理を終え、0でなければ
ステップS509へ進む。ステップS509では次の極
大値位置へフォーカスレンズ101を移動しステップS
501へ進む。この極大値位置は図4のステップS41
6においてワークメモリ126に記憶した、焦点評価値
が極大値を示すフォーカスレンズ101の位置である。
At step S507, 1 is obtained from the remaining number of shots.
pull. The remaining number of shots is as described in the flowchart of FIG. In step S508, it is checked whether or not the number of remaining shots is 0. If it is 0, the process is ended, and if it is not 0, the process proceeds to step S509. In step S509, the focus lens 101 is moved to the next maximum value position,
Proceed to 501. This maximum value position is determined in step S41 of FIG.
6 is the position of the focus lens 101 where the focus evaluation value stored in the work memory 126 in 6 shows the maximum value.

【0040】前述の図4、図5を使って説明したように
構成すると、ステップS404からステップS409で
説明したようにフォーカスレンズ101を合焦可能領域
の無限端から至近端まで所定量づつ移動して焦点評価値
を取得し、これを繰り返す。次にステップS411から
ステップS418で説明したように、ある時点で取得し
た焦点評価値とその次に取得した焦点評価値とを順次比
較し、その変化が増加から減少に変化した時、その位置
での焦点評価値は極大値を示しているとみなし、この時
のフォーカスレンズ101の位置を記憶する。このよう
にして焦点評価値が極大値を示すフォーカスレンズ10
1の位置をワークメモリ126に記憶すると共に、その
個数を残り撮影枚数としてワークメモリ126に記憶す
る。
When configured as described above with reference to FIGS. 4 and 5, the focus lens 101 is moved by a predetermined amount from the infinity end to the closest end of the focusable area as described in steps S404 to S409. Then, the focus evaluation value is obtained and this is repeated. Next, as described in steps S411 to S418, the focus evaluation value acquired at a certain time point and the focus evaluation value acquired next time are sequentially compared, and when the change changes from increase to decrease, at that position It is considered that the focus evaluation value of is the maximum value, and the position of the focus lens 101 at this time is stored. In this way, the focus lens 10 having the maximum focus evaluation value
The position 1 is stored in the work memory 126, and the number thereof is stored in the work memory 126 as the number of remaining shots.

【0041】フォーカスレンズ101の位置と取得した
焦点評価値との関係が図6のようになっている場合、前
述の説明のようにすると2つの極大値位置を抽出するこ
とになる。つまり、n番目に取得した焦点評価値とn+
1番目に取得した焦点評価値との大小を比較し、増加か
ら減少に変化するところは図6ではaとb及びcとdの
間であるので極大値はa及びcとなり、これらの焦点評
価値を取得したフォーカスレンズ101の位置をL1、
L2とすると、これらが極大値の位置となる。これらを
極大値位置1、極大値位置2とする。
When the relationship between the position of the focus lens 101 and the acquired focus evaluation value is as shown in FIG. 6, two maximum value positions are extracted by the above-mentioned explanation. In other words, the focus evaluation value acquired at the nth position and n +
The size of the focus evaluation value obtained first is compared, and the point where the change from increase to decrease is between a and b and c and d in FIG. 6, so the maximum values are a and c. The position of the focus lens 101 that has acquired the value is L1,
If L2 is set, these are the positions of maximum values. These are designated as the maximum value position 1 and the maximum value position 2.

【0042】その後、まずはフォーカスレンズ101を
極大値位置1、すなわちL1に移動し本露光処理を行
う。次にフォーカスレンズ101を極大値位置2、すな
わちL2に移動し本露光処理を行う。
After that, first, the focus lens 101 is moved to the maximum value position 1, that is, L1, and the main exposure processing is performed. Next, the focus lens 101 is moved to the maximum value position 2, that is, L2, and the main exposure processing is performed.

【0043】図6のような焦点評価値の曲線が得られた
場合、測距枠内に2つの異なる距離に位置する被写体が
存在すると考えられる。この場合撮影者が2つの被写体
の内、遠近どちらの被写体にピントを合わせたいのかを
カメラが判断することはできない。そこで前述の説明の
ように焦点評価値が極大値を示す位置でそれぞれ撮影を
行えば、そのどちらか一方が撮影者の意図する画像とな
る。撮影者は得られた2枚の画像から所望の画像を選択
すればよい。
When the curve of focus evaluation values as shown in FIG. 6 is obtained, it is considered that there are two objects located at different distances within the distance measuring frame. In this case, the camera cannot determine which of the two objects the photographer wants to focus on, far or near. Therefore, as described above, if images are taken at the positions where the focus evaluation value shows the maximum value, one of them becomes the image intended by the photographer. The photographer may select a desired image from the obtained two images.

【0044】図6の説明では極大値が2つの場合を示し
たが、この数が増えても同様である。
In the description of FIG. 6, the case where there are two maximum values is shown, but the same applies even if this number is increased.

【0045】このようにして遠い距離の被写体と近い距
離の被写体が測距枠内に混在している場合でも、撮影者
が撮りたい被写体に確実に合焦した画像が得られる。
In this way, even when the subject at a long distance and the subject at a short distance are mixed in the distance measuring frame, an image in which the photographer surely focuses on the subject to be captured can be obtained.

【0046】(第2の実施形態)前述の説明では、焦点
評価値が極大値を示すフォーカスレンズ101の位置毎
に撮影を行うよう構成したが、極大値の数が多い場合は
撮影枚数が多くなってしまう。このような場合の処理に
ついて以下に説明する。
(Second Embodiment) In the above description, the photographing is performed at each position of the focus lens 101 where the focus evaluation value shows the maximum value. However, when the number of maximum values is large, the number of shots is large. turn into. The processing in such a case will be described below.

【0047】図7は第1の実施形態において説明した、
図2を置き換えたものである。
FIG. 7 has been described in the first embodiment.
It is a replacement of FIG.

【0048】まずステップS701では撮影準備を指示
するSW1の状態を判定し、ONならばステップS70
2へ、そうでなければステップS703へ進む。ステッ
プS702では撮影処理を行う。ステップS703では
絞り105やシャッタースピードを制御してEVF12
8に表示される画像の明るさが適正になるようAE動作
を行う。ステップS704では光源の色温度によらずE
VF128に表示される画像が適切な色バランスになる
ようオートホワイトバランス(AWB)動作を行う。ス
テップS705では撮像素子112から読み出した画像
信号に所定の処理を施してEVF128へ表示する。
First, in step S701, the state of SW1 instructing the preparation for photographing is judged, and if ON, step S70.
2, otherwise proceeds to step S703. In step S702, shooting processing is performed. In step S703, the EVF 12 is controlled by controlling the aperture 105 and shutter speed.
The AE operation is performed so that the brightness of the image displayed in 8 is appropriate. In step S704, E is set regardless of the color temperature of the light source.
An auto white balance (AWB) operation is performed so that the image displayed on the VF 128 has an appropriate color balance. In step S705, the image signal read from the image sensor 112 is subjected to predetermined processing and displayed on the EVF 128.

【0049】ステップS706ではモードスイッチ12
4の状態を判定し、撮影枚数設定モードになっていれば
ステップS707へ、そうでなければステップS708
へ進む。ステップS707では設定スイッチ129の操
作により撮影枚数を設定する。
In step S706, the mode switch 12
The state of No. 4 is determined, and if it is in the shooting number setting mode, the process proceeds to step S707, and if not, the step S708.
Go to. In step S707, the number of shots is set by operating the setting switch 129.

【0050】ステップS708ではモードスイッチ12
4の状態を判定し、遠/近優先設定モードになっていれ
ばステップS709へ、そうでなければステップS70
1へ進む。ステップS709では設定スイッチ129の
操作状態を判定し遠側優先に設定されればステップS7
10へ、そうでなければステップS711へ進む。ステ
ップS710では撮影モードを遠側優先に設定する。ス
テップS711では撮影モードを近側優先に設定する。
In step S708, the mode switch 12
The state of No. 4 is determined, and if it is in the far / near priority setting mode, the process proceeds to step S709, and if not, the step S70.
Go to 1. In step S709, the operation state of the setting switch 129 is determined, and if priority is given to the far side, step S7 is performed.
10, otherwise proceeds to step S711. In step S710, the shooting mode is set to the far side priority. In step S711, the shooting mode is set to near side priority.

【0051】図7のステップS702における撮影処理
の詳細は第1の実施形態の図3を使って説明したものと
同様である。
Details of the photographing process in step S702 of FIG. 7 are the same as those described with reference to FIG. 3 of the first embodiment.

【0052】図8A、図8Bは第1の実施形態において
説明した、図3のステップS302における本露光用A
F処理を説明する図4を置き換えたものである。
8A and 8B are the main exposure A in step S302 of FIG. 3 described in the first embodiment.
It is a replacement of FIG. 4 for explaining the F process.

【0053】まずステップS801ではデータ取得イン
デックスを0としてワークメモリ126に記憶する。こ
のデータ取得インデックスは第1の実施形態の図4で使
用したものと同じである。
First, in step S801, the data acquisition index is set to 0 and stored in the work memory 126. This data acquisition index is the same as that used in FIG. 4 of the first embodiment.

【0054】ステップS802では増加フラグをFAL
SEとしてワークメモリ126に記憶する。この増加フ
ラグは第1の実施形態の図4で使用したものと同じであ
る。
In step S802, the increase flag is set to FAL.
It is stored in the work memory 126 as SE. This increase flag is the same as that used in FIG. 4 of the first embodiment.

【0055】ステップS803では残り撮影枚数を0と
してワークメモリ126に記憶する。この残り撮影枚数
は第1の実施形態の図4で使用したものと同じである。
In step S803, the number of remaining shots is set to 0 and stored in the work memory 126. The remaining number of shots is the same as that used in FIG. 4 of the first embodiment.

【0056】ステップS804ではフォーカスレンズ1
01をスキャン開始位置へ移動する。このスキャン開始
位置は例えば合焦可能領域の無限端とする。
In step S804, the focus lens 1
01 is moved to the scan start position. The scan start position is, for example, an infinite end of the focusable area.

【0057】ステップS805では撮像素子112から
読み出されたアナログ映像信号をA/D変換器113を
使ってデジタル信号に変換し、その出力を画像処理プロ
セッサ115において輝度信号の高周波成分を抽出し、
これを焦点評価値としてワークメモリ126に記憶す
る。
In step S805, the analog video signal read from the image sensor 112 is converted into a digital signal by using the A / D converter 113, and the output thereof is extracted by the image processor 115 as a high frequency component of the luminance signal.
This is stored in the work memory 126 as a focus evaluation value.

【0058】ステップS806ではフォーカスレンズ1
01の現在位置を取得しワークメモリ126に記憶す
る。ステップS807ではデータ取得インデックスに1
を加えワークメモリ126に記憶する。ステップS80
8ではフォーカスレンズ101の現在位置がスキャン終
了位置と等しいか調べ、等しければステップS810
へ、そうでなければステップS809へ進む。このスキ
ャン終了位置は例えば合焦可能領域の至近端とする。ス
テップS809ではフォーカスレンズ101をスキャン
終了方向へ向かって所定量移動する。
In step S806, the focus lens 1
The current position of 01 is acquired and stored in the work memory 126. In step S807, 1 is added to the data acquisition index.
Are stored in the work memory 126. Step S80
In step 8, it is checked whether the current position of the focus lens 101 is equal to the scan end position, and if they are equal, step S810.
Otherwise, to step S809. The scan end position is, for example, the closest end of the focusable area. In step S809, the focus lens 101 is moved by a predetermined amount in the scan end direction.

【0059】ステップS810ではデータ比較インデッ
クスnを0としてワークメモリ126に記憶する。この
データ比較インデックスnは、第1の実施形態の図4で
使用したものと同じである。
In step S810, the data comparison index n is set to 0 and stored in the work memory 126. This data comparison index n is the same as that used in FIG. 4 of the first embodiment.

【0060】ステップS811ではn番目の焦点評価値
よりもn+1番目の焦点評価値の方が大きいかどうか調
べる。つまりある焦点評価値と1つ後に取得した焦点評
価値との大小関係を比較する。n番目の焦点評価値より
もn+1番目の焦点評価値の方が大きければステップS
812へ、そうでなければステップS815へ進む。
In step S811, it is checked whether the n + 1th focus evaluation value is larger than the nth focus evaluation value. That is, the magnitude relation between a certain focus evaluation value and the focus evaluation value acquired one after is compared. If the n + 1th focus evaluation value is larger than the nth focus evaluation value, step S
812, otherwise proceeds to step S815.

【0061】ステップS812では増加フラグをTRU
Eにする。ステップS813ではデータ比較インデック
スnに1を加える。ステップS814ではデータ比較イ
ンデックスnがデータ取得インデックス−1に等しいか
どうか調べ、等しければステップS819へ、そうでな
ければステップS811へ進む。
In step S812, the increase flag is set to TRU.
Set to E. In step S813, 1 is added to the data comparison index n. In step S814, it is checked whether the data comparison index n is equal to the data acquisition index-1. If they are equal, the process proceeds to step S819, and if not, the process proceeds to step S811.

【0062】ステップS815では増加フラグがTRU
Eかどうか調べ、TRUEならステップS816へ、そ
うでなければステップS818へ進む。
In step S815, the increase flag is set to TRU.
Whether it is E or not is determined. If TRUE, the process proceeds to step S816, and if not, the process proceeds to step S818.

【0063】ステップS816では現在のデータ比較イ
ンデックスnに対応するレンズ位置を極大値の位置とし
て記憶する。つまり、n番目にワークメモリ126に記
憶したフォーカスレンズ101の位置を極大値の位置と
してワークメモリ126に記憶する。ステップS817
では残り撮影枚数に1を加える。ステップS818では
増加フラグをFALSEにしてステップS813に進
む。
In step S816, the lens position corresponding to the current data comparison index n is stored as the maximum value position. That is, the position of the focus lens 101 stored in the work memory 126 at the n-th position is stored in the work memory 126 as the maximum value position. Step S817
Then add 1 to the remaining number of shots. In step S818, the increase flag is set to FALSE and the process proceeds to step S813.

【0064】ステップS819では現在の撮影モードが
遠側優先になっているかどうか調べ、遠側優先ならばス
テップS820へ、そうでなければステップS821へ
進む。ここで現在の撮影モードとは図7のステップS7
10又はステップS711で設定したものである。
In step S819, it is checked whether or not the current photographing mode is the far side priority. If the far side priority is given, the process proceeds to step S820, and if not, the process proceeds to step S821. Here, the current shooting mode is step S7 in FIG.
10 or is set in step S711.

【0065】ステップS820ではステップS816で
ワークメモリ126に記憶した極大値位置を遠側から並
べる。つまり極大値位置のうちで最も無限遠に近い位置
が第1の位置になる。ステップS821ではステップS
816でワークメモリ126に記憶した極大値位置を近
側から並べる。つまり極大値位置のうちで最も至近に近
い位置が第1の位置になる。
In step S820, the maximum value positions stored in the work memory 126 in step S816 are arranged from the far side. That is, the position closest to infinity among the maximum values is the first position. In step S821, step S
At 816, the maximum value positions stored in the work memory 126 are arranged from the near side. That is, the position closest to the maximum position is the first position.

【0066】ステップS822ではステップS817で
設定した残り撮影枚数と図7のステップS707で設定
した撮影枚数とを比較し、残り撮影枚数の方が大きけれ
ばステップS823へ進み、そうでなければステップS
824へ進む。
In step S822, the number of remaining shots set in step S817 is compared with the number of shots set in step S707 of FIG. 7. If the remaining number of shots is larger, the process proceeds to step S823, and if not, step S823.
Proceed to 824.

【0067】ステップS823では図7のステップS7
07で設定した撮影枚数を残り撮影枚数として新たに設
定し直す。ステップS824ではステップS820又は
ステップS821で並べた極大値位置の第1の位置にフ
ォーカスレンズ101を移動する。
In step S823, step S7 of FIG.
The number of shots set in 07 is newly set as the remaining number of shots. In step S824, the focus lens 101 is moved to the first position of the maximum value positions arranged in step S820 or step S821.

【0068】前述の図7、図8A、図8Bを使って説明
したように構成すると、以下のような動作を行う。例と
して図7のステップS707において撮影枚数を2と設
定し、ステップS710において撮影モードを遠側優先
と設定した場合について説明する。
When configured as described above with reference to FIGS. 7, 8A and 8B, the following operation is performed. As an example, a case where the number of shots is set to 2 in step S707 of FIG. 7 and the shooting mode is set to far side priority in step S710 will be described.

【0069】まず図8A、図8Bのフローチャートに従
って本露光用AF処理を行う。この時得られた極大値が
図9に示すように3つであった場合、この3つの極大値
位置が図8BのステップS820において遠側、つまり
無限遠に近い方から順番に並べられる。本露光処理は第
1の実施形態の図5と同様にして行うが、このときの撮
影の順番は図8BのステップS820において並べられ
た順番に行う。
First, AF processing for main exposure is performed according to the flowcharts of FIGS. 8A and 8B. If the maximum values obtained at this time are three as shown in FIG. 9, these three maximum value positions are arranged in order from the far side, that is, the one close to infinity in step S820 of FIG. 8B. The main exposure processing is performed in the same manner as in FIG. 5 of the first embodiment, but the shooting order at this time is the order arranged in step S820 of FIG. 8B.

【0070】次に極大値が3つであるので図8Bのステ
ップS817において残り撮影枚数は3と設定される
が、図7のステップS707において設定された撮影枚
数が2であるので図8BのステップS822において比
較の結果、残り撮影枚数3の方が大きいので図8Bのス
テップS823において図7のステップS707で設定
された撮影枚数2が新たに残り撮影枚数として設定され
る。従って残り撮影枚数は2となる。
Next, since there are three maximum values, the number of remaining shots is set to 3 in step S817 of FIG. 8B. However, since the number of shots set in step S707 of FIG. 7 is 2, the step of FIG. As a result of the comparison in S822, the remaining number of captured images 3 is larger, so in step S823 of FIG. 8B, the number of captured images 2 set in step S707 of FIG. 7 is newly set as the remaining number of captured images. Therefore, the number of remaining shots is 2.

【0071】その後図8BのステップS824において
第1の極大値位置にフォーカスレンズ101を移動する
が、この時の第1の極大値位置は図8BのステップS8
20で並べた極大値位置のうち最も無限遠に近い位置で
ある。図9の極大値位置1がその位置である。まずこの
位置で1枚目の撮影を行う。次にフォーカスレンズ10
1を図9の極大値位置2へ移動し撮影を行う。第1の実
施形態の図5のステップS507において、1枚撮影す
るたびに残り撮影枚数を−1するので、この時点での残
り撮影枚数は0となっている。つまり今回の撮影動作で
はこれ以降の撮影は行われず、図9の極大値位置3では
撮影しない。
Thereafter, in step S824 of FIG. 8B, the focus lens 101 is moved to the first maximum value position, and the first maximum value position at this time is the step S8 of FIG. 8B.
It is the position closest to infinity among the local maximum values arranged in 20. The maximum value position 1 in FIG. 9 is that position. First, the first image is taken at this position. Next, the focus lens 10
1 is moved to the maximum value position 2 in FIG. 9 and an image is taken. In step S507 of FIG. 5 of the first embodiment, the number of remaining shots is reduced by -1 each time one shot is taken, so the remaining number of shots is 0 at this point. That is, in the current shooting operation, no further shooting is performed and shooting is not performed at the maximum value position 3 in FIG.

【0072】一方、図7のステップS711において撮
影モードが近側優先と設定され、他の条件は前述の説明
と同様の場合は、この第1の極大値位置が最も至近に近
い位置、つまり図10の極大値位置1となる。この位置
で1枚目の撮影を行い、図10の極大値位置2で2枚目
の撮影を行う。撮影枚数が2であるので図10の極大値
位置3では撮影を行わない。
On the other hand, when the photographing mode is set to the near side priority in step S711 of FIG. 7 and the other conditions are the same as those described above, this first maximum value position is the closest position, that is, the figure. The maximum value position of 10 is 1. The first image is taken at this position, and the second image is taken at the maximum value position 2 in FIG. Since the number of captured images is 2, no image is captured at the maximum value position 3 in FIG.

【0073】なお図7のステップS707において設定
された撮影枚数よりも極大値の数の方が少ない場合は極
大値の数の分だけ撮影を行う。
When the number of maximum values is smaller than the number of captured images set in step S707 of FIG. 7, shooting is performed by the number of maximum values.

【0074】このように、ピントピークを表す焦点評価
値の極大値が複数ある場合、予め撮影枚数を設定してお
くことによって不必要に多くの枚数の撮影を行うことが
ない。またその際遠側又は近側を優先することによっ
て、撮影者の意図する被写体にピントの合った画像が得
やすくなる。
As described above, when there are a plurality of maximum focus evaluation values representing focus peaks, the number of images to be photographed is set in advance so that an unnecessary number of images are not photographed. Further, at this time, by giving priority to the far side or the near side, it becomes easy to obtain an image in focus on the subject intended by the photographer.

【0075】(第3の実施形態)測距枠が複数ある場合
は、測距枠毎について前述の説明のように焦点評価値の
極大値が発生することが考えられる。この場合は測距枠
毎の極大値位置で撮影を行う。このように構成した場合
について以下に説明する。なお以下では図16のように
測距枠が水平方向に3つ設定されている場合について説
明する。
(Third Embodiment) When there are a plurality of distance measuring frames, it is conceivable that the maximum value of the focus evaluation value occurs for each distance measuring frame as described above. In this case, shooting is performed at the maximum value position for each distance measurement frame. The case of such a configuration will be described below. In the following, a case will be described in which three distance measuring frames are set in the horizontal direction as shown in FIG.

【0076】図11A、図11Bは、第1の実施形態に
おいて説明した、図3のステップS302における本露
光用AF処理を説明する図4を置き換えたものである。
11A and 11B are obtained by replacing FIG. 4 for explaining the main exposure AF processing in step S302 of FIG. 3 described in the first embodiment.

【0077】まずステップS1101ではデータ取得イ
ンデックスを0としてワークメモリ126に記憶する。
このデータ取得インデックスは第1の実施形態の図4で
使用したものと同じである。
First, in step S1101, the data acquisition index is set to 0 and stored in the work memory 126.
This data acquisition index is the same as that used in FIG. 4 of the first embodiment.

【0078】ステップS1102では増加フラグをFA
LSEとしてワークメモリ126に記憶する。この増加
フラグは第1の実施形態の図4で使用したものと同じで
ある。
In step S1102, the increase flag is set to FA.
It is stored in the work memory 126 as LSE. This increase flag is the same as that used in FIG. 4 of the first embodiment.

【0079】ステップS1103では残り撮影枚数を0
としてワークメモリ126に記憶する。この残り撮影枚
数は第1の実施形態の図4で使用したものと同じであ
る。
In step S1103, the remaining number of shots is set to 0.
Is stored in the work memory 126 as The remaining number of shots is the same as that used in FIG. 4 of the first embodiment.

【0080】ステップS1104ではフォーカスレンズ
101をスキャン開始位置へ移動する。このスキャン開
始位置は例えば合焦可能領域の無限端とする。
In step S1104, the focus lens 101 is moved to the scan start position. The scan start position is, for example, an infinite end of the focusable area.

【0081】ステップS1105では撮像素子112か
ら読み出されたアナログ映像信号をA/D変換器113
を使ってデジタル信号に変換し、3つある測距枠の内の
右側の枠に相当する位置についての出力を画像処理プロ
セッサ115において輝度信号の高周波成分を抽出し、
これを右枠焦点評価値としてワークメモリ126に記憶
する。
In step S1105, the analog video signal read from the image sensor 112 is converted into an A / D converter 113.
Is converted into a digital signal by using, and the output at the position corresponding to the right frame of the three distance measurement frames is extracted by the image processor 115 as a high frequency component of the luminance signal.
This is stored in the work memory 126 as the right frame focus evaluation value.

【0082】ステップS1106では撮像素子112か
ら読み出されたアナログ映像信号をA/D変換器113
を使ってデジタル信号に変換し、3つある測距枠の内の
中央の枠に相当する位置についての出力を画像処理プロ
セッサ115において輝度信号の高周波成分を抽出し、
これを中央枠焦点評価値としてワークメモリ126に記
憶する。
In step S1106, the analog video signal read from the image sensor 112 is converted into an A / D converter 113.
Is converted into a digital signal by using, and the output at a position corresponding to the central frame of the three distance measuring frames is extracted by the image processor 115 as a high frequency component of the luminance signal.
This is stored in the work memory 126 as the center frame focus evaluation value.

【0083】ステップS1107では撮像素子112か
ら読み出されたアナログ映像信号をA/D変換器113
を使ってデジタル信号に変換し、3つある測距枠の内の
左側の枠に相当する位置についての出力を画像処理プロ
セッサ115において輝度信号の高周波成分を抽出し、
これを左枠焦点評価値としてワークメモリ126に記憶
する。
In step S1107, the analog video signal read from the image sensor 112 is converted into an A / D converter 113.
Is converted into a digital signal using, and the image processing processor 115 extracts the output of the position corresponding to the left frame of the three ranging frames, and extracts the high frequency component of the brightness signal.
This is stored in the work memory 126 as the left frame focus evaluation value.

【0084】ステップS1108ではフォーカスレンズ
101の現在位置を取得しワークメモリ126に記憶す
る。ステップS1109ではデータ取得インデックスに
1を加えワークメモリ126に記憶する。ステップS1
110ではフォーカスレンズ101の現在位置がスキャ
ン終了位置と等しいか調べ、等しければステップS11
12へ、そうでなければステップS1111へ進む。こ
のスキャン終了位置は例えば合焦可能領域の至近端とす
る。
In step S1108, the current position of the focus lens 101 is acquired and stored in the work memory 126. In step S1109, 1 is added to the data acquisition index and stored in the work memory 126. Step S1
At 110, it is checked whether the current position of the focus lens 101 is equal to the scan end position. If they are equal, step S11 is performed.
12, otherwise proceeds to step S1111. The scan end position is, for example, the closest end of the focusable area.

【0085】ステップS1111ではフォーカスレンズ
101をスキャン終了方向へ向かって所定量移動する。
ステップS1112では枠インデックスwを0としてワ
ークメモリ126に記憶する。この枠インデックスwは
後述する焦点評価値の極大値を算出する際の測距枠の識
別に使用する。
In step S1111, the focus lens 101 is moved by a predetermined amount in the scan end direction.
In step S1112, the frame index w is set to 0 and stored in the work memory 126. The frame index w is used to identify the distance measuring frame when calculating the maximum value of the focus evaluation value described later.

【0086】ステップS1113ではデータ比較インデ
ックスnを0としてワークメモリ126に記憶する。こ
のデータ比較インデックスnは、第1の実施形態の図4
で使用したものと同じである。
In step S1113, the data comparison index n is set to 0 and stored in the work memory 126. This data comparison index n corresponds to the data comparison index n of FIG.
Is the same as that used in.

【0087】ステップS1114ではn番目の焦点評価
値よりもn+1番目の焦点評価値の方が大きいかどうか
調べる。つまりある焦点評価値と1つ後に取得した焦点
評価値との大小関係を比較する。n番目の焦点評価値よ
りもn+1番目の焦点評価値の方が大きければステップ
S1115へ、そうでなければステップS1118へ進
む。
In step S1114, it is checked whether the n + 1th focus evaluation value is larger than the nth focus evaluation value. That is, the magnitude relation between a certain focus evaluation value and the focus evaluation value acquired one after is compared. If the (n + 1) th focus evaluation value is larger than the (n) th focus evaluation value, the process advances to step S1115; otherwise, the process advances to step S1118.

【0088】ステップS1115では増加フラグをTR
UEにする。ステップS1116ではデータ比較インデ
ックスnに1を加える。ステップS1117ではデータ
比較インデックスnがデータ取得インデックス−1に等
しいかどうか調べ、等しければステップS1122へ、
そうでなければステップS1114へ進む。
In step S1115, the increase flag is set to TR.
UE. In step S1116, 1 is added to the data comparison index n. In step S1117, it is checked whether the data comparison index n is equal to the data acquisition index -1, and if they are equal, the process proceeds to step S1122.
Otherwise, it proceeds to step S1114.

【0089】ステップS1118では増加フラグがTR
UEかどうか調べ、TRUEならステップS1119
へ、そうでなければステップS1121へ進む。ステッ
プS1119では現在のデータ比較インデックスnに対
応するレンズ位置を極大値の位置として記憶する。つま
り、n番目にワークメモリ126に記憶したフォーカス
レンズ101の位置を極大値の位置としてワークメモリ
126に記憶する。ステップS1120では残り撮影枚
数に1を加える。ステップS1121では増加フラグを
FALSEにしてステップS1116に進む。
In step S1118, the increase flag is set to TR.
Whether it is a UE or not, and if it is TRUE, step S1119
Otherwise, to step S1121. In step S1119, the lens position corresponding to the current data comparison index n is stored as the maximum value position. That is, the position of the focus lens 101 stored in the work memory 126 at the n-th position is stored in the work memory 126 as the maximum value position. In step S1120, 1 is added to the remaining number of shots. In step S1121, the increase flag is set to FALSE and the process proceeds to step S1116.

【0090】ステップS1122では枠インデックスw
が2に等しいかどうか調べ、等しければステップS11
24へ、そうでなければステップS1123へ進む。ス
テップS1123では枠インデックスwに1を加えてス
テップS1113へ進む。なお枠インデックスwと測距
枠位置とは1対1に対応しており、w=0の時はステッ
プS1114において右枠の焦点評価値の比較を行い、
w=1の時は中央枠、w=2の時は左枠の比較を行うも
のとする。
In step S1122, the frame index w
Is equal to 2, and if they are equal, step S11
24, otherwise, to step S1123. In step S1123, 1 is added to the frame index w and the process proceeds to step S1113. It should be noted that the frame index w and the distance measurement frame position have a one-to-one correspondence, and when w = 0, the focus evaluation values of the right frame are compared in step S1114,
When w = 1, the center frame is compared, and when w = 2, the left frame is compared.

【0091】ステップS1124では現在の撮影モード
が遠側優先になっているかどうか調べ、遠側優先ならば
ステップS1125へ、そうでなければステップS11
26へ進む。ここで現在の撮影モードとは第2の実施形
態において説明した図7のステップS710又はステッ
プS711で設定したものである。
In step S1124, it is checked whether or not the current photographing mode is far side priority. If far side priority is given, the process proceeds to step S1125, and if not, step S11.
Proceed to 26. Here, the current shooting mode is the one set in step S710 or step S711 of FIG. 7 described in the second embodiment.

【0092】ステップS1125ではステップS111
9でワークメモリ126に記憶した極大値位置を遠側か
ら並べる。つまり極大値位置のうちで最も無限遠に近い
位置が第1の位置になる。ステップS1126ではステ
ップS1119でワークメモリ126に記憶した極大値
位置を近側から並べる。つまり極大値位置のうちで最も
至近に近い位置が第1の位置になる。
In step S1125, step S111 is performed.
At 9, the maximum value positions stored in the work memory 126 are arranged from the far side. That is, the position closest to infinity among the maximum values is the first position. In step S1126, the local maximum values stored in the work memory 126 in step S1119 are arranged from the near side. That is, the position closest to the maximum position is the first position.

【0093】ステップS1127ではステップS112
0で設定した残り撮影枚数と第2の実施形態の図7のス
テップS707で設定した撮影枚数とを比較し、残り撮
影枚数の方が大きければステップS1128へ進み、そ
うでなければステップS1129へ進む。ステップS1
128では第2の実施形態の図7のステップS707で
設定した撮影枚数を残り撮影枚数として新たに設定し直
す。ステップS1129ではステップS1125又はス
テップS1126で並べた極大値位置の第1の位置にフ
ォーカスレンズ101を移動する。
In step S1127, step S112.
The remaining number of shots set in 0 is compared with the number of shots set in step S707 of FIG. 7 of the second embodiment. If the remaining number of shots is larger, the process proceeds to step S1128, and if not, the process proceeds to step S1129. . Step S1
In 128, the number of shots set in step S707 of FIG. 7 of the second embodiment is newly set as the remaining number of shots. In step S1129, the focus lens 101 is moved to the first position of the maximum value positions arranged in step S1125 or step S1126.

【0094】前述の図11のように構成した場合の動作
は以下のようになる。
The operation in the case of the configuration shown in FIG. 11 is as follows.

【0095】まず図11のステップS1105からステ
ップS1111において各測距枠毎の焦点評価値を取得
する。フォーカスレンズ101の位置と取得した焦点評
価値との関係が図12のようになっていたとすると、各
測距枠毎の極大値は2つとなり、3つの測距枠の極大値
位置の合計は6となる。この6つの極大値位置は、図1
1のステップS1112からステップS1123におい
て各測距枠毎の焦点評価値の極大値位置として抽出さ
れ、図12の極大値位置1から極大値位置6のように記
憶される。
First, in steps S1105 to S1111 of FIG. 11, the focus evaluation value for each distance measurement frame is acquired. If the relationship between the position of the focus lens 101 and the acquired focus evaluation value is as shown in FIG. 12, there are two maximum values for each distance measuring frame, and the total of the maximum value positions of the three distance measuring frames is It becomes 6. These six maximum positions are shown in FIG.
In step S1112 to step S1123 of step 1, the focus evaluation value is extracted as the maximum value position of each focus detection frame, and stored as the maximum value position 1 to the maximum value position 6 in FIG.

【0096】今、第2の実施形態の図7で説明したよう
に、ステップS707において撮影枚数を4と設定し、
ステップS710において撮影モードを遠側優先と設定
したとする。この場合図11のステップS1125にお
いて極大値位置が無限側から並べ替えられる。つまり図
12に示した極大値位置1から極大値位置6までが順番
に並べられる。またステップS1128において残り撮
影枚数が4と設定される。
As described with reference to FIG. 7 in the second embodiment, the number of photographed images is set to 4 in step S707,
It is assumed that the photographing mode is set to the far side priority in step S710. In this case, the maximum value positions are rearranged from the infinite side in step S1125 of FIG. That is, the maximum value position 1 to the maximum value position 6 shown in FIG. 12 are arranged in order. In step S1128, the number of remaining shots is set to 4.

【0097】次に第1の実施形態の図5で説明したよう
に本露光処理を行うが、撮影枚数は4なので図12の極
大値位置1から極大値位置4まで4回の撮影を行う。極
大値位置5及び極大値位置6では撮影を行わない。つま
り3つの測距枠において合計6つの極大値位置が存在
し、そのうち無限側から4つの位置で撮影を行う。
Next, the main exposure process is performed as described in the first embodiment with reference to FIG. 5. However, since the number of images to be photographed is 4, the photographing is performed four times from the maximum value position 1 to the maximum value position 4 in FIG. Imaging is not performed at the maximum value position 5 and the maximum value position 6. In other words, there are a total of 6 maximum value positions in the three distance measuring frames, and shooting is performed at 4 positions from the infinity side.

【0098】このようにすることで、測距枠が複数存在
し、なおかつそれぞれの測距枠内で焦点評価値の極大値
が複数存在する場合でも、1回の撮影動作でそれぞれの
極大値位置において撮影を行うので、撮影者が所望の画
像を得ることができる。
By doing so, even when there are a plurality of distance measuring frames and a plurality of maximum values of the focus evaluation values exist in each of the distance measuring frames, each maximum value position can be obtained by one shooting operation. Since the image is taken in, the photographer can obtain a desired image.

【0099】なお前述の説明では遠側優先としたが、こ
れを近側優先としても良い。また撮影枚数を設定せず、
極大値位置の数だけ撮影しても良い。
Although the far side has been given priority in the above description, this may be given to the near side. Also, without setting the number of shots,
You may photograph as many as the maximum value positions.

【0100】(第4の実施形態)前述の説明では、焦点
評価値の極大値を示す位置毎に撮影を行う際、無限側又
は至近側から順番に行っていたが、これを焦点評価値の
大きい順に行っても良い。このように構成した場合の動
作について以下に説明する。なお以下では第3の実施形
態と同様に図16のように測距枠が水平方向に3つ設定
されている場合について説明する。
(Fourth Embodiment) In the above description, when the photographing is performed for each position showing the maximum value of the focus evaluation value, it is sequentially performed from the infinity side or the close-up side. You may go in descending order. The operation in the case of such a configuration will be described below. Note that, as in the third embodiment, a case will be described below in which three distance measuring frames are set in the horizontal direction as shown in FIG.

【0101】図13A、図13Bは第1の実施形態にお
いて説明した、図3のステップS302における本露光
用AF処理を説明する図4を置き換えたものである。
FIGS. 13A and 13B are obtained by replacing FIG. 4 for explaining the main exposure AF processing in step S302 of FIG. 3 described in the first embodiment.

【0102】まずステップS1301ではデータ取得イ
ンデックスを0としてワークメモリ126に記憶する。
このデータ取得インデックスは第1の実施形態の図4で
使用したものと同じである。
First, in step S1301, the data acquisition index is set to 0 and stored in the work memory 126.
This data acquisition index is the same as that used in FIG. 4 of the first embodiment.

【0103】ステップS1302では増加フラグをFA
LSEとしてワークメモリ126に記憶する。この増加
フラグは第1の実施形態の図4で使用したものと同じで
ある。
In step S1302, the increase flag is set to FA.
It is stored in the work memory 126 as LSE. This increase flag is the same as that used in FIG. 4 of the first embodiment.

【0104】ステップS1303では残り撮影枚数を0
としてワークメモリ126に記憶する。この残り撮影枚
数は第1の実施形態の図4で使用したものと同じであ
る。
In step S1303, the remaining number of shots is set to 0.
Is stored in the work memory 126 as The remaining number of shots is the same as that used in FIG. 4 of the first embodiment.

【0105】ステップS1304ではフォーカスレンズ
101をスキャン開始位置へ移動する。このスキャン開
始位置は例えば合焦可能領域の無限端とする。
In step S1304, the focus lens 101 is moved to the scan start position. The scan start position is, for example, an infinite end of the focusable area.

【0106】ステップS1305では撮像素子112か
ら読み出されたアナログ映像信号をA/D変換器113
を使ってデジタル信号に変換し、3つある測距枠の内の
右側の枠に相当する位置についての出力を画像処理プロ
セッサ115において輝度信号の高周波成分を抽出し、
これを右枠焦点評価値としてワークメモリ126に記憶
する。
In step S1305, the analog video signal read from the image sensor 112 is converted into an A / D converter 113.
Is converted into a digital signal by using, and the output at the position corresponding to the right frame of the three distance measurement frames is extracted by the image processor 115 as a high frequency component of the luminance signal.
This is stored in the work memory 126 as the right frame focus evaluation value.

【0107】ステップS1306では撮像素子112か
ら読み出されたアナログ映像信号をA/D変換器113
を使ってデジタル信号に変換し、3つある測距枠の内の
中央の枠に相当する位置についての出力を画像処理プロ
セッサ115において輝度信号の高周波成分を抽出し、
これを中央枠焦点評価値としてワークメモリ126に記
憶する。
In step S1306, the analog video signal read from the image sensor 112 is converted into an A / D converter 113.
Is converted into a digital signal by using, and the output at a position corresponding to the central frame of the three distance measuring frames is extracted by the image processor 115 as a high frequency component of the luminance signal.
This is stored in the work memory 126 as the center frame focus evaluation value.

【0108】ステップS1307では撮像素子112か
ら読み出されたアナログ映像信号をA/D変換器113
を使ってデジタル信号に変換し、3つある測距枠の内の
左側の枠に相当する位置についての出力を画像処理プロ
セッサ115において輝度信号の高周波成分を抽出し、
これを左枠焦点評価値としてワークメモリ126に記憶
する。
In step S1307, the analog video signal read from the image sensor 112 is converted into an A / D converter 113.
Is converted into a digital signal using, and the image processing processor 115 extracts the output of the position corresponding to the left frame of the three ranging frames, and extracts the high frequency component of the brightness signal.
This is stored in the work memory 126 as the left frame focus evaluation value.

【0109】ステップS1308ではフォーカスレンズ
101の現在位置を取得しワークャc鰍P26に記憶す
る。
In step S1308, the current position of the focus lens 101 is acquired and stored in the worker c sill P26.

【0110】ステップS1309ではデータ取得インデ
ックスに1を加えワークメモリ126に記憶する。
In step S1309, 1 is added to the data acquisition index and stored in the work memory 126.

【0111】ステップS1310ではフォーカスレンズ
101の現在位置がスキャン終了位置と等しいか調べ、
等しければステップS1312へ、そうでなければステ
ップS1311へ進む。このスキャン終了位置は例えば
合焦可能領域の至近端とする。
In step S1310, it is checked whether the current position of the focus lens 101 is equal to the scan end position,
If they are equal, the process proceeds to step S1312, and if not, the process proceeds to step S1311. The scan end position is, for example, the closest end of the focusable area.

【0112】ステップS1311ではフォーカスレンズ
101をスキャン終了方向へ向かって所定量移動する。
ステップS1312では枠インデックスwを0としてワ
ークメモリ126に記憶する。この枠インデックスwは
第3の実施形態の図11A、図11Bで使用したものと
同じである。
In step S1311, the focus lens 101 is moved by a predetermined amount in the scan end direction.
In step S1312, the frame index w is set to 0 and stored in the work memory 126. This frame index w is the same as that used in FIGS. 11A and 11B of the third embodiment.

【0113】ステップS1313ではデータ比較インデ
ックスnを0としてワークメモリ126に記憶する。こ
のデータ比較インデックスnは、第1の実施形態の図4
で使用したものと同じである。
In step S1313, the data comparison index n is set to 0 and stored in the work memory 126. This data comparison index n corresponds to the data comparison index n of FIG.
Is the same as that used in.

【0114】ステップS1314ではn番目の焦点評価
値よりもn+1番目の焦点評価値の方が大きいかどうか
調べる。つまりある焦点評価値と1つ後に取得した焦点
評価値との大小関係を比較する。n番目の焦点評価値よ
りもn+1番目の焦点評価値の方が大きければステップ
S1315へ、そうでなければステップS1318へ進
む。ステップS1315では増加フラグをTRUEにす
る。ステップS1316ではデータ比較インデックスn
に1を加える。ステップS1317ではデータ比較イン
デックスnがデータ取得インデックス−1に等しいかど
うか調べ、等しければステップS1323へ、そうでな
ければステップS1314へ進む。
In step S1314, it is checked whether the n + 1th focus evaluation value is larger than the nth focus evaluation value. That is, the magnitude relation between a certain focus evaluation value and the focus evaluation value acquired one after is compared. If the (n + 1) th focus evaluation value is larger than the (n) th focus evaluation value, the process advances to step S1315; otherwise, the process advances to step S1318. In step S1315, the increase flag is set to TRUE. In step S1316, the data comparison index n
Add 1 to. In step S1317, it is checked whether the data comparison index n is equal to the data acquisition index-1. If they are equal, the process proceeds to step S1323, and if not, the process proceeds to step S1314.

【0115】ステップS1318では増加フラグがTR
UEかどうか調べ、TRUEならステップS1319
へ、そうでなければステップS1322へ進む。
In step S1318, the increase flag is set to TR.
Whether it is a UE or not, and if it is TRUE, step S1319
Otherwise, to step S1322.

【0116】ステップS1319では現在のデータ比較
インデックスnに対応するレンズ位置を極大値の位置と
して記憶する。つまり、n番目にワークメモリ126に
記憶したフォーカスレンズ101の位置を極大値の位置
としてワークメモリ126に記憶する。
In step S1319, the lens position corresponding to the current data comparison index n is stored as the maximum value position. That is, the position of the focus lens 101 stored in the work memory 126 at the n-th position is stored in the work memory 126 as the maximum value position.

【0117】ステップS1320では現在のデータ比較
インデックスnに対応する焦点評価値を極大値としてワ
ークメモリ126に記憶する。ステップS1321では
残り撮影枚数に1を加える。ステップS1322では増
加フラグをFALSEにしてステップS1316に進
む。
In step S1320, the focus evaluation value corresponding to the current data comparison index n is stored in the work memory 126 as the maximum value. In step S1321, 1 is added to the remaining number of shots. In step S1322, the increase flag is set to FALSE and the process proceeds to step S1316.

【0118】ステップS1323では枠インデックスw
が2に等しいかどうか調べ、等しければステップS13
25へ、そうでなければステップS1324へ進む。ス
テップS1324では枠インデックスwに1を加えてス
テップS1313へ進む。なお枠インデックスwと測距
枠位置との関係は第3の実施形態で説明したものと同様
である。
In step S1323, the frame index w
Is equal to 2, and if they are equal, step S13
25, otherwise, to step S1324. In step S1324, 1 is added to the frame index w and the process proceeds to step S1313. Note that the relationship between the frame index w and the distance measurement frame position is the same as that described in the third embodiment.

【0119】ステップS1325ではステップS132
0で記憶した極大値の大きい順に、データ取得インデッ
クスの対応するステップS1319で記憶した極大値位
置を並べ替える。この時ステップS1320で記憶した
極大値のうちで最も大きいものを取得した位置が第1の
極大値位置となる。
In step S1325, step S132.
The maximum value positions stored in step S1319 corresponding to the data acquisition index are rearranged in the descending order of the maximum values stored in 0. At this time, the position at which the largest maximum value among the maximum values stored in step S1320 is acquired is the first maximum value position.

【0120】ステップS1326ではステップS132
1で設定した残り撮影枚数と第2の実施形態の図7のス
テップS707で設定した撮影枚数とを比較し、残り撮
影枚数の方が大きければステップS1327へ進み、そ
うでなければステップS1328へ進む。
In step S1326, step S132
The remaining number of shots set in 1 is compared with the number of shots set in step S707 of FIG. 7 of the second embodiment. If the remaining number of shots is larger, the process proceeds to step S1327, and if not, the process proceeds to step S1328. .

【0121】ステップS1327では第2の実施形態の
図7のステップS707で設定した撮影枚数を残り撮影
枚数として新たに設定し直す。ステップS1328では
ステップS1325で並べた極大値位置の第1の位置に
フォーカスレンズ101を移動する。
In step S1327, the number of shots set in step S707 of FIG. 7 of the second embodiment is newly set as the remaining number of shots. In step S1328, the focus lens 101 is moved to the first position of the maximum value positions arranged in step S1325.

【0122】図13A、図13Bのように構成した場合
の動作は以下のようになる。
The operation in the case of the configuration as shown in FIGS. 13A and 13B is as follows.

【0123】図13AのステップS1304からステッ
プS1311において各枠ごとの焦点評価値を取得した
結果が図14のようになっていて、極大値が6つあると
する。この時極大値の大小関係は、極大値1>極大値2
>極大値3>極大値4>極大値5>極大値6となってい
るとする。この場合、図13BのステップS1325に
おいてこの焦点評価値の大きい順に、対応する極大値位
置が並べ替えられる。その結果、図14のように極大値
位置1から極大値位置6までが並べ替えられ、番号の若
い順に撮影が行われる。
It is assumed that the result of acquiring the focus evaluation value for each frame in steps S1304 to S1311 of FIG. 13A is as shown in FIG. 14, and that there are six maximum values. At this time, the magnitude relationship between the maximum values is as follows: maximum value 1> maximum value 2
> Maximum value 3> Maximum value 4> Maximum value 5> Maximum value 6 In this case, in step S1325 of FIG. 13B, the corresponding maximum value positions are rearranged in the descending order of the focus evaluation value. As a result, the maximum value position 1 to the maximum value position 6 are rearranged as shown in FIG. 14, and shooting is performed in ascending order of the numbers.

【0124】今、第2の実施形態の図7で説明したよう
に、ステップS707において撮影枚数を4と設定した
とすると、まず第1の極大値位置、すなわち中央枠で取
得された焦点評価値の極大値1に対応する極大値位置1
で1枚目の撮影を行う。次に第2の極大値位置、すなわ
ち左枠で取得された焦点評価値の極大値2に対応する極
大値位置2で2枚目の撮影を行う。その後順次極大値位
置4まで撮影する。設定された撮影枚数が4なので極大
値位置5及び極大値位置6での撮影は行わない。
As described with reference to FIG. 7 of the second embodiment, assuming that the number of photographed images is set to 4 in step S707, the focus evaluation value acquired at the first maximum value position, that is, the center frame is first calculated. The maximum value position 1 corresponding to the maximum value 1 of
Take the first shot with. Next, the second image is photographed at the second maximum value position, that is, the maximum value position 2 corresponding to the maximum value 2 of the focus evaluation values acquired in the left frame. After that, the images are sequentially captured up to the maximum value position 4. Since the set number of shots is 4, shooting at the maximum value position 5 and the maximum value position 6 is not performed.

【0125】このように、焦点評価値の極大値のうち値
が大きい位置から順番に撮影していくので、よりコント
ラストが強く、撮影者が主被写体として意識している被
写体にピントのあった画像を得やすくなる。
As described above, since the photographing is performed in order from the position having the largest focus evaluation value, the image having a higher contrast and the subject which the photographer is conscious of as the main subject is in focus. Easier to obtain.

【0126】なお前述の説明において撮影枚数を設定せ
ず、極大値位置の数だけ撮影しても良い。
Note that the number of images to be photographed may not be set in the above description, and the number of images at the maximum value position may be photographed.

【0127】以上説明したように上記の第1乃至第4の
実施形態によれば、焦点評価値に極大値が複数存在する
場合に、1回の撮影動作で各々の極大値を示すフォーカ
スレンズ位置において撮影を行うようにしたので、撮影
者が所望の被写体にピントのあった画像が容易に得られ
る。
As described above, according to the above-described first to fourth embodiments, when there are a plurality of local maximum values in the focus evaluation value, the focus lens position showing each local maximum value in one shooting operation. Since the image capturing is performed in (3), the photographer can easily obtain an image in which the desired subject is in focus.

【0128】またその際撮影枚数を設定できるようにし
たので、不必要に多くの撮影を行ってしまうことがな
い。
Further, at that time, since the number of images to be photographed can be set, it is possible to prevent unnecessary photographing.

【0129】また、測距枠が複数存在する場合は、1回
の撮影動作でそれぞれの測距枠内での焦点評価値の極大
値を示す位置において撮影を行うようにしたので、撮影
者が所望の被写体にピントのあった画像が容易に得られ
る。
Further, when there are a plurality of distance measuring frames, the photographing operation is performed at a position showing the maximum value of the focus evaluation value in each distance measuring frame by one photographing operation. An image in which the desired subject is in focus can be easily obtained.

【0130】また、焦点評価値の値が大きい位置から順
番に撮影を行うようにしたので、コントラストが強く、
撮影者が主被写体として意識している被写体にピントの
あった画像を得やすくなる。
Further, since the photographing is performed in order from the position having the largest focus evaluation value, the contrast is strong,
This makes it easier for the photographer to obtain an image in focus on the subject that he or she considers as the main subject.

【0131】(他の実施形態)また、各実施形態の目的
は、前述した実施形態の機能を実現するソフトウェアの
プログラムコードを記録した記憶媒体(または記録媒
体)を、システムあるいは装置に供給し、そのシステム
あるいは装置のコンピュータ(またはCPUやMPU)が記憶
媒体に格納されたプログラムコードを読み出し実行する
ことによっても、達成されることは言うまでもない。こ
の場合、記憶媒体から読み出されたプログラムコード自
体が前述した実施形態の機能を実現することになり、そ
のプログラムコードを記憶した記憶媒体は本発明を構成
することになる。また、コンピュータが読み出したプロ
グラムコードを実行することにより、前述した実施形態
の機能が実現されるだけでなく、そのプログラムコード
の指示に基づき、コンピュータ上で稼働しているオペレ
ーティングシステム(OS)などが実際の処理の一部また
は全部を行い、その処理によって前述した実施形態の機
能が実現される場合も含まれることは言うまでもない。
(Other Embodiments) The purpose of each embodiment is to supply a storage medium (or recording medium) recording a program code of software for realizing the functions of the above-described embodiments to a system or apparatus, It is needless to say that it is also achieved by the computer (or CPU or MPU) of the system or device reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an operating system (OS) running on the computer is executed based on the instruction of the program code. It goes without saying that a case where some or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing is also included.

【0132】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張カー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書込まれた後、そのプログラムコードの指示
に基づき、その機能拡張カードや機能拡張ユニットに備
わるCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written in the memory provided in the function expansion card inserted into the computer or the function expansion unit connected to the computer, based on the instruction of the program code, Needless to say, this also includes a case where a CPU or the like included in the function expansion card or the function expansion unit performs a part or all of the actual processing and the processing realizes the functions of the above-described embodiments.

【0133】本発明を上記記憶媒体に適用する場合、そ
の記憶媒体には、先に説明したフローチャートに対応す
るプログラムコードが格納されることになる。
When the present invention is applied to the above storage medium, the storage medium stores the program code corresponding to the above-described flowchart.

【0134】なお、本発明は、以上の各実施の形態また
は、それら技術要素を必要に応じて組み合わせるように
してもよい。
The present invention may be combined with each of the above-described embodiments or their technical elements as needed.

【0135】また、本発明は、クレーム、または、実施
の形態の構成の全体若しくは一部が、1つの装置を形成
するものであっても、他の装置と結合するようなもので
あっても、装置を構成する要素となるようなものであっ
てもよい。
Further, in the present invention, the claims or the whole or part of the configuration of the embodiment may form one device or may be combined with another device. It may be a component of the device.

【0136】また、本発明は、静止画或いは動画を撮像
素子により撮影する電子カメラ、銀塩フィルムを使用す
るカメラ、一眼レフカメラ、レンズシャッタカメラ、監
視カメラ等、種々の形態のカメラ、更には、カメラ以外
の撮像装置や、光学装置、その他の装置、更には、それ
らカメラ、撮像装置、光学装置、その他の装置に適用さ
れる装置、そして、これら装置を構成する要素に対して
も適用できるものである。
The present invention is also applicable to various forms of cameras such as electronic cameras for taking still images or moving images with an image sensor, cameras using silver salt film, single-lens reflex cameras, lens shutter cameras, surveillance cameras, and the like. The present invention can also be applied to imaging devices other than cameras, optical devices, other devices, devices applied to those cameras, imaging devices, optical devices, other devices, and elements constituting these devices. It is a thing.

【0137】[0137]

【発明の効果】以上説明したように、本発明によれば、
異なる距離に被写体が2つ以上ある場合でも、撮影者が
意図する位置にピントを合わせた画像を得られるように
することが可能となる。
As described above, according to the present invention,
Even when there are two or more subjects at different distances, it is possible to obtain an image in which the photographer focuses on the intended position.

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

【図1】本発明の実施形態に係わる電子カメラのブロッ
ク図である。
FIG. 1 is a block diagram of an electronic camera according to an embodiment of the present invention.

【図2】本発明の第1の実施形態に係わる電子カメラの
基本的な動作を示すフローチャートである。
FIG. 2 is a flowchart showing a basic operation of the electronic camera according to the first embodiment of the present invention.

【図3】図2における撮影処理を示すフローチャートで
ある。
FIG. 3 is a flowchart showing a photographing process in FIG.

【図4】図3における本露光用AF処理を示すフローチ
ャートである。
FIG. 4 is a flowchart showing AF processing for main exposure in FIG.

【図5】図3における本露光処理を示すフローチャート
である。
5 is a flowchart showing a main exposure process in FIG.

【図6】図4において取得した焦点評価値を表す図であ
る。
FIG. 6 is a diagram illustrating focus evaluation values acquired in FIG.

【図7】本発明の第2の実施形態に係わる電子カメラの
基本的な動作を示すフローチャートである。
FIG. 7 is a flowchart showing a basic operation of the electronic camera according to the second embodiment of the present invention.

【図8】Aは、図3における本露光用AF処理の第2の
実施形態を示すフローチャートである。Bは、図3にお
ける本露光用AF処理の第2の実施形態を示すフローチ
ャートである。
8A is a flowchart showing a second embodiment of AF processing for main exposure in FIG. 3B is a flowchart showing the second embodiment of the main exposure AF processing in FIG.

【図9】図8A、図8Bにおいて遠側優先の場合に取得
した焦点評価値と撮影位置を示す図である。
9A and 9B are diagrams showing focus evaluation values and shooting positions acquired in the case of priority on the far side in FIGS. 8A and 8B.

【図10】図8A、図8Bにおいて近側優先の場合に取
得した焦点評価値と撮影位置を示す図である。
FIG. 10 is a diagram showing focus evaluation values and shooting positions acquired in the case of near side priority in FIGS. 8A and 8B.

【図11】Aは、図3における本露光用AF処理の第3
の実施形態を示すフローチャートである。Bは、図3に
おける本露光用AF処理の第3の実施形態を示すフロー
チャートである。
11A is the third AF process for main exposure in FIG.
3 is a flowchart showing the embodiment of FIG. 3B is a flowchart showing the third embodiment of the main exposure AF processing in FIG.

【図12】図11A、図11Bにおいて取得した焦点評
価値と撮影位置を示す図である。
FIG. 12 is a diagram showing focus evaluation values and shooting positions acquired in FIGS. 11A and 11B.

【図13】Aは、図3における本露光用AF処理の第4
の実施形態を示すフローチャートである。Bは、図3に
おける本露光用AF処理の第4の実施形態を示すフロー
チャートである。
13A is the fourth AF process for main exposure in FIG.
3 is a flowchart showing the embodiment of FIG. 3B is a flowchart showing a fourth embodiment of the main exposure AF processing in FIG.

【図14】図13A、図13Bにおいて取得した焦点評
価値と撮影位置を示す図である。
FIG. 14 is a diagram showing focus evaluation values and shooting positions acquired in FIGS. 13A and 13B.

【図15】撮影画面における測距枠を表す図である。FIG. 15 is a diagram showing a distance measurement frame on a shooting screen.

【図16】撮影画面における複数の測距枠を表す図であ
る。
FIG. 16 is a diagram showing a plurality of distance measurement frames on a shooting screen.

【図17】フォーカスレンズ位置に対する焦点評価値を
表す図である。
FIG. 17 is a diagram illustrating a focus evaluation value with respect to a focus lens position.

【図18】フォーカスレンズ位置に対する焦点評価値に
おいて極大値が複数ある場合を表す図である。
FIG. 18 is a diagram illustrating a case where there are a plurality of local maximum values in focus evaluation values for focus lens positions.

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

101 フォーカスレンズ 102 フォトインタラプタ 103 モータ 104 フォーカスレンズ駆動回路 105 光量制御部材 106 モータ 107 絞り・シャッタ駆動回路 108 ズームレンズ 109 フォトインタラプタ 110 モータ 111 ズームレンズ駆動回路 112 撮像素子 113 A/D変換器 114 タイミング信号発生回路 115 画像処理プロセッサ 116 バッファメモリ 117 インターフェース 118 記録媒体 119 マイクロコントローラ 120 ズームステップSW 121 スイッチ 122 撮影処理指示スイッチ 123 メインスイッチ 124 モードスイッチ 125 プログラムメモリ 126 ワークメモリ 127 操作表示部 128 電子ビューファインダ 129 設定スイッチ 101 focus lens 102 Photo interrupter 103 motor 104 Focus lens drive circuit 105 Light intensity control member 106 motor 107 Aperture / shutter drive circuit 108 Zoom lens 109 Photo interrupter 110 motor 111 Zoom lens drive circuit 112 image sensor 113 A / D converter 114 Timing signal generation circuit 115 Image Processor 116 buffer memory 117 Interface 118 recording medium 119 Microcontroller 120 zoom step SW 121 switch 122 Shooting processing instruction switch 123 Main switch 124 mode switch 125 program memory 126 work memory 127 Operation display section 128 electronic viewfinder 129 Setting switch

Claims (38)

【特許請求の範囲】[Claims] 【請求項1】 被写体像の焦点調節を行なうフォーカス
レンズと、該フォーカスレンズを移動させる駆動手段
と、前記フォーカスレンズによって結像位置が調節され
た被写体像を電気信号に変換する光電変換手段と、該光
電変換手段の出力信号から被写体の輝度の高周波成分を
表す信号を抽出する抽出手段と、 該抽出手段で抽出された前記高周波成分を表す信号が極
大値をとるときの前記フォーカスレンズの位置を記憶す
る記憶手段と、前記高周波成分を表す信号が極大値をと
るときの前記フォーカスレンズの位置毎に撮影を行なう
ように前記駆動手段と前記光電変換手段とを制御する制
御手段とを有することを特徴とする撮像装置。
1. A focus lens for adjusting the focus of a subject image, a drive unit for moving the focus lens, and a photoelectric conversion unit for converting the subject image whose image formation position is adjusted by the focus lens into an electric signal. Extraction means for extracting a signal representing a high-frequency component of the luminance of the subject from the output signal of the photoelectric conversion means, and a position of the focus lens when the signal representing the high-frequency component extracted by the extraction means has a maximum value Storage means for storing, and control means for controlling the driving means and the photoelectric conversion means so as to take an image for each position of the focus lens when the signal representing the high frequency component has a maximum value. A characteristic imaging device.
【請求項2】 前記高周波成分を表す信号が極大値をと
るときの前記フォーカスレンズの位置の数が所定値より
大きい場合には、該所定値分の回数の撮影を行なうこと
を特徴とする請求項1に記載の撮像装置。
2. When the number of positions of the focus lens when the signal representing the high frequency component has a maximum value is larger than a predetermined value, the number of times of the predetermined value is taken. Item 1. The image pickup device according to item 1.
【請求項3】 前記高周波成分を表す信号が極大値をと
るときの前記フォーカスレンズの位置のうち、無限遠に
焦点を合わせる位置に近い方の前記フォーカスレンズの
位置から順に撮影を行なうことを特徴とする請求項1に
記載の撮像装置。
3. The photographing is performed in order from the position of the focus lens closer to the position of focusing at infinity among the positions of the focus lens when the signal representing the high frequency component has a maximum value. The image pickup apparatus according to claim 1.
【請求項4】 前記高周波成分を表す信号が極大値をと
るときの前記フォーカスレンズの位置のうち、至近距離
に焦点を合わせる位置に近い方の前記フォーカスレンズ
の位置から順に撮影を行なうことを特徴とする請求項1
に記載の撮像装置。
4. The photographing is performed in order from the position of the focus lens that is closer to the position where the focus is focused on the shortest distance among the positions of the focus lens when the signal representing the high frequency component has a maximum value. Claim 1
The imaging device according to.
【請求項5】 前記高周波成分を表す信号が極大値をと
るときの前記フォーカスレンズの位置のうち、前記極大
値の値が大きい順に撮影を行なうことを特徴とする請求
項1に記載の撮像装置。
5. The image pickup apparatus according to claim 1, wherein among the positions of the focus lens when the signal representing the high-frequency component has a maximum value, shooting is performed in the descending order of the maximum value. .
【請求項6】 前記抽出手段は、前記光電変換手段の複
数の領域の出力信号の夫々について被写体の輝度の高周
波成分を表す信号を抽出し、前記記憶手段は、前記光電
変換手段の複数の領域の夫々について前記高周波成分を
表す信号が極大値をとるときの前記フォーカスレンズの
位置を記憶し、前記制御手段は、前記高周波成分を表す
信号が極大値をとるときの前記フォーカスレンズの位置
毎に撮影を行なうように前記駆動手段と前記光電変換手
段とを制御することを特徴とする請求項1に記載の撮像
装置。
6. The extraction means extracts a signal representing a high-frequency component of the luminance of the subject for each of the output signals of the plurality of areas of the photoelectric conversion means, and the storage means extracts the plurality of areas of the photoelectric conversion means. For each of the, stores the position of the focus lens when the signal representing the high frequency component has a maximum value, the control means, for each position of the focus lens when the signal representing the high frequency component has a maximum value. The image pickup apparatus according to claim 1, wherein the driving unit and the photoelectric conversion unit are controlled so as to perform photographing.
【請求項7】 前記高周波成分を表す信号が極大値をと
るときの前記フォーカスレンズの位置の数が所定値より
大きい場合には、該所定値分の回数の撮影を行なうこと
を特徴とする請求項6に記載の撮像装置。
7. If the number of positions of the focus lens when the signal representing the high frequency component has a maximum value is larger than a predetermined value, the photographing is performed the number of times of the predetermined value. Item 6. The imaging device according to item 6.
【請求項8】 前記高周波成分を表す信号が極大値をと
るときの前記フォーカスレンズの位置のうち、無限遠に
焦点を合わせる位置に近い方の前記フォーカスレンズの
位置から順に撮影を行なうことを特徴とする請求項6に
記載の撮像装置。
8. The photographing is performed in order from a position of the focus lens closer to a position of focusing at infinity among positions of the focus lens when the signal representing the high frequency component has a maximum value. The image pickup apparatus according to claim 6.
【請求項9】 前記高周波成分を表す信号が極大値をと
るときの前記フォーカスレンズの位置のうち、至近距離
に焦点を合わせる位置に近い方の前記フォーカスレンズ
の位置から順に撮影を行なうことを特徴とする請求項6
に記載の撮像装置。
9. The photographing is performed in order from the position of the focus lens that is closer to the position where the focus is focused on the closest distance among the positions of the focus lens when the signal representing the high frequency component has a maximum value. Claim 6
The imaging device according to.
【請求項10】 前記高周波成分を表す信号が極大値を
とるときの前記フォーカスレンズの位置のうち、前記極
大値の値が大きい順に撮影を行なうことを特徴とする請
求項6に記載の撮像装置。
10. The image pickup apparatus according to claim 6, wherein photographing is performed in the order of the maximum value among the positions of the focus lens when the signal representing the high frequency component has the maximum value. .
【請求項11】 被写体像の焦点調節を行なうフォーカ
スレンズによって結像位置が調節された被写体像を光電
変換手段により電気信号に変換する光電変換工程と、該
光電変換工程によって得られた出力信号から被写体の輝
度の高周波成分を表す信号を抽出する抽出工程と、該抽
出工程において抽出された前記高周波成分を表す信号が
極大値をとるときの前記フォーカスレンズの位置を記憶
する記憶工程と、前記高周波成分を表す信号が極大値を
とるときの前記フォーカスレンズの位置毎に撮影を行な
う撮影工程とを有することを特徴とする撮像方法。
11. A photoelectric conversion step of converting an object image whose image forming position is adjusted by a focus lens for adjusting the focus of the object image into an electric signal by photoelectric conversion means, and an output signal obtained by the photoelectric conversion step. An extraction step of extracting a signal representing a high frequency component of the luminance of the subject; a storage step of storing the position of the focus lens when the signal representing the high frequency component extracted in the extraction step has a maximum value; And an image pickup step of performing image pickup for each position of the focus lens when the signal representing the component has a maximum value.
【請求項12】 前記高周波成分を表す信号が極大値を
とるときの前記フォーカスレンズの位置の数が所定値よ
り大きい場合には、該所定値分の回数の撮影を行なうこ
とを特徴とする請求項11に記載の撮像方法。
12. When the number of positions of the focus lens when the signal representing the high frequency component has a maximum value is larger than a predetermined value, the number of times of photographing of the predetermined value is performed. Item 11. The imaging method according to Item 11.
【請求項13】 前記高周波成分を表す信号が極大値を
とるときの前記フォーカスレンズの位置のうち、無限遠
に焦点を合わせる位置に近い方の前記フォーカスレンズ
の位置から順に撮影を行なうことを特徴とする請求項1
1に記載の撮像方法。
13. The photographing is performed in order from a position of the focus lens closer to a position of focusing at infinity among positions of the focus lens when a signal representing the high frequency component has a maximum value. Claim 1
1. The imaging method according to 1.
【請求項14】 前記高周波成分を表す信号が極大値を
とるときの前記フォーカスレンズの位置のうち、至近距
離に焦点を合わせる位置に近い方の前記フォーカスレン
ズの位置から順に撮影を行なうことを特徴とする請求項
11に記載の撮像方法。
14. Imaging is performed in order from the position of the focus lens that is closer to the position of focusing on the closest distance among the positions of the focus lens when the signal representing the high frequency component has a maximum value. The imaging method according to claim 11.
【請求項15】 前記高周波成分を表す信号が極大値を
とるときの前記フォーカスレンズの位置のうち、前記極
大値の値が大きい順に撮影を行なうことを特徴とする請
求項11に記載の撮像方法。
15. The image pickup method according to claim 11, wherein among the positions of the focus lens when the signal representing the high-frequency component has a maximum value, shooting is performed in the descending order of the maximum value. .
【請求項16】 前記抽出工程では、前記光電変換手段
の複数の領域の出力信号の夫々について被写体の輝度の
高周波成分を表す信号を抽出し、前記記憶工程では、前
記光電変換手段の複数の領域の夫々について前記高周波
成分を表す信号が極大値をとるときの前記フォーカスレ
ンズの位置を記憶し、前記撮影工程では、前記高周波成
分を表す信号が極大値をとるときの前記フォーカスレン
ズの位置毎に撮影を行なうことを特徴とする請求項11
に記載の撮像方法。
16. The extracting step extracts a signal representing a high-frequency component of the luminance of the subject for each of the output signals of the plurality of areas of the photoelectric conversion means, and the storing step extracts a plurality of areas of the photoelectric conversion means. The position of the focus lens when the signal representing the high frequency component has a maximum value is stored for each of, and in the photographing step, for each position of the focus lens when the signal representing the high frequency component has a maximum value. The shooting is performed, and the shooting is performed.
The image pickup method described in.
【請求項17】 前記高周波成分を表す信号が極大値を
とるときの前記フォーカスレンズの位置の数が所定値よ
り大きい場合には、該所定値分の回数の撮影を行なうこ
とを特徴とする請求項16に記載の撮像方法。
17. If the number of positions of the focus lens at the time when the signal representing the high frequency component has a maximum value is larger than a predetermined value, shooting is performed a number of times corresponding to the predetermined value. Item 17. The imaging method according to Item 16.
【請求項18】 前記高周波成分を表す信号が極大値を
とるときの前記フォーカスレンズの位置のうち、無限遠
に焦点を合わせる位置に近い方の前記フォーカスレンズ
の位置から順に撮影を行なうことを特徴とする請求項1
6に記載の撮像方法。
18. The photographing is performed in order from a position of the focus lens closer to a position of focusing at infinity among positions of the focus lens when a signal representing the high frequency component has a maximum value. Claim 1
The imaging method according to item 6.
【請求項19】 前記高周波成分を表す信号が極大値を
とるときの前記フォーカスレンズの位置のうち、至近距
離に焦点を合わせる位置に近い方の前記フォーカスレン
ズの位置から順に撮影を行なうことを特徴とする請求項
16に記載の撮像方法。
19. The photographing is performed in order from the position of the focus lens that is closer to the position of focusing on the closest distance among the positions of the focus lens when the signal representing the high frequency component has a maximum value. The imaging method according to claim 16.
【請求項20】 前記高周波成分を表す信号が極大値を
とるときの前記フォーカスレンズの位置のうち、前記極
大値の値が大きい順に撮影を行なうことを特徴とする請
求項16に記載の撮像方法。
20. The image pickup method according to claim 16, wherein among the positions of the focus lens when the signal representing the high-frequency component has a maximum value, shooting is performed in the descending order of the maximum value. .
【請求項21】 請求項16乃至20のいずれか1項に
記載の撮像方法をコンピュータに実行させることを特徴
とするプログラム。
21. A program for causing a computer to execute the imaging method according to claim 16.
【請求項22】 請求項21に記載のプログラムをコン
ピュータ読み取り可能に記憶したことを特徴とする記憶
媒体。
22. A computer-readable storage medium having the program according to claim 21 stored therein.
【請求項23】 焦点調節の対象を特定するための同一
の検出視野に距離の異なる複数の被写体が存在する場合
に、前記複数の被写体それぞれに対して撮影光学系を合
焦するように駆動する焦点調節手段と、前記焦点調節手
段により前記複数の被写体に対して合焦するように駆動
された前記撮影光学系のそれぞれの位置で撮影を行う撮
影手段とを有することを特徴とする撮像装置。
23. When a plurality of subjects having different distances are present in the same detection field of view for specifying the target of focus adjustment, the photographing optical system is driven so as to focus on each of the plurality of subjects. An image pickup apparatus comprising: a focus adjusting unit; and an image taking unit that takes an image at each position of the taking optical system that is driven by the focus adjusting unit to focus on the plurality of subjects.
【請求項24】 前記検出視野の被写体像を撮像する撮
像センサを有し、前記焦点調節手段は、前記撮像センサ
からの出力信号における高周波成分の極大値に基づいて
前記同一の検出視野に距離の異なる前記複数の被写体が
存在することを判定することを特徴とする請求項23に
記載の撮像装置。
24. An image sensor for picking up a subject image in the detection field of view is provided, wherein the focus adjusting means determines a distance to the same detection field of view based on a maximum value of a high frequency component in an output signal from the image sensor. The image pickup apparatus according to claim 23, wherein it is determined that the plurality of different subjects are present.
【請求項25】 前記撮影光学系が前記焦点調節手段に
より前記複数の被写体に対して合焦するように駆動され
る位置が所定値より多い場合には、前記撮影手段は撮影
を行う回数を制限することを特徴とする請求項24に記
載の撮像装置。
25. When the number of positions at which the photographing optical system is driven by the focus adjusting means to focus on the plurality of subjects is larger than a predetermined value, the photographing means limits the number of times of photographing. The imaging device according to claim 24, wherein
【請求項26】 前記撮影手段は、前記焦点調節手段に
より前記複数の被写体に対して合焦するように駆動され
る位置が遠距離側で合焦する位置から近距離側で合焦す
る位置の順に撮影を行うことを特徴とする請求項25に
記載の撮像装置。
26. The photographing means is arranged such that a position driven by the focus adjusting means to focus on the plurality of subjects is changed from a position focused on a long distance side to a position focused on a short distance side. The imaging device according to claim 25, wherein the imaging is performed in order.
【請求項27】 前記撮影手段は、前記焦点調節手段に
より前記複数の被写体に対して合焦するように駆動され
る位置が近距離側で合焦する位置から遠距離側で合焦す
る位置の順に撮影を行うことを特徴とする請求項25に
記載の撮像装置。
27. The photographing means is arranged such that a position driven by the focus adjusting means so as to focus on the plurality of subjects is changed from a position focused on a short distance side to a position focused on a long distance side. The imaging device according to claim 25, wherein the imaging is performed in order.
【請求項28】 焦点調節の対象を特定するための同一
の検出視野に距離の異なる複数の被写体が存在する場合
に、前記複数の被写体それぞれに対して撮影光学系を合
焦するように駆動すると共に、前記複数の被写体に対し
て合焦するように駆動された前記撮影光学系のそれぞれ
の位置で撮影を行うことを特徴とする撮像方法。
28. When a plurality of subjects with different distances are present in the same detection visual field for specifying the target of focus adjustment, the photographing optical system is driven so as to focus on each of the plurality of subjects. At the same time, an image pickup method is characterized in that the plurality of subjects are photographed at respective positions of the photographing optical system driven so as to be in focus.
【請求項29】 撮像センサからの出力信号における高
周波成分の極大値に基づいて前記同一の検出視野に距離
の異なる前記複数の被写体が存在することを判定するこ
とを特徴とする請求項28に記載の撮像方法。
29. The method according to claim 28, wherein it is determined that the plurality of subjects having different distances exist in the same detection visual field based on a maximum value of a high frequency component in an output signal from the image sensor. Imaging method.
【請求項30】 前記撮影光学系が前記複数の被写体に
対して合焦するように駆動される位置が所定値より多い
場合には、前記撮影を行う回数を制限することを特徴と
する請求項29に記載の撮像方法。
30. The number of times of photographing is limited when the number of positions where the photographing optical system is driven so as to focus on the plurality of subjects is larger than a predetermined value. 29. The imaging method according to 29.
【請求項31】 前記複数の被写体に対して合焦するよ
うに駆動される位置が遠距離側で合焦する位置から近距
離側で合焦する位置の順に撮影を行うことを特徴とする
請求項30に記載の撮像方法。
31. The photographing is performed in order of a position driven to focus on the plurality of subjects from a position focused on a long distance side to a position focused on a short distance side. Item 30. The imaging method according to Item 30.
【請求項32】 前記複数の被写体に対して合焦するよ
うに駆動される位置が近距離側で合焦する位置から遠距
離側で合焦する位置の順に撮影を行うことを特徴とする
請求項30に記載の撮像方法。
32. The photographing is performed in the order of a position driven to focus on the plurality of subjects from a position focused on a short distance side to a position focused on a long distance side. Item 30. The imaging method according to Item 30.
【請求項33】 焦点調節の対象を特定するための同一
の検出視野に距離の異なる複数の被写体が存在する場合
に、前記複数の被写体それぞれに対して撮影光学系を合
焦するように駆動すると共に、前記複数の被写体に対し
て合焦するように駆動された前記撮影光学系のそれぞれ
の位置で撮影を行うことを特徴とする撮像制御コンピュ
ータプログラム。
33. When a plurality of subjects with different distances are present in the same detection field of view for specifying the target of focus adjustment, the photographing optical system is driven so as to focus on each of the plurality of subjects. At the same time, an image capturing control computer program for performing image capturing at each position of the image capturing optical system driven so as to focus on the plurality of subjects.
【請求項34】 撮像センサからの出力信号における高
周波成分の極大値に基づいて前記同一の検出視野に距離
の異なる前記複数の被写体が存在することを判定するこ
とを特徴とする請求項33に記載の撮像制御コンピュー
タプログラム。
34. The method according to claim 33, wherein it is determined that the plurality of subjects having different distances are present in the same detection visual field based on a maximum value of a high frequency component in an output signal from the image sensor. Imaging control computer program.
【請求項35】 前記撮影光学系が前記複数の被写体に
対して合焦するように駆動される位置が所定値より多い
場合には、前記撮影を行う回数を制限することを特徴と
する請求項34に記載の撮像制御コンピュータプログラ
ム。
35. The number of times of photographing is limited when the number of positions where the photographing optical system is driven so as to focus on the plurality of subjects is larger than a predetermined value. 34. An imaging control computer program according to 34.
【請求項36】 前記複数の被写体に対して合焦するよ
うに駆動される位置が遠距離側で合焦する位置から近距
離側で合焦する位置の順に撮影を行うことを特徴とする
請求項35に記載の撮像制御コンピュータプログラム。
36. The photographing is performed in order of a position driven to focus on the plurality of subjects from a position focused on a long distance side to a position focused on a short distance side. Item 35. The imaging control computer program according to Item 35.
【請求項37】 前記複数の被写体に対して合焦するよ
うに駆動される位置が近距離側で合焦する位置から遠距
離側で合焦する位置の順に撮影を行うことを特徴とする
請求項36に記載の撮像制御コンピュータプログラム。
37. The photographing is performed in the order of a position driven to focus on the plurality of subjects from a position focused on a short distance side to a position focused on a long distance side. Item 36. An imaging control computer program according to Item 36.
【請求項38】 前記撮像制御コンピュータプログラム
を格納することを特徴とする請求項33に記載の記憶媒
体。
38. The storage medium according to claim 33, which stores the imaging control computer program.
JP2003059972A 2002-03-06 2003-03-06 Imaging apparatus, method therefor and imaging control computer program Pending JP2003333411A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003059972A JP2003333411A (en) 2002-03-06 2003-03-06 Imaging apparatus, method therefor and imaging control computer program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2002-60903 2002-03-06
JP2002060903 2002-03-06
JP2003059972A JP2003333411A (en) 2002-03-06 2003-03-06 Imaging apparatus, method therefor and imaging control computer program

Publications (1)

Publication Number Publication Date
JP2003333411A true JP2003333411A (en) 2003-11-21

Family

ID=29713809

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003059972A Pending JP2003333411A (en) 2002-03-06 2003-03-06 Imaging apparatus, method therefor and imaging control computer program

Country Status (1)

Country Link
JP (1) JP2003333411A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006215379A (en) * 2005-02-04 2006-08-17 Canon Inc Imaging apparatus and imaging method
JP2006245792A (en) * 2005-03-01 2006-09-14 Casio Comput Co Ltd Photographing apparatus and program
JP2007003785A (en) * 2005-06-23 2007-01-11 Pentax Corp Photographing device having autofocus function
JP2008039854A (en) * 2006-08-01 2008-02-21 Canon Inc Focusing device, imaging device and focusing method
EP2006733A1 (en) * 2007-06-19 2008-12-24 Samsung Electronics Co., Ltd. Auto focus apparatus and method for camera
JP2009042621A (en) * 2007-08-10 2009-02-26 Ricoh Co Ltd Imaging apparatus and method
WO2010101269A1 (en) * 2009-03-03 2010-09-10 Ricoh Company, Ltd. Imaging apparatus, reproduction display apparatus, image recording method, and reproduction displaying method
US7821567B2 (en) 2005-01-21 2010-10-26 Canon Kabushiki Kaisha Focus position detection apparatus and method
JP2014056153A (en) * 2012-09-13 2014-03-27 Canon Inc Focus adjustment device, imaging device, and control method therefor
JP2014063190A (en) * 2013-11-22 2014-04-10 Fujifilm Corp Imaging apparatus
US8724981B2 (en) * 2010-06-15 2014-05-13 Ricoh Company, Limited Imaging apparatus, focus position detecting method, and computer program product
US9258545B2 (en) 2010-03-18 2016-02-09 Fujifilm Corporation Stereoscopic imaging apparatus

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7821567B2 (en) 2005-01-21 2010-10-26 Canon Kabushiki Kaisha Focus position detection apparatus and method
JP2006215379A (en) * 2005-02-04 2006-08-17 Canon Inc Imaging apparatus and imaging method
JP4681899B2 (en) * 2005-02-04 2011-05-11 キヤノン株式会社 Imaging apparatus and imaging method
JP2006245792A (en) * 2005-03-01 2006-09-14 Casio Comput Co Ltd Photographing apparatus and program
JP4661269B2 (en) * 2005-03-01 2011-03-30 カシオ計算機株式会社 Imaging apparatus and program
JP2007003785A (en) * 2005-06-23 2007-01-11 Pentax Corp Photographing device having autofocus function
JP2008039854A (en) * 2006-08-01 2008-02-21 Canon Inc Focusing device, imaging device and focusing method
EP2006733A1 (en) * 2007-06-19 2008-12-24 Samsung Electronics Co., Ltd. Auto focus apparatus and method for camera
US8059956B2 (en) 2007-06-19 2011-11-15 Samsung Electronics Co., Ltd. Auto focus apparatus and method for camera
JP2009042621A (en) * 2007-08-10 2009-02-26 Ricoh Co Ltd Imaging apparatus and method
JP2010206552A (en) * 2009-03-03 2010-09-16 Ricoh Co Ltd Imaging apparatus, reproduction display, imaging recording method, and reproduction display method
WO2010101269A1 (en) * 2009-03-03 2010-09-10 Ricoh Company, Ltd. Imaging apparatus, reproduction display apparatus, image recording method, and reproduction displaying method
US8576327B2 (en) 2009-03-03 2013-11-05 Ricoh Company, Ltd. Focus bracket photographing imaging apparatus, reproduction display apparatus, image recording method, and reproduction displaying method
US9258545B2 (en) 2010-03-18 2016-02-09 Fujifilm Corporation Stereoscopic imaging apparatus
US8724981B2 (en) * 2010-06-15 2014-05-13 Ricoh Company, Limited Imaging apparatus, focus position detecting method, and computer program product
JP2014056153A (en) * 2012-09-13 2014-03-27 Canon Inc Focus adjustment device, imaging device, and control method therefor
JP2014063190A (en) * 2013-11-22 2014-04-10 Fujifilm Corp Imaging apparatus

Similar Documents

Publication Publication Date Title
JP6512810B2 (en) Image pickup apparatus, control method and program
CN102761690B (en) Imaging apparatus and method for controlling the same
JP4582152B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM
JP5411508B2 (en) Imaging apparatus and control method thereof
CN107850753B (en) Detection apparatus, detection method, detection program, and imaging apparatus
JP2013013050A (en) Imaging apparatus and display method using imaging apparatus
JP2006208558A (en) Imaging device
JP2003185912A (en) Focus adjusting device, imaging unit, focusing method, program and storage medium
JP2007281873A (en) Imaging device
US7391461B2 (en) Apparatus, method and control computer program for imaging a plurality of objects at different distances
JP6391304B2 (en) Imaging apparatus, control method, and program
JP2010160269A5 (en)
JP2008281701A (en) Focus adjusting device, imaging apparatus and focus adjusting method
JP2019028403A (en) Focus adjustment device and method
JP2003333411A (en) Imaging apparatus, method therefor and imaging control computer program
JP2014126612A (en) Imaging device and control method therefore
US8547454B2 (en) Digital image photographing apparatuses and methods of controlling the same to provide location information
KR20130052372A (en) Digital photographing apparatus and method thereof
JP2015005925A (en) Image processing apparatus and image processing method
JP4194604B2 (en) Automatic focusing device and imaging device
JP6234016B2 (en) Focus adjustment device, imaging device, and control method thereof
JP5486662B2 (en) Imaging device and camera body
KR20100093955A (en) Method of magnifying the image in digital image processing device
JP6274779B2 (en) Focus adjustment device, imaging device, and focus adjustment method
JP2013210572A (en) Imaging device and control program of the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20031225

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20031225

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20040216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040224

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050614