摘要
在计算机视觉研究领域,目前很多Matlab开源代码会调用依赖于Open CV采用C/C++语言编写编译生成的动态链接库。但因运行环境的差异,这些代码的运行往往需要重新编译生成新的动态链接库。由于涉及Matlab和Visual Studio两个工具混合编程,同时还有对Open CV库函数的依赖,重新编译相关的设置会给初学者带来很大的困扰。本文以具体实例给出几者混合编程和调试的步骤及注意事项,以期给初学者一个可操作的混合编程入门指导,使他们可以轻松实现混合编程,将更多的精力投入到实际问题的解决中,以提高研究工作的效率。
In the field of computer vision research, many researchers will open their Matlab source code, which calls dynamic link libraries written in the C/C ++ language. A lot of these dynamic link libraries often are based on Open CV. In most cases, the running environments of downloader's are different from the researchers', these C/C++ dynamic link libraries require recompiling to make it runnable on the downloader's running environments. Because the mixed programming involves two tools Matlab and Visual Studio, and dependents on Open CV, the task of re-compilation generally causes great difficulties for beginners. This article takes an example to describe the steps and issues on the mixed programming, expecting to give the beginners an operational entry guide, so that they can devote themselves to research the problem itself.
作者
李中科
赵慧娟
苏晓萍
Li Zhongke;Zhao Huijuan;Su Xiaoping(School of Computer and Software,Nanjing Institute of Industry Technology,Nanjing,Jiangsu 210046,China)
出处
《计算机时代》
2018年第7期69-72,共4页
Computer Era
基金
2017年江苏省高校优秀科技创新团队项目(SJCXTD-03工业大数据应用技术)
教育部人文社会科学研究规划基金(17YJAZH071)
南京工业职业技术学院科研基金(No.YK15-04-01)