CN105279779A - Method and device for processing animation part introduction abnormity - Google Patents
Method and device for processing animation part introduction abnormity Download PDFInfo
- Publication number
- CN105279779A CN105279779A CN201510622224.0A CN201510622224A CN105279779A CN 105279779 A CN105279779 A CN 105279779A CN 201510622224 A CN201510622224 A CN 201510622224A CN 105279779 A CN105279779 A CN 105279779A
- Authority
- CN
- China
- Prior art keywords
- animation
- parts
- importing
- frame
- abnormal
- 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.)
- Granted
Links
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a method and a device for processing the animation part introduction abnormity and belongs to the field of multimedia. The method comprises steps of introducing an animation including multiple parts into a Ventuz system; detecting whether an introduced animation has part abnormities; when a part abnormity occurs, extracting frames where the part is in the introduced animation to form a frame sequence for each of the multiple parts; and obtaining an animation formed by recombining the frame sequence of each part. The device comprises an introduction module, a detection module, an obtainment module and a combination module. Parts in the animation can be correctly arranged after recombination, the introduced animation is enabled to be played normally, and the display effect of the animation introduced in the Ventuz system is improved.
Description
Technical field
The present invention relates to MultiMedia Field, particularly a kind of disposal route and device importing animation unit exception.
Background technology
Ventuz (Wei Tusi) is real-time picture material creation, an editor and broadcasts control software design.It is absorbed in the making of high-end audio-visual content, comprises professional displaying, video wall is installed, live scene shows and interaction, multiple point touching application and the field such as studio and broadcast.Ventuz designability is strong, easy to use, can be applicable to video wall, projection mapping, radio and television at wire wrapping, and can realize interactivity with nearly all interactive device and use.
Use Ventuz system to make animation, also animation can be imported in Ventuz system and carry out edit-modify.But; a problem is there is during current Ventuz system introducing animation; be exactly often can occur out of order; after importing in Ventuz animation frame put in order variant with the order importing front original animation frame; thus causing the display effect of animation in Ventuz system undesirable, the display effect how improving Ventuz system introducing animation is also a problem demanding prompt solution.
Summary of the invention
In view of this, the invention provides a kind of disposal route and the device that import animation unit exception, to improve the display effect of Ventuz system introducing animation.Described technical scheme is as follows:
On the one hand, the invention provides a kind of disposal route importing animation unit exception, described method comprises:
The animation one being comprised multiple parts imports in Ventuz system;
Detect in the animation after importing whether generation part is abnormal;
When determining that generation part is abnormal, to each parts in described multiple parts, the frame extracting this parts place in the animation after described importing forms the frame sequence of these parts;
The frame sequence of each parts obtained is reconfigured and obtains described animation.
Wherein, the described frame sequence by each parts obtained reconfigures and obtains described animation, comprising:
By the frame sequence of each parts obtained, according to putting in order of multiple parts described in animation before importing, carry out reconfiguring and obtain described animation.
Wherein, described to each parts in described multiple parts, the frame extracting this parts place in the animation after described importing forms the frame sequence of these parts, comprising:
To each parts in described multiple parts, the frame number at parts place described in the animation after using following arithmetic sequence formulae discovery to go out described importing, extracts the frame sequence that each frame corresponding to described frame number forms described parts in the animation after described importing:
Y=A+B*X;
Wherein, X is the current frame number in the animation before described importing, and described X=0,1,2,3 ... N-1, described N are the totalframes of the animation before described importing, and A is the frame number of first time appearance in the animation of described parts after described importing, the step value that B repeats in each frame for parts described in the animation after described importing, Y is that described X gets 0,1,2,3 ..., each frame number at parts place described in the animation after the described importing calculated after N-1 is respectively worth.
Wherein, in the animation after described detection imports, whether generation part is abnormal, comprising:
Detect parts in the animation after importing put in order whether with import before animation in parts put in order identical, if identical, then determine that non-generation part is abnormal; If different, then determine that generation part is abnormal.
Wherein, described method also comprises:
The animation obtained after reconfiguring described in playing in described Ventuz system.
On the other hand, the invention provides a kind for the treatment of apparatus importing animation unit exception, described device comprises:
Import module, the animation for being comprised multiple parts imports in Ventuz system;
Detection module, for detecting the animation after importing, whether generation part is abnormal;
Acquisition module, for when determining that generation part is abnormal, to each parts in described multiple parts, the frame extracting this parts place in the animation after described importing forms the frame sequence of these parts;
Composite module, obtains described animation for being reconfigured by the frame sequence of each parts obtained.
Wherein, described composite module is used for:
By the frame sequence of each parts obtained, according to putting in order of multiple parts described in animation before importing, carry out reconfiguring and obtain described animation.
Wherein, described acquisition module is used for:
When determining that generation part is abnormal, to each parts in described multiple parts, the frame number at parts place described in animation after using following arithmetic sequence formulae discovery to go out described importing, extracts the frame sequence that each frame corresponding to described frame number forms described parts in the animation after described importing:
Y=A+B*X;
Wherein, X is the current frame number in the animation before described importing, and described X=0,1,2,3 ... N-1, described N are the totalframes of the animation before described importing, and A is the frame number of first time appearance in the animation of described parts after described importing, the step value that B repeats in each frame for parts described in the animation after described importing, Y is that described X gets 0,1,2,3 ..., each frame number at parts place described in the animation after the described importing calculated after N-1 is respectively worth.
Wherein, described detection module comprises:
Detecting unit, for detect parts in the animation after importing put in order whether with import before animation in parts put in order identical, if identical, then determine that non-generation part is abnormal; If different, then determine that generation part is abnormal.
Wherein, described device also comprises:
Playing module, for the animation that obtains after reconfiguring described in playing in described Ventuz system.
The beneficial effect that technical scheme provided by the invention is brought is: the animation one being comprised multiple parts imports in Ventuz system; Detect in the animation after importing whether generation part is abnormal; When determining that generation part is abnormal, to each parts in described multiple parts, the frame extracting this parts place in the animation after described importing forms the frame sequence of these parts; The frame sequence of each parts obtained is reconfigured and obtains described animation, parts in the animation after reconfiguring can correctly be arranged, ensure that the animation after importing can normal play, improve the display effect of Ventuz system introducing animation.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of process flow figure importing animation unit exception that one embodiment of the invention provides;
Fig. 2 is a kind of process flow figure importing animation unit exception that another embodiment of the present invention provides;
Fig. 3 is a kind for the treatment of apparatus structural drawing importing animation unit exception that another embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
See Fig. 1, one embodiment of the invention provides a kind of disposal route importing animation unit exception, comprising:
101: the animation one being comprised multiple parts imports in Ventuz system;
Wherein, the number of parts does not limit, and can arrange as required.Such as, in an animation about person model distortion, parts can comprise face, health and four limbs etc.Putting in order of parts also can be arranged as required, as putting in order as head, health and foot etc. of parts from top to bottom.
102: whether generation part is abnormal to detect the animation after importing;
Wherein, unit exception is that confusion occurs putting in order of finger.Such as, an animation comprises 100 frames, and wherein each frame all comprises parts 1,2 and 3, and after importing Ventuz system, this animation becomes 300 frames, and each frame all only has parts, then this animation there occurs unit exception.
103: when determining that generation part is abnormal, to each parts in the plurality of parts, the frame extracting this parts place in the animation after described importing forms the frame sequence of these parts;
104: the frame sequence of each parts obtained is reconfigured and obtains this animation.
In the present embodiment, alternatively, the frame sequence of each parts obtained reconfigures and obtains described animation by this, comprising:
By the frame sequence of each parts obtained, according to putting in order of multiple parts described in animation before importing, carry out reconfiguring and obtain described animation.
In the present embodiment, alternatively, to each parts in described multiple parts, the frame extracting this parts place in the animation after described importing forms the frame sequence of these parts, comprising:
To each parts in described multiple parts, the frame number at parts place described in the animation after using following arithmetic sequence formulae discovery to go out described importing, extracts the frame sequence that each frame corresponding to described frame number forms described parts in the animation after described importing:
Y=A+B*X;
Wherein, X is the current frame number in the animation before described importing, and described X=0,1,2,3 ... N-1, described N are the totalframes of the animation before described importing, and A is the frame number of first time appearance in the animation of described parts after described importing, the step value that B repeats in each frame for parts described in the animation after described importing, Y is that described X gets 0,1,2,3 ..., each frame number at parts place described in the animation after the described importing calculated after N-1 is respectively worth.
In the present embodiment, alternatively, in the animation after described detection imports, whether generation part is abnormal, comprising:
Detect parts in the animation imported put in order whether with import before animation in parts put in order identical, if identical, then determine that non-generation part is abnormal; If different, then determine that generation part is abnormal.
In the present embodiment, alternatively, the method also comprises:
The animation obtained after reconfiguring is play in this Ventuz system.
The said method that the present embodiment provides, the animation one being comprised multiple parts imports in Ventuz system; Detect in the animation after importing whether generation part is abnormal; When determining that generation part is abnormal, to each parts in described multiple parts, the frame extracting this parts place in the animation after described importing forms the frame sequence of these parts; The frame sequence of each parts obtained is reconfigured and obtains described animation, parts in the animation after reconfiguring can correctly be arranged, ensure that the animation after importing can normal play, improve the display effect of Ventuz system introducing animation.
See Fig. 2, another embodiment of the present invention provides a kind of disposal route importing animation unit exception, comprising:
201: the animation one being comprised multiple parts imports in Ventuz system;
202: whether generation part is abnormal to detect the animation imported;
Wherein, alternatively, this step can specifically comprise:
Detect parts in the animation after importing put in order whether with import before animation in parts put in order identical, if identical, then determine that non-generation part is abnormal; If different, then determine that generation part is abnormal.
203: when determining that in the animation after importing, generation part is abnormal, to each parts in the plurality of parts, the frame number at this parts place in the animation after using following arithmetic sequence formulae discovery to go out to import;
Y=A+B*X;
Wherein, X is the current frame number in the animation before described importing, and described X=0,1,2,3 ... N-1, described N are the totalframes of the animation before described importing, and A is the frame number of first time appearance in the animation of described parts after described importing, the step value that B repeats in each frame for parts described in the animation after described importing, Y is that described X gets 0,1,2,3 ..., each frame number at parts place described in the animation after the described importing calculated after N-1 is respectively worth.
204: extract each frame that described frame number is corresponding in the animation after this importing, form the frame sequence of described parts;
205: by the frame sequence of each parts obtained, according to putting in order of the plurality of parts in animation before importing, carry out reconfiguring and obtain this animation;
206: in Ventuz system, play this reconfigure the animation obtained.
Such as, have an animation, have 150 frames, comprise 4 parts in every frame, be respectively from top to bottom: △ ,+, zero,.600 frames are become and generation part exception after importing Ventuz system, parts are only had in every frame, be respectively △ ,+, zero,, △ ,+, zero, ... according to above-mentioned formula Y=A+B*X, wherein, the step value of each parts is B=4, frame number X=0 in the animation before importing, 1,2,3 ... ..149.
For parts △, A=0, therefore, Y=0+4*X=1,5,9 ... 596, be each frame frame number at parts △ place in the animation after importing.From the animation after importing, extract frame number is 1,5,9 ... each frame of 597 forms interim animation 1.
For parts+, A=1, therefore, Y=1+4*X=2,6,10 ... 597, be each frame frame number at parts+place in the animation after importing.From the animation after importing, extract frame number is 2,6,10 ... each frame of 597 forms interim animation 2.
For parts zero, A=2, therefore, Y=2+4*X=3,7,11 ... 598, be each frame frame number at parts zero place in the animation after importing.From the animation after importing, extract frame number is 3,7,11 ... each frame of 598 forms interim animation 3.
For parts, A=3, therefore, Y=3+4*X=4,8,12 ... 599, be each frame frame number at parts place in the animation after importing.From the animation after importing, extract frame number is 4,8,12 ... each frame of 599 forms interim animation 4.
By above-mentioned interim animation 1 to 4 according to △ from top to bottom ,+, zero, the order of re-starts combination and obtains new animation, be the animation after unit exception process, this animation is the animation that parts correctly arrange, completely the same with the animation before importing, solve the problem of unit exception, ensure that the result of broadcast of animation after importing.
The said method that the present embodiment provides, the animation one being comprised multiple parts imports in Ventuz system; Detect in the animation after importing whether generation part is abnormal; When determining that generation part is abnormal, to each parts in described multiple parts, the frame extracting this parts place in the animation after described importing forms the frame sequence of these parts; The frame sequence of each parts obtained is reconfigured and obtains described animation, parts in the animation after reconfiguring can correctly be arranged, ensure that the animation after importing can normal play, improve the display effect of Ventuz system introducing animation.
See Fig. 3, another embodiment of the present invention provides a kind for the treatment of apparatus importing animation unit exception, comprising:
Import module 301, the animation for being comprised multiple parts imports in Ventuz system;
Detection module 302, for detecting the animation after importing, whether generation part is abnormal;
Acquisition module 303, for when determining that generation part is abnormal, to each parts in described multiple parts, the frame extracting this parts place in the animation after described importing forms the frame sequence of these parts;
Composite module 304, obtains this animation for being reconfigured by the frame sequence of each parts obtained.
In the present embodiment, alternatively, composite module is used for:
By the frame sequence of each parts obtained, according to putting in order of multiple parts described in animation before importing, carry out reconfiguring and obtain described animation.
In the present embodiment, alternatively, described acquisition module is used for:
When determining that generation part is abnormal, to each parts in described multiple parts, the frame number at parts place described in animation after using following arithmetic sequence formulae discovery to go out described importing, extracts the frame sequence that each frame corresponding to described frame number forms described parts in the animation after described importing:
Y=A+B*X;
Wherein, X is the current frame number in the animation before described importing, and described X=0,1,2,3 ... N-1, described N are the totalframes of the animation before described importing, and A is the frame number of first time appearance in the animation of described parts after described importing, the step value that B repeats in each frame for parts described in the animation after described importing, Y is that described X gets 0,1,2,3 ..., each frame number at parts place described in the animation after the described importing calculated after N-1 is respectively worth.
In the present embodiment, alternatively, detection module comprises:
Detecting unit, for detect parts in the animation after importing put in order whether with import before animation in parts put in order identical, if identical, then determine that non-generation part is abnormal; If different, then determine that generation part is abnormal.
In the present embodiment, alternatively, this device also comprises:
Playing module, for the animation that broadcasting in this Ventuz system obtains after reconfiguring.
The said apparatus that the present embodiment provides can perform the method provided in above-mentioned either method embodiment, and detailed process is shown in the description in embodiment of the method, does not repeat herein.
The said apparatus that the present embodiment provides, the animation one being comprised multiple parts imports in Ventuz system; Detect in the animation after importing whether generation part is abnormal; When determining that generation part is abnormal, to each parts in described multiple parts, the frame extracting this parts place in the animation after described importing forms the frame sequence of these parts; The frame sequence of each parts obtained is reconfigured and obtains described animation, parts in the animation after reconfiguring can correctly be arranged, ensure that the animation after importing can normal play, improve the display effect of Ventuz system introducing animation.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. import a disposal route for animation unit exception, it is characterized in that, described method comprises:
The animation one being comprised multiple parts imports in Ventuz system;
Detect in the animation after importing whether generation part is abnormal;
When determining that generation part is abnormal, to each parts in described multiple parts, the frame extracting this parts place in the animation after described importing forms the frame sequence of these parts;
The frame sequence of each parts obtained is reconfigured and obtains described animation.
2. method according to claim 1, is characterized in that, the described frame sequence by each parts obtained reconfigures and obtains described animation, comprising:
By the frame sequence of each parts obtained, according to putting in order of multiple parts described in animation before importing, carry out reconfiguring and obtain described animation.
3. method according to claim 1, is characterized in that, described to each parts in described multiple parts, the frame extracting this parts place in the animation after described importing forms the frame sequence of these parts, comprising:
To each parts in described multiple parts, the frame number at parts place described in the animation after using following arithmetic sequence formulae discovery to go out described importing, extracts the frame sequence that each frame corresponding to described frame number forms described parts in the animation after described importing:
Y=A+B*X;
Wherein, X is the frame number in the animation before described importing, and described X=0,1,2,3 ... N-1, described N are the totalframes of the animation before described importing, and A is the frame number of first time appearance in the animation of described parts after described importing, the step value that B repeats in each frame for parts described in the animation after described importing, Y is that described X gets 0,1,2,3 ..., each frame number at parts place described in the animation after the described importing calculated after N-1 is respectively worth.
4. method according to claim 1, is characterized in that, in the animation after described detection imports, whether generation part is abnormal, comprising:
Detect parts in the animation after importing put in order whether with import before animation in parts put in order identical, if identical, then determine that non-generation part is abnormal; If different, then determine that generation part is abnormal.
5. method according to claim 1, is characterized in that, described method also comprises:
The animation obtained after reconfiguring described in playing in described Ventuz system.
6. import a treating apparatus for animation unit exception, it is characterized in that, described device comprises:
Import module, the animation for being comprised multiple parts imports in Ventuz system;
Detection module, for detecting the animation after importing, whether generation part is abnormal;
Acquisition module, for when determining that generation part is abnormal, to each parts in described multiple parts, the frame extracting this parts place in the animation after described importing forms the frame sequence of these parts;
Composite module, obtains described animation for being reconfigured by the frame sequence of each parts obtained.
7. device according to claim 6, is characterized in that, described composite module is used for:
By the frame sequence of each parts obtained, according to putting in order of multiple parts described in animation before importing, carry out reconfiguring and obtain described animation.
8. device according to claim 6, is characterized in that, described acquisition module is used for:
When determining that generation part is abnormal, to each parts in described multiple parts, the frame number at parts place described in animation after using following arithmetic sequence formulae discovery to go out described importing, extracts the frame sequence that each frame corresponding to described frame number forms described parts in the animation after described importing:
Y=A+B*X;
Wherein, X is the frame number in the animation before described importing, and described X=0,1,2,3 ... N-1, described N are the totalframes of the animation before described importing, and A is the frame number of first time appearance in the animation of described parts after described importing, the step value that B repeats in each frame for parts described in the animation after described importing, Y is that described X gets 0,1,2,3 ..., each frame number at parts place described in the animation after the described importing calculated after N-1 is respectively worth.
9. device according to claim 6, is characterized in that, described detection module comprises:
Detecting unit, for detect parts in the animation after importing put in order whether with import before animation in parts put in order identical, if identical, then determine that non-generation part is abnormal; If different, then determine that generation part is abnormal.
10. device according to claim 6, is characterized in that, described device also comprises:
Playing module, for the animation that obtains after reconfiguring described in playing in described Ventuz system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510622224.0A CN105279779B (en) | 2015-09-25 | 2015-09-25 | Import the treating method and apparatus of animation unit exception |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510622224.0A CN105279779B (en) | 2015-09-25 | 2015-09-25 | Import the treating method and apparatus of animation unit exception |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105279779A true CN105279779A (en) | 2016-01-27 |
CN105279779B CN105279779B (en) | 2018-10-26 |
Family
ID=55148730
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510622224.0A Expired - Fee Related CN105279779B (en) | 2015-09-25 | 2015-09-25 | Import the treating method and apparatus of animation unit exception |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105279779B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070152984A1 (en) * | 2005-12-30 | 2007-07-05 | Bas Ording | Portable electronic device with multi-touch input |
CN103824003A (en) * | 2013-10-31 | 2014-05-28 | 小米科技有限责任公司 | Application program protecting method, device and terminal |
-
2015
- 2015-09-25 CN CN201510622224.0A patent/CN105279779B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070152984A1 (en) * | 2005-12-30 | 2007-07-05 | Bas Ording | Portable electronic device with multi-touch input |
CN103824003A (en) * | 2013-10-31 | 2014-05-28 | 小米科技有限责任公司 | Application program protecting method, device and terminal |
Non-Patent Citations (1)
Title |
---|
刘婧婧: "3ds Max模型与动画导入Virtools时遇到的问题以及解决方法", 《现代电影技术》 * |
Also Published As
Publication number | Publication date |
---|---|
CN105279779B (en) | 2018-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104754396B (en) | The display methods and device of barrage data | |
CN102208171B (en) | Local detail playing method on portable high-definition video player | |
CN108900854B (en) | Live broadcast microphone room switching method, storage medium, equipment and system | |
CN104837051B (en) | Video broadcasting method and client | |
CN104822092A (en) | Method and apparatus for dotting, indexing, subtitling combination processing of video | |
CN104363505A (en) | Method and device for displaying playing interface | |
CN105007532B (en) | A kind of method and apparatus of animation play | |
CN105915995A (en) | Video playing method and device | |
CN105138216A (en) | Method and apparatus for displaying audience interaction information on virtual seats | |
CN107396167A (en) | Floated menu display method and intelligent television based on intelligent television signal source | |
CN102724452A (en) | Picture processing method and device for video playing | |
CN205356609U (en) | STB device of integrated audio amplifier | |
CN105100870A (en) | Screenshot method and terminal equipment | |
CN107179981A (en) | A kind of method of game resource optimization | |
CN105872608A (en) | Live broadcast page refreshing method and device | |
CN103186916B (en) | A kind of method and apparatus of playing animation | |
CN104394478A (en) | Method and player for playing video | |
CN105187884B (en) | The audio and video playing method of television set and television set | |
CN105279779A (en) | Method and device for processing animation part introduction abnormity | |
CN105138214A (en) | Method and device for dynamically switching images | |
CN104244065B (en) | A kind of method and device of captions processing | |
CN112540735B (en) | Multi-screen synchronous display method, device and system and computer storage medium | |
CN106060518A (en) | Method and system for implementing 720-degree panoramic player with view angle switching function | |
CN104837074B (en) | A kind of method to set up and device for showing the time | |
CN111526420A (en) | Video rendering method, electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: Method and device for handling abnormal import animation parts Effective date of registration: 20210104 Granted publication date: 20181026 Pledgee: Inner Mongolia Huipu Energy Co.,Ltd. Pledgor: Tvmining (BEIJING) Technology Co., Ltd. Registration number: Y2020990001518 |
|
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: 20181026 Termination date: 20210925 |