QIICR / dcmqi

dcmqi (DICOM for Quantitative Imaging) is a free, open source C++ library for conversion between imaging research formats and the standard DICOM representation for image analysis results
https://qiicr.gitbook.io/dcmqi-guide/
BSD 3-Clause "New" or "Revised" License
228 stars 62 forks source link

How to create a Dicom Seg in fractional mode? #467

Closed jsmastro closed 1 year ago

jsmastro commented 1 year ago

Hello,

Is it possible to convert ITK images to fractional Dicom Seg? If so, could you please provide an example? I have a segmentation expressed as a probability map and I would like to save it in Dicom format before applying a threshold to produce a binary segmentation.

Thanks!

fedorov commented 1 year ago

This is not supported currently in dcmqi, and due to limited resources, I do not know if/when I might have time to add this feature.

I recommend you look into highdicom: https://github.com/ImagingDataCommons/highdicom. You will probably need to write some code, but it might be easier to accomplish than adding functionality to dcmqi (in particular, since it is in python and not in c++).

jsmastro commented 1 year ago

Hello Andrey, Thanks a lot for your response, I will take a look at highdicom. Best regards,