Skip to main content
. Author manuscript; available in PMC: 2017 Oct 27.
Published in final edited form as: SIAM J Imaging Sci. 2017 Apr 13;10(2):508–534. doi: 10.1137/16M1085334

Algorithm 3. PSWFs-based steerable PCA.

  1. Required: PSWFs expansion coefficients of M images {a^N,nm}m=0M1 for (N, n) ∈ ΩT and a bandlimit c.

  2. Precomputation: Evaluate the PSWFs ψN,nc(kL), kLD and their eigenvalues αN,nc for (N, n) ∈ ΩT according to [31].

  3. Compute the expansion coefficients of the mean image for μ^0,n=1Mm=0M1a^0,nm for n = 0, …, n0 where n0 is the largest index n such that (0, n) ∈ ΩT.

  4. Update a^0,nma^0,nmμ^0,n.

  5. Compute the eigenvalues λ̂1, …, λ̂T| and eigenvectors ĝ1, …, ĝT| of the matrix C (from (30)) by diagonalizing each of its blocks separately.

  6. Compute the sampled basis functions g(kL)=n=0ng^N,nψN,n(kL), where n stands for the largest index n such that (N, n) ∈ ΩT, and g^N,n are the entries of the eigenvector ĝ corresponding to the pair (N, n).

  7. Compute the coefficients of Im in the steerable-PCA basis by c,m=n=0na^N,nm(g^N,n).