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

조회 수: 6 (최근 30일)
HUSNAIN RASHID
HUSNAIN RASHID 2018년 12월 29일
답변: Rahul punk 2019년 2월 15일
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

답변 (1개)

Rahul punk
Rahul punk 2019년 2월 15일
https://www.mathworks.com/matlabcentral/fileexchange/70220-rahulpunk?s_tid=prof_contriblnk

제품


릴리스

R2013a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by