Viewers: DICOM tag viewer does not sort entries for SEG

Created on 18 Sep 2020  路  10Comments  路  Source: OHIF/Viewers

It appears that entries for SEG are not sorted

image

I thought this is because of the presence of sequences, but they seem to be sorted for SRs...

Awaiting Reproduction Community priority Triage

All 10 comments

Can you clarify what part is not sorted? At a glance it seems that the tags are sorted by group and then element within each nesting level. Or do I miss something?

Well, maybe they are indeed sorted, but I don't know the sort order is. It is not obvious to me.

Here's where group 0002 is in SEG tag lilst:

image

And for the CT instance is it at the very top (consistent with other tag viewers):

image

I can't tell from your seg screenshot what's above the sequence. Is it group 0000?

it is group 5200

image

Okay, yes, that's clearly incorrect.

Interesting.

I'm actually just iterating through the props, which for the most part are adding in the right order, which seemed largely fine. But the way we compose SEGs mean we add tags in different times. All groups will be fine, so I think we just need to sort the top level.

Nitpick: can you also add a space between ">" and "("?

I am not going to try to trace back the version of the viewer used in IDC to this one, but I see that this issue was fixed ~20 days ago, so I am going to take an educated guess it is in IDC. If that guess is accurate, the issue has not been fixed:

image

After some discussion on slack it seems this is either fixed, or we have issues on certain SEGs.

@fedorov will check if he can reproduce.

Can't reproduce it, must have been fixed! 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Diegovictorbr picture Diegovictorbr  路  4Comments

rlaxodnjs199 picture rlaxodnjs199  路  3Comments

szwang-wthealth picture szwang-wthealth  路  3Comments

pieper picture pieper  路  3Comments

ohif-bot picture ohif-bot  路  3Comments