can anyone demo me how to do a tamper localization?

 Akzeptierte Antwort

Image Analyst
Image Analyst am 28 Nov. 2013

0 Stimmen

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.)

Weitere Antworten (1)

Youssef  Khmou
Youssef Khmou am 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!

Translated by