Skip to content

mhe/dentistdataconv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

dentistdataconv

dentistdataconv.py is a simple Python script that converts volumetric dentist data to better documented volume formats: nrrd, MetaImage (mhd), and nifti (nii).

Dependencies

Besides Python, the script's only dependency is numpy. For nifti (.nii) output one also needs pynifti.

Usage

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

License

See LICENSE.

About

Python script for converting dentist volume data to better documented formats

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages