Reading a camera CR2 (raw) file into MATLAB

조회 수: 10 (최근 30일)
Matija
Matija 2013년 12월 11일
댓글: Nicolò 2017년 5월 12일
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.

채택된 답변

Matija
Matija 2013년 12월 12일
편집: Matija 2013년 12월 12일
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
Nicolò
Nicolò 2017년 5월 12일
Thank you. I had the same problem, solved with dcraw ;)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by