WO2022201782A1 - 撮像装置、撮像方法、及びプログラム - Google Patents

撮像装置、撮像方法、及びプログラム Download PDF

Info

Publication number
WO2022201782A1
WO2022201782A1 PCT/JP2022/001632 JP2022001632W WO2022201782A1 WO 2022201782 A1 WO2022201782 A1 WO 2022201782A1 JP 2022001632 W JP2022001632 W JP 2022001632W WO 2022201782 A1 WO2022201782 A1 WO 2022201782A1
Authority
WO
WIPO (PCT)
Prior art keywords
depth
field
object position
distance
focus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/JP2022/001632
Other languages
English (en)
French (fr)
Japanese (ja)
Inventor
幸徳 西山
慎也 藤原
太郎 斎藤
武弘 河口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2023508675A priority Critical patent/JP7421008B2/ja
Publication of WO2022201782A1 publication Critical patent/WO2022201782A1/ja
Priority to US18/466,828 priority patent/US20230419520A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/50Depth or shape recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • H04N23/672Focus control based on electronic image sensor signals based on the phase difference signals
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/28Systems for automatic generation of focusing signals
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/28Systems for automatic generation of focusing signals
    • G02B7/34Systems for automatic generation of focusing signals using different areas in a pupil plane
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B13/00Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
    • G03B13/18Focusing aids
    • G03B13/30Focusing aids indicating depth of field
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B13/00Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
    • G03B13/32Means for focusing
    • G03B13/34Power focusing
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B13/00Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
    • G03B13/32Means for focusing
    • G03B13/34Power focusing
    • G03B13/36Autofocus systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • H04N23/675Focus control based on electronic image sensor signals comprising setting of focusing regions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/70SSIS architectures; Circuits associated therewith
    • H04N25/703SSIS architectures incorporating pixels for producing signals other than image signals
    • H04N25/704Pixels specially adapted for focusing, e.g. phase difference pixel sets
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10028Range image; Depth image; 3D point clouds
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30244Camera pose

Definitions

  • the technology of the present disclosure relates to an imaging device, an imaging method, and a program.
  • the imaging apparatus described in Japanese Patent Application Laid-Open No. 2020-154283 includes tilt control means for driving at least one of an imaging element or an imaging optical system and performing tilt control, focus lens driving means for driving a focus lens, and tilt control.
  • the autofocus camera described in Japanese Patent Application Laid-Open No. 2001-116980 has a measuring means capable of measuring a plurality of moving positions of a focus lens or an imaging plane for separately focusing on a plurality of subjects present within a shooting range. and, when a plurality of moving positions are measured by the measuring means, a focus adjusting means for moving the focus lens or the imaging surface to a substantially central position between the moving positions at both ends of the plurality of moving positions; Aperture adjustment means for controlling the aperture so that the plurality of subjects are within the depth of field when images of a plurality of subjects are formed by a focus lens or an imaging plane, and are adjusted by the focus adjustment means and the aperture adjustment means, respectively. and a photographing means for photographing with a focus lens or an imaging plane and an aperture.
  • the focus control device described in the pamphlet of International Publication No. 2017/057104 receives a light beam that has passed through an imaging optical system including a focus lens movable in the optical axis direction within a first range, and outputs a signal corresponding to the amount of received light. Based on a group of signals output from a plurality of signal detection units for detection, a movement permission range control unit that controls a movement permission range that permits movement of the focus lens set in the first range, and a plurality of signal detection units and a lens drive control section for moving the focus lens within the movement permission range controlled by the movement permission range control section.
  • An embodiment according to the technology of the present disclosure is an imaging apparatus and an imaging method capable of suppressing sudden changes in the focus state even when the subjects move in the depth direction when imaging a plurality of subjects, for example. , and provide programs.
  • An imaging device of the present disclosure is an imaging device including an image sensor and a processor, wherein the processor is a first object included in a moving image indicated by moving image data obtained by being imaged by the image sensor. obtaining first distance data relating to the distance from the imaging device and second distance data relating to the distance from the imaging device to the second object included in the moving image; A focus position is controlled according to whether or not the first object position and the second object position in the depth direction based on the second distance data fall within the depth of field.
  • the processor When the second object position deviates from the depth of field in the first direction, the processor performs control to move the focus position in the first direction within a range in which the first object position is within the depth of field. good too.
  • the processor may perform control to move the focus position in accordance with the movement of the first object position in the depth direction. good.
  • the processor may perform control to link the focus position to the first object position moving in the depth direction.
  • the processor determines that the distance between the first object position and the predetermined end of the depth of field is equal to or less than the predetermined distance. On the condition that the focus position is interlocked, control may be performed.
  • the processor determines that a position between the first object position and the second object position is within a first central range of the depth of field when the first object position and the second object position are within the depth of field. It is also possible to perform control to set the focus position to a position that fits within .
  • the position between the first object position and the second object position may be the middle position between the first object position and the second object position.
  • the processor focuses on a position where the in-focus position is set between the first object position and the second object position when the first object position and the second object position are within the depth of field. You may perform control which sets a position.
  • the position between the first object position and the second object position may be the middle position between the first object position and the second object position.
  • the processor adjusts the focus position to a position where the first object position is within the second central range of the depth of field when the state where the second object position is out of the depth of field continues for a first predetermined time or longer.
  • Setting control may be performed.
  • the processor may perform control to set the focus position to a position where the first object position falls within the third central range of the depth of field.
  • the processor determines that the state in which the second object position is out of the depth of field and the distance between the first object position and the second object position is less than the length of the depth of field is a second predetermined time. If the above continues, control may be performed to set the focus position to a position where the first object position and the second object position are within the depth of field.
  • the processor may set, as the first object, an object that satisfies a predetermined condition among the plurality of objects identified from the moving image data.
  • the default condition may be the condition that it is instructed from the outside, or the condition that it is detected as a default object by performing the detection process.
  • the processor acquires third distance data relating to the distance between a third object included in the moving image and the imaging device, and the third object position in the depth direction based on the second object position and the third distance data is obtained.
  • control may be performed to move the focus position in the second direction within a range in which the first object position is within the depth of field.
  • the processor determines that if the second object position deviates from the depth of field in the third direction and the third object position deviates from the depth of field in the fourth direction, then the first object position is the depth of field in the fourth direction. 4 Control may be performed to set the focus position to a position within the central range.
  • the processor may perform control to expand the depth of field by changing the aperture amount when the second object position is out of the depth of field.
  • Control for expanding the depth of field by changing the aperture amount may be control for changing the aperture amount to an amount that allows the first object position and the second object position to fit within the depth of field.
  • the processor may acquire the first distance data and the second distance data based on the imaging data output from the image sensor.
  • the image sensor may have a plurality of phase difference pixels, and the processor may acquire the first distance data and the second distance data based on the phase difference pixel data output from the phase difference pixels among the imaging data. .
  • the phase difference pixel is a pixel that selectively outputs non-phase difference pixel data and phase difference pixel data, and the non-phase difference pixel data is obtained by photoelectric conversion performed by the entire area of the phase difference pixel.
  • the pixel data is pixel data, and the phase difference pixel data may be pixel data obtained by performing photoelectric conversion in a partial area of the phase difference pixel.
  • first distance data about the distance between a first object and an imaging device included in a moving image indicated by moving image data obtained by being imaged by an image sensor
  • second distance data regarding the distance between the included second object and the imaging device, and the first object position in the depth direction based on the first distance data and the depth direction based on the second distance data and controlling the focus position depending on whether the second object position of is within the depth of field.
  • a program of the present disclosure provides, in a computer, first distance data relating to the distance between a first object and an imaging device included in a moving image indicated by moving image data captured by an image sensor, and a moving image. Acquiring second distance data about a distance between a second object contained in the image and the imaging device; and obtaining a first object position in the depth direction based on the first distance data; A process including controlling the focus position depending on whether or not the second object position in the depth direction is within the depth of field is executed.
  • FIG. 1 is a schematic configuration diagram showing an example configuration of an imaging device according to a first embodiment
  • FIG. 1 is a schematic configuration diagram showing an example of hardware configuration of an optical system and an electrical system of an imaging device according to a first embodiment
  • FIG. 1 is a schematic configuration diagram showing an example of configuration of a photoelectric conversion element according to a first embodiment
  • FIG. 4 is an explanatory diagram illustrating an example of the relationship between the depth of field and the focus lens according to the first embodiment
  • FIG. 3 is a block diagram showing an example of a functional configuration of a CPU according to the first embodiment
  • FIG. FIG. 4 is an explanatory diagram showing an example of a first operation example of the imaging device according to the first embodiment
  • FIG. 11 is an explanatory diagram showing an example of a second operation example of the imaging device according to the first embodiment;
  • FIG. 11 is an explanatory diagram showing an example of a third operation example of the imaging device according to the first embodiment;
  • FIG. 11 is an explanatory diagram showing an example of a fourth operation example of the imaging device according to the first embodiment;
  • 6 is a flowchart showing an example of the flow of focus position control processing executed by a CPU according to the first embodiment;
  • FIG. 11 is an explanatory diagram showing an example of a first operation example of an imaging device according to a second embodiment;
  • FIG. 11 is an explanatory diagram showing an example of a second operation example of the imaging device according to the second embodiment;
  • FIG. 11 is a flowchart showing an example of the flow of focus position control processing executed by a CPU according to the second embodiment;
  • FIG. FIG. 11 is an explanatory diagram showing an example of an operation example of an imaging device according to a third embodiment;
  • FIG. 11 is an explanatory diagram showing an example of an operation example of an imaging device according to a fourth embodiment;
  • FIG. 11 is an explanatory diagram showing an example of an operation example of an imaging device according to a fifth embodiment;
  • FIG. 21 is an explanatory diagram showing an example of a first operation example of an imaging device according to the sixth embodiment;
  • FIG. 20 is an explanatory diagram showing an example of a second operation example of the imaging device according to the sixth embodiment;
  • FIG. 21 is an explanatory diagram showing an example of a third operation example of the imaging device according to the sixth embodiment;
  • FIG. 21 is an explanatory diagram showing one example of a fourth operation example of the imaging device according to the sixth embodiment;
  • FIG. 16 is a flowchart showing an example of the flow of focus position control processing executed by a CPU according to the sixth embodiment;
  • FIG. 21 is an explanatory diagram showing an example of a first operation example of an imaging device according to the seventh embodiment;
  • FIG. 21 is an explanatory diagram showing an example of a second operation example of the imaging device according to the seventh embodiment;
  • FIG. 16 is a flow chart showing an example of the flow of focus position control processing executed by a CPU according to the seventh embodiment;
  • CPU is an abbreviation for "Central Processing Unit”.
  • GPU is an abbreviation for "Graphics Processing Unit”.
  • TPU is an abbreviation for "Tensor processing unit”.
  • NVM is an abbreviation for "Non-volatile memory”.
  • RAM is an abbreviation for "Random Access Memory”.
  • IC is an abbreviation for "Integrated Circuit”.
  • ASIC is an abbreviation for "Application Specific Integrated Circuit”.
  • PLD is an abbreviation for "Programmable Logic Device”.
  • FPGA is an abbreviation for "Field-Programmable Gate Array”.
  • SoC is an abbreviation for "System-on-a-chip.”
  • SSD is an abbreviation for "Solid State Drive”.
  • USB is an abbreviation for "Universal Serial Bus”.
  • HDD is an abbreviation for "Hard Disk Drive”.
  • EEPROM is an abbreviation for "Electrically Erasable and Programmable Read Only Memory”.
  • EL is an abbreviation for "Electro-Luminescence”.
  • I/F is an abbreviation for "Interface”.
  • UI is an abbreviation for "User Interface”.
  • fps is an abbreviation for "frame per second”.
  • MF is an abbreviation for "Manual Focus”.
  • AF is an abbreviation for "Auto Focus”.
  • CMOS is an abbreviation for "Complementary Metal Oxide Semiconductor”.
  • CCD is an abbreviation for "Charge Coupled Device”.
  • A/D is an abbreviation for "Analog/Digital”.
  • PC is an abbreviation for "Personal Computer”.
  • AI is an abbreviation for “Artificial Intelligence”.
  • TOF is an abbreviation for “Time
  • parallel means an error that is generally allowed in the technical field to which the technology of the present disclosure belongs, and an error that does not go against the gist of the technology of the present disclosure, in addition to perfect parallelism. It refers to parallel in the sense of including.
  • match means an error generally allowed in the technical field to which the technology of the present disclosure belongs, in addition to a perfect match, and is contrary to the spirit of the technology of the present disclosure. It refers to a match in terms of meaning, including the degree of error that does not occur.
  • an imaging device 10 is a device for imaging a subject, and includes a controller 12 , an imaging device main body 16 and an interchangeable lens 18 .
  • the imaging device 10 is an example of an “imaging device” according to the technology of the present disclosure
  • the controller 12 is an example of a “computer” according to the technology of the present disclosure.
  • the controller 12 is built in the imaging device main body 16 and controls the imaging device 10 as a whole.
  • the interchangeable lens 18 is replaceably attached to the imaging device main body 16 .
  • the interchangeable lens 18 is provided with a focus ring 18A.
  • the focus ring 18A is operated by a user of the imaging device 10 (hereinafter simply referred to as “user”) or the like when manually adjusting the focus of the imaging device 10 on the subject.
  • an interchangeable lens type digital camera is shown as an example of the imaging device 10 .
  • the imaging device 10 may be a digital camera with a fixed lens, a smart device, a wearable terminal, a cell observation device, an ophthalmologic observation device, or a surgical microscope. may be a digital camera built into the electronic equipment.
  • An image sensor 20 is provided in the imaging device body 16 .
  • the image sensor 20 is an example of an "image sensor" according to the technology of the present disclosure.
  • Image sensor 20 is a CMOS image sensor.
  • the image sensor 20 captures an imaging area including at least one subject.
  • subject light representing the subject passes through the interchangeable lens 18 and forms an image on the image sensor 20, and image data representing the image of the subject is generated by the image sensor 20. be done.
  • CMOS image sensor is exemplified as the image sensor 20, but the technology of the present disclosure is not limited to this. The technology of the present disclosure is also established.
  • a release button 22 and a dial 24 are provided on the upper surface of the imaging device body 16 .
  • the dial 24 is operated when setting the operation mode of the imaging system and the operation mode of the reproduction system. Modes are selectively set.
  • the imaging mode is an operation mode for causing the imaging device 10 to perform imaging.
  • the reproduction mode is an operation mode for reproducing an image (for example, a still image and/or a moving image) obtained by capturing an image for recording in the imaging mode.
  • the setting mode is an operation mode that is set for the imaging device 10 when setting various setting values used in control related to imaging.
  • the release button 22 functions as an imaging preparation instruction section and an imaging instruction section, and can detect a two-stage pressing operation in an imaging preparation instruction state and an imaging instruction state.
  • the imaging preparation instruction state refers to, for example, the state of being pressed from the standby position to the intermediate position (half-pressed position), and the imaging instruction state refers to the state of being pressed to the final pressed position (full-pressed position) beyond the intermediate position. point to Hereinafter, “the state of being pressed from the standby position to the half-pressed position” will be referred to as “half-pressed state”, and "the state of being pressed from the standby position to the fully-pressed position” will be referred to as "fully-pressed state”.
  • the imaging preparation instruction state may be a state in which the user's finger is in contact with the release button 22, and the imaging instruction state may be a state in which the operating user's finger is in contact with the release button 22. It may be in a state that has transitioned to a state away from the state.
  • the touch panel display 32 includes the display 28 and the touch panel 30 (see also FIG. 2).
  • An example of the display 28 is an EL display (eg, an organic EL display or an inorganic EL display).
  • the display 28 may be another type of display such as a liquid crystal display instead of an EL display.
  • the display 28 displays images and/or character information.
  • the display 28 is used to capture live view images, that is, to display live view images obtained by continuously capturing images when the imaging device 10 is in the imaging mode.
  • the “live view image” refers to a moving image for display based on image data obtained by being imaged by the image sensor 20 .
  • Imaging performed to obtain a live view image (hereinafter also referred to as “live view image imaging”) is performed at a frame rate of 60 fps, for example. 60 fps is merely an example, and the frame rate may be less than 60 fps or more than 60 fps.
  • the display 28 is also used to display a still image obtained by performing still image imaging when a still image imaging instruction is given to the imaging device 10 via the release button 22 . be done.
  • the display 28 is also used for displaying reproduced images and the like when the imaging device 10 is in the reproduction mode. Furthermore, when the imaging apparatus 10 is in the setting mode, the display 28 displays a menu screen from which various menus can be selected, and a setting screen for setting various setting values used in control related to imaging. Also used for display.
  • the touch panel 30 is a transmissive touch panel and is superimposed on the surface of the display area of the display 28 .
  • the touch panel 30 accepts instructions from the user by detecting contact with an indicator such as a finger or a stylus pen.
  • an indicator such as a finger or a stylus pen.
  • the above-described “full-press state” also includes a state in which the user turns on the soft key for starting imaging via the touch panel 30 .
  • an out-cell touch panel display in which the touch panel 30 is superimposed on the surface of the display area of the display 28 is given as an example of the touch panel display 32, but this is only an example.
  • the touch panel display 32 it is possible to apply an on-cell or in-cell touch panel display.
  • the instruction key 26 accepts various instructions.
  • “various instructions” include, for example, an instruction to display a menu screen, an instruction to select one or more menus, an instruction to confirm a selection, an instruction to delete a selection, zoom in, zoom out, and various instructions such as frame advance. Also, these instructions may be given by the touch panel 30 .
  • the image sensor 20 has a photoelectric conversion element 72 .
  • the photoelectric conversion element 72 has a light receiving surface 72A.
  • the photoelectric conversion element 72 is arranged in the imaging device main body 16 so that the center of the light receiving surface 72A and the optical axis OA are aligned (see also FIG. 1).
  • the photoelectric conversion element 72 has a plurality of photosensitive pixels 72B (see FIG. 3) arranged in a matrix, and the light receiving surface 72A is formed by the plurality of photosensitive pixels 72B.
  • Each photosensitive pixel 72B has a microlens 72C (see FIG. 3).
  • Each photosensitive pixel 72B is a physical pixel having a photodiode (not shown), photoelectrically converts received light, and outputs an electrical signal corresponding to the amount of received light.
  • the plurality of photosensitive pixels 72B have red (R), green (G), or blue (B) color filters (not shown) arranged in a predetermined pattern arrangement (eg, Bayer arrangement, RGB stripe arrangement, R/G are arranged in a matrix in a checkerboard arrangement, an X-Trans (registered trademark) arrangement, a honeycomb arrangement, or the like).
  • a predetermined pattern arrangement eg, Bayer arrangement, RGB stripe arrangement, R/G are arranged in a matrix in a checkerboard arrangement, an X-Trans (registered trademark) arrangement, a honeycomb arrangement, or the like.
  • the interchangeable lens 18 has an imaging lens 40 .
  • the imaging lens 40 has an objective lens 40A, a focus lens 40B, a zoom lens 40C, and an aperture 40D.
  • the objective lens 40A, the focus lens 40B, the zoom lens 40C, and the diaphragm 40D are arranged along the optical axis OA from the subject side (object side) to the imaging device main body 16 side (image side).
  • the zoom lens 40C and the diaphragm 40D are arranged in this order.
  • the interchangeable lens 18 also includes a control device 36 , a first actuator 37 , a second actuator 38 and a third actuator 39 .
  • the control device 36 controls the entire interchangeable lens 18 according to instructions from the imaging device body 16 .
  • the control device 36 is, for example, a device having a computer including a CPU, NVM, RAM, and the like.
  • the NVM of controller 36 is, for example, an EEPROM. However, this is merely an example, and an HDD and/or an SSD or the like may be applied as the NVM of the control device 36 instead of or together with the EEPROM.
  • the RAM of the control device 36 temporarily stores various information and is used as a work memory. In the control device 36, the CPU reads necessary programs from the NVM and executes the read various programs on the RAM to control the imaging lens 40 as a whole.
  • control device 36 Although a device having a computer is mentioned here as an example of the control device 36, this is merely an example, and a device including ASIC, FPGA, and/or PLD may be applied. Also, as the control device 36, for example, a device realized by combining a hardware configuration and a software configuration may be used.
  • the first actuator 37 includes a focus slide mechanism (not shown) and a focus motor (not shown).
  • a focus lens 40B is attached to the focus slide mechanism so as to be slidable along the optical axis OA.
  • a focus motor is connected to the focus slide mechanism, and the focus slide mechanism receives power from the focus motor and operates to move the focus lens 40B along the optical axis OA.
  • the second actuator 38 includes a zoom slide mechanism (not shown) and a zoom motor (not shown).
  • a zoom lens 40C is attached to the zoom slide mechanism so as to be slidable along the optical axis OA.
  • a zoom motor is connected to the zoom slide mechanism, and the zoom slide mechanism receives power from the zoom motor to move the zoom lens 40C along the optical axis OA.
  • an example of a form in which the focus slide mechanism and the zoom slide mechanism are provided separately is given, but this is only an example, and an integrated slide mechanism capable of both focusing and zooming is provided. It may be a mechanism. Also, in this case, power generated by one motor may be transmitted to the slide mechanism without using the focus motor and the zoom motor.
  • the third actuator 39 includes a power transmission mechanism (not shown) and a diaphragm motor (not shown).
  • the diaphragm 40D has an aperture 40D1, and the aperture 40D1 is variable in size.
  • the aperture 40D1 is formed by, for example, a plurality of aperture blades 40D2.
  • the multiple aperture blades 40D2 are connected to a power transmission mechanism.
  • a diaphragm motor is connected to the power transmission mechanism, and the power transmission mechanism transmits the power of the diaphragm motor to the plurality of diaphragm blades 40D2.
  • the plurality of aperture blades 40D2 change the size of the opening 40D1 by receiving power transmitted from the power transmission mechanism. By changing the size of the aperture 40D1, the aperture amount of the diaphragm 40D is changed, thereby adjusting the exposure.
  • the focus motor, zoom motor, and aperture motor are connected to the control device 36, and the control device 36 controls the driving of the focus motor, zoom motor, and aperture motor.
  • a stepping motor is used as an example of the focus motor, zoom motor, and diaphragm motor. Therefore, the focus motor, the zoom motor, and the aperture motor operate in synchronization with the pulse signal according to commands from the control device 36 .
  • the interchangeable lens 18 is provided with the focus motor, the zoom motor, and the aperture motor is shown here, this is merely an example, and the focus motor and the zoom motor are provided.
  • the aperture motor may be provided in the imaging device main body 16 . Note that the configuration and/or the method of operation of the interchangeable lens 18 can be changed as required.
  • the MF mode and the AF mode are selectively set according to instructions given to the imaging device main body 16.
  • MF mode is a manual focusing mode of operation.
  • the focus lens 40B moves along the optical axis OA by a movement amount corresponding to the operation amount of the focus ring 18A or the like. is regulated.
  • AF is performed in the AF mode.
  • AF refers to processing for adjusting the focal position according to the signal obtained from the image sensor 20 .
  • the imaging device body 16 calculates the distance between the imaging device 10 and the subject, and the focus lens 40B moves along the optical axis OA to a position where the subject is in focus. is regulated.
  • the imaging device body 16 includes an image sensor 20, a controller 12, an image memory 46, a UI device 48, an external I/F 50, a communication I/F 52, a photoelectric conversion element driver 54, and an input/output interface 70.
  • the image sensor 20 also includes a photoelectric conversion element 72 and an A/D converter 74 .
  • the input/output interface 70 is connected to the controller 12, image memory 46, UI device 48, external I/F 50, communication I/F 52, photoelectric conversion element driver 54, and A/D converter 74.
  • the input/output interface 70 is also connected to the control device 36 of the interchangeable lens 18 .
  • the controller 12 controls the imaging device 10 as a whole. That is, in the example shown in FIG. 2, the controller 12 controls the image memory 46, the UI device 48, the external I/F 50, the communication I/F 52, the photoelectric conversion element driver 54, and the control device .
  • Controller 12 comprises CPU 62 , NVM 64 and RAM 66 .
  • the CPU 62 is an example of a 'processor' according to the technology of the present disclosure
  • the NVM 64 and/or the RAM 66 is an example of a 'memory' according to the technology of the present disclosure.
  • the CPU 62 , NVM 64 and RAM 66 are connected via a bus 68 , which is connected to an input/output interface 70 .
  • bus 68 may be a serial bus or a parallel bus including a data bus, an address bus, a control bus, and the like.
  • the NVM 64 is a non-temporary storage medium and stores various parameters and various programs.
  • the various programs include a later-described program 65 (see FIG. 5).
  • NVM 64 is, for example, an EEPROM. However, this is merely an example, and an HDD and/or SSD may be applied as the NVM 64 instead of or together with the EEPROM.
  • the RAM 66 temporarily stores various information and is used as a work memory.
  • the CPU 62 reads necessary programs from the NVM 64 and executes the read programs in the RAM 66 .
  • the CPU 62 performs image processing according to programs executed on the RAM 66 .
  • a photoelectric conversion element driver 54 is connected to the photoelectric conversion element 72 .
  • the photoelectric conversion element driver 54 supplies the photoelectric conversion element 72 with an imaging timing signal that defines the timing of imaging performed by the photoelectric conversion element 72 according to instructions from the CPU 62 .
  • the photoelectric conversion element 72 resets, exposes, and outputs an electric signal according to the imaging timing signal supplied from the photoelectric conversion element driver 54 .
  • imaging timing signals include a vertical synchronization signal and a horizontal synchronization signal.
  • the interchangeable lens 18 When the interchangeable lens 18 is attached to the imaging device main body 16, subject light incident on the imaging lens 40 is imaged on the light receiving surface 72A by the imaging lens 40.
  • the photoelectric conversion element 72 photoelectrically converts the subject light received by the light receiving surface 72A under the control of the photoelectric conversion element driver 54, and converts an electric signal corresponding to the amount of the subject light to A as imaging data 73 representing the subject light.
  • /D converter 74 Specifically, the A/D converter 74 reads out the imaging data 73 from the photoelectric conversion element 72 in units of one frame and for each horizontal line in a sequential exposure readout method.
  • the A/D converter 74 digitizes analog imaging data 73 read from the photoelectric conversion element 72 .
  • the imaging data 73 digitized by the A/D converter 74 is so-called RAW image data, and represents an image in which R pixels, G pixels, and B pixels are arranged in a mosaic pattern. Further, in the first embodiment, as an example, the number of bits of each pixel of R pixels, B pixels, and G pixels included in the RAW image data, that is, the bit length is 14 bits.
  • the CPU 62 acquires the imaging data 73 from the A/D converter 74 and performs image processing on the acquired imaging data 73 .
  • the CPU 62 generates moving image data 80 based on the imaging data 73 .
  • Moving image data 80 is stored in the image memory 46 .
  • the moving image data 80 includes image data 81 used for displaying a live view image, and distance data 82 regarding distances between a plurality of subjects in the imaging area and the imaging device 10 .
  • the UI-based device 48 has a display 28 .
  • the CPU 62 causes the display 28 to display the moving image data 80 stored in the image memory 46 .
  • the CPU 62 also causes the display 28 to display various information.
  • the UI device 48 also includes a reception device 76 that receives instructions from the user.
  • the reception device 76 has a touch panel 30 and a hard key section 78 .
  • the hard key portion 78 is a plurality of hard keys including the instruction key 26 (see FIG. 1).
  • the CPU 62 operates according to various instructions accepted by the touch panel 30 .
  • the hard key unit 78 is included in the UI device 48 here, the technology of the present disclosure is not limited to this. good.
  • the external I/F 50 controls transmission and reception of various types of information with devices existing outside the imaging device 10 (hereinafter also referred to as "external devices").
  • An example of the external I/F 50 is a USB interface.
  • External devices such as smart devices, personal computers, servers, USB memories, memory cards, and/or printers are directly or indirectly connected to the USB interface.
  • the communication I/F 52 is connected to a network (not shown).
  • the communication I/F 52 controls transmission and reception of information between a communication device (not shown) such as a server on the network and the controller 12 .
  • a communication device such as a server on the network
  • the communication I/F 52 transmits information requested by the controller 12 to the communication device via the network.
  • the communication I/F 52 also receives information transmitted from the communication device and outputs the received information to the controller 12 via the input/output interface 70 .
  • a plurality of photosensitive pixels 72B are arranged two-dimensionally on the light receiving surface 72A of the photoelectric conversion element 72.
  • a color filter (not shown) and a microlens 72C are arranged in each photosensitive pixel 72B.
  • one direction parallel to the light receiving surface 72A (for example, the row direction of a plurality of photosensitive pixels 72B arranged two-dimensionally) is defined as the X direction, and a direction orthogonal to the X direction (for example, two-dimensional
  • the column direction of the plurality of photosensitive pixels 72B arranged in parallel is defined as the Y direction.
  • a plurality of photosensitive pixels 72B are arranged along the X direction and the Y direction.
  • Each photosensitive pixel 72B includes an independent pair of photodiodes PD1 and PD2.
  • the photodiode PD1 receives a first luminous flux (for example, the imaging lens 40 (see FIG. 2)) obtained by pupil-dividing the luminous flux indicating the subject transmitted through the imaging lens 40 (hereinafter also referred to as "subject luminous flux"). ) is incident on the photodiode PD2, and a second luminous flux obtained by pupil-dividing the subject luminous flux (for example, the second luminous flux in the imaging lens 40 (see FIG. 2)) is incident on the photodiode PD2. 2) is incident.
  • a first luminous flux for example, the imaging lens 40 (see FIG. 2)
  • subject luminous flux obtained by pupil-dividing the subject luminous flux obtained by pupil-dividing the subject luminous flux
  • the photodiode PD1 performs photoelectric conversion on the first light flux.
  • the photodiode PD2 performs photoelectric conversion on the second light flux.
  • the photoelectric conversion element 72 is an image plane phase difference type photoelectric conversion element in which one photosensitive pixel 72B is provided with a pair of photodiodes PD1 and PD2.
  • the photoelectric conversion element 72 has a function that all the photosensitive pixels 72B output data regarding imaging and phase difference.
  • the photoelectric conversion element 72 outputs non-phase difference pixel data 73A by combining the pair of photodiodes PD1 and PD2 into one photosensitive pixel 72B.
  • the photoelectric conversion element 72 outputs phase difference pixel data 73B by detecting signals from each of the pair of photodiodes PD1 and PD2. That is, all the photosensitive pixels 72B provided in the photoelectric conversion element 72 are so-called phase difference pixels.
  • the photosensitive pixels 72B can selectively output non-phase difference pixel data 73A and phase difference pixel data.
  • the non-phase difference pixel data 73A is pixel data obtained by photoelectric conversion performed by the entire area of the photosensitive pixel 72B
  • the phase difference pixel data 73B is photoelectrically converted by a partial area of the photosensitive pixel 72B.
  • This is pixel data obtained by
  • "the entire area of the photosensitive pixel 72B” is the light receiving area including the photodiode PD1 and the photodiode PD2.
  • the “partial region of the photosensitive pixel 72B” is the light receiving region of the photodiode PD1 or the light receiving region of the photodiode PD2.
  • the photosensitive pixel 72B is an example of a "phase difference pixel" according to the technology of the present disclosure.
  • the non-phase difference pixel data 73A can also be generated based on the phase difference pixel data 73B.
  • the non-phase difference pixel data 73A is generated by adding the phase difference pixel data 73B for each pair of pixel signals corresponding to the pair of photodiodes PD1 and PD2.
  • the phase difference pixel data 73B may include only data output from one of the pair of photodiodes PD1 and PD2.
  • the phase difference pixel data 73B includes only the data output from the photodiode PD1, by subtracting the phase difference pixel data 73B from the non-phase difference pixel data 73A for each pixel, the photodiode PD2 It is possible to create data output from
  • the image data 81 included in the moving image data 80 (that is, the image data used for displaying the live view image) is generated based on the non-phase difference pixel data 73A.
  • the distance data 82 included in the moving image data 80 (that is, the distance data regarding the distances between a plurality of subjects in the imaging area and the imaging device 10) is generated based on the phase difference pixel data 73B.
  • the imaging device 10 includes a position sensor 42 .
  • the position sensor 42 detects the position of the focus lens 40B in the optical axis OA direction.
  • the image distance is the distance from the principal point of the imaging lens 40 to the light receiving surface 72A of the photoelectric conversion element 72 along the depth direction.
  • the image distance is derived based on the detection result of the position sensor 42 using a predetermined formula or data matching table.
  • the depth direction is a direction parallel to the optical axis OA.
  • the object distance is the distance along the depth direction from the principal point of the imaging lens 40 to the in-focus subject.
  • a subject in focus is positioned at the focus position.
  • the in-focus position is the position where the focus is best.
  • L is calculated by the following formula (1).
  • t is the image distance, which is derived based on the detection result of the position sensor 42 as described above.
  • f is the focal length of the focus lens 40B and is a known fixed value.
  • the depth of field of imaging device 10 has a rear depth of field and a front depth of field.
  • D is calculated by the following formula (2).
  • Dr is calculated by the following equation (3).
  • Df is calculated by the following formula (4).
  • F is the aperture value of the aperture 40D (see FIG. 2), that is, the F value
  • is the permissible diameter of the circle of confusion.
  • the F-number is derived based on the detection result of a sensor (not shown) that detects the aperture amount of the aperture 40D.
  • the permissible circle of confusion diameter is a known fixed value.
  • the diameter of the permissible circle of confusion is about twice the array pitch of the photosensitive pixels 72B (see FIG. 3) arrayed on the light receiving surface 72A, and blur of about one pixel size is allowed.
  • the permissible circle of confusion diameter may be changed by the user using the UI device 48 (see FIG. 2).
  • the near point distance is the distance along the depth direction from the principal point of the imaging lens 40 to the near point of the depth of field.
  • Ln is calculated by the following formula (5).
  • the far point distance is the distance along the depth direction from the principal point of the imaging lens 40 to the far point of the depth of field.
  • Lf is calculated by the following formula (6).
  • the NVM 64 stores a program 65 .
  • the program 65 is an example of a "program" according to the technology of the present disclosure.
  • the CPU 62 reads the program 65 from the NVM 64 and executes the read program 65 on the RAM 66 .
  • the CPU 62 performs moving image generation processing for generating moving image data 80 based on the imaging data 73 (see FIG. 6) according to the program 65 executed on the RAM 66 .
  • the moving image generation processing includes focus position control processing. That is, the CPU 62 performs focus position control processing, which will be described below, in the moving image generation processing.
  • the focus position control processing is realized by causing the CPU 62 to operate as the object setting unit 101, the distance data acquisition unit 102, the AF continuation determination unit 103, the inter-object distance determination unit 104, and the focus position control unit 105 according to the program 65. .
  • the object setting unit 101 selects, based on image data 81 included in the moving image data 80, a first object to be focused from a plurality of objects included in the moving image indicated by the image data 81.
  • An object and a second object are set.
  • the first and second objects include people, human faces, human bodies, animals, cars, fixed objects, and the like.
  • the first object and the second object may be objects of different types.
  • at least one of the first object and the second object may be an aggregate of a plurality of objects.
  • at least one of the first object and the second object may be an assembly in which a plurality of types of objects are mixed.
  • an object included in an image means an object included in the image as an image.
  • the object setting unit 101 may set the object that is in focus at the imaging start timing of the imaging device 10 as the first object. Also, the object setting unit 101 may set the first object based on information registered in advance in the imaging device 10 . The object setting unit 101 sets an object other than the object set as the first object among the plurality of objects as the second object. A specific object setting process by the object setting unit 101 will be described later in a fifth embodiment.
  • a plurality of objects 90A and 90B are shown as an example.
  • the multiple objects 90A and 90B are both people.
  • An example in which the object 90A is set as the first object and the object 90B is set as the second object will be described below.
  • the object 90A will be referred to as the first object 90A
  • the object 90B will be referred to as the second object 90B.
  • the first object 90A is an example of the "first object” according to the technology of the present disclosure
  • the second object 90B is an example of the "second object” according to the technology of the present disclosure.
  • the first object 90A located on the near point side of the depth of field is set as the first object
  • the second object 90B located on the far point side of the depth of field is set as the first object.
  • the second object 90B positioned on the far point side of the depth of field is set as the first object
  • the first object 90A positioned on the near point side of the depth of field is set as the first object It may be set as two objects.
  • the distance data acquisition unit 102 acquires first distance data 82A regarding the first object 90A and second distance data 82B regarding the second object 90B from the distance data 82 included in the moving image data 80.
  • the distance data acquisition unit 102 acquires the image of the first object 90A based on the signal output from the photodiode PD1 and the photo.
  • First distance data 82A relating to first object 90A is obtained by deriving the phase difference (that is, the amount of deviation and the direction of deviation) between the image of first object 90A and the signal output from diode PD2.
  • the first distance data 82A is data relating to the distance between the first object 90A and the imaging device 10 (hereinafter referred to as first object distance).
  • first object position represents the position of the first object 90A in the depth direction.
  • the distance data acquisition unit 102 obtains the image of the second object 90B based on the signal output from the photodiode PD1 and the image of the photodiode PD2.
  • Second distance data 82B regarding the second object 90B is obtained by deriving the phase difference (that is, the amount of deviation and the direction of deviation) between the image of the second object 90B and the signal output from .
  • the second distance data 82B is data relating to the distance between the second object 90B and the imaging device 10 (hereinafter referred to as second object distance).
  • the position away from the light receiving surface 72A by the second object distance is referred to as the second object position.
  • the second object position represents the position of the second object 90B in the depth direction.
  • the AF continuation determination unit 103 determines whether or not to continue AF for the first object 90A and the second object 90B.
  • the AF for the first object 90A and the second object 90B refers to the position between the first object 90A and the second object 90B according to the signal obtained from the image sensor 20 (for example, the position between the first object 90A and the second object 90A). 90B).
  • the AF continuation determination unit 103 It is determined not to continue AF for the first object 90A and the second object 90B.
  • the first predetermined time is, for example, 3 seconds.
  • the first predetermined time may be a fixed value, or may be a variable value that is changed according to an instruction given by a user or the like and/or various conditions (for example, imaging conditions). Further, for example, the AF continuation determination unit 103 determines not to continue AF for the first object 90A and the second object 90B when the depth of field becomes narrower than the predetermined range.
  • the predetermined range may be a preset range or a range that changes according to various conditions. Further, for example, when the first object position is within the depth of field but the second object position is out of the imaging range, the AF continuation determination unit 103 determines that the first object 90A and the second object 90B are It is determined not to continue AF.
  • the inter-object distance is the distance in the depth direction between the first object position and the second object position.
  • the AF continuation determination unit 103 determines that the first object position is within the depth of field, the second object position is out of the depth of field, and the inter-object distance is within the depth of field. If the state of less than the length continues for the second predetermined time or longer, it is determined to continue the AF for the first object 90A and the second object 90B.
  • the length of the depth of field corresponds to the length of the depth of field in the depth direction.
  • the length of the depth of field in the depth direction will be referred to as the length of the depth of field.
  • the second predetermined time is, for example, 3 seconds.
  • the second predetermined time may be a fixed value, or may be a variable value that is changed according to an instruction given by a user or the like and/or various conditions (for example, imaging conditions). Further, for example, when the time period during which the first object position and the second object position are within the depth of field is equal to or longer than the third predetermined time, the AF continuation determination unit 103 determines that the first object 90A and the second object It is determined to continue AF for 90B.
  • the third predetermined time is, for example, 3 seconds.
  • the third predetermined time may be a fixed value, or may be a variable value that is changed according to an instruction given by a user or the like and/or various conditions (for example, imaging conditions).
  • the AF continuation determination unit 103 may perform determination based on conditions other than the above.
  • the first predetermined time is an example of the "first predetermined time” according to the technology of the present disclosure
  • the second predetermined time is an example of the "second predetermined time” according to the technology of the present disclosure.
  • the AF continuation determination unit 103 determines the first object distance obtained from the first distance data 82A, the second object distance obtained from the second distance data 82B, the near-point distance calculated from the formula (5), and the formula (6 ), it is determined whether the first object position is within the depth of field and whether the second object position is within the depth of field.
  • the AF continuation determination unit 103 determines the width between the depth of field and the predetermined range based on the depth of field calculated from Equation (2). Further, the AF continuation determination unit 103 determines the inter-object distance and the subject based on the inter-object distance obtained from the first distance data 82A and the second distance data 82B and the depth of field calculated from the equation (2). Determine the length and length of field depth.
  • the AF continuation determination unit 103 stores in advance in the NVM 64 and/or the RAM 66 (see FIG. 2) the image data 81 obtained by being imaged by the image sensor 20 and the characteristics of the second object 90B. Acquire feature image data. Then, the AF continuation determination unit 103 determines whether or not the second object position is out of the imaging range by a so-called template matching method. That is, the AF continuation determination unit 103 determines whether or not the second object position is out of the imaging range based on whether or not the feature image data is included in the image data 81 .
  • the second object position is out of the imaging range by the template matching method, but the technology of the present disclosure is not limited to this, and the second object position is determined by the AI subject recognition method. It may be determined whether or not is out of the imaging range.
  • the inter-object distance determination unit 104 determines whether or not the inter-object distance is less than the depth of field. More specifically, the inter-object distance determination unit 104 determines the inter-object distance based on the inter-object distance obtained from the first distance data 82A and the second distance data 82B and the depth of field calculated from the equation (2). The merits of the distance and the length of the depth of field are identified, and based on the identification result, it is determined whether or not the distance between objects is less than the length of the depth of field.
  • control to set Control for setting the focus position means that the CPU 62 drives the first actuator 37 via the control device 36 to move the focus lens 40B, thereby moving the focus lens 40B to a specified position. That is.
  • the second object position is off the far point side of the depth of field, but the second object position is off the near point side of the depth of field, and the AF continuation determination unit 103 Even if the determination is negative, the focus position control unit 105 performs control to set the focus position to a position where the first object position is within the central range of the depth of field.
  • the focus position control unit 105 adjusts the first object distance obtained from the first distance data 82A, the near point distance calculated from Equation (5), the far point distance calculated from Equation (6), and the depth of field. Control is performed to set the focus position to a position where the first object position falls within the central range of the depth of field based on the setting value for the central range.
  • the central range of depth of field is the range extending from the center of depth of field to the front and rear of depth of field, and is defined as a ratio to the depth of field.
  • the central depth of field range is set to a range of 20% of the depth of field.
  • the central range of depth of field is not limited to 20% and can be set arbitrarily.
  • the central range of depth of field may be increased or decreased depending on factors such as the type of first object 90A.
  • the central range of the depth of field may be increased or decreased toward the front of the depth of field, or may be increased or decreased toward the rear of the depth of field.
  • the central range of depth of field is an example of the “second central range of depth of field” and the “third central range of depth of field” according to the technology of the present disclosure.
  • the focus position control unit 105 performs control to set the focus position to a position where the center of the depth of field is set to the first object position. good too.
  • the focus position control unit 105 may change the length and/or position of the central extent of depth of field.
  • the focus position control unit 105 determines whether the first object position in the depth direction based on the first distance data 82A and the second object position in the depth direction based on the second distance data 82B are within the depth of field. The focus position is controlled according to whether or not.
  • the focus position control unit 105 performs the first Control is performed to set the focus position to a position where the first object position and the second object position are within the depth of field.
  • the focus position control unit 105 controls the first object distance obtained from the first distance data 82A, the second object distance obtained from the second distance data 82B, the near-point distance calculated from the formula (5), and the near point distance calculated from the formula (6). Based on the far point distance calculated from , control is performed to set the focus position to a position where the first object position and the second object position are within the depth of field.
  • the focus position control unit 105 sets the position of the second object outside the depth of field and the distance between objects to the depth of field or longer.
  • the focus position is set in the direction in which the second object position is out of the depth of field within the range in which the first object position is within the depth of field.
  • Control to move in the same direction. Performing control to move the focus position means that the CPU 62 drives the first actuator 37 via the control device 36 to move the focus lens 40B, thereby moving the position of the focus lens 40B.
  • the focus position control unit 105 sets the first object position to the depth of field. Control is performed to move the focus position toward the subject within the range within. When control is performed to move the focus position toward the subject, the depth of field moves in the direction of the second object position, which is the same direction as the moving direction of the focus position.
  • the focus position control unit 105 sets the first object position within the depth of field. Control is performed to move the focus position in the image direction within the range. When control is performed to move the focus position in the image direction, the depth of field moves in the direction of the second object position, which is the same direction as the movement direction of the focus position.
  • the focus position control unit 105 controls the first object distance obtained from the first distance data 82A, the second object distance obtained from the second distance data 82B, the near-point distance calculated from the formula (5), and the near point distance calculated from the formula (6). Based on the far point distance calculated from the above, control is performed to move the focus position in the same direction as the direction in which the second object position is out of the depth of field within the range where the first object position is within the depth of field. .
  • the focus position control unit 105 moves the focus position in the same direction as the direction in which the second object position is out of the depth of field within a range where the first object position falls within a predetermined range narrower than the depth of field.
  • the predetermined range is a range extending from the center of the depth of field to the front and rear of the depth of field, and is defined as a percentage of the depth of field.
  • the default range is set to 80% of the depth of field.
  • the default range is not limited to 80% and can be set arbitrarily.
  • the predetermined range may be increased or decreased according to factors such as the type of the first object 90A, the moving direction of the first object 90A, or the moving speed of the first object 90A.
  • the predetermined range may be increased or decreased to the front of the depth of field or may be increased or decreased to the rear of the depth of field.
  • the focus position control unit 105 controls the first object distance obtained from the first distance data 82A, the second object distance obtained from the second distance data 82B, the near-point distance calculated from the equation (5), the equation ( 6), based on the far point distance calculated from the above and the setting value for the default range of the depth of field, the focus position is set within the range where the first object position is within the default range, and the second object position is from the depth of field. Control to move in the same direction as the deviated direction.
  • the direction in which the second object position is out of the depth of field and the direction in which the focus position moves are examples of the "first direction" according to the technology of the present disclosure.
  • FIG. 10 shows an example of the flow of focus position control processing according to the first embodiment.
  • the focus position control process shown in FIG. 10 is executed, for example, during display of a live view image before an imaging instruction is given by the release button 22 in AF mode.
  • step S11 the object setting unit 101 selects a plurality of objects included in the moving image indicated by the image data 81 based on the image data 81 included in the moving image data 80. , to set the first object 90A to be focused.
  • step S12 the object setting unit 101 sets the second object 90B to be focused from a plurality of objects included in the moving image indicated by the image data 81.
  • step S13 the distance data acquisition unit 102 acquires first distance data 82A regarding the first object 90A from the distance data 82 included in the moving image data 80.
  • step S14 the distance data acquisition unit 102 acquires second distance data 82B regarding the second object 90B from the distance data 82 included in the moving image data 80.
  • step S15 the AF continuation determination unit 103 determines whether or not to continue AF for the first object 90A and the second object 90B. In step S15, if the AF is not continued for the first object 90A and the second object 90B, the determination is negative, and the process shown in FIG. 10 proceeds to step S16. In step S15, when continuing AF for the first object 90A and the second object 90B, the determination is affirmative, and the process shown in FIG. 10 proceeds to step S17.
  • step S16 the focus position control unit 105 performs control to set the focus position to a position where the first object position falls within the central range of the depth of field.
  • the focus position control unit 105 may perform control to set the focus position to a position where the center of the depth of field is set to the first object position.
  • step S17 the inter-object distance determination unit 104 determines whether or not the inter-object distance is less than the length of the depth of field. In step S17, if the inter-object distance is less than the depth of field, the determination is affirmative, and the process shown in FIG. 10 proceeds to step S18. In step S17, if the inter-object distance is less than the depth of field, the determination is negative, and the process shown in FIG. 10 proceeds to step S19.
  • step S18 the focus position control unit 105 performs control to set the focus position to a position where the first object position and the second object position are within the depth of field.
  • step S19 the focus position control unit 105 performs control to move the focus position in the same direction as the direction in which the second object position is out of the depth of field within the range where the first object position is within the depth of field.
  • the process shown in FIG. 10 ends after the process of step S16 is executed.
  • the imaging method described as the operation of the imaging apparatus 10 described above is an example of the “imaging method” according to the technology of the present disclosure.
  • the CPU 62 captures the first object 90A included in the moving image indicated by the moving image data 80 obtained by being imaged by the image sensor 20. First distance data 82A regarding the distance to the device 10 and second distance data 82B regarding the distance between the imaging device 10 and the second object 90B included in the moving image are obtained. Then, the CPU 62 determines whether the first object position in the depth direction based on the first distance data 82A and the second object position in the depth direction based on the second distance data 82B are within the depth of field. to control the focus position. Therefore, for example, when imaging the first object 90A and the second object 90B, even when the second object 90B moves in the depth direction, sudden changes in the focus state can be suppressed.
  • the CPU 62 sets the focus position within the range in which the first object position is within the depth of field. Control to move in the same direction as the direction. Therefore, for example, when imaging the first object 90A and the second object 90B, even when the second object 90B moves in the depth direction, sudden changes in the focus state can be suppressed.
  • the CPU 62 adjusts the focus position to a position where the first object position is within the central range of the depth of field. Control to set. Therefore, the first object 90A can be focused.
  • the CPU 62 performs control to set the focus position to a position where the first object position is within the central range of the depth of field. Therefore, the first object 90A can be focused.
  • the CPU 62 Control is performed to set the focus position to a position where the first object position and the second object position are within the depth of field. Therefore, the first object 90A and the second object 90B can be brought into focus.
  • the CPU 62 acquires the first distance data 82A and the second distance data 82B based on the imaging data 73 output from the image sensor 20. Therefore, a distance sensor other than the image sensor 20 can be made unnecessary.
  • the image sensor 20 has a plurality of photosensitive pixels 72B, and the CPU 62 calculates the first distance data 82A and the second distance data based on the phase difference pixel data 73B output from the photosensitive pixels 72B in the imaging data 73. Get 82B. Therefore, the first distance data 82A and the second distance data 82B can be obtained from the imaging data 73.
  • the photosensitive pixel 72B is a pixel that selectively outputs the non-phase difference pixel data 73A and the phase difference pixel data 73B.
  • the non-phase-difference pixel data 73A is pixel data obtained by performing photoelectric conversion on the entire area of the photosensitive pixel 72B
  • the phase-difference pixel data 73B is obtained by photoelectric conversion on a partial area of the photosensitive pixel 72B. It is pixel data obtained by performing. Therefore, image data 81 and distance data 82 can be obtained from the imaging data 73 .
  • the focus position control unit 105 adjusts the inter-object distance by, for example, when the second object position is out of the depth of field and the inter-object distance is equal to or greater than the depth of field. Control to move the focus position in the same direction as the direction in which the second object position is out of the depth of field within the range where the first object position is within the depth of field when the determination by the determination unit 104 is negative. I do. However, for example, even if the distance between objects is less than the length of the depth of field, the focus position control unit 105 may cause the first object position to be out of the depth of field when the second object position is out of the depth of field. Control may be performed to move the focus position in the same direction as the direction in which the second object position is out of the depth of field within the range of the depth of field. Also, in this case, the second object position may or may not be within the depth of field.
  • the CPU 62 obtains the distance for each position corresponding to each of the photosensitive pixels 72B included in the photoelectric conversion element 72. However, it is necessary to obtain the distance from the positions corresponding to all the photosensitive pixels 72B. no. That is, the photosensitive pixels 72B for obtaining the distance may be thinned out.
  • the photoelectric conversion element 72 is an image-plane phase-difference type photoelectric conversion element in which a pair of photodiodes PD1 and PD2 are provided in one pixel.
  • all the photosensitive pixels 72B are not limited to having the function of outputting data on imaging and phase difference.
  • the photoelectric conversion element 72 may include a photosensitive pixel 72B that does not have a function of outputting data regarding imaging and phase difference.
  • the photoelectric conversion element 72 is not limited to the image plane phase difference type photoelectric conversion element in which a pair of photodiodes PD1 and PD2 are provided in one pixel, and is a photosensitive element for imaging for acquiring the non-phase difference pixel data 73A.
  • phase difference pixel may include pixels 72B and photosensitive pixels 72B for phase difference detection for obtaining phase difference pixel data 73B.
  • the phase difference pixel is provided with a light shielding member so as to receive light from one of the first partial pupil region and the second partial pupil region.
  • the distance data 82 is acquired by the phase difference type photoelectric conversion element 72, but the distance data 82 is acquired by using the TOF type photoelectric conversion element without being limited to the phase difference type.
  • the distance data 82 may be acquired using a stereo camera or depth sensor. Note that the distance data 82 may be acquired in accordance with the frame rate of the image sensor 20, or may be acquired at time intervals longer or shorter than the time intervals defined by the frame rate of the image sensor 20. You may do so.
  • the configuration of the imaging device 10 is changed as follows from the first embodiment. That is, the CPU 62 operates as an object movement determination unit 106 in addition to the object setting unit 101 , the distance data acquisition unit 102 , the AF continuation determination unit 103 , the object distance determination unit 104 , and the focus position control unit 105 .
  • the object movement determination unit 106 is controlled by the focus position control unit 105 to set the focus position to a position where the first object position and the second object position are within the depth of field. If so, it is determined whether or not the distance between the first object position and the near point of the depth of field is less than or equal to the first predetermined distance.
  • the object movement determining unit 106 determines the first object position based on the first object distance obtained from the first distance data 82A, the near-point distance calculated from Equation (5), and the first predetermined distance. and the near point of the depth of field and the first predetermined distance, and based on the identification result, the distance between the first object position and the near point of the depth of field is the first 1 It is determined whether or not the distance is equal to or less than the predetermined distance.
  • the object movement determination unit 106 controls the focus position control unit 105 to set the focus position to a position where the first object position and the second object position are within the depth of field. If so, it is determined whether the distance between the first object position and the far point of the depth of field is less than or equal to the second predetermined distance.
  • the object movement determining unit 106 determines the first object position based on the first object distance obtained from the first distance data 82A, the far point distance calculated from Equation (6), and the second predetermined distance. and the far point of the depth of field and the second predetermined distance, and based on the identification result, the distance between the first object position and the far point of the depth of field is the first 2 Determine whether or not the distance is equal to or less than the predetermined distance.
  • the near point of the depth of field and the far point of the depth of field will be referred to as the default edge of the depth of field
  • the first default distance and the second default distance will be referred to as default edges. called distance.
  • the default edge of the depth of field is an example of the "default edge of the depth of field" according to the technology of the present disclosure
  • the default distance is an example of the "default distance" of the technology of the present disclosure.
  • the focus position control unit 105 determines that the object movement determination unit If the determination in 106 is affirmative, control is performed to move the focus position in accordance with the movement of the first object position.
  • the focus position control unit 105 when the distance between the first object position and the near point of the depth of field becomes equal to or less than the first predetermined distance, the focus position control unit 105 When the object movement determination unit 106 makes an affirmative determination, control is performed to move the focus position in the image direction in accordance with the movement of the first object position to the near point side.
  • the focus position control unit 105 determines that the object movement is determined when the distance between the first object position and the far point of the depth of field becomes equal to or less than the second predetermined distance. If the determination in unit 106 is affirmative, control is performed to move the focus position toward the subject in accordance with the movement of the first object position toward the far point side. In this case, the focus position control unit 105 may perform control to link the focus position with the first object position moving in the depth direction.
  • Control to link the focus position to the first object position moving in the depth direction means that the CPU 62 drives the first actuator 37 via the control device 36 to move the focus lens 40B, thereby moving the focus lens 40B. It is to move the position of the focus lens 40B in the moving direction of the object 90A.
  • the depth of field moves in conjunction with the first object position.
  • the focus position control unit 105 adjusts the first distance based on the first object distance obtained from the first distance data 82A and the near point distance calculated from Equation (5) While maintaining a state in which the one-object distance exceeds the near point distance, control is performed to interlock the focus position with the first object position moving toward the near point side.
  • the focus position control unit 105 performs , the focus position is linked to the first object position moving to the far point side while maintaining the state that the first object distance is below the far point distance.
  • the focus position control unit 105 When the focus position control unit 105 performs control to move the focus position in accordance with the movement of the first object position, the focus position control unit 105 focuses on a position where the depth of field moves a predetermined distance in the direction in which the first object position moves. You may perform control which sets a position.
  • the focus position control unit 105 may move the depth of field according to the moving speed of the first object position.
  • the depth of field may be moved at a speed different from the moving speed of the first object position.
  • FIG. 13 shows an example of the flow of focus position control processing according to the second embodiment.
  • steps S11 to S19 are the same as the focus position control process according to the first embodiment.
  • step S20 proceeds to step S20 after step S18.
  • step S20 the object movement determination unit 106 determines whether or not the distance between the first object position and the default edge of the depth of field is equal to or less than the default distance. In step S20, if the distance between the first object position and the default end of the depth of field exceeds the default distance, the determination is negative, and the process shown in FIG. 13 proceeds to step S15. In step S20, if the distance between the first object position and the predetermined end of the depth of field is equal to or less than the predetermined distance, the determination is affirmative, and the process shown in FIG. 13 proceeds to step S21.
  • step S21 the focus position control unit 105 performs control to move the focus position in accordance with the movement of the first object position.
  • the focus position control unit 105 may perform control to link the focus position with the first object position moving in the depth direction.
  • the CPU 62 determines that the first object position is located in the depth direction when the first object position and the second object position are within the depth of field. Control is performed to move the focus position according to the movement. Therefore, the depth of field can be moved according to the movement of the first object position.
  • the CPU 62 may perform control to link the focus position to the first object position moving in the depth direction.
  • the depth of field can be linked to the first object position.
  • the CPU 62 determines that the distance between the first object position and the predetermined end of the depth of field is equal to or less than the predetermined distance. On the condition that the focus position is interlocked, control is performed. Therefore, before the first object position protrudes from the predetermined end of the depth of field, the control for interlocking the focus position can be started.
  • the configuration of the imaging device 10 is changed as follows with respect to the first embodiment.
  • the focus position control unit 105 performs the first Control is performed to set the focus position to a position where the position between the object position and the second object position (hereinafter referred to as the inter-object position) is within the central range of the depth of field.
  • the inter-object position may be a position off the center between the first object position and the second object position, or a center position between the first object position and the second object position. In the example shown in FIG. 14, as an example, the inter-object position is set to the middle position between the first object position and the second object position.
  • the focus position control unit 105 controls the first object distance obtained from the first distance data 82A, the second object distance obtained from the second distance data 82B, the set value for the inter-object position, and the near point calculated from Equation (5).
  • the focus position is set at a position where the inter-object position falls within the central range of the depth of field, based on the distance, the far point distance calculated from Equation (6), and the setting value for the central range of the depth of field. control.
  • the central range of depth of field is the range extending from the center of depth of field to the front and rear of depth of field, and is defined as a ratio to the depth of field.
  • the central depth of field range is set to a range of 20% of the depth of field.
  • the central range of depth of field is not limited to 20% and can be set arbitrarily.
  • the central range of depth of field may be increased or decreased depending on factors such as the type of first object 90A.
  • the central range of the depth of field may be increased or decreased toward the front of the depth of field, or may be increased or decreased toward the rear of the depth of field.
  • the central range of depth of field is an example of the "first central range of depth of field" according to the technology of the present disclosure.
  • the focus position control unit 105 may perform control to set the focus position at a position where the center of the depth of field is set as the inter-object position. .
  • the first object position is located on the near point side and the second object position is located on the far point side of the depth of field, but the first object position is located on the far point side.
  • the focus position control unit 105 adjusts the focus position to a position where the first object position falls within the central range of the depth of field. Control to set.
  • the CPU 62 sets the inter-object position to the depth of field. Control is performed to set the focus position to a position within the central range of . Therefore, even if the first object position and the second object position move, the first object position and the second object position can be kept within the depth of field.
  • the inter-object position may be the central position between the first object position and the second object position.
  • the first object position and the second object position are captured in a well-balanced manner. It can be stored in the limit depth.
  • the focus position control unit 105 changes the in-focus position to the object. Control is performed to set the focus position to the position set as the middle position.
  • the focus position control unit 105 controls the first object distance obtained from the first distance data 82A, the second object distance obtained from the second distance data 82B, the set value for the inter-object position, and the object distance calculated from the formula (1). Based on the distance, control is performed to set the focus position to a position where the focus position is set to the inter-object position.
  • the focus position control unit 105 controls to set the focus position to the position where the focus position is set to the inter-object position even when the second object position is positioned on the near point side of the depth of field. conduct.
  • the CPU 62 sets the in-focus position to the inter-object position when the first object position and the second object position are within the depth of field. Control to set the focus position to the set position. Therefore, even if the first object position and the second object position move, the first object position and the second object position can be kept within the depth of field.
  • the inter-object position may be the central position between the first object position and the second object position.
  • the first object position and the second object position are captured in a well-balanced manner. It can be stored in the limit depth.
  • the in-focus position is generally positioned closer to the near point than the center of the depth of field. Therefore, by setting the in-focus position to the inter-object position, for example, compared to the case where the center of the depth of field is set to the inter-object position (see FIG. 14), the first object 90A and the second object A second object 90B located on the far point side of 90B can be focused.
  • the display 28 displays each of the plurality of objects 110A and 110B detected by the object detection function of the imaging device 10 surrounded by frames 111A and 111B.
  • the object 110A is a human face and is a movable object that moves.
  • object 110B is a part of a building and is a fixed fixed object.
  • the object setting unit 101 sets an object that satisfies a predetermined condition among the plurality of objects 110A and 110B as the first object.
  • the predetermined condition include a condition that an instruction is given from the outside, or a condition that the object is detected as a predetermined object by performing detection processing.
  • the object setting unit 101 when the object setting unit 101 receives an instruction to select the object 110A or 110B from the user accepted by the accepting device 76, the object setting unit 101 follows the instruction from the user and displays the The first object may be set from a plurality of objects 110A and 110B.
  • the object setting unit 101 when the object setting unit 101 receives an instruction by the user specifying an image within the frame 111A or 111B on the touch panel 30, the object setting unit 101 displays the image on the display 28 according to the instruction from the user.
  • a first object may be set from a plurality of displayed objects 110A and 110B.
  • the object setting unit 101 when the object setting unit 101 receives an instruction from an external device received by the external I/F 50, the object setting unit 101 follows the instruction from the external device to A first object may be set.
  • the object setting unit 101 detects, for example, a movable object by performing an object detection process using artificial intelligence as an example of detection as a default object by performing the detection process.
  • the movable object may be set as the first object.
  • the object setting unit 101 sets the object 110A as the first object, and the object setting unit 101 sets the object 110B as the second object.
  • the CPU 62 sets an object that satisfies a predetermined condition among multiple objects identified from the moving image data 80 as the first object. Therefore, for example, when the first object is set regardless of whether the predetermined condition is satisfied, the probability that the user's preferred object can be set as the first object can be increased.
  • the default condition may be the condition that it is instructed from the outside.
  • an externally designated object can be set as the first object.
  • the default condition may be the condition that the object is detected as a default object by performing the detection process.
  • the first object is set without performing the detection process, it is possible to increase the probability that the user's preferred object can be set as the first object.
  • the CPU 62 operates as the object setting unit 101, the distance data acquisition unit 102, the AF continuation determination unit 103, the object distance determination unit 104, the object position determination unit 107, and the focus position control unit 105.
  • the object setting unit 101 selects a first object, a second object, and a third object to be focused from a plurality of objects included in the moving image indicated by the image data 81. set the object.
  • the first object, the second object, and the third object include people, human faces, human bodies, animals, cars, fixed objects, and the like.
  • the first object, the second object and the third object may be objects of different types.
  • at least one of the first object, the second object, and the third object may be an aggregate of a plurality of objects.
  • at least one of the first object, the second object, and the third object may be an assembly in which a plurality of types of objects are mixed.
  • the first object 90A is an example of the "first object” according to the technology of the present disclosure
  • the second object 90B is an example of the "second object” according to the technology of the present disclosure
  • the third object 90C is It is an example of a "third object” according to the technology of the present disclosure.
  • Distance data acquisition unit 102 obtains first distance data 82A for first object 90A, second distance data 82B for second object 90B, and third distance data 82B for third object 90C from distance data 82 included in moving image data 80. Acquire data 82C.
  • the distance data acquisition unit 102 acquires the image of the first object 90A based on the signal output from the photodiode PD1 and the photo.
  • First distance data 82A relating to first object 90A is obtained by deriving the phase difference (that is, the amount of deviation and the direction of deviation) between the image of first object 90A and the signal output from diode PD2. Similar to the first embodiment, the first distance data 82A is data relating to the first object distance, and the first object position represents the position of the first object 90A in the depth direction.
  • the distance data acquisition unit 102 obtains the image of the second object 90B based on the signal output from the photodiode PD1 and the image of the photodiode PD2.
  • Second distance data 82B regarding the second object 90B is obtained by deriving the phase difference (that is, the amount of deviation and the direction of deviation) between the image of the second object 90B and the signal output from .
  • the second distance data 82B is data relating to the second object distance, and the second object position represents the position of the second object 90B in the depth direction.
  • the distance data acquisition unit 102 obtains the image of the third object 90C based on the signal output from the photodiode PD1 and the image from the photodiode PD2.
  • Third distance data 82C regarding the third object 90C is obtained by deriving the phase difference (that is, the amount of deviation and the direction of deviation) between the image of the third object 90C and the output signal.
  • the third distance data 82C is data relating to the distance between the third object 90C and the imaging device 10 (hereinafter referred to as third object distance).
  • the position away from the light receiving surface 72A by the third object distance is referred to as the third object position.
  • the third object position represents the position of the third object 90C in the depth direction.
  • the AF continuation determination unit 103 determines whether or not to continue AF for the first object 90A, second object 90B, and third object 90C.
  • the AF for the first object 90A, the second object 90B, and the third object 90C are defined by the first object 90A, the second object 90B, and the third object 90C according to the signal obtained from the image sensor 20. (eg, the central position of the depth range defined by the first object 90A, the second object 90B, and the third object 90C).
  • the AF continuation determination unit 103 determines that the first object position is within the depth of field, but the second object position and/or the third object position are out of the depth of field for the first predetermined time or more. If it continues, it is determined not to continue the AF for the first object 90A, the second object 90B, and the third object 90C. Also, for example, the AF continuation determination unit 103 determines not to continue AF for the first object 90A, the second object 90B, and the third object 90C when the depth of field becomes narrower than the predetermined range.
  • the predetermined range may be a preset range or a range that changes according to various conditions.
  • the AF continuation determination unit 103 determines that the first object position It is determined not to continue AF for 90A, second object 90B, and third object 90C.
  • the distance between objects at both ends is the distance in the depth direction between the positions at both ends of the first object position, the second object position, and the third object position.
  • the AF continuation determination unit 103 determines that the first object position is within the depth of field, the second object position and/or the third object position are out of the depth of field, and both end objects If the inter-distance is less than the depth of field for a second predetermined time or longer, it is determined to continue AF for the first object 90A, the second object 90B, and the third object 90C.
  • the AF continuation determination unit 103 determines that the first It is determined to continue AF for the object 90A, the second object 90B, and the third object 90C.
  • the AF continuation determination unit 103 may perform determination based on conditions other than those described above.
  • the first predetermined time is an example of the "first predetermined time” according to the technology of the present disclosure
  • the second predetermined time is an example of the "second predetermined time” according to the technology of the present disclosure.
  • the AF continuation determination unit 103 determines the first object distance obtained from the first distance data 82A, the second object distance obtained from the second distance data 82B, the third object distance obtained from the third distance data 82C, and formula (5) and the far point distance calculated from Equation (6), whether or not the first object position is within the depth of field, and whether the second object position is within the depth of field and whether the third object position is within the depth of field.
  • the AF continuation determination unit 103 determines the width between the depth of field and the predetermined range based on the depth of field calculated from Equation (2). Further, the AF continuation determination unit 103 determines the distance between both end objects obtained from the first distance data 82A, the second distance data 82B, and the third distance data 82C, and the depth of field calculated from the equation (2). Then, the merits of the distance between the objects at both ends and the length of the depth of field are determined.
  • the AF continuation determination unit 103 uses the image data 81 obtained by imaging with the image sensor 20, the second data stored in advance in the NVM 64 and/or the RAM 66 (see FIG. 2) as representing the characteristics of the second object 90B. 1 feature image data, second feature image data pre-stored in the NVM 64 and/or RAM 66 (see FIG. 2) representing features of the third object 90C are obtained. Then, the AF continuation determination unit 103 determines whether or not the second object position is out of the imaging range by a so-called template matching method. That is, the AF continuation determination unit 103 determines whether or not the second object position is out of the imaging range based on whether or not the first feature image data is included in the image data 81 .
  • the AF continuation determination unit 103 determines whether or not the third object position is out of the imaging range by a so-called template matching method. That is, the AF continuation determination unit 103 determines whether or not the third object position is out of the imaging range based on whether or not the second feature image data is included in the image data 81 .
  • it is determined whether the second object position and the third object position are out of the imaging range by the template matching method it is determined whether the second object position and the third object position are out of the imaging range by the template matching method, but the technology of the present disclosure is not limited to this, and the subject recognition method by AI may be determined whether or not the second object position and/or the third object position are out of the imaging range.
  • the object-to-object distance determination unit 104 determines whether or not the object-to-object distance at both ends is less than the depth of field. More specifically, the object-to-object distance determining unit 104 determines the object-to-object distance obtained from the first distance data 82A, the second distance data 82B, and the third distance data 82C, and the object distance calculated from the equation (2). Based on the depth of field, the length of the distance between both ends of the object and the length of the depth of field are identified, and based on the identification result, it is determined whether or not the distance between both ends of the object is less than the length of the depth of field. .
  • the object position determination unit 107 determines whether the second object position and the third object position are out of the depth of field in the same direction. More specifically, the object position determination unit 107 determines the second object distance obtained from the second distance data 82B, the third object distance obtained from the third distance data 82C, the periapsis distance calculated from Equation (5), And based on the far point distance calculated from equation (6), the positional relationship between the second object position, the third object position, the near point, and the far point is specified, and based on the specified result, the second object position and the far point It is determined whether the three object positions are out of the depth of field in the same direction.
  • the focus position control unit 105 adjusts the focus position so that the first object position is within the central range of the depth of field. control to set
  • the second object position is off the near point side of the depth of field
  • the third object position is off the far point side of the depth of field.
  • the focus position control unit 105 if the determination by the AF continuation determination unit 103 is negative, Control is performed to set the focus position to a position where the first object position is within the central range of the depth of field.
  • the focus position control unit 105 controls the first object distance obtained from the first distance data 82A, the near point distance calculated from the equation (5), the far point distance calculated from the equation (6), the center of the depth of field Control is performed to set the focus position to a position where the first object position falls within the central range of the depth of field based on the range setting value.
  • the central range of depth of field is the same as in the first embodiment.
  • the focus position control unit 105 performs control to set the focus position to a position where the center of the depth of field is set to the first object position. good too.
  • the second object position and/or the third object position are out of the depth of field for the first predetermined time or longer, and the determination is negative in the AF continuation determination unit 103;
  • the determination is negative by the AF continuation determination unit 103 because the depth is narrower than the predetermined range, and when the second object position and/or the third object position are out of the imaging range, the AF continuation determination unit 103
  • the focus position control unit 105 may change the length and/or position of the central range of the depth of field depending on whether the determination is negative in .
  • the focus position control unit 105 controls the first object position in the depth direction based on the first distance data 82A, the second object position in the depth direction based on the second distance data 82B, and the position of the object in the depth direction based on the third distance data 82C.
  • the focus position is controlled according to whether or not the third object position in the depth direction falls within the depth of field.
  • the focus position control unit 105 Control is performed to set the focus position to a position where the first object position, the second object position, and the third object position are within the depth of field.
  • the focus position control unit 105 calculates a first object distance obtained from the first distance data 82A, a second object distance obtained from the second distance data 82B, a third object distance obtained from the third distance data 82C, and formula (5) Based on the near point distance calculated from and the far point distance calculated from Equation (6), the first object position, the second object position, and the third object position are focused within the depth of field. Control to set the position.
  • the focus position control unit 105 causes the object position determination unit 107 to If the determination is affirmative, the focus position is moved in the same direction as the direction in which the second object position and the third object position are out of the depth of field within the range where the first object position is within the depth of field. control.
  • the focus position control unit 105 controls the first object position is within the depth of field, the focus position is moved toward the subject.
  • the depth of field moves in the direction of the second object position and the third object position, which are the same directions as the moving direction of the focus position.
  • the focus position control unit 105 sets the first object position to the object position. Control is performed to move the focus position in the image direction within the range within the depth of field. When control is performed to move the focus position in the image direction, the depth of field moves in the direction of the second object position and the third object position, which is the same direction as the moving direction of the focus position.
  • the focus position control unit 105 calculates a first object distance obtained from the first distance data 82A, a second object distance obtained from the second distance data 82B, a third distance data 82C obtained from the third distance data 82C, and formula (5 ) and the far point distance calculated from Equation (6), the focus position is set to the second object position and the third object position within a range in which the first object position falls within the depth of field. Control is performed to move the position in the same direction as the direction out of the depth of field.
  • the focus position control unit 105 sets the focus position to the direction in which the second object position and the third object position are out of the depth of field within a range where the first object position falls within a predetermined range narrower than the depth of field. You may perform control to move in the same direction.
  • the default range is the same as in the first embodiment.
  • the focus position control unit 105 controls the first object distance obtained from the first distance data 82A, the second object distance obtained from the second distance data 82B, the third object distance obtained from the third distance data 82C, the formula Based on the near point distance calculated from (5), the far point distance calculated from equation (6), and the set values for the default range of the depth of field, within the range where the first object position falls within the default range Control is performed to move the focus position in the same direction as the direction in which the second object position and the third object position are out of the depth of field.
  • the direction in which the second object position and the third object position are out of the depth of field and the direction in which the focus position moves are the “second direction” according to the technology of the present disclosure.
  • the focus position control unit 105 causes the object position determination unit 107 to determine that the second object position and the third object position are out of the depth of field in mutually different directions. If the result is denied, control is performed to set the focus position to a position where the first object position falls within the central range of the depth of field.
  • the second object position is off the near point side of the depth of field
  • the third object position is off the far point side of the depth of field. Even if the position of the third object deviates from the far point side of the depth of field and the position of the third object deviates from the near point side of the depth of field, the focus position control unit 105 adjusts the position of the first object to the center of the depth of field in the same manner as described above. Control to set the focus position to a position within the range.
  • the direction in which the second object position is out of the depth of field is an example of the “third direction” according to the technology of the present disclosure, and the direction in which the third object position is out of the depth of field The direction is an example of the "fourth direction” according to the technology of the present disclosure.
  • the focus position control unit 105 controls the first object distance obtained from the first distance data 82A, the near point distance calculated from the equation (5), the far point distance calculated from the equation (6), the center of the depth of field Control is performed to set the focus position to a position where the first object position falls within the central range of the depth of field based on the range setting value.
  • the central range of depth of field is the same as in the first embodiment.
  • the central range is an example of the "fourth central range" according to the technology of the present disclosure.
  • the focus position control unit 105 performs control to set the focus position to a position where the center of the depth of field is set to the first object position. good too.
  • the focus position control unit 105 determines the length and/or the central range of the depth of field. Or you may change the position.
  • FIG. 21 shows an example of the flow of focus position control processing according to the sixth embodiment.
  • the focus position control process shown in FIG. 21 is executed, for example, during display of a live view image before an imaging instruction is given by the release button 22 in AF mode.
  • step S31 the object setting unit 101 selects a plurality of objects included in the moving image indicated by the image data 81 based on the image data 81 included in the moving image data 80. , to set the first object 90A to be focused.
  • step S32 the object setting unit 101 sets the second object 90B to be focused from a plurality of objects included in the moving image indicated by the image data 81.
  • step S33 the object setting unit 101 sets the third object 90C to be focused from a plurality of objects included in the moving image indicated by the image data 81.
  • step S34 the distance data acquisition unit 102 acquires first distance data 82A regarding the first object 90A from the distance data 82 included in the moving image data 80.
  • step S35 the distance data acquisition unit 102 acquires second distance data 82B regarding the second object 90B from the distance data 82 included in the moving image data 80.
  • step S36 the distance data acquisition unit 102 acquires third distance data 82C regarding the third object 90C from the distance data 82 included in the moving image data 80.
  • step S37 the AF continuation determination unit 103 determines whether or not to continue AF for the first object 90A, second object 90B, and third object 90C. If the AF for the first object 90A, the second object 90B, and the third object 90C is not continued in step S37, the determination is negative, and the process shown in FIG. 21 proceeds to step S38. In step S37, when continuing the AF for the first object 90A, the second object 90B, and the third object 90C, the determination is affirmative, and the processing shown in FIG. 21 proceeds to step S39.
  • step S38 the focus position control unit 105 performs control to set the focus position to a position where the first object position falls within the central range of the depth of field.
  • the focus position control unit 105 may perform control to set the focus position to a position where the center of the depth of field is set to the first object position.
  • step S39 the object-to-object distance determination unit 104 determines whether or not the object-to-object distance at both ends is less than the depth of field. In step S39, if the distance between both end objects is less than the length of the depth of field, the determination is affirmative, and the process shown in FIG. 21 proceeds to step S40. In step S39, if the distance between the objects at both ends is equal to or greater than the length of the depth of field, the determination is negative, and the process shown in FIG. 21 proceeds to step S41.
  • step S40 the focus position control unit 105 performs control to set the focus position to a position where the first object position, the second object position, and the third object position are within the depth of field.
  • step S41 the object position determination unit 107 determines whether the second object position and the third object position are out of the depth of field in the same direction. In step S41, if the second object position and the third object position are out of the depth of field in the same direction, the determination is affirmative, and the process shown in FIG. 21 proceeds to step S42. In step S41, if the second object position and the third object position do not deviate from the depth of field in the same direction, the determination is negative, and the process shown in FIG. 21 proceeds to step S43.
  • step S42 the focus position control unit 105 moves the focus position in the same direction as the second object position and the third object position outside the depth of field within the range where the first object position is within the depth of field. Control to move.
  • step S43 the focus position control unit 105 performs control to set the focus position to a position where the first object position falls within the central range of the depth of field.
  • the focus position control unit 105 may perform control to set the focus position to a position where the center of the depth of field is set to the first object position.
  • the process shown in FIG. 21 ends after the process of step S38 is executed.
  • the imaging method described as the operation of the imaging apparatus 10 described above is an example of the “imaging method” according to the technology of the present disclosure.
  • the CPU 62 determines that the first object position is out of the depth of field in the same direction. Control is performed to move the focus position in the same direction in which the second object position and the third object position are out of the depth of field within the range of the depth of field. Therefore, for example, when imaging the first object 90A, the second object 90B, and the third object 90C, even if the second object 90B and/or the third object 90C move in the depth direction, the focus state is sharp. Change can be suppressed.
  • the CPU 62 sets the focus position to a position where the first object position is within the central range of the depth of field. control to set Therefore, the first object 90A can be focused.
  • the first The focus position may be moved in the direction of the second object 90B and the third object 90C, the object having the greater number of individuals, within the range in which the object position is within the depth of field.
  • the focus position may be changed depending on the case.
  • the configuration of the imaging device 10 is changed as follows from the first embodiment.
  • the AF continuation determination unit 103 determines whether the second object position is out of the depth of field.
  • the CPU 62 operates as an aperture amount control unit 108 .
  • the aperture amount control unit 108 adjusts the depth of field by changing the aperture amount. Control the spread.
  • Control for expanding the depth of field by changing the aperture amount means that the CPU 62 drives the third actuator 39 via the control device 36 to change the size of the aperture 40D1 of the aperture 40D. , to extend the depth of field.
  • the aperture amount control unit 108 changes the aperture amount to an amount in which the first object position and the second object position fall within the depth of field. You may perform control to do. As a result, as shown in FIG. 23 as an example, the depth of field is widened, and the first object position and the second object position are contained within the depth of field.
  • the second object position is off the far point side of the depth of field.
  • 108 performs control to extend the depth of field by changing the aperture amount.
  • the aperture amount control unit 108 controls the first object distance obtained from the first distance data 82A, the second object distance obtained from the second distance data 82B, the near-point distance calculated from the formula (5), and the near-point distance calculated from the formula (6). Based on the far point distance calculated from , control is performed to change the aperture amount to an amount that allows the first object position and the second object position to fall within the depth of field.
  • FIG. 24 shows an example of the flow of focus position control processing according to the seventh embodiment.
  • the processing contents of steps S15 and S16 are different from the focus position control processing according to the first embodiment.
  • step S15 the AF continuation determination unit 103 determines whether or not the second object position is out of the depth of field when the first object position is within the depth of field. In step S15, if the second object position is out of the depth of field, the determination is affirmative, and the process shown in FIG. 24 proceeds to step S17. In step S15, if the second object position is not out of the depth of field, the determination is negative, and the process shown in FIG. 24 proceeds to step S16.
  • step S16 the aperture amount control unit 108 performs control to expand the depth of field by changing the aperture amount.
  • the aperture amount control unit 108 changes the aperture amount to an amount in which the first object position and the second object position fall within the depth of field. You may perform control to do.
  • the CPU 62 when the second object position is out of the depth of field, the CPU 62 performs control to expand the depth of field by changing the aperture amount. I do. Therefore, for example, when imaging the first object 90A and the second object 90B, even when the second object 90B moves in the depth direction, sudden changes in the focus state can be suppressed.
  • control for expanding the depth of field by changing the aperture amount may be control for changing the aperture amount to an amount that allows the first object position and the second object position to fit within the depth of field.
  • the first object position and the second object position can be included in the depth of field.
  • the aperture amount is changed within a range in which the gain and/or the photoelectric conversion efficiency of the image sensor 20 are equal to or lower than the upper limit.
  • the depth of field may be extended.
  • the depth of field is obtained by changing the aperture amount within a range in which the predetermined amount of light is ensured. may be expanded.
  • the CPU 62 was exemplified, but instead of the CPU 62 or together with the CPU 62, at least one other CPU, at least one GPU, and/or at least one TPU may be used. .
  • the program 65 may be stored in a portable non-temporary storage medium such as SSD or USB memory.
  • a program 65 stored in a non-temporary storage medium is installed in the controller 12 of the imaging device 10 .
  • the CPU 62 executes focus position control processing according to the program 65 .
  • the program 65 is stored in another computer or a storage device such as a server device connected to the imaging device 10 via a network, and the program 65 is downloaded in response to a request from the imaging device 10 and installed in the controller 12. may be made.
  • a storage device such as a server device, or the NVM 64, and part of the program 65 may be stored.
  • controller 12 is built in the imaging device 10 shown in FIGS. 1 and 2 , the technology of the present disclosure is not limited to this. good too.
  • controller 12 including the CPU 62, NVM 64, and RAM 66 is illustrated, but the technology of the present disclosure is not limited to this, and instead of the controller 12, an ASIC, FPGA, and/or PLD may be used. A device containing Also, instead of the controller 12, a combination of hardware configuration and software configuration may be used.
  • processors can be used as hardware resources for executing the focus position control processing described in the above embodiment.
  • the processor include a CPU, which is a general-purpose processor that functions as a hardware resource that executes focus position control processing by executing software, that is, a program.
  • processors include, for example, FPGAs, PLDs, ASICs, and other dedicated electric circuits that are processors having circuit configurations specially designed to execute specific processing.
  • a memory is built in or connected to each processor, and each processor uses the memory to execute focus position control processing.
  • the hardware resource that executes the focus position control process may be composed of one of these various processors, or a combination of two or more processors of the same type or different types (for example, a combination of multiple FPGAs, or a combination of a CPU and an FPGA). Also, the hardware resource for executing the focus position control process may be one processor.
  • one processor is configured with a combination of one or more CPUs and software, and this processor functions as a hardware resource for executing focus position control processing.
  • this processor functions as a hardware resource for executing focus position control processing.
  • SoC SoC
  • a and/or B is synonymous with “at least one of A and B.” That is, “A and/or B” means that only A, only B, or a combination of A and B may be used. Also, in this specification, when three or more matters are expressed by connecting with “and/or”, the same idea as “A and/or B" is applied.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Optics & Photonics (AREA)
  • Studio Devices (AREA)
  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)
PCT/JP2022/001632 2021-03-26 2022-01-18 撮像装置、撮像方法、及びプログラム Ceased WO2022201782A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2023508675A JP7421008B2 (ja) 2021-03-26 2022-01-18 撮像装置、撮像方法、及びプログラム
US18/466,828 US20230419520A1 (en) 2021-03-26 2023-09-14 Imaging apparatus, imaging method, and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2021-053830 2021-03-26
JP2021053830 2021-03-26

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/466,828 Continuation US20230419520A1 (en) 2021-03-26 2023-09-14 Imaging apparatus, imaging method, and program

Publications (1)

Publication Number Publication Date
WO2022201782A1 true WO2022201782A1 (ja) 2022-09-29

Family

ID=83396804

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/001632 Ceased WO2022201782A1 (ja) 2021-03-26 2022-01-18 撮像装置、撮像方法、及びプログラム

Country Status (3)

Country Link
US (1) US20230419520A1 (https=)
JP (1) JP7421008B2 (https=)
WO (1) WO2022201782A1 (https=)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7793563B2 (ja) * 2023-02-22 2026-01-05 キヤノン株式会社 測距装置、移動体、制御方法及びプログラム

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001116980A (ja) * 1999-10-18 2001-04-27 Fuji Photo Film Co Ltd 自動焦点カメラ及び撮影方法
JP2011211291A (ja) * 2010-03-29 2011-10-20 Sanyo Electric Co Ltd 画像処理装置、撮像装置及び表示装置
WO2013061947A1 (ja) * 2011-10-28 2013-05-02 富士フイルム株式会社 撮像方法及び画像処理方法並びにそれらのプログラム、記録媒体、及び撮像装置
JP2015230414A (ja) * 2014-06-05 2015-12-21 キヤノン株式会社 撮像装置、制御方法およびプログラム
CN105629630A (zh) * 2016-02-29 2016-06-01 广东欧珀移动通信有限公司 控制方法、控制装置及电子装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001116980A (ja) * 1999-10-18 2001-04-27 Fuji Photo Film Co Ltd 自動焦点カメラ及び撮影方法
JP2011211291A (ja) * 2010-03-29 2011-10-20 Sanyo Electric Co Ltd 画像処理装置、撮像装置及び表示装置
WO2013061947A1 (ja) * 2011-10-28 2013-05-02 富士フイルム株式会社 撮像方法及び画像処理方法並びにそれらのプログラム、記録媒体、及び撮像装置
JP2015230414A (ja) * 2014-06-05 2015-12-21 キヤノン株式会社 撮像装置、制御方法およびプログラム
CN105629630A (zh) * 2016-02-29 2016-06-01 广东欧珀移动通信有限公司 控制方法、控制装置及电子装置

Also Published As

Publication number Publication date
JPWO2022201782A1 (https=) 2022-09-29
JP7421008B2 (ja) 2024-01-23
US20230419520A1 (en) 2023-12-28

Similar Documents

Publication Publication Date Title
JP6512810B2 (ja) 撮像装置および制御方法とプログラム
CN108462830B (zh) 摄像装置及摄像装置的控制方法
JP2009036986A (ja) 撮影装置および撮影装置の制御方法
JP2009048125A (ja) 撮影装置および撮影装置の制御方法
JP5203657B2 (ja) 拡大表示機能付きカメラ
US20250330707A1 (en) Imaging apparatus, information processing method, and program
JP2009069170A (ja) 撮影装置および撮影装置の制御方法
JP2009053296A (ja) 撮影装置および撮影装置の制御方法
JP2009036985A (ja) 撮影装置および撮影装置の制御方法
JP5409483B2 (ja) 撮像装置
JP7421008B2 (ja) 撮像装置、撮像方法、及びプログラム
JP6427027B2 (ja) 焦点検出装置及びその制御方法、撮像装置、プログラム、並びに記憶媒体
JP2018040929A (ja) 撮像制御装置および撮像制御方法
JP2013090241A (ja) 表示制御装置、撮像装置および表示制御プログラム
JP6964806B2 (ja) 撮像素子、撮像装置、画像データ処理方法、及びプログラム
US10805545B2 (en) Imaging device
JP2008079193A (ja) デジタルカメラ
JP2009036987A (ja) 撮影装置および撮影装置の制御方法
JP2009048123A (ja) 撮影装置および撮影装置の制御方法
JP7791164B2 (ja) 撮像装置及び情報処理方法
JP2009086036A (ja) 撮影装置および撮影装置の制御方法
JP7477726B2 (ja) 撮像装置、撮像方法、及びプログラム
JP7415079B2 (ja) 撮像装置、撮像方法、及びプログラム
JP6911304B2 (ja) 撮像制御装置および撮像制御方法
US20260129294A1 (en) Imaging apparatus, information processing method, and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22773401

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023508675

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22773401

Country of ref document: EP

Kind code of ref document: A1