use module form opencv contrib in c++
I'm trying to use the anisotropicDiffusion() function from the ximgproc module in opencv contrib but I am having problems loading it into my editor codeblocks or G++ on Ubuntu 18.04. In general, how do I install a module from opencv contrib to be able to use it?
Also, opencv seems to reference from the following location /usr/include/opencv2/. When I did my original make install it built most of my hpp files under /usr/local/include/opencv4/opencv2/. How do I have my machine look for the hpp files under /usr/local/include/opencv4/opencv2/?
https://docs.opencv.org/3.4/df/d2d/gr... https://github.com/opencv/opencv_cont...