HOW TO CONVERT MATRIX INTO IMAGE
조회 수: 6 (최근 30일)
이전 댓글 표시
i'm having 8x8x96 matrix convert into images or if any other way to apply the value in images...
댓글 수: 5
KSSV
2017년 3월 28일
Error is with filename, what is the filename you have given? Also it is tough to check with out knowing dimensions/ data of the variables.
답변 (1개)
Walter Roberson
2017년 3월 28일
filename=sprintf('file%d.bmp',ks)
However, you cannot imwrite() a matrix with 96 color channels. You need to follow up on https://www.mathworks.com/matlabcentral/answers/329919-we-have-8-8-96-matrix-and-we-want-to-convert-this-matrix-into-an-image-how-to-convert-it to explain there what you are doing.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Import, Export, and Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!