Hi,
We are also seeing the segmentation fault when running mri_convert on our dicom files. As a work-around, I have written a script that uses xmedcon to batch convert dicom to analyze. I'm planning on posting the script to this list, but want to resolve one little issue first.
When I run mri_convert on the resulting analyze files, the COR images are in axial orientation. This is probably because the command"$mri_convert 001/001.img ." "Could not find the direction cosine information. Will use the HORIZONTAL orientation. If not suitable, please provide the information in 001/001.mat file".
I want to modify my script so that it creates the .mat file, but do not know the format.
I can extract the directional cosine information using dicom2 (dicom2 -t1 001/IMAGE_1.dcm | grep Orientation), giving me Image Orientation (Patient) (0020,0037) 6 DS [0.999848\0.00778219\0.0156255\0.0156255\0.00012207-0.999878]
Could you kindly send me the appropriate 001.mat file for this subject/aquisition?
+glenn