drivendataorg / concept-to-clinic

ALCF Concept to Clinic Challenge
https://concepttoclinic.drivendata.org/
MIT License
367 stars 147 forks source link

Report: per-nodule 3D shapefile export from 3D boolean mask #277

Open isms opened 6 years ago

isms commented 6 years ago

Assume a boolean mask for each nodule that is a 3D numpy array of the same dimensions as the DICOM image (e.g. 512x512x24 layers) where some internal of the 3D space is a polytope.

Expected Behavior

A user wants to download a shapefile (.shp) for 3D printing or viewing in CAD. Should use DICOM metadata to recover real world 3D dimensions.

Current Behavior

Not implemented.

Possible Solution

Libraries like pyshp may be helpful.