From ea4aef20b852e0f9db0451288fc8ca7cf3110806 Mon Sep 17 00:00:00 2001 From: Aleksandr Kulikov Date: Fri, 13 Apr 2018 01:13:12 +0300 Subject: [PATCH] Update MathematicalDefault.cs --- src/Get3DModel/CalculatedBlock/MathematicalDefault.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Get3DModel/CalculatedBlock/MathematicalDefault.cs b/src/Get3DModel/CalculatedBlock/MathematicalDefault.cs index 6d52778..aa9dd59 100644 --- a/src/Get3DModel/CalculatedBlock/MathematicalDefault.cs +++ b/src/Get3DModel/CalculatedBlock/MathematicalDefault.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Drawing; using System.Linq; @@ -18,9 +18,9 @@ public double gradientAtPoint(int x, int y) public void setImage(Bitmap image) { this.image = new Data.Image((Bitmap)image.Clone()).Convolution(new double[,] - {{0, 1, 0}, - {1, -4, 1}, - {0, 1, 0}}); + {{1, 1, 1}, + {1, -8, 1}, + {1, 1, 1}}); } }