TWI447669B - System and method for removing watermarks from an image - Google Patents

System and method for removing watermarks from an image Download PDF

Info

Publication number
TWI447669B
TWI447669B TW097138914A TW97138914A TWI447669B TW I447669 B TWI447669 B TW I447669B TW 097138914 A TW097138914 A TW 097138914A TW 97138914 A TW97138914 A TW 97138914A TW I447669 B TWI447669 B TW I447669B
Authority
TW
Taiwan
Prior art keywords
feature
value
image
graphic
primitive
Prior art date
Application number
TW097138914A
Other languages
Chinese (zh)
Other versions
TW201015482A (en
Inventor
Yi Chun Lu
Original Assignee
Chi Mei Comm Systems Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chi Mei Comm Systems Inc filed Critical Chi Mei Comm Systems Inc
Priority to TW097138914A priority Critical patent/TWI447669B/en
Publication of TW201015482A publication Critical patent/TW201015482A/en
Application granted granted Critical
Publication of TWI447669B publication Critical patent/TWI447669B/en

Links

Description

浮水印資訊移除系統及方法 Watermark information removal system and method

本發明涉及一種數位影像處理系統及方法,尤其係關於一種於數位影像中移除浮水印資訊之系統及方法。 The present invention relates to a digital image processing system and method, and more particularly to a system and method for removing watermark information in a digital image.

於網際網路蓬勃發展之資訊時代裏,數位資訊之傳遞及複製之速度相當快速,為了防止數字媒體之智慧財產權受到侵害,尤其係具有商業價值之影像及音樂,是目前需要正視之問題之一。因此許多浮水印資訊隱藏之技術被廣泛提出,以保護或驗證擁有者之版權資訊。隨著電子商務之興起,網路上進行之商業行為也愈來愈頻繁,網路侵權事件日益增加使得數位媒體的智慧財產權保護問題愈來愈受到重視,例如,許多影像處理軟體也加入了浮水印功能來保護使用者之心血創作。但是,既然有保護之技術,當然也就有嘗試將浮水印資訊移除的方法。 In the information age of the Internet's booming information, the speed of digital information transmission and reproduction is quite fast. In order to prevent the intellectual property rights of digital media from being infringed, especially the commercial image and music, it is one of the problems that need to be addressed at present. . Therefore, many techniques for watermark information hiding are widely proposed to protect or verify the owner's copyright information. With the rise of e-commerce, business practices on the Internet have become more and more frequent, and the increasing number of Internet infringements has made digital media's intellectual property protection issues more and more important. For example, many image processing software have also added watermarks. Features to protect the user's efforts. However, since there are techniques for protection, there are of course ways to try to remove the watermark information.

目前,浮水印攻擊是將隱藏於影像中的浮水印資訊移除之後,被移除浮水印資訊後的影像還能夠保有原媒體之商業價值,才算是成功地達到移除浮水印資訊之目的。然而,目前浮水印移除技術雖然能夠將隱藏之浮水印資訊於原影像中移除,但是不能保證被移除浮水印資訊後的影像之品質,使得被移除浮水印資訊後的影像失真不能保有原影像媒體之商業價值。 At present, the watermarking attack removes the watermark information hidden in the image, and the image after the watermark information is removed can retain the commercial value of the original media, so as to successfully achieve the purpose of removing the watermark information. However, although the current watermark removal technology can remove the hidden watermark information from the original image, the quality of the image after the watermark information is removed cannot be guaranteed, so that the image distortion after the watermark information is removed cannot be Preserve the commercial value of the original video media.

鑒於以上內容,有必要提供一種浮水印資訊移除系統及方法,不僅能夠將隱藏於浮水印影像中的浮水印資訊移除,而且還能夠保持影像不會失真。 In view of the above, it is necessary to provide a watermark information removal system and method, which can not only remove the watermark information hidden in the watermark image, but also keep the image from being distorted.

一種浮水印資訊移除系統,安裝並運行於電子裝置中,該電子裝置包括記憶體。該系統包括:影像存取模組,用於從記憶體中讀取一幅浮水印影像;影像分解模組,用於根據浮水印影像之圖元大小將浮水印影像分解成相應數量之特徵圖形,並將每一張特徵圖形按順序進行圖形編號;特徵圖形鑒別模組,用於從分解出之特徵圖形鑒別需要移除的圖形編號範圍;特徵圖形篩選模組,用於計算於已鑒別出之圖形編號範圍內每一張特徵圖形中所有特徵點之特徵值,加總所有特徵點之特徵值得到該張特徵圖形之特徵總值,及根據該特徵總值之大小篩選出具有浮水印資訊之特徵圖形;浮水印資訊移除模組,用於刪除篩選出的特徵圖形並將剩餘的特徵圖形組合成一幅組合影像。 A watermark information removal system is installed and operated in an electronic device, the electronic device including a memory. The system includes: an image access module for reading a watermark image from the memory; and an image decomposition module for decomposing the watermark image into a corresponding number of feature graphics according to the size of the watermark image And each feature graphic is sequentially numbered; the feature graphic identification module is configured to identify the range of the graphic number to be removed from the decomposed feature graphic; the feature graphic screening module is used to calculate the identified The feature values of all feature points in each feature graphic in the range of the graphic number, the feature values of all the feature points are added to obtain the total feature value of the feature graphic, and the watermark information is filtered according to the total value of the feature image. The feature graphic; the watermark information removal module is configured to delete the filtered feature graphic and combine the remaining feature graphics into a combined image.

一種浮水印資訊移除方法,應用於電子裝置中,該電子裝置包括記憶體。該方法包括如下步驟:(a)於記憶體中讀取一幅浮水印影像;(b)根據浮水印影像之圖元大小將數位該浮水印影像分解成相應數量之特徵圖形,並將每一張特徵圖形按順序進行圖形編號;(c)於分解出之特徵圖形鑒別出需要移除的特徵圖形之圖形編號範圍;(d)於已鑒別出之圖形編號範圍內篩選出具有浮水印資訊之特徵圖形;(e)刪除篩選出的特徵圖形並將剩餘的特徵圖形組合成一幅組合影像;(f)檢查該組合影像之品質是否失真;及(g)將沒有失真的組合影像儲存到記憶體中。 A method for removing watermark information is applied to an electronic device, and the electronic device includes a memory. The method comprises the following steps: (a) reading a watermark image in the memory; (b) decomposing the digital watermark image into a corresponding number of feature graphics according to the size of the watermark image, and each The feature graphic is sequentially numbered in the figure; (c) the feature image of the feature graphic to be removed is identified in the decomposed feature graphic; (d) the watermark information is filtered out within the range of the identified graphic number Feature graphics; (e) deleting the filtered feature graphics and combining the remaining feature graphics into a combined image; (f) checking whether the quality of the combined image is distorted; and (g) storing the combined image without distortion in the memory in.

相較於習知技術,所述之浮水印資訊移除系統及方法,能夠藉由一奇異值分解演算法及一基植於特徵影像之鑒別失真演算法將隱藏於浮水印影像中的浮水印資訊進行移除,除了可將隱藏於浮水印影像中的浮水印資訊移除的外,還能夠保有原影像之品質。 Compared with the prior art, the watermarking information removal system and method can hide the watermark hidden in the watermark image by a singular value decomposition algorithm and a differential distortion algorithm based on the feature image. The information is removed, in addition to the watermark information hidden in the watermark image, the original image quality can be preserved.

1‧‧‧浮水印資訊移除系統 1‧‧‧Watermark Information Removal System

11‧‧‧影像存取模組 11‧‧‧Image Access Module

12‧‧‧影像分解模組 12‧‧‧Image Decomposition Module

13‧‧‧特徵圖形鑒別模組 13‧‧‧Characteristic Graphic Identification Module

14‧‧‧特徵圖形篩選模組 14‧‧‧Characteristic graphic screening module

15‧‧‧浮水印資訊移除模組 15‧‧‧Watermark Information Removal Module

16‧‧‧影像品質檢查模組 16‧‧‧Image quality inspection module

2‧‧‧處理器 2‧‧‧ Processor

3‧‧‧記憶體 3‧‧‧ memory

S11‧‧‧從記憶體中讀取浮水印影像 S11‧‧‧Read watermark image from memory

S12‧‧‧利用SVD演算法將浮水印影像分解成特徵圖形 S12‧‧‧ Decompose watermark images into feature graphics using SVD algorithm

S13‧‧‧利用JND演算法鑒別圖形編號範圍 S13‧‧‧Use JND algorithm to identify the range of graphic numbers

S14‧‧‧篩選出具有浮水印資訊之特徵圖形 S14‧‧‧ Screened out feature graphics with watermark information

S15‧‧‧刪除篩選出之特徵圖形,並組合一幅組合影像 S15‧‧‧Delete the selected feature graphics and combine a combined image

S16‧‧‧計算組合影像之PSNR值 S16‧‧‧ Calculate the PSNR value of the combined image

S17‧‧‧根據PSNR值判斷組合影像是否失真 S17‧‧‧Determination of whether the combined image is distorted based on the PSNR value

S18‧‧‧儲存組合影像至記憶體中 S18‧‧‧Storing combined images into memory

圖1係本發明浮水印資訊移除系統較佳實施例之應用環境圖。 1 is an application environment diagram of a preferred embodiment of the watermarking information removal system of the present invention.

圖2係本發明浮水印資訊移除方法較佳實施例之流程圖。 2 is a flow chart of a preferred embodiment of the method for removing watermark information according to the present invention.

圖3係圖2中步驟S13之細化流程圖。 FIG. 3 is a detailed flowchart of step S13 in FIG. 2.

圖4係圖2中步驟S14之細化流程圖。 FIG. 4 is a detailed flowchart of step S14 in FIG. 2.

參閱圖1所示,係本發明浮水印資訊移除系統1較佳實施例之應用環境圖。該浮水印資訊移除系統1安裝並運行於電子裝置中,該電子裝置包括處理器2及記憶體3。於本實施例中,該電子裝置為手機。於其他實施例中,所述之電子裝置可以為電腦、PDA及其他具有影像處理功能之電子裝置。所述之處理器2用於運行浮水印資訊移除系統1將隱藏於浮水印影像中的浮水印資訊於浮水印影像中移除。所述之記憶體3用於儲存具有浮水印資訊之浮水印影像,及被移除浮水印資訊後得到的組合影像。 Referring to FIG. 1, an application environment diagram of a preferred embodiment of the watermarking information removal system 1 of the present invention is shown. The watermark information removal system 1 is installed and operates in an electronic device including a processor 2 and a memory 3. In this embodiment, the electronic device is a mobile phone. In other embodiments, the electronic device may be a computer, a PDA, or other electronic device having image processing functions. The processor 2 is configured to run the watermark information removal system 1 to remove the watermark information hidden in the watermark image from the watermark image. The memory 3 is used for storing a watermark image with watermark information and a combined image obtained by removing the watermark information.

所述之浮水印資訊移除系統1用於從記憶體3中讀取浮水印影像,將該浮水印影像分解成一定數量之特徵圖形(Eigen-image),找出並移除具有浮水印資訊之特徵圖形,將剩餘的特徵圖形組合成一幅被移除浮水印資訊後的組合影像,及檢查該組合影像之品質,並將該組合影像儲存到記憶體3中。於本實施例中,所述之 浮水印資訊移除系統1包括影像存取模組11、影像分解模組12、特徵圖形鑒別模組13、特徵圖形篩選模組14、浮水印資訊移除模組15及影像品質檢查模組16。 The watermark information removal system 1 is configured to read a watermark image from the memory 3, decompose the watermark image into a certain number of feature graphics (Eigen-image), and find and remove the watermark information. The feature graphic combines the remaining feature graphics into a combined image after the watermark information is removed, and checks the quality of the combined image, and stores the combined image in the memory 3. In this embodiment, the The watermark information removal system 1 includes an image access module 11 , an image decomposition module 12 , a feature graphics authentication module 13 , a feature graphics screening module 14 , a watermark information removal module 15 , and an image quality inspection module 16 . .

影像存取模組11用於從記憶體3中讀取一幅浮水印影像,及將該浮水印影像被移除浮水印資訊後得到的組合影像儲存到記憶體3中。所述之浮水印影像隱藏有相應之浮水印資訊,例如,浮水印影像中隱藏有保護或驗證擁有者之版權資訊。 The image access module 11 is configured to read a watermark image from the memory 3, and store the combined image obtained by removing the watermark information from the watermark image into the memory 3. The watermark image is hidden with corresponding watermark information. For example, the watermark image hides the copyright information of the protection or verification owner.

影像分解模組12用於利用一種奇異值分解(Singular Value Decomposition,簡稱SVD)演算法根據浮水印影像之圖元大小將該浮水印影像分解成一定數量之特徵圖形,並將每一張特徵圖形按順序進行圖形編號。所述之影像分解模組12可以將浮水印影像分解成64張特徵圖形、128張特徵圖形,或者更多數量之特徵圖形。於本實施例中,原始影像大小為128*128圖元,影像分解模組12將浮水印影像分解成128張特徵圖形,每一張特徵圖形均有一個對應之圖形編號,例如,特徵圖形一次被編號為第1、2、3…128號特徵圖形。所述之SVD演算法係一種藉由量化策略計算出浮水印影像中最大奇異值點來提取浮水印資訊之演算法。由於藉由SVD分解完之特徵圖形,越靠近原始影像之特徵圖形會跟原始影像越接近。因此,若將128張特徵圖形重新組合後,則組合出之影像會跟原始影像相同,若組合前126張特徵圖形,則組合出之影像跟原始影像差異係用戶肉眼無法分辨的。 The image decomposition module 12 is configured to decompose the watermark image into a certain number of feature graphics according to the size of the watermark image by using a Singular Value Decomposition (SVD) algorithm, and each feature graphic is The graphic number is in order. The image decomposition module 12 can decompose the watermark image into 64 feature graphics, 128 feature graphics, or a greater number of feature graphics. In this embodiment, the original image size is 128*128 primitives, and the image decomposition module 12 decomposes the watermark image into 128 feature graphics, and each of the feature graphics has a corresponding graphic number, for example, the feature graphic once. It is numbered as the first, second, third...128 feature graphics. The SVD algorithm is an algorithm for extracting watermark information by calculating a maximum singular value point in a watermark image by a quantization strategy. Due to the feature pattern decomposed by the SVD, the closer the feature image is to the original image, the closer it is to the original image. Therefore, if 128 feature graphics are recombined, the combined images will be the same as the original image. If the first 126 feature graphics are combined, the combined image and original image differences are indistinguishable to the user's naked eye.

特徵圖形鑒別模組13用於利用一種鑒別失真(Just Noticeable Distortion,簡稱JND)演算法於分解出之特徵圖形鑒別出需要移除的圖形編號範圍。所述之JND演算法係一種藉由計算特徵圖 形中特徵點對應之特徵值大小來確定特徵圖形中是否含有浮水印資訊之演算法。 The feature pattern discriminating module 13 is configured to identify a range of pattern numbers to be removed by using a Just Noticeable Distortion (JND) algorithm on the decomposed feature pattern. The JND algorithm is a calculation feature map An algorithm for determining whether the feature graphic contains watermark information in the feature value corresponding to the feature point in the shape.

特徵圖形篩選模組14用於計算於鑒別出之圖形編號範圍內每一張特徵圖形中所有特徵點之特徵值,加總所有特徵點之特徵值得到該張特徵圖形之特徵總值,及根據該特徵總值之大小篩選出具有浮水印資訊之特徵圖形。若某一張特徵圖形之特徵總值越大,則該張特徵圖形隱藏之浮水印資訊就越多;反之,若某一張特徵圖形之特徵總值越小,則該張特徵圖形隱藏之浮水印資訊就越少。 The feature graphic screening module 14 is configured to calculate feature values of all feature points in each feature graphic within the identified graphic number range, add the feature values of all the feature points to obtain the feature total value of the feature graphic, and The size of the total value of the feature filters out the feature graphic with the watermark information. If the total value of the feature of a certain feature graphic is larger, the more watermark information is hidden by the feature graphic; otherwise, if the total value of the feature of a certain feature graphic is smaller, the feature graphic is hidden. The less the watermark information.

浮水印資訊移除模組15用於刪除篩選出的具有浮水印資訊之特徵圖形,及將剩餘的特徵圖形組合成一幅影像。 The watermark information removal module 15 is configured to delete the filtered feature graphics with watermark information and combine the remaining feature graphics into one image.

影像品質檢查模組16用於計算該組合影像之峰值雜訊比值(Peak Signal to Noise Ratio,簡稱PSNR值),並根據該PSNR值是否超過一個預設之PSNR允許值判斷該組合影像之品質是否失真。於本實施例中,影像品質檢查模組16藉由計算浮水印影像的圖元值與該組合影像的圖元值之比值得到該組合影像之PSNR值。一般地,用戶可以根據浮水印影像的圖元值大小來設定該浮水印影像之PSNR允許值,例如用戶可以設置浮水印影像之PSNR允許值為0.8。也就是說,若組合影像之PSNR值大於等於0.8,則說明該組合影像相對於浮水印影像之失真度較小,其與原始影像差異係用戶肉眼無法分辨的。 The image quality check module 16 is configured to calculate a peak signal to noise ratio (PSNR value) of the combined image, and determine whether the quality of the combined image is based on whether the PSNR value exceeds a preset PSNR allowable value. distortion. In this embodiment, the image quality inspection module 16 obtains the PSNR value of the combined image by calculating the ratio of the primitive value of the watermark image to the primitive value of the combined image. Generally, the user can set the PSNR allowable value of the watermark image according to the size of the primitive value of the watermark image. For example, the user can set the PSNR allowable value of the watermark image to 0.8. That is to say, if the PSNR value of the combined image is greater than or equal to 0.8, the distortion of the combined image relative to the watermark image is small, and the difference from the original image is indistinguishable to the user's naked eye.

參閱圖2所示,係本發明浮水印資訊移除方法較佳實施例之流程圖。於本實施例中,所述之浮水印資訊移除方法藉由一SVD分解技術及一基植於特徵影像之JND技術將隱藏於浮水印影像中的浮水印資訊進行移除,除了可將隱藏於浮水印影像中的浮水印資訊 移除的外,還能夠保有原來影像之品質。 Referring to FIG. 2, it is a flowchart of a preferred embodiment of the method for removing watermark information of the present invention. In this embodiment, the watermarking information removal method removes the watermark information hidden in the watermark image by an SVD decomposition technique and a JND technology based on the feature image, except that the image can be hidden. Watermark information in watermark images In addition to the removal, the original image quality can be preserved.

影像存取模組11於記憶體3中讀取一幅浮水印影像(步驟S11)。所述之浮水印影像隱藏有相應之浮水印資訊,例如,浮水印影像中隱藏有保護或驗證擁有者之版權資訊。 The image access module 11 reads a watermark image in the memory 3 (step S11). The watermark image is hidden with corresponding watermark information. For example, the watermark image hides the copyright information of the protection or verification owner.

影像分解模組12利用SVD演算法根據浮水印影像之圖元大小將該浮水印影像分解成一定數量之特徵圖形,並將每一張特徵圖形按順序進行圖形編號(步驟S12)。於本實施例中,浮水印影像大小為128*128,影像分解模組12將浮水印影像分解成128張特徵圖形,每一張特徵圖形均有對應之圖形編號,例如,特徵圖形一次被編號為第1、2、3…128號特徵圖形。 The image decomposition module 12 uses the SVD algorithm to decompose the watermark image into a certain number of feature graphics according to the primitive size of the watermark image, and sequentially numbers each feature graphic (step S12). In this embodiment, the size of the watermark image is 128*128, and the image decomposition module 12 decomposes the watermark image into 128 feature graphics, and each of the feature graphics has a corresponding graphic number. For example, the feature graphic is numbered at a time. It is the characteristic figure of No. 1, 2, 3...128.

特徵圖形鑒別模組13利用JND演算法於分解出之特徵圖形鑒別出需要移除的特徵圖形之圖形編號範圍(步驟S13)。於本實施例中,特徵圖形鑒別模組13將於128張特徵圖形中鑒別出之需要移除的圖形編號範圍為第50張至第100張。該特徵圖形篩選模組13如何利用JND演算法於特徵圖形鑒別需要移除的圖形編號範圍將於圖3中詳細描述。 The feature pattern discriminating module 13 uses the JND algorithm to identify the pattern number range of the feature pattern to be removed from the decomposed feature pattern (step S13). In this embodiment, the feature pattern discriminating module 13 identifies the number of the pattern numbers to be removed from the 128 feature patterns from the 50th to the 100th sheets. How the feature graphic screening module 13 utilizes the JND algorithm to identify the feature number that needs to be removed for feature pattern recognition will be described in detail in FIG.

特徵圖形篩選模組14於已鑒別出之圖形編號範圍內篩選出具有浮水印資訊之特徵圖形(步驟S14)。該特徵圖形篩選模組14圖如何篩選出具有浮水印資訊之特徵圖形將於圖4中詳細描述。 The feature graphics screening module 14 filters out the feature graphics having the watermark information within the identified number of graphics numbers (step S14). How the feature graphic screening module 14 screens out the feature graphic with the watermark information will be described in detail in FIG.

浮水印資訊移除模組15刪除篩選出的具有浮水印資訊之特徵圖形,並將剩餘的特徵圖形組合成一幅被攻擊後的組合影像(步驟S15)。 The watermark information removing module 15 deletes the filtered feature graphic with the watermark information, and combines the remaining feature graphics into one combined image after the attack (step S15).

影像品質檢查模組16計算浮水印影像的圖元值與該組合影像的圖 元值之比值得到該組合影像之PSNR值(步驟S16)。影像品質檢查模組16藉由判斷PSNR值是否小於用戶設定之PSNR允許值來判斷該組合影像之品質是否失真(步驟S17)。一般地,用戶可以根據浮水印影像的圖元值大小來設定浮水印影像之PSNR允許值,例如用戶可以設置浮水印影像之PSNR允許值為0.8。也就是說,若組合影像之PSNR值大於等於0.8,則說明該組合影像相對於浮水印影像之失真度較小,其與原始影像差異係用戶肉眼無法分辨的。 The image quality checking module 16 calculates a primitive value of the watermark image and a map of the combined image The ratio of the values gives the PSNR value of the combined image (step S16). The image quality checking module 16 determines whether the quality of the combined image is distorted by determining whether the PSNR value is less than a PSNR allowable value set by the user (step S17). Generally, the user can set the PSNR allowable value of the watermark image according to the size of the primitive value of the watermark image. For example, the user can set the PSNR allowable value of the watermark image to 0.8. That is to say, if the PSNR value of the combined image is greater than or equal to 0.8, the distortion of the combined image relative to the watermark image is small, and the difference from the original image is indistinguishable to the user's naked eye.

於步驟S17中,若該組合影像之品質已失真,亦即該組合影像之PSNR值小於用戶設定之PSNR允許值,則流程返回步驟S13重新鑒別需要移除的圖形編號範圍以對隱藏於浮水印影像中的浮水印資訊進行移除。若該組合影像之品質沒有失真,亦即該組合影像之PSNR值大於等於用戶設定之PSNR允許值,則影像存取模組11將沒有失真的組合影像儲存到記憶體3中(步驟S18)。一般地,若組合影像相對於浮水印影像之失真度較小,則認為該組合影像與原始影像差異係用戶肉眼無法分辨的,可以被用戶接受。 In step S17, if the quality of the combined image is distorted, that is, the PSNR value of the combined image is less than the PSNR allowable value set by the user, the flow returns to step S13 to re-authenticate the range of the graphic number to be removed to hide the watermark. The watermark information in the image is removed. If the quality of the combined image is not distorted, that is, the PSNR value of the combined image is greater than or equal to the PSNR allowable value set by the user, the image access module 11 stores the combined image without distortion in the memory 3 (step S18). Generally, if the combined image has a small degree of distortion with respect to the watermark image, it is considered that the difference between the combined image and the original image is indistinguishable to the user's naked eye and can be accepted by the user.

參閱圖3所示,係圖2中步驟S13之細化流程圖。該細化流程方法闡述了如何利用JND演算法於特徵圖形鑒別需要移除的特徵圖形之圖形編號範圍。 Referring to FIG. 3, a detailed flowchart of step S13 in FIG. 2 is shown. The refinement flow method illustrates how to use the JND algorithm to identify the feature number range of the feature graphics that need to be removed from the feature graphics.

特徵圖形鑒別模組13利用JND演算法將浮水印影像轉化為一幅JND圖像(步驟S131)。特徵圖形鑒別模組13計算該JND圖像中每一個圖元點之JND值,其表示為“Ji(x,y)”(步驟S132),並計算該JND圖像中所有圖元點之平均JND值,其表示為“Javg”(步驟S133)。 The feature pattern discriminating module 13 converts the watermark image into a JND image using the JND algorithm (step S131). The feature pattern discriminating module 13 calculates a JND value of each primitive point in the JND image, which is expressed as "J i (x, y)" (step S132), and calculates all the primitive points in the JND image. The average JND value, which is expressed as "J avg " (step S133).

特徵圖形鑒別模組13比對特徵圖形中每一個圖元點之JND值Ji(x,y)與平均JND值Javg之大小(步驟S134)。特徵圖形鑒別模組13選擇特徵圖形中圖元點之JND值Ji(x,y)大於平均JND值Javg的圖元點作為特徵圖形之特徵點(步驟S135)。 The feature pattern discriminating module 13 compares the JND value J i (x, y) and the average JND value J avg of each of the primitive points in the feature pattern (step S134). The feature pattern discriminating module 13 selects a feature point of the feature point in which the JND value J i (x, y) of the primitive point is larger than the average JND value J avg as the feature point of the feature pattern (step S135).

特徵圖形鑒別模組13比對任意特徵點於每一張特徵圖形中對應之JND值(步驟S136)。特徵圖形鑒別模組13選擇出特徵點於特徵圖形中對應之JND值相接近之特徵圖形,並將該特徵圖形放入需要被移除的特徵圖形之圖形編號範圍內(步驟S137)。於本實施例中,假如某一個特徵點FP(10,18),於第0至49張特徵圖形中的特徵值差別很大,而於第50至100張特徵圖形中的特徵值差別相對接近,而於第101至128張特徵圖形中的特徵值差別也比對大,因此特徵圖形鑒別模組13將圖形編號範圍為第50至100張特徵圖形放入需要被移除的特徵圖形之圖形編號範圍內。 The feature pattern discriminating module 13 compares the JND values corresponding to the arbitrary feature points in each of the feature patterns (step S136). The feature pattern discriminating module 13 selects the feature pattern whose feature point is close to the corresponding JND value in the feature pattern, and places the feature pattern into the figure number range of the feature pattern to be removed (step S137). In this embodiment, if a certain feature point FP (10, 18) has a large difference in feature values in the 0th to 49th feature patterns, the difference in feature values in the 50th to 100th feature patterns is relatively close. However, the feature value difference in the 101st to 128th feature graphics is also larger than the pair, so the feature graphic discriminating module 13 puts the graphic number range into the 50th to 100th feature graphic into the graphic of the feature graphic to be removed. Within the number range.

參閱圖4所示,係圖2中步驟S14之細化流程圖。該細化流程方法闡述了如何利用JND演算法篩選出具有浮水印資訊之特徵圖形。以下標記於圖形編號範圍內的特徵圖形為特徵圖形“Ei”。 Referring to FIG. 4, a detailed flowchart of step S14 in FIG. 2 is shown. The refinement process method illustrates how to use the JND algorithm to filter out feature patterns with watermark information. The feature pattern marked below within the range of the graphic number is the feature graphic "E i ".

特徵圖形篩選模組14計算特徵圖形Ei中每一圖元點的圖元值,其表示為“Ei(x,y)”(步驟S141)。同時,特徵圖形篩選模組14計算出特徵圖形Ei中所有圖元點之平均圖元值,其表示為“Ei_mean”(步驟S142)。 The feature graphic filtering module 14 calculates the primitive value of each primitive point in the feature graphic E i , which is expressed as "E i (x, y)" (step S141). At the same time, the feature graphic screening module 14 calculates the average primitive value of all the feature points in the feature graphic E i , which is expressed as "Ei_mean" (step S142).

特徵圖形篩選模組14判斷特徵圖形Ei中每一圖元點的圖元值Ei(x,y)是否大於平均圖元值Ei_mean(步驟S143)。若圖元點的圖元值Ei(x,y)小於等於平均圖元值Ei_mean,則特徵圖形篩選模組14將該特徵圖形Ei中該圖元值Ei(x,y)轉化為二進位值“0”(步驟 S144)。若圖元點的圖元值Ei(x,y)大於平均圖元值Ei_mean,則特徵圖形篩選模組14將該特徵圖形Ei中該圖元值Ei(x,y)轉化為二進位值“1”(步驟S145)。特徵圖形篩選模組14分別記錄每一張特徵圖形Ei中數值為“1”之特徵點個數(步驟S146),並將特徵點個數累加得到每一張特徵圖形Ei之特徵總值,其表示為“BCi”(步驟S147)。 The feature graphic screening module 14 determines whether the primitive value E i (x, y) of each primitive point in the feature graphic E i is greater than the average primitive value E i_mean (step S143). If the primitive value E i (x, y) of the primitive point is less than or equal to the average primitive value E i_mean , the feature graphic screening module 14 converts the primitive value E i (x, y) in the feature graphic E i It is a binary value "0" (step S144). If the primitive value E i (x, y) of the primitive point is greater than the average primitive value E i_mean , the feature graphic screening module 14 converts the primitive value E i (x, y) in the feature graphic E i into The binary value is "1" (step S145). The feature graphic screening module 14 records the number of feature points whose value is "1" in each feature pattern E i (step S146), and accumulates the number of feature points to obtain the total feature value of each feature pattern E i . It is expressed as "BC i " (step S147).

特徵圖形篩選模組14將每一個特徵總值BCi按照於大到小之順序進行排序(步驟S148)。最後,特徵圖形篩選模組14選擇具有最大特徵總值BCi所對應之特徵圖形(標記為特徵圖形“Er”),並將該特徵圖形Er於需要被移除的特徵圖形Ei之圖形編號範圍內移除(步驟S149)。一般地,若特徵圖形Er中的特徵點之特徵總值BCi越大,則該特徵圖形Er中隱藏之浮水印資訊就越多。 The feature graphic screening module 14 sorts each feature total value BC i in order of largest to small (step S148). Finally, the feature graphic screening module 14 selects the feature graphic (labeled as the feature graphic “E r ”) corresponding to the largest feature total value BC i , and the feature graphic E r is the feature graphic E i that needs to be removed. The figure number is removed within the range (step S149). Generally, if the total value of the feature point feature characteristic pattern BC i E r is larger, the characteristic pattern E r of the more hidden watermark information.

本發明雖以較佳實施方式揭露如上,然其並非用以限定本發明。任何熟悉此項技藝者,在不脫離本發明之精神和範圍內,當可做更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 The present invention has been described above in terms of preferred embodiments, and is not intended to limit the invention. The scope of the present invention is defined by the scope of the appended claims, unless otherwise claimed.

S11‧‧‧從記憶體中讀取浮水印影像 S11‧‧‧Read watermark image from memory

S12‧‧‧利用SVD演算法將浮水印影像分解成特徵圖形 S12‧‧‧ Decompose watermark images into feature graphics using SVD algorithm

S13‧‧‧利用JND演算法鑒別圖形編號範圍 S13‧‧‧Use JND algorithm to identify the range of graphic numbers

S14‧‧‧篩選出具有浮水印資訊之特徵圖形 S14‧‧‧ Screened out feature graphics with watermark information

S15‧‧‧刪除篩選出之特徵圖形,並組合一幅組合影像 S15‧‧‧Delete the selected feature graphics and combine a combined image

S16‧‧‧計算組合影像之PSNR值 S16‧‧‧ Calculate the PSNR value of the combined image

S17‧‧‧根據PSNR值判斷組合影像是否失真 S17‧‧‧Determination of whether the combined image is distorted based on the PSNR value

S18‧‧‧儲存組合影像至記憶體中 S18‧‧‧Storing combined images into memory

Claims (9)

一種浮水印資訊移除系統,安裝並運行於電子裝置中,該電子裝置包括記憶體,該系統包括:影像存取模組,用於從記憶體中讀取一幅浮水印影像;影像分解模組,用於根據浮水印影像之圖元大小將浮水印影像分解成相應數量之特徵圖形,並將每一張特徵圖形按順序進行圖形編號;特徵圖形鑒別模組,用於從分解出之特徵圖形鑒別需要移除的圖形編號範圍,包括步驟:利用一種鑒別失真演算法將浮水印影像轉化為一幅鑒別失真圖像;計算該鑒別失真圖像中每一圖元點之失真值;計算該鑒別失真圖像中所有圖元點之平均失真值;比對每一個圖元點之失真值與平均失真值之大小;將失真值大於平均失真值之圖元點作為特徵圖形之特徵點;比對特徵點於每一張特徵圖形中對應之失真值;及選擇出特徵點於特徵圖形中對應之失真值相接近之特徵圖形,並將該特徵圖形放入需要被移除的特徵圖形之圖形編號範圍內;特徵圖形篩選模組,用於計算於已鑒別出之圖形編號範圍內每一張特徵圖形中所有特徵點之特徵值,加總所有特徵點之特徵值得到該張特徵圖形之特徵總值,及根據該特徵總值之大小篩選出具有浮水印資訊之特徵圖形;及浮水印資訊移除模組,用於刪除篩選出的特徵圖形並將剩餘的特徵圖形組合成一幅組合影像。 A watermark information removal system installed and operated in an electronic device, the electronic device comprising a memory, the system comprising: an image access module for reading a watermark image from the memory; the image decomposition module The group is configured to decompose the watermark image into a corresponding number of feature graphics according to the size of the watermark image, and each of the feature graphics is sequentially numbered; the feature graphic identification module is used to decompose the feature The graphic identification needs to remove the range of the graphic number, including the steps of: converting the watermark image into a differential distortion image by using an identification distortion algorithm; calculating the distortion value of each primitive point in the identified distortion image; Identifying the average distortion value of all the primitive points in the distorted image; comparing the distortion value and the average distortion value of each primitive point; and using the primitive point whose distortion value is greater than the average distortion value as the feature point of the feature graphic; Corresponding to the distortion value corresponding to each feature pattern in the feature pattern; and selecting the feature pattern of the feature point corresponding to the distortion value in the feature pattern, and The feature graphic is placed in the range of the graphic number of the feature graphic to be removed; the feature graphic filtering module is configured to calculate the feature value of all the feature points in each feature graphic within the identified graphic number range, and add up The feature values of all the feature points obtain the feature total value of the feature graphic, and the feature graphic with the watermark information is filtered according to the total value of the feature; and the watermark information removal module is used to delete the selected feature The graphics combine the remaining feature graphics into a single combined image. 如申請專利範圍第1項所述之浮水印資訊移除系統,該系統還包括影像品質檢查模組,用於計算該組合影像之峰值雜訊比值,及根據該峰值雜訊比值判斷該組合影像之品質是否失真。 The watermarking information removal system of claim 1, wherein the system further comprises an image quality checking module, configured to calculate a peak noise ratio of the combined image, and determine the combined image according to the peak noise ratio Whether the quality is distorted. 如申請專利範圍第2項所述之浮水印資訊移除系統,其中,所述之影像存取模組還用於將沒有失真的組合影像儲存到記憶體中。 The watermarking information removal system of claim 2, wherein the image access module is further configured to store the combined image without distortion into the memory. 如申請專利範圍第1項所述之浮水印資訊移除系統,其中,所述之影像分解模組係利用奇異值分解演算法將浮水印影像分解成特徵圖形,該奇異值分解演算法係一種藉由量化策略計算出浮水印影像中最大奇異值點來提取隱藏於浮水印影像中的浮水印資訊之演算法。 The watermarking information removal system of claim 1, wherein the image decomposition module decomposes the watermark image into a feature graphic by using a singular value decomposition algorithm, and the singular value decomposition algorithm is a The algorithm for extracting the watermark information hidden in the watermark image by calculating the maximum singular value point in the watermark image by the quantization strategy. 如申請專利範圍第1項所述之浮水印資訊移除系統,其中,所述之特徵圖形鑒別模組係利用鑒別失真演算法來鑒別需要移除的圖形編號範圍,該鑒別失真演算法係一種藉由計算特徵圖形中特徵點對應之特徵值大小來確定特徵圖形中是否含有浮水印資訊之演算法。 The watermarking information removal system of claim 1, wherein the feature pattern discriminating module uses a discriminant distortion algorithm to identify a range of pattern numbers to be removed, and the discriminant distortion algorithm is a The algorithm for determining whether the feature graphic contains the watermark information is determined by calculating the size of the feature value corresponding to the feature point in the feature graphic. 一種浮水印資訊移除方法,應用於電子裝置中,該電子裝置包括記憶體,該方法包括如下步驟:(a)於記憶體中讀取一幅浮水印影像;(b)根據浮水印影像之圖元大小將該浮水印影像分解成相應數量之特徵圖形,並將每一張特徵圖形按順序進行圖形編號;(c)於分解出之特徵圖形鑒別出需要移除的特徵圖形之圖形編號範圍,其中該步驟(c)包括:利用一種鑒別失真演算法將浮水印影像轉化為一幅鑒別失真圖像;計算該鑒別失真圖像中每一圖元點之失真值;計算該鑒別失真圖像中所有圖元點之平均失真值;比對每一個圖元點之失真值與平均失真值之大小;將失真值大於平均失真值之圖元點作為特徵圖形之特徵點;比對特徵點於每一張特徵圖形中對應之失真值;及選擇出特徵點於特徵圖形中對應之失真值相接近之特徵圖形,並將該特徵圖形放入需要被移除的特徵圖形之圖形編號範圍內:(d)於已鑒別出之圖形編號範圍內篩選出具有浮水印資訊之特徵圖形;(e)刪除篩選出的特徵圖形,並將剩餘的特徵圖形組合成一幅組合影像 ;(f)檢查該組合影像之品質是否失真;及(g)將沒有失真的組合影像儲存到記憶體中。 A watermark information removal method is applied to an electronic device, the electronic device comprising a memory, the method comprising the steps of: (a) reading a watermark image in the memory; (b) according to the watermark image The size of the primitive is decomposed into a corresponding number of feature graphics, and each feature graphic is sequentially numbered in sequence; (c) the feature image is decomposed to identify the graphic number range of the feature graphic to be removed. Wherein the step (c) comprises: converting the watermark image into a discriminant distortion image by using a discriminant distortion algorithm; calculating a distortion value of each primitive point in the discriminative distortion image; and calculating the discriminant distortion image The average distortion value of all the primitive points; the distortion value and the average distortion value of each primitive point are compared; the primitive point whose distortion value is larger than the average distortion value is used as the feature point of the feature graphic; the comparison feature point is a corresponding distortion value in each feature graphic; and selecting a feature graphic whose feature point is close to a corresponding distortion value in the feature graphic, and placing the feature graphic into a special feature to be removed Graphic pattern numbers within the range: (d) have been identified in the screening of the pattern number range having a characteristic pattern of the watermark information; (e) deleting selected feature pattern, and the remaining pattern features combined into a composite image (f) checking whether the quality of the combined image is distorted; and (g) storing the combined image without distortion in the memory. 如申請專利範圍第6項所述之浮水印資訊移除方法,所述之步驟(b)中將浮水印影像分解成相應數量之特徵圖形是藉由奇異值分解演算法來實現之,該奇異值分解演算法係一種藉由量化策略計算出浮水印影像中最大奇異值點來提取隱藏於浮水印影像中的浮水印資訊之演算法。 For example, in the watermarking information removal method described in claim 6, the step (b) of decomposing the watermark image into a corresponding number of feature graphics is implemented by a singular value decomposition algorithm, the singularity The value decomposition algorithm is an algorithm for extracting the watermark information hidden in the watermark image by calculating the maximum singular value point in the watermark image by the quantization strategy. 如申請專利範圍第6項所述之浮水印資訊移除方法,其中步驟(d)包括如下步驟:計算特徵圖形中每一圖元點的圖元值;計算特徵圖形中所有圖元點之平均圖元值;判斷特徵圖形中每一圖元點的圖元值是否大於平均圖元值;若圖元點的圖元值小於等於平均圖元值,則將該圖元點的圖元值轉化為二進位值“0”,或者,若圖元點的圖元值大於平均圖元值,則將該圖元點的圖元值轉化為二進位值“1;分別記錄每一張特徵圖形中數值為“1”之特徵點個數,並將特徵點個數累加得到每一張特徵圖形之特徵總值;將每一個特徵總值按照於大到小之順序進行排序;及選擇最大特徵總值所對應之特徵圖形,並將該特徵圖形於所述之圖形編號範圍內移除。 The method for removing watermark information according to claim 6, wherein the step (d) comprises the steps of: calculating a primitive value of each primitive point in the feature graphic; and calculating an average of all the primitive points in the feature graphic. The primitive value is determined whether the primitive value of each primitive point in the feature graphic is greater than the average primitive value; if the primitive value of the primitive point is less than or equal to the average primitive value, the primitive value of the primitive point is converted The binary value is “0”, or if the primitive value of the primitive point is greater than the average primitive value, the primitive value of the primitive point is converted into a binary value “1; each feature graphic is recorded separately The number of feature points whose value is "1", and the number of feature points is added to obtain the total feature value of each feature graphic; the total value of each feature is sorted in order of largest to smallest; and the maximum feature total is selected. The feature graphic corresponding to the value is removed and the feature graphic is removed within the range of the graphic number. 如申請專利範圍第6項所述之浮水印資訊移除方法,其中步驟(f)包括如下步驟;計算浮水印影像的圖元值與該組合影像的圖元值之比值得到該組合影像之峰值雜訊比值;判斷該組合影像之峰值雜訊比值是否小於用戶設定之允許值;及 若該組合影像之峰值雜訊比值小於用戶設定之允許值,則表明該組合影像之品質已經失真;或者若該組合影像之峰值雜訊比值大於等於用戶設定之允許值,則表明該組合影像之品質沒有失真。 The method for removing watermark information according to claim 6, wherein the step (f) includes the following steps: calculating a ratio of a primitive value of the watermark image to a primitive value of the combined image to obtain a peak of the combined image a noise ratio; determining whether the peak noise ratio of the combined image is less than a user-set allowable value; and If the peak noise ratio of the combined image is less than the allowable value set by the user, it indicates that the quality of the combined image has been distorted; or if the peak noise ratio of the combined image is greater than or equal to the allowable value set by the user, it indicates that the combined image is There is no distortion in quality.
TW097138914A 2008-10-09 2008-10-09 System and method for removing watermarks from an image TWI447669B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW097138914A TWI447669B (en) 2008-10-09 2008-10-09 System and method for removing watermarks from an image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW097138914A TWI447669B (en) 2008-10-09 2008-10-09 System and method for removing watermarks from an image

Publications (2)

Publication Number Publication Date
TW201015482A TW201015482A (en) 2010-04-16
TWI447669B true TWI447669B (en) 2014-08-01

Family

ID=44830061

Family Applications (1)

Application Number Title Priority Date Filing Date
TW097138914A TWI447669B (en) 2008-10-09 2008-10-09 System and method for removing watermarks from an image

Country Status (1)

Country Link
TW (1) TWI447669B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI501094B (en) * 2013-04-26 2015-09-21 Newtype Software Systems Co Ltd Watermark generating method, computer program product, and electronic device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200705309A (en) * 2005-07-28 2007-02-01 Academia Sinica Asymmetric watermarking

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200705309A (en) * 2005-07-28 2007-02-01 Academia Sinica Asymmetric watermarking

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Te-Cheng Hsu; Wen-Shyong Hsieh; Tung-Shih Su, "A New Watermark Attacking Method Based on Eigen-Image Energy," Intelligent Information Hiding and Multimedia Signal Processing, 2008. IIHMSP '08 International Conference on , vol., no., pp.29,32, 15-17 Aug. 2008. *
呂宜峻,"浮水印特徵影像攻擊法",國立中山大學資訊工程學系碩士論文,2006.06 *

Also Published As

Publication number Publication date
TW201015482A (en) 2010-04-16

Similar Documents

Publication Publication Date Title
Kutter et al. Fair benchmark for image watermarking systems
Mahmood et al. Copy-move forgery detection technique for forensic analysis in digital images
Qin et al. Self-embedding fragile watermarking with restoration capability based on adaptive bit allocation mechanism
Arab et al. A robust video watermarking technique for the tamper detection of surveillance systems
KR101125351B1 (en) Method and system to process a digital image
Roy et al. A hybrid domain color image watermarking based on DWT–SVD
US20030095682A1 (en) Apparatus and method for embedding and extracting digital watermarks based on wavelets
Shen et al. A robust associative watermarking technique based on vector quantization
Qureshi et al. Bibliography of digital image anti‐forensics and anti‐anti‐forensics techniques
Yu et al. Mean quantization blind watermarking for image authentication
Hamid et al. Robust image hashing scheme using Laplacian pyramids
Lu et al. Denoising and copy attacks resilient watermarking by exploiting prior knowledge at detector
Liu et al. Semi-fragile zernike moment-based image watermarking for authentication
Hadmi et al. A robust and secure perceptual hashing system based on a quantization step analysis
Ouyang et al. A semi-fragile watermarking tamper localization method based on QDFT and multi-view fusion
Wang et al. Robust image watermarking via perceptual structural regularity-based JND model
Shih et al. 16 A Comparison Study on Copy–Cover Image Forgery Detection
CN101676949B (en) System and method for watermark information removing
Zhao et al. An introduction to robust transform based image watermarking techniques
Kuttera et al. A fair benchmark for image watermarking systems
TWI447669B (en) System and method for removing watermarks from an image
Mehan et al. Joint watermarking and fingerprinting approach for colored digital images in double DCT domain
Wang et al. Detection of shifted double JPEG compression by an adaptive DCT coefficient model
Lin et al. DWT based on watermarking algorithm and its implementing with DSP
Rahim et al. Impact of denoising on watermarking: A perspective for information retrieval

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees