Converts a vol to a 8-bit raw file.
Usage: vol2raw [input] [output]
Allowed options are:
-h [ --help ] display this message.
-i [ --input ] arg vol file (.vol, .longvol .p3d, .pgm3d and if
WITH_ITK is selected: dicom, dcm, mha, mhd). For
longvol, dicom, dcm, mha or mhd formats, the
input values are linearly scaled between 0 and
255.
-o [ --output ] arg Output filename.
--rescaleInputMin arg (=0) min value used to rescale the input intensity
(to avoid basic cast into 8 bits image).
--rescaleInputMax arg (=255) max value used to rescale the input intensity
(to avoid basic cast into 8 bits image).
Example:
vol2raw -i input.vol -o out.raw
- See also
- vol2raw.cpp