• 沒有找到結果。

以小波為基礎並利用雙浮水印與人類視覺系統之多功能彩色浮水印技術

N/A
N/A
Protected

Academic year: 2021

Share "以小波為基礎並利用雙浮水印與人類視覺系統之多功能彩色浮水印技術"

Copied!
74
0
0

加載中.... (立即查看全文)

全文

(1)

資訊管理研究所

以小波為基礎並利用雙浮水印與人類視覺系統之多

功能彩色浮水印技術

Wavelet Based Multipurpose Color Image Watermarking by Using

Dual Watermarks with Human Vision System Models

研 究 生:林志文

指導教授:蔡銘箴 博士

(2)

以小波為基礎並利用雙浮水印與人類視覺系統之多功能彩色浮

水印技術

Wavelet Based Multipurpose Color Image Watermarking by Using Dual

Watermarks with Human Vision System Models

研 究 生:林志文

指導教授:蔡銘箴

Student:Chih-Wen Lin

Advisor:Min-Jen Tsai

國 立 交 通 大 學

資 訊 管 理 研 究 所

碩 士 論 文

A Thesis

Submitted to Institute of Information Management College of Management

National Chiao Tung University in Partial Fulfillment of the Requirements

for the Degree of Master of Science

in

Information Management June 2007

Hsinchu, Taiwan, Republic of China

(3)

以小波為基礎並利用雙浮水印與人類視覺系統之多功能彩色浮水印技術

學生:林志文 指導教授:蔡銘箴 博士

國立交通大學資訊管理研究所碩士班

摘 要

本論文中,我們提出一套完整的數位浮水印架構,以同時解決數位內容所有權保 護與驗證之議題,我們將可視與半易碎型浮水印(雙浮水印)結合並嵌入彩色圖片數位 內容之中,可視浮水印將對所有權保護產生效用,半易碎型浮水印則在驗證浮水印圖 片的完整性與一致性,防止有心人對可視浮水印圖片進行破壞,使其失去所有權保護 之效能。 在設計可視浮水印系統時,比較重要的條件和需求為半透明性與強韌性,但這兩 者互為取捨,本研究中,我們發現人類視覺系統 HVS (Human Visible System)-對比敏 感函數 CSF (Contrast Sensitive Function) 與 雜訊可見函數(Noise Visibility Function)

可以在兩者之間取得一個適當的平衡點,透過CSF 與 NVF 可以得知圖片全域與區域

性的特性以便進行可視浮水印的嵌入,同時加入小波雜訊可視門檻值(DWT Noise Visibility thresholds) 調整浮水印加入的權重,使可視浮水印有較佳的視覺效果並兼任 強韌性。在半易碎型浮水印系統中,此演算法可以正確判斷竄改之位置,並可以容忍 無意間的攻擊類型(例如:JPEG 壓縮與 Additive White Gaussian Noise 加成性白色高斯 雜訊),達到驗證之功能。實驗結果顯示,我們產生出來的可視浮水印圖片比其他提出 演算法有較好的視覺品質並有較佳的強健性,對於近年藉由影像重建理論(Image Recovery)抹除可視浮水印,也有較佳的抵抗能力。

(4)

Wavelet Based Multipurpose Color Image Watermarking by Using Dual

Watermarks with Human Vision System Models

Student: Chih-Wen Lin Advisor: Dr. Min-Jen Tsai

Institute of Information Management

National Chiao Tung University

ABSTRACT

In this study, we propose a complete architecture based on digital watermarking techniques to solve the issue of copyright protection and authentication for digital contents. We apply visible and semi-fragile watermarks as dual watermarks where visible watermarking is used to establish the copyright protection and semi-fragile watermarking authenticates and verifies the integrity of the watermarked image.

In order to get the best tradeoff between the embedding energy of watermark and the perceptual translucence for visible watermark, the contrast-sensitive function (CSF) and noise visible function (NVF) of perceptual model is applied which characterizes the global and local image properties and identifies texture and edge regions to determine the optimal watermark locations and strength at the watermark embedding stage. In addition, the perceptual weights according to the basis function amplitudes of DWT coefficients is fine tuned for the best quality of perceptual translucence in the design of the proposed watermarking algorithm. Furthermore, the semi-fragile watermark can detect and localize malicious attack effectively yet tolerate mild modifications such as JPEG compression and channel additive white Gaussian noise (AWGN). From the experimental results, our proposed technique not only improves the PSNR values and visual quality than other algorithms but also preserves the visibility of the watermark visible under various signal processing and advanced image recovery attacks.

(5)

ACKNOWLEDGMENT

I would like to express my sincere appreciation to my advisor, Dr. Min-Jen Tsai for his valuable guidance and patience during the two years period in Chiao-Tung University, and the three orals commissioners Dr. Long-Wen Chang, Dr. Suh-Yin Lee, and Dr. Chun-Shien Lu for their helpful comments and guidance. In addition, I am very thankful to my faculty members, Chih-Cheng Chien, Yuan Fu Luo, Ching Ting Lin, Yin Kai Hung, for their discussions, suggestions and help at all times.

Then, I want to give my deepest love and gratitude to my girl friend, Joahanna Lee. Without her support and patience, this thesis might not achieve on time and even could not be accomplished. I really thank her for care and endless love.

Finally, I want to deeply appreciate my parents. They are the most important support behind me. Their love and encouragement with them were very constructive for me to accomplish this work.

(6)

Contents

摘 要 ... ii 

ABSTRACT ... iii 

ACKNOWLEDGMENT ... iv 

List of Tables ... vi 

List of Figures ... vii 

I. Introduction ... 1 

1.1 Intellectual Property ... 1 

1.2 Digital Watermarking ... 2 

1.3 Organization of the Dissertation ... 7 

II. Related Works ... 8 

2.1 Visible watermarking ... 8 

2.2 Image Authentication and Temper Detection ... 11 

III. Proposed Algorithm for Copyright Protection and Image Authentication ... 14 

3.1 Human Visual System Model ... 14 

3.1.1 CSF (Contrast Sensitive Function) ... 15 

3.1.2 NVF (Noise Visibility Function) ... 18 

3.2 DWT noise detection thresholds ... 20 

3.3 Visible watermarking Algorithm ... 21 

3.4 Image Authentication (Semi -Fragile watermark) Algorithm ... 25 

IV. Experimental Results and Discussion ... 30 

4.1 Visual Effect ... 34 

4.2 PSNR (Peak Signal-Noise Ratios) ... 36 

4.3 JPEG 2000 Compression ... 37 

4.4 Median Filter ... 40 

4.5 ICA (Independent component analysis) Image recovery Attack ... 43 

4.6 Tamper Detection ... 49 

V. Conclusion and future work ... 59 

(7)

List of Tables

Table 1 The basic function amplitudes for a five-level 9/7 DWT ... 20 

Table 2 PSNR summary of watermarked color images ... 36 

Table 3 PSNR summary of watermarked color images before and after JPEG 2000 Compression ... 38 

Table 4 PSNR summary of watermarked color images before and after Median Filter ... 41 

Table 5 Lena (NCTU logo): Robustness against AWGN and JPEG compression. ... 54 

Table 6 Lena (IIM logo): Robustness against AWGN and JPEG compression. ... 54 

Table 7 Baboon (NCTU logo): Robustness against AWGN and JPEG compression. ... 54 

Table 8 Baboon (IIM logo): Robustness against AWGN and JPEG compression. ... 54 

Table 9 lake (NCTU logo): Robustness against AWGN and JPEG compression. ... 54 

Table 10 lake (IIM logo): Robustness against AWGN and JPEG compression. ... 55 

Table 11 Peppers (NCTU logo): Robustness against AWGN and JPEG compression. ... 55 

Table 12 Peppers (IIM logo): Robustness against AWGN and JPEG compression. ... 55 

Table 13 Lena (NCTU logo): Robustness against AWGN and JPEG compression by using Bi18/10 Filter. ... 57 

Table 14 Lena (NCTU logo): Robustness against AWGN and JPEG compression by using Bi9/7 Filter. ... 57 

(8)

List of Figures

Fig. 1 Watermark embedding process. ... 6 

Fig. 2 Watermark extraction process. ... 6 

Fig. 3 Luminance CSF. ... 15 

Fig. 4 DWT CSF mask with 11 unique weights. ... 16 

Fig. 5 The adequate modulation rate for each subband. ... 17 

Fig. 6 βλ θ, in different DWT level and orientation ... 22 

Fig. 7 The flow chart of the proposed visible watermarking approach ... 24 

Fig. 8 The flow chart of the proposed semi-fragile watermark approach ... 27 

Fig. 9 The flow chart of authentication and tamper detection algorithm approach ... 29 

Fig. 10 Two watermark images:(a) NCTU logo (b) IIM logo ... 31 

Fig. 11 (a) original Lena image (b) watermarked Lena image by the method in Huang and Tang (c) watermarked Lena image by the proposed algorithm ... 31 

Fig. 12 (a) original Lena image (b) watermarked Lena image by the method in Huang and Tang (c) watermarked Lena image by the proposed algorithm ... 31 

Fig. 13 (a) original Baboon image (b) watermarked Baboon image by the method in Huang and Tang (c) watermarked Baboon image by the proposed algorithm ... 32 

Fig. 14 (a) original Baboon image (b) watermarked Baboon image by the method in Huang and Tang (c) watermarked Baboon image by the proposed algorithm ... 32 

Fig. 15 (a) original Lake image (b) watermarked Lake image by the method in Huang and Tang (c) watermarked Lake image by the proposed algorithm ... 32 

Fig. 16 (a) original Lake image (b) watermarked Lake image by the method in Huang and Tang (c) watermarked Lake image by the proposed algorithm ... 33 

Fig. 17 (a) original Peppers image (b) watermarked Peppers image by the method in Huang and Tang (c) watermarked Peppers image by the proposed algorithm ... 33 

Fig. 18 (a) original Peppers image (b) watermarked Peppers image by the method in Huang and Tang (c) watermarked Peppers image by the proposed algorithm ... 33 

Fig. 19 The visual comparison of close-ups for images to figure 11 through 18 (a) close-ups of the original images (b) close-ups of the watermarked images by the method in Huang and Tang (c) close-ups of the watermarked images by the proposed algorithm35  Fig. 20 The visual quality comparison of close-ups of watermarked image after jpeg 2000 compression ratio of 100:3 (a) original image (b) watermarked images by the Huang and Tang’s method (c) watermarked image by the proposed algorithm ... 39  Fig. 21 The visual quality comparison of close-ups of 7x7 median filtering of watermarked

(9)

(c) watermarked image by the proposed algorithm ... 42 

Fig. 22 Recovering the public domain image (a) watermarked image (b) recovered image (c) watermarked image (d) recovered image ... 44 

Fig. 23 Recovering the watermarked images from our method (a) watermarked image with NCTU logo (b) recovered image from watermarked image with NCTU logo (c) watermarked image with IIM logo (d) recovered image from watermarked image with IIM logo ... 45 

Fig. 24 Recovering the watermarked images from our method (a) watermarked image with NCTU logo (b) recovered image from watermarked image with NCTU logo (c) watermarked image with IIM logo (d) recovered image from watermarked image with IIM logo ... 46 

Fig. 25 Recovering the watermarked images from our method (a) watermarked image with NCTU logo (b) recovered image from watermarked image with NCTU logo (c) watermarked image with IIM logo (d) recovered image from watermarked image with IIM logo ... 47 

Fig. 26 Recovering the watermarked images from our method (a) watermarked image with NCTU logo (b) recovered image from watermarked image with NCTU logo (c) watermarked image with IIM logo (d) recovered image from watermarked image with IIM logo ... 48 

Fig. 27 (a) Result (watermarked) image (b) Tampered image (c) Tampering detection ... 49 

Fig. 28 (a) Result (watermarked) image (b) Tampered image (c) Tampering detection ... 50 

Fig. 29 (a) Result (watermarked) image (b) Tampered image (c) Tampering detection ... 50 

Fig. 30 (a) Result (watermarked) image (b) Tampered image (c) Tampering detection ... 50 

Fig. 31 Tamper detection for mixing tampering operations and AWGN (a) watermarked image (b) tampered image (c) 2 6 σ = (d) 2 12 σ = (e) σ2 18 = (f) σ2= (g) 2 30 σ 24 = (h) σ2= 36 . ... 52 

Fig. 32 Tamper detection for mixing tampering operations and JPEG compression (a) QF=100 (b) QF=90 (c) QF=80 (d) QF=70 (e) QF=60 (f) QF=50. ... 52 

Fig. 33 (a) Dual watermarked image of Lena (b) Tampered dual watermarked image with watermark removal attack (c) Tampering Detection ... 53 

Fig. 34 (a) Dual watermarked image of Baboon (b) Tampered dual watermarked image with watermark removal attack (c) Tampering Detection ... 53 

Fig. 35 (a) Dual watermarked image of Lake (b) Tampered dual watermarked image with watermark removal attack (c) Tampering Detection ... 53 

Fig. 36 (a) Dual watermarked image of Peppers (b) Tampered dual watermarked image with watermark removal attack (c) Tampering Detection ... 53  Fig. 37 Tamper Detection after JPEG compression using different filters (QF) (a) QF=80 by

(10)

QF=60 by using Bi 9/7 Filter ... 56  Fig. 38 Tamper Detection after AWGN using different filters (a) 2

6 σ = by using Bi 18/10 Filter (b) 2 12 σ = by using Bi 18/10 Filter (c) σ2 18 = b (d) ) y using Bi 18/10 Filter 6 = by using Bi 9/7 Filter (e 2 σ 2 12 σ = by using Bi 9/7 Filter (f) by using Bi 9/7 Filter ... 57  2 18 σ =

Fig. 39 (a) Dual watermarked image of Lena and the size is 512×480 (b) Tampered dual watermarked image and the size is 512×480 (c) Tampering Detection ... 58 

(11)

I. Introduction

1.1Intellectual Property

We are now in an era of knowledge-based economy. At the core of such an economy, intellectual property becomes the critical issue we concerned. Intellectual property acts like real property and surrounds us in nearly everything we do. Books, music, digital multimedia, and any kind of arts actually belong to the authors who made it, and the authors have the rights to restrict access to intellectual property [1].

Intellectual property refers to creations of the mind: inventions, literary and artistic works, and symbols, names, and images used in commerce. Intellectual property is divided into two categories [1]:

z Industrial Property: Industrial property, which includes inventions (patents), trademarks, industrial designs, and geographic indications of source.

z Copyright: Copyright, which includes literary and artistic works such as novels, poems and plays, films, musical works, drawings, paintings, photographs and sculptures, and architectural designs.

There are several compelling reasons for promoting and protecting intellectual property. First, the progress and well-being of humanity rests on its capacity for new creations in the areas of technology and culture. Second, the legal protection of these new creations encourages the expenditure of additional resources, which leads to further innovation. Third, the promotion and protection of intellectual property spurs economic growth, creates new jobs and industries, and enhances the quality and enjoyment of life.

(12)

1.2 Digital Watermarking

Because of the advantages of digital media and rapid development of digital signal processing, a variety of multimedia contents have been digitalized and easily distributed or duplicated without any reduction in quality through both authorized and unauthorized distribution channels. With the ease of editing and reproduction, protection of the copyright and authentication of digital multimedia become an important topic in these years.

Over the last two decades, software, multimedia, and all digital content-driven industries, whether on the Internet or not, have also come to rely on effective copyright protection, especially as a revolution is underway in digital entertainment and marketing.

In the beginning, conventional encryption algorithms such as DES or RSA are directly adopted to protect digital media. In these cryptographic systems, only the valid users who have the correct decryption key can decrypt the encrypted content and use it. But once such content is decrypted the users can duplicate and retransmit it again and again, the authors still have no way to track. Therefore, conventional cryptography is not a good way to solve this issue.

Digital watermarking [2] has been extensively researched and regarded as a potentially effective means for protecting copyright of digital media in recent years, since it makes possible to embed secret information in the digital content to identify the owner of it. Digital watermarking describes methods and technologies that allow hiding information, for example a number sequence or recognizable pattern, in digital media, such as images, video and audio. A lot of digital watermarking techniques have been proposed by many researchers and can be divided into various categories and in various ways [3]. One important classification is to divide digital watermarking algorithms into visible and invisible ones according to the perceptivity of watermark data in watermarked contents.

(13)

Visible watermarking schemes protect copyrights in a more active method. They not only prevent pirates but also recognize the copyright of multimedia data. Digital contents embedded with visible watermarks will overlay recognizable but unobtrusive copyrights patterns identifying its ownership. Therefore, a useful visible watermarking technique should remain details of contents and ensure embedded patterns difficult or even impossible to be removed, and no one could use watermarked data illegally.

An effective visible watermarking algorithm usually requires meeting a set of requirements [4]. These requirements include:

z The watermark in the marked digital contents should be obvious and recognizable to any person having normal or corrected visual accommodation, even if that person is color-blind. Clearly, the visible watermark should be visible in both color and monochrome images

z It should be possible to adjust the strength of embedding applied to digital contents by referring to the characteristics of the digital contents, so the watermark could be made as obtrusive or unobtrusive as desired and didn’t introduce any artifacts. It should not only protect the digital contents from unauthorized uses but also not make it so unattractive that no one is interested in viewing it.

z The patterns of the watermark in the embedded contents should be visible, and should form a recognizable symbol to identify contents owners or providers.

z All details of the unmarked digital contents should be preserved in the marked digital ones. It means that corresponding pixel values in marked regions between with original and watermarked digital contents should be different in brightness, but be the same in hue and saturation.

z The watermark should be very difficult to remove or robust to attacks. This is the meaning of robustness. Watermark removal, at a minimum, should be more costly and labor intensive than purchasing rights to use the digital data.

(14)

On the other hand, invisible watermark schemes can be broadly classified into three types: robust watermarks, fragile (or semi-fragile) watermarks and captioning watermarks [5]. For copyright protection and ownership verification, robust watermarks are adopted because they should be nearly resistant to any image processing operations as desired. For content authentication and integrity verification, fragile (or semi-fragile) watermarks are used because they are fragile to certain alterations and modifications of the authenticated multimedia. Semi-fragile watermarks are more practical than fragile watermarks, since they are robust to some mild modifications such as JPEG compression and channel AWGN (additive white Gaussian noise) causing by exchange and storage but fragile to malicious attacks like image cropping which crops objects from a source and pastes them onto a target. Captioning watermarks are mainly used for conveying side information, so the algorithms are required to convey more information than robust watermarks.

According to the conveyance of authentication data, fragile (or semi-fragile) watermarks can be classified into two main categories: labeling-based authentication scheme and watermarking-based authentication scheme. The watermarking-based authentication schemes embed the data into the original multimedia contrast to labeling-based authentication ones that store the authentication data in a separate file. Consequently, the authentication data becomes the integral part of the original multimedia and can be transmitted more efficiently and securely [6] [7]. In this paper, we focus on the semi-fragile watermarking based authentication scheme and some necessary requirements as follows [8]:

z The semi-fragile watermarks should satisfy robustness and fragility objectives simultaneously and have a quantitative mechanism to tradeoff between these objectives.

z For security, the semi-fragile watermarks should be secure to intentional tampering and be impossible for the opponent to create a fraudulent message.

(15)

z In the hiding processes, the semi-fragile watermarks must ensure the modifications of the media are imperceptible.

z For authentication embedding and verifying processes, the semi-fragile watermarks must be computationally efficient, especially for real time applications.

Regardless of exploiting the digital watermarking techniques, Fig. 1 and Fig. 2 describe the generic structure for watermark embedding and extraction processes. First, a host image (original image) directly embeds watermark in spatial domain or is transformed into frequency domain through the well-known spread spectrum approach, i.e. DFT (Discrete Fourier Transform), DCT (Discrete Cosine Transform) or DWT (Discrete Wavelet Transform). However, the algorithms using transform domain offer more robust than directly embedding watermark into spatial domain. Then, coefficients are passed through a perceptual analysis block that determines how strong of the watermark in embedding algorithm so that the resulting watermarked image is imperceptible. The secret key uses to generate watermark and watermark embedding location more. The watermark is embedded using a specific well-designed algorithm based on mathematical or statistical model. If the coefficients in frequency domain, the inverse spread spectrum approach is then adopted to obtain a watermarked image. The watermark extraction applies the similar operations in embedding processes. It employs the inverse operations or uses the mathematical or statistical characteristic to extract the embedded watermark. Watermark detection decides whether an image has been watermarked and the watermark exists or not by calculating the correlation between the embedded watermark and the extracted one.

(16)

Fig. 1 Watermark embedding process.

Fig. 2 Watermark extraction process.

The goal of this paper is to propose a novel scheme for copyright protection and authentication of color images by using visible watermark and semi-fragile watermark. For copyright protection, we present a differential visible watermarking algorithm based on noise reduction and Human Visible System (HVS) model to get the best tradeoff between the embedding energy of watermark and the perceptual translucence for visible watermark. The collaboration of CSF and NVF for HVS models is leveraged with the noise reduction of the visibility thresholds for HVS in DWT domain. The perceptual weights is fine tuned for

(17)

watermark embedding which results significant improvement over the watermarked images by CSF only algorithms regarding the image quality, translucence and robustness of the watermarking. For authentication and verifying the integrity of the watermarked images, we applied a semi-fragile watermark algorithm which can detect and localize malicious attack effectively yet tolerate mild modifications such as JPEG compression and channel additive white Gaussian noise (AWGN). In our algorithm, the order of embedding is visible watermark first and semi-fragile watermark next.

1.3 Organization of the Dissertation

The rest of this paper is organized as follows. Related works about visible watermarking and image authentication will be introduced briefly in Section II. The details of the algorithm will be explained in Section III. Section IV will show the experiments results and discussion and conclusion is in Section VI, respectively.

(18)

II. Related Works

2.1 Visible watermarking

Visible watermarking techniques are used to protect copyright of digital multimedia (audio, image or video) that have to be delivered for certain purpose, such as digital multimedia used in exhibition, digital library, advertisement or distant learning web, while illegal duplicate is forbidden. From the literature survey, the visible watermarking has captured greater attention than the invisible one [9] since there are not only different visible watermarking approaches either in spatial or transform domain but also various visible watermark removal schemes. We will briefly address different visible watermark techniques here and the removal schemes will be further discussed in Section IV.

Braudaway et al. [4] proposed one of the early approaches for visible watermarking by formulating the nonlinear equation to accomplish the luminance alteration in spatial domain. In this scheme, dimensions of watermark image are equal to those of the host image. There is a one-to-one correspondence between pixel locations in the watermark image and those in the host image. According to their brightness, pixels in the watermark image can be divided into transparent and nontransparent ones. The brightness of each pixel in the host image in proportion to the nontransparent regions of the watermark will be increased or reduced to a perceptually equal amount by using nonlinear equation while the brightness of each pixel in proportion to the transparent regions of the watermark will remain the same after watermark embedding. They formulate the nonlinear equation by using an approximately color space, such as the CIE 1976 (L*u*v*) space and the CIE (L*a*b*) space and various parameters of the nonlinear equation are applied to make the watermark difficult to remove.

(19)

the discrete cosine transform (DCT) domain by adding visible watermarks in video sequences. Mohanty et al. [11] proposed a watermarking technique called dual watermarking by combining of a visible watermark and an invisible watermark in the spatial domain. The visible watermark adopted to establish the owner’s right to the image and invisible watermark to check the intentional and unintentional tampering of the image. Chen [12] has proposed a visible watermarking mechanism to embed a gray level watermark into the host image based on a statistic approach. First, the host image is divided into equal blocks and the standard deviation in each block is calculated. The standard deviation value will determine the amount of gray value of the pixel in the watermark to be embedded into the corresponding host image.

Kankanhalli et al. [13] proposed a visible watermarking algorithm in the discrete cosine transform (DCT) domain. First, the host image and the watermark image are divided into 8x8 blocks. Then, they classify each block into one of 8 classes depending on the sensitivity of the block to distortion and adopted the effect of luminance to make a final correction to the block scaling factors. The strength of the watermark is added in varying proportions depending on the class to which the image block belongs. Kankanhalli et al. [14] proposed a modification to their above watermark insertion technique to make the watermark more robust.

Hu and Kwong [15-16] implemented an adaptive visible watermarking in the wavelet domain by using the truncated Gaussian function to approximate the effect of luminance masking for the image fusion. Based on image features, they first classify the host and watermark image pixels into different perceptual classes. Then, they use the classification information to guide pixel-wise watermark embedding. In high-pass subbands, they focus on image features, while in the low-pass subband, they use truncated Gaussian function to approximate the effect of luminance masking. Yong et al. [17] also proposed a translucent digital watermark in the DWT domain and use error-correct code to improve the ability to anti-attack.

(20)

Each of above schemes wasn’t devoted to better feature-based classification and the use of sophisticated visual masking models, so Huang and Tang [9] presented a contrast sensitive visible watermarking scheme with the assistance of HVS. They first compute the CSF mask of the discrete wavelet transform domain. Secondary, they use square function to determine the mask weights for each subband. Third, they adjust the scaling and embedding factors based on the block classification with the texture sensitivity of the HVS. However, their scheme doesn’t consider the following issues:

1. The basis function of the wavelet transform plays an important role during the application of CSF for the HVS in the wavelet transform domain.

2. The embedding factors emphasize more weights in the low frequency domain instead of the medium-to-high frequency domain.

3. The interrelationship of block classification and the characteristics of the embedding location.

For issues one, the direct application of CSF for the HVS in the wavelet transform domain needs to be further studied [18, 19, 20] while the basis function of the wavelet transform is a critical factor to affect the visibility of the noise in the DWT domain. For issue two, the watermark embedding in the low frequency components results high degradation of the image fidelity. In addition, the high frequency components of the watermarked image easily suffer common image signal processing attacks with low robustness. For issue 3, the plane, edge and texture block classification in [9] is a genuine approach should the local and global characteristics of wavelet coefficients be further considered.

(21)

2.2 Image Authentication and Temper

Detection

Many content authentication schemes which are based on digital watermarking have been proposed and can be classified as watermarking-based authentication schemes contrast to labeling-based ones [7]. Some fragile watermarking techniques [7], [21], [22], [23], [24] were usually based on the concept of checksum produced by secure hash functions (e.g. MD5, SHA160) to verify the completeness of an image. They can detect and localize tamper correctly, but they treat admissible manipulations such as JPEG compression and channel AWGN as malicious attacks. Therefore, fragile watermarks are less practical than semi-fragile watermarks, so we focus on semi-fragile watermarking techniques in this paper.

Some semi-fragile watermarking schemes have been proposed to verify the integrity of digital contents and tolerate some degree of mild modifications. For have a better understanding of what have been already presented, some semi–fragile methods can be seen and reviewed in [8] [25] representing the state of the art, image content authentication. The fragile (semi-fragile) watermarks can be embedded in the spatial domain or the transformed domain. The schemes using spatial domain are simpler than the ones using transformed by utilizing the least significant bit (LSB) of data. However, the schemes that embed watermark in the transformed domain offer a higher degree of robustness [2]. Recently, many semi-fragile methods are based on wavelet transform domain since it suffers simple image processing operations to obtain a highest degree of robustness and allows the method to have spatial and frequency localization of digital data by the nature of multiresolution discrete wavelet decomposition.

Kundur and Hatzinakos [26] proposed one of the first approaches to semi-fragile watermarking called telltale tamper proofing. They embed a watermark in the discrete wavelet

(22)

domain of the image by quantizing the corresponding coefficients. They claim their tamper detection determined both in localized spatial and frequency regions is unlike previously proposed techniques embed a watermark in the spatial domain;They only provide information on the spatial location of the changes but fail to give a more general characterization of the type of distortion applied to the signal. They also use a statistics-based tamper assessment function as measurement for tamper proofing and authentication.

H.P. Alexandre et al. [27] proposed a novel technique for content authentication of digital images by quantizing wavelet packet coefficients and adopting characteristics of the human visual system to maximize the embedding weights for improving good imperceptibility of watermarked image. According to the experiment results, their method is able to detect and localize malicious image modifications while offering a certain degree of robustness to image compression. A similar concept was also proposed in [28], where they proposed a discrete wavelet transform-based image semi-fragile watermarking scheme base on fusion of multi-resolution. The Watson’s quantization matrix [20] and the features of the human visual system are clearly adopted in the quantization process to get good quality of watermarked image. Z.M Liu et al. [29] presented a semi-fragile image watermarking technique based on index constrained vector quantization (VQ). However, the peak signal-to-noise ratio (PSNR) of their watermarked image is low and their scheme would waste storage and be not flexible for the codebook of vector quantization that should be known in both watermark embedding and extraction process.

Hua Yuan and Xiao-Ping Zhang [30] proposed a novel semi-fragile watermarking method based on image model using the Gaussian mixture model (GMM) in the wavelet domain. They modify selected wavelet coefficients according to the GMM parameters obtained through an EM algorithm. In experiment results, their scheme achieves minimum watermarking distortion and identifies mild modification from malicious attacks, but it treats AWGN as malicious attack.

(23)

Ding et al. [31] propose a wavelet-based chaotic semi-fragile watermarking scheme based on chaotic map and odd-even quantization. Their scheme can detect and localize malicious attacks with high peak signal-to-noise ratio (PSNR), while allowing more JPEG compression and channel additive white Gaussian noise (AWGN) tolerance. In [32], the authors presented a semi-fragile watermarking scheme for authenticating region of interest (ROI) of image. First, the reference mask is obtained by Poisson matting. Then, they embed watermark according to the reference mask, representing the region of interest of the image. Since [31] is superior in obtaining high PSNR and resisting JPEG and AWGN attacks among other semi-fragile approaches, we further modify the scheme and integrate it into the proposed dual watermark approach which will explained in the next section.

(24)

III. Proposed Algorithm for

Copyright Protection and Image

Authentication

3.1 Human Visual System Model

The most important requirements in the visible watermarking scheme are the robustness and translucence, but unfortunately these are in conflict with each other. If we increase the energy of watermark to improve its robustness, the problem we get is perceptual translucence and vice versa. Therefore, we have to decrease the energy of the watermark to get good perceptual translucence and so the embedded watermark will not be robust to signal processing, intentional and unintentional attacks. HVS (Human Visual System) is the key factor we have found in providing the good translucence of the watermarked image and a better robustness.

A lot of work has been devoted to understanding HVS and offering mathematical models of how humans see the world. Psychovisual studies have shown that human vision has different sensitivity from various spatial frequencies (frequency subbands). Recently, many researchers have applied this knowledge to digital watermarking techniques. In digital watermarking schemes there has been a need of a good perceptual analysis for image quality that incorporates properties of the HVS and of a good strength of the watermark to provide a better robustness. Common HVS models are composed of image dependent or independent Just Noticeable Difference (JND) thresholds, so the HVS by using the contrast sensitive function (CSF) and noise visibility function (NVF) is integrated in this study and will be explained in brief as following:

(25)

3.1.1 CSF (Contrast Sensitive Function)

The contrast sensitive function (CSF) describes human’s sensitivity to spatial frequencies. Mannos and Sakrison [33] originally presented a model of the CSF for luminance (or grayscale) images is given as follows:

1 . 1 ) * 114 . 0 ( * ) * 114 . 0 0192 . 0 ( * 6 . 2 ) ( f f e f H = + (1) where 2 2 y x f f

f = + is the spatial frequency in cycles/degree of visual angle (fx and fy are

the spatial frequencies in the horizontal and vertical directions, respectively). Fig. 3 depicts the CSF curve which characterizes luminance sensitivity of the HVS as a function of normalized spatial frequency. According to the CSF curve, we can see that the HVS is most sensitive to normalized spatial frequencies between 0.025 and 0.125 and less sensitive to low and high frequencies. Therefore, this knowledge from CSF can be used to develop a simple image independent HVS model.

(26)

CSF masking [18] [19] is one way to apply the CSF in the discrete wavelet domain. CSF masking refers to the method of weighting the wavelet coefficients according to their perceptual importance. Some well-designed CSF masks which transforms the CSF curve in Fig. 3 into perceptual importance weight are presented in [18]. Huang and Tang [9] use the same method led to 11-weight DWT CSF mask in the five-level wavelet transform. Fig. 4 illustrates the 11-weight DWT CSF mask with the weights shown for each subband.

2.33 1.00 2.33 4.74 3.75 4.74 7.20 5.30 5.30 3.21 3.55 3.48 3.78 3.48

Fig. 4 DWT CSF mask with 11 unique weights.

For a five-level pyramidal DWT decomposition, the HVS is most sensitive to the distortion in mid-frequency regions (level 3) and sensitivity falls off as the frequency value drifts on both sides (level 1, 2, 4 and 5). The square function (2) in [9] is applied to approximate the effect of CSF masking.

(27)

The adequate modulation rateβλ

for each subband is determined by:

2 2 ) rλ ( 7.20 0.01 7.20 λ

β

= + − (2)

whereλ denotes the decomposed level and rλ represents the wavelet coefficient CSF of the perceptual importance weight as shown in Fig. 4. The adequate modulation rateβλ

for each subband as shown in Fig. 5. The level 3 has the smallest rate for modulation.

0.75 0.75 0.46 0.46 0.12 0.23 0.12 0.01 0.08 0.08 0.31 0.26 0.27 0.23 0.27

(28)

3.1.2 NVF (Noise Visibility Function)

Many schemes embedded the watermark as random noise in the whole host image with the same strength regardless of the local properties of the host image, so the visible artifacts are easy taken placed at flat regions. S.Voloshynovskiy et al. [34] presented a stochastic approach based on the computation of a NVF (Noise Visibility Function) that characterizes the local image properties and identifies texture and edge regions. Accordingly, when the local variance is small, the image is flat, and a large enough variance indicates the presence of edges or highly texture areas.

Because human eyes are sensitive to changes in flat than edges regions of the image, ones can increase the energy of watermark in the edges and high textured areas of the image, and reducing it in smooth regions in similar peak-signal noise rate (PSNR). This allows us to determine the optimal watermark locations and strength for the watermark embedding stage. Therefore, this concept from NVF can be used to develop a simple image dependent HVS model.

They developed three such NVF Functions:

1. NVF Function with Non-Stationary Gaussian Model

2 1 ( , ) 1 x( NVF i j i, )j

σ

= + (3) 2 2 2 2 1 ( , ) ( ( , ) ( , )) (2 1) 1 ( , ) ( , ) (2 1) L L x k L l L L L k L l L With i j x i k j l x i j L x i j x i k j l L

σ

=− =− =− =− = + + + = + + +

∑ ∑

∑ ∑

where L as width of window, denotes the local variance in a window centered on the wavelet coefficient with coordinates (i, j). Therefore, the NVF is

) , ( 2 i j x σ

(29)

inversely proportional to the local image properties defined by the local variance.

2. NVF Function with Stationary GG (Generalized Gaussian) Model

2 ) , ( ) , ( ) , ( x j i w j i w j i NVF

σ

+ = (4) where γ η γ γ γ − = 2 ) , ( 1 )] ( [ ) , ( j i r j i

w and is the global variance of host

image. 2 x σ ) 1 ( ) 3 ( ) ( γ γ γ η Γ Γ

= , Γ(t)=

0euut−1du (gamma function) and

x j i x j i x j i r

σ

) , ( ) , ( ) ,

( = − . γ is the shape parameter and is determined by

the local mean and the local variance. For most of real images, the shape parameter is in the range

)

,

( j

i

r

1 3 . 0 ≤γ ≤ .

3. NVF Function with Empirical Model

) , j ( 1 1 ) , ( 2 i j i NVF x

θσ

+ = (5) where max 2 x D σ

θ= is a tuning parameter and is the local variance. is the maximum local variance and D ∈ [50, 100] is an experimentally determined parameter.

) , ( 2 i j x σ 2max x σ

(30)

3.2 DWT noise detection thresholds

In order to further improve the HVS model for better image quality, the knowledge of detection thresholds for DWT coefficients should be also studied. A.B. Watson, et al. [20] proposed a mathematical model for DWT noise detection thresholds which is a function of level, orientation, and display visual resolution. The model is given by:

2

)

f0

l o g Y = l o g a + K ( l o g fλ − l o g gθ (6)

Where

a

is the minimum threshold is occurs at spatial frequencyg fθ 0, fλ is the

spatial frequency of decomposition level

λ

, and gθshifts the minimum thresholds by an amount that is a function of orientation. Table 1 shows the basic function amplitudes for a 5-level DWT. In this paper, we use Aλ θ, indicating the basic function amplitudes, λ as DWT Level, and θ as Orientation.

Table 1 The basic function amplitudes for a five-level 9/7 DWT

Orientation Level 1 2 3 4 5 LL 0.62171 0.345374 0.18004 0.0914012 0.0459435 HL 0.672341 0.413174 0.227267 0.117925 0.0597584 LH 0.672341 0.413174 0.227267 0.117925 0.0597584 HH 0.727095 0.494284 0.286881 0.152145 0.0777274

(31)

3.3

Visible watermarking Algorithm

From above discussion, we have implemented the CSF based visible watermarking and found the direct application of CSF square function in [9] emphasizes more weights in the low DWT frequency domain. Subsequently, the watermark embedding in the low frequency components results high degradation of the image fidelity. In addition, this approach affects the quality of watermarked images and their PSNR values are often below 30dB for 512x512 color images. According to this observation, the concept of DWT noise detection threshold is adopted here to fine tune the perceptual weights by the basis function amplitudesAλ θ, from

[20]. Therefore, the perceptual weighting is modified as following:

2 , 2 , , , ,

(7.20

)

0.4

0.2

7.20

1

r

A

if

λ λ θ λ θ λ θ λ θ λ θ λ θ

β

β

α

β

=

+

×

>

= −

,

0.2

β

=

(7)

Here,

α

λ θ, and β are scaling and embedding factors, λ θ, λ as DWT Level, and θ as

Orientation where γλ is the wavelet coefficient CSF of the perceptual importance weight, as

Figure shown in Fig. 4. Fig. 6 shows β in different DWT level and orientation. λ θ, Meanwhile αλ θ, and βλ θ, are the global characteristics of the host image, and they are independent to digital images.

(32)

Fig. 6 βλ θ, in different DWT level and orientation

To further improve the application of block classification by simply categorizing three type blocks in [9], the local characteristics in DWT domain is considered. In our content adaptive scheme, a stochastic image model for watermark embedding is adopted by using the NVF which characterizes the local image properties and identifies texture and edge regions. In our scheme, we have found the stationary GG model is the most appropriate approximation in the embedding stage and the estimated shape parameter for γ = 0.65 and width of window is 1. The complete design of the visible watermarking algorithm is summarized as following and the flow chart is shown in Fig. 7:

(33)

Visible Watermarking embedding algorithm:

(1) The host color image is converted in the color space domain from RGB to YCrCb.

(2) By using Bi9/7 filter from [20], compute the 5-level 2-D wavelet coefficients of Y component from host color image and grayscale watermark image. If the width of watermark is not the same as the one of the host image, it should be proportionally scaled to the host image.

(3) Modify the DWT coefficients of the host image by using the following equation

, , , (1 , ) , , ,

i j i j i j i j i j

Y = αλ θ × X + − N V F × S × βλ θ + N V F × K × Si j, (8)

Note: (i, j) indicates the spatial location. X and S are the decomposed wavelet

coefficients of the host image and the watermark image. NVF is defined in formula (4) and the relationship of

α

λ θ, andβ is defined in formula (7). The constant of k denotes λ θ,

the embedding watermark strength for flat regions and the value 0.08 is adopted for this algorithm.

(4) Inverse transform the DWT coefficients of the host image to obtain a watermarked image (Y component).

(34)

Original Image

Color-space

Conversion

DWT

Watermark

Image

CSF

Masking

Basis

Function

Amplitudes

+

Y

IDWT

Visible watermarked

Image

Watermark

Embedding

DWT

α, β

X

Perceptual

Stochastic

Model

X

NVF

S

(35)

3.4 Image Authentication (Semi

-Fragile watermark) Algorithm

It is difficult to develop a visible watermarking algorithm that can avoid the watermark to be destroyed maliciously by expensive human labors using any software, especially while the texture content of the host image is uncomplicated. In order to detect such kind of tampering and verify the integrity of the visible watermarked images, we modified the image authentication (semi-fragile watermark) algorithm from [31] into the proposed visible watermarked image as a dual watermarking scheme for our complete architecture.

Semi-Fragile Watermark Generation and Embedding Algorithm:

The flow chart of semi-fragile watermark embedding is shown in fig. 8. The semi-fragile watermark embedding procedure are as following:

(1) Select parameters: K1 and K2 are the private keys of the scheme. q1 and q2 are the

quantization parameters.

(2) Select the Y (Luminance) component from 3.3 and compute the 2-level 2-D wavelet coefficients of it by using Bi18/10 filter,

r c

×

is the size of LL2.

(3) We refer to [35]’s chaotic system called toral automorphisms as chaotic map to get high security watermark. For general applying our algorithms, we also can use scrambling techniques like shuffle to get high security watermark and to solve the issue that the toral automorphisms only suits to square images by transforming two-dimensional matrix to one-dimensional matrix. Map Qnum= ⎢LL q2/ 1 and K1 as controlling parameter. Using

(36)

' 1 ' 1 1 mod

1

1

( ):

(

1

r num num

x

x

)

A k

r

od 2

Q

k

Q

k

y

y

⎡ ⎤ ⎡

⎤⎡ ⎤

=

⎢ ⎥ ⎢

+

+ +

⎥⎢ ⎥

⎢ ⎥

⎣ ⎦

⎣ ⎦

(9) ' ' ( , ) ( ) m W i j = x + y (10)

(4) We use K2 as random seed to create two-dimensional pseudo-random array

{

}

( , ) 1, 2, 3 ,1 1

location i j ∈ ≤ ≤i r ≤ ≤j c to determine the watermark embedding

location corresponding to

{

LH HL HH . 2, 2, 2

}

(5) The binary watermark is embedded into the visible watermarked image by using simple odd-even quantization. We define odd-even quantization function in formula (11) (12) (13) (14) (15). The formula performs quantization on ( , )X i j into odd-even region according

the binary watermark W. q2 is the quantization parameter.

{ }

2 2

( , ) ( ( , ), , ) 0,1

y i j = f x i j W q xR WqZ+ (11)

Note: (i, j) indicates the spatial location. X is the decomposed wavelet coefficients of the visible watermarked image.

2 2 0 ( , ) / 1 ( , ) / x i j q is even I x i j q is odd ⎧ ⎢ ⎥ ⎪ ⎣ ⎦ = ⎨ ⎢ ⎥ ⎪ ⎣ ⎦ ⎩ (12)

Note: ⎢ ⎥⎣ ⎦i denotes the floor function. ( , ) y i j is obtained as follows: 2 2 2 ' ( , ) / / 2 ( , ) r r x i j q q q x if I W y i j y x if I W ⎧ ⎢ ⎥× + + = ⎪ ⎣ ⎦ = ⎨ + ≠ ⎪⎩ (13)

(37)

[

]

2 2 2 2 2 2 2 2 ' 2 2 2 2 2 2 2 2 ( , ) / , ( , ) / / 2 ( , ) / / 2, ( , ) /

( , )/

1

/ 2

( , )/

1

/ 2

x x i j q q x i j q q q x x i j q q q x i j q q q

x i j q

q

q

if

y

x i j q

q

q

if

∈ × × + ∈ × + ×

− × +

= ⎨

+ × +

[

+ 2

]

(14) sg n( ( , ))( ( , ) m o r x = x i j x i j d 2 ) 2 2 2 (15) (6) Perform quantization on wavelet coefficients as follows pseudo code:

2 2 2 2 2 2 1 1 ( , ) 1: ( , ) ( ( , ), ( , ), ) 2 : ( , ) ( ( , ), ( , ), ) 3 : ( , ) ( ( , ), ( , ), ) For i to r For j to c SWITCH location i j CASE HL i j f HL i j W i j q CASE LH i j f LH i j W i j q CASE HH i j f HH i j W i j q = = = = =

(7) Inverse transform the DWT coefficients of the Y component. The Y component with visible and semi-fragile watermark is converted in the color space domain from YCrCb to RGB.

(38)

Semi-Fragile watermark Authentication and Tamper Detection algorithm:

The Fig. 9 shows the flow chart of watermark detection scheme, which is similar to the part of semi-fragile watermark embedding. The tamper detection procedure as follows:

(1) Select parameters: K1 and K2 are the private keys of the scheme. q1 and q2 are the

quantization parameters. The value of K1, K2, q1 and q2 are the same in embedding and

extraction processes.

(2) The obtained visible watermarked image is converted in the color space domain from RGB to YCrCb.

(3) Select the Y (Luminance) component and compute the 2-level 2-D wavelet coefficients of it,

r c

×

is the size of LL2.

(4) Use K1 and K2 to create two-dimensional pseudo-random arrays;

{ }

'( , ) 0,1 ,1 1

W i j ∈ ≤ ≤i r ≤ ≤j c and location i j( , )∈

{

1, 2, 3 ,1

}

≤ ≤i r 1≤ ≤j c.

(5) According to the ( , ) , we find the sub-band and the quantized coefficient, defined as

u i j

( , )

. The extract watermark may be obtained by the following formula (16):

location i j

''

2 m od

( , ) ( ( ( , ) / ) ) 2

W i j = ⎢ u i j q (16)

(6) Having obtained two watermarks W'andW'', we define the tamper detection matrix as

formula (17), If ' '', then T=0. It means the visible watermarked image was not tampered. Otherwise, the ‘1’ element in the tamper detection matrix indicates the pixels that were tampered.

W =W

' '

T = WW '

(17)

(7) Since the algorithm is designed to be semi-fragile watermarking scheme which would want to be robust to mild modifications in all cases, it is inevitable that we can’t detect all malicious attack in pixel-wise. However, for practical cases such as removal visible

(39)

watermark using neighbor pixels and image cropping which crops objects from a source and pastes them onto a target, the malicious attacks always be applied in a certain region in the watermarked image. That is to say, we assume tamper pixels are always continues. Therefore, for a certain tamper detection matrix element ( , )T i j , if the number of

tampered neighboring element for ( , )T i j is greater than a given threshold, we regard

( , )

T i j as a tampered one. The summary of such post-pro operation of tamper detection matrix is shown as following formula (18):

cessing '

1

,

(

,

)

(

L L k L l L L L k L l L

T i k j l

T

0

,

T i k j l

,

)

β

β

=− =− =− =−

+

+

>

⎪⎪

= ⎨

+

+

⎪⎩

∑ ∑

∑ ∑

Note: L as width of window,

β

as threshold.

(8) According to the DWT decomposition of the watermarked image, the size of tamper detection matrix is

r c

×

, which is about1/16 of the watermarked image. Thus one element in the matrix indicates a corresponding 4 4

(18)

× block in the watermarking image. Finally, we rescale the tamper detection matrix to have the same size of the watermarked

age and obtain the tamper detection image. im

Dual watermarked

Image & color space

conversion Chaotic Map (Toral Transform) DWT Integrity Decision Y HL 2, HL 2,HH 2 W floor(u(i,j)/q2) mod2 -W PP operation K1 Random Number Generator Location (i,j) K2 LL2

(40)

IV. Exper

lts and

ent their method by assuming the T1=1 and T2=350 to strong the energy of the waterm

ance analysis can be categorized as following:

imental Resu

Discussion

The proposed visible and semi-fragile watermarking algorithm has been implemented and intensively tested by using the commonly available color images from USC image database [36]. Because the evaluation standards for visible watermarking system are absent, we would compare our algorithm with previously proposed ones. To make the fair comparison with other visible watermarking considering HVS, the simulation of [9] is highly addressed here instead of the approaches from [4, 10-17]. Since the CSF based visible watermark technique from [9] has shown better performance than the methods from [16] and AiS Watermark Pictures Protector [37], we compared the results by [9] with the proposed approach and the performance of 512×512 colors images. In the Huang and Tang’s method [9], they didn’t describe the value of two thresholds used to classify the blocks of each subband, so we will implem

ark.

Two grayscale watermarks of logo image are embedded for illustration in Fig. 10 (a) NCTU LOGO (school logo) and Fig. 10 (b) IIM logo (department logo). The performance of 512x512 experimental images is tabulated in Fig. 11~18 for comparison purpose. Fig. 11~18 (a) show the original host images, these test images are named “Lena”, “Baboon”, “Lake”, “Peppers”. Fig. 11~18 (b) the results of the method in Huang and Tang’s watermarking algorithm from [9] are compared with the proposed approach and the results are in Fig. 11~18 (c). The perform

(41)

Fig. 10 Two watermark images:(a) NCTU logo (b) IIM logo

(a) (b) (c)

Fig. 11 (a) original Lena image (b) watermarked Lena image by the method in Huang and Tang (c) watermarked Lena image by the proposed algorithm

(a) (b) (c)

Fig. 12 (a) original Lena image (b) watermarked Lena image by the method in Huang and Tang (c) watermarked Lena image by the proposed algorithm

(42)

(a) (b) (c)

Fig. 13 (a) original Baboon image (b) watermarked Baboon image by the method in Huang and Tang (c) watermarked Baboon image by the proposed algorithm

(a) (b) (c)

Fig. 14 (a) original Baboon image (b) watermarked Baboon image by the method in Huang and Tang (c) watermarked Baboon image by the proposed algorithm

(a) (b) (c)

Fig. 15 (a) original Lake image (b) watermarked Lake image by the method in Huang and Tang (c) watermarked Lake image by the proposed algorithm

(43)

(a) (b) (c)

Fig. 16 (a) original Lake image (b) watermarked Lake image by the method in Huang and Tang (c) watermarked Lake image by the proposed algorithm

(a) (b) (c)

Fig. 17 (a) original Peppers image (b) watermarked Peppers image by the method in Huang and Tang (c) watermarked Peppers image by the proposed algorithm

(a) (b) (c)

Fig. 18 (a) original Peppers image (b) watermarked Peppers image by the method in Huang and Tang (c) watermarked Peppers image by the proposed algorithm

(44)

4.1 Visual Effect

From Fig. 11 (b) (c) 、Fig. 15 (b) (c) and Fig. 17 (b) (c), the proposed method has the closest luminance and chrominance maintenance compared with the original ones which are shown clearly from the photos even the difference is sometimes identified subjectively. The watermarked images by using [9] have more bright effect in the unmarked areas. On the other hand, translucence effect is one of requirements for an effective visible watermarking algorithm. The results from our proposed method have better translucence effect than Huang and Tang’s method to make photos look more natural, because the watermarked images by using [9] affect the details of the host (original) image more, especially in Fig. 15 (b) (c) and Fig. 16 (b) (c).

To further compare the details from the watermarked images, Fig. 19 demonstrates some of close-ups for comparison. Fig 19 (a) are the close-ups from original image. Fig 19 (b) are the close-ups from the watermarked images by using [9]’s method. Fig 19 (c) are the close-ups from the watermarked images by using our proposed scheme. It is very clear that the watermark’s edges and thin lines are blurred in Huang and Tang’s method contrast to our results. However, the watermark patterns in our proposed method still have sharp edge and the logo watermark is evidently embedded. For the text pattern, the text of character A in our results is with sharper edge than the same character in results from Huang and Tang’s method. In addition, the outlines in our results are clearer than those from Huang and Tang’s method.

(45)

(a) (b) (c) (a) (b) (c) (a) (b) (c) (a) (b) (c)

Fig. 19 The visual comparison of close-ups for images to figure 11 through 18 (a) close-ups of the original images (b) close-ups of the watermarked images by the method in Huang and

(46)

4.2 PSNR (Peak Signal-Noise Ratios)

To make a fair comparison with the method from [9], it is better to embed the same watermark for the same cover image. However, the watermark used in [9] is not available. We then embed two logo watermarks from Fig.10 to make the best effort for performance comparison. The tabulated results from TABLE 2 disclose that our watermarking scheme are with better statistical results and achieve higher PSNR values than the method in [9] where the PSNRs are generally below 30dB for different images. The low PSNRs have positive correlation with the degradation in image quality. This denotes the fidelity of images from our method is better than the Huang and Tang’s method. In addition, the PSNR values of dual watermarked images are only 0.2~0.4 less than those of visible watermark only images. This means that our proposed multipurpose design could achieve as good as high image quality of visible watermarking but also with extra function of invisible watermarks.

Table 2 PSNR summary of watermarked color images

Image Watermark

Huang and Tang’s method 【T1=1, T2=350】

Proposed Approach Visible watermark

only Dual watermarks

Lena NCTU Logo 27.0 dB 31.5 dB 31.2 dB

Lena IIM Logo 26.8 dB 32.7 dB 32.3 dB

Baboon NCTU Logo 27.1 dB 30.2 db 29.9 dB

Baboon IIM Logo 27.2 dB 31.0 dB 30.7 dB

lake NCTU Logo 26.2 dB 30.7 dB 30.5 dB

lake IIM Logo 26.1 dB 31.7 dB 31.3 dB

Peppers NCTU Logo 26.9 dB 31.4 dB 31.1 dB

(47)

4.3 JPEG 2000 Compression

We use StirMark software to test the robustness of the visible watermark and analyze the attacking results. We can clearly find the attacks from jpeg compression and median filter have ability to affect the structure of the visible watermark. In inverse, others attacks like rotation、noise are not able to influence the visible watermark. From above observations, we will list the results form jpeg compression and median filter as follows.

The robustness of the proposed dual watermark technique should be tested for comparison. For JPEG 2000 compression, software from [38] is adopted as the compression tool. The PSNR values before and after the jpeg 2000 compression are tabulated in TABLE 3. The compression ratio is 100:3 between the uncompressed image and compressed image. There are two columns of PSNR values for both methods labeled “after”. The pure “after” column means those PSNR values are compared between the compressed watermarked image and the original image. The after (wn) column means those PSNR values are compared between the compressed watermarked image and the watermarked image. From TABLE 3, we can find that the PSNR values are almost the same for both methods while the compressed watermarked images are compared with the watermarked images (after (wn) column). However, the PSNR values are higher while the compressed watermarked images are compared with the original images by the proposed approach than by the method of [9] (after column). Therefore, this statistic indicates that the image quality of watermarked image before and after compressed is higher by the proposed approach than the method of [9]. To further investigate the effect of compression, the visual difference can be illustrated by the close-up comparison. Fig. 20(a) show the close-ups of original images. From compression ratio of 100:3, Fig. 20(b) are the close-ups of watermarked images by Huang and Tang’s method. Fig. 20(c) are the close-ups of watermarked images by our proposed method. By comparing Fig. 30, the compressed images maintain the details of the logo pattern but the

(48)

characters E, S, A of watermarked images by our proposed method are more apparent than one of watermarked images by Huang and Tang’s method. In addition, the stripes of logo pattern of watermarked baboon image are almost disappearing in Huang and Tang’s method but still existing in our proposed method. This observation is consistent with the claim of our discussion in section II that the embedding factors in [9] emphasize more weights in the low frequency domain instead of the medium-to-high frequency domain while the high frequency components of the watermarked image easily suffer common image signal processing attacks like compression. Therefore, we can indicate that our proposed method is more robust than Huang and Tang’s method by jpeg 2000 compression attack from above observation where the visibility of watermark is surely higher by the proposed approach.

Table 3 PSNR summary of watermarked color images before and after JPEG 2000 Compression

Image Watermark

PSNR value (dB)

Method of [9] Proposed method

Before After After

(wn) Before After After (wn) Lena NCTU 27.0 26.0 34.5 31.2 29.2 33.8 Lena IIM 26.8 25.9 34.7 32.3 29.7 34.4 Baboon NCTU 27.1 23.0 26.1 29.9 24.1 26.5 Baboon IIM 27.2 23.0 26.1 30.7 24.2 26.6 lake NCTU 26.2 24.2 30.2 30.5 26.9 30.1 lake IIM 26.1 24.2 30.3 31.3 27.2 30.5 Peppers NCTU 26.9 22.7 27.4 31.1 24.8 26.8 Peppers IIM 26.9 22.8 27.3 32.1 25.1 26.9

(49)

(a) (b) (c) (a) (b) (c) (a) (b) (c) (a) (b) (c)

Fig. 20 The visual quality comparison of close-ups of watermarked image after jpeg 2000 compression ratio of 100:3 (a) original image (b) watermarked images by the Huang and

(50)

4.4 Median Filter

The robustness of Median filtering attack is also tested here and StirMark [39] software is adopted here for this attack. Since the results of 3×3 and 5×5 median filtering are similar to the illustration as shown in Fig. 11 ~ Fig. 18, a stronger attack as 7×7 median filtering is applied here for the comparison. The PSNR values before and after the median filtering are tabulated in TABLE 4. There are two columns of PSNR values for both methods labeled “after” and their meaning is the same as mentioned in the session of jpeg 2000 compression. From TABLE 4, we can find that the PSNR values are almost the same for both methods while the filtered watermarked images are compared with the watermarked images (after (wn) column). However, the PSNR values are higher while the filtered watermarked images are compared with the original images by the proposed approach than by the method of [9] (after column). Therefore, this statistic indicates that the image quality of watermarked image before and after filtered is higher by the proposed approach than the method of [9]. To further investigate the effect of median filtering, the visual difference can be illustrated by the close-up comparison. Fig. 21(a) are close-ups of original images. Fig. 21(b) are close-ups of 7x7 median filtering of watermarked image by the Huang and Tang’s method. Fig. 21(c) are close-ups of 7x7 median filtering of watermarked image by the proposed method. By comparing Fig. 21(b)-(c), the median filtered images became blurry but Fig. 21(c) has sharper contour than Fig. 21(b). It is apparent that the logo pattern (i.e. the characters of E, S, A, or the characters of 1896) is still evidently existed in Fig. 21(c) but is blurred and hard to be recognized in Fig. 21(b). Therefore, the proposed technique outperforms [9] by the median filtering attack from above observation where the visibility of watermark is surely higher by the proposed approach. Other attacks from [38] are also preformed and the experimental results are consistent with the above findings which indicate our visible watermarking scheme has better visual effect and high PSNR values than other schemes like [9]. In summary, an intensive comparison for

(51)

proposed technique has been illustrated above. Different attack and visual quality comparison is also illustrated. Therefore, we can conclude that the proposed method is more robust with better image quality than the algorithm in [9].

Table 4 PSNR summary of watermarked color images before and after Median Filter

Image Watermark

PSNR value (dB)

Method of [9] Proposed method Before After After

(wn) Before After After (wn) Lena NCTU 27.0 21.2 24.7 31.2 23.1 24.4 Lena IIM 26.8 21.3 24.7 32.3 23.2 24.7 Baboon NCTU 27.1 17.7 19.4 29.9 18.5 19.9 Baboon IIM 27.2 17.8 19.4 30.7 18.5 19.9 lake NCTU 26.2 19.3 21.8 30.5 20.7 21.9 lake IIM 26.1 19.4 21.9 31.3 20.8 22.1 Peppers NCTU 26.9 18.4 20.8 31.1 19.8 20.6 Peppers IIM 26.9 18.6 20.8 32.1 19.9 20.7

參考文獻

相關文件

the composition presented by T101 〉, “ First, the style of writing: by and large, these s ū tras are translated into prose.. Even though there are some verse-like renderings,

In fact, one way of getting from Fourier series to the Fourier transform is to consider nonperiodic phenomena (and thus just about any general function) as a limiting case of

In this research, we use conventional RGB (Red, Green, Blue) images as input data. The conventional RGB image is demosaiced from raw image by using the color interpolation

1 As an aside, I don’t know if this is the best way of motivating the definition of the Fourier transform, but I don’t know a better way and most sources you’re likely to check

‹ Based on the coded rules, facial features in an input image Based on the coded rules, facial features in an input image are extracted first, and face candidates are identified.

– The The readLine readLine method is the same method used to read method is the same method used to read  from the keyboard, but in this case it would read from a 

Then, a visualization is proposed to explain how the convergent behaviors are influenced by two descent directions in merit function approach.. Based on the geometric properties

●報名資料填寫完畢後,於首頁可點選欲列印之報名表,即可進入列印檢視頁面,請利用瀏覽器列