A Model for I mage Splicing Tian-Tsong Ng, Shih-Fu Chang Department - - PowerPoint PPT Presentation

a model for i mage splicing
SMART_READER_LITE
LIVE PREVIEW

A Model for I mage Splicing Tian-Tsong Ng, Shih-Fu Chang Department - - PowerPoint PPT Presentation

A Model for I mage Splicing Tian-Tsong Ng, Shih-Fu Chang Department of Electrical Engineering Columbia University, New York, USA Outline Review Problem and Motivation Our Approach Definition: Bicoherence Why Bicoherence


slide-1
SLIDE 1

A Model for I mage Splicing

Tian-Tsong Ng, Shih-Fu Chang

Department of Electrical Engineering Columbia University, New York, USA

slide-2
SLIDE 2

Outline

  • Review
  • Problem and Motivation
  • Our Approach
  • Definition: Bicoherence
  • Why Bicoherence good for splicing detection? Previous Hypothesis
  • Bicoherence Features
  • Magnitude feature
  • Phase feature
  • Proposed Image Splicing Model
  • Bipolar Perturbation Hypothesis
  • Bicoherence of bipolar signal
  • Bipolar perturbation effect on magnitude feature
  • Bipolar perturbation effect on phase feature
slide-3
SLIDE 3

Problem & Motivation: How much can we trust digital images?

  • General problem: Image Forgery

Detection

  • Image Forgery: Images with manipulated
  • r fake content
  • (In)Famous examples:
  • March 2003: A Iraq war news photograph
  • n LA Times front page was found to be a

photomontage

  • Feb 2004: A photomontage showing John

Kerry and Jane Fonda together was circulated on the Internet

  • Adobe Photoshop: 5 million registered

users

slide-4
SLIDE 4

Definitions: Photomontage and Spliced Image

  • Specific problem: Image Splicing Detection
  • Photomontage: A paste-up produced by sticking together

photographic images, possibly followed by post-processing (e.g. edge softening and adding noise).

  • Spliced Image (see figures): Splicing of image fragments

without post-processing. A simplest form of photomontage.

  • Why interested in detecting image splicing?
  • Image splicing is a basic and essential operation in the

creation of photomontage

  • Therefore, a comprehensive solution for photomontage

detection includes detection of post-processing operations and intelligent techniques for detecting internal scene inconsistencies

spliced spliced

slide-5
SLIDE 5

Image Forgery Detection Approaches

Passive and blind approach:

  • Without any prior information (e.g.

digital watermark or authentication signature), verifying whether an image is authentic or fake.

  • Advantages: No need for watermark

embedding or signature generation at the source side

Active approach:

  • Fragile/Semi Fragile Digital

Watermarking: Inserting digital watermark at the source side and verifying the mark integrity at the detection side.

  • Authentication Signature:

Extracting image features for generating authentication signature at the source side and verifying the image integrity by signature comparison at the receiver side.

  • Effective when there is

A secure trustworthy

camera

A secure digital

watermarking algorithm

A widely accepted

watermarking standard

slide-6
SLIDE 6

What are the qualities of authentic images?

Image Authenticity

Natural-imaging Quality

Entailed by natural imaging process with real

imaging devices, e.g. camera and scanner

Effects from optical low-pass, sensor noise, lens

distortion, demosicking, nonlinear transformation.

Natural-scene Quality

Entailed by physical light transport in 3D real-

world scene with real-world objects

Results are real-looking texture, right shadow,

right perspective and shading, etc.

Examples:

Computer graphics and photomontages lack in

both qualities.

Computer Graphics photomontage

slide-7
SLIDE 7

Definition: Bicoherence

  • Bicoherence = normalized bispectrum (3rd order moment

spectra)

  • Definition (Bicoherence) The bicoherence of a signal x(t)

with its Fourier transform being X(ω) is given by:

1 2

* ( ( , ) 1 2 1 2 1 2 1 2 2 2 1 2 1 2

[ ( ) ( ) ( )] ( , ) ( , ) [ ( ) ( ) ] [ ( ) ]

j b X X X

E X X X b b e E X X E X

ω ω

ω ω ω ω ω ω ω ω ω ω ω ω

Φ

+ = = +

Magnitude Phase Numerator = Bispectrum Normalized by the Cauchy-Schwartz

Inequality upper bound

2 2 2

Cauchy-Schwartz Inequality Hilbert space, { : is a random variable satisfying [ ] } [ ] [ ] [ ] ( , ) x x E x E xy E x E y x y

Κ = <∞ ≤ ∈ Κ

Notations: ( ) magnitude phase ⋅ = Φ ⋅ =

slide-8
SLIDE 8

Why BIC is Good for Splicing Detection? Hypothesis I [Farid99]

Quadratic Phase Coupling (QPC)

A phenomena where quadratic related frequencies

has the same quadratic relationship

1 2 1 2

, and ω ω ω ω +

1 2 1 2

, and φ φ φ φ +

Phases are quadratic coupled (not independent)!

* 1 2 1 2 1 2 2 2 1 2 1 2

[ ( ) ( ) ( )] ( , ) [ ( ) ( ) ] [ ( ) ]

X X X

E X X X b E X X E X ω ω ω ω ω ω ω ω ω ω + = +

If (ω1 , ω2 , ω1+ω2) are quadratic phase coupled,

1 2 * 1 2 1 2 1 2 1 2 1 2 1 2 1 2

1) [ ( , )] would be 0 [ ( ) ( ) ( )] [ ( )] [ ( )] [ ( )] ( ) 2) ( , ) would be close to unity (imagine X now becomes positive RV) b X X X X X X b ω ω ω ω ω ω ω ω ω ω φ φ φ φ ω ω Φ Φ + =Φ +Φ −Φ + = + − + =

If (ω1 , ω2 , ω1+ω2) have statistically independent phase,

1 2 1 2

1) ( , ) would be 0 due to statistical averaging 2) [ ( , )] would be random b b ω ω ω ω Φ

slide-9
SLIDE 9

Hypothesis I (cont.)

1 1 2 2

( ) cos( ) cos( ) x t t t ω φ ω φ = + + +

1 1 1 1 2 2 2 2 1 2 1 2 1 2 1 2 1 1 2 2

( ) cos(2 2 ) cos(2 2 ) cos(( ) ( )) cos(( ) ( )) cos( ) cos( ) 1 y t t t t t t t ω φ ω φ ω ω φ φ ω ω φ φ ω φ ω φ = + + + + + + + + − + − + + + + +

Argument [Farid99]: Quadratic-linear operation gives rise to QPC and a nonlinear function, in Taylor expansion, contains quadratic-linear term. As splicing is a nonlinear operation, hence bicoherence is good at detecting splicing. Problems:

  • 1. No detailed analysis was given.
  • 2. The quadratic-linear operation here is a point-wise operation, it is not

clear how splicing can be related to a point-wise operation?

2

Quadratic linear Operation ( ) ( ) ( ) y t x t x t = +

slide-10
SLIDE 10

Outline

  • Review
  • Problem and Motivation
  • Our Approach
  • Definition: Bicoherence
  • Why Bicoherence good for splicing? Quadratic Phase Coupling

Hypothesis

  • Bicoherence Features
  • Magnitude feature
  • Phase feature
  • Proposed Image Splicing Model
  • Bipolar Perturbation Hypothesis
  • Bicoherence of bipolar signal
  • Bipolar perturbation effect on magnitude feature
  • Bipolar perturbation effect on phase feature
slide-11
SLIDE 11

Columbia I mage Splicing Detection Evaluation Dataset

  • 933 authentic and 912 spliced image blocks (128x128 pixels)
  • Extracted from
  • Berkeley’s CalPhotos images (contributed by photographers) which

we assume to be authentic

  • Splicing is done by cut-and-paste of arbitrary-shaped objects

and also vertical/horizontal strip.

  • Authentic

Samples

  • Spliced

Textured Smooth Textured Textured Smooth Smooth Textured Smooth

Download URL: http://www.ee.columbia.edu/dvmm/newDownloads.htm

slide-12
SLIDE 12

Definition: Phase Histogram

Phase histogram (normalized)

1 2 2 1 2 1 2 1 2 1 2

1 ( ) 1 { [ ( , )] }, ,..., where 1 { } 1 otherwise 0 2 2 { , | , ; , 0,..., 1} (2 1) (2 1) { | } (2 1) (2 1)

i i i

p b i N N M true m m m m M M M i i N N ω ω π π ω ω ω ω π π φ φ

Ψ = Φ ∈ Ψ =− = Ω= = = = − − + Ψ = ≤ ≤ + +

Strong phase concentration at ±90°

Symmetry Property: For real-

valued signal, bicoherence phase histogram is symmetrical, i.e.,

( ) ( )

i i

p p

Ψ = Ψ

slide-13
SLIDE 13

Bicoherence Features

Definition: Phase feature Definition: Magnitude feature

( )log ( ) where ( ) is phase histogram

P i i i i

f p p p = Ψ Ψ Ψ

1 2

1 2 2 ( , )

1 ( , )

M

f b M

ω ω

ω ω

∈Ω

=

slide-14
SLIDE 14

Additional Results on Bicoherence Features [ISCAS’04]

0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9

Accuracy Mean Average Percision Average Recall

Plain BIC Prediction Residue Plain BIC + Prediction Residue Plain BIC + Edge Prediction Residue + Edge Plain BIC + Prediction Residue + Edge

72% 62%

slide-15
SLIDE 15

Outline

  • Review
  • Problem and Motivation
  • Our Approach
  • Definition: Bicoherence
  • Why Bicoherence good for splicing? Quadratic Phase Coupling

Hypothesis

  • Bicoherence Features
  • Magnitude feature
  • Phase feature
  • Proposed Image Splicing Model
  • Bipolar Perturbation Hypothesis
  • Bicoherence of bipolar signal
  • Bipolar perturbation effect on phase feature
  • Bipolar perturbation effect on magnitude feature
slide-16
SLIDE 16

Hypothesis II: Bipolar perturbation model

Original image signal is relatively smooth due to the

low-pass anti-aliasing operation in camera or scanner.

Spliced image signal can have arbitrary discontinuity

difference Definition (Bipolar signal):

1 2 1 2 1 2

( ) ( ) ( ) ( ) exp( ) exp( ( ) ) where ( ) is a delta function, 0,

  • Fourier

transform

d x k x x k x x D k jx k j x k k δ δ ω ω ω δ = − + − −∆ ⇔ = − + − +∆ ⋅ < ∆>

( ) d x

( ) s x

( ) ( ) ( )

p

s x s x d x = +

( ) ( )

p

s x s x −

k1 k2 ∆ xo

slide-17
SLIDE 17

Bicoherence of Bipolar Signal

Results: Bicoherence phase of bipolar

signal is concentrated at ± 90°:

When there is phase coherency,

bicoherence magnitude is close to unity

[ ]

3 1 2 1 2 1 1 1 2

( ) ( ) ( ) 2 sin( ) sin( ) sin( ( )) D D D k j ω ω ω ω ω ω ω ω

+ = ∆ + ∆ − ∆ +

Resulting in ±90° phase bias

slide-18
SLIDE 18

Bipolar Perturbation Effect on Phase Feature

Bipolar perturbation

( ) ( ) ( ) ( ) ( ) ( )

p p Fourier Transform

s x s x d x S S D ω ω ω = + ⇔ = +

[ ]

1 2 1 2 1 2 1 2 3 1 2 1 1 1 2

( ) ( ) ( ) ( ) ( ) ( ) ( , , , ) 2 sin( ) sin( ) sin( ( ))

p p P

S S S S S S C k k j ω ω ω ω ω ω ω ω ω ω ω ω ω ω

∗ ∗

+ = + + ∆ + ∆ + ∆ − ∆ +

Numerator of the perturbed signal bicoherence: Cross term involves both S(ω) and D(ω), hence we assume that it has no consistent phase across all (ω1, ω2) frequency pair Consistently contributing to the ±90° phase, for every (ω1, ω2) frequency pair. The contribution depends on k, the magnitude of the bipolar

slide-19
SLIDE 19

Empirical Support for Bipolar Perturbation Model

Spliced averaged phase histogram

  • Authentic averaged phase histogram

More Spliced image blocks have large phase feature value Spliced average phase histogram has Significantly greater 90 deg phase bias

slide-20
SLIDE 20

Effect of Bipolar Perturbation on Magnitude Feature

] ) ( ) ( [ ] )] ( ) ( [ )] ( ) ( [ [ )]] ( ) ( [ )] ( ) ( [ )] ( ) ( [ [ ) , (

2 2 1 * 2 1 2 2 2 2 1 1 4 2 1 * 2 1 * 2 2 1 1 3 2 1

ω ω ω ω ω ω ω ω ω ω ω ω ω ω ω ω ω ω + + + + ⋅ + + + + ⋅ + ⋅ + = G k S k E G k S G k S k E G k S G k S G k S k E b

( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ( ))

p p Fourier Transform

S s x s x d x S S D k G k ω ω ω ω ω = + ⇔ = + = + Markov Inequality: [ ( ) ] ( ) p( ) E S S k k ω ω ε ε ≥ ≤

For energy signal (finite power)

( ) lim ( )

k

S p k ω ε

→∞

≥ =

2

( ) S ω <∞

slide-21
SLIDE 21

Effect of Bipolar Perturbation on Magnitude Feature (cont.)

] | ) ( [| ] | )] ( ) ( [| | )] ( ) ( ) ( [ | ) , ( lim

2 2 1 * 2 2 1 2 1 * 2 1 2 1

= ⎟ ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎜ ⎝ ⎛ ≥ + + −

∞ →

ε ω ω ω ω ω ω ω ω ω ω D E D D E D D D E b P

k

( ) lim ( )

k

S p k ω ε

→∞

≥ =

Close to 1, due to phase coherency of bipolar signal More Spliced image blocks have large magnitude feature value

slide-22
SLIDE 22

Conclusions

We propose a bipolar perturbation model for

explaining the effectiveness of bicoherence in detecting image splicing

The prediction of the model matches empirical

  • bservations (90 deg phase bias)

Columbia Dataset for Image Splicing Detection

http:/ / www.ee.columbia.edu/ dvmm/ newDow nloads.htm

Recent related work in using image phase

information for estimating perceptual image blur:

Local phase coherence and the perception of blur

Z Wang and E P Simoncelli. Neural Information Processing Systems, December 2003 (NIPS 2003).

slide-23
SLIDE 23

Thank You

slide-24
SLIDE 24

Proof of Markov Inequality

[ ] 1 ( ) ( ) ( ) ( )

x x

x E x p x p x dx p x dx x p x dx

ε ε

ε ε ε ε

+∞ ≥ ≥ −∞

≥ = ≤ ≤ =

∫ ∫ ∫

slide-25
SLIDE 25

Proof of Cauchy-Schwartz Inequality

2 2 2 2 2 2 2

2 , 0, where is a scalar Note, the above expression is a quadratic polynomial of Then: 4 , 4 , , , tf g t f t f g g t t f g f g f g f g f f g g + = + + ≥ − ≤ ≤ =

slide-26
SLIDE 26

Effect of Bipolar Perturbation on Magnitude Feature

Recall the correlation of bipolar signal:

[ ]

3 1 2 1 2 1 1 1 2

( ) ( ) ( ) 2 sin( ) sin( ) sin( ( )) D D D k j ω ω ω ω ω ω ω ω

+ = ∆ + ∆ − ∆ +

( ) exp( ) exp( ( ) ) exp( )(1 exp( ))

  • D

k jx k j x k jx j ω ω ω ω = − + − +∆ = − − − ∆

In ideal case, if bipolar signal at every segment in the averaging term is identical (having same k, xo and ∆) ….. Then, for every (ω1, ω2) frequency pair:

2 2 * 1 2 1 2 1 2 1 2 1 2 1 2 1 2

[ ( ) ( ) ( )] [ ( ) ( ) ] [ ( ) ] ( ) ( ) ( ) where c=constant ( , ) 1 E D D D E D D E D D D cD b ω ω ω ω ω ω ω ω ω ω ω ω ω ω + = + ⇔ = + ⇒ = Reach Cauchy-Schwartz Inequality Upper Bound Bicoherence magnitude is 1!

slide-27
SLIDE 27

Goal: Image Splicing Detection using Natural-imaging Quality (NIQ)

NIQ: Authentic images comes directly from camera

and have low-pass property due to camera optical anti-aliasing low-pass

Deviations from NIQ: Image splicing introduces

arbitrarily rough edges/discontinuities in image signal

We characterize such NIQ using bicoherence

slide-28
SLIDE 28

Extraction of BIC Features from image

128 128-points DFT (with zero padding and Hanning windowing)

⎟ ⎠ ⎞ ⎜ ⎝ ⎛ + ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ + =

∑ ∑ ∑

k k k k k k k k k

X k X X k X X X k b

2 2 1 2 2 1 2 1 * 2 1 2 1

) ( 1 ) ( ) ( 1 ) ( ) ( ) ( 1 ) , ( ˆ ω ω ω ω ω ω ω ω ω ω

2 2 1 1

( ) ( )

h v

Horizontal Vertical Mi Mi N N i i

M f f = +

∑ ∑

2 2 1 1

( ) ( )

h v

Horizontal Vertical Pi Pi N N i i

P f f = +

∑ ∑

3 4 5 5 6 6

64 Overlapping segments

2 1

Negative Phase Entropy (P) ( )log ( )

P n n n

f p p = Ψ Ψ

2 1 2

1 1 2 ( , )

Magnitude mean, ( , )

M

f b

ω ω

ω ω

∈Ω Ω

=

*

* To reduce noise effect, phase histogram is obtained from the BIC components with magnitude exceeding a threshold

slide-29
SLIDE 29

Bipolar Perturbation Effect on Phase Feature (cont.)

Estimation: The strength of the final ±90° degree phase

bias also depends on

% segments in the averaging term having bipolar

⎟ ⎠ ⎞ ⎜ ⎝ ⎛ + ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ + =

∑ ∑ ∑

k k k k k k k k k

X k X X k X X X k b

2 2 1 2 2 1 2 1 * 2 1 2 1

) ( 1 ) ( ) ( 1 ) ( ) ( ) ( 1 ) , ( ˆ ω ω ω ω ω ω ω ω ω ω