move NMS to util2d

This commit is contained in:
Borong Yuan
2023-06-17 13:06:54 +08:00
parent e219152e8f
commit 2dd64a6283
3 changed files with 127 additions and 137 deletions

View File

@@ -156,6 +156,13 @@ cv::Mat RTABMAP_CORE_EXPORT exposureFusion(
void RTABMAP_CORE_EXPORT HSVtoRGB( float *r, float *g, float *b, float h, float s, float v );
void RTABMAP_CORE_EXPORT NMS(
const std::vector<cv::KeyPoint> & ptsIn,
const cv::Mat & descriptorsIn,
std::vector<cv::KeyPoint> & ptsOut,
cv::Mat & descriptorsOut,
int border, int dist_thresh, int img_width, int img_height);
} // namespace util3d
} // namespace rtabmap