DGtalTools  0.9.2
vol2sdp

Extracts digital points from 3d vol files.

Usage: vol2sdp [input] [output]

Allowed options are:

-h [ --help ] display this message
-i [ --input ] arg volumetric file (.vol)
-o [ --output ] arg sequence of discrete point file (.sdp)
-e [ --exportImageValues ] option to export also the image value of the
voxel in a fourth field.
-m [ --thresholdMin ] arg (=128) min threshold (default 128)
-M [ --thresholdMax ] arg (=255) max threshold (default 255)

Example:

$ vol2sdp -i ${DGtal}/examples/samples/lobster.vol -o volumeList.sdp -m 70
# Visualisation:
$ 3dSDPViewer -i volumeList.sdp

You should obtain such a visualization:

resVol2sdp.png
resulting visualisation.
See also
vol2sdp.cpp