10 lines
382 B
C++
10 lines
382 B
C++
#pragma once
|
|
#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);
|
|
|
|
void applyRemap(cv::Mat& image, cv::Mat& out, const cv::Mat& xmap, const cv::Mat& ymap, unsigned int size);
|