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.

 Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 18 Avr 2023
Modifié(e) : MathWorks Support Team le 19 Avr 2023

0 votes

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.

Plus de réponses (0)

Catégories

En savoir plus sur Data Import and Analysis dans Centre d'aide et File Exchange

Produits

Version

R14SP2

Community Treasure Hunt

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

Start Hunting!

Translated by