Description Usage Arguments Functions Examples
A radon transformation using the non-equispaced fast Fourier transform (NFFT). Requires a square image.
1 2 3 4 5 6 7 8 | nfft_radon(
image,
theta = 181,
rho = 2 * round(sqrt(sum((dim(image))^2))/2) + 1,
fn = "polar"
)
nfft_inv_radon(image, n, iter = 10, fn = "polar")
|
image |
square image |
theta |
Number of theta slices |
rho |
Number of rho slices |
fn |
Whether to use polar or linotype (polar by default) |
n |
size of image |
iter |
number of iterations for inverse |
nfft_inv_radon
: Inverse Radon Transform using NFFT
1 2 3 4 5 6 | data(phantom_example)
image(phantom_example)
P_radon <- nfft_radon(phantom_example, 514, 514, fn = "polar")
image(P_radon)
P_inv <- nfft_inv_radon((P_radon), n = 257, iter = 2, fn = "polar")
image(P_inv)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.