[MINC-users] dcm2mnc: "Error parsing file during 2nd pass" (but not 1st...)

Audette, Michel Michel.Audette at medizin.uni-leipzig.de
Mon Dec 11 12:09:08 EST 2006


Hi everyone, 

I am returning to an old dcm2mnc problem that has become urgent. I am trying to convert what appears to be Philips DICOM files to a minc file, and using the debugger and some printfs, I see the following... 

The first call to read_numa4_dicom() seems to go fine, for all dicom files, although I get warnings: 
WARNING: Can't find Philips slice count
WARNING: Can't find Philips slice index

as well as the following in the final stages of that 1st pass...
WARNING: Can't find Philips private creator ID.
 file list 1st pass... file_list[ifile] Schlossmacher_Marita/Schlossmacher_Marita_478.dcm (this is a printf statement I put in)
WARNING: calculated slice width (0.4499999490) disagrees with file's slice width (0.4499512000)

Error parsing file 'Schlossmacher_Marita/Schlossmacher_Marita_0.dcm' during 2nd pass.

In the 2nd pass, read_std_dicom() and  acr_input_group_list() return NULL, and within acr_input_group_list(), one call to acr_input_group_with_max() apparently returns status = ACR_PROTOCOL_ERROR...

Can anyone suggest the cause of this error in the 2nd pass, or a means to better pinpoint it? 
Also, can anyone suggest a workaround? Is the varying slice width the issue here? 

Cheers, 

Michel

Michel Audette, Ph.D.
Innovation Center Computer Assisted Surgery (ICCAS)
Philipp-Rosenthal-Strasse 55
Leipzig, Germany
Phone: ++49 (0) 341 / 97 - 1 20 13
Fax: ++49 (0) 341 / 97 - 1 20 09



More information about the MINC-users mailing list