Reading a camera CR2 (raw) file into MATLAB

10 visualizaciones (últimos 30 días)
Matija
Matija el 11 de Dic. de 2013
Comentada: Nicolò el 12 de Mayo de 2017
Hello all,
withouth any experience and not much technical knowledge, I am trying to read CR2 files in MATLAB. For scientific purposes, I need the raw data right out of the sensor, exactly as it was recorded.
I started with Steve's blog "Tips for reading a camera raw file into MATLAB":
...and got lost soon :-)
I converted CR2 files in DNG files, but can not get the linearization curve. In Steve's blog he is working with NEF files and is getting the curve...Obviously it is not the case with CR2 files. With no knowledge about the curve, there is no guarantee that image is presented exactly as it was recorded.
If I use Adobe DNG Converter to do the dematrixing by choosing Custom > Linear(demosaic) and Uncompressed, will that answer my prays?
I doubt while reading some answers on the Adobe Community:
Please help!
Thanks in advance, Matija.

Respuesta aceptada

Matija
Matija el 12 de Dic. de 2013
Editada: Matija el 12 de Dic. de 2013
Hello,
In the mean time I found a useful article:
Capturing linear images
I just installed DCRAW and am testing it; this freeware gives you control over all processing being done in conversion step from CR2 to i.e. PPM.
For more details on DCRAW please check:
Please provide your feedback!
M.
  1 comentario
Nicolò
Nicolò el 12 de Mayo de 2017
Thank you. I had the same problem, solved with dcraw ;)

Iniciar sesión para comentar.

Más respuestas (0)

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!

Translated by