필터 지우기
필터 지우기

How to read 3D .raw volume file ?

조회 수: 4 (최근 30일)
tabw
tabw 2014년 8월 3일
댓글: tabw 2014년 8월 4일
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

채택된 답변

Image Analyst
Image Analyst 2014년 8월 3일
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
Image Analyst
Image Analyst 2014년 8월 3일
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 2014년 8월 4일
Thanks!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Cell Arrays에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by