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
|