CN106296781A - Specially good effect image generating method and electronic equipment - Google Patents

Specially good effect image generating method and electronic equipment Download PDF

Info

Publication number
CN106296781A
CN106296781A CN201510282916.5A CN201510282916A CN106296781A CN 106296781 A CN106296781 A CN 106296781A CN 201510282916 A CN201510282916 A CN 201510282916A CN 106296781 A CN106296781 A CN 106296781A
Authority
CN
China
Prior art keywords
view
good effect
specially good
data
frame
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
Application number
CN201510282916.5A
Other languages
Chinese (zh)
Other versions
CN106296781B (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.)
Shenzhen Super Technology Co Ltd
Original Assignee
深圳超多维光电子有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳超多维光电子有限公司 filed Critical 深圳超多维光电子有限公司
Priority to CN201510282916.5A priority Critical patent/CN106296781B/en
Publication of CN106296781A publication Critical patent/CN106296781A/en
Application granted granted Critical
Publication of CN106296781B publication Critical patent/CN106296781B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of specially good effect image generating method and electronic equipment, described method includes: step one, first equipment receives the special effect graph picture generation data that the second equipment sends, described special effect graph picture generates data and includes that at least one pending view, specially good effect material data and specially good effect attribute information, described specially good effect attribute information include described specially good effect material positional information in special effect graph picture;Step 2, first equipment is according to described specially good effect attribute information, described first view corresponding with described at least one pending view by described specially good effect material data and the second view merge, generate the view with 3D specially good effect effect, wherein, same material corresponding to described specially good effect material data, after merging with described first view and the second view, has parallax on horizontal level.The present invention can make user obtain preferably 3D viewing effect, improves Consumer's Experience.

Description

Specially good effect image generating method and electronic equipment
Technical field
The present invention relates to stereo display technique field, be specifically related to a kind of specially good effect image generating method and electronics Equipment.
Background technology
In stereo display technique, man-machine interaction is not limited to two dimensional surface, has the most been extended to three-dimensional space Between.For pursuing sense of reality, must combine closely alternately in three dimensions with visual effect.Along with intelligence Popularizing of the energy portable electric appts such as mobile phone, panel computer, user can be shone by imaging first-class shooting Sheet or video, and by software, photo or the video of shooting are processed, such as, beautify, modify Deng.But to photo or the process of video in prior art, it still is not limited to increase plane effect, and not Three-dimensional dynamic effect can be increased, along with the pursuit that people are the highest to stereo display effect, how with The view data of family shooting or portable electric appts storage increases three-dimensional dynamic embellishment effect, is mesh Front problem demanding prompt solution.
Summary of the invention
It is an object of the invention to provide a kind of specially good effect image generating method, to realize receiving from external equipment To data carry out dynamic effect interpolation, and reduce transmission power consumption, reduce the data volume needing transmission.
For achieving the above object, first aspect present invention provides a kind of specially good effect image generating method, described side Method includes:
Step one, the first equipment receives the special effect graph picture generation data that the second equipment sends, described special effect graph At least one pending view, specially good effect material data and specially good effect attribute information is included as generating data, Described specially good effect attribute information includes described specially good effect material positional information in special effect graph picture;
Step 2, the first equipment is according to described specially good effect attribute information, by described specially good effect material data with described Described first view and the second view that at least one pending view is corresponding merge, and generate and have 3D specially good effect The view of effect, wherein, same material corresponding to described specially good effect material data with described first view and After second view merges, horizontal level has parallax.
According to the method described in present pre-ferred embodiments, described special effect graph picture generates in data and comprises a width The pending view of 2D, comprise needs generation in described specially good effect attribute information has regarding of 3D specially good effect effect The frame number of figure, described step 2 farther includes:
Described two pending images are the first identical view and the second view by step 2.1;
Step 2.2, according to the positional information that frame view each in described specially good effect attribute information is corresponding, by each The described specially good effect material of frame view correspondence size first, second view corresponding with this frame view is in corresponding position Putting synthesis, described synthesis includes that pixel data is changed, described pixel data change specifically include by described often The pixel data of correspondence position described in width view replaces with the pixel of described characteristic material data.
According to the method described in present pre-ferred embodiments, described special effect graph picture generates in data and also includes limit Frame data, described step 2.2, also include before:
According to described frame data, increase frame for the first view after merging or the second view.
According to the method described in present pre-ferred embodiments, described special effect graph picture generation data comprise 2D and regards Frequency sequence, described 2D video sequence comprises the pending image of multiframe, and described pending image is 2D image; Described step 2 farther includes:
Step 2.1, sequentially intercepts the pending image of each frame in described 2D video sequence, and by each The pending image procossing of frame is the first identical view and the second view;
Step 2.2, according to described specially good effect attribute information, by pending with each frame for described specially good effect material data Described first view and the second view that image is corresponding merge, it is thus achieved that with each frame in described 2D video sequence What pending image was corresponding has the view of 3D specially good effect effect.
According to the method described in present pre-ferred embodiments, described step 2.2 farther includes:
According to the positional information that frame view each in described specially good effect attribute information is corresponding, each frame view is corresponding The described specially good effect material of size synthesizes at correspondence position with every width view, and described synthesis includes that pixel data is more Change.
According to the method described in present pre-ferred embodiments, described step 2.2, also include before:
First view corresponding for the pending image of each frame before merging or the second view increase frame.
According to the method described in present pre-ferred embodiments, described special effect graph picture generates in data and comprises a width The pending image of 3D, the pending image of this width 3D farther includes first view and second with parallax View, also includes the frame number of the view with 3D specially good effect effect that needs generate in described specially good effect attribute information, Described step 2 farther includes:
According to described positional information, by described specially good effect material and the first view and the second view respectively in corresponding position Putting synthesis, described synthesis includes the pixel data change in correspondence position region, and described specially good effect material is described Position in first view and the second view is corresponding with the parallax of described first view and the second view, described Pixel data change specifically includes and the pixel data of correspondence position described in described every width view is replaced with institute State the pixel of characteristic material data.
According to the method described in present pre-ferred embodiments, before described step 2, also include:
Limit is increased for the first view before merging with described specially good effect material in each frame 3D rendering or the second view Frame.
According to the method described in present pre-ferred embodiments, described special effect graph picture generation data comprise 3D and regards Frequency sequence, this 3D video sequence comprises the pending image of multiframe 3D, and every pending image of frame 3D enters one Step includes the first view and second view with parallax, the positional information bag comprised in described specially good effect attribute Include specially good effect material and the relevant position in each secondary view in each pending image of frame 3D, described step Two farther include:
According to described positional information, by described specially good effect material respectively with in each pending image of frame 3D One view and the second view synthesize at correspondence position respectively, and described synthesis includes the pixel in correspondence position region Data change, described specially good effect material position in described first view and the second view regards with described first Scheming corresponding with the parallax of the second view, the change of described pixel data specifically includes institute in described every width view The pixel data stating correspondence position replaces with the pixel of described characteristic material data.
According to the method described in present pre-ferred embodiments, before described step 2, also include:
Limit is increased for the first view before merging with described specially good effect material in each frame 3D rendering or the second view Frame.
Second aspect, embodiments provides a kind of electronic equipment, and described electronic equipment includes:
Receiving unit, the special effect graph picture sent for receiving the second equipment generates data, described special effect graph picture Generate data and include at least one pending view, specially good effect material data and specially good effect attribute information, institute State specially good effect attribute information and include described specially good effect material positional information in special effect graph picture;
Processing unit, for according to described specially good effect attribute information, by described specially good effect material data with described extremely Described first view and the second view that a few pending view is corresponding merge, and generate and have 3D specially good effect effect The view of fruit, wherein, same material corresponding to described specially good effect material data with described first view and the After two views merge, horizontal level has parallax.
The specially good effect image generating method of embodiment of the present invention offer and electronic equipment, it is possible to pass according to other equipment Defeated special effect graph picture generates data and reduces the special effect graph picture that other equipment can generate in time, and without transmission Other equipment generate the complete image file with 3D specially good effect, can be greatly lowered transmission power consumption and Save transmission bandwidth, and allow users to obtain preferable 3D viewing effect, meet user's request.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, in describing below Accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, not On the premise of paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 generates a kind of design sketch of processing method for the special effect graph picture that the embodiment of the present invention provides;
The flow chart of the specially good effect image generating method that Fig. 2 provides for the embodiment of the present invention;
Fig. 3 is the schematic diagram increasing dynamic specially good effect in another embodiment of the present invention for 2D image;
Fig. 4 is to increase frame and the schematic diagram of dynamic specially good effect for 2D image in another embodiment of the present invention;
Fig. 5 is the schematic diagram increasing dynamic specially good effect in another embodiment of the present invention for 2D video;
Fig. 6 is to increase frame and the schematic diagram of dynamic specially good effect for 2D video in another embodiment of the present invention;
Fig. 7 is the schematic diagram increasing dynamic specially good effect in another embodiment of the present invention for 3D rendering;
Fig. 8 is the schematic diagram increasing dynamic specially good effect in another embodiment of the present invention for 3D video;
Fig. 9 is the structure chart of a kind of embodiment of the electronic equipment that the embodiment of the present invention provides.
Detailed description of the invention
In order to be more clearly understood that the above-mentioned purpose of the present invention, feature and advantage, below by accompanying drawing And embodiment, technical scheme is described in further detail.It should be noted that not In the case of producing conflict, the feature in embodiments herein and embodiment can be mutually combined.
Elaborate a lot of detail in the following description so that fully understanding the present invention, but this Bright can implement to use other to be different from other modes described here, therefore, the protection of the present invention Scope is not limited to the restriction of following public specific embodiment.In the detailed description of the invention of the present invention, For the ease of distinguishing, have employed the term such as " first ", " second " to distinguish different technical characteristics, when needing Such term can be replaced, should not be construed as limitation of the present invention.
The embodiment of the present invention provide specially good effect image generating method, can apply to solid picture-taking or its His image processing field, such as, be applied to have the smart mobile phone of camera function, panel computer etc., wherein Preferably can apply to that there is the portable electric appts such as the 3D mobile phone of the light-splitting devices such as grating, panel computer In, but be not limited to that this, this kind of specially good effect image generating method can also be applied to common 2D mobile phone. To obtain shown in similar Fig. 1, the view with the dynamic specially good effect of 3D can be watched in smart mobile phone. Such as, after user have taken 2D video by smart mobile phone, it is desirable to image is beautified, increase dynamic State 3D effect, such as, increase the dynamic effects such as floating feather, snowflake, bubble, raindrop, then can lead to Cross the method for processing video frequency that the present embodiment provides, it is thus achieved that the effect obtained desired by user.
More specifically, the A equipment in the first equipment, such as Fig. 1, the image obtained by self, Such as shoot or the mode such as download obtains, and after those images are added dynamic 3D specially good effect, to system After the image with dynamic 3D specially good effect making to obtain stores, it is desirable to be able to be shared with the second equipment, Such as B device so that B device also can watch the image with the dynamic specially good effect of same 3D, such as, carry Have the 2D picture of 3D specially good effect, the 2D video with 3D specially good effect, the 3D rendering with 3D specially good effect or Person is with the 3D video of 3D specially good effect, and now, A equipment can select to be transferred to the complete file of generation B device, so that B device can directly play the file received.Additionally, A equipment is making After image with the dynamic specially good effect of 3D, can by select storage in the way of, such as, only store original image, The specially good effect material used, and specially good effect attribute data, the such as position of specially good effect material, size variation information, Frame number etc., so, when transmission, it is possible to only transmit these useful data, whole without transmission File, B device upon receipt, reduces according to these information.
Such as, A equipment is after making completes with 3D dynamic specially good effect 2D image, only by pending 2D Image stores after carrying out storing and specially good effect attribute information and material information being packed, Afterwards.Receive the electronic equipment of those information, can be directly according to the above-mentioned letter in the information received Breath, carries out image procossing, obtains the view with identical 3D dynamic effect identical with sender, due to Only transmit pending image and corresponding dynamically specially good effect attribute information, transmitted data amount can be greatly saved.
Such as, A equipment is after making completes with 3D dynamic specially good effect 2D video, only by pending video Store, afterwards after carrying out storing and specially good effect attribute information and material information being packed. Receive the electronic equipment B of those information, can directly according to the above-mentioned information in the information that receives, Carry out image procossing, obtain the view with identical 3D dynamic effect identical with sender, owing to only passing Defeated pending 2D video and corresponding dynamically specially good effect attribute information, can be greatly saved transmitted data amount.
Being similar to, such as, A equipment, after making completes with 3D dynamic specially good effect 3D rendering, only will be waited to locate The 3D rendering of reason is carried out after carrying out storing and specially good effect attribute information and material information being packed Storage, afterwards.Receive the electronic equipment B of those information, can be directly according in the information received Above-mentioned information, carry out image procossing, obtain identical with sender there is identical 3D dynamic effect 3D view, owing to only transmitting pending 3D rendering and corresponding specially good effect attribute information, can save significantly Save transmitted data amount.
Being similar to, such as, A equipment, after making completes with 3D dynamic specially good effect 3D video, only will be waited to locate The image of reason carry out storing and dynamic specially good effect attribute information and material information carry out packing laggard Row storage, afterwards.Receive the electronic equipment of those information, can be directly according in the information received Above-mentioned information, carry out image procossing, obtain identical with sender there is identical 3D dynamic effect 3D video, owing to only transmitting pending 3D video and corresponding specially good effect attribute information, can save significantly Save transmitted data amount.
In view of this, embodiment of the present invention first aspect provides a kind of specially good effect image generating method, Fig. 2 It is the flow chart of the method that this embodiment provides, from Figure 2 it can be seen that this embodiment may include that
201, the first equipment receives the special effect graph picture generation data that the second equipment sends, and described special effect graph picture is raw Data are become to include at least one pending view, specially good effect material data and specially good effect attribute information, described Specially good effect attribute information includes described specially good effect material positional information in special effect graph picture;
Specifically, the first equipment can be the electronic equipment B in aforesaid application scenarios, and it receives Pending view, can be the image only comprising a 2D view, it is also possible to be comprise multiframe 2D figure The 2D video sequence of picture, it is also possible to be the frame 3D rendering comprising about two figures, can be more to comprise The 3D video of multiframe 3D rendering, those image files all can be as the background increasing the dynamic specially good effect of 3D.
According to the difference in image background source, specially good effect attribute data the most difference, such as, at background image Source is that in the embodiment of individual 2D picture or 3D picture, specially good effect attribute data needs to include the position of material Information, also need to comprise the frame number etc. that needs generate, and be 2D video or 3D regards at Background image source In the embodiment of frequency, specially good effect attribute data the most necessarily comprises the frame number that needs generate, because video sequence Itself contain a certain amount of number of image frames, seldom repeat.
202, the first equipment according to described specially good effect attribute information, by described specially good effect material data with described at least Described first view and the second view that one pending view is corresponding merge, and generate and have 3D specially good effect effect View, wherein, same material corresponding to described specially good effect material data with described first view and second After view merges, horizontal level has parallax.
After electronic equipment B receives the data of electronic equipment A transmission, resolve, read respectively and treat Process image section, specially good effect material part and specially good effect attribute information part.Afterwards, according to these information Reduce, generate the image identical with the image with the dynamic specially good effect of 3D that electronic equipment A makes, Play out.
In one embodiment, the Background image source increasing the dynamic specially good effect of 3D is individual 2D picture, then exist Described special effect graph picture generates in data and comprises a pending view of width 2D, comprises in described specially good effect attribute information Needing the frame number of the view with 3D specially good effect effect generated, special effect graph can be such as table 1 below as generating data Structure:
Pending 2D picture Material Specially good effect attribute
Table 1
Described step 2 farther includes:
Step 2.1, is the first identical view and the second view by pending image;
Such as, pending for 2D picture reproduction is two identical views, namely the first views by B device With the second view.
Step 2.2, according to the positional information that frame view each in described specially good effect attribute information is corresponding, by each The described specially good effect material of frame view correspondence size first, second view corresponding with this frame view is in corresponding position Putting synthesis, described synthesis includes that pixel data is changed, described pixel data change specifically include by described often The pixel data of correspondence position described in width view replaces with the pixel of described characteristic material data.
Referring to shown in Fig. 3, it is the pending 2D that in the embodiment of the present invention, electronic equipment gets View, specially good effect material is snowflake, and crossing electronic equipment B can be that this view increases the dynamic of the floating snowflake of 3D Effect.
When specially good effect material and pending view being merged, there is various ways it is achieved that such as, In selecting the butterfly embodiment as specially good effect material, the pixel of a certain for the picture band of position can be replaced For the pixel data that butterfly material is corresponding, i.e. available required synthesis view.It should be noted that In one frame 3D effect view, generally comprise two width views, after namely the first view increases specially good effect material View and the second view increase the view after specially good effect, and material of the same race is being distinguished with the first view and the second view During fusion, being generally of parallax, this parallax can be determined by positional information, such as on the first view Position ranks coordinate is (100,100), and wherein, row-coordinate and row coordinate are 100, accordingly second Position ranks coordinate on view is (102,100).
The specially good effect material synthesising position in every width view in different frame, can be random, it is also possible to according to With determining alternately of user, or being determined by certain rule, such as movement locus algorithm determines, no Repeat more.
Referring to Fig. 3, the position of each the snowflake specially good effect material in each two field picture is different, but On two width views in each frame, the position of snowflake specially good effect material all has skew, the position of snowflake on different frame Put and otherwise varied, therefore, when multiframe view is play continuously, i.e. can watch dynamic effect, special Be not when multiframe comprise two width add the view of specially good effect material play on 3D equipment time, due to specially good effect element Material has parallax in the horizontal, therefore can watch 3D effect, although the 2D figure that background is non-cubic Picture, but it is still able to watch 3D specially good effect, such as shown in Fig. 1.
By above-mentioned scheme, it is possible to realize watching 3D effect on 3D equipment, but, 2D is set Standby, then can not watch 3D effect, two multiple continuous Dynamic Graphs with snowflake, class can only be watched Like GIF cardon, to this end, so that user also can watch similar 3D effect on 2D equipment, in step After rapid S203, namely according to specially good effect attribute information, described specially good effect material data is regarded with described first Figure and the second view merge, it is thus achieved that having the view of 3D specially good effect effect, before, electronic equipment can also be The first view or the second view before fusion increase frame, in particular, for two views in each frame One of increase frame, refer to Fig. 4.When multiframe is play continuously with the 2D view of frame, Yong Huye Similar 3D dynamic effect can be experienced, thus reach the compatible effect of 2D and 3D.
Wherein, frame information can also be packaged in special effect graph picture by the second electronic equipment A and generate in data, It is transferred to the first electronic equipment B, such as following table, seldom repeats.
Pending 2D picture Material Specially good effect attribute Frame
Table 2
Accordingly, in another kind of embodiment, the special effect graph picture that electronic equipment B receives generates in data 3D specially good effect Background image source, for 2D video sequence, the most just say that described special effect graph picture generates in data and wrap Containing 2D video sequence, special effect graph picture generates data and can enter shown in table 3, and described 2D video sequence comprises The pending image of multiframe, described pending image is 2D image;
2D video Material Specially good effect attribute
Table 3
Described step 2 farther includes:
Step 3.1, sequentially intercepts the pending image of each frame in described 2D video sequence, and by each The pending image procossing of frame is the first identical view and the second view;
Step 3.2, according to described specially good effect attribute information, by pending with each frame for described specially good effect material data Described first view and the second view that image is corresponding merge, it is thus achieved that with each frame in described 2D video sequence What pending image was corresponding has the view of 3D specially good effect effect.
Further, described step 3.2 may further include: according to every in described specially good effect attribute information The positional information that one frame view is corresponding, regards the described specially good effect material of each frame view correspondence size with every width Figure synthesizes at correspondence position, and described synthesis includes that pixel data is changed.
In this embodiment, the processing mode of the pending image of each frame is identical with aforesaid embodiment, the most not Repeat more.Such as Fig. 5 is a kind of schematic diagram generating 3D effect according to 2D video sequence, and snowflake is Material, an iron rake with three to six teeth and train are the background in 2D video.
It is similar with aforesaid embodiment, so that user also can watch 3D effect on 2D equipment, in step After rapid 3.2, electronic equipment B can also be for corresponding first the regarding of the pending image of each frame before merging Figure or the second view increase frame.Certainly, frame information is also carried at the specially good effect that electronic equipment A sends Image generates in data, as shown in table 4, so when multiframe is play continuously with the 2D view of frame, User also is able to experience similar 3D dynamic effect, thus reaches the compatible effect of 2D and 3D.Such as, The secondary view of in Fig. 5 one, increasing the effect after frame can be as shown in Figure 6.
2D video Material Specially good effect attribute Frame
Table 4
In yet a further embodiment, when the 3D in the special effect graph picture generation data that electronic equipment B receives is special When effect Background image source is 3D rendering, say, that the described special effect graph picture that the first equipment receives generates Comprising a pending image of width 3D in data, the pending image of this width 3D farther includes have parallax First view and the second view, also include in described specially good effect attribute information that the 3D specially good effect that has that needs generate is imitated The frame number of the view of fruit, as shown in table 5, certain first view and the second view are also likely to be and are stored separately:
3D rendering (first view the+the second view) Material Specially good effect attribute
Table 5
Described step 2 farther includes:
According to described positional information, by described specially good effect material and the first view and the second view respectively in corresponding position Putting synthesis, described synthesis includes the pixel data change in correspondence position region, and described specially good effect material is described Position in first view and the second view is corresponding with the parallax of described first view and the second view.
In this embodiment, each view is similar with aforesaid embodiment with the mode that specially good effect material merges, but Being that difference is, positional information is relevant to parallax.As a example by Fig. 7, in Fig. 7, upper figure is that electronics sets The 3D rendering that standby B receives, comprises two width and has the view of parallax, and the material data received is snowflake, Through processing, the 3D with three-dimensional floating effect of lower section in Fig. 7 can be generated and can play image, seldom Repeat.
It is similar to, so that user also can watch 3D effect on 2D equipment, after step 3.2, Electronic equipment B can also be the first view before merging with described specially good effect material in each frame 3D rendering or the Two views increase frame.Certainly, frame information is also carried at the special effect graph picture life that electronic equipment A sends Become in data, refer to table 6, so when multiframe is play continuously with the 2D view of frame, Yong Huye Similar 3D dynamic effect can be experienced, thus reach the compatible effect of 2D and 3D.Its effect, with In aforesaid embodiment, Fig. 4 is similar to, and seldom repeats.
3D rendering Material Specially good effect attribute Frame
Table 6
In the embodiment that another is possible, the special effect graph picture received as electronic equipment B generates in data 3D specially good effect Background image source when being 3D video, say, that the first equipment receives described special effect graph Comprising 3D video sequence as generating in data, as shown in table 7, this 3D video sequence comprises multiframe 3D Pending image, every pending image of frame 3D farther includes the first view and second view with parallax, The positional information comprised in described specially good effect attribute includes in specially good effect material and each pending image of frame 3D Relevant position in each secondary view.
3D video Material Specially good effect attribute
Table 7
Described step 2 farther includes:
According to described positional information, by described specially good effect material respectively with in each pending image of frame 3D One view and the second view synthesize at correspondence position respectively, and described synthesis includes the pixel in correspondence position region Data change, described specially good effect material position in described first view and the second view regards with described first Scheme corresponding with the parallax of the second view.
It should be noted that in this embodiment, the first view in each frame and the second view in 3D video Can be stored separately, say, that 3D video sequence can comprise two sequences, a sequence storage The first view in each frame, another sequence stores the second view of each frame, and two sequences can be distinguished Transmission, it is also possible to selectivity transmits.
In this embodiment, each view and specially good effect material in each frame 3D rendering in 3D video sequence The mode merged is similar with aforesaid embodiment, but differs in that, positional information is relevant to parallax. As a example by Fig. 8, the material data that electronic equipment B receives is snowflake, background in the 3D video received For the train advanced, relative an iron rake with three to six teeth travels forward, and in two width views in each frame, object all has parallax, Through processing, the 3D with three-dimensional floating effect below Fig. 8 can be generated and can play video, seldom go to live in the household of one's in-laws on getting married State.
It is similar to, so that user also can watch 3D effect on 2D equipment, after step 3.2, Electronic equipment B can also be the first view before merging with described specially good effect material in each frame 3D rendering or the Two views increase frame.Certainly, frame information is also carried at the special effect graph picture life that electronic equipment A sends Become in data, as shown in table 8, so when multiframe is play continuously with the 2D view of frame, Yong Huye Similar 3D dynamic effect can be experienced, thus reach the compatible effect of 2D and 3D.Its effect can be joined Examine Fig. 6, similar with it, seldom repeat.
3D rendering Material Specially good effect attribute Frame
Table 8
Corresponding as it is shown in figure 9, embodiments provide a kind of electronic equipment, this electronic equipment is permissible Being the equipment B in Fig. 1, described electronic equipment includes:
Receiving unit 901, the special effect graph picture sent for receiving the second equipment generates data, described special effect graph At least one pending view, specially good effect material data and specially good effect attribute information is included as generating data, Described specially good effect attribute information includes described specially good effect material positional information in special effect graph picture;
Processing unit 902, for according to described specially good effect attribute information, by described specially good effect material data with described Described first view and the second view that at least one pending view is corresponding merge, and generate and have 3D specially good effect The view of effect, wherein, same material corresponding to described specially good effect material data with described first view and After second view merges, horizontal level has parallax.
This embodiment is the device embodiment corresponding with preceding method embodiment, the most seldom repeats.
The electronic equipment that the embodiment of the present invention provides, it is possible to generate number according to the special effect graph picture of other device transmission According to the special effect graph picture that other equipment of reduction can generate in time, and without transmitting the complete of other equipment generation The image file with 3D specially good effect, can be greatly lowered transmission power consumption and save transmission bandwidth, and Allow users to obtain preferable 3D viewing effect, meet user's request.
Professional should further appreciate that, describes in conjunction with the embodiments described herein The unit of each example and algorithm steps, it is possible to come with electronic hardware, computer software or the combination of the two Realize, in order to clearly demonstrate the interchangeability of hardware and software, the most according to function Generally describe composition and the step of each example.These functions are come with hardware or software mode actually Perform, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can be to often Individual specifically should being used for uses different methods to realize described function, but this realization it is not considered that Beyond the scope of this invention.
The method described in conjunction with the embodiments described herein or the step of algorithm can use hardware, process The software module that device performs, or the combination of the two implements.Software module can be placed in random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable In ROM, depositor, hard disk, moveable magnetic disc, CD-ROM or technical field well known to any In the storage medium of other form.
Above-described detailed description of the invention, is carried out the purpose of the present invention, technical scheme and beneficial effect Further describe, be it should be understood that the foregoing is only the present invention detailed description of the invention and , the protection domain being not intended to limit the present invention, all within the spirit and principles in the present invention, done Any modification, equivalent substitution and improvement etc., should be included within the scope of the present invention.

Claims (11)

1. a specially good effect image generating method, it is characterised in that described method includes:
Step one, first equipment receives the special effect graph picture generation data that the second equipment sends, described special effect graph picture generates data and includes that at least one pending view, specially good effect material data and specially good effect attribute information, described specially good effect attribute information include described specially good effect material positional information in special effect graph picture;
Step 2, the first equipment merges according to described specially good effect attribute information, described first view corresponding with described at least one pending view by described specially good effect material data and the second view, generates the view with 3D specially good effect effect;Wherein, same material corresponding to described specially good effect material data, after merging with described first view and the second view, has parallax on horizontal level.
2. the method for claim 1, it is characterised in that described special effect graph picture generates in data and comprises a pending view of width 2D, comprises the frame number of the view with 3D specially good effect effect that needs generate in described specially good effect attribute information, and described step 2 farther includes:
Described two pending images are the first identical view and the second view by step 2.1;
Step 2.2, according to the positional information that frame view each in described specially good effect attribute information is corresponding, first, second corresponding with this frame view for the described specially good effect material of each frame view correspondence size view is synthesized at correspondence position, described synthesis includes that pixel data is changed, and the change of described pixel data specifically includes the pixel that the pixel data of correspondence position described in described every width view replaces with described characteristic material data.
3. method as claimed in claim 2, it is characterised in that described special effect graph picture generates in data and also includes frame data, described step 2.2, also includes before:
According to described frame data, increase frame for the first view before merging or the second view.
4. the method for claim 1, it is characterised in that described special effect graph picture generates in data and comprises 2D video sequence, and described 2D video sequence comprises the pending image of multiframe, and described pending image is 2D image, and described step 2 farther includes:
Step 2.1, sequentially intercepts the pending image of each frame in described 2D video sequence, and is the first identical view and the second view by pending for each frame image procossing;
Step 2.2, according to described specially good effect attribute information, described first view corresponding for pending with each frame for described specially good effect material data image and the second view are merged, it is thus achieved that the view with 3D specially good effect effect corresponding with the pending image of each frame in described 2D video sequence.
5. method as claimed in claim 4, it is characterised in that described step 2.2 farther includes:
According to the positional information that frame view each in described specially good effect attribute information is corresponding, the described specially good effect material of each frame view correspondence size is synthesized at correspondence position with every width view, described synthesis includes that pixel data is changed, and the change of described pixel data specifically includes the pixel that the pixel data of correspondence position described in described every width view replaces with described characteristic material data.
6. method as claimed in claim 4, it is characterised in that described step 2.2, also includes before:
First view corresponding for the pending image of each frame before merging or the second view increase frame.
7. the method for claim 1, it is characterized in that, described special effect graph picture generates in data and comprises a pending image of width 3D, the pending image of this width 3D farther includes the first view and second view with parallax, also including the frame number of the view with 3D specially good effect effect that needs generate in described specially good effect attribute information, described step 2 farther includes:
According to described positional information, described specially good effect material is synthesized at correspondence position respectively with the first view and the second view, described synthesis includes the pixel data change in correspondence position region, described specially good effect material position in described first view and the second view is corresponding with the parallax of described first view and the second view, and the change of described pixel data specifically includes the pixel that the pixel data of correspondence position described in described every width view replaces with described characteristic material data.
8. method as claimed in claim 7, it is characterised in that before described step 2, also include:
Frame is increased for the first view before merging with described specially good effect material in each frame 3D rendering or the second view.
9. the method for claim 1, it is characterized in that, described special effect graph picture generates in data and comprises 3D video sequence, this 3D video sequence comprises the pending image of multiframe 3D, every pending image of frame 3D farther includes the first view and second view with parallax, the positional information comprised in described specially good effect attribute includes specially good effect material and the relevant position in each secondary view in each pending image of frame 3D, and described step 2 farther includes:
According to described positional information, described specially good effect material is synthesized at correspondence position respectively with the first view in each pending image of frame 3D and the second view respectively, described synthesis includes the pixel data change in correspondence position region, described specially good effect material position in described first view and the second view is corresponding with the parallax of described first view and the second view, and the change of described pixel data specifically includes the pixel that the pixel data of correspondence position described in described every width view replaces with described characteristic material data.
10. method as claimed in claim 9, it is characterised in that before described step 2, also include:
Frame is increased for described first view before merging with described specially good effect material in each frame 3D rendering or described second view.
11. 1 kinds of electronic equipments, it is characterised in that described electronic equipment includes:
Receive unit, the special effect graph picture sent for receiving the second equipment generates data, described special effect graph picture generates data and includes that at least one pending view, specially good effect material data and specially good effect attribute information, described specially good effect attribute information include specially good effect material positional information in special effect graph picture;
Processing unit, for according to described specially good effect attribute information, described first view corresponding with described at least one pending view by described specially good effect material data and the second view merge, generate the view with 3D specially good effect effect, wherein, same material corresponding to described specially good effect material data, after merging with described first view and the second view, has parallax on horizontal level.
CN201510282916.5A 2015-05-27 2015-05-27 Special effect image generation method and electronic equipment Active CN106296781B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510282916.5A CN106296781B (en) 2015-05-27 2015-05-27 Special effect image generation method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510282916.5A CN106296781B (en) 2015-05-27 2015-05-27 Special effect image generation method and electronic equipment

Publications (2)

Publication Number Publication Date
CN106296781A true CN106296781A (en) 2017-01-04
CN106296781B CN106296781B (en) 2020-09-22

Family

ID=57634972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510282916.5A Active CN106296781B (en) 2015-05-27 2015-05-27 Special effect image generation method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106296781B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107197341A (en) * 2017-06-02 2017-09-22 福建星网视易信息系统有限公司 It is a kind of that screen display methods, device and a kind of storage device are dazzled based on GPU
CN107391771A (en) * 2017-09-14 2017-11-24 光锐恒宇(北京)科技有限公司 The generation method and device of a kind of image special effect
CN107633541A (en) * 2017-09-14 2018-01-26 光锐恒宇(北京)科技有限公司 The generation method and device of a kind of image special effect
CN108259496A (en) * 2018-01-19 2018-07-06 北京市商汤科技开发有限公司 The generation of special efficacy program file packet and special efficacy generation method and device, electronic equipment
CN109089150A (en) * 2018-09-26 2018-12-25 联想(北京)有限公司 Image processing method and electronic equipment
CN110602563A (en) * 2019-10-11 2019-12-20 重庆杰夫与友文化创意有限公司 Picture and video editing processing method capable of realizing real-time preview
CN112702353A (en) * 2020-12-28 2021-04-23 咪咕文化科技有限公司 Streaming media transmission method, electronic device and storage medium
CN113658298A (en) * 2018-05-02 2021-11-16 北京市商汤科技开发有限公司 Method and device for generating special-effect program file package and special effect
CN114363519A (en) * 2022-01-10 2022-04-15 北京字跳网络技术有限公司 Image processing method and device and electronic equipment
US11368746B2 (en) 2018-02-08 2022-06-21 Beijing Sensetime Technology Development Co., Ltd. Method and device for generating special effect program file package, method and device for generating special effect, and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137270A (en) * 2008-07-25 2011-07-27 皇家飞利浦电子股份有限公司 3D display handling of subtitles
US20110221875A1 (en) * 2010-03-11 2011-09-15 Yuki Iwanaka Three-dimensional image display apparatus and image processing apparatus
CN102457750A (en) * 2010-10-26 2012-05-16 索尼公司 Method and apparatus for inserting object data into a stereoscopic image
CN102790902A (en) * 2009-02-19 2012-11-21 松下电器产业株式会社 Receiving device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137270A (en) * 2008-07-25 2011-07-27 皇家飞利浦电子股份有限公司 3D display handling of subtitles
CN102790902A (en) * 2009-02-19 2012-11-21 松下电器产业株式会社 Receiving device
US20110221875A1 (en) * 2010-03-11 2011-09-15 Yuki Iwanaka Three-dimensional image display apparatus and image processing apparatus
CN102196277A (en) * 2010-03-11 2011-09-21 株式会社东芝 Three-dimensional image display apparatus and image process apparatus
CN102457750A (en) * 2010-10-26 2012-05-16 索尼公司 Method and apparatus for inserting object data into a stereoscopic image

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107197341A (en) * 2017-06-02 2017-09-22 福建星网视易信息系统有限公司 It is a kind of that screen display methods, device and a kind of storage device are dazzled based on GPU
CN107391771A (en) * 2017-09-14 2017-11-24 光锐恒宇(北京)科技有限公司 The generation method and device of a kind of image special effect
CN107633541A (en) * 2017-09-14 2018-01-26 光锐恒宇(北京)科技有限公司 The generation method and device of a kind of image special effect
CN107633541B (en) * 2017-09-14 2021-05-18 光锐恒宇(北京)科技有限公司 Method and device for generating image special effect
CN108259496B (en) * 2018-01-19 2021-06-04 北京市商汤科技开发有限公司 Method and device for generating special-effect program file package and special effect, and electronic equipment
CN108259496A (en) * 2018-01-19 2018-07-06 北京市商汤科技开发有限公司 The generation of special efficacy program file packet and special efficacy generation method and device, electronic equipment
US11521389B2 (en) 2018-01-19 2022-12-06 Beijing Sensetime Technology Development Co., Ltd. Method for generating special effect program file package, method for generating special effect, electronic device, and storage medium
US11368746B2 (en) 2018-02-08 2022-06-21 Beijing Sensetime Technology Development Co., Ltd. Method and device for generating special effect program file package, method and device for generating special effect, and electronic device
CN113658298A (en) * 2018-05-02 2021-11-16 北京市商汤科技开发有限公司 Method and device for generating special-effect program file package and special effect
CN109089150A (en) * 2018-09-26 2018-12-25 联想(北京)有限公司 Image processing method and electronic equipment
CN110602563A (en) * 2019-10-11 2019-12-20 重庆杰夫与友文化创意有限公司 Picture and video editing processing method capable of realizing real-time preview
CN112702353A (en) * 2020-12-28 2021-04-23 咪咕文化科技有限公司 Streaming media transmission method, electronic device and storage medium
CN114363519A (en) * 2022-01-10 2022-04-15 北京字跳网络技术有限公司 Image processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN106296781B (en) 2020-09-22

Similar Documents

Publication Publication Date Title
CN106296781A (en) Specially good effect image generating method and electronic equipment
JP6563453B2 (en) Generation of a depth map for an input image using an exemplary approximate depth map associated with an exemplary similar image
JP6042525B2 (en) Image enhancement
EP2648414B1 (en) 3d display apparatus and method for processing image using the same
CN106303491A (en) Image processing method and device
US8311318B2 (en) System for generating images of multi-views
CN105323252A (en) Method and system for realizing interaction based on augmented reality technology and terminal
WO2015027105A1 (en) Virtual reality content stitching and awareness
CN106598250B (en) A kind of VR display methods, device and electronic equipment
Knust et al. Principles and terminology of true-3D geovisualisation
CA3101222A1 (en) Image processing method and device, and three-dimensional imaging system
CN106303493A (en) Image processing method and device
CN104935866B (en) Realize method, synthesis device and the system of video conference
US9071832B2 (en) Image processing device, image processing method, and image processing program
CN106303494A (en) Method for processing video frequency and device
CN106303492A (en) Method for processing video frequency and device
WO2013024847A1 (en) Stereoscopic image generating device, stereoscopic image display device, stereoscopic image generating method, and program
US8817081B2 (en) Image processing apparatus, image processing method, and program
CN109151443A (en) High degree of comfort three-dimensional video-frequency generation method, system and terminal device
US20120308118A1 (en) Apparatus and method for 3d image conversion and a storage medium thereof
US10242448B2 (en) 3D system including queue management
CN102780895A (en) Implementation method of 3D (three-dimensional) video file from single video file
JP2012104898A (en) Image processing system, image processing method, and program
Ishigami et al. Data compression for photo-based augmented reality on a tablet
KR20190125022A (en) Method for providing web-based cartoon learning image of virtual reality

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20180719

Address after: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Applicant after: Shenzhen super Technology Co., Ltd.

Address before: 518053 East Guangdong H-1 East 101, overseas Chinese town, Nanshan District, Shenzhen.

Applicant before: Shenzhen SuperD Photoelectronic Co., Ltd.

GR01 Patent grant
GR01 Patent grant