--- pretty_name: SegSTRONG-C license: cc-by-nc-sa-4.0 viewer: false task_categories: - image-segmentation size_categories: - 10K//regular/{left,right}/.png SegSTRONGC_train///ground_truth/{left,right}/.png SegSTRONGC_val/val///{regular,smoke,blood,low_brightness,bg_change}/{left,right}/.png SegSTRONGC_val/val///ground_truth/{left,right}/.png SegSTRONGC_test/test///{regular,smoke,blood,low_brightness,bg_change}/{left,right}/.png SegSTRONGC_test/test///ground_truth/{left,right}/.png ``` - **Images:** RGB PNG, 1920×1080, named `0.png` … `299.png`. - **Masks** (`ground_truth`): 8-bit grayscale PNG, 1920×1080, **0 = background and 255 = tool**, so divide by 255 to get labels. Every mask contains some tool; tools average 13–20% of pixels, depending on the split. - **Pairing:** `.png` in any condition folder of a subsequence pairs with `ground_truth//.png` of the same subsequence. The files are the original release, unzipped from `SegSTRONGC_{train,val,test}.zip` with the folder structure unchanged. ## Quick start ```python from huggingface_hub import snapshot_download import numpy as np from PIL import Image # Download one split only (the full dataset is about 82 GB). root = snapshot_download("hding2455/SegSTRONGC", repo_type="dataset", allow_patterns=["SegSTRONGC_train/*"]) frame = f"{root}/SegSTRONGC_train/3/0" image = np.array(Image.open(f"{frame}/regular/left/0.png")) # (1080, 1920, 3) uint8 mask = np.array(Image.open(f"{frame}/ground_truth/left/0.png")) > 0 # (1080, 1920) bool, True = tool ``` For corrupted evaluation data, use for example `allow_patterns=["SegSTRONGC_test/test/9/*/smoke/*", "SegSTRONGC_test/test/9/*/ground_truth/*"]`. ## Evaluation The challenge ranked entries by the Dice similarity coefficient (DSC) and normalized surface distance (NSD) at several tolerances, aggregated over the three corruption domains: smoke, bleeding and low brightness. Baseline models and evaluation code are in [CaRTS](https://github.com/hding2455/CaRTS). ## License The SegSTRONG-C data is released under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/): - use it with attribution (cite the paper below); - for non-commercial purposes only; - share derivatives under the same license. The CaRTS code is licensed separately. ## Citation ```bibtex @misc{ding2024segstrongcsegmentingsurgicaltools, title={SegSTRONG-C: Segmenting Surgical Tools Robustly On Non-adversarial Generated Corruptions -- An EndoVis'24 Challenge}, author={Ding, Hao and Lu, Tuxun and Zhang, Yuqian and others}, year={2024}, eprint={2407.11906}, archivePrefix={arXiv}, primaryClass={cs.CV} } ```