Library of image comparison algorithms