background subtraction

Hi. I have to do this thing: eliminate the background of a Braille image by setting all pixels with the most frequent gray scale value to zeros. How can i do this? Please someone help me. Thanks.

 採用された回答

Walter Roberson
Walter Roberson 2011 年 4 月 30 日

0 投票

MostFrequentGrey = mode(GreyIMG(:))

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by