Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
882 B
21 lines
882 B
#ifndef __FEATURES2D_CONVERTERS_HPP__ |
|
#define __FEATURES2D_CONVERTERS_HPP__ |
|
|
|
#include "opencv2/opencv_modules.hpp" |
|
#include "opencv2/core.hpp" |
|
#include "opencv2/features2d.hpp" |
|
|
|
void Mat_to_vector_KeyPoint(cv::Mat& mat, std::vector<cv::KeyPoint>& v_kp); |
|
void vector_KeyPoint_to_Mat(std::vector<cv::KeyPoint>& v_kp, cv::Mat& mat); |
|
|
|
void Mat_to_vector_DMatch(cv::Mat& mat, std::vector<cv::DMatch>& v_dm); |
|
void vector_DMatch_to_Mat(std::vector<cv::DMatch>& v_dm, cv::Mat& mat); |
|
|
|
void Mat_to_vector_vector_KeyPoint(cv::Mat& mat, std::vector< std::vector< cv::KeyPoint > >& vv_kp); |
|
void vector_vector_KeyPoint_to_Mat(std::vector< std::vector< cv::KeyPoint > >& vv_kp, cv::Mat& mat); |
|
|
|
void Mat_to_vector_vector_DMatch(cv::Mat& mat, std::vector< std::vector< cv::DMatch > >& vv_dm); |
|
void vector_vector_DMatch_to_Mat(std::vector< std::vector< cv::DMatch > >& vv_dm, cv::Mat& mat); |
|
|
|
|
|
#endif
|
|
|