The OpenCV interface makes it easy to bring single functions and entire OpenCV based C++ projects into MATLAB using MEX. The OpenCV interface provides:
You can use Computer Vision System Toolbox™ to extend your work in MATLAB and OpenCV. The toolbox provides MATLAB algorithms for feature extraction, object detection and tracking, object recognition, and geometric camera calibration and 3D vision. It also supports rapid prototyping with features such as fixed-point arithmetic support and C-code generation.