JPH03164727A - Focus detecting photometric device - Google Patents

Focus detecting photometric device

Info

Publication number
JPH03164727A
JPH03164727A JP1306154A JP30615489A JPH03164727A JP H03164727 A JPH03164727 A JP H03164727A JP 1306154 A JP1306154 A JP 1306154A JP 30615489 A JP30615489 A JP 30615489A JP H03164727 A JPH03164727 A JP H03164727A
Authority
JP
Japan
Prior art keywords
group
focus detection
area
photometric
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP1306154A
Other languages
Japanese (ja)
Other versions
JP2958997B2 (en
Inventor
Tadao Kai
甲斐 糾夫
Tadao Takagi
忠雄 高木
Shigeyuki Uchiyama
内山 重之
Hiroyuki Iwasaki
宏之 岩崎
Yosuke Kusaka
洋介 日下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP30615489A priority Critical patent/JP2958997B2/en
Publication of JPH03164727A publication Critical patent/JPH03164727A/en
Application granted granted Critical
Publication of JP2958997B2 publication Critical patent/JP2958997B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To obtain the photometric value optimum for the region of the optimum group used for the computation of focus detection by rearranging the results of the focus detection of plural focus detecting photometric regions to the group considered to be the same subject and emphatically executing photometry of the selected group. CONSTITUTION:This device has a focus detecting means 2 which detects the defocusing quantity of the present image plane to the respective prescribed planes in the plural focus detecting regions, a photometric means 3, a grouping means 4 which rearranges the plural focus detecting regions to plural groups according to the defocusing quantity of the regions, a selecting means 5 which selects the one optimum group from the plural groups, an optimum defocusing quantity computing means 6 which calculates the defocusing quantity in accordance with the defocusing quantity of the focus detecting region belonging to this optimum group, and a photometric computing means 7 which obtains the optimum arithmetic value of photometry by increasing the weighting in the photometric output of the region belonging to the optimum group. The computation of the optimum photometric value is possible in this way even in the case in which the main subject is across the plural discrete photometric regions.

Description

【発明の詳細な説明】 A、産業上の利用分野 本発明は、焦点検出と連動した複数領域の測光を行って
最適測光値を算出する焦点検出測光装置に関する。
DETAILED DESCRIPTION OF THE INVENTION A. Field of Industrial Application The present invention relates to a focus detection photometry device that calculates an optimal photometry value by performing photometry in a plurality of areas in conjunction with focus detection.

B、従来の技術 この種の従来装置としては特開昭63−58324号、
特開平1−105221号に開示されているものが知ら
れている。これらの装置は、被写界における複数領域ま
たは複数点について焦点検出する手段と、それら焦点検
出領域または点と同一の複数領域またはそれらを含む領
域についてスポット測光する測光手段とを有し、焦点検
出結果に基づき撮影レンズを合焦させるべき焦点検出領
域が選択されると、その選択された領域に対応する測光
領域の測光値が選択され、その選択された測光値に基づ
いて露出表示または制御を行うものである。
B. Prior art As a conventional device of this type, Japanese Patent Application Laid-Open No. 63-58324,
The one disclosed in Japanese Patent Application Laid-open No. 1-105221 is known. These devices have means for detecting focus on multiple areas or points in a subject, and photometry means for performing spot photometry on multiple areas that are the same as the focus detection areas or points, or areas that include them. When the focus detection area in which the photographic lens should be focused is selected based on the result, the photometric value of the photometric area corresponding to the selected area is selected, and exposure display or control is performed based on the selected photometric value. It is something to do.

C0発明が解決しようとする課題 このような従来の装置においては、選択されるべき合焦
値は各々単一の焦点検出領域により得られた焦点検出出
力の内の一つを選択したものであり、従って、その焦点
検出結果と連動して測光値として採用される領域も上記
選択された単一の合焦検出領域に対応していた。そのた
め、中抜は被写体などのように、!!散的に複数存在し
どちらもほぼ同一の距離にありかつ同様に主要被写体で
ある場合、どちらか一方の被写体をにらむ合焦検出領域
に対応する測光領域の測光出力をもって測光値としてし
まうのは片手落ちである。
Problems to be Solved by the Invention In such conventional devices, the focus value to be selected is selected from one of the focus detection outputs obtained by each single focus detection area. Therefore, the area adopted as the photometric value in conjunction with the focus detection result also corresponded to the single focus detection area selected above. Therefore, the middle part is like the subject, etc. ! If there are multiple subjects scattered around, both of which are at approximately the same distance and also the main subject, it would be a mistake to use the photometric output of the photometric area corresponding to the focus detection area facing one of the subjects as the photometric value. It is.

本発明の目的は、主要被写体が複数の離散測光領域にま
たがった場合にも最適な測光値を演算可能とすることに
ある。
SUMMARY OF THE INVENTION An object of the present invention is to make it possible to calculate an optimal photometric value even when a main subject straddles a plurality of discrete photometric areas.

D、ill!題を解決するための手段 クレーム対応図である第1図により説明すると。D, ill! means to solve the problem This will be explained with reference to FIG. 1, which is a complaint correspondence diagram.

本発明に係る焦点検出測光装置は、被写体像を所定面上
に形成するための撮影光学系1と、撮影画面内に設定さ
れた複数の焦点検出領域AREA(j)(ただし、j=
1〜f)において、それぞれ上記所定面に対する現在の
像面のデフォーカス量DEF(j)(ただし、j=1〜
f)を検出する焦点検出手段2と、複数の焦点検出領域
AREA (j)と路間−の領域について各々測光出力
Bv(j)を得る測光手段3と、複数の焦点検出領域A
REA (j)をその領域のデフォーカス量に応じて複
数のグループGRP(i)(ただし、i=l〜e)にま
とめるグループ化手段4と、複数のグループGRP (
i)の中から合焦すべき被写体の像が形成されていると
予想される一つの最適グループGRP (w)を選択す
る選択手段5と、最適グループGRP (w)に属する
焦点検出領域のデフォーカス量に基づいてデフォーカス
量DEFXを算出する最適デフォーカス量演算手段6と
、最適グループGRP (w)に属する領域の測光出力
に重み付けを大きくして最適な測光演算値B vans
を得る測光演算手段7とを具備することにより、上記技
術的課題を解決する。
The focus detection photometry device according to the present invention includes a photographing optical system 1 for forming a subject image on a predetermined plane, and a plurality of focus detection areas AREA(j) (where j=
1 to f), the current defocus amount DEF(j) of the image plane with respect to the above-mentioned predetermined plane (however, j=1 to
a focus detection means 2 for detecting f), a photometry means 3 for obtaining a photometry output Bv(j) for each of the plurality of focus detection areas AREA (j) and the area between the two areas, and a plurality of focus detection areas A
a grouping means 4 for grouping REA (j) into a plurality of groups GRP(i) (where i=l to e) according to the defocus amount of the area;
a selection means 5 for selecting one optimal group GRP (w) in which an image of a subject to be focused is expected to be formed from among i); Optimal defocus amount calculation means 6 calculates the defocus amount DEFX based on the focus amount, and increases the weighting of the photometry output of the area belonging to the optimal group GRP (w) to obtain the optimal photometry calculation value B vans
The above-mentioned technical problem is solved by providing the photometric calculation means 7 for obtaining the above-mentioned.

E0作用 カメラ等の撮影光学系1によって形成される被写体像の
一部が1周知の焦点検出光学系、イメージセンサ、マイ
コン(CPU)等から成る焦点検出手段2に導かれる。
A part of a subject image formed by a photographing optical system 1 such as an E0 effect camera is guided to a focus detection means 2 comprising a well-known focus detection optical system, an image sensor, a microcomputer (CPU), and the like.

焦点検出手段2は、第5図に示すごとく撮影画面に設定
された複数の焦点検出領域(AREA(j) 、j=l
〜f(第5図ではf=8))に対応するイメージセンサ
のデータに周知の焦点検出演算を施して、複数の焦点検
出領域のデフォーカス量(oEF(j))を求める。
The focus detection means 2 detects a plurality of focus detection areas (AREA(j), j=l) set on the photographing screen as shown in FIG.
~f (f=8 in FIG. 5)) is subjected to well-known focus detection calculations to obtain defocus amounts (oEF(j)) of a plurality of focus detection areas.

測光手段3は11数の焦点検出領域AREA(j)と路
間−の領域を測光し、測光出力By(j)を得る。グル
ープ化手段4は、デフォーカス量(DEF (j))に
基づいて、複数の焦点検出領域AREA (j)を、同
一の被写体を捕捉していると思われる焦点検出領域毎に
いくつかのグループ(GRP (i) 、i=l〜e)
にまとめる。
The photometer 3 measures the light in the eleven focus detection areas AREA(j) and the area between them, and obtains a photometry output By(j). The grouping means 4 groups the plurality of focus detection areas AREA (j) into several groups for each focus detection area that seems to capture the same subject based on the defocus amount (DEF (j)). (GRP (i), i=l~e)
summarized in.

最適グループ選択手段5は複数のグループ(GRP(i
))の中から、撮影者の意図する被写体となる可能性が
高い被写体を捕捉している最適グループ(GRP(w)
)を選択する。
The optimal group selection means 5 selects a plurality of groups (GRP(i
)), the optimal group (GRP(w)
).

最適デフォーカス量演算手段6は最適グループ(GRP
 (w))に属する焦点検出領域のデフォーカス量に基
づいて、系全体としての最適デフォーカス量DEFXを
算出する。
The optimum defocus amount calculating means 6 is an optimum group (GRP).
Based on the defocus amount of the focus detection area belonging to (w)), the optimum defocus amount DEFX for the entire system is calculated.

測光演算手段7は、最適グループ(GRP (W))に
属する領域の測光出力に重み付けを大きくして最適な測
光演算値B vansを得る。
The photometric calculation means 7 increases the weighting of the photometric output of the area belonging to the optimal group (GRP (W)) to obtain the optimal photometric calculation value B vans.

これにより、ばらつきの少ない安定したデフォーカス量
を得るとともに、焦点検出演算に用いられている最適グ
ループの領域に最適な測光値が得られる。
As a result, a stable defocus amount with little variation can be obtained, and an optimal photometric value can be obtained for the region of the optimal group used in the focus detection calculation.

F、実施例 一部1の実施例− 第2図により本発明に係る焦点検出装置をレンズ交換型
−眼レフカメラシステムに適用した場合の第1の実施例
の構成について説明する。
F. Example of Part 1 of Embodiment The configuration of a first example in which the focus detection device according to the present invention is applied to an interchangeable lens type eye reflex camera system will be described with reference to FIG.

カメラボディ20に対して交換可能なレンズ10が着脱
自在にマウントし得るようにされている。レンズ10を
装着した状態において、被写体から到来する撮影光束は
、撮影レンズ11を通ってカメラボディ20に設けられ
ているメインミラー21により一部は反射されてファイ
ンダーに導かれ、他の一部はメインミラー21を透過し
てサブミラー22により反射され、焦点検出用の光束と
してAFモジュール23に導かれる。
An exchangeable lens 10 can be detachably mounted on a camera body 20. When the lens 10 is attached, a part of the photographic light beam coming from the subject passes through the photographic lens 11 and is reflected by the main mirror 21 provided on the camera body 20 and guided to the finder, and the other part is reflected by the main mirror 21 provided on the camera body 20. The light passes through the main mirror 21, is reflected by the sub-mirror 22, and is guided to the AF module 23 as a light beam for focus detection.

AFモジュールは第3図に示すように、視野マス70、
フィールドレンズ27.ハーフミラ−120および1対
の再結像レンズ28A、28Bからなゐ焦点検出光学系
24と、1対の受光部29A、29BからなるCCD等
の光電変換装置25とから構成されている。
As shown in FIG. 3, the AF module has a field of view mass 70,
Field lens 27. It is composed of a focus detection optical system 24 consisting of a half mirror 120 and a pair of re-imaging lenses 28A and 28B, and a photoelectric conversion device 25 such as a CCD consisting of a pair of light receiving sections 29A and 29B.

以上のような構成において、撮影レンズ11の射出1l
f16に含まれる光軸17に対して対称な1対の領域1
8A、18Bをそれぞれ通る光束は。
In the above configuration, the exit 1l of the photographic lens 11
A pair of regions 1 symmetrical with respect to the optical axis 17 included in f16
The luminous flux passing through 8A and 18B respectively is.

第5A図に示す焦点検出測光領域全体に対応した開口形
状を有する視野マス70付近で一次像を形成する。視野
マス70の開口部に形成された一次像の一部は更に、フ
ィールドレンズ27および1対の再結像レンズ28A、
28Bにより光電変換装置25の1対の受光部29A、
29B上に1対の二次像として形成される。
A primary image is formed near a field mass 70 having an aperture shape corresponding to the entire focus detection photometry area shown in FIG. 5A. A portion of the primary image formed at the opening of the field mass 70 is further formed by a field lens 27 and a pair of reimaging lenses 28A,
28B, a pair of light receiving parts 29A of the photoelectric conversion device 25,
29B as a pair of secondary images.

周知のように光電変換装置25上で対になった二次像の
受光部並び方向の相対的位置関係を検出することにより
、撮影レンズ11のデフォーカス量を検出できる。また
この位置関係を第5A図のごとく撮影画面上に設定され
た複数の焦点検出領域毎に行うことにより、各焦点検出
領域毎にデフォーカス量を検出することができる。
As is well known, the amount of defocus of the photographic lens 11 can be detected by detecting the relative positional relationship of the paired secondary images in the direction in which the light receiving sections are lined up on the photoelectric conversion device 25. Furthermore, by performing this positional relationship for each of a plurality of focus detection areas set on the photographing screen as shown in FIG. 5A, it is possible to detect the amount of defocus for each focus detection area.

第4図に光電変換装置25上での受光部の配置構成を示
す。
FIG. 4 shows the arrangement of light receiving sections on the photoelectric conversion device 25.

受光部29A、29Bは各々n個の受光素子AP+ B
p (p=1〜n)から成り、−次像がフィルム面と一
致しているときに、対応する各一対の受光素子(Alと
B1.A2と82.・・・)の出力が等しくなるように
配置されている。
The light receiving sections 29A and 29B each have n light receiving elements AP+B.
p (p=1 to n), and when the -order image coincides with the film surface, the outputs of each corresponding pair of light receiving elements (Al and B1, A2 and 82,...) are equal. It is arranged like this.

受光部29A、29Bを形成する受光素子は、フォトダ
イオード等の電荷蓄積型素子によって構成されており、
光電変換装置25上の照度に応じた電荷蓄積時間だけ電
荷蓄積を行うことにより、受光素子出力信号を後述の焦
点検出演算に適する出力レベルに制御することができる
The light-receiving elements forming the light-receiving sections 29A and 29B are composed of charge storage type elements such as photodiodes,
By accumulating charges for a charge accumulation time corresponding to the illuminance on the photoelectric conversion device 25, it is possible to control the light receiving element output signal to an output level suitable for focus detection calculations to be described later.

以上のごとく焦点検出光学系を構成することにより、撮
影画面上に第5図に示すような複数の焦点検出領域が設
定される。
By configuring the focus detection optical system as described above, a plurality of focus detection areas as shown in FIG. 5 are set on the photographing screen.

再び第2図に戻り説明を続ける。Returning to FIG. 2 again, the explanation will be continued.

一方、AFモジュール中のハーフミラ−120によって
反射された測光用の光束は、測光モジュール130中の
測光光学系132の再結像レンズによって測光用光電変
換装置134上に結像される。測光用光電変換装置13
4は、第5B図に示すようにフォトダイオードの受光面
が分割され、分割された領域に各々電流電圧変換回路が
配設されており、各々測光する領域が焦点検出の分割領
域と路間−となるように設定されている。上記電流電圧
変換回路の各出力はAECPUlooのボートP7〜P
14に送られる。
On the other hand, the photometric light beam reflected by the half mirror 120 in the AF module is imaged onto the photometric photoelectric conversion device 134 by the re-imaging lens of the photometric optical system 132 in the photometric module 130. Photoelectric conversion device 13 for photometry
4, the light-receiving surface of the photodiode is divided as shown in FIG. 5B, and a current-voltage conversion circuit is disposed in each divided area, and each photometering area is located between the focus detection divided area and the path. It is set so that Each output of the above current-voltage conversion circuit is the AECPUloo boat P7 to P
Sent to 14th.

センサ制御部26は、AFCPU (AF用のCPU)
30のボートP4からの電荷蓄積開始および終了指令を
受は取り、指令に応じた制御信号を光電変換装置25に
与えることにより光電変換装置25の電荷蓄積時間を制
御する。また転送りロック信号等を光電変換装置25に
与え、受光素子出力信号を時系列的にAFCPU30に
転送するとともに、受光素子出力信号の転送開始に同期
した同期信号をAFCPU30のボートP4に送る。A
FCPU30はこの信号に同期して、内蔵したA/Dコ
ンバータによりボートP3に入力する受光素子出力信号
のA/D変換を開始し、受光素子数叫応じたA/D変換
データを得る。A/D変換が終了すると、得られたデー
タに対して後述するデータ処理を行い最適デフォーカス
量を求める。
The sensor control unit 26 is an AFCPU (CPU for AF)
It receives and receives charge accumulation start and end commands from the boat P4 of 30, and controls the charge accumulation time of the photoelectric conversion device 25 by giving control signals corresponding to the commands to the photoelectric conversion device 25. It also provides a transfer lock signal and the like to the photoelectric conversion device 25 to transfer the light-receiving element output signal to the AFCPU 30 in time series, and sends a synchronization signal synchronized with the start of transfer of the light-receiving element output signal to the boat P4 of the AFCPU 30. A
In synchronization with this signal, the FCPU 30 starts A/D conversion of the light receiving element output signal input to the boat P3 using the built-in A/D converter, and obtains A/D conversion data corresponding to the number of light receiving elements. When the A/D conversion is completed, the obtained data is subjected to data processing, which will be described later, to determine the optimum defocus amount.

すなわち、第1図における焦点検出手段2.グループ化
手段3.最適グループ選択手段4.最適デフォーカス量
演算手段5の動作はA F Cr’ U30のプログラ
ムによって実現されることになる。
That is, the focus detection means 2 in FIG. Grouping means 3. Optimal group selection means 4. The operation of the optimum defocus amount calculating means 5 is realized by the program of A F Cr' U30.

AFCPU30は最適デフォーカス量に基づき、AF表
示装置40の表示部41.42,43゜44の表示形態
をポートP5を用いて制御する。
The AF CPU 30 controls the display form of the display units 41, 42, 43° 44 of the AF display device 40 using the port P5 based on the optimum defocus amount.

またAFCPU30は、最適デフォーカス量に基づいて
AFモータ50の駆動方向および駆動量を以下のように
制御して、撮影レンズ11を合焦点に移動させる。
Furthermore, the AFCPU 30 controls the driving direction and driving amount of the AF motor 50 as described below based on the optimum defocus amount to move the photographing lens 11 to the in-focus point.

まずAFCPtJ30はデフォーカス量の符号(前ピン
、後ピン)に従ってポートP2からAFモータ50を撮
影レンズ11が合焦点に近づく方向へ回転させる駆動信
号を発生する。AFモータ50の回転運動は、ボディ2
0とレンズ10のマウント部に設けられたボディ側のカ
ップリング53とこれに嵌合するレンズ側のカップリン
グ14に伝達され、更にレンズ10に内蔵されたギヤ等
から構成されたレンズ伝達系12を経て、最終的に撮影
レンズ11を合焦方向へ移動させる。
First, the AFCPtJ30 generates a drive signal from the port P2 to rotate the AF motor 50 in a direction in which the photographing lens 11 approaches the in-focus point according to the sign of the defocus amount (front focus, rear focus). The rotational movement of the AF motor 50 is caused by the rotation of the AF motor 50.
0, a body-side coupling 53 provided on the mount portion of the lens 10, and a lens-side coupling 14 fitted thereto, and a lens transmission system 12 comprising gears etc. built into the lens 10. Finally, the photographing lens 11 is moved in the focusing direction.

AFモータ50の駆動量は、ボディ伝達系51を構成す
るギヤ等の回転量を、フォトインタラプタ等から構成さ
れるエンコーダ52によりパルス列信号に変換される。
The amount of drive of the AF motor 50 is determined by converting the amount of rotation of gears and the like constituting the body transmission system 51 into a pulse train signal by an encoder 52 composed of a photointerrupter or the like.

そのパルス列信号はポートP1にフィードバックされ、
AFCPU30はパルス数をカウントすることによりA
Fモータ50の駆動量を検出しその制御を行う。
The pulse train signal is fed back to port P1,
The AFCPU 30 calculates A by counting the number of pulses.
The drive amount of the F motor 50 is detected and controlled.

レンズ10にはレンズCPU13が内蔵されており、マ
ウント部に設けられたレンズ側接点15゜ボディ側接点
63等から形成された通信バス64を介して、ポートP
6によりAFCPU30と接続され、レンズ10のAF
関連情報がAFCPU30に送られる。
The lens 10 has a built-in lens CPU 13, and is connected to the port P via a communication bus 64 formed from a lens side contact 15 and a body side contact 63 provided on the mount.
6 connects to the AFCPU 30 and controls the AF of the lens 10.
Related information is sent to AFCPU30.

焦点検出モード選択装置80は、自動または手動により
選択された焦点検出モード(中央重点。
The focus detection mode selection device 80 selects a focus detection mode (center weighted) automatically or manually selected.

至近優先、信頼度優先、合焦優先等)の情報をポートP
7に送り、AFCPU30はこの情報に基づいて焦点検
出処理を切り替える。
Port P
7, and the AFCPU 30 switches focus detection processing based on this information.

AECPUlooは測光用光電変換装置134からの各
領域の光電出力をポートP7〜P14から受は取り、逐
次AD変換を行い所定の定数を掛は合わせて対数圧縮し
各領域の測光値Bv(j)を算出する。
AECPUloo receives the photoelectric output of each region from the photoelectric conversion device 134 for photometry from ports P7 to P14, sequentially performs AD conversion, multiplies them by a predetermined constant, logarithmically compresses them, and obtains the photometric value Bv(j) of each region. Calculate.

またAFCPU30のポートP9よりAFCPU30内
で演算される各領域のデフォーカス量およびグループ、
最適グループ、最適デフォーカス量の各情報をポートP
2に受は取り、上記測光値と各情報により最適測光値を
演算する。すなわち。
In addition, the defocus amount and group of each area calculated in the AFCPU 30 from the port P9 of the AFCPU 30,
Information on optimal group and optimal defocus amount is sent to port P.
Step 2 is to calculate the optimum photometric value using the photometric value and each piece of information. Namely.

第1図における測光手段3、測光演算手段7の動作はA
ECPUlooのプログラムによって実現されているこ
とになる。
The operations of the photometric means 3 and the photometric calculation means 7 in FIG.
This is realized by the ECPUloo program.

最適測光値の演算後、AECPUI 00はポートP3
、P4、P5を用いてシャッタ制御装置140、絞り制
御装置150、ストロボ制御装置160を単独にもしく
は並列的に制御し、適正露光をフィルムに与える。
After calculating the optimal photometric value, AECPUI 00 is set to port P3.
, P4, and P5 to control the shutter control device 140, aperture control device 150, and strobe control device 160 individually or in parallel to provide proper exposure to the film.

測光モード変換装置180は自動または手動により選択
された測光モードの情報をポートP6に送り、AECP
Ulooはこの情報に基づいて最適開光値演算の処理を
切換える。
The photometry mode converter 180 sends information on the automatically or manually selected photometry mode to port P6, and converts it to AECP.
Uloo switches the optimum aperture value calculation process based on this information.

以上が本発明に係る焦点検出測光装置を一眼レフカメラ
に適用した実施例の構成および動作の概要である。
The above is an overview of the configuration and operation of an embodiment in which the focus detection photometry device according to the present invention is applied to a single-lens reflex camera.

次に、AFCPU30の内部で行われる複数の領域に対
する焦点検出、グループ化、最適グループ選択、最適デ
フォーカス量の算出およびAECPU100内部で行わ
れる測光演算の詳細について説明する。
Next, details of focus detection, grouping, optimal group selection, calculation of optimal defocus amount for a plurality of areas performed within the AFCPU 30, and photometry calculation performed within the AECPU 100 will be described.

く焦点検出処理〉 まず第6図、第7図を用いて焦点検出処理について説明
する。
Focus Detection Process> First, the focus detection process will be explained using FIGS. 6 and 7.

AFCPU30がA/D変換して得た、受光素子AP、
Bp (p=l〜n)に対応する受光素子出力データを
aP* bp (p=1〜n)とする。
The light receiving element AP obtained through A/D conversion by the AFCPU30,
The light receiving element output data corresponding to Bp (p=1 to n) is assumed to be aP*bp (p=1 to n).

受光素子出力データap、bpに対してまず(1)式に
示す相関演算によって各焦点検出領域毎に相関量C(j
、L)が求められる。
First, the correlation amount C(j
, L) is obtained.

C(j、L)=ΣIa(r+[、) −b(r)l  
−(1)ただしく1)式において、Lは整数であり一対
の受光素子出力データの受光素子のピッチを単位とした
相対的シフト量(ずらし量)であり、Jは焦点検出領域
を表わしている。また(1)式の積算演算においてパラ
メータrのとる範囲は、シフト量りおよび焦点検出領域
jに応じて適宜決定される。
C(j, L)=ΣIa(r+[,) −b(r)l
- (1) However, in equation 1), L is an integer and is the relative shift amount (shift amount) of the pair of light receiving element output data in units of the pitch of the light receiving elements, and J represents the focus detection area. . Further, in the integration calculation of equation (1), the range taken by the parameter r is determined as appropriate depending on the shift amount and the focus detection area j.

受光素子出力データaPs bpをマトリックスの行列
に対応させた場合、例えば第6図に示すように、(1)
式における受光素子出力データの組合せ、即ちパラメー
タrのとる範囲を決めることができる。第6図において
シフト量りは−2〜+2の範囲で動かさ、れ、太線で囲
まれた領域が相関演算が行われる受光素子出力データの
組合せのマトリックス上の位置を表わしている。
When the light receiving element output data aPs bp corresponds to a matrix, for example, as shown in FIG. 6, (1)
The combination of light-receiving element output data in the equation, that is, the range of the parameter r can be determined. In FIG. 6, the shift scale is moved in the range of -2 to +2, and the area surrounded by thick lines represents the position on the matrix of the combination of light receiving element output data at which the correlation calculation is performed.

例えばシフト量りが0の場合、(1)式のパラメータr
のとる範囲は焦点検出領域j毎に次式のようになる。
For example, if the shift amount is 0, the parameter r in equation (1)
The range taken for each focus detection area j is as shown in the following equation.

j=1の時  r=1〜t j=2の時  r = t +1〜X j=6の時  r = u +1〜V j;4の時  r=v +1〜W j=5の時  r = w +1〜X j=6の時  r=x+1〜y j=7の時  r=y+1〜2 j=8の時  r=z+1〜n  ・・・(2)各焦点
検出領域において受光素子出力データの相関が最も高い
シフト量xm (j)は、(1)式の結果に対して1本
出願人が特開昭60−37513号公報に開示した3点
内挿法を適用することにより(3)式のごとく求められ
る。
When j=1 r=1~t When j=2 r=t +1~X When j=6 r=u +1~V j;4 When r=v +1~W When j=5 r= w +1 to X When j=6 r=x+1 to y When j=7 r=y+1 to 2 When j=8 r=z+1 to n... (2) The light receiving element output data in each focus detection area The shift amount xm (j) with the highest correlation is determined by applying the three-point interpolation method disclosed in Japanese Patent Application Laid-Open No. 60-37513 by the applicant to the result of equation (1) (3) It can be obtained as shown in the formula.

ただしく3)式においてDおよび5LOPは、離散的に
求められた相関量C(j、L)の最小値がシフト量L=
xにおいて得られるとすると、次式%式% ) (5) また(3)式で求めたシフト量xm(j)より各焦点検
出領域毎のデフォーカス量DEF (j)を次式で求め
ることができる。
However, in equation 3), D and 5LOP are such that the minimum value of the discretely determined correlation amount C(j, L) is the shift amount L=
Assuming that it can be obtained at Can be done.

DEF(j)=KX(j)XPY(j)Xxm(j)+
CZ(j)・・・(6) (6)式において、PY (j)は、焦点検出領域毎の
受光素子の並び方向のピッチであり、領域に応じた値が
AFCPU30に記憶されている。
DEF(j)=KX(j)XPY(j)Xxm(j)+
CZ(j) (6) In equation (6), PY (j) is the pitch in the direction in which the light receiving elements are lined up for each focus detection area, and a value corresponding to the area is stored in the AFCPU 30.

KX (j)は、第3図の焦点検出光学系の構成によっ
て焦点検出領域毎に決まる係数であり、領域に応じた値
がAFCPU30に記憶されている。
KX (j) is a coefficient determined for each focus detection area by the configuration of the focus detection optical system shown in FIG. 3, and a value corresponding to the area is stored in the AFCPU 30.

cz (j)は領域毎のオフセット値であり、撮影光学
系の収差量(レンズCPU13から読みだす)とボディ
20に対するAFモジュール23の位置調整状態によっ
て決まる補正値(ボディ毎にE E P ROMに記憶
されている)とからなる。
cz (j) is an offset value for each area, and is a correction value determined by the amount of aberration of the photographing optical system (read from the lens CPU 13) and the position adjustment state of the AF module 23 with respect to the body 20 (stored in the EEPROM for each body). (remembered).

また(5)式で求めたパラメータ5LOP (j)は被
写体像のコントラストとに概ね比例した量であって、そ
の値が大きいほど相関量C(j、L)の極小値付近のへ
こみが深く、相関が大きいことを示し、従って求められ
たデフォーカス量DEF(j)の信頼性が高いことを示
している。
Furthermore, the parameter 5LOP (j) obtained by equation (5) is an amount roughly proportional to the contrast of the subject image, and the larger the value, the deeper the depression near the minimum value of the correlation amount C (j, L). This shows that the correlation is large, and therefore the reliability of the obtained defocus amount DEF(j) is high.

なお、極小値xm (j)が見つからずデフォーカス量
DEF (j)が定まらなかった場合や、デフォーカス
量DEF(j)は求ったが5LOP(j)が小さく信頼
性が低い場合は、焦点検出不能と判定してデフォーカス
量DEF (j)”ωとする。
In addition, if the minimum value xm (j) is not found and the defocus amount DEF (j) cannot be determined, or if the defocus amount DEF (j) is found but 5LOP (j) is small and the reliability is low, It is determined that the focus cannot be detected and the defocus amount DEF (j)"ω is set.

第7図は上述の焦点検出処理の動作を示すフローチャー
トである。
FIG. 7 is a flowchart showing the operation of the focus detection process described above.

まずステップ#95でj=1として焦点検出領域を初期
化する。ステップ#lOOで焦点検出傾ft1AREA
 (j)で相関演算を行い、相関量C(j、L)を求め
る。ステップ#1o5で3点内挿法によりxm (j)
+ 5LOP (j)を求める。
First, in step #95, the focus detection area is initialized by setting j=1. Focus detection tilt ft1AREA in step #lOO
A correlation calculation is performed in (j) to obtain the correlation amount C(j, L). xm (j) by three-point interpolation in step #1o5
Find +5LOP (j).

ステップ#110ではxm(j)が求ったが判定し、求
まらなかった場合はステップ#125に進み、求まった
場合はステップ#115で5LOP(j)が所定値TS
を越えているが判定し、TS以下であった場合、即ち信
頼性がないと判定された場合はステップ#125に進む
、ステップ#115でTSより大きいと判定された場合
は。
In step #110, it is determined whether xm(j) has been found, and if it has not been found, the process proceeds to step #125, and if it has been found, 5LOP(j) is set to the predetermined value TS.
If it is determined that it exceeds TS, that is, if it is determined that there is no reliability, the process proceeds to step #125, and if it is determined in step #115 that it is greater than TS.

ステップ#120に進みデフォーカス量DEF(j)を
求め、ステップ#130に進む。一方、ステップ#12
5に進んだ場合は焦点検出不能と判定してDEF (j
)=ωとし、ステップ#130に進む。ステップ#13
0ではj=j+1として焦点検出領域を次の領域に更新
し、ステップ#135でj=9(焦点検出領域が終了)
となったか判定し、j=9でなかった場合はステップ#
1oOに戻り次の焦点検出領域で相関演算を行う6ステ
ツプ#135でj=9となった場合は全ての領域での焦
点検出が終了したので、焦点検出処理を抜け、ステップ
#140のグループ化処理に進む。
The process proceeds to step #120, where the defocus amount DEF(j) is determined, and the process proceeds to step #130. Meanwhile, step #12
If you proceed to step 5, it is determined that focus cannot be detected and DEF (j
)=ω, and proceed to step #130. Step #13
0, the focus detection area is updated to the next area with j=j+1, and in step #135, j=9 (the focus detection area is finished).
Determine if j is not 9, and if j is not 9, proceed to step #
Return to 1oO and perform correlation calculation in the next focus detection area. If j = 9 in step #135, focus detection has been completed in all areas, so exit the focus detection process and perform grouping in step #140. Proceed to processing.

以上のようにして全ての焦点検出領域においてデフォー
カス量を決定することができる。上記説明では第5図に
示した焦点検出領域を8分割して、各々の領域のデフォ
ーカス量を検出したが、検出領域の形や分割数はこれに
限られることはない。
As described above, the amount of defocus can be determined in all focus detection areas. In the above description, the focus detection area shown in FIG. 5 is divided into eight parts, and the defocus amount of each area is detected, but the shape of the detection area and the number of divisions are not limited to this.

また検出領域を互いにオーバーラツプさせたり、領域境
界を被写体像の強度分布に応じて変更するようにしても
構わない。
Furthermore, the detection areas may overlap each other, or the area boundaries may be changed depending on the intensity distribution of the subject image.

くグループ化処理〉 グループ化処理は、焦点検出処理によって求められた複
数のデフォーカス量に応じて、複数の焦点検出領域を、
同一の被写体を捕捉している可能性が高いグループにま
とめる。
Grouping process> The grouping process groups multiple focus detection areas according to the multiple defocus amounts obtained by the focus detection process.
Group images that are likely to capture the same subject.

第8図はグループ化処理の一実施例を示すフローチャー
トである。
FIG. 8 is a flowchart showing one embodiment of the grouping process.

ステップ#200ではまず、第9図に示すごとく焦点検
出領域をその領域のデフォーカス量に従って大きい順に
並べかえ(至近に近い順)、順番に1から番号kをつけ
る。ただし焦点検出不能(デフォーカス量DEF (j
)=O))の領域は番号をつけないこととし、すべての
領域で検出不能の場合は番号kをOとする。また最終番
号をKLとする。したがってKL=Oの場合は全ての領
域で焦点検出不能であることを意味する。
In step #200, first, as shown in FIG. 9, the focus detection areas are rearranged in ascending order (in order of closest distance) according to the amount of defocus of the area, and are numbered from 1 to k in order. However, focus cannot be detected (defocus amount DEF (j
)=O)) The area is not numbered, and if it is undetectable in all areas, the number k is set to O. Also, the final number is KL. Therefore, when KL=O, it means that focus cannot be detected in all areas.

ステップ#205ではKL=O,即ち全ての領域で焦点
検出不能であるか判定し、不能であった場合は、ステッ
プ#210に進み、全領域で焦点検出不能だったとして
それ以降の処理をキャンセルして次の焦点検出動作を開
始する。不能でなかった場合は、ステップ#215でグ
ループ化処理で使用されるデフォーカス軸上でのゾーン
の大きさ、即ち像面深度をつぎのように決定する。
In step #205, it is determined whether KL=O, that is, the focus cannot be detected in all regions. If it is not possible, the process proceeds to step #210, and the subsequent processing is canceled as it is determined that the focus cannot be detected in all the regions. to start the next focus detection operation. If it is not possible, in step #215, the size of the zone on the defocus axis used in the grouping process, that is, the depth of the image plane, is determined as follows.

例1:像面深度は撮影光学系の撮影時のF値に従って変
化し、F値が小さい場合は深度も深く同一被写体とみな
してよいゾーンZONEの大きさも広がるので、撮影F
値に従ってゾーンの大きさを決やる。
Example 1: The depth of field changes according to the F value of the photographic optical system at the time of shooting, and when the F value is small, the depth is deep and the size of the zone ZONE that can be considered as the same subject increases, so the shooting F
Determine the size of the zone according to the value.

例2:ゾーンの大きさを所定値に固定し、常に決まった
深度内に同一被写体とみなす像面が入るようにする。
Example 2: Fix the size of the zone to a predetermined value so that the image plane that is considered to be the same subject always falls within the predetermined depth.

例3:前述の焦点検出処理で求めたデフォーカス量はあ
る幅の不確定性を持っており。
Example 3: The defocus amount obtained by the focus detection process described above has a certain range of uncertainty.

その幅はそのデフォーカス量の信頼度 5LOP値やその領域での被写体像のコントラストに依
存して変化する。例えば不確定性の幅は信頼度5LOP
に概ね逆比例するので、その領域の5LOP値の逆数に
比例してゾーンの大きさを決める。このようにゾーンの
大きさを決めると、信頼度の高いデフォーカス量を持つ
領域は、他の領域から独立したグループを形成する可能
性が高くなり、その領域が捕捉している被写体像に対し
て合焦する確率が高くなる。例えば所定ゾーン幅をZN
として各領域のゾーンノ大きさをZONE (j)=Z
N/5LOP (j)とする。この場合、ゾーンの大き
さの上限値、下限値を設定しておいてもよい、またコン
トラストCON (j)を、隣接する受光素子出方デー
タの差の絶対値の和をその領域内で計算することにより
求め、これを5LOP値の代わりに用いてもよい。
The width changes depending on the reliability 5LOP value of the defocus amount and the contrast of the subject image in that area. For example, the width of uncertainty is 5LOP confidence level.
The size of the zone is determined in proportion to the reciprocal of the 5LOP value of the area. By sizing the zones in this way, areas with a highly reliable amount of defocus are more likely to form a group independent of other areas, making it more likely that the area will The probability of focusing is increased. For example, if the predetermined zone width is ZN
Let the size of each zone be ZONE (j)=Z
Let it be N/5LOP (j). In this case, the upper and lower limits of the size of the zone may be set, and the contrast CON (j) may be calculated by calculating the sum of the absolute values of the differences between the output data of adjacent light-receiving elements within that area. This value may be used in place of the 5LOP value.

ステップ#22oではグループ化処理の初期化として、
グループ番号iを1、領域のデフォーカス順の番号kを
1に設定し、ステップ#225でグループGRP (i
)に番号にの領域を登録する。
In step #22o, as initialization of the grouping process,
Group number i is set to 1, area defocus order number k is set to 1, and in step #225 group GRP (i
) to register the area to the number.

ステップ#23oでは番号kが最終番号KLになったか
判定し、KLになった場合はグループ化処理を終了しス
テップ#235の最適グループ選択処理に進む、KLに
なっていない場合はグループ化処理を続行し、ステップ
#24oに進む。
In step #23o, it is determined whether the number k has reached the final number KL, and if it has reached KL, the grouping process is ended and the process proceeds to the optimal group selection process in step #235. If it has not reached KL, the grouping process is continued. Continue and proceed to step #24o.

ステップ#240において、ゾーンの大きさを例1また
は例2のごとく決めた場合は1番号にの領域のデフォー
カス量から無限側のゾーン内に番号に+1の領域のデフ
ォーカス量が入っているか判定する。
In step #240, if the size of the zone is determined as in Example 1 or Example 2, is the defocus amount of the area numbered +1 included in the zone on the infinite side from the defocus amount of the area numbered 1? judge.

例えば第10図(a)のような場合は2つの領域はゾー
ン外と判定され別グループとなり、第10図(b)のよ
うな場合は2つの領域はゾーン内と判定され同一グルー
プとなる。ゾーンの大きさを例3のごとく決めた場合は
1番号にの領域のデフォーカス量と番号に+1の領域の
デフォーカス量の差が1番号に+1の領域の5LOP値
によって決まるゾーンの大きさの和より小さいか判定す
る0例えば第11図(a)のような場合は2つの領域は
ゾーン外と判定され別グループとなり、第11図(b)
のような場合は2つの領域はゾーン内と判定され同一グ
ループとなる。
For example, in the case shown in FIG. 10(a), the two areas are determined to be outside the zone and are placed in different groups, and in the case shown in FIG. 10(b), the two areas are determined to be inside the zone and placed in the same group. If the size of the zone is determined as in Example 3, the difference between the amount of defocus in the area with number 1 and the amount of defocus in the area with +1 in number is the size of the zone determined by the 5LOP value of the area with +1 in number 1. For example, in the case shown in Figure 11(a), the two areas are determined to be outside the zone and are placed in a separate group, and as shown in Figure 11(b).
In such a case, the two areas are determined to be within the zone and are in the same group.

ステップ#240で別グループと判定された場合は、ス
テップ#245でグループ番号を更新しステップ#25
0に進み、同一グループと判定された場合はステップ#
245をスキップし即ステップ#250に進む。ステッ
プ#250では番号kを更新してから、ステップ#22
5の処理に戻る。
If it is determined that the group is a different group in step #240, the group number is updated in step #245, and the group number is updated in step #245.
Proceed to step 0, and if it is determined that they are the same group, proceed to step #
245 is skipped and the process immediately proceeds to step #250. In step #250, the number k is updated, and then in step #22
Return to step 5.

以上の処理を繰り返しステップ#235に抜けた時は、
例えば第9図のごとく領域のグループ化がなされている
。即ちグループ化処理の一実施例の場合、一つのグルー
プのデフォーカス軸上での広がりはフレキシブルであり
、グループ内に複数の領域が存在する場合、そのグルー
プに属する一つの領域はそのグループに屓する少なくと
も他の一つの領域に対して第10図(b)または第11
図(b)のような関係にあればよい。このようなグルー
プ化ではグループの広がりが大きく取れるので、広い領
域で連続的にピント位置がかわるような被写体、例えば
壁に張ったポスターを斜め方向から見たような場合でも
、被写体全体を一つのグループとして捕らえることがで
きる。もちろんグループの広がりに一定の上限を設けて
もよいし。
Repeat the above process and when you get to step #235,
For example, areas are grouped as shown in FIG. That is, in the case of one embodiment of the grouping process, the spread of one group on the defocus axis is flexible, and if there are multiple areas within a group, one area belonging to that group is 10(b) or 11 for at least one other area where
It suffices if the relationship is as shown in Figure (b). This type of grouping allows the group to be spread out widely, so even if the focus position changes continuously over a wide area, such as a poster hung on a wall viewed from an angle, the entire subject can be captured in one image. Can be captured as a group. Of course, you could set a certain upper limit on the size of the group.

グループに加えられた領域の5LOP値の和が一定値に
なった場合にはグループを更新するようにしてもよい。
The group may be updated when the sum of the 5 LOP values of the areas added to the group becomes a constant value.

以上説明したグループ化処理は上記に限定するものでは
なく、本出願人による特願昭63−331748号に示
されているようなグループ化処理やその他の処理でもよ
い。
The grouping process described above is not limited to the above, but may be a grouping process as shown in Japanese Patent Application No. 63-331748 filed by the present applicant or other processes.

〈最適グループ選択処理〉 最適グループ選択処理においては、グループ化処理によ
って作られた複数のグループのなかから撮影者の意図し
ている被写体を捕捉している可能性が高い一つのグルー
プを選択する。
<Optimal Group Selection Process> In the optimal group selection process, one group that is likely to capture the subject intended by the photographer is selected from among the multiple groups created by the grouping process.

第12図は最適グループ選択処理のフローチャートであ
る。
FIG. 12 is a flowchart of the optimal group selection process.

ステップ#60oでは、焦点検出領域毎の領域ポイント
E (j)を焦点検出モード選択装[80より得られる
情報に基づいて表1のように決定する。
In step #60o, the area point E(j) for each focus detection area is determined as shown in Table 1 based on the information obtained from the focus detection mode selection device [80].

即ち中央重点モードの場合は、焦点検出不能でない限り
全体の焦点検出領域のなかで中央に近い領域のみに領域
ポイントとして1を与え、その他の領域の領域ポイント
はOにすることにより焦点検出結果に影響を与えないよ
うにしている。その場合の領域の優先順位は(領域4.
5)→(領域3.6)→(領域2,7)→(領域1,8
)に設定されている。
In other words, in the case of center-weighted mode, unless focus detection is impossible, the focus detection results are changed by giving a region point of 1 only to the region near the center of the entire focus detection region, and setting region points of other regions to O. I try not to let it affect me. In that case, the priority order of the areas is (area 4.
5) → (area 3.6) → (area 2, 7) → (area 1, 8
) is set.

表1では中央の領域が検出不能であると、順次端の領域
に検出領域が移動していくように領域ポイントを設定し
であるが、中央領域のみで検出するようにしたり、検出
領域の移動を途中で打ち切ったりするように領域ポイン
トを設定してもよい。
In Table 1, if the central area cannot be detected, the area points are set so that the detection area moves to the edge areas sequentially, but it is also possible to detect only the central area or move the detection area. The area points may be set so as to terminate the process in the middle.

その他の検出モード(至近優先、信頼度優先。Other detection modes (proximity priority, reliability priority)

合焦優先)では、列の端の領域(領域1,2,7゜8)
に領域ポイント0.5を与え、中央領域(領域3,4,
5.6)に領域ポイント1を与えている。端の領域は手
ぶれ等により被写体が出入りする可能性が高くそれによ
り焦点検出結果が変動するおそれがあるので、端領域の
領域ポイントを中実領域の領域ポイントより低く設定し
である。
Focus priority), the area at the end of the column (area 1, 2, 7°8)
Give area points 0.5 to the central area (areas 3, 4,
5.6) is given 1 area point. In the edge area, there is a high possibility that the subject will move in and out due to camera shake, etc., which may cause the focus detection result to fluctuate, so the area point of the edge area is set lower than the area point of the solid area.

ステップ#605ではグループ番号iを1に初期化する
。ステップ#610ではグループ毎に、そのグループに
属する領域のデフォーカス量から次のようにグループデ
フォーカス量を計算する。
In step #605, group number i is initialized to 1. In step #610, a group defocus amount is calculated for each group from the defocus amount of the area belonging to that group as follows.

例えばグループ1に領域2,3.4が属しており、その
グループデフォーカス量を各々DEF (2)。
For example, areas 2 and 3.4 belong to group 1, and their group defocus amounts are each DEF (2).

DEF (3)、DEF (4)とすると、グループデ
フォーカス量GDEF (1)は(7)式のようになる
When DEF (3) and DEF (4) are used, the group defocus amount GDEF (1) becomes as shown in equation (7).

GDE F(1)=(DE F(2)+DE F(3)
+DE F(4))/3または GDE F(1)=(DE F(2) * E(2)+
DE F(3)* E(3)+DEF(4)傘E(4)
)/(E(2)+E(3)+E(4))・・・(7)即
ちグループデフォーカス量は、そのグループに属する領
域のデフォーカス量の単純平均または領域ポイントを重
みとした加重平均として求められる。但し加重平均とし
て求める際に領域ポイントの和がOであった場合は、グ
ループデフォーカスjlDEF (i)を検出不能とす
る。
GDE F(1)=(DE F(2)+DE F(3)
+DE F(4))/3 or GDE F(1) = (DE F(2) * E(2)+
DE F (3) * E (3) + DEF (4) Umbrella E (4)
)/(E(2)+E(3)+E(4))...(7) In other words, the group defocus amount is a simple average of the defocus amounts of areas belonging to the group or a weighted average weighted by area points. It is required as. However, if the sum of area points is O when calculated as a weighted average, the group defocus jlDEF (i) is made undetectable.

ステップ#615ではグループ毎に至近優先ポイントP
1をそのグループのグループデフォーカス量に基づいて
決定する6例えば焦点検出モードが至近優先モードの場
合は、表2−1のごとくグループデフォーカス量が最大
、即ち最も至近にあるグループに至近優先ポイント1が
与えられ、その他のグループにはポイントα(0<αく
1)またはOが与えられる。αの値は至近優先度が高い
程小さく設定される。また表2−1では、その他のグル
ープには所定値αのポイントが与えられるとしたが、グ
ループデフォーカス量の順番や最至近グループとの偏差
に応じて至近に近い度合いを算出し、グループ毎に至近
優先ポイントP1を変えて与えるようにしてもよい。
In step #615, the closest priority point P for each group
1 is determined based on the group defocus amount of that group. 6 For example, if the focus detection mode is the closest priority mode, the closest priority point is determined for the group with the maximum group defocus amount, that is, the closest one, as shown in Table 2-1. 1 is given, and the other groups are given points α (0<α×1) or O. The value of α is set smaller as the proximity priority is higher. In addition, in Table 2-1, other groups are given points of a predetermined value α, but the degree of closeness is calculated for each group according to the order of group defocus amount and the deviation from the nearest group. The closest priority point P1 may be changed and given.

またその他の検出モード(中央重点、信頼度優先9合焦
優先)では1表2−2のごとくグループデフォーカス量
の検出が可能/不能に従ってグループに至近優先ポイン
ト0または1が与えられる2したがってグループデフォ
ーカス量の検出が可能であれば、−律にポイントが与え
られるのでグル表2−1 至近優先ポイント 表2−2 至近優先ポイント −プデフォーカス量の値によらず各グループは公平に取
り扱われることになる。
In addition, in other detection modes (center-weighted, reliability priority 9 focusing priority), 1 as shown in Table 2-2, the group is given a closest priority point of 0 or 1 depending on whether the group defocus amount can be detected or not. 2 Therefore, the group If the amount of defocus can be detected, points will be given to the law, so each group will be treated fairly regardless of the value of the amount of defocus. It turns out.

上述のように至近優先ポイントP1を設定することによ
り、至近優先モードでは最至近のグループが優先され、
その他のモードでは最至近のグループが優先されること
はなくなる。
By setting the closest priority point P1 as described above, the closest group is prioritized in the closest priority mode,
In other modes, the nearest group no longer takes priority.

ステップ#620ではグループ毎に1合焦優先ポイント
P2をそのグループのグループデフォーカス量に基づい
て決定する。例えば焦点検出モードが合焦優先モードの
場合は、表3−1のごとくグループデフォーカス量の絶
対値が最小、即ち最も合焦に近いグループに合焦優先ポ
イント1が与えられ、その他のグループにはポイントβ
(0くβく1)または0が与えられる。βの値は合焦優
先度が高い程小さく設定される。また表3−1ではその
他のグループには所定値βのポイントが与えられるとし
たが、グループデフォーカス量の絶対値の大きさや順番
に応じて合焦に近い度合いを算出し、グループ毎に合焦
優先ポイントを変えて与えるようにしてもよい。
In step #620, one focus priority point P2 is determined for each group based on the group defocus amount of that group. For example, when the focus detection mode is focus priority mode, as shown in Table 3-1, focus priority point 1 is given to the group with the smallest absolute value of the group defocus amount, that is, the group closest to focus, and the other groups are is point β
(0 × β × 1) or 0 is given. The value of β is set smaller as the focus priority is higher. In addition, in Table 3-1, points of a predetermined value β are given to other groups, but the degree of closeness to in-focus is calculated according to the magnitude of the absolute value of the group defocus amount and the order, and the degree of closeness to focus is calculated for each group. The focus priority points may be changed and given.

表3−1 合焦優先ポイント またその他の検出モード(中央重点、信頼度優先、至近
優先)でも上述の表3−1と同じようにして1表3−2
のごとくグループデフォーカス量の絶対値に従ってグル
ープに合焦優先ポイント0またはγまたは1が与えられ
る。但しγはβ〈γ〈1に設定する。このように合焦優
先モード以外のモードでも合焦に近いグループを多少優
先することにより、合焦付近での安定性を増すことがで
きる。
Table 3-1 Focusing priority points and other detection modes (center weighted, reliability priority, close proximity priority) can be determined in the same way as Table 3-1 above.Table 3-2
A focusing priority point of 0, γ, or 1 is given to a group according to the absolute value of the group defocus amount, as shown in FIG. However, γ is set to β<γ<1. In this way, even in modes other than the focus priority mode, by giving some priority to groups that are close to focus, stability near focus can be increased.

上述のように合焦優先ポイントP2を設定することによ
り、合焦優先モードでは合焦に最も近いグループが優先
され、その他のモードでも安定性が向上する。
By setting the focus priority point P2 as described above, priority is given to the group closest to focus in the focus priority mode, and stability is improved in other modes as well.

ステップ#625ではグループ毎に、信頼度ポイントP
3をそのグループに属している領域jのデフォーカス量
の信頼度5LOP (j)に基づいて決定する。例えば
焦点検出モードが信頼度優先モードの場合は、表4−1
のごとく最も信頼度の和が大きいグループに信頼度優先
ポイント1が与えられ、その他のグループにはそのグル
ープの信表4−1 信頼度ポイント 傾度の和を信頼度の和の最大値で割った量に応じてポイ
ント(0<ポイントく1)が与えられる。
In step #625, for each group, reliability points P
3 is determined based on the reliability 5 LOP (j) of the defocus amount of the area j belonging to the group. For example, if the focus detection mode is reliability priority mode, Table 4-1
The group with the highest sum of reliability is given reliability priority point 1, and the other groups are given reliability priority point 4-1. Points (0 < points minus 1) are given according to the amount.

またその他の検出モード(中央重点、至近優先。There are also other detection modes (center weighted, closest priority).

合焦優先)では、表4−2のごとくグループデフォーカ
ス量の検出が可能/不能によってのみ、グループに信頼
度ポイントOまたは1が与えられる。
In focus priority), reliability points O or 1 are given to a group only depending on whether the group defocus amount can be detected as shown in Table 4-2.

従ってグループデフォーカス量の検出が可能であれば一
律にポイントが与えられるので、グループに属する領域
の信頼度の和の大きさによらず各グループは公平に取り
扱われることになる。
Therefore, if the group defocus amount can be detected, points are given uniformly, so each group is treated fairly regardless of the size of the sum of the reliability of the regions belonging to the group.

さらにその他の検出モードにおいて、表4−3のごとく
信頼度ポイントを与えてもよい。この場合、グループに
おける信頼度の和が所定値δ以上であれば一律に信頼度
ポイント1が与えられ、δ以下であれば信頼度の和をδ
で割った量に応じて信頼度ポイントが与えられる。この
ように信頼度優先モード以外のモードでも信頼度がある
程度以上あるグループは公平に取り扱い、信頼度の低0
グループは信頼度に応じて重み付けして取り扱うことに
より、デフォーカス量の不確定性によるば表4−2 信頼度ポイント 表4−3 信頼度ポイント らつきの影響を小さくすることができる。
Furthermore, in other detection modes, reliability points may be given as shown in Table 4-3. In this case, if the sum of reliability in the group is greater than or equal to the predetermined value δ, 1 reliability point is given uniformly, and if it is less than δ, the sum of reliability is
Reliability points are given according to the amount divided by. In this way, even in modes other than reliability priority mode, groups with a certain degree of reliability or higher are treated fairly, and groups with low reliability are treated fairly.
By treating groups with weights according to their reliability, it is possible to reduce the influence of fluctuations in reliability points due to uncertainty in the amount of defocus.

上述のように信頼度ポイントP3を設定することにより
、信頼度優先モードでは信頼度が最も高いグループが優
先され、その他のモードでも安定性が向上する。
By setting the reliability point P3 as described above, priority is given to the group with the highest reliability in the reliability priority mode, and stability is improved in other modes as well.

ステップ#630ではグループ毎の総合ポイントPGを
、至近優先ポイントP1、合焦優先ポイントP2、信頼
度ポイントP3の積または和として計算する。ステップ
#635でグループ番号iを更新し、ステップ#640
でグループ番号iがKL+1になったか、即ちグループ
番号が終了したか判定し、終了していない場合はステッ
プ#610に戻り、引続き次のグループの総合ポイント
を求める処理を行う。以上の処理を繰り返しグループが
終了した場合には、ステップ#645に進み総合ポイン
トPG (i)が最大なグループを最適グループとして
選択し、ステップ#650の最適デフォーカス量演算に
進む。
In step #630, the total point PG for each group is calculated as the product or sum of the closest priority point P1, the focusing priority point P2, and the reliability point P3. Group number i is updated in step #635, and step #640
Then, it is determined whether the group number i has reached KL+1, that is, whether the group number has ended. If the group number has not ended, the process returns to step #610 and continues to calculate the total points of the next group. When the above process is repeated and the group is completed, the process proceeds to step #645, and the group with the maximum total point PG (i) is selected as the optimum group, and the process proceeds to step #650, which calculates the optimum defocus amount.

上述の最適グループ選択処理では、複数の選択ルール(
中央重点、至近優先9合焦優先、信頼度優先等)に応じ
たポイントを設定し、各グループにおいて複数の選択ル
ールに対するポイントを決定し、最後に総合ポイントが
最大なグループを選択しているので、以下のような利点
を有して(する。
In the optimal group selection process described above, multiple selection rules (
We set points according to the center weight, close focus 9 focus priority, reliability priority, etc.), determine the points for multiple selection rules in each group, and finally select the group with the maximum total points. , has the following advantages.

a)同じルール内ではポイントの値を適宜変更すること
により、選択ルールの効力の強弱(優先度の度合)をプ
ログラムの改造等変更なしで簡単にコントロールできる
a) By appropriately changing the point value within the same rule, the effectiveness (degree of priority) of the selected rule can be easily controlled without modification of the program or other changes.

b)異なるルール間ではポイントの値のノくランスを適
宜変更することにより1選択ルールの間の強弱(優先度
の度合)をコントロールできる。したがって焦点検出モ
ード毎に選択のためのプログラムを個々に設ける必要は
なく。
b) The strength (degree of priority) between one selected rule can be controlled by appropriately changing the point value ratio between different rules. Therefore, there is no need to provide a separate program for selecting each focus detection mode.

ポイント値を変更するのみで焦点検出モードの変更に対
応できる。
The focus detection mode can be changed simply by changing the point value.

C)選択ルール別にポイントを設定するとともに、それ
らの積または和で最適グループの選択を行っているので
、異なるルールの混合が容易に行える。また新しいルー
ルの追加が簡単にできる。例えば選択ルールとして領域
の広さを加えた場合は1面積ポイント設定を設定し、グ
ループに属する領域の数に応じたポイント値を与えれば
よい。また特定パターン例えばいわゆる中抜はパターン
の場合に中抜けするのを防ぐために、中抜はポイントP
5を設定し、中抜はパターン判定(最至近のグループに
横列の端領域1.2,7.8が属しているか判定する)
を行い、中抜はパターンであった場合は最至近グループ
の中抜はポイントのみ1とし他のグループの中抜はポイ
ントは0とし、中抜はパターンでなかった場合はすべて
のグループの中抜はポイントを1にすればよい。
C) Since points are set for each selection rule and the optimal group is selected by the product or sum of these points, different rules can be easily mixed. Also, new rules can be easily added. For example, when the size of an area is added as a selection rule, it is sufficient to set 1 area point setting and give a point value according to the number of areas belonging to a group. In addition, in order to prevent a specific pattern, for example, a so-called hollow pattern, the hollow is a point P.
5 is set, and pattern judgment is performed for hollowing out (determine whether end areas 1.2 and 7.8 of the horizontal row belong to the nearest group)
If the cutout is a pattern, the cutout in the nearest group will have only 1 point, and the cutout in other groups will have 0 points, and if the cutout is not a pattern, the cutout in all groups will be done. You can set the point to 1.

以上のようにポイント制による最適グループ選択方式を
導入することにより、モード変更や追加または選択ルー
ルの最適化にも柔軟に対応できるシステムとなる。
By introducing the point-based optimal group selection method as described above, the system can flexibly respond to mode changes, additions, and optimization of selection rules.

上記説明では最終的に一つの最適グループが選択される
が、そのグループに属する領域位置をファインダー視野
等に表示することにより、撮影者に選択されたグループ
に居する領域を確認させても〜よい、この場合、撮影者
の意図する被写体が表示された領域に入っていなければ
、撮影者の意志により、選択されたグループをキャンセ
ルし、総合ポイントが次に高いグループを順次選択して
いくようにしてもよい。
In the above explanation, one optimal group is ultimately selected, but the position of the area belonging to that group may be displayed in the viewfinder field of view, etc., so that the photographer can confirm the area in the selected group. In this case, if the subject intended by the photographer is not in the displayed area, the selected group is canceled and the group with the next highest total points is selected in order. You can.

また上記説明では、各種ポイントの配分方式を。Also, in the above explanation, various points distribution methods are explained.

選択された焦点検出モードに従って変更したが、撮影者
が直接ポイントを設定するようにしたり、予め所定のポ
イントが設定されたROMデータによりポイント設定を
行うようにし、ROMをボディに対して変更可能に構成
し、ROMを取り替えることによりポイント変更を行う
ようにしてもよい。またポイント値を固定せず、最終的
に選択されたグループの特性(領域の位置、グループデ
フォーカス量、コントラスト等)をフィードバックし、
撮影者の意図に適合するように動的にポイント値を変更
していくような学習機能を持たせてもよい。
The focus detection mode was changed according to the selected focus detection mode, but the ROM can be changed to the body by allowing the photographer to set the point directly or by setting the point using ROM data in which predetermined points are set in advance. The points may be changed by configuring and replacing the ROM. In addition, without fixing the point value, the characteristics of the finally selected group (area position, group defocus amount, contrast, etc.) are fed back,
A learning function may be provided to dynamically change point values to suit the photographer's intentions.

以上は最適グループ選択の処理の一例であって、もちろ
んこれ以外の手法に従って最適グループを選択するよう
にしてもかまわない6例えばグループデフォーカス量と
撮影レンズの絶対位置とにより各グループの絶対距離を
割り出し、最至近または最遠距離と最至近と最遠距離と
の差に基づいて最適な距離およびグループを決定するよ
うにもできる6また領域やグループの距離分布パターン
に応じて焦点検出モードを変更したり、最適グループの
選択をしたりすることもできるゆ く最適デフォーカス量演算処理〉 最適デフォーカス量演算処理においては、最適グループ
選択処理によって選択された最適グループに属する焦点
検出領域のデフォーカス量に基づいて、全体として最適
なデフォーカス量を演算する。
The above is an example of the optimal group selection process, and of course the optimal group may be selected using other methods6.For example, the absolute distance of each group can be calculated using the group defocus amount and the absolute position of the photographic lens. It is also possible to determine the optimal distance and group based on the difference between the closest or farthest distance and the closest and farthest distance.6 Also, the focus detection mode can be changed according to the distance distribution pattern of the area or group. In the optimal defocus amount calculation process, the defocus amount of the focus detection area belonging to the optimal group selected by the optimal group selection process is calculated. Based on this, the overall optimal defocus amount is calculated.

第13図は最適デフォーカス量演算処理を示すフローチ
ャートである。
FIG. 13 is a flowchart showing the optimum defocus amount calculation process.

ステップ#900では最適グループに属する焦点検出領
域AREA (j)に対する重みW (j)を決定する
。例えば表5のごとく焦点検出モー表5 重みW(j) ドに応じて重みW(j)を決定することができる。信頼
度優先モードにおいては、焦点検出領域AREA (j
)の重みW (j)を、領域ポイントE (j)とその
領域のデフォーカス量の信頼度5LOP (j)の積と
し、その他のモードにおいては、E (j) 傘5LO
P (j)が所定値Vよりも大きい場合は重みW(j)
を1とし、所定値Vよりも小さい場合は重みW(j)を
E (j) *5LOP (j)としている、このよう
に設定することにより、信頼度優先モードの場合は信頼
度に応じた重み付けがなされ、それ以外のモードではあ
る程度信頼度があれば同等の重み付けがなされることに
なる。
In step #900, the weight W (j) for the focus detection area AREA (j) belonging to the optimal group is determined. For example, the weight W(j) can be determined according to the focus detection mode as shown in Table 5. In the reliability priority mode, the focus detection area AREA (j
) is the weight W (j) of the area point E (j) and the reliability of the amount of defocus for that area 5LOP (j), and in other modes, E (j) umbrella 5LO
If P (j) is larger than the predetermined value V, the weight W (j)
is set to 1, and when it is smaller than a predetermined value V, the weight W(j) is set to E (j) *5LOP (j).By setting in this way, in the reliability priority mode, the weight W(j) is set to In other modes, if there is a certain level of reliability, the same weighting will be applied.

ステップ#905では、最適デフォーカス量DEFXを
、最適グループに属する焦点検出領域のデフォーカス量
DEF (j)を重みW (j)で重み付けした加重平
均として(8)式のごとく演算する。
In step #905, the optimum defocus amount DEFX is calculated as a weighted average obtained by weighting the defocus amounts DEF (j) of the focus detection areas belonging to the optimum group with the weight W (j) as shown in equation (8).

0 ・・・(8) 但しく8)式においてjは、最適グループに属する焦点
検出領域の番号についてとる。このように加重加算平均
をとることにより、最適デフォーカス量のばらつきを小
さくすることができ安定性が向上する。
0 (8) However, in equation 8), j is the number of the focus detection area belonging to the optimal group. By taking the weighted average in this way, variations in the optimum defocus amount can be reduced and stability can be improved.

ステップ#910では最適デフォーカス量に基づいてA
F表示装置40の表示形態を制御するとともに、Afモ
ータ50の駆動量を制御し、撮影レンズ11を合焦位置
へ駆動する。これによって撮影画面上の最適グループに
属する焦点検出領域には、ピントがあった被写体像が形
成されることになる。ステップ#910の処理を終える
と再び次の焦点検出サイクルに写る。
In step #910, A
It controls the display form of the F display device 40, controls the amount of drive of the Af motor 50, and drives the photographing lens 11 to the in-focus position. As a result, a focused subject image is formed in the focus detection area belonging to the optimal group on the photographic screen. When the process of step #910 is completed, the next focus detection cycle is started again.

〈測光演算処理〉 測光演算処理においては、測光用光電変換装置134に
よって求められた各領域の測光値を基に。
<Photometry calculation process> In the photometry calculation process, the photometry value of each area obtained by the photoelectric conversion device 134 for photometry is based.

最適グループ選択処理での情報によって各領域の測光値
に重み付けをし、その加重平均値より最適測光値を求め
る。第14図は測光演算処理を示すフローチャートであ
る。
The photometric values of each region are weighted based on the information obtained in the optimal group selection process, and the optimal photometric value is determined from the weighted average value. FIG. 14 is a flowchart showing photometric calculation processing.

最初にステップ#1000で領域番号jを1に。First, in step #1000, set area number j to 1.

測光積算値Q1〜Q4 (以下、Q1〜Q4と略す)を
0に、測光指標値R1、R2(以下、R1、R2)を所
定値に初期化する。次に、ステップ31005で焦点検
出領域AREA (j)(以下、AREA (j))が
最適グループに属しているかの判定を行う。最適グルー
プに属していないならばステップ# 1400 ニ進み
、AREA(j)に対応する測光領域の測光値Bv(j
)(以下。
The photometric integrated values Q1 to Q4 (hereinafter abbreviated as Q1 to Q4) are initialized to 0, and the photometric index values R1 and R2 (hereinafter referred to as R1 and R2) are initialized to predetermined values. Next, in step 31005, it is determined whether the focus detection area AREA (j) (hereinafter referred to as AREA (j)) belongs to the optimal group. If it does not belong to the optimal group, proceed to step #1400 and calculate the photometric value Bv(j) of the photometric area corresponding to AREA(j).
)(below.

Bv(j))をバックグラウンド測光値としてQ4に加
算する。AREA (j)が最適グループに属している
ならばステップ#1010へ進む。
Bv(j)) is added to Q4 as a background photometric value. If AREA (j) belongs to the optimal group, the process advances to step #1010.

ステップ#1010では平均モードの測光演算を行う。In step #1010, average mode photometry calculation is performed.

すなわち、−律に重み付は係数F (j)(以下、F(
j)とする)=1としてBy (j)に掛は合わせQl
に加算する。
In other words, the weighting is given by the coefficient F(j) (hereinafter F(
j) = 1, and multiply By (j) by Ql
Add to.

次に、ステップ#1015では中央重点モードの測光演
算を行う。これは、最適グループ中の画面中央領域の測
光値を重要視するもので、焦点検出におけるグループ化
の思想と同様、両端に出入すする不要な被写体の影響を
防止する効果が得られる。具体的には、表6に示したF
 (j)の値を条件にしたがってBy (j)に掛は合
わせQ2に加算する。
Next, in step #1015, photometric calculation in center-weighted mode is performed. This gives importance to the photometric value in the center area of the screen in the optimal group, and, similar to the idea of grouping in focus detection, it has the effect of preventing the influence of unnecessary objects entering and exiting at both ends. Specifically, F shown in Table 6
The value of (j) is multiplied by By (j) according to the condition and added to Q2.

次に、ステップ$1020では広域被写体重点モードの
測光演算を行う、これは、最適グループが分離した中抜
は被写体の様な場合、大きく画面に写し込まれる方の測
光値を重要視するものであり、例えば木陰での人物撮影
時の小枝の写り込み等の影響を防止する効果が得られる
。また、上記中央重点モードと同様、両端の影響を防止
する効果も得られる。具体的には、表7に示したF (
j)の値を条件にしたがってBy (j)に掛は合わせ
Q3に加算する。
Next, in step $1020, a photometric calculation is performed in the wide-area subject weight mode. This is because when the optimum group is separated and the subject is a hollow part, the photometric value of the one that is reflected on the screen is given more importance. For example, when photographing a person in the shade of a tree, it is possible to prevent the effects of twigs from appearing in the photograph. Furthermore, similar to the center-weighted mode described above, the effect of preventing effects at both ends can also be obtained. Specifically, F (
By (j) is multiplied by the value of j) according to the condition and added to Q3.

次にステップ$1025では最高輝度基準モードによる
測光演算を行う、これはBY (j)中の最高値をR1
に記憶するものである。同様にステップ#1030では
、最低輝度基準モードの測光演算により、Bv (j)
中の最低値をR2に記憶する。
Next, in step $1025, photometric calculation is performed using the highest brightness reference mode, which means that the highest value in BY (j) is set to R1.
It is something to remember. Similarly, in step #1030, Bv (j) is determined by photometric calculation in the lowest brightness reference mode.
The lowest value among them is stored in R2.

表6 中央重点モート重み付は係数 表7 広域被写体重点モード重み付は係数 ステップ$1035で領域番号を更新し、ステップ$1
040で領域番号が9になったか、すなわち領域番号が
終了したか判定し、終了していない場合にはステップ#
1005に戻り、引続き次の領域の処理を行う0以上の
処理を繰り返し領域が終了した場合にはステップ#10
45の測光値の正規化に進む。
Table 6 Center-weighted mode weighting is a coefficient Table 7 Wide-area subject weighting mode weighting is a coefficient The area number is updated in step $1035, and the area number is updated in step $1.
At 040, it is determined whether the area number has reached 9, that is, whether the area number has ended, and if it has not ended, step #
Return to step #1005 and continue processing the next area. Repeat 0 or more processes to process the next area. If the area is finished, proceed to step #10.
Proceed to normalization of photometric values in step 45.

ここでは、積算された測光値を各モードの測光値として
正規化する。先ずQlを例にとれば。
Here, the integrated photometric value is normalized as the photometric value of each mode. First, let's take Ql as an example.

Bv (2) 、By (3)、By (5)が積算さ
れた時、平均モードでの測光値として、 By(Ql)=(Bv (2) +Bv (3) +B
v (5) )/3=Q1/3 を得る0分母は積算データの個数で、By(Q4)につ
いても同様である。
When Bv (2), By (3) and By (5) are integrated, the photometric value in average mode is: By (Ql) = (Bv (2) +Bv (3) +B
The 0 denominator for obtaining v (5) )/3=Q1/3 is the number of integrated data, and the same applies to By(Q4).

Bv (Q2)、By (Q3)の場合は各データに係
数F (j)が掛っているため、 Bv(Q2)=Q2/ (F(2)+F(3)+F(5
))と正規化する。
In the case of Bv (Q2) and By (Q3), each data is multiplied by the coefficient F (j), so Bv (Q2) = Q2/ (F (2) + F (3) + F (5
)) and normalize.

Bv(R1)およびBy(R2)については、各々フィ
ルムのラチチュードを考慮して、By (R1)=R1
−1,5Xb By (R2)=R2+1.5Xc とする。ここです、cはフィルムの種類による補正係数
であり、例えば不図示のDXコード判別回路からの信号
によって決定する。
For Bv (R1) and By (R2), By (R1) = R1, taking into account the latitude of each film.
−1,5Xb By (R2)=R2+1.5Xc. Here, c is a correction coefficient depending on the type of film, and is determined by, for example, a signal from a DX code discrimination circuit (not shown).

次に、ステップ$1050の最適測光値B vans(
以下B vans)の演算に進む。ここでは、上述のよ
うに算出した各モードの測光値を基にB vansを算
出する。すなわち、By (Ql) 〜Bv (Q4)
およびBy (R1) 、By (R2)の値を予め設
定された最適加重率に基づき、あるいは測光モード選択
装置180の設定によって加重率を変化させてB va
nsを決定する。 Bvansは、下記の様になる。
Next, the optimal photometric value B vans(
Hereinafter, proceed to the calculation of B vans). Here, B vans is calculated based on the photometric values of each mode calculated as described above. That is, By (Ql) ~Bv (Q4)
The values of By (R1) and By (R2) are set based on a preset optimal weighting rate, or by changing the weighting rate according to the setting of the photometry mode selection device 180.
Determine ns. Bvans is as follows.

Bvans = (QXBv (Ql)+mXBv (
Q2)+nXBv (Q3)+oXBv (Q4)+p
XBv  (R1)+qXBv  (R2))/(Q+
m+n+o+p+q) 例えば、悲=1、m = q = Oとすれば平均モー
ド測光となる。また、Q=1、O=0.25それ以外を
=Oとすれば非合焦領域も考慮した平均測光モードとな
る。
Bvans = (QXBv (Ql) + mXBv (
Q2)+nXBv (Q3)+oXBv (Q4)+p
XBv (R1)+qXBv (R2))/(Q+
m+n+o+p+q) For example, if it is set as 1 and m=q=O, average mode photometry will be used. Further, if Q=1, O=0.25 and other values are set to =O, the average light metering mode takes into account the out-of-focus area.

その他、広域被写体重点モードに最低輝度基準モードを
加味したものや、中央重点モードに最高輝度基準モード
を加味しバックグラウンド測光値を考慮してもよい0例
えば最重要視するモードの加重率を1としたとき、補助
的に加味するモードについては0.7〜0.35程度と
し、バックグラウンド測光値については0.25〜0程
度とすると各測光モードの特徴を生かすことができる。
In addition, it is also possible to consider the background photometry value by adding the lowest brightness reference mode to the wide-area subject weighted mode, or by adding the highest brightness reference mode to the center weighted mode. In this case, if the auxiliary mode is set to about 0.7 to 0.35, and the background photometric value is set to about 0.25 to 0, the characteristics of each photometric mode can be utilized.

また、最高輝度データであるR1の値によって各々の加
重率を変化させたり、更にR1−R2の最高最低輝度差
の値によって加重率を変化させてもよい、あるいは、焦
点検出における情報も加えて撮影被写体の特性(グルー
プの特性、各位の時系列的変化など)をフィードバック
して撮影者の意図に適合するように動的に加重率を変化
させる様な学習機能を持たせてもよい。
In addition, each weighting rate may be changed depending on the value of R1, which is the highest brightness data, or the weighting rate may be further changed depending on the value of the maximum and minimum brightness difference between R1 and R2, or information on focus detection may be added. A learning function may be provided to dynamically change the weighting rate to match the photographer's intention by feeding back the characteristics of the photographic subject (characteristics of the group, changes over time of each part, etc.).

以上説明した測光演算処理はこれ以外の手法にしたがっ
て最適測光値を決定してもよい。例えば最適グループ内
での各領域のデフォーカス値を基に、至近の領域より順
番に加重率を逓減した至近優先測光モードを追加するこ
とも可能である。また、各領域の測光値の最高値に所定
の限界値を設定しておき、その値を越えるものについて
は限界値を代入して太陽光の直接反射の影響を防ぐこと
もできる。
The photometric calculation process described above may determine the optimum photometric value in accordance with a method other than this. For example, it is also possible to add a close-range priority photometry mode in which the weighting rate is gradually decreased in order from the closest areas based on the defocus value of each area within the optimum group. Further, it is also possible to set a predetermined limit value for the maximum photometric value of each area, and substitute the limit value for those exceeding that value to prevent the influence of direct reflection of sunlight.

一部2の実施例− 次に、本発明に係゛る焦点検出測光装置をレンズ交換型
−眼レフシステムに適用した場合の第2の実施例につい
て第15図を用いて説明する。第2図の第1の実施例と
同様の部分については同一の番号を付し、説明は省略す
る。
Second Embodiment Next, a second embodiment in which the focus detection photometer according to the present invention is applied to an interchangeable lens type eye reflex system will be described with reference to FIG. 15. Components similar to those in the first embodiment shown in FIG. 2 are designated by the same reference numerals, and description thereof will be omitted.

本実施例においては、各領域の測光値を焦点検出用受光
素子出力データより直接得る構成となっている。つまり
、焦点検出用の光な変換素子と測光用の光電変換素子と
が共通化されている。
In this embodiment, the photometric value of each area is directly obtained from the focus detection light receiving element output data. In other words, the optical conversion element for focus detection and the photoelectric conversion element for photometry are shared.

先ず、AFCPU30がAD変換して得た受光素子Ap
、Bp (p=l〜n)に対応する受光素子出力データ
ap、bp (p=1〜n)、および電荷蓄積時間りを
AECPUlooはそのポートP1、P2から得る1次
に、ap、bpをしで除した値に光学系の損失を補うた
めに予め定められた係数dを掛は合わせて対数圧縮し、
各素子毎の測光値を得る。
First, the light receiving element Ap obtained through AD conversion by the AFCPU 30
, Bp (p=l to n), and the charge accumulation time are obtained from the ports P1 and P2. The value divided by is multiplied by a predetermined coefficient d to compensate for the loss of the optical system, and the result is logarithmically compressed.
Obtain photometric values for each element.

Bv (ap)=log、((ap/1)Xd)Bv 
(bp)=log、((bp/1)Xd)なお、dの値
は光学系の特性上あるいは測光の都合上、Pの関数やそ
の他による変数でも構わず。
Bv (ap)=log, ((ap/1)Xd)Bv
(bp)=log, ((bp/1)Xd) Note that the value of d may be a function of P or a variable based on other factors due to the characteristics of the optical system or the convenience of photometry.

下記の様にも成り得る。It can also be done as follows.

By(ap)=log2((ap/1)Xd(ap))
By(b p)=1 o gz ((b p/1)Xd
(b p))次に、領域分割にしたがって各領域毎の平
均値を算出する。第1の実施例のように例えばシフト量
りがOの場合、領域j=1において測光値BV(1)は
、 B v (1) = (B y(a 1)+・−+B 
v(a t)+B v(b l) +−+ B v (
b t、) / (2X t)として得られる。Bv 
(2)以降も同様である。
By(ap)=log2((ap/1)Xd(ap))
By(b p)=1 o gz ((b p/1)Xd
(b p)) Next, the average value for each area is calculated according to the area division. For example, when the shift scale is O as in the first embodiment, the photometric value BV (1) in the area j = 1 is B v (1) = (B y (a 1) + · - + B
v(at)+B v(b l) +-+ B v (
b t, ) / (2X t). Bv
The same applies to (2) and thereafter.

ここで、By (ap)とBy(bp)とは撮影レンズ
11の異なる射出瞳領域を通過した光束による二次像の
測光値で、同一の被写体の像の測光値であるから同一と
なる。そこで、測光値By (1)を。
Here, By (ap) and By (bp) are photometric values of secondary images created by light fluxes that have passed through different exit pupil regions of the photographic lens 11, and are the same because they are photometric values of images of the same subject. Therefore, the photometric value By (1).

B y(1)”(B y(a l)+・・・+ B v
(a t)/ tまたは。
B y(1)"(B y(a l)+...+ B v
(a t)/t or.

B v(1)”(B y(b 1)+−・+B v(b
 t)/ tと演算してもよい。By (2)以降も同
様である。
B v(1)"(B y(b 1)+-・+B v(b
t)/t. The same applies to By (2) and thereafter.

こうして得られたBv(j)を基に、以降、第1の実施
例に記したような演算を行えばよい。
Based on Bv(j) thus obtained, the calculations described in the first embodiment may be performed thereafter.

なお、第2の実施例においても上記の処理に限定される
ものではなく、これ以外の手法によっても構わない0例
えばBv(j)を算出する際にBy(ap)もしくはB
y(bp)を真数のまま平均化し、しかる後に対数圧縮
する方法でもよい。
Note that the second embodiment is not limited to the above-mentioned processing, and other methods may be used. For example, when calculating Bv(j), By(ap) or B
Alternatively, y(bp) may be averaged as it is as an antilog, and then logarithmically compressed.

また第1の実施例に記したR1.R2の最高輝度、最低
輝度のデータとして、領域毎に平均化した後のBy(j
)ではなく、By (ap)もしくはBy(hp)のデ
ータを用いてもよい、この場合。
Further, R1. described in the first embodiment. By(j
) instead of By (ap) or By (hp) data may be used in this case.

領域毎のデータよりも更に細かな部分のデータが得られ
、より正確に被写体の輝度情報を得られる利点がある。
This method has the advantage of being able to obtain more detailed data than data for each region, and more accurately obtaining luminance information of the subject.

G1発明の詳細 な説明したように1本発明の焦点検出装置は複数の焦点
検出測光領域の焦点検出結果を同一被写体とみられるグ
ループにまとめるとともに、グループのなかから撮影者
の意図に最も合致していると思われるグループを選択し
1選択されたグループのなかで統計平均を行い最終的な
焦点検出結果を得るとともに、選択されたグループを重
点的に測光し、演算を行って最終的な測光値を得るもの
である。
G1 As described in detail of the invention, the focus detection device of the present invention collects the focus detection results of a plurality of focus detection photometry areas into groups that are considered to be the same subject, and selects the one that most matches the photographer's intention from among the groups. Select a group that is thought to be present, perform statistical averaging among the selected groups, and obtain the final focus detection result. At the same time, focus on the selected group and perform calculations to obtain the final photometric value. This is what you get.

このようにグループ化することにより、複数の被写体が
画面内の焦点検出領域に存在した場合でも正確にその識
別をすることができ、また被写体間の識別が正確になさ
れることにより最適グループ選択処理による選択結果が
撮影者の意図により適合したものとなる。またある程度
まとまりのあるグループ内で求められたデフォーカス量
により最適デフォーカス量を求めるので、ばらつきが減
少するとともに、その結果はグループ内の個々の結果と
かけ離れたものにはならない。
By grouping in this way, even if multiple subjects exist in the focus detection area on the screen, they can be accurately identified, and by accurately identifying the subjects, optimal group selection processing can be performed. The selection result will be more suitable for the photographer's intention. Furthermore, since the optimum defocus amount is determined based on the defocus amount determined within a group that is somewhat coherent, variations are reduced and the results are not far different from the individual results within the group.

さらに、主要被写体に相当する最適グループの測光値を
重点的に最も主要被写体の状況に合致した処理法により
測光演算を行い、撮影者の意図に適合した主要被写体の
測光値を算出することが可能である。よって、焦点検出
結果、S光結果共に撮影者の意図に適合した結果となり
、撮影結果も良好なものとなる。
Furthermore, it is possible to calculate the photometric value of the main subject that matches the photographer's intention by focusing on the photometric value of the optimal group corresponding to the main subject and using a processing method that most closely matches the situation of the main subject. It is. Therefore, both the focus detection result and the S light result match the photographer's intention, and the photographing result is also good.

なお1以上実施例ではAFCPU3oとAEcPtJl
ooを別個のものとしたが、それぞれの処理を時系列的
もしくは並列的に処理できる1個のCPUで置き換えて
ももちろん構わない。
In addition, in one or more embodiments, AFCPU3o and AEcPtJl
Although oo is assumed to be separate, it is of course possible to replace each process with a single CPU that can process each process in chronological order or in parallel.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はクレーム対応図、第2図は本発明による焦点検
出測光装置の構成図、第3図は本発明に用いられる焦点
検出光学系の説明図、第4図は光電変換装置の構成図、
第5A図は焦点検出領域の説明図、第5B図は測光領域
の説明図、第6図および第7図は焦点検出処理の説明図
およびフローチャート、第8図〜第11図はグループ化
処理を説明するもので、第8図はフローチャート、第9
図、第10図、第11図は説明図、第12図は最適グル
ープ選択処理のフローチャート、第13図は最適デフォ
ーカス量演算処理のフローチャート、第14図は測光演
算処理のフローチャート、第15図は第2の実施例の全
体構成図である。 10:撮影レンズ   13:レンズCPU20:カメ
ラボディ  24:焦点検出光学系25:光電変換装置
  30 : AFCPU40:AF表示部   50
:AFモータ8o:焦点検出モード選択装置
Fig. 1 is a diagram corresponding to claims, Fig. 2 is a block diagram of a focus detection photometer according to the present invention, Fig. 3 is an explanatory diagram of a focus detection optical system used in the present invention, and Fig. 4 is a block diagram of a photoelectric conversion device. ,
Fig. 5A is an explanatory diagram of the focus detection area, Fig. 5B is an explanatory diagram of the photometry area, Figs. 6 and 7 are an explanatory diagram and flowchart of the focus detection process, and Figs. 8 to 11 are an explanatory diagram of the grouping process. Figure 8 is a flowchart and Figure 9 is a flowchart.
10 and 11 are explanatory diagrams, FIG. 12 is a flowchart of optimal group selection processing, FIG. 13 is a flowchart of optimal defocus amount calculation processing, FIG. 14 is a flowchart of photometry calculation processing, and FIG. 15 is an overall configuration diagram of the second embodiment. 10: Photographing lens 13: Lens CPU 20: Camera body 24: Focus detection optical system 25: Photoelectric conversion device 30: AFCPU 40: AF display unit 50
:AF motor 8o: Focus detection mode selection device

Claims (1)

【特許請求の範囲】 1)被写体像を所定面上に形成するための撮影光学系と
、 撮影画面内に設定された複数の焦点検出領域において、
それぞれ前記所定面に対する現在の像面のデフォーカス
量を検出する焦点検出手段と、前記複数領域と略同一の
領域について各々測光出力を得る測光手段と、 前記複数の焦点検出領域をその領域のデフォーカス量に
応じて複数のグループにまとめるグループ化手段と、 前記複数のグループの中から合焦すべき被写体の像が形
成されていると予想される一つの最適グループを選択す
る選択手段と、 該最適グループに属する焦点検出領域のデフォーカス量
に基づいてデフォーカス量を算出する最適デフォーカス
量演算手段と、 前記最適グループに属する領域の前記測光出力に重み付
けを大きくして最適な測光演算値を得る測光演算手段と
を具備することを特徴とする焦点検出測光装置。 2)請求項1の装置において、前記測光手段と焦点検出
手段とが共通の光電変換素子を有することを特徴とする
焦点検出測光装置。
[Claims] 1) A photographing optical system for forming a subject image on a predetermined plane, and a plurality of focus detection areas set within the photographing screen,
focus detection means for detecting the amount of defocus of the current image plane with respect to each of the predetermined planes; photometry means for obtaining a photometry output for each area substantially the same as the plurality of areas; a grouping means for grouping into a plurality of groups according to the amount of focus; a selection means for selecting one optimal group in which an image of a subject to be focused is expected to be formed from among the plurality of groups; an optimal defocus amount calculating means for calculating a defocus amount based on a defocus amount of a focus detection area belonging to an optimal group; What is claimed is: 1. A focus detection photometry device comprising: a photometry calculation means for obtaining a photometry. 2) A focus detection photometry device according to claim 1, wherein the photometry means and the focus detection means have a common photoelectric conversion element.
JP30615489A 1989-11-24 1989-11-24 Focus detection photometer Expired - Lifetime JP2958997B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30615489A JP2958997B2 (en) 1989-11-24 1989-11-24 Focus detection photometer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30615489A JP2958997B2 (en) 1989-11-24 1989-11-24 Focus detection photometer

Publications (2)

Publication Number Publication Date
JPH03164727A true JPH03164727A (en) 1991-07-16
JP2958997B2 JP2958997B2 (en) 1999-10-06

Family

ID=17953701

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30615489A Expired - Lifetime JP2958997B2 (en) 1989-11-24 1989-11-24 Focus detection photometer

Country Status (1)

Country Link
JP (1) JP2958997B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03225337A (en) * 1990-01-31 1991-10-04 Canon Inc Camera with automatic focusing device
JPH06331883A (en) * 1993-05-25 1994-12-02 Olympus Optical Co Ltd Range-finding device for camera
JP2006039343A (en) * 2004-07-29 2006-02-09 Fuji Photo Film Co Ltd Automatic focus/exposure control device of imaging system and method therefor
JP2012194262A (en) * 2011-03-15 2012-10-11 Canon Inc Imaging apparatus and control method
JP2015087706A (en) * 2013-11-01 2015-05-07 キヤノン株式会社 Focus control device, and control method therefor
JP2015087705A (en) * 2013-11-01 2015-05-07 キヤノン株式会社 Focus control device, and control method therefor
US9742980B2 (en) 2013-11-01 2017-08-22 Canon Kabushiki Kaisha Focus control apparatus and control method therefor

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6512786B2 (en) * 2014-10-06 2019-05-15 キヤノン株式会社 Imaging device, control method therefor, program, storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03225337A (en) * 1990-01-31 1991-10-04 Canon Inc Camera with automatic focusing device
JPH06331883A (en) * 1993-05-25 1994-12-02 Olympus Optical Co Ltd Range-finding device for camera
JP2006039343A (en) * 2004-07-29 2006-02-09 Fuji Photo Film Co Ltd Automatic focus/exposure control device of imaging system and method therefor
JP4537791B2 (en) * 2004-07-29 2010-09-08 富士フイルム株式会社 Apparatus and method for automatic focusing / exposure amount control of imaging system
JP2012194262A (en) * 2011-03-15 2012-10-11 Canon Inc Imaging apparatus and control method
JP2015087706A (en) * 2013-11-01 2015-05-07 キヤノン株式会社 Focus control device, and control method therefor
JP2015087705A (en) * 2013-11-01 2015-05-07 キヤノン株式会社 Focus control device, and control method therefor
US9742980B2 (en) 2013-11-01 2017-08-22 Canon Kabushiki Kaisha Focus control apparatus and control method therefor

Also Published As

Publication number Publication date
JP2958997B2 (en) 1999-10-06

Similar Documents

Publication Publication Date Title
US5305048A (en) A photo taking apparatus capable of making a photograph with flash by a flash device
US5420661A (en) Camera with camera-shake detection apparatus
JP2881790B2 (en) Focus detection device
JPS61279829A (en) Photometric device for camera
JP2605282B2 (en) Automatic focusing device
JP3080968B2 (en) Photometric device
US5410383A (en) Focus detecting device
US5258801A (en) Focus detecting device
JPH03164727A (en) Focus detecting photometric device
EP0440170B1 (en) Camera
US5258803A (en) Camera detecting focus to plural areas and deciding flash elimanation based on the plural areas
JP2526933B2 (en) camera
JP3630965B2 (en) Focus detection apparatus, camera, and focus detection method
JP4950634B2 (en) Imaging apparatus and imaging system
JP3028003B2 (en) Automatic exposure control device
JP2009251164A (en) Exposure calculating device and imaging apparatus
US6445886B1 (en) Photometry device of a camera
JP2969872B2 (en) Photometric calculation device for camera
JPH03174127A (en) Exposure controller for camera
JP3477402B2 (en) Camera with photometric device
JP5417032B2 (en) Camera photometric device
EP0440171A1 (en) Camera
JP2757396B2 (en) camera
JP6005955B2 (en) Photometric device and imaging device
JP3106613B2 (en) Camera exposure calculation device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080730

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100730

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100730

Year of fee payment: 11