DGtalTools  0.9.4
volBoundary2obj

Extracts digital points from 3d vol files.

Usage: volBoundary2obj [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 obj file (.obj)
-m [ --thresholdMin ] arg (=0) threshold min (excluded) to define binary
shape
-M [ --thresholdMax ] arg (=255) threshold max (included) 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).
--mode arg (=BDRY) set mode for display: INNER: inner voxels,
OUTER: outer voxels, BDRY: surfels, CLOSURE:
surfels with linels and pointels.
-n [ --normalization ] Normalization so that the geometry fits in
[-1/2,1/2]^3

Example:

$ volBoundary2obj -i $DGtal/examples/samples/lobster.vol -m 80 -o out.obj

You should obtain such a visualization:

resVolBoundary2obj.png
resulting visualisation.
See also
volBoundary2obj.cpp