Artificial intelligence-based detection of anatomical structures invisible in 2D X-ray images
A computer-assisted system processes 2D X-ray images to provide accurate 3D geometric information, addressing the challenges of implant placement in long bone fractures by enhancing precision and reducing X-ray usage.
Patent Information
- Application Number
- JP2023537304
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-12-21
- Filing Date
- 2021-12-17
- Publication Date
- 2024-09-19
- Estimated Expiration
- 2041-12-17
AI Technical Summary
Current methods for determining the entry point and ensuring proper positioning of implants in long bone fractures, such as intramedullary nailing, are inaccurate and difficult due to reliance on palpation and X-ray imaging, which can lead to suboptimal positioning and require multiple X-ray images, especially in minimally invasive surgeries.
A computer-assisted system that processes intraoperative 2D X-ray images to provide 3D geometric information without the need for reference trackers, enabling accurate determination of implant entry points and orientation by registering multiple X-ray images and reconstructing 3D models of anatomical structures.
Improves the accuracy of implant placement by providing precise 3D representations and orientations, reducing the need for multiple X-ray images and minimizing surgical complications like malrotation and improper anteversion angles.
Smart Images

Figure 0007554008000009 
Figure 0007554008000034 
Figure 0007554008000004
Abstract
Description
[Technical field]
[0001] The present invention relates to the field of artificial intelligence and computer-assisted surgery. Furthermore, the present invention relates to a system and method for providing information about an object based on an X-ray image. In particular, the present invention relates to a system and method for detecting anatomical structures not visible in 2D X-ray images. The method can be implemented as a computer program executable on a processing unit of the system. [Background technology]
[0002] When a long bone is fractured, the bone fragments may be stabilized by an implant, such as an intramedullary nail inserted into the medullary canal of the bone or a bone plate fixed to the surface of the bone to provide support for healing of the fracture. The surgical procedure for embedding such an implant is minimally invasive and may require repeated x-ray imaging to allow the surgeon to properly position the implant. The implant may also be connected to one or more sub-implants, such as screws or blades. Summary of the Invention [Problem to be solved by the invention]
[0003] Intramedullary nailing of long bones involves several important and difficult steps, including adequate reduction of the fracture (ensuring the correct position of the bone fragments), determining the entry point for inserting the implant into the medullary canal of the bone, and locking the implant by inserting a screw into the implant hole.
[0004] A critical step for implanting a nail in a long bone is the determination of the entry point. A suboptimal selection of the entry point may lead to a non-optimal positioning of the nail and therefore also an improper positioning of the connected sub-implants such as neck screws or blades. Furthermore, for a given entry point, if the surgeon has already performed reaming, the canal in which the nail will be placed may already be defined and no longer be modifiable.
[0005] There are two main methods for determining the entry point: by palpation and by X-ray. In the case of palpation, after making the first cut, the surgeon feels the area of the entry point with his fingers (e.g. the tip of the greater trochanter when implanting a cephalomedullary nail in the femur) and determines the location of the entry point based on the assumed bone surface and rules of thumb (e.g. the so-called 1 / 3-2 / 3 rule). The disadvantage of such a procedure is that by sensation the bone surface is only imperfectly determined, which can lead to large deviations from the optimal entry point. Moreover, the rules of thumb (e.g. the 1 / 3-2 / 3 rule) may be rather suboptimal depending on the patient's specific anatomy.
[0006] The entry point may also be determined on the basis of an X-ray. When implanting a cephalomedullary nail in the femur, an anteroposterior (AP) X-ray image is first obtained, in which the opening instrument is placed at the tip of the trochanter. A lateral X-ray image is then obtained so that the femoral shaft and neck are parallel. The tip of the opening instrument is moved in the dorsal or ventral direction until it is centered between the two axes (as confirmed by the X-ray image). The disadvantage of this procedure is, firstly, that it is difficult to obtain a lateral X-ray image from the correct direction, and, secondly, that the determination of the two axes on the basis of the X-ray image may be performed only inaccurately.
[0007] Since proper reduction of fractures near the neck and head is usually performed during the insertion of the implant, it is even more challenging to determine the entry point for the nail insertion into the humerus in a minimally invasive manner. The proper entry point is located approximately at the most proximal point of the anatomical neck or at a defined distance medially from this point. With proper reduction of the fracture, the entry point can be seen on a perfect anterior-posterior (AP) x-ray image, since the most proximal point of the joint outline is identified on such an image. However, ensuring a proper AP imaging orientation is difficult and may not be possible depending on the physical setup of the patient and the x-ray imaging device in the operating room (OR). Furthermore, even if the AP imaging orientation is perfect, there is a significant uncertainty in determining the location of the entry point with respect to the imaging depth. Acquiring images from a different viewing orientation (e.g., axial) may not solve this problem, since the entry point may not be identified on such x-ray images.
[0008] Combining the two methods for determining the entry point (palpation and obtaining X-rays) may not generally improve accuracy sufficiently. So far, no computer-assisted surgery (CAS) techniques have been established for this problem.
[0009] Another challenge in osteosynthesis is that a sufficiently correct reduction of the fracture is essential for a satisfactory clinical outcome. Usually, a fracture will only heal satisfactorily if the reduction is performed properly. Reduction, especially of long bones, is often difficult to assess during minimally invasive surgery, especially with regard to the correct anteversion (for the femur) or torsion (for the humerus or tibia) angles. An incorrect anteversion or torsion angle is often only noticed after the surgery is completed. At this stage, even if the fracture itself has healed, an incorrect anteversion or torsion angle causes great discomfort and limitations to the patient. Therefore, a sufficiently correct anteversion or torsion angle is essential for a satisfactory clinical outcome, especially for osteosynthesis of the femur, tibia, or humerus. Similar comments apply to the caput-collum-diaphysis (CCD) angle and leg length, which are also important for a satisfactory clinical outcome.
[0010] Malrotation of bone fragments is one of the most common reasons for revision surgery when treating fractures of the tibia and femur. The nonpathological anteversion angle (AV angle) of the femoral neck is usually 10-20 degrees. Malrotation of up to 10 degrees relative to the optimal leg (e.g. the other healthy leg) can be corrected by the patient, but larger malrotations can cause discomfort and problems when walking. Intraoperatively determining the AV angle is difficult and is often performed improperly or not at all. Studies have shown that 10%-25% of leg osteosynthesis procedures result in deviations of more than 10 degrees from the ideal value. Therefore, a reliable intraoperative procedure for determining the AV angle is very important.
[0011] The difficulty in determining the anteversion or twist angle is that long bones are too long to fit on a single x-ray image. Furthermore, the geometries required to determine the anteversion or twist angle are located at the most proximal and most distal portions of the bone, for example, for the femur, shaft, and condyle. Thus, the geometries depicted on the separate proximal and distal x-ray images must be correlated.
[0012] In the prior art, various methods have been proposed to determine the anteversion angle. For the femur and cephalomedullary nail, one method is to manually judge whether the knee is pointing upwards to the operating room ceiling and subjectively judge whether the screw (or head element) that should intersect the nail axis and the center of the femoral head is at an angle of approximately 10 degrees with the operating room floor. A CAS method using two reference bodies with metal markers, one in the distal region and one in the proximal region of the femur, two proximal X-ray images and one distal X-ray image, all depicting the respective reference bodies, has been proposed by Blau et al. (US2015 / 0265361A1 and WO2019 / 077388A1).
[0013] Another challenging step in intramedullary nailing is locking. The main difficulty with locking using long nails is the bending and twisting of the nail, which somewhat lines up with the medullary canal. This prevents the simple static mechanical locking procedure used in the case of short nails. Freehand locking is difficult and time-consuming and may require the acquisition of many x-ray images. For this reason, some manufacturers offer flexible mechanical solutions (herein called "long aiming devices") that accommodate the bending of the nail. Although the long aiming device simplifies the procedure, its application is still not straightforward, since the x-ray image showing the long aiming device must be properly interpreted and the C-arm position adjusted accordingly. Only after the C-arm is properly adjusted can the long aiming device be properly adjusted.
[0014] Blau et al. (EP2801320A1) propose the concept of detecting a reference body with a metal marker in a fixed and known position relative to the long-aiming device and determining the imaging direction to the reference body. Based on that, the system can give instructions on how to adjust the C-arm imaging device. The drawback of such a system is that the reference body must be included in the X-ray image. For the adjustment of the long-aiming device in the case of an antegrade femoral nail with a lateral locking hole, Blau et al. (US2013 / 0211386A1) use a reference body to determine the bending of the nail in the ML and AP directions, respectively.
[0015] Reference bodies (or trackers) are often used in CAS systems, however the use of reference bodies has several drawbacks, including added cost, more cumbersome handling, risk of user error, and alteration of normal surgical workflow. [Means for solving the problem]
[0016] The present invention proposes a system and method requiring only a computer and a display and / or loudspeakers to process intraoperative 2D X-ray images to provide 3D geometric information about objects at least partially depicted in those X-ray images. An object of the present invention is to provide a 3D representation of at least one object relative to a coordinate system (e.g., relative to an image plane or relative to another object). An object of the present invention is also to determine specific points or curves of interest on or within the object, possibly relative to another object. An object of the present invention is also to provide relative 3D orientations and 3D positions between multiple objects at least partially depicted in the X-ray images.
[0017] An "object" as used herein may be any object that is at least partially visible in an X-ray image, such as an anatomical structure, an implant, or a surgical instrument. The present invention does not require the use of references or trackers.
[0018] The term "3D representation" may refer to a complete or partial description of a 3D volume or surface, and may also refer to selected geometric aspects such as radii, curves, planes, angles, etc. The present invention may enable the determination of complete 3D information about a 3D surface or volume of an object, although methods of determining only selected geometric aspects are also contemplated by the present invention.
[0019] Because X-ray imaging is a 2D imaging modality, it is generally not possible to uniquely determine the 3D pose (i.e., 3D position and 3D orientation) of individual objects depicted in an X-ray image, nor is it generally possible to uniquely determine the relative 3D position and 3D orientation between objects depicted in an X-ray image.
[0020] Since the X-ray beam originates from an X-ray source (focal point) and is detected by an X-ray detector in the image plane, the physical dimensions of an object are related to the dimensions of its projection in the X-ray image by the intercept theorem. In general, there is an ambiguity in the determination of the imaging depth, which is the distance from the image plane, hereafter also called the "z coordinate". Throughout this invention, the terms "locate" and "localize" refer to the determination of the 3D orientation of an object with respect to a selected coordinate system, and the determination of the 2D spatial position of its projection on the image plane without the determination of the z coordinate.
[0021] If a 3D model of an object depicted in an X-ray image is available, it may be possible to localize the object. If the object is large enough and has sufficient structure, it may also be possible to approximately determine (or estimate) the z-coordinate of the object. However, there are cases where even if a deterministic 3D model of a known object shown in an X-ray image is available, neither the localization nor the determination of the z-coordinate is possible. By way of example, this is especially true for thin objects such as drills or k-wires. If the imaging depth of the tip of the drill is not known, there are multiple 3D poses of the drill that lead to the same or nearly the same projection in the 2D X-ray image. Thus, in general, it may not be possible to determine the 3D position and 3D orientation of the drill relative to, for example, an implant that is also shown in the X-ray image. On the other hand, if the imaging depth of such an object can be determined by other means or is known in advance, it may be possible to determine the 3D position and 3D orientation of the object.
[0022] The object of the present invention is to enable localization of objects having a geometry that cannot be localized without further information about their imaging depth, and to determine the 3D position and / or 3D orientation of such objects relative to another object.
[0023] One possible solution proposed by EP19217245 is to utilize prior information regarding the imaging depth. For example, from prior X-ray images acquired from a different imaging direction (representing the direction in which the X-ray beam passes through the object), it may be known that the tip of the k-wire is on the trochanter, thus constraining the imaging depth of the tip of the k-wire relative to another object. This may be sufficient to resolve the ambiguity regarding the 3D position and 3D orientation of the k-wire relative to another object in the current imaging direction.
[0024] 3D registration of two or more X-ray images Another possible solution is to use two or more X-ray images acquired from different imaging directions and to register these images. The more different the imaging directions (e.g., AP and ML images), the more useful the additional images may be for determining 3D information. The registration of the images proceeds based on uniquely locatable objects depicted in the images, whose 3D models are known and should not move between images. As mentioned above, the most common approach in the art is to use reference bodies or trackers. However, it is generally preferred not to use reference bodies, as this simplifies both product development and the use of the system. If the movements of the C-arm are precisely known (e.g., if the C-arm is electronically controlled), the registration of the images would be possible based only on these known C-arm movements.
[0025] However, the movement of the C-arm is usually not known precisely. As described in LU101009B1, a rigid body of known geometry such as an implant may at least allow the determination of the imaging direction, albeit only allowing the localization of the implant and not the determination of the imaging depth.
[0026] However, there are many scenarios where such rigid bodies do not exist in the X-ray image. For example, when determining the entry point for embedding a nail, there is no implant in the X-ray image. The present invention teaches a system and method that allows 3D registration of multiple X-ray images, where there is no single rigid body of known geometry that generally allows a unique and sufficiently accurate 3D registration. The approach proposed here is to use a combination of features of two or more objects, or at least two or more parts of one object, each of which may not allow a unique and sufficiently accurate 3D registration, but which together allow such registration and / or constrain the allowable C-arm movements between image acquisitions (e.g., only rotations around a certain axis of the X-ray imaging device, such as the C-arm axis, or translations along a certain axis may be allowed). The object used for registration may be an artificial known geometric shape (e.g., a drill or a k-wire) or may be a part of an anatomical structure. The object or part of the object may also be approximated using a simple geometric model (e.g., the femoral head may be approximated by a ball) or only use their specific features (which may be a single point, e.g., the tip of a k-wire or a drill). Object features used for registration must not move between image acquisitions, and if such a feature is a single point, it is only necessary that this point does not move. For example, if the tip of a k-wire is used, the tip must not move between images, but the tilt of the k-wire may change between images.
[0027] According to one embodiment, X-ray images, each showing at least a portion of an object, are registered: a first X-ray image is generated with a first imaging direction and a first position of the X-ray source relative to the object; a second image is generated with a second imaging direction and a second position of the X-ray source relative to the object. Two such X-ray images are registered based on a model of the object with at least one of the following conditions: - A point with a fixed 3D position relative to the object is definable and / or detectable in both X-ray images, i.e. identifiable and / or locatable in both X-ray images. Note that a single point may be sufficient. Furthermore, note that the point may have a known distance to a structure of the object, such as a surface of the object. - There are two identifiable points on both X-ray images that have a fixed 3D position relative to the object. - Part of a further object with a fixed 3D position is visible in both X-ray images. In such a case a model of the further object can be used when registering the X-ray images. It is conceivable that even a point can be considered as part of the further object. Between the acquisition of the first and second X-ray images, the only movement of the X-ray source relative to the object is translation. Between the generation of the first and second X-ray images, the only rotation of the X-ray source is about an axis perpendicular to the imaging direction, e.g., the X-ray source may rotate about the C-axis of a C-arm based X-ray imaging device.
[0028] It will be appreciated that registration of an X-ray image based on a model of an object may be more accurate if two or more of the above mentioned conditions are met.
[0029] According to one embodiment, the point with a fixed 3D position relative to the object is a point of the further object, and as long as the point is fixed, the further object can move. It will be understood that the fixed 3D position relative to the object can be on the surface of the object, i.e. a contact point, but also a point with a defined distance (greater than zero) from the object. It can be a distance from the surface of the object (which can be a position outside or inside the object) or a distance to a specific point of the object (for example the center of the ball if the object is a ball).
[0030] According to one embodiment, the further object, which has a fixed 3D position relative to the object, is in contact with the object or at a defined distance to the object. It should be noted that the orientation of the further object relative to the object is either fixed or variable, and the orientation of the further object may be changed by a rotation and / or a translation of the further object relative to the object.
[0031] It will be appreciated that registration of X-ray images can also be performed with more than two objects.
[0032] According to various embodiments, the following is an example that allows image registration (without a reference): 1. Approximation of the femoral head or artificial femoral head (as part of a hip joint implant) with a ball (object 1) and a k-wire or drill tip (object 2) are used to also constrain the allowable C-arm movement between images. 2. Using the approximation of the bone shaft or vertebral body by a cylinder (object 1) and the tip of a k-wire or drill (object 2), in this case the allowable C-arm movement may or may not be constrained between images. 3. Use an approximation of the femoral head or artificial femoral head (as part of the hip joint implant) by a ball (object 1) and an approximation of the femoral shaft by a cylinder (object 2). The allowable C-arm movements between images do not need to be constrained. 4. Use guide rods (guide rods have stops to prevent overinsertion) or k-wires anchored in the bone to also constrain the allowable C-arm movement between images. In this case, only one object is used and the method is embodied by the constrained C-arm movement between images. 5. Use a guide rod or k-wire (object 1) fixed within the bone and an approximation of the femoral head with a ball (object 2).
[0033] It should be noted that this method may also be used to improve the accuracy of the registration or to verify other results. That is, when registering images using multiple objects or at least multiple parts of objects, one or more of which may be capable of 3D registration by themselves, possibly also constraining the allowable C-arm movement, this overdetermination may improve the accuracy of the registration compared to not using the proposed method. Alternatively, images may be registered based on a subset of available objects or features. Such registration may be used to verify the detection of the remaining objects or features (not used for registration) or may allow the detection of movements between images (e.g., whether the tip of the mouth instrument has moved).
[0034] Yet another embodiment of this approach could be to register two or more x-ray images depicting different (but possibly overlapping) parts of an object (e.g., one x-ray image showing a proximal part of a femur and another x-ray image showing a distal part of the same femur) by jointly fitting a model to all available x-ray projection images while constraining the allowed C-arm movements between the x-ray images (e.g., only translation is allowed). The fitted model could be a full or partial 3D model (e.g., a statistical shape or appearance model), or it could be a reduced model that describes only certain geometric aspects of the object (e.g., axes, planes, or locations of selected points).
[0035] As will be described in detail below, a 3D reconstruction of the object is determined based on the registered X-ray images. It will be appreciated that the registration of the X-ray images is performed and / or enhanced based on a 3D reconstruction of the object (or at least one of the objects). The 3D reconstruction determined based on the registered X-ray images may be used for the registration of further X-ray images. Alternatively, the 3D reconstruction of the object may be determined based on a single or first X-ray image with a 3D model of the object and then used when registering the second X-ray image with the first X-ray image.
[0036] In general, registration and / or 3D reconstruction of X-ray images may be advantageous in the following situations: · Interested in determining the femoral anteversion angle. · We are interested in determining the torsion angle in the tibia or humerus. · We are interested in determining the CCD angle between the head and shaft of the femur. · Interested in determining lordosis of long bones. · Interested in determining bone length. · You are interested in determining the entry point of the implant in the femur, tibia, or humerus.
[0037] Below are some examples of object combinations for illustration purposes. · Object 1 is the humeral head and the point is the tip of the orthodontic instrument or drill. Object 1 is a vertebra and the point is the tip of an opening instrument or drill placed on the surface of the vertebra. Object 1 is the tibia and the point is the tip of the opening tool. Object 1 is the tibia and object 2 is the fibula, femur, or talus, or another bone of the foot. Object 1 is the proximal part of the femur and object 2 is the opening instrument on the surface of the femur. · Object 1 is the distal part of the femur and object 2 is the opening instrument on the surface of the femur. Object 1 is a distal portion of the femur and object 2 is a proximal portion of the femur, at least one x-ray image depicts the distal portion of the femur and at least one x-ray image depicts the proximal portion of the femur, and a further object is an opening instrument positioned on the proximal portion of the femur. Object 1 is the ilium, object 2 is the sacrum, and the point is the tip of an opening instrument or drill. Object 1 is an intramedullary nail implanted in a bone, and Object 2 is the bone. Object 1 is an intramedullary nail implanted in bone, Object 2 is the bone, and the point is the tip of a sub-implant such as an opening instrument, a drill, or a locking screw.
[0038] 3D Representation / Reconstruction Calculations Once two or more X-ray images are registered, they can be used to compute a 3D representation or reconstruction of the anatomical structure that is at least partially depicted in the X-ray images. According to one embodiment, this can proceed along the lines proposed by P. Gamage et al., “3D reconstruction of patient specific bone models from 2D radiographs for image guided orthopedic surgery,” DOI: 10.1109 / DICTA.2009.42. In a first step, the features of the bone structure of interest are determined in each X-ray image (usually the characteristic bone edges, which may include the outer contour of the bone, and also some characteristic inner edges), possibly using a neural network trained for segmentation. In a second step, the 3D model of the bone structure of interest is deformed so that its 2D projection fits the features determined in the first step (e.g. the characteristic bone edges) of all available X-ray images. Although the Gamage et al. paper uses a generic 3D model for the anatomical structure of interest, other 3D models, e.g. statistical shape models, may be used. It should be noted that this procedure requires not only the relative viewing angle between the images (provided by the registration of the images) but also the imaging direction of one of the images. This direction may be known (e.g., because the surgeon has been instructed to acquire images from a particular viewing direction, e.g., anterior-posterior (AP) direction or medial-lateral (ML) direction) or may be estimated based on various techniques (e.g., by using LU100907B1). A more accurate relative viewing angle between the images may improve the accuracy of the 3D reconstruction, but the accuracy of the determination of the imaging direction of one of the images may not be a critical factor.
[0039] The accuracy of the determined 3D representation can be increased by incorporating prior information about the 3D position of one or more points on the bone structure of interest or even a partial surface. For example, in a 3D reconstruction of a femur with an implanted nail, a k-wire may be used to indicate a specific point on the surface of the femur in an X-ray image. From a previous step of the procedure, the 3D position of this indicated point in the coordinate system given by the implanted nail may be known. This knowledge can then be utilized to more accurately reconstruct the 3D surface of the femur. If such prior information about the 3D position of specific points is available, a 3D reconstruction based on a single X-ray image may also be possible. Furthermore, if an implant (such as a plate) is fitted to the shape of a part of the bone and placed in this fitting part of the bone, this information can also be used for the 3D reconstruction.
[0040] As an alternative approach, 3D reconstruction of an object (e.g., bone) may also be performed without prior image registration, i.e., image registration and 3D reconstruction may be performed together, as proposed by LU101009B1. This disclosure teaches increasing accuracy and eliminating ambiguity by constraining allowable C-arm movements and / or utilizing easily detectable features of another object (e.g., a drill or a k-wire) that are present in at least two of the images underlying the joint registration and reconstruction. Such an easily detectable feature may be, for example, the tip of a k-wire or drill that is on the surface of the object to be reconstructed or at a known distance from it. This feature must not move between image acquisitions. In the case of a k-wire or drill, this means that the tilt of the instrument itself may change as long as its tip remains in a fixed position. Reconstruction without prior image registration may work better if more than two images are used for such reconstruction. It is noted that since joint image registration and 3D reconstruction allows joint optimization of all parameters (i.e., for both registration and reconstruction), joint registration and 3D reconstruction may generally perform better than registration-first approaches. This is especially true in cases of overdetermination, e.g., when reconstructing the 3D surface of a bone with an implanted nail or plate, together with prior information about the 3D locations of the points on the surface.
[0041] For joint image registration and 3D reconstruction, a first X-ray image is received showing a first portion of a first object, generated in a first imaging direction and a first position of the X-ray source relative to the first object, and at least a second X-ray image is received showing a second portion of the first object, generated in a second imaging direction and a second position of the X-ray source relative to the first object. By using a model of the first object, the model can be deformed and adapted to match its appearance in the X-ray image, so that the projections of the first object in the two X-ray images can be jointly adapted so that the spatial relationship of the images can be determined. The results of such joint registration and 3D reconstruction can be improved by at least one point having a fixed 3D position relative to the first object, which point is identifiable and detectable in at least two of the X-ray images (it will be appreciated that more than two images can be registered with improved 3D reconstruction). Furthermore, at least a portion of a second object having a fixed 3D position relative to the first object can be taken into account, and based on a model of the second object, at least a portion of the second object can be identified and detected in the X-ray image.
[0042] It should be noted that the first and second parts of the first object may overlap, which improves the accuracy of the results. For example, the so-called first and second parts of the first object may both be proximal parts of a femur, and the femur will at least have a different appearance in the images due to different imaging directions.
[0043] Determining the embedded curve and / or entry point The objective of the present invention is to determine the embedding curve or path of an implant, such as a nail or screw, that is inserted and embedded in a bone, and / or to determine the entry point, which is the point where the surgeon drills a hole in the bone to insert the implant. The entry point is therefore the intersection of the embedding curve with the bone surface. The embedding curve may be a straight line (or axis) or it may be curved since the implant (e.g., a nail) has a curvature. It is noted that the optimal location of the entry point may depend on the implant and also on the fracture location of the bone, i.e. how far the fracture is in the distal or proximal direction.
[0044] There are various cases where the embedding curve and / or the entry point need to be determined. In some cases, especially when full anatomical reduction has not yet been performed, only the entry point is determined. In other cases, the embedding curve is obtained first and then the entry point is obtained by determining the intersection of the embedding curve with the bone surface. In still other cases, the embedding curve and the entry point are determined jointly. Examples for all of these cases are described in the present invention.
[0045] Generally, according to one embodiment, a 2D X-ray image is received showing a region of interest of the surgery. In the X-ray image, a first point related to the structure of interest can be determined as well as an embedding path in the bone for an implant intended to be embedded, the embedding curve or path having a predetermined relationship with the first point. An entry point for inserting the implant into the bone is present on the embedding path. It will be understood that the first point may not be an entry point.
[0046] Freehand locking procedure For example, when considering the implantation of a screw for locking a bone nail, based on the above-mentioned general determination of points and implantation paths in a 2D X-ray image, the following conditions may be met regarding a given relationship between the implantation path and the point: when the structure of interest is a hole in an implant, the hole has a given axis, the point is related to the center of the hole, and the implantation path may point in the direction of the axis of the hole.
[0047] As a possible application, an exemplary workflow of a freehand locking procedure is described, where the implant is locked by embedding a screw through the hole in the implant. According to one embodiment, the embedded nail is located on an X-ray image, which determines an embedding curve, where the embedding curve is the line (axis) along which the screw is embedded. A 3D reconstruction of the bone surface (at least in the vicinity of the embedding curve) is performed with respect to the embedded nail (i.e. in the coordinate system given by the nail). This proceeds as follows: At least two X-ray images are acquired from different viewing directions (e.g. one AP or ML image, one image taken at an oblique angle). The X-ray images are classified, for example by a neural net, with respect to the embedded nail, registered with the embedded nail, and segmented in all images to the bone contour, possibly by a neural net. The 3D reconstruction of the bone surface may be possible according to the 3D reconstruction procedure outlined above. The intersection of the embedding curve with the bone surface determines the 3D position of the entry point with respect to the nail. This also makes it possible to indicate the location of the entry point on a given x-ray image, since the viewing direction on the x-ray image can be determined based on the identified nail position.
[0048] It may be possible to increase the accuracy of this procedure by incorporating a known 3D position of at least one point on the bone surface relative to the nail. Such knowledge is obtained by combining the procedure of the present invention with the freehand locking procedure taught by EP19217245. A possible approach is to use EP19217245 to obtain the entry point of the first locking hole, which becomes a known point on the bone surface. This known point can be used in the present invention for the 3D reconstruction of the bone and the subsequent determination of the entry point of the second further locking hole. The point on the bone surface is also identified, for example, by the tip of a drill touching the bone surface. The accuracy can be increased if the point is identified in more than one X-ray image taken from different imaging directions.
[0049] Determining the entry point for embedding the nail in the femur When considering the implantation of a nail into the femur, based on the above-mentioned general determination of the first point and the implantation path on the 2D X-ray image, at least one of the following conditions may be met for a given relationship between the implantation path and the first point: When the structure of interest is the femoral head, the first point is related to the center of the femoral head and, as a result, lies on the proximal extension of the implantation path, i.e., proximal to the entry point on the x-ray image. When the structure of interest is the narrow portion of the femoral neck, the first point is associated with the center of a cross section of the narrow portion of the femoral neck, and the proximal extension of the implantation path is closer to the first point in the narrow portion than to the outer surface of the femoral neck. When the structure of interest is the narrow portion of the femoral shaft, the first point is associated with the center of a cross section of the narrow portion of the proximal end of the femoral shaft, and the embedment path is closer to the first point in the narrow portion than to the outer surface of the femoral shaft. When the structure of interest is the femoral shaft narrowest portion, the first point is associated with the center of cross section of the narrowest portion, and the first point lies on the implantation path.
[0050] In some embodiments, it is not necessary for the structure of interest to be fully visible in the X-ray image. It may be sufficient if only 20 percent to 80 percent of the structure of interest is visible in the X-ray image. Depending on the particular structure of interest, i.e., whether the structure of interest is the femoral head, the femoral neck, the femoral shaft, or another anatomical structure, at least 30 to 40 percent of the structure must be visible. As a result, it may be possible to identify the center of the femoral head even if, for example, the center of the femoral head itself is not visible in the X-ray image, i.e., outside the imaging field, even if only 20 percent to 30 percent of the femoral head is visible. The same is possible for the narrowest part of the femoral shaft, even if the narrowest part is outside the imaging field and only 30 to 50 percent of the femoral shaft is visible.
[0051] To detect points of interest in an image, a neural segmentation network may be used that classifies whether each pixel is a potential keypoint or not. The neural segmentation network may be trained on a 2D Gaussian heatmap whose center is on the actual keypoint. The Gaussian heatmap may be rotationally invariant, or it may be directional if uncertainty in a particular direction is acceptable. To detect points of interest outside the image itself, one possible approach is to perform segmentation to additional pixels outside the original image to allow extrapolation using all the information contained in the image itself.
[0052] An exemplary workflow for determining the entry point of embedding an intramedullary or cephalomedullary nail in a femur is presented. According to one embodiment, first, a projection of the embedding curve is determined on the X-ray image. In this embodiment, the embedding curve is approximated by a straight line (i.e., the embedding axis). As a first step, it is checked whether the current X-ray image meets the necessary requirements for determining the embedding axis. These requirements may include image quality, sufficient visibility of certain areas of the anatomical structure, and at least approximately a suitable viewing angle (ML) for the anatomical structure. Furthermore, the requirements may include whether the above conditions are met. These requirements can be checked by an image processing algorithm, possibly utilizing a neural network. Furthermore, if applicable, the relative positions of the bone fragments can be determined and compared with their desired positions, and based on this, it can be determined whether these bone fragments are sufficiently well placed (i.e., the anatomical reduction is sufficiently well performed).
[0053] More specifically, the above conditions are explained as follows: The embedding axis is determined by a point and a direction related to at least two anatomical landmarks (for example, these may be the center of the femoral head and the narrowest part of the femoral shaft). As mentioned before, the landmarks can be determined by a neural network even if they are not visible in the X-ray image. The acceptability of the proposed embedding axis is checked by determining the distance from the proposed axis to various landmarks on the bone contour visible in the X-ray. For example, the proposed embedding axis should pass close to the center of the narrowest part of the femoral neck, i.e., it should not be too close to the bone surface. If such conditions are not met, the X-ray image has not been acquired from a proper imaging direction and another X-ray image from a different imaging direction must be acquired. Determining the embedding curve in another X-ray image from a different viewing direction may result in a different embedding axis and therefore a different entry point. The present invention also teaches how to adjust the imaging device to acquire the X-ray image from a proper direction.
[0054] It should be noted that implants may have curvature, meaning that a straight embedding axis only approximates the projection of the inserted implant. The present invention can also instead determine an embedding curve that more closely follows the 2D projection of the implant based on a 3D model of the implant. Such an approach may use multiple points associated with two or more anatomical landmarks to determine the embedding curve.
[0055] The projection of the embedding axis determines an embedding plane in 3D space (or more generally, the projection of the embedding curve determines a 2-dimensional manifold in 3D space). The entry point can be obtained by intersection of this embedding plane with another bone structure that can be approximated by a line and is known to contain the entry point. In the case of the femur, such a bone structure may be the trochanteric edge, which is narrow and straight enough to be well approximated by a line, and the entry point is considered to be on the trochanteric edge. Note that depending on the implant, other locations of the entry point may be possible, for example on the piriform fossa.
[0056] The trochanteric edge may be detectable on a lateral x-ray image. Alternatively or additionally, another point identifiable on the image (e.g., a depicted tip of a k-wire or some other opening tool) may be used, where some prior information about its location relative to the entry point is known. In the case of the femur, an example of this would be if the tip of the k-wire is known to be on the trochanteric edge, which may be known by palpation and / or because a previously acquired x-ray image from a different viewing angle (e.g., AP) constrains the location of the k-wire tip in at least one dimension or degree of freedom.
[0057] There are at least three ways to utilize such prior information about the tip of the k-wire (or some other orthodontic instrument) relative to the entry point. The simplest possibility is to use an orthogonal projection of the tip of the k-wire onto the projection of the embedding axis. In this case, it may be necessary to check with a subsequent X-ray image acquired from a different angle (e.g. AP) whether the tip of the k-wire is still on the desired structure (trochanteric border) after changing the position of the tip of the k-wire based on the information in the ML image, and possibly to acquire a new ML image after the change of position. Another possibility is to estimate the angle between the projection of the structure (which may not be identifiable in the ML image) and the projection of the embedding axis based on the anatomical prior information, and to project the tip of the k-wire obliquely onto the projection of the embedding axis at this estimated angle. Finally, a third possibility is to use a registered AP-ML image pair to calculate the intersection of the projected epipolar line, defined by connecting the tip of the k-wire with the focal point of the AP image, and the projected embedding axis in the ML image. Once the entry point is obtained, the embedding axis in 3D space is also determined.
[0058] Alternatively, the bone structure (here the trochanteric edge) whose intersection with the embedding plane determines the entry point can also be found by performing a partial 3D reconstruction of the proximal femur. According to one embodiment, this 3D reconstruction proceeds as follows based on two or more X-ray images from different viewing directions, at least two of which include the k-wire: The characteristic bone edges of the femur (including at least the bone contour) are detected in all X-ray images. Furthermore, in all X-ray images, the femoral head is found, approximated with a circle, and the tip of the k-wire is detected. Based on the characteristic bone edges, the approximated femoral head, and the tip of the k-wire, and the constrained C-arm movement, the images are registered using the technique presented above. After the registration of the images, a 3D surface is reconstructed that includes at least the trochanteric region. The accuracy of the 3D reconstruction can be increased by utilizing prior information about the distance of the tip of the k-wire from the bone surface (which may be known, for example, from the AP image). Various alternatives to this procedure are possible and are explained in the detailed description of the embodiments.
[0059] In the above approach, the embedding curve is determined on a 2D X-ray image, and then various alternatives are considered to obtain the entry point. Alternatively, the entire procedure (i.e., the embedding curve and the entry point determination) may be based on a 3D reconstruction of the proximal femur (or the distal femur if a retrograde nail is used) including a sufficient portion of the diaphysis. Such a 3D reconstruction may also be based on multiple X-ray images that are registered using the method presented above. For example, the registration may use an approximation of the femoral head by a ball and an approximation of the diaphysis by a cylinder or an average shaft shape. Alternatively, a joint optimization and determination of the registration and the bone reconstruction (which may include the surface and possibly also the internal structures such as the medullary canal and the inner cortex) may be performed. Once the 3D reconstruction of the relevant part of the femur is obtained, the 3D embedding curve can be fitted by optimizing the distance between the implant surface and the bone surface. The entry point is obtained by the intersection of the 3D embedding curve with the determined 3D bone surface.
[0060] A position and orientation of the embedded curve relative to the 2D x-ray image is determined based on a first point, the embedded curve including a first section in the bone having a first distance to a surface of the bone and a second section in the bone having a second distance to the surface of the bone, the first distance being smaller than the second distance, the first point being on a first identifiable structure of the bone and a distance to the first section of the embedded axis. A second point may be utilized that may be on an identifiable structure of the bone and a distance to a second section of the embedded curve. Additionally, the position and orientation of the embedded curve may be further determined based on at least one additional point, the at least one additional point being on a second identifiable structure of the bone and on the embedded curve.
[0061] Determining the entry point for embedding the nail in the tibia Based on the co-registration and 3D reconstruction described in the "3D Representation / Reconstruction Calculation" section above, the entry point for implanting the intramedullary nail into the tibia can be determined.
[0062] According to one embodiment, it is proposed to improve accuracy and eliminate ambiguity by requiring the user to place the opening instrument (e.g., drill or k-wire) at any point on the proximal part of the tibia surface, but ideally close to the expected entry point. The user acquires a lateral image and at least one AP image of the proximal part of the tibia. A 3D reconstruction of the tibia can be calculated by jointly fitting a statistical model of the tibia to its projections of all X-ray images, taking into account that the tip of the opening instrument does not move between images. Accuracy can be further improved by requiring the user to acquire two or more images from different (e.g., near AP) imaging directions, and possibly also another (e.g., lateral) image. Overdetermination may allow detection of possible movement of the opening instrument tip and / or to verify the detection of the opening instrument tip.
[0063] Based on the 3D reconstruction of the tibia, the system can determine the entry point, for example, by identifying the entry point on the mean shape of the fitted statistical model. It should be noted that such guidance for finding the entry point of the antegrade tibial nail based only on imaging (i.e., without palpation) allows the surgeon to perform a suprapatellar approach, which may generally be preferred, but has the disadvantage that, conventionally, palpation of the bone at the entry point is not possible.
[0064] Determining the entry point for embedding a nail in the humerus A further application of the proposed image registration and reconstruction technique presented above may be the determination of the entry point for implanting an intramedullary nail in the humerus.
[0065] In general, a system including a processing unit for processing X-ray images can be used to assist humerus surgery based on X-ray images to achieve the above-mentioned objectives. When the software program product is executed on the processing unit, it can cause the system to execute a method including the following steps: First, a first X-ray image is received, which is generated in a first imaging direction and shows a proximal portion of the humerus, and a second X-ray image is received, which is generated in a second imaging direction and shows a proximal portion of the humerus. These images may include the proximal portion of the humerus shaft as well as the humeral head with the articular surface and also the glenoid cavity, i.e., the complementary joint structure of the shoulder. It is noted that the second imaging direction is usually different from the first imaging direction. Then, (i) the first and second X-ray images are registered, (ii) an approximation of at least a part of the 2D outline of the humeral head is determined in both images, (iii) a 3D approximation of the humeral head is determined based on the approximated 2D outline and the registration of the first and second images, and (iv) 2D image coordinates of a total of at least three different points are determined in the first and second X-ray images. Finally, an approximation of the anatomical neck is determined as a curve on the 3D approximation of the humeral head based on the at least three determined points. It should be noted that the at least three determined points do not have to be on the determined curve. If further points of the anatomical neck can be determined that are not in the same plane as the first three points, an even more accurate approximation of the anatomical neck can be determined. This may allow the determination of the rotational position of the anatomical neck, and therefore of the humeral head, around the shoulder joint axis. Another way of determining the rotational position around the joint axis may be to detect the position of at least one of the greater and lesser tuberosities when they are in a fixed position relative to the proximal bone fragment. Another alternative could be to use preoperatively acquired 3D information (e.g., CT scans) to generate a 3D reconstruction of the proximal bone fragments based on intraoperative X-ray images. This method may be combined with the method described above.
[0066] According to one embodiment, the approximation of at least a portion of the 2D outline of the humeral head may be a 2D circle or a 2D ellipse. Additionally, the 3D approximation of the humeral head may be a 3D ball or a 3D ellipse. The approximation of the anatomical neck may be a circle or an ellipse in 3D space.
[0067] According to one embodiment, a further x-ray image may be received and an approximation of the humerus shaft axis in at least two of the group of x-ray images consisting of the first x-ray image, the second x-ray image, and the further x-ray image may be determined. Based on the approximated humerus shaft axis in the at least two x-ray images and a registration of the first x-ray image and the second x-ray image, an approximation of the 3D humerus shaft axis may be determined.
[0068] According to one embodiment of the disclosed method, the entry point of the fractured humerus and / or the displacement of the proximal bone fragment can then be determined based on the approximated anatomical neck, the approximated 3D shaft axis and / or the approximated glenoid of the humeral joint. As a result, the embedding curve at the proximal bone fragment can be determined based on the entry point and the displacement of the humeral head. Furthermore, information can be provided for repositioning the proximal bone fragment.
[0069] According to an embodiment, at least two X-ray images can be registered, which can be two of the first, second and further X-ray images. The X-ray images can be registered based on a model of the humeral head and one further point having a fixed 3D position relative to the humeral head, which point is identified and detected in the at least two X-ray images. The one further point can be the tip of an instrument and can be located on the articular surface of the humeral head. In this case, the distance between the point and the humeral head center, which is equal to the radius of the humeral head approximated by a ball, can be used to improve the accuracy of the registration of the X-ray images.
[0070] In the following, some aspects of the method according to the present disclosure are described in more detail. The humeral head located in the shoulder joint can be approximated by a ball. In the following, unless otherwise stated, it is understood that the humerus is approximated by such a ball, which means that the projection of the humerus on an X-ray image is approximated by a circle. Therefore, "centre" and "radius" always refer to such an approximating ball or circle. It should be noted that it may also be possible to use other simple geometric approximations of the humeral head, for example by an ellipse. In that case, the anatomical neck is approximated by an ellipse.
[0071] An exemplary workflow for determining the entry point is described below. A complex problem in determining the entry point at the humerus is that fractures treated with humeral nails frequently occur along the surgical neck, and thus the humeral head moves. In a proper reduction, the center of the humeral head should be close to the humeral shaft axis. According to one embodiment, this can be verified with an axial X-ray image depicting the proximal humerus. If the center of the humeral head is not close enough to the shaft axis, the user is advised to apply traction distally on the arm to ensure proper rotation of the humeral head around the joint axis (which may not be detectable). An approximate entry point is then proposed on the shaft axis approximately 20% medial (meaning in the typical axial X-ray image above) to the center of the humeral head. The user is then requested to place an opening instrument (e.g., a k-wire) at this proposed entry point. Alternatively, to improve the accuracy of the registration as described above, the system asks the user to purposefully place the opening instrument medial to the intended entry point (meaning 30-80 percent above the center of the femoral head depicted in the axial x-ray image) to ensure that the tip of the instrument is on the spherical portion of the humeral head. The system can detect the humeral head and the tip of this instrument (e.g., by using a neural network) on a new axial x-ray image.
[0072] The user is then instructed to only allow certain C-arm movements (e.g., rotation about the C-axis and further translation) and to acquire an AP image while keeping the instrument tip in a fixed position (instrument tilt is allowed to vary). The humeral head and instrument tip are again detected. The axial and AP images can then be registered based on the ball approximating the humeral head and the instrument tip as described above in the "3D Registration of Two or More X-Ray Images" section.
[0073] The curve that bounds the articular surface of the shoulder joint is called the anatomical neck. The anatomical neck defines the spherical part of the humerus, but is usually impossible for the surgeon to identify on an x-ray. It can be approximated by a 2D circle in 3D space obtained by the intersection of a ball approximating the humeral head with a plane that is inclined to the shaft axis of the humerus. The spherical articular surface faces upward (valgus) and dorsally (when the patient's arm hangs loosely down from the shoulder and parallel to the chest). Three points are sufficient to define this intersection plane. Axial and AP x-ray images may each allow the determination of two points on the anatomical neck, i.e., the start and end points of the arc that defines the spherical part of the humerus. This is therefore an overdetermined problem, where four points can be determined based on two x-ray images, whereas only three points are needed to define the intersection plane. If additional x-ray images are used, the problem may become even more overdetermined. This overdetermination may allow for a more accurate calculation of the intersecting plane, or may make it possible to handle situations where a point cannot be determined because it is occluded, for example.
[0074] It should be noted that when determining the approximation of the anatomical neck by the intersection of the determined plane with the ball approximating the humeral head, various modifications may be possible. For example, the intersection plane may be shifted laterally to take into account a more accurate position of the anatomical neck on the humeral head. Alternatively or additionally, the radius of the circle approximating the anatomical neck may be adjusted. It may also be possible to use a more flexible geometric model to approximate the humeral head and / or to approximate the anatomical neck.
[0075] The entry point may be taken as the point on the anatomical neck closest to the intersection of the diaphyseal axis and the bone surface in 3D space, or may be located at a user-defined distance medially from that point. The anatomical neck and entry point thus determined may be displayed as an overlay on the current X-ray image. If this entry point is very close to the circle that approximates the femoral head in the X-ray image, large inaccuracies in the z-coordinate may occur. To alleviate such a situation, instructions may be given to rotate the C-arm so that the proposed entry point moves further towards the interior of the femoral head in the X-ray image. This may be advantageous in either case, since mechanical constraints may make it difficult to obtain an X-ray image when the entry point is close to the approximating circle. In other words, the rotation of the C-arm between the axial and AP images may be, for example, 60 degrees, which may be easier to achieve in a surgical workflow than a 90 degree rotation.
[0076] Further details, optional implementations and extensions of this workflow are described in the detailed description of the embodiments below.
[0077] Support for reduction Another object of the invention is to support an anatomically correct reduction of bone fragments. Usually, surgeons try to reposition the fracture fragments as close to their natural relative position as possible. To improve the results, it may be important to check whether such reduction was anatomically correct before or after inserting a fixation implant.
[0078] Reduction may be supported by computing a 3D reconstruction of the bone of interest. Such a 3D reconstruction may not need to be a complete reconstruction of the entire bone, and may not need to be accurate in every aspect. If only a specific measurement is to be extracted, the 3D reconstruction need only be accurate enough to determine this measurement accurately enough. For example, if the femoral anteversion angle (AV) is to be determined, it may be sufficient if the 3D reconstruction of the femur is accurate enough in the condyle and neck regions. Other examples of measures of interest include leg length, leg deformity, curvature (such as femoral lordosis), or caput-collum-diaphysis (CCD) angle, as varus rotation of the proximal femoral fragment often occurs before or after insertion of an intramedullary nail. Once the measure of interest is determined, it may be used to select an appropriate implant, or it may be compared to a desired value that may be derived from a database or may be patient-specific, for example by comparing the operative leg to the other healthy leg. Instructions may be given to the surgeon on how to achieve the desired value, for example the desired anteversion angle.
[0079] It may also be important to monitor certain measurements throughout the procedure by automatically calculating them from available X-ray images, and potentially alert the surgeon if the measurements deviate significantly from the desired values.
[0080] In some cases, 3D reconstruction may be possible even from a single X-ray image, especially when the viewing direction can be determined (e.g. based on LU100907B1) and only certain measurements (e.g. CCD angle) are of interest. However, in general, two or more X-ray images taken from different viewing directions and / or depicting different parts of the bone may increase the accuracy of the 3D reconstruction (see the "3D Representation / Reconstruction Calculation" section above). The 3D reconstruction may be calculated even for parts of the bone that are not visible or only partially visible in the X-ray image, provided that the invisible parts are not displaced relative to the visible parts due to a fracture, and if such a displacement exists, the dislocation parameters are already known or can be determined in other ways. For example, based on a statistical 3D model of the femur, the femoral head may be reconstructed sufficiently accurately from a pair of ML and AP images in which most of the femoral head is not visible. As another example, if the femoral shaft is not fractured, the distal part of the femur may be reconstructed based on two proximal X-ray images. Of course, if further X-ray images showing the distal part are also available, the accuracy of the reconstruction of the distal part may be increased.
[0081] A 3D reconstruction of a bone based on two or more X-ray images may be more accurate if these X-ray images can be registered before the 3D reconstruction is calculated according to one of the techniques described in the "3D registration of two or more X-ray images" section above. If the 3D reconstruction of a bone is calculated based on two or more X-ray images showing different parts of the bone (e.g. two X-ray images showing the proximal part of the femur and one X-ray image showing the distal part of this femur), 3D registration of the X-ray images depicting the different parts may be possible based on an object with a known 3D model (e.g. an implanted nail) visible in at least one X-ray image for each bone part and / or by constraining the allowable C-arm movement between the acquisition of these X-ray images (see LU101009B1).
[0082] It may be necessary to determine the AV angle before or after drilling the patient when the implant has not yet been inserted (e.g. to detect a dorsal gap in the reduction of a transtrochanteric fracture). In such cases, the registration of two or more images (e.g. AP and ML) of the proximal femur may proceed along the lines of the "3D registration of two or more X-ray images" section above, as follows: When determining the entry point for inserting the nail, an opening instrument (with known diameter), such as a k-wire, is placed at the supposed entry point and thus detected in the x-ray image. Based on the position of its tip and the detected femoral head, the images are registered. If a further object, such as a k-wire, is not visible in the x-ray image, the registration of the images is still performed by requesting a certain movement of the C-arm between the images. For example, the system requests a 75° rotation of the C-arm around the C-axis. If this rotation is performed with sufficient accuracy, the registration of the images is also possible with sufficient accuracy. As described in one embodiment, registration is performed on non-overlapping portions of bones (eg, distal and proximal femurs) by constraining the allowed C-arm movements to translational only.
[0083] It should be noted that a 3D reconstruction is not necessary to determine the AV angle. For example, by determining one additional point near the cervical axis, sufficient information may be obtained to determine the AV angle based on a 2D approach. Registration of 2D structures detected in the X-ray image (e.g., structures in the proximal and distal femur) can be performed by using the above method.
[0084] In other cases, it may be beneficial to take into account adjacent bones or bone structures, for example when determining the correct rotation angle of a bone. For example, in the case of a fractured tibia, the femoral, patella, and / or fibula condyles may be taken into account in the evaluation of its proximal orientation. Similar comments apply to the evaluation of its distal rotation position. The relative position of the tibia and fibula or other bone structures (e.g., overlapping edges of the ankle joint) may clearly indicate the viewing direction of the distal tibia. All these evaluations may be based on neural networks, which may possibly perform joint optimization based on a confidence value (of correct detection) of each possible structure. The results of such evaluations may be combined with knowledge of the patient or limb position to evaluate the current bone reduction. For example, in the case of the humerus, the system may instruct the surgeon to position the patient's radius parallel to the patient's body. To evaluate the reduction, it may be sufficient to guide the user to achieve a central position of the humeral articular surface relative to the glenoid cavity by detecting these structures in the X-ray image.
[0085] X-ray dose reduction It should be noted that the overall objective may be reduction of X-ray exposure for the patient and operating room staff. As few X-ray images as possible should be generated during treatment of a fracture according to embodiments disclosed herein. For example, images acquired to check the position of the proximal bone fragment relative to the distal bone fragment may be used to determine the entry point. As another example, images generated in the process of determining the entry point may be used to measure the AV angle or CCD angle.
[0086] According to an embodiment, X-ray exposure may also be reduced since the complete anatomical structure does not necessarily need to be visible in the X-ray image. 3D representation or localization of objects such as anatomical structures, implants, surgical instruments, and / or parts of an implant system may be provided even if they are not visible or only partially visible in the X-ray image. As an example, even if a projection image does not fully depict the femoral head, it may still be fully reconstructed. As another example, it may be possible to reconstruct the distal part of the femur based on one or more proximal images, with the distal part not being fully depicted.
[0087] In some cases, it may be necessary to determine points of interest related to an anatomical structure, such as the center of the femoral head or a specific point on the femoral shaft. In such cases, it may not be necessary for the points of interest to be shown in the X-ray image. This is even more true when the uncertainty or inaccuracy in determining such points of interest affects a dimension or degree of freedom that is less important later. For example, the center of the femoral head and / or a specific point on the axis of the femoral shaft may be outside the X-ray image, but the system, for example, based on a deep neural network approach, can still determine these points and use them to calculate the embedding curve with sufficient accuracy, since, for example, inaccuracies in the direction of the embedding curve may not significantly affect the calculated embedding curve.
[0088] According to one embodiment, the processing unit of the system may be configured to determine the anatomical structures and / or points of interest associated with the anatomical structures based on the X-ray projection images showing a certain minimum required percentage (e.g., 20%) of the anatomical structures. If less than the minimum required portion of the anatomical structures is visible (e.g., less than 20%), the system guides the user to obtain the desired view. As an example, if the femoral head is not visible at all, the system may provide instructions to move the C-arm in a direction calculated based on the appearance of the femoral shaft in the current X-ray projection images.
[0089] Matching 3D models with 2D projected images It should be noted that the image data of the processed X-ray images can be received directly from an imaging device, e.g., a C-arm or G-arm based 2D X-ray device, or alternatively from a database. The X-ray projection images can represent anatomical structures of interest, in particular bones. The bones can be, for example, bones of the hand or foot, but in particular long bones of the lower limbs, such as the femur and tibia, and long bones of the upper limbs, such as the humerus. The images can also include artificial objects, such as bone implants or surgical instruments, e.g., drills or k-wires.
[0090] In this disclosure, we distinguish between "object" and "model". The term "object" is used for a real object, e.g. a bone or a part of a bone or another anatomical structure, or for an implant such as an intramedullary nail, a bone plate, or a bone screw, or for a surgical instrument such as a sleeve or a k-wire. An "object" may also represent only a part of a real object (e.g. a part of a bone), or may be an assembly of real objects and thus composed of sub-objects (e.g. the object "bone" may be fractured and thus composed of sub-objects "fractured bone fragments").
[0091] On the other hand, the term "model" is used for a virtual representation of an object. For example, a data set defining the shape and dimensions of an implant may constitute a model of the implant. As another example, a 3D representation of an anatomical structure, for example generated during a diagnostic procedure, may be adopted as a model of a real anatomical object. It is noted that a "model" may describe a specific object, for example a specific nail, or it may describe a class of objects, such as a femur, with a certain degree of variability. In the latter case, such an object may be described, for example, by a statistical shape or appearance model. Thus, the objective of the invention may be to find a 3D representation of a specific instance from a class of objects depicted in the acquired X-ray image. For example, the objective may be to find a 3D representation of a femur depicted in the acquired X-ray image based on a general statistical shape model of the femur. It may also be possible to use models that include a discrete set of deterministic possibilities, and the system selects which of these best represents the object in the image. For example, if several nails are present in the database, the algorithm identifies which nail is depicted in the image.
[0092] Note that the model may be a complete or partial 3D model of a real object, or may only describe certain geometric aspects of the object (which may have fewer than three dimensions), such as that a femur or humeral head can be approximated by a 3D ball or a circle in a 2D projection image, or that a shaft has an orientation described by its diaphyseal axis.
[0093] Since a 3D representation is actually a set of computer data, certain information can be easily extracted from that data, such as the geometric aspects and / or dimensions (e.g., axes, outlines, curvatures, center points, angles, distances, or radii) of the virtually represented object. If the scale is determined based on one object, for example because the width of a nail is known from model data, this also allows measuring the geometric aspects or dimensions of another depicted, potentially unknown object, if such object is at a similar imaging depth. If the imaging depth of one object is known (e.g. because the object is large enough or because the size of the X-ray detector and the distance between the image plane and the focal point are known), and if there is information about the imaging depth difference between the two objects (e.g., based on anatomical knowledge), it may also be possible to calculate the size of different objects at different imaging depths based on the intercept theorem.
[0094] According to one embodiment, objects in the X-ray image are automatically classified and identified in the X-ray projection image. However, objects may also be manually classified and / or identified in the X-ray projection image. Such classification or identification may be supported by the device by automatically referencing structures recognized by the device.
[0095] The matching of a model of an object with its projection depicted in an X-ray image may consider only selected features of the projection (e.g., contours or characteristic edges) or may consider the overall appearance. The contours or characteristic edges may be determined using neural segmentation networks. The appearance of an object in an X-ray image depends, among other things, on the attenuation, absorption, and deflection of X-ray radiation, which in turn depends on the material of the object. For example, a steel nail will generally absorb more X-ray radiation than a titanium nail, which may not only affect the appearance of the projection image of the nail within its outline, but may also change the shape of the outline itself, e.g., the outline of the nail hole. The strength of this effect also depends on the X-ray intensity and the amount of tissue surrounding the object through which the X-ray beam must pass. As another example, transitions between soft and hard tissues may be discernible in an X-ray image because such transitions produce edges between darker and lighter areas in the X-ray image. For example, the transition between muscle tissue and bone tissue may be an identifiable structure, but the inner cortex, which is the transition between the spongy inner bone tissue and the hard cortical outer bone tissue, may also be an identifiable feature in an x-ray image. It should be noted that whenever a bone outline is determined in this disclosure, such outline may also be the inner cortex or other identifiable feature of the bone's shape.
[0096] According to one embodiment, for objects described by a deterministic model, 2D-3D matching may proceed along the lines described by Lavallee S., Szeliski R., Brunie L.(1993) Matching 3-D smooth surfaces with their 2-D projections using 3-D distance maps, in Laugier C.(eds): Geometric Reasoning for Perception and Action.GRPA 1991, Lecture Notes in Computer Science, vol.708.Springer, Berlin, Heidelberg. In this approach, further effects such as image distortion (e.g. pillow effect introduced by image intensifiers) or nail bending can be taken into account by introducing further degrees of freedom in the parameter vector or by using appropriately adjusted models.
[0097] According to one embodiment, matching virtual and real projections for objects described by statistical shape or appearance models may be done along the lines of V.Blanz, T.Vetter (2003), Face Recognition Based on Fitting a 3D Morphable Model, IEEE Transactions on Pattern Analysis and Machine Intelligence. In this paper, a statistical and morphable 3D model is fitted to the 2D images. For this purpose, the contour and appearance statistical model parameters and the camera and pose parameters for the perspective projection are determined. Another approach can be to follow X.Dong and G.Zheng, Automatic Extraction of Proximal Femur Contours from Calibrated X-Ray Images Using 3D Statistical Models, in T.Dohi et al.(Eds.), Lecture Notes in Computer Science, 2008. Deforming the 3D model so that its virtual projection matches the real projection of the object in the X-ray image also allows the calculation of the imaging direction (representing the direction in which the X-ray beam passes through the object).
[0098] When displaying the X-ray image, geometrical aspects and / or dimensions may be shown as an overlay on the projection image. Alternatively or in addition, at least a portion of the model may be shown on the projection image, for example as a transparent visualization or 3D rendering, which may facilitate the user's identification of structural aspects of the model and thus of the imaged object.
[0099] General comments For the definition of the rotational and translational axes of the C-arm, see FIG. 25. In this figure, the X-ray source is represented by XR, the rotational axis represented by the letter B is called the vertical axis, the rotational axis represented by the letter D is called the propeller axis, and the rotational axis represented by the letter E is called the C axis. Note that in some C-arm models, axis E may be closer to axis B. The intersection of axis D with the central X-ray beam (denoted as XB) is called the center of the "C" of the C-arm. The C-arm may move up and down along the direction indicated by the letter A. The C-arm may also move along the direction indicated by the letter C. The distance of the vertical axis from the center of the "C" of the C-arm may vary between C-arms. Note that it is also possible to use a G-arm instead of a C-arm.
[0100] The neural net may be trained on a large number of data equivalent to the applied data. In the case of evaluation of bone structure in images, the neural net should be trained on a large number of X-ray images of the bone of interest. It will be appreciated that the neural net may also be trained on simulated X-ray images.
[0101] According to one embodiment, more than one neural network may be used, each neural net may be specifically trained for the sub-steps required to achieve the desired solution. For example, a first neural net may be trained to evaluate X-ray image data to classify anatomical structures in 2D projection images, while a second neural net may be trained to detect characteristic edges of structures in 2D projection images. A third net may be trained to determine specific key points such as the center of the femoral head. It is also possible to combine neural networks with other algorithms, including but not limited to model-based algorithms such as Active Shape Models. It is noted that neural nets may also directly solve one of the tasks in the present invention, e.g., determining the embedding curve.
[0102] It should be noted that the processing unit may be realized by only one processor performing all steps of the process, or by a group or by multiple processors that do not have to be co-located. For example, cloud computing can allow the processors to be located anywhere. For example, the processing unit may be divided into a first sub-processor that controls the interaction with the user, including a monitor for visualizing the results, and a second sub-processor (possibly located somewhere else) that does all the calculations. The first sub-processor or another sub-processor may also control, for example, the movement of the C-arm or the G-arm of an X-ray imaging device.
[0103] According to an embodiment, the device may further comprise storage means, for example providing a database for storing X-ray images. It will be understood that such storage means may also be provided in a network to which the system may be connected, and data relating to the neural net may be received via said network. Furthermore, the device may comprise an imaging unit for generating at least one 2D X-ray image, the imaging unit being able to generate images from different directions.
[0104] According to one embodiment, the system may comprise a device for providing information to the user, the information comprising at least one of the group consisting of an X-ray image and instructions regarding the steps of the procedure. It will be understood that such a device may be a monitor or an augmented reality device for visualizing the information, or a loudspeaker for providing the information acoustically. The device may further comprise input means for manually determining or selecting a position or part of an object, such as a bone outline, in the X-ray image, for example to measure distances in the image. Such input means may be, for example, a computer keyboard, a computer mouse, or a touch screen for controlling a pointing device, such as a cursor, on a monitor screen that may be included in the device. The device may also comprise a camera or a scanner for reading the label of a package or otherwise identifying an implant or a surgical instrument. The camera may also allow the user to visually communicate with the device by gestures or mimicry, for example by virtually touching the device displayed by virtual reality. The device may also comprise a microphone and / or a loudspeaker for acoustic communication with the user.
[0105] It should be noted that all references to C-arm movement in this disclosure always refer to a change in the relative position of the C-arm and the patient. Thus, a translation or rotation of the C-arm may generally be replaced by a corresponding translation or rotation of the patient / operating table, or a combination of a translation / rotation of the C-arm and a translation / rotation of the patient / table. This may be particularly relevant when dealing with extremities, since in practice it may be easier to move a patient's extremity than to move the C-arm. It should be noted that the required patient movement is generally different from the C-arm movement, and in particular, no patient translation is usually required if the target structure is already in the desired position in the X-ray image. The system may calculate the adjustment of the C-arm and / or the adjustment of the patient. Furthermore, it should be noted that all references to the C-arm apply equally to the G-arm.
[0106] The methods and techniques disclosed in this invention may be used in systems that support a human user or surgeon, or in systems where some or all steps are performed by a robot. Thus, all references in this patent application to a "user" or "surgeon" may refer to a human user as well as a robotic surgeon, mechanical support device, or similar apparatus. Similarly, whenever it is mentioned that instructions on how to adjust the C-arm are given, it is understood that such adjustments may be made without human intervention, i.e. automatically, by the robotic C-arm, by the robotic table, or by operating room staff with some automated support. It should be noted that a robotic surgeon and / or robotic C-arm can operate with greater precision than a human, thus requiring fewer repetitions in an iterative procedure and capable of executing more complex instructions (e.g., combining multiple iterative steps).
[0107] The computer program may preferably be loaded into a random access memory of a data processing device. Thus, a data processing device or processing unit of a system according to an embodiment may be equipped to execute at least a part of the described process. Furthermore, the invention relates to a computer readable medium, such as a CD-ROM, on which the disclosed computer program may be stored. However, the computer program may also be provided via a network, such as the World Wide Web, and may be downloaded from such a network into the random access memory of the data processing device. Furthermore, the computer program may also be executed on a cloud-based processor, and the results provided via the network.
[0108] It should be noted that prior information about the implant (e.g., nail size and type) can be obtained prior to or during surgery by simply scanning the implant's packaging (e.g., bar code) or writing on the implant itself.
[0109] As is evident from the above description, a main aspect of the present invention is the processing of X-ray image data, allowing an automatic interpretation of visible objects. The method described herein is to be understood as a method for assisting the surgical treatment of a patient. Thus, according to an embodiment, the method may not include any step of treatment of an animal or human body by surgery.
[0110] It will be understood that the steps of the methods described herein, in particular those described in relation to the workflows according to some embodiments, some of which are visualized in the figures, are major steps, which may be differentiated or divided into several sub-steps. Furthermore, there may be further sub-steps between these major steps. It will also be understood that only a part of the overall method may constitute the invention, i.e. steps may be omitted or summarized.
[0111] It should be noted that some embodiments are described in relation to different subject matter. In particular, some embodiments are described in relation to method type claims (computer programs) and other embodiments are described in relation to apparatus type claims (systems / devices). However, those skilled in the art will understand from the above and following description that, unless otherwise stated, any combination of features belonging to one type of subject matter, as well as any combination between features relating to different subject matters, is considered to be disclosed in the present application.
[0112] The above-mentioned aspects and further aspects, features and advantages of the present invention can also be derived from the example embodiments described below and will be explained with reference to the example embodiments also shown in the drawings, to which the present invention is not limited. [Brief description of the drawings]
[0113] [Figure 1] FIG. 1 shows a lateral x-ray image of a femur for determining the entry point of an intramedullary nail. [Diagram 2]FIG. 13 shows an ML x-ray image of the proximal tibia and the opening instrument. [Diagram 3] FIG. 13 shows an AP x-ray image of the proximal tibia and the opening instrument. [Figure 4] FIG. 13 shows an AP x-ray image of the proximal tibia and the opening instrument. [Diagram 5] FIG. 13 shows an AP x-ray image of the proximal tibia and the opening instrument. [Figure 6] FIG. 13 shows the registration of images of the tibia based on two AP and one ML X-ray images. [Figure 7] FIG. 1 shows an axial x-ray image of the proximal humerus. [Figure 8] FIG. 1 shows an axial x-ray image of the proximal humerus and guide rod. [Figure 9] FIG. 1 shows an AP x-ray image of the proximal humerus and guide rod. [Figure 10] FIG. 13 shows registration of an image of the humerus based on an AP X-ray image and an axial X-ray image. [Figure 11] FIG. 13 shows axial x-ray images of the proximal humerus, 2D points of the anatomical neck, and the guide rod. [Figure 12] FIG. 13 shows an AP x-ray image of the proximal humerus, 2D points of the anatomical neck, and the guide rod. [Figure 13] FIG. 13 shows an AP x-ray image of the proximal humerus, 2D projected anatomical neck, entry point, and guide rod. [Figure 14] FIG. 13 shows an AP x-ray image of the proximal humerus, 2D projected anatomical neck, entry point, and guide rod with its tip on the entry point. [Figure 15] FIG. 1 shows a 3D fractured humerus and guide rod from an AP view. [Figure 16] FIG. 13 shows a 3D fractured humerus and guide rod from an axial view. [Figure 17] FIG. 13 shows a 3D fractured humerus from an AP view with the guide rod inserted. [Figure 18]FIG. 13 shows an axial x-ray image of the proximal humerus, 2D points of the anatomical neck, and the inserted guide rod. [Figure 19] FIG. 13 shows an AP x-ray image of the proximal humerus, 2D points of the anatomical neck, and the inserted guide rod. [Figure 20] FIG. 1 shows an AP x-ray image of the proximal femur, its outline, and the opening device. [Figure 21] FIG. 1 shows an ML x-ray image of the proximal femur, its outline, and the opening device. [Figure 22] FIG. 1 shows an ML x-ray image of the distal femur. [Diagram 23] FIG. 1 shows an ML x-ray image of the distal femur and its outline. [Figure 24] FIG. 1 illustrates a 3D femur and the definition of femoral anteversion angle. [Diagram 25] FIG. 2 shows a C-arm and its rotational and translational axes. [Figure 26] FIG. 13 illustrates a possible workflow for determining the entry point for the tibia. [Figure 27] FIG. 13 illustrates a possible workflow for determining the entry point for the humerus. [Figure 28] FIG. 13 shows an AP x-ray image of the distal femur, the implant inserted, and the drill positioned on the surface of the femur. [Figure 29] FIG. 13 shows an ML x-ray image of the distal femur, the implant inserted, and the drill positioned on the surface of the femur. [Diagram 30] FIG. 13 shows the registration of an image of the distal part of the femur based on an AP X-ray image and an ML X-ray image, including the femur, the inserted implant and the drill. [Diagram 31] FIG. 31 shows the same arrangement as in FIG. 30 from a different viewing direction. [Diagram 32] FIG. 13 shows an ML x-ray image of the distal femur and the calculated entry points of the nail holes. [Diagram 33]FIG. 1 illustrates a possible workflow for determining the entry point of a femoral intramedullary implant. [Diagram 34] FIG. 1 illustrates a possible workflow for determining the femoral anteversion angle. [Diagram 35] FIG. 1 shows a possible workflow of the freehand locking procedure (quick version). [Diagram 36] FIG. 13 shows a possible workflow of the freehand locking procedure (extended version). DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0114] Throughout the drawings, the same reference numerals and characters, unless otherwise stated, are used to denote like features, elements, components, or portions of the illustrated embodiments. Moreover, while the present disclosure will now be described in detail with reference to the drawings, it is done so in connection with the illustrative embodiments and not limited by the specific embodiments illustrated in the drawings.
[0115] Determining the entry point for implanting an intramedullary nail into the femur The first objective of the present invention is the determination of the embedding curve and entry point for embedding an intramedullary nail in the femur. To determine the entry point, an X-ray image needs to be acquired from a specific viewing direction. In a real lateral view, the diaphyseal and cervical axes are parallel with a specific offset. However, this view is not the desired view of the present invention. The desired view is a lateral view with a rotation about the C-axis of the C-arm so that the embedding axis passes through the center of the femoral head. The center of the femoral head can be determined with a sufficiently high accuracy, for example, by a neural network. The uncertainty in determining the center of the femoral head may be mainly related to deviations in the orientation of the embedding axis, which does not have a significant impact on the accuracy of ensuring the desired viewing direction. The system supports the user to obtain the desired viewing direction by estimating the required rotation angle about the C-axis based on a database of anatomical structures or LU100907B1.
[0116] The system also helps the user to obtain the proper viewing direction. For example, consider a scenario where the 2D distance between the center of the femoral head and the tip of the opening instrument is too small compared to the 2D distance between the tip of the opening instrument and the lowest visible part of the femoral diaphysis. This effect occurs when the focal axis of the C-arm is nearly perpendicular to the implantation axis. In this case, the center of the diaphysis at the narrowest part is likely not visible in the current X-ray projection image. Therefore, the system can give instructions to rotate the C-arm around axis B in FIG. 25. Following the instructions results in an X-ray projection image with an increased first distance and a decreased second distance (i.e., the neck area is larger and the narrowest part of the diaphysis is now visible).
[0117] The method to determine how much the C-arm needs to be rotated to obtain the desired view is to consider the anatomical appearance on the AP X-ray image. The following points are identified on the image: the center of the femoral head, the tip of the opening instrument, and the center of the shaft at the transition to the greater trochanter. Then, two lines are drawn between the first two points and the last two points, respectively. These three points are also identified with sufficient accuracy on the ML X-ray image, so that it is possible to estimate the angle between the focal line of the ML X-ray image and the anatomical structure (e.g., the implantation axis and / or the cervical axis). If this angle is too small or too large, the system gives instructions to increase or decrease the angle, respectively.
[0118] According to one embodiment, the embedding axis is determined as follows: Figure 1 shows a lateral (ML) X-ray image of a femur. The system detects the center of the diaphysis at its narrowest point (denoted ISC) and the center of the femoral head (denoted CF). The line defined by these two points is considered as the embedding axis (denoted IA). Furthermore, the system detects the projected outer boundary (denoted OB) of the neck and diaphysis regions, or alternatively several points on the boundary. A segmentation of the boundary is performed, for example by a neural network. Alternatively, the neural network may directly estimate a specific point instead of the complete boundary. For example, instead of the diaphysis boundary, the neural network may estimate the center of the diaphysis, and the diaphysis diameter is estimated based on the size of the femoral head. Based on this information, it is possible to estimate the location of the diaphysis boundary without finding the boundary itself. The embedding axis should be at a certain distance from both the neck and diaphysis boundaries. If any distance is too small, the system calculates the required rotation of the C-arm about the C-axis to reach the desired viewing orientation in the subsequently acquired X-ray projection images. The C-arm rotation direction is determined based on a weighted evaluation of the distance in the neck region and the distance in the diaphyseal region. The rotation angle is calculated based on an anatomical model of the femur.
[0119] Once the desired viewing direction is reached, the intersection of the implantation axis and the trochanteric edge axis is defined as the entry point. The trochanteric edge axis is detected directly on the image. If this is not desirable or feasible, the trochanteric edge axis may be approximated by a line connecting the tip of the open instrument and the implantation axis on the x-ray image. This line may be taken as perpendicular to the implantation axis, or may run at an oblique angle to the implantation axis if available prior information suggests otherwise.
[0120] The implant is composed of a nail and a head element. If the distance between the projected tip of the opening instrument and the projected entry point is not within the desired distance (e.g., the distance is greater than 1 mm), the system guides the user on how to move the opening instrument to reach the entry point. For example, if the tip of the opening instrument on the femur is too anterior compared to the determined entry point, the system provides instructions to move the tip of the opening instrument posteriorly.
[0121] According to one embodiment, the system detects the narrowest part of the femoral shaft, the center of the femoral head (denoted as CF), and the tip of the opening instrument (denoted as KW) in the X-ray image. The embedding axis (denoted as IA) is considered as the line passing through the center of the femoral head (denoted as CF) and the center of the narrowest part of the shaft (denoted as ISC). The entry point is considered as the point on the embedding axis (denoted as EP) that is closest to the tip of the opening instrument KW. The system gives instructions to move the opening instrument so that it is placed on the EP. After moving the instrument to the projected point, it may be useful to acquire an AP image to verify that the tip of the opening instrument is still at the tip of the projected greater trochanter in the AP view. If there is knowledge of the epipolar line projected from the tip of the k-wire detected in the AP image, possibly based on the registration of the AP image and the ML image, and there has been no movement of the tip of the k-wire between the acquisition of the AP image and the acquisition of the ML image, the entry point is more accurately determined and there is no need to further verify in another AP image whether the tip is still at the tip of the projected greater trochanter.
[0122] Example of a possible workflow for determining the entry point of an intramedullary implant in the femur (see Figure 33): 1. The user obtains an AP x-ray image in which the tip of the mouth instrument is placed on the projected tip of the greater trochanter. 2. Without moving the tip of the opening instrument, the user acquires an ML x-ray projection image. 3. The system detects the center of the femoral head, the center point of the narrowest part of the shaft, and the tip of the opening instrument on the X-ray image. If both the femoral head and diaphysis are not sufficiently visible, the system prompts the user to move the C-arm laterally to increase the field of view. b. If the narrowest part is well visible but the femoral head is not, the system will prompt you to move the C-arm proximally along the leg. The system calculates a first distance between the center of the femoral head and the tip of the opening tool, and a second distance between the tip of the opening tool and a particular point on the diaphysis, which may be the center of the diaphysis at its narrowest point (if visible), or if the narrowest point is not visible, the most distal visible point of the diaphysis, or alternatively, an estimated center of the diaphysis at its narrowest point (based on the visible part of the diaphysis). d. If the femoral head is fully visible but the diaphysis is not fully visible, the system prompts the C-arm to move distally along the leg. One way to determine if the diaphysis is fully visible is to compare the second distance from step 3c to a threshold. Another way is to evaluate the curvature of the diaphysis to determine if the narrowest part is visible in the current x-ray image. e. If the first distance from step 3c is too small compared to the second distance, the C-arm needs to be rotated clockwise (right femur) or counterclockwise (left femur) around the C-arm axis B (see FIG. 25), or vice versa. The required rotation angle of the C-arm is calculated based on the two distances and possibly further information from the AP image from step 1. The latter may include, for example, the CCD angle of the femur. The curvature of the diaphysis depicted in the ML X-ray image is also taken into account. 4. Steps 2 and 3 are repeated until all critical parts of the femur are adequately visualized and the two distances from step 3c have the desired ratio. 5. In addition to the points from step 3, the system detects the left and right outlines of the femoral neck and the left and right outlines of the femoral shaft. 6. A line is drawn from the center of the femoral head to the center of the narrowest part of the shaft. The four distances between this line and the four outlines of the femoral neck and femoral shaft are calculated. 7. For each neck and diaphyseal region, a metric is defined to assess how centered a line through each region is. For example, the metric for the neck is 0 when the line touches the left outline of the neck, 1 when the line touches the right outline of the femur, and 0.5 when the line is centered in the neck region. 8. A new metric is defined based on a weighted average of the cervical and diaphyseal metrics. If the new metric is below a first threshold, the C-arm needs to be rotated around its C-axis such that the focal point of the C-arm moves forward. If the new metric is above a second threshold, which is higher than the first threshold, the C-arm needs to be rotated in the opposite direction around its C-axis. The required rotation angle of the C-arm is calculated based on the distance between the metric and the corresponding threshold. 9. If the metric defined in step 8 is outside of the two thresholds from step 8, a new ML X-ray projection image must be acquired. 10. Steps 5-9 are repeated until the metric defined in step 8 falls between the two thresholds from step 8. The drawn line is the final projected embedding axis. 11. The distance between the projected aperture tool tip and the line from step 10 is calculated. 12. Optionally, the position of the tip of the opening instrument is identified. Based on the appearance of the tip of the opening instrument (i.e., its size in the X-ray projection image), the system gives instructions to move the tip of the opening instrument backwards or forwards. 13. If the tip of the opening instrument is too far from the line from step 10, its position is optimized and a new ML X-ray projection image is acquired. 14. Steps 11-13 are repeated until the tip of the mouth tool is within a specified distance of the line from step 10. 15. An AP radiograph is obtained to confirm that the tip of the mouth instrument is still at the tip of the greater trochanter. If not, return to step 2.
[0123] Procedure for placing a nail with a sub-implant in the tibia An example of a possible workflow (see Figure 26): 0. In the following workflow, the proximal tibia is assumed to be intact (or properly repositioned). 1. The user places the opening instrument on the surface of the tibia (at any point proximally, but ideally near the surgeon's estimated entry point). 2. The user acquires a (near) lateral image of the proximal tibia (denoted TIB) as depicted in FIG. 3. The user acquires at least one AP image (ideally multiple images from slightly different orientations) of the proximal tibia as depicted in FIGS. 3, 4, and 5. 4. The system detects the size (or diameter etc.) of the Oral Instrument (denoted as OI) in all images to estimate the size (scaling) of the tibia. 5. The system matches a statistical model of the tibia to all images jointly by matching the statistical model to the bone contour (or more generally the bone appearance). The result of this step is a 3D reconstruction of the tibia. This includes 6 parameters for rotation and translation per image, 1 parameter for scaling (initially estimated in step 4), and a certain number of modes (determining the modes corresponds to the 3D reconstruction of the tibia). Thus, if there are n images and m modes, the total number of parameters is (6·n+1+m). b. Based on all the estimated rotations and translations of the tibia (in each image), the system performs image registration for all images as depicted in Figure 6. Thus, the spatial relationship between the AP images (denoted as I.AP1 and I.AP2), the ML images (denoted as I.ML), the tip of the opening instrument (denoted as OI), and the tibia (denoted as TIB) is known. c. Optionally, for potentially more accurate results, the system uses information of the femoral condyles or fibula, for example, by using statistics of these bones. 6. Based on the 3D reconstruction of the tibia, the system determines an entry point. This is done, for example, by defining an entry point on the average shape of the statistical model. This point is then identified in the 3D reconstruction. 7. Optionally, the system places the implant (virtually) in the bone based on a 3D reconstruction of the tibia and calculates the length of the proximal locking screw. This step may also improve the estimation of the entry point since the actual implant is taken into account. 8. The system displays the entry point as an overlay on the current x-ray image. 9. If the tip of the opening instrument is not close enough to the estimated entry point, the system will provide instructions to correct the tip position. a. The user repositions the tip of the opening instrument and acquires a new x-ray image. b. The system calculates the entry point in the new image (eg, by image subtraction analysis or by matching a 3D reconstruction of the tibia to the new image). c. Return to step 8. 10. The user inserts the implant into the tibia and acquires a new image. 11. The system identifies the location of the implant. Based on the 3D reconstruction of the tibia, the system provides the necessary 3D information (e.g., the length of the proximal locking screw). 12. The system provides support for proximal locking. 13. The system calculates the twist angle by comparing the proximal portion of the tibia (which may include the femoral condyles) to the distal portion of the tibia (which may include the foot). For a more accurate calculation of the twist angle, the system also uses information about the fibula (e.g., by locating the fibula and calculating its spatial relationship to the tibia).
[0124] Procedure for placing a nail with a sub-implant in the humerus An example of a possible workflow (see Figure 27): 0. The user provides the desired distance between the entry point and the anatomical neck (eg, 0 mm or 5 mm medial). 1. The user obtains an axial x-ray image of the proximal humerus as depicted in FIG. 7. 2. The system detects the outline of the humeral head (e.g., with a neural network). Based on the detected outline, the system approximates the humeral head (denoted HH) with a circle, i.e., estimates the 2D center and radius. It includes multiple candidates of the humeral head (2D center and radius), which are ranked based on their plausibility (e.g., based on a statistical model, mean squared approximation error, confidence level, etc.). Based on the detected diaphyseal axis (denoted IC), the system rotates the image so that the diaphyseal axis is a vertical line. The system evaluates whether the center of the humeral head is close enough to the diaphyseal axis. If the distance between the center of the humeral head and the diaphyseal axis is too large, the system advises the user to apply traction force distally on the arm to correct the translational position (i.e., head vs. diaphyseal, repositioned perpendicular to the traction force due to soft tissue forces). 3. The system estimates the initial entry point (denoted as EP) somewhere between the intersection of the humeral head and shaft axis (e.g., 20% above the center of the intersection). 4. The user places the guide rod at the first guessed entry point from step 3. 5. The user acquires a further axial x-ray image in which the guide rod (denoted OI) is visible as depicted in FIG. 6. The system detects the humeral head (denoted as HH) (2D center and radius) and the 2D diaphyseal axis (denoted as IC) and locates the position of the guide rod (denoted as OI) to obtain the 2D coordinates of its tip and a 2D scaling (based on the known diameter of the guide rod). 7. The system advises the user to rotate the C-arm around its C-axis (further allowed C-arm movements are distal-proximal or anterior-posterior translations, prohibited movements are other rotations and medial-lateral translations). 8. Without moving the tip of the guide rod (angular movement of the guide rod is allowed as long as the tip remains in place), the user obtains an AP x-ray image (not necessarily an actual AP image) of the proximal humerus as depicted in FIG. 9. 9. The system detects the humeral head (denoted as HH) (2D center and radius) and the 2D diaphyseal axis (denoted as IC) and locates the position of the guide rod (denoted as OI) to obtain the 2D coordinates of its tip and a 2D scaling (based on the known diameter of the guide rod). 10. Based on the information from steps 6-9, the system registers the images as depicted in Figure 10 and calculates a spherical approximation of the humeral head (denoted as HH3D) and the 3D diaphyseal axis in the same coordinate system as the sphere. 11. There are four points (i.e., two for the axial and AP images) that define the start and end of the circular portion of the projected humeral head (denoted CA in Figures 11 and 12). The system detects at least three of these four points. Based on these at least three points, the system determines the anatomical neck in 3D (e.g., by defining a plane based on the three points that intersects with a spherical approximation of the humeral head). 12. The system can similarly use a fourth point from step 11 (e.g., in a weighted least squares method where the weights are based on the individual confidence levels of each of the four points) to improve the determination of the anatomical neck. 13.When the anatomical structure is virtually rotated in space such that the 3D diaphyseal axis is a vertical line and the humeral head is above the diaphyseal shaft, the entry point is defined as the highest point within the space above the anatomical neck (denoted as CA3D in Figure 13). Based on the settings from step 0 and the results from steps 10-12, the system calculates the final entry point (denoted as EP). 14. The user places the guide rod at the calculated entry point and acquires a new AP x-ray image as depicted in FIG. 14. 15. The system detects the tip of the guide rod (denoted as OI) and evaluates whether the tip of the guide rod is located close enough to the calculated entry point (denoted as EP). 16. Steps 14 and 15 are repeated until the tip of the guide rod is close enough to the entry point. 17. Optional indication of angular motion of guide rod. Based on the registration of the latest image (including the 3D humeral head), the system determines the spatial relationship of the humeral head and the guide rod as depicted in Figures 15 and 16. If the orientation of the guide rod deviates significantly from the optimal insertion orientation, the system provides instructions for angular movement of the guide rod. The optimal insertion orientation can be estimated, for example, with a statistical model or by comparing the axis of the guide rod (denoted OIA) with the humeral head axis (denoted HA). b. If instructions were given in step a, the user follows the instructions and acquires a new x-ray image from the same direction. Image difference analysis detects changes in the images and updates the image registration. c. Steps a and b are repeated until no further angular movement of the guide rod is required. 18. Improved optional image registration and verification of humeral head outline. The user inserts the guide rod as depicted in FIG. b. The user acquires an X-ray image (e.g., axial as depicted in FIG. 18). c. The system locates the guide rod (denoted as OI) and detects the humeral head (denoted as HH) (2D center and radius). d. The system advises the user to rotate the C-arm around its C-axis (see step 7 for further possible C-arm movements). e. The user acquires an x-ray image from another direction (e.g., AP as depicted in FIG. 19) without moving the guide rod. f. The system locates the guide rod (denoted as OI) and finds the humeral head (denoted as HH) (2D center and radius). g. Based on the information from both images, the system performs image registration, which is more accurate than step 10 since the 3D model of the guide rod is known. h. Based on the registration of the images, the system can verify the detection of the humeral head in both images. i. Based on the validation results, the system optimizes the outline of the humeral head in both images (e.g., by selecting another candidate for the humeral head). 19. Optional correction of rotatory dislocation of the humeral head. The user acquires an X-ray image (axial or AP). The system locates the guide rod and detects the 2D shaft axis and the 2D humeral head axis (defined by the visible circular portion of the humeral head). b. If the imaging orientation of the previous image is significantly different (e.g., previous image is axial and current image is AP), the system performs image registration based on the latest image pair. Based on the image registration, the system determines the ideal 2D angle between the shaft axis and head axis in the current image. c. If the imaging orientation of the previous image is very similar (e.g., identified by image subtraction analysis), the ideal 2D angle between the diaphyseal and head axes remains unchanged (relative to the previous image). d. The system calculates the current 2D angle between the shaft axis and the head axis. e. If the angle between the shaft axis and head axis is not close enough to the ideal angle from steps 19b or 19c (e.g., 20° in axial images or 130° in AP images), the system instructs to correct the rotational misalignment in the dorsal-ventral (axial images) or medial-lateral (AP images) direction. f. If the imaging orientation of the previous image is very similar but the visible circular area of the humeral head is smaller or larger compared to the previous image (e.g., due to a prior correction of the dislocation), the system will give further instructions to rotate the C-arm about its C-axis to change the imaging orientation of the next image (i.e., update the image registration) since the rotational dislocation may have changed in other imaging orientations as well. g. If instructed, the user corrects the rotational misalignment (rotating the C-arm if necessary) and returns to step 19a. 20. Check for voluntary twisting. The user positions their forearms parallel to their body (or tops of their legs). b. The user acquires an axial x-ray image. c.The system detects the humeral head axis and the 2D center of the glenoid cavity. The system calculates the distance between the center of the glenoid cavity and the humeral head axis. Based on this result, the system gives an indication of which direction and by what angle the twist needs to be corrected. d. The user corrects the twist by rotating the head by the direction and angle from step c. e. Steps 20b-20d are repeated until the center of the glenoid cavity is sufficiently close to the humeral head axis.
[0125] Possible modifications: Instead of estimating the entry point 20% above (inside) the center of the intersection in step 3, the system could use a higher value (e.g., 70%) to ensure that the tip of the guide rod lies on the spherical part of the humeral head. In step 10, the system could use the information that the tip of the guide rod lies on a spherical approximation of the humeral head to improve image registration. With the 70% method described above, the current position of the tip of the guide rod is a greater distance to the entry point (compared to the 20% method). When guiding the user to reach the entry point with the tip of the guide rod (steps 14-16), the system determines (e.g., by image difference analysis) whether the observation direction has changed. If the observation direction has not changed, the entry point calculated from the previous X-ray image is used and the guidance information is updated based on the updated tip detection position. If the observation direction has changed only slightly, the entry point is shifted accordingly (e.g., by a technique called object tracking, see e.g., SRBalaji et al., “A survey on moving object tracking using image processing” (2017)). If the observation direction changes significantly, the system prompts the user to rotate the C-arm around its C-axis and acquire an X-ray image from a different observation direction (e.g., axial if the current image was AP) without moving the tip of the guide rod. Based on the updated image, the system performs image registration based on the information acquired by the previous registration (e.g., the radius of the ball approximation of the humeral head), displays the entry point in the current image, and navigates the user to reach the entry point with the tip of the guide rod.
[0126] Determining the femoral anteversion angle Below we present an exemplary workflow for determining the AV angle before and after implant insertion, which may be more robust and / or accurate than the state of the art. According to one embodiment, the overall procedure for determining the femoral anteversion angle proceeds as follows (see FIG. 34): 1. The user places the tip of the mouth instrument approximately at the tip of the greater trochanter. 2. The user obtains an AP x-ray image of the proximal femur as depicted in FIG. 3. The system detects the 2D outline of the femur (denoted as FEM) and the femoral head (denoted as FH), which is approximated by a circle (i.e., determined by a 2D center and a 2D radius), and locates the tip of the opening instrument (denoted as OI). 4. If some important parts of the femur or the tip of the opening instrument are not sufficiently visible, the system will give instructions to rotate and / or move the C-arm and the user will return to step 2. 5. The user rotates the C-arm around its C-axis to acquire ML X-ray images. The user may also use medial-lateral and / or anterior-posterior shifts of the C-arm. The tip of the mouth instrument should not be moved while moving the C-arm. 6. The user obtains a ML x-ray image of the proximal femur as depicted in FIG. 7. The system detects the 2D outline of the femur (denoted as FEM) and the femoral head (denoted as FH) (i.e., 2D center and 2D radius) and locates the tip of the opening instrument (denoted as OI). 8. If some critical parts of the femur or the tip of the opening instrument are not sufficiently visible, the system instructs the user to move the C-arm (translation only) or rotate the C-arm around its C-axis and returns to step 6. 9. Based on the proximal AP and ML image pairs, the system registers the images. If the images are not successfully registered, the system prompts the user to rotate and / or move the C-arm and the user returns to step 2. 10. The user moves the C-arm distally along the patient's leg. During this step, no rotation of the C-arm is allowed, but all three translational movements are allowed. 11. The user acquires a ML x-ray projection image of the distal femur as depicted in FIGS. 22 and 23. 12. The system detects the 2D outline of the femur (denoted as FEM). 13. No specific orientation or alignment of the femoral condyles is required, however, if some critical portion of the femur is not well visible, the system will instruct to move the C-arm (only translation is allowed) and the user will return to step 11. 14. Based on the image registration, the system jointly fits a statistical model (trained on fractured and non-fractured femurs) to all images such that the projected outline of the statistical model matches the detected 2D outline of the femur in all images. This step directly obtains a 3D reconstruction of the femur. To improve the accuracy of the 3D reconstruction, the system calculates the 3D position of the tip of the opening instrument (based on the proximal image registration) and uses this point as a reference point, taking advantage of the fact that the tip of the opening instrument is placed on the surface of the femur. 15. The system determines the anteversion angle based on the 3D reconstruction of the femur as depicted in FIG. 24. According to Yeon Soo Lee et al.: “3D femoral neck anteversion measurements based on the posterior femoral plane in ORTHODOC® system” (2006), the anteversion angle can be calculated based on the center of the femoral head (denoted as FHC), the center of the femoral neck (denoted as FNC), the posterior apex of the trochanter (denoted as TRO), and the lateral and medial apexes of the posterior femoral condyles (denoted as LC and MC). The system identifies these five points in the 3D reconstruction of the femur from step 10 and calculates the anteversion angle accordingly.
[0127] Freehand locking procedure There can be various implementations of the femoral nail distal locking procedure. Below we present two examples of possible workflows, one "quick" and one with "improved" precision.
[0128] A possible workflow example (quick version), see Figure 35: 1. The user obtains an x-ray image (eg, AP, or ML as depicted in FIG. 28) of the distal femur. 2. The system locates the implant and detects the femoral outline. If either the implant or the femoral outline cannot be located, the system gives instructions to improve visibility (e.g., by moving the C-arm). The user follows the instructions and returns to step 1. 3. The user places a drill on the surface of the femur (e.g., at the nail hole trajectory). The user acquires an X-ray image from another viewing direction (e.g., 25°-ML as depicted in FIG. 29). 4. The system locates the implant (denoted as IM), detects the outline of the femur (denoted as FEM), and locates the drill (denoted as DR). 5. If the drill tip cannot be located, the system prompts the user to improve visibility of the drill tip (e.g., by moving the C-arm). The user follows the instructions, acquires a new image, and returns to step 4. 6. Based on the localization of the implant in both images (denoted as I.AP and I.ML in FIG. 30), the system registers the images as depicted in FIG. 30 and FIG. 31. 7. Based on the registration of the images from step 6, the system fits a statistical model of the femur by matching its projected outline to the detected outline of the femur in both images (i.e., determines the rotation and translation, scaling, and statistical model mode of the femur in both images). 8. For the current image, the system defines a line from the drill tip to the focal point in the image plane. This line intersects the reconstructed femur twice (i.e., at the entry and exit points). The point closer to the focal point is selected as the current 3D position of the drill tip. The system calculates the length of the locking screw based on the diaphyseal diameter of the reconstructed femur along the nail hole trajectory. 9. Based on the known spatial relationship of the femur and the implant (from registration and reconstruction of the femur image), the system calculates the spatial relationship of the drill and the implant. 10. If the drill trajectory passes through the nail hole, the system gives an instruction to start drilling, the user starts drilling, and the user proceeds to step 14. 11. If the drill trajectory does not pass through the nail hole, the system prompts the user to move the drill tip and / or rotate the drill, and the user follows the instructions and acquires a new x-ray image. 12. The system evaluates whether the viewing direction has changed (e.g., by image difference analysis). If the viewing direction has not changed, the system can use most of the results from the previous image but identifies the position of the drill. If the viewing direction or other relevant image content has changed (e.g., due to image blurring effects, occlusions, etc.), the system can use this information to improve the image registration (e.g., by using additional viewing directions in the current image). The system identifies the implant and drill positions, detects the femur outline, and fits the reconstructed femur to the current image. 13. The user returns to step 9. 14. If the user wants to lock more holes, the system will display the entry points (given by the intersection of the 3D reconstruction of the femur and the embedded curve of the ideal locking location) of all nail holes and give instructions on how to move the drill tip to reach the entry points. An example is shown in Figure 32. The user places the drill tip at the calculated entry point (denoted as EP) and returns to step 12.
[0129] Example of a possible workflow (extended version), see Figure 36: 1. Optionally, the user acquires an x-ray image of the distal femur (e.g., AP, as depicted in FIG. 28, or ML). The system locates the implant (denoted IM) and detects the outline of the femur (denoted FEM). If the system cannot locate either the implant or the femur outline, the system prompts the user to improve visibility (e.g., by moving the C-arm). The user follows the instructions and returns to the beginning of this step. 2. The user places the drill on the surface of the femur (e.g., over the nail hole trajectory). 3. The user acquires an X-ray image (e.g., ML or AP) of the distal femur. The system locates the implant (denoted IM), detects the outline of the femur (denoted FEM), and locates the drill (denoted DR). If the system is unable to locate either the implant or the femur outline or the tip of the drill, the system gives instructions to improve visibility (e.g., by moving the C-arm). The user follows the instructions and returns to the beginning of this step. Based on the 3D reconstruction of the bone relative to the coordinate system of the nail, the system calculates the required length of the sub-implant (e.g., the locking screw) and displays the information accordingly. 4. The user acquires an X-ray image from another viewing direction (e.g., 25°-ML as depicted in FIG. 29). The drill tip must not move between images. If it has, the system can detect this and ask the user to return to step 3. 5. The system locates the implant (denoted as IM), detects the outline of the femur (denoted as FEM), and locates the drill (denoted as DR). 6. If the drill tip cannot be located, the system prompts the user to improve visibility of the drill tip (e.g., by moving the C-arm), and the user follows the instructions, acquires a new image, and returns to step 5. 7. Based on the localization of the implant in at least two images (denoted as I.AP and I.ML in FIG. 30), the system registers the images as depicted in FIG. 30 and FIG. 31. 8. Based on the registration of the images from step 7, but possibly also using information from the registration of the previous image, the system fits a statistical model of the femur by matching its projected outline in the image to the detected outline of the femur (i.e., determines the rotation and translation, scaling, and statistical model mode of the femur in both images). Optionally, the system can update the calculated sub-implant length based on the reconstructed bone and the determined nail hole trajectories. 9. For the current image, the system defines a line L1 (denoted as L1 in FIG. 31) in the image plane from the tip of the drill to the focal point. L1 intersects the reconstructed femur twice (i.e., at the entry and exit points). The point closer to the focal point is selected as the initial value of the current 3D position of the tip of the drill. 10. For an image from another viewing direction that includes the tip of the drill, the system defines a line L2 from the tip of the drill in the image plane to the focal point (i.e., in the corresponding coordinate system of that image). Based on the registration of the images, this line is transformed into the coordinate system of the current image. The transformed line is called L2' (denoted as L2' in Figure 31). 11. If the minimum distance between L1 and L2' is above a certain threshold, the system advises the user to return to step 4, as it is highly likely that the drill tip has moved between images. Optionally, if the user verifies that the drill tip has not moved during the generation of the image pairs used to register the images, the system optimizes the localization of the implant in both images, improving the image registration by minimizing the distance between L1 and L2'. (L1 and L2' will intersect if the localization of the implant and drill tip is perfect in both images and the drill tip has not moved between images.) 12. The point on L1 with the smallest distance to L2' is selected as the first further value of the current 3D position of the drill tip. 13. Based on the two solutions of the 3D position of the drill tip (i.e., from steps 9 and 12), the system finds the current 3D position of the drill tip (e.g., by selecting the solution from step 12 or by averaging both solutions). Since the drill tip is on the surface of the femur, the system improves the 3D reconstruction of the femur under the constraint that the estimated 3D position of the drill tip is on the reconstructed surface of the femur. Based on the improved reconstruction of the femur, the system can validate the previously calculated sub-implant length. If the updated length deviates from the previously calculated screw length (possibly taking into account the increment of the available length of the sub-implant), the system informs the user. 14. Based on the known spatial relationship of the femur and the implant (from registration and reconstruction of the femur image), the system calculates the spatial relationship of the drill and the implant. 15. If the drill trajectory passes through the nail hole, the system will give an instruction to start drilling, and the user will start drilling and insert the sub-implant after drilling, then proceed to step 19. 16. If the drill trajectory does not pass through the nail hole, the system prompts the user to move the drill tip and / or rotate the drill, and the user follows the instructions and acquires a new x-ray image. 17. The system evaluates whether the viewing direction has changed (e.g. by image difference analysis). If the viewing direction has not changed, the system can use most of the results from the previous image but locates the drill. If the viewing direction or other relevant image content has changed (e.g. by image blurring effects, occlusions, etc.), the system can use this information to improve the image registration (e.g. by using additional viewing directions in the current image). The system locates the implant, optimized by the location of the already inserted sub-implant, taking into account its entry point and available information about the drill, if available, detects the femoral outline and fits the reconstructed femur to the current image. 18. The user returns to step 14. 19. If the user wants to lock more holes, the system will display the entry points (given by the intersection of the 3D reconstruction of the femur and the embedded curve of the ideal locking location) of all nail holes and give instructions on how to move the drill tip to reach the entry points. An example is shown in Figure 32. The user places the drill tip at the calculated entry point (denoted as EP) and returns to step 17.
[0130] At any point, if the user decides to check if the holes have been successfully locked, they can acquire images with imaging orientations that deviate less than 8 degrees from the locking hole trajectory, and the system will automatically evaluate if the locking was successful. If the last hole has been locked, or if the system has information that requires verification of the locking procedure that has been performed, the system will guide the user to move the C-arm position up relative to the locking hole trajectory.
[0131] To support performing skin incisions at appropriate locations for placing drills at the proposed entry points, the system can project skin entry points based on the embedding curve and the entry points to the bone by estimating the distance between the skin and the bone.
Claims
1. A system for assisting humerus surgery based on X-ray images, comprising: receiving at least two x-ray images showing a proximal portion of the humerus, the x-ray images being generated from at least two imaging directions; registering the at least two x-ray images; approximating at least a portion of the 2D outline of the humeral head in said X-ray image with a particular 2D shape; approximating the humeral head with a specific 3D shape based on the approximated 2D outline and the registration of the X-ray image; determining 2D image coordinates of a total of at least three different points in said at least two X-ray images; approximating an anatomical neck with a specific shape in 3D space as a curve on the 3D shape of the humeral head by at least three determined points; a processing unit configured to execute instructions of a software program product that causes the system to system.
2. The system of claim 1 , wherein the particular 2D shape of the humeral head is a 2D circle or a 2D ellipse.
3. The system of claim 1 or 2, wherein the particular 3D shape of the humeral head is a 3D ball or a 3D ellipse.
4. The system according to any one of claims 1 to 3, wherein the particular shape in 3D space is a circle or an ellipse in 3D space.
5. The system of any one of claims 1 to 4, wherein the software program product further comprises instructions for causing the system to perform the step of determining an approximation of the humerus shaft axis in at least two of the X-ray images.
6. 6. The system of claim 5, wherein the software program product further comprises instructions that cause the system to perform a step of determining an approximation of a 3D shaft axis of the humerus based on the approximated humerus shaft axis in the at least two X-ray images and the registration of the X-ray images.
7. The system of claim 6 , wherein the software program product further comprises instructions that cause the system to perform the step of determining an entry point based on the approximated anatomical neck and the approximated 3D diaphyseal axis.
8. 7. The system of claim 6, wherein the software program product further comprises instructions for causing the system to perform a step of determining a displacement of a proximal fragment of a fractured humerus based on the approximated anatomical neck and the approximated 3D diaphyseal axis and / or the approximated glenoid of a humeral joint.
9. The system of claims 7 and 8, wherein the software program product further comprises instructions for causing the system to execute a step of determining an embedding curve at the proximal bone fragment based on the entry point and the dislocation of the femoral head.
10. The system of claim 8 , wherein the software program product further comprises instructions that cause the system to perform the step of providing information for repositioning the proximal bone fragment.
11. The system of any one of claims 1 to 10, wherein the software program product further comprises instructions for causing the system to perform a step of registering at least two of the X-ray images based on a model of the humeral head and one further point having a fixed 3D position relative to the humeral head, the point being identified and detected in the at least two X-ray images.
12. The system of claim 11 , wherein the one additional point is on an articular surface of the humeral head.
13. A method for detecting a humerus comprising: receiving at least two x-ray images showing a proximal portion of the humerus, the x-ray images being generated from at least two imaging directions; registering the at least two x-ray images; approximating at least a portion of the 2D outline of the humeral head in said X-ray image with a particular 2D shape; approximating the humeral head with a specific 3D shape based on the approximated 2D outline and the registration of the X-ray image; determining 2D image coordinates of a total of at least three different points in said at least two X-ray images; approximating an anatomical neck with a specific shape in 3D space as a curve on the 3D shape of the humeral head by at least three determined points; A software program that contains instructions to cause a system to execute the following:
14. 1. A method for assisting humerus surgery based on x-ray images, comprising: receiving at least two x-ray images showing a proximal portion of the humerus, the x-ray images being generated from at least two imaging directions; registering the at least two x-ray images; approximating at least a portion of the 2D outline of the humeral head in said X-ray image with a particular 2D shape; approximating the humeral head with a specific 3D shape based on the approximated 2D outline and the registration of the X-ray image; determining 2D image coordinates of a total of at least three different points in said at least two X-ray images; approximating an anatomical neck with a specific shape in 3D space as a curve on the 3D shape of the humeral head by at least three determined points; The method includes:
Citation Information
Patent Citations
Robotic system for shoulder arthroplasty using stemless implant components
EP3479790A2
Image processing
JP2010535051A
Orthopedic fixation with image analysis
JP2013526377A
Method and system for automatically determining geometric elements from 3D medical images of bones
JP2013533765A
Bone reconstruction and orthopedic implants
US20160157751A1
