TW580656B - Protection and verification method for digital image copyright - Google Patents

Protection and verification method for digital image copyright Download PDF

Info

Publication number
TW580656B
TW580656B TW91136899A TW91136899A TW580656B TW 580656 B TW580656 B TW 580656B TW 91136899 A TW91136899 A TW 91136899A TW 91136899 A TW91136899 A TW 91136899A TW 580656 B TW580656 B TW 580656B
Authority
TW
Taiwan
Prior art keywords
image
watermark
discrete cosine
block
original
Prior art date
Application number
TW91136899A
Other languages
Chinese (zh)
Other versions
TW200411595A (en
Inventor
Hung-Min Suen
Meng-Jang Chen
Chen-Tang Lin
Original Assignee
Inst Information Industry
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 Inst Information Industry filed Critical Inst Information Industry
Priority to TW91136899A priority Critical patent/TW580656B/en
Application granted granted Critical
Publication of TW580656B publication Critical patent/TW580656B/en
Publication of TW200411595A publication Critical patent/TW200411595A/en

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

The invention relates to a protection and verification method for digital image copyright, which use discrete cosine transform (DCT) technique to acquire the discrete cosine value of each intended protection image as characteristic value; further use the characteristic value of the image and watermark image contents to mutually combine using exclusive-or (XOR) operation and generate a secret gold key. Legal user can hold the secret gold key to abstract the watermark image of the protected image, and after registering the secret gold key to equitable third party to generate secret gold key with timestamp to approve the time sequence of ownership by the image. The invention integrates algorithm method in generation of secret gold key to calculate the secret gold key of original image and the algorithm method for abstracting watermark used to abstract watermark image from protected image based on the secret gold key.

Description

玖,明齡明 (翻翻:翻麵2撕讎、鎌麵、隨、麵城細纖單說明) 一、 發明所屬之技術領域 本發明係關於一種數位影像版權之保護與驗證方 法’尤指一種植基於數位浮水印與公證者之數位影像版 權驗證之方法。 二、 先前技術 按’ 著資訊科技發展的日新月異、及網際網路的 普及化’目前有越來越多具有商業價值的多媒體資訊在 、周路環&上傳播,例如圖片(graph)、影像(image)、音樂 (audio)、及影片(vide〇)等,使用者可藉由下達簡單的指 令而在網路中輕易進行下載。然而,習知卻有部分使用 者在下載上述多媒體資訊後,將其加以竄改後宣稱是自 己的資料’以進行圖利自己的商業行為,此舉嚴重侵犯 了原始資料所有權人的智慧財產權,因此,在網路上傳 播的資料必須具備保護智慧財產權的措施,才能讓資料 所有權人得到完善的保護。 為了解決有價多媒體資訊遭竊用及竄改的問題,習 知係針對密碼學(crypt〇graphy)、資料隱藏(data hiding)、 數位影像版權保護(image copyright protection)、及數位 浮水印(digital watermarking)技術加以研究,以期能找出 有效的保護措施。 於岔碼技術中,係包括有加密、數位簽章 signature)、及時戳簽章(timestamp)等技術,可用以提供 智慧財產權安全上的保護,但卻不適合用來處理多媒體 580656 資料’因為多媒體資料通常播案大小都比文字大很多, 且用一般的密碼技術需要大量的時間來加密或簽名;此 外,一般的加密和簽名方法不允許失真的情況發生,但 多媒體資料只要失真程度在可接受程度下,皆可允許失 真情形發生。故習知最廣泛採用的方法係為使用數位浮 水印技術及數位影像版權保護技術。 數位浮水印技術則指將代表合法擁有者的圖騰(例 如註冊商標、營利事業統一編號、個人肖像等)加入被保 護的有價媒體中,用以表示及證明此媒體的合法擁有權 之歸屬。且在嵌入浮水印後的媒體在經過一些常見的數 位訊號處理和破壞之後,其品質在可接受的範圍之内, 則浮水印仍然可被顯示出來,因此能夠證明此媒體的版 權歸屬,以發現非法使用者的盜用或仿冒行為。 習知數位浮水印技術須兼具下列特性··透明性 (transparency) ·以使加入浮水印的媒體與原始媒體間不 具有明顯較·變,亦即不讓人察覺媒體巾有浮水印的存 在;5請性⑽ustness):當加入浮水印的媒體在經過數 位訊號處理(例如模糊處理、清晰處理、失真I缩、加入 雜〜像切割、放大縮小、或旋轉處理等)後,品質在 可接受範圍内的浮水印仍可被顯示出…晰性 •Γ二b Γ二).數位浮水印技術在各種可能的攻擊狀況 :破斤取出的洋水印必須能夠明確辨識影像 == 象本身的商業價值;安全性(security):藏入 == 寅算法係為一公開的演算法;在取出浮水 要原始資料(bnndness):通常數位媒體需要 COS204 7 580656 儲存㈣,為了節省空間,因此在取出浮水印時, 3由原始媒體之辅助即可完成,也就是不用為 浮而需同時储存原始媒體,·以及,實用性:: 7印次异法需具有較佳執行效率,以達到較高的實用性。 2 ’於習知之數料水印技術中,若遭有心人刻 m!浮水印演算法加以攻擊,進行反向操作就將 體所藏入之數位浮水印;此外,若在同一份媒 =中被滅人複數個浮水印,則難以韻真正合法的擁有 :又,習知技術所佔用之資料量較大,亦使處理成本 :。因此習知亦提出另一作法用以將媒體中比較重要 料ΓΓ作為特徵值’並使用—專門儲存影像特徵值之資 2來比對及_媒體中之特徵f料’以檢查此媒體是 d冊’然而,此舉僅能辨識出特徵資料是否有註冊 =部無法像數料水印技術—樣可用肉眼辨識取出的 y印,故同樣難以證明真正的智慧財產權所有人。由 可4 %知數位影像保護技術仍存在有諸多缺失而有 予以改進之必要。 三、發明内容 ▲tt你本《明之主要目的係在提供—種數位影像版權之保 s,:驗證方法,俾能確保被保護媒體的強健性,以承受 各式各樣的攻擊狀況。 β本發明之另—目的係在提供_種數位影像版權之保 驗af方法,俾使被保護媒體之品質和原始媒體之品 質相同。 vGS265 8 再—目的係在提供—種數位影像版權之保 =驗證方法,係藉由向公正第三者註冊以產生一具有 =章之秘密金輪’以根據時戳簽章來判斷 體之合法性。 ,上述之目的,本發明所提出之數位影像版權 ^呆護與驗證方法主要包括第—程序及第二程序。第一Nine, Ming age out (looking: inverting two tear Chou, sickle surface, with, face city fibrillated single description) a technical field relevant to the invention is based the present invention on the protection and authentication method for a digital image copyright 'especially a growing number of digital watermarking method with the notary's verification of the bit image based on copyright. Second, the prior art by 'the technological development of information rapidly, and Internet popularization' There are more and more commercially valuable multimedia information in, week Coloane & propagation, such as a picture (graph), image (image ), music (audio), and video (vide〇), etc., issued by the user can simply and easily download an instruction in a network. However, there are some users after conventional after downloading the multimedia information, which is claimed to be tampered with their own data 'to make profit their business practices, this has seriously violated the raw data of the owner of intellectual property rights, and therefore , dissemination of information on the Internet must have measures to protect intellectual property rights, in order to make the ownership of the people get perfect protection. In order to solve the problem of valuable multimedia information theft and tampering with, the conventional system for cryptography (crypt〇graphy), hidden information (data hiding), digital image copyright protection (image copyright protection), and digital watermark (digital watermarking) to study technology, with a view to identify effective protection measures. In the fork code technology, it includes encryption, digital signature, and timestamp. It can be used to provide security protection of intellectual property rights, but it is not suitable for processing multimedia 580656 data. 'Because of multimedia data The broadcast size is usually much larger than the text, and it takes a lot of time to encrypt or sign with ordinary cryptographic techniques. In addition, the general encryption and signature methods do not allow distortion, but as long as the distortion of multimedia data is acceptable, In the following, distortion situations can be allowed. Therefore, the most widely used method is the use of digital watermarking technology and digital image copyright protection technology. Digital watermarking technology refers to adding a totem (such as a registered trademark, a uniform number of a for-profit business, a personal portrait, etc.) representing a legal owner to the protected valuable media to indicate and prove the legal ownership of the media. And after the watermark embedded media is processed and destroyed by some common digital signals, and the quality is within acceptable range, the watermark can still be displayed, so it can prove the copyright ownership of this media to find out Theft or counterfeiting by illegal users. The conventional digital watermarking technology must have the following characteristics: Transparency, so that there is no obvious change between the watermarked media and the original media, that is, people do not notice the existence of the watermark in the media. ; 5 ⑽ustness): When the watermarked media undergoes digital signal processing (such as blurring, sharpening, distortion shrinking, adding noise to image cutting, zooming, or rotating processing, etc.), the quality is acceptable watermark still be within the scope of the show ... clarity of the two b Γ • Γ ii) digital watermarking technology in a variety of possible attacks condition: broken pounds out of the ocean watermark image must be able to clearly identify itself as the commercial value == ; Security (security): hidden == Yin algorithm is an open algorithm; the original data (bnndness) when removing floating water: usually digital media requires COS204 7 580656 storage, in order to save space, so remove the watermark when, 3 can be completed by the secondary of the original media, i.e. without the need to float while the original storage medium, - and a practical method :: 7 different impressions must have performed better efficiency In order to achieve high availability. 2 'In the conventional digital watermarking technology, if someone is engraved with the m! Watermarking algorithm to attack, the digital watermark hidden in the body is reversed; if it is destroyed in the same media = person plural watermark, it is difficult to rhyme real rightful owners: also, conventional data amount occupied by the larger technology, but also the processing costs: Thus also proposed another conventional practice for the media feed ΓΓ more important as the characteristic value 'using - dedicated resources stored in the characteristic value to match the image 2 and f _ wherein the feed medium' to check this media is d book 'However, this feature can only identify whether the information has not registered as part = number of material watermarking technology - y proofs can be visually identify out, it is equally difficult to prove the real owner of intellectual property rights. Digital video protection technology is still missing and there are many necessary improvements have to be made known to be 4%. Third, the present invention SUMMARY ▲ tt you "line out of the main object to provide - kind of copyrighted digital image s ,: security authentication method, to ensure Bineng protected media robustness to withstand a variety of attack conditions. Another β present invention - to provide object-based digital image species _ copyright protection af test method to enabling the protected media quality of the original media and the same product quality. vGS265 8 further - provide object-based - kind of digital image copyright protection = verification method based legitimacy by a fair third party to register to produce a time stamp signature in accordance with a secret when Kingland chapter = 'to judge the body of the . , The above-mentioned object, a digital image of the present invention proposed copyright protection ^ stay and verification method mainly comprises the first - and second program procedure. the first

^序係用以產生-秘密金繪,其首先擷取—原始影像及 一:水印影像,其中,原始影像為鳴圖素乘以〇w圖素 之'V像,子水印影像為一 Wh圖素乘以^圖素之影像,且 〇H為原始料之高度,〇w為原始影像之寬度,Wh為浮水 7衫像之南度’ WwA浮水印影像之寬度;接著將原始影 < 為WHxWw個區塊;並使用離散餘弦正轉換技術以System for generating a sequence ^ - Secret painted, it is first captured - and an original image: image watermark, wherein the original image is multiplied by the picture element Ming 'V 〇w picture element of the image, a watermark image is Wh FIG. Multiply the image by ^ pixels, and 0H is the height of the original material, 0w is the width of the original image, Wh is the south of the floating 7-shirt image 'WwA the width of the watermark image; then the original image < is WHxWw blocks; n and discrete cosine conversion techniques to

將每1塊之數值轉換為—頻率域區塊係數丨再以亂數 打亂頻率域區塊係數之順序;之後,操取出上述打亂後 之頻率域區塊係數之離散餘弦值,以由WWW個離散餘 弦值來形成-離散餘弦值數列;且將離散餘弦值數列排 序後根據-預設之門檻值來產生—暫時金餘;最後將暫 時金鑰併同料印影像進行互斥運算以產生—秘密金 錄’以將原始影像轉換為—嵌人有秘密金餘之保護影像。 第二程序制以自保護影像巾萃取出浮水印影像, 其首先擷取—保護影像;並將保護影像切割為WWW個 區塊;再使韓散齡正轉純術,將每—區塊之數值 轉換為-頻率域區塊係數;接著,以亂數打亂頻率域區 塊係數之順序;且_出±述打轉之頻率域區塊係數 之離散餘弦值,以由WhXWw個離散餘弦值來形成一形成Each one of the values into - a frequency-domain coefficient blocks Shu scrambled random number and then to the frequency domain coefficient blocks; then, taken out operation of the DCT coefficient value block in the frequency domain after the above-mentioned upset to the WWW discrete cosine value formed - the discrete cosine series; and after the discrete cosine series sorted - generating preset the threshold - temporary gold I; Finally, the temporary key and with the feed printing image exclusive OR operation to produce - secret catalog 'to convert the original image - an image embedded with a protective apart secret. The second procedure is to extract the watermark image from the protective image towel, which first captures-protects the image; cuts the protected image into WWW blocks; and then makes Han Sanling forward to pure technology to convert the value of each block is - a frequency-domain coefficient blocks; Next, random number scrambled blocks of frequency domain coefficients; _ and frequency-domain coefficient blocks of discrete cosine values ± out of said spin to the discrete cosine WhXWw formed a form

C526S 9 一離散餘弦值數列;之後,排序離散餘弦值數列;並自 秘密金鑰中擷取出一門檻值,再把扣除門檻值後之秘密 金鑰儲存為一第一暫時金鑰;再根據排序後之離散餘弦 值數列及門檻值以產生一第二暫時金鑰;最後將第一暫 時金鑰及第二暫時金鑰進行互斥運算以萃取出一待測浮 水印影像。 四、實施方式 為能讓貴審查委員能更瞭解本發明之技術内容,特 舉一較佳具體實施例說明如下。 本實施例係使用離散餘弦轉換(Discrete Cosine Transform,DCT)技術中之離散餘弦正轉換(Forward DCT) 方法來取得每一欲保護影像的離散餘弦值(Discrete Cosine,DC)當作特徵值,再以此影像的特徵值和浮水印 内容相互結合來產生一把秘密金鑰,因此影像的合法擁 有者可以持有這把秘密金鑰來萃取浮水印,並能將秘密 金输向一公正第三者註冊,因而產生一具有時戳簽章的 金鑰,以透過這把秘密金鑰和具有時戳簽章的金鑰來證 明影像版權的所有權。 請參閱圖1用以在原始影像中產生秘密金鑰之流 程。於本實施例中,原始影像0係為由一張每圖素具有冷 位元之灰階影像所構成,而浮水印影像W則如圖2所示, 其係為一二元影像,且原始影像〇及浮水印影像W之定義 分別為: 0 = {〇Μ|0<〇Μ<2β~ΐ}^ 580656C526S 9 a discrete cosine series; after sorting discrete cosine value series; and retrieved from the secret key out a threshold, then after deducting the threshold secret key is stored as a first temporary key; then according to the ranking The subsequent discrete cosine value sequence and threshold value are used to generate a second temporary key; finally, the first temporary key and the second temporary key are mutually exclusive to extract a watermark image to be tested. Fourth, implementation mode In order to allow your review committee to better understand the technical content of the present invention, a preferred embodiment is described below. Use of the present embodiment based discrete cosine transform (Discrete Cosine Transform, DCT) technique of n discrete cosine conversion (Forward DCT) method to get the discrete cosine value of each image to be protected (Discrete Cosine, DC) as a characteristic value, then The feature value of the image and the content of the watermark are combined to generate a secret key, so the legitimate owner of the image can hold the secret key to extract the watermark, and can transfer the secret gold to a fair third registration, resulting signature stamp of when a key has to pass through it when the secret key and a key with a signature stamp to prove ownership of the copyright of the image. See Figure 1 for the process of generating a secret key in the original image. In this embodiment, the original image 0 is composed of a grayscale image with cold bits per pixel, and the watermark image W is shown in FIG. 2, which is a binary image and the original The definitions of image 0 and watermark image W are: 0 = {〇Μ | 0 < 〇Μ < 2β ~ ΐ} ^ 580656

其中,每一 〇i,j為一圖素,0化Oh—j,〇sjs〇w 一1,且 〇H為原始影像0的高,為原始影像〇的寬; w = {wijlwij^M}J 其中,每一 wu為一圖素kbWh 一i,〇旬,且 WH為浮水印影像W的高,ww為浮水印影像W的寬。 因此在擷取原始影像〇及浮水印影像W後(步驟 S101),將原始影像〇根據浮水印影像界的長寬比例切割 成WHxWw個等比例區塊Bmn(步驟S102),且每一區塊大小Among them, each 〇i, j is a pixel, 0 O Oh-j, 〇sjs〇w -1, and 〇H is the height of the original image 0, which is the width of the original image 0; w = {wijlwij ^ M} Among them, each wu is a pixel kbWh-i, ten, and WH is the height of the watermark image W, and ww is the width of the watermark image W. Therefore, after (step S101) retrieve the original watermark image and a square image W, the original image is cut into square blocks Bmn WHxWw a proportional watermark image according to the aspect ratio of the boundary (step S102), and each block size

之行列式: 而上述之等比例區塊Bm n則記錄為如下所示Determinant: The above-mentioned proportional block Bm n is recorded as follows

〇 , l.J+W-l 〇iJ °i,j+l ®i+l,j+w-lSquare, l.J + W-l 〇iJ ° i, j + l ®i + l, j + w-l

m,n "" • · · «« _°i+h-l,j … 當中,1 1。 需注意的是,本實施例較佳係將原始影像〇切割為等 比例區塊,當然亦可切割為不等比例之區塊,只要所切 割出區塊之數量等於WHxWw個即可。 再來,將WHxWw個切割後的區塊Bm,n,從空間域的 數位資料透過離散餘弦正轉換(FDCT)技術以轉換為頻率 域的係數Cm,n(步驟S103),藉以取得母'專比例區塊Bm n 之特徵值,其中,〇幺mSWH—l,〇SnSWw-1 ;接著使用 亂數種子數來擾亂頻率域區塊的排列順序(步驟S104);並 取出經過打亂後的每個頻率域區塊係數C ’ m,n的離散餘弦 (DC)值(步驟S105),總計將可取得WHxWw個離散餘弦 Λ ·,Q 〇 Aw Ο 〇 11 580656m, n " " • · · «« _ ° i + h-l, j ... among 11. It should be noted that, in this embodiment, the original image is preferably cut into equal-scale blocks, and of course, it can also be cut into blocks of different proportions, as long as the number of cut-out blocks is equal to WHxWw. Again, the rear cut WHxWw block Bm, n, from the digital data of a spatial domain through discrete cosine conversion timing (the FDCT) technology to convert into frequency domain coefficients Cm, n (step S103), thereby obtaining the mother 'special The eigenvalues of the proportional block Bm n, among which 〇 幺 mSWH-1, 〇SnSWw-1; then use the random seed number to disturb the arrangement order of the frequency domain blocks (step S104); and take out each frequency-domain coefficient blocks C 'm, n discrete cosine (DC) value (step S105), the total can be obtained WHxWw discrete cosine Λ ·, Q 〇Aw Ο 〇11 580656

值’因此形成一離散餘弦值數列Dm n ;之後將WhX 離散餘弦值數列Dm,n由大到小排序成為排序後之離散餘 弦值數列DSm,n(步驟si〇6)。 接下來’將根據排序後之離散餘弦值數列^^,。及一 預設之門檻值(以下簡稱TH)來產生如圖3所示之暫時金 鑰T(步驟S107): Τ = Κ,η I tm,n ^ {〇5l}} ? 其中 KmSWH-1,(^n:iWwM,且當 DSmn 之前(THx區 塊總數)之數在Dm,n之相對區塊上設定為1時,tm n為丨;當 DSm,n之後(區塊總數一(ΤΗχ區塊總數))之數在該之相 對區塊上設定為〇時,〖_為0。此外,門檻值TH可由合法 使用者自行控制,且可依每一張影像的特性來設定不同 門檻值TH,以由門檻值TH來決定暫時金鑰丁的〇與1的個 數,不過為了安全性考量,因此門檻值711建議不宜設定 得太南或太低’較佳係介於〇·2至之間。 而在從原始影像〇中取得暫時金鑰了後,將可併同暫 2金鑰τ與浮水印影像w來進行互斥(exclusive_〇R)運 算,藉以產生如圖4所示之秘密金鑰尺(步驟sl〇8),其中: K = (T0W)||TH。 此外,為了宣告原始影像〇所產生之時間點,因此必 :將秘密金鑰K向一公正第三者註冊,以產生具有時戳簽 章的金鑰1(步驟S109),將可解決誰先加入浮水印影像w 的問題,且上述具有時戳簽章的金鑰心係由公正第三者 加以保官。由此可知,本實施例的方法在藏入浮水印影 象W寺並不疋直接將浮水印影像W嵌入於原始影像〇 CS2G9 12 580656 中而疋另外產生一把秘密金鑰κ,所以能確保被保護的 :像⑽質將和原始影像〇_樣好,且更能藉由具有時戳簽 早的金鑰心來證明先後順序以消弭爭議,實為一大進步。 因此,當欲萃取出保護影像中之浮水印影像時,請 參閱圖5之流程。在摘取保護影像s(watermarked _㈨ 後(步驟S501),亦將保護影像8根據浮水印影像w的長寬 比例切割為WHxWw個等比例區塊Bm n(步驟S5〇2),其中, 〇SmSWH -1 ’ 〇<nsww—1,每一區塊大小為土,且 WH Ww SH為保護影像S的高,Sw為保護影像s的寬。 _ 接著’圖5之步驟S502至步驟S506的流程皆與圖1之 步驟S102至步驟S106的流程相同,故不再贅述,唯在圖5 中,標的為保護影像S,而在圖1中之標的則為原始影像〇。 · 而在步驟S507中,將自原本根據原始影像〇所計算出 之秘密金鑰K中擷取出其對應之門檻值τη,並將秘密金 鑰K扣除門檻值TH以取得如圖6所示之第一暫時金鑰 T1(步驟S508);再來,根據排序後之離散餘弦值數列Dsmn 及一預設之門檻值(以下簡稱ΤΗ)來產生如圖7所示之第 鲁 二暫時金鑰Τ2(步驟8509): Τ2 = {νηΙΐΜ〇,ι}}, 其中,0<mSWH-1,〇SnSWw-l,且當DSm,n 之前(ΤΗχ區 塊總數)之數在Dm,n之相對區塊上設定為1時,tm,n為i ;當 DSm,n之後(DSm,n — (THx區塊總數))之數在Dm,ni相對區 塊上設定為0時,tm,n為0。 ,、r.Value 'thus a discrete cosine values Dm n columns are formed; WhX after the discrete cosine value series Dm, n becomes the descending order of the sorted column discrete cosine values DSm, n (step si〇6). Next '^^ columns according to the number of the discrete cosine sorted ,. And of a predetermined threshold (hereinafter referred to as TH) of FIG generating temporary key T (step S107) shown in FIG. 3: Τ = Κ, η I tm, n ^ {}} 〇5l wherein KmSWH-1,? (^ N: iWwM, and when the number before DSmn (the total number of THx blocks) is set to 1 on the relative block of Dm, n, tm n is 丨; after DSm, n (the total number of blocks is one (ΤΗχ when the number of the total number of blocks)) is set to the square on the opposite block, 〖_ 0. Further, the threshold value TH by the legitimate users control over and to follow a characteristic of each image to set different thresholds TH, in order to determine the number of temporary key D with 1 billion by the threshold TH, but for security reasons, so it is not advisable to set the threshold 711 too low or the south 'preferred system to between 1.2 billion After the temporary key is obtained from the original image 0, it can be used for the exclusive_〇R operation with the temporary 2 key τ and the watermark image w to generate as shown in Figure 4. the secret key foot (step sl〇8), where: K = (T0W) || TH Further, the original image points in time to declare billion arising, will thus: the secret The key K is registered with a fair third party to generate a key 1 with a time stamp signature (step S109), which can solve the problem of who adds the watermark image w first, and the above-mentioned key core with a time stamp signature It is secured by a fair third party. From this, it can be seen that the method of this embodiment does not directly embed the watermark image W in the original image when it is hidden in the watermark image W Temple. CS2G9 12 580656 is generated separately. a secret key κ, they are able to ensure the protection of: ⑽ like the quality and the original image 〇_ kind of good, and by having a better jab early sign of heart when the key to prove that the order to eliminate the controversy, in fact, Great progress. Therefore, when you want to extract the watermark image in the protected image, please refer to the process in Figure 5. After extracting the protected image s (watermarked_㈨) (step S501), the protected image 8 is also based on the watermark image. aspect ratio w is cut into a proportional WHxWw blocks Bm n (step S5〇2), wherein 〇SmSWH -1 'square < nsww-1, the size of each block of the soil, to protect and WH Ww SH high image s, Sw s broad to protect the image. Next _ 'in step S502 of FIG. 5 The flow of step S506 is the same as that of steps S102 to S106 in FIG. 1, so it will not be repeated, except that in FIG. 5, the target is the protection image S, and the target in FIG. 1 is the original image. in step S507, the original image from the original extraction according to the square of the calculated secret key K, which corresponds to the threshold of τη, and the secret key K to obtain deducting the threshold value TH as shown in FIG. 6 of the first Temporary key T1 (step S508); Then, according to the sorted discrete cosine value sequence Dsmn and a preset threshold value (hereinafter referred to as TQ), a second temporary key T2 as shown in FIG. 7 (step 8509): Τ2 = {νηΙΐΜ〇, ι}}, where, 0 < mSWH-1, 〇SnSWw-l, and the number (ΤΗχ total number of blocks) is set on the opposite block of Dm, n before the DSm, n When it is 1, tm, n is i; when the number after DSm, n (DSm, n — (THx block total)) is set to 0 on the relative block of Dm, ni, tm, n is 0. ,, r.

13 、,後二將第一暫時金鑰T1及第二暫時金鑰丁2進行互 運^Ρ以萃取出如圖8所示之待測浮水印影像W,(步驟 510),其计算方式為:ψ,=(τΐφτ幻。若保護影像$未被 破裹過,則W會等於w ;否則兩者之間可能會有些許差 異其係使用位元正確率(bit correct ratio, BCR)法來計算 兩者的相似度: xioo% » _ Σ,!Γ Σ^Γ wcijJewYi, j) 其中’ W(i,j)為原始浮水印影像界在座標⑽之位元值, w’(i,j)為待測浮水印影像w’在座標(^)之位元值❶ 根據上述之說明,顯示本發明所提出之數位影像版 權之保護與驗證方法能在不影響原始影像之品f的前提 :’根據原始影像來產生秘密金餘;並能透過向公正第 三者註冊以產生具有時戮簽章的金鑰,藉以比對出較早 註冊者為合法制者,以防杜仿f等侵權行為;且若攻 擊者宣稱他具有合法擁有者影像的版權時,將無法萃取 出清晰的攻擊者浮水印,顯示本發明之方法能確保被保 護媒體的強健性’以承受各式各樣的攻擊狀況;而且, 在萃取出浮水印影像的過程中不需使用到原始資料,且 除了 ^法擁有者之外,他人無法_出此影像藏有浮水 印’貫為一大進步。 上述實施例僅係為了方便說明而舉例而已,本發明 所主張之權利範圍自應以中請專利範圍所述為準, 僅限於上述實施例。 五、圖式簡單說明 580656 圖1係本發明實施例用以產生秘密金鑰之流程圖。 、 圖2係本發明實施例浮水印影像之示意圖。 . 圖3係本發明實施例暫時金鑰之示意圖。 圖4係本發明實施例秘密金鑰之示意圖。 圖5係本發明實施例用以萃取浮水印影像之流程圖。 圖6係本發明實施例第一暫時金鑰之示意圖。 圖7係本發明實施例第二暫時金鑰之示意圖。 圖8係本發明實施例待測浮水印影像之示意圖。 圖號說明13. In the last two, the first temporary key T1 and the second temporary key D2 are interoperated ^ P to extract the watermark image W to be tested as shown in FIG. 8 (step 510). The calculation method is: ψ, = (τΐφτ Magic. If the protection image $ is not broken, W will be equal to w; otherwise there may be a slight difference between the two. It is calculated using the bit correct ratio (BCR) method similarity between the two: xioo% »_ Σ, Γ Σ ^ Γ wcijJewYi, j) where 'W (i, j) in the original watermark image boundary ⑽ bit values of the coordinates, w' (i, j)! The bit value of the watermark image w 'at the coordinates (^) to be measured. According to the above description, it is shown that the digital image copyright protection and verification method proposed by the present invention can affect the premise of the original image quality:' according to the original image to produce than gold secrets; and are able to generate keys have time to kill signature by registering impartial third party, in order for the legal system earlier than those who registered for the prevent abuses such as Du imitation f ; and if the attacker claimed that he has the legal copyright owner of the image, you can not extract a clear float attacker Watermarking shows that the method of the present invention can ensure the robustness of the protected media 'to withstand various attack conditions; moreover, it is not necessary to use the original data in the process of extracting the watermark image, and save outside, others can not _ the possession of this video watermark 'penetration is a big step forward. The above embodiments are merely examples for the convenience of explanation. The scope of the claims of the present invention shall be subject to the scope of the patent application, and is limited to the above embodiments. V. Brief Description of the drawings Figure 1 is an embodiment 580656 a flow chart of the secret key is generated according to the present invention. FIG. 2 is a schematic diagram of a watermark image according to an embodiment of the present invention. Figure 3 is a schematic diagram of a temporary key according to an embodiment of the present invention. FIG. 4 is a schematic diagram of a secret key according to an embodiment of the present invention. Figure 5 is a flow chart an embodiment of the present invention the extraction of the watermark image. A schematic view of the first temporary key based embodiment of FIG. 6 embodiment of the present invention. FIG 7 schematic view showing a second embodiment of a temporary key embodiment of the present invention. FIG. 8 is a schematic diagram of a watermark image to be measured according to an embodiment of the present invention. Drawing number description

原始影像Ο 浮水印影像WOriginal image 〇 Watermark image W

暫時金鑰T 秘密金鑰K 保護影像S 第一暫時金鑰T1 第二暫時金鑰T2 待測浮水印影像W’ ·Temporary key Secret key K T S first temporary protection key image T1 T2 second temporary key test watermark image W '·

1515

Claims (1)

拾、申請專利範圍 括: 種數位影像版權之保護與驗證方法,主要包 t程序,用以產生—秘密金錄,其包括下列步驟: 取—原始影像及—浮水印影像,其中,該 “Γ!:為一0h圖素乘以0w圖素之影像,該浮水印影 始影:::H圖素乘·圖素之影像,當中,〇h為該原 印:德z度’ ^為該原始影像之寬度,^為該浮水 之向度,ww為該浮水印影像之寬度; (A2)將該原始影像切割為WhxW〜個區塊; (A3)使用離散餘弦正轉換技術,將每一區塊之 值轉換為一頻率域區塊係數; (A4)以亂數打亂該等頻率域區塊係數之順序; (A5) #員取出言亥等打亂後之頻#域區塊係數之離散 、5值以由WHxWw個離散餘弦值來形成一離散餘弦 數列; ' (A6)排序該離散餘弦值數列; (A7)根據該排序後之離散餘弦值數列及一預設之 門檻值以產生一暫時金鑰;及 (A8)將該暫時金鑰併同該浮水印影像進行互斥運 算以產生一秘密金鑰,以將該原始影像轉換為一嵌入有 該秘密金鑰之保護影像; 以及 第二程序,用以自一保護影像中萃取出一 Wh圖素乘 以Ww圖素之浮水印影像,其中,該保護影像係具有一 Ki> i U 580656 密金鑰,wH為該浮水印影像之高度,Ww為該浮水印影 像之寬度,其包括下列步驟: (B1)擷取一保護影像; (B2)將該保護影像切割為wHxWw個區塊; (B3)使用離散餘弦正轉換技術,將每一區塊之數 值轉換為一頻率域區塊係數; (B4)以亂數打亂該等頻率域區塊係數之順序; (B5)擷取出該等打亂後之頻率域區塊係數之離散Pick, patent range comprising: Species digital image copyright protection and authentication method, the main program package t, to generate - Secret recorded, comprising the steps of: taking - the original image and - an image watermark, wherein, the "Γ !: Is an image of 0h pixels multiplied by 0w pixels, and the starting image of the watermark: :: H pixels multiplied by pixels, where 0h is the original seal: de z degrees' ^ is the original the width of the image, ^ for the dimension of the float, ww for the width of the watermark image; (A2) the original image is cut into blocks WhxW~; (A3) n discrete cosine transformation, the each zone The value of the block is converted into a frequency domain block coefficient; (A4) The order of the frequency domain block coefficients is disturbed with random numbers; (A5) #The member takes out the frequency of the block coefficients after the disruption, such as Yanhai. Discrete, 5-valued to form a discrete cosine sequence from WHxWw discrete cosine values; '(A6) sort the discrete cosine value sequence; (A7) generate the discrete cosine value sequence after the sorting and a preset threshold value to generate a temporary key; and (A8) the temporary key and the watermark image with Repel operation to generate a secret key to convert the original image into a protected image embedded with the secret key; and a second procedure for extracting a Wh pixel by a Ww pixel from a protected image the watermark image, wherein the image protection system having a Ki > i U 580656 secret key, for the height wH watermark image, the image of the watermark of width Ww, comprising the steps of: (B1) to retrieve A protected image; (B2) cut the protected image into wHxWw blocks; (B3) use discrete cosine transform technology to convert the value of each block into a frequency domain block coefficient; (B4) use random numbers Shuffle the order of the block coefficients in the frequency domain; (B5) Extract the dispersion of the block coefficients in the frequency domain after scrambling 餘弦值,以由WHxWw個離散餘弦值來形成一形成一離散 餘弦值數列; (B6)排序該離散餘弦值數列; (B7)自一秘密金鑰中擷取出一門檻值,並將扣除 該門檻值後之該秘密金鍮儲存為一第一暫時金鑰; (B8)根據該排序後之離散餘弦值數列及該門檻值 以產生一第二暫時金鑰;及 斥運算以萃取出一待測浮水印影像。Cosine to the WHxWw discrete cosine values to form a form a discrete cosine series; (B6) sorting the discrete cosine series; (B7) retrieving a threshold value from a secret key, and the deduction of the rocker The secret golden coin after the value is stored as a first temporary key; (B8) A second temporary key is generated according to the sorted sequence of discrete cosine values and the threshold value; and a repel operation is used to extract a test object. watermark images. 汝申β月專利範圍第1項所述之方法,盆 原始影像為叫Ojlo“^2p_1},當令,每一 Olj係為 素,t —圖素係具有錄元,且挪 •如申請專利範圍第2項所述之方法, 原始影像係為—灰階影像。 方法其中 浮丄利範圍第2項所述之方法,其中 係為—二元影像W+A,,當中 j '' 圖素,且叱卜 〇SjsW 。 .C3274 w 17 580656 之方法,其中,於 ,且每一區塊 5·如申請專利範圍第丨項所述 步驟(A2)中,每一區塊之大小為& 〇i,j °ij+i 0 叫 〇i+ l,j+l O.. l.J+W-l Ο. f . I+1,J+W-1 ’當中 ο Ο i+h-1 ,j+w~l 〇<n<Ww -The method described in item 1 of the patent scope of Rushen Beta Month, the original image of the basin is called Ojlo "^ 2p_1}, and each Olj system is a voxel, t — the pixel system has a record, and the In the method described in item 2, the original image is a grayscale image. The method described in item 2 of the floating range is a binary image W + A, where j '' pixels, . Bu 〇SjsW .C3274 hoot and method of w 17 580656, wherein, in, and each block 5. the range of the patent application step (A2), the first item Shu, the size of each block is & square i, j ° ij + i 0 is called 〇i + l, j + l O .. l.J + Wl Ο. f. I + 1, J + W-1 'among ο Ο i + h-1, j + w ~ l 〇 < n < Ww- 6.如申請專利範圍第1項所述之方法,苴中,於 步驟⑽中,該暫時金餘為T七丨匕骨當中,、 ’ 〇如Ww],且當DSmn之前(門播值X區塊 總數)之數在Dni,n之相對區塊上設定為i時,,當 DSm,n之後(區塊總數—(門檻值χ區塊總數》之數在該 ^之相對區塊上設^為叫,tm^ G,且DSm,々該排序 後之離散餘弦值數列,Dm,n為該離散餘弦值數列。 7·如申請專利範圍第1項所述之方法,其中,於 步驟(A8)中,该秘密金餘為κ = (Τφ·τΗ,當中,丁為6. The method of application of paragraph 1 patentable scope, Ju in step ⑽, the balance being gold temporarily seven Shu T ,, which bone dagger 'square as Ww], and when the prior DSMN (multicast gate value X when the number of the total number of blocks) is set to i in the block on the opposite Dni, n ,, when the DSm, n (total number of blocks - the number (total number of blocks threshold χ "of the ^ provided on the opposite block ^ is called, tm ^ G, and the DSm, 々 rear of the ranking discrete cosine series, Dm, n number of columns for a discrete cosine value. 7. the application method according to the item 1 patentable scope, wherein, in step ( A8), the secret more than for κ = (Τφ · τΗ, which, as Ding β暫時金鑰,w為該浮水印影像,ΤΗ為該門檀值。 8·如申請專利範圍第1項所述之方法,其中,於 步驟(Β8)中’該第二暫時金鑰為叫。‘,}},當 中,,0加Ww-1,且當DSm,n之前(門檻值乂 品鬼^心數)之數在Dm n之相對區塊上設定為i時,u ^為 1 ’當DSm,n之後(DSmn—(門檻值※區塊總數》之數在〇_ 之相對區塊上設定為〇時,‘為〇,且队』該排序後 之離散餘弦值數列,Dm,』該離散餘弦值數列。 * f' 〇 | 18 580656 9·如申請專利範圍第8項所述之方 步_)中,該待測浮水印影像為^⑽:L於 T1為6亥第一暫時金鑰,Τ2為該第二暫_ 以如申請專利範圍第〗項所述之 。 步驟㈣之後尚包括一步驟(A9),其 密;二於 公正第三者註冊,以產生-具有—時向一 1如申請專利範圍第i項所述 之,餘° 位元正確率法以比對原始浮 ^,、係使用 影像之相似度。 “象及該待測浮水印β temporary key, w for the video watermark, ΤΗ values for Tan door. 8. The method according to item 1 of the scope of patent application, wherein in step (B8), the second temporary key is called. ',}}, Among them, 0 plus Ww-1, and when the number before DSm, n (threshold value counterfeit ghost ^ heart number) is set to i on the relative block of Dm n, u ^ is 1' When DSm, n (DSmn— (threshold value ※ total number of blocks) is set to 0 on the relative block of 0_, 'is 0, and the team ’s sequence of discrete cosine values after the order, Dm, ” the discrete cosine series * f 'square | 18 580656 9 · Fangbu as the application of paragraph 8 patentable scope _), the test image is watermark ^ ⑽: L T1 is 6 in the first temporary Hai key, _ [tau] 2 is the second provisional patent application as to the range of the first item after the step (iv)〗 still comprises a step (the A9), its density; impartial third party registered in two, to produce - with - time. 1 to a range of the patent application as in item i, I ° correct bit rate than the original method ,, ^ floating system using the image similarity. "image and the watermark test &如申請專利範圍第u項所述之方法,其中, 位元正確率法為= 中,w(i,j)為該原始浮水印影像在座 ,為該待測浮水印影像在座標(i,二 心係所:,,其中,步 14·如申請專利範圍二&Amp; The application of the method according to item patentable scope u, wherein, the correct bit rate = the law, w (i, j) for the original watermark image here, the test for the watermark image at coordinates (i , Janus-faced Department: ,, wherein the step 14. the two patented range :G_S 19: G_S 19
TW91136899A 2002-12-20 2002-12-20 Protection and verification method for digital image copyright TW580656B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW91136899A TW580656B (en) 2002-12-20 2002-12-20 Protection and verification method for digital image copyright

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW91136899A TW580656B (en) 2002-12-20 2002-12-20 Protection and verification method for digital image copyright

Publications (2)

Publication Number Publication Date
TW580656B true TW580656B (en) 2004-03-21
TW200411595A TW200411595A (en) 2004-07-01

Family

ID=32924186

Family Applications (1)

Application Number Title Priority Date Filing Date
TW91136899A TW580656B (en) 2002-12-20 2002-12-20 Protection and verification method for digital image copyright

Country Status (1)

Country Link
TW (1) TW580656B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8112496B2 (en) 2004-09-24 2012-02-07 Microsoft Corporation Efficient algorithm for finding candidate objects for remote differential compression
US8117173B2 (en) 2004-04-15 2012-02-14 Microsoft Corporation Efficient chunking algorithm
TWI512522B (en) * 2013-08-09 2015-12-11 Viaccess Sa Method for providing a licence in a system for providing multimedia contents

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8117173B2 (en) 2004-04-15 2012-02-14 Microsoft Corporation Efficient chunking algorithm
US8112496B2 (en) 2004-09-24 2012-02-07 Microsoft Corporation Efficient algorithm for finding candidate objects for remote differential compression
TWI512522B (en) * 2013-08-09 2015-12-11 Viaccess Sa Method for providing a licence in a system for providing multimedia contents

Also Published As

Publication number Publication date
TW200411595A (en) 2004-07-01

Similar Documents

Publication Publication Date Title
Chen et al. A fuzzy c-means clustering-based fragile watermarking scheme for image authentication
US6598162B1 (en) Method for combining transfer functions with predetermined key creation
US7664263B2 (en) Method for combining transfer functions with predetermined key creation
JP2001518651A (en) Watermarking digital objects
TW200846967A (en) Watermark embedding in a multimedia system-on-chip
WO2002003385A1 (en) Copy protection of digital data combining steganographic and cryptographic techniques
Wu et al. Digital watermarking based on chaotic map and reference register
US20230410072A1 (en) Systems and methods for enhanced non-fungible tokens
CN102270336B (en) Safe fragile watermarking method based on multiple dependency structures
Naz et al. Watermarking as a service (WaaS) with anonymity
Rose et al. A secure verifiable scheme for secret image sharing
Das et al. Cryptanalysis of optimal differential energy watermarking (DEW) and a modified robust scheme
Wang et al. Blockchain private key storage algorithm based on image information hiding
Lin Digital watermarking models for resolving rightful ownership and authenticating legitimate customer
Riaz et al. Image authentication and restoration by multiple watermarking techniques with advance encryption standard in digital photography
Hsu et al. A visual cryptography and statistics based method for ownership identification of digital images
Fang et al. Image tampering location and restoration watermarking based on blockchain technology
TW200411595A (en) Protection and verification method of digital image copyright
Mayer Review on watermarking techniques aiming authentication of digital image artistic works minted as NFTs into Blockchains
Memon et al. Buyer-seller watermarking protocol based on amplitude modulation and the El Gamal Public Key Crypto System
Sheppard et al. Digital watermarks for copyright protection
Lim et al. Multiple block based authentication watermarking for distribution of medical images
TW451170B (en) A robust digital watermarking mechanism for multimedia
Chang et al. Public-key inter-block dependence fragile watermarking for image authentication using continued fraction
Ilcheva et al. A digital watermarking scheme for image tamper detection

Legal Events

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