I would like to make a noise reducition filter on OpenCV just like the Gimp's Selective Gaussian Blur: https://docs.gimp.org/en/plug-in-sel-gauss.html
The filter compares each pixel with its surroundings and only blurs if the difference is lower the a maximum delta.