The Scientific World Journal

Volume 2014 (2014), Article ID 345892, 13 pages

http://dx.doi.org/10.1155/2014/345892

## An Enhanced Informed Watermarking Scheme Using the Posterior Hidden Markov Model

^{1}College of Information, South China Agricultural University, Guangzhou 510642, China^{2}School of Information Science and Technology, Sun Yat-sen University, Guangzhou 510275, China

Received 10 October 2013; Accepted 16 December 2013; Published 16 January 2014

Academic Editors: W.-J. Hwang, S. Salcedo-Sanz, and G. Wei

Copyright © 2014 Chuntao Wang. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

Designing a practical watermarking scheme with high robustness, feasible imperceptibility, and large capacity remains one of the most important research topics in robust watermarking. This paper presents a posterior hidden Markov model (HMM-) based informed image watermarking scheme, which well enhances the practicability of the prior-HMM-based informed watermarking with favorable robustness, imperceptibility, and capacity. To make the encoder and decoder use the (nearly) identical posterior HMM, each cover image at the encoder and each received image at the decoder are attacked with JPEG compression at an equivalently small quality factor (QF). The attacked images are then employed to estimate HMM parameter sets for both the encoder and decoder, respectively. Numerical simulations show that a small QF of 5 is an optimum setting for practical use. Based on this posterior HMM, we develop an enhanced posterior-HMM-based informed watermarking scheme. Extensive experimental simulations show that the proposed scheme is comparable to its prior counterpart in which the HMM is estimated with the original image, but it avoids the transmission of the prior HMM from the encoder to the decoder. This thus well enhances the practical application of HMM-based informed watermarking systems. Also, it is demonstrated that the proposed scheme has the robustness comparable to the state-of-the-art with significantly reduced computation time.

#### 1. Introduction

Informed watermarking is a kind of technique that adapts watermark signals to host ones, aiming at “eliminating” interferences of host signals on watermarks. This technique originates from the connection between digital watermarking and the problem of communication with side information at the encoder [1–3]. By lying on the consolidated information theories handling communication channels with side information [4, 5] and their adaption to the watermarking case [6–11], this connection makes digital watermarking be promising to achieve a large capacity, high robustness, and good imperceptibility, as demonstrated in the schemes of [6, 12–21].

The scheme of [6] developed by Chen and Wornell is one of pioneering works designing practical informed watermarking algorithms. They constructed a class of lattice-code-based quantization index modulation (QIM) and theoretically proved the optimum of the QIM with distortion compensation (DC-QIM) under the framework of dirty-paper coding [5]. The QIM-based watermarking scheme has the characteristics of high capacity and easy implementation. However, it is weak to scaling attacks that multiply amplitudes of watermarked images with a scalar factor, which is also called gain attacks. To address such issue, several variants of QIM have been proposed in the literature [14–17]. The scheme developed in [14] inserts a pilot signal to facilitate the estimation of the scalar factor, and then it employs the estimated factor to correct amplitudes. The work discussed in [15] resists against gain attacks by designing a gain-invariant step-size for quantization at both the embedder and receiver. Rather than directly quantizing host signals, the approaches proposed in [16, 17] first group a number of host signals into a vector, then take any two vectors to generate an angular value, and finally quantize angular values to insert the message.

Besides the lattice code, the spherical code is also deployed in informed watermarking to implement the dirty-paper coding. The codewords of spherical code have the same energy and thus lie on the surface of a sphere with a radius equivalent to the codewords’ norm. This code gives rise to a hyperconic decoding region that centers in the origin. This in turn allows, from a geometrical viewpoint, a signal point multiplied with a constant scalar factor to stay in the same decoding region. Consequently, it leads to a capability to resist against gain attacks. A number of spherical-code-based informed watermarking approaches have been developed in the literature. In [18], Malvar and Florêncio proposed an improved spread-spectrum watermarking scheme (ISS). They used two spread-spectrum vectors of equienergy to represent message bits 0 and 1 and developed an embedding technique to adapt watermark signals to the host one. As a result, the robustness is significantly improved. In [19], Miller et al. designed another informed watermarking scheme using the spherical code. It consists of two stages, namely, informed coding and informed embedding. In informed coding, a message bit is associated with a coset containing a number of spherical codewords, and an optimum codeword is then chosen to represent the message bit. In informed embedding, the selected codeword is tailored, according to the host signal and the constraints of robustness and distortion, and embedded in the host signal. This aims for putting the watermarked signal in the decoding region of the chosen codeword. A similar informed watermarking scheme is presented in [20], in which orthogonal and biorthogonal spherical codewords are used for implementing informed coding and an optimization approach is employed for performing informed embedding. Both schemes of [19, 20] achieve a large embedding capacity as well as high robustness to gain attacks, additive white Gaussian noises (AWGNs), JPEG compression, and so forth. Nevertheless, the scheme of [19] merely evaluated the performance through Monte Carlo simulations, and that of [18] has a relatively high computational complexity because of the employed trellis code with a long codeword length. In [21], Wang et al. developed an informed watermarking using the hidden Markov model (HMM) in the wavelet domain. They used a spherical code with relatively short codeword length for dirty-paper coding, aiming to decrease the computational complexity. This approach achieves comparable performance to the state-of-the-art [19], but it decreases the computational complexity of informed embedding by an order of magnitude.

As the scheme presented in [21] employs the HMM in the wavelet domain to construct the detector, HMM parameters need to be sent as side information to the receiver. This would hinder the practical application of HMM-based informed watermarking systems. To address such issue, we are motivated to develop an informed watermarking scheme using a *posterior* HMM. That is, rather than transmitting HMM parameters to the receiver, we reestimate HMM parameters at the receiver via a particular manner. If the reestimated HMM parameters are sufficiently close to the original one that has been estimated at the transmitter, we thus avoid the transmission of HMM parameters to the receiver. In [22], we had developed a kind of posterior HMM for a spread-spectrum-based robust image watermarking scheme. Considering that the inserted watermark is essentially a weak signal compared to the host one, this scheme takes the watermarked signal as the source to estimate the posterior HMM. Such treatment merely degrades the detection performance slightly, as well demonstrated in [22]. In contrast to the posterior HMM, the one estimated with the original signal is denoted afterwards as the *prior* HMM for notational convenience.

Although the scheme of [22] shows that it is feasible to estimate the posterior HMM with the watermarked signal, it cannot be directly applied to the case of informed watermarking. As will be illustrated in Section 3, using the posterior HMM for watermark detection would decrease the performance significantly. This is due to the fact that the predefined robustness in informed watermarking is ensured with respect to the prior HMM, but it would be no longer guaranteed if the posterior HMM rather than the prior one is used. The more the differences between the prior and posterior HMMs, the larger the performance degradation is. To make the posterior-HMM-based informed watermarking feasible, the key point is to let both the encoder and decoder adopt HMMs that are sufficiently close to each other. To this end, we impose the same noises that are much stronger than the inserted watermark on the original and received signals and then use the corresponding noisy versions to estimate HMM parameters for the encoder and decoder, respectively. In this way, the estimated HMM at the decoder would be sufficiently close to that at the encoder. Consequently, the decoding performance using this posterior HMM would not degrade or merely degrade slightly.

In the interest of obtaining high robustness to JPEG compression, we take JPEG compression at a small quality factor (QF) as strong noises for the posterior HMM estimation. We then reckon on numerical simulations to determine a practically-optimum QF, namely, . Based on this QF, we construct a posterior-HMM-based informed watermarking scheme. At the encoder, we impose JPEG compression with on the original image to estimate HMM parameters and use these parameters to implement the informed watermarking algorithm in [21]. At the decoder, we employ the same method as the encoder to obtain HMM parameters and apply them to extract the message. Extensive experimental simulations show that the proposed posterior-HMM-based informed watermarking scheme can achieve the same performance as the prior-based one when attacks are either (equivalently) weaker than or much stronger than the predefined robustness, but it degrades remarkably for other cases. It is also observed that the proposed scheme obtains the robustness comparable to the state-of-the-art [19] with significantly decreased computation time.

The rest of the paper is organized as follows. Section 2 reviews the HMM in the wavelet domain and the HMM-based informed watermarking scheme presented in [21]. The posterior-HMM-based informed watermarking algorithm is developed in Section 3. Section 4 introduces the determination of a practically optimum QF by the way of numerical simulations. Based on this QF, experimental simulations are then carried out to evaluate the proposed scheme in Section 5. The conclusion is finally drawn in Section 6.

#### 2. Review of the HMM-Based Informed Watermarking Scheme

As the algorithm proposed in this paper is an enhanced version of that in [21], in this section we briefly review the HMM in the wavelet domain and the HMM-based informed watermarking scheme in [21]. Below are the details.

##### 2.1. HMM in the Wavelet Domain

In [23], Crouse et al. proposed an HMM in the wavelet domain (WD-HMM) to characterize the statistical dependency of wavelet coefficients across scales. In [24], Ni et al. used the vector HMM to further capture the cross correlation among subband coefficients in different orientations at the same scale. They denoted it as the vector WD-HMM (VWD-HMM).

As supposed in both schemes of [23, 24], any input image is decomposed via orthogonal or biorthogonal wavelets into a -level () pyramid. The input image is first decomposed into four subbands of LH_{1}, HL_{1}, HH_{1}, and LL_{1}. The LL_{1} subband is further used to generate another four subbands of LH_{2}, HL_{2}, HH_{2}, and LL_{2} at the next scale. Such decomposition is repeated until a predefined scale, , is achieved or the subband size does not allow further decomposition, as illustrated in Figure 1.

Figure 1 also illustrates the VWD-HMM. Suppose that stands for the wavelet coefficient of the subband at orientation and scale , where = 1, 2, and 3 represent the horizontal, vertical, and diagonal orientations, respectively. Group all s with the same and together, resulting in a vector node, , as shown in Figure 1. The superscript “” denotes the matrix transposition. Suppose that has hidden states . If each has a state probability , then . As pointed out in [21, 23, 24], it is reasonable to adopt the same states, , for all wavelet coefficients at the same scale. One corresponds to small and the other to large wavelet coefficients.

Considering that the average of wavelet coefficients is zero, the probabilistic density function (pdf) of conditioned on can be modeled as a mixture of two multivariable Gaussians with zero means and covariances of and [21, 24] as follows: where holds for all s, and is defined as where is a covariance matrix, denotes the determinant of , and stands for the absolute value.

As the parent vector node links itself to its four child vector nodes, as shown in Figure 1, the VWD-HMM uses the Markov chain to capture the energy dependency across scales. To this end, it defines the following state transition probability: where represents the probability that child vector nodes are in state given that their parent vector node is in state . Thus, the state probability of child vector nodes can be determined as follows: where . Therefore, the VWD-HMM for wavelet coefficients of an image is represented with the following parameter set: According to [24], the can be efficiently estimated by the expectation-maximization (EM) algorithm.

##### 2.2. HMM-Based Informed Watermarking Scheme

Based on the aforementioned VWD-HMM, the authors in [21] developed an informed watermarking scheme, as illustrated in Figure 2. It includes message embedding and message extraction.

The message embedding is performed as follows.(1)Decompose the original image of size with the biorthogonal 9/7 wavelet into a 3-level wavelet pyramid, and use the coarsest two levels to construct vector trees (see also Figure 1).(2)Given that each vector tree is embedded with one bit, then generate a message sequence of random bits. After permuting with a secret key , allocate one permuted bit to each vector tree. This leads to an information rate of 1/64 bit/pixel.(3)Associate the given message bit to its representative spherical codeword in coset . The codeword design is recommended to refer to [21].(4)Determine the optimal strength vector for through informed embedding. This is formulated as an optimization problem and solved by the genetic algorithm (GA), as given in [21]. In this process, an HMM-based robustness metric is exploited to ensure the predefined robustness, where the HMM is estimated with the original image.(5)Embed into via the rule , where “” denotes the element-wise multiplication.(6)After finishing embedding all message bits into their corresponding vector trees via Steps to , perform the inverse wavelet transformation to obtain the watermarked image .

The message extraction process is implemented in the following manner. For each vector tree at the receiver, the Taylor series-approximated locally-optimum test (TLOT-) based detector is used to find a codeword with the maximum TLOT value, say , where the TLOT-based detector exploits the prior HMM. The corresponding coset index (0 or 1) of is then taken as the extracted message bit . After all vector trees have been processed, the extracted bit sequence is reordered with key , and the message sequence is finally recovered.

Because of the paper length limit, more details of this reviewed HMM-based informed watermarking scheme are recommended to refer to [21]. From the above descriptions, it is clearly found that both the encoder and decoder use the prior VWD-HMM. This implies that the encoder needs to send the prior VWD-HMM to the receiver for message extraction. This would probably hinder the practical application of HMM-based informed watermarking systems. Addressing such problem gives rise to the proposed scheme, as presented in the next section.

#### 3. Posterior-HMM-Based Informed Watermarking Scheme

As pointed out in Section 2.2, the prior VWD-HMM parameters need to be sent as side information to the receiver. To handle this problem, we are inspired to take the posterior VWD-HMM estimated with the received image for message extraction, as similarly implemented in [22]. To assess its feasibility, we perform the following examination.

In the examination, we test 35 grey images with different textures. For each image, we take JPEG compression with as the predefined robustness and embed the same message sequence of 1024 random bits via the approach in [21] (see also Section 2). The generated watermarked images are then attacked with JPEG compression at different QFs, and the message sequence is extracted from the attacked images. In message extraction, the prior and posterior HMMs that are estimated with the original and attacked images are adopted, respectively. In other words, the compared two cases have the same setting except the used HMM parameters at the receiver. Their corresponding performance in terms of bit error rate (BER) is plotted in Figure 3, where BERs have been averaged over all 35 test images. It is clearly found that the performance of the posterior-HMM-based informed watermarking scheme degrades significantly. This is strongly contrasted with the results for the noninformed scheme of [22], in which the posterior HMM only leads to a slight degradation of detection performance.

The reasons for the significant degradation are explained as follows. Let and be the original image and its corresponding wavelet coefficients at scale and location , respectively. Suppose that and are the received image and its corresponding wavelet coefficients, respectively. Then would be remarkably different to for relatively large embedding strength is generally adopted for informed watermarking with high capacity and robustness. As a result, the posterior HMM estimated with , say , would significantly deviate from the prior one that is estimated with , namely, . In return, the detection performance using decreases greatly, and the predefined robustness ensured with respect to is no longer achieved.

According to the above analyses, the performance degradation is mainly due to the deviation of from . If they are sufficiently close to each other, the detection performance would then decrease slightly. That is, the key point for the posterior-HMM-based informed watermarking is to let both the encoder and decoder adopt the (nearly) identical HMM parameters. To achieve this objective, we impose the same strong attacks on the original and received images and then use these attacked versions to estimate HMM parameters for the encoder and decoder, respectively. Once the imposed attack is much stronger than the inserted watermark signal, the HMMs estimated at the encoder and decoder would be close enough to each other.

The feasibility of this strategy can be evaluated as follows. Let be the distortion due to a particular strong attack. The attacked version of is then calculated as . These s are used to yield the HMM parameter set, namely, . With respect to , the predefined robustness is ensured via the informed embedding algorithm in [21] (see also Section 2.2). Similar to the encoder, the received wavelet coefficients s are also performed with the same strong attack to yield the following attacked version: where and denote the inserted watermark and the noise introduced in transmission. These s are then used to estimate the HMM parameter set, . Clearly, if is sufficiently large compared to the composite signal of , would be sufficiently close to . Consequently, would be close enough to . In return, using for watermark detection would only degrade the detection performance slightly. In other words, this strategy allows designing a posterior-HMM-based informed watermarking scheme that would achieve a comparable performance to the prior-HMM-based one but eliminate the transmission of HMM parameters to the receiver.

In the interest of achieving high robustness against JPEG compression, the prior-HMM-based informed watermarking scheme [21] takes JPEG compression at a particular (e.g., ) as the predefined robustness. Under such setting, we can similarly adopt the JPEG compression with a small as the strong attack for estimating the and . For notational convenience, the s for the predefined robustness and the strong attack are denoted as and , respectively. Therefore, by using the and for informed embedding and message extraction, respectively, we can develop a posterior-HMM-based informed watermarking scheme (PostHIW), as illustrated in Figure 4. The details are as follows.(1)Perform Steps to in Section 2.2 to construct vector trees , allocate message bits , and select representative spherical codeword , respectively.(2)Impose the JPEG compression with QF = on the cover image . Then use the EM algorithm (see also Section 2.1) to obtain the HMM parameter set, .(3)Set the predefined robustness represented by a JPEG QF to be .(4)Execute Steps to in Section 2.2 to yield the watermarked image, . In this implementation, the estimated with the attacked original image rather than the trained with the original image is used for informed embedding.

The posterior-HMM-based extraction process is actually the same as that in Section 2.2 except that the posterior HMM parameter set rather than the prior one is exploited for watermark detection. In particular, the received (probably polluted) image is firstly attacked with JPEG compression at . The attacked image is then used to estimate the HMM parameter set, . The is finally employed to extract the message, namely, , via the detection approach in Section 2.2.

As aforementioned, the performance of the proposed PostHIW is highly related to the closeness between the and . The closer the and are, the smaller the performance degradation is. Therefore, we need to find an optimum that makes the be closest to the . This is a fundamental issue for the proposed PostHIW. Its practical determination is given in the next section.

#### 4. Determination of the Practically Optimum Attk_QF

As mentioned in Section 3, the setting of is a key parameter for the estimation of and , and would have a significant impact on the PostHIW’s performance. To achieve the best performance, we attempt to determine an optimum setting for . As analyzed in Section 3, the should be sufficiently small to let be close enough to .

As it is rather tough to obtain an analytic function to characterize the relationship between the and the deviation of from , we reckon on the numerical simulation to roughly analyze their relationship. This will give rise to a practically optimum setting for , say .

In the simulation, we test 35 grey images of different textures. We start from estimating HMM parameter sets, s, for original test images. For each test image, we impose JPEG compression with s in the range [5 : 5 : 100], where the second 5 denotes a step, and then employ the EM algorithm [21, 23] (see also Section 2.1) to estimate the .

We proceed to estimate HMM parameter sets, s, for watermarked images. As till now we do not determine the , we cannot employ the with respect to to generate, via the approach in Section 3, watermarked images. Instead, we obtain the watermarked images for evaluation using the prior-HMM-based informed watermarking (PriHIW) in [21] (see also Section 2.2). This makes sense as long as the JPEG compression attack is much stronger than the inserted watermark, for example, the situation of a small . In the implementation, we set the that represents the predefined robustness to be 70, 80, and 90, respectively, and then employ the PriHIW to generate 105 watermarked images. These are further used to obtain 105 HMM parameter sets, s, via the same EM algorithm as that for s.

To evaluate the deviation of s from s, we adopt the Kullback-Leibler divergence (KLD). Assume that total LEV (e.g., LEV = 2) coarsest levels of a -level () wavelet pyramid are used for HMM estimation. Further assume that wavelet coefficients for the estimation of and are denoted as s and s, , , respectively. The KLD at the level is then calculated as where and are the probabilities of wavelet coefficients at the level that are computed from and , respectively, which are calculated as follows (see also Section 2.1). The and at the top parent level (i.e., ) are calculated as where and denote the parameters belonging to sets and , respectively, and is defined in (2). According to (3), the and at other levels (i.e., ) are computed as

After obtaining the for each level of the given image, we finally average them to yield the average distance, that is, , to reflect the deviation of from . Further averaging all s of all test images yields the statistically averaged distance, say . In the statistical sense, the characterizes the relationship between and the deviation of from .

Figure 5(a) to Figure 5(c) summarize the relationship between and for , 80, and 90, respectively. It is observed that increasing the generally increases the . This is consistent with the intuition as increasing the would make gradually decrease to the same magnitude order of (see also (6)) and thus would gradually deviate from . Therefore, it makes sense to take as an optimum setting for the PostHIW using different predefined robustness. Although this setting might not be theoretically ideal, it is really an optimum setting for practical application, as will be well demonstrated in Section 5.

#### 5. Experimental Results and Analysis

In this section, we assess the proposed PostHIW by comparing it to the PriHIW [21] (see also Section 2) and the state of the art [19]. Below are the details.

##### 5.1. Experimental Setting

In the simulation for the PriHIW and PostHIW, we test 35 grey images with different textures by setting and , where and represent the predefined robustness and the practically optimum attack parameter for the posterior HMM, respectively. For fair comparison, each test image is embedded, via the PriHIW and PostHIW, with the same message sequence of 1024 random bits, respectively. Their corresponding perceptual distances [21], namely, and , respectively, are set to be nearly identical by adjusting the predefined robustness threshold for .

In the simulation for the state of the art, that is, the trellis-based informed watermarking (TIW) [19], we also embed the same message in each test image. As the TIW presented in [19] is implemented in the DCT domain rather than the wavelet one in our situation, we slightly modify its implementation from the DCT domain to the wavelet one, aiming for fair comparison. That is, we replace embedding units of 12 DCT coefficients and perceptual masks in the TIW with those of 15-node vector trees and visual masks in the PostHIW or PriHIW, respectively. But we keep the other parts of TIW unchanged. Under this setting, the perceptual distance in the wavelet domain can be employed for fair performance evaluation. As set in the comparison between the PriHIW and PostHIW, the perceptual distance for the TIW, namely, , is also set to be nearly identical to and by adjusting the robustness threshold of TIW.

##### 5.2. Fidelity Evaluation

Figure 6 illustrates several images watermarked by the PriHIW, PostHIW, and TIW. It can be observed that the subjective visual fidelity of watermarked images of the PriHIW, PostHIW, and TIW is similar to each other. Table 1 summarizes the mean and standard deviation of peak signal-to-noise ratios (PSNRs) and perceptual distances for all 35 watermarked images generated by the PriHIW, PostHIW, and TIW, respectively. It is seen that these three schemes have nearly identical average perceptual distances.

In Figure 6, we adopt a relatively large perceptual distance for the convenience of visual artifact illustration. Actually, a smaller perceptual distance and thus the better subjective visual fidelity can be achieved by using a larger . This is well demonstrated in Figure 7, where the image “Lena” is taken, for example, and the watermarked images are generate, via the PostHIW with the set to be 70, 80, and 90, respectively.

##### 5.3. Performance Comparison between the PriHIW, PostHIW, and TIW

In this subsection, we evaluate the proposed PostHIW by comparing it to the PriHIW and TIW. In the evaluation, we take the watermarked images under the settings of and as test images. On each test image, we impose JPEG compression, gain attacks, additive white Gaussian noise (AWGN), and low-pass Gaussian filtering (LPGF). We then assess the average performance in terms of BER against these attacks. The results are summarized in sections from Section 5.3.1 to Section 5.3.4, followed by the computation time evaluation for all three schemes.

###### 5.3.1. Performance against JPEG Compression

To examine the performance against JPEG compression, we impose JPEG compression with QFs ranging from 10 to 100 on all test watermarked images. Figure 8 plots the performance comparison for the PriHIW, PostHIW, and TIW. It is shown that the three compared schemes are equivalently robust to JPEG compression with . This implies that the predefined robustness indicated by has been desirably achieved, which demonstrates the feasibility of the PriHIW and PostHIW.

The PostHIW’s performance for and is remarkably weaker than and sufficiently close to the PriHIW’s one, respectively. These can be analyzed as follows. Suppose that the real HMMs for these attacked images are s. Assume that the KLD between (see also Section 4) and is and the KLD between (i.e., estimated with the original image) and is . When QFs are not sufficiently small, for example, , both the and deviate from , but the is smaller than the . Therefore, the PriHIW’s detection performance using the is better than the PostHIW’s one exploiting the . When QFs are sufficiently small, for example, , the and are probably close to each other, and thus the performance of both the PriHIW and PostHIW is close to each other.

In the comparison with the TIW, the PostHIW has the same robustness as the TIW for , achieves worse performance than the TIW for , and obtains higher robustness for other cases. The reasons are as follows. When holds, the attacks are (equivalently) weaker than the predefined robustness, and thus the performance of BER = 0 can be exactly achieved for all compared schemes. In the situation of , the attacks are more severe than the predefined robustness of the PostHIW but probably weaker than that of the TIW. As a result, the PostHIW has worse performance than the TIW. This can be expected since the TIW uses the trellis code with long codeword length, which allows achieving better performance at the cost of relatively high computational complexity. In other cases (e.g., ), the attacks are so strong that both the PostHIW and TIW are subject to uninformed attacks. In contrast to the TIW, the PostHIW well exploits the statistical model of wavelet coefficients and consequently achieves higher robustness than the TIW.

In comparison to the TIW, the PriHIW has the similar performance to the PostHIW except that the PriHIW is worse and better than the TIW for and , respectively. The reasons are the same as the analysis given above.

###### 5.3.2. Performance against AWGN

Figure 9 gives the performance against AWGN attacks for the PriHIW, PostHIW, and TIW, where the standard deviation of Gaussian noise, namely , is set as the range with step 1. It is seen that both the PriHIW and PostHIW achieve zero BERs for . This comes from the fact that AWGN attacks with are equivalently weaker than the robustness threshold represented by . The PostHIW obtains a comparable performance to the PriHIW for , where the BERs of the PostHIW for and are larger and smaller than those of the PriHIW, respectively. This may arise from the unstable HMM estimation for several images. For , the PostHIW is considerably worse than the PriHIW. The explanations are similar to those for the case in the comparison between the PriHIW and PostHIW.

It is observed from Figure 9 that the PostHIW has the same zero BERs as the TIW for , obtains worse performance than the TIW for , and reaches higher robustness for other cases. The reasons are the same as those in the comparison between the PostHIW and TIW for cases , , and , respectively. Similar results are also found for the PriHIW.

###### 5.3.3. Performance against Gain Attacks

As the PriHIW, PostHIW, and TIW employ spherical codes, they are promising to be highly robust to gain attacks. To illustrate this, we impose gain attacks with different scaling factors on the aforementioned test images. In the simulation, scaling factors, say s, are set as the range [0.1, 2.0] with step 0.1. The performance comparison against these attacks is summarized in Figure 10. It is demonstrated that the performance of the PostHIW is slightly worse than that of the PriHIW for scaling factors varying from 1.1 to 2.0. The reasons are the same as the explanations for the case of in the comparison between the PostHIW and PriHiW. However, the PostHIW is vulnerable to scaling factors below 0.9. This is because these scaling factors significantly decrease the image amplitude so that a large portion of wavelet coefficients are quantized by the JPEG compression attack with to be zero. In return, this makes, with a large probability, the estimation of unstable and consequently degrades the detection performance significantly. In other cases, both the PriHIW and PostHIW have the identical robustness.

It is found from Figure 10 that the PostHIW obtains higher robustness than the TIW for , behaves the same as the TIW for , and achieves worse performance for other situations. The explanations are similar to those for the cases of , , and , respectively, in the comparison between the PostHIW and TIW. Somewhat similar to the PostHIW, the PriHIW is better than and identical to the TIW for and other cases, respectively.

###### 5.3.4. Performance against LPGF

We further examine the performance against the LPGF. The standard deviation of Gaussian filter, say , is set as the range [0.1, 2.0] with step 0.1. Figure 11 shows the performance comparison for the PriHIW, PostHIW, and TIW. Figure 11 indicates that the PostHIW is equivalently robust to the PriHIW for , which is due to the fact that these LPGF attacks are actually weaker than or equivalent to the predefined robustness. In other situations, however, the PostHIW is generally better than the PriHIW. This is because LPGF attacks with would significantly smooth watermarked images, and thus the would be smaller than the (see also Section 5.3.1). Consequently, the PostHIW using the posterior HMM leads to higher robustness than the PriHIW employing the prior HMM. The BER exceptions for may arise from the probably unstable HMM estimation for several watermarked images.

Figure 11 also shows that the PostHIW obtains the same zero BERs as the TIW for , but it yields higher robustness than the TIW for other cases. These can be similarly found for the PriHIW. The analyses are analogous to those in Section 5.3.1.

###### 5.3.5. Computation Time Evaluation

As described in Section 3, the PostHIW replaces the prior HMM with the posterior HMM, but it keeps the other parts of the PriHIW unchanged. Therefore, the computational complexity of both the embedding and detection processes for the PostHIW would be close to that for the PriHIW.

As both the PostHIW and PriHIW use the spherical code with short codeword length, they facilitate the decrease of computational complexity in informed embedding. In contrast, the TIW adopts the trellis-based spherical code with long codeword length, and it also requires Viterbi-decoding-based iterations in the process of informed embedding. Thus, the computational complexity in informed embedding of the TIW would be relatively large. Different from the informed embedding process, however, the detection process of the TIW does not need to perform the time-consuming iterations, in which only one time of Viterbi decoding is needed. Thus, the computational complexity of the detection process would be small.

As it is rather troublesome to obtain an analytic function to characterize the computational complexity of both the embedding and detection processes for the PostHIW/PriHIW and TIW, we rely on the numerical simulation to evaluate their computation time. In the simulation, we implement these schemes with C code and perform them on a 2.2 GHz Intel Core(TM)2 Duo CPU with 2 GB memory. The parameter settings are the same as those in Section 5.1. Table 2 summarizes the computation time of the embedding and detection processes for the PriHIW, PostHIW, and TIW, respectively, where the results are averaged over all test images. It can be seen that the computation time of the embedding process for both the PriHIW and PostHIW is somewhat close to each other, but it is roughly an order of magnitude lesser than that for the TIW. In addition, it is also observed that the computation time of the detection process for the compared three schemes is approximately in the same order, which can be implemented in real time.

#### 6. Conclusion

In this paper, we have presented an enhanced informed image watermarking scheme using the posterior HMM. The key point for this situation is to let both the encoder and decoder obtain (nearly) identical HMM parameter sets. This can be achieved by imposing strong attacks on the original and received images and then using the attacked versions to estimate HMM parameter sets. In the interest of obtaining high robustness to JPEG compression, we take the JPEG compression attack with a small QF as the strong attack. According to numerical simulations, the small QF of 5 can be reasonably considered as an optimum QF for practical use. Based on this setting, we developed a posterior-HMM-based informed watermarking scheme. Extensive simulations show that the proposed posterior-HMM-based informed watermarking scheme is highly robust to the attacks of JPEG compression, AWGN, gain attacks, and LPGF. It is also observed that the proposed scheme is comparable to its prior counterpart but eliminates the transmission of the prior HMM as side information to the receiver. This well enhances the practical application of HMM-based informed watermarking systems. In addition, the proposed scheme is demonstrated to have the performance comparable to the state of the art [19] with significantly reduced computation time.

#### Conflict of Interests

The author declares that he has no conflict of interests regarding the publication of this paper.

#### Acknowledgments

This work is supported by the National Natural Science Foundation of China under Contract 61202467 and the Scientific Research Foundation for Returned Overseas Chinese Scholars, the State Education Ministry.

#### References

- B. Chen and G. W. Wornell, “An information-theoretic approach to the design of robust digital watermarking systems,” in
*Proceedings of the IEEE International Conference on Acoustics, Speech, and Signal Processing (ICASSP '99)*, vol. 4, pp. 2061–2064, Phoenix, Ariz, USA, March 1999. - I. J. Cox, M. L. Miller, and A. L. Mckellips, “Watermarking as communications with side information,”
*Proceedings of the IEEE*, vol. 87, no. 7, pp. 1127–1141, 1999. View at Publisher · View at Google Scholar · View at Scopus - J. Chou, S. S. Pradhan, and K. Ramchandran, “On the duality between distributed source coding and data hiding,” in
*Proceedings of the 33rd Asilomar Conference on Signals, Systems, and Computers*, vol. 2, pp. 1503–1507, Pacific Grove, Calif, USA, October 1999. View at Publisher · View at Google Scholar - C. E. Shannon, “Channels with side information at the transmitter,”
*IBM Journal of Research and Development*, vol. 2, no. 4, pp. 289–293, 1958. View at Publisher · View at Google Scholar - M. H. M. Costa, “Writing on dirty paper,”
*IEEE Transactions on Information Theory*, vol. 29, no. 3, pp. 439–441, 1983. View at Google Scholar · View at Scopus - B. Chen and G. W. Wornell, “Quantization index modulation: a class of provably good methods for digital watermarking and information embedding,”
*IEEE Transactions on Information Theory*, vol. 47, no. 4, pp. 1423–1443, 2001. View at Publisher · View at Google Scholar · View at Scopus - P. Moulin and J. A. O'Sullivan, “Information-theoretic analysis of information hiding,” in
*Proceedings of the IEEE International Symposium on Information Theory (ISIT '00)*, Sorrento, Italy, June 2000. - P. Moulin, “The role of information theory in watermarking and its application to image watermarking,”
*Signal Processing*, vol. 81, no. 6, pp. 1121–1139, 2001. View at Publisher · View at Google Scholar · View at Scopus - A. S. Cohen and A. Lapidoth, “The Gaussian watermarking game,”
*IEEE Transactions on Information Theory*, vol. 48, no. 6, pp. 1639–1667, 2002. View at Publisher · View at Google Scholar · View at Scopus - W. Yu, A. Sutivong, D. Julian, T. M. Cover, and M. Chiang, “Writing on colored paper,” in
*Proceedings of the IEEE International Symposium on Information Theory (ISIT '01)*, p. 302, Washington, DC, USA, June 2001. View at Scopus - P. Moulin and Y. Wang, “Capacity and random-coding exponents for channel coding with side information,”
*IEEE Transactions on Information Theory*, vol. 53, no. 4, pp. 1326–1347, 2007. View at Publisher · View at Google Scholar · View at Scopus - J. J. Eggers, J. K. Su, and B. Girod, “A blind watermarking scheme based on structured codebooks,” in
*Proceedings of the IEE Seminar on Secure Images and Image Authentication*, pp. 1–6, London, UK, April 2000. - S. Voloshynovskiy, F. Deguillaume, S. Pereira, and T. Pun, “Optimal adaptive diversity watermarking with channel state estimation,” in
*3rd Security and Watermarking of Multimedia Contents*, vol. 4134 of*Proceedings of SPIE*, pp. 673–685, San Jose, Calif, USA, January 2001. View at Publisher · View at Google Scholar · View at Scopus - J. J. Eggers, R. Bäuml, and B. Girod, “Estimation of amplitude modifications before SCS watermark detection,” in
*4th Security and Watermarking of Multimedia Contents*, vol. 4675 of*Proceedings of SPIE*, pp. 387–398, San Jose, Calif, USA, January 2002. View at Publisher · View at Google Scholar · View at Scopus - F. Pérez-González, C. Mosquera, M. Barni, and A. Abrardo, “Rational dither modulation: a high-rate data-hiding method invariant to gain attacks,”
*IEEE Transactions on Signal Processing*, vol. 53, no. 10, pp. 3960–3975, 2005. View at Publisher · View at Google Scholar · View at Scopus - F. Ourique, V. Licks, R. Jordan, and F. Pérez-González, “Angle QIM: a novel watermark embedding scheme robust against amplitude scaling distortions,” in
*Proceedings of the IEEE International Conference on Acoustics, Speech, and Signal Processing (ICASSP '05)*, pp. II797–II800, Philadelphia, Pa, USA, March 2005. View at Publisher · View at Google Scholar · View at Scopus - C. Chen and X. Wu, “An angle QIM watermarking algorithm based on watson perceptual model,” in
*Proceedings of the 4th International Conference on Image and Graphics (ICIG '07)*, pp. 324–328, Sichuan, China, August 2007. View at Publisher · View at Google Scholar · View at Scopus - H. S. Malvar and D. A. F. Florêncio, “Improved spread spectrum: a new modulation technique for robust watermarkimg,”
*IEEE Transactions on Signal Processing*, vol. 51, no. 4, pp. 898–905, 2003. View at Publisher · View at Google Scholar · View at Scopus - M. L. Miller, G. J. Doërr, and I. J. Cox, “Applying informed coding and embedding to design a robust high-capacity watermark,”
*IEEE Transactions on Image Processing*, vol. 13, no. 6, pp. 792–807, 2004. View at Publisher · View at Google Scholar · View at Scopus - A. Abrardo and M. Barni, “Informed watermarking by means of orthogonal and quasi-orthogonal dirty paper coding,”
*IEEE Transactions on Signal Processing*, vol. 53, no. 2, pp. 824–833, 2005. View at Publisher · View at Google Scholar · View at Scopus - C. Wang, J. Ni, and J. Huang, “An informed watermarking scheme using hidden Markov model in the wavelet domain,”
*IEEE Transactions on Information Forensics and Security*, vol. 7, no. 3, pp. 853–867. View at Publisher · View at Google Scholar - C. Wang, J. Ni, R. Zhang, G. R. Kwon, and S. J. Ko, “Content-adaptive robust image watermarking with posterior HMM-based detector,”
*IEICE Transactions on Fundamentals of Electronics, Communications and Computer Sciences*, vol. 91, no. 8, pp. 1953–1960, 2008. View at Publisher · View at Google Scholar · View at Scopus - M. S. Crouse, R. D. Nowak, and R. G. Baraniuk, “Wavelet-based statistical signal processing using hidden Markov models,”
*IEEE Transactions on Signal Processing*, vol. 46, no. 4, pp. 886–902, 1998. View at Publisher · View at Google Scholar · View at Scopus - J. Ni, R. Zhang, J. Huang, and C. Wang, “A robust multi-bit image watermarking algorithm based on HMM in wavelet domain,” in
*Proceedings of the 4th International Workshop on Digital Watermarking*, vol. 3710 of*Lecture Notes in Computer Science*, pp. 110–123, 2005. View at Publisher · View at Google Scholar · View at Scopus