Automated femoral landmark extraction for implant placement in hip arthroplasty