OpenCV Support
The Computer Vision Toolbox™ Interface for OpenCV in MATLAB support package provides these functionalities for OpenCV support:
MATLAB functions to convert computed camera parameters between MATLAB and OpenCV formats for camera calibration applications.
OpenCV Interface C++ API support files for building MEX files that you can use to call OpenCV functions and integrate OpenCV C++ code into MATLAB. The interface does not support graphics processing unit (GPU). You can use the MEX-based approach to integrate a custom OpenCV function with MATLAB. For more information about the MEX-based approach, see Build MEX-Files for OpenCV Interface.
Prebuilt MATLAB interface to the OpenCV library to directly call OpenCV functions from MATLAB without writing C/C++ code. The support package also provides MATLAB functions to pass data back and forth between OpenCV and MATLAB. However, the prebuilt MATLAB interface to the OpenCV does not provide support for integrating custom OpenCV functions with MATLAB.
To use the MEX-based and the prebuilt MATLAB interface to OpenCV support files, you must first download the Computer Vision Toolbox Interface for OpenCV in MATLAB support package. For information about how to download the support package, see Install and Use Computer Vision Toolbox Interface for OpenCV in MATLAB.
Functions
Topics
- Install and Use Computer Vision Toolbox Interface for OpenCV in MATLAB
Download and install support package for integrating OpenCV and MATLAB.
- Build MEX-Files for OpenCV Interface
Create and test MEX- file based OpenCV interface.
- Use Prebuilt MATLAB Interface to OpenCV
To call and execute OpenCV functions directly from MATLAB, use the prebuilt MATLAB interface.