Which is the best opencv or matlab for image processing?
http://www.researchgate.net/post/Which_is_the_best_opencv_or_matlab_for_image_processing
Matlab --> Faster programming, less efficient
OpenCV -->Slower programming, more efficient
I have used both for a long time and I switch from one to the other depending on what I'm doing. If you're doing research (for instance, if you're testing different algorithms, different representations, etc) I recommend Matlab, since you will be able to program faster. If you already had a result of your research, and wan't to make an application with it, I recommend OpenCV, it will take longer to program, but you can make more time and memory optimizations. If you are doing research but you're working with very large datasets, features, etc, maybe you'll have to use OpenCV instead of Matlab in order to play with memory optimization, since with large data Matlab tends to crash frequently. According to the image processing functionalities they provide, I think both are well equipped, but I would say that Matlab is better in this case, and you can find more Matlab source code in internet than OpenCV's.
Matlab allows you to prototype faster, for instance in order to test a method, compare the accuracy of different techniques, estimate which implementation runs faster, or learn the best parameters for a model. It is especially interesting for fast debugging and fast visual plotting of results, in particular for research in image processing. It is also fairly easy to find public source code shared by users.
OpenCV allows you to efficiently encode algorithms for computer vision. It will run much faster than Matlab code, but it will take longer to implement and to debug. You will be able to incorporate external libraries, and is a great help for serious solution coding. There are several tutorials and nice documentation out there, and it is well maintained.
Unlike some users have suggested above, I completely discourage to use any utilities that convert Matlab to C/C++, nor to port any OpenCV functions to Matlab. That makes little sense. Your code will be more efficient by carefully coding it from scratch using the proper libraries, and most times you will go faster by implementing something from scratch in Matlab over some base code. Both Matlab and OpenCV contain a great deal of image processing utilities, from basic to advanced requirements, so they are mostly interchangeable depending on your goal.
Which is the best opencv or matlab for image processing?的更多相关文章
- Visual Studio 控制台应用程序 同时使用OpenCV和matlab mat文件操作
matalb具有灵活的图像处理,代码编写起来简洁而高效.而OpenCV具有很多成熟的计算机视觉算法,能够处理很多实时的识别处理等问题,而且代码运行起来效率很高.所以如何结合两者之间的优点,是让很多学术 ...
- OpenCV和Matlab 通过XML传递数据
因为现在下到的数据集大部分都使用了Matlab的Calibration toolbox 进行标定,其结构大部分是.mat结构的,所以它和opencv中数据传递需要一个中间过程,网上也有直接调用matl ...
- OpenCV和Matlab
OpenCV(Open Computer Vision)是现在流行的做计算机视觉和图像处理的工具库.Matlab一般用于快速实现算法和测试,用于研究理论,OpenCV适合开发实际的图像处理或视觉的应用 ...
- 图像滑动窗口 利用opencv和matlab
1.利用opencv实现图像滑动窗口操作 功能:利用opencv实现图像滑动窗口操作(即利用已知尺寸的窗口遍历整幅图像,形成许多子图像) vs2015+opencv3.1 2016.10 函数实现 ...
- Matlab立体标定mat转换成Opencv的CvMat
最近在做基于双目视觉的三维重建.比较opencv和matlab工具箱的立体标定结果精度时,发现貌似如果手工选取角点不那么离谱的话,matlab标定结果精度更高也更鲁棒.就想先用matlab标定好相机, ...
- Matlab与C++混合编程(依赖OpenCV)
Matlab与C++混合编程实际上就是通过Matlab的Mex工具将C++的代码编译成Matlab支持调用的可执行文件和函数接口.这样一方面可以在Matlab中利用已经编写好的函数,尽管这个函数是用C ...
- 【转载】OpenCV(C++ 与 Python 的比较)与 MATLAB 的比较
原文作者 : Satya Mallick 译者 : aleen42 原文 https://aleen42.gitbooks.io/personalwiki/content/translation/o ...
- [转] Matlab与C++混合编程(依赖OpenCV)
作者 zouxy09@qq.com,原文 Matlab与C++混合编程(依赖OpenCV) 之前在运行别人论文的代码的时候,经常有遇到Matlab与C++混合编程的影子.实际上就是通过Matlab的M ...
- [转] Matlab与C++混合编程,添加OpenCV库
原文地址 峰回璐转 最近在做运动医学软件优化工作,此款软件框架及算法语言全由matlab实现,虽然matlab矩阵运算.数值计算能力强大,但速度让人难以忍 受.软件立刻移植到C++上又不太实际,故采用 ...
随机推荐
- Android studio配置Git
Android studio配置Git 1.下载window 版git并安装:下载地址 2.Android Studio设置git插件:File->Setting->Version Con ...
- XAML: x:DeferLoadStrategy, x:Null
x:DeferLoadStrategy="Lazy" - 用于指定一个 UIElement 为一个延迟加载元素 x:Null - null 示例1.x:DeferLoadStrat ...
- 轻快的VIM(三):删除
这一节我们来看看删除,删除命令比较简单,不过要使删除更有效率 你需要配合我们第一节中讲的各种移动命令 字符删除 x 删除光标所在处字符 X 删除光标所在前字符 这里没有什么可注意的地方,但需要说明一下 ...
- js自定义正则表达式
<script>var r, re; // 声明变量. var s = "The rain in Spain falls mainly in the plain."; ...
- jquery datatable(二)
<!DOCTYPE html> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> ...
- 【USACO 2.2】Party Lamps
四种开关,n盏灯,1:改变所有灯状态,2:改变奇数灯状态,3:改变偶数灯状态,4:改变3k+1灯状态 给你按开关的总次数c和部分灯限制条件(开或关),一开始都是开着的.($c \leq 10000,n ...
- bzoj3998: [TJOI2015]弦论
SAM小裸题qwq #include <iostream> #include <cstdio> #include <cmath> #include <cstr ...
- python调用模块&函数
一般模块是抽象的概念,按照功能划分模块,尽可能保证每个模块互相独立. 一般模块里有多个函数.当然,如果你愿意,也可以把一个几个模块写进一个大函数.对于python 模块,每个模块可以包含多个函数,但一 ...
- 【caffe】无法找到gpu/mxGPUArray.h: No such file or directory
@tags: caffe 问题出现在,windows下编译caffe的过程中.按照github.com/microsoft/caffe的readme配置的. 问题原因是,用的matlab版本较新(20 ...
- 【BZOJ-3555】企鹅QQ 字符串Hash
3555: [Ctsc2014]企鹅QQ Time Limit: 20 Sec Memory Limit: 256 MBSubmit: 1545 Solved: 593[Submit][Statu ...