Image processing device, method, and program

WO2024221411A1PCT designated stage expired Publication Date: 2024-10-31GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/091606
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-28
Publication Date
2024-10-31

Smart Images

  • Figure CN2023091606_31102024_PF_FP_ABST
    Figure CN2023091606_31102024_PF_FP_ABST
Patent Text Reader

Abstract

It is intended to be able to acquire an image requiring a shooting technique by a shooting method of a general user. An image processing device according to the present disclosure includes a first camera, a second camera, a control unit, and an image processing unit. The first camera is configured to shoot a shooting target with first exposure time setting to output a first recording image. The second camera is configured to shoot the shooting target with second exposure time setting to output a second recording image. The control unit is configured to perform record shooting by using the first camera and the second camera when being instructed to acquire a third recording image. The image processing unit is configured to generate the third recording image based on the first recording image output from the first camera and the second recording image output from the second camera.
Need to check novelty before this filing date? Find Prior Art

Description

IMAGE PROCESSING DEVICE, METHOD, AND PROGRAM[Technical Field]

[0001] The present disclosure relates to an image processing device, a method, and a program.[Background Art]

[0002] Most of general users often perform shooting in a normal shooting mode when shooting with a smartphone, or the like. On the contrary, because a professional photographer has a shooting technique, this photographer performs high-level shooting in a professional mode. Unlike an image captured by the general user, the professional photographer can acquire a dynamic image by performing shooting in which the movement of a subject is emphasized.[Disclosure of Invention]

[0003] [Problem to be Solved by the Invention]

[0004] However, it is not easy for a general user to perform professional shooting. For example, when blurring a background side conforming with a moving subject to perform background blur shooting, a professional photographer fixes a camera to perform long exposure and moves the camera conforming with the moving subject to perform shooting. There is required a high-level shooting technique of adjusting various setting for a camera conforming with a scene to be shot as well as of precisely moving the camera conforming with the setting after adjustment. Because the general user does not have knowledge of setting and shooting techniques compared with an expert, the general user fails when performing shooting with blur for advanced users.

[0005] The present disclosure has been made in view of the above-described problem, and an aim of the present disclosure is to provide an image processing device, a method, and a program, which can acquire an image requiring a shooting technique by a shooting method of a general user.

[0006] [Means for Solving Problem]

[0007] To solve the problem described above and achieve an aim of the present disclosure, an image processing device according to one aspect of the present disclosure includes a first camera, a second camera, a control unit, and an image processing unit. The first camera is configured to shoot a shooting target with first exposure time setting to output a first recording image. The second camera is configured to shoot the shooting target with second exposure time setting to output a second recording image. The control unit is configured to perform record shooting by using the first camera and the second camera when being instructed to acquire a third recording image. The image processing unit is configured to generate the third recording image based on the first recording image output from the first camera and the second recording image output from the second camera.

[0008] [Effect of the Invention]

[0009] One aspect of the present disclosure has an effect that an image requiring a shooting technique can be acquired by a shooting method of a general user.[Brief Description of Drawings]

[0010] FIG. 1 is a diagram illustrating an example of a configuration of an image processing device according to an embodiment;

[0011] FIG. 2 is a diagram illustrating an example of a configuration of a detecting module according to the embodiment;

[0012] FIG. 3 is a diagram illustrating an example of a labeling process in a moving subject detecting process according to the embodiment;

[0013] FIG. 4 is a diagram illustrating an example of a motion vector calculating process in the moving subject  detecting process according to the embodiment;

[0014] FIG. 5 is a diagram illustrating an example of a motion vector threshold determination process in the moving subject detecting process according to the embodiment;

[0015] FIG. 6 is an outline explanatory diagram illustrating a process during a second record shooting in an image processing unit according to the embodiment;

[0016] FIG. 7 is a diagram illustrating an example of a generation process of a blurred area according to the embodiment;

[0017] FIG. 8 is a diagram (continued) illustrating the example of the generation process of the blurred area according to the embodiment;

[0018] FIG. 9 is a diagram illustrating an example of background blur image processing according to the embodiment;

[0019] FIG. 10 is a diagram illustrating an example of moving subject blur image processing according to the embodiment;

[0020] FIG. 11 is a diagram illustrating an example of a configuration of a UI screen displayed on a display device by the image processing device according to the embodiment;

[0021] FIG. 12 is a diagram illustrating an example of a flow relating to the second record shooting in the image processing device according to the embodiment;

[0022] FIG. 13 is a diagram (continued) illustrating the example of the flow relating to the second record shooting in the image processing device according to the embodiment;

[0023] FIG. 14 is a diagram illustrating an example of a configuration of a UI screen for motion editing according to the embodiment;

[0024] FIG. 15 is a diagram illustrating an example of a flow of motion editing relating to the second record shooting according to the embodiment; and

[0025] FIG. 16 is a diagram illustrating an example of hardware blocks of the entire computer configuration of the image processing device according to the embodiment.

[0026] [Embodiment (s) of Carrying Out the Invention]

[0027] Hereinafter, an image processing device, a method, and a program according to an embodiment will be described in detail with reference to the accompanying drawings. Note that the present invention is not limited to the embodiment.

[0028] Embodiment

[0029] First, shooting terms that are used in the following explanations will be described. Hereinafter, all things located in a range to be acquired as an image are referred to as a "shooting target" . A subject having larger movement than other subjects within the shooting target is referred to as a "moving subject" . In other words, a moving subject means a main moving object among a plurality of moving objects included in the shooting target. Another moving object having the same movement as the main moving object is also regarded as a moving subject.

[0030] As an example, a subject having a large movement such as an up / down motion, a left / right motion, and a movement, in front of a subject that has small movement in the distant place or a subject that does not move substantially, such as a background, is referred to as a moving subject. Note that a criterion of determining whether a subject is a moving subject is irrelevant whether the subject is in the front side or the back side. For example, if the movement of a subject in the back side is larger than that of a subject in the front side, the subject in the back side is referred to as a moving subject.

[0031] Moreover, a through image output from a camera before shooting for recording is referred to as a "preview image" , and an image acquired by shooting for recording is referred to as a "recording image" .

[0032] Moreover, a "moving subject blur image" and a "background blur image" will be described below as an example of an image requiring a shooting technique. An image requiring a shooting technique is referred to as a "third recording image" . A "moving subject blur image" is an image obtained by generating a moving-subject-side pseudo blur image, and a "background blur image" is an image obtained by generating a background-side pseudo blur image. The moving subject blur image and the background blur image are one of images acquired by high-level shooting technique that is learned by a professional photographer. An image of the moving subject itself can be shot even in a normal standard mode, but a general user is difficult to acquire a dynamic image in which the moving subject is emphasized by the professional photographer by using blurring. Hereinafter, an image processing device, a method, and a program, which can acquire the moving subject blur image and the background blur image by a shooting method of a general user, will be described.

[0033] The image processing device according to an embodiment to be described below is applicable from large equipment to small equipment if it is a processing device with a camera.

[0034] FIG. 1 is a diagram illustrating an example of a configuration of an image processing device 1 according to the embodiment. The image processing device 1 illustrated in FIG. 1 includes a first camera module 11, a second camera module 12, and a processor 20. Herein, the first camera module 11 corresponds to a "first camera" , and the second camera module 12 corresponds to a "second camera" .

[0035] The first camera module 11 and the second camera module 12 are camera modules that acquire image data of a shooting target. The first camera module 11 and the second camera module 12 are provided in the same shooting direction.

[0036] Each of the camera modules includes an optical system 111 and an image sensor 112. The optical system 111 includes a lens group configured to inject light to guide the light to the image sensor 112. The optical system 111 may include a shutter, a diaphragm, and the like, in addition to this lens group. The image sensor 112 exposes an image of light emitted from the optical system 111 for a setting time, and converts the image of light into image data. The image sensor 112 is a CCD (Charge Coupled Device) image sensor or a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor, for example.

[0037] The processor 20 includes a control unit 21 and an image processing unit 22. The processor 20 is connected to a display device, an input device, a storage, and the like to be able to communicate with them. The input device is hardware keys or a touch panel as an example, and a user performs setting of a shooting mode, an operation of a shutter button, and the like by using the input device. The display device is a display such as liquid crystal, an indicator, or the like. In addition, the processor may be connected to a microphone, a speaker, various sensors, and the like.

[0038] The control unit 21 adjusts each component of the image processing device 1 to perform shooting of the camera. In accordance with one of an instruction of first record shooting and an instruction ofsecond record shooting, the control unit 21 performs shooting by using one or a plurality of camera modules. Herein, the first record shooting corresponds to shooting of acquiring a normal recording image according to a shooting mode, and the second record shooting corresponds to shooting of acquiring the third recording image. Each instruction of the first record shooting and the second record shooting is accepted by an input operation signal of a shutter button from the shutter button etc., for example.

[0039] First, when the shooting mode is a standard mode, the control unit 21 drives the first camera module 11 with standard parameter setting to start preview shooting. Then, when receiving the instruction of the first record shooting during the preview shooting, the control unit 21 performs the record shooting by the first camera module 11.

[0040] Moreover, when receiving the instruction of the second record shooting during the preview shooting, the control unit 21 performs the record shooting on the same shooting target together by using the first camera module 11  and the second camera module 12. In this case, the first camera module 11 is driven with setting of short exposure to output a first recording image. The second camera module 12 is driven with setting of long exposure to output a second recording image. Both the first recording image and the second recording image are image data that have the same shooting target.

[0041] Note that the control unit 21 may previously fix the exposure time of the first camera module 11 and the exposure time of the second camera module 12 to a short time and a long time respectively, or may accept parameters to adjust exposure times when receiving the instruction of the second record shooting. Moreover, the control unit 21 may previously fix an exposure time of a sub camera among the first camera module 11 and the second camera module 12. Moreover, the control unit may adjust an exposure time of a sub camera conforming with an exposure time of a main camera.

[0042] The time setting of long exposure and short exposure is performed so that one image of long exposure is output and two or more images of short exposure is output. The time setting of them may be determined as appropriate.

[0043] The above example is an example in which the first camera module 11 is a main camera module and the second camera module 12 is a sub camera module. The image processing device 1 may have a configuration that one of the first camera module 11 and the second camera module 12 performs shooting as the main camera, and, when receiving the instruction of the second record shooting, the other as the sub camera acquires the image of the same shooting target at the same time as the shooting by the main camera. In any case, the first camera module 11 and the second camera module 12 are adjusted so that one and the other simultaneously perform shooting with long exposure and short exposure respectively.

[0044] Moreover, in the case of a configuration that the image processing device 1 includes a camera module for different uses in addition to the first camera module 11 and the second camera module 12, the camera module for different uses may be used as the main camera etc. to perform shooting simultaneously with the sub camera when a shooting mode corresponding to the camera module for different uses is selected.

[0045] The image processing unit 22 receives the image data transmitted from the first camera module 11 or the second camera module 12 to perform image processing. For example, the image processing unit 22 performs a display output process of displaying the image data, a saving process of saving the image data in a predetermined recording format, and the like. Furthermore, at the time of the second record shooting, the image processing unit 22 performs image processing of acquiring the third recording image such as a background blur image and a moving subject blur image, based on the first recording image and the second recording image.

[0046] Detection of Moving Subject

[0047] In a case where a moving subject is included in a scene to be shot, the second record shooting is used when a general user etc. wants to acquire a dynamic image, which looks like it is shot by a professional photographer, by an operation of a normal shutter button. Because the second record shooting can be used without performing complicated setting such as a professional mode that is used by an expert and without recognizing the movement of the camera when shooting, anyone can acquire an image to be captured by the professional photographer. The moving subject can be checked by the user while seeing the shooting target, but the detection of the moving subject using a sensor or image processing can use the second record shooting in an optimum scene.

[0048] During the preview shooting, preview image data is output from the first camera module 11 at all times. During the preview shooting, the image processing unit 22 receives the preview image data output from the first camera module 11 to perform a display output process etc. of outputting a display image to the display device. As an example of a moving subject detecting process of detecting a moving subject, the present embodiment illustrates an example of a process of detecting a moving subject by using the preview image data received by the image  processing unit 22 during the preview shooting. The notification of the case where the moving subject is detected may be made to the control unit 21 internally or to the user via screen display, predetermined sound, light emission of an indicator, or the like.

[0049] FIG. 2 is a diagram illustrating an example of a configuration of a detecting module 250. The detecting module 250 includes a segmentation module 251, an optical flow estimation module 252, and an optical flow threshold processing module 253, to detect a moving subject by the following processes. The detecting module 250 will be described as a detecting module of the image processing unit 22 (see FIG. 6) .

[0050] FIGS. 3 to 5 are diagrams illustrating an example of the moving subject detecting process. As illustrated in FIG. 3, in a time-series alignment sequence illustrated on a time axis T, that is, in an alignment sequence of…, a time t-1, a time t, the latest preview image data is transmitted from the first camera module 11 to the image processing unit 22. The image processing unit 22 temporarily saves the past predetermined number of preview image data k-1 to k-n (n=2, 3, 4, and…) by using the latest preview image data k at the time t as a reference.

[0051] As illustrated in FIG. 3, the detecting module 250 inputs the latest preview image data k into the segmentation module 251. The segmentation module 251 divides the input preview image data k into areas to perform labeling on each area. FIG. 3 illustrates that the segmentation module 251 divides the data into four areas of A, B, C, and D to generate image data kk obtained by labeling sky to the area A, ground to the area B, person to the area C, and tree to the area D.

[0052] Next, as illustrated in FIG. 4, the detecting module 250 inputs the labeled image data kk labeled by the segmentation module 251 and the preview image data k-1 acquired in time sequence into the optical flow estimation module 252. The optical flow estimation module 252 performs optical flow estimation by the image data k and the image data k-1 acquired in time sequence, and calculates the movement of the labeled areas of the labeled image data kk. For example, the optical flow estimation module 252 calculates, every one label, an average of the optical flow of the entire area within one label, and calculates the calculated average as a motion vector of the corresponding one label.

[0053] As an example, in FIG. 4, in the area A where the label of the labeled image data kk is "sky" , the optical flow from the image data k-1 to the image data k every unit area has a small change amount in the same one direction as illustrated by arrows. For this reason, the area A of a calculation result kkk by the optical flow estimation module 252 is associated with a small motion vector in the same one direction. Similar to the area A, because a change amount is small in the same one direction for each of the area B and the area D, these areas are associated with a small motion vector in the same one direction. On the contrary, the area C that is labeled as "person" has a large change amount of the optical flow every unit area in a direction different from the area A, the area B, and the area D. For this reason, the area C is associated with a large motion vector in the direction different from the other areas.

[0054] Next, as illustrated in FIG. 5, the detecting module 250 inputs the calculation result kkk of the optical flow estimation module 252 into the optical flow threshold processing module 253. The optical flow threshold processing module 253 performs a threshold process on the magnitude of each motion vector of the labeled areas A, B, C, and D, and outputs a labeled area having a motion vector not less than the threshold as a moving subject. When there are several moving subjects, a labeled area having the maximum motion vector is regarded as a moving subject. Moreover, when there is a label having the movement in the same direction as a label having the maximum motion vector, an area of the label having the movement in the same direction is also regarded as the area of the moving subject. The determination result kkkk ofFIG. 5 illustrates that the area C labeled as person is determined as a moving subject, and information on the area C of the moving subject and the motion vector is obtained from the determination result kkkk.

[0055] The detecting module 250 outputs TRUE to the control unit 21 etc. when the moving subject is detected.  Note that the moving subject detecting process that uses the optical flow estimation is illustrated herein, but the detection method of the moving subject is not limited to this. Other alternatives may be applied as appropriate.

[0056] Outline of Image Processing of Second Record Shooting

[0057] FIG. 6 is an outline explanatory diagram illustrating a process during the second record shooting in the image processing unit 22. Upon receiving the instruction of the second record shooting from a shutter button etc., the control unit 21 performs the record shooting with respect to the same shooting target together by using the first camera module 11 and the second camera module 12.

[0058] As illustrated in FIG. 6, the image processing unit 22 performs a process of acquiring the third recording image by using two first recording images m and m+1 that are recording images continuously captured with short exposure from the first camera module 11 and one second recording image i that is a recording image captured with long exposure from the second camera module 12.

[0059] Herein, the first recording image m and the second recording image i are image data when shooting is started by the first camera module 11 and the second camera module 12 at the shutter timing t1 when the control unit 21 receives the instruction of the second record shooting from the shutter button etc. As illustrated in FIG. 6, the first recording image m is an image substantially without blur overall due to short exposure, and the second recording image i is an image with blur overall due to long exposure. The first recording image m+1 is image data acquired subsequent to the first recording image m by the first camera module 11.

[0060] As illustrated in FIG. 6, the image processing unit 22 includes the detecting module 250, a blurred area generating module 260, and a blending processing module 270, and acquires a moving subject blur image 500 or a background blur image 600 that is an example of the third recording image.

[0061] Specific Example of Process of Acquiring Third Recording Image

[0062] Next, a process of acquiring the moving subject blur image 500 and the background blur image 600 will be described with reference to FIGS. 7 to 10. FIGS. 7 and 8 are diagrams illustrating an example of a generation process of a blurred area. FIGS. 9 and 10 are diagrams illustrating an example of a blending process of the blurred area.

[0063] First, the generation process of the blurred area will be described with reference to FIGS. 7 and 8. As illustrated in FIG. 7, the image processing unit 22 includes, as the blurred area generating module 260, a moving subject mask generating module 261, a moving subject bounding box generating module 262, and a position aligning module 263.

[0064] The image processing unit 22 inputs the received two first recording images m and m+1 into the detecting module 250 to acquire a detection result m1 at the time t1. The detection result m1 has area information of the moving subject and area information of the other background. Specifically, as an example, three runners a1, a2, and a3 are detected as moving subjects, and audience seats, a track area, and the like located in a venue other than the three runners a1, a2, and a3 are area information on the background.

[0065] Furthermore, the image processing unit 22 inputs the first recording image m and the detection result m1 into the moving subject mask generating module 261. Based on the area information of the detection result m1, the moving subject mask generating module 261 generates a mask image m2 of the moving subjects from the first recording image m.

[0066] Moreover, the image processing unit 22 inputs the first recording images m and m+1 and the detection result m1 into the moving subject bounding box generating module 262. Based on the area information of the detection result m1, the moving subject bounding box generating module 262 generates moving subject bounding box information B1 from the two first recording images m and m+1. The moving subject bounding box information B1 is box information indicating the position, size, etc. of the outer frame that indicates the range of the movement of the moving subject.

[0067] Moreover, the image processing unit 22 inputs the first recording image m and the second recording image i into the position aligning module 263.

[0068] The position aligning module 263 aligns the second recording image i with the first recording image m, and outputs a second recording image i1 after position alignment.

[0069] As illustrated in FIG. 8, the image processing unit 22 further includes, as the blurred area generating module 260, an area extracting module 264, a motion estimating module 265, and an averaging module 266.

[0070] The area extracting module 264 extracts, from the second recording image i1 output from the position aligning module 263, an image of a moving subject area corresponding to the moving subject bounding box information B1, that is, in this example, a moving subject area image group that is images a10, a20, and a30 corresponding to the three runners a1, a2, and a3.

[0071] The motion estimating module 265 estimates the movement of the moving subject area image group. Because the moving subject area image group illustrated as an example has the three images a10, a20, and a30, motions of them are estimated by PSF (Point Spread Function) estimation. The averaging module 266 obtains a moving subject motion a500 by averaging a motion a100, a motion a200, and a motion a300 obtained by the PSF estimation from the respective images a10, a20, and a30.

[0072] Next, the blending process will be described. Hereinafter, as an example, the blending process will be described for each of two kinds of the background blur image 600 and the moving subject blur image 500.

[0073] Background Blur Image Processing

[0074] FIG. 9 is a diagram illustrating an example of background blur image processing. As illustrated in FIG. 9, the image processing unit 22 includes, as the blending processing module 270, a first convolution module 271, a second convolution module 272, a length / breadth inverting module 273, and anαblending module 274. Note that the part up to the front of theαblending module 274 corresponds to a process of generating a pseudo blur image and the αblending module 274 corresponds to a synthesis process.

[0075] The image processing unit 22 inputs the mask image m2 of the moving subject into the first convolution module 271, and inputs the first recording image m into the second convolution module 272 and theαblending module 274. Moreover, the image processing unit 22 inputs the moving subject motion a500 into the length / breadth inverting module 273.

[0076] The first convolution module 271 generates a mask image m3 obtained by blurring the mask image m2 of the moving subject by using the Gaussian filter 275, and inputs the mask image m3 into theαblending module 274.

[0077] The second convolution module 272 generates a first recording image m4 obtained by blurring the first recording image m based on a reverse subject motion a600 output from the length / breadth inverting module 273, and inputs the first recording image m4 into theαblending module 274.

[0078] When the first recording image m, the mask image m3, and the first recording image m4 are input, theαblending module 274 generates the background blur image 600 by theαblending ofFormula (1) . Z=αX+ (1-α) Y   (1)

[0079] Herein, a value of the corresponding area of the first recording image m is a variable X, a value of the corresponding area of the first recording image m4 is a variable Y, and a value of the corresponding area of the mask image m3 isα.

[0080] Moving Subject Blur Image Processing

[0081] FIG. 10 is a diagram illustrating an example of moving subject blur image processing. As illustrated in FIG. 10, the image processing unit 22 further includes an inversion processing module 276.

[0082] The image processing unit 22 inputs the mask image m2 of the moving subject into the inversion processing module 276, and inputs an inverted mask image m10 obtained by inverting black and white into the first  convolution module 271.

[0083] Moreover, the image processing unit 22 inputs the moving subject motion a500 into the second convolution module 272. Moreover, the image processing unit 22 inputs the first recording image m into the second convolution module 272 and theαblending module 274.

[0084] The first convolution module 271 generates an inverted mask image m20 obtained by blurring the inverted mask image m10 by using the Gaussian filter 275, and inputs the inverted mask image m20 into theαblending module 274.

[0085] The second convolution module 272 generates a first recording image m5 obtained by blurring the first recording image m based on the moving subject motion a500, and inputs the first recording image m5 into theαblending module 274.

[0086] When the first recording image m, the inverted mask image m20, and the first recording image m5 are input, theαblending module 274 generates the moving subject blur image 500 by theαblending ofFormula (1) .

[0087] UI Screen

[0088] FIG. 11 is a diagram illustrating an example of a configuration of a UI screen displayed on the display device by the image processing device 1. A first shutter button 811, a second shutter button 812, and a third shutter button 813 are provided on the UI screen. When the preview shooting is started, the first shutter button 811 becomes operable as illustrated on a first UI screen 800. Moreover, when the result of the moving subject detecting process becomes TRUE after the preview shooting, the second shutter button 812 and the third shutter button 813 also become operable as illustrated on a second UI screen 801.

[0089] The first shutter button 811 is a shutter button corresponding to the first record shooting. When the first shutter button 811 is selected, a normal recording image captured with one camera is obtained.

[0090] The second shutter button 812 and the third shutter button 813 are shutter buttons corresponding to the second record shooting. Among them, the second shutter button 812 is a shutter button to acquire the background blur image 600, and the third shutter button 813 is a shutter button to acquire the moving subject blur image 500.

[0091] When the second shutter button 812 is pressed, the background blur image 600 captured with two cameras is obtained by performing shooting with setting of the second record shooting.

[0092] When the third shutter button 813 is pressed, the moving subject blur image 500 captured with two cameras is obtained by performing shooting with setting of the second record shooting.

[0093] Note that each of the first shutter button 811, the second shutter button 812, and the third shutter button 813 may be displayed only when the corresponding one is operable and may be hidden when the corresponding one is not operated. Moreover, the first shutter button 811, the second shutter button 812, and the third shutter button 813 may have different shapes, display colors, characters, patterns, etc. of the respective buttons as appropriate so that the user can individually identify them.

[0094] Moreover, it has been explained that the first shutter button 811, the second shutter button 812, and the third shutter button 813 are displayed side by side, but the second shutter button 812 and the third shutter button 813 may be displayed by another displaying method.

[0095] Second Record Shooting Flow

[0096] The image processing device 1 displays the UI screen 800 on the display device after the preview shooting is started, and displays shutter buttons corresponding to the second record shooting as illustrated on the second UI screen 801 when the moving subject is located in the shooting target.

[0097] FIG. 12 is a diagram illustrating an example of a flow relating to the second record shooting in the image processing device 1. After the start of the preview shooting, the image processing device 1 performs the moving subject detecting process by using preview shooting image data (Step S1) .

[0098] Furthermore, based on the result of the moving subject detecting process in Step S1, the image processing device 1 determines whether a moving subject is included in the shooting target (Step S2) . As an example, the image processing device 1 determines that the moving subject is included when the result of the moving subject detecting process is TRUE, and determines that the moving subject is not included when the result of the moving subject detecting process is not TRUE.

[0099] When it is determined that the moving subject is not included (Step S2: No) , the image processing device 1 repeats the process from Step S1.

[0100] On the other hand, when it is determined that the moving subject is included (Step S2: Yes) , the image processing device 1 expands the number of shutter buttons from one button of the first shutter button 811 to three buttons including the second shutter button 812 and the third shutter button 813 corresponding to the second record shooting (Step S3) . In other words, as illustrated on the second UI screen 801, the second shutter button 812 and the third shutter button 813 become also operable.

[0101] Next, the image processing device 1 determines whether one of the first shutter button 811, the second shutter button 812, and the third shutter button 813 is pressed (Step S4) , and waits until one button is pressed when any one is not pressed (Step S4: No) .

[0102] On the other hand, when one of the first shutter button 811, the second shutter button 812, and the third shutter button 813 is pressed (Step S4: Yes) , the image processing device 1 performs the record shooting based on setting corresponding to the pressed shutter button.

[0103] FIG. 13 is a diagram (continued) illustrating the example of the flow relating to the second record shooting in the image processing device 1.

[0104] When the first shutter button 811 is pressed, the image processing device 1 performs normal record shooting by using one camera. When the second shutter button 812 is pressed, the image processing device 1 performs shooting by using two cameras to acquire the background blur image 600. When the third shutter button 813 is pressed, the image processing device 1 performs shooting by using two cameras to acquire the moving subject blur image 500. FIG. 13 illustrates a flow after the second shutter button 812 or the third shutter button 813 corresponding to the second record shooting is pressed.

[0105] As illustrated in FIG. 13, the image processing device 1 instructs to perform the record shooting by the first camera with short exposure setting and the record shooting by the second camera with long exposure setting (Step S11) .

[0106] Next, the image processing device 1 acquires the first recording image and the second recording image (Step S12) .

[0107] Next, the image processing device 1 acquires the third recording image based on the first recording image and the second recording image (Step S13) .

[0108] Next, the image processing device 1 presents the generated third recording image to the user, for example, by displaying the generated third recording image (Step S14) .

[0109] Then, when a saving button is pressed by the user, the image processing device 1 saves the presented third recording image in the storage (Step S15) .

[0110] UI Screen for Editing

[0111] FIG. 14 is a diagram illustrating an example of a configuration of a UI screen 900 for motion editing. A motion display 911, a blur effect intensity adjustment knob 912, and a SAVE button 913 are provided on the UI screen 900 for motion editing. The user can change blur effect intensity by sliding the blur effect intensity adjustment knob 912 between a large blur effect and a small blur effect.

[0112] In accordance with the slide amount and direction of the blur effect intensity adjustment knob 912, the  image processing device 1 increases or decreases the magnitude of the motion of the moving subject motion a500, and once again performs blur image processing by using the first recording image m and the mask image m2 used for the blur image processing. In other words, if it is the background blur image processing, the reverse subject motion a600 illustrated in FIG. 9 is changed and the background blur image is regenerated. If it is the moving subject blur image processing, the moving subject motion a500 illustrated in FIG. 10 is changed and the moving subject blur image is regenerated. After that, when the SAVE button is pressed, the regenerated image is saved.

[0113] As an example, FIG. 14 illustrates a difference between the displayed background blur image and the display result after reacquiring a background blur image obtained by changing the blur effect intensity by the user. When the user slides the blur effect intensity adjustment knob 912 to the small blur effect, as illustrated on a UI screen 901, the magnitude of the motion of the motion display 911 also becomes small, and the displayed image also becomes an image with less blur on the background side. Moreover, when the user slides the blur effect intensity adjustment knob 912 to the large blur effect, as illustrated on a UI screen 902, the magnitude of the motion of the motion display 911 also becomes large, and the displayed image also becomes an image with more blur on the background side.

[0114] FIG. 15 is a diagram illustrating an example of a flow of motion editing relating to the second record shooting. As illustrated in Step S21 (corresponding to Step S11 to Step S13) , the image processing device 1 acquires an image for background blur or moving subject blur from the image data captured by the cameras, and then performs the following processes.

[0115] First, the image processing device 1 presents to the user the third recording image that is the generated image of the background blur or moving subject blur, for example, by displaying the third recording image (Step S22) .

[0116] Next, when the saving button is pressed by the user (Step S23: Yes) , the image processing device 1 saves the presented third recording image in the storage (Step S24) .

[0117] On the other hand, when the saving button is not pressed by the user (Step S23: No) , the image processing device 1 displays the UI screen 900 for motion editing to accept motion adjustment by the user in Step S25, and regenerates an image on which the motion adjustment is performed in Step S26. After that, when the saving button is pressed, the image processing device 1 saves the regenerated image presented again in the storage.

[0118] The function of the processor 20 of the image processing device 1 may be realized by hardware such as ASIC (Application Specific Integrated Circuit) , or may be realized by software.

[0119] Adaptation Example to Smartphone

[0120] FIG. 16 is a diagram illustrating an example ofhardware blocks of the entire computer configuration of the image processing device 1. The image processing device 1 illustrated in FIG. 16 is a smartphone, for example. The image processing device 1 includes a processing unit 30, a memory 31, a storage 32, a display module 33, an input module 34, a GNSS module 35, a wireless communication module 36, a CODEC 37, a speaker 38, a microphone 39, a bus 40, an antenna 51, and an antenna 52.

[0121] The processing unit 30 includes an image signal processor 30-1 and a processor 30-2. The image signal processor 30-1 mainly performs processing by hardware. The processor 30-2 mainly performs processing by software.

[0122] The image signal processor 30-1, the processor 30-2, the memory 31, the storage 32, the display module 33, the input module 34, the GNSS module 35, the wireless communication module 36, and the CODEC 37 are connected via the bus 40 to be able to communicate with each other. The speaker 38 and the microphone 39 are connected to the bus 40 via the CODEC 37. The antenna 51 is an antenna that is connected to the GNSS module 35. The antenna 52 is an antenna that is connected to the wireless communication module 36.

[0123] The first camera module 11 and the second camera module 12 are provided as rear cameras etc. in the smartphone, for example. Each of the first camera module 11 and the second camera module 12 includes the optical system 111, the image sensor 112, and a driver (Image Sensor Driver) 113. In addition to these, each of them may include a focus mechanism, a shutter mechanism, a diaphragm, and the like. The optical axes PA1 and PA2 of the first camera module 11 and the second camera module 12 are parallel to each other.

[0124] Under the control of exposure time setting etc. by the processing unit 30, the driver 113 drives the image sensor 112.

[0125] The processing unit 30 performs image processing, display processing, saving processing, etc. on the image data output from the image sensor 112 in communication with each component.

[0126] The memory 31 is a main memory. The memory 31 is configured of ROM (Read Only Memory) , RAM (Random Access Memory) , and the like. The storage 32 is an auxiliary storage device or an external storage device. The storage 32 saves therein a program, data such as a UI screen, a recording image, and the like.

[0127] The display module 33 is a display module that includes a liquid crystal display etc.

[0128] The input module 34 is an input module that includes hardware keys, a touch panel, or the like.

[0129] In the image processing device 1 illustrated in FIG. 16, the image signal processor 30-1 performs predetermined signal processing and outputs the image data to the memory 31. The processor 30-2 executes a predetermined program to show the above various functions, and performs image processing, display processing, saving processing, etc. on the image data output from the image signal processor 30-1.

[0130] Note that, because the procedures of the image processing, display processing, and saving processing are already explained by using the flowcharts, their descriptions are omitted.

[0131] The program may be a program that is downloaded and recorded from a network such as the Internet, or may be a recording medium or a program product that is stored in and distributed by the recording medium.

[0132] As described above, by the image processing control according to the present embodiment, an image requiring a high-level shooting technique can be also acquired by simply pressing a shutter button, for example, like the shooting method of the general user. A professional-grade image can be acquired by a simple operation even by a smartphone etc., without requiring a high-quality camera such as a camera of an expert. Moreover, because whether the present scene is a scene suitable for shooting of an image requiring a high-level shooting technique is provided by notification such as the display of a shutter button, for example, any general user can use an optimum scene without missing the optimum scene. As described above, by the image processing control according to the present embodiment, anyone can acquire an image to be captured by the professional photographer without performing complicated setting such as a professional mode that is used by an expert and without recognizing the movement of the camera when shooting. Because the failure of shooting can be prevented, a dynamic image can be acquired without missing the image even in a scene with the movement that cannot be reproduced. Moreover, because there is also an editing function, an effect of the captured image can be adjusted later in accordance with the preference of the user. For this reason, an opportunity of shooting a scene with movement increases in a photograph instead of a moving video.

[0133] While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.

[0134] [Explanations of Letters or Numerals]

[0135] 1: Image processing device

[0136] 11: First camera module

[0137] 12: Second camera module

[0138] 20: Processor

[0139] 21: Control unit

[0140] 22: Image processing unit

[0141] 111: Optical system

[0142] 112: Image sensor

[0143] 250: Detecting module

[0144] 251: Segmentation module

[0145] 252: Optical flow estimation module

[0146] 253: Optical flow threshold processing module

[0147] 260: Blurred area generating module

[0148] 261: Moving subject mask generating module

[0149] 262: Moving subject bounding box generating module

[0150] 263: Position aligning module

[0151] 264: Area extracting module

[0152] 265: Motion estimating module

[0153] 266: Averaging module

[0154] 270: Blending processing module

[0155] 271: First convolution module

[0156] 272: Second convolution module

[0157] 273: Length / breadth inverting module

[0158] 274: αblending module

[0159] 276: Inversion processing module

[0160] 275: Gaussian filter

[0161] 500: Moving subject blur image that is example of third recording image

[0162] 600: Backgroundblur image that is example of third recording image

[0163] 800: First UI screen

[0164] 801: Second UI screen

[0165] 811: First shutter button

[0166] 812: Second shutter button

[0167] 813: Third shutter button

[0168] 900: UI screen for motion editing

[0169] 911: Motion display

[0170] 912: Blur effect intensity adjustment knob

[0171] 913: SAVE button

[0172] a500: Moving subject motion

[0173] a600: Reverse subject motion

[0174] i: Second recording image captured with long exposure

[0175] m and m+1: First recording images continuously captured with short exposure

Claims

1.An image processing device comprising:a first camera configured to shoot a shooting target with first exposure time setting to output a first recording image;a second camera configured to shoot the shooting target with second exposure time setting to output a second recording image;a control unit configured to perform record shooting by using the first camera and the second camera when being instructed to acquire a third recording image; andan image processing unit configured to generate the third recording image based on the first recording image output from the first camera and the second recording image output from the second camera.2.The image processing device according to claim 1, further comprising:a detecting module configured to detect a moving subject within the shooting target, whereinthe control unit is configured to accept an instruction of acquisition of the third recording image when the detecting module detects the moving subject.3.The image processing device according to claim 2, whereinthe detecting module is configured to detect the moving subject within the shooting target based on preview image data output from the first camera or preview image data output from the second camera.4.The image processing device according to claim 2, whereinthe control unit is configured to: cause an operator of accepting the instruction of acquisition of the third recording image to be operable when the detecting module detects the moving subject; and accept the instruction of acquisition of the third recording image when the operator is operated.5.The image processing device according to claim 2, whereinduring displaying on a UI screen an operator of first record shooting of instructing to perform record shooting in setting of a shooting mode, the control unit is configured to: additionally display on the UI screen one or more operators of second record shooting of instructing to acquire the third recording image when the detecting module detects the moving subject; and accept the instruction of acquisition of the third recording image when the operator of the second record shooting is operated.6.The image processing device according to claim 1, whereinthe third recording image includes a recording image obtained by generating and synthesizing a pseudo blur image of an area with the moving subject or a recording image obtained by generating and synthesizing a pseudo blur image of an area other than the moving subject, based on the first recording image and the second recording image.7.The image processing device according to claim 6, whereinthe image processing unit is configured to generate the pseudo blur image by using as a magnitude of the blur a result obtained by estimating a motion on the area with the moving subject based on the first recording image and the second recording image.8.The image processing device according to claim 7, whereinthe image processing unit is configured to: generate the pseudo blur image obtained by changing the magnitude of the blur based on a change instruction of changing the magnitude of the blur of the pseudo blur image; and output the recording image including the pseudo blur image after changing the magnitude of the blur.9.The image processing device according to claim 3, whereinthe detecting module is configured to: label each subject within the shooting target; and detect, as the moving subject, a subject corresponding to a label whose result of optical flow estimation is not less than a threshold among labels of the subjects.10.An image processing method of an image processing device including a first camera and a second camera, the method comprising:shooting a shooting target with first exposure time setting by the first camera to output a first recording image and shooting the shooting target with second exposure time setting by the second camera to output a second recording image, when being instructed to acquire a third recording image; andgenerating the third recording image based on the first recording image output from the first camera and the second recording image output from the second camera.11.A program causing a computer to execute:shooting a shooting target with first exposure time setting by the first camera to output a first recording image and shooting the shooting target with second exposure time setting by the second camera to output a second recording image, when being instructed to acquire a third recording image; andgenerating the third recording image based on the first recording image output from the first camera and the second recording image output from the second camera.

Citation Information

Patent Citations

  • High dynamic range image shooting method and mobile terminal

    CN107197169A

  • Shooting method and mobile terminal

    CN107395997A

  • Double-image-free high-dynamic-range imaging method and device for double-lens camera

    CN112689099A

  • Shooting method and equipment

    CN113905182A

  • Method for generating HDR image and electronic equipment

    CN114466134A