Converting glcm 8*8 matrix to single row vector
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
IP student ;(
le 31 Jan 2019
Commenté : madhan ravi
le 31 Jan 2019
how to convert 8*8 grey co matrix to to a single row vector??
A= image path;
glcm=graycomatrix(A);
this is the code that i"m using.
0 commentaires
Réponse acceptée
Stephen23
le 31 Jan 2019
Modifié(e) : Stephen23
le 31 Jan 2019
Depending on the order you want, probably one of these:
reshape(glcm,1,[])
reshape(glcm.',1,[])
1 commentaire
madhan ravi
le 31 Jan 2019
Also
glcm(:).' % but definitely reshape is faster
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Creating and Concatenating Matrices 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!