backprojection: backprojection algorithm

class silx.image.backprojection.Backprojection(sino_shape, slice_shape=None, axis_position=None, angles=None, filter_name=None, ctx=None, devicetype='all', platformid=None, deviceid=None, profile=False)

A class for performing the backprojection using OpenCL

allocate_textures()

Allocate the texture for the sinogram.

backprojection(sino=None, dst=None)

Perform the backprojection on an input sinogram

Parameters:
  • sino – sinogram. If provided, it returns the plain backprojection.
  • dst – destination (pyopencl.Array). If provided, the result will be written in this array.
Returns:

backprojection of sinogram

compute_fft_plans()

If pyfft is installed, prepare a batched 1D FFT plan for the filtering of FBP

compute_filter()

Compute the filter for FBP

filter_projections(sino, rescale=True)

Performs the FBP on a given sinogram.

Parameters:
  • sinogram – sinogram to (filter-)backproject
  • rescale – if True (default), the sinogram is multiplied with (pi/n_projs)
filtered_backprojection(sino)

Compute the filtered backprojection (FBP) on a sinogram.

Parameters:sino – sinogram (numpy.ndarray) in the format (projections, bins)

Previous topic

sift: 2D image alignment

Next topic

silx.math:

This Page