Determining image forensics using gradient statistics at edges
First Claim
Patent Images
1. A process to assess integrity of a digital image comprising:
- detecting an edge in the digital image;
defining a patch of pixels encompassing the edge;
generating data relating to intensity and gradient magnitude for pixels in the patch;
analyzing the data relating to intensity and gradient magnitude; and
determining that the digital image has been forged or the digital image has not been forged based on the analysis of the data relating to intensity and gradient magnitude;
wherein a forged image comprises an alteration of digital content of the digital image;
wherein the generating data relating to intensity and gradient magnitude for the pixels in the patch comprises generating a scatter plot of the intensity versus the gradient magnitude for the pixels in the patch; and
wherein the analyzing the data and the determining that the digital image has been forged or the digital image has not been forged comprises processing the data relating to pixel intensity and gradient magnitude via a machine learning model, and determining from output of the machine learning model that the digital image has been forged or the digital image has not been forged; and
comprising training the machine learning model by;
generating a two-dimensional histogram from the scatter plot, processing data from the two-dimensional histogram via a support vector machine (SVM), and determining from the SVM that the digital image has been forged or the digital image has not been forged;
gathering a plurality of two-dimensional histograms;
generating a first set of forged training data by accumulating data from the two-dimensional histograms wherein the two-dimensional histograms include a symmetric arch, and wherein a gradient magnitude from low intensity to middle intensity and a gradient magnitude from middle intensity to high intensity are substantially the same;
generating a second set of authentic training data by accumulating data from the two-dimensional histograms wherein the two-dimensional histograms include a skewed asymmetric arch, and wherein the gradient magnitude from low intensity to middle intensity and the gradient magnitude from middle intensity to high intensity are not substantially the same; and
training a forgery detection model using the first set of forged training data and the second set of authentic training data.
2 Assignments
0 Petitions
Accused Products
Abstract
A system assesses the integrity of a digital image by detecting an edge in the digital image and defining a patch of pixels encompassing the edge. The system then generates data relating to intensity and gradient magnitude for pixels in the patch, analyzes the data relating to intensity and gradient magnitude, and determines that the digital image has been forged or the digital image has not been forged based on the analysis of the data relating to intensity and gradient magnitude.
-
Citations
15 Claims
-
1. A process to assess integrity of a digital image comprising:
-
detecting an edge in the digital image; defining a patch of pixels encompassing the edge; generating data relating to intensity and gradient magnitude for pixels in the patch; analyzing the data relating to intensity and gradient magnitude; and determining that the digital image has been forged or the digital image has not been forged based on the analysis of the data relating to intensity and gradient magnitude; wherein a forged image comprises an alteration of digital content of the digital image; wherein the generating data relating to intensity and gradient magnitude for the pixels in the patch comprises generating a scatter plot of the intensity versus the gradient magnitude for the pixels in the patch; and wherein the analyzing the data and the determining that the digital image has been forged or the digital image has not been forged comprises processing the data relating to pixel intensity and gradient magnitude via a machine learning model, and determining from output of the machine learning model that the digital image has been forged or the digital image has not been forged; and
comprising training the machine learning model by;generating a two-dimensional histogram from the scatter plot, processing data from the two-dimensional histogram via a support vector machine (SVM), and determining from the SVM that the digital image has been forged or the digital image has not been forged; gathering a plurality of two-dimensional histograms; generating a first set of forged training data by accumulating data from the two-dimensional histograms wherein the two-dimensional histograms include a symmetric arch, and wherein a gradient magnitude from low intensity to middle intensity and a gradient magnitude from middle intensity to high intensity are substantially the same; generating a second set of authentic training data by accumulating data from the two-dimensional histograms wherein the two-dimensional histograms include a skewed asymmetric arch, and wherein the gradient magnitude from low intensity to middle intensity and the gradient magnitude from middle intensity to high intensity are not substantially the same; and training a forgery detection model using the first set of forged training data and the second set of authentic training data. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A system comprising:
-
a computer processor and a computer storage device configured for; detecting an edge in the digital image; defining a patch of pixels encompassing the edge; generating data relating to intensity and gradient magnitude for pixels in the patch; analyzing the data relating to intensity and gradient magnitude; and determining that the digital image has been forged or the digital image has not been forged based on the analysis of the data relating to intensity and gradient magnitude; wherein a forged image comprises an alteration of digital content of the digital image; wherein the generating data relating to intensity and gradient magnitude for the pixels in the patch comprises generating a scatter plot of the intensity versus the gradient magnitude for the pixels in the patch; and wherein the analyzing the data and the determining that the digital image has been forged or the digital image has not been forged comprises processing the data relating to pixel intensity and gradient magnitude via a machine learning model and determining from output of the machine learning model that the digital image has been forged or the digital image has not been forged; and
comprising training the machine learning model by;generating a two-dimensional histogram from the scatter plot, processing data from the two-dimensional histogram via a support vector machine (SVM), and determining from the SVM that the digital image has been forged or the digital image has not been forged; gathering a plurality of two-dimensional histograms; generating a first set of forged training data by accumulating data from the two-dimensional histograms wherein the two-dimensional histograms include a symmetric arch, and wherein a gradient magnitude from low intensity to middle intensity and a gradient magnitude from middle intensity to high intensity are substantially the same; generating a second set of authentic training data by accumulating data from the two-dimensional histograms wherein the two-dimensional histograms include a skewed asymmetric arch, and wherein the gradient magnitude from low intensity to middle intensity and the gradient magnitude from middle intensity to high intensity are not substantially the same; and training a forgery detection model using the first set of forged training data and the second set of authentic training data.
-
-
15. A non-transitory computer readable medium comprising instructions that when executed by a processor execute a process comprising:
-
detecting an edge in the digital image; defining a patch of pixels encompassing the edge; generating data relating to intensity and gradient magnitude for pixels in the patch; analyzing the data relating to intensity and gradient magnitude; and determining that the digital image has been forged or the digital image has not been forged based on the analysis of the data relating to intensity and gradient magnitude; wherein a forged image comprises an alteration of digital content of the digital image; wherein the generating data relating to intensity and gradient magnitude for the pixels in the patch comprises generating a scatter plot of the intensity versus the gradient magnitude for the pixels in the patch; and wherein the analyzing the data and the determining that the digital image has been forged or the digital image has not been forged comprises processing the data relating to pixel intensity and gradient magnitude via a machine learning model and determining from output of the machine learning model that the digital image has been forged or the digital image has not been forged; and
comprising training the machine learning model by;generating a two-dimensional histogram from the scatter plot, processing data from the two-dimensional histogram via a support vector machine (SVM), and determining from the SVM that the digital image has been forged or the digital image has not been forged; gathering a plurality of two-dimensional histograms; generating a first set of forged training data by accumulating data from the two-dimensional histograms wherein the two-dimensional histograms include a symmetric arch, and wherein a gradient magnitude from low intensity to middle intensity and a gradient magnitude from middle intensity to high intensity are substantially the same; generating a second set of authentic training data by accumulating data from the two-dimensional histograms wherein the two-dimensional histograms include a skewed asymmetric arch, and wherein the gradient magnitude from low intensity to middle intensity and the gradient magnitude from middle intensity to high intensity are not substantially the same; and training a forgery detection model using the first set of forged training data and the second set of authentic training data.
-
Specification