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.

 Accepted Answer

Walter Roberson
Walter Roberson on 30 Apr 2011

0 votes

MostFrequentGrey = mode(GreyIMG(:))

More Answers (0)

Categories

Find more on Images in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!