A Model for I mage Splicing
Tian-Tsong Ng, Shih-Fu Chang
Department of Electrical Engineering Columbia University, New York, USA
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
Department of Electrical Engineering Columbia University, New York, USA
Detection
photomontage
Kerry and Jane Fonda together was circulated on the Internet
users
photographic images, possibly followed by post-processing (e.g. edge softening and adding noise).
without post-processing. A simplest form of photomontage.
creation of photomontage
detection includes detection of post-processing operations and intelligent techniques for detecting internal scene inconsistencies
spliced spliced
Passive and blind approach:
digital watermark or authentication signature), verifying whether an image is authentic or fake.
embedding or signature generation at the source side
Active approach:
Watermarking: Inserting digital watermark at the source side and verifying the mark integrity at the detection side.
Extracting image features for generating authentication signature at the source side and verifying the image integrity by signature comparison at the receiver side.
A secure trustworthy
camera
A secure digital
watermarking algorithm
A widely accepted
watermarking standard
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
spectra)
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
∗
Κ = <∞ ≤ ∈ Κ
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 ω ω ω ω Φ
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:
clear how splicing can be related to a point-wise operation?
2
Quadratic linear Operation ( ) ( ) ( ) y t x t x t = +
Hypothesis
we assume to be authentic
and also vertical/horizontal strip.
Samples
Textured Smooth Textured Textured Smooth Smooth Textured Smooth
Download URL: http://www.ee.columbia.edu/dvmm/newDownloads.htm
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
−
Definition: Phase feature Definition: Magnitude feature
P i i i i
1 2
1 2 2 ( , )
M
ω ω
∈Ω
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%
Hypothesis
Original image signal is relatively smooth due to the
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,
transform
d x k x x k x x D k jx k j x k k δ δ ω ω ω δ = − + − −∆ ⇔ = − + − +∆ ⋅ < ∆>
( ) ( ) ( )
p
s x s x d x = +
p
k1 k2 ∆ xo
Results: Bicoherence phase of bipolar
When there is phase coherency,
3 1 2 1 2 1 1 1 2
( ) ( ) ( ) 2 sin( ) sin( ) sin( ( )) D D D k j ω ω ω ω ω ω ω ω
∗
+ = ∆ + ∆ − ∆ +
Resulting in ±90° phase bias
Bipolar perturbation
p p Fourier Transform
1 2 1 2 1 2 1 2 3 1 2 1 1 1 2
p p P
∗ ∗
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
Spliced averaged phase histogram
More Spliced image blocks have large phase feature value Spliced average phase histogram has Significantly greater 90 deg phase bias
] ) ( ) ( [ ] )] ( ) ( [ )] ( ) ( [ [ )]] ( ) ( [ )] ( ) ( [ )] ( ) ( [ [ ) , (
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)
k
→∞
2
] | ) ( [| ] | )] ( ) ( [| | )] ( ) ( ) ( [ | ) , ( 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
We propose a bipolar perturbation model for
The prediction of the model matches empirical
Columbia Dataset for Image Splicing Detection
Recent related work in using image phase
Local phase coherence and the perception of blur
Z Wang and E P Simoncelli. Neural Information Processing Systems, December 2003 (NIPS 2003).
x x
ε ε
+∞ ≥ ≥ −∞
2 2 2 2 2 2 2
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( ))
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!
NIQ: Authentic images comes directly from camera
Deviations from NIQ: Image splicing introduces
We characterize such NIQ using bicoherence
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 = +
64 Overlapping segments
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
Estimation: The strength of the final ±90° degree phase
% 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 ) , ( ˆ ω ω ω ω ω ω ω ω ω ω