Image blur correction device and control method thereof, and imaging device
The image blur correction device uses a Kalman filter with adjustable parameters based on statistical data to address inconsistent performance in imaging devices, stabilizing image quality by removing offset components from shake detection signals.
Patent Information
- Application Number
- JP2020125432
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-07-22
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-07-22
AI Technical Summary
Conventional image blur correction systems in imaging devices suffer from variations in performance due to inappropriate Kalman filter parameter settings and individual sensor fluctuations, leading to inconsistent image quality across devices.
An image blur correction device that utilizes a Kalman filter with adjustable parameter values based on statistical data, such as Allan variance, to account for individual sensor fluctuations and stabilize image quality by removing offset components from shake detection signals.
The solution effectively stabilizes image quality by suppressing variations in blur correction effects across imaging devices, ensuring consistent performance despite individual sensor fluctuations.
Smart Images

Figure 0007558702000032 
Figure 0007558702000033 
Figure 0007558702000034
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for image blur correction processing for an image in an imaging device or the like. [Background technology]
[0002] In an imaging device with an image stabilization function, an inertial sensor such as an angular velocity sensor is used to detect the amount of camera shake, and control is performed to drive a part or all of the imaging optical system based on the shake detection information of the imaging device. The output signal of the inertial sensor contains a DC component such as a variation in reference voltage due to individual differences, and drift occurs due to temperature changes.
[0003] When using an angular velocity sensor, DC components and drift can cause angle errors when determining an angle through time integration. There is a method for suppressing the deterioration of image blur correction accuracy due to angle errors by removing DC components and drift from the output signal of the angular velocity sensor through filtering. Patent Document 1 discloses a method for removing DC components and drift contained in the output signal of an inertial sensor using a Kalman filter. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2018-105938 A Summary of the Invention [Problem to be solved by the invention]
[0005] In conventional techniques, if the parameter values of the Kalman filter are inappropriate, there is a possibility that the effect on the image blur correction performance, etc., will be large. For example, if the parameter values are determined by the experience or trial and error of a designer so as to achieve the results intended by the designer, the quality of the Kalman filter will depend on the skill of the designer.
[0006] Furthermore, a large drift may cause fluctuations in the output of the inertial sensor over time for each individual sensor (hereinafter referred to as "fluctuations"). In this case, it is not realistic for a setter to set the parameter values for each individual sensor for gyro sensors in which the appropriate parameter values for the Kalman filter differ for each individual sensor. Therefore, even when using a gyro sensor with large fluctuations, the parameter values of the Kalman filter are set uniformly, not for each individual sensor. As a result, if there is variation in the image stabilization effect for each individual imaging device, there is a possibility that differences in image quality will occur even for the same model. An object of the present invention is to suppress variations in the effect of image blur correction and stabilize image quality. [Means for solving the problem]
[0007] An image stabilization device according to an embodiment of the present invention comprises: an image blur correction device for an imaging device that performs image blur correction by acquiring a shake detection signal from a detection means that detects shake in a main body of the imaging device having an imaging means or an external device that can be attached to the main body, the image blur correction device for the imaging device comprising: an image blur correction means that performs optical image blur correction by moving the imaging means or a correction lens in a direction different from a direction of an imaging optical axis, or an electronic image blur correction by applying image processing to an image captured by the imaging means; an image processing means that calculates a motion vector between a plurality of images captured by the imaging means and calculates an amount of shake in the imaging device based on the motion vector; an estimation means that estimates an offset component as a fluctuation including a DC component included in the shake detection signal by performing filtering processing using a Kalman filter on a signal obtained by removing the amount of shake from the shake detection signal; and a control means that controls the image blur correction means based on a signal obtained by subtracting the offset component from the shake detection signal. The estimation means estimates the angular error by using statistical data indicating a relationship between a measurement time interval of the output of the detection means and the angular error. Kalman Filter The present invention is characterized in that the parameter values of are changed. Effect of the Invention
[0008] According to the present invention, it is possible to suppress variations in the image blur correction effect and stabilize the image quality. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a diagram illustrating an example of the configuration of an imaging apparatus according to an embodiment. [Diagram 2] 2 is a block diagram showing a functional configuration of a control unit included in the imaging device. FIG. [Diagram 3] 11A and 11B are diagrams illustrating the relationship of an angle error to a measurement time interval of a shake detection output. [Figure 4] 4 is a flowchart illustrating a process in the first embodiment. [Diagram 5] FIG. 13 is a diagram showing changes in angular velocity over time. [Figure 6]FIG. 11 is a block diagram showing the functional configuration of a control unit in a second embodiment. [Figure 7] FIG. 13 is a diagram for explaining a method of calculating a table representing Allan variance. [Figure 8] 10 is a flowchart illustrating a process in a second embodiment. [Figure 9] FIG. 11 is a control block diagram of an imaging device according to a third embodiment. [Figure 10] FIG. 4 is a block diagram for explaining the operation of an offset correction unit. [Figure 11] 5A and 5B are diagrams illustrating an example of an output waveform of an angular velocity sensor in a statically settled state. [Figure 12] FIG. 4 is a diagram showing a change in an angle signal over time. [Figure 13] 1 is an explanatory diagram of a method for estimating an angular fluctuation due to an output error of an angular velocity sensor. [Figure 14] 13 is a flowchart illustrating a process in a third embodiment. [Figure 15] 13 is a flowchart illustrating a process in Modification 1 of the third embodiment. [Figure 16] 13 is a flowchart illustrating a process in Modification 2 of the third embodiment. [Figure 17] 13 is a flowchart illustrating a process in Modification 3 of the third embodiment. [Figure 18] FIG. 13 is a control block diagram of an imaging device according to a fourth embodiment. [Figure 19] FIG. 13 is a control block diagram of an imaging apparatus according to a fifth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. [First embodiment] FIG. 1A is a central cross-sectional view of an imaging device 1000 according to this embodiment, and FIG. 1B is a block diagram showing the electrical configuration of the imaging device 1000. The direction perpendicular to the paper surface of FIG. 1A is defined as the x direction, and two mutually orthogonal directions within the paper surface are defined as the y direction and the z direction, respectively. FIG. 1 shows an example of an imaging system consisting of a camera body unit (hereinafter simply referred to as the body unit) 1 and an interchangeable lens 2 that can be attached to the body unit 1. The body unit 1 and the interchangeable lens 2 can be connected via an electrical contact 11. For example, the body unit 1 has the configuration of a so-called mirrorless camera. Note that the present invention is not limited to mirrorless cameras, and can be applied to lens-interchangeable single-lens reflex cameras and various electronic devices having an imaging function.
[0011] The main body 1 includes an image sensor 6, an image blur correction unit 14, a shake detection unit 15, and a shutter mechanism 16. The interchangeable lens 2 includes optical members that configure an imaging optical system, and a shake detection unit 18. When the interchangeable lens 2 is attached to the main body 1, the imaging device 1000 can perform image blur correction of a captured image based on shake detection signals acquired by the shake detection units 15 and 18.
[0012] The interchangeable lens 2 is equipped with an optical system 3, and focus adjustment, aperture drive, image blur correction, etc. are performed by a lens drive unit 13. As a result, light from a subject passes through the optical system 3 and a good image is formed on the imaging element 6 of the main body unit 1. Lens drive control is performed by a lens system control unit (hereinafter referred to as the lens control unit) 12. The lens control unit 12 is equipped with a CPU (Central Processing Unit) and controls the interchangeable lens 2.
[0013] The shake detection unit 18 detects shake of the interchangeable lens 2 in a first direction which is the direction of the imaging optical axis 4, and in a second direction and a third direction which are orthogonal to the first direction and are orthogonal to each other, and outputs a plurality of detection signals to the lens control unit 12. For example, the first direction is a direction parallel to the z direction, the second direction is a direction parallel to the x direction, and the third direction is a direction parallel to the y direction. The lens control unit 12 controls a correction lens (shift lens, tilt lens, etc.) provided in the optical system 3 via the lens driving unit 13.
[0014] The main body 1 includes an operation detection unit 10 that detects an instruction operation by the photographer using a release button or the like. For example, in accordance with the instruction operation, the image sensor 6 performs photoelectric conversion on the light from the subject. The image processing unit 7 acquires the output of the image sensor 6, performs image processing, and stores the image data in the memory unit 8. At this time, the image processing unit 7 can perform vector calculations to detect the amount of movement of the subject image. The vector calculations are calculations that determine the direction and distance of movement of feature points from images taken at different times. The amount of movement of the subject image and the amount of camera shake can be obtained from the results of the vector calculations using known technology. A specific calculation method will be omitted.
[0015] The camera system control unit (hereinafter referred to as the camera control unit) 5 has a CPU, and controls the imaging device 1000. The camera control unit 5 communicates with the lens control unit 12 via electrical contacts 11 with the interchangeable lens 2 attached to the main body unit 1, and cooperates with the lens control unit 12 to control the imaging system. A live view display before shooting is performed by the display unit 9 under the control of the camera control unit 5. The display unit 9 is composed of a liquid crystal display unit 9a provided on the back of the main body unit 1, and an electronic viewfinder 9b having a display device within the finder. The memory unit 8 has a storage medium, and image data acquired by shooting is stored in the storage medium.
[0016] The shutter mechanism 16 is driven and controlled by the camera control unit 5 via the shutter drive unit 17. The exposure time of the image sensor 6 is controlled according to the shooting time set by the photographer or the shooting time determined by the camera control unit 5.
[0017] The image blur correction unit 14 performs image blur correction by moving the imaging element 6 in accordance with a control command from the camera control unit 5. The image blur correction unit 14 moves the imaging element 6, for example, in a second or third direction perpendicular to the photographing optical axis 4 of the interchangeable lens 2, based on an output correction value calculated from the output of the shake detection unit 15 of the main body 1. This makes it possible to correct image blur caused by camera shake due to the photographer's hand shake or the like.
[0018] The shake detection unit 15 detects shake of the main body unit 1 in three directions, and outputs a plurality of shake detection signals to the camera control unit 5. For example, the shake detection unit 15 has an angular velocity sensor. The camera control unit 5 acquires the output of the shake detection unit 15, calculates an output correction value, and controls the movement of the image sensor 6 relative to the photographing optical axis 4.
[0019] In the configuration example of FIG. 1, image blur correction based on movement control of the imaging element 6 has been described, but the present invention is not limited to this and can be applied to the following embodiments. (1) Optical image blur correction based on drive control of a correction lens provided in the interchangeable lens 2. (2) Electronic image stabilization based on image processing of the captured image (image area extraction processing). (3) A composite image stabilization system using the configuration shown in FIG. 1 or a combination of (1) and (2).
[0020] Next, offset estimation unit 5002 included in camera control unit 5 will be described in detail with reference to Fig. 2. Fig. 2 is a block diagram showing a functional configuration for explaining the operation of camera control unit 5. Camera control unit 5 includes adders 5001 and 5003, offset estimation unit 5002, integral filter 5004, and storage unit 5100. In the following, it is assumed that the calculations performed by the adder include addition (subtraction) of negative values.
[0021] The adder 5001 receives an output signal from the angular velocity sensor of the shake detection unit 15 and a signal of the camera shake amount calculated by vector calculation in the image processing unit 7, and calculates the difference between the two signals. The adder 5001 outputs the difference signal to the offset estimation unit 5002.
[0022] Data stored in a storage unit 5100 is input to the offset estimation unit 5002 in order to estimate the fluctuation of the output of the shake detection unit 15 from the differential signal. Data of an observation noise variance 5101 and a system noise variance 5102 are stored in the storage unit 5100. These data are calculated from a table showing the relationship between the measurement time interval of the output of the shake detection unit 15 when stationary and the angle error, and the details of which will be described later.
[0023] The offset estimation unit 5002 executes an offset estimation process based on the input signal. That is, the offset estimation unit 5002 acquires a fluctuation signal superimposed on the output of the shake detection unit 15. The fluctuation signal acquired by the offset estimation unit 5002 is sent to the adder 5003.
[0024] The adder 5003 obtains the fluctuation signal of the output of the shake detection unit 15 and the output signal of the shake detection unit 15 and performs subtraction. By subtracting the fluctuation signal from the output signal of the shake detection unit 15, it is possible to obtain the output signal of the shake detection unit 15 from which the influence of the fluctuation has been removed or reduced. The integral filter 5004 obtains an output correction value of the shake detection unit 15 by performing time integration on the output signal of the adder 5003. This output correction value is input to the image blur correction unit 14 and is used to control the amount of movement of the image sensor 6.
[0025] Next, the estimation process performed by the offset estimation unit 5002 will be described in detail. The offset is a fluctuation including a DC component included in the output of the shake detection unit 15. An example in which the offset estimation unit 5002 is configured with a linear Kalman filter and performs the filter process will be shown. The linear Kalman filter can be expressed by the following equations (1) to (7).
number
[0026] Equation (1) represents the behavior model in state space representation, and equation (2) represents the observation model. The meanings of each symbol are as follows: A: System matrix in the operating model. B: Input matrix. C: Output matrix in the observation model. ε t :Process noise. δ t : Observation noise. t: discrete time. u t :Control input.
[0027]
number
[0028]
number
[0029] In this embodiment, in order to estimate the fluctuation of the output of the shake detection unit 15, the offset value of the output of the shake detection unit 15 is set to x t The output of the shake detector 15 is z t Furthermore, ε t is the system noise, and δ t If we define the offset as the observation noise, the model that represents the offset value is the control input term u t can be expressed by the following first-order linear model where A=C=1 in equations (1) and (2).
number
[0030] The noise variance of the behavior model in the above formula (4) Σ x , the variance of the system noise
number
number
[0031] The prior estimate of the offset is
number
number
number
number
number
[0032] The offset estimation unit 5002 performs the estimation calculation using the above formulas (10) to (14). The offset estimation value at time "t-1" of the update period of the estimation calculation
number
number
number
number
number
number
number
number
[0033] According to equation (13), Observed output of the vibration detector 15
number
number
number
number
number
[0034] Furthermore, by using equation (14), the prior error variance estimate
number
number
[0035] In the Kalman filter configured as above, the variance of the system noise is
number
number
number
[0036] A table based on statistical data showing the relationship of the angular error to the measurement time interval of the output of the shake detection unit 15 and the Allan variance used in the table will be described in detail with reference to Fig. 3. Fig. 3(A) shows an example of a table showing the relationship of the angular error to the measurement time interval of the output of the shake detection unit 15. The value of the Allan variance σ(τ) corresponding to each measurement time interval τ and the slope between adjacent data are shown. The measurement time interval τ in this example is the sampling time Δt or a power of two multiple of it.
[0037] FIG. 3(B) is a double logarithmic graph, with the horizontal axis representing the measurement time interval τ and the vertical axis representing the Allan variance σ(τ). Furthermore, the solid line 301 indicates the noise characteristics of the output signal from the shake detection unit 15 when stationary. The Allan variance σ(τ) is widely used as an index of the frequency stability of the output of inertial sensors such as angular velocity sensors, and represents the degree of variation in the output during the measurement time interval τ. Although it is called variance, it is actually the standard deviation. However, σ(τ) is generally called the Allan variance. Given a sampling time Δt and a total number N (here, 2 n When data (number of data points) is divided into m groups (m=1, 2, 4, 8, . . . , N / 2), the Allan variance σ(τ) can be calculated by the following formula (15).
number
[0038] The measurement time interval τ is the time interval for acquiring data, so it can be said to be the sampling time in a group with m pieces of data. Therefore, from the Allan variance graph in FIG. 3(B), the deviation of the measurement data when the data is sampled at the measurement time interval τ can be read. In this case, the measurement time interval τ of the data plotted at the left end of the solid line 301 is the sampling time Δt when the data is acquired, and the deviation of the measurement time interval τ shorter than that cannot be acquired. Note that the table shown in FIG. 3(A) shows the values of the Allan variance at τ when m=1 to N / 2 in formula (17). The solid line 301 in FIG. 3(B) shows the table data on a double logarithmic graph.
[0039] From the graph showing the noise characteristics by Allan variance in FIG. 3(B), it is possible to know the characteristics of the noise of a signal when the signal is measured at a sampling time τ. Generally, the noise contained in the output of an inertial sensor is classified into white noise, 1 / f noise, and random walk noise, and the noise showing the main characteristics changes by changing the measurement time interval τ. The straight line portion with a slope of "-1 / 2" shown in the first range 302 in FIG. 3(B) is a range showing the characteristics of white noise. Also, the straight line portion with a slope of "+1 / 2" shown in the second range 303 in FIG. 3(B) is a range showing the characteristics of random walk noise. Although not shown, it is known that when the signal contains 1 / f noise, a straight line range with a slope of 0 appears between the range 302 and the range 303.
[0040] In FIG. 3(B), as shown by solid line 301, a single continuous curve is formed, but in reality, it is the sum of lines representing the deviation of white noise and random walk noise contained in the noise of the signal, i.e., the Allan variance. Therefore, by extending each line of inclination in FIG. 3(B), it is possible to read the Allan variance when the noise corresponding to that inclination is sampled at a measurement time interval τ. Although solid line 301 in FIG. 3(B) is a line representing the noise characteristics of the output signal of shake detection unit 15 when the image is stationary, the output signal itself can be considered as observed noise. Therefore, solid line 301 represents the Allan variance of the observed noise in equation (12), i.e., the deviation σ of the observed noise with respect to the sampling time z The result is a line representing the above.
[0041] 3B represents the random walk noise contained in the output signal of the shake detection unit 15 when the camera is stationary, that is, the variance of the fluctuation. This is the Allan variance of the system noise in equation (11), that is, the deviation σ x The result is a line representing the above.
[0042] Therefore, the value of the Allan variance of τ corresponding to the desired sampling time can be read from these lines. By using the obtained Allan variance value in equations (10) to (14), it becomes possible to set each variance corresponding to the parameters of the Kalman filter from the Allan variance according to the inertial sensor output.
[0043] Next, a method for acquiring each variance when the sampling time is Δt will be described with reference to FIG. 3. First, the deviation σ of the observation noise representing the output noise of the inertial sensor is z In the case of , the measurement time interval τ is equal to the sampling time Δt of the output noise. Therefore, in equation (15), the deviation of the observed noise from the Allan variance when τ = Δt is σ z can be obtained.
[0044] In addition, the deviation of the system noise, σ, which represents the fluctuation in the output noise of the inertial sensor, x In this case, the Allan variance can be calculated from the value when the measurement time interval τ=Δt in the following formula.
number
[0045] The deviation of the system noise calculated using Equation (15), Equation (18), and Equation (19) is σ x and the deviation of the observation noise σ zis the actual deviation obtained from the signal obtained by removing the amount of shake of the main body 1 superimposed on the output of the shake detection unit 15. Therefore, by using this method, it is possible to set the parameter values of the Kalman filter according to the individual gyro sensor even for a gyro sensor with large fluctuations.
[0046] For the parameter values of the Kalman filter of this embodiment, a process is performed in advance at a factory or the like to calculate a table from data acquired in a stationary state of the angular velocity sensor of the shake detection unit 15. The variance data of each noise calculated from the table is stored in the storage unit 5100. In addition to this method, there is a method of generating a table using data of the angular velocity sensor acquired when the imaging device 1000 is in a stationary state, and calculating the parameter values of the Kalman filter.
[0047] 4 and 5, the process of acquiring the output correction value of the shake detection unit 15 by the offset estimation unit 5002 will be described in detail. The output correction value of the shake detection unit 15 is an output obtained by removing the offset from the output of the shake detection unit 15, and corresponds to a target value of the shake correction amount of the image shake correction unit 14. Note that, although in this embodiment, offset estimation is performed on the output of the shake detection unit 15 in the main body 1, the target of the offset estimation may also be the output of the shake detection unit 18 in the interchangeable lens 2.
[0048] FIG. 4 is a flow chart for explaining the process from the time when the power of the imaging device 1000 is turned on until the start of shooting, and the process starts when the photographer turns on the power of the main body 1. FIG. 5 is a diagram showing the output signal, with the horizontal axis showing the time axis and the vertical axis showing the angular velocity. FIG. 5(A) is a diagram showing the output signal 51 of the shake detection unit 15. FIG. 5(B) is a diagram showing the shake amount 52 of the main body 1 acquired from the motion vector information of the image processing unit 7. FIG. 5(C) is a diagram showing a signal 53 obtained by removing the shake amount 52 of the main body 1 from the output signal 51 of the shake detection unit 15, and an estimated waveform 54 of the offset component acquired by the offset estimation unit 5002 (see the white line). FIG. 5(D) is a diagram showing a waveform 55 obtained by removing the estimated waveform 54 of the offset component from the output signal 51 of the shake detection unit 15.
[0049] 4, the camera control unit 5 acquires the output signal 51 of the shake detection unit 15 of the main body 1, and proceeds to processing in S402. In S402, the camera control unit 5 performs processing to detect the amount of shake 52 of the main body 1 from the motion vector information by the image processing unit 7, and then proceeds to processing in S403. The motion vector information is shake detection information based on a comparison between multiple images acquired by the imaging element 6. The amount of shake of the main body 1 can be detected from this motion vector information.
[0050] In S403, the camera control unit 5 obtains a signal 53 that removes or reduces the amount of shake 52 of the main body 1 detected in S402 from the output signal 51 of the shake detection unit 15 of the main body 1 detected in S401, and then proceeds to processing of S404.
[0051] In S404, the offset estimation unit 5002 estimates the offset component contained in the signal 53 acquired in S403. The offset estimation unit 5002 executes an offset component estimation process using the signal 53 acquired in S403 and data of the observation noise variance 5101 and the system noise variance 5102 pre-stored in the storage unit 5100. The method of estimating the offset component using the Kalman filter and the method of calculating the observation noise variance 5101 and the system noise variance 5102 are as described above, so the description thereof will be omitted. A waveform 54 indicated by a white line in FIG. 5(C) represents a time change of the offset component estimated by the offset estimation unit 5002.
[0052] After calculating estimated waveform 54 of the offset component, the process proceeds to S405, where camera control unit 5 subtracts the signal of estimated waveform 54 of the offset component from output signal 51 of shake detection unit 15 of main body unit 1 to obtain angular velocity waveform 55 of Fig. 5(D). Angular velocity waveform 55 becomes a waveform that represents the amount of shake of main body unit 1 detected by shake detection unit 15 by removing estimated waveform 54 of the offset component from output signal 51.
[0053] Next, the process proceeds to S406, and the camera control unit 5 performs a time integration process on the angular velocity waveform 55 acquired in S405 using the integral filter 5004. An output correction value of the shake detection unit 15, which indicates the shake caused by the angular displacement amount of the main body unit 1, is acquired, and the process ends.
[0054] In this embodiment, the above series of operations allows the parameter values of the Kalman filter to be set according to the fluctuations of each individual inertial sensor in offset estimation by filter processing. By suppressing the variation in the image blur correction effect of imaging devices of the same model, it is possible to stabilize the image quality.
[0055] [Second embodiment] Next, a second embodiment of the present invention will be described. In this embodiment, a processing example in which parameter values are switched according to the time change of the Allan variance is shown. The main difference between this embodiment and the first embodiment is that in this embodiment, processing is performed taking into consideration the case in which the fluctuation contained in the output of the shake detection unit 15 changes over time. By reusing the symbols and signs already used for matters similar to those in the first embodiment, detailed explanations of those matters will be omitted and differences will be mainly described. Such a method of omitting explanations will be the same in the embodiments described later.
[0056] The operation of the camera control unit 5 will be described with reference to Fig. 6. Fig. 6 is a block diagram showing a configuration example for explaining the operation of the camera control unit 5. The difference from Fig. 2 is that a table calculation unit 5201 and a determination unit 5202 in the storage unit 5100 are provided.
[0057] An adder 5001 in the camera control unit 5 calculates the difference between the output signal of the shake detection unit 15 and the signal of the camera shake amount acquired by the vector calculation of the image processing unit 7. The acquired difference data is input to a table calculation unit 5201. Details of the table calculation process will be described later.
[0058] The data of the observation noise variance and the data of the system noise variance acquired by the table calculation unit 5201 are stored in the storage unit 5100. When storing, the determination unit 5202 in the storage unit 5100 compares the value of the system noise variance calculated by the table calculation unit 5201 with the value of the system noise variance 5102 stored in the storage unit 5100, and determines which value to store and hold. The reason why only the variance value of the system noise is compared here is that only the variance value of the system noise changes due to the influence of fluctuations.
[0059] The data of the observation noise variance 5101 and the system noise variance 5102 stored in the memory unit 5100 and the difference data acquired by the adder 5001 are input to the offset estimation unit 5002. The offset estimation unit 5002 executes an estimation process of the offset component superimposed on the output of the shake detection unit 15.
[0060] The adder 5003 subtracts the offset component of the shake detection unit 15 acquired by the offset estimation unit 5002 from the output of the shake detection unit 15 to acquire an output signal of the shake detection unit 15 in which the influence of fluctuation has been removed or reduced. An integral filter 5004 performs time integration of this output signal, and an output correction value of the shake detection unit 15 is acquired and input to the image blur correction unit 14.
[0061] 7, a method for calculating a table representing the Allan variance in table calculation section 5201 will be described in detail. This table represents the relationship between the angle error and the measurement time interval of the differential waveform of adder 5001. Below, a method for determining the measurement time required to obtain the Allan variance and a method for updating the Allan variance will be described.
[0062] 7 is a graph showing a differential waveform 71 of the adder 5001 immediately after the imaging device 1000 is powered on. The horizontal axis represents time, and the vertical axis represents angular velocity. A temperature drift called startup drift occurs in the angular velocity sensor of the shake detection unit 15 immediately after the power is turned on, and low-frequency components are superimposed on the sensor output as shown in range 72. The effect of this startup drift decreases over time, so the superimposition of the low-frequency components also disappears over time. Until the startup drift is eliminated, the magnitude of the fluctuation due to the drift continues to change, so the deviation of the system noise also changes over time.
[0063] In order to obtain the deviation of the system noise that changes over time, the table calculation unit 5201 starts collecting the differential waveform data of the adder 5001 immediately after the power supply of the imaging device 1000 is turned on. After a predetermined time (denoted as s seconds) has elapsed, the acquisition of the deviation of the system noise starts from the Allan variance of the differential waveform data. Here, s seconds is the measurement time required to obtain the deviation of the system noise. When the deviation of the system noise is obtained, the deviation of the observed noise is also obtained. The maximum measurement time interval of the Allan variance obtained by the measurement of s seconds is s / 2 seconds. However, since the Allan variance obtained at the maximum measurement time interval is a value obtained by the difference between only two groups, the accuracy of the value representing the deviation is lower than the predetermined accuracy. Therefore, the measurement time of s seconds is set to a time that can obtain the accuracy required to obtain the deviation of the system noise. In addition, since the magnitude of the fluctuation changes over time, the value of the deviation of the system noise must be updated according to the change. 7 represents the elapsed time from the point when table calculation unit 5201 started to acquire the differential waveform data from adder 5001, and has a relationship of "T≧s" with s. After T seconds have elapsed, table calculation unit 5201 calculates the Allan variance for T-Δs seconds at any time in accordance with the sampling time of shake detection unit 15, acquires the deviation of system noise and observation noise, and continues updating.
[0064] Referring to FIG. 8, a series of processes until the camera control unit 5 obtains the output correction value of the shake detection unit 15 by the offset estimation unit 5002 will be described in detail. FIG. 8 is a flowchart for explaining the processes from when the power of the imaging device 1000 is turned on until before shooting starts. For the same processes as those shown in the flowchart of FIG. 6, the same step numbers as in FIG. 6 are used, and detailed explanations thereof are omitted.
[0065] After the processes of S401 to S403, the process proceeds to S801. In S801, after the power of the imaging device 1000 is turned on, the camera control unit 5 compares the elapsed time T with the measurement time s seconds. The elapsed time T is measured by a timer in the camera control unit 5. Regarding the elapsed time T, it is determined whether the measurement time s seconds has elapsed. If it is determined that "T ≧ s", the process proceeds to the process of S802, and if it is determined that "T < s", the determination process of S801 is repeated.
[0066] In S802, the table calculation unit 5201 calculates the Allan variance from the elapsed time T using the differential waveform data of the adder 5001 in the previous s seconds, and obtains each variance from the deviation of the observation noise and the system noise. The method for calculating the Allan variance and obtaining the variance of each noise is as described above. After the process of obtaining the variance of the observation noise and the variance of the system noise, the process proceeds to the process of S404.
[0067] In S803 following S406, the determination unit 5202 obtains the difference value between the system noise variance obtained in S802 and the system noise variance 5102 stored in the storage unit 5100, and determines whether the difference value is less than or equal to the threshold value. This threshold value is set to a value that can determine that the variance value of the system noise obtained in S802 has converged to the variance value of the system noise in the storage unit 5100. If it is determined that the obtained difference value is greater than the threshold value, the process proceeds to the process of S804, and if it is determined that the difference value is less than or equal to the threshold value, the series of processes ends. Note that the method is not limited to comparing the difference value between the currently obtained variance value and the previously obtained variance value with the threshold value, and any method that can determine the convergence to the above variance value may be used.
[0068] In S804, a process is executed to update the data values of the observation noise variance 5101 and the system noise variance 5102 stored in the storage unit 5100 with the variance values acquired in S802, and then the process proceeds to S802.
[0069] In this embodiment, when the fluctuation included in the output of the shake detection unit 15 changes over time, a process is performed to update the parameter values of the filter means (Kalman filter) as needed in accordance with the output of the shake detection unit 15. By suppressing the variation in the image blur correction effect among imaging devices of the same model, it is possible to stabilize the image quality.
[0070] [Third embodiment] A third embodiment of the present invention will be described with reference to Fig. 9 to Fig. 17. In this embodiment, an example of an imaging apparatus having an image stabilization device similar to that of the above-mentioned embodiment and capable of suppressing degradation of image stabilization performance in long exposure or super telephoto shooting is shown. In the conventional technology, it is difficult to control image stabilization more accurately in accordance with the characteristics of the vibration detection sensor, and it is also not possible to perform accurate control for only the output error of the vibration detection sensor.
[0071] In this embodiment, as a measure against degradation of image blur correction performance caused by an output error of the angular velocity sensor, a blurred image generation prevention process is performed when a predicted error is equal to or greater than a threshold value based on the Allan variance, the exposure time, and the focal length. An example of an image capture device including an image capture optical system and an image processing device will be described below.
[0072] 9 is a block diagram showing the configuration of an imaging device 100. The imaging device 100 is a digital camera, and is composed of a main body 101 and an interchangeable lens 102 that can be attached to the main body 101. The main body 101 includes an image sensor, an image blur correction unit, a shutter mechanism, and the like.
[0073] A camera CPU 201 provided in the main body 101 controls the image capturing apparatus 100, and controls each of the components shown in FIG. 9 in response to an instruction operation by the photographer using the release button 104 or the like.
[0074] Light from a subject passes through an imaging optical system 213 along an imaging optical axis 214 shown in FIG. 9 and enters an imaging element 210. The imaging element 210 is a CMOS (complementary metal-oxide semiconductor) image sensor or the like, and outputs an electrical signal corresponding to an optical image in response to an input light beam. The signal output from the imaging element 210 is subjected to image processing in an image processing unit, and the generated image data is stored in a storage unit. The focal plane shutter 212 controls the blocking state of light entering the imaging element 210. The focal plane shutter 212 and the imaging element 210 are driven according to a control signal from the camera CPU 201.
[0075] The main body 101 includes a vibration sensor unit 202. An angular velocity sensor included in the vibration sensor unit 202 detects an angular velocity from vibrations applied to the main body 101. An angular velocity detection signal is input to an offset correction unit 203. The offset correction unit 203 refers to motion vector information acquired from a plurality of captured images, and corrects an offset generated in the angular velocity sensor.
[0076] The calculation unit 204 acquires the angular velocity signal corrected by the offset correction unit 203, and performs first-order time integration and the like to calculate a target value. The calculation unit 204 calculates a correction amount for the image blur correction mechanism from the signal converted into an angle signal. The control unit 205 controls a correction unit 211 that drives the image blur correction mechanism based on the correction amount (angle information) calculated by the calculation unit 204. The correction unit 211 drives the image sensor 210 in a direction perpendicular to the imaging optical axis 214, as indicated by an arrow 211(a), in accordance with a control signal from the control unit 205. It is possible to correct image blur occurring on the imaging surface of the image sensor 210 due to vibration of the main body unit 101.
[0077] The vibration sensor characteristic calculation unit 206 performs a calculation process of the noise characteristics of the vibration sensor based on the angular velocity signal corrected by the offset correction unit 203. The vibration sensor integrated error calculation unit 207 calculates an integrated error based on the noise characteristics calculated by the characteristic calculation unit 206 and information on the exposure time and focal length set by the photographer, and predicts the amount of blur of the image under the shooting conditions. Information on the exposure time and focal length set by the photographer is obtained from the camera CPU 201.
[0078] The determination unit 208 performs a process of determining whether or not a blurred image is generated. For example, the determination unit 208 compares the predicted value of the amount of blur of the image calculated by the integrated error calculation unit 207 with a threshold value, and determines whether or not the predicted value is equal to or greater than the threshold value. When the determination unit 208 determines that the magnitude of image blur is equal to or greater than the threshold value based on the predicted result of the amount of blur of the image obtained by the integrated error calculation unit 207, the blurred image prevention processing unit 209 sends a command to the camera CPU 201 to suppress or prevent the generation of a blurred image. The camera CPU 201 executes a process of suppressing or preventing the generation of a blurred image according to the command from the blurred image prevention processing unit 209.
[0079] 10 to 12 are explanatory diagrams relating to offset correction of an angular velocity sensor. Fig. 10 is a block diagram for explaining the operation of the offset correction unit 203. The offset correction unit 203 includes a motion vector detection unit 1301, a multiplication unit 1302, and a division unit 1304.
[0080] A multiplication unit 1302 obtains and multiplies the output signal of the angular velocity sensor of the vibration sensor unit 202 and the motion vector information output from the motion vector detection unit 1301. A deviation 1303 (denoted as e) calculated by the multiplication unit 1302 corresponds to an offset amount superimposed on the angular velocity sensor. A division unit 1304 obtains information on the deviation e and performs division according to the deviation e on the output of the angular velocity sensor to generate an angular velocity signal divided by the offset amount.
[0081] 11(A) and 11(B) are graphs showing examples of output waveforms of an angular velocity sensor in a static state. The vertical axis represents an angular velocity signal, and the horizontal axis represents time. A graph line 305 in FIG. 11(A) shows a state in which an offset occurs in the angular velocity sensor. In a state in which an offset occurs, the angular velocity sensor may output a signal with fluctuations that would not occur even in a static state in which the image capture device has a small shake. Therefore, when image blur correction is performed based on a detection signal containing an unnecessary signal component, an image with image blur is obtained due to erroneous image blur correction. In contrast, a graph line 306 in FIG. 11(B) shows a waveform of an angular velocity sensor that has been subjected to offset correction processing. The waveform of the graph line 306 is a waveform with less fluctuation than the waveform of the graph line 305 in FIG. 11(A).
[0082] It is possible to output a signal related to the angular velocity sensor generated by the offset correction (see graph line 306), that is, a signal of the angular velocity sensor with a reduced offset, and it is possible to suppress deterioration of image blur correction performance.
[0083] FIG. 12(A) shows the change in the angle signal over time, with the horizontal axis being the time axis and the vertical axis being the angle axis. The waveform shown by graph line 307 shows the angle signal obtained by integrating the waveform of the angular velocity signal after offset correction shown by graph line 306 in FIG. 11(B) by calculation unit 204 (FIG. 9). If a delay occurs in the calculation process in the offset correction, correction remains in the angular velocity sensor, and an error may occur in the output signal. The waveform shown by graph line 307 in FIG. 12(A) shows the value obtained by integrating the angular velocity signal including the output error, and angle fluctuations that do not actually occur can be confirmed. This angle fluctuation corresponds to the error after integration with respect to the integration time. The influence of angle fluctuations caused by output errors of the angular velocity sensor will be described in detail with reference to FIG. 12(B).
[0084] 12B is a shooting sequence diagram when still image shooting is performed by the imaging device 100. The meanings of the various symbols are as follows. RLS: A signal that is output when the release button 104 is pressed. SIG_A: the front curtain drive signal of the focal plane shutter 212 in FIG. SIG_B: A rear curtain drive signal for the focal plane shutter 212 in FIG. ·SIG_deg: represents an angular waveform obtained by integrating a signal including an output error of the angular velocity, and corresponds to the waveform of graph line 307 in FIG. 12(A). A plurality of times t1 to t4 are shown on the time axis. A first period Tv_A is the period from time t2 to time t3, and a second period Tv_B is the period from time t2 to time t4. It is assumed that the period length of Tv_B is longer than the period length of Tv_A.
[0085] When the user presses the release button 104 at time t1 in Fig. 12(B), the RLS signal changes, and the imaging device 100 transitions from a non-photographing state to a photographing state. After a certain time has elapsed since the RLS signal changed, the SIG_A signal changes, and driving of the front curtain starts. Time t2 indicates the timing at which driving of the front curtain of the focal plane shutter 212 starts. After a certain time has elapsed since the output of the SIG_A signal, the SIG_B signal changes, and driving of the rear curtain of the focal plane shutter 212 starts.
[0086] The focal plane shutter 212 is driven and controlled according to the exposure time set by the photographer. Time t3 in Fig. 12(B) indicates the timing of starting rear curtain drive according to the setting of the first exposure time for a shooting condition of several seconds such as camera shake. A period Tv_A corresponds to the first exposure time from time t2 to time t3.
[0087] On the other hand, time t4 in Fig. 12(B) indicates the timing of starting rear curtain drive according to the setting of the second exposure time longer than the first exposure time. For example, the second exposure time is an exposure time assuming that shooting is performed in a state where the imaging device 100 is fixed to a tripod. A period Tv_B is a period corresponding to the second exposure time from time t2 to time t4.
[0088] For example, when a user takes a handheld photograph using a lens with a focal length of 100 mm, if the exposure conditions are relatively short (several seconds) as shown in period Tv_A, the fluctuation of the angle signal caused by the output error of the angular velocity signal is small and does not affect image blur correction. However, when the camera is fixed to a tripod or the like and photographed under relatively long exposure conditions as shown in period Tv_B, the fluctuation of the angle signal caused by the output error of the angular velocity signal cannot be ignored. In other words, if erroneous image blur correction is performed due to the influence of the fluctuation of the angle signal, an image with image blur may be generated.
[0089] Even under the exposure conditions shown in the period Tv_A, if a user shoots with a super telephoto lens with a large focal length, even a slight movement of the image stabilization mechanism is magnified when shooting a subject. Therefore, an image with image blur may be generated due to the movement of the image stabilization mechanism based on the fluctuation of the angle signal caused by the output error of the angular velocity signal.
[0090] In this way, image blurring due to output errors of the angular velocity sensor can occur when shooting with a long exposure time using a tripod, shooting with a super telephoto lens, etc. In order to suppress degradation of image blurring correction performance caused by output errors of the angular velocity sensor, it is necessary to estimate the angular fluctuation due to output errors of the angular velocity sensor in advance, predict the amount of image blurring according to shooting conditions, and perform appropriate processing.
[0091] A method for estimating angular fluctuations due to output errors of the angular velocity sensor will be described with reference to Fig. 13. Graph line 401 in Fig. 13(A) shows the Allan standard deviation for the angular velocity sensor output after offset correction shown by graph line 306 in Fig. 11(B). The horizontal axis in Fig. 13(A) shows the measurement time interval τ of the angular velocity sensor output signal after offset correction. The vertical axis in Fig. 13(A) shows the standard deviation value στ of the angular velocity sensor output signal after offset correction during the measurement time interval τ. Both axes are shown on a logarithmic scale.
[0092] The Allan standard deviation corresponds to a quantity that represents the noise characteristics of an angular velocity sensor. The Allan standard deviation is widely used as an index for evaluating inertial sensors such as angular velocity sensors. With the Allan standard deviation, the standard deviation value of the sensor output signal to be evaluated can be evaluated on the time axis. In this embodiment, the angular fluctuation can be estimated by utilizing this characteristic. Note that the Allan standard deviation is generally known as the Allan variance, but in order to clearly indicate that it is a standard deviation as described above, in this embodiment, it is written as the Allan standard deviation.
[0093] 13A, the horizontal axis is the measurement time interval τ of the angular velocity sensor output signal after offset correction. Therefore, as shown in the following equation (20), the value obtained by multiplying the Allan standard deviation value στ corresponding to the measurement time interval τ by the measurement time interval τ can be treated as the angular fluctuation obtained by integrating the angular velocity. τ(sec) × στ(dps) = estimated angular fluctuation (degree) Equation (20) In Fig. 13A, the unit of measurement time interval τ is "seconds", and the unit of Allan standard deviation στ corresponding to τ is "degrees per second", that is, angles per second. As an example, on graph line 401 in Fig. 13A, at the position where the measurement time interval τ is 20 seconds, the Allan standard deviation value στ of the angular velocity sensor output signal after offset correction corresponding to the measurement time interval is 0.0016 dps. In this case, the calculation result using equation (20) is as follows: 20(sec)×0.0016(dps)=estimated angular fluctuation 0.032(degree) That is, the estimated angle fluctuation value calculated by integrating for 20 seconds is 0.032 (degrees).
[0094] Graph line 402 in FIG. 13(B) shows data when the estimated value of angular fluctuation is obtained by the above-mentioned method based on graph line 401 shown in FIG. 13(A). The horizontal axis shows the measurement time interval τ, and the vertical axis shows the estimated value of angular fluctuation. Both axes are shown in logarithmic scale. As described above, by using the Allan standard deviation, the standard deviation value of the angular velocity sensor output signal after offset correction on the time axis can be evaluated. As shown by graph line 402 in FIG. 13(B), the estimated value of angular fluctuation on the time axis can be calculated. That is, graph line 402 shows the estimated value of angular fluctuation over time. By using the curve data shown by graph line 402, the estimated value of angular fluctuation at the exposure time can be obtained. The data of the estimated value of angular fluctuation at the exposure time is stored in advance as table data in a storage unit in the imaging device. Therefore, it is possible to predict the amount of image blur based on the shooting conditions set by the photographer.
[0095] An example of the process will be described with reference to Fig. 14. Fig. 14 is a flowchart illustrating a camera sequence for predicting the amount of image blur and suppressing degradation of image blur correction performance. When the power supply of the imaging device 100 is turned on in S501, the process proceeds to S502. In S502, the offset correction unit 203 executes offset correction processing of the angular velocity sensor.
[0096] In S503, the characteristic calculation unit 206 calculates the Allan standard deviation of the angular velocity sensor output based on the output signal of the angular velocity sensor that has been offset-corrected in S502. Table data of the estimated angular fluctuation value in the exposure time is created. In S504, a shooting instruction determination process is executed. The camera CPU 201 determines whether the photographer has pressed the release button 104 to perform a shooting instruction operation. If a shooting instruction operation is detected, the process proceeds to S505. If a shooting instruction operation is not detected, the process returns to S503 and continues creating the table data.
[0097] In S505, the camera CPU 201 determines whether the shooting conditions are such that the image stabilization performance is degraded due to an output error of the angular velocity sensor. Specifically, the shooting conditions are a long exposure time with a tripod or the like (exposure time is longer than a threshold value), or a super telephoto lens (focal length is greater than a threshold value). These shooting conditions correspond to shooting conditions in which the characteristics of the vibration detection means are dominant. If it is determined in S505 that the shooting conditions are not as described above, the process proceeds to S506 and ends. If it is determined in S505 that the shooting conditions are as described above, the process proceeds to S507.
[0098] In S507, the integrated error calculation unit 207 calculates a predicted value of image blur based on the exposure conditions and focal length information set by the photographer. In the next S508, the judgment unit 208 performs judgment processing by comparing the predicted value of image blur with a threshold value. If it is judged that the predicted value is equal to or less than the threshold value, the process proceeds to S506 and ends. On the other hand, if it is judged in S508 that the predicted value is greater than the threshold value, the process proceeds to S509.
[0099] In S509, the blurred image prevention processing unit 209 outputs a command to the camera CPU 201 to perform processing for warning the occurrence of image blur. The camera CPU 201 executes processing for warning the generation of a blurred image, for example, by a message on a display screen or a sound from a speaker. After the processing of S509, the process proceeds to S506 and the operation ends.
[0100] In this embodiment, an imaging device can be provided that can make a user aware of a degradation in image blur correction performance caused by an output error of an angular velocity sensor in long-exposure photography, super telephoto photography, etc. An angular error prediction table is created based on an output result after offset correction of the angular velocity sensor. At that time, there may be a case where the time required for offset correction is insufficient and sufficient correction is not possible. In that case, the angular error prediction table may be created from an output signal of the angular velocity sensor before offset correction. Although fluctuations due to offset occur in angular velocity sensor information before offset correction, even if a predicted value of image blur is calculated based on that information, a process of making a user aware of a degradation in image blur correction performance is possible.
[0101] [Modification 1 of the third embodiment] With reference to FIG. 15, modified example 1 of the third embodiment will be described. The main difference from the third embodiment is that signal processing is performed on the angular velocity signal. FIG. 15 is a flowchart for explaining a specific camera sequence for suppressing degradation of image stabilization performance in modified example 1. In FIG. 15, step numbers already used for the same processes (S501 to S508) as in FIG. 14 are reused, and detailed descriptions thereof will be omitted. Such an omission method is the same in the modified examples described later.
[0102] If it is determined in S508 that the predicted value of image blur is greater than the threshold value, the process proceeds to S601. In S601, the blurred image prevention processing unit 209 instructs the camera CPU 201 to execute processing for shifting the time constant of a high-pass filter (HPF) to the high frequency side for the output signal of the angular velocity sensor. This processing is processing for switching the signal processing method of the vibration detection means. As a result, the low frequency characteristics that cause offsets are cut, so that it is possible to suppress angular fluctuations caused by output errors of the angular velocity sensor. Note that when the processing for shifting the time constant of the HPF to the high frequency side is performed, low frequency components such as camera shake cannot be detected, but the control of this modified example is performed when shooting under conditions where camera shake is unlikely to occur, such as when the camera is fixed to a tripod. Therefore, there is little adverse effect due to the processing for shifting the HPF to the high frequency side.
[0103] According to this modified example, the signal processing method of the vibration detection means is changed, so that it is possible to suppress a decrease in image blur correction performance.
[0104] [Modification 2 of the third embodiment] Modification 2 of the third embodiment will be described with reference to Fig. 16. The main difference from the third embodiment is that image processing is performed on a captured image. Fig. 16 is a flowchart showing a specific camera sequence for suppressing degradation of image blur correction performance in Modification 2.
[0105] If it is determined in S508 that the predicted value of image blur is greater than the threshold value, the process proceeds to S701. In this case, it is known in advance that the captured image will be an image with image blur. Therefore, in S701, before the user checks the captured image, the blurred image prevention processing unit 209 instructs the camera CPU 201 to execute image processing for correcting the blurred image. Image processing for correcting the blurred image includes image processing for increasing the sharpness of the image. This operation corresponds to an operation of switching the image processing method.
[0106] According to this modification, it is possible to suppress a decrease in image blur correction performance by changing the image processing method.
[0107] [Modification 3 of the third embodiment] Modification 3 of the third embodiment will be described with reference to Fig. 17. The main difference from the third embodiment is that a process for changing the exposure time is executed. Fig. 17 is a flowchart showing a specific camera sequence for suppressing a decrease in image blur correction performance in Modification 3.
[0108] If it is determined in S508 that the predicted value of image blur is greater than the threshold value, the process proceeds to S801. In S801, the blurred image prevention processing unit 209 instructs the camera CPU 201 to execute automatic setting of the exposure time. Based on the angle error prediction table, a process is executed to automatically set the exposure time to a shorter value so that the predicted value of image blur is equal to or less than the threshold value, and image capture is performed with the set exposure time. This process corresponds to a process of switching the exposure conditions of the imaging device.
[0109] According to this modification, it is possible to suppress deterioration of image stabilization performance by automatically changing the exposure conditions.
[0110] [Fourth embodiment] A fourth embodiment of the present invention will be described with reference to Fig. 18. An example of an image capture device capable of suppressing degradation of image blur correction performance even when various lens devices are attached to the main body of the image capture device and used in a lens-interchangeable camera system will be described. A process of calculating Allan variance data based on the output of the vibration sensor and the motion vector will be described.
[0111] 18 is a block diagram relating to control of the imaging device 100 composed of the main body 101 and the interchangeable lens 102. The interchangeable lens 102 has a lens CPU 1202, electrical contacts 1203, an imaging optical system 213, a lens driving unit 1215, and a vibration sensor 1216.
[0112] When the main body 101 and the interchangeable lens 102 are mechanically connected, the camera CPU 1201 and the lens CPU 1202 are electrically connected via the electrical contacts 1203 and are capable of communicating with each other. The lens CPU 1202 controls the lens driver 1215 in accordance with a signal from the vibration sensor 1216 and a command from the camera CPU 1201. The lens driver 1215 drives the aperture and image blur correction lens of the imaging optical system 213 in accordance with a command from the lens CPU 1202. The imaging optical system 213 includes a focus lens, a zoom lens, a shift lens, an aperture, etc. on an imaging optical axis 214, and forms an image from light from a subject.
[0113] The vibration sensor 1216 detects vibration of the interchangeable lens 102, and transmits a detection signal to the lens CPU 1202. The vibration sensor 1216 is an inertial sensor such as an angular velocity sensor. The main body 101 includes a camera CPU 1201, an image sensor 210, a focal plane shutter 212, an image processing unit 1204, a storage unit 1205, a motion vector detection unit 1206, and an Allan variance calculation unit 1207.
[0114] The camera CPU 1201 controls the entire system and controls each component of the interchangeable lens camera system in response to a shooting instruction operation by a photographer using the release button 104 or the like.
[0115] The focal plane shutter 212 controls the blocking state of light incident on the image sensor 210 based on a command from the camera CPU 1201. The image sensor 210 performs photoelectric conversion on the light that passes through the image sensor optical system 213 and forms an image, and outputs an electrical signal corresponding to the optical image to the image processor 1204.
[0116] The image processing unit 1204 includes an A / D converter, a white balance adjustment circuit, a gamma correction circuit, an interpolation calculation circuit, etc. The image processing unit 1204 executes predetermined image processing and generates digital data of an image (video) to be stored. The image processing unit 1204 also compresses still image data, moving image data, and audio data using a known method.
[0117] The storage unit 1205 includes a semiconductor storage device that stores programs executed by the camera CPU 1201, a memory card that stores various data generated by the image processing unit 1204, etc. The semiconductor storage device is, for example, an EEPROM (Electrically Erasable Programmable Read-Only Memory).
[0118] The motion vector detection unit 1206 detects a motion vector from a plurality of image signals captured at different times and processed by the image processing unit 1204. In detecting a motion vector, image movement can be detected by comparing feature points of two temporally consecutive images. The method of detecting a motion vector is a well-known technique, and therefore a detailed description thereof will be omitted.
[0119] The Allan variance calculation unit 1207 calculates the difference between the detection signal of the vibration sensor 1216 and the detection signal of the motion vector detection unit 1206, and calculates the Allan variance using the difference. At this time, the detection signal of the vibration sensor 1216 and the detection signal of the motion vector detection unit 1206 are each converted into an angular velocity before the difference calculation is performed. When converting the motion vector into an angular velocity, information such as the focal length of the interchangeable lens 102, the shooting interval (or frame rate) of the image used to detect the motion vector, and the pixel pitch of the image sensor 210 is used. The Allan variance data calculated by the Allan variance calculation unit 1207 can be referred to by the camera CPU 1201.
[0120] Assume that the imaging device 100 is not fixed to a tripod or the like, for example, when shaking occurs in the imaging device 100 while preparing for handheld shooting. In this case, by removing the signal of the shaking of the imaging device 100 detected by the motion vector detection unit 1206 from the detection signal of the vibration sensor 1216, it becomes possible to detect noise and drift inherent to the vibration sensor 1216. The camera CPU 1201 can more accurately perform signal processing to correct the offset of the shake detection signal and suppress drift.
[0121] In this embodiment, even after the interchangeable lens 102 is attached to the main body 101, the camera CPU 1201 can obtain Allan variance data specific to the vibration sensor 1216 from the Allan variance calculation unit 1207. Therefore, it is possible to provide an imaging device that can suppress a decrease in image blur correction performance when various lens devices are attached to the main body. Note that, although a lens device has been shown as an example of an external device that is attached to the main body of the imaging device, the present invention is applicable to a system in which an external device such as an accessory having a vibration sensor can be attached to the main body.
[0122] [Fifth embodiment] An imaging device 300 according to a fifth embodiment of the present invention will be described with reference to Fig. 19. Differences from the imaging device 100 according to the fourth embodiment will be mainly described. The difference between Fig. 19 and Fig. 18 is that a correction unit 211 and a correction control unit 1208 are provided. In addition, the main body 101 includes a first vibration sensor 1209, and the interchangeable lens 102 includes a second vibration sensor 1216. That is, the vibration sensor 1209 detects vibration of the main body 101 and outputs a detection signal to the camera CPU 1201. The vibration sensor 1216 detects vibration of the interchangeable lens 102 and outputs a detection signal to the lens CPU 1202.
[0123] The correction control unit 1208 controls the correction unit 211 in accordance with a control command from the camera CPU 1201, and the correction unit 211 drives the image sensor 210. A drive mechanism for the image sensor 210 is configured to translate the image sensor 210 within a plane perpendicular to the image sensor optical axis 214 and rotate the image sensor 210 about the image sensor optical axis 214. The correction control unit 1208 sends a control command to the correction unit 211 to drive the image sensor 210 so as to cancel out vibrations detected by the vibration sensor 1209.
[0124] The Allan variance calculation unit 1307 judges whether the magnitude of the detection signal of the vibration sensor 1209 is equal to or less than a predetermined threshold. For example, a threshold for the detection signal of the vibration sensor 1209 used when judging that the imaging device 300 is supported on a tripod is set as the predetermined threshold. When the magnitude of the detection signal of the vibration sensor 1209 is equal to or less than the threshold, the Allan variance calculation unit 1307 calculates the Allan variance using the detection signal of the vibration sensor 1216. In addition, as a method of judging whether the imaging device is supported on a tripod using the detection signal of the vibration sensor, there is a method of judging whether a state in which the magnitude of the detection signal of the vibration sensor is smaller than a predetermined threshold continues for a predetermined threshold time or more. Since this technology is well known, detailed explanation will be omitted. The same applies to the judgment of whether the imaging device is placed on a desk or the like.
[0125] Assume that the imaging device 300 is in a static state after the interchangeable lens 102 is attached to the main body 101. The static state is a state in which there is almost no shaking, such as when the imaging device is attached to a tripod or placed on a desk. In such a case, it is possible to obtain the detection signal of the vibration sensor 1216 and calculate the Allan variance. In other words, since it is possible to calculate the Allan variance when the main body 101 of the imaging device 300 is not vibrating, it is possible to detect the noise and drift inherent to the vibration sensor 1216. The lens CPU 1202 can more accurately perform signal processing to correct the offset of the shake detection signal and suppress the drift.
[0126] According to this embodiment, it is possible to suppress deterioration of image blur correction performance in an imaging system in which various lens devices can be attached to the main body of the imaging device. In this embodiment, an example has been shown in which the detection signal of the vibration sensor 1209, which is originally used for controlling the correction unit 211, is used to determine the static state of the imaging device 300. However, without being limited to this, the static state of the imaging device 300 may be determined using the detection signal of another vibration sensor provided in the main body 101.
[0127] According to the embodiment, offset correction can be performed by appropriately setting parameter values for filter processing based on statistical data to deal with fluctuations in each individual inertial sensor, thereby suppressing variation in the image blur correction effect of the imaging device.
[0128] Although the preferred embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and various modifications and changes are possible within the scope of the gist of the present invention. The present invention can be implemented in a configuration in which the above-mentioned embodiments and modifications are appropriately combined. In addition, in the above-mentioned embodiment, an example was shown in which a data table of Allan variance is used as statistical data showing the relationship between the measurement time interval of the shake detection output and the angle error. However, the present invention is not limited to this, and can be applied to embodiments that utilize various statistical processing. [Explanation of symbols]
[0129] 5 Camera control section 7 Image Processing Section 14 Image stabilization unit 15 Shake detection unit 5002 Offset Estimation Unit 5100 Storage section
Claims
1. An image stabilization device for an imaging device that performs image stabilization by acquiring a shake detection signal from a detection means for detecting shake in a main body of the imaging device having an imaging means or in an external device that can be attached to the main body, the image stabilization device comprising: an image blur correction unit that performs optical image blur correction by moving the image capture unit or the correction lens in a direction different from the direction of the photographing optical axis, or performs electronic image blur correction by performing image processing on the image captured by the image capture unit; an image processing means for calculating a motion vector between a plurality of images captured by the imaging means and calculating an amount of shake in the imaging device based on the motion vector; an estimation means for estimating an offset component as a fluctuation including a direct current component contained in the shake detection signal by performing a filtering process using a Kalman filter on a signal obtained by removing the shake amount from the shake detection signal; a control unit that controls the image blur correction unit based on a signal obtained by subtracting the offset component from the shake detection signal, The estimation means changes parameter values of the Kalman filter using statistical data indicating a relationship between an angle error and a measurement time interval of the output of the detection means.
1. An image stabilization device comprising:
2. The image stabilization device further includes an integrating means for obtaining an output correction value of the detecting means by performing time integration on a signal obtained by subtracting the offset component from the shake detection signal, and the control means controls the image stabilization means using the output correction value.
2. The image blur correction device according to claim 1,
3. The estimation means changes the parameter value by using data on a standard deviation related to the offset component as the statistical data.
3. The image blur correction device according to claim 1, wherein the image blur correction device is a lens.
4. The parameter values are the variance of the observation noise and the variance of the system noise.
4. The image blur correction device according to claim 2, wherein the first and second lenses are arranged in a first direction and a second direction.
5. an update means for acquiring the shake detection signal and the motion vector and updating the statistical data; The estimation means obtains the updated statistical data and changes the parameter value.
5. The image stabilization device according to claim 1,
6. a storage means for storing data on the variance of the observation noise and the variance of the system noise; and an update means for acquiring the detection signal of the shake and the motion vector and updating the variance value of the system noise stored in the storage means.
5. The image blur correction device according to claim 4.
7. The update means updates the variance value of the system noise when a difference value between the currently acquired variance value of the system noise and the previously acquired variance value of the system noise is greater than a threshold value.
7. The image blur correction device according to claim 6.
8. The estimation means changes the parameter value using the statistical data generated from the detection signal acquired in a stationary state.
8. The image stabilization device according to claim 1,
9. The image stabilization device according to any one of claims 1 to 8 is provided.
1. An imaging device comprising:
10. A calculation means for calculating a noise characteristic related to a signal in which the offset component is suppressed with respect to the shake detection signal; a calculation means for generating data indicating a relationship between an integrated error and an integral time for the shake detection signal by using the noise characteristic calculated by the calculation means; a processing means for acquiring the data generated by the calculation means, information on the exposure time of the image sensor and the focal length of the image pickup optical system, and executing a process for suppressing or preventing generation of a blurred image when the integrated error is equal to or greater than a threshold value.
10. The imaging device according to claim 9.
11. The processing means executes one or more of a process of issuing a warning about generation of a blurred image, a process of switching a signal processing method for the shake detection signal, a process of switching an image processing method for a captured image, and a process of switching an exposure condition.
11. The imaging device according to claim 10.
12. The calculation means calculates a standard deviation related to the shake detection signal to generate table data.
12. The imaging device according to claim 10 or 11.
13. The processing means executes the processing when a predetermined shooting condition is satisfied and the integrated error is equal to or greater than a threshold value.
13. The imaging device according to claim 10, wherein the imaging device is a single lens.
14. The calculation means predicts image blur of a captured image from information on an exposure time and a focal length when the photographing condition is satisfied.
14. The imaging device according to claim 13.
15. The photographing condition is a photographing condition in which the exposure time is longer than a threshold value, or a photographing condition in which the focal length is greater than a threshold value.
15. The imaging device according to claim 13 or 14.
16. The detection means includes an angular velocity sensor, The calculation means calculates data representing the fluctuation in angle by multiplying a standard deviation value corresponding to a measurement time interval of the shake detection signal by the measurement time interval.
16. The imaging device according to claim 10,
17. An external device having a detection means for detecting vibration can be attached to the main body, a calculation unit that calculates the statistical data by calculating a difference between a detection signal of a detection unit included in the external device and the motion vector while the external device is attached to the main body; 10. The imaging device according to claim 9.
18. An external device can be attached to the main body, a first detection means for detecting vibration of the main body portion; a calculation means for calculating the statistical data using a detection signal of a second detection means included in the external device when the magnitude of the detection signal of the first detection means is equal to or smaller than a threshold value in a state in which the external device is attached to the main body portion.
10. The imaging device according to claim 9.
19. A control method executed by an image stabilization device of an imaging device equipped with an imaging means, the image stabilization device acquiring a detection signal of a shake from a detection means for detecting the shake in a main body of the imaging device equipped with an imaging means or in an external device attachable to the main body, and performing optical image stabilization by moving the imaging means or a correction lens in a direction different from the direction of an optical axis of photography, or electronic image stabilization by applying image processing to an image captured by the imaging means, comprising: an image processing step of calculating a motion vector between a plurality of images captured by the imaging means and calculating an amount of shake in the imaging device based on the motion vector; an estimation step of estimating an offset component as a fluctuation including a direct current component contained in the shake detection signal by performing a filtering process using a Kalman filter on a signal obtained by removing the shake amount from the shake detection signal; a control step of controlling the image blur correction means based on a signal obtained by subtracting the offset component from the shake detection signal, In the estimation step, a process is performed to change parameter values of the Kalman filter using statistical data indicating a relationship between an angular error and a measurement time interval of the output of the detection means. A control method comprising:
Citation Information
Patent Citations
Shake correction camera
JP1995295004A
Imaging apparatus
JP2007241126A
Vibration evaluating circuit, vibration evaluating device and electronic camera
JP2009294283A
Vibration-proof control device, optical equipment, and vibration-proof control program
JP2017212681A
Shake correction device, optical apparatus, and shake correction correct method
JP2018025703A
