Difficult to build individual filters within ximgproc?
There are some interesting edge-preserving filters in ximgproc. Unfortunately, I didn't know about ximgproc when I originally built OpenCV, and the build process was extremely tedious, so I'd like to avoid a complete rebuild if that is possible. Also, some of the filters are in OpenCV 4, which I'm not running yet.
Has anyone here split off parts of ximgproc for separate compilation? If so, was it difficult to resolve dependencies?
dependancies are simple, and they're here
i don't see, how that's possible. at least the dependancy modules, like core and imgproc will have to be rebuilt.
in general, it's probably for the best, if you overcome your fear of rebuilding libs (on a regular basis, even !)
I wish I could be that confident, Barak. It took me a couple days to get 3.x built. I had to Google constantly for one obscure error message after another. I wish I had known about ximgproc at that time, but I didn't. The project has to run on my sole Linux machine. I should really set up another Linux box for this. For now, I thought I might have a shot at just copy/pasting C++ source for an individual filter or two and compiling into the project. But I don't have a good feel for how deep the dependency chain extends.
well, IF you want to give it another try, there might be an easy shortcut to restrict compilation of the contrib modules just to the ximgproc one, use: