MATLAB: Constructiong 3×3 matrix window

doit4meduplicate postImage Processing Toolboxno attemptsliding window

I am designing a filter removing impulses noises from an RGB IMAGE
For identifying the noise pixels in the image I need a 3×3 window to slide over the image starting from the first Pixel to the Last.
If the corrupted Pixel is found i have to do some calculation to correct it.
To find this Corrupted Pixel I need a 3×3 Window to slide over my Image.
please send me the code for this

Best Answer

Hint - the CONV command
Related Question