sct_convert¶
C o n v e r t i m a g e f i l e t o a n o t h e r t y p e . Convert image file to another type.
usage: sct_convert -i <file> -o <str> [-squeeze {0,1}] [-h] [-v <int>]
MANDATORY ARGUMENTS¶
- -i
F i l e i n p u t . E x a m p l e : ` d a t a . n i i . g z ` File input. Example:
data.nii.gz- -o
F i l e o u t p u t ( i n c l u d i n g t h e f i l e ‘ s e x t e n s i o n ) . E x a m p l e : ` d a t a . n i i ` File output (including the file’s extension). Example:
data.nii
OPTIONAL ARGUMENTS¶
- -squeeze
P o s s i b l e c h o i c e s : 0 , 1 Possible choices: 0, 1
S q u e e z e d a t a d i m e n s i o n ( r e m o v e u n u s e d d i m e n s i o n ) Squeeze data dimension (remove unused dimension)
D e f a u l t : ` ` 1 ` ` Default:
1
MISC ARGUMENTS¶
- -v
P o s s i b l e c h o i c e s : 0 , 1 , 2 Possible choices: 0, 1, 2
V e r b o s i t y . 0 : D i s p l a y o n l y e r r o r s / w a r n i n g s , 1 : E r r o r s / w a r n i n g s + i n f o m e s s a g e s , 2 : D e b u g m o d e . Verbosity. 0: Display only errors/warnings, 1: Errors/warnings + info messages, 2: Debug mode.
D e f a u l t : ` ` 1 ` ` Default:
1