DGtalTools  1.2.0
dicom2vol

Converts dicom file into a volumetric file (.vol, .longvol .pgm3d).

Usage: dicom2vol [input] [output]

Allowed options are:

Positionals:
1 TEXT:FILE REQUIRED dicom image (.dcm).
2 TEXT:FILE volumetric file (.vol, .longvol .pgm3d, .raw).
Options:
-h,--help Print this help message and exit
-i,--input TEXT:FILE REQUIRED dicom image (.dcm).
-o,--output TEXT volumetric file (.vol, .longvol .pgm3d, .raw)
--dicomMin INT set minimum density threshold on Hounsfield scale
--dicomMax INT set maximum density threshold on Hounsfield scale

Example:

$ dicom2vol -i ${DGtal}/tests/samples/dicomSample/1629.dcm --dicomMin 0 --dicomMax 300 -o sample.vol
Definition: ATu0v1.h:57


See also
dicom2vol.cpp