Electronic equipment
By using different statistical methods to process first and second line-of-sight information, the electronic device addresses alignment issues in imaging devices with electronic viewfinders, ensuring accurate focus detection despite display delays and updates.
Patent Information
- Application Number
- JP2020026018
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-02-19
- Publication Date
- 2024-08-13
- Estimated Expiration
- 2040-02-19
AI Technical Summary
Conventional imaging devices with electronic viewfinders face issues in accurately aligning the user's line of sight due to changes in display delay time and update interval, leading to improper processing based on line-of-sight detection results.
The electronic device acquires first and second line-of-sight information using different statistical methods and processes them differently to improve alignment accuracy, allowing for more stable and immediate processing.
This approach enables suitable processing based on line-of-sight detection, ensuring accurate alignment and selection of the intended position for focus detection, even with changes in display conditions.
Smart Images

Figure 0007532045000002 
Figure 0007532045000003 
Figure 0007532045000004
Abstract
Description
[Technical field]
[0001] The present invention relates to an electronic device capable of acquiring line-of-sight information regarding a user's line of sight. [Background technology]
[0002] Patent Document 1 discloses a method for selecting a distance measurement point by detecting the line of sight of a user (photographer) looking into the viewfinder field. In the imaging device disclosed in Patent Document 1, a distance measurement point is selected according to the priority of a plurality of distance measurement point selection methods, so that it is possible to realize distance measurement point selection according to the user's intention. The imaging device disclosed in Patent Document 1 has a so-called optical viewfinder for observing an optical image formed on a focusing plate.
[0003] Meanwhile, in recent years, imaging devices with electronic viewfinders have been available as display devices that do not have an optical viewfinder and play back images captured by an image sensor that receives a light beam that has passed through a photographing optical system. While imaging devices with optical viewfinders have a light beam splitter, imaging devices with electronic viewfinders do not require a light beam splitter, and therefore can perform focus detection and subject detection over a wider range within the photographing range. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2015-22208 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, in a conventional imaging device that is capable of detecting a user's line of sight (line of sight position) and that is equipped with an electronic viewfinder, processing may not be performed appropriately based on the line of sight detection result.
[0006] For example, in contrast to the display of an optical viewfinder, the processing applied to the signal acquired by the image sensor is changed in the display of an electronic viewfinder, and the delay time until the image is displayed (display delay time) may change. Furthermore, the time interval for updating the displayed image (display update interval) may also change. Therefore, the user will be observing an image with a changing display delay time and display update interval.
[0007] As a result, the user may not be able to accurately align the gaze position with the position he or she wishes to observe, or may take time to align the gaze position. As a result, the position intended by the user cannot be detected as the gaze position, and processing cannot be suitably performed based on the detection result. Specifically, the position intended by the user cannot be displayed as the gaze position, or the position intended by the user cannot be selected as the ranging point.
[0008] By lengthening the gaze position detection period or widening the area for the gaze position detection result, it becomes possible to detect the position intended by the user as the gaze position, but it is not possible to suitably perform processing that requires immediacy, such as selection of a distance measurement point. If the gaze position is detected with consideration (priority) given to the immediacy of processing, the display quality of the gaze position will decrease.
[0009] An object of the present invention is to provide a technique that can perform suitable processing based on the result of gaze detection. [Means for solving the problem]
[0010] The electronic device of the present invention has an acquisition means for acquiring first gaze information and second gaze information generated by different statistical methods as gaze information relating to the gaze of a user looking at a display screen, and a processing means for performing a first process based on the first gaze information and a second process different from the first process based on the second gaze information. In response to the change in the line of sight, the change in the first line of sight information is smaller than the change in the second line of sight information It is characterized by: Effect of the Invention
[0011] According to the present invention, it is possible to perform suitable processing based on the result of gaze detection. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a block diagram showing an example of the configuration of an imaging device according to an embodiment of the present invention; [Diagram 2] FIG. 1 is a diagram showing an example of a correspondence relationship between an exit pupil and a photoelectric conversion unit of an image capturing device according to an embodiment of the present invention; [Diagram 3] FIG. 4 is a diagram showing an example of the configuration of a gaze detection unit according to the present embodiment; [Figure 4] A flowchart showing an example of a photographing process according to the present embodiment. [Diagram 5] 1 is a flowchart of a photographing subroutine according to the present embodiment. [Figure 6] Flowchart of gaze detection adjustment processing according to the present embodiment [Figure 7] FIG. 1 is a diagram for explaining the reason why a plurality of processing steps are performed according to the present embodiment; [Figure 8] FIG. 1 is a diagram for explaining the reason for performing processing according to the present embodiment. [Figure 9] Timing chart for live view display etc. according to the present embodiment [Figure 10] Timing chart for live view display etc. according to the present embodiment [Figure 11] Timing chart for live view display etc. according to the present embodiment [Figure 12] Timing chart for live view display etc. according to the present embodiment DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] The present invention will be described in detail below based on its exemplary embodiments with reference to the accompanying drawings. Note that the following embodiments do not limit the present invention. In addition, although several features are described below, not all of them are necessarily essential to the present invention. In addition, several features described below may be combined arbitrarily. Furthermore, in the accompanying drawings, the same reference numbers are used for the same or similar configurations, and duplicated explanations are omitted.
[0014] In the following embodiment, the present invention will be described with respect to a case where the present invention is implemented in an imaging device (specifically, a digital camera with interchangeable lenses). However, the present invention is applicable to any electronic device that can be equipped with a gaze information acquisition function (a function for acquiring gaze information related to a user's gaze). Such electronic devices include video cameras, computer devices (personal computers, tablet computers, media players, PDAs, etc.), mobile phones, smartphones, game consoles, robots, drones, drive recorders, etc. These are merely examples, and the present invention is applicable to other electronic devices. In addition, the following digital cameras have a gaze detection function, an imaging function, a display function, etc., but the present invention is also applicable to a configuration in which these functions are divided and installed in multiple devices (for example, a main body and a remote controller) that can communicate with each other.
[0015] [composition] 1 is a block diagram showing an example of the configuration of a digital camera system as an example of an electronic device according to an embodiment of the present invention. The digital camera system has a body 100 of a digital camera with interchangeable lenses and a lens unit 150 that is detachable from the body 100. Note that the lens being interchangeable is not essential to the present invention.
[0016] The lens unit 150 has a communication terminal 6 that comes into contact with a communication terminal 10 provided on the body 100 when the lens unit 150 is attached to the body 100. Power is supplied from the body 100 to the lens unit 150 through the communication terminal 10 and the communication terminal 6. In addition, the lens system control circuit 4 of the lens unit 150 and the system control unit 50 of the body 100 are connected to each other through the communication terminal 10 and the communication terminal 6. Two-way communication is possible through the
[0017] In the lens unit 150, the lens group 103 is an imaging optical system composed of a plurality of lenses including a movable lens. The movable lenses include at least a focus lens. Depending on the lens unit 150, one or more of a variable magnification lens, a blur correction lens, etc. may be further included. The AF drive circuit 3 includes a motor and an actuator that drive the focus lens. The focus lens is driven by the lens system control circuit 4 controlling the AF drive circuit 3. The aperture drive circuit 2 includes a motor actuator that drives the aperture 102. The opening amount of the aperture 102 is adjusted by the lens system control circuit 4 controlling the aperture drive circuit 2.
[0018] The mechanical shutter 101 is driven by the system control unit 50 to adjust the exposure time of the image sensor 22. Note that the mechanical shutter 101 is kept fully open during moving image shooting.
[0019] The imaging element 22 is, for example, a CCD image sensor or a CMOS image sensor. The imaging element 22 has a plurality of pixels arranged two-dimensionally, and each pixel is provided with one microlens, one color filter, and one or more photoelectric conversion units. In this embodiment, each pixel is provided with a plurality of photoelectric conversion units, and each pixel is configured to be able to read out a signal for each photoelectric conversion unit. By configuring the pixels in this way, it is possible to generate a captured image, a parallax image pair, and an image signal for phase-difference AF from a signal read out from the imaging element 22.
[0020] FIG. 2(a) is a diagram showing a schematic diagram of the correspondence between the exit pupil of the lens unit 150 and each photoelectric conversion unit when a pixel of the image sensor 22 has two photoelectric conversion units.
[0021] Two photoelectric conversion units 201a and 201b provided in a pixel share one color filter 252 and one microlens 251. Light that has passed through a partial region 253a of the exit pupil (region 253) is incident on the photoelectric conversion unit 201a, and light that has passed through a partial region 253b of the exit pupil is incident on the photoelectric conversion unit 201b.
[0022] Therefore, for a pixel included in a certain pixel region, an image formed by a signal read from the photoelectric conversion unit 201a and an image formed by a signal read from the photoelectric conversion unit 201b form a parallax image pair. The parallax image pair can be used as image signals (A image signal and B image signal) for phase difference AF. Furthermore, a normal image signal (captured image) can be obtained by adding the signal read from the photoelectric conversion unit 201a and the signal read from the photoelectric conversion unit 201b for each pixel.
[0023] In this embodiment, each pixel of the image sensor 22 functions as a pixel for generating a signal for phase difference AF (focus detection pixel) and as a pixel for generating a normal image signal (image for imaging). However, some pixels of the image sensor 22 may be configured as focus detection pixels, and other pixels may be configured as imaging pixels. FIG. 2(b) shows an example of a correspondence relationship between the focus detection pixels and an area 253 of the exit pupil through which incident light passes. In the focus detection pixel shown in FIG. 2(b), the photoelectric conversion unit 201 functions in the same manner as the photoelectric conversion unit 201b in FIG. 2(a) due to the opening 254. By distributing the focus detection pixel shown in FIG. 2(b) and another type of focus detection pixel that functions in the same manner as the photoelectric conversion unit 201a in FIG. 2(a) over the entire image sensor 22, it becomes possible to set a focus detection area of substantially any location and size.
[0024] The configuration shown in Figures 2(a) and 2(b) uses an image sensor to obtain an image for recording, and a phase-difference AF However, the present invention can be implemented regardless of the AF method, such as other AF that can set a focus detection area of any size and position. For example, the present invention can be implemented even with a configuration that uses contrast AF. When using only contrast AF, each pixel has one photoelectric conversion unit.
[0025] 1, the A / D converter 23 is used to convert an analog image signal output from the imaging element 22 into a digital image signal (image data). The imaging element 22 may include the A / D converter 23.
[0026] The image data (RAW image data) output by the A / D converter 23 is processed by the image processing unit 24 as necessary, and then stored in the memory 32 via the memory control unit 15. The memory 32 is used as a buffer memory for temporarily storing image data and audio data, and as a video memory for the display unit 28.
[0027] The image processing unit 24 applies predetermined image processing to the image data, generates signals and image data, and acquires and / or generates various information. The image processing unit 24 may be a dedicated hardware circuit such as an ASIC designed to realize a specific function, or may be configured to realize a specific function by a processor such as a DSP executing software.
[0028] Here, the image processing applied by the image processing unit 24 includes pre-processing, color interpolation processing, correction processing, detection processing, data processing, evaluation value calculation processing, and the like. Pre-processing includes signal amplification, reference level adjustment, defective pixel correction, and the like. Color interpolation processing is processing for interpolating values of color components not included in image data, and is also called demosaic processing. Correction processing includes white balance adjustment, processing for correcting image luminance, processing for correcting optical aberration of the lens unit 150, and processing for correcting color, and the like. Detection processing includes detection and tracking processing of characteristic regions (for example, face regions and human body regions), person recognition processing, and the like. Data processing processing includes scaling processing, encoding and decoding processing, header information generation processing, and the like. Evaluation value calculation processing includes calculation processing of a pair of image signals for phase difference AF, evaluation values for contrast AF, evaluation values used for automatic exposure control, and the like. Note that these are examples of image processing that the image processing unit 24 can perform, and do not limit the image processing performed by the image processing unit 24. Moreover, the evaluation value calculation process may be performed by the system control unit 50.
[0029] The D / A converter 19 generates an analog signal suitable for display on the display unit 28 from the image data for display stored in the memory 32, and supplies the generated analog signal to the display unit 28. The display unit 28 has, for example, a liquid crystal display device, and performs display based on the analog signal from the D / A converter 19 on its display surface.
[0030] By continuously capturing video (capture control) and displaying the captured video (display control), the display unit 28 can function as an electronic viewfinder (EVF). A video displayed to make the display unit 28 function as an EVF is called a live view image. The display unit 28 may be provided inside the main body 100 so that it can be observed through an eyepiece, or it may be provided on the surface of the housing of the main body 100 so that it can be observed without using an eyepiece. The display unit 28 may be provided both inside the main body 100 and on the surface of the housing.
[0031] The system control unit 50 is, for example, a CPU (also called an MPU or microprocessor). The system control unit 50 loads a program stored in a non-volatile memory 56 into a system memory 52 and executes it to control the operation of the main body 100 and the lens unit 150 and realize the functions of the camera system. The system control unit 50 transmits various commands to the lens system control circuit 4 by communication through the communication terminals 10 and 6. The operation of the lens unit 150 is controlled by this.
[0032] The non-volatile memory 56 stores programs executed by the system control unit 50, various setting values of the camera system, image data of a GUI (Graphical User Interface), etc. The system memory 52 is a main memory used when the system control unit 50 executes programs. The data (information) stored in the non-volatile memory 56 may be rewritable.
[0033] As part of its operation, the system control unit 50 performs automatic exposure control (AE) processing based on evaluation values generated by the image processing unit 24 or by itself, and determines the shooting conditions. For example, the shooting conditions for still image shooting are shutter speed, aperture value, and sensitivity. The system control unit 50 determines one or more of the shutter speed, aperture value, and sensitivity according to the AE mode that is set. The system control unit 50 controls the aperture value (aperture) of the aperture mechanism of the lens unit 150. The system control unit 50 also controls the operation of the mechanical shutter 101.
[0034] In addition, the system control unit 50 drives the focus lens of the lens unit 150 based on the evaluation value or defocus amount generated by the image processing unit 24 or itself, and performs autofocus detection (AF) processing to focus the lens group 103 on a subject within the focus detection area.
[0035] The system timer 53 is a built-in clock and is used by the system control unit 50 .
[0036] The operation unit 70 has a plurality of input devices (buttons, switches, dials, etc.) that can be operated by the user. Some of the input devices of the operation unit 70 have names according to the functions assigned to them. For convenience, the shutter button 61, the mode change switch 60, and the power switch 72 are illustrated separately from the operation unit 70, but are included in the operation unit 70. If the display unit 28 is a touch display equipped with a touch panel, the touch panel is also included in the operation unit 70. The system control unit 50 monitors the operation of the input devices included in the operation unit 70. When the system control unit 50 detects an operation of an input device, it executes processing according to the detected operation.
[0037] The shutter button 61 has a first shutter switch 62 that is turned on when pressed halfway and outputs a signal SW1, and a second shutter switch 64 that is turned on when pressed all the way and outputs a signal SW2. When the system controller 50 detects the signal SW1 (ON of the first shutter switch 62), it executes a preparatory operation for still image shooting. The preparatory operation includes AE processing and AF processing. When the system controller 50 detects the signal SW2 (ON of the second shutter switch 64), it executes a still image shooting operation (image capturing and recording operation) according to the shooting conditions determined by the AE processing.
[0038] Moreover, the operation unit 70 of this embodiment has a gaze detection unit 701 that detects the user's gaze (gaze direction) and outputs the detection result (gaze information related to the user's gaze). The system control unit 50 can execute various controls in accordance with the gaze information from the gaze detection unit 701. The gaze detection unit 701 is not a member that is directly operated by the user, but is included in the operation unit 70 because the gaze detected by the gaze detection unit 701 is handled as an input.
[0039] 3(a) is a side view showing a schematic configuration example of a gaze detection unit 701 provided in the finder. The gaze detection unit 701 detects the rotation angle of the optical axis of the eyeball 501a of the user who is looking at the display unit 28 provided inside the main body 100 through the eyepiece of the finder as the gaze direction. Based on the detected gaze direction, the position at which the user is gazing on the display unit 28 (the gaze point in the displayed image) can be specified.
[0040] For example, a live view image is displayed on display unit 28, and the user can view the display content of display unit 28 through eyepiece lens 701d and dichroic mirror 701c by looking into the eyepiece window. Light source 701e can emit infrared light in the direction of the eyepiece window (toward the outside of main body 100). When the user is looking through the viewfinder, the infrared light emitted by light source 701e is reflected by eyeball 501a and returns to the inside of the viewfinder. The infrared light that enters the viewfinder is reflected by dichroic mirror 701c in the direction of light receiving lens 701b.
[0041] The light receiving lens 701b forms an eyeball image by infrared light on the imaging surface of the imaging element 701a. The imaging element 701a is a two-dimensional imaging element having a filter for infrared light imaging. The number of pixels of the imaging element 701a for detecting the line of sight may be less than the number of pixels of the imaging element 22 for shooting. The eyeball image captured by the imaging element 701a is transmitted to the system control unit 50. The system control unit 50 detects the position of the corneal reflection of infrared light and the position of the pupil from the eyeball image, and detects the line of sight direction from the positional relationship between the two. In addition, the system control unit 50 detects the position of the display unit 28 at which the user is gazing (the gaze point in the displayed image) based on the detected line of sight direction. Note that the image processing unit 24 may detect the position of the corneal reflection and the position of the pupil from the eyeball image, and the system control unit 50 may acquire these positions from the image processing unit 24.
[0042] The present invention does not depend on the method of gaze detection or the configuration of the gaze detection unit. Therefore, the configuration of the gaze detection unit 701 is not limited to that shown in FIG. 3(a). For example, as shown in FIG. 3(b), the gaze may be detected based on an image captured by a camera 701f arranged near the display unit 28 provided on the back of the main body 100. The angle of view of the camera 701f shown by the dashed line is determined so that the face of the user who takes the image while looking at the display unit 28 is captured. The direction of the gaze can be detected based on an image of the eye region (at least one of the eyeballs 501a and 501) detected from the image captured by the camera 701f. When an image of infrared light is used, a light source 701e is arranged near the camera 701f, and infrared light is projected by the light source 701e onto a subject within the angle of view to capture the image. In that case, the method of detecting the direction of the gaze from the obtained image may be the same as the method of FIG. 3(a). Also, when an image of visible light is used, light does not need to be projected. When a visible light image is used, the direction of the gaze can be detected from the positional relationship between the inner corner of the eye and the iris in the eye region.
[0043] 1, the power supply control unit 80 is composed of a battery detection circuit, a DC-DC converter, a switch circuit for switching between blocks to which electricity is applied, etc., and detects whether a battery is attached, the type of battery, and the remaining battery power. The power supply control unit 80 also controls the DC-DC converter based on the detection results and instructions from the system control unit 50, and supplies the necessary voltage to each unit including the recording medium 200 for the necessary period.
[0044] The power supply unit 30 is composed of a battery, an AC adapter, or the like. The I / F 18 is an interface with a recording medium 200 such as a memory card or a hard disk. Data files such as captured images and sounds are recorded on the recording medium 200. The data files recorded on the recording medium 200 can be read out via the I / F 18 and played back via the image processing unit 24 and the system control unit 50.
[0045] The communication unit 54 realizes communication with an external device by at least one of wireless communication and wired communication. Images captured by the imaging element 22 (captured images; including live view images) and images recorded on the recording medium 200 can be transmitted to an external device via the communication unit 54. In addition, image data and various other information can be received from an external device via the communication unit 54.
[0046] The attitude detection unit 55 detects the attitude of the main body 100 with respect to the direction of gravity. The attitude detection unit 55 may be an acceleration sensor or an angular velocity sensor. The system control unit 50 detects the attitude during shooting. Orientation information corresponding to the posture detected by the output unit 55 can be recorded in a data file that stores image data obtained by the image capture. The orientation information can be used, for example, to display a recorded image in the same orientation as when it was captured.
[0047] The main body 100 of this embodiment can perform various controls so that the characteristic region detected by the image processing unit 24 becomes an appropriate image. For example, the main body 100 can perform automatic focus detection (AF) to focus on the characteristic region and automatic exposure control (AE) to properly expose the characteristic region. The main body 100 can also perform automatic white balance to properly adjust the white balance of the characteristic region and automatic flash light amount adjustment to properly adjust the brightness of the characteristic region. Note that the control to make the characteristic region appropriate is not limited to these. For example, the image processing unit 24 applies a known method to the live view image to detect an area determined to match a predetermined characteristic as a characteristic region, and outputs information such as the position, size, and reliability of each characteristic region to the system control unit 50. Note that the present invention does not depend on the type or detection method of the characteristic region. Also, since a known method can be used to detect the characteristic region, a description of the detection method of the characteristic region will be omitted.
[0048] The characteristic region can also be used to detect subject information. When the characteristic region is a face region, the subject information detected may include, for example, whether or not red-eye occurs, whether or not the eyes are closed, and facial expression (e.g., smiling). Note that the subject information is not limited to these.
[0049] In this embodiment, one feature area (main subject area) to be used for various controls or to obtain subject information can be selected from a plurality of feature areas, which are examples of a plurality of image areas whose sizes and positions are indefinite, by using the user's gaze. The action of the user directing the gaze so as to be detected by the gaze detection unit 701 can be called a gaze input.
[0050] [Operation] The photographing process performed by the main body 100 will be described below with reference to Fig. 4. Fig. 4 is a flowchart of the photographing process according to this embodiment. The process in Fig. 4 starts when the main body 100 is started in the photographing mode, when the photographing mode is set as the mode of the main body 100, and so on.
[0051] In step S1, the system control unit 50 starts driving the image sensor 22 and starts acquiring imaging data (images). As a result, images having a sufficient resolution for performing at least one of focus detection, subject detection, and live view display are sequentially acquired. Here, since the driving operation is for capturing moving images for live view display, image capturing using a so-called electronic shutter is performed, in which charge accumulation for a time according to the frame rate for live view display is performed each time the imaging data is read out. The live view display is a display that causes the display unit 28 to function as an electronic viewfinder (EVF), and is a display that shows the subject in approximately real time. The live view display is performed, for example, so that the user (photographer) can check the shooting range and shooting conditions, and the frame rate for the live view display is, for example, 30 frames / second (imaging interval 33.3 ms) or 60 frames / second (imaging interval 16.6 ms).
[0052] In step S2, the system control unit 50 starts a process of acquiring focus detection data and captured image data from the current imaging data. The focus detection data includes data of a first image and a second image constituting a parallax image pair in the focus detection area. For example, the data of pixels constituting the first image is data obtained from the photoelectric conversion unit 201a in FIG. 2(a), and the data of pixels constituting the second image is data obtained from the photoelectric conversion unit 201b. The captured image data is data of a captured image, and is data obtained by adding together the data of the first image and the data of the second image and applying color interpolation processing or the like in the image processing unit 24. In this way, one capture It is possible to obtain focus detection data and captured image data by using the image. Note that, when focus detection pixels and imaging pixels are separate pixels, captured image data is obtained by performing an interpolation process or the like to obtain pixel values at the positions of the focus detection pixels.
[0053] In step S3, the system control unit 50 starts a live view display process. In the live view display process, the system control unit 50 uses the image processing unit 24 to generate an image for live view display from the current captured image (captured image data), and displays the generated image in the image display area of the display unit 28. The image display area is any of the entire area of the display surface of the display unit 28, the entire area of the screen (window, etc.) displayed on the display unit 28, and a partial area of the display surface or screen. Note that the image for live view display is, for example, a reduced image that matches the resolution of the display unit 28, and the image processing unit 24 can perform reduction processing when generating the captured image. In this case, the system control unit 50 displays the generated captured image (image after reduction processing) on the display unit 28. As described above, the live view display shows the subject in approximately real time, so the user can easily adjust the composition and exposure conditions at the time of shooting while checking the live view display. Furthermore, in this embodiment, the main body 100 can detect subjects such as a person's face or an animal from the captured image. Therefore, in the live view display, a frame indicating the area of the detected subject can also be displayed.
[0054] In step S4, the system control unit 50 starts gaze detection and focus detection. In gaze detection, the gaze detection unit 701 acquires gaze information indicating the gaze position (position of the user's gaze) on the display surface of the display unit 28 at a predetermined time interval in association with the captured image the user was looking at. Furthermore, in step S4, the system control unit 50 starts displaying a predetermined item (such as a circle) at the gaze position on the display surface of the display unit 28 to notify the user of the detected gaze position. Focus detection will be described later.
[0055] In step S5, the system control unit 50 determines whether or not the signal SW1 (ON of the first shutter switch 62; shooting preparation instruction; half-pressed state of the shutter button 61) has been detected. If the system control unit 50 determines that the signal SW1 has been detected, the process proceeds to step S6, and if it determines that the signal SW1 has not been detected, the process proceeds to step S11.
[0056] In step S6, the system control unit 50 sets the focus detection area and performs the focus detection started in step S4. Here, the system control unit 50 sets the focus detection area based on the results of the gaze detection started in step S4 (sequentially detected gaze detection results). The detected gaze position includes errors due to various factors with respect to the position of the subject intended by the user. In this embodiment, in order to obtain more accurate (more suitable) gaze information, the statistical method is changed, such as processing the detected gaze position (gaze information) and controlling the gaze detection timing (timing to detect the gaze position) according to the situation. Details will be described later. Note that the gaze information after such processing (processing the gaze position and controlling the gaze detection timing) may be obtained from the outside. In step S6, the focus detection area is set using the gaze information after such processing. At that time, the gaze position and the center position of the focus detection area may or may not be aligned. When there are candidates for the focus detection area, such as the area of the detected subject, the area of the subject closest to the gaze position (area including the gaze position) among the multiple detected subjects can be set as the focus detection area by linking it to the gaze position. Then, the system control unit 50 detects the focal position (in-focus point) where the focus detection area is focused. From step S6 onwards, focus detection (including setting of the focus detection area) using the gaze information is repeatedly executed. Note that the method of setting the focus detection area before the gaze information is acquired is not particularly limited. For example, an area of the subject arbitrarily selected by the user can be set as the focus detection area.
[0057] In focus detection, the image shift amount (phase difference) between the first image and the second image constituting the parallax image pair in the focus detection area is calculated, and the defocus amount (vector amount including magnitude and direction) in the focus detection area is calculated from the image shift amount. The focus detection will be specifically described below.
[0058] First, the system control unit 50 applies shading correction to the first image and the second image to reduce the light amount difference (brightness difference) between the first image and the second image. Furthermore, the system control unit 50 applies filtering to the first image and the second image after the shading correction to extract an image (data) of a spatial frequency for performing phase difference detection.
[0059] Next, the system control unit 50 performs shift processing to relatively shift the first image and second image after the filter processing in the pupil division direction, and calculates a correlation value that indicates the degree of match between the first image and the second image.
[0060] Here, the data of the kth pixel in the first image after the filter process is A(k), the data of the kth pixel in the second image after the filter process is B(k), and the range of the number k corresponding to the focus detection area is W. Furthermore, the shift amount by the shift process is s1, and the range (shift range) of the shift amount s1 is Γ1. In this case, the correlation value COR(s1) can be calculated using the following formula 1.
number
[0061] Specifically, data A(k) of the k-th pixel in the first image after the filter processing is associated with data B(k-s1) of the k-s1-th pixel in the second image after the filter processing by shifting the shift amount s1. Next, data B(k-s1) is subtracted from data A(k) to calculate the absolute value of the subtraction result. Then, the sum of the absolute values calculated within the range W corresponding to the focus detection area is calculated as the correlation value COR(s1). Note that, if necessary, the correlation amount calculated for each row may be added across multiple rows for each shift amount.
[0062] Next, the system control unit 50 calculates the real-valued shift amount at which the correlation value becomes minimum as the image shift amount p1 by sub-pixel calculation from the correlation value. Then, the system control unit 50 calculates the defocus amount by multiplying the calculated image shift amount p1 by a conversion coefficient K1 according to the image height of the focus detection area, the F-number of the imaging lens (imaging optical system; imaging optical system), and the exit pupil distance.
[0063] In step S7, the system control unit 50 drives the focus lens based on the defocus amount detected (calculated) in step S6. If the detected defocus amount is smaller than a predetermined value, it is not necessarily necessary to drive the focus lens.
[0064] In step S8, the system control unit 50 performs the processes started in steps S1 to S4 (image capture, live view display, gaze detection, display of gaze position, focus detection, etc.). The method of focus detection is the same as the method in step S6 (focus detection using gaze information). Note that the process of step S8 may be performed in parallel with the process of step S7 (while the focus lens is being driven). Also, the focus detection area may be changed based on a change in the live view display (captured image), a change in the gaze position, etc.
[0065] In step S9, the system control unit 50 determines whether the signal SW2 (the second shutter switch 64 is ON; shooting instruction; the shutter button 61 is fully pressed) is detected. If the system control unit 50 determines that the signal SW2 is detected, the process proceeds to step S10. If it is determined that the signal SW2 has not been detected, the process returns to step S5.
[0066] In step S10, the system control unit 50 determines whether or not to record (take) the captured image. If the system control unit 50 determines that the captured image is to be recorded, the process proceeds to step S300, and if the system control unit 50 determines that the captured image is not to be recorded, the process proceeds to step S400. In this embodiment, continuous shooting (continuous shooting; continuous shooting) is performed by pressing and holding the second shutter switch 64, and during continuous shooting, the process switches between shooting (recording of captured images) and focus detection. The process may be switched every time one image is captured so that shooting and focus detection are performed alternately. The process may be switched so that one focus detection is performed every time multiple images are captured (for example, three times). This allows focus detection to be performed favorably without significantly reducing the number of images captured per unit time.
[0067] In step S300, the system control unit 50 executes a shooting subroutine. The shooting subroutine will be described in detail later. After step S300, the process returns to step S9.
[0068] In step S400, the system control unit 50 performs the processes (image capture, live view display, gaze detection, display of gaze position, focus detection, etc.) started in steps S1 to S4, similarly to step S8. However, due to the frame rate (image capture frame rate) of continuous shooting and the generation process of generating recorded images (images to be recorded) from captured images, the display period, display update rate (interval), display delay, etc. of captured images in step S400 are different from those in step S8. After step S400, the process returns to step S9.
[0069] When the display period, display update rate (interval), display delay, etc. of the captured image change, the user's gaze position is affected to a certain extent. In this embodiment, in consideration of the fact that an error occurs in the detected gaze position in response to such a change in the display state, a statistical method such as processing the gaze position and controlling the gaze detection timing is preferably changed. This makes it possible to obtain a highly accurate (preferable) gaze position regardless of the change in the display state. The obtained gaze position (gaze information) is used for displaying the gaze position, setting the focus detection area, linking with the subject area, etc., as described above. Details will be described later.
[0070] As described above, if the signal SW1 is not detected in step S5, the process proceeds to step S11. In step S11, the system control unit 50 determines whether or not there has been an instruction (operation) to end the shooting process. The end instruction is, for example, an instruction to change the mode of the main body 100 from the shooting mode to another mode, or an instruction to turn off the power of the main body 100. If the system control unit 50 determines that there has been an end instruction, it ends the shooting process of FIG. 4, and if it determines that there has been no end instruction, it returns the process to step S5.
[0071] Next, the photographing subroutine executed in S300 of Fig. 4 will be described in detail with reference to Fig. 5. Fig. 5 is a flowchart of the photographing subroutine according to this embodiment.
[0072] In step S301, the system control unit 50 executes exposure control and determines the shooting conditions (shutter speed, aperture value, shooting sensitivity, etc.). This exposure control can be executed using any known technology, for example, based on the luminance information of the captured image. The system control unit 50 then controls the operation of the aperture 102 and the shutter 101 (mechanical shutter) based on the determined aperture value and shutter speed. The system control unit 50 also causes the image sensor 22 to accumulate electric charge during a period during which the image sensor 22 is exposed through the shutter 101 (exposure period).
[0073] In step S302 after the exposure period ends, the system control unit 50 The system control unit 50 acquires (reads) a captured image for detecting the focus state from the image sensor 22. Furthermore, the system control unit 50 acquires (reads) a focus detection image, which is one of the first image and the second image constituting a pair of parallax images in the focus detection area, from the image sensor 22. The focus detection image is used to detect the focus state of the subject when reproducing a recorded image (a photographed image; an image recorded based on a captured image). The amount of data of the focus detection image may be reduced by acquiring an image of a narrower area than the captured image or an image of a lower resolution than the captured image as the focus detection image. The difference between one of the first image and the second image and the captured image can be calculated as the other of the first image and the second image. In this embodiment, the captured image and one of the focus detection images are acquired (read) and recorded, and the other focus detection image is calculated. Subsequent image processing (processing related to the image) is performed on the acquired captured image and one of the focus detection images.
[0074] In step S303, the system control unit 50 uses the image processing unit 24 to perform defective pixel interpolation (correction) processing on the image acquired in step S302. In step S304, the system control unit 50 uses the image processing unit 24 to perform other image processing on the image after the defective pixel interpolation processing of step S303. The other image processing includes demosaic (color interpolation) processing, white balance processing, gamma correction (tone correction) processing, color conversion processing, edge enhancement processing, encoding processing, and the like. In step S305, the system control unit 50 records the images after the processing of steps S303 and S304 (the captured image for still image shooting and one of the focus detection images) in the memory 32 as an image data file.
[0075] In step S306, the system control unit 50 records the characteristic information of the main body 100 in the memory 32 (and the memory in the system control unit 50) in association with the recorded image (captured image) recorded in step S305. The characteristic information of the main body 100 includes, for example, the following information: Information about shooting conditions (aperture value, shutter speed, shooting sensitivity, etc.) Information regarding the image processing applied by the image processing unit 24 Information regarding the light receiving sensitivity distribution of the image sensor 22 Information regarding vignetting of the shooting light beam within the main body 100 Information regarding the distance from the mounting surface of the main body 100 and the lens unit 150 to the imaging element 22 Information about manufacturing tolerances
[0076] Since the light receiving sensitivity distribution depends on the on-chip microlens and the photoelectric conversion unit, information on these components may be recorded as information on the light receiving sensitivity distribution. Information indicating sensitivity according to a position at a predetermined distance on the optical axis from the image sensor 22 may be recorded as information on the light receiving sensitivity distribution. Information indicating a change in sensitivity with respect to a change in the incident angle of light may be recorded as information on the light receiving sensitivity distribution.
[0077] In step S307, the system control unit 50 records characteristic information of the lens unit 150 in the memory 32 (and the memory in the system control unit 50) in association with the recorded image recorded in step S305. The characteristic information of the lens unit 150 includes, for example, exit pupil information, frame information, focal length information at the time of shooting, F-number information at the time of shooting, aberration information, manufacturing error information, and subject distance information associated with the focus lens position at the time of shooting.
[0078] In step S308, the system control unit 50 records image-related information related to the recorded image recorded in step S305 in the memory 32 (and in the memory within the system control unit 50). The image-related information includes, for example, information related to the focus detection operation before shooting (before recording), subject movement information, and information related to the accuracy of the focus detection operation.
[0079] In step S309, the system control unit 50 displays the image recorded in step S305 on the display unit 28 (preview display). This allows the user to easily check the image. The image for recording in step S305 is generated by carrying out various processes such as steps S303 and S304, but the image for preview display in step S309 may be generated without carrying out these various processes since it is an image for simple confirmation. When generating an image for preview display without carrying out these various processes, the time lag from exposure to display can be shortened by carrying out the preview display in step S309 in parallel with the processes from step S303 onwards.
[0080] Next, the gaze detection adjustment process including processing of the gaze position (gaze information) and changing of the statistical method such as controlling the gaze detection timing will be described with reference to Fig. 6. Fig. 6 is a flowchart of the gaze detection adjustment process according to this embodiment. The process of Fig. 6 is started in response to the execution of step S4 of Fig. 4, and is repeatedly performed in parallel with the process after step S4.
[0081] In step S201, the system control unit 50 acquires information on the gaze position detected by the gaze detection unit 701 (gaze information).
[0082] In step S202, the system control unit 50 acquires live view setting information at the timing when the process of step S201 is performed (the timing when the gaze position is detected). The live view setting information is information such as the display period, display update rate (interval), and display delay of captured images (frames) in live view display. In the camera system of this embodiment, the detected gaze position may have a position shift (offset or variation) with respect to the position intended by the user due to the influence of the live view setting information. Therefore, in this embodiment, the statistical method such as processing the gaze information and controlling the gaze detection timing is changed according to the live view setting information. The cause of the position shift due to the influence of the live view setting information will be described later.
[0083] In step S203, the system control unit 50 performs processing of the gaze information acquired in step S201 based on the live view setting information acquired in step S202. The processing may include weighted synthesis (smoothing processing; filtering processing) of a plurality of gazes corresponding to a plurality of timings, thinning processing of gazes detected sequentially, changing the number of gaze information (number of samples) used for gaze area determination, and the like. The number of gaze information used for gaze area determination can be said to be the length of the period during which the gaze information used for gaze area determination is acquired. In this embodiment, the first gaze information and the second gaze information are generated by different processing (statistical methods). Details of the processing in step S203 will be described later.
[0084] In step S204, the system control unit 50 performs processing based on the gaze information (first gaze information and second gaze information) generated by the processing. The first gaze information is used to display the gaze position, and the second gaze information is used to set the focus detection area.
[0085] In step S205, the system control unit 50 determines whether or not it is necessary to change the gaze detection timing (sample timing) as a change in the statistical method. Specifically, the system control unit 50 determines whether or not there is a change in the live view setting information (such as a display update rate or a display delay). In the shooting process of FIG. 4, when the state before shooting is shifted to continuous shooting, the display update rate or the display delay changes. When the system control unit 50 determines that it is necessary to change the gaze detection timing, that is, when it determines that there is a change in the live view setting information, it advances the process to step S206. On the other hand, when the system control unit 50 determines that it is not necessary to change the gaze detection timing, that is, when it determines that there is no change in the live view setting information, it ends the gaze detection adjustment process of FIG. 6. Since the gaze detection adjustment process is repeated as described above, even if the gaze detection adjustment process is ended here, it is started again from step S201.
[0086] In step S206, the system control unit 50 changes the gaze detection timing. The process of step S206 is a process of changing the gaze detection timing so that gaze information that matches the user's intention can be acquired when it is difficult for the user to see the vicinity of the intended subject, such as when the display update rate is low or the display delay is large. The details of the process of step S206 will be described later.
[0087] After the live view setting information is acquired, there is no restriction on the order of steps S205 and S206 and other processes, and steps S205 and S206 may be performed at any time. Also, steps S205 and S206 may be performed in parallel with other processes.
[0088] Next, with reference to Figs. 7(a) and 7(b), the reason for generating the first and second gaze information by different processing (different generation methods; different statistical methods) in the process of step S203 in Fig. 6 will be described. Figs. 7(a) and 7(b) show an example of a scene during imaging, in which a live view image is updated at a uniform display update rate from frame F1 to frame F5. The display update rate is, for example, 60 fps or 120 fps. That is, the time interval for updating the live view image displayed on the display unit 28 is, for example, 1 / 60 seconds or 1 / 120 seconds. Figs. 7(a) and 7(b) show five frames, frames F1 to F5, in chronological order as a screen displayed on the display unit 28. In each frame, items W1 to W5 displayed superimposed on the live view image indicate the detected subject area. Since the subject is close, the head area is detected.
[0089] Also, in each frame, items P1 to P5 and P11 to P15 displayed superimposed on the live view image indicate the gaze position. Items P1 to P5 in Fig. 7(a) are based on the second gaze information, and items P11 to P15 in Fig. 7(b) are based on the first gaze information. For example, item P1 indicating the gaze position of the user looking at frame F1 is displayed after the gaze position detection process and processing process are completed, but item P1 is shown in Fig. 7(a) without considering the display delay due to the detection process and processing process. Other items indicating the gaze position are also shown in Figs. 7(a) and 7(b) without considering the display delay due to the detection process and processing process.
[0090] In addition, in each frame, items Pd1 to Pd5, Pd11 to Pd15 displayed superimposed on the live view image indicate the gaze position and have a form that is easier to view than items P1 to P5, P11 to P15. Items Pd1 to Pd5 in Fig. 7(a) are based on the second gaze information, and items Pd11 to Pd15 in Fig. 7(b) are based on the first gaze information.
[0091] The shapes of the above-mentioned various items are not limited to those shown in the drawings (broken rectangle, cross, and dot-dash circle). As for the gaze position, only one of the items P1 to P5, P11 to P15 and the items Pd1 to Pd5, Pd11 to Pd15 may be displayed.
[0092] A case where the second gaze information is used will be described with reference to FIG. 7(a). The second gaze information is generated by a processing process that generally maintains the detected gaze position. For this reason, the second gaze information can be suitably used for processing that requires immediacy, and in this embodiment, it is used for setting the focus detection area. Note that the predetermined processing based on the second gaze information is not limited to setting the focus detection area as long as it is processing that requires immediacy. The predetermined processing based on the first gaze information is also not limited to displaying the gaze position. It is only necessary that the predetermined processing based on the first gaze information and the predetermined processing based on the second gaze information are different from each other. A method for acquiring the second gaze information will be described later.
[0093] By using the second gaze information to set the focus detection area, for example, the subject can be suitably tracked. 7A, items P1 to P5 at the gaze position are located within items W1 to W5 in the subject area, respectively, so the subject (head) corresponding to items W1 to W5 can be tracked from frame F1 to frame F5. Therefore, the subject (head) area corresponding to items W1 to W5 can be set as the focus detection area from frame F1 to frame F5.
[0094] However, when the second gaze information is used to display the gaze position, as shown by items Pd1 to Pd5, the gaze position changes significantly for each frame, making it impossible to display the gaze position with good visibility. This phenomenon occurs because it is difficult for a user to keep gazing at the same part of an object (for example, a person's eyes), and the gaze position varies. Specifically, this phenomenon occurs due to the variation in gaze position that occurs even when gazing at a fixed point, or the variation in gaze position when observing a moving subject.
[0095] A case where the first gaze information is used will be described with reference to FIG. 7(b). The first gaze information is generated, for example, by a processing process that suppresses a change in the gaze information due to a change in the gaze, that is, a processing process that makes the change in the first gaze information smaller than the change in the second gaze information with respect to a change in the gaze. A method for acquiring the first gaze information will be described later. In FIG. 7(b), since the first gaze information is used to display the gaze position, the position change of items Pd11 to Pd15 is suppressed from the position change of items Pd1 to Pd5 in FIG. 7(a), and the gaze position can be displayed with good visibility. In this way, by using the second gaze information, the gaze position can be displayed with good visibility.
[0096] Next, with reference to Figs. 8(a) and 8(b), the reason why it is necessary to change the statistical method such as processing of gaze information (step S203 in Fig. 6) and control of gaze detection timing (step S206 in Fig. 6) will be described. Figs. 8(a) and 8(b) show an example of a scene during imaging. In Fig. 8(a), 15 frames F101 to F115 are shown in chronological order as a screen displayed on the display unit 28, and in Fig. 8(b), 15 frames F201 to F215 are shown in chronological order as a screen displayed on the display unit 28. In each frame, items W101 to W115 and W201 to W215 displayed superimposed on the live view image indicate the detected subject area. As the subject approaches, the detected area changes from the whole body to the upper body to the head.
[0097] Furthermore, in each frame, items P101-P115, P201-P215 displayed superimposed on the live view image indicate the gaze position. Items P101-P115, P201-P215 are based on gaze information before processing. Note that, for example, item P101 indicating the gaze position of the user looking at frame F101 is displayed after the gaze position detection process is completed, but in Fig. 8(a), item P101 is displayed without considering the delay in display due to the detection process.
[0098] 8A shows a case where the live view image is updated at a uniform display update rate from frame F101 to frame F115. The display update rate is, for example, 60 fps or 120 fps.
[0099] FIG. 8(b) shows a case where a change in the display update rate occurs during the period from frame F201 to frame F215. Due to the change in the display update rate, updating of the live view image stops during the period from frames F209 to F211, and the same live view image as that of frame F209 is displayed. Similarly, during the period from frames F212 to F214, the same live view image as that of frame F212 is displayed. This phenomenon can occur, for example, when the shooting process of FIG. 4 is executed. Specifically, during the period from frames F201 to F209, the processes of steps S1 to S9 of FIG. 4 are executed, and the display of the live view image stops. The update rate is constant (e.g., 60 fps). Thereafter, the processing from step S10 in FIG. 4 is performed, and when the camera transitions to a continuous shooting state, the display update rate of the live view image changes (e.g., 20 fps) as shown in frames F209 to F215. Acquiring a recorded image during continuous shooting requires a relatively long processing time compared to acquiring a live view image, due to the effects of reading images from the image sensor and image processing of the read images. Therefore, the display update rate is reduced during continuous shooting, resulting in the state shown in FIG. 8(b).
[0100] In FIG. 8(a), the time interval (display update interval) for updating the live view image displayed on the display unit 28 and the delay time (display delay time) from acquiring (capturing) the live view image to displaying it on the display unit 28 are both constant. This allows stable gaze detection when the distance between the subject (person) that the user wants to observe and the user's gaze position is relatively short. However, it is difficult for the user to keep gazing at the same part of an object (e.g., the eyes of a person), and the gaze position varies. Specifically, there is variation in the gaze position even when gazing at a fixed point, and variation in the gaze position occurs when observing a moving subject.
[0101] Therefore, in this embodiment, in order to suppress the variation in the gaze position, the statistical method is changed, such as processing the gaze information (step S203 in FIG. 6) and controlling the gaze detection timing (step S206 in FIG. 6). The change in the statistical method will be described later.
[0102] In FIG. 8B, when changing from frame F211 to frame F212, the position of the subject changes significantly due to a low display update rate. In such a case, the user cannot immediately move his / her gaze, and a state may occur in which the user gazes at a position far from the subject (gaze position item P212). As the user then moves his / her gaze, the gaze position gradually approaches the subject in frames F213 and F214 (gaze position items P213 and P214). In this way, depending on the display update rate, the user's gaze position may become far from the subject (the area intended by the user). If the focus detection area is set using the gaze position in such a state, for example, the state of frame F212, the focus detection area intended by the user cannot be set, and the focus state intended by the user cannot be realized.
[0103] Therefore, in this embodiment, the statistical method such as processing of gaze information and control of gaze detection timing is changed based on the display update rate so that a gaze position not intended by the user is not used for setting the focus detection area, etc. The change of the statistical method will be described later.
[0104] In FIG. 8(b), the display delay time is the same as that in FIG. 8(a), but the display delay time may change by transitioning to the continuous shooting state. Specifically, acquisition of a recording image during continuous shooting requires a relatively long processing time compared to acquisition of a live view image due to the effects of image reading from the image sensor and image processing of the read image. Therefore, the display delay time is likely to be long during continuous shooting. When the display delay time is long, the user feels uncomfortable because the display is delayed in response to an operation (e.g., panning operation) performed on the main body 100. As a result, the user's gaze position varies. In consideration of such a case, the statistical method, such as processing of gaze information and control of gaze detection timing, may be changed based on the display delay time so that a gaze position not intended by the user is not used for setting the focus detection area. The statistical method may be changed based on either the display update rate or the display delay time, or both.
[0105] Next, processing of line-of-sight information will be described with reference to Fig. 9. Fig. 9 is an example of a timing chart of live view display, line-of-sight detection, and processing.
[0106] The type and display period of live view images are shown in the upper part of FIG. 9. In FIG. 9, images D1 to D12 are displayed in order. The display of images D1 to D5 is started in step S3 of FIG. This is a live view display (LV) in which images D1 to D5 are updated and displayed at, for example, 60 fps. The signal SW2 is detected during the display of image D5, and the process proceeds to step S10 in FIG. 4. Thereafter, the display of the recorded images (images D7, D9) acquired in step S300 and the display of the images (images for focus detection; images D8, D10) acquired in step S400 are alternately performed. Since the display of the recorded images takes time as described above, the display of image D6 is not updated (frozen) like the display of images D1 to D5, and the display period of image D6 is extended compared to the display period of images D1 to D5. The signal SW2 is no longer detected during the display of image D10, and the process returns to the live view display (images D11, D12) started in step S3 in FIG. 4.
[0107] The middle part of FIG. 9 shows the processing for obtaining the second gaze information, with gaze detection timings E1 to E11 and acquisition timings A1 to A11 of the second gaze information being indicated by black circles.
[0108] The gaze position is detected by the gaze detection unit 701 in parallel with image capture, live view display, and the like. In Fig. 9, the gaze position is detected at a constant detection rate regardless of whether continuous shooting is in progress. Specifically, the gaze position is detected 30 times per second. However, due to a synchronization process that synchronizes the gaze detection timing E11 after continuous shooting with the display of the image D12, the detection interval from the gaze detection timing E10 to the gaze detection timing E11 is different from the other detection intervals.
[0109] Since the acquisition timings A1 to A3, A11 of the second gaze information are during the live view display at 60 fps, it is considered that there is no large error in the detected gaze position (gaze information before processing). Therefore, at the acquisition timings A1 to A3, A11, as shown by the arrows pointing to those acquisition timings, the gaze position information detected at the gaze detection timings E1 to E3, E11 is acquired as it is as the second gaze information. At the acquisition timings A4 to A10, as shown by the arrows pointing to those acquisition timings, position information obtained by averaging a plurality of gaze positions is acquired as the second gaze information. The plurality of gaze positions for obtaining the second gaze information are, for example, a predetermined number of gaze positions obtained up to the acquisition timing of the second gaze information. Specifically, at the acquisition timing A4, position information obtained by averaging the gaze position detected at the gaze detection timing E3 and the gaze position detected at the gaze detection timing E4 is acquired as the second gaze information. As described above, when the display update rate is decreased or the display delay time is increased, the user does not gaze at the intended position (such as a subject), and an error occurs in the detected gaze position (a deviation between the subject position intended by the user and the detected gaze position). Therefore, in Fig. 9, the information on the detected gaze position is not used as the second gaze information as it is, but is processed by averaging (weighted synthesis) or the like to obtain the second gaze information. This makes it possible to reduce the influence of errors in the detected gaze position.
[0110] The lower part of FIG. 9 shows the processing for obtaining the first gaze information, with gaze detection timings E1 to E11 and acquisition timings A1' to A11' of the first gaze information being indicated by black circles.
[0111] Unlike the processing process for obtaining the second gaze information described above, in the processing process for obtaining the first gaze information, position information obtained by averaging a plurality of gaze positions is obtained as the first gaze information at all of the acquisition times A1' to A11', as shown by the arrows pointing to those acquisition times. The plurality of gaze positions for obtaining the first gaze information are, for example, a predetermined number of gaze positions obtained up to the acquisition time of the first gaze information. Furthermore, in order to display the gaze positions with good visibility based on the first gaze information, the first gaze information is obtained using more gaze positions than the gaze positions for obtaining the second gaze information. Specifically, at the acquisition time A4', position information obtained by averaging the three gaze positions detected at the gaze detection times E2, E3, and E4 is obtained as the first gaze information. As described above, when the display update rate is reduced or the display delay time is long, it is possible that the user is not gazing at the intended position (such as a subject) and the gaze position detected is not displayed correctly. An error occurs in the line position (a deviation between the subject position intended by the user and the detected gaze position). Therefore, in Fig. 9, the information on the detected gaze position is not used as the first gaze information as is, but is processed by averaging (weighted synthesis) or the like to obtain the first gaze information. This makes it possible to reduce the influence of errors in the detected gaze position.
[0112] Although not shown in FIG. 9, when a blackout image is displayed during continuous shooting, weighted synthesis such as averaging processing may be performed without using (thinning out) the gaze position detected during the display of the blackout image.
[0113] In FIG. 9, the averaging process is not performed before the start of continuous shooting, but is performed during continuous shooting to obtain the second gaze information, and the averaging process is always performed to obtain the first gaze information. The same number of gaze positions are always used in the averaging process. However, the processing process for obtaining the first gaze information and the second gaze information is not limited to this. As described above, the error of the gaze position becomes larger during continuous shooting compared to before or after continuous shooting. For this reason, the averaging process may be performed before or after continuous shooting to average a first number of gaze positions, and the averaging process may be performed during continuous shooting to average a second number of gaze positions greater than the first number. By reducing the number of gaze positions used in the averaging process, it is possible to obtain gaze information (after processing) that emphasizes immediacy (low delay) over error reduction, and by increasing the number of gaze positions used in the averaging process, it is possible to obtain gaze information that emphasizes error reduction. In other words, the difference in the statistical method may include a difference in the number of gaze information (number of samples) used in the averaging process.
[0114] FIG. 9 shows an example of averaging (weighted synthesis in which multiple gaze positions are synthesized with the same weight), but the weights of multiple gaze positions do not have to be the same. For example, a gaze position with a large difference between the gaze detection timing and the current time may be significantly different from the current gaze position or the gaze position intended by the user. Therefore, in weighted synthesis, a smaller weight may be assigned to the gaze position as the difference between the gaze detection timing and the current time increases. By doing so, it is possible to obtain gaze information (after processing) with reduced error. At this time, the balance of weights may be changed depending on whether continuous shooting is being performed or not, or the number of gaze positions used for weighted synthesis may be changed. In other words, the difference in statistical methods may include a difference in the balance of weights in weighted synthesis, a difference in the number of gaze information (number of samples) used for weighted synthesis, and the like.
[0115] Next, a processing process different from that in FIG. 9 will be described with reference to FIG. 10. FIG. 9 shows an example of processing including averaging, but FIG. 10 shows an example of processing including thinning. That is, FIG. 10 shows an example in which a difference in statistical method includes a difference in thinning. Like FIG. 9, FIG. 10 is an example of a timing chart of live view display, gaze detection, and processing. The top of FIG. 10 is the same as the top of FIG. 9, and gaze detection timings E1 to E11 (middle and bottom) in FIG. 10 are the same as those in FIG. 9. In FIG. 10, the timing of acquiring the second gaze information (middle) and the timing of acquiring the first gaze information (bottom) are different from those in FIG. 9.
[0116] 10, as shown in the middle, the second gaze information is acquired by thinning out the gaze positions (unprocessed gaze information) detected at the gaze detection timings E5 and E8. Specifically, at acquisition timings C1-C4, C6, C7, and C9-C11 corresponding to the gaze detection timings E1-E4, E6, E7, and E9-E11, information on the gaze positions detected at the corresponding gaze detection timings is acquired as the second gaze information.
[0117] When the display update rate is low (during the display period of images D6 to D10), the gaze position detected immediately after the display image is switched has a large error, as shown in frame F212 in FIG. 8(b). For this reason, it is preferable to perform thinning processing so as not to use such gaze positions (gaze positions with a large error). In FIG. 10, gaze detection timing E5 is immediately after the display image is switched from image D6 to image D7, and gaze detection timing E8 is immediately after the display image is switched from image D6 to image D7. This is immediately after the displayed image is switched from image D8 to image D9. For this reason, in the middle part of Fig. 10, the gaze positions (unprocessed gaze information) detected at gaze detection timings E5 and E8 are thinned out. The thinning process is, for example, a process of thinning out gaze positions detected during a period from a first time to a second time from a switch of the displayed image when the display update rate is equal to or lower than a predetermined value. The thinning process may be a process of thinning out gaze positions detected within a predetermined time from a switch of the displayed image when the display update rate is equal to or lower than a predetermined value.
[0118] 10, as shown in the lower part, the first gaze information is acquired by thinning out the gaze positions (gaze information before processing) detected at gaze detection timing E5. Specifically, at acquisition timings C1'-C4', C6'-C11' corresponding to gaze detection timings E1-E4, E6-E11, information on the gaze positions detected at the corresponding gaze detection timings is acquired as the second gaze information. Note that, although an example in which the gaze positions are thinned out only at the start of continuous shooting has been shown, the gaze positions detected at gaze detection timing E8 may be further thinned out in the same manner as in the acquisition of the second gaze information.
[0119] The condition for initiating the thinning process is not limited to a display update rate equal to or lower than a predetermined value. As described above, when the movement of the subject during display update is large, an error occurs in the detected gaze position (gaze information before processing). Therefore, the thinning process may be performed when the display update rate is equal to or lower than a predetermined value and the amount of movement of the detected subject position is large. By changing the gaze position to be thinned out, the second gaze information for setting the focus detection area and the like and the first gaze information for displaying the gaze position and the like can be suitably acquired.
[0120] 10, the second gaze information acquired at acquisition timing C6 and the first gaze information acquired at acquisition timing C6' can be linked as gaze information detected in image D7. The original information of these processed gaze information (first gaze information and second gaze information) is acquired at gaze detection timing E6 immediately (within the first hour) after the display image is switched from image D7 to image D8. However, taking into account the time required for the user to recognize (the delay from the user's viewing to recognition), these processed gaze information may be gaze information detected during the display of image D7. Similarly, the second gaze information acquired at acquisition timing C9 and the first gaze information acquired at acquisition timing C9' can be linked as gaze information detected in image D9.
[0121] The difference between the thinning process for acquiring the first gaze information and the thinning process for acquiring the second gaze information can be said to be the difference between the acquisition timing (sample timing) of the first gaze information and the acquisition timing (sample timing) of the second gaze information. In other words, the difference in the statistical methods may include the difference in the sample timing.
[0122] Next, control of gaze detection timing will be described as an example of a modified statistical method with reference to Fig. 11. Fig. 11 is an example of a timing chart of live view display and gaze detection. The upper part of Fig. 11 is the same as the upper part of Fig. 9.
[0123] Gaze detection timings E1 to E4, E9 when no photographing operation, including continuous shooting, is being performed are shown in the middle of Fig. 11. When no photographing operation, including continuous shooting, is being performed, gaze position detection is performed 30 times per second in synchronization with the live view display.
[0124] The lower part of Fig. 11 shows gaze detection timings E5' to E8' during continuous shooting. In order to synchronize with the live view display (display of images D7 to D10) during continuous shooting, the detection rate is changed to detect the gaze position. In order to obtain information that is useful (with fewer errors) as user gaze information, a synchronization process (processing to synchronize the gaze detection timing with the live view display) is performed again when moving from a state where no shooting operation is being performed to a state where continuous shooting is being performed. Specifically, The gaze detection timing E5' is controlled to be the latter half of the display period of the image D7. Similarly, the gaze detection timings E6' to E8' are controlled based on the display periods of the images D6 to D8.
[0125] In this embodiment, an example of processing the gaze information and controlling the gaze detection timing separately has been described with reference to Figs. 9 to 11, but these processes may be used in combination. Also, an example of a case where a deviation (error) between the detected gaze position and the user's intended position occurs due to the display update rate or display delay of the live view display has been described, but the circumstances in which an error occurs are not limited to this. For example, a subject may be blurred or dark and difficult to see in a captured image due to a change in focus state, a change in aperture state, exposure setting, or changes thereto. In such a case, the error may also be large, so it is effective to perform the processes described with reference to Figs. 9 to 11.
[0126] (Modification) In the above embodiment, an example was described in which the error in the gaze position that occurs when switching from a live view display state before capturing a still image to a live view display during continuous shooting was taken into consideration. Errors in the detected gaze position may also occur in other situations. For example, the error in the detected gaze position increases due to the display update rate and display delay of the live view display during video recording (video shooting). An example in which the error in the gaze position during video recording is taken into consideration will be described with reference to Figs. 12(a) and 12(b). Figs. 12(a) and 12(b) are examples of timing charts of the display period of the live view display during video recording and the gaze detection timing.
[0127] In FIG. 12(a), video recording is performed at 60 fps, and gaze detection is performed 30 times per second (gaze detection timings E1 to E7). Live view display is also performed at 60 fps in conjunction with video recording (images D1 to D14). In a 60 fps live view display, the subject in the live view image moves smoothly, so there is little error in the position of the user's gaze. Therefore, in FIG. 12(a), gaze detection is performed at the center of the display period of one live view image (image D1, image D3, etc.).
[0128] In FIG. 12(b), video recording is performed at 30 fps, and gaze detection is also performed at 30 times per second (gaze detection timings E1 to E7). Live view display is also performed at 30 fps in line with video recording (images D1 to D7). In a live view display at 30 fps, the movement of the subject on the live view image is not smooth, so there is a large error in the position of the user's gaze. Therefore, in FIG. 12(b), gaze detection is performed in the latter half of the display period of one live view image (image D1, image D2, etc.). This makes it possible to obtain gaze information with reduced error in the gaze position.
[0129] It should be noted that the gaze information intended by the user can be obtained by performing similar control based on the display delay of the live view display during video recording. When the gaze detection timing is synchronized with the live view display, the gaze position is detected sequentially at longer time intervals as the reference time, which is the time interval for updating the image displayed on the display unit 28 or the delay time from when an image is acquired until when it is displayed on the display unit 28, becomes longer. In this case, if the gaze detection timing is controlled so that the gaze position is detected at the latter timing of the period during which one image is displayed on the display unit 28 when the reference time is longer than a predetermined threshold, the gaze information intended by the user can be obtained.
[0130] Furthermore, reducing errors in gaze position is not limited to controlling gaze detection timing. As described in the above embodiment, gaze information with less error may be obtained by increasing the number of samples in the smoothing process (weighted synthesis) or thinning out samples that are expected to have large errors. Control of gaze detection timing, weighted synthesis, thinning The above-mentioned processes may be combined as appropriate.
[0131] In the present embodiment, an example has been described in which the acquired first gaze information is used to display the gaze position when shooting still images or moving images, and the acquired second gaze information, which is more sensitive than the first gaze information, is used to set the focus detection area. However, the method of using the gaze information is not limited to this.
[0132] For example, the first gaze information may be used for gaze detection when selecting and instructing an icon displayed on the display unit 28 on a menu screen or the like, and the second gaze information, which is more sensitive than the first gaze information, may be used for gaze detection for selecting a subject when shooting a still image or a video. This is because, in general, immediacy is required when selecting a subject that is more likely to move dynamically than when selecting an icon that does not move from its displayed position.
[0133] Also, even in a display that notifies the same gaze position, first gaze information may be used at a first display frame rate, and second gaze information with higher sensitivity than the first gaze information may be used at a second display frame rate that is higher than the first display frame rate. This is because when the display rate is high, the subject dynamically changes its position more frequently, and immediacy is required.
[0134] In addition, in a UI that selects a menu icon displayed on the display unit 28 based on a gaze position, first gaze information may be used in a first display state, and second gaze information with higher sensitivity than the first gaze information may be used in a second display state. The second display state is a display state that includes at least one of the following: fewer icons, wider intervals between icons, or larger icons than in the first display state. If there are many icons, the intervals between icons are narrow, or the icons are small, there is a high possibility that an incorrect position will be specified due to instability such as fixational eye movement when selecting an icon if immediacy is increased. For this reason, the sensitivity is lowered in such a display state to enable stable menu selection.
[0135] When recording a video (shooting a video), each frame may be linked to the gaze information when the user (cameraman) gazes at that frame and recorded. By doing so, when editing the video, it becomes possible to automatically extract and enlarge the area the cameraman gazed at by a trimming process or an enlargement process, or to change the trimming area according to the movement of the cameraman's gaze position. When linking gaze information to a video, it is possible to perform the linking more accurately by assuming that there is a lag (delay) in the timing between the display and recording of the image that acquired the gaze information.
[0136] In addition, by adding gaze information to a still image, it is possible to perform similar cropping processing and image processing (such as brightness and color correction) specialized for the gaze area.
[0137] In addition, when recording gaze information linked to a video or still image, information such as the detected gaze position, display update rate, display delay, etc. may also be recorded. This allows the processing of gaze information and the control of gaze detection timing as described in this embodiment to be performed as post-processing on a personal computer or the like instead of on an imaging device.
[0138] (Other embodiments) The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.
[0139] The above-described embodiment is merely an example, and the configuration of the embodiment is within the scope of the gist of the present invention. The present invention also includes configurations obtained by appropriately modifying or changing the configurations (including the order of processing) of the embodiments. The present invention also includes configurations obtained by appropriately combining the configurations of the embodiments. [Explanation of symbols]
[0140] 100: Main body 24: Image processing unit 28: Display unit 50: System control unit 701: Gaze detection unit
Claims
1. An acquisition means for acquiring first gaze information and second gaze information generated by different statistical methods as gaze information relating to a gaze of a user viewing a display screen; a processing means for performing a first process based on the first line-of-sight information and performing a second process different from the first process based on the second line-of-sight information; having With respect to the change in the line of sight, the change in the first line of sight information is smaller than the change in the second line of sight information.
1. An electronic device comprising:
2. The acquiring means generates the first line of sight information and the second line of sight information from the line of sight detection results that are sequentially detected.
2. The electronic device according to claim 1 .
3. Each of the first gaze information and the second gaze information is information generated by a process that may include weighted synthesis of a plurality of gazes corresponding to a plurality of timings, The weighting and combining method is different between the first line of sight information and the second line of sight information.
3. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.
4. Each of the first line-of-sight information and the second line-of-sight information is generated based on at least one of a time interval for updating an image to be displayed on the display surface and a delay time from when the image is acquired until when it is displayed on the display surface.
4. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.
5. Each of the first gaze information and the second gaze information is information generated from gaze detection results that are sequentially detected, The electronic device further includes a control means for controlling a timing for detecting the line of sight based on at least one of a time interval for updating an image to be displayed on the display surface and a delay time from when the image is acquired until when the image is displayed on the display surface.
5. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.
6. The control means the line of sight is detected sequentially at a longer time interval as the time interval for updating the image to be displayed on the display surface or the reference time, which is the delay time from when the image is acquired until when it is displayed on the display surface, is longer; The electronic device according to claim 5, characterized in that when the reference time is longer than a threshold value, the timing of detecting the gaze is controlled so that the gaze is detected at a latter timing of the period during which one image is displayed on the display surface.
7. The first process is a control to display an image on a display surface, and a control to display a predetermined item on the display surface at a position based on the first line of sight information.
7. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.
8. A captured image is displayed on the display surface, The second process is a process of setting an area in the image where a focus point is detected.
8. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.
9. The acquiring means acquires first and second gaze information generated in parallel using different statistical methods.
9. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.
10. The acquiring means acquires first gaze information and second gaze information generated at the same time by different statistical methods.
9. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.
11. acquiring first gaze information and second gaze information generated by different statistical methods as gaze information related to a user's gaze when viewing a display screen; a processing step of performing a first process based on the first line of sight information, and performing a second process different from the first process based on the second line of sight information; having With respect to the change in the line of sight, the change in the first line of sight information is smaller than the change in the second line of sight information.
23. A method for controlling an electronic device comprising:
12. A program for causing a computer to function as each of the means of the electronic device according to any one of claims 1 to 10.
13. A computer-readable storage medium storing a program for causing a computer to function as each of the means of the electronic device according to any one of claims 1 to 10.
Citation Information
Patent Citations
Magnetic recording and photographing device
JP1993110925A
Focus detector for camera
JP1994175011A
Video camera
JP1995184089A
Automatic multi-point focusing camera
JP2002082278A
Image display device
JP2006060496A
