开发者

about K-Nearest Neighbor and OpenCV in C#

I am wondering if there is a built-in function in OpenCV that performs KNN ?

If it exists how can I deal with i开发者_运维百科t .. I searched but I didn't find any useful thing

thank


It certainly appears to exist, if this is the right method you need:

http://opencv.willowgarage.com/documentation/cpp/k_nearest_neighbors.html

This blog post shows how to use it in C:

http://www.aishack.in/2010/10/k-nearest-neighbors-in-opencv/

That should be portable to your C# wrapper.

If you're using the Emgu wrapper, heres a tutorial showing KNN in C#:

http://emgu.com/wiki/index.php/K_Nearest_Neighbors_in_CSharp

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜