使用道具 举报
I guess it is needed to clear borderMat to zero. using (Mat borderMat = new Mat(thrsholdMat.Height, thrsholdMat.Width, MatType.CV_8UC1)) { borderMat.SetTo(Scalar.All(0)); ... }
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|OpenCV中文网站
GMT+8, 2024-6-16 05:11 , Processed in 0.008316 second(s), 15 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.