Automatic focus control device, operation method for automatic focus control device, operation program for automatic focus control device, and imaging apparatus
The automatic focus control device addresses image stabilization issues by thinning out detection signals and using phase difference detection pixels and machine learning to quickly and accurately adjust focus, reducing display shifts and improving image quality during subject movement.
Patent Information
- Application Number
- JP2023051549
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-28
- Publication Date
- 2024-10-10
AI Technical Summary
Existing image stabilization systems in autofocus control devices fail to effectively suppress shifts in the display of target areas due to subject movement during image capture, leading to inaccuracies and delays in focus adjustment.
An automatic focus control device that thins out and reads detection signals first, followed by the remaining image signals, utilizing phase difference detection pixels and machine learning models to quickly and accurately detect target areas, allowing for synchronized display updates of the entire and target area images.
This approach reduces display shifts caused by subject movement, enhances focus accuracy, and ensures timely and high-quality image rendering, particularly in continuous shooting and live view modes.
Smart Images

Figure 2024140417000001_ABST
Abstract
Description
[Technical field]
[0001] The technology disclosed herein relates to an autofocus control device, an operation method for an autofocus control device, an operation program for an autofocus control device, and an imaging device. [Background technology]
[0002] Patent Document 1 describes an electronic camera including an image sensor that converts a subject image into an image signal by photoelectric conversion, a display means having a display area that displays an image based on the image signal, and a focus control means that performs autofocus control based on the image signal. The image sensor has a first mode for reading out image signals corresponding to a predetermined number of pixels among all pixels in the image sensor, and a second mode for reading out multiple images at high speed by reading out image signals corresponding to a number of pixels less than the predetermined number of pixels among all pixels. The focus control means performs autofocus control based on the image signal read out in the second mode. When autofocus control is being performed, the display means updates and displays a composite image of a first image based on the image signal read out in the first mode before switching to the second mode and a second image based on the image signal read out in the second mode. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2004-023747 A Summary of the Invention
[0004] One embodiment of the technology disclosed herein provides an autofocus control device that is capable of suppressing the display shift of an image of a target area caused by the movement of a subject when displaying an image of the target area of autofocus control, an operating method of the autofocus control device, an operating program of the autofocus control device, and an imaging device. [Means for solving the problem]
[0005] The autofocus control device disclosed herein is equipped with a processor, which controls the read operation of the image signal from the image sensor, detects a target area for autofocus control, performs autofocus control based on the target area, and in the read operation, first causes a thinning-out read-out of the detection signal, which is the image signal for detecting the target area, and after the thinning-out read-out is completed, causes the remaining image signal to be read.
[0006] The processor preferably uses the detection signal to perform auto focus control.
[0007] It is preferable that the image sensor has a phase difference detection pixel for detecting a phase difference of subject light, and the processor performs autofocus control using a calculation signal output from the phase difference detection pixel.
[0008] It is preferable that the processor detects the target region from the detection signal using a machine learning model trained on an image output from an imaging element having phase difference detection pixels.
[0009] The operating method of the autofocus control device disclosed herein includes controlling the read operation of an image signal from an image sensor, detecting a target area for autofocus control, performing autofocus control based on the target area, and, in the read operation, first reading out a detection signal, which is an image signal for detecting the target area, and reading out the remaining image signal after the thinning readout is completed.
[0010] The operating program of the autofocus control device disclosed herein causes a computer to execute processes including controlling the read operation of an image signal from an image sensor, detecting a target area for autofocus control, performing autofocus control based on the target area, and, in the read operation, first causing a thinning-out read-out of a detection signal, which is an image signal for detecting the target area, and then reading out the remaining image signal after the thinning-out read-out is completed.
[0011] The imaging device disclosed herein comprises an imaging element, an imaging control unit that controls the read operation of an image signal from the imaging element, a detection unit that detects a target area for autofocus control, a focus adjustment unit that performs autofocus control based on the target area, an image generation unit that generates an image of the target area from an image signal, and a display control unit that controls the display of the image of the target area on a display unit, and in the read operation, the imaging control unit first causes the detection signal, which is an image signal used by the detection unit to detect the target area, to be thinned out and read out, and after the thinned out readout is completed, causes the remaining image signal to be read out.
[0012] It is preferable that the display control unit performs control to display the image of the target region on the display unit after the thinning readout is completed and before the readout of the remaining image signals is completed.
[0013] It is preferable that the image generating section generates an entire image of the subject from the image signal, and the display control section controls the display of the image of the target area and the entire image together on the display section while updating the display.
[0014] It is preferable that the imaging control unit performs thinning readout while a live view image is being displayed.
[0015] The image generator preferably generates an image of at least the target area from the remaining image signals.
[0016] It is preferable that the imaging control unit performs thinning readout while capturing a moving image.
[0017] The image generator preferably generates at least the entire image from the remaining image signals.
[0018] It is preferable that the display control unit synchronizes the timing of updating the display of the image of the target area and the entire image.
[0019] It is preferable that the display control unit starts displaying or updating the image of the target area as soon as the detection unit detects the target area based on the detection signal, without waiting for the timing to update the display of the entire image.
[0020] It is preferable that the display control unit keep the time lag from when the detection unit finishes detecting the target region to when the display of the image of the target region is started or updated to within a certain period of time.
[0021] It is preferable that the camera has a continuous shooting mode in which still images are continuously shot at a preset shooting interval, the imaging control unit causes the detection signal to be thinned out at the start of the readout operation of the image signal of the still image shot in the continuous shooting mode, and after the thinned out readout is completed, causes the remaining image signal of the still image to be read, the image generation unit generates an image of the target area from the image signal of the still image, and the display control unit updates the display of the overall image between shooting two consecutive still images, and displays only the image generated from the image signal of the still image on the display unit without updating the image of the target area.
[0022] It is preferable that the focus adjustment section performs automatic focus control using the detection signal.
[0023] It is preferable that the imaging element has a phase difference detection pixel for detecting a phase difference of subject light, and the focus adjustment section performs automatic focus control using a calculation signal output from the phase difference detection pixel.
[0024] It is preferable that the detection section detects the target region from the detection signal using a machine learning model trained on an image output from an imaging element having phase difference detection pixels. [Brief description of the drawings]
[0025] [Figure 1] FIG. 1 is a diagram illustrating a configuration of an imaging device. [Diagram 2] FIG. 2 is a diagram showing the arrangement of pixels of an imaging element. [Diagram 3] FIG. 2 is a diagram showing a configuration of a normal pixel. [Figure 4] FIG. 4 is a diagram illustrating a configuration of a first phase difference detection pixel. [Diagram 5] FIG. 13 is a diagram illustrating a configuration of a second phase difference detection pixel. [Figure 6]4 is a graph showing a phase difference between a first calculation signal and a second calculation signal. [Figure 7] 11A and 11B are diagrams showing setting information for autofocus control, and a composite image of an entire image of a subject and a region image of a target region for autofocus control. [Figure 8] FIG. 2 is a diagram illustrating a detailed configuration of a control unit. [Figure 9] FIG. 2 is a block diagram showing a processing unit of a CPU. [Figure 10] 11 is a diagram showing the flow of accumulation operations, readout operations, detection of a target area, autofocus control, display of an entire image, and display of a region image while a live view image is being displayed. [Figure 11] 11A and 11B are diagrams illustrating a readout operation of a detection signal. [Figure 12] 13A and 13B are diagrams illustrating the readout operation of the remaining image signals. [Figure 13] FIG. 11 is a diagram showing details of a detection result. [Figure 14] FIG. 13 is a diagram showing an overview of processing in a learning phase of a human pupil detection model. [Figure 15] FIG. 4 is a diagram illustrating the process of a focus calculation unit. [Figure 16] FIG. 13 is a diagram illustrating a method for generating a composite image. [Figure 17] 13 is a flowchart showing a processing procedure of a CPU. [Figure 18] 11 is a diagram showing a flow of accumulation operations, readout operations, detection of a target area, autofocus control, display of an entire image, and display of a region image while a conventional live view image is being displayed. [Figure 19] FIG. 13 is a diagram showing the flow of accumulation operations, readout operations, detection of a target area, autofocus control, display of an entire image, and display of a region image during shooting of a moving image. [Figure 20] FIG. 13 is a diagram showing a method for generating a composite image while a moving image is being captured. [Figure 21] FIG. 13 is a diagram showing the flow of accumulation operations, readout operations, detection of a target area, autofocus control, display of an entire image, and display of a region image while a live view image is being displayed in the third embodiment. [Figure 22]FIG. 13 is a diagram illustrating the processing of a focus calculation unit according to the fourth embodiment. [Figure 23] 11 is a diagram showing the flow of a storage operation, a read operation, detection of a target area, automatic focus control, display of an entire image, and display of a region image in a continuous shooting mode. [Figure 24] 13A and 13B are diagrams illustrating another example of how to read out the remaining image signals. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0026] [First embodiment] As an example, as shown in FIG. 1, the imaging device 10 is, for example, a mirrorless single-lens digital camera, and includes an imaging optical system 11 and an imaging element 12. The imaging optical system 11 has a plurality of types of lenses for forming an image of subject light on the imaging element 12. Specifically, the imaging optical system 11 has an objective lens 13, a focus lens 14, and a zoom lens 15. These lenses 13 to 15 are arranged in this order from the object side (subject side) toward the image formation side (image element 12 side). Although simplified in FIG. 1, each of the lenses 13 to 15 is actually a lens group in which a plurality of lenses are combined. The imaging optical system 11 also has an aperture 16. The aperture 16 is arranged on the most image formation side of the imaging optical system 11. The imaging device 10 may be of a type in which a lens barrel in which the imaging optical system 11 and the like are built and a main body in which the image element 12 and the like are built are integrated, or may be of a so-called lens exchange type in which the lens barrel and the main body are separate.
[0027] The focus lens 14 is provided with a focus lens drive mechanism 17, the zoom lens 15 with a zoom lens drive mechanism 18, and the aperture 16 with an aperture drive mechanism 19. The focus lens drive mechanism 17 includes a focus cam ring that holds the focus lens 14 and has a cam groove formed on its outer periphery, a focus motor that moves the focus cam ring along the optical axis OA by rotating the focus cam ring around the optical axis OA, and a driver for the focus motor. Similarly, the zoom lens drive mechanism 18 includes a zoom cam ring that holds the zoom lens 15 and has a cam groove formed on its outer periphery, a zoom motor that moves the zoom cam ring along the optical axis OA by rotating the zoom cam ring around the optical axis OA, and a driver for the zoom motor. The aperture drive mechanism 19 includes a aperture motor that opens and closes a plurality of aperture blades of the aperture 16, and a driver for the aperture motor.
[0028] The focus motor, zoom motor, and aperture motor are, for example, stepping motors. In this case, the positions of focus lens 14 and zoom lens 15 on the optical axis OA and the opening degree of aperture 16 can be derived from the drive amounts of the focus motor, zoom motor, and aperture motor. Note that instead of the drive amounts of the focus motor and zoom motor, position sensors may be provided to detect the positions of focus lens 14 and zoom lens 15.
[0029] Electrical components such as motors or drivers of each of the drive mechanisms 17-19 are connected to the control unit 20. The electrical components of each of the drive mechanisms 17-19 are driven under the control of the control unit 20. More specifically, the control unit 20 issues a drive signal according to an instruction from a user input via the operation unit 21 to drive the electrical components of each of the drive mechanisms 17-19. For example, when an instruction to change the angle of view to the telephoto side is input via the angle of view change switch of the operation unit 21, the control unit 20 issues a drive signal to a driver of a zoom motor of the zoom lens drive mechanism 18 to move the zoom lens 15 to the telephoto side.
[0030] The focus motor, zoom motor, and diaphragm motor output their drive amounts to the control unit 20. The control unit 20 derives the positions of the focus lens 14 and zoom lens 15 on the optical axis OA and the opening degree of the diaphragm 16 from the drive amounts.
[0031] The imaging element 12 is, for example, a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor, and has an imaging surface 42 (see FIG. 2) that captures subject light. The imaging element 12 is disposed so that the center of the imaging surface 42 coincides with the optical axis OA, and the imaging surface 42 is perpendicular to the optical axis OA. Note that "coincidence" and "orthogonality" here refer to coincidence and orthogonality in the sense that includes an error that is generally acceptable in the technical field to which the technology of the present disclosure belongs, in addition to perfect coincidence and orthogonality.
[0032] An imaging element driver 22 is connected to the imaging element 12. The imaging element driver 22 is connected to the control unit 20. Under the control of the control unit 20, the imaging element driver 22 controls the timing at which the imaging element 12 captures the subject light by supplying a vertical scanning signal and a horizontal scanning signal to the imaging element 12.
[0033] A shutter 23 is provided between the imaging optical system 11 and the imaging element 12. The shutter 23 is, for example, a focal plane shutter having a front curtain and a rear curtain. A shutter drive mechanism 24 is connected to the shutter 23. The shutter drive mechanism 24 includes an electromagnet that holds the front curtain and the rear curtain and releases the hold to cause the front curtain and the rear curtain to run, and a driver for the electromagnet. The shutter drive mechanism 24 is driven under the control of the control unit 20 to open and close the shutter 23.
[0034] The control unit 20 is connected to each unit, such as an image input controller 25, an image memory 26, and an image processing unit 27, through a bus line 28. In addition, a VRAM (Video Random Access Memory) 29, a display control unit 30, a media controller 31, and an instruction receiving unit 32 are also connected to the bus line 28. Although not shown in the figure, the bus line 28 is also connected to a strobe drive control unit that controls the drive of a strobe device, an external communication I / F (Interface) that communicates with an external device via a connection terminal such as a USB (Universal Serial Bus) terminal, a wireless communication I / F, etc.
[0035] Image data obtained by capturing an image of the subject light is input to the image input controller 25 from the imaging element 12. The image input controller 25 outputs the image data to the image memory 26. The image memory 26 is, for example, a Synchronous Dynamic Random Access Memory (SDRAM), and temporarily stores the image data.
[0036] The image processing unit 27 reads unprocessed image data from the image memory 26. The image processing unit 27 performs various image processing on the image data. The various image processing includes, for example, offset correction processing, sensitivity correction processing, pixel interpolation processing, white balance correction processing, gamma correction processing, demosaic processing, luminance signal and color difference signal generation processing, contour enhancement processing, color correction processing, and the like. The image processing unit 27 writes the image data after the various image processing back to the image memory 26. The image processing unit 27 is an example of an "image generation unit" according to the technology of the present disclosure.
[0037] The VRAM 29 receives image data after various image processes, which is to be displayed as a live view image (also called a through image), from the image memory 26. The VRAM 29 has an area for storing image data for two consecutive frames. The image data stored in the VRAM 29 is sequentially rewritten with new image data. The VRAM 29 sequentially outputs the newer image data of the two consecutive frames of image data to the display control unit 30.
[0038] The display control unit 30 functions as a so-called video encoder, converting image data from the VRAM 29 into video data and outputting it to either the finder monitor 33 or the rear monitor 34. This allows the user to view a live view image through either the finder monitor 33 or the rear monitor 34. The display frame rate of the live view image is, for example, 60 fps (frames per second). The finder monitor 33 and the rear monitor 34 are examples of a "display unit" according to the technology of the present disclosure. Note that, hereinafter, the finder monitor 33 and the rear monitor 34 may be collectively referred to as a display unit.
[0039] Whether the video data is to be output to the viewfinder monitor 33 or the rear monitor 34 is determined, for example, as follows. That is, an pupil detection sensor is provided in the viewfinder. Then, when the pupil detection sensor detects that the user is looking through the viewfinder, the video data is output to the viewfinder monitor 33. On the other hand, when the pupil detection sensor detects that the user is not looking through the viewfinder, the video data is output to the rear monitor 34.
[0040] When an instruction to start shooting a still image or a moving image is issued by fully pressing the release button on the operation unit 21, the image processing unit 27 performs a compression process on the image data in the image memory 26. In the case of a still image, the image processing unit 27 performs a compression process on the image data in, for example, the Joint Photographic Experts Group (JPEG) format. In the case of a moving image, the image processing unit 27 performs a compression process on the image data in, for example, the Moving Picture Experts Group (MPEG) format. The image processing unit 27 outputs the image data after the compression process to the media controller 31.
[0041] The media controller 31 records the compressed image data from the image processing unit 27 on a memory card 35. The memory card 35 is detachably attached to a memory card slot (not shown).
[0042] When the image playback mode is selected via the mode changeover switch of the operation unit 21, the media controller 31 reads image data from the memory card 35 and outputs it to the image processing unit 27. The image processing unit 27 performs decompression processing on the image data from the memory card 35. The decompressed image data is output to the display control unit 30. The display control unit 30 converts the image data into video data and outputs it to the rear monitor 34. This allows the user to view the played back image through the rear monitor 34.
[0043] The instruction receiving unit 32 receives various operation instructions input by the user via the operation unit 21 and a touch panel 36 provided integrally with the rear monitor 34. The instruction receiving unit 32 outputs the received various operation instructions to the control unit 20 via the bus line 28.
[0044] As described above, the operation unit 21 includes a view angle change switch, a release button, and a mode change switch. The release button is a two-stage push button that can be pressed halfway or fully. Pressing the release button halfway issues an instruction to prepare for shooting a still image or a video, and pressing it fully issues an instruction to start shooting a still image or a video. In addition to these, the operation unit 21 includes a menu button for displaying various setting menus on the rear monitor 34, a cross key used for setting numerical values and switching between options, and a confirmation button operated when confirming settings. The touch panel 36 is superimposed on the display surface of the rear monitor 34. The touch panel 36 recognizes various operation instructions from the user by detecting contact with a dedicated indicator such as a user's finger or a stylus pen.
[0045] Modes that can be switched by the mode switch include a still image shooting mode, a video shooting mode, an image playback mode, and a setting mode. The still image shooting modes include not only a normal shooting mode in which one still image is shot, but also a continuous shooting mode in which still images are shot continuously at a predetermined shooting interval (for example, a frame rate of 5 fps to 10 fps). The continuous shooting mode is activated, for example, when the release button is pressed all the way down for a predetermined time or more (for example, one second or more). The continuous shooting mode ends when the release button is released from the fully pressed state.
[0046] As an example, as shown in Fig. 2, the image sensor 12 is provided with a photoelectric conversion unit 40. The photoelectric conversion unit 40 is composed of a plurality of pixels 41 arranged two-dimensionally along the X direction and the Y direction. The plurality of pixels 41 form an image pickup surface 42. As is well known, the pixels 41 are composed of a microlens 45, a color filter 46, and a photoelectric conversion element 47 such as a photodiode (see Figs. 3 to 5 for all). Note that the X direction and the Y direction are the horizontal direction and the vertical direction when the bottom surface of the image pickup device 10 is placed on a horizontal surface.
[0047] Scanning lines parallel to the X direction are wired between the rows of the pixels 41. Signal lines parallel to the Y direction are wired between the columns of the pixels 41. The pixels 41 (photoelectric conversion elements 47) are connected to the signal lines via amplifiers and switches. The switches are also connected to the scanning lines. In the case of a storage operation in which a signal charge corresponding to the subject light is stored in the pixels 41 (photoelectric conversion elements 47), an off signal is supplied as a vertical scanning signal through the scanning lines to turn off the switches. In the case of a read operation in which an image signal (voltage signal) 43 corresponding to the signal charge is read from the pixels 41 (photoelectric conversion elements 47), an on signal is supplied as a vertical scanning signal through the scanning lines to turn on the switches. The ends of the signal lines are connected to a CDS (Correlated Double Sampling) circuit and an ADC (Analog to Digital Converter) circuit. The CDS circuit performs correlated double sampling on the image signal 43 input through the signal line. The ADC circuit converts the image signal 43 after correlated double sampling into a digital image signal 43.
[0048] Depending on the type of color filter 46, the pixels 41 are divided into three types: green pixels (indicated as "G" in FIG. 2) sensitive to light in the green wavelength band, red pixels (indicated as "R" in FIG. 2) sensitive to light in the red wavelength band, and blue pixels (indicated as "B" in FIG. 2) sensitive to light in the blue wavelength band. The three types of pixels 41 are regularly arranged in a predetermined array. As the predetermined array, a so-called Bayer array is exemplified here, in which two green pixels, one blue pixel, and one red pixel are arranged in a 2×2 pixel matrix.
[0049] The pixels 41 include normal pixels 41N and phase difference detection pixels 41P. The phase difference detection pixels 41P further include first phase difference detection pixels 411P and second phase difference detection pixels 412P. The normal pixels 41N include three types of pixels, namely, green pixels, blue pixels, and red pixels, but the phase difference detection pixels 41P include only green pixels.
[0050] The phase difference detection pixels 41P are arranged at predetermined intervals in the X direction and the Y direction. In FIG. 2, the phase difference detection pixels 41P are arranged at intervals of 5 pixels in the X direction and 2 pixels in the Y direction. The phase difference detection pixels 41P are arranged so that the first phase difference detection pixel 411P and the second phase difference detection pixel 412P alternate in the X direction and the Y direction. For example, when looking at the fourth row, the phase difference detection pixels 41P are arranged from left to right in the order of the second phase difference detection pixel 412P, the first phase difference detection pixel 411P, .... For example, when looking at the tenth column, the phase difference detection pixels 41P are arranged from top to bottom in the order of the second phase difference detection pixel 412P, the first phase difference detection pixel 411P, the second phase difference detection pixel 412P, the first phase difference detection pixel 411P, .... The first phase difference detection pixel 411P and the second phase difference detection pixel 412P adjacent to each other in the X direction and the Y direction configure one pair for detecting the phase difference α (see FIG. 6).
[0051] As an example, as shown in FIGS. 3 to 5, a normal pixel 41N, a first phase difference detection pixel 411P, and a second phase difference detection pixel 412P have the same basic configuration, and are composed of a microlens 45, a color filter 46, and a photoelectric conversion element 47 arranged in this order from the object side.
[0052] 3, the photoelectric conversion element 47 of the normal pixel 41N outputs an image generation signal 43N corresponding to the subject light collected by the microlens 45 and transmitted through the color filter 46 as the image signal 43. The image generation signal 43N is stored in the image memory 26 as a part of the image data.
[0053] 4 and 5, a light shielding member 49 is disposed between the color filter 46 and the photoelectric conversion element 47 of the first phase difference detection pixel 411P and the second phase difference detection pixel 412P. This light shielding member 49 is not disposed in the normal pixel 41N. The light shielding member 49 of the first phase difference detection pixel 411P shields the right half of the photoelectric conversion element 47 when viewed from the object side. In contrast, the light shielding member 49 of the second phase difference detection pixel 412P shields the left half of the photoelectric conversion element 47 when viewed from the object side.
[0054] The photoelectric conversion element 47 of the first phase difference detection pixel 411P outputs a first calculation signal 431P corresponding to the subject light that is collected by the microlens 45, transmitted through the color filter 46, and the right half of which is shielded by the light shielding member 49, as the image signal 43. On the other hand, the photoelectric conversion element 47 of the second phase difference detection pixel 412P outputs a second calculation signal 432P corresponding to the subject light that is collected by the microlens 45, transmitted through the color filter 46, and the left half of which is shielded by the light shielding member 49, as the image signal 43. The first calculation signal 431P and the second calculation signal 432P are stored in the image memory 26 as part of the image data, like the image generation signal 43N. The first calculation signal 431P and the second calculation signal 432P are examples of the "calculation signal" of the present disclosure. In the following, unless there is a particular need to distinguish between them, the first calculation signal 431P and the second calculation signal 432P will be collectively referred to as the calculation signal 43P.
[0055] 6, a phase difference α appears between a first calculation signal 431P and a second calculation signal 432P output from a first phase difference detection pixel 411P and a second phase difference detection pixel 412P adjacent to each other in the X direction and the Y direction. This phase difference α indicates in which direction and by how much the focus lens 14 needs to be moved to reach the in-focus position. The imaging device 10 calculates the in-focus position of the focus lens 14 based on the phase difference α (hereinafter referred to as focusing calculation), and performs autofocus control to automatically move the focus lens 14 to the calculated in-focus position.
[0056] The image generation signal 43N is used to generate an image such as a live view image, as the name suggests. On the other hand, the calculation signal 43P is used only to calculate the phase difference α, and is not used to generate an image. Therefore, in the pixel interpolation process, the image processing unit 27 uses the image generation signal 43N of the normal pixels 41N surrounding the phase difference detection pixel 41P to interpolate the pixel value of the phase difference detection pixel 41P.
[0057] 7 as an example, a user inputs setting information 50 for autofocus control via operation unit 21. Setting information 50 includes a target area for autofocus control, and information on whether or not an image of the target area (hereinafter referred to as area image) 53 is to be displayed as a live view image together with an entire image 52 of a subject. The target area includes a rectangular area surrounding the pupils PP of a person as shown in the figure, as well as areas surrounding a person's face, a person's torso, an animal's pupils, an animal's face, an animal's torso, the front of a vehicle such as an automobile, a railroad car, or an airplane, and the torso of the vehicle.
[0058] Here, the pupil of a person or animal refers to the pupil, or the black part of the eye. The face of a person or animal refers to the part having the forehead, cheeks, chin, eyes, nose, mouth, ears, etc. The torso of a person or animal refers to the part excluding the head, neck, limbs, and tail. The front of a vehicle refers to the front body of an automobile, the part of the leading car having the destination indicator, front window, headlights, etc. of a railway car, and the nose part having the radome, front window, etc. of an airplane. The fuselage of a vehicle refers to the entire body excluding the wheels of an automobile, the entire body excluding the wheels of a railway car, regardless of whether it is the leading car, middle car, or last car, and the entire body excluding the front, main wings, tail, etc. of an airplane.
[0059] The instruction receiving unit 32 receives the setting information 50. The instruction receiving unit 32 outputs the setting information 50 to the control unit 20, the image processing unit 27, and the display control unit 30. The control unit 20 detects a target area of the setting information 50 (here, a rectangular area surrounding the pupil PP of the person) and performs automatic focus control to focus on the detected target area.
[0060] When the setting is such that the area image 53 is not displayed, the image processing unit 27 generates only the whole image 52. Then, the display control unit 30 performs control to display only the whole image 52 as a live view image on the display unit. On the other hand, when the setting is such that the area image 53 is displayed as shown in the figure, the image processing unit 27 generates a composite image 51 shown below the arrow. The composite image 51 is a so-called picture-in-picture image in which the area image 53 is arranged at the lower right of the whole image 52 of the subject. In this case, the display control unit 30 performs control to display the composite image 51 as a live view image on the display unit. In addition, the display control unit 30 displays a frame 54 indicating the target area on the whole image 52. The display size of the area image 53 is several times (for example, four times) the frame 54. In the following, unless otherwise specified, a case will be described in which the target area is a rectangular area surrounding the pupil PP of a person and the area image 53 is displayed.
[0061] 8, the control unit 20 includes a storage 55, a CPU (Central Processing Unit) 56, and a memory 57. The storage 55, the CPU 56, and the memory 57 are interconnected via a bus line 58. The control unit 20 is an example of an "autofocus control device" and a "computer" according to the techniques of the present disclosure.
[0062] The storage 55 is a non-volatile storage device such as an EEPROM (Electrically Erasable Programmable Read-Only Memory). The storage 55 stores various programs and various data associated with the programs. Instead of the EEPROM, the storage 55 may be a Ferroelectric Random Access Memory (FeRAM) or a Magnetoresistive Random Access Memory (MRAM).
[0063] The memory 57 is a work memory for the CPU 56 to execute processing. The CPU 56 loads a program stored in the storage 55 into the memory 57 and executes processing according to the program. In this way, the CPU 56 comprehensively controls each unit of the imaging device 10. The CPU 56 is an example of a "processor" according to the technology of the present disclosure. The memory 57 may be built into the CPU 56.
[0064] 9, an operation program 65 is stored in the storage 55. The operation program 65 is a program for causing the CPU 56 to perform autofocus control and the like. In other words, the operation program 65 is an example of an "operation program for an autofocus control device" according to the technology of the present disclosure.
[0065] In addition to the operating program 65, the storage 55 also stores a detection model group 66. The detection model group 66 is a collection of multiple machine learning models for detecting each of multiple target regions, and includes a human pupil detection model 67 for detecting a rectangular region surrounding a person's pupil PP as a target region. A machine learning model such as the human pupil detection model 67 is constructed by, for example, a convolutional neural network.
[0066] When the operating program 65 is started, the CPU 56, in cooperation with the memory 57 etc., functions as an imaging control unit 70, a detection unit 71, and a focus adjustment unit 72. The focus adjustment unit 72 includes a focus calculation unit 73 and a focus lens drive control unit 74.
[0067] The imaging control unit 70 controls the driving of the imaging element 12 via the imaging element driver 22 .
[0068] The detection unit 71 reads out the detection signal 43D from the image memory 26. The detection signal 43D is an image signal 43 for detecting a target area. The detection signal 43D can be treated as two-dimensional image data. The detection unit 71 detects the target area from the detection signal 43D using a machine learning model corresponding to the target area of the setting information 50, among the multiple machine learning models in the detection model group 66. The detection unit 71 outputs a detection result 75 of the target area to the focus adjustment unit 72.
[0069] The focus calculation unit 73 of the focus adjustment unit 72 reads out the calculation signal 43P from the image memory 26. Specifically, the calculation signal 43P is data in which a plurality of first calculation signals 431P output from the first phase difference detection pixels 411P are two-dimensionally arranged in the X direction and the Y direction following the arrangement of the first phase difference detection pixels 411P, and data in which a plurality of second calculation signals 432P output from the second phase difference detection pixels 412P are two-dimensionally arranged in the X direction and the Y direction following the arrangement of the second phase difference detection pixels 412P. For this reason, the calculation signal 43P can be treated as two-dimensional image data, similar to the detection signal 43D.
[0070] 6 from the calculation signal 43P. The focus calculation unit 73 calculates the focus position of the focus lens 14 based on the phase difference α. The focus calculation unit 73 outputs a calculation result 76 of the focus position of the focus lens 14 to the focus lens drive control unit 74. Note that since the method of calculating the focus position of the focus lens 14 based on the phase difference α is well known, a detailed description thereof will be omitted here.
[0071] Focus lens drive control unit 74 controls the drive of focus lens drive mechanism 17 and therefore focus lens 14. Specifically, focus lens drive control unit 74 moves focus lens 14 to the in-focus position of calculation result 76 via focus lens drive mechanism 17. Note that if the current position of focus lens 14 and the in-focus position of calculation result 76 are the same, focus lens drive control unit 74 naturally does nothing and focus lens 14 is not moved.
[0072] As an example, as shown in Fig. 10, when the release button is pressed halfway in still image shooting mode and a shooting preparation instruction for a still image is received by the instruction receiving unit 32, the imaging control unit 70 repeats accumulation and readout operations at a predetermined frame rate (e.g., 60 fps). In the readout operation for each frame, the imaging control unit 70 first causes the detection signal 43D to be thinned and read out. Hereinafter, this readout operation for thinning and reading out the detection signal 43D is referred to as readout operation A. Note that the numbers in Fig. 10 indicate the frame numbers of the image data after the shooting preparation instruction is issued. The same applies to the subsequent Fig. 18 and the like.
[0073] After completion of the read operation A, the imaging control unit 70 reads out the remaining image signal (hereinafter referred to as the remaining image signal) 43R (see FIG. 12). Hereinafter, the read operation for reading out the remaining image signal 43R will be referred to as the read operation B.
[0074] As soon as read operation A is completed, detection unit 71 starts detecting the target area based on detection signal 43D obtained in read operation A. The processing time required for detecting this target area may be longer than the time required for the accumulation operation of one frame. For this reason, detection unit 71 detects the target area every other frame.
[0075] The focus adjustment unit 72 performs automatic focus control based on the calculation signal 43P obtained in the readout operation A and the readout operation B. The focus adjustment unit 72 performs automatic focus control every other frame, similar to the detection of the target region by the detection unit 71.
[0076] The display control unit 30 sequentially updates the display of the whole image 52 at a predetermined frame rate. Furthermore, the display control unit 30 starts live view display of the region image 53 after the end of read operation B2 of the second frame (at the start of the accumulation operation of the fourth frame) following the end of detection of the target region of the first frame. Then, the display control unit 30 updates the display of the region image 53. After the end of read operation A (e.g., read operations A3, A5, A7, etc.), the display control unit 30 displays the region image 53 before the end of read operation B (e.g., read operations B3, B5, B7, etc.).
[0077] The display control unit 30 also synchronizes the display update timing of the entire image 52 and the area image 53. Synchronizing the display update timing of the entire image 52 and the area image 53 means that the switching of the display of the entire image 52 from the previous frame to the current frame and the switching of the display of the area image 53 from the previous frame to the current frame are performed at the same timing. The terms "synchronized" and "same" used here refer to complete synchronization and sameness, as well as synchronization and sameness that include an error generally permitted in the technical field to which the technology of the present disclosure belongs. Note that the time T1 indicates a time lag from when the detection unit 71 finishes detecting the target area to when the display of the area image 53 is started or updated.
[0078] The display control unit 30 continues to display the region image 53 corresponding to the previous target region detection result 75 until the next target region detection is completed. That is, the whole image 52 is updated for each frame, whereas the region image 53 is updated after the same image is displayed for two frames. Therefore, the display delay of the region image 53 relative to the whole image 52 is a maximum of two frames.
[0079] As an example, as shown by hatching in FIG. 11, the read operation A is an operation of sequentially reading out detection signals 43D as image signals 43 from pixels 41 in the first row, pixels 41 in the fifth row, pixels 41 in the ninth row, pixels 41 in the thirteenth row, pixels 41 in the seventeenth row, and so on, at intervals of four rows. On the other hand, as shown by hatching in FIG. 12, as an example, the read operation B is an operation of sequentially reading out residual image signals 43R as image signals 43 from pixels 41 in rows skipped in the read operation A, such as pixels 41 in the second to fourth rows, pixels 41 in the sixth to eighth rows, pixels 41 in the tenth to twelfth rows, pixels 41 in the fourteenth to sixteenth rows, and so on. Note that the row intervals in the read operation A are not limited to the illustrated four-row intervals. They may be one-row intervals or three-row intervals. They may be eight-row intervals or twelve-row intervals, etc., as long as the target area can be detected from the detection signals 43D.
[0080] 13 as an example, a detection unit 71 inputs a detection signal 43D (two-dimensional image data represented by) to a human pupil detection model 67. This causes a detection result 75 to be output from the human pupil detection model 67. The detection result 75 is, for example, the XY coordinates of two diagonal points P1 and P2 of a rectangular area surrounding the person's pupil PP.
[0081] As an example, as shown in FIG. 14, in the learning phase of the human pupil detection model 67, learning data (also called teacher data or training data) 80 is provided and learned. The learning data 80 is a set of the learning detection signal 43DL and the correct answer data 75CA. The learning detection signal 43DL is a detection signal 43D output from an imaging element having phase difference detection pixels similar to the imaging element 12. The learning detection signal 43DL is an example of an "image output from an imaging element having phase difference detection pixels" according to the technology of the present disclosure. The correct answer data 75CA is data in which a rectangular area surrounding the pupil PP of the person is manually annotated for the learning detection signal 43DL (two-dimensional image data represented by ).
[0082] In the learning phase, the learning detection signal 43DL is input to the human pupil detection model 67. As a result, the learning detection result 75L is output from the human pupil detection model 67. Then, the learning detection result 75L is compared with the correct answer data 75CA, and a loss calculation is performed on the human pupil detection model 67 using a loss function based on the comparison result. Next, the coefficients of the human pupil detection model 67 are updated according to the result of the loss calculation, and the human pupil detection model 67 is updated according to the update setting.
[0083] In the learning phase, the above-mentioned series of processes, including input of the learning detection signal 43DL to the human pupil detection model 67, output of the learning detection result 75L from the human pupil detection model 67, loss calculation, update setting, and update of the human pupil detection model 67, are repeatedly performed while exchanging the learning data 80. When the detection accuracy of the learning detection result 75L for the correct answer data 75CA reaches a preset level, the repetition of the above-mentioned series of processes is terminated, and the human pupil detection model 67 at that time is stored in the storage 55 and used by the detection unit 71. Note that learning may be terminated when the above-mentioned series of processes are repeated a predetermined number of times, regardless of the detection accuracy of the learning detection result 75L for the correct answer data 75CA. Although not shown in the figure, the machine learning models of the detection model group 66 other than the human pupil detection model 67 are also trained using the learning detection signal 43DL output from an image sensor having a phase difference detection pixel, similar to the human pupil detection model 67.
[0084] 15 as an example, the focusing calculation unit 73 selects a calculation signal 43P output from a phase difference detection pixel 41P in the target area from all calculation signals 43P read out in readout operations A and B based on a detection result 75 of the target area from the detection unit 71. The focusing calculation unit 73 performs focusing calculation using a post-selection calculation signal 43PS which is the selected calculation signal 43P.
[0085] 16, as an example, the image processing unit 27 generates an entire image 52 from the detection signal 43D, and generates a regional image 53 from the remaining image signal 43R. At this time, the image processing unit 27 performs pixel interpolation processing to interpolate pixel values of the remaining image signal 43R to generate the entire image 52, and to interpolate pixel values of the detection signal 43D to generate the regional image 53. Then, a composite image 51 is generated from the entire image 52 and the regional image 53.
[0086] Next, the operation of the above configuration will be described with reference to the flowchart shown in Fig. 17 as an example. As shown in Fig. 9, the CPU 56 functions as an imaging control unit 70, a detection unit 71, and a focus adjustment unit 72 (a focusing calculation unit 73 and a focus lens drive control unit 74) by starting the operation program 65.
[0087] When the release button is pressed halfway in the still image shooting mode and a still image shooting preparation instruction is received by the instruction receiving unit 32 (YES in step ST100), as shown in FIG. 10, under the control of the imaging control unit 70, the image sensor 12 accumulates signal charges according to the subject light (step ST110). Then, as a readout operation of the image signal 43 according to the signal charges, the readout operation A shown in FIG. 11 is performed (step ST120). As a result, the detection signal 43D for detecting the target area of the auto focus control is thinned out and read out first. Then, the readout operation B shown in FIG. 12 is performed (step ST130). As a result, the remaining image signal 43R other than the detection signal 43D is read out.
[0088] 13, at the same time as the end of read operation A (the start of read operation B), in the detection unit 71, the detection signal 43D is input to the human pupil detection model 67, and the target region detection result 75 is output from the human pupil detection model 67 (step ST130). The detection result 75 is output from the detection unit 71 to the focus adjustment unit 72.
[0089] 15, in the focusing calculation unit 73, the calculation signal 43P output from the phase difference detection pixel 41P in the target area is selected from the calculation signals 43P from the image memory 26 based on the detection result 75. Then, after selection, the focusing calculation is performed using the calculation signal 43PS. The calculation result 76 of this focusing calculation is output from the focusing calculation unit 73 to the focus lens drive control unit 74. Then, under the control of the focus lens drive control unit 74, the focus lens 14 is moved to the focus position of the calculation result 76 via the focus lens drive mechanism 17.
[0090] As shown in FIG. 16, the image processing unit 27 generates an entire image 52 from the detection signal 43D (step ST140). Also, a region image 53 is generated from the remaining image signal 43R (step ST150). Then, a composite image 51 is generated from the entire image 52 and the region image 53 (step ST160). The composite image 51 is displayed on the display unit under the control of the display control unit 30 (step ST160). The processes of steps ST110 to ST160 are repeated until the release button is released from the half-press or the release button is fully pressed and an instruction to capture a still image is not issued (NO in step ST170). Note that the detection of the target region by the detection unit 71 in step ST130, the focus calculation by the focus calculation unit 73, and the generation of the region image 53 by the image processing unit 27 in step ST150 are performed every other frame.
[0091] As described above, the CPU 56 of the control unit 20 of the imaging device 10 includes the imaging control unit 70, the detection unit 71, and the focus adjustment unit 72. The imaging control unit 70 controls the read operation of the image signal 43 from the imaging element 12. The detection unit 71 detects a target area for autofocus control. The focus adjustment unit 72 performs autofocus control based on the target area. In the read operation, the imaging control unit 70 first causes the detection signal 43D, which is the image signal 43 for detecting the target area, to be thinned out and read, and after the thinned out read is completed, causes the remaining image signal 43R to be read.
[0092] Fig. 18 shows a conventional embodiment as a comparative example. In the conventional embodiment, image signals 43 are read out sequentially without thinning out and reading out detection signals 43D at the beginning of a readout operation as in the technology of the present disclosure. In this case, detector 71 starts detecting the target area after readout operation 1 of the first frame is completed. For this reason, the timing of detecting the target area is delayed compared to the technology of the present disclosure.
[0093] The display control unit 30 starts live view display of the region image 53 after the end of read operation 3 for the third frame (start of accumulation operation for the fifth frame) following the end of detection of the target region for the first frame. In other words, the start timing of live view display of the region image 53 is delayed by one frame compared to the technology of the present disclosure. Therefore, the display delay of the region image 53 with respect to the whole image 52 is a maximum of three frames.
[0094] Time T2 indicating the time lag from when detection of the target area in the detection unit 71 ends to when display of the area image 53 starts or is updated is longer than time T1 in the technique of the present disclosure shown in Fig. 10. Therefore, when the subject is moving, the detection of the target area and the display update of the area image 53 cannot keep up with the movement of the subject, increasing the possibility that an area that is not the target area will be displayed as the area image 53.
[0095] In contrast, the technology of the present disclosure advances the timing of starting detection of the target region by first thinning out and reading out the detection signals 43D, as shown in Fig. 10. This allows the time T1, which indicates the time lag from when the detection unit 71 finishes detecting the target region to when the display of the region image 53 is started or updated to reflect the detection result 75, to be shorter than the time T2 in the conventional embodiment. This makes it possible to suppress the display shift of the region image 53 caused by the movement of the subject.
[0096] 10, the display control unit 30 performs control to display the area image 53 on the display unit after the end of the read operation A and before the end of the read operation B. This makes it possible to advance the timing for starting or updating the display of the area image 53.
[0097] 10 and 16, the image processing unit 27 generates an entire image 52 of the subject from the image signal 43 (detection signal 43D). The display control unit 30 controls the display of the entire image 52 and the area image 53 together on the display unit while updating the display. This allows the user to take a picture while comparing the entire image 52 and the area image 53.
[0098] 10, when a shooting preparation instruction for a still image is received by the instruction receiving unit 32, that is, while a live view image is being displayed, the imaging control unit 70 causes the imaging element 12 to perform thinning readout of the detection signal 43D. Therefore, before shooting, it is possible to check without significant hindrance whether the target area is in focus even if the subject is moving.
[0099] 16, the image processing unit 27 generates at least a region image 53 from the remaining image signal 43R. Therefore, it is possible to generate a region image 53 with better image quality than when the region image 53 is generated from the detection signal 43D. The region image 53 with relatively good image quality is preferable before shooting because it is easy to check whether the target region is in focus. Note that not only the region image 53 but also the whole image 52 may be generated from the remaining image signal 43R.
[0100] 10, the display control unit 30 synchronizes the display update timing of the whole image 52 and the area image 53. Since the display update timing of the whole image 52 and the area image 53 is synchronized, the user does not feel uncomfortable.
[0101] As shown in Fig. 2, Fig. 4, and Fig. 5, the image sensor 12 has a phase difference detection pixel 41P for detecting a phase difference α of subject light. As shown in Fig. 9 and Fig. 15, the focus adjustment unit 72 performs autofocus control using a calculation signal 43P output from the phase difference detection pixel 41P. This makes it possible to perform autofocus control simply and quickly.
[0102] 13 and 14, the detection unit 71 detects a target area from the detection signal 43D using a machine learning model such as the human pupil detection model 67 trained with the learning detection signal 43DL, which is an image output from an imaging element having phase difference detection pixels. For this reason, it is possible to improve the detection accuracy of the target area compared to the case of using a machine learning model trained with an image output from an imaging element not having phase difference detection pixels.
[0103] In addition, even when a live view image is being displayed in still image shooting mode before the release button is half-pressed to give an instruction to prepare for still image shooting, the imaging control unit 70 may perform thinning readout of the detection signal 43D, the detection unit 71 may detect the target area, the focus adjustment unit 72 may perform autofocus control, the image processing unit 27 may generate the overall image 52 and the area image 53, and the display control unit 30 may display the overall image 52 and the area image 53.
[0104] Alternatively, while a live view image is displayed before a still image shooting preparation instruction is given, the imaging control unit 70 performs thinning readout of the detection signal 43D, the detection unit 71 detects the target area, the image processing unit 27 generates the whole image 52 and the region image 53, and the display control unit 30 displays the whole image 52 and the region image 53, but the focus adjustment unit 72 does not need to perform autofocus control. In this case, the following may be performed. That is, as a machine learning model for detecting the target area, a machine learning model trained with an image output from an imaging element having no phase difference detection pixels is prepared. Then, while a live view image is displayed before a still image shooting preparation instruction is given, the machine learning model trained with an image output from an imaging element having no phase difference detection pixels is used. On the other hand, after a still image shooting preparation instruction is given, the machine learning model is switched to the machine learning model trained with an image output from an imaging element having a phase difference detection pixel.
[0105] [Second embodiment] In the first embodiment, an example of thinning readout while displaying a live view image is shown, but the present invention is not limited to this. As an example, as shown in Fig. 19, when the release button is fully pressed in video shooting mode and a video shooting start instruction is accepted by the instruction accepting unit 32, that is, while shooting a video, the image sensor 12 may be made to thin out and read out the detection signal 43D. Note that the flow of the accumulation operation and readout operation of the image sensor 12 by the imaging control unit 70, the detection of the target area by the detection unit 71, the autofocus control by the focus adjustment unit 72, and the display flow of the whole image 52 and the area image 53 by the display control unit 30 are the same as those shown in Fig. 10 in the first embodiment, and therefore will not be described.
[0106] 20, the image processing unit 27 generates both an entire image 52 and a regional image 53 from the remaining image signal 43R. At this time, the image processing unit 27 performs pixel interpolation processing to interpolate pixel values corresponding to the detection signal 43D to generate the entire image 52 and the regional image 53. Then, a composite image 51 is generated from the entire image 52 and the regional image 53.
[0107] 19, in the second embodiment, the imaging control unit 70 causes the imaging element 12 to perform thinning readout of the detection signals 43D while a moving image is being captured. Therefore, while a moving image is being captured, it is possible to check whether the target area is in focus without any significant hindrance even if the subject is moving.
[0108] 20, the image processing unit 27 generates at least the entire image 52 from the remaining image signal 43R. Therefore, it is possible to generate an entire image 52 with better image quality than when the entire image 52 is generated from the detection signal 43D. The entire image 52 with relatively good image quality makes it easy to confirm the subject, and is therefore suitable for capturing moving images. Note that the entire image 52 may be generated from the detection signal 43D as in the first embodiment. Also, a region image 53 may be generated from the detection signal 43D.
[0109] [Third embodiment] In the first embodiment, the display update timing of the whole image 52 and the region image 53 is synchronized, but this is not limited thereto. As an example, as shown in FIG. 21, the display control unit 30 may start or update the display of the region image 53 as soon as the detection unit 71 detects the target region based on the detection signal 43D thinned out and read out by the read operation A1. Specifically, the display control unit 30 starts displaying the region image 53 generated from the remaining image signal 43R read out by the read operation B1 as soon as the detection of the target region based on the detection signal 43D thinned out and read out by the read operation A1 is completed. Also, as soon as the detection of the target region based on the detection signal 43D thinned out and read out by the read operation A3 is completed, the display is updated to the region image 53 generated from the remaining image signal 43R read out by the read operation B3. The same applies thereafter. By performing such control, the display control unit 30 makes the time lag from the end of the detection of the target region in the detection unit 70 to the start or update of the display of the region image 53 shorter than the time T1 in the first embodiment, more specifically, zero. Time T1 is an example of a "certain period" according to the technology of the present disclosure.
[0110] In this way, in the third embodiment, the display control unit 30 starts or updates the display of the region image 53 as soon as the detection unit 71 detects the target region based on the detection signal 43D, without waiting for the display update timing of the entire image 52. In this way, the display control unit 30 keeps the time lag from when the detection unit 71 finishes detecting the target region to when the display of the region image 53 starts or updates to within a certain period. This makes it possible to further suppress the display shift of the region image 53 caused by the subject moving. However, in this case, the display update timing of the entire image 52 and the region image 53 becomes partially asynchronous.
[0111] [Fourth embodiment] In the first embodiment, as shown in Fig. 15, the calculation signals 43P output from the phase difference detection pixels 41P in the target area are selected from among all the calculation signals 43P read out in the readout operation A and the readout operation B, but this is not limited thereto. As an example, as shown in Fig. 22, the calculation signals 43P output from the phase difference detection pixels 41P in the target area may be selected from among the calculation signals 43P in the detection signals 43D read out in the readout operation A.
[0112] As described above, in the fourth embodiment, the focus adjustment unit 72 performs autofocus control using the calculation signal 43P output from the phase difference detection pixel 41P in the target area, among the calculation signals 43P in the detection signals 43D. That is, the focus adjustment unit 72 performs autofocus control using the detection signal 43D. Therefore, the target area detected by the detection signal 43D does not deviate from the target area where autofocus control is actually performed, and the accuracy of the autofocus control can be maintained.
[0113] [Fifth embodiment] As an example, as shown in FIG. 23, when the release button is fully pressed for a predetermined time in the still image shooting mode and the instruction to start continuous shooting is received by the instruction receiving unit 32, that is, when the continuous shooting mode is activated, each processing unit 70 to 72 of the CPU 56 performs the following processing. First, the imaging control unit 70 causes the detection signal 43D to be thinned out and read (shown as read operation A in FIG. 23) at the beginning of the read operation of the image signal 43 of the still image captured by continuous shooting by opening and closing the shutter 23. Then, after the thinned out read operation is completed, the imaging control unit 70 causes the remaining image signal 43R of the still image captured by continuous shooting to be read (shown as read operation B in FIG. 23). In addition, between the shooting of two consecutive still images, the imaging control unit 70 performs a normal read operation to sequentially read the image signal 43 without thinning out and reading the detection signal 43D at the beginning of the read operation. Note that, even between the shooting of two consecutive still images, the detection signal 43D may be thinned out and read first.
[0114] The detection unit 71 detects the target area using the detection signal 43D obtained in the readout operation A. The focus adjustment unit 72 performs automatic focus control based on the calculation signal 43P obtained in the readout operation A and the readout operation B.
[0115] The image processing unit 27 generates a region image 53 from the remaining image signal 43R of the still image obtained in the readout operation B. Also, the image processing unit 27 generates a whole image 52 from the image signal 43 obtained in a normal readout operation without thinning-out readout, during the interval between capturing two consecutive still images.
[0116] The display control unit 30 performs control such that, between the capture of two consecutive still images, the whole image 52 is successively updated, and the region image 53 is displayed on the display unit together with the image generated from the remaining image signal 43R of the still image without updating it. As in the above third embodiment, the display control unit 30 starts or updates the display of the region image 53 as soon as the detection unit detects the target region based on the detection signal 43D, without waiting for the timing to update the display of the whole image 52. Since the whole image 52 cannot be generated in time immediately after the display of the region image 53, the still images captured by the continuous shooting are reproduced and displayed in the composite image 51 until the whole image 52 is generated.
[0117] In this manner, in the fifth embodiment, when a continuous shooting mode is activated in which still images are continuously shot at a preset shooting interval, the imaging control unit 70 causes the detection signal 43D to be thinned out and read out at the beginning of the read operation of the image signal 43 of the still image shot in the continuous shooting mode, and causes the remaining image signal 43R of the still image to be read out after the thinned out readout is completed. The image processing unit 27 generates a region image 53 from the image signal 43 (residual image signal 43R) of the still image. Between the shooting of two consecutive still images, the display control unit 30 updates the display of the whole image 52, and controls the display unit to display only the image generated from the remaining image signal 43R of the still image, without updating the region image 53.
[0118] In the continuous shooting mode, it is sufficient to be able to confirm whether or not the target area of the still image captured by the continuous shooting is in focus. For this reason, in the fifth embodiment, the area image 53 generated from the remaining image signal 43R of the still image is displayed without updating. Therefore, it is possible to display the area image 53 in accordance with the circumstances specific to the continuous shooting mode. In addition, the processing load imposed on display update of the area image 53 can be reduced.
[0119] Note that the region image 53 may be generated from the detection signal 43D obtained in the read operation A, instead of the remaining image signal 43R of the still image obtained in the read operation B. As in the above embodiments, when the continuous shooting mode is activated, a read operation may be performed between shooting two consecutive still images, in which the detection signal 43D is first thinned out and read, and the region image 53 may be updated and displayed.
[0120] (Modification) In each of the above embodiments, the detection signal 43D is thinned out and then the remaining image signal 43R is read out all at once, but this is not limited thereto. As an example, as shown in FIG. 24, the remaining image signal 43R may be read out in three stages, namely, readout operation B, readout operation C, and readout operation D. The readout operation A of the detection signal 43D is as shown in FIG. 11 of the above first embodiment. The readout operation B of the remaining image signal 43R is an operation of sequentially reading out the remaining image signal 43R at intervals of four rows, such as the pixel 41 in the second row, the pixel 41 in the sixth row, the pixel 41 in the tenth row, and so on. The readout operation C is an operation of sequentially reading out the remaining image signal 43R at intervals of four rows, such as the pixel 41 in the third row, the pixel 41 in the seventh row, the pixel 41 in the eleventh row, and so on. Furthermore, readout operation D is an operation in which the remaining image signals 43R are sequentially read out at intervals of four rows, such as the pixel 41 in the fourth row, the pixel 41 in the eighth row, the pixel 41 in the twelfth row, ... In this manner, the remaining image signals 43R may also be thinned out and read out. In this case, the image processing unit 27 generates an entire image 52 from the detection signals 43D obtained in readout operation A. Furthermore, the image processing unit 27 generates a region image 53 from all image signals 43, which is a combination of the detection signals 43D obtained in readout operation A and the remaining image signals 43R obtained in readout operations B to D.
[0121] In each of the above embodiments, the composite image 51 of the whole image 52 and the region image 53 is displayed on the display unit, but this is not limited to this. Only the region image 53 may be displayed on the display unit without displaying the whole image 52.
[0122] In the above-mentioned embodiments, the so-called phase difference detection type autofocus control has been described as an example, but the present invention is not limited thereto. Instead of or in addition to the phase difference detection type autofocus control, a contrast detection type autofocus control may be adopted. Also, an imaging element may be used in which one pixel 41 is configured by two photoelectric conversion elements 47, and the single pixel 41 serves as both a normal pixel 41N and a phase difference detection pixel 41P.
[0123] The imaging device according to the technique of the present disclosure may be a compact digital camera, a smartphone, or a tablet terminal.
[0124] In each of the above embodiments, the following various processors can be used as the hardware structure of the processing units that execute various processes, such as the image processing unit 27, the display control unit 30, the instruction receiving unit 32, the imaging control unit 70, the detection unit 71, the focus adjustment unit 72, the focus calculation unit 73, and the focus lens drive control unit 74. The various processors include the CPU 56, which is a general-purpose processor that executes software (operation program 65) and functions as various processing units, as well as a programmable logic device (PLD), which is a processor whose circuit configuration can be changed after manufacture, such as an FPGA (Field Programmable Gate Array), and / or a dedicated electric circuit, which is a processor having a circuit configuration designed specifically for executing specific processes, such as an ASIC (Application Specific Integrated Circuit).
[0125] A single processing unit may be composed of one of these various processors, or may be composed of a combination of two or more processors of the same or different types (e.g., a combination of multiple FPGAs and / or a combination of a CPU and an FPGA). Also, multiple processing units may be composed of a single processor.
[0126] As an example of configuring multiple processing units with one processor, first, there is a form in which one processor is configured with a combination of one or more CPUs and software, as typified by computers such as client and server, and this processor functions as multiple processing units. Second, there is a form in which a processor is used that realizes the functions of the entire system including multiple processing units with one IC (Integrated Circuit) chip, as typified by System On Chip (SoC), etc. In this way, the various processing units are configured using one or more of the above various processors as a hardware structure.
[0127] Furthermore, more specifically, the hardware structure of these various processors can be an electric circuit that combines circuit elements such as semiconductor elements.
[0128] From the above description, the technology described in the following supplementary paragraphs can be understood.
[0129] [Additional note 1] A processor is provided. The processor, Controlling the readout operation of image signals from the imaging element; Detects the target area for automatic focus control, performing the autofocus control based on the region of interest; In the readout operation, a detection signal which is an image signal for detecting the target region is first thinned out and read out, and after the thinned out readout is completed, the remaining image signal is read out. Automatic focus control device. [Additional note 2] The processor, The autofocus control device according to claim 1, wherein the autofocus control is performed using the detection signal. [Additional note 3] the imaging element has a phase difference detection pixel for detecting a phase difference of subject light, The processor, 3. The autofocus control device according to claim 1, wherein the autofocus control is performed using a calculation signal output from the phase difference detection pixel. [Additional note 4] The processor, An automatic focus control device as described in claim 3, which detects the target area from the detection signal using a machine learning model trained on an image output from an imaging element having a phase difference detection pixel. [Additional note 5] An imaging element; an imaging control unit that controls a read operation of an image signal from the imaging element; A detection unit that detects a target area for automatic focus control; a focus adjustment unit that performs the automatic focus control based on the target area; an image generator that generates an image of the target area from the image signal; a display control unit that controls displaying an image of the target area on a display unit; Equipped with the imaging control unit, in the readout operation, causes a detection signal, which is an image signal for the detection unit to detect the target region, to be first thinned out and read out, and after the thinned out readout is completed, causes the remaining image signal to be read out. Imaging device. [Additional note 6] The imaging device according to claim 5, wherein the display control unit performs control to display the image of the target area on the display unit after the thinning readout is completed and before the readout of the remaining image signals is completed. [Additional note 7] the image generating unit generates an entire image of a subject from the image signal; The imaging device according to claim 5 or 6, wherein the display control unit controls the display of the image of the target area and the entire image together on the display unit while updating the display. [Additional note 8] The imaging device according to claim 7, wherein the imaging control unit causes the thinning readout to be performed while a live view image is being displayed. [Additional note 9] The imaging device according to claim 8, wherein the image generating unit generates an image of at least the target area from the remaining image signals. [Additional Note 10] 10. The imaging device according to claim 7, wherein the imaging control unit causes the thinning readout to be performed while a moving image is being captured. [Additional Note 11] The imaging device according to claim 10, wherein the image generating unit generates at least the entire image from the remaining image signals. [Additional Note 12] The imaging device according to any one of supplementary items 7 to 11, wherein the display control unit synchronizes display update timings of the image of the target area and the entire image. [Additional Note 13] The imaging device according to any one of Supplementary Items 7 to 11, wherein the display control unit starts displaying or updating the image of the target area as soon as the detection unit detects the target area using the detection signal, without waiting for the timing to update the display of the entire image. [Additional Note 14] The imaging device according to claim 13, wherein the display control unit sets a time lag between when the detection unit finishes detecting the target area and when the display of the image of the target area is started or updated to within a certain period of time. [Additional Note 15] A continuous shooting mode is provided for continuously shooting still images at a preset shooting interval, the imaging control unit causes the detection signals to be thinned out and read out at the start of a read operation of an image signal of the still image captured in the continuous shooting mode, and after the thinned out read operation is completed, causes the remaining image signals of the still image to be read out; the image generation unit generates an image of the target area from an image signal of the still image; The imaging device according to any one of supplementary items 7 to 14, wherein the display control unit updates the display of the overall image between capturing two consecutive still images, and controls the display unit to display the image of the target area together with the image generated from the image signal of the still image without updating the image. [Additional Note 16] 16. The imaging device according to claim 5, wherein the focus adjustment unit performs the autofocus control by using the detection signal. [Additional Note 17] the imaging element has a phase difference detection pixel for detecting a phase difference of subject light, The imaging device according to any one of supplementary items 5 to 16, wherein the focus adjustment unit performs the autofocus control using a calculation signal output from the phase difference detection pixel. [Additional Note 18] The imaging device described in claim 17, wherein the detection unit detects the target area from the detection signal using a machine learning model trained on an image output from an imaging element having a phase difference detection pixel.
[0130] The technology of the present disclosure can be appropriately combined with the above-mentioned various embodiments and / or various modified examples. In addition, it is not limited to the above-mentioned embodiments, and various configurations can be adopted without departing from the gist of the technology. Furthermore, the technology of the present disclosure extends to a storage medium that non-temporarily stores a program, in addition to a program.
[0131] The above description and illustrations are detailed descriptions of the parts related to the technology of the present disclosure, and are merely an example of the technology of the present disclosure. For example, the above description of the configuration, function, action, and effect is an example of the configuration, function, action, and effect of the parts related to the technology of the present disclosure. Therefore, it goes without saying that unnecessary parts may be deleted, new elements may be added, or replaced with respect to the description and illustrations shown above, within the scope of the gist of the technology of the present disclosure. In addition, in order to avoid confusion and to facilitate understanding of the parts related to the technology of the present disclosure, the description and illustrations shown above omit explanations of technical common sense that do not require explanation in order to enable the implementation of the technology of the present disclosure.
[0132] In this specification, "A and / or B" is synonymous with "at least one of A and B." In other words, "A and / or B" means that it may be only A, only B, or a combination of A and B. In addition, in this specification, the same idea as "A and / or B" is also applied when three or more things are expressed by connecting them with "and / or."
[0133] All publications, patent applications, and standards mentioned in this specification are herein incorporated by reference to the same extent as if each individual publication, patent application, and standard was specifically and individually indicated to be incorporated by reference. [Explanation of symbols]
[0134] 10. Imaging device 11 Imaging optical system 12 Image sensor 13 Objective Lens 14 Focus Lens 15 Zoom Lens 16 Aperture 17 Focus lens drive mechanism 18 Zoom lens drive mechanism 19 Aperture drive mechanism 20 Control section 21 Control section 22 Image sensor driver 23 Shutter 24 Shutter drive mechanism 25 Image Input Controller 26 Image Memory 27 Image Processing Section 28, 58 Bus Lines 29 VRAM 30 Display control unit 31 Media Controller 32 Instruction Reception Department 33 Finder Monitor 34 Rear monitor 35 Memory Card 36 Touch Panel 40 Photoelectric conversion unit 41 pixels 41N normal pixels 41P Phase difference detection pixel 42 Imaging surface 43 Image Signal 43D Detection signal 43DL Learning detection signal 43N Image generation signal 43P Calculation signal 43PS Signal for calculation after selection 43R Remaining image signal (residual image signal) 45 Micro Lens 46 Color Filters 47 Photoelectric conversion element 49 Light blocking material 50 Setting information 51 Composite Image 52 Full image 53 Area Image 54 slots 55 Storage 56 CPU 57 Memory 65 Operating Program 66 Detection Models 67 Human Eye Detection Model 70 Imaging control section 71 Detection unit 72 Focus adjustment section 73 Focus calculation section 74 Focus lens drive control unit 75 Detection Results 75CA correct data 75L Learning detection results 76 Calculation result 80 Training Data 411P 1st phase difference detection pixel 412P 2nd phase difference detection pixel 431P 1st calculation signal 432P Second calculation signal α phase difference OA optical axis P1, P2 diagonal points PP Hitomi ST100, ST110, ST120, ST130, ST140, ST150, ST160, ST170 Step T1, T2 times
Claims
1. A processor is provided. The processor, Controlling the readout operation of image signals from the imaging element; Detects the target area for automatic focus control, performing the autofocus control based on the region of interest; In the readout operation, a detection signal which is an image signal for detecting the target region is first thinned out and read out, and after the thinned out readout is completed, the remaining image signal is read out. Automatic focus control device.
2. The processor, 2. The automatic focus control device according to claim 1, wherein the automatic focus control is performed using the detection signal.
3. the imaging element has a phase difference detection pixel for detecting a phase difference of subject light, The processor, The autofocus control device according to claim 1 , wherein the autofocus control is performed using a calculation signal output from the phase difference detection pixel.
4. The processor, The automatic focus control device according to claim 3 , wherein the target area is detected from the detection signal using a machine learning model trained on an image output from an imaging element having a phase difference detection pixel.
5. Controlling a read operation of an image signal from an imaging element; Detecting a target area for automatic focus control; performing the autofocus control based on the region of interest; and In the readout operation, a detection signal which is an image signal for detecting the target region is first thinned out and read out, and after the thinned out readout is completed, the remaining image signal is read out; A method for operating an automatic focus control device comprising:
6. Controlling a read operation of an image signal from an imaging element; Detecting a target area for automatic focus control; performing the autofocus control based on the region of interest; and In the readout operation, a detection signal which is an image signal for detecting the target region is first thinned out and read out, and after the thinned out readout is completed, the remaining image signal is read out; An operating program for an automatic focus control device that causes a computer to execute a process including the steps of:
7. An imaging element; an imaging control unit that controls a read operation of an image signal from the imaging element; A detection unit that detects a target area for automatic focus control; a focus adjustment unit that performs the automatic focus control based on the target area; an image generator that generates an image of the target area from the image signal; a display control unit that controls displaying an image of the target area on a display unit; Equipped with the imaging control unit, in the readout operation, causes a detection signal, which is an image signal for the detection unit to detect the target region, to be thinned out and read out first, and after the thinned out readout is completed, causes a remaining image signal to be read out. Imaging device.
8. The imaging device according to claim 7 , wherein the display control unit performs control to display the image of the target region on the display unit after the thinning readout is completed and before the readout of the remaining image signals is completed.
9. the image generating unit generates an entire image of a subject from the image signal; The imaging device according to claim 7 , wherein the display control unit performs control to display the image of the target area and the entire image together on the display unit while updating the display.
10. The imaging device according to claim 9 , wherein the imaging control unit causes the thinning readout to be performed while a live view image is being displayed.
11. The imaging device according to claim 10 , wherein the image generating section generates an image of at least the target area from the remaining image signals.
12. The imaging device according to claim 9 , wherein the imaging control unit causes the thinning readout to be performed while a moving image is being captured.
13. The imaging device according to claim 12 , wherein the image generating section generates at least the entire image from the remaining image signals.
14. The imaging device according to claim 9 , wherein the display control unit synchronizes display update timings of the image of the target region and the entire image.
15. The imaging device according to claim 9 , wherein the display control unit starts or updates the display of the image of the target area as soon as the detection unit detects the target area based on the detection signal, without waiting for a timing to update the display of the entire image.
16. The imaging device according to claim 15 , wherein the display control unit keeps a time lag from when the detection unit finishes detecting the target area to when the display of the image of the target area is started or updated to within a certain period of time.
17. A continuous shooting mode is provided for continuously shooting still images at a preset shooting interval, the imaging control unit causes the detection signals to be thinned out and read out at the start of a read operation of an image signal of the still image captured in the continuous shooting mode, and after the thinned out read operation is completed, causes the remaining image signals of the still image to be read out; the image generation unit generates an image of the target area from an image signal of the still image; The imaging device according to claim 9, wherein the display control unit performs control such that, between capturing two successive still images, the display of the overall image is updated, and the image of the target area is displayed together with the image generated from the image signal of the still image on the display unit without updating the image.
18. The imaging device according to claim 7 , wherein the focus adjustment section performs the automatic focus control by using the detection signal.
19. the imaging element has a phase difference detection pixel for detecting a phase difference of subject light, The imaging device according to claim 7 , wherein the focus adjustment section performs the automatic focus control by using a calculation signal output from the phase difference detection pixel.
20. The imaging device according to claim 19 , wherein the detection section detects the target region from the detection signal using a machine learning model trained on an image output from an imaging element having a phase difference detection pixel.
Citation Information
Patent Citations
Electronic camera
JP2004023747A
