8 lines
339 B
C++
8 lines
339 B
C++
#pragma once
|
|
#include <opencv2/core/ocl.hpp>
|
|
#include <string>
|
|
|
|
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);
|