backprojection
: (Filtered) Back-Projection¶
Module for (filtered) backprojection on the GPU
-
class
silx.opencl.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)[source]¶ Bases:
silx.opencl.processing.OpenclProcessing
A class for performing the backprojection using OpenCL
-
kernel_files
= ['backproj.cl', 'array_utils.cl']¶
-
compute_fft_plans
()[source]¶ If pyfft is installed, prepare a batched 1D FFT plan for the filtering of FBP
-
backprojection
(sino=None, dst=None)[source]¶ 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
-