MATLAB function for the optimization of the femoral neck axis based on the minimum neck perimeter using a surface model of the proximal femur.
Fischer, M. C. M. et al. A robust method for automatic identification of femoral landmarks, axes, planes and bone coordinate systems using surface models. Sci. Rep. 10, 20859; (2020).
Clone the repository and run femoralNeckAxis_example.m in MATLAB. Also try femoralNeckAxis_GUI.m.