Claims
- 1. A method of obtaining distance data from an object to a lens based on an image of the object obtained by an image input unit which forms an image of the object through the lens on an image receiving plane, comprising the steps of:
- providing a single image input unit, including a lens and an image receiving plane, obtaining two images Is and Is' of an object by forming the two images Is and Is' through the lens on the image receiving plane;
- obtaining the two images Is and Is' having two different first and second blurs, respectively, using said single image input unit, by setting at least one of a position of the lens and a position of the image receiving plane in relation to the object different for each of said two images Is and Is' by a minute distance .DELTA.z on an optical axis common to said two images Is and Is';
- performing filtering processes by applying a filter to each of said two images Is and Is', thereby generating two output images Fs and Fs'; and
- calculating a distance a from the lens to the object based on said generated two output images Fs and Fs' according to a relation between said generated two output images Fs and Fs' and a radius s of the first blur and a radius s' of the second blur on the image receiving plane for the object at the distance a from the lens and a relation between the radius s of the first blur and a radius s' of the second blur and the distance a from the lens to the object.
- 2. The method of measuring the distance according to claim 1 further comprising:
- the step of designating said filtering processes by the following expressions (A) and (B)
- Fs=.intg.exp (-x.sup.2 /.sigma..sup.2) exp (ikx)Is(x)dx (A)
- Fs'=.intg.exp (-x.sup.2 /.sigma..sup.2) exp (ikx)Is'(x)dx (B)
- where k represents a predetermined spatial frequency in a Gaussian spatial filtering process, .sigma. represents a distribution of the Gaussian spatial filtering process, and x represents a coordinate in a direction of the x axis,
- the step of representing a relation between the generated two output images Fs and Fs' and the radius of s of the first blur by the following expression (C) ##EQU5## and the step of representing a relation between the radius s of the first blur and the distance a from the lens to the object by the following expression (D) ##EQU6## where .GAMMA. represents a radius of the lens and f a focus distance of the lens.
- 3. The method of measuring the distance according to claim 1 wherein the calculating step further includes the step of calculating the distance a from the lens to the object by referring to a look-up-table which is previously prepared to represent a relation between a calculation value of said expression (C) and the distance a from the lens to the object.
- 4. A distance measuring apparatus comprising:
- a single image input unit including a lens and an image receiving plane, obtaining two observed images of an object on the image receiving plane and outputting the two observed images;
- first operation means for receiving a first image of said two observed images from said single image input unit and for applying a filtering process to the first image input from said single image input unit by performing a Fourier transformation for a respective predetermined frequency k;
- second operation means for receiving a second image of said two observed images from said single image input unit and for applying said filtering process of said first operation means to the second image input from the single image input unit if at least one of a lens position, a position of the image receiving plane, and a position of the single image input unit is moved from a position of said first image; and
- third operation means for obtaining a distance from the lens to the object based on a result of the first operation means for the first image, a result of the second operation means for the second image and a distance in which said at least one of the lens, the image receiving plane and the single image input unit are moved.
- 5. The distance measuring apparatus according to claim 4, wherein the first and second operation means include means for performing an integration of a result obtained by multiplying the two observed images input from said single image input unit by a Gaussian function and a Fourier function.
- 6. The distance measuring apparatus according to claim 5, wherein said third operation means includes means for obtaining the distance from the lens to the object from the following expressions ##EQU7## wherein Fs represents a result of the first operation means, Fs' represents a result of the second operation means, .DELTA.z is the quantity of the movement representing the distance in which said at least one of the lens, the image receiving plane and the single image input unit are moved, k is a predetermined spatial frequency in a Gaussian spatial filtering process, .GAMMA. is a radius of the lens, f is a focus distance of the lens, s is a radius blur of one of the two observed images, and a is the distance from the lens to the object.
- 7. The distance measuring apparatus according to claim 5, further comprising memory means for storing a look-up-table previously prepared for a result of the first operation means, a result of the second operation means and the distance from the lens to the object, wherein said third operation means obtains the distance from the lens to the object by referring to said look-up-table.
- 8. The distance measuring apparatus according to claim 7 further comprising means for obtaining said look-up-table by performing a calculation of data associated with the result of the first operation means and the result of the second operation means obtained for the quantity of the movement.
- 9. The distance measuring apparatus according to claim 4, wherein said single image input unit comprises a lens movement structure moving the lens along an optical axis and outputting the first and second images obtained on the image receiving plane before the lens is moved and after the lens is moved, respectively.
- 10. The distance measuring apparatus according to claim 4, wherein said single image input unit comprises an image receiving plane structure moving the image receiving plane along an optical axis and outputting the first and second images on the image receiving plane before the image receiving plane is moved and after the image receiving plane is moved, respectively.
- 11. The distance measuring apparatus according to claim 4, wherein said single image input unit comprises a structure moving a camera body along an optical axis keeping positions of the lens and the image receiving plane fixed and outputting the first and second images on the image receiving plane before the camera body is moved and after the camera body is moved, respectively.
- 12. The distance measuring apparatus according to claim 4, wherein said single image input unit includes a spectroscope and respective image receiving planes with different distances from the spectroscope, and outputs the first and second images at the respective image receiving plane.
Priority Claims (1)
Number |
Date |
Country |
Kind |
3-241289 |
Sep 1991 |
JPX |
|
Parent Case Info
This application is a continuation of application Ser. No. 07/947,839, filed Sep. 21, 1992, now abandoned.
US Referenced Citations (29)
Non-Patent Literature Citations (2)
Entry |
"New Automatic Focusing System for Video Cameras," Hideo Toyoda et al., IEEE Transactions on Consumer Electronics, vol. CE-32 No. 3, Aug. 1986, New York, pp. 312-318. |
"Robot Vision Sensor," James E. Orrock, Scientific Honeyweller, vol. 5, No. 3, Sep. 1984, Minneapolis, pp. 13-21. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
947839 |
Sep 1992 |
|