next up previous
Next: apply_warp - Fast application Up: Brain Volume I/O Handling Previous: resize_vol - Resize a

  
convert_vol - Change datatype, scale intensity, compute min/max

1997 Ulrik Kjems, DSP/IMM, Technical University of Denmark, uk@imm.dtu.dk
Usage :
   convert_vol <options> infile [outfile]

Utility for changing the data format in a volume. Scaling and offset
is also possible.

-i level   : Set report level std, info, silent
-q #       : Autoscale to match 0..# in destination
-a #       : Subtract this from input image
-s #       : Multiply this on image AFTER above subtraction
-p #       : Multiply this on image BEFORE above subtraction
-c         : compute and display max and min intensity and exit

-o format  : Specify output format to convert to
             format = byte, ushort, sshort, 
                      float, double

Default setting is to scale image 1:1 to byte format.
convert_vol -h produces above information

Ulrik Kjems
6/3/1998