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

后端 未结 2 1580
南旧
南旧 2021-01-26 13:15

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?

相关标签:
2条回答
  • 2021-01-26 13:20

    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 讨论(0)
  • 2021-01-26 13:30

    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.

    0 讨论(0)
提交回复
热议问题