how to reshape a single image
이전 댓글 표시
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
채택된 답변
추가 답변 (1개)
Image Analyst
2016년 9월 22일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Display 2-D Images에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!