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 Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by