WO2016019817A1 - Object motion trajectory photographing method and system, and computer storage medium - Google Patents

Object motion trajectory photographing method and system, and computer storage medium Download PDF

Info

Publication number
WO2016019817A1
WO2016019817A1 PCT/CN2015/085199 CN2015085199W WO2016019817A1 WO 2016019817 A1 WO2016019817 A1 WO 2016019817A1 CN 2015085199 W CN2015085199 W CN 2015085199W WO 2016019817 A1 WO2016019817 A1 WO 2016019817A1
Authority
WO
WIPO (PCT)
Prior art keywords
picture
object motion
motion track
captured
currently
Prior art date
Application number
PCT/CN2015/085199
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 WO2016019817A1 publication Critical patent/WO2016019817A1/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/80Camera processing pipelines; Components thereof

Landscapes

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

Abstract

Disclosed is an object motion trajectory photographing method. The method comprises: when an object motion trajectory photographing instruction is detected, a terminal acquires a current environment parameter at every preset exposure time and photographs one picture whenever the current environment parameter satisfies a first preset criterion; and, the terminal produces an object motion trajectory video on the basis of the pictures photographed. Also disclosed are an object motion trajectory photographing system and a computer storage medium.

Description

物体运动轨迹拍摄方法、系统及计算机存储介质Object motion trajectory shooting method, system and computer storage medium 技术领域Technical field
本发明涉及拍摄技术领域,尤其涉及物体运动轨迹拍摄方法、系统及计算机存储介质。The present invention relates to the field of photographing technology, and in particular, to an object motion trajectory photographing method, system, and computer storage medium.
背景技术Background technique
在进行物体运动轨迹的拍摄时,曝光时间通常需要20~60分钟,需要专业的摄像装置如单反相机才能实现,因其配置了能够支持长时间持续曝光的感光硬件。随着技术的发展,现有的终端如手机、平板电脑等也可通过长时间曝光进行物体运动轨迹的拍摄,但由于终端上拍摄硬件的限制,物体运动轨迹的拍摄时间较长,往往需要几个小时甚至几个小时的连续拍摄,在拍摄中若遇到光线或者抖动等干扰,则可能严重影响拍摄质量,而现有的终端在进行拍摄过程中无法主动识别干扰,导致终端拍摄的图片质量较低。When shooting an object's motion trajectory, the exposure time usually takes 20 to 60 minutes, which requires a professional camera such as a SLR camera, because it is equipped with a photosensitive hardware that can support long-term continuous exposure. With the development of technology, existing terminals such as mobile phones and tablet computers can also capture the motion trajectory of objects through long-time exposure. However, due to the limitations of the shooting hardware on the terminal, the shooting time of the object motion trajectory is longer, which often requires several Continuous shooting for hours or even hours, if you encounter interference such as light or jitter during shooting, it may seriously affect the shooting quality, and the existing terminal can not actively identify the interference during the shooting process, resulting in the quality of the picture taken by the terminal. Lower.
发明内容Summary of the invention
有鉴于此,本发明实施例期望提供一种物体运动轨迹拍摄方法、系统及计算机存储介质,能解决终端拍摄的图片质量较低的技术问题。In view of this, the embodiments of the present invention are intended to provide a method, a system, and a computer storage medium for shooting an object motion trajectory, which can solve the technical problem of low picture quality of the terminal.
为实现上述目的,本发明实施例提供了一种物体运动轨迹拍摄方法,所述物体运动轨迹拍摄方法包括以下步骤:To achieve the above object, an embodiment of the present invention provides a method for photographing an object motion trajectory, and the method for photographing an object motion trajectory includes the following steps:
在侦测到物体运动轨迹拍摄指令时,终端每隔预设的曝光时间获取当前环境参数,并在当前环境参数满足第一预设条件时,拍摄一张图片;When detecting an object motion trajectory shooting instruction, the terminal acquires the current environmental parameter every preset exposure time, and takes a picture when the current environmental parameter satisfies the first preset condition;
所述终端基于拍摄得到的图片生成物体运动轨迹视频。The terminal generates an object motion trajectory video based on the captured picture.
上述方案中,所述终端基于拍摄得到的图片生成物体运动轨迹视频的 步骤包括:In the above solution, the terminal generates an object motion trajectory video based on the captured image. The steps include:
在拍摄到第一张图片时,将第一张图片作为第一次合成的物体运动轨迹图片;When the first picture is taken, the first picture is taken as the first synthesized object motion track picture;
在拍摄到第一张图片之后,所述终端每拍摄到一张图片,将当前拍摄到的图片与上一次合成的物体运动轨迹图片进行合成以生成新的物体运动轨迹图片;After the first picture is captured, the terminal combines the currently captured picture with the last synthesized object motion track picture to generate a new object motion track picture for each picture captured;
在拍摄结束时,所述终端将合成的多个物体运动轨迹图片存储至预设的存储路径并基于拍摄过程中合成的多个物体运动轨迹图片生成物体运动轨迹视频。At the end of the shooting, the terminal stores the synthesized plurality of object motion trajectory pictures to a preset storage path and generates an object motion trajectory video based on the plurality of object motion trajectory pictures synthesized during the shooting.
上述方案中,所述在拍摄到第一张图片之后,所述终端每拍摄到一张图片,将当前拍摄到的图片与上一次合成的物体运动轨迹图片进行合成以生成新的物体运动轨迹图片步骤包括:In the above solution, after the first picture is captured, the terminal combines the currently captured picture with the last synthesized object motion track picture to generate a new object motion track picture. The steps include:
在拍摄到第一张图片之后,所述终端每拍摄到一张图片,确定当前拍摄到的图片是否满足第二预设条件;After the first picture is captured, the terminal captures a picture to determine whether the currently captured picture meets the second preset condition;
在当前拍摄到的图片满足第二预设条件时,所述终端将当前拍摄的到的图片与上一次合成的物体运动轨迹图片进行合成,以生成新的物体运动轨迹图片。When the currently captured picture satisfies the second preset condition, the terminal synthesizes the currently captured picture with the last synthesized object motion track picture to generate a new object motion track picture.
上述方案中,所述在拍摄到第一张图片之后,所述终端每拍摄到一张图片,确定当前拍摄到的图片是否满足第二预设条件的步骤之后,所述物体运动轨迹拍摄方法包括:In the above solution, after the first picture is captured, after the step of the terminal capturing a picture to determine whether the currently captured picture meets the second preset condition, the object motion track shooting method includes :
在当前拍摄到的图片不满足第二预设条件时,所述终端删除当前拍摄的图片。When the currently captured picture does not satisfy the second preset condition, the terminal deletes the currently taken picture.
上述方案中,所述终端基于拍摄得到的图片生成物体运动轨迹视频的步骤包括:In the above solution, the step of the terminal generating an object motion trajectory video based on the captured image includes:
在拍摄结束时,所述终端确定各个拍摄到的图片中满足第二预设条件 的图片,并将满足第二预设条件的图片作为有效图片;At the end of the shooting, the terminal determines that the second preset condition is satisfied in each of the captured pictures. a picture and a picture that satisfies the second preset condition as a valid picture;
所述终端按照生成顺序对各个有效图片进行排序,并按照当前排列顺序提取拍摄得到的图片;The terminal sorts each valid picture according to the generation order, and extracts the captured picture according to the current arrangement order;
在提取到第一张图片时,所述终端将第一张图片作为第一次合成的物体运动轨迹图片;When extracting the first picture, the terminal uses the first picture as the first synthesized object motion track picture;
在提取到第一张图片之后,所述终端每提取到一张图片,将当前提取到的图片与上一次合成的物体运动轨迹图片进行合成以生成新的物体运动轨迹图片;After extracting the first picture, the terminal extracts a picture, and combines the currently extracted picture with the last synthesized object motion track picture to generate a new object motion track picture;
所述终端将合成的多个物体运动轨迹图片存储至预设的存储路径并基于合成的多个物体运动轨迹图片生成物体运动轨迹视频。The terminal stores the synthesized plurality of object motion trajectory images to a preset storage path and generates an object motion trajectory video based on the synthesized plurality of object motion trajectory pictures.
此外,为实现上述目的,本发明实施例还提出了一种物体运动轨迹拍摄系统,所述物体运动轨迹拍摄系统包括:In addition, in order to achieve the above object, an embodiment of the present invention further provides an object motion trajectory photographing system, where the object motion trajectory photographing system includes:
环境参数获取模块,配置为在侦测到物体运动轨迹拍摄指令时,每隔预设的曝光时间获取当前环境参数;The environment parameter obtaining module is configured to acquire the current environmental parameter every preset exposure time when the object motion track shooting instruction is detected;
拍摄模块,配置为在当前环境参数满足第一预设条件时,拍摄一张图片;a shooting module configured to take a picture when the current environmental parameter meets the first preset condition;
处理模块,配置为基于拍摄得到的图片生成物体运动轨迹视频。The processing module is configured to generate an object motion trajectory video based on the captured image.
上述方案中,所述处理模块包括:In the above solution, the processing module includes:
第一处理单元,配置为在拍摄到第一张图片时,将第一张图片作为第一次合成的物体运动轨迹图片;a first processing unit configured to: when the first picture is captured, use the first picture as the first synthesized object motion track picture;
合成单元,配置为在拍摄到第一张图片之后,每拍摄到一张图片,将当前拍摄到的图片与上一次合成的物体运动轨迹图片进行合成以生成新的物体运动轨迹图片;a synthesizing unit configured to, after capturing the first picture, synthesize a currently taken picture with the last synthesized object motion track picture to generate a new object motion track picture;
第二处理单元,配置为在拍摄结束时,将合成的多个物体运动轨迹图片存储至预设的存储路径并基于拍摄过程中合成的多个物体运动轨迹图片 生成物体运动轨迹视频。a second processing unit configured to store the synthesized plurality of object motion track images to a preset storage path at the end of the shooting and based on the plurality of object motion track images synthesized during the shooting process Generate an object motion track video.
上述方案中,所述合成单元包括:In the above solution, the synthesizing unit includes:
确定子单元,配置为在拍摄到第一张图片之后,每拍摄到一张图片,确定当前拍摄到的图片是否满足第二预设条件;Determining a subunit, configured to determine whether the currently photographed picture satisfies a second preset condition after each picture is captured after the first picture is captured;
合成子单元,配置为在当前拍摄到的图片满足第二预设条件时,将当前拍摄的到的图片与上一次合成的物体运动轨迹图片进行合成,以生成新的物体运动轨迹图片。And a synthesizing sub-unit configured to synthesize the currently captured picture with the last synthesized object motion track picture to generate a new object motion track picture when the currently captured picture satisfies the second preset condition.
上述方案中,所述合成单元还包括:In the above solution, the synthesizing unit further includes:
删除子单元,配置为在当前拍摄到的图片不满足第二预设条件时,删除当前拍摄的图片。The subunit is deleted, and is configured to delete the currently photographed picture when the currently photographed picture does not satisfy the second preset condition.
上述方案中,所述处理模块包括:In the above solution, the processing module includes:
确定单元,配置为在拍摄结束时,确定各个拍摄到的图片中满足第二预设条件的图片,并将满足第二预设条件的图片作为有效图片;a determining unit configured to determine, in the end of the shooting, a picture that meets the second preset condition in each of the captured pictures, and use the picture that meets the second preset condition as the effective picture;
排序单元,配置为按照生成顺序对各个有效图片进行排序;a sorting unit configured to sort each valid picture in a generation order;
提取单元,配置为按照当前排列顺序提取拍摄得到的图片;The extracting unit is configured to extract the captured image according to the current sorting order;
第三处理单元,配置为在提取到第一张图片时,将第一张图片作为第一次合成的物体运动轨迹图片;a third processing unit configured to: when the first picture is extracted, use the first picture as the first synthesized object motion track picture;
合成单元,配置为在提取到第一张图片之后,每提取到一张图片,将当前提取到的图片与上一次合成的物体运动轨迹图片进行合成以生成新的物体运动轨迹图片;a synthesizing unit configured to, after extracting the first picture, synthesize the currently extracted picture with the last synthesized object motion track picture to generate a new object motion track picture;
所述第三处理单元,配置为将合成的多个物体运动轨迹图片存储至预设的存储路径并基于合成的多个物体运动轨迹图片生成物体运动轨迹视频。The third processing unit is configured to store the synthesized plurality of object motion trajectory pictures to a preset storage path and generate an object motion trajectory video based on the synthesized plurality of object motion trajectory pictures.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机程序,所述计算机程序用于执行以上所述的物体运动轨迹拍 摄方法。An embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program, where the computer program is used to perform the motion track of the object described above. Photo method.
本发明实施例提出的物体运动轨迹拍摄方法、系统及计算机存储介质,在侦测到物体运动轨迹拍摄指令时,所述终端每隔预设的曝光时间获取当前环境参数,并在当前环境参数满足第一预设条件时,拍摄一张图片,基于拍摄得到的图片生成对应的物体运动轨迹图片或视频,以保证拍摄的每张图片均可避免干扰,提高物体运动轨迹图片拍摄的质量。The object motion trajectory shooting method, system and computer storage medium according to the embodiment of the present invention, when detecting an object motion trajectory shooting instruction, the terminal acquires current environmental parameters every preset exposure time, and satisfies the current environmental parameters. When the first preset condition is taken, a picture is taken, and a corresponding object motion track picture or video is generated based on the captured picture to ensure that each picture captured can avoid interference and improve the quality of the object motion track picture.
附图说明DRAWINGS
图1为本发明物体运动轨迹拍摄方法较佳实施例的流程示意图;1 is a schematic flow chart of a preferred embodiment of a method for photographing an object motion trajectory according to the present invention;
图2为图1中步骤S20第一实施例的细化流程示意图;2 is a schematic flow chart of the refinement of the first embodiment of step S20 of FIG. 1;
图3为图1中步骤S20第二实施例的细化流程示意图;3 is a schematic flow chart of the second embodiment of step S20 of FIG. 1;
图4为图2中步骤S22的细化流程示意图;4 is a schematic diagram showing the refinement process of step S22 in FIG. 2;
图5为本发明物体运动轨迹拍摄系统较佳实施例的功能模块示意图;5 is a schematic diagram of functional modules of a preferred embodiment of an object motion trajectory photographing system of the present invention;
图6为图5中处理模块第一实施例的细化功能模块示意图;6 is a schematic diagram of a refinement function module of the first embodiment of the processing module of FIG. 5;
图7为图5中处理模块第二实施例的细化功能模块示意图。FIG. 7 is a schematic diagram of a refinement function module of the second embodiment of the processing module of FIG. 5. FIG.
具体实施方式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.
本领域技术人员可以理解的,本发明物体运动轨迹拍摄方法的下述实施例中,实施本发明物体运动轨迹拍摄方法的实施主体可以为手机、平板电脑、照相机、摄影机等终端,也可以是任何可实现本发明物体运动轨迹拍摄方法的终端或装置,本发明并不对此进行限定,在本发明物体运动轨迹拍摄方法和系统的下述实施例中物体运动的类型包括:物体运动,拍摄者静止;或者,物体静止,拍摄者运动;或者,物体和拍摄者之间相对运 动。It can be understood by those skilled in the art that in the following embodiments of the object motion trajectory photographing method of the present invention, the implementation body of the object motion trajectory photographing method of the present invention may be a mobile phone, a tablet computer, a camera, a camera, etc., or any The terminal or device for realizing the method for photographing the motion track of the object of the present invention is not limited by the present invention. In the following embodiments of the method and system for photographing the motion track of the object of the present invention, the types of motion of the object include: motion of the object, and the photographer is still. Or, the object is still, the photographer is moving; or, the object and the photographer are relatively transported move.
本发明提供一种物体运动轨迹拍摄方法。The invention provides a method for photographing an object motion trajectory.
参照图1,图1为本发明物体运动轨迹拍摄方法较佳实施例的流程示意图。Referring to FIG. 1, FIG. 1 is a schematic flow chart of a preferred embodiment of a method for photographing an object motion track according to the present invention.
本实施例提出的物体运动轨迹拍摄方法,包括:The method for shooting an object motion trajectory proposed in this embodiment includes:
步骤S10,在侦测到物体运动轨迹拍摄指令时,终端每隔预设的曝光时间获取当前环境参数,并在当前环境参数满足第一预设条件时,拍摄一张图片;Step S10, when detecting an object motion trajectory shooting instruction, the terminal acquires a current environmental parameter every preset exposure time, and takes a picture when the current environmental parameter satisfies the first preset condition;
在侦测到物体运动轨迹拍摄指令时或者拍摄之前,终端可设定当前曝光时间、感光度(ISO)、分辨率、曝光补偿、降噪等拍照参数,该拍照参数可由终端自动设定或调整,终端还可以根据不同地区上空不同的物体运动场景预设不同的参数,供用户拍摄时选择合适的物体运动场景进行拍摄,或者终端根据当前星空的状态自动选择合适的物体运动场景进行拍摄。例如,步骤S10包括:在侦测到物体运动轨迹拍摄指令时,所述终端显示物体运动场景选择界面,以供用户基于终端当前显示的物体运动场景选择界面选择对应的物体运动场景;在侦测到用户基于所述物体运动场景选择界面触发的选择指令时,所述终端锁定该选择指令对应的物体运动场景,并基于锁定的物体运动场景调整其拍摄参数;所述终端获取当前的环境参数,在当前环境参数满足第一预设条件时,终端拍摄一张图片。The terminal can set the current exposure time, sensitivity (ISO), resolution, exposure compensation, noise reduction and other camera parameters when the object motion tracking instruction is detected or before shooting. The camera parameters can be automatically set or adjusted by the terminal. The terminal can also preset different parameters according to different object motion scenes over different regions, for the user to select a suitable object motion scene for shooting, or the terminal automatically selects an appropriate object motion scene according to the current state of the sky to shoot. For example, the step S10 includes: when detecting an object motion trajectory shooting instruction, the terminal displays an object motion scene selection interface, so that the user selects a corresponding object motion scene based on the object motion scene selection interface currently displayed by the terminal; When the user selects an interface-triggered selection command based on the object motion scene selection interface, the terminal locks the object motion scene corresponding to the selection instruction, and adjusts the shooting parameter based on the locked object motion scene; the terminal acquires the current environment parameter, When the current environment parameter satisfies the first preset condition, the terminal takes a picture.
该物体运动轨迹拍摄指令,可基于终端上的实体拍摄按钮、虚拟拍摄按钮、语音、手势以及第三方控制终端发送的控制指令等触发。终端在接收到物体运动轨迹拍摄指令时,可立即开始拍摄图片,也可以延迟预设时长开始拍摄图片,其中,延迟预设时长开始拍摄图片有利于避免在用户因按动拍摄按钮或触发虚拟拍摄按钮而对手机造成抖动时,拍摄图片。The object motion trajectory shooting instruction may be triggered based on a physical shooting button, a virtual shooting button, a voice, a gesture, and a control command sent by a third-party control terminal on the terminal. When the terminal receives the object motion trajectory shooting instruction, the terminal can immediately start taking the picture, or delay the preset time to start shooting the picture, wherein delaying the preset time to start taking the picture is beneficial to avoid the user taking the shooting button or triggering the virtual shooting. Take a picture when the button is shaken to the phone.
在本实施例中,该第一预设条件可为当前的光线强度大于第一预设阀 值,或者当前的光线强度小于第二预设阀值,即可通过设置于镜头附近的光敏传感器检测当前环境中的光线强度,在当前环境中的光线强度大于第一预设阀值时,说明当前环境中存在强光源照射终端的镜头;在当前环境中的光线强度小于第二预设阀值时,说明当终端的镜头可能被遮挡,或者有障碍物经过。在本实施例中,每张图片的拍摄之前均确定当前的环境参数,在当前环境参数满足第一预设条件时,才进行图片的拍摄,以保证拍摄得到的图片的质量。In this embodiment, the first preset condition may be that the current light intensity is greater than the first preset valve. The value, or the current light intensity is less than the second preset threshold, the light intensity in the current environment can be detected by a photosensitive sensor disposed near the lens, and when the light intensity in the current environment is greater than the first preset threshold, In the current environment, there is a lens with a strong light source illuminating the terminal; when the light intensity in the current environment is less than the second preset threshold, it indicates that the lens of the terminal may be blocked or an obstacle passes. In this embodiment, the current environmental parameters are determined before the shooting of each picture. When the current environmental parameters meet the first preset condition, the picture is taken to ensure the quality of the captured picture.
步骤S20,所述终端基于拍摄得到的图片生成物体运动轨迹视频。In step S20, the terminal generates an object motion trajectory video based on the captured picture.
在本实施例中,所述终端基于拍摄得到的图片生成物体运动轨迹视频的方式包括:In this embodiment, the manner in which the terminal generates an object motion trajectory video based on the captured image includes:
1)参照图2,图2为所述终端基于拍摄得到的图片生成物体运动轨迹视频的第一实施例,所述步骤S20包括:1) Referring to FIG. 2, FIG. 2 is a first embodiment of the video generated by the terminal based on the captured image, and the step S20 includes:
步骤S21,在拍摄到第一张图片时,将第一张图片作为第一次合成的物体运动轨迹图片;Step S21, when the first picture is captured, the first picture is used as the first synthesized object motion track picture;
步骤S22,在拍摄到第一张图片之后,所述终端每拍摄到一张图片,将当前拍摄到的图片与上一次合成的物体运动轨迹图片进行合成以生成新的物体运动轨迹图片;Step S22, after the first picture is captured, the terminal combines the currently captured picture with the last synthesized object motion track picture to generate a new object motion track picture every time a picture is captured;
步骤S23,在拍摄结束时,所述终端将合成的多个物体运动轨迹图片存储至预设的存储路径并基于拍摄过程中合成的多个物体运动轨迹图片生成物体运动轨迹视频。Step S23, at the end of the shooting, the terminal stores the synthesized plurality of object motion track pictures to a preset storage path and generates an object motion track video based on the plurality of object motion track pictures synthesized during the shooting process.
2)参照图3,图3为所述终端基于拍摄得到的图片生成物体运动轨迹视频的第二实施例,所述步骤S20包括:2) Referring to FIG. 3, FIG. 3 is a second embodiment of the video generated by the terminal based on the captured image, and the step S20 includes:
步骤S24,在拍摄结束时,所述终端确定各个拍摄到的图片中满足第二预设条件的图片,并将满足第二预设条件的图片作为有效图片;Step S24, the terminal determines, in the end of the shooting, the picture that meets the second preset condition in each of the captured pictures, and takes the picture that meets the second preset condition as the effective picture;
步骤S25,所述终端按照生成顺序对各个有效图片进行排序,并按照当 前排列顺序提取拍摄得到的图片;Step S25, the terminal sorts each valid picture according to the generation order, and according to the Extracting the captured image in the order of the previous arrangement;
步骤S26,在提取到第一张图片时,所述终端将第一张图片作为第一次合成的物体运动轨迹图片;Step S26, when extracting the first picture, the terminal uses the first picture as the first synthesized object motion track picture;
步骤S27,在提取到第一张图片之后,所述终端每提取到一张图片,将当前提取到的图片与上一次合成的物体运动轨迹图片进行合成以生成新的物体运动轨迹图片;Step S27, after extracting the first picture, the terminal extracts a picture, and combines the currently extracted picture with the last synthesized object motion track picture to generate a new object motion track picture;
步骤S28,所述终端将合成的多个物体运动轨迹图片存储至预设的存储路径并基于合成的多个物体运动轨迹图片生成物体运动轨迹视频。Step S28, the terminal stores the synthesized plurality of object motion track images to a preset storage path and generates an object motion track video based on the synthesized plurality of object motion track images.
以上所列举出的两种生成物体运动轨迹视频的方式仅仅为示例性的,本领域技术人员利用本发明的技术思想,根据其具体需求所提出的其他生成物体运动轨迹视频的方式均在本发明的保护范围内,在此不进行一一穷举。The manners of generating the motion trajectory video of the object listed above are merely exemplary. Those skilled in the art utilize the technical idea of the present invention, and other methods for generating motion trajectories of the object according to the specific needs thereof are all in the present invention. Within the scope of protection, it is not exhaustive here.
在本实施例中,当前拍摄到的图片与上一次合成运动轨迹图片进行合成以生成新的物体运动轨迹图片的方式包括:将当前拍摄到的图片像素和上一次合成的物体运动轨迹图片的像素进行叠加,生成新的物体运动轨迹图片;或者,根据当前拍摄到的图片中像素的亮度值信息及上一次合成的物体运动轨迹图片中像素的亮度值信息,生成新的物体运动轨迹图片。在本实施例中优选方案为像素替换的方式生成新的物体运动轨迹图片,具体过程如下:判断同一位置当前拍摄到的图片中的像素的亮度值是否大于上一次合成的物体运动轨迹图片的像素的亮度值;在判定同一位置当前拍摄到的图片中的像素的亮度值大于上一次合成的物体运动轨迹图片的像素的亮度值时,则将上一次合成的物体运动轨迹图片替换为当前拍摄到的图片中对应位置的像素,生成新的物体运动轨迹图片。In this embodiment, the manner in which the currently captured picture is combined with the last synthesized motion track picture to generate a new object motion track picture includes: capturing the currently captured picture pixel and the pixel of the last synthesized object motion track picture. Superimposing to generate a new object motion track picture; or, generating a new object motion track picture according to the brightness value information of the pixel in the currently captured picture and the brightness value information of the pixel in the last synthesized object motion track picture. In this embodiment, a preferred method is to generate a new object motion track picture in a pixel replacement manner. The specific process is as follows: determining whether the brightness value of the pixel in the currently captured picture at the same position is greater than the pixel of the last synthesized object motion track picture. The brightness value; when it is determined that the brightness value of the pixel in the currently captured picture at the same position is greater than the brightness value of the pixel of the last synthesized object motion track picture, the last synthesized object motion track picture is replaced with the current captured The corresponding position of the pixel in the picture, generating a new object motion track picture.
在本实施例中,该预设的曝光时间优选5~10秒(S)。在合成新的物体运动轨迹图片时,可对合成的运动轨迹图片进行降噪处理,同时还根据 当前拍摄图片曝光度,控制新合成物体运动轨迹图片的合成比例,抑制过曝产生。In the present embodiment, the preset exposure time is preferably 5 to 10 seconds (S). When synthesizing a new object motion trajectory picture, the synthesized motion trajectory picture can be subjected to noise reduction processing, and also according to The current exposure of the picture is taken, and the composite ratio of the motion picture of the newly synthesized object is controlled to suppress the overexposure.
在拍摄结束时,对各个物体运动轨迹图片进行视频编码处理,将其处理为MPEG-4、H264、H263、VP8等常见视频编码,以生成物体运动轨迹视频。本领域技术人员可以理解的是,也可每合成一张新的物体运动轨迹图片,对该合成的物体运动轨迹图片进行视频编码,基于各个经视频编码的物体运动轨迹图片生成物体运动轨迹视频。At the end of the shooting, the motion picture of each object is video-encoded, and processed into common video codes such as MPEG-4, H264, H263, and VP8 to generate an object motion track video. It can be understood by those skilled in the art that each time a new object motion trajectory picture is synthesized, the synthesized object motion trajectory picture is video-encoded, and an object motion trajectory video is generated based on each video-coded object motion trajectory picture.
本实施例提出的物体运动轨迹拍摄方法,在侦测到物体运动轨迹拍摄指令时,所述终端每隔预设的曝光时间获取当前环境参数,并在当前环境参数满足第一预设条件时,拍摄一张图片,基于拍摄得到的图片生成对应的物体运动轨迹视频,以保证拍摄的每张图片均可避免干扰,提高物体运动轨迹视频拍摄的质量。In the method for photographing an object motion trajectory according to the embodiment, when detecting an object motion trajectory shooting instruction, the terminal acquires a current environmental parameter every preset exposure time, and when the current environment parameter satisfies the first preset condition, Take a picture and generate a corresponding object motion track video based on the captured picture to ensure that each picture captured can avoid interference and improve the quality of the object motion track video shooting.
在一实施例中,为提高物体运动轨迹图片拍摄的质量参照图4,在本发明物体运动轨迹拍摄方法较佳实施例中,所述步骤S22包括:In an embodiment, in order to improve the quality of the object motion trajectory picture, referring to FIG. 4, in the preferred embodiment of the object motion trajectory shooting method of the present invention, the step S22 includes:
步骤S221,在拍摄到第一张图片之后,所述终端每拍摄到一张图片,确定当前拍摄到的图片是否满足第二预设条件;Step S221, after the first picture is captured, the terminal captures a picture to determine whether the currently captured picture meets the second preset condition;
步骤S222,在当前拍摄到的图片满足第二预设条件时,所述终端将当前拍摄的到的图片与上一次合成的物体运动轨迹图片进行合成,以生成新的物体运动轨迹图片。Step S222: When the currently captured picture satisfies the second preset condition, the terminal synthesizes the currently captured picture with the last synthesized object motion track picture to generate a new object motion track picture.
在本实施例中,第二预设条件可包括当前拍摄的图片没有抖动及/或当前拍摄的图片没有干扰信息及/或当前拍摄的图片没有过曝。In this embodiment, the second preset condition may include that the currently photographed picture has no jitter and/or the currently photographed picture has no interference information and/or the currently photographed picture is not overexposed.
在本实施例中,干扰信息是指干扰信息是指除待拍物体以为的其他干扰物。若物体运动的轨迹图片为星轨图片时,则其主要的干扰信息为光源干扰,例如飞机、空中探照灯等物体发出的光源对待拍物体的影响。在每拍摄到一张图片时,拍摄终端将当前拍摄到的图片与上一次合成的物体运 动轨迹图片进行比较,当当前拍摄到的图片中存在干扰信息时,获取当前拍摄到的图片中的干扰信息。当上一次合成的物体运动轨迹图片中存在干扰信息时,获取上一次合成的物体运动轨迹图片中的干扰信息。具体干扰信息确定的过程如下:终端获取当前拍摄到的图片中像素的亮度值大于一预设阈值的所有相邻像素,形成异常区域;获取上一次合成的物体运动轨迹图片中与当前拍摄到的图片的异常区域对应的位置是否存在像素亮度值大于所述预设阈值的像素;在上一次合成的物体运动轨迹图片中与当前拍摄到的图片的异常区域对应的位置不存在像素亮度值大于所述预设阈值的像素时,将所述异常区域作为当前拍摄到的图片中的干扰信息,即确定当前拍摄到的图片存在干扰。In the present embodiment, the interference information means that the interference information refers to other interferers that are considered by the object to be photographed. If the trajectory picture of the object motion is a star-track picture, the main interference information is the light source interference, such as the influence of the light source emitted by the object such as an airplane or an aerial searchlight. Whenever a picture is taken, the shooting terminal transports the currently captured picture with the last synthesized object. The moving track picture is compared, and when there is interference information in the currently captured picture, the interference information in the currently captured picture is acquired. When there is interference information in the motion track image of the last synthesized object, the interference information in the motion track image of the last synthesized object is acquired. The process of determining the specific interference information is as follows: the terminal acquires all adjacent pixels whose luminance values of the pixels in the currently captured picture are greater than a preset threshold, and forms an abnormal region; and acquires the motion track image of the last synthesized object and the currently captured image. Whether the pixel corresponding to the abnormal region of the picture has a pixel whose brightness value is greater than the preset threshold; in the last synthesized object motion track picture, the position corresponding to the abnormal area of the currently captured picture does not have a pixel brightness value greater than When the pixel of the preset threshold is described, the abnormal region is used as the interference information in the currently captured picture, that is, the current captured picture is determined to have interference.
在本实施例中,确定当前拍摄到的图片是否存在抖动,确定当前拍摄到的图片是否存在抖动可通过与上一次合成的物体运动轨迹图片之间的比对,例如将当前拍摄到的图片与上一次合成的物体运动轨迹图片进行比对,此时可确定当前的拍摄到的图片与上一次合成的物体运动轨迹图片相比是否有倾斜,或者明显不匹配,例如在合成的时,物体的运动轨迹不相连。In this embodiment, determining whether there is jitter in the currently captured picture, determining whether the currently captured picture has jitter can be compared with the last synthesized object motion track picture, for example, the currently captured picture and The image of the last synthesized object motion track is compared. At this time, it can be determined whether the current captured picture has a tilt or a significant mismatch compared with the last synthesized object motion track picture, for example, at the time of synthesis, the object The motion track is not connected.
过曝是指当前拍摄的图片的亮度过大,在当前拍摄到的图片的亮度过大时,可通过判定是否有大面积的像素点亮度大于预设阀值,在有大面积的像素点的亮度大于预设阀值时,说明当前拍摄到的图片过曝。Overexposure means that the brightness of the currently taken picture is too large. When the brightness of the currently captured picture is too large, it can be determined whether there is a large area of the pixel point brightness greater than the preset threshold, in the case of a large area of pixels. When the brightness is greater than the preset threshold, the current captured picture is overexposed.
该方案通过在图片合成的过程中,排除不满足第二预设条件的图片,以提高物体运动轨迹图片拍摄的质量。The scheme improves the quality of the image of the motion track of the object by excluding the picture that does not satisfy the second preset condition during the process of image synthesis.
在一实施例中,为提高物体运动轨迹图片拍摄的质量,所述步骤S221之后,所述步骤S22还包括:In an embodiment, in order to improve the quality of the image of the motion picture of the object, after the step S221, the step S22 further includes:
在当前拍摄到的图片不满足第二预设条件时,所述终端删除当前拍摄的图片。When the currently captured picture does not satisfy the second preset condition, the terminal deletes the currently taken picture.
在本实施例中,在当前拍摄到的图片不满足第二预设条件时,所述终 端可删除当前拍摄的图片,也可不做任何处理。In this embodiment, when the currently captured picture does not satisfy the second preset condition, the end The end can delete the currently taken picture, or do nothing.
在一实施例中,为提高物体运动轨迹图片拍摄的质量,在本发明物体运动轨迹拍摄方法第一实施例中,所述步骤S23包括:In an embodiment, in order to improve the quality of the motion picture of the object motion trajectory, in the first embodiment of the method for photographing the motion track of the object of the present invention, the step S23 includes:
在拍摄结束时,所述终端确定拍摄过程中合成的各个物体运动轨迹图片中满足第二预设条件的图片,并将满足第二预设条件的图片作为有效图片;At the end of the shooting, the terminal determines a picture that satisfies the second preset condition in the motion track image of each object synthesized during the shooting, and takes the picture that satisfies the second preset condition as the effective picture;
所述终端按照生成顺序对各个有效图片进行排序;The terminal sorts each valid picture according to the generation order;
所述终端将各个有效图片存储至预设的存储路径,并基于所述有效图片生成物体运动轨迹视频。The terminal stores each valid picture to a preset storage path, and generates an object motion trajectory video based on the effective picture.
在本实施例中,第二预设条件可包括当前拍摄的图片没有抖动及/或当前拍摄的图片没有干扰信息及/或当前拍摄的图片没有过曝。在本实施例中,干扰信息是指干扰信息是指除待拍物体以为的其他干扰物。在本实施例中,可在拍摄结束时,按照待合成图片的生成顺序依次对待合成图片进行比对,以确定各个待合成图片是否满足第二预设条件。In this embodiment, the second preset condition may include that the currently photographed picture has no jitter and/or the currently photographed picture has no interference information and/or the currently photographed picture is not overexposed. In the present embodiment, the interference information means that the interference information refers to other interferers that are considered by the object to be photographed. In this embodiment, at the end of the shooting, the composite images are sequentially compared according to the generation order of the images to be combined to determine whether each of the to-be-composited images satisfies the second preset condition.
相应地,本发明实施例还记载一种计算机存储介质,所述计算机存储介质中存储有计算机程序,所述计算机程序用于执行本发明实施例中图1、图2、图3、图4所示的物体运动轨迹拍摄方法。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 shooting the object motion trajectory.
本发明进一步提供一种本发明物体运动轨迹拍摄系统。The invention further provides an object motion trajectory photographing system of the invention.
参照图5,图5为本发明物体运动轨迹拍摄系统较佳实施例的功能模块示意图。Referring to FIG. 5, FIG. 5 is a schematic diagram of functional modules of a preferred embodiment of an object motion trajectory photographing system according to the present invention.
需要强调的是,对本领域的技术人员来说,图5所示功能模块图仅仅是一个较佳实施例的示例图,本领域的技术人员围绕图5所示的物体运动轨迹拍摄系统的功能模块,可轻易进行新的功能模块的补充;各功能模块的名称是自定义名称,仅用于辅助理解该物体运动轨迹拍摄系统的各个程序功能块,不用于限定本发明的技术方案,本发明技术方案的核心是,各 自定义名称的功能模块所要达成的功能。It should be emphasized that, for those skilled in the art, the functional block diagram shown in FIG. 5 is merely an exemplary diagram of a preferred embodiment, and those skilled in the art surround the functional modules of the object motion trajectory shooting system shown in FIG. 5. The function module can be easily supplemented by a new function module; the name of each function module is a custom name, which is only used to assist in understanding various program function blocks of the object motion trajectory photographing system, and is not used to limit the technical solution of the present invention. The core of the program is that each The function to be achieved by the function module of the custom name.
本实施例提出的物体运动轨迹拍摄系统,包括:The object motion trajectory photographing system proposed in this embodiment includes:
环境参数获取模块10,配置为在侦测到物体运动轨迹拍摄指令时,每隔预设的曝光时间获取当前环境参数;The environment parameter obtaining module 10 is configured to acquire the current environmental parameter every preset exposure time when the object motion track shooting instruction is detected;
拍摄模块20,配置为在当前环境参数满足第一预设条件时,拍摄一张图片;The photographing module 20 is configured to take a picture when the current environment parameter satisfies the first preset condition;
在侦测到物体运动轨迹拍摄指令时或者拍摄之前,环境参数获取模块10所在的终端可设定当前曝光时间、ISO、分辨率、曝光补偿、降噪等拍照参数,该拍照参数可由终端自动设定或调整,环境参数获取模块10所在的终端还可以根据不同地区上空不同的物体运动场景预设不同的参数,供用户拍摄时选择合适的物体运动场景进行拍摄,或者环境参数获取模块10所在的终端根据当前星空的状态自动选择合适的物体运动场景进行拍摄。例如,环境参数获取模块10包括:界面显示单元,配置为在侦测到物体运动轨迹拍摄指令时,显示物体运动场景选择界面,以供用户基于终端当前显示的物体运动场景选择界面选择对应的物体运动场景;锁定单元,配置为在侦测到用户基于所述物体运动场景选择界面触发的选择指令时,所述终端锁定该选择指令对应的物体运动场景;参数调整单元,配置为基于锁定的物体运动场景调整其拍摄参数;环境参数获取单元,配置为每隔预设的曝光时间获取当前环境参数。The terminal where the environmental parameter acquisition module 10 is located may set the current exposure time, ISO, resolution, exposure compensation, noise reduction and other camera parameters when the object motion trajectory shooting instruction is detected or before shooting, and the camera parameter may be automatically set by the terminal. Or the adjustment, the terminal where the environment parameter acquisition module 10 is located may also preset different parameters according to different object motion scenes over different regions, for the user to select a suitable object motion scene for shooting, or the environment parameter acquisition module 10 is located. The terminal automatically selects an appropriate object motion scene to shoot according to the state of the current starry sky. For example, the environment parameter obtaining module 10 includes: an interface display unit configured to display an object motion scene selection interface when the object motion trajectory shooting instruction is detected, so that the user selects a corresponding object based on the object motion scene selection interface currently displayed by the terminal. a motion scene; the locking unit is configured to: when detecting a selection instruction triggered by the user based on the object motion scene selection interface, the terminal locks an object motion scene corresponding to the selection instruction; and the parameter adjustment unit is configured to be based on the locked object The motion scene adjusts its shooting parameters; the environment parameter obtaining unit is configured to acquire the current environment parameter every preset exposure time.
该物体运动轨迹拍摄指令,可基于终端上的实体拍摄按钮、虚拟拍摄按钮、语音、手势以及第三方控制终端发送的控制指令等触发。环境参数获取模块10所在的终端在接收到物体运动轨迹拍摄指令时,可立即开始拍摄图片,也可以延迟预设时长开始拍摄图片,其中,延迟预设时长开始拍摄图片有利于避免在用户因按动拍摄按钮或触发虚拟拍摄按钮而对手机造成抖动时,拍摄图片。 The object motion trajectory shooting instruction may be triggered based on a physical shooting button, a virtual shooting button, a voice, a gesture, and a control command sent by a third-party control terminal on the terminal. When the terminal where the environment parameter acquisition module 10 is located receives the object motion track shooting instruction, the picture can be immediately taken, or the preset time length can be delayed to start shooting the picture, wherein delaying the preset time to start shooting the picture is beneficial to avoid the user pressing Take a picture when you shoot the button or trigger the virtual shooting button to shake the phone.
在本实施例中,该第一预设条件可为当前的光线强度小于第一预设阀值,或者当前的光线强度小于第二预设阀值,即可通过设置于镜头附近的光敏传感器检测当前环境中的光线强度,在当前环境中的光线强度大于第一预设阀值时,说明当前环境中存在强光源照射终端的镜头;在当前环境中的光线强度小于第二预设阀值时,说明该终端的镜头可能被遮挡,或者有障碍物经过。In this embodiment, the first preset condition may be that the current light intensity is less than the first preset threshold, or the current light intensity is less than the second preset threshold, and may be detected by a photosensitive sensor disposed near the lens. The light intensity in the current environment, when the light intensity in the current environment is greater than the first preset threshold, indicating that there is a lens of the strong light source illumination terminal in the current environment; when the light intensity in the current environment is less than the second preset threshold Indicates that the lens of the terminal may be blocked or an obstacle may pass.
处理模块30,配置为基于拍摄得到的图片生成物体运动轨迹视频。The processing module 30 is configured to generate an object motion trajectory video based on the captured image.
在本实施例中,处理模块30基于拍摄得到的图片生成物体运动轨迹视频的方式包括:In this embodiment, the manner in which the processing module 30 generates an object motion trajectory video based on the captured image includes:
1)参照图6,图6为所述处理模块30基于拍摄得到的图片生成物体运动轨迹视频的第一实施例,所述处理模块30包括:1) Referring to FIG. 6 , FIG. 6 is a first embodiment of the process module 30 for generating an object motion trajectory video based on the captured image. The processing module 30 includes:
第一处理单元31,配置为在拍摄到第一张图片时,将第一张图片作为第一次合成的物体运动轨迹图片;The first processing unit 31 is configured to use the first picture as the first synthesized object motion track picture when the first picture is captured;
合成单元32,配置为在拍摄到第一张图片之后,每拍摄到一张图片,将当前拍摄到的图片与上一次合成的物体运动轨迹图片进行合成以生成新的物体运动轨迹图片;The synthesizing unit 32 is configured to, after capturing the first picture, synthesize the currently captured picture with the last synthesized object motion track picture to generate a new object motion track picture;
第二处理单元33,配置为在拍摄结束时,将合成的多个物体运动轨迹图片存储至预设的存储路径并基于拍摄过程中合成的多个物体运动轨迹图片生成物体运动轨迹视频。The second processing unit 33 is configured to, when the shooting ends, store the synthesized plurality of object motion trajectory pictures to a preset storage path and generate an object motion trajectory video based on the plurality of object motion trajectory pictures synthesized during the shooting.
2)参照图7,图7为所述处理模块30基于拍摄得到的图片生成物体运动轨迹视频的第二实施例,所述处理模块30包括:2) Referring to FIG. 7, FIG. 7 is a second embodiment of the processing module 30 for generating an object motion trajectory video based on the captured image, the processing module 30 includes:
确定单元34,配置为在拍摄结束时,确定各个拍摄到的图片中满足第二预设条件的图片,并将满足第二预设条件的图片作为有效图片;The determining unit 34 is configured to determine, in the end of the shooting, a picture that meets the second preset condition in each of the captured pictures, and use the picture that meets the second preset condition as the effective picture;
排序单元35,配置为按照生成顺序对各个有效图片进行排序;The sorting unit 35 is configured to sort each valid picture according to the generation order;
提取单元36,配置为按照当前排列顺序提取拍摄得到的图片; The extracting unit 36 is configured to extract the captured picture according to the current sorting order;
第三处理单元37,配置为在提取到第一张图片时,将第一张图片作为第一次合成的物体运动轨迹图片;The third processing unit 37 is configured to: when the first picture is extracted, use the first picture as the first synthesized object motion track picture;
合成单元38,配置为在提取到第一张图片之后,每提取到一张图片,将当前提取到的图片与上一次合成的物体运动轨迹图片进行合成以生成新的物体运动轨迹图片;The synthesizing unit 38 is configured to, after extracting the first picture, synthesize the currently extracted picture with the last synthesized object motion track picture to generate a new object motion track picture;
所述第三处理单元37,还配置为将合成的多个物体运动轨迹图片存储至预设的存储路径并基于合成的多个物体运动轨迹图片生成物体运动轨迹视频。The third processing unit 37 is further configured to store the synthesized plurality of object motion trajectory pictures to a preset storage path and generate an object motion trajectory video based on the synthesized plurality of object motion trajectory pictures.
以上所列举出的两种生成物体运动轨迹视频的方式仅仅为示例性的,本领域技术人员利用本发明的技术思想,根据其具体需求所提出的其他生成物体运动轨迹视频的方式均在本发明的保护范围内,在此不进行一一穷举。The manners of generating the motion trajectory video of the object listed above are merely exemplary. Those skilled in the art utilize the technical idea of the present invention, and other methods for generating motion trajectories of the object according to the specific needs thereof are all in the present invention. Within the scope of protection, it is not exhaustive here.
在本实施例中,每张图片的拍摄之前环境参数获取模块10均获取当前的环境参数,在当前环境参数满足第一预设条件时,拍摄模块20才进行图片的拍摄,以保证拍摄得到的图片的质量。在本实施例中,处理模块30将当前拍摄到的图片与上一次合成的物体运动轨迹图片进行合成以生成新的物体运动轨迹图片的方式包括:将当前拍摄到的图片像素和上一次合成的物体运动轨迹图片的像素进行叠加,生成上一次合成的物体运动轨迹图片;或者,根据当前拍摄到的图片中像素的亮度值信息及上一次合成的物体运动轨迹图片中像素的亮度值信息,生成新的合成的物体运动轨迹图片。在本实施例中优选方案为合成单元基于像素替换的方式生成新的物体运动轨迹图片,具体合成单元如下:判断单元,配置为判断同一位置当前拍摄到的图片中的像素的亮度值是否大于上一次合成的物体运动轨迹图片的像素的亮度值;合成单元,配置为在判定同一位置当前拍摄到的图片中的像素的亮度值大于上一次合成的物体运动轨迹图片的像素的亮度值时,则将上 一次合成的物体运动轨迹图片中的像素替换为当前拍摄到的图片中对应位置的像素,生成新的物体运动轨迹图片。In this embodiment, the environment parameter obtaining module 10 of each picture captures the current environment parameter. When the current environment parameter satisfies the first preset condition, the shooting module 20 performs the image capturing to ensure the shooting. The quality of the picture. In this embodiment, the processing module 30 synthesizes the currently captured picture with the last synthesized object motion track picture to generate a new object motion track picture, including: the currently captured picture pixel and the last synthesized image. The pixels of the motion track image of the object are superimposed to generate a motion track image of the object synthesized last time; or, according to the brightness value information of the pixel in the currently captured image and the brightness value information of the pixel in the motion track image of the last synthesized object, A new synthetic object motion trajectory picture. In a preferred embodiment, the synthesizing unit generates a new object motion trajectory picture based on the pixel replacement manner. The specific synthesizing unit is as follows: the determining unit is configured to determine whether the brightness value of the pixel in the currently captured picture at the same position is greater than a luminance value of a pixel of a synthesized object motion trajectory picture; a synthesizing unit configured to determine, when determining that a luminance value of a pixel in a currently captured picture at the same position is greater than a luminance value of a pixel of the last synthesized object motion trajectory picture, Will be on The pixel in the motion track image of the synthesized object is replaced with the pixel of the corresponding position in the currently captured image, and a new motion picture of the object motion is generated.
在本实施例中,该预设的曝光时间优选5~10S。在合成新的物体运动轨迹图片时,可对合成的运动轨迹图片进行降噪处理,同时还根据当前拍摄图片曝光度,控制新合成物体运动轨迹图片的合成比例,抑制过曝产生。In this embodiment, the preset exposure time is preferably 5 to 10 seconds. When synthesizing a new object motion trajectory picture, the synthesized motion trajectory picture can be subjected to noise reduction processing, and at the same time, according to the exposure degree of the current captured picture, the synthesis ratio of the motion picture of the newly synthesized object is controlled, and overexposure is suppressed.
在本实施例中,在当前拍摄模式为物体运动轨迹图片拍摄模式时,处理模块30可在拍摄结束时,将最后一张待合成图片作为物体运动轨迹图片;在当前拍摄模式为物体运动轨迹图片拍摄模式时,可在拍摄结束时,处理模块30对各个待合成图片进行视频编码处理,将其处理为MPEG-4、H264、H263、VP8等常见视频编码,以生成物体运动轨迹视频。本领域技术人员可以理解的是,也可每合成一张新的物体运动轨迹图片,处理模块30对该合成的物体运动轨迹图片进行视频编码,基于各个经视频编码的物体运动轨迹图片生成物体运动轨迹视频。In this embodiment, when the current shooting mode is the object motion track picture shooting mode, the processing module 30 may use the last picture to be combined as the object motion track picture at the end of the shooting; in the current shooting mode, the object motion track picture In the shooting mode, at the end of shooting, the processing module 30 performs video encoding processing on each picture to be combined, and processes it into common video encodings such as MPEG-4, H264, H263, and VP8 to generate an object motion track video. It can be understood by those skilled in the art that each time a new object motion track picture is synthesized, the processing module 30 performs video coding on the synthesized object motion track picture, and generates object motion based on each video encoded object motion track picture. Track video.
本实施例提出的物体运动轨迹拍摄系统,在侦测到物体运动轨迹拍摄指令时,所述终端每隔预设的曝光时间获取当前环境参数,并在当前环境参数满足第一预设条件时,拍摄一张图片,基于拍摄得到的图片生成对应的物体运动轨迹视频,以保证拍摄的每张图片均可避免干扰,提高物体运动轨迹视频拍摄的质量。In the object motion trajectory photographing system of the present embodiment, when detecting an object motion trajectory shooting instruction, the terminal acquires current environmental parameters every preset exposure time, and when the current environmental parameter satisfies the first preset condition, Take a picture and generate a corresponding object motion track video based on the captured picture to ensure that each picture captured can avoid interference and improve the quality of the object motion track video shooting.
在一实施例中,为提高物体运动轨迹图片拍摄的质量,在本发明物体运动轨迹拍摄系统较佳实施例中,所述合成单元32包括:In an embodiment, in order to improve the quality of the motion picture of the object motion trajectory, in the preferred embodiment of the object motion trajectory imaging system of the present invention, the synthesizing unit 32 includes:
确定子单元,配置为在拍摄到第一张图片之后,每拍摄到一张图片,确定当前拍摄到的图片是否满足第二预设条件;Determining a subunit, configured to determine whether the currently photographed picture satisfies a second preset condition after each picture is captured after the first picture is captured;
合成子单元,配置为在当前拍摄到的图片满足第二预设条件时,将当前拍摄的到的图片与上一次合成的物体运动轨迹图片进行合成,以生成新的物体运动轨迹图片。 And a synthesizing sub-unit configured to synthesize the currently captured picture with the last synthesized object motion track picture to generate a new object motion track picture when the currently captured picture satisfies the second preset condition.
在本实施例中,第二预设条件可包括当前拍摄的图片没有抖动及/或当前拍摄的图片没有干扰信息及/或当前拍摄的图片没有过曝。In this embodiment, the second preset condition may include that the currently photographed picture has no jitter and/or the currently photographed picture has no interference information and/or the currently photographed picture is not overexposed.
在本实施例中,干扰信息是指干扰信息是指除待拍物体以为的其他干扰物。若物体运动的轨迹图片为星轨图片时,则其主要的干扰信息为光源干扰,例如飞机、空中探照灯等物体发出的光源对待拍物体的影响。在每拍摄到一张图片时,确定单元将当前拍摄到的图片与上一次合成的物体运动轨迹图片进行比较以确定当前拍摄到的图片是否满足第二预设条件,在当前拍摄到的图片中存在干扰信息时,确定当前拍摄的图片不满足第二预设条件。具体干扰信息确定的过程如下:获取单元获取当前拍摄到的图片中像素的亮度值大于一预设阈值的所有相邻像素,形成异常区域,以及获取上一次合成的物体运动轨迹图片中与当前拍摄到的图片的异常区域对应的位置是否存在像素亮度值大于所述预设阈值的像素;在上一次合成的物体运动轨迹图片中与当前拍摄到的图片的异常区域对应的位置不存在像素亮度值大于所述预设阈值的像素时,将所述异常区域作为当前拍摄到的图片中的干扰信息,即确定当前拍摄到的图片存在干扰。In the present embodiment, the interference information means that the interference information refers to other interferers that are considered by the object to be photographed. If the trajectory picture of the object motion is a star-track picture, the main interference information is the light source interference, such as the influence of the light source emitted by the object such as an airplane or an aerial searchlight. Each time a picture is captured, the determining unit compares the currently captured picture with the last synthesized object motion track picture to determine whether the currently captured picture satisfies the second preset condition, in the currently captured picture. When there is interference information, it is determined that the currently photographed picture does not satisfy the second preset condition. The process of determining the specific interference information is as follows: the acquiring unit acquires all adjacent pixels in which the brightness value of the pixel in the currently captured picture is greater than a preset threshold, forms an abnormal region, and acquires the image of the last synthesized object motion track and the current shooting Whether there is a pixel whose pixel brightness value is greater than the preset threshold value in the position corresponding to the abnormal area of the picture; in the last synthesized object motion track picture, there is no pixel brightness value corresponding to the abnormal area of the currently captured picture When the pixel is larger than the preset threshold, the abnormal region is used as the interference information in the currently captured picture, that is, the current captured picture is determined to have interference.
在本实施例中,确定当前拍摄到的图片是否存在抖动,确定当前拍摄到的图片是否存在抖动可通过与上一次合成的物体运动轨迹图片之间的比对,例如将当前拍摄到的图片与上一次合成的物体运动轨迹图片进行比对,此时可确定当前的拍摄到的图片与待合成图片相比是否有倾斜,或者明显不匹配,例如在合成的时,物体的运动轨迹不相连。In this embodiment, determining whether there is jitter in the currently captured picture, determining whether the currently captured picture has jitter can be compared with the last synthesized object motion track picture, for example, the currently captured picture and The image of the last synthesized object motion track is compared. At this time, it can be determined whether the current captured picture has a tilt or a significant mismatch compared with the picture to be combined. For example, when the image is synthesized, the motion track of the object is not connected.
过曝是指当前拍摄的图片的亮度过大,在当前拍摄到的图片的亮度过大时,可通过判定是否有大面积的像素点亮度大于预设阀值,在有大面积的像素点的亮度大于预设阀值时,说明当前拍摄到的图片过曝。Overexposure means that the brightness of the currently taken picture is too large. When the brightness of the currently captured picture is too large, it can be determined whether there is a large area of the pixel point brightness greater than the preset threshold, in the case of a large area of pixels. When the brightness is greater than the preset threshold, the current captured picture is overexposed.
该方案通过在图片合成的过程中,排除不满足第二预设条件的图片,以提高物体运动轨迹图片拍摄的质量。 The scheme improves the quality of the image of the motion track of the object by excluding the picture that does not satisfy the second preset condition during the process of image synthesis.
在一实施例中,为提高物体运动轨迹图片拍摄的质量,所述合成单元32还包括:In an embodiment, to improve the quality of the image of the motion picture of the object, the synthesizing unit 32 further includes:
删除子单元,配置为在当前拍摄到的图片不满足第二预设条件时,删除当前拍摄的图片。The subunit is deleted, and is configured to delete the currently photographed picture when the currently photographed picture does not satisfy the second preset condition.
在本实施例中,在当前拍摄到的图片不满足第二预设条件时,所述终端可删除当前拍摄的图片,也可不做任何处理。In this embodiment, when the currently captured picture does not satisfy the second preset condition, the terminal may delete the currently captured picture, or may not perform any processing.
在一实施例中,为提高物体运动轨迹图片拍摄的质量,在本发明物体运动轨迹拍摄系统较佳实施例中,所述处理模块30包括:In an embodiment, in order to improve the quality of the motion picture of the object motion trajectory, in the preferred embodiment of the object motion trajectory imaging system of the present invention, the processing module 30 includes:
确定单元,配置为在拍摄结束时,确定拍摄过程中合成的各个物体运动轨迹图片中满足第二预设条件的图片,并将满足第二预设条件的图片作为有效图片;a determining unit configured to determine, in the end of the shooting, a picture that satisfies the second preset condition in the motion track image of each object synthesized during the shooting, and use the picture that meets the second preset condition as the effective picture;
排序单元,配置为按照生成顺序对各个有效图片进行排序;a sorting unit configured to sort each valid picture in a generation order;
处理单元,将各个有效图片存储至预设的存储路径,并基于所述有效图片生成物体运动轨迹视频。The processing unit stores each valid picture to a preset storage path, and generates an object motion trajectory video based on the effective picture.
在本实施例中,第二预设条件可包括当前拍摄的图片没有抖动及/或当前拍摄的图片没有干扰信息及/或当前拍摄的图片没有过曝。在本实施例中,干扰信息是指干扰信息是指除待拍物体以为的其他干扰物。在本实施例中,可在拍摄结束时,确定单元按照待合成图片的生成顺序依次对待合成图片进行比对,以确定各个待合成图片是否满足第二预设条件。In this embodiment, the second preset condition may include that the currently photographed picture has no jitter and/or the currently photographed picture has no interference information and/or the currently photographed picture is not overexposed. In the present embodiment, the interference information means that the interference information refers to other interferers that are considered by the object to be photographed. In this embodiment, at the end of the shooting, the determining unit sequentially compares the synthesized pictures according to the order in which the pictures to be combined are generated, to determine whether each of the pictures to be combined satisfies the second preset condition.
在实际应用中,所述环境参数获取模块10、拍摄模块20、处理模块30、以及环境参数获取模块10的各个子单元,处理模块30的各个子单元,均可由所述物体运动轨迹拍摄系统或所述物体运动轨迹拍摄系统所属设备的中央处理器(CPU,Central Processing Unit)、微处理器(MPU,Micro Processor Unit)、数字信号处理器(DSP,Digital Signal Processor)、或现场可编程门阵列(FPGA,Field Programmable Gate Array)等实现。 In an actual application, each subunit of the environment parameter obtaining module 10, the photographing module 20, the processing module 30, and the environment parameter obtaining module 10, and each subunit of the processing module 30 may be used by the object motion trajectory shooting system or a central processing unit (CPU) of a device to which the object motion trajectory photographing system belongs, a microprocessor (MPU, a Micro Processor Unit), a digital signal processor (DSP), or a field programmable gate array (FPGA, Field Programmable Gate Array) and other implementations.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, item, or system. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in a process, method, article, or system that includes the element, without further limitation.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.
工业实用性Industrial applicability
本发明实施例中,在侦测到物体运动轨迹拍摄指令时,终端每隔预设的曝光时间获取当前环境参数,并在当前环境参数满足第一预设条件时,拍摄一张图片;所述终端基于拍摄得到的图片生成物体运动轨迹视频;如此,能保证拍摄的每张图片均可避免干扰,提高物体运动轨迹视频拍摄的 质量。 In the embodiment of the present invention, when detecting an object motion trajectory shooting instruction, the terminal acquires a current environmental parameter every preset exposure time, and when the current environmental parameter meets the first preset condition, takes a picture; The terminal generates an object motion trajectory video based on the captured image; thus, it can ensure that each picture taken can avoid interference, and improve the motion track of the object. quality.

Claims (21)

  1. 一种物体运动轨迹拍摄方法,其特征在于,所述方法包括:A method for photographing an object motion trajectory, characterized in that the method comprises:
    在侦测到物体运动轨迹拍摄指令时,终端每隔预设的曝光时间获取当前环境参数,并在当前环境参数满足第一预设条件时,拍摄一张图片;When detecting an object motion trajectory shooting instruction, the terminal acquires the current environmental parameter every preset exposure time, and takes a picture when the current environmental parameter satisfies the first preset condition;
    所述终端基于拍摄得到的图片生成物体运动轨迹视频。The terminal generates an object motion trajectory video based on the captured picture.
  2. 如权利要求1所述的方法,其中,所述终端基于拍摄得到的图片生成物体运动轨迹视频,包括:The method of claim 1, wherein the terminal generates an object motion trajectory video based on the captured picture, comprising:
    在拍摄到第一张图片时,将第一张图片作为第一次合成的物体运动轨迹图片;When the first picture is taken, the first picture is taken as the first synthesized object motion track picture;
    在拍摄到第一张图片之后,所述终端每拍摄到一张图片,将当前拍摄到的图片与上一次合成的物体运动轨迹图片进行合成以生成新的物体运动轨迹图片;After the first picture is captured, the terminal combines the currently captured picture with the last synthesized object motion track picture to generate a new object motion track picture for each picture captured;
    在拍摄结束时,所述终端将合成的多个物体运动轨迹图片存储至预设的存储路径并基于拍摄过程中合成的多个物体运动轨迹图片生成物体运动轨迹视频。At the end of the shooting, the terminal stores the synthesized plurality of object motion trajectory pictures to a preset storage path and generates an object motion trajectory video based on the plurality of object motion trajectory pictures synthesized during the shooting.
  3. 如权利要求2所述的方法,其中,所述在拍摄到第一张图片之后,所述终端每拍摄到一张图片,将当前拍摄到的图片与上一次合成的物体运动轨迹图片进行合成以生成新的物体运动轨迹图片,包括:The method according to claim 2, wherein, after the first picture is captured, the terminal combines the currently captured picture with the last synthesized object motion track picture for each picture captured. Generate a new image of the object's motion track, including:
    在拍摄到第一张图片之后,所述终端每拍摄到一张图片,确定当前拍摄到的图片是否满足第二预设条件;After the first picture is captured, the terminal captures a picture to determine whether the currently captured picture meets the second preset condition;
    在当前拍摄到的图片满足第二预设条件时,所述终端将当前拍摄的到的图片与上一次合成的物体运动轨迹图片进行合成,以生成新的物体运动轨迹图片。When the currently captured picture satisfies the second preset condition, the terminal synthesizes the currently captured picture with the last synthesized object motion track picture to generate a new object motion track picture.
  4. 如权利要求3所述的方法,其中,所述在拍摄到第一张图片之后,所述终端每拍摄到一张图片,确定当前拍摄到的图片是否满足第二预设条 件的步骤之后,还包括:The method according to claim 3, wherein, after the first picture is captured, the terminal captures a picture to determine whether the currently captured picture satisfies the second preset After the steps of the piece, it also includes:
    在当前拍摄到的图片不满足第二预设条件时,所述终端删除当前拍摄的图片。When the currently captured picture does not satisfy the second preset condition, the terminal deletes the currently taken picture.
  5. 如权利要求1所述的方法,其中,所述终端基于拍摄得到的图片生成物体运动轨迹视频,包括:The method of claim 1, wherein the terminal generates an object motion trajectory video based on the captured picture, comprising:
    在拍摄结束时,所述终端确定各个拍摄到的图片中满足第二预设条件的图片,并将满足第二预设条件的图片作为有效图片;At the end of the shooting, the terminal determines a picture that meets the second preset condition in each of the captured pictures, and takes a picture that satisfies the second preset condition as a valid picture;
    所述终端按照生成顺序对各个有效图片进行排序,并按照当前排列顺序提取拍摄得到的图片;The terminal sorts each valid picture according to the generation order, and extracts the captured picture according to the current arrangement order;
    在提取到第一张图片时,所述终端将第一张图片作为第一次合成的物体运动轨迹图片;When extracting the first picture, the terminal uses the first picture as the first synthesized object motion track picture;
    在提取到第一张图片之后,所述终端每提取到一张图片,将当前提取到的图片与上一次合成的物体运动轨迹图片进行合成以生成新的物体运动轨迹图片;After extracting the first picture, the terminal extracts a picture, and combines the currently extracted picture with the last synthesized object motion track picture to generate a new object motion track picture;
    所述终端将合成的多个物体运动轨迹图片存储至预设的存储路径并基于合成的多个物体运动轨迹图片生成物体运动轨迹视频。The terminal stores the synthesized plurality of object motion trajectory images to a preset storage path and generates an object motion trajectory video based on the synthesized plurality of object motion trajectory pictures.
  6. 如权利要求1所述的方法,其中,所述在侦测到物体运动轨迹拍摄指令时或者拍摄之前,所述方法还包括:The method of claim 1, wherein the method further comprises: upon detecting an object motion trajectory shooting instruction or before shooting, the method further comprising:
    终端设定拍照参数,其中,所述拍照参数由终端自动设定或调整。The terminal sets the photographing parameter, wherein the photographing parameter is automatically set or adjusted by the terminal.
  7. 如权利要求1所述的方法,其中,所述该第一预设条件为当前的光线强度大于第一预设阀值,或者当前的光线强度小于第二预设阀值。The method of claim 1, wherein the first predetermined condition is that the current light intensity is greater than the first predetermined threshold, or the current light intensity is less than the second predetermined threshold.
  8. 如权利要求2所述的方法,其中,所述当前拍摄到的图片与上一次合成运动轨迹图片进行合成以生成新的物体运动轨迹图片的方式包括:The method of claim 2, wherein the manner in which the currently captured picture is combined with the last synthesized motion track picture to generate a new object motion track picture comprises:
    将当前拍摄到的图片像素和上一次合成的物体运动轨迹图片的像素进行叠加,生成新的物体运动轨迹图片;或者,根据当前拍摄到的图片中像 素的亮度值信息及上一次合成的物体运动轨迹图片中像素的亮度值信息,生成新的物体运动轨迹图片。Superimposing the currently captured picture pixel and the pixel of the last synthesized object motion track picture to generate a new object motion track picture; or, according to the currently captured picture image The brightness value information of the element and the brightness value information of the pixel in the last synthesized object motion track picture generate a new object motion track picture.
  9. 如权利要求3所述的方法,其中,所述第二预设条件包括:The method of claim 3 wherein said second predetermined condition comprises:
    当前拍摄的图片没有抖动及/或当前拍摄的图片没有干扰信息及/或当前拍摄的图片没有过曝。The currently captured picture is not dithered and/or the currently captured picture has no interfering information and/or the currently taken picture is not overexposed.
  10. 如权利要求9所述的方法,其中,所述干扰信息确定的过程包括:The method of claim 9, wherein the process of determining the interference information comprises:
    终端获取当前拍摄到的图片中像素的亮度值大于一预设阈值的所有相邻像素,形成异常区域;Obtaining, by the terminal, all adjacent pixels whose luminance values of pixels in the currently captured picture are greater than a preset threshold, forming an abnormal region;
    获取上一次合成的物体运动轨迹图片中与当前拍摄到的图片的异常区域对应的位置是否存在像素亮度值大于所述预设阈值的像素;Obtaining, in the last motion track image of the object, a position corresponding to the abnormal region of the currently captured picture, whether there is a pixel whose pixel brightness value is greater than the preset threshold;
    在上一次合成的物体运动轨迹图片中与当前拍摄到的图片的异常区域对应的位置不存在像素亮度值大于所述预设阈值的像素时,将所述异常区域作为当前拍摄到的图片中的干扰信息,确定当前拍摄到的图片存在干扰。When the pixel corresponding to the abnormal region of the currently captured image does not have a pixel whose brightness value is greater than the preset threshold in the last synthesized object motion track image, the abnormal region is used as the currently captured image. Interference information to determine that there is interference in the currently captured picture.
  11. 一种物体运动轨迹拍摄系统,所述系统包括:An object motion trajectory photographing system, the system comprising:
    环境参数获取模块,配置为在侦测到物体运动轨迹拍摄指令时,每隔预设的曝光时间获取当前环境参数;The environment parameter obtaining module is configured to acquire the current environmental parameter every preset exposure time when the object motion track shooting instruction is detected;
    拍摄模块,配置为在当前环境参数满足第一预设条件时,拍摄一张图片;a shooting module configured to take a picture when the current environmental parameter meets the first preset condition;
    处理模块,配置为基于拍摄得到的图片生成物体运动轨迹视频。The processing module is configured to generate an object motion trajectory video based on the captured image.
  12. 如权利要求11所述的系统,其中,所述处理模块包括:The system of claim 11 wherein said processing module comprises:
    第一处理单元,配置为在拍摄到第一张图片时,将第一张图片作为第一次合成的物体运动轨迹图片;a first processing unit configured to: when the first picture is captured, use the first picture as the first synthesized object motion track picture;
    合成单元,配置为在拍摄到第一张图片之后,每拍摄到一张图片,将当前拍摄到的图片与上一次合成的物体运动轨迹图片进行合成以生成新的物体运动轨迹图片; a synthesizing unit configured to, after capturing the first picture, synthesize a currently taken picture with the last synthesized object motion track picture to generate a new object motion track picture;
    第二处理单元,配置为在拍摄结束时,将合成的多个物体运动轨迹图片存储至预设的存储路径并基于拍摄过程中合成的多个物体运动轨迹图片生成物体运动轨迹视频。The second processing unit is configured to, when the shooting ends, store the synthesized plurality of object motion trajectory images to a preset storage path and generate an object motion trajectory video based on the plurality of object motion trajectory images synthesized during the shooting.
  13. 如权利要求12所述的系统,其中,所述合成单元包括:The system of claim 12 wherein said synthesizing unit comprises:
    确定子单元,配置为在拍摄到第一张图片之后,每拍摄到一张图片,确定当前拍摄到的图片是否满足第二预设条件;Determining a subunit, configured to determine whether the currently photographed picture satisfies a second preset condition after each picture is captured after the first picture is captured;
    合成子单元,配置为在当前拍摄到的图片满足第二预设条件时,将当前拍摄的到的图片与上一次合成的物体运动轨迹图片进行合成,以生成新的物体运动轨迹图片。And a synthesizing sub-unit configured to synthesize the currently captured picture with the last synthesized object motion track picture to generate a new object motion track picture when the currently captured picture satisfies the second preset condition.
  14. 如权利要求13所述的系统,其中,所述合成单元还包括:The system of claim 13 wherein said synthesizing unit further comprises:
    删除子单元,配置为在当前拍摄到的图片不满足第二预设条件时,删除当前拍摄的图片。The subunit is deleted, and is configured to delete the currently photographed picture when the currently photographed picture does not satisfy the second preset condition.
  15. 如权利要求11所述的系统,其中,所述处理模块包括:The system of claim 11 wherein said processing module comprises:
    确定单元,配置为在拍摄结束时,确定各个拍摄到的图片中满足第二预设条件的图片,并将满足第二预设条件的图片作为有效图片;a determining unit configured to determine, in the end of the shooting, a picture that meets the second preset condition in each of the captured pictures, and use the picture that meets the second preset condition as the effective picture;
    排序单元,配置为按照生成顺序对各个有效图片进行排序;a sorting unit configured to sort each valid picture in a generation order;
    提取单元,配置为按照当前排列顺序提取拍摄得到的图片;The extracting unit is configured to extract the captured image according to the current sorting order;
    第三处理单元,配置为在提取到第一张图片时,将第一张图片作为第一次合成的物体运动轨迹图片;a third processing unit configured to: when the first picture is extracted, use the first picture as the first synthesized object motion track picture;
    合成单元,配置为在提取到第一张图片之后,每提取到一张图片,将当前提取到的图片与上一次合成的物体运动轨迹图片进行合成以生成新的物体运动轨迹图片;a synthesizing unit configured to, after extracting the first picture, synthesize the currently extracted picture with the last synthesized object motion track picture to generate a new object motion track picture;
    所述第三处理单元,还配置为将合成的多个物体运动轨迹图片存储至预设的存储路径并基于合成的多个物体运动轨迹图片生成物体运动轨迹视频。 The third processing unit is further configured to store the synthesized plurality of object motion trajectory pictures to a preset storage path and generate an object motion trajectory video based on the synthesized plurality of object motion trajectory pictures.
  16. 如权利要求11所述的系统,其中,所述环境参数获取模块,还配置为:The system of claim 11, wherein the environment parameter obtaining module is further configured to:
    在侦测到物体运动轨迹拍摄指令时或者拍摄之前,设定拍照参数。Set the camera parameters when an object motion track shooting command is detected or before shooting.
  17. 如权利要求11所述的系统,其中,所述该第一预设条件为当前的光线强度大于第一预设阀值,或者当前的光线强度小于第二预设阀值。The system of claim 11 wherein the first predetermined condition is that the current light intensity is greater than the first predetermined threshold or the current light intensity is less than the second predetermined threshold.
  18. 如权利要求12所述的系统,其中,所述合成单元,还配置为:The system of claim 12, wherein the synthesizing unit is further configured to:
    将当前拍摄到的图片像素和上一次合成的物体运动轨迹图片的像素进行叠加,生成新的物体运动轨迹图片;或者,根据当前拍摄到的图片中像素的亮度值信息及上一次合成的物体运动轨迹图片中像素的亮度值信息,生成新的物体运动轨迹图片。Superimposing the currently captured picture pixel and the pixel of the last synthesized object motion track picture to generate a new object motion track picture; or, according to the brightness value information of the pixel in the currently captured picture and the motion of the last synthesized object The brightness value information of the pixels in the track picture generates a new object motion track picture.
  19. 如权利要求13所述的系统,其中,所述第二预设条件包括:The system of claim 13 wherein said second predetermined condition comprises:
    当前拍摄的图片没有抖动及/或当前拍摄的图片没有干扰信息及/或当前拍摄的图片没有过曝。The currently captured picture is not dithered and/or the currently captured picture has no interfering information and/or the currently taken picture is not overexposed.
  20. 如权利要求19所述的系统,其中,所述合成子单元,还配置为:The system of claim 19 wherein said synthesizing subunit is further configured to:
    获取当前拍摄到的图片中像素的亮度值大于一预设阈值的所有相邻像素,形成异常区域;Obtaining all adjacent pixels in the currently captured picture whose brightness value is greater than a preset threshold, forming an abnormal region;
    获取上一次合成的物体运动轨迹图片中与当前拍摄到的图片的异常区域对应的位置是否存在像素亮度值大于所述预设阈值的像素;Obtaining, in the last motion track image of the object, a position corresponding to the abnormal region of the currently captured picture, whether there is a pixel whose pixel brightness value is greater than the preset threshold;
    在上一次合成的物体运动轨迹图片中与当前拍摄到的图片的异常区域对应的位置不存在像素亮度值大于所述预设阈值的像素时,将所述异常区域作为当前拍摄到的图片中的干扰信息,确定当前拍摄到的图片存在干扰。When the pixel corresponding to the abnormal region of the currently captured image does not have a pixel whose brightness value is greater than the preset threshold in the last synthesized object motion track image, the abnormal region is used as the currently captured image. Interference information to determine that there is interference in the currently captured picture.
  21. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至10任一项所述的物体运动轨迹拍摄方法。 A computer storage medium storing computer executable instructions for performing the object motion trajectory photographing method according to any one of claims 1 to 10.
PCT/CN2015/085199 2014-08-06 2015-07-27 Object motion trajectory photographing method and system, and computer storage medium WO2016019817A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410384980.XA CN104125404B (en) 2014-08-06 2014-08-06 Movement locus of object image pickup method and system
CN201410384980.X 2014-08-06

Publications (1)

Publication Number Publication Date
WO2016019817A1 true WO2016019817A1 (en) 2016-02-11

Family

ID=51770656

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/085199 WO2016019817A1 (en) 2014-08-06 2015-07-27 Object motion trajectory photographing method and system, and computer storage medium

Country Status (2)

Country Link
CN (1) CN104125404B (en)
WO (1) WO2016019817A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106814742A (en) * 2016-12-29 2017-06-09 湖南创动智能科技有限公司 A kind of control method of unmanned plane, control device and unmanned plane
CN109669307A (en) * 2019-01-31 2019-04-23 中国地质大学(武汉) It is a kind of for testing the device of motion profile prediction algorithm
CN112843678A (en) * 2020-12-31 2021-05-28 上海米哈游天命科技有限公司 Method and device for shooting image, electronic equipment and storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125404B (en) * 2014-08-06 2018-02-23 努比亚技术有限公司 Movement locus of object image pickup method and system
JP6531689B2 (en) * 2016-03-22 2019-06-19 株式会社デンソー Moving trajectory detection device, moving object detecting device, moving trajectory detection method
CN107690058A (en) * 2016-08-04 2018-02-13 惠州学院 A kind of multiple target video frequency following system and method
CN106488125A (en) * 2016-10-31 2017-03-08 努比亚技术有限公司 A kind of image processing method and equipment
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
JP2007259477A (en) * 2002-09-30 2007-10-04 Toshiba Corp Image composition method, apparatus, and program
CN101330575A (en) * 2007-06-21 2008-12-24 株式会社理光 Image recording apparatus
CN102036009A (en) * 2009-09-24 2011-04-27 深圳爱意无线科技有限公司 Miniature camera
CN103109523A (en) * 2010-09-14 2013-05-15 富士胶片株式会社 Imaging device and imaging method
CN103905730A (en) * 2014-03-24 2014-07-02 深圳市中兴移动通信有限公司 Shooting method of mobile terminal and mobile terminal
CN104125404A (en) * 2014-08-06 2014-10-29 深圳市中兴移动通信有限公司 Object motion track shooting method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203057299U (en) * 2012-09-29 2013-07-10 信利光电(汕尾)有限公司 Camera module
CN103179348A (en) * 2013-03-25 2013-06-26 东莞宇龙通信科技有限公司 Shooting method and system for mobile terminals and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007259477A (en) * 2002-09-30 2007-10-04 Toshiba Corp Image composition method, apparatus, and program
CN101330575A (en) * 2007-06-21 2008-12-24 株式会社理光 Image recording apparatus
CN102036009A (en) * 2009-09-24 2011-04-27 深圳爱意无线科技有限公司 Miniature camera
CN103109523A (en) * 2010-09-14 2013-05-15 富士胶片株式会社 Imaging device and imaging method
CN103905730A (en) * 2014-03-24 2014-07-02 深圳市中兴移动通信有限公司 Shooting method of mobile terminal and mobile terminal
CN104125404A (en) * 2014-08-06 2014-10-29 深圳市中兴移动通信有限公司 Object motion track shooting method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106814742A (en) * 2016-12-29 2017-06-09 湖南创动智能科技有限公司 A kind of control method of unmanned plane, control device and unmanned plane
CN109669307A (en) * 2019-01-31 2019-04-23 中国地质大学(武汉) It is a kind of for testing the device of motion profile prediction algorithm
CN109669307B (en) * 2019-01-31 2023-09-19 中国地质大学(武汉) Device for testing motion trail prediction algorithm
CN112843678A (en) * 2020-12-31 2021-05-28 上海米哈游天命科技有限公司 Method and device for shooting image, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104125404A (en) 2014-10-29
CN104125404B (en) 2018-02-23

Similar Documents

Publication Publication Date Title
WO2016019817A1 (en) Object motion trajectory photographing method and system, and computer storage medium
JP6388673B2 (en) Mobile terminal and imaging method thereof
US9432579B1 (en) Digital image processing
JP5867424B2 (en) Image processing apparatus, image processing method, and program
US20170085770A1 (en) Mobile terminal photographing method and mobile terminal
CN111684788A (en) Image processing method and device
CN109474770B (en) Imaging device and imaging method
US10455154B2 (en) Image processing device, image processing method, and program including stable image estimation and main subject determination
WO2016008359A1 (en) Object movement track image synthesizing method, device and computer storage medium
US20150189142A1 (en) Electronic apparatus and method of capturing moving subject by using the same
US9253406B2 (en) Image capture apparatus that can display review image, image capture method, and storage medium
US11120533B2 (en) Information processing method and information processing apparatus
CN111095912B (en) Image pickup apparatus, image pickup method, and recording medium
JP2009171428A (en) Control method and program for digital camera apparatus and electronic zoom
WO2016011861A1 (en) Method and photographing terminal for photographing object motion trajectory
US11831995B2 (en) Image capturing apparatus, image capturing method, and carrier means
US11622175B2 (en) Electronic apparatus and control method thereof
WO2016019786A1 (en) Object motion trajectory photographing method and system, and computer storage medium
JP2010183460A (en) Image capturing apparatus and method of controlling the same
US20120188437A1 (en) Electronic camera
KR20110040249A (en) A digital image processing apparatus for recognizing firework, there of method and there of computer-readable storage medium
JP2015080157A (en) Image processing device, image processing method and program
JP2012169936A (en) Imaging apparatus and image processing method of the same
US11270421B2 (en) Image processing apparatus and image processing method that reduce image noise, and storage medium
CN111586281B (en) Scene processing method and device

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 20/06/2017)

122 Ep: pct application non-entry in european phase

Ref document number: 15829446

Country of ref document: EP

Kind code of ref document: A1