function sim  = histogramSimilarity( im1,im2 )
%Takes 2 images as input and returns the scalar value 'sim', the
%quantitative measure of similarity

sim=norm(imhist(im1,256)-imhist(im2,256));