CN102567999B - Method for applying track data - Google Patents

Method for applying track data Download PDF

Info

Publication number
CN102567999B
CN102567999B CN201010611990.4A CN201010611990A CN102567999B CN 102567999 B CN102567999 B CN 102567999B CN 201010611990 A CN201010611990 A CN 201010611990A CN 102567999 B CN102567999 B CN 102567999B
Authority
CN
China
Prior art keywords
tracked
parameter
special efficacy
efficacy parameter
movement locus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201010611990.4A
Other languages
Chinese (zh)
Other versions
CN102567999A (en
Inventor
郑鹏程
见良
刘铁华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing culture science and technology finance leasing Limited by Share Ltd
Original Assignee
China Digital Video Beijing Ltd
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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN201010611990.4A priority Critical patent/CN102567999B/en
Publication of CN102567999A publication Critical patent/CN102567999A/en
Application granted granted Critical
Publication of CN102567999B publication Critical patent/CN102567999B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a method for applying track data. The method comprises the following steps of: setting at least one parameter of a position parameter, a scale parameter and a rotation parameter as a special-effect parameter; determining an object to be tracked in a material; and tracking the object to be tracked by using the special-effect parameter. Compared with the prior art, the method disclosed by the invention has the advantages that: movement locus data of the object to be tracked can be simply used, the flexibility is higher, track locus data can be selected to be changed at anytime, and a key frame curve of the special-effect parameter can be selected to be manually adjusted by self after the movement locus data are completely used.

Description

A kind of method of application tracking data
Technical field
The present invention relates to data tracking, relate to especially a kind of method of application tracking data, belong to technical field of image processing.
Background technology
In image/video post-processed software, user often can select interested region in one section of material, this region is followed the tracks of the data that then application has been followed the tracks of in special effect processing as required within a period of time.
Tracking be to region in picture within a period of time to its tracking and matching, obtain its movement locus.As shown in Figure 1 exemplary, wherein show " region " propelling along with time t, at frame 0, the position of frame 100 and frame 200, can determine its movement locus thus.
User, after the one section of movement locus obtaining after area tracking, generally has two kinds of application purpose: one is that movement locus is assigned to another material, allows this material along with this orbiting motion, is called and follows the tracks of application, as shown in Figure 2 exemplary; Another kind is that movement locus is assigned to another material in the other direction, allows this material move along track in the other direction, is called stable application, exemplarily as shown in Figure 3.
But how effectively application tracking data are problems that needs solve in prior art.
Summary of the invention
The technical problem to be solved in the present invention is: a kind of method of application tracking data is provided, thereby can have applied simply the motion trace data of object to be tracked.
In order to address the above problem, the invention provides a kind of method of application tracking data, comprising:
In desired location parameter, zooming parameter, rotation parameter, at least one is special efficacy parameter;
Determine the object to be tracked in material;
Application of special effects parameter is treated tracing object and is followed the tracks of.
Further, described object to be tracked is one or more region.
Further, described object to be tracked is one or more point.
Further, desired location is that special efficacy parameter is: be special efficacy parameter by the movement locus indirect assignment of object to be tracked;
Setting is scaled special efficacy parameter: by the movement locus of two objects to be tracked, by calculating gap length, to be converted into assignment after rigid body zoom factor be special efficacy parameter;
Setting rotates to be special efficacy parameter: by the movement locus of two objects to be tracked, by calculating angle, to be converted into assignment after rigid body coefficient of rotary be special efficacy parameter.
Wherein, the method further comprises:
A given reference position initial point, and using this reference position point as the starting point of special efficacy parameter of setting object to be tracked.
Wherein, the method further comprises:
The special efficacy parameter of object to be tracked is set in the absolute position of the direct movement locus with object to be tracked.
Further, application of special effects parameter is treated tracing object and is followed the tracks of and be specially: application of special effects parameter is treated tracing object and carried out association and follow the tracks of.
Wherein, described association is tracked as: when determine calculating special efficacy parameter according to external demand, automatically obtain the pursuit path data of object to be tracked.
Further, application of special effects parameter is treated tracing object and is followed the tracks of and be specially: application of special effects parameter is treated tracing object and copied tracking.
Wherein, described in, copy and be tracked as: the movement locus of special efficacy parameter direct copying object to be tracked.
Compared with prior art, method proposed by the invention, can use more simply the motion trace data of object to be tracked, and dirigibility is higher, both pursuit path data can have been selected to change at any time, also can be chosen in and should be finished after motion trace data, can oneself manual adjustments special efficacy parameter key frame curve again.
Brief description of the drawings
Fig. 1 exemplarily shows tracking;
Fig. 2 exemplarily shows and follows the tracks of application;
Fig. 3 exemplarily shows stable application;
Fig. 4 is the method flow diagram of the application tracking data of the specific embodiment of the invention.
Embodiment
As shown in Figure 4, a kind of method of application tracking data, comprising:
In desired location parameter, zooming parameter, rotation parameter, at least one is special efficacy parameter;
Determine object to be tracked in material;
Application of special effects parameter is treated tracing object and is followed the tracks of.
By specific embodiment, the present invention is made further and being described in detail below, but not as a limitation of the invention.
In order to make movement locus be applied in special efficacy, so that the special effect processing of image, set described special efficacy parameter and be:
Position, it is that the movement locus of object to be tracked is directly assigned to special efficacy parameter, is specially (x, y}=(Tx t, Ty t, wherein: { x, y} is the coordinate in the coordinate system of object motion track to be tracked place, { Tx t, Ty tbe that T is special efficacy coefficient corresponding to coordinate corresponding to t moment in special effect processing picture;
Convergent-divergent, it is the movement locus of two objects to be tracked to be converted into rigid body zoom factor by calculating gap length be assigned to special efficacy parameter, is specially: wherein, with be respectively object to be tracked at t and t 0the movement locus in moment;
Rotation, it is the movement locus of two objects to be tracked to be converted into rigid body coefficient of rotary by calculating angle be assigned to special efficacy parameter, is specially: wherein, with be respectively object to be tracked at t and t 0the movement locus in moment;
And above-mentioned that object to be tracked can be exemplarily one or more region, or, one or more point.
Thus, can obtain carrying out the needed data of special efficacy by the movement locus of the object to be tracked from motion tracking according to above-mentioned setting, i.e. special efficacy parameter.
Based on above-mentioned data, embodiments of the invention can select relative position and two kinds of absolute positions method to carry out application tracking track.Described relative position is: a given reference position initial point, and using this reference position point as the starting point of position, convergent-divergent and rotation parameter of movement locus of calculating object to be tracked; Described absolute position is: the position, convergent-divergent and the rotation parameter that directly calculate the movement locus of object to be tracked with the absolute position of the movement locus of object to be tracked.In the time that reality is used, applying which kind of mode, to carry out application tracking track be to determine according to the actual demand of program, exemplary, when user wants to replace the icon of one section of material, can adopt the mode that uses absolute position, allow special efficacy parameter directly follow track to move; And if user needs one section in track, can consider to use the mode of relative motion, select a reference point to calculate special efficacy parameter.
Say further, utilize above-mentioned setting, in actual applications as required can also be simultaneously to multiple parameter application tracking data; Exemplary, can realize translation to parameter X and Y simultaneously.
Based on above-mentioned pursuit path, can realize special efficacy parameter association and special efficacy parameter copies, thereby application of special effects parameter is treated tracing object and is followed the tracks of.
Described special efficacy parameter association pursuit path is: special efficacy parameter is direct copying movement locus not, but when needs calculate special efficacy parameter, automatically obtain the track data of following the tracks of object to be tracked, thus, user can change pursuit path data at any time, and special efficacy parameter can it goes without doing any change, just can automatically change with the variation of pursuit path data.It should be noted that the key frame curve of special efficacy parameter is at any time along with movement locus changes, but user can not oneself change the key frame curve of special efficacy parameter.
Exemplary, user wishes associated application tracking track in a two-dimensional transform special efficacy, by the X of the movement locus of object to be tracked, Y displacement and " translation X ", " translation Y " parameter is carried out association, need to obtain at each frame " translation X ", application of formula { x, y}={Tx when " translation Y " parameter value t, Ty tobtain.If in like manner, for " convergent-divergent " parameter and " rotation " parameter, system will be passed through formula in needs
scaleFactor = mod ( X → t ) mod ( X → t 0 ) With rotAngle = ( X → t × X → t 0 ) mod ( X → t ) · mod ( X → t 0 ) Obtain.
Described special efficacy parameter copies pursuit path: the movement locus of special efficacy parameter direct copying object to be tracked calculates, and at this time special efficacy parameter just will not have associated with the movement locus of tracing object.Should be in this way, user should be finished after motion trace data, can oneself manual adjustments special efficacy parameter key frame curve again.
Exemplary, user wishes replication application pursuit path in a two-dimensional transform special efficacy, selects so " the translation X " of two-dimentional special efficacy, " translation Y " two parameters, then automatically by application of formula { x, y}={Tx t, Ty tcalculate " translation X ", the key frame curve of " translation Y " parameter.If in like manner, for " convergent-divergent " parameter and " rotation " parameter, system will be according to formula with calculate key frame curve.
In addition, utilize this method can also support to apply multiple spot tracking data, herein, it is not that simple that single-point is followed the tracks of added up that multiple spot is followed the tracks of, but need to, according to the special efficacy parameter situation of actual conditions application tracking data, tracking data be connected with special efficacy parameter.Such as two-point tracking track data being applied as special efficacy Rotation and Zoom parameter, also can be by four angle points of 4 required objects of pursuit path data, allow object along with four application tracks carry out amoeboid movement.
It should be noted that, if do not conflicted, each feature in the embodiment of the present invention and embodiment can mutually combine, all within protection scope of the present invention.In addition, can in the computer system such as one group of computer executable instructions, carry out in the step shown in the process flow diagram of accompanying drawing, and, although there is shown logical order in flow process, but in some cases, can carry out shown or described step with the order being different from herein.
One of ordinary skill in the art will appreciate that all or part of step in said method can carry out instruction related hardware by program and complete, described program can be stored in computer-readable recording medium, as ROM (read-only memory), disk or CD etc.Alternatively, all or part of step of above-described embodiment also can realize with one or more integrated circuit.Correspondingly, the each module/unit in above-described embodiment can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
Certainly; the present invention also can have other various embodiments; in the situation that not deviating from spirit of the present invention and essence thereof; those of ordinary skill in the art are when making according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection domain of claim of the present invention.

Claims (6)

1. a method for application tracking data, comprising:
In desired location, convergent-divergent, rotation, at least one is special efficacy parameter;
Determine the object to be tracked in material;
Application of special effects parameter is treated tracing object and is followed the tracks of, and comprising:
Application of special effects parameter is treated tracing object and is carried out association tracking, when determine calculating special efficacy parameter according to external demand, automatically obtains the pursuit path data of object to be tracked;
Or application of special effects parameter is treated tracing object and is copied tracking, the movement locus of special efficacy parameter direct copying object to be tracked.
2. the method for claim 1, is characterized in that, described object to be tracked is one or more region.
3. the method for claim 1, is characterized in that, described object to be tracked is one or more point.
4. the method for claim 1, is characterized in that,
Desired location is that special efficacy parameter is: be special efficacy parameter by the movement locus indirect assignment of object to be tracked;
Setting is scaled special efficacy parameter: by the movement locus of two objects to be tracked, by calculating gap length, to be converted into assignment after rigid body zoom factor be special efficacy parameter;
Setting rotates to be special efficacy parameter: by the movement locus of two objects to be tracked, by calculating angle, to be converted into assignment after rigid body coefficient of rotary be special efficacy parameter.
5. method as claimed in claim 4, is characterized in that, the method further comprises:
A given reference position initial point, and using this reference position point as the starting point of special efficacy parameter of setting object to be tracked.
6. method as claimed in claim 4, is characterized in that, the method further comprises:
The special efficacy parameter of object to be tracked is set in the absolute position of the direct movement locus with object to be tracked.
CN201010611990.4A 2010-12-29 2010-12-29 Method for applying track data Expired - Fee Related CN102567999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010611990.4A CN102567999B (en) 2010-12-29 2010-12-29 Method for applying track data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010611990.4A CN102567999B (en) 2010-12-29 2010-12-29 Method for applying track data

Publications (2)

Publication Number Publication Date
CN102567999A CN102567999A (en) 2012-07-11
CN102567999B true CN102567999B (en) 2014-11-05

Family

ID=46413346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010611990.4A Expired - Fee Related CN102567999B (en) 2010-12-29 2010-12-29 Method for applying track data

Country Status (1)

Country Link
CN (1) CN102567999B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105243680A (en) * 2015-10-19 2016-01-13 维沃移动通信有限公司 Animation generation method and mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068342A (en) * 2007-06-05 2007-11-07 西安理工大学 Video frequency motion target close-up trace monitoring method based on double-camera head linkage structure
CN101452582A (en) * 2008-12-18 2009-06-10 北京中星微电子有限公司 Method and device for implementing three-dimensional video specific action
CN101739692A (en) * 2009-12-29 2010-06-16 天津市亚安科技电子有限公司 Fast correlation tracking method for real-time video target
CN101770568A (en) * 2008-12-31 2010-07-07 南京理工大学 Target automatically recognizing and tracking method based on affine invariant point and optical flow calculation
CN101924871A (en) * 2010-02-04 2010-12-22 苏州大学 Mean shift-based video target tracking method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068342A (en) * 2007-06-05 2007-11-07 西安理工大学 Video frequency motion target close-up trace monitoring method based on double-camera head linkage structure
CN101452582A (en) * 2008-12-18 2009-06-10 北京中星微电子有限公司 Method and device for implementing three-dimensional video specific action
CN101770568A (en) * 2008-12-31 2010-07-07 南京理工大学 Target automatically recognizing and tracking method based on affine invariant point and optical flow calculation
CN101739692A (en) * 2009-12-29 2010-06-16 天津市亚安科技电子有限公司 Fast correlation tracking method for real-time video target
CN101924871A (en) * 2010-02-04 2010-12-22 苏州大学 Mean shift-based video target tracking method

Also Published As

Publication number Publication date
CN102567999A (en) 2012-07-11

Similar Documents

Publication Publication Date Title
EP0764313B1 (en) Apparatus and method for creating path defined curves
Zhang et al. Parallax-tolerant image stitching
Langlotz et al. Sketching up the world: in situ authoring for mobile augmented reality
US8509566B2 (en) Laying out multiple images
US9742994B2 (en) Content-aware wide-angle images
US20150002393A1 (en) Natural user interfaces for mobile image viewing
US20110216091A1 (en) Bimanual interactions on digital paper using a pen and a spatially-aware mobile projector
US20080094358A1 (en) Constrained Virtual Camera Control
US10410317B1 (en) Digital image transformation environment using spline handles
WO2007140334A2 (en) Embedded navigation interface
US20180165860A1 (en) Motion edit method and apparatus for articulated object
US11475617B2 (en) Path-constrained drawing with visual properties based on drawing tool
CN103843329A (en) Methods and apparatus for conditional display of a stereoscopic image pair
TW201034444A (en) Image processing method and system of skin color enhancement
Joshi et al. Looking at you: fused gyro and face tracking for viewing large imagery on mobile devices
US20160063670A1 (en) Dynamic Motion Path Blur Kernel
CN108133454A (en) Model space geometric image switching method, device, system and interactive device
CN111968246B (en) Scene switching method and device, electronic equipment and storage medium
Ha et al. An interactive 3D movement path manipulation method in an augmented reality environment
CN109901123A (en) Transducer calibration method, device, computer equipment and storage medium
US20160063669A1 (en) Dynamic Motion Path Blur User Interface
CN102567999B (en) Method for applying track data
US11574450B2 (en) Systems for augmented reality sketching
US20160035068A1 (en) Dynamic Motion Path Blur Techniques
Lam et al. Effects of 2D geometric transformations on visual memory

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: BEIJING CULTURAL AND SCIENTIFIC FINANCING LEASE CO

Free format text: FORMER OWNER: XIN'AOTE(BEIJING) VIDEO TECHNOLOGY CO., LTD.

Effective date: 20150416

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100080 HAIDIAN, BEIJING TO: 100044 SHUNYI, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20150416

Address after: 100044, room 2, building 1, No. 401, Golden Sail Road, Beijing, Shunyi District

Patentee after: Beijing culture science and technology finance leasing Limited by Share Ltd

Address before: 100080 Beijing city Haidian District xicaochang No. 1 Beijing Silicon Valley computer city 15 1501-1506 room

Patentee before: China Digital Video (Beijing) Limited

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20141105

Termination date: 20161229