cv::BFMatcher::knnMatchImpl
时间: 2023-08-27 12:06:11 浏览: 164
cv::BFMatcher::knnMatchImpl是BFMatcher类的一个成员函数,用于实现k最近邻算法的匹配。该函数接受一个查询描述符的输入数组queryDescriptors和一个输出的DMatch结果的二维向量matches。参数k指定在字典中找到k个最佳匹配。此外,还可以通过参数masks和compactResult来指定是否使用掩码和是否压缩结果。\[1\]\[3\]
#### 引用[.reference_title]
- *1* [opencv3/C++ 描述符匹配](https://blog.csdn.net/akadiao/article/details/79110973)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [结合openCV学习DIP之传统图像特征与匹配](https://blog.csdn.net/Mrsherlock_/article/details/109556381)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文