Skip to main content
GameDev.net gamedev.net
🔒 Locked

gaussian blur

Started by 7Days May 2, 2006 at 9:38 AM 1 replies 900+ views
Original Post
7Days
7Days
Hi, I'd like to perform a blur effect on a picture. I would like to use a gaussian blur filter. Where can I found the matrix (I'd like the size to be 7*7 or 9*9) Thanks
ldb
ldb
http://homepages.inf.ed.ac.uk/rbf/HIPR2/gsmooth.htm

For the mathematically inclined, you can get a little background and learn how to basically create your own matrix of a particular size and variance. Or, you can just steal the 7x7 matrix they provide. Don't forget to divide all the numbers by the division factor so the entire matrix adds up to 1. Also, it should be noted that these filters are almost always seperable, and therefore can be done in 2-passes with N sized vectors instead of an NxN matrix... this is generally faster.
7Days
7Days
Thanks

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.