解决调整了亮度等参数后,勾选自定义色调曲线,亮度等仍然生效的问题
This commit is contained in:
parent
6cc022191c
commit
bc6fdc836d
|
@ -5707,6 +5707,13 @@ int hg_scanner::image_configuration(SCANCONF& ic)
|
|||
{
|
||||
ic.en_sizecheck = false;
|
||||
}
|
||||
if (custom_gamma_)
|
||||
{
|
||||
ic.brightness = 128;
|
||||
ic.contrast = 4;
|
||||
ic.gamma = 1.0f;
|
||||
}
|
||||
|
||||
img_conf_ = ic;
|
||||
VLOG_MINI_1(LOG_LEVEL_DEBUG_INFO, "ic.pixtype=%d\r\n", ic.pixtype);
|
||||
VLOG_MINI_1(LOG_LEVEL_DEBUG_INFO, "ic.papertype=%d\r\n", ic.papertype);
|
||||
|
|
|
@ -185,7 +185,9 @@ hg_scanner_239::hg_scanner_239(const char* dev_name, int pid,usb_io* io) : hg_sc
|
|||
#endif
|
||||
//wait_read_int.notify();
|
||||
|
||||
update_boarddatetime();
|
||||
if (firmware_sup_boardTime)
|
||||
update_boarddatetime();
|
||||
|
||||
status_ = SCANNER_ERR_OK;
|
||||
}
|
||||
hg_scanner_239::~hg_scanner_239()
|
||||
|
|
Loading…
Reference in New Issue