HOW TO CONVERT MATRIX INTO IMAGE
2 次查看(过去 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!