Writing data into an array
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
How can I store images in an array?
0 comentarios
Respuestas (1)
Wayne King
el 29 de Abr. de 2012
Can you be more specific what you mean by store? Images in MATLAB are naturally matrices, either 2-D matrices, or 3-D for something like an RGB image. For example:
imdata = imread('ngc6543a.jpg');
You can store the result in a .mat file, or you can use imwrite to write a specific image format, or a number of other more basic file writing routines.
2 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!