Imfilter for 3d array

I’m afraid it was my wrong assumption that the size of the kernel (3)
will be taken as a hint to expand to three dimensions. Passing explicitly
(3, 3, 3) does the trick.

1 Like