Conversion of Vector Image into RGB Image

1 visualizzazione (ultimi 30 giorni)
I convert the image into column vector i.e.
I=imread ('abc.jpg');
Vector_Img= I(:);
Now if I want to reconvert "vector_Img" into RGB image of size [34X34X3]; what should be done?

Risposta accettata

Walter Roberson
Walter Roberson il 17 Mag 2018
reshape(Vector_Img, 34, 34, 3)

Più risposte (0)

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!

Translated by