How to find neighbor pixel indices and calculate the count of pixels?
1 回表示 (過去 30 日間)
古いコメントを表示
Hey!!! I want to find the neighbor pixel indices and then calculate the count of neighbor pixels (say: white, grey and black pixels). After finding that count i want the pixel with highest count is assigned to target pixel. I want to repeat this step for every pixel of the image. This may reduce the irregularties in white, grey and black regions.
Below mentioned image is the result of my eperiment.
Pl support. thanks
0 件のコメント
回答 (1 件)
Rahul punk
2019 年 2 月 15 日
https://www.mathworks.com/matlabcentral/fileexchange/70220-rahulpunk?s_tid=prof_contriblnk
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!