nabu.thirdparty.pore3d_deringer_munch module

The following de-striping method is adapted from the pore3d software.

Organization:

Elettra - Sincrotrone Trieste S.C.p.A.

Version:

2013.05.01

References

[1] F. Brun, A. Accardo, G. Kourousias, D. Dreossi, R. Pugliese. Effective implementation of ring artifacts removal filters for synchrotron radiation microtomographic images. Proc. of the 8th International Symposium on Image and Signal Processing (ISPA), pp. 672-676, Sept. 4-6, Trieste (Italy), 2013.

The license follows.

nabu.thirdparty.pore3d_deringer_munch.munchetal_filter(im, wlevel, sigma, wname='db15')[source]

Process a sinogram image with the Munch et al. de-striping algorithm.

Parameters:
  • im (array_like) – Image data as numpy array.

  • wname ({'haar', 'db1'-'db20', 'sym2'-'sym20', 'coif1'-'coif5', 'dmey'}) – The wavelet transform to use.

  • wlevel (int) – Levels of the wavelet decomposition.

  • sigma (float) – Cutoff frequency of the Butterworth low-pass filtering.

  • tiffile.py) (Example (using) –

  • --------------------------

  • imread('original.tif') (>>> im =) –

  • munchetal_filter(im (>>> im =) –

  • 'db15'

  • 4

  • 1.0)

  • imsave('filtered.tif' (>>>) –

  • im)

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.