slim icon indicating copy to clipboard operation
slim copied to clipboard

Comprehensive 3D SRs do not display if they contain certain measurements

Open CPBridge opened this issue 7 months ago • 1 comments

Slim does not seem to display graphical annotations stored in comprehensive 3D SRs if those SRs also contain measurements with either of the following codes:

  • (SCT, "42798000", "Area")
  • (SCT, "410668003", "Length")

I believe this is related to the fact that Slim will produce measurements with these codes itself when using its annotation capabilities. However, these codes are very common and will be used by many other applications, so slim should be able to render them correctly in my opinion.

Specifically the behaviour that I have observed is that the ROIs appear in the right hand panel (see screenshot), but when you click the "visibility toggle" button, nothing happens. The button remains toggled off and the graphical annotations are not displayed.

I have confirmed that measurements using codes other than those above do not seem to have this issue.

I have created two example SRs demonstrating this issue. The first contains no measurements and should display correctly. The second contains measurements and should not display, but they are otherwise identical (save for UIDs).

  • gs://idc-annotation-conversion-outputs/2023-12-01_rms_sr_tests/PAIZZZ-0ATDI7_sr.dcm
  • gs://idc-annotation-conversion-outputs/2023-12-07_rms_sr__with_measurement/PAIZZZ-0ATDI7_sr.dcm

These annotations refer publicly available images in the IDC collections and can be downloaded from:

  • gs://public-datasets-idc/73b6b17f-ddab-4baa-a233-2e8cf70c54a0/480f84f2-ba3e-4d69-9ae8-570b42211cbd.dcm
  • gs://public-dataset-idc/73b6b17f-ddab-4baa-a233-2e8cf70c54a0/fd3d0ae5-3d60-4d84-8e47-9edf77b7af20.dcm

CPBridge avatar Dec 07 '23 14:12 CPBridge