【发布时间】:2017-06-19 20:11:16
【问题描述】:
我想在 MATLAB 中使用 OpenCV 类(来自contribute_modules)。我正在尝试将 OpenCV 绑定到 MATLAB。当我使用标准的opencv接口时没问题。但我需要使用来自贡献模块的类xphoto。我已经在 CMake 和 Visual Studio 2010 中使用贡献模块构建了 OpenCV。它工作正常。我检查了使用 MATLAB。 MATLAB 路径很好找到。
我遵循了 Github 的教程。
我在 MATLAB 中仍然有这个错误:
Building with 'Microsoft Visual C++ 2010'.
Error using mexOpenCV (line 120)
bm3d.cpp
C:\Users\Desktop\bm3d\bm3d.cpp(11) : fatal error C1083: Cannot open include file: 'opencv2/xphoto.hpp': No such file or directory
谁能帮帮我,请问我该怎么做?
如果有任何帮助,我将不胜感激。
【问题讨论】:
标签: c++ matlab opencv mex opencv3.0