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

조회 수: 1 (최근 30일)
fariba amini
fariba amini 2016년 4월 3일
답변: Image Analyst 2016년 4월 3일
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