You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and this is the line where the error seems to surface: vatsatseg.py:335: RuntimeWarning: invalid value encountered in long_scalars
nvoxels_skin_torso_prev)
I have a weird problem in some datasets where the labels are suddenly "flipped/collapsed" for single slices, here is an example:
Slice 40 - "broken":
Slice 41 - ok:
Labels are:
3 instead of 0
0 instead of 3
0 instead of 1
0 instead of 2
2 instead of 1
Do you have an idea where I could start looking for the problem?
I have never observed a "flipped" case like you show on the broken slice 40.
The "collapsing" happens when the most outer left and right VAT regions are not connected. In such a case, one should probably join the two disconnected VAT regions of largest bounding box area instead of only taking the one connected region with largest bounding box as happening here:
╭──────── #290 ─ vatsatseg.py ──
│ sat_label = extract_largest_label(f_mask)
│ # TODO: what to do if sat_label is not continuous?
│ # maybe check for a label with a bbox area close to the sat_label?
╰──────── #292 ─
Dear @maxdiefenbach,
I have a weird problem in some datasets where the labels are suddenly "flipped/collapsed" for single slices, here is an example:
Slice 40 - "broken":
![image](https://user-images.githubusercontent.com/4021595/97237481-eedfae00-1832-11eb-9cae-838fcb23f14b.png)
Slice 41 - ok:
![image](https://user-images.githubusercontent.com/4021595/97237503-fbfc9d00-1832-11eb-8723-bf7c94448d89.png)
Labels are:
3 instead of 0
0 instead of 3
0 instead of 1
0 instead of 2
2 instead of 1
Do you have an idea where I could start looking for the problem?
Thank you
Cheers
Steffen
The text was updated successfully, but these errors were encountered: