If you weight all samples equally for your box-blur, you will achieve the bokeh effect too...but quads are usually not perceived as aesthetic as hexagons or discs for this case. tongue

What applications do you have in mind for your shown algorithm?