Electronic device, control method, and program
The digital camera system uses line-of-sight input and motion vector thresholds to maintain focus on the intended subject, addressing issues of focus shifting to obstacles and improving autofocus performance and video quality.
Patent Information
- Application Number
- JP2020085890
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-05-15
- Publication Date
- 2024-08-29
- Estimated Expiration
- 2040-05-15
AI Technical Summary
Existing autofocus systems in cameras often focus on obstacles when they overlap the intended subject during video recording, leading to poor video quality, and struggle to quickly refocus on the intended subject after obstacles are removed or when subjects change, resulting in missed photo opportunities.
A digital camera system that uses line-of-sight input to continuously focus on the intended subject by switching between modes based on the stability of the user's viewpoint area, using motion vectors and distance thresholds to determine if the subject has changed or remained consistent.
This approach prevents unnecessary focus changes, maintains video quality, reduces release time lag, and improves autofocus tracking performance by ensuring the camera focuses on the intended subject even when obstacles appear or subjects change.
Smart Images

Figure 0007541850000007 
Figure 0007541850000013 
Figure 0007541850000005
Abstract
Description
[Technical field]
[0001] The present invention relates to electronic equipment In particular, it relates to focus control. [Background technology]
[0002] In recent years, cameras have become more automated and intelligent. Patent Document 1 discloses an imaging device that detects the line of sight of a user looking through a finder and performs focus control (focusing) on a subject intended by the user, without the user having to input the position of the subject.
[0003] Furthermore, Patent Document 2 discloses a technology for setting a continuous AF (autofocus) mode in which the subject is continuously focused when the trajectory of the user's viewpoint (position from which the user is looking) coincides with the trajectory of the subject in the displayed video. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2004-8323 A [Patent Document 2] JP 2017-34569 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, in the above-mentioned technology, if an obstacle obstructs the subject intended by the user during video shooting, the camera focuses on the obstacle, causing unnecessary focus changes and deteriorating the quality of the recorded video. On the other hand, when shooting still images, if the subject intended by the user reappears after being obstructed by an obstacle, it may take a long time to control the focus on the subject, which may result in missing the opportunity to shoot the image.
[0006] In addition, to deal with subjects that have disappeared or obstacles that have entered the camera, it is possible to set the time from gaze detection to AF execution (AF response) as appropriate, but the AF response cannot be changed dynamically. For this reason, it is difficult to maintain AF tracking of the same subject while maintaining AF tracking performance when switching subjects for AF. In other words, in the past, it was not possible to continuously focus on the subject intended by the user by gaze input.
[0007] Therefore, an object of the present invention is to provide a technique for continuously focusing on a subject intended by a user through gaze input. [Means for solving the problem]
[0008] The first aspect of the present invention is A first acquisition means for acquiring a captured image; a control means for switching between a first mode in which a subject displayed in a viewpoint area, which is an area viewed by a user, is selected and a second mode in which the subject is not selected, based on the viewpoint area and a feature amount related to the captured image; Have death, the feature amount includes a distance between a subject displayed in the viewpoint area and an imaging means that captures the captured image, the control means continues to operate in the second mode when an amount of change in the motion vector of the viewpoint area during a predetermined period is equal to or less than a first threshold and an amount of change in the distance during the predetermined period is equal to or less than a second threshold and the control means is operating in the second mode. Characterized by electronic equipment It is.
[0009] A second aspect of the present invention is The image capturing device includes a first acquiring means for acquiring a captured image. electronic equipment A method for controlling A control process for switching between a first mode in which a subject displayed in a viewpoint area, which is an area viewed by a user, is selected and a second mode in which the subject is not selected, based on the viewpoint area and a feature amount related to the captured image. The process Yes death, the feature amount includes a distance between a subject displayed in the viewpoint area and an imaging means that captures the captured image, In the control step, when an amount of change in the motion vector of the viewpoint region during a predetermined period is equal to or less than a first threshold and an amount of change in the distance during the predetermined period is equal to or less than a second threshold, and when the electronic device is operating in the second mode, the electronic device is caused to continue to operate in the second mode. The control method is characterized by the above. Effect of the Invention
[0010] According to the present invention, it is possible to continuously maintain focus on a subject intended by a user through gaze input. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 is a diagram illustrating the configuration of a digital camera according to a first embodiment. [Diagram 2] 1 is a cross-sectional view of a digital camera according to a first embodiment. [Diagram 3] 1 is a schematic diagram of an optical system for performing gaze detection according to a first embodiment. [Figure 4] FIG. 2 is a diagram illustrating a viewpoint detection method according to the first embodiment. [Diagram 5] 4 is a flowchart of a viewpoint detection process according to the first embodiment. [Figure 6] 4 is a flowchart of a focus control process according to the first embodiment. [Figure 7] 1A and 1B are diagrams illustrating focus control according to a conventional technique and the first embodiment. [Figure 8] 11 is a flowchart of a focus control process according to the second embodiment. [Figure 9] 13 is a diagram showing distances and motion vectors of line-of-sight areas according to the second embodiment. FIG. [Figure 10] 10A to 10C are diagrams illustrating focus control according to the second embodiment. [Figure 11] 13 is a diagram showing distances and motion vectors of gaze areas according to the second embodiment. FIG. [Figure 12] 10A to 10C are diagrams illustrating focus control according to the second embodiment. [Figure 13] 13 is a diagram showing distances and motion vectors of gaze areas according to the second embodiment. FIG. [Figure 14] FIG. 11 is a diagram showing the configuration of a digital camera according to a third embodiment. [Figure 15] FIG. 11 is a diagram showing the configuration of a digital camera according to a fourth embodiment. [Figure 16] 13 is a flowchart of a focus control process according to the fourth embodiment. [Figure 17] 13A to 13C are diagrams illustrating focus control according to a fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings.
[0013] <Embodiment 1> [Digital camera configuration] The configuration of a digital camera 100, which is an imaging device (electronic device) according to the first embodiment, will be described with reference to Fig. 1. Fig. 1 is a configuration diagram showing main functional sections of the digital camera 100. The digital camera 100 has an imaging optical section 101, an image sensor 102, an A / D conversion section 103, an image processing section 104, and a data transfer section 105. The digital camera 100 has a memory control section 106, a DRAM 107, a non-volatile memory control section 108, a ROM 109, a recording media control section 110, a recording medium 111, a display control section 112, a display section 113, a CPU 114, and an operation section 115. The digital camera 100 has a gaze detection section 120, an eye image sensor 121, a focus detection section 122, an illumination light source 123, an illumination light source driving section 124, and a gaze vector detection section 125.
[0014] The imaging optical unit 101 forms an optical image on the image sensor 102. The imaging optical unit 101 has a plurality of lens groups including a focus lens and an anti-vibration lens, and an aperture. The imaging optical unit 101 also has a focus control unit 118 that performs focus adjustment, and an aperture control unit 119 that performs exposure adjustment, blur correction, and the like. The control unit 119 has a
[0015] The image sensor 102 captures an image of a subject by performing photoelectric conversion to convert an optical image into an electrical signal (analog image signal). The image sensor 102 includes a CCD or CMOS sensor. The image sensor 102 also includes dedicated pixels and multiple independent photodiodes in each pixel to perform image plane phase difference AF (phase difference AF performed on the image plane (imaging plane, sensor plane)).
[0016] The A / D conversion unit 103 converts the analog image signal obtained from the imaging element 102 into a digital image signal (image data; image). The converted image (image data) is output to the image processing unit 104.
[0017] The image processing unit 104 performs processes such as magnification chromatic aberration correction, development processing, noise reduction processing, geometric transformation, and resizing such as enlargement / reduction on the image (image data; digital image signal). The image processing unit 104 also has a buffer memory. Furthermore, the image processing unit 104 has an imaging correction unit that performs pixel correction, black level correction, shading correction, and scratch correction on the image converted by the A / D conversion unit 103.
[0018] The data transfer unit 105 includes a plurality of DMACs (Direct Memory Access Controllers). The image processing unit 104 transfers data such as images processed by the image processing unit 104.
[0019] The memory control unit 106 is controlled by the CPU 114 or the data transfer unit 105 to write and read data to and from the DRAM 107 .
[0020] DRAM 107 is a memory (storage medium) that stores data. DRAM 107 stores a predetermined number of still images, a predetermined length of moving image, audio data, constants for the operation of CPU 114, programs, etc. For this reason, DRAM 107 has a sufficient storage capacity for storing such data.
[0021] The non-volatile memory control unit 108 is controlled by the CPU 114 to write and read data to and from the ROM 109 .
[0022] The ROM 109 is an electrically erasable and recordable memory (non-volatile memory) and may be an EEPROM, etc. The ROM 109 stores operation constants, programs, etc. used by the CPU 114.
[0023] A recording medium control unit 110 records images and reads recorded data onto a recording medium 111. The recording medium 111 is a recording medium such as an SD card for recording data.
[0024] The display control unit 112 controls the display of the display unit 113. The display unit 113 is a liquid crystal display or an electronic viewfinder. The display unit 113 displays images and menu screens acquired from the image processing unit 104. Before still image shooting or during video shooting, the display unit 113 acquires and displays a real-time image of a subject (live view image; captured image) from the A / D conversion unit 103 under the control of the display control unit 112.
[0025] The CPU 114 is a control unit such as a microcomputer that performs overall control of the digital camera 100. The CPU 114 controls each functional unit. The CPU 114 also performs calculations required for control. The CPU 114 communicates with the image processing unit 104, the data processing unit 106, and the like via a bus 116. The CPU 114 controls the transfer unit 105, memory control unit 106, non-volatile memory control unit 108, recording media control unit 110, display control unit 112, operation unit 115, image sensor 102, etc. The CPU 114 realizes each control by, for example, executing a program recorded in the ROM 109. Furthermore, the CPU 114 controls the lens and aperture of the imaging optical unit 101, and acquires information such as focal length.
[0026] The operation unit 115 includes operation members operated by a user, such as switches, buttons, a touch panel, etc. For example, the operation unit 115 is used to turn the power on / off and the shutter on / off.
[0027] The bus 116 is a system bus for transmitting control signals for each block mainly from the CPU 114 etc. The bus 117 is a data bus for mainly transferring images.
[0028] The gaze detection unit 120 detects the gaze direction of the user based on an image of the eyeball (eye image) input from the eyeball imaging element 121. Details of the gaze detection operation will be described later. In addition, the gaze detection unit 120 acquires a viewpoint area, which is an area on the display unit 113 where the user is looking.
[0029] The eye image pickup element 121 forms an optical image of the eye of a user looking through a viewfinder, and acquires an image of the eye (eye image). The eye image pickup element 121 outputs the eye image to the gaze detection unit 120.
[0030] The focus detection unit 122 calculates the lens driving amount to control the focus. The area to be focused is determined by the line of sight detection unit 120 and the image processing unit 104. The focus detection unit 122 controls the driving of the focus lens for the focus control unit 118. The lens driving amount can be calculated using, for example, an image plane phase difference method based on an image (focus detection image) acquired by the image sensor 102.
[0031] The illumination light source 123 is a light source that irradiates the user with infrared light for gaze detection. The infrared light irradiated from the illumination light source 123 is irradiated onto the user's eyeball, and the reflected light (reflected image) from the eyeball is formed on the eyeball imaging element 121. The illumination light source driving unit 124 is a driving unit that controls the illumination light source 123.
[0032] Line-of-sight vector detection section 125 calculates the time-series movement of the viewpoint position from the data of the user's line-of-sight direction detected by line-of-sight detection section 120, and detects it as a line-of-sight vector.
[0033] Fig. 2 is a cross-sectional view (explanatory diagram) of the housing of the digital camera 100 according to the first embodiment. In Fig. 2, the same parts as in Fig. 1 are given the same numbers. As shown in Fig. 2, the digital camera 100 has members and parts (hardware) in addition to the functional units shown in Fig. 1.
[0034] The photographing lens 100A is a photographing lens in an interchangeable lens camera. In Fig. 2, the photographing lens 100A is illustrated as having two lenses, a focus lens 205 and a lens 206, but may have many more lenses.
[0035] Housing 100B is the housing of the main body of digital camera 100. Housing 100B has image sensor 102, light sources 123a and 123b, light receiving lens 201, and eyepiece lens 203 inside.
[0036] The image sensor 102 is disposed on the image forming plane of the photographing lens 100A. is a lens through which the user observes the subject image displayed on the display unit 113.
[0037] Light sources 123a and 123b are used to detect the gaze direction from the relationship between the pupil and the image of the light source due to corneal reflection, and illuminate a user's eyeball 204. Light sources 123a and 123b have infrared light emitting diodes and are arranged around an eyepiece 203. The illuminated eyeball image and the image of light sources 123a and 123b due to corneal reflection pass through the eyepiece 203 and are reflected by a light splitter 202. The reflected image is formed by a light receiving lens 201 on an eye image sensor 121 having a two-dimensional array of photoelectric elements such as a CCD.
[0038] The light receiving lens 201 positions the pupil of the user's eyeball 204 and the eyeball image sensor 121 in a conjugate imaging relationship. The gaze detection unit 120 detects the gaze direction from the positional relationship between the eyeball imaged on the eyeball image sensor 121 and the images of the light sources 123a and 123b due to the corneal reflection, using a predetermined algorithm described later.
[0039] The aperture 207 is provided in the photographing lens 100A. The aperture 207 is controlled by the aperture control unit 119. The lens driving member 210 has a driving gear and the like. The lens driving motor 211 is a motor for moving the focusing lens 205. The photocoupler 209 detects the rotation of the pulse plate 208 that is linked to the lens driving member 210, and outputs information on the detected rotation to the focus control unit 118.
[0040] The focus control unit 118 drives the lens drive motor 211 based on the rotation information of the pulse plate 208 and the lens drive amount information to move the focus lens 205 to the in-focus position. The mount contact 212 is a known interface between the camera and the lens.
[0041] In FIG. 2, operation members such as a touch panel compatible liquid crystal display and a button type cross key are arranged as an operation unit 115.
[0042] [Gaze detection method] The gaze detection method will be described below with reference to Fig. 3, Fig. 4(A), Fig. 4(B), and Fig. 5. Fig. 3 is a diagram for explaining the principle of the gaze detection method, and is a schematic diagram of an optical system for performing gaze detection.
[0043] In Fig. 3, light sources 123a and 123b are light sources such as light-emitting diodes, and irradiate infrared light to a user. Light sources 123a and 123b are disposed approximately symmetrically with respect to the optical axis of light-receiving lens 201, and illuminate user's eyeball 204. A portion of the illumination light reflected by eyeball 204 is imaged on eyeball image sensor 121 by light-receiving lens 201. In Fig. 3, the positions of light sources 123a and 123b, light-receiving lens 201, and eyeball image sensor 121 are adjusted so that the principle of the gaze detection method can be easily understood.
[0044] Fig. 4(A) is a schematic diagram of an eye image captured by eye image capturing element 121 (eye image projected onto eye image capturing element 121). Fig. 4(B) is a diagram showing the output intensity of eye image capturing element 121 (for example, a CCD).
[0045] Fig. 5 is a flowchart showing the gaze detection process. The flowchart in Fig. 5 is realized by the CPU 114 executing a program stored in the ROM 109 and controlling each functional unit in each step.
[0046] In step S501, the light sources 123a and 123b are driven by the illumination light source driving unit 124 to emit infrared light toward the user's eyeball 204. An image of the user's eyeball illuminated by the infrared light is formed on the eyeball imaging element 121 through the light receiving lens 201, Photoelectric conversion is performed by the ball image pickup element 121. Through the photoelectric conversion, the eyeball image can be handled as an eye image (image signal; electrical signal).
[0047] In step S502 , the eye image pickup device 121 outputs the acquired eye image to the gaze detection unit 120 .
[0048] In step S503, the gaze detection unit 120 calculates the coordinates of the points corresponding to the corneal reflection images Pd and Pe of the light sources 123a and 123b and the pupil center c from the eye image.
[0049] 3, infrared light emitted from light sources 123a and 123b illuminates cornea 301 of user's eyeball 204. At this time, corneal reflection images Pd and Pe formed by a part of the infrared light reflected on the surface of cornea 301 are collected by light receiving lens 201 and focused on eye image sensor 121 to become corneal reflection images Pd' and Pe' in the eye image. Similarly, light from ends a and b of pupil 302 is also focused on eye image sensor 121 to become pupil end images a' and b' in the eye image.
[0050] Fig. 4(A) shows an example of a reflection image (eye image) obtained from the eye image sensor 121. Fig. 4(B) shows luminance information (luminance distribution) obtained from the eye image sensor 121 in region α of the eye image shown in Fig. 4(A). Fig. 4(B) shows the luminance distribution in the X-axis direction, with the horizontal direction of the eye image being the X-axis and the vertical direction being the Y-axis. In this embodiment, the coordinates of the corneal reflection images Pd', Pe' in the X-axis direction (horizontal direction) are Xd, Xe. Also, the coordinates of the pupil edge images a', b' in the X-axis direction are Xa, Xb.
[0051] As shown in FIG. 4B, at the coordinates Xd and Xe of the corneal reflection images Pd' and Pe', an extremely strong level of brightness is obtained. In the area of the pupil 302 (the area between the coordinates Xa and Xb), an extremely low level of brightness is obtained except for the position of the coordinates Xd and Xe. In contrast, in the area outside the pupil 302, rainbow In the region of chromatic aberration 401 (the region of the iris image outside the pupil image obtained by focusing light from the iris 143), a value intermediate between the two luminance levels mentioned above is obtained.
[0052] In this way, by focusing on the luminance level, the X-coordinates Xd, Xe of the corneal reflection images Pd', Pe' and the X-coordinates Xa, Xb of the pupil edge images a', b' can be obtained from the luminance distribution as shown in Figure 4(B).
[0053] Furthermore, when the rotation angle θx (see FIG. 3) of the optical axis of the eyeball 204 relative to the optical axis of the light receiving lens 201 is small, the coordinate Xc of the pupil center image c' (center of the pupil image) obtained when light from the pupil center c is focused on the eyeball image pickup element 121 can be expressed as Xc ≒ (Xa + Xb) / 2. In other words, the coordinate Xc, which is the X coordinate of the pupil center image c', can be estimated from the X coordinates Xa and Xb of the pupil edge images a' and b'. In this way, the coordinate Xc of the pupil center image c' and the coordinates of the corneal reflection images Pd' and Pe' can be estimated.
[0054] In step S504, the gaze detection unit 120 calculates the imaging magnification β of the eyeball image. The imaging magnification β is determined by the position of the eyeball 204 relative to the light receiving lens 201, and can be calculated using a function of Xd-Xe, which is the distance between the corneal reflection images Pd', Pe'.
[0055] In step S505, the gaze detection unit 120 calculates the rotation angle of the optical axis of the eyeball 204 relative to the optical axis of the light receiving lens 201. Here, the X coordinate of the midpoint between the corneal reflection images Pd and Pe and the X coordinate of the center of curvature O of the cornea 301 almost coincide with each other. For this reason, if the standard distance from the center of curvature O of the cornea 301 to the center c of the pupil 302 is Oc, then the rotation angle θx of the eyeball 204 in the ZX plane (plane perpendicular to the Y axis) can be calculated from Equation 1. Note that the rotation angle θy of the eyeball 204 in the ZY plane (plane perpendicular to the X axis) can also be calculated using the calculation of the rotation angle θx. It can be calculated in a similar manner to that described above. β×Oc×sinθx≒{(Xd+Xe) / 2}-Xc...Equation 1
[0056] In step S506, the gaze detection unit 120 reads out correction coefficient data (coefficients m, Ax, Bx, Ay, By) stored in advance in the memory 107. The coefficient m is a constant determined by the configuration of the viewfinder optical system of the digital camera 100, and is a conversion coefficient that converts the rotation angles θx, θy into coordinates corresponding to the pupil center c in the field of view image (image for viewing) in the viewfinder. The coefficients Ax, Bx, Ay, By are gaze correction coefficients that correct individual differences in the gaze, and are obtained by performing a calibration operation and stored in the memory 107 before the gaze detection process starts.
[0057] In step S507, the gaze detection unit 120 uses the rotation angles θx, θy of the user's eyeball 204 to determine the user's gaze point (position of the gaze point; gaze point position) in the viewing image displayed on the display unit 113. If the gaze point coordinates (Hx, Hy) are coordinates corresponding to the pupil center c, the gaze point coordinates (Hx, Hy) can be calculated from the following formulas 2 and 3. Hx=m×(Ax×θx+Bx)...Equation 2 Hy = m × (Ay × θy + By) Equation 3
[0058] In step S508, the gaze detection unit 120 stores the coordinates (Hx, Hy) of the viewpoint in the memory 107. The gaze detection unit 120 also measures the time during which the gaze position remains in a certain area, and stores the measured time in the memory 107 as the gaze time.
[0059] Although the method of acquiring the coordinates of the viewpoint on the display element using the corneal reflection images of the light sources 123a and 123b has been described, the present invention is not limited to this. The coordinates of the viewpoint (eyeball rotation angle) may be acquired from the captured eyeball image by any known method.
[0060] [Focus control processing] Hereinafter, the focus control process of digital camera 100 (a control method for digital camera 100) will be described with reference to Fig. 6. Fig. 6 is a flowchart of the focus control process of digital camera 100. The flowchart in Fig. 6 is realized by CPU 114 executing a program stored in ROM 109 and controlling each functional unit at each step. When a user performs an operation to instruct AF control, the focus control process starts.
[0061] In step S601, the eye image pickup device 121 acquires an image (image data) of the user's eye illuminated by the illumination light source 123, and outputs the eye image to the gaze detection unit 120.
[0062] In step S602, the gaze detection unit 120 detects the user's gaze (point of view) by the gaze detection process described using the flowchart in Fig. 5. The gaze detection unit 120 calculates the viewpoint position (gazing point) in a live view image displayed on the display unit 113 in the finder, and outputs it to the gaze vector detection unit 125. The gaze detection unit 120 also acquires a viewpoint area 701 (an area on the display unit 113 that the user is looking at) which is a rectangular area of a predetermined size centered on the user's viewpoint position, and outputs the viewpoint area 701 to the image processing unit 104. Note that the viewpoint area 701 does not need to be rectangular, and may be, for example, an ellipse, a circle, a polygon, or other shape.
[0063] In step S603, line-of-sight vector detection unit 125 calculates (obtains) a motion vector (movement vector of the viewpoint) of user's viewpoint area 701 from the difference between the viewpoint position of the previous frame and the viewpoint position of the current frame, and outputs the calculated vector to CPU 114. Note that this difference does not have to be the difference between two consecutive frames, but may be the difference between a predetermined period, such as between three or more frames. The difference may be a difference in the
[0064] In step S604, the image sensor 102 acquires a captured image (image of the photographing area; live view image) of the subject, and outputs the image to the image processing unit 104 via the A / D conversion unit 103. That is, in this step, it can be said that the image processing unit 104 acquires the captured image from the image sensor 102.
[0065] In step S605, the image processing unit 104 acquires the motion vector from the previous frame of the image (viewpoint area image) displayed in the viewpoint area 701 in the current frame as the motion vector of the viewpoint area image. That is, the image processing unit 104 acquires the motion vector of the image from the previous frame to the current frame within the range of the viewpoint area 701 in the current frame as the motion vector of the viewpoint area image. Here, the image processing unit 104 calculates the motion vector of the image (viewpoint area image) in the viewpoint area 701 as a feature amount in the captured image for determining whether or not an obstacle overlaps with a subject intended by the user. The comparison between the previous frame and the current frame (corresponding position search) for acquiring the motion vector of the viewpoint area image is performed by, for example, a template matching method. Furthermore, the image processing unit 104 outputs the motion vector of the viewpoint area image to the CPU 114.
[0066] In step S606, CPU 114 determines whether the motion vector of viewpoint region 701 and the motion vector of the viewpoint region image match. That is, in step S606, it is determined whether the subject displayed in viewpoint region 701 has not changed during one frame. Each motion vector is calculated based on the coordinates of the captured image (live view image) displayed by display unit 113 in the finder. Then, when both the difference in magnitude and the difference in direction between the two motion vectors are within a predetermined difference range, it is determined that the two motion vectors match. If it is determined that the motion vector of viewpoint region 701 and the motion vector of the viewpoint region image match, the process proceeds to step S607, and if it is determined that they do not match, the process proceeds to step S608.
[0067] In step S607, the CPU 114 controls the focus detection unit 122 as the first mode, and performs focus control (AF; movement of the focus) by driving and controlling the focus lens of the focus control unit 118 so as to focus on the subject displayed in the viewpoint area 701.
[0068] In step S608, CPU 114 does not perform focus control on the subject displayed in viewpoint area 701 as a second mode, and fixes the focus without changing it from the previous frame.
[0069] In step S609, CPU 114 determines whether or not the user has performed an operation to end image capture (photography). For example, if the user has performed an operation to turn off digital camera 100 or has canceled the operation to instruct AF, the focus control process ends. If not, image capture continues and the process returns to step S601.
[0070] Below, the difference in focus (focal position) depending on whether or not the focus control process according to this embodiment is applied will be described with reference to Fig. 7(A) to Fig. 7(H). Fig. 7(A) to Fig. 7(H) show frames of a live view image (captured image) displayed on the display unit 113. Fig. 7(A) to Fig. 7(D) show frames of a live view image when AF control is performed constantly based on the user's line of sight. Fig. 7(E) to Fig. 7(H) show frames of a live view image when the focus control process according to this embodiment is applied.
[0071] 7(A) and 7(E) show frame f1 of a live view image, and FIG. 7(B) and 7(F) show frame f2, which is the frame next to frame f1. 7C) and FIG. 7G show frame f3, which is the frame next to frame f2, and FIG. 7D and FIG. 7H show frame f4, which is the frame next to frame f3.
[0072] Here, an example will be described in which focus control is always performed on viewpoint area 701 without applying the focus control process according to this embodiment. In this case, when obstacle 703 overlaps in front of main subject 702 on which the user is intentionally trying to focus, the focus is temporarily set on obstacle 703. In other words, when main subject 702 is in focus as shown in Fig. 7(A), if obstacle 703 overlaps main subject 702, the focus changes to obstacle 703 as shown in Fig. 7(B) and Fig. 7(C).
[0073] For this reason, when shooting a video, frames captured at unnecessary focus positions are recorded, resulting in a deterioration in the quality of the recorded video. Also, when shooting a still image, as shown in Fig. 7(D), when the main subject 702 reappears from behind an obstacle 703, the time required for focus control becomes longer, raising concerns about an increase in the release time lag.
[0074] In contrast, an example of applying the focus control process according to this embodiment to a live view image will be described. When an obstacle 703 overlaps in front of the main subject 702 as in frame f2 shown in FIG. 7(F) from a state in which focus control is performed on the main subject 702 as in frame f1 shown in FIG. 7(E), a motion vector cannot be acquired for the main subject 702 in the viewpoint area image. Therefore, the motion vector of the user's viewpoint area 701 does not match the motion vector of the viewpoint area image. Therefore, in FIG. 7(F), focus control is not performed on the viewpoint area 704, and the focus is fixed at the position where the main subject 702 was (is). Similarly, the focus is fixed in frame f3 shown in FIG. 7(G). Thereafter, when the main subject 702 reappears as shown in FIG. 7(H), focus control on the main subject 702 is resumed.
[0075] Thus, in this embodiment, when the motion vectors of the viewpoint area and the viewpoint area image match, the digital camera determines that the subject displayed in the viewpoint area continues to be the subject intended by the user, operates in the first mode, and focuses on the subject. On the other hand, when the two motion vectors do not match, the digital camera determines that the subject displayed in the viewpoint area has changed from the subject intended by the user to another subject, operates in the second mode, and does not change the focus (focal point). In other words, in this embodiment, the digital camera can be considered to switch between the first mode and the second mode based on the motion vector of the viewpoint area and the motion vector of the viewpoint area image (feature amount based on the captured image).
[0076] Therefore, in this embodiment, even if another subject overlaps in front of the subject intended by the user, it is possible to prevent the other subject from being in focus. In other words, there is no unnecessary focus change, and problems such as a decrease in video quality and an increase in release time lag can be solved, or the possibility of such problems occurring can be reduced. In other words, according to this embodiment, unnecessary focus control for subjects not intended by the user can be reduced, and continuous AF can be performed for the subject intended by the user. Therefore, it is possible to record videos with good visibility, and also to reduce loss of shooting opportunities by improving the response of still image shooting.
[0077] In addition, even if the subject that the user's line of sight is following is switched, if the motion vector of the viewpoint area after the switch and the motion vector of the viewpoint image area match, focus control for the switched subject is performed, which improves AF tracking performance.
[0078] The gaze detection method explained here is based on the assumption that the user is looking through the viewfinder. However, this is not a limitation. For example, the line of sight of the user may be detected when the user is looking at the display on the rear panel. Furthermore, the processing of each step of the above-mentioned flowchart may be executed by dedicated hardware, not by the above-mentioned functional units such as CPU 114.
[0079] <Embodiment 2> A digital camera 100 according to the second embodiment will be described. In the second embodiment, the digital camera 100 performs focus control processing using information on the distance between the digital camera 100 (image sensor 102) and a subject as a feature amount of a captured image, instead of a motion vector of a viewpoint area image.
[0080] The configuration of the digital camera 100 according to this embodiment is the same as the configuration of the digital camera 100 according to embodiment 1. Also, a part of the focus control processing of the digital camera 100 according to this embodiment is the same as the focus control processing according to embodiment 1, so only the different parts will be described and a description of the same parts will be omitted.
[0081] Fig. 8 is a flowchart of focus control processing of the digital camera 100 according to this embodiment. The flowchart in Fig. 8 is realized by the CPU 114 executing a program stored in the ROM 109 and controlling each functional unit at each step. When the user performs an operation to instruct AF control and the focus control processing starts, the processing of steps S601 to S604 as described using Fig. 6 is performed.
[0082] In step S801, the image processing unit 104 generates an image for phase-difference AF (image plane phase-difference image) from the captured image (image data) acquired by the image sensor 102. For example, the image processing unit 104 may generate an image for phase-difference AF by extracting only data of pixels dedicated to phase-difference AF, or may generate an image for phase-difference AF composed only of data of each of the photodiodes divided in each pixel.
[0083] In step S802, image processing unit 104 acquires distance information (information on distance D between digital camera 100 and the subject) within the viewpoint region as a feature amount based on the phase-difference AF image. Here, in this embodiment, distance D between digital camera 100 and the subject is the optical distance between image sensor 102 and the subject. To calculate the distance information, for example, when each pixel in the phase-difference AF image has two divided pixels, one on the left and one on the right, image processing unit 104 performs a correlation value calculation between the value of the left divided pixel and the value of the right divided pixel provided on the same line in the horizontal direction. Next, image processing unit 104 calculates distance D in real space between digital camera 100 and the subject based on information such as the parallax between the divided pixels with the highest correlation value and the pixel pitch of image sensor 102.
[0084] In step S803, CPU 114 manages information on the motion vector of the viewpoint area and information on the distance D within the viewpoint area as time-series data, and acquires the amount of change in the time-series data (motion vector and distance D of the viewpoint area) from the previous frame to the current frame.
[0085] In step S804, CPU 114 determines whether the amount of change in the motion vector of the viewpoint region is equal to or smaller than a preset threshold TH1 and the amount of change in the distance D within the viewpoint region is equal to or smaller than a preset threshold TH2. If it is determined that both of the amounts of change are equal to or smaller than the thresholds, the process proceeds to step S805, and if it is determined that either one of them is greater than the preset threshold, the process proceeds to step S806.
[0086] In step S805, the CPU 114 determines whether or not focus control has been performed on the viewpoint area in the previous frame (whether or not the process of step S607 has been performed on the previous frame). If focus control has been performed on the viewpoint area in the previous frame, Since it can be determined that the main subject is still being tracked, the process proceeds to step S607. If focus control was not performed on the viewpoint area in the previous frame, it can be determined that an obstacle continues to overlap in front of the main subject, and the process proceeds to step S608.
[0087] In step S806, CPU 114 determines whether or not only the change in distance D in the viewpoint region is greater than a threshold value. That is, it determines whether or not the change in the motion vector of the viewpoint region is equal to or less than threshold value TH1. If only the change in distance D in the viewpoint region is greater than the threshold value (if the change in the motion vector of the viewpoint region is equal to or less than threshold value TH1), the process proceeds to step S807. If not, the process proceeds to step S808.
[0088] In step S807, CPU 114 determines whether distance D in the viewpoint region has returned to distance Df between the subject in the viewpoint region and digital camera 100 (distance D in the immediately preceding first mode) immediately before distance D in the viewpoint region changes to a value greater than threshold value TH2. For example, if the difference between distance D in the viewpoint region and distance Df is within a predetermined value, it can be determined that distance D in the viewpoint region has returned to the value of distance Df. If it is determined that distance D in the viewpoint region has returned to the value of distance Df, the process proceeds to step S607. If not, the process proceeds to step S608.
[0089] In step S808, CPU 114 judges whether or not only the amount of change in the motion vector of the viewpoint region is greater than the threshold. That is, it is judged whether or not the distance D in the viewpoint region is equal to or less than the threshold TH2. If only the amount of change in the motion vector of the viewpoint region is greater than the threshold (if the amount of change in the distance D is equal to or less than the threshold TH2), it can be judged that the user has switched the subject to be tracked or is tracking a subject with irregular movement, and therefore the process proceeds to step S607. If not, it can be judged that a situation has occurred in which the user temporarily checks the surrounding situation or information displayed in the viewfinder, and therefore the process proceeds to step S608.
[0090] The processes in steps S607 to S609 are similar to those described in the first embodiment.
[0091] Thus, in this embodiment, in the cases of (1) to (3) below, CPU 114 determines that the subject on which the user intends to focus is not displayed in the viewpoint area, and does not perform focus control (operates in the second mode). Note that "a predetermined period such as between multiple frames" may be used instead of "between two consecutive frames" in (1) to (3). (1) When the change in the motion vector of the viewpoint area between two consecutive frames is equal to or less than a threshold TH1, and the change in the distance D is equal to or less than a threshold TH2, and focus control was not performed in the previous frame (operating in the second mode), that is, when step S804 is YES and step S805 is NO. (2) When the change in the motion vector of the viewpoint area between two consecutive frames is equal to or smaller than the threshold TH1, and the change in the distance D is greater than the threshold TH2, and it is determined that the changed distance D has not returned to the distance Df. That is, when NO in step S804, YES in step S806, and NO in step S807. (3) The change in the motion vector of the viewpoint area between two consecutive frames is greater than threshold TH1 and the change in the distance D is greater than threshold TH2, that is, NO in step S804, NO in step S806, and NO in step S808.
[0092] On the other hand, in the following cases (4) to (6), CPU 114 determines that the subject intended by the user is displayed in the viewpoint area, and performs focus control to focus on the subject in the viewpoint area (operates in the first mode). Note that "for two consecutive frames" in (4) to (6) may be replaced with "a predetermined period such as between a plurality of frames." (4) If the amount of change in the motion vector of the viewpoint area between two consecutive frames is equal to or less than threshold value TH1 If the focus is below the threshold value TH2, and if the change in the distance D is equal to or less than the threshold value TH2, and if focus control is being performed in the previous frame (operating in the first mode), that is, if YES in step S804 and YES in step S805. (5) When the change in the motion vector of the viewpoint area between two consecutive frames is equal to or smaller than the threshold TH1, and the change in the distance D is greater than the threshold TH2, and it is determined that the changed distance D has returned to the distance Df. That is, when NO in step S804, YES in step S806, and YES in step S807. (6) The change in the motion vector of the viewpoint area between two consecutive frames is greater than threshold TH1 and the change in the distance D is equal to or smaller than threshold TH2, that is, NO in step S804, NO in step S806, and YES in step S808.
[0093] Here, in this embodiment, as in embodiment 1, focus control is performed on a live view image as shown in Figures 7(E) to 7(H). The distance D within the viewpoint area and the motion vector of the viewpoint area 701 at this time are shown in Figures 9(A) and 9(B).
[0094] 9(B), even during a period when an obstacle 703 overlaps in front of the main subject 702, the user's line of sight continues to follow the main subject 702. Therefore, the motion vector of the user's viewpoint area 701 does not change significantly in accordance with the movement of the main subject 702, but remains almost constant.
[0095] In contrast, as shown in FIG. 9(A), the distance D within the viewpoint area shows a large change in frame f2 (see FIG. 7(F)) in which the obstacle 703 overlaps in front of the main subject 702.
[0096] In this way, when there is no significant change in the motion vector of the viewpoint area 701, but there is a significant change in the distance D within the viewpoint area (step S806 YES and step S807 NO), digital camera 100 determines that obstacle 703 has overlapped main subject 702. For this reason, digital camera 100 does not perform focus control. In frame f3 shown in FIG. 7(G), there is no change from the overlapping state of obstacle 703, so the focus continues to be fixed. In frame f4 shown in FIG. 7(H), a significant change has occurred only in distance D within the viewpoint area, and it has changed to a distance close to that in frame f1 before the previous change (step S807 YES), so it can be determined that the overlap of obstacle 703 has been resolved. For this reason, digital camera 100 resumes focus control for viewpoint area 701.
[0097] [About capturing other live view images] 10(A) to 10(D) show frames of live view images (captured images) when main subject 702 also moves in the optical axis direction over time. Fig. 10(A) to 10(D) show frames f1 to f4, respectively. Fig. 11(A) and Fig. 11(B) show distance D within the viewpoint area and the motion vector of viewpoint area 701.
[0098] As shown in FIG. 11(B), the user's line of sight continues to track main subject 702 even while obstacle 703 overlaps main subject 702. For this reason, the motion vector of the user's viewpoint area 701 does not change significantly in accordance with the movement of main subject 702, but remains approximately constant. In contrast, the distance D within the viewpoint area changes significantly in frame f2 (see FIG. 10(B)) in which obstacle 703 appears, as shown in FIG. 11(A). In this way, when there is no significant change in the motion vector of viewpoint area 701 and distance D within the viewpoint area changes significantly, digital camera 100 determines that obstacle 703 overlaps main subject 702 and does not perform focus control (fixes focus).
[0099] In addition, in frame f3 shown in FIG. 10C, the digital camera 100 continues to fix the focus because there is no change from the state where the obstacle 703 is overlapping. In frame f4, a large change occurs again only in the distance D in the viewpoint region, and the distance D changes to a value close to a predicted value (predicted distance) based on the distance Df at the time of the previous focus control. Therefore, digital camera 100 determines that the obstacle 703 no longer overlaps, and resumes focus control for viewpoint region 701. In this way, the condition for resuming focus control may be not only that the distance D returns to the distance Df, but also that the distance D changes within a predetermined value from the predicted distance estimated based on the distance D at the previous focus control. For example, as shown in FIG. 11(A), it can be said that the condition is satisfied if the rate of change from the distance D in frame f1 to the distance D in frame f4 is within a predetermined range from the rate of change from the distance D in the frame f0 immediately preceding frame f1 to the distance D in frame f1.
[0100] [About capturing other live view images] 12(A) to 12(E) show frames of live view images when the user switches the focus control target to an obstacle 703 that has entered the viewfinder. Fig. 12(A) to 12(E) show frames f1 to f5, respectively. Fig. 13(A) and Fig. 13(B) show the distance D within the viewpoint area and the motion vector of viewpoint area 701.
[0101] As shown in FIG. 13(B), the user's line of sight continues to track the main subject 702 until frame f3 (see FIG. 12(C)) when the main subject 702 overlaps with the obstacle 703. Therefore, until frame f3, the motion vector of the user's viewpoint region 701 does not change significantly in accordance with the movement of the main subject 702 and remains almost constant. In contrast, as shown in FIG. 13(A), the distance D within the viewpoint region changes significantly in frame f3 when the obstacle 703 overlaps with the main subject 702. In this way, when there is no significant change in the motion vector of the viewpoint region 701 and a significant change occurs in the distance within the viewpoint region (YES in step S806 and NO in step S807), the digital camera 100 determines that the main subject 702 overlaps with the obstacle 703. Then, the digital camera 100 does not perform focus control (fixes the focus).
[0102] Here, when the user's line of sight changes to follow obstacle 703, viewpoint area 701 moves to the position of the subject, whose movement is different from before. Therefore, in frame f4 (see FIG. 12(D)), a large change occurs in the motion vector of viewpoint area 701 without a large change in distance D within the viewpoint area. In this way, when there is no large change in distance D within the viewpoint area and a large change occurs only in the motion vector of viewpoint area 701 (YES in step S806 and YES in step S808), it is determined that the target of focus control has been switched to obstacle 703. Therefore, digital camera 100 resumes focus control for viewpoint area 701.
[0103] As described above, focus control is performed on the viewpoint area based on the motion vector of the viewpoint area and the time-series change in distance information within the viewpoint area. As a result, even if an obstacle overlaps with the main subject, as in the first embodiment, the focus position does not change unnecessarily. This makes it possible to reduce the deterioration of the quality of the moving image and the increase in the release time lag. Furthermore, even if the user suddenly switches the target of focus control, focus control on the viewpoint area can be immediately resumed, and the user's intended subject can be brought into focus.
[0104] Also, although an example of performing focus control based on time series data of the motion vector of the viewpoint area and the distance information within the viewpoint area has been described, this is not limiting. For example, instead of the distance information within the viewpoint area, color information or texture information may be used to detect overlapping of subjects in live view images. In this case, the same effect as in this embodiment can be obtained by replacing the "change in distance D within the viewpoint area" in this embodiment with "change in color or texture within the viewpoint area." Also, the same effect as in this embodiment can be obtained by replacing the description of "amount of change" in this embodiment with "rate of change." Accelerating or accelerating at a constant acceleration When the user's gaze continues to follow a decelerating subject, the rate of change of the motion vector of the gaze area and the distance D is approximately constant, so this interpretation of "rate of change" is appropriate.
[0105] <Embodiment 3> A digital camera 1400 according to the third embodiment will be described with reference to Fig. 14. In the third embodiment, the digital camera 1400 does not obtain distance information within the viewpoint area from a captured image (phase contrast image), but obtains it by another distance measurement method.
[0106] The configuration and part of the focus control process of the digital camera 1400 according to this embodiment are the same as the configuration and part of the focus control process of the digital camera 100 according to embodiment 2. Therefore, only the parts that are different from embodiment 2 will be described below, and a description of the same parts will be omitted.
[0107] 14 is a diagram showing the configuration of a digital camera 1400 according to this embodiment. The digital camera 1400 has a distance measuring unit 1401 in addition to the functional units of the digital camera 100 according to the first embodiment.
[0108] The distance measuring unit 1401 measures the distance between the subject in the captured image and the digital camera 1 4 00. That is, the distance measuring unit 1401 obtains (measures) the distance D between the subject present in the imaging range for capturing an image and the digital camera 1. 400, and obtains the distance D between the target object and the target object. For example, the distance measuring unit 1401 is a distance sensor including a combination of an LED for projecting light and a photodiode for receiving light, which are necessary for time-of-flight distance measurement, or a combination of a projector and a camera, which are necessary for pattern projection distance measurement.
[0109] In this embodiment, in the focus control process (processing in FIG. 8), the distance measurement unit 1401 acquires distance information within the viewpoint area instead of the processes of steps S801 and S802 performed by the image processing unit 104. Other processes in the focus control process according to this embodiment are similar to those in the focus control process according to the second embodiment.
[0110] As described above, even if another distance measuring method is used instead of acquiring distance information from an image for phase difference AF (phase difference image), the same effect as in the second embodiment can be obtained.
[0111] <Embodiment 4> A digital camera 1500 according to the fourth embodiment will be described below. In the fourth embodiment, the digital camera 1500 performs focus control on the viewpoint area based on the positional relationship between the viewpoint area and the subject area in the captured image. The configuration of the digital camera 1500 according to this embodiment and part of the focus control process are the same as the configuration and focus control process of the digital camera 100 according to the first embodiment. Therefore, only the parts that are different from the first embodiment will be described below, and the same parts will not be described.
[0112] [Digital camera configuration] 15 is a diagram showing the configuration of a digital camera 1500 according to this embodiment. The digital camera 1500 has a subject detection unit 1501 inside the image processing unit 104. However, unlike the first embodiment, the digital camera 1500 does not have a gaze vector detection unit 125.
[0113] The subject detection unit 1501 detects a main subject (specific subject) based on a captured image. In this embodiment, the main subject may be a person, an animal, a vehicle, or the like that is expected to be the target of AF by the user. The subject detection unit 1501 also acquires the area of the main subject (subject area) in the captured image as a feature amount in the captured image. For example, known techniques such as face detection, human body detection, and deep learning can be used to detect the subject.
[0114] [Focus control processing] Next, the focus control process will be described with reference to Fig. 16. Fig. 16 is a flowchart of the focus control process in this embodiment. The flowchart in Fig. 16 is realized by the CPU 114 executing a program stored in the ROM 109 and controlling each functional unit at each step. When the user performs an operation to instruct AF control and the focus control process starts, the processes of steps S601, S602, and S604 are performed.
[0115] In step S1601, the subject detection unit 1501 detects a subject region 1701, which is a region of a main subject in a captured image, from a shooting area image (captured image) using a known technique as described above. The subject detection unit 1501 outputs information on the subject region 1701 to the CPU 114.
[0116] In step S1602, CPU 114 compares viewpoint region 701 detected in step S602 with subject region 1701 to determine the degree of matching between the two regions. The degree of matching between the two regions is, for example, the ratio of overlap between the two regions (the ratio of the size of the overlapping region of the two regions to the total size of viewpoint region 701), the reciprocal of the distance between the centers of the two regions, etc.
[0117] In step S1603, CPU 114 determines whether the degree of coincidence between viewpoint region 701 and subject region 1701 is equal to or greater than a predetermined threshold value set in advance. If the degree of coincidence between the two regions is equal to or greater than the predetermined threshold value, the process proceeds to step S607, and if the degree of coincidence between the two regions is less than the predetermined threshold value, the process proceeds to step S608.
[0118] For example, Figures 17(A) to 17(D) show the positional relationship between viewpoint area 701 and subject area 1701. Figures 17(A) to 17(D) show each frame of a live view image when AF control is performed based on the user's line of sight.
[0119] In FIG. 17(A), the detected viewpoint region 701 is included in the object region 1701, so the degree of coincidence between the two regions is determined to be equal to or greater than a predetermined threshold, and focus control is performed on the viewpoint region 701. In FIG. 17(B), the detected viewpoint region 701 and object region 1701 do not overlap and are in an independent positional relationship, so the degree of coincidence between the two regions is determined to be less than a predetermined threshold, and focus control is not performed on the viewpoint region 701 (focus is fixed). In FIG. 17(C), the object region 1701 is not detected due to the influence of an obstacle 703, so focus control is not performed on the viewpoint region 701 (focus is fixed). In FIG. 17(D), the viewpoint region 701 is included in the object region 1701, so the degree of coincidence between the two regions is determined to be equal to or greater than a predetermined threshold, and focus control is performed on the viewpoint region 701.
[0120] As described above, the same effects as those of the first embodiment can be obtained by performing focus control based on the positional relationship between the viewpoint area and the subject area.
[0121] The viewpoint area and the subject area may be actually displayed as a rectangular frame on the display unit 113, or may be displayed without being displayed on the digital camera 1. 5 It may be treated as internal information of 00.
[0122] In addition, although the present invention has been described in detail based on the preferred embodiments, the present invention is not limited to these specific embodiments, and various forms within the scope of the gist of the present invention are also included in the present invention. Furthermore, each of the above-mentioned embodiments merely shows one embodiment of the present invention, and each embodiment can be appropriately combined.
[0123] The present invention is also applicable not only to the imaging device body but also to a control device (imaging control device) that communicates with an imaging device (including a network camera) via wired or wireless communication and remotely controls the imaging device. In other words, the present invention may be an imaging control device that controls the imaging element (imaging unit) and display unit according to the present embodiment. Examples of devices that remotely control an imaging device include devices such as smartphones, tablet PCs, and desktop PCs. The imaging device can be remotely controlled by notifying the imaging device of commands for performing various operations and settings from the control device side based on operations performed on the control device side or processes performed on the control device side. In addition, a live view image captured by the imaging device may be received via wired or wireless communication and displayed on the control device side.
[0124] Each functional unit in each of the above embodiments may or may not be an individual piece of hardware. The functions of two or more functional units may be realized by common hardware. Each of a plurality of functions of one functional unit may be realized by individual hardware. Two or more functions of one functional unit may be realized by common hardware. Furthermore, each functional unit may or may not be realized by hardware such as an ASIC, FPGA, or DSP. For example, the device may have a processor and a memory (storage medium) in which a control program is stored. Then, the functions of at least some of the functional units of the device may be realized by the processor reading and executing the control program from the memory.
[0125] (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) for implementing one or more of the functions. [Explanation of symbols]
[0126] 100: digital camera (imaging device), 104: image processing unit (acquisition unit), 120: line of sight detection unit, 113: display unit, 114: control unit
Claims
1. A first acquisition means for acquiring a captured image; a control means for switching between a first mode in which a subject displayed in a viewpoint area, which is an area viewed by a user, is selected and a second mode in which the subject is not selected, based on the viewpoint area and a feature amount related to the captured image; having the feature amount includes a distance between a subject displayed in the viewpoint area and an imaging means that captures the captured image, the control means continues to operate in the second mode when an amount of change in the motion vector of the viewpoint area during a predetermined period is equal to or less than a first threshold and an amount of change in the distance during the predetermined period is equal to or less than a second threshold and the control means is operating in the second mode; 1. An electronic device comprising:
2. The control means, based on the viewpoint area and the feature amount, When it is determined that the subject displayed in the viewpoint area continues to be a first subject, the device operates in the first mode; when it is determined that the subject displayed in the viewpoint area has changed from the first subject to a second subject, the device operates in the second mode.
2. The electronic device according to claim 1 .
3. the feature amount includes a motion vector of an image displayed in the viewpoint area among the captured images, 3. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.
4. the control means operates in the second mode when it is determined that the motion vector of the viewpoint area does not match the motion vector of an image displayed in the viewpoint area among the captured images.
4. The electronic device according to claim 3.
5. the control means operates in the first mode when it is determined that a motion vector of the viewpoint area matches a motion vector of an image of the captured image that is displayed in the viewpoint area.
5. The electronic device according to claim 4.
6. the control means continues to operate in the first mode when an amount of change in the motion vector of the viewpoint area during a predetermined period is equal to or less than a first threshold and an amount of change in the distance during the predetermined period is equal to or less than a second threshold and the control means is operating in the first mode; 6. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.
7. the control means operates in the second mode when an amount of change in the motion vector of the viewpoint area during a predetermined period is equal to or less than a first threshold value, and an amount of change in the distance during the predetermined period is greater than a second threshold value, and when it is determined that the distance after the change is not a value based on the distance in the immediately preceding first mode.
7. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.
8. the control means operates in the first mode when an amount of change in the motion vector of the viewpoint area during a predetermined period is equal to or less than a first threshold value and an amount of change in the distance during the predetermined period is greater than a second threshold value, and when it is determined that the distance after the change is a value based on the distance in the immediately preceding first mode.
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 control means determines that the distance after the change is a value based on the distance in the immediately preceding first mode when a difference between the distance after the change and the distance in the immediately preceding first mode is within a first predetermined value, or when a difference between the distance after the change and a value estimated from the distance in the immediately preceding first mode is within a second predetermined value.
9. The electronic device according to claim 7 or 8.
10. the control means operates in the first mode when an amount of change in the motion vector of the viewpoint area during a predetermined period is greater than a first threshold and an amount of change in the distance during the predetermined period is equal to or smaller than a second threshold.
10. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.
11. the control means operates in the second mode when an amount of change in the motion vector of the viewpoint area during a predetermined period is greater than a first threshold and an amount of change in the distance during the predetermined period is greater than a second threshold.
11. The electronic device according to claim 1,
12. The captured image includes a phase contrast image, The distance is obtained based on the phase contrast image.
12. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.
13. Further comprising a distance sensor for measuring the distance.
12. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.
14. the feature amount includes at least one of color information and texture information of an image displayed in the viewpoint area of the captured image; 14. The electronic device according to claim 1, wherein the first and second electrodes are arranged in a first direction.
15. The image capturing apparatus further includes a display control unit for displaying the captured image on a display unit.
15. The electronic device according to claim 1,
16. The captured image is an image captured by an imaging means.
16. The electronic device according to claim 1 .
17. the first mode is a mode in which a focus of the imaging means is controlled so as to focus on the subject displayed in the viewpoint area, the second mode is a mode in which the subject displayed in the viewpoint area is not focused on; 17. The electronic device according to claim 16 .
18. Further comprising a detection means for detecting the viewpoint area.
18. The electronic device according to claim 1 ,
19. Further comprising a second acquisition means for acquiring the feature amount.
19. The electronic device according to claim 1 ,
20. Further comprising a display means for displaying the captured image, An imaging device that captures an image of a subject to obtain the captured image.
20. The electronic device according to claim 1 ,
21. A method for controlling an electronic device having a first acquisition means for acquiring a captured image, a control step of switching between a first mode in which a subject displayed in a viewpoint area, which is an area viewed by a user, is selected and a second mode in which the subject is not selected, based on the viewpoint area and a feature amount related to the captured image; the feature amount includes a distance between a subject displayed in the viewpoint area and an imaging means that captures the captured image, In the control step, when an amount of change in the motion vector of the viewpoint region during a predetermined period is equal to or less than a first threshold and an amount of change in the distance during the predetermined period is equal to or less than a second threshold, and when the electronic device is operating in the second mode, the electronic device is caused to continue to operate in the second mode. A control method comprising:
22. 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 20.
Citation Information
Patent Citations
Device and method for image pickup
JP1996046852A
Optical device with visual axis function
JP2004008323A
Imaging apparatus
JP2013131996A
Imaging apparatus and control method therefor
JP2017034569A
Multi-viewpoint robot camera control device and program therefor
JP2017085340A
