mriconvert: basic usage, dti reordering and fsl nifit question
Scheel, Michael
Michael.Scheel at charite.de
Tue Aug 23 00:51:26 PDT 2016
Dear all,
i am a new user of mriconvert (dcm2nii previously) and i am very happy about the functionality (e.g. about the output of the info.txt file)
and also all the background information that I found in the programm itself and on this mailing list (e.g. to File formats especially the details to fsl nifti)
I have some very basic questions that I hope the mriconvert experts can help me with
1) Usage of --fnformat=<str>
I am unsure on how to provide format strings for custom naming of output files
Usage: mcverter [-h] -o <str> -f <str> [-v] [-q] [-V] [-j] [-x] [-d] [-a] [-n] [-b] [-r] [-u] [-s <str>] [-m <str>] [-F <str>] Input directory or file(s)...
-h, --help Show this help message
……..
-F, --fnformat=<str> Use this format for name of output file:
format = {format element} ;
some text = {filesystem-legal characters} ;
format element = {some text} , {"%" "PN" | "PI" | "SD" | "ST" | "SI" | "TD" | "SN" | "SQ" | "PR" | "RD"} , {some text} ;
or
format = {"+" | "-" , "PatientName" | "PatientId" | "SeriesDate" | "SeriesTime" | "StudyId" | "StudyDescription" | "SeriesNumber" | "SequenceName" | "ProtocolName" | "SeriesDescription"
I would like to have a custom output filename but I am unsure on how I should provide the format elements.
Could you give me some examples for actual commands
I tried the following but this will rename the file into {"PatientName”}.hdr/img
mcverter -o conversion_fsl_3 -v --fnformat={"PatientName"} dicom
2) DTI conversion - volumes reordered
I have a DTI dataset with 1b0 volume and 12 directions with 8 repetitions.
It was originally acquired
b0_rep1 dir1_rep1 dir2_rep1 dir3_rep1 dir4_rep1 dir5_rep1 dir6_rep1 dir7_rep1 dir8_rep1 dir9_rep1 dir10_rep1 dir11_rep1 dir12_rep1 b0_rep2 dir1_rep2 …. dir12_rep8
after conversion the volumes and also the respective bvals and bvecs entries in my case get resorted
b0_rep1 b0_rep2 b0_rep3 b0_rep4 b0_rep5 b0_rep6 b0_rep7 b0_rep8 dir1_rep1 dir1_rep2 dir1_rep3 dir1_rep4 dir1_rep5 dir1_rep6 dir1_rep7 dir1_rep8 dir2_rep1 dir2_rep2 ….
Is this intended and if so why?
3) FSL Nifti - 16bit unsigned
I have seen that there has been a discussion on FSL supporting 16bit unsigned. As this led to any results?
Best wishes, Michael
Michael Scheel, MD
Neurodiagnostics Laboratory
and Clinical Neuroimmunology Group
NeuroCure Clinical Research Center
Charité - Universitätsmedizin Berlin
Charitéplatz 1
10117 Berlin, Germany
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists-prod.uoregon.edu/pipermail/mriconvert/attachments/20160823/03db0433/attachment.html>
More information about the mriconvert
mailing list