naamiinepal / xrayto3D-morphometry

0 stars 0 forks source link

take anatomical variability into account #17

Closed msrepo closed 1 year ago

msrepo commented 1 year ago

After cutting through the symmetry plane and obtaining boundary points, this code is not robust.

sym_plane_points = sym_plane_boundaries.points().tolist()
vertebral_body_points = [p for p in sym_plane_points if p[2] < 0]
spinal_process_points = [p for p in sym_plane_points if p[2] > 0]

some part of the vertebral body boundary lies on the other sid of the center of mass due to large rotation of the vertebra along the anteroposterior axis image

msrepo commented 1 year ago

kmeans clustering worked well here image image