Convert xdrt files to dicom
Closed this issue · 3 comments
It should be nice when it is possible to convert xvi .scan images to dicom images
I got a preliminary version working. It also requires parsing of the full XVI (to set the proper metadata). Likely I'll come up with something in the next few days.
@ydehond6 I have a preliminary version in https://github.com/NKI-AI/xdrt/tree/xvi_reader.
You can install it from https://docs.aiforoncology.nl/xdrt/installation.html#install-from-sources, but you need to dogit checkout xvi_reader
after cloning.
Conversion is then done using xvi2dcm <input folder> <output folder>
. I hope you have the time to test it on some of your cases. Likely there is some relevant metadata still missing, but at least for me they seem to open correctly.
Thank you! It works for my data