Automated separation of bone joint structures for medical image reconstruction