From Camino

Man: Split4dnii

Content-type: text/html Manpage of split4dnii

split4dnii

Section: User Commands (1)
Index Return to Main Contents

 

NAME

split4dnii - Converts 4D or 5D NIFTI-1 files to 3D volumes.

 

SYNOPSIS

split4dnii -inputfile <file> -outputroot <root>

 

DESCRIPTION

Splits 4D or 5D NIFTI images into a series of numbered 3D volumes. All header information from the input volume is copied to the component volumes, except for the following fields:


  dim[0]      - set to 3
  intent_code - set to NIFTI_INTENT_NONE
  intent_name - set to "comp XXXX" where XXXX is the number of the component.

The output file extension will be copied from the input (.nii or .nii.gz).

Optionally, if the input is DWI with an accompanying scheme file, the output can include a CSV file containing basic gradient information for the 3D volumes.

 

EXAMPLES

Split a tensor volume into 6 component images.

split4dnii -inputfile dt.nii.gz -outputroot dtcomp_

produces dtcomp_000[1-6].nii.gz

 

OPTIONS

-outputroot <root>
Prepended onto output file names. Files are numbered root0001 through rootN, where there are N components in the volume.

-schemefile <file>
Also produces a CSV file listing gradient information (direction and b-value) for each 3D volume.

 

AUTHORS

Philip Cook <camino@cs.ucl.ac.uk>

 

SEE ALSO

shredder(1)

 

BUGS


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
OPTIONS
AUTHORS
SEE ALSO
BUGS

This document was created by man2html, using the manual pages.
Time: 02:07:11 GMT, December 04, 2017

Retrieved from http://web4.cs.ucl.ac.uk/research/medic/camino/pmwiki/pmwiki.php?n=Man.Split4dnii
Page last modified on October 26, 2009, at 03:05 PM