add charuco point detection method

This commit is contained in:
2020-11-10 02:05:51 +01:00
parent 38680f029c
commit d4d7418cb2
8 changed files with 301 additions and 132 deletions

View File

@ -2,8 +2,6 @@
#include <opencv2/core/ocl.hpp>
#include <string>
bool createRemapMap(cv::Mat& image, const std::string& fileName, const cv::Mat& mask,
int blockSize = 5, int apature = 5, float detectorParameter = 0.01, float minSize = 7,
bool verbose = false);
bool createRemapMap(cv::Mat& image, std::vector<cv::Point2f> points, const std::vector<cv::Point2i>& coordinates, const std::string& fileName, bool verbose = false);
void applyRemap(cv::Mat& image, cv::Mat& out, const cv::Mat& xmap, const cv::Mat& ymap, unsigned int size);