HOW TO CONVERT MATRIX INTO IMAGE
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
i'm having 8x8x96 matrix convert into images or if any other way to apply the value in images...
5 comentarios
vasantha malairamar
el 28 de Mzo. de 2017
Editada: KSSV
el 28 de Mzo. de 2017
KSSV
el 28 de Mzo. de 2017
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.
Respuestas (1)
Walter Roberson
el 28 de Mzo. de 2017
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 comentarios
Ver también
Categorías
Más información sobre Convert Image Type en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!