Other shape metrics

The csv files generated by sct_process_segmentation also include additional metrics (besides area) to analyse the shape of the spinal cord in the axial plane:

https://raw.githubusercontent.com/spinalcordtoolbox/doc-figures/master/shape-metric-computation/sct_process_segmentation-shape-metrics.png

CSV key

Meaning

diameter_AP

Antero-posterior diameter

diameter_RL

Right-left diameter

eccentricity

Eccentricity of the ellipse that has the same second-moments as the spinal cord. Eccentricity is the ratio of the focal distance over the major axis length. The value is in the interval [0, 1). When it is 0, the ellipse becomes a circle.

solidity

CSA(spinal_cord) / CSA_convex(spinal_cord). The more ellipse-shaped the cord is (i.e. the closer the perimeter of the cord is to being fully convex), the closer the solidity ratio will be to 1. This metric is interesting for detecting concave regions (e.g., in case of strong compression).

orientation

Angle (in degrees) between the AP axis of the spinal cord and the AP axis of the image.

symmetry_dice

Dice score between the left and right (RL) hemicords or anterior and posterior (AP) halves of the spinal cord.

symmetry_hausdorff

Hausdorff distance between the left and right (RL) hemicords or anterior and posterior (AP) halves of the spinal cord.

symmetry_difference

Absolute difference between the left and right (RL) hemicords or anterior and posterior (AP) halves of the spinal cord.

area_quadrant

Cross-sectional area of the spinal cord in each quadrant (anterior-left, anterior-right, posterior-left, posterior-right).

These are of particular interest for studying cord compression. See Martin et al. BMJ Open 2018 and Horáková et al. Quant Imaging Med Surg 2022 for example applications.

For an interactive database of normative values, see Valošek, Bédard et al. NeuroLibre 2023.

To demonstrate, below are the shape metrics provided in the CSV file produced by CSA (Per level).

Additional shape metrics produced in csa_perlevel.csv (1/3)

Filename

Slice (I->S)

VertLevel

MEAN(diameter_AP)

STD(diameter_AP)

MEAN(diameter_RL)

STD(diameter_RL)

single_subject/data/t2/t2_seg.nii.gz

169:189

3

7.844489355733386

0.1922008668231576

11.577942581270596

0.20618961050420195

single_subject/data/t2/t2_seg.nii.gz

190:207

2

8.100985311246468

0.23362872873093235

11.431529185365072

0.11689459245620851

Additional shape metrics produced in csa_perlevel.csv (2/3)

Filename

Slice (I->S)

VertLevel

MEAN(eccentricity)

STD(eccentricity)

MEAN(orientation)

STD(orientation)

MEAN(solidity)

STD(solidity)

SUM(length)

single_subject/data/t2/t2_seg.nii.gz

169:189

3

0.732490213342126

0.013611096522704489

-0.3233312632586359

1.4208213652928838

0.9617168134161742

0.009530048920989265

16.961995967857717

single_subject/data/t2/t2_seg.nii.gz

190:207

2

0.6991962190095437

0.01195346650250226

0.9262470051820885

1.336930385288994

0.9705721757026643

0.011353940597381705

14.446837653365291

Additional shape metrics produced in csa_perlevel.csv (3/3)

Filename

Slice (I->S)

VertLevel

MEAN(area_quadrant_anterior_left)

MEAN(area_quadrant_anterior_right)

MEAN(symmetry_dice_RL)

MEAN(symmetry_dice_AP)

MEAN(symmetry_hausdorff_RL)

MEAN(symmetry_hausdorff_AP)

single_subject/data/t2/t2_seg.nii.gz

169:189

3

17.159629681937513

18.820911417243188

0.8917746525698961

0.8904975965024924

0.6704804892104089

0.7406272863999329

single_subject/data/t2/t2_seg.nii.gz

190:207

2

17.557650022040367

18.782690104520036

0.889587233207632

0.8889895179430007

0.5755110999473081

0.6269608874171207