Comparing images using joint histograms
Theory of edge detection