split into many files

add better outlier rejection
add normalization
add background removal
This commit is contained in:
2020-10-22 11:21:12 +02:00
parent a5440ed857
commit 6defcad11b
12 changed files with 904 additions and 446 deletions

7
unwrap.h Normal file
View File

@ -0,0 +1,7 @@
#pragma once
#include <opencv2/core/ocl.hpp>
#include <string>
bool createRemapMap(cv::Mat& image, const std::string& fileName, const cv::Mat& mask, bool verbose = false);
void applyRemap(cv::Mat& image, cv::Mat& out, const cv::Mat& xmap, const cv::Mat& ymap, cv::Size size);