how to convert a image to matrix?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
azar
el 24 de Feb. de 2014
Comentada: Simon Song
el 1 de Mayo de 2020
how to convert a image to matrix?
0 comentarios
Respuesta aceptada
Jos (10584)
el 24 de Feb. de 2014
M = imread('MyImage.png')
M is a matrix ...
3 comentarios
Laurent
el 24 de Feb. de 2014
size(M)
will give you the length of each dimension.
ndims(M)
gives you the number of dimensions of your image, which will probably be 2.
Más respuestas (0)
Ver también
Categorías
Más información sobre Convert Image Type en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!