OpenCV能像Matlab一样简洁地读取并显示图像,大家可以从下图的代码中感受一下:
配置一共分为四部:
第三幅图中,可直接拷贝下列lib文件:
opencv_ts300d.lib
opencv_world300d.lib
IlmImfd.lib
libjasperd.lib
libjpegd.lib
libpngd.lib
libtiffd.lib
libwebpd.lib
opencv_calib3d300d.lib
opencv_core300d.lib
opencv_features2d300d.lib
opencv_flann300d.lib
opencv_highgui300d.lib
opencv_imgcodecs300d.lib
opencv_imgproc300d.lib
opencv_ml300d.lib
opencv_objdetect300d.lib
opencv_photo300d.lib
opencv_shape300d.lib
opencv_stitching300d.lib
opencv_superres300d.lib
opencv_video300d.lib
opencv_videoio300d.lib
opencv_videostab300d.lib
Zlibd.lib
4.将C:\software\opencv30beta\opencv\build\x86\vc10\bin下的dll文件拷贝至C:\Windows\SysWOW64下(32位系统拷贝至C:\Windows\System32下)
然后OpenCV的配置就大功告成了,后期我会继续和大家一起探索基于OpenCV有关图像的编程学习,欢迎关注。
领取专属 10元无门槛券
私享最新 技术干货