Standardized in QMRITools

Muscle segmentation naming

A generalized muscle naming convention

All muscles and bones that are segmented with QMRITools have a standardized name and number. The labels are stored as ITK-SNAP label description files in the folder NeuralNetworks of the toolbox (GitHub), and are used for manual segmentation, training of the networks and the output of SegmentData. The same names and numbers are used in the Muscle-BIDS pipeline.

Label files

filecontentlabels
S1_Muscles_body_sidefull body muscles and bones, left and right separate. This is the default output of SegmentData.261
S2_Muscles_leg_sidelower leg, upper leg and hip muscles, bones and fat, left and right separate105
S3_Muscles_shoulder_sideshoulder muscles and bones, left and right separate41
S4_Muscles_arm_upper_sideupper arm muscles and bones, left and right separate11
T1_Muscles_bodyfull body muscles and bones without left and right137
T2_Muscles_leglower extremity muscles and bones without left and right 
N1 to N7label sets used for training the networks per region 

Numbering of the full body labels (S1)

In the full body label set every label has a three digit number region * 100 + index, where the region is the first digit and the index runs through the muscles of that region. Left and right muscles are consecutive, where odd numbers are left and even numbers are right. For example, 521 is the left vastus intermedius, and 522 the right vastus intermedius. Midline structures such as the bones in region 9 have a single number. The first digit is the body region:

regionbody partexamples
1Head and necktongue, masseter, temporalis, scalenes, sternocleidomastoid
2Shouldertrapezius, deltoid, rotator cuff, pectoralis, serratus anterior
3Back, thorax and abdomenerector spinae, obliques, rectus abdominis, psoas major
4Hipgluteus maximus, medius and minimus, piriformis, levator ani
5Upper leghamstrings, adductors, quadriceps, sartorius, gracilis
6Lower leggastrocnemius, soleus, tibialis anterior, fibularis
7Armbiceps brachii, triceps brachii, forearm flexors and extensors
8Bones, left and rightscapula, humerus, femur, tibia, fibula, ribs
9Bones, midlineskull, mandible, sternum, vertebrae, sacrum

The numbers in the other files (S2 to S4) are running numbers within that label file (for example 1 and 2 are the left and right lateral gastrocnemius in S2), so labels from different files should not be compared by number. The files with the suffix _side have the muscle name followed by Left or Right.

Use in QMRITools

The label files are used to translate between label numbers and names. By default the leg label file of the toolbox is used, and any ITK-SNAP label file can be given.

MuscleLabelToName[{1, 2, 3}]
MuscleNameToLabel[{"Soleus Left"}]
MuscleLabelToName[{501, 502}, labelFile]

Which output label set is used is selected with the what argument of SegmentData, see the segmentation page.