dcmqi
dcmqi copied to clipboard
Exception on unknown segmentation algorithm type when loading DCM Seg (e.g. TCIA dataset "qiba_ct_1c")
Currently DCMQI is not able to load nonconformant DCM Seg e.g. from TCIA dataset "qiba_ct_1c" as those DCM Segs have not algorithm type set.
That leads to an exception in Dicom2ItkConvert.cpp line 485ff.
Looking at the standard DCMQI is correct, as SAT has to be defined. Nevertheless it seems over pendantic, as there is no option to e.g. explicitly allow to load such a data and only bring a worning and replase the value e.g. with manual or a user defined choice. This ultimatly means to dismiss the data, even so the missing meta information is not relevant for all use cases (it would something different, e.g. with geometric information).
I would like to clarify if the current implementation should be the only behavior and if not, how to best adapt it.
Thanks, Ralf