开发者

Is there a function in MATLAB that converts a .raw file into a matrix?

开发者 https://www.devze.com 2023-01-25 21:07 出处:网络
I want to import a .raw file into MATLAB as a matrix (frames x spatial x spectral). Is there a开发者_运维技巧 built-in function to do this?If you\'re referring to a raw image file from a camera, I wou

I want to import a .raw file into MATLAB as a matrix (frames x spatial x spectral). Is there a开发者_运维技巧 built-in function to do this?


If you're referring to a raw image file from a camera, I would check out the submission RAW Camera File Reader from Bryan White on the MathWorks File Exchange.


You can also read the file directly. But you'll need to convert it to DNG first. See this: http://blogs.mathworks.com/steve/2011/03/08/tips-for-reading-a-camera-raw-file-into-matlab/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号