how to find the local mean value for an image?

2 views (last 30 days)
I have an image and I want to calculate the average pixel value of that image, i.e. the value at each pixel is the average value of neighbourhood pixels' intensities in 3*3 window of the image. Therefore, for every pixel, we have to take the mean of its neighbourhood pixels' intensities.
Does anyone know how to do this in matlab?

Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!