Skip to content

Obtain spinal levels from nerve rootlets segmentation #13

@tzebre

Description

@tzebre

UPDATE by @valosekj -- I updated the issue description to be in line with #18.

The model predicts spinal nerve rootlets segmentation; see here. The predicted spinal nerve rootlets can be used to obtain the spinal levels using the utilities/rootlets_to_spinal_levels.py script using the following procedure:

  1. Dilate the spinal cord segmentation by 1, 2 or 3 voxels (-dilate input argument)
  2. Find the intersection between the dilated spinal cord segmentation and the rootlets segmentation.
  3. The spinal levels are then defined based on the top and bottom slices of the intersection.

Individual steps are illustrated in this Google Slides presentation.


To validate the result, we compared the results of this prediction with Cadotte et al., 2017 values using the same MRI images.
Cadotte data have labeled images with PMJ (pontomedullary junction), vertebrae and DREZ (dorsal root entry zone) labeled in the same file. I used separate_cadotte_label.py to create 3 files: one for the PMJ, one for the DREZ, and one for vertebrae.
I've used cadotte_value notebook to create cadotte_dist.csv
The results of the prediction on Cadotte are not really good #11.

**Cadotte paper graph** Capture d’écran 2023-08-15 à 15 24 59
**Reproduced graph** final image

Legend: Left = Cadotte DREZ label, Middle = Cadotte label vertebrae, Right = M3 prediction (conversion with dilate = 2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions