BioMed Research International

Volume 2014 (2014), Article ID 313078, 15 pages

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

## Combining Haar Wavelet and Karhunen Loeve Transforms for Medical Images Watermarking

^{1}LE2I Laboratory, Burgundy University, Dijon, France^{2}Electronics and Microelectronics Laboratory, University of Monastir, Tunisia

Received 9 November 2013; Accepted 19 February 2014; Published 7 April 2014

Academic Editor: Achim Langenbucher

Copyright © 2014 Mohamed Ali Hajjaji et al. 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

This paper presents a novel watermarking method, applied to the medical imaging domain, used to embed the patient’s data into the corresponding image or set of images used for the diagnosis. The main objective behind the proposed technique is to perform the watermarking of the medical images in such a way that the three main attributes of the hidden information (i.e., imperceptibility, robustness, and integration rate) can be jointly ameliorated as much as possible. These attributes determine the effectiveness of the watermark, resistance to external attacks, and increase the integration rate. In order to improve the robustness, a combination of the characteristics of Discrete Wavelet and Karhunen Loeve Transforms is proposed. The Karhunen Loeve Transform is applied on the subblocks (sized ) of the different wavelet coefficients (in the HL2, LH2, and HH2 subbands). In this manner, the watermark will be adapted according to the energy values of each of the Karhunen Loeve components, with the aim of ensuring a better watermark extraction under various types of attacks. For the correct identification of inserted data, the use of an Errors Correcting Code (ECC) mechanism is required for the check and, if possible, the correction of errors introduced into the inserted data. Concerning the enhancement of the imperceptibility factor, the main goal is to determine the optimal value of the visibility factor, which depends on several parameters of the DWT and the KLT transforms. As a first step, a Fuzzy Inference System (FIS) has been set up and then applied to determine an initial visibility factor value. Several features extracted from the Cooccurrence matrix are used as an input to the FIS and used to determine an initial visibility factor for each block; these values are subsequently reweighted in function of the eigenvalues extracted from each subblock. Regarding the integration rate, the previous works insert one bit per coefficient. In our proposal, the integration of the data to be hidden is 3 bits per coefficient so that we increase the integration rate by a factor of magnitude 3.

#### 1. Introduction

Medical imaging is an important tool and essential in the diagnosis and decisions made by health professionals. In this context, several techniques and imaging models have been proposed by many authors. Among these techniques, the most common are MRI, Echographic images, Radiographic images, and Mammographic images. These techniques have proven to be very successful in diagnosing, and so forth.

However, these diagnoses are often insufficient or inconclusive due to the complexity of the diseases or the limitation of the imaging techniques themselves. Therefore, developing new tools enable physicians, usually located in different regions or countries, to collaborate remotely, in order to get a better diagnosis which has become increasingly widespread and necessary. This trend is known as telemedicine. The main problem of these endeavors arises when managing the integrity and confidentiality of data on the internet against pirates. Several solutions based on the use of access control techniques exist, but they remain elusive and hence the appearance of watermarking techniques in order to ameliorate the security control of the network in which those medical images [1–3] are shared [4].

In the general case, digital watermarking is a technique that consists in hiding information in a digital document (indelible or invisible depending in the nature of the document and hence the name) to ensure security in the intended service (copyright, integrity, and nonrepudiation). A special feature of watermarking compared to other techniques is that the watermark is intimately linked to the associated document and resistant to attacks. Therefore, the watermarking is theoretically independent of the file format and it can be detected or extracted even if the document has changed or is incomplete.

This paper is organized as follows. Section 2 presents the problem and criteria for a digital watermarking system. Related work is provided in Section 3. Section 4 deals with the proposed watermarking technique. Section 5 presents a methodology for adjusting of the visibility factor. The insertion and extraction of the watermark are, respectively, represented in the Sections 6 and 7. The simulation, validation, and the evaluation of the proposed algorithm are represented in the Section 8. Finally, Section 9 concludes the paper.

#### 2. Problem and Criteria for a Digital Watermarking System

Watermarking techniques require various features according to their areas of application and their underlying objectives. The hidden watermark in an image must satisfy three basic conditions: robustness, imperceptibility, and capacity. They are not independent of each other; rather they are closely related [5].

##### 2.1. Imperceptibility

The watermark should not affect the quality of the original image after any watermarking operation. Cox et al. [6] define the imperceptibility as visual similarity between the original and watermarked images. The watermark must be inserted in a way that is completely invisible to the Human Visual System (HVS) [7].

The insertion process must not damage the host image; that is, the watermarked image has to be visually equivalent to the original image. Not only the image should not be distorted, but also the watermark must be hidden and invisible, otherwise it could be easily removed. In general, the more the imperceptibility is low, the more the robustness and capacity are strong.

##### 2.2. Capacity

The ability of a watermarking system refers to the ratio of the “Amount of data” to hide on the “size of the host document” [8]. Sometimes the size of the watermark is limited just to 1 bit. In general, the more the capacity is low, the more the robustness and the imperceptibility are strong.

##### 2.3. Robustness

Robustness [9] is the resistance of the watermark system against intentional transformations of the watermarked image. These transformations can be of geometric type (rotation, cropping); they can also include all types of degradation of the image frequencies (lossy compression, high pass filter, or low pass filter). In general, the more the robustness is low, the more the capacity and the imperceptibility are strong.

Many ongoing efforts on watermarking techniques are being carried out with the aim of optimizing these three aforementioned criteria. Moreover, these three parameters are closely related to a pattern of watermarking images so any modification of one of these factors influences directly the others (Figure 1).

#### 3. Related Works

In this section we present an in-depth review of digital image watermarking techniques. It describes the previous works which had been done on digital watermarking by using DWT technique.

In [10] Anuradha and Singh proposed a watermarking system aimed at protecting the copyright and the control of the integrity related to the digital products. The multiresolution space, obtained by Haar Wavelet Transform, is used for hiding the watermark in the 3rd level of decomposition. The horizontal, vertical, and diagonal subbands are processed for inserting the totality of the watermark.

In [11] Kashyap proposed a blind watermarking system in the 3rd level Discrete Wavelet Transform. The idea consists in hiding a watermark in the low frequency subband. For insertion, Kashyap defined the visibility factor in function of scaling factor of the subbands of the original image and the watermark. The insertion step follows the next formula: where WMI is low frequency component of watermarked image, is the low frequency component of the original image obtained by 3-level DWT, and is the low frequency component of Watermark image. and are the scaling factors of the original image and the watermark, respectively.

In [12] Peter Cika describes a new watermarking method based on two-dimensional wavelet transform and the Singular-Value Decomposition. The diagonal matrix (after decomposition on SVD) is used for inserting the watermark after decomposition on wavelet transform.

In [13] Kannammal and Subha Rani proposed a watermarking system for medical images authentication. The proposed space, for hiding information, is the low frequency subband after the first level of the wavelet transform decomposition. The components chosen to hide the watermark are selected by the random numbers generated, which have the integers value from 0 to . The watermark is the hash value of the MSBs of different coefficients selected to hide the watermark. The output of the hash function is embedded into the selected coefficients, and it is combined with the MSBs to get the watermarked coefficients.

In [14] Rawat and Raman proposed a dual watermarking scheme based on Discrete Wavelet Transform (DWT), Wavelet Packet Transform (WPT) with best tree- and Singular-Value Decomposition (SVD). Using subsampling of the cover image, four subimages are obtained and they calculate their SVD values. They chose and two subimages which contain the highest sum of SVD for embedding two different watermarks. The watermarks W1 and W2 are embedded with two different methods. For embedding the first watermark, they apply the WPT in l level; afterwards the best tree is chosen. The insertion step consists in combining the two diagonals matrices of the SVD transforms of the watermark and the best tree. For the second watermark, the DWT in l level is applied. Then they calculate the SVD of different subbands. For the insertion step, they applied the same method for embedding W1.

In [15] Yang et al. presented a watermarking algorithm based on the Integer Wavelet Transform (IWT). The low-high (LH) and high-low (HL) subbands are used for hiding the watermark. The simulations show good results in terms of the watermarked image quality. The proposed schema is robust against several attacks such as brightness, inversion, and compression attack.

In [16] Makbol and Khoo presented a watermarking algorithm based on the Redundant Discrete Wavelet Transform (RDWT) and the Singular-Value Decomposition. The watermark to be inserted is a gray scale image. The insertion step is applied directly in the SVD components of the RDWT subbands of the host image.

In [17] Latif proposed a new watermarking method based on the Parametric Slant-Hadamard Transform. To ameliorate the imperceptibility factor, the authors have exploited the masking characteristics of the Human visual System using Fuzzy Inference System. The experimental results show that the proposed technique has a high imperceptibility as well as a high robustness against several attacks.

For controlling the authentication, Al-Saif et al. [18] propose a new watermarking method applied on the gray scale image. The proposed space is the Karhunen Loeve Transform. The eigenvalues are used for hiding the watermark.

Most methods found in the literature fail to optimize the compromise existing in the digital watermarking (robustness, imperceptibility, and capacity). Moreover, all previous works use a logo to be hidden in the original image which is not the case concerning medical imaging.

In this paper, we propose a new simple methodology applied on medical imaging. The basic idea consists in preserving the visual quality of the original image to increase the rate related to data to be inserted and to enhance the robustness of our method against many attacks.

#### 4. Proposed Watermarking Technique

In this section, we explain the proposed algorithm for embedding the totality of the patient's data in a medical image. Before the insertion, the patient's data undergoes many steps with the aim at increasing the level of integration and better ensuring its extraction after applying different attacks. The insertion procedure is done by adding to the image frequency components, proper to the original image, data related to the patient.

The following expression explains the integration procedure of the watermark on the image frequency values: with (i) being the th old coefficient to support the watermark;(ii) being the th new watermarked coefficient;(iii) being the th bit to hide;(iv) being named often the visibility factor. The visibility factor is an important factor in the watermarking system. If is big, we win in terms of the robustness but we lose in terms of imperceptibility and vice versa.

In order to achieve an optimal imperceptibility, it is necessary to go through a stage of preparation of the insertion space. The rationale behind our contribution is based on the use of the subbands obtained after applying the second level wavelet decomposition then followed by the subdivision stage in which they are further subdivided into smaller subblocks sized . After that, we calculate the Karhunen Loeve Transform on each subblock and embed the watermark. Finally, the inverse transforms are performed to obtain watermarked image.

To evaluate the performance of our algorithm; an extraction phase is applied on the watermarked image. In addition, the Normalized Cross-Correlation (NC) is carried out to evaluate the similarity between the original and the extracted data. The proposed process is summarized in Figure 2.

##### 4.1. Determining the Regions to Be Watermarked

In our method, we propose to use a combination of two transformations on the original image for embedding the watermark.

First, the second level Haar Wavelet Transform [19] is carried out. In this stage, each subband is formed of subblocks of coefficients. Second, we chose the frequency subbands, such as HH2, HL2, and LH2. The principal characteristic of the high frequency subbands is that the edges and textures usually are found here more prominently. They are used with the aim to accord the visibility factor with psychovisual characteristics of these subbands. Third, we subdivide HH2, HL2, and LH2 into subblocks sized . Finally, the Karhunen Loeve Transform is applied.

Figure 3 presents the steps for the preparation of the regions where the watermark will be hidden.

##### 4.2. Preparation of the Watermark

Most of the algorithms, found in the literature for embedding watermarks, propose to integrate directly binary data in frequency components chosen in the original image, after multiplication by a visibility factor. However, it is necessary in the medical imaging domain to take into account the integration rate given that the amount of information to be hidden in the host image (name, age, sex, diagnosis, and signature) can be significant. The idea consists in using the data from the patient (the watermark) as an index for insertion, after its transformation into an octal sequence. This index services as an address to access a row among 8 of each sub-block.

Algorithm 1 illustrates the typical example of the data from a patient and which can be inserted in the image.

The computation steps for the index table are performed as follows.(i)For controlling the authenticity of the patient's record, a signature owned by the hospital center is generated. For this purpose, the SHA-1 hash function [20] is used.(ii)Convert the rest of data file into a binary sequence and concatenate it with the binary signature. Thus, we obtain a message which will be coded in the following steps.(iii)For improving the reliability and the detection of the hidden data, we apply the concept of channel coding. So, the message is coded by the serial Turbocode [21].(iv)The whole of coded binary sequence is assumed to be equal to “,” where is less or equal to . is the total number of subblocks in subbands (LH2, HL2, and HH2). The binary sequence is then converted into the octal representation format. We then generate three addressing tables of identical sizes equal to . We start by filling the first table to contain addresses for indexing LH2 subband by the first values of the octal presentation sequence. By the remaining octal indexing values, we fill the second table related to HL2 and the third table related to HH2, respectively.(v)For the insertion process, we start by the subblocks of values each; extracted from HL2, the first values of the first indexing table are selected for their uses during the insertion in this subband. Afterwards, the same process is applied on the second values of the indexing table related to LH2. The rest of indexing table data is then used for the insertion in the third subband HH2.

Figure 4 summarizes the different steps to follow to prepare the index table related to the original data to be inserted. These tables are subsequently used for indexing a pseudorandom sequence generated with a secret key for embedding and extracting of the watermark.

#### 5. Adjustment of the Visibility Factor

The principal problem in the watermarking domain is the compromise between imperceptibility, robustness, and the integration rate. However, the problem of the integration rate can be solved by collecting the different data to be inserted, with the goal of minimizing the necessary modifications on the image. Concerning the robustness and the imperceptibility, they are directly related to the visibility factor known as “.” Therefore, it is very important to take into account this compromise. A good compromised can be achieved by weighting the visibility factor according to the Human Visual System HVS [7]. One of the main contributions of this work consists in proposing a method in which data is inserted in the LH2, HL2, and HH2 subbands after their decompositions into Karhunen Loeve components [22]. The idea is to weight the value of alpha according to each subblock.

After the multiresolution transform, the totalities of the subbands (HL2, LH2, and HH2) are divided into subblocks sized .

For the adjusting of the visibilities factors values, a two-step algorithm is applied. In the first step, the visibility factors are defined in function of contrast sensibility, entropy sensibility, and homogeneity factor, which are extracted from the subblocks of the different subbands (LH2, HL2, and HH2). Proportionally to the different subbands, these visibility factors are named, respectively, , , and .

In the next step, the sum of , , and is used to determine the final visibility factor named , , and . Their weights are based on the properties of the Karhunen Loeve space.

Figure 5 describes the general steps to follow for setting the visibilities factors values.

The remainder of this section details how the visibilities factors are obtained, depending on LH2, HL2, and HH2 and on the eigenvalues extracted using the Karhunen Loeve Transform.

##### 5.1. Fuzzy Inference System and Frequency Subbands for Determination of the Visibility Factor

Figure 6 summarizes the procedure for determining the primary values of the optimal visibility factors related to the visual characteristics of the different subbands.

In the HVS, among the most important factors, three properties are employed in the watermarking algorithm: contrast sensitivity, entropy sensitivity, and homogeneity sensitivity. These factors are extracted by Cooccurrence matrix (CM) [23].

The entropy sensitivity measures the degree of disorder on the image. It attains high values for a random texture; thus, the more the entropy is high, the more the reinforcement of the visibility factor is possible.

The contrast sensitivity is often important when moving from a low gray level (or high) to a high gray level (or low). This is the case in the transition regions in an image. In this case, the more the contrast sensitivity is high, the more the reinforcement of *α* is possible.

The homogeneity sensitivity reflects the fact that we often encounter or not the same pair of pixels separated by the translation “” (after application of the cooccurrence matrix). Its value is high if the image is a gray uniform. Therefore, when the homogeneity sensitivity is small, it is possible to reinforce the visibility factor *α*. In the proposed method, we integrate an intelligent process which is able to automate the value of the visibility factor in terms of the psychovisual quality of the corresponding insertion space.

This process is used in the so-called Fuzzy Inference Systems: in such a system, the contrast sensitivity , homogeneity sensitivity , and the entropy sensitivity are taken as inputs for estimating the adaptive weight visibility factors .

Using the Fuzzy Inference System enables us to increase the visibility factor *α* in the less sensitivity areas (High texture, important contrast, and small homogeneity), while at the same time decreasing the value of the visibility factor in more sensitive areas (important homogeneity, small contrast, and small entropy). For this purpose, the fuzzy logic [24] is used.

In general, it is based on the idea of the human experts, by their subjective and qualitative descriptions of behavior of watermarking method with natural language. The principle of the fuzzy logic is similar to the human behavior. It is based on the linguistic variables related to the human language. Moreover these variables are determined by some empirically experiments.

As shown in Figure 7, a Fuzzy Inference System is composed of three principal blocks:(i)a Fuzzification step converts the numeric values to degrees of membership of different fuzzy set;(ii)an Inference engine step that contains different rules;(iii)Defuzzification step to generate a net worth for *α* which represents the output of the fuzzy system.

When applying fuzzy logic to image watermarking, it is very important to determine the essential elements to find the optimal value for adjusting . Those elements are the fuzzy variables, inference rules, and the membership functions.

The Fuzzy variables, also called linguistic variables, do not only take binary values but also have an infinite number of possible values between the “logic true” and the “logic false.” The Fuzzy variables are involved in the description of certain situations, phenomenon, or process generally containing fuzzy qualifiers. For example, (as shown in Figure 8) for the entropy sensitivity we use the following fuzzy variables: Low texture, Medium textured, and High texture.

Inference rules and fuzzy rules are used for linking the different variables of the fuzzy system with its input variables and fuzzy outputs. These rules come in the following form: If (condition 1) and/or condition () then (action on the outputs).

We summarize that these rules make the experience of the expert and they are usually not uniquely definable as each individual creates his own rules. To do this, we define two notions:(i)the membership functions that define the degree of truth of fuzzy variable depending on the input;(ii)the fuzzy intervals which determine the number of fuzzy variables.

The input and output membership functions exploited are shown in Figure 8. It must be noted that this approach enables us to adjust the entropy (or homogeneity and the contrast) membership function in such a manner that best fits to the properties of the image.

In consequence, the approximations of the inferred values are optimized and used to generate an adaptive value strength for the inserted watermark. The membership functions used in our algorithm are the triangular and trapezoidal functions.

Concerning the evaluation of the output system, in fuzzy logic, the Defuzzification phase is used for translating the fuzzy values into numerical values. This step is done by using the membership functions. In our approach, the inference results are subsequently computed by means of the minimum-maximum Defuzzification method. In this manner, we determine the initial visibility factors noted , , and .

##### 5.2. Impact of the Karhunen Loeve Transform on the Visibility Factor

Given an image (in our case sized ) formed by 8 columns of 8 rows each. Let us call those columns for ; we calculate the covariance matrix of the image [22]:

Since is real and symmetric, it is always possible to find a set of 8 orthonormal eigenvectors. Let and , , be the eigenvectors and corresponding eigenvalues of , arranged in decreasing order so that for . Let be a matrix whose rows are formed of the eigenvectors of , arranged so that the first row of is the eigenvector corresponding to the largest eigenvalue, and the last row is the eigenvector corresponding to the smallest eigenvalue. The Karhunen Loeve Transform (also known as the Principal Components Transform) and its inverse (IKLT) may then be defined as

This operation has a few key features. First, the Karhunen Loeve Transform decorrelates the signal components of KLT, suggesting that we could reconstruct each Karhunen Loeve component separately in the Karhunen Loeve domain as a sequence of independent reconstructions. Second, the Karhunen Loeve Transform tends to compact the original block content with the eigenvectors stemming of the eigenvalues. This advantage will be used for the weighting again of the visibility factors (already defined in terms of multiresolution space).

At the Karhunen Loeve Transform, different eigenvectors , for , present the main directions that carry energy in the image.

However, the eigenvectors are closely related to the eigenvalues our idea is to weight the value of alpha in function to different eigenvalues .

Whether for , in this case the value of is inversely proportional to values; that is, (). In this case if, for example, the insertion will take place on , the value of is equal to .

In conclusion, after determining by the psychovisual characteristics, it will be reweighted (depending on the column just before the calculation of the Karhunen Loeve transform matrix) for forming the final value of the visibility factor .

#### 6. Proposed Insertion Algorithm

##### 6.1. Choice of Components to Support the Watermark

Suppose that the input subblock, sized , is represented by a matrix . The Karhunen Loeve Transform can be represented by

After performing the matrix multiplication for , the 64 components , and are given by

The Inverse Karhunen Loeve Transform can be represented as

After performing the matrix multiplication for , the 64 pixels , and are given by

If we modify the eight coefficients in (), the distortions will be spread on the totality of the KLT () matrix. This means that the underlying image will be modified. When the IKLT matrix is computed, significant modifications in the components of the first row are produced. This feature enables us to easily identify the exact location of the watermark. Therefore, it can be concluded that a change in () produces a noticeable (and thus detectable) change in the first column of the IKLT matrix.

##### 6.2. Embedding Steps

Our approach is based on the combination of Haar Wavelet and Karhunen Loeve Transforms for hiding the watermark. The embedding process is described as follows.(i)By using the Haar Wavelet Transform, we decompose the original image into second level subband. After that, LH2, HL2, and HH2 are extracted and decomposed into subblocks sized .(ii)The Karhunen Loeve Transform is applied on the different subblocks.(iii)Using a secret key, we generate a pseudorandom sequence Key () in which each number can take a value of either 0 or 1. Then this sequence is multiplied by the visibility factor, related to the subblock to be watermarked.(iv)With the th block to be watermarked, the th value of the index table, and the binary sequence generated by the key (after multiplication by the final value of *α*), the embedding process can be initiated. Depending on the value “” () of the index table, the values of the (th + 1) column of eigenvector () are combined with Key multiplied by . This step will be stopped after we finish the values of different indexing tables.(v)Perform the Inverse Karhunen Loeve Transform.(vi)Perform the Inverse Haar Wavelet Transform to obtain the watermarked image.(vii)Display watermarked image.

Figure 9 shows the insertion algorithm applied on the second subband LH2 (the same steps are applied on the HL2 and HH2).

Figure 10 shows the insertion step in the matrix on the Karhunen Loeve component.

#### 7. Proposed Extraction Algorithm

Generally, the extraction phase follows the reverse steps with respect to the insertion. We have the original image “” and the watermarked image “.”(i)The second Haar Wavelet Transform is applied on the original and watermarked images.(ii)Extract the subbands of the second decomposition LH2, HL2, and HH2.(iii)Decompose the different subbands into subblocks sized .(iv)Compute the difference, all the blocks (two by two) between subblocks own to I and those related to .(v)In the proposed method, the inserted watermark is the binary sequence generated by a secret key after their multiplying by the visibility factor. For extraction, the resulting difference matrices () are compared, term by term, with threshold noted ( is determined empirically): (vi)Calculate the correlation between the secret key and all row of . The number of the column containing the maximum correlation value indicates the extracted index value ().

Figure 11 illustrates the different steps to follow for extracting the index table related to LH2 (the same step is applied on the watermarked subbands HL2 and HH2).(vii)Concatenate all indexing tables extracted from different subbands, and convert them to binary data.(viii)Apply the decoder algorithm (serial Turbocode) [22].

Finally, the patient data is extracted, verified, and eventually corrected.

#### 8. Validation of the Proposed Method

For medical images, the watermark must be imperceptible. The watermarked image should be widely similar to the original image so as not leading to a misdiagnosis.

The validity of any watermarking algorithm can become more important than testing it against various attacks types.

For this, we subject the watermarked medical image to a series of attacks and test the sensitivity of the watermark and its ability to detect any change in the image. After application of each attack, the entirety of embedded watermark is extracted and compared through similarity analysis with the original marks (, ) to ensure that these marks are not damaged by the attacks applied on the image.

##### 8.1. Watermark Detection Tools

The measure of “degree of reliability” of the detected watermark is accomplished by the “calculation of distances” between the inserted and detected watermark. This measure is carried out using the Normalized Cross-Correlation [13]. The Normalized Cross-Correlation (NC) of two signals consists in computing their dependence. The NC is defined as where , indicate, respectively, the original and the extracted watermark and and correspond, respectively, to the mean of the original and extracted watermark. In the literature, a NC value which is equal or above 0.75 denotes an acceptable extracted watermark [23].

##### 8.2. Peak Signal to Noise Ratio (PSNR)

Among the most important distorting measures in image processing is the Peak Signal to Noise Ratio, PSNR [25]. It is an assessment of the decibel difference between the original image and one that is processed. In fact, a PSNR below 30 dB image can be considered useless. The PSNR is defined by the following formula: where and are the number of rows and columns of the image which contains pixels, is the host image, and is the watermarked image.

##### 8.3. Weighted Peak Signal to Noise Ratio (WPSNR)

The Peak Signal to Noise Ratio PSNR is based on comparing pixel to pixel the original image and the received watermarking image. The WPSNR proposed by Voloshy Noviskiand and al. [26] is defined by the following formula:

With representing the local variance of pixel at location , is the intensity value of the pixel in the original image, and the intensity value of the pixel in the image under test. and are, respectively, the height and width of the image.

##### 8.4. Experimental Results

Regardless of the domain or the method for hiding of the watermark, it is very important to have a good PSNR and WPSNR values; this is especially true in the medical imaging domain. This work has been applied to different Radiographic images sized of pixels of resolution of 8 bits/pixel. We start analysing our experimental results by a preliminary study, that is to say, a study without the application of attacks on the watermarked images.

Figure 12 shows the original medical images and watermarked ones. We notice that the Human Visual System does not distinguish the difference caused by the marking.

The first test of robustness for an attack is the application of the JPEG 2000 compression. It must be noted that the image compression algorithms are particularly aggressive for watermarked images. We have chosen to apply different image compression ratios to the watermarked images as shown in Table 1 which presents the results of simulations showing the NC values between the original and extracted watermark after image compression attacks.

After applying the JPEG2000 image compression attacks, we remark that even when varying the compression rate factor between 10% and 70%, the NC factor remains equal to 1. We conclude that the proposed approach makes the inserted watermarks resistant to this type of attacks.

The second kind of attacks tests is the application of several types of digital filters. In our experiments, we applied median, wiener, and low pass digital filtering attacks. Table 2 shows PSNR, WPSNR, and the Normalized Cross-Correlation (NC) factor of Radiographic watermarked image robustness of our watermarking schema against these attacks with different window sizes of the filters.

We notice that our proposed method is very effective against these types of attacks (NC is equal to 1 regardless of the size of the filter).

The third attack is the application of two types of noise: Gaussian noise and Salt & Pepper noise. Tables 3 and 4 illustrate the PSNR, WPSNR, and the NC before watermarking and after applying these attacks.

In general, it is necessary to test our schema against noise. The applied attacks are Gaussian noise (with different variance factors) and Salt & Pepper noise attack (varying the density factors). The different tests show that the proposed method attains good results, with for most of the cases.

The fourth type of attack applied is the geometric transform such as the rotation attack and cropping. Table 5 shows the PSNR, WPSNR, and the NC values after applying the rotation attack according to the rotation angle. Table 6 shows the PSNR, WPSNR, and the NC values after applying the cropping attack with various sized window.

Among the most dangerous attacks applied on a several watermarking algorithms are the geometric transforms. The proposed tests are the cropping attack (with different windows) and the rotation attack. The obtained results give us an NC equal or close to 1.

##### 8.5. Evaluation of the Proposed Algorithm

In this section, the proposed watermarking method is investigated by comparing our results to those cited in the subsection of the related work.

Comparing the psychovisual quality of the original image and the watermarked image, the proposed algorithm yields very good results. In the absence of attacks, the PSNR equal to 56.8716 and WPSNR equal to 67.7058 are obtained, yielding results that are approximately equal or often better than those algorithms previously cited in the related section of the works.

After applying many attacks, it is necessary to evaluate the Normalized Cross-Correlation (NC). Among the most serious attacks is the attack by image compression such as JPEG 2000. In present paper, our applied algorithm is very effective against this kind of attacks. The NC value stills equal to 1 when the rate of image compression goes from 10% to 70%. This obtained result is more accurate than all results quoted precisely where the NC decreases with the increase of the image compression rate. To test our method against attacks based on digital filtering, many filter types are applied such as median filter, low-pass filter, and wiener filter, with various sized windows (). The obtained results of the NC are equal to 1.

To evaluate the proposed method against the noise, we attacked watermarked images by two types of noises such as the Salt & Pepper and Gaussian noise. We obtained very promising results; the NC is always equal to 1.

We also tested our method against geometric transforms attacks (cropping and rotation). The obtained NC values are very close to 1. Compared to the previous works, our proposed method gives results near to those found in the literature.

#### 9. Conclusion

The present work is a new robust watermarking algorithm combining the Haar Wavelet and the Karhunen Loeve Transforms. The main contribution of this paper consists in improving the three principal factors existing in all watermarking systems (robustness, imperceptibility, and integration rate). To do so, we came across many steps.

In order to improve the factor of imperceptibility, we used the high frequency (second subband of the Haar Wavelet Transform) to hide the watermark. The Fuzzy Inference System is used to determine the visibility factor according to the proper characteristics of the insertion plan. Each subband (LH2, HL2, and HH2) is subdivided into subblocks sized . Then, the Karhunen Loeve Transform is applied in order to decorrelate the different wavelets coefficients. Indexing tables are then used to choose the location of components supporting the watermark. At this stage, the visibility factors determined by the FIS (, , and ) are adapted according to the weights of the eigenvalues to determine the final visibility factors (, , and ).

Our contribution concerning the robustness is the use of the ECC by means of the serial Turbocode. We obtained good results in terms of the extracted watermark which is similar to the original. Our principal idea to increase the integration rate by a factor 3 consists in inserting the octal representation of the watermark.

To evaluate the performance of our method, the proposed system is applied on medical images. Several tests are performed, such as digital filtering, JPEG 2000 compression, adding noise, and geometric transformation. The results show that our method is very robust against these attacks. It supports image compression attacks such as JPEG 2000 up to 70% compression ratio.

Our experiments have also shown that our method is resistant to digital filtering attacks. We noticed that the extracted watermark is similar to the original watermark.

To evaluate the resistance of our proposal against the geometric transformation attacks, image rotation techniques and cropping are applied on watermarked images. Here again, the watermark extraction was faithful.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgment

This work has been supported by the Pharmimage Project by Regional Council of Burgundy, France.

#### References

- Z. Brahimi, H. Bessalah, A. Tarabet, and M. K. Kholladi, “Selective encryption techniques of JPEG2000 codestream for medical images transmission,”
*WSEAS Transactions on Circuits and Systems*, vol. 7, no. 7, pp. 718–727, 2008. View at Google Scholar · View at Scopus - C. Chemak, J. C. Lapayre, and M. S. Bouhlel, “A new scheme of image watermarking based on 5/3 wavelet decomposition and turbo-code,”
*WSEAS Transactions on Biology and Biomedicine*, vol. 4, no. 4, pp. 45–52, 2007. View at Google Scholar - Y. I. Khamlichi, M. Machkour, K. Afdel, and A. Moudden, “Medical image watermarked by simultaneous moment invariants and content-based for privacy and tamper detection,” in
*Proceedings of the 6th WSEAS International Conference on Multimedia Systems & Signal Processing*, pp. 109–113, Hangzhou, China, April 2006. - T. Duy Hien, Z. Nakao, and Y.-W. Chen, “Robust multi-logo watermarking by RDWT and ICA,”
*Signal Processing*, vol. 86, no. 10, pp. 2981–2993, 2006. View at Publisher · View at Google Scholar · View at Scopus - C. E. Moucary and B. E. Hassan, “A novel blind digital watermarking technique for stegano-encrypting information using nine-AC-coefficient prediction algorithm with an innovative security strategy,”
*WSEAS Transactions on Signal Processing*, vol. 5, no. 11, pp. 359–368, 2009. View at Google Scholar · View at Scopus - I. J. Cox, J. Kilian, F. T. Leighton, and T. Shamoon, “Secure spread spectrum watermarking for multimedia,”
*IEEE Transactions on Image Processing*, vol. 6, no. 12, pp. 1673–1687, 1997. View at Publisher · View at Google Scholar · View at Scopus - Y. Zhang, “Blind watermark algorithm based on HVS and RBF neural network in DWT domain,”
*WSEAS Transactions on Computers*, vol. 8, no. 1, pp. 174–183, 2009. View at Google Scholar · View at Scopus - R. O. Preda and D. N. Vizireanu, “A robust digital watermarking scheme for video copyright protection in the wavelet domain,”
*Measurement*, vol. 43, no. 10, pp. 1720–1726, 2010. View at Publisher · View at Google Scholar · View at Scopus - W.-B. Lee and T.-H. Chen, “A public verifiable copy protection technique for still images,”
*The Journal of Systems and Software*, vol. 62, no. 3, pp. 195–204, 2002. View at Publisher · View at Google Scholar · View at Scopus - Anuradha and R. P. Singh, “DWT based watermarking algorithm using Haar wavelet,”
*Journal of Electronics and Computer Science Engineering*, vol. 1, no. 1, pp. 1–6, 2012. View at Google Scholar - N. Kashyap, “Image watermarking using 3-level discrete wavelet transform (DWT),”
*International Journal of Modern Education and Computer Science*, vol. 4, no. 3, pp. 50–56, 2012. View at Google Scholar - P. Cika, “Watermarking method based on discrete wavelet transform and singular value decomposition,”
*Elektrorevue*, vol. 3, no. 1, pp. 45–49, 2012. View at Google Scholar - A. Kannammal and S. Subha Rani, “Authentication of medical images using integer wavelet transforms,”
*International Journal of Emerging Technology and Advanced Engineering*, vol. 2, no. 9, pp. 104–108, 2012. View at Google Scholar - S. Rawat and B. Raman, “Best tree wavelet packet transform based copyright protection scheme for digital images,”
*Optics Communications*, vol. 285, no. 10-11, pp. 2563–2574, 2012. View at Publisher · View at Google Scholar · View at Scopus - C.-Y. Yang, C.-H. Lin, and W.-C. Hu, “Reversible data hiding for high-quality images based on integer wavelet transform,”
*Journal of Information Hiding and Multimedia Signal Processing*, vol. 3, no. 2, pp. 142–150, 2012. View at Google Scholar - N. M. Makbol and B. E. Khoo, “Robust blind image watermarking scheme based on redundant discrete wavelet transform and singular value decomposition,”
*International Journal of Electronics and Communications (AEÜ)*, vol. 67, no. 2, pp. 102–112, 2013. View at Google Scholar - A. Latif, “An adaptive digital image watermarking scheme using fuzzy logic and tabu search,”
*Journal of Information Hiding and Multimedia Signal Processing*, vol. 4, no. 4, pp. 250–271, 2013. View at Google Scholar - K. I. Al-Saif, S. K. Ebraheem, and G. T. Yuonis, “Copyright authentication by using Karhunen-Loeve transform,”
*Journal of University of Anbar for Pure Science*, vol. 6, no. 2, pp. 1–8, 2012. View at Google Scholar - L. Li, H.-H. Xu, C.-C. Chang, and Y.-Y. Ma, “A novel image watermarking in redistributed invariant wavelet domain,”
*Journal of Systems and Software*, vol. 84, no. 6, pp. 923–929, 2011. View at Publisher · View at Google Scholar · View at Scopus - Federal Information Processing Standards Publication, “Secure Hash Standard,” 180-2, 2002.
- S. Gastan,
*Codage de canal pour les communications optiques [M.S. thesis]*, 2009. - K. R. Castleman,
*Digital Image Processing*, Prentice Hall, Upper Saddle River, NJ, USA, 1996. - M. J. Mateo, D. J. O'Callaghan, and C. P. O'Donnell, “Comparison between red-green-blue imaging and visible-near infrared reflectance as potential process analytical tools for monitoring syneresis,”
*Journal of Dairy Science*, vol. 93, no. 5, pp. 1882–1889, 2010. View at Publisher · View at Google Scholar · View at Scopus - S. Oueslati, A. Cherif, and B. Solaiman, “A fuzzy watermarking approach based on the human visual system,”
*International Journal of Image Processing*, vol. 4, no. 3, pp. 218–231, 2010. View at Google Scholar - K. Amal and S. Hamad, “A robust non-blind algorithm for watermarking color images using multi-resolution wavelet decomposition,”
*International Journal of Computer Applications*, vol. 37, no. 8, pp. 33–39, 2012. View at Google Scholar - P. Bas,
*Méthode de tatouage d’images fondée sur le contenu [Ph.D. thesis]*, Institut Polytechnique de Grenoble, 2000.