biolab-unige / nifti2dicom

Convert 3D NIfTI images (and other formats supported by ITK) to DICOM 2D series
http://www.bio.dist.unige.it/
GNU General Public License v3.0
87 stars 23 forks source link

Is there a functional API? #34

Open kaimingkuang opened 4 years ago

kaimingkuang commented 4 years ago

How can I use this amazing tool in my code? Is there an API for this? Thanks!

drdanz commented 4 years ago

Hello @kaimingkuang Sorry for the delay...

There is no public API at the moment, even though it shouldn't be very hard to expose the internal API and make it a library. I'd like to make it public, but unfortunately I don't have time to work on this at the moment... If by chance you want to work on this, please let me know, and I'll be glad to help.

kaimingkuang commented 4 years ago

Hello @kaimingkuang Sorry for the delay...

There is no public API at the moment, even though it shouldn't be very hard to expose the internal API and make it a library. I'd like to make it public, but unfortunately I don't have time to work on this at the moment... If by chance you want to work on this, please let me know, and I'll be glad to help.

Thanks anyway. I spent a lot of time figuring out how to generate valid UID when trying to convert NIFTI to DICOM. I am also pretty busy right now and I have very little experience in C++, but this sounds like a great opportunity. If I had the time I might give it a try.