comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: kernel convolution?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: kernel convolution? [message #49527 is a reply to message #49513] Fri, 28 July 2006 14:09 Go to previous messageGo to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
adisn123@yahoo.com wrote:
> Hello,
>
> I tried FFT(discrete fast fourier transform) on my spcial image and
> used several different kinds of filtering application.
>
> What I wanted FFT to do was that FFT removes both very low frequency
> and high frequencies.
>
> I thought if I do this filtering with FFT, that I could get rid of
> stars in my images, but
> actually it turned out to be it does not, but rather reduce the
> intensity.
>
> In my understanding, it is because FFT does fourier transform pixel by
> pixel, thus if a star
> lies on several pixels, say 5 x 5, FFT of this would give both medium
> high freuqency around the star
> edge and very high frequency at the center of the star. Thus, removing
> low and high frequencies using filter would reduce the center intensity
> of the star, but still it would give me the residuals of the star.

I can't see any benefit from removing the low frequencies. However,
removing the high frequencies should do the job quite nicely, if you do
it right. If your imaging system spreads a point source like a star
over an 5x5 pixel area, and your images are 500x500, the ratio of those
two size scales is 100. Therefore, removing all frequency components
above 50 should do the job. I would guess that you weren't filtering
the right frequencies; the frequencies you're removing with the low
frequency portion of your filter may in fact be the only ones you want
to keep.

> So, I'm thinking some other method such as kernel convolution (CONV
> function in IDL).
> I'm not sure how this works exatly. If some one know about this or
> other possible method that I can choose, please reply me.

Convolution can be used to smooth out an image, but that would replace
each star with a smeared-out version of itself. Re-binning to a lower
resolution would achieve a similar result, and would be significantly
faster. If you want to actually remove the stars, filtering out the
high frequencies should work better.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Which event model?
Next Topic: Re: rotation matching of 2D images

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 05:10:26 PDT 2025

Total time taken to generate the page: 1.04066 seconds