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

Home » Public Forums » archive » Re: Filter image with moving window and averaging pixels
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: Filter image with moving window and averaging pixels [message #52439 is a reply to message #52344] Wed, 31 January 2007 12:23 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
David Fanning wrote:
> rpertaub@gmail.com writes:
>
>
>> I need to filter some noise out of an image and was pointed towards
>> making a moving/sliding window (size, say 7x7) and compare the center
>> pixel with surrounding pixels right next to border (ignoring middle
>> pixels). And compare the value of center pixel with the border average
>> pixels and thus filter out noise. However, I am not sure how to do
>> this.
>> Anyone has any idea?
>> Did I say I was new to IDL...?
>> Thanks for all your help,
>> my last query was met by very helpful replies, and I am grateful!
>
>
> I think I would start with SMOOTH, or perhaps MEDIAN,
> and then let us know how you are getting on. :-)
>
> Cheers,
>
> David

... these 2 functions seems to be considering the pixels adjacent to the
center one... 'rp' wants to leave a gap of one pixel between the center
one and the ones used for the computation...

Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: non linear systems, mpfitexpr and functargs
Next Topic: operation with array of NaNs

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

Current Time: Sun Oct 12 14:17:57 PDT 2025

Total time taken to generate the page: 1.27697 seconds