微调偏色算法,去除里面的调试代码

This commit is contained in:
yangjiaxuan 2023-11-17 18:02:01 +08:00
parent 524a9b2af7
commit 57af551e4e
2 changed files with 4 additions and 3 deletions

View File

@ -129,7 +129,7 @@ void CImageApplyColorCastCorrect::apply(cv::Mat& pDib, int side)
cv::Mat hsv_mv[3];
cv::split(hsv, hsv_mv);
cv::imwrite("hsv_0.jpg", hsv_mv[0]);
//cv::imwrite("hsv_0.jpg", hsv_mv[0]);
cv::Mat lut(256, 1, CV_8UC1, m_table_h);
cv::LUT(hsv_mv[0], lut, hsv_mv[0]);

View File

@ -1,4 +1,4 @@
/*
/*
* ====================================================
*
@ -13,7 +13,8 @@
* v2.1 2023/10/07
* v2.2 2023/11/13
* v2.2.1 2023/11/13
* v2.2.1
* v2.2.2 2023/11/17
* v2.2.2
* ====================================================
*/