Re: Gaussian blur kernels

"Nicholas \"Indy\" Ray" <[email protected]>
Newsgroups gmane.games.devel.algorithms
Message-ID <[email protected]>
On Wed, Jul 15, 2009 at 4:46 PM, Joe Meenaghan<[email protected]> wrote:
> Would the 5x5 over the lower res texture be approximately equivalent to a
> 9x9 at the higher res for example, or perhaps something along these lines?

No... That isn't how it works; A downsample shares very little in
common with a blur.

> Similarly, what about running the 5x5 (or whatever size) N times in
> succession over the same texture? Is there a mapping that comes into play
> here, like, "X successive passes with a kernel of NxN is approximately
> equal to 1 pass with kernel of MxM"?

I think the computation goes like this:

Running two successive Gaussian blurs is equal to one Gaussian blur,
who's distance is equal to the square root of the sum of the squares
of the two blurs.

Thus, for two 5x5 blurs: sqrt(5^2 + 5^2) ~= 7. Or two 5x5 blurs is
about equal to a 7x7 blur.

Nicholas "Indy" Ray

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
GDAlgorithms-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.