**fScan Reference Manual, Chapter 2 (CmdLineOptions): reslice** ===== Reslice -- Process each slice independently===== **usage:**\\ -reslice [reference] reslice_file newname sliceflag\\ -reslice overlay newname sliceflag\\ -reslice transform newname sliceflag\\ -reslice nvoxels nx ny nz [nt] newname sliceflag\\ -reslice voxsize xres yres zres [tres] newname sliceflag\\ -reslice vsort sortref newname\\ -reslice zsort sortref newname\\ ===== ===== RESLICE generates a new data set by resampling the current data set. If you specify a reference data set, as RESLICE_FILE, the new data set will have the dimensions of that reference data set, with every voxel transformed to the appropriate new locations for that slice orientation. * reference - (default) the INFILE images will be resliced in the same orientation as the RESLICE_FILE, and written to the dataset NEWNAME. If omitted, RESLICE_FILE defaults to the previous image window.\\ * overlay - \\ * transform - \\ * vsort - rearrange volume order. SORTREF can be "reverse" to simply reverse the volumes in time, or a 1D list of volume numbers, in which case the volumes will be written out in that order. \\ * zsort - rearrange slice order. SORTREF can be "reverse" to simply reverse the slice order, or a 1D list of slice numbers, in which case the slices will be written out in that order. \\ SLICEFLAG: * 1 - Interpolate pixel values (default) * 2 - Do not interpolate pixel values (default is usually interpolation) * 4 - reslice input to all timepoints in RESLICE_FILE; default is just 1 slice volume **See Also:**\\ [[jvs:fscan|fScan Home]], [[jvs:fscan:manual|fScan Manual]], [[jvs:fscan:manual:chapter2|CmdLineOptions]], [[jvs:fscan:manual:help|Manual Help]]