微调偏色算法,去除里面的调试代码
This commit is contained in:
parent
524a9b2af7
commit
57af551e4e
|
@ -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]);
|
||||
|
||||
|
|
|
@ -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
|
||||
* ====================================================
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue