Implant position evaluation method and device, equipment and storage medium
The implant position evaluation method and device objectively assess implant accuracy by comparing preoperative and postoperative images, improving efficiency and accuracy in orthopedic surgery.
Patent Information
- Application Number
- CN202411198684.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-12-06
AI Technical Summary
Current implant position evaluation methods in orthopedic surgery rely on fluoroscopic imaging and clinical experience, which are inefficient and subjective, making them unsuitable for large-scale implementation.
An implant position evaluation method and device that utilizes preoperative and postoperative image processing to determine planned and actual implant areas, calculating a difference parameter to objectively assess implant accuracy, independent of medical expertise.
Enhances the efficiency and objectivity of implant position assessment by comparing planned and actual implant positions, ensuring accuracy and adherence to surgical specifications without relying on doctor's experience.
Smart Images

Figure CN119074214A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to an implant position assessment method, device, equipment and storage medium. Background Art
[0002] In traditional orthopedic surgery, in order to maintain bone stability or treat fractures, it is usually necessary to evaluate whether the implant is correctly positioned and whether it has penetrated the bone cortex after implanting a puncture needle, guide needle or pedicle screw into the patient's body.
[0003] Currently, the commonly used method is to use fluoroscopic equipment to penetrate human tissue and generate post-operative images. Based on clinical experience, doctors repeatedly review post-operative images to evaluate whether the implant is positioned correctly and whether it has penetrated the bone cortex.
[0004] The above implant evaluation method is inefficient and relies on the doctor's experience, and is not suitable for large-scale promotion. Summary of the invention
[0005] In order to solve the above technical problems, the present application provides an implant position evaluation method, device, equipment and storage medium to achieve accurate evaluation of the implant position, improve evaluation efficiency, and not rely on the doctor's experience, making the evaluation of the implant position more objective and accurate.
[0006] In a first aspect, the present application provides a method for evaluating the position of an implant, the method comprising: determining a first area where an implant is located in a first target image, wherein the first target image is an image obtained after processing a preoperative image or an intraoperative image, and the first area is a planned area of the implant; determining a second area where the implant is located in a second target image, wherein the second target image is an image obtained after processing a postoperative image, and the second area is the actual area of the implant; calculating a difference parameter between the first area and the second area; and when the difference parameter is less than a set value, determining that the implantation position of the implant is accurate.
[0007] In a second aspect, the present application provides an implant position evaluation device, which includes: a first area determination module, used to determine a first area where the implant is located in a first target image, wherein the first target image is an image obtained after processing of a preoperative image or an intraoperative image, and the first area is a planned area of the implant; a second area determination module, used to determine a second area where the implant is located in a second target image, wherein the second target image is an image obtained after processing of a postoperative image, and the second area is the actual area of the implant; a difference parameter calculation module, used to calculate the difference parameter between the first area and the second area; a position accuracy judgment module, used to determine that the implantation position of the implant is accurate when the difference parameter is less than a set value.
[0008] In a third aspect, the present application provides an implant position assessment device, which includes: one or more processors; a storage device for storing one or more programs; when the one or more programs are executed by one or more processors, the one or more processors implement the implant position assessment method as described in the first aspect above.
[0009] In a fourth aspect, the present application provides a storage medium, which may be a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the implant position assessment method as described in the first aspect above is implemented.
[0010] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the implant position assessment method as described in any one of the first aspects above is implemented.
[0011] Compared with the prior art, the technical solution provided by the embodiments of the present application has the following advantages:
[0012] The embodiment of the present application provides an implant position assessment method, device, equipment and storage medium, the method comprising: determining a first area where the implant is located in a first target image, wherein the first target image is an image obtained after processing a preoperative image or an intraoperative image, and the first area is the planned area of the implant; determining a second area where the implant is located in a second target image, wherein the second target image is an image obtained after processing a postoperative image, and the second area is the real area of the implant; calculating a difference parameter between the first area and the second area; and determining that the implant position is accurate when the difference parameter is less than a set value. In the embodiment of the present application, by comparing the actual area of the implant in the postoperative image with the planned area of the implant in the preoperative or intraoperative image, if the difference parameter is less than a set value, it indicates that the actual position of the implant and the planned position are less different, the implant position is accurate, and the surgical specification requirements can be met, and an accurate assessment of the implant position can be achieved, and the assessment efficiency is improved, and it does not rely on the doctor's experience, so that the assessment of the implant position is more objective and accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0014] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0015] Figure 1 A schematic diagram of a flow chart of an implant position assessment method provided in an embodiment of the present application;
[0016] Figure 2 A schematic flow chart of another implant position assessment method provided in an embodiment of the present application;
[0017] Figure 3 A schematic diagram of the structure of an implant position assessment device provided in an embodiment of the present application;
[0018] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0019] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the scheme of the present application will be further described below. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0020] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only part of the embodiments of the present application, rather than all of the embodiments.
[0021] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0022] It should be noted that the concepts such as "first" and "second" mentioned in this application are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0023] It should be noted that the modifications of "one" and "plurality" mentioned in the present application are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0024] The implant position assessment method provided by the present application is described in detail below in conjunction with the accompanying drawings and specific implementations.
[0025] Figure 1This is a flow chart of an implant position evaluation method in an embodiment of the present application. This embodiment can be used to evaluate whether the position of the implant is accurate. The method can be executed by an implant position evaluation device. The implant position evaluation device can be implemented in software and / or hardware. The implant position evaluation device can be configured in an electronic device.
[0026] like Figure 1 As shown, the implant position assessment method provided in the embodiment of the present application mainly includes steps S101-S104.
[0027] S101. Determine a first region where an implant is located in a first target image, wherein the first target image is an image obtained after preoperative image or intraoperative image processing, and the first region is a planned region of the implant.
[0028] Among them, implants refer to medical devices inside the human body, and the above implants can be made of metal materials, polymer materials, ceramic materials, composite materials, etc.
[0029] The first target image refers to a pre-operative image or an intra-operative image that has been pre-processed, and the pre-processing includes: image correction, artifact removal, edge detection, edge enhancement, etc. Among them, the pre-operative image can be understood as an image of the lesion area collected by a fluoroscopic device before bone surgery; the post-operative image can be understood as an image of the lesion area collected by a fluoroscopic device after bone surgery for implantation.
[0030] Furthermore, the first target image may include at least one or more of the following: X-ray image, computed tomography (CT) image, magnetic resonance imaging (MRI) image, etc. The first area may be understood as a specific location where the implant is planned to be placed before or during surgery, according to different surgical procedures and the actual situation of the patient.
[0031] Determining a first area where an implant is located in a first target image includes: obtaining a preoperative image or an intraoperative image, and using an existing implant planning method to determine a specific location where the implant is to be placed, or obtaining a preoperative image or an intraoperative image, receiving location parameters input by a doctor, and using a location corresponding to the location parameters as the specific location where the implant is to be placed.
[0032] Furthermore, a three-dimensional model of the implant is determined, and the three-dimensional model is stored in an STL format.
[0033] S102, determining a second region where the implant is located in a second target image, wherein the second target image is an image obtained after postoperative image processing, and the second region is a real region of the implant.
[0034] The second target image refers to the postoperative image after preprocessing, and the preprocessing includes: image correction, artifact removal, edge detection, edge enhancement, etc. The preoperative image can be understood as the image of the lesion area collected by the fluoroscopic device before the bone surgery; the postoperative image can be understood as the image of the lesion area collected by the fluoroscopic device after the bone surgery with implants.
[0035] Furthermore, the second target image may include at least one or more of the following: X-ray image, computed tomography (CT) image, magnetic resonance imaging (MRI) image, etc. The second area may be understood as the actual position of the implant in the human body after surgery.
[0036] The method for acquiring the second target image is the same as the method for acquiring the first target image, and will not be repeated in the embodiments of the present application.
[0037] Since the material of the implant is different from the muscle and bone material of the human body, the pixels of the area where the implant is located in the second target image are different from those of the muscle and bone area of the human body. The second area in the second target image can be extracted based on the pixel points of the implant.
[0038] In a possible implementation, when the second target image is a three-dimensional image, point cloud data corresponding to the implant is extracted, and the point cloud data is used to represent the actual position corresponding to the implant, that is, the second area.
[0039] S103: Calculate the difference parameter between the first area and the second area.
[0040] The difference parameter is used to characterize the difference between the first region and the second region. In other words, the difference parameter is used to characterize the difference between the actual region and the planned region of the implant.
[0041] When both the first region and the second region are two-dimensional images, the difference parameter may include: the distance between the center point of the first region and the center point of the second region, and / or the non-overlap ratio between the first region and the second region. The non-overlap ratio refers to the difference between 1 and the overlap ratio. The overlap ratio may refer to the ratio of the area of the overlap region of the first region and the second region to the area of the first region.
[0042] When the first area and the second area are both represented by three-dimensional point cloud data, the difference parameters may include: the angle difference between the main axis direction of the three-dimensional point cloud data of the first area and the main axis direction of the three-dimensional point cloud data of the second area, and / or the distance between the center of mass of the three-dimensional point cloud data of the first area and the center of mass of the three-dimensional point cloud data of the second area.
[0043] The above distance can be calculated using the Euclidean distance formula.
[0044] S104. When the difference parameter is less than the set value, determine that the implantation position of the implant is accurate.
[0045] The smaller the above difference parameter is, the smaller the difference between the actual area and the planned area of the implant is, and the larger the above difference parameter is, the greater the difference between the actual area and the planned area of the implant is.
[0046] The set value is an indicator used to characterize whether the implantation position of the implant is accurate. If the difference parameter is less than the set value, it means that the difference between the actual area and the planned area of the implant is less than the set value, that is, the difference between the actual area and the planned area of the implant is within the required specifications of the procedure, therefore, the implantation position of the implant is determined to be accurate. If the difference parameter is greater than or equal to the set value, it means that the difference between the actual area and the planned area of the implant is greater than the set value, that is, the difference between the actual area and the planned area of the implant exceeds the required specifications of the procedure, therefore, the implantation position of the implant is determined to be inaccurate, instructing the doctor to execute the next step of the plan.
[0047] When both the first region and the second region are two-dimensional images, the difference parameter may include: a distance between a center point of the first region and a center point of the second region, and / or a non-overlap ratio between the first region and the second region.
[0048] When the difference parameter is less than the set value, the implant position is determined to be accurate, including: the distance between the center point of the first area and the center point of the second area is less than the first distance threshold, and / or the non-overlap rate between the first area and the second area is less than the set overlap rate threshold, then the implant position is determined to be accurate.
[0049] In one possible implementation, the first area is represented by a first three-dimensional point cloud model, and the second area is represented by a second three-dimensional point cloud model; the difference parameter between the first area and the second area is calculated, including: taking the distance between the position of the center of mass of the first three-dimensional point cloud model and the position of the center of mass of the second three-dimensional point cloud model as the distance difference parameter; when the difference parameter is less than a set value, determining that the implantation position of the implant is accurate, including: when the distance difference parameter is less than a first set value, determining that the implantation position of the implant is accurate.
[0050] The first three-dimensional point cloud model is point cloud data corresponding to the planned area of the implant, and the second three-dimensional point cloud model is point cloud data corresponding to the actual area of the implant.
[0051] The centroid, also called the center of gravity, refers to the average position of a 3D point cloud in space. The position of the centroid of the first 3D point cloud model can be understood as the average position of the point cloud data corresponding to the planned area of the implant in space, and the position of the centroid of the second 3D point cloud model can be understood as the average position of the point cloud data corresponding to the actual area of the implant in space.
[0052] The position of the center of mass can be expressed by the coordinate value at the center of mass. The distance between the position of the center of mass of the first three-dimensional point cloud model and the position of the center of mass of the second three-dimensional point cloud model refers to the Euclidean distance between the two center of mass. The distance between the position of the center of mass of the first three-dimensional point cloud model and the position of the center of mass of the second three-dimensional point cloud model is calculated based on the coordinate values of the two center of mass and the Euclidean distance formula, and the Euclidean distance is used as the distance difference parameter.
[0053] The first set value refers to an indicator that characterizes the distance between the two centroids. If the distance difference parameter is less than the first set value, it indicates that the distance between the two centroids is small. If the distance difference parameter is greater than or equal to the first set value, it indicates that the distance between the two centroids is large.
[0054] Specifically, if the distance difference parameter is less than the first set value, it indicates that the difference between the actual area of the implant and the planned area is within the required specifications of the procedure, and therefore, the implantation position of the implant is determined to be accurate. If the distance difference parameter is greater than or equal to the first set value, it indicates that the difference between the actual area of the implant and the planned area is greater than the set value, that is, the difference between the actual area of the implant and the planned area exceeds the required specifications of the procedure, and therefore, the implantation position of the implant is determined to be inaccurate.
[0055] In one possible implementation, the first area is represented by a first three-dimensional point cloud model, and the second area is represented by a second three-dimensional point cloud model; the difference parameter between the first area and the second area is calculated, including: taking the angle difference between the main axis direction of the first three-dimensional point cloud model and the main axis direction of the second three-dimensional point cloud model as the angle difference parameter; when the difference parameter is less than a set value, determining that the implantation position of the implant is accurate, including: when the angle difference parameter is less than a second set value, determining that the implantation position of the implant is accurate.
[0056] The principal axis direction refers to the direction of the rotation axis or symmetry axis of the 3D point cloud model. The angle difference parameter refers to the angle difference between the two principal axis directions.
[0057] The second set value refers to an indicator that characterizes the size of the angle difference between the two main axis directions. If the angle difference parameter is less than the second set value, it means that the angle between the two main axis directions is small, indicating that the difference between the actual area of the implant and the planned area is within the required specifications of the procedure. Therefore, the implantation position of the implant is determined to be accurate. If the angle difference parameter is greater than or equal to the second set value, it means that the angle between the two main axis directions is large. The difference between the actual area of the implant and the planned area exceeds the required specifications of the procedure. Therefore, the implantation position of the implant is determined to be inaccurate.
[0058] In a possible implementation, the angle difference between the main axis direction of the first three-dimensional point cloud model and the main axis direction of the second three-dimensional point cloud model is used as an angle difference parameter; the distance between the position of the center of mass of the first three-dimensional point cloud model and the position of the center of mass of the second three-dimensional point cloud model is used as a distance difference parameter; when the distance difference parameter is less than a first set value and the angle difference parameter is less than a second set value, the implantation position of the implant is determined to be accurate. When the distance difference parameter is greater than or equal to the first set value, or the angle difference parameter is greater than or equal to the second set value, the implantation position of the implant is determined to be inaccurate.
[0059] The embodiment of the present application provides an implant position assessment method, the method comprising: determining a first area where the implant is located in a first target image, wherein the first target image is an image obtained after processing a preoperative image or an intraoperative image, and the first area is the planned area of the implant; determining a second area where the implant is located in a second target image, wherein the second target image is an image obtained after processing a postoperative image, and the second area is the real area of the implant; calculating a difference parameter between the first area and the second area; and determining that the implant position is accurate when the difference parameter is less than a set value. In the embodiment of the present application, by comparing the actual area of the implant in the postoperative image with the planned area of the implant in the preoperative or intraoperative image, if the difference parameter is less than a set value, it indicates that the actual position of the implant and the planned position are less different, the implant position is accurate, and the surgical specification requirements can be met, and an accurate assessment of the implant position can be achieved, and the assessment efficiency is improved, and it does not rely on the doctor's experience, so that the assessment of the implant position is more objective and accurate.
[0060] Based on the above embodiments, the present application further optimizes the implant position assessment method. Figure 2 As shown, the implant evaluation method optimized in the embodiment of the present application mainly includes steps S201-S213.
[0061] S201. Acquire a first initial image and a second initial image, wherein the first initial image is a preoperative image or an intraoperative image, and the second initial image is a postoperative image.
[0062] The first initial image is an image generated before or during the operation of the patient. The first initial image includes implant channels and implant areas planned according to corresponding standards according to different surgical procedures. Specifically, the implant is stored in the form of a three-dimensional model, for example, in the form of an STL model.
[0063] The second initial image is an image generated after the patient's surgery, and the second initial image can capture the actual position of the implant after it is implanted into the patient's body.
[0064] Furthermore, after the first initial image and the second initial image are acquired, the first initial image and the second initial image are oriented to make the first initial image and the second initial image oriented in the same direction. For example, the direction of the first initial image or the direction of the second initial image is adjusted so that the direction of the patient's head in the image is in the same direction.
[0065] S202: Binarize the second initial image to extract connected regions of the implant.
[0066] Since the implant is made of non-bone material, generally metal, there is an obvious grayscale difference between the area formed by the implant and the area formed by the bone in the second initial image. The grayscale range of the implant on the second initial image is used as the grayscale threshold. The second initial image is segmented into a binary image using the threshold segmentation technology using the grayscale threshold. The connected region marking algorithm is used to mark the connected region, and the implant region is extracted using the area as the attribute.
[0067] S203: Fill the corresponding area of the connected area in the second initial image with the bone gray value.
[0068] After the connected area of the implant is extracted in S202, the bone grayscale value in the bone area in the second initial image is obtained, and the connected area of the implant is filled with the obtained bone grayscale value. In other words, the grayscale value of the implant area in the second initial image is replaced with the bone grayscale value.
[0069] S204: Acquire a target area corresponding to the first initial image.
[0070] The target area corresponding to the first initial image refers to the area including the entire implant planning area, and the entire implant planning area can be completely included in this area.
[0071] S205: cropping the second initial image according to the size of the target area.
[0072] After the target region is extracted in S204, the second initial image is cropped according to the size and position of the target region to obtain the implant region included in the second initial image.
[0073] S206: Remove artifacts and noise from the first initial image, and perform edge detection and enhancement.
[0074] Specifically, a Gaussian filtering algorithm is used to remove artifacts and noise on the first initial image, and a Canny operator is used to perform edge detection and enhancement.
[0075] Bone edge detection is performed on the first initial image. Specifically, Gaussian filtering is used to remove stripe artifacts and noise on the first initial image, and the Canny operator is used to perform edge detection and enhancement.
[0076] S207: Remove artifacts and noise from the second initial image, and perform edge detection and enhancement.
[0077] Specifically, the Gaussian filtering algorithm is used to remove artifacts and noise on the second initial image, and the Canny operator is used to perform edge detection and enhancement.
[0078] The second initial image is subjected to bone edge detection. Specifically, Gaussian filtering is used to remove stripe artifacts and noise on the second initial image, and the Canny operator is used to perform edge detection and enhancement.
[0079] S208: Using the second initial image as a floating mask and the first initial image as a fixed image to perform elastic calibration to obtain a deformation field.
[0080] In this embodiment, the first initial image and the second initial image are elastically registered. Specifically, the second initial image is used as a floating mask and the first initial image is used as a fixed image for elastic registration. The mean square error is defined as a similarity measure and the gradient descent method is defined as an optimization algorithm to iteratively optimize the elastic deformation field until the mean square error of the intraoperative and postoperative images is minimized to obtain the deformation field.
[0081] S209: Apply the deformation field to the second initial image to obtain a second target image.
[0082] The deformation field obtained in the above embodiment is applied to the second initial image to obtain the second target image.
[0083] S210. Determine a first region where the implant is located in a first target image, wherein the first target image is an image obtained after processing a preoperative image or an intraoperative image, and the first region is a planned region of the implant.
[0084] S211. Determine a second region where the implant is located in a second target image, wherein the second target image is an image obtained after postoperative image processing, and the second region is a real region of the implant.
[0085] S212: Calculate the difference parameter between the first area and the second area.
[0086] S213. When the difference parameter is less than the set value, determine that the implantation position of the implant is accurate.
[0087] S210-S213 provided in the embodiment of the present application has the same execution process as S101-S104 provided in the above embodiment. For details, please refer to the description in the above embodiment, which will not be described in detail in the embodiment of the present application.
[0088] In the embodiment of the present application, pre-processing operations such as image correction, artifact removal, edge detection, edge enhancement, etc. are performed on the postoperative images to improve the accuracy of implant position assessment.
[0089] Figure 3 FIG. 1 is a schematic diagram of the structure of an implant position assessment device in an embodiment of the present application. Figure 3 As shown, the implant position assessment device 30 provided in the embodiment of the present application mainly includes: a first area determination module 31, a second area determination module 32, a difference parameter calculation module 33 and a position accuracy judgment module 34.
[0090] Among them, the first area determination module 31 is used to determine the first area where the implant is located in the first target image, wherein the first target image is an image obtained after preoperative image or intraoperative image processing, and the first area is the planned area of the implant; the second area determination module 32 is used to determine the second area where the implant is located in the second target image, wherein the second target image is an image obtained after postoperative image processing, and the second area is the actual area of the implant; the difference parameter calculation module 33 is used to calculate the difference parameter between the first area and the second area; the position accuracy judgment module 34 is used to determine that the implantation position of the implant is accurate when the difference parameter is less than the set value.
[0091] The embodiment of the present application provides an implant position assessment device, which is used to execute the following process: determine the first area where the implant is located in the first target image, wherein the first target image is an image obtained after processing the preoperative image or the intraoperative image, and the first area is the planned area of the implant; determine the second area where the implant is located in the second target image, wherein the second target image is an image obtained after processing the postoperative image, and the second area is the real area of the implant; calculate the difference parameter between the first area and the second area; when the difference parameter is less than a set value, determine that the implantation position of the implant is accurate. In the embodiment of the present application, by comparing the actual area of the implant in the postoperative image with the planned area of the implant in the preoperative or intraoperative image, if the difference parameter is less than the set value, it indicates that the actual position of the implant and the planned position are slightly different, the implantation position of the implant is accurate, and the requirements of the surgical specifications can be met, and the accurate assessment of the implant position can be achieved, and the assessment efficiency is improved, and it does not rely on the doctor's experience, so that the assessment of the implant position is more objective and accurate.
[0092] In one possible implementation, the first area is represented by a first three-dimensional point cloud model, and the second area is represented by a second three-dimensional point cloud model; the difference parameter calculation module 33 is specifically used to use the distance between the position of the center of mass of the first three-dimensional point cloud model and the position of the center of mass of the second three-dimensional point cloud model as the distance difference parameter; the position accuracy judgment module 34 is specifically used to determine the accuracy of the implantation position of the implant when the distance difference parameter is less than a first set value.
[0093] In one possible implementation, the first area is represented by a first three-dimensional point cloud model, and the second area is represented by a second three-dimensional point cloud model; the difference parameter calculation module 33 is specifically used to use the angle difference between the main axis direction of the first three-dimensional point cloud model and the main axis direction of the second three-dimensional point cloud model as the angle difference parameter; the position accuracy judgment module 34 is specifically used to determine that the implantation position of the implant is accurate when the angle difference parameter is less than a second set value.
[0094] In one possible implementation, the device also includes: an image preprocessing module, used to obtain a first initial image and a second initial image, wherein the first initial image is a preoperative image or an intraoperative image, and the second initial image is a postoperative image; using the second initial image as a floating mask and the first initial image as a fixed image for elastic calibration to obtain a deformation field; applying the deformation field to the second initial image to obtain a second target image.
[0095] In one possible implementation, the image preprocessing module is also used to binarize the second initial image and extract the connected area of the implant before using the first initial image as a floating mask and the second initial image as a fixed image for elastic calibration; and fill the corresponding area of the connected area in the second initial image with the bone grayscale value.
[0096] In a possible implementation, the image preprocessing module is further used to obtain a target area corresponding to the first initial image after filling the corresponding area of the connected area in the second initial image with the bone grayscale value; and to crop the second initial image according to the size of the target area.
[0097] In one possible implementation, the image preprocessing module is also used to remove artifacts and noise on the first initial image, and perform edge detection and enhancement after filling the corresponding area of the connected area in the first initial image with the bone grayscale value; remove artifacts and noise on the second initial image, and perform edge detection and enhancement.
[0098] The implant position assessment device provided in the embodiment of the present application can execute the implant position assessment method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0099] Figure 4 is a schematic diagram of the structure of an electronic device provided in this embodiment. The electronic device may include an implant position assessment device, such as Figure 4 As shown, the electronic device 400 includes a processor 410, a memory 420, an input device 430, and an output device 440; the number of the processor 410 in the electronic device can be one or more. Figure 4 A processor 410 is taken as an example; the processor 410, the memory 420, the input device 430 and the output device 440 in the electronic device can be connected via a bus or other means. Figure 4 The example of connecting through bus is taken in the following.
[0100] The memory 420, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the implant position assessment method in the embodiment of the present invention. The processor 410 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the memory 420, that is, implements the implant position assessment method provided in the embodiment of the present invention.
[0101] The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 420 may further include a memory remotely arranged relative to the processor 410, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0102] The input device 430 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the electronic device, and may include a keyboard, a mouse, etc. The output device 440 may include a display device such as a display screen.
[0103] This embodiment also provides a storage medium containing computer executable instructions, which, when executed by a computer processor, are used to implement the implant position assessment method provided in the embodiment of the present invention.
[0104] Of course, the storage medium containing computer executable instructions provided by an embodiment of the present invention is not limited to the method operations described above, and can also execute related operations in the implant position assessment method provided by any embodiment of the present invention.
[0105] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0106] It is worth noting that in the embodiment of the above-mentioned implant position evaluation device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0107] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0108] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for evaluating implant position, characterized in that: The method comprises: Determine a first region where the implant is located in a first target image, wherein the first target image is an image obtained after preoperative image or intraoperative image processing, and the first region is a planned region of the implant; Determining a second region where the implant is located in a second target image, wherein the second target image is an image obtained after postoperative image processing, and the second region is a real region of the implant; calculating a difference parameter between the first region and the second region; When the difference parameter is smaller than a set value, it is determined that the implantation position of the implant is accurate.
2. The method according to claim 1, characterized in that The first area is represented by a first three-dimensional point cloud model, and the second area is represented by a second three-dimensional point cloud model; Calculating a difference parameter between the first region and the second region includes: taking the distance between the position of the centroid of the first three-dimensional point cloud model and the position of the centroid of the second three-dimensional point cloud model as a distance difference parameter; When the difference parameter is less than a set value, determining that the implantation position of the implant is accurate includes: When the distance difference parameter is less than the first set value, it is determined that the implantation position of the implant is accurate.
3. The method according to claim 1 or 2, characterized in that: The first area is represented by a first three-dimensional point cloud model, and the second area is represented by a second three-dimensional point cloud model; Calculating a difference parameter between the first region and the second region includes: taking the angle difference between the main axis direction of the first three-dimensional point cloud model and the main axis direction of the second three-dimensional point cloud model as an angle difference parameter; When the difference parameter is less than a set value, determining that the implantation position of the implant is accurate includes: When the angle difference parameter is less than a second set value, it is determined that the implantation position of the implant is accurate.
4. The method according to claim 2, characterized in that: The method further comprises: Acquire a first initial image and a second initial image, wherein the first initial image is a preoperative image or an intraoperative image, and the second initial image is a postoperative image; Using the second initial image as a floating mask and the first initial image as a fixed image for elastic calibration to obtain a deformation field; The deformation field is applied to the second initial image to obtain a second target image.
5. The method according to claim 4, characterized in that Before performing elastic calibration using the first initial image as a floating mask and the second initial image as a fixed image, the method further includes: performing binarization processing on the second initial image to extract the connected area of the implant; The corresponding area of the connected area in the second initial image is filled with the bone grayscale value.
6. The method according to claim 5, characterized in that After filling the corresponding area of the connected area in the second initial image with the bone gray value, the method further includes: Acquire a target area corresponding to the first initial image; The second initial image is cropped according to the size of the target area.
7. The method according to claim 6, characterized in that After the second initial image is clipped according to the size of the target area, the method further includes: removing artifacts and noise from the first initial image, and performing edge detection and enhancement; Artifacts and noise on the second initial image are removed, and edge detection and enhancement are performed.
8. An implant position assessment device, characterized in that: The device comprises: A first region determination module is used to determine a first region where the implant is located in a first target image, wherein the first target image is an image obtained after preoperative image or intraoperative image processing, and the first region is a planned region of the implant, A second region determination module, used to determine a second region where the implant is located in a second target image, wherein the second target image is an image obtained after postoperative image processing, and the second region is a real region of the implant; a difference parameter calculation module, used for calculating the difference parameter between the first area and the second area; The position accuracy judgment module is used to determine that the implantation position of the implant is accurate when the difference parameter is less than a set value.
9. An electronic device, characterized in that: The device comprises: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the implant position assessment method as described in any one of claims 1-7.
10. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the implant position assessment method as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Postoperative accuracy measurement method of implant operation
CN110403725A
Data processing method and pose precision verification system
CN112258478A
Guide needle imbedding precision evaluation method
CN112289416A
Oral implant precision evaluation method and system and terminal equipment
CN114642444A
Characteristic network model-based correction method, electronic equipment and medium
CN115330995A
Cited By
Target implantation path determination method and device, electronic equipment and storage medium
CN121196728A
