Claims
- 1. A focus detection system in which light from a object is incident on first and second photosensor arrays via an optical system to form a first image on the first array and a second image on the second array to obtain a relative displacement amount X between the first image with respect to the first array and the second image with respect to the second array, so as to determine whether said optical system is in focus or not, each array generating a respective pattern of signals in response to light falling on the photosensors of the respective array, said system comprising:
- means for storing a function f(i) expressing inconsistency between the pattern of signals from the first array and the pattern of signals from the second array when the patterns are shifted with respect to one another by a shift amount i and compared with each other, the shift amount i being an integer which represents the difference between a photosensor position in the first array and a photosensor position in the second array;
- means for obtaining function values f(i.sub.0), f(i.sub.0 -1), f(i.sub.0 -2), f(i.sub.0 +1) and f(i.sub.0 +2) corresponding to i.sub.0, (i.sub.0 -1), (i.sub.0 -2), (i.sub.0 +1) and (i.sub.0 +2), were i.sub.0 is the value of the shift amount i when f(i) is at a minimum;
- means for computing an amount I =X/p (p =pitch of the arrayed photosensors in the photosensor arrays) from said function values, said amount I being given by formulas (1) and (2) below:
- I=i.sub.0 +1/2-{f(i.sub.0 +1)-f(i.sub.0)}/A (1)
- where
- A=2{B.sub.1 +K.sub.1 (B.sub. -B.sub.2)}
- B.sub.1 =f(i.sub.0 -1)-f(i.sub.0)
- B.sub.2 =f(i.sub.0 +2)-f(i.sub.0 +1)
- k.sub.1 =a constant between 0 and 0.5
- I=i.sub.0 -1/2+{f(i.sub.0 -1)-f(i.sub.0)}/C (2)
- where
- C=2{D.sub.1 +K.sub.1 (D.sub.1 -D.sub.2)}
- D.sub.1 =f(i.sub.0 +1)-f(i.sub.0)
- D.sub.2 =f(i.sub.0 -2)-f(i.sub.0 1)
- K.sub.1 =a constant between 0 and 0.5
- means for comparing said function value f(i.sub.0 -1) with said function value f(i.sub.0 +1) to judge whether
- (a) f(i.sub.0 -1)>f(i.sub.0 +1),
- (b) f(i.sub.0 -1)=f(i.sub.0 +1), or
- (c) f(i.sub.0 -1)<f(i.sub.0 +1); and
- means for obtaining said amount I given by said formula (1) in the case of (a), or given by I=i.sub.0 in the case of (b), or given by said formula (2) in the case of (c).
- 2. A focus detection method in which light from an object is incident on first and second photosensor arrays via an optical system to form a first image on the first array and a second image on the second array to obtain a relative displacement amount X between the first image with respect to the first array and the second image with respect to th second array, so as to determine whether said optical system is in focus or not, each array generating a respective pattern of signals in response to light falling on the photosensors of the respective array, said method comprising the steps of:
- obtaining function values f(i.sub.0), f(i.sub.0 -1), f(i.sub.0 -2), f(i.sub.0 +1) and f(i.sub.0 +2) for a function f(i) expressing inconsistency between the pattern of signals from the first array and the pattern of signals from the second array when the patterns are shifted with respect to one another by a shift amount i and compared with each other, the shift amount i being an integer which represents the difference between a photosensor position in the first array and a photosensor position in the second array, i.sub.0 being the value of i when the value of f(i) is at a minimum;
- computing an amount I =X/p (p =pitch of the arrayed photosensors in the photosensor arrays) from said function values, said amount I being given by formulas (1) and (2) below:
- I=i.sub.0 +1/2-{f(i.sub.0 +1)-f(i.sub.0)}/A (1)
- where
- A=2{B.sub.1 +K.sub.1 (B.sub.1 -B.sub.2)}
- B.sub.1 =f(i.sub.0 -1)-f(i.sub.0)
- B.sub.2 =f(i.sub.0 +2)-f(i.sub.0 +1)
- k.sub.1 =a constant between 0 and 0.5
- I=i.sub.0 -1/2+{f(i.sub.0 -1)-f(i.sub.O)}/C (2)
- where
- C=2{D.sub.1 +K.sub.1 (D.sub.1 -D.sub.2)}
- D.sub.1 =f(i.sub.0 +1)-f(i.sub.0)
- D.sub.2 =f(i.sub.0 -2)-f(i.sub.0 -1)
- K.sub.1 =a constant between 0 and 0.5
- comparing said function value f(i.sub.0 -1) with said function value f(i.sub.0 +1) to judge whether
- (a) f(i.sub.0 -1)>f(i.sub.0 +1),
- (b) f(i.sub.0 -1)=f(i.sub.0 +1), or
- (c) f(i.sub.0 -1)<f(i.sub.0 +1); and
- obtaining said amount I given by said formula (1) in the case of (a), or given by I=i.sub.0 in the case of (b), or given by said formula (2) in the case of (c).
- 3. A focus detection system in which light from an object is incident on first and second arrays of photosensors via an optical system to provide a first image impinging on the first array and a second image impinging on the second array, wherein the photosensors of the first array generate a pattern of signals F(1), F(2), F(3), . . . and the photosensors of the second array generate a pattern of signals S(1), S(2), S(3), . . . and wherein the photosensors of the arrays are disposed at a predetermined pitch, said system comprising:
- means for evaluating a function f(i) expressing inconsistency between the patterns of signals, where ##EQU6## i=an integer representing the difference between a photosensor position in the first array and a photosensor position in the second array
- j=an integer representing a photosensor position in both arrays;
- means for selecting, from the integers i, a value i.sub.0 at which f(i) is minimized; means for obtaining function values f(i.sub.0), f(i.sub.0 -1), f(i.sub.0 -2), f(i.sub.0 +1) and f(i.sub.0 +2) corresponding to i.sub.0, (i.sub.0 -1), (i.sub.0 -2), (i.sub.0 +1) and (i.sub.0 +2), respectively;
- means for computing an amount I from said function values, said amount I being given by formulas (1) and (2) below:
- I=i.sub.0 +1/2-{f(i.sub.0 +1)-f(i.sub.0)}/A (1)
- where
- A=2{B.sub.1 +K.sub.1 (B.sub.1 -B.sub.2)}
- B.sub.1 =f(i.sub.0 -1)-f(i.sub.0)
- B.sub.2 =f(i.sub.0 +2)-f(i.sub.0 +1)
- k.sub.1 =a constant between 0 and 0.5
- I=i.sub.0 -1/2+{f(i.sub.0 -1)-f(i.sub.O)}/C (2)
- where
- C=2{D.sub.1 +K.sub.1 (D.sub.1 -D.sub.2)}
- D.sub.1 =f(i.sub.0 +1)-f(i.sub.0)
- D.sub.2 =f(i.sub.0 -2)-f(i.sub.0 -1)
- K.sub.1 =a constant between 0 and 0.5;
- means for comparing said function value f(i.sub.0 -1) with said function value f(i.sub.0 +1) to judge whether
- (a) f(i.sub.0 -1)>f(i.sub.0 +1),
- (b) f(i.sub.0 -1)=f(i.sub.0 +1), or
- (c) f(i.sub.0 -1)<f(i.sub.0 +1); and
- means for generating a defocus signal from said amount I given by said formula (1) in the case of (a), or given by I=i.sub.0 in the case of (b), or given by said formula (2) in the case of (c), the defocus signal being used to control the position of the optical system.
Priority Claims (1)
Number |
Date |
Country |
Kind |
61-265469 |
Nov 1986 |
JPX |
|
Parent Case Info
This application is a continuation of application Ser. No. 07/096,530, filed Sep. 15th, 1987, now abandoned.
US Referenced Citations (15)
Continuations (1)
|
Number |
Date |
Country |
Parent |
96530 |
Sep 1987 |
|