I need to apply 1D guided filter for the image denoising. In Matlab implementation, I can define a window of N-1 for the guided filter. But in python version of open cv, I can define a radius for Guided Filter. Would you please help me how can I use this filter for 1D filtering?