Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Matlab vs Aforge vs 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.

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

Thanks

Jamie.

like image 731
Jamie Avatar asked Oct 17 '10 12:10

Jamie


People also ask

Which is better OpenCV or MATLAB?

Well, MATLAB is more convenient in developing and data presentation, however, OpenCV is much faster in execution. In the case of OpenCV, the speed ratio reaches more than 80 in some cases. However, OpenCV is comparatively harder to learn due to a lack of documentation and error handling codes.

Is OpenCV faster than MATLAB?

Although Matlab is more convenient in developing and data presentation, OpenCV is much faster in execution, where the speed ratio reaches more than 80 in some cases.

Does OpenCV use MATLAB?

OpenCV integrates with MATLAB® and Simulink® for collaborative development, simulation, testing, and implementation of image processing and computer vision based systems. Through interfaces using the OpenCV C++ API, MATLAB and Simulink support integration with OpenCV.

Is MATLAB or Python better for image processing?

In engineering, Python also helps carry simulation, vibrations, engineering modeling, and dynamic motion. Meanwhile, the IC toolbox for image processing in MATLAB makes it a better option for image data segmentation, extraction, and analysis. But in Python, image processing relies on external packages.


1 Answers

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.

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.

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++

like image 174
Marc Avatar answered Sep 19 '22 05:09

Marc