CN102118583B - Method for generating animation with transformational curves in ocean forecast - Google Patents
Method for generating animation with transformational curves in ocean forecast Download PDFInfo
- Publication number
- CN102118583B CN102118583B CN200910244497.0A CN200910244497A CN102118583B CN 102118583 B CN102118583 B CN 102118583B CN 200910244497 A CN200910244497 A CN 200910244497A CN 102118583 B CN102118583 B CN 102118583B
- Authority
- CN
- China
- Prior art keywords
- curve
- source
- point
- data
- pair
- 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
Links
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The present invention provides a method for generating an animation with transformational curves in ocean forecast, which comprises the following steps of: creating a caption template, wherein the caption template comprises caption primitives and display attributes thereof; importing a data file, wherein the data file records a source data set and a target data set, one data set comprises a data name and/or multiple pairs of coordinates; determining corresponding relation of the source data set, the target data set and the caption primitives in the caption template according to the data name and a preset naming rule; and obtaining a source curve by each pair of the coordinates of the source data set, then obtaining a target curve by each pair of the coordinates of the target data set, and generating the animation which dynamically transforms from the source curve to the target curve according to the display attributes of the caption primitives having the corresponding relation in the caption template. By adopting the method in the present invention, the animation with the dynamically transformational curves can be generated, at the same time, space occupied by the animation is small, and the method is convenient in use.
Description
Technical field
The present invention relates to captions manufacture technology field, particularly relate to the animation producing method of curvilinear transformation in a kind of marine forecasting.
Background technology
Almost go out in advance TV program and use captions everywhere, its application is very extensive, and as dialogue, libretto, news, and the form of expression of captions is not only confined to word, character etc., can also comprise picture, icon, animation etc.
General captions make, and typically refer to and have static state display, and dynamically stunt broadcasts the captions of effect.Along with the continuous increase of captions application form, in some cases, need to generate special captions variation effect, such as, need the captions of formation curve form, general, adopting to draw has the picture of response curve to show as captions, and these captions are the lines of static state display.Lively in order to allow the broadcast of captions upgrade, advance TV procedural requirements can represent the conversion process of curve.The production of marine forecasting and people is closely bound up with life, and along with the development of television program designing technology, the requirement of people to marine forecasting program also improves constantly.Unrestrained High variation particularly in marine forecasting program, needs the dynamic changing process that can show between two waves, such as, expands or be contracted to the curve of another range areas from the curve of the range areas of.
In order to reach the effect of above-mentioned curve dynamic change, usually use special animation software to make, such as FLASH animation software, but the animation file of this Software Create take up room larger.Further, in captions make, need to enable captions Software for producing and action Software for producing, edit respectively, complicated operation.
In a word, the technical problem needing those skilled in the art urgently to solve is exactly: how can the animation producing method of curvilinear transformation in a kind of marine forecasting, the animation of formation curve dynamic mapping, and user-friendly.
Summary of the invention
Technical problem to be solved by this invention is to provide the animation producing method of curvilinear transformation in a kind of marine forecasting, can generate the animation with curve dynamic mapping effect, and user-friendly.
In order to solve the problem, the invention discloses the animation producing method of curvilinear transformation in a kind of marine forecasting, comprising:
Create subtitle template; Wherein, described subtitle template comprises captions pel and display properties thereof;
Importing data film; Wherein, described data file source data group and target set of data, a data group comprises data name and/or multipair coordinate,
According to data name and preset naming rule, determine the corresponding relation of the captions pel in source data group, target set of data and subtitle template;
Obtain source curve by each pair of coordinate of source data group, obtain aim curve by each pair of coordinate of target set of data, according to the display properties of captions pel in subtitle template with corresponding relation, generate by the animation of source curve to aim curve dynamic mapping.
Further, described generation is specifically comprised by the animation of source curve to aim curve dynamic mapping:
Determine source point by each pair of coordinate of source data group, determine impact point by each pair of coordinate of target set of data; Wherein, connect each source point and obtain source curve, connect each impact point and obtain aim curve;
According to the number of impact point, by interpolation method by source point increase or be reduced to the number identical with impact point;
The point that in data group, the first pair of coordinate is determined is initial source point or initial target point, determines the corresponding relation of each source point and each impact point from initial source point and initial target point;
Source point is moved to impact point, according to the display properties of captions pel in subtitle template with corresponding relation, is generated by each source point in movement and expanded or the curve motion of convergent-divergent to aim curve by source curve.
Preferably, described method also comprises:
By the path of interpolation method determination source point to impact point movement; Then according to described path, source point is shifted to impact point.
Preferably, described method also comprises:
Receive the animation broadcasting frame number that user is arranged; Then according to described broadcasting frame number, generate by the animation of source curve to aim curve dynamic mapping.
Preferably, described method also comprises:
Resolve the data file imported, obtain calibration curve information; Wherein, described calibration curve information comprises: the logarithm of the type that total logarithm of curve, curve are right and the type, and described type comprises: passive curve to, driftlessness curve to, point to curve to, curve to putting, curve to curve pair; Show the data message obtained.
Preferably, described method also comprises:
Receiving the type selecting that user is right to curve, will the static curve of type being chosen being presented on demonstration district.
Preferably, described method also comprises:
Receive user to the editing and processing choosing curve; Described editing and processing comprises: color editor, precision editor, move towards editor.
Preferably, described trend is compiled as: move towards negate to curve, then in corresponding data group, last is initial source point or initial target point to the point that coordinate is determined.
Preferably, described data file multipair source data group and target set of data; Wherein, every a pair source data group is identical with the data name of target set of data.
Preferably, the animation of described generation is the animation of NVE form or NVI form.
Compared with prior art, the present invention has the following advantages:
The present invention need not make separately Flash animation, only needs the coordinate data of offer curves, gets final product the captions of formation curve dynamic mapping, grows into a curve from passive; Or be inwardly contracted to disappearance from a curve; Or dynamically grow into a curve from a point; Or be reduced into a point from a curve; Or by a curve shape to another one curve shape, animation is play various informative, can generate the curve pair can with various alternative types, to simulate unrestrained High variation multi-form in marine forecasting.
Further, the present invention can carry out negate to source curve or aim curve, generates normal curvilinear motion animation; Or according to the needs of program, the effect of formation curve distortion change, is applied in the particular presentation in marine forecasting.In addition, the time length (i.e. frame number) that animation is play can customize according to the demand of user, then curvilinear transformation process can the F.F. of similar broadcast software or slow motion, meets the multiple demand of user.
Preferably, the animation of described generation is the animation of NVE form or NVI form, reduces taking up room of animation, saves disk space, improves visual operability.
Accompanying drawing explanation
Fig. 1 is the flow chart of the animation producing method embodiment one of curvilinear transformation in a kind of marine forecasting of the present invention;
Fig. 2 is the flow chart of the animation producing method embodiment two of curvilinear transformation in a kind of marine forecasting of the present invention.
Fig. 3 is the right conversion schematic diagram of the curve of the present invention six type.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
With reference to Fig. 1, show the flow chart of the animation producing method embodiment one of curvilinear transformation in a kind of marine forecasting of the present invention, comprising:
Step 101, creates subtitle template; Wherein, described subtitle template comprises captions pel and display properties thereof;
Subtitle template be captions make in important component part, television graphics context subtitling broadcasts in what manner, foundation be exactly the subtitle template used in manufacturing process.Subtitle template comprises captions pel and corresponding display properties thereof, and Show Styles when display properties and caption playing, as font, font size etc.The captions of the embodiment of the present invention refer in particular to curve captions, and therefore, display properties is specially color, the precision (display width) of lines.
Such as, create and have in subtitle template: captions pel DataA, the setting of its display properties, color is red, and precision is 3 pixels.
Step 102, importing data film; Wherein, described data file source data group and target set of data, a data group comprises data name and/or multipair coordinate;
The broadcast content of captions derives from data file, and data file comprises each group of caption data.Concrete, generating a curve needs to locate multiple coordinate, then one group of corresponding multipair coordinate figure of caption data, and a pair coordinate figure comprises abscissa and ordinate.In order to identify caption data, realizing the corresponding relation of captions pel in caption data and template, also needing for coordinate data adds data name.
In addition, what represent due to the embodiment of the present invention is the change procedure of a curve to another curve, data group needs to occur in pairs, and a pair data group comprises one for generating the source data group of source curve, and one for generating the target set of data of aim curve.
Such as, importing data film, it comprises two groups of data, as follows:
dataA
x1 y1 x2 y2 x3 y3 x4 y4 x5 y5 x6 y6......
dataA
x’1 y’1 x’2 y’2 x’3 y’3 x’4 y’4 x’5 y’5 x’6 y’6......
Wherein, be coordinate data required for trace extension with " data " beginning to the data line that next " data " terminates, before data name is marked at this group coordinate data.The form of data record also can adopt alternate manner, and the present invention does not limit at this.Data name is associated with the name of captions pel, as mentioned above, and the title first letter capitalization of captions pel, data name first letter small letter.The arrangement mode of coordinate data is transverse and longitudinal coordinate mode separately, and every two data are a pair (comprising abscissa value and ordinate), and the number of coordinate is even number.First group of data is source data group, and second group of data is target set of data.
Step 103, according to data name and preset naming rule, determines the corresponding relation of the captions pel in source data group, target set of data and subtitle template;
According to the name often organizing caption data, according to preset naming rule, determine that name is called that the source data group of data A and target set of data and captions pel A have corresponding relation.Or data name also can directly be defined as the title identical with captions pel, then directly can determine corresponding relation according to identical title.
Step 104, obtains source curve by each pair of coordinate of source data group, obtains aim curve, generate by the animation of source curve to aim curve dynamic mapping by each pair of coordinate of target set of data.
Concrete, described step 104 comprises following sub-step:
Steps A 1, determines source point by each pair of coordinate of source data group, determines impact point by each pair of coordinate of target set of data; Wherein, connect each source point and obtain source curve, connect each impact point and obtain aim curve;
By the coordinate " x1 y1 x2 y2 x3 y3 x4 y4 x5 y5 x6y6...... " etc. of source data group, determine each source point, be followed successively by source point 1, source point 2, source point 3, source point 4, source point 5, source point 6......; Connect each source point and obtain source curve.
By the coordinate " x ' 1 y ' 1 x ' 2 y ' 2 x ' 3 y ' 3 x ' 4 y ' 4 x ' 5y ' 5 x ' 6 y ' 6....... " etc. of target set of data, determine each impact point, be followed successively by source point 1 ', source point 2 ', source point 3 ', source point 4 ', source point 5 ', source point 6 ' ..., connect each source point and obtain source curve.
A2, according to the number of impact point, by interpolation method by source point increase or be reduced to the number identical with impact point;
Due to the conversion (according to target the orientation of curve expand outwardly or inwardly shrink) of source curve to aim curve will be realized, then need to make source point equal with the number of impact point, thus determine the mobile corresponding relation of source point to impact point.
Wherein, when the number of source point is less than the number of impact point, interpolation algorithm is utilized to be increased to by source point equal with the number of impact point.Such as, when source point number is 6, when impact point number is 12, between each source point (position), insert 6 points, then now source point is 12; When the number of source point is greater than the number of impact point, interpolation algorithm is utilized to be reduced to by source point equal with the number of impact point.Such as, when source point number is 12, when impact point number is 6, extract 6 points in source point, then now source point is 6 of extraction.
Interpolation method is also known as " interpolation method ".Utilize the functional value of function some points in certain interval, make suitable specific function, these aspects get given value, by the approximation of the value of this specific function as function on other aspects in interval, this method is called interpolation method.If this specific function is multinomial, it is just claimed to be interpolation polynomial.Utilize interpolation method to choose coordinate points and have multiple way of realization, it belongs to known technology field, and the present invention does not limit at this.
A3, the point that in data group, the first pair of coordinate is determined is initial source point or initial target point, determines the corresponding relation of each source point and impact point from initial source point and initial target point;
The source point 1 determined by (x1, y1) in source data group is initial source point, and the impact point 2 determined by (x ' 1, y ' 1) in target set of data is initial target point.Source point 1 is corresponding with impact point 2, source point new after inserting or extracting, corresponding with impact point successively according to coordinate order.
As mentioned above, if source point is initially 6, insert new source point between each source point after, according to adjacent coordinates order, source point becomes: source point 1, source point 2, source point 3, source point 4...... source point 11, source point 12.Then source point 2 is corresponding with impact point 2 ', and source point 3 is corresponding with impact point 3 ', by that analogy, until source point 12 is corresponding with impact point 12 '.
And for example, if source point is initially 20, extract part source point between each source point after, according to adjacent coordinates order, source point becomes: source point 1, source point 2, source point 3, source point 4...... source point 11, source point 12.Then source point 2 is corresponding with impact point 2 ', and source point 3 is corresponding with impact point 3 ', by that analogy, until source point 12 is corresponding with impact point 12 '.
A4, moves source point to impact point, according to the display properties of captions pel in subtitle template with corresponding relation, is generated expanded or the curve motion of convergent-divergent to aim curve by source curve by each source point in movement.
Concrete, source point 1 is mobile to impact point 1 ', and source point 2 is mobile to impact point 2 ', and connect in initial point moving process mobile in each source point, generate and expanded or the curve motion of convergent-divergent to aim curve by source curve.
Preferably, by the path of interpolation method determination source point to impact point movement; Then according to described path, source point is shifted to impact point.
Wherein, described path can be straight line or arbitrary curve, the algorithms of different that concrete realization sets according to user and determining.
By the embodiment of the present invention, can the captions of formation curve dynamic mapping, the captions form of expression changes into dynamically by static state, and ways of presentation is more vivid, lively.Further, the dynamic mapping process of described curve can be preserved with the form of animation, play for other, such as, be supplied to the video material of TV station as marine forecasting.
With reference to Fig. 2, show the flow chart of the animation producing method embodiment two of curvilinear transformation in a kind of marine forecasting of the present invention, comprising:
Step 201, creates subtitle template; Wherein, described subtitle template comprises captions pel and display properties thereof;
In subtitle template, create captions pel Data 1, Data 2, Data 3, Data 4, Data 5.Wherein, the attribute color of captions pel Data 1 and Data 2 is: the attribute color of redness, Data 3, Data 4 and Data5 is black, and precision is 4 pixels.
Step 202, importing data film; Wherein, described data file source data group and target set of data, a data group comprises data name and/or multipair coordinate;
In a preferred embodiment of the invention, described data file is in txt document, and it have recorded multipair source data group and target set of data; Wherein, every a pair source data group is identical with the data name of target set of data.
Such as, the document record as described below:
data 1
data 1
70 573 70 570 68 567 65 565 63 563 62 560
data 2
82 479 85 479 89 479 92 479 95 478 97 478 100479 102 476......79 481 82 479
data 2
data 3
450 400
data 3
482 410 483 407 485 403 487 399 489 395 490 390491 386 491 38 2......469 429 482 418
data 4
477 409 479 405 481 401 483 397 484 392 486 388486 384 486 379......471 417 475 413
data 4
400 450
data 5
255 279 260 276 265 269 271 264 277 259 281 257286 253 291 250......253 287 254 283
data 5
235 272 239 268 241 263 244 258 246 254 249 249253 244 257 240......235 285 236 273
end
Wherein, terminate with " end " representative data; This file have recorded 5 pairs of source data groups and target set of data, and data name is followed successively by data 1, data 2, data 3, data 4 and data 5.
Step 203, resolves the data file imported, and obtains calibration curve information;
Wherein, described calibration curve information comprises: the logarithm of the type that total logarithm of curve, curve are right and the type, and described type comprises: passive curve to, driftlessness curve to, point to curve to, curve to putting, curve to curve pair.
For first pair of source data group and target set of data, source data group does not have coordinate data, only has title, and which represent this to curve is the curve pair grown gradually that grows out of nothing, and is called passive curve pair.
For second pair of source data group and target set of data, target set of data does not have coordinate data, only has title, and which represent this to curve is from having to without the curve pair faded away, being called driftlessness curve pair.
For the 3rd pair of source data group and target set of data, source data group is a pair coordinate data, and which represent this to curve is that expansion is a curve pair from a point to surrounding, is called a little to curve pair.
For the 4th pair of source data group and target set of data, target set of data is a pair coordinate data, and which represent this to curve is the curve pair being inwardly punctured into a point from a curve, is called that curve arrives a little right.
For the 5th pair of source data group and target set of data, namely mention in embodiment one, source data group and target set of data have multipair coordinate data, are called that curve is to curve pair, it comprise expand outwardly and inwardly shrink two kinds.
The calibration curve information obtained is as follows,
Total logarithm of curve: 5; Passive curve pair: 1; Driftlessness curve pair: 1; Point is to curve pair: 1; Curve is right to point: 1; Curve is to curve pair: 1.
Step 204, shows the data message obtained;
Step 205, according to data name and preset naming rule, determines the corresponding relation of the captions pel in source data group, target set of data and subtitle template;
According to preset naming rule, caption data data 1 is corresponding with captions pel Data 1, caption data data 2 is corresponding with captions pel Data 2, caption data data 3 is corresponding with captions pel Data 3, caption data data 4 is corresponding with captions pel Data 4, and caption data data 5 is corresponding with captions pel Data 5.
Step 206, according to the display properties of captions pel in subtitle template with corresponding relation, by each pair of Coordinate generation source curve of source data group, obtains generation aim curve by each pair of coordinate of target set of data;
Step 207, receives the type selecting that user is right to curve, will the static curve of type be chosen being presented on demonstration district;
Conveniently the preview of user is checked, static curve can be shown in advance.
Such as, when user selects passive curve pair, area of display shows the aim curve that the point determined by each coordinate figure of target set of data data 1 is formed by connecting, and color is red, and precision is 4 pixels.Wherein, because source curve is passive curve, therefore do not show.
Or when user selects driftlessness curve pair, area of display shows the source curve that the point determined by each coordinate figure of source data group data 2 is formed by connecting, color is red, and precision is 4 pixels.Wherein, because aim curve is driftlessness curve, therefore do not show.
Or when user's choice point is to curve pair, area of display shows the aim curve that the point determined by each coordinate figure of target set of data data 3 is formed by connecting, and, by a source point of a pair Coordinate generation of source data group, Show Color is black, and precision is 4 pixels.
Or when user's trade-off curve is to point pair, area of display shows the source curve that the point determined by each coordinate figure of source data group data 4 is formed by connecting, and, by an impact point of a pair Coordinate generation of target set of data, Show Color is black, and precision is 4 pixels.
Or, when user's trade-off curve is to curve pair, area of display shows the source curve that the point determined by each coordinate figure of source data group data 5 is formed by connecting, and, the aim curve that the point determined by each coordinate figure of target set of data data 5 is formed by connecting, Show Color is black, and precision is 4 pixels
Preferably, user is received to the editing and processing choosing curve; Described editing and processing comprises: color editor, precision editor, move towards editor.Namely by the Show Styles at demonstration district curve, again edited before generation animation.
Wherein said trend is compiled as: move towards negate to curve, then in corresponding data group, last is initial source point or initial target point to the point that coordinate is determined.
Curve due to difference trend there will be the situation of distortion when converting, such as, the putting in order of each point in the curve of source (the first pair of coordinate determine point be initial source point) is clockwise, and the putting in order of each point in aim curve (the first pair of coordinate determine point be initial target point) is counterclockwise, when then carrying out the correspondence change of source point and impact point, because order direction is contrary, the situation of curve distortion can be produced.
When user carries out moving towards editor to certain curve, negate is moved towards to it, namely in data group, last is initial source point or initial target point to the point that coordinate is determined, be followed successively by point, the point that coordinate is determined third from the bottom that coordinate is determined second from the bottom, corresponding with the point that the point that the point that first pair of coordinate of another curve of this curve centering is determined, the second pair of coordinate are determined, the 3rd pair of coordinate are determined, the like.
Can edit, source curve and target song be moved towards identical (be all clockwise or be all counterclockwise), then produces normal curvilinear motion effect; Or, can be compiled as and source curve is moved towards contrary (one is clockwise, and one is counterclockwise) with target song, produce distortion effects, be applied in the particular presentation in marine forecasting.
Step 208, receives the animation broadcasting frame number that user is arranged;
In order to reach dynamic transform effect, before generation animation, need to arrange animation and play frame number, such as, the present embodiment is set to 100 frames here.Then specify by the size of frame number the speed that animation is play.Wherein, convert according to frame number according to animation reproduction time, be 1 second/25 frames usually under line-by-line inversion (PAL, PhaseAlternating Line) standard.
Step 209, according to described broadcasting frame number, generates by the animation of source curve to aim curve dynamic mapping.
In the present embodiment, each curve is to carrying out by source curve to aim curve dynamic mapping simultaneously.
It should be noted that, when point is to curvilinear transformation, centered by source curve (point), separates the source point with impact point same number, move to each impact point on aim curve; When curve is to point transformation, without the need to source point is reduced to the number identical with impact point, but directly that each source point on the curve of source is mobile to aim curve (point).When passive and driftlessness curve is to conversion, choose the impact point that the source point wherein (being generally central point) and generating as curve in aim curve region or source curve regions or curve disappear.
As described in Figure 3, the conversion schematic diagram that the curve for the present invention six type is right, wherein, each figure is not corresponding with the coordinate figure in above-described embodiment, and this figure is just used as signal.Concrete, can be applied in marine forecasting, Fig. 3 (a) is passive curve pair, and such as certain is by sea region, and yesterday does not have stormy waves, has occurred that the wave of 2.6m is high today, carries out without wave to the change having wave; Fig. 3 (b) is driftlessness curve pair, and can be illustrated as and have yesterday wave high, today is calm, carries out there is wave to the change without wave; Fig. 3 (c), for point is to curve pair, can be illustrated as the high peripheral regions being expanded to sheet from certain zonule gradually of wave; Fig. 3 (d) is right to point for curve, can be illustrated as the high peripheral regions from sheet of wave and narrow down to certain zonule gradually; The curve that Fig. 3 (e) is expanded form, to curve pair, can be illustrated as wave and highly be expanded to a sheet of region gradually from a small region; The curve that Fig. 3 (f) is shrink form, to curve pair, can be illustrated as wave and highly be retracted to a small region gradually from a slice large regions.
In the embodiment of the present invention, Flash animation need not be made separately, only need the coordinate data of offer curves, a curve can be grown into from passive; Or be inwardly contracted to disappearance from a curve; Or dynamically grow into a curve from a point; Or be reduced into a point from a curve; Or by a curve shape to another one curve shape, animation is play various informative, can generate the curve pair can with various alternative types, to simulate unrestrained High variation multi-form in marine forecasting.
Further, the present invention can carry out negate to source curve or aim curve, generates normal curvilinear motion animation; Or, according to the needs of program, generate specific curve distortion variation effect.In addition, the time length (i.e. frame number) that animation is play can customize according to the demand of user, then curvilinear transformation process can the F.F. of similar broadcast software or slow motion, meets the multiple demand of user.
Preferably, the animation of described generation is the animation of NVE form or NVI form, reduces taking up room of animation, saves disk space, improves visual operability.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Above to the animation producing method of curvilinear transformation in a kind of marine forecasting provided by the present invention, be described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (8)
1. an animation producing method for curvilinear transformation in marine forecasting, is characterized in that, comprising:
Create subtitle template; Wherein, described subtitle template comprises captions pel and display properties thereof;
Importing data film; Wherein, described data file source data group and target set of data, a data group comprises data name and/or multipair coordinate;
According to data name and preset naming rule, determine the corresponding relation of the captions pel in source data group, target set of data and subtitle template;
Obtain source curve by each pair of coordinate of source data group, obtain aim curve by each pair of coordinate of target set of data, according to the display properties of captions pel in subtitle template with corresponding relation, generate by the animation of source curve to aim curve dynamic mapping;
Described generation is specifically comprised by the animation of source curve to aim curve dynamic mapping: determine source point by each pair of coordinate of source data group, determines impact point by each pair of coordinate of target set of data; Wherein, connect each source point and obtain source curve, connect each impact point and obtain aim curve; According to the number of impact point, by interpolation method by source point increase or be reduced to the number identical with impact point; The point that in data group, the first pair of coordinate is determined is initial source point or initial target point, determines the corresponding relation of each source point and each impact point from initial source point and initial target point; Source point is moved to impact point, according to the display properties of captions pel in subtitle template with corresponding relation, is generated by each source point in movement and expanded or the curve motion of convergent-divergent to aim curve by source curve.
2. the method for claim 1, is characterized in that, also comprises:
By the path of interpolation method determination source point to impact point movement;
Then according to described path, source point is shifted to impact point.
3. the method for claim 1, is characterized in that, also comprises:
Receive the animation broadcasting frame number that user is arranged;
Then according to described broadcasting frame number, generate by the animation of source curve to aim curve dynamic mapping.
4. the method for claim 1, is characterized in that, also comprises:
Resolve the data file imported, obtain calibration curve information; Wherein, described calibration curve information comprises: the logarithm of the type that total logarithm of curve, curve are right and the type, and described type comprises: passive curve to, driftlessness curve to, point to curve to, curve to putting, curve to curve pair;
Show the data message obtained.
5. method as claimed in claim 4, is characterized in that, also comprise:
Receiving the type selecting that user is right to curve, will the static curve of type being chosen being presented on demonstration district.
6. method as claimed in claim 5, is characterized in that, also comprise:
Receive user to the editing and processing choosing curve;
Described editing and processing comprises: color editor, precision editor, move towards editor.
7. method as claimed in claim 6, is characterized in that,
Described trend is compiled as: move towards negate to curve, then in corresponding data group, last is initial source point or initial target point to the point that coordinate is determined.
8. the method for claim 1, is characterized in that,
Described data file multipair source data group and target set of data;
Wherein, every a pair source data group is identical with the data name of target set of data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910244497.0A CN102118583B (en) | 2009-12-31 | 2009-12-31 | Method for generating animation with transformational curves in ocean forecast |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910244497.0A CN102118583B (en) | 2009-12-31 | 2009-12-31 | Method for generating animation with transformational curves in ocean forecast |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102118583A CN102118583A (en) | 2011-07-06 |
CN102118583B true CN102118583B (en) | 2015-07-08 |
Family
ID=44217159
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910244497.0A Expired - Fee Related CN102118583B (en) | 2009-12-31 | 2009-12-31 | Method for generating animation with transformational curves in ocean forecast |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102118583B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104778735B (en) * | 2014-01-14 | 2019-03-01 | 腾讯科技(深圳)有限公司 | A kind of animation producing method and device based on irregular figure |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5926186A (en) * | 1992-09-10 | 1999-07-20 | Fujitsu Limited | Graphic editing apparatus and method |
CN1822651A (en) * | 2005-11-21 | 2006-08-23 | 深圳创维-Rgb电子有限公司 | Method for dynamically forming caption image data and caption data flow |
CN101394488A (en) * | 2008-08-28 | 2009-03-25 | 新奥特(北京)视频技术有限公司 | Statistical method for subtitle rendering efficiency based on template |
CN101465973A (en) * | 2008-11-04 | 2009-06-24 | 新奥特(北京)视频技术有限公司 | Method for rendering subtitling based on curved profile closed loop domain and pixel mask matrix |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4413629B2 (en) * | 2004-01-09 | 2010-02-10 | パイオニア株式会社 | Information display method, information display device, and information distribution display system |
-
2009
- 2009-12-31 CN CN200910244497.0A patent/CN102118583B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5926186A (en) * | 1992-09-10 | 1999-07-20 | Fujitsu Limited | Graphic editing apparatus and method |
CN1822651A (en) * | 2005-11-21 | 2006-08-23 | 深圳创维-Rgb电子有限公司 | Method for dynamically forming caption image data and caption data flow |
CN101394488A (en) * | 2008-08-28 | 2009-03-25 | 新奥特(北京)视频技术有限公司 | Statistical method for subtitle rendering efficiency based on template |
CN101465973A (en) * | 2008-11-04 | 2009-06-24 | 新奥特(北京)视频技术有限公司 | Method for rendering subtitling based on curved profile closed loop domain and pixel mask matrix |
Also Published As
Publication number | Publication date |
---|---|
CN102118583A (en) | 2011-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101796831B (en) | Adaptive video processing apparatus and method of scaling video based on screen size of display device | |
JP4988914B2 (en) | Information recording medium and playback apparatus for providing text-based subtitles | |
CN101005609A (en) | Method and system for forming interaction video frequency image | |
CN101540847A (en) | Caption creation system and caption creation method | |
JP2009301704A (en) | Method for providing text-based subtitle | |
CN101873452B (en) | Digital television roll title display method based on GIF (Graphic Interchange Format) image files | |
CN103873920A (en) | Program browsing method and system and set top box | |
CN100394773C (en) | Film converting edition apparatus and method | |
JP4716205B1 (en) | Object image display device, object image display method, and object image display program | |
CN105138695A (en) | Method and device for graphics interchange format (GIF) recording | |
CN102118583B (en) | Method for generating animation with transformational curves in ocean forecast | |
CN111968200A (en) | GIF file generation method based on hand-drawn video | |
CN101600082A (en) | High definition shows the method and the device of captions in the TV conference system | |
CN104270681B (en) | video information playing method and device | |
CN110418162B (en) | Method for simultaneously making short videos with different breadth ratios | |
CN102082926B (en) | Making method and device of scene subtitles | |
CN102118584B (en) | Method and device for generating caption moving pictures with curve extension dynamic effect | |
CN102082925B (en) | A kind of fill method of subtitle template and device | |
CN105139341A (en) | GIF image editing method and device | |
CN112312196A (en) | Video subtitle making method | |
CN113542903A (en) | Subtitle generating method and device supporting font size self-adaption | |
CN102724425B (en) | A kind of method that teletext template is broadcasted | |
CN102082932B (en) | Method and device for updating subtitle in secondary software | |
CN113810753A (en) | Program insertion method and program insertion device | |
CN102081922A (en) | Subtitle editing and playing system capable of generating libretto with libretto attributes |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150708 Termination date: 20161231 |
|
CF01 | Termination of patent right due to non-payment of annual fee |