Shooting control method, device and electronic device
Patent Information
- Application Number
- JP2023545373
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-01-28
- Filing Date
- 2022-01-26
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2042-01-26
AI Technical Summary
【0012】 本出願の実施例では、ライトトレイルの生成プロセスビデオであるターゲットビデオの撮影中、ビデオプレビューウィンドウと、少なくとも一つの第一のコントロールとを含む第一のインタフェースを表示し、この少なくとも一つの第一のコントロールのうちのコントロールである第一のターゲットコントロールに対するユーザの第一の入力を受信し、第一の入力に応答し、第一のターゲットコントロールに対応するライトトレイル生成パラメータを調節し、調節後のライトトレイル生成パラメータに基づき、このビデオプレビューウィンドウにおける画像を更新することができる。この方案において、ライトトレイルの生成プロセスビデオの撮影中、ユーザは、第一のターゲットコントロール(ライトトレイルの生成パラメータを調節するための少なくとも一つの第一のコントロールのうちのコントロール)に対する第一の入力によって、ライトトレイルの生成パラメータを調節し、ビデオプレビューウィンドウにおける画像を更新することができ、このように、撮影中、ユーザは、入力によってライトトレイル生成中の生成パラメータを変え(即ち撮影形式を調節し)、撮影形式を多様化することができ、それによって、ライトトレイル生成パラメータが固定されており、撮影形式が比較的に単一であるという関連技術における問題を解決することができる。
Smart Images

Figure 0007637785000001 
Figure 0007637785000002 
Figure 0007637785000003
Abstract
Description
[Technical field]
[0001] The present application relates to the field of communication technology, and in particular to a photographing control method, device and electronic device. [Background technology]
[0002] 2. Description of the Related Art With the rapid development of communication technology, the photographing function of electronic devices, such as the LightStream Shutter photographing function, becomes more and more powerful.
[0003] Lightstream shutter can capture the shadow of light and the moving trajectory of water flow according to different light rays and shooting object. Lightstream shutter is generally used to shoot a certain person, regular dynamic scenarios, such as starry sky, waterfall, stream and road vehicles, and shooting with Lightstream shutter can produce stripe dynamic effect. Lightstream shutter video is to record the whole shooting process of Lightstream shutter on video.
[0004] However, during the shooting of light stream shutter video, the light trail generating parameters are fixed, so the shooting format is relatively uniform and cannot meet the needs of users. Summary of the Invention [Problem to be solved by the invention]
[0005] The purpose of the embodiments of the present application is to provide a shooting control method, device and electronic device that can solve the problem that the shooting format is relatively uniform because the light trail generation parameters are fixed during light stream shutter video shooting. [Means for solving the problem]
[0006] In order to solve the above technical problems, the present application is realized as follows.
[0007] According to a first aspect, an embodiment of the present application provides a shooting control method, the method including: displaying a first interface including a video preview window and at least one first control during shooting of a target video, which is a light trail generation process video; receiving a first input from a user for a first target control, which is a control of the at least one first control; adjusting light trail generation parameters corresponding to the first target control in response to the first input; and updating an image in the video preview window based on the adjusted light trail generation parameters.
[0008] According to a second aspect, an embodiment of the present application provides a shooting control device, the device including a display module, a receiving module, and an update module, the display module is used for displaying a first interface including a video preview window and at least one first control during shooting of a target video, which is a light trail generation process video, the receiving module is used for receiving a user's first input for a first target control, which is a control of the at least one first control, and the update module is used for adjusting light trail generation parameters corresponding to the first target control in response to the first input, and updating an image in the video preview window based on the adjusted light trail generation parameters.
[0009] According to a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising a processor, a memory, and a program or instructions stored in the memory and operable to run on the processor, the program or instructions being operable when executed by the processor to implement steps of the method according to the first aspect.
[0010] According to a fourth aspect, an embodiment of the present application provides a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implements steps of the method according to the first aspect.
[0011] According to a fifth aspect, an embodiment of the present application provides a chip, the chip comprising a processor and a communication interface, the communication interface being coupled to the processor, the processor running a program or instructions and adapted to implement the method according to the first aspect. Effect of the Invention
[0012] In an embodiment of the present application, during the shooting of a target video, which is a light trail generation process video, a first interface including a video preview window and at least one first control is displayed, a first input of a user is received on a first target control, which is a control of the at least one first control, and in response to the first input, a light trail generation parameter corresponding to the first target control is adjusted, and an image in the video preview window is updated according to the adjusted light trail generation parameter. In this solution, during the shooting of the light trail generation process video, a user can adjust the light trail generation parameter through a first input on the first target control (a control of the at least one first control for adjusting the light trail generation parameter) and update the image in the video preview window. In this way, during the shooting, a user can change the generation parameter during the light trail generation (i.e., adjust the shooting format) through input, and diversify the shooting format, thereby solving the problem in the related art that the light trail generation parameter is fixed and the shooting format is relatively single. [Brief description of the drawings]
[0013] [Figure 1] 2 is a flowchart of a shooting control method according to an embodiment of the present application. [Diagram 2] FIG. 2 is a schematic diagram of an interface of a shooting control method according to an embodiment of the present application. [Diagram 3] FIG. 2 is a second schematic diagram of an interface for a shooting control method according to an embodiment of the present application. [Figure 4] FIG. 3 is a third schematic diagram of an interface of a shooting control method according to an embodiment of the present application. [Diagram 5] FIG. 4 is a fourth schematic diagram of an interface of a shooting control method according to an embodiment of the present application. [Figure 6] FIG. 5 is a fifth schematic diagram of an interface for a photography control method according to an embodiment of the present application. [Figure 7] FIG. 6 is a sixth schematic diagram of an interface of a shooting control method according to an embodiment of the present application. [Figure 8] FIG. 7 is a seventh schematic diagram of an interface of the shooting control method according to an embodiment of the present application. [Figure 9] FIG. 8 is an eighth schematic interface diagram of the shooting control method according to an embodiment of the present application. [Figure 10] 1 is a structural schematic diagram of an imaging control device according to an embodiment of the present application; [Figure 11] 1 is a structural schematic diagram of an electronic device according to an embodiment of the present application; [Figure 12] FIG. 2 is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] The following clearly and completely describes the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application, and obviously, the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by those skilled in the art on the basis of the embodiments of the present application without any creative efforts are within the scope of protection of the present application.
[0015] The terms "first," "second," etc. in the specification and claims of the present application are intended to distinguish between similar objects and are not intended to describe a particular order or sequence. It is to be understood that data so used are interchangeable where appropriate, such that the embodiments of the present application may be performed in an order other than that shown or described herein, and that the objects distinguished by "first," "second," etc. are generally of the same type and are not limited in number, e.g., the first object may be one or more. Note that "and / or" in the specification and claims refers to at least one of the objects connected, and the character " / " generally refers to an "or" relationship between the related objects.
[0016] In the examples of the present application, terms such as "exemplary" or "for example" are used to denote an example, illustration, or explanation. Any embodiment or design described in the examples of the present application as "exemplary" or "for example" should not be construed as being more preferred or advantageous than other embodiments or designs. Rather, the use of terms such as "exemplary" or "for example" is intended to present the relevant concept in a concrete manner.
[0017] In describing the embodiments of the present application, unless otherwise specified, the meaning of "plurality" refers to two or more, for example, a plurality of processing units refers to two or more processing units, a plurality of elements refers to two or more elements, etc.
[0018] Hereinafter, the photographing control method, device, and electronic device according to the embodiments of the present application will be described in detail with reference to specific embodiments and application scenarios in conjunction with the drawings.
[0019] The shooting control method according to the embodiments of the present application may be specifically applied to a scenario of shooting a video of the light trail generation process (shooting a light stream shutter video). In this method, during the shooting of the light trail generation process video, a user can adjust the light trail generation parameters and update the image in the video preview window through a first input on a first target control (a control among the at least one first control for adjusting the light trail generation parameters). In this way, during shooting, the user can change the generation parameters during the light trail generation (i.e., adjust the shooting format) through input and diversify the shooting format, thereby solving the problems in the related art that the light trail generation parameters are fixed and the shooting format is relatively single.
[0020] As shown in Figure 1, an embodiment of the present application provides a shooting control method, and the following takes an electronic device as an example to exemplify the shooting control method according to the embodiment of the present application. The method may include the following steps 201 to 204:
[0021] Step 201, the electronic device displays a first interface during shooting of a target video.
[0022] Here, the target video is a light trail generation process video, and the first interface includes a video preview window and at least one first control, and each first control is used to adjust a light trail generation parameter.
[0023] As can be understood, in the embodiment of the present application, the video preview window is used to display a preview image (which may be called a preview screen) captured in real time during the shooting of the target video.
[0024] As can be understood, in the embodiments of the present application, each first control may be a progress bar type control, a button type control, or other type of control, and the embodiments of the present application are not limited thereto.
[0025] As can be understood, in the embodiment of the present application, the light trail generation parameters may include at least one of the number of light trails generated simultaneously and the generation speed of the light trails in the generation state, and may further include other generation parameters, and the embodiment of the present application is not limited thereto.
[0026] Optionally, the at least one control includes at least one of a quantity control and a speed control, where the quantity control is used to adjust the number of light trails being generated simultaneously and the speed control is used to adjust the generation speed of the light trails in the generating state.
[0027] As can be appreciated, the quantity control may be referred to as a "co-production quantity control" and the rate control may be referred to as a "single production rate control," and the embodiments of the present application are not limited thereto.
[0028] As can be understood, without controlling the light trail generation parameters during the shooting of the target video, the number of light trails generated simultaneously is not limited, because the number of light trails generated simultaneously is determined by the actual shooting scenario. In the embodiment of the present application, the generation speed of a single light trail is controlled by controlling the frame rate of the target video.
[0029] At step 202, the electronic device receives a first user input on a first target control.
[0030] Here, the first target control is a control of the at least one first control.
[0031] Alternatively, the first input may be a user click input on the first target control, a user drag input on the first target control, or other feasible input, and may be specifically determined according to actual usage situations, and the embodiments of the present application are not limited thereto.
[0032] For example, the click input may be any number of click inputs, such as a single click input or a double click input, or may be a short press input or a long press input, and the drag input may be a drag input in any direction, such as an upward drag input, a downward drag input, a left drag input or a right drag input.
[0033] Step 203, the electronics responds to the first input by adjusting a light trail generation parameter corresponding to the first target control.
[0034] Illustratively, if the first target control is a quantity control, the electronics respond to the first input by adjusting the number of light trails generated simultaneously, and if the first target control is a speed control, the electronics respond to the first input by adjusting the speed of generation of the light trails.
[0035] Step 204, the electronic device updates the image in the video preview window based on the adjusted light trail generating parameters.
[0036] Exemplarily, a user opens a camera application program, clicks a "light stream shutter" option, enters a light stream shutter video capture mode, and displays an interface (i.e., a first interface) of the light stream shutter video capture mode, as shown in FIG. 2, where a mark "1" indicates a video preview window, in which a currently captured preview image is displayed, a mark "2" indicates a quantity control, the current quantity control is "unlimited", and a mark "3" indicates a speed control, the current speed control is "50%". After the user clicks the "capture" option, the electronic device captures a light stream shutter video (target video) based on the light trail generation parameters specified by the user. If the quantity control and the speed control are respectively unlimited and 100% (i.e., not set by the user), the captured image is directly displayed in the video preview window without any special processing. If the user sets the light trail generation parameters by at least one of the quantity control and the speed control, the electronic device performs corresponding processing on the captured image and then displays the processed image in the video preview window.
[0037] In an embodiment of the present application, during the shooting of a target video, which is a light trail generation process video, a first interface including a video preview window and at least one first control is displayed, a first input of a user is received on a first target control, which is a control of the at least one first control, and in response to the first input, a light trail generation parameter corresponding to the first target control is adjusted, and an image in the video preview window is updated according to the adjusted light trail generation parameter. In this solution, during the shooting of the light trail generation process video, a user can adjust the light trail generation parameter through a first input on the first target control (a control of the at least one first control for adjusting the light trail generation parameter) and update the image in the video preview window. In this way, during the shooting, a user can change the generation parameter during the light trail generation (i.e., adjust the shooting format) through input, and diversify the shooting format, thereby solving the problem in the related art that the light trail generation parameter is fixed and the shooting format is relatively single.
[0038] Optionally, the first target control is a quantity control of the at least one first control, the light trail generation parameter is the number of light trails to be generated simultaneously, and before the first input, a first image is displayed in the video preview window, and the above step 204 may be specifically realized by the following step 204a.
[0039] Step 204a, the electronic device updates the first image in the video preview window with a second image based on a first input.
[0040] Here, if the electronic device has not received the first input, the electronic device updates the first image in the video preview window to a third image, where N light trails have an increased length in the second image compared to the first image (indicating that the number of light trails generated simultaneously is N), and M light trails have an increased length in the third image compared to the first image (indicating that the number of light trails generated simultaneously is M), where N and M are both positive integers and N and M are different.
[0041] As can be understood, in an embodiment of the present application, if the number of light trails simultaneously generated in a video segment captured within a certain time period before the first input is M, if the first input has not been received, the number of light trails simultaneously generated in the captured video segment is M (e.g., the third image). The first input is an input that triggers the electronics to adjust the number of light trails simultaneously generated in a subsequent captured video segment from M to N by a user's input on the quantity control. In response to the first input, the electronics captures a second image and updates the first image in the video preview window with the second image.
[0042] As can be understood, in an embodiment of the present application, in addition to the N light trails, the second image may further include at least one light trail whose length has stopped increasing, and in addition to the M light trails, the third image may further include at least one light trail whose length has stopped increasing, and the embodiment of the present application is not limited to this.
[0043] Alternatively, in the embodiments of the present application, the N light trails may be completely different from the M light trails, partially the same as, or partially different from the M light trails; if N is smaller than M, the N light trails may be light trails among the M light trails; if N is greater than M, the N light trails may include the M light trails; and may be specifically determined according to actual conditions, and the embodiments of the present application are not limited thereto.
[0044] In an embodiment of the present application, after the first input, the user can specify which of the N light trails in the second image they are by input (for example, an input specifying which specific light trail the light trail is, or an input specifying which area of the field of view the light trail is, etc., not limited to this in the embodiment of the present application).
[0045] In an embodiment of the present application, a user can diversify the shooting format by adjusting the number of light trails that are generated simultaneously in a video segment within a certain time period through a first input.
[0046] Optionally, in an embodiment of the present application, since the shooting scenario does not change during shooting of the target video, the actually captured light trail generation image does not change, and the present application performs processing corresponding to the first input on the actually captured image, obtains an image with changed generation parameters (hereinafter referred to as the processed image), displays the processed image in the video preview window, and obtains the target video based on the processed image.
[0047] Exemplarily, before the above step 204a, the shooting control method according to the embodiment of the present application may further include the following steps 10 to 13.
[0048] Step 10, the electronics acquires Image 1 (Image 1 is the actual captured light trail generated image).
[0049] Step 11: The electronic device performs an image cropping process on image 1 to obtain S light trail images 1, where each light trail image 1 is an image of a light trail (a light trail in image 1) whose length is longer than the corresponding light trail in the image actually captured one frame earlier (a light trail image in the actual scenario), where S is a positive integer greater than or equal to P, and P is a relatively larger value between M and N.
[0050] Step 12: The electronic device performs an image cropping process on the first image to obtain an intermediate image 1, which is an image obtained after N light trail images 2 are cropped from the first image, and each light trail image 2 is an image of a light trail corresponding to one of the N light trails in the first image.
[0051] Step 13: The electronic device performs image synthesis processing on the intermediate image 1 and the N light trail images 3 to obtain a second image.
[0052] Optionally, each light trail image 3 among the N light trail images 3 is a light trail image with the shortest light trail length in the light trail image set corresponding to the light trail 1 and the previously stored light trail 1 among the S light trail images 1 (if there is a previously stored light trail image among the N light trail images 3, delete this stored light trail image from the memory area after step 13), where light trail 1 is one light trail among the N light trails, and different light trail images 3 correspond to different light trails among the N light trails.
[0053] Alternatively, each light trail image 3 among the N light trail images 3 is either a light trail image 1 corresponding to the light trail 1 among the S light trail images 1 or one of the light trail images in the set of light trail images corresponding to a previously stored light trail 1.
[0054] Here, light trail 1 is a light trail out of N light trails that corresponds to each of these light trail images 3. In other words, light trail 1 is one light trail out of N light trails, and a different light trail image 3 corresponds to a different light trail out of the N light trails.
[0055] It should be noted that in the embodiment of the present application, for each light trail whose generation parameters are controlled (stopped), there is one corresponding light trail image set. For light trails whose generation parameters are not controlled, there may be a light trail image set (the light trail image set is empty) or there may be no light trail image set. One light trail image set may be generated at the beginning of shooting the target video, or may be generated when the generation parameters of the corresponding light trail are controlled, and the embodiment of the present application is not limited thereto.
[0056] The light trail image set may or may not be one set (only one separate storage area), and the embodiment of the present application is not limited thereto.
[0057] Optionally, after step 13, the shooting control method according to the embodiment of the present application may further include the following step 14.
[0058] Step 14: The electronic device stores the light trail images 1 out of the S light trail images 1 other than the light trail images 1 that are the same as the light trail images out of the N light trail images 3.
[0059] For example, the shooting scenario for the target video actually includes four light trails, which are light trail a, light trail b, light trail c and light trail d, respectively, that is, if the shooting control method according to the embodiment of the present application is not implemented, the target video is a generation process video of four light trails. In the initial video segment 1 of the target video, four light trails (light trail a, light trail b, light trail c and light trail d) are generated simultaneously, and then a user input 1 (quantity control changes from 4 to 2) is received to reduce the number of light trails generated simultaneously from 4 to 2; in the next video segment 2, two light trails (light trail a and light trail b) are generated simultaneously, and two light trails (light trail c and light trail d) start to stop generating after receiving input 1; among the light trail generation images for each frame actually captured in this process, a light trail image corresponding to light trail c is cut out and stored in light trail image set c for each frame; and a light trail image corresponding to light trail d is cut out and stored in light trail image set d for each frame.After a certain period of time, a user input 2 is received to increase the number of light trails generated simultaneously from two to three (the quantity control changes from two to three), and in the next video segment 3, two light trails (light trail a and light trail b) continue to be generated simultaneously, and one light trail (light trail c) is changed from stopped generation to continued generation, specifically, the shortest light trail image is obtained from light trail image set c for each frame (and then this light trail image is deleted from light trail image set c), and the light trail image corresponding to light trail c in the light trail generated image for each frame actually captured is replaced (this replaced light trail image is saved in light trail image set c) (i.e., the shortest light trail image x for each frame obtained from light trail image set c is replaced with light trail image y corresponding to light trail c in the light trail generated image for each frame actually captured), and one light trail (light trail d) continues to stop being generated, and in this process, the light trail image corresponding to light trail d is cut out from the light trail generated image for each frame actually captured and saved in light trail image set d for each frame. After a little more time has passed, a user input 3 (quantity control changes from 3 to 1) is received to reduce the number of light trails being generated simultaneously from 3 to 1, and in the next video segment 4, one light trail (light trail a) continues to be generated, two light trails (light trail b and light trail c) are changed from being generated to stopped being generated, and one light trail (light trail d) continues to stop being generated, and of the light trail generated images for each frame actually captured in this process, the light trail image corresponding to light trail b is extracted and saved in light trail image set b for each frame, the light trail image corresponding to light trail c is extracted and saved in light trail image set c for each frame, and the light trail image corresponding to light trail d is extracted and saved in light trail image set d for each frame.
[0060] It should be noted that in an embodiment of the present application, if no other input (either an input to the first control, an input to stop target video capture) is received after the first input, the electronic device can obtain a video segment after the first input (in the target video) by cyclically executing steps 10 to 14 above.
[0061] Optionally, in an embodiment of the present application, after performing processing corresponding to the first input on an image (third image) obtained when the first input was not received, an image (processed image, second image) with changed generation parameters is obtained, the processed image is displayed in a video preview window, and a target video can be obtained based on the processed image.
[0062] Exemplarily, before the above step 204a, the shooting control method according to the embodiment of the present application may further include the following steps 204b to 204c.
[0063] In step 204b, the electronics captures a third image.
[0064] Step 204c, the electronics performs target processing on the third image to obtain a second image.
[0065] Here, the target process is the process that corresponds to the first input.
[0066] In the embodiments of the present application, the target processing includes an image cropping process and an image synthesis process, and may further include other image processing methods, and may be specifically determined according to actual usage needs, and the embodiments of the present application are not limited thereto.
[0067] As can be understood, if prior to the first input, the electronic device has not received any other input for any of the first controls, the third image is an actual light trail generated image based on a shooting scenario captured by the electronic device, and if prior to the first input, the electronic device has once received other input for any of the first controls, the third image may be said actual light trail generated image, or may be an image after processing said actual light trail generated image (processing corresponding to said other input).
[0068] It should be noted that in an embodiment of the present application, if no other input (either an input to the first control, an input to stop target video capture) is received after the first input, the electronic device obtains a video segment after the first input (in the target video) by cyclically executing steps 204b to 204c above.
[0069] In an embodiment of the present application, a third image is obtained, and a second image is obtained by performing target processing on the third image, thereby obtaining the light trail generated image required by the user, and further obtaining the light trail generated video desired by the user.
[0070] Alternatively, if N is smaller than M, the M light trails include the N light trails (i.e., controlling the stopping of generation of some of the light trails that were originally generated simultaneously), and the above step 204c may be specifically realized by the following steps 101 to 103.
[0071] Step 101: The electronic device performs an image cropping process on the third image to obtain a first intermediate image.
[0072] Here, the first intermediate image is an image obtained after extracting MN first light trail images from the third image, and each first light trail image is an image of one light trail other than the N light trails out of the M light trails.
[0073] Step 102: The electronic device performs an image cropping process on the first image to obtain MN second light trail images.
[0074] Here, each second light trail image is an image of one of the M light trails other than the N light trails.
[0075] Step 103: the electronic device performs image synthesis processing on the first intermediate image and the MN second light trail images to obtain a second image.
[0076] It should be noted that in the embodiments of the present application, the image extraction process, image synthesis process, etc. can be performed by referring to related image extraction techniques, image synthesis techniques, etc. (hereinafter the same), and will not be described further here.
[0077] Optionally, the above step 101 may be specifically realized by the following step 101a, and after step 101a, the shooting control method according to the embodiment of the present application may further include the following step 104.
[0078] In step 101a, the electronic device performs an image cropping process on the third image to obtain a first intermediate image and MN first light trail images.
[0079] Step 104, the electronics stores the MN first light trail images.
[0080] As can be understood, for the above steps 101 to 104, after the user clicks the "shoot" option and starts shooting the target video, the received user input may be to adjust the quantity control to reduce the number of light trails generated simultaneously (or may be to adjust the quantity control to reduce the number of light trails generated simultaneously after the user adjusts the quantity control multiple times during the shooting of the target video), and the electronic device responds to this input and extracts an image of the reduced (actual) generated light trails (light trails other than N light trails out of M light trails) by image clipping technology (as shown in FIG. 3, the image background and foreground may be clipped by image clipping technology, and light trail 1 and light trail 2 in the foreground may be clipped. As shown in FIG. 4, light trail 2 is clipped and saved), and saved frame by frame for subsequent processing, and the reduced (actual) generated light trails are stopped from being generated in the video preview window.
[0081] As can be understood, when the user reduces the number of simultaneously generated light trails, if the number of light trails actually generated at this time is greater than the number of simultaneously generated light trails set by the user, the image displayed in the video preview window will only include the simultaneously generated light trails set by the user. Then, the image of the excess light trails can be first cut out and saved, and if the user subsequently sets to continue generating some or all of the excess light trails, the electronic device can retrieve the light trail images corresponding to the previously saved some or all of the light trails from the storage area, and then composite them into the preview image and display them in the video preview window to represent the generation process of the some or all of the light trails.
[0082] Alternatively, if N is greater than M, the N light trails include the M light trails (i.e., if the original M light trails continue to be generated, some light trails whose generation was previously stopped are added and generation is resumed), and the above step 204c may be specifically realized by the following steps 105 to 106.
[0083] In step 105, the electronics acquires NM third light trail images.
[0084] Here, each of the third light trail images is a light trail image with the shortest light trail length in a light trail image set corresponding to a single first target light trail stored before the first input, and the single first target light trail is one of the NM light trails other than the M light trails among the N light trails.
[0085] As can be seen, different third light trail images correspond to different first target light trails.
[0086] In the embodiment of the present application, the description of the light trail image set can be referred to the related description of the light trail image set in step 13 above, and will not be further described here.
[0087] Step 106, the electronic device performs image synthesis processing on the third image and the NM third light trail images to obtain the second image.
[0088] Optionally, the third image can be displayed on the light tray of this M Le In addition, other light trails may be included, if they are not required. Le In addition, the light trail of this NM book is not included (the third image does not include the light trail of this NM book), and the third image does not include the light tray of this M book Le In addition, the light trail of this NM book is included (the third image contains the light trail of this NM book), and the third image contains the light tray of this M book Le In addition, it may be understood that some of the NM light trails are included (some of the NM light trails are included in the third image). For light trails that are not in the third image among the NM light trails, the synthesis process in step 106 may be to insert the third light trail image corresponding to the light trail that is not in the third image into the corresponding position in the third image, and for light trails that are in the third image among the NM light trails, the synthesis process in step 106 may be to insert the third light trail image corresponding to the light trail that is not in the third image into the corresponding position in the third image. be It may be possible to replace the light trail image at the corresponding position in the third image with this third light trail image corresponding to the light trail.
[0089] Optionally, if the third image includes the NM light trails, the above step 106 may be specifically realized by the following steps 106a to 106b.
[0090] Step 106a: the electronic device performs an image cropping process on the third image to obtain a second intermediate image.
[0091] Here, the second intermediate image is an image obtained after NM fifth light trail images are cut out from the third image, and each fifth light trail image is an image of one light trail other than the M light trails out of the N light trails.
[0092] As can be seen, one fifth light trail image corresponds to one third light trail image, and a different fifth light trail image corresponds to a different third light trail image, and the length of the light trail in each light trail image in the set of light trail images is greater than the length of the light trail in the corresponding fifth light trail image, because the fifth light trail image is an image of a light trail in the third images that has not been lengthened, but the light trail images stored in the set of light trail images are light trail images that have been lengthened in actuality but are not displayed in the video preview window.
[0093] In step 106b, the electronic device performs image synthesis processing on the second intermediate image and the NM third light trail images to obtain a second image.
[0094] It can be understood that the above steps 105 to 106 are for the user to reduce the number of simultaneously generated light trails, and then further increase the number of simultaneously generated light trails after the number of cached light trail images reaches a certain number (restore the generation of some or all of the light trails whose generation was originally controlled to stop). At this time, because there are cached light trails, after increasing the number of simultaneously generated light trails, the real-time generated images of some or all of the light trails can be cut out and saved, and then the corresponding previously saved light trail images can be extracted, synthesized into the preview image, and displayed in the video preview window, that is, a large number of previously cached light trail images are displayed in the video preview window.
[0095] Optionally, the first interface further includes at least one second control, each of which is used to determine a distribution mode of the NM third light trail images, and before the above step 105, the shooting control method according to the embodiment of the present application may further include the following steps 107 to 108, and the above step 105 may be specifically realized by the following step 105a.
[0096] In step 107, the electronic device receives a second user input on a second target control.
[0097] Here, the second target control is a control of the at least one second control.
[0098] Optionally, the at least one second control includes at least one of a single point diffusion distribution control, a multipoint diffusion distribution control, a uniform distribution control, and a random distribution control.
[0099] Illustratively, the at least one second control includes a single-point diffusion distribution control, a multi-point diffusion distribution control, a uniform distribution control, and a random distribution control, which correspond to "single-point diffusion", "multi-point diffusion", "uniform", and "random", respectively, as indicated by mark "4" in FIG. 2.
[0100] As can be understood, in the embodiment of the present application, as shown in (a) of FIG. 5, the single-point diffusion distribution control is used to control the light trails whose generation has been restored to be distributed around one center point (i.e., the light trails close to the center point are preferentially selected to restore the generation, and then the light trails away from the center point are selected to restore the generation). As shown in (b) of FIG. 5, the multi-point diffusion distribution control is used to control the light trails whose generation has been restored to be distributed around multiple center points (i.e., the light trails whose generation has been restored are preferentially selected to restore the generation, and then the light trails whose generation has been restored are selected to restore the generation). As shown in (a) of FIG. 6, the uniform distribution control is used to control the light trails whose generation has been restored to be distributed uniformly in the image, rather than being concentrated at one or more points. As shown in (b) of FIG. 6, the random distribution control is used to control the light trails whose generation has been restored to be distributed randomly in the image, and does not limit the distribution form.
[0101] Step 108, in response to the second input, the electronics determines the distribution mode of the NM third light trail images as the target mode.
[0102] Step 105a: In response to a second input, the electronic device obtains NM fourth light trail images whose distribution mode is the target mode from the K fourth light trail images as the NM third light trail images.
[0103] Here, each fourth light trail image is a light trail image with the shortest light trail length in the light trail image set corresponding to one second target light trail stored before the first input, the one second target light trail is a light trail other than the M light trails, and K is a positive integer greater than NM.
[0104] As can be seen, the different fourth light trail images correspond to different second target light trails.
[0105] Exemplarily, when a user selects the "single point spread" option as shown in Fig. 4, in response to a user input, the electronics controls the restored light trails to be distributed in a spread outward manner around a center point specified by the user as shown in Fig. 7. If the user does not select any one of the second controls, the electronics can be controlled to distribute the light trails in order according to their original order (priority of appearance time of the light trails).
[0106] In the embodiment of the present application, at least one second control is added, and the user can select the corresponding second control according to his / her own needs, so that the generated restored light trail can be distributed according to the user's needs to increase the shooting format.
[0107] Optionally, the first target control is a speed control of the at least one first control, the light trail generation parameter is a generation speed of the light trail, and the speed control is used to adjust the generation speed of the light trail in the generation state, and the above step 204 may be specifically realized by the following step 204d.
[0108] Step 204d, the electronics updates the image in the video preview window at a first frame rate within a first time period.
[0109] Here, the start time of the first time period is the time when a first input is received, and the end time of the first time period is the time when a target input is received, the target input being either an input to a control of the at least one first control or an input to stop filming of the target video.
[0110] A first frame rate is determined based on a first input, and if the first input is not received, the image in the video preview window is updated at a second frame rate different from the first frame rate.
[0111] As can be seen, in the embodiment of the present application, the user can change the generation speed of the light trail by adjusting the frame rate of the video through the first input to the speed control. If the frame rate is reduced, the generation speed of the light trail is reduced, and if the frame rate is increased, the generation speed of the light trail is increased. In this way, the shooting format can be increased.
[0112] Optionally, if the first frame rate is smaller than the second frame rate (ie, reducing the frame rate), after the above step 204d, the shooting control method according to the embodiment of the present application may further include the following step 205:
[0113] In step 205, the electronic device stores the first target image.
[0114] The first target image is the image that has not updated in the video preview window within a first time period.
[0115] As can be understood, in the embodiment of the present application, when the frame rate is reduced, some of the generated video segments (i.e., the first target image, in the embodiment of the present application, the number of images in the first target image is not limited) cannot be displayed in the video preview window, and the electronic device can first store the first target image and use it when increasing the frame rate later.
[0116] In the embodiment of the present application, reducing the frame rate is to slow down the generation speed of the light trail. Specifically, as shown in Fig. 8, the electronic device can store the obtained preview image and then display it in the video preview window at a speed of F*(X%) frames / sec, where X% is the value of the speed control set by the user, and F frames / sec is the frame rate before the first input.
[0117] Optionally, when the first frame rate is greater than the second frame rate (i.e., increasing the frame rate), before the above step 204d, the shooting control method according to an embodiment of the present application may further include the following step 206, and the above step 204d may be specifically realized by the following step 204d1.
[0118] Step 206, the electronic device obtains a second target image, which is the image that was stored before the first input and that was not updated in the video preview window.
[0119] Step 204d1, the electronic device updates the image in the video preview window at a first frame rate based on the second target image and the third target image within a first time period.
[0120] Here, the third target image is an image generated within the first time period.
[0121] In the embodiment of the present application, on the premise that the user has previously slowed down the generation speed of the light trail by inputting a rate reduction, this step can increase the generation speed of the light trail by a method of increasing the frame rate, and thus the generation speed of the light trail can be higher than the actual generation speed (higher than F frames / second). Specifically, (as shown in FIG. 9), the electronic device saves the currently generated image frame by frame, and then redisplays the previously cached image frame by frame in the video preview window at a speed of F*(Y%) frames / second, where Y% is the value of the speed control set by the user.
[0122] Optionally, the user may further end the shooting and generate the target video by clicking a "stop shooting" button. Specifically, the user may manually stop the video recording, and the electronic device will locally store the recorded video for the user to view.
[0123] In an embodiment of the present application, while capturing video of the light trail generation process, in the light stream shutter video mode of the electronic camera, the user can slow down or speed up the generation of the light trail by adjusting the speed of the light trail generation via input to the speed control.
[0124] It should be noted that in the shooting control method according to the embodiment of the present application, the execution body may be a shooting control device, or a functional module and / or a functional entity for executing the shooting control method in the shooting control device. In the embodiment of the present application, the shooting control device according to the embodiment of the present application is described by taking the execution of the shooting control method by the shooting control device as an example.
[0125] Fig. 10 shows a possible structural schematic diagram of a shooting control device according to an embodiment of the present application. As shown in Fig. 10, the shooting control device 300 may include a display module 301, a receiving module 302, an adjusting module 303, and an updating module 304, the display module 301 is used to display a first interface including a video preview window and at least one first control during shooting of a target video which is a light trail generation process video, the receiving module 302 is used to receive a first input of a user for a first target control which is a control of the at least one first control, the adjusting module 303 is used to adjust a light trail generation parameter corresponding to the first target control in response to the first input received by the receiving module, and the updating module 304 is used to update an image in the video preview window according to the adjusted light trail generation parameter.
[0126] Optionally, the first target control is a quantity control of the at least one first control, and the light trail generation parameter is the number of light trails to be generated simultaneously, and before the first input, a first image is displayed in the video preview window, and the update module 304 is specifically used to update the first image in the video preview window to a second image, where if the first input is not received, the update module 304 is used to update the first image in the video preview window to a third image, and there are N light trails whose length has increased in the second image compared to the first image, and there are M light trails whose length has increased in the third image compared to the first image, where N and M are both positive integers, and N and M are different.
[0127] Optionally, the shooting control device 300 further includes an acquisition module 305 and an image processing module 306, where the acquisition module 305 is used to acquire a third image before the update module 304 updates the first image in the video preview window with a second image, and the image processing module 306 is used to perform target processing on the third image to obtain the second image.
[0128] Optionally, when N is smaller than M, the M light trails include the N light trails, and the image processing module 306 is specifically used to perform an image cut-out process on the third image to obtain a first intermediate image, the first intermediate image being an image obtained after cutting out MN first light trail images from the third image, each first light trail image being an image of one light trail other than the N light trails among the M light trails, perform an image cut-out process on the first image to obtain MN second light trail images, each second light trail image being an image of one light trail other than the N light trails among the M light trails, and perform an image synthesis process on the first intermediate image and the MN second light trail images to obtain a second image.
[0129] Optionally, the shooting control device 300 further includes a storage module 307, and the image processing module 306 is specifically used for performing image cropping processing on the third image to obtain a first intermediate image and MN first light trail images, and the storage module 307 is used for storing the MN first light trail images.
[0130] Optionally, when N is greater than M, the N light trails include the M light trails, and the image processing module 306 is used to obtain NM third light trail images and perform image synthesis processing on the third image and the NM third light trail images to obtain a second image, where each third light trail image is a light trail image with the shortest light trail length in the light trail image set corresponding to one first target light trail stored before the first input, and the one first target light trail is one of the NM light trails other than the M light trails among the N light trails.
[0131] Optionally, the shooting control device 300 device further includes a determination module 308, where the first interface further includes at least one second control, and the receiving module 302 is further used to receive a second input from a user for a second target control, which is a control of the at least one second control, before acquiring the NM third light trail images, and the determination module 308 is used to determine the distribution mode of the NM third light trail images as a target mode in response to the second input received by the receiving module, and the acquisition module 305 is specifically used to acquire NM fourth light trail images whose distribution mode is the target mode from the K fourth light trail images as the NM third light trail images, where each fourth light trail image is a light trail image with the shortest light trail length in the light trail image set corresponding to a second target light trail stored before the first input, and the second target light trail is a light trail other than the M light trails, and K is a positive integer greater than NM.
[0132] Optionally, the at least one second control includes at least one of a single point diffusion distribution control, a multipoint diffusion distribution control, a uniform distribution control, and a random distribution control.
[0133] Optionally, the first target control is a speed control of the at least one first control, the light trail generation parameter is a generation speed of a light trail, and the update module 304 is specifically used for updating the image in the video preview window at a first frame rate within a first time period, the start time of the first time period being the time when a first input is received, and the end time of the first time period being the time when a target input is received, the target input being any one of an input to a control of the at least one first control and an input to stop filming the target video, and if the first input is not received, updating the image in the video preview window at a second frame rate different from the first frame rate.
[0134] Optionally, the shooting control device 300 further includes a storage module 307, which is used to store a first target image, which is an image that has not been updated in the video preview window during the first time period, after updating the image in the video preview window at the first frame rate during the first time period when the first frame rate is smaller than the second frame rate.
[0135] Optionally, the shooting control device 300 further includes an acquisition module 305, which is used to acquire a second target image, which is an image that was stored and not updated in the video preview window before the first input, before updating the image in the video preview window at the first frame rate within the first time period when the first frame rate is greater than the second frame rate, and the update module 304 is specifically used to update the image in the video preview window at the first frame rate based on the second target image and a third target image within the first time period, where the third target image is an image generated within the first time period.
[0136] It should be noted that, as shown in FIG. 10, modules that must be included in this shooting control device 300, such as the display module 301, the receiving module 302, the adjustment module 303 and the update module 304, are shown in solid frame, while modules that may or may not be included in this shooting control device 300, such as the acquisition module 305, the image processing module 306, the storage module 307 and the decision module 308, are shown in dotted frame.
[0137] An embodiment of the present application provides a shooting control device, which displays a first interface including a video preview window and at least one first control during shooting of a target video, which is a light trail generation process video, receives a first input from a user on a first target control, which is a control of the at least one first control, adjusts a light trail generation parameter corresponding to the first target control in response to the first input, and updates an image in the video preview window according to the adjusted light trail generation parameter. In this solution, during shooting of the light trail generation process video, a user can adjust the light trail generation parameter through a first input on the first target control (a control of the at least one first control for adjusting the light trail generation parameter) and update an image in the video preview window. In this way, during shooting, a user can change the generation parameter during light trail generation (i.e., adjust the shooting format) through input, and diversify the shooting format, thereby solving the problem in the related art that the light trail generation parameter is fixed and the shooting format is relatively single.
[0138] The photographing control device in the embodiment of the present application may be a device, an electronic device, or a component, an integrated circuit, or a chip in an electronic device. The electronic device may be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), and the non-mobile electronic device may be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a deposit machine, or a self-service machine, and the embodiment of the present application is not specifically limited.
[0139] The photographing control device in the embodiment of the present application may be a device having an operating system, which may be an Android operating system, an iOS operating system, or other possible operating systems, and the embodiment of the present application is not specifically limited.
[0140] The imaging control device according to the embodiment of the present application can realize each process realized by the embodiment of the method of Figures 1 to 9, and can achieve the same technical effects. In order to avoid repetition, it will not be described further here.
[0141] Optionally, as shown in Fig. 11, the embodiment of the present application further provides an electronic device 400, including a processor 401, a memory 402, and a program or instruction stored in the memory 402 and operable on the processor 401, which, when executed by the processor 401, can realize each process of the embodiment of the above-mentioned shooting control method and achieve the same technical effect. In order to avoid repetition, no further description will be given here.
[0142] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices described above.
[0143] 12 is a schematic diagram of the hardware structure of an electronic device for implementing an embodiment of the present application. The electronic device 500 includes, but is not limited to, components such as a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, and a processor 510.
[0144] As can be understood by those skilled in the art, the electronic device 500 may further include a power source (e.g., a battery) for powering each component, and the power source may be logically connected to the processor 510 by a power management system, so that the power management system can realize functions such as charge / discharge management and power consumption management. The electronic device structure shown in FIG. 12 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than the number of components shown, or a combination of some components, or a different arrangement of components, which will not be further described here.
[0145] Here, the display unit 506 is used for displaying a first interface including a video preview window and at least one first control during shooting of a target video which is a light trail generation process video, the user input unit 507 is used for receiving a user's first input for a first target control which is a control of the at least one first control, and the processor 510 is used for adjusting light trail generation parameters corresponding to the first target control in response to the first input and updating an image in the video preview window based on the adjusted light trail generation parameters.
[0146] Optionally, the first target control is a quantity control of the at least one first control, the light trail generation parameter is the number of light trails to be generated simultaneously, before the first input, a first image is displayed in the video preview window, and processor 510 is specifically used to update the first image in the video preview window to a second image, where if the first input has not been received, processor 510 is specifically used to update the first image in the video preview window to a third image, where there are N light trails whose length has increased in the second image compared to the first image, and there are M light trails whose length has increased in the third image compared to the first image, where N and M are both positive integers, and N and M are different.
[0147] Optionally, the processor 510 is further used to obtain a third image and perform target processing on the third image to obtain the second image before updating the first image in the video preview window with the second image.
[0148] Alternatively, when N is smaller than M, the M light trails include N light trails, and processor 510 specifically performs an image cut-out process on the third image to obtain a first intermediate image, the first intermediate image being an image obtained after cutting out MN first light trail images from the third image, each first light trail image being an image of one light trail other than the N light trails among the M light trails; performs an image cut-out process on the first image to obtain MN second light trail images, each second light trail image being an image of one light trail other than the N light trails among the M light trails; and performs an image synthesis process on the first intermediate image and the MN second light trail images to obtain a second image.
[0149] Optionally, the processor 510 is specifically used to perform an image cropping process on the third image to obtain a first intermediate image and MN first light trail images, and further used to store the MN first light trail images.
[0150] Alternatively, when N is greater than M, the N light trails include M light trails, and the processor 510 is specifically used to acquire NM third light trail images and perform image synthesis processing on the third image and the NM third light trail images to obtain a second image, where each third light trail image is a light trail image with the shortest light trail length in the light trail image set corresponding to one first target light trail stored before the first input, and the one first target light trail is one of the NM light trails other than the M light trails among the N light trails.
[0151] Optionally, the first interface further includes at least one second control, and the user input unit 507 is further used for receiving a second input from the user on a second target control, which is a control of the at least one second control, before acquiring the NM third light trail images, and the processor 510 is further used for determining a distribution mode of the NM third light trail images as a target mode in response to the second input, and the processor 510 is specifically used for acquiring NM fourth light trail images as NM third light trail images, the distribution mode of which is the target mode from the K fourth light trail images, where each fourth light trail image is a light trail image with the shortest light trail length in the light trail image set corresponding to a second target light trail stored before the first input, and the second target light trail is a light trail other than the M light trails, and K is a positive integer greater than NM.
[0152] Optionally, the at least one second control includes at least one of a single point diffusion distribution control, a multi-point diffusion distribution control, a uniform distribution control, and a random distribution control.
[0153] Optionally, the first target control is a speed control of the at least one first control, the light trail generation parameter is a generation speed of the light trail, and the processor 510 is specifically used to update the image in the video preview window at a first frame rate within a first time period, the start time of the first time period being the time when a first input is received, and the end time of the first time period being the time when a target input is received, the target input being one of an input to a control of the at least one first control and an input to stop shooting the target video, and if the first input is not received, to update the image in the video preview window at a second frame rate different from the first frame rate.
[0154] Optionally, the processor 510 is further configured to store a first target image, which is an image that was not updated in the video preview window within the first time period, after updating the image in the video preview window at the first frame rate within the first time period when the first frame rate is smaller than the second frame rate.
[0155] Optionally, when the first frame rate is greater than the second frame rate, the processor 510 is further used to obtain a second target image, which is an image that was stored and not updated in the video preview window before the first input, before updating the image in the video preview window at the first frame rate within the first time period, and further, specifically, to update the image in the video preview window at the first frame rate based on the second target image and a third target image within the first time period, where the third target image is an image generated within the first time period.
[0156] The electronic device according to the embodiment of the present application can display a first interface including a video preview window and at least one first control during shooting of a target video, which is a light trail generation process video, receive a first input from a user on a first target control, which is a control of the at least one first control, adjust a light trail generation parameter corresponding to the first target control in response to the first input, and update an image in the video preview window according to the adjusted light trail generation parameter. In this solution, during shooting of the light trail generation process video, a user can adjust the light trail generation parameter through a first input on the first target control (a control of the at least one first control for adjusting the light trail generation parameter) and update an image in the video preview window. In this way, during shooting, a user can change the generation parameter during the light trail generation (i.e., adjust the shooting format) through an input, and diversify the shooting format, thereby solving the problem in the related art that the light trail generation parameter is fixed and the shooting format is relatively single.
[0157] It should be understood that in the embodiment of the present application, the radio frequency unit 501 may be used for transmitting and receiving information or transmitting and receiving signals during a call. Specifically, it receives downlink data from a base station, and then processes the data in the processor 510, and transmits uplink data to the base station. The radio frequency unit 501 may also communicate with other devices through a wireless communication system or network. The electronic device provides wireless broadband Internet access for a user through the network module 502, for example, to help the user send and receive e-mail, browse web pages, and access streaming media. The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output it as a voice. The audio output unit 503 may also provide audio output (e.g., a call signal tone, a message tone, etc.) related to a specific function performed by the electronic device 500. The input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, and the graphics processor 5041 processes image data of still or video images obtained by an image capture device (e.g., a camera) in a video capture mode or an image capture mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be arranged in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes a touch panel 5071 and other input devices 5072. The touch panel 5071 is also called a touch screen. The touch panel 5071 may include two parts: a touch detection device and a touch controller. The other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control buttons, switch buttons, etc.), a trackball, a mouse, and a control lever, which will not be described further herein.The memory 509 may be used to store software programs and various data, including but not limited to application programs and an operating system. The processor 510 may integrate an application processor and a modem processor, where the application processor is mainly for processing the operating system, the user interface, and the application programs, etc., and the modem processor is mainly for processing wireless communication. As can be understood, the modem processor may not be integrated into the processor 510.
[0158] The embodiments of the present application further provide a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, each process of the embodiment of the above-mentioned shooting control method can be realized and the same technical effect can be achieved. In order to avoid repetition, no further description will be given here.
[0159] Here, the processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0160] The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor runs a program or instruction, and is used to realize each process of the embodiment of the above-mentioned shooting control method, and can achieve the same technical effect. In order to avoid repetition, no further description will be given here.
[0161] It should be understood that the chips referred to in the embodiments of the present application may be referred to as system level chips, system chips, chip systems, or systems on chips.
[0162] It should be explained that in this specification, the terms "comprise", "include", or any other variants thereof are intended to cover the non-exclusive "comprise", whereby a process, method, article, or apparatus that includes a set of elements includes not only those elements, but also other elements not expressly listed or inherent to such process, method, article, or apparatus. In the absence of further limitations, an element limited by the phrase "comprises a" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes this element. It should be pointed out that the scope of the method and apparatus in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may include performing functions in an essentially simultaneous manner or in reverse order based on the functions involved, for example, the described method can be performed in a different order than described, and various steps can be added, omitted, or combined. Also, features described with reference to some examples can be combined in other examples.
[0163] From the above description of the embodiments, it is clear to those skilled in the art that the methods of the above embodiments can be realized in the form of software and a necessary general-purpose hardware platform. Of course, they can also be realized in hardware, but in many cases the former is a more preferred embodiment. Based on this understanding, the technical solution of the present application may be substantially or in part embodied in the form of a software product. The computer software product is stored in a storage medium (e.g., ROM / RAM, magnetic disk, optical disk) and includes some instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0164] The above describes the embodiments of the present application in conjunction with the drawings, but the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not limiting. Those skilled in the art can take the suggestions of this application and make many forms without departing from the spirit and scope of the claims of this application, all of which belong to the protection scope of this application.
[0165] (CROSS REFERENCE TO RELATED APPLICATIONS) This application claims priority to China Patent Application No. 202110121815.5, filed in China on January 28, 2021, the entire contents of which are incorporated herein by reference.
Claims
1. A shooting control method, comprising: During capture of a target video, the light trail generation process video, displaying a first interface including a video preview window and at least one first control; receiving a first input for a first target control, the first target control being one of the at least one first control; adjusting a light trail generation parameter corresponding to the first target control in response to the first input, and updating an image in the video preview window based on the adjusted light trail generation parameter; the first target control is a quantity control of the at least one first control, the light trail generation parameter is a number of light trails to be generated simultaneously, and prior to the first input, the video preview window displays a first image; updating an image in the video preview window based on the adjusted light trail generation parameters; updating the first image in the video preview window with a second image; where if the first input has not been received, updating the first image in the video preview window to a third image; There are N light trails whose length is increased in the second image compared to the first image, and there are M light trails whose length is increased in the third image compared to the first image, where N and M are both positive integers and N and M are different. Shooting control method.
2. Before updating the first image in the video preview window with a second image, the shooting control method includes: The shooting control method according to claim 1 , further comprising: acquiring the third image; and performing target processing on the third image to obtain the second image.
3. When N is smaller than M, the M light trails include the N light trails, and performing target processing on the third image to obtain the second image includes: performing an image cropping process on the third image to obtain a first intermediate image, the first intermediate image being an image obtained after M-N first light trail images are cropped from the third image, each of the first light trail images being an image of one light trail other than the N light trails among the M light trails; performing an image cropping process on the first image to obtain M-N second light trail images, each of the second light trail images being an image of one light trail other than the N light trails among the M light trails; The shooting control method according to claim 2 , further comprising: performing image synthesis processing on the first intermediate image and the M−N second light trail images to obtain the second image.
4. When N is greater than M, the N light trails include the M light trails, and performing target processing on the third image to obtain the second image includes: acquiring N−M third light trail images; performing an image synthesis process on the third image and the N-M third light trail images to obtain the second image; Here, each of the third light trail images is a light trail image with the shortest light trail length in a light trail image set corresponding to a single first target light trail stored before the first input, and the single first target light trail is one of the N-M light trails other than the M light trails among the N light trails. This is the shooting control method described in claim 2.
5. The first interface further includes at least one second control, and before acquiring the N-M third light trail images, the shooting control method includes: receiving a second input from a user for a second target control, the second target control being a control of the at least one second control; determining a distribution mode of the N-M third light trail images as a target mode in response to the second input; The acquiring of the N−M third light trail images includes: obtaining N-M fourth light trail images having a distribution mode of a target mode from the K fourth light trail images as the N-M third light trail images; Here, each of the fourth light trail images is a light trail image with the shortest light trail length in a light trail image set corresponding to a single second target light trail stored before the first input, the single second target light trail is a light trail other than the M light trails, and K is a positive integer greater than N-M.
6. The at least one second control includes: The imaging control method according to claim 5 , further comprising at least one of a single-point diffusion distribution control, a multi-point diffusion distribution control, a uniform distribution control, and a random distribution control.
7. the first target control is a speed control of the at least one first control, and the light trail generation parameter is a generation speed of a light trail; updating an image in the video preview window based on the adjusted light trail generation parameters; updating an image in the video preview window at a first frame rate within a first time period; a start time of the first time period is a time when the first input is received, and an end time of the first time period is a time when a target input is received, the target input being one of an input to a control of the at least one first control and an input to stop filming the target video; The method of claim 1 , further comprising updating the image in the video preview window at a second frame rate different from the first frame rate if the first input has not been received.
8. If the first frame rate is smaller than the second frame rate, after updating the image in the video preview window at the first frame rate within the first time period, the shooting control method includes: The shooting control method according to claim 7 , further comprising: saving a first target image, which is an image that has not been updated in the video preview window within the first time period.
9. If the first frame rate is greater than the second frame rate, before updating the image in the video preview window at the first frame rate within the first time period, the shooting control method includes: obtaining a second target image, the second target image being an image that was saved and not updated in the video preview window prior to the first input; said updating an image in said video preview window at a first frame rate within said first time period comprises: within the first time period, based on the second target image and the third target image; updating an image in the video preview window at a first frame rate; The photographing control method according to claim 7 , wherein the third target image is an image generated within the first time period.
10. An imaging control device including a display module, a receiving module, an adjustment module, and an update module, The display module is used to display a first interface, including a video preview window and at least one first control, during shooting of a target video, which is a light trail generation process video; the receiving module is adapted to receive a first input for a first target control, the first target control being one of the at least one first control; the adjustment module is adapted to adjust a light trail generation parameter corresponding to the first target control in response to the first input received by the receiving module; the update module is used for updating an image in the video preview window according to the adjusted light trail generating parameters; the first target control is a quantity control of the at least one first control, the light trail generation parameter is a number of light trails to be generated simultaneously, and prior to the first input, the video preview window displays a first image; The update module is specifically used for updating the first image in the video preview window to a second image; Wherein, if the first input has not been received, the update module is used to update the first image in the video preview window to a third image; There are N light trails whose length is increased in the second image compared to the first image, and there are M light trails whose length is increased in the third image compared to the first image, where N and M are both positive integers and N and M are different. Shooting control device.
11. The imaging control device further includes an acquisition module and an image processing module; the acquisition module is used to acquire the third image before the update module updates the first image in the video preview window with a second image; The imaging control device according to claim 10 , wherein the image processing module is used to perform target processing on the third image to obtain the second image.
12. 12. The imaging control device of claim 11, wherein when N is smaller than M, the M light trails include the N light trails, and the image processing module is specifically used to perform an image cut-out process on the third image to obtain a first intermediate image, the first intermediate image being an image obtained after M-N first light trail images are cut out from the third image, each of the first light trail images being an image of a light trail other than the N light trails among the M light trails, perform an image cut-out process on the first image to obtain M-N second light trail images, each of the second light trail images being an image of a light trail other than the N light trails among the M light trails, and perform an image synthesis process on the first intermediate image and the M-N second light trail images to obtain the second image.
13. 12. The imaging control device of claim 11, wherein when N is greater than M, the N light trails include the M light trails, and the image processing module acquires N-M third light trail images and performs image synthesis processing on the third image and the N-M third light trail images to obtain the second image, wherein each of the third light trail images is a light trail image with the shortest light trail length in a light trail image set corresponding to a single first target light trail stored before the first input, and the single first target light trail is one of the N-M light trails other than the M light trails among the N light trails.
14. the first target control is a speed control of the at least one first control, and the light trail generation parameter is a generation speed of a light trail; The update module specifically updates an image in the video preview window at a first frame rate within a first time period, a start time of the first time period is a time when the first input is received, and an end time of the first time period is a time when a target input is received, the target input being one of an input to a control of the at least one first control and an input to stop filming the target video; The imaging control device according to claim 10 , further comprising: when the first input has not been received, updating the image in the video preview window at a second frame rate different from the first frame rate.
15. The imaging control device further includes a storage module; The shooting control device of claim 14, wherein the storage module is used to store a first target image, which is an image that has not been updated in the video preview window during the first time period, after updating the image in the video preview window at a first frame rate during the first time period, when the first frame rate is smaller than the second frame rate.
16. The imaging control device further includes an acquisition module; the acquisition module is used to acquire a second target image, which is an image that was not updated in the video preview window and was stored before the first input, before updating the image in the video preview window at the first frame rate within the first time period when the first frame rate is greater than the second frame rate; The update module is specifically used for updating an image in the video preview window at a first frame rate according to the second target image and a third target image within the first time period; The imaging control device according to claim 14 , wherein the third target image is an image generated within the first time period.
17. An electronic device comprising a processor, a memory, and a program or instructions stored in the memory and operable on the processor, the electronic device realizing the steps of the shooting control method according to any one of claims 1 to 9 when the program or instructions are executed by the processor.
Citation Information
Patent Citations
Time-lapse photography method and device
CN109688331A
Shooting method and equipment
CN110035141A
Star orbit video shooting method, star orbit video shooting device and storage medium
CN110995993A
Image generating method
JP2012085254A
Image processing system and control method of the same
JP2015165642A