smpy.filters.starlet.apply_filter

smpy.filters.starlet.apply_filter(data, kernel)[source]

Apply separable convolution with the given kernel.

Perform 2D convolution by applying the 1D kernel separately along rows and columns using mirror boundary conditions.

Parameters:
  • data (numpy.ndarray) – Input 2D image.

  • kernel (numpy.ndarray) – 1D convolution kernel.

Returns:

smoothed – Smoothed 2D image.

Return type:

numpy.ndarray

Notes

Uses mirror boundary conditions to handle edges appropriately for wavelet transforms.