[go: up one dir, main page]

CN102905127A - A video watermark implementation method - Google Patents

A video watermark implementation method Download PDF

Info

Publication number
CN102905127A
CN102905127A CN2012102809878A CN201210280987A CN102905127A CN 102905127 A CN102905127 A CN 102905127A CN 2012102809878 A CN2012102809878 A CN 2012102809878A CN 201210280987 A CN201210280987 A CN 201210280987A CN 102905127 A CN102905127 A CN 102905127A
Authority
CN
China
Prior art keywords
video
watermark
frame
value
embedded
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
CN2012102809878A
Other languages
Chinese (zh)
Other versions
CN102905127B (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.)
Shandong Normal University
Original Assignee
Shandong Normal University
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 Shandong Normal University filed Critical Shandong Normal University
Priority to CN201210280987.8A priority Critical patent/CN102905127B/en
Publication of CN102905127A publication Critical patent/CN102905127A/en
Application granted granted Critical
Publication of CN102905127B publication Critical patent/CN102905127B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The invention discloses a video watermark implementation method by which a video watermark is invisible during playing of a video and is invisible during pausing of the video. Watermark values which are of the same bit and have opposite signs are embedded into the same airspace positions of two adjacent frames of images in video with the frame rate being more than 60Hz according to an eye vision persistance characteristic and the characteristic that the similarity of two adjacent frames of images in video is high, thereby realizing the effects that the watermark is clear during pausing of the video, the watermark is invisible during playing of the video, and the subjective quality of the video is not influenced. By the method, the watermark is still effective and clear after compression according to an H.264/advanced video coding (AVC) compression encoding standard. An extraction algorithm and extraction equipment are not needed; and the video watermark implementation method has the advantages of low overhead, simplicity in use and effectiveness.

Description

一种视频水印实现方法A video watermark implementation method

技术领域 technical field

本发明涉及视频信息处理领域,主要涉及视频静止时的可见视频水印的实现方法。The invention relates to the field of video information processing, and mainly relates to a method for realizing a visible video watermark when the video is still.

背景技术 Background technique

视频水印是加载在数字视频上的水印,是一种有效的数字产品版权保护和数据安全维护技术。视频水印可以分为可感知的和不易感知的两种。可感知的数字水印一般为较淡的或半透明的不碍观瞻的图案,主要用于当场声明对产品的所有权、著作权及来源,起到一个宣传广告或约束的作用。不易感知的数字水印就像隐形墨水技术中的看不见的文字,隐藏在数字产品中。目前在视频水印研究方面,大部分研究的是不易感知水印,而将可感知水印与不易感知水印相结合的相关研究尚未出现。Video watermarking is a watermark loaded on digital video, and it is an effective digital product copyright protection and data security maintenance technology. Video watermarking can be divided into perceptible and imperceptible. Perceivable digital watermarks are generally light or translucent unsightly patterns, which are mainly used to declare the ownership, copyright and source of the product on the spot, and play a role in advertising or restraint. The imperceptible digital watermark is like invisible text in invisible ink technology, hidden in digital products. At present, in the aspect of video watermarking research, most of the researches are non-perceived watermarks, and the related researches combining perceptible watermarks and non-perceived watermarks have not yet appeared.

发明内容 Contents of the invention

本发明为解决上述技术问题,提供了一种视频播放时不可见、视频静止时可见的视频水印实现方法,该方法具有简单、有效的优点。In order to solve the above technical problems, the present invention provides a video watermark implementation method that is invisible when the video is played and visible when the video is still. The method has the advantages of simplicity and effectiveness.

为了实现上述目的,本发明采用如下技术方案。In order to achieve the above object, the present invention adopts the following technical solutions.

在相邻两帧相同空域位置嵌入符号相反的同一位水印值,同时对视频的适用要求为帧率达到60Hz及以上。该方法将视频帧分为奇数帧和偶数帧,将二值水印按照一定的比例与奇数帧像素值相加(或相减),与偶数帧像素值相减(或相加),使相邻两帧相同位置像素平均值与原视频图像像素值相等,达到奇偶帧水印嵌入处的图像像素值互补的效果。Embed the same watermark value with the opposite sign in the same spatial position of two adjacent frames, and the applicable requirement for video is that the frame rate reaches 60Hz and above. This method divides the video frame into odd frames and even frames, adds (or subtracts) the binary watermark to the pixel values of the odd frames and subtracts (or adds) the pixel values of the even frames according to a certain ratio, so that adjacent The average value of the pixels at the same position in the two frames is equal to the pixel value of the original video image, achieving the complementary effect of the image pixel values at the watermark embedding place of the odd and even frames.

该发明包括三种基本方案:第一种方案是将水印嵌入到视频的亮度(Y)分量中;第二、三方案是将水印分别嵌入到视频的两个色度(U、V)分量中。同时可根据此三种基本方案组合衍生出其它方案。The invention includes three basic schemes: the first scheme is to embed the watermark into the luminance (Y) component of the video; the second and third schemes are to embed the watermark into the two chrominance (U, V) components of the video respectively . At the same time, other schemes can be derived from the combination of these three basic schemes.

本发明将水印直接嵌入到图像空域像素中,水印嵌入方法:水印嵌入前,根据载体图像待嵌入位置像素值调整水印值b,根据视频帧的奇偶性,确定水印值b的正负值,如公式2;水印值确定后,水印的嵌入方法如公式1,当水印信息位是0时,载体图像像素值与调整后的水印值b相减;当水印信息位是1时,载体图像像素值与调整后的水印值b相加。The present invention embeds the watermark directly into the pixels in the image space. The watermark embedding method: before the watermark is embedded, the watermark value b is adjusted according to the pixel value of the carrier image to be embedded, and the positive and negative values of the watermark value b are determined according to the parity of the video frame, such as Formula 2: After the watermark value is determined, the embedding method of the watermark is as in formula 1. When the watermark information bit is 0, the pixel value of the carrier image is subtracted from the adjusted watermark value b; when the watermark information bit is 1, the pixel value of the carrier image is Added to the adjusted watermark value b.

X ‾ = X ( i , j ) - b , W = 0 X ( i , j ) + b , W = 1 公式1 x ‾ = x ( i , j ) - b , W = 0 x ( i , j ) + b , W = 1 Formula 1

Figure BDA00001990043800022
公式2
Figure BDA00001990043800022
Formula 2

其中,X(i,j)为视频图像的像素值,

Figure BDA00001990043800023
为水印嵌入后的像素值,W表示水印信息位。参数b表示要嵌入的水印值,符号根据要嵌入的视频帧的奇偶性进行调节,大小由像素值决定。α为权值因子,其值根据所选方案和视频自行设定。round()函数表示输出该函数输入值(α*X(i,j))四舍五入后的整数值。视频帧为奇数帧时,b值为正整数+round();视频帧为偶数帧时,b值为负整数-round()。Among them, X (i, j) is the pixel value of the video image,
Figure BDA00001990043800023
is the pixel value after watermark embedding, and W represents the watermark information bit. The parameter b represents the watermark value to be embedded, the symbol is adjusted according to the parity of the video frame to be embedded, and the size is determined by the pixel value. α is a weight factor, and its value is set according to the selected scheme and video. The round() function indicates to output the rounded integer value of the function input value (α*X(i, j)). When the video frame is an odd frame, the value of b is a positive integer + round(); when the video frame is an even frame, the value of b is a negative integer - round().

方案一:将水印嵌入到视频帧Y分量中。人眼对亮度分量敏感,且压缩编码过程中量化步长较小,嵌入Y分量的水印值不易过大,权值因子α值小于1/8。Solution 1: Embed the watermark into the Y component of the video frame. The human eye is sensitive to the luminance component, and the quantization step size in the compression coding process is small, the watermark value embedded in the Y component is not easy to be too large, and the weight factor α value is less than 1/8.

方案二:将水印嵌入到视频帧的U分量中。人眼对色度分量不够敏感,压缩编码中量化步长较大,嵌入U分量的水印值不应过小,权值因子α小于1/6即能满足要求。Scheme 2: Embed the watermark into the U component of the video frame. The human eye is not sensitive enough to the chrominance component, the quantization step size in compression coding is large, the watermark value embedded in the U component should not be too small, and the weight factor α is less than 1/6 to meet the requirements.

方案三:将水印嵌入到视频帧的V分量中。方案三与方案二类似,权值因子α的选取可参照方案二。但实验表明,V分量的改变较U分量更易被察觉,因此水印更适合嵌入在V分量像素值较小的区域或视频帧中。Scheme 3: Embedding the watermark into the V component of the video frame. The third scheme is similar to the second scheme, and the selection of the weight factor α can refer to the second scheme. But the experiment shows that the change of V component is more noticeable than that of U component, so the watermark is more suitable to be embedded in the area or video frame with smaller pixel value of V component.

具体方法步骤:Specific method steps:

1)读取二值水印图像;1) Read the binary watermark image;

2)选择欲将水印嵌入到视频帧的分量,逐一获取视频文件的视频帧,判断视频帧的奇偶性;根据水印图像大小确定待嵌入区域;2) Select the component to embed the watermark into the video frame, obtain the video frames of the video file one by one, and judge the parity of the video frame; determine the area to be embedded according to the size of the watermark image;

3)根据视频帧奇偶性调整水印值符号,使相邻两帧相同位置嵌入的同一位水印值的符号相反,将调整后的水印值嵌入视频帧分量的像素中;3) Adjust the sign of the watermark value according to the parity of the video frame, so that the sign of the same watermark value embedded in the same position of two adjacent frames is opposite, and embed the adjusted watermark value into the pixel of the video frame component;

4)将下一个视频帧作为当前视频帧,重复执行步骤3直至视频文件的所有视频帧处理完毕。4) Take the next video frame as the current video frame, and repeat step 3 until all video frames of the video file are processed.

所述步骤2)中,选择欲将水印嵌入到视频帧的分量,所述分量的选择可以是以下方案的一种或几种的组合:In the step 2), select the component to embed the watermark into the video frame, and the selection of the component can be one or a combination of the following schemes:

a.将水印嵌入到视频帧的Y分量中,权值因子α小于1/8;a. Embed the watermark into the Y component of the video frame, and the weight factor α is less than 1/8;

b.将水印嵌入到视频帧的U分量中,权值因子α小于1/6;b. Embed the watermark into the U component of the video frame, and the weight factor α is less than 1/6;

c.将水印嵌入到视频帧的V分量中,权值因子α小于1/6。c. Embed the watermark into the V component of the video frame, and the weight factor α is less than 1/6.

本发明利用人眼视觉暂留特性以及视频中相邻两帧图像相似度高的特点,将水印直接嵌入到视频图像的空域中,达到在视频静止时水印清晰可见,在视频播放时水印不可见且不影响视频的主观质量的效果。同时,本发明通过调节权值因子α值能够在经H.264/AVC压缩编码标准的压缩后水印依然有效、可见。The present invention utilizes the persistence of human vision and the high similarity between two adjacent frames of video to embed the watermark directly into the airspace of the video image, so that the watermark is clearly visible when the video is still and invisible when the video is playing. And does not affect the effect of the subjective quality of the video. At the same time, the present invention can still be effective and visible after being compressed by the H.264/AVC compression coding standard by adjusting the value of the weight factor α.

本发明的有益效果:本发明提出了针对视频水印的一种全新思路和技术平台,具有嵌入方法简单、有效、实时性高的优点,同时本发明兼具可见性水印和不可见水印的特性和优点:水印在视频播放时不可见;静止时无需其他操作和设备,水印即可直观可见;水印具有鲁棒性和明确性,能够抵抗噪声和压缩处理且经攻击后仍清晰可见。因此,本发明无需水印提取算法和提取设备,额外开销小。另外,本发明作为一种全新的技术平台,具有良好的可扩展性,技术人员和开发人员可在本发明技术平台的基础上根据自身需求,进行改进和润饰。本发明可应用于:1.版权保护,证明视频的拥有性和所属性,在不损害原视频的情况下达到版权保护的目的;2.确定视频的真实性和完整性,本发明水印在奇偶帧中不同,视频一旦遭到抽帧(奇数帧),即可通过水印简单识别;3.广告,嵌入内容可以是作者的姓名、公司标志、有特殊意义的文本等,不同于现有形式的视频广告,本发明将广告嵌于视频本身当中,不需要额外的设备和开销,在不改动视频的情况下外界无法消除广告内容。Beneficial effects of the present invention: the present invention proposes a brand-new idea and technical platform for video watermarking, which has the advantages of simple, effective, and high real-time embedding methods, and at the same time, the present invention has the characteristics and Advantages: The watermark is invisible when the video is playing; the watermark can be seen intuitively without other operations and equipment when it is still; the watermark is robust and clear, can resist noise and compression processing, and is still clearly visible after being attacked. Therefore, the present invention does not need a watermark extraction algorithm and an extraction device, and the extra cost is small. In addition, the present invention, as a brand-new technical platform, has good scalability, and technicians and developers can improve and modify it according to their own needs on the basis of the technical platform of the present invention. The present invention can be applied to: 1. Copyright protection, to prove the ownership and property of the video, and achieve the purpose of copyright protection without damaging the original video; 2. To determine the authenticity and integrity of the video, the watermark of the present invention is in parity Different frames, once the video is drawn (odd frames), it can be easily identified by watermark; 3. Advertisement, the embedded content can be the author's name, company logo, text with special meaning, etc., which is different from the existing form For video advertisements, the present invention embeds advertisements in the video itself, without additional equipment and expenses, and the outside world cannot eliminate the advertisement content without changing the video.

附图说明 Description of drawings

图1视频静止时可见视频水印总体方案流程图。Figure 1 is a flow chart of the overall scheme of visible video watermarking when the video is still.

图2为嵌入水印后的第一帧图像。Figure 2 is the first frame image after embedding the watermark.

图3为嵌入水印后的第二帧图像。Figure 3 is the second frame image after embedding the watermark.

图4为经H.264/AVC压缩编码标准压缩后的第一帧图像。Fig. 4 is the first frame image compressed by the H.264/AVC compression coding standard.

图5为经H.264/AVC压缩编码标准压缩后的第二帧图像。FIG. 5 is the second frame image compressed by the H.264/AVC compression coding standard.

图6中(a)和(b)分别为嵌入水印后视频和经H.264/AVC压缩后视频的第一帧U分量图像。(a) and (b) in Figure 6 are the U component images of the first frame of the watermarked video and the H.264/AVC compressed video, respectively.

图7中(a)和(b)分别为嵌入水印后视频和经H.264/AVC压缩后视频的第二帧U分量图像。(a) and (b) in Figure 7 are the U component images of the second frame of the watermarked video and the H.264/AVC compressed video, respectively.

具体实施方式 Detailed ways

下面结合附图与实施例对本发明作进一步说明。The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

实例选取方案二,即向视频色度U分量中嵌入水印。水印的具体实施方式如下:The example selects the second scheme, that is, embeds the watermark in the chrominance U component of the video. The specific implementation of the watermark is as follows:

读取二值水印图像,确定图像高度与宽度。Read the binary watermarked image and determine the image height and width.

从三种方案中选取方案二,即向视频色度U分量中嵌入水印。逐一获取每个视频帧的U分量,并判断视频帧的奇偶性。根据水印图像大小确定待嵌入区域。Select the second scheme from the three schemes, that is, embed the watermark in the chrominance U component of the video. Obtain the U component of each video frame one by one, and judge the parity of the video frame. Determine the area to be embedded according to the size of the watermark image.

判断当前视频帧的奇偶性,根据视频帧奇偶性和待嵌入区域每个像素值调整相对应的水印值,当前帧为奇数帧,水印为正(负)值;当前帧为偶数帧,水印为负(正)值,如公式2。根据公式1将调整后的水印值b嵌入U分量的像素中。在调整像素值时要注意,色度范围是16-240,因此,当像素值U(i,j)≥240-b时,U(i,j)=240;当像素值U(i,j)≤16-b时,U(i,j)=16。Determine the parity of the current video frame, and adjust the corresponding watermark value according to the parity of the video frame and the value of each pixel in the area to be embedded. The current frame is an odd frame, and the watermark is a positive (negative) value; the current frame is an even frame, and the watermark is Negative (positive) values, as in Equation 2. Embed the adjusted watermark value b into the pixels of the U component according to Equation 1. When adjusting the pixel value, it should be noted that the chromaticity range is 16-240, so when the pixel value U(i,j)≥240-b, U(i,j)=240; when the pixel value U(i,j) )≤16-b, U(i,j)=16.

将下一个视频帧作为当前视频帧,重复执行步骤3直至视频文件的所有视频帧处理完毕。Taking the next video frame as the current video frame, repeat step 3 until all video frames of the video file are processed.

为了评测本发明嵌入水印后的效果以及经压缩编码压缩后水印的效果,我们利用本实例中的方法进行试验。实验采用352×288的foreman序列,水印信息为标有“TK”两字母的大小为80×46的二值水印图像。图2和图3分别为嵌入水印后的第一帧和第二帧图像。图4和图5为视频经H.264/AVC压缩编码压缩后带有水印的第一帧和第二帧图像。我们利用峰值信噪比观察水印嵌入视频后视频的客观质量,对此,我们做了一些改进。由于本发明是利用人眼的视觉暂留特性在高帧率的视频中嵌入水印,因此我们利用相邻两帧像素差值的变化作为衡量视频主观质量的因子,对峰值信噪比中嵌入水印的像素值进行修改如下:In order to evaluate the effect of the present invention after embedding the watermark and the effect of the compressed watermark after compression coding, we use the method in this example to conduct experiments. The experiment uses a 352×288 foreman sequence, and the watermark information is a binary watermark image with a size of 80×46 marked with two letters of “TK”. Figure 2 and Figure 3 are the images of the first frame and the second frame after embedding the watermark respectively. Figure 4 and Figure 5 are the images of the first frame and the second frame with watermark after the video is compressed by H.264/AVC compression coding. We use the peak signal-to-noise ratio to observe the objective quality of the video after the watermark is embedded in the video, and we have made some improvements. Since the present invention uses the persistence of vision of the human eye to embed the watermark in the high frame rate video, we use the change of the pixel difference between two adjacent frames as a factor to measure the subjective quality of the video, and the watermark embedded in the peak signal-to-noise ratio The pixel values are modified as follows:

Xx ‾‾ ff (( ii ,, jj )) == Xx ff (( ii ,, jj )) ++ (( Xx ff (( ii ,, jj )) -- Xx ff ++ 11 (( ii ,, jj )) )) -- (( Xx ff ′′ (( ii ,, jj )) -- Xx ff ++ 11 ′′ (( ii ,, jj )) ))

其中Xf(i,j)表示原始视频第f帧(i,j)处的像素值,Xf+1(i,j)表示原始视频第(f+1)帧(i,j)处的像素值,X′f(i,j)表示嵌入水印后第f帧(i,j)处的像素值,X′f+1(i,j)表示嵌入水印后第(f+1)帧(i,j)处的像素值,

Figure BDA00001990043800051
表示经修改后带有水印的第f帧(i,j)处的像素值。在本实验中,使用352×288的foreman序列,帧数为300,因此f的可取值范围为[2,300-1],(i,j)范围为视频帧中所有的像素值,1≤i≤352,1≤j≤288。在峰值信噪比PSNR计算过程中,我们用
Figure BDA00001990043800052
替换原带有水印的视频帧。利用上述改进对foreman序列和经H.264/AVC压缩的视频序列前4帧分别进行峰值信噪比PSNR计算,结果如表1,Where X f (i, j) represents the pixel value at the fth frame (i, j) of the original video, and X f+1 (i, j) represents the pixel value at the (f+1) frame (i, j) of the original video Pixel value, X′ f (i, j) represents the pixel value at the fth frame (i, j) after embedding the watermark, X′ f+1 (i, j) represents the (f+1)th frame after embedding the watermark ( i, the pixel value at j),
Figure BDA00001990043800051
Indicates the modified pixel value at frame f (i, j) with watermark. In this experiment, a 352×288 foreman sequence is used, and the number of frames is 300, so the range of possible values of f is [2,300-1], and the range of (i, j) is all pixel values in the video frame, 1≤i ≤352, 1≤j≤288. In the peak signal-to-noise ratio PSNR calculation process, we use
Figure BDA00001990043800052
Replace the original video frame with watermark. Using the above improvements, the peak signal-to-noise ratio (PSNR) is calculated for the first 4 frames of the foreman sequence and the H.264/AVC compressed video sequence, and the results are shown in Table 1.

  未压缩视频PSNR Uncompressed video PSNR   压缩后视频PSNR Compressed video PSNR   第一帧 first frame   PSNR=+43.74dB PSNR=+43.74dB   PSNR=+44.80dB PSNR=+44.80dB   第二帧 second frame   PSNR=+43.75dB PSNR=+43.75dB   PSNR=+45.09dB PSNR=+45.09dB   第三帧 third frame   PSNR=+43.77dB PSNR=+43.77dB   PSNR=+45.25dB PSNR=+45.25dB   第四帧 The fourth frame   PSNR=+43.81dB PSNR=+43.81dB   PSNR=+45.36dB PSNR=+45.36dB

表1Table 1

实验结果表明,通过调节权值因子α,能够达到在视频静止时水印清晰可见与视频播放时水印不可见的良好平衡。同时,视频经H.264/AVC压缩编码压缩后,水印仍能清晰可见。Experimental results show that by adjusting the weight factor α, a good balance can be achieved between clearly visible watermark when the video is still and invisible when the video is playing. At the same time, after the video is compressed by H.264/AVC compression encoding, the watermark can still be clearly seen.

本发明利用人眼视觉暂留特性以及视频中相邻两帧图像相似度高的特点,对帧率达到60Hz及以上的视频,在相邻两帧相同空域位置嵌入符号相反的同一位水印值,达到在视频静止时水印清晰可见,在视频播放时水印不可见且不影响视频的主观质量的效果。本发明在经H.264/AVC压缩编码标准的压缩后水印依然有效、可见。The present invention utilizes the characteristics of human visual persistence and the high similarity between two adjacent frames of video to embed the same bit of watermark value with opposite symbols in the same spatial space position of two adjacent frames for video with a frame rate of 60 Hz or above. It achieves the effect that the watermark is clearly visible when the video is still, but invisible when the video is playing and does not affect the subjective quality of the video. In the present invention, the watermark is still valid and visible after being compressed by the H.264/AVC compression encoding standard.

以上所述仅是本发明的一种实施方式,本发明作为视频水印的一种全新思路和技术平台,其保护范围并不仅局限于上述实施例,凡属于本发明思路下的技术方案均属于本发明的保护范围。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理前提下的若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only one embodiment of the present invention. As a brand-new idea and technical platform of video watermarking, the present invention is not limited to the above-mentioned embodiments. All technical solutions under the idea of the present invention belong to this invention. protection scope of the invention. It should be pointed out that for those skilled in the art, some improvements and modifications without departing from the principles of the present invention should also be regarded as the protection scope of the present invention.

由上述材料可知,本发明具有如下优点和特性:本发明提出了针对视频水印的一种全新思路和技术平台,具有嵌入方法简单、有效、实时性高的优点,同时本发明兼具可见性水印和不可见水印的特性和优点:水印在视频播放时不可见;静止时无需其他操作和设备,水印即可直观可见;水印具有鲁棒性和明确性,能够抵抗噪声和压缩处理且经攻击后仍清晰可见。因此,本发明无需水印提取算法和提取设备,额外开销小。另外,本发明作为一种全新的技术平台,具有良好的可扩展性,技术人员和开发人员可在本发明技术平台的基础上根据自身需求,进行改进和润饰。基于上述优点和特性,本发明可应用于:1.版权保护,证明视频的拥有性和所属性,在不损害原视频的情况下达到版权保护的目的;2.确定视频的真实性和完整性,本发明水印在奇偶帧中不同,视频一旦遭到抽帧(奇数帧),即可通过水印简单识别;3.广告,嵌入内容可以是作者的姓名、公司标志、有特殊意义的文本等,不同于现有形式的视频广告,本发明将广告嵌于视频本身当中,不需要额外的设备和开销,在不改动视频的情况下外界无法消除广告内容。From the above materials, it can be seen that the present invention has the following advantages and characteristics: the present invention proposes a brand-new idea and technical platform for video watermarking, and has the advantages of simple, effective and real-time embedding methods, and at the same time, the present invention has both visible watermarking Features and advantages of invisible and invisible watermarks: watermarks are invisible during video playback; watermarks can be intuitively visible without other operations and equipment when still; watermarks are robust and clear, resistant to noise and compression processing, and can be attacked Still clearly visible. Therefore, the present invention does not need a watermark extraction algorithm and an extraction device, and the extra cost is small. In addition, the present invention, as a brand-new technical platform, has good scalability, and technicians and developers can improve and modify it according to their own needs on the basis of the technical platform of the present invention. Based on the above advantages and characteristics, the present invention can be applied to: 1. Copyright protection, to prove the ownership and property of the video, and achieve the purpose of copyright protection without damaging the original video; 2. Determine the authenticity and integrity of the video , the watermark of the present invention is different in odd and even frames. Once the video is framed (odd frame), it can be easily identified by the watermark; 3. The embedded content of the advertisement can be the author's name, company logo, text with special meaning, etc. Different from the existing video advertisements, the present invention embeds the advertisements in the video itself, which does not require additional equipment and expenses, and the outside world cannot eliminate the advertisement content without changing the video.

上述虽然结合附图对本发明的具体实施方式进行了描述,但并非对本发明保护范围的限制,所属领域技术人员应该明白,在本发明的技术方案的基础上,本领域技术人员不需要付出创造性劳动即可做出的各种修改或变形仍在本发明的保护范围以内。Although the specific implementation of the present invention has been described above in conjunction with the accompanying drawings, it does not limit the protection scope of the present invention. Those skilled in the art should understand that on the basis of the technical solution of the present invention, those skilled in the art do not need to pay creative work Various modifications or variations that can be made are still within the protection scope of the present invention.

Claims (6)

1. a video watermark implementation method is characterized in that, in the opposite same position watermark value of position, the identical spatial domain of adjacent two frames insertion symbol, simultaneously to the applicable requirement of video be frame per second reach 60Hz and more than; The method is divided into odd-numbered frame and even frame with frame of video, with binary watermarking proportionally with the addition of odd-numbered frame pixel value or subtract each other, subtract each other or addition with the even frame pixel value, adjacent two frame same position pixel average are equated with the original video image pixel value, reach the effect of the image pixel value complementation of parity frame watermark embedding place.
2. video watermark implementation method as claimed in claim 1, it is characterized in that, watermark is directly embedded in the pixel of image spatial domain, watermark embedding method is: before watermark embeds, adjust watermark value b according to carrier image position to be embedded pixel value, according to the parity of frame of video, determine the positive negative value of watermark value b, such as formula 2; After watermark value is determined, the embedding grammar of watermark such as formula 1, when the watermark information position was 0, the watermark value b after carrier image pixel value and the adjustment subtracted each other; When the watermark information position is 1, the watermark value b addition after carrier image pixel value and the adjustment;
X ‾ = X ( i , j ) - b , W = 0 X ( i , j ) + b , W = 1 Formula 1
Figure FDA00001990043700012
Formula 2
Wherein, X (i, j) is the pixel value of video image,
Figure FDA00001990043700013
Be the pixel value after the watermark embedding, W represents the watermark information position; The watermark value that parameter b indicates to embed, symbol is regulated according to the parity of the frame of video that will embed, and size is determined by pixel value; α is weight, and its value sets up on their own according to selected scheme and video; Round() function representation is exported the integer value after this function input value (α * X (i, j)) rounds up; When frame of video was odd-numbered frame, the b value was positive integer+round(); When frame of video was even frame, the b value was negative integer-round().
3. video watermark implementation method as claimed in claim 2 is characterized in that, concrete steps are:
1) reads binary bitmap;
2) the selection wish is embedded into watermark the component of frame of video, obtains one by one the frame of video of video file, judges the parity of frame of video; Determine zone to be embedded according to the watermarking images size;
3) adjust the watermark value symbol according to the frame of video parity, make the opposite in sign of the same position watermark value of adjacent two frame same positions embedding, the watermark value after adjusting is embedded in the pixel of frame of video component;
4) with next frame of video as current video frame, repeated execution of steps 3 until all frame of video of video file be disposed.
4. video watermark implementation method as claimed in claim 3 is characterized in that, described step 3) in adjust the detailed step that the watermark value symbol embeds frame of video according to the parity of frame of video and comprise: present frame is odd-numbered frame, watermark be on the occasion of; Present frame is even frame, and watermark is negative value; Watermark value after will adjusting according to formula 1 directly embeds in the pixel of frame of video component.
5. video watermark implementation method as claimed in claim 3 is characterized in that, described step 3) in adjust the detailed step that the watermark value symbol embeds frame of video according to the parity of frame of video and comprise: present frame is odd-numbered frame, and watermark is negative value; Present frame is even frame, watermark be on the occasion of; Watermark value after will adjusting according to formula 1 directly embeds in the pixel of frame of video component.
6. described video watermark implementation method as claimed in claim 3 is characterized in that described step 2) in, select wish watermark to be embedded into the component of frame of video, the selection of described component can be one or more combination of following scheme:
A. watermark is embedded in the Y component of frame of video, weight α is less than 1/8;
B. watermark is embedded in the U component of frame of video, weight α is less than 1/6;
C. watermark is embedded in the V component of frame of video, weight α is less than 1/6.
CN201210280987.8A 2012-08-09 2012-08-09 Video watermark implementation method Expired - Fee Related CN102905127B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210280987.8A CN102905127B (en) 2012-08-09 2012-08-09 Video watermark implementation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210280987.8A CN102905127B (en) 2012-08-09 2012-08-09 Video watermark implementation method

Publications (2)

Publication Number Publication Date
CN102905127A true CN102905127A (en) 2013-01-30
CN102905127B CN102905127B (en) 2015-03-25

Family

ID=47577143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210280987.8A Expired - Fee Related CN102905127B (en) 2012-08-09 2012-08-09 Video watermark implementation method

Country Status (1)

Country Link
CN (1) CN102905127B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202501A (en) * 2014-08-29 2014-12-10 西安空间无线电技术研究所 Method for performing information carrying and transmission in image
CN105308097A (en) * 2013-06-20 2016-02-03 帝斯曼知识产权资产管理有限公司 Hyperbranched polymers
CN108055567A (en) * 2017-10-25 2018-05-18 北京川上科技有限公司 A kind of method for processing video frequency, device, terminal device and storage medium
CN108449626A (en) * 2018-03-16 2018-08-24 北京视觉世界科技有限公司 Video processing, the recognition methods of video, device, equipment and medium
CN109309869A (en) * 2018-09-11 2019-02-05 东方网力科技股份有限公司 A kind of watermark embedding method, device and storage medium
CN110278438A (en) * 2019-06-20 2019-09-24 清华大学 The method and device for hiding coding is embedded in video
CN110971931A (en) * 2018-09-30 2020-04-07 北京微播视界科技有限公司 Video watermark adding method and device, electronic equipment and storage medium
CN115455454A (en) * 2022-06-10 2022-12-09 友达光电股份有限公司 Screen encryption system and screen encryption method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1522540A (en) * 2001-06-28 2004-08-18 Ħ��������˾ Video/image communication with watermark
CN101166260A (en) * 2007-09-12 2008-04-23 华为技术有限公司 Method and device for image encoding and watermark removal
CN101325702A (en) * 2008-07-25 2008-12-17 清华大学 Streaming media visible watermark real-time embedding system and its server and client
US20110216936A1 (en) * 2010-03-05 2011-09-08 Reed Alastair M Reducing Watermark Perceptibility and Extending Detection Distortion Tolerances
CN102523440A (en) * 2011-12-07 2012-06-27 浙江大学 Blind digital watermarking encoding and decoding method capable of withstanding cropping attack for fusion vision model

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1522540A (en) * 2001-06-28 2004-08-18 Ħ��������˾ Video/image communication with watermark
CN101166260A (en) * 2007-09-12 2008-04-23 华为技术有限公司 Method and device for image encoding and watermark removal
CN101325702A (en) * 2008-07-25 2008-12-17 清华大学 Streaming media visible watermark real-time embedding system and its server and client
US20110216936A1 (en) * 2010-03-05 2011-09-08 Reed Alastair M Reducing Watermark Perceptibility and Extending Detection Distortion Tolerances
CN102523440A (en) * 2011-12-07 2012-06-27 浙江大学 Blind digital watermarking encoding and decoding method capable of withstanding cropping attack for fusion vision model

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105308097B (en) * 2013-06-20 2019-02-12 帝斯曼知识产权资产管理有限公司 Hyperbranched polymers
CN105308097A (en) * 2013-06-20 2016-02-03 帝斯曼知识产权资产管理有限公司 Hyperbranched polymers
CN104202501B (en) * 2014-08-29 2017-12-22 西安空间无线电技术研究所 A kind of method for carrying out information embarkation transmission in the picture
CN104202501A (en) * 2014-08-29 2014-12-10 西安空间无线电技术研究所 Method for performing information carrying and transmission in image
CN108055567A (en) * 2017-10-25 2018-05-18 北京川上科技有限公司 A kind of method for processing video frequency, device, terminal device and storage medium
CN108055567B (en) * 2017-10-25 2020-11-06 北京密境和风科技有限公司 Video processing method and device, terminal equipment and storage medium
CN108449626A (en) * 2018-03-16 2018-08-24 北京视觉世界科技有限公司 Video processing, the recognition methods of video, device, equipment and medium
CN109309869A (en) * 2018-09-11 2019-02-05 东方网力科技股份有限公司 A kind of watermark embedding method, device and storage medium
CN109309869B (en) * 2018-09-11 2021-01-26 东方网力科技股份有限公司 Watermark embedding method, device and storage medium
CN110971931A (en) * 2018-09-30 2020-04-07 北京微播视界科技有限公司 Video watermark adding method and device, electronic equipment and storage medium
US11930202B2 (en) 2018-09-30 2024-03-12 Beijing Microlive Vision Technology Co., Ltd Method and apparatus for video watermarking, and storage medium
CN110278438A (en) * 2019-06-20 2019-09-24 清华大学 The method and device for hiding coding is embedded in video
CN115455454A (en) * 2022-06-10 2022-12-09 友达光电股份有限公司 Screen encryption system and screen encryption method
TWI817551B (en) * 2022-06-10 2023-10-01 友達光電股份有限公司 Image encryption system and image encryption method

Also Published As

Publication number Publication date
CN102905127B (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN102905127B (en) Video watermark implementation method
Zhao et al. Reversible data hiding based on multilevel histogram modification and sequential recovery
JP6731722B2 (en) Display method and display device
JP2012205168A (en) Device, method and program for video processing
Eltahir et al. High rate video streaming steganography
Bakhsh et al. A robust HDR images watermarking method using artificial bee colony algorithm
MX2023001239A (en) Systems and methods for the application of adaptive video watermarks.
Debattista et al. Optimal exposure compression for high dynamic range content
Huang et al. Unseen visible watermarking: a novel methodology for auxiliary information delivery via visual contents
CN110798749B (en) Robust video watermarking method based on tensor singular value decomposition
CN103854248B (en) Watermark embedding method and device based on Context resolution and perception layering
CN105992072A (en) Watermark processing method, watermark extracting method and corresponding devices
Lee et al. Stereoscopic watermarking by horizontal noise mean shifting
CN113628090B (en) Anti-interference message steganography and extraction method, system, computer equipment and terminal
CN117376664B (en) Video watermark information processing method, device and equipment
Li et al. Step-projection-based spread transform dither modulation
Unno et al. A new displaying technology for information hiding using temporally brightness modulated pattern
Jain et al. A digital video watermarking algorithm based on LSB and DCT
Koppola A high capacity data-hiding scheme in LSB-based image steganography
CN119515653B (en) Digital Watermarking Algorithm in YUV Domain Based on Wavelet Transform
Wang et al. Perceptual differential energy watermarking for H. 264/AVC
JP7707416B2 (en) Digital watermarking system and method
數碼圖像秘密寫作技術的研究 Study of steganographic techniques for digital images
Arjun et al. An approach to adaptive steganography based on matrix embedding
Neena et al. Copyright protection for E-learning videos using digital watermarking

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150325

Termination date: 20160809

CF01 Termination of patent right due to non-payment of annual fee