JPH0781857B2 - Camera rangefinder - Google Patents

Camera rangefinder

Info

Publication number
JPH0781857B2
JPH0781857B2 JP60087895A JP8789585A JPH0781857B2 JP H0781857 B2 JPH0781857 B2 JP H0781857B2 JP 60087895 A JP60087895 A JP 60087895A JP 8789585 A JP8789585 A JP 8789585A JP H0781857 B2 JPH0781857 B2 JP H0781857B2
Authority
JP
Japan
Prior art keywords
light
slit
distance
subject
sensor
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.)
Expired - Fee Related
Application number
JP60087895A
Other languages
Japanese (ja)
Other versions
JPS61246613A (en
Inventor
豊 吉田
倫生 長
広和 横尾
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP60087895A priority Critical patent/JPH0781857B2/en
Publication of JPS61246613A publication Critical patent/JPS61246613A/en
Publication of JPH0781857B2 publication Critical patent/JPH0781857B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Automatic Focus Adjustment (AREA)
  • Measurement Of Optical Distance (AREA)
  • Focusing (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、カメラの測距装置に関するものである。The present invention relates to a distance measuring device for a camera.

〔従来の技術〕[Conventional technology]

測距範囲を画面の中央部で横長にすることにより、プレ
フォーカスを不要にし、かつ構図を自由に決定すること
ができるようにした測距装置が、例えば特開昭59−1298
09号に記載されている。この測距装置は、撮影画面の中
央部を横長な帯状に投光する投光部と、この投光部から
投光された光束の幅に応じて横に長くした複数の受光素
子をライン状に配列してなるラインセンサーとを用いた
ものである。投光部は、横長な近赤外光を被写体に向け
て投光し、この被写体で反射されて戻ってきた近赤外光
をラインセンサーで受光する。このラインセンサーの出
力は、コンパレータからなる二値化回路に送られ、一定
なスレッシュホールドレベルと比較され、近赤外光があ
る程度入射している時には「1」となり、そうでない時
には「0」となる二値化信号が出力される。この二値化
信号は、論理回路に送られ、撮影距離が異なった被写体
が2個以上存在している場合には、最も近距離にある被
写体の二値化信号が取り出され、この二値化信号が出力
された端子位置に応じて撮影レンズが位置決めされる。
For example, Japanese Patent Laid-Open No. 59-1298 discloses a distance measuring device in which the focusing range is made horizontally long at the center of the screen to eliminate the need for prefocus and to freely determine the composition.
It is described in No. 09. This range finder has a line-shaped light projecting unit that projects the central part of the photographic screen in a horizontally long strip shape, and a plurality of light receiving elements that are laterally elongated according to the width of the light beam projected from the light projecting unit. And a line sensor arranged in a line. The light projecting unit projects a horizontally long near-infrared light toward a subject, and the near-infrared light reflected and returned by the subject is received by a line sensor. The output of this line sensor is sent to a binarization circuit consisting of a comparator and compared with a constant threshold level, and becomes "1" when near infrared light is incident to some extent, and "0" otherwise. Then, the binarized signal is output. This binarized signal is sent to a logic circuit, and when there are two or more subjects with different shooting distances, the binarized signal of the closest subject is taken out, and this binarized signal is extracted. The taking lens is positioned according to the terminal position where the signal is output.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

しかし、この測距装置では、投光部がカメラボディの横
方向の延びた横長な光束を被写体に投光し、そして細長
なラインセンサーがカメラボディの縦方向に配列されて
いるために、例えば人物が複数人並んでいるシーンの場
合に、カメラ姿勢が横位置では支障がないが、カメラ姿
勢を縦位置にした場合には、測距を行うことができない
という問題があった。
However, in this distance measuring device, the light projecting unit projects a horizontally elongated light beam extending in the lateral direction of the camera body onto the subject, and the elongated line sensors are arranged in the vertical direction of the camera body. In a scene in which a plurality of people are lined up, there is no problem if the camera posture is in the horizontal position, but there is a problem that distance measurement cannot be performed when the camera posture is in the vertical position.

本発明は、カメラ姿勢が横位置であっても縦位置であっ
ても正しく測距することができるようにしたカメラの測
距装置を提供することを目的とするものである。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a distance measuring device for a camera, which can accurately measure the distance whether the camera is in a horizontal position or a vertical position.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、異なった2方向例えばカメラボディの横方向
と縦方向にそれぞれ延びたスリット状光束を投光する投
光部と、前記2方向に沿って分割された複数のピクセル
を有する少なくとも1個のセンサーとを設けたものであ
る。
The present invention provides at least one light projecting unit that projects a slit-shaped light beam extending in two different directions, for example, a horizontal direction and a vertical direction of a camera body, and a plurality of pixels divided along the two directions. It is provided with a sensor.

前記センサーとしては、複数のピクセルを二次元的に配
置した1個のエリヤセンサー、又は異なった方向に配列
された横長の2個のラインセンサーが用いられる。エリ
ヤセンサーを用いる場合には、行及び列方向にグレープ
化し、それにより例えば細長のピクセルを縦方向と横方
向にそれぞれ配列した2個のラインセンサーと同じよう
に取り扱われる。これらのセンサーとしては、CCD,MOS
型等を用いることができる。
As the sensor, one area sensor in which a plurality of pixels are two-dimensionally arranged or two horizontally long line sensors arranged in different directions is used. When the area sensor is used, it is treated in the row and column directions so that it can be treated in the same manner as two line sensors in which elongate pixels are arranged in the vertical direction and the horizontal direction, respectively. For these sensors, CCD, MOS
A mold or the like can be used.

前記ピクセルの一辺に対してスリット状光束の幅が広い
場合には、2種類のスリット状光束を別々に発光させる
ことが必要である。この2種類のスリット状光束を別々
に投光する場合には、横長なスリットを90度回転させる
か、あるいは十字形又はX字形スリットの背後に配置し
た棒状光源を90度回転させることが必要である。または
十字形またはX字形スリットの背後に2個の棒状光源を
十字形又はX字形に配置し、これらの棒状光源を順次発
光させてもよい。
When the width of the slit-shaped light flux is wider than one side of the pixel, it is necessary to separately emit two types of slit-shaped light flux. When projecting these two types of slit-shaped light beams separately, it is necessary to rotate the oblong slit by 90 degrees or rotate the rod-shaped light source placed behind the cross-shaped or X-shaped slit by 90 degrees. is there. Alternatively, two rod-shaped light sources may be arranged in the shape of a cross or an X behind the cross-shaped or X-shaped slit, and these rod-shaped light sources may sequentially emit light.

前記2種類のスリット状光束の幅がピクセルの1辺に比
べて狭い場合には、このスリット状光束と直交する方向
に例えば横方向にグループ化したときの各列方向の出力
が小さいのでその影響を殆ど受けることがない。したが
って、幅の狭いスリット状光束を用いる場合には、2種
類のスリット状光束を同時に投光することができる。
When the widths of the two kinds of slit-shaped light fluxes are narrower than one side of the pixel, the output in each column direction is small when grouped in the direction orthogonal to the slit-shaped light fluxes, for example, in the lateral direction, so that influence Receive almost no Therefore, when a narrow slit-shaped light beam is used, two types of slit-shaped light beams can be simultaneously projected.

被写体距離の決定は、ラインセンサーの場合には、各セ
ンサーから出力された2種類の信号を用い、またエリヤ
センサーの場合には行及び列方向にグループ化した2種
類の出力を用いて被写体距離をそれぞれ算出し、得られ
た2個の被写体距離のうち最も近距離のものを優先させ
たり、出力がもっとも高いグループを優先させたり、2
つのグループの出力を加重平均した値等によって行うこ
とができる。
The object distance is determined by using two kinds of signals output from each sensor in the case of a line sensor, and by using two kinds of outputs grouped in the row and column directions in the case of an area sensor. Of the two obtained subject distances, the one with the shortest distance is prioritized, the group with the highest output is prioritized, or
The output of one group can be calculated by a weighted average value.

以下、図面を参照して本発明の実施例について詳細に説
明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

〔実施例〕〔Example〕

第1図において、カメラボディ1は、その前面のほぼ中
央部に撮影レンズ2が固定されており、また上部にファ
インダ3とストロボ発光部4とが配置され、そしてカメ
ラボディ1の上にレリーズボタン5が設けられている。
このレリーズボタン5を半押しすると測距が行われ、更
にレリーズボタン5を押下すると、測距結果に応じて影
響レンズ2がセットされ、その直後にシャッタが作動す
る。前記撮影レンズ2の斜め上方には、カメラボディ1
の縦方向及び横方向に延びた細長のスリット状光束を投
光する投光部6が配置されており、縦方向及び横方向の
スリット状光束を別々に、あるいは同時に被写体に向け
て投光する。また、撮影レンズ2の斜め下方には、投光
部6から基線長Lだけ離れた位置に横及び縦方向に分割
された複数のピクセルを有するエリヤセンサー7が配置
されている。この基線長Lは、撮影レンズ2の光軸を横
切り、かつ45度に傾いており、それにより測距装置と撮
影レンズ2とのパララックスの発生を防止している。
In FIG. 1, a camera body 1 has a taking lens 2 fixed to the front surface thereof in a substantially central portion thereof, a viewfinder 3 and a stroboscopic light emitting section 4 disposed on an upper portion thereof, and a release button on the camera body 1. 5 are provided.
When the release button 5 is pressed halfway, distance measurement is performed, and when the release button 5 is further pressed, the influencing lens 2 is set according to the distance measurement result, and the shutter is operated immediately after that. The camera body 1 is diagonally above the photographing lens 2.
The light projecting section 6 for projecting the elongated slit-shaped light fluxes extending in the vertical and horizontal directions is arranged, and the slit-shaped light fluxes in the vertical and horizontal directions are separately or simultaneously projected to the subject. . An area sensor 7 having a plurality of pixels divided in the horizontal and vertical directions is disposed diagonally below the photographing lens 2 at a position separated from the light projecting unit 6 by a base line length L. The base line length L intersects the optical axis of the taking lens 2 and is inclined at 45 degrees, thereby preventing the parallax between the distance measuring device and the taking lens 2.

第2図は投光部の一例を示すものである。光源として
は、近赤外光を放出する発光ダイオード10が用いられ、
その前方に液晶パネル11と投光用レンズ12とが配置され
ている。この液晶パネル11にはスリットX,Yの電極パタ
ーンが形成されており、これらを順次透明にすることに
より、横方向に延びたスリット状光束Sxと、縦方向に延
びたスリット状光束Sy(第4図参照)を被写体に向けて
投光する。なお、液晶パネル11の代わりに、1個のスリ
ットを形成したスリット板を用い、これを90度回転させ
てもよい。また、スリット状光束SxとSyは、90度よりも
小さい角度でX字形に交叉させてもよい。
FIG. 2 shows an example of the light projecting section. As the light source, a light emitting diode 10 that emits near infrared light is used,
A liquid crystal panel 11 and a projection lens 12 are arranged in front of it. Electrode patterns of slits X and Y are formed on the liquid crystal panel 11, and by sequentially making them transparent, a slit-like light beam Sx extending in the horizontal direction and a slit-like light beam Sy extending in the vertical direction (first Project the light toward the subject (see Fig. 4). Instead of the liquid crystal panel 11, a slit plate having one slit may be used and rotated by 90 degrees. Further, the slit-shaped light beams Sx and Sy may be crossed in an X shape at an angle smaller than 90 degrees.

第3図は本発明の測距装置の一例を示すものであり、第
1図及び第2図に示すものと同じものには同じ符号が付
してある。前記レリーズボタン5が押下されると、レリ
ーズスイッチ20がONし、マイクロコンピュータ21に測距
スタート信号を送る。このマイクロコンピュータ21は、
ROMに格納されたプログラムにしたがって所定のシーケ
ンス制御を実行する。クロックパルス発生器22は、発生
したクロックパルスをドライバ23に送ってエリヤセンサ
ー24を駆動する。このエリヤセンサー24の前にレンズ25
が配置されており、被写体からの反射光をエリヤセンサ
ー24に結像される。前記エリヤセンサー24としては、赤
外域の感度を持ったCCD,MOS型の蓄積型イメージエリヤ
センサーが用いられている。第4図に示すように、ピク
セルP11〜Pnnがn行n列に配置されている。これらの各
列又は各行1〜nのうちn列のものはもっとも近距離に
ある被写体からの反射光を受光する。このように、ピク
セルP11〜Pnnの行及び列をスリット状光束x,yが延びた
方向に合わせておくことによって、スリット状光束x,y
を被写体に照射したときにエリヤセンサー24に入射した
反射光の位置を求める際に、エリヤセンサー24からの出
力をピクセル配列の行単位,列単位で簡単な加算処理を
行えば済むようになり、また測距精度を維持する上でも
有利である。なお、可視光の影響を除くために可視光カ
ットフイルタをエリヤセンサー24の受光面に取り付ける
のが望ましい。
FIG. 3 shows an example of the distance measuring device of the present invention. The same parts as those shown in FIGS. 1 and 2 are designated by the same reference numerals. When the release button 5 is pressed, the release switch 20 is turned on and a distance measurement start signal is sent to the microcomputer 21. This microcomputer 21
Predetermined sequence control is executed according to the program stored in ROM. The clock pulse generator 22 sends the generated clock pulse to the driver 23 to drive the area sensor 24. Lens 25 in front of this area sensor 24
Are arranged, and the reflected light from the subject is imaged on the area sensor 24. As the area sensor 24, a CCD or MOS storage type image area sensor having sensitivity in the infrared region is used. As shown in FIG. 4, pixels P11 to Pnn are arranged in n rows and n columns. Each of these columns or each of the n columns of the rows 1 to n receives the reflected light from the subject at the shortest distance. Thus, by aligning the rows and columns of the pixels P11 to Pnn with the direction in which the slit-shaped light flux x, y extends, the slit-shaped light flux x, y
When the position of the reflected light that has entered the area sensor 24 when the subject is illuminated with, the output from the area sensor 24 can be simply added in row and column units of the pixel array. It is also advantageous in maintaining the distance measurement accuracy. A visible light cut filter is preferably attached to the light receiving surface of the area sensor 24 in order to eliminate the influence of visible light.

前記エリヤセンサー24の各ピクセルから読み出された時
系列信号は、アンプ26で増幅されてから、A/D変換器27
でデジタル信号Dijに変換されてマイクロコンピュータ2
1のRAMに取り込まれる。このマイクロコンピュータ21
は、ドライバ30を介して、近赤外光を放出する発光ダイ
オード10を駆動し、またドライバ31を介して液晶パネル
11を駆動する。さらに、ドライバ32を介してモータ33の
回転方向と、回転量を制御して撮影レンズ2をピントが
合った位置へ移動する。
The time series signal read from each pixel of the area sensor 24 is amplified by the amplifier 26, and then the A / D converter 27.
Converted to digital signal Dij by microcomputer 2
Captured in RAM 1 This microcomputer 21
Drives the light emitting diode 10 which emits near-infrared light through the driver 30, and the liquid crystal panel through the driver 31.
Drive 11 Further, the photographing lens 2 is moved to the in-focus position by controlling the rotation direction and the rotation amount of the motor 33 via the driver 32.

第5図は2種類のスリット状光束を別々に投光する場合
のデータの取り込みを示すものである。レリーズボタン
5が押下されると、マイクロコンピュータ21は、液晶パ
ネル11を駆動してカメラボディ1の縦方向に延びたスリ
ットYを透明にし、この状態で発光ダイオード10を発光
させる。被写体で反射された光は、レンズ25を介してエ
リヤセンサー24に結像される。この反射光は、被写体の
距離及びスリット状光束Syでの位置に対応したピクセル
に入射する。このエリヤセンサー24は、入射光を光電変
換し、得られた信号電荷を蓄積する。この電荷蓄積後
に、ドライバ23からのクロックパルスで各ピクセルの信
号電荷の転送と読出しとが行われる。各ピクセルから読
み出した時系列信号は、アンプ26で増幅された後に、A/
D変換器27でデジタル信号Dijに変換されてから、ドライ
バ23からの同期信号をアドレスとしてマイクロコンピュ
ータ21に取り込まれる。この信号Dijは、ピクセルの列
ごとに加算してn個のピクセル列信号Dijを算出する。
例えば、j=1となるピクセル列信号D1は、ピクセルP1
1,P21,・・Pn1の各出力を加算したものである。
FIG. 5 shows data acquisition when two types of slit-shaped light beams are separately projected. When the release button 5 is pressed, the microcomputer 21 drives the liquid crystal panel 11 to make the slit Y extending in the vertical direction of the camera body 1 transparent, and causes the light emitting diode 10 to emit light in this state. The light reflected by the subject is imaged on the area sensor 24 via the lens 25. This reflected light is incident on the pixel corresponding to the distance to the subject and the position in the slit-shaped light flux Sy. The area sensor 24 photoelectrically converts incident light and accumulates the obtained signal charge. After this charge accumulation, the signal charge of each pixel is transferred and read by the clock pulse from the driver 23. The time-series signal read from each pixel is amplified by the amplifier 26 and then A /
After being converted into a digital signal Dij by the D converter 27, the synchronizing signal from the driver 23 is taken into the microcomputer 21 as an address. This signal Dij is added for each pixel column to calculate n pixel column signals Dij.
For example, the pixel column signal D1 with j = 1 is the pixel P1
The output of 1, P21, ..., Pn1 is added.

次に、マイクロコンピュータ21は、スリットXを透明に
し、この状態で発光ダイオード10を発光させ、そして被
写体からの反射光を受光したエリヤセンサー24の各ピク
セルの出力を順次読み出す。この読み出した時系列信号
は、増幅された後にデジタル信号Dijに変換されてから
マイクロコンピュータ21に取り込む。この信号Dijを行
毎に加算してピクセル行信号Diを算出する。例えば、i
=1となるピクセル行信号D1は、ピクセルP11,P12,・・
P1nの各出力を加算したものである。
Next, the microcomputer 21 makes the slit X transparent, makes the light emitting diode 10 emit light in this state, and sequentially reads the output of each pixel of the area sensor 24 that receives the reflected light from the subject. The read time-series signal is amplified and then converted into a digital signal Dij before being taken into the microcomputer 21. This signal Dij is added row by row to calculate the pixel row signal Di. For example, i
Pixel row signal D1 with = 1 is pixel P11, P12, ...
It is the sum of the outputs of P1n.

前記スリット状光束Sx,Syの幅が極めて細い場合には、
例えばスリット状光束Sxによる反射光がピクセル列信号
Djに影響を及ぼしてもその値が小さい。したがって、そ
の影響が少ないので、スリット状光束Sx,Syを同時に投
光することが可能である。この場合には、第6図に示す
ように、前記発光ダイオード10の前に、十字形スリット
40aを形成したスリット板40が配置される。第7図は同
時発光の場合のデータ取込みを示すものである。発光ダ
イオード10が発光すると、十字形をしたスリット状光束
が被写体に向けて投光され、その反射光がエリヤセンサ
24に入射して光電変換される。このエリヤセンサー24の
各ピクセルに蓄積された信号は順次読み出され、増幅及
びデジタル変換され、得られた信号Dijがマイクロコン
ピュータ21に取り込まれる。このマイクロコンピュータ
21は、信号Dijを列毎に加算してピクセル列信号Djを算
出し、また信号Dijを行毎に加算してピクセル行信号Di
を算出する。
When the width of the slit-shaped light flux Sx, Sy is extremely narrow,
For example, the reflected light from the slit-shaped light beam Sx is the pixel column signal.
Even if it affects Dj, its value is small. Therefore, since the influence thereof is small, it is possible to project the slit-shaped light beams Sx and Sy at the same time. In this case, as shown in FIG. 6, a cross-shaped slit is provided in front of the light emitting diode 10.
A slit plate 40 forming 40a is arranged. FIG. 7 shows data acquisition in the case of simultaneous light emission. When the light emitting diode 10 emits light, a cross-shaped slit light beam is projected toward the subject, and the reflected light is an area sensor.
It is incident on 24 and photoelectrically converted. The signal accumulated in each pixel of the area sensor 24 is sequentially read, amplified and digitally converted, and the obtained signal Dij is taken into the microcomputer 21. This microcomputer
21 calculates the pixel column signal Dj by adding the signal Dij for each column, and adds the signal Dij for each row to obtain the pixel row signal Di.
To calculate.

前述した手順により算出した信号Dj,Diから被写体距離
を検出するものであるが、この被写体距離の検出には、
後述するように各種の方法がある。なお、撮影レンズ2
は、無限遠からスタートしてnステップで最短距離に達
する。また、エリヤセンサー24に反射光が入射しなかっ
た場合には、撮影レンズ2が繰り出されない。この場合
には、撮影レンズ2のピントが無限遠に合っている。
The object distance is detected from the signals Dj and Di calculated by the procedure described above.
There are various methods as described later. The taking lens 2
Starts at infinity and reaches the shortest distance in n steps. If the reflected light does not enter the area sensor 24, the taking lens 2 is not extended. In this case, the photographing lens 2 is in focus at infinity.

第8図は近距離側にある被写体に合焦させるようにした
測距モード1を示すものであり、幅が比較的広いスリッ
トを通して2種類のスリット状光束を投光する場合に適
している。勿論、幅が極めて狭い十字形のスリットを通
して十字形のスリット状光束を投光する場合にも利用す
ることができるものである。まず、マイクロコンピュー
タ21は、ピクセル列信号DjをROMから順次読み出す。こ
の読出しは、遠距離側のピクセル列の信号D1からDnに向
かって順次読み出され、そして第9図に示すスレッシュ
ホールドレベルSと比較される。このスレッシュホール
ドレベルSとの比較は、撮影シーンに存在する近赤外光
の影響を除くためである。
FIG. 8 shows a distance measuring mode 1 in which an object at a short distance side is focused, and is suitable for projecting two kinds of slit-shaped light fluxes through a slit having a relatively wide width. Of course, it can also be used when projecting a cross-shaped slit-shaped light beam through a cross-shaped slit having an extremely narrow width. First, the microcomputer 21 sequentially reads the pixel column signal Dj from the ROM. This reading is sequentially read from the signals D1 to Dn of the pixel column on the far side, and is compared with the threshold level S shown in FIG. The comparison with the threshold level S is to remove the influence of near infrared light existing in the shooting scene.

前記比較中に、ピクセル列信号Djがスレッシュホールド
レベルSよりも大きいと判定された場合は、その信号を
出力したピクセル列に属するいずれか1つのピクセルに
被写体からの反射光が入射していた時である。この場合
には、そのピクセル列の番号がj1として取り出される。
更に継続して比較を行い、今度はピクセル列信号Djがス
レッシュホールドレベルSよりも小さくなる列を検出
し、これをj2とする。この2種類の比較は、第9図に示
すように、同一の被写体からの反射光が入射しているピ
クセル列の範囲を検出するものであり、しかもこの比較
が近距離側から行われるから近距離にある被写体Aが優
先されることになる。次に、この近距離が位置している
被写体Aからの反射光が入射している中間位置Ljを算出
する。例えば第10列目から第6列目までに被写体Aから
の反射光が入射している場合には、第8列目が中間位置
Ljとなる。
During the comparison, when it is determined that the pixel column signal Dj is larger than the threshold level S, when the reflected light from the subject is incident on any one of the pixels belonging to the pixel column that output the signal. Is. In this case, the pixel column number is extracted as j1.
The comparison is further continued, and this time, a column in which the pixel column signal Dj becomes smaller than the threshold level S is detected, and this is designated as j2. As shown in FIG. 9, these two types of comparisons detect the range of pixel rows in which the reflected light from the same subject is incident, and since this comparison is performed from the near side, The subject A in the distance is prioritized. Next, the intermediate position Lj where the reflected light from the subject A located at this short distance is incident is calculated. For example, when the reflected light from the subject A enters from the 10th row to the 6th row, the 8th row shows the intermediate position.
It becomes Lj.

次に、ピクセル行信号Diを順次取り出し、スペッシュホ
ールドレベルSと比較し、最も近距離に位置している被
写体からの反射光が入射しているピクセル行の範囲を検
出し、その中間位置Liを算出する。こうして求めた列方
向と行方向の中間位置Lj,Liのうち、どちらが近距離位
置であるかを判定する。例えばLjが「8」であり、Liが
「6」の場合には、Ljが優先され、撮影レンズ2が無限
遠から数えて8ステップだけシフトした位置にセットさ
れる。なお、Lj、Liがいずれも「0」の場合には、ステ
ッツ数が「0」となる。
Next, the pixel row signal Di is sequentially extracted and compared with the threshold level S to detect the range of the pixel row on which the reflected light from the object located at the closest distance is incident, and the intermediate position Li To calculate. It is determined which of the intermediate positions Lj, Li in the column direction and the row direction thus obtained is the short distance position. For example, when Lj is "8" and Li is "6", Lj is prioritized and the photographing lens 2 is set at a position shifted by 8 steps from infinity. When both Lj and Li are “0”, the Stetz number is “0”.

第10図は最も近距離側にある被写体を検出し、この被写
体からの反射光が最も強いピクセル列又はピクセル行か
ら合焦するようにした測距モード2を示すものである。
ここで反射光が最も強いピクセル行又は列に対応する距
離で合焦させるのは、反射光が強い行又は列に対応する
距離の被写体が画面内で最も多くの面積を占めていると
考えられるからである。この測距モードでは、ピクセル
列信号Djの平均値Avを算出し、近距離側のピクセル列の
出力から順番に平均値Avと比較し、この平均値Avよりも
ピクセル列信号Djが大きくなるピクセル列j1を検出す
る。次に、平均値Avよりも出力が小さいピクセル列j2を
算出する。これらのピクセル列j1からj2のうち、ピーク
値Djpとなるピクセル列jpを検出する。このピーク値Djp
の算出手順は第11図に示されている。なお、第9図の場
合には、測距モード1よりも1個遠距離側にあるピクセ
ル列がピーク値Djpとなっている。
FIG. 10 shows a distance measuring mode 2 in which an object at the closest distance side is detected and the pixel row or pixel row in which the reflected light from the object is the strongest is focused.
Focusing at a distance corresponding to the row or column of pixels with the strongest reflected light is considered to be because the object at the distance corresponding to the row or column with the strongest reflected light occupies the largest area in the screen. Because. In this distance measurement mode, the average value Av of the pixel column signal Dj is calculated, and the average value Av is sequentially compared from the output of the pixel column on the short distance side, and the pixel column signal Dj becomes larger than this average value Av. Find column j1. Next, the pixel column j2 whose output is smaller than the average value Av is calculated. Among these pixel columns j1 to j2, the pixel column jp having the peak value Djp is detected. This peak value Djp
The calculation procedure of is shown in FIG. In the case of FIG. 9, the pixel row located one distance away from the distance measurement mode 1 has the peak value Djp.

同様にしてピクセル行信号Diの平均値Avを求め、近距離
のピクセル行から順番に出力Diを順次読み出して平均値
Avと比較し、最も近距離にある被写体を検出するととも
に、そのピーク値Dipとなるピクセル行ipを検出する。
次に、列方向の信号のピーク値Djpと、行方向のピーク
値Dipとを比較し、大きい方のピーク値となるピクセル
列又は行を検出する。例えば、最大ピーク値がjpであ
り、その値が「4」ならば、遠距離側から4ステップだ
けシフトした位置に撮影レンズ2をセットする。
Similarly, find the average value Av of the pixel row signal Di, read out the output Di sequentially from the pixel row of the short distance, and average the average value.
Compared with Av, the object at the shortest distance is detected, and the pixel row ip having the peak value Dip is detected.
Next, the peak value Djp of the signal in the column direction is compared with the peak value Dip in the row direction to detect the pixel column or row having the larger peak value. For example, if the maximum peak value is jp and the value is "4", the taking lens 2 is set at a position shifted by 4 steps from the far distance side.

第12図は各ピクセル列又は行の出力を近距離ほど大きい
重み付けをして加重平均を求め、この加重平均に応じて
合焦するようにした測距モードを示すものである。ピク
セル列信号Djに重み係数Kjを掛けてその加重平均Ljを算
出する。この係数Kjは、第13図に示すように近距離側ほ
どその値が大きくなっている。ここで近距離ほど大きい
重みを付けるのは、近距離にある被写体の方が主要被写
体である確率が高いからである。同様に、ピクセル行信
号Diに重み係数Kiを掛けてその加重平均Liを算出する。
こうして得た加重平均LjとLiとを加算して数値Lを算出
する。第14図に示すように、算出した数値Lに応じて無
限遠からlステップだけシフトした位置に撮影レンズ2
をセットする。
FIG. 12 shows a distance measurement mode in which the output of each pixel column or row is weighted more as the distance is closer to obtain a weighted average, and focusing is performed according to the weighted average. The weighted average Lj is calculated by multiplying the pixel column signal Dj by the weighting coefficient Kj. As shown in FIG. 13, the coefficient Kj has a larger value on the closer side. The closer the distance is, the greater the weight is because the subject at the closer distance has a higher probability of being the main subject. Similarly, the pixel row signal Di is multiplied by the weighting coefficient Ki to calculate its weighted average Li.
The weighted average Lj and Li thus obtained are added to calculate a numerical value L. As shown in FIG. 14, the taking lens 2 is moved to a position shifted by 1 step from infinity according to the calculated value L.
Set.

第15図はエリヤセンサーの出力のうちピーク値となるピ
クセル列又は行の位置に応じて合焦するようにした実施
例を示すものである。ピクセル列信号Djのうち最大値
(ピーク値)となるピクセル列jpと、その値Djpとを検
出する。同様に、ピクセル行信号Diについてもピーク値
Dipと、これを出力するピクセル行ipとを検出する。こ
れらの2個のピーク値DjpとDipとを比較して大きい方を
選択する。例えばピクセル列のピーク値Dipの方が大き
く、そしてこのピーク値Djpを出力したピクセル列が、
例えば第4列目の場合には、無限遠から4ステップだけ
近距離側にシフトしたレンズ位置に撮影レンズ2を位置
決めするものである。
FIG. 15 shows an embodiment in which the focus is adjusted according to the position of the pixel column or row which becomes the peak value in the output of the area sensor. The pixel row jp having the maximum value (peak value) in the pixel row signal Dj and its value Djp are detected. Similarly, for the pixel row signal Di, the peak value
Detect Dip and the pixel row ip that outputs it. These two peak values Djp and Dip are compared and the larger one is selected. For example, the peak value Dip of the pixel row is larger, and the pixel row that outputs this peak value Djp is
For example, in the case of the fourth row, the taking lens 2 is positioned at the lens position shifted from infinity to the short distance side by 4 steps.

第16図ないし第20図は5種類の撮影シーンをサンプルと
して取り出し、エリヤセンサー24への被写体からの反射
光の入射状態と、信号Dj,Diの波形を示すものである。
これらのサンプルに対して、前述した測距モード1〜4
を適用した場合に、合焦される被写体は次の表の通りで
ある。なお、この第16図ないし第20図はカメラ姿勢が横
位置である。しかし、カメラ姿勢が縦位置の場合には、
信号Djと信号Diとが入れ換わるだけであるから、合焦位
置が変わることはない。
FIGS. 16 to 20 show five kinds of photographing scenes as samples, and show the incident state of the reflected light from the subject to the area sensor 24 and the waveforms of the signals Dj and Di.
The distance measurement modes 1 to 4 described above are applied to these samples.
The subject to be focused when is applied is as shown in the following table. It should be noted that the camera posture is horizontal in FIGS. 16 to 20. However, if the camera pose is vertical,
Since only the signals Dj and Di are exchanged, the focus position does not change.

第21図は2個のラインセンサーを用いた実施例を示すも
のである。この実施例では、基線長L1,L2がカメラボデ
ィ1の横方向及び縦方向に延びており、各基線長L1,L2
と直交する方向に縦長となった2個のラインセンサー4
2,43がカメラボディ1の前面にそれぞれ配置されてい
る。この実施例では、2個のラインセンサーから信号D
j,Diを直接得ることができるから、信号処理が簡単にな
るという利点がある。なお、測距手段は、エリヤセンサ
ーと同じであるから、その説明を省略する。
FIG. 21 shows an embodiment using two line sensors. In this embodiment, the base line lengths L1 and L2 extend in the horizontal direction and the vertical direction of the camera body 1, and the respective base line lengths L1 and L2.
Two line sensors that are vertically long in the direction orthogonal to
2, 43 are arranged on the front surface of the camera body 1, respectively. In this embodiment, the signal D from the two line sensors
Since j and Di can be directly obtained, there is an advantage that the signal processing becomes simple. Since the distance measuring means is the same as the area sensor, its explanation is omitted.

〔発明の効果〕〔The invention's effect〕

上記構成を有する本発明は、一回又は二回発光によって
十字形又はX字形のスリット状光束を被写体に向けて投
光するとともに、被写体で反射された光を受光するため
に、前記スリット状光束の方向に沿って分割したエリヤ
センサー又は2個のラインセンサーを用いたから、カメ
ラ姿勢が横位置であっても縦位置であっても正しく測距
を行うことができる。
According to the present invention having the above-mentioned configuration, the slit-shaped light flux is projected in order to project a cross-shaped or X-shaped slit-shaped light flux toward a subject by emitting light once or twice and to receive light reflected by the subject. Since the area sensor or the two line sensors divided along the direction of is used, the distance can be correctly measured whether the camera is in the horizontal position or the vertical position.

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

第1図は本発明を実施したカメラの正面図である。 第2図は投光部の一例を示す斜視図である。 第3図は本発明の測距装置の実施例を示すブロック図で
ある。 第4図は撮影画面とエリヤセンサーとの関係を示す説明
図である。 第5図と2種類のスリット状光束を別々に投光した場合
のデータ取込みの手順を示すフローチャートである。 第6図は十字形のスリット状光束を投光する投光部の一
例を示す斜視図である。 第7図は十字形のスリット状光束を用いた場合のデータ
取込み手順を示すフローチャートである。 第8図は最も近距離にある被写体からの反射光を受光し
た複数のピクセル列又は行のうちその中間にあるピクセ
ル列又は行を検出して合焦する測距モードを示すフロー
チャートである。 第9図は第8図に示す測距モードで合焦される位置を示
すグラフである。 第10図は最も近距離にある被写体からの反射光を受光し
た複数のピクセル列又は行のうちピーク値となるものを
検出して合焦する測距モードを示すフローチャートであ
る。 第11図は第10図のピーク値検出のサブルーチンを示すフ
ローチャートである。 第12図は加重平均を用いて合焦する測距モードを示すフ
ローチャートである。 第13図は重み係数を示すグラフである。 第14図は加重平均とレンズセット位置との関係を示すグ
ラフである。 第15図はピーク値となるピクセル列又は行を検出して合
焦する測距モードを示すフローチャートである。 第16図ないし第20図は撮影シーンのサンプルと、エリヤ
センサーの受光状態とをそれぞれ示す説明図である。 第21図は2個のラインセンサーを用いた実施例を示すカ
メラの正面図である。 1……カメラボディ 2……撮影レンズ 6……投光部 7……受光部 L……基線長 10……発光ダイオード 11……液晶パネル Sx,Sy……スリット状光束 24……エリヤセンサー Dij……エリヤセンサーの出力信号 Dj……ピクセル列信号 Di……ピクセル行信号 S……スレッシュホールドレベル 40……スリット板 42,43……ラインセンサー。
FIG. 1 is a front view of a camera embodying the present invention. FIG. 2 is a perspective view showing an example of the light projecting section. FIG. 3 is a block diagram showing an embodiment of the distance measuring device of the present invention. FIG. 4 is an explanatory diagram showing the relationship between the photographing screen and the area sensor. FIG. 5 is a flow chart showing a procedure of data acquisition when FIG. 5 and two types of slit-shaped light beams are separately projected. FIG. 6 is a perspective view showing an example of a light projecting unit that projects a cross-shaped slit-shaped light beam. FIG. 7 is a flowchart showing a data acquisition procedure when a cross-shaped slit-shaped light beam is used. FIG. 8 is a flow chart showing a distance measuring mode in which a pixel column or row in the middle of a plurality of pixel columns or rows that receive reflected light from a subject at the closest distance is detected and focused. FIG. 9 is a graph showing the in-focus position in the distance measuring mode shown in FIG. FIG. 10 is a flowchart showing a distance measuring mode in which a pixel having a peak value is detected and focused from a plurality of pixel columns or rows that receive reflected light from a subject at the closest distance. FIG. 11 is a flowchart showing the peak value detection subroutine of FIG. FIG. 12 is a flow chart showing a distance measuring mode for focusing using a weighted average. FIG. 13 is a graph showing weighting factors. FIG. 14 is a graph showing the relationship between the weighted average and the lens set position. FIG. 15 is a flow chart showing a distance measuring mode in which a pixel column or row having a peak value is detected and focused. 16 to 20 are explanatory views showing a sample of a shooting scene and a light receiving state of the area sensor, respectively. FIG. 21 is a front view of a camera showing an embodiment using two line sensors. 1 …… Camera body 2 …… Shooting lens 6 …… Emitting section 7 …… Receiving section L …… Base line length 10 …… Light emitting diode 11 …… Liquid crystal panel Sx, Sy …… Slit-shaped luminous flux 24 …… Area sensor Dij …… Area sensor output signal Dj …… Pixel column signal Di …… Pixel row signal S …… Threshold level 40 …… Slit plate 42, 43 …… Line sensor.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 横尾 広和 東京都港区西麻布2−26―30 富士写真フ イルム株式会社内 (56)参考文献 特開 昭59−129809(JP,A) 特開 昭58−156910(JP,A) 特開 昭58−178329(JP,A) 特開 昭59−65203(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Hirokazu Yokoo, 26-26-30 Nishiazabu, Minato-ku, Tokyo Fuji Photo Film Co., Ltd. (56) References JP-A-59-129809 (JP, A) JP-A-SHO 58-156910 (JP, A) JP-A-58-178329 (JP, A) JP-A-59-65203 (JP, A)

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】カメラボディの前面に一定の基線長を隔て
て投光部と受光部とを配置し、前記投光部から被写体に
向けて測距用の光束を投光して被写体からの反射光を前
記受光部で受光して、その受光位置に基づいて被写体距
離を測定するカメラの測距装置において、 前記投光部は、互いに方向が異なる第1方向と第2方向
にそれぞれ延びたスリット状光束を同時又は別々に投光
し、かつ前記受光部は、前記第1方向と直交する方向に
細長いピクセルを第1方向に複数個並べた第1センサー
と、前記第2方向と直交する方向に細長いピクセルを第
2方向に複数個並べた第2センサーとから構成され、前
記第1方向に延びたスリット状光束のうち被写体で反射
されて戻ってきた光を前記第1センサーで受光し、第2
方向に延びたスリット状光束のうち被写体で反射されて
戻ってきた光を第2センサーで受光し、これらのセンサ
ーの受光位置に基づいて被写体距離を測定することを特
徴とするカメラの測距装置。
1. A light projecting portion and a light receiving portion are arranged on the front surface of a camera body with a certain base line distance from each other, and a light flux for distance measurement is projected from the light projecting portion toward the subject to emit light from the subject. In a distance measuring device for a camera, which receives reflected light by the light receiving unit and measures a subject distance based on the light receiving position, the light projecting unit extends in mutually different first and second directions. The slit-shaped light beams are projected simultaneously or separately, and the light receiving unit is orthogonal to the second direction and a first sensor in which a plurality of elongated pixels are arranged in the first direction in a direction orthogonal to the first direction. A second sensor in which a plurality of pixels elongated in the second direction are arranged in the second direction, and the first sensor receives the light reflected by the object and returned from the slit-shaped light flux extending in the first direction. , Second
A distance measuring device for a camera, characterized in that, of the slit-shaped luminous flux extending in the direction, the light reflected by the subject and returned is received by the second sensor, and the subject distance is measured based on the light receiving positions of these sensors. .
【請求項2】前記第1及び第2方向はカメラボディの横
方向と縦方向であり、前記投光部は十字形のスリット状
光束を投光することを特徴とする特許請求の範囲第1項
記載のカメラの測距装置。
2. The first and second directions are a horizontal direction and a vertical direction of a camera body, and the light projecting portion projects a cross-shaped slit-shaped light beam. A distance measuring device for a camera according to the item.
【請求項3】前記受光部は、第1方向及び第2方向に細
かく分割された複数のピクセルからなるエリヤセンサー
であることを特徴とする特許請求の範囲第1項記載のカ
メラの測距装置。
3. The distance measuring device for a camera according to claim 1, wherein the light receiving section is an area sensor including a plurality of pixels finely divided in a first direction and a second direction. .
【請求項4】前記第1センサー及び第2センサーは、別
個のラインセンサーであることを特徴とする特許請求の
範囲第1項記載のカメラの測距装置。
4. The distance measuring device for a camera according to claim 1, wherein the first sensor and the second sensor are separate line sensors.
JP60087895A 1985-04-24 1985-04-24 Camera rangefinder Expired - Fee Related JPH0781857B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60087895A JPH0781857B2 (en) 1985-04-24 1985-04-24 Camera rangefinder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60087895A JPH0781857B2 (en) 1985-04-24 1985-04-24 Camera rangefinder

Publications (2)

Publication Number Publication Date
JPS61246613A JPS61246613A (en) 1986-11-01
JPH0781857B2 true JPH0781857B2 (en) 1995-09-06

Family

ID=13927619

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60087895A Expired - Fee Related JPH0781857B2 (en) 1985-04-24 1985-04-24 Camera rangefinder

Country Status (1)

Country Link
JP (1) JPH0781857B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5137350A (en) * 1989-04-14 1992-08-11 Asahi Kogaku Kogyo Kabushiki Kaisha Distance measuring device
US5274429A (en) * 1989-04-14 1993-12-28 Asahi Kogaku Kogyo Kabushiki Kaisha Distance measuring device
JP5092613B2 (en) * 2007-08-06 2012-12-05 日産自動車株式会社 Distance measuring method and apparatus, and vehicle equipped with distance measuring apparatus
JP5593837B2 (en) * 2010-05-27 2014-09-24 株式会社ニコン Imaging device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58178329A (en) * 1982-04-14 1983-10-19 Copal Co Ltd Focus detector suited for self-timer photographing
JPS5965203A (en) * 1982-10-06 1984-04-13 Hitachi Ltd Method and device for detecting position and attitude of body

Also Published As

Publication number Publication date
JPS61246613A (en) 1986-11-01

Similar Documents

Publication Publication Date Title
US7405762B2 (en) Camera having AF function
US6801639B2 (en) Distance measurement apparatus
JP4002680B2 (en) Camera with distance measuring device
US5321460A (en) Autofocusing controlling apparatus for camera
JPH0781857B2 (en) Camera rangefinder
US4720724A (en) Method and apparatus for automatic range finding
US5305046A (en) Multi-point distance measurement apparatus
US6744982B2 (en) Distance-measuring device of camera and focusing method of camera
JP2000019386A (en) Camera
JP2000330001A (en) Range finder
JP2882627B2 (en) Camera multipoint ranging device
JPH0473130B2 (en)
JPH08271974A (en) Photographing apparatus
JPS61246726A (en) Range finder for subject in camera
JPS61246711A (en) Instrument for measuring distance and brightness of object
JP2888492B2 (en) Distance information output device
JP4445612B2 (en) camera
US6516150B1 (en) Distance measuring equipment and camera
JP2001174689A (en) Range-finder
JP3297497B2 (en) Distance measuring device
JP3244852B2 (en) Distance measuring device
JPS61246713A (en) Photodetecting sensor for camera and exposure control method
JPS6358324A (en) Photometric instrument
JP3326407B2 (en) Distance measuring device
JPS61246612A (en) Measuring device of distance of camera to object

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees