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?
相关问题
- Extract matrix elements using a vector of column i
- Reshape matrix by rows
- Non-Conformable Arrays when Doing Matrix Multiplic
- How do you get R's null and residual deviance
- How to display an image represented by three matri
相关文章
- How to replace file-access references for a module
- Numpy matrix of coordinates
- How do I append metadata to an image in Matlab?
- Why is file_get_contents faster than memcache_get?
- Transactionally writing files in Node.js
- C++: How to use unnamed template parameters in cla
- How to compute the power of a matrix in R [duplica
- How can I write-protect the Matlab language?
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/
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.