From 48e6945bd66270448893eb55c10f57826cf413fb Mon Sep 17 00:00:00 2001 From: "xhm\\HP" <1173131411@qq.com> Date: Fri, 28 Jun 2024 09:15:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=B7=E7=A7=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HisenceYoloDetection/CheckDiffSciHelper.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HisenceYoloDetection/CheckDiffSciHelper.cs b/HisenceYoloDetection/CheckDiffSciHelper.cs index 60bfa50..7c5bd92 100644 --- a/HisenceYoloDetection/CheckDiffSciHelper.cs +++ b/HisenceYoloDetection/CheckDiffSciHelper.cs @@ -106,9 +106,9 @@ namespace HisenceYoloDetection Cv2.ImWrite(savePath3, thr2); // 创建卷积核 - Mat filter1 = new Mat(5, 5, MatType.CV_32F, new Scalar(0)); - filter1.Row(2).SetTo(new Scalar(0.025)); - filter1.Col(2).SetTo(new Scalar(0.025)); + Mat filter1 = new Mat(15, 15, MatType.CV_32F, new Scalar(0)); + filter1.Row(7).SetTo(new Scalar(0.025)); + filter1.Col(7).SetTo(new Scalar(0.025)); // 应用卷积 Mat final_result1 = new Mat();