what is the result of phase correlation mentioned in wikipedia
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Any one tried phase correlation for images mentioned in wikipedia? https://en.wikipedia.org/wiki/Phase_correlation
At the site it is given translation of (30,33). I am getting a translation of (24,21). Anybody got same results?
0 comentarios
Respuestas (1)
Walter Roberson
el 23 de Sept. de 2016
Difficult to say without seeing your code.
I speculate, though, that you might not know that in MATLAB, the x coordinate corresponds to columns (second index) and the y coordinate corresponds to rows (first index), so you might be indexing into the wrong vectors to determine the values.
But that is just speculation. Maybe you used / where you needed ./ . Maybe you are suffering from integer arithmetic saturation due to the way calculations on uint8 work. Maybe something else. The Magic 8 Ball says "Situation is hazy, try again later"
2 comentarios
Deming Peng
el 29 de Jul. de 2020
Editada: Walter Roberson
el 6 de Ag. de 2020
May I ask - what does this part mean after you've got the 'x' and 'y' :
x = x-ceil(Nx / 2)
y = y-ceil(Nx / 2)
And I noticed that the operation of these two lines of codes will always result in 'x=1,y=1'.
I suppose it is because the 'rmax' seems always at the centre of the 'result' matrix, just one pixel bigger than
Nx/2 and Ny/2. So I'm a bit confused about the shift it shows here and hope that we can discuss more on it soon. Thank u!
Ver también
Categorías
Más información sobre Image Processing Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!