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 Ansicht (letzte 30 Tage)
how do I make a binary image by specifying a threshold? for example more than intensity 200 be 1 and less than be 0?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 23 Dez. 2015
Or just
BW = YourImage > 200;

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by