bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / transform / radon_transform / iradon
function
skimage.transform.radon_transform:iradon
source: /dev/scikit-image/src/skimage/transform/radon_transform.py :187
Signature
def iradon ( radon_image , theta = None , output_size = None , filter_name = ramp , interpolation = linear , circle = True , preserve_range = True ) Summary
Inverse radon transform.
Extended Summary
Reconstruct an image from the radon transform, using the filtered back projection algorithm.
Parameters
radon_image: ndarrayImage 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.theta: array, optionalReconstruction angles (in degrees). Default: m angles evenly spaced between 0 and 180 (if the shape of
radon_imageis (N, M)).output_size: int, optionalNumber of rows and columns in the reconstruction.
filter_name: str, optionalFilter used in frequency domain filtering. Ramp filter used by default. Filters available: ramp, shepp-logan, cosine, hamming, hann. Assign None to use no filter.
interpolation: str, optionalInterpolation method used in reconstruction. Methods available: 'linear', 'nearest', and 'cubic' ('cubic' is slow).
circle: bool, optionalAssume the reconstructed image is zero outside the inscribed circle. Also changes the default output_size to match the behaviour of
radoncalled withcircle=True.preserve_range: bool, optionalWhether 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
reconstructed: ndarrayReconstructed image. The rotation axis will be located in the pixel with indices
(reconstructed.shape[0] // 2, reconstructed.shape[1] // 2).: .. versionchanged:: 0.19In
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.
Aliases
-
skimage.transform.iradon