QIICR / QuantitativeReporting

Segmentation-based measurements with DICOM import and export of the results.
https://qiicr.gitbooks.io/quantitativereporting-guide
Other
23 stars 23 forks source link

Error: Missing Atribute(s), but does not show which attribute(s) #272

Closed gacou54 closed 1 year ago

gacou54 commented 1 year ago

Hi,

I am trying to produce DICOM Segmentation from CT images. When I click on "Complete Report" or "Save Report", some failed with the following error.

Convert ITK image(s) into DICOM Segmentation Image standard error:

FATAL ERROR: Writing of the SEG dataset failed! Error: Missing Attribute(s). Please report the problem to the developers, ideally accompanied by a de-identified dataset allowing to reproduce the problem!
ERROR: Conversion failed.

To my understanding, the error is probably that for some CTs, some DICOM attribute(s) are missing, but the error does not show which one. Do you know how I could debug this? Is it possible to use itkimage2segimage as a CLI for further testing?

I use

Thank you for this project and your help!

gacou54 commented 1 year ago

I actually just found that we can use the "Convert ITK image to DICOM Segmentation" module from the DCMQI tools, which as a verbose option.

I found the missing attribute ((0008,1032) ProcedureCodeSequence[].(0008,0102) CodingSchemeDesignator for the curious. I guess it was removed by our anonymization process).

Thanks again for this project!