Skip to content

christopherpoole/dicom2ply

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Convert DICOM-RT Structures to a PLY Point Cloud

This is a very simple utility to convert any structures found in a DICOM-RT data set to individual PLY files for subsequent surface meshing. This will dump a bunch of PLY files into the current directory:

python dicom2ply.py dicom_dir output_dir

Originally this code was written to quickly calculate descriptive statistics for each structure; some of this information is included in the PLY header.

The saved point clouds can be quite dense, so in some instances it is best to reduce the number of total points prior to meshing. Have a look at MeshLab for meshing and mesh refinement.

Dependencies

TODO's

  • convert into a proper Python module
  • tidy up the statistics calculations
  • remove hard coding of CT data file suffixes and prefixes

About

Convert DICOM-RT Structures to a PLY Point Cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages