generates a vtk file from a 3D image
Usage: pgm2vtk in.pgm mode out.vtk
Description: Create a vtk image from a 3D pgm image. If mode =
- 1: surfels (2-faces) from a binary khalimsky grid
- 2: triangulated surfels (2-faces) from a binary khalimsky grid
- 3: voxels (cubes) from a binary image in Z3
- 4: minimal grid from a binary image in Z3
- 5: voxels (octaedrons) from a binary image in Z3
- 6: linels (1-faces) from a binary khalimsky grid
Types supported: byte 3d
Category: convert
- Author:
- Michel Couprie (2005)