Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
wasserth committed Feb 7, 2025
1 parent 02fba9c commit 268d7a0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Master


## Release 2.6.0
* add evans index calculation
* require torch < 2.6.0 to avoid weight loading error (waiting for nnU-Net to fix this issue)


## Release 2.5.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ If you want to combine some subclasses (e.g. lung lobes) into one binary mask (e
totalseg_combine_masks -i totalsegmentator_output_dir -o combined_mask.nii.gz -m lungcomm
```

If you want to calculate the Evans index you can use the following command (currently only available in master branch):
If you want to calculate the [Evans index](https://radiopaedia.org/articles/evans-index-2) you can use the following command:
```
totalseg_evans_index -i ct_skull.nii.gz -o evans_index.json -p evans_index.png
```
Expand Down
1 change: 1 addition & 0 deletions resources/prepare_weights_for_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ set -e # Exit on error
# todo: select as needed
cd /mnt/nvme/data/multiseg/weights_upload/totalsegmentator_v2
# cd /mnt/nvme/data/multiseg/weights_upload/totalsegmentator_mri
# cd /mnt/nvme/data/multiseg/weights_upload/nnunet_modal

# Process each dataset ID
for dataset_id in "$@"; do
Expand Down
2 changes: 1 addition & 1 deletion totalsegmentator/bin/totalseg_evans_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def evans_index(ct_bytes, f_type, verbose=False):


"""
cd ~/Downloads/evans_index/31103170_rot_large
cd /mnt/nvme/data/test_data/evans_index/31103170_rot_large
python ~/dev/TotalSegmentator/totalsegmentator/bin/totalseg_evans_index.py -i ct_sm.nii.gz -o evans_index.json -p evans_index.png
python ~/dev/TotalSegmentator/totalsegmentator/bin/totalseg_evans_index.py -i ct_nonbrain.nii.gz -o evans_index_nonbrain.json -p evans_index_nonbrain.png
"""
Expand Down

0 comments on commit 268d7a0

Please sign in to comment.