From 9f5a6fddbfe21c9d3ba4bb4caa8310c44967e9b5 Mon Sep 17 00:00:00 2001 From: Geoffrey French Date: Mon, 1 Sep 2014 22:46:12 +0100 Subject: [PATCH] Fixed comment in plot_windowed_histogram. --- doc/examples/plot_windowed_histogram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/examples/plot_windowed_histogram.py b/doc/examples/plot_windowed_histogram.py index 6d8f9ed0..73cf82a7 100644 --- a/doc/examples/plot_windowed_histogram.py +++ b/doc/examples/plot_windowed_histogram.py @@ -37,7 +37,7 @@ def windowed_histogram_similarity(image, selem, reference_hist, n_bins): # arithmetic operations with the windowed histograms fro the image reference_hist = reference_hist.reshape((1,1) + reference_hist.shape) - # Compute Chi squared distance metric: sum((X-Y)**2 / (X+Y); + # Compute Chi squared distance metric: sum((X-Y)^2 / (X+Y)); # a measure of distance between histograms X = px_histograms Y = reference_hist