Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

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

shaira ain

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

Image Analyst
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

Youssef  KHMOU

Contact us