Hi Danny,
You could use "mri_convert".
Cheers,
Fereshte 

On Fri, Nov 24, 2017 at 11:47 AM Danny Deng <dannytang023@gmail.com> wrote:
Dear FS developers,

I wish to transform DICOM format to omgz format.

However, we have problem when we tried to do recon-all command. 

The error is as follow:

bash-3.2$ export FREESURFER_HOME=/applications/freesurfer
bash-3.2$ source $FREESURFER_HOME/SetUpFreeSurfer.sh
-------- freesurfer-Darwin-OSX-stable-pub-v6.0.0-2beb96c --------
Setting up environment for FreeSurfer/FS-FAST (and FSL)
FREESURFER_HOME   /applications/freesurfer
FSFAST_HOME       /Applications/freesurfer/fsfast
FSF_OUTPUT_FORMAT nii.gz
SUBJECTS_DIR      /Applications/freesurfer/subjects
MNI_DIR           /Applications/freesurfer/mni
bash-3.2$ sudo recon-all -s 'aaa' -i /Users/Dannydeng/desktop/danny_mri/MR22022/DICOM/IM_0001
Password:
FREESURFER_HOME: Undefined variable.
bash-3.2$ 

Thanks.

Best Regards,
Danny Deng

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.