This is a personal python implementation of CVPR 2019 paper Side Window Filter.
You can get original matlab code in SideWindowFilter, I tried to keep the idea of the original code. I find this paer very interesing, it is better than the traditional average filtering, but not complicated at all. Expect more filters from the author.