How do I select a window of pixels around a pixel?

3 views (last 30 days)
I need to select a window of 7 * 7 pixels around a selected pixel and navigate through each pixel in an image (grayscale binary image) using a for loop within the window and extract brightness intensity of each pixel wihin the window. I needed to find the mean of intensity value.
Valuable guidance and help will be highly appreciated
Thank you in advance

Answers (1)

Ameer Hamza
Ameer Hamza on 18 Nov 2020

Categories

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

Community Treasure Hunt

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

Start Hunting!