Sign in to follow this  
ClementLuminy

Question with gaussian curve

Recommended Posts

ClementLuminy    121
Hello. I'm using a standard Gaussian curve in order to compute a kernel for my Bloom Filter. The problem is that with the standard Gaussian Curve, the maximal value of the curve vary according to the "Standard deviation" parameter. ( look at : http://en.wikipedia.org/wiki/Image:Normal_distribution_pdf.png to see what i'm talking about ) And because of that, it's hard to correctly define the good behavior for the Bloom filter. How can i get a gaussian curve that still have the same "maximal value" ? Is there a scalar factor by which i can multiply the result of the gauussian equation in order to "re normalize" it ?? Thanks. Clément Vidal

Share this post


Link to post
Share on other sites
Dave Eberly    1173
Usually, you want no "intensity gain" after the blur (effectively, conservation of energy). This means that your weights must sum to 1, in which case you cannot select the "maximal value" for the center point. You could sample the Gaussian distribution and divide by some factor so that the center point has "maximal value" that you specify, but then your weights most likely will not sum to 1. The result is either an intensiy gain or an intensity loss.

Share this post


Link to post
Share on other sites
Vorpy    869
You're using a discrete filter, right? So your filter is represented by an array of discrete values? To normalize it, just add up all the values, then divide them all by that sum. The sum of all the values in the array is now 1.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this