Skip to content

nabu.reconstruction.rings_cuda

source module nabu.reconstruction.rings_cuda

Classes

Functions

  • can_use_cuda_deringer Check wether cuda implementation of deringer can be used. Checking for installed modules is not enough, as for example pyvkfft can be installed without cuda devices

source class CudaMunchDeringer(sigma, sinos_shape, levels=None, wname='db15', padding=None, padding_mode='edge', fft_backend='vkfft', cuda_options=None)

Bases : MunchDeringer

Initialize a "Munch Et Al" sinogram deringer with the Cuda backend. See References for more information.

Parameters

  • sigma : float Standard deviation of the damping parameter. The higher value of sigma, the more important the filtering effect on the rings.

  • levels : int, optional Number of wavelets decomposition levels. By default (None), the maximum number of decomposition levels is used.

  • wname : str, optional Default is "db15" (Daubechies, 15 vanishing moments)

  • sinos_shape : tuple, optional Shape of the sinogram (or sinograms stack).

References

B. Munch, P. Trtik, F. Marone, M. Stampanoni, Stripe and ring artifact removal with combined wavelet-Fourier filtering, Optics Express 17(10):8567-8591, 2009.

source can_use_cuda_deringer()

Check wether cuda implementation of deringer can be used. Checking for installed modules is not enough, as for example pyvkfft can be installed without cuda devices

source class CudaVoDeringer(sinos_shape, **remove_all_stripe_options)

Bases : VoDeringer

An interface to topocupy's "remove_all_stripe".

Methods

source method CudaVoDeringer.remove_rings_radios(radios)

source method CudaVoDeringer.remove_rings_sinograms(sinos)

source method CudaVoDeringer.remove_rings_sinogram(sino)

source class CudaSinoMeanDeringer(sinos_shape, mode='subtract', filter_cutoff=None, padding_mode='edge', fft_num_threads=None, **cuda_options)

source method CudaSinoMeanDeringer.remove_rings_sinogram(sino, output=None)

Raises

  • NotImplementedError

source method CudaSinoMeanDeringer.remove_rings_sinograms(sinograms)