Skip to content

Make labeling more robust #67

@NathanMolinier

Description

@NathanMolinier

Description

I noticed an issue with the labeling algorithm: here the vertebra C6 does not appear and C5 is used 2 times

step1 raw step2 raw output with tags
sub-242472_acq-sagittal_T2w_sag_0 5_step1_raw sub-242472_acq-sagittal_T2w_sag_0 5_step2_raw sub-242472_acq-sagittal_T2w_sag_0 5_step2_output_tags

Currently for labeling we project all the center of mass of the segmentations (vertebrae and discs) onto the canal. But sometimes this projection may not be 100% reliable.

Idea

To solve this we could perform the labeling only using the segmentations of the discs (project only the discs onto the centerline). Then identify the vertebrae that are in between to label them individually.

Example

Once we have the labels for the discs, lets say C2-C3 and C3-C4 we just need to identify the vertebrae that is in between the two and it will automatically be C3. To identify the vertebra, we could just find the middle point in between the center of mass of C2-C3 and C3-C4 then find out to which vertebra this point belong or is the closest to its center of mass.

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