In particular, for spherical images, the Fourier space consists harmonics on the double sphere. The coefficients of harmonics for a single sphere form a triangle as they are indexed by two numbers. An image wrapped on a sphere and sample harmonics are shown in the Figure above. A pure rotation between images can be recovered by computing the spherical harmonics of the two images and performing an outer product. This yields a pyramid of coefficients of a function on the rotation space SO(3). The maximum of this function (obtained using an inverse Fourier transform in SO(3) space) gives the required rotation. The pyramid of SO(3) Fourier coefficients is shown below.

Harmonics for order l=3, and degree m=0,1,2