How can I read a cr2 file in MATLAB?

7 ビュー (過去 30 日間)
Guillaume
Guillaume 2016 年 11 月 28 日
コメント済み: Walter Roberson 2016 年 11 月 28 日
I captured some RAW pictures with a Canon EOS 5D mark ii (14 bit) and I got cr2 files.
I would like to have the matrix containing the pixel values (between 0 and 16383) in MATLAB. How should I proceed?
Thank you!
  2 件のコメント
dpb
dpb 2016 年 11 月 28 日
I gargled on the CR2 format and found a couple of links of interest...no current Matlab code showed up, however.
http://lclevy.free.fr/cr2/ is a pretty detailed description of the format it appears and there's the Canon site drivers download page which would undoubtedly give you something to start from for putting together a mex function.
Seems like most folks recommend using a freeware converter of some sort to get the images into a more widely supported format, though.
Walter Roberson
Walter Roberson 2016 年 11 月 28 日

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSoftware Development Tools についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by