openframeworks and opencv stereo functions

Hello everyone!

I just want to ask how is it possible to call OpenCV’s functions to make disparity maps?

I have already set up my 2 cameras using openframeworks but ofxCV doesn’t provide anything like this. So, I guess I should use OpenCV’s functions somehow…any ideas?

I read somewhere this has to do with ofxCVConstants.h because it includes cv.h, so maybe that means I can natively use OpenCV’s functions?

Thank you!

if you include ofxOpenCv you are already including all of opencv functions. also any ofCVImage has a:

  
getCvImage()  

function that returns the internal opencv image that you can use with any opencv function.

Thanks mate! I wanted to take precautions before starting my project, everything works fine in OF , CodeBlocks and Fedora :slight_smile: