function dist = imageDistance(original, current)
%calculate difference between two images

%diff = (current .* current) - (original .* original);
%multiply original with current picture, to compensate for the black
%borders

diff = original - current;
dist = mean(mean(diff .^ 2));


