how to convert grayscale image to binary matrix?
显示 更早的评论
回答(1 个)
Star Strider
2018-3-23
0 个投票
6 个评论
SHIREESHA THADKAPALLY
2018-3-23
编辑:Image Analyst
2018-3-23
Star Strider
2018-3-23
Image Analyst
2018-3-23
After thresholding with the functions, or yourself like this:
binaryImage = grayImage > someThreshold;
call imresize() to make the image 8 by 8
binaryImage = imresize(binaryImage, [8,8], 'nearest');
SHIREESHA THADKAPALLY
2018-3-24
Star Strider
2018-3-24
编辑:Star Strider
2018-3-24
Experiment with your image to get the result you want. See the documentation for the functions we referenced.
Eduard Solovev
2018-5-23
SHIREESHA THADKAPALLY,did you find the answer?
类别
在 帮助中心 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!