how to convert grayscale image to binary matrix?
Mostrar comentarios más antiguos
can anyone help this question?
Respuestas (1)
Star Strider
el 23 de Mzo. de 2018
0 votos
6 comentarios
SHIREESHA THADKAPALLY
el 23 de Mzo. de 2018
Editada: Image Analyst
el 23 de Mzo. de 2018
Star Strider
el 23 de Mzo. de 2018
Image Analyst
el 23 de Mzo. de 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
el 24 de Mzo. de 2018
Star Strider
el 24 de Mzo. de 2018
Editada: Star Strider
el 24 de Mzo. de 2018
Experiment with your image to get the result you want. See the documentation for the functions we referenced.
Eduard Solovev
el 23 de Mayo de 2018
SHIREESHA THADKAPALLY,did you find the answer?
Categorías
Más información sobre Convert Image Type en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!