How can i do image binarization with threshold?

1 回表示 (過去 30 日間)
robert
robert 2014 年 6 月 19 日
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