How can i do image binarization with threshold?

1 次查看(过去 30 天)
Hi, i have a problem. It seeks to establish a threshold (a number, eg. 128) and if for each pixel in its 3 color component value is less than the threshold, we generate a zero, and if it's more than threshold, 1. And the result will be a single matrix of zeros and ones. I need hep please. Thanks for all.

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by