how can i convert a colour image to binary format
显示 更早的评论
i require a convertion of image to binary format
2 个评论
Image Analyst
2015-1-21
You probably need to do a whole lot more than that. Why don't you read this and then attach your image and say what you need to measure. If the algorithm is simple enough (i.e. not a major project), we can help you decide which MATLAB functions to call. In the meantime, see my image processing tutorials here.
chenna kesava
2015-1-23
回答(1 个)
Geoff Hayes
2015-1-21
1 个投票
Chenna - try converting the colour image to grayscale using rgb2gray, and then convert that to binary using im2bw. The second function is part of the Image Processing Toolbox.
类别
在 帮助中心 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!