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 vue (au cours des 30 derniers jours)
how do I make a binary image by specifying a threshold? for example more than intensity 200 be 1 and less than be 0?

Réponse acceptée

Walter Roberson
Walter Roberson le 23 Déc 2015
Or just
BW = YourImage > 200;

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by