调整色调曲线在自动颜色识别的互斥
This commit is contained in:
parent
4e45f0f645
commit
fa612c70fe
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue