Imaging device, control method thereof, program, and storage medium

The imaging device employs a machine learning model to estimate subject speed and adjust imaging conditions, addressing the challenge of sudden speed changes to achieve effective blur suppression.

JP7561535B2Active Publication Date: 2024-10-04CANON KK
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2020130770
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-06-04
Filing Date
2020-07-31
Publication Date
2024-10-04
Estimated Expiration
2040-07-31

AI Technical Summary

Technical Problem

Existing imaging technologies struggle to accurately suppress subject blur when there are sudden changes in the speed of a moving subject, such as when an animal pounces on prey, leading to incomplete blur suppression.

Method used

An imaging device that uses a trained machine learning model to estimate the speed of a subject based on captured images, adjusting imaging conditions like aperture, shutter speed, and ISO sensitivity to prevent blur, even with sudden speed changes.

Benefits of technology

Effectively suppresses subject blur by accurately predicting and adapting to sudden speed changes in moving subjects, ensuring clearer images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007561535000001
    Figure 0007561535000001
  • Figure 0007561535000002
    Figure 0007561535000002
  • Figure 0007561535000003
    Figure 0007561535000003
Patent Text Reader

Abstract

To provide an imaging apparatus that can prevent subject shake when photographing a moving subject.SOLUTION: An imaging apparatus comprises: an imaging unit that picks up an image of a subject; an estimation unit that, with the use of a learned model created through machine learning, from the image of the subject picked up by the imaging unit, estimates the speed of the subject at the time of picking up a subsequent image; and a control unit that controls an imaging operation for picking up the subsequent image in the imaging unit based on the estimated speed of the subject estimated by the estimation unit.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a technique for suppressing subject blurring when photographing a moving subject in an imaging device. [Background technology]

[0002] 2. Description of the Related Art Conventionally, imaging devices are known that perform control to suppress subject blur when determining imaging conditions for a subject.

[0003] In Patent Document 1, the motion vector of the subject and the motion vector of the background are calculated using multiple captured images, the movement of the subject is calculated from the motion vector of the subject, and the movement of the imaging device is calculated from the motion vector of the background, and the imaging conditions are set based on these. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Patent No. 4379918 Summary of the Invention [Problem to be solved by the invention]

[0005] However, in the technology disclosed in the above-mentioned Patent Document 1, the speed of the subject is calculated from the amount of movement of the subject between multiple images. Therefore, when there is a sudden change in speed, such as when an animal pounces on its prey, it is difficult to accurately calculate the change in speed. In such cases, it is not possible to completely suppress subject blur.

[0006] The present invention has been made in view of the above-mentioned problems, and has as its object to provide an imaging device capable of suppressing subject blur when photographing a moving subject. [Means for solving the problem]

[0007] The imaging device according to the present invention comprises:Able to move at a given speed in real space An imaging means for imaging a subject; The posture information of the specific subject is associated with the speed of the specific subject after a predetermined time. An estimation means for estimating a speed of the subject at a time when a subsequent image is captured from an image of the subject captured by the imaging means using a trained model created by machine learning; and The imaging conditions are the aperture, shutter speed, and ISO sensitivity. control Do and a control means. Effect of the Invention

[0008] According to the present invention, it is possible to suppress blurring of a subject when photographing a moving subject. [Brief description of the drawings]

[0009] [Figure 1] 1 is a block diagram showing the configuration of a digital camera that is a first embodiment of an imaging apparatus of the present invention. [Diagram 2] FIG. 2 is a diagram showing a block configuration of an estimation unit. [Diagram 3] FIG. 4 is a diagram showing an example of an image input to an estimation unit. [Figure 4] FIG. 4 is a diagram showing an example of a program diagram corresponding to the moving speed of a subject. [Diagram 5] 5 is a flowchart showing the operation of switching a program chart based on the speed of a subject in the first embodiment. [Figure 6] FIG. [Figure 7] 5 is a flowchart showing an operation of switching a program chart during panning in the first embodiment. [Figure 8] FIG. 4 is a program diagram for panning in the first embodiment. [Figure 9] 10 is a flowchart showing an operation for switching a frame rate of live view in the second embodiment. [Figure 10] FIG. 13 is a diagram showing the structure of an image sensor according to a third embodiment. [Figure 11] FIG. 11 is a circuit diagram of a unit pixel according to a third embodiment. [Figure 12] FIG. 11 is a circuit diagram of a unit column circuit according to a third embodiment. [Figure 13] FIG. 13 is a diagram showing the timing of accumulation and readout in HDR using the accumulation time switching method. [Figure 14] 13 is a timing chart showing the readout operation of the entire pixel area in HDR using the accumulation time switching method. [Figure 15] 13 is a timing chart of the readout operation of the entire pixel area in gain switching type HDR. [Figure 16] 11 is a flowchart showing an operation of switching an imaging operation of an HDR image depending on an estimated speed of a subject. [Figure 17] FIG. 13 is a timing chart showing the operations of live view shooting and subject speed estimation in the fourth embodiment. [Figure 18] FIG. 13 is a diagram showing an example of obtaining an estimated speed at an arbitrary timing by interpolating the estimated speed. [Figure 19] 6A and 6B are diagrams showing control of accumulation time based on the subject speed at the start of accumulation. [Figure 20] FIG. 13 is a diagram showing control of accumulation time based on the subject speed at the center of accumulation. [Figure 21] FIG. 23 is a block diagram showing the configuration of an estimation unit according to the sixth embodiment. [Figure 22] FIG. 23 is a diagram for explaining the learning of a learning model in the sixth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, the embodiments will be described in detail with reference to the attached drawings. Note that the following embodiments do not limit the invention according to the claims. Although the embodiments describe a number of features, not all of these features are essential to the invention, and the features may be combined in any manner. Furthermore, in the attached drawings, the same reference numbers are used for the same or similar configurations, and duplicated descriptions are omitted.

[0011] (First embodiment) FIG. 1 is a block diagram showing the configuration of a digital camera 100 which is a first embodiment of an image capturing apparatus of the present invention.

[0012] 1, lens unit 101 forms an optical image of a subject on image sensor 105. In addition, in lens unit 101, zoom control, focus control, aperture control, etc. are performed by lens drive device 102. Mechanical shutter 103 is controlled by shutter drive device 104. Image sensor 105 is made up of a CCD or CMOS sensor, etc., and photoelectrically converts the subject image formed by lens unit 101 to output an image signal.

[0013] The signal processing circuit 106 performs various correction processes, data compression processes, development processes, etc. on the image signal output from the image sensor 105. The signal processing circuit 106 also includes a gain unit 106a that performs digital gain processing to apply a gain to the image signal. The photometry unit 107 obtains the subject brightness from the image signal. The estimation unit 108 estimates and learns the speed of the subject at the time of imaging of the subject (a time a predetermined time has elapsed from the present) from the image signal.

[0014] The control unit 109 performs various calculations and controls the entire digital camera 100. The motion sensor 110 includes an angular velocity sensor (gyro sensor) that detects the angular velocity of the motion of the digital camera 100, and an acceleration sensor that detects acceleration. The memory unit 111 temporarily stores image data. The interface unit (I / F unit) 112 is an interface for recording data to the recording medium 113 or reading data from the recording medium 113. The recording medium 113 is composed of a removable semiconductor memory or the like for recording or reading image data.

[0015] The display unit 114 displays various information and captured images, and includes an electronic viewfinder (EVF) and a liquid crystal display (LCD). The electronic viewfinder is provided with an eyepiece through which an image displayed on the EVF panel can be viewed. The proximity sensor 115 is disposed near the eyepiece of the EVF, and detects the proximity of an object to the eyepiece.

[0016] The operation unit 116 includes a power switch, a shutter switch, and a touch panel. The shutter switch includes an instruction switch SW1 that starts a shooting preparation operation such as autofocus (AF) when the shutter button is pressed halfway, and an instruction switch SW2 that starts imaging when the shutter button is pressed all the way. The touch panel is layered on the LCD and detects a touch operation by the user.

[0017] 2 is a diagram showing a block configuration of the estimation unit 108. The estimation unit 108 is configured to include a speed estimation unit 201 and a correction unit 202. In response to an input of a single image signal held in the memory unit 111, the speed estimation unit 201 estimates and outputs the speed of the subject in the image signal at the time when an image for recording is captured a predetermined time later. The timing of capturing the image after the predetermined time is notified by the control unit 109.

[0018] This estimation of the subject's speed can be achieved by using a known deep learning technique, etc. to perform machine learning to associate the subject in the input image with the speed of the subject's next movement, and then using the created trained model. Therefore, even if there is a sudden change in movement, it is possible to estimate the speed by using an input image that shows signs of the sudden change in movement in advance.

[0019] Fig. 3 is a diagram showing an example of an image input to the estimation unit 201. When an image of a standing dog as shown in Fig. 3(a) is input to the speed estimation unit 201, the speed estimation unit 201 outputs an estimated speed of 0 km / h. When an image of a running dog as shown in Fig. 3(b) is input to the speed estimation unit 201, the speed estimation unit 201 outputs an estimated speed of, for example, 30 km / h.

[0020] The correction unit 202 corrects the estimated speed output from the speed estimation unit 201 according to the size of the subject on the image plane in the input image. Specifically, if the size of the subject on the image plane is small, the speed on the image plane is corrected to be slower, and conversely, if the size of the subject on the image plane is large, the speed on the image plane is corrected to be faster. Furthermore, the correction unit 202 may correct the estimated speed output from the speed estimation unit 201 using the distance to the subject and the imaging magnification of the lens unit 101, instead of the size of the subject on the image plane.

[0021] The correction unit 202 sends the corrected estimated speed of the subject to the control unit 109. The control unit 109 selects a corresponding program chart according to the estimated speed of the subject, and determines imaging conditions such as shutter speed, ISO sensitivity, and aperture based on an EV (Exposure value) obtained by the photometry unit 107. The control unit 109 determines the type of movement, such as non-moving, slow, medium, or fast, based on the estimated speed of the subject. Here, if the estimated speed of the subject is less than a threshold, the subject is treated as a non-moving subject.

[0022] FIG. 4 shows program diagrams for each type of movement. FIG. 4(a) shows an example of a program diagram for a non-moving subject, FIG. 4(b) shows an example of a program diagram for a slow-moving subject, FIG. 4(c) shows an example of a program diagram for a medium-moving subject, and FIG. 4(d) shows an example of a program diagram for a fast-moving subject. In each program diagram, the maximum aperture (the aperture with the largest aperture diameter) is F1.4, and the minimum aperture (the aperture with the smallest aperture diameter) is F22. The ISO sensitivity can be set in the range of ISO100 to ISO1638400 by the gain unit 106a applying a gain according to the ISO sensitivity. Also, the gain may be applied within the image sensor 105.

[0023] If the subject is classified as a non-moving subject, the program diagram for a non-moving subject in Fig. 4(a) is selected. In the program diagram for a non-moving subject in Fig. 4(a), the aperture and shutter speed are controlled in accordance with the EV value measured by the photometry unit 107 within a predetermined luminance range (EV4 to EV20 in the figure). In the area 301 with the maximum aperture and the area 302 with the minimum aperture, control is performed only with the shutter speed.

[0024] When a subject is classified as a slow-moving subject, an extremely slow shutter speed would cause subject blur, so the program diagram for slow-moving subjects in FIG. 4(b) is selected. In the program diagram for slow-moving subjects in FIG. 4(b), the ISO sensitivity is fixed within a predetermined luminance range (EV8 to EV20 in the diagram) and aperture and shutter speed control is performed, as in the program diagram for non-moving subjects. The program diagram for slow-moving subjects differs from the program diagram for non-moving subjects in that in region 303 where the shutter speed is 1 / 30 seconds, the shutter speed is fixed and aperture and ISO sensitivity control is performed. In region 304 where the aperture is maximum, only ISO sensitivity control is performed.

[0025] If the subject is classified as a medium-speed moving subject, the shutter speed must be increased to prevent subject blur, and the program diagram for a medium-speed moving subject in FIG. 4(c) is selected. In the program diagram for a medium-speed moving subject in FIG. 4(c), the ISO sensitivity is fixed within a predetermined luminance range (EV12 to EV20 in the diagram) and aperture and shutter speed control is performed, as in the program diagram for a slow-speed moving subject. In the area 305 where the shutter speed is 1 / 125 seconds, the shutter speed is fixed and aperture and ISO sensitivity control is performed. In the area 306 where the aperture is maximum, only ISO sensitivity control is performed.

[0026] If the subject is classified as a fast moving subject, the shutter speed must be increased to prevent subject blur, and the program diagram for fast moving subjects in FIG. 4(d) is selected. In the program diagram for fast moving subjects in FIG. 4(d), the ISO sensitivity is fixed within a predetermined luminance range (EV16 to EV20 in the diagram) and aperture and shutter speed control is performed, as in the program diagram for slow moving subjects. In region 307 where the shutter speed is 1 / 500 seconds, the shutter speed is fixed and aperture and ISO sensitivity control is performed. In region 308 where the aperture is maximum, only ISO sensitivity control is performed.

[0027] The following describes the operation of so-called live view shooting, in which still images are captured while an image output from the image sensor 105 is displayed on the display unit 114 in P (program) mode, in which the digital camera 100 itself determines the imaging conditions such as the shutter speed, ISO sensitivity, and aperture.

[0028] In this embodiment, the estimation unit 108 estimates the speed of the subject using a pre-captured image during live view shooting, and the control unit 109 switches the program diagram that determines the imaging conditions according to the estimated speed.

[0029] 5 is a flow chart showing the operation of switching the program diagram in accordance with the estimated speed of the subject. When the power of the digital camera 100 is turned on, the operation of this flow chart is started, and live view shooting begins.

[0030] In step S401, the control unit 109 performs image processing such as various correction processes, data compression processes, and development processes on the image signal output from the image sensor 105 using the signal processing circuit 106. The processed image data is stored in the memory unit 111 and then displayed on the display unit 114. At this time, the image signal output from the image sensor 105 may be resized in the signal processing circuit 106 since it is used for subject speed estimation in the estimation unit 108 and display on the display unit 114. Furthermore, images that have been subjected to different image processing may be input separately to the display unit 114 and the estimation unit 108.

[0031] In step S402, the control unit 109 estimates the subject speed after a predetermined time for one image stored in the memory unit 111 using the speed estimation unit 201. The predetermined time here is the time until the imaging time of the next frame in live view shooting (live view operation).

[0032] In step S403, the control unit 109 uses the correction unit 202 to correct the estimated speed of the subject in accordance with the size of the subject on the image plane.

[0033] In step S404, control unit 109 classifies the estimated speed of the subject corrected by correction unit 202 into high speed, medium speed, low speed, and non-moving. If the subject is a high speed moving subject, the process proceeds to step S405; if the subject is a medium speed moving subject, the process proceeds to step S406; if the subject is a low speed moving subject, the process proceeds to step S407; and if the subject is a non-moving subject, the process proceeds to step S408. In steps S405, S406, S407, and S408, control unit 109 selects a program diagram corresponding to each subject speed (controls the imaging operation).

[0034] In step S409, the control unit 109 determines imaging conditions such as shutter speed, ISO sensitivity, and aperture based on the selected program chart and the EV value determined by the photometry unit 107.

[0035] In step S410, the control unit 109 determines whether or not the release button has been pressed. If the release button has been pressed, the process proceeds to step S411, where an image for recording is captured under the imaging conditions determined in step S409. The captured image signal is subjected to signal processing in the signal processing circuit 106, and then stored in the memory unit 111, and is recorded on the recording medium 113 via the I / F unit 112. If the release button has not been pressed in step S410, the process returns to step S401, and the series of operations is repeated.

[0036] In addition, when the frame rate of the live view is high and the time between frames is short, the subject speed estimation process may not be completed by the time of the next frame of the live view. In this case, the estimation process may be performed once every several frames, and the timing of the subject speed estimation may be the imaging time of the next frame or later.

[0037] Although the above describes the live view shooting operation when the shooting mode is P mode, it is also applicable to Av (aperture priority) mode in which the photographer sets the aperture as desired, and Tv (shutter speed priority) mode in which the photographer sets the shutter speed as desired. In P mode, a program diagram is selected that limits the shutter speed so that a shutter speed that causes subject blur is not set based on the estimated subject speed output by the estimation unit 108.

[0038] In contrast, in the Tv mode, the shutter speed can be set arbitrarily. In this case, in the Tv mode, the shutter speed that the photographer can set is not limited, and if a shutter speed that would cause subject blur is set, a display may be displayed on the display unit 114 to notify the user that subject blur may occur. Also, a restriction may be imposed so that a shutter speed that would cause subject blur cannot be set.

[0039] As described above, according to this embodiment, the speed of the subject at the time of image capture after a predetermined time is estimated and a program chart corresponding to that speed is selected, making it possible to set imaging conditions that are less likely to cause subject blur.

[0040] Next, as a modification of the first embodiment, a case will be described in which information from the motion sensor 110 including an angular velocity sensor and an acceleration sensor is referred to in setting image capturing conditions.

[0041] For example, when taking a picture of a running dog by panning, the shutter speed is controlled not to be slow according to the flowchart of the first embodiment. However, in the case of panning, as shown in FIG. 6, the subject does not move on the image plane, and the background needs to move. Therefore, the shutter speed must not be too fast. In other words, even if a moving subject is detected, it is necessary not to select the program diagram of the moving subject. Therefore, in this modified example, when panning, the motion sensor 110 detects the motion of the digital camera 100 tracking the subject, and determines whether panning is being performed.

[0042] 7 is a flowchart showing the operation, including the determination of panning, of digital camera 100. Steps S601 to S603 and steps S609 to S611 are similar to steps S401 to S403 and steps S409 to S411 in FIG.

[0043] In step S604, control unit 109 refers to the subject velocity information estimated in step S602 and the angular velocity information and acceleration information from motion sensor 110 to calculate the velocity of digital camera 100 and the relative velocity between the subject and digital camera 100.

[0044] In step S605, the control unit 109 determines whether or not a panning shot is being performed based on the speed of the digital camera 100 calculated in step S604 and the relative speed between the subject and the digital camera 100. For example, if the relative speed is less than a threshold and the speed of the digital camera 100 detected by the motion sensor 110 is equal to or greater than the threshold, it can be determined that a panning shot is being performed in which the digital camera 100 is following the subject. In that case, the control unit 109 selects a program diagram for a panning shot in step S606.

[0045] If the relative speed is equal to or greater than the threshold, there is a possibility that subject blur or image blur due to camera shake may occur, so in step S607, a program line for a moving subject is selected based on the subject speed classification made in steps S602 and S603. This operation is similar to the operations in steps S404 to S407 in Fig. 5. If both the relative speed and the speed of digital camera 100 are less than the threshold, neither subject blur nor image blur due to camera shake is likely to occur, so control unit 109 selects a program line for a non-moving subject in step S608.

[0046] 8 is a diagram showing a program diagram for panning. In the program diagram for panning, the ISO sensitivity is fixed within a predetermined luminance range (EV2 to EV16 in the diagram), and the aperture and shutter speed are controlled. If the shutter speed is fast, the background will not blur, so in an area 701 where the shutter speed is 1 / 125 second and the aperture is at its minimum, the shutter speed is fixed and only the ISO sensitivity is controlled.

[0047] On the other hand, when the shutter speed is slow, image blur occurs due to camera shake caused by panning during panning, so in area 702 where the shutter speed is 1 / 2 second and the aperture is at maximum aperture, the shutter speed is fixed and only the ISO sensitivity is controlled.

[0048] As described above, in the modified example of the first embodiment, even if a moving subject is detected when performing a panning shot, a program chart for the panning shot can be selected, making it possible to obtain an image in which the background flows in relation to the subject.

[0049] Second embodiment In the first embodiment, the imaging conditions during shooting using live view were described, but in the present embodiment, the operation of live view itself will be described. Live view shooting is an operation for shooting a still image while displaying an image output from the image sensor 105 on the display unit 114.

[0050] When capturing a moving subject in live view, if the output from the image sensor 105 is at a low frame rate, the movement of the subject will be displayed frame by frame on the display unit 114. For this reason, it is desirable that the frame rate of the output from the image sensor 105 be a high frame rate that can display the moving subject smoothly.

[0051] However, outputting an image signal from the image sensor 105 at a high frame rate increases the power consumption of the digital camera 100. Therefore, when shooting a non-moving subject using live view shooting, it is desirable for the frame rate of the output from the image sensor to be a low frame rate.

[0052] 9 is a flowchart showing an operation for switching the frame rate of a live view in accordance with the estimated speed of a subject. Steps S801 to S803 are similar to steps S401 to S403 in FIG.

[0053] In step S804, the control unit 109 determines whether the estimated speed of the subject is equal to or greater than a predetermined threshold. If the estimated speed of the subject is equal to or greater than the threshold, the process proceeds to step S805, where a high frame rate drive operation for live view is selected. If the estimated speed of the subject is less than the threshold, the process proceeds to step S806, where a low frame rate drive operation for live view is selected.

[0054] In step S807, the control unit 109 determines whether or not an operation to end the live view has been performed. If an operation to end the live view has been performed, the control unit 109 ends the live view in step S808. If an operation to end the live view has not been performed in step S807, the control unit 109 returns to step S801 and repeats the series of operations.

[0055] As described above, in this embodiment, when a moving subject is present in live view, it is possible to display the subject smoothly at a high frame rate, and when a non-moving subject is present, it is possible to reduce power consumption by displaying the subject at a low frame rate.

[0056] In this embodiment, the case where there are two frame rates, high and low, has been described, but it is also possible to have a plurality of frame rates and have them selectable according to the estimated speed of the subject.

[0057] (Third embodiment) Hereinafter, a third embodiment will be described. In this embodiment, switching of the driving method of the image sensor when acquiring an HDR signal (high dynamic range signal) in which image signals of low exposure and high exposure are combined will be described.

[0058] First, we will explain the pixel structure of an image sensor that can obtain an HDR signal. A known pixel structure that can obtain an HDR signal is one in which two adjacent pixels have color filters of the same color. Methods for obtaining an HDR image with this pixel structure include an accumulation time switching method that differentiates the accumulation time of two adjacent pixels of the same color, and a gain switching method that differentiates the gain.

[0059] 10 is a diagram showing the structure of an image sensor 105A of this embodiment. The image sensor 105A includes a pixel region 900, a vertical control circuit 902, a horizontal control circuit 903, a timing generator (hereinafter, TG) 904, row selection switches 905 and 906, a vertical transfer line 907, a column circuit 909, and a signal addition unit 910.

[0060] In the pixel region 900, unit pixels 901 are arranged in a matrix. As described above, each unit pixel 901 is composed of two adjacent pixels having color filters of the same color. Therefore, two vertical transfer lines 907 are connected to each unit pixel 901. In addition, each vertical transfer line 907 is connected to one unit column circuit 908.

[0061] 10 shows an example in which 4×4 unit pixels 901 are shown in a pixel region 900 for ease of understanding, but in reality, many more pixels are arranged. Note that a vertical control circuit 902 selects pixels in the pixel region 900 row by row using row selection switches 905 and 906. Pixel signals read out from the unit pixels 901 via vertical transfer lines 907 are converted into digital signals by a column circuit 909 consisting of a plurality of unit column circuits 908, and input to a signal synthesis unit 910.

[0062] The signal synthesis unit 910 synthesizes low-exposure and high-exposure signals read from two adjacent pixels having the same color filter among the unit pixels 901 to generate an HDR signal. For example, a synthesis method may be a method of generating an HDR signal using a low-exposure signal when a high-exposure signal is saturated. Note that any synthesis method may be used to generate an HDR signal, and the synthesis method is not limited.

[0063] The TG 904 sends control signals for outputting pixel signals of each pixel to the vertical control circuit 902 and the horizontal control circuit 903. The TG 904 also sends control signals to the signal synthesis unit 910.

[0064] 11 is a diagram showing the structure of a unit pixel 901 having the same color filter. The unit pixel 901 is configured to include photodiodes 1001 (PDa) and 1002 (PDb), transfer transistors 1003 and 1004, FD capacitance additional switches 1005 and 1006, additional FD capacitances 1007 and 1008, FDs 1009 and 1010, reset transistors 1011 and 1012, and amplification transistors 1013 and 1014.

[0065] 12 is a diagram showing the structure of the unit column circuit 908. The unit column circuit 908 is configured to include a comparator 1101, a counter 1102, an N memory 1103, an S memory 1104, and a CDS circuit 1105.

[0066] A comparator 1101 compares a pixel signal read out from the unit pixel 901 with a ramp signal ramp (not shown). When the magnitude relationship between the pixel signal and the ramp signal is inverted, the output of the comparator 1101 is also inverted. A counter 1102 performs a counting operation based on an input clock signal clk, and when the output of the comparator 1101 is inverted, the counter stops the counting operation and performs AD conversion.

[0067] After AD conversion, if the count value held by counter 1102 is the AD conversion result of the reset level of the FD (floating diffusion unit), it outputs it to N memory 1103, and if it is the AD conversion result of the pixel signal, it outputs it to S memory 1104. CDS circuit 1105 subtracts the value held in N memory 1103 from the value held in S memory 1104 to obtain a signal from which the reset noise component has been removed from the pixel signal.

[0068] FIG. 13 is a diagram showing accumulation and readout operations in the case where an accumulation time switching method is used as the HDR method. PDa1001 is reset in period P1, and accumulation is performed in period P2. Then, a readout operation is performed in period P3. Meanwhile, PDb1002 is reset in period P1, and accumulation is performed in period P4. Then, a readout operation is performed in period P5. The series of operations is the same for both PDa1001 and PDb1002, but the lengths of period P2 and period P4, which are periods for accumulation, are different. This makes it possible to obtain signals of low exposure and high exposure. By combining these signals in the signal combining unit 910, an HDR signal can be obtained.

[0069] When using the gain switching method to obtain an HDR signal, the signal FDa (see FIG. 11) is set to Lo and the signal FDb (see FIG. 11) is set to Hi. This increases the FD capacitance on the PDb 1002 side, and the gain of the pixel signal of PDb 1002 becomes lower relative to PDa 1001. This makes it possible to obtain low exposure and high exposure signals. By combining these signals in the signal combining unit 910, an HDR signal can be obtained.

[0070] Note that reading at different gains may be performed by changing the ramp signal supplied to the comparator 1101 or by changing the gain of a preamplifier in the unit column circuit 908 (not shown) instead of changing the FD capacity.

[0071] FIG. 14 is a diagram showing a readout operation of the entire pixel region 900 when the accumulation time switching method is used to obtain an HDR signal.

[0072] At timing T1301, a reset operation is performed for both PDa1001 and PDb1002, row by row, and accumulation begins. Next, at timing T1302, readout of PDa1001 begins, and each row is read out until all rows have been read out. Next, at timing T1303, readout of PDb1002 begins, and each row is read out until all rows have been read out. The subsequent operations from timing T1304 to T1306 are the same as those from timing T1301 to T1303. Although the accumulation start timing is the same for both PDa1001 and PDb1002, the readout timing is different, and therefore the accumulation time is different.

[0073] 15 is a diagram showing a readout operation of the entire pixel region 900 when the gain switching method is used to obtain an HDR signal. At timing T1401, a reset operation is performed for both PDa1001 and PDb1002 in sequence for each row, and accumulation is started. Next, at timing T1402, readout is started for both PDa1001 and PDb1002, and each row is read out until all rows have been read out. The subsequent operations from timing T1403 to T1404 are the same as those from timing T1401 to T1402. Since the accumulation start timing and readout timing are the same for both PDa1001 and PDb1002, the accumulation time is the same.

[0074] In the gain switching method, if the brightness difference within the screen is large, gradation may not be obtained in dark areas where the amount of light is extremely low, even if gain is applied to the pixel signal. On the other hand, in the accumulation time switching method, a high exposure signal is obtained by extending the accumulation time without applying gain. Therefore, it is possible to obtain gradation in dark areas with a high exposure signal compared to the gain switching method.

[0075] However, when a moving subject is present, the photodiode with the longest accumulation time will cause subject blurring, so in the case of a moving subject, it is desirable to use the gain switching method, and in the case of a non-moving subject, it is desirable to use the accumulation time switching method.

[0076] 16 is a flowchart showing an operation for switching a method for obtaining an HDR signal according to an estimated speed of a subject. Steps S1501 to S1503 are similar to steps S401 to S403 in FIG.

[0077] In step S1504, control unit 109 determines whether the estimated speed of the object is equal to or greater than a predetermined threshold. If the estimated speed of the object is equal to or greater than the threshold, control unit 109 proceeds to step S1505, where it causes image sensor 105A to perform a gain switching operation. If the estimated speed of the object is less than the threshold, control unit 109 proceeds to step S1506, where it causes image sensor 105A to perform an accumulation time switching operation.

[0078] In step S1507, the control unit 109 determines whether or not an operation to end shooting has been performed. If an operation to end shooting has been performed, the captured image is recorded and the process ends in step S1508. If an operation to end shooting has not been performed in step S1507, the process returns to step S1501 and the series of operations is repeated.

[0079] As described above, in this embodiment, the method of obtaining an HDR signal is switched based on the estimated speed of the subject at the time of image capture after a predetermined time. This makes it possible to suppress subject blurring more than when the method of obtaining an HDR signal is switched based on the shooting conditions, etc. Also, it is possible to suppress subject blurring more than when the method of obtaining an HDR signal is mechanically switched based on the exposure amount and the threshold value of the accumulation time. (Fourth embodiment) In the first to third embodiments, the subject speed of the next frame or the frame after that is estimated from the image captured by live view shooting, and the imaging operation is controlled based on the estimation result. However, since the photographer presses the release button at any timing, the time at which the subject speed is estimated at regular intervals in live view shooting may differ from the shooting time.

[0080] Fig. 17 is a diagram showing the timing of the operations of live view shooting and subject speed estimation in the first to third embodiments. The operation in Fig. 17 is a so-called live view shooting operation in which still image shooting is performed while images output from the image sensor 105 at regular intervals are displayed on the display unit 114. Here, image readout is started at regular intervals of timing T1702, timing T1705, and timing T1708.

[0081] At timing T1701, a reset operation is performed for each row in sequence, and accumulation is started. Next, at timing T1702, readout is started for each row in sequence, and at timing T1703, readout of all rows is completed. After that, the estimation unit 108 estimates the subject speed at timing T1705 using the image acquired at timing T1703.

[0082] Based on the estimated speed of the subject, the control unit 109 controls the accumulation time by controlling the start timing of the reset operation at timing T1704. Note that since there may be cases where the accumulation time is long and timing T1704 at which the reset operation is performed occurs before the completion of estimation, a limit may be set on the accumulation time so that timing T1704 occurs after the completion of estimation of the subject speed.

[0083] After a reset operation is performed at timing T1704 and a read operation is performed at timing T1705, the estimation unit 108 estimates the subject speed at timing T1708 when the next frame of live view is read out, using the image acquired at timing T1706. At this time, timing T1708 is controlled by the control unit 109 based on the estimation of the subject speed at timing T1705.

[0084] Next, a reset operation is performed at timing T1707, and a readout operation is performed at timing T1708. Here, an example is shown in which the estimated speed of the subject at timing T1708 is fast. Therefore, the control unit 109 performs control to delay the start of the reset operation at timing T1707 so that the accumulation time is shortened based on the estimated speed of the subject.

[0085] Next, the operation when the release button is pressed will be described. When the release button is pressed at timing T1709, the control unit 109 instructs the start of a reset operation and accumulation at timing T1709, and the start of readout at timing T1710, and a still image is acquired. In this case, since the estimated speed of the subject at timing T1709 has not been obtained, the control unit 109 controls the accumulation time based on the estimated speed of the subject at timing T1708, which is immediately before timing T1709 when the release button was pressed.

[0086] For this reason, if the subject speed differs between timing T1708 when the estimated subject speed is estimated and timing T1709 when the release button is pressed, control of the accumulation time will not be appropriate.

[0087] FIG. 18 is a diagram showing an example of obtaining an estimated speed at any timing by interpolating the estimated speed during the estimation of the subject speed after a predetermined time, which is performed at regular intervals in this embodiment.

[0088] Fig. 18(a) is a diagram showing the timing of an operation for estimating the subject speed after two different predetermined times from an acquired image and interpolating the estimated subject speed between the two times. Regarding Fig. 18(a), the differences from Fig. 17 will be described.

[0089] In Fig. 17, the estimation unit 108 estimates the subject speed at read start timing T1705 of the next frame of live view using an image acquired at timing T1703. In contrast, in Fig. 18, the estimation unit 108 uses an image acquired at timing Ta1803 to estimate the subject speed at read start timing Ta1805 of the next frame of live view, as well as at read start timing Ta1808 of the frame after that. In other words, while the subject speed is estimated only for the next frame in Fig. 17, it is estimated for the next frame and the frame after that in Fig. 18.

[0090] Furthermore, the estimation unit 108 interpolates the estimated speed of the subject between timing Ta1805 and timing Ta1808 from the estimated speed of the subject at the obtained timing Ta1805 and timing Ta1808. This interpolation of the estimated speed can be realized by using a known method such as linear interpolation. Similarly, for the image obtained at timing Ta1806, the estimation unit 108 estimates the speed of the subject at timing Ta1808 when the next frame of live view is read out and at timing Ta1811 when the frame after that is read out, and interpolates between them. This interpolation process makes it possible to obtain the estimated speed of the subject at any timing.

[0091] Therefore, even if the release button is pressed at timing Ta1810, control unit 109 can control the accumulation time based on the estimated speed of the subject at the interpolated timing Ta1810.

[0092] If the time required for speed estimation is short, the speed may be estimated by interpolation with the speed estimation result obtained in the previous frame.

[0093] This will be specifically explained using Fig. 18(a). Taking the interpolation between timing Ta1808 and timing Ta1811 as an example, at timing Ta1806, the velocities at timing Ta1808 and timing Ta1811 are estimated from the image obtained at timing Ta1806, and interpolation is performed therebetween.

[0094] Here, assume that the time required for speed estimation is short, and speed estimation for the next frame, timing Ta1811, using the image obtained at timing Ta1809 is completed before the release button is pressed at Ta1810. In this case, the newly calculated estimated speed is used for the estimated speed at timing Ta1811, and the estimated speed at timing Ta1810 is calculated by interpolating with the estimated speed at timing Ta1808 calculated from timing Ta1806.

[0095] This makes it possible to obtain a velocity estimate for timing Ta1811 used for interpolation between timing Ta1809 and timing Ta1811 using an image from closer timing Ta1809. This makes it possible to improve the accuracy of the interpolated estimated velocity at timing Ta1810 when the release button is pressed.

[0096] FIG. 18B is a timing diagram of an operation for estimating the subject speed and subject acceleration after a predetermined time from a captured image, and performing interpolation until the next estimated subject speed is obtained.

[0097] The subject acceleration here refers to the amount of change in the subject's speed over time, and can be achieved by using a learning model that has been machine-learned to associate the subject in an input image with the acceleration of the subject's next movement using well-known deep learning technology, etc.

[0098] In FIG. 18B, the estimation unit 108 estimates the subject speed and subject acceleration at timing Tb1805 when the next frame of live view is read out, using the image acquired at timing Tb1803.

[0099] Similarly, the estimation unit 108 uses the images acquired at timings Tb1806 and Tb1809 to estimate the subject velocity and subject acceleration at timings Tb1808 and Tb1811, respectively, when the next live view frame is read out.

[0100] Furthermore, the estimation unit 108 uses the estimated speed and estimated acceleration of the subject at timing Tb1805 to interpolate the estimated speed of the subject up to timing Tb1808 when the next estimation result is obtained. Similarly, the estimation unit 108 interpolates the estimated speed of the subject up to timing Tb1811 from the estimation result at timing Tb1808. This interpolation process makes it possible to obtain an estimated speed of the subject at any timing.

[0101] Therefore, even if the release button is pressed at timing Tb1810, the control unit 109 can control the accumulation time based on the estimated speed of the subject at the interpolated timing Tb1810.

[0102] As described above, the estimated subject speed at any given time can be obtained by interpolating the estimated speed between the estimations of the subject speed after a given time that is performed at regular intervals. This makes it possible to control the imaging operation based on the estimated subject speed at the time the photographer presses the release button.

[0103] Fifth embodiment In the first to fourth embodiments, the imaging operation is controlled using the estimated speed of the subject at or near the timing when the release button is pressed. However, when controlling the accumulation time according to the estimated speed of the subject, the speed of the subject may change even after the release button is pressed and accumulation is started. For example, if the subject is accelerating rapidly, the estimated speed of the subject will be significantly different between the start and end of accumulation.

[0104] In this embodiment, the accumulation time is controlled using the estimated speed of the subject at the accumulation center (the center time of accumulation) rather than the estimated speed of the subject at or near the timing when the release button is pressed. If the accumulation time is controlled according to the subject speed at the accumulation center rather than the subject speed at the start of accumulation, subject blurring can be more appropriately suppressed.

[0105] Fig. 19 is a diagram showing control of accumulation time according to the subject speed at the start of accumulation in the fourth embodiment. Fig. 19(a) is a flowchart for determining accumulation time, and Fig. 19(b) shows the relationship between the estimated subject speed and accumulation timing in accordance with the flowchart in Fig. 19(a).

[0106] In step S1901, the subject speed at any timing is estimated. This estimation can be performed by using the interpolation based on the estimated speed between two frames shown in Fig. 18(a) or the interpolation based on the subject acceleration shown in Fig. 18(b). This gives the subject estimated speed at timing t shown by the curve V in Fig. 19(b).

[0107] When the release button is pressed in step S1902, the timing to start accumulation is determined taking into account the release time lag. Next, in step S1903, accumulation begins.

[0108] In FIG. 19B, release occurs at timing T1901, accumulation starts at timing T1902, the accumulation time is determined based on the subject speed Vs at that time, and accumulation ends at timing T1903.

[0109] In this case, the subject velocities at timings T1902 and T1903 are Vs and Ve, respectively, resulting in a speed difference. Therefore, when the subject accelerates as shown in Fig. 19(b), subject blur may not be sufficiently suppressed under the shooting conditions (accumulation time) determined from the subject velocity at the start of accumulation.

[0110] Fig. 20 is a diagram showing the control of the accumulation time using the object speed at the accumulation center in this embodiment. Fig. 20(a) is a flowchart for determining the accumulation time, and Fig. 20(b) shows the relationship between the estimated object speed and accumulation timing when following the flowchart of Fig. 20(a).

[0111] In step S2001, the object speed at any timing is estimated. This estimation can be performed by using the interpolation based on the estimated speed between two frames shown in Fig. 18(a) or the interpolation based on the object acceleration shown in Fig. 18(b).

[0112] In step S2002, the accumulation time is determined based on the estimated speed of the subject for the timing t. Furthermore, based on the correspondence between the subject speed and the accumulation time, the estimated speed of the subject for the timing t is converted into the accumulation time for the timing t.

[0113] Next, in step S2003, the accumulation start timing for timing t is obtained from the accumulation time determined so that timing t is the accumulation center.

[0114] The control of the accumulation time using the subject speed at the center of accumulation according to the flowchart in FIG. 20(a) will be described in detail with reference to FIG. 20(b).

[0115] In step S2001, the subject speed at any given timing is estimated and interpolated, thereby obtaining the estimated subject speed for timing t shown by curve Y in FIG.

[0116] In step S2002, the accumulation time at the timing t is obtained from the estimated subject speed for the timing t.

[0117] In step S2003, the accumulation start timing and accumulation end timing are determined so that the accumulation time for timing t is symmetrical with respect to timing t. This results in the accumulation start timing based on the estimated subject speed at the accumulation center shown by curve X in Fig. 20(b) and the accumulation end timing based on the estimated subject speed at the accumulation center shown by curve Z.

[0118] In step S2004, when the accumulation start timing is determined by the release, the accumulation time is determined by the curves X and Z.

[0119] An example will be described in which a certain timing T is set as the center of accumulation. An accumulation time A is determined based on the estimated speed of the subject at timing T (step S2002). Since this timing T is set as the center of accumulation, the accumulation start time is T-(A / 2) and the accumulation end time is T+(A / 2) (step S2003).

[0120] As a result, in step S2004, if the release button is pressed at timing T2001 and accumulation starts at T-(A / 2), then if the accumulation time is A, control is based on the subject speed at the center of accumulation.

[0121] In other words, whereas the accumulation time was previously determined from the estimated speed of the subject, the estimated speed of the subject at timing t is converted to the accumulation start timing using the relationship between the estimated speed of the subject and the accumulation time so that the accumulation time is determined from the accumulation start timing.

[0122] As described above, according to this embodiment, the accumulation time can be controlled according to the subject speed at the accumulation center, making it possible to more appropriately suppress subject blur, etc. Note that the subject speed used for control may be switched between the speed at the start of accumulation, the speed at the accumulation center, and the speed at the end of accumulation according to the acceleration or deceleration of the subject.

[0123] Sixth embodiment The configuration of the imaging device of the sixth embodiment is similar to the configuration of the digital camera 100 of the first embodiment shown in FIG. 1, and therefore a description thereof will be omitted.

[0124] Fig. 21 is a block diagram showing a configuration of the estimation unit 108 according to the sixth embodiment shown in Fig. 1. The estimation unit 108 includes a speed estimation unit 2101, an estimation correction unit 2102, a specific subject detection unit 2111, a speed calculation unit 2112, a learning correction unit 2113, a learning model adjustment unit 2114, and a learning model storage unit 2121.

[0125] The speed estimation unit 2101 estimates and outputs the speed of the subject in the image signal at the time of imaging after a predetermined time by referring to the learning model stored in the learning model storage unit 2121 for one image signal output from the memory unit 111. The timing of imaging after the predetermined time is notified by the control unit 109.

[0126] This estimation of the subject's speed can be realized by using a learning model that is machine-learned by associating the subject in an input image with the speed of the subject's next movement using a known deep learning technique, etc. The learning model learns by associating one specific subject image with the speed of the specific subject after a predetermined time.

[0127] One specific subject image contains posture information of the specific subject, and for example, the learning model is learned by deep learning technology by associating posture information of the specific subject with the speed of the specific subject after a predetermined time. Therefore, even if there is a sudden movement, the speed of the sudden movement can be estimated by using an input image that shows a sign of the sudden movement in advance. The specific subject detection unit 2111, the speed calculation unit 2112, and the learning model adjustment unit 2114 are used for learning the learning model described later.

[0128] For example, when an image of a dog standing as shown in Fig. 3(a) is input to the estimation unit 108, the speed estimation unit 2101 outputs an estimated speed of 0 km / h. When an image of a dog running as shown in Fig. 3(b) is input to the speed estimation unit 2101, the speed estimation unit 2101 outputs an estimated speed of 30 km / h.

[0129] Estimation correction section 2102 corrects the estimated speed output from speed estimation section 2101 according to the size of the subject on the image plane in the input image. Specifically, if the size of the subject on the image plane is small, the speed on the image plane is corrected to be slower, and conversely, if the size of the subject on the image plane is large, the speed on the image plane is corrected to be faster.

[0130] Furthermore, the estimation correction unit 2102 may correct the estimated speed output from the speed estimation unit 2101 using the distance to the subject and the imaging magnification of the lens unit 101, instead of the size of the subject on the image plane. Furthermore, the estimated speed output from the speed estimation unit 2101 may be corrected using distance measurement information obtained by a known distance measurement technique.

[0131] The estimation correction unit 2102 sends the corrected estimated speed of the subject to the control unit 109. The control unit 109 selects a corresponding program diagram according to the estimated speed of the subject, and determines imaging conditions such as shutter speed, ISO sensitivity, and aperture based on an EV (Exposure value) obtained by the photometry unit 107. The control unit 109 determines the type of movement, such as non-moving, slow, medium, or fast, based on the estimated speed of the subject described above. Here, if the estimated speed of the subject is less than a threshold, the subject is treated as a non-moving subject.

[0132] Here, the program diagrams applied to the non-moving subject, the slow-moving subject, the medium-moving subject, and the fast-moving subject are similar to the program diagram of FIG. 4 shown in the first embodiment.

[0133] Specifically, Fig. 4(a) shows an example of a program diagram for a non-moving subject, Fig. 4(b) shows an example of a program diagram for a slow-moving subject, Fig. 4(c) shows an example of a program diagram for a medium-moving subject, and Fig. 4(d) shows an example of a program diagram for a fast-moving subject. The program diagrams in Fig. 4 and the method of selecting them are the same as those in the first embodiment, so a description thereof will be omitted.

[0134] Furthermore, in a P (program) mode in which the imaging device determines imaging conditions such as the shutter speed, ISO sensitivity, and aperture, so-called live view shooting, in which still image shooting is performed while an image output from the imaging element 105 is displayed on the display unit 114, is the same as the operation in the first embodiment shown in Fig. 5, and therefore a description thereof will be omitted. That is, in this embodiment as well, the estimation unit 108 estimates the subject speed using an image captured beforehand during live view shooting, and the control unit 109 selects and switches a program diagram for determining imaging conditions according to the estimated speed from the program diagram shown in Fig. 4.

[0135] Next, a description will be given of the learning of the learning model in the estimation unit 108. Fig. 22 is a diagram for explaining the learning of the learning model in an outline.

[0136] 22, information 9000 is information held in memory unit 111, and includes shooting time information (9011, 9012, ...) and images (9001, 9002, ...). The shooting time of image 9001 matches shooting time information 1 (9011), the shooting time of image 9002 matches shooting time information 2 (9012), the shooting time of image 9003 matches shooting time information 3 (9013), and the shooting time of image 9004 matches shooting time information 4 (9014).

[0137] Information 9020 is information held in the specific subject detection unit 2111, and includes information extracted from the position and size of a specific subject on the image plane. Position and size information 9021 corresponds to image 9001, position and size information 9022 corresponds to image 9002, position and size information 9023 corresponds to image 9003, and position and size information 9024 corresponds to image 9004.

[0138] Information 9030 is part of the information held in speed calculation unit 2112, and includes speed time information. Information 9040 is part of the information held in speed calculation unit 2112, and includes speed information. Speed ​​time information 9031 corresponds to speed information 9041, speed time information 9032 corresponds to speed information 9042, speed time information 9033 corresponds to speed information 9043, and speed time information 9034 corresponds to speed information 9044. The dashed lines in Fig. 22 are dashed lines that roughly show which information is calculated based on which information.

[0139] The learning method of the learning model will be described below with reference to FIG.

[0140] The memory unit 111 holds at least two images (9001, 9002, . . . ) captured at different times, together with their respective capture time information (9011, 9012, . . . ).

[0141] The specific subject detection unit 2111 reads images (9011, 9012, ...) from the memory unit 111, detects a specific subject (for example, a specific dog) registered in advance from the image, and identifies the detected position and size information (9021, 9022, ...). The position and size information of the identified subject is held for a predetermined number of frames.

[0142] The speed calculation unit 2112 calculates and stores the subject speed and the corresponding time (speed time information) from the position information of the specific subject read from the specific subject detection unit 2111 and the shooting time information read from the memory unit 111. Specifically, it reads two pieces of position information (9021, 9022) from the specific subject detection unit 2111 and calculates the amount of movement.

[0143] The time difference is calculated by reading out the shooting time information (9011, 9012) corresponding to the position information (9021, 9022) from the memory unit 111. The calculated amount of movement is divided by the calculated time difference to calculate and hold the speed 9041 of the specific subject at the average time 9031 of the shooting times 9011 and 9012.

[0144] The speed calculated above is the speed in a plane direction perpendicular to the straight line connecting the camera and the subject (hereinafter referred to as the angle of view direction). Note that the speed of the subject may be calculated by vector calculation with the speed in the angle of view direction by detecting multiple feature points (e.g., the eyes of a specific dog) in a specific subject for each image, calculating the speed in the direction of a straight line connecting the imaging device and the subject (hereinafter referred to as the normal direction) from the change in each feature point between images (e.g., the change in the length between the eyes of a specific dog), and then calculating the speed of the subject.

[0145] The learning correction unit 2113 corrects and retains the subject velocity output from the velocity calculation unit 2112 based on the size on the image plane of the specific subject read from the specific subject detection unit 2111, in order to make the subject velocity a velocity associated with the posture of the subject regardless of the size on the image plane of the subject of the image.

[0146] Specifically, if the size of the specific subject on the image plane is small, the input from the speed calculation unit 2112 is increased and held, and if the subject size on the image plane is large, the input from the speed calculation unit 2112 is decreased and held. Furthermore, the learning correction unit 2113 may correct the estimated speed read out from the speed calculation unit 2112 using the distance to the subject and the imaging magnification of the lens unit 101, instead of the size of the subject on the image plane. Furthermore, the estimated speed read out from the speed calculation unit 2112 may be corrected using the subject distance calculated using a known imaging plane distance measurement technique or the like.

[0147] By repeating the above speed calculation, it is possible to calculate a speed 9042 at an average time 9032 between the shooting times 9012 and 9013, a speed 9043 at an average time 9033 between the shooting times 9013 and 9014, and so on.

[0148] The learning model adjustment unit 2114 reads an image from the memory unit 111, and reads the speed after a predetermined delay time from the image capture time from the learning correction unit 2113. Then, the read image information is used as learning data, and the read speed is used as teacher data, and the learning model stored in the learning model storage unit 2121 is trained. For example, the image 9001 is used as learning data, and the speed information 9042 is used as teacher data.

[0149] By repeating the above operations, learning data can be created and learned to predict the speed after a specified delay time from the posture of a specific subject that has been registered in advance and is contained in an image.

[0150] In addition, although it has been described that the position and size information of the specific subject is stored in the specific subject detection unit 2111, the speed information and speed time information are stored in the speed calculation unit 2112, and the corrected speed information is stored in the learning correction unit 2113, these may also be stored collectively in the memory unit 111.

[0151] Furthermore, the learning model storage unit 2121 may have a plurality of learning models and may learn a plurality of the above-mentioned predetermined delay times. In this way, it is possible to predict velocities after a plurality of predetermined delay times from one image.

[0152] Also, the speed calculation unit 2112 may calculate the acceleration based on the speed time information (9031, 9032, . . . ) and the corresponding speed information (9041, 9042, . . . ) and learn the image and the acceleration in association with each other.

[0153] Specifically, an image-acceleration learning model is stored separately from the learning model in the learning model storage unit 2121. The speed calculation unit 2112 calculates and stores the acceleration of the subject by dividing the difference (difference information) between two pieces of speed information (e.g., speed information 9041, 9042) by the difference (difference information) between two corresponding pieces of speed time information (e.g., speed time information 9031, 9032).

[0154] The learning correction unit 2113 and the learning model adjustment unit 2114 are the same as in the case of learning by associating an image with a velocity. In this way, it is possible to predict the acceleration after a predetermined delay time from one image.

[0155] In addition, a general-purpose learning model (for example, a model learned about dogs in general) may be stored as the learning model at the time of shipment from the factory, and each user may create a learning model specialized for a specific subject by learning about the specific subject. In this way, even if learning about a specific subject is insufficient, it is possible to predict the speed after a predetermined delay time from a single image.

[0156] The learning model may be repeatedly learned while the power switch is on, but it is preferable to repeatedly learn the model when the shutter button is half-pressed and the instruction switch SW1 is on, or when the shutter button is fully pressed and the instruction switch SW2 is on. This increases the probability that the specific subject the user wants to photograph is included in the angle of view, and learning can be performed efficiently. Another example of the timing for learning the learning model may be when the eye sensor 115 is on, or for a predetermined time after a touch operation on the touch panel.

[0157] In addition, when the camera is moving a lot due to camera shake or the like, the speed of the subject may not be accurately determined, so if a signal from when the camera is moving a lot is used for learning, the learning of the learning model may become inaccurate. Therefore, when a signal indicating that the camera is moving a lot is output from the output of the acceleration sensor in the motion sensor 110, the learning of the learning model may be stopped.

[0158] As described above, by estimating the speed of the subject when imaging is performed after a predetermined time and selecting a corresponding program chart, it is possible to set imaging conditions that are less likely to cause subject blurring regardless of changes in the state of the subject.

[0159] In this embodiment, when performing panning, a program chart for panning is used. However, the operation when performing panning is similar to the operation shown in FIG. 7 of the first embodiment, and therefore the description will be omitted.

[0160] (Other embodiments) The present invention can also be realized by a process in which a program for realizing one or more functions of the above-mentioned 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) for realizing one or more functions.

[0161] The invention is not limited to the above-described embodiments, and various modifications and variations are possible without departing from the spirit and scope of the invention. Accordingly, the following claims are appended to apprise the public of the scope of the invention. [Explanation of symbols]

[0162] 105: imaging element, 106: signal processing circuit, 108: estimation unit, 109: control unit, 110: motion sensor, 201: speed estimation unit, 202: correction unit

Claims

1. An imaging means for imaging a subject that can move at a predetermined speed in a real space; an estimation means for estimating, from an image of the subject captured by the imaging means, a velocity of the subject at a time point when a subsequent image is captured, using a trained model created by machine learning that associates posture information of the specific subject with the velocity of the specific subject after a predetermined time; a control means for performing control to determine an aperture value, a shutter speed, and an ISO sensitivity as imaging conditions for capturing the subsequent images in the imaging means, based on the estimated speed of the subject estimated by the estimation means; An imaging device comprising:

2. 2. The imaging apparatus according to claim 1, wherein the estimation means estimates the speed of the subject at a time when the subsequent image is to be captured from an image of the subject captured by the imaging means in a live view operation.

3. 3. The imaging device according to claim 1, wherein the control means controls the imaging conditions by switching a program diagram for determining an aperture value, a shutter speed, and an ISO sensitivity for capturing the subsequent images.

4. 4. The imaging apparatus according to claim 1, further comprising a correction unit that corrects the estimated velocity in accordance with a size of the subject on the image plane.

5. 5. The imaging device according to claim 1, further comprising an angular velocity sensor that detects an angular velocity of the imaging device, and an acceleration sensor that detects acceleration, and the control means controls an imaging operation for capturing the subsequent images based further on outputs of the angular velocity sensor and the acceleration sensor.

6. 6. The imaging device according to claim 5, wherein the control means calculates a relative velocity between the subject and the imaging device based on the estimated velocity and a velocity of the imaging device calculated based on an output of the angular velocity sensor and an output of the acceleration sensor.

7. 7. The imaging device according to claim 6, wherein the control means determines that panning is being performed when the relative speed is less than a first threshold and the speed of the imaging device is equal to or greater than a second threshold.

8. 8. The imaging device according to claim 7, wherein when the control means determines that panning is being performed, the control means determines an aperture value, a shutter speed, and an ISO sensitivity for capturing the subsequent images by using a program chart for panning.

9. 2. The imaging apparatus according to claim 1, wherein the control means controls a frame rate of a live view based on the estimated speed.

10. 10. The imaging apparatus according to claim 9, wherein the control means controls so that a frame rate of the live view is higher when the estimated speed is fast than when the estimated speed is slow.

11. 2. The imaging apparatus according to claim 1, wherein the control means further switches a method for obtaining a high dynamic range signal based on the estimated speed.

12. 12. The imaging device according to claim 11, wherein the control means uses a gain switching method as a method for obtaining a high dynamic range signal when the estimated speed is equal to or greater than a third threshold, and uses an accumulation time switching method as a method for obtaining a high dynamic range signal when the estimated speed is less than the third threshold.

13. 13. The imaging apparatus according to claim 1, wherein the estimation means further estimates an acceleration of the subject.

14. 14. The imaging device according to claim 1, wherein the estimation means estimates a speed of the subject at a center time of an accumulation time of the imaging means, and the control means controls the imaging operation based on the estimated speed at the center time of the accumulation time.

15. The imaging device according to any one of claims 1 to 14, further comprising an extraction means for extracting a specific subject from at least two images taken by the imaging means at different times, and a calculation means for calculating a speed of the specific subject extracted by the extraction means, wherein the trained model further performs learning for estimating speed using the image of the specific subject extracted by the extraction means and the speed of the specific subject calculated by the calculation means.

16. The imaging device according to claim 15, wherein the calculation means calculates a velocity of the specific subject in a direction of an angle of view from difference information on the position of the specific subject extracted by the extraction means from the at least two images, calculates a velocity of the specific subject in a normal direction from movement amounts of a plurality of feature points of the specific subject, and calculates the velocity of the specific subject using the velocity in the direction of the angle of view and the velocity in the normal direction.

17. 17. The imaging apparatus according to claim 15, further comprising a second correction unit that corrects the velocity calculated by the calculation unit.

18. 18. The imaging apparatus according to claim 17, wherein the second correction means corrects the speed in accordance with a size of a subject on an image plane.

19. 18. The imaging apparatus according to claim 17, wherein the second correction means corrects the speed based on an imaging magnification of a lens used.

20. 18. The imaging apparatus according to claim 17, wherein the second correction means corrects the speed based on distance measurement information obtained by the imaging means.

21. 21. The imaging device according to claim 15, further comprising a shutter button, wherein the trained model further performs learning for estimating speed while the shutter button is half-pressed or fully pressed.

22. 21. The imaging device of claim 15, further comprising an electronic viewfinder and a proximity sensor, wherein the trained model further performs training for estimating velocity while the proximity sensor detects the proximity of an object to the electronic viewfinder.

23. The imaging device according to any one of claims 15 to 20, further comprising a touch panel, wherein the trained model further performs learning for estimating speed for a certain period of time after a touch action on the touch panel is detected.

24. The imaging device according to claim 15 , wherein the trained model does not perform training for estimating a speed when the movement of the imaging device is large.

25. 25. The imaging apparatus according to claim 1, wherein the estimation means further comprises a second trained model for estimating an acceleration of the subject after a predetermined time.

26. A method for controlling an imaging device having an imaging means for imaging a subject that can move in a real space at a predetermined speed, comprising: an estimation step of estimating, from the image of the subject captured by the imaging means, the velocity of the subject at the time of capturing a subsequent image, using a trained model created by machine learning that associates posture information of the specific subject with the velocity of the specific subject after a predetermined time; a control step of performing control to determine an aperture value, a shutter speed, and an ISO sensitivity as imaging conditions for capturing the subsequent images by the imaging means, based on the estimated speed of the subject estimated in the estimation step; 13. A method for controlling an imaging apparatus comprising:

27. A program for causing a computer to execute each step of the control method according to claim 26.

28. A computer-readable storage medium storing a program for causing a computer to execute each step of the control method according to claim 26.

Citation Information

Patent Citations

  • Autofocusing device for camera

    JP1996054557A

  • Main object detector

    JP2003279848A

  • Imaging device and lens barrel

    JP2008206021A

  • Camera exposure optimization technology that takes camera and scene movement into consideration.

    JP2009514435A

  • Imaging device and imaging method

    JP4379918B2