필터 지우기
필터 지우기

Opening .img MRI file in Matlab

조회 수: 1 (최근 30일)
TheBeginner
TheBeginner 2014년 11월 24일
Hello,
I am trying to open MRI images download from the IBSR database. It is my first time opening binary files and I'm encountering troubles. I know my images are 256x256 on 16 bits. I have tried the following code :
name = '657_4_14.img';
fileID = fopen('name');
slice = fread(fileID, [256 256], 'int16');
fclose(fileID)
But the returned "slice" is empty.
Any idea?
Thanks

답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by