-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segments loaded from DICOM should have names as in DICOM SEG #119
Comments
I am not sure, how the Name column is populated. For the measurements table, I am calling segment.GetName() @cpinter How are those names populated when loading them from DICOM? |
Isn't there a setter for the name?! |
Yes there is, but it doesn't make sense to me that the names are displayed incorrectly. When you create a segmentation on your own and then change the segment name from the segment table, then it will also change in the measurements table. That's why I am wondering. |
In the DICOM SEG loader, the segment name is the same as the temporary labelmap volume's name that was generated. I believe those nrrds are written out by your CLI |
This is where segment name is set when loading: |
@cpinter Wouldn't it make sense to populate that from the terminology? |
But in any case, there is something wrong then. I will need to check . |
I will need to look as well. As I think about it, there is a name for the measurements group in SR, and segment label in SEG. They don't have to be the same, and I think they are not. Please don't spend any time on this until I take a look. Sorry for the confusion! |
In either case, there is a setter for segment name, right Csaba? |
Please see the line I referred to a few comments above. The argument of that call simply needs to be replaced from the proper name. I'm not sure what I can do to help further. |
Csaba, I will look at it later today or tomorrow. Thanks for the clarification, nothing else is needed. |
Ok, so there are several issues:
I think here's what we should do:
|
To avoid any confusion - none of this is Csaba's fault! :) |
Currently segments names in the measurements table are correctly set from DICOM, but the segments list names are incorrect.
The text was updated successfully, but these errors were encountered: