[go: up one dir, main page]

TWI398829B - Floating watermark embedding device and verification device, digital floating watermark verification system - Google Patents

Floating watermark embedding device and verification device, digital floating watermark verification system Download PDF

Info

Publication number
TWI398829B
TWI398829B TW99107761A TW99107761A TWI398829B TW I398829 B TWI398829 B TW I398829B TW 99107761 A TW99107761 A TW 99107761A TW 99107761 A TW99107761 A TW 99107761A TW I398829 B TWI398829 B TW I398829B
Authority
TW
Taiwan
Prior art keywords
image
watermark
frequency domain
certificate
domain data
Prior art date
Application number
TW99107761A
Other languages
Chinese (zh)
Other versions
TW201133399A (en
Inventor
Yuan-Liang Tang
Bo-Xiu Chen
Meng-Ting Zou
yu-xiang Zheng
Ding-Wei Zhang
Jing-Yao Chen
Li-Ting Wang
sen-hui Qiu
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 filed Critical
Priority to TW99107761A priority Critical patent/TWI398829B/en
Publication of TW201133399A publication Critical patent/TW201133399A/en
Application granted granted Critical
Publication of TWI398829B publication Critical patent/TWI398829B/en

Links

Landscapes

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

Description

浮水印嵌入裝置和驗證裝置、數位浮水印驗證系統Watermark embedding device and verification device, digital watermark verification system

本發明是有關於一種嵌入裝置和驗證裝置、驗證系統,特別是指一種應用於防偽證書的浮水印嵌入裝置和驗證裝置、數位浮水印驗證系統。The invention relates to an embedding device and a verification device, a verification system, in particular to a watermark embedding device and a verification device applied to an anti-counterfeiting certificate, and a digital watermark verification system.

現今社會上充斥著各式偽造的證書,尤其偽造技術日益進步,因此在收到一份紙本證書時,很難判斷證書的真偽。故需要一種能夠即時驗證紙本證書之真實性的技術。Today's society is full of all kinds of forged certificates, especially forgery technology. Therefore, when receiving a paper certificate, it is difficult to judge the authenticity of the certificate. There is a need for a technology that can verify the authenticity of a paper certificate in real time.

因此,本發明之目的,即在提供一種避免上述缺失的浮水印嵌入裝置。Accordingly, it is an object of the present invention to provide a watermark embedding apparatus that avoids the above-described deficiencies.

該浮水印嵌入裝置,包含:一影像轉換模組,接收一根據一證書編號所產生的原始證書影像,並將該原始證書影像進行色彩分離以得到一擷取像素分量和一殘餘像素分量,進而將該擷取像素分量轉換成一具有多數個傅立葉係數的頻率域資料;一記憶體,電連接於該影像轉換模組以暫存該殘餘像素分量;一亂數種子產生器,根據該證書編號和一密碼金鑰進行邏輯運算以得到一亂數種子;一核心模組,電連接於該影像轉換模組以接收該具有多數個傅立葉係數的頻率域資料,並根據該亂數種子從該頻率域資料上選出一部分傅立葉係數當作多數個嵌入點,且將該等嵌入點之傅立葉係數值分別加大以得到一嵌入浮水印的頻率域資料;及一影像回復模組,電連接於該核心模組和該記憶體以接收該嵌入浮水印的頻率域資料和該殘餘像素分量,且進行影像處理以得到一嵌入浮水印的證書影像。The watermark embedding device comprises: an image conversion module, receiving an original certificate image generated according to a certificate number, and performing color separation on the original certificate image to obtain a captured pixel component and a residual pixel component, thereby further Converting the captured pixel component into a frequency domain data having a plurality of Fourier coefficients; a memory body electrically connected to the image conversion module to temporarily store the residual pixel component; a random number seed generator, according to the certificate number and a cryptographic key is logically operated to obtain a random number seed; a core module is electrically connected to the image conversion module to receive the frequency domain data having a plurality of Fourier coefficients, and according to the random number seed from the frequency domain A part of the Fourier coefficients are selected as a plurality of embedding points, and the Fourier coefficient values of the embedding points are respectively increased to obtain a watermark embedded frequency domain data; and an image recovery module is electrically connected to the core mode. And the memory to receive the embedded watermark frequency domain data and the residual pixel component, and perform image processing to obtain A certificate embedded watermark image.

因此,本發明之第二目的,即在提供一種浮水印驗證裝置。Accordingly, a second object of the present invention is to provide a watermark verification apparatus.

該浮水印驗證裝置,適用於驗證一張具有一專屬證書編號的待驗證證書影像,包含:一影像轉換模組,將所接受的一影像進行色彩分離以得到一擷取像素分量,進而將該擷取像素分量轉換成一具有多數個傅立葉係數的頻率域資料;一亂數種子產生器,根據該證書編號和一密碼金鑰進行邏輯運算以得到一亂數種子;及一驗證模組,電連接於該影像轉換模組和該亂數種子產生器以接收該具有多數個傅立葉係數的頻率域資料和該亂數種子,並從該頻率域資料找出具有較大傅立葉係數值之資料的座標當作一組所偵測浮水印的座標位置,又根據該亂數種子從該頻率域資料中選出一部分傅立葉係數當作多數個嵌入點,以將該多數個嵌入點的座標當作一組所計算浮水印的座標位置,進而根據該組所偵測浮水印的座標位置和該組所計算浮水印的座標位置間的關係,判斷該待驗證的證書影像為真或為偽。The watermark verification device is configured to verify a certificate image to be verified with a unique certificate number, comprising: an image conversion module, performing color separation on the received image to obtain a captured pixel component, and then Converting the pixel component into a frequency domain data having a plurality of Fourier coefficients; a random seed generator, performing logical operations on the certificate number and a cryptographic key to obtain a random seed; and a verification module, electrically connecting The image conversion module and the random number seed generator to receive the frequency domain data having the plurality of Fourier coefficients and the random number seed, and find coordinates of the data having the larger Fourier coefficient value from the frequency domain data. Performing a coordinate position of the detected watermark, and selecting a part of the Fourier coefficients from the frequency domain data as a plurality of embedded points according to the random seed, to calculate the coordinates of the plurality of embedded points as a group The coordinate position of the watermark, and then according to the relationship between the coordinate position of the detected watermark of the group and the coordinate position of the calculated watermark of the group, Certificate off of the image to be verified is true or dummy.

因此,本發明之第三目的,即在提供一種數位浮水印驗證系統。Accordingly, a third object of the present invention is to provide a digital watermark verification system.

數位浮水印驗證系統,包含:一浮水印嵌入裝置,包括:一影像轉換模組,接收一根據一證書編號所產生的原始證書影像,並將該原始證書影像進行色彩分離以得到一擷取像素分量和一殘餘像素分量,進而將該擷取像素分量轉換成一具有多數個傅立葉係數的頻率域資料;一記憶體,電連接於該影像轉換模組以暫存該殘餘像素分量;一亂數種子產生器,根據該證書編號和一密碼金鑰進行邏輯運算以得到一亂數種子;一核心模組,電連接於該影像轉換模組以接收該具有多數個傅立葉係數的頻率域資料,並根據該亂數種子從該頻率域資料上的選出一部分傅立葉係數當作多數個嵌入點,且將該等嵌入點之傅立葉係數值分別加大以得到一嵌入浮水印的頻率域資料;及一影像回復模組,電連接於該核心模組和該記憶體以接收該嵌入浮水印的頻率域資料和該殘餘像素分量,且進行影像處理以得到一嵌入浮水印的證書影像;及一浮水印驗證裝置,適用於驗證一張具有一專屬證書編號的待驗證證書影像,包括:一影像轉換模組,將所接受的一影像進行色彩分離以得到一擷取像素分量,進而將該擷取像素分量轉換成一具有多數個傅立葉係數的頻率域資料;一亂數種子產生器,根據該證書編號和該密碼金鑰進行邏輯運算以得到一亂數種子;及一驗證模組,電連接於該影像轉換模組和該亂數種子產生器以接收該具有多數個傅立葉係數的頻率域資料和該亂數種子,並從該頻率域資料找出具有較大傅立葉係數值之資料的座標當作一組所偵測浮水印的座標位置,又根據該亂數種子從該頻率域資料中選出一部分傅立葉係數當作多數個嵌入點,以將該多數個嵌入點的座標當作一組所計算浮水印的座標位置,進而根據該組所偵測浮水印的座標位置和該所計算浮水印的座標位置間的關係,判斷該待驗證的證書影像為真或為偽。The digital watermark verification system comprises: a watermark embedding device, comprising: an image conversion module, receiving an original certificate image generated according to a certificate number, and color-separating the original certificate image to obtain a captured pixel a component and a residual pixel component, thereby converting the captured pixel component into a frequency domain data having a plurality of Fourier coefficients; a memory body electrically connected to the image conversion module to temporarily store the residual pixel component; a generator, performing a logical operation according to the certificate number and a cryptographic key to obtain a random seed; a core module electrically connected to the image conversion module to receive the frequency domain data having a plurality of Fourier coefficients, and according to The random seed selects a part of the Fourier coefficients from the frequency domain data as a plurality of embedded points, and increases the Fourier coefficient values of the embedded points respectively to obtain a watermark embedded frequency domain data; and an image reply a module electrically connected to the core module and the memory to receive the watermark embedded frequency domain data and the residual a component of the image, and performing image processing to obtain a certificate image embedded in the watermark; and a watermark verification device for verifying a certificate image to be verified having a unique certificate number, including: an image conversion module, Receiving an image for color separation to obtain a captured pixel component, thereby converting the captured pixel component into a frequency domain data having a plurality of Fourier coefficients; a random seed generator, according to the certificate number and the cryptographic key Performing a logical operation to obtain a random number seed; and a verification module electrically connected to the image conversion module and the random number seed generator to receive the frequency domain data having the plurality of Fourier coefficients and the random number seed, and The coordinates of the data with the larger Fourier coefficient value are found from the frequency domain data as the coordinate position of the detected watermark, and a part of the Fourier coefficients are selected from the frequency domain data as the majority according to the random number seed. Embedding points to treat the coordinates of the plurality of embedded points as coordinate positions of a set of calculated watermarks, and then according to the group The relationship between the watermark and the coordinate position of the coordinate position computed watermark, the image of the determined certificate to be verified is true or dummy.

有關本發明之前述及其他技術內容、特點與功效,在以下配合參考圖式之一個較佳實施例的詳細說明中,將可清楚的呈現。The above and other technical contents, features and advantages of the present invention will be apparent from the following detailed description of the preferred embodiments.

如圖1所示,本發明數位浮水印驗證系統之較佳實施例包含:一圖樣設計器1、一浮水印嵌入裝置2、一數位印刷機3、一掃描器4和一浮水印驗證裝置5。As shown in FIG. 1, a preferred embodiment of the digital watermark verification system of the present invention comprises: a pattern designer 1, a watermark embedding device 2, a digital printer 3, a scanner 4, and a watermark verification device 5. .

一間管理中心可利用本發明的數位浮水印驗證系統以接受各界委託印刷出具有防偽功能的紙本證書。且於日後可協助對這些證書進行真偽的驗證。例如,可受學校委託來印製畢業證書,而當畢業生拿著畢業證書到一家企業求職時,該企業可透過該管理中心協助驗證該畢業證書的真偽,以杜絕偽造的行為。此外,除了畢業證書外,本實施例中的證書還可包括:獎狀、專業證書、公證書、委任狀、支票、權狀等。A management center can utilize the digital watermark verification system of the present invention to accept commissioned printing of a paper certificate with anti-counterfeiting function. In the future, we can assist in the verification of the authenticity of these certificates. For example, a diploma can be printed by a school, and when a graduate takes a diploma to a company for a job, the company can help verify the authenticity of the diploma through the management center to prevent counterfeiting. In addition, in addition to the graduation certificate, the certificate in this embodiment may further include: a certificate, a professional certificate, a notarial certificate, a commission, a check, a right, and the like.

具體來說,管理中心會利用該圖樣設計器1規劃出一張證書的內容,且利用該浮水印嵌入裝置2將具有防偽功能的浮水印嵌入該證書中,然後再利用數位印刷機3將證書印製成紙本。且於日後有企業希望管理中心協助驗證證書時,可用網路的方式接收企業利用掃描器4掃描出的證書影像,並利用該浮水印驗證裝置5驗證該證書的真偽,而達到即時驗證的效果。以下則開始針對每一流程進行詳細的介紹。Specifically, the management center uses the pattern designer 1 to plan the content of a certificate, and uses the watermark embedding device 2 to embed the watermark with the anti-counterfeiting function in the certificate, and then uses the digital printer 3 to use the certificate. Printed on paper. In the future, when the enterprise wants the management center to assist the verification certificate, the certificate image scanned by the enterprise using the scanner 4 can be received by the network, and the authenticity of the certificate can be verified by the watermark verification device 5, and the verification is realized. effect. The following is a detailed introduction to each process.

<製作具有浮水印的紙本證書><Making a paper certificate with a watermark>

圖樣設計器1會對每一張證書編制單一的證書編號,且根據該證書編號和一證書相關資訊進行編排以產生一數位的原始證書影像,以使該原始證書影像中顯示出這些資訊。而該證書相關資訊包含證書名稱、發證日期、證書持有人姓名、出生年月日等。The pattern designer 1 prepares a single certificate number for each certificate, and arranges according to the certificate number and a certificate related information to generate a digital original certificate image so that the information is displayed in the original certificate image. The relevant information of the certificate includes the name of the certificate, the date of issuance, the name of the certificate holder, the date of birth, and so on.

參閱圖2,浮水印嵌入裝置2連接於該圖樣設計器1以接收該原始證書影像,並根據該證書編號和一密碼金鑰對該原始證書影像嵌入一數位浮水印以得到一嵌入浮水印的證書影像,且包括:一影像轉換模組21、一記憶體22、一亂數種子產生器23、一核心模組24、一影像回復模組25。Referring to FIG. 2, the watermark embedding device 2 is connected to the pattern designer 1 to receive the original certificate image, and embeds a digital watermark on the original certificate image according to the certificate number and a cryptographic key to obtain an embedded watermark. The certificate image includes: an image conversion module 21, a memory 22, a random seed generator 23, a core module 24, and an image recovery module 25.

影像轉換模組21連接於該圖樣設計器1以接收該原始證書影像,並將該原始證書影像進行色彩分離以得到一擷取像素分量和一殘餘像素分量,進而將該擷取像素分量轉換成一具有多數個傅立葉係數的頻率域資料,且具有一色彩分量擷取器211和一傅立葉轉換器212。The image conversion module 21 is connected to the pattern designer 1 to receive the original certificate image, and color-separates the original certificate image to obtain a captured pixel component and a residual pixel component, thereby converting the captured pixel component into a A frequency domain data having a plurality of Fourier coefficients, and having a color component extractor 211 and a Fourier converter 212.

色彩分量擷取器211於該圖樣設計器2以接收該原始證書影像,並對該原始證書影像進行色彩分離以得到一擷取像素分量和一殘餘像素分量。The color component extractor 211 is received by the pattern designer 2 to receive the original certificate image, and color-separates the original certificate image to obtain a captured pixel component and a residual pixel component.

其中,影像中的色彩包括一紅色像素分量、一藍色像素分量和一綠色像素分量,又修改紅色或藍色像素分量對於彩色影像的畫質衝擊較小,而修改綠色像素分量則對於影像畫質衝擊較大,因此該擷取像素分量於本實施例中是該紅色像素分量而殘餘像素分量則是「綠色像素分量+藍色像素分量」,但不限於此,該擷取像素分量也可以是該藍色像素分量。The color in the image includes a red pixel component, a blue pixel component, and a green pixel component, and the modified red or blue pixel component has less impact on the color image, and the modified green pixel component is for the image. The quality of the captured pixel component is the red pixel component in the present embodiment and the residual pixel component is the “green pixel component + blue pixel component”, but is not limited thereto, and the captured pixel component may also be Is the blue pixel component.

記憶體22電連接於該色彩分量擷取器211以暫存該殘餘像素分量。The memory 22 is electrically coupled to the color component extractor 211 to temporarily store the residual pixel component.

傅立葉轉換器212電連接於該色彩分量擷取器211以接收該擷取像素分量,並對該擷取像素分量進行傅立葉轉換以得到該具有多數個傅立葉係數的頻率域資料。A Fourier converter 212 is electrically coupled to the color component extractor 211 to receive the captured pixel component and perform Fourier transform on the captured pixel component to obtain the frequency domain data having a plurality of Fourier coefficients.

亂數種子產生器23根據該證書編號和一密碼金鑰進行邏輯運算以得到一亂數種子,其中,在本實施例中,該邏輯運算是一「互斥或(Exclusive OR)」運算,但不限於此,也可以是其他方式。The random seed generator 23 performs a logical operation based on the certificate number and a cryptographic key to obtain a random seed. In the embodiment, the logical operation is a "Exclusive OR" operation, but Not limited to this, it can be other ways.

核心模組24電連接於該影像轉換模組21以接收該具有多數個傅立葉係數的頻率域資料,並根據該亂數種子從該頻率域資料中選出一部分傅立葉係數當作嵌入點,且將該等嵌入點之傅立葉係數分別加大以得到一嵌入浮水印的頻率域資料,且具有一嵌入點劃分器241、一處理器242,和一係數產生器243。The core module 24 is electrically connected to the image conversion module 21 to receive the frequency domain data having a plurality of Fourier coefficients, and selects a part of Fourier coefficients from the frequency domain data as an embedding point according to the random number seed, and The Fourier coefficients of the embedded points are respectively increased to obtain a watermark embedded frequency domain data, and have an embedded point divider 241, a processor 242, and a coefficient generator 243.

嵌入點劃分器241電連接於該傅立葉轉換器212以接收該頻率域資料,並於該頻率域資料的一預設劃分區域根據一預設參數進行劃分以得到n個具有一傅立葉係數值的候選嵌入點。其中該預設參數具有預設最大半徑RMAX 、預設最小半徑Rmin 、分割單位R和分割角度θ,如圖3所示。The embedded point divider 241 is electrically connected to the Fourier converter 212 to receive the frequency domain data, and is divided according to a preset parameter in a preset divided region of the frequency domain data to obtain n candidates having a Fourier coefficient value. Embed the point. The preset parameter has a preset maximum radius R MAX , a preset minimum radius R min , a division unit R, and a division angle θ, as shown in FIG. 3 .

處理器242電連接於該嵌入點劃分器241和傅立葉轉換器212,且從該n個候選嵌入點中任選出m個嵌入點,由此可得到組嵌入點。且較佳的,m=n/2,以使的值最大,而減少被破解的機會,例如:以n =56,m =28為例,約為700兆組。The processor 242 is electrically connected to the embedded point divider 241 and the Fourier converter 212, and optionally selects m embedded points from the n candidate embedded points, thereby obtaining Group embedding points. And preferably, m=n/2, so that The value is the largest, and the chance of being cracked is reduced, for example, taking n = 56, m = 28 as an example. About 700 megabytes.

又該處理器242更連接於該亂數種子產生器23以接收該亂數種子,並根據該亂數種子從組嵌入點中選出一組嵌入點,並將該組嵌入點的座標位置當作浮水印的座標位置。Further, the processor 242 is further connected to the random number seed generator 23 to receive the random number seed, and according to the random number seed A set of embedding points is selected from the group embedding points, and the coordinate position of the group embedding points is regarded as the coordinate position of the watermark.

在此舉一例說明,處理器可執行一亂數函式(例如Matlab軟體所提供的randperm(n)),該亂數函式可將該n個候選嵌入點隨機排列,然後再取前m個即可實現n個候選嵌入點中任選出m個嵌入點的目的,又該亂數函式更根據一預設初始值而產生一專屬的排序,因此只需以一固定數值的亂數種子作為該預設初始值,即可每次執行該亂數函式時,皆產生相同的排序。In this example, the processor can execute a random number function (such as randperm(n) provided by Matlab software), and the random number function can randomly arrange the n candidate embedding points, and then take the first m. The purpose of optionally selecting m embedding points among the n candidate embedding points can be achieved, and the random number function further generates an exclusive ordering according to a preset initial value, so that only a random number of random seeds is needed. As the preset initial value, the same sorting can be generated each time the random number function is executed.

係數產生器243電連接於該處理器242和該傅立葉轉換器212,以接收該頻率域資料,並將上述得出的浮水印的座標位置上的傅立葉係數加上一預設常數,以得到一嵌入浮水印的頻率域資料。The coefficient generator 243 is electrically connected to the processor 242 and the Fourier converter 212 to receive the frequency domain data, and adds a predetermined constant to the Fourier coefficient at the coordinate position of the obtained watermark to obtain a The frequency domain data embedded in the watermark.

在此以公式說明,係數產生器243可執行公式M’(u,v)=M(u,v)+c、M’(-u,-v)=M(-u,-v)+c以將傅立葉係數修改成相當大的值,其中,參數(u,v)、(-u,-v)分別表示浮水印之座標位置、對稱原點的座標位置,則M(u,v)表示將浮水印的傅立葉係數進行絶對值運算,c是一個預設常數。Here, by the formula, the coefficient generator 243 can execute the formula M'(u,v)=M(u,v)+c, M'(-u,-v)=M(-u,-v)+c In order to modify the Fourier coefficient to a relatively large value, wherein the parameters (u, v), (-u, -v) respectively represent the coordinate position of the watermark and the coordinate position of the symmetric origin, then M(u, v) represents The absolute value of the watermark's Fourier coefficients is performed, and c is a preset constant.

影像回復模組25電連接於該核心模組24和該記憶體22以接收該嵌入浮水印的頻率域資料和該殘餘像素分量,且進行影像處理以得到一嵌入浮水印的證書影像,且具有一反傅立葉轉換器251和一色彩分量結合器252。The image recovery module 25 is electrically connected to the core module 24 and the memory 22 to receive the watermark embedded frequency domain data and the residual pixel component, and performs image processing to obtain a watermark embedded certificate image, and has An inverse Fourier transformer 251 and a color component combiner 252.

反傅立葉轉換器251電連接於該係數產生器243以接收該嵌入浮水印的頻率域資料,並將該嵌入浮水印的頻率域資料進行反傅立葉轉換成一嵌入浮水印的擷取像素分量。The inverse Fourier transformer 251 is electrically connected to the coefficient generator 243 to receive the watermark embedded frequency domain data, and inversely Fourier transforms the watermark embedded frequency domain data into a watermarked captured pixel component.

色彩分量結合器252電連接於該反傅立葉轉換器251和該記憶體22,並將該嵌入浮水印的擷取像素分量和該殘餘像素分量結合成一嵌入浮水印的證書影像。The color component combiner 252 is electrically coupled to the inverse Fourier transformer 251 and the memory 22, and combines the watermarked captured pixel component and the residual pixel component into a watermarked certificate image.

數位印刷機3電連接於該色彩分量結合器252以接收該嵌入浮水印的證書影像,且將其印出以得到一具有浮水印的紙本證書。The digital printer 3 is electrically coupled to the color component combiner 252 to receive the watermarked certificate image and print it out to obtain a paper certificate having a watermark.

<驗證紙本證書的真偽><Verify the authenticity of the paper certificate>

掃描器4將一待驗證的紙本證書掃描成一待驗證的證書影像。The scanner 4 scans a paper certificate to be verified into a certificate image to be verified.

參閱圖4,浮水印驗證裝置5適用於驗證一張具有一專屬證書編號的待驗證證書影像,包含:一旋轉縮放模組51、一影像轉換模組52、一亂數種子產生器53、一驗證模組54和一顯示器55。Referring to FIG. 4, the watermark verification device 5 is adapted to verify a certificate image to be verified with a unique certificate number, including: a rotation zoom module 51, an image conversion module 52, a random seed generator 53, and a The verification module 54 and a display 55 are provided.

旋轉縮放模組51電連接於該掃描器4以接收該待驗證的證書影像,先判斷該待驗證的證書影像是否遭旋轉,若有,則將該影像更正,並更判斷是否遭縮放,若是,則再進行縮放以輸出一尺寸縮放影像,且具有一霍氏轉換器511、一判斷器512和一影像縮放器513。The rotation zoom module 51 is electrically connected to the scanner 4 to receive the certificate image to be verified, first determining whether the certificate image to be verified is rotated, and if so, correcting the image and determining whether it is scaled, if Then, the zoom is further performed to output a size-scaled image, and has a Hall's converter 511, a determiner 512, and an image scaler 513.

霍氏(Hough)轉換器511電連接於該掃描器4以接收該待驗證的證書影像,以偵測該待驗證的證書影像的邊緣直線且得知每一邊緣直線之一斜率。A Hough converter 511 is electrically connected to the scanner 4 to receive the certificate image to be verified to detect an edge line of the certificate image to be verified and to obtain a slope of each edge line.

判斷器512電連接於該霍氏轉換器511和該掃描器4以得知該斜率和接收該該待驗證的證書影像,且根據該斜率以判斷該待驗證的證書影像是否遭旋轉而輸出一更正影像,其中,若是遭旋轉,則該判斷器512將該待驗證的證書影像進行反向旋轉而得到該更正影像,若否,則該判斷器依然輸出該待驗證的證書影像作為該更正影像。The determiner 512 is electrically connected to the Hough converter 511 and the scanner 4 to learn the slope and receive the certificate image to be verified, and output a signal according to the slope to determine whether the certificate image to be verified is rotated. Correcting the image, wherein, if it is rotated, the determiner 512 reversely rotates the certificate image to be verified to obtain the corrected image, and if not, the determiner still outputs the certificate image to be verified as the corrected image. .

影像縮放器513電連接於該判斷器512以接收該更正影像,並根據一預設影像尺寸判斷該更正影像是否遭縮放,若是,將該更正影像進行縮放以得到一尺寸縮放影像,若否,則直接輸出該更正影像以當作該尺寸縮放影像。The image scaler 513 is electrically connected to the determiner 512 to receive the corrected image, and determines whether the corrected image is scaled according to a preset image size. If yes, the corrected image is scaled to obtain a size-scaled image, and if not, The corrected image is directly output to scale the image as the size.

影像轉換模組52電連接於該旋轉縮放模組51以接收該尺寸縮放影像,將該尺寸縮放影像轉換成一具有多數個傅立葉係數的頻率域資料,且具有一色彩分量擷取器和一傅立葉轉換器。The image conversion module 52 is electrically connected to the rotation scaling module 51 to receive the size-scaled image, and converts the size-scaled image into a frequency domain data having a plurality of Fourier coefficients, and has a color component extractor and a Fourier transform. Device.

色彩分量擷取器521電連接於該影像縮放器以接收該尺寸縮放影像,並對該尺寸縮放影像進行色彩分離以得到一擷取像素分量和一殘餘像素分量,其中,該擷取像素分量和該殘餘像素分量如同上述。The color component extractor 521 is electrically connected to the image scaler to receive the size-scaled image, and performs color separation on the size-scaled image to obtain a captured pixel component and a residual pixel component, wherein the captured pixel component and This residual pixel component is as described above.

傅立葉轉換器522電連接於該色彩分量擷取器521以接收該擷取像素分量,並對該擷取像素分量進行傅立葉轉換以得到一具有多數個傅立葉係數的頻率域資料。A Fourier converter 522 is electrically coupled to the color component extractor 521 to receive the captured pixel component and Fourier transform the captured pixel component to obtain a frequency domain data having a plurality of Fourier coefficients.

亂數種子產生器53根據該證書編號和一密碼金鑰進行「互斥或」運算以得到一亂數種子。The random seed generator 53 performs a "mutual exclusion" operation based on the certificate number and a cryptographic key to obtain a random seed.

驗證模組54電連接於該影像轉換模組52和該亂數種子產生器53以接收該具有多數個傅立葉係數的頻率域資料,並從該頻率域資料找出具有較大傅立葉係數值之資料的座標當作一組所偵測浮水印的座標位置,又根據該亂數種子從該頻率域資料中選出一部分傅立葉係數當作多數個嵌入點,以將該多數個嵌入點的座標當作一組所計算浮水印的座標位置,進而根據該組所偵測浮水印的座標位置和該組所計算浮水印的座標位置間的關係,判斷該待驗證的證書影像為真或為偽,且具有一嵌入點劃分器541和一驗證器542。The verification module 54 is electrically connected to the image conversion module 52 and the random number seed generator 53 to receive the frequency domain data having a plurality of Fourier coefficients, and to find the data having the larger Fourier coefficient value from the frequency domain data. The coordinate is used as a coordinate position of the detected watermark, and a part of the Fourier coefficient is selected from the frequency domain data as a plurality of embedded points according to the random seed, so that the coordinates of the plurality of embedded points are regarded as one Calculating the coordinate position of the watermark calculated by the group, and determining, according to the relationship between the coordinate position of the detected watermark and the coordinate position of the calculated watermark of the group, the certificate image to be verified is true or false, and has An embedded point divider 541 and a verifier 542.

嵌入點劃分器541電連接於該傅立葉轉換器522以接收該頻率域資料,並於該頻率域資料的一預設劃分區域根據一預設參數進行劃分以得到n個具有一傅立葉係數值的候選嵌入點。The embedded point divider 541 is electrically connected to the Fourier converter 522 to receive the frequency domain data, and is divided according to a preset parameter in a preset divided region of the frequency domain data to obtain n candidates having a Fourier coefficient value. Embed the point.

其中,該預設劃分區域和該預設參數相同於該浮水印嵌入裝置2。The preset divided area and the preset parameter are the same as the watermark embedding device 2.

驗證器542電連接於該嵌入點劃分器541和傅立葉轉換器522,且將該n個候選嵌入點之傅立葉係數以大小排列,並取其中前一半傅立葉係數較大者的座標位置以得到該組所偵測浮水印的座標位置。The verifier 542 is electrically connected to the embedded point divider 541 and the Fourier converter 522, and the Fourier coefficients of the n candidate embedding points are arranged in size, and the coordinate position of the first half of the Fourier coefficients is obtained to obtain the group. The coordinate position of the detected watermark.

又該驗證器542更連接於該亂數種子產生器53以接收該亂數種子,先該n個候選嵌入點中任選出m=n/2個嵌入點以得到組嵌入點,再根據該亂數種子從該組嵌入點選出一組嵌入點,並將該組嵌入點的座標位置當作該組所計算浮水印的座標位置。The verifier 542 is further connected to the random seed generator 53 to receive the random seed. First, m=n/2 embedding points are selected from the n candidate embedding points to obtain Group embedding points, then according to the chaotic seed from the The group embedding point selects a set of embedding points, and the coordinate position of the group embedding point is taken as the coordinate position of the watermark calculated by the group.

進而該驗證器542更將該所偵測浮水印的座標位置與所計算浮水印的座標位置進行比對以得到一相關結果,並判斷該相關結果是否超過一設定門檻值,若是,則輸出一驗證結果表示該待驗證的紙本證書是真,反之,則該驗證結果表示是偽。The verifier 542 further compares the coordinate position of the detected watermark with the coordinate position of the calculated watermark to obtain a correlation result, and determines whether the correlation result exceeds a set threshold, and if so, outputs a The verification result indicates that the paper certificate to be verified is true, and vice versa, the verification result indicates that it is false.

顯示器55電連接於該驗證模組54,以顯示該待驗證的紙本證書為真或為偽。The display 55 is electrically connected to the verification module 54 to display whether the paper certificate to be verified is true or false.

綜上所述,本發明具有以下優點:In summary, the present invention has the following advantages:

(一)浮水印驗證裝置5中使用霍氏轉換器511來偵測影像邊緣直線,因此在影像受到縮放或解析度變化的攻擊時,都能穩定地偵測影像旋轉角度。(1) The watermark verification device 5 uses the Hough converter 511 to detect a straight line of an image edge, so that the image rotation angle can be stably detected when the image is subjected to an attack of a zoom or a resolution change.

(二)驗證器542將該n個嵌入點之傅立葉係數以大小排列,並取其中前一半傅立葉係數較大者作為峰值係數,可一次就驗證真偽,不需如習知技術反覆修改調整門檻值來取得足夠的峰值係數數量,因此,驗證速度快而提高效率。(2) The verifier 542 arranges the Fourier coefficients of the n embedded points by size, and takes the larger one of the first half of the Fourier coefficients as the peak coefficient, and can verify the authenticity at one time without modifying the adjustment threshold as in the conventional technique. The value is obtained to obtain a sufficient number of peak coefficients, so the verification speed is fast and the efficiency is improved.

(三)浮水印驗證裝置5操作完全自動化,不需人力介入,能節省時間和正確、快速的驗證紙本證書的真實性,是現今惟一能杜絶證書偽造的有效技術。(3) The operation of the watermark verification device 5 is completely automated, without human intervention, saving time and verifying the authenticity of the paper certificate correctly and quickly. It is the only effective technology that can eliminate the forgery of the certificate.

惟以上所述者,僅為本發明之較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及發明說明內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。The above is only the preferred embodiment of the present invention, and the scope of the invention is not limited thereto, that is, the simple equivalent changes and modifications made by the scope of the invention and the description of the invention are All remain within the scope of the invention patent.

1...圖樣設計器1. . . Pattern designer

2...浮水印嵌入裝置2. . . Watermark embedding device

21...影像轉換模組twenty one. . . Image conversion module

211...色彩分量擷取器211. . . Color component extractor

212...傅立葉轉換器212. . . Fourier converter

22...記憶體twenty two. . . Memory

23...亂數種子產生器twenty three. . . Random seed generator

24...核心模組twenty four. . . Core module

241...嵌入點劃分器241. . . Embedded point divider

242...處理器242. . . processor

243...係數產生器243. . . Coefficient generator

25...影像回復模組25. . . Image recovery module

251...反傅立葉轉換器251. . . Inverse Fourier Transformer

252...色彩分量結合器252. . . Color component combiner

3...數位印刷機3. . . Digital printing machine

4...掃描器4. . . scanner

5...浮水印驗證裝置5. . . Watermark verification device

51...反傅立葉轉換器51. . . Inverse Fourier Transformer

511...霍氏轉換器511. . . Holmes converter

512...判斷器512. . . Judger

513...影像縮放器513. . . Image scaler

52...影像轉換模組52. . . Image conversion module

521...色彩分量擷取器521. . . Color component extractor

522...傅立葉轉換器522. . . Fourier converter

53...亂數種子產生器53. . . Random seed generator

54...反傅立葉轉換器54. . . Inverse Fourier Transformer

541...嵌入點劃分器541. . . Embedded point divider

542...驗證器542. . . Validator

55...顯示器55. . . monitor

圖1是本發明之較佳實施例的圖;Figure 1 is a view of a preferred embodiment of the present invention;

圖2是浮水印嵌入裝置的圖;Figure 2 is a diagram of a watermark embedding device;

圖3是劃分區域的圖;及Figure 3 is a diagram of a divided area; and

圖4是浮水印驗證裝置的圖。4 is a diagram of a watermark verification device.

1...圖樣設計器1. . . Pattern designer

2...浮水印嵌入裝置2. . . Watermark embedding device

3...數位印刷機3. . . Digital printing machine

4...掃描器4. . . scanner

5...浮水印驗證裝置5. . . Watermark verification device

Claims (13)

一種浮水印嵌入裝置,包含:一影像轉換模組,接收一根據一證書編號所產生的原始證書影像,並將該原始證書影像進行色彩分離以得到一擷取像素分量和一殘餘像素分量,進而將該擷取像素分量轉換成一具有多數個傅立葉係數的頻率域資料;一記憶體,電連接於該影像轉換模組以暫存該殘餘像素分量;一亂數種子產生器,根據該證書編號和一密碼金鑰進行邏輯運算以得到一亂數種子;一核心模組,電連接於該影像轉換模組以接收該具有多數個傅立葉係數的頻率域資料,並根據該亂數種子從該頻率域資料上選出一部分傅立葉係數當作多數個嵌入點,且將該等嵌入點之傅立葉係數值分別加大以得到一嵌入浮水印的頻率域資料;及一影像回復模組,電連接於該核心模組和該記憶體以接收該嵌入浮水印的頻率域資料和該殘餘像素分量,且進行影像處理以得到一嵌入浮水印的證書影像。A watermark embedding device comprises: an image conversion module, receiving an original certificate image generated according to a certificate number, and performing color separation on the original certificate image to obtain a captured pixel component and a residual pixel component, thereby further Converting the captured pixel component into a frequency domain data having a plurality of Fourier coefficients; a memory body electrically connected to the image conversion module to temporarily store the residual pixel component; a random number seed generator, according to the certificate number and a cryptographic key is logically operated to obtain a random number seed; a core module is electrically connected to the image conversion module to receive the frequency domain data having a plurality of Fourier coefficients, and according to the random number seed from the frequency domain A part of the Fourier coefficients are selected as a plurality of embedding points, and the Fourier coefficient values of the embedding points are respectively increased to obtain a watermark embedded frequency domain data; and an image recovery module is electrically connected to the core mode. And the memory to receive the frequency domain data of the embedded watermark and the residual pixel component, and perform image processing to A certificate to the embedded watermark image. 依據申請專利範圍第1項所述之浮水印嵌入裝置,其中,該影像轉換模組包括:一色彩分量擷取器,接收該原始證書影像,並對該原始證書影像進行色彩分離以得到該擷取像素分量和該殘餘像素分量;及一傅立葉轉換器,電連接於該色彩分量擷取器以接收該擷取像素分量,並對該擷取像素分量進行傅立葉轉換以得到該具有多數個傅立葉係數的頻率域資料。The watermark embedding device of claim 1, wherein the image conversion module comprises: a color component extractor, receiving the original certificate image, and performing color separation on the original certificate image to obtain the image Taking a pixel component and the residual pixel component; and a Fourier converter electrically connected to the color component extractor to receive the captured pixel component, and performing Fourier transform on the captured pixel component to obtain the majority of Fourier coefficients Frequency domain data. 依據申請專利範圍第1項所述之浮水印嵌入裝置,其中,該核心模組包括:一嵌入點劃分器,電連接於該影像轉換模組以接收該頻率域資料,並於該頻率域資料的一預設劃分區域根據一預設參數進行劃分以得到多數個具有一傅立葉係數值的候選嵌入點;一處理器,電連接於該嵌入點劃分器和該影像轉換模組,且從所有的該候選嵌入點找出其中一半且不重複的該候選嵌入點進行不計順序的排列組合,而得到多數組的嵌入點,又該處理器更連接於該亂數種子產生器以接收該亂數種子,並根據該亂數種子從多數組嵌入點中選出一組嵌入點,並將該組嵌入點的座標位置當作一浮水印的座標位置;及一係數產生器,連接於該處理器和該影像轉換模組,以接收該頻率域資料,並將該浮水印的座標位置上的傅立葉係數加上一預設常數,以得到一嵌入浮水印的頻率域資料。The watermark embedding device of claim 1, wherein the core module comprises: an embedded point divider, electrically connected to the image conversion module to receive the frequency domain data, and the data in the frequency domain a predetermined divided area is divided according to a preset parameter to obtain a plurality of candidate embedded points having a Fourier coefficient value; a processor electrically connected to the embedded point divider and the image conversion module, and from all The candidate embedding point finds half of the candidate embedding points that are not repeated, and performs an unordered permutation combination to obtain an embedding point of multiple arrays, and the processor is further connected to the random seed generator to receive the random seed. And selecting a set of embedding points from the multi-array embedding points according to the random seed, and treating the coordinate position of the set embedding point as a coordinate position of a watermark; and a coefficient generator connected to the processor and the The image conversion module receives the frequency domain data, and adds a preset constant to the Fourier coefficient at the coordinate position of the watermark to obtain a frequency domain embedded in the watermark data. 依據申請專利範圍第3項所述之浮水印驗證裝置,其中,該預設參數具有一預設最大半徑、一預設最小半徑、一分割單位和一分割角度。The watermark verification device according to claim 3, wherein the preset parameter has a preset maximum radius, a predetermined minimum radius, a division unit, and a division angle. 依據申請專利範圍第1項所述之浮水印嵌入裝置,其中,該影像回復模組包括:一反傅立葉轉換器,電連接於該核心模組以接收該嵌入浮水印的頻率域資料,並將該嵌入浮水印的頻率域資料進行反傅立葉轉換成一嵌入浮水印的擷取像素分量;及一色彩分量結合器,電連接於該反傅立葉轉換器和該記憶體,並將該嵌入浮水印的擷取像素分量和該殘餘像素分量結合成該嵌入浮水印的證書影像。The watermark embedding device of claim 1, wherein the image recovery module comprises: an inverse Fourier converter electrically connected to the core module to receive the watermark embedded frequency domain data, and The watermark embedded frequency domain data is inverse Fourier transformed into a watermarked pixel component embedded in the watermark; and a color component combiner is electrically connected to the inverse Fourier transformer and the memory, and the watermark is embedded in the watermark The pixel component and the residual pixel component are combined into the embedded watermarked certificate image. 依據申請專利範圍第1項所述之浮水印嵌入裝置,其中,該邏輯運算是一「互斥或」運算。The watermark embedding device of claim 1, wherein the logical operation is a "mutual exclusion" operation. 一種浮水印驗證裝置,適用於驗證一張具有一專屬證書編號的待驗證證書影像,包含:一影像轉換模組,將所接受的一影像進行色彩分離以得到一擷取像素分量,進而將該擷取像素分量轉換成一具有多數個傅立葉係數的頻率域資料;一亂數種子產生器,根據該證書編號和一密碼金鑰進行邏輯運算以得到一亂數種子;及一驗證模組,電連接於該影像轉換模組和該亂數種子產生器以接收該具有多數個傅立葉係數的頻率域資料和該亂數種子,並從該頻率域資料找出具有較大傅立葉係數值之資料的座標當作一組所偵測浮水印的座標位置,又根據該亂數種子從該頻率域資料中選出一部分傅立葉係數當作多數個嵌入點,以將該多數個嵌入點的座標當作一組所計算浮水印的座標位置,進而根據該組所偵測浮水印的座標位置和該組所計算浮水印的座標位置間的關係,判斷該待驗證的證書影像為真或為偽。A watermark verification device is configured to verify a certificate image to be verified with a unique certificate number, comprising: an image conversion module, performing color separation on an accepted image to obtain a captured pixel component, and then Converting the pixel component into a frequency domain data having a plurality of Fourier coefficients; a random seed generator, performing logical operations on the certificate number and a cryptographic key to obtain a random seed; and a verification module, electrically connecting The image conversion module and the random number seed generator to receive the frequency domain data having the plurality of Fourier coefficients and the random number seed, and find coordinates of the data having the larger Fourier coefficient value from the frequency domain data. Performing a coordinate position of the detected watermark, and selecting a part of the Fourier coefficients from the frequency domain data as a plurality of embedded points according to the random seed, to calculate the coordinates of the plurality of embedded points as a group The coordinate position of the watermark, and then the relationship between the coordinate position of the detected watermark and the coordinate position of the calculated watermark of the group Analyzing the image of the certificate to be verified is true or dummy. 依據申請專利範圍第7項所述之浮水印驗證裝置,更包含:一旋轉縮放模組,電連接於該影像轉換模組,且判斷該待驗證的證書影像是否遭旋轉,並將有遭旋轉的證書影像更正,且更判斷是否遭縮放,若是,則再進行縮放以輸出一尺寸縮放影像至該影像轉換模組。The watermarking verification device according to claim 7, further comprising: a rotation zoom module electrically connected to the image conversion module, and determining whether the certificate image to be verified is rotated, and is rotated The certificate image is corrected, and it is further judged whether it is scaled, and if so, it is further scaled to output a size-scaled image to the image conversion module. 依據申請專利範圍第8項所述之浮水印驗證裝置,其中,該旋轉縮放模組包括:一霍氏轉換器,用以偵測該待驗證的證書影像的邊緣直線且得知每一邊緣直線之一斜率;一判斷器,接收該待驗證的證書影像且電連接於該霍氏轉換器以得知該斜率,並根據該斜率以判斷該待驗證的證書影像是否遭旋轉而輸出一更正影像,其中,若是遭旋轉,則該判斷器將該待驗證的證書影像進行反向旋轉而得到該更正影像,若否,則該判斷器依然輸出該待驗證的證書影像作為該更正影像;及一影像縮放器,電連接於該判斷器以接收該更正影像,並根據一預設影像尺寸判斷該更正影像是否遭縮放,若是,將該更正影像進行縮放以得到一尺寸縮放影像,若否,則直接輸出該更正影像以當作該尺寸縮放影像。The watermarking verification device according to claim 8, wherein the rotary zoom module comprises: a Holker converter for detecting an edge line of the certificate image to be verified and knowing each edge line a slope; a determiner, receiving the certificate image to be verified and electrically connected to the Hough converter to know the slope, and outputting a corrected image according to the slope to determine whether the certificate image to be verified is rotated If the device is rotated, the determiner reversely rotates the certificate image to be verified to obtain the corrected image. If not, the determiner still outputs the certificate image to be verified as the corrected image; An image scaler is electrically connected to the determiner to receive the corrected image, and determines whether the corrected image is scaled according to a preset image size. If yes, the corrected image is scaled to obtain a size-scaled image, and if not, The corrected image is directly output to scale the image as the size. 依據申請專利範圍第7項所述之浮水印驗證裝置,其中,該影像轉換模組包括:一色彩分量擷取器,電連接於該影像縮放器以接收該尺寸縮放影像,並對該尺寸縮放影像進行色彩分離以得到該擷取像素分量和一殘餘像素分量;及一傅立葉轉換器,電連接於該色彩分量擷取器以接收該擷取像素分量,並對該擷取像素分量進行傅立葉轉換以得到該具有多數個傅立葉係數的頻率域資料。The watermarking verification device according to the seventh aspect of the invention, wherein the image conversion module comprises: a color component extractor electrically connected to the image scaler to receive the size scaled image and scale the size Performing color separation on the image to obtain the captured pixel component and a residual pixel component; and a Fourier converter electrically connected to the color component extractor to receive the captured pixel component and performing Fourier transform on the captured pixel component The frequency domain data having a plurality of Fourier coefficients is obtained. 依據申請專利範圍第7項所述之浮水印驗證裝置,其中,該驗證模組包括:一嵌入點劃分器,電連接於該影像轉換模組以接收該頻率域資料,並於該頻率域資料的一預設劃分區域根據一預設參數進行切割以得到多數個候選嵌入點之座標;及一驗證器,連接於該嵌入點劃分器和該影像轉換模組,且將該多數個候選嵌入點之傅立葉係數以大小排列,並取其中前一半傅立葉係數較大者的座標位置以得到該組所偵測浮水印的座標位置;又該驗證器更連接於該亂數種子產生器以接收該亂數種子,先該多數個候選嵌入點中任選出其中一半的嵌入點以得到多數組嵌入點,再根據該亂數種子從該多數組嵌入點選出一組嵌入點,並將該組嵌入點的座標位置當作該組所計算浮水印的座標位置;進而該驗證器更將該組所偵測浮水印的座標位置與該組所計算浮水印的座標位置進行比對以得到一相關結果,並判斷該相關結果是否超過一設定門檻值,若是,則輸出一驗證結果表示該待驗證的紙本證書是真,反之,則該驗證結果表示是偽。The watermarking verification device according to the seventh aspect of the invention, wherein the verification module comprises: an embedded point divider, electrically connected to the image conversion module to receive the frequency domain data, and the data in the frequency domain a predetermined divided area is cut according to a preset parameter to obtain coordinates of a plurality of candidate embedded points; and a validator is connected to the embedded point divider and the image conversion module, and the plurality of candidate insertion points are The Fourier coefficients are arranged in a size, and the coordinate position of the first half of the Fourier coefficient is obtained to obtain the coordinate position of the detected watermark of the group; and the verifier is further connected to the random seed generator to receive the chaos a number of seeds, first selecting one of the plurality of candidate embedding points to obtain a multi-array embedding point, and then selecting a set of embedding points from the multi-array embedding point according to the random number seed, and embedding the set of embedding points The coordinate position is taken as the coordinate position of the calculated watermark of the group; and the verifier further sets the coordinate position of the detected watermark of the group and the coordinate position of the calculated watermark of the group The comparison is performed to obtain a correlation result, and it is determined whether the correlation result exceeds a set threshold. If yes, a verification result is output indicating that the paper certificate to be verified is true, and vice versa, the verification result is false. 依據申請專利範圍第11項所述之浮水印驗證裝置,其中,預設參數具有一預設最大半徑、一預設最小半徑、一分割單位和一分割角度。The watermark verification device according to claim 11, wherein the preset parameter has a preset maximum radius, a predetermined minimum radius, a division unit, and a division angle. 一種數位浮水印驗證系統,包含:一浮水印嵌入裝置,包括:一影像轉換模組,接收一根據一證書編號所產生的原始證書影像,並將該原始證書影像進行色彩分離以得到一擷取像素分量和一殘餘像素分量,進而將該擷取像素分量轉換成一具有多數個傅立葉係數的頻率域資料;一記憶體,電連接於該影像轉換模組以暫存該殘餘像素分量;一亂數種子產生器,根據該證書編號和一密碼金鑰進行邏輯運算以得到一亂數種子;一核心模組,電連接於該影像轉換模組以接收該具有多數個傅立葉係數的頻率域資料,並根據該亂數種子從該頻率域資料上的選出一部分傅立葉係數當作多數個嵌入點,且將該等嵌入點之傅立葉係數值分別加大以得到一嵌入浮水印的頻率域資料;及一影像回復模組,電連接於該核心模組和該記憶體以接收該嵌入浮水印的頻率域資料和該殘餘像素分量,且進行影像處理以得到一嵌入浮水印的證書影像;及一浮水印驗證裝置,適用於驗證一張具有一專屬證書編號的待驗證證書影像,包括:一影像轉換模組,將所接受的一影像進行色彩分離以得到一擷取像素分量,進而將該擷取像素分量轉換成一具有多數個傅立葉係數的頻率域資料;一亂數種子產生器,根據該證書編號和該密碼金鑰進行邏輯運算以得到一亂數種子;及一驗證模組,電連接於該影像轉換模組和該亂數種子產生器以接收該具有多數個傅立葉係數的頻率域資料和該亂數種子,並從該頻率域資料找出具有較大傅立葉係數值之資料的座標當作一組所偵測浮水印的座標位置,又根據該亂數種子從該頻率域資料中選出一部分傅立葉係數當作多數個嵌入點,以將該多數個嵌入點的座標當作一組所計算浮水印的座標位置,進而根據該組所偵測浮水印的座標位置和該所計算浮水印的座標位置間的關係,判斷該待驗證的證書影像為真或為偽。A digital watermark verification system comprises: a watermark embedding device, comprising: an image conversion module, receiving an original certificate image generated according to a certificate number, and color-separating the original certificate image to obtain a capture a pixel component and a residual pixel component, thereby converting the captured pixel component into a frequency domain data having a plurality of Fourier coefficients; a memory body electrically connected to the image conversion module to temporarily store the residual pixel component; a seed generator, performing logical operations on the certificate number and a cryptographic key to obtain a random seed; a core module electrically connected to the image conversion module to receive the frequency domain data having a plurality of Fourier coefficients, and Selecting a part of the Fourier coefficients from the frequency domain data as a plurality of embedding points according to the random number seed, and increasing the Fourier coefficient values of the embedding points respectively to obtain a watermark embedded frequency domain data; and an image a reply module electrically connected to the core module and the memory to receive the watermark embedded frequency domain data and the And the image processing is performed to obtain a certificate image embedded in the watermark; and a watermark verification device is configured to verify a certificate image to be verified having a unique certificate number, including: an image conversion module, The received image is color separated to obtain a captured pixel component, and the captured pixel component is converted into a frequency domain data having a plurality of Fourier coefficients; a random seed generator, according to the certificate number and the password gold The key is logically operated to obtain a random number seed; and a verification module is electrically connected to the image conversion module and the random number seed generator to receive the frequency domain data having the plurality of Fourier coefficients and the random number seed. And finding the coordinates of the data with the larger Fourier coefficient value from the frequency domain data as the coordinate position of the detected watermark, and selecting a part of the Fourier coefficient from the frequency domain data as the majority according to the random number seed. Embedding points, the coordinates of the plurality of embedding points are treated as coordinate positions of a set of calculated watermarks, and then according to the group The relationship between the detected watermark and the coordinate position of the coordinate position computed watermark, the image of the determined certificate to be verified is true or dummy.
TW99107761A 2010-03-17 2010-03-17 Floating watermark embedding device and verification device, digital floating watermark verification system TWI398829B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW99107761A TWI398829B (en) 2010-03-17 2010-03-17 Floating watermark embedding device and verification device, digital floating watermark verification system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW99107761A TWI398829B (en) 2010-03-17 2010-03-17 Floating watermark embedding device and verification device, digital floating watermark verification system

Publications (2)

Publication Number Publication Date
TW201133399A TW201133399A (en) 2011-10-01
TWI398829B true TWI398829B (en) 2013-06-11

Family

ID=46751211

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99107761A TWI398829B (en) 2010-03-17 2010-03-17 Floating watermark embedding device and verification device, digital floating watermark verification system

Country Status (1)

Country Link
TW (1) TWI398829B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW460851B (en) * 1999-09-06 2001-10-21 Jang Jen Cheng A digital watermarking technique using neural networks
US7113615B2 (en) * 1993-11-18 2006-09-26 Digimarc Corporation Watermark embedder and reader
EP1780635A2 (en) * 2004-01-06 2007-05-02 THOMSON Licensing Improved techniques for detecting, analyzing, and using visible authentification patterns
TW200826686A (en) * 2006-12-11 2008-06-16 Univ Nat Kaohsiung Applied Sci Method of authentication and restoration for images

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7113615B2 (en) * 1993-11-18 2006-09-26 Digimarc Corporation Watermark embedder and reader
TW460851B (en) * 1999-09-06 2001-10-21 Jang Jen Cheng A digital watermarking technique using neural networks
EP1780635A2 (en) * 2004-01-06 2007-05-02 THOMSON Licensing Improved techniques for detecting, analyzing, and using visible authentification patterns
TW200826686A (en) * 2006-12-11 2008-06-16 Univ Nat Kaohsiung Applied Sci Method of authentication and restoration for images

Also Published As

Publication number Publication date
TW201133399A (en) 2011-10-01

Similar Documents

Publication Publication Date Title
JP4137084B2 (en) Method for processing documents with fraud revealing function and method for validating documents with fraud revealing function
TWI334108B (en) Verification method for determining areas within an image corresponding to monetary banknotes
Zhang et al. Statistical fragile watermarking capable of locating individual tampered pixels
CN105701758A (en) Digital watermarking image generation method based on graphic code and apparatus thereof
CN1290047C (en) File anti-fake method and its device based on digital water print
CN1885342A (en) Print domain trademark anti-counterfeit method based on digital watermark technology
CN101079147A (en) Multiple bit digital watermark method capable of resisting printing, scanning and geometric transformation
CN102880999B (en) Color image digital watermark method capable of resisting stamping, printing and scanning processes
CN105701757B (en) Product anti-counterfeiting method and device based on digital watermark and graphic code
CN113392381B (en) Watermark generation, decoding method, storage medium, and electronic device
WO2007025423A1 (en) Method for preventing a copy of document
US7272239B2 (en) Information processing method and apparatus, and computer program and computer -readable storage medium
Kim A new public-key authentication watermarking for binary document images resistant to parity attacks
JP2016072706A (en) Strength setting method for watermark embedding and computer program
CN109064377B (en) Stereo image watermark embedding system, stereo image watermark extracting system, stereo image watermark embedding method and stereo image watermark extracting method
CN110033067A (en) The two dimensional code of anti-copying and the anti-counterfeiting authentication method of two dimensional code
CN113393363B (en) Watermark embedding and extracting method, storage medium and electronic device
Saikia et al. Image authentication under geometric attacks via concentric square partition based image hashing
TWI398829B (en) Floating watermark embedding device and verification device, digital floating watermark verification system
TWI326854B (en) Verification method for determining areas within an image corresponding to monetary banknote
CN101758695A (en) Printed document anti-counterfeiting method based on fingerprint feature
Guo et al. High capacity data hiding for binary image authentication
He et al. Block-chain based fragile watermarking scheme with superior localization
Song et al. Digital watermarking for forgery detection in printed materials
JP6920719B2 (en) Digital watermarking device and method

Legal Events

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