Export PlanSum RT plan data (dose, plan, structure)

Aug 12, 2015 at 9:20 PM
Eclipse cannot export RT plan data (dose, plan, structure) for PlanSum. It seems Clearcanvas can only deal with dicom images. Are there any convenient c# libraries to export RT plan data dicom files from Eclipse?
Aug 13, 2015 at 8:49 PM
You can use C# EvilDICOM, if you want to build the DICOM file yourself from ESAPI data. I don't suggest that. I would look at the tutorial that Wayne posted about communicating with the DICOM Daemon with dcmtk . Also, you can check out the DICOM anonymizer project in the Source Code area. That also communicates with the daemon and can export the files out to a file. If you want to hijack the DICOM files afterwards, EvilDICOM is a good library for that.
Aug 13, 2015 at 9:27 PM
Thanks for the tip.

Tried evilDicom, and it seemed very straightforward to read dose,
     var dcm = DICOMFileReader.Read(fileName_origin);
     var dose = DoseMatrix.Load(fileName_origin);
But could not find a way to write.

Still waiting to install DB Deamon and will look at Wayne's way...
Aug 21, 2015 at 10:38 PM
var dcm = DICOMFileReader.Read(fileName_origin);
Oct 22, 2015 at 3:57 AM
I have just posted a way to do the export via EvilDICOM. You can check out the video tutorial here: