Created
November 19, 2017 22:33
-
-
Save LionRoar/c80c452beb60684799d29098e708eb02 to your computer and use it in GitHub Desktop.
GaussianBlur
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private Bitmap FastGaussianBlur(BitmapW src, int Raduis) { | |
var bxs = boxesForGaussian(Raduis, 3); | |
BitmapW img = FastBoxBlur(src, bxs[0]); | |
BitmapW img_2 = FastBoxBlur(img, bxs[1]); | |
BitmapW img_3 = FastBoxBlur(img_2, bxs[2]); | |
return img_3; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment