CN1207892C - Method and device for inserting digital image into electronic water-print and detecting method - Google Patents
Method and device for inserting digital image into electronic water-print and detecting method Download PDFInfo
- Publication number
- CN1207892C CN1207892C CN 02156019 CN02156019A CN1207892C CN 1207892 C CN1207892 C CN 1207892C CN 02156019 CN02156019 CN 02156019 CN 02156019 A CN02156019 A CN 02156019A CN 1207892 C CN1207892 C CN 1207892C
- Authority
- CN
- China
- Prior art keywords
- data
- watermark data
- electronic watermark
- image
- image block
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 28
- 239000000284 extract Substances 0.000 claims description 16
- 238000000605 extraction Methods 0.000 claims description 3
- 238000003780 insertion Methods 0.000 abstract description 20
- 230000037431 insertion Effects 0.000 abstract description 20
- 238000001514 detection method Methods 0.000 description 11
- 238000006243 chemical reaction Methods 0.000 description 10
- 230000009466 transformation Effects 0.000 description 8
- 238000013075 data extraction Methods 0.000 description 7
- 238000013500 data storage Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 239000013598 vector Substances 0.000 description 5
- 230000006835 compression Effects 0.000 description 3
- 238000007906 compression Methods 0.000 description 3
- 230000006837 decompression Effects 0.000 description 3
- 230000015556 catabolic process Effects 0.000 description 2
- 238000006731 degradation reaction Methods 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000000593 degrading effect Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Editing Of Facsimile Originals (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Image Processing (AREA)
Abstract
一个图像被分割为多个块,用DCT变换器(103),电子水印数据插入器(104),及IDCT变换器(107)将不同的电子水印数据嵌入每一块内,在此时参考用于确定在不同图像块中插入不同电子水印的电子水印数据插入表(105)及电子水印数据表(106)。
An image is divided into a plurality of blocks, with DCT converter (103), electronic watermark data inserter (104), and IDCT converter (107) different electronic watermark data are embedded in each block, at this moment refer to for An electronic watermark data insertion table (105) and an electronic watermark data table (106) for inserting different electronic watermarks into different image blocks are determined.
Description
技术领域technical field
本发明涉及数字处理领域,更具体的涉及将具有特定信息的识别数据(电子水印数据)嵌入或插入数字图像中的技术。The present invention relates to the field of digital processing, and more specifically relates to the technology of embedding or inserting identification data (electronic watermark data) with specific information into digital images.
背景技术Background technique
近年来,非法进行数字图像的复制已成为一个问题。为了防止此类的非法复制,已考虑将数字图像数据进行编码,并且只有具有合法密钥的再现系统才可再现被解码的数字数据。然而,一旦密码被解密,此系统无法防止随后的复制行为。In recent years, illegal duplication of digital images has become a problem. In order to prevent such illegal duplication, it has been considered to encode digital image data, and only a reproduction system having a legitimate key can reproduce the decoded digital data. However, once the password has been decrypted, the system cannot prevent subsequent copying.
因此,为了防止数字图像的非法使用和复制,已经考虑使用一种方法,其中特定信息被(指下面描述的电子水印数据)被嵌入数据图像中。对于此种的用于数字图像的水印数据,可使用诸如可视及不可视的两类电子水印数据。Therefore, in order to prevent illegal use and copying of digital images, a method has been considered in which specific information (refer to electronic watermark data described below) is embedded in a data image. For such watermark data for digital images, two types of electronic watermark data such as visible and invisible can be used.
可视电子水印数据通过对图像合成特定的字或代码而成为直观可视的。虽然插入此种的可视电子水印数据会引起图像质量的降低,其可直观的防止对用户的数字图像的非法转换。Visible electronic watermark data becomes intuitive and visible by synthesizing specific words or codes to images. Although the insertion of such visible electronic watermark data will cause image quality degradation, it can intuitively prevent illegal conversion of the user's digital image.
在日本专利公开No.平-8-241403中揭示了一个可视的电子水印数据的实例。在此例中,当可视电子水印数据被合成到原始图像中时,在不改变颜色成分的情况下,通过一个换算值只改变对应于电子水印数据的暗色部分的像素的亮度成分就可将电子水印数据合成到原始图像中。换算值由颜色成分,随机数及电子水印数据的像素值决定。An example of visible electronic watermark data is disclosed in Japanese Patent Laid-Open No. Hei-8-241403. In this example, when the visible electronic watermark data is synthesized into the original image, without changing the color components, only the luminance components of the pixels corresponding to the dark parts of the electronic watermark data can be changed by a conversion value. Electronic watermark data is synthesized into the original image. The conversion value is determined by the color components, random numbers and pixel values of the electronic watermark data.
相反的,在不可视电子水印数据的情况下,当电子水印数据被嵌入在图像中,并防止图像质量降低的情况下,对来源于插入电子水印数据的图像质量几乎不会造成损坏,从而嵌入的电子水印数据不是直观可视的。如果将可识别作者的作为电子水印数据的信息嵌入在图像中,即使在已进行了非法复制后,通过检测此电子水印数据就可识别出作者。另外,如果嵌入了禁止复制的作为电子水印数据的信息,当复制装置检测到复制禁止信息时,例如,复制装置可通知用户图像为禁止复制数据,或启动复制装置中的复制禁止机制限制磁带录像机或类似装置的复制。On the contrary, in the case of invisible electronic watermark data, when the electronic watermark data is embedded in the image and prevents the image quality from degrading, there is almost no damage to the image quality derived from the inserted electronic watermark data, thus embedding The electronic watermark data of the digital watermark is not intuitive and visual. If information identifying the author as electronic watermark data is embedded in an image, the author can be identified by detecting this electronic watermark data even after illegal copying has been performed. In addition, if information prohibiting copying is embedded as electronic watermark data, when the copying device detects the copying prohibition information, for example, the copying device can notify the user that the image is copy-prohibited data, or activate the copying prohibition mechanism in the copying device to limit the video tape recorder or a copy of a similar device.
作为一种将不可视电子水印数据嵌入数字图像中的方法,在该方法中,作为电子水印数据的特定信息被嵌入某一部分中,而对图像质量(例如像素的最低有效位(LSB)或类似量)不会造成太大的影响。然而,在此方法中,电子水印数据可很容易的被从图像中删除。例如,如果对嵌入有电子水印数据的图像进行低通滤波,像素的LSB的信息会丧失,从而电子水印数据在无任何可察觉的损坏的情况下而被删除。另外,作为一种图像压缩技术,其通过减少对图像质量影响较小的部分中的信息量而减少数据量,通过对具有嵌入的电子水印数据的图像数据进行压缩和解压缩过程,从而可在对图像质量影响较小的情况下删除掉电子水印数据。As a method of embedding invisible electronic watermark data into digital images, in which specific information as electronic watermark data is embedded in a certain part, while image quality such as the least significant bit (LSB) of a pixel or the like amount) will not have much impact. However, in this method, electronic watermark data can be easily deleted from the image. For example, if low-pass filtering is performed on an image embedded with digitally watermarked data, the information of the LSB of the pixel is lost, so that the digitally watermarked data is deleted without any perceptible corruption. In addition, as an image compression technique that reduces the amount of data by reducing the amount of information in parts that have little influence on image quality, by performing a compression and decompression process on image data with embedded electronic watermark data, it can be used in the The electronic watermark data is deleted when the image quality is less affected.
另外,在日本的专利申请特开平6-315131中揭示了另一种实例。其所描述的内容是,当通过利用连续帧中图像的相似性对图像进行再现时,检测即使用外部区域替换该区域时,该区域的图像质量也不会损坏的区域,并通过改变要被转换区域的数据从而将特定区域嵌入该区域中。该方法在复制图像时,是通过用如下方法重构图像的,首先识别通过用丧失信号部分已嵌入识别数据的区域并转换信息,然后用识别区域中的外围数据校正识别区域。In addition, another example is disclosed in Japanese Patent Application Laid-Open No. Hei 6-315131. It describes that, when an image is reproduced by utilizing the similarity of images in consecutive frames, an area whose image quality is not damaged even when the area is replaced with an outer area is detected, and by changing Transforms a region's data to embed a particular region within that region. This method reproduces an image by reconstructing the image by first identifying an area in which identification data has been partially embedded by using a loss signal and converting the information, and then correcting the identification area with peripheral data in the identification area.
同时在日本特开平5-30466中揭示了一种方法,其中图像信号的频率被转换,并嵌入频率低于已被转换的图像信号频率范围的信息。此方法用高通滤波器取出原始图像信号,并用低通滤波器提取嵌入的识别数据。Also disclosed in Japanese Patent Laid-Open No. Hei 5-30466 is a method in which the frequency of an image signal is converted, and information of a frequency lower than the frequency range of the converted image signal is embedded. This method extracts the raw image signal with a high-pass filter and extracts the embedded identification data with a low-pass filter.
作为另外一个频率转换实例,在该方法中,对图像进行频率转换,并在已完成频率转换后,在图像信号中嵌入具有较强频率成分的区域(1996年4月22日,《Nikkei电子》No.660,13页)。此方法是通过将电子水印数据嵌入具有较强频率成分的区域中,从而,即使对图像进行诸如压缩和解压缩过程或滤波过程,电子水印数据也不会丧失。只要原始数据被损坏,电子水印数据就不会被删除。此外,通过采用根据正态分布的随机数,可防止电子水印数据间的干扰,另外通过嵌入数据,可防止已嵌入电子水印数据的图像质量的下降。As another example of frequency conversion, in this method, an image is frequency-converted, and after the frequency conversion has been completed, regions with strong frequency components are embedded in the image signal (April 22, 1996, "Nikkei Electronics" No. 660, page 13). This method is to embed the electronic watermark data in an area with strong frequency components, so that the electronic watermark data will not be lost even if processes such as compression and decompression or filtering are performed on the image. As long as the original data is damaged, the electronic watermark data will not be deleted. Furthermore, by employing random numbers according to a normal distribution, interference between digital watermark data can be prevented, and further, by embedding data, degradation of image quality in which digital watermark data has been embedded can be prevented.
嵌入电子水印数据的方法如下,用DCT(离散余弦变换)或类似方法将原始图像转换为频率成分,在频域内选择代表高值的n个数据f(1),f(2),....f(n),从均值为0及方差为1的正态分布中选择电子水印数据w(1),w(2),...w(n),用下面的公式计算每个i。The method of embedding electronic watermark data is as follows, the original image is converted into frequency components by DCT (discrete cosine transform) or similar methods, and n data representing high values f(1), f(2), ... are selected in the frequency domain .f(n), select digital watermark data w(1), w(2),...w(n) from a normal distribution with a mean of 0 and a variance of 1, and use the following formula to calculate each i.
F(i)=f(i)+α×|f(i)|×w(i)F(i)=f(i)+α×|f(i)|×w(i)
其中α为换算系数。Where α is the conversion factor.
通过对F(i)进行反DCT变换,获得嵌入电子水印数据的图像。By performing inverse DCT transformation on F(i), the image embedded with electronic watermark data is obtained.
用下面的方法进行电子水印数据的检测。在此检测方法中,原始图像f(i)及侯选的电子水印数据w(i)(其中i为1,2,...n)必须是已知的。The detection of electronic watermark data is performed in the following method. In this detection method, the original image f(i) and the candidate digital watermark data w(i) (where i is 1, 2, . . . n) must be known.
首先,用DCT将具有电子水印数据的图像转换为频率成分,对应于在频域中已嵌入电子水印数据的f(1),f(2)...f(n)的元素值被转换成F(1),F(2),...F(n)。用下面的公式通过f(i)及F(i)计算和获得w(i)和W(i)的统计相似程度。First, the image with electronic watermark data is converted into frequency components by DCT, and the element values of f(1), f(2)...f(n) corresponding to the embedded electronic watermark data in the frequency domain are converted into F(1), F(2), . . . F(n). Use the following formula to calculate and obtain the statistical similarity between w(i) and W(i) through f(i) and F(i).
w(i)=(F(i)-f(i))/f(i)w(i)=(F(i)-f(i))/f(i)
接着,使用矢量内积及下面的公式计算w(i)及W(i)的统计相似程度。Next, calculate the statistical similarity of w(i) and W(i) using the vector inner product and the following formula.
C=W·w/(WD/wD)C=W·w/(WD/wD)
其中:W=(W(1),W(2),...,W(n));Wherein: W=(W(1), W(2), . . . , W(n));
w=(w(1),w(2),...,w(n));w = (w(1), w(2), ..., w(n));
WD=矢量W的绝对值WD = absolute value of vector W
wD=矢量w的绝对值;及wD = the absolute value of the vector w; and
·为矢量的内积。· is the inner product of vectors.
当统计相似程度C大于某些特定值时,可以预测可能嵌入了电子水印数据。When the statistical similarity C is greater than some specific value, it can be predicted that the electronic watermark data may be embedded.
如果用此方法将电子水印数据嵌入图像中,当具有原始图像的作者对被怀疑为非法复制品的数字图像进行检测时是很有效的。此方法需要原始图像,从而当作者对被怀疑为非法复制品的图像数据进行检测时可以检测到电子水印数据,然而,由于再现装置不具备原始图像,从而在再现装置的每个终端内都无法检测到电子水印数据。If electronic watermark data is embedded in an image in this way, it is effective when the author of the original image detects a digital image suspected of being an illegal copy. This method requires the original image so that the electronic watermark data can be detected when the author detects the image data suspected of being an illegal copy, however, since the reproduction device does not have the original image, it is not possible in each terminal of the reproduction device Electronic watermark data detected.
因此,对此方法进行改进,并将其用于对终端进行处理,特别用于MPEG系统。在此方法中,原始图像被分割为8像素×8像素的块,而电子水印数据被嵌入作为处理单元的块内并从其中抽取电子水印数据。Therefore, this method is improved and used for terminal processing, especially for MPEG systems. In this method, an original image is divided into blocks of 8 pixels by 8 pixels, and digital watermark data is embedded in and extracted from the blocks as processing units.
用下面的工艺进行电子水印数据的嵌入过程。首先,在频域的MPEG解码工艺中已进行离散余弦的变换后,在交流成分中从较低的频率成分顺序定义f(1),f(2),...f(n),从均值为0而方差为1的正态分布选择w(1),w(2),...w(n),用下面的公式计算每个i:The embedding process of electronic watermark data is performed by the following process. First, after the discrete cosine transform has been performed in the MPEG decoding process in the frequency domain, f(1), f(2),...f(n) are defined sequentially from the lower frequency components in the AC component, and from the mean Choose w(1), w(2), ...w(n) for a normal distribution with 0 and
F(i)=f(i)+α×avg(f(i))×w(i)F(i)=f(i)+α×avg(f(i))×w(i)
其中α为换算系数,而avg(f(i))为f(i)的邻近三个点的绝对值的平均值的部分平均值。Where α is the conversion factor, and avg(f(i)) is the partial average of the average of the absolute values of the three adjacent points of f(i).
然后,用F(i)代替f(i)进行随后的MPEG的解码过程。Then, replace f(i) with F(i) for subsequent MPEG decoding process.
用下面的过程对电子水印数据进行检测。在此检测方法中,不需要原始图像,但只需知道电子水印数据的侯选值w(i)(其中i为1,2,3,...n)。The electronic watermark data is detected by the following procedure. In this detection method, the original image is not needed, but only the candidate value w(i) of the electronic watermark data (where i is 1, 2, 3, ... n) is needed.
在完成MPEG的解压缩或解码过程中,在逆量化后的块的频域中,从较低的频率成分顺序确定F(1),F(2),...F(n)。F(i)的邻近的三个点F(i-1),F(i),及F(i+1)的绝对值的平均值被定义为部分平均值avg(F(i)),而电子水印数据W(i)用下面的公式进行计算:In the decompression or decoding process of MPEG, in the frequency domain of the dequantized block, F(1), F(2), . . . F(n) are sequentially determined from the lower frequency components. The average of the absolute values of the three adjacent points F(i-1), F(i), and F(i+1) of F(i) is defined as the partial average value avg(F(i)), and Electronic watermark data W(i) is calculated with the following formula:
W(i)=F(i)/avg(F(i))W(i)=F(i)/avg(F(i))
并对每个i计算图像的“和”WF(i)。And compute the "sum" WF(i) of the image for each i.
接着,用矢量的内积及下面的公式计算w(i)及WF(i)的统计相似程度。Next, use the inner product of the vectors and the following formula to calculate the statistical similarity between w(i) and WF(i).
C=WF·w/(WFD×wD)C=WF·w/(WFD×wD)
当统计相似程度大于某些特定值时,可以认为已嵌入了电子水印数据。When the statistical similarity is greater than some specific value, it can be considered that the electronic watermark data has been embedded.
在日本特开平6-315131所揭示的实例中,电子水印信息并未嵌入所有的帧中,从而对于未嵌入电子水印的帧就无法防止非法复制。另外,此实例假设连续帧为静止图像,且在连续帧中不存在变化,从而在包括快速运动图像的电影图像中,无法识别其中嵌入电子水印数据的区域,使得其无法嵌入电子水印数据。In the example disclosed in Japanese Patent Application Laid-Open No. 6-315131, digital watermark information is not embedded in all frames, so that illegal copying cannot be prevented for frames in which the digital watermark is not embedded. In addition, this example assumes that consecutive frames are still images and there is no change in consecutive frames, so that in a movie image including fast moving images, an area in which digital watermark data is embedded cannot be identified, making it impossible to embed digital watermark data.
另外,在日本特开平5-30466所揭示的一个实例中,电子水印数据被嵌入频率低于已对图像进行频率转换的频域的频域中,从而使用高通滤波器可以很容易的将电子水印数据删除掉。In addition, in an example disclosed in Japanese Patent Application Laid-Open No. 5-30466, electronic watermark data is embedded in a frequency domain lower than the frequency domain in which the image has been frequency-converted, so that the electronic watermark can be easily converted to the frequency domain using a high-pass filter. The data is deleted.
此外,在已对图像进行频率转换后,将电子水印数据嵌入频率成分中较强的部分的实例中,通过滤波器或类似方法无法将电子水印数据删除掉。然而,当将多个电子水印数据嵌入一个图像中时,存在一个问题,即如果多个电子水印数据被嵌入同一频率中,电子水印数据彼此干扰,从而在检测时就降低了它的可检测性。Furthermore, in an instance where electronic watermark data is embedded in a strong part of the frequency components after the image has been frequency-converted, the electronic watermark data cannot be deleted by a filter or the like. However, when a plurality of electronic watermark data is embedded in one image, there is a problem that if a plurality of electronic watermark data are embedded in the same frequency, the electronic watermark data interfere with each other, thereby reducing its detectability when detected .
发明内容Contents of the invention
本发明的一个目的是电子水印数据插入器及检测器,其中即使当将多个电子水印数据插入图像中,其也不会相互干扰,且在检测时,可准确的检测到电子水印数据。An object of the present invention is an electronic watermark data inserter and detector in which even when a plurality of electronic watermark data are inserted into an image, they do not interfere with each other and upon detection, the electronic watermark data can be accurately detected.
根据本发明的插入识别数据(电子水印数据)的方法中,对j×k像素(其中j和k为自然数)的每个块的图像进行频率转换,并当电子水印数据被插入被转换的频率成分中时,在对将要插入的电子水印数据的种类进行改变后,对每个块都插入电子水印数据,从而在彼此互不干扰的情况下将电子水印数据插入,并对每个块进行检测。更具体的,还提供了电子水印数据插入位置表,其表示将哪一种的电子水印数据插入图像中的哪一块中,且将一个适用的电子水印数据插入插入区域表中所示的区域中。当检测电子水印数据时,与插入时相类似的电子水印数据抽取表被用于检测电子水印数据。In the method of inserting identification data (electronic watermark data) according to the present invention, the image of each block of j×k pixels (where j and k are natural numbers) is subjected to frequency conversion, and when the electronic watermark data is inserted into the converted frequency In the composition, after changing the type of electronic watermark data to be inserted, insert electronic watermark data into each block, so that the electronic watermark data is inserted without interfering with each other, and each block is detected . More specifically, an electronic watermark data insertion location table is also provided, which indicates which type of electronic watermark data is inserted into which block of the image, and an applicable electronic watermark data is inserted into the area shown in the insertion area table . When detecting electronic watermark data, an electronic watermark data extraction table similar to that at the time of insertion is used for detecting electronic watermark data.
在本发明中,当将多个电子水印数据插入图像中时,对每个块插入不同的电子水印数据,从而在互不干扰和损坏的情况下插入电子水印数据,同样即使当嵌入多个电子水印数据时,也可正确的检测电子水印数据。In the present invention, when a plurality of electronic watermark data is inserted into an image, different electronic watermark data is inserted for each block, thereby inserting the electronic watermark data without mutual interference and damage, also even when embedding a plurality of electronic watermark data When watermarking data, digital watermark data can also be detected correctly.
附图说明Description of drawings
图1为根据本发明的电子水印数据插入装置的方框图;Fig. 1 is the block diagram of electronic watermark data insertion device according to the present invention;
图2为根据本发明的电子水印数据检测装置的方框图;Fig. 2 is the block diagram of electronic watermark data detecting device according to the present invention;
图3为对每种的电子水印数据在图像中的插入位置的示意图。FIG. 3 is a schematic diagram of the insertion position of each type of digital watermark data in an image.
具体实施方式Detailed ways
下面参考相应的附图对本发明的实施例进行详细的描述。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
图1为当将n中电子水印数据插入图像数据中时电子水印数据插入装置的方框图。Fig. 1 is a block diagram of an electronic watermark data inserting apparatus when n digital watermark data are inserted into image data.
参考图1,根据本发明的插入装置的实施例包含输出从图像取出的j×k像素的块的位置信息的DCT变换器103并对该信息进行诸如离散余弦变换(DCT),并在正交变换后输出数据;一个电子水印数据插入位置表105,其记录将要插入的n类电子水印数据的每一类在图像中的块位置;一电子水印数据表106,其存储n类电子水印数据;一电子水印数据插入器104,其根据电子水印数据插入位置表105及和DCT变换器103从电子水印数据表106抽取适用的电子水印数据,并在DCT转换后将电子水印数据插入到数据中;及IDCT转换器107,其在DCT转换后对块内的数据进行反离散余弦变换(IDCT),其中在块内插入数据。Referring to FIG. 1, an embodiment of an interpolation device according to the present invention includes a DCT transformer 103 that outputs position information of a block of j×k pixels extracted from an image and performs discrete cosine transform (DCT) on this information, and performs an orthogonal Output data after conversion; an electronic watermark data insertion position table 105, which records the block positions of each type of n types of electronic watermark data to be inserted in the image; an electronic watermark data table 106, which stores n types of electronic watermark data; An electronic watermark data inserter 104, which extracts applicable electronic watermark data from the electronic watermark data table 106 according to the electronic watermark data insertion position table 105 and DCT converter 103, and inserts the electronic watermark data into the data after DCT conversion; And an IDCT converter 107 that performs an inverse discrete cosine transform (IDCT) on the data within the block after DCT conversion, wherein the data is interpolated within the block.
图2为当将n类电子水印数据插入图像数据中时的用于电子水印数据的检测装置的方框图。Fig. 2 is a block diagram of a detection device for electronic watermark data when n types of electronic watermark data are inserted into image data.
参考图2,根据本发明的检测装置的实例包含输出从图像取出的j×k像素的块的位置信息的DCT变换器203并对该信息进行诸如离散余弦变换(DCT),并在DCT变换后输出数据;一个电子水印数据抽取位置表205,其存储表示n类电子水印数据中的每一类被从图像块中取出的位置的信息;及一个所抽取的数据表206,其存储整屏的n类所抽取的数据;一电子水印数据表208,其存储n类电子水印数据;一电子水印数据抽取器204,其根据由DCT转换器203输出的位置信息从由DCT转换器203输出的j×k像素的频率数据提取电子水印数据,并将提取的电子水印数据存储到抽取数据表206中的预定位置;及一电子水印数据检测器207,其从电子水印数据表208及被提取的数据表206提取第m个数据(m=1,2,3,...n),并计算被提取数据与电子水印数据的统计相似性。Referring to FIG. 2, an example of a detection device according to the present invention includes a
在本发明中,电子水印数据表及相应数目的电子水印数据位置表的内容必须在插入方及检测方彼此一致。也即,在插入及检测方的第m个(m=1,2,3,...n)电子水印数据表的相应的内容必须彼此对应。另外,插入装置方的电子水印数据插入位置表105的内容必须与检测装置方的电子水印数据抽取位置表205的内容也必须一致。In the present invention, the contents of the electronic watermark data table and the corresponding number of electronic watermark data location tables must agree with each other on the inserting side and the detecting side. That is, the corresponding contents of the m-th (m=1, 2, 3, . . . n) digital watermark data tables on the insertion and detection sides must correspond to each other. In addition, the content of the digital watermark data insertion position table 105 on the insertion device side must be consistent with the content of the digital watermark data extraction position table 205 on the detection device side.
参考图1,将描述电子水印数据插入装置的操作。Referring to Fig. 1, the operation of the electronic watermark data inserting apparatus will be described.
DCT变换器103从原始图像取出尺寸为8×8像素的块数据102以进行DCT变换。电子水印数据插入器104在由DCT变换器103输出的块的位置数据的基础上从电子水印数据插入位置表105中取出要被插入的多个电子水印数据。然后,电子水印数据插入器104从电子水印数据表106取出数字与由电子水印数据插入位置表105取出的数字相等的电子水印数据,以将电子水印数据插入由DCT变换器103输出的DCT变换后的数据中。A DCT transformer 103 takes out block data 102 with a size of 8×8 pixels from the original image to perform DCT transformation. The electronic watermark data inserter 104 takes out a plurality of electronic watermark data to be inserted from the electronic watermark data insertion position table 105 on the basis of the block position data output by the DCT transformer 103 . Then, the digital watermark data inserter 104 takes out the digital watermark data whose number is equal to the number taken out by the digital watermark data insertion position table 105 from the digital watermark data table 106, so as to insert the digital watermark data into the DCT-transformed data output by the DCT converter 103 in the data.
IDCT变换器107对由电子水印数据插入器104输出的数据进行IDCT变换,并将数据存入相同位置109,该位置与DCT变换器103已在将要插入数据的图像存储区108中取出块数据的位置相同。The IDCT transformer 107 performs IDCT transformation on the data output by the electronic watermark data inserter 104, and stores the data in the same location 109 as that where the DCT transformer 103 has taken out the block data in the image storage area 108 where the data is to be inserted. same location.
对由电子水印数据插入位置表105指定的所有块进行上面所述的操作。另外,块中未被电子水印数据插入位置表指定的原始图像数据101被直接复制到存储器中,该存储器暂时通过图1中未示出的处理路径存储图像数据108。The above-described operations are performed on all the blocks specified by the electronic watermark data insertion position table 105 . In addition, the original image data 101 in the block not specified by the electronic watermark data insertion position table is directly copied into the memory which temporarily stores the image data 108 through a processing path not shown in FIG. 1 .
接着,参考图2,将对电子水印数据检测装置的操作进行描述。Next, referring to FIG. 2, the operation of the electronic watermark data detection apparatus will be described.
DCT变换器203从图像201取出尺寸为8×8像素的块数据202以进行DCT变换。电子水印数据抽取器204在由DCT变换器203输出的8×8块位置数据的基础上从电子水印数据抽取位置表205中取出要被抽取的多个电子水印数据。然后,电子水印数据抽取器204从由DCT变换器203输出的DCT变换后的频率数据中抽取电子水印抽取数据,并将数据存入对应于从被抽取的数据存储区206中的电子水印数据抽取表205中获得的电子水印数据的位置。The
对由电子水印数据抽取位置表205指定的所有的块进行上述的操作。The above operation is performed on all the blocks specified by the digital watermark data extraction position table 205 .
在一屏的抽取数据被存储进抽取数据存储区206后,电子水印数据检测器207从抽取数据存储区及电子水印数据表208取出相应的被抽取的数据及电子水印数据,并计算统计相似程度以输出结果。After one screen of extracted data is stored in the extracted
当有n类电子水印数据时,电子水印数据检测器207重复n次上述的操作,并计算所有电子水印数据及被抽取数据的统计相似程度,以输出结果209。When there are n types of digital watermark data, the digital
图3为电子水印数据插入位置表的示意图,其中的插入位置表表示每个电子水印数据被插入的位置及当插入四类电子水印数据时的检测位置表的值。整屏的图像数据被分割为尺寸为图3中所示的j×k的块,并且存入表示对于每一块的将要插入的电子水印数据的顺序数。Fig. 3 is a schematic diagram of the electronic watermark data insertion position table, wherein the insertion position table indicates the position where each electronic watermark data is inserted and the value of the detection position table when four types of electronic watermark data are inserted. The image data of the entire screen is divided into blocks having a size of j*k shown in FIG. 3, and stored is an ordinal number representing electronic watermark data to be inserted for each block.
图3的实例指出,当图像的左上方被设定为原始值时,在列号为1及行号为1的块内插入第一电子水印数据,在水平方向位移一个块的块内插入第二电子水印数据。The example in Figure 3 points out that when the upper left of the image is set as the original value, the first digital watermark data is inserted in the block whose column number is 1 and row number is 1, and the first digital watermark data is inserted in a block displaced by one block in the horizontal direction. 2. Electronic watermark data.
参考图1到图3,将更具体的描述电子水印数据插入装置的操作。Referring to FIG. 1 to FIG. 3, the operation of the electronic watermark data inserting apparatus will be described more specifically.
DCT变换器103从原始图像101的行号及列号都为1的位置取出尺寸为j×k的块数据102,进行DCT变换,并在DCT变换后输出表示行和列号及频率数据的数据。电子水印数据插入器104在由DCT变换器103输出的块的行号1及列号1的位置数据的基础上从电子水印数据插入位置表105取出要插入的标号为1的电子水印数据。The DCT converter 103 takes out block data 102 of size j×k from the position where the row number and column number of the original image 101 are both 1, performs DCT transformation, and outputs data representing row and column numbers and frequency data after DCT transformation . The digital watermark data inserter 104 fetches the digital watermark data numbered 1 to be inserted from the digital watermark data insertion position table 105 on the basis of the position data of
然后,电子水印数据插入器104从电子水印数据表106取出与标号为1的电子水印数据相对应的第一个电子水印数据,并将第一个电子水印数据插入由DCT变换器103输出的DCT变换后的频率数据中。IDCT变换器107对由电子水印数据插入器104输出的数据进行IDCT变换,并将数据存入行号及列号都为1的位置,该位置与DCT变换器已经从区域108中提取数据的位置相同,在区域108中存入已被插入电子水印数据的图像。Then, the electronic watermark data inserter 104 takes out the first electronic watermark data corresponding to the electronic watermark data labeled 1 from the electronic watermark data table 106, and inserts the first electronic watermark data into the DCT outputted by the DCT converter 103. In the transformed frequency data. IDCT converter 107 performs IDCT conversion on the data output by electronic watermark data inserter 104, and stores the data in the position where the row number and column number are 1, which is the same as the position where the DCT converter has extracted data from the area 108 Likewise, an image into which digital watermark data has been inserted is stored in the area 108 .
然后,对行号及列号都为1的块数据进行类似的操作。对由电子水印数据插入位置表105指定的所有块进行上述的操作(在图3的实例中,针对图像数据中的所有数据)。Then, similar operations are performed on the block data whose row number and column number are both 1. The above-described operation is performed for all the blocks specified by the electronic watermark data insertion position table 105 (in the example of FIG. 3, for all data in the image data).
接着,参考图2及图3,将更具体的描述电子水印数据检测装置的操作。Next, with reference to FIG. 2 and FIG. 3 , the operation of the digital watermark data detection device will be described in more detail.
DCT变换器203从图像201的行号及列号都为1的位置提取出尺寸为8×8的像素的块数据并进行DCT变换,在DCT变换后输出行及列号数据及频率数据。电子水印数据抽取器204在由DCT变换器203输出的行号及列号都为1的块的位置数据的基础上从电子水印数据抽取表205获得标号为1的要被抽取的电子水印数据。The
然后,电子水印数据抽取器204从由DCT变换器203输出的进行DCT变换后的频率数据抽取电子水印数据,并将其存入对应于抽取数据存储区域206中的标号1的电子水印数据的第一抽取区。Then, the digital
接着,对行号和列号都为1的块数据进行类似的处理。对由电子水印数据抽取位置表指定的所有块数据进行上述的操作(在图3的实例中,是针对图像数据中的所有块)。Next, similar processing is performed on the block data whose row number and column number are both 1. The above-mentioned operation is performed on all block data specified by the digital watermark data extraction position table (in the example of FIG. 3 , all blocks in the image data).
在将整屏的抽取数据存入抽取数据存储区后,电子水印数据检测器207从抽取数据存储区206取出第一抽取数据及从电子水印数据表208取出第一电子水印数据,并计算统计相似程度以输出结果。After storing the extracted data of the whole screen into the extracted data storage area, the electronic
接着,电子水印数据检测器207从抽取数据存储区206取出第二抽取数据及从电子水印数据表208取出第二电子水印数据,并计算统计相似程度以输出结果。Next, the electronic
通过类似的方式,同样对第三抽取数据和第三电子水印数据及第四抽取数据和第四电子水印数据进行类似的处理。In a similar manner, similar processing is also performed on the third extracted data and the third electronic watermark data and the fourth extracted data and the fourth electronic watermark data.
如上所述,本发明将一个图像分割为j×k像素的块单位,并改变每个块的要插入的电子水印数据,从而,当将多个电子水印数据插入图像中时,可防止多个电子水印数据相互干扰的问题。As described above, the present invention divides an image into block units of j×k pixels and changes the electronic watermark data to be inserted for each block, thereby preventing multiple The problem of mutual interference of electronic watermark data.
对本领域中的技术人员而言,对本发明所做的各种的变更及修改都在由所附权利要求所限定的范围内。For those skilled in the art, various changes and modifications to the present invention are within the scope defined by the appended claims.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 02156019 CN1207892C (en) | 2002-12-11 | 2002-12-11 | Method and device for inserting digital image into electronic water-print and detecting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 02156019 CN1207892C (en) | 2002-12-11 | 2002-12-11 | Method and device for inserting digital image into electronic water-print and detecting method |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN99100376A Division CN1113355C (en) | 1999-01-19 | 1999-01-26 | Method and device for inserting electronic watermark into digital image and testing electronic watermark |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1441593A CN1441593A (en) | 2003-09-10 |
CN1207892C true CN1207892C (en) | 2005-06-22 |
Family
ID=27768611
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 02156019 Expired - Fee Related CN1207892C (en) | 2002-12-11 | 2002-12-11 | Method and device for inserting digital image into electronic water-print and detecting method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1207892C (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7636440B2 (en) * | 2003-01-31 | 2009-12-22 | Hewlett-Packard Development Company, L.P. | Digital watermark with variable location |
AU2006287912B2 (en) * | 2005-09-08 | 2011-09-08 | Thomson Licensing | Digital cinema projector watermarking system and method |
JP4965996B2 (en) * | 2006-12-22 | 2012-07-04 | キヤノン株式会社 | Image processing apparatus, image processing method, image processing program, and storage medium |
DE102008014311A1 (en) * | 2008-03-14 | 2009-09-17 | Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. | An embedder for embedding a watermark in an information representation, a detector for detecting a watermark in an information representation, method, computer program and information signal |
-
2002
- 2002-12-11 CN CN 02156019 patent/CN1207892C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1441593A (en) | 2003-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1113355C (en) | Method and device for inserting electronic watermark into digital image and testing electronic watermark | |
CN1147123C (en) | System of changing characteristic of picture through electronic watermark | |
Wakatani | Digital watermarking for ROI medical images by using compressed signature image | |
EP0981901B1 (en) | Embedding auxiliary data in a signal | |
US7903868B2 (en) | Video fingerprinting apparatus in frequency domain and method using the same | |
JP2009514305A (en) | How to embed data in an information signal | |
EP1908007B1 (en) | Image watermarking | |
US20020097891A1 (en) | Electronic watermarking data insertion/detection device | |
EP1932359A1 (en) | Coefficient selection for video watermarking | |
EP1028585A1 (en) | A method for inserting and detecting electronic watermark data into a digital image and a device for the same | |
WO2005104011A1 (en) | System and method for reversible data hiding based on integer wavelet spread spectrum | |
CN1207892C (en) | Method and device for inserting digital image into electronic water-print and detecting method | |
Pickering et al. | A novel blind video watermarking scheme for access control using complex wavelets | |
US8885874B2 (en) | Method and apparatus for embedding image-related information in image | |
JP4121907B2 (en) | Data processing apparatus and method | |
JP4212422B2 (en) | Data encoding apparatus, data encoding method, data detection apparatus, and data detection method | |
Gao et al. | Reversible image authentication based on combination of reversible and LSB algorithm | |
Luo et al. | JPEG domain watermarking | |
Biswas et al. | Compressed video watermarking technique | |
AU2006265780B2 (en) | Image watermarking | |
Cika | New watermarking scheme for colour image | |
Pelly et al. | UMID watermarking for managing metadata in content production | |
JP2004072501A (en) | Method and device for superposing information, method and device for detecting information, and superposed information detection system | |
Kaur | Reversible watermarking based on entropy masking and DWT |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
ASS | Succession or assignment of patent right |
Owner name: NEC PERSONAL COMPUTERS, LTD. Free format text: FORMER OWNER: NEC CORP. Effective date: 20111108 |
|
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20111108 Address after: Tokyo, Japan Patentee after: NEC Personal Products Ltd. Address before: Tokyo, Japan Patentee before: NEC Corp. |
|
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20050622 Termination date: 20170126 |
|
CF01 | Termination of patent right due to non-payment of annual fee |