yijingru / Vertebra-Landmark-Detection

[ISBI 2020] Vertebra-Focused Landmark Detection for Scoliosis Assessment
MIT License
93 stars 26 forks source link

How does cobb_evaluate work? #2

Closed jvkhaw closed 4 years ago

jvkhaw commented 4 years ago

First and foremost, thank you so much for the great work being done on scoliosis imaging! Could someone please explain to me the three conditions in cobb_angle_calc function in cobb_evaluate.py?

To my understanding, is_S represents defines the spine being S-shaped (meaning very crooked), but what about condition 1 and condition 2?

Tried the code on some images, and got some confusing results like the green borders at the top? I supposed they're supposed to separate MT, PT and TL, but doesn't seem to be the case.

is_S

yijingru commented 4 years ago

Hi, the evaluation code is a python transfer version of the original Matlab code from AASCE19 https://aasce19.grand-challenge.org/Contact/. The rules may be explained by the host.

jvkhaw commented 4 years ago

Okay thank you so much!