Reply by Andor December 25, 20042004-12-25
jim wrote:

"
Or better yet he should have asked no more than this:
"what is this window called?-> sqrt(1/(1+x^2))"

Don't know the answer myself, it is very similar to a gaussian in
shape.
"

Although it does have that hump-type of look to it, it is, in a way,
about as far away from Gaussian as possible.

>From a probability point of view, it is the density function of a
Cauchy distributed random variable. You can view the Cauchy distribution as the edge member of a one-parameter family of probability distributions (the t_n-distributions where the parameter n is the degrees of freedom - Cauchy has n=1). As n goes to infinity, this family converges (in the weak sense) to the Gaussian distribution. Cauchy distribution is notorious and gives nice counter-examples to almost any convergence theorem in probability theory (for example, the renormalized sum of a number of Cauchy distributed rv's is again Cauchy distributed, thus stays away from Gaussian as fas as possible, in the above sense, mocking the CLT). The characteristic function (Fourier transform) of the Cauchy distribution is of the form exp(-c |f|), where c is some constant related to the variance (interestingly, it decays slower than the Gaussian in both time and frequency domain). Regards, Andor
Reply by December 25, 20042004-12-25
Jerry Avins wrote:
> > If I knew what alpha, x, and y represented, I could better understand > the question. >
I was going to write this thread of as a lost cause but it's becoming hilarious. Jerry I thought you plonked me, now here you are again asking questions! If you study the OP it says "x,y range from 1-n/2 to n/2 and alpha is a scalar". Although if you meant, what does "x" *really* mean you could try alt.philosophy. Or maybe if you don't know the name, you could just stay silent? Just a thought.
Reply by Jerry Avins December 25, 20042004-12-25
jim wrote:

> > Jerry Avins wrote:
...
>>The problem with that view is that it's neither a filter nor a shape, so >>it's probably wrong. To have asked the question without defining any of >>the quantities is wronger. >> > > > It's clearly both a filter and a shape. The OP already has explained > he's using it as a filter. He knows what it does in that context. The > question was if the frequency domain shape or spacial domain filter had > been given a name.
If I knew what alpha, x, and y represented, I could better understand the question. Jerry -- Engineering is the art of making what you want from things you can get. �����������������������������������������������������������������������
Reply by jim December 25, 20042004-12-25

Jerry Avins wrote:
> > jim wrote: > > ... > > > .... Had he asked simply "I have a 2d window. Basically > > the window is this: > > > > f = sqrt(alpha / (alpha + x^2 + y^2)) > > > > Does anybody have a name for this shape" > > > > Or better yet he should have asked no more than this: > > "what is this window called?-> sqrt(1/(1+x^2))" > > ... > > I took x and y to be the pixel coordinates, and therefore different at > different differences from the origin. I would have written > sqrt(h�/(h� + r�)).
Yes, but for purposes of this discusion we only need to consider the cross-section of the implied surface: wn = sqrt(h�/(h� + x�)) and h is a constant which might as well be 1 as it's essentially a scale factor for the width of the central hump.
> I see that as a (mysterious) way to fade to black away from the origin. > > The problem with that view is that it's neither a filter nor a shape, so > it's probably wrong. To have asked the question without defining any of > the quantities is wronger. >
It's clearly both a filter and a shape. The OP already has explained he's using it as a filter. He knows what it does in that context. The question was if the frequency domain shape or spacial domain filter had been given a name. -jim ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups ---= East/West-Coast Server Farms - Total Privacy via Encryption =---
Reply by Jerry Avins December 25, 20042004-12-25
jim wrote:

  ...

> .... Had he asked simply "I have a 2d window. Basically > the window is this: > > f = sqrt(alpha / (alpha + x^2 + y^2)) > > Does anybody have a name for this shape" > > Or better yet he should have asked no more than this: > "what is this window called?-> sqrt(1/(1+x^2))"
... I took x and y to be the pixel coordinates, and therefore different at different differences from the origin. I would have written sqrt(h�/(h� + r�)). I see that as a (mysterious) way to fade to black away from the origin. The problem with that view is that it's neither a filter nor a shape, so it's probably wrong. To have asked the question without defining any of the quantities is wronger. Jerry -- Engineering is the art of making what you want from things you can get. �����������������������������������������������������������������������
Reply by jim December 24, 20042004-12-24

Tim Wescott wrote:
> > spasmous@yahoo.com wrote: > > > I've started using a simple windowing function to low pass filter a 2D > > image. Following the FFT, I multiply in the frequency domain with a > > function that increases with distance from the origin (allowing for > > wrapping). Then I IFFT back to the image domain. Basically the window > > is this: > > > > f = sqrt(alpha / (alpha + x^2 + y^2)) > > > > where x,y range from 1-n/2 to n/2 and alpha is a scalar. > > Anyone know what this filter is called? > > > If the "windowing" is done in the frequency domain it's called a filter, > not a window. > > Now who's the idiot?
Well he did make the mistake of supplying more information then the question required. Had he asked simply "I have a 2d window. Basically the window is this: f = sqrt(alpha / (alpha + x^2 + y^2)) Does anybody have a name for this shape" Or better yet he should have asked no more than this: "what is this window called?-> sqrt(1/(1+x^2))" Don't know the answer myself, it is very similar to a gaussian in shape. -jim ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups ---= East/West-Coast Server Farms - Total Privacy via Encryption =---
Reply by December 24, 20042004-12-24
Oh stop being a crybaby, I'm sure you've seen worse. But I'm intrigued
by what you call "help"... in other groups we actually use the
dictionary meaning.

Reply by December 24, 20042004-12-24
Oh stop being a crybaby, I'm sure you've seen worse. But I'm intrigued
by what you call "help"... in other groups we actually use the
dictionary meaning.

Reply by Eric Jacobsen December 24, 20042004-12-24
On 23 Dec 2004 12:38:14 -0800, spasmous@yahoo.com wrote:

> >Tim Wescott wrote: > >> If the "windowing" is done in the frequency domain it's called a >filter, >> not a window. >> > >Mm hm? Well that's great. Did you check my spelling too?
What is it with the noobs and their questions here lately? The homework density seems to be going up and now we get a crop of disrepectful twits that respond to help with insults. Either that or the trolls are bored again. Eric Jacobsen Minister of Algorithms, Intel Corp. My opinions may not be Intel's opinions. http://www.ericjacobsen.org
Reply by Jerry Avins December 23, 20042004-12-23
spasmous@yahoo.com > killfile
-- 
Engineering is the art of making what you want from things you can get.
�����������������������������������������������������������������������