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

青春壹個敷衍的年華 提交于 2019-12-04 05:50:45

问题


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?


回答1:


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.




回答2:


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/



来源:https://stackoverflow.com/questions/4210612/is-there-a-function-in-matlab-that-converts-a-raw-file-into-a-matrix

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!