Box Filter is a low-pass filter that smooths the image by making each output pixel the average of the surrounding ones, removing details, noise and and edges from images.
Input
Window size
Output
5x5
Implementation
The Box filter is implemented as a convolution operation on the input image using the following kernel:
Submit the algorithm to the stream along with other parameters. In this case it's a 5x5 box filter with clamp boundary condition. It'll be executed by the CUDA backend.