Code covered by the BSD License  

Highlights from
Binary Image Watermarking/Data Hiding: Data, Algorithms, and Distortion Measure

Binary Image Watermarking/Data Hiding: Data, Algorithms, and Distortion Measure

by

 

26 Apr 2012 (Updated )

A package on binary image watermarking/data hiding, including data, algorithms & distortion measure.

noises.m
clear all 

Im0_2 = imread('french-4.tif');
Im_wm=imread(['french-4-wm.tif']);%'french-4-wm.tif');

corrsnoise=zeros(1,10);
changes=zeros(1,10);
variances=0.03:0.03:0.3;
for i=1:10
    [corrsnoise(i),changes(i)]=noiseone(Im0_2,Im_wm,variances(i));
end
plot(variances,corrsnoise);
set(gca,'FontSize',20);
grid on
xlabel('Variance of Gaussian Noise','FontSize',20);
hold on
plot(variances,changes,'--');
h = legend('Detector Response','Percentage of Changed Pixels'); 
set(gca,'FontSize',16);
hold off
print(1,'-dpng','-r90',['NoiseCorrs.png']);
delete(1);

Contact us