WO2016008356A1 - Method for shooting star track, method for shooting object movement track and mobile terminal - Google Patents
Method for shooting star track, method for shooting object movement track and mobile terminal Download PDFInfo
- Publication number
- WO2016008356A1 WO2016008356A1 PCT/CN2015/082405 CN2015082405W WO2016008356A1 WO 2016008356 A1 WO2016008356 A1 WO 2016008356A1 CN 2015082405 W CN2015082405 W CN 2015082405W WO 2016008356 A1 WO2016008356 A1 WO 2016008356A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- composite image
- shooting
- star
- track
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
Definitions
- the invention relates to the field of camera technology, in particular to a method for shooting a star track, a method for shooting an object motion track, a mobile terminal and a storage medium.
- the current mobile terminal has a shooting function that relies on the relevant processing algorithms provided by the camera hardware device and the chip supplier, and only several fixed shooting modes such as focus and white balance.
- Star-track shooting can capture the running track of the stars, which is a favorite way for astronomy enthusiasts to shoot.
- the exposure time usually takes 20 to 60 minutes, which requires a professional camera such as a SLR camera, because it is equipped with a photosensitive hardware that can support long-term continuous exposure.
- the current shooting of the star track can only be operated when the mobile terminal is bright, which makes the power consumption high, such as the interruption of the image during the shooting process, the synthesis of the star track image cannot be completed, thereby affecting the user experience.
- an embodiment of the present invention provides a method for shooting a star track, a method for capturing an object motion trajectory, a mobile terminal, and a storage medium, which can reduce power consumption during shooting and improve user experience.
- an embodiment of the present invention provides a method for star-track shooting, and the method for shooting a star-track includes the following steps:
- the control display screen is in a black screen state, the star track image is collected within a preset time, and a composite image is generated according to the star track image;
- the display screen is controlled to be in a bright screen state, and the generated composite image is displayed.
- the display screen is controlled to be in a black screen state, and the star track image is collected within a preset time, and the step of generating a composite image according to the star track image includes:
- control display screen is in a black screen state, and the star track image is continuously collected by the camera during the preset time;
- the method for shooting the star track before the step of controlling the display screen to be a bright screen state and displaying the generated composite image when the preset time is reached, the method for shooting the star track further includes the steps of:
- the generated current composite image is displayed to the user.
- the display screen is controlled to be in a black screen state, and the star track image is collected within a preset time, and the step of generating a composite image according to the star track image includes:
- control display screen is in a black screen state, and the star track image is continuously collected by the camera during the preset time;
- All the acquired star-track images are stored, and after the shooting is completed, a composite image is generated based on the stored star-track images.
- the method for shooting the star track before the step of controlling the display screen to be a bright screen state and displaying the generated composite image when the preset time is reached, the method for shooting the star track further includes the steps of:
- the user Upon receiving an instruction from the user to illuminate the display screen, the user is prompted for a wait message to wait for a composite image to be generated.
- the embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes:
- the acquisition and synthesis module is configured to control the display screen to be in a black screen state after the start of shooting, collect a star track image within a preset time, and generate a composite image according to the star track image;
- the first display module is configured to control the display screen to be in a bright screen state when the preset time is reached, and display the generated composite image.
- the collecting and synthesizing module is configured to:
- control display screen is in a black screen state, and the star track image is continuously collected by the camera during the preset time;
- the mobile terminal further includes:
- the second display module is configured to display the generated current composite image to the user when receiving an instruction from the user to illuminate the display screen.
- the collecting and synthesizing module is further configured to:
- control display screen is in a black screen state, and the star track image is continuously collected by the camera during the preset time;
- All the acquired star-track images are stored, and after the shooting is completed, a composite image is generated based on the stored star-track images.
- the mobile terminal further includes:
- the third display module is configured to, when receiving an instruction from the user to illuminate the display screen, prompt the user for the waiting information to wait for the generated composite image.
- an embodiment of the present invention further provides a method for photographing an object motion trajectory, where the method for photographing an object motion trajectory includes the following steps:
- the control display screen is in a black screen state, the moving image of the object is collected within a preset time, and the composite image is generated according to the moving image of the object;
- the display screen is controlled to be in a bright screen state, and the generated composite image is displayed.
- the display screen is controlled to be in a black screen state, and the moving image of the object is collected within the preset time, and the step of generating the composite image according to the moving image of the object includes:
- control display screen is in a black screen state, and the moving image of the object is continuously collected by the camera during the preset time;
- the method for photographing the motion track of the object before the step of controlling the display screen to be in a bright screen state and displaying the generated composite image when the preset time is reached, the method for photographing the motion track of the object further includes the step :
- the generated current composite image is displayed to the user.
- the display screen is controlled to be in a black screen state, and the moving image of the object is collected within the preset time, and the step of generating the composite image according to the moving image of the object includes:
- control display screen is in a black screen state, and the moving image of the object is continuously collected by the camera during the preset time;
- All the moving images of the objects are stored, and after the shooting is completed, a composite image is generated according to the stored moving images of the objects.
- the method for photographing the motion track of the object before the step of controlling the display screen to be in a bright screen state and displaying the generated composite image when the preset time is reached, the method for photographing the motion track of the object further includes the step :
- the user Upon receiving an instruction from the user to illuminate the display screen, the user is prompted for a wait message to wait for a composite image to be generated.
- the embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes:
- the acquisition and synthesis module is configured to control the display screen to be in a black screen state after the start of shooting, collect an object moving image within a preset time, and generate a composite image according to the object moving image;
- the first display module is configured to control the display screen to be in a bright screen state when the preset time is reached, and display the generated composite image.
- the collecting and synthesizing module is configured to:
- control display screen is in a black screen state, and the moving image of the object is continuously collected by the camera during the preset time;
- the mobile terminal further includes:
- the second display module is configured to display the generated current composite image to the user when receiving an instruction from the user to illuminate the display screen.
- the collecting and synthesizing module is further configured to:
- control display screen is in a black screen state, and the moving image of the object is continuously collected by the camera during the preset time;
- All the moving images of the objects are stored, and after the shooting is completed, a composite image is generated according to the stored moving images of the objects.
- the mobile terminal further includes:
- the third display module is configured to, when receiving an instruction from the user to illuminate the display screen, prompt the user for the waiting information to wait for the generated composite image.
- an embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the method for star track shooting provided by the first aspect of the present invention. And/or the computer-executable instructions are used to perform the method of photographing the motion trajectory of the object provided by the embodiment of the third aspect of the present invention.
- the display screen is controlled to be in a black screen state, and the star track image is collected in a preset time to generate a composite image according to the star track image; when the preset time is reached, the display screen is controlled to be a bright screen state. And display the resulting composite image. Keeping the display screen of the mobile terminal in a black screen state during the process of capturing the star track image and the composite image, and lighting the screen to display the generated composite image to the user after generating the composite image, thereby reducing the power consumption during the shooting process. Thereby improving the user experience.
- FIG. 1 is a schematic flow chart of a first embodiment of a method for shooting a star track according to the present invention
- FIG. 2 is a schematic flow chart of a first embodiment of the step of acquiring a star-track image in a preset time in FIG. 1;
- FIG. 3 is a schematic flow chart of a second embodiment of a method for star-track shooting according to the present invention.
- FIG. 4 is a schematic diagram showing a refinement of a second embodiment of the step of acquiring a star-track image in a preset time in FIG. 1;
- FIG. 5 is a schematic flow chart of a third embodiment of a method for shooting a star track according to the present invention.
- FIG. 6 is a schematic diagram of functional modules of a first embodiment of a mobile terminal according to the present invention.
- FIG. 7 is a schematic diagram of functional modules of a second embodiment of a mobile terminal according to the present invention.
- FIG. 8 is a schematic diagram of functional modules of a third embodiment of a mobile terminal according to the present invention.
- FIG. 9 is a schematic flow chart of a first embodiment of a method for photographing an object motion trajectory according to the present invention.
- Embodiments of the present invention provide a method for star track shooting.
- FIG. 1 is a schematic flow chart of a first embodiment of a method for shooting a star track according to an embodiment of the present invention.
- the method of shooting the star track comprises:
- Step S10 after the shooting starts, the control display screen is in a black screen state, the star track image is collected within a preset time, and the composite image is generated according to the star track image;
- the embodiment of the invention adds a star track shooting mode for the shooting function of the mobile terminal, and the user can select the star track shooting mode or the normal shooting mode for shooting, wherein the star track shooting mode is combined with the requirements of the star track shooting scene, and is preset.
- the parameters such as exposure time, ISO, resolution, exposure compensation, noise reduction, etc., can also preset different parameters according to different starry sky scenes over different regions, for the user to select when shooting.
- the mobile terminal When the user selects the star track shooting mode, presses the shooting button or triggers the virtual shooting button, the mobile terminal starts to shoot the star track. At this time, the display of the mobile terminal is controlled to be in a black screen state, and the shooting is taken within a preset time.
- Star track image In this embodiment, the preset time is a black screen time preset according to the estimated star track shooting time, and the preset time can be customized by the user even if the display screen of the mobile terminal remains in a black screen state during the entire shooting process. Can be set by the system by default.
- a composite image is generated from the star track image to present the trajectory of the star to the user.
- the collected star track image may be cached in the cache module for synthesizing the star track image from the cache module when the composite image is generated, or may be synthesized in real time during the process of acquiring the star track image.
- step S20 when the preset time is reached, the display screen is controlled to be in a bright screen state, and the generated composite image is displayed.
- the star track image is captured within a preset time and all shooting is completed, that is, when the preset time is reached, the display screen of the mobile terminal is controlled to be in a bright screen state, and the generated composite image is presented to the user on the display screen to display the user to the user.
- the display screen is controlled to be in a black screen state, and is taken in a preset time.
- the star track image is generated to generate a composite image according to the star track image; when the preset time is reached, the display screen is controlled to be in a bright screen state, and the generated composite image is displayed.
- the display screen of the mobile terminal in a black screen state during the process of capturing the star track image and the composite image, and lighting the screen to display the generated composite image to the user after generating the composite image, thereby reducing the power consumption during the shooting process. Thereby improving the user experience.
- FIG. 2 is a schematic diagram of a refinement of a first embodiment of the step of acquiring a star-track image in a preset time in FIG.
- step S10 further includes:
- Step S11 after the shooting starts, the control display screen is in a black screen state, and the star track image is continuously collected by the camera during the preset time;
- the display screen of the mobile terminal is controlled to be in a black screen state, and the star track image is continuously collected by the camera of the mobile terminal within a preset time, and the collection time can be preset, and the camera collects each time.
- the acquisition time is equivalent to the exposure time, preferably 5 ⁇ 10S.
- step S12 the collected current star track image is combined with the previously generated composite image in real time to generate a current composite image.
- the first star-track image when the first star-track image is collected, it is taken as the image to be composited, and after the second star-track image is acquired, it is combined with the image to be synthesized into a current composite image, and the latter is sequentially
- the acquired star track image is combined with the previously generated composite image to finally generate a composite image formed by all the captured star track images.
- the image synthesis of the present embodiment is performed by the method of brightness selection, and the image synthesized by the previous one (past image) Based on the base image; then a synthetic method in which the brightness of the subsequent image is replaced with a pixel that is brighter than the base image is selected.
- the first star track image has been acquired, and based on the first star track image (past image), when the second star track image (current image) is acquired, the first star track image and the second star track image are Comparing the pixels of the corresponding position, if the brightness of the second picture is greater than the brightness of the first picture, extracting the pixels of the second star track image to replace the pixels corresponding to the position of the first star track image, and finally obtaining a composite image, Then, based on this composite image, the subsequent images are subjected to the same processing, and finally the composite images corresponding to all the captured star-track images are obtained.
- the pixel track image includes a pixel unit 1, a pixel unit 2, and a pixel unit n, and a total of n pixel units, wherein the brightness of the current image of the pixel unit 501 to the pixel unit 700 is greater than that of the past image.
- the pixels of the pixel unit 501 to the pixel unit 700 in the current image replace the pixels of the pixel unit 501 to the pixel unit 700 in the past image, and after the replacement is completed, a new image, that is, the current composite image is obtained.
- This way of replacing the bright spots compared with the way of highlights superposition, can more clearly capture the trajectory of the star movement, preventing other bright spots next to the star track from being too bright and affecting the star track effect.
- the composite image can also be subjected to noise reduction processing, and at the same time, according to the exposure degree of the existing image, the synthesis ratio of the newly synthesized image is controlled, and overexposure generation is suppressed.
- FIG. 3 is a schematic flow chart of a second embodiment of a method for shooting a star track according to the present invention.
- the method further includes:
- Step S30 when receiving an instruction from the user to illuminate the display screen, displaying the generated current composite image to the user.
- the user Before the preset time is reached, that is, when the composite image is not generated, the user can illuminate the display screen at any time through the opening key of the mobile terminal to view the current star-track image shooting situation, such as receiving the user. Triggering the indication of lighting the display screen, the screen is illuminated. Since the current composite image is synthesized in real time during the shooting process, after the user lights the screen, the currently synthesized current composite image can be displayed to the user for the user to understand. The synthesis of the composite image corresponding to the star-track image.
- the control display screen is in a black screen state, and during the preset time, the current star track image is combined with the previous generated composite image in the process of continuously collecting the star track image through the camera to generate the current Combining the image and synthesizing the current composite image with the next star track image until the composite image corresponding to the star track image is generated, so as to display the instruction to the user before receiving the instruction to light the display screen before the preset time is reached.
- the synthesized current composite image allows the user to understand the synthesis of the composite image, thereby further enhancing the user experience.
- FIG. 4 is a refinement flow diagram of a second embodiment of the step of acquiring a star-track image in a preset time in FIG.
- step S10 may further include:
- Step S13 after the shooting starts, the control display screen is in a black screen state, and the star track image is continuously collected by the camera during the preset time;
- the display screen of the mobile terminal is controlled to be in a black screen state, and the star track image is continuously collected by the camera of the mobile terminal within a preset time, and the collection time can be preset, and the camera collects each time.
- the acquisition time is equivalent to the exposure time, preferably 5 ⁇ 10S.
- Step S14 storing all the acquired satellite image, and after the shooting is completed, generating a composite image according to the stored star track image.
- all the star track images captured are stored in the cache module in the mobile terminal, and after the shooting is completed, the synthesized images are synthesized according to all the stored star track images to generate a composite image.
- the acquired star track image is obtained from the cache module, and the first picture is taken as the image to be combined, and the second star track image and the image to be synthesized are combined into one current composite image, and the latter is sequentially
- the star track image is synthesized with the previously generated composite image, and the final A composite image of all the star-track images taken.
- the image synthesis of the present embodiment is performed by means of brightness selection, based on the image synthesized above, as a base image; and then a synthesis method in which the luminance of the subsequent image is replaced with the pixel whose base image is brighter is selected.
- the first star track image is compared with the pixel of the corresponding position of the second star track image, and if the brightness of the second sheet is greater than the brightness of the first sheet, the extraction is performed.
- the pixels of the second star-track image are replaced by the pixels corresponding to the position of the first star-track image, and finally a composite image is obtained, and then the subsequent image is subjected to the same processing based on the composite image, and finally the captured image is obtained.
- the composite image corresponding to all the star track images.
- the pixel track image includes a pixel unit 1, a pixel unit 2, and a pixel unit n, and a total of n pixel units, wherein the brightness of the current image of the pixel unit 501 to the pixel unit 700 is greater than that of the past image.
- the pixels of the pixel unit 501 to the pixel unit 700 in the current image replace the pixels of the pixel unit 501 to the pixel unit 700 in the past image, and after the replacement is completed, a new image, that is, the current composite image is obtained.
- This way of replacing the bright spots compared with the way of highlights superposition, can more clearly capture the trajectory of the star movement, preventing other bright spots next to the star track from being too bright and affecting the star track effect.
- the composite image can also be subjected to noise reduction processing, and at the same time, according to the exposure degree of the existing image, the synthesis ratio of the newly synthesized image is controlled, and overexposure generation is suppressed.
- FIG. 5 is a schematic flow chart of a third embodiment of a method for star-track shooting according to the present invention.
- the method further includes:
- Step S40 when receiving an instruction from the user to illuminate the display screen, prompting the user for the waiting information to wait for the generation of the composite image.
- the screen is illuminated if an indication that the user triggers the display of the display is received, in which case the composite image is acquired after all the star track images have been acquired. After the user lights up the screen, the composite image may still be in progress, that is, not yet generated.
- the waiting information is displayed to the user to prompt the user to synthesize the image at this time, please wait to generate a composite image.
- the user can manually select to turn off the display, or continue to keep the display in a bright state, waiting for the composite image to be generated.
- the control display screen is in a black screen state, and during the preset time, the star track image is continuously collected by the camera, and all the star track images captured are stored in the cache module in the mobile terminal, after the shooting is completed. And synthesizing according to all stored star-track images to generate a composite image, such as receiving an instruction to light the display screen before the preset time is reached, prompting the user to wait for information, waiting to generate a composite image, further improving The user experience.
- the invention further provides a mobile terminal.
- FIG. 6 is a schematic diagram of functional modules of a first embodiment of a mobile terminal according to the present invention.
- the mobile terminal includes:
- the collecting and synthesizing module 10 is configured to control the display screen to be in a black screen state after the shooting starts, collect a star track image within a preset time, and generate a composite image according to the star track image;
- the first display module 20 is configured to control the display screen to be in a bright screen state when the preset time is reached, and display the generated composite image.
- the embodiment of the invention adds a star track shooting mode for the shooting function of the mobile terminal, and the user can select the star track shooting mode or the normal shooting mode for shooting, wherein the star track shooting mode is combined with the requirements of the star track shooting scene, and is preset.
- the parameters such as exposure time, ISO, resolution, exposure compensation, noise reduction, etc., can also preset different parameters according to different starry sky scenes over different regions. For the user to choose when shooting.
- the mobile terminal When the user selects the star track shooting mode, the mobile terminal starts the star track shooting after pressing the shooting button or triggering the virtual shooting button.
- the collecting and synthesizing module 10 controls the display screen of the mobile terminal to be in a black screen state, and is preset.
- the captured star track image is captured during the time.
- the preset time is a black screen time preset according to the estimated star track shooting time, and the preset time can be customized by the user even if the display screen of the mobile terminal remains in a black screen state during the entire shooting process. Can be set by the system by default.
- a composite image is generated from the star track image to present the trajectory of the star to the user.
- the collected star track image may be cached in the cache module for synthesizing the star track image from the cache module when the composite image is generated, or may be synthesized in real time during the process of acquiring the star track image.
- the first display module 20 controls the display screen of the mobile terminal to be in a bright screen state, and displays the generated composite image on the display screen, when the preset time is reached, and the preset time is reached. To show the user the trajectory of the stars they want to shoot.
- the display screen is controlled to be in a black screen state, and the star track image is collected within a preset time to generate a composite image according to the star track image; when the preset time is reached, the display screen is controlled to be in a bright screen state. And the resulting composite image is displayed. Keeping the display screen of the mobile terminal in a black screen state during the process of capturing the star track image and the composite image, and lighting the screen to display the generated composite image to the user after generating the composite image, thereby reducing the power consumption during the shooting process. Thereby improving the user experience.
- the collecting and synthesizing module 10 is specifically configured as follows:
- control display screen is in a black screen state, and the star track image is continuously collected by the camera during the preset time;
- the display screen of the mobile terminal is controlled to be in a black screen state.
- the acquisition time can be set in advance, and a star track image is collected by the camera every acquisition time, and the acquisition time is equivalent to the exposure time, preferably 5 to 10 seconds.
- the first star-track image when the first star-track image is collected, it is taken as the image to be composited, and after the second star-track image is acquired, it is combined with the image to be synthesized into a current composite image, and the latter is sequentially
- the acquired star track image is combined with the previously generated composite image to finally generate a composite image formed by all the captured star track images.
- the image synthesis of the present embodiment is performed by means of brightness selection, based on the above-described synthesized image (past image) as a base image; and then a synthesis method in which the brightness of the subsequent image is replaced with the pixel whose base image is brighter is selected. .
- the first star track image has been acquired, and based on the first star track image (past image), when the second star track image (current image) is acquired, the first star track image and the second star track image are Comparing the pixels of the corresponding position, if the brightness of the second picture is greater than the brightness of the first picture, extracting the pixels of the second star track image to replace the pixels corresponding to the position of the first star track image, and finally obtaining a composite image, Then, based on this composite image, the subsequent images are subjected to the same processing, and finally the composite images corresponding to all the captured star-track images are obtained.
- the pixel track image includes a pixel unit 1, a pixel unit 2, and a pixel unit n, and a total of n pixel units, wherein the brightness of the current image of the pixel unit 501 to the pixel unit 700 is greater than that of the past image.
- the pixels of the pixel unit 501 to the pixel unit 700 in the current image replace the pixels of the pixel unit 501 to the pixel unit 700 in the past image, and are obtained after the replacement is completed.
- the composite image can also be subjected to noise reduction processing, and at the same time, according to the exposure degree of the existing image, the synthesis ratio of the newly synthesized image is controlled, and overexposure generation is suppressed.
- FIG. 7 is a schematic diagram of functional modules of a second embodiment of a mobile terminal according to the present invention.
- the mobile terminal further includes:
- the second display module 30 is configured to display the generated current composite image to the user when receiving an instruction from the user to illuminate the display screen.
- the user Before the preset time is reached, that is, when the composite image is not generated, the user can illuminate the display screen at any time through the opening key of the mobile terminal to view the current star-track image shooting situation, such as receiving an indication that the user triggers the lighting display. Then, the screen is illuminated. Since the current composite image is synthesized in real time during the shooting process, after the user lights the screen, the currently synthesized current composite image can be displayed to the user through the second display module 30 for the user to understand the star track. The synthesis of the composite image corresponding to the image.
- the control display screen is in a black screen state, and during the preset time, the current star track image is combined with the previous generated composite image in the process of continuously collecting the star track image through the camera to generate the current Combining the image and synthesizing the current composite image with the next star track image until the composite image corresponding to the star track image is generated, so as to display the instruction to the user before receiving the instruction to light the display screen before the preset time is reached.
- the synthesized current composite image allows the user to understand the synthesis of the composite image, thereby further enhancing the user experience.
- the acquisition and synthesis module 10 is further configured to:
- control display is in a black screen state, and the camera is connected within the preset time. Continue to collect star track images;
- the display screen of the mobile terminal is controlled to be in a black screen state, and the star track image is continuously collected by the camera of the mobile terminal within a preset time, and the collection time can be preset, and the camera collects each time.
- the acquisition time is equivalent to the exposure time, preferably 5 ⁇ 10S.
- all the star track images captured are stored in the cache module in the mobile terminal, and after the shooting is completed, the synthesized images are synthesized according to all the stored star track images to generate a composite image.
- the acquired star track image is obtained from the cache module, and the first picture is taken as the image to be combined, and the second star track image and the image to be synthesized are combined into one current composite image, and the latter is sequentially
- the star-track image is synthesized with the previously generated composite image, and finally a composite image formed by all the captured star-track images is generated.
- the image synthesis of the present embodiment is performed by means of brightness selection, based on the image synthesized above, as a base image; and then a synthesis method in which the luminance of the subsequent image is replaced with the pixel whose base image is brighter is selected.
- the first star track image is compared with the pixel of the corresponding position of the second star track image, and if the brightness of the second sheet is greater than the brightness of the first sheet, the extraction is performed.
- the pixels of the second star-track image are replaced by the pixels corresponding to the position of the first star-track image, and finally a composite image is obtained, and then the subsequent image is subjected to the same processing based on the composite image, and finally the captured image is obtained. All star track images Corresponding composite image.
- the pixel track image includes a pixel unit 1, a pixel unit 2, and a pixel unit n, and a total of n pixel units, wherein the brightness of the current image of the pixel unit 501 to the pixel unit 700 is greater than that of the past image.
- the pixels of the pixel unit 501 to the pixel unit 700 in the current image replace the pixels of the pixel unit 501 to the pixel unit 700 in the past image, and after the replacement is completed, a new image, that is, the current composite image is obtained.
- This way of replacing the bright spots compared with the way of highlights superposition, can more clearly capture the trajectory of the star movement, preventing other bright spots next to the star track from being too bright and affecting the star track effect.
- the composite image can also be subjected to noise reduction processing, and at the same time, according to the exposure degree of the existing image, the synthesis ratio of the newly synthesized image is controlled, and overexposure generation is suppressed.
- FIG. 8 is a schematic diagram of functional modules of a third embodiment of a mobile terminal according to the present invention.
- the mobile terminal further includes:
- the third display module 40 is configured to prompt the user to wait for information when receiving an instruction from the user to illuminate the display screen to wait for a composite image to be generated.
- the screen is illuminated if an indication that the user triggers the display of the display is received, in which case the composite image is acquired after all the star track images have been acquired. After the user lights up the screen, the composite image may still be in progress, that is, not yet generated.
- the third display module 40 displays the waiting information to the user to prompt the user to synthesize the image at this time, please wait to generate a composite image. . After receiving the waiting message, the user can manually select to turn off the display, or continue to keep the display in a bright state, waiting for the composite image to be generated.
- the control display screen is in a black screen state, and during the preset time, the star track image is continuously collected by the camera, and all the star track images captured are stored in the cache module in the mobile terminal, after the shooting is completed. , synthesizing according to all stored star-track images to generate a composite image, such as receiving an instruction to light the display screen before the preset time is reached, The user prompts for information to wait for a composite image to be generated, further enhancing the user experience.
- FIG. 9 is a schematic flow chart of a first embodiment of a method for photographing an object motion trajectory according to the present invention.
- the method for photographing the motion trajectory of the object includes:
- Step S01 after the shooting starts, the control display screen is in a black screen state, the moving image of the object is collected within a preset time, and the composite image is generated according to the moving image of the object;
- the invention adds a motion track shooting mode for the shooting function of the mobile terminal, and the user can select the motion track shooting mode or the normal shooting mode to shoot the motion track of the object, wherein the motion track shooting mode combines the requirements of the motion track shooting scene, Pre-set exposure time, ISO, resolution, exposure compensation, noise reduction and other parameters, you can also preset different parameters according to different starry sky scenes over different regions, for users to choose when shooting.
- the object motion is substantially relative to the captured mobile terminal, and the motion type may include the following three situations: 1.
- the state of the object is motion, the state of the mobile terminal is static; and the state of the object is At rest, the state of the mobile terminal is motion; third, the state of the object and the mobile terminal are the same, but the relative position changes.
- the mobile terminal When the user selects the motion track shooting mode, the mobile terminal starts to perform the motion track shooting after pressing the shooting button or triggering the virtual shooting button. At this time, the display screen of the mobile terminal is controlled to be in a black screen state, and the shooting is taken within a preset time.
- the preset time is a black screen time preset according to the estimated motion trajectory shooting time, and the preset time can be customized by the user even if the display screen of the mobile terminal remains in a black screen state during the entire shooting process. Can be set by the system by default.
- a composite image is generated according to the moving image of the object to present the trajectory of the motion of the object to the user.
- the captured moving image of the object can be cached in the cache module for reading the object from the cache module when generating the composite image
- the moving image is synthesized, and the real-time synthesis can also be performed directly in the process of acquiring the moving image of the object.
- step S02 when the preset time is reached, the display screen is controlled to be in a bright screen state, and the generated composite image is displayed.
- the moving image of the object is captured within a preset time and all shooting is completed, that is, when the preset time is reached, the display screen of the mobile terminal is controlled to be in a bright screen state, and the generated composite image is presented to the user on the display screen to display the user to the user.
- the display screen is controlled to be in a black screen state, and the moving image of the object is collected within a preset time to generate a composite image according to the moving image of the object; when the preset time is reached, the display screen is controlled to be in a bright screen state. And the resulting composite image is displayed.
- the display screen of the mobile terminal is kept in a black screen state during the whole process of capturing the moving image of the object and the composite image, and the generated image is displayed on the screen after the composite image is generated, thereby reducing the power consumption during the shooting process. Thereby improving the user experience.
- the invention also provides a mobile terminal.
- the mobile terminal comprises:
- the acquisition and synthesis module is configured to control the display screen to be in a black screen state after the start of shooting, collect an object moving image within a preset time, and generate a composite image according to the moving image of the object;
- the first display module is configured to control the display screen to be in a bright screen state when the preset time is reached, and display the generated composite image.
- the embodiment of the invention adds a motion track shooting mode for the shooting function of the mobile terminal, and the user can select the motion track shooting mode or the normal shooting mode to capture the motion track of the object, wherein the motion track shooting mode combines the motion track to shoot the scene.
- Requirements, preset exposure time, ISO, resolution, exposure compensation, noise reduction and other parameters can also be based on different regions Different sky-space scenes preset different parameters for the user to select when shooting.
- the object motion is substantially relative to the captured mobile terminal, and the motion type may include the following three situations: 1.
- the state of the object is motion, the state of the mobile terminal is static; and the state of the object is At rest, the state of the mobile terminal is motion; third, the state of both the object and the mobile terminal is motion.
- the collecting and synthesizing module controls the display screen of the mobile terminal to be in a black screen state, and at the preset time.
- the moving image of the captured object is captured.
- the preset time is a black screen time preset according to the estimated motion trajectory shooting time, and the preset time can be customized by the user even if the display screen of the mobile terminal remains in a black screen state during the entire shooting process. Can be set by the system by default.
- a composite image is generated according to the moving image of the object to present the trajectory of the motion of the object to the user.
- the collected moving image of the object may be cached in the cache module for synthesizing the moving image of the object from the cache module when the composite image is generated, or may be synthesized in real time during the process of acquiring the moving image of the object.
- the first display module controls the display screen of the mobile terminal to be in a bright screen state, and presents the generated composite image to the user on the display screen, Show the user the trajectory of the motion of the object he wants to shoot.
- the display screen is controlled to be in a black screen state, and the moving image of the object is collected within a preset time to generate a composite image according to the moving image of the object; when the preset time is reached, the display screen is controlled to be in a bright screen state. And the resulting composite image is displayed.
- the display screen of the mobile terminal is kept in a black screen state during the whole process of capturing the moving image of the object and the composite image, and the generated image is displayed on the screen after the composite image is generated, thereby reducing the power consumption during the shooting process. Thereby improving the user experience.
- the acquiring and synthesizing module, the first display module, the collecting and synthesizing module, the second display module and the third display module in the mobile terminal can all be implemented by a processor in the mobile terminal;
- the functions performed by the device can also be implemented by specific logic circuits; in the process of a specific embodiment, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or field programmable. Gate array (FPGA), etc.
- the object motion trajectory shooting method or the object motion trajectory shooting method is implemented in the form of a software function module, and is sold or used as an independent product, it may also be stored in one
- the computer can read the storage medium.
- the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
- a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
- program codes such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
- the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute a method for star track shooting in the embodiment of the present invention.
- the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute a method for photographing an object motion track in the embodiment of the present invention.
- the display screen is controlled to be in a black screen state, the star track image is collected within a preset time, and the composite image is generated according to the star track image; when the preset time is reached, the display screen is controlled to be in a bright screen state. And displaying the generated composite image; thus, the display screen of the mobile terminal is kept in a black screen state during the process of capturing the star track image and the composite image, and the generated image is displayed on the screen after the composite image is generated, minus The power consumption during shooting is reduced, which enhances the user experience.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
Description
本发明涉及摄像技术领域,尤其涉及星轨拍摄的方法、物体运动轨迹的拍摄方法和移动终端、存储介质。The invention relates to the field of camera technology, in particular to a method for shooting a star track, a method for shooting an object motion track, a mobile terminal and a storage medium.
随着手机、平板电脑等移动终端的摄像硬件的不断提升,移动终端的拍摄功能也越来越多样化,用户对移动终端的拍摄要求也越来越高。目前的移动终端具备的拍摄功能,依赖于摄像硬件设备和芯片供应商提供的相关处理算法,只有对焦、白平衡等几种固定的拍摄模式。With the continuous improvement of the imaging hardware of mobile terminals such as mobile phones and tablet computers, the shooting functions of mobile terminals are becoming more and more diverse, and the requirements for shooting of mobile terminals are also increasing. The current mobile terminal has a shooting function that relies on the relevant processing algorithms provided by the camera hardware device and the chip supplier, and only several fixed shooting modes such as focus and white balance.
星轨拍摄可以拍摄出星星的运行轨迹,是深受天文爱好者喜爱的一种拍摄方式。进行星轨拍摄时,曝光时间通常需要20~60分钟,需要专业的摄像装置如单反相机才能实现,因其配置了能够支持长时间持续曝光的感光硬件。但是,目前拍摄星轨只能在移动终端亮屏时进行操作,这使得电量消耗较高,如在拍摄过程中断电则无法完成星轨图像的合成,从而影响用户的体验。Star-track shooting can capture the running track of the stars, which is a favorite way for astronomy enthusiasts to shoot. When shooting a star track, the exposure time usually takes 20 to 60 minutes, which requires a professional camera such as a SLR camera, because it is equipped with a photosensitive hardware that can support long-term continuous exposure. However, the current shooting of the star track can only be operated when the mobile terminal is bright, which makes the power consumption high, such as the interruption of the image during the shooting process, the synthesis of the star track image cannot be completed, thereby affecting the user experience.
发明内容Summary of the invention
本发明实施例为解决上述的问题之一而提供一种星轨拍摄的方法、物体运动轨迹的拍摄方法和移动终端、存储介质,能够减小拍摄过程中的电量消耗,提升用户的体验。In order to solve the above problems, an embodiment of the present invention provides a method for shooting a star track, a method for capturing an object motion trajectory, a mobile terminal, and a storage medium, which can reduce power consumption during shooting and improve user experience.
本发明实施例采用如下的技术方案:The embodiment of the invention adopts the following technical solutions:
第一方面,本发明实施例提供一种星轨拍摄的方法,所述星轨拍摄的方法包括以下步骤: In a first aspect, an embodiment of the present invention provides a method for star-track shooting, and the method for shooting a star-track includes the following steps:
拍摄开始后,控制显示屏为黑屏状态,在预设时间内采集星轨图像,根据所述星轨图像生成合成图像;After the shooting starts, the control display screen is in a black screen state, the star track image is collected within a preset time, and a composite image is generated according to the star track image;
在达到所述预设时间时,控制显示屏为亮屏状态,并显示生成的合成图像。When the preset time is reached, the display screen is controlled to be in a bright screen state, and the generated composite image is displayed.
在本发明的一种实施例中,所述拍摄开始后,控制显示屏为黑屏状态,在预设时间内采集星轨图像,根据所述星轨图像生成合成图像的步骤包括:In an embodiment of the present invention, after the shooting starts, the display screen is controlled to be in a black screen state, and the star track image is collected within a preset time, and the step of generating a composite image according to the star track image includes:
拍摄开始后,控制显示屏为黑屏状态,在预设时间内,通过摄像头连续采集星轨图像;After the shooting starts, the control display screen is in a black screen state, and the star track image is continuously collected by the camera during the preset time;
实时将采集的当前星轨图像与上一张生成的合成图像进行合成,生成当前合成图像。Real-time synthesizing the acquired current star-track image with the previously generated composite image to generate the current composite image.
在本发明的一种实施例中,所述在达到所述预设时间时,控制显示屏为亮屏状态,并显示生成的合成图像的步骤之前,所述星轨拍摄的方法还包括步骤:In an embodiment of the present invention, before the step of controlling the display screen to be a bright screen state and displaying the generated composite image when the preset time is reached, the method for shooting the star track further includes the steps of:
接收到用户点亮显示屏的指令时,向用户显示生成的当前合成图像。When the user's instruction to illuminate the display screen is received, the generated current composite image is displayed to the user.
在本发明的一种实施例中,所述拍摄开始后,控制显示屏为黑屏状态,在预设时间内采集星轨图像,根据所述星轨图像生成合成图像的步骤包括:In an embodiment of the present invention, after the shooting starts, the display screen is controlled to be in a black screen state, and the star track image is collected within a preset time, and the step of generating a composite image according to the star track image includes:
拍摄开始后,控制显示屏为黑屏状态,在预设时间内,通过摄像头连续采集星轨图像;After the shooting starts, the control display screen is in a black screen state, and the star track image is continuously collected by the camera during the preset time;
存储采集的所有星轨图像,在拍摄完成后,根据存储的所述星轨图像生成合成图像。All the acquired star-track images are stored, and after the shooting is completed, a composite image is generated based on the stored star-track images.
在本发明的一种实施例中,所述在达到所述预设时间时,控制显示屏为亮屏状态,并显示生成的合成图像的步骤之前,所述星轨拍摄的方法还包括步骤:In an embodiment of the present invention, before the step of controlling the display screen to be a bright screen state and displaying the generated composite image when the preset time is reached, the method for shooting the star track further includes the steps of:
接收到用户点亮显示屏的指令时,向用户提示等待信息,以等待生成合成图像。 Upon receiving an instruction from the user to illuminate the display screen, the user is prompted for a wait message to wait for a composite image to be generated.
第二方面,本发明实施例还提供一种移动终端,所述移动终端包括:In a second aspect, the embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes:
采集及合成模块,配置为拍摄开始后,控制显示屏为黑屏状态,在预设时间内采集星轨图像,根据所述星轨图像生成合成图像;The acquisition and synthesis module is configured to control the display screen to be in a black screen state after the start of shooting, collect a star track image within a preset time, and generate a composite image according to the star track image;
第一显示模块,配置为在达到所述预设时间时,控制显示屏为亮屏状态,并显示生成的合成图像。The first display module is configured to control the display screen to be in a bright screen state when the preset time is reached, and display the generated composite image.
在本发明的一种实施例中,所述采集及合成模块,配置为:In an embodiment of the invention, the collecting and synthesizing module is configured to:
拍摄开始后,控制显示屏为黑屏状态,在预设时间内,通过摄像头连续采集星轨图像;After the shooting starts, the control display screen is in a black screen state, and the star track image is continuously collected by the camera during the preset time;
实时将采集的当前星轨图像与上一张生成的合成图像进行合成,生成当前合成图像。Real-time synthesizing the acquired current star-track image with the previously generated composite image to generate the current composite image.
在本发明的一种实施例中,所述移动终端还包括:In an embodiment of the present invention, the mobile terminal further includes:
第二显示模块,配置为接收到用户点亮显示屏的指令时,向用户显示生成的当前合成图像。The second display module is configured to display the generated current composite image to the user when receiving an instruction from the user to illuminate the display screen.
在本发明的一种实施例中,所述采集及合成模块,还配置为:In an embodiment of the invention, the collecting and synthesizing module is further configured to:
拍摄开始后,控制显示屏为黑屏状态,在预设时间内,通过摄像头连续采集星轨图像;After the shooting starts, the control display screen is in a black screen state, and the star track image is continuously collected by the camera during the preset time;
存储采集的所有星轨图像,在拍摄完成后,根据存储的所述星轨图像生成合成图像。All the acquired star-track images are stored, and after the shooting is completed, a composite image is generated based on the stored star-track images.
在本发明的一种实施例中,所述移动终端还包括:In an embodiment of the present invention, the mobile terminal further includes:
第三显示模块,配置为接收到用户点亮显示屏的指令时,向用户提示等待信息,以等待生成合成图像。The third display module is configured to, when receiving an instruction from the user to illuminate the display screen, prompt the user for the waiting information to wait for the generated composite image.
第三方面,本发明实施例还提供一种物体运动轨迹的拍摄方法,所述物体运动轨迹的拍摄方法包括以下步骤:In a third aspect, an embodiment of the present invention further provides a method for photographing an object motion trajectory, where the method for photographing an object motion trajectory includes the following steps:
拍摄开始后,控制显示屏为黑屏状态,在预设时间内采集物体运动图像,根据所述物体运动图像生成合成图像; After the shooting starts, the control display screen is in a black screen state, the moving image of the object is collected within a preset time, and the composite image is generated according to the moving image of the object;
在达到所述预设时间时,控制显示屏为亮屏状态,并显示生成的合成图像。When the preset time is reached, the display screen is controlled to be in a bright screen state, and the generated composite image is displayed.
在本发明的一种实施例中,所述拍摄开始后,控制显示屏为黑屏状态,在预设时间内采集物体运动图像,根据所述物体运动图像生成合成图像的步骤包括:In an embodiment of the present invention, after the shooting starts, the display screen is controlled to be in a black screen state, and the moving image of the object is collected within the preset time, and the step of generating the composite image according to the moving image of the object includes:
拍摄开始后,控制显示屏为黑屏状态,在预设时间内,通过摄像头连续采集物体运动图像;After the shooting starts, the control display screen is in a black screen state, and the moving image of the object is continuously collected by the camera during the preset time;
实时将采集的当前物体运动图像与上一张生成的合成图像进行合成,生成当前合成图像。Real-time synthesizing the acquired current object moving image with the previously generated composite image to generate the current composite image.
在本发明的一种实施例中,所述在达到所述预设时间时,控制显示屏为亮屏状态,并显示生成的合成图像的步骤之前,所述物体运动轨迹的拍摄方法还包括步骤:In an embodiment of the present invention, before the step of controlling the display screen to be in a bright screen state and displaying the generated composite image when the preset time is reached, the method for photographing the motion track of the object further includes the step :
接收到用户点亮显示屏的指令时,向用户显示生成的当前合成图像。When the user's instruction to illuminate the display screen is received, the generated current composite image is displayed to the user.
在本发明的一种实施例中,所述拍摄开始后,控制显示屏为黑屏状态,在预设时间内采集物体运动图像,根据所述物体运动图像生成合成图像的步骤包括:In an embodiment of the present invention, after the shooting starts, the display screen is controlled to be in a black screen state, and the moving image of the object is collected within the preset time, and the step of generating the composite image according to the moving image of the object includes:
拍摄开始后,控制显示屏为黑屏状态,在预设时间内,通过摄像头连续采集物体运动图像;After the shooting starts, the control display screen is in a black screen state, and the moving image of the object is continuously collected by the camera during the preset time;
存储采集的所有物体运动图像,在拍摄完成后,根据存储的所述物体运动图像生成合成图像。All the moving images of the objects are stored, and after the shooting is completed, a composite image is generated according to the stored moving images of the objects.
在本发明的一种实施例中,所述在达到所述预设时间时,控制显示屏为亮屏状态,并显示生成的合成图像的步骤之前,所述物体运动轨迹的拍摄方法还包括步骤:In an embodiment of the present invention, before the step of controlling the display screen to be in a bright screen state and displaying the generated composite image when the preset time is reached, the method for photographing the motion track of the object further includes the step :
接收到用户点亮显示屏的指令时,向用户提示等待信息,以等待生成合成图像。 Upon receiving an instruction from the user to illuminate the display screen, the user is prompted for a wait message to wait for a composite image to be generated.
第四方面,本发明实施例还提供一种移动终端,所述移动终端包括:In a fourth aspect, the embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes:
采集及合成模块,配置为拍摄开始后,控制显示屏为黑屏状态,在预设时间内采集物体运动图像,根据所述物体运动图像生成合成图像;The acquisition and synthesis module is configured to control the display screen to be in a black screen state after the start of shooting, collect an object moving image within a preset time, and generate a composite image according to the object moving image;
第一显示模块,配置为在达到所述预设时间时,控制显示屏为亮屏状态,并显示生成的合成图像。The first display module is configured to control the display screen to be in a bright screen state when the preset time is reached, and display the generated composite image.
在本发明的一种实施例中,所述采集及合成模块,配置为:In an embodiment of the invention, the collecting and synthesizing module is configured to:
拍摄开始后,控制显示屏为黑屏状态,在预设时间内,通过摄像头连续采集物体运动图像;After the shooting starts, the control display screen is in a black screen state, and the moving image of the object is continuously collected by the camera during the preset time;
实时将采集的当前物体运动图像与上一张生成的合成图像进行合成,生成当前合成图像。Real-time synthesizing the acquired current object moving image with the previously generated composite image to generate the current composite image.
在本发明的一种实施例中,所述移动终端还包括:In an embodiment of the present invention, the mobile terminal further includes:
第二显示模块,配置为接收到用户点亮显示屏的指令时,向用户显示生成的当前合成图像。The second display module is configured to display the generated current composite image to the user when receiving an instruction from the user to illuminate the display screen.
在本发明的一种实施例中,所述采集及合成模块,还配置为:In an embodiment of the invention, the collecting and synthesizing module is further configured to:
拍摄开始后,控制显示屏为黑屏状态,在预设时间内,通过摄像头连续采集物体运动图像;After the shooting starts, the control display screen is in a black screen state, and the moving image of the object is continuously collected by the camera during the preset time;
存储采集的所有物体运动图像,在拍摄完成后,根据存储的所述物体运动图像生成合成图像。All the moving images of the objects are stored, and after the shooting is completed, a composite image is generated according to the stored moving images of the objects.
在本发明的一种实施例中,所述移动终端还包括:In an embodiment of the present invention, the mobile terminal further includes:
第三显示模块,配置为接收到用户点亮显示屏的指令时,向用户提示等待信息,以等待生成合成图像。The third display module is configured to, when receiving an instruction from the user to illuminate the display screen, prompt the user for the waiting information to wait for the generated composite image.
第五方面,本发明实施例提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行本发明第一方面实施例提供的星轨拍摄的方法,和/或,该计算机可执行指令用于执行本发明第三方面实施例提供的物体运动轨迹的拍摄方法。 In a fifth aspect, an embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the method for star track shooting provided by the first aspect of the present invention. And/or the computer-executable instructions are used to perform the method of photographing the motion trajectory of the object provided by the embodiment of the third aspect of the present invention.
本发明实施例在拍摄开始后,控制显示屏为黑屏状态,并在预设时间内采集星轨图像,以根据星轨图像生成合成图像;在达到预设时间时,控制显示屏为亮屏状态,并显示生成的合成图像。在拍摄星轨图像及合成图像的整个过程中保持移动终端的显示屏为黑屏状态,而在生成合成图像后才点亮屏幕向用户展示生成的合成图像,减小了拍摄过程中的电量消耗,从而提升了用户的体验。In the embodiment of the present invention, after the shooting starts, the display screen is controlled to be in a black screen state, and the star track image is collected in a preset time to generate a composite image according to the star track image; when the preset time is reached, the display screen is controlled to be a bright screen state. And display the resulting composite image. Keeping the display screen of the mobile terminal in a black screen state during the process of capturing the star track image and the composite image, and lighting the screen to display the generated composite image to the user after generating the composite image, thereby reducing the power consumption during the shooting process. Thereby improving the user experience.
图1为本发明星轨拍摄的方法第一实施例的流程示意图;1 is a schematic flow chart of a first embodiment of a method for shooting a star track according to the present invention;
图2为图1中在预设时间内采集星轨图像的步骤的第一种实施方式的细化流程示意图;2 is a schematic flow chart of a first embodiment of the step of acquiring a star-track image in a preset time in FIG. 1;
图3为本发明星轨拍摄的方法第二实施例的流程示意图;3 is a schematic flow chart of a second embodiment of a method for star-track shooting according to the present invention;
图4为图1中在预设时间内采集星轨图像的步骤的第二种实施方式的细化流程示意图;4 is a schematic diagram showing a refinement of a second embodiment of the step of acquiring a star-track image in a preset time in FIG. 1;
图5为本发明星轨拍摄的方法第三实施例的流程示意图;5 is a schematic flow chart of a third embodiment of a method for shooting a star track according to the present invention;
图6为本发明移动终端第一实施例的功能模块示意图;6 is a schematic diagram of functional modules of a first embodiment of a mobile terminal according to the present invention;
图7为本发明移动终端第二实施例的功能模块示意图;7 is a schematic diagram of functional modules of a second embodiment of a mobile terminal according to the present invention;
图8为本发明移动终端第三实施例的功能模块示意图;8 is a schematic diagram of functional modules of a third embodiment of a mobile terminal according to the present invention;
图9为本发明物体运动轨迹的拍摄方法第一实施例的流程示意图。FIG. 9 is a schematic flow chart of a first embodiment of a method for photographing an object motion trajectory according to the present invention.
本发明实施例目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明本发明的技术方案。The implementation, functional features and advantages of the embodiments of the present invention will be further described with reference to the accompanying drawings.
应当理解,此处所描述的具体实施例仅仅用以解释本发明的技术方案,并不用于限定本发明的保护范围。It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the scope of the invention.
本发明实施例提供一种星轨拍摄的方法。 Embodiments of the present invention provide a method for star track shooting.
参照图1,图1为本发明实施例星轨拍摄的方法第一实施例的流程示意图。1 is a schematic flow chart of a first embodiment of a method for shooting a star track according to an embodiment of the present invention.
在一实施例中,该星轨拍摄的方法包括:In an embodiment, the method of shooting the star track comprises:
步骤S10,拍摄开始后,控制显示屏为黑屏状态,在预设时间内采集星轨图像,根据星轨图像生成合成图像;Step S10, after the shooting starts, the control display screen is in a black screen state, the star track image is collected within a preset time, and the composite image is generated according to the star track image;
本发明实施例为移动终端的拍摄功能增加了一种星轨拍摄模式,用户可以选择星轨拍摄模式或普通拍摄模式进行拍摄,其中,星轨拍摄模式结合星轨拍摄场景的要求,预先设定了曝光时间、ISO、分辨率、曝光补偿、降噪等参数,还可以根据不同地区上空不同的星空场景预设不同的参数,供用户拍摄时进行选择。The embodiment of the invention adds a star track shooting mode for the shooting function of the mobile terminal, and the user can select the star track shooting mode or the normal shooting mode for shooting, wherein the star track shooting mode is combined with the requirements of the star track shooting scene, and is preset. The parameters such as exposure time, ISO, resolution, exposure compensation, noise reduction, etc., can also preset different parameters according to different starry sky scenes over different regions, for the user to select when shooting.
当用户选择了星轨拍摄模式,按下拍摄按键或触发虚拟拍摄按键后,移动终端开始进行星轨拍摄,此时,控制移动终端的显示屏为黑屏状态,并在预设时间内采集所拍摄的星轨图像。本实施例中该预设时间为根据预计的星轨拍摄时间所预先设置的黑屏时间,即使移动终端的显示屏在整个拍摄过程中均保持黑屏状态,该预设时间可由用户自定义设置,也可由系统默认设置。在采集到星轨图像后,根据星轨图像生成合成图像,以向用户呈现星星的轨迹。可以将采集的星轨图像缓存于缓存模块中,以供在生成合成图像时从缓存模块中读取星轨图像进行合成,也可以直接在采集到星轨图像的过程中进行实时合成。When the user selects the star track shooting mode, presses the shooting button or triggers the virtual shooting button, the mobile terminal starts to shoot the star track. At this time, the display of the mobile terminal is controlled to be in a black screen state, and the shooting is taken within a preset time. Star track image. In this embodiment, the preset time is a black screen time preset according to the estimated star track shooting time, and the preset time can be customized by the user even if the display screen of the mobile terminal remains in a black screen state during the entire shooting process. Can be set by the system by default. After the star track image is acquired, a composite image is generated from the star track image to present the trajectory of the star to the user. The collected star track image may be cached in the cache module for synthesizing the star track image from the cache module when the composite image is generated, or may be synthesized in real time during the process of acquiring the star track image.
步骤S20,在达到预设时间时,控制显示屏为亮屏状态,并显示生成的合成图像。In step S20, when the preset time is reached, the display screen is controlled to be in a bright screen state, and the generated composite image is displayed.
在预设时间内拍摄星轨图像并完成全部拍摄,即达到预设时间时,控制移动终端的显示屏为亮屏状态,并在显示屏上向用户呈现生成的合成图像,以向用户展示其所想要拍摄的星星的轨迹。The star track image is captured within a preset time and all shooting is completed, that is, when the preset time is reached, the display screen of the mobile terminal is controlled to be in a bright screen state, and the generated composite image is presented to the user on the display screen to display the user to the user. The trajectory of the stars you want to shoot.
本实施例在拍摄开始后,控制显示屏为黑屏状态,并在预设时间内采 集星轨图像,以根据星轨图像生成合成图像;在达到预设时间时,控制显示屏为亮屏状态,并显示生成的合成图像。在拍摄星轨图像及合成图像的整个过程中保持移动终端的显示屏为黑屏状态,而在生成合成图像后才点亮屏幕向用户展示生成的合成图像,减小了拍摄过程中的电量消耗,从而提升了用户的体验。In this embodiment, after the shooting starts, the display screen is controlled to be in a black screen state, and is taken in a preset time. The star track image is generated to generate a composite image according to the star track image; when the preset time is reached, the display screen is controlled to be in a bright screen state, and the generated composite image is displayed. Keeping the display screen of the mobile terminal in a black screen state during the process of capturing the star track image and the composite image, and lighting the screen to display the generated composite image to the user after generating the composite image, thereby reducing the power consumption during the shooting process. Thereby improving the user experience.
参照图2,图2为图1中在预设时间内采集星轨图像的步骤的第一种实施方式的细化流程示意图。Referring to FIG. 2, FIG. 2 is a schematic diagram of a refinement of a first embodiment of the step of acquiring a star-track image in a preset time in FIG.
在上述实施例中,步骤S10进一步包括:In the above embodiment, step S10 further includes:
步骤S11,拍摄开始后,控制显示屏为黑屏状态,在预设时间内,通过摄像头连续采集星轨图像;Step S11, after the shooting starts, the control display screen is in a black screen state, and the star track image is continuously collected by the camera during the preset time;
在移动终端开始进行星轨拍摄时,控制移动终端的显示屏为黑屏状态,并在预设的时间内,通过移动终端的摄像头连续采集星轨图像,可以预先设置采集时间,通过摄像头每隔采集时间采集一张星轨图像,该采集时间相当于曝光时间,优选5~10S。When the mobile terminal starts to shoot the star track, the display screen of the mobile terminal is controlled to be in a black screen state, and the star track image is continuously collected by the camera of the mobile terminal within a preset time, and the collection time can be preset, and the camera collects each time. Time to collect a star track image, the acquisition time is equivalent to the exposure time, preferably 5 ~ 10S.
步骤S12,实时将采集的当前星轨图像与上一张生成的合成图像进行合成,生成当前合成图像。In step S12, the collected current star track image is combined with the previously generated composite image in real time to generate a current composite image.
在拍摄的过程中,在采集到的第一张星轨图像时,将其作为待合成图像,在采集到第二张星轨图像后将其与待合成图像合成为一张当前合成图像,并依次将后面所采集到的星轨图像与上一张生成的合成图像进行合成,最终生成所拍摄的所有星轨图像所形成的合成图像。In the process of shooting, when the first star-track image is collected, it is taken as the image to be composited, and after the second star-track image is acquired, it is combined with the image to be synthesized into a current composite image, and the latter is sequentially The acquired star track image is combined with the previously generated composite image to finally generate a composite image formed by all the captured star track images.
在一优选实施例中,对于同一位置不同时间的像素,判断当前的星轨图像中的像素的亮度是否大于过去所合成的图像中的像素的亮度,若是,则将过去图像中的像素替换为当前的星轨图像中的像素,在过去的图像中亮度较小的像素全部替换完后,即为最终合成的合成图像。即,本实施例的图像合成采用亮度选择的方式进行,以上一张合成的图像(过去的图像) 为基础,作为基础图像;然后选择后续图像中亮度比基础图像亮的像素进行替换的合成方法。In a preferred embodiment, for pixels at different times in the same position, it is determined whether the brightness of the pixels in the current star-track image is greater than the brightness of the pixels in the image synthesized in the past, and if so, the pixels in the past image are replaced with The pixels in the current star-track image are the final composite image after all the pixels with smaller brightness in the past image are replaced. That is, the image synthesis of the present embodiment is performed by the method of brightness selection, and the image synthesized by the previous one (past image) Based on the base image; then a synthetic method in which the brightness of the subsequent image is replaced with a pixel that is brighter than the base image is selected.
比如已经采集到了第一张星轨图像,这时就以第一张星轨图像(过去的图像)为基础,当采集到第二张星轨图像(当前的图像)时,将第一张星轨图像与第二张星轨图像的对应位置的像素进行对比,如果第二张的亮度大于第一张的亮度,则提取出第二张星轨图像的像素来替换掉第一张星轨图像对应位置的像素,最后就得到了一张合成图像,然后又以这张合成图像为基础,对后续图像进行相同的处理,最终得到所拍摄的所有星轨图像所对应的合成图像。For example, the first star track image has been acquired, and based on the first star track image (past image), when the second star track image (current image) is acquired, the first star track image and the second star track image are Comparing the pixels of the corresponding position, if the brightness of the second picture is greater than the brightness of the first picture, extracting the pixels of the second star track image to replace the pixels corresponding to the position of the first star track image, and finally obtaining a composite image, Then, based on this composite image, the subsequent images are subjected to the same processing, and finally the composite images corresponding to all the captured star-track images are obtained.
又如,星轨图像中包括像素单元1、像素单元2…像素单元n共n个像素单元,其中像素单元501~像素单元700共200个像素单元当前的图像的亮度大于过去的图像,则将当前的图像中像素单元501~像素单元700的像素替换过去的图像中像素单元501~像素单元700的像素,替换完成后获得一张新的图像,即当前合成图像。此种亮点替换的方式,相对于亮点叠加的方式,可以更加清晰的拍摄出星星运动的轨迹,防止星轨旁边的其它亮点过亮而影响星轨效果。For example, the pixel track image includes a pixel unit 1, a pixel unit 2, and a pixel unit n, and a total of n pixel units, wherein the brightness of the current image of the pixel unit 501 to the pixel unit 700 is greater than that of the past image. The pixels of the pixel unit 501 to the pixel unit 700 in the current image replace the pixels of the pixel unit 501 to the pixel unit 700 in the past image, and after the replacement is completed, a new image, that is, the current composite image is obtained. This way of replacing the bright spots, compared with the way of highlights superposition, can more clearly capture the trajectory of the star movement, preventing other bright spots next to the star track from being too bright and affecting the star track effect.
此外,还可以对合成图像进行降噪处理,同时还根据现有图像的曝光度,控制新合成图像的合成比例,抑制过曝产生。In addition, the composite image can also be subjected to noise reduction processing, and at the same time, according to the exposure degree of the existing image, the synthesis ratio of the newly synthesized image is controlled, and overexposure generation is suppressed.
参照图3,图3为本发明星轨拍摄的方法第二实施例的流程示意图。Referring to FIG. 3, FIG. 3 is a schematic flow chart of a second embodiment of a method for shooting a star track according to the present invention.
在上述本发明星轨拍摄的方法第一实施例的基础上,在第二实施例中,执行步骤S20之前,该方法还包括:On the basis of the first embodiment of the method for shooting a star track of the present invention, in the second embodiment, before the step S20 is performed, the method further includes:
步骤S30,接收到用户点亮显示屏的指令时,向用户显示生成的当前合成图像。Step S30, when receiving an instruction from the user to illuminate the display screen, displaying the generated current composite image to the user.
在达到预设时间之前,即合成图像未生成时,用户可随时通过移动终端的开关键点亮显示屏,以查看当前星轨图像拍摄的情况,如接收到用户 触发点亮显示屏的指示,则点亮屏幕,由于是在拍摄的过程中实时合成当前合成图像,因而在用户点亮屏幕后,可向用户显示当前所合成的当前合成图像,以供用户了解星轨图像所对应的合成图像的合成情况。Before the preset time is reached, that is, when the composite image is not generated, the user can illuminate the display screen at any time through the opening key of the mobile terminal to view the current star-track image shooting situation, such as receiving the user. Triggering the indication of lighting the display screen, the screen is illuminated. Since the current composite image is synthesized in real time during the shooting process, after the user lights the screen, the currently synthesized current composite image can be displayed to the user for the user to understand. The synthesis of the composite image corresponding to the star-track image.
在拍摄开始后,控制显示屏为黑屏状态,并在预设时间内通过摄像头连续采集星轨图像的过程中,实时将采集的当前星轨图像与上一张生成的合成图像进行合成,生成当前合成图像,并根据当前合成图像与下一张星轨图像进行合成,直至生成星轨图像对应的合成图像,以便于在未到达预设时间之前如接收到用户点亮显示屏的指令,向用户显示所合成的当前合成图像,供用户了解合成图像的合成情况,从而进一步提升了用户的体验。After the shooting starts, the control display screen is in a black screen state, and during the preset time, the current star track image is combined with the previous generated composite image in the process of continuously collecting the star track image through the camera to generate the current Combining the image and synthesizing the current composite image with the next star track image until the composite image corresponding to the star track image is generated, so as to display the instruction to the user before receiving the instruction to light the display screen before the preset time is reached. The synthesized current composite image allows the user to understand the synthesis of the composite image, thereby further enhancing the user experience.
参照图4,图4为图1中在预设时间内采集星轨图像的步骤的第二种实施方式的细化流程示意图。Referring to FIG. 4, FIG. 4 is a refinement flow diagram of a second embodiment of the step of acquiring a star-track image in a preset time in FIG.
基于本发明星轨拍摄的方法第一实施例,步骤S10还可进一步包括:The first embodiment of the method for star-track shooting according to the present invention, step S10 may further include:
步骤S13,拍摄开始后,控制显示屏为黑屏状态,在预设时间内,通过摄像头连续采集星轨图像;Step S13, after the shooting starts, the control display screen is in a black screen state, and the star track image is continuously collected by the camera during the preset time;
在移动终端开始进行星轨拍摄时,控制移动终端的显示屏为黑屏状态,并在预设的时间内,通过移动终端的摄像头连续采集星轨图像,可以预先设置采集时间,通过摄像头每隔采集时间采集一张星轨图像,该采集时间相当于曝光时间,优选5~10S。When the mobile terminal starts to shoot the star track, the display screen of the mobile terminal is controlled to be in a black screen state, and the star track image is continuously collected by the camera of the mobile terminal within a preset time, and the collection time can be preset, and the camera collects each time. Time to collect a star track image, the acquisition time is equivalent to the exposure time, preferably 5 ~ 10S.
步骤S14,存储采集的所有星轨图像,在拍摄完成后,根据存储的所述星轨图像生成合成图像。Step S14, storing all the acquired satellite image, and after the shooting is completed, generating a composite image according to the stored star track image.
在拍摄的过程中,将拍摄的所有星轨图像存储至移动终端中的缓存模块中,在拍摄完成后,根据存储的所有星轨图像进行合成,以生成合成图像。这种情况下,从缓存模块中获取采集到的星轨图像,将其中的第一张作为待合成图像,将第二张星轨图像与待合成图像合成为一张当前合成图像,并依次将后面的星轨图像与上一张生成的合成图像进行合成,最终生 成所拍摄的所有星轨图像所形成的合成图像。During the shooting process, all the star track images captured are stored in the cache module in the mobile terminal, and after the shooting is completed, the synthesized images are synthesized according to all the stored star track images to generate a composite image. In this case, the acquired star track image is obtained from the cache module, and the first picture is taken as the image to be combined, and the second star track image and the image to be synthesized are combined into one current composite image, and the latter is sequentially The star track image is synthesized with the previously generated composite image, and the final A composite image of all the star-track images taken.
在一优选实施例中,对于同一位置不同时间的像素,判断当前的星轨图像中的像素的亮度是否大于过去所合成的图像中的像素的亮度,若是,则将过去图像中的像素替换为当前的星轨图像中的像素,在过去的图像中亮度较小的像素全部替换完后,即为最终合成的合成图像。即,本实施例的图像合成采用亮度选择的方式进行,以上一张合成的图像为基础,作为基础图像;然后选择后续图像中亮度比基础图像亮的像素进行替换的合成方法。In a preferred embodiment, for pixels at different times in the same position, it is determined whether the brightness of the pixels in the current star-track image is greater than the brightness of the pixels in the image synthesized in the past, and if so, the pixels in the past image are replaced with The pixels in the current star-track image are the final composite image after all the pixels with smaller brightness in the past image are replaced. That is, the image synthesis of the present embodiment is performed by means of brightness selection, based on the image synthesized above, as a base image; and then a synthesis method in which the luminance of the subsequent image is replaced with the pixel whose base image is brighter is selected.
比如从获取的星轨图像中选择了第一张星轨图像为基础,将第一张星轨图像与第二张星轨图像的对应位置的像素进行对比,如果第二张的亮度大于第一张的亮度,则提取出第二张星轨图像的像素来替换掉第一张星轨图像对应位置的像素,最后就得到了一张合成图像,然后又以这张合成图像为基础,对后续图像进行相同的处理,最终得到所拍摄的所有星轨图像所对应的合成图像。For example, based on the image of the first star track selected from the acquired star track image, the first star track image is compared with the pixel of the corresponding position of the second star track image, and if the brightness of the second sheet is greater than the brightness of the first sheet, the extraction is performed. The pixels of the second star-track image are replaced by the pixels corresponding to the position of the first star-track image, and finally a composite image is obtained, and then the subsequent image is subjected to the same processing based on the composite image, and finally the captured image is obtained. The composite image corresponding to all the star track images.
又如,星轨图像中包括像素单元1、像素单元2…像素单元n共n个像素单元,其中像素单元501~像素单元700共200个像素单元当前的图像的亮度大于过去的图像,则将当前的图像中像素单元501~像素单元700的像素替换过去的图像中像素单元501~像素单元700的像素,替换完成后获得一张新的图像,即当前合成图像。此种亮点替换的方式,相对于亮点叠加的方式,可以更加清晰的拍摄出星星运动的轨迹,防止星轨旁边的其它亮点过亮而影响星轨效果。For example, the pixel track image includes a pixel unit 1, a pixel unit 2, and a pixel unit n, and a total of n pixel units, wherein the brightness of the current image of the pixel unit 501 to the pixel unit 700 is greater than that of the past image. The pixels of the pixel unit 501 to the pixel unit 700 in the current image replace the pixels of the pixel unit 501 to the pixel unit 700 in the past image, and after the replacement is completed, a new image, that is, the current composite image is obtained. This way of replacing the bright spots, compared with the way of highlights superposition, can more clearly capture the trajectory of the star movement, preventing other bright spots next to the star track from being too bright and affecting the star track effect.
此外,还可以对合成图像进行降噪处理,同时还根据现有图像的曝光度,控制新合成图像的合成比例,抑制过曝产生。In addition, the composite image can also be subjected to noise reduction processing, and at the same time, according to the exposure degree of the existing image, the synthesis ratio of the newly synthesized image is controlled, and overexposure generation is suppressed.
参照图5,图5为本发明星轨拍摄的方法第三实施例的流程示意图。Referring to FIG. 5, FIG. 5 is a schematic flow chart of a third embodiment of a method for star-track shooting according to the present invention.
在上述本发明星轨拍摄的方法第一实施例的基础上,在第三实施例中, 执行步骤S20之前,该方法还包括:Based on the first embodiment of the method for shooting a star track of the present invention described above, in the third embodiment, Before performing step S20, the method further includes:
步骤S40,接收到用户点亮显示屏的指令时,向用户提示等待信息,以等待生成合成图像。Step S40, when receiving an instruction from the user to illuminate the display screen, prompting the user for the waiting information to wait for the generation of the composite image.
在达到预设时间之前,即合成图像未生成时,如接收到用户触发点亮显示屏的指示,则点亮屏幕,这种情况下,由于合成图像是在采集完所有的星轨图像后进行的,当用户点亮屏幕后,合成图像可能还在进行中,即还未生成,此时,向用户显示等待信息,以提示用户此时正在合成图像,请等待生成合成图像。在接收到等待信息后,用户可手动选择熄灭显示屏,也可继续保持显示屏为亮屏状态,等待合成图像生成。Before the preset time is reached, that is, when the composite image is not generated, the screen is illuminated if an indication that the user triggers the display of the display is received, in which case the composite image is acquired after all the star track images have been acquired. After the user lights up the screen, the composite image may still be in progress, that is, not yet generated. At this time, the waiting information is displayed to the user to prompt the user to synthesize the image at this time, please wait to generate a composite image. After receiving the waiting message, the user can manually select to turn off the display, or continue to keep the display in a bright state, waiting for the composite image to be generated.
在拍摄开始后,控制显示屏为黑屏状态,并在预设时间内通过摄像头连续采集星轨图像的过程中,将拍摄的所有星轨图像存储至移动终端中的缓存模块中,在拍摄完成后,根据存储的所有星轨图像进行合成,以生成合成图像,如在未到达预设时间之前如接收到用户点亮显示屏的指令,向用户提示等待信息,以等待生成合成图像,更进一步提升了用户的体验。After the shooting starts, the control display screen is in a black screen state, and during the preset time, the star track image is continuously collected by the camera, and all the star track images captured are stored in the cache module in the mobile terminal, after the shooting is completed. And synthesizing according to all stored star-track images to generate a composite image, such as receiving an instruction to light the display screen before the preset time is reached, prompting the user to wait for information, waiting to generate a composite image, further improving The user experience.
本发明进一步提供一种移动终端。The invention further provides a mobile terminal.
参照图6,图6为本发明移动终端第一实施例的功能模块示意图。Referring to FIG. 6, FIG. 6 is a schematic diagram of functional modules of a first embodiment of a mobile terminal according to the present invention.
在一实施例中,移动终端包括:In an embodiment, the mobile terminal includes:
采集及合成模块10,配置为拍摄开始后,控制显示屏为黑屏状态,在预设时间内采集星轨图像,根据星轨图像生成合成图像;The collecting and synthesizing
第一显示模块20,配置为在达到预设时间时,控制显示屏为亮屏状态,并显示生成的合成图像。The
本发明实施例为移动终端的拍摄功能增加了一种星轨拍摄模式,用户可以选择星轨拍摄模式或普通拍摄模式进行拍摄,其中,星轨拍摄模式结合星轨拍摄场景的要求,预先设定了曝光时间、ISO、分辨率、曝光补偿、降噪等参数,还可以根据不同地区上空不同的星空场景预设不同的参数, 供用户拍摄时进行选择。The embodiment of the invention adds a star track shooting mode for the shooting function of the mobile terminal, and the user can select the star track shooting mode or the normal shooting mode for shooting, wherein the star track shooting mode is combined with the requirements of the star track shooting scene, and is preset. The parameters such as exposure time, ISO, resolution, exposure compensation, noise reduction, etc., can also preset different parameters according to different starry sky scenes over different regions. For the user to choose when shooting.
当用户选择了星轨拍摄模式,按下拍摄按键或触发虚拟拍摄按键后,移动终端开始进行星轨拍摄,此时,采集及合成模块10控制移动终端的显示屏为黑屏状态,并在预设时间内采集所拍摄的星轨图像。本实施例中该预设时间为根据预计的星轨拍摄时间所预先设置的黑屏时间,即使移动终端的显示屏在整个拍摄过程中均保持黑屏状态,该预设时间可由用户自定义设置,也可由系统默认设置。在采集到星轨图像后,根据星轨图像生成合成图像,以向用户呈现星星的轨迹。可以将采集的星轨图像缓存于缓存模块中,以供在生成合成图像时从缓存模块中读取星轨图像进行合成,也可以直接在采集到星轨图像的过程中进行实时合成。When the user selects the star track shooting mode, the mobile terminal starts the star track shooting after pressing the shooting button or triggering the virtual shooting button. At this time, the collecting and synthesizing
在预设时间内拍摄星轨图像并完成全部拍摄,即达到预设时间时,第一显示模块20控制移动终端的显示屏为亮屏状态,并在显示屏上向用户呈现生成的合成图像,以向用户展示其所想要拍摄的星星的轨迹。The
本实施例在拍摄开始后,控制显示屏为黑屏状态,并在预设时间内采集星轨图像,以根据星轨图像生成合成图像;在达到预设时间时,控制显示屏为亮屏状态,并显示生成的合成图像。在拍摄星轨图像及合成图像的整个过程中保持移动终端的显示屏为黑屏状态,而在生成合成图像后才点亮屏幕向用户展示生成的合成图像,减小了拍摄过程中的电量消耗,从而提升了用户的体验。In this embodiment, after the shooting starts, the display screen is controlled to be in a black screen state, and the star track image is collected within a preset time to generate a composite image according to the star track image; when the preset time is reached, the display screen is controlled to be in a bright screen state. And the resulting composite image is displayed. Keeping the display screen of the mobile terminal in a black screen state during the process of capturing the star track image and the composite image, and lighting the screen to display the generated composite image to the user after generating the composite image, thereby reducing the power consumption during the shooting process. Thereby improving the user experience.
上述实施例中,采集及合成模块10,具体配置为:In the above embodiment, the collecting and synthesizing
拍摄开始后,控制显示屏为黑屏状态,在预设时间内,通过摄像头连续采集星轨图像;After the shooting starts, the control display screen is in a black screen state, and the star track image is continuously collected by the camera during the preset time;
实时将采集的当前星轨图像与上一张生成的合成图像进行合成,生成当前合成图像。Real-time synthesizing the acquired current star-track image with the previously generated composite image to generate the current composite image.
在移动终端开始进行星轨拍摄时,控制移动终端的显示屏为黑屏状态, 并在预设的时间内,通过移动终端的摄像头连续采集星轨图像,可以预先设置采集时间,通过摄像头每隔采集时间采集一张星轨图像,该采集时间相当于曝光时间,优选5~10S。When the mobile terminal starts to shoot the star track, the display screen of the mobile terminal is controlled to be in a black screen state. And in a preset time, through the camera of the mobile terminal continuously collecting the star track image, the acquisition time can be set in advance, and a star track image is collected by the camera every acquisition time, and the acquisition time is equivalent to the exposure time, preferably 5 to 10 seconds.
在拍摄的过程中,在采集到的第一张星轨图像时,将其作为待合成图像,在采集到第二张星轨图像后将其与待合成图像合成为一张当前合成图像,并依次将后面所采集到的星轨图像与上一张生成的合成图像进行合成,最终生成所拍摄的所有星轨图像所形成的合成图像。In the process of shooting, when the first star-track image is collected, it is taken as the image to be composited, and after the second star-track image is acquired, it is combined with the image to be synthesized into a current composite image, and the latter is sequentially The acquired star track image is combined with the previously generated composite image to finally generate a composite image formed by all the captured star track images.
在一优选实施例中,对于同一位置不同时间的像素,判断当前的星轨图像中的像素的亮度是否大于过去所合成的图像中的像素的亮度,若是,则将过去图像中的像素替换为当前的星轨图像中的像素,在过去的图像中亮度较小的像素全部替换完后,即为最终合成的合成图像。即,本实施例的图像合成采用亮度选择的方式进行,以上一张合成的图像(过去的图像)为基础,作为基础图像;然后选择后续图像中亮度比基础图像亮的像素进行替换的合成方法。In a preferred embodiment, for pixels at different times in the same position, it is determined whether the brightness of the pixels in the current star-track image is greater than the brightness of the pixels in the image synthesized in the past, and if so, the pixels in the past image are replaced with The pixels in the current star-track image are the final composite image after all the pixels with smaller brightness in the past image are replaced. That is, the image synthesis of the present embodiment is performed by means of brightness selection, based on the above-described synthesized image (past image) as a base image; and then a synthesis method in which the brightness of the subsequent image is replaced with the pixel whose base image is brighter is selected. .
比如已经采集到了第一张星轨图像,这时就以第一张星轨图像(过去的图像)为基础,当采集到第二张星轨图像(当前的图像)时,将第一张星轨图像与第二张星轨图像的对应位置的像素进行对比,如果第二张的亮度大于第一张的亮度,则提取出第二张星轨图像的像素来替换掉第一张星轨图像对应位置的像素,最后就得到了一张合成图像,然后又以这张合成图像为基础,对后续图像进行相同的处理,最终得到所拍摄的所有星轨图像所对应的合成图像。For example, the first star track image has been acquired, and based on the first star track image (past image), when the second star track image (current image) is acquired, the first star track image and the second star track image are Comparing the pixels of the corresponding position, if the brightness of the second picture is greater than the brightness of the first picture, extracting the pixels of the second star track image to replace the pixels corresponding to the position of the first star track image, and finally obtaining a composite image, Then, based on this composite image, the subsequent images are subjected to the same processing, and finally the composite images corresponding to all the captured star-track images are obtained.
又如,星轨图像中包括像素单元1、像素单元2…像素单元n共n个像素单元,其中像素单元501~像素单元700共200个像素单元当前的图像的亮度大于过去的图像,则将当前的图像中像素单元501~像素单元700的像素替换过去的图像中像素单元501~像素单元700的像素,替换完成后获得 一张新的图像,即当前合成图像。此种亮点替换的方式,相对于亮点叠加的方式,可以更加清晰的拍摄出星星运动的轨迹,防止星轨旁边的其它亮点过亮而影响星轨效果。For example, the pixel track image includes a pixel unit 1, a pixel unit 2, and a pixel unit n, and a total of n pixel units, wherein the brightness of the current image of the pixel unit 501 to the pixel unit 700 is greater than that of the past image. The pixels of the pixel unit 501 to the pixel unit 700 in the current image replace the pixels of the pixel unit 501 to the pixel unit 700 in the past image, and are obtained after the replacement is completed. A new image, the current composite image. This way of replacing the bright spots, compared with the way of highlights superposition, can more clearly capture the trajectory of the star movement, preventing other bright spots next to the star track from being too bright and affecting the star track effect.
此外,还可以对合成图像进行降噪处理,同时还根据现有图像的曝光度,控制新合成图像的合成比例,抑制过曝产生。In addition, the composite image can also be subjected to noise reduction processing, and at the same time, according to the exposure degree of the existing image, the synthesis ratio of the newly synthesized image is controlled, and overexposure generation is suppressed.
参照图7,图7为本发明移动终端第二实施例的功能模块示意图。Referring to FIG. 7, FIG. 7 is a schematic diagram of functional modules of a second embodiment of a mobile terminal according to the present invention.
在本发明移动终端第一实施例的基础上,在第二实施例中,移动终端还包括:On the basis of the first embodiment of the mobile terminal of the present invention, in the second embodiment, the mobile terminal further includes:
第二显示模块30,配置为接收到用户点亮显示屏的指令时,向用户显示生成的当前合成图像。The
在达到预设时间之前,即合成图像未生成时,用户可随时通过移动终端的开关键点亮显示屏,以查看当前星轨图像拍摄的情况,如接收到用户触发点亮显示屏的指示,则点亮屏幕,由于是在拍摄的过程中实时合成当前合成图像,因而在用户点亮屏幕后,可通过第二显示模块30向用户显示当前所合成的当前合成图像,以供用户了解星轨图像所对应的合成图像的合成情况。Before the preset time is reached, that is, when the composite image is not generated, the user can illuminate the display screen at any time through the opening key of the mobile terminal to view the current star-track image shooting situation, such as receiving an indication that the user triggers the lighting display. Then, the screen is illuminated. Since the current composite image is synthesized in real time during the shooting process, after the user lights the screen, the currently synthesized current composite image can be displayed to the user through the
在拍摄开始后,控制显示屏为黑屏状态,并在预设时间内通过摄像头连续采集星轨图像的过程中,实时将采集的当前星轨图像与上一张生成的合成图像进行合成,生成当前合成图像,并根据当前合成图像与下一张星轨图像进行合成,直至生成星轨图像对应的合成图像,以便于在未到达预设时间之前如接收到用户点亮显示屏的指令,向用户显示所合成的当前合成图像,供用户了解合成图像的合成情况,从而进一步提升了用户的体验。After the shooting starts, the control display screen is in a black screen state, and during the preset time, the current star track image is combined with the previous generated composite image in the process of continuously collecting the star track image through the camera to generate the current Combining the image and synthesizing the current composite image with the next star track image until the composite image corresponding to the star track image is generated, so as to display the instruction to the user before receiving the instruction to light the display screen before the preset time is reached. The synthesized current composite image allows the user to understand the synthesis of the composite image, thereby further enhancing the user experience.
基于本发明移动终端第一实施例,采集及合成模块10,还配置为:Based on the first embodiment of the mobile terminal of the present invention, the acquisition and
拍摄开始后,控制显示屏为黑屏状态,在预设时间内,通过摄像头连 续采集星轨图像;After the shooting starts, the control display is in a black screen state, and the camera is connected within the preset time. Continue to collect star track images;
存储采集的所有星轨图像,在拍摄完成后,根据存储的星轨图像生成合成图像。Stores all acquired satellite image images, and after the shooting is completed, generates a composite image based on the stored star track image.
在移动终端开始进行星轨拍摄时,控制移动终端的显示屏为黑屏状态,并在预设的时间内,通过移动终端的摄像头连续采集星轨图像,可以预先设置采集时间,通过摄像头每隔采集时间采集一张星轨图像,该采集时间相当于曝光时间,优选5~10S。When the mobile terminal starts to shoot the star track, the display screen of the mobile terminal is controlled to be in a black screen state, and the star track image is continuously collected by the camera of the mobile terminal within a preset time, and the collection time can be preset, and the camera collects each time. Time to collect a star track image, the acquisition time is equivalent to the exposure time, preferably 5 ~ 10S.
在拍摄的过程中,将拍摄的所有星轨图像存储至移动终端中的缓存模块中,在拍摄完成后,根据存储的所有星轨图像进行合成,以生成合成图像。这种情况下,从缓存模块中获取采集到的星轨图像,将其中的第一张作为待合成图像,将第二张星轨图像与待合成图像合成为一张当前合成图像,并依次将后面的星轨图像与上一张生成的合成图像进行合成,最终生成所拍摄的所有星轨图像所形成的合成图像。During the shooting process, all the star track images captured are stored in the cache module in the mobile terminal, and after the shooting is completed, the synthesized images are synthesized according to all the stored star track images to generate a composite image. In this case, the acquired star track image is obtained from the cache module, and the first picture is taken as the image to be combined, and the second star track image and the image to be synthesized are combined into one current composite image, and the latter is sequentially The star-track image is synthesized with the previously generated composite image, and finally a composite image formed by all the captured star-track images is generated.
在一优选实施例中,对于同一位置不同时间的像素,判断当前的星轨图像中的像素的亮度是否大于过去所合成的图像中的像素的亮度,若是,则将过去图像中的像素替换为当前的星轨图像中的像素,在过去的图像中亮度较小的像素全部替换完后,即为最终合成的合成图像。即,本实施例的图像合成采用亮度选择的方式进行,以上一张合成的图像为基础,作为基础图像;然后选择后续图像中亮度比基础图像亮的像素进行替换的合成方法。In a preferred embodiment, for pixels at different times in the same position, it is determined whether the brightness of the pixels in the current star-track image is greater than the brightness of the pixels in the image synthesized in the past, and if so, the pixels in the past image are replaced with The pixels in the current star-track image are the final composite image after all the pixels with smaller brightness in the past image are replaced. That is, the image synthesis of the present embodiment is performed by means of brightness selection, based on the image synthesized above, as a base image; and then a synthesis method in which the luminance of the subsequent image is replaced with the pixel whose base image is brighter is selected.
比如从获取的星轨图像中选择了第一张星轨图像为基础,将第一张星轨图像与第二张星轨图像的对应位置的像素进行对比,如果第二张的亮度大于第一张的亮度,则提取出第二张星轨图像的像素来替换掉第一张星轨图像对应位置的像素,最后就得到了一张合成图像,然后又以这张合成图像为基础,对后续图像进行相同的处理,最终得到所拍摄的所有星轨图像 所对应的合成图像。For example, based on the image of the first star track selected from the acquired star track image, the first star track image is compared with the pixel of the corresponding position of the second star track image, and if the brightness of the second sheet is greater than the brightness of the first sheet, the extraction is performed. The pixels of the second star-track image are replaced by the pixels corresponding to the position of the first star-track image, and finally a composite image is obtained, and then the subsequent image is subjected to the same processing based on the composite image, and finally the captured image is obtained. All star track images Corresponding composite image.
又如,星轨图像中包括像素单元1、像素单元2…像素单元n共n个像素单元,其中像素单元501~像素单元700共200个像素单元当前的图像的亮度大于过去的图像,则将当前的图像中像素单元501~像素单元700的像素替换过去的图像中像素单元501~像素单元700的像素,替换完成后获得一张新的图像,即当前合成图像。此种亮点替换的方式,相对于亮点叠加的方式,可以更加清晰的拍摄出星星运动的轨迹,防止星轨旁边的其它亮点过亮而影响星轨效果。For example, the pixel track image includes a pixel unit 1, a pixel unit 2, and a pixel unit n, and a total of n pixel units, wherein the brightness of the current image of the pixel unit 501 to the pixel unit 700 is greater than that of the past image. The pixels of the pixel unit 501 to the pixel unit 700 in the current image replace the pixels of the pixel unit 501 to the pixel unit 700 in the past image, and after the replacement is completed, a new image, that is, the current composite image is obtained. This way of replacing the bright spots, compared with the way of highlights superposition, can more clearly capture the trajectory of the star movement, preventing other bright spots next to the star track from being too bright and affecting the star track effect.
此外,还可以对合成图像进行降噪处理,同时还根据现有图像的曝光度,控制新合成图像的合成比例,抑制过曝产生。In addition, the composite image can also be subjected to noise reduction processing, and at the same time, according to the exposure degree of the existing image, the synthesis ratio of the newly synthesized image is controlled, and overexposure generation is suppressed.
参照图8,图8为本发明移动终端第三实施例的功能模块示意图。Referring to FIG. 8, FIG. 8 is a schematic diagram of functional modules of a third embodiment of a mobile terminal according to the present invention.
在本发明移动终端第一实施例的基础上,在第三实施例中,移动终端还包括:On the basis of the first embodiment of the mobile terminal of the present invention, in the third embodiment, the mobile terminal further includes:
第三显示模块40,配置为接收到用户点亮显示屏的指令时,向用户提示等待信息,以等待生成合成图像。The
在达到预设时间之前,即合成图像未生成时,如接收到用户触发点亮显示屏的指示,则点亮屏幕,这种情况下,由于合成图像是在采集完所有的星轨图像后进行的,当用户点亮屏幕后,合成图像可能还在进行中,即还未生成,此时,第三显示模块40向用户显示等待信息,以提示用户此时正在合成图像,请等待生成合成图像。在接收到等待信息后,用户可手动选择熄灭显示屏,也可继续保持显示屏为亮屏状态,等待合成图像生成。Before the preset time is reached, that is, when the composite image is not generated, the screen is illuminated if an indication that the user triggers the display of the display is received, in which case the composite image is acquired after all the star track images have been acquired. After the user lights up the screen, the composite image may still be in progress, that is, not yet generated. At this time, the
在拍摄开始后,控制显示屏为黑屏状态,并在预设时间内通过摄像头连续采集星轨图像的过程中,将拍摄的所有星轨图像存储至移动终端中的缓存模块中,在拍摄完成后,根据存储的所有星轨图像进行合成,以生成合成图像,如在未到达预设时间之前如接收到用户点亮显示屏的指令,向 用户提示等待信息,以等待生成合成图像,更进一步提升了用户的体验。After the shooting starts, the control display screen is in a black screen state, and during the preset time, the star track image is continuously collected by the camera, and all the star track images captured are stored in the cache module in the mobile terminal, after the shooting is completed. , synthesizing according to all stored star-track images to generate a composite image, such as receiving an instruction to light the display screen before the preset time is reached, The user prompts for information to wait for a composite image to be generated, further enhancing the user experience.
上述实施例中,仅以星空图像为例来说明一种物体运动轨迹的拍摄方法。本发明还提供一种物体运动轨迹的拍摄方法。In the above embodiment, only a starry sky image is taken as an example to illustrate a method of photographing an object motion trajectory. The invention also provides a method for photographing an object's motion trajectory.
参照图9,图9为本发明物体运动轨迹的拍摄方法第一实施例的流程示意图。Referring to FIG. 9, FIG. 9 is a schematic flow chart of a first embodiment of a method for photographing an object motion trajectory according to the present invention.
在一实施例中,该物体运动轨迹的拍摄方法包括:In an embodiment, the method for photographing the motion trajectory of the object includes:
步骤S01,拍摄开始后,控制显示屏为黑屏状态,在预设时间内采集物体运动图像,根据物体运动图像生成合成图像;Step S01, after the shooting starts, the control display screen is in a black screen state, the moving image of the object is collected within a preset time, and the composite image is generated according to the moving image of the object;
本发明为移动终端的拍摄功能增加了一种运动轨迹拍摄模式,用户可以选择运动轨迹拍摄模式或普通拍摄模式对物体的运动轨迹进行拍摄,其中,运动轨迹拍摄模式结合运动轨迹拍摄场景的要求,预先设定了曝光时间、ISO、分辨率、曝光补偿、降噪等参数,还可以根据不同地区上空不同的星空场景预设不同的参数,供用户拍摄时进行选择。本实施例中物体运动实质为与拍摄的移动终端之间是相对运动的,运动类型可以包括以下三种情况:一、物体的状态为运动,移动终端的状态为静止;二、物体的状态为静止,移动终端的状态为运动;三、物体和移动终端的状态一致,但相对位置发生变动。The invention adds a motion track shooting mode for the shooting function of the mobile terminal, and the user can select the motion track shooting mode or the normal shooting mode to shoot the motion track of the object, wherein the motion track shooting mode combines the requirements of the motion track shooting scene, Pre-set exposure time, ISO, resolution, exposure compensation, noise reduction and other parameters, you can also preset different parameters according to different starry sky scenes over different regions, for users to choose when shooting. In this embodiment, the object motion is substantially relative to the captured mobile terminal, and the motion type may include the following three situations: 1. The state of the object is motion, the state of the mobile terminal is static; and the state of the object is At rest, the state of the mobile terminal is motion; third, the state of the object and the mobile terminal are the same, but the relative position changes.
当用户选择了运动轨迹拍摄模式,按下拍摄按键或触发虚拟拍摄按键后,移动终端开始进行运动轨迹拍摄,此时,控制移动终端的显示屏为黑屏状态,并在预设时间内采集所拍摄的物体运动图像。本实施例中该预设时间为根据预计的运动轨迹拍摄时间所预先设置的黑屏时间,即使移动终端的显示屏在整个拍摄过程中均保持黑屏状态,该预设时间可由用户自定义设置,也可由系统默认设置。在采集到物体运动图像后,根据物体运动图像生成合成图像,以向用户呈现物体运动的轨迹。可以将采集的物体运动图像缓存于缓存模块中,以供在生成合成图像时从缓存模块中读取物体 运动图像进行合成,也可以直接在采集到物体运动图像的过程中进行实时合成。When the user selects the motion track shooting mode, the mobile terminal starts to perform the motion track shooting after pressing the shooting button or triggering the virtual shooting button. At this time, the display screen of the mobile terminal is controlled to be in a black screen state, and the shooting is taken within a preset time. Object motion image. In this embodiment, the preset time is a black screen time preset according to the estimated motion trajectory shooting time, and the preset time can be customized by the user even if the display screen of the mobile terminal remains in a black screen state during the entire shooting process. Can be set by the system by default. After the moving image of the object is acquired, a composite image is generated according to the moving image of the object to present the trajectory of the motion of the object to the user. The captured moving image of the object can be cached in the cache module for reading the object from the cache module when generating the composite image The moving image is synthesized, and the real-time synthesis can also be performed directly in the process of acquiring the moving image of the object.
步骤S02,在达到预设时间时,控制显示屏为亮屏状态,并显示生成的合成图像。In step S02, when the preset time is reached, the display screen is controlled to be in a bright screen state, and the generated composite image is displayed.
在预设时间内拍摄物体运动图像并完成全部拍摄,即达到预设时间时,控制移动终端的显示屏为亮屏状态,并在显示屏上向用户呈现生成的合成图像,以向用户展示其所想要拍摄的物体运动的轨迹。The moving image of the object is captured within a preset time and all shooting is completed, that is, when the preset time is reached, the display screen of the mobile terminal is controlled to be in a bright screen state, and the generated composite image is presented to the user on the display screen to display the user to the user. The trajectory of the motion of the object you want to shoot.
本实施例在拍摄开始后,控制显示屏为黑屏状态,并在预设时间内采集物体运动图像,以根据物体运动图像生成合成图像;在达到预设时间时,控制显示屏为亮屏状态,并显示生成的合成图像。在拍摄物体运动图像及合成图像的整个过程中保持移动终端的显示屏为黑屏状态,而在生成合成图像后才点亮屏幕向用户展示生成的合成图像,减小了拍摄过程中的电量消耗,从而提升了用户的体验。In this embodiment, after the shooting starts, the display screen is controlled to be in a black screen state, and the moving image of the object is collected within a preset time to generate a composite image according to the moving image of the object; when the preset time is reached, the display screen is controlled to be in a bright screen state. And the resulting composite image is displayed. The display screen of the mobile terminal is kept in a black screen state during the whole process of capturing the moving image of the object and the composite image, and the generated image is displayed on the screen after the composite image is generated, thereby reducing the power consumption during the shooting process. Thereby improving the user experience.
本实施例详细的描述可以参考前述实施例提出的星轨的拍摄方法全部实施例的描述,在此不再赘述。For a detailed description of the embodiment, reference may be made to the description of all the embodiments of the method for shooting the star track proposed in the foregoing embodiments, and details are not described herein again.
本发明还提供一种移动终端。The invention also provides a mobile terminal.
在一实施例中,该移动终端包括:In an embodiment, the mobile terminal comprises:
采集及合成模块,配置为拍摄开始后,控制显示屏为黑屏状态,在预设时间内采集物体运动图像,根据物体运动图像生成合成图像;The acquisition and synthesis module is configured to control the display screen to be in a black screen state after the start of shooting, collect an object moving image within a preset time, and generate a composite image according to the moving image of the object;
第一显示模块,配置为在达到预设时间时,控制显示屏为亮屏状态,并显示生成的合成图像。The first display module is configured to control the display screen to be in a bright screen state when the preset time is reached, and display the generated composite image.
本发明实施例为移动终端的拍摄功能增加了一种运动轨迹拍摄模式,用户可以选择运动轨迹拍摄模式或普通拍摄模式对物体的运动轨迹进行拍摄,其中,运动轨迹拍摄模式结合运动轨迹拍摄场景的要求,预先设定了曝光时间、ISO、分辨率、曝光补偿、降噪等参数,还可以根据不同地区上 空不同的星空场景预设不同的参数,供用户拍摄时进行选择。本实施例中物体运动实质为与拍摄的移动终端之间是相对运动的,运动类型可以包括以下三种情况:一、物体的状态为运动,移动终端的状态为静止;二、物体的状态为静止,移动终端的状态为运动;三、物体和移动终端的状态都为运动。The embodiment of the invention adds a motion track shooting mode for the shooting function of the mobile terminal, and the user can select the motion track shooting mode or the normal shooting mode to capture the motion track of the object, wherein the motion track shooting mode combines the motion track to shoot the scene. Requirements, preset exposure time, ISO, resolution, exposure compensation, noise reduction and other parameters, can also be based on different regions Different sky-space scenes preset different parameters for the user to select when shooting. In this embodiment, the object motion is substantially relative to the captured mobile terminal, and the motion type may include the following three situations: 1. The state of the object is motion, the state of the mobile terminal is static; and the state of the object is At rest, the state of the mobile terminal is motion; third, the state of both the object and the mobile terminal is motion.
当用户选择了运动轨迹拍摄模式,按下拍摄按键或触发虚拟拍摄按键后,移动终端开始进行运动轨迹拍摄,此时,采集及合成模块控制移动终端的显示屏为黑屏状态,并在预设时间内采集所拍摄的物体运动图像。本实施例中该预设时间为根据预计的运动轨迹拍摄时间所预先设置的黑屏时间,即使移动终端的显示屏在整个拍摄过程中均保持黑屏状态,该预设时间可由用户自定义设置,也可由系统默认设置。在采集到物体运动图像后,根据物体运动图像生成合成图像,以向用户呈现物体运动的轨迹。可以将采集的物体运动图像缓存于缓存模块中,以供在生成合成图像时从缓存模块中读取物体运动图像进行合成,也可以直接在采集到物体运动图像的过程中进行实时合成。When the user selects the motion track shooting mode, after pressing the shooting button or triggering the virtual shooting button, the mobile terminal starts the motion track shooting. At this time, the collecting and synthesizing module controls the display screen of the mobile terminal to be in a black screen state, and at the preset time. The moving image of the captured object is captured. In this embodiment, the preset time is a black screen time preset according to the estimated motion trajectory shooting time, and the preset time can be customized by the user even if the display screen of the mobile terminal remains in a black screen state during the entire shooting process. Can be set by the system by default. After the moving image of the object is acquired, a composite image is generated according to the moving image of the object to present the trajectory of the motion of the object to the user. The collected moving image of the object may be cached in the cache module for synthesizing the moving image of the object from the cache module when the composite image is generated, or may be synthesized in real time during the process of acquiring the moving image of the object.
在预设时间内拍摄物体运动图像并完成全部拍摄,即达到预设时间时,第一显示模块控制移动终端的显示屏为亮屏状态,并在显示屏上向用户呈现生成的合成图像,以向用户展示其所想要拍摄的物体运动的轨迹。When the moving image of the object is captured and the whole shooting is completed within a preset time, that is, when the preset time is reached, the first display module controls the display screen of the mobile terminal to be in a bright screen state, and presents the generated composite image to the user on the display screen, Show the user the trajectory of the motion of the object he wants to shoot.
本实施例在拍摄开始后,控制显示屏为黑屏状态,并在预设时间内采集物体运动图像,以根据物体运动图像生成合成图像;在达到预设时间时,控制显示屏为亮屏状态,并显示生成的合成图像。在拍摄物体运动图像及合成图像的整个过程中保持移动终端的显示屏为黑屏状态,而在生成合成图像后才点亮屏幕向用户展示生成的合成图像,减小了拍摄过程中的电量消耗,从而提升了用户的体验。In this embodiment, after the shooting starts, the display screen is controlled to be in a black screen state, and the moving image of the object is collected within a preset time to generate a composite image according to the moving image of the object; when the preset time is reached, the display screen is controlled to be in a bright screen state. And the resulting composite image is displayed. The display screen of the mobile terminal is kept in a black screen state during the whole process of capturing the moving image of the object and the composite image, and the generated image is displayed on the screen after the composite image is generated, thereby reducing the power consumption during the shooting process. Thereby improving the user experience.
本实施例详细的描述可以参考前述实施例提出的移动终端全部实施例 的描述,在此不再赘述。For a detailed description of this embodiment, reference may be made to all embodiments of the mobile terminal proposed in the foregoing embodiments. The description is not repeated here.
本发明实施例提供的移动终端中的采集及合成模块、第一显示模块、采集及合成模块、第二显示模块和第三显示模块,都可以通过移动终端中的处理器来实现;当然上述处理器完成的功能也可通过具体的逻辑电路实现;在具体实施例的过程中,处理器可以为中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等。The acquiring and synthesizing module, the first display module, the collecting and synthesizing module, the second display module and the third display module in the mobile terminal provided by the embodiment of the present invention can all be implemented by a processor in the mobile terminal; The functions performed by the device can also be implemented by specific logic circuits; in the process of a specific embodiment, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or field programmable. Gate array (FPGA), etc.
需要说明的是,本发明实施例中,如果以软件功能模块的形式实现上述的物体运动轨迹的拍摄方法或者物体运动轨迹的拍摄方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本发明实施例不限制于任何特定的硬件和软件结合。It should be noted that, in the embodiment of the present invention, if the above-mentioned object motion trajectory shooting method or the object motion trajectory shooting method is implemented in the form of a software function module, and is sold or used as an independent product, it may also be stored in one The computer can read the storage medium. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. A computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention. The foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
相应地,本发明实施例再提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行本发明实施例中星轨拍摄的方法。Correspondingly, the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute a method for star track shooting in the embodiment of the present invention.
相应地,本发明实施例再提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行本发明实施例中物体运动轨迹的拍摄方法。Correspondingly, the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute a method for photographing an object motion track in the embodiment of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围 内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention. Inside.
本发明实施例中,拍摄开始后,控制显示屏为黑屏状态,在预设时间内采集星轨图像,根据星轨图像生成合成图像;在达到预设时间时,控制显示屏为亮屏状态,并显示生成的合成图像;如此,在拍摄星轨图像及合成图像的整个过程中保持移动终端的显示屏为黑屏状态,而在生成合成图像后才点亮屏幕向用户展示生成的合成图像,减小了拍摄过程中的电量消耗,从而提升了用户的体验。 In the embodiment of the present invention, after the shooting starts, the display screen is controlled to be in a black screen state, the star track image is collected within a preset time, and the composite image is generated according to the star track image; when the preset time is reached, the display screen is controlled to be in a bright screen state. And displaying the generated composite image; thus, the display screen of the mobile terminal is kept in a black screen state during the process of capturing the star track image and the composite image, and the generated image is displayed on the screen after the composite image is generated, minus The power consumption during shooting is reduced, which enhances the user experience.
Claims (22)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410340300.4 | 2014-07-16 | ||
| CN201410340300.4A CN104104873A (en) | 2014-07-16 | 2014-07-16 | Orbit shooting method, shooting method of object motion trails and mobile terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016008356A1 true WO2016008356A1 (en) | 2016-01-21 |
Family
ID=51672642
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/082405 Ceased WO2016008356A1 (en) | 2014-07-16 | 2015-06-25 | Method for shooting star track, method for shooting object movement track and mobile terminal |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN104104873A (en) |
| WO (1) | WO2016008356A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112102190A (en) * | 2020-09-14 | 2020-12-18 | 努比亚技术有限公司 | Image processing method, mobile terminal and computer readable storage medium |
Families Citing this family (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104104873A (en) * | 2014-07-16 | 2014-10-15 | 深圳市中兴移动通信有限公司 | Orbit shooting method, shooting method of object motion trails and mobile terminal |
| CN104113642B (en) * | 2014-07-30 | 2020-03-31 | 努比亚技术有限公司 | Power saving method and device in shooting process |
| CN104469172B (en) * | 2014-12-31 | 2018-05-08 | 小米科技有限责任公司 | Time-lapse shooting method and device |
| KR20170014556A (en) * | 2015-07-30 | 2017-02-08 | 삼성전자주식회사 | Method and photographing device for photographing a moving object |
| CN105975560B (en) * | 2016-04-29 | 2020-01-03 | 广东小天才科技有限公司 | Question searching method and device of intelligent equipment |
| CN107333056A (en) * | 2017-06-13 | 2017-11-07 | 努比亚技术有限公司 | Image processing method, device and the computer-readable recording medium of moving object |
| CN108111690A (en) * | 2017-12-26 | 2018-06-01 | 北京传嘉科技有限公司 | Image pickup method and mobile electronic terminal |
| US11128764B2 (en) * | 2018-05-17 | 2021-09-21 | Canon Kabushiki Kaisha | Imaging apparatus, control method, and non-transitory computer readable medium |
| CN110913118B (en) * | 2018-09-17 | 2021-12-17 | 腾讯数码(天津)有限公司 | Video processing method, device and storage medium |
| CN109361870A (en) * | 2018-11-28 | 2019-02-19 | 维沃移动通信有限公司 | A photographing method and terminal device |
| CN111510961A (en) * | 2019-01-30 | 2020-08-07 | 电信科学技术研究院有限公司 | Method and equipment for updating neighbor cell |
| CN120282018A (en) * | 2023-12-29 | 2025-07-08 | 荣耀终端股份有限公司 | Image photographing method, electronic device, and computer-readable storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103442170A (en) * | 2013-08-07 | 2013-12-11 | 广东欧珀移动通信有限公司 | Shooting method and mobile terminal |
| CN103533243A (en) * | 2013-10-16 | 2014-01-22 | 深圳市中兴移动通信有限公司 | Mobile terminal and shooting method thereof |
| CN103905730A (en) * | 2014-03-24 | 2014-07-02 | 深圳市中兴移动通信有限公司 | Shooting method of mobile terminal and mobile terminal |
| CN104104873A (en) * | 2014-07-16 | 2014-10-15 | 深圳市中兴移动通信有限公司 | Orbit shooting method, shooting method of object motion trails and mobile terminal |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006119999A (en) * | 2004-10-22 | 2006-05-11 | Orion Denki Kk | Electronic equipment provided with display control function |
-
2014
- 2014-07-16 CN CN201410340300.4A patent/CN104104873A/en active Pending
-
2015
- 2015-06-25 WO PCT/CN2015/082405 patent/WO2016008356A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103442170A (en) * | 2013-08-07 | 2013-12-11 | 广东欧珀移动通信有限公司 | Shooting method and mobile terminal |
| CN103533243A (en) * | 2013-10-16 | 2014-01-22 | 深圳市中兴移动通信有限公司 | Mobile terminal and shooting method thereof |
| CN103905730A (en) * | 2014-03-24 | 2014-07-02 | 深圳市中兴移动通信有限公司 | Shooting method of mobile terminal and mobile terminal |
| CN104104873A (en) * | 2014-07-16 | 2014-10-15 | 深圳市中兴移动通信有限公司 | Orbit shooting method, shooting method of object motion trails and mobile terminal |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112102190A (en) * | 2020-09-14 | 2020-12-18 | 努比亚技术有限公司 | Image processing method, mobile terminal and computer readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104104873A (en) | 2014-10-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2016008356A1 (en) | Method for shooting star track, method for shooting object movement track and mobile terminal | |
| JP6388673B2 (en) | Mobile terminal and imaging method thereof | |
| KR101873668B1 (en) | Mobile terminal photographing method and mobile terminal | |
| CN104125407B (en) | The image pickup method and mobile terminal of movement locus of object | |
| US10171753B2 (en) | Shooting method, shooting device and computer storage medium | |
| JP2017220892A (en) | Image processing device and image processing method | |
| JP6460721B2 (en) | Image processing apparatus, image processing method, and program | |
| JP2012119858A (en) | Imaging device, imaging method, and program | |
| WO2016019770A1 (en) | Method, device and storage medium for picture synthesis | |
| WO2016011877A1 (en) | Method for filming light painting video, mobile terminal, and storage medium | |
| KR102207633B1 (en) | Image photographing apparatus and control methods thereof | |
| CN105516611A (en) | An imaging device and a shooting method | |
| JP2012109900A (en) | Photographing device, photographing method and program | |
| WO2016008359A1 (en) | Object movement track image synthesizing method, device and computer storage medium | |
| US20170280066A1 (en) | Image processing method by image processing apparatus | |
| WO2016015544A1 (en) | Method and device for shooting track of moving object | |
| CN106254790A (en) | Take pictures processing method and processing device | |
| JP6223173B2 (en) | Image processing apparatus, control method thereof, and program | |
| JP2014057191A (en) | Imaging apparatus | |
| JP5910613B2 (en) | Image composition apparatus and program | |
| US11336802B2 (en) | Imaging apparatus | |
| CN114342350A (en) | Imaging control device, imaging control method, program, and imaging apparatus | |
| JP2004179708A (en) | Digital camera and control method therefor | |
| CN111225158B (en) | Image generation method and apparatus, electronic device, computer-readable storage medium | |
| JP6789672B2 (en) | Imaging device, its control method and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15822328 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 12/06/2017) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15822328 Country of ref document: EP Kind code of ref document: A1 |