Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我看到这里的大多数人都在问关于 C++ 版本的问题——例如数据类型cv::Mat和cv::一般的命名空间,而我自己使用 C 版本IplImage和 C 函数。
cv::Mat
cv::
IplImage
这两个 API 之间是否有任何显着的功能和速度差异?
我不相信 OpenCV 中有任何活跃的 C 开发,因此引入库的任何新功能(例如广泛的机器学习模块)都将使用 C++。当然,您始终可以将您的 C 数据结构转换为它们的 C++ 等价物并继续使用它们,但我发现 C++ Mat 类比 CvMat 和 IplImage 更灵活且易于使用。