how to reshape a single image
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 22 Sep. 2016
0 Stimmen
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.
Kategorien
Mehr zu Display 2-D Images finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!