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 2. Evaluating PSWFs expansion coefficients (efficient method).

  1. Required: An image {I(kL)} sampled on a Cartesian grid of size (2L + 1) × (2L + 1) with kL∈Q, and Q = [−1, 1] × [−1, 1].

  2. Precomputation:
    1. Choose a bandlimit c (≤ πL) and a truncation parameter T.
    2. Choose the number of radial nodes 𝒩r and angular Nθℓ nodes for 1 ≤ ℓ < 𝒩r (according to (18) and (19) or similar relaxed conditions).
    3. Compute the quadrature nodes ωℓ,j2c=(rωℓ,θωℓ,j) and weights for Wℓ,j2c for ℓ = 1, …, 𝒩r and j=1,…,Nθℓ, as described in [31].
    4. Evaluate the radial part of the PSWFs RN,nc(r) at the radial quadrature nodes for rωℓ (N, n) ∈ ΩT (see (8)).
  3. Compute ϕc(ωℓ,j2c) from (14) by NFFT.

  4. For (N, n) ∈ ΩT, compute the expansion coefficients ãN,n via equations (26) and (27).