dentistdataconv.py is a simple Python script that converts volumetric dentist data to better documented volume formats: nrrd, MetaImage (mhd), and nifti (nii).
Besides Python, the script's only dependency is numpy. For nifti (.nii) output one also needs pynifti.
The -h options shows how to use it:
Usage: dentistdataconv.py [options] inputdirectory outputbasename
Options:
-h, --help show this help message and exit
-n, --nhdr write nrrd header (nhdr)
-m, --metaimage write metaimage header (mhd)
-i, --nifti write nifti file (nii)
-r, --raw write raw data to file (used by header files)
For example, the following command,
./dentistdataconv.py -n -m -r /path/to/datadirectory myvolume
will produce three files: myvolume.nrrd myvolume.mhd myvolume.raw
See LICENSE.