can anyone demo me how to do a tamper localization?

1 view (last 30 days)
thank you..

Accepted Answer

Image Analyst
Image Analyst on 28 Nov 2013
What if you simply subtract the image known to be legitimate from the one suspected of being tampered with? (Be sure to cast both to double before subtracting.)

More Answers (1)

Youssef  Khmou
Youssef Khmou on 28 Nov 2013
hi, That is new field to me, let us try to apply what @Image Analyst described as an example :
X=im2double(imread('circuit.tif'));
T=X;T(200:210,150:170)=T(200:210,150:170)+1.2*randn(size(T(200:210,150:170)));
D=abs(T-X);
subplot(1,3,1), imshow(X), title(' original');
subplot(1,3,2), imshow(T), title(' tampered');
subplot(1,3,3), imshow(D), title(' localization')

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!