DGtalTools  1.5.beta
3dVolBoundaryViewer

Display the boundary of a volume file by using QGLviewer.

The mode specifies if you wish to see surface elements (BDRY), the inner voxels (INNER) or the outer voxels (OUTER) that touch the boundary.

Usage: 3dVolBoundaryViewer -i [input]

Allowed options are :

Positionals:
1 TEXT:FILE REQUIRED 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.
Options:
-h,--help Print this help message and exit
-i,--input TEXT:FILE REQUIRED 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.
-m,--thresholdMin INT=0 threshold min (excluded) to define binary shape.
-M,--thresholdMax INT=255 threshold max (included) to define binary shape.
--mode TEXT:{INNER,OUTER,BDRY}=INNER set mode for display: INNER: inner voxels, OUTER: outer voxels, BDRY: surfels
OUTER: outer voxels, BDRY: surfels

Example:

3dVolBoundaryViewer $DGtal/examples/samples/lobster.vol -m 60

You should obtain such a result:

Resulting visualization.
See also
3dVolBoundaryViewer.cpp