Can anybody suggest me to region fill this image on the basis of neighbouring pixels?
3 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Read, Write, and Modify Image 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!