MATLAB Answers

shaira ain

can anyone demo me how to do a tamper localization?

Asked by shaira ain
on 28 Nov 2013
Latest activity Answered by Youssef Khmou
on 28 Nov 2013

thank you..

  0 Comments

2 Answers

Answer by Image Analyst
on 28 Nov 2013
 Accepted answer

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

  0 Comments


Answer by 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')

  0 Comments


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today