CosDistance 类允许计算两个重识别描述符之间的余弦距离。 更多...
#include <opencv2/tracking/tracking_by_matching.hpp>
CosDistance 类允许计算两个重识别描述符之间的余弦距离。
◆ CosDistance()
cv::detail::tracking::tbm::CosDistance::CosDistance |
( |
const cv::Size & |
descriptor_size | ) |
|
|
explicit |
◆ compute() [1/2]
float cv::detail::tracking::tbm::CosDistance::compute |
( |
const cv::Mat & |
descr1, |
|
|
const cv::Mat & |
descr2 |
|
) |
| |
|
overridevirtual |
◆ compute() [2/2]
std::vector< float > cv::detail::tracking::tbm::CosDistance::compute |
( |
const std::vector< cv::Mat > & |
descrs1, |
|
|
const std::vector< cv::Mat > & |
descrs2 |
|
) |
| |
|
overridevirtual |
此类的文档是从以下文件生成的