blur image code example
Example 1: image blur css
filter: blur(8px);
-webkit-filter: blur(8px);
Example 2: blur filter
#define filterWidth 3
#define filterHeight 3
double filter[filterHeight][filterWidth] =
{
0.0, 0.2, 0.0,
0.2, 0.2, 0.2,
0.0, 0.2, 0.0
};
double factor = 1.0;
double bias = 0.0;