public Bitmap SmothFilter(Bitmap img) { PointedMeanFloodFill filter = new PointedMeanFloodFill(); filter.Tolerance = Color.FromArgb(150, 92, 92); filter.StartingPoint = new AForge.IntPoint(150, 100); return(filter.Apply(img)); }
public mFillMean(Color ToleranceColor, int X, int Y) { Tolerance = ToleranceColor; CoordPoint = new IntPoint(X, Y); BitmapType = mFilter.BitmapTypes.Rgb24bpp; Effect = new PointedMeanFloodFill(); Effect.Tolerance = Tolerance; Effect.StartingPoint = CoordPoint; filter = Effect; }