diff --git a/hgdriver/hgdev/image_process.cpp b/hgdriver/hgdev/image_process.cpp index 5796541..0e6ac5d 100644 --- a/hgdriver/hgdev/image_process.cpp +++ b/hgdriver/hgdev/image_process.cpp @@ -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 // , 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);