The Bilateral Blur Filter for Flash is now on Pixel Bender Exchange (in staff picks!)

April 24th, 2009  |  Published in Uncategorized

I’ve put my bilateral blur filter on Pixel Bender Exchange and it is selected as staff picks!

Go and download it from the page: Bilateral Blur Filter for Flash on Pixel Bender Exchange

ps. That one is optimized, processing time oringinally is 2 – 3s , it’s now 0.6 – 0.7s (for a 320*240 image).

Tags: ,

Bilateral Blur by Pixel Bender

April 14th, 2009  |  Published in Uncategorized

I’ve been working on implementing a bilateral blur for Flash. Currently the functionality is ok but the performance is quite poor (on my Intel MacBook, processing a 320×240 image takes ~2s). I’ve even tried to replace the Gaussian weighting functions with linear functions but it does not help a lot but leads to worse quality. The problem should be the sampling size of each pixel which I hard coded to be 9×9 square. Reducing the sampling area would help but again reducing quality.

It is frustrating that Pixel Bender in Flash do not have loops. Even accessing vector/matrix elements with variable index is not possible.

Anyway, here below is a demo.

Before applying filter.

Before applying filter.

After applying filter.

After applying filter.

Hope I can further optimize it later. (or better Adobe gives us GPU mode :lol: )

UPDATED: See this blog post

Tags: ,