WO2016008364A1 - Star orbit shooting method, and object movement track shooting method, device and storage medium - Google Patents

Star orbit shooting method, and object movement track shooting method, device and storage medium Download PDF

Info

Publication number
WO2016008364A1
WO2016008364A1 PCT/CN2015/082983 CN2015082983W WO2016008364A1 WO 2016008364 A1 WO2016008364 A1 WO 2016008364A1 CN 2015082983 W CN2015082983 W CN 2015082983W WO 2016008364 A1 WO2016008364 A1 WO 2016008364A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
marked
terminal
starry sky
star
Prior art date
Application number
PCT/CN2015/082983
Other languages
French (fr)
Chinese (zh)
Inventor
邹明双
崔小辉
苗雷
里强
Original Assignee
努比亚技术有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Publication of WO2016008364A1 publication Critical patent/WO2016008364A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/681Motion detection

Definitions

  • the invention relates to the field of camera technology, in particular to a star track shooting method, an object motion track shooting method, a device and a computer storage medium.
  • Nebula shooting is mainly used to capture the starlight in the sky, and can be used to synthesize the static image of the starry sky as a dynamic video that can display the process of starry sky changes.
  • the stars in the sky change from less to more
  • the clouds change from less to more. Change process or drift process, etc.
  • embodiments of the present invention are directed to providing a star-track imaging method, apparatus, and computer storage medium, aiming to avoid the effect of jitter on a star-track image or a star-track video, and at the same time, an embodiment of the present invention also provides an object.
  • a motion trajectory photographing method, apparatus, and computer storage medium are designed to avoid the effect of jitter on an object image or an object video.
  • an embodiment of the present invention provides a method for shooting a star track, the method comprising the following steps:
  • the method further includes:
  • the step of deleting the marked starry sky image includes:
  • the method further includes:
  • the step of not deleting the marked starry sky image includes:
  • the method before the step of detecting whether the terminal has a jitter phenomenon, the method further includes:
  • the embodiment of the invention further provides a star track photographing device, the device comprising:
  • the first detecting module is configured to detect whether the terminal is jittery when shooting the starry sky image
  • a marking module configured to mark a currently photographed starry sky image when a jitter is detected in the terminal.
  • the device further includes:
  • a processing module configured to remove the marked starry sky image.
  • the processing module is further configured to delete the marked starry sky image in real time, or delete the marked starry sky image after capturing all the required starry sky images.
  • the device further includes:
  • the second detecting module is configured to detect whether the marked star image conforms to the deletion condition; if yes, the processing module deletes the marked star image; otherwise, the marked star image is not deleted.
  • the processing module is further configured to detect the tag in the second detecting module.
  • the starry sky image does not meet the deletion condition, the original starry sky image of the mark is retained, or the starry sky image of the mark is corrected.
  • the device further includes: a determining module and an obtaining module, wherein:
  • the determining module is configured to determine whether the current shooting time is the time when the terminal shutter is pressed when shooting the starry sky image; if not, the first detecting module detects whether the terminal has a jitter phenomenon; otherwise, the obtaining is performed by the acquiring The module acquires a starry sky image taken when the terminal shutter is pressed;
  • the processing module is further configured to delete the starry sky image captured when the terminal shutter is pressed.
  • the embodiment of the invention further provides a method for photographing an object motion trajectory, the method comprising:
  • the method further comprises: deleting the marked object image.
  • the step of deleting the marked object image includes:
  • the marked object image is deleted in real time, or the marked object image is deleted after all the required object images have been taken.
  • the method further includes:
  • Detecting whether the marked object image meets the deletion condition if yes, performing the step of: deleting the marked object image; otherwise, deleting the marked object image.
  • the step of not deleting the marked object image includes:
  • the original object image of the mark is retained, or the image of the marked object is corrected.
  • the method before the step of detecting whether the terminal has a jitter phenomenon, the method further includes:
  • determining whether the current shooting time is the time when the terminal shutter is pressed; if not, performing the step of: detecting whether the terminal is shaken; otherwise
  • the image of the subject captured when the terminal shutter is pressed is deleted.
  • An embodiment of the present invention further provides an apparatus for photographing an object motion trajectory, the apparatus comprising:
  • the first detecting module is configured to detect whether the terminal has a jitter phenomenon when the image of the object is captured;
  • the marking module is configured to mark the currently photographed object image when detecting that the terminal is shaken.
  • the device further includes:
  • a processing module configured to delete the marked object image.
  • the processing module is further configured to delete the marked object image in real time, or delete the marked object image after capturing all the required object images.
  • the device further includes:
  • the second detecting module is configured to detect whether the marked object image meets the deletion condition; if yes, the marked image is deleted by the processing module; otherwise, the marked object image is not deleted.
  • the processing module is further configured to: when the second detection module detects that the marked object image does not meet the deletion condition, retain the original object image of the mark, or correct the marked object image.
  • the device further includes: a determining module and an obtaining module, wherein:
  • the determining module is configured to determine whether the current shooting time is the time when the terminal shutter is pressed when the image of the object is captured; if not, the first detecting module detects whether the terminal has a jitter phenomenon; otherwise, the obtaining is performed by the acquiring The module acquires an image of an object photographed when the terminal shutter is pressed;
  • the processing module is further configured to delete an image of the object captured when the terminal shutter is pressed.
  • the embodiment of the invention provides a computer storage medium, wherein the computer storage medium stores a computer program for performing the above-mentioned star track shooting method and/or object motion track shooting method.
  • the computer storage medium is disposed to detect whether the terminal is shaken when shooting an image of an object such as a starry sky; when detecting that the terminal is shaken, marking the currently captured image, thereby capturing an object such as a starry sky when the terminal is shaken
  • the image is marked to facilitate the subsequent processing of the image, and provides technical support for subsequent processing, such as deleting the marked starry sky image, which can avoid the influence of the jitter on the star track image or the star track video.
  • the time generated by the jitter usually occurs when the user presses the shutter, the image taken when the user presses the door can be directly deleted, which improves the image processing flexibility and efficiency.
  • FIG. 1 is a schematic flow chart of a first embodiment of a method for photographing a star track of the present invention
  • FIG. 2 is a schematic flow chart of a second embodiment of the method for photographing a star track of the present invention
  • FIG. 3 is a schematic flow chart of a third embodiment of the method for photographing a star track of the present invention.
  • FIG. 4 is a schematic flow chart of a fourth embodiment of the method for photographing a star track of the present invention.
  • FIG. 5 is a schematic diagram of functional modules of a first embodiment of a star-tracking device of the present invention.
  • FIG. 6 is a schematic diagram of functional modules of a second embodiment of the star-tracking device of the present invention.
  • FIG. 7 is a schematic diagram of functional modules of a third embodiment of the star-tracking device of the present invention.
  • FIG. 8 is a schematic diagram of functional modules of a fourth embodiment of the star-tracking device of the present invention.
  • FIG. 9 is a schematic flow chart of a preferred embodiment of a method for photographing an object's motion trajectory according to the present invention.
  • FIG. 10 is a schematic diagram of functional modules of a first embodiment of an apparatus for photographing an object's motion trajectory
  • FIG. 11 is a schematic diagram of functional modules of a second embodiment of an apparatus for photographing an object's motion trajectory
  • FIG. 12 is a schematic diagram of functional modules of a third embodiment of an apparatus for photographing an object's motion trajectory
  • Figure 13 is a functional block diagram of a fourth embodiment of a photographing apparatus for an object motion trajectory of the present invention.
  • the solution of the embodiment of the present invention is mainly: detecting whether the terminal has a jitter phenomenon when shooting an image of an object such as a starry sky; when detecting that the terminal is shaken, marking the currently captured image, thereby shooting by shaking the terminal
  • the image of the object such as the starry sky can be marked to facilitate subsequent processing of the image, such as deleting the marked starry sky image, which can avoid the influence of the jitter on the star track image or the star track video.
  • the time generated by the jitter usually occurs when the user presses the shutter, and therefore, the image taken when the user presses the door can be directly deleted.
  • a first embodiment of the present invention provides a method for shooting a star track, and the method mainly includes the following steps:
  • Step S101 detecting a jitter phenomenon of the terminal when shooting a starry sky image
  • the method operating environment of this embodiment may be a mobile terminal having a photographing function, such as a mobile phone or a camera.
  • the dithered starry sky image can be deleted, thereby improving the display effect of the star track image or the star track video.
  • first when shooting a starry sky image, detecting whether the terminal has a jitter phenomenon, specifically, detecting whether the mobile terminal has jitter by using a sensor on the mobile terminal.
  • Step S102 when it is detected that the terminal is shaken, mark the currently photographed starry sky image.
  • the star track shooting method when detecting that the terminal is shaken, marks the star image currently captured by the terminal, so as to delete the star image of the mark subsequently, High star track image or star track video display.
  • a second embodiment of the present invention provides a method for shooting a star track, the method comprising the following steps:
  • Step S101 detecting a jitter phenomenon of the terminal when shooting a starry sky image
  • the method operating environment of this embodiment may be a mobile terminal having a photographing function, such as a mobile phone or a camera.
  • the dithered starry sky image can be deleted, thereby improving the display effect of the star track image or the star track video.
  • first when shooting a starry sky image, detecting whether the terminal has a jitter phenomenon, specifically, detecting whether the mobile terminal has jitter by using a sensor on the mobile terminal.
  • Step S102 when detecting that the terminal is shaken, marking the currently photographed starry sky image
  • the star image of the current shooting of the terminal is marked, so that the marked star image is deleted later, and the display effect of the star track image or the star track video is improved.
  • step S103 the marked starry sky image is deleted.
  • the marked starry sky image When the marked starry sky image is deleted, it can be performed in real time, that is, the marked starry sky image is deleted in real time; as another implementation manner, the marked starry sky image can also be deleted after all the required starry sky images are captured.
  • the starry sky image when the starry sky image is captured, detecting whether the terminal has a jitter phenomenon; when detecting that the terminal is shaken, marking the currently photographed starry sky image; deleting the marked starry sky image, thereby avoiding the jitter effect
  • a third embodiment of the present invention provides a method for shooting a star track, in the above steps.
  • Step S104 detecting whether the marked starry sky image meets the deletion condition; if yes, executing step S103; otherwise, executing step S105;
  • step S105 the marked starry sky image is not deleted.
  • the difference between this embodiment and the second embodiment shown in FIG. 2 is that, before deleting the marked star image, the embodiment needs to detect whether the marked star image conforms to the deletion condition, so as to improve the accuracy of the star image deletion. Sex, avoid accidental deletion.
  • the marked starry sky image before the marked starry sky image is deleted, it is detected whether the marked starry sky image does not meet the requirements and needs to be deleted.
  • the conditions for the deletion can be determined by the user, or can be set by the system by default.
  • the user is prompted to delete the operation. If the user selects to delete, the star image of the marker is deleted. If the user chooses not to delete, the star image of the marker is not deleted, thereby improving the image.
  • the flexibility of processing meets the individual needs of users.
  • the system can also judge the jitter state of the currently marked starry sky image, calculate the jitter value of the currently marked starry sky image, compare the calculated jitter value with the set jitter value, and if greater than the set jitter value, determine the current The marked starry sky image does not meet the requirements. It belongs to the jitter abnormal image and needs to be deleted. Otherwise, it will not be deleted.
  • star image without deleting the mark may include the following processing methods:
  • the starry sky image of the mark is not deleted, the original starry sky image of the mark is retained, or the starry sky image of the mark is not deleted, and the starry sky image of the mark is corrected, for example, matching correction is performed according to a certain image template, and the like.
  • the terminal when the starry sky image is captured, the terminal detects whether the terminal has a jitter phenomenon; when detecting that the terminal is shaken, marks the currently photographed starry sky image, and deletes the marked starry sky image, thereby avoiding the jitter effect.
  • Star track image or star track video display fruit before the marked star image is deleted, whether the marked star image conforms to the deletion condition is detected, and if it is met, the deletion is performed, thereby improving the accuracy of the star image deletion and avoiding accidental deletion.
  • a fourth embodiment of the present invention provides a method for photographing a star-track. Before the step of detecting whether a jitter occurs in a terminal, the method further includes:
  • Step S100 when shooting a starry sky image, determine whether the current shooting time is the time when the terminal shutter is pressed; if not, proceed to step S101; otherwise, proceed to step S106;
  • Step S106 acquiring a starry sky image taken when the terminal shutter is pressed
  • step S107 the starry sky image taken when the terminal shutter is pressed is deleted.
  • the embodiment further includes a processing scheme for directly deleting the starry sky image taken when the terminal shutter is pressed.
  • the terminal when the terminal collects a starry sky image, the terminal usually collects a starry sky image or acquires a starry sky image every preset time, and then collects multiple starry sky images to perform corresponding coding processing to generate a star track image or star. Track video. Therefore, when the terminal starts and ends the shooting, the moment when the shutter is pressed is a time when the terminal jitter is easy to occur, that is, the time when the terminal is shaken usually occurs when the user presses the shutter, so that the user can directly delete the door when the user presses the door.
  • the current shooting time is the time when the terminal shutter is pressed; if not, detecting whether the terminal has a jitter phenomenon, and marking the image of the starry sky image according to the jitter condition, and deleting the marked starry sky image ( Referring to the above embodiment); if the current shooting time is the time when the terminal shutter is pressed, the starry sky image taken when the terminal shutter is pressed is acquired, and the starry sky image taken when the terminal shutter is pressed is deleted.
  • the terminal when the starry sky image is taken, the terminal detects whether the terminal is jittered. Phenomenon; when the terminal is detected to be dithered, the currently photographed starry sky image is marked; the marked starry sky image is deleted, thereby preventing the jitter from affecting the display effect of the star track image or the star track video.
  • the time generated by the jitter usually occurs when the user presses the shutter, the image taken when the user presses the door can be directly deleted, which improves the image processing flexibility and efficiency.
  • a first embodiment of the present invention provides a star-tracking device, which includes: a first detecting module 201 and a marking module 202, wherein:
  • the first detecting module 201 is configured to detect whether the terminal has a jitter phenomenon when the starry sky image is captured;
  • the marking module 202 is configured to mark the currently photographed starry sky image when it is detected that the terminal is shaken.
  • the device of this embodiment may be disposed on a mobile terminal having a photographing function, such as a mobile phone or a camera.
  • detecting whether the terminal has a jitter phenomenon specifically detecting whether the mobile terminal has jitter by using a sensor on the mobile terminal.
  • the star image of the current shooting of the terminal is marked, so that the marked star image is deleted later, and the display effect of the star track image or the star track video is improved.
  • a second embodiment of the present invention provides a star-tracking device, which includes a first detecting module 201, a marking module 202, and a processing module 203, wherein:
  • the first detecting module 201 is configured to detect whether the terminal has a jitter phenomenon when the starry sky image is captured;
  • the marking module 202 is configured to: when detecting that the terminal is shaken, the currently photographed starry sky map Like marking;
  • the processing module 203 is configured to delete the marked starry sky image.
  • the processing module 203 is further configured to delete the marked starry sky image in real time, or delete the marked starry sky image after all the required starry sky images are captured.
  • the device of this embodiment may be disposed on a mobile terminal having a photographing function, such as a mobile phone or a camera.
  • the dithered starry sky image can be deleted, thereby improving the display effect of the star track image or the star track video captured by the mobile terminal.
  • the sensor on the mobile terminal can detect whether the mobile terminal has jitter.
  • the star image of the current shooting of the terminal is marked, so that the marked star image is deleted later, and the display effect of the star track image or the star track video is improved.
  • the marked starry sky image When the marked starry sky image is deleted, it can be performed in real time, that is, the marked starry sky image is deleted in real time; as another implementation manner, the marked starry sky image can also be deleted after all the required starry sky images are captured.
  • the starry sky image when the starry sky image is captured, detecting whether the terminal has a jitter phenomenon; when detecting that the terminal is shaken, marking the currently photographed starry sky image; deleting the marked starry sky image, thereby avoiding the jitter effect
  • a third embodiment of the present invention provides a star-tracking device. Based on the two embodiments shown in FIG. 6, the device further includes:
  • the second detecting module 204 is configured to detect whether the marked star image conforms to the deletion condition; if yes, the processing module 203 deletes the marked star image; otherwise, the marked star space is not deleted. image.
  • the difference between this embodiment and the second embodiment shown in FIG. 6 is that, before deleting the marked star image, the embodiment needs to detect whether the marked star image conforms to the deletion condition, so as to improve the accuracy of the star image deletion. Sex, avoid accidental deletion.
  • the conditions for the deletion can be determined by the user, or can be set by the system by default.
  • the user is prompted to delete the operation. If the user selects to delete, the star image of the marker is deleted. If the user chooses not to delete, the star image of the marker is not deleted, thereby improving the image.
  • the flexibility of processing meets the individual needs of users.
  • the system can also judge the jitter state of the currently marked starry sky image, calculate the jitter value of the currently marked starry sky image, compare the calculated jitter value with the set jitter value, and if greater than the set jitter value, determine the current The marked starry sky image does not meet the requirements. It belongs to the jitter abnormal image and needs to be deleted. Otherwise, it will not be deleted.
  • the terminal when the starry sky image is captured, the terminal detects whether the terminal has a jitter phenomenon; when detecting that the terminal is shaken, marks the currently photographed starry sky image, and deletes the marked starry sky image, thereby avoiding the jitter effect.
  • whether the marked star image conforms to the deletion condition is detected, and if it is met, the deletion is performed, thereby improving the accuracy of the star image deletion and avoiding accidental deletion.
  • a fourth embodiment of the present invention provides a star-tracking device. Based on the third embodiment shown in FIG. 7, the device further includes: a determining module 205 and an obtaining module 206, wherein :
  • the determining module 205 is configured to determine whether the current shooting time is when the starry sky image is captured. The time when the terminal shutter is pressed; if not, the first detecting module 201 detects whether the terminal has a jitter phenomenon; otherwise, the acquiring module 206 acquires a starry sky image taken when the terminal shutter is pressed;
  • the processing module 206 is further configured to delete the starry sky image captured when the terminal shutter is pressed.
  • the embodiment further includes a processing scheme for directly deleting the starry sky image taken when the terminal shutter is pressed.
  • the terminal when the terminal collects a starry sky image, the terminal usually collects a starry sky image or acquires a starry sky image every preset time, and then collects multiple starry sky images to perform corresponding coding processing to generate a star track image or star. Track video. Therefore, when the terminal starts and ends the shooting, the moment when the shutter is pressed is a time when the terminal jitter is easy to occur, that is, the time when the terminal is shaken usually occurs when the user presses the shutter, so that the user can directly delete the door when the user presses the door. The image taken.
  • the current shooting time is the time when the terminal shutter is pressed; if not, detecting whether the terminal has a jitter phenomenon, and marking the image of the starry sky image according to the jitter condition, and deleting the marked starry sky image ( Referring to the above embodiment); if the current shooting time is the time when the terminal shutter is pressed, the starry sky image taken when the terminal shutter is pressed is acquired, and the starry sky image taken when the terminal shutter is pressed is deleted.
  • the starry sky image when the starry sky image is captured, detecting whether the terminal has a jitter phenomenon; when detecting that the terminal is shaken, marking the currently photographed starry sky image; deleting the marked starry sky image, thereby avoiding the jitter effect
  • the display effect of a star track image or a star track video it is considered that the time generated by the jitter usually occurs when the user presses the shutter, and therefore, the image taken when the user presses the door can be directly deleted.
  • the first detecting module 201, the marking module 202, the processing module 203, The second detection module 204, the determination module 205, and the acquisition module 206 may each be a central processing unit (CPU) of a device of the object motion trajectory or a device of the object motion trajectory.
  • CPU Central Processing Unit
  • MPU Micro Processor Unit
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • Embodiments of the present invention also provide a method for photographing an object motion trajectory.
  • a schematic flowchart of a method for photographing an object motion trajectory according to an embodiment of the present invention includes:
  • Step S301 when detecting an image of the object, detecting whether the terminal has a jitter phenomenon
  • Step S302 when it is detected that the terminal is shaken, mark the currently photographed object image.
  • the method may further include:
  • the step of deleting the marked object image includes:
  • the marked object image is deleted in real time, or the marked object image is deleted after all the required object images have been taken.
  • the method further includes:
  • Detecting whether the marked object image meets the deletion condition if yes, performing the step of: deleting the marked object image; otherwise, deleting the marked object image.
  • the step of not deleting the marked object image includes: retaining the original object image of the mark, or correcting the marked object image.
  • the step of detecting whether the terminal has a jitter phenomenon may further include the following steps:
  • the type of object motion may include the following: 1. the object moves, the photographer does not move; 2. the object is stationary, the photographer moves; 3. the relative motion between the object and the photographer, That is, the relative position changes.
  • the above three application scenarios can be selected according to requirements, and are not limited herein.
  • the embodiment of the present invention further describes a computer storage medium, where the computer storage medium stores a computer program for performing the operations of FIG. 1, FIG. 2, FIG. 3, FIG. 4 in the embodiment of the present invention.
  • the embodiment of the present invention further provides an apparatus for photographing an object motion trajectory, and the apparatus includes: a first detecting module 401 and a marking module 402, wherein:
  • the first detecting module 401 is configured to detect whether the terminal has a jitter phenomenon when capturing an image of the object;
  • the marking module 402 is configured to mark the currently photographed object image when detecting that the terminal is shaken.
  • the device may further include:
  • the processing module 403 is configured to delete the marked object image.
  • the processing module 403 is further configured to delete the marked object image in real time, or delete the marked object image after capturing all the required object images.
  • the apparatus may further include:
  • the second detecting module 404 is configured to detect whether the marked object image meets the deletion condition; Yes, the marked object image is deleted by the processing module; otherwise, the marked object image is not deleted.
  • the processing module 403 is further configured to: when the second detection module detects that the marked object image does not meet the deletion condition, retain the marked original object image, or correct the marked object image.
  • the apparatus may further include: a determining module 405 and an obtaining module 406, wherein:
  • the determining module 405 is configured to determine whether the current shooting time is the time when the terminal shutter is pressed when the object image is captured; if not, the first detecting module 401 detects whether the terminal has a jitter phenomenon; otherwise, The obtaining module 406 acquires an image of an object captured when the terminal shutter is pressed;
  • the processing module 403 is further configured to delete an image of the object captured when the terminal shutter is pressed.
  • the first detecting module 401, the marking module 402, the processing module 403, the second detecting module 404, the determining module 405, and the obtaining module 406 may each be a shooting device of the object motion track or the object motion track.
  • the CPU, MPU, DSP, or FPGA of the device to which the camera is attached is implemented.
  • a method for shooting a star track a method and a device for capturing an object trajectory, detecting whether a terminal has a jitter phenomenon when photographing an object such as a starry sky; and detecting a currently captured image when detecting that the terminal is shaken;
  • marking the image of the object such as the starry sky when the terminal is shaking it can facilitate the subsequent processing of the image, and provide technical support for subsequent processing, such as deleting the marked starry sky image, which can avoid the influence of jitter on the star track image or the star track video.
  • the display effect considering that the time generated by the jitter usually occurs when the user presses the shutter, the image taken when the user presses the door can be directly deleted, and the image is improved. Flexibility and efficiency.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Image Analysis (AREA)

Abstract

A star orbit shooting method is disclosed. The method comprises: when shooting a starry sky image, detecting whether a dithering phenomenon is existed in the terminal; when detecting that the terminal dithers, marking the current shot starry sky image; deleting the marked starry sky image. A star orbit shooting device, an object motion track shooting method, an object motion track shooting device and a computer storage medium are also disclosed.

Description

星轨拍摄方法、物体运动轨迹拍摄方法、装置及存储介质Star track shooting method, object motion track shooting method, device and storage medium 技术领域Technical field
本发明涉及摄像技术领域,尤其涉及一种星轨拍摄方法、物体运动轨迹拍摄方法、装置及计算机存储介质。The invention relates to the field of camera technology, in particular to a star track shooting method, an object motion track shooting method, a device and a computer storage medium.
背景技术Background technique
星云拍摄主要用于拍摄星空中的星光,并可以将拍摄的显示星空的静态图像合成为能够显示星空变化过程的动态视频,如星空中星星由少变多的变化过程,云朵由少变多的变化过程或飘移过程等。Nebula shooting is mainly used to capture the starlight in the sky, and can be used to synthesize the static image of the starry sky as a dynamic video that can display the process of starry sky changes. For example, the stars in the sky change from less to more, and the clouds change from less to more. Change process or drift process, etc.
但是,在拍摄图像时,会存在抖动现象,从而影响了星轨图像或星轨视频的效果。However, when shooting an image, there is jitter, which affects the effect of the star track image or the star track video.
发明内容Summary of the invention
有鉴于此,本发明实施例期望提供一种星轨拍摄方法、装置及计算机存储介质,旨在避免抖动影响星轨图像或星轨视频的效果,同时,本发明实施例还期望提供一种物体运动轨迹拍摄方法、装置及计算机存储介质,旨在避免抖动影响物体图像或物体视频的效果。In view of this, embodiments of the present invention are directed to providing a star-track imaging method, apparatus, and computer storage medium, aiming to avoid the effect of jitter on a star-track image or a star-track video, and at the same time, an embodiment of the present invention also provides an object. A motion trajectory photographing method, apparatus, and computer storage medium are designed to avoid the effect of jitter on an object image or an object video.
为了达到上述目的,本发明实施例提出一种星轨拍摄方法,该方法包括以下步骤:In order to achieve the above object, an embodiment of the present invention provides a method for shooting a star track, the method comprising the following steps:
在拍摄星空图像时,检测终端是否发生抖动现象;When shooting a starry sky image, detect whether the terminal is dithered;
当检测到终端发生抖动时,对当前拍摄的星空图像进行标记。When the terminal is detected to be shaken, the currently photographed starry sky image is marked.
上述方案中,该方法还包括:In the above solution, the method further includes:
将标记的星空图像删除。Delete the marked starry sky image.
上述方案中,所述将标记的星空图像删除的步骤包括: In the above solution, the step of deleting the marked starry sky image includes:
将标记的星空图像实时删除,或者,在拍摄完所有需要的星空图像后,将标记的星空图像进行删除。Delete the marked starry sky image in real time, or delete the marked starry sky image after all the required starry sky images have been taken.
上述方案中,该方法还包括:In the above solution, the method further includes:
检测标记的星空图像是否符合删除条件;若是,则执行步骤:将标记的星空图像删除;否则,不删除标记的星空图像。Check if the marked starry sky image meets the deletion condition; if yes, perform the step: delete the marked starry sky image; otherwise, do not delete the marked starry sky image.
上述方案中,所述不删除标记的星空图像的步骤包括:In the above solution, the step of not deleting the marked starry sky image includes:
保留标记的原始的星空图像,或者,对标记的星空图像进行修正。Preserve the original starry sky image of the mark, or correct the marked starry sky image.
上述方案中,所述检测终端是否发生抖动现象的步骤之前还包括:In the foregoing solution, before the step of detecting whether the terminal has a jitter phenomenon, the method further includes:
在拍摄星空图像时,判断当前拍摄时间是否为终端快门按下的时间;若不是,则执行步骤:检测终端是否发生抖动现象;否则When shooting a starry sky image, determine whether the current shooting time is the time when the terminal shutter is pressed; if not, perform the steps of: detecting whether the terminal is shaken; otherwise
获取终端快门按下时所拍摄的星空图像;Obtaining a starry sky image taken when the terminal shutter is pressed;
将终端快门按下时所拍摄的星空图像进行删除。The starry sky image taken when the terminal shutter is pressed is deleted.
本发明实施例还提出一种星轨拍摄装置,该装置包括:The embodiment of the invention further provides a star track photographing device, the device comprising:
第一检测模块,配置为在拍摄星空图像时,检测终端是否发生抖动现象;The first detecting module is configured to detect whether the terminal is jittery when shooting the starry sky image;
标记模块,配置为当检测到终端发生抖动时,对当前拍摄的星空图像进行标记。A marking module configured to mark a currently photographed starry sky image when a jitter is detected in the terminal.
上述方案中,该装置还包括:In the above solution, the device further includes:
处理模块,配置为将标记的星空图像删除。A processing module configured to remove the marked starry sky image.
上述方案中,所述处理模块,还配置为将标记的星空图像实时删除,或者,在拍摄完所有需要的星空图像后,将标记的星空图像进行删除。In the above solution, the processing module is further configured to delete the marked starry sky image in real time, or delete the marked starry sky image after capturing all the required starry sky images.
上述方案中,该装置还包括:In the above solution, the device further includes:
第二检测模块,配置为检测标记的星空图像是否符合删除条件;若是,则由处理模块将标记的星空图像删除;否则,不删除标记的星空图像。The second detecting module is configured to detect whether the marked star image conforms to the deletion condition; if yes, the processing module deletes the marked star image; otherwise, the marked star image is not deleted.
上述方案中,所述处理模块,还配置为在第二检测模块检测到标记的 星空图像不符合删除条件时,保留标记的原始的星空图像,或者,对标记的星空图像进行修正。In the above solution, the processing module is further configured to detect the tag in the second detecting module. When the starry sky image does not meet the deletion condition, the original starry sky image of the mark is retained, or the starry sky image of the mark is corrected.
上述方案中,该装置还包括:判断模块和获取模块,其中:In the above solution, the device further includes: a determining module and an obtaining module, wherein:
所述判断模块,配置为在拍摄星空图像时,判断当前拍摄时间是否为终端快门按下的时间;若不是,则由所述第一检测模块检测终端是否发生抖动现象;否则,由所述获取模块获取终端快门按下时所拍摄的星空图像;The determining module is configured to determine whether the current shooting time is the time when the terminal shutter is pressed when shooting the starry sky image; if not, the first detecting module detects whether the terminal has a jitter phenomenon; otherwise, the obtaining is performed by the acquiring The module acquires a starry sky image taken when the terminal shutter is pressed;
所述处理模块,还配置为将终端快门按下时所拍摄的星空图像进行删除。The processing module is further configured to delete the starry sky image captured when the terminal shutter is pressed.
本发明实施例还提出一种物体运动轨迹的拍摄方法,该方法包括:The embodiment of the invention further provides a method for photographing an object motion trajectory, the method comprising:
在拍摄物体图像时,检测终端是否发生抖动现象;When shooting an image of an object, detecting whether the terminal has a jitter phenomenon;
当检测到终端发生抖动时,对当前拍摄的物体图像进行标记。When it is detected that the terminal is shaken, the currently photographed object image is marked.
上述方案中,该方法还包括:将标记的物体图像删除。In the above solution, the method further comprises: deleting the marked object image.
上述方案中,所述将标记的物体图像删除的步骤包括:In the above solution, the step of deleting the marked object image includes:
将标记的物体图像实时删除,或者,在拍摄完所有需要的物体图像后,将标记的物体图像进行删除。The marked object image is deleted in real time, or the marked object image is deleted after all the required object images have been taken.
上述方案中,该方法还包括:In the above solution, the method further includes:
检测标记的物体图像是否符合删除条件;若是,则执行步骤:将标记的物体图像删除;否则,不删除标记的物体图像。Detecting whether the marked object image meets the deletion condition; if yes, performing the step of: deleting the marked object image; otherwise, deleting the marked object image.
上述方案中,所述不删除标记的物体图像的步骤包括:In the above solution, the step of not deleting the marked object image includes:
保留标记的原始的物体图像,或者,对标记的物体图像进行修正。The original object image of the mark is retained, or the image of the marked object is corrected.
上述方案中,所述检测终端是否发生抖动现象的步骤之前还包括:In the foregoing solution, before the step of detecting whether the terminal has a jitter phenomenon, the method further includes:
在拍摄物体图像时,判断当前拍摄时间是否为终端快门按下的时间;若不是,则执行步骤:检测终端是否发生抖动现象;否则When capturing an image of an object, determining whether the current shooting time is the time when the terminal shutter is pressed; if not, performing the step of: detecting whether the terminal is shaken; otherwise
获取终端快门按下时所拍摄的物体图像;Obtaining an image of an object taken when the terminal shutter is pressed;
将终端快门按下时所拍摄的物体图像进行删除。 The image of the subject captured when the terminal shutter is pressed is deleted.
本发明实施例还提出一种物体运动轨迹的拍摄装置,该装置包括:An embodiment of the present invention further provides an apparatus for photographing an object motion trajectory, the apparatus comprising:
第一检测模块,配置为在拍摄物体图像时,检测终端是否发生抖动现象;The first detecting module is configured to detect whether the terminal has a jitter phenomenon when the image of the object is captured;
标记模块,配置为当检测到终端发生抖动时,对当前拍摄的物体图像进行标记。The marking module is configured to mark the currently photographed object image when detecting that the terminal is shaken.
上述方案中,该装置还包括:In the above solution, the device further includes:
处理模块,配置为将标记的物体图像删除。A processing module configured to delete the marked object image.
上述方案中,所述处理模块,还配置为将标记的物体图像实时删除,或者,在拍摄完所有需要的物体图像后,将标记的物体图像进行删除。In the above solution, the processing module is further configured to delete the marked object image in real time, or delete the marked object image after capturing all the required object images.
上述方案中,该装置还包括:In the above solution, the device further includes:
第二检测模块,配置为检测标记的物体图像是否符合删除条件;若是,则由处理模块将标记的物体图像删除;否则,不删除标记的物体图像。The second detecting module is configured to detect whether the marked object image meets the deletion condition; if yes, the marked image is deleted by the processing module; otherwise, the marked object image is not deleted.
上述方案中,所述处理模块,还配置为在第二检测模块检测到标记的物体图像不符合删除条件时,保留标记的原始的物体图像,或者,对标记的物体图像进行修正。In the above solution, the processing module is further configured to: when the second detection module detects that the marked object image does not meet the deletion condition, retain the original object image of the mark, or correct the marked object image.
上述方案中,该装置还包括:判断模块和获取模块,其中:In the above solution, the device further includes: a determining module and an obtaining module, wherein:
所述判断模块,配置为在拍摄物体图像时,判断当前拍摄时间是否为终端快门按下的时间;若不是,则由所述第一检测模块检测终端是否发生抖动现象;否则,由所述获取模块获取终端快门按下时所拍摄的物体图像;The determining module is configured to determine whether the current shooting time is the time when the terminal shutter is pressed when the image of the object is captured; if not, the first detecting module detects whether the terminal has a jitter phenomenon; otherwise, the obtaining is performed by the acquiring The module acquires an image of an object photographed when the terminal shutter is pressed;
所述处理模块,还配置为将终端快门按下时所拍摄的物体图像进行删除。The processing module is further configured to delete an image of the object captured when the terminal shutter is pressed.
本发明实施例提供了一种计算机存储介质,所述计算机存储介质中存储有计算机程序,所述计算机程序用于执行以上所述的星轨拍摄方法、和/或物体运动轨迹拍摄方法。The embodiment of the invention provides a computer storage medium, wherein the computer storage medium stores a computer program for performing the above-mentioned star track shooting method and/or object motion track shooting method.
本发明实施例提出的一种星轨拍摄方法、物体运动轨迹拍摄方法、装 置及计算机存储介质,在拍摄星空等物体图像时,检测终端是否发生抖动现象;当检测到终端发生抖动时,对当前拍摄的图像进行标记,由此,通过对终端抖动时拍摄的星空等物体图像进行标记,能够利于后续对该图像的处理,为后续处理提供技术支持,比如将标记的星空图像删除,可以避免抖动影响星轨图像或星轨视频的显示效果。此外,考虑到抖动产生的时间通常发生在用户按动快门的时候,因此,可以直接删除用户按动开门时所拍摄的图像,提高了图像处理灵活性和效率。Star track shooting method, object motion track shooting method and equipment The computer storage medium is disposed to detect whether the terminal is shaken when shooting an image of an object such as a starry sky; when detecting that the terminal is shaken, marking the currently captured image, thereby capturing an object such as a starry sky when the terminal is shaken The image is marked to facilitate the subsequent processing of the image, and provides technical support for subsequent processing, such as deleting the marked starry sky image, which can avoid the influence of the jitter on the star track image or the star track video. In addition, considering that the time generated by the jitter usually occurs when the user presses the shutter, the image taken when the user presses the door can be directly deleted, which improves the image processing flexibility and efficiency.
附图说明DRAWINGS
图1是本发明星轨拍摄方法第一实施例的流程示意图;1 is a schematic flow chart of a first embodiment of a method for photographing a star track of the present invention;
图2是本发明星轨拍摄方法第二实施例的流程示意图;2 is a schematic flow chart of a second embodiment of the method for photographing a star track of the present invention;
图3是本发明星轨拍摄方法第三实施例的流程示意图;3 is a schematic flow chart of a third embodiment of the method for photographing a star track of the present invention;
图4是本发明星轨拍摄方法第四实施例的流程示意图;4 is a schematic flow chart of a fourth embodiment of the method for photographing a star track of the present invention;
图5是本发明星轨拍摄装置第一实施例的功能模块示意图;5 is a schematic diagram of functional modules of a first embodiment of a star-tracking device of the present invention;
图6是本发明星轨拍摄装置第二实施例的功能模块示意图;6 is a schematic diagram of functional modules of a second embodiment of the star-tracking device of the present invention;
图7是本发明星轨拍摄装置第三实施例的功能模块示意图;7 is a schematic diagram of functional modules of a third embodiment of the star-tracking device of the present invention;
图8是本发明星轨拍摄装置第四实施例的功能模块示意图;8 is a schematic diagram of functional modules of a fourth embodiment of the star-tracking device of the present invention;
图9是本发明物体运动轨迹的拍摄方法较佳实施例的流程示意图;9 is a schematic flow chart of a preferred embodiment of a method for photographing an object's motion trajectory according to the present invention;
图10是本发明物体运动轨迹的拍摄装置第一实施例的功能模块示意图;10 is a schematic diagram of functional modules of a first embodiment of an apparatus for photographing an object's motion trajectory;
图11是本发明物体运动轨迹的拍摄装置第二实施例的功能模块示意图;11 is a schematic diagram of functional modules of a second embodiment of an apparatus for photographing an object's motion trajectory;
图12是本发明物体运动轨迹的拍摄装置第三实施例的功能模块示意图;12 is a schematic diagram of functional modules of a third embodiment of an apparatus for photographing an object's motion trajectory;
图13是本发明物体运动轨迹的拍摄装置第四实施例的功能模块示意图。 Figure 13 is a functional block diagram of a fourth embodiment of a photographing apparatus for an object motion trajectory of the present invention.
具体实施方式detailed description
为了使本发明所要解决的技术问题、技术方案及有益效果更加清楚、明白,以下结合附图和实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments, in order to make the present invention. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明实施例的解决方案主要是:在拍摄星空等物体图像时,检测终端是否发生抖动现象;当检测到终端发生抖动时,对当前拍摄的图像进行标记,由此,通过对终端抖动时拍摄的星空等物体图像进行标记,能够利于后续对该图像的处理,比如将标记的星空图像删除,可以避免抖动影响星轨图像或星轨视频的显示效果。此外,考虑到抖动产生的时间通常发生在用户按动快门的时候,因此,可以直接删除用户按动开门时所拍摄的图像。The solution of the embodiment of the present invention is mainly: detecting whether the terminal has a jitter phenomenon when shooting an image of an object such as a starry sky; when detecting that the terminal is shaken, marking the currently captured image, thereby shooting by shaking the terminal The image of the object such as the starry sky can be marked to facilitate subsequent processing of the image, such as deleting the marked starry sky image, which can avoid the influence of the jitter on the star track image or the star track video. In addition, it is considered that the time generated by the jitter usually occurs when the user presses the shutter, and therefore, the image taken when the user presses the door can be directly deleted.
如图1所示,本发明第一实施例提出一种星轨拍摄方法,所述方法主要包括以下步骤:As shown in FIG. 1 , a first embodiment of the present invention provides a method for shooting a star track, and the method mainly includes the following steps:
步骤S101,在拍摄星空图像时,检测终端是否发生抖动现象;Step S101: detecting a jitter phenomenon of the terminal when shooting a starry sky image;
本实施例方法运行环境可以是手机、相机等具有拍摄功能的移动终端。The method operating environment of this embodiment may be a mobile terminal having a photographing function, such as a mobile phone or a camera.
由于移动终端在拍摄图像时,会存在抖动现象,从而影响了星轨图像或星轨视频的显示效果。Since the mobile terminal captures an image, there is a jitter phenomenon, which affects the display effect of the star track image or the star track video.
本实施例方案可以将抖动的星空图像删除,从而可以提高星轨图像或星轨视频的显示效果。In this embodiment, the dithered starry sky image can be deleted, thereby improving the display effect of the star track image or the star track video.
在一实施例中,首先,在拍摄星空图像时,检测终端是否发生抖动现象,具体可以通过移动终端上的传感器来检测该移动终端是否存在抖动。In an embodiment, first, when shooting a starry sky image, detecting whether the terminal has a jitter phenomenon, specifically, detecting whether the mobile terminal has jitter by using a sensor on the mobile terminal.
步骤S102,当检测到终端发生抖动时,对当前拍摄的星空图像进行标记。Step S102, when it is detected that the terminal is shaken, mark the currently photographed starry sky image.
本发明第一实施例所述星轨拍摄方法,当检测到终端发生抖动时,对终端当前拍摄的星空图像进行标记,以便后续将标记的星空图像删除,提 高星轨图像或星轨视频的显示效果。The star track shooting method according to the first embodiment of the present invention, when detecting that the terminal is shaken, marks the star image currently captured by the terminal, so as to delete the star image of the mark subsequently, High star track image or star track video display.
如图2所示,本发明第二实施例提出一种星轨拍摄方法,所述方法包括以下步骤:As shown in FIG. 2, a second embodiment of the present invention provides a method for shooting a star track, the method comprising the following steps:
步骤S101,在拍摄星空图像时,检测终端是否发生抖动现象;Step S101: detecting a jitter phenomenon of the terminal when shooting a starry sky image;
本实施例方法运行环境可以是手机、相机等具有拍摄功能的移动终端。The method operating environment of this embodiment may be a mobile terminal having a photographing function, such as a mobile phone or a camera.
由于移动终端在拍摄图像时,会存在抖动现象,从而影响了星轨图像或星轨视频的显示效果。Since the mobile terminal captures an image, there is a jitter phenomenon, which affects the display effect of the star track image or the star track video.
本实施例方案可以将抖动的星空图像删除,从而可以提高星轨图像或星轨视频的显示效果。In this embodiment, the dithered starry sky image can be deleted, thereby improving the display effect of the star track image or the star track video.
在一实施例中,首先,在拍摄星空图像时,检测终端是否发生抖动现象,具体可以通过移动终端上的传感器来检测该移动终端是否存在抖动。In an embodiment, first, when shooting a starry sky image, detecting whether the terminal has a jitter phenomenon, specifically, detecting whether the mobile terminal has jitter by using a sensor on the mobile terminal.
步骤S102,当检测到终端发生抖动时,对当前拍摄的星空图像进行标记;Step S102, when detecting that the terminal is shaken, marking the currently photographed starry sky image;
当检测到终端发生抖动时,对终端当前拍摄的星空图像进行标记,以便后续将标记的星空图像删除,提高星轨图像或星轨视频的显示效果。When it is detected that the terminal is dithered, the star image of the current shooting of the terminal is marked, so that the marked star image is deleted later, and the display effect of the star track image or the star track video is improved.
步骤S103,将标记的星空图像删除。In step S103, the marked starry sky image is deleted.
在将标记的星空图像删除时,可以实时进行,即将标记的星空图像实时删除;作为另一种实现方式,也可以在拍摄完所有需要的星空图像后,将标记的星空图像进行删除。When the marked starry sky image is deleted, it can be performed in real time, that is, the marked starry sky image is deleted in real time; as another implementation manner, the marked starry sky image can also be deleted after all the required starry sky images are captured.
本实施例通过上述方案,在拍摄星空图像时,检测终端是否发生抖动现象;当检测到终端发生抖动时,对当前拍摄的星空图像进行标记;将标记的星空图像删除,由此可以避免抖动影响星轨图像或星轨视频的显示效果。In the embodiment, when the starry sky image is captured, detecting whether the terminal has a jitter phenomenon; when detecting that the terminal is shaken, marking the currently photographed starry sky image; deleting the marked starry sky image, thereby avoiding the jitter effect The display effect of a star track image or a star track video.
如图3所示,本发明第三实施例提出一种星轨拍摄方法,在上述步骤 S103:将标记的星空图像删除之前,还包括:As shown in FIG. 3, a third embodiment of the present invention provides a method for shooting a star track, in the above steps. S103: Before deleting the marked starry sky image, the method further includes:
步骤S104,检测标记的星空图像是否符合删除条件;若是,则执行步骤S103;否则,执行步骤S105;Step S104, detecting whether the marked starry sky image meets the deletion condition; if yes, executing step S103; otherwise, executing step S105;
步骤S105,不删除标记的星空图像。In step S105, the marked starry sky image is not deleted.
本实施例与上述图2所示的第二实施例的区别在于,本实施例在删除标记的星空图像之前,还需要对标记的星空图像是否符合删除条件进行检测,以提高星空图像删除的准确性,避免误删。The difference between this embodiment and the second embodiment shown in FIG. 2 is that, before deleting the marked star image, the embodiment needs to detect whether the marked star image conforms to the deletion condition, so as to improve the accuracy of the star image deletion. Sex, avoid accidental deletion.
在一实施例中,在将标记的星空图像删除之前,检测标记的星空图像是否真的不符合要求而需要删除。其中,符合删除的条件可以由用户选择决定,也可以由系统默认设置。In an embodiment, before the marked starry sky image is deleted, it is detected whether the marked starry sky image does not meet the requirements and needs to be deleted. Among them, the conditions for the deletion can be determined by the user, or can be set by the system by default.
比如,在将标记的星空图像删除之前,提示用户是否进行删除操作,若用户选择删除,则删除该标记的星空图像,若用户选择不删除,则不删除该标记的星空图像,从而提高了图像处理的灵活性,满足了用户的个性化需求。For example, before deleting the marked starry sky image, the user is prompted to delete the operation. If the user selects to delete, the star image of the marker is deleted. If the user chooses not to delete, the star image of the marker is not deleted, thereby improving the image. The flexibility of processing meets the individual needs of users.
另外,系统也可以对当前标记的星空图像的抖动状态进行判断,计算当前标记的星空图像的抖动值,将计算的抖动值与设定抖动值进行比较,若大于设定抖动值,则判断当前标记的星空图像不符合要求,属于抖动异常图像,需要删除,否则,不予删除。In addition, the system can also judge the jitter state of the currently marked starry sky image, calculate the jitter value of the currently marked starry sky image, compare the calculated jitter value with the set jitter value, and if greater than the set jitter value, determine the current The marked starry sky image does not meet the requirements. It belongs to the jitter abnormal image and needs to be deleted. Otherwise, it will not be deleted.
需要说明的是,上述不删除标记的星空图像可以包括以下处理方式:It should be noted that the above-mentioned star image without deleting the mark may include the following processing methods:
不删除标记的星空图像,保留标记的原始的星空图像,或者,不删除标记的星空图像,对标记的星空图像进行修正,比如按照一定的图像模板,进行匹配修正,等等。The starry sky image of the mark is not deleted, the original starry sky image of the mark is retained, or the starry sky image of the mark is not deleted, and the starry sky image of the mark is corrected, for example, matching correction is performed according to a certain image template, and the like.
本实施例通过上述方案,在拍摄星空图像时,检测终端是否发生抖动现象;当检测到终端发生抖动时,对当前拍摄的星空图像进行标记,将标记的星空图像删除,由此可以避免抖动影响星轨图像或星轨视频的显示效 果。此外,在将标记的星空图像删除之前,对标记的星空图像是否符合删除条件进行检测,若符合,则删除,从而提高了星空图像删除的准确性,避免误删。In the embodiment, when the starry sky image is captured, the terminal detects whether the terminal has a jitter phenomenon; when detecting that the terminal is shaken, marks the currently photographed starry sky image, and deletes the marked starry sky image, thereby avoiding the jitter effect. Star track image or star track video display fruit. In addition, before the marked star image is deleted, whether the marked star image conforms to the deletion condition is detected, and if it is met, the deletion is performed, thereby improving the accuracy of the star image deletion and avoiding accidental deletion.
如图4所示,本发明第四实施例提出一种星轨拍摄方法,在上述图3所示的第三实施例的基础上,在检测终端是否发生抖动现象的步骤之前还包括:As shown in FIG. 4, a fourth embodiment of the present invention provides a method for photographing a star-track. Before the step of detecting whether a jitter occurs in a terminal, the method further includes:
步骤S100,在拍摄星空图像时,判断当前拍摄时间是否为终端快门按下的时间;若不是,则执行步骤S101;否则,进入步骤S106;Step S100, when shooting a starry sky image, determine whether the current shooting time is the time when the terminal shutter is pressed; if not, proceed to step S101; otherwise, proceed to step S106;
步骤S106,获取终端快门按下时所拍摄的星空图像;Step S106, acquiring a starry sky image taken when the terminal shutter is pressed;
步骤S107,将终端快门按下时所拍摄的星空图像删除。In step S107, the starry sky image taken when the terminal shutter is pressed is deleted.
本实施例与上述图3所示的第三实施例的区别在于,本实施例还包括对终端快门按下时所拍摄的星空图像的直接删除的处理方案。The difference between this embodiment and the third embodiment shown in FIG. 3 above is that the embodiment further includes a processing scheme for directly deleting the starry sky image taken when the terminal shutter is pressed.
本实施例考虑到终端在采集星空图像时,通常是连续采集星空图像或每隔预设时间采集一张星空图像,之后将采集的多张星空图像进行相应的编码处理后生成星轨图像或星轨视频。因此,终端在拍摄开始和结束时,按下快门的时刻是终端抖动易产生的时刻,即,终端发生抖动的时间通常发生在用户按动快门的时候,因此,可以直接删除用户按动开门时所拍摄的图像,以提高图像处理灵活性和效率。In this embodiment, when the terminal collects a starry sky image, the terminal usually collects a starry sky image or acquires a starry sky image every preset time, and then collects multiple starry sky images to perform corresponding coding processing to generate a star track image or star. Track video. Therefore, when the terminal starts and ends the shooting, the moment when the shutter is pressed is a time when the terminal jitter is easy to occur, that is, the time when the terminal is shaken usually occurs when the user presses the shutter, so that the user can directly delete the door when the user presses the door. The images taken to improve image processing flexibility and efficiency.
具体实现如下:The specific implementation is as follows:
在拍摄星空图像时,判断当前拍摄时间是否为终端快门按下的时间;若不是,则检测终端是否发生抖动现象,并根据抖动情况对拍摄的星空图像进行标记操作,将标记的星空图像删除(参照上述实施例);若当前拍摄时间为终端快门按下的时间,则获取终端快门按下时所拍摄的星空图像,并将终端快门按下时所拍摄的星空图像进行删除。When shooting a starry sky image, it is judged whether the current shooting time is the time when the terminal shutter is pressed; if not, detecting whether the terminal has a jitter phenomenon, and marking the image of the starry sky image according to the jitter condition, and deleting the marked starry sky image ( Referring to the above embodiment); if the current shooting time is the time when the terminal shutter is pressed, the starry sky image taken when the terminal shutter is pressed is acquired, and the starry sky image taken when the terminal shutter is pressed is deleted.
本实施例通过上述方案,在拍摄星空图像时,检测终端是否发生抖动 现象;当检测到终端发生抖动时,对当前拍摄的星空图像进行标记;将标记的星空图像删除,由此可以避免抖动影响星轨图像或星轨视频的显示效果。此外,考虑到抖动产生的时间通常发生在用户按动快门的时候,因此,可以直接删除用户按动开门时所拍摄的图像,提高了图像处理灵活性和效率。In this embodiment, when the starry sky image is taken, the terminal detects whether the terminal is jittered. Phenomenon; when the terminal is detected to be dithered, the currently photographed starry sky image is marked; the marked starry sky image is deleted, thereby preventing the jitter from affecting the display effect of the star track image or the star track video. In addition, considering that the time generated by the jitter usually occurs when the user presses the shutter, the image taken when the user presses the door can be directly deleted, which improves the image processing flexibility and efficiency.
如图5所示,本发明第一实施例提出一种星轨拍摄装置,所述装置包括:第一检测模块201及标记模块202,其中:As shown in FIG. 5, a first embodiment of the present invention provides a star-tracking device, which includes: a first detecting module 201 and a marking module 202, wherein:
第一检测模块201,配置为在拍摄星空图像时,检测终端是否发生抖动现象;The first detecting module 201 is configured to detect whether the terminal has a jitter phenomenon when the starry sky image is captured;
标记模块202,配置为当检测到终端发生抖动时,对当前拍摄的星空图像进行标记。The marking module 202 is configured to mark the currently photographed starry sky image when it is detected that the terminal is shaken.
具体地,本实施例装置可以设置在手机、相机等具有拍摄功能的移动终端上。Specifically, the device of this embodiment may be disposed on a mobile terminal having a photographing function, such as a mobile phone or a camera.
由于移动终端在拍摄图像时,会存在抖动现象,从而影响了星轨图像或星轨视频的显示效果。Since the mobile terminal captures an image, there is a jitter phenomenon, which affects the display effect of the star track image or the star track video.
在一实施例中,在拍摄星空图像时,检测终端是否发生抖动现象,具体可以通过移动终端上的传感器来检测该移动终端是否存在抖动。In an embodiment, when detecting a starry sky image, detecting whether the terminal has a jitter phenomenon, specifically detecting whether the mobile terminal has jitter by using a sensor on the mobile terminal.
当检测到终端发生抖动时,对终端当前拍摄的星空图像进行标记,以便后续将标记的星空图像删除,提高星轨图像或星轨视频的显示效果。When it is detected that the terminal is dithered, the star image of the current shooting of the terminal is marked, so that the marked star image is deleted later, and the display effect of the star track image or the star track video is improved.
如图6所示,本发明第二实施例提出一种星轨拍摄装置,所述装置包括:第一检测模块201、标记模块202及处理模块203,其中:As shown in FIG. 6, a second embodiment of the present invention provides a star-tracking device, which includes a first detecting module 201, a marking module 202, and a processing module 203, wherein:
第一检测模块201,配置为在拍摄星空图像时,检测终端是否发生抖动现象;The first detecting module 201 is configured to detect whether the terminal has a jitter phenomenon when the starry sky image is captured;
标记模块202,配置为当检测到终端发生抖动时,对当前拍摄的星空图 像进行标记;The marking module 202 is configured to: when detecting that the terminal is shaken, the currently photographed starry sky map Like marking;
处理模块203,配置为将标记的星空图像删除。The processing module 203 is configured to delete the marked starry sky image.
在一实施例中,所述处理模块203,还配置为将标记的星空图像实时删除,或者,在拍摄完所有需要的星空图像后,将标记的星空图像进行删除。In an embodiment, the processing module 203 is further configured to delete the marked starry sky image in real time, or delete the marked starry sky image after all the required starry sky images are captured.
具体地,本实施例装置可以设置在手机、相机等具有拍摄功能的移动终端上。Specifically, the device of this embodiment may be disposed on a mobile terminal having a photographing function, such as a mobile phone or a camera.
由于移动终端在拍摄图像时,会存在抖动现象,从而影响了星轨图像或星轨视频的显示效果。Since the mobile terminal captures an image, there is a jitter phenomenon, which affects the display effect of the star track image or the star track video.
本实施例方案可以将抖动的星空图像删除,从而可以提高移动终端所拍摄的星轨图像或星轨视频的显示效果。In this embodiment, the dithered starry sky image can be deleted, thereby improving the display effect of the star track image or the star track video captured by the mobile terminal.
具体地,首先,在拍摄星空图像时,检测终端是否发生抖动现象,具体可以通过移动终端上的传感器来检测该移动终端是否存在抖动。Specifically, first, when the starry sky image is captured, it is detected whether the terminal has a jitter phenomenon, and specifically, the sensor on the mobile terminal can detect whether the mobile terminal has jitter.
当检测到终端发生抖动时,对终端当前拍摄的星空图像进行标记,以便后续将标记的星空图像删除,提高星轨图像或星轨视频的显示效果。When it is detected that the terminal is dithered, the star image of the current shooting of the terminal is marked, so that the marked star image is deleted later, and the display effect of the star track image or the star track video is improved.
在将标记的星空图像删除时,可以实时进行,即将标记的星空图像实时删除;作为另一种实现方式,也可以在拍摄完所有需要的星空图像后,将标记的星空图像进行删除。When the marked starry sky image is deleted, it can be performed in real time, that is, the marked starry sky image is deleted in real time; as another implementation manner, the marked starry sky image can also be deleted after all the required starry sky images are captured.
本实施例通过上述方案,在拍摄星空图像时,检测终端是否发生抖动现象;当检测到终端发生抖动时,对当前拍摄的星空图像进行标记;将标记的星空图像删除,由此可以避免抖动影响星轨图像或星轨视频的显示效果。In the embodiment, when the starry sky image is captured, detecting whether the terminal has a jitter phenomenon; when detecting that the terminal is shaken, marking the currently photographed starry sky image; deleting the marked starry sky image, thereby avoiding the jitter effect The display effect of a star track image or a star track video.
如图7所示,本发明第三实施例提出一种星轨拍摄装置,在上述图6所示的二实施例的基础上,所述装置还包括:As shown in FIG. 7, a third embodiment of the present invention provides a star-tracking device. Based on the two embodiments shown in FIG. 6, the device further includes:
第二检测模块204,配置为检测标记的星空图像是否符合删除条件;若是,则由处理模块203将标记的星空图像删除;否则,不删除标记的星空 图像。The second detecting module 204 is configured to detect whether the marked star image conforms to the deletion condition; if yes, the processing module 203 deletes the marked star image; otherwise, the marked star space is not deleted. image.
本实施例与上述图6所示的第二实施例的区别在于,本实施例在删除标记的星空图像之前,还需要对标记的星空图像是否符合删除条件进行检测,以提高星空图像删除的准确性,避免误删。The difference between this embodiment and the second embodiment shown in FIG. 6 is that, before deleting the marked star image, the embodiment needs to detect whether the marked star image conforms to the deletion condition, so as to improve the accuracy of the star image deletion. Sex, avoid accidental deletion.
具体地,在将标记的星空图像删除之前,检测标记的星空图像是否真的不符合要求而需要删除。其中,符合删除的条件可以由用户选择决定,也可以由系统默认设置。Specifically, before the marked starry sky image is deleted, it is necessary to detect whether the marked starry sky image is really unsatisfactory and needs to be deleted. Among them, the conditions for the deletion can be determined by the user, or can be set by the system by default.
比如,在将标记的星空图像删除之前,提示用户是否进行删除操作,若用户选择删除,则删除该标记的星空图像,若用户选择不删除,则不删除该标记的星空图像,从而提高了图像处理的灵活性,满足了用户的个性化需求。For example, before deleting the marked starry sky image, the user is prompted to delete the operation. If the user selects to delete, the star image of the marker is deleted. If the user chooses not to delete, the star image of the marker is not deleted, thereby improving the image. The flexibility of processing meets the individual needs of users.
另外,系统也可以对当前标记的星空图像的抖动状态进行判断,计算当前标记的星空图像的抖动值,将计算的抖动值与设定抖动值进行比较,若大于设定抖动值,则判断当前标记的星空图像不符合要求,属于抖动异常图像,需要删除,否则,不予删除。In addition, the system can also judge the jitter state of the currently marked starry sky image, calculate the jitter value of the currently marked starry sky image, compare the calculated jitter value with the set jitter value, and if greater than the set jitter value, determine the current The marked starry sky image does not meet the requirements. It belongs to the jitter abnormal image and needs to be deleted. Otherwise, it will not be deleted.
本实施例通过上述方案,在拍摄星空图像时,检测终端是否发生抖动现象;当检测到终端发生抖动时,对当前拍摄的星空图像进行标记,将标记的星空图像删除,由此可以避免抖动影响星轨图像或星轨视频的显示效果。此外,在将标记的星空图像删除之前,对标记的星空图像是否符合删除条件进行检测,若符合,则删除,从而提高了星空图像删除的准确性,避免误删。In the embodiment, when the starry sky image is captured, the terminal detects whether the terminal has a jitter phenomenon; when detecting that the terminal is shaken, marks the currently photographed starry sky image, and deletes the marked starry sky image, thereby avoiding the jitter effect. The display effect of a star track image or a star track video. In addition, before the marked star image is deleted, whether the marked star image conforms to the deletion condition is detected, and if it is met, the deletion is performed, thereby improving the accuracy of the star image deletion and avoiding accidental deletion.
如图8所示,本发明第四实施例提出一种星轨拍摄装置,在上述图7所示的第三实施例的基础上,所述装置还包括:判断模块205和获取模块206,其中:As shown in FIG. 8, a fourth embodiment of the present invention provides a star-tracking device. Based on the third embodiment shown in FIG. 7, the device further includes: a determining module 205 and an obtaining module 206, wherein :
所述判断模块205,配置为在拍摄星空图像时,判断当前拍摄时间是否 为终端快门按下的时间;若不是,则由所述第一检测模块201检测终端是否发生抖动现象;否则,由所述获取模块206获取终端快门按下时所拍摄的星空图像;The determining module 205 is configured to determine whether the current shooting time is when the starry sky image is captured. The time when the terminal shutter is pressed; if not, the first detecting module 201 detects whether the terminal has a jitter phenomenon; otherwise, the acquiring module 206 acquires a starry sky image taken when the terminal shutter is pressed;
所述处理模块206,还配置为将终端快门按下时所拍摄的星空图像进行删除。The processing module 206 is further configured to delete the starry sky image captured when the terminal shutter is pressed.
本实施例与上述图7所示的第三实施例的区别在于,本实施例还包括对终端快门按下时所拍摄的星空图像的直接删除的处理方案。The difference between this embodiment and the third embodiment shown in FIG. 7 above is that the embodiment further includes a processing scheme for directly deleting the starry sky image taken when the terminal shutter is pressed.
本实施例考虑到终端在采集星空图像时,通常是连续采集星空图像或每隔预设时间采集一张星空图像,之后将采集的多张星空图像进行相应的编码处理后生成星轨图像或星轨视频。因此,终端在拍摄开始和结束时,按下快门的时刻是终端抖动易产生的时刻,即,终端发生抖动的时间通常发生在用户按动快门的时候,因此,可以直接删除用户按动开门时所拍摄的图像。In this embodiment, when the terminal collects a starry sky image, the terminal usually collects a starry sky image or acquires a starry sky image every preset time, and then collects multiple starry sky images to perform corresponding coding processing to generate a star track image or star. Track video. Therefore, when the terminal starts and ends the shooting, the moment when the shutter is pressed is a time when the terminal jitter is easy to occur, that is, the time when the terminal is shaken usually occurs when the user presses the shutter, so that the user can directly delete the door when the user presses the door. The image taken.
具体实现如下:The specific implementation is as follows:
在拍摄星空图像时,判断当前拍摄时间是否为终端快门按下的时间;若不是,则检测终端是否发生抖动现象,并根据抖动情况对拍摄的星空图像进行标记操作,将标记的星空图像删除(参照上述实施例);若当前拍摄时间为终端快门按下的时间,则获取终端快门按下时所拍摄的星空图像,并将终端快门按下时所拍摄的星空图像进行删除。When shooting a starry sky image, it is judged whether the current shooting time is the time when the terminal shutter is pressed; if not, detecting whether the terminal has a jitter phenomenon, and marking the image of the starry sky image according to the jitter condition, and deleting the marked starry sky image ( Referring to the above embodiment); if the current shooting time is the time when the terminal shutter is pressed, the starry sky image taken when the terminal shutter is pressed is acquired, and the starry sky image taken when the terminal shutter is pressed is deleted.
本实施例通过上述方案,在拍摄星空图像时,检测终端是否发生抖动现象;当检测到终端发生抖动时,对当前拍摄的星空图像进行标记;将标记的星空图像删除,由此可以避免抖动影响星轨图像或星轨视频的显示效果。此外,考虑到抖动产生的时间通常发生在用户按动快门的时候,因此,可以直接删除用户按动开门时所拍摄的图像。In the embodiment, when the starry sky image is captured, detecting whether the terminal has a jitter phenomenon; when detecting that the terminal is shaken, marking the currently photographed starry sky image; deleting the marked starry sky image, thereby avoiding the jitter effect The display effect of a star track image or a star track video. In addition, it is considered that the time generated by the jitter usually occurs when the user presses the shutter, and therefore, the image taken when the user presses the door can be directly deleted.
在实际应用中,所述第一检测模块201、标记模块202、处理模块203、 第二检测模块204、判断模块205和获取模块206均可由所述物体运动轨迹的拍摄装置或所述物体运动轨迹的拍摄装置所属设备的中央处理器(CPU,Central Processing Unit)、微处理器(MPU,Micro Processor Unit)、数字信号处理器(DSP,Digital Signal Processor)、或现场可编程门阵列(FPGA,Field Programmable Gate Array)等实现。In a practical application, the first detecting module 201, the marking module 202, the processing module 203, The second detection module 204, the determination module 205, and the acquisition module 206 may each be a central processing unit (CPU) of a device of the object motion trajectory or a device of the object motion trajectory. MPU (Micro Processor Unit), digital signal processor (DSP, Digital Signal Processor), or Field Programmable Gate Array (FPGA).
上述实施例中,仅以星空图像为例来说明一种物体运动轨迹的拍摄方法。本发明实施例还提供一种物体运动轨迹的拍摄方法。In the above embodiment, only a starry sky image is taken as an example to illustrate a method of photographing an object motion trajectory. Embodiments of the present invention also provide a method for photographing an object motion trajectory.
如图9所示,本发明实施例提出的一种物体运动轨迹的拍摄方法的流程示意图,该方法包括:As shown in FIG. 9 , a schematic flowchart of a method for photographing an object motion trajectory according to an embodiment of the present invention includes:
步骤S301,在拍摄物体图像时,检测终端是否发生抖动现象;Step S301, when detecting an image of the object, detecting whether the terminal has a jitter phenomenon;
步骤S302,当检测到终端发生抖动时,对当前拍摄的物体图像进行标记。Step S302, when it is detected that the terminal is shaken, mark the currently photographed object image.
在一实施例中,该方法还可以包括:In an embodiment, the method may further include:
将标记的物体图像删除。Delete the marked object image.
其中,将标记的物体图像删除的步骤包括:The step of deleting the marked object image includes:
将标记的物体图像实时删除,或者,在拍摄完所有需要的物体图像后,将标记的物体图像进行删除。The marked object image is deleted in real time, or the marked object image is deleted after all the required object images have been taken.
在一实施例中,该方法还包括:In an embodiment, the method further includes:
检测标记的物体图像是否符合删除条件;若是,则执行步骤:将标记的物体图像删除;否则,不删除标记的物体图像。Detecting whether the marked object image meets the deletion condition; if yes, performing the step of: deleting the marked object image; otherwise, deleting the marked object image.
其中,不删除标记的物体图像的步骤包括:保留标记的原始的物体图像,或者,对标记的物体图像进行修正。The step of not deleting the marked object image includes: retaining the original object image of the mark, or correcting the marked object image.
在一实施例中,检测终端是否发生抖动现象的步骤之前还可以包括以下步骤:In an embodiment, the step of detecting whether the terminal has a jitter phenomenon may further include the following steps:
在拍摄物体图像时,判断当前拍摄时间是否为终端快门按下的时间; 若不是,则执行步骤:检测终端是否发生抖动现象;否则获取终端快门按下时所拍摄的物体图像;将终端快门按下时所拍摄的物体图像进行删除。When capturing an image of an object, determining whether the current shooting time is the time when the terminal shutter is pressed; If not, perform the steps of: detecting whether the terminal has a jitter phenomenon; otherwise, acquiring an image of the object captured when the terminal shutter is pressed; and deleting the image of the object captured when the terminal shutter is pressed.
详细的描述可以参考前述实施例提出的一种星轨拍摄方法,在此不再赘述。For a detailed description, reference may be made to a method for shooting a star track proposed in the foregoing embodiment, and details are not described herein again.
需要说明的是,上述实施例中,物体运动的类型可以包括以下几种:1.物体运动,拍摄者不动;2.物体静止,拍摄者运动;3.物体和拍摄者之间相对运动,即相对位置发生变化。上述三种应用场景可以根据需要选择,在此不作限定。It should be noted that, in the above embodiment, the type of object motion may include the following: 1. the object moves, the photographer does not move; 2. the object is stationary, the photographer moves; 3. the relative motion between the object and the photographer, That is, the relative position changes. The above three application scenarios can be selected according to requirements, and are not limited herein.
相应地,本发明实施例还记载一种计算机存储介质,所述计算机存储介质中存储有计算机程序,所述计算机程序用于执行本发明实施例中图1、图2、图3、图4所示的星轨拍摄方法,和/或,图9所示的物体运动轨迹的拍摄方法。Correspondingly, the embodiment of the present invention further describes a computer storage medium, where the computer storage medium stores a computer program for performing the operations of FIG. 1, FIG. 2, FIG. 3, FIG. 4 in the embodiment of the present invention. The method of photographing the star track, and/or the method of photographing the motion track of the object shown in FIG.
如图10所示,对应上述物体运动轨迹的拍摄方法实施例,本发明实施例还提出一种物体运动轨迹的拍摄装置,该装置包括:第一检测模块401和标记模块402,其中:As shown in FIG. 10, the embodiment of the present invention further provides an apparatus for photographing an object motion trajectory, and the apparatus includes: a first detecting module 401 and a marking module 402, wherein:
第一检测模块401,配置为在拍摄物体图像时,检测终端是否发生抖动现象;The first detecting module 401 is configured to detect whether the terminal has a jitter phenomenon when capturing an image of the object;
标记模块402,配置为当检测到终端发生抖动时,对当前拍摄的物体图像进行标记。The marking module 402 is configured to mark the currently photographed object image when detecting that the terminal is shaken.
在一实施例中,如图11所示,该装置还可以包括:In an embodiment, as shown in FIG. 11, the device may further include:
处理模块403,配置为将标记的物体图像删除。The processing module 403 is configured to delete the marked object image.
在一实施例中,所述处理模块403,还配置为将标记的物体图像实时删除,或者,在拍摄完所有需要的物体图像后,将标记的物体图像进行删除。In an embodiment, the processing module 403 is further configured to delete the marked object image in real time, or delete the marked object image after capturing all the required object images.
在一实施例中,如图12所示,该装置还可以包括:In an embodiment, as shown in FIG. 12, the apparatus may further include:
第二检测模块404,配置为检测标记的物体图像是否符合删除条件;若 是,则由处理模块将标记的物体图像删除;否则,不删除标记的物体图像。The second detecting module 404 is configured to detect whether the marked object image meets the deletion condition; Yes, the marked object image is deleted by the processing module; otherwise, the marked object image is not deleted.
在一实施例中,所述处理模块403,还配置为在第二检测模块检测到标记的物体图像不符合删除条件时,保留标记的原始的物体图像,或者,对标记的物体图像进行修正。In an embodiment, the processing module 403 is further configured to: when the second detection module detects that the marked object image does not meet the deletion condition, retain the marked original object image, or correct the marked object image.
在一实施例中,如图13所示,该装置还可以包括:判断模块405和获取模块406,其中:In an embodiment, as shown in FIG. 13, the apparatus may further include: a determining module 405 and an obtaining module 406, wherein:
所述判断模块405,配置为在拍摄物体图像时,判断当前拍摄时间是否为终端快门按下的时间;若不是,则由所述第一检测模块401检测终端是否发生抖动现象;否则,由所述获取模块406获取终端快门按下时所拍摄的物体图像;The determining module 405 is configured to determine whether the current shooting time is the time when the terminal shutter is pressed when the object image is captured; if not, the first detecting module 401 detects whether the terminal has a jitter phenomenon; otherwise, The obtaining module 406 acquires an image of an object captured when the terminal shutter is pressed;
所述处理模块403,还配置为将终端快门按下时所拍摄的物体图像进行删除。The processing module 403 is further configured to delete an image of the object captured when the terminal shutter is pressed.
在实际应用中,所述第一检测模块401、标记模块402、处理模块403、第二检测模块404、判断模块405和获取模块406均可由所述物体运动轨迹的拍摄装置或所述物体运动轨迹的拍摄装置所属设备的CPU、MPU、DSP、或FPGA等实现。In a practical application, the first detecting module 401, the marking module 402, the processing module 403, the second detecting module 404, the determining module 405, and the obtaining module 406 may each be a shooting device of the object motion track or the object motion track. The CPU, MPU, DSP, or FPGA of the device to which the camera is attached is implemented.
详细的描述可以参考前述实施例提出的一种星轨拍摄装置,在此不再赘述。For a detailed description, reference may be made to a star-track imaging device proposed in the foregoing embodiment, and details are not described herein again.
本发明实施例星轨拍摄方法、物体运动轨迹拍摄方法及装置,在拍摄星空等物体图像时,检测终端是否发生抖动现象;当检测到终端发生抖动时,对当前拍摄的图像进行标记,由此,通过对终端抖动时拍摄的星空等物体图像进行标记,能够利于后续对该图像的处理,为后续处理提供技术支持,比如将标记的星空图像删除,可以避免抖动影响星轨图像或星轨视频的显示效果。此外,考虑到抖动产生的时间通常发生在用户按动快门的时候,因此,可以直接删除用户按动开门时所拍摄的图像,提高了图像处 理灵活性和效率。In the embodiment of the present invention, a method for shooting a star track, a method and a device for capturing an object trajectory, detecting whether a terminal has a jitter phenomenon when photographing an object such as a starry sky; and detecting a currently captured image when detecting that the terminal is shaken; By marking the image of the object such as the starry sky when the terminal is shaking, it can facilitate the subsequent processing of the image, and provide technical support for subsequent processing, such as deleting the marked starry sky image, which can avoid the influence of jitter on the star track image or the star track video. The display effect. In addition, considering that the time generated by the jitter usually occurs when the user presses the shutter, the image taken when the user presses the door can be directly deleted, and the image is improved. Flexibility and efficiency.
以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本发明的专利保护范围内。The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or process changes made by the specification and the drawings of the present invention may be directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.
工业实用性Industrial applicability
本发明实施例中,在拍摄星空图像时,检测终端是否发生抖动现象;当检测到终端发生抖动时,对当前拍摄的星空图像进行标记;将标记的星空图像删除;如此,可以避免抖动影响星轨图像或星轨视频的显示效果。 In the embodiment of the present invention, when detecting a starry sky image, detecting whether the terminal has a jitter phenomenon; when detecting that the terminal is shaken, marking the currently photographed starry sky image; deleting the marked starry sky image; thus, avoiding the jitter affecting star Track image or star track video display.

Claims (25)

  1. 一种星轨拍摄方法,所述方法包括:A method of star-track shooting, the method comprising:
    在拍摄星空图像时,检测终端是否发生抖动现象;When shooting a starry sky image, detect whether the terminal is dithered;
    当检测到终端发生抖动时,对当前拍摄的星空图像进行标记。When the terminal is detected to be shaken, the currently photographed starry sky image is marked.
  2. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:
    将标记的星空图像删除。Delete the marked starry sky image.
  3. 根据权利要求2所述的方法,其中,所述将标记的星空图像删除的步骤包括:The method of claim 2 wherein said step of deleting the marked starry sky image comprises:
    将标记的星空图像实时删除,或者,在拍摄完所有需要的星空图像后,将标记的星空图像进行删除。Delete the marked starry sky image in real time, or delete the marked starry sky image after all the required starry sky images have been taken.
  4. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:
    检测标记的星空图像是否符合删除条件;若是,则执行步骤:将标记的星空图像删除;否则,不删除标记的星空图像。Check if the marked starry sky image meets the deletion condition; if yes, perform the step: delete the marked starry sky image; otherwise, do not delete the marked starry sky image.
  5. 根据权利要求4所述的方法,其中,所述不删除标记的星空图像的步骤包括:The method of claim 4 wherein said step of not deleting the marked starry sky image comprises:
    保留标记的原始的星空图像,或者,对标记的星空图像进行修正。Preserve the original starry sky image of the mark, or correct the marked starry sky image.
  6. 根据权利要求1至5中任一项所述的方法,其中,所述检测终端是否发生抖动现象的步骤之前还包括:The method according to any one of claims 1 to 5, wherein the step of detecting whether the terminal has a jitter phenomenon further comprises:
    在拍摄星空图像时,判断当前拍摄时间是否为终端快门按下的时间;若不是,则执行步骤:检测终端是否发生抖动现象;否则,When shooting a starry sky image, determine whether the current shooting time is the time when the terminal shutter is pressed; if not, perform the steps of: detecting whether the terminal is shaken; otherwise,
    获取终端快门按下时所拍摄的星空图像;Obtaining a starry sky image taken when the terminal shutter is pressed;
    将终端快门按下时所拍摄的星空图像进行删除。The starry sky image taken when the terminal shutter is pressed is deleted.
  7. 一种星轨拍摄装置,所述装置包括:A star-tracking device, the device comprising:
    第一检测模块,配置为在拍摄星空图像时,检测终端是否发生抖动现象; The first detecting module is configured to detect whether the terminal is jittery when shooting the starry sky image;
    标记模块,配置为当检测到终端发生抖动时,对当前拍摄的星空图像进行标记。A marking module configured to mark a currently photographed starry sky image when a jitter is detected in the terminal.
  8. 根据权利要求7所述的装置,其中,所述装置还包括:The apparatus of claim 7 wherein said apparatus further comprises:
    处理模块,配置为将标记的星空图像删除。A processing module configured to remove the marked starry sky image.
  9. 根据权利要求8所述的装置,其中,The device according to claim 8, wherein
    所述处理模块,还配置为将标记的星空图像实时删除,或者,在拍摄完所有需要的星空图像后,将标记的星空图像进行删除。The processing module is further configured to delete the marked starry sky image in real time, or delete the marked starry sky image after capturing all the required starry sky images.
  10. 根据权利要求8所述的装置,其中,所述装置还包括:The apparatus of claim 8 wherein said apparatus further comprises:
    第二检测模块,配置为检测标记的星空图像是否符合删除条件;若是,则由处理模块将标记的星空图像删除;否则,不删除标记的星空图像。The second detecting module is configured to detect whether the marked star image conforms to the deletion condition; if yes, the processing module deletes the marked star image; otherwise, the marked star image is not deleted.
  11. 根据权利要求10所述的装置,其中,The device according to claim 10, wherein
    所述处理模块,还配置为在第二检测模块检测到标记的星空图像不符合删除条件时,保留标记的原始的星空图像,或者,对标记的星空图像进行修正。The processing module is further configured to: when the second detection module detects that the marked star image does not meet the deletion condition, retain the original star image of the mark, or correct the marked star image.
  12. 根据权利要求7至11中任一项所述的装置,其中,所述装置还包括:判断模块和获取模块,其中:The apparatus according to any one of claims 7 to 11, wherein the apparatus further comprises: a determination module and an acquisition module, wherein:
    所述判断模块,配置为在拍摄星空图像时,判断当前拍摄时间是否为终端快门按下的时间;若不是,则由所述第一检测模块检测终端是否发生抖动现象;否则,由所述获取模块获取终端快门按下时所拍摄的星空图像;The determining module is configured to determine whether the current shooting time is the time when the terminal shutter is pressed when shooting the starry sky image; if not, the first detecting module detects whether the terminal has a jitter phenomenon; otherwise, the obtaining is performed by the acquiring The module acquires a starry sky image taken when the terminal shutter is pressed;
    相应地,所述处理模块,还配置为将终端快门按下时所拍摄的星空图像进行删除。Correspondingly, the processing module is further configured to delete the starry sky image captured when the terminal shutter is pressed.
  13. 一种物体运动轨迹的拍摄方法,所述方法包括:A method for photographing an object motion trajectory, the method comprising:
    在拍摄物体图像时,检测终端是否发生抖动现象;When shooting an image of an object, detecting whether the terminal has a jitter phenomenon;
    当检测到终端发生抖动时,对当前拍摄的物体图像进行标记。When it is detected that the terminal is shaken, the currently photographed object image is marked.
  14. 根据权利要求13所述的方法,其中,所述方法还包括: The method of claim 13 wherein the method further comprises:
    将标记的物体图像删除。Delete the marked object image.
  15. 根据权利要求14所述的方法,其中,所述将标记的物体图像删除的步骤包括:The method of claim 14 wherein said step of deleting the marked object image comprises:
    将标记的物体图像实时删除,或者,在拍摄完所有需要的物体图像后,将标记的物体图像进行删除。The marked object image is deleted in real time, or the marked object image is deleted after all the required object images have been taken.
  16. 根据权利要求13所述的方法,其中,所述方法还包括:The method of claim 13 wherein the method further comprises:
    检测标记的物体图像是否符合删除条件;若是,则执行步骤:将标记的物体图像删除;否则,不删除标记的物体图像。Detecting whether the marked object image meets the deletion condition; if yes, performing the step of: deleting the marked object image; otherwise, deleting the marked object image.
  17. 根据权利要求16所述的方法,其中,所述不删除标记的物体图像的步骤包括:The method of claim 16 wherein said step of not deleting the marked object image comprises:
    保留标记的原始的物体图像,或者,对标记的物体图像进行修正。The original object image of the mark is retained, or the image of the marked object is corrected.
  18. 根据权利要求13至17中任一项所述的方法,其中,所述检测终端是否发生抖动现象的步骤之前还包括:The method according to any one of claims 13 to 17, wherein the step of detecting whether the terminal has a jitter phenomenon further comprises:
    在拍摄物体图像时,判断当前拍摄时间是否为终端快门按下的时间;若不是,则执行步骤:检测终端是否发生抖动现象;否则,When capturing an image of an object, determining whether the current shooting time is the time when the terminal shutter is pressed; if not, performing the step of: detecting whether the terminal is shaken; otherwise,
    获取终端快门按下时所拍摄的物体图像;Obtaining an image of an object taken when the terminal shutter is pressed;
    将终端快门按下时所拍摄的物体图像进行删除。The image of the subject captured when the terminal shutter is pressed is deleted.
  19. 一种物体运动轨迹的拍摄装置,所述装置包括:A photographing device for an object motion trajectory, the device comprising:
    第一检测模块,配置为在拍摄物体图像时,检测终端是否发生抖动现象;The first detecting module is configured to detect whether the terminal has a jitter phenomenon when the image of the object is captured;
    标记模块,配置为当检测到终端发生抖动时,对当前拍摄的物体图像进行标记。The marking module is configured to mark the currently photographed object image when detecting that the terminal is shaken.
  20. 根据权利要求19所述的装置,其中,所述装置还包括:The device of claim 19, wherein the device further comprises:
    处理模块,配置为将标记的物体图像删除。A processing module configured to delete the marked object image.
  21. 根据权利要求20所述的装置,其中, The device according to claim 20, wherein
    所述处理模块,还配置为将标记的物体图像实时删除,或者,在拍摄完所有需要的物体图像后,将标记的物体图像进行删除。The processing module is further configured to delete the marked object image in real time, or delete the marked object image after capturing all the required object images.
  22. 根据权利要求20所述的装置,其中,所述装置还包括:The device of claim 20, wherein the device further comprises:
    第二检测模块,配置为检测标记的物体图像是否符合删除条件;若是,则由处理模块将标记的物体图像删除;否则,不删除标记的物体图像。The second detecting module is configured to detect whether the marked object image meets the deletion condition; if yes, the marked image is deleted by the processing module; otherwise, the marked object image is not deleted.
  23. 根据权利要求22所述的装置,其中,The device according to claim 22, wherein
    所述处理模块,还配置为在第二检测模块检测到标记的物体图像不符合删除条件时,保留标记的原始的物体图像,或者,对标记的物体图像进行修正。The processing module is further configured to: when the second detection module detects that the marked object image does not meet the deletion condition, retain the marked original object image, or correct the marked object image.
  24. 根据权利要求19至23中任一项所述的装置,其中,所述装置还包括:判断模块和获取模块,其中:The apparatus according to any one of claims 19 to 23, wherein the apparatus further comprises: a determination module and an acquisition module, wherein:
    所述判断模块,配置为在拍摄物体图像时,判断当前拍摄时间是否为终端快门按下的时间;若不是,则由所述第一检测模块检测终端是否发生抖动现象;否则,由所述获取模块获取终端快门按下时所拍摄的物体图像;The determining module is configured to determine whether the current shooting time is the time when the terminal shutter is pressed when the image of the object is captured; if not, the first detecting module detects whether the terminal has a jitter phenomenon; otherwise, the obtaining is performed by the acquiring The module acquires an image of an object photographed when the terminal shutter is pressed;
    相应地,所述处理模块,还配置为将终端快门按下时所拍摄的物体图像进行删除。Correspondingly, the processing module is further configured to delete an image of the object captured when the terminal shutter is pressed.
  25. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至6任一项所述的星轨拍摄方法,和/或权利要求13至18任一项所述的物体运动轨迹的拍摄方法。 A computer storage medium storing computer executable instructions for performing the star track photographing method of any one of claims 1 to 6, and/or claim 13 A method of photographing an object motion trajectory as described in any one of 18.
PCT/CN2015/082983 2014-07-17 2015-06-30 Star orbit shooting method, and object movement track shooting method, device and storage medium WO2016008364A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410341934.1 2014-07-17
CN201410341934.1A CN104104874A (en) 2014-07-17 2014-07-17 Orbit shooting method and shooting method and device of object motion trails

Publications (1)

Publication Number Publication Date
WO2016008364A1 true WO2016008364A1 (en) 2016-01-21

Family

ID=51672643

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/082983 WO2016008364A1 (en) 2014-07-17 2015-06-30 Star orbit shooting method, and object movement track shooting method, device and storage medium

Country Status (2)

Country Link
CN (1) CN104104874A (en)
WO (1) WO2016008364A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104874A (en) * 2014-07-17 2014-10-15 深圳市中兴移动通信有限公司 Orbit shooting method and shooting method and device of object motion trails
CN104679913B (en) * 2015-03-25 2018-05-29 广东欧珀移动通信有限公司 Image storage method and device
CN105245810B (en) * 2015-10-08 2018-03-16 广东欧珀移动通信有限公司 A kind of processing method and processing device of video transition
CN106210544B (en) * 2016-08-18 2020-06-02 惠州Tcl移动通信有限公司 Mobile terminal and anti-shake processing method and system for video shot by mobile terminal
CN110995993B (en) * 2019-12-06 2022-04-15 北京小米移动软件有限公司 Star track video shooting method, star track video shooting device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003134389A (en) * 2001-10-29 2003-05-09 Fuji Photo Film Co Ltd Digital still camera
CN101998060A (en) * 2009-08-24 2011-03-30 三星电子株式会社 Method and apparatus for determining shaken image by using auto focusing
CN102509285A (en) * 2011-09-28 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Processing method and system for shot fuzzy picture and shooting equipment
CN103312969A (en) * 2012-03-12 2013-09-18 卡西欧计算机株式会社 Image compositing apparatus and image compositing method
CN103905730A (en) * 2014-03-24 2014-07-02 深圳市中兴移动通信有限公司 Shooting method of mobile terminal and mobile terminal
CN104104874A (en) * 2014-07-17 2014-10-15 深圳市中兴移动通信有限公司 Orbit shooting method and shooting method and device of object motion trails

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051836B (en) * 2012-12-14 2016-03-30 中兴通讯股份有限公司 Mobile terminal stabilization photographic method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003134389A (en) * 2001-10-29 2003-05-09 Fuji Photo Film Co Ltd Digital still camera
CN101998060A (en) * 2009-08-24 2011-03-30 三星电子株式会社 Method and apparatus for determining shaken image by using auto focusing
CN102509285A (en) * 2011-09-28 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Processing method and system for shot fuzzy picture and shooting equipment
CN103312969A (en) * 2012-03-12 2013-09-18 卡西欧计算机株式会社 Image compositing apparatus and image compositing method
CN103905730A (en) * 2014-03-24 2014-07-02 深圳市中兴移动通信有限公司 Shooting method of mobile terminal and mobile terminal
CN104104874A (en) * 2014-07-17 2014-10-15 深圳市中兴移动通信有限公司 Orbit shooting method and shooting method and device of object motion trails

Also Published As

Publication number Publication date
CN104104874A (en) 2014-10-15

Similar Documents

Publication Publication Date Title
WO2016008364A1 (en) Star orbit shooting method, and object movement track shooting method, device and storage medium
JP7039691B2 (en) Image stabilization method for panoramic images, devices and mobile terminals
KR102282458B1 (en) Method and Device for dewobbling scene
US9148567B2 (en) Methods and devices for controlling camera image capture
JP6201379B2 (en) Position calculation system, position calculation program, and position calculation method
CN110430365B (en) Anti-shake method, anti-shake device, computer equipment and storage medium
US8311280B2 (en) Image processing apparatus and image processing method
JP2016143919A5 (en)
CN112414400B (en) Information processing method and device, electronic equipment and storage medium
WO2017171248A1 (en) Electronic device and method for processing image
WO2016019817A1 (en) Object motion trajectory photographing method and system, and computer storage medium
JP2020533883A5 (en)
WO2016026465A1 (en) Shooting method, shooting device, and corresponding computer program and medium
JP2011155492A (en) Image processor
CN104104870B (en) Filming control method, imaging control device and capture apparatus
KR101642055B1 (en) Motion blur aware visual pose tracking
JP2015126326A (en) Electronic apparatus and image processing method
CN105472263B (en) Image acquisition method and the image capture equipment for using the method
JP2014050039A (en) Image processor, image processing method and computer program
JP2013143592A5 (en)
JP2016149678A (en) Camera calibration unit, camera calibration method and camera calibration program
CN111279352B (en) Three-dimensional information acquisition system through pitching exercise and camera parameter calculation method
JP2017021254A5 (en)
Sindelar et al. Space-variant image deblurring on smartphones using inertial sensors
WO2016011876A1 (en) Method and device for photographing motion track of object

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: 15822613

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 1205A DATED 23/06/2017)

122 Ep: pct application non-entry in european phase

Ref document number: 15822613

Country of ref document: EP

Kind code of ref document: A1