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/group__ximgproc.html#gaffedd976e0a8efb5938107acab185ec2 https://github.com/opencv/opencv_contrib/blob/master/modules/ximgproc/src/anisodiff.cpp