解决除穿孔算法,二值化阈值传参50改为20,解决深色纸张会导致算法耗时的问题;BUG-819
This commit is contained in:
parent
436dc23db6
commit
90fb6f5955
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue