DGtalTools  0.9.4
vol2obj

Converts any volumetric file to an OBJ one. Each grid point with value between [thresholdMin,thresholdMax] is exported as a unit cube.

Usage: vol2obj [input-file]

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)
or sdp (sequence of discrete points).
-o [ --output ] arg Output OBJ filename
-m [ --thresholdMin ] arg (=0) threshold min to define binary shape
-M [ --thresholdMax ] arg (=255) threshold max to define binary shape
--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).
See also
vol2obj.cpp