skimage2.transform.iradon#
- skimage2.transform.iradon(radon_image, theta=None, output_size=None, filter_name='ramp', interpolation='linear', circle=True, preserve_range=True)[source]#
Inverse radon transform.
Reconstruct an image from the radon transform, using the filtered back projection algorithm.
- Parameters:
- radon_imagendarray
Image containing radon transform (sinogram). Each column of the image corresponds to a projection along a different angle. The tomography rotation axis should lie at the pixel index
radon_image.shape[0] // 2along the 0th dimension ofradon_image.- thetaarray, optional
Reconstruction angles (in degrees). Default: m angles evenly spaced between 0 and 180 (if the shape of
radon_imageis (N, M)).- output_sizeint, optional
Number of rows and columns in the reconstruction.
- filter_namestr, optional
Filter used in frequency domain filtering. Ramp filter used by default. Filters available: ramp, shepp-logan, cosine, hamming, hann. Assign None to use no filter.
- interpolationstr, optional
Interpolation method used in reconstruction. Methods available: âlinearâ, ânearestâ, and âcubicâ (âcubicâ is slow).
- circlebool, optional
Assume the reconstructed image is zero outside the inscribed circle. Also changes the default output_size to match the behaviour of
radoncalled withcircle=True.- preserve_rangebool, optional
Whether to keep the original range of values. Otherwise, the input image is converted according to the conventions of
img_as_float. Also see https://scikit-image.org/docs/dev/user_guide/data_types.html
- Returns:
- reconstructedndarray
Reconstructed image. The rotation axis will be located in the pixel with indices
(reconstructed.shape[0] // 2, reconstructed.shape[1] // 2).
Changed in version 0.19: In
iradon,filterargument is deprecated in favor offilter_name.
Notes
It applies the Fourier slice theorem to reconstruct an image by multiplying the frequency domain of the filter with the FFT of the projection data. This algorithm is called filtered back projection.
References
[1]AC Kak, M Slaney, âPrinciples of Computerized Tomographic Imagingâ, IEEE Press 1988.
[2]B.R. Ramesh, N. Srinivasa, K. Rajgopal, âAn Algorithm for Computing the Discrete Radon Transform With Some Applicationsâ, Proceedings of the Fourth IEEE Region 10 International Conference, TENCON â89, 1989