Introduction - If you have any usage issues, please Google them yourself
After optimization of 2D averaging filter, the program can be optimized according to the size of the adaptive filter window select the row or column to optimize function also contains three kinds of boundary treatment: default, neighbors and the mirror. The long side of the hypothetical filter window is N, and optimize the efficiency of the algorithm is approximately N/2.