Skip to content

Commit

Permalink
add pi_time threshold for arterial late
Browse files Browse the repository at this point in the history
  • Loading branch information
wasserth committed Oct 8, 2024
1 parent b33449b commit d9c4875
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## Master
* add option to remove small connected components in postprocessing
* add `totalseg_get_modality`
* change pi_time threshold for arterial late phase from 50s to 60s

## Release 2.4.0
* add brain structures
Expand Down
4 changes: 3 additions & 1 deletion totalsegmentator/bin/totalseg_get_phase.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ def pi_time_to_phase(pi_time: float) -> str:
elif pi_time < 50:
return "arterial_late", 1.0
elif pi_time < 60:
return "portal_venous", 0.7
return "arterial_late", 0.7 # in previous version: "portal_venous"
elif pi_time < 70:
return "portal_venous", 1.0
elif pi_time < 90:
return "portal_venous", 1.0
elif pi_time < 100:
Expand Down

0 comments on commit d9c4875

Please sign in to comment.