CN102685470A - Video digital watermark embedding method and video digital water embedding device directing at AVS (audio video standard) video format - Google Patents

Video digital watermark embedding method and video digital water embedding device directing at AVS (audio video standard) video format Download PDF

Info

Publication number
CN102685470A
CN102685470A CN2011100537677A CN201110053767A CN102685470A CN 102685470 A CN102685470 A CN 102685470A CN 2011100537677 A CN2011100537677 A CN 2011100537677A CN 201110053767 A CN201110053767 A CN 201110053767A CN 102685470 A CN102685470 A CN 102685470A
Authority
CN
China
Prior art keywords
watermark
coefficient matrix
video
module
residual error
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.)
Pending
Application number
CN2011100537677A
Other languages
Chinese (zh)
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.)
Aisino Corp
Original Assignee
Aisino 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 Aisino Corp filed Critical Aisino Corp
Priority to CN2011100537677A priority Critical patent/CN102685470A/en
Publication of CN102685470A publication Critical patent/CN102685470A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a video digital watermark embedding method directing at an AVS (audio video standard) video format. The video digital watermark embedding method comprises the following steps: generating a watermark forecasting template of a watermark image according to a forecasting model and obtaining a block coefficient matrix of the watermark forecasting template; extracting a first residual coefficient matrix of macro blocks arranged at the embedding position of an original video and modifying the first residual coefficient matrix according to the block coefficient matrix of the watermark forecasting template to obtain a second residual coefficient matrix; taking the second residual coefficient matrix as the coefficient matrix of the macro blocks at the embedding position of the original video and regulating a coding way of the macro blocks during the change of the forecasting model; and rewriting code stream for the macro block with no embedded watermark so as to obtain a video embedded with watermark images. According to the video digital watermark embedding method, re-coding is not needed, the watermark images can be embedded only by conducting partly decoding on the video, so that the embedding speed can be greatly increased, and the damage to the original video is small.

Description

Video digital watermark embedding grammar and device towards the AVS video format
Technical field
The present invention designs a kind of digital watermark technology field, is meant a kind of towards video digital watermark embedding grammar and device the AVS video format, the partial decoding of h processing is carried out in employing to video especially.
Background technology
Along with network and Development of Multimedia Technology; Particularly various Web2.0 use the progress of popularizing of (like the video sharing website) and video coding technique; The transmission of video, copy and share and become more and more easier; Thereby caused the serious day by day of video invasion phenomenon, grievous injury video lawful owner's legitimate rights and interests, hindered the development of whole audio/video industry.First video encoding standard that has independent intellectual property right as China; AVS (Audio Video coding Standard; Digital audio/video encoding and decoding technique standard) has and (video coding and decoding technology) the same code efficiency H.264; But its computation complexity significantly reduces, and has been widely used in fields such as DTV, mobile TV.
In order to promote the sound development of whole AVS audio/video industry; We are necessary to study AVS video copyright protecting technology; And as a kind of video copyright protecting technology commonly used---visual video digital watermark technology; Can directly copyright information be embedded in the multimedia bearer, to reach the purpose that protects the intellectual property.Because the observability of visual video watermark, it can directly indicate the ownership of copyright, because visual video watermark detection is very easy to, it is often used in the copyright protection of all kinds of videos of sign.Therefore, the quick embedded technology of research AVS video flowing video capable watermark is for protection AVS video copyright, the application that promotes the AVS video coding technique and universal having great importance.
The visual video digital watermark embedding grammar that is adopted at present is " full decoder---watermark embedding---recodification ", and its embedding speed ratio is lower, can't satisfy the demand that watermark embeds in real time.
Summary of the invention
The objective of the invention is to overcome the deficiency of prior art, provide a kind of employing that video is carried out video digital watermark embedding grammar and the device towards the AVS video format that partial decoding of h is handled, realized the method for quick, real-time embed watermark image.A kind of video digital watermark embedding grammar towards the AVS video format of the present invention may further comprise the steps:
S101: read watermarking images;
S102: described watermarking images is carried out gray scale handle, obtain the gray level image of described watermarking images;
S103: the pixel value of adjusting described gray level image; Its adjustment process is: the maximum of pixel value is set to fiducial value in the described gray level image; The rest of pixels value is reversed; Make that the maximum of described former gray level image is 0, its residual value is the poor of fiducial value and its corresponding pixel value; And
S104: expand adjusted gray level image; Its expansion process is: the lower limb of described adjusted gray level image and the numerical value of right hand edge area extension 4 row and 4 row are 0 zone; Through extension realization for the not compensation of the macro block of embed watermark, thereby prevented the diffusion of visual watermark;
S105: to predictive mode the watermarking images that S104 obtains is generated the watermark prediction module, and obtain the piece coefficient matrix of described watermark prediction module;
S106: the first residual error coefficient matrix of the macro block of the watermark embedded location of extraction original video; Piece coefficient matrix according to described watermark prediction module is made amendment to the described first residual error coefficient matrix, obtains the second residual error coefficient matrix of the macro block of described watermark embedded location; And
S107: with the coefficient matrix of the described second residual error coefficient matrix as the macro block of the watermark embedded location of described original video; And, predictive mode adjusts the macroblock encoding mode of described watermark embedded location when changing; The macro block of embed watermark does not then directly rewrite code stream, thereby obtains the video behind the embed watermark image; Wherein,, need be revised as Direct Model if residual error non-zero and former predictive mode are skip mode, otherwise, if residual error has become 0, then need Direct Model be revised as skip mode.
Wherein, described predictive mode comprises intra prediction mode and inter-frame forecast mode, and wherein said inter-frame forecast mode comprises interframe single directional prediction pattern and interframe bi-predictive mode.
Preferably, if adopt intra prediction mode among the S105, the formula that then watermarking images is generated the watermark prediction module is:
Wres′(i,j)=W(i,j)-Wpre(i,j)
Wherein, W Res' (i j) is the piece coefficient matrix of the infra-frame prediction template of generation, and (i is j) for expanding the piece coefficient matrix of adjusted watermarking images, W for W Pre(i, the piece coefficient of the watermarking images that j) obtains for S104 carries out the piece coefficient matrix after the intra prediction mode, and it utilizes coding standard to calculate; Wherein, i, j are 0 or natural number.
Preferably, if carrying out 1/4 pixel value difference, the watermarking images that adopts the piece coefficient matrix of the inter prediction template of inter-frame forecast mode to be obtained by S104 among the S105 produces.
Preferably, the following formula of embedding algorithm use of the intra prediction mode among the S106 is made amendment to the described first residual error coefficient matrix:
Res′(i,j)=Res(i,j)+β nWres′(i,j)
Wherein, (i j) is the second residual error coefficient matrix to Res ', and (i j) is the first residual error coefficient matrix, β to Res nBe watermark embed strength, its span is: 0~1, and W Res' (i j) is the piece coefficient matrix of the infra-frame prediction template of generation; Wherein, i, j are 0 or natural number.
Preferably, the following formula of embedding algorithm use of the interframe single directional prediction pattern of P frame among the S106 and B frame is made amendment to the described first residual error coefficient matrix:
Res′(i,j)=Res(i,j)-α*W p(i,j)+β*W res(i,j)
Wherein, Res ' (i j) is the second residual error coefficient matrix, Res (i j) is the first residual error coefficient matrix,
Figure BDA0000049093420000031
Figure BDA0000049093420000032
Be embedding rate, β nBe watermark embed strength, α nNumerical value according to the β of video embedded location nValue is confirmed; W p(i, j) for the piece coefficient matrix of video embedded location carries out the resulting coefficient matrix of 1/4 picture element interpolation, W Res(i, the watermarking images that j) obtains for S104 carries out the resulting coefficient matrix of 1/4 picture element interpolation; Wherein, i, j are 0 or natural number.
Preferably, the following formula of embedding algorithm use of the interframe bi-predictive mode of the B frame among the S106 is made amendment to the described first residual error coefficient matrix:
Res′(i,j)=Res(i,j)-(α 1*W p1(i,j)+α 2*W p2(i,j))/2+β*W res(i,j)
Wherein, W P1(i, j), W P2(i, j) be respectively video embedded location forward direction with the back to the piece coefficient matrix carry out the resulting coefficient matrix of 1/4 picture element interpolation, α 1, α 2 is respectively the embedding rate when being the corresponding blocks embed watermark image of video embedded location; Wherein, i, j are 0 or natural number.
The present invention also provides a kind of video digital watermark flush mounting towards the AVS video format, and it comprises:
Read module reads watermarking images;
The gray scale processing module, it is connected with described read module, handles in order to described watermarking images is carried out gray scale, obtains the gray level image of described watermarking images;
The adjustment processing module, it is connected with described gray scale processing module, in order to adjust the pixel value of described gray level image;
The extension process module, it is connected with described adjustment processing module, in order to expand adjusted gray level image;
Watermark template generation module, it is connected with described extension process module, to predictive mode the watermarking images that described image processing module obtains is generated the watermark prediction module, and obtains the piece coefficient matrix of described watermark prediction module;
The watermark merge module; It is connected with described watermark template generation module; The first residual error coefficient matrix of the macro block of the watermark embedded location of extraction original video; Piece coefficient matrix according to described watermark prediction module is made amendment to the described first residual error coefficient matrix, obtains the second residual error coefficient matrix of the macro block of described watermark embedded location; And
Video rewrites module; It is connected with described watermark merge module; With the coefficient matrix of the described second residual error coefficient matrix as the macro block of the watermark embedded location of described original video; And when predictive mode changes, adjust the macroblock encoding mode of described watermark embedded location, the macro block of embed watermark does not then directly rewrite code stream.
Wherein, described predictive mode comprises intra prediction mode and inter-frame forecast mode, and wherein said inter-frame forecast mode comprises interframe single directional prediction pattern and interframe bi-predictive mode.
During enforcement, only need carry out the part recompile to the macro block and the relevant macro block thereof of watermark embedded location, the macro block of embed watermark then not need not to operate, and directly rewrites code stream and gets final product.Wherein the macro block of watermark embedded location is given video watermark size and the determined macro block of embedded location, and relevant macro block is reference block corresponding macro block when belonging to the embed watermark piece.To coded macroblocks, only need to revise residual error coefficient and predictive mode, can reach the purpose of recompile, need not to carry out fully the recodification process.
The present invention's advantage compared with prior art is: the present invention has the embedding effect identical with original embedding algorithm; But because the present invention need not recompile; Only need carry out partial decoding of h and handle the embedding that can realize watermarking images video; Thereby it is improved the speed that embeds greatly, and also less to the infringement of original video; The present invention can realize the real-time embedding for the AVS video, thereby has realized for real-time video the embedding of the visual video digital watermark in live.
Description of drawings
Fig. 1 is the flow chart of the video digital watermark embedding grammar towards the AVS video format of the present invention;
Fig. 2 is an embodiment of the video digital watermark embedding grammar towards the AVS video format of the present invention;
Fig. 3 is the structure chart of the video digital watermark flush mounting towards the AVS video format of the present invention;
Fig. 4 A is the watermarking images of an example of the present invention;
Fig. 4 B is the video image before the watermarking images of an example of the present invention embeds;
Fig. 4 C is the video image after the watermarking images of an example of the present invention embeds.
Embodiment
For making the feature and advantage of the present invention can be more obviously understandable, the present invention be done further detailed explanation below in conjunction with accompanying drawing and specific embodiment.
See also Fig. 1, the video digital watermark embedding grammar towards the AVS video format that the present invention proposes is used to make up AVS video watermark server, and it may further comprise the steps:
S101: read watermarking images;
S102: described watermarking images is carried out gray scale handle, obtain the gray level image of described watermarking images;
S103: the pixel value of adjusting described gray level image; Its adjustment process is: the maximum of pixel value is set to fiducial value in the described gray level image; The rest of pixels value is reversed; Make that the maximum of described former gray level image is 0, its residual value is the poor of fiducial value and its corresponding pixel value; And
S104: expand adjusted gray level image, its expansion process is: the lower limb of described adjusted gray level image and the numerical value of right hand edge area extension 4 row and 4 row are 0 zone;
S105: to predictive mode the watermarking images that S104 obtains is generated the watermark prediction module, and obtain the piece coefficient matrix of described watermark prediction module;
S106: the first residual error coefficient matrix of the macro block of the watermark embedded location of extraction original video; Piece coefficient matrix according to described watermark prediction module is made amendment to the described first residual error coefficient matrix, obtains the second residual error coefficient matrix of the macro block of described watermark embedded location; And
S107: with the coefficient matrix of the described second residual error coefficient matrix as the macro block of the watermark embedded location of described original video; And when predictive mode changes, adjust the macroblock encoding mode of described watermark embedded location, the macro block of embed watermark does not then directly rewrite code stream; Wherein, if in the adjusted coding module, variation has taken place in residual error coefficient; Need use coded format to readjust coded system according to the residual sum macro block information, mainly refer to if residual error non-zero and former predictive mode are skip mode; Need be revised as Direct Model; Otherwise,, then need Direct Model be revised as skip mode if residual error has become 0.
Embodiment to intra prediction mode of the video digital watermark embedding grammar towards the AVS video format of the present invention may further comprise the steps:
To intra prediction mode be with the formula that watermarking images generates the watermark prediction module:
Wres′(i,j)=W(i,j)-Wpre(i,j)
Wherein, W Res' (i j) is the piece coefficient matrix of the infra-frame prediction template of generation, and (i is j) for expanding the piece coefficient matrix of adjusted watermarking images, W for W Pre(i, the piece coefficient of the watermarking images that j) obtains for S104 carries out the piece coefficient matrix after the intra prediction mode;
The first residual error coefficient matrix of the embedded location of original video is made amendment according to the piece coefficient matrix of described watermark prediction module, obtain the second residual error coefficient matrix, formula is following:
Res′(i,j)=Res(i,j)+β nWres′(i,j)
Wherein, (i j) is the second residual error coefficient matrix to Res ', and (i j) is the first residual error coefficient matrix, β to Res nBe watermark embed strength, its span is: 0~1, and W Res' (i j) is the piece coefficient matrix of the infra-frame prediction template of generation;
Wherein, β nBe watermark embed strength, its span is: 0~1, can confirm to need to prove the size of its value that it is big more to embed brightness, then β according to user's needs nBe worth big more, otherwise it is more little to embed brightness, then β nBe worth more little; And
Through the macro block coefficient matrix of described first residual error coefficient matrix and second residual error coefficient matrix adjustment original video, and adjust described macroblock encoding mode, obtain the video of the embed watermark image under the intra prediction mode.
Embodiment to inter-frame forecast mode of the video digital watermark embedding grammar towards the AVS video format of the present invention may further comprise the steps:
Piece coefficient matrix to the prediction module of inter-frame forecast mode carries out resulting coefficient matrix of 1/4 picture element interpolation for the watermarking images that S104 is obtained, and described coefficient matrix is designated as W Res(i, j);
The first residual error coefficient matrix of the embedded location of original video is made amendment according to the piece coefficient matrix of described watermark prediction module, obtain the second residual error coefficient matrix, formula is following:
Res′(i,j)=Res(i,j)-α*W p(i,j)+β*W res(i,j)
Wherein, Res ' (i j) is the second residual error coefficient matrix, Res (i j) is the first residual error coefficient matrix,
Figure BDA0000049093420000071
Figure BDA0000049093420000072
Be embedding rate, β nBe watermark embed strength, α nNumerical value according to the β of video embedded location nValue is confirmed; W p(i, j) for the piece coefficient matrix of video embedded location carries out the resulting coefficient matrix of 1/4 picture element interpolation, W Res(i j) carries out the resulting coefficient matrix of 1/4 picture element interpolation for watermarking images;
Wherein, β nBe watermark embed strength, its span is: 0~1, can confirm to need to prove the size of its value that it is big more to embed brightness, then β according to user's needs nBe worth big more, otherwise it is more little to embed brightness, then β nBe worth more little; And
Through the macro block coefficient matrix of described first residual error coefficient matrix and second residual error coefficient matrix adjustment original video, and adjust described macroblock encoding mode, obtain the video of the embed watermark image under the interframe single directional prediction pattern.
Another embodiment to inter-frame forecast mode of video digital watermark embedding grammar towards the AVS video format of the present invention may further comprise the steps:
Piece coefficient matrix to the prediction module of inter-frame forecast mode carries out resulting coefficient matrix of 1/4 picture element interpolation for the watermarking images that S104 is obtained, and described coefficient matrix is designated as W Res(i, j);
The first residual error coefficient matrix of the embedded location of original video is made amendment according to the piece coefficient matrix of described watermark prediction module, obtain the second residual error coefficient matrix, formula is following:
Res′(i,j)=Res(i,j)-(α 1*W p1(i,j)+α 2*W p2(i,j))/2+β*W res(i,j)
Wherein, W P1(i, j), W P2(i, j) be respectively video embedded location forward direction with the back to the piece coefficient matrix carry out the resulting coefficient matrix of 1/4 picture element interpolation, α 1, α 2 is respectively the embedding rate when being the corresponding blocks embed watermark image of video embedded location.Wherein, Res ' (i j) is the second residual error coefficient matrix, Res (i j) is the first residual error coefficient matrix,
Figure BDA0000049093420000074
Be the embedding rate, β is a watermark embed strength, α nNumerical value confirm according to the β value of video embedded location; W Res(i j) carries out the resulting coefficient matrix of 1/4 picture element interpolation for watermarking images;
Wherein, β nBe watermark embed strength, its span is: 0~1, can confirm to need to prove the size of its value that it is big more to embed brightness, then β according to user's needs nBe worth big more, otherwise it is more little to embed brightness, then β nBe worth more little; And
Through the macro block coefficient matrix of described first residual error coefficient matrix and second residual error coefficient matrix adjustment original video, and adjust described macroblock encoding mode, obtain the video of the embed watermark image under the interframe bi-predictive mode.
See also Fig. 2, another specific embodiment of the embedding grammar of a kind of video digital watermark towards the AVS video format of the present invention at first, is imported the watermark video stream of required embedding, and decoding obtains coefficients such as predicted vector, predictive mode, residual error; Wherein, if not watermark embedded block and related blocks thereof, then directly code stream is rewritten; If the watermark embedded block need quantize and dct transform residual error,, produce corresponding watermark coefficient to different prediction modes.
Then, the residual error coefficient summation that watermark coefficient of trying to achieve and decoding are obtained obtains the residual error coefficient behind the embed watermark, carries out dct transform, quantizes and last coding.
At last, the coefficient that decoding is obtained and the coefficient of modification are encoded, and obtain the video behind the embed watermark.
The embedding grammar of a kind of video digital watermark towards the AVS video format of the present invention; The video format that its embedding thought based on coefficient modifying and compensation can be used a lot of extended formattings carries out in the video; The method of mentioning in the specification is to propose quick embedding video viewable numbers watermark that can be correct in the video of AVS form to the AVS video format merely.
See also Fig. 3, the present invention also provides a kind of video digital watermark flush mounting towards the AVS video format, and it comprises:
Read module 1 is in order to read watermarking images;
Gray scale processing module 2, it is connected with described read module 1, handles in order to described watermarking images is carried out gray scale, obtains the gray level image of described watermarking images;
Adjustment processing module 3, it is connected with described gray scale processing module 2, in order to adjust the pixel value of described gray level image;
Extension process module 4 is connected with described adjustment processing module 3, in order to expand adjusted gray level image;
Watermark template generation module 5, it is connected with described extension process module 4, to predictive mode the watermarking images that described image processing module obtains is generated the watermark prediction module, and obtains the piece coefficient matrix of described watermark prediction module;
Watermark merge module 6; It is connected with described watermark template generation module 5; The first residual error coefficient matrix of the macro block of the watermark embedded location of extraction original video; Piece coefficient matrix according to described watermark prediction module is made amendment to the described first residual error coefficient matrix, obtains the second residual error coefficient matrix of the macro block of described watermark embedded location; And
Video rewrites module 7; It is connected with described watermark merge module 6; With the coefficient matrix of the described second residual error coefficient matrix as the macro block of the watermark embedded location of described original video; And when predictive mode changes, adjust the macroblock encoding mode of described watermark embedded location, the macro block of embed watermark does not then directly rewrite code stream.
Wherein, described predictive mode comprises intra prediction mode and inter-frame forecast mode, and wherein said inter-frame forecast mode comprises interframe single directional prediction pattern and interframe bi-predictive mode.
During enforcement, only need carry out the part recompile to the macro block and the relevant macro block thereof of watermark embedded location, the macro block of embed watermark then not need not to operate, and directly rewrites code stream and gets final product.Wherein the macro block of watermark embedded location is given video watermark size and the determined macro block of embedded location, and relevant macro block is reference block corresponding macro block when belonging to the embed watermark piece.To coded macroblocks, only need to revise residual error coefficient and predictive mode, can reach the purpose of recompile, need not to carry out fully the recodification process.
See also Fig. 4 A, Fig. 4 B and Fig. 4 C, be respectively the watermarking images of the present invention's one example, video image before the embed watermark image and the video image behind the embed watermark image.
Obviously, above embodiment is only in order to explaining technical scheme of the present invention, but not limits it; Those of ordinary skill in the art can make amendment to technical scheme of the present invention, perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging embodiments of the invention technical scheme of relevant art scheme.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also comprises these changes and modification interior.

Claims (8)

1. the video digital watermark embedding grammar towards the AVS video format is characterized in that, may further comprise the steps:
S101: read watermarking images;
S102: described watermarking images is carried out gray scale handle, obtain the gray level image of described watermarking images;
S103: the pixel value of adjusting described gray level image; And
S104: expand adjusted gray level image;
S105: to predictive mode the watermarking images that S104 obtains is generated the watermark prediction module, and obtain the piece coefficient matrix of described watermark prediction module;
S106: the first residual error coefficient matrix of the macro block of the watermark embedded location of extraction original video; Piece coefficient matrix according to described watermark prediction module is made amendment to the described first residual error coefficient matrix, obtains the second residual error coefficient matrix of the macro block of described watermark embedded location; And
S107: with the coefficient matrix of the described second residual error coefficient matrix as the macro block of the watermark embedded location of described original video; And when predictive mode changes, adjust the macroblock encoding mode of described watermark embedded location, the macro block of embed watermark does not then directly rewrite code stream.
2. the video digital watermark embedding grammar towards the AVS video format according to claim 1 is characterized in that, if adopt intra prediction mode among the S105, the formula that then watermarking images is generated the watermark prediction module is:
Wres′(i,j)=W(i,j)-Wpre(i,j)
Wherein, W Res' (i j) is the piece coefficient matrix of the infra-frame prediction template of generation, and (i is j) for expanding the piece coefficient matrix of adjusted watermarking images, W for W Pre(i, the piece coefficient of the watermarking images that j) obtains for S104 carries out the piece coefficient matrix after the intra prediction mode.
3. the video digital watermark embedding grammar towards the AVS video format according to claim 1; It is characterized in that, produce if the watermarking images that adopts the piece coefficient matrix of the inter prediction template of inter-frame forecast mode to be obtained by S104 among the S105 carries out 1/4 pixel value difference.
4. the video digital watermark embedding grammar towards the AVS video format according to claim 2 is characterized in that, the following formula of embedding algorithm use of the intra prediction mode among the S106 is made amendment to the described first residual error coefficient matrix:
Res′(i,j)=Res(i,j)+β nWres′(i,j)
Wherein, (i j) is the second residual error coefficient matrix to Res ', and (i j) is the first residual error coefficient matrix, β to Res nBe watermark embed strength, β nSpan be: 0~1, W Res' (i j) is the piece coefficient matrix of the infra-frame prediction template of generation.
5. the video digital watermark embedding grammar towards the AVS video format according to claim 3; It is characterized in that the following formula of embedding algorithm use of the interframe single directional prediction pattern of P frame among the S106 and B frame is made amendment to the described first residual error coefficient matrix:
Res′(i,j)=Res(i,j)-α*W p(i,j)+β*W res(i,j)
Wherein, Res ' (i j) is the second residual error coefficient matrix, Res (i j) is the first residual error coefficient matrix,
Figure FDA0000049093410000022
Be embedding rate, β nBe watermark embed strength, α nNumerical value according to the β of video embedded location nValue is confirmed; W p(i, j) for the piece coefficient matrix of video embedded location carries out the resulting coefficient matrix of 1/4 picture element interpolation, W Res(i, the watermarking images that j) obtains for S104 carries out the resulting coefficient matrix of 1/4 picture element interpolation.
6. the video digital watermark embedding grammar towards the AVS video format according to claim 3 is characterized in that, the following formula of embedding algorithm use of the interframe bi-predictive mode of the B frame among the S106 is made amendment to the described first residual error coefficient matrix:
Res′(i,j)=Res(i,j)-(α 1*W p1(i,j)+α 2*W p2(i,j))/2+β*W res(i,j)
Wherein, W P1(i, j), W P2(i, j) be respectively video embedded location forward direction with the back to the piece coefficient matrix carry out the resulting coefficient matrix of 1/4 picture element interpolation, α 1, α 2 is respectively the embedding rate when being the corresponding blocks embed watermark image of video embedded location.
7. the video digital watermark flush mounting towards the AVS video format is characterized in that, comprising:
Read module reads watermarking images;
The gray scale processing module, it is connected with described read module, and described gray scale processing module is carried out the gray scale processing to described watermarking images, obtains the gray level image of described watermarking images;
The adjustment processing module, it is connected with described gray scale processing module, and described adjustment processing module is in order to adjust the pixel value of described gray level image;
The extension process module, it is connected with described adjustment processing module, and described extension process module is in order to expand adjusted gray level image;
Watermark template generation module; It is connected with described extension process module; Described watermark template generation module generates the watermark prediction module to predictive mode with the watermarking images that described image processing module obtains, and obtains the piece coefficient matrix of described watermark prediction module;
The watermark merge module; It is connected with described watermark template generation module; The first residual error coefficient matrix of the macro block of the watermark embedded location of described watermark merge module extraction original video; Piece coefficient matrix according to described watermark prediction module is made amendment to the described first residual error coefficient matrix, obtains the second residual error coefficient matrix of the macro block of described watermark embedded location; And
Video rewrites module; It is connected with described watermark merge module; Described video rewrites module with the coefficient matrix of the described second residual error coefficient matrix as the macro block of the watermark embedded location of described original video; And when predictive mode changes, adjust the macroblock encoding mode of described watermark embedded location, the macro block of embed watermark does not then directly rewrite code stream.
8. the video digital watermark flush mounting towards the AVS video format according to claim 7 is characterized in that described predictive mode comprises intra prediction mode and inter-frame forecast mode; Wherein, described inter-frame forecast mode comprises interframe single directional prediction pattern and interframe bi-predictive mode.
CN2011100537677A 2011-03-07 2011-03-07 Video digital watermark embedding method and video digital water embedding device directing at AVS (audio video standard) video format Pending CN102685470A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100537677A CN102685470A (en) 2011-03-07 2011-03-07 Video digital watermark embedding method and video digital water embedding device directing at AVS (audio video standard) video format

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100537677A CN102685470A (en) 2011-03-07 2011-03-07 Video digital watermark embedding method and video digital water embedding device directing at AVS (audio video standard) video format

Publications (1)

Publication Number Publication Date
CN102685470A true CN102685470A (en) 2012-09-19

Family

ID=46816764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100537677A Pending CN102685470A (en) 2011-03-07 2011-03-07 Video digital watermark embedding method and video digital water embedding device directing at AVS (audio video standard) video format

Country Status (1)

Country Link
CN (1) CN102685470A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533430A (en) * 2013-10-15 2014-01-22 深圳国微技术有限公司 Video watermark embedding method and condition receiving module
CN106454368A (en) * 2016-10-21 2017-02-22 浙江宇视科技有限公司 Method for superposing watermark in video image and device thereof
CN108769828A (en) * 2018-05-23 2018-11-06 深圳市网心科技有限公司 Picture watermark adding method, electronic device and computer readable storage medium
CN112422964A (en) * 2020-10-30 2021-02-26 西安万像电子科技有限公司 Progressive coding method and device
CN114598939A (en) * 2022-04-25 2022-06-07 镁佳(北京)科技有限公司 Video watermark adding method and device and electronic equipment
CN112422964B (en) * 2020-10-30 2024-05-17 西安万像电子科技有限公司 Progressive coding method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1248467A2 (en) * 2001-02-13 2002-10-09 Pioneer Corporation Digital watermark embedding method, digital watermark embedding apparatus and recording medium having a digital watermark
CN101056392A (en) * 2007-05-14 2007-10-17 华为技术有限公司 A digital water mark embedding method and its device
CN101540898B (en) * 2009-04-24 2011-02-09 西安电子科技大学 AVS video digital watermark method based on nonnegative matrix decomposition

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1248467A2 (en) * 2001-02-13 2002-10-09 Pioneer Corporation Digital watermark embedding method, digital watermark embedding apparatus and recording medium having a digital watermark
CN101056392A (en) * 2007-05-14 2007-10-17 华为技术有限公司 A digital water mark embedding method and its device
CN101540898B (en) * 2009-04-24 2011-02-09 西安电子科技大学 AVS video digital watermark method based on nonnegative matrix decomposition

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高浩渊 等: "面向AVS视频的可视视频水印快速嵌入算法", 《第六届和谐人机环境联合学术会议(HHME2010)、第19届全国多媒体学术会议(NCMT2010)、第6届全国人机交互学术会议(CHCI2010)、第5届全国普适计算学术会议(PCC2010)论文集》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533430A (en) * 2013-10-15 2014-01-22 深圳国微技术有限公司 Video watermark embedding method and condition receiving module
CN106454368A (en) * 2016-10-21 2017-02-22 浙江宇视科技有限公司 Method for superposing watermark in video image and device thereof
CN106454368B (en) * 2016-10-21 2020-02-18 浙江宇视科技有限公司 Method and device for superposing watermarks in video image
CN108769828A (en) * 2018-05-23 2018-11-06 深圳市网心科技有限公司 Picture watermark adding method, electronic device and computer readable storage medium
CN112422964A (en) * 2020-10-30 2021-02-26 西安万像电子科技有限公司 Progressive coding method and device
CN112422964B (en) * 2020-10-30 2024-05-17 西安万像电子科技有限公司 Progressive coding method and device
CN114598939A (en) * 2022-04-25 2022-06-07 镁佳(北京)科技有限公司 Video watermark adding method and device and electronic equipment
CN114598939B (en) * 2022-04-25 2023-07-14 镁佳(北京)科技有限公司 Video watermark adding method and device and electronic equipment

Similar Documents

Publication Publication Date Title
Fang et al. Data hiding for digital video with phase of motion vector
Biswas et al. An adaptive compressed MPEG-2 video watermarking scheme
CN101098473B (en) Picture coding method and apparatus
US20060227873A1 (en) Digital watermarking of a media stream using coded macroblock types
Wu et al. A flexible H. 264/AVC compressed video watermarking scheme using particle swarm optimization based dither modulation
JP2010166133A (en) Moving picture coding apparatus
WO2009073421A3 (en) System and methods for improved video decoding
CN101442657B (en) Design method for stream medium distributed digital watermarking architecture
US9607349B2 (en) Method and device for determining a set of modifiable elements in a group of pictures
JP5394212B2 (en) How to insert data, how to read the inserted data
CN101432774B (en) Digital watermarking method
CN102685470A (en) Video digital watermark embedding method and video digital water embedding device directing at AVS (audio video standard) video format
WO2022228104A1 (en) Video transcoding method and apparatus, and electronic device and storage medium
JP4023324B2 (en) Watermark embedding and image compression unit
US8848791B2 (en) Compressed domain video watermarking
EP1879390A2 (en) Combined video de-synchronization and compression method applicable to collusion-resilient fingerprint, and corresponding encoding device and encoded video stream
Golikeri et al. Robust digital video watermarking scheme for H. 264 advanced video coding standard
US7627135B2 (en) Digital watermarking system and drift compensating system
Pei et al. A video watermarking scheme based on motion vectors and mode selection
Mohaghegh et al. H. 264 copyright protection with motion vector watermarking
Liu et al. A HEVC steganography method based on QDCT coefficient
JP2009543486A5 (en)
Favorskaya Watermarking models of video sequences
JP2001522165A (en) Watermarking of digital image data
Kirthika et al. Different video watermarking techniques and relative study with reference to H. 264/AVC

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120919