You are missing ImageFiltering.centered. With ker = centered([0.5, 2, 0.5]) it should look more like you expect.
1 Like
You are missing ImageFiltering.centered. With ker = centered([0.5, 2, 0.5]) it should look more like you expect.