MATLAB: How to read 3D .raw volume file

3d raw file

Is that a way to read the 3D .raw volume data directly in matlab?
If not, Is it the best way to convert it to other formal in order to import the data?
Thanks

Best Answer

You'll probably need to use fread() to read a slice at a time and then concatenate or insert into a 3D array. Of course you'll need the format since there's no one "raw" format that everyone uses. Anyone can make up whatever format they want and call it raw.
For example attached is a program of mine that reads in a raw flavor that we use.
Related Question