Fills the interior of a voxel shape. The process can be sketched as follows: First the volume is filled in a breath-first approach from the point (0,0,0) (supposed to be exterior) using 6-adjacency. Then the complement is returned.
Usage: volFillInterior <volFileName> <volOutputFileName> (vol, longvol, p3d format)
Allowed options are :
Positionals:
1 TEXT:FILE REQUIRED Input vol file.
2 TEXT=result.vol Output filename.
3 UINT Set the filling value other than the default value of 128.
Options:
-h,--help Print this help message and exit
-i,--input TEXT:FILE REQUIRED Input vol file.
-o,--output TEXT=result.vol Output filename.
-v,--fillValue UINT Set the filling value other than the default value of 128.
Example:
$ volFillInterior -i ${
DGtal}/examples/samples/lobster.vol -o filled.vol
- See also
- volFillInterior