% CIS 601 Computer Graphics and Image Processing
% Homework 2                    Spring 2007
% Riu Baring
% ==============================================
% histogramSimilarity function
% ==============================================

function [sim] = histogramSimilarity(img1, img2)
sim = norm(imhist(img1) - imhist(img2));