Repository navigation
v3.5.0
Fixes a labeling error in OpenMAP-T1c and renumbers two labels in OpenMAP-T1 so both models use the same left/right order. OpenMAP-T1 had no error.
OpenMAP-T1c: error fixed (labels 271 and 272)
The model output was correct, but the lookup tables for labels 271 and 272 were swapped.
| Label | Before (wrong) | Now |
|---|---|---|
| 271 | Fimbria_L |
Caudate_tail_R |
| 272 | Caudate_tail_R |
Fimbria_L |
- What was wrong: the names and the hierarchy rows of these two labels. In the output images, label 271 lies in the right hemisphere, so it is the right caudate tail, not the left fimbria.
- What was not wrong: the label images and the model output. The label numbers in the images were always correct.
- What it affected (OpenMAP-T1c only):
- The column names for 271 and 272 in
*_Type1_Level5.csv(the volumes were right, the names were swapped). - The higher-level CSVs and images (Type1 Level1 to 4, Type2 Level1 to 5). The right caudate tail was counted under the left hippocampus side, and the left fimbria under the right basal ganglia side.
- The affected structures are small (the caudate tail was about 200 voxels in the cases we checked), so the effect on large totals is small, but analyses that use these regions are affected.
- The column names for 271 and 272 in
- What to do: re-run OpenMAP-T1c to regenerate the CSVs and level images, or relabel using the updated
level/OpenMAP-T1c/tables.
OpenMAP-T1: renumbered, not an error
The previous OpenMAP-T1 tables were consistent with the model output (268 tail L, 269 fimbria L, 270 tail R, 271 fimbria R). Nothing was wrong. To make the order easier to understand and identical to OpenMAP-T1c, the order was changed to left, right, left, right:
| Label | Before | Now |
|---|---|---|
| 268 | Caudate_tail_L |
Caudate_tail_L (unchanged) |
| 269 | Fimbria_L |
Caudate_tail_R |
| 270 | Caudate_tail_R |
Fimbria_L |
| 271 | Fimbria_R |
Fimbria_R (unchanged) |
- Only the numbers of labels 269 and 270 changed. Each region keeps the same name, the same volume, and the same position in the hierarchy.
- All per-region volumes and all higher-level outputs (Level1 to 4, Type2) are identical to v3.4.x. Only the column order of
*_Type1_Level5.csvchanges (the tail R and fimbria L columns trade places). - Impact: scripts that select these two regions by numeric label (269 or 270) must be updated. Scripts that use region names are not affected.
Verification
- OpenMAP-T1c: the pipeline functions and the output images agree on the corrected order; of the 268 left/right-named labels present in a test case, none lies on the wrong side after the fix.
- OpenMAP-T1: on the same input, the new label image equals the v3.4.x image with labels 269 and 270 exchanged, and the other 15 output volumes are identical.
Changed files
src/utils/pipeline/split_map.pkl (OpenMAP-T1), and in both level/OpenMAP-T1/ and level/OpenMAP-T1c/: Level_ROI_No.csv, Level_ROI_Name.csv, Type1Level5.txt, Multilevel.txt, and the lookup table dictionary.