Let me read the files in filename order and plot the resulting slice locations. You can see this by looking at the SliceLocation field returned by dicominfo. I had assumed that the filename order corresponded to physical slice order, but I was wrong. So, I read these files in filename order and concatenated the data in the third dimension. You can see that I had files of the form 00000.dcm, 00001.dcm. I naively assumed that there was some meaning to the order of filenames in the DICOM dataset. I tried to do this the hard way at first, and of course I got it wrong. I had downloaded a Head-Neck CT+PET study, and I wanted to create a volume array in MATLAB. Earlier this year, I learned something about DICOM datasets that surprised me.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |