add logging engine

add options to control harris algorithum
This commit is contained in:
2020-10-27 20:59:19 +01:00
parent 6defcad11b
commit 38680f029c
7 changed files with 172 additions and 54 deletions

View File

@ -22,7 +22,7 @@ inline bool normalize(cv::Mat& image, const cv::Mat& referance)
std::vector<cv::Mat> labPlanes(3);
cv::split(labImage, labPlanes);
cv::add(labPlanes[0], labPlanesRef[0], labPlanes[0], cv::noArray(), CV_8UC1);
cv::subtract(labPlanes[0], labPlanesRef[0], labPlanes[0], cv::noArray(), CV_8UC1);
cv::merge(labPlanes, labImage);
cv::cvtColor(labImage, image, cv::COLOR_Lab2BGR);
return true;