How do I select a window of pixels around a pixel?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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
0 comentarios
Respuestas (1)
Ameer Hamza
el 18 de Nov. de 2020
See conv2(): https://www.mathworks.com/help/matlab/ref/conv2.html or imfilter(): https://www.mathworks.com/help/images/ref/imfilter.html
0 comentarios
Ver también
Categorías
Más información sobre Image Processing Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!