解决固定幅面除背景色失败的问题,将除背景色阈值从1-128调至1-255,偏移量从0调至100
This commit is contained in:
parent
a41de93724
commit
d7ec535fdd
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
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue