Imaging device and control method thereof

The imaging device uses predicted image plane positioning and adaptive focus element drive speed control to maintain effective focus on moving subjects, addressing the challenge of changing subject speeds.

JP7558685B2Active Publication Date: 2024-10-01CANON KK
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2020097555
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-03-30
Filing Date
2020-06-04
Publication Date
2024-10-01
Estimated Expiration
2040-06-04

AI Technical Summary

Technical Problem

Existing imaging devices struggle to maintain effective focus control when the speed of a moving subject changes, as they do not adequately control the driving speed of the focus lens.

Method used

The imaging device incorporates a focus detection unit that calculates a predicted image plane position using past defocus amounts and time data, and a control unit that adjusts the focus element's drive speed to match this position, allowing for dynamic focus adjustments based on predicted subject movement.

Benefits of technology

This approach enables precise focus control even when subject speed changes, ensuring high-quality imaging by accurately tracking moving subjects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007558685000001
    Figure 0007558685000001
  • Figure 0007558685000002
    Figure 0007558685000002
  • Figure 0007558685000003
    Figure 0007558685000003
Patent Text Reader

Abstract

To make it possible to perform good focus control even if moving speed of a subject changes.SOLUTION: An imaging device 20 detects an amount of defocus using a signal obtained from an imaging element 201 for capturing an object image formed by an imaging optical system to calculate a predicted image plane position that is an image plane position of an object image at a previous time by predictive calculation using an amount of defocus detected for several times, a position and time of a focus element when the amount of defocus is detected. Then, an amount of drive of the focus element is calculated using a predicted image plane position, drive speed of the focus element corresponding to the amount of drive is calculated, and the focus element is controlled so as to be driven at the drive speed. Drive speed is calculated so that an image plane position of an imaging optical system approaches a predicted image plane position.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an imaging apparatus that performs focus control. [Background technology]

[0002] Some imaging devices such as digital cameras perform autofocus (AF) using an image plane phase difference detection method that uses an output signal from an image sensor for capturing an image of a subject. Patent Document 1 discloses an imaging device that performs AF while tracking a subject by calculating the moving speed of the image plane position where the subject image is formed when capturing an image of the moving subject, and adding a correction amount correlated with the image plane speed to the latest defocus amount to calculate the driving amount of the focus lens. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Publication No. 4-133016 Summary of the Invention [Problem to be solved by the invention]

[0004] However, the imaging device disclosed in Patent Document 1 does not control the drive speed of the focus lens, and so there is a risk that good focus control cannot be performed in response to changes in the moving speed of the subject.

[0005] The present invention provides an imaging apparatus capable of performing good focus control even if the moving speed of a subject changes. [Means for solving the problem]

[0006] An imaging device according to one aspect of the present invention includes a focus detection means for detecting a defocus amount using a signal obtained from an imaging element that captures an object image formed by an imaging optical system, a prediction means for calculating a predicted image plane position, which is the image plane position of the object image at a future time, by predictive calculation using data on the defocus amount detected multiple times and the position of the focus element and time when the defocus amount was detected, and a control means for calculating a drive amount of the focus element using the predicted image plane position, calculating a drive speed of the focus element according to the drive amount, and controlling the focus element to be driven at the drive speed. The control means calculates the drive speed so that the image plane position of the imaging optical system approaches the predicted image plane position. and selecting whether to control the driving of the focus element by a first driving amount calculated using information corresponding to the predicted image plane position or by a second driving amount larger than the first driving amount. The present invention is characterized by the above.

[0007] A control method for an imaging device according to another aspect of the present invention includes the steps of: detecting a defocus amount using a signal obtained from an imaging element that captures an object image formed by an imaging optical system; calculating a predicted image plane position, which is the image plane position of the object image at a previous time, by predictive calculation using data on the defocus amount detected multiple times and the position and time of the focus element when the defocus amount was detected; and calculating a drive amount of the focus element using the predicted image plane position, and calculating a drive speed of the focus element according to the drive amount, and controlling the focus element to be driven at the drive speed. The control method calculates the drive speed so that the image plane position of the imaging optical system approaches the predicted image plane position. and selecting whether to control the driving of the focus element by a first driving amount calculated using information corresponding to the predicted image plane position or by a second driving amount larger than the first driving amount. The present invention is characterized by the above.

[0008] A computer program for causing a computer of an imaging device to execute processing according to the above control method also constitutes another aspect of the present invention. Effect of the Invention

[0009] According to the present invention, good focus control can be performed even if the moving speed of the subject changes. [Brief description of the drawings]

[0010] [Figure 1] FIG. 1 is a block diagram showing the configuration of a camera and an interchangeable lens according to a first embodiment of the present invention. [Diagram 2] 2 is a diagram showing a pixel configuration for performing focus detection by an image plane phase difference detection method in the camera of the first embodiment. FIG. [Diagram 3] 5A to 5C are diagrams for explaining evaluation values ​​relating to the amount of change in correlation between two images in the first embodiment. [Figure 4] 4 is a flowchart showing an AF process in the first embodiment. [Diagram 5] 1 is a flowchart showing a prediction process in the first embodiment. [Figure 6] 5 is a flowchart showing focus detection processing in the first embodiment. [Figure 7] 10 is a flowchart showing an AF control process during moving image capture in the second embodiment of the present invention. [Figure 8] 13 is a diagram showing the relationship between a lens image plane position and a subject image plane position in Example 3 of the present invention. [Figure 9] 10 is a flowchart showing an AF control process during moving image capture in Example 4 of the present invention. [Figure 10] 13 is a flowchart showing a subject switching determination process in the fourth embodiment. [Figure 11] 13 is a flowchart showing a perspective conflict determination process in the fourth embodiment. [Figure 12] 13A to 13C are diagrams showing time-series changes in image plane position when a subject is switched by panning in the fourth embodiment. [Figure 13A] 13 is a flowchart showing an AF control process during moving image shooting in the fifth embodiment of the present invention. [Figure 13B] 13 is a flowchart showing an AF control process during moving image capture in the fifth embodiment. [Figure 14] 13 is a flowchart showing a process of calculating a loss threshold value in the fifth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Hereinafter, embodiments of the present invention will be described with reference to the drawings. EXAMPLES

[0012] 1 shows the configuration of a lens-interchangeable camera system that is a first embodiment of the present invention and is made up of a camera body (hereinafter simply called a camera) 20 as an imaging device and an interchangeable lens 10. The interchangeable lens 10 is detachably attached to the camera 20 via its mount portion.

[0013] The interchangeable lens 10 has an imaging optical system including a fixed lens 101, an aperture 102, and a focus lens (focus element) 103. The aperture 102 is driven by an aperture actuator included in an aperture drive unit 104, and adjusts the amount of light passing through the imaging optical system by increasing or decreasing its opening diameter. The focus lens 103 is driven in the optical axis direction by a focus actuator included in a focus drive unit 105 to perform focus adjustment.

[0014] The lens operation unit 107 includes various operation members operated by the user. The lens control unit 106 performs control and processing in response to user operations on the lens operation unit 107. The lens control unit 106 also controls the aperture driving unit 104 and the focus driving unit 105 in response to commands and information received from a camera control unit 212 (described later) via electrical contacts (not shown) provided on the mount unit, and transmits information about the interchangeable lens 10 (lens information) to the camera control unit 212.

[0015] The camera 20 has an image sensor 201, a CDS / AGC / AD 202, an image input controller 203, an AF signal processing unit 204, a display control unit 205, a display unit 206, a recording medium control unit 207, a recording medium 208, an SDRAM 209, a ROM 210, a flash ROM 220, a camera control unit 212 and a camera operation unit 214. The image sensor 201 is configured with a CCD sensor or a CMOS sensor, captures (photoelectrically converts) an object image formed by an imaging optical system, and outputs an analog electrical signal. The image sensor 201 is driven in response to an imaging drive signal provided from a timing generator 215 in accordance with a command from a camera control unit 212.

[0016] Moreover, the image sensor 201 is configured so that each pixel has one microlens and two photoelectric conversion units (photodiodes) in order to perform AF by an image sensor phase difference detection method (image sensor phase difference AF). FIG. 2 shows the pixel array of the image sensor 201, and shows a range of six pixel rows (Y direction) and eight pixel columns (X direction) of the CMOS image sensor as seen from the imaging optical system side. The image sensor 201 is provided with color filters in a Bayer array, and green (G) and red (R) color filters are alternately arranged from the left in the odd-numbered rows of pixels, and blue (B) and green (G) color filters are alternately arranged from the left in the even-numbered rows of pixels. In the pixel 211, a circle with a reference number 211i indicates an on-chip microlens (hereinafter simply referred to as a microlens), and two rectangles with reference numbers 211a and 211b arranged inside the microlens 211i respectively indicate photoelectric conversion units.

[0017] The light beam incident on each pixel is split into two by the microlens 211i, and these two light beams are photoelectrically converted by the two photoelectric conversion units 211a and 211b, so that two electrical signals, signal A and signal B, can be extracted. By combining the signal A and signal B extracted from each of the multiple pixels, two (pair) image signals, A image signal and B image signal (hereinafter, also referred to as a pair of AF image signals), are obtained as image signals for focus detection in AF. Also, by combining the signal (A+B) obtained by adding the signal A and the signal B extracted from each of the multiple pixels, an image signal for generating a captured image is obtained. Note that, in each pixel, one of the signal A and the signal B may be subtracted from the signal (A+B) to obtain the other signal.

[0018] The pair of AF image signals and imaging signals read out from the image sensor 201 are input to a CDS / AGC / AD converter 202, which performs correlated double sampling to remove reset noise, gain adjustment, and digital signal conversion. The CDS / AGC / AD converter 202 outputs the pair of digital AF image signals to an AF signal processor 204, and outputs a digital imaging signal to an image input controller 203.

[0019] The image input controller 203 stores the digital imaging signal in the SDRAM 209. The digital imaging signal stored in the SDRAM 209 is sent to the display control unit 205 via the bus 21. The display control unit 205 displays an image corresponding to the digital imaging signal on the display unit 206. When a mode for recording captured images is set, the digital imaging signal is recorded on the recording medium 208 by the recording medium control unit 207.

[0020] The ROM 210 stores computer programs executed by the camera control unit 212 as a computer, data necessary for various controls, etc. The flash ROM 220 stores various information related to the operation of the camera 20, such as information set by the user.

[0021] The subject detection unit 216 performs face detection processing and the like on the digital imaging signal read out from the image sensor 201, and detects information relating to the face area of ​​the subject and color information characteristic of the subject. The shake detection unit 217 detects the amount of shake of the camera.

[0022] The AF signal processing unit 204 performs correlation calculations on the A and B image signals as a pair of digital AF image signals, and calculates the phase difference (image shift amount) between the A and B image signals and reliability information (degree of coincidence between two images, contrast information, saturation information, scratch information, etc.). The AF signal processing unit 204 outputs the calculated image shift amount and reliability information to the camera control unit 212. Furthermore, the camera control unit 212 notifies the AF signal processing unit 204 of changes to the settings for calculating these, depending on the acquired image shift amount and reliability information. For example, when the image shift amount is large, the area in which the correlation calculation is performed is set to be wide, or the type of band-pass filter is changed depending on the contrast information.

[0023] The camera control unit 212 controls each block in the camera 20. In addition, the camera operation unit 214 controls the operation of the interchangeable lens 10 while communicating with the lens control unit 106. The camera control unit 212 includes an AF control unit 213. The AF control unit 213 performs AF control (focus control) using the amount of image shift and reliability information. The AF signal processing unit 204 and the AF control unit 213 constitute a focus detection means.

[0024] The flowchart in Fig. 4 shows the AF control process (control method) executed by the camera control unit 212 (AF control unit 213) as a control means and a prediction means in accordance with a computer program. In S401, the camera control unit 212 performs focus detection process. The focus detection process will be described in detail later. The image plane position is calculated based on the defocus amount detected by focus detection and the position of the focus lens 103. The calculated image plane position is stored in a memory area on the SDRAM 209 for multiple past times together with the detection time of the defocus amount.

[0025] Next, in S402, the camera control unit 212 uses the reliability information obtained in the focus detection process in S501 to determine whether the reliability of the focus detection result is high. If the reliability is high, the camera control unit 212 proceeds to S403, and if the reliability is low, the subject is in a large blur state, so the camera control unit 212 proceeds to S408.

[0026] In S403, the camera control unit 212 as a prediction means calculates an image plane position (hereinafter, detected subject image plane position) where a focused subject image is formed from the defocus amount detected (calculated) in the focus detection process in S401, and performs a prediction process (prediction calculation) using the calculated detected subject image plane position. This calculates a predicted subject image plane position (predicted image plane position) as a subject image plane position in the future (at a future time). In the prediction process, the predicted subject image plane position is calculated from the detected subject image plane positions detected multiple times in the past and the calculation times of the defocus amount at that time. In this embodiment, the prediction process is performed using statistical calculation as shown in the flowchart of FIG. 5. Note that instead of the information on the image plane position, the process of the present invention may be performed using information on the focus lens position as information corresponding to the image plane position.

[0027] First, in S501, the camera control unit 212 determines whether the number of data pieces indicating the defocus amount calculation time and the detected subject image plane position is equal to or greater than a first predetermined number. This is because if the number of data pieces is less than the first predetermined value, statistical calculation cannot be performed. If the number of data pieces is equal to or greater than the first predetermined value, the camera control unit 212 proceeds to S402, and if the number of data pieces is less than the first predetermined value, the camera control unit 212 proceeds to S504.

[0028] In S502, the camera control unit 212 calculates the prediction formula f(t) shown in equation (1) by statistical calculation. f(t)=α+βt+γtn (1) In formula (1), a linear regression model is considered in which f(t), which represents the detected subject image plane position, is the objective variable, and t and tn, which represent the defocus amount calculation time, are explanatory variables. Then, the camera control unit 212 statistically determines the coefficients α, β, and γ by multiple regression analysis using formula (1) so that the prediction formula f(t) best fits (fits) the pair of the detected subject image plane position and the defocus amount calculation time detected multiple times in the past. In addition, as the value of n in formula (1), a value that minimizes the prediction error when a prediction calculation is performed on samples of multiple representative moving object prediction imaging scenes is obtained.

[0029] Next, in S503, the camera control unit 212 calculates the predicted subject image plane position using the prediction formula f(t) determined in S502 and data (defocus amount calculation time and detected subject image plane position), and then proceeds to S404 in FIG.

[0030] On the other hand, in S504, the camera control unit 212 calculates the subject image plane position from the calculated defocus amount without using statistical calculation. The subject image plane position here is the image plane position at which the subject is in focus, calculated from the current focus lens position and defocus amount. In other words, it is the position of the back focal point when the focus lens is in a position at which the subject is in focus. Note that, as described above, instead of the information on the image plane position, the processing of the present invention may be performed using information on the focus lens position as information corresponding to the image plane position. Then, proceed to S404 in FIG. 4.

[0031] In addition, when the change speed (image plane speed) of the detected object image plane position is slower than a predetermined change speed, the predicted object image plane position may be calculated from the calculated defocus amount without using statistical calculation. Furthermore, when the magnification (zoom) of the imaging optical system is changed, the predicted object image plane position may be calculated from the calculated defocus amount without using statistical calculation.

[0032] In S404 of FIG. 4, the camera control unit 212 calculates the difference between the predicted subject image plane position calculated in S403 and the current image plane position of the imaging optical system (hereinafter referred to as the lens image plane position), and uses the difference to calculate a lens driving amount (first driving amount: hereinafter referred to as the first lens driving amount) as the driving amount of the focus lens 103.

[0033] Next, in S405, camera control unit 212 drives focus lens 103 to match the lens image plane position with the predicted subject image plane position, in other words to bring it closer, by dividing the first lens driving amount calculated in S404 by the time length for driving focus lens 103 to calculate the driving speed of focus lens 103 (hereinafter referred to as lens driving speed). Here, when capturing a moving image, in order to maintain the quality of the captured image, the lens driving speed may be calculated to be slower than when capturing a still image.

[0034] Next, in S406, the camera control unit 212 sets (selects) the lens driving amount to be transmitted to the lens control unit 106 according to the lens driving speed calculated in S405. In this embodiment, the lens driving amount to be transmitted to the lens control unit 106 is made variable according to the lens driving speed. For example, when the lens driving speed is faster than a predetermined driving speed V1 in order to keep the focus on a subject moving at high speed, a second lens driving amount larger than the first lens driving amount is set. On the other hand, when the lens driving speed is slower than the predetermined driving speed V1 or when the image plane speed is decelerated, the first lens driving amount is transmitted to the lens control unit 106 in order to prevent over-response of the focus control.

[0035] Furthermore, the camera control unit 212 calculates a predicted subject image plane position (second predicted image plane position) at a second time prior to the first time at which the predicted subject image plane position (first predicted image plane position) was calculated in S403, and calculates a second lens driving amount to be transmitted to the lens control unit 106 using the predicted subject image plane position at the second time. In addition, when the lens driving speed is faster than a predetermined driving speed V1, the second lens driving amount may be increased as the lens driving speed is faster, and may be decreased as the lens driving speed is slower.

[0036] The camera control unit 212 transmits a focus command including the lens drive amount and lens drive speed thus set to the lens control unit 106. The lens control unit 106 drives the focus lens 103 via the focus drive unit 105 in accordance with the received lens drive amount and lens drive speed. By instructing the lens control unit 106 on the lens drive amount and lens drive speed, it becomes possible to satisfactorily track the focus of a subject that moves at high speed, and also to satisfactorily track the focus of a subject that accelerates and decelerates.

[0037] If the subject is moving at a constant speed, only the lens drive speed may be instructed without instructing the lens drive amount. Also, during driving of the focus lens 103 in S406, the prediction process may be performed again in S403 between two adjacent detection timings for detecting the defocus amount, and the lens drive amount and lens drive speed instructed to the lens control unit 106 may be updated.

[0038] Next, in S407, the camera control unit 212 determines whether or not image capture has been completed. If image capture has been completed, the AF process is terminated. If image capture has not been completed, the process returns to S401 and the focus detection process is performed again.

[0039] In S408, the camera control unit 212 sends a command to the lens control unit 106 to drive the focus lens 103 at a preset search lens drive speed to search for a subject, and then returns to S401 to perform focus detection processing again. The search lens drive speed may be a fixed value or a value selected by the user. The lens control unit 106 drives the focus lens 103 via the focus drive unit 105 according to the received search lens drive speed.

[0040] The flowchart in Fig. 6 shows the focus detection process performed by the camera control unit 212 (AF control unit 213) in S401 in Fig. 5. In S601, the camera control unit 212 causes the AF signal processing unit 204 to perform a correlation calculation on the paired AF image signals acquired from the image sensor 201. The camera control unit 212 then calculates a defocus amount from the shift amount Shift, which is the image shift amount at which the correlation amount received from the AF signal processing unit 204 becomes a minimum value. The camera control unit 212 also causes the AF signal processing unit 204 to calculate the correlation amount of the paired AF image signals for each shift amount Shift. The camera control unit 212 further generates a waveform of the correlation amount for each shift amount Shift received from the AF signal processing unit 204.

[0041] Next, in S602, the camera control unit 212 calculates the correlation change amount of the paired AF image signals. Fig. 3 shows an example of the correlation change amount when the focus lens 103 is driven from a state where the subject image is largely blurred to a near-in-focus state in image plane phase difference AF. The horizontal axis indicates the degree of blur, and the vertical axis indicates the correlation change amount MAXDER. The correlation change amount MAXDER can be calculated using the following formula (2).

[0042] MAXDER(k)=(COR[k‐3]-COR[k‐1]) -(COR[k-2]-COR[k]) (2) In equation (2), k is an integer variable that specifies the position, and COR[k] is the amount of correlation between the pair of AF image signals at position k. In image-plane phase-difference AF, the value of the amount of correlation change increases as the image moves from a state with a high degree of blur to a focused state.

[0043] Next, in S603, the camera control unit 212 calculates the standard deviation Defocus3σ of the defocus amount by using the correlation change amount MAXDER according to the following formula (3). Defocus3σ = K × (A × MAXDER B ) (3) In the formula (3), K is a conversion coefficient for converting the image shift amount into a defocus amount, and A and B are conversion coefficients for converting the correlation change amount MAXDER into the standard deviation of the image shift amount. The camera control unit 212 calculates the standard deviation Defocus3σ of the three types of defocus amounts by substituting the correlation change amount MAXDER calculated in S603 into the formula (3).

[0044] Next, in S604, the camera control unit 212 calculates Def3σTH3, Def3σTH2, and Def3σTH1 as thresholds for the standard deviation Defocus3σ of the defocus amount in order to calculate a reliability evaluation value Rel indicating the reliability of the defocus amount.

[0045] Next, in S605, the camera control unit 212 calculates a reliability evaluation value Rel using the calculated threshold value. The reliability evaluation value Rel is represented in four levels of reliability evaluation value Rel3, reliability evaluation value Rel2, reliability evaluation value Rel1, and reliability evaluation value Rel0 in descending order of reliability, and is defined by the following formula (4).

[0046] Rel = Rel3: when Defocus3σ ≤ Def3σTH3 Rel2: when Def3σTH3 < Defocus3σ ≤ Def3σTH2 Rel1: when Def3σTH2 < Defocus3σ ≤ Def3σTH1 Rel0: when Def3σTH1 ≤ Defocus3σ (3) The camera control unit 212 that has calculated the reliability evaluation value Rel as described above ends the focus detection process.

Embodiment

[0047] The flowchart of FIG. 7 shows the AF control process during video imaging in Embodiment 2 of the present invention. S401 to S408 shown in FIG. 7 are the same as S401 to S408 in Embodiment 1 (FIG. 4). Also, the configuration of the camera in this embodiment is the same as the configuration of the camera in Embodiment 1 (FIG. 1).

[0048] The camera control unit 212 that has passed through S401 and S402 determines in S409 whether the subject distance is longer than a predetermined distance Th_Far. The moving object detection performed in S412 described later determines whether an object is a moving object based on the approach and separation tendency of a plurality of defocus amounts sampled over a certain time (period). Therefore, the larger the number of defocus amounts when obtaining the approach and separation tendency, the more difficult it is to show the approach and separation tendency, and the less sensitive the moving object determination becomes. Conversely, the smaller the number of defocus amounts, the sooner the approach and separation tendency appears, so the moving object determination becomes more sensitive.

[0049] If the subject distance is longer than Th_Far, the camera control unit 212 determines that the subject is far away and proceeds to S410. Since the moving speed of the image plane position of a subject at a far distance is slow, the moving object determination may be made insensitive. For this reason, in S410, the camera control unit 212 makes the moving object determination insensitive by increasing the number of samplings of the defocus amount used for the moving object determination from the normal number. In other words, the sensitivity of the moving object determination is set to the first sensitivity. Then, the process proceeds to S412.

[0050] On the other hand, if the subject distance is equal to or less than Th_Far, the camera control unit 212 determines that the subject is in a close distance and proceeds to S411. Since the image plane position of a subject in a close distance moves quickly, it is better to make the moving object determination sensitive and to make the focus control quickly follow the movement of the image plane position. For this reason, in S411, the camera control unit 212 sets the number of samplings of the defocus amount used for moving object detection to a normal number so that a moving object determination can be performed quickly. In other words, the sensitivity of the moving object determination is set to a second sensitivity higher than the first sensitivity. Then, the process proceeds to S412.

[0051] In S412, the camera control unit 212 performs moving object determination using the defocus amount of the sampling number set in S410 or S411.

[0052] Next, in S413, the camera control unit 212 checks whether or not the subject was determined to be a moving object in S412 (moving object flag flg=0). If the subject was not determined to be a moving object, the camera control unit 212 proceeds to S414, and if the subject was determined to be a moving object, the camera control unit 212 proceeds to S403.

[0053] In S403 to S406, AF control (first control) for a moving subject is performed as described in the first embodiment.

[0054] On the other hand, in S414, the camera control unit 212 determines whether the defocus amount detected in S401 is equal to or less than a predetermined defocus amount. The predetermined defocus amount is a threshold for determining whether the detected defocus amount indicates a state close to the in-focus state. If the detected defocus amount is equal to or less than the predetermined defocus amount, the state is already close to the in-focus state, so the camera control unit 212 proceeds to S415 and stops driving the focus lens 103. Then, the camera control unit 212 proceeds to S407. On the other hand, if the detected defocus amount is greater than the predetermined defocus amount, the camera control unit 212 proceeds to S416.

[0055] When the camera control unit 212 determines in S407 that the moving image capturing has ended, it ends the AF process. If the moving image capturing has not yet ended, the camera control unit 212 returns to S401 and performs the focus detection process again.

[0056] In S416 and S417, the camera control unit 212 performs AF control (second control) for a non-moving subject. In S416, the camera control unit 212 calculates a detected subject image plane position from the defocus amount detected in the focus detection process in S401, and calculates a lens drive speed for adjusting (approaching) the lens image plane position to the calculated detected subject image plane position. If the camera continues to sensitively and quickly adjust the focus on a non-moving subject, the state of small focus adjustments will be recorded in the video, and the quality of the video will be impaired. In particular, near the in-focus state, overrun in which the focus lens 103 is driven beyond the in-focus position is noticeable. For this reason, the closer to the in-focus state, the lower the lens drive speed is set to adjust the focus slowly, improving the quality of the video. In addition, frequently moving and stopping the focus lens 103 also deteriorates the quality of the video, so the lens drive speed is set so that the focus lens 103 is moved continuously without stopping during video capture.

[0057] In S417, the camera control unit 212 transmits a focus command including the lens drive speed calculated in S416 to the lens control unit 106 to drive the focus lens 103 so as to align the lens image plane position with the subject image plane position of the non-moving subject. The lens control unit 106 drives the focus lens 103 via the focus drive unit 105 in accordance with the received lens drive speed. After this, the camera control unit 212 returns to S401 and performs the focus detection process again. EXAMPLES

[0058] Next, a description will be given of AF control processing during video capture in the third embodiment of the present invention. The configuration of the camera in this embodiment is the same as that of the camera in the first embodiment (FIG. 1).

[0059] When switching from AF control for a non-moving subject (second control) described in the second embodiment to AF control for a moving subject (first control), acceleration and deceleration of the focus lens 103 becomes noticeable, which may impair the quality of the moving image. For this reason, in this embodiment, switching from AF control for a non-moving subject to AF control for a moving subject is performed smoothly so as not to impair the quality of the moving image.

[0060] 8 shows the relationship between the lens image plane position and the detected subject image plane position in this embodiment. The vertical axis shows each image plane position, and the horizontal axis shows time. The figure shows a case where the subject is determined to be a non-moving subject and AF control for the non-moving subject is performed up to time T(n-1), which is one frame before the current time T(n), and then the subject is determined to be a moving subject and AF control is switched to the moving subject at the current time T(n), and AF control for the moving subject is performed from this point onwards.

[0061] Curve (solid line) 701 indicates the actual subject image plane position. It is assumed that the predicted subject image plane position calculated by the prediction process approximately coincides with this actual subject image plane position. Circles 702 to 707 indicate the lens image plane positions at the respective times. Curve (solid line) 708, curve (dotted line) 709, and curve (dashed line) 710 represent the lens image plane positions.

[0062] AF control for a moving subject is started so as to drive focus lens 103 from lens image plane position 703 at current time T(n) toward the predicted subject image plane position. At this time, in order to align the lens image plane position with the predicted subject image plane position in the shortest time from current time T(n), focus lens 103 may be driven so as to move the lens image plane position to position 707 at time T(n+1), one frame ahead. However, when driving focus lens 103 in this way, the change in the lens image plane position is larger as shown by curve 709 compared to curve 708, and there is a risk of the quality of the moving image being impaired.

[0063] Therefore, in this embodiment, the difference between the lens image plane position 703 (hereinafter referred to as PosA) 703 at the current time T(n) and the predicted subject image plane position (hereinafter referred to as PosB) is evaluated using a threshold value Th_C. If the difference between PosA and PosB is larger than Th_C, it is determined that the amount of change in the lens image plane position is too large, and the focus lens 103 is driven so as to move the lens image plane position from the current time T(n) toward the predicted subject image plane position several frames ahead. In other words, the lens drive speed is controlled so as to focus on the subject over several frames.

[0064] 8 shows a case where focus lens 103 is driven to move the lens image plane position from the current time T(n) toward a predicted subject image plane position three frames ahead. At this time, camera control unit 212 calculates a lens driving speed so that the lens image plane position moves gently from the current time T(n) toward a lens image plane position 706 at time T(n+3) three frames ahead, as shown by curve 710 which is gentler than curve 709, and causes lens control unit 106 to drive focus lens 103 at the lens driving speed.

[0065] By setting the lens drive speed in this way, it is possible to make the change in the lens image plane position gentle when switching from AF control for a non-moving subject to AF control for a moving subject, and it is possible to capture high-quality video. Note that three frames ahead is just an example, and two or more frames ahead is sufficient, and at least three frames ahead is more preferable.

[0066] In each of the above embodiments, the focus control is described in which the focus lens as the focus element is moved in the optical axis direction. However, the focus control may be performed in which the image sensor is moved in the optical axis direction as the focus element.

[0067] In addition, in each of the above embodiments, a lens-interchangeable camera system has been described, but an integrated lens camera is also included in the embodiments of the present invention. EXAMPLES

[0068] Next, an AF control process during video capture in Example 4 of the present invention will be described. In Example 2, an example was shown in which, in the AF control process during video capture, AF control for a moving subject (first control) and AF control for a non-moving subject (second control) are selectively used based on a moving subject determination result.

[0069] However, in the previous example, depending on the imaging situation, it may not be possible to select AF control suitable for the imaging scene, resulting in a decrease in the quality of focus tracking. For example, this may occur when imaging multiple subjects that are close to each other at different distances by panning the camera to switch between subjects. Considering the quality of the video, it is preferable to perform AF control (second control) for a non-moving subject when switching subjects.

[0070] However, when subjects at different distances are simultaneously included in the area (focus detection area) where the correlation calculation is performed by the AF signal processing unit 204 (i.e., perspective conflict occurs), the defocus amount for the intermediate distance may be erroneously calculated. Moreover, when the proportion of subjects included in the area where the correlation calculation is performed changes during the switching process, the erroneously calculated defocus amount for the intermediate distance also changes. As a result, a non-moving subject may be erroneously determined to be moving, and AF control for the moving subject (first control) may be selected, causing a sudden focus change due to the prediction process, which may impair the quality of the video.

[0071] FIG. 12 shows an example of the time series change in the image plane position when the AF control target is switched from subject A to subject B by panning the camera and capturing an image. At time point a) in FIG. 12, perspective conflict does not occur and the image plane position of subject A is observed. At times b) and c), perspective conflict occurs and the image plane position of the middle position between subject A and subject B is observed according to the proportion of the subject included in the focus detection area. At time point d), perspective conflict does not occur and the image plane position of subject B is observed. In this way, even if both subject A and subject B are non-moving subjects, the subject may be erroneously determined to be moving due to the influence of perspective conflict based on the tendency of the image plane positions to approach and separate from each other.

[0072] 12 shows an example in which subjects A and B partially overlap in the angle of view, but when subjects A and B are separated in the angle of view and do not overlap, if the camera pans from subject A to subject B, the focus detection area transitions from subject A to the background and then from the background to subject B. Perspective conflicts can also occur between subject A and the background and between the background and subject B, which can similarly result in the subject being erroneously determined to be a moving object.

[0073] To address such issues, in this embodiment, a determination process is performed for determining whether a subject has been switched or whether perspective conflict has occurred, etc. Then, when it is determined that a subject has been switched or perspective conflict has occurred, AF control (second control) for a non-moving subject is selected, thereby suppressing degradation in video quality when capturing images by switching subjects.

[0074] Although it is effective to perform either the subject switching determination or the perspective conflict determination, it is preferable to perform both for greater reliability.

[0075] The flowchart in Fig. 9 shows the AF control process during video capture in this embodiment. S401 to S408 shown in Fig. 9 are the same as S401 to S408 in the first embodiment (Fig. 4). Also, S409 to S417 shown in Fig. 9 are the same as S409 to S417 in the second embodiment (Fig. 7). Also, the configuration of the camera in this embodiment is the same as the configuration of the camera in the first embodiment (Fig. 1).

[0076] After S401 and S402, the camera control unit 212 judges whether the detected defocus amount is greater than a predetermined threshold in S418. If the detected defocus amount is greater than the predetermined threshold, the process proceeds to S419, and if it is not greater than the threshold, the process proceeds to S420. This is intended to judge whether the defocus amount of a subject unintended by the user, such as an obstacle in front of the main subject or the background, has been detected.

[0077] If the detected defocus amount is greater than a predetermined threshold, the image plane position and the detection time corresponding to the defocus amount are preferably erased from the memory area stored in S401. This is because the image plane position and the detection time may cause the subject to be erroneously determined to be a moving subject, or may cause the subject movement to be inappropriately predicted in the prediction process of the AF control (first control) for a moving subject.

[0078] In S419, the camera control unit 212 determines that a defocus amount of a subject unintended by the user has been detected, and stops driving the focus lens 103 if the focus lens 103 is being driven.

[0079] In S420, the camera control unit 212 performs a subject switching determination process for determining whether or not the subject to be subject of AF control has been switched by the user. The subject switching determination process will be described in detail later with reference to FIG.

[0080] In S421, the camera control unit 212 determines whether or not it has been determined that the user has switched the subject through the subject determination process in S420. If it has been determined that the user has switched the subject, the process proceeds to S422, and if it has been determined that the user has not switched the subject, the process proceeds to S423.

[0081] In S422, the camera control unit 212 erases information (data related to the defocus amount) about the image plane position of the subject and the detection time stored over the past multiple times. As a result, the subject will not be determined to be a moving object in S412 until information about the image plane position of a sufficient number of subjects is accumulated again by the next or subsequent focus detection.

[0082] If it is determined in S421 that there is no subject switching, the camera control unit 212 proceeds to S423 and performs a perspective conflict determination process for determining whether or not a perspective conflict occurred in the focus detection in S401. The perspective conflict determination process will be described in detail later with reference to FIG.

[0083] In S424, the camera control unit 212 determines whether or not it was determined in S423 that a perspective conflict occurred. If it was determined that a perspective conflict occurred, the process proceeds to S414, and if not, the process proceeds to S409.

[0084] In S409 to S413, the camera control unit 212 determines whether or not the subject is a moving object as described in the second embodiment.

[0085] In S403 to S406, the camera control unit 212 performs AF control (first control) for a moving subject as described in the second embodiment.

[0086] In S414 to S417, the camera control unit 212 performs AF control (second control) for a non-moving subject as described in the second embodiment.

[0087] Next, the subject change determination process performed by the camera control unit 212 in S420 of FIG. 9 will be described with reference to the flowchart of FIG.

[0088] First, in S1001, the camera control unit 212 causes the subject detection unit 216 to detect information related to the luminance of the subject based on the output signal from the image sensor 201. The information related to the luminance of the subject is, for example, color information and facial information of the subject. The camera control unit 212 assigns identification information for distinguishing between different subjects based on the detected color information and facial information.

[0089] Next, in S1002, the camera control unit 212 causes the shake detection unit 217 to detect the current amount of shake of the camera. The amount of shake is, for example, angular velocity or angular acceleration.

[0090] In S1003, the camera control unit 212 determines whether panning was detected in S1002. Specifically, if the detected shake amount is equal to or greater than a predetermined shake threshold, the camera control unit 212 determines that panning was detected. If panning was detected, the camera control unit 212 proceeds to S1004, and if panning was not detected, the camera control unit 212 proceeds to S1008.

[0091] In S1004, the camera control unit 212 determines whether or not the subject has already been determined to be a moving object in S412 of FIG. 9 during the previous AF control, and if the subject has been determined to be a moving object, proceeds to S1008, and if the subject has not been determined to be a moving object, proceeds to S1004.

[0092] In S1005, the camera control unit 212 determines whether or not the subject that has been the target of AF control up until now and the current subject are the same subject, based on identification information based on face information detected by the subject detection unit 216. If the camera control unit 212 determines that the subject up until now and the current subject are the same subject, the process proceeds to S1008, and if it determines that they are not the same subject, the process proceeds to S106.

[0093] In S1006, the camera control unit 212 determines whether or not the subject that has been the target of AF control up until now and the current subject are the same subject, based on identification information based on color information detected by the subject detection unit 216. If the camera control unit 212 determines that the subject up until now and the current subject are the same subject, the process proceeds to S1008, and if it determines that they are not the same subject, the process proceeds to S1007.

[0094] In S1007, the camera control unit 212 determines that the user has switched the subject, and ends the subject switching determination process.

[0095] In S1008, the camera control unit 212 determines that the user has not switched the subject, and ends the subject switching determination process.

[0096] In this way, the camera control unit 212 identifies whether or not the subject has been switched by the subject switching determination process from S1001 to S1008. If the camera control unit 212 determines that the subject has been switched due to panning, it performs AF control (second control) for a non-moving subject. On the other hand, if the same subject is imaged while panning and it is determined that the subject has not been switched, it selects either the first control or the second control based on the moving subject determination result of S412. This makes it possible to select appropriate AF control according to the imaging scene.

[0097] Next, the perspective conflict determination process performed by the camera control unit 212 in S423 of Fig. 9 will be described with reference to the flowchart of Fig. 11. In the perspective conflict determination process in this embodiment, a correlation calculation area (main frame) as a main focus detection area used when performing focus detection and an adjacent correlation calculation area (adjacent frame) are set, and perspective conflict determination is performed based on the detected defocus amounts.

[0098] First, in S1101, the camera control unit 212 acquires the detected defocus amount (DefC) of the main frame.

[0099] Similarly, in S1102 and S1103, the camera control unit 212 acquires the detected defocus amounts of the left and right adjacent frames adjacent to the main frame (the detected defocus amount DefL of the left adjacent frame and the detected defocus amount DefR of the right adjacent frame).

[0100] Next, in S1104, the camera control unit 212 compares the magnitude relationship of the three acquired detected defocus amounts. Specifically, it determines whether the detected defocus amount of the main frame is an intermediate value between the detected defocus amounts of the left and right adjacent frames. If this condition is met, the camera control unit 212 proceeds to S1105, and if not, it determines in S1109 that there is no perspective conflict. In S1105, the camera control unit 212 determines whether or not the absolute value of the difference between the detected defocus amounts of the main frame and the adjacent frame is greater than a threshold value M·Fδ. In other words, it determines whether or not a subject with a distance difference exists near the main frame. In this embodiment, the coefficient M is set to 0.5 as an example. If this condition is met, the camera control unit 212 proceeds to S1106, and if not, it determines in S1109 that there is no perspective conflict.

[0101] In S1106, the camera control unit 212 determines whether the main frame is arranged based on face information detected by the subject detection unit 216, and whether the absolute value of the detected defocus amount of either the main frame or the adjacent frame is less than the threshold value N·Fδ. If this predetermined condition is met, the camera control unit 212 determines in S1109 that there is no perspective conflict. In this embodiment, the coefficient N is set to 3.0 as an example. In other words, even if a scene corresponds to a perspective conflict in the process up to S1106, if it is determined that the absolute value of the detected defocus amount for a specific subject is sufficiently small, the scene is excluded from the perspective conflict as an exception. On the other hand, if the above-mentioned predetermined condition is not met, the camera control unit 212 proceeds to S1107.

[0102] In S1107, the camera control unit 212 determines whether or not the main frame has been arranged based on the pupil information detected by the subject detection unit 216, and if the predetermined condition is met, determines in S1109 that there is no perspective conflict. In other words, even if the scene corresponds to a perspective conflict in the process up to S1107, it is excluded from the perspective conflict as an exception when measuring the distance to a specific subject. On the other hand, if the predetermined condition is not met, the camera control unit 212 proceeds to S1108 and determines that there is a perspective conflict.

[0103] In this way, the camera control unit 212 identifies a perspective conflict scene in the perspective conflict determination process from S1101 to S1105, and on the other hand, identifies a scene to be excluded in the process from S1106 to S1107. This makes it possible to appropriately select whether to perform AF control for a moving subject (first control) or AF control for a non-conductor subject (second control) in S424 of Fig. 9 even in a perspective conflict scene. EXAMPLES

[0104] Next, an AF control process during video capture in the fifth embodiment of the present invention will be described. In the second embodiment, an example was shown in which the AF control for a moving subject (first control) and the AF control for a non-moving subject (second control) are selectively used based on the moving subject determination result in the AF control process during video capture.

[0105] However, in the previous example, depending on the imaging situation, the quality of focus tracking may be reduced because AF control suitable for the imaging scene cannot be selected. For example, this is the case when another subject passes in front of a main subject that is not moving. Considering the quality of the video, it is preferable that the lens is not driven for focus tracking on the passing subject. However, when another subject passes in front of the main subject, it may be erroneously determined that the main subject has moved. In this case, AF control for a moving subject (first control) is selected, and a sudden focus fluctuation occurs due to prediction processing, which may impair the quality of the video.

[0106] To address this issue, in the fifth embodiment, a process is performed to determine whether or not the detected defocus amount is greater than a predetermined value. If the detected defocus amount is not greater than the predetermined value, the AF control process shown in the second embodiment is performed. If the detected defocus amount is greater than the predetermined value, the lens is not driven, thereby suppressing degradation of video quality when a non-moving main subject passes in front of another subject. Note that the predetermined value is preferably set to a value that is less than or equal to a value suitable for determining whether or not the camera is in focus, in order to avoid unnecessary lens drive in the in-focus state.

[0107] Furthermore, in the fifth embodiment, the predetermined value is determined based on the moving object determination result. Specifically, if the main subject is a non-moving object, the predetermined value is set to a first predetermined value suitable for determining whether or not the object is in focus. On the other hand, if the main subject is a moving object, the predetermined value is set to a first predetermined value or a second predetermined value that is different from each other depending on whether or not the image plane velocity, which is the speed of change of the detected object image plane position, is faster than a predetermined speed of change. Note that it is preferable to set the second predetermined value to a value suitable for the lens drive amount and lens drive speed that can be set in the AF control (first control) for the moving object.

[0108] The flowcharts in Fig. 13A and Fig. 13B show the AF control process during video capture in the fifth embodiment. The circled portions marked with A to D in Fig. 13A and Fig. 13B are connected to each other. S401 to S408 shown in Fig. 13A and Fig. 13B are the same as S401 to S408 in the first embodiment (Fig. 4). Also, S409 to S417 shown in Fig. 13A and Fig. 13B are the same as S409 to S417 in the second embodiment (Fig. 7). The configuration of the camera in this embodiment is the same as the configuration of the camera in the first embodiment (Fig. 1).

[0109] After S401, S402, and S409, the camera control unit 212 proceeds to S430 via S410 or S411. In S430, the camera control unit 212 calculates a threshold value (predetermined value) for the detected defocus amount. The method of calculating the threshold value will be described in detail later.

[0110] Next, in S431, the camera control unit 212 judges whether the detected defocus amount is greater than the dropout threshold calculated in S430 (i.e., satisfies a predetermined condition). If the detected defocus amount is greater than the dropout threshold, the process proceeds to S432, and if it is not greater than the dropout threshold, the process proceeds to S412. This is intended to judge whether the defocus amount of a subject unintended by the user, such as an obstacle in front of the main subject or the background, has been detected. Note that, if the detected defocus amount is greater than the dropout threshold, it is preferable to erase the image plane position and the detection time corresponding to the defocus amount from the memory area stored in S401. This is because the image plane position and the detection time may be factors that may erroneously be judged to be a moving subject or may be factors that may prevent the subject movement from being properly predicted in the prediction process of the AF control (first control) for the moving subject.

[0111] In S432, the camera control unit 212 determines that a defocus amount of a subject unintended by the user has been detected, and performs control (third control) to stop driving of the focus lens 103 if the focus lens 103 is being driven. Then, the process proceeds to S407.

[0112] In S412 to S413, the camera control unit 212 determines whether or not the subject is a moving object as described in the second embodiment.

[0113] In S403 to S406, the camera control unit 212 performs AF control (first control) for a moving subject as described in the second embodiment.

[0114] In S414 to S417, the camera control unit 212 performs AF control (second control) for a non-moving subject as described in the second embodiment.

[0115] Next, the process of calculating the loss threshold value performed by the camera control unit 212 in S430 in FIG. 13A will be described with reference to the flowchart in FIG.

[0116] First, in S1401, the camera control unit 212 determines whether or not the subject is a moving object. Whether or not the subject is a moving object is determined in the same manner as in S412 to S413 described in the second embodiment. If the subject is a moving object, the process proceeds to S1402, and if the subject is not a moving object, the process proceeds to S1403.

[0117] In S1402, the camera control unit 212 determines whether or not the image plane velocity is faster than a predetermined change rate. If it is faster than the predetermined change rate, the process proceeds to S1404, and if it is not faster than the predetermined change rate, the process proceeds to S1403.

[0118] In S1403, the camera control unit 212 sets the loss threshold to the first loss threshold (first predetermined value), and ends this process.

[0119] In S1404, the camera control unit 212 sets the loss threshold to a second loss threshold (a second predetermined value) that is greater than the first loss threshold, and ends this process.

[0120] In this way, the camera control unit 212 calculates the dropout threshold for the detected defocus amount according to the image plane speed when the subject is determined to be a moving object. If the detected defocus amount is greater than the dropout threshold, it is determined that a defocus amount of a subject unintended by the user has been detected, and the driving of the focus lens 103 is stopped. On the other hand, if the detected defocus amount is not greater than the dropout threshold, AF control as the first control or AF control as the second control is performed as described in the second embodiment. This makes it possible to perform appropriate AF control even when another subject passes in front of the main subject, which is a non-moving object. (Other Examples) The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.

[0121] The embodiments described above are merely representative examples, and various modifications and alterations are possible for each embodiment when implementing the present invention. [Explanation of symbols]

[0122] 10 Interchangeable Lenses 20 Camera 103 Focus Lens 201 Image sensor 212 Camera control unit 213 AF control section 216 Subject detection unit 217 Shake detection unit

Claims

1. a focus detection unit that detects a defocus amount using a signal obtained from an image pickup device that captures an object image formed by an image pickup optical system; a prediction means for calculating information corresponding to a predicted image plane position, which is an image plane position of the subject image at a future time, by a prediction calculation using the defocus amount detected a plurality of times, and data on the position of a focus element and time when the defocus amount was detected; a control means for calculating a drive amount of the focus element using information corresponding to the predicted image plane position, and for calculating a drive speed of the focus element according to the drive amount, and for controlling the focus element to be driven at the drive speed; the control means calculates the drive speed so that an image plane position of the imaging optical system approaches the predicted image plane position; An imaging device characterized in that the driving of the focus element is selected to be controlled by a first driving amount calculated using information corresponding to the predicted image plane position, or by a second driving amount larger than the first driving amount.

2. 2. The imaging apparatus according to claim 1, wherein the control means selects the first drive amount when the drive speed is slower than a predetermined drive speed, and selects the second drive amount when the drive speed is faster than the predetermined drive speed.

3. 3. The image pickup apparatus according to claim 1, wherein the control means selects the first drive amount when the rate of change of the predicted image plane position decelerates.

4. the prediction means calculates, as the predicted image plane position, information corresponding to a first predicted image plane position at a first time, and further calculates information corresponding to a second predicted image plane position at a second time prior to the first time; 4. The imaging apparatus according to claim 1, wherein the control unit calculates the second driving amount by using information corresponding to the second predicted image plane position.

5. The imaging device according to any one of claims 1 to 4, characterized in that, when a rate of change of the image plane position of the subject image calculated using the defocus amount is slower than a predetermined rate of change, the prediction means calculates information corresponding to the predicted image plane position using the defocus amount without using the prediction calculation.

6. The imaging device according to any one of claims 1 to 5, characterized in that when the control means is unable to calculate information corresponding to the predicted image plane position by the predictive calculation, it calculates information corresponding to the predicted image plane position using the defocus amount without using the predictive calculation.

7. 7. The imaging device according to claim 1, wherein the control unit calculates information corresponding to the predicted image plane position using the defocus amount without relying on the predictive calculation when zooming the imaging optical system.

8. 8. The imaging apparatus according to claim 1, wherein the control means switches between controlling the drive amount and drive speed of the focus element and controlling only the drive speed.

9. 9. The imaging apparatus according to claim 8, wherein said control means controls only the drive speed of said focus element when the subject is moving at a constant speed.

10. 10. The imaging apparatus according to claim 1, wherein the control means calculates the drive speed using the drive amount and a time length for driving the focus element.

11. The control means detects the defocus amount at a plurality of detection timings, 11. The imaging apparatus according to claim 1, wherein a drive speed of the focus element is controlled using information corresponding to the predicted image plane position calculated between the detection timings.

12. 12. The imaging apparatus according to claim 1, wherein the control means controls the driving of the focus element during video capture in a manner different from that during still image capture.

13. 13. The imaging apparatus according to claim 12, wherein the control means calculates the drive speed during moving image capture to be slower than that during still image capture.

14. The control means When the subject is a moving object, a first control is performed to calculate the drive speed and control the drive of the focus element so that the image plane position of the imaging optical system approaches the predicted image plane position; An imaging device as described in any one of claims 1 to 13, characterized in that when the subject is not a moving object, a second control is performed using the defocus amount to control the driving of the focus element so that the focus element is driven at a slower speed than the first control.

15. The imaging device according to claim 14, characterized in that, when switching from the second control to the first control, the control means calculates the drive speed so that the image plane position of the imaging optical system in a frame several frames ahead approaches the predicted image plane position.

16. The imaging device according to claim 14 or 15, characterized in that the control means performs a moving object determination for the subject with a first sensitivity when the subject distance is longer than a predetermined distance, and performs a moving object determination for the subject with a second sensitivity higher than the first sensitivity when the subject distance is shorter than the predetermined distance.

17. 17. The imaging apparatus according to claim 14, wherein the control unit performs the second control when it is determined that a subject to be the target of focus control has been switched by a user.

18. 18. The image pickup apparatus according to claim 17, wherein the control means determines that the subject has been switched by detecting panning based on an amount of shake of the image pickup apparatus.

19. 20. The imaging apparatus according to claim 18, wherein the control means does not determine that the subject has been switched when it has determined that the subject is a moving object even if the panning is detected.

20. a subject detection means for detecting information regarding the luminance of the subject using a signal obtained from the imaging element, The imaging device according to claim 18 or 19, characterized in that even when the control means detects the panning, if it determines that the target of the focus control is the same subject based on information regarding the brightness of the subject, it does not determine that the subject has been switched.

21. 21. The imaging apparatus according to claim 20, wherein the information regarding the luminance of the subject is at least one of color information of the subject and information regarding a face region.

22. The imaging device according to any one of claims 17 to 21, characterized in that when it is determined that the subject has been switched, the control means erases data regarding defocus amounts detected multiple times in the past so that the subject is determined to be not a moving object.

23. 17. The imaging apparatus according to claim 14, wherein the control means performs the second control when it is determined that perspective conflict occurs between a plurality of subjects.

24. 24. The imaging apparatus according to claim 23, wherein the control means determines that the perspective conflict has not occurred if a predetermined condition is met in the determination of the perspective conflict.

25. 25. The image pickup apparatus according to claim 24, wherein the predetermined condition is that the defocus amount detected by the focus detection means is smaller than a predetermined value.

26. 25. The image pickup apparatus according to claim 24, wherein the predetermined condition is that focus detection is performed based on face information detected by a subject detection means.

27. 25. The image pickup apparatus according to claim 24, wherein the predetermined condition is focus detection based on pupil information detected by a subject detection means.

28. 17. The imaging apparatus according to claim 14, wherein the control means performs a third control different from the first and second controls when a predetermined condition is satisfied.

29. 29. The imaging apparatus according to claim 28, wherein the third control is a control for stopping the focus element that is being driven.

30. 30. The image pickup apparatus according to claim 28, wherein the predetermined condition is that the defocus amount detected by the focus detection means is greater than a predetermined value.

31. The control means if the subject is a moving subject and the speed of change of the image plane position of the subject image calculated using the defocus amount is not faster than a predetermined speed of change, a first predetermined value is set as the predetermined value; 31. The imaging apparatus according to claim 30, wherein when the subject is a moving object and the rate of change of the image plane position is faster than the predetermined rate of change, the predetermined value is set to a second predetermined value different from the first predetermined value.

32. 32. The imaging device according to claim 31, wherein the second predetermined value is greater than the first predetermined value.

33. 33. The imaging device according to claim 1, wherein the control means controls the focus element to be driven without stopping when the subject is not moving or when video imaging is being performed.

34. detecting a defocus amount using a signal obtained from an image sensor that captures an object image formed by an image capturing optical system; calculating information corresponding to a predicted image plane position, which is an image plane position of the subject image at a future time, by a predictive calculation using the defocus amount detected a plurality of times, and data on the position of a focus element and time when the defocus amount was detected; a step of calculating a drive amount of the focus element using information corresponding to the predicted image plane position, calculating a drive speed of the focus element according to the drive amount, and controlling the focus element to be driven at the drive speed; calculating the drive speed so that an image plane position of the imaging optical system approaches the predicted image plane position; A control method for an imaging device, characterized by selecting whether to control the drive of the focus element with a first drive amount calculated using information corresponding to the predicted image plane position, or to control it with a second drive amount larger than the first drive amount.

35. 35. A computer program for causing a computer of an imaging device to execute a process according to the control method recited in claim 34.

Citation Information

Patent Citations

  • Overlap system autofocusing device

    JP1992133016A

  • Focusing device provided with predictive function

    JP1994130284A

  • Automatic focus adjusting device

    JP1994167650A

  • Imaging apparatus and lens barrel

    JP2013025126A

  • Focus adjustment device and imaging device

    JP2013037046A