X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 01 Feb 2007 08:03 PM by  anon
moving window
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
01 Feb 2007 08:03 PM
    Hello, 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. I am thinking of making a kernel[7,7], but not sure how to move it across the image and computer pixel values using it. Anyone has any idea? Thanks for all your help, rp

    Deleted User



    New Member


    Posts:
    New Member


    --
    01 Feb 2007 08:03 PM
    Radha, The way you wrote this message sounds like you are wanting to move this window around interactively, like dragging it with a mouse. But although that is the way that it sounds, I am guessing that you actually want this kernel to process your entire image programatically, without any user input. Is that right? If so, have you looked at any of the options that are presented with examples in IDL's 'Online Help -> Contents tab page -> User's Guides -> Image Processing in IDL -> Contrasting and Filtering'? There are several kernel-based filters there and those perform all their "movement of kernel" in just a one-line code call. James Jones
    You are not authorized to post a reply.