How to read 3D .raw volume file ?

11 visualizaciones (últimos 30 días)
tabw
tabw el 3 de Ag. de 2014
Comentada: tabw el 4 de Ag. de 2014
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

Respuesta aceptada

Image Analyst
Image Analyst el 3 de Ag. de 2014
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.
  3 comentarios
Image Analyst
Image Analyst el 3 de Ag. de 2014
That's because I didn't give you that function. Unless you have the same CT machine I have, your header is almost certainly different than mine. So you will need to write your own code to read the header and the file. I just gave you an example . It is not intended to work right out of the box .
tabw
tabw el 4 de Ag. de 2014
Thanks!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Cell Arrays en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by