> The computation itself should be easy, simply FFT both histograms - remember this results in complex answers - don't throw away the phase, do complex arithmetic for the next phase which is > > multiply the spectrum of one histogram by the complex conjugate of the second spectrum (remember to .* not *) then find the real part of the inverse transform of the product. > > Look at this resulting vector, and hopefully you should find a peak value corresponding to the relative rotation angle between the two images. If you do, come back and we will discuss the zero packing to get better angular resolution, if not then we need to see the type of image you are working with. > > Regards > > Dave Robinson
bro, i face some error at the times there...
this is the error code i get ??? Error using ==> times Matrix dimensions must agree.
and this is the code currently..which do until the .* you teach me..