|
|
Algorithm 3. PSWFs-based steerable PCA. |
|
Required: PSWFs expansion coefficients of M images
for (N, n) ∈ ΩT and a bandlimit c.
Precomputation: Evaluate the PSWFs
,
and their eigenvalues
for (N, n) ∈ ΩT according to [31].
Compute the expansion coefficients of the mean image for
for n = 0, …, n0 where n0 is the largest index n such that (0, n) ∈ ΩT.
Update
.
Compute the eigenvalues λ̂1, …, λ̂|ΩT| and eigenvectors ĝ1, …, ĝ|ΩT| of the matrix C (from (30)) by diagonalizing each of its blocks separately.
Compute the sampled basis functions
, where nℓ stands for the largest index n such that (Nℓ, n) ∈ ΩT, and
are the entries of the eigenvector ĝℓ corresponding to the pair (Nℓ, n).
Compute the coefficients of Im in the steerable-PCA basis by
.
|
|