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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"classes": {
|
| 3 |
+
"0": "background",
|
| 4 |
+
"1": "placental_vessel",
|
| 5 |
+
"2": "ablation_tool",
|
| 6 |
+
"3": "fetus"
|
| 7 |
+
},
|
| 8 |
+
"encoding": "Single-channel PNG, PIL mode 'L', raw integer labels. Mutually exclusive. Verified exhaustively: all 2718 masks contain only values {0,1,2,3} -- no palette, no anti-aliasing strays.",
|
| 9 |
+
"colormap_rgb": {
|
| 10 |
+
"0": [
|
| 11 |
+
0,
|
| 12 |
+
0,
|
| 13 |
+
0
|
| 14 |
+
],
|
| 15 |
+
"1": [
|
| 16 |
+
255,
|
| 17 |
+
0,
|
| 18 |
+
0
|
| 19 |
+
],
|
| 20 |
+
"2": [
|
| 21 |
+
0,
|
| 22 |
+
0,
|
| 23 |
+
255
|
| 24 |
+
],
|
| 25 |
+
"3": [
|
| 26 |
+
0,
|
| 27 |
+
255,
|
| 28 |
+
0
|
| 29 |
+
]
|
| 30 |
+
},
|
| 31 |
+
"colormap_source": "FetReg2021_segmentation_visualisation.py, shipped by the authors in the archive",
|
| 32 |
+
"centers": {
|
| 33 |
+
"I": "Fetal Medicine Unit, University College London Hospital, London, UK",
|
| 34 |
+
"II": "Department of Fetal and Perinatal Medicine, Istituto \"Giannina Gaslini\", Genoa, Italy",
|
| 35 |
+
"assignment": {
|
| 36 |
+
"Video001": "I",
|
| 37 |
+
"Video002": "I",
|
| 38 |
+
"Video003": "I",
|
| 39 |
+
"Video004": "II",
|
| 40 |
+
"Video005": "II",
|
| 41 |
+
"Video006": "II",
|
| 42 |
+
"Video007": "I",
|
| 43 |
+
"Video008": "I",
|
| 44 |
+
"Video009": "I",
|
| 45 |
+
"Video010": "II",
|
| 46 |
+
"Video011": "II",
|
| 47 |
+
"Video012": "II",
|
| 48 |
+
"Video013": "I",
|
| 49 |
+
"Video014": "I",
|
| 50 |
+
"Video015": "I",
|
| 51 |
+
"Video016": "II",
|
| 52 |
+
"Video017": "II",
|
| 53 |
+
"Video018": "II",
|
| 54 |
+
"Video019": "I",
|
| 55 |
+
"Video020": "I",
|
| 56 |
+
"Video022": "II",
|
| 57 |
+
"Video023": "II",
|
| 58 |
+
"Video024": "II",
|
| 59 |
+
"Video025": "I"
|
| 60 |
+
},
|
| 61 |
+
"note": "From Figures 4 and 5 of the MedIA 2024 findings paper. Paper Table 2's Center column swaps Video018 (really II) and Video019 (really I); the FetoPlac overlap proves Video019 is UCLH independently."
|
| 62 |
+
},
|
| 63 |
+
"occurrence_frame_measured": {
|
| 64 |
+
"Video001": {
|
| 65 |
+
"split": "train",
|
| 66 |
+
"labelled_frames": 152,
|
| 67 |
+
"vessel": 152,
|
| 68 |
+
"tool": 21,
|
| 69 |
+
"fetus": 11
|
| 70 |
+
},
|
| 71 |
+
"Video002": {
|
| 72 |
+
"split": "train",
|
| 73 |
+
"labelled_frames": 153,
|
| 74 |
+
"vessel": 153,
|
| 75 |
+
"tool": 35,
|
| 76 |
+
"fetus": 1
|
| 77 |
+
},
|
| 78 |
+
"Video003": {
|
| 79 |
+
"split": "train",
|
| 80 |
+
"labelled_frames": 117,
|
| 81 |
+
"vessel": 117,
|
| 82 |
+
"tool": 52,
|
| 83 |
+
"fetus": 32
|
| 84 |
+
},
|
| 85 |
+
"Video004": {
|
| 86 |
+
"split": "train",
|
| 87 |
+
"labelled_frames": 100,
|
| 88 |
+
"vessel": 100,
|
| 89 |
+
"tool": 21,
|
| 90 |
+
"fetus": 18
|
| 91 |
+
},
|
| 92 |
+
"Video005": {
|
| 93 |
+
"split": "train",
|
| 94 |
+
"labelled_frames": 100,
|
| 95 |
+
"vessel": 100,
|
| 96 |
+
"tool": 35,
|
| 97 |
+
"fetus": 30
|
| 98 |
+
},
|
| 99 |
+
"Video006": {
|
| 100 |
+
"split": "train",
|
| 101 |
+
"labelled_frames": 100,
|
| 102 |
+
"vessel": 100,
|
| 103 |
+
"tool": 49,
|
| 104 |
+
"fetus": 4
|
| 105 |
+
},
|
| 106 |
+
"Video007": {
|
| 107 |
+
"split": "train",
|
| 108 |
+
"labelled_frames": 140,
|
| 109 |
+
"vessel": 140,
|
| 110 |
+
"tool": 30,
|
| 111 |
+
"fetus": 3
|
| 112 |
+
},
|
| 113 |
+
"Video008": {
|
| 114 |
+
"split": "train",
|
| 115 |
+
"labelled_frames": 110,
|
| 116 |
+
"vessel": 105,
|
| 117 |
+
"tool": 80,
|
| 118 |
+
"fetus": 34
|
| 119 |
+
},
|
| 120 |
+
"Video009": {
|
| 121 |
+
"split": "train",
|
| 122 |
+
"labelled_frames": 105,
|
| 123 |
+
"vessel": 104,
|
| 124 |
+
"tool": 40,
|
| 125 |
+
"fetus": 14
|
| 126 |
+
},
|
| 127 |
+
"Video011": {
|
| 128 |
+
"split": "train",
|
| 129 |
+
"labelled_frames": 100,
|
| 130 |
+
"vessel": 100,
|
| 131 |
+
"tool": 7,
|
| 132 |
+
"fetus": 37
|
| 133 |
+
},
|
| 134 |
+
"Video013": {
|
| 135 |
+
"split": "train",
|
| 136 |
+
"labelled_frames": 124,
|
| 137 |
+
"vessel": 124,
|
| 138 |
+
"tool": 54,
|
| 139 |
+
"fetus": 21
|
| 140 |
+
},
|
| 141 |
+
"Video014": {
|
| 142 |
+
"split": "train",
|
| 143 |
+
"labelled_frames": 110,
|
| 144 |
+
"vessel": 110,
|
| 145 |
+
"tool": 54,
|
| 146 |
+
"fetus": 14
|
| 147 |
+
},
|
| 148 |
+
"Video016": {
|
| 149 |
+
"split": "train",
|
| 150 |
+
"labelled_frames": 100,
|
| 151 |
+
"vessel": 100,
|
| 152 |
+
"tool": 16,
|
| 153 |
+
"fetus": 20
|
| 154 |
+
},
|
| 155 |
+
"Video017": {
|
| 156 |
+
"split": "train",
|
| 157 |
+
"labelled_frames": 100,
|
| 158 |
+
"vessel": 97,
|
| 159 |
+
"tool": 20,
|
| 160 |
+
"fetus": 3
|
| 161 |
+
},
|
| 162 |
+
"Video018": {
|
| 163 |
+
"split": "train",
|
| 164 |
+
"labelled_frames": 100,
|
| 165 |
+
"vessel": 100,
|
| 166 |
+
"tool": 26,
|
| 167 |
+
"fetus": 11
|
| 168 |
+
},
|
| 169 |
+
"Video019": {
|
| 170 |
+
"split": "train",
|
| 171 |
+
"labelled_frames": 149,
|
| 172 |
+
"vessel": 149,
|
| 173 |
+
"tool": 15,
|
| 174 |
+
"fetus": 31
|
| 175 |
+
},
|
| 176 |
+
"Video022": {
|
| 177 |
+
"split": "train",
|
| 178 |
+
"labelled_frames": 100,
|
| 179 |
+
"vessel": 100,
|
| 180 |
+
"tool": 12,
|
| 181 |
+
"fetus": 1
|
| 182 |
+
},
|
| 183 |
+
"Video023": {
|
| 184 |
+
"split": "train",
|
| 185 |
+
"labelled_frames": 100,
|
| 186 |
+
"vessel": 92,
|
| 187 |
+
"tool": 14,
|
| 188 |
+
"fetus": 8
|
| 189 |
+
},
|
| 190 |
+
"Video010": {
|
| 191 |
+
"split": "test",
|
| 192 |
+
"labelled_frames": 100,
|
| 193 |
+
"vessel": 92,
|
| 194 |
+
"tool": 7,
|
| 195 |
+
"fetus": 28
|
| 196 |
+
},
|
| 197 |
+
"Video012": {
|
| 198 |
+
"split": "test",
|
| 199 |
+
"labelled_frames": 100,
|
| 200 |
+
"vessel": 100,
|
| 201 |
+
"tool": 54,
|
| 202 |
+
"fetus": 0
|
| 203 |
+
},
|
| 204 |
+
"Video015": {
|
| 205 |
+
"split": "test",
|
| 206 |
+
"labelled_frames": 125,
|
| 207 |
+
"vessel": 124,
|
| 208 |
+
"tool": 83,
|
| 209 |
+
"fetus": 28
|
| 210 |
+
},
|
| 211 |
+
"Video020": {
|
| 212 |
+
"split": "test",
|
| 213 |
+
"labelled_frames": 123,
|
| 214 |
+
"vessel": 122,
|
| 215 |
+
"tool": 89,
|
| 216 |
+
"fetus": 13
|
| 217 |
+
},
|
| 218 |
+
"Video024": {
|
| 219 |
+
"split": "test",
|
| 220 |
+
"labelled_frames": 100,
|
| 221 |
+
"vessel": 100,
|
| 222 |
+
"tool": 15,
|
| 223 |
+
"fetus": 1
|
| 224 |
+
},
|
| 225 |
+
"Video025": {
|
| 226 |
+
"split": "test",
|
| 227 |
+
"labelled_frames": 110,
|
| 228 |
+
"vessel": 110,
|
| 229 |
+
"tool": 72,
|
| 230 |
+
"fetus": 13
|
| 231 |
+
}
|
| 232 |
+
},
|
| 233 |
+
"occurrence_note": "Number of labelled frames per video in which each class appears, measured from the actual masks. Paper Table 2's Occurrence(frame) column is row-shifted from Video020 downward -- its Video025 entry (648/320/83) is in fact the test-set column totals.",
|
| 234 |
+
"fetoplac_overlap": {
|
| 235 |
+
"description": "MedOtter/FetoPlac (Bano et al. MICCAI 2020) is a UCLH-only subset of these same TTTS procedures. Join key is the original video frame number embedded in both naming schemes.",
|
| 236 |
+
"video_to_fetoplac_subject": {
|
| 237 |
+
"Video001": "anon001",
|
| 238 |
+
"Video002": "anon002",
|
| 239 |
+
"Video003": "anon003",
|
| 240 |
+
"Video007": "anon005",
|
| 241 |
+
"Video019": "anon012"
|
| 242 |
+
},
|
| 243 |
+
"containment": {
|
| 244 |
+
"Video001": "120/120",
|
| 245 |
+
"Video002": "101/101",
|
| 246 |
+
"Video003": "39/39",
|
| 247 |
+
"Video007": "88/88",
|
| 248 |
+
"Video019": "97/97"
|
| 249 |
+
},
|
| 250 |
+
"not_in_fetreg": [
|
| 251 |
+
"anon010"
|
| 252 |
+
],
|
| 253 |
+
"warning": "All overlap is inside FetReg's TRAIN split. Do not benchmark FetoPlac against a model trained on FetReg train, and never split these procedures across train/test."
|
| 254 |
+
},
|
| 255 |
+
"upstream_errata": {
|
| 256 |
+
"Video016_train_clip": {
|
| 257 |
+
"readme": 493,
|
| 258 |
+
"actual": 593
|
| 259 |
+
},
|
| 260 |
+
"Video025_test_labelled": {
|
| 261 |
+
"readme": 100,
|
| 262 |
+
"actual": 110
|
| 263 |
+
},
|
| 264 |
+
"Video025_test_clip": {
|
| 265 |
+
"readme_and_table2": 272,
|
| 266 |
+
"actual": 292
|
| 267 |
+
},
|
| 268 |
+
"test_clip_total": {
|
| 269 |
+
"paper": 2205,
|
| 270 |
+
"actual": 2225
|
| 271 |
+
},
|
| 272 |
+
"grand_total_frames": {
|
| 273 |
+
"paper": 9616,
|
| 274 |
+
"actual": 9636
|
| 275 |
+
}
|
| 276 |
+
}
|
| 277 |
+
}
|