add logging engine
add options to control harris algorithum
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user