If we have a set of pixel like below:netmaestro wrote:How to achieve faster performance for the blur ?
Code: Select all
0000F0000- in a left shift
- in a right shift
through an graduate alphablending, the result is:
Code: Select all
0007F7000Now, on a plane, let's imagine 8 specific alpha values for the 8 directions over a pixel :
Code: Select all
 a  b  a
 b  P  b
 a  b  ab = 1/2
If we do a grab of an image and apply 8 copies of this image matching the eight following shifts:
Code: Select all
 x  y  alpha
-1 -1  a
-1  0  b
-1 +1 a
 0 -1  b
 0 +1 b
+1 -1  a
+1  0  b
+1 +1 a
