Content-type: text/html Manpage of voxel2image

voxel2image

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

 

NAME

voxel2image - Converts voxel-order data to a series of 3D images.

 

SYNOPSIS

voxel2image -outputroot <root> -header <header> -components <N> [options]

 

DESCRIPTION

Converts voxel-order data files to 3D images, given a header with the same data dimensions as the input data.

This program converts each component of the input data to a separate to 3D image. To export diffusion tensors, see dt2nii(1).

 

EXAMPLES

Convert the components of the diffusion tensor eigen system.


  cat dt.Bdouble | dteig | voxel2image -components 12 -outputroot dteig_  
  -header image.nii

Extract only L1 (primary eigenvalue) using shredder


  cat dt.Bdouble | dteig | shredder 0 8 $((11*8)) | voxel2image -components 1 \ 
  -outputroot dteig_L1 -header image.nii.gz

Export FA to an image


  cat dt.Bdouble | fa | voxel2image -outputroot fa -header image.nii -gzip

 

OPTIONS

-components <N>
The number of components in the input data. The default is 1.

-gzip
Set gzip compression for the output image, if supported by the image format.

-inputdatatype <data type of input>
Specifies the data type of the input file. The data type can be any of the following strings: "byte", "short", "int", "long", "float" or "double".

-inputfile <filename>
The name of the input file.

-outputdatatype <data type of output>
Specifies the data type of the output image. The data type can be any of the following strings: "byte", "short", "int", "long", "float" or "double".

-outputroot<root>
Output file root. If there is one component, or output is to a vector, the output image is called root.ext, otherwise output is numbered by component.

-outputvector
Output multi-component voxels to a single image.

 

AUTHORS

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

 

SEE ALSO

image2voxel(1), dt2nii(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