Converting glcm 8*8 matrix to single row vector

9 vues (au cours des 30 derniers jours)
IP student ;(
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.

Réponse acceptée

Stephen23
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
madhan ravi le 31 Jan 2019
Also
glcm(:).' % but definitely reshape is faster

Connectez-vous pour commenter.

Plus de réponses (0)

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!

Translated by