--- license: cc-by-nc-4.0 task_categories: - image-segmentation language: - en tags: - medical - image pretty_name: 'segrap23-lite' size_categories: - n<1K --- ## About This is a subset of the [SegRap23 dataset](https://segrap2023.grand-challenge.org/dataset/). - 120 images (for both contrast-CT and CT) and segmentation masks (for both tasks 1 and 2 in [SegRap23 challenge](https://segrap2023.grand-challenge.org)) - No change to any image or segmentation mask - Files are renamed according to case IDs This dataset is released under the `CC BY-NC 4.0` license. ## Official Release For more information, please refer to the [SegRap23 challenge](https://segrap2023.grand-challenge.org). - Data License (official): N/A (Please contact [me](https://yongchengyao.github.io) if there are any licensing issues.) - Challenge (official): https://segrap2023.grand-challenge.org - Data (official): https://segrap2023.grand-challenge.org/dataset/ - Paper: https://doi.org/10.1016/j.media.2024.103447 ## Segmentation Labels ```python labels_map_tasks1 = { "1": "brain", "2": "brainstem", "3": "optic chiasm", "4": "left temporal lobe", "5": "right temporal lobe", "6": "left overlap region of temporal lobe & hippocampus", "7": "right overlap region of temporal lobe & hippocampus", "8": "left hippocampus", "9": "right hippocampus", "10": "left eye", "11": "right eye", "12": "left lens", "13": "right lens", "14": "left optic nerve", "15": "right optic nerve", "16": "left middle ear", "17": "right middle ear", "18": "left internal auditory canal", "19": "right internal auditory canal", "20": "left overlap region of middle ear & tympanic cavity", "21": "right overlap region of middle ear & tympanic cavity", "22": "left tympanic cavity", "23": "right tympanic cavity", "24": "left overlap region of middle ear & vestibular semicircular canal", "25": "right overlap region of middle ear & vestibular semicircular canal", "26": "left vestibular semicircular canal", "27": "right vestibular semicircular canal", "28": "left cochlea", "29": "right cochlea", "30": "left overlap region of middle ear & eustachian tube bone", "31": "right overlap region of middle ear & eustachian tube bone", "32": "left eustachian tube bone", "33": "right eustachian tube bone", "34": "pituitary gland", "35": "oral cavity", "36": "left mandible", "37": "right mandible", "38": "left submandibular gland", "39": "right submandibular gland", "40": "left parotid gland", "41": "right parotid gland", "42": "left mastoid", "43": "right mastoid", "44": "left temporomandibular joint", "45": "right temporomandibular joint", "46": "spinal cord", "47": "esophagus", "48": "larynx", "49": "larynx glottic", "50": "larynx supraglottic", "51": "overlap region of larynx & pharynx constrictors", "52": "pharynx constrictor", "53": "thyroid", "54": "trachea", } labels_map_tasks2 = { "1": "gross target volume of nasopharynx tumor", "2": "gross target volume of lymph node tumor", } ``` ## Download from Huggingface ```bash #!/bin/bash pip install huggingface-hub[cli] huggingface-cli login --token $HF_TOKEN ``` ```python # python from huggingface_hub import snapshot_download snapshot_download(repo_id="YongchengYAO/SegRap23-Lite", repo_type='dataset', local_dir="/your/local/folder") ``` ## Download from Raw Data ```python python download_SegRap23.py -d -n SegRap23 ```