Imaging device, imaging method, program, and recording medium

By employing pre- and post-instruction focus bracket methods, the imaging device accelerates the generation of depth composite images, improving live view frame rates and display speed.

JP7532058B2Active Publication Date: 2024-08-13CANON KK
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2020055972
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-03-26
Publication Date
2024-08-13
Estimated Expiration
2040-03-26

AI Technical Summary

Technical Problem

Existing imaging devices take a long time to generate a depth composite image due to the need to capture multiple images for compositing, and existing methods do not address the relationship with display speed.

Method used

The imaging device performs focus bracket photography using different methods before and after an imaging instruction, allowing for simultaneous capture and composition of images with varying focus positions, improving frame rate for live view display.

Benefits of technology

This configuration enhances the speed of generating live view images during focus bracket photography, enabling quicker confirmation of the intended depth composite image.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007532058000001
    Figure 0007532058000001
  • Figure 0007532058000002
    Figure 0007532058000002
  • Figure 0007532058000003
    Figure 0007532058000003
Patent Text Reader

Abstract

To provide an imaging apparatus that executes different photographing methods before and after a stage of photographing, in focus bracketing for depth composite images.SOLUTION: The present invention of the present application for solving the aforementioned problem includes: imaging means configured to execute a first photographing method if a photographing preparation instruction is received, and execute a second photographing method if a photographing instruction is received; and combining means configured to combine a plurality of first images at different in-focus positions captured by using the first photographing method with a plurality of second images at different in-focus positions captured by using the second photographing method. The imaging means performs readout of an imager, while keeping drive of a focus lens, to acquire the plurality of first images when using the first photographing method, and stops the focus lens at different positions and performs readout of the imager, by a plurality of times to acquire the plurality of second images when using the second photographing method.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an imaging device, and more particularly to an imaging device that captures images with different focus positions. [Background technology]

[0002] There is a known technology called depth stacking, which captures multiple images with different focus positions in the optical axis direction (focus bracketing), extracts the in-focus areas of each image, and synthesizes an image with an extended depth of field. There is a demand for a technology that can quickly confirm whether a depth stacked image as intended by a user can be generated.

[0003] One factor for quickly checking whether the depth stacking image intended by the user can be generated is to shorten the time it takes to perform focus bracketing shooting.

[0004] On the other hand, Patent Document 1 discloses a method for performing focus bracketing shooting in which the movement of the focus lens is stopped for a short time when shooting each image and shooting is performed multiple times, and a method for performing multiple shooting without stopping the focus lens. The method for performing multiple shooting without stopping the focus lens can shorten the shooting time. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] International Publication No. 2017 / 090233 Summary of the Invention [Problem to be solved by the invention]

[0006] However, in order to obtain a composite image for focus stacking, it is necessary to capture all images to be used in the synthesis, and it takes a long time from when the user starts capturing images until the focus stacking is displayed.

[0007] Although Patent Document 1 describes two types of focus bracketing shooting methods, it does not consider the relationship with the display.

[0008] The present invention has been made in consideration of the above-mentioned problems, and has an object to provide an imaging device that performs focus bracketing imaging using different methods before and after an imaging instruction is issued. [Means for solving the problem]

[0009] In order to solve the above problems, the present invention provides an imaging device comprising: an instruction means for receiving an imaging instruction; an imaging means for performing a first imaging method before the instruction means receives the imaging instruction, and a second imaging method after the instruction means receives the imaging instruction; and a synthesis means for synthesizing a first plurality of images having different focus positions obtained by the first imaging method and a second plurality of images having different focus positions obtained by the second imaging method, wherein the imaging means reads out an image sensor while continuing to drive a focus lens in the first imaging method, and obtains the first plurality of images; and, in the second imaging method, stops the focus lens at different positions and reads out an image sensor a plurality of times, and obtains the second plurality of images; When the instruction means receives the image capture instruction while the image capture means is performing the first image capture method, the focus position is moved to a predetermined position and then the second image capture method is started. The present invention provides an imaging device characterized by the above-mentioned. Effect of the Invention

[0010] According to the configuration of the present invention, it is possible to improve the frame rate for creating live view images in focus bracketing photography. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a block diagram illustrating a hardware configuration of a digital camera 100 serving as an image capture apparatus according to an embodiment of the present invention. [Diagram 2] 4A to 4C are diagrams for explaining a display image on a display unit when a focus stacking image is live-viewed in the first embodiment. [Diagram 3]FIG. 2 is a diagram for explaining a photographing operation in the first embodiment. [Figure 4] 4 is a flowchart for explaining a shooting operation in the first embodiment. [Diagram 5] 5 is a flowchart for explaining the operation of focus bracketing photography using a driving release in the first embodiment. [Figure 6] 5 is a flowchart for explaining the operation of focus bracketing photography using intermittent drive in the first embodiment. [Figure 7] FIG. 11 is a diagram for explaining a photographing operation in the second embodiment. [Figure 8] 10 is a flowchart for explaining a live view switching operation in the second embodiment. [Figure 9] 13A and 13B are diagrams for explaining an operation from a state in which the signal SW1 is not generated to a state in which the signal SW1 is generated in the third embodiment. [Figure 10] 13A and 13B are diagrams for explaining an operation from a state in which the signal SW1 is not generated to a state in which the signal SW1 is generated in the third embodiment. [Figure 11] 13A and 13B are diagrams for explaining an operation from a state in which the signal SW1 is not generated to a state in which the signal SW1 is generated in the third embodiment. [Figure 12] 10 is a flowchart for explaining the photographing operation of FIG. 9 in the third embodiment. [Figure 13] 11 is a flowchart for explaining the photographing operation of FIG. 10 in the third embodiment. [Figure 14] 12 is a flowchart for explaining the photographing operation of FIG. 11 in the third embodiment. [Figure 15] FIG. 13 is a diagram for explaining a photographing operation in the fourth embodiment. [Figure 16] 13 is a flowchart for explaining the operation of focus bracketing photography using a driving release in the fourth embodiment. [Figure 17]13 is a flowchart for explaining focus stacking processing in the fourth embodiment. [Figure 18] 13A to 13C are diagrams for explaining detection of subject movement using images at adjacent focus positions in a fourth embodiment. [Figure 19] 13A to 13C are diagrams for explaining detection of the movement of a subject using images at the same focus position in a fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Hereinafter, the embodiments of the present invention will be described in detail with reference to the accompanying drawings. Note that the following embodiments do not limit the scope of the present invention, and not all of the combinations of features described in the embodiments are necessarily essential to the solution of the present invention.

[0013] (First embodiment) FIG. 1 is a block diagram illustrating the hardware configuration of a digital camera 100 serving as an image capture apparatus according to this embodiment.

[0014] In FIG. 1, the digital camera 100 includes an imaging system including a shutter 101 , a barrier 102 , a focus lens 103 , and an imaging unit 22 .

[0015] The shutter 101 is a shutter that has an aperture function.

[0016] The barrier 102 covers the imaging system of the digital camera 100 to prevent the imaging system from becoming dirty or damaged.

[0017] The focus lens 103 is a lens included in a lens group (not shown) that is disposed between the shutter 101 and the barrier 102. Note that the lens group described above also includes other lenses such as a zoom lens.

[0018] The imaging unit 22 includes an imaging element such as a CCD or CMOS element that converts an optical image into an electric signal, and an A / D conversion function. Output data (captured images) from the imaging unit 22 is written to the memory 32 via the image processing unit 24 and the memory control unit 15, or directly via the memory control unit 15. When performing focus bracketing photography using a driving release and intermittent drive, which will be described later, all of the captured images up to the set number are written to the memory 32.

[0019] Digital camera 100 further includes an AF evaluation value detection unit 23, a strobe 90, an image processing unit 24, a depth stacking unit 25, a motion detection unit 26, a status detection unit 27, a memory 32, a D / A converter 13, a display unit 28, a non-volatile memory 56, a system control unit 50, a system memory 52, and a system timer 53.

[0020] The AF evaluation value detection unit 23 is disposed within the imaging unit 22 and calculates an AF evaluation value from contrast information and the like obtained from a digital image signal, and outputs the obtained AF evaluation value from the imaging unit 22 to the system control unit 50 .

[0021] The strobe 90 can compensate for the lack of illumination when shooting in a low-illumination scene or a backlit scene by emitting light during shooting.

[0022] The image processing unit 24 performs predetermined pixel interpolation, resizing such as reduction, and color conversion processing on the image data output from the imaging unit 22 or image data from the memory control unit 15. The image processing unit 24 also performs predetermined arithmetic processing using the captured image data, and the system control unit 50 performs exposure control and distance measurement control based on the obtained arithmetic results. This allows TTL (through-the-lens) type AE (automatic exposure) processing and EF (automatic flash light control) processing to be performed. The image processing unit 24 also performs AF (autofocus) processing, and at this time, the output of the AF evaluation value detection unit 23 provided in the imaging unit 22 may be used. The image processing unit 24 also performs predetermined arithmetic processing using the captured image data, and also performs TTL type AWB (auto white balance) processing based on the obtained arithmetic results.

[0023] The depth stacking unit 25 generates an image with an extended depth of field by outputting pixels in focus in each image using a plurality of captured images obtained by focus bracketing in the imaging unit 22. Details will be described later.

[0024] The motion detection unit 26 uses two pieces of image data to perform template matching processing between the region of interest and its surroundings, and calculates a motion vector for each region into which the image is divided or for each pixel. If the calculated motion vector is equal to or greater than a threshold, it detects that the subject is moving, and notifies the system control unit 50.

[0025] The state detection unit 27 detects the state of the digital camera 100, such as the angular velocity from the gyro sensor, the attachment / detachment state of the tripod, and the settings made by the user via the operation unit 70. The system control unit 50 is notified of the detection results.

[0026] The memory 32 stores image data acquired and A / D converted by the imaging unit 22, and image data to be displayed on the display unit 28. The memory 32 has a storage capacity sufficient to store a predetermined number of still images and a predetermined period of moving images and audio. The memory 32 also serves as a memory for displaying images (video memory).

[0027] The D / A converter 13 converts the image display data stored in the memory 32 into an analog signal and supplies it to the display unit 28. In this way, the display image data written in the memory 32 is displayed by the display unit 28 via the D / A converter 13.

[0028] The display unit 28 performs display on a display device such as an LCD in response to the analog signal from the D / A converter 13. The digital signal that has been A / D converted once by the imaging unit 22 and stored in the memory 32 is converted to analog by the D / A converter 13 and sequentially transferred to and displayed on the display unit 28, thereby functioning as an electronic viewfinder and enabling through image display (hereinafter referred to as live view).

[0029] The non-volatile memory 56 is an electrically erasable and recordable memory, and may be, for example, a flash memory. Constants, programs, and the like for the operation of the system control unit 50 are stored in the non-volatile memory 56. The programs referred to here are programs for executing various flowcharts described later in the first to sixth embodiments.

[0030] The system control unit 50 controls the entire digital camera 100. Specifically, by executing a program recorded in the non-volatile memory 56 described above, focus bracketing photography using a driving release in the first to sixth embodiments described below based on subject information, subject distance, and image contrast information is realized. That is, during such photography, the system control unit 50 controls the driving of the focus lens 103 and the shutter 101, so that multiple images with different focus positions are captured sequentially. The amount of change in focus position (focus step) between adjacent captured images obtained by such photography processing is set by the user via the operation unit 70 by selecting from multiple values ​​set in advance.

[0031] The system memory 52 is composed of a RAM etc., and develops constants and variables for the operation of the system control unit 50, programs read from the non-volatile memory 56, etc. The system control unit also performs display control by controlling the memory 32, the D / A converter 13, the display unit 28 etc.

[0032] The system timer 53 is a timing unit that measures the time used for various controls and the time of a built-in clock.

[0033] The digital camera 100 also includes operation means for inputting various operational instructions to the system control unit 50, which consist of a mode switch 60, a shutter button 61, a first shutter switch 64, a second shutter switch 62, an operation unit 70, and a power switch 72.

[0034] The mode changeover switch 60 changes the operation mode of the system control unit 50 to one of a still image recording mode, a moving image recording mode, a playback mode, etc. Modes included in the still image recording mode include an auto shooting mode, an auto scene determination mode, a manual mode, various scene modes in which shooting settings are made according to the shooting scene, a program AE mode, a custom mode, etc. The mode changeover switch 60 can directly change to one of these modes included in the still image shooting mode. Alternatively, after switching to the still image shooting mode once with the mode changeover switch 60, it is also possible to switch to one of these modes included in the still image shooting mode using another operating member. Similarly, the moving image shooting mode may also include a plurality of modes.

[0035] The shutter button 61 is an operation unit for issuing a shooting instruction.

[0036] The first shutter switch 64 is turned on by half-pressing the shutter button 61 during operation, and generates a first shutter switch signal SW1. The first shutter switch signal SW1 starts operations such as AF (autofocus) processing, AE (auto exposure) processing, AWB (auto white balance) processing, and EF (auto flash light control) processing. That is, parameters for shooting are acquired under the control of the system control unit 50. Note that the user can select center one-point AF processing or face AF processing as the AF processing to be started upon receiving the signal SW1. Here, center one-point AF processing refers to processing to perform AF on a single point at the center position within the shooting screen, and face AF processing refers to processing to perform AF on a face within the shooting screen detected by a face detection function.

[0037] The second shutter switch 62 is turned on when the shutter button 61 is fully pressed (photographing instruction) and generates a second shutter switch signal SW2. The system control unit 50 starts a series of photographing processing operations from reading a signal from the imaging unit 22 to writing image data to the recording medium 200 in response to the second shutter switch signal SW2.

[0038] Each operating member of the operating unit 70 is assigned a function appropriate for each situation by selecting and operating various functional icons displayed on the display unit 28, and acts as various functional buttons. The functional buttons include, for example, an end button, a back button, an image forward button, a jump button, a filter button, an attribute change button, and the like. For example, when the menu button is pressed, a menu screen in which various settings can be made is displayed on the display unit 28. The user can intuitively make various settings using the menu screen displayed on the display unit 28, the four directional buttons (up, down, left, right) and the SET button.

[0039] A power switch 72 switches the power of the digital camera 100 on and off.

[0040] The digital camera 100 further includes a power supply control unit 80, a power supply unit 40, and a recording medium I / F 18.

[0041] The power supply control unit 80 is composed of a battery detection circuit, a DC-DC converter, a switch circuit for switching between blocks to which electricity is applied, and detects whether a battery is attached, the type of battery, and the remaining battery power. The power supply control unit 80 also controls the DC-DC converter based on the detection results and instructions from the system control unit 50, and supplies the necessary voltage to each unit including the recording medium 200 for the necessary period.

[0042] The power supply unit 40 is made up of a primary battery such as an alkaline battery or a lithium battery, a secondary battery such as a NiCd battery, a NiMH battery, or a Li battery, an AC adapter, or the like.

[0043] The recording medium I / F 18 is an interface with a recording medium 200 such as a memory card or a hard disk. The recording medium 200 is a recording medium such as a memory card for recording captured images, and is composed of a semiconductor memory, a magnetic disk, or the like.

[0044] Next, an overview of focus bracketing photography using a driving release and intermittent drive will be described with reference to FIG.

[0045] Focus bracketing photography using a driving release refers to photography in which exposure and readout of the imaging unit 22 are performed while driving the focus lens 103. Therefore, during this photography, the system control unit 50 controls the focus lens 103 so that it continues to drive with a constant amount of focus change per unit time (speed of focus change) and does not stop.

[0046] Also, focus bracketing photography using intermittent drive refers to photography in which the focus lens 103 is moved to a desired focus position and then stopped, and exposure and readout of the imaging unit 22 are performed in that state. In the case of intermittent drive, it is necessary to wait for the focus lens 103 to settle before stopping it, and when driving the focus lens 103 from a stationary state, it is necessary to gradually accelerate the drive of the focus lens 103 until it is driven at the desired drive speed. In contrast, in the case of driving release, since the focus lens 103 is not stopped, there is no need for a waiting period for the focus lens 103 to settle, or an acceleration period until the focus lens 103 reaches a predetermined focus change amount from a stationary state, and focus bracketing photography can be performed at high speed.

[0047] The speed of focus change during focus bracketing is determined based on the performance of the focus lens 103 and the readout time of the image sensor of the imaging unit 22. Specifically, the speed of focus change is determined so that the amount of change in focus position during the readout time does not exceed the amount of focus change determined in the focus step. This makes it possible to guarantee that the amount of focus change in the captured image is within the focus step range.

[0048] Next, the basic operation of the focus stacking process in the digital camera 100 will be described with reference to the drawings.

[0049] 2 is a diagram for explaining a display image on display unit 28 when a focus stacking image in this embodiment is live-viewed. Position 201 is the close-side focus position of focus bracketing photography indicated by an AF frame, position 202 is the infinity-side focus position, and position 203 is the subject (insect). Display unit 28 displays the AF frame indicating the close-side focus position 201 and subject 203.

[0050] The user operates the operation unit 70 to specify a reference focus position on the image displayed on the display unit 28. In FIG. 2, it is assumed that the closest point of the subject 203 is specified as the reference focus position. As a result, the system control unit 50 recognizes the specified reference focus position as the closest focus position 201 of the focus bracketing shooting, and displays an AF frame at that position. When the closest focus position 201 is determined, the focus position at which the focus bracketing shooting ends, that is, the infinity side focus position 202, is determined in the Z axis direction (depth direction) according to the focus interval according to the focus step setting and the number of times of shooting to generate one depth stacking image. In FIG. 2, it is assumed that the entire subject 203 falls within the focus range indicated by the closest focus position 201 to the infinity side focus position 202. In addition, it is assumed that the number of times of shooting to generate one depth stacking image is 10, and the depth stacking unit 25 performs depth stacking processing using the 10 captured images.

[0051] The operation of driving the focus lens using a driving release during live view and using intermittent drive when the signal SW1 or signal SW2 is generated will be described with reference to FIGS. 3 to 6. FIG.

[0052] FIG. 3 is a diagram for explaining the photographing operation in this embodiment.

[0053] First, with reference to FIG. 3(a), the horizontal axis represents time and the vertical axis represents the focus position, and the operation sequence of the focus lens 103 and the imaging unit 22 will be described.

[0054] At time t0, the shutter button 61 is not pressed by the user, that is, the signals SW1 and SW2 are not being generated, and focus bracketing photography is performed using a driving release.

[0055] At time t1, the system control unit 50 moves the focus lens 103 to the drive start focus position and starts driving the focus lens 103. The method for determining the drive start focus position uses the technology proposed in Japanese Patent Application No. 2019-121811. The technology in this prior document calculates the drive start focus position in advance so that the speed of the focus lens 103 is constant at all focus positions where focus bracketing is performed, and starts driving from a position closer than the close side focus position 201.

[0056] During the period from time t1 to time t2, the imaging unit 22 captures 10 images necessary to generate one depth stacking image at equal intervals from the close-side focus position 201 to the infinity-side focus position 202. During the period from time t1 to time t2, the system control unit 50 adjusts the speed of the focus lens 103 in accordance with the imaging speed of the imaging unit 22 so that exposure can be performed at a predetermined focus position.

[0057] After the imaging unit 22 captures ten images, the system control unit 50 decelerates the focus lens 103 and stops it at time t2. At the same time, the system control unit 50 causes the focus stacking unit 25 to generate a focus stacked image from the ten images and causes the display unit 28 to display the image.

[0058] After time t2, similar to the operation at time t1, system control unit 50 starts driving focus lens 103. Then, imaging unit 22 captures 10 images at equal intervals from infinity side focus position 202 to close side focus position 201, and then stops focus lens 103. At the same time, depth stacking unit 25 generates one focus stacked image from the 10 images, and causes display unit 28 to display the image.

[0059] As described above, the forward movement starting at time t1 and the return movement starting at time t2 are repeated.

[0060] At time t3, the user presses the shutter button 61 halfway, generating signal SW1. However, at this time, the return operation is in progress and all 10 images required to generate one focus stacked image have not been captured yet, so system control unit 50 stops focus lens 103 after capturing images up to close focus position 201. This is time t4. At the same time, depth stacking unit 25 generates one focus stacked image from the 10 images and causes display unit 28 to display it.

[0061] After time t4, the shutter button 61 is pressed halfway by the user, that is, the signal SW1 is generated, and in this state, focus bracketing photography is performed using intermittent drive. Note that it is assumed that the user's half-pressing of the shutter button 61 represents a psychological state in which the user wishes to check a preview with higher focus accuracy. Therefore, in the first embodiment, while the signal SW1 is being generated, control is performed using intermittent drive, which has higher focus accuracy than driving release.

[0062] In the period from time t4 to time t6, the imaging unit 22 captures 10 images necessary to generate one depth stacked image at equal intervals from the close-side focus position 201 to the infinity-side focus position 202. Note that, since the focus step setting is the same whether the driving method of the focus lens 103 is the driving release or the intermittent drive, the exposure timing of the focus bracketing imaging is controlled to achieve the same focus position.

[0063] The first image is captured from time t4 to time t5. At time t4, focus lens 103 is moved to close focus position 201 and stopped there. After waiting for focus lens 103 to settle when it is stopped, imaging unit 22 executes exposure and readout at time t5. That is, the period from time t4 to time t5 is the settling time of focus lens 103.

[0064] The same process is repeated for the second and subsequent images, and after capturing ten images at time t6, the system control unit 50 causes the depth stacking unit 25 to generate a depth stacked image from the ten images and displays it on the display unit .

[0065] From time t6 onwards, similar to the operation from time t4, the imaging unit 22 captures 10 images at equal intervals from the infinity side focus position 202 to the close side focus position 201, and then the depth stacking unit 25 generates a depth stacked image from the 10 images and displays it on the display unit 28.

[0066] As described above, the forward movement starting at time t4 and the return movement starting at time t6 are repeated.

[0067] At time t7, the user fully presses the shutter button 61, generating a signal SW2. However, at time t7, the forward operation during the generation period of the signal SW1 is in progress, and capturing all 10 images required to generate one focus stacking image has not been completed. Therefore, the system control unit 50 captures images up to the infinity side focus position 202, and further generates one focus stacking image from the 10 images in the depth stacking unit 25, and displays the image on the display unit 28.

[0068] After time t8, the user presses the shutter button 61 all the way down, i.e., signal SW2 is generated, and focus bracketing shooting is performed using intermittent drive, just like when signal SW1 is generated.

[0069] During the period from time t8 to time t9, similar to the operation from time t6, the imaging unit 22 captures 10 images at equal intervals from the infinity side focus position 202 to the close side focus position 201, and then generates one focus stacked image from the 10 images in the depth stacking unit 25. When the signal SW2 is generated, the depth stacked image is recorded on the recording medium 200.

[0070] In this embodiment, when signals SW1 and SW2 are generated, the drive of focus lens 103 is switched at the time when it reaches infinity side focus position 202 on the forward journey, or the close side focus position 201 on the return journey.

[0071] Next, with reference to FIG. 3B, a description will be given of an operation sequence when the user releases the half-press of the shutter button 61, that is, when the signal SW1 is released from its generated state.

[0072] At time t10, the user is pressing the shutter button 61 halfway, that is, the signal SW1 is being generated, and focus bracketing imaging using intermittent drive is performed.

[0073] At time t11, the half-press of the shutter button 61 is interrupted and the generation of the signal SW1 is released, but the return operation is in the middle of the period during which the signal SW1 is generated, and capturing of all 10 images required to generate one focus stacking image has not been completed. Therefore, the system control unit 50 captures images up to the close-side focus position 201, and further generates one focus stacking image from the 10 images in the focus stacking unit 25 and displays it on the display unit 28.

[0074] After time t12, focus bracketing photography using a driving release is performed in the same manner as the operation sequence after time t1 in FIG.

[0075] In the above, it has been described that in the shooting operation shown in FIG. 3, the imaging section 22 captures images multiple times to capture images necessary for focus stacking.

[0076] Next, a specific flow of the shooting operation in this embodiment will be described with reference to FIGS.

[0077] 4 to 6 are realized by the system control unit 50 expanding a program stored in the non-volatile memory 56 into the system memory 52 and executing it.

[0078] First, the overall operation flow in this embodiment will be described with reference to Fig. 4. Fig. 4 is a flowchart for explaining the shooting operation in this embodiment.

[0079] When the user switches the power switch 72 or the mode change switch 60, the system control unit 50 receives an instruction to start the focus stacking shooting mode, and starts the shooting operation processing in this embodiment.

[0080] In step S401, the system controller 50 executes focus bracketing photography using a driving release. The detailed operation flow will be described later.

[0081] In step S402, the system control unit 50 executes focus stacking processing in the focus stacking unit 25 using the multiple images obtained by focus bracketing shooting in step S401.

[0082] In step S403, the system control unit 50 displays the focus stacking image obtained in step S402 on the display unit .

[0083] In step S404, the system controller 50 determines whether the shutter button 61 is half-pressed by the user, that is, whether the signal SW1 is generated. If it is determined in step S404 that the signal SW1 is generated, the process proceeds to step S405, and if it is determined that the signal SW1 is not generated, the process proceeds to step S412.

[0084] In step S405, the system controller 50 executes focus bracketing photography using intermittent drive. The detailed operation flow will be described later.

[0085] Step S406 is the same process as step S402, and the system control unit 50 executes focus stacking processing in the focus stacking unit 25 using the multiple images obtained by focus bracketing shooting in step S405.

[0086] Step S407 is the same process as step S403, and the system control unit 50 causes the display unit 28 to display the focus stacking image obtained in step S406.

[0087] In step S408, the system controller 50 determines whether the user has pressed the shutter button 61 all the way down, i.e., whether the SW2 signal is being generated. If it is determined in step S408 that the SW2 signal is being generated, the process proceeds to step S409, and if it is determined that the SW2 signal is not being generated, the process returns to step S404. The user pressing the shutter button 61 all the way down is referred to as an image capture instruction.

[0088] Step S409 is the same process as step S405, and the system control unit 50 executes focus bracketing photography using intermittent drive.

[0089] Step S410 is the same process as step S402 and step S406, and the system control unit 50 performs focus stacking processing in the focus stacking unit 25 using the multiple images obtained by focus bracketing shooting in step S409.

[0090] In step S411, the system control unit 50 records the focus stacking image obtained in step S410 on the recording medium 200.

[0091] In step S412, the system control unit 50 determines whether or not an instruction to end the focus stacking shooting mode has been received by the user switching the power switch 72 or the mode change switch 60. If an instruction to end the focus stacking shooting mode has not been received, the process returns to step S401, and if an instruction to end the focus stacking shooting mode has been received, the process ends.

[0092] Next, the operational flow of focus bracketing photography using a driving release in step S401 will be described with reference to Fig. 5. Fig. 5 is a flowchart for explaining the operation of focus bracketing photography using a driving release in this embodiment.

[0093] In step S501, the system control unit 50 executes an exposure start focus position determination process for determining an exposure start focus position. The exposure start focus position determined in step S501 refers to the close side focus position 201 on the outward journey and refers to the infinity side focus position 202 on the return journey.

[0094] In step S502, the system controller 50 determines the drive start focus position of the focus lens 103.

[0095] In step S503, system control unit 50 moves focus lens 103 to a drive start focus position and stops the focus lens 103. Then, in step S504, system control unit 50 issues a vertical synchronization signal to imaging unit 22 and starts driving focus lens 103.

[0096] In step S505, the imaging unit 22 performs exposure and readout in accordance with the timing of the vertical synchronization signal to generate a captured image.

[0097] In step S506, the system control unit 50 determines whether the number of shooting operations required to generate one focus stacking image has been completed, that is, whether the exposure and readout of the image sensor have been performed a preset number of times. If the result of this determination is that the operations have not been completed, the process returns to step S505. On the other hand, if the operations have been completed, the system control unit 50 proceeds to step S507, stops driving the focus lens 103, and ends this process.

[0098] Next, the operational flow of the focus bracketing photographing with intermittent drive in steps S405 and S409 will be described with reference to Fig. 6. Fig. 6 is a flowchart for explaining the operation of the focus bracketing photographing with intermittent drive in this embodiment.

[0099] In step S601, the system controller 50 moves the focus lens 103 to the exposure start focus position determined in step S501.

[0100] When the system control unit 50 determines in step S602 that the focus lens 103 is stationary, in step S603, it generates a vertical synchronization signal for the imaging unit 22. The imaging unit 22 performs exposure and readout in accordance with the timing of the vertical synchronization signal to generate a captured image.

[0101] In step S604, the system control unit 50 determines whether the number of shooting operations required to generate one focus stacking image has been completed, that is, whether exposure and readout of the image sensor has been performed a preset number of times. If the result of this determination is that the operations have not been completed, the flow proceeds to step S605, and if the operations have been completed, the flow ends.

[0102] According to this embodiment, when the system control unit 50 receives the signal SW1, the reciprocating motion of the focus lens is repeated, and a live view image of the depth stacking image is created in a short time, and the frame rate of the live view of the depth stacking image can be improved. At the same time, when the digital camera 100 receives an image capture instruction, the digital camera 100 performs focus bracketing shooting by intermittent drive, and captures an image for generating a depth stacking image to be recorded on the recording medium 200.

[0103] Second embodiment In the first embodiment, unlike the first embodiment, when the system control unit 50 receives the signal SW1, the focus stacking image live view is displayed, and when the signal SW1 is released, the display is immediately switched to normal live view display. The following describes this embodiment, focusing on the differences from the first embodiment.

[0104] FIG. 7 is a diagram for explaining the photographing operation in this embodiment.

[0105] At time t0, the user is not pressing the shutter button 61, i.e., the signals SW1 and SW2 are not being generated, and in this state, an image is captured with the focus lens 103 fixed at the drive start focus position on the close side. At the same time, the captured image is displayed on the display unit 28.

[0106] At time t1, when the user half-presses the shutter button 61 to generate signal SW1, system control unit 50 starts driving focus lens 103. In the period from time t1 to time t2, driving of focus lens 103 in the driving release is the same as in the first embodiment.

[0107] At time t3, the user releases the half-press of the shutter button 61, which stops the generation of the signal SW1. Alternatively, the motion detection unit 26 detects motion between frames. At this time, the return movement during the SW1 generation period is in progress, and all ten images required to generate one depth stacking image have not been captured. However, in order to immediately switch to live view display, the system control unit 50 ends the image capture, moves the focus lens 103 to the closest focus position 201, and stops it there. Also, at this point, the focus lens 103 may be moved to the infinity-most focus position 202.

[0108] When focus lens 103 stops at time t4, system control unit 50 captures an image with the focus position fixed, and displays the captured image on display unit 28. The movement of the focus lens between times t3 and t4 may be set to be faster than the movement between times t1 and t2.

[0109] FIG. 8 is a flowchart illustrating the live view switching operation in this embodiment.

[0110] Each process in the flowchart shown in FIG. 8 is realized by the system control unit 50 expanding a program stored in the non-volatile memory 56 into the system memory 52 and executing it.

[0111] When the user switches the power switch 72 or the mode change switch 60, the system control unit 50 receives an instruction to start the focus stacking shooting mode, and starts the process shown in FIG.

[0112] In step S801, the system control unit 50 fixes the focus lens 103 to the close-side focus position 201, and executes normal live view shooting.

[0113] In step S802, the system controller 50 determines whether or not the user has half-pressed the shutter button 61 and the signal SW1 has been generated. If it is determined that the signal SW1 has been generated, the process proceeds to step S803, and if it is determined that the signal SW1 has not been generated, the process proceeds to step S816.

[0114] In step S803, the system control unit 50 determines the exposure start focus position of the focus lens 103. The exposure start focus position refers to the close side focus position 201 on the outward journey, and refers to the infinity side focus position 202 on the return journey.

[0115] In step S804, the system controller 50 determines the drive start focus position of the focus lens 103.

[0116] In step S805, the system controller 50 moves the focus lens 103 to the drive start focus position and stops it.

[0117] In step S806, the system control unit 50 issues a vertical synchronization signal to the imaging unit 22 and starts driving the focus lens 103 at the same time.

[0118] In step S807, the imaging unit 22 performs exposure and readout in accordance with the timing of the vertical synchronization signal to generate a captured image.

[0119] In step S808, the system control unit 50 determines whether or not the motion detection unit 26 has detected motion of the subject. If motion is detected, the process proceeds to step S814, and if motion is not detected, the process proceeds to step S809. The process in step S808 is a process for preventing a poor-quality depth stacking image live view image from being displayed if the subject moves. If it is desired to display a depth stacking image live view image even if the subject moves, the process in step S808 may be omitted.

[0120] In step S809, the system controller 50 determines whether or not the user has half-pressed the shutter button 61 and the signal SW1 has been generated. If it is determined that the signal SW1 has been generated, the process proceeds to step S810, and if it is determined that the signal SW1 has not been generated, the process proceeds to step S814.

[0121] In step S810, the system control unit 50 determines whether or not the number of shooting operations required to generate one focus stacking image has been completed. If it is determined that the shooting operations have been completed, the process proceeds to step S811, and if it is determined that the shooting operations have not been completed, the process returns to step S807 and executes the shooting operations.

[0122] In step S811, the system control unit 50 stops the focus lens 103 at a drive stop position. The drive stop position refers to the drive start focus position of the next return path in the case of a forward path, or the drive start focus position of the next forward path in the case of a return path.

[0123] In step S812, the system control unit 50 executes focus stacking processing in the focus stacking unit 25 using the multiple images obtained by shooting in steps S807 to S811.

[0124] In step S813, the system control unit 50 displays the focus stacking image obtained in step S812 on the display unit 28. After the focus stacking image is displayed on the display unit 28, the process returns to step S802, and it is determined whether or not the signal SW1 is generated.

[0125] In step S814, system control unit 50 determines whether focus lens 103 is at the drive start focus position while motion detection unit 26 has detected motion in step S808 or while signal SW1 has not been generated in step S809. If it is at the drive start focus position, the process proceeds to step S816, and if it is not at the drive start focus position, the process proceeds to step S815.

[0126] In step S815, system controller 50 moves focus lens 103 to the drive start focus position and stops it there.

[0127] In step S816, the system control unit 50 determines whether or not an instruction to end the focus stacking shooting mode has been received by the user switching the power switch 72 or the mode selection switch 60. If an instruction to end the focus stacking shooting mode has not been received, the system control unit 50 returns to step S801 and performs live view operation, and if an instruction to end the mode has been received, the system control unit 50 ends this process.

[0128] According to this embodiment, when the signal SW1 is turned on, the focus stacking image live view is displayed, and when the signal SW1 is released, the display is immediately switched to normal live view, allowing the user to check the desired image. Also, when motion is detected, the focus stacking image live view is switched to normal live view, and a still image is displayed, allowing the user to immediately check the subject and composition.

[0129] (Third embodiment) In the third embodiment, unlike the second embodiment, when the pressing of the first shutter switch is stopped, the focus lens is stopped not necessarily at the drive start focus position but at another focus position so that the focus lens can be stopped earlier. The specific processing will be described later.

[0130] The following describes this embodiment, focusing on the differences from the first and second embodiments.

[0131] First, the operation sequence of focus lens 103 and imaging unit 22 will be described with reference to FIGS. 9 to 11, where the horizontal axis represents time and the vertical axis represents focus position.

[0132] Fig. 9 is a diagram for explaining the operation in this embodiment when the shutter button 61 is half-pressed by the user, that is, when the signal SW1 is generated from a state in which the signal SW1 is not generated. Fig. 9(a) shows an example in which driving is started at a focus position on the closer side, and Fig. 9(b) shows an example in which driving is started at a focus position on the infinity side. Figs. 10 and 11 are diagrams for explaining another example of the operation in this embodiment when the signal SW1 is generated from a state in which the signal SW1 is not generated.

[0133] At time t0, the user is not pressing the shutter button 61, i.e., neither the signal SW1 nor the signal SW2 is being generated, and an image is captured with the focus lens 103 fixed at any focus position within the focus range. At the same time, the captured image is displayed on the display unit 28.

[0134] At time t1, when the user half-presses the shutter button 61 to generate signal SW1, system controller 50 moves focus lens 103 to the drive start focus position. The drive start focus position differs between FIG. 9(a) and FIG. 9(b). When the focus position of focus lens 103 at time t1 is on the close side of the focus range as in FIG. 9(a), the drive start focus position is determined to be on the close side. Similarly, when the focus position of focus lens 103 at time t1 is on the infinity side of the focus range as in FIG. 9(b), the drive start focus position is determined to be on the infinity side.

[0135] At time t2, system control unit 50 moves focus lens 103 to the drive start focus position determined at time t1. The drive start focus position is set to a position closer than close side focus position 201, as in the first embodiment. When focus lens 103 stops, driving of the driving release is started. During the period from time t2 to time t3, driving of focus lens 103 in the driving release is the same as in the first embodiment.

[0136] Next, an operation sequence when the shutter button 61 is released from the half-press state by the user, that is, when the signal SW1 is released from the state in which it was generated, will be described with reference to Figures 9 to 11. The operation when the shutter button 61 is half-pressed is the same in Figures 9 to 11, but the driving of the focus lens 103 when the shutter button 61 is released from the half-press state is different.

[0137] 9 to 11, the user releases the half-press of the shutter button 61, which stops the generation of the signal SW1. Although capturing all 10 images required to generate one focus stacking image has not been completed, the system control unit 50 ends the capturing and switches the driving of the focus lens 103.

[0138] At time t4 in FIG. 9, the system controller 50 stops the focus lens 103 at the current focus position.

[0139] 10, at time t4, system controller 50 stops driving focus lens 103. Next, system controller 50 moves focus lens 103 to the intermediate focus position in the focus range. At time t5, when focus lens 103 reaches the intermediate focus position, system controller 50 stops driving focus lens 103.

[0140] 11, the system controller 50 switches the focus lens 103 from the driving release drive and moves it to the focus position at time t1. At time t5, when the focus lens 103 reaches the focus position at time t1, the drive is stopped.

[0141] After time t4 in FIG. 9, time t5 in FIG. 10, or time t5 in FIG. 11, when focus lens 103 stops, system control unit 50 performs shooting with the focus position fixed and causes display unit 28 to display the shot image.

[0142] Next, the operation flowcharts of live view switching in Fig. 9 to Fig. 11 will be described with reference to the drawings. Fig. 12 to Fig. 14 are flowcharts for explaining the shooting operations shown in Fig. 9 to Fig. 11, respectively.

[0143] 12 to 14 are realized by the system control unit 50 expanding a program stored in the non-volatile memory 56 into the system memory 52 and executing it.

[0144] First, the flow of the shooting operation shown in FIG. 9 will be described with reference to the flowchart shown in FIG.

[0145] When the user switches the power switch 72 or the mode change switch 60, the system control unit 50 receives an instruction to start the focus stacking shooting mode, and starts the process of the flowchart shown in FIG.

[0146] In step S1201, the system control unit 50 fixes the focus lens 103 to an arbitrary focus position within the focus range, and executes normal live view shooting.

[0147] In step S1202, the system controller 50 determines whether or not the user has half-pressed the shutter button 61 and the signal SW1 has been generated. If it is determined that the signal SW1 has been generated, the process proceeds to step S1203, and if it is determined that the signal SW1 has not been generated, the process proceeds to step S1216.

[0148] In step S1203, the system control unit 50 determines the exposure start focus position of the focus lens 103. The exposure start focus position refers to the close side focus position 201 on the outward journey, and refers to the infinity side focus position 202 on the return journey.

[0149] In step S1204, the system controller 50 determines the drive start focus position of the focus lens 103.

[0150] In step S1205, the system controller 50 determines whether the current focus position of the focus lens 103 is on the close side or the infinity side within the focus range. If it is determined that it is on the close side, the process proceeds to step S1206, and if it is determined that it is on the infinity side, the process proceeds to step S1207.

[0151] In step S1206, system controller 50 moves focus lens 103, which is located on the close side within the focus range, to the close side drive start focus position and stops it.

[0152] In step S1207, system controller 50 moves focus lens 103, which is located on the infinity side within the focus range, to the drive start focus position on the infinity side and stops it there.

[0153] In step S1208, the system control unit 50 issues a vertical synchronization signal to the imaging unit 22 and starts driving the focus lens 103 at the same time.

[0154] In step S1209, the imaging unit 22 performs exposure and readout in accordance with the timing of the vertical synchronization signal to generate a captured image.

[0155] In step S1210, the system controller 50 determines whether or not the user has half-pressed the shutter button 61 and the signal SW1 has been generated. If it is determined that the signal SW1 has been generated, the process proceeds to step S1211, and if it is determined that the signal SW1 has not been generated, the process proceeds to step S1215.

[0156] In step S1211, the system control unit 50 determines whether or not the number of shooting operations required to generate one focus stacking image has been completed. If it is determined that the shooting operations have been completed, the process proceeds to step S1212, and if it is determined that the shooting operations have not been completed, the process returns to step S1209 and executes the shooting operations.

[0157] In step S1212, the system controller 50 stops the focus lens 103 at a drive stop position. The drive stop position refers to the drive start focus position of the next return path in the case of a forward path, or the drive start focus position of the next forward path in the case of a return path.

[0158] In step S1213, the system control unit 50 executes focus stacking processing in the focus stacking unit 25 using the multiple images obtained by the shooting in steps S1209 to S1212.

[0159] In step S1214, the system control unit 50 displays the focus stacking image obtained in step S1213 on the display unit 28. After the focus stacking image is displayed on the display unit 28, the process returns to step S1202, and it is determined whether or not the signal SW1 is generated.

[0160] If it is determined in step S1210 that the generation of signal SW1 has been stopped, then in step S1215, system controller 50 stops focus lens 103 at the current focus position.

[0161] In step S1216, the system control unit 50 determines whether or not an instruction to end the focus stacking shooting mode has been received by the user switching the power switch 72 or the mode selection switch 60. If an instruction to end the focus stacking shooting mode has not been received, the process returns to step S1201 and a live view operation is performed, and if an instruction to end the mode has been received, the flow shown in FIG.

[0162] Next, the photographing operation shown in FIG. 10 will be described with reference to the flowchart shown in FIG.

[0163] In the operational flow of FIG. 13, steps S1201 to S1214 and S1216 are the same processes as those in the operational flow of FIG. 12, so the description thereof will be omitted.

[0164] In step S1301, if it is determined that generation of signal SW1 has been cancelled in step S1310, system controller 50 moves focus lens 103 to the intermediate focus position in the focus range.

[0165] Next, the flow of the shooting operation shown in FIG. 11 will be described with reference to the flowchart shown in FIG.

[0166] In the operational flow of FIG. 14, steps S1201 to S1214 and S1216 are the same processes as those in the operational flow of FIG. 12, so the description thereof will be omitted.

[0167] In step S1401, the system controller 50 stores in the system memory 52 the focus position of the focus lens 103 when the signal SW1 is generated.

[0168] If it is determined in step S1402 that the generation of signal SW1 has been canceled in step S1411, system controller 50 moves focus lens 103 to the focus position held in system memory 52 when signal SW1 was generated.

[0169] According to this embodiment, when the signal SW1 is released, the focus position is controlled to display a live view image desired by the user. Specifically, in the operation of FIG. 9, the driving of the focus lens 103 is stopped at the focus position where the signal SW1 is released, so that it is possible to return to the focus position fixed live view more quickly. In the operation of FIG. 10, the driving of the focus lens 103 is stopped at the focus position in the middle of the focus range, so that it is possible to display an image that is relatively in focus over the entire subject 203 in the focus position fixed live view. In the operation of FIG. 11, the system control unit 50 remembers the focus position at which the signal SW1 is received, so that it is possible to display a constant focus position during the focus position fixed live view period.

[0170] (Fourth embodiment) In the fourth embodiment, unlike the first embodiment, the focus stacking process is performed assuming that the subject moves during shooting. In the following, the present embodiment will be described with reference to the drawings, focusing on the differences from the first embodiment.

[0171] FIG. 15 is a diagram for explaining the photographing operation in this embodiment.

[0172] First, with reference to FIG. 15, the horizontal axis represents time and the vertical axis represents focus position, and the operations of focus lens 103, imaging unit 22, and focus stacking unit 25 will be described.

[0173] The operation during the period from time t0 to time t2 is similar to that in the first embodiment.

[0174] At time t2, the system control unit 50 causes the focus stacking unit 25 to start the focus stacking process.

[0175] At time t2, the motion detection unit 26 detects that a subject has moved, and notifies the system control unit 50. Then, upon receiving the notification from the motion detection unit 26, the system control unit 50 causes the depth stacking unit 25 to suspend the depth stacking process.

[0176] In the period from time t3 to time t4, the motion detection unit 26 detects motion of the subject and notifies the system control unit 50. Then, upon receiving the notification from the motion detection unit 26, the system control unit 50 puts the focus stacking process of the depth stacking unit 25 on hold.

[0177] During the period from time t4 to time t5, which is the next forward pass after time t3 when the subject movement stops, system control unit 50 determines that there is no movement in the subject from the motion detection result of motion detection unit 26. This means that it is determined that appropriate 10 images with no movement in the subject have been captured to obtain one depth stacking image.

[0178] Then, at time t5, the system control unit 50 causes the focus stacking unit 25 to start the focus stacking process.

[0179] At time t6, the depth stacking unit 25 notifies the system control unit 50 that one depth stacked image has been generated from ten images.

[0180] During the period from time t7 to time t8, the system control unit 50 determines from the motion detection result of the motion detection unit 26 that there is no motion in the subject.

[0181] Then, at time t8, the system control unit 50 causes the focus stacking unit 25 to start the focus stacking process.

[0182] Next, the flow of the photographing operation of this embodiment will be described with reference to Figures 16 and 17. Each step in Figures 16 and 17 is realized by the system control unit 50 expanding a program stored in the non-volatile memory 56 into the system memory 52 and executing it. The operation flows in Figures 16 and 17 operate in parallel via the system control unit 50.

[0183] FIG. 16 is a flowchart for explaining the operation of focus bracketing photography using a driving release in this embodiment.

[0184] Steps S1601 to S1605 are the same processes as steps S501 to S505 described above, and the system control unit 50 controls the focus lens and executes image capture processing.

[0185] Step S1606 is the same process as step S808 described above, and the motion detection unit 26 detects the motion of the subject. If motion is detected, the process proceeds to step S1607, and if motion is not detected, the process proceeds to step S1608.

[0186] In step S1607, the system control unit 50 receives a notification of motion detection from the motion detection unit .

[0187] In step S1608, the system control unit 50 determines whether or not the number of shooting operations required to generate one focus stacking image has been completed. If it is determined that the shooting operations have been completed, the process proceeds to step S1609, and if it is determined that the shooting operations have not been completed, the process returns to step S1605 and executes the shooting operations.

[0188] In step S1609, the system control unit 50 receives a notification from the imaging unit 22 that the shooting operation is completed.

[0189] In step S1610, system controller 50 stops focus lens 103 at a drive stop position. The drive stop position refers to the drive start focus position of the next return path in the case of a forward path, or the drive start focus position of the next forward path.

[0190] In step S1611, the system control unit 50 determines whether or not an instruction to end the driving release mode has been received by the user switching the power switch 72 or the mode changeover switch 60. If an instruction to end the driving release mode has not been received, the process returns to step S1601, and if an instruction to end the driving release mode has been received, the flow shown in FIG.

[0191] FIG. 17 is a flowchart illustrating the focus stacking process in this embodiment.

[0192] In step S1701, the system controller 50 waits for the completion of imaging by the imaging unit 22 notified in step S1609. The system controller 50 remains in step S1701 until the notification of the completion of imaging is received, and when the notification of the completion of imaging is received, the system controller 50 proceeds to step S1702.

[0193] In step S1702, the system control unit 50 receives the motion detection result from the motion detection unit 26 notified in step S1607, and proceeds to step S1704 if there is no motion, and proceeds to step S1703 if there is motion.

[0194] In step S1703, the system control unit 50 causes the focus stacking unit 25 to suspend processing, and proceeds to step S1706.

[0195] In step S1704, the system control unit 50 executes the focus stacking process in the focus stacking unit 25 using the multiple images obtained in the imaging processes from S1605 to S1610.

[0196] In step S1705, the system control unit 50 determines whether or not the focus stacking unit 25 has performed the synthesis process for a predetermined number of images. If the focus stacking process for the predetermined number of images has not been completed, the system control unit 50 returns to step S1702, and if the focus stacking process for the predetermined number of images has been completed, the system control unit 50 proceeds to step S1706.

[0197] In step S1706, the system control unit 50 determines whether or not an instruction to end the driving release mode has been received by the user switching the power switch 72 or the mode changeover switch 60. If an instruction to end the driving release mode has not been received, the process returns to step S1701, and if an instruction to end the driving release mode has been received, the process ends.

[0198] Next, detection of the movement of a subject in this embodiment will be briefly described.

[0199] FIG. 18 is a diagram for explaining detection of subject movement using images at adjacent focus positions in this embodiment.

[0200] As in the first embodiment, focus bracketing using a driving release involves repeating an outward movement starting at time t1 and a return movement starting at time t2.

[0201] The motion detection unit 26 performs motion detection of the subject using the captured images at adjacent focus positions. That is, on the way from time t1, motion detection is performed on the image captured at focus position F1 and the image captured at focus position F2, and the image captured at focus position F2 and the image captured at focus position F3, in accordance with the movement of the focus position. Furthermore, the same motion detection process is repeated up to the image captured at focus position F9 and the image captured at focus position F10. On the way back from time t2, although a detailed description is omitted, the motion detection unit 26 repeats the motion detection process of the subject using the captured images at adjacent focus positions in accordance with the movement of the focus position, as in the way back from time t2.

[0202] Through the above processing, motion detection is performed using images at adjacent focus positions, making it possible to detect motion at a high frame rate and improving the responsiveness of processing using motion detection.

[0203] 19 is a diagram for explaining detection of subject movement using images at the same focus position in this embodiment. The operation of focus bracketing using a driving release is the same as in FIG.

[0204] The motion detection unit 26 detects the motion of the subject using images captured at the same focus position. Here, an example is shown in which motion detection is performed using images captured at the same focus position on the outward journey. That is, motion detection is performed using an image captured at F1 on the outward journey from time t1 and an image captured at F11 on the outward journey from time t3, and the same motion detection process is then repeated for images captured at F10 and F20.

[0205] Although not described, images captured at the same focus position on the return journey may be used, or images captured at the same focus position on the outward journey and the return journey may be used.

[0206] By performing motion detection using images with the same focus position through the above processing, it becomes possible to detect motion between focused images, thereby improving the accuracy of motion detection between generated depth stacked images.

[0207] The above-described method for detecting the movement of a subject can also be applied to the second embodiment.

[0208] In the above explanation, shooting with a driving release has been described, but focus bracketing shooting with intermittent drive may also be used. In other words, if the subject moves during focus bracketing shooting with intermittent drive, the focus stacking process may be stopped temporarily in the same way.

[0209] According to the present embodiment, by the above processing, if the subject moves during shooting with a driving release, the generation process of the depth stacking image is interrupted, thereby preventing the generation of an unnatural composite image. Also, when the subject stops moving, the generation of the depth stacking image is resumed, thereby preventing the update interval of the live view display of the depth stacking image from becoming long.

[0210] (Other embodiments) The above-described embodiment is merely an example for carrying out the present invention, and various modifications are possible.

[0211] For example, the implementation method described in the first embodiment (hereinafter referred to as the first display mode) and the implementation method described in the second embodiment (hereinafter referred to as the second display mode) can be used depending on the shooting environment.

[0212] Specifically, the first display mode allows the photographer to quickly check the live view of the depth stacking image, for example, when shooting products in a studio, with the imaging device set up on a tripod and the photographer standing away from the imaging device and adjusting the position of the subject while looking at the monitor.

[0213] In addition, the second display mode allows you to check the normal live view image without depth stacking while deciding the composition, for example when shooting handheld, and then check the live view image with depth stacking once the composition is decided.

[0214] For example, before starting to capture images, the state detection unit 27 detects the state of the digital camera 100 and acquires the detection result. The detection result acquired here refers to one or more pieces of information among angular velocity information from the gyro sensor, whether or not a tripod is attached by detecting the attached / detached state of the tripod, and the amount of displacement calculated from the motion vector obtained from a plurality of images captured by the imaging unit 22. Alternatively, if the user operates the operation unit 70 to directly set the shooting method, the state detection unit 27 may detect it. The system control unit 50 determines the state of the digital camera 100 based on the detection result notified by the state detection unit 27. If the angular velocity is less than a threshold value, if a tripod is attached, or if the amount of displacement calculated from the motion vector is less than a threshold value, the first display mode is set. If the angular velocity is equal to or greater than a threshold value, if a tripod is not attached, or if the amount of displacement calculated from the motion vector is equal to or greater than a threshold value, the second display mode is set.

[0215] The above embodiment has been described based on the implementation in a digital camera, but is not limited to a digital camera. For example, the present invention may be implemented in a mobile device with a built-in image sensor, or in a network camera capable of capturing images.

[0216] The present invention can also be realized by a process in which a program for realizing one or more functions of the above-mentioned embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and run the program. The present invention can also be realized by a circuit (e.g., ASIC) for realizing one or more functions. [Explanation of symbols]

[0217] 100 Digital Camera 101 Shutter 102 Barrier 103 Focus Lens 13 D / A converter 15 Memory control section 18 Recording media I / F 22 Imaging unit 23 AF evaluation value detection section 24 Image Processing Section 25 Depth synthesis section 26 Motion detection unit 27 Status detection unit 28 Display section 32 Memory 40 Power supply section 50 System control section 52 System Memory 53 System Timer 56 Non-volatile memory 60 Mode Switch 61 Shutter button 62 Second shutter switch 64 First shutter switch 70 Operation section 72 Power Switch 80 Power supply control unit 90 Strobe 200 Recording media

Claims

1. An instruction means for receiving an image capture instruction; an imaging means for performing a first imaging method before the instruction means receives the imaging instruction, and for performing a second imaging method after the instruction means receives the imaging instruction; a synthesis means for synthesizing a first plurality of images having different focus positions obtained by the first imaging method and a second plurality of images having different focus positions obtained by the second imaging method, the imaging means reads out the image sensor while continuing to drive the focus lens in the first imaging method, and obtains the first plurality of images; In the second imaging method, the focus lens is stopped at different positions and the image sensor is read out a plurality of times to obtain the second plurality of images; an imaging device characterized in that, when the instruction means receives the imaging instruction while the imaging means is performing the first imaging method, the imaging device moves the focus position to a predetermined position and then starts the second imaging method.

2. the synthesis means generates a first synthesis image using the first plurality of images, and generates a second synthesis image using the second plurality of images; the first composite image has a greater depth of field than the first plurality of images; The imaging device according to claim 1 , wherein the second composite image has a greater depth of field than the second plurality of images.

3. 3. The imaging apparatus according to claim 2, further comprising display means for displaying the first composite image.

4. a first detection means for detecting a motion of a subject; 4. The imaging apparatus according to claim 3, wherein said display means stops displaying said first composite image when said first detection means detects the movement of said subject.

5. The imaging apparatus according to claim 4 , wherein after said display means stops displaying said first composite image, said display means displays a live view of the image being captured by said imaging means.

6. a first detection means for detecting a motion of a subject; 4. The imaging apparatus according to claim 1, wherein the combining means stops the combining when the first detection means detects a movement of the subject.

7. The imaging apparatus according to claim 6 , wherein after the combining means stops the combining, a live view of the image being captured by the imaging means is displayed.

8. 8. The imaging apparatus according to claim 6, wherein when the first detection means detects that the motion of the subject stops, the composition means restarts the composition.

9. 9. The imaging device according to claim 4, wherein the first detection means detects the movement of the subject by comparing images at the adjacent focus positions among the first plurality of images.

10. 10. The imaging apparatus according to claim 4, wherein the first detection means detects the movement of the subject by comparing images having the same focus position among the first plurality of images.

11. 11. The imaging device according to claim 1, wherein the imaging means waits for the focus lens to stop and become static in the second imaging method before reading out the image sensor.

12. 11. The imaging device according to claim 1, wherein the imaging means moves the focus lens back and forth, and captures images required for the synthesis means to synthesize a single synthetic image on both the forward and return paths.

13. 13. The imaging device according to claim 1, wherein when the instruction means receives the imaging instruction while the imaging means is performing the first imaging method, imaging using the first imaging method is not performed while the focus position is being moved to a predetermined position.

14. 13. The imaging device according to claim 1, wherein when the instruction means receives the imaging instruction while the imaging means is performing the first imaging method, the movement of the focus lens while moving the focus position to a predetermined position is faster than the movement of the focus lens while the imaging means is performing the first imaging method.

15. 15. The imaging apparatus according to claim 1, wherein the predetermined position is a position at which the first imaging method is started.

16. 15. The imaging device according to claim 1, wherein the predetermined position is a midpoint of a round trip in the first imaging method.

17. 15. The imaging device according to claim 1, wherein the predetermined position is a position at which a forward path of a round trip in the first imaging method ends.

18. 15. The imaging apparatus according to claim 1, wherein the predetermined position is the focus position of one of the second plurality of images obtained by the second imaging method.

19. An operation unit having a button, 19. The image pickup apparatus according to claim 1, wherein the instruction means determines that the image pickup instruction has been received based on the pressing of the button.

20. 20. The imaging device according to claim 19, wherein pressing the button includes pressing the button halfway.

21. 21. The imaging apparatus according to claim 1, wherein the imaging instruction includes an instruction for acquiring imaging parameters for performing the first imaging method or the second imaging method.

22. An instruction step of receiving an imaging instruction; an imaging step of performing a first imaging method before receiving the imaging instruction in the instruction step, and performing a second imaging method after receiving the imaging instruction in the instruction step; a synthesis step of synthesizing a first plurality of images having different focus positions obtained by the first imaging method and a second plurality of images having different focus positions obtained by the second imaging method, In the imaging step, the first imaging method is used to read out the image sensor while continuing to drive the focus lens, thereby acquiring the first plurality of images; In the second imaging method, the focus lens is stopped at different positions and the image sensor is read out a plurality of times to obtain the second plurality of images; an imaging method characterized in that, when the imaging instruction is received while the first imaging method is being performed in the instruction step, the focus position is moved to a predetermined position in an imaging step, and then the second imaging method is started.

23. A computer program for causing a computer of an imaging device to operate, An instruction step of receiving an imaging instruction; an imaging step of performing a first imaging method before receiving the imaging instruction in the instruction step, and performing a second imaging method after receiving the imaging instruction in the instruction step; a synthesis step of synthesizing a first plurality of images having different focus positions obtained by the first imaging method and a second plurality of images having different focus positions obtained by the second imaging method, In the imaging step, the first imaging method is used to read out the image sensor while continuing to drive the focus lens, thereby acquiring the first plurality of images; In the second imaging method, the focus lens is stopped at different positions and the image sensor is read out a plurality of times to obtain the second plurality of images; a program for receiving the imaging instruction while performing the first imaging method in the instruction step, moving the focus position to a predetermined position in an imaging step, and then starting the second imaging method, said program comprising:

24. A computer-readable recording medium having the program according to claim 23 recorded thereon.

Citation Information

Patent Citations

  • Full focus image pickup method and stereoscopic display method

    JP2001298755A

  • Imaging device, control method for imaging device and program

    JP2015231058A

  • Imaging apparatus and imaging method

    JP2019054461A

  • Imaging device

    WO2017090233A1