How do I select a window of pixels around a pixel?
4 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Ameer Hamza
2020 年 11 月 18 日
See conv2(): https://www.mathworks.com/help/matlab/ref/conv2.html or imfilter(): https://www.mathworks.com/help/images/ref/imfilter.html
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!