surf用FLANN_INDEX_KDTREE还是FLANN_INDEX_LSH
时间: 2023-08-08 20:04:49 浏览: 151
根据引用\[2\]和引用\[3\]的信息,对于SURF算法,可以使用FLANN_INDEX_KDTREE或FLANN_INDEX_LSH来设置参数。具体来说,可以使用FLANN_INDEX_KDTREE参数来构建索引,如下所示:
index_params = dict(algorithm = FLANN_INDEX_KDTREE, trees = 5)
同时,也可以使用FLANN_INDEX_LSH参数来构建索引,具体的参数设置可以参考FLANN文档。因此,对于SURF算法,可以根据具体需求选择使用FLANN_INDEX_KDTREE或FLANN_INDEX_LSH来设置参数。
#### 引用[.reference_title]
- *1* [OpenCV-Python——第30章:特征匹配](https://blog.csdn.net/yukinoai/article/details/89055860)[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* [cv2-特征点匹配(bf、FLANN)](https://blog.csdn.net/qq_51392112/article/details/128976592)[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]
- *3* [python opencv特征点检测和匹配教程](https://blog.csdn.net/u013832707/article/details/96975203)[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 ]
阅读全文