<div><div style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; padding-top: 28px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; margin-top: -1em; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; top: 0px; left: 0px; right: 0px; min-height: 1em; background-position: initial initial; background-repeat: initial initial; "><div style="min-height: 1em; ">Dear list, </div><div><br /></div><div style="min-height: 1em; ">I am experiencing problems reading in external MRI in DICOM format from a CD (doing it the first time though). </div><div style="min-height: 1em; ">I wanted to do it the new and easy way as described here:</div><div style="min-height: 1em; "><a href="http://fieldtrip.fcdonders.nl/faq/how_can_i_convert_an_anatomical_mri_from_dicom_into_ctf_format?s[]=dicom" target="1">http://fieldtrip.fcdonders.nl/faq/how_can_i_convert_an_anatomical_mri_from_dicom_into_ctf_format?s[]=dicom</a></div><div><br /></div><div style="min-height: 1em; "><span class="co1">% read the <span class="search_hit">DICOM</span> files </span><br />mri = ft_read_mri<span class="br0">(</span><span class="co2">'single_file_of_DICOM_series.IMA'</span><span class="br0">)</span>;</div><div><br /></div><div style="min-height: 1em; ">However, I have no single slices with extension *.ima but one dataset with the extension *.dcm and the other dataset with no extension for the single slice files. I am also not sure where to copy the DICOMDIR file.</div><div><br /></div><div style="min-height: 1em; ">When I try to open a single file of the *.dcm series I get:</div><div style="min-height: 1em; "><br /></div><div style="min-height: 1em; ">mri = ft_read_mri('508652C3.dcm');</div><div style="min-height: 1em; "><br /></div><div style="min-height: 1em; ">??? Undefined function or variable "hdr".</div><div style="min-height: 1em; "><br /></div><div style="min-height: 1em; ">Error in ==> ft_read_mri at 216</div><div style="min-height: 1em; "> hdr = hdr(keep); </div><div style="min-height: 1em; "><br /></div><div style="min-height: 1em; ">Trying to read in a single file of the no extension series I get:</div><div style="min-height: 1em; "><br /></div><div style="min-height: 1em; ">mri = ft_read_mri('73850486');</div><div style="min-height: 1em; "><br /></div><div style="min-height: 1em; ">??? Error using ==> dicominfo at 41</div><div style="min-height: 1em; ">The specified file is not in DICOM format</div><div style="min-height: 1em; "><br /></div><div style="min-height: 1em; ">The Image Processing toolbox V 7.2 is installed and this is fieldtrip-20111101.</div><div style="min-height: 1em; "><br /></div><div style="min-height: 1em; ">Any help appreciated!</div><div style="min-height: 1em; "><br /></div><div style="min-height: 1em; ">Markus</div></div></div>