image processing algorithm for filling

I am going to try but in the meantime if anybody wants to help ... I have a 2-D image in black, white and red. Going across each row, I want to change white and red pixels to black if they are surrounded by a red border and black pixels. for each row A if pixel(a,A) = black; pixel(b,A) = red; and pixel(c,A) = white; then make all pixels black until pixel(x,A) = white; pixel(y,A) = red; and pixel(c,A) = is black

1 件のコメント

Image Analyst
Image Analyst 2016 年 11 月 6 日
Please post your image so we can see it and offer advice or code.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

質問済み:

2016 年 11 月 6 日

コメント済み:

2016 年 11 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by