调整色调曲线在自动颜色识别的互斥

This commit is contained in:
13038267101 2023-08-16 17:58:05 +08:00
parent 4e45f0f645
commit fa612c70fe
1 changed files with 1 additions and 1 deletions

View File

@ -863,7 +863,7 @@ namespace hg_imgproc
//VLOG_MINI_4(LOG_LEVEL_DEBUG_INFO, "adjust_color: table len = %d, brightness = %f, contrast = %f, gamma = %f\n", tableLength //VLOG_MINI_4(LOG_LEVEL_DEBUG_INFO, "adjust_color: table len = %d, brightness = %f, contrast = %f, gamma = %f\n", tableLength
// , img_conf_.brightness, img_conf_.contrast, img_conf_.gamma); // , img_conf_.brightness, img_conf_.contrast, img_conf_.gamma);
if (gamma_table && tableLength) if (gamma_table && tableLength && img_conf_.pixtype != COLOR_MODE_AUTO_MATCH)
{ {
CImageApplyCustomGamma gamme(gamma_table, tableLength); CImageApplyCustomGamma gamme(gamma_table, tableLength);