Azzera filtri
Azzera filtri

reading CT images all at one time in matlab with dicomread

2 visualizzazioni (ultimi 30 giorni)
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 Commenti
Bibek
Bibek il 14 Mar 2011
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 il 15 Mar 2011
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 ?

Accedi per commentare.

Risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by