JP2001154084A - Range finder - Google Patents

Range finder

Info

Publication number
JP2001154084A
JP2001154084A JP33454699A JP33454699A JP2001154084A JP 2001154084 A JP2001154084 A JP 2001154084A JP 33454699 A JP33454699 A JP 33454699A JP 33454699 A JP33454699 A JP 33454699A JP 2001154084 A JP2001154084 A JP 2001154084A
Authority
JP
Japan
Prior art keywords
light
subject
pair
integration
distance measurement
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
JP33454699A
Other languages
Japanese (ja)
Inventor
Koichi Nakada
康一 中田
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 JP33454699A priority Critical patent/JP2001154084A/en
Publication of JP2001154084A publication Critical patent/JP2001154084A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Automatic Focus Adjustment (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Measurement Of Optical Distance (AREA)
  • Exposure Control For Cameras (AREA)
  • Focusing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a range finder, capable of highly accurately finding a range in accordance with the condition of an object or the state of a camera. SOLUTION: This range finder is provided with a pair of photoreceptive lenses 101a and 101b, a pair of line sensors 102a and 102b, or a pair of area sensors 107a and 107b for respectively converting a pair of object images formed by the photoreceptive lenses 101a and 101b to electrical signals according to light intensity, an integration control circuit 103 for executing the integral control of the pair of sensors, a CPU 105 for calculating the object distance based on the object image data outputted from the pair of sensors, at least one light-projecting means 106 for projecting range finding signal light to the object, and as for the range finder, light is projected while switching the form of the light projecting pattern, a light-projecting area and the wavelength of the projected light in accordance with the luminance distribution in a photographic screen, the attitude and setting of the camera, the distribution of reflected light by preliminary projection and the contrast of the object.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、測距装置、より詳
しくは、測距用の信号光を投射して被写体までの距離を
測定する測距装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a distance measuring apparatus, and more particularly, to a distance measuring apparatus which projects a signal light for distance measurement to measure a distance to a subject.

【0002】[0002]

【従来の技術】銀塩カメラやデジタルカメラ、あるいは
ビデオカメラなどに使用される測距装置は、従来より種
々のものが提案されていて、アクティブ方式やパッシブ
方式、TTL位相差検出方式、山登り測距方式など、各
種の技術が用いられている。
2. Description of the Related Art Various types of distance measuring devices used for silver halide cameras, digital cameras, video cameras, and the like have been conventionally proposed. Various techniques such as a distance method are used.

【0003】これらの内のパッシブ方式の測距装置は、
投光手段により補助光を照射して被写体から反射する光
束を検出するものである。
[0003] Of these, passive type distance measuring devices are:
This is to detect a light beam reflected from a subject by irradiating auxiliary light by a light projecting unit.

【0004】一方、カメラ等においては、撮影レンズの
焦点距離を変化させることができるいわゆるズームレン
ズを搭載することも多く、このようなズームレンズで
は、焦点距離に応じて撮影される被写体の範囲が変化す
る。
On the other hand, a camera or the like is often equipped with a so-called zoom lens that can change the focal length of a photographing lens. In such a zoom lens, the range of a subject to be photographed is varied according to the focal length. Change.

【0005】このようなズームレンズを備えたカメラな
どに上記パッシブ方式の測距装置を適用すると、撮影範
囲内における補助光照射範囲が変化してしまうために、
そのままでは最適な測距を行うに適しているとはいえな
くなってしまう。
If the passive type distance measuring device is applied to a camera having such a zoom lens or the like, an auxiliary light irradiation range within a photographing range changes.
As it is, it cannot be said that it is suitable for optimal distance measurement.

【0006】こうした観点から、特開平9−25809
4号公報には、撮影レンズの焦点距離やファインダの視
野倍率に応じて補助光の照射角を変えるようにした測距
装置が記載されている。
From such a viewpoint, Japanese Patent Application Laid-Open No. 9-25809
Japanese Patent Application Laid-Open No. 4 (1999) -1995 describes a distance measuring device in which the irradiation angle of the auxiliary light is changed according to the focal length of the photographing lens and the field magnification of the finder.

【0007】[0007]

【発明が解決しようとする課題】上記特開平9−258
094号公報に記載されたような技術では、撮影範囲に
合わせて補助光の照射角を変化させることができるとい
う利点はあるが、補助光の照射角を切り換える必要があ
るのはこの場合に限るものではなく、該公報に記載のパ
ッシブ方式の測距装置では、その他の各種の撮影条件、
例えばカメラの状態や被写体条件などに応じた切り換え
を行うことはできなかった。
SUMMARY OF THE INVENTION The above-mentioned Japanese Patent Application Laid-Open No. 9-258.
The technique described in Japanese Patent Application Publication No. 094 has the advantage that the irradiation angle of the auxiliary light can be changed in accordance with the photographing range, but it is only in this case that the irradiation angle of the auxiliary light needs to be switched. Rather, the passive type distance measuring device described in the official gazette describes various other shooting conditions,
For example, switching cannot be performed according to the state of the camera, the condition of the subject, and the like.

【0008】本発明は上記事情に鑑みてなされたもので
あり、被写体条件またはカメラの状態に応じた高精度な
測距を行うことができる測距装置を提供することを目的
としている。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a distance measuring apparatus capable of performing a highly accurate distance measurement according to a subject condition or a camera state.

【0009】[0009]

【課題を解決するための手段】上記の目的を達成するた
めに、第1の発明による測距装置は、被写体像を各結像
させる一対の受光レンズと、これらの受光レンズにより
結像された一対の被写体像を光強度に応じてそれぞれ電
気信号に変換する一対のラインセンサと、上記一対のラ
インセンサの積分制御を行う積分制御手段と、上記一対
のラインセンサから出力される被写体像データに基づい
て被写体距離に応じたデータを演算する演算手段と、被
写体に測距用の信号光を投射する少なくとも一つの投光
手段と、を備え、被写体条件またはカメラの状態に基づ
いて投光条件を切り換えるように構成されたものであ
る。
In order to achieve the above object, a distance measuring apparatus according to a first aspect of the present invention has a pair of light receiving lenses for forming a subject image, and an image formed by these light receiving lenses. A pair of line sensors that respectively convert the pair of subject images into electric signals according to light intensity, integration control means that performs integral control of the pair of line sensors, and subject image data output from the pair of line sensors. Computing means for computing data according to the subject distance based on the object condition, and at least one light projecting means for projecting a signal light for distance measurement to the subject, wherein the projecting condition is determined based on the subject condition or the state of the camera. It is configured to switch.

【0010】また、第2の発明による測距装置は、被写
体像を各結像させる一対の受光レンズと、これらの受光
レンズにより結像された一対の被写体像を光強度に応じ
てそれぞれ電気信号に変換する一対のエリアセンサと、
上記一対のエリアセンサの積分制御を行う積分制御手段
と、上記一対のエリアセンサから出力される被写体像デ
ータに基づいて被写体距離に応じたデータを演算する演
算手段と、被写体に測距用の信号光を投射する少なくと
も一つの投光手段と、を備え、上記投光手段は、測距用
の信号光を投射するときに、撮影画面内の輝度分布、カ
メラの姿勢や設定、プリ投光の反射光分布、被写体のコ
ントラストの少なくとも1つに応じて、投光パターンの
形状、投光範囲、投射光の波長の少なくとも1つを切り
替えて投光を行うものである。
A distance measuring apparatus according to a second aspect of the present invention includes a pair of light receiving lenses for forming a subject image, and a pair of subject images formed by these light receiving lenses, each of which is provided with an electric signal according to light intensity. A pair of area sensors to convert to
Integral control means for performing integral control of the pair of area sensors; computing means for computing data corresponding to a subject distance based on subject image data output from the pair of area sensors; and a distance measurement signal for the subject. At least one light projecting means for projecting light, the light projecting means, when projecting the signal light for distance measurement, brightness distribution in the shooting screen, the attitude and setting of the camera, pre-lighting of Light projection is performed by switching at least one of the shape of the light projection pattern, the light projection range, and the wavelength of the projection light in accordance with at least one of the reflected light distribution and the contrast of the subject.

【0011】さらに、第3の発明による測距装置は、上
記第1または第2の発明による測距装置において、上記
ラインセンサまたはエリアセンサに定常的に入射する定
常光を除去する定常光除去手段をさらに具備し、信号光
の被写体から反射光のみを積分する機能を備えたもので
ある。
Further, a distance measuring apparatus according to a third aspect of the present invention is the distance measuring apparatus according to the first or second aspect of the present invention, wherein the stationary light removing means for removing the stationary light constantly entering the line sensor or the area sensor. And a function of integrating only the reflected light of the signal light from the subject.

【0012】[0012]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を説明する。図1から図8は本発明の第1の実
施形態を示したものであり、図1は受光素子として
(A)ラインセンサ,(B)エリアセンサを用いた測距
装置の構成を示すブロック図、図2は(A)複数のLE
Dを用いた投光手段,(B)投光範囲の切換に可動遮光
マスクを用いた投光手段、の構成をそれぞれ示すブロッ
ク図、図3は(A)主要被写体が背景に対して低輝度と
なっているときのファインダ視野の様子を示す図、
(B)定常光のみで積分した場合の被写体像データを示
す線図、(C)信号光を主要被写体中央部分に投射して
積分した場合の被写体像データを示す線図、図4は複数
のLEDによる信号光の投光パターンの変形例を示す
図、図5は可動遮光マスクを用いた投光手段の投光範囲
の切換例を示す図であって、(A)撮影画面の全域、
(B)撮影画面の中央部、(C)撮影画面の左方部、
(D)撮影画面の右方部、にそれぞれ信号光を投射する
場合の遮光マスクの配置を示す図、図6は可動遮光マス
クを用いた投光手段による撮影画面での投光範囲および
パターン例を示す図、図7は測距装置の測距シーケンス
を示すフローチャート、図8は低輝度・ローコントラス
ト判定の処理を示すフローチャートである。
Embodiments of the present invention will be described below with reference to the drawings. FIGS. 1 to 8 show a first embodiment of the present invention. FIG. 1 is a block diagram showing a configuration of a distance measuring device using (A) a line sensor and (B) an area sensor as light receiving elements. FIG. 2 shows (A) a plurality of LEs.
FIG. 3A is a block diagram showing the configuration of a light projecting device using D, and FIG. 3B is a block diagram showing the configuration of a light projecting device using a movable light-shielding mask for switching the light projecting range. Figure showing the viewfinder view when
(B) is a diagram showing subject image data when integrated only with stationary light; (C) is a diagram showing subject image data when signal light is projected onto the central portion of the main subject and integrated; FIG. FIG. 5 is a diagram showing a modification of the light projecting pattern of the signal light by the LED, and FIG. 5 is a diagram showing an example of switching the light projecting range of the light projecting means using the movable light-shielding mask.
(B) the center of the shooting screen, (C) the left side of the shooting screen,
FIG. 6D is a diagram showing the arrangement of light-shielding masks when projecting signal light on the right side of the image-capturing screen, respectively. FIG. FIG. 7 is a flowchart showing a distance measuring sequence of the distance measuring apparatus, and FIG. 8 is a flowchart showing a low luminance / low contrast determination process.

【0013】この第1の実施形態の測距装置は、図1
(A)または図1(B)に示すように構成されていて、
図2(A)または図2(B)に示すような構成の投光手
段106を備えてなる。そして、この測距装置は、上記
投光手段106による信号光の投射を行うことなく定常
光のみを積分した被写体像データにおいて、低輝度領域
が検出された場合には、検出された低輝度領域に、該投
光手段106より信号光を投射して、再積分を行うよう
にしたものである。
The distance measuring apparatus according to the first embodiment is shown in FIG.
(A) or as shown in FIG. 1 (B),
It is provided with a light projecting means 106 having a configuration as shown in FIG. 2 (A) or FIG. 2 (B). The distance measuring device is configured to detect a low-luminance region when a low-luminance region is detected in subject image data obtained by integrating only the stationary light without projecting the signal light by the light projecting unit 106. Then, signal light is projected from the light projecting means 106 to perform reintegration.

【0014】まず、図1(A)は、受光素子にラインセ
ンサを用いた場合の測距装置の構成を示したものであ
る。
First, FIG. 1A shows the configuration of a distance measuring device when a line sensor is used as a light receiving element.

【0015】この測距装置は、被写体像を結像するため
の一対の受光レンズ101a,101bと、これらの受
光レンズ101a,101bにより各結像された被写体
像をその光強度に応じた電気信号に光電変換するライン
センサ102a,102bと、これらのラインセンサ1
02a,102bによる積分動作を制御するための積分
制御手段たる積分制御回路103と、上記ラインセンサ
102a,102bから出力される、被写体像を光電変
換したアナログ電気信号をデジタル電気信号に変換する
A/D変換回路104と、各種の制御信号を出力すると
ともに被写体距離演算を含む各種の演算を行なう演算手
段たるCPU105と、被写体に対して測距用の信号光
を投射する投光手段106と、を有して構成されてい
る。
The distance measuring apparatus includes a pair of light receiving lenses 101a and 101b for forming a subject image, and converts the subject images formed by the light receiving lenses 101a and 101b into electric signals corresponding to the light intensity. Line sensors 102a and 102b for photoelectrically converting
An integration control circuit 103 as integration control means for controlling integration operations by the first and second sensors 02a and 102b, and an A / A for converting an analog electric signal obtained by photoelectrically converting the subject image output from the line sensors 102a and 102b into a digital electric signal. A D conversion circuit 104, a CPU 105 that outputs various control signals and performs various calculations including a subject distance calculation, and a light projecting unit 106 that projects a signal light for distance measurement to the subject. It is configured to have.

【0016】また、図1(B)は、受光素子にエリアセ
ンサを用いた場合の測距装置の構成を示したものであ
る。
FIG. 1B shows a configuration of a distance measuring apparatus in which an area sensor is used as a light receiving element.

【0017】この測距装置も上記図1(A)に示した測
距装置とほぼ同様に構成されているが、受光素子として
エリアセンサ107a,107bを使用している点が異
なっている。
This distance measuring apparatus is constructed in substantially the same manner as the distance measuring apparatus shown in FIG. 1A, except that area sensors 107a and 107b are used as light receiving elements.

【0018】次に、図2(A)は、光源に複数のLED
を用いた場合の投光手段106の構成例を示したもので
ある。
Next, FIG. 2A shows a case where a plurality of LEDs are used as a light source.
3 shows an example of the configuration of the light projecting means 106 in the case of using.

【0019】この投光手段は、上記CPU105からの
発光要求に基づき後述するLED112a,112b,
112c,112d,112eを駆動するためのLED
駆動回路113と、このLED駆動回路113により駆
動制御されて測距用の信号光を発生させる112a,1
12b,112c,112d,112eと、これらのL
ED112a,112b,112c,112d,112
eから発せられる測距用の信号光を被写体に向けて投射
する投光レンズ111と、を有して構成されている。
The light projecting means includes LEDs 112a, 112b, which will be described later, based on a light emission request from the CPU 105.
LED for driving 112c, 112d, 112e
A driving circuit 113 and 112a, 1 that are driven and controlled by the LED driving circuit 113 to generate signal light for distance measurement.
12b, 112c, 112d, and 112e, and their L
EDs 112a, 112b, 112c, 112d, 112
e, and a light projecting lens 111 for projecting the signal light for distance measurement emitted from e toward the subject.

【0020】また、図2(B)は、投光範囲の切り換え
に可動遮光マスクを用いた場合の投光手段106の構成
例を示したものである。
FIG. 2B shows an example of the configuration of the light projecting means 106 when a movable light shielding mask is used for switching the light projecting range.

【0021】この投光手段は、上記CPU105からの
発光要求に基づき後述するLED124を駆動するため
のLED駆動回路125と、このLED駆動回路125
により駆動制御されて測距用の信号光を発生させるLE
D124と、このLED124から発光された信号光の
通過範囲を一部制限することにより測距用の信号光の投
光パターンを規定するものであり印刷等を用いて形成さ
れたパターンマスク123と、このパターンマスク12
3の一部を移動可能に遮光することで、測距用のパター
ン信号光の投光範囲を切り換えるための遮光マスク12
2a,122bと、上記CPU105の要求に応じてこ
れら遮光マスク122a,122bの位置を制御する遮
光マスク駆動回路126と、上記パターンマスク123
から発せられ上記遮光マスク122a,122bにより
遮光されない部分を通過した測距用のパターン信号光を
被写体に向けて投射する投光レンズ121と、を有して
構成されている。
The light projecting means includes an LED driving circuit 125 for driving an LED 124 described later based on a light emission request from the CPU 105, and an LED driving circuit 125
That is driven and controlled by the controller to generate signal light for distance measurement
D124, and a pattern mask 123 formed by using printing or the like, which defines a projection pattern of the signal light for distance measurement by partially restricting a transmission range of the signal light emitted from the LED 124, This pattern mask 12
The light shielding mask 12 for switching the projection range of the pattern signal light for distance measurement by movably shielding a part of the light shielding mask 12.
2a, 122b; a light-shielding mask driving circuit 126 for controlling the positions of these light-shielding masks 122a, 122b in response to a request from the CPU 105;
And a light projecting lens 121 for projecting the distance-measuring pattern signal light, which is emitted from the light-shielding masks 122a and 122b and is not shielded by the light-shielding masks 122a and 122b, toward the subject.

【0022】次に、このような構成の測距装置により、
例えば図3(A)に示すような逆光シーンの測距を行う
場合を考える。
Next, with the distance measuring device having the above-described configuration,
For example, consider the case of performing distance measurement of a backlight scene as shown in FIG.

【0023】図3(A)は、逆光により主要被写体であ
る人物が背景に対して低輝度になっているシーンを示す
図であり、符号131a,131b,131c,131
d,131eは、撮影画面内における例えば上記図2
(A)のLED112a,112b,112c,112
d,112eの投光範囲をそれぞれ示している。
FIG. 3A is a view showing a scene in which a person who is a main subject has a low luminance with respect to the background due to backlight, and reference numerals 131a, 131b, 131c, 131
d and 131e are, for example, those shown in FIG.
(A) LEDs 112a, 112b, 112c, 112
The light projection ranges of d and 112e are shown, respectively.

【0024】図3(B)は、この図3(A)に示すよう
なシーンを、定常光のみで受光素子により積分したとき
に得られる被写体像データ132の例を示したものであ
る。なお、受光素子は、この図3(B)に示すような複
数の低輝度部検出用ブロック133,134,135,
136,137に分割されている。
FIG. 3B shows an example of subject image data 132 obtained when the scene as shown in FIG. 3A is integrated by a light receiving element using only stationary light. The light receiving element includes a plurality of low luminance portion detection blocks 133, 134, 135 and 135 as shown in FIG.
It is divided into 136 and 137.

【0025】この図3(B)に示すような場合には、主
要被写体である人物の部分に対応する例えばブロック1
34が、低輝度検出用ブロック133,134,13
5,136,137の中において低輝度であるとして判
定されることになる。
In the case shown in FIG. 3B, for example, block 1 corresponding to the part of the person who is the main subject
34 are low-luminance detection blocks 133, 134, and 13
5,136,137, it is determined that the luminance is low.

【0026】次に、図3(C)は、ブロック134に対
応するLED112bを発光させて撮影画面内の領域1
31bに信号光を投射し、受光素子により積分したとき
の被写体像データ138の例を示したものである。
Next, FIG. 3 (C) shows that the LED 112b corresponding to the block 134 emits light and the
An example of subject image data 138 when a signal light is projected on 31b and integrated by a light receiving element is shown.

【0027】上記図3(B)に示したような例の場合に
は、この図3(C)に示したように再積分を行うことに
なる。この再積分により得られた被写体像データ138
の内の、信号光を投射した領域を含むように演算領域1
39が設定され、この演算領域139のデータを用い
て、所定の相関演算や補間演算を行うことにより、被写
体距離データが算出される。
In the case of the example shown in FIG. 3B, the reintegration is performed as shown in FIG. 3C. Subject image data 138 obtained by the reintegration
Calculation region 1 so as to include the region where the signal light is projected.
39 is set, and subject distance data is calculated by performing a predetermined correlation operation or interpolation operation using the data in the operation area 139.

【0028】なお、上記図2(A)に示したような構成
の投光手段106において、LED112a,112
b,112c,112d,112eによる投射光は、ス
ポット光に限るものではなく、例えば、一つのLEDの
発光部を複数に分割して、図4に示すような複数本スリ
ット状でなる投光パターン141a,141b,141
c,141d,141eを投射するようにしても良い。
In the light projecting means 106 having the structure shown in FIG.
The light projected by b, 112c, 112d, and 112e is not limited to spot light. For example, a light emitting pattern of a plurality of slits as shown in FIG. 141a, 141b, 141
c, 141d, and 141e may be projected.

【0029】また、上述ではLEDを5つ配設したが、
もちろんこの数に限るものではなく、これよりも少ない
数でも構わないし、多い数を配置するようにしても良
い。
Although five LEDs are provided in the above description,
Of course, the present invention is not limited to this number, and a smaller number or a larger number may be arranged.

【0030】さらに、投光手段106は、上記図2
(B)に示したようなLED124とパターンマスク1
23および可動遮光マスク122a,122bを用いた
構成のものでも良い。
Further, the light projecting means 106 is provided in the above-mentioned FIG.
LED 124 and pattern mask 1 as shown in FIG.
23 and a structure using the movable light shielding masks 122a and 122b.

【0031】このような構成の投光手段106による投
光領域の切り換えは、図5に示すように、遮光マスク1
22a,122bの位置を変化させることにより行う。
図5は、可動遮光マスクを用いた投光手段の投光範囲の
切り換え例を示したものであり、図5(A)は撮影画面
の全域に信号光を投射する場合、図5(B)は撮影画面
の中央部に信号光を投射する場合、図5(C)は撮影画
面の左方部に信号光を投射する場合、図5(D)は撮影
画面の右方部に信号光を投射する場合、の遮光マスク1
22a,122bの配置をそれぞれ示している。
As shown in FIG. 5, the switching of the light projecting area by the light projecting means 106 having such a configuration is performed as shown in FIG.
This is performed by changing the positions of 22a and 122b.
5A and 5B show an example of switching the light emitting range of the light emitting means using a movable light shielding mask. FIG. 5A shows a case where the signal light is projected over the entire area of the photographing screen. 5C is a case where the signal light is projected on the center of the shooting screen, FIG. 5C is a case where the signal light is projected on the left side of the shooting screen, and FIG. 5D is a case where the signal light is projected on the right side of the shooting screen. When projecting, light shielding mask 1
The arrangement of 22a and 122b is shown, respectively.

【0032】図6は、逆光にある主要被写体である人物
が、画面内のやや左側に位置するシーンと、この逆光シ
ーンにおける投光範囲およびパターン例を示している。
FIG. 6 shows a scene in which a person who is a main subject in backlight is located slightly to the left in the screen, and an example of a projection range and a pattern in this backlight scene.

【0033】このような逆光シーンでは、上述と同様
に、通常光のみでの積分を行ってその結果から低輝度で
あるブロックを検出し、そのブロックに応じたパターン
の光、例えばパターン151に示すような光を投射す
る。この例においては、例えば上記図5(C)に示すよ
うな位置に可動遮光マスク122a,122bを移動さ
せて、LED124を発光させることにより、該パター
ン151の投射光を得るようになっている。
In such a backlight scene, similarly to the above, integration is performed with only normal light, and a block having a low luminance is detected from the result, and a light having a pattern corresponding to the block, for example, a pattern 151 is shown. To project such light. In this example, the movable light-shielding masks 122a and 122b are moved to the positions shown in FIG. 5C, for example, and the LED 124 emits light to obtain the projection light of the pattern 151.

【0034】なお、上述ではパターンマスク123およ
び可動遮光マスク122a,122bを用いて投射光パ
ターンを決定する構成としたが、これに限らず、例えば
透過型液晶などを用いて、その表示パターン、つまり透
光部分と遮光部分とのパターンを電気的に切り換えるこ
とにより、投光領域を切り換えるように構成しても良
い。
In the above description, the projection light pattern is determined by using the pattern mask 123 and the movable light-shielding masks 122a and 122b. However, the present invention is not limited to this. The light projection area may be switched by electrically switching the pattern between the light transmitting part and the light shielding part.

【0035】また、低輝度領域の検出は、多分割測光に
よる測光データや2値化処理等の他の画像処理方法で行
っても構わない。
The detection of the low luminance area may be performed by other image processing methods such as photometric data by multi-segment photometry or binarization processing.

【0036】なお、この第1の実施形態の測距装置の構
成として、例えば後述する図18(A)や図18(B)
に示すように、信号光の被写体からの反射光だけを積分
するための定常光除去回路408を有するものを用いて
も良い。このような構成の測距装置を用いることによ
り、主要被写体の背景のコントラスト状態や光源による
影響を除去することができるために、より高精度の測距
を行うことが可能となる。
As a configuration of the distance measuring apparatus of the first embodiment, for example, FIG. 18 (A) and FIG.
As shown in (1), a circuit having a stationary light removal circuit 408 for integrating only the reflected light of the signal light from the subject may be used. By using the distance measuring device having such a configuration, the influence of the contrast state of the background of the main subject and the influence of the light source can be removed, so that more accurate distance measurement can be performed.

【0037】次に、図7を参照して、測距装置の測距シ
ーケンスについて説明する。
Next, a distance measuring sequence of the distance measuring apparatus will be described with reference to FIG.

【0038】この処理が開始されると、定常光積分用の
モニタ領域の設定を行う(S101)。このモニタ領域
とは、積分の制御を行うために領域内のセンサデータの
平均値や最も積分速度の速いセンサの積分量をモニタデ
ータとして積分制御回路103に出力させるセンサ範囲
である。該モニタ領域は、通常は、センサ全域、または
比較的広い領域となるように設定される。
When this process is started, a monitor area for steady light integration is set (S101). The monitor area is a sensor range in which the integration control circuit 103 outputs the average value of the sensor data in the area and the integration amount of the sensor with the fastest integration speed as monitor data in order to control the integration. The monitor area is usually set to be the entire sensor area or a relatively large area.

【0039】次に、測光データやプリ積分結果等に基づ
いて、定常光積分のセンサ感度の設定を行う(S10
2)。このセンサ感度は、低感度/高感度の2段階のみ
を切り換えるようにしても良いし、それ以上の多段階に
切り換えることができるようにしても構わない。
Next, the sensor sensitivity for steady light integration is set based on the photometric data, the pre-integration result, and the like (S10).
2). The sensor sensitivity may be switched between only two steps of low sensitivity / high sensitivity, or may be switched over more steps.

【0040】そして、上記ステップS101で設定され
たモニタ領域について、上記ステップS102で設定さ
れたセンサ感度により、定常光積分を行う(S10
3)。このときの積分の制御は、上記モニタデータが所
定値に達したかどうかを検出することにより行うか、あ
るいは積分開始から所定時間が経過したかどうかにより
判断することで行うようになっている。
Then, steady light integration is performed on the monitor area set in step S101 according to the sensor sensitivity set in step S102 (S10).
3). The control of the integration at this time is performed by detecting whether the monitor data has reached a predetermined value or by determining whether a predetermined time has elapsed from the start of the integration.

【0041】次に、上記ステップS103での定常光積
分による被写体像信号をA/D変換回路104でA/D
変換し、CPU105内のRAMにセンサデータとして
読み込む(S104)。このときに、センサデータの最
大値MAX(最も暗い部分を積分したセンサのデータ)
の検出も行う。
Next, the subject image signal obtained by the steady light integration in step S103 is subjected to A / D conversion by the A / D conversion circuit 104.
The data is converted and read into the RAM in the CPU 105 as sensor data (S104). At this time, the maximum value MAX of the sensor data (sensor data obtained by integrating the darkest part)
Is also detected.

【0042】上記ステップS103の定常光積分により
得られたセンサデータに、低輝度かつ低コントラストの
部分があるかどうかの判定を行う(S105)。この判
定は、上記図3(B)に示したように、センサ領域を複
数の低輝度部検出用ブロック133,134,145,
136,137に分割して、各ブロック毎に判定を行
う。
It is determined whether or not the sensor data obtained by the steady light integration in step S103 has a low luminance and low contrast portion (S105). As shown in FIG. 3B, this determination is made by dividing the sensor area into a plurality of low-luminance part detection blocks 133, 134, 145, and
It is divided into 136 and 137, and the judgment is made for each block.

【0043】上記ステップS105での判定の結果、全
ブロックがローコントラストである場合には、後述する
ステップS111に進み、一方、ローコントラストでな
いブロックがある場合には、続くステップS107に進
む(S106)。
If the result of determination in step S105 is that all blocks have low contrast, the flow proceeds to step S111 to be described later, while if there is a block that does not have low contrast, the flow proceeds to subsequent step S107 (S106). .

【0044】そして、測距データを演算するための所定
の演算領域の設定を行う(S107)。なお、この演算
領域としては、通常は、上記ステップS105の低輝度
・ローコントラスト判定での分割ブロックと同じ領域が
設定されるが、異なる領域に設定しても構わない。
Then, a predetermined calculation area for calculating the distance measurement data is set (S107). Note that the calculation area is usually set to the same area as the divided block in the low luminance / low contrast determination in step S105, but may be set to a different area.

【0045】このステップS107で設定された演算領
域毎に所定の相関演算や補間演算等を行って一対の受光
レンズ101a,101bにより一対のセンサ102
a,102bまたは107a,107b上に結像された
一対の被写体像のずれ量(位相差)を求めて、公知の三
角測距の原理によって測距データを演算して求める(S
108)。
A predetermined correlation operation, interpolation operation, or the like is performed for each calculation region set in step S107, and a pair of light receiving lenses 101a and 101b are used to form a pair of sensors 102.
A shift amount (phase difference) between a pair of subject images formed on a, 102b or 107a, 107b is obtained, and distance measurement data is calculated by a known triangulation principle (S).
108).

【0046】次に、上記ステップS104で検出したセ
ンサデータの最大値MAXが、所定値よりも大きいか否
かを判断し(S109)、所定値よりも大きい場合は次
のステップS110に進み、一方、小さい場合はセンサ
データに低輝度の部分はないと判断して、後述するステ
ップS116へ進む。
Next, it is determined whether or not the maximum value MAX of the sensor data detected in step S104 is larger than a predetermined value (S109). If it is larger than the predetermined value, the process proceeds to the next step S110. If it is smaller, it is determined that there is no low-luminance portion in the sensor data, and the process proceeds to step S116 described later.

【0047】続いて、上記ステップS105の判定結果
に基づいて、低輝度かつ低コントラストの部分があるか
否かを判定し(S110)、あると判断された場合に
は、次のステップS111へ進み、一方、ないと判断さ
れた場合には、後述するステップS116へ進む。
Subsequently, based on the result of the determination in step S105, it is determined whether or not there is a low-brightness and low-contrast portion (S110). If it is determined that there is a portion, the process proceeds to the next step S111. On the other hand, if it is determined that there is none, the process proceeds to step S116 described below.

【0048】さらに、上記ステップS105の判定結果
に基づいて、補助光積分用のモニタ領域を設定する(S
111)。つまり、例えば上記図3(A)に示すような
逆光シーンの測距において、上記図3(B)に示すよう
に、定常光積分で主要被写体である人物の像が低輝度か
つ低コントラストとなっているセンサデータ132が得
られた場合には、低輝度・ローコントラスト判定ブロッ
ク134にモニタ領域を設定する。
Further, based on the result of the determination in step S105, a monitor area for auxiliary light integration is set (S105).
111). That is, for example, in the distance measurement of a backlight scene as shown in FIG. 3A, as shown in FIG. 3B, the image of the person who is the main subject has low luminance and low contrast in the steady light integration. If the sensor data 132 is obtained, a monitor area is set in the low luminance / low contrast determination block 134.

【0049】次に、投光手段106により上記ステップ
S105において低輝度かつ低コントラストであると判
定されたブロックと対応する範囲に信号光を投射し、上
記ステップS111で設定されたモニタ領域で補助光積
分を行う(S112)。具体的には、上記図3(A)に
示すような逆光シーンでは、投光領域131bに投光す
ることになる。また、このときのセンサ感度は、積分初
期の信号光の反射光量に応じて設定する。なお積分の制
御は、上記ステップS103と同様である。
Next, signal light is projected by the light projecting means 106 into a range corresponding to the block determined to have low brightness and low contrast in step S105, and the auxiliary light is projected in the monitor area set in step S111. Integration is performed (S112). Specifically, in a backlight scene as shown in FIG. 3A, light is projected on the light projecting area 131b. The sensor sensitivity at this time is set according to the amount of reflected signal light at the beginning of integration. The control of integration is the same as in step S103.

【0050】このステップS112での補助光積分によ
る被写体像信号をA/D変換回路104でA/D変換
し、CPU105内のRAMにセンサデータとして読み
込む(S113)。このときに読み込むセンサデータ
は、全センサのデータでも良いし、次のステップS11
4で設定される演算領域のセンサデータのみであっても
構わない。
The A / D conversion circuit 104 performs A / D conversion of the subject image signal obtained by integrating the auxiliary light in step S112, and reads the data as sensor data into the RAM in the CPU 105 (S113). The sensor data to be read at this time may be data of all sensors, or may be the next step S11.
Only the sensor data of the calculation area set in 4 may be used.

【0051】そして、測距データの演算を行う演算領域
を設定する(S114)。このときに設定する演算領域
は、低コントラストと判定されたブロックと同じでも良
いし、低輝度・ローコントラストブロックを含むような
広めの領域や複数の領域に設定したりしても構わない。
Then, a calculation area for calculating the distance measurement data is set (S114). The calculation area set at this time may be the same as the block determined to have low contrast, or may be set to a wider area or a plurality of areas including a low-brightness / low-contrast block.

【0052】このステップS114で設定された演算領
域で所定の相関演算や補間演算等を行って、一対の受光
レンズ101a,101bにより一対のセンサ上102
a,102bまたは107a,107bに結像された一
対の被写体像のずれ量(位相差)を求めて、公知の三角
測距の原理によって測距データを演算して求める(S1
15)。
A predetermined correlation operation, interpolation operation, or the like is performed in the operation area set in step S114, and a pair of light receiving lenses 101a and 101b are used to perform a pair of sensor operations.
A shift amount (phase difference) between a pair of subject images formed on a, 102b or 107a, 107b is calculated, and distance measurement data is calculated by a known triangulation principle (S1).
15).

【0053】そして、上記ステップS108、ステップ
S115で求めた測距データの中から、最至近選択等に
より撮影に使用する測距データを選択して(S11
6)、この処理を終了する。
Then, from the distance measurement data obtained in steps S108 and S115, the distance measurement data to be used for photographing is selected by closest selection or the like (S11).
6), this process ends.

【0054】続いて図8を参照して、上記ステップS1
05における低輝度・ローコントラスト判定の処理の詳
細について説明する。
Next, with reference to FIG.
The details of the low-brightness / low-contrast determination process performed in step S05 will be described.

【0055】この処理が開始されると、まず、低輝度・
ローコントラスト判定を行う判定ブロック数を設定し
(S121)、判定を行うブロックのナンバーを設定す
る(S122)。
When this processing is started, first, a low luminance
The number of determination blocks for performing low contrast determination is set (S121), and the number of the block for which determination is performed is set (S122).

【0056】さらに、ブロック内のセンサデータの最小
値minと最大値maxを初期化する(S123)。具
体的には、例えばセンサデータが8ビットのデータであ
る場合には、min=FFH、max=00H(ここに
記号Hは16進数であることを示す。)として設定す
る。
Further, the minimum value min and the maximum value max of the sensor data in the block are initialized (S123). Specifically, for example, when the sensor data is 8-bit data, min = FFH and max = 00H (the symbol H indicates a hexadecimal number) are set.

【0057】その後、次のセンサデータのRAMアドレ
スをセットする(S124)。なお、初回である場合に
は、判定を行うブロックのセンサデータの先頭RAMア
ドレスをセットすることになる。
Thereafter, the RAM address of the next sensor data is set (S124). In the case of the first time, the head RAM address of the sensor data of the block to be determined is set.

【0058】そして、現在設定されているRAMアドレ
スのセンサデータを読み出す(S125)。
Then, the sensor data of the currently set RAM address is read (S125).

【0059】このステップS125で読み出したセンサ
データが、現在設定されている判定ブロック内のセンサ
データの最大値maxよりも大きいか否かを判断して
(S126)、大きい場合は次のステップS127に進
み、小さい場合は後述するステップS128に進む。
It is determined whether or not the sensor data read in step S125 is larger than the maximum value max of the sensor data in the currently set determination block (S126). If the sensor data is larger, the flow advances to the next step S127. If it is smaller, the process proceeds to step S128 described later.

【0060】このステップS126で大きいと判断され
た場合は、現在のセンサデータを最大値maxに格納す
る(S127)。
If it is determined in step S126 that the value is large, the current sensor data is stored in the maximum value max (S127).

【0061】また、上記ステップS125で読み出した
センサデータが、現在設定されている判定ブロック内の
センサデータの最小値minよりも小さいか否かを判断
して(S128)、小さい場合は次のステップS129
に進み、大きい場合は後述するステップS130に進
む。
Further, it is determined whether or not the sensor data read in step S125 is smaller than the minimum value min of the sensor data in the currently set determination block (S128). S129
If it is larger, the process proceeds to step S130 described later.

【0062】このステップS128で小さいと判断され
た場合は、現在のセンサデータを最小値minに格納す
る(S129)。
If it is determined in step S128 that the value is small, the current sensor data is stored in the minimum value min (S129).

【0063】次に、現在設定されている判定ブロックの
全センサについて、最大値検出および最小値検出が終了
したかどうかを判断し(S130)、終了していなけれ
ば上記ステップS124に戻って上述した処理を繰り返
し、一方、終了している場合には、続くステップS13
1に進む。
Next, it is determined whether the detection of the maximum value and the detection of the minimum value have been completed for all the sensors in the currently set determination block (S130). If not, the flow returns to step S124 to return to the above. The process is repeated, and if it has been completed, the process proceeds to step S13.
Proceed to 1.

【0064】そして、現在設定されている判定ブロック
について、ローコントラスト判定を行う(S131)。
すなわち、ブロック内のセンサデータの最大値maxと
最小値minとの差が、所定値よりも小さい場合にはロ
ーコントラストと判断して次のステップS132に進
み、大きい場合にはローコントラストではないと判断し
て後述するステップS134に進む。
Then, low contrast determination is performed for the currently set determination block (S131).
That is, if the difference between the maximum value max and the minimum value min of the sensor data in the block is smaller than a predetermined value, it is determined that the contrast is low, and the process proceeds to the next step S132. The process proceeds to step S134 to be described later.

【0065】上記131においてローコントラストであ
ると判断された場合には、さらに、現在設定されている
判定ブロックについて低輝度判定を行う(S132)。
この低輝度判定は、ブロック内のセンサデータの最小値
minが所定値よりも大きいか否かにより判断し、大き
い場合には低輝度であると判断して、次のステップS1
33に進み、小さい場合には低輝度ではないと判断し
て、後述するステップS134に進む。
If it is determined in step 131 that the contrast is low, a low luminance determination is further performed for the currently set determination block (S132).
This low luminance determination is made based on whether or not the minimum value min of the sensor data in the block is larger than a predetermined value. If it is larger, it is determined that the luminance is low, and the next step S1 is performed.
The process advances to step S134, where it is determined that the brightness is not low if the brightness is small, and the process advances to step S134 described later.

【0066】なお、ここでは低輝度判定に最小値min
を用いたが、この最小値minの代わりに、ブロック内
のセンサデータの平均値を用いても構わない。
Note that, here, the minimum value min
However, instead of the minimum value min, an average value of the sensor data in the block may be used.

【0067】そして、現在設定されている判定ブロック
のナンバーを低輝度・ローコントラストブロックのデー
タとして記憶する(S133)。
Then, the number of the currently set judgment block is stored as data of a low-luminance / low-contrast block (S133).

【0068】その後、全ての判定ブロックについて、低
輝度・ローコントラスト判定が終了したかどうかを判断
して(S134)、終了していなければ上記ステップS
122に戻って上述した処理を繰り返し、終了している
場合には、上記図7の処理にリターンする。
Thereafter, it is determined whether or not the low luminance / low contrast determination has been completed for all the determination blocks (S134).
Returning to step 122, the above-described processing is repeated. If the processing has been completed, the processing returns to the processing in FIG.

【0069】このような第1の実施形態によれば、低輝
度領域を検出して信号光を投射するようにしたために、
補助光が必要な領域のみを効率的に照明することが可能
となる。
According to the first embodiment, since the low-luminance area is detected and the signal light is projected,
It is possible to efficiently illuminate only the area where the auxiliary light is required.

【0070】図9から図11は本発明の第2の実施形態
を示したものであり、図9は測距装置の投光手段の構成
を示すブロック図、図10は各測距用の信号光光源によ
る撮影画面内への投光範囲およびパターン例を示す図、
図11は測距装置の測距シーケンスを示すフローチャー
トである。
FIGS. 9 to 11 show a second embodiment of the present invention. FIG. 9 is a block diagram showing the configuration of the light projecting means of the distance measuring device, and FIG. 10 is a signal for each distance measuring. A diagram showing a light projection range and a pattern example into a shooting screen by a light source,
FIG. 11 is a flowchart showing a distance measuring sequence of the distance measuring device.

【0071】この第2の実施形態において、上述の第1
の実施形態と同様である部分については説明を省略し、
主として異なる点についてのみ説明する。
In the second embodiment, the first
The description of the same parts as those of the embodiment is omitted,
Only the differences will be mainly described.

【0072】本実施形態の測距装置は、撮影者により設
定されるカメラの撮影モードに応じて、測距用の信号光
の投光範囲や光源等を切り換えるようにしたものであ
る。
The distance measuring apparatus according to the present embodiment is designed to switch the light emitting range, the light source, and the like of the signal light for distance measurement in accordance with the photographing mode of the camera set by the photographer.

【0073】まず、測距装置の構成は、上述した第1の
実施形態の図1(A)、図1(B)に示したものとほぼ
同様であるが、上記投光手段106が、図9に示すよう
に、各種の光源を有して構成されたものとなっている。
First, the configuration of the distance measuring device is almost the same as that shown in FIGS. 1A and 1B of the first embodiment, but the light projecting means 106 As shown in FIG. 9, it is configured to have various light sources.

【0074】すなわち、この投光手段は、撮影において
露光をおこなうときの補助光源であり、通常時の測距用
の信号光光源としても用いられるストロボ201と、こ
のストロボ201の発光用コンデンサに充電を行い該ス
トロボ201の発光制御を行うストロボ制御回路202
と、上記CPU105からの発光要求に基づき後述する
赤外LED204a,204b,204c,204d,
204eを駆動するための赤外LED駆動回路205
と、この赤外LED駆動回路205により駆動制御され
てポートレートモード、夜景モード、ストロボオフモー
ド時に測距用の信号光を発生させる赤外LED204
a,204b,204c,204d,204eと、これ
らの赤外LED204a,204b,204c,204
d,204eから発せられる測距用の信号光を被写体に
向けて投射する投光レンズ203と、上記CPU105
からの指令に基づき後述するセルフLED206を駆動
するためのセルフLED駆動回路207と、このセルフ
LED駆動回路207により駆動されて発光するセルフ
タイマの表示用光源でありマクロモード時の信号光光源
として用いられるセルフLED206と、を有して構成
されている。
That is, the light projecting means is an auxiliary light source for performing exposure in photographing, and charges the strobe 201 which is also used as a signal light source for a normal distance measurement, and a light emitting capacitor of the strobe 201. Control circuit 202 for controlling the light emission of the strobe 201
And infrared LEDs 204a, 204b, 204c, 204d, which will be described later, based on a light emission request from the CPU 105.
Infrared LED drive circuit 205 for driving 204e
And an infrared LED 204 driven and controlled by the infrared LED drive circuit 205 to generate a signal light for distance measurement in a portrait mode, a night view mode, or a strobe off mode.
a, 204b, 204c, 204d, 204e and these infrared LEDs 204a, 204b, 204c, 204
d, 204e, and a light projecting lens 203 for projecting a signal light for distance measurement emitted toward the subject, and the CPU 105
A self-LED driving circuit 207 for driving a self-LED 206 described later based on a command from the microcomputer, and a self-timer display light source that emits light by being driven by the self-LED driving circuit 207 and is used as a signal light source in the macro mode And a self LED 206 to be used.

【0075】この測距装置は、カメラの撮影モードに応
じて、測距用の信号光の投光範囲や光源等を切り換える
ようになっており、その幾つかの例について、図10を
参照して説明する。
This distance measuring device switches the projection range of the signal light for distance measurement, the light source, and the like in accordance with the photographing mode of the camera. Some examples thereof are shown in FIG. Will be explained.

【0076】例えば、通常モード時は、上記ストロボ2
01を発光させて、図10(A)に示すように、撮影画
面211のほぼ全域を覆う投光範囲212に信号光を投
射する。
For example, in the normal mode, the strobe 2
01 is emitted, and as shown in FIG. 10A, the signal light is projected onto a light projecting range 212 covering substantially the entire area of the photographing screen 211.

【0077】また、スポットモード時は、上記赤外LE
D204cを発光させて、図10(B)に示すように撮
影画面211の中央部の比較的狭い投光範囲213に信
号光を投射する。
In the spot mode, the infrared LE
D204c is caused to emit light, and the signal light is projected onto a relatively narrow light projecting range 213 at the center of the photographing screen 211 as shown in FIG.

【0078】ポートレートモードまたは夜景モード時
は、人物が被写体である場合にその人物が眩しくないよ
うに、あるいはストロボ発光用の電荷を貯えているコン
デンサの充電量が減少することのないように、上記赤外
LED204a,204b,204c,204d,20
4eを発光させて、図10(C)に示すように、撮影画
面211内の各投光範囲214a,214b,214
c,214d,214eに信号光を投射する。
In the portrait mode or the night scene mode, when a person is a subject, the person is not dazzled or the amount of charge of a capacitor storing electric charge for strobe light emission is not reduced. The infrared LEDs 204a, 204b, 204c, 204d, 20
4e to emit light, and as shown in FIG. 10 (C), each light projecting range 214a, 214b, 214 in the photographing screen 211.
Signal light is projected on c, 214d, 214e.

【0079】ストロボオフモード時は、上記ストロボ2
01を使用することができないために、上記ポートレー
トモードや夜景モード時と同様に、図9に示す赤外LE
D204a,204b,204c,204d,204e
を発光させて、図10(C)に示すように信号光を投射
することになる。
In the strobe off mode, the above strobe 2
01 cannot be used, and the infrared LE shown in FIG.
D204a, 204b, 204c, 204d, 204e
Is emitted, and the signal light is projected as shown in FIG.

【0080】また、マクロモード時は、信号光量が大き
過ぎると積分制御の複雑さを招き、かつ近接撮影時はパ
ララクスが発生する等の理由により信号光投射角は広角
であることが望ましいために、セルフタイマ表示用の上
記セルフLED206を発光させて、図10(A)に示
すように撮影画面211全域に信号光を投射する。
Also, in the macro mode, if the signal light quantity is too large, the integration control becomes complicated, and it is desirable that the signal light projection angle be a wide angle because of the occurrence of parallax in close-up photography. Then, the self LED 206 for displaying the self-timer is caused to emit light, and a signal light is projected on the entire photographing screen 211 as shown in FIG.

【0081】一方、風景モード時は、撮影シーンが遠景
であって信号光の投射による効果が得られないために、
何れの光源も発光させない。
On the other hand, in the landscape mode, since the photographing scene is a distant view and the effect of projecting the signal light cannot be obtained,
Neither light source emits light.

【0082】なお、上述では可視光の光源として、図9
に示すようなストロボ201を用いたが、その代わり
に、上記図2(A)や図2(B)に示したような可視光
LEDを用いた構成としても良い。また、スポットモー
ド時の光源を、この可視光光源により行うようにしても
良い。
In the above description, the visible light source is the one shown in FIG.
Although the strobe 201 as shown in FIG. 2 is used, a configuration using visible light LEDs as shown in FIGS. 2A and 2B may be used instead. Further, the light source in the spot mode may be performed by the visible light source.

【0083】さらに、図9に示すような複数の赤外LE
D204a,204b,204c,204d,204e
でなる赤外LEDアレイの代わりに、図2(B)に示す
ような遮光マスク122a,122bとパターンマスク
123を用いた構成により、図10(D)や図10
(E)に示すような投光範囲の切り換えを行うようにし
ても良い。
Further, a plurality of infrared LEs as shown in FIG.
D204a, 204b, 204c, 204d, 204e
10D and FIG. 10 by using a configuration using light-shielding masks 122a and 122b and a pattern mask 123 as shown in FIG.
The switching of the projection range as shown in FIG.

【0084】図10(D)は、例えばスポットモードに
おける、図9の赤外LEDアレイ204a,204b,
204c,204d,204eの代わりに、図2(B)
の遮光マスク122a,122bとパターンマスク12
3を用いた構成での撮影画面211内への投光範囲およ
びパターン215を示している。
FIG. 10D shows the infrared LED arrays 204a, 204b,
FIG. 2B instead of 204c, 204d, and 204e
Light-shielding masks 122a, 122b and pattern mask 12
3 shows a light projection range and a pattern 215 on the photographing screen 211 in a configuration using No. 3.

【0085】図10(E)は、例えばポートレートモー
ド、夜景モード、ストロボオフモードにおける、図9の
赤外LEDアレイ204a,204b,204c,20
4d,204eの代わりに、図2(B)の遮光マスク1
22a,122bとパターンマスク123を用いた構成
での撮影画面211内への投光範囲およびパターン21
6を示している。
FIG. 10E shows the infrared LED arrays 204a, 204b, 204c, and 20 of FIG. 9 in, for example, the portrait mode, the night scene mode, and the strobe off mode.
Instead of 4d and 204e, the light-shielding mask 1 shown in FIG.
Projection range and pattern 21 on photographing screen 211 in a configuration using pattern masks 22a and 122b
6 is shown.

【0086】また、図10(F)は、例えばマクロモー
ドにおける、上記セルフLED206による投射光にパ
ターンを付けた場合の、撮影画面211内への投光範囲
およびパターン217を示している。
FIG. 10F shows, for example, a projection range and a pattern 217 on the photographing screen 211 when a pattern is added to the projection light by the self LED 206 in the macro mode.

【0087】次に、このようなカメラの撮影モードに応
じた測距用信号光の切り換えを含む測距シーケンスにつ
いて、図11を参照して説明する。
Next, a distance measuring sequence including the switching of the distance measuring signal light according to the photographing mode of the camera will be described with reference to FIG.

【0088】この処理が開始されると、上記ステップS
101で説明したのと同様に、定常光積分用のモニタ領
域の設定を行う(S201)。
When this process is started, step S
In the same manner as described in 101, a monitor area for steady light integration is set (S201).

【0089】次に、カメラの撮影モードが風景モードで
あるか否かを判定する(S202)。ここで風景モード
である場合には、後述するステップS219に進み、一
方、風景モードでない場合には次のステップS203に
進む。
Next, it is determined whether or not the shooting mode of the camera is the landscape mode (S202). If the mode is the landscape mode, the process proceeds to step S219 described later. If the mode is not the landscape mode, the process proceeds to the next step S203.

【0090】そして、測光データが所定値よりも低輝度
であるか否かを判定する(S203)。ここで低輝度で
ある場合には次のステップS204に進み、一方、低輝
度でない場合には後述するステップS219に進む。な
お、この輝度判定は、後述するステップS220におけ
る積分時間等に基づいて行うようにしても良い。
Then, it is determined whether or not the photometry data has a luminance lower than a predetermined value (S203). Here, if the brightness is low, the process proceeds to the next step S204. If the brightness is not low, the process proceeds to a step S219 described later. This luminance determination may be performed based on the integration time in step S220 described later.

【0091】続いて、カメラの撮影モードがマクロモー
ドであるか否かを判定する(S204)。ここでマクロ
モードである場合には後述するステップS215に進
み、一方、マクロモードでない場合には続くステップS
205に進む。
Subsequently, it is determined whether the shooting mode of the camera is the macro mode (S204). If the mode is the macro mode, the process proceeds to step S215 described later. If the mode is not the macro mode, the process proceeds to step S215.
Proceed to 205.

【0092】次に、カメラの撮影モードがスポットモー
ドであるか否かを判定する(S205)。ここでスポッ
トモードである場合には後述するステップS216に進
み、一方、スポットモードでない場合には続くステップ
S206に進む。
Next, it is determined whether or not the shooting mode of the camera is the spot mode (S205). If the mode is the spot mode, the process proceeds to step S216 described later. If the mode is not the spot mode, the process proceeds to step S206.

【0093】カメラの撮影モードがポートレートモード
であるか否かを判定する(S206)。ここでポートレ
ートモードである場合には後述するステップS217に
進み、一方、ポートレートモードでない場合には続くス
テップS207に進む。
It is determined whether the shooting mode of the camera is the portrait mode (S206). If the mode is the portrait mode, the process proceeds to step S217 described below. If the mode is not the portrait mode, the process proceeds to step S207.

【0094】カメラの撮影モードが夜景モードであるか
否かを判定する(S207)。ここで夜景モードである
場合には後述するステップS217に進み、一方、夜景
モードでない場合には続くステップS208に進む。
It is determined whether the shooting mode of the camera is the night scene mode (S207). If the mode is the night view mode, the process proceeds to step S217 described below. If the mode is not the night view mode, the process proceeds to step S208.

【0095】カメラの撮影モードがストロボオフモード
であるか否かを判定する(S208)。ここでストロボ
オフモードである場合には後述するステップS217に
進み、一方、ストロボオフモードでない場合には続くス
テップS209に進む。
It is determined whether or not the photographing mode of the camera is the strobe off mode (S208). If the mode is the flash-off mode, the process proceeds to step S217 described later. If the mode is not the flash-off mode, the process proceeds to step S209.

【0096】そして、上記ストロボ201により信号光
を投射して、上記ステップS201で設定されたモニタ
領域で積分を行う(S209)。なお、このモニタ領域
は、上記ステップS201で設定される領域と異なる領
域に設定しても構わない。また、このときの積分の制御
は、後述するステップS220と同様である。
Then, signal light is projected by the strobe 201, and integration is performed in the monitor area set in the step S201 (S209). Note that the monitor area may be set to an area different from the area set in step S201. The control of integration at this time is the same as in step S220 described later.

【0097】次に、各積分による被写体像信号を上記A
/D変換回路104でA/D変換して、CPU105内
のRAMにセンサデータとして読み込む(S210)。
Next, the subject image signal obtained by each integration is converted into the above A
A / D conversion is performed by the / D conversion circuit 104, and the data is read into the RAM in the CPU 105 as sensor data (S210).

【0098】その後、測距データを演算するための所定
の演算領域の設定を行う(S211)。この演算領域
は、スポットモード時以外は、通常、例えば図3(B)
に示す低輝度部検出用ブロック133,134,135
のように複数の領域を設定する。また、スポットモード
時は、演算領域として、撮影画面中央部のブロック13
5のみを設定する。
Thereafter, a predetermined calculation area for calculating the distance measurement data is set (S211). This calculation area is usually, for example, as shown in FIG.
The low-luminance portion detection blocks 133, 134, and 135 shown in FIG.
Set multiple areas as shown. In the spot mode, a block 13 at the center of the shooting screen is used as a calculation area.
Set 5 only.

【0099】上記ステップS211で設定された演算領
域毎に所定の相関演算や補間演算等を行って、一対の受
光レンズにより一対のセンサ上に結像された一対の被写
体像のずれ量(位相差)を求め、公知の三角測距の原理
によって測距データを演算して求める(S212)。
A predetermined correlation operation, interpolation operation, or the like is performed for each operation region set in step S211, and the amount of shift (phase difference) of the pair of subject images formed on the pair of sensors by the pair of light receiving lenses. ) Is calculated, and the distance measurement data is calculated according to the known principle of triangulation (S212).

【0100】このステップS212での演算の結果に基
づいて、上記ステップS211で設定された全ての領域
で測距不能であったか否かを判断する(S213)。こ
こで測距不能である場合には続くステップS214に進
み、一方、測距不能でない場合には後述するステップS
227に進む。
Based on the result of the calculation in step S212, it is determined whether or not distance measurement was impossible in all the areas set in step S211 (S213). If the distance cannot be measured, the process proceeds to step S214. If the distance cannot be measured, the process proceeds to step S214 described later.
Proceed to 227.

【0101】上記S213において測距不能である場合
には、通常の一対の被写体像のずれ量により測距を行う
三角測距ができないために、被写体に投射した信号光の
反射光量を用いた測距(光量AF)を行う(S21
4)。ここで測距データを算出する際には、被写体距離
および被写体反射率が同じならば同じ測距データとなる
ように、信号光を投射した光源に応じてデータを補正す
る。
If the distance cannot be measured in step S213, triangulation cannot be performed to measure the distance based on the shift amount of the normal pair of subject images. Distance (light amount AF) is performed (S21)
4). Here, when calculating the distance measurement data, the data is corrected according to the light source that has projected the signal light so that the same distance measurement data is obtained if the object distance and the object reflectance are the same.

【0102】上記ステップS204においてマクロモー
ドである場合には、上記セルフLED206により信号
光を投射して、上記ステップS201で設定されたモニ
タ領域で積分を行う(S215)。このモニタ領域は、
該ステップS201で設定される領域と異なる領域に設
定しても良い。また、このときの積分の制御は、後述す
るステップS220と同様である。
If the mode is the macro mode in step S204, signal light is projected by the self-LED 206, and integration is performed in the monitor area set in step S201 (S215). This monitor area
The area may be set to an area different from the area set in step S201. The control of integration at this time is the same as in step S220 described later.

【0103】上記ステップS205においてスポットモ
ードである場合には、上記赤外LED204cより信号
光を投射して、モニタ領域を撮影画面中央部に設定し積
分を行う(S216)。このときの積分の制御は、後述
するステップS220と同様である。
In the case of the spot mode in the step S205, the signal light is projected from the infrared LED 204c, the monitor area is set at the center of the photographing screen, and the integration is performed (S216). The control of integration at this time is the same as step S220 described later.

【0104】上記ステップS206においてポートレー
トモードである場合、ステップS207において夜景モ
ードである場合、ステップS208においてストロボオ
フモードである場合には、上記赤外LED204a,2
04b,204c,204d,204eより信号光を投
射して、上記ステップS201で設定されたモニタ領域
で積分を行う(S217)。このモニタ領域は、該ステ
ップS201で設定される領域と異なる領域に設定して
も良い。また、このときの積分の制御は、後述するステ
ップS220と同様である。
When the portrait mode is set in step S206, the night scene mode is set in step S207, and the strobe off mode is set in step S208, the infrared LEDs 204a and 2 are set.
Signal light is projected from the elements 04b, 204c, 204d, and 204e, and integration is performed in the monitor area set in step S201 (S217). This monitor area may be set to an area different from the area set in step S201. The control of integration at this time is the same as in step S220 described later.

【0105】そして、上記ステップS216またはステ
ップS217での積分において、信号光の被写体からの
反射光量が所定量より小さかったかどうかを積分速度や
積分時間等に基づいて判断する(S218)。ここで小
さい場合には上記ステップS209に進み、一方、大き
い場合には上記ステップS210に進む。
Then, in the integration in step S216 or S217, it is determined whether or not the amount of signal light reflected from the subject is smaller than a predetermined amount based on the integration speed, integration time, and the like (S218). If the value is smaller, the process proceeds to step S209. If the value is larger, the process proceeds to step S210.

【0106】また、上記ステップS202において風景
モードである場合、上記ステップS203において低輝
度である場合には、測光データやプリ積分結果等に基づ
いて、定常光積分のセンサ感度の設定を行う(S21
9)。
If the scene mode is set in step S202, and if the brightness is low in step S203, the sensor sensitivity for steady light integration is set based on photometric data, pre-integration results, and the like (S21).
9).

【0107】そして、上記ステップS201で設定され
たモニタ領域について、上記ステップS219で設定さ
れたセンサ感度により、定常光積分を行う(S22
0)。このときの積分の制御は、上記モニタデータが所
定値に達したかどうかを検出することにより行うか、あ
るいは積分開始から所定時間が経過したかどうかにより
判断することで行うようになっている。
Then, for the monitor area set in step S201, steady light integration is performed based on the sensor sensitivity set in step S219 (S22).
0). The control of the integration at this time is performed by detecting whether the monitor data has reached a predetermined value or by determining whether a predetermined time has elapsed from the start of the integration.

【0108】上記ステップS220での定常光積分によ
る被写体像信号をA/D変換回路104でA/D変換し
て(S221)、CPU105内のRAMにセンサデー
タとして読み込む。
The A / D conversion circuit 104 performs A / D conversion of the subject image signal obtained by the steady light integration in step S220 (S221), and reads the data as sensor data into the RAM in the CPU 105.

【0109】その後、測距データを演算するための所定
の演算領域の設定を行う(S222)。この演算領域
は、通常は、例えば上記図3(B)に示したような低輝
度部検出用ブロック133,134,135のように、
複数の領域を設定する。
Thereafter, a predetermined calculation area for calculating the distance measurement data is set (S222). This calculation area is usually, for example, like the low-luminance part detection blocks 133, 134, and 135 shown in FIG.
Set multiple areas.

【0110】このステップS222で設定された演算領
域毎に所定の相関演算や補間演算等を行って、一対の受
光レンズにより一対のセンサ上に結像された一対の被写
体像のずれ量(位相差)を求め、公知の三角測距の原理
によって測距データを演算して求める(S223)。
A predetermined correlation operation, interpolation operation, or the like is performed for each calculation region set in step S222, and a shift amount (phase difference) of a pair of subject images formed on a pair of sensors by a pair of light receiving lenses. ) Is calculated, and the distance measurement data is calculated according to the known principle of triangulation (S223).

【0111】このステップS223での演算の結果に基
づいて、上記ステップS222で設定された全ての領域
で測距不能であったか否かを判断する(S224)。こ
こで測距不能である場合には続くステップS225に進
み、一方、測距不能でない場合には後述するステップS
227に進む。
On the basis of the result of the calculation in step S223, it is determined whether or not distance measurement was impossible in all the areas set in step S222 (S224). If the distance cannot be measured, the process proceeds to step S225. If the distance cannot be measured, the process proceeds to step S225 described later.
Proceed to 227.

【0112】そして、カメラの撮影モードが風景モード
であるか否かを判定する(S225)。ここで風景モー
ドである場合には続くステップS226に進み、一方、
風景モードでない場合には上記ステップS204に進
む。
Then, it is determined whether or not the shooting mode of the camera is the landscape mode (S225). Here, in the case of the landscape mode, the process proceeds to the subsequent step S226.
If the mode is not the landscape mode, the process proceeds to step S204.

【0113】上記ステップS225において風景モード
である場合には、測距データに無限データを設定する
(S226)。
If the mode is the landscape mode in step S225, infinite data is set as the distance measurement data (S226).

【0114】上記ステップS213またはステップS2
24において測距不能であると判断された場合には、上
記ステップS212、ステップS223で求めた測距デ
ータの中から、最至近選択等により撮影に使用する測距
データを選択する(S227)。
The above step S213 or step S2
If it is determined in step S24 that distance measurement cannot be performed, distance measurement data to be used for photographing is selected from the distance measurement data obtained in steps S212 and S223 by closest selection or the like (S227).

【0115】こうして、上記ステップS214、S22
6、S227の何れかが終わったところで、この処理を
終了する。
Thus, the above steps S214 and S22
6. When any one of S227 is completed, this processing ends.

【0116】なお、この第2の実施形態においても、測
距装置を、後述する図18(A)や図18(B)に示す
ような定常光除去回路408を有する構成としても良い
ことは、上述した第1の実施形態と同様である。
It should be noted that also in the second embodiment, the distance measuring device may be configured to have a stationary light removing circuit 408 as shown in FIGS. 18A and 18B described later. This is the same as the first embodiment described above.

【0117】このような第2の実施形態によれば、上述
した第1の実施形態とほぼ同様の効果を奏するととも
に、撮影モードに応じて最適な投光を行うことができ、
撮影時の被写体やカメラ状態に影響を及ぼすことなく、
高精度な測距を行うことが可能となる。
According to the second embodiment, substantially the same effects as those of the first embodiment can be obtained, and optimum light emission can be performed according to the photographing mode.
Without affecting the subject or camera condition at the time of shooting,
High-precision distance measurement can be performed.

【0118】図12から図17は本発明の第3の実施形
態を示したものであり、図12は測距装置の投光手段の
構成を示すブロック図、図13はラインセンサを用いて
構成した測距装置の例を示す斜視図、図14はパターン
マスクに印刷されたパターン例を示す図、図15はパタ
ーンマスクによる測距用の信号光の撮影画面内への投光
パターンを示す図、図16はカメラ姿勢検出手段の構成
例を示すブロック図、図17は測距装置の測距シーケン
スを示すフローチャートである。
FIGS. 12 to 17 show a third embodiment of the present invention. FIG. 12 is a block diagram showing a configuration of a light projecting means of a distance measuring apparatus, and FIG. 13 is a configuration using a line sensor. FIG. 14 is a diagram showing an example of a pattern printed on a pattern mask, and FIG. 15 is a diagram showing a projection pattern of signal light for distance measurement by a pattern mask onto a shooting screen. FIG. 16 is a block diagram showing a configuration example of the camera posture detecting means, and FIG. 17 is a flowchart showing a distance measuring sequence of the distance measuring device.

【0119】この第3の実施形態において、上述の第
1,第2の実施形態と同様である部分については説明を
省略し、主として異なる点についてのみ説明する。
In the third embodiment, a description of the same parts as those in the first and second embodiments will be omitted, and only different points will be mainly described.

【0120】この第3の実施形態は、上記図1(B)に
示したようなエリアセンサ107a,107bを用いた
構成の測距装置において、投光手段106を図12に示
すように構成し、すなわち、カメラ姿勢検出手段306
を設けて、撮影時のカメラの姿勢が縦であるか横である
かを検出して、検出されたカメラの姿勢に応じて、測距
用の信号光の投光パターンを切り換えるようにしたもの
である。
In the third embodiment, in the distance measuring apparatus having the configuration using the area sensors 107a and 107b as shown in FIG. 1B, the light projecting means 106 is configured as shown in FIG. That is, the camera posture detecting means 306
That detects whether the camera is vertical or horizontal at the time of shooting, and switches the projection pattern of the signal light for distance measurement according to the detected camera attitude. It is.

【0121】なお、受光素子としてラインセンサを用い
て測距装置を構成することも可能であるが、この場合に
は、縦横の2方向の測距が可能であるものを用いる必要
がある。
It is also possible to configure a distance measuring device using a line sensor as the light receiving element. In this case, however, it is necessary to use a device capable of measuring distance in two directions, vertical and horizontal.

【0122】こうした受光素子の例としては、図13に
示すように、結像された被写体像をその光強度に応じた
電気信号に光電変換するものであり、互いに略直交する
十文字方向となるように配列されたラインセンサ312
a,312b,312c,312dと、これらのライン
センサ312a,312b,312c,312d上に被
写体像をそれぞれ結像させるための受光レンズ311
a,311b,311c,311dと、を有して構成し
たものが挙げられる。
As an example of such a light receiving element, as shown in FIG. 13, a formed image of a subject is photoelectrically converted into an electric signal corresponding to the light intensity thereof. Line sensors 312 arranged in
a, 312b, 312c, 312d, and a light receiving lens 311 for forming a subject image on each of the line sensors 312a, 312b, 312c, 312d.
a, 311b, 311c, and 311d.

【0123】次に、この第3の実施形態の測距装置の投
光手段は、図12に示すように、上記CPU105から
の発光要求に基づき後述するLED303を駆動するた
めのLED駆動回路304と、このLED駆動回路30
4により駆動制御されて測距用の信号光を発生させるL
ED303と、カメラの姿勢が横位置である場合に、こ
のLED303から発光された信号光の通過範囲を一部
制限することにより測距用の信号光の投光パターンを規
定するものであり、印刷等を用いて形成されたパターン
マスク302aと、カメラの姿勢が縦位置である場合
に、上記LED303から発光された信号光の通過範囲
を一部制限することにより測距用の信号光の投光パター
ンを規定するものであり、印刷等を用いて形成されたパ
ターンマスク302bと、上記パターンマスク302a
またはパターンマスク302bを通過した測距用のパタ
ーン信号光を被写体に投射するための投光レンズ301
と、カメラの姿勢が縦であるか横であるかを検出してC
PU105に出力するカメラ姿勢検出手段306と、こ
のカメラ姿勢検出手段306により検出されたカメラの
姿勢に応じて上記パターンマスク302a,302bを
移動させて投光パターンを切り換えるパターンマスク駆
動回路305と、を有して構成されている。
Next, as shown in FIG. 12, the light projecting means of the distance measuring apparatus of the third embodiment includes an LED driving circuit 304 for driving an LED 303 described later based on a light emission request from the CPU 105. , This LED drive circuit 30
L that is driven and controlled by the control unit 4 to generate signal light for distance measurement
When the camera is in a horizontal position, the ED 303 defines a projection pattern of signal light for distance measurement by partially restricting a transmission range of signal light emitted from the LED 303. When the posture of the pattern mask 302a and the camera is in the vertical position, the transmission range of the signal light emitted from the LED 303 is partially restricted to project the signal light for distance measurement. The pattern mask 302b defines a pattern and is formed by printing or the like.
Alternatively, a light projecting lens 301 for projecting a pattern signal light for distance measurement that has passed through a pattern mask 302b to a subject.
And whether the posture of the camera is vertical or horizontal,
A camera posture detecting means 306 for outputting to the PU 105, and a pattern mask driving circuit 305 for moving the pattern masks 302a and 302b in accordance with the posture of the camera detected by the camera posture detecting means 306 to switch the light projection pattern. It is configured to have.

【0124】一般的に、被写体のコントラストの境界
は、柱や窓枠等のように地面に対して垂直方向に存在す
る確率が高い。従って、撮影時のカメラ姿勢が縦である
か横であるかによらず、撮影画面内の垂直方向にコント
ラストのエッジのある投光パターンを投射すると良い。
Generally, there is a high probability that the boundary of the contrast of the subject exists in a direction perpendicular to the ground, such as a pillar or a window frame. Therefore, regardless of whether the camera attitude at the time of shooting is vertical or horizontal, it is preferable to project a light projection pattern having a contrast edge in the vertical direction in the shooting screen.

【0125】このように構成したパターンマスク302
a,302bの例を、図14を参照して説明する。
The pattern mask 302 thus configured
Examples of a and 302b will be described with reference to FIG.

【0126】一方のパターンマスク302aは、上述し
たように、カメラの姿勢が横位置の場合の測距用の信号
光の投光パターンが印刷されたものであり、光を透過さ
せる複数の縦スリットが構成されている。
As described above, the pattern mask 302a is formed by printing the projection pattern of the signal light for distance measurement when the camera is in the horizontal position, and includes a plurality of vertical slits for transmitting the light. Is configured.

【0127】他方のパターンマスク302bは、カメラ
の姿勢が縦位置の場合の測距用の信号光の投光パターン
が印刷されたものであり、光を透過させる複数の横スリ
ットが構成されている。
The other pattern mask 302b is formed by printing a projection pattern of signal light for distance measurement when the camera is in a vertical position, and has a plurality of horizontal slits for transmitting light. .

【0128】このような2種類のパターンを有するパタ
ーンマスク302a,302bを、上記カメラ姿勢検出
手段306により検出されたカメラの縦横に応じて、上
記パターンマスク駆動回路305により移動させて、投
光パターンの切り換えを行う。
The pattern masks 302a and 302b having such two types of patterns are moved by the pattern mask drive circuit 305 in accordance with the vertical and horizontal directions of the camera detected by the camera attitude detecting means 306, and the light projection patterns Is switched.

【0129】これにより、カメラの姿勢が横である場合
には、パターンマスク302aを用いて、図15(A)
に示すような投光パターン322aを撮影画面321内
に投射し、一方、カメラの姿勢が縦である場合には、パ
ターンマスク302bを用いて、図15(B)に示すよ
うな投光パターン322bを撮影画面321内(図は横
位置の状態で示している)に投射する。
Thus, when the camera is in the horizontal position, the pattern mask 302a is used to
15B is projected onto the photographing screen 321. On the other hand, when the posture of the camera is vertical, the light projection pattern 322b as shown in FIG. Is projected in the photographing screen 321 (the figure is shown in a horizontal position).

【0130】また、一対の受光レンズにより一対のセン
サ上に結像された一対の被写体像のずれ量(位相差)を
求める相関演算のデータのシフト方向も、投光パターン
の切り換えに合せてカメラ姿勢の縦横に応じて切り換え
る。
The direction in which the data of the correlation calculation for obtaining the shift amount (phase difference) between the pair of subject images formed on the pair of sensors by the pair of light receiving lenses is also adjusted in accordance with the switching of the projection pattern. It is switched according to the orientation of the posture.

【0131】なお、上述では2種類のパターンマスク3
02a,302bを用いて投射光パターンを切り換える
構成としたが、これに限らず、例えば透過型液晶などを
用いて、その表示パターン、つまり透光部分と遮光部分
とのパターンを電気的に切り換えることにより、投光パ
ターンを切り換えるように構成しても良い。
In the above description, two types of pattern masks 3 are used.
Although the configuration is such that the projection light pattern is switched using 02a and 302b, the present invention is not limited to this. For example, the display pattern, that is, the pattern between the light-transmitting portion and the light-shielding portion, is electrically switched using a transmissive liquid crystal. , The light projection pattern may be switched.

【0132】さらに、マスクによるパターン投光ではな
く、縦横の2方向に配列したLEDアレイを用いて、発
光させる方向を切り換えるようにしても良い。
Further, instead of pattern light projection using a mask, the direction in which light is emitted may be switched using an LED array arranged in two directions, vertical and horizontal.

【0133】また、上記カメラ姿勢検出手段306は、
例えば図16に示すように構成されている。
Further, the camera posture detecting means 306
For example, it is configured as shown in FIG.

【0134】このカメラ姿勢検出手段306は、カメラ
の姿勢に応じて出力が切り換わる水銀スイッチ331を
有している。この水銀スイッチ331は、例えばT字形
状に形成したガラス管の内部に水銀332を封じ込めて
なり、T字形状をなすガラス管の3つの端部にはそれぞ
れ対になった端子が取り付けられている。このような構
成において、カメラの姿勢が変化すると、内部に封じ込
めた水銀332は重力によって移動し、上記3対の端子
の内の最も低位置となる端子に接触する位置となる。こ
れにより、対になった端子が導通する。
The camera posture detecting means 306 has a mercury switch 331 whose output switches according to the posture of the camera. In this mercury switch 331, for example, mercury 332 is sealed in a glass tube formed in a T shape, and a pair of terminals is attached to each of three ends of the glass tube having a T shape. . In such a configuration, when the posture of the camera changes, the mercury 332 contained therein moves by gravity and comes to a position in contact with the lowest terminal of the three pairs of terminals. As a result, the paired terminals conduct.

【0135】縦横検出回路333は、この水銀スイッチ
331に接続されており、上記3つの端子対の内のどの
端子対が導通しているかを検出することにより、重力が
作用している方向、つまり下方向を検出することができ
て、カメラの姿勢検出が可能となる。
The vertical / horizontal detection circuit 333 is connected to the mercury switch 331, and detects which of the three terminal pairs is conducting, thereby detecting the direction in which gravity acts, that is, The downward direction can be detected, and the posture of the camera can be detected.

【0136】この縦横検出回路333により検出された
カメラの姿勢は、上記CPU105に出力される。
The attitude of the camera detected by the vertical / horizontal detection circuit 333 is output to the CPU 105.

【0137】なお、この図16に示したカメラ姿勢検出
手段306の構成は、一例を示したものであり、もちろ
んこれに限らず、他の構成の検出装置を用いても良い。
The structure of the camera posture detecting means 306 shown in FIG. 16 is an example, and is not limited to this, and a detecting device having another structure may be used.

【0138】次に、図17を参照して、測距装置の測距
シーケンスについて説明する。
Next, a distance measuring sequence of the distance measuring apparatus will be described with reference to FIG.

【0139】動作を開始すると、まず、測光データが所
定値よりも低輝度であるか否かを判定する(S30
1)。ここで低輝度である場合には後述するステップS
309に進み、一方、低輝度でない場合には次のステッ
プS302に進む。なお、ここで低輝度であるか否かを
判定する代わりに、後述するステップS304での積分
時間等に基づいて輝度判定を行うようにしても良い。
When the operation is started, first, it is determined whether or not the photometric data has a luminance lower than a predetermined value (S30).
1). If the brightness is low here, step S described later
The process proceeds to step S309, and if not, the process proceeds to the next step S302. Here, instead of determining whether or not the luminance is low, the luminance may be determined based on the integration time in step S304 described later.

【0140】続いて、上記ステップS101で説明した
のと同様に、定常光積分用のモニタ領域の設定を行う
(S302)。
Subsequently, a monitor area for integration of the steady light is set in the same manner as described in step S101 (S302).

【0141】そして、測光データやプリ積分結果等に基
づいて、定常光積分のセンサ感度の設定を行う(S30
3)。
Then, based on the photometric data, the pre-integration result, and the like, the sensor sensitivity for the steady light integration is set (S30).
3).

【0142】上記ステップS302で設定されたモニタ
領域について、上記ステップS303で設定されたセン
サ感度により、定常光積分を行う(S304)。このと
きの積分の制御は、上記モニタデータが所定値に達した
かどうかを検出することにより行うか、あるいは積分開
始から所定時間が経過したかどうかにより判断すること
で行うようになっている。
For the monitor area set in step S302, steady light integration is performed based on the sensor sensitivity set in step S303 (S304). The control of the integration at this time is performed by detecting whether the monitor data has reached a predetermined value or by determining whether a predetermined time has elapsed from the start of the integration.

【0143】上記ステップS304での定常光積分によ
る被写体像信号をA/D変換回路104でA/D変換し
て、CPU105内のRAMにセンサデータとして読み
込む(S305)。
The A / D conversion circuit 104 performs A / D conversion on the subject image signal obtained by the steady light integration in step S304, and reads the data as sensor data into the RAM in the CPU 105 (S305).

【0144】そして、測距データを演算するための所定
の演算領域の設定を行う(S306)。この演算領域
は、通常は、例えば上記図3(B)に示したような低輝
度部検出用ブロック133,134,135のように、
複数の領域を設定する。
Then, a predetermined calculation area for calculating the distance measurement data is set (S306). This calculation area is usually, for example, like the low-luminance part detection blocks 133, 134, and 135 shown in FIG.
Set multiple areas.

【0145】上記ステップS306で設定された演算領
域毎に所定の相関演算や補間演算等を行って、一対の受
光レンズにより一対のセンサ上に結像された一対の被写
体像のずれ量(位相差)を求め、公知の三角測距の原理
によって測距データを演算して求める(S307)。
A predetermined correlation operation, interpolation operation, or the like is performed for each of the calculation regions set in step S306, and a shift amount (phase difference) of a pair of subject images formed on a pair of sensors by a pair of light receiving lenses. ) Is calculated, and the distance measurement data is calculated according to the known principle of triangulation (S307).

【0146】このステップS307での演算の結果に基
づいて、上記ステップS306で設定された全ての領域
で測距不能であったか否かを判断する(S308)。こ
こで測距不能である場合にはステップS309に進み、
一方、測距不能でない場合にはステップS316に進
む。
On the basis of the result of the calculation in step S307, it is determined whether or not distance measurement was impossible in all the areas set in step S306 (S308). If the distance cannot be measured, the process proceeds to step S309,
On the other hand, if the distance measurement is not possible, the process proceeds to step S316.

【0147】続いて、カメラ姿勢検出手段306の出力
によりカメラ姿勢が縦と横の何れであるかを判断する
(S309)。ここでカメラの姿勢が横である場合には
続くステップS310に進み、一方、縦である場合には
後述するステップS317に進む。
Subsequently, it is determined from the output of the camera posture detecting means 306 whether the camera posture is vertical or horizontal (S309). Here, if the posture of the camera is horizontal, the process proceeds to the subsequent step S310, while if it is vertical, the process proceeds to step S317 described later.

【0148】上記ステップS309においてカメラの姿
勢が横であると判断された場合には、横位置用モニタ領
域の設定を行う(S310)。ここでは、カメラが横位
置である場合の撮影画面の上下部分を除き、横位置用の
投光パターンの並び方向に設定する。
If it is determined in step S309 that the camera is in the horizontal position, a monitor area for horizontal position is set (S310). In this case, the direction is set to the direction in which the light projection patterns for the horizontal position are arranged except for the upper and lower portions of the shooting screen when the camera is in the horizontal position.

【0149】そして、上記パターンマスク駆動回路30
5により、横位置用のパターンマスク302aをセット
する(S311)。
Then, the pattern mask drive circuit 30
5, the pattern mask 302a for the horizontal position is set (S311).

【0150】一方、上記ステップS309においてカメ
ラの姿勢が縦であると判断された場合には、縦位置用モ
ニタ領域の設定を行う(S317)。ここでは、カメラ
が縦位置である場合の撮影画面の上下部分を除き、縦位
置用の投光パターンの並び方向に設定する。
On the other hand, if it is determined in step S309 that the camera is in the vertical position, the monitor area for the vertical position is set (S317). Here, the vertical direction of the projection pattern is set except for the upper and lower portions of the shooting screen when the camera is in the vertical position.

【0151】そして、上記パターンマスク駆動回路30
5により、縦位置用のパターンマスク302bをセット
する(S318)。
Then, the pattern mask driving circuit 30
5, the pattern mask 302b for the vertical position is set (S318).

【0152】上記ステップS311またはステップS3
18においてパターンマスクがセットされたら、上記L
ED303を発光させてパターンマスク302aまたは
302bのパターンを投光し、上記ステップS310で
設定されたモニタ領域で積分を行う(S312)。な
お、このときの積分の制御は、上述したステップS30
4と同様である。
Step S311 or step S3
When the pattern mask is set at 18, the above L
The ED 303 emits light to project the pattern of the pattern mask 302a or 302b, and performs integration in the monitor area set in step S310 (S312). Note that the integration control at this time is performed in step S30 described above.
Same as 4.

【0153】このステップS312でのパターン投光積
分による被写体像信号を、上記A/D変換回路104に
よりA/D変換して、CPU105内のRAMにセンサ
データとして読み込む(S313)。
A / D conversion is performed by the A / D conversion circuit 104 on the subject image signal obtained by the pattern light integration in step S312, and is read into the RAM in the CPU 105 as sensor data (S313).

【0154】そして、測距データを演算するための所定
の演算領域の設定を行う(S314)。この演算領域
は、通常は、例えば上記図3(B)に示したような低輝
度部検出用ブロック133,134,135のように、
複数の領域を設定する。
Then, a predetermined calculation area for calculating the distance measurement data is set (S314). This calculation area is usually, for example, like the low-luminance part detection blocks 133, 134, and 135 shown in FIG.
Set multiple areas.

【0155】上記ステップS314で設定された演算領
域毎に所定の相関演算や補間演算等を行って、一対の受
光レンズにより一対のセンサ上に結像された一対の被写
体像のずれ量(位相差)を求め、公知の三角測距の原理
によって測距データを演算して求める(S315)。
A predetermined correlation operation, interpolation operation, or the like is performed for each operation area set in step S314, and the shift amount (phase difference) of the pair of subject images formed on the pair of sensors by the pair of light receiving lenses. ) Is calculated, and distance measurement data is calculated by a known triangulation principle (S315).

【0156】上記ステップS307、ステップS315
で求めた測距データの中から、最至近選択等により撮影
に使用する測距データを選択して(S316)、この処
理を終了する。
Steps S307 and S315
From the distance measurement data obtained in step (3), the distance measurement data to be used for photographing is selected by closest selection or the like (S316), and this processing ends.

【0157】なお、この第3の実施形態の測距装置の構
成として、後述する図18(B)に示すように、信号光
の被写体からの反射光だけを積分するための定常光除去
回路408を有するものを用いても良い。このような構
成の測距装置を用いることにより、主要被写体の背景の
コントラスト状態や光源による影響を除去することがで
きるために、より高精度の測距を行うことが可能とな
る。
As a configuration of the distance measuring apparatus of the third embodiment, as shown in FIG. 18B described later, a stationary light removing circuit 408 for integrating only the reflected light of the signal light from the subject. May be used. By using the distance measuring device having such a configuration, the influence of the contrast state of the background of the main subject and the influence of the light source can be removed, so that more accurate distance measurement can be performed.

【0158】このような第3の実施形態によれば、上述
した第1,第2の実施形態とほぼ同様の効果を奏すると
ともに、カメラの姿勢に応じて測距用の信号光の投光パ
ターンを切り換えるようにしたために、カメラの姿勢に
よらず高精度な測距を行うことができる。
According to the third embodiment, almost the same effects as those of the first and second embodiments can be obtained, and the projection pattern of the signal light for distance measurement according to the attitude of the camera. , High-accuracy distance measurement can be performed regardless of the attitude of the camera.

【0159】図18から図22は本発明の第4の実施形
態を示したものであり、図18は受光素子として(A)
ラインセンサ,(B)エリアセンサを用いた測距装置の
構成を示すブロック図、図19は測距装置の投光手段の
構成を示す図、図20は撮影シーンとこの撮影シーンに
係る被写体像データの例を示す図、図21は測距装置の
測距シーケンスを示すフローチャート、図22は主要被
写体判定の処理を示すフローチャートである。
FIGS. 18 to 22 show a fourth embodiment of the present invention. FIG.
FIG. 19 is a block diagram showing a configuration of a distance measuring device using a line sensor and (B) an area sensor. FIG. 19 is a diagram showing a configuration of light projecting means of the distance measuring device. FIG. 20 is a photographing scene and a subject image relating to the photographing scene. FIG. 21 is a flowchart showing an example of data, FIG. 21 is a flowchart showing a distance measuring sequence of the distance measuring apparatus, and FIG. 22 is a flowchart showing processing of main subject determination.

【0160】この第4の実施形態において、上述の第1
から第3の実施形態と同様である部分については説明を
省略し、主として異なる点についてのみ説明する。
In the fourth embodiment, the first
Therefore, description of the same parts as those of the third embodiment will be omitted, and only different points will be mainly described.

【0161】この第4の実施形態は、図18(A)、図
18(B)に示すような、測距用の信号光の被写体から
の反射光だけを積分するための定常光除去回路408を
有する構成の測距装置および図19に示すような構成の
投光手段406において、プリ投光積分時の信号光の反
射光分布から反射光量の多い領域を検出して、検出され
た領域を主要被写体が存在する領域であると判断し、そ
の検出領域に信号光を投射して本投光積分を行うように
したものである。
In the fourth embodiment, as shown in FIGS. 18A and 18B, a stationary light removal circuit 408 for integrating only the reflected light of the signal light for distance measurement from a subject. In the distance measuring apparatus having the configuration shown in FIG. 19 and the light projecting means 406 having the configuration shown in FIG. 19, an area having a large amount of reflected light is detected from the reflected light distribution of the signal light at the time of pre-projection integration, and The main subject is determined to be in the area where the main subject exists, and signal light is projected onto the detection area to perform main light integration.

【0162】まず、図18(A)は、受光素子にライン
センサを用いた場合の測距装置の構成を示したものであ
る。
First, FIG. 18A shows the configuration of a distance measuring device when a line sensor is used as a light receiving element.

【0163】この測距装置は、被写体像を結像するため
の一対の受光レンズ401a,401bと、これらの受
光レンズ401a,401bにより各結像された被写体
像をその光強度に応じた電気信号に光電変換するライン
センサ402a,402bと、これらのラインセンサ4
02a,402bによる積分動作を制御するための積分
制御手段たる積分制御回路403と、上記ラインセンサ
402a,402bから出力される、被写体像を光電変
換したアナログ電気信号をデジタル電気信号に変換する
A/D変換回路404と、各種の制御信号を出力すると
ともに被写体距離演算を含む各種の演算を行なうCPU
105と、被写体に対して測距用の信号光を投射する投
光手段406と、測距用の信号光による被写体からの反
射光だけを積分するために、測距用の信号光を投射して
積分を行う際に定常光成分を除去する定常光除去回路4
08と、を有して構成されている。
This distance measuring device includes a pair of light receiving lenses 401a and 401b for forming a subject image, and converts the subject images formed by the light receiving lenses 401a and 401b into electric signals corresponding to the light intensity. Line sensors 402a and 402b for photoelectrically converting
An integration control circuit 403 as integration control means for controlling the integration operation by the first and second sensors 02a and 402b, and an A / A for converting an analog electric signal obtained by photoelectrically converting the subject image output from the line sensors 402a and 402b into a digital electric signal. A D conversion circuit 404 and a CPU that outputs various control signals and performs various calculations including subject distance calculation
105, light projecting means 406 for projecting the signal light for distance measurement to the object, and projecting the signal light for distance measurement in order to integrate only the reflected light from the object due to the signal light for distance measurement. Light removal circuit 4 for removing the steady light component when performing integration
08.

【0164】また、図18(B)は、受光素子にエリア
センサを用いた場合の測距装置の構成を示したものであ
る。
FIG. 18B shows the configuration of a distance measuring device in the case where an area sensor is used as a light receiving element.

【0165】この測距装置も上記図18(A)に示した
測距装置とほぼ同様に構成されているが、受光素子とし
てエリアセンサ407a,407bを用いている点が異
なっている。
This distance measuring apparatus is constructed in substantially the same manner as the distance measuring apparatus shown in FIG. 18A, except that area sensors 407a and 407b are used as light receiving elements.

【0166】また、図19は、上記投光手段406の構
成例を示したものである。
FIG. 19 shows an example of the structure of the light projecting means 406.

【0167】この投光手段は、撮影において露光をおこ
なうときの補助光源であり、通常時の測距用の信号光光
源としても用いられるストロボ411と、このストロボ
411の発光用コンデンサに充電を行い該ストロボ41
1の発光制御を行うストロボ制御回路412と、上記C
PU105からの発光要求に基づき後述するLED41
6を駆動するためのLED駆動回路417と、このLE
D駆動回路417により駆動制御されて測距用の信号光
を発生させるLED416と、このLED416から発
光された信号光の通過範囲を一部制限することにより測
距用の信号光の投光パターンを規定するものであり印刷
等を用いて形成されたパターンマスク415と、このパ
ターンマスク415の一部を移動可能に遮光すること
で、測距用のパターン信号光の投光範囲を切り換えるた
めの遮光マスク414a,414bと、上記CPU10
5の要求に応じてこれら遮光マスク414a,414b
の位置を制御する遮光マスク駆動回路418と、上記パ
ターンマスク415から発せられ上記遮光マスク414
a,414bにより遮光されない部分を通過した測距用
のパターン信号光を被写体に向けて投射する投光レンズ
413と、を有して構成されている。
The light projecting means is an auxiliary light source for performing exposure in photographing, and charges a strobe 411 which is also used as a signal light source for a normal distance measurement, and charges a light emitting capacitor of the strobe 411. The strobe 41
A strobe control circuit 412 for controlling the light emission of
An LED 41, which will be described later, based on a light emission request from the PU 105
LED driving circuit 417 for driving LED 6 and this LE
An LED 416 that is driven and controlled by a D drive circuit 417 to generate a signal light for distance measurement, and a light transmission pattern of the signal light for distance measurement by partially restricting a passing range of the signal light emitted from the LED 416. A pattern mask 415 formed using printing or the like, and a part of the pattern mask 415 are movably shielded from light, so that light shielding for switching the projection range of the pattern signal light for distance measurement is performed. The masks 414a and 414b and the CPU 10
5, the light-shielding masks 414a and 414b
And a light-shielding mask drive circuit 418 for controlling the position of the light-shielding mask 414 emitted from the pattern mask 415
a, and a light projecting lens 413 for projecting the distance-measuring pattern signal light, which has passed through the portion not shielded by the light emitting elements 414a and 414b, toward the subject.

【0168】なお、上記LED416は、可視光を発光
するものであって良いし、あるいは赤外光を発光するも
のであっても構わない。また、可視光を発光するLED
と赤外光を発光するLEDとの両方を設けて、カメラの
モード等の設定により適宜切り換えるようにしても良
い。
Note that the LED 416 may emit visible light or may emit infrared light. LED that emits visible light
And an LED that emits infrared light may be provided, and may be switched as appropriate by setting the mode of the camera.

【0169】また、上述では、図19に示したように遮
光マスク414a,414bおよびパターンマスク41
5を用いた構成を適用したが、その代わりに、上記図2
(A)に示したようなLEDアレイを用いた構成を適用
しても良い。
In the above description, the light-shielding masks 414a and 414b and the pattern mask 41 as shown in FIG.
5 was applied, but instead of FIG.
A configuration using an LED array as shown in FIG.

【0170】次に、このような構成の測距装置により、
例えば図20(A)に示すような撮影シーンの測距を行
う場合を考える。
Next, with the distance measuring device having such a configuration,
For example, consider a case where distance measurement of a shooting scene as shown in FIG.

【0171】上記遮光マスク414a,414bによる
遮光を行うことなく、パターンマスク415による図2
0(A)に示すような投光パターン421の測距用の信
号光を撮影画面内に投光してプリ投光積分を行うと、図
20(B)に示すような、人物からの反射光のみが積分
されたセンサデータ422が得られる。
The light shielding masks 414a and 414b are not used to perform light shielding, and the pattern mask 415 is used as shown in FIG.
When the signal light for distance measurement of the light projection pattern 421 as shown in FIG. 0A is projected into the shooting screen and pre-emission integration is performed, reflection from a person as shown in FIG. Sensor data 422 obtained by integrating only light is obtained.

【0172】そして、上記遮光マスク414a,414
bを移動させて、人物からの反射光が返ってくる領域の
みにパターンマスク415のパターンが投光されるよう
に配置する。これが本投光積分時のモニタ領域および演
算領域424となる。この領域424に対して信号光を
投射して本投光積分を行うことにより、図20(C)に
示すようなセンサデータ423が得られ、このセンサデ
ータ423に基づいて測距データの演算を行う。
The light shielding masks 414a, 414
b is moved so that the pattern of the pattern mask 415 is projected only in the area where the reflected light from the person returns. This is the monitor area and calculation area 424 during the main light emission integration. By projecting signal light onto this area 424 and performing main light integration, sensor data 423 as shown in FIG. 20C is obtained. Based on this sensor data 423, calculation of distance measurement data is performed. Do.

【0173】また、プリ投光積分で被写体からの反射信
号光量が少ない場合は、ストロボを用いて本投光積分を
行う。
If the amount of the reflected signal from the subject is small in the pre-projection integration, the main projection integration is performed using a strobe.

【0174】すなわち、プリ投光を行う光源として上記
ストロボ411を用いると、例えば図20(D)に示す
ようなセンサデータ425が得られる。このセンサデー
タ425より主要被写体検出を行っても良いし、カメラ
のモード等の設定により切り換えても良い。また、本投
光積分時のモニタ領域および演算領域は、符号426に
示すようになる。
That is, when the strobe light 411 is used as a light source for performing the pre-light emission, for example, sensor data 425 as shown in FIG. 20D is obtained. The main subject may be detected from the sensor data 425, or may be switched by setting the camera mode or the like. Further, the monitor area and the calculation area at the time of the actual light emission integration are as indicated by reference numeral 426.

【0175】次に、図21を参照して、測距装置の測距
シーケンスについて説明する。
Next, a distance measuring sequence of the distance measuring apparatus will be described with reference to FIG.

【0176】動作を開始すると、まず、測光データが所
定値よりも低輝度であるか否かを判定する(S40
1)。ここで低輝度である場合には後述するステップS
409に進み、一方、低輝度でない場合には次のステッ
プS402に進む。なお、ここで低輝度であるか否かを
判定する代わりに、後述するステップS404での積分
時間等に基づいて輝度判定を行うようにしても良い。
When the operation is started, first, it is determined whether or not the photometric data has a luminance lower than a predetermined value (S40).
1). If the brightness is low here, step S described later
The process advances to step S <b> 402, while if it is not low luminance, the process advances to the next step S <b> 402. Here, instead of determining whether or not the brightness is low, the brightness may be determined based on the integration time in step S404 described later.

【0177】続いて、上記ステップS101で説明した
のと同様に、定常光積分用のモニタ領域の設定を行う
(S402)。
Subsequently, the monitor area for the steady light integration is set in the same manner as described in step S101 (S402).

【0178】そして、測光データやプリ積分結果等に基
づいて、定常光積分のセンサ感度の設定を行う(S40
3)。
Then, the sensor sensitivity for the steady light integration is set based on the photometric data, the pre-integration result, and the like (S40).
3).

【0179】上記ステップS402で設定されたモニタ
領域について、上記ステップS403で設定されたセン
サ感度により、定常光積分を行う(S404)。このと
きの積分の制御は、上記モニタデータが所定値に達した
かどうかを検出することにより行うか、あるいは積分開
始から所定時間が経過したかどうかにより判断すること
で行うようになっている。
With respect to the monitor area set in step S402, steady light integration is performed based on the sensor sensitivity set in step S403 (S404). The control of the integration at this time is performed by detecting whether the monitor data has reached a predetermined value or by determining whether a predetermined time has elapsed from the start of the integration.

【0180】上記ステップS404での定常光積分によ
る被写体像信号をA/D変換回路404でA/D変換し
て、CPU105内のRAMにセンサデータとして読み
込む(S405)。
The A / D conversion circuit 404 performs A / D conversion of the subject image signal obtained by the steady light integration in step S404, and reads the sensor data into the RAM in the CPU 105 (S405).

【0181】その後、測距データを演算するための所定
の演算領域の設定を行う(S406)。この演算領域
は、通常は、例えば上記図3(B)に示したような低輝
度部検出用ブロック133,134,135のように、
複数の領域を設定する。
Thereafter, a predetermined calculation area for calculating the distance measurement data is set (S406). This calculation area is usually, for example, like the low-luminance part detection blocks 133, 134, and 135 shown in FIG.
Set multiple areas.

【0182】上記ステップS406で設定された演算領
域毎に所定の相関演算や補間演算等を行って、一対の受
光レンズにより一対のセンサ上に結像された一対の被写
体像のずれ量(位相差)を求めて、公知の三角測距の原
理によって測距データを演算して求める(S407)。
A predetermined correlation operation, interpolation operation, or the like is performed for each of the calculation regions set in step S406, and the shift amount (phase difference) of the pair of subject images formed on the pair of sensors by the pair of light receiving lenses. ) Is calculated, and the distance measurement data is calculated and calculated according to the known principle of triangulation (S407).

【0183】このステップS407での演算の結果に基
づいて、上記ステップS406で設定された全ての領域
で測距不能であったか否かを判断する(S408)。こ
こで測距不能である場合には続くステップS409に進
み、一方、測距不能でない場合には後述するステップS
421に進む。
Based on the result of the calculation in step S407, it is determined whether or not distance measurement was impossible in all the areas set in step S406 (S408). If the distance cannot be measured, the process proceeds to step S409. If the distance cannot be measured, the process proceeds to step S409.
Proceed to 421.

【0184】そして、プリ投光積分を行う(S40
9)。このときには、上記定常光除去回路408により
定常光成分を除去して、測距用信号光の被写体からの反
射光成分のみを積分する。この積分動作は、積分開始か
ら所定時間が経過したところで、積分量によらず終了す
る。
Then, pre-projection integration is performed (S40).
9). At this time, the stationary light component is removed by the stationary light removing circuit 408, and only the reflected light component of the distance measurement signal light from the subject is integrated. This integration operation ends when a predetermined time has elapsed from the start of integration, regardless of the integration amount.

【0185】上記ステップS409でのプリ投光積分に
よる被写体像信号をA/D変換回路404でA/D変換
して、CPU105内のRAMにセンサデータとして読
み込む(S410)。
A / D conversion is performed on the subject image signal by the pre-projection integration in step S409 by the A / D conversion circuit 404, and is read into the RAM in the CPU 105 as sensor data (S410).

【0186】その後、主要被写体判定を行う(S41
1)。ここでは、上記ステップS410でCPU105
に読み込んだセンサデータから、極小値のセンサナンバ
ーと、被写体からの反射信号光が最も大きいセンサデー
タ(極小値中の最小値)とを検出する。
Thereafter, the main subject is determined (S41).
1). Here, in step S410, the CPU 105
From the sensor data read into the sensor data, the sensor number of the minimum value and the sensor data (minimum value among the minimum values) with the largest reflected signal light from the subject are detected.

【0187】こうして検出した被写体からの反射信号光
が最も大きいセンサデータMINが、所定値よりも大き
いか否かを判定する(S412)。
It is determined whether or not the sensor data MIN with the largest reflected signal light from the subject detected as described above is larger than a predetermined value (S412).

【0188】ここでセンサデータMINが所定値よりも
大きい場合には、本投光積分(ストロボ投光積分)用の
モニタ領域を設定する(S422)。このときに設定す
るモニタ領域は、センサ全域でも良いし、撮影画面中央
部の領域でも良い。そして、このステップS422で設
定されたモニタ領域で本投光積分(ストロボ投光積分)
を行う(S423)。このときの積分の制御は、上述し
たステップS404と同様である。
If the sensor data MIN is larger than the predetermined value, a monitor area for main light emission integration (strobe light emission integration) is set (S422). The monitor area set at this time may be the whole area of the sensor or the area at the center of the shooting screen. Then, the main light emission integration (strobe light emission integration) is performed in the monitor area set in step S422.
Is performed (S423). The control of integration at this time is the same as in step S404 described above.

【0189】一方、上記ステップS412において、セ
ンサデータMINが所定値よりも小さい場合には、次
に、被写体からの反射信号光が最も大きいセンサデータ
MINが、所定値よりも小さいか否かを判定する(S4
13)。ここで小さい場合には後述するステップS41
8に進む。
On the other hand, if the sensor data MIN is smaller than the predetermined value in step S412, it is next determined whether or not the sensor data MIN having the largest reflected signal light from the subject is smaller than the predetermined value. Yes (S4
13). If it is smaller here, step S41 described later
Proceed to 8.

【0190】また、センサデータMINが所定値よりも
大きい場合には、上記ステップS411で検出した被写
体からの反射信号光が最も大きいセンサデータMINお
よび所定以下のセンサデータナンバーSDNで示される
極小データを含む領域に、本投光積分(パターン投光積
分)の投光領域を設定する(S414)。
If the sensor data MIN is larger than the predetermined value, the sensor data MIN having the largest reflected signal light from the subject detected in step S411 and the minimum data indicated by the sensor data number SDN equal to or smaller than the predetermined value are set. The projection area of the main projection integration (pattern projection integration) is set in the area including the area (S414).

【0191】そして、本投光積分(パターン投光積分)
用のモニタ領域の設定を行う(S415)。このときに
は、上記図20(C)の領域424に示すように、ステ
ップS409のプリ投光積分で被写体からの反射信号光
が最も大きかったセンサを含む領域に設定する。
Then, the main light emission integration (pattern light emission integration)
The monitor area is set (S415). At this time, as shown in the area 424 of FIG. 20C, the area is set to the area including the sensor in which the signal light reflected from the subject is the largest in the pre-projection integration in step S409.

【0192】上記ステップS414で設定された投光領
域と上記ステップS415で設定されたモニタ領域で本
投光積分(パターン投光積分)を行う(S416)。こ
のときの積分の制御は、上記ステップS404と同様で
ある。
Main light integration (pattern light integration) is performed in the light projection area set in step S414 and the monitor area set in step S415 (S416). The control of integration at this time is the same as in step S404.

【0193】このステップS416または上記ステップ
S423での本投光積分による被写体像信号をA/D変
換回路404でA/D変換して、CPU105内のRA
Mにセンサデータとして読み込む(S417)。このと
きに読み込むセンサデータは、全センサのデータでも良
いし、後述するステップS418で設定される演算領域
のセンサデータのみでも構わない。ただし、ストロボ投
光積分を行った場合は、全センサデータまたは撮影画面
中央部のセンサデータを読み込む。
A / D conversion is performed by the A / D conversion circuit 404 on the subject image signal obtained by the main light integration in step S 416 or step S 423, and the RA
It is read into M as sensor data (S417). The sensor data to be read at this time may be data of all the sensors, or may be only sensor data of the calculation area set in step S418 described later. However, when the flashlight integration is performed, all sensor data or sensor data at the center of the shooting screen is read.

【0194】続いて、測距データを演算するための所定
の演算領域の設定を行う(S418)。このときに設定
する領域は、上記ステップS415で設定したモニタ領
域424と同じでも良いし、あるいは上記ステップS4
14で設定した投光領域を含むような広めの領域や複数
の領域に設定したりしても構わない。ただし、ストロボ
投光積分を行った場合は、上記図3(B)に示した低輝
度部検出用ブロック133,134,135のような複
数の領域か、撮影画面中央部に設定する。
Subsequently, a predetermined calculation area for calculating the distance measurement data is set (S418). The area set at this time may be the same as the monitor area 424 set in step S415, or may be set in step S4.
It may be set to a wider area including the light projection area set in 14 or a plurality of areas. However, when the strobe light integration is performed, a plurality of areas such as the low luminance portion detection blocks 133, 134, and 135 shown in FIG.

【0195】上記ステップS418で設定された演算領
域毎に所定の相関演算や補間演算等を行って、一対の受
光レンズにより一対のセンサ上に結像された一対の被写
体像のずれ量(位相差)を求め、公知の三角測距の原理
によって測距データを演算して求める(S419)。
A predetermined correlation operation, interpolation operation, or the like is performed for each calculation region set in step S418, and the shift amount (phase difference) of the pair of subject images formed on the pair of sensors by the pair of light receiving lenses. ) Is calculated, and the distance measurement data is calculated according to the known principle of triangulation (S419).

【0196】このステップS419での演算の結果に基
づいて、上記ステップS418で設定された全ての領域
で測距不能であったか否かを判断する(S420)。
Based on the result of the calculation in step S419, it is determined whether or not distance measurement was impossible in all the areas set in step S418 (S420).

【0197】このステップS420または上記ステップ
S408において測距不能でないと判定された場合に
は、上記ステップS407、ステップS419で求めた
測距データの中から、撮影に使用する測距データを、例
えば最至近選択等により選択する(S421)。
If it is determined in step S420 or step S408 that the distance measurement is not impossible, the distance measurement data to be used for photographing is extracted from the distance measurement data obtained in step S407 and step S419, for example. A selection is made by a close selection or the like (S421).

【0198】一方、上記ステップS420において測距
不能であると判定された場合には、通常の一対の被写体
像のずれ量により測距を行う三角測距ができないため
に、被写体に投射した信号光の反射光量を用いた測距
(光量AF)を行う(S424)。ここで測距データを
算出する際には、被写体距離および被写体反射率が同じ
ならば同じ測距データとなるように、信号光を投射した
光源に応じてデータを補正する。
On the other hand, if it is determined in step S420 that distance measurement cannot be performed, triangular distance measurement in which distance measurement is performed based on the amount of shift between a pair of normal subject images cannot be performed. Distance measurement (light amount AF) using the reflected light amount is performed (S424). Here, when calculating the distance measurement data, the data is corrected according to the light source that has projected the signal light so that the same distance measurement data is obtained if the object distance and the object reflectance are the same.

【0199】こうして、上記ステップS421またはス
テップS424を行った後に、処理を終了する。
After performing step S421 or step S424, the process ends.

【0200】次に、上記ステップS411の主要被写体
判定シーケンスの処理について、図22を参照して説明
する。
Next, the processing of the main subject determination sequence in step S411 will be described with reference to FIG.

【0201】この処理にはいると、まず、上記ステップ
S410においてCPU105内のRAMに読み込んだ
センサデータの先頭アドレスを設定する(S431)。
When entering this processing, first, in step S410, the head address of the sensor data read into the RAM in the CPU 105 is set (S431).

【0202】そして、センサデータの極小値の最小値M
IN(つまり、被写体からの反射信号光が最も大きいセ
ンサデータ)と、センサデータ減少フラグF_DEC
と、極小値のセンサデータナンバーSDNと、設定され
ているセンサデータアドレスの一つ前のセンサデータS
Dn-1 と、をそれぞれ初期化する(S432)。この初
期化では、センサデータが例えば8ビットのデータであ
る場合には、MIN=FFH、F_DEC=0、SDN
=0、SDn-1 =00H(ここに記号Hは16進数であ
ることを示す。)とする。
Then, the minimum value M of the minimum value of the sensor data
IN (that is, sensor data having the largest reflected signal light from the subject) and a sensor data decrease flag F_DEC
, The sensor data number SDN of the minimum value, and the sensor data S immediately before the set sensor data address.
Dn-1 are initialized (S432). In this initialization, when the sensor data is 8-bit data, for example, MIN = FFH, F_DEC = 0, SDN
= 0, SDn-1 = 00H (the symbol H indicates a hexadecimal number).

【0203】続いて、設定されているセンサデータアド
レスのデータをSDn にセットし、(S433)、この
センサデータSDn が最小値MINより小さいか否かを
判定して(S434)、大きい場合には後述するステッ
プS436に進む。
Subsequently, the data of the set sensor data address is set in SDn (S433), and it is determined whether or not this sensor data SDn is smaller than the minimum value MIN (S434). The process proceeds to step S436 described below.

【0204】また、センサデータSDn が最小値MIN
よりも小さい場合には、このセンサデータSDn を最小
値MINにセットする(S435)。
When the sensor data SDn has the minimum value MIN
If smaller, the sensor data SDn is set to the minimum value MIN (S435).

【0205】そして、一つ前のセンサデータSDn-1 が
センサデータSDn より小さいか否かを判定し(S43
6)、大きい場合には、センサデータ減少フラグF_D
ECに1をセットしてから(S444)、後述するステ
ップS441に進む。
Then, it is determined whether or not the previous sensor data SDn-1 is smaller than the sensor data SDn (S43).
6) If large, sensor data decrease flag F_D
After setting 1 in EC (S444), the process proceeds to step S441 described later.

【0206】一方、センサデータSDn-1 がセンサデー
タSDn より小さい場合には、センサデータ減少フラグ
F_DEC=1であるか否かを判定し(S437)、0
である場合には後述するステップS440に進む。
On the other hand, if the sensor data SDn-1 is smaller than the sensor data SDn, it is determined whether or not the sensor data decrease flag F_DEC = 1 (S437).
If it is, the process proceeds to step S440 described below.

【0207】これに対して、センサデータ減少フラグF
_DECが1である場合には、一つ前のセンサデータS
Dn-1 が所定値よりも小さいか否かを判定し(S43
8)、大きい場合には後述するステップS440に進
む。
On the other hand, the sensor data decrease flag F
If _DEC is 1, the previous sensor data S
It is determined whether Dn-1 is smaller than a predetermined value (S43).
8) If it is larger, the process proceeds to step S440 described later.

【0208】また、センサデータSDn-1 が所定値より
も小さい場合には、極小値のセンサデータナンバーSD
Nを記憶する(S439)。
If the sensor data SDn-1 is smaller than the predetermined value, the sensor data number SD
N is stored (S439).

【0209】その後、センサデータ減少フラグF_DE
Cに0をセットして(S440)、センサデータナンバ
ーSDNをカウントアップし(S441)、次のセンサ
データアドレスを設定する(S442)。
Thereafter, the sensor data decrease flag F_DE
C is set to 0 (S440), the sensor data number SDN is counted up (S441), and the next sensor data address is set (S442).

【0210】そして、全てのセンサデータについて処理
が終了したか否かを判定し(S443)、終了していな
い場合には上記ステップS433に戻って処理を繰り返
し、一方、終了していると判定された場合にはリターン
する。
Then, it is determined whether or not the processing has been completed for all sensor data (S443). If not completed, the process returns to step S433 to repeat the processing, while it is determined that the processing has been completed. If it does, return.

【0211】このような第4の実施形態によれば、上述
した第1から第3の実施形態とほぼ同様の効果を奏する
とともに、プリ投光積分により主要被写体を検出して、
主要被写体にのみ信号光を投射して本積分を行うため
に、主要被写体以外の不要な成分を排除して、高精度な
測距を行うことができる。
According to the fourth embodiment, substantially the same effects as those of the above-described first to third embodiments can be obtained, and a main subject is detected by pre-projection integration.
Since the main integration is performed by projecting the signal light only to the main subject, unnecessary components other than the main subject are eliminated, and high-accuracy distance measurement can be performed.

【0212】図23は本発明の第5の実施形態を示した
ものであり、測距装置の測距シーケンスを示すフローチ
ャートである。この第5の実施形態において、上述の第
1から第4の実施形態と同様である部分については説明
を省略し、主として異なる点についてのみ説明する。
FIG. 23 shows a fifth embodiment of the present invention and is a flowchart showing a distance measuring sequence of the distance measuring apparatus. In the fifth embodiment, a description of the same parts as those in the above-described first to fourth embodiments will be omitted, and only different points will be mainly described.

【0213】この第5の実施形態の測距装置の構成およ
び投光手段の構成は、上述した第4の実施形態の図18
(A)、図18(B)、図19などに示したものとほぼ
同様である。
The structure of the distance measuring apparatus and the structure of the light projecting means of the fifth embodiment are the same as those of the fourth embodiment shown in FIG.
(A), FIG. 18 (B), FIG. 19, etc.

【0214】上述した第4の実施形態の測距装置では、
定常光積分で測距不能か低輝度である場合に、プリ投光
積分による主要被写体判定を行い、本投光積分で検出さ
れた主要被写体に測距用の信号光を投射して測距を行っ
ていた。
In the distance measuring apparatus according to the fourth embodiment,
If the distance cannot be measured or the brightness is low due to the steady light integration, the main subject is determined by the pre-projection integration, and the distance measurement signal light is projected to the main subject detected by the main projection integration to measure the distance. I was going.

【0215】これに対して、この第5の実施形態の測距
装置は、最初にプリ投光積分による主要被写体判定を行
い、検出された主要被写体の存在する領域にモニタ領域
および測距データの演算領域を設定して定常光積分によ
る測距を行う。そして、定常光積分による測距で測距不
能である場合に、本投光積分による測距を行うようにし
たものである。
On the other hand, in the distance measuring apparatus of the fifth embodiment, first, a main subject is determined by pre-projection integration, and the monitor area and the distance measurement data are set in the area where the detected main subject exists. A calculation area is set, and distance measurement is performed by steady light integration. Then, when the distance cannot be measured by the distance measurement by the stationary light integration, the distance measurement by the main light integration is performed.

【0216】また、プリ投光積分において被写体からの
反射信号光が少なく、撮影シーンが低輝度である場合
は、上記図19に示したようなストロボ411を用い
て、本投光積分を行う。
In the pre-light integration, when the reflected signal light from the subject is small and the photographic scene has low brightness, the main light integration is performed using the strobe 411 as shown in FIG.

【0217】それでは図23を参照して、測距手段の測
距シーケンスについて説明する。
Now, the distance measuring sequence of the distance measuring means will be described with reference to FIG.

【0218】この処理を開始すると、まずプリ投光積分
を行う(S501)。このときには、上記定常光除去回
路408により定常光成分を除去して、測距用信号光の
被写体からの反射光成分のみを積分する。また、積分
は、開始から所定時間が経過したところで、積分量によ
らずに終了する。
When this process is started, first, pre-light integration is performed (S501). At this time, the stationary light component is removed by the stationary light removing circuit 408, and only the reflected light component of the distance measurement signal light from the subject is integrated. In addition, the integration ends when a predetermined time has elapsed from the start, regardless of the amount of integration.

【0219】このステップS501でのプリ投光積分に
よる被写体像信号を、上記A/D変換回路404でA/
D変換して、CPU105内のRAMにセンサデータと
して読み込む(S502)。
The subject image signal obtained by the pre-projection integration in step S501 is converted into an A / D signal by the A / D conversion circuit 404.
The data is D-converted and read into the RAM in the CPU 105 as sensor data (S502).

【0220】そして、主要被写体判定を行う(S50
3)。ここでは、上記ステップS502でCPU105
に読み込んだセンサデータから、極小値のセンサナンバ
ーと、被写体からの反射信号光が最も大きいセンサデー
タ(極小値中の最小値)MINと、を検出する。
Then, the main subject is determined (S50).
3). Here, in step S502, the CPU 105
, The sensor value of the minimum value and the sensor data (minimum value among the minimum values) MIN with the largest signal light reflected from the subject are detected.

【0221】その後、被写体からの反射信号光が最も大
きいセンサデータMINが、所定値よりも大きいか否か
を判定する(S504)。ここで大きいと判定された場
合には後述するステップS521に進み、一方、小さい
と判定された場合には、続くステップS505に進む。
Thereafter, it is determined whether or not the sensor data MIN having the largest reflected signal light from the subject is larger than a predetermined value (S504). Here, when it is determined to be large, the process proceeds to step S521 described later, and when it is determined to be small, the process proceeds to the subsequent step S505.

【0222】ここでは、被写体からの反射信号光が最も
大きいセンサデータMINが、所定値よりも小さいか否
かを判定する(S505)。ここで小さいと判定された
場合には後述するステップS510に進み、一方、大き
いと判定された場合には、続くステップS506に進
む。
Here, it is determined whether or not the sensor data MIN with the largest reflected signal light from the subject is smaller than a predetermined value (S505). Here, when it is determined to be smaller, the process proceeds to step S510 described later, and when it is determined to be larger, the process proceeds to the subsequent step S506.

【0223】また、定常光積分用のモニタ領域の設定を
行う(S506)。このモニタ領域とは、積分の制御を
行うために領域内の、センサデータの平均値や最も積分
速度の速いセンサの積分量をモニタデータとして、積分
制御回路403に出力させるセンサ範囲である。具体的
には、上記図20(C)に示すモニタ領域424のよう
に、ステップS503のプリ投光積分で被写体からの反
射信号光が最も大きかったセンサを含む領域に設定され
る。ただし、被写体からの反射信号光が小さい場合は、
センサ全域、または比較的広い領域となるように設定す
る。
Further, a monitor area for steady light integration is set (S506). The monitor area is a sensor range in which the average value of the sensor data and the integration amount of the sensor with the fastest integration speed are output to the integration control circuit 403 as monitor data in the area for controlling the integration. More specifically, as shown in the monitor area 424 shown in FIG. 20C, the area is set to an area including the sensor having the largest signal light reflected from the subject in the pre-projection integration in step S503. However, if the reflected signal light from the subject is small,
The sensor is set so as to cover the entire area or a relatively wide area.

【0224】その後、測光データやプリ積分結果等に基
づいて、定常光積分のセンサ感度の設定を行う(S50
7)。
Thereafter, the sensor sensitivity for the steady light integration is set based on the photometric data, the pre-integration result, and the like (S50).
7).

【0225】上記ステップS506で設定されたモニタ
領域について、上記ステップS507で設定されたセン
サ感度により、定常光積分を行う(S508)。このと
きの積分の制御は、上記モニタデータが所定値に達した
かどうかを検出することにより行うか、あるいは積分開
始から所定時間が経過したかどうかにより判断すること
で行うようになっている。
For the monitor area set in step S 506, steady light integration is performed based on the sensor sensitivity set in step S 507 (S 508). The control of the integration at this time is performed by detecting whether the monitor data has reached a predetermined value or by determining whether a predetermined time has elapsed from the start of the integration.

【0226】上記ステップS508での定常光積分によ
る被写体像信号をA/D変換回路404でA/D変換し
て、CPU105内のRAMにセンサデータとして読み
込む(S509)。このときに読み込むセンサデータ
は、全センサのデータでも良いし、あるいは次のステッ
プS510で設定される演算領域のセンサデータのみで
も構わない。
The subject image signal obtained by the steady light integration in step S508 is A / D converted by the A / D conversion circuit 404, and is read into the RAM in the CPU 105 as sensor data (S509). The sensor data to be read at this time may be the data of all the sensors, or may be only the sensor data of the calculation area set in the next step S510.

【0227】そして、測距データを演算するための所定
の演算領域の設定を行う(S510)。ここで設定する
領域は、上記ステップS506で設定したモニタ領域4
24と同じでも良いし、モニタ領域424内やモニタ領
域424を含むように複数設定しても構わない。ただ
し、被写体からの反射信号光が小さい場合は、例えば上
記図3(B)に示した低輝度部検出用ブロック133,
134,135のように複数の領域を設定する。
Then, a predetermined calculation area for calculating the distance measurement data is set (S510). The area set here is the monitor area 4 set in step S506.
24, or a plurality of settings may be made so as to include the monitor area 424 or the monitor area 424. However, when the reflected signal light from the subject is small, for example, the low luminance portion detection block 133 shown in FIG.
A plurality of areas are set, such as 134 and 135.

【0228】このステップS510で設定された演算領
域毎に所定の相関演算や補間演算等を行って、一対の受
光レンズにより一対のセンサ上に結像された一対の被写
体像のずれ量(位相差)を求め、公知の三角測距の原理
によって測距データを演算して求める(S511)。
A predetermined correlation operation, interpolation operation, or the like is performed for each operation region set in step S510, and a shift amount (phase difference) of a pair of subject images formed on a pair of sensors by a pair of light receiving lenses. ) Is calculated, and the distance measurement data is calculated according to the known principle of triangulation (S511).

【0229】このステップS511での演算の結果に基
づいて、上記ステップS510で設定された全ての領域
で測距不能であったか否かを判断する(S512)。こ
こで測距不能である場合には続くステップS513に進
み、一方、測距不能でない場合には後述するステップS
520に進む。
On the basis of the result of the calculation in step S511, it is determined whether or not distance measurement was impossible in all the areas set in step S510 (S512). If the distance cannot be measured, the process proceeds to step S513. If the distance cannot be measured, the process proceeds to step S513 described later.
Proceed to 520.

【0230】そして、上記ステップS503で検出した
被写体からの反射信号光が最も大きいセンサデータMI
Nおよび所定以下のセンサデータナンバーSDNで示さ
れる極小データを含む領域に、本投光積分(パターン投
光積分)の投光領域を設定する(S513)。
The sensor data MI having the largest reflected signal light from the object detected in step S503
A projection area of the main light integration (pattern light integration) is set in an area including the minimum data indicated by N and a sensor data number SDN equal to or less than a predetermined value (S513).

【0231】次に、本投光積分(パターン投光積分)用
のモニタ領域の設定を行う(S514)。ここでは、上
記図20(C)に示す領域424のように、ステップS
503のプリ投光積分で被写体からの反射信号光が最も
大きかったセンサを含む領域に設定する。
Next, a monitor area for main light emission integration (pattern light integration) is set (S514). Here, as in the region 424 shown in FIG.
In the pre-projection integration of 503, the area is set to the area including the sensor where the reflected signal light from the subject is the largest.

【0232】さらに、上記ステップS513で設定され
た投光領域、上記ステップS514で設定されたモニタ
領域で本投光積分(パターン投光積分)を行う(S51
5)。このときの積分の制御は、上記ステップS508
と同様である。
Further, main light integration (pattern light integration) is performed in the light projection area set in step S513 and the monitor area set in step S514 (S51).
5). The control of the integration at this time is performed in step S508 described above.
Is the same as

【0233】一方、上記ステップS504において、セ
ンサデータMINが所定値よりも小さい場合には、測光
データが所定値よりも低輝度であるか否かを判定して
(S521)、低輝度でないと判定された場合には上記
ステップS506に進む。なお、輝度判定は、上述した
ようなステップS508での積分時間等に基づいて行う
ようにしても良い。
On the other hand, if the sensor data MIN is smaller than the predetermined value in step S504, it is determined whether or not the photometric data has a lower brightness than the predetermined value (S521). If so, the process proceeds to step S506. Note that the luminance determination may be performed based on the integration time or the like in step S508 as described above.

【0234】上記ステップS521において、測光デー
タが所定値よりも低輝度であると判定された場合には、
本投光積分(ストロボ投光積分)用のモニタ領域を設定
する(S522)。このときに設定するモニタ領域は、
センサ全域でも良いし、あるいは撮影画面中央部の領域
でも構わない。
If it is determined in step S521 that the photometry data has a luminance lower than the predetermined value,
A monitor area for the main light emission integration (strobe light emission integration) is set (S522). The monitor area set at this time is
The whole area of the sensor or the area in the center of the photographing screen may be used.

【0235】そして、このステップS522で設定され
たモニタ領域で本投光積分(ストロボ投光積分)を行う
(S523)。このときの積分の制御は、上記ステップ
S508と同様である。
Then, main light emission integration (flash light emission integration) is performed in the monitor area set in step S522 (S523). The control of integration at this time is the same as in step S508 described above.

【0236】次に、上記ステップS515またはステッ
プS523での本投光積分による被写体像信号をA/D
変換回路404でA/D変換して、CPU105内のR
AMにセンサデータとして読み込む(S516)。この
ときに読み込むセンサデータは、全センサのデータでも
良いし、次のステップS517で設定される演算領域の
センサデータのみでも構わない。ただし、ストロボ投光
積分を行った場合は、全センサデータまたは撮影画面中
央部のセンサデータを読み込む。
Next, the subject image signal obtained by the main light integration in step S515 or step S523 is subjected to A / D conversion.
A / D conversion is performed by the conversion circuit 404, and the R
The data is read into the AM as sensor data (S516). At this time, the sensor data to be read may be data of all sensors, or may be only sensor data of the calculation area set in the next step S517. However, when the flashlight integration is performed, all sensor data or sensor data at the center of the shooting screen is read.

【0237】さらに、測距データを演算するための所定
の演算領域の設定を行う(S517)。このときに設定
する領域は、上記ステップS514で設定したモニタ領
域424と同じでも良いし、あるいは上記ステップS5
13で設定した投光領域を含むような広めの領域や複数
の領域に設定しても構わない。ただし、ストロボ投光積
分を行った場合は、上記図3(B)に示した低輝度部検
出用ブロック133,134,135のような複数の領
域か、または撮影画面中央部に設定する。
Further, a predetermined calculation area for calculating the distance measurement data is set (S517). The area set at this time may be the same as the monitor area 424 set in step S514, or may be set in step S5.
It may be set to a wider area or a plurality of areas including the light projection area set in step S13. However, when the strobe light integration is performed, it is set in a plurality of areas such as the low luminance portion detection blocks 133, 134, and 135 shown in FIG.

【0238】上記ステップS517で設定された演算領
域毎に所定の相関演算や補間演算等を行って、一対の受
光レンズにより一対のセンサ上に結像された一対の被写
体像のずれ量(位相差)を求め、公知の三角測距の原理
によって測距データを演算して求める(S518)。
A predetermined correlation operation, interpolation operation, or the like is performed for each operation region set in step S517, and the shift amount (phase difference) of the pair of subject images formed on the pair of sensors by the pair of light receiving lenses. ) Is calculated, and distance measurement data is calculated by a known triangulation principle (S518).

【0239】このステップS518での演算の結果に基
づいて、上記ステップS517で設定された全ての領域
で測距不能であったか否かを判断する(S519)。こ
こで測距不能である場合には後述するステップS524
に進み、一方、測距不能でない場合には続くステップS
520に進む。
Based on the result of the calculation in step S518, it is determined whether or not distance measurement was impossible in all the areas set in step S517 (S519). If the distance cannot be measured here, step S524 described later is performed.
To the next step S if the distance measurement is not possible
Proceed to 520.

【0240】上記ステップS519において測距不能で
ないと判断された場合には、上記ステップS511、ス
テップS518で求めた測距データの中から最至近選択
等により撮影に使用する測距データを選択する(S52
0)。
If it is determined in step S519 that distance measurement is not possible, distance measurement data to be used for photographing is selected from the distance measurement data obtained in steps S511 and S518 by selecting the closest distance or the like (step S519). S52
0).

【0241】また、上記ステップS519において測距
不能であると判定された場合には、通常の一対の被写体
像のずれ量により測距を行う三角測距ができないため
に、被写体に投射した信号光の反射光量を用いた測距を
行う(S524)。測距データを算出する際には、被写
体距離および被写体反射率が同じならば同じ測距データ
となるように、信号光を投射した光源に応じてデータを
補正する。
If it is determined in step S519 that the distance cannot be measured, the signal light projected on the object cannot be obtained because triangular distance measurement in which distance measurement is performed based on the amount of shift between a pair of normal object images cannot be performed. Distance measurement using the reflected light amount is performed (S524). When calculating the distance measurement data, the data is corrected according to the light source onto which the signal light is projected so that the same distance measurement data is obtained if the object distance and the object reflectance are the same.

【0242】こうして、上記ステップS520またはス
テップS524が終わったところで、この処理を終了す
る。
When the above step S520 or step S524 is completed, this processing is completed.

【0243】このような第5の実施形態によれば、上述
した第1から第4の実施形態とほぼ同様の効果を奏する
とともに、プリ投光積分により主要被写体を検出して、
主要被写体の存在する領域にモニタ領域および測距デー
タの演算領域を設定して定常光積分による測距を行うよ
うにしたために、不要な演算等を行わずに済み、高速か
つ高精度な測距を行うことができる。
According to the fifth embodiment, substantially the same effects as those of the above-described first to fourth embodiments can be obtained, and a main subject is detected by pre-projection integration.
A high-speed and high-precision distance measurement is performed without performing unnecessary calculations because the monitor area and the calculation area of the distance measurement data are set in the area where the main subject exists and distance measurement is performed by steady light integration. It can be performed.

【0244】図24から図27は本発明の第6の実施形
態を示したものであり、図24は測距装置の投光手段の
構成を示すブロック図、図25は測距装置を搭載したカ
メラを示す平面図、図26は測距用の信号光の光源の切
換例と投光範囲の切換例とを示す図、図27は測距装置
の測距シーケンスを示すフローチャートである。
FIGS. 24 to 27 show a sixth embodiment of the present invention. FIG. 24 is a block diagram showing the structure of the light projecting means of the distance measuring device, and FIG. 25 is equipped with the distance measuring device. FIG. 26 is a plan view showing a camera, FIG. 26 is a diagram showing an example of switching a light source of a signal light for distance measurement and an example of switching a projection range, and FIG. 27 is a flowchart showing a distance measuring sequence of the distance measuring device.

【0245】この第6の実施形態において、上述の第1
から第5の実施形態と同様である部分については説明を
省略し、主として異なる点についてのみ説明する。
In the sixth embodiment, the first
The description of the same parts as those of the fifth embodiment will be omitted, and only different points will be mainly described.

【0246】この第6の実施形態は、図24に示すよう
な投光手段を有する上記図1(A)、図1(B)、図1
8(A)、または図18(B)に示すような測距装置に
おいて、測距用信号光の投射を強制的に行うか否か、お
よびその投射範囲や投射光源の切換を、撮影者が手動で
設定できるようにしたものである。
In the sixth embodiment, FIGS. 1 (A), 1 (B) and 1
In the distance measuring device as shown in FIG. 8 (A) or FIG. 18 (B), the photographer decides whether or not to forcibly project the signal light for distance measurement, and switches the projection range and the projection light source. It can be set manually.

【0247】この測距装置の投光手段について、図24
を参照して説明する。
The light projecting means of this distance measuring device is shown in FIG.
This will be described with reference to FIG.

【0248】この投光手段は、撮影において露光をおこ
なうときの補助光源であり、通常時は遠距離被写体測距
用の信号光光源としても用いられるストロボ601と、
このストロボ601の発光用コンデンサに充電を行い該
ストロボ601の発光制御を行うストロボ制御回路60
2と、上記CPU105からの発光要求に基づき後述す
るLED604a,604b,604c,604d,6
04eを駆動するためのLED駆動回路605と、この
LED駆動回路605により駆動制御されて測距用の信
号光を発生させるLED604a,604b,604
c,604d,604eと、これらのLED604a,
604b,604c,604d,604eから発せられ
る測距用の信号光を被写体に向けて投射する投光レンズ
603と、上記CPU105からの指令に基づき後述す
るセルフLED606を駆動するためのセルフLED駆
動回路607と、このセルフLED駆動回路607によ
り駆動されて発光する、セルフタイマの表示用光源であ
り測距用の信号光光源としても用いられるセルフLED
606と、撮影者が強制投光モードを設定するための強
制投光設定手段608と、撮影者が上記ストロボ601
や上記セルフLED606等を含む測距用の信号光光源
を選択するための投光光源切換手段609と、撮影者が
上記LED604a,604b,604c,604d,
604eなどの測距用の信号光の投光範囲を選択するた
めの投光範囲切換手段610と、上記CPU105と、
を有して構成されている。
The light projecting means is a strobe light 601 which is an auxiliary light source for performing exposure in photographing and which is normally used also as a signal light source for distance measurement of a long distance subject.
A flash control circuit 60 for charging the light emitting capacitor of the strobe 601 and controlling the light emission of the strobe 601
2 and LEDs 604 a, 604 b, 604 c, 604 d, and 6 based on a light emission request from the CPU 105.
LED drive circuit 605 for driving the light emitting device 04e, and LEDs 604a, 604b, and 604 that are driven and controlled by the LED drive circuit 605 to generate signal light for distance measurement.
c, 604d, 604e and these LEDs 604a,
A light projecting lens 603 for projecting the signal light for distance measurement emitted from 604b, 604c, 604d, and 604e toward a subject, and a self LED driving circuit 607 for driving a self LED 606 described later based on a command from the CPU 105. And a self LED which is driven by the self LED driving circuit 607 and emits light, which is a display light source of a self timer and is also used as a signal light source for distance measurement.
606, forced light emission setting means 608 for the photographer to set the forced light emission mode, and the photographer
Light source switching means 609 for selecting a signal light source for distance measurement including the above-mentioned self LED 606 and the like, and the photographer can select the LED 604a, 604b, 604c, 604d,
A projection range switching unit 610 for selecting a projection range of signal light for distance measurement such as 604e;
Is configured.

【0249】なお、上記LED604a,604b,6
04c,604d,604eは、可視光を発光するもの
であって良いし、あるいは赤外光を発光するものであっ
ても構わない。また、可視光を発光するLEDと赤外光
を発光するLEDとの両方を設けて、撮影者が選択でき
るようにしても良い。
The LEDs 604a, 604b, 6
04c, 604d, and 604e may emit visible light or may emit infrared light. Further, both a LED that emits visible light and an LED that emits infrared light may be provided so that the photographer can select the LED.

【0250】また、上記LEDアレイ604a,604
b,604c,604d,604eの代わりに、上記図
2(B)に示したような遮光マスク122a,122b
とパターンマスク123を用いた構成により、投光範囲
を切り換えることができるようにしても良い。
In addition, the LED arrays 604a, 604
Instead of b, 604c, 604d, and 604e, light shielding masks 122a and 122b as shown in FIG.
And the pattern mask 123 may be used to switch the light projection range.

【0251】次に、図25は、上述したような測距装置
を搭載したカメラを示している。
Next, FIG. 25 shows a camera equipped with a distance measuring device as described above.

【0252】このカメラは、レンズ鏡筒を突設するカメ
ラ本体611の上面に、カメラに係る各種の情報とし
て、例えば撮影コマ数、デート、設定モード、設定測距
用信号光光源、設定測距用信号光投光範囲等の表示を行
う液晶板等の表示手段612と、測距時に撮影条件によ
らず測距用信号光を強制的に投射する強制投光モードを
設定するための上記強制投光設定手段608に対応する
強制投光設定釦613と、測距用の信号光光源を選択す
るための上記投光光源切換手段609に対応する投光光
源切換釦614と、測距用の信号光の投光範囲を選択す
るための上記投光範囲切換手段610に対応する投光範
囲切換釦615と、撮影を行うためのレリーズ釦616
と、配設して構成されている。
In this camera, various kinds of information relating to the camera, such as the number of frames to be shot, date, setting mode, signal light source for setting distance measurement, and setting distance measurement Display means 612 such as a liquid crystal plate for displaying the signal light projection range for use, and the compulsory light emission mode for forcibly projecting the signal light for distance measurement regardless of shooting conditions during distance measurement. A forced light emission setting button 613 corresponding to the light emission setting means 608; a light emission light source switching button 614 corresponding to the light emission light source switching means 609 for selecting a signal light source for distance measurement; A projection range switching button 615 corresponding to the projection range switching means 610 for selecting the projection range of the signal light, and a release button 616 for photographing
And, it is arranged and configured.

【0253】なお、設定や切換を行う上記各釦613,
614,615等は、必ずしも釦として構成する必要は
なく、ダイヤル等の他の入力手段であっても良いことは
勿論である。
The above buttons 613 and 613 for setting and switching are set.
It is needless to say that the buttons 614, 615 and the like do not necessarily have to be configured as buttons, but may be other input means such as a dial.

【0254】このような構成において、撮影者が、上記
強制投光設定手段608(強制投光設定釦613)によ
り強制投光モードを設定すると、撮影条件によらず測距
用の信号光を投射して測距を行うとともに、上記表示手
段612に強制投光モードに設定された旨の表示を行
う。
In such a configuration, when the photographer sets the forced light emission mode using the forced light emission setting means 608 (forced light emission setting button 613), the signal light for distance measurement is projected regardless of the photographing conditions. In addition to performing distance measurement, the display means 612 displays that the forced light emission mode has been set.

【0255】また、撮影者が、上記投光光源切換手段6
09(投光光源切換釦614)を押すと、一回押す毎
に、測距時に使用する信号光光源が図26(A)に示す
ように巡回的に切り換るとともに、上記表示手段612
に、設定されている光源が表示されるようになってい
る。
Also, the photographer can switch the light emitting light source switching means 6
When the light source 09 (light projection light source switching button 614) is pressed, the signal light source used for distance measurement is switched cyclically as shown in FIG.
, The set light source is displayed.

【0256】すなわち、上記投光光源切換手段609を
押すと、表示手段612には、撮影条件に合わせて自動
的に測距用の信号光光源の切り換えを行う場合の表示A
UTOと、測距用の信号光光源としてLED604a,
604b,604c,604d,604eのみを使用す
る場合の表示LEDと、測距用の信号光光源としてスト
ロボ601のみを使用する場合の表示であるストロボ
と、測距用の信号光光源としてセルフLED606のみ
を使用する場合の表示であるセルフと、が順次表示さ
れ、セルフが表示された状態においてさらに上記投光光
源切換手段609を押すと、上記AUTOの表示に戻る
ようになっている。
That is, when the projection light source switching means 609 is pressed, the display means 612 displays a display A for automatically switching the signal light source for distance measurement in accordance with the photographing conditions.
UTO and LED 604a as a signal light source for distance measurement,
Display LEDs when only 604b, 604c, 604d and 604e are used, strobes when only the strobe 601 is used as a signal light source for distance measurement, and only self LEDs 606 as a signal light source for distance measurement Is displayed in order when the self-display is used, and when the light projection light source switching unit 609 is further pressed while the self-display is displayed, the display returns to the AUTO display.

【0257】さらに、撮影者が、上記投光範囲切換手段
610(投光範囲切換釦615)を押すと、一回押す毎
に、測距時に信号光光源として使用する図24に示すL
ED604a,604b,604c,604d,604
eが、図26(B)に示すように巡回的に切り換るとと
もに、上記表示手段612または図示しないファインダ
内に、その設定されている投光範囲が表示されるように
なっている。
Further, when the photographer presses the light emitting range switching means 610 (light emitting range switching button 615), each time the photographer presses the light emitting range switching means 610, the light source shown in FIG.
ED 604a, 604b, 604c, 604d, 604
As shown in FIG. 26B, e is switched cyclically, and the set projection range is displayed on the display means 612 or a finder (not shown).

【0258】すなわち、上記投光範囲切換手段610を
押すと、表示手段(またはファインダの表示画面)62
1には、LED604aが選択された場合の投光範囲表
示622aと、LED604bが選択された場合の投光
範囲表示622bと、LED604cが選択された場合
の投光範囲表示622cと、LED604dが選択され
た場合の投光範囲表示622dと、LED604eが選
択された場合の投光範囲表示622eと、LED604
a,604b,604c,604d,604eの全てを
発光させて測距用の信号光を投射する場合の表示である
ALLと、が順次表示され、ALLが表示された状態に
おいてさらに上記投光範囲切換手段610を押すと、上
記投光範囲表示622aを表示する状態に戻るようにな
っている。
That is, when the light projection range switching means 610 is pressed, the display means (or the display screen of the finder) 62 is displayed.
1, a projection range display 622a when the LED 604a is selected, a projection range display 622b when the LED 604b is selected, a projection range display 622c when the LED 604c is selected, and the LED 604d are selected. Light emitting range display 622d when the LED 604e is selected, and light emitting range display 622e when the LED 604e is selected.
a, 604b, 604c, 604d, and 604e are all displayed, and ALL, which is a display when projecting the signal light for distance measurement, is sequentially displayed. In the state where ALL is displayed, the light projection range switching is further performed. When the means 610 is pressed, the display returns to the state in which the light projection range display 622a is displayed.

【0259】なお、全てのLED604a,604b,
604c,604d,604eを発光させる場合には、
ALLなどの文字を表示させる代わりに、投光範囲表示
622a,622b,622c,622d,622eの
全てを表示させるようにしても良い。
Note that all the LEDs 604a, 604b,
To make 604c, 604d, and 604e emit light,
Instead of displaying characters such as ALL, all of the projection range displays 622a, 622b, 622c, 622d, and 622e may be displayed.

【0260】次に、図27を参照して、測距装置の測距
シーケンスについて説明する。
Next, a distance measuring sequence of the distance measuring apparatus will be described with reference to FIG.

【0261】この処理が開始されると、まず、強制投光
モードが設定されているかどうかを判断する(S60
1)。ここで強制投光モードである場合には、後述する
ステップS610に進み、一方、強制投光モードでない
場合には、続くステップS602に進む。
When this process is started, first, it is determined whether or not the forced light emission mode is set (S60).
1). If the mode is the forced light emission mode, the process proceeds to step S610 described below. If the mode is not the forced light emission mode, the process proceeds to step S602.

【0262】次に、測光データが所定値よりも低輝度で
あるか否かを判定する(S602)。ここで低輝度であ
る場合には後述するステップS610に進み、一方、低
輝度でない場合には続くステップS603に進む。な
お、輝度判定は、後述するステップS605での積分時
間等に基づいて行うようにしても良い。
Next, it is determined whether or not the photometric data has a luminance lower than a predetermined value (S602). Here, if the brightness is low, the process proceeds to step S610 described below, while if the brightness is not low, the process proceeds to the subsequent step S603. Note that the luminance determination may be performed based on the integration time in step S605 described later.

【0263】そして、定常光積分用のモニタ領域の設定
を行う(S603)。このモニタ領域とは、積分の制御
を行うために領域内のセンサデータの平均値や最も積分
速度の速いセンサの積分量をモニタデータとして積分制
御回路103または403に出力させるセンサ範囲であ
る。このモニタ領域は、通常、センサ全域または比較的
広い領域となるように設定される。
Then, a monitor area for steady light integration is set (S603). The monitor area is a sensor range in which the integration control circuit 103 or 403 outputs the average value of the sensor data in the area or the integration amount of the sensor with the fastest integration speed as monitor data in order to perform integration control. This monitor area is usually set to be the entire sensor area or a relatively large area.

【0264】続いて、測光データやプリ積分結果等に基
づき、定常光積分のセンサ感度の設定を行う(S60
4)。
Subsequently, the sensor sensitivity for steady light integration is set based on the photometric data, the pre-integration result, and the like (S60).
4).

【0265】その後、上記ステップS603で設定され
たモニタ領域について、上記ステップS604で設定さ
れたセンサ感度により、定常光積分を行う(S60
5)。このときの積分の制御は、上記モニタデータが所
定値に達したかどうかを検出することにより行うか、あ
るいは積分開始から所定時間が経過したかどうかにより
判断することで行うようになっている。
Thereafter, for the monitor area set in step S603, steady light integration is performed using the sensor sensitivity set in step S604 (S60).
5). The control of the integration at this time is performed by detecting whether the monitor data has reached a predetermined value or by determining whether a predetermined time has elapsed from the start of the integration.

【0266】上記ステップS605での定常光積分によ
る被写体像信号を、上記A/D変換回路104でA/D
変換して、CPU105内のRAMにセンサデータとし
て読み込む(S606)。
The subject image signal obtained by the steady light integration in step S605 is converted into an A / D signal by the A / D conversion circuit 104.
The data is converted and read into the RAM in the CPU 105 as sensor data (S606).

【0267】そして、測距データを演算するための所定
の演算領域の設定を行う(S607)。この演算領域
は、通常、例えば上記図3(B)に示したような低輝度
部検出用ブロック133,134,135と同様に、複
数の領域を設定する。
Then, a predetermined calculation area for calculating the distance measurement data is set (S607). Normally, a plurality of regions are set in this calculation region, for example, similarly to the low luminance portion detection blocks 133, 134, and 135 as shown in FIG.

【0268】上記ステップS607で設定された演算領
域毎に所定の相関演算や補間演算等を行って、一対の受
光レンズにより一対のセンサ上に結像された一対の被写
体像のずれ量(位相差)を求め、公知の三角測距の原理
によって測距データを演算して求める(S608)。
A predetermined correlation operation, interpolation operation, or the like is performed for each operation area set in step S607, and a shift amount (phase difference) of a pair of subject images formed on a pair of sensors by a pair of light receiving lenses. ) Is calculated, and the distance measurement data is calculated according to the known principle of triangulation (S608).

【0269】このステップS608での演算結果に基づ
いて、上記ステップS607で設定された全ての領域で
測距不能であったか否かを判断する(S609)。ここ
で測距不能である場合には続くステップS610に進
み、一方、測距不能でない場合には後述するステップS
623に進む。
Based on the result of the calculation in step S608, it is determined whether or not distance measurement has been impossible in all the areas set in step S607 (S609). If the distance cannot be measured, the process proceeds to step S610. If the distance cannot be measured, step S610 will be described later.
Proceed to 623.

【0270】次に、上記投光光源切換手段609によ
り、測距用の信号光光源としてセルフLED606が設
定されているか否かを判断する(S610)。ここで設
定されていれば後述するステップS621に進み、一
方、設定されていなければ続くステップS611に進
む。
Next, the light projection light source switching means 609 determines whether or not the self LED 606 is set as a signal light source for distance measurement (S610). If it is set here, the process proceeds to step S621 described later, while if it is not set, the process proceeds to the subsequent step S611.

【0271】さらに、上記投光光源切換手段609によ
り、測距用の信号光光源としてストロボ601が設定さ
れているか否かを判断する(S611)。ここで設定さ
れていれば後述するステップS622に進み、一方、設
定されていなければ続くステップS612に進む。
Further, the light projection light source switching means 609 determines whether or not the strobe 601 is set as the signal light source for distance measurement (S611). If it is set here, the process proceeds to step S622 described later, while if it is not set, the process proceeds to the subsequent step S612.

【0272】そして、上記LED604a,604b,
604c,604d,604eの内、投光範囲切換手段
610により設定されているものを、測距用の信号光光
源に設定するとともに、設定された投光範囲と対応する
領域にモニタ領域を設定する(S612)。
The LEDs 604a, 604b,
Of the 604c, 604d and 604e, the one set by the projection range switching means 610 is set as the signal light source for distance measurement, and the monitor area is set in an area corresponding to the set projection range. (S612).

【0273】さらに、上記LED604a,604b,
604c,604d,604eの内、上記ステップS6
12で設定されたLEDから信号光を投射して、該ステ
ップS612で設定されたモニタ領域で積分を行う(S
613)。このときの積分の制御は、上記ステップS6
05と同様である。
Furthermore, the LEDs 604a, 604b,
Steps S6 out of 604c, 604d, and 604e
Signal light is projected from the LED set in step S12, and integration is performed in the monitor area set in step S612 (S
613). The control of the integration at this time is performed in the step S6.
Same as 05.

【0274】上記ステップS613での積分において、
信号光の被写体からの反射光量が所定量より小さかった
か否かを積分速度や積分時間等に基づいて判断する(S
614)。ここで小さいと判断された場合には続くステ
ップS615に進み、一方、大きいと判断された場合に
は後述するステップS616に進む。
In the integration in step S613,
It is determined whether the amount of signal light reflected from the subject is smaller than a predetermined amount based on the integration speed, integration time, and the like (S
614). Here, when it is determined to be smaller, the process proceeds to the subsequent step S615, and when it is determined to be larger, the process proceeds to step S616 described later.

【0275】そして、上記投光光源切換手段609によ
り、測距用の信号光光源として上記LED604a,6
04b,604c,604d,604eが設定されてい
るか否かを判断する(S615)。ここでLEDが設定
されている場合には続くステップS616に進み、一
方、設定されていない場合には後述するステップS62
2に進む。
The light emitting light source switching means 609 controls the LEDs 604a and 604 as signal light sources for distance measurement.
It is determined whether 04b, 604c, 604d, and 604e are set (S615). Here, if the LED is set, the process proceeds to the subsequent step S616. If the LED is not set, the process proceeds to step S62 described later.
Proceed to 2.

【0276】各積分による被写体像信号をA/D変換回
路104でA/D変換して、CPU105内のRAMに
センサデータとして読み込む(S616)。
The subject image signal obtained by each integration is A / D converted by the A / D conversion circuit 104, and is read into the RAM in the CPU 105 as sensor data (S616).

【0277】次に、測距データを演算するための所定の
演算領域を設定する(S617)。この演算領域は、通
常、上記LED604a,604b,604c,604
d,604eの何れか一つが設定されている場合以外
は、例えば上記図3(B)に示した低輝度部検出用ブロ
ック133,134,135のように複数の領域を設定
する。これに対して、LED604a,604b,60
4c,604d,604eの何れか一つが設定されてい
る場合は、設定されているLEDに対応する領域に設定
する。
Next, a predetermined calculation area for calculating the distance measurement data is set (S617). This calculation area is usually set to the LEDs 604a, 604b, 604c, and 604.
Unless one of d and 604e is set, a plurality of areas are set, for example, as in the low luminance portion detection blocks 133, 134 and 135 shown in FIG. On the other hand, the LEDs 604a, 604b, 60
When any one of 4c, 604d, and 604e is set, the area is set to an area corresponding to the set LED.

【0278】そして、上記ステップS617で設定され
た演算領域毎に所定の相関演算や補間演算等を行って、
一対の受光レンズにより一対のセンサ上に結像された一
対の被写体像のずれ量(位相差)を求め、公知の三角測
距の原理によって測距データを演算して求める(S61
8)。
Then, a predetermined correlation operation, interpolation operation and the like are performed for each operation region set in step S617, and
A shift amount (phase difference) between a pair of subject images formed on a pair of sensors by a pair of light receiving lenses is obtained, and distance measurement data is calculated and calculated according to a known principle of triangulation (S61).
8).

【0279】このステップS618での演算の結果に基
づいて、上記ステップS617で設定された全ての領域
で測距不能であったか否かを判断する(S619)。こ
こで測距不能である場合には続くステップS620に進
み、一方、測距不能でない場合には後述するステップS
623に進む。
On the basis of the result of the calculation in step S618, it is determined whether or not distance measurement was impossible in all the areas set in step S617 (S619). If the distance cannot be measured, the process proceeds to step S620. If the distance cannot be measured, step S620 will be described later.
Proceed to 623.

【0280】上記ステップS619において測距不能で
あると判断された場合には、通常の一対の被写体像のず
れ量により測距を行う三角測距ができないために、被写
体に投射した信号光の反射光量を用いた測距を行う。測
距データを算出する際には、被写体距離および被写体反
射率が同じならば同じ測距データとなるように、信号光
を投射した光源に応じてデータを補正する(S62
0)。
If it is determined in step S619 that distance measurement is impossible, triangular distance measurement in which distance measurement is performed based on the amount of shift between a pair of normal subject images cannot be performed. Distance measurement using light amount is performed. When calculating the distance measurement data, the data is corrected according to the light source that has projected the signal light so that the same distance measurement data is obtained if the subject distance and the subject reflectance are the same (S62).
0).

【0281】一方、上記ステップS610においてセル
フLED606が設定されている場合には、該セルフL
ED606より信号光を投射して、モニタ領域をセンサ
全域または比較的広い領域に設定して積分を行い(S6
21)、その後、上記ステップS616へ行く。
On the other hand, if the self LED 606 has been set in step S610,
Signal light is projected from the ED 606, the monitor area is set to the entire sensor area or a relatively wide area, and integration is performed (S6).
21) Then, the process proceeds to step S616.

【0282】また、上記ステップS611においてスト
ロボ601が設定されている場合、または上記ステップ
S615においてLED604a,604b,604
c,604d,604eが設定されていない場合には、
上記ストロボ601より信号光を投射して、モニタ領域
をセンサ全域または比較的広い領域に設定して積分を行
い(S622)、その後、上記ステップS616へ行
く。
If the strobe 601 has been set in step S611, or if the LEDs 604a, 604b, and 604 have been set in step S615.
If c, 604d and 604e are not set,
Signal light is projected from the strobe 601 to perform integration by setting the monitor area to the whole area of the sensor or a relatively wide area (S622), and then go to the step S616.

【0283】さらに、上記ステップS609または上記
ステップS619において測距可能であると判断された
場合は、上記ステップS608、上記ステップS618
で求めた測距データの中から、最至近選択等により撮影
に使用する測距データを選択する(S623)。
If it is determined in step S609 or step S619 that distance measurement is possible, step S608 and step S618 are performed.
The distance measurement data to be used for photographing is selected from the distance measurement data obtained in step (S623).

【0284】こうして、上記ステップS620またはス
テップS623が終わったところで、この処理を終了す
る。
When the above step S620 or step S623 has been completed, this processing ends.

【0285】このような第6の実施形態によれば、上述
した第1から第5の実施形態とほぼ同様の効果を奏する
とともに、撮影者が手動で測距用の信号光の投射を強制
的に行うか否かを切り換えることができ、かつ測距用の
信号光の投射光源や範囲を切り換えることができるため
に、様々な撮影環境において、撮影者の設定により高精
度な測距を行うことができる。
According to the sixth embodiment, substantially the same effects as those of the above-described first to fifth embodiments can be obtained, and the user can manually forcibly project the signal light for distance measurement. To perform high-precision distance measurement by setting the photographer in various shooting environments because it is possible to switch whether or not to perform the measurement, and to switch the projection light source and range of the signal light for distance measurement. Can be.

【0286】なお、本発明は上述した実施形態に限定さ
れるものではなく、発明の主旨を逸脱しない範囲内にお
いて種々の変形や応用が可能であることは勿論である。
It should be noted that the present invention is not limited to the above-described embodiment, and it is needless to say that various modifications and applications are possible without departing from the gist of the invention.

【0287】[付記]以上詳述したような本発明の上記
実施形態によれば、以下のごとき構成を得ることができ
る。
[Supplementary notes] According to the above-described embodiment of the present invention as described in detail above, the following configuration can be obtained.

【0288】(1) 被写体像を各結像させる一対の受
光レンズと、これらの受光レンズにより結像された一対
の被写体像を、光強度に応じてそれぞれ電気信号に変換
する一対の光電変換手段と、上記一対の光電変換手段の
積分制御を行う積分制御手段と、上記一対の光電変換手
段から出力される被写体像データに基づいて被写体距離
に応じたデータを演算する演算手段と、被写体に測距用
の信号光を投射する少なくとも一つの投光手段と、を具
備し、被写体条件またはカメラの状態に基づいて投光条
件を切り換えるように構成されたことを特徴とする測距
装置。
(1) A pair of light receiving lenses for forming a subject image and a pair of photoelectric conversion means for converting the pair of subject images formed by these light receiving lenses into electric signals according to the light intensity, respectively. Integration control means for performing integral control of the pair of photoelectric conversion means, calculation means for calculating data corresponding to a subject distance based on subject image data output from the pair of photoelectric conversion means, and measurement for the subject. A distance measuring device comprising: at least one light projecting means for projecting a signal light for distance, wherein the light projecting condition is switched based on a subject condition or a state of a camera.

【0289】(2) 上記光電変換手段は、ラインセン
サでなることを特徴とする付記(1)に記載の測距装
置。
(2) The distance measuring apparatus according to (1), wherein the photoelectric conversion means is a line sensor.

【0290】(3) 上記光電変換手段は、エリアセン
サでなることを特徴とする付記(1)に記載の測距装
置。
(3) The distance measuring apparatus according to (1), wherein the photoelectric conversion means is an area sensor.

【0291】(4) 上記被写体条件またはカメラの状
態は、撮影画面内の輝度分布と、カメラの姿勢や設定
と、プリ投光の反射光分布と、被写体のコントラスト
と、の少なくとも1つを含むものであることを特徴とす
る付記(1)に記載の測距装置。
(4) The subject condition or the camera state includes at least one of a luminance distribution in the photographing screen, a posture and setting of the camera, a reflected light distribution of the pre-projection, and a contrast of the subject. The distance measuring apparatus according to (1), further comprising:

【0292】(5) 上記投光条件は、投光パターンの
形状と、投光範囲と、投射光の波長と、の少なくとも1
つを含むものであることを特徴とする付記(1)に記載
の測距装置。
(5) The light projecting condition is that at least one of the shape of the light projecting pattern, the light projecting range, and the wavelength of the projecting light.
The distance measuring apparatus according to (1), further comprising:

【0293】(6) 上記光電変換手段に定常的に入射
する定常光を除去する定常光除去手段をさらに具備し、
信号光の被写体から反射光のみを積分する機能を具備し
たことを特徴とする付記(1)に記載の測距装置。
(6) It further comprises a stationary light removing means for removing stationary light constantly entering the photoelectric conversion means,
The distance measuring apparatus according to (1), further comprising a function of integrating only the reflected light from the subject of the signal light.

【0294】(7) 上記投光手段は複数の発光素子を
備えてなり、上記投光パターンの形状または投光範囲の
切り換えは、該投光手段の発光素子を切り換えることに
より行うものであることを特徴とする付記(5)に記載
の測距装置。
(7) The light emitting means has a plurality of light emitting elements, and the shape of the light emitting pattern or the light emitting range is switched by switching the light emitting elements of the light emitting means. The distance measuring apparatus according to supplementary note (5), characterized in that:

【0295】(8) 上記投光手段は、投射する信号光
の通過範囲を規定するマスクパターンを備えてなり、上
記投光パターンの形状または投光範囲の切り換えは、該
投光手段のマスクパターンを切り換えることにより行う
ものであることを特徴とする付記(5)に記載の測距装
置。
(8) The light projecting means is provided with a mask pattern for defining a pass range of the signal light to be projected, and the shape of the light projecting pattern or the switching of the light projecting range is changed by the mask pattern of the light projecting means. The distance measurement device according to (5), wherein the distance measurement is carried out by switching.

【0296】(9) 上記投光手段は複数設けられてな
り、上記投光パターンの形状、投光範囲、または投射光
の波長の切り換えは、該投光手段を切り換えることによ
り行うものであることを特徴とする付記(5)に記載の
測距装置。
(9) A plurality of the light projecting means are provided, and the shape of the light projecting pattern, the light projecting range, or the wavelength of the projected light is switched by switching the light projecting means. The distance measuring apparatus according to supplementary note (5), characterized in that:

【0297】(10) 被写体の輝度を測定する測光手
段をさらに具備し、上記投光パターンの形状または投光
範囲の切り換えは、この測光手段の測光データ、または
上記光電変換手段から出力される被写体像データに基づ
いて、撮影画面内の低輝度領域を検出し、検出された低
輝度領域に信号光を投射するように行われるものである
ことを特徴とする付記(5)に記載の測距装置。
(10) A light measuring means for measuring the brightness of the object is further provided, and the shape of the light emitting pattern or the light emitting range can be switched by measuring the light measuring data of the light measuring means or the object outputted from the photoelectric conversion means. The distance measurement according to (5), wherein a low-luminance area in the photographing screen is detected based on the image data, and the signal light is projected onto the detected low-luminance area. apparatus.

【0298】(11) 上記カメラの状態は、カメラの
姿勢を含むものであり、上記投光パターンの形状または
投光範囲の切り換えは、このカメラの姿勢が縦であるか
横であるかに応じて行われるものであることを特徴とす
る付記(5)に記載の測距装置。
(11) The state of the camera includes the attitude of the camera, and the shape of the light emitting pattern or the switching of the light emitting range is determined according to whether the attitude of the camera is vertical or horizontal. (5) The distance measuring apparatus according to (5), wherein the distance measurement is performed.

【0299】(12) 上記投光手段は、カメラが通常
モードに設定されているときは、測距範囲の全域に信号
光を投射するものであることを特徴とする付記(1)に
記載の測距装置。
(12) The light emitting means according to (1), wherein, when the camera is set to the normal mode, the light emitting means projects the signal light over the entire range of the distance measuring range. Distance measuring device.

【0300】(13) 上記投光手段は、カメラがスポ
ットモードに設定されているときは、撮影画面の中央部
のみに信号光を投射するものであることを特徴とする付
記(1)に記載の測距装置。
(13) The light emitting means according to (1), wherein when the camera is set to the spot mode, the light projecting means projects the signal light only at the center of the photographing screen. Distance measuring device.

【0301】(14) 上記複数設けられてなる投光手
段は、赤外光を投射する赤外投光手段を含んでなり、カ
メラがポートレートモード、夜景モード、ストロボオフ
モードの少なくとも1つに設定されているときは、該赤
外投光手段により赤外光を投射することを特徴とする付
記(6)に記載の測距装置。
(14) The plurality of light projecting means include infrared light projecting means for projecting infrared light, and the camera is set to at least one of a portrait mode, a night view mode, and a strobe off mode. The distance measuring apparatus according to (6), wherein when set, infrared light is projected by the infrared light projecting means.

【0302】(15) 上記複数設けられてなる投光手
段は、セルフタイマの表示機能を兼ねたLEDを含んで
なり、カメラがマクロモードに設定されているときは、
該セルフタイマの表示用LEDにより測距用の信号光を
投射することを特徴とする付記(6)に記載の測距装
置。
(15) The plurality of light projecting means include an LED which also has a display function of a self-timer, and when the camera is set to the macro mode,
The distance measuring device according to (6), wherein signal light for distance measurement is projected by the display LED of the self-timer.

【0303】(16) 上記投光手段は、カメラが風景
モードに設定されているときは、信号光の投光を行わな
いように構成されていることを特徴とする付記(1)に
記載の測距装置。
(16) The light emitting means according to (1), wherein the light emitting means is configured not to emit the signal light when the camera is set to the landscape mode. Distance measuring device.

【0304】(17) 上記投光手段は、プリ投光によ
る反射光分布の反射光量の多い領域に信号光を投射する
ものであることを特徴とする付記(4)に記載の測距装
置。
(17) The distance measuring apparatus according to (4), wherein the light projecting means projects the signal light to an area where the amount of reflected light in the distribution of reflected light by pre-lighting is large.

【0305】(18) 上記複数設けられてなる投光手
段は、投光手段としてのストロボと、ストロボ以外の投
光手段とを含んでなり、ストロボ以外の投光手段により
信号光を投射した際に、被写体からの反射信号光量が少
ない場合は、ストロボにより信号光を投射して測距を行
うことを特徴とする付記(6)に記載の測距装置。
(18) The plurality of light projecting means include a strobe as a light projecting means and a light projecting means other than the strobe, and when the signal light is projected by the light projecting means other than the strobe. In addition, when the amount of the reflected signal from the subject is small, the distance is measured by projecting the signal light with a strobe to measure the distance.

【0306】(19) 上記投光手段の投光範囲を撮影
者が手動で設定するための投光範囲切替手段をさらに具
備したことを特徴とする付記(1)に記載の測距装置。
(19) The distance measuring apparatus according to (1), further comprising a light emitting range switching means for allowing a photographer to manually set a light emitting range of the light emitting means.

【0307】(20) 上記投光手段の投光範囲を撮影
者が手動で設定するための投光光源切替手段をさらに具
備したことを特徴とする付記(1)に記載の測距装置。
(20) The distance measuring apparatus according to (1), further comprising a light emitting light source switching means for allowing a photographer to manually set a light emitting range of the light emitting means.

【0308】(21) 撮影状況によらず上記投光手段
から被写体に測距用の信号光を投射して測距を行う強制
投光モードを、撮影者が設定するための強制投光設定手
段をさらに具備したことを特徴とする付記(1)に記載
の測距装置。
(21) A forced light emission setting means for allowing a photographer to set a forced light emission mode in which a signal light for distance measurement is projected from the light emitting means to a subject regardless of a shooting condition to perform distance measurement. (1) The distance measuring apparatus according to (1), further comprising:

【0309】[0309]

【発明の効果】以上説明したように本発明の測距装置に
よれば、被写体条件またはカメラの状態に応じた高精度
な測距を行うことが可能となる。
As described above, according to the distance measuring apparatus of the present invention, it is possible to perform high-precision distance measurement according to the subject condition or the state of the camera.

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

【図1】本発明の第1の実施形態において、受光素子と
して(A)ラインセンサ,(B)エリアセンサを用いた
測距装置の構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of a distance measuring device using a line sensor (A) and an area sensor (B) as light receiving elements in a first embodiment of the present invention.

【図2】上記第1の実施形態において、(A)複数のL
EDを用いた投光手段,(B)投光範囲の切換に可動遮
光マスクを用いた投光手段、の構成をそれぞれ示すブロ
ック図。
FIG. 2 shows (A) a plurality of L in the first embodiment.
FIG. 3 is a block diagram showing the configurations of a light projecting unit using an ED and (B) a light projecting unit using a movable light shielding mask for switching a light projecting range.

【図3】上記第1の実施形態において、(A)主要被写
体が背景に対して低輝度となっているときのファインダ
視野の様子を示す図、(B)定常光のみで積分した場合
の被写体像データを示す線図、(C)信号光を主要被写
体中央部分に投射して積分した場合の被写体像データを
示す線図。
FIG. 3 is a view showing a view of a finder visual field when a main subject has low luminance with respect to a background in the first embodiment, and FIG. FIG. 3 is a diagram illustrating image data, and FIG. 3C is a diagram illustrating subject image data when a signal light is projected onto a central portion of a main subject and integrated.

【図4】上記第1の実施形態における複数のLEDによ
る信号光の投光パターンの変形例を示す図。
FIG. 4 is a diagram showing a modified example of the light projection pattern of the signal light by the plurality of LEDs in the first embodiment.

【図5】上記第1の実施形態の可動遮光マスクを用いた
投光手段の投光範囲の切換例を示す図であって、(A)
撮影画面の全域、(B)撮影画面の中央部、(C)撮影
画面の左方部、(D)撮影画面の右方部、にそれぞれ信
号光を投射する場合の遮光マスクの配置を示す図。
5A and 5B are diagrams showing an example of switching of a light projecting range of the light projecting means using the movable light shielding mask of the first embodiment, and FIG.
The figure which shows arrangement | positioning of the light-shielding mask when projecting signal light to the whole area | region of an imaging screen, (B) the center part of an imaging screen, (C) the left part of an imaging screen, and (D) the right part of an imaging screen respectively .

【図6】上記第1の実施形態の可動遮光マスクを用いた
投光手段による撮影画面での投光範囲およびパターン例
を示す図。
FIG. 6 is a view showing a light projection range and a pattern example on a photographing screen by a light projection unit using the movable light shielding mask of the first embodiment.

【図7】上記第1の実施形態の測距装置の測距シーケン
スを示すフローチャート。
FIG. 7 is a flowchart showing a distance measuring sequence of the distance measuring apparatus according to the first embodiment.

【図8】上記第1の実施形態の低輝度・ローコントラス
ト判定の処理を示すフローチャート。
FIG. 8 is a flowchart showing a low-brightness / low-contrast determination process according to the first embodiment.

【図9】本発明の第2の実施形態の測距装置の投光手段
の構成を示すブロック図。
FIG. 9 is a block diagram showing a configuration of a light projecting unit of a distance measuring apparatus according to a second embodiment of the present invention.

【図10】上記第2の実施形態において、各測距用の信
号光光源による撮影画面内への投光範囲およびパターン
例を示す図。
FIG. 10 is a diagram showing an example of a light projection range and a pattern example in a shooting screen by each ranging signal light source in the second embodiment.

【図11】上記第2の実施形態の測距装置の測距シーケ
ンスを示すフローチャート。
FIG. 11 is a flowchart showing a distance measuring sequence of the distance measuring apparatus according to the second embodiment.

【図12】本発明の第3の実施形態の測距装置の投光手
段の構成を示すブロック図。
FIG. 12 is a block diagram illustrating a configuration of a light projecting unit of a distance measuring apparatus according to a third embodiment of the present invention.

【図13】上記第3の実施形態において、ラインセンサ
を用いて構成した測距装置の例を示す斜視図。
FIG. 13 is a perspective view showing an example of a distance measuring device configured using a line sensor in the third embodiment.

【図14】上記第3の実施形態において、パターンマス
クに印刷されたパターン例を示す図。
FIG. 14 is a view showing an example of a pattern printed on a pattern mask in the third embodiment.

【図15】上記第3の実施形態において、パターンマス
クによる測距用の信号光の撮影画面内への投光パターン
を示す図。
FIG. 15 is a diagram showing a projection pattern of signal light for distance measurement by a pattern mask into a shooting screen in the third embodiment.

【図16】上記第3の実施形態のカメラ姿勢検出手段の
構成例を示すブロック図。
FIG. 16 is a block diagram showing a configuration example of a camera posture detection unit according to the third embodiment.

【図17】上記第3の実施形態における測距装置の測距
シーケンスを示すフローチャート。
FIG. 17 is a flowchart showing a distance measuring sequence of the distance measuring apparatus according to the third embodiment.

【図18】本発明の第4の実施形態において、受光素子
として(A)ラインセンサ,(B)エリアセンサを用い
た測距装置の構成を示すブロック図。
FIG. 18 is a block diagram showing a configuration of a distance measuring apparatus using a line sensor (A) and an area sensor (B) as light receiving elements in a fourth embodiment of the present invention.

【図19】上記第4の実施形態の測距装置の投光手段の
構成を示す図。
FIG. 19 is a diagram showing a configuration of a light projecting unit of the distance measuring apparatus according to the fourth embodiment.

【図20】上記第4の実施形態における撮影シーンとこ
の撮影シーンに係る被写体像データの例を示す図。
FIG. 20 is a diagram showing an example of a shooting scene and subject image data relating to the shooting scene in the fourth embodiment.

【図21】上記第4の実施形態の測距装置の測距シーケ
ンスを示すフローチャート。
FIG. 21 is a flowchart showing a distance measuring sequence of the distance measuring apparatus according to the fourth embodiment.

【図22】上記第4の実施形態における主要被写体判定
の処理を示すフローチャート。
FIG. 22 is a flowchart showing main subject determination processing according to the fourth embodiment.

【図23】本発明の第5の実施形態における測距装置の
測距シーケンスを示すフローチャート。
FIG. 23 is a flowchart showing a distance measuring sequence of the distance measuring apparatus according to the fifth embodiment of the present invention.

【図24】本発明の第6の実施形態における測距装置の
投光手段の構成を示すブロック図。
FIG. 24 is a block diagram showing a configuration of a light projecting unit of a distance measuring apparatus according to a sixth embodiment of the present invention.

【図25】上記第6の実施形態の測距装置を搭載したカ
メラを示す平面図。
FIG. 25 is a plan view showing a camera equipped with the distance measuring apparatus according to the sixth embodiment.

【図26】上記第6の実施形態において、測距用の信号
光の光源の切換例と投光範囲の切換例とを示す図。
FIG. 26 is a diagram showing an example of switching the light source of the signal light for distance measurement and an example of switching the projection range in the sixth embodiment.

【図27】上記第6の実施形態における測距装置の測距
シーケンスを示すフローチャート。
FIG. 27 is a flowchart showing a distance measuring sequence of the distance measuring apparatus according to the sixth embodiment.

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

101a,101b…受光レンズ 102a,102b…ラインセンサ 107a,107b…エリアセンサ 103…積分制御回路(積分制御手段) 105…CPU(演算手段) 106…投光手段 112a,112b,112c,112d,112e…
LED 123…パターンマスク 122a,122b…遮光マスク 204a,204b,204c,204d,204e…
赤外LED 206…セルフLED 303…LED 302a,302b…パターンマスク 306…カメラ姿勢検出手段 312a,312b,312c,312d…ラインセン
サ 401a,401b…受光レンズ 402a,402b…ラインセンサ 403…積分制御回路(積分制御手段) 406…投光手段 407a,407b…エリアセンサ 408…定常光除去回路 411…ストロボ 414a,414b…遮光マスク 415…パターンマスク 601…ストロボ 604a,604b,604c,604d,604e…
LED 606…セルフLED 608…強制投光設定手段 609…投光光源切換手段 610…投光範囲切換手段
101a, 101b: light receiving lenses 102a, 102b: line sensors 107a, 107b: area sensors 103: integration control circuit (integration control means) 105: CPU (calculation means) 106: light projecting means 112a, 112b, 112c, 112d, 112e ...
LED 123 ... pattern mask 122a, 122b ... light-shielding mask 204a, 204b, 204c, 204d, 204e ...
Infrared LED 206 self LED 303 LED 302a, 302b pattern mask 306 camera attitude detecting means 312a, 312b, 312c, 312d line sensors 401a, 401b light receiving lenses 402a, 402b line sensor 403 integration control circuit ( Integration control means) 406 light emitting means 407a, 407b area sensor 408 stationary light removing circuit 411 strobe 414a, 414b light shielding mask 415 pattern mask 601 strobe 604a, 604b, 604c, 604d, 604e
LED 606 self LED 608 forced light setting means 609 light source switching means 610 light range switching means

フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G03B 7/28 G03B 3/00 A Fターム(参考) 2F065 AA06 DD03 FF01 FF05 FF09 FF12 FF21 GG07 GG08 HH02 HH06 JJ02 JJ03 JJ05 JJ25 JJ26 LL25 LL28 QQ03 QQ14 QQ41 2F112 AC06 BA06 BA20 CA02 DA13 EA07 EA09 EA20 FA03 FA07 FA21 FA29 FA35 FA41 FA45 2H002 DB02 DB24 FB29 GA54 HA01 2H011 AA01 BA05 BB04 DA01 DA08 2H051 BB07 BB10 CB07 CB20 CB22 CC03 CC05 CC06 CC07 CE06 CE08 DA08 DA22 Continued on the front page (51) Int.Cl. 7 Identification code FI Theme coat II (reference) G03B 7/28 G03B 3/00 A F term (reference) 2F065 AA06 DD03 FF01 FF05 FF09 FF12 FF21 GG07 GG08 HH02 HH06 JJ02 JJ03 JJ05 JJ25 JJ26 LL25 LL28 QQ03 QQ14 QQ41 2F112 AC06 BA06 BA20 CA02 DA13 EA07 EA09 EA20 FA03 FA07 FA21 FA29 FA35 FA41 FA45 2H002 DB02 DB24 FB29 GA54 HA01 2H011 AA01 BA05 BB04 DA01 DA08 2H051 BB07 CC03 CC07 DA07

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 被写体像を各結像させる一対の受光レン
ズと、 これらの受光レンズにより結像された一対の被写体像
を、光強度に応じてそれぞれ電気信号に変換する一対の
ラインセンサと、 上記一対のラインセンサの積分制御を行う積分制御手段
と、 上記一対のラインセンサから出力される被写体像データ
に基づいて被写体距離に応じたデータを演算する演算手
段と、 被写体に測距用の信号光を投射する少なくとも一つの投
光手段と、 を具備し、 被写体条件またはカメラの状態に基づいて投光条件を切
り換えるように構成されたことを特徴とする測距装置。
A pair of light receiving lenses for forming a subject image, a pair of line sensors for converting the pair of subject images formed by the light receiving lenses into electric signals in accordance with light intensity, respectively; Integral control means for performing integral control of the pair of line sensors; computing means for computing data corresponding to a subject distance based on subject image data output from the pair of line sensors; and a distance measurement signal for the subject. A distance measuring device, comprising: at least one light projecting means for projecting light, wherein the light projecting condition is switched based on a subject condition or a state of a camera.
【請求項2】 被写体像を各結像させる一対の受光レン
ズと、 これらの受光レンズにより結像された一対の被写体像
を、光強度に応じてそれぞれ電気信号に変換する一対の
エリアセンサと、 上記一対のエリアセンサの積分制御を行う積分制御手段
と、 上記一対のエリアセンサから出力される被写体像データ
に基づいて被写体距離に応じたデータを演算する演算手
段と、 被写体に測距用の信号光を投射する少なくとも一つの投
光手段と、 を具備し、 上記投光手段は、測距用の信号光を投射するときに、撮
影画面内の輝度分布、カメラの姿勢や設定、プリ投光の
反射光分布、被写体のコントラストの少なくとも1つに
応じて、投光パターンの形状、投光範囲、投射光の波長
の少なくとも1つを切り替えて投光を行うものであるこ
とを特徴とする測距装置。
2. A pair of light receiving lenses for forming respective subject images, a pair of area sensors for converting the pair of subject images formed by these light receiving lenses into electric signals in accordance with light intensity, respectively; Integration control means for performing integral control of the pair of area sensors; computing means for calculating data corresponding to a subject distance based on subject image data output from the pair of area sensors; and a distance measurement signal for the subject. And at least one light projecting means for projecting light, wherein the light projecting means, when projecting the signal light for distance measurement, luminance distribution in a photographing screen, posture and setting of a camera, pre-light projecting The light projection is performed by switching at least one of the shape of the light projection pattern, the light projection range, and the wavelength of the projection light in accordance with at least one of the reflected light distribution and the contrast of the subject. Distance measuring device.
【請求項3】 上記ラインセンサまたはエリアセンサに
定常的に入射する定常光を除去する定常光除去手段をさ
らに具備し、 信号光の被写体から反射光のみを積分する機能を具備し
たことを特徴とする請求項1または請求項2に記載の測
距装置。
3. The apparatus according to claim 1, further comprising a stationary light removing means for removing stationary light constantly entering the line sensor or the area sensor, and having a function of integrating only the reflected light from the subject of the signal light. The distance measuring apparatus according to claim 1 or 2, wherein
JP33454699A 1999-11-25 1999-11-25 Range finder Withdrawn JP2001154084A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33454699A JP2001154084A (en) 1999-11-25 1999-11-25 Range finder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33454699A JP2001154084A (en) 1999-11-25 1999-11-25 Range finder

Publications (1)

Publication Number Publication Date
JP2001154084A true JP2001154084A (en) 2001-06-08

Family

ID=18278633

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33454699A Withdrawn JP2001154084A (en) 1999-11-25 1999-11-25 Range finder

Country Status (1)

Country Link
JP (1) JP2001154084A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005241591A (en) * 2004-02-27 2005-09-08 Casio Comput Co Ltd Projection device, and method and program for processing distance measurement
JP2007102244A (en) * 2006-12-06 2007-04-19 Casio Comput Co Ltd Projection apparatus, and method and program for ranging processing
JP2008232776A (en) * 2007-03-20 2008-10-02 Fujifilm Corp Three-dimensional shape measuring device and method, and program
JP2009243921A (en) * 2008-03-28 2009-10-22 Yamatake Corp Imaging device and three-dimensional shape measuring device
JP2010026212A (en) * 2008-07-18 2010-02-04 Mitsutoyo Corp Autofocus device
JP2010044316A (en) * 2008-08-18 2010-02-25 Hoya Corp Camera
JP2010281665A (en) * 2009-06-04 2010-12-16 Yamaha Motor Co Ltd Phase shift imaging device, component transfer device, and phase shift imaging method
JP2012098087A (en) * 2010-10-29 2012-05-24 Canon Inc Measurement device and measurement method
JP2018204994A (en) * 2017-05-31 2018-12-27 株式会社キーエンス Image inspection device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005241591A (en) * 2004-02-27 2005-09-08 Casio Comput Co Ltd Projection device, and method and program for processing distance measurement
JP2007102244A (en) * 2006-12-06 2007-04-19 Casio Comput Co Ltd Projection apparatus, and method and program for ranging processing
JP4556944B2 (en) * 2006-12-06 2010-10-06 カシオ計算機株式会社 Projection apparatus, distance measurement processing method, and program
JP2008232776A (en) * 2007-03-20 2008-10-02 Fujifilm Corp Three-dimensional shape measuring device and method, and program
JP2009243921A (en) * 2008-03-28 2009-10-22 Yamatake Corp Imaging device and three-dimensional shape measuring device
JP2010026212A (en) * 2008-07-18 2010-02-04 Mitsutoyo Corp Autofocus device
JP2010044316A (en) * 2008-08-18 2010-02-25 Hoya Corp Camera
JP2010281665A (en) * 2009-06-04 2010-12-16 Yamaha Motor Co Ltd Phase shift imaging device, component transfer device, and phase shift imaging method
JP2012098087A (en) * 2010-10-29 2012-05-24 Canon Inc Measurement device and measurement method
JP2018204994A (en) * 2017-05-31 2018-12-27 株式会社キーエンス Image inspection device

Similar Documents

Publication Publication Date Title
EP2431806B1 (en) Imaging apparatus and method for controlling the same
JPH10311999A (en) Camera
JP3585291B2 (en) Automatic focusing device
JP2005107213A (en) Automatic focusing device for camera
JP4504031B2 (en) Camera system
US20020021897A1 (en) Multi-point autofocus system
JP2001154084A (en) Range finder
JP2004354873A (en) Flash controller and flash control system
US5515131A (en) Optical apparatus having a function of inputting data of a visual axis
US5870637A (en) Auxiliary light emitting device and focusing condition detecting device
US7321725B2 (en) Light-amount control device for photographing
JP4512173B2 (en) Ranging device
JP2006119454A (en) Imaging apparatus and photometry method for imaging apparatus
JP2001083563A (en) Camera
JP2004179868A (en) Electronic camera with automatic focus adjustment function
JP2006010815A (en) Camera capable of superimposing display
KR100244951B1 (en) Passive auto-focus control apparatus and method having variableness to area of distance measuring
JP2008203407A (en) Imaging apparatus, lens device and imaging system
JP3793403B2 (en) Ranging device
JP3831422B2 (en) Camera with dimmer
JP3645800B2 (en) Ranging device
JP4169524B2 (en) camera
JP3229982B2 (en) Camera capable of split metering
KR100838221B1 (en) apparatus for multiphotographing of photographing apparatus and control method thereof
JP2005128197A (en) Flash light control 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: 20070206