JP2001324665A - Auto-focusing device for camera - Google Patents

Auto-focusing device for camera

Info

Publication number
JP2001324665A
JP2001324665A JP2000142016A JP2000142016A JP2001324665A JP 2001324665 A JP2001324665 A JP 2001324665A JP 2000142016 A JP2000142016 A JP 2000142016A JP 2000142016 A JP2000142016 A JP 2000142016A JP 2001324665 A JP2001324665 A JP 2001324665A
Authority
JP
Japan
Prior art keywords
area
distance measurement
distance
camera
areas
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.)
Withdrawn
Application number
JP2000142016A
Other languages
Japanese (ja)
Inventor
Koichi Nakada
康一 中田
Takashi Kindaichi
剛史 金田一
Masataka Ide
昌孝 井出
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.)
Olympus Corp
Original Assignee
Olympus Optical Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP2000142016A priority Critical patent/JP2001324665A/en
Publication of JP2001324665A publication Critical patent/JP2001324665A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an auto-focusing device for camera by which a main object can be detected at a high speed and can be focused highly precisely without causing cost. SOLUTION: This auto-focusing device is equipped with a pair of light receiving lenses 101a and 101b, a pair of area sensors 102a and 102b, an integration control means 103, a readout means 104, and an arithmetic operation means 105 for arithmetically calculating data in accordance with an object distance based on the read-out image data. The means 105 focuses plural areas on a line in the specified direction of a photographic image plane, selects the closest point, and then focuses plural areas on a line in another direction including the selected closest point, selects the closest point at that time, and obtains main object focusing data. Time taken until the main object is detected after starting the focusing is made shorter than in the case the main object focusing data is detected by focusing all the plural areas divided as in the conventional manner.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、撮影画面内全域を
測距可能なカメラの測距装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a camera distance measuring apparatus capable of measuring the entire area of a photographic screen.

【0002】[0002]

【従来の技術】従来、撮影画面内の複数の測距点を測距
可能なカメラの測距装置としては、特開平9−1274
05号公報に開示されているものがある。
2. Description of the Related Art Conventionally, as a distance measuring device of a camera capable of measuring a plurality of distance measuring points in a photographing screen, Japanese Patent Application Laid-Open No. 9-1274 discloses
There is one disclosed in Japanese Patent Publication No. 05-2005.

【0003】特開平9−127405号公報には、エリ
アセンサを用いて撮影画面内を複数エリアに分割し、複
数エリアの測距結果より主要被写体を検出する技術が述
べられている。
Japanese Patent Application Laid-Open No. Hei 9-127405 describes a technique in which an image sensor is divided into a plurality of areas using an area sensor, and a main subject is detected based on a result of distance measurement of the plurality of areas.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、特開平
9−127405号公報に開示されているような、分割
された全ての複数エリアについて測距データを求める方
式の場合、演算量が膨大である為に測距時間が長くなり
シャッターチャンスを逃してしまう。また、測距時間を
短縮する為に高速のCPUを用いるとコストアップを招
いてしまうという問題がある。
However, in the method disclosed in Japanese Patent Application Laid-Open No. Hei 9-127405, in which distance measurement data is obtained for all of a plurality of divided areas, the amount of calculation is enormous. In addition, the distance measurement time becomes longer, and you miss a photo opportunity. Further, if a high-speed CPU is used to shorten the distance measurement time, there is a problem that the cost is increased.

【0005】そこで、本発明の目的は、コストアップを
招くことなく高速で主要被写体を検出し、高精度な測距
を行うことのできるカメラの測距装置を提供することに
ある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a camera distance measuring apparatus capable of detecting a main subject at high speed without incurring an increase in cost and performing high precision distance measurement.

【0006】[0006]

【課題を解決するための手段】請求項1の発明は、一対
の被写体像を一対のエリアセンサ上に結像させる受光レ
ンズと、受光レンズにより結像させられた一対の被写体
像を光強度に応じて電気信号に変換する一対のエリアセ
ンサと、一対のエリアセンサの積分制御を行なう積分制
御手段と、一対のエリアセンサから出力される被写体像
データの読み出しを行う読み出し手段と、読み出された
被写体像データに基づいて被写体距離に応じたデータを
演算する演算手段とを具備したカメラの測距装置であっ
て、上記演算手段は、撮影画面内の所定方向の一直線上
の複数エリアを測距する第1の測距を行い、第1の測距
結果に基づいて複数エリアより少なくとも一つのエリア
を選択する第1の選択を行う第1選択手段と、該第1選
択手段で選択されたエリアを含む第1の測距を行った方
向とは別方向の一直線上の複数エリアを測距する第2の
測距を行い、第2の測距結果に基づいて複数エリアより
少なくとも一つのエリアを選択する第2の選択を行う第
2の選択手段と、を具備し、該第2の選択手段により選
択されたエリアの測距データを主要被写体距離データと
するものである。
According to a first aspect of the present invention, a light receiving lens for forming a pair of subject images on a pair of area sensors, and a pair of subject images formed by the light receiving lens are converted to light intensity. A pair of area sensors for converting to a corresponding electric signal, an integration control means for performing integral control of the pair of area sensors, a reading means for reading object image data output from the pair of area sensors, Calculating means for calculating data corresponding to the subject distance based on the subject image data, wherein the calculating means measures a plurality of areas on a straight line in a predetermined direction in a shooting screen. A first selection unit that performs a first selection to select at least one area from a plurality of areas based on a result of the first distance measurement; and a first selection unit that performs the first selection. Performing a second distance measurement for measuring a plurality of areas on a straight line in a direction different from the direction in which the first distance measurement including the area is performed, and at least one area from the plurality of areas based on the second distance measurement result And second selection means for performing a second selection of the distance selection data, and the distance measurement data of the area selected by the second selection means is used as the main subject distance data.

【0007】請求項1の発明においては、撮影画面の所
定方向の一直線上の複数エリアを測距し、最至近ポイン
トを選択し、次にこの選択された最至近ポイントを含む
別方向の一直線上の複数エリアを測距し、そのときの最
至近ポイントを選択して主要被写体測距データを得る。
従来のように分割された複数エリアの全エリアについて
測距を行って主要被写体を検出するのに比べ、測距開始
から主要被写体を検出するまでの時間が短くて済む。
According to the first aspect of the present invention, a plurality of areas on a straight line in a predetermined direction on a photographing screen are measured, a closest point is selected, and then a line including the selected closest point is selected in another direction. Are measured, and the closest point at that time is selected to obtain main subject distance measurement data.
The time from the start of ranging to the detection of the main subject can be reduced compared to the case where the main subject is detected by measuring the distance in all the divided areas as in the related art.

【0008】請求項2の発明は、請求項1のカメラの測
距装置において、第1の測距を行う測距エリアは、撮影
画面の中央を測距するエリアを含むエリアセンサの水平
方向の一直線上に存在するエリアであり、第2の測距を
行う測距エリアは、第1の選択で選択されたエリアを含
むエリアセンサの垂直方向の一直線上に存在するエリア
であることを特徴とする。
According to a second aspect of the present invention, in the camera distance measuring apparatus according to the first aspect, the distance measuring area for performing the first distance measuring is in the horizontal direction of an area sensor including an area for measuring the center of the photographing screen. The distance measuring area that is located on a straight line and that performs the second ranging is an area that is located on a straight line in the vertical direction of the area sensor including the area selected by the first selection. I do.

【0009】請求項3の発明は、請求項1のカメラの測
距装置において、カメラの姿勢を検出する姿勢検出手段
をさらに具備し、上記演算手段は、カメラの姿勢に応じ
て、第1の測距を行う方向と第2の測距を行う方向を切
り換えることを特徴とする。
According to a third aspect of the present invention, in the camera distance measuring apparatus according to the first aspect, the apparatus further comprises a posture detecting means for detecting a posture of the camera. It is characterized in that a direction for performing distance measurement and a direction for performing second distance measurement are switched.

【0010】[0010]

【発明の実施の形態】〔第1の実施の形態〕図1は本発
明の第1の実施の形態のカメラの測距装置の構成を概略
的に示すブロック図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS [First Embodiment] FIG. 1 is a block diagram schematically showing a configuration of a camera distance measuring apparatus according to a first embodiment of the present invention.

【0011】第1の実施の形態では、演算手段であるC
PU105は、撮影画面内の水平方向の所定領域内の複
数エリアを測距して最至近選択し、選択されたエリアを
含む垂直方向の複数エリアを測距して最至近選択して撮
影用距離データを決定するものである。
In the first embodiment, the calculating means C
The PU 105 measures a plurality of areas in a predetermined area in the horizontal direction in the shooting screen and selects the closest distance, and measures a plurality of areas in the vertical direction including the selected area and selects the closest distance to select the closest distance. Determine the data.

【0012】図1において、101a,101bは被写
体からの2つの被写体像を一対のエリアセンサ102
a,102b上にそれぞれ結像させる為の受光レンズで
ある。一対のエリアセンサ102a,102bは、受光
レンズ101a,101bにより結像された一対の被写
体像を光強度に応じて光電変換し、電気信号に変換する
ものである。エリアセンサ102a,102bはその電
荷蓄積時間などが積分制御回路103により制御可能で
ある。積分制御回路103はCPU105からの指示に
基づき一対のエリアセンサ102a,102bの積分動
作の制御を行う。
In FIG. 1, reference numerals 101a and 101b denote two subject images from a subject as a pair of area sensors 102.
a, a light receiving lens for forming an image on each of 102a and 102b. The pair of area sensors 102a and 102b photoelectrically convert the pair of subject images formed by the light receiving lenses 101a and 101b in accordance with the light intensity and convert the image into an electric signal. The area sensors 102 a and 102 b can control the charge accumulation time and the like by the integration control circuit 103. The integration control circuit 103 controls the integration operation of the pair of area sensors 102a and 102b based on an instruction from the CPU 105.

【0013】読み出し手段であるA/D変換回路104
は、CPU105の制御の下、一対のエリアセンサ10
2a,102bよから出力される被写体像データの読み
出しを行うもので、エリアセンサ102a,102bよ
り出力される、被写体像を光電変換したアナログ電気信
号をA/D変換し、該A/D変換された被写体像データ
をCPU105に供給する。
A / D conversion circuit 104 as reading means
Is a pair of area sensors 10 under the control of the CPU 105.
2A and 102b, the A / D conversion is performed on the analog electric signal output from the area sensors 102a and 102b, which is obtained by photoelectrically converting the subject image, and is subjected to the A / D conversion. The supplied subject image data is supplied to the CPU 105.

【0014】演算手段であるCPU105は、各種制御
信号の出力、相関・補間演算等の各種演算を行なうもの
で、被写体像データに基づいて被写体距離に応じたデー
タを演算する。
The CPU 105, which is a calculation means, performs various calculations such as output of various control signals and correlation / interpolation calculations, and calculates data corresponding to the subject distance based on the subject image data.

【0015】例えば、測距光学系を構成する受光レンズ
101a,101bは所定長を隔てて配置され、これら
受光レンズの前方(図示左方)にある図示しない被写体
の像を2像に分割して一対のエリアセンサ102a,1
02bに結像させる。CPU105は、一対のエリアセ
ンサ102a,102b上に結像される2像の相対的な
位置差xと、受光レンズ101a,101bの焦点距離
fと、受光レンズ101a,101b間の配置間隔Bと
から、三角測距の原理によって、受光レンズ101a,
101bから図示しない被写体までの被写体距離L(L
=B・f/x)を算出できる。
For example, light receiving lenses 101a and 101b constituting a distance measuring optical system are arranged at a predetermined distance from each other, and divide an image of a subject (not shown) in front (left side in the figure) of these light receiving lenses into two images. A pair of area sensors 102a, 1
02b. The CPU 105 calculates the relative position difference x between the two images formed on the pair of area sensors 102a and 102b, the focal length f of the light receiving lenses 101a and 101b, and the arrangement interval B between the light receiving lenses 101a and 101b. , The light receiving lens 101a,
A subject distance L (L
= B · f / x).

【0016】また、上記CPU105は、撮影画面内の
所定方向例えば水平方向の一直線上の複数エリアを測距
する第1の測距を行い、第1の測距結果に基づいて複数
エリアより少なくとも一つのエリアを選択する第1の選
択を行う第1選択手段と、該第1選択手段で選択された
エリアを含む第1の測距を行った方向とは別方向例えば
垂直方向の一直線上の複数エリアを測距する第2の測距
を行い、第2の測距結果に基づいて複数エリアより少な
くとも一つのエリアを選択する第2の選択を行う第2の
選択手段とを備えており、該第2の選択手段により選択
されたエリアの測距データを求めて主要被写体距離デー
タとする。
Further, the CPU 105 performs a first distance measurement for measuring a plurality of areas on a straight line in a predetermined direction, for example, a horizontal direction in the photographing screen, and at least one of the plurality of areas is measured based on the first distance measurement result. First selecting means for performing a first selection for selecting one area, and a plurality of lines on a straight line different from the direction in which the first distance measurement including the area selected by the first selecting means is performed, for example, a vertical direction And second selection means for performing a second selection for selecting at least one area from a plurality of areas based on the second distance measurement result. Distance measurement data of the area selected by the second selection means is obtained and used as main subject distance data.

【0017】CPU105は、第1,第2の各測距にお
いて、一対のエリアセンサ102a,102bに測距エ
リアを設定し、2像に対応するセンサデータを用いて相
関演算(位相差検出)を行い、これにより2像の相対的
な位置差xを検出し、これを用いて上述の被写体距離L
を求める演算を行って各測距エリアの測距データを得
る。
In each of the first and second distance measurement, the CPU 105 sets a distance measurement area for the pair of area sensors 102a and 102b, and performs a correlation calculation (phase difference detection) using sensor data corresponding to the two images. Then, the relative position difference x between the two images is detected, and the detected object distance L
Is obtained to obtain distance measurement data of each distance measurement area.

【0018】図2は第1の実施の形態を説明する為の撮
影シーン及び撮影画面内の測距エリアを示している。1
11は撮影画面、112は最初に測距を行う撮影画面1
11の中央を測距するエリアを含む主要被写体検出用の
水平方向領域、113は水平方向領域112の測距で最
至近選択された測距エリア115を含む被写体距離測定
用の垂直方向領域である。また、114は主要被写体で
ある人物、115は水平方向領域112の測距で最も近
距離のデータである測距エリア、116は垂直方向領域
113の測距で最も近距離のデータである測距エリアで
あり、該エリアの測距データが主要被写体距離データと
される。
FIG. 2 shows a photographing scene and a distance measuring area in a photographing screen for explaining the first embodiment. 1
11 is a photographing screen, 112 is a photographing screen 1 for performing distance measurement first.
Reference numeral 113 denotes a horizontal area for detecting a main subject including an area for measuring a distance in the center of the center, and reference numeral 113 denotes a vertical area for measuring a subject distance including a ranging area 115 which is the closest selected in the horizontal area 112. . Reference numeral 114 denotes a person who is a main subject, 115 denotes a distance measurement area which is the closest distance data in the horizontal direction area 112, and 116 denotes distance measurement data which is the closest distance data in the vertical direction area 113. It is an area, and the distance measurement data of the area is used as main subject distance data.

【0019】次に、図3を参照して第1の実施の形態の
作用を説明する。第1の実施の形態は、図2に示す様な
撮影シーンにおいて、CPU105は、まず撮影画面1
11の中央を測距するエリアを含むエリアセンサ102
a、102bの水平方向の領域112内の各測距エリア
で第1の測距を行い、最も近距離のデータである測距エ
リア115を選択することにより主要被写体である人物
114を検出する。次に、測距エリア115を含むエリ
アセンサ102a、102bの垂直方向の領域113内
の各測距エリアで第2の測距を行い最も近距離のデータ
である測距エリア116を選択し、その測距データを撮
影用の測距データとする。
Next, the operation of the first embodiment will be described with reference to FIG. In the first embodiment, in a shooting scene as shown in FIG.
Area sensor 102 including an area for measuring the distance of the center of 11
The first distance measurement is performed in each distance measurement area in the horizontal area 112a, 102b, and the person 114 that is the main subject is detected by selecting the distance measurement area 115 that is the closest data. Next, the second ranging is performed in each ranging area in the vertical direction area 113 of the area sensors 102a and 102b including the ranging area 115, and the ranging area 116 which is the closest distance data is selected. The distance measurement data is used as the distance measurement data for photographing.

【0020】第1の実施の形態によれば、全ての測距エ
リアで測距を行う場合に対して、測距時間を短縮するこ
とができる。
According to the first embodiment, the distance measurement time can be shortened in the case where the distance measurement is performed in all the distance measurement areas.

【0021】図3は第1の実施の形態の測距シーケンス
の手順を示すフローチャートを示している。各ステップ
S101〜S122を説明する。
FIG. 3 is a flowchart showing a procedure of a distance measuring sequence according to the first embodiment. Steps S101 to S122 will be described.

【0022】S101では、測光データ、プリ積分デー
タ等に基づいてエリアセンサ102a,102bのセン
サ感度の設定を行なう。
In step S101, the sensor sensitivities of the area sensors 102a and 102b are set based on photometric data, pre-integration data, and the like.

【0023】S102では、S101で設定したセンサ
感度で積分を行なう。積分の制御は積分制御回路103
により行なわれる。
In S102, integration is performed with the sensor sensitivity set in S101. The integration is controlled by an integration control circuit 103
It is performed by

【0024】S103では、S102の積分によるセン
サデータを読み出し、A/D変換回路104でA/D変
換を行なう。
In S103, the sensor data obtained by the integration in S102 is read, and the A / D conversion circuit 104 performs A / D conversion.

【0025】S104では、最初に測距を行う撮影画面
111の中央を測距するエリアを含む主要被写体検出用
の水平方向領域112内の測距エリアを設定する。
In step S104, a distance measurement area in a horizontal direction area 112 for detecting a main subject including an area for measuring a distance in the center of the photographing screen 111 where distance measurement is first performed is set.

【0026】S105では、水平方向領域112内の測
距エリア数を設定する。S106では、測距演算を行う
エリアを設定する。
In S105, the number of distance measurement areas in the horizontal area 112 is set. In S106, an area in which the distance measurement calculation is performed is set.

【0027】S107では、エリアセンサ102a、1
02bの演算を行なう測距エリア内のセンサデータの一
致度が最も高くなるデータのシフト量を求める公知の相
関演算を行なう。
At S107, the area sensors 102a, 1
A well-known correlation operation is performed to determine the shift amount of the data at which the degree of coincidence of the sensor data in the ranging area for performing the operation of 02b is highest.

【0028】S108では、S107で求めた離散的な
シフト量の小数点以下を求める公知の補間演算を行な
う。
In step S108, a well-known interpolation operation for calculating the decimal part of the discrete shift amount obtained in step S107 is performed.

【0029】S109では、S107,S108の演算
により求めた測距データをCPU105内のRAMに記
憶する。
In step S109, the distance measurement data obtained by the calculations in steps S107 and S108 is stored in the RAM in the CPU 105.

【0030】S110では、水平方向領域112内の測
距演算を行うエリア数を1ディクリメントする。
In S110, the number of areas in the horizontal area 112 for which the distance measurement operation is performed is decremented by one.

【0031】S111では、水平方向領域112内の全
測距エリアの演算が終了したかどうかの判定を行なう。
演算が終了していない測距エリアがある場合(n≠0)
はS106に戻り、全エリア終了の場合(n=0)はS
112に進む。
In S111, it is determined whether or not the calculation of all the ranging areas in the horizontal direction area 112 has been completed.
When there is a ranging area for which calculation has not been completed (n ≠ 0)
Returns to S106, and if all areas are ended (n = 0), S
Proceed to 112.

【0032】S112では、水平方向領域112内の測
距データ中で最も近距離のデータを検出する。
In step S112, the closest data among the distance measurement data in the horizontal area 112 is detected.

【0033】S113では、S112で最至近選択によ
り検出された測距データのエリア115を含む被写体距
離測定用の垂直方向領域113内の測距エリアを設定す
る。
In step S113, a distance measurement area in the vertical direction area 113 for subject distance measurement including an area 115 of the distance measurement data detected by the closest selection in step S112 is set.

【0034】S114では、垂直方向領域113内の測
距エリア数を設定する。
In S114, the number of distance measurement areas in the vertical direction area 113 is set.

【0035】S115〜S119は、S106〜S11
0と同様である。S120では、垂直方向領域113内
の全測距エリアの演算が終了したかどうかの判定を行な
う。演算が終了していない測距エリアがある場合(n≠
0)はS115に戻り、全エリア終了の場合(n=0)
はS121に進む。
Steps S115 to S119 are performed in steps S106 to S11.
Same as 0. In S120, it is determined whether the calculation of all the ranging areas in the vertical direction area 113 has been completed. When there is a ranging area for which calculation has not been completed (n ≠
0) returns to S115, and in the case of ending all areas (n = 0)
Goes to S121.

【0036】S121では、垂直方向領域113内の測
距データ中で最も近距離のデータを検出する。
In step S121, the closest data among the distance measurement data in the vertical direction area 113 is detected.

【0037】そして、S122では、S121で最至近
選択により検出した測距データであるシフト量Sを
(1)式により被写体距離Lの逆数のデータ(1/L)
に変換する。
In step S122, the shift amount S, which is the distance measurement data detected by the closest selection in step S121, is calculated by the equation (1) to obtain the reciprocal data (1 / L) of the subject distance L.
Convert to

【0038】1/L=K×S+α …… (1) K,αは測距光学系,エリアセンサのセンサピッチ及び
相関演算のシフト基準位置の設定により定まる定数。こ
こでシフト量Sを1/Lに変換するのは撮影レンズのピ
ント位置と1/Lがほぼ比例関係にあり、また三角測距
の出力も原理的に1/Lに比例するので1/Lで扱った
方が演算も単純になるためである。
1 / L = K × S + α (1) K and α are constants determined by the distance measuring optical system, the sensor pitch of the area sensor, and the shift reference position for correlation calculation. Here, the shift amount S is converted to 1 / L because the focus position of the photographing lens and 1 / L are substantially proportional to each other, and the output of the triangulation is in principle proportional to 1 / L. The reason for this is that the operation becomes simpler.

【0039】〔第2の実施の形態〕第2の実施の形態
は、図4,図5に示す様なカメラの姿勢を検出する姿勢
検出手段206を設けることにより、カメラの姿勢が横
位置か縦位置かを検出し、演算手段であるCPU105
では、その姿勢検出結果に基づいて、最初に主要被写体
検出用の第1の測距を行う測距エリアを設定する方向を
切り換えるようにしたものである。
[Second Embodiment] In a second embodiment, by providing a posture detecting means 206 for detecting the posture of the camera as shown in FIGS. The CPU 105 detects whether the object is in the vertical position.
In the first embodiment, the direction in which the first distance measurement area for the first distance measurement for detecting the main subject is set is switched based on the posture detection result.

【0040】第2の実施の形態によれば、カメラの姿勢
に応じた主要被写体検出を行うことができる。
According to the second embodiment, the main subject can be detected according to the attitude of the camera.

【0041】図4は本発明の第2の実施の形態のカメラ
の測距装置の構成を示すブロック図である図4におい
て、201a,201bは被写体像をエリアセンサ20
2a,202b上に結像させる為の受光レンズである。
エリアセンサ202a,202bは、受光レンズ201
a,201bにより結像された被写体像をその光強度に
応じて光電変換し、電気信号に変換するものである。エ
リアセンサ202a,202bはその電荷蓄積時間など
が積分制御回路203により制御可能である。積分制御
回路203はCPU205からの指示に基づきエリアセ
ンサ202a,202bの積分動作の制御を行う。
FIG. 4 is a block diagram showing a configuration of a camera distance measuring apparatus according to a second embodiment of the present invention. In FIG.
This is a light receiving lens for forming an image on 2a and 202b.
The area sensors 202a and 202b are
The object image formed by a and 201b is photoelectrically converted according to the light intensity, and is converted into an electric signal. The area sensors 202a and 202b can control the charge accumulation time and the like by the integration control circuit 203. The integration control circuit 203 controls the integration operation of the area sensors 202a and 202b based on an instruction from the CPU 205.

【0042】読み出し手段であるA/D変換回路204
は、CPU205の制御の下、一対のエリアセンサ20
2a,202bよから出力される被写体像データの読み
出しを行うもので、エリアセンサ202a,202bよ
り出力される、被写体像を光電変換したアナログ電気信
号をA/D変換し、該A/D変換された被写体像データ
をCPU105に供給する。
A / D conversion circuit 204 serving as reading means
Is a pair of area sensors 20 under the control of the CPU 205.
2A and 2b for reading out the subject image data. The A / D conversion is performed on the analog electric signal output from the area sensors 202a and 202b, which is obtained by photoelectrically converting the subject image. The supplied subject image data is supplied to the CPU 105.

【0043】演算手段であるCPU205は、各種制御
信号の出力、相関・補間演算等の各種演算を行なうもの
で、被写体像データに基づいて被写体距離に応じたデー
タを演算する。
The CPU 205, which is a calculation means, performs various calculations such as output of various control signals and correlation / interpolation calculations, and calculates data corresponding to the subject distance based on the subject image data.

【0044】また、上記CPU205は、撮影画面内の
所定方向例えば水平方向の一直線上の複数エリアを測距
する第1の測距を行い、第1の測距結果に基づいて複数
エリアより少なくとも一つのエリアを選択する第1の選
択を行う第1選択手段と、該第1選択手段で選択された
エリアを含む第1の測距を行った方向とは別方向例えば
垂直方向の一直線上の複数エリアを測距する第2の測距
を行い、第2の測距結果に基づいて複数エリアより少な
くとも一つのエリアを選択する第2の選択を行う第2の
選択手段とを備えており、該第2の選択手段により選択
されたエリアの測距データを主要被写体距離データとす
る。
The CPU 205 performs a first distance measurement for measuring a plurality of areas on a straight line in a predetermined direction, for example, a horizontal direction, in the photographing screen, and based on the first distance measurement, at least one of the plurality of areas is measured. First selecting means for performing a first selection for selecting one area, and a plurality of lines on a straight line different from the direction in which the first distance measurement including the area selected by the first selecting means is performed, for example, a vertical direction And second selection means for performing a second selection for selecting at least one area from a plurality of areas based on the second distance measurement result. The distance measurement data of the area selected by the second selection means is set as main subject distance data.

【0045】さらに、上記CPU205は、姿勢検出手
段206からのカメラ姿勢検出信号に応じて、第1の測
距を行う方向と第2の測距を行う方向を切り換える制御
を行う。
Further, the CPU 205 performs control for switching between the direction in which the first distance measurement is performed and the direction in which the second distance measurement is performed in accordance with the camera posture detection signal from the posture detection means 206.

【0046】姿勢検出手段206では、カメラ姿勢が横
位置か縦位置かを検出する。
The posture detecting means 206 detects whether the camera posture is a horizontal position or a vertical position.

【0047】図5は上記のカメラの姿勢検出手段206
の構成を示すブロック図である。図5において、姿勢検
出手段206は、水銀スイッチ211と、縦横検出回路
213とで構成されている。水銀スイッチ211は、断
面形状がT形のスイッチケースと、該スイッチケース内
に封入されいる水銀212と、スイッチケースの異なっ
た位置にそれぞれ配設され水銀212の移動に応じて各
組の端子群がオン/オフする3組の端子群(h,i),
(j,k),(l,m)と、を有して構成されている。
水銀スイッチ211の上記3組の端子群(h,i),
(j,k),(l,m)は縦横検出回路213に接続し
ており、各組の端子のオン/オフが縦横検出回路213
に伝達されることで、縦横検出回路213はカメラ姿勢
が縦か横かを検出する仕組みとなっている。
FIG. 5 shows the attitude detecting means 206 of the camera.
FIG. 3 is a block diagram showing the configuration of FIG. In FIG. 5, the attitude detecting means 206 includes a mercury switch 211 and a vertical / horizontal detecting circuit 213. The mercury switch 211 includes a switch case having a T-shaped cross section, a mercury 212 sealed in the switch case, and a terminal group of each set disposed at different positions of the switch case according to the movement of the mercury 212. Sets of terminal groups (h, i) that turn on / off,
(J, k) and (l, m).
The above three terminal groups (h, i) of the mercury switch 211,
(J, k) and (l, m) are connected to the vertical / horizontal detection circuit 213, and the on / off of each group of terminals is determined by the vertical / horizontal detection circuit 213.
, The vertical / horizontal detection circuit 213 detects whether the camera posture is vertical or horizontal.

【0048】つまり、水銀スイッチ211内の水銀21
2は、カメラの姿勢に応じてて移動し、各組の端子群
(h,i),(j,k),(l,m)のいずれかかがオ
ンすることで、縦横検出回路213はカメラ姿勢の縦横
を検出し、CPU205に知らせる。
That is, the mercury 21 in the mercury switch 211
2 moves in accordance with the attitude of the camera, and when one of the terminal groups (h, i), (j, k), and (l, m) of each group is turned on, the vertical / horizontal detection circuit 213 The orientation of the camera is detected and the CPU 205 is notified.

【0049】図6は第2の実施の形態の測距エリアの設
定を示す図である。図6(a),(b)はカメラの姿勢
が横位置の場合であり、(a)はカメラの姿勢が横位置
の場合の主要被写体検出用の測距エリア設定を示し、
(b)はカメラの姿勢が横位置の場合の被写体距離測定
用の測距エリア設定を示している。また、図6(c),
(d)はカメラの姿勢が縦位置の場合であり、(c)は
カメラの姿勢が縦位置の場合の主要被写体検出用の測距
エリア設定を示し、(d)はカメラの姿勢が縦位置の場
合の被写体距離測定用の測距エリア設定を示している。
FIG. 6 is a diagram showing the setting of a distance measuring area according to the second embodiment. 6A and 6B show a case where the camera is in the horizontal position, and FIG. 6A shows a ranging area setting for detecting a main subject when the camera is in the horizontal position.
(B) shows a distance measurement area setting for measuring a subject distance when the camera is in a horizontal position. In addition, FIG.
(D) shows a case where the camera is in the vertical position, (c) shows a distance measurement area setting for detecting a main subject when the camera is in the vertical position, and (d) shows a case where the camera is in the vertical position. 3 shows a distance measurement area setting for measuring a subject distance in the case of.

【0050】図6(a)〜(c)で、221は撮影画面
を、222はエリアセンサ202a,202bの水平方
向領域を、223はエリアセンサ202a,202bの
垂直方向領域を示している。
In FIGS. 6A to 6C, reference numeral 221 denotes a shooting screen; 222, a horizontal area of the area sensors 202a and 202b; and 223, a vertical area of the area sensors 202a and 202b.

【0051】エリアセンサ202a,202bの水平方
向領域222は、カメラの姿勢が横位置の場合の主要被
写体検出用に、撮影画面221の中央を測距するエリア
を含む領域を設定するもの(図6(a) 参照)であり、或
いはカメラの姿勢が縦位置の場合の被写体距離測定用
に、垂直方向領域222の測距で最至近選択された測距
エリア224を含む領域を設定するもの(図6(d)参
照)である。
The horizontal area 222 of the area sensors 202a and 202b sets an area including an area for measuring the distance at the center of the photographing screen 221 for main subject detection when the camera is in the horizontal position (FIG. 6). (See FIG. 3A), or for setting an area including the distance measurement area 224 selected closest in the vertical area 222 when measuring the subject distance when the camera is in the vertical position (see FIG. 6 (d)).

【0052】エリアセンサ202a,202bの垂直方
向領域223は、カメラの姿勢が横位置の場合の被写体
距離測定用に、水平方向領域222の測距で最至近選択
された測距エリア224を含む領域を設定するもの(図
6(b) 参照)であり、或いはカメラの姿勢が縦位置の場
合の主要被写体検出用に、撮影画面221の中央を測距
するエリアを含む領域を設定するもの(図6(c) 参照)
である。
The vertical area 223 of the area sensors 202a and 202b is an area including the distance measuring area 224 selected closest in the horizontal area 222 for measuring the object distance when the camera is in the horizontal position. (See FIG. 6 (b)), or an area including an area for measuring the center of the photographing screen 221 for detecting the main subject when the camera is in the vertical position (see FIG. 6 (b)). See 6 (c))
It is.

【0053】224は水平方向領域222の測距で最も
近距離のデータである測距エリアを示し、225は垂直
方向領域223の測距で最も近距離のデータである測距
エリアを示している。
Reference numeral 224 denotes a distance measuring area which is the closest data in the horizontal area 222, and reference numeral 225 denotes a distance measuring area which is the closest data in the vertical area 223. .

【0054】次に、図7を参照して第2の実施の形態の
作用を説明する。図7は第2の実施の形態の測距シーケ
ンスの手順を示すフローチャートである。
Next, the operation of the second embodiment will be described with reference to FIG. FIG. 7 is a flowchart illustrating a procedure of a distance measurement sequence according to the second embodiment.

【0055】S201では、カメラの姿勢検出手段20
6により、カメラの姿勢が横位置か縦位置かを判定す
る。
In step S201, the camera posture detecting means 20
According to 6, it is determined whether the posture of the camera is the horizontal position or the vertical position.

【0056】S202〜S204は、第1の実施の形態
の図3のS101〜S103と同様である。
Steps S202 to S204 are the same as steps S101 to S103 in FIG. 3 of the first embodiment.

【0057】S205では、S201のカメラの姿勢検
出で、カメラの姿勢が横位置であった場合はS206に
進み、縦位置であった湯合はS207に進む。
In S205, when the posture of the camera is detected in S201, if the posture of the camera is the horizontal position, the process proceeds to S206, and if the camera is in the vertical position, the process proceeds to S207.

【0058】S206では、最初に測距を行う撮影画面
221の中央を測距するエリアを含むエリアセンサ20
2a,202bの水平方向領域222内の測距エリアを
設定する。
In step S206, the area sensor 20 including the area for measuring the distance in the center of the photographing screen 221 for which the distance is to be measured first.
A distance measurement area in the horizontal direction area 222 of 2a and 202b is set.

【0059】S207では、最初に測距を行う撮影画面
221の中央を測距するエリアを含むエリアセンサ20
2a,202bの垂直方向領域223内の測距エリアを
設定する。
In step S207, the area sensor 20 including the area to be measured at the center of the photographing screen 221 for which the distance is to be measured first.
A distance measurement area in the vertical direction area 223 of 2a, 202b is set.

【0060】S208では、S206,S207のいず
れかで設定された領域内の測距エリア数を設定する。
In step S208, the number of distance measurement areas in the region set in one of steps S206 and S207 is set.

【0061】S209〜S212は、第1の実施の形態
の図3のS106〜S109と同様である。
Steps S209 to S212 are the same as steps S106 to S109 in FIG. 3 of the first embodiment.

【0062】S213では、S206,S207のいず
れかで設定された領域内の測距演算を行なうエリア数を
1ディクリメントする。
In S213, the number of areas for which the distance measurement is to be performed in the area set in any of S206 and S207 is decremented by one.

【0063】S214では、S206,S207のいず
れかで設定された領域内の全測距エリアの演算が終了し
たかどうかの判定を行なう。演算が終了していない測距
エリアがある場合(n≠0)はS209に戻り、全エリ
ア終了の場合(n=0)はS215に進む。
In S214, it is determined whether or not the calculation of all the ranging areas in the area set in S206 or S207 has been completed. If there is a ranging area for which the calculation has not been completed (n ≠ 0), the process returns to S209, and if all the areas have been completed (n = 0), the process proceeds to S215.

【0064】S215では、S206,S207のいず
れかで設定された領域内の測距データ中で最も近距離の
データを検出する。
In S215, the closest distance data among the distance measurement data in the area set in one of S206 and S207 is detected.

【0065】S216では、S201のカメラの姿勢検
出で、カメラの姿勢が横位置であった場合はS217に
進み、縦位置であった場合はS218に進む。
In step S216, when the posture of the camera is detected in step S201, the process proceeds to step S217 if the camera is in the horizontal position, and proceeds to step S218 if the camera is in the vertical position.

【0066】S217では、S215で最至近選択によ
り検出された測距データのエリア224を含むエリアセ
ンサ202a,202bの垂直方向領域223内の測距
エリアを設定する。
In S217, a distance measurement area in the vertical direction area 223 of the area sensors 202a and 202b including the area 224 of the distance measurement data detected by the closest selection in S215 is set.

【0067】S218では、S215で最至近選択によ
り検出された測距データのエリア224を含むエリアセ
ンサ202a,202bの水平方向領域222内の測距
エリアを設定する。
In S218, a distance measurement area in the horizontal direction area 222 of the area sensors 202a and 202b including the area 224 of the distance measurement data detected by the closest selection in S215 is set.

【0068】S219では、S217,S218のいず
れかで設定された領域内の測距エリア数を設定する。
In step S219, the number of distance measurement areas in the area set in one of steps S217 and S218 is set.

【0069】S220〜S224は、S209〜S21
3と同様である。S225では、S217,S218の
いずれかで設定された領域内の全測距エリアの演算が終
了したかどうかの判定を行なう。演算が終了していない
測距エリアがある場合(n≠0)はS220に戻り、全
エリア終了の場合(n=0)はS226に進む。
Steps S220 to S224 correspond to steps S209 to S21.
Same as 3. In S225, it is determined whether the calculation of all the ranging areas in the area set in any of S217 and S218 has been completed. If there is a ranging area for which the calculation has not been completed (n ≠ 0), the process returns to S220, and if all the areas have been completed (n = 0), the process proceeds to S226.

【0070】S226では、S21,218のいずれか
で設定された領域内の測距データ中で最も近距離のデー
タを検出する。S227は、第1の実施の形態の図3の
S122と同様である。
In S226, the closest distance data among the distance measurement data in the area set in one of S21 and S218 is detected. S227 is the same as S122 of FIG. 3 of the first embodiment.

【0071】〔第3の実施の形態〕本実施の形態の測距
装置のブロック構成は第1の実施の形態と同様である。
また、本実施の形態は第2の実施の形態のカメラ姿勢検
出手段がある構成に対しても適用可能である。
[Third Embodiment] The block configuration of a distance measuring apparatus according to this embodiment is the same as that of the first embodiment.
This embodiment is also applicable to the configuration having the camera posture detecting means of the second embodiment.

【0072】第3の実施の形態は、カメラの撮影レンズ
の焦点距離が望遠側の場合には主要被写体は撮影画面の
中央付近に存在することが多く、広角側の場合には撮影
画面の周辺部に存在する確率が望遠側に比べて増加する
ことから、演算手段であるCPU105は、図8に示す
様にカメラの撮影レンズの焦点距離が望遠側であるか広
角側であるかによって、主要被写体検出用の測距エリア
設定の領域設定箇所を複数とするか否かを切り換えるよ
うにしたものである。
In the third embodiment, when the focal length of the photographic lens of the camera is on the telephoto side, the main subject often exists near the center of the photographic screen, and when the focal length of the photographic lens is on the wide-angle side, the periphery of the photographic screen is around. Since the probability of existence in the camera unit increases as compared with the telephoto side, the CPU 105 as a calculating means determines whether the focal length of the taking lens of the camera is on the telephoto side or the wide-angle side as shown in FIG. It is configured to switch whether or not to set a plurality of area setting portions of the distance measurement area for subject detection.

【0073】撮影画面301の上方と下方の領域の主要
被写体検出を行う為のエリアセンサ102a,102b
の水平方向領域は、所定焦点距離で上方と下方の領域設
定の有無(上下領域の設定を行うか否か)を切り換えて
もよいし、焦点距離に応じて撮影画面内での上方と下方
の領域の設定位置や設定数を変えるようにしてもよい。
Area sensors 102a and 102b for detecting main subjects in the upper and lower areas of the photographing screen 301
In the horizontal direction, the presence or absence of setting of the upper and lower regions at the predetermined focal length (whether or not to set the upper and lower regions) may be switched, and the upper and lower regions in the shooting screen may be switched according to the focal length. The set position and the set number of the regions may be changed.

【0074】第3の実施の形態によれば、カメラの撮影
画角に応じた主要被写体検出を行うことができる。
According to the third embodiment, the main subject can be detected according to the angle of view of the camera.

【0075】図8は第3の実施の形態の測距エリアの設
定を示す図である。図8(a)はカメラの撮影レンズの
焦点距離が望遠側の場合の主要被写体検出用の測距エリ
ア設定を示している。また、図8(b)はカメラの撮影
レンズの焦点距離が広角側の場合の主要被写体検出用の
測距エリア設定を示している。
FIG. 8 is a diagram showing the setting of a distance measuring area according to the third embodiment. FIG. 8A shows a distance measurement area setting for detecting a main subject when the focal length of the photographing lens of the camera is on the telephoto side. FIG. 8B shows a distance measurement area setting for detecting a main subject when the focal length of the taking lens of the camera is on the wide angle side.

【0076】図8(a),(b)で301は撮影画面を
示し、図8(a)の302はカメラの撮影レンズの焦点
距離が望遠側の場合の撮影画面301の中央を測距する
エリアを含む主要被写体検出用のエリアセンサ102
a,102bの水平方向領域を示し、図8(b)の30
3はカメラの撮影レンズの焦点距離が広角側の場合の撮
影画面301の中央を測距するエリアを含む主要被写体
検出用のエリアセンサ102a,102bの水平方向領
域、及び、撮影画面301の上方と下方の領域の主要被
写体検出を行う為のエリアセンサ102a,102bの
水平方向領域を示している。
8A and 8B, reference numeral 301 denotes a photographing screen, and 302 in FIG. 8A measures the center of the photographing screen 301 when the focal length of the photographing lens of the camera is on the telephoto side. Area sensor 102 for detecting a main subject including an area
8A and 8B show horizontal regions, and are indicated by 30 in FIG.
Reference numeral 3 denotes a horizontal direction area of main sensor detection area sensors 102a and 102b including an area for measuring the center of the photographing screen 301 when the focal length of the photographing lens of the camera is on the wide angle side, and above and below the photographing screen 301. The horizontal direction area of the area sensors 102a and 102b for detecting the main subject in the lower area is shown.

【0077】次に、図9を参照して第3の実施の形態の
作用を説明する。図9は第3の実施の形態の測距シーケ
ンスの手順を示すフローチャートである。
Next, the operation of the third embodiment will be described with reference to FIG. FIG. 9 is a flowchart showing the procedure of the distance measurement sequence according to the third embodiment.

【0078】S301〜S303は、第1の実施の形態
の図3のS101〜S103と同様である。
Steps S301 to S303 are the same as steps S101 to S103 in FIG. 3 of the first embodiment.

【0079】S304では、カメラの撮影レンズの焦点
距離fTLが所定焦点距離よりも長いかどうかを判定す
る。長ければS305に進み、短ければS307に進
む。
In S304, it is determined whether or not the focal length fTL of the taking lens of the camera is longer than a predetermined focal length. If it is longer, proceed to S305, and if shorter, proceed to S307.

【0080】S305では、望遠側の主要被写体検出用
のエリアセンサ102a,102bの水平方向領域の測
距エリアを設定する。
In step S305, the distance measuring area in the horizontal direction of the area sensors 102a and 102b for detecting the main object on the telephoto side is set.

【0081】S306では、望遠側の主要被写体検出用
の測距エリア数を設定する。S307では、広角側の主
要被写体検出用のエリアセンサ102a,102bの水
平方向領域の測距エリアを設定する。
In step S306, the number of distance measurement areas for detecting the main subject on the telephoto side is set. In step S307, a horizontal distance measurement area of the area sensors 102a and 102b for detecting a main subject on the wide angle side is set.

【0082】S308では、広角側の主要被写体検出用
の測距エリア数を設定する。S309〜S325は、第
1の実施の形態の図3のS106〜S122と同様であ
る。
In step S308, the number of distance measurement areas for detecting the main subject on the wide-angle side is set. S309 to S325 are the same as S106 to S122 in FIG. 3 of the first embodiment.

【0083】〔第4の実施の形態〕本実施の形態の測距
装置のブロック構成は第1の実施の形態と同様である。
また、本実施の形態は第2の実施の形態のカメラ姿勢検
出手段がある構成に対しても適用可能である。
[Fourth Embodiment] The block configuration of a distance measuring apparatus according to this embodiment is the same as that of the first embodiment.
This embodiment is also applicable to the configuration having the camera posture detecting means of the second embodiment.

【0084】第4の実施の形態は、撮影画面401の中
央を測距するエリアを含む主要被写体検出用の測距エリ
アの全てが測距不能であった場合、演算手段であるCP
U105は、図10(a)に示す様に、主要被写体検出
用の測距エリアを撮影画面の下方にシフトして、再度主
要被写体検出を行うようにしたものである。
In the fourth embodiment, when all of the main object detection distance measurement areas including the area for measuring the distance in the center of the photographing screen 401 cannot be measured, CP as the arithmetic means is used.
In U105, as shown in FIG. 10A, the distance measurement area for detecting the main subject is shifted below the shooting screen, and the main subject is detected again.

【0085】図10(b)に示す様に、主要被写体検出
用の測距エリアを撮影画面の下方と上方の両方向にシフ
トして、再度主要被写体検出を行うようにしてもよい。
As shown in FIG. 10B, the main subject detection may be performed again by shifting the distance measurement area for detecting the main subject in both directions below and above the photographing screen.

【0086】下方にシフトしても測距不能の場合には上
方にシフトして、再度主要被写体検出を行うようにして
もよい。
If the distance cannot be measured even if the distance is shifted downward, the distance may be shifted upward and the main subject may be detected again.

【0087】また、カメラの撮影用レンズの焦点距離等
に応じて、主要被写体検出用の測距エリアのシフト量を
切り換えるようにしてもよい。
Further, the shift amount of the distance measuring area for detecting the main subject may be switched according to the focal length of the photographing lens of the camera or the like.

【0088】主要被写体検出用の測距エリアをシフトし
て主要被写体検出を行っても、測距不能である場合に
は、撮影画面401の中央を測距するエリアを含む垂直
方向領域を被写体距離測定用の測距エリアとして設定し
て、測距を行う。
If distance measurement is not possible even when the main subject detection is performed by shifting the main subject detection distance measurement area, the vertical direction area including the area for measuring the center of the photographing screen 401 is set as the subject distance. Set as a distance measurement area for measurement and perform distance measurement.

【0089】第4の実施の形態によれば、主要被写体が
撮影画面の下方や上方の領域に存在する場合でも、主要
被写体を検出し、測距することができる。
According to the fourth embodiment, the main subject can be detected and the distance can be measured even when the main subject exists in an area below or above the photographing screen.

【0090】図10は第4の実施の形態の測距エリアの
設定を示す図である。図10(a)は撮影画面の中央を
測距するエリアを含む主要被写体検出用の測距エリアの
全てが測距不能であった場合の下方シフトの一例を示し
ており、図10(b)は撮影画面の中央を測距するエリ
アを含む主要被写体検出用の測距エリアの全てが測距不
能であった場合の下方及び上方シフトの一例を示してい
る。
FIG. 10 is a diagram showing the setting of a distance measuring area according to the fourth embodiment. FIG. 10A shows an example of a downward shift in a case where the entire distance measurement area for detecting a main subject including the area for measuring the distance in the center of the photographing screen cannot be measured, and FIG. Shows an example of downward and upward shifts when the entire distance measurement area for detecting the main subject including the area for measuring the distance in the center of the shooting screen cannot be measured.

【0091】図10(a),(b)において、401は
撮影画面を示し、402は撮影画面401の中央を測距
するエリアを含む最初の主要被写体検出用のエリアセン
サ102a,102bの水平方向領域を示している。ま
た、403は下方シフト後の主要被写体検出用のエリア
センサ102a,102bの水平方向領域を示し、40
4は上方シフト後の主要被写体検出用のエリアセンサ1
02a,102bの水平方向領域を示している。
In FIGS. 10A and 10B, reference numeral 401 denotes a photographing screen, and 402 denotes a horizontal direction of the first main subject detecting area sensors 102a and 102b including an area for measuring a distance in the center of the photographing screen 401. The area is shown. Reference numeral 403 denotes a horizontal area of the area sensors 102a and 102b for detecting the main subject after the downward shift.
4 is an area sensor 1 for detecting a main subject after an upward shift
The horizontal areas 02a and 102b are shown.

【0092】次に、図11を参照して第4の実施の形態
の作用を説明する。図11は第4の実施の形態の測距シ
ーケンスの手順を示すフローチャートである。
Next, the operation of the fourth embodiment will be described with reference to FIG. FIG. 11 is a flowchart illustrating a procedure of a distance measurement sequence according to the fourth embodiment.

【0093】S401〜S411は、第1の実施の形態
の図3のS101〜S111と同様である。
Steps S401 to S411 are the same as steps S101 to S111 in FIG. 3 of the first embodiment.

【0094】S412では、設定された主要被写体検出
用の測距エリアの全てが測距不能で有るかどうか判定す
る。測距不能であればS413に進み、測距不能でなけ
ればS415に進むS413では、再主要被写体検出の
為の測距エリアのシフトを行ったかどうかを判定する。
実行していなければS414に進み、実行済みであれば
S416に進む。
In S412, it is determined whether or not all of the set distance measurement areas for detecting the main subject cannot be measured. If the distance measurement is impossible, the process proceeds to S413. If the distance measurement is not possible, the process proceeds to S415. In S413, it is determined whether or not the focus detection area has been shifted to detect the main subject again.
If it has not been executed, the process proceeds to S414, and if it has been executed, the process proceeds to S416.

【0095】S414では、再主要被写体検出の為の測
距エリアのシフトを行う。S415は、第1の実施の形
態の図3のS112と同様である。
In step S414, the focus detection area is shifted for detecting the main subject again. Step S415 is the same as step S112 in FIG. 3 of the first embodiment.

【0096】S416では、S415で最至近選択によ
り検出された測距データのエリアを含む被写体距離測定
用の垂直方向領域の測距エリアを設定する。但し、主要
被写体検出用の測距エリアをシフトして主要被写体検出
を行っても、測距不能であった場合には、撮影画面40
1の中央を測距するエリアを含む垂直方向領域を被写体
距離測定用の測距エリアとして設定する。
In step S416, a vertical distance measurement area for measuring the distance to the object including the area of the distance measurement data detected by the closest selection in step S415 is set. However, even if the main subject is detected by shifting the ranging area for detecting the main subject, if the distance cannot be measured, the photographing screen 40
A vertical direction area including an area for measuring the center of 1 is set as a distance measurement area for subject distance measurement.

【0097】S417〜S425は、第1の実施の形態
の図3のS114〜S122と同様である。
Steps S417 to S425 are the same as steps S114 to S122 in FIG. 3 of the first embodiment.

【0098】〔第5の実施の形態〕本実施の形態の測距
装置のブロック構成は第1の実施の形態と同様である。
また、本実施の形態は第2の実施の形態のカメラ姿勢検
出手段がある構成に対しても適用可能である。
[Fifth Embodiment] The block configuration of a distance measuring apparatus according to the present embodiment is the same as that of the first embodiment.
This embodiment is also applicable to the configuration having the camera posture detecting means of the second embodiment.

【0099】第5の実施の形態は、撮影画面501の中
央を測距するエリアを含む主要被写体検出用の測距エリ
アで選択された測距データが所定距離以遠であった場
合、演算手段であるCPU105は、図12(a)に示
す様に、主要被写体検出用の測距エリアを撮影画面の下
方にシフトして、再度主要被写体検出を行うようにした
ものである。
In the fifth embodiment, when the distance measurement data selected in the main object detection distance measurement area including the area for measuring the center of the photographing screen 501 is longer than a predetermined distance, the calculating means is used. As shown in FIG. 12A, a certain CPU 105 shifts the distance measurement area for detecting the main subject to the lower side of the photographing screen and detects the main subject again.

【0100】図12(b)に示す様に、主要被写体検出
用の測距エリアを撮影画面の下方と上方の両方向にシフ
トして、再度主要被写体検出を行うようにしてもよい。
As shown in FIG. 12B, the main object detection may be performed again by shifting the distance measurement area for detecting the main object in both directions below and above the photographing screen.

【0101】下方にシフトしても所定距離以遠の場合に
は上方にシフトして、再度主要被写体検出を行うように
してもよい。
If the distance is lower than the predetermined distance even if it is shifted downward, the main object may be detected again by shifting upward.

【0102】また、カメラの撮影用レンズの焦点距離等
に応じて、再主要被写体検出実行の判定距離や、主要被
写体検出用の測距エリアのシフト量を切り換えるように
してもよい。
Further, the judgment distance for re-main subject detection execution and the shift amount of the main subject detection distance measurement area may be switched in accordance with the focal length of the photographing lens of the camera.

【0103】第5の実施の形態によれば、主要被写体が
撮影画面の下方や上方の領域に存在する場合でも、主要
被写体を検出し、測距することができる。
According to the fifth embodiment, the main subject can be detected and the distance can be measured even when the main subject exists in an area below or above the photographing screen.

【0104】図12は第5の実施の形態の測距エリアの
設定を示す図である。図12(a)は撮影画面の中央を
測距するエリアを含む主要被写体検出用の測距エリアで
選択された測距データが所定距離以遠であった場合の下
方シフトの一例を示し、図12(b)は撮影画面の中央
を測距するエリアを含む主要被写体検出用の測距エリア
で選択された測距データが所定距離以遠であった場合の
下方及び上方シフトの一例を示している。
FIG. 12 is a diagram showing the setting of a distance measuring area according to the fifth embodiment. FIG. 12A shows an example of a downward shift when the distance measurement data selected in the main object detection distance measurement area including the area for measuring the center of the shooting screen is longer than a predetermined distance. (B) shows an example of downward and upward shifts when the distance measurement data selected in the distance measurement area for detecting the main subject including the area for measuring the center of the photographing screen is longer than a predetermined distance.

【0105】図12(a),(b)において、501は
撮影画面を示し、502は撮影画面501の中央を測距
するエリアを含む最初の主要被写体検出用のエリアセン
サ102a,102bの水平方向領域を示している。5
05は撮影画面501の中央を測距するエリアを含む水
平方向領域502の測距で最も近距離のデータである測
距エリアを示している。この最至近測距エリアで選択さ
れた測距データが所定距離以遠であった場合に、503
で示す下方シフトまたは504で示す上方シフトが行わ
れる。503は下方シフト後の主要被写体検出用のエリ
アセンサ102a,102bの水平方向領域を示し、5
04は上方シフト後の主要被写体検出用のエリアセンサ
102a,102bの水平方向領域を示している。
In FIGS. 12A and 12B, reference numeral 501 denotes a photographing screen, and reference numeral 502 denotes a horizontal direction of the first main subject detection area sensors 102a and 102b including an area for measuring the center of the photographing screen 501. The area is shown. 5
Reference numeral 05 denotes a distance measuring area which is the closest distance data in the horizontal area 502 including an area for measuring the center of the photographing screen 501. If the distance measurement data selected in the closest distance measurement area is longer than a predetermined distance, 503
A downward shift indicated by 504 or an upward shift indicated by 504 is performed. Reference numeral 503 denotes a horizontal area of the area sensors 102a and 102b for detecting the main subject after the downward shift.
Reference numeral 04 denotes the horizontal area of the area sensors 102a and 102b for detecting the main subject after the upward shift.

【0106】次に、図13を参照して作用を説明する。
図13は第5の実施の形態の測距シーケンスの手順を示
すフローチャートである。
Next, the operation will be described with reference to FIG.
FIG. 13 is a flowchart showing the procedure of the distance measurement sequence according to the fifth embodiment.

【0107】S501〜S511は、第1の実施の形態
の図3のS101〜S111と同様である。
Steps S501 to S511 are the same as steps S101 to S111 in FIG. 3 of the first embodiment.

【0108】S512では、撮影画面501の中央を測
距するエリアを含む主要被写体検出用の水平方向領域5
02の測距で最も近距離のデータを選択する。但し、再
主要被写体検出用に水平方向領域502をシフトした場
合は、シフト後の領域503またぽ504内の測距デー
タ及び領域502内の最至近データの中から最も近距離
のデータを選択する。
In step S512, a horizontal area 5 for detecting a main subject including an area for measuring the distance at the center of the photographing screen 501 is set.
The closest data is selected in the 02 distance measurement. However, when the horizontal direction area 502 is shifted for re-main subject detection, the closest distance data is selected from the distance measurement data in the shifted area 503 or # 504 and the closest data in the area 502. .

【0109】S513では、S512で最至近選択され
た測距データが所定距離以遠であるかどうかを判定す
る。所定距離以遠あればS514に進み、所定距離以近
であればS516に進む。
In S513, it is determined whether or not the distance measurement data closest selected in S512 is longer than a predetermined distance. If it is longer than the predetermined distance, the process proceeds to S514, and if it is shorter than the predetermined distance, the process proceeds to S516.

【0110】S514では、再主要被写体検出の為の測
距エリアのシフトを行ったかどうかを判定する。実行し
ていなければS515に進み、実行済みであればS51
6に進む。
In S514, it is determined whether or not the focus detection area has been shifted for detecting the main subject again. If not executed, the process proceeds to S515, and if executed, S51
Proceed to 6.

【0111】S515では、再主要被写体検出の為の測
距エリアのシフトを行う。S516〜S525は、第1
の実施の形態の図3のS113〜S122と同様であ
る。
In S515, the focus detection area is shifted for detecting the main subject again. S516 to S525 are the first
This is the same as S113 to S122 in FIG.

【0112】〔第6の実施の形態〕本実施の形態の測距
装置のブロック構成は第1の実施の形態と同様である。
また、本実施の形態は第2の実施の形態のカメラ姿勢検
出手段がある構成に対しても適用可能である。
[Sixth Embodiment] The block configuration of a distance measuring apparatus according to the present embodiment is the same as that of the first embodiment.
This embodiment is also applicable to the configuration having the camera posture detecting means of the second embodiment.

【0113】第6の実施の形態は、カメラのモード設定
に応じて、演算手段であるCPU105は、主要被写体
検出用の測距エリアや、被写体距離測定用の測距エリア
の設定を切り換えるようにしたものである。
In the sixth embodiment, the CPU 105, which is the calculating means, switches the setting of the distance measurement area for detecting the main subject and the distance measurement area for measuring the subject distance in accordance with the camera mode setting. It was done.

【0114】セルフタイマ撮影モード及びリモコン撮影
モード(以下、セルフ/リモコンモード)時は、レリー
ズから撮影が行われるまで時間があるので、図14
(a)に示すように、ノーマルモード時に対して、主要
被写体検出用の測距エリアの設定数をあらかじめ多くす
ることにより主要被写体検出の精度を向上させることが
できる。また、主要被写体検出用の測距エリアの設定数
を増やすのではなく、撮影画面601内の全ての測距エ
リアを用いて測距を行うようにしてもよい。
In the self-timer shooting mode and the remote control shooting mode (hereinafter, self / remote control mode), there is a time from when the shutter is released until when shooting is performed.
As shown in (a), the accuracy of main subject detection can be improved by increasing the number of distance measurement areas for main subject detection in advance in the normal mode. Instead of increasing the number of distance measurement areas set for main subject detection, distance measurement may be performed using all distance measurement areas in the shooting screen 601.

【0115】ポートレートモード、動体モード時は、主
要被写体が撮影画面601の中央付近に存在するのが殆
どであるので、図14(b)の実線枠にて示すように、
撮影画面601の周辺エリアを除く中央部の領域60
3,604を用いて主要被写体検出及び被写体距離測定
を行うことにより、ノーマルモード時に対してよりスピ
ーディな撮影を行うことができるようになると共に、撮
影画面601の周辺部の雑被写体を誤測距してしまう確
率を低下させることができる。
In the portrait mode and the moving object mode, the main subject mostly exists near the center of the photographing screen 601. Therefore, as shown by a solid line frame in FIG.
The central area 60 excluding the peripheral area of the shooting screen 601
By detecting the main subject and measuring the subject distance using 3,604, it is possible to perform shooting more quickly than in the normal mode, and to erroneously measure a rough subject in the periphery of the shooting screen 601. Can be reduced.

【0116】つまり、CPU105は、ポートレートモ
ード及び動体モード時は、第1の測距及び第2の測距を
行う複数エリアの中で、撮影画面の周辺領域のエリアの
測距は禁止し、中央部の領域を用いて測距を行うもので
ある。
That is, in the portrait mode and the moving object mode, the CPU 105 prohibits the distance measurement of the area around the photographing screen among the plurality of areas for performing the first distance measurement and the second distance measurement. Distance measurement is performed using the central region.

【0117】第6の実施の形態によれば、カメラのモー
ド設定に応じて最適な主要被写体検出を行うことがで
き、高精度な測距を行うことができる。
According to the sixth embodiment, optimal main subject detection can be performed in accordance with the camera mode setting, and highly accurate ranging can be performed.

【0118】図14は第6の実施の形態の測距エリアの
設定を示す図である。図14(a)はセルフ/リモコン
モード時の主要被写体検出用の測距エリアの設定例を示
し、図14(b)はポートレートモード,動体モード時
の主要被写体検出用及び距離測定用の測距エリアの設定
例を示している。
FIG. 14 is a diagram showing the setting of a distance measuring area according to the sixth embodiment. FIG. 14A shows an example of setting a distance measurement area for detecting a main subject in the self / remote control mode, and FIG. 14B shows a measurement area for detecting the main subject and measuring a distance in the portrait mode and the moving object mode. 9 shows an example of setting a distance area.

【0119】図14(a),(b)において601は撮
影画面を示し、図14(a)の602はセルフ/リモコ
ンモード時の主要被写体検出用のエリアセンサ102
a,102bの水平方向領域を示している。また、図1
4(b)において、603はポートレートモード,動体
モード時の主要被写体検出用のエリアセンサ102a,
102bの水平方向領域を示し、604はポートレート
モード,動体モード時の被写体距離測定用のエリアセン
サ102a,102bの垂直方向領域を示し、605は
画面中央部の水平方向エリア603を測距して得られる
主要被写体検出エリアを含む、垂直方向エリア604を
測距して得られる主要被写体距離測定用エリアを示して
いる。
14A and 14B, reference numeral 601 denotes a photographing screen. In FIG. 14A, reference numeral 602 denotes an area sensor 102 for detecting a main subject in a self / remote control mode.
The horizontal areas a and 102b are shown. FIG.
4B, reference numeral 603 denotes an area sensor 102a for detecting a main subject in the portrait mode and the moving object mode.
A horizontal area 102b is shown, 604 is a vertical area of the area sensors 102a and 102b for measuring a subject distance in the portrait mode and the moving object mode, and 605 is a distance measurement of a horizontal area 603 at the center of the screen. The main subject distance measurement area obtained by measuring the distance in the vertical direction area 604 including the obtained main subject detection area is shown.

【0120】次に、図15を参照して第6の実施の形態
の作用を説明する。図15は第6の実施の形態の測距シ
ーケンスの手順を示すフローチャートである。
Next, the operation of the sixth embodiment will be described with reference to FIG. FIG. 15 is a flowchart showing the procedure of the distance measurement sequence according to the sixth embodiment.

【0121】S601〜S603は、第1の実施の形態
の図3のS101〜S103と同様である。
Steps S601 to S603 are the same as steps S101 to S103 in FIG. 3 of the first embodiment.

【0122】S604では、セルフ/リモコンモードで
あるかどうかを判定する。セルフ/リモコンモードであ
ればS610に進み、そうでなければS605に進む。
In S604, it is determined whether the mode is the self / remote control mode. If the mode is the self / remote control mode, the process proceeds to S610; otherwise, the process proceeds to S605.

【0123】S605では、ポートレートモードまたは
動体モードであるかどうかを判定する。ポートレートモ
ードまたは動体モードであればS608に進み、そうで
なければS606に進む。
In step S605, it is determined whether the mode is the portrait mode or the moving object mode. If the mode is the portrait mode or the moving object mode, the process proceeds to S608; otherwise, the process proceeds to S606.

【0124】S606では、ノーマルモード用の主要被
写体検出用のエリアセンサ102a,102bの水平方
向領域の測距エリアを設定する。
In step S606, a distance measurement area in the horizontal direction of the area sensors 102a and 102b for detecting a main subject in the normal mode is set.

【0125】S607では、ノーマルモード用の主要被
写体検出用の測距エリア数を設定する。
In step S607, the number of distance measurement areas for detecting a main subject in the normal mode is set.

【0126】S608では、ポートレートモード、動体
モード用の主要被写体検出用のエリアセンサ102a,
102bの水平方向領域の測距エリアを設定する。
In step S608, the area sensor 102a for detecting the main subject in the portrait mode and the moving body mode is used.
A distance measurement area in the horizontal direction area 102b is set.

【0127】S609では、ポートレートモード、動体
モード用の主要被写体検出用の測距エリア数を設定す
る。
In S609, the number of distance measurement areas for detecting the main subject in the portrait mode and the moving object mode is set.

【0128】S610では、セルフ/リモコンモード用
の主要被写体検出用のエリアセンサ102a,102b
の水平方向領域の測距エリアを設定する。
At S610, the area sensors 102a and 102b for detecting the main subject in the self / remote control mode
Set the distance measurement area in the horizontal direction area.

【0129】S611では、セルフ/リモコンモード用
の主要被写体検出用の測距エリア数を設定する。
In S611, the number of distance measurement areas for detecting the main subject in the self / remote control mode is set.

【0130】S612〜S628は、第1の実施の形態
の図3のS106〜S122と同様である。
Steps S612 to S628 are the same as steps S106 to S122 in FIG. 3 of the first embodiment.

【0131】動体モード時は、この後選択された測距エ
リアで再度測距を行い、動体予測を行う。
In the moving object mode, the distance is again measured in the selected distance measuring area, and the moving object is predicted.

【0132】〔第7の実施の形態〕本実施の形態の測距
装置のブロック構成は第1の実施の形態と同様である。
また、本実施の形態は第2の実施の形態のカメラ姿勢検
出手段がある構成に対しても適用可能である。
[Seventh Embodiment] The block configuration of a distance measuring apparatus according to the present embodiment is the same as that of the first embodiment.
This embodiment is also applicable to the configuration having the camera posture detecting means of the second embodiment.

【0133】第7の実施の形態では、演算手段であるC
PU105は、図16に示すように主要被写体検出用の
測距エリアを撮影画面701の対角線上に設定するよう
にしたものである。対角線方向の主要被写体検出用の測
距エリア702,703の第1の測距で最至近選択し、
選択された測距エリア704を含む被写体距離測定用の
垂直方向領域705で第2の測距を行い、最至近距離の
測距エリア706を決定する。
In the seventh embodiment, the operation means C
The PU 105 sets a distance measurement area for detecting a main subject on a diagonal line of the photographing screen 701 as shown in FIG. The closest distance is selected in the first distance measurement of the distance measurement areas 702 and 703 for detecting the main subject in the diagonal direction,
The second ranging is performed in the vertical direction area 705 for subject distance measurement including the selected ranging area 704, and the closest ranging area 706 is determined.

【0134】第7の実施の形態によれば、撮影画面の四
隅付近の主要被写体検出を行うことができる。
According to the seventh embodiment, it is possible to detect main subjects near the four corners of the photographing screen.

【0135】図16は第7の実施の形態の測距エリアの
設定を示す図である。図16において、701は撮影画
面を示し、702,703は撮影画面701の対角線方
向の主要被写体検出用の測距エリアを示している。70
4は撮影画面701の対角線方向の主要被写体検出用の
測距エリア702,703の測距で最も近距離のデータ
である測距エリアを示す。705は撮影画面701の対
角線方向の主要被写体検出用の測距エリア702,70
3の測距で最至近選択された上記測距エリア704を含
む被写体距離測定用の垂直方向領域を示し、706は垂
直方向領域705の測距で最も近距離のデータである測
距エリアを示している。
FIG. 16 is a diagram showing the setting of a distance measuring area according to the seventh embodiment. In FIG. 16, reference numeral 701 denotes a photographing screen, and reference numerals 702 and 703 denote distance measuring areas for detecting a main subject in the diagonal direction of the photographing screen 701. 70
Reference numeral 4 denotes a distance measurement area which is the closest distance data in the distance measurement areas 702 and 703 for detecting a main subject in the diagonal direction on the shooting screen 701. Reference numeral 705 denotes a distance measurement area 702, 70 for detecting a main subject in a diagonal direction of the photographing screen 701.
3 shows a vertical direction area for subject distance measurement including the above-mentioned distance measurement area 704 selected closest by the distance measurement of No. 3, and 706 shows a distance measurement area which is the closest data in the distance measurement of the vertical direction area 705. ing.

【0136】〔第8の実施の形態〕図17は本発明の第
8の実施の形態の測距装置の構成を示すブロック図であ
る。本実施の形態は、第1の実施の形態のブロック構成
に対して、図17に示すように、被写体に向けて測距用
の信号光を照射する投光手段806と、エリアセンサ8
02a,802bに定常的に入射する定常光を除去する
定常光除去回路808を設けた構成の測距装置である。
[Eighth Embodiment] FIG. 17 is a block diagram showing a configuration of a distance measuring apparatus according to an eighth embodiment of the present invention. This embodiment differs from the block configuration of the first embodiment in that, as shown in FIG. 17, a light projecting means 806 for irradiating a subject with signal light for distance measurement, and an area sensor 8 are provided.
This is a distance measuring apparatus having a configuration in which a stationary light removing circuit 808 that removes stationary light that constantly enters the light sources 02a and 802b is provided.

【0137】図17において、801a,801bは被
写体像をエリアセンサ802a,802b上に結像させ
る為の受光レンズである。
In FIG. 17, reference numerals 801a and 801b denote light receiving lenses for forming a subject image on the area sensors 802a and 802b.

【0138】投光手段806は、CPU806からの指
示に基づき被写体に向けて測距用の信号光を照射するも
のである。
The light projecting means 806 irradiates the subject with signal light for distance measurement based on an instruction from the CPU 806.

【0139】エリアセンサ802a,802bは、受光
レンズ801a,801bにより結像された被写体像を
その光強度に応じて光電変換し、電気信号に変換するも
のである。エリアセンサ802a,802bはその電荷
蓄積時間などが積分制御回路803により制御可能であ
る。積分制御回路803はCPU805からの指示に基
づきエリアセンサ802a,802bの積分動作の制御
を行う。エリアセンサ802a,802bには定常光除
去回路807が接続して設けられている。
The area sensors 802a and 802b photoelectrically convert the subject image formed by the light receiving lenses 801a and 801b in accordance with the light intensity and convert the image into an electric signal. The integration time of the area sensors 802a and 802b can be controlled by the integration control circuit 803. The integration control circuit 803 controls the integration operation of the area sensors 802a and 802b based on an instruction from the CPU 805. A stationary light removal circuit 807 is connected to the area sensors 802a and 802b.

【0140】定常光除去回路807は、CPU806の
制御の下、エリアセンサ802a,802bに定常的に
入射する定常光を除去するためのものである。
The stationary light removing circuit 807 removes the stationary light constantly entering the area sensors 802a and 802b under the control of the CPU 806.

【0141】読み出し手段であるA/D変換回路804
は、CPU805の制御の下、一対のエリアセンサ80
2a,802bよから出力される被写体像データの読み
出しを行うもので、エリアセンサ802a,802bよ
り出力される、被写体像を光電変換したアナログ電気信
号をA/D変換し、該A/D変換された被写体像データ
をCPU805に供給する。
A / D conversion circuit 804 as reading means
Is a pair of area sensors 80 under the control of the CPU 805.
2A and 802b to read out the subject image data. The A / D conversion is performed on the analog electric signal output from the area sensors 802a and 802b, which is obtained by photoelectrically converting the subject image. The subject image data is supplied to the CPU 805.

【0142】演算手段であるCPU805は、各種制御
信号の出力、相関・補間演算等の各種演算を行なうもの
で、被写体像データに基づいて被写体距離に応じたデー
タを演算する。
The CPU 805, which is a calculation means, performs various calculations such as output of various control signals and correlation / interpolation calculations, and calculates data corresponding to the subject distance based on the subject image data.

【0143】また、上記CPU805は、撮影画面内の
所定方向例えば水平方向の一直線上の複数エリアを測距
する第1の測距を行い、第1の測距結果に基づいて複数
エリアより少なくとも一つのエリアを選択する第1の選
択を行う第1選択手段と、該第1選択手段で選択された
エリアを含む第1の測距を行った方向とは別方向例えば
垂直方向の一直線上の複数エリアを測距する第2の測距
を行い、第2の測距結果に基づいて複数エリアより少な
くとも一つのエリアを選択する第2の選択を行う第2の
選択手段とを備えており、該第2の選択手段により選択
されたエリアの測距データを主要被写体距離データとす
る。
Further, the CPU 805 performs first distance measurement for measuring a plurality of areas on a straight line in a predetermined direction, for example, a horizontal direction in the photographing screen, and based on the first distance measurement result, at least one of the plurality of areas. A first selection unit for performing a first selection for selecting one area, and a plurality of lines on a straight line different from the direction in which the first distance measurement including the area selected by the first selection unit is performed, for example, a vertical direction And second selection means for performing a second selection for selecting at least one area from a plurality of areas based on the second distance measurement result. The distance measurement data of the area selected by the second selection means is set as main subject distance data.

【0144】さらに、CPU805は、投光手段806
の投光を指示する一方、定常光除去回路807を制御し
てエリアセンサ802a,802bに入射する光から定
常光成分を除去させる。
Further, the CPU 805 includes a light emitting unit 806.
, And controls the steady light removing circuit 807 to remove the steady light component from the light incident on the area sensors 802a and 802b.

【0145】上記の第8の実施の形態では 投光手段8
06より被写体に向けて測距用の信号光を照射し、エリ
アセンサ802a,802bでは定常光を定常光除去回
路808で除去しながら信号光の被写体からの反射光の
みを積分し、その積分信号をA/D変換器804でデジ
タル信号に変換してCPU805に供給する。演算手段
であるCPU805では、主要被写体検出用の測距エリ
アの中で最も積分量が多いエリアを主要被写体が存在す
る領域と判定し、最も積分量が多いエリアを含むエリア
センサ802a,802bの垂直方向の領域を被写体距
離測定用の領域として設定して撮影に用いる測距データ
を求める。
In the eighth embodiment, the light projecting means 8
From 06, the subject is irradiated with signal light for distance measurement, and the area sensors 802a and 802b integrate only the reflected light of the signal light from the subject while removing the stationary light by the stationary light removing circuit 808, and the integrated signal is obtained. Is converted into a digital signal by the A / D converter 804 and supplied to the CPU 805. The CPU 805, which is a calculating means, determines the area having the largest integration amount among the distance measurement areas for detecting the main object as the area where the main object exists, and determines the vertical position of the area sensors 802a and 802b including the area having the largest integration amount. An area in the direction is set as an object distance measurement area, and distance measurement data used for photographing is obtained.

【0146】例えば、図2に示すような撮影シーンの場
合、主要被写体検出用の水平方向領域112内の信号光
量(積分量)は図18に示すような関係になる。図18
は、主要被写体検出用の水平方向領域内の各測距エリア
に対する、受光信号光量の関係を示している。測距エリ
ア115の信号光量が最も多いので、測距エリア115
を含む被写体距離測定用の垂直方向領域113を設定
し、領域内の測距エリアで測距データが最も近距離とな
る測距エリア116のデータを撮影に用いる測距データ
とする。
For example, in the case of a photographic scene as shown in FIG. 2, the signal light amount (integral amount) in the horizontal direction area 112 for detecting the main subject has a relationship as shown in FIG. FIG.
Indicates the relationship between the light receiving signal light quantity and each of the distance measurement areas in the horizontal direction area for detecting the main subject. Since the signal light amount in the ranging area 115 is the largest, the ranging area 115
Is set in the vertical direction area 113 for subject distance measurement, and the data of the distance measurement area 116 in which the distance measurement data is the shortest in the distance measurement areas in the area is set as the distance measurement data used for photographing.

【0147】第8の実施の形態によれば、主要被写体検
出時に時間のかかる相関演算や補間演算等の演算を行わ
ないので、更なる測距時間の短縮を図ることができ、よ
りスピーディな撮影を行うことができる。
According to the eighth embodiment, since time-consuming calculations such as correlation calculations and interpolation calculations are not performed when a main subject is detected, it is possible to further shorten the distance measurement time, and to achieve faster shooting. It can be performed.

【0148】〔付記〕 (付記1)一対の被写体像を一対のエリアセンサ上に結
像させる受光レンズと、受光レンズにより結像させられ
た一対の被写体像を光強度に応じて電気信号に変換する
一対のエリアセンサと、一対のエリアセンサの積分制御
を行なう積分制御手段と、一対のエリアセンサから出力
される被写体像データの読み出しを行う読み出し手段
と、読み出された被写体像データに基づいて被写体距離
に応じたデータを演算する演算手段とを具備したカメラ
の測距装置であって、上記演算手段は、撮影画面内の所
定方向の一直線上の複数エリアを測距する第1の測距を
行い、第1の測距結果に基づいて複数エリアより少なく
とも一つのエリアを選択する第1の選択を行う第1選択
手段と、該第1選択手段で選択されたエリアを含む第1
の測距を行った方向とは別方向の一直線上の複数エリア
を測距する第2の測距を行い、第2の測距結果に基づい
て複数エリアより少なくとも一つのエリアを選択する第
2の選択を行う第2の選択手段と、を具備し、該第2の
選択手段により選択されたエリアの測距データを主要被
写体距離データとすることを特徴とするカメラの測距装
置。
[Supplementary Notes] (Supplementary Note 1) A light-receiving lens for forming a pair of subject images on a pair of area sensors, and a pair of subject images formed by the light-receiving lenses are converted into electric signals according to light intensity. A pair of area sensors, integration control means for performing integral control of the pair of area sensors, reading means for reading out subject image data output from the pair of area sensors, and based on the read subject image data. A distance measuring device for a camera, comprising: calculating means for calculating data according to a subject distance, wherein the calculating means measures a distance in a plurality of areas on a straight line in a predetermined direction in a shooting screen. Performing a first selection for selecting at least one area from a plurality of areas based on the first distance measurement result; and a first selection unit including the area selected by the first selection unit. 1
Performing a second distance measurement for measuring a plurality of areas on a straight line in a direction different from the direction in which the distance measurement was performed, and selecting at least one area from the plurality of areas based on the second distance measurement result And a second selecting means for selecting the distance, and using the distance measuring data of the area selected by the second selecting means as main subject distance data.

【0149】(付記2)第1の測距を行う測距エリア
は、撮影画面の中央を測距するエリアを含むエリアセン
サの水平方向の一直線上に存在するエリアであり、第2
の測距を行う測距エリアは、第1の選択で選択されたエ
リアを含むエリアセンサの垂直方向の一直線上に存在す
るエリアであることを特徴とする付記1記載のカメラの
測距装置。
(Supplementary Note 2) The first ranging area where the ranging is performed is an area existing on a straight line in the horizontal direction of the area sensor including the area for measuring the center of the photographing screen, and the second ranging area is used.
3. The camera distance measuring apparatus according to claim 1, wherein the distance measuring area for performing the distance measuring is an area existing on a straight line in a vertical direction of the area sensor including the area selected by the first selection.

【0150】(付記3)カメラの姿勢に応じて、第1の
測距を行う方向と第2の測距を行う方向を切り換えるこ
とを特徴とする付記1記載のカメラの測距装置。
(Supplementary Note 3) The camera distance measuring apparatus according to Supplementary Note 1, wherein a direction in which the first distance measurement is performed and a direction in which the second distance measurement is performed are switched according to the attitude of the camera.

【0151】(付記4)カメラの撮影レンズの焦点距離
に応じて、第1の測距を行う方向の複数エリアにより構
成される直線の数を切り換えることを特徴とする付記1
記載のカメラの測距装置。
(Supplementary Note 4) The number of straight lines formed by a plurality of areas in the direction in which the first distance measurement is performed is switched according to the focal length of the photographing lens of the camera.
A distance measuring device for the camera according to the above.

【0152】(付記5)第1の測距を行う方向の複数エ
リアにより構成される直線の数は、カメラの撮影レンズ
の焦点距離が長いほど少なく、短いほど多いことを特徴
とする付記4記載のカメラの測距装置。
(Supplementary Note 5) The supplementary note 4 is characterized in that the number of straight lines constituted by a plurality of areas in the direction in which the first distance measurement is performed is smaller as the focal length of the photographic lens of the camera is longer and is larger as the focal length of the camera is shorter. Camera ranging device.

【0153】(付記6)第1の測距を行う複数エリアの
全てが測距不能の場合は、複数エリアにより構成される
直線を所定量ずらした位置に存在する複数エリアにおい
て、再び第1の測距を行うことを特徴とする付記1記載
のカメラの測距装置。
(Supplementary Note 6) If the distance measurement is not possible in all of the plurality of areas for which the first distance measurement is to be performed, the first area is again shifted to the first area in a plurality of areas located at positions shifted by a predetermined amount from a straight line formed by the plurality of areas. 2. The camera distance measuring apparatus according to claim 1, wherein the distance measurement is performed.

【0154】(付記7)第1の選択で選択されたエリア
の測距データが所定以遠の場合は、複数エリアにより構
成される直線を所定量ずらした位置に存在する複数エリ
アにおいて、再び第1の測距及び第1の選択を行うこと
を特徴とする付記1記載のカメラの測距装置 (付記8)カメラの撮影レンズの焦点距離に応じて、直
線のずらし量を切り換えることを特徴とする付記6又は
7記載のカメラの測距装置。
(Supplementary Note 7) If the distance measurement data of the area selected by the first selection is longer than a predetermined distance, the first area is again shifted by a predetermined amount in a plurality of areas located at a position where a straight line formed by the plurality of areas is shifted by a predetermined amount. The distance measuring device and the first selection are performed, and the distance measuring device of the camera according to the appendix 1 is characterized in that the linear displacement amount is switched in accordance with the focal length of the photographing lens of the camera. 8. The distance measuring device for a camera according to supplementary note 6 or 7.

【0155】(付記9)セルフモード、リモコンモード
時は、第1の測距を行う方向の複数エリアにより構成さ
れる直線の数を増やすことを特徴とする付記1記載のカ
メラの測距装置。
(Supplementary note 9) The camera distance measuring apparatus according to supplementary note 1, wherein the number of straight lines constituted by a plurality of areas in the first distance measuring direction is increased in the self mode or the remote control mode.

【0156】(付記10)ポートレートモード及び動体
モード時は、第1の測距及び第2の測距を行う複数エリ
アの中で、撮影画面の周辺領域のエリアの測距は禁止す
ることを特徴とする付記1記載のカメラの測距装置。
(Supplementary Note 10) In the portrait mode and the moving object mode, it is prohibited to prohibit the distance measurement of the area around the photographing screen among the plurality of areas for performing the first distance measurement and the second distance measurement. A camera distance measuring apparatus according to claim 1, wherein the distance measuring apparatus is characterized in that:

【0157】(付記11)第1の測距を行う複数エリア
は撮影画面の対角線上に存在するエリアであることを特
徴とする付記1記載のカメラの測距装置。
(Supplementary Note 11) The camera distance measuring apparatus according to Supplementary Note 1, wherein the plurality of areas in which the first distance measurement is performed are areas existing on a diagonal line of the photographing screen.

【0158】(付記12)第1の測距は投光手段により
照射された信号光の被写体からの反射光に基づいて行
い、第1の選択は反射光量が最も多い測距エリアを選択
することを特徴とする付記1記載のカメラの測距装置。
(Supplementary Note 12) The first distance measurement is performed based on the reflected light from the subject of the signal light emitted by the light projecting means, and the first selection is to select a distance measurement area having the largest reflected light amount. 2. The camera distance measuring apparatus according to claim 1, wherein

【0159】[0159]

【発明の効果】以上説明したように本発明によれば、コ
ストアップを招くことなく高速で主要被写体を検出し、
高精度な測距を行うことのできるカメラの測距装置を提
供することができる。
As described above, according to the present invention, the main subject is detected at high speed without increasing the cost.
It is possible to provide a camera distance measuring device capable of performing highly accurate distance measuring.

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

【図1】本発明の第1の実施の形態のカメラの測距装置
の構成を概略的に示すブロック図。
FIG. 1 is a block diagram schematically showing a configuration of a camera distance measuring apparatus according to a first embodiment of the present invention.

【図2】第1の実施の形態を説明する為の撮影シーン及
び撮影画面内の測距エリアを示す図。
FIG. 2 is a diagram illustrating a shooting scene and a ranging area in a shooting screen for explaining the first embodiment.

【図3】第1の実施の形態の測距シーケンスの手順を示
すフローチャート。
FIG. 3 is a flowchart illustrating a procedure of a distance measurement sequence according to the first embodiment;

【図4】本発明の第2の実施の形態のカメラの測距装置
の構成を示すブロック図。
FIG. 4 is a block diagram showing a configuration of a distance measuring device for a camera according to a second embodiment of the present invention.

【図5】図4のカメラの姿勢検出手段の構成を示すブロ
ック図。
FIG. 5 is a block diagram showing a configuration of a posture detection unit of the camera in FIG. 4;

【図6】第2の実施の形態の測距エリアの設定を示す
図。
FIG. 6 is a diagram illustrating setting of a distance measurement area according to the second embodiment.

【図7】第2の実施の形態の測距シーケンスの手順を示
すフローチャート。
FIG. 7 is a flowchart illustrating a procedure of a distance measurement sequence according to the second embodiment;

【図8】第3の実施の形態の測距エリアの設定を示す
図。
FIG. 8 is a diagram illustrating setting of a distance measurement area according to the third embodiment.

【図9】第3の実施の形態の測距シーケンスの手順を示
すフローチャート。
FIG. 9 is a flowchart illustrating a procedure of a distance measurement sequence according to the third embodiment.

【図10】第4の実施の形態の測距エリアの設定を示す
図。
FIG. 10 is a diagram illustrating setting of a distance measurement area according to the fourth embodiment.

【図11】第4の実施の形態の測距シーケンスの手順を
示すフローチャート。
FIG. 11 is a flowchart illustrating a procedure of a distance measurement sequence according to the fourth embodiment.

【図12】第5の実施の形態の測距エリアの設定を示す
図。
FIG. 12 is a diagram illustrating setting of a distance measurement area according to the fifth embodiment.

【図13】第5の実施の形態の測距シーケンスの手順を
示すフローチャート。
FIG. 13 is a flowchart illustrating a procedure of a distance measurement sequence according to the fifth embodiment.

【図14】第6の実施の形態の測距エリアの設定を示す
図。
FIG. 14 is a diagram illustrating setting of a distance measurement area according to the sixth embodiment.

【図15】第6の実施の形態の測距シーケンスの手順を
示すフローチャート。
FIG. 15 is a flowchart illustrating a procedure of a distance measurement sequence according to the sixth embodiment.

【図16】第7の実施の形態の測距エリアの設定を示す
図。
FIG. 16 is a diagram illustrating setting of a distance measurement area according to the seventh embodiment.

【図17】本発明の第8の実施の形態の測距装置の構成
を示すブロック図。
FIG. 17 is a block diagram showing a configuration of a distance measuring apparatus according to an eighth embodiment of the present invention.

【図18】図2の撮影シーンにおける、主要被写体検出
用の水平方向領域内の各測距エリアの受光信号光量の関
係を示す図。
18 is a diagram showing the relationship between the light receiving signal light amounts of the respective distance measurement areas in the horizontal direction area for main subject detection in the shooting scene of FIG. 2;

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

101a,101b,201a,201b,801a,
801b…受光レンズ 102a,102b,202a,202b,802a,
802b…エリアセンサ 103,203,803…積分制御回路 104,204,804…A/D変換器 105,205,805…CPU 206…姿勢検出手段 806…投光手段 807…定常光除去回路
101a, 101b, 201a, 201b, 801a,
801b ... light receiving lenses 102a, 102b, 202a, 202b, 802a,
802b area sensors 103, 203, 803 integral control circuits 104, 204, 804 A / D converters 105, 205, 805 CPU 206 attitude detecting means 806 light emitting means 807 stationary light removing circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 井出 昌孝 東京都渋谷区幡ヶ谷2丁目43番2号 オリ ンパス光学工業株式会社内 Fターム(参考) 2F065 AA02 AA06 BB05 CC14 CC16 DD03 DD06 FF09 FF42 GG10 HH02 JJ03 JJ26 QQ00 QQ03 QQ17 QQ24 QQ36 2F112 AC04 AC06 BA05 BA06 CA02 CA12 FA03 FA07 FA21 FA29 FA36 2H011 BA05 BB02 DA00 2H051 BB07 CB22 CB24 DA01 DA03 DA04 DA10 DA17 EB20  ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor Masataka Ide 2-43-2 Hatagaya, Shibuya-ku, Tokyo F-term in Olympus Optical Co., Ltd. (reference) 2F065 AA02 AA06 BB05 CC14 CC16 DD03 DD06 FF09 FF42 GG10 HH02 JJ03 JJ26 QQ00 QQ03 QQ17 QQ24 QQ36 2F112 AC04 AC06 BA05 BA06 CA02 CA12 FA03 FA07 FA21 FA29 FA36 2H011 BA05 BB02 DA00 2H051 BB07 CB22 CB24 DA01 DA03 DA04 DA10 DA17 EB20

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】一対の被写体像を一対のエリアセンサ上に
結像させる受光レンズと、受光レンズにより結像させら
れた一対の被写体像を光強度に応じて電気信号に変換す
る一対のエリアセンサと、一対のエリアセンサの積分制
御を行なう積分制御手段と、一対のエリアセンサから出
力される被写体像データの読み出しを行う読み出し手段
と、読み出された被写体像データに基づいて被写体距離
に応じたデータを演算する演算手段とを具備したカメラ
の測距装置であって、 上記演算手段は、 撮影画面内の所定方向の一直線上の複数エリアを測距す
る第1の測距を行い、第1の測距結果に基づいて複数エ
リアより少なくとも一つのエリアを選択する第1の選択
を行う第1選択手段と、 該第1選択手段で選択されたエリアを含む第1の測距を
行った方向とは別方向の一直線上の複数エリアを測距す
る第2の測距を行い、第2の測距結果に基づいて複数エ
リアより少なくとも一つのエリアを選択する第2の選択
を行う第2の選択手段と、を具備し、 該第2の選択手段により選択されたエリアの測距データ
を主要被写体距離データとすることを特徴とするカメラ
の測距装置。
A light receiving lens for forming a pair of subject images on a pair of area sensors, and a pair of area sensors for converting the pair of subject images formed by the light receiving lenses into electric signals in accordance with light intensity. An integration control unit that performs integral control of the pair of area sensors; a reading unit that reads out subject image data output from the pair of area sensors; and a reading unit that reads out subject image data based on the read subject image data. And a calculating means for calculating data, wherein the calculating means performs a first ranging for measuring a plurality of areas on a straight line in a predetermined direction in a shooting screen, and performs a first ranging. A first selection unit for selecting at least one area from a plurality of areas based on the distance measurement result, and a first distance measurement including the area selected by the first selection unit. A second distance measurement for measuring a plurality of areas on a straight line in a direction different from the direction, and a second selection for selecting at least one area from the plurality of areas based on the second distance measurement result; A distance measuring device for an area selected by the second selecting means, which is used as main subject distance data.
【請求項2】第1の測距を行う測距エリアは、撮影画面
の中央を測距するエリアを含むエリアセンサの水平方向
の一直線上に存在するエリアであり、第2の測距を行う
測距エリアは、第1の選択で選択されたエリアを含むエ
リアセンサの垂直方向の一直線上に存在するエリアであ
ることを特徴とする請求項1記載のカメラの測距装置。
2. A distance measuring area for performing a first distance measuring is an area existing on a straight line in a horizontal direction of an area sensor including an area for measuring a center of a photographing screen, and performs a second distance measuring. 2. The camera distance measuring apparatus according to claim 1, wherein the distance measuring area is an area existing on a straight line in a vertical direction of the area sensor including the area selected by the first selection.
【請求項3】カメラの姿勢を検出する姿勢検出手段をさ
らに具備し、上記演算手段は、カメラの姿勢に応じて、
第1の測距を行う方向と第2の測距を行う方向を切り換
えることを特徴とする請求項1記載のカメラの測距装
置。
3. The camera according to claim 1, further comprising: a posture detecting unit configured to detect a posture of the camera, wherein the calculating unit includes:
2. The camera distance measuring apparatus according to claim 1, wherein a direction in which the first distance measurement is performed and a direction in which the second distance measurement is performed are switched.
JP2000142016A 2000-05-15 2000-05-15 Auto-focusing device for camera Withdrawn JP2001324665A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000142016A JP2001324665A (en) 2000-05-15 2000-05-15 Auto-focusing device for camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000142016A JP2001324665A (en) 2000-05-15 2000-05-15 Auto-focusing device for camera

Publications (1)

Publication Number Publication Date
JP2001324665A true JP2001324665A (en) 2001-11-22

Family

ID=18649060

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000142016A Withdrawn JP2001324665A (en) 2000-05-15 2000-05-15 Auto-focusing device for camera

Country Status (1)

Country Link
JP (1) JP2001324665A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005140817A (en) * 2003-11-04 2005-06-02 Nikon Corp Automatic focusing camera
CN100592127C (en) * 2006-09-06 2010-02-24 鸿富锦精密工业(深圳)有限公司 Camera module group
JP2014191054A (en) * 2013-03-26 2014-10-06 Canon Inc Focus detection device, focus detection method and program, and imaging device
JP2014211491A (en) * 2013-04-17 2014-11-13 キヤノン株式会社 Focus detection device, focus detection method and program as well as imaging device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005140817A (en) * 2003-11-04 2005-06-02 Nikon Corp Automatic focusing camera
CN100592127C (en) * 2006-09-06 2010-02-24 鸿富锦精密工业(深圳)有限公司 Camera module group
JP2014191054A (en) * 2013-03-26 2014-10-06 Canon Inc Focus detection device, focus detection method and program, and imaging device
US9485406B2 (en) 2013-03-26 2016-11-01 Canon Kabushiki Kaisha Focus detection apparatus, focus detection method and program, and imaging apparatus
JP2014211491A (en) * 2013-04-17 2014-11-13 キヤノン株式会社 Focus detection device, focus detection method and program as well as imaging device
US9625787B2 (en) 2013-04-17 2017-04-18 Canon Kabushiki Kaisha Focus detection apparatus, focus detection method and program, and imaging apparatus

Similar Documents

Publication Publication Date Title
US7071985B1 (en) Optical device and method for selecting object of focus
JP5404221B2 (en) Imaging device
JP4963569B2 (en) Imaging system and lens unit
JP5288752B2 (en) Imaging device
JP2007310009A (en) Digital camera and camera system
JP2002051255A (en) Main object detectable camera
JP2001004909A (en) Camera having automatic focusing device
JP5056168B2 (en) Focus adjustment device and imaging device
JP2002207156A (en) Range-finding device for camera
JP4892014B2 (en) camera
JP2001324665A (en) Auto-focusing device for camera
JP2011033730A (en) Focusing device and method, and imaging apparatus
JPH09189850A (en) Automatic focusing microscope
JP4550211B2 (en) camera
JP2003215434A (en) Range-finding device
JP2005003693A (en) Image pickup unit
JP2003015021A (en) Range-finding device
JP2001174694A (en) Range-finger
JP2004325592A (en) Range finder
JPS58209704A (en) Focusing point detector
JPH11118476A (en) Distance measuring device
JP2002131630A (en) Range-finding sensor and range-finding device
JP2005177166A (en) Camera apparatus and iris imaging camera apparatus
JP2002014275A (en) Camera
JP2992975B2 (en) Automatic focusing device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070807