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

1 次查看(过去 30 天)
converting grau image to bainary

采纳的回答

Kuifeng
Kuifeng 2016-4-3

更多回答(1 个)

Image Analyst
Image Analyst 2016-4-3
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. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by