The support files provide an OpenCV Interface C++ API for integrating your OpenCV C++ code into MATLAB®. You can also use these support files to build MEX-files that call OpenCV functions. The support files contain graphics processing unit (GPU) support.
See Install and Use Computer Vision Toolbox OpenCV Interface procedures and examples.
Install and Use Computer Vision Toolbox OpenCV Interface
Convert OpenCV data types to MathWorks supported data types