{ } Raw JSON

bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / transform / radon_transform / radon

function

skimage.transform.radon_transform:radon

source: /dev/scikit-image/src/skimage/transform/radon_transform.py :16

Signature

def   radon ( image theta = None circle = True * preserve_range = False )

Summary

Calculates the radon transform of an image given specified projection angles.

Parameters

image : ndarray

Input image. The rotation axis will be located in the pixel with indices (image.shape[0] // 2, image.shape[1] // 2).

theta : array, optional

Projection angles (in degrees). If None, the value is set to np.arange(180).

circle : bool, optional

Assume image is zero outside the inscribed circle, making the width of each projection (the first dimension of the sinogram) equal to min(image.shape).

preserve_range : bool, 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

radon_image : ndarray

Radon transform (sinogram). The tomography rotation axis will lie at the pixel index radon_image.shape[0] // 2 along the 0th dimension of radon_image.

Notes

Based on code of Justin K. Romberg (https://www.clear.rice.edu/elec431/projects96/DSP/bpanalysis.html)

Aliases

  • skimage.transform.radon

Referenced by

This package