MATLAB Answers

hello,how can i convert a gray level image to a binary image?

1 view (last 30 days)
fariba amini
fariba amini on 3 Apr 2016
Answered: Image Analyst on 3 Apr 2016
converting grau image to bainary

More Answers (1)

Image Analyst
Image Analyst on 3 Apr 2016
You can threshold at some gray level, like 154 or whatever
binaryImage = grayScaleImage > 154;
Take a look at my Image Segmentation Tutorial. It goes through the whole image segmentation process.

Community Treasure Hunt

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

Start Hunting!

Translated by