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.

 Réponse acceptée

Walter Roberson
Walter Roberson le 30 Avr 2011

0 votes

MostFrequentGrey = mode(GreyIMG(:))

Plus de réponses (0)

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by