Normalised cross correlation

Stéfan van der Walt stefan at sun.ac.za
Tue Mar 27 01:04:41 EDT 2012


On Mon, Mar 26, 2012 at 6:36 PM, Tony Yu <tsyu80 at gmail.com> wrote:
> Thanks for checking. What do you mean by "correct position in the
> correlation"?

It looked like you took the result of np.correlate, and then
normalized those coefficients.  I wasn't sure (didn't verify) whether
the normalization was computed for the correct position in the
np.correlate result.

> Hmm, I was under the impression that half-template matches would be
> appropriately penalized.

That explanation seems reasonable--such behaviour seems totally sane.

Stéfan



More information about the scikit-image mailing list