How can I read "raw" camera images using MATLAB?

I am working with unprocessed, or "raw", images from my digital camera. I would like to load these images into MATLAB for processing or analysis.

 Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 18 de Abr. de 2023
Editada: MathWorks Support Team el 19 de Abr. de 2023

0 votos

The ability to read "raw" image files is not available in MATLAB. However, you can read those files using low level File I/O functions.
To read a "RAW image file, we need to know exact dimensions (in pixels) and the binary encoding style used for storing the image. Please find the attached example of a sample file and code to read it in MATLAB.
 
Also, there is a post on MATLAB Central that may be helpful:
 
 
Please note that MathWorks Technical Support does not support user-contributed files.

Más respuestas (0)

Categorías

Más información sobre Data Import and Analysis en Centro de ayuda y File Exchange.

Productos

Versión

R14SP2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by