Copying from different files will result in loss of information or potentially incorrect settings.įslcreatehd - creates a new image header along with a zero intensity data image. Note that only copies from Analyze to Analyze or Nifti to Nifti will work properly. In addition, two optional arguments at the end specify the first and last 3D volumes to be processed when the input is 4D (default is to do all volumes).įslcpgeom - copy certain parts of the header information (image dimensions, voxel dimensions, voxel dimensions units string, image orientation/origin or qform/sform info) from one image to another. The initial flag indicates what kind of processing is done. and stdimg.hdr and stdimg.img) creates many problems for determining what images to read, and in general will cause FSL programs to stop.įslcomplex - a utility that allows 3D or 4D complex image files to be split or constructed from corresponding real components (either Cartesian or polar). Note that having multiple copies of an image with the same basename and different filetypes (e.g. for an Analyze file called stdimg then fslchfiletype NIFTI_GZ stdimg would replace stdimg.hdr and stdimg.img with. This in place conversion removes the original files: e.g. If no third argument is given then the input file is converted in place. The first argument is the desired file type (one of ANALYZE, ANALYZE_GZ, NIFTI, NIFTI_GZ, NIFTI_PAIR, NIFTI_PAIR_GZ) and the second is the input file. and finishing with (Nx-1, Ny-1, Nz-1).įslcc - run cross-correlations between every volume in one 4D data set with every volume in another (for investigating similarities in ICA outputs).įslchfiletype - used to change the file type of an image (e.g. That is, starting with intensity at the voxel coordinate (0,0,0) and then (1,0,0) and then (2,0,0).
![nifty file lists nifty file lists](https://static1.makeuseofimages.com/wordpress/wp-content/uploads/2016/02/windows-folder-tricks.jpg)
Each output file contains the values of all the intensities in the image in a fixed order with x varying the fastest, then y, then z. For each of these programs, type just the program name to get the usage help.įslascii2img - convert ASCII text file to image file.įsl2ascii - convert image files to ASCII text file (or more than one file if data is 4D). Many of them work on both 3D and 4D data.
![nifty file lists nifty file lists](https://i.imgur.com/awBu7dT.png)
FSLUTILS is a set of useful command-line utilities which allow the conversion, processing etc.