Fixed median filter bug
This commit is contained in:
@@ -80,7 +80,7 @@ namespace AgraV2
|
|||||||
List<int> Greens = new List<int>();
|
List<int> Greens = new List<int>();
|
||||||
List<int> Reds = new List<int>();
|
List<int> Reds = new List<int>();
|
||||||
|
|
||||||
List<Point> surroundingPixels = getSurroundingPixels(new Point(x, y), 2, imgSize.Width, inputBmp.Height);
|
List<Point> surroundingPixels = getSurroundingPixels(new Point(x, y), Radius, imgSize.Width, inputBmp.Height);
|
||||||
|
|
||||||
foreach (Point pixel in surroundingPixels)
|
foreach (Point pixel in surroundingPixels)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user