From 57af551e4ee8ea9db7899a054274895d0f151194 Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Fri, 17 Nov 2023 18:02:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83=E5=81=8F=E8=89=B2=E7=AE=97?= =?UTF-8?q?=E6=B3=95=EF=BC=8C=E5=8E=BB=E9=99=A4=E9=87=8C=E9=9D=A2=E7=9A=84?= =?UTF-8?q?=E8=B0=83=E8=AF=95=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hgdriver/ImageProcess/ImageApplyColorCastCorrect.cpp | 2 +- hgdriver/ImageProcess/ImageApplyColorCastCorrect.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hgdriver/ImageProcess/ImageApplyColorCastCorrect.cpp b/hgdriver/ImageProcess/ImageApplyColorCastCorrect.cpp index 11675a6..734c6c0 100644 --- a/hgdriver/ImageProcess/ImageApplyColorCastCorrect.cpp +++ b/hgdriver/ImageProcess/ImageApplyColorCastCorrect.cpp @@ -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]); diff --git a/hgdriver/ImageProcess/ImageApplyColorCastCorrect.h b/hgdriver/ImageProcess/ImageApplyColorCastCorrect.h index 0801c74..4cafbd0 100644 --- a/hgdriver/ImageProcess/ImageApplyColorCastCorrect.h +++ b/hgdriver/ImageProcess/ImageApplyColorCastCorrect.h @@ -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 * ==================================================== */