DGtalTools  0.9.4
slice2vol

Converts set of 2D images into volumetric file (pgm3d, vol, longvol).

Usage: slice2vol [input] [output]

Allowed options are:

-h [ --help ] display this message
-s [ --sliceOrientation ] arg (=2) specify the slice orientation for which the slice are considered (by default =2 (Z direction))
-i [ --input ] arg input 2D files (.pgm)
-o [ --output ] arg volumetric file (.vol, .longvol .pgm3d)

Example:

$ slice2vol -i slice1.pgm slice2.pgm slice3.pgm -o out.vol
See also
slice2vol.cpp