how to convert a image to matrix?
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
how to convert a image to matrix?
0 commentaires
Réponse acceptée
Jos (10584)
le 24 Fév 2014
M = imread('MyImage.png')
M is a matrix ...
3 commentaires
Laurent
le 24 Fév 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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Convert Image Type dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!