{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/totalsegmentator-robust-segmentation-of-104","title":"TotalSegmentator: robust segmentation of 104 anatomical structures in CT images","arxiv_id":"2208.05868","date":"2022-08-11","proceeding":null,"authors":["Jakob Wasserthal","Hanns-Christian Breit","Manfred T. Meyer","Maurice Pradella","Daniel Hinck","Alexander W. Sauter","Tobias Heye","Daniel Boll","Joshy Cyriac","Shan Yang","Michael Bach","Martin Segeroth"],"abstract":"We present a deep learning segmentation model that can automatically and robustly segment all major anatomical structures in body CT images. In this retrospective study, 1204 CT examinations (from the years 2012, 2016, and 2020) were used to segment 104 anatomical structures (27 organs, 59 bones, 10 muscles, 8 vessels) relevant for use cases such as organ volumetry, disease characterization, and surgical or radiotherapy planning. The CT images were randomly sampled from routine clinical studies and thus represent a real-world dataset (different ages, pathologies, scanners, body parts, sequences, and sites). The authors trained an nnU-Net segmentation algorithm on this dataset and calculated Dice similarity coefficients (Dice) to evaluate the model's performance. The trained algorithm was applied to a second dataset of 4004 whole-body CT examinations to investigate age dependent volume and attenuation changes. The proposed model showed a high Dice score (0.943) on the test set, which included a wide range of clinical data with major pathologies. The model significantly outperformed another publicly available segmentation model on a separate dataset (Dice score, 0.932 versus 0.871, respectively). The aging study demonstrated significant correlations between age and volume and mean attenuation for a variety of organ groups (e.g., age and aortic volume; age and mean attenuation of the autochthonous dorsal musculature). The developed model enables robust and accurate segmentation of 104 anatomical structures. The annotated dataset (https://doi.org/10.5281/zenodo.6802613) and toolkit (https://www.github.com/wasserth/TotalSegmentator) are publicly available.","url_abs":"https://arxiv.org/abs/2208.05868v2","url_pdf":"https://arxiv.org/pdf/2208.05868v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"totalsegmentator-robust-segmentation-of-104","repo_url":"https://github.com/wasserth/totalsegmentator","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"totalsegmentator-robust-segmentation-of-104","repo_url":"https://github.com/stanfordmimi/totalsegmentatorv2","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"segmentation","task_name":"Segmentation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2208.05868","atlas_url":"https://app.syntology.ai/?focus=2208.05868","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2208.05868"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/wasserth/totalsegmentator","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/stanfordmimi/totalsegmentatorv2","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":9,"ran_honours":2,"unverified":1},"by_repo_kind":{"official":{"samples":2,"ran":2,"repositories":1},"listed":{"samples":10,"ran":9,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"d1a4855959beb8d9","entry":"command_exists","repo":"stanfordmimi/totalsegmentatorv2","repo_kind":"listed","path":"totalsegmentatorv2/dicom_io.py","file_url":"https://github.com/stanfordmimi/totalsegmentatorv2/blob/HEAD/totalsegmentatorv2/dicom_io.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d1a4855959beb8d9"}},{"code_sha256_prefix":"56b08e7a65ca7b6f","entry":"crop_to_bbox","repo":"stanfordmimi/totalsegmentatorv2","repo_kind":"listed","path":"totalsegmentatorv2/cropping.py","file_url":"https://github.com/stanfordmimi/totalsegmentatorv2/blob/HEAD/totalsegmentatorv2/cropping.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"56b08e7a65ca7b6f"}},{"code_sha256_prefix":"37ba223dc48dddd1","entry":"get_bbox_from_mask","repo":"stanfordmimi/totalsegmentatorv2","repo_kind":"listed","path":"totalsegmentatorv2/cropping.py","file_url":"https://github.com/stanfordmimi/totalsegmentatorv2/blob/HEAD/totalsegmentatorv2/cropping.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"37ba223dc48dddd1"}},{"code_sha256_prefix":"0eafd685e8045cc3","entry":"get_config_key","repo":"stanfordmimi/totalsegmentatorv2","repo_kind":"listed","path":"totalsegmentatorv2/config.py","file_url":"https://github.com/stanfordmimi/totalsegmentatorv2/blob/HEAD/totalsegmentatorv2/config.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0eafd685e8045cc3"}},{"code_sha256_prefix":"226ac7dd432d8d40","entry":"is_valid_license","repo":"stanfordmimi/totalsegmentatorv2","repo_kind":"listed","path":"totalsegmentatorv2/config.py","file_url":"https://github.com/stanfordmimi/totalsegmentatorv2/blob/HEAD/totalsegmentatorv2/config.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"226ac7dd432d8d40"}},{"code_sha256_prefix":"0333f6eb1f790f7f","entry":"keep_largest_blob","repo":"stanfordmimi/totalsegmentatorv2","repo_kind":"listed","path":"totalsegmentatorv2/postprocessing.py","file_url":"https://github.com/stanfordmimi/totalsegmentatorv2/blob/HEAD/totalsegmentatorv2/postprocessing.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0333f6eb1f790f7f"}},{"code_sha256_prefix":"a10d5a7ef3cf306b","entry":"positive_float","repo":"wasserth/totalsegmentator","repo_kind":"official","path":"totalsegmentator/bin/TotalSegmentator.py","file_url":"https://github.com/wasserth/totalsegmentator/blob/HEAD/totalsegmentator/bin/TotalSegmentator.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a10d5a7ef3cf306b"}},{"code_sha256_prefix":"5fa84fa04d5cb866","entry":"remove_small_blobs","repo":"stanfordmimi/totalsegmentatorv2","repo_kind":"listed","path":"totalsegmentatorv2/postprocessing.py","file_url":"https://github.com/stanfordmimi/totalsegmentatorv2/blob/HEAD/totalsegmentatorv2/postprocessing.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5fa84fa04d5cb866"}},{"code_sha256_prefix":"8eab68f75cf61e14","entry":"reorder_multilabel_like_v1","repo":"stanfordmimi/totalsegmentatorv2","repo_kind":"listed","path":"totalsegmentatorv2/libs.py","file_url":"https://github.com/stanfordmimi/totalsegmentatorv2/blob/HEAD/totalsegmentatorv2/libs.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8eab68f75cf61e14"}},{"code_sha256_prefix":"40eb90ea5711b3d7","entry":"resampling_order","repo":"wasserth/totalsegmentator","repo_kind":"official","path":"totalsegmentator/bin/TotalSegmentator.py","file_url":"https://github.com/wasserth/totalsegmentator/blob/HEAD/totalsegmentator/bin/TotalSegmentator.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"40eb90ea5711b3d7"}},{"code_sha256_prefix":"cb6f2c57ee0d3459","entry":"setup_totalseg","repo":"stanfordmimi/totalsegmentatorv2","repo_kind":"listed","path":"totalsegmentatorv2/config.py","file_url":"https://github.com/stanfordmimi/totalsegmentatorv2/blob/HEAD/totalsegmentatorv2/config.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"cb6f2c57ee0d3459"}},{"code_sha256_prefix":"49ba65e86a9016df","entry":"undo_canonical","repo":"stanfordmimi/totalsegmentatorv2","repo_kind":"listed","path":"totalsegmentatorv2/alignment.py","file_url":"https://github.com/stanfordmimi/totalsegmentatorv2/blob/HEAD/totalsegmentatorv2/alignment.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"49ba65e86a9016df"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}