#pragma once #include #include 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);