MATLAB Answers

0

How to find neighbor pixel indices and calculate the count of pixels?

Asked by HUSNAIN RASHID on 29 Dec 2018
Latest activity Answered by Rahul punk on 15 Feb 2019
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
windowsize34.PNG

  0 Comments

Sign in to comment.

Products


Release

R2013a

1 Answer

Answer by Rahul punk on 15 Feb 2019

https://www.mathworks.com/matlabcentral/fileexchange/70220-rahulpunk?s_tid=prof_contriblnk

  0 Comments

Sign in to comment.