How do I select a window of pixels around a pixel?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Ameer Hamza
il 18 Nov 2020
See conv2(): https://www.mathworks.com/help/matlab/ref/conv2.html or imfilter(): https://www.mathworks.com/help/images/ref/imfilter.html
0 Commenti
Vedere anche
Categorie
Scopri di più su Image Processing Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!