Smoothing 2D data homogeneously regardless of resolution

Maybe you could use factored kernels and increase the standard deviation proportionally (4x) along the second dimension to compensate for the difference in resolution.

using ImageFiltering
kx = Kernel.gaussian((1,), (11,))
ky = Kernel.gaussian((4,), (11,))
blurxy = imfilter(model, (kx', ky))

Resulting in:
ImageFiltering_kx_ky_kernel_smoothing

3 Likes