how to convert grayscale image to binary matrix?
Ältere Kommentare anzeigen
can anyone help this question?
Antworten (1)
Star Strider
am 23 Mär. 2018
0 Stimmen
6 Kommentare
SHIREESHA THADKAPALLY
am 23 Mär. 2018
Bearbeitet: Image Analyst
am 23 Mär. 2018
Star Strider
am 23 Mär. 2018
Image Analyst
am 23 Mär. 2018
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
am 24 Mär. 2018
Star Strider
am 24 Mär. 2018
Bearbeitet: Star Strider
am 24 Mär. 2018
Experiment with your image to get the result you want. See the documentation for the functions we referenced.
Eduard Solovev
am 23 Mai 2018
SHIREESHA THADKAPALLY,did you find the answer?
Kategorien
Mehr zu Convert Image Type finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!