TWI530914B - Data-bearing encoding system and decoding system utilizing halftone cell dot number modulation - Google Patents

Data-bearing encoding system and decoding system utilizing halftone cell dot number modulation Download PDF

Info

Publication number
TWI530914B
TWI530914B TW104134062A TW104134062A TWI530914B TW I530914 B TWI530914 B TW I530914B TW 104134062 A TW104134062 A TW 104134062A TW 104134062 A TW104134062 A TW 104134062A TW I530914 B TWI530914 B TW I530914B
Authority
TW
Taiwan
Prior art keywords
halftone
image
block
encoded
data
Prior art date
Application number
TW104134062A
Other languages
Chinese (zh)
Other versions
TW201715474A (en
Inventor
陳永耀
陳柏翰
齊冠瑜
陳維陞
陳楷文
Original Assignee
國立臺北科技大學
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 國立臺北科技大學 filed Critical 國立臺北科技大學
Priority to TW104134062A priority Critical patent/TWI530914B/en
Application granted granted Critical
Publication of TWI530914B publication Critical patent/TWI530914B/en
Priority to US15/147,923 priority patent/US9990686B2/en
Publication of TW201715474A publication Critical patent/TW201715474A/en

Links

Description

利用區塊墨點數調變的半色調資料隱寫編碼系統及解碼系統 Halftone data steganography coding system and decoding system using block ink number modulation

本發明是有關於一種資料編碼方法,特別是指一種藉由調變區塊墨點數而將資料隱藏於半色調圖案中的半色調資料隱寫編碼系統及解碼系統。 The invention relates to a data encoding method, in particular to a halftone data steganography coding system and a decoding system for hiding data in a halftone pattern by modulating the number of ink dots in a block.

為了不破壞印刷品整體的美感,業界一直在研發如何將商品資訊,例如防偽資料隱藏在印刷品,例如商標圖案或圖片上,使其能與印刷品內容融為一體。例如圖1所示,美國第8594453號專利揭露一種在半色調影像中編碼的方法,其顯示一由多個像素組成的半色調單元502的一墨點形狀,且藉由將墨點上、下、左、右顚倒,使墨點位置能有四種變化,即可讓具有四種不同墨點位置的半色調單元502、504、506、508分別代表一個二位元編碼資料,例如00、01、10、11,藉此即可將資訊以二位元編碼方式隱寫在半色調影像中,而不致影響影像整體的美感。但此種編碼方法刻意移動墨點的方式有違傳統半色調轉換方式,並使墨點位置大幅變 動,容易使原有半色調影像的品質變差。 In order not to damage the overall beauty of the printed matter, the industry has been developing how to hide product information, such as anti-counterfeiting materials, in printed matter, such as trademark patterns or pictures, so that it can be integrated with printed content. For example, as shown in FIG. 1, U.S. Patent No. 8,854,453 discloses a method of encoding in a halftone image, which displays a dot shape of a halftone unit 502 composed of a plurality of pixels, and by moving the dots up and down. , left and right collapsed, so that the ink dot position can have four changes, so that halftone units 502, 504, 506, 508 having four different ink dot positions respectively represent a two-bit coded material, such as 00, 01, 10, 11, by which information can be steganized in halftone images in a two-bit encoding without affecting the overall aesthetics of the image. However, this method of coding deliberately moves the ink dots in a manner that is contrary to the traditional halftone conversion method and greatly changes the position of the ink dots. It is easy to make the quality of the original halftone image worse.

此外,習知一種直接二位元搜尋法(direct binary search,以下簡稱DBS)可以將半色調影像的品質調到最佳,其方法如圖2所示,即測試半色調影像中的每一個像素,例如讓圖2位於中心的像素10藉由黑白互換(toggle)或與周邊八個鄰近的像素黑白互換(swap)後,將半色調影像與原始灰階影像兩者經由一人眼視覺模型(模擬人眼的視覺)感知(即比較兩者的差異)而產生一感知誤差值,並且不斷地重覆上述DBS步驟,以遞迴調整半色調影像直到人眼視覺模型產生的感知誤差值不再變動,即半色調影像與原始灰階影像兩者的誤差已達到最小,再對下一個像素重覆進行上述動作直到所有像素皆完成DBS,藉此,使經過直接二位元搜尋的半色調影像在視覺上最接近原始灰階影像。 In addition, a direct binary search (hereinafter referred to as DBS) can optimize the quality of a halftone image, as shown in FIG. 2, that is, test each pixel in a halftone image. For example, after the pixel 10 located at the center of FIG. 2 is swapped by black and white or by swapping with the neighboring eight adjacent pixels, the halftone image and the original grayscale image are both passed through a human visual model (simulation). The visual perception of the human eye (ie, comparing the differences between the two) produces a perceptual error value, and continuously repeats the above DBS steps to recursively adjust the halftone image until the perceptual error value produced by the human visual model no longer changes. That is, the error between the halftone image and the original grayscale image has been minimized, and then the above action is repeated on the next pixel until all the pixels complete the DBS, thereby making the halftone image through the direct binary search Visually closest to the original grayscale image.

因此,如何在半色調影像編碼過程中,減少對半色調影像品質的影響,並且結合DBS技術,讓編碼後半色調影像品質達到最佳化,遂成為本發明的重點。 Therefore, how to reduce the influence on the halftone image quality in the halftone image encoding process, and to combine the DBS technology to optimize the quality of the encoded halftone image, has become the focus of the present invention.

因此,本發明之目的,即在提供一種利用區塊墨點數調變的半色調資料隱寫編碼系統及解碼系統。 Accordingly, it is an object of the present invention to provide a halftone data steganographic coding system and decoding system that utilizes the modulation of the number of dot ink dots.

於是,本發明利用區塊墨點數調變的半色調資料隱寫編碼系統,用以將一灰階影像轉換成一半色調影像,並將資料隱寫 在該半色調影像中;該系統包括:一半色調轉換模組,其根據一mxm正方形臨界值矩陣,將該灰階影像轉換成一具有多個半色調單元的半色調影像,且各該半色調單元具有mxm個像素,其中m為大於2的正整數;及一編碼模組,其將該等半色調單元劃分成複數個可編碼區塊,每一可編碼區塊由相鄰的4個半色調單元組成,且該編碼模組包含對應16種編碼資料的16個編碼規則,以根據其中一種編碼資料選用其中一種編碼規則來調變該可編碼區塊中每一個半色調單元的墨點數,而將該可編碼區塊中每一個半色調單元的墨點數加1、減1或維持不變,使該可編碼區塊成為一隱含該編碼資料的已編碼區塊,並使該半色調影像成為一編碼後半色調影像。 Therefore, the present invention utilizes a halftone data steganographic coding system modulated by block ink dots to convert a grayscale image into a halftone image and steganography data. In the halftone image, the system includes: a halftone conversion module that converts the grayscale image into a halftone image having a plurality of halftone cells according to a mxm square threshold matrix, and each of the halftone cells Having mxm pixels, where m is a positive integer greater than 2; and an encoding module dividing the halftone units into a plurality of codeable blocks, each codeable block being adjacent to four halftones The unit is composed, and the encoding module includes 16 encoding rules corresponding to 16 kinds of encoded data, so as to select one of the encoding rules according to one of the encoding materials to modulate the number of ink dots of each halftone unit in the codeable block. And adding, subtracting 1 or maintaining the number of ink dots of each halftone unit in the codeable block, so that the codeable block becomes an encoded block implied by the coded data, and the half is made The tonal image becomes a coded halftone image.

在本發明的一實施例中,該半色調資料隱寫編碼系統還包括一影像最佳化模組,其對該編碼後半色調影像中的該等半色調單元進行直接二位元搜尋,並且一次只對一個半色調單元進行直接二位元搜尋,該直接二位元搜尋判斷該半色調單元中的一個墨點是位在該半色調單元的中間、角落或側邊,並嘗試將該墨點與其相鄰的非墨點像素位置互換,直到判定其中一互換結果使該半色調單元與該灰階影像相對應的一部分影像最接近,即接受該互換結果,再對下一個墨點重覆執行該直接二位元搜尋,直到全部墨點完成該直接二位元搜尋,該影像最佳化模組才會再對下一個半色調單元進行該直接二位元搜尋,並且對該編碼後半色調影像中的該等半色調 單元以由上到下、由左到右方式一一進行該直接二位元搜尋,藉此產生一最佳化編碼後半色調影像。 In an embodiment of the invention, the halftone data steganography system further includes an image optimization module that performs a direct binary search on the halftone units in the encoded halftone image, and once Performing a direct binary search for only one halftone unit, the direct binary search determines that one of the halftone cells is located in the middle, corner or side of the halftone unit, and attempts to apply the ink dot The positions of the non-ink dot pixels adjacent thereto are interchanged until it is determined that one of the interchange results causes the halftone unit to be closest to a portion of the image corresponding to the gray-scale image, that is, the result of the interchange is accepted, and the next ink dot is repeatedly executed. The direct binary search, until all the ink dots complete the direct binary search, the image optimization module performs the direct binary search for the next halftone unit, and the encoded halftone image is The halftones in The unit performs the direct binary search one by one from top to bottom and left to right, thereby generating an optimized encoded halftone image.

此外,本發明用以對上述編碼後半色調影像進行解碼的一種利用區塊墨點數調變的半色調資料隱寫解碼系統,用以讀取隱寫在該編碼後半色調影像中的資料,並包括:一資料庫,其記錄與該編碼後半色調影像對應的一原始灰階影像及一mxm正方形臨界值矩陣,該編碼後半色調影像中的已編碼區塊的位置,以及對應16種編碼資料的16個編碼規則;一半色調轉換模組,其根據該mxm正方形臨界值矩陣,將該原始灰階影像轉換成一半色調影像;及一解碼模組,其根據該編碼後半色調影像中的已編碼區塊的位置,找出該編碼後半色調影像中的至少一已編碼區塊,且比對該已編碼區塊與該半色調影像中相對應的一可編碼區塊中的每一半色調單元的墨點數,以從該16個編碼規則中找出將該可編碼區塊調變成該已編碼區塊的一編碼規則,而獲得與該編碼規則對應的一編碼資料。 In addition, the present invention is used to decode the encoded halftone image, and a halftone data steganography decoding system using block dot number modulation is used to read data hidden in the encoded halftone image, and The method includes: a database that records an original grayscale image corresponding to the encoded halftone image and a mxm square threshold matrix, the position of the encoded block in the encoded halftone image, and the corresponding 16 encoded data. 16 coding rules; a half tone conversion module, which converts the original grayscale image into a halftone image according to the mxm square threshold matrix; and a decoding module according to the coded region in the encoded halftone image Positioning the block to find at least one coded block in the encoded halftone image and comparing the ink of each halftone unit in the coded block corresponding to the coded block and the halftone image a number of points to find an encoding rule for converting the codeable block into the coded block from the 16 coding rules, and obtaining a code corresponding to the coding rule Information.

在本發明的一實施例中,上述的該mxm正方形臨界值矩陣包含一由[m,0]、[0,m]兩個二維向量構成的一網幕向量以及mxm個臨界值。 In an embodiment of the invention, the mxm square threshold matrix comprises a screen vector consisting of two two-dimensional vectors [m, 0], [0, m] and mxm threshold values.

在本發明的一實施例中,上述該等臨界值是由集中式抖色法或分散式抖色法產生。 In an embodiment of the invention, the threshold values are generated by a centralized dithering method or a decentralized dithering method.

本發明的功效在於:藉由將半色調影像中的四個相鄰 的半色調單元組成一個可編碼區塊,且根據對應16種編碼資料的16個編碼規則,將可編碼區塊中每一個半色調單元的墨點數加1、減1或維持不變,而將該16種編碼資料隱寫在可編碼區塊中,使可編碼區塊成為一隱含四位元資料的已編碼區塊,並且在編碼過程中不會大幅地變動半色調影像中的墨點位置,而不致影響編碼後半色調影像的影像品質,且藉由影像最佳化模組以一個半色調單元為單位,依循由上到下、由左到右的方式一一對編碼後半色調影像中的每一個半色調單元進行直接二位元搜尋,除了能將編碼後半色調影像最佳化,並可減少直接二位元搜尋執行的次數,而提升影像處理的速度。 The effect of the invention is: by placing four adjacent images in a halftone image The halftone unit constitutes one codeable block, and according to the 16 encoding rules corresponding to the 16 kinds of coded data, the number of dots of each halftone unit in the codeable block is incremented, decremented or maintained. The 16 kinds of coded data are steganized in the coded block, so that the coded block becomes an encoded block with implicit four-bit data, and the ink in the halftone image is not greatly changed during the encoding process. The position of the dot does not affect the image quality of the encoded halftone image, and the image optimization module performs a pair of coded halftone images in a halftone unit in a top-to-bottom, left-to-right manner. Each of the halftone units performs a direct binary search, which not only optimizes the encoded halftone image, but also reduces the number of direct binary search executions, thereby increasing the speed of image processing.

1‧‧‧半色調轉換模組 1‧‧‧ halftone conversion module

2‧‧‧編碼模組 2‧‧‧Code Module

3‧‧‧待編碼影像 3‧‧‧Image to be encoded

3’‧‧‧已編碼影像 3’‧‧‧ Coded imagery

4‧‧‧影像最佳化模組 4‧‧‧Image Optimization Module

30‧‧‧灰階影像 30‧‧‧ Grayscale imagery

31‧‧‧半色調影像 31‧‧‧ halftone image

32‧‧‧編碼後影像 32‧‧‧Coded image

33‧‧‧最佳化編碼後影像 33‧‧‧Optimized coded imagery

40‧‧‧正方形臨界值矩陣 40‧‧‧square threshold matrix

51‧‧‧資料庫 51‧‧‧Database

52‧‧‧半色調轉換模組 52‧‧‧ halftone conversion module

53‧‧‧解碼模組 53‧‧‧Decoding module

301‧‧‧區塊 301‧‧‧ Block

311‧‧‧半色調單元 311‧‧‧ halftone unit

312‧‧‧可編碼區塊 312‧‧‧codeable block

313‧‧‧已編碼區塊 313‧‧‧ Coded Blocks

本發明之其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中:圖1是習知一種半色調影像編碼方法藉由移動墨點形狀進行編碼的示意圖;圖2是習知一種直接二位元搜尋法的示意圖;圖3顯示本發明利用區塊墨點數調變的半色調資料隱寫編碼系統的一實施例的組成元件示意圖;圖4說明本實施例的半色調轉換模組將灰階影像轉換成半色調影像的做法; 圖5說明本實施例將半色調轉換模組1中相鄰的四個半色調單元組成一個可編碼區塊;圖6顯示本實施例對應16種編碼資料的16種編碼規則;圖7說明本實施例的編碼模組將一編碼資料寫入一可編碼區塊的做法;圖8說明本實施例的一編碼後半色調影像經過影像最佳化模組處理後成為一最佳化編碼後半色調影像;圖9說明本實施例的影像最佳化模組進行直接二位元搜尋時會先判斷墨點位於半色調單元的中間、角落或側邊;圖10顯示本發明利用區塊墨點數調變的半色調資料隱寫解碼系統的一實施例的組成元件示意圖;及圖11說明圖10中的資料庫記錄能將原始灰階影像轉換成半色調影像的一正方形臨界值矩陣,以及對應十六種編碼資料的十六種編碼規則,且解碼模組比對半色調影像與編碼後半色調影像以得到相對應的一編碼規則,而獲得與該編碼規則相對應的一編碼資料。 Other features and effects of the present invention will be apparent from the following description of the drawings, wherein: FIG. 1 is a schematic diagram of a conventional halftone image encoding method for encoding by moving a dot shape; A schematic diagram of a direct binary search method is shown; FIG. 3 is a schematic diagram showing the components of an embodiment of the halftone data steganography system using the dot number modulation of the present invention; FIG. 4 illustrates the halftone of the embodiment. The conversion module converts grayscale images into halftone images; FIG. 5 illustrates that the four adjacent halftone units in the halftone conversion module 1 form one codeable block in this embodiment; FIG. 6 shows 16 encoding rules corresponding to 16 types of encoded data in this embodiment; FIG. The coding module of the embodiment writes an encoded data into a coded block; FIG. 8 illustrates that the encoded halftone image of the embodiment is processed by the image optimization module to become an optimized coded halftone image. FIG. 9 illustrates that the image optimization module of the present embodiment first determines that the ink dots are located in the middle, corner, or side of the halftone unit when performing direct binary search; FIG. 10 shows that the present invention utilizes the number of dot ink dots. Schematic diagram of constituent elements of an embodiment of a variable halftone data steganographic decoding system; and FIG. 11 illustrates that the database in FIG. 10 records a square threshold matrix that converts the original grayscale image into a halftone image, and corresponding ten Sixteen encoding rules for six kinds of encoded data, and the decoding module compares the halftone image with the encoded halftone image to obtain a corresponding encoding rule, and obtains an encoding corresponding to the encoding rule. Code data.

在本發明被詳細描述之前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。 Before the present invention is described in detail, it should be noted that in the following description, similar elements are denoted by the same reference numerals.

參閱圖3,是本發明利用區塊墨點數調變的半色調資料隱寫編碼系統的一實施例,用以將一灰階影像轉換成一半色調影 像,並將資料隱寫在該半色調影像中。該系統包括一半色調轉換模組1及一編碼模組2。其中灰階影像30是以一具有16X16個像素(pixel)的影像為例,其代表一待編碼影像3其中的一小部分。且半色調轉換模組1根據一正方形臨界值矩陣40,將灰階影像30轉換成一半色調影像31。 Referring to FIG. 3, an embodiment of a halftone data steganography coding system using the patch number of blocks in the present invention is used to convert a grayscale image into a halftone image. Like, and sneak data in the halftone image. The system includes a halftone conversion module 1 and an encoding module 2. The grayscale image 30 is an example of an image having 16×16 pixels, which represents a small portion of a to-be-coded image 3. The halftone conversion module 1 converts the grayscale image 30 into a halftone image 31 according to a square threshold matrix 40.

半色調(Halftone)是印刷產業中常用來處理階調並模擬連續調(Continue tone)的方法。印表機上所列印的圖像,只能藉由著墨或不著墨兩種階調來表現層次,像這樣的兩值化影像則稱為半色調影像。因此,藉由調整印刷平面上墨點的排列方式,便可利用人眼「視覺積分」的原理,使得在一定的距離觀察下,半色調影像重現連續調影像的感覺。所以半色調技術就是將連續調影像轉換成半色調影像的技術。而半色調網幕法(又稱有序抖色法)是先將一連續調影像(灰階影像)分割成複數個與一臨界值矩陣尺寸相同大小的區塊,再將它們的灰階值與臨界值矩陣中相對位置的一臨界值作比較,若相對位置的灰階值大於臨界值則輸出白點(不著墨),反之則輸出黑點(著墨),藉此,將連續調影像轉換成半色調影像。 Halftone is a method commonly used in the printing industry to process tone and simulate continuous tone. The images printed on the printer can only be represented by the two tones of ink or no ink. The binary image like this is called halftone image. Therefore, by adjusting the arrangement of the ink dots on the printing plane, the principle of "visual integration" of the human eye can be utilized, so that the halftone image reproduces the feeling of continuously adjusting the image under a certain distance observation. So halftone technology is a technique for converting continuously tuned images into halftone images. The halftone screen method (also known as ordered dithering method) first divides a continuous tone image (grayscale image) into a plurality of blocks of the same size as a threshold matrix, and then sets their grayscale values. Comparing with a critical value of the relative position in the threshold matrix, if the grayscale value of the relative position is greater than the critical value, the white point is output (no ink), and vice versa, the black point (inking) is output, thereby continuously converting the image A halftone image.

而使用半色調網幕法時,所產生的半色調影像的網點排列方式與形狀,會受到臨界值矩陣內的臨界值排列順序影響。因此習知的臨界值矩陣依其型態主要可分為集中式抖色法(Clustered-Dot Ordered Dithering)與分散式抖色法 (Dispersed-Dot Ordered Dithering)兩種,例如下列兩圖所示。 When the halftone screen method is used, the arrangement and shape of the dots of the generated halftone image are affected by the order of the critical values in the critical matrix. Therefore, the conventional threshold matrix can be mainly divided into the clustered-dot Ordered Dithering method and the scattered dithering method. (Dispersed-Dot Ordered Dithering) two, as shown in the following two figures.

此外,使用半色調網幕法時,會影響臨界值矩陣的因素有兩種,第一種是矩陣內的臨界值排列順序,比如前面提到的「集中式抖色法」、「分散式抖色法」。第二種則是網幕向量(Screen Tile Vector),它決定臨界值矩陣的『形狀以及旋轉角』。網幕向量包含兩個二維向量n1、n2,並由該兩個二維向量n1、n2決定半色調影像中的每一個半色調單元(halftone cell)中的圖素數量(以下將進一步說明)。由於「臨界值矩陣」是應用於傳統半色調網幕法的一種習知技術,且非本案討論重點,故於此不加詳述,其相關技術可參見「Design of Color Screen Tile Vector Sets」以及「Computer-aided design of clustered-dot color screens based on a human visual system model」等論文。 In addition, when using the halftone screen method, there are two factors that affect the threshold matrix. The first one is the order of the critical values in the matrix, such as the aforementioned "concentrated dithering method" and "distributed dithering". Color method." The second is the Screen Tile Vector, which determines the shape and rotation angle of the threshold matrix. The screen vector contains two two-dimensional vectors n 1 , n 2 , and the two two-dimensional vectors n 1 , n 2 determine the number of pixels in each halftone cell in the halftone image (below Will be further explained). Since the "threshold matrix" is a conventional technique applied to the traditional halftone screen method, and is not the focus of this discussion, it will not be described in detail here. For related technologies, see "Design of Color Screen Tile Vector Sets" and "Computer-aided design of clustered-dot color screens based on a human visual system model" and other papers.

因此,在本實施例中,如圖4所示,採用的正方形臨界值矩陣40是以一個4x4分散式臨界值矩陣為例,其包含由兩個二維向量[4,0]、[0,4]組成的一網幕向量以及由4x4個臨界值構成的一矩陣。當然,本實施例亦可採用集中式臨界值矩陣。 Therefore, in the present embodiment, as shown in FIG. 4, the square threshold matrix 40 employed is a 4x4 distributed threshold matrix, which is composed of two two-dimensional vectors [4, 0], [0, 4] A screen vector composed of a matrix consisting of 4x4 thresholds. Of course, this embodiment can also adopt a centralized threshold matrix.

因此,如圖4所示,半色調轉換模組1根據正方形臨界值矩陣40的大小,將灰階影像30以4x4個像素為一個單位,分割成16個區塊301,再由上到下,由左至右,將每一區塊301的4x4個像素的灰階值與臨界值矩陣4中相對位置的臨界值進行比對,若像素的灰階值大於臨界值則輸出1代表白色,否則輸出0代表黑色(墨點),藉此將灰階影像30轉換成只以黑白二色顯示的半色調影像31,使半色調影像31包含複數個半色調單元311,且每一個半色調單元311具有4x4個像素。 Therefore, as shown in FIG. 4, the halftone conversion module 1 divides the grayscale image 30 into 16 blocks 301 in units of 4×4 pixels according to the size of the square threshold matrix 40, and then from top to bottom. From left to right, the grayscale value of the 4x4 pixels of each block 301 is compared with the critical value of the relative position in the threshold matrix 4, and if the grayscale value of the pixel is greater than the critical value, the output 1 represents white, otherwise The output 0 represents black (ink dot), whereby the grayscale image 30 is converted into a halftone image 31 displayed only in black and white, the halftone image 31 includes a plurality of halftone units 311, and each halftone unit 311 Has 4x4 pixels.

接著,將半色調影像31輸入編碼模組2,且如圖5所示,編碼模組2會先將半色調影像31的該等半色調單元311劃分成複數個可編碼區塊312,且在本實施例中,如圖5所示,每一可編碼區塊312是由相鄰的4個半色調單元311組成。當然,可編碼區塊也可以由橫向或縱向相鄰的連續4個半色調單元311組成。 Next, the halftone image 31 is input to the encoding module 2, and as shown in FIG. 5, the encoding module 2 first divides the halftone units 311 of the halftone image 31 into a plurality of codeable blocks 312, and In this embodiment, as shown in FIG. 5, each codeable block 312 is composed of four adjacent halftone units 311. Of course, the codeable block may also be composed of four consecutive halftone units 311 that are laterally or longitudinally adjacent.

且如圖6所示,編碼模組2包含有對應16種編碼資料0000、0001、0010、0011....1111的16個編碼規則,例如對應編碼資料0000的第1個編碼規則是令可編碼區塊312中的每一個半色調單元311的墨點數維持不變(圖中以0表示),對應編碼資料0001的第2個編碼規則是令可編碼區塊312中左上方的半色調單元311的墨點數加1(圖中以+1表示),並令可編碼區塊312中右上方的半色調單元的墨點數減1(圖中以-1表示),其餘半色調單元311的墨點 數維持不變(圖中以0表示),而對應編碼資料0010的第3個編碼規則是令可編碼區塊312中左上方的半色調單元311的墨點數減1,並令可編碼區塊312中右上方的半色調單元311的墨點數加1,其餘半色調單元311的墨點數維持不變,其餘編碼規則以此類推。 As shown in FIG. 6, the encoding module 2 includes 16 encoding rules corresponding to 16 kinds of encoding data 0000, 0001, 0010, 0011, . . . 1111. For example, the first encoding rule corresponding to the encoded data 0000 is The number of dots of each halftone unit 311 in the encoding block 312 remains unchanged (indicated by 0 in the figure), and the second encoding rule corresponding to the encoded material 0001 is a halftone of the upper left of the codeable block 312. The number of ink dots of the unit 311 is increased by 1 (indicated by +1 in the figure), and the number of ink dots of the halftone unit in the upper right of the codeable block 312 is decremented by 1 (indicated by -1 in the figure), and the remaining halftone units are 311 ink dots The number remains unchanged (indicated by 0 in the figure), and the third encoding rule corresponding to the encoded data 0010 is to decrement the number of dots of the halftone unit 311 in the upper left of the codeable block 312 by 1 and to make the codeable area The number of dots of the halftone unit 311 in the upper right of the block 312 is incremented by 1, and the number of dots of the remaining halftone cells 311 remains unchanged, and the rest of the encoding rules are deduced by analogy.

且該等編碼資料是以二進制表示,例如以四個位元0000代表十進制的數字0,以四個位元0011代表十進制的數字3等。藉此,當要將其中一種編碼資料,例如0001載入半色調影像31中時,則選用與該編碼資料0001對應的第二個編碼規則來調變半色調影像31中的一個可編碼區塊312中的每一個半色調單元311的墨點數。且通常編碼方向都是由上而下,由左而右,因此,本實施例以將第一筆編碼資料0001載入半色調影像31的第一個(左上方)可編碼區塊312為例。由於與該編碼資料0001對應的第二個編碼規則是將可編碼區塊312中左上方的半色調單元311中的墨點數加1,將右上方的半色調單元311中的墨點數減1,而左下方及右下方的半色調單元311中的墨點數維持不變。因此,如圖7所示,可編碼區塊312中左上、右上、左下、右下四個半色調單元311的墨點數量原先分別為8、9、8、9,而其經過編碼後的已編碼區塊313中的左上、右上、左下、右下四個半色調單元311的墨點數量將變成分別為9、8、8、9。 And the coded data is expressed in binary, for example, four bits 0000 represent a decimal number 0, four bits 0011 represent a decimal number 3, and the like. Thereby, when one of the encoded materials, for example, 0001, is to be loaded into the halftone image 31, a second encoding rule corresponding to the encoded material 0001 is selected to modulate one of the codeable blocks in the halftone image 31. The number of dots of each halftone unit 311 in 312. And generally, the coding direction is from top to bottom, from left to right. Therefore, the present embodiment takes the first (first upper left) codeable block 312 of the halftone image 31 into the first coded data 0001 as an example. . Since the second encoding rule corresponding to the encoded material 0001 is to increase the number of dots in the halftone unit 311 in the upper left of the codeable block 312 by 1, the number of dots in the upper right halftone unit 311 is reduced. 1, the number of dots in the halftone unit 311 in the lower left and lower right remains unchanged. Therefore, as shown in FIG. 7, the number of ink dots of the upper left, upper right, lower left, and lower right four halftone units 311 in the codeable block 312 is originally 8, 9, 8, and 9, respectively, and the encoded The number of ink dots of the upper left, upper right, lower left, and lower right four halftone units 311 in the encoding block 313 will become 9, 8, 8, and 9, respectively.

而且,當要在可編碼區塊312的半色調單元311中增加 一個墨點時,該墨點可以放在半色調單元311中任一非墨點(即白點)的像素位置,而當要減少半色調單元311中的一個墨點時,則可以將半色調單元311中任一墨點以非墨點(即白點)取代。 Moreover, when to be added in the halftone unit 311 of the codeable block 312 When an ink dot is used, the ink dot may be placed at a pixel position of any non-ink dot (ie, white dot) in the halftone unit 311, and when one dot in the halftone cell 311 is to be reduced, halftone may be Any ink dot in cell 311 is replaced with a non-ink dot (ie, a white dot).

因此,根據上述編碼規則,即可將四位元的編碼資料藉由調變可編碼區塊312中的每個半色調單元311的墨點數量的方式載入可編碼區塊312中,使成為一隱含編碼資料的已編碼區塊313,並使具有已編碼區塊313的半色調影像成為一編碼後半色調影像32,如圖8所示。編碼模組2並將編碼後半色調影像32中的已編碼區塊313的位置記錄在一資料庫(圖未示)中,以供之後解碼時使用。 Therefore, according to the above encoding rule, the four-bit encoded data can be loaded into the codeable block 312 by modulating the number of dots of each halftone unit 311 in the codeable block 312. An encoded block 313 of the encoded material is hidden, and the halftone image having the encoded block 313 is made into a coded halftone image 32, as shown in FIG. The encoding module 2 records the position of the encoded block 313 in the encoded halftone image 32 in a database (not shown) for later use in decoding.

所以本實施例的每個可編碼區塊312皆能隱含(攜帶)四位元的編碼資料。且由於在每一可編碼區塊312載入四位元資料,本實施例的編碼規則最多只會讓每個半色調單元311增加一個墨點或減少一個墨點,例如載入編碼資料1111時,而最少是完全不需要改變每個半色調單元311中的墨點數量,例如載入編碼資料0000時,且大部分的編碼規則都只需要改變每個可編碼區塊312中的兩個半色調單元311的墨點數(墨點數加1或減1),因此在編碼過程中不會大幅地變動半色調影像中的墨點位置,而不致影響編碼後半色調影像的影像品質。 Therefore, each codeable block 312 of this embodiment can hide (carry) four-bit coded data. And since the four-bit data is loaded in each of the codeable blocks 312, the encoding rule of the present embodiment only adds at most one dot or one dot to each halftone unit 311, for example, when the encoded data 1111 is loaded. At the very least, it is not necessary to change the number of ink dots in each halftone unit 311 at all, for example, when the encoded material 0000 is loaded, and most of the encoding rules only need to change two and a half of each of the codeable blocks 312. The number of dots of the tone unit 311 (the number of dots is increased or decreased by one), so that the dot position in the halftone image is not greatly changed during the encoding process, and the image quality of the encoded halftone image is not affected.

再者,為了使編碼後半色調影像32具有更佳的影像品 質,如圖8所示,本實施例還包含一影像最佳化模組4,其對編碼後半色調影像32中的該等半色調單元311進行直接二位元搜尋(以下簡稱DBS),亦即影像最佳化模組4一次只對一個半色調單元311進行DBS,例如圖9所示,直接二位元搜尋先判斷半色調單元311中的一個墨點是位在該半色調單元311的中間(如圖9中的9A所示)、角落(如圖9中的9B所示)或側邊(如圖9中的9C所示),並令該墨點只與其四周(如圖9中的9A、9B、9C中的虛線框所示)相鄰的其中一個非墨點(即白點)像素互換,再將互換像素後的半色調單元311與原始灰階影像中相對應的部分影像兩者經由一模擬人眼視覺的人眼視覺模型(Human visual system filter kernel)感知(即比較兩者的差異)而產生一感知誤差值,並且不斷地重覆上述步驟,即令該墨點分別與其四周相鄰的另一個非墨點(即白點)像素互換,且經由人眼視覺模型不斷產生感知誤差值,直到發現其中一種互換結果讓感知誤差值最小且不再變動,人眼視覺模型即判定半色調單元311與原始灰階影像中相對應的部分影像的誤差已達到最小,亦即判定半色調單元311與原始灰階影像中相對應的部分影像最接近,並接受該互換結果。然後,再接著對半色調單元311中的下一個墨點重覆執行DBS,直到半色調單元311中的所有墨點皆完成DBS,才會再對下一個半色調單元311進行DBS,藉此產生一最佳化編碼後半色調影像33。由於上述DBS為習知技術,且非本案重點,於此 不加以詳述,其相關技術可參見「A Novel Bareode System for Intelligent Automation Industry」論文。 Furthermore, in order to make the encoded halftone image 32 have better image quality As shown in FIG. 8 , the embodiment further includes an image optimization module 4 for performing a direct binary search (hereinafter referred to as DBS) on the halftone units 311 in the encoded halftone image 32. That is, the image optimization module 4 performs DBS on only one halftone unit 311 at a time. For example, as shown in FIG. 9, the direct binary search first determines that one dot in the halftone unit 311 is located in the halftone unit 311. In the middle (as shown by 9A in Fig. 9), the corner (as shown by 9B in Fig. 9) or the side (as shown by 9C in Fig. 9), and the ink dot is only around it (as shown in Fig. 9). In the dotted line frame of 9A, 9B, and 9C, one of the adjacent non-ink dots (ie, white dots) is interchanged, and the halftone unit 311 after the pixel is interchanged is corresponding to the partial image in the original grayscale image. The two sense (ie, compare the difference between the two) through a human visual system filter kernel to generate a perceptual error value, and continuously repeat the above steps, that is, the ink dots are respectively Another non-ink point (ie, white point) pixel adjacent to each other is interchanged and continuously passed through the human eye vision model. The perceptual error value is generated until it is found that one of the interchange results minimizes the perceptual error value and does not change, and the human visual model determines that the error of the halftone unit 311 and the corresponding partial image in the original grayscale image has been minimized, that is, It is determined that the halftone unit 311 is closest to the corresponding partial image in the original grayscale image, and the result of the interchange is accepted. Then, DBS is repeatedly executed on the next ink dot in the halftone unit 311 until all the ink dots in the halftone unit 311 complete the DBS, and then the DBS is performed on the next halftone unit 311, thereby generating An encoded halftone image 33 is optimized. Because the above DBS is a well-known technology, and it is not the focus of this case, Without further elaboration, related technologies can be found in the paper "A Novel Bareode System for Intelligent Automation Industry".

且影像最佳化模組4還將最佳化編碼後半色調影像33中的已編碼區塊313的位置記錄在一資料庫(圖未示)中,以供之後解碼時使用。 The image optimization module 4 also records the position of the encoded block 313 in the optimized encoded halftone image 33 in a database (not shown) for later use in decoding.

由於本實施例的影像最佳化模組4所執行的直接二位元搜尋(DBS)只讓半色調單元311中的墨點在半色調單元311中變動其位置(SWAP),因此已編碼區塊313中的半色調單元311的墨點數量仍能保持不變,而得以保留其中所隱含的編碼資料。 Since the direct binary search (DBS) performed by the image optimization module 4 of the present embodiment causes only the ink dots in the halftone unit 311 to change its position (SWAP) in the halftone unit 311, the encoded region The number of dots of the halftone unit 311 in block 313 can remain unchanged while retaining the encoded material implied therein.

此外,由於本實施例的影像最佳化模組4是依循由上到下、由左到右的方式一一對編碼後半色調影像32中的每一個半色調單元311進行直接二位元搜尋,因此影像最佳化模組4會對一個半色調單元311進行直接二位元搜尋,直到該半色調單元311與原始灰階影像中相對應的部分影像的誤差收斂至最小後,才會再對下一個半色調單元311進行直接二位元搜尋,藉此可減少直接二位元搜尋執行的次數而提升影像處理的速度。 In addition, since the image optimization module 4 of the present embodiment performs a direct binary search by using each of the halftone units 311 in the pair of coded halftone images 32 from top to bottom and left to right. Therefore, the image optimization module 4 performs a direct binary search on a halftone unit 311 until the error of the halftone unit 311 and the corresponding partial image in the original grayscale image converges to a minimum. The next halftone unit 311 performs a direct binary search, thereby reducing the number of direct binary search executions and increasing the speed of image processing.

所以,當一圖案或商標是以一編碼後半色調影像,例如上述最佳化編碼後半色調影像33呈現時,為了讀取隱寫在最佳化半色調影像33中的資料以進行後續驗證或應用,如圖10所示,本發明利用區塊墨點數調變的半色調資料隱寫解碼系統的一實施 例,用以取出隱寫在最佳化編碼後半色調影像33中的資料,且其主要包括一資料庫51、一半色調轉換模組52及一解碼模組53。其中如圖11所示,最佳化編碼後半色調影像33代表一已編碼影像3’其中的一部分影像。資料庫51主要記錄與已編碼影像3’(圖中以最佳化編碼後半色調影像33表示)對應的原始灰階影像3(圖中以部分灰階影像30表示)、用以將灰階影像30轉換成半色調影像31的正方形臨界值矩陣40、最佳化編碼後半色調影像33中的已編碼區塊313的位置,以及上述對應16種編碼資料的16個編碼規則。 Therefore, when a pattern or trademark is presented as a coded halftone image, such as the optimized coded halftone image 33 described above, in order to read the data steganized in the optimized halftone image 33 for subsequent verification or application As shown in FIG. 10, an embodiment of a halftone data steganography decoding system using the modulation of the dot number of blocks in the present invention For example, the data used in the optimized coded halftone image 33 is extracted, and mainly includes a database 51, a halftone conversion module 52, and a decoding module 53. As shown in Fig. 11, the optimized encoded halftone image 33 represents a portion of the image of an encoded image 3'. The database 51 mainly records the original grayscale image 3 (represented by the partial grayscale image 30 in the figure) corresponding to the encoded image 3' (indicated by the optimized encoded halftone image 33 in the figure) for using the grayscale image. 30 converts the square threshold matrix 40 of the halftone image 31, optimizes the position of the encoded block 313 in the encoded halftone image 33, and the above 16 encoding rules corresponding to the 16 encoded data.

因此,如圖10與圖11所示,當解碼模組53收到最佳化編碼後半色調影像33時,其通知半色調轉換模組52,則半色調轉換模組52從資料庫51中取出與最佳化編碼後半色調影像33對應的原始灰階影像30,並如同前述半色調轉換模組1的做法,根據正方形臨界值矩陣40,將原始灰階影像30轉換成半色調影像31,並提供給解碼模組53。 Therefore, as shown in FIG. 10 and FIG. 11, when the decoding module 53 receives the optimized halftone image 33, it notifies the halftone conversion module 52, and the halftone conversion module 52 is taken out from the database 51. The original grayscale image 30 corresponding to the optimized coded halftone image 33, and the original grayscale image 30 is converted into the halftone image 31 according to the square threshold matrix 40, as in the foregoing halftone conversion module 1. Provided to the decoding module 53.

然後,如圖11所示,解碼模組53根據資料庫51中記錄的該最佳化編碼後半色調影像33中的已編碼區塊的位置,找出最佳化編碼後半色調影像33中的已編碼區塊313,且比對該已編碼區塊313中的四個半色調單元與半色調影像31中相對應的四個半色調單元的墨點數,例如圖11所示,已編碼區塊313中左上方半色調單元中的墨點數(9)比半色調影像31中相對應的半色調單元311中的 墨點數(8)多1,而已編碼區塊313中右上方半色調單元中的墨點數(8)比半色調影像31中相對應的半色調單元311中的墨點數(8)少1,且已編碼區塊313的左下方及右下方的半色調單元中的墨點數與半色調影像31中相對應的半色調單元311中的墨點數相同,因此解碼模組53即能根據上述已編碼區塊313與半色調影像33中相對應的四個半色調單元之間的墨點數差異,從該16個編碼規則找到相對應的一編碼規則(即第二個編碼規則),而獲得與該編碼規則對應的一編碼資料0001,並輸出解碼結果。據此,本實施例即可根據上述解碼方法讀取隱寫在上述編碼後半色調影像3’中的資料。 Then, as shown in FIG. 11, the decoding module 53 finds out the optimized encoded halftone image 33 based on the position of the encoded block in the optimized encoded halftone image 33 recorded in the database 51. Encoding block 313 and comparing the number of dots of the four halftone cells in the encoded block 313 with the four halftone cells corresponding to the halftone image 31, for example, as shown in FIG. 11, the coded block The number of ink dots (9) in the upper left halftone unit in 313 is larger than that in the halftone unit 311 corresponding to the halftone image 31 The number of ink dots (8) is one more, and the number of ink dots (8) in the upper right halftone unit in the encoded block 313 is smaller than the number of ink dots (8) in the corresponding halftone unit 311 in the halftone image 31. 1, and the number of ink dots in the halftone unit at the lower left and the lower right of the encoded block 313 is the same as the number of ink dots in the corresponding halftone unit 311 in the halftone image 31, so the decoding module 53 can According to the difference in the number of ink dots between the above-mentioned encoded block 313 and the corresponding four halftone units in the halftone image 33, a corresponding one encoding rule (ie, the second encoding rule) is found from the 16 encoding rules. And obtaining an encoded data 0001 corresponding to the encoding rule, and outputting the decoding result. Accordingly, the present embodiment can read the material hidden in the encoded halftone image 3' in accordance with the above decoding method.

綜上所述,本發明藉由將半色調影像31中的四個相鄰的半色調單元311組成一個可編碼區塊312,且根據對應16種編碼資料的16個編碼規則,將可編碼區塊312中每一個半色調單元311的墨點數加1、減1或維持不變,而將該16種編碼資料隱寫在可編碼區塊312中,使可編碼區塊312成為一隱含四位元資料的已編碼區塊313,並且在編碼過程中不會大幅地變動半色調影像中的墨點位置,而不致影響編碼後半色調影像32的影像品質,且藉由影像最佳化模組4以一個半色調單元為單位,依循由上到下、由左到右的方式一一對編碼後半色調影像32中的每一個半色調單元311進行直接二位元搜尋,除了能將編碼後半色調影像32最佳化,並可減少直接二位元搜尋執行的次數,而提升影像處理的速度,確實達成本 發明之功效與目的。 In summary, the present invention composes the codeable region by composing four adjacent halftone units 311 in the halftone image 31 into one codeable block 312 and according to 16 coding rules corresponding to the 16 coded materials. The number of dots of each halftone unit 311 in block 312 is incremented, decremented, or remains unchanged, and the 16 types of encoded data are steganized in the codeable block 312, making the codeable block 312 an implicit The encoded block 313 of the four-bit data does not significantly change the position of the ink dot in the halftone image during the encoding process, without affecting the image quality of the encoded halftone image 32, and is optimized by the image. Group 4 performs a direct binary search for each halftone unit 311 in a pair of encoded halftone images 32 in a halftone unit, in a top-to-bottom, left-to-right manner, except that the second half of the encoding can be performed. Optimized tonal image 32, and can reduce the number of direct binary search execution, and improve the speed of image processing, and indeed achieve this The efficacy and purpose of the invention.

惟以上所述者,僅為本發明之實施例而已,當不能以此限定本發明實施之範圍,凡是依本發明申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。 However, the above is only the embodiment of the present invention, and the scope of the invention is not limited thereto, and all the equivalent equivalent changes and modifications according to the scope of the patent application and the patent specification of the present invention are still The scope of the invention is covered.

1‧‧‧半色調轉換模組 1‧‧‧ halftone conversion module

2‧‧‧編碼模組 2‧‧‧Code Module

4‧‧‧影像最佳化模組 4‧‧‧Image Optimization Module

Claims (7)

一種利用區塊墨點數調變的半色調資料隱寫編碼系統,用以將一灰階影像轉換成一半色調影像,並將資料隱寫在該半色調影像中;該系統包括:一半色調轉換模組,其根據一mxm正方形臨界值矩陣,將該灰階影像轉換成一具有多個半色調單元的半色調影像,且各該半色調單元具有mxm個像素,其中m為大於2的正整數;及一編碼模組,其將該等半色調單元劃分成複數個可編碼區塊,每一可編碼區塊由相鄰的4個半色調單元組成,且該編碼模組包含對應16種編碼資料的16個編碼規則,以根據其中一種編碼資料選用其中一種編碼規則來調變該可編碼區塊中每一個半色調單元的墨點數,而將該可編碼區塊中每一個半色調單元的墨點數加1、減1或維持不變,使該可編碼區塊成為一隱含該編碼資料的已編碼區塊,並使該半色調影像成為一編碼後半色調影像。 A halftone data steganography coding system utilizing block ink dot modulation for converting a grayscale image into a halftone image and rewriting data in the halftone image; the system comprises: halftone conversion a module that converts the grayscale image into a halftone image having a plurality of halftone cells according to a mxm square threshold matrix, and each of the halftone cells has mxm pixels, where m is a positive integer greater than two; And an encoding module, the halftone unit is divided into a plurality of codeable blocks, each codeable block is composed of four adjacent halftone units, and the coding module includes corresponding 16 types of coded data. 16 encoding rules for modulating the number of dots of each halftone unit in the codeable block according to one of the encoding parameters, and modulating the number of dots of each halftone unit in the codeable block The number of dots is incremented by one, decremented by one or remains unchanged, so that the codeable block becomes an encoded block that implies the encoded material, and the halftone image becomes a coded halftone image. 如請求項1所述的利用區塊墨點數調變的半色調資料隱寫編碼系統,還包括一影像最佳化模組,其對該編碼後半色調影像中的該等半色調單元進行直接二位元搜尋,並且一次只對一個半色調單元進行直接二位元搜尋,該直接二位元搜尋判斷該半色調單元中的一個墨點是位在該半色調單元的中間、角落或側邊,並嘗試將該墨點與其相鄰的非墨點像素位置互換,直到判定其中一互換結果使該半色調單元與該灰階影像相對應的一部分影像最接近,即接 受該互換結果,再對下一個墨點重覆執行該直接二位元搜尋,直到全部墨點完成該直接二位元搜尋,該影像最佳化模組才會再對下一個半色調單元進行該直接二位元搜尋,並且對該編碼後半色調影像中的該等半色調單元以由上到下、由左到右方式一一進行該直接二位元搜尋,藉此產生一最佳化編碼後半色調影像。 The halftone data steganography system for modifying the number of ink dots in a block according to claim 1, further comprising an image optimization module for directly performing the halftone units in the encoded halftone image Two-bit search, and perform direct binary search for only one halftone unit at a time, the direct binary search determines that one dot in the halftone unit is located in the middle, corner or side of the halftone unit And attempting to swap the ink dot with its adjacent non-ink dot pixel position until it is determined that one of the interchange results causes the halftone cell to be closest to a portion of the image corresponding to the grayscale image, that is, According to the result of the exchange, the direct binary search is repeated for the next ink dot until all the ink dots complete the direct binary search, and the image optimization module performs the next halftone unit again. The direct binary search, and the direct binary search is performed one by one from top to bottom and left to right for the halftone units in the encoded halftone image, thereby generating an optimized coding Rear halftone image. 如請求項1或2所述的利用區塊墨點數調變的半色調資料隱寫編碼系統,其中該mxm正方形臨界值矩陣包含一由[m,0]、[0,m]兩個二維向量構成的一網幕向量以及mxm個臨界值。 A halftone data steganography system using a block ink dot modulation as claimed in claim 1 or 2, wherein the mxm square critical value matrix comprises one by two [m, 0], [0, m] A vector of vectors consisting of dimensional vectors and mxm thresholds. 如請求項3所述的利用區塊墨點數調變的半色調資料隱寫編碼系統,其中該等臨界值是由集中式抖色法或分散式抖色法產生。 A halftone data steganography system using a block ink dot modulation as described in claim 3, wherein the threshold values are generated by a centralized dithering method or a decentralized dithering method. 一種利用區塊墨點數調變的半色調資料隱寫解碼系統,用以讀取隱寫在一編碼後半色調影像中的資料,並包括:一資料庫,其記錄與該編碼後半色調影像對應的一原始灰階影像及一mxm正方形臨界值矩陣,該編碼後半色調影像中的已編碼區塊的位置,以及對應16種編碼資料的16個編碼規則;一半色調轉換模組,其根據該mxm正方形臨界值矩陣,將該原始灰階影像轉換成一半色調影像;及一解碼模組,其根據該編碼後半色調影像中的已編碼區塊的位置,找出該編碼後半色調影像中的至少一已編碼 區塊,且比對該已編碼區塊與該半色調影像中相對應的一可編碼區塊中的每一半色調單元的墨點數,以從該16個編碼規則中找出將該可編碼區塊調變成該已編碼區塊的一編碼規則,而獲得與該編碼規則對應的一編碼資料。 A halftone data steganography decoding system for utilizing block ink dot modulation for reading data steganized in a coded halftone image, and comprising: a database whose record corresponds to the encoded halftone image An original grayscale image and a mxm square threshold matrix, the position of the encoded block in the encoded halftone image, and 16 encoding rules corresponding to the 16 encoded data; and a halftone conversion module according to the mxm a square threshold matrix for converting the original grayscale image into a halftone image; and a decoding module for finding at least one of the encoded halftone images based on the position of the encoded block in the encoded halftone image Coded a block, and comparing the number of ink dots of each halftone unit in the coded block corresponding to the coded block and the halftone image, to find out that the coded code can be encoded from the 16 coding rules The block is converted into an encoding rule of the coded block, and an encoded data corresponding to the encoding rule is obtained. 如請求項5所述的利用區塊墨點數調變的半色調資料隱寫解碼系統,其中該mxm正方形臨界值矩陣包含一由[m,0]、[0,m]兩個二維向量構成的一網幕向量以及mxm個臨界值。 A halftone data steganography decoding system using a block ink dot modulation as described in claim 5, wherein the mxm square critical value matrix comprises two two-dimensional vectors of [m, 0], [0, m] A mesh vector constructed and mxm thresholds. 如請求項6所述的利用區塊墨點數調變的半色調資料隱寫解碼系統,其中該等臨界值是由集中式抖色法或分散式抖色法產生。 The halftone data steganography decoding system using the block ink dot modulation as described in claim 6, wherein the threshold values are generated by a centralized dithering method or a decentralized dithering method.
TW104134062A 2015-10-16 2015-10-16 Data-bearing encoding system and decoding system utilizing halftone cell dot number modulation TWI530914B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW104134062A TWI530914B (en) 2015-10-16 2015-10-16 Data-bearing encoding system and decoding system utilizing halftone cell dot number modulation
US15/147,923 US9990686B2 (en) 2015-10-16 2016-05-06 Method for generating a data-bearing halftone image, and method for decoding the data-bearing halftone image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104134062A TWI530914B (en) 2015-10-16 2015-10-16 Data-bearing encoding system and decoding system utilizing halftone cell dot number modulation

Publications (2)

Publication Number Publication Date
TWI530914B true TWI530914B (en) 2016-04-21
TW201715474A TW201715474A (en) 2017-05-01

Family

ID=56361528

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104134062A TWI530914B (en) 2015-10-16 2015-10-16 Data-bearing encoding system and decoding system utilizing halftone cell dot number modulation

Country Status (1)

Country Link
TW (1) TWI530914B (en)

Also Published As

Publication number Publication date
TW201715474A (en) 2017-05-01

Similar Documents

Publication Publication Date Title
US9396510B2 (en) Watermarking different areas of digital images with different intensities
Pei et al. Hybrid pixel-based data hiding and block-based watermarking for error-diffused halftone images
JPS61237574A (en) Generation of halftone image
JP2003101761A (en) Image processing apparatus and image processing method
TWI514840B (en) Halftone data-bearing encoding system and halftone data-bearing decoding system
CN109102451A (en) A kind of anti-fake halftoning intelligent digital watermarking method of paper media's output
JP2013123854A (en) Image processing device, image processing method, and image forming device
JP3599621B2 (en) Image processing apparatus, image processing method, and storage medium
JP6948028B2 (en) Anti-counterfeit printed matter creation method and anti-counterfeit printed matter creation program
CN109561232A (en) Method and system for AM screening and protection printed article
TWI530914B (en) Data-bearing encoding system and decoding system utilizing halftone cell dot number modulation
US6002493A (en) Method for reproducing an image
JP4038956B2 (en) Image generation system and image generation method
JP2008052587A (en) Program, information storage medium, two-dimensional code generation system and two-dimensional code
JP2007306513A (en) Method and device for image data compression
TWI543588B (en) Data-bearing encoding system and decoding system utilizing black and white pixel swap modulation
CN114663271A (en) Processing method for anti-counterfeit label image symbolization before printing
JP6256747B2 (en) Image conversion processing method, program for executing the same, and image conversion processing apparatus
ES2303995T3 (en) PROCEDURE AND DEVICE TO ESTABLISH FRAMEWORK FOR ERROR DIFFUSION AND LIMITATION OF INK BY THRESHOLD LEVEL MATRICES.
CN107567709A (en) Compression of images
JP2003298861A (en) Method and device for image evaluation, image evaluating program, recording medium, screen arrangement, method and device for image processing, and program
JP7253749B2 (en) TWO-DIMENSIONAL CODE, GENERATOR, READER, AND COMPUTER PROGRAM
JP3757644B2 (en) Image processing device
JP2004350182A (en) Data processing apparatus, data file, data processing method, and program
Trager et al. A GPU based implementation of Direct Multi-bit Search (DMS) screen algorithm

Legal Events

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