Can anybody suggest me to region fill this image on the basis of neighbouring pixels?

3 visualizaciones (últimos 30 días)
It is a color image where I have to fill the black/red regions depending on the color of neighbouring pixels.If the number of green pixels in the neighbour is more,then it will be filled with green,and if its red,then it is to be filled with red.Please help.

Respuestas (0)

Categorías

Más información sobre Read, Write, and Modify Image en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by