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.

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 30 Apr. 2011

0 Stimmen

MostFrequentGrey = mode(GreyIMG(:))

Weitere Antworten (0)

Kategorien

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by