解决除穿孔算法,二值化阈值传参50改为20,解决深色纸张会导致算法耗时的问题;BUG-819

This commit is contained in:
yangjiaxuan 2023-12-08 09:41:25 +08:00
parent 436dc23db6
commit 90fb6f5955
1 changed files with 1 additions and 1 deletions

View File

@ -867,7 +867,7 @@ namespace hg_imgproc
edgeScale[1] = low; edgeScale[1] = low;
edgeScale[2] = l; edgeScale[2] = l;
edgeScale[3] = r; edgeScale[3] = r;
CImageApplyOutHole outh(val, edgeScale,50); CImageApplyOutHole outh(val, edgeScale, 20);
outh.apply(mats,img_conf_.is_duplex); outh.apply(mats,img_conf_.is_duplex);
mats_ = mats; mats_ = mats;