解决固定幅面除背景色失败的问题,将除背景色阈值从1-128调至1-255,偏移量从0调至100

This commit is contained in:
yangjiaxuan 2023-11-22 10:12:46 +08:00
parent a41de93724
commit d7ec535fdd
6 changed files with 41 additions and 41 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -727,7 +727,7 @@ namespace hg_imgproc
mats_.clear(); mats_.clear();
CImageApplyFadeBackGroudColor fade(40, 0, img_conf_.fadebackrange); CImageApplyFadeBackGroudColor fade(40, 100, img_conf_.fadebackrange);
for(size_t i = 0; i < mats.size();i++) for(size_t i = 0; i < mats.size();i++)
{ {
fade.apply(mats[i],img_conf_.is_duplex); fade.apply(mats[i],img_conf_.is_duplex);