A system for processing X-ray images, the system comprising a processing unit being configured to receive a 2D X-ray image showing a femur, determine a first point associated with a structure of interest, determine an implantation curve within the femur for an implant intended to be implanted, wherein the implantation curve has a predetermined relation to the first point and wherein an entry point for an insertion of the implant into the femur is located on the implantation curve, wherein the predetermined relation between the implantation curve and the first point fulfills one of the conditions out of the group consisting of: when the structure of interest is a femur head, the first point is associated with a centre of the femur head and is located on a proximal extension of the implantation curve, when the structure of interest is a narrow portion of a femur neck, the first point is associated with a centre of a cross section of the narrow portion of the femur neck and a proximal extension of the implantation curve is in said narrow portion closer to the first point then to a surface of the femur neck, when the structure of interest is a narrow portion of a femur shaft, the first point is associated with a centre of a cross section of the narrow portion of the femur shaft and the implantation curve is in said narrow portion closer to the first point then to a surface of the femur shaft, when the structure of interest is an isthmus of a femur, the first point is associated with a centre of a cross section of the isthmus and the first point is located on the implantation curve, when the structure of interest is a hole in an implant, the hole having a hole axis, the first point is associated with a centre of the hole and the implantation curve is parallel to the hole axis, characterised in that the 2D X-ray image is a lateral 2D X-ray image, and in that the processing unit is further configured to determine at least one further point associated with another structure of interest, wherein the predetermined relation between the implantation curve and one of the at least one further point fulfills another one of the conditions, respectively. receive a 2D X-ray image showing a femur, determine a first point associated with a structure of interest, determine an implantation curve within the femur for an implant intended to be implanted, wherein the implantation curve has a predetermined relation to the first point and wherein an entry point for an insertion of the implant into the femur is located on the implantation curve, wherein the predetermined relation between the implantation curve and the first point fulfills one of the conditions out of the group consisting of: when the structure of interest is a femur head, the first point is associated with a centre of the femur head and is located on a proximal extension of the implantation curve, when the structure of interest is a narrow portion of a femur neck, the first point is associated with a centre of a cross section of the narrow portion of the femur neck and a proximal extension of the implantation curve is in said narrow portion closer to the first point then to a surface of the femur neck, when the structure of interest is a narrow portion of a femur shaft, the first point is associated with a centre of a cross section of the narrow portion of the femur shaft and the implantation curve is in said narrow portion closer to the first point then to a surface of the femur shaft, when the structure of interest is an isthmus of a femur, the first point is associated with a centre of a cross section of the isthmus and the first point is located on the implantation curve, when the structure of interest is a femur head, the first point is associated with a centre of the femur head and is located on a proximal extension of the implantation curve, when the structure of interest is a narrow portion of a femur neck, the first point is associated with a centre of a cross section of the narrow portion of the femur neck and a proximal extension of the implantation curve is in said narrow portion closer to the first point then to a surface of the femur neck, when the structure of interest is a narrow portion of a femur shaft, the first point is associated with a centre of a cross section of the narrow portion of the femur shaft and the implantation curve is in said narrow portion closer to the first point then to a surface of the femur shaft, when the structure of interest is an isthmus of a femur, the first point is associated with a centre of a cross section of the isthmus and the first point is located on the implantation curve, when the structure of interest is a hole in an implant, the hole having a hole axis, the first point is associated with a centre of the hole and the implantation curve is parallel to the hole axis, characterised in that the 2D X-ray image is a lateral 2D X-ray image, and in that the processing unit is further configured to determine at least one further point associated with another structure of interest, wherein the predetermined relation between the implantation curve and one of the at least one further point fulfills another one of the conditions, respectively.