bspline_convolve

bspline_convolve#

scarlet2.wavelets.bspline_convolve(image, scale)[source]#

Convolve an image with a bpsline at a given scale.

This uses the spline h1d = jnp.array([1.0 / 16, 1.0 / 4, 3.0 / 8, 1.0 / 4, 1.0 / 16]) from Starck et al. 2011.

Parameters:
  • image (2D array) – The image or wavelet coefficients to convolve.

  • scale (int) – The wavelet scale for the convolution. This sets the spacing between adjacent pixels with the spline.