How to convert bytes into image again?
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have an image of 294x558x3 size
I read it byte by byte by using
ImageAsBytes = typecast(CoverImage(:), 'uint8')
to perform some specific operation but now after peforming
how can I covert it back to image format??
0 comentarios
Respuesta aceptada
Walter Roberson
el 19 de Abr. de 2013
Editada: Walter Roberson
el 19 de Abr. de 2013
reshape( typecast(ImageAsBytes, class(CoverImage)), size(CoverImage))
Más respuestas (0)
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!