Spherical Harmonic Transforms and Convolutions on the GPU

Abstract We present implementations of the spherical harmonic forward and inverse transforms on the GPU using CUDA. We implement two algorithms for the SH transform: the direct method and the semi-naive. Our direct method has low storage requirements due to our on-the-fly computation of the associated Legendre functions, and it can perform large transform sizes and non-power-of-two sizes. Our semi-naive implementation is faster than state-of-the-art CPU implementations by a factor of between five and six, depending on the transform size. We target our implementations at spherical panoramic image processing where a large number of basis functions are required. We apply our tool to decompose panoramic images into an overcomplete spherical wavelet model for spherical convolution. We present timings, errors, and application examples of our implementations.

[1]  K. Gorski,et al.  HEALPix: A Framework for High-Resolution Discretization and Fast Analysis of Data Distributed on the Sphere , 2004, astro-ph/0409513.

[2]  P. Swarztrauber,et al.  SPHEREPACK 3.0: A Model Development Facility , 1999 .

[3]  Robin Green,et al.  Spherical Harmonic Lighting: The Gritty Details , 2003 .

[4]  Satoshi Matsuoka,et al.  Bandwidth intensive 3-D FFT kernel for GPUs using CUDA , 2008, 2008 SC - International Conference for High Performance Computing, Networking, Storage and Analysis.

[5]  Martin J. Mohlenkamp A fast transform for spherical harmonics , 1997 .

[6]  K. Shadan,et al.  Available online: , 2012 .

[7]  Pat Hanrahan,et al.  Frequency space environment map rendering , 2002, SIGGRAPH.

[8]  Volker Schönefeld Spherical Harmonics , 2019, An Introduction to Radio Astronomy.

[9]  W. Marsden I and J , 2012 .

[10]  Stefan Kunis,et al.  Using NFFT 3---A Software Library for Various Nonequispaced Fast Fourier Transforms , 2009, TOMS.

[11]  M. Vetterli,et al.  Simple FFT and DCT algorithms with reduced number of operations , 1984 .

[12]  D. Healy,et al.  Computing Fourier Transforms and Convolutions on the 2-Sphere , 1994 .

[13]  Christopher Jekeli,et al.  On the computation and approximation of ultra-high-degree spherical harmonic series , 2007 .

[14]  Naga K. Govindaraju,et al.  High performance discrete Fourier transforms on graphics processors , 2008, 2008 SC - International Conference for High Performance Computing, Networking, Storage and Analysis.

[15]  Reiji Suda,et al.  A fast spherical harmonics transform algorithm , 2002, Math. Comput..

[16]  B. T. Thomas Yeo,et al.  On the Construction of Invertible Filter Banks on the 2-Sphere , 2008, IEEE Transactions on Image Processing.

[17]  Sean S. B. Moore,et al.  FFTs for the 2-Sphere-Improvements and Variations , 1996 .