CN1971622A - Processing method and system for video cartoon background of digital camera apparatus - Google Patents

Processing method and system for video cartoon background of digital camera apparatus Download PDF

Info

Publication number
CN1971622A
CN1971622A CNA2006101658146A CN200610165814A CN1971622A CN 1971622 A CN1971622 A CN 1971622A CN A2006101658146 A CNA2006101658146 A CN A2006101658146A CN 200610165814 A CN200610165814 A CN 200610165814A CN 1971622 A CN1971622 A CN 1971622A
Authority
CN
China
Prior art keywords
background
digital camera
image data
static image
camera device
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
CNA2006101658146A
Other languages
Chinese (zh)
Other versions
CN100507950C (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.)
Vimicro Corp
Original Assignee
Vimicro Corp
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 Vimicro Corp filed Critical Vimicro Corp
Priority to CNB2006101658146A priority Critical patent/CN100507950C/en
Publication of CN1971622A publication Critical patent/CN1971622A/en
Application granted granted Critical
Publication of CN100507950C publication Critical patent/CN100507950C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)

Abstract

The invention discloses a processing method and system for video cartoon background of digit pick-up device, and relates to the processing method and system for video cartoon, the invention is to solve the problem that the special effect of static state background is single when the present digital device outputs the video images. The chosen video cartoon background files are decoded in the invention, produce multiple static image data, and choose the special effect processing parameter of background for said multiple static image data; the decoded multiple static image data and the video data captured by the digit pick-up device are processed specially using the special effect processing parameter, and output the processing result. So it has advantages of background effect diversity and background dynamic variability.

Description

The video cartoon background process method and system of digital camera device
Technical field
The present invention relates to the disposal route and the system of video cartoon background, relate in particular to the video cartoon background process method and system of digital camera device.
Background technology
Video cartoon is made up of a frame two field picture, and the image of video data that digital camera device is taken also is made up of a frame two field picture, and every two field picture all is made up of plurality of pixels, and each pixel is represented with the value of R, G, B three primary colours.In the process of digital camera device output image, can handle background image and generate various special background effects.In the prior art, the method of adding background effect for the image of video data of digital camera device is: application software provides several fixing, static background images, and the parameter of the background image that prestores, R, G, B value, alpha mixed vector value as each pixel of background image, application software is sent to driver layer to the parameter of background image then, carries out special effect processing.Wherein, it is a kind of method that allows three-dimensional body produce transparent feel that alpha mixes, alpha mixed vector value has been put down in writing the transparency of three-dimensional body pixel, the function that the alpha value is mixed, exactly when handling two objects and on the screen picture, superpose, introduce the alpha value and make it present effect near real-world object.After utilizing the image of video data special effect processing of said method to digital camera device, the video effect that obtains with static background picture.This way has following deficiency: 1, the effect of background special efficacy is single, and because the qualification of algorithm thereby do not have diversity; 2, can not be controlled by the general user; 3, background effect can not shift to an earlier date preview; 4, background is fix static, and is more stiff on the visual effect.
Summary of the invention
Problem at above-mentioned prior art existence, the object of the present invention is to provide the video cartoon background process method and system of digital camera device, the video data and the video cartoon background paper of digital camera device output are combined to, thereby export the diversified video that the animation background of special-effect is arranged.
For achieving the above object, the video cartoon background process method of digital camera device of the present invention comprises the steps:
(1) selected video cartoon background paper is decoded, generate the multiframe static image data, and choose background special effect processing parameter for described multiframe static image data;
(2) utilize described background special effect processing parameter, the video data that decoded multiframe static image data and digital camera device are caught carries out that special efficacy is synthetic to be handled, and result is exported.
Described step (1) is specially:
(11) selected video cartoon background paper is decoded, generate the multiframe static image data, and be stored in the disk with document form data;
(12) choose background special effect processing parameter for described multiframe static image data, and the filename and the background special effect processing parameter of described multiframe static image data sent to driver layer.
Correspondingly, described step (2) is specially:
(2A1) driver layer is obtained the multiframe static image data by filename from described disk;
(2A2) driver layer is utilized described background special effect processing parameter, and the video data that the multiframe static image data that obtains and digital camera device are caught carries out that special efficacy is synthetic to be handled.
As a further improvement on the present invention, described step (1) also is included in driver layer before filter driver is set, and creates the step of device object in filter driver;
Described step (1) is specially: selected video cartoon background paper was decoded by the time interval that is used for its frame per second control, generate the multiframe static image data, and choose background special effect processing parameter for described multiframe static image data; Symbol is connected to described device object, and the multiframe static image data that generates is sent to device object by the described time interval one frame, one frame ground, and the while also will send device object to for the background special effect processing parameter that described multiframe static image data is chosen.
Accordingly, described step (2) is specially:
(2B1) tackle described digital camera device video captured data, and utilize received background special effect processing parameter, the static image data of a frame one frame that obtained and described video data are carried out special efficacy is synthetic to be handled by described device object.
In the above-mentioned steps, the described background special effect processing parameter of choosing for the multiframe still image comprises: the number of foreground, the R of each foreground, G, B value, the value of the alpha blending vector of each foreground correspondence.
In above-mentioned steps (2A2) or the step (2B1), the synthetic processing of described special efficacy adopted alpha blending mixing method, this method is specially: the component that calculates the pixel of static frames display foreground look multiply by the alpha value of this foreground pixel, the component of the pixel of the video frame images that calculating is imported into from digital camera device multiply by the anti-value of alpha vector value of the composition pixel of this background colour pixel, then these two part additions again divided by the maximal value of alpha vector to form the component of final mixed pixel; Described anti-value is: 255 deduct the alpha value of corresponding this background colour pixel, and the maximal value of described alpha vector is 255.
Further, also comprise between step (1) and (2): the step of the video cartoon background that user's preview multiframe still image is synthetic.
For achieving the above object, the video cartoon background process system of digital camera device of the present invention comprises:
Background guide, the video cartoon background paper that is used for being written into is decoded into the multiframe static image data, and chooses background special effect processing parameter for this static image data;
Driver layer, according to described background special effect processing parameter, the video data that described multiframe static image data and digital camera device are caught carries out that special efficacy is synthetic to be handled.
Wherein, described background guide comprises:
Decoding unit is used for the video cartoon background paper is decoded, and generates the multiframe static image data;
A timer that is connected with decoding unit is used to produce a time interval, and this time interval is used to control the play frame rate of described video cartoon background paper;
The selection of parameter unit is used to described static image data to choose background special effect processing parameter;
Data transfer unit is used for sending the data of decoding unit generation and the data of selection of parameter unit generation to driver layer.
Correspondingly, described driver layer comprises:
The digital camera device driver is used for sending the video data that digital camera device is caught to described special effect processing unit;
The special effect processing unit is used for video data that the multiframe static image data that will receive from background guide and digital camera device driver send and carries out that special efficacy is synthetic to be handled.
Further, described background guide can also comprise a filter driver control module, be used to call decoding unit and data transfer unit, will the decode static image data of generation and the background special effect processing parameter of choosing for static image data of the time interval one frame, the one frame ground that produces by timer sends driver layer to.
Correspondingly, described driver layer comprises:
The digital camera device driver is used for sending the video data that digital camera device is caught to described filter driver;
Filter driver is carried in the upper strata of described digital camera device driver, is used for video data that the multiframe static image data that will receive and digital camera device driver send and carries out that special efficacy is synthetic to be handled.
Wherein, described filter driver generates in device stack in the device object one, apparatus for establishing object two;
Described device object two symbolization on-link mode (OLM)s are connected with described filter driver control module, are used to receive multiframe static image data and background special effect processing parameter;
Described device object one comprises the special effect processing unit, is used for carrying out the synthetic processing of special efficacy with the static image data of a frame one frame and from the video data that the digital camera device driver sends.
The present invention decodes by the video cartoon background paper that the user is selected, and choose background special effect processing parameter for decoded multiframe static image data, adjust background effect and preview, after the user confirms, the video data that the decoded multiframe static image data of video cartoon background paper and background special effect processing parameter and digital camera device are caught carries out the background special efficacy and pokes processing, finally to user's output by user's preview and the animation background special efficacy image that obtains through hybrid processing confirmed.Thereby have the background effect diversity, the background dynamics variability, the user use dirigibility and synthetic after the advantage of background preview.
Description of drawings
Fig. 1 is the process flow diagram of the video cartoon background process method of digital camera device of the present invention;
Fig. 2 is the method flow diagram of a kind of embodiment of the present invention;
Fig. 3 is the system construction drawing of the embodiment based on Fig. 2 of the present invention;
Fig. 4 is the method flow diagram of another kind of embodiment of the present invention;
Fig. 5 is the system construction drawing of the embodiment based on Fig. 4 of the present invention.
Embodiment
Flow process as shown in Figure 1, the present invention with the decoding of video cartoon background paper, generates the multiframe static image data by the selected video cartoon background paper of user; Choose special background for the multiframe static image data and imitate processing parameter, adjust background effect and preview, after the user confirms the effect of preview, the background special effect processing parameter of multiframe static image data is imported driver layer into, driver layer obtains background special effect processing parameter, the video data of multiframe static image data and digital camera device seizure is carried out special effect processing, export video at last, so just realized the variational purpose of background effect diversity and background dynamics with special background effect by user's preview and affirmation.
Embodiment one:
Embodiment one method flow as shown in Figure 2, this embodiment imports the decoded multiframe static image data of video cartoon background paper into driver layer in the mode of filename to carry out special effect processing, it specifically comprises:
The processing of application layer
(11) selected video cartoon background paper of user.
(12) start the background guide that is located in the PC, be written into video cartoon background paper selected in the step (1).
(13) the video cartoon background paper that is written into is decoded by certain time interval, generate the multiframe static image data, be stored in document form data in the disk of PC, this time interval is used for the control to video cartoon background play frame rate.
(14) user freely chooses background special effect processing parameter for decoded multiframe static image data, these parameters comprise: the number of foreground, the R of each foreground, G, B value, the value of the alpha blending of each foreground (alpha mixing) vector, it is that a kind of two images of the alpha vector value with pixel color and this pixel color that make up simultaneously are to determine the last a kind of method that produces the mixed pixel color that alpha mixes; The user can also carry out special effect processing earlier with these multiframe static image datas, but be formed with the video cartoon background of the preview of special efficacy effect after selected these parameters; After the user confirms the background special efficacy effect of institute's preview, the fileinfo parameters such as filename that the notice driver layer receives background special effect processing parameter and is stored in the multiframe static image data in the PC.Also the time interval can be delivered to driver layer as parameter.
The processing of driver layer
(15) after driver layer receives the special effect processing notice of the background guide in the application layer, receive the filename and the time interval of background special effect processing parameter and multiframe static image data, and by the multiframe static image data of filename reading and saving in the disk of PC.
(16) the special effect processing unit is in conjunction with background special effect processing parameter, every frame video data that decoded multiframe static image data and digital camera device are imported into carries out that corresponding special efficacy is synthetic to be handled, and output at last has the video of user-defined special-effect to be shown to the user.
In step (16), the multiframe static image data needs to carry out special effect processing with the image of video data of digital camera device shooting in a looping fashion.Because generally, the reproduction time of selected video cartoon background paper is limited, fixing, the frame number of its decoded multiframe static image data also is limited, and the video data that digital camera device imports into is endlessly, so the video data special efficacy that decoded multiframe static image data of video cartoon background paper and digital camera device import into is synthetic handle after, the video data that need start anew again multiframe static image data and digital camera device to be imported into carries out the synthetic processing of special efficacy.Such as: the reproduction time of video cartoon background is 10 seconds, getting the time interval is 1/25 second, then frame per second was 25 frame/seconds, the video cartoon background will be broken down into 250 frame static image datas, the frame per second of supposing the video data that digital camera device imports into also was 25 frame/seconds, under the normal condition, the decoded 250 frame static image datas of video cartoon background paper synthesize processing with the corresponding one by one special efficacy of carrying out of first 250 two field picture that the digital camera device driver transmits respectively, afterwards, the decoded 250 frame still images of video cartoon background paper second 250 two field picture that will start anew once more to transmit with digital camera device carries out respectively that special efficacy is synthetic to be handled.And the like, cyclic process each time all can obtain the video data output of video cartoon background, and is shown to the user.
When the video data that carries out the seizure of video cartoon background paper and digital camera device carries out the synthetic processing of special efficacy, if the frame per second of the video data that the frame per second of the decoded multiframe static image data of video cartoon background paper and digital camera device are caught is inconsistent, the method that can adopt the video image interpolation or abandon the video cartoon frame is handled, to obtain the rich video data of special efficacy effect, each frame background image all is different; Certainly, also can be by the decision-making of special effect processing unit oneself decision with multiframe static image data and digital camera device special efficacy hybrid processing.
When the every frame video data that imports at multiframe static image data and digital camera device carries out that special efficacy is synthetic to be handled, the color processing method of the mixed pixel of composograph adopts alpha blending (alpha mixing) algorithm: the component that calculates the color of pixel of each frame static image data foreground multiply by the alpha value of this foreground pixel, the component of the color of pixel of the video data that calculating is imported into from the digital camera device driver multiply by the anti-value of alpha vector value of the composition pixel of this foreground pixel, then, these two part additions again divided by the maximal value of alpha vector, with the component of the color that forms final mixed pixel; Here, described anti-value is 255 to deduct the alpha vector value of corresponding this foreground pixel; The maximal value of alpha vector is 255.The pseudo-code processing form of alpha blending algorithm is as follows:
OriRed: the R value of the source pixel that obtains from digital camera device;
OriGreen: the G value of the source pixel that obtains from digital camera device;
OriBlue: the B value of the source pixel that obtains from digital camera device;
BmpRed: the R value of the pixel of the foreground of importing into from background guide;
BmpGreen: the G value of the pixel of the foreground of importing into from background guide;
BmpBlue: the B value of the pixel of the foreground of importing into from background guide;
FrontColor[dwFrontColorIndex] .AlphaBlending): the value of the Alpha blending vector of dwFrontColorIndex foreground correspondence;
DwFrontColorIndex foreground carried out the R that following processing just obtains final blend color pixel, G, the B value:
OriRed={OriRed*(255-FrontColor[dwFrontColorIndex].AlphaBlending)+BmpRed*FrontColor[dwFrontColorIndex].AlphaBlending}/255;
OriGreen={OriGreen*(255-FrontColor[dwFrontColorIndex].AlphaBlending)+BmpGreen*FrontColor[dwFrontColorIndex].AlphaBlending}/255;
OriBlue={OriBlue*(255-FrontColor[dwFrontColorIndex].AlphaBlending)+BmpBlue*FrontColor[dwFrontColorIndex].AlphaBlending}/255。
The system architecture of embodiment one as shown in Figure 3, driver layer is obtained the system construction drawing of the decoded multiframe static image data of video cartoon background paper with filename, generally, the video cartoon background paper is the file of FLASH/GIF form, consider in the existing Windows system it is that property value by configuration driven transmits parameter between the application layer and driver layer, because property value belongs to the byte magnitude, therefore once but data quantity transmitted is very little, as can only transmit the data of 8K~16K at every turn.That is to say, the data channel that the Windows system provides the digital camera device driver is conditional, therefore decoded multiframe still image need send driver layer in the mode of filename, and the video data that carries out the seizure of multiframe static image data and digital camera device then carries out the synthetic processing of special efficacy.This system mainly comprises: application layer and driver layer.
Application layer and driver layer all are arranged in the PC or other can provide in the hardware device of operating system (as PDA, digital camera, communication terminal etc.).
Wherein, application layer comprises: background guide, and this background guide offers the platform of a self-defined background of user, and background guide mainly comprises:
Decoding unit, the video cartoon background paper that is used for being written into is decoded, and generates the multiframe static image data, and the multiframe static image data is stored in document form data in the disk of PC, such as, the multiframe static image data is stored in the hard disk of PC.
Be connected a timer with decoding unit, be used to produce a time interval, this time interval is used for the control of video cartoon background play frame rate, the speed of control decoding unit decodes, as this time interval be 1/25 second, the decoding back frame per second of multiframe static image data when special effect processing just was 25 frame/seconds;
The selection of parameter unit is used to the user that a platform of selecting the background special effect processing parameter of multiframe static image data is provided;
Data transfer unit is used for the time interval that is used for frame per second control that the filename of multiframe static image data that decoding unit decodes is generated, background special effect processing parameter, the timer chosen for the multiframe static image data by the selection of parameter unit produce to pass to driver layer.
Driver layer comprises: special effect processing unit and digital camera device driver.
The special effect processing unit is arranged at the upper strata of digital camera device driver, and when the digital camera device driver started, this special effect processing unit also can start.
The special effect processing unit is used for the video data of decoded multiframe static image data of video cartoon background paper and digital camera device seizure is carried out the synthetic processing of special efficacy.
The digital camera device driver is used for the video data that digital camera device captures is passed to the special effect processing unit.
The system of the video cartoon background process of this digital camera device also comprises a display unit, and being used for to have the video of special background effect to be shown to the user after the special effect processing.
In the method and system of above-mentioned realization video cartoon background special effect processing, the decoded multiframe static image data of former video cartoon background paper is kept in the PC with document form data, in driver layer, when the video data that the special effect processing unit transmits multiframe static image data and digital camera device driver carries out that special efficacy is synthetic to be handled, the filename that only need read the multiframe static image data in the PC gets final product, and does not need to import former video cartoon background paper or the decoded multiframe static image data of this former video cartoon background paper into driver layer.
Embodiment two:
Present embodiment is by filter driver is set in driver layer, with the restricted defective of the data transmission channel that overcomes application layer and driver layer, the video stream data that the interception camera head obtains and the static image data of video cartoon background paper, the special effect processing of realization video cartoon background.
The method of embodiment two is as shown in Figure 4: adopt the filter driver mode to realize that the method flow of technical solution of the present invention mainly comprises the steps:
Step (21) is provided with filter driver in driver layer, and creates device object in filter driver, and wherein, this device object comprises device object one and device object two;
Step (22) user selectes required video cartoon background.
Step (23) user opens the background guide that is located in the user side PC, be written into the described video cartoon background paper of step (22), this video cartoon background paper decoding is generated the multiframe static image data by certain time interval, this time interval is used for the time interval of frame per second control when decoding with the video cartoon background paper identical, can make the continuous device object that sends filter driver to two of multiframe static image data like this.
Step (24) user freely chooses background special effect processing parameter for each frame static image data in this background guide, comprising: the number of foreground, the R of each foreground, G, B value, the value of the alpha blending of each foreground (alpha mixing) vector.
Step (25) user carries out special effect processing earlier with these multiframe static image datas, but is formed with the video cartoon background of the preview of special efficacy effect for after the multiframe static image data chooses background special effect processing parameter; After the user confirms the background special efficacy effect of institute's preview, the filter driver control module call decoding unit and data transfer unit with the multiframe static image data set by step in (23) during decoding the used time interval one frame, one frame ground send the device object two of filter driver to, the while also will send the device object two of filter driver for the background special effect processing parameter that static image data is chosen to.
Step (26) filter driver carries out the synthetic processing of special efficacy, Processing Algorithm such as above-mentioned alpha blending algorithm to the video data of the static image data of a frame one frame of device object two transmission and the digital camera device seizure that device object one is intercepted; The video data that animation background special efficacy is arranged after the synthetic processing of special efficacy is sent into the video capture application program and is shown to the user.
When the video data that carries out the seizure of multiframe static image data and digital camera device carries out the synthetic processing of special efficacy, if the frame per second of the video data that the frame per second of the decoded multiframe static image data of video cartoon background paper and camera head are caught is inconsistent, the method that can adopt the video image interpolation or abandon the video cartoon frame is handled, to obtain special efficacy effect rich video data.
The system architecture of embodiment two as shown in Figure 5, in the present embodiment, by Filter Driver (filter driver) and filter driver control module are set, be equivalent to open up the data channel of a tolerable large-data documents transmission, application layer can directly be transmitted the multiframe static image data to the Filter of driver layer Driver (filter driver), thereby realizes that the video data that multiframe static image data and digital camera device are caught carries out special effect processing.
The difference of the system shown in Figure 3 in system architecture shown in Figure 5 and the foregoing description one is: the background guide of application layer also comprises: the filter driver control module, this filter driver control module is used to call decoding unit and data transfer unit, sends the multiframe static image data to driver layer at a certain time interval.
Driver layer comprises a filter driver and digital camera device driver;
Described filter driver is loaded into the upper strata of digital camera device driver, when the digital camera device driver starts, filter driver also can start, and in device stack, generate necessary device object one, while apparatus for establishing object two, wherein the filter driver control module is connected to device object two according to Symbol Link (Symbolic Links), be equivalent between filter driver control module and device object two to create a data passage with the form of Symbolic Links, the multiple image data that the decoding of Flash/GIF video cartoon background paper can be generated be issued device object two by this data channel at interval by certain hour;
Device object one is intercepted all data by device stack, comprises video data that each frame static image data that device object two sends and digital camera device are caught and that send by the digital camera device driver;
Each frame static image data and digital camera device that special effect processing unit in the device object one will be intercepted carry out special effect processing by the video data that its driver sends, and the video data with special-effect after the special effect processing is issued the video capture application program show.
Here created in the filter driver can Symbol Link device object two pairs of application layers be visible, this device object one and device object two can receive Large Volume Data, thereby are equivalent to open up the data channel of allowing the Large Volume Data transmission in application layer and driver layer.
Filter driver has almost been finished whole work of special effect processing in the present embodiment, and will decode and filter driver control module in application layer has been given in the relevant work of frame per second control, save the interior nuclear resource that the digital camera device driver takies to the full extent, for the enforcement of technical scheme of the present invention provides a kind of application method widely.
Among above-mentioned two kinds of embodiment, image special effect hybrid processing algorithm not only can adopt alpha blending algorithm, also can adopt other image blend Processing Algorithm, such as: Additive Blending algorithm or Substractive Blending algorithm; In addition, the digital camera device among the present invention can be common computer camera, also can be IP Camera etc.
The present invention is by the selected video cartoon background of user, adjust background effect and preview, the video data that decoded multiframe static image data of video cartoon background after the user confirms and background special effect processing parameter and digital camera device are caught carries out the background special effect processing, finally to user terminal output by user's preview and the animation background special efficacy video that obtains through hybrid processing confirmed.Thereby have the background effect diversity, and the background dynamics variability, the user uses the advantage of dirigibility and mixed background preview.

Claims (14)

1, a kind of video cartoon background process method of digital camera device is characterized in that, comprises the steps:
(1) selected video cartoon background paper is decoded, generate the multiframe static image data, and choose background special effect processing parameter for described multiframe static image data;
(2) utilize described background special effect processing parameter, the video data that decoded multiframe static image data and digital camera device are caught carries out that special efficacy is synthetic to be handled, and result is exported.
2, the video cartoon background process method of digital camera device according to claim 1 is characterized in that, described step (1) is specially:
(11) selected video cartoon background paper is decoded, generate the multiframe static image data, and be stored in the disk with document form data;
(12) choose background special effect processing parameter for described multiframe static image data, and the filename and the background special effect processing parameter of described multiframe static image data sent to driver layer.
3, the video cartoon background process method of digital camera device according to claim 2 is characterized in that, described step (2) is specially:
(2A1) driver layer is obtained the multiframe static image data by filename from described disk;
(2A2) driver layer is utilized described background special effect processing parameter, and the video data that the multiframe static image data that obtains and digital camera device are caught carries out that special efficacy is synthetic to be handled.
4, the video cartoon background process method of digital camera device according to claim 1 is characterized in that, described step (1) also is included in driver layer before filter driver is set, and creates the step of device object in filter driver;
Described step (1) is specially: selected video cartoon background paper was decoded by the time interval that is used for its frame per second control, generate the multiframe static image data, and choose background special effect processing parameter for described multiframe static image data; Symbol is connected to described device object, and the multiframe static image data that generates is sent to device object by the described time interval one frame, one frame ground, and the while also will send device object to for the background special effect processing parameter that described multiframe static image data is chosen.
5, the video cartoon background process method of digital camera device according to claim 4 is characterized in that, described step (2) is specially:
(2B1) tackle described digital camera device video captured data, and utilize received background special effect processing parameter, the static image data of a frame one frame that obtained and described video data are carried out special efficacy is synthetic to be handled by described device object.
6, according to the video cartoon background process method of the described digital camera device of arbitrary claim in the claim 1 to 5, it is characterized in that, the described background special effect processing parameter of choosing for the multiframe still image comprises: the number of foreground, the R of each foreground, G, B value, the value of the alpha blending vector of each foreground correspondence.
7, the video cartoon background process method of digital camera device according to claim 6, it is characterized in that, the synthetic processing of described special efficacy adopted alpha blending mixing method, this method is specially: the component that calculates the pixel of static frames display foreground look multiply by the alpha value of this foreground pixel, the component of the pixel of the video frame images that calculating is imported into from digital camera device multiply by the anti-value of alpha vector value of the composition pixel of this background colour pixel, then these two part additions again divided by the maximal value of alpha vector to form the component of final mixed pixel; Described anti-value is: 255 deduct the alpha value of corresponding this background colour pixel, and the maximal value of described alpha vector is 255.
8, the video cartoon background process method of digital camera device according to claim 1 is characterized in that, also comprises between step (1) and (2): the step of the video cartoon background that user's preview multiframe static image data is synthetic.
9, a kind of video cartoon background process system of digital camera device is characterized in that, comprising:
Background guide, the video cartoon background paper that is used for being written into is decoded into the multiframe static image data, and chooses background special effect processing parameter for this static image data;
Driver layer, according to described background special effect processing parameter, the video data that described multiframe static image data and digital camera device are caught carries out that special efficacy is synthetic to be handled.
10, the video cartoon background process system of digital camera device according to claim 9 is characterized in that, described background guide comprises:
Decoding unit is used for the video cartoon background paper is decoded, and generates the multiframe static image data;
A timer that is connected with decoding unit is used to produce a time interval, and this time interval is used to control the play frame rate of described video cartoon background paper;
The selection of parameter unit is used to described static image data to choose background special effect processing parameter;
Data transfer unit is used for sending the data of decoding unit generation and the data of selection of parameter unit generation to driver layer.
11, the video cartoon background process system of digital camera device according to claim 10 is characterized in that described driver layer comprises:
The digital camera device driver is used for sending the video data that digital camera device is caught to described special effect processing unit;
The special effect processing unit is used for video data that the multiframe static image data that will obtain from background guide and digital camera device driver send and carries out that special efficacy is synthetic to be handled.
12, the video cartoon background process system of digital camera device according to claim 10, it is characterized in that, described background guide can also comprise a filter driver control module, be used to call decoding unit and data transfer unit, will the decode static image data of generation and the background special effect processing parameter of choosing for static image data of the time interval one frame, the one frame ground that produces by timer sends driver layer to.
13, the video cartoon background process system of digital camera device according to claim 12 is characterized in that described driver layer comprises:
The digital camera device driver is used for sending the video data that digital camera device is caught to described filter driver;
Filter driver is carried in the upper strata of described digital camera device driver, is used for video data that the multiframe static image data that will receive and digital camera device driver send and carries out that special efficacy is synthetic to be handled.
14, the video cartoon background process system of digital camera device according to claim 13 is characterized in that, described filter driver generates in device stack in the device object one, apparatus for establishing object two;
Described device object two symbolization on-link mode (OLM)s are connected with described filter driver control module, are used to receive multiframe static image data and background special effect processing parameter;
Described device object one comprises the special effect processing unit, is used for carrying out the synthetic processing of special efficacy with the static image data of a frame one frame and from the video data that the digital camera device driver sends.
CNB2006101658146A 2006-12-12 2006-12-12 Processing method and system for video cartoon background of digital camera apparatus Expired - Fee Related CN100507950C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101658146A CN100507950C (en) 2006-12-12 2006-12-12 Processing method and system for video cartoon background of digital camera apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101658146A CN100507950C (en) 2006-12-12 2006-12-12 Processing method and system for video cartoon background of digital camera apparatus

Publications (2)

Publication Number Publication Date
CN1971622A true CN1971622A (en) 2007-05-30
CN100507950C CN100507950C (en) 2009-07-01

Family

ID=38112425

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101658146A Expired - Fee Related CN100507950C (en) 2006-12-12 2006-12-12 Processing method and system for video cartoon background of digital camera apparatus

Country Status (1)

Country Link
CN (1) CN100507950C (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055912A (en) * 2009-10-29 2011-05-11 北京中星微电子有限公司 Video application system, video special effect processing system and method
CN102325237A (en) * 2011-10-26 2012-01-18 天津三星光电子有限公司 Digital camera with picture-in-picture video recording and playing function
CN102523387A (en) * 2011-12-09 2012-06-27 深圳市万兴软件有限公司 Method and device for realizing special flame effect in video
CN102752537A (en) * 2011-11-29 2012-10-24 新奥特(北京)视频技术有限公司 Method for outputting various stunt effects simultaneously
CN101436306B (en) * 2008-12-19 2013-03-27 北京中星微电子有限公司 Method, apparatus and video display card for implementing image special effect
CN103079040A (en) * 2013-01-11 2013-05-01 北京友维科软件科技有限公司 Synthetic system and synthetic method for synthesizing image effect into video images
CN104851120A (en) * 2014-02-17 2015-08-19 腾讯科技(北京)有限公司 Video processing method and device
TWI584090B (en) * 2013-01-15 2017-05-21 Hakko Electronics Co Ltd A programmable controller system, a programmable display, a drawing editing device, a recording medium recording a program
CN106708380A (en) * 2015-11-13 2017-05-24 百度在线网络技术(北京)有限公司 Background image setting method and apparatus
CN106940878A (en) * 2017-02-27 2017-07-11 深圳华盛昌机械实业有限公司 A kind of display methods and device
CN109285197A (en) * 2018-08-14 2019-01-29 四川虹美智能科技有限公司 A kind of GIF image processing method and mobile terminal
WO2019062571A1 (en) * 2017-09-30 2019-04-04 腾讯科技(深圳)有限公司 Dynamic image synthesis method and device, terminal and storage medium
WO2020135055A1 (en) * 2018-12-28 2020-07-02 广州市百果园信息技术有限公司 Method, device and apparatus for adding video special effects and storage mediem
CN112465785A (en) * 2020-11-30 2021-03-09 深圳大学 Cornea dynamic parameter extraction method and system
CN113422914A (en) * 2021-06-24 2021-09-21 脸萌有限公司 Video generation method, device, equipment and medium

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436306B (en) * 2008-12-19 2013-03-27 北京中星微电子有限公司 Method, apparatus and video display card for implementing image special effect
CN102055912A (en) * 2009-10-29 2011-05-11 北京中星微电子有限公司 Video application system, video special effect processing system and method
CN102055912B (en) * 2009-10-29 2014-10-29 北京中星微电子有限公司 Video application system, video special effect processing system and method
CN102325237A (en) * 2011-10-26 2012-01-18 天津三星光电子有限公司 Digital camera with picture-in-picture video recording and playing function
CN102752537A (en) * 2011-11-29 2012-10-24 新奥特(北京)视频技术有限公司 Method for outputting various stunt effects simultaneously
CN102752537B (en) * 2011-11-29 2017-06-13 新奥特(北京)视频技术有限公司 It is a kind of to realize the method that various special effects are exported simultaneously
CN102523387A (en) * 2011-12-09 2012-06-27 深圳市万兴软件有限公司 Method and device for realizing special flame effect in video
CN103079040A (en) * 2013-01-11 2013-05-01 北京友维科软件科技有限公司 Synthetic system and synthetic method for synthesizing image effect into video images
WO2014108102A1 (en) * 2013-01-11 2014-07-17 北京友维科软件科技有限公司 Image and video synthesis system and synthesis method
TWI584090B (en) * 2013-01-15 2017-05-21 Hakko Electronics Co Ltd A programmable controller system, a programmable display, a drawing editing device, a recording medium recording a program
CN104851120A (en) * 2014-02-17 2015-08-19 腾讯科技(北京)有限公司 Video processing method and device
CN106708380A (en) * 2015-11-13 2017-05-24 百度在线网络技术(北京)有限公司 Background image setting method and apparatus
CN106940878A (en) * 2017-02-27 2017-07-11 深圳华盛昌机械实业有限公司 A kind of display methods and device
WO2019062571A1 (en) * 2017-09-30 2019-04-04 腾讯科技(深圳)有限公司 Dynamic image synthesis method and device, terminal and storage medium
CN109598775A (en) * 2017-09-30 2019-04-09 腾讯科技(深圳)有限公司 A kind of dynamic image synthetic method, device, terminal and storage medium
US11308674B2 (en) 2017-09-30 2022-04-19 Tencent Technology (Shenzhen) Company Limited Dynamic image compositing method and apparatus, terminal and storage medium
CN109285197A (en) * 2018-08-14 2019-01-29 四川虹美智能科技有限公司 A kind of GIF image processing method and mobile terminal
WO2020135055A1 (en) * 2018-12-28 2020-07-02 广州市百果园信息技术有限公司 Method, device and apparatus for adding video special effects and storage mediem
RU2763518C1 (en) * 2018-12-28 2021-12-30 Биго Текнолоджи Пте. Лтд. Method, device and apparatus for adding special effects in video and data media
US11553240B2 (en) 2018-12-28 2023-01-10 Bigo Technology Pte. Ltd. Method, device and apparatus for adding video special effects and storage medium
CN112465785A (en) * 2020-11-30 2021-03-09 深圳大学 Cornea dynamic parameter extraction method and system
CN112465785B (en) * 2020-11-30 2024-05-31 深圳大学 Cornea dynamic parameter extraction method and system
CN113422914A (en) * 2021-06-24 2021-09-21 脸萌有限公司 Video generation method, device, equipment and medium
CN113422914B (en) * 2021-06-24 2023-11-21 脸萌有限公司 Video generation method, device, equipment and medium

Also Published As

Publication number Publication date
CN100507950C (en) 2009-07-01

Similar Documents

Publication Publication Date Title
CN100507950C (en) Processing method and system for video cartoon background of digital camera apparatus
CN106230841B (en) Terminal-based real-time video beautifying and streaming method in live webcasting
CN110290425A (en) A kind of method for processing video frequency, device and storage medium
EP3151548B1 (en) Video recording method and device
CN112804459A (en) Image display method and device based on virtual camera, storage medium and electronic equipment
CN103517046B (en) Method, apparatus and computer program product for capturing video content
CN105096373A (en) Media content rendering method, user device and rendering system
CN108156520A (en) Video broadcasting method, device, electronic equipment and storage medium
CN108650542A (en) Generate vertical screen video flowing, the method for image procossing, electronic equipment and video system
CN107040808A (en) Treating method and apparatus for barrage picture in video playback
CN110012336B (en) Picture configuration method, terminal and device of live interface
CN106851386A (en) The implementation method and device of augmented reality in television terminal based on android system
US20090262125A1 (en) Rendering A Multiple Viewpoint Image Into A Single Frame Buffer Using Off-Screen Rendering Surfaces
CN107529091A (en) Video clipping method and device
CN105512133B (en) A kind of Web page picture synthetic method, device and picture synthesize webpage
JP2014021570A (en) Moving image generation device
CN103338235A (en) Method for realizing live wallpaper interactive and personalized creation on mobile phone
CN102750685A (en) Image processing method and device
CN109862381A (en) Promotion method, system, device and storage medium based on dynamic video poster
CN112804460A (en) Image processing method and device based on virtual camera, storage medium and electronic equipment
CN113691737A (en) Video shooting method, device, storage medium and program product
CN106327415A (en) Image processing method and device
CN112565603B (en) Image processing method and device and electronic equipment
CN110049347A (en) In method, system, terminal and the device of live streaming interface configurations image
CN103186916A (en) Method and device for playing animated cartoon

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090701

Termination date: 20111212