Hi.
Stanford software EPAD saves segmentations and ROIs as .json files.
Is there any possibility of using these files to create a standard nrrd segmentation or labelmap on 3D slicer ?
Regards
Hi.
Stanford software EPAD saves segmentations and ROIs as .json files.
Is there any possibility of using these files to create a standard nrrd segmentation or labelmap on 3D slicer ?
Regards
Sure, you should be able to write a simple parser in python and populate Slicer data structures. I don’t think anyone has written code like that, but it would be a great contribution.
Here is an example for Osirix ROI importer: https://github.com/PerkLab/SlicerSandbox/tree/master/ImportOsirixROI
Since then we have improved Slicer so that you can implement plugin that can load custom file formats right from the “Add data” window. See example here: https://github.com/SlicerHeart/SlicerHeart/tree/master/TomTecUcdPlugin
If you are familiar with ePad file format and know a little Python programming then this should be really easy. We can help with mapping data objects to Slicer segmentation or markup nodes.
An alternative approach for ePad would be to move towards standard DICOM structured reports and segmentation objects. AIM made a lot of sense many years ago, when the effort was started, because at that time there was no good way of describing everything in DICOM. Also, AIM started out something that is simpler to use than DICOM. However, DICOM and related software have greatly improved, so now it is hard to justify investing into AIM support and seems to make more sense to converge to DICOM for data sharing and archiving.
Hi @lassoan and @pieper thanks a lot for your kind reply!
We will try the plugins. Unfortunately, we are not that familiar with the ePad file format. But we will try. Hopefully, we will come out with the extension. That might be a nice bridge between ePad, which still attractive by its simple installation, web appearance, and use; and 3D slicer, which has no comparison (Just awesome!).
Regards
Hi @Emmanuel_Salinas_Mir - we ePad too, and have work together on several projects but never did a native interface.
As far as I remember ePad developers have been planning to provide DICOM Segmentation Object and Structured Report import/export features. Before investing too much time into AIM, ask them what is the status of this work. We have intent and funding for improving DICOM Seg and SR import/export in Slicer, so if ePad could use that then you would get full interoperability for free. It would also ensure that your data works with OHIF, Kheops, and many other DICOM compliant software.