关于Opencv2.4.x中stitcher类的简单应用

本文介绍了在Visual Studio 2010下使用OpenCV 2.4.4版本的stitcher类进行图像拼接的简单应用。在配置过程中,必须在链接库中添加opencv_stitching244.lib(Release)或opencv_stitching244d.lib(Debug),否则会导致编译错误。作者分享了在XP系统上用VS2010进行测试的体验。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


       opencv2.4以上版本有stitcher类,可以简单方便的实现图像的拼接,目前只是简单的测试一下stitcher类的拼接功能,也是纠结了好长时间,最终发现是要在链接库中加上opencv_stitching244.lib(对于Release),opencv_stitching244d.lib(对于Debug)才行,不然会出现VS2010编译不成功,错误提示是:

1>main.obj : error LNK2019: unresolved external symbol "public: enum cv::Stitcher::Status __thiscall cv::Stitcher::stitch(class cv::_InputArray const &,class cv::_OutputArray const &)" (?stitch@Stitcher@cv@@QAE?AW4Status@12@ABV_InputArray@2@ABV_OutputArray@2@@Z) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "public: static class cv::Stitcher __cdecl cv::Stitc
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值