Closed fordanic closed 3 years ago
How is your set of landmarks represented? There is nothing in your JSON file that points to a segmentation (and currently dcmqi can only support SRs where regions of interest are defined by segmentations).
Sorry for the late response.
As these are just landmarks there are no associated segmentations. The landmarks are just represented by the referenced SOP instance and the pixel coordinates.
This type of annotations is not supported by dcmqi. You can look into using https://github.com/MGHComputationalPathology/highdicom for creating this flavor of TID 1500.
I already have creates them. Was more looking to you the reader as an easy way for someone else to parse them without to detailed knowledge of DICOM or pydicom.
I understand. https://github.com/MGHComputationalPathology/highdicom should also be helpful to read them.
Working on some DICOM SR objects using TID 1500 to encode a set of landmarks and then using the tid1500reader to convert them to JSON objects. However, after the conversion, the references to the images and pixel coordinates are missing.
Example output from dcsrdump of the DICOM SR object:
Corresponding data from the JSON objects:
Is something wrong in my structure of the DICOM SR or is there something missing in the tid1500reader?