JP2003214846A - Ranging apparatus - Google Patents

Ranging apparatus

Info

Publication number
JP2003214846A
JP2003214846A JP2002017197A JP2002017197A JP2003214846A JP 2003214846 A JP2003214846 A JP 2003214846A JP 2002017197 A JP2002017197 A JP 2002017197A JP 2002017197 A JP2002017197 A JP 2002017197A JP 2003214846 A JP2003214846 A JP 2003214846A
Authority
JP
Japan
Prior art keywords
correlation
calculation
correlation value
value
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002017197A
Other languages
Japanese (ja)
Inventor
Kenji Nakamura
研史 中村
Akira Shiraishi
明 白石
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP2002017197A priority Critical patent/JP2003214846A/en
Publication of JP2003214846A publication Critical patent/JP2003214846A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a ranging apparatus in which a release timing lag is reduced by shortening time for detecting subject distance, and at the same time accurately measuring the subject distance. <P>SOLUTION: A ranging apparatus 1 comprises a means 13 for extracting extraction images 20 having each specific size from two image data, correlation operation means 14 and 17 for calculating the correlation value of both the images while successively shifting the extraction image, an operation-controlling means 15 for controlling the operation of the correlation value, a reliability- judging means 16 for detecting the extremal value of the calculated correlation value, and a corresponding-position detecting means 18 for detecting a corresponding position. The operation-controlling means 15 suspends the calculation of the correlation value during the operation. The reliability-judging means 16 judges whether an extremal value has been already detected in the calculated correlation value during the interruption of the operation, and terminates the operation of the correlation value when the extremal value is detected, and detects the corresponding position. When the extremal value cannot be detected during suspension, the operation of the correlation value is resumed. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、一対の撮像素子を
有し、被写体光を受光してそれぞれの撮像素子によって
得られた画像に基づいて被写体距離を検出する、外光パ
ッシブ式の測距装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention has a pair of image pickup devices, which receives a subject light and detects a subject distance based on an image obtained by each image pickup device. Regarding the device.

【0002】[0002]

【従来の技術】従来、外光パッシブ式の測距装置におい
ては、一対の撮像素子それぞれによって得られた被写体
画像の一部を抜き出し、一方の画像を他方の画像と比較
して両画像間のずれ量を算出することによって、被写体
距離を検出するように構成されていた。
2. Description of the Related Art Conventionally, in an external light passive distance measuring device, a part of a subject image obtained by each of a pair of image pickup devices is extracted, one image is compared with the other image, and the distance between the two images is compared. It is configured to detect the subject distance by calculating the shift amount.

【0003】すなわち、従来の測距装置70は、図11
(a)に示すように一対の対物レンズ71L,71R
と、対物レンズ71L,71Rからの被写体光を光電変
換する一対の撮像素子72L,72Rと、撮像素子72
L,72Rからの画像データを演算処理する制御部73
とを有している。そして、測距装置70は、図11
(b)に示すように、カメラの撮影範囲80に設けられ
た測距エリア81内に測距光学系の撮像素子の検出範囲
72が配置されるように、カメラに搭載される。そし
て、主被写体100を測距エリア81内に収まるように
フレーミングすることにより、撮像素子の検出範囲72
が主被写体100に重なり、主被写体の輝度に関する画
像データ列を検出することができる。
That is, the conventional distance measuring device 70 is shown in FIG.
As shown in (a), a pair of objective lenses 71L, 71R
And a pair of image pickup elements 72L and 72R for photoelectrically converting subject light from the objective lenses 71L and 71R, and the image pickup element 72
Control unit 73 for processing image data from L and 72R
And have. The distance measuring device 70 is shown in FIG.
As shown in (b), the camera is mounted so that the detection range 72 of the image pickup device of the distance measuring optical system is arranged in the distance measuring area 81 provided in the photographing range 80 of the camera. Then, by framing the main subject 100 so as to fit within the distance measuring area 81, the detection range 72 of the image sensor is detected.
Overlaps the main subject 100, and an image data string relating to the brightness of the main subject can be detected.

【0004】このようにしてそれぞれの撮像素子により
検出された被写体の輝度に関する画像データ列は、制御
部73に送られる。制御部73は、それぞれの撮像素子
から送られてきた画像データから任意の位置における所
定の大きさの抜出画像を抜き出す抜き出し手段74と、
抜き出し手段74によって抜き出された少なくとも一方
の抜出画像を第1の所定画素数ごとに順次ずらしながら
両画像の相関値を示す相関値演算を行う相関演算手段7
5と、相関値演算において極値を検出できたか否かを判
断する信頼性判定手段76と、相関演算手段の出力する
相関係数列に基づいて対応位置を検出する対応位置検出
手段77と、対応位置検出手段77の検出結果に基づい
て被写体距離を決定する距離検出手段78とを備えてい
る。これらの各手段は、次のように機能して被写体距離
を検出している。
The image data sequence relating to the brightness of the subject detected by the respective image pickup devices in this manner is sent to the control section 73. The control unit 73 includes extraction means 74 for extracting an extraction image of a predetermined size at an arbitrary position from the image data sent from each image sensor,
Correlation calculation means 7 for calculating a correlation value indicating the correlation value of both images while sequentially shifting at least one extracted image extracted by the extraction means 74 for each first predetermined number of pixels.
5, reliability determination means 76 for determining whether or not an extreme value has been detected in the correlation value calculation, corresponding position detection means 77 for detecting the corresponding position based on the correlation coefficient string output from the correlation calculation means, Distance detection means 78 for determining the subject distance based on the detection result of the position detection means 77. Each of these means functions as follows to detect the subject distance.

【0005】図12は、被写体の画像データに基づい
て、どのように相関値演算が行なわれるかを説明する図
である。まず、右センサ71R及び左センサ71Lから
それぞれ出力される画像データの輝度分布の任意の位置
において、所定サイズの抜出画像100が抜き出し手段
74によって抜き出される。相関演算手段75は、抜き
出し手段74によって抜き出された一方の抜出画像を他
方の抜出画像と比較し、両者がどの程度一致するかを示
す相関値を算出する。次いで、相関演算手段75は、抜
出位置を順次ずらして切り替えながら比較し、相関値が
最も小さくなる極値を示す位置である対応位置を検出す
るために相関係数列を演算する。
FIG. 12 is a diagram for explaining how a correlation value is calculated based on image data of a subject. First, the extraction unit 74 extracts the extraction image 100 of a predetermined size at an arbitrary position in the luminance distribution of the image data output from each of the right sensor 71R and the left sensor 71L. The correlation calculation means 75 compares one extracted image extracted by the extraction means 74 with the other extracted image, and calculates a correlation value indicating how much they match each other. Next, the correlation calculation means 75 calculates the correlation coefficient sequence to detect the corresponding position, which is the position showing the extreme value where the correlation value is the smallest, by sequentially shifting the extraction positions and switching the comparisons.

【0006】具体的には、まず、最も遠方側の抜出画像
101Lと101Rとを比較し(1)、次に右側の画像
を1画素分近方にずらした抜出画像102Rと左側抜出
画像101Lとを比較する(2)。次に左側の画像を1
画素分近方にずらした抜出画像102Lと抜出画像10
2Rとを比較する(3)。このようにして、相関演算手
段75は、双方の画像データを1画素分ずつずらしなが
ら最遠方から最近方まで比較して相関値を演算し(1)
〜(10)、図13に示すような相関係数列を作成す
る。
Specifically, first, the farthest extracted images 101L and 101R are compared (1), and then the extracted image 102R obtained by shifting the right image closer by one pixel to the left extracted image 102R. The image 101L is compared (2). Next, the image on the left is 1
Extracted image 102L and extracted image 10 that are shifted closer by the pixel
Compare with 2R (3). In this way, the correlation calculating means 75 calculates the correlation value by comparing both image data from the farthest to the latest while shifting each image data by one pixel (1).
(10), a correlation coefficient string as shown in FIG. 13 is created.

【0007】対応位置検出手段76は、図13に示すよ
うな相関係数列に基づいて、小数対応位置を検出する。
具体的には、相関演算手段75は、双方の画像データを
1画素分ずつずらしながら相関値を演算するため、図1
3の白抜きの円90a〜90dのような不連続なものと
なる。これらは抜出画像を位置画素ずつずらしたもので
あり、実際には、1画素未満のずれを有する真の対応位
置(小数対応位置)が存在する可能性がある。対応位置
検出手段76は、真の対応位置を検出するために、最も
相関値が低い整数対応位置90cの近傍において、相関
係数列の上昇部分と下降部分の交点である最も低い相関
値が小数対応位置であるとして、対応位置90mを算出
する。
The corresponding position detecting means 76 detects the decimal corresponding position based on the correlation coefficient string as shown in FIG.
Specifically, since the correlation calculating means 75 calculates the correlation value while shifting the image data of both pixels by one pixel, the correlation value of FIG.
3 are discontinuous, such as white circles 90a to 90d. These are obtained by shifting the extracted image by position pixels, and in reality, there is a possibility that there is a true corresponding position (decimal corresponding position) having a shift of less than 1 pixel. In order to detect the true corresponding position, the corresponding position detecting means 76, in the vicinity of the integer corresponding position 90c having the lowest correlation value, has the lowest correlation value, which is the intersection of the rising portion and the falling portion of the correlation coefficient sequence, corresponding to the decimal. The corresponding position 90 m is calculated as the position.

【0008】しかし、このように、左右の撮像素子の全
範囲において抜出画像を比較して、相関係数列を作成
し、全範囲の相関値を算出した後において極値を求める
ように制御される。この制御においては、実際には、図
12の(5)の比較において、対応位置が求まるはずで
あるのに、比較(6)〜(10)は事実上無意味な演算
である。したがって、比較を全範囲において行うように
制御する場合においては、被写体距離検出の時間が長く
なり、カメラの操作性を損なうという問題がある。
However, as described above, the extracted images are compared in the entire range of the left and right image pickup devices, the correlation coefficient string is created, and the extreme value is calculated after calculating the correlation value in the entire range. It In this control, in reality, the corresponding positions should be obtained in the comparison of (5) in FIG. 12, but the comparisons (6) to (10) are virtually meaningless operations. Therefore, when the control is performed so that the comparison is performed in the entire range, there is a problem that the time for detecting the subject distance becomes long and the operability of the camera is impaired.

【0009】このように、被写体距離検出の時間が長く
なるという問題を解消するために、左右の抜出画像の抜
出範囲を複数画素ずつずらして、比較演算する回数を減
少させるという技術が開示されている。すなわち、図1
4に示すように、抜出画像100の抜出位置を複数画素
ずつずらして、図12における演算の奇数回の比較
(1),(3),(5)のみを行なうようにすることに
よって、比較演算回数を減らしている。演算回数を減少
させながら全範囲について比較した結果に基づいて、最
も相関値が小さい仮の対応位置113L,113Rが検
出された場合、その周辺の抜出位置116,117にお
いても比較演算して相関値を補充し、これらの相関値に
基づいて極値である小数対応位置を上記と同様に算出す
る。
As described above, in order to solve the problem that the object distance detection time becomes long, a technique is disclosed in which the extraction ranges of the left and right extracted images are shifted by a plurality of pixels to reduce the number of comparison calculations. Has been done. That is, FIG.
As shown in FIG. 4, the extraction position of the extraction image 100 is shifted by a plurality of pixels, and only the odd comparisons (1), (3), and (5) in FIG. 12 are performed. The number of comparison operations is reduced. When the provisional corresponding positions 113L and 113R with the smallest correlation value are detected based on the result of comparison of the entire range while reducing the number of calculations, the extraction positions 116 and 117 around the temporary corresponding positions are compared and calculated. The values are replenished, and the decimal corresponding position, which is the extreme value, is calculated based on these correlation values in the same manner as above.

【0010】このように全範囲を大まかに比較演算して
最も相関値が小さい仮の対応位置を求めたあと、その近
傍の相関値を細かく演算するようにすると、比較演算回
数が減少するため、被写体距離の検出にかかる時間は短
縮する。しかし、このような演算制御においては、以下
のように、繰り返しパターンを有する被写体において対
応位置が検出されない可能性があるという問題を有す
る。
As described above, if the entire corresponding range is roughly compared and the temporary corresponding position having the smallest correlation value is obtained, and then the correlation values in the vicinity thereof are finely calculated, the number of comparison calculations is reduced. The time required to detect the subject distance is shortened. However, in such arithmetic control, there is a problem that the corresponding position may not be detected in a subject having a repeating pattern as described below.

【0011】すなわち、図15に示すように、繰り返し
パターンを有する被写体であって、抜出画像120を1
画素ずつずらして大まかに比較演算すると、実際には1
21L、121R及び122R,122Lの2つの対応
位置が検出されるような被写体について考える。このよ
うな被写体について画像の比較を大まかに行なう場合、
図16に示すように対応位置122L,122Rのみが
検出され、対応位置121L,121Rが飛ばされて検
出されないような場合がある。すなわち、実際には位置
121L,121Rの相関値が位置122R,122L
の相関値よりも低い場合であっても、比較演算を大まか
に行う結果、位置121L,121Rを飛ばして比較演
算することになり、位置122R,122Lが最小の相
関値を有すると検出される。よって、この位置122
R,122Lの周辺を細かく分析して被写体距離を演算
する結果、実際は位置121L,121Rの近傍に存在
する主被写体に適切にピントが合った写真が得られない
ような場合がある。
That is, as shown in FIG. 15, the extracted image 120 which is a subject having a repeating pattern is
When the pixel is shifted pixel by pixel and a rough comparison operation is performed, it is actually 1
Consider a subject in which two corresponding positions of 21L, 121R and 122R, 122L are detected. When roughly comparing images for such subjects,
In some cases, as shown in FIG. 16, only the corresponding positions 122L and 122R are detected, and the corresponding positions 121L and 121R are skipped and are not detected. That is, the correlation values of the positions 121L and 121R are actually the positions 122R and 122L.
Even if it is lower than the correlation value of, the result of performing the comparison operation roughly is that the positions 121L and 121R are skipped and the comparison operation is performed, and it is detected that the positions 122R and 122L have the minimum correlation value. Therefore, this position 122
As a result of finely analyzing the periphery of R and 122L and calculating the subject distance, there are cases where a photograph in which the main subject existing in the vicinity of the positions 121L and 121R is properly focused cannot be obtained.

【0012】[0012]

【発明が解決しようとする課題】したがって、本発明が
解決しようとする技術的課題は、演算時間を短縮するこ
とにより被写体距離の検出までの時間を短縮してレリー
ズタイムラグを減少させるとともに、被写体距離を的確
に計測することができる測距装置を提供することであ
る。
SUMMARY OF THE INVENTION Therefore, the technical problem to be solved by the present invention is to shorten the calculation time by shortening the time until the detection of the object distance, thereby reducing the release time lag and the object distance. It is an object of the present invention to provide a distance measuring device that can accurately measure.

【0013】[0013]

【課題を解決するための手段および作用・効果】本発明
は、上記技術的課題を解決するために、以下の構成の測
距装置を提供する。
In order to solve the above technical problems, the present invention provides a distance measuring device having the following structure.

【0014】測距装置は、被写体光を受光する一対の撮
像素子により得られた画像データから被写体距離を検出
するものであり、前記画像データからそれぞれ所定の大
きさの抜出画像を抜き出す抜き出し手段と、前記抜き出
し手段によって抜き出された少なくとも一方の抜出画像
を所定画素数ごとに順次ずらしながら両画像の相関値を
示す相関値演算を行う相関演算手段と、前記相関演算手
段による相関値演算の開始、終了及び中断を制御する演
算制御手段と、前記相関値演算において極値を検出でき
たか否かを判断する信頼性判定手段と、前記相関演算手
段の出力する相関係数列に基づいて対応位置を検出する
対応位置検出手段と、前記対応位置検出手段の検出結果
に基づいて被写体距離を決定する距離検出手段とを備え
る。そして、前記演算制御手段は、前記相関演算手段の
相関値演算を任意の段階において中断させ、前記信頼性
判定手段は、演算制御手段による前記相関演算手段の相
関値演算が中断している間にすでに行なわれた相関値演
算において極値が検出されたか否かを判断し、前記中断
中に極値が検出された場合は、前記演算制御手段は前記
相関演算手段の相関値演算を終了させるとともに、前記
対応位置検出手段は対応位置を検出し、前記中断中に極
値が検出されなかった場合は、前記演算制御手段は、前
記相関演算手段の相関値演算を再開させる。
The distance measuring device detects the subject distance from the image data obtained by the pair of image pickup elements that receive the subject light, and the extracting means extracts the extracted images of a predetermined size from the image data. And a correlation calculation means for calculating a correlation value indicating a correlation value of both images while sequentially shifting at least one of the extracted images extracted by the extraction means for each predetermined number of pixels, and a correlation value calculation by the correlation calculation means. Corresponding to the operation control means for controlling the start, end, and interruption of the, the reliability determination means for determining whether or not the extreme value has been detected in the correlation value operation, and the correlation coefficient sequence output by the correlation operation means. Corresponding position detecting means for detecting the position and distance detecting means for determining the subject distance based on the detection result of the corresponding position detecting means. Then, the calculation control means suspends the correlation value calculation of the correlation calculation means at an arbitrary stage, and the reliability determination means, while the correlation value calculation of the correlation calculation means by the calculation control means is suspended. It is determined whether or not an extreme value has been detected in the correlation value calculation that has already been performed. If the extreme value is detected during the interruption, the calculation control means terminates the correlation value calculation of the correlation calculation means. The corresponding position detecting means detects the corresponding position, and when the extreme value is not detected during the interruption, the calculation control means restarts the correlation value calculation of the correlation calculating means.

【0015】上記構成において、測距装置は、いわゆる
外光パッシブ式のものであり、被写体によって反射され
た被写体光を受光する撮像素子を一対備える。対の撮像
素子は、それぞれ被写体光を光電変換し、画像データと
して出力する。一対の撮像素子から出力された画像デー
タは、各手段により以下のように処理される。
In the above structure, the distance measuring device is of a so-called external light passive type, and is provided with a pair of image pickup devices for receiving the subject light reflected by the subject. The pair of image pickup devices photoelectrically convert the subject light and output it as image data. The image data output from the pair of image pickup devices is processed by each means as follows.

【0016】まず、抜き出し手段は、一対の撮像素子か
らそれぞれ出力される画像データの任意の位置におい
て、所定サイズの抜出画像を抜き出す。このとき遠方側
から抜出画像を抜き出すことが好ましい。相関演算手段
は、抜き出し手段によって一方の抜き出された抜出画像
を他方の抜出画像と比較し、両者がどの程度一致するか
を示す相関値を算出する。相関演算手段は、抜出位置を
順次所定画素数ずつずらして切り替えながら上記比較を
繰り替えして行ない、相関係数列を作成する。抜出画像
のずらし量は、特に制限されるものではないが、できる
かぎり小さくし、1画素ごとに行うことが特に好まし
い。
First, the extracting means extracts an extracted image of a predetermined size at an arbitrary position of the image data output from each of the pair of image pickup devices. At this time, it is preferable to extract the extracted image from the far side. The correlation calculation means compares one of the extracted images extracted by the extracting means with the other extracted image, and calculates a correlation value indicating how much the two extracted images match. The correlation calculating means repeats the above comparison while sequentially shifting the extraction position by a predetermined number of pixels and switching the extraction position to create a correlation coefficient string. The shift amount of the extracted image is not particularly limited, but it is particularly preferable to make it as small as possible and to perform it for each pixel.

【0017】相関演算手段による相関値演算の任意の段
階において、演算制御手段によって、相関値演算が中断
される。信頼性判定手段は、当該中断されるまでの相関
係数列を用いて、相関値が最も小さくなる位置である対
応位置を検出するために、相関係数列の極値を検出でき
たか否かの信頼性の判断を行なう。中断されるまでの相
関係数列に極値が存在する場合は、演算制御手段は中断
以後の前記相関演算手段の相関値演算を終了させる。
At an arbitrary stage of the correlation value calculation by the correlation calculation means, the calculation control means interrupts the correlation value calculation. The reliability determining means uses the correlation coefficient string until the interruption to detect the extreme value of the correlation coefficient string in order to detect the corresponding position where the correlation value is the smallest. Make a sex decision. If there is an extreme value in the correlation coefficient sequence before the interruption, the calculation control means ends the correlation value calculation of the correlation calculation means after the interruption.

【0018】中断されるまでの相関係数列に極値が存在
しない場合は、演算制御手段は相関値演算の続きを再開
させる。なお、演算制御手段による相関値演算の中断の
回数及び、どの段階で中断させるかについては、特に限
定されない。中断が複数回行なわれた場合は、演算制御
手段によって前回の相関値演算の中断後であって、当該
中断がされるまでの間になされた相関係数列を用いて極
値が検出できたか否かの判断が行なわれるようにするこ
とが好ましい。
If there is no extreme value in the correlation coefficient sequence until the interruption, the calculation control means restarts the continuation of the correlation value calculation. It should be noted that the number of interruptions of the correlation value calculation by the arithmetic control means and at which stage it is interrupted are not particularly limited. When the interruption is performed a plurality of times, it is determined whether or not the extreme value could be detected by using the correlation coefficient sequence performed after the interruption of the previous correlation value calculation by the calculation control means and before the interruption. It is preferable that such a decision be made.

【0019】また、2度目以降の中断時における極値の
検出においては、前回の中断時における相関値演算に含
まれる相関係数列の少なくとも一部を含めた相関係数列
を用いて極値を検出することが好ましい。このように前
回の相関係数列の一部を含めて極値を検出することによ
り、中断直前の相関値が極値であるような場合であって
も、当該極値を的確に検出することができる。
Further, in the detection of the extreme value during the second and subsequent interruptions, the extreme value is detected using a correlation coefficient sequence including at least a part of the correlation coefficient sequence included in the correlation value calculation at the previous interruption. Preferably. In this way, by detecting the extreme value including a part of the previous correlation coefficient sequence, the extreme value can be accurately detected even when the correlation value immediately before the interruption is the extreme value. it can.

【0020】対応位置検出手段は、当該相関値演算にお
いて極値を検出した場合は、対応位置(小数対応位置)
を検出し、当該対応位置から距離検出手段は被写体距離
を決定する。
When the extreme value is detected in the correlation value calculation, the corresponding position detecting means detects the corresponding position (decimal corresponding position).
And the distance detection means determines the subject distance from the corresponding position.

【0021】上記構成によれば、相関値演算を途中で中
断して極値の検出を行ない、中断までの相関係数列に極
値が発見された場合は、それ以降の相関値演算を行わな
いように制御する。したがって、演算時間を短縮するこ
とにより被写体距離の検出までの時間を短縮してレリー
ズタイムラグを減少させることができる。
According to the above configuration, the correlation value calculation is interrupted midway to detect the extreme value, and when the extreme value is found in the correlation coefficient sequence until the interruption, the correlation value calculation thereafter is not performed. To control. Therefore, by shortening the calculation time, it is possible to shorten the time until the detection of the subject distance and reduce the release time lag.

【0022】本発明の測距装置は、具体的には以下のよ
うな態様で構成することができる。
The distance measuring device of the present invention can be specifically configured in the following modes.

【0023】好ましくは、前記相関演算手段は、前記撮
像素子の遠距離範囲より順次相関値演算を開始し、前記
演算制御手段は、前記相関値演算をその中間段階におい
て1度中断し、2段階に分けて行なうように前記相関演
算手段を制御する。
Preferably, the correlation calculation means starts the correlation value calculation sequentially from a long distance range of the image pickup device, and the calculation control means interrupts the correlation value calculation once at an intermediate stage thereof, and then in two stages. The correlation calculation means is controlled so as to be performed separately.

【0024】上記構成における測距装置は、通常カメラ
が約30cmから無限遠までの測距を行なうことができ
るように構成されているとともに、その撮像素子上にお
ける対応位置が撮像素子の遠側に存在していることがほ
とんどであるということに基づく。すなわち、外光パッ
シブ式の測距装置においては、三角測距の原理に基づい
て距離を算出するため、遠い被写体における被写体距離
の変化は、撮像素子上ではその位置があまり変化しない
のに対し、近い被写体における被写体距離の変化は、そ
の対応位置の変化が顕著に表れる。そして、ごく接近し
た被写体について測距することができるように、測距装
置の撮像素子は近領域を長くとって構成されている。し
たがって、比較演算を真中から2段階に分けて演算する
場合、真中よりも遠領域が常用領域となり、当該近領域
に対応位置が存在する頻度は、遠領域に存在する頻度に
比べて少ないという傾向を有する。
The distance measuring device having the above structure is constructed such that a normal camera can measure a distance from about 30 cm to infinity, and the corresponding position on the image sensor is on the far side of the image sensor. Based on being mostly present. That is, in the external light passive distance measuring device, since the distance is calculated based on the principle of triangulation, the change in the object distance in a distant object does not change much on the image sensor. When the subject distance changes for a close subject, the corresponding position changes remarkably. The image sensor of the distance measuring device is configured to have a long near area so that the distance can be measured for a subject that is very close. Therefore, when the comparison calculation is performed in two stages from the middle, the region farther than the center becomes the regular region, and the frequency of the corresponding position in the near region is lower than the frequency in the far region. Have.

【0025】したがって、上記構成においては、相関演
算手段は、前記撮像素子の遠距離範囲より順次相関値演
算を開始するとともに、相関値演算の中間段階の近傍に
おいて、演算処理を中断させて極値の検出を行ない、当
該遠距離範囲に極値が存在しない場合に限り近距離範囲
の演算処理を行うようにした。
Therefore, in the above structure, the correlation calculating means starts the correlation value calculation sequentially from the long range of the image pickup device, and interrupts the calculation processing in the vicinity of the intermediate stage of the correlation value calculation to generate the extreme value. Is detected, and the calculation processing of the short range is performed only when the extreme value does not exist in the long range.

【0026】上記構成によれば、測距装置の三角測距の
原理により被写体距離を計測するという特徴を生かし
て、常用領域における演算のみで処理が終了する頻度が
高くなり、より確実に被写体距離の検出を短縮すること
ができる。
According to the above construction, the feature that the distance to the object is measured based on the principle of the triangulation of the distance measuring device is utilized, the processing is frequently completed only by the calculation in the common area, and the distance to the object is more reliably achieved. The detection of can be shortened.

【0027】また、本発明は、以下の構成の測距装置を
提供する。
The present invention also provides a distance measuring device having the following configuration.

【0028】測距装置は、被写体光を受光する一対の撮
像素子により得られた画像データから被写体距離を検出
するものであって、前記画像データからそれぞれ所定の
大きさの抜出画像を抜き出す抜き出し手段と、前記抜き
出し手段によって抜き出された少なくとも一方の抜出画
像を第1の所定画素数ごとに順次ずらしながら両画像の
相関値を示す相関値演算を行う相関演算手段と、前記相
関演算手段による相関値演算の開始、終了及び中断を制
御する演算制御手段と、前記相関値演算において極値を
検出できたか否かを判断する信頼性判定手段と、前記相
関演算手段の出力する相関係数列に基づいて対応位置を
検出する対応位置検出手段と、前記対応位置検出手段の
検出結果に基づいて被写体距離を決定する距離検出手段
とを備える。そして、前記相関演算手段は少なくとも一
方の抜出画像を第1の所定画素数ごとに順次ずらす前記
相関値演算を行ない、前記信頼性判定手段が、前記相関
値演算において複数の極値を検出し、当該極値の相関値
の差が所定以下である場合は、前記演算制御手段は、前
記相関演算手段に前記複数の極値が検出された近傍にお
いて、抜出画像を第1の所定画素数よりも少ない第2の
所定画素数ごとに順次ずらす相関値演算を再度開始させ
るように制御する。
The distance measuring device detects the subject distance from the image data obtained by the pair of image pickup devices which receive the subject light, and extracts the extracted images of a predetermined size from the image data. Means, correlation calculating means for performing a correlation value calculation showing a correlation value of both images while sequentially shifting at least one of the extracted images extracted by the extracting means for each first predetermined number of pixels, and the correlation calculating means. Calculation control means for controlling the start, end, and interruption of the correlation value calculation by means of, reliability judgment means for judging whether or not an extreme value has been detected in the correlation value calculation, and a correlation coefficient string output by the correlation calculation means. Corresponding position detecting means for detecting the corresponding position on the basis of the detection result, and distance detecting means for determining the subject distance based on the detection result of the corresponding position detecting means. Then, the correlation calculation means performs the correlation value calculation in which at least one extracted image is sequentially shifted for each first predetermined number of pixels, and the reliability determination means detects a plurality of extreme values in the correlation value calculation. When the difference between the correlation values of the extreme values is less than or equal to a predetermined value, the calculation control means sets the extracted image to a first predetermined number of pixels in the vicinity of the plurality of extreme values detected by the correlation calculation means. The correlation value calculation is sequentially restarted for each second predetermined number of pixels, which is smaller than the above.

【0029】上記構成において、測距装置は、外光パッ
シブ式のものであり、被写体によって反射された被写体
光を受光する撮像素子を一対備える。対の撮像素子は、
それぞれ被写体光を光電変換し、画像データとして出力
する。一対の撮像素子から出力された画像データは、各
手段により以下のように処理される。
In the above structure, the distance measuring device is of the external light passive type, and is provided with a pair of image pickup elements for receiving the subject light reflected by the subject. The pair of image sensors are
Each subject light is photoelectrically converted and output as image data. The image data output from the pair of image pickup devices is processed by each means as follows.

【0030】まず、抜き出し手段は、一対の撮像素子か
らそれぞれ出力される画像データの任意の位置におい
て、所定サイズの抜出画像を抜き出す。相関演算手段
は、抜き出し手段によって一方の抜き出された抜出画像
を他方の抜出画像と比較し、両者がどの程度一致するか
を示す相関値を算出する。相関演算手段は、抜出位置を
複数の第1の所定画素数ごとに順次ずらして切り替えな
がら比較し、相関値が最も小さくなる極値を示す位置で
ある対応位置を検出するために相関係数列を作成する。
すなわち、相関値演算を大まかに全範囲にわたって行な
い、全距離における大まかな相関係数列を得る。
First, the extracting means extracts an extracted image of a predetermined size at an arbitrary position of the image data output from the pair of image pickup devices. The correlation calculation means compares one of the extracted images extracted by the extracting means with the other extracted image, and calculates a correlation value indicating how much the two extracted images match. The correlation calculation means sequentially shifts the extraction positions for each of the plurality of first predetermined pixels for comparison, and compares the extraction positions to detect a corresponding position that is a position having an extreme value that minimizes the correlation value. To create.
That is, the correlation value calculation is roughly performed over the entire range to obtain a rough correlation coefficient string at all distances.

【0031】その後、信頼性判定手段は、相関演算手段
によって得られた大まかな相関係数列から相関係数列の
傾きの正負が逆転する極値を有するか否かについて検出
する。ここで極値が複数存在した場合であって、当該極
値の相関値の差が所定以下である場合は、演算制御手段
は、前記相関演算手段に前記複数の極値が検出された近
傍において、抜出画像を第1の所定画素数よりも少ない
第2の所定画素数ごとに順次ずらす相関値演算を再度開
始させるように制御する。すなわち、極値が検出された
近傍において、細かい画素ごとに詳細に相関値を演算す
ることにより、信頼性判定手段によって的確な対応位置
を検出することができる。なお、極値が複数有する場合
であって、当該極値の差が所定以上である場合は、小さ
いほうの極値の近傍のみについて詳細に相関値演算を行
うようにしてもよい。
After that, the reliability determining means detects from the rough correlation coefficient sequence obtained by the correlation calculating means whether or not the correlation coefficient sequence has an extreme value in which the positive / negative of the inclination is reversed. Here, in the case where there are a plurality of extreme values, and the difference in the correlation value of the extreme values is less than or equal to a predetermined value, the calculation control means, in the vicinity where the plurality of extreme values are detected by the correlation calculation means. The correlation value calculation for sequentially shifting the extracted image for each second predetermined pixel number smaller than the first predetermined pixel number is controlled to be restarted. That is, in the vicinity where the extreme value is detected, by calculating the correlation value in detail for each fine pixel, the reliability determining means can detect the appropriate corresponding position. When there are a plurality of extreme values and the difference between the extreme values is equal to or more than a predetermined value, the correlation value calculation may be performed in detail only for the neighborhood of the smaller extreme value.

【0032】対応位置検出手段は、信頼性判定手段によ
って検出された対応位置(小数対応位置)を検出し、当
該対応位置から距離検出手段は被写体距離を決定する。
The corresponding position detecting means detects the corresponding position (decimal corresponding position) detected by the reliability determining means, and the distance detecting means determines the subject distance from the corresponding position.

【0033】上記構成によれば、最初に相関演算手段に
おいて少なくとも一方の抜出画像を複数画素数ごとに順
次ずらす比較演算によって、大まかな相関係数列の情報
を得ることができるとともに、信頼性判定手段が、相関
値演算において極値を検出する。そして、当該極値が複
数であって、相関値の差が所定以下である場合は、双方
の極値の近傍について詳細に相関値を求めることによ
り、的確な対応位置を検出することができる。したがっ
て、相関値演算の処理数を少なくすることができる。
According to the above construction, the correlation calculation means can first obtain a rough correlation coefficient sequence information by a comparison calculation in which at least one of the extracted images is sequentially shifted for each of a plurality of pixels, and at the same time, the reliability judgment is performed. The means detects an extreme value in the correlation value calculation. Then, when there are a plurality of extreme values and the difference between the correlation values is less than or equal to a predetermined value, an accurate corresponding position can be detected by obtaining the correlation values in detail in the vicinity of both extreme values. Therefore, it is possible to reduce the number of correlation value calculation processes.

【0034】したがって、演算時間を短縮することによ
り被写体距離の検出までの時間を短縮してレリーズタイ
ムラグを減少させることができる。
Therefore, by shortening the calculation time, the time until the detection of the object distance can be shortened and the release time lag can be reduced.

【0035】[0035]

【発明の実施の形態】以下、本発明の各実施形態に係る
測距装置について、図面を参照しながら説明する。
BEST MODE FOR CARRYING OUT THE INVENTION A distance measuring device according to each embodiment of the present invention will be described below with reference to the drawings.

【0036】図1は、本発明の第1実施形態にかかる測
距装置の構成を示すブロック図である。本実施形態の測
距装置1は、被写体によって反射された被写体光を受け
て三角測距の原理によって被写体距離を測定する外光パ
ッシブ式の測距装置である。すなわち、一対の撮像素子
それぞれによって得られた被写体画像の一部を抜き出
し、一方の画像を他方の画像と比較して両画像間のデフ
ォーカス量を算出することによって、被写体距離を検出
するように構成されている。
FIG. 1 is a block diagram showing the structure of the distance measuring apparatus according to the first embodiment of the present invention. The distance measuring device 1 of the present embodiment is an external light passive distance measuring device that receives subject light reflected by a subject and measures the subject distance based on the principle of triangulation. That is, by extracting a part of the subject image obtained by each of the pair of image pickup devices and comparing one image with the other image to calculate the defocus amount between the two images, the subject distance can be detected. It is configured.

【0037】測距装置1は、一対の対物レンズ10L,
10Rと、当該対物レンズ10L,10Rからの被写体
光を光電変換する一対の撮像素子11L,11Rと、撮
像素子11L,11Rからの画像データを演算処理する
制御部12とを有している。そして、測距装置1は、対
物レンズ10L,10Rを通して撮像素子11L,11
R上で被写体光を結像させ、被写体の輝度分布である画
像データを制御部12に送信する。
The distance measuring device 1 includes a pair of objective lenses 10L,
10R, a pair of image pickup devices 11L and 11R that photoelectrically convert subject light from the objective lenses 10L and 10R, and a control unit 12 that arithmetically processes image data from the image pickup devices 11L and 11R. Then, the distance measuring apparatus 1 uses the image pickup devices 11L and 11L through the objective lenses 10L and 10R.
The subject light is imaged on R, and the image data, which is the luminance distribution of the subject, is transmitted to the control unit 12.

【0038】制御部12は、測距装置と接続して被写体
距離の検出に感する処理及び演算を行う部分であり、以
下の各手段を備えている。抜き出し手段13は、それぞ
れの撮像素子11L,11Rから送られてきた画像デー
タから任意の位置における所定の大きさの抜出画像を抜
き出す。第1相関演算手段14及び第2相関演算手段1
7は、抜き出し手段13によって抜き出された少なくと
も一方の抜出画像を画素ごとに順次ずらしながら両画像
の一致の程度である相関値を求める相関値演算を行う。
両者の相違点としては、相関値演算を担当する距離領域
が異なり、第1相関演算手段14は遠距離領域を演算す
るのに対し、第2相関演算手段17は近距離領域を演算
する。これについては、詳細に後述する。
The control section 12 is a section that is connected to a distance measuring device and performs processing and calculation that is sensitive to the detection of the subject distance, and includes the following means. The extracting unit 13 extracts an extracted image of a predetermined size at an arbitrary position from the image data sent from each of the image pickup devices 11L and 11R. First correlation calculation means 14 and second correlation calculation means 1
Reference numeral 7 performs a correlation value calculation for obtaining a correlation value which is the degree of coincidence between the two images while sequentially shifting at least one of the extracted images extracted by the extracting means 13 for each pixel.
The difference between the two is that the distance area in charge of the correlation value calculation is different, and the first correlation calculation means 14 calculates a long distance area, whereas the second correlation calculation means 17 calculates a short distance area. This will be described later in detail.

【0039】演算許可手段15は、第2相関演算手段の
演算開始の許可を与える。信頼性判定手段16は、第1
及び第2の相関演算手段14,17による相関値演算の
結果得られた相関係数列を用いて、極値を検出する。対
応位置検出手段18は、相関演算手段の出力する相関係
数列に基づいて、相関値が最も小さい対応位置(小数対
応位置)を検出する。距離検出手段19は、対応位置検
出手段の検出結果に基づいて被写体距離を決定する。
The calculation permission means 15 gives permission to start the calculation of the second correlation calculation means. The reliability determination means 16 is the first
Also, the extreme value is detected using the correlation coefficient string obtained as a result of the correlation value calculation by the second correlation calculation means 14 and 17. The corresponding position detecting means 18 detects the corresponding position (decimal corresponding position) with the smallest correlation value based on the correlation coefficient sequence output from the correlation calculating means. The distance detecting means 19 determines the subject distance based on the detection result of the corresponding position detecting means.

【0040】図2は、図1の測距装置における被写体距
離検出処理のフロー図である。図3及び図4は、図1の
測距装置における相関値演算の処理手順を説明するため
の図であり、図3は、第1相関演算手段での処理手順、
図4は、第2相関演算手段での処理手順を示す。
FIG. 2 is a flow chart of subject distance detection processing in the distance measuring device of FIG. 3 and 4 are diagrams for explaining the processing procedure of the correlation value calculation in the distance measuring apparatus of FIG. 1, and FIG. 3 is the processing procedure in the first correlation calculation means.
FIG. 4 shows a processing procedure in the second correlation calculation means.

【0041】前述のように、第1相関演算手段13と第
2相関演算手段17とでは、相関値演算を担当する距離
領域が異なる。第1相関演算手段13は、全相関値演算
の略中心より遠側領域側、第2相関演算手段17は、全
相関値演算において略中間より近側領域側を担当する。
両者の演算担当領域は真中心近傍において若干重なるよ
うにしてもよい。
As described above, the first correlation calculation means 13 and the second correlation calculation means 17 are different in the distance area in charge of the correlation value calculation. The first correlation calculation means 13 is in charge of the far side area side from the approximate center of the total correlation value calculation, and the second correlation calculation means 17 is in charge of the near side area from the approximate middle in the overall correlation value calculation.
The calculation areas of both may be slightly overlapped near the true center.

【0042】まず、右センサ10R及び左センサ10L
からそれぞれ出力される画像データの輝度分布の任意の
位置において、所定サイズの抜出画像20が抜き出し手
段12によって抜き出される。第1相関演算手段13
は、抜き出し手段12によって抜き出された一方の抜出
画像を他方の抜出画像と比較し、両者がどの程度一致す
るかを示す相関値を算出する(#11)。
First, the right sensor 10R and the left sensor 10L
The extracted image 20 of a predetermined size is extracted by the extraction unit 12 at an arbitrary position in the luminance distribution of the image data output from each of the. First correlation calculation means 13
Compares one of the extracted images extracted by the extracting means 12 with the other extracted image, and calculates a correlation value indicating how much they match each other (# 11).

【0043】このとき、第1相関演算手段13は、最遠
側から抜出画像の比較を行う。すなわち、最も遠方側の
抜出画像21Lと21Rとを比較し(1)、次に右側の
画像を1画素分近方にずらした抜出画像22Rと左側抜
出画像21Lとを比較する(2)。次に左側の画像を1
画素分近方にずらした抜出画像22Lと抜出画像22R
とを比較する(3)。このようにして、相関演算手段7
5は、双方の画像データを1画素分ずつずらしながら全
相関値演算(1)〜(10)の略中間段階までの遠側領
域(1)〜(6)について比較演算して相関値を演算し
相関値演算を終了する。
At this time, the first correlation calculating means 13 compares the images extracted from the farthest side. That is, the farthest extracted images 21L and 21R are compared (1), and then the extracted image 22R obtained by shifting the right image by one pixel to the near side and the left extracted image 21L are compared (2). ). Next, the image on the left is 1
Extracted image 22L and extracted image 22R that are shifted closer by the pixel
And are compared (3). In this way, the correlation calculation means 7
Reference numeral 5 indicates a correlation value by shifting both image data by one pixel and performing a comparison calculation on the far side regions (1) to (6) up to a substantially intermediate stage of all correlation value calculation (1) to (10). Then, the correlation value calculation is ended.

【0044】第1の相関値演算が終了すると、信頼性判
定手段16は、第1の係数の信頼性の判定を行なう(#
12)。ここで信頼性の判定は、左右の画像の一致度、
コントラストが確保されており、相関係数列が下降部分
と上昇部分を備えるかどうか、すなわち、その交点であ
る最も低い相関値である小数対応位置が存在すると考え
られるかどうかについて行なう。具体的には、相関値演
算の結果得られた極値をコントラスト値で割った値と、
隣り合う画素データの差の絶対値の総和であるコントラ
スト値そのもので行なう。すなわち、(極値/コントラ
スト値)が小さく、また、コントラスト値が所定値以上
の場合に、信頼性が高いと判断する。
When the first correlation value calculation is completed, the reliability determining means 16 determines the reliability of the first coefficient (#
12). Here, the reliability is determined by the degree of matching between the left and right images,
Whether or not the contrast is ensured and the correlation coefficient sequence has a descending portion and an ascending portion, that is, whether or not it is considered that the decimal corresponding position having the lowest correlation value at the intersection is considered to be present. Specifically, a value obtained by dividing the extreme value obtained as a result of the correlation value calculation by the contrast value,
The contrast value itself, which is the sum of the absolute values of the differences between adjacent pixel data, is used. That is, when (extreme value / contrast value) is small and the contrast value is equal to or more than a predetermined value, it is determined that the reliability is high.

【0045】ステップ13において、第1の相関値演算
に信頼性があると判断された場合、対応位置検出手段1
8は、第1の相関係数列より小数対応位置を算出する
(#14)。なお、この小数対応位置の算出は、図13
で示すように従来から広く行なわれている処理が用いら
れる。
When it is judged in step 13 that the first correlation value calculation is reliable, the corresponding position detecting means 1
8 calculates the decimal point corresponding position from the first correlation coefficient sequence (# 14). In addition, the calculation of the decimal point corresponding position is performed by using
As shown in (4), the processing that has been widely performed in the past is used.

【0046】ステップ13において、第1の相関値演算
に信頼性がないと判断された場合、演算許可手段15
は、第2相関演算手段17に対し相関値演算の開始を許
可する。第2相関演算手段17は、図3に示すように、
全相関値演算(1)〜(10)のうち近側領域(7)〜
(10)についての比較である第2の相関値演算をおこ
なう。(#15)すなわち、左側センサの抜出画像24
Lと右側センサの抜出画像24Rとの比較を行ない、相
関係数を算出する(7)。次いで、右側センサの抜出画
像を1画素分近側へずらし、左側センサの抜出画像24
Lと右側センサの抜出画像25Rとの比較を行なう
(8)。このようにして、最も近側領域の抜き出し画像
まで比較演算し、第2の相関値演算が終了する。
When it is determined in step 13 that the first correlation value calculation is not reliable, the calculation permission means 15
Permits the second correlation calculation means 17 to start the correlation value calculation. The second correlation calculation means 17, as shown in FIG.
Near-side area (7) -of all correlation value calculations (1)-(10)
The second correlation value calculation, which is the comparison of (10), is performed. (# 15) That is, the extracted image 24 of the left sensor
The correlation coefficient is calculated by comparing L and the extracted image 24R of the right sensor (7). Next, the extracted image of the right sensor is shifted toward the near side by one pixel, and the extracted image 24 of the left sensor is moved.
L is compared with the extracted image 25R of the right sensor (8). In this way, the extracted image of the closest region is compared and calculated, and the second correlation value calculation is completed.

【0047】第2の相関値演算が終了すると、対応位置
検出手段18は、第2の相関係数列から対応位置(小数
対応位置)を算出する(#16)。第2の相関値演算が
行なわれる場合は、第1の相関係数列に小数対応位置が
存在しない場合であるから、第1の相関値演算のように
信頼性の判定をする必要がない。第2の相関係数列での
小数対応位置の算出は、第1の相関係数列について小数
対応位置を算出するのと同様の処理によって行なわれ
る。
When the second correlation value calculation is completed, the corresponding position detecting means 18 calculates the corresponding position (decimal corresponding position) from the second correlation coefficient sequence (# 16). When the second correlation value calculation is performed, since there is no decimal point corresponding position in the first correlation coefficient sequence, it is not necessary to determine the reliability unlike the first correlation value calculation. The calculation of the decimal-corresponding position in the second correlation coefficient string is performed by the same process as the calculation of the decimal-corresponding position in the first correlation coefficient string.

【0048】第1の相関係数列又は第2の相関係数列よ
り小数対応位置が検出されると、距離検出手段19は、
対応位置検出手段18の検出結果に基づいて被写体距離
を決定する。
When the decimal corresponding position is detected from the first correlation coefficient sequence or the second correlation coefficient sequence, the distance detecting means 19
The subject distance is determined based on the detection result of the corresponding position detecting means 18.

【0049】本実施形態にかかる測距装置は、すべての
相関値演算を2段階に分け、常用領域である遠側領域か
ら演算を開始するように制御されているため、高い頻度
で、第2の相関値演算を行わないようにすることができ
る。したがって、被写体距離検出までの時間を短縮する
ことができ、レリーズタイムラグを減少させることがで
きる。
The distance measuring apparatus according to the present embodiment divides all the correlation value calculations into two steps, and is controlled so as to start the calculation from the far side area, which is the normal area, so that the second value is calculated frequently. It is possible not to perform the correlation value calculation of. Therefore, the time required to detect the subject distance can be shortened, and the release time lag can be reduced.

【0050】図5は、本発明の第2実施形態にかかる測
距装置の構成を示すブロック図である。本実施形態の測
距装置2は、被写体によって反射された被写体光を受け
て三角測距の原理によって被写体距離を測定する外光パ
ッシブ式の測距装置である。測距装置2は、一対の対物
レンズ30L,30Rと、一対の撮像素子31L,31
Rと、制御部32とを有している。
FIG. 5 is a block diagram showing the structure of the distance measuring apparatus according to the second embodiment of the present invention. The distance measuring device 2 of the present embodiment is an external light passive distance measuring device that receives subject light reflected by the subject and measures the subject distance based on the principle of triangulation. The distance measuring device 2 includes a pair of objective lenses 30L and 30R and a pair of image pickup elements 31L and 31L.
It has an R and a control unit 32.

【0051】制御部32は、抜き出し手段33、第1相
関演算手段34及び第2相関演算手段36、繰り返し判
定手段35、対応位置検出手段37、距離検出手段38
とをそなえる。制御部32の抜き出し手段33、対応位
置検出手段37、距離検出手段38の各手段は、第1の
実施形態にかかる測距装置1の制御部12に設けられて
いるものと略同様の機能を奏する。
The control unit 32 includes the extracting unit 33, the first correlation calculating unit 34, the second correlation calculating unit 36, the repetition determining unit 35, the corresponding position detecting unit 37, and the distance detecting unit 38.
With. The extraction unit 33, the corresponding position detection unit 37, and the distance detection unit 38 of the control unit 32 have substantially the same functions as those provided in the control unit 12 of the distance measuring device 1 according to the first embodiment. Play.

【0052】第1相関演算手段34及び第2相関演算手
段36は、抜き出し手段33によって抜き出された少な
くとも一方の抜出画像を第1の所定画素数ごとに順次ず
らしながら両画像の相関値を示す相関値演算を行う。両
者の相違点としては、相関値演算を担当する距離領域及
び抜出画像のずらし量が異なり、第1相関演算手段34
は、抜出画像を複数画素数(2画素)ごとにずらしなが
ら全領域にわたって演算するのに対し、第2相関演算手
段36は、抜出画像を1画素ごとにずらしながら繰り返
し判定手段35により判定された極値領域を演算する。
これについては、詳細に後述する。
The first correlation calculating means 34 and the second correlation calculating means 36 sequentially shift at least one of the extracted images extracted by the extracting means 33 by the first predetermined number of pixels and calculate the correlation value of both images. The correlation value calculation shown is performed. The difference between the two is that the distance area in charge of the correlation value calculation and the shift amount of the extracted image are different, and the first correlation calculation means 34.
While the extracted image is calculated over the entire area while shifting the extracted image by a plurality of pixels (2 pixels), the second correlation calculation means 36 makes a determination by the repeat determination means 35 while shifting the extracted image by one pixel. The calculated extreme value region is calculated.
This will be described later in detail.

【0053】繰り返し判定手段35は、第1相関演算手
段33によって大まかに相関値演算された相関係数列を
用いて、極値を検出する。そして、検出された極値近傍
において、第2相関演算手段36に比較演算の開始を許
可する。なお、詳細は後述するが、極値が複数であっ
て、その差が所定以内である場合は、繰り返しパターン
であると判断し、両極値近傍の比較演算を許可するが、
両者の差が所定以上である場合は、最小の極値近傍にお
いてのみ比較演算をするよう指示する。
The repetition determining means 35 detects the extreme value using the correlation coefficient string whose correlation value is roughly calculated by the first correlation calculating means 33. Then, in the vicinity of the detected extreme value, the second correlation calculation means 36 is permitted to start the comparison calculation. Although the details will be described later, when there are a plurality of extreme values and the difference is within a predetermined range, it is determined that the pattern is repetitive and the comparison calculation in the vicinity of both extreme values is permitted.
If the difference between the two is greater than or equal to a predetermined value, the comparison operation is instructed only in the vicinity of the minimum extremum.

【0054】次に、本実施形態にかかる測距装置の被写
体距離検出の処理の流れについて説明する。図6は、図
5の測距装置における被写体距離検出の処理フロー図で
ある。図7は、図5の測距装置の第1相関演算手段にお
ける相関値演算の処理手順を説明するための図である。
Next, the flow of processing for detecting the object distance of the distance measuring apparatus according to this embodiment will be described. FIG. 6 is a processing flowchart of subject distance detection in the distance measuring device of FIG. FIG. 7 is a diagram for explaining the processing procedure of the correlation value calculation in the first correlation calculation means of the range finder of FIG.

【0055】まず、右センサ30R及び左センサ30L
からそれぞれ出力される画像データの輝度分布の任意の
位置において、所定サイズの抜出画像40が抜き出し手
段32によって抜き出される。第1相関演算手段33
は、抜き出し手段32によって抜き出された一方の抜出
画像を他方の抜出画像と比較し、両者がどの程度一致す
るかを示す相関値を算出する。
First, the right sensor 30R and the left sensor 30L
The extracted image 40 of a predetermined size is extracted by the extraction unit 32 at an arbitrary position in the luminance distribution of the image data output from each of the. First correlation calculation means 33
Compares one of the extracted images extracted by the extracting means 32 with the other extracted image, and calculates a correlation value indicating how much they match each other.

【0056】このとき、第1相関演算手段33は、最遠
側から抜出画像の比較を行う。すなわち、最も遠方側の
抜出画像41Lと41Rとを比較し、次に右側の画像及
び左側の画像を2画素分だけ近方にずらし、右側抜出画
像42Rと左側抜出画像42Lとを比較する。次に同様
に、右側の画像及び左側の画像を複数画素分だけ近方に
ずらし、右側抜出画像43Rと左側抜出画像43Lとを
比較する。このようにして、相関演算手段75は、双方
の画像データを複数画素ずつずらしながら全範囲での相
関値演算について相関係数を演算し、第1相関演算手段
33での相関値演算を終了する(#21)。
At this time, the first correlation calculating means 33 compares the images extracted from the farthest side. That is, the farthest extracted images 41L and 41R are compared, then the right-side image and the left-side image are shifted closer by 2 pixels, and the right-side extracted image 42R and the left-side extracted image 42L are compared. To do. Similarly, the right-side image and the left-side image are shifted closer by a plurality of pixels, and the right-side extracted image 43R and the left-side extracted image 43L are compared. In this way, the correlation calculation means 75 calculates the correlation coefficient for the correlation value calculation in the entire range while shifting the image data of both pixels by a plurality of pixels, and the correlation value calculation in the first correlation calculation means 33 ends. (# 21).

【0057】図8は、第1相関演算手段33によって得
られた相関係数列を示す図である。図8の黒塗りの円5
0は、第1相関演算手段33によって現実に得られた相
関値であり、破線円51は、抜出画像を複数画素ずつず
らしたことにより実際には比較演算されなかった相関値
である。
FIG. 8 is a diagram showing a correlation coefficient sequence obtained by the first correlation calculating means 33. Black circle 5 in Figure 8
0 is the correlation value actually obtained by the first correlation calculation means 33, and the broken line circle 51 is the correlation value that has not been actually compared and calculated by shifting the extracted image by a plurality of pixels.

【0058】次いで、繰り返し判定手段35は、繰り返
し判定を行なう(#22)。具体的には、まず、図8に
示す相関係数列の各相関値に基づいて、連続する相関値
の傾きが負から正に逆転する極値が存在するか否かにつ
いて判定する。図8においては、黒塗りの円(A)及び
(B)が極値であると判断される。そして、選択された
黒塗りの円(A)及び(B)との差Hが所定以下である
かどうかについて判定する。複数の極値が存在し、かつ
その差が所定以下である場合には、繰り返しパターンで
あると判定される(#23)。
Next, the repeat determination means 35 makes a repeat determination (# 22). Specifically, first, based on each correlation value of the correlation coefficient string shown in FIG. 8, it is determined whether or not there is an extreme value at which the slope of successive correlation values is reversed from negative to positive. In FIG. 8, the black circles (A) and (B) are determined to be extreme values. Then, it is determined whether the difference H between the selected black circles (A) and (B) is less than or equal to a predetermined value. When there are a plurality of extreme values and the difference between them is less than or equal to a predetermined value, it is determined that the pattern is a repeating pattern (# 23).

【0059】ステップ23において繰り返しパターンで
あると判定された場合は、第2相関演算手段36は、複
数の極値(A)及び(B)の近傍の相関値演算を行う
(#27)。図9は、第2相関演算手段36における相
関値演算の処理手順を説明するための図である。第2相
関演算手段36は、第1相関演算手段33において演算
された相関値に基づいて検出された極値の近傍について
左右の抜出画像を比較演算してその相関値を算出する。
具体的には、図9に示すように、破線で示された第1の
第1相関演算手段33において演算された抜出画像の比
較によって、両極値が検出され、その近傍の抜出画像5
4L〜57L,54R〜57Rについて比較演算する。
When it is determined in step 23 that the pattern is a repetitive pattern, the second correlation calculating means 36 calculates the correlation value in the vicinity of the plurality of extreme values (A) and (B) (# 27). FIG. 9 is a diagram for explaining the processing procedure of the correlation value calculation in the second correlation calculation means 36. The second correlation calculation means 36 performs a comparison calculation on the left and right extracted images in the vicinity of the extreme value detected based on the correlation value calculated by the first correlation calculation means 33 to calculate the correlation value.
Specifically, as shown in FIG. 9, the extreme values are detected by comparing the extracted images calculated by the first first correlation calculating means 33 indicated by the broken line, and the extracted image 5 in the vicinity thereof is detected.
Comparison calculation is performed on 4L to 57L and 54R to 57R.

【0060】図10は、第2相関演算手段36によって
得られた相関係数列を示す図である。図10に示したよ
うに、第2相関演算手段36の比較演算により斜線円5
2,53に示す相関係数が相関係数列に追加される。そ
して、対応位置検出手段37は、この相関係数列にもと
づいて、どちらの極値が最小であるかを判定する(#2
8)図10においては第1の相関値演算で演算されなか
った相関係数52がより小さい相関値を示しており、そ
の値を選択する。
FIG. 10 is a diagram showing a correlation coefficient sequence obtained by the second correlation calculating means 36. As shown in FIG. 10, the hatched circle 5 is formed by the comparison calculation of the second correlation calculation means 36.
The correlation coefficients 2, 53 are added to the correlation coefficient string. Then, the corresponding position detecting means 37 determines which extreme value is the minimum based on this correlation coefficient sequence (# 2).
8) In FIG. 10, the correlation coefficient 52 not calculated in the first correlation value calculation shows a smaller correlation value, and that value is selected.

【0061】一方、ステップ23において繰り返しパタ
ーンではないと判定された場合は、第2相関演算手段3
6は、相関値がより小さいほうの極値の近傍の相関値演
算を行う(#24)。
On the other hand, if it is determined in step 23 that the pattern is not a repetitive pattern, the second correlation calculating means 3
In step 6, the correlation value is calculated in the vicinity of the extremum having the smaller correlation value (# 24).

【0062】ステップ24及びステップ27によって決
定された極値に基づいて、保管された相関係数を加えた
相関係数列を用いて、対応位置検出手段37は小数対応
位置を検出する(#25)。このステップは、第1実施
形態にかかる対応位置検出の処理(図2ステップ14)
と同様の手順によって行なわれる。次いで、小数対応位
置が検出されると、距離検出手段38は、対応位置検出
手段37の検出結果に基づいて被写体距離を決定する。
The corresponding position detecting means 37 detects the decimal corresponding position using the correlation coefficient string to which the stored correlation coefficient is added based on the extreme value determined in steps 24 and 27 (# 25). . This step is the process of detecting the corresponding position according to the first embodiment (step 14 in FIG. 2).
The procedure is similar to. Next, when the decimal fraction corresponding position is detected, the distance detecting means 38 determines the subject distance based on the detection result of the corresponding position detecting means 37.

【0063】本実施形態にかかる測距装置は、最初にす
べての相関値演算を大まかに行ない、その後詳細に相関
値演算を行うようにしているため、相関値演算の処理数
が減少し、被写体距離の検出を迅速に行うことができ
る。また、その後詳細に相関値演算を行う領域の決定に
おいて、相関係数列の極値を用いて判断するとともに、
その相関値の差が所定以内である場合としているため、
繰り返しパターンなどの測距演算において、大まかな相
関値演算により飛ばされた真の対応位置を見落とすこと
なく検出することができる。
In the distance measuring apparatus according to the present embodiment, all correlation value calculations are first roughly performed, and then detailed correlation value calculations are performed. Therefore, the number of correlation value calculation processes is reduced, and The distance can be detected quickly. Also, in determining the area for performing the detailed correlation value calculation thereafter, the extreme value of the correlation coefficient sequence is used for determination,
Since the difference between the correlation values is within a predetermined range,
In the ranging calculation of a repeated pattern or the like, it is possible to detect the true corresponding position skipped by the rough correlation value calculation without overlooking.

【0064】なお、本実施形態においては、抜出画像の
ずらし量を第1の相関値演算では2画素とし、第2の相
関値演算では1画素としているが、ずらし量は適宜変更
することができる。例えば、第1の相関値演算では4画
素とし、第2の相関値演算では2画素としてもよい。
In this embodiment, the shift amount of the extracted image is 2 pixels in the first correlation value calculation and 1 pixel in the second correlation value calculation, but the shift amount can be changed appropriately. it can. For example, the first correlation value calculation may have four pixels, and the second correlation value calculation may have two pixels.

【0065】以上説明したように、本実施形態にかかる
測距装置は、相関値演算の回数を少なくすることにより
被写体距離検出の時間を短縮することができるととも
に、被写体を的確に捉えることができる。
As described above, the distance measuring apparatus according to the present embodiment can shorten the time for detecting the object distance by reducing the number of times the correlation value is calculated, and can accurately grasp the object. .

【0066】なお、本発明は上記実施形態に限定される
ものではなく、その他種々の態様で実施可能である。例
えば、測距装置は、一対の撮像素子を備えていることか
ら、撮影範囲の1箇所においてのみ被写体の距離を検出
することができるが、撮像素子を複数対備え、測距演算
する撮像素子を選択するように構成することにより、撮
影範囲内での測距エリアを変更することができる。
The present invention is not limited to the above embodiment, but can be implemented in various other modes. For example, since the distance measuring device includes a pair of image pickup devices, it is possible to detect the distance to the subject only at one position in the shooting range. With the selection, it is possible to change the distance measuring area within the shooting range.

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

【図1】 本発明の第1実施形態にかかる測距装置の構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a distance measuring device according to a first embodiment of the present invention.

【図2】 図1の測距装置における被写体距離検出処理
のフロー図である。
FIG. 2 is a flowchart of subject distance detection processing in the distance measuring device of FIG.

【図3】 図1の測距装置の第1相関演算手段における
相関値演算の処理手順を説明するための図である。
FIG. 3 is a diagram for explaining a processing procedure of a correlation value calculation in a first correlation calculation means of the distance measuring device of FIG.

【図4】 図1の測距装置の第2相関演算手段における
相関値演算の処理手順を説明するための図である。
FIG. 4 is a diagram for explaining a processing procedure of a correlation value calculation in a second correlation calculation means of the distance measuring apparatus of FIG.

【図5】 本発明の第2実施形態にかかる測距装置の構
成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration of a distance measuring device according to a second embodiment of the present invention.

【図6】 図5の測距装置における被写体距離検出の処
理フロー図である。
6 is a processing flow chart of subject distance detection in the distance measuring apparatus of FIG.

【図7】 図5の測距装置の第1相関演算手段における
相関値演算の処理手順を説明するための図である。
FIG. 7 is a diagram for explaining a processing procedure of a correlation value calculation in the first correlation calculation means of the distance measuring device of FIG.

【図8】 図5の測距装置の第1相関演算手段によって
得られた相関係数列を示す図である。
8 is a diagram showing a correlation coefficient string obtained by a first correlation calculating means of the distance measuring device of FIG.

【図9】 図5の測距装置の第2相関演算手段における
相関値演算の処理手順を説明するための図である。
9 is a diagram for explaining a processing procedure for calculating a correlation value in the second correlation calculating means of the distance measuring device in FIG. 5;

【図10】 図5の測距装置の第2相関演算手段によっ
て得られた相関係数列を示す図である。
10 is a diagram showing a correlation coefficient sequence obtained by a second correlation calculating means of the distance measuring device of FIG.

【図11】 従来の測距装置の構成図であり、(a)は
ブロック図、(b)は撮影範囲における測距エリアの配
置の説明図である。
11A and 11B are configuration diagrams of a conventional distance measuring device, FIG. 11A is a block diagram, and FIG. 11B is an explanatory diagram of arrangement of distance measuring areas in a shooting range.

【図12】 従来の測距装置における相関値演算の処理
手順を説明するための図である。
FIG. 12 is a diagram for explaining a processing procedure of a correlation value calculation in a conventional distance measuring device.

【図13】 相関値数列から小数対応位置を求める処理
における手順を説明する図である。
FIG. 13 is a diagram illustrating a procedure in a process of obtaining a decimal-corresponding position from a correlation value sequence.

【図14】 従来の測距装置における他の例の相関値演
算の処理手順を説明するための図である。
FIG. 14 is a diagram for explaining the processing procedure of another example of the correlation value calculation in the conventional distance measuring apparatus.

【図15】 繰り返しパターンについて相関演算を逐次
おこなった場合の処理手順を説明する図である。
FIG. 15 is a diagram illustrating a processing procedure when correlation calculation is sequentially performed on a repetitive pattern.

【図16】 繰り返しパターンについて図14の相関値
演算の処理手順で行なった場合を説明する図である。
16 is a diagram illustrating a case where a repeating pattern is performed in the processing procedure of the correlation value calculation of FIG. 14;

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

1,2 測距装置 10L,10R,30L,30R 対物レンズ 11L,11R,31L,31R 撮像素子 12,32 制御部 13,33 抜き出し手段 14,34 第1相関演算手段 15 演算許可手段 16 信頼性判定手段 17,36 第2相関演算手段 18,37 対応位置検出手段 19,38 距離検出手段 35 繰り返し判定手段 1, 2 distance measuring device 10L, 10R, 30L, 30R objective lens 11L, 11R, 31L, 31R Image sensor 12, 32 Control unit 13,33 Extraction means 14,34 First correlation calculation means 15 Calculation permission means 16 Reliability judging means 17,36 Second correlation calculation means 18, 37 Corresponding position detecting means 19,38 Distance detecting means 35 Repeat determination means

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2F112 AC03 BA05 CA02 FA03 FA07 FA36 FA45 2H011 BA23 BA25 BB03 2H051 BB00 CE16    ─────────────────────────────────────────────────── ─── Continued front page    F-term (reference) 2F112 AC03 BA05 CA02 FA03 FA07                       FA36 FA45                 2H011 BA23 BA25 BB03                 2H051 BB00 CE16

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 被写体光を受光する一対の撮像素子によ
り得られた画像データから被写体距離を検出する測距装
置であって、 前記画像データからそれぞれ所定の大きさの抜出画像を
抜き出す抜き出し手段と、 前記抜き出し手段によって抜き出された少なくとも一方
の抜出画像を所定画素数ごとに順次ずらしながら両画像
の相関値を示す相関値演算を行う相関演算手段と、 前記相関演算手段による相関値演算の開始、終了及び中
断を制御する演算制御手段と、 前記相関値演算において極値を検出できたか否かを判断
する信頼性判定手段と、 前記相関演算手段の出力する相関係数列に基づいて対応
位置を検出する対応位置検出手段と、 前記対応位置検出手段の検出結果に基づいて被写体距離
を決定する距離検出手段とを備え、 前記演算制御手段は、前記相関演算手段の相関値演算を
任意の段階において中断させ、 前記信頼性判定手段は、演算制御手段による前記相関演
算手段の相関値演算が中断している間にすでに行なわれ
た相関値演算において極値が検出されたか否かを判断
し、 前記中断中に極値が検出された場合は、前記演算制御手
段は前記相関演算手段の相関値演算を終了させるととも
に、前記対応位置検出手段は対応位置を検出し、 前記中断中に極値が検出されなかった場合は、前記演算
制御手段は、前記相関演算手段の相関値演算を再開させ
ることを特徴とする測距装置。
1. A distance measuring device for detecting a subject distance from image data obtained by a pair of image pickup devices for receiving subject light, and extracting means for extracting an extracted image of a predetermined size from the image data. A correlation calculation unit that calculates a correlation value indicating a correlation value between the two images while sequentially shifting at least one extracted image extracted by the extraction unit for each predetermined number of pixels; and a correlation value calculation by the correlation calculation unit. Computation control means for controlling the start, end, and interruption of the correlation value, reliability determination means for determining whether or not an extreme value has been detected in the correlation value computation, and correspondence based on the correlation coefficient string output by the correlation computation means. The arithmetic control unit includes: a corresponding position detecting unit that detects a position; and a distance detecting unit that determines a subject distance based on a detection result of the corresponding position detecting unit. Is for interrupting the correlation value calculation of the correlation calculation means at an arbitrary stage, and the reliability determination means is for the correlation value calculation already performed while the correlation value calculation of the correlation calculation means by the calculation control means is interrupted. It is determined whether or not an extreme value is detected in the calculation, and when the extreme value is detected during the interruption, the calculation control means terminates the correlation value calculation of the correlation calculation means and the corresponding position detection means. Detects the corresponding position, and when the extreme value is not detected during the interruption, the calculation control means restarts the correlation value calculation of the correlation calculation means.
【請求項2】 前記相関演算手段は、前記撮像素子の遠
距離範囲より順次相関値演算を開始し、 前記演算制御手段は、前記相関値演算をその中間段階に
おいて1度中断し、2段階に分けて行なうように前記相
関演算手段を制御することを特徴とする請求項1記載の
測距装置。
2. The correlation calculation means sequentially starts the correlation value calculation from a long distance range of the image sensor, and the calculation control means interrupts the correlation value calculation once at an intermediate stage thereof, and in two stages. 2. The distance measuring device according to claim 1, wherein the correlation calculation means is controlled so as to be performed separately.
【請求項3】 被写体光を受光する一対の撮像素子によ
り得られた画像データから被写体距離を検出する測距装
置であって、 前記画像データからそれぞれ所定の大きさの抜出画像を
抜き出す抜き出し手段と、 前記抜き出し手段によって抜き出された少なくとも一方
の抜出画像を所定画素数ごとに順次ずらしながら両画像
の相関値を示す相関値演算を行う相関演算手段と、 前記相関演算手段による相関値演算の開始、終了及び中
断を制御する演算制御手段と、 前記相関値演算において極値を検出できたか否かを判断
する信頼性判定手段と、 前記相関演算手段の出力する相関係数列に基づいて対応
位置を検出する対応位置検出手段と、 前記対応位置検出手段の検出結果に基づいて被写体距離
を決定する距離検出手段とを備え、 前記相関演算手段は少なくとも一方の抜出画像を第1の
所定画素数ごとに順次ずらす前記相関値演算を行ない、 前記信頼性判定手段が、前記相関値演算において複数の
極値を検出し、当該極値の相関値の差が所定以下である
場合は、前記演算制御手段は、前記相関演算手段に前記
複数の極値が検出された近傍において、抜出画像を第1
の所定画素数よりも少ない第2の所定画素数ごとに順次
ずらす相関値演算を再度開始させるように制御すること
を特徴とする測距装置。
3. A distance measuring device for detecting a subject distance from image data obtained by a pair of image pickup devices for receiving subject light, and extracting means for extracting an extracted image of a predetermined size from the image data. A correlation calculation unit that calculates a correlation value indicating a correlation value between the two images while sequentially shifting at least one extracted image extracted by the extraction unit for each predetermined number of pixels; and a correlation value calculation by the correlation calculation unit. Computation control means for controlling the start, end, and interruption of the correlation value, reliability determination means for determining whether or not an extreme value has been detected in the correlation value computation, and correspondence based on the correlation coefficient string output by the correlation computation means. The correlation calculating means includes: a corresponding position detecting means for detecting a position; and a distance detecting means for determining a subject distance based on a detection result of the corresponding position detecting means. Performs the correlation value calculation in which at least one extracted image is sequentially shifted for each first predetermined number of pixels, the reliability determination means detects a plurality of extreme values in the correlation value calculation, and the correlation of the extreme values is calculated. When the difference between the values is less than or equal to a predetermined value, the calculation control means first outputs the extracted image in the vicinity of the plurality of extreme values detected by the correlation calculation means.
The distance measuring device is controlled so as to restart the correlation value calculation for sequentially shifting for each second predetermined pixel number smaller than the predetermined pixel number.
JP2002017197A 2002-01-25 2002-01-25 Ranging apparatus Pending JP2003214846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002017197A JP2003214846A (en) 2002-01-25 2002-01-25 Ranging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002017197A JP2003214846A (en) 2002-01-25 2002-01-25 Ranging apparatus

Publications (1)

Publication Number Publication Date
JP2003214846A true JP2003214846A (en) 2003-07-30

Family

ID=27652975

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002017197A Pending JP2003214846A (en) 2002-01-25 2002-01-25 Ranging apparatus

Country Status (1)

Country Link
JP (1) JP2003214846A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015232455A (en) * 2014-06-09 2015-12-24 株式会社リコー Image processor, image processing method, program, method for producing parallax data, and device control system
JP2016224160A (en) * 2015-05-28 2016-12-28 株式会社ニコン Focus detection device and imaging device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015232455A (en) * 2014-06-09 2015-12-24 株式会社リコー Image processor, image processing method, program, method for producing parallax data, and device control system
JP2016224160A (en) * 2015-05-28 2016-12-28 株式会社ニコン Focus detection device and imaging device

Similar Documents

Publication Publication Date Title
US8154605B2 (en) Image tracking apparatus, image tracking method and camera for improved recognition of a target object
US20150278996A1 (en) Image processing apparatus, method, and medium for generating color image data
US7868915B2 (en) Photographing apparatus, method and computer program product
CN102959942B (en) Image capture device for stereoscopic viewing-use and control method thereof
US20080100721A1 (en) Method of detecting specific object region and digital camera
JP2010139275A (en) Device and method for measurement of compound eye distance for vehicle
JP2006226965A (en) Image processing system, computer program and image processing method
JP2001249265A (en) Range finder
JP2001249267A (en) Automatic focusing device, digital camera, portable information inputting device, focal position detecting method, and recording medium which can be read by computer
JP2001243478A (en) Target body tracing device
JP2001264622A (en) Automatic focusing device, digital camera, portable information input device, focusing position detecting method and computer readable recording medium
TWI538476B (en) System and method for stereoscopic photography
JPH0875995A (en) Focus detector
JP2003214846A (en) Ranging apparatus
JP2003279348A (en) Method and apparatus for detection of phase difference, distance measuring device and imaging device
US20090244264A1 (en) Compound eye photographing apparatus, control method therefor , and program
JP4817552B2 (en) Phase difference detection method, phase difference detection device, distance measuring device, and imaging device
US20130076868A1 (en) Stereoscopic imaging apparatus, face detection apparatus and methods of controlling operation of same
JP4632640B2 (en) Ranging device
JP7240258B2 (en) IMAGE PROCESSING DEVICE, CONTROL METHOD AND PROGRAM OF IMAGE PROCESSING DEVICE
JP4085720B2 (en) Digital camera
JP2008042694A (en) Image processing apparatus, image pickup device and image processing method
JP2008053809A (en) Camera and subject area extracting method
CN112424566B (en) Distance measuring camera
JP2005147959A (en) Distance-measuring method and distance-measuring device

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050615

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20050701

RD02 Notification of acceptance of power of attorney

Effective date: 20050701

Free format text: JAPANESE INTERMEDIATE CODE: A7422

A072 Dismissal of procedure

Free format text: JAPANESE INTERMEDIATE CODE: A072

Effective date: 20051018

A072 Dismissal of procedure

Free format text: JAPANESE INTERMEDIATE CODE: A072

Effective date: 20051018