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

Más respuestas (1)

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

Categorías

Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 3 de Abr. de 2016

Respondida:

el 3 de Abr. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by