1 exposing digital forgeries in color array interpolated images presented by: ariel hutterer final...

62
1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy ,2001 My eye

Upload: oswin-thomas

Post on 20-Jan-2016

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

1

Exposing Digital Forgeries in Color Array Interpolated

Images

Presented by:Ariel Hutterer

Final Fantasy ,2001

My eye

Page 2: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

2

References Alin C.Popescu and Hany Farid:

Exposing Digital Forgeries in Color Filter Array Interpolated Images.

Yizhen Huang: Can Digital Forgery Detection Unevadable?

A Case Study : Color Filter Array Interpolation Statistical Feature Recovery.

Hagit El Or Demosaicing.

Page 3: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

3

Outline Introduction Digital Cameras Interpolations Detecting CFA Interpolation Results Crack Methods Computer Graphics

Page 4: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

4

Introduction- forgeries Low cost: cameras ,photo editing software. Images can be manipulated easily. Splicing.

Page 5: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

5

Introduction- forgeries Images have a huge impact in public

opinion. Legal world. Scientific evidence.

Page 6: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

6

Introduction - preventing forgeries approaches Two principal approaches to prevent forgeries:

Digital watermarking: Means that image can be authenticated. Drawbacks:

Specially equipped digital cameras ,that insert the watermark. Assume that watermark cannot be easily removed and

reinserted. (but ….it is???) Statistic analysis:

Most color digital cameras , introduces specific correlation: A third of the image are captured by a sensor. Two thirds of the image are interpolated.

Images manipulated must alter this specific statistic.

Page 7: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

7

Outline Introduction Digital Cameras Interpolations Detecting CFA Interpolation Results Crack Methods Computer Graphics

Page 8: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

8

Digital Cameras Most Color digital Cameras have a single

monochrome Array of sensors

Page 9: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

9

Digital Cameras How does color form with monochrome

sensor for each pixel?

Page 10: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

10

Digital Cameras-Bayer Color Array Half pixels are Green ,quarter are Red and

quarter are Blue

Page 11: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

11

Digital Cameras-Bayer Color Array Several possible

arranges

BayerDiagonal

Bayer Diagonal Striped

Psudo-randomBayer

Page 12: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

12

Digital cameras - forming color

Page 13: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

13

Digital cameras - forming color

Page 14: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

14

Digital cameras - forming color

Interpolation

Page 15: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

15

Digital cameras - forming color Bayer Array For almost

all Digital Cameras

Color Interpolation different for each make of Digital Camera

Interpolation

Page 16: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

16

Outline Introduction Digital Cameras Interpolations Detecting CFA Interpolation Results Crack Methods Computer Graphics

Page 17: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

17

Interpolations Naive – per channel interpolation

Nearest neighbor ,Bilinear interpolation Inter-channel dependencies and

correlations – Reconstruct G channel, then reconstruct R & B

based on G. Reconstruct all 3 channels constrained with inter-channel dependence.

Adaptive reconstruction – Measure local image variations (e.g. edges,

gradients, business) and reconstruct accordingly.

Page 18: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

18

Interpolations - Aliasing

R R R R

R R R R

R R R R

G G G

G G G G

G G G

G G G G

G G G

G G G G

B B B

B B B

B B B

R R R R R R R

R R R R R R R

R R R R R R R

R R R R R R R

R R R R R R R

R R R R R R R

G G G G G G G

G G G G G G G

G G G G G G G

G G G G G G G

G G G G G G G

G G G G G G G

B B B B B B B

B B B B B B B

B B B B B B B

B B B B B B B

B B B B B B B

B B B B B B B

Interpolate

Page 19: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

19

Interpolations - Aliasing

R R R R

R R R R

R R R R

G G G

G G G G

G G G

G G G G

G G G

G G G G

B B B

B B B

B B B

R R R R R R R

R R R R R R R

R R R R R R R

R R R R R R R

R R R R R R R

R R R R R R R

G G G G G G G

G G G G G G G

G G G G G G G

G G G G G G G

G G G G G G G

G G G G G G G

B B B B B B B

B B B B B B B

B B B B B B B

B B B B B B B

B B B B B B B

B B B B B B B

Interpolate

Result

Page 20: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

20

Interpolations - Samples

Page 21: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

21

Interpolation-Bilinear Bicubic Red and Blue Kernels:

Separable 1-D filters

Rw

Rw = ½(Rnw+Rsw)

Page 22: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

22

Interpolation-Bilinear Bicubic Green kernels

2-D filters:

Page 23: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

23

Interpolation- Gradient Based First, calculate Green channel:

Calculate derivates estimators

Determination of Green’s values

Page 24: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

24

Interpolation – Evaluation Tools

Page 25: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

25

Interpolation -Results

Original Linear Kimmel

Page 26: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

26

Outline Introduction Digital Cameras Interpolations Detecting CFA Interpolation Results Cracks Methods Computers Graphics

Page 27: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

27

Detecting CFA Interpolation In Each pixel only one color derives from

the sensor ,two others derive from interpolation from their neighbors .

The correlation are periodic. Tampering will destroy these correlations. Splicing together two images from

different cameras will create inconsistent correlations across the composite image.

Page 28: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

28

Detecting CFA Interpolation Two different tools:

EM algorithm : Produce Map of Probabilities and interpolation

coefficients Used to detect kind of interpolation

Farid’s Indicator: Produce Map of Similarities Used to quantify the similarity to CFA Interpolated

Image

Page 29: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

29

EM Algorithm (Expectation/Maximization): Two possible models:

M1:the sample is linearly correlated to its neighbors

M2:the sample is not correlated to its neighbors

Page 30: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

30

EM Algorithm (Expectation/Maximization):

f(x,y) – color channel alpha - parameters ,where(0,0) = 0. denotes

the specific correlation. n - independent and identically samples

drawn from a Gaussian distribution, with 0 mean and unknown variance

Page 31: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

31

EM Algorithm (Expectation/Maximization): Two-step iterative algorithm:

E-step : calculate the probability of each sample M-step: the specific form of the correlation is

estimated. Based in Bayes rule:

Page 32: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

32

Farid’s indicator The similarity between the probability and a

synthetic map is obtained by:

Where:

Similarity measure is phase insensitive

Page 33: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

33

Farid’s indicator How to use it:

CFA-Interpolated : if at least one channel is greater than threshold1

Non CFA Interpolated: if all 3 channels are smaller than threshold2

Ind(cfa-sf)

CFA InterpolatedNon CFA Interpolated Unknown

threshold2 threshold1

result

Page 34: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

34

Huang indicator Motivation: Farid’s Indicator is proportional

to image size. Table of Green Channel Indicator

Huang Indicator:

Indicator function

32x32 128x128 256x256 512x512

Farid 140 2303 9419 52361

Huang 2.70 2.70 2.84 4.31

Page 35: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

35

Outline Introduction Digital Cameras Interpolations Detecting CFA Interpolation Results Cracks Methods Computers Graphics

Page 36: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

36

Results Detecting different interpolation methods Detecting tampering Measuring Sensitivity and robustness

Page 37: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

37

Detecting different interpolation methods Hundreds of images from 2 digital

cameras Blur 3x3 Down sampled Cropped Resample in CFA Interpolations

Page 38: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

38

Detecting different interpolation methods

Page 39: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

39

Detecting different interpolation methods

Page 40: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

40

Detecting different interpolation methods

Page 41: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

41

Detecting different interpolation methods

Page 42: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

42

Detecting different interpolation methods Coefficients are 8 to each color so we are

a 24-D vector ,LDA classifier ,results: 97% Interpolations kinds was detected

2D projection of LDA

Page 43: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

43

Detecting tampering Hiding the damage of the car

Air-brushing ,smudging ,blurring and duplication

Page 44: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

44

Detecting tampering Result:

Left F(p) : for tampered portion Right F(p) : for unadulterated portion

Page 45: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

45

Measuring Sensitivity and robustness

remember

False 0% Median 5x5

97

Bilinear 100% Gradient based

100%

Bicubic 100% Adaptive color plane

97%

Median 3x3

99 Variable number of gradients

100%

Testing different interpolations with Farid’s indicator

Page 46: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

46

Measuring Sensitivity and robustness Testing influence of jpeg

Page 47: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

47

Measuring Sensitivity and robustness Testing influence of Gaussian Noise

Page 48: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

48

Outline Introduction Digital Cameras Interpolations Detecting CFA Interpolation Results Crack Methods Computer Graphics

Page 49: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

49

Cracking What’s a “true digital image” General Model

Page 50: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

50

True digital image It was taken by a CCD/CMOS digital

camera, or other device with similar function and remains intact after shooting except for embedding ownership and other routinely added information.

Page 51: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

51

General Model where:

W all images S all possible images tacked by an ideal

camera c. N are S enlarged because of noise.

Detection method: Pm(I), a projection of Image I I is true when: I is Artificially CFA-interpolated

Page 52: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

52

General Model The result image should be as close as

possible to the original The mean of the difference to an ideally

CFA interpolated image should be controlled in a specific range.

Such difference should be distributed averagely.

Page 53: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

53

General Model Im: Tampered Image Im’: cracked Image Int(I) : Ideal Interpolated

Dif(Im,Im’) Dif(Im’,Int(Im’))

K2

K1

Dif(Im,Im’,Int(Im’))

Page 54: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

54

General Model We are looking for We want to minimize the 3d distance:

Page 55: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

55

Outline Introduction Digital Cameras Interpolations Detecting CFA Interpolation Results Crack Methods Computer Graphics

Page 56: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

56

Computer Graphic A naïve approach:

Computer Graphic will be detected like non CFA-Interpolated.

Page 57: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

57

Computer Graphics Huge improvement of dedicated hardware

in the last 7 years SGI:Onyx2 ,Infinity reality 3(2000) :

12 bits * 4 channels No shaders End User license ,250,000$

Pc d/core, geforce 8(2006): 32 bits * 4 channels Shaders w/24 parallels pipes 1,500-5,000$

Page 58: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

58

Computer Graphics 2001,Final fantasy ,first Film made with

PC.

Page 59: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

59

Computer Graphics See cg not like an Image, see it like

REALITY.

Render Reality high resolution ,by 32bits for each color

Optical distortions, ghost and blurring

Sensor CFA sampling and noise

Interpolation

Image

Page 60: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

60

Computer Graphics From Image Forgeries to Science Fiction

Image forgeries are a “positive issue“ for development of: Simulators. Trainers. Robots………

Page 61: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

61

Computer Graphics From Image Forgeries to Science Fiction

Page 62: 1 Exposing Digital Forgeries in Color Array Interpolated Images Presented by: Ariel Hutterer Final Fantasy,2001My eye

62

Conclusion Detection CFA-Interpolated methods are

not enough robust. Compression like jpeg destroy the

interpolation correlation. Interpolation can be artificially made.

The End