Matlab与Aforge对比OpenCV [英] Matlab vs Aforge vs OpenCV

查看:461
本文介绍了Matlab与Aforge对比OpenCV的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我即将开始一个视觉图像处理项目,没有Matlab,Aforge,OpenCV的经验,并且想知道是否有人对这些不同的软件包有任何经验。

I am about to start a project in visual image-processing and have no had experience with Matlab, Aforge, OpenCV and was wondering if anyone had any experiences with these different software packages.

我也想知道三个软件包中哪一个最有效我假设OpenCV但是有没有人有经验?

I was also wondering which of the three packages were most efficient I assume OpenCV but has anyone had any experience?

谢谢

杰米。

推荐答案

你需要问自己的问题是哪个更重要 - 你的时间或计算机的时间。如果您的任务非常简单,那么您可以在MATLAB中对其进行编码并使其正常工作。 MATLAB是迄今为止最容易开发的 - 一种内置内存管理的脚本语言,提供的大量函数,以及用于在调试时显示和操作数据的出色界面。

The question you need to ask yourself is which is more important - your time or the computer's time. If your task is really simple, you may be able to code it up in MATLAB and have it work right off the bat. MATLAB is by far the easiest for development - a scripted language with built-in memory management, a huge array of provided functions, and a great interface for displaying and manipulating data while debugging.

另一方面,对于许多任务,MATLAB至少比编译的openCV代码慢一个数量级。如果使用intel性能原语库,则尤其如此。

On the other hand, MATLAB is at least an order of magnitude slower than compiled openCV code for many tasks. This is especially true if you use the intel performance primitives libraries.

如果您知道如何在MATLAB中编码,我建议您使用该语言编写和调试算法,然后使用openCV将它们移植到c / c ++中以提高速度。如果只需要加速几个简单的函数,你可以从MATLAB调用c代码,但是在你尝试它的前几次很难让它正常工作,所以你可能最好只重写你的完全用c / c ++完成代码

If you know how to code in MATLAB, I would suggest writing and debugging your algorithms in that language, then porting them to c/c++ with openCV for speed. If there are only a couple of simple functions that you need to speed up, you can call c code from MATLAB, but it's hard to get this working right the first few times you try it, so you're probably better off just rewriting your finished code entirely in c/c++

这篇关于Matlab与Aforge对比OpenCV的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆