ConvolutionFilter explorer
Since I read about the Convolution Filter in Actionscript3 Cookbook I’ve wanted to try it out . In chapter 10 : “Filters and Transforms” there is example code for generating “embossing, sharpening and Edge Detect” filters using the ConvolutionFilter, as Borat would say, very naaaiice…
Instead of typing in a gazillion “test matrices” I decided to follow the tradition of “flex [fill the blank] explorers”, so, behold,

The Dazzling ConvolutionFilter explorer
again, right click on the app for source.
I didn’t actually have the “moment of AAAH”
oh: that I was hoping for. I gained a bit of insight, but more playing around (or reading theory *gasp*) is required. If any one of you millions of fanatic sakri.net/blog readers (who no doubt will spend days playing with this 1337 application) happen to come up with interesting Matrices (or insight), don’t hesitate to post responses.
On another titilating side note, this was the first thing I built with Moxie. Nope, didn’t use any of the new features, but I thought I would sound far far cooler…


June 4th, 2009 at 4:12 pm
[...] it because it didn’t seem very useful. But a couple of days ago I was playing with the nice ConvolutionFilter explorer by Sakari and I noticed it can expose some interesting info about a [...]
October 23rd, 2009 at 10:38 pm
I’ve been having some fun with your explorer, and thought I’d drop in a bit about blurs–
just set all the values in the matrix to 1, and the multiplier to a value that keeps the image about the same ‘brightness’. The larger the grid, the stronger the blur.
as in a 6×6:
new ConvolutionFilter(6,6,new Array(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1),40);
Thanks for the explorer!
May 21st, 2010 at 7:03 pm
Hi, your explorer is great, but would improve by miles if you could put Number values into the boxes rather than integers.