Effacer les filtres
Effacer les filtres

Image convert to vector and vector convert to image

2 vues (au cours des 30 derniers jours)
kourosh
kourosh le 29 Mar 2012
Hi how i convert an image to vector and convert the vector to first image. If possible, do not use the reshape command. i will apply this your code for image converting of each 400 images database. if i use reshape command in converting loop of 400 images i get an error. Thanks.
  1 commentaire
Jan
Jan le 29 Mar 2012
RESHAPE is fine for this job. Please post the code and the error message.

Connectez-vous pour commenter.

Réponses (1)

Jakob Sørensen
Jakob Sørensen le 29 Mar 2012
Have you tried using vec2mat to convert from vector to matrix? And the other way you can just use vector = matrix(:)

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!

Translated by