pyimreg / python-register

Linear and non-linear image registration methods, using scipy and numpy.
Other
62 stars 34 forks source link

Phase correlation metric #15

Open riaanvddool opened 13 years ago

riaanvddool commented 13 years ago

I would like to add phase correlation as a metric because it would be useful in the presence of intensity mismatches.

http://en.wikipedia.org/wiki/Phase_correlation

The phase correlation result consists of a correlation coefficient and a (x,y) offset.

I am thinking the error measure should be proportional to the correlation coefficient but inversely proportional to the distance sqrt(x^2 + y^2).

So error = (corr coeff) / sqrt(x^2 + y^2) ?

nfaggian commented 13 years ago

We should have a few more metrics in general - not very sure how we could easily do this but I would also like to add:

cross-correlation mutual information

Need to sort out the maths.