how do I make a binary image by specifying a threshold? for example more than intensity 200 be 1 and less than be 0?

1 visualizzazione (ultimi 30 giorni)
how do I make a binary image by specifying a threshold? for example more than intensity 200 be 1 and less than be 0?

Risposta accettata

Walter Roberson
Walter Roberson il 23 Dic 2015
Or just
BW = YourImage > 200;

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by