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!