how to convert a image to matrix?
10 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
how to convert a image to matrix?
0 Commenti
Risposta accettata
Jos (10584)
il 24 Feb 2014
M = imread('MyImage.png')
M is a matrix ...
3 Commenti
Laurent
il 24 Feb 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.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Convert Image Type in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!