Skip to content

Commit

Permalink
Update MathematicalDefault.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
arechesk authored Apr 12, 2018
1 parent 222963d commit ea4aef2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Get3DModel/CalculatedBlock/MathematicalDefault.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
Expand All @@ -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}});
}

}
Expand Down

0 comments on commit ea4aef2

Please sign in to comment.