.\" Man page generated from reStructuredText. . .TH "DCM2NIIBATCH" "1" "Jun 03, 2017" "1.0" "dcm2niix" .SH NAME dcm2niibatch \- DICOM to NifTI batch converter . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp \fBdcm2niixbatch\fP <\fIconfiguration\-file\fP> .SH DESCRIPTION .sp Most medical imaging devices save images in some variation of the popular DICOM format. However, most scientific tools expect medical images to be stored in the comparatively simpler NIfTI format. \fBdcm2niix\fP is designed to perform such conversion from DICOM to NIfTI with a simple command\-line interface. .sp \fBdcm2niibatch\fP acts as a wrapper around \fBdcm2niix\fP and allows the processing of multiple DICOM sequences by specifying the list of files and settings in a yaml text file. The makes processing a dataset of DICOM scans simpler and more easily repeatable. .sp In addition, yaml files are designed to be both human and machine readable and a script can easily be written in many programming languages to automatically create a yaml file based on an existing folder structure. .sp Please be advised that \fBdcm2niix\fP and \fBdcm2niibatch\fP have been developed for research purposes only and should not be considered a clinical tool. .SH CONFIGURATION FILE FORMAT .sp Perform a batch conversion of multiple dicoms using \fBdcm2niibatch\fP, which is run by passing a configuration file e.g \fIdcm2niibatch batch_config.yml\fP .sp The configuration file should be in yaml format as shown in example \fIbatch_config.yaml\fP .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C Options: isGz: false isFlipY: false isVerbose: false isCreateBIDS: false isOnlySingleFile: false Files: \- in_dir: /path/to/first/folder out_dir: /path/to/output/folder filename: dcemri \- in_dir: /path/to/second/folder out_dir: /path/to/output/folder filename: fa3 .ft P .fi .UNINDENT .UNINDENT .sp You can add as many files as you want to convert as long as this structure stays consistent. Note that a dash must separate each file. .sp in_dir Path to the dicom files .sp out_dir Path to save the nifti file .sp filename File name of nifti file to save .SH SEE ALSO .sp \fBdcm2niix(1)\fP .SH LICENSING .sp Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as\-is, without any warranty. .SH AUTHOR This manual was developed and is maintained by Benjamin Irving .SH COPYRIGHT 2017 The dcm2niix contributors .\" Generated by docutils manpage writer. .