how to reshape a single image
Afficher commentaires plus anciens
hey experts , i just wanna ask how to reshape a single matrix to an image in coding like this
dhsig2 = huffmandeco(hcode1,handles.dict);
hsl3=uint8(reshape(dhsig2));
thanks
Réponse acceptée
Plus de réponses (1)
Image Analyst
le 22 Sep 2016
0 votes
You have to pass in the number of rows and columns that you want the final array to be to the reshape() function. Otherwise how can it know what shape/dimensions you want? It won't know unless you tell it.
Catégories
En savoir plus sur Display 2-D Images dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!