WO2012145904A1 - Method for tampered region localization of color images based on jpeg compression noise - Google Patents

Method for tampered region localization of color images based on jpeg compression noise Download PDF

Info

Publication number
WO2012145904A1
WO2012145904A1 PCT/CN2011/073434 CN2011073434W WO2012145904A1 WO 2012145904 A1 WO2012145904 A1 WO 2012145904A1 CN 2011073434 W CN2011073434 W CN 2011073434W WO 2012145904 A1 WO2012145904 A1 WO 2012145904A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
jpeg compression
noise
quantization noise
frequency quantization
Prior art date
Application number
PCT/CN2011/073434
Other languages
French (fr)
Chinese (zh)
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 PCT/CN2011/073434 priority Critical patent/WO2012145904A1/en
Publication of WO2012145904A1 publication Critical patent/WO2012145904A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2201/00General purpose image data processing
    • G06T2201/005Image watermarking
    • G06T2201/0201Image watermarking whereby only tamper or origin are detected and no embedding takes place

Definitions

  • the invention relates to the field of image passive blind forensics, in particular to a tamper region localization method for color digital images. Background technique
  • the active mode requires embedding watermark (or digital signature) information into the real image generation process (when photographed) or before publishing.
  • watermark or digital signature
  • the image authenticity needs to be verified, only the watermark (digital signature) information is extracted from the image. If the watermark (or digital signature) information is destroyed, the image may be tampered with, and the watermark (or digital signature) is destroyed. It is the location where the tampering occurs.
  • this method is inconvenient in practical applications, and it is impossible to make all digital imaging devices equipped with watermark (digital signature) embedded modules. Passively collecting data directly from the image itself does not require the hardware module configuration described above, which makes it a great concern.
  • a color image tampering region localization method based on JPEG compression noise includes:
  • the JPEG compression is performed on the color image to be measured, and the new image is obtained and the original image is taken to obtain JPEG compression noise;
  • the high-frequency quantization noise is extracted from the JPEG compression noise to distinguish the tamper region from the non-tamper region; the high-frequency quantization noise is normalized and morphologically operated, and finally the template for locating the tamper region is obtained. Since the present invention does not require embedding watermark information into an image in advance, it is only necessary to analyze the image itself and does not require a large training library for machine learning. Therefore, it can be effectively applied in a content forensics environment such as large-scale data communication and multimedia transmission.
  • FIG. 1 is a flow chart of a method for locating a color image tampering region based on JPEG compression noise
  • FIG. 3 is a diagram showing an example of high frequency quantization noise extraction of the method of the present invention. detailed description
  • the tampering region can be located by using the JPEG compression noise of the non-tamper region and the tamper region.
  • Image JPEG compression noise can be calculated by the difference between the image itself and its JPEG compressed version.
  • DCT transform is its key operation
  • JPEG compression noise mainly comes from self-DCT.
  • the quantized loss of the coefficients after the transformation For a color tampering image that has been tampered with by a JPEG image and saved as a lossless compression format, the non-tampering area, which must have experienced at least one JPEG compression.
  • JPEG compression noise is mainly derived from the quantization loss of the mid-low frequency DCT coefficients.
  • JPEG compression noise comes from the quantization loss of all (high, medium and low frequency) DCT coefficients; if from JPEG compressed image, due to The probability that the tamper region and the non-tamper region are aligned according to the 8 ⁇ 8 DCT block is almost 0.
  • the high frequency DCT coefficient is no longer zero.
  • the JPEG compression noise of the tamper region is mainly derived from the quantization loss of the high, medium, and low frequency DCT coefficients. Therefore, the biggest difference between the tamper region and the non-tamper region is that the value of the high frequency quantization noise in the JPEG compression noise is different, the high frequency quantization noise of the non-tamper region is less than zero, and the high frequency quantization noise value of the tamper region is Larger, that is, the high-frequency quantization noise of the tampering region is stronger than the high-frequency quantization noise of the non-tamper region.
  • the present invention utilizes this difference to achieve the purpose of locating the tampering area.
  • a region whose value is greater than a certain threshold and relatively concentrated is found in its high-frequency quantization noise, it can be determined as a tamper region.
  • the present invention utilizes the difference in JPEG compression noise between the non-tamper region and the tamper region to locate the tamper region.
  • Q quality factor
  • the present invention can also calculate noise using non-standard JPEG compression, such as JPEG quantization in photoshop.
  • Extracting high-frequency quantization noise Step S2 JPEG compression noise of the image to be measured, using the principal component analysis (PCA) method to extract its high-frequency quantization noise.
  • PCA principal component analysis
  • the present invention can also extract high frequency quantization noise using an Independent Component Analysis (ICA) method.
  • ICA Independent Component Analysis
  • Post-processing step S3 normalization processing and morphological operation of the high-frequency quantization noise of the image to be measured, and finally obtaining a template for locating the tamper region (binarized image, white showing the location of the tampering region).
  • step S21 treating each pixel point in the image to be tested as a sample point, and the color value (R, G, B) of the pixel point is regarded as a variable of the sample , construct the original dataset X.
  • X is a matrix of N X 3, where N is the number of pixels in the image. Each row of X represents a pixel in the image, listed as the color value corresponding to the pixel. .
  • Step S22 Using the method of principal component analysis (PCA), the data set X is re-expressed to obtain a new matrix Y such that the column vectors in Y are orthogonal to each other.
  • Step S23 Extracting the least important component in Y (the column with the smallest variance) as the high frequency quantization noise of the image to be tested. If the image to be tested is a tamper image, the high-frequency quantization noise of the non-tamper region is less than zero, and the high-frequency quantization noise of the tamper region is large, and there is a significant difference between the two.
  • PCA principal component analysis
  • the post-processing step S3 is as follows:
  • Step S31 The sigmoid function is used to normalize the high-frequency quantization noise of the image to be measured, and the normalized high-frequency quantization noise is obtained.
  • Step S32 Perform morphological operation on the normalized high-frequency quantization noise, open and close the image, and obtain a template for locating the tamper region.
  • the JPEG compression noise refers to subtracting a new image obtained by compressing the image to be tested with the image to be tested, as shown in the formula (1).
  • S Jpeg(I,Q) -I ( 1 )
  • S is the JPEG compression noise of the image I to be tested
  • Jpeg() is the JPEG compression operation
  • Q is the quality factor used in the JPEG compression operation.
  • the use of the principal component analysis method to extract high-frequency quantization noise refers to finding a most linear transformation P for the original data set X (JPEG compression noise), so that X obtains a new data expression Y by the transformation. As shown in equation (2). Make the column vectors in Y orthogonal to each other.
  • PCA Principal Component Analysis
  • the normalization processing of the high-frequency quantization noise of the image to be tested is performed using the sigmoid function in the equation (3).
  • the image file to be processed is first determined to be a color image format and then enters the flow. Secondly, the image is JPEG-compressed, and its JPEG compression noise is calculated. Then, based on the present invention, the high-frequency quantization noise is extracted by using PCA, as shown in FIG. Finally, the high-frequency quantization noise is normalized, and the final tamper-area localization template is obtained through morphological operations.
  • compression factor Q 95
  • the PCA is used to obtain high-frequency quantization noise (Fig. 2c). It can be seen from the figure that the high-frequency quantization noise in the non-tamper region is small, almost zero; and the high-frequency quantization noise in the tamper region is large. There is a clear difference between the two.
  • the sigmoid function is used to normalize the high frequency quantization noise.
  • a 3
  • b is the sum of the mean of the high-frequency quantization noise and its standard deviation of 3 times.
  • the obtained normalized high-frequency quantization noise is subjected to morphological operation, and the final tamper region positioning template is obtained after the image is opened and closed.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

A method for tampered region localization of color images based on JPEG compression noise includes: performing JPEG compression on the color image to be tested, then taking the difference between the newly obtained image and the original image, and getting the JPEG compression noise; extracting the high frequency quantization noise from the JPEG compression noise; performing normalization and morphology operation on the high frequency quantization noise, and getting the template for the tampered region localization at last. Since the present invention does not need to embed watermark in the image beforehand, just analyze the image itself, and does not need a lot of training library for machine learning, thus can be used effectively under the environment of content forensics, such as a large scale of data communication, multimedia transmission and so on.

Description

技术领域 Technical field
本发明涉及图像被动盲取证领域, 特别涉及彩色数字图像的篡改区域定位方法。 背景技术  The invention relates to the field of image passive blind forensics, in particular to a tamper region localization method for color digital images. Background technique
21世纪是数字化的时代, 随着计算机和多媒体技术的快速发展, 人们越来越离不 开数字媒体。 然而数字媒体的确有个至关重要的问题需要解决——眼见是否为实。 由 于近年大量数字图像处理软件 (例如 Photoshop等) 的涌现, 使得数字图像的篡改、 伪造轻而易举,数字媒体不再像传统媒体那样具有较高的可信度。特别是在新闻报道, 摄影比赛, 甚至是法律证据中, 往往会看到篡改图像的身影。 如果该问题得不到很好 的解决, 很可能会扰乱社会秩序, 破坏新闻媒体及司法的公信力。 由于数字图像处理 软件功能的日益强大, 且简单易用, 由其篡改得到的图像越来越难被人眼检测出。 因 此, 数字图像内容认证技术需求迫在眉睫。  The 21st century is an era of digitalization. With the rapid development of computers and multimedia technologies, people are increasingly unable to rely on digital media. However, digital media does have a crucial problem to solve - seeing is true. Due to the emergence of a large number of digital image processing software (such as Photoshop) in recent years, digital image tampering and counterfeiting are easy, and digital media is no longer as highly credible as traditional media. Especially in news reports, photography competitions, and even legal evidence, tampering images are often seen. If the problem is not solved well, it will likely disrupt social order and undermine the credibility of the news media and the judiciary. As digital image processing software becomes increasingly powerful and easy to use, images that have been tampered with are increasingly difficult to detect by human eyes. Therefore, the demand for digital image content authentication technology is imminent.
目前, 数字图像内容认证技术主要有两大类: 主动方式和被动方式。 主动方式需 要在真实图像生成过程中 (拍照时) 或发布之前, 向其中嵌入水印 (或数字签名) 信 息。 在图像真实性需要验证时, 只需从图像中提取水印 (数字签名) 信息, 如果水印 (或数字签名) 信息被破坏, 则说明图像有可能被篡改, 水印 (或数字签名) 被破坏 的位置就是篡改发生的位置。 但是这种方式在实际应用中较为不便, 无法做到使所有 的数字成像设备都配备水印 (数字签名) 嵌入模块。 被动方式直接从图像本身收集数 据, 不需要上述的硬件模块配置, 这使得其得到较大的关注。 比如篡改操作破坏了图 像成像过程中的一致性[ A.C. Popescu and H. Farid, "Exposing digital forgeries in color filter array interpolated images, " IEEE Transactions on Signal Processing, vol. 53, no. 10, pp. 3948-3959, 2005.] , 或者使图像中的相机固有噪声改变或消失 [J. Lukas, J. Fridrich, M. Goljan, "Detecting digital image forgeries using sensor pattern noise, " Society of Photo-Optical Instrumentation Engineers (SPIE) Conference Series., vol. 6072, pp. 362-372, 2006], 或者使图像的高阶统计量发生改变 [Y.Q. Shi, W. Chen, and C. Chen, "A natural image model approach to splicing detection, " Proceedings of the 9th workshop on Multimedia & security, pp.51-62, 2007]等等。 篡改区域定位比仅仅检测出篡改发生更具 有实际意义, 更可信。 它可以定位出篡改所发生的位置, 而不仅仅是判断图像是否有 篡改发生。 发明内容 At present, there are two main types of digital image content authentication technologies: active mode and passive mode. The active mode requires embedding watermark (or digital signature) information into the real image generation process (when photographed) or before publishing. When the image authenticity needs to be verified, only the watermark (digital signature) information is extracted from the image. If the watermark (or digital signature) information is destroyed, the image may be tampered with, and the watermark (or digital signature) is destroyed. It is the location where the tampering occurs. However, this method is inconvenient in practical applications, and it is impossible to make all digital imaging devices equipped with watermark (digital signature) embedded modules. Passively collecting data directly from the image itself does not require the hardware module configuration described above, which makes it a great concern. For example, tampering operations destroy the consistency of image imaging [AC Popescu and H. Farid, "Exposing digital forgeries in color filter array interpolated images," IEEE Transactions on Signal Processing, vol. 53, no. 10, pp. 3948- 3959, 2005.] , or to make the camera's inherent noise change or disappear in the image [J. Lukas, J. Fridrich, M. Goljan, "Detecting digital image forgeries using sensor pattern noise, " Society of Photo-Optical Instrumentation Engineers (SPIE ) Conference Series., vol. 6072, pp. 362-372, 2006], or to change the high-order statistics of images [YQ Shi, W. Chen, and C. Chen, "A natural image model approach to splicing detection , " Proceedings of the 9th workshop on Multimedia & security, pp.51-62, 2007] and more. Tampering regional positioning is more practical and more credible than just detecting tampering. It can locate the location where the tampering occurs, not just to determine if the image has tampering. Summary of the invention
本发明的目的是提供一种基于 JPEG 压缩噪声的彩色图像篡改区域检测定位方 法,对于任意一幅由 JPEG图像操作生成且最终保存为无损压缩格式的彩色篡改图像, 能够快速准确的检测并定位该的篡改区域。 为了实现上述目的, 一种基于 JPEG压缩噪声的彩色图像篡改区域定位方法, 包 括:  It is an object of the present invention to provide a color image tampering region detection and positioning method based on JPEG compression noise, which can quickly and accurately detect and locate a color tamper image generated by a JPEG image operation and finally saved as a lossless compression format. Tampering area. In order to achieve the above object, a color image tampering region localization method based on JPEG compression noise includes:
对待测彩色图像进行 JPEG压缩, 得到新图像后与原图像取差, 得到 JPEG压缩 噪声;  The JPEG compression is performed on the color image to be measured, and the new image is obtained and the original image is taken to obtain JPEG compression noise;
从 JPEG压縮噪声中提取高频量化噪声, 以区别篡改区域和非篡改区域; 对高频量化噪声进行归一化处理和形态学操作, 最后得到定位篡改区域的模板。 由于本发明不需要事先向图像中嵌入水印信息, 只需分析图像本身而且不需要大 量训练库进行机器学习。 故可在大规模数据通信、 多媒体传输等内容取证环境下能够 得到有效的应用。 附图说明  The high-frequency quantization noise is extracted from the JPEG compression noise to distinguish the tamper region from the non-tamper region; the high-frequency quantization noise is normalized and morphologically operated, and finally the template for locating the tamper region is obtained. Since the present invention does not require embedding watermark information into an image in advance, it is only necessary to analyze the image itself and does not require a large training library for machine learning. Therefore, it can be effectively applied in a content forensics environment such as large-scale data communication and multimedia transmission. DRAWINGS
图 1 本发明基于 JPEG压缩噪声的彩色图像篡改区域定位方法的流程图; 图 2 本发明待检测图像及其篡改区域定位结果示例图, 图中 (a) 为待测图像, 该图像为篡改图像, (b) 为待测图像 Q=95时的 JPEG压缩噪声, (c) 高频量化噪 声, (d) 归一化的高频量化噪声, (e) 篡改区域定位模板;  1 is a flow chart of a method for locating a color image tampering region based on JPEG compression noise; FIG. 2 is a diagram showing an example of a result of positioning an image to be detected and a tamper region thereof in the present invention, wherein (a) is an image to be tested, and the image is a tamper image. (b) JPEG compression noise when the image to be measured is Q=95, (c) high frequency quantization noise, (d) normalized high frequency quantization noise, (e) tampering area positioning template;
图 3 本发明方法高频量化噪声提取的示例图。 具体实施方式  Figure 3 is a diagram showing an example of high frequency quantization noise extraction of the method of the present invention. detailed description
对于任意一幅由 JPEG图像操作生成且最终保存为无损压缩格式的篡改图像, 可 以利用其非篡改区域和篡改区域的 JPEG压缩噪声的取值不同, 来定位其篡改区域。 具体表述为: 图像 JPEG压缩噪声可通过图像本身与其 JPEG压缩版本之间的差值计 算得到。 JPEG压缩中, DCT变换是其关键操作, JPEG压缩噪声主要来对自 DCT变 化后的系数的量化损失。 对于一幅由 JPEG图像篡改而来并被保存为无损压缩格式的 彩色篡改图像, 其中的非篡改区域, 其必然己经历过至少一次 JPEG压缩。 在计算该 区域 JPEG压缩噪声时需要进行再一次 JPEG压缩, 而该区域的 DCT系数中的大部分高 频系数在前一次压缩中已经被量化为零。 因此, 其 JPEG压缩噪声主要来自对中低频 DCT系数的量化损失。 而对于其篡改区域, 如果它来自无损压缩图像 (之前没有经历 过 JPEG压缩中的量化损失) , 其 JPEG压縮噪声来自对所有 (高中低频) DCT系数的 量化损失; 如果来自 JPEG压缩图像, 由于篡改区域与非篡改区域按照 8 X 8 的 DCT块 对齐的概率几乎为 0,在计算篡改区域的 JPEG压缩噪声时,其高频 DCT系数不再为零。 在这种情况下, 篡改区域的 JPEG压缩噪声主要来源于高、 中、 低频 DCT系数的量化 损失。 因此, 篡改区域与非篡改区域的最大不同是 JPEG压缩噪声中的高频量化噪声 的取值不同, 非篡改区域的高频量化噪声较小几乎为零, 而篡改区域的高频量化噪声 取值较大, 即篡改区域的高频量化噪声强于非篡改区域的高频量化噪声。 本发明正是 利用这种不同达到定位篡改区域的目的。 在给定图像中, 只要在其高频量化噪声中发 现取值大于一定阈值且相对集中的区域就可将其判定为篡改区域。 For any tampering image generated by a JPEG image operation and finally saved as a lossless compression format, the tampering region can be located by using the JPEG compression noise of the non-tamper region and the tamper region. The specific expression is: Image JPEG compression noise can be calculated by the difference between the image itself and its JPEG compressed version. In JPEG compression, DCT transform is its key operation, and JPEG compression noise mainly comes from self-DCT. The quantized loss of the coefficients after the transformation. For a color tampering image that has been tampered with by a JPEG image and saved as a lossless compression format, the non-tampering area, which must have experienced at least one JPEG compression. Another JPEG compression is required to calculate the JPEG compression noise in this region, and most of the high frequency coefficients in the DCT coefficients of this region have been quantized to zero in the previous compression. Therefore, its JPEG compression noise is mainly derived from the quantization loss of the mid-low frequency DCT coefficients. For its tampering region, if it comes from a lossless compressed image (which has not experienced the quantization loss in JPEG compression before), its JPEG compression noise comes from the quantization loss of all (high, medium and low frequency) DCT coefficients; if from JPEG compressed image, due to The probability that the tamper region and the non-tamper region are aligned according to the 8×8 DCT block is almost 0. When calculating the JPEG compression noise of the tamper region, the high frequency DCT coefficient is no longer zero. In this case, the JPEG compression noise of the tamper region is mainly derived from the quantization loss of the high, medium, and low frequency DCT coefficients. Therefore, the biggest difference between the tamper region and the non-tamper region is that the value of the high frequency quantization noise in the JPEG compression noise is different, the high frequency quantization noise of the non-tamper region is less than zero, and the high frequency quantization noise value of the tamper region is Larger, that is, the high-frequency quantization noise of the tampering region is stronger than the high-frequency quantization noise of the non-tamper region. The present invention utilizes this difference to achieve the purpose of locating the tampering area. In a given image, as long as a region whose value is greater than a certain threshold and relatively concentrated is found in its high-frequency quantization noise, it can be determined as a tamper region.
本发明利用非篡改区域和篡改区域的 JPEG压缩噪声不同来定位篡改区域。  The present invention utilizes the difference in JPEG compression noise between the non-tamper region and the tamper region to locate the tamper region.
如图 1所示, 包括以下步骤:  As shown in Figure 1, the following steps are included:
计算 JPEG压缩噪声步骤 S 1 : 采用品质因子为 Q (如 Q=95 )的标准 JPEG压缩算 法对待测图像进行 JPEG压缩, 得到新图像后与原图像相减, 得到 JPEG压缩噪声。 本发明也可采用非标准的 JPEG压缩计算噪声, 例如, 如 photoshop中的 JPEG量化。  Calculate the JPEG compression noise step S 1 : Use the standard JPEG compression algorithm with quality factor Q (such as Q=95) to perform JPEG compression on the image to be measured, and obtain a new image and subtract it from the original image to obtain JPEG compression noise. The present invention can also calculate noise using non-standard JPEG compression, such as JPEG quantization in photoshop.
提取高频量化噪声步骤 S2:对待测图像的 JPEG压缩噪声,利用主成份分析 ( PCA ) 的方法, 提取其高频量化噪声。 本发明也可釆用独立成分分析 (ICA ) 方法提取高频 量化噪声。  Extracting high-frequency quantization noise Step S2: JPEG compression noise of the image to be measured, using the principal component analysis (PCA) method to extract its high-frequency quantization noise. The present invention can also extract high frequency quantization noise using an Independent Component Analysis (ICA) method.
后处理步骤 S3 : 对待测图像的高频量化噪声进行归一化处理和形态学操作, 最后 得到定位篡改区域的模板 (二值化的图像, 白色显示篡改区域所在位置) 。  Post-processing step S3: normalization processing and morphological operation of the high-frequency quantization noise of the image to be measured, and finally obtaining a template for locating the tamper region (binarized image, white showing the location of the tampering region).
所述提取高频量化噪声步骤 S2过程如下- 歩骤 S21 : 将待测图像中的每个像素点看作是样本点, 像素点的颜色值(R、 G、 B ) 看作是样本的变量, 构造原始数据集 X。 X是一个 N X 3的矩阵, 其中 N为图像 像素点的个数。 X的每一行表示图像中的一个像素点, 列为像素点所对应的颜色值。。  The process of extracting the high frequency quantization noise step S2 is as follows - step S21: treating each pixel point in the image to be tested as a sample point, and the color value (R, G, B) of the pixel point is regarded as a variable of the sample , construct the original dataset X. X is a matrix of N X 3, where N is the number of pixels in the image. Each row of X represents a pixel in the image, listed as the color value corresponding to the pixel. .
步骤 S22 : 利用主成分分析 (PCA)的方法, 对数据集 X进行重新表达, 得到新的 矩阵 Y, 使得 Y中列向量相互正交。 歩骤 S23 : 提取 Y中的最不重要成分 (方差最小的列), 作为待测图像的高频量化 噪声。 如果待测图像为篡改图像, 则其非篡改区域的高频量化噪声较小几乎为零, 而 篡改区域的高频量化噪声取值较大, 两者之间有明显区别。 Step S22: Using the method of principal component analysis (PCA), the data set X is re-expressed to obtain a new matrix Y such that the column vectors in Y are orthogonal to each other. Step S23: Extracting the least important component in Y (the column with the smallest variance) as the high frequency quantization noise of the image to be tested. If the image to be tested is a tamper image, the high-frequency quantization noise of the non-tamper region is less than zero, and the high-frequency quantization noise of the tamper region is large, and there is a significant difference between the two.
所述的后处理步骤 S3过程如下:  The post-processing step S3 is as follows:
歩骤 S31 : 利用 sigmoid函数, 对待测图像的高频量化噪声进行归一化处理, 得 到归一化后的高频量化噪声。  Step S31: The sigmoid function is used to normalize the high-frequency quantization noise of the image to be measured, and the normalized high-frequency quantization noise is obtained.
歩骤 S32: 对归一化后的高频量化噪声进行形态学操作, 图像的开闭运算, 得到 定位篡改区域的模板。  Step S32: Perform morphological operation on the normalized high-frequency quantization noise, open and close the image, and obtain a template for locating the tamper region.
所述的 JPEG压缩噪声是指将待测图像 JPEG压缩得到的新图像与待测图像相减, 如式 (1 ) 所示。  The JPEG compression noise refers to subtracting a new image obtained by compressing the image to be tested with the image to be tested, as shown in the formula (1).
S = Jpeg(I,Q) -I ( 1 ) 式中 S为待测图像 I的 JPEG压缩噪声, Jpeg()表示 JPEG压缩操作, Q为 JPEG压缩 操作中用到的品质因子。  S = Jpeg(I,Q) -I ( 1 ) where S is the JPEG compression noise of the image I to be tested, Jpeg() is the JPEG compression operation, and Q is the quality factor used in the JPEG compression operation.
所述的利用主成份分析方法, 提取高频量化噪声是指对原始数据集 X (JPEG压 缩噪声)寻找一种最有的线性变换 P,使得 X通过该变换后得到新的数据表达形式 Y, 如式 (2) 所示。 使得 Y中列向量相互正交。  The use of the principal component analysis method to extract high-frequency quantization noise refers to finding a most linear transformation P for the original data set X (JPEG compression noise), so that X obtains a new data expression Y by the transformation. As shown in equation (2). Make the column vectors in Y orthogonal to each other.
Y = PX ( 2) 主成份分析 (PCA) 是模式识别中经典的降维方法, 它会将最不重要的一些成分 (变 量) 舍去, 因为它们对数据分布影响很小。 而本发明却是利用 PCA 得到的最不重要 成分作为高频量化噪声, 进行篡改区域定位。  Y = PX ( 2) Principal Component Analysis (PCA) is a classic dimensionality reduction method in pattern recognition that discriminates the least important components (variables) because they have little effect on the data distribution. However, the present invention uses the least important component obtained by PCA as the high frequency quantization noise to perform tamper region localization.
待测图像高频量化噪声的归一化处理是采用式 (3 ) 中的 sigmoid函数进行的。  The normalization processing of the high-frequency quantization noise of the image to be tested is performed using the sigmoid function in the equation (3).
1  1
P = ] + e-a(t-b) ( 3 ) 其中 a, b为常数, 根据具体情况人为设置 (如 a=3, b为高频量化噪声的均值与其 3 倍标准差之和) 。 t为高频量化噪声, P(t)为归一化后的高频量化噪声。 P = ] + e -a(tb) ( 3 ) where a and b are constants and are artificially set according to the specific situation (eg a=3, b is the sum of the mean value of the high-frequency quantization noise and its 3 standard deviation). t is the high frequency quantization noise, and P(t) is the normalized high frequency quantization noise.
再次参考图 1, 首先对待处理的图像文件, 确定为彩色图像格式后进入本流程。 其次对该图像进行 JPEG压缩, 计算其 JPEG压缩噪声,然后,基于本发明,利用 PCA 提取高频量化噪声, 如图 3所示。 最后, 对高频量化噪声进行归一化处理, 通过形态 学操作得到最终的篡改区域定位模板。  Referring again to FIG. 1, the image file to be processed is first determined to be a color image format and then enters the flow. Secondly, the image is JPEG-compressed, and its JPEG compression noise is calculated. Then, based on the present invention, the high-frequency quantization noise is extracted by using PCA, as shown in FIG. Finally, the high-frequency quantization noise is normalized, and the final tamper-area localization template is obtained through morphological operations.
实施例, 以图 2中的图像为例进行说明。 首先, 对该图像进行 JPEG压缩(压缩因子 Q=95 )得到新图像, 减去原图像得到 JPEG压缩噪声 (图 2b) 。 In the embodiment, the image in FIG. 2 will be described as an example. First, JPEG compression (compression factor Q=95) is performed on the image to obtain a new image, and the original image is subtracted to obtain JPEG compression noise (Fig. 2b).
然后, 利用 PCA得到高频量化噪声 (图 2c) 。 从图中可见, 非篡改区域高频量 化噪声取值较小, 几乎为零; 而篡改区域高频量化噪声较大。 两者之间有明显区别。  Then, the PCA is used to obtain high-frequency quantization noise (Fig. 2c). It can be seen from the figure that the high-frequency quantization noise in the non-tamper region is small, almost zero; and the high-frequency quantization noise in the tamper region is large. There is a clear difference between the two.
其次, 利用 sigmoid函数对高频量化噪声进行归一化处理。 其中 a=3 , b为高频量 化噪声的均值与其 3倍标准差之和。  Secondly, the sigmoid function is used to normalize the high frequency quantization noise. Where a=3, b is the sum of the mean of the high-frequency quantization noise and its standard deviation of 3 times.
最后, 将得到的归一化的高频量化噪声利用形态学操作, 进行图像的开闭运算之 后得到最终的篡改区域定位模板。  Finally, the obtained normalized high-frequency quantization noise is subjected to morphological operation, and the final tamper region positioning template is obtained after the image is opened and closed.
以上所述仅为本发明中的具体实施方式, 但本发明的保护范围并不局限于此。 任 何熟悉该技术的本领域技术人员在本发明所揭露的技术范围内, 可以进行变换或替 换。 所进行的变换和替换都应涵盖在本发明的包含范围之内。 因此, 本发明的保护范 围应该以权利要求书的保护范围为准。  The above description is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Those skilled in the art who are familiar with the technology can make changes or substitutions within the technical scope of the present invention. The transformations and substitutions made are intended to be included within the scope of the invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权 利 要 求 Rights request
1. 一种基于 JPEG压缩噪声的彩色图像篡改区域定位方法, 包括: A color image tampering region localization method based on JPEG compression noise, comprising:
对待测彩色图像进行 JPEG压缩, 得到新图像后与原图像取差得到 JPEG压缩噪 声;  The JPEG compression is performed on the color image to be measured, and a new image is obtained, and the difference between the original image and the original image is obtained to obtain JPEG compression noise;
从 JPEG压缩噪声中提取高频量化噪声, 以区别篡改区域和非篡改区域; 对高频量化噪声进行归一化处理和形态学操作, 最后得到定位篡改区域的模板。 The high-frequency quantization noise is extracted from the JPEG compression noise to distinguish the tamper region from the non-tamper region; the high-frequency quantization noise is normalized and morphologically operated, and finally the template for locating the tamper region is obtained.
2. 根据权利要求 1 所述的方法, 其特征在于非篡改区域的高频量化噪声取值几 乎为零, 而篡改区域的高频量化噪声取值较大。 2. The method according to claim 1, wherein the high frequency quantization noise of the non-tamper region is almost zero, and the high frequency quantization noise of the tamper region is large.
3.根据权利要求 1所述的方法, 其特征在于采用品质因子为 Q的标准 JPEG压缩 算法对待测图像进行 JPEG压缩。  The method according to claim 1, characterized in that the image to be measured is subjected to JPEG compression using a standard JPEG compression algorithm with a quality factor of Q.
4.根据权利要求 1所述的方法,其特征在于采用 photoshop中的 JPEG压缩算法或 其他非标准的 JPEG压缩算法对待测图像进行 JPEG压缩。  The method according to claim 1, characterized in that the image to be measured is JPEG-compressed using a JPEG compression algorithm in photoshop or other non-standard JPEG compression algorithm.
5. 按权利要求 1所述的方法, 所述提取高频量化噪声包括- 构造原始数据集 X;  5. The method of claim 1, the extracting high frequency quantization noise comprising - constructing an original data set X;
求解一个新的矩阵 Y, 使得 Y是 X通过线性变换得到的, 且 Y的列向量相互正 Solve a new matrix Y such that Y is obtained by linear transformation of X, and the column vectors of Y are positive to each other.
、■ , ■
父。 father.
提取 Y中的方差最小的列, 作为待测图像的高频量化噪声。  The column with the smallest variance in Y is extracted as the high-frequency quantization noise of the image to be tested.
6.根据权利要求 5所述的方法, 其特征在于利用主成分分析的方法求解所述新的 矩阵 Y。  6. Method according to claim 5, characterized in that the new matrix Y is solved by means of principal component analysis.
7.根据权利要求 5所述的方法, 其特征在于利用独立成份分析的方法求解所述新 的矩阵 Υ。  7. Method according to claim 5, characterized in that the new matrix 求解 is solved by means of independent component analysis.
8. 按权利要求 1所述的方法,其特征在于所述对高频量化噪声进行归一化处理包 括:  8. The method of claim 1 wherein said normalizing said high frequency quantization noise comprises:
利用 sigmoid函数, 对待测图像的高频量化噪声进行归一化处理。  The sigmoid function is used to normalize the high-frequency quantization noise of the image to be measured.
9. 根据权利要求 8所述的方法,其特征在于对归一化后的高频量化噪声利用形态 学操作, 进行图像的开闭运算, 得到最终的篡改区域定位模板。  9. The method according to claim 8, wherein the normalized high-frequency quantization noise is subjected to a morphological operation, and an image is opened and closed to obtain a final tamper region positioning template.
PCT/CN2011/073434 2011-04-28 2011-04-28 Method for tampered region localization of color images based on jpeg compression noise WO2012145904A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/073434 WO2012145904A1 (en) 2011-04-28 2011-04-28 Method for tampered region localization of color images based on jpeg compression noise

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/073434 WO2012145904A1 (en) 2011-04-28 2011-04-28 Method for tampered region localization of color images based on jpeg compression noise

Publications (1)

Publication Number Publication Date
WO2012145904A1 true WO2012145904A1 (en) 2012-11-01

Family

ID=47071559

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/073434 WO2012145904A1 (en) 2011-04-28 2011-04-28 Method for tampered region localization of color images based on jpeg compression noise

Country Status (1)

Country Link
WO (1) WO2012145904A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1916958A (en) * 2006-07-20 2007-02-21 中山大学 Method of detecting distorts of JPEG image
CN101493938A (en) * 2009-02-27 2009-07-29 西北工业大学 Method for detecting cooked image based on noise distribution discipline
US20090257656A1 (en) * 2008-04-14 2009-10-15 Yun-Qing Shi Detecting Double JPEG Compression in Images

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1916958A (en) * 2006-07-20 2007-02-21 中山大学 Method of detecting distorts of JPEG image
US20090257656A1 (en) * 2008-04-14 2009-10-15 Yun-Qing Shi Detecting Double JPEG Compression in Images
CN101493938A (en) * 2009-02-27 2009-07-29 西北工业大学 Method for detecting cooked image based on noise distribution discipline

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WANG, WEI ET AL.: "Tampered Region Localization of Digital Color Images Based on JPEG Compression Noise", DIGITAL WATERMARKING 9TH INTERNATIONAL WORKSHOP, 2010, pages 120 - 133 *

Similar Documents

Publication Publication Date Title
Kang et al. Copy-move forgery detection in digital image
Swaminathan et al. Digital image forensics via intrinsic fingerprints
Peng et al. A complete passive blind image copy-move forensics scheme based on compound statistics features
US9646358B2 (en) Methods for scene based video watermarking and devices thereof
Fadl et al. Authentication of surveillance videos: detecting frame duplication based on residual frame
Fadl et al. Exposing video inter-frame forgery via histogram of oriented gradients and motion energy image
Samanta et al. Analysis of perceptual hashing algorithms in image manipulation detection
Huo et al. A semi-fragile image watermarking algorithm with two-stage detection
CN110457996B (en) Video moving object tampering evidence obtaining method based on VGG-11 convolutional neural network
WO2013036086A2 (en) Apparatus and method for robust low-complexity video fingerprinting
Siddiqi et al. Image Splicing‐Based Forgery Detection Using Discrete Wavelet Transform and Edge Weighted Local Binary Patterns
Hakimi et al. Image-splicing forgery detection based on improved lbp and k-nearest neighbors algorithm
Dong et al. Color image recognition method based on the prewitt operator
Dixit et al. Copy-move forgery detection exploiting statistical image features
Jaiswal et al. Copy-move forgery detection using shift-invariant SWT and block division mean features
CN114036467A (en) Block chain-based short video copyright protection method
CN111563531A (en) Video tampering detection method, system, storage medium, computer program, and terminal
Jaiswal et al. Forensic image analysis using inconsistent noise pattern
WO2015077946A1 (en) Method for positioning image tampering region based on dct coefficient
Xue et al. JPEG image tampering localization based on normalized gray level co-occurrence matrix
Diwan et al. Visualizing the truth: A survey of multimedia forensic analysis
Ng et al. Blind detection of digital photomontage using higher order statistics
CN102881008B (en) Based on the anti-rotation image Hash method of annulus statistical nature
Chen et al. Identification of image global processing operator chain based on feature decoupling
Patel et al. An improvement of forgery video detection technique using Error Level Analysis

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11864452

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11864452

Country of ref document: EP

Kind code of ref document: A1