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

Aug 12, 2015 at 8: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?
Coordinator
Aug 13, 2015 at 7: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 8: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...
Coordinator
Aug 21, 2015 at 9:38 PM
FYI:
var dcm = DICOMFileReader.Read(fileName_origin);
dcm.Write(@"myDICOM.dcm");
Coordinator
Oct 22, 2015 at 2:57 AM
I have just posted a way to do the export via EvilDICOM. You can check out the video tutorial here:

https://www.youtube.com/watch?v=DfcEX1Tnh9M