필터 지우기
필터 지우기

reading CT images all at one time in matlab with dicomread

조회 수: 2 (최근 30일)
Bibek
Bibek 2011년 3월 8일
Hi, I need to merge 75 CT slice files in .dcm format into one single .dcm file. Is there a a way in matlab I can do this? I used ImageJ and create a single.tif file with importing image sequence option available there. But when I open this composite file with imread in matlab I found that min and max pixel values are too high, 28000 and 36000 which should not be the case. I am not getting what's wrong going on here.All my CT slice images were 512*512 int16 and the composite one became 512*512*75 uint8. Is there also a way I can convert .tif into .dcm file? Any suggestions!!
  댓글 수: 3
Bibek
Bibek 2011년 3월 14일
so u mean the code to read the composite image file in .tif format? To read 75 CT slices in the composite file, I use 'for' loop like:
for i=1:75;
X(:,:,i)=imread('file name',i);
It resulted in 512*512*75 uint8.The elements in X are too large and it is now uint8 not int16. All slices are int16 when dicomread them separetely.
Walter Roberson
Walter Roberson 2011년 3월 15일
Please show the code for reading the dicom images and storing them in to the .tif file.
I am not certain why you are storing them in to a .tif file when your question says they must be stored into a single .dcm file ?

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Import, Export, and Conversion에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by