how to reshape a single image
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (1)
Image Analyst
el 22 de Sept. de 2016
0 votos
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.
1 comentario
Jean Marcellino
el 24 de Sept. de 2016
Categorías
Más información sobre Display 2-D Images en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!