The video watermark algorithm based on rate distortion theory
Lianshan Liu
Shandong University of Science and
Technology, Qingdao, China
e-mail: lshliu6042@163.com
YongGuo Zheng
Shandong University of Science and
Technology, Qingdao, China
e-mail: zhengyg206@163.com
Sibo Wang
Shandong University of Science and
Technology, Qingdao, China
e-mail: wang_sibo@live.cn
Abstract—A novel watermarking algorithm based on rate-
distortion theory was proposed. Firstly, every two adjacent
blocks in coding sequence were divided into one group. The next
step was to separately modify the motion vector of member
macroblock and compute the change of rate distortion. Then the
macroblock with smaller change of rate distortion was chosen as
the candidate macroblock. The third was to seslect the candidate
macroblock from previous and change the motion vector
component of macroblock in order to embed the watermark.
Experimental results show that the proposed scheme was robust
to frames deletion.
Keywords- video watermark; motion vector; rate-distortion;
H.264
I. INTRODUCTION
Next-generation video coding standard H.264/AVC is the
best video coding standard
[1]
, which not only has excellent
compression performance, but also has a good network affinity.
The applications of H.264 become more and more abundance,
so that the video watermark algorithms based on H.264 are
required. Due to the high compression ratio of H.264, most of
the watermark information has been removed as redundant
data, so that previously proposed methods can not be directly
applied to the watermarking algorithms using the H.264 coding
standard.
A number of video watermark schemes based on H.264
coding standard have been proposed. For the intra-prediction
mode, Dong-Wook Kim et al.
[2]
considered that the proposed
algorithms at present can not extract the original watermark
after the videos have been attracted. For the inter-prediction
mode, Wang Pei et al.
[3]
recently proposed a scheme using to
change the position of the optimal matching block in the
motion estimation to embed the watermark. In this scheme, the
search area was divided into two parts. If the current watermark
bit information was 1, then the optimal matching block was
searched in the left region; If the current watermark bit
information was 0, the optimal matching block was searched in
the right region. In the extraction, the watermarks were
extracted according to the motion vectors. This method is
simple, but the optimal matching block may be searched the
other region not the original region, and the motion vectors
may be modified too much. Najla Mohaghegh et al.
[4]
managed
the embedding process using a threshold. If the amplitude of
motion vector was greater than the threshold, the watermark
can be embedded, then modify the larger motion vector
component to embed the watermark. Otherwise the macroblock
was ignored. The scheme complexity is low, but the choice of
threshold tends to experience value. The watermark is
embedded only according to the amplitude of motion vector, so
that video quality may be affected more seriously. Cong-Van
Nguyen et al.
[5]
firstly selected the macroblocks meeting certain
conditions, and embeded the watermark with modifying the
larger component of motion vector, then computed the number
of same pixels between original macroblock and the
macroblock embedded watermark in all macroblocks of a
frame, and the next was to select the smaller value of
macroblock to embed the watermark. The algorithm takes into
account that the modification will increase the residual between
original macroblock and prediction macroblock. However, the
description of motion vectors, reference frames, B frame
direction and macroblocks partition mode also need storage
space. The algorithm does not take into account the alteration
of the above storage space after the motion vector has been
modified.
There are a lot of macroblocks in a video, which means
there are sufficient modification options. If we only consider
the single macroblock, it is difficult to take full advantage of
the richness and the video quality may be affected more
seriously.
The algorithm proposed in this paper choosed two adjacent
macroblocks in one video sequence as a group. In order to
reduce the influence to video quality, the change rate of rate-
distortion cost of two adjacent macroblocks should be
computed separately, and the smaller macroblock to embed
watermark should be selected.
The remainder of this paper is organized as follows.
Information rate distortion theory are presented in Section 2.
Section 3 is devoted to the watermark algorithm. Section 4
analysises the simulation and results. Section 5 gives a brief
conclusion of the work.
II. INFORMATION
RATE-DISTORATION
Information rate distortion theory is the theoretical basis of
the data encoding. Information rate distortion function can be
expressed as follows:
(|)
() min{(;)}
jj D
Pv u B
DIUV
∈
=
(1)
where R is transinformation rate; D is the distortion
permission; I(U;V) denotes average mutual information; B
D
denotes the test channel set with D; and P(v|u) represents
channels.
In the case that information source and D are fixed, rate
distortion function R(D) can choose a test channel to promise
2013 Seventh International Conference on Image and Graphics
978-0-7695-5050-3/13 $26.00 © 2013 IEEE
DOI 10.1109/ICIG.2013.12
29
2013 Seventh International Conference on Image and Graphics
978-0-7695-5050-3/13 $26.00 © 2013 IEEE
DOI 10.1109/ICIG.2013.12
29
2013 Seventh International Conference on Image and Graphics
978-0-7695-5050-3/13 $26.00 © 2013 IEEE
DOI 10.1109/ICIG.2013.12
29
2013 Seventh International Conference on Image and Graphics
978-0-7695-5050-3/13 $26.00 © 2013 IEEE
DOI 10.1109/ICIG.2013.12
29
2013 Seventh International Conference on Image and Graphics
978-0-7695-5050-3/13 $26.00 © 2013 IEEE
DOI 10.1109/ICIG.2013.12
29