Какой алгоритм размытия использует createBlurEffect в Android? ⇐ Android
-
Anonymous
Какой алгоритм размытия использует createBlurEffect в Android?
From what I can tell the two most popular blurring algorithms are Gaussian Blur and Box Blur. I am curious which one Android uses in its RenderEffect method createBlurEffect. Alternatively, is there a way I can test this easily? Like create a small 3x3 bitmap and apply the effect to this bitmap and print out the subsequent colors? It seems hard to get a bitmap from this.
Источник: https://stackoverflow.com/questions/781 ... effect-use
From what I can tell the two most popular blurring algorithms are Gaussian Blur and Box Blur. I am curious which one Android uses in its RenderEffect method createBlurEffect. Alternatively, is there a way I can test this easily? Like create a small 3x3 bitmap and apply the effect to this bitmap and print out the subsequent colors? It seems hard to get a bitmap from this.
Источник: https://stackoverflow.com/questions/781 ... effect-use
Мобильная версия