voxel2image functioncamino_voxel2image.RdPerforms the Camino voxel2image function
camino_voxel2image(infile, header, outputroot = NULL,
inputdatatype = NULL, outputdatatype = NULL, components = 1,
gzip = TRUE, outputvector = FALSE, verbose = TRUE)| infile | Input file (double, float, etc.) |
|---|---|
| header | NIfTI image with header information |
| outputroot | 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. |
| inputdatatype | specify input data type, options are "byte", "short", "int", "long", "float" or "double" |
| outputdatatype | 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". |
| components | 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. |
| outputvector | Output multi-component voxels to a single image. |
| verbose | print diagnostic messages |