简单原理和基本调用在opencv官网:
http://docs.opencv.org/doc/tutorials/features2d/trackingmotion/harris_detector/harris_detector.html
在下载的imgproc.cpp中发现cornerHarris_gpu函数的原型但不见其实现,后来想原来是编译时打包了lib和dll,这时又查了一下两者区别;
最后是在这里发现的cornerHarris_kernel()的实现,用的cuda编程,难怪会用lib打包好。
https://github.com/Itseez/opencv/blob/b46719b0931b256ab68d5f833b8fadd83737ddd1/modules/cudaimgproc/src/cuda/corners.cu#L120
Harris corner OpenCV源码查询之路
最新推荐文章于 2023-07-01 17:56:51 发布