Code covered by the BSD License  

Highlights from
Watermarking GUI using 3rd level DWT

image thumbnail
from Watermarking GUI using 3rd level DWT by shivangi patel
The GUI embeds and extracts watermark image to cover image in frequency domain using 3rd level DWT.

MSE( pic1,pic2 )
function [ out ] = MSE( pic1,pic2 )
%UNTITLED Summary of this function goes here
%   Detailed explanation goes here
e=0;
[m n]=size(pic1);

for i=1:m
    for j=1:n
        e=e+double((pic1(i,j)-pic2(i,j))^2);
    end
end
out=e/(m*n);
end

Contact us