<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Hi again,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I now found the reason for my problem.  (it always takes a long time until I find time to revisit such problems). I just post my finding for the case that anyone else experiences the same problem and searches for a solution. The crude behavior (wrong number of dicom files found) is only observable when the dicom files are stored on a samba share. When converting locals files, everything works on Ubuntu as fine as on other distributions. It’s independent of the dcm2nii version (true for NeuroDebian and Centos Version) . Seems that it’s neither a direct dcm2nii problem nor a NeurDebian version problem but an interaction between dcm2nii and Ubuntu. Both, dinifti and mriconvert find the correct number of files (and dinifti works with IMA).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Best, Peter<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Michael Hanke [mailto:michael.hanke@gmail.com] <br><b>Gesendet:</b> Donnerstag, 28. März 2013 11:56<br><b>An:</b> Kirsch, Peter<br><b>Cc:</b> neurodebian-users@lists.alioth.debian.org<br><b>Betreff:</b> Re: [Neurodebian-users] Problem with dcm2nii<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hi,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Thu, Mar 28, 2013 at 11:39 AM, Kirsch, Peter <<a href="mailto:Peter.Kirsch@zi-mannheim.de" target="_blank">Peter.Kirsch@zi-mannheim.de</a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Sorry for not answering, I did not receive your replies (Anyway, thanks for the fast response). I now subscribed to the list…</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>It might indeed be the case that I replaced the May 5 version with the December 12 version from my CentOS machine (I thought I did it the other way around) but in any case: the behavior did not differ at all.</span><o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Does that mean you are seeing the problematic behavior with the NeuroDebian version from May _and_<o:p></o:p></p></div><div><p class=MsoNormal>with a Centos version from December on the same Ubuntu machine, but it works on Centos?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>This would be surprising, as dcm2nii is self-contained and doesn't use any system libs:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal>% ldd /usr/bin/dcm2nii<o:p></o:p></p></div><div><p class=MsoNormal>            not a dynamic executable<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>If you can confirm this, we might need to look for reasons beyond the scope of dcm2nii.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>As a sidenote: what happens if you run 'dinifti' from the 'dicomnifiti' package on the files?<o:p></o:p></p></div><div><p class=MsoNormal>Not sure if it handles IMA files, but it should work fine for DICOMs<o:p></o:p></p></div></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Michael<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><div><p class=MsoNormal>Michael Hanke<o:p></o:p></p></div><div><p class=MsoNormal><a href="http://mih.voxindeserto.de" target="_blank">http://mih.voxindeserto.de</a><o:p></o:p></p></div><div><div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div></div></div></body></html>