Imaging device and control method

The imaging device automatically determines the number of shots required to achieve desired effects by evaluating feature amounts in composite images, addressing the challenge of optimizing image quality and special effects without user intervention.

JP7566470B2Active Publication Date: 2024-10-15CANON KK
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
JP2020018947
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-02-06
Publication Date
2024-10-15
Estimated Expiration
2040-02-06

AI Technical Summary

Technical Problem

Existing imaging technologies struggle to determine the optimal number of images required to achieve desired image quality improvements and special effects, such as emphasizing fluid motion or high dynamic range, without user intervention.

Method used

An imaging device and method that includes a determining means for capturing images under specific conditions, a composition means for creating composite images, a calculation means for evaluating feature amounts, and an output means for determining when the desired effect is achieved, using termination conditions based on features like smoothness or dynamic range.

Benefits of technology

Enables the creation of composite images with desired effects without requiring users to manually determine the number of shots needed, ensuring the final image meets the intended quality criteria.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007566470000002
    Figure 0007566470000002
  • Figure 0007566470000003
    Figure 0007566470000003
  • Figure 0007566470000004
    Figure 0007566470000004
Patent Text Reader

Abstract

To provide an imaging device, a control method, a program, and a recording medium that can obtain a composite image with sufficient effects that a user wants to obtain without being aware of the required number of shots.SOLUTION: When an imaging device 101 determines an end condition according to a shooting condition of a subject acquired from a user, each time the image of the subject is captured, the imaging device 101 creates a composite image of all the captured images of the subject, and calculates the feature amount of the created composite image. At this time, when the feature amount satisfies the end condition, the composite image in which the feature amount is calculated is output as the final composite image.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an imaging device. and Control Method law An imaging device that generates an image with a specific effect by combining a plurality of images. and Control Method law Regarding. [Background technology]

[0002] 2. Description of the Related Art Conventionally, imaging methods have been disclosed in which a plurality of images are captured and then synthesized to improve image quality or add special effects in various ways.

[0003] For example, a widely known process is to take multiple images with a proper exposure in a short time and then average the images to improve the S / N ratio and resolution. Another known method is to take images with different exposures and combine them to improve the dynamic range.

[0004] Furthermore, by taking multiple short-exposure images with almost no time interval between them and combining these images, an image effect equivalent to that of a long-exposure shot using an ND filter is obtained. For example, when taking a long-exposure shot of a landscape with flowing water such as a waterfall, a method is known in which an image is taken and combined that emphasizes the "flow" of the water.

[0005] One such technique is disclosed in Patent Document 1, in which a threshold determination is made for each pixel data for each multiple exposure, and a synthesis process is selected according to the threshold, so that a long-term light trail produces the effect desired by the photographer.

[0006] Furthermore, Patent Document 2 discloses a process in which the first two images are first combined, and the number of additional images to be taken is determined based on the state of the subject in the combined images, thereby obtaining a high dynamic range (HDR) image. [Prior art documents] [Patent documents]

[0007] [Patent Document 1] JP 2016-76869 A [Patent Document 2] JP 2014-171146 A Summary of the Invention [Problem to be solved by the invention]

[0008] However, in Patent Document 1, although the selection of the synthesis process according to the threshold value is performed automatically, there is a problem in that the photographer needs to judge whether the light trajectory of the long exposure in the final image has the effect that the photographer desires.

[0009] Furthermore, in Patent Document 2, the number of images required to be combined to create a final image with HDR is determined based only on the first two images, so there are cases in which the final image cannot have a sufficiently high dynamic range.

[0010] In other words, in Patent Documents 1 and 2, when a user wants to take multiple images to obtain an image to which the user desires to improve image quality or add special effects, it is difficult for the user to determine how many images should be taken and combined to obtain an image to which the user desires to sufficiently add the effects.

[0011] The present invention is an imaging apparatus capable of obtaining a composite image having a desired effect without the user being conscious of the number of shots required. and Control Method law The purpose is to provide. [Means for solving the problem]

[0012] The imaging device according to claim 1 of the present invention comprises: Fluid The subject Under the conditions for taking an image with an emphasis on flow,The system comprises a determination means for determining a termination condition, an imaging means for capturing an image of the subject, a synthesis means for creating a composite image of all of the images of the subject captured by the imaging means each time an image of the subject is captured by the imaging means, a calculation means for calculating a feature of the created composite image each time the composite image is created, and an output means for outputting the composite image whose feature has been calculated as a final composite image if the feature calculated by the calculation means satisfies the termination condition, wherein the termination condition relates to smoothness of the subject in the final composite image. Effect of the Invention

[0013] According to the present invention, a composite image that satisfies the desired effect can be obtained without the user having to be concerned about the number of shots required. [Brief description of the drawings]

[0014] [Figure 1] 1 is a diagram illustrating the overall configuration of an imaging device according to a first embodiment. [Diagram 2] 2 is a diagram for explaining the flow of image processing by the image processing unit in FIG. 1 according to the first embodiment. [Diagram 3] An example of a UI image displayed when photographing a waterfall. [Figure 4] 1 is a flowchart of a composite image creation process according to the first embodiment. [Diagram 5] FIG. 5 is a diagram for explaining image synthesis executed in step S403 in FIG. [Figure 6] 6A and 6B are diagrams showing waterfall images in the respective composite images shown in FIG. 5. [Figure 7] 6 is a graph showing a histogram of pixel values ​​within the region of interest in FIG. 3 in each of the composite images shown in FIG. 5. [Figure 8] 6 is a graph showing the standard deviation of pixel values ​​in the region of interest in FIG. 3 in each of the synthetic images shown in FIG. 5. [Figure 9] 6 is a graph showing the absolute sum of differences in pixel values ​​within the region of interest in FIG. 3 in the pre- and post-combined images shown in FIG. 5; [Figure 10]FIG. 11 is a diagram for explaining the flow of image processing by an image processing unit according to the second embodiment. [Figure 11] 13 is a flowchart of a composite image creation process according to the second embodiment. [Figure 12] 11. FIG. 12 is a diagram for explaining image synthesis executed in step S1103 in FIG. 11 when the shooting condition is "shoot a high-resolution image." [Figure 13] 11. FIG. 12 is a diagram for explaining the calculation of feature amounts executed in step S1104 and the determination executed in step S1105 in FIG. 11 when the shooting condition is "shooting a high-resolution image." [Figure 14] 13 is a graph showing an example of image synthesis when the photographing condition according to the second embodiment is "to photograph an image having a wide dynamic range." DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[0016] Example 1 Hereinafter, an imaging apparatus and a control method thereof according to a first embodiment of the present invention will be described with reference to FIGS.

[0017] FIG. 1 is a diagram showing the overall configuration of an image pickup device 101 according to a first embodiment of the present invention.

[0018] In FIG. 1, an imaging device 101 includes an optical system 102, an image sensor 103, an image processing unit 104, a recording unit 105, a display unit 106, and a control unit 107.

[0019] The optical system 102 includes a lens such as a zoom lens, an optical aperture, a focus adjustment function, and the like.

[0020] The image sensor 103 is a photoelectric conversion element such as a CCD or a CMOS, and serves as an imaging unit that converts an image of a subject formed by an optical system into an electrical signal and generates a captured image.

[0021] An image processing unit 104 performs development processing such as de-Bayer processing on the signal from the image sensor 103 to generate image data.

[0022] The recording unit 105 stores the image data.

[0023] The display unit 106 displays image data, photographed data, and the like.

[0024] The control unit 107 performs necessary control over each of the units 102 to 106.

[0025] The image processing unit 104 includes an image synthesis unit 205, a feature amount calculation unit 206, and a termination determination unit 207. As shown in Fig. 2, the image processing unit 104 executes image processing in which input photographed images 202 are sequentially synthesized to generate a final synthesized image 203. At this time, the control unit 107 inputs to the image processing unit 104 information on the number of photographed images 204 indicating which photographed image has been input to the image processing unit 104 and is being synthesized.

[0026] The image synthesis unit 205 performs image synthesis of the captured images. The details of the image synthesis in this embodiment will be described later with reference to FIGS.

[0027] The feature amount calculation unit 206 calculates feature amounts related to the composite images sequentially created by the image processing unit 104. The feature amount does not need to be calculated for the entire composite image. That is, the feature amount is calculated only for the portion of the final composite image 203 where the user wants to obtain a predetermined effect. In this embodiment, when the user wants to obtain an effect of emphasizing the "flow" in a photographed image of a fluid subject such as a waterfall, the user displays the UI screen 300 (FIG. 3) on the display unit 106. After that, the user selects a portion (in the example of FIG. 3, the attention area 302 shown in the diagonal line portion, which is the center of the waterfall flow) where an image with an effect of emphasizing the "flow" is required from the waterfall image 301 previewed on the UI screen 300. The feature amount calculation unit 206 calculates feature amounts only from this attention area 302 in the composite image. Note that the area of ​​the attention area 302, which is the center of the waterfall flow, does not have to be an area selected by the user as described above, and may be obtained by, for example, scene discrimination, motion detection, or the like. The content of the feature amount calculated by the feature amount calculation unit 206 will be described later.

[0028] The end determination unit 207 determines whether the feature quantity satisfies the end condition and whether the number of shots 204 has reached the maximum number of shots, and based on the results of these determinations, determines whether to end image synthesis in the image synthesis unit 205 or to end additional image shooting. In this embodiment, when the user selects one of large, medium, and small for the flow effect (smoothness of the fluid subject) in the message section 303 of the UI screen 300 shown in FIG. 3, the control unit 107 sets a threshold value according to the selected flow effect. When the feature quantity falls below this threshold value, the end determination unit 207 determines that the feature quantity satisfies the end condition. Note that this end condition may be determined in advance by the control unit 107 according to the shooting method.

[0029] FIG. 4 is a flowchart of a composite image creation process according to the first embodiment.

[0030] This process is executed by the image processing unit 104 reading out a program previously stored therein.

[0031] First, in step S401 in Fig. 4, the shooting conditions, the number of shots, the feature amount, the end condition, etc. are determined. In Fig. 1, this is performed by the control unit 107.

[0032] The shooting condition determined here is "taking a picture with an effect of emphasizing 'flow'" which is used when taking a waterfall image. In this embodiment, when the user displays the UI screen 300 on the display unit 106, the shooting condition is determined to be "taking a picture with an effect of emphasizing 'flow'". When such a shooting condition is determined, operations such as shooting processing and synthesis processing, such as acquiring a plurality of images with appropriate exposure and performing averaging synthesis, are determined. After that, when the user selects, on the UI screen 300, an attention area 302, which is the center of the flow of the waterfall, from among the waterfall image 301 previewed on the UI screen 300, the area for calculating the feature amount is determined. Furthermore, when the user specifies the flow amount he / she wants to obtain from the message section 303 of the UI screen 300, the end condition is determined according to the specified flow amount and the content of the feature amount set in advance.

[0033] The number of shots determined here is the upper limit (maximum number of shots) for the number of images to be composited. Note that the feature amount may be other than the example feature amounts given below, so long as it can express the "flow" of images. The termination condition may be a condition that can determine that the effect of the "flow" is sufficient from the obtained feature amount.

[0034] Next, in step S402, one image is captured. The process here is a process for generating a captured image using the optical system 102 and image sensor 103 in Fig. 1. Note that the process here may be supplemented with necessary processes (so-called development processes such as DeBayer processing and white balance) in the image processing unit 104 so that subsequent synthesis processes are possible.

[0035] Next, in step S403, image synthesis is performed. This process is performed when the second or subsequent captured images are generated in the immediately preceding step S402. This image synthesis will be described with reference to FIG. 5, taking as an example the case of "capturing an image that has an effect of emphasizing the 'flow'" when capturing a waterfall image 301. FIG. 5 shows an outline of the process of image capture and synthesis proceeding sequentially from left to right, as indicated by the → in the upper row, and details of the processing time and timing are omitted.

[0036] The rows of captured images in FIG. 5 show captured images f1 to f6 that are generated one by one in sequence in step S402.

[0037] The next row of added images shows how the captured images f1 to f6 are sequentially added together as they are captured. That is, when the second captured image f2 is captured after the first captured image f1 is captured, an added image f1+f2 is generated by adding together the pixel values ​​of the first captured image f1 and the second captured image f2. When the third captured image f3 is captured, an added image f1+f2+f3 is generated, and when the fourth captured image f4 is captured, an added image f1+f2+f3+f4 is generated.

[0038] Next, for the row of composite images, each time an additive image is generated, the generated additive image and an average image calculated from the number of images captured up to now are used as the composite image. That is, when the second captured image f2 is captured and an additive image f1+f2 is generated, the additive image f1+f2 is divided by 2, the number of images captured, to obtain an average image, which is used as the composite image ((f1+f2) / 2). Similarly, when the third captured image f3 is captured and an additive image f1+f2+f3 is generated, this is divided by 3 to obtain a composite image ((f1+f2+f3) / 3). Similarly, when the fourth captured image f4 is captured and an additive image f1+f2+f3+f4 is generated, this is divided by 4 to obtain a composite image ((f1+f2+f3) / 4).

[0039] In this manner, in step S403, a composite image is created every time one captured image is generated in step S402.

[0040] FIG. 6 shows the appearance of the waterfall image in each of the composite images shown in FIG.

[0041] Fig. 6(a) shows the captured image f1 generated by the first capture, in which there is little "flow" of water on the surface of the waterfall 601. Figs. 6(b)-(d) show the captured images f1-f4 sequentially synthesized, which correspond to the synthesized images ((f1+f2) / 2), ((f1+f2+f3) / 3), and ((f1+f2+f3+f4) / 4) in Fig. 5, respectively. In this embodiment, an example will be described in which the synthesized image ((f1+f2+f3+f4) / 4) in Fig. 5 sufficiently achieves the effect of a waterfall "flow."

[0042] Returning to the flowchart of Fig. 4, in step S404, the feature amount of the composite image generated in the previous step S403 is calculated. The feature amount of the composite image is determined in step S401 according to its purpose and effect. In this embodiment, the feature amount of the composite image when a "flowing" effect is created in the attention area 302 in Fig. 3 determined as the area for calculating the feature amount in step S401 will be described.

[0043] 7(a)-(d) are graphs showing histograms of pixel values ​​in the region of interest 302 in FIG. 3 for each composite image shown in FIG. 5. In each of the graphs in FIG. 7(a)-(d), the horizontal axis indicates pixel values, and the vertical axis indicates the frequency of each pixel value. FIG. 7(a) is a histogram obtained for the first captured image f1, and FIG. 7(b) is a histogram obtained for the composite image ((f1+f2) / 2). Thereafter, FIG. 7(c) is a histogram obtained for the composite image ((f1+f2+f3) / 3), and FIG. 7(d) is a histogram obtained for the composite image ((f1+f2+f3+f4) / 4). As can be seen from FIG. 7(a)-(d), the change in the shape of the histogram becomes smaller as the number of composite images increases. In other words, the "flow" effect of the waterfall image approaches a constant, and the change becomes smaller. Therefore, this change in the shape of the histogram can be used as a feature amount. Specifically, to determine the change in the shape of the histogram, the difference in frequency is calculated for each pixel value between the histogram of the previously synthesized image and the newly synthesized image, and the sum of the squares of the differences is calculated. In other words, if the frequency of a pixel value i in the previously synthesized image is xi and the frequency in the newly synthesized image is yi, the change ΔH in the shape of the histogram can be calculated by the following formula. This ΔH may be used as a feature amount.

[0044]

number

[0045] Similarly, a cross-correlation function value may be calculated for a set of (pixel value, frequency) between the histogram of the previously created composite image and the histogram of the newly created composite image, and used as a feature. In this case, as the change in the histogram becomes smaller, the cross-correlation function value approaches 1.0.

[0046] Also, the variance and standard deviation of pixel values ​​in the region of interest 302 in Fig. 3 may be used as feature quantities. Fig. 8 shows the standard deviation of pixel values ​​in the region of interest 302 in Fig. 3 for each composite image shown in Fig. 5. In Fig. 8, the horizontal axis represents the number of composite images (number of shots), and the vertical axis represents the standard deviation of the composite image. As can be seen in Fig. 8, as the number of composite images increases, the change in standard deviation becomes smaller. In other words, the "flow" effect of the waterfall image approaches a constant, and the change becomes smaller. Therefore, the amount of change in this standard deviation can also be used as a feature quantity.

[0047] Also, the correlation between the previous and next composite images may be used as a feature. For example, the absolute sum of differences between a composite image when the number of shots is three and a composite image when the number of shots is two is calculated as the correlation between the previous and next composite images when the number of shots is three. The absolute sum of differences of pixel values ​​in the attention area 302 in FIG. 3 for each composite image shown in FIG. 5 is shown in FIG. 9. As can be seen in FIG. 9, the sum of absolute differences decreases as the number of composite images increases. In other words, the "flow" effect of the waterfall image approaches a constant and the change becomes smaller. Therefore, the change in the absolute sum of differences can also be used as a feature.

[0048] Although the histogram, variance, standard deviation, and sum of absolute differences have been shown as examples of feature quantities, it is also possible to use a combination of these as feature quantities.

[0049] Returning to the flowchart of FIG. 4 again, in step S405, it is determined whether the feature amount of the composite image calculated in step S404 satisfies the termination condition (whether the feature amount is less than a threshold). That is, if it is determined from the feature amount calculated in step S404 that the composite image has the effect required by the user, for example, that the condition that the "flow" effect of the waterfall image in the composite image is large is sufficiently satisfied, the image capture is stopped and the process proceeds to step S407. In step S407, the final composite image is output (displayed on the display unit 106 or recorded on the recording unit 105), and the process ends. For example, if the feature amount is a histogram, if the change in the shape of the histogram is less than the threshold value that is the termination condition determined in step S401, it is determined that the "flow" effect of the waterfall image is sufficient, and the image capture is stopped. Also, if the feature amount is a standard deviation, if the change in the standard deviation is less than the threshold value that is the termination condition determined in step S401, it is determined that the "flow" effect of the waterfall image is sufficient, and the image capture is stopped. Also, if the feature amount is the sum of absolute differences, and the change is less than the threshold value that is the termination condition determined in step S401, or if the value of the sum of absolute differences is less than th shown in Fig. 9, it is determined that the "flowing" effect of the waterfall image is sufficient, and shooting is stopped. Alternatively, if it is determined that the "flowing" effect of the waterfall image is sufficient from the combination of the histogram, standard deviation, and sum of absolute differences, shooting is stopped.

[0050] On the other hand, if it is determined in step S405 that the feature amount of the composite image calculated in step S404 does not satisfy the termination condition (the feature amount is equal to or greater than the threshold), the process proceeds to step S406. In step S406, the number of shots is determined, and if the maximum number of shots determined in step S401 has not been reached, the process returns to step S402 and the shooting is repeated. If the maximum number of shots has been reached, the shooting is stopped, the process proceeds to step S407, the final composite image is output, and the process ends.

[0051] Returning to FIG. 5, the feature amount and the final output image will be described. As described above, when each composite image is created, the feature amount of the composite image is calculated. For example, when the second photographed image f2 is generated and the composite image ((f1+f2) / 2) is created, the feature amount a2 is calculated for the composite image. In this embodiment, the feature amount a2 is equal to or greater than the threshold value, and the end condition is not satisfied (the effect required by the user for the composite image is insufficient). Therefore, the next third photographed image f3 is generated and the composite image ((f1+f2+f3) / 3) is created, and the feature amount a3 is calculated for the composite image. In this embodiment, the feature amount a3 is equal to or greater than the threshold value, and the end condition is not satisfied. Therefore, the next fourth photographed image f4 is generated and the composite image ((f1+f2+f3+f4) / 4) is created, and the feature amount a4 is calculated for the composite image. In this embodiment, the feature amount a4 is less than the threshold value, and the end condition is satisfied. 5, the photographing for generating the fifth captured image f5 and the sixth captured image f6 is stopped, and no composite image is created. That is, in this embodiment, the final composite image output in step S407 is the composite image ((f1+f2+f3+f4) / 4) created when the fourth captured image f4 is generated.

[0052] In this embodiment, when the feature a4 satisfies the termination condition, subsequent shooting is stopped, but the fifth captured image f5 and the sixth captured image f6 may be output in parallel with the output of the final composite image. That is, in the present invention, it is sufficient that a new composite image is not created after the feature calculated in step S404 satisfies the termination condition, and subsequent shooting does not have to be stopped.

[0053] As described above, in this embodiment, composite images are created one after another while shooting, and when the feature amount of the created composite image satisfies the end condition, the composite image is output as the final composite image. This allows the user to obtain a composite image with a sufficient desired effect without being conscious of the number of shots required.

[0054] Example 2 Hereinafter, an imaging apparatus and a control method thereof according to a second embodiment of the present invention will be described with reference to Fig. 10 to Fig. 14. The second embodiment differs from the first embodiment in that the shooting conditions are taken into consideration when creating a composite image, but the overall configuration is the same as that of the first embodiment. Therefore, the same reference numerals are used for the same configuration as the first embodiment, and duplicated explanations will be omitted.

[0055] FIG. 10 is a diagram for explaining the flow of image processing by the image processing unit 104 according to the second embodiment.

[0056] The image processing unit 104 includes an image synthesis unit 1006, a feature amount calculation unit 1007, and a termination determination unit 1008. As shown in Fig. 10, the image processing unit 104 executes image processing in which input photographed images 1002 are sequentially synthesized to generate a final synthesized image 1004. At this time, the control unit 107 inputs information on the number of shots 1003, which indicates which photographed image has been input to the image processing unit 104 and is being synthesized, to the image processing unit 104. The control unit 107 also inputs information on exposure conditions 1005, such as exposure time, aperture value, and ISO sensitivity, which are set according to the photographing conditions, to the image processing unit 104.

[0057] The image synthesis unit 1006 synthesizes the captured images in consideration of the shooting conditions. The details of the image synthesis in this embodiment will be described later with reference to FIGS.

[0058] The feature calculation unit 1007 calculates feature amounts related to the composite images successively created by the image composition unit 1006. As in the first embodiment, it is not necessary to obtain feature amounts for the entire composite image. In other words, feature amounts are calculated only for those parts of the final composite image 1004 where the user desires to obtain a predetermined effect. In this embodiment, as in the first embodiment, feature amounts are calculated for the attention area 302 that is the center of the waterfall flow in FIG. 3. The content of the feature amounts will be described later.

[0059] An end judgment unit 1008 judges whether the feature quantity satisfies an end condition and whether the number of shots 1003 has reached the maximum number of shots, and based on the results of these judgments, judges whether to end the synthesis process in the image synthesis unit 1006 or to end the shooting of additional images.

[0060] First, an example of image synthesis when the shooting condition is "shooting a high-resolution image" will be described with reference to FIGS.

[0061] FIG. 11 is a flowchart of a composite image creation process according to the second embodiment.

[0062] This process is equivalent to the flowchart of FIG. 4, and is executed by the image processing unit 104 reading out a program previously stored therein.

[0063] In steps S1101 and S1102, the same processes as in steps S401 and S402 in FIG. 4 are performed, and then the process proceeds to step S1103, where image synthesis is performed taking into account the shooting conditions determined in step S1101.

[0064] FIG. 12 shows, from the top, a captured image, a composite image, the feature amount of the composite image, and a final composite image. Each time captured images f1 to f6 are captured, a composite image is created sequentially, and the feature amounts b2 to b4 of the composite image are calculated. When it is determined that the calculated feature amount satisfies the end condition (the effect required by the user is sufficient), the capture is stopped and the final composite image is output. Note that, for example, in FIG. 12, the third composite image is generated by simply adding up the pixel values ​​of the captured images f1, f2, and f3, but in reality, weighting may be applied to each pixel value according to the capture conditions.

[0065] 11, in step S1104, the feature amount of the composite image created in step S1103 is calculated according to the shooting conditions. Then, in step S1105, it is determined whether the feature amount of the composite image calculated in step S1104 satisfies a termination condition.

[0066] In this example, the feature of the composite image is the maximum pixel value of the attention area, and when this maximum value reaches the maximum pixel value that the composite image can express (when the feature exceeds the threshold), it is determined that the feature satisfies the end condition. Specifically, when the pixel value of the composite image is expressed in 8 bits, the maximum value that the composite image can express is 255. Therefore, when the maximum pixel value of the attention area reaches 255, it is determined that the feature satisfies the end condition. This will be described with reference to FIG. 13. FIGS. 13(a) to (f) are graphs showing histograms of pixel values ​​in the attention area 302 of each composite image shown in FIG. 12, with the horizontal axis showing pixel values ​​and the vertical axis showing frequency. The histogram of the composite image changes from FIG. 13(a) to (f) every time shooting is performed. In FIGS. 13(a) to (f), the upward white arrows indicate the maximum pixel value (feature) in the attention area 302 of the composite image. Also, the downward black triangles indicate the maximum pixel value (threshold) that the composite image can express. Each time a composite image is created, the maximum pixel value of the region of interest 302 is found as a feature amount, and if the found feature amount does not reach the maximum pixel value that can be expressed by the composite image, shooting is repeated.

[0067] At this time, the exposure value at the time of shooting may be adjusted based on the maximum value of the pixel value that can be expressed by the composite image so that the maximum pixel value of the composite image does not exceed 255.

[0068] 11, if the feature amount satisfies the termination condition in step S1105, it is determined that an image with the maximum resolution requested by the user has been obtained, the image capturing is stopped, and the process proceeds to step S1107. On the other hand, if the feature amount does not satisfy the termination condition and it is determined that an image with the maximum resolution requested by the user has been obtained, the process proceeds to step S1106, where the same process as in step S406 is performed, and then the process proceeds to step S1107.

[0069] In step S1107, similarly to step S407 in FIG. 4, the final composite image is output, and this process ends.

[0070] Next, an example of image synthesis when the shooting condition is "shooting an image with a wide dynamic range" will be described with reference to FIGS.

[0071] When the composite image creation process of Fig. 11 starts, first, in step S1101, the same process as in step S401 of Fig. 4 is performed. In this example, in step S1101, the width of the dynamic range required by the user is determined as a threshold value that serves as a termination condition.

[0072] Next, in step S1102, the same process as in step S402 in Fig. 4 is performed. In this example, when generating the second and subsequent captured images, the exposure value is increased by a certain amount from the previous capture in accordance with the exposure condition 1005. Then, in step S1103, images are synthesized taking into account the capture conditions determined in step S1101.

[0073] 14(a) to (c) are histograms of pixel values ​​in the attention area 302 in FIG. 3 in the captured images obtained when the exposure was increased in that order. The histogram shown in FIG. 14(c) is overexposed and the captured image is saturated, and only one peak is observed in the histogram where two peaks should be present. When three captured images are obtained, the exposure of each captured image taken up to that point is converted to be the same to create a composite image. FIG. 14(d) shows a histogram of pixel values ​​in the attention area 302 in FIG. 3 in this composite image. In the composite image created in this example, the high luminance part is mainly composed of pixels in the first captured image shown in the histogram in FIG. 14(a). The medium luminance part is mainly composed of pixels in the second captured image shown in the histogram in FIG. 14(b), and the low luminance part is mainly composed of pixels in the second captured image shown in the histogram in FIG. 14(c). As a result, a composite image having a wider dynamic range than a single captured image can be obtained. In this embodiment, the timing for starting the creation of the composite image is set to the stage when three captured images are obtained, but this is not limited to the stage when multiple captured images are obtained.

[0074] Returning to the flowchart in FIG. 11, in step S1104, the width of the dynamic range is calculated as a feature amount using the histogram in FIG. 14(d).

[0075] If the dynamic range (feature amount) calculated in step S1105 reaches the threshold value set in step S1101, it is determined that an image with a dynamic range as wide as the user has been obtained, the shooting is stopped, and the process proceeds to step S1107. On the other hand, if the feature amount does not reach the threshold value, it is determined that an image with a dynamic range as wide as the user has not been obtained, the process returns to step S1102, and shooting is performed with an exposure value further increased by a certain amount from the current exposure value.

[0076] As described above, in this embodiment, a composite image is created successively while taking pictures, taking into consideration the shooting conditions, and when the feature amount of the created composite image satisfies the end condition, the composite image is output as the final composite image. This allows the user to obtain a composite image that satisfies the desired effect without being conscious of the number of shots required.

[0077] The present invention may also be used for photographing starry skies, etc. In this case, however, pre-processing such as alignment is required when combining a number of images.

[0078] The present invention also includes the case where a composite image is created to obtain purposes and effects other than those of the photographing conditions exemplified in the first and second embodiments. In this case, a threshold value that is a termination condition and a method for calculating the feature amount of the composite image are set according to the purpose and effect. Depending on the purpose and effect, the purpose and effect are taken into consideration when creating the composite image.

[0079] (Other embodiments) The present invention can also be realized by executing the following process. That is, software (programs) that realize the functions of the above-described embodiments are supplied to a system or device via a network or various storage media, and the computer (or CPU, MPU, etc.) of the system or device reads and executes the program code. In this case, the program and the recording medium on which the program is stored constitute the present invention. [Explanation of symbols]

[0080] 101 Imaging device 102 Optical system 103 Image Sensor 104 Image processing section 105 Recording Section 106 Display section 107 Control Unit 202,1002 Images 203,1004 Final composite image 204,1003 Number of shots 205,1006 Image synthesis unit 206,1007 Feature Calculation Unit 207,1008 Termination decision section 1005 Exposure conditions

Claims

1. A determination means for determining an end condition of photographing under conditions for photographing an image having an effect of emphasizing the flow of a fluid subject; An imaging means for capturing an image of the subject; a synthesis means for generating a synthetic image of all the images of the subject captured by the imaging means each time the imaging means captures an image of the subject; A calculation means for calculating a feature amount of the created composite image each time the composite image is created; an output means for outputting, when the feature amount calculated by the calculation means satisfies the termination condition, the composite image for which the feature amount has been calculated as a final composite image; 4. The imaging apparatus according to claim 3, wherein the termination condition relates to smoothness of the subject in the final composite image.

2. 2. The imaging apparatus according to claim 1, wherein the synthesizing means creates the synthetic image by taking an arithmetic average of all images captured by the imaging means.

3. the feature amount includes a change in a histogram of the composite image; 3. The imaging apparatus according to claim 1, wherein the output means determines that the end condition is satisfied when a change in the histogram of the composite image becomes less than a first threshold value.

4. the feature amount includes a change in standard deviation of the composite image, 4. The imaging apparatus according to claim 1, wherein the output means determines that the end condition is satisfied when an amount of change in standard deviation of the composite image becomes less than a second threshold value.

5. the feature amount includes a change amount of a difference absolute sum obtained from a difference between the composite image and a composite image created immediately before the composite image by the composition means, 5. The imaging apparatus according to claim 1, wherein the output means determines that the end condition is satisfied when an amount of change in the sum of absolute differences becomes less than a third threshold value.

6. An acquisition means for acquiring a photographing condition of a subject, and a determination means for determining a termination condition in accordance with the photographing condition; An imaging means for capturing an image of the subject; a synthesis means for generating a synthetic image of all the images of the subject captured by the imaging means each time the imaging means captures an image of the subject; A calculation means for calculating a feature amount of the created composite image each time the composite image is created; an output means for outputting, when the feature amount calculated by the calculation means satisfies the termination condition, the composite image for which the feature amount has been calculated as a final composite image; the synthesis means creates the synthetic image by adding up all the images captured by the imaging means, taking into consideration the condition that a high-resolution image is captured; 4. The imaging apparatus according to claim 3, wherein the termination condition relates to a maximum pixel value in the final composite image.

7. A control method for an imaging device, comprising: A determination step of determining an end condition of photographing under a condition for photographing an image having an effect of emphasizing a flow of a subject which is a fluid; an imaging step of capturing an image of the subject; a synthesis step of generating a synthetic image of all of the images of the subject captured in the imaging step each time the image of the subject is captured in the imaging step; a calculation step of calculating a feature amount of the created composite image each time the composite image is created; an output step of outputting the composite image in which the feature amount has been calculated as a final composite image when the feature amount calculated in the calculation step satisfies the termination condition; 4. A method according to claim 3, wherein the termination condition relates to the smoothness of the object in the final composite image.

8. A control method for an imaging device, comprising: An acquisition step of acquiring a photographing condition of a subject; a determination step of determining a termination condition according to the photographing condition; an imaging step of capturing an image of the subject; a synthesis step of generating a synthetic image of all of the images of the subject captured in the imaging step each time the image of the subject is captured in the imaging step; a calculation step of calculating a feature amount of the created composite image each time the composite image is created; an output step of outputting the composite image in which the feature amount has been calculated as a final composite image when the feature amount calculated in the calculation step satisfies the termination condition; In the synthesis step, taking into consideration the condition of capturing a high-resolution image, the synthesis image is generated by adding up all the images captured in the imaging step; A control method according to claim 1, wherein the termination condition relates to a maximum pixel value in the final composite image.

Citation Information

Patent Citations

  • Image adder, method, and program

    JP2009021909A

  • Electronic camera

    JP2009081693A

  • Image capturing apparatus, control method thereof, and program

    JP2010081022A

  • Electronic apparatus, image processing method and program

    JP2012119761A

  • Bulb imaging apparatus and bulb imaging method

    JP2012160819A