For each pixel ((x,y)) a spatial filter reads a neighbourhood (S_{xy}) and applies an operation (F) to it. A linear filter is a weighted sum, i.e. a convolution with ...
Implement a program that performs a 3D convolution operation. Given a 3D input volume and a 3D kernel (filter), compute the convolved output. The convolution should use a "valid" boundary condition ...