Method, device and electronic equipment for identifying position information of surgical body surface positioning parts

By combining Fourier enhancement processing and target detection models, 3D point clouds are generated and fitted, which solves the problem of low positioning accuracy of traditional surgical navigation in the chest and abdomen, achieves fast and accurate recognition of surgical body surface positioning information, and improves Ensure the safety and accuracy of puncture surgery.

CN118154857BActive Publication Date: 2024-09-06SUZHOU PNEMED TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410579140.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-11
Publication Date
2024-09-06
Estimated Expiration
2044-05-11

AI Technical Summary

Technical Problem

Traditional surgical navigation methods are difficult to quickly and accurately identify the position information of the surgical body surface positioning components in the soft chest and abdomen, especially in the absence of clear feature points.

Method used

Fourier enhancement is used to process 2D images, combined with a pre-trained target detection model to extract contour data, and a target point cloud is generated based on the 3D depth image. The position information of the surgical body surface positioning parts is identified through fitting and registration processing, and the image is used to The basis loss function and weight function improve the recognition accuracy.

Benefits of technology

It realizes the rapid and accurate identification of the position information of surgical body surface positioning parts in a complex medical environment, improves the accuracy and safety of puncture surgery, and is suitable for thoracoabdominal puncture surgery navigation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118154857B
    Figure CN118154857B
Patent Text Reader

Abstract

The present invention provides a method, device and electronic device for identifying the position information of a surgical body surface locator. The method performs Fourier enhancement processing on a 2D image, and sends the obtained 2D enhanced image to a target detection model to extract contour data. The target point cloud of the surgical body surface locator is obtained based on the contour data and the 3D depth image, and the residual information of each point cloud is obtained by fitting the cloud. The position information of the surgical body surface locator is identified by combining a grapheme loss function and a weight function. This method can make the contour of the surgical body surface locator in the obtained 2D enhanced image clearer by performing Fourier enhancement processing on the 2D image, so that the accuracy of the extracted contour data can be improved through the target detection model, and then the accuracy of the target point cloud can be improved. The residual information corresponding to each point cloud in the target point cloud is processed based on the grapheme loss function and the weight function, so that the position information of the surgical body surface locator can be quickly and accurately identified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a method, a device and an electronic device for identifying position information of a surgical body surface positioning component. Background Art

[0002] In the application of navigation and positioning of the needle entry point on the patient's body surface during thoracic and abdominal puncture surgery, existing puncture surgical robots usually use a positioning method that combines multiple reflective balls with a positioning belt (frame). However, the traditional reflective ball navigation method is difficult to fix and fit the needle entry point on the soft and irregular chest and abdomen. The existing technology also uses structured light technology for positioning, but the lack of clear feature points on the body surface makes it difficult to identify and locate any needle entry point. Therefore, traditional surgical navigation methods are difficult to quickly and accurately identify the position information of surgical surface positioning parts. Summary of the invention

[0003] The object of the present invention is to provide a method, device and electronic equipment for identifying the position information of a surgical body surface positioning member, so as to quickly and accurately identify the position information of the surgical body surface positioning member.

[0004] The present invention provides a method for identifying position information of a surgical surface locator, the method comprising: obtaining an image to be processed containing the surgical surface locator; wherein the surgical surface locator is used to assist a puncture robot in positioning the patient's chest and abdomen during puncture surgery; the image to be processed comprises: a 2D image and a 3D depth image; Fourier enhancement processing is performed on the 2D image to obtain a 2D enhanced image; the 2D enhanced image is sent to a pre-trained target detection model, and contour data of the surgical surface locator is extracted from the 2D enhanced image through the target detection model; a target point cloud corresponding to the surgical surface locator is obtained based on the contour data and the 3D depth image; a fitting processing is performed on the target point cloud to obtain residual information corresponding to each point cloud in the target point cloud; based on the residual information of each point cloud, as well as a preset graph basis loss function and weight function, the position information of the surgical surface locator is identified.

[0005] Furthermore, the 2D enhanced image is sent to a pre-trained target detection model, and the step of extracting contour data of the surgical surface locator from the 2D enhanced image through the target detection model includes: sending the 2D enhanced image to a pre-trained target detection model, determining a first region of interest from the 2D enhanced image through the target detection model, determining a BLOB region based on the first region of interest, and performing binarization filtering on the BLOB region to extract contour data of the surgical surface locator.

[0006] Furthermore, the step of obtaining a target point cloud corresponding to the surgical surface locator based on the contour data and the 3D depth image includes: determining a mask image based on the contour data; processing the 3D depth image based on the mask image, and determining a second region of interest from the 3D depth image; converting the second region of interest to obtain a first point cloud corresponding to the second region of interest; and denoising the first point cloud to obtain a target point cloud corresponding to the surgical surface locator.

[0007] Furthermore, the shape of the target point cloud is a hollow cone that only includes side surfaces; the step of fitting the target point cloud to obtain the residual information corresponding to each point cloud in the target point cloud includes: fitting the target point cloud according to a preset cone fitting formula to obtain the predicted coordinate value of each point cloud in the target point cloud on the specified coordinate axis; for each point cloud in the target point cloud, determining the residual information corresponding to the point cloud based on the actual coordinate value of the point cloud on the specified coordinate axis and the corresponding predicted coordinate value.

[0008] Furthermore, based on the residual information of each point cloud, and the preset graphene loss function and weight function, the step of identifying the position information of the surgical surface locator includes: determining the first loss corresponding to each point cloud based on the residual information of each point cloud and the preset graphene loss function; determining the first weight corresponding to each point cloud based on the residual information of each point cloud and the preset weight function; performing registration processing on the target point cloud and the preset standard point cloud based on the first loss and first weight corresponding to each point cloud to obtain the registered point cloud; and identifying the position information of the surgical surface locator based on the registered point cloud.

[0009] Furthermore, the graph loss function is as follows:

[0010] ;

[0011] in, Represents the residual information of the point cloud; Residual information The corresponding graph loss function; is the preset threshold; Is the natural base.

[0012] Furthermore, the weight function is as follows:

[0013] ;

[0014] in, Represents the residual information of the point cloud; Residual information The corresponding weight function; is the preset threshold.

[0015] The present invention provides a device for identifying the position information of a surgical surface locator, and the device includes: a first acquisition module, used to acquire an image to be processed containing the surgical surface locator; wherein the surgical surface locator is used to assist a puncture robot in positioning when performing puncture surgery on the chest and abdomen of a patient; the image to be processed includes: a 2D image and a 3D depth image; a first processing module, used to perform Fourier enhancement processing on the 2D image to obtain a 2D enhanced image; an extraction module, used to send the 2D enhanced image to a pre-trained target detection model, and extract the contour data of the surgical surface locator from the 2D enhanced image through the target detection model; a second acquisition module, used to obtain a target point cloud corresponding to the surgical surface locator based on the contour data and the 3D depth image; a second processing module, used to perform fitting processing on the target point cloud to obtain the residual information corresponding to each point cloud in the target point cloud; a determination module, used to identify the position information of the surgical surface locator based on the residual information of each point cloud, as well as a preset graph basis loss function and a weight function.

[0016] An electronic device provided by the present invention includes a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement any of the above-mentioned methods for identifying position information of a surgical body surface positioning component.

[0017] The present invention provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement any of the above-mentioned methods for identifying position information of a surgical body surface locator.

[0018] The method, device and electronic device for identifying the position information of a surgical surface locator provided by the present invention obtain an image to be processed containing the surgical surface locator; wherein the surgical surface locator is used to assist a puncture robot in positioning the patient's chest and abdomen during puncture surgery; the image to be processed includes: a 2D image and a 3D depth image; the 2D image is subjected to Fourier enhancement processing to obtain a 2D enhanced image; the 2D enhanced image is sent to a pre-trained target detection model, and the contour data of the surgical surface locator is extracted from the 2D enhanced image through the target detection model; a target point cloud corresponding to the surgical surface locator is obtained based on the contour data and the 3D depth image; the target point cloud is fitted to obtain the residual information corresponding to each point cloud in the target point cloud; based on the residual information of each point cloud, as well as a preset graph basis loss function and weight function, the position information of the surgical surface locator is identified. This method can make the contours of surgical surface locators in the obtained 2D enhanced image clearer by performing Fourier enhancement processing on the 2D image, so that the accuracy of the extracted contour data can be improved through the target detection model, and then the accuracy of the target point cloud can be improved. The residual information corresponding to each point cloud in the target point cloud is processed based on the graph basis loss function and the weight function, so that the position information of the surgical surface locators can be quickly and accurately identified. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0020] Figure 1 A flow chart of a method for identifying position information of a surgical body surface positioning component provided by an embodiment of the present invention;

[0021] Figure 2 A schematic diagram of a method for identifying position information of a surgical body surface positioning component provided by an embodiment of the present invention;

[0022] Figure 3 A schematic diagram of a method for identifying position information of a surgical body surface positioning component provided by an embodiment of the present invention;

[0023] Figure 4 A schematic diagram of a method for identifying position information of a surgical body surface positioning component provided by an embodiment of the present invention;

[0024] Figure 5 A schematic diagram of a method for identifying position information of a surgical body surface positioning component provided by an embodiment of the present invention;

[0025] Figure 6 A schematic structural diagram of a position information recognition device for a surgical body surface positioning component provided by an embodiment of the present invention;

[0026] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0027] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0028] Thoracotomy puncture ablation is a technique for ablating tumors in vivo by puncturing them. Due to its low trauma, it has become a trend in tumor treatment. If manual puncture is used, even high-level doctors will find it difficult to complete a single puncture to reach the target tissue or organ, considering factors such as force accuracy and in vitro observability, and affected by the learning curve, so a single-needle puncture surgical robot came into being. However, positioning parts are small target objects, that is, the relative scale and absolute scale are relatively small during the actual operation, resulting in the recognition of the location information of small target objects. There are few available features, high positioning accuracy requirements, a small proportion of small targets in existing data sets, unbalanced samples, small target aggregation, network structure and other problems. Although 3D target detection has been widely used in actual scenarios, and with the progress of deep learning technology in point clouds, 3D target detection methods have shown significant progress in effectiveness, but small target object detection is still a challenge in the 3D field.

[0029] In addition, there are the following difficulties in navigating and locating the needle entry point on the patient's body surface during thoracic and abdominal puncture surgery: the traditional reflective ball navigation method is difficult to fix and locate the needle entry point on the soft and irregular chest and abdomen; the structured light technology also lacks clear feature points on the body surface, making it difficult to identify and locate the needle entry point.

[0030] General surgical optical and electromagnetic navigation methods are not suitable for positioning of surface points during thoracic and abdominal puncture. General surgical navigation is the key to path planning for thoracic and abdominal puncture surgery. However, surgical navigation of thoracic and abdominal puncture surgical robots is difficult to perform using traditional surgical navigation methods because the chest and abdomen are smooth and rise and fall with breathing, lacking clear facial features. The positioning of positioning parts is still in the stage of exploration and discussion in the industry and academia, and is also a challenge in the industry. Based on this, an embodiment of the present invention provides a method, device, and electronic device for identifying the position information of surgical surface positioning parts. This technology can be applied to applications that require rapid and accurate identification of the position information of surgical surface positioning parts.

[0031] To facilitate understanding of this embodiment, firstly, a method for identifying position information of a surgical body surface positioning member disclosed in an embodiment of the present invention is introduced. Figure 1 As shown, the method comprises the following steps:

[0032] Step S102, obtaining an image to be processed including a surgical body surface positioning element; wherein the surgical body surface positioning element is used to assist the puncture robot in positioning when performing puncture surgery on the patient's chest and abdomen; the image to be processed includes: a 2D image and a 3D depth image;

[0033] The above-mentioned surgical surface positioning parts are usually 3D small target objects. There are generally two definition methods for 3D small target objects: Method (1) Based on relative scale: ① The ratio of the width and height of the target bounding box to the width and height of the image is less than a certain value, and the more common ratio value is 0.1; ② The square root of the ratio of the target bounding box area to the image area is less than a certain value, and the more common value is 0.03; ③ The small target is defined based on the ratio between the actual coverage pixels of the target and the total pixels of the image. Method (2) Based on absolute scale: The most common definition currently comes from the general data in the field of target detection - MS COCO (Microsoft Common Objects in Context) dataset, which defines small targets as targets with a resolution less than 32 pixels × 32 pixels.

[0034] The above-mentioned surgical body surface positioning parts can assist the puncture robot in determining the position and direction of reaching the target tissue or organ during percutaneous puncture, so as to improve the accuracy and safety of percutaneous puncture. In actual implementation, when it is necessary to determine the position information of the surgical body surface positioning parts, the image to be processed containing the surgical body surface positioning parts can be obtained first. In this embodiment, the surgical body surface positioning parts are made of white and ceramic materials, so that they can be well imaged under CT (Computed Tomography, electronic computer tomography), and have excellent color optical recognition and tomography imaging recognition performance, and can fit the human body surface well, which is helpful for accurate positioning in the body surface environment; the above-mentioned image to be processed usually needs to include 2D images and 3D depth images; the 2D image can be a grayscale image, etc.; the brightness or color of each pixel in the 3D depth image usually represents the distance from the pixel to the imaging device.

[0035] Step S104, performing Fourier enhancement processing on the 2D image to obtain a 2D enhanced image;

[0036] In actual implementation, the acquired 2D image can be subjected to Fourier enhancement processing to make the outlines of small objects in the 2D image clearer, thereby obtaining a 2D enhanced image.

[0037] Step S106, sending the 2D enhanced image to a pre-trained target detection model, and extracting contour data of the surgical body surface positioning component from the 2D enhanced image through the target detection model;

[0038] In actual implementation, the acquired 2D enhanced image can be input into a pre-trained target detection model, and the 2D enhanced image can be processed by the target detection model to extract the contour data of the surgical body surface locator in the 2D enhanced image.

[0039] The following is an explanation of the training process of the target detection model. The target detection model can be trained through the following process:

[0040] 1. Obtain a sample image containing a target object. The sample image is pre-marked with standard contour information of the target object. The sample image is usually a 2D image, such as a grayscale image, and the target object is usually a small target object.

[0041] 2. Perform Fourier enhancement on the sample image to obtain an enhanced image. For example, the sample image can be randomly flipped, rotated, and scaled, where the flip probability can be set to 0.5, the rotation angle range can be uniformly distributed from [−π / 2, π / 2], the scaling ratio can be between [0.95, 1.05], the position translation (x, y, z) mean can be 0, and the standard deviation can be [0.2, 0.2, 0.2], etc.;

[0042] 3. The sample image and the enhanced image can be combined into a hybrid enhanced data set, and the hybrid enhanced data set is input into the initial detection model. The ROI (Region of Interest) area of ​​the hybrid enhanced data set is extracted through the initial network model. The ROI area is the region of interest in the 2D state. The area is cut out and a BLOB (Binary Large Objects, indicating a connected area composed of foreground pixels with the same gray value) operation is performed on the area. After operations such as binary filtering, the predicted contour information of the target object in the hybrid enhanced data set is output;

[0043] 4. Determine the loss value based on the predicted contour information and the corresponding standard contour information to train the initial network model until the loss value converges to obtain a trained target detection model.

[0044] Step S108, obtaining a target point cloud corresponding to the surgical body surface positioning component based on the contour data and the 3D depth image;

[0045] For example, the above-mentioned contour data can be processed to obtain a mask image, and then the mask image can be used to cut the 3D depth image and other processes to obtain the target point cloud corresponding to the surgical body surface positioning component.

[0046] Step S110, performing fitting processing on the target point cloud to obtain residual information corresponding to each point cloud in the target point cloud;

[0047] The above residual information can be used to indicate the difference between the actual coordinate value and the predicted coordinate value of each point cloud. In actual implementation, the target point cloud can be fitted based on the RANSAC (Random Sample Consensus) algorithm to obtain the residual information corresponding to each point cloud.

[0048] Step S112, based on the residual information of each point cloud, and the preset graph-based loss function and weight function, identify the position information of the surgical body surface positioning component.

[0049] The above-mentioned Tukey loss function can be used to calculate the loss value of the residual information of each point cloud, and the weight function can be used to calculate the weight of the residual information of each point cloud; the weight function is usually the derivative of the Tukey loss function with respect to the residual information; the above-mentioned Tukey loss function is usually designed to reduce the weight of large residuals in the total loss to improve the robustness to outliers; in actual implementation, after determining the residual information of each point cloud, the position information of the surgical surface locator can be determined according to the preset Tukey loss function and weight function. The position information may include: the coordinate value of the center point of the surgical surface locator, etc., and the insertion point of the puncture needle can be determined based on the position information.

[0050] The above-mentioned method for identifying the position information of the surgical surface locator obtains an image to be processed that contains the surgical surface locator; wherein the surgical surface locator is used to assist the puncture robot in positioning when performing puncture surgery on the patient's chest and abdomen; the image to be processed includes: a 2D image and a 3D depth image; the 2D image is subjected to Fourier enhancement processing to obtain a 2D enhanced image; the 2D enhanced image is sent to a pre-trained target detection model, and the contour data of the surgical surface locator is extracted from the 2D enhanced image through the target detection model; based on the contour data and the 3D depth image, a target point cloud corresponding to the surgical surface locator is obtained; the target point cloud is fitted to obtain the residual information corresponding to each point cloud in the target point cloud; based on the residual information of each point cloud, as well as a preset graph basis loss function and weight function, the position information of the surgical surface locator is identified. This method can make the contours of surgical surface locators in the obtained 2D enhanced image clearer by performing Fourier enhancement processing on the 2D image, so that the accuracy of the extracted contour data can be improved through the target detection model, and then the accuracy of the target point cloud can be improved. The residual information corresponding to each point cloud in the target point cloud is processed based on the graph basis loss function and the weight function, so that the position information of the surgical surface locators can be quickly and accurately identified.

[0051] The embodiment of the present invention further provides another method for identifying the position information of a surgical body surface positioning component. The method is implemented on the basis of the method of the above embodiment. In the method, the shape of the target point cloud is a hollow frustum containing only the side surface; the frustum can also be called a truncated cone, which can be understood as a geometric shape formed by cutting off a section of a cone. It is defined by two parallel planes intersecting the cone to form a smaller top circle and a larger bottom circle. It can also be understood as using a plane parallel to the bottom surface of the cone to cut off the cone, and the part between the bottom surface and the cross section is called a frustum; the frustum is hollow and has no top surface and bottom surface, that is, the shape of the target point cloud only corresponds to the side surface of the frustum; the method comprises the following steps:

[0052] Step 1, obtaining an image to be processed containing a surgical body surface positioning part; wherein the surgical body surface positioning part is used to assist the puncture robot in positioning when performing puncture surgery on the patient's chest and abdomen; the image to be processed includes: a 2D image and a 3D depth image;

[0053] Step 2, performing Fourier enhancement processing on the 2D image to obtain a 2D enhanced image;

[0054] Step 3: Send the 2D enhanced image to a pre-trained target detection model, determine a first region of interest from the 2D enhanced image through the target detection model, determine a BLOB region based on the first region of interest, and perform binary filtering on the BLOB region to extract contour data of the surgical body surface positioning component;

[0055] The first region of interest can be understood as the region to be processed in the 2D enhanced image; the BLOB region can be understood as a connected region in the first region of interest. Through BLOB analysis, the connected domain can be extracted and marked for the binary image after foreground / background separation; when the BLOB region is binarized and filtered, a threshold can be set first, and the pixels with gray values ​​greater than the threshold in the image corresponding to the BLOB region are set to white, and the pixels with gray values ​​less than or equal to the threshold are set to black. In this way, the processed image has only black and white colors, which is more convenient for image analysis and processing. After binarization filtering, since the positioning piece in this embodiment is white and made of ceramic material, the contour data of the surgical body surface positioning piece can be extracted.

[0056] Step 3, determining a mask image based on the contour data;

[0057] In actual implementation, an empty array with the same size as the image can be made according to the image size of the 3D depth image, and the contour data can be combined with the empty array to form a mask image; the empty array can be understood as a matrix or a pure black image, and the mask image is an image with only the contour of the positioning piece and a pure black background. Since the positioning piece is white, the grayscale value is above 125, and the grayscale values ​​of the background and noise are below 125. By traversing, the grayscale value above 125 is the image of the positioning piece, which needs to be retained, and the noise and background are removed. The grayscale value of the contour is defined as 255 or 1 for subsequent processing.

[0058] Step 4: Processing the 3D depth image based on the mask image, and determining a second region of interest from the 3D depth image;

[0059] By using the mask image to correspond to the cropped 3D depth image, the second region of interest can be obtained; in actual implementation, the mask image can correspond to a multidimensional array, and the 3D depth image corresponds to another multidimensional array. The multidimensional array corresponding to the mask image is multiplied by the multidimensional array corresponding to the 3D depth image, so that the above-mentioned second region of interest can be determined from the 3D depth image; that is, in the 3D depth image, only the second region of interest is retained, and other regions except the second region of interest are deleted.

[0060] Step 5, converting the second region of interest to obtain a first point cloud corresponding to the second region of interest;

[0061] The second region of interest may be converted into a point cloud form by projection transformation or the like, thereby obtaining a corresponding first point cloud.

[0062] Step six, denoising the first point cloud to obtain the target point cloud corresponding to the surgical body surface positioning component.

[0063] Information such as background and noise environment is removed from the first point cloud to obtain a target point cloud. For example, denoising can be performed by aligning and comparing the shape of the first point cloud with the shape of a preset standard point cloud.

[0064] Step 7: Fit the target point cloud according to the preset cone fitting formula to obtain the predicted coordinate value of each point cloud on the specified coordinate axis in the target point cloud;

[0065] The above-mentioned specified coordinate axis usually refers to the z-axis; since the shape of the target point cloud is a hollow frustum containing only the side surfaces, the cone fitting formula can be used to fit the target point cloud. Specifically, the cone fitting formula can be expressed as follows:

[0066] ;

[0067] in,(x 0, y 0, z 0) is the vertex of the truncated cone, which can be understood as the center point of the smaller top circle of the truncated cone. x , y , z ) is each point cloud in the target point cloud, θ is the opening angle of the frustum;

[0068] The following is an explanation of the geometric characteristics of the cone. x 0, y 0, z 0) is the vertex of a cone with its axis aligned with the z-axis. Any point on its surface ( x , y , z ), satisfying the above relationship, where the numerator is the point ( x , y , z ) is the horizontal distance from the point to the vertex of the cone on the xy plane, and the denominator is the vertical distance from the point to the vertex. tan(θ) is the tangent of the opening angle of the cone.

[0069] Based on the above formula, the formula can be rearranged to calculate the theoretical z coordinate:

[0070] The pseudo code is as follows:

[0071] #Calculate the theoretical z using the cone equationtan:

[0072] Tan_theta = np.tan(theta)

[0073] Theoretical_z =z0 +np.sqrt((x- ×0)**2+(y - y0)**2) / tan_theta

[0074] Here, theoretical_z is the z coordinate value predicted by the frustum model, that is, the predicted coordinate value of each point cloud on the z axis.

[0075] Step 8: for each point cloud in the target point cloud, according to the actual coordinate value of the point cloud on the specified coordinate axis and the corresponding predicted coordinate value, determine the residual information corresponding to the point cloud;

[0076] The above residual information is the difference between the actual coordinate value and the predicted coordinate value of each point cloud on the z-axis in the actual point cloud data. During the optimization process, the goal is to minimize the sum of squares of these residual information of all point clouds.

[0077] Step nine, determining the first loss corresponding to each point cloud based on the residual information of each point cloud and a preset graph-based loss function;

[0078] When there is noise or the shape of the acquired target point cloud is irregular, in order to improve stability, the graph loss can be used for registration, which has a good robust effect and can output stable results for the point cloud registration method. The above graph loss function is as follows:

[0079] .

[0080] in, Represents the residual information of the point cloud; Residual information The corresponding graph loss function; is the preset threshold; Is the natural base.

[0081] Tukey loss function In the residual information Less than or equal to threshold , the shape is similar to the squared loss, but when the residual information The absolute value of When the growth rate slows down and exceeds the threshold This design reduces the weight of large residuals in the total loss, thereby improving the robustness to outliers.

[0082] Step ten, determining a first weight corresponding to each point cloud based on the residual information of each point cloud and a preset weight function;

[0083] The above weight function is as follows:

[0084] .

[0085] in, Represents the residual information of the point cloud; Residual information The corresponding weight function; is the preset threshold.

[0086] Weight function is the loss function Residual information The derivative of is used to adjust the influence of each data point in the iterative optimization process. Less than or equal to threshold When the residual information is greater than the threshold, the weight decreases as the residual information increases; when the residual information is greater than the threshold When , the weight is zero, that is, these possible outliers are ignored, which helps the optimization process focus more on data points that meet the model.

[0087] Step eleven, based on the first loss and the first weight corresponding to each point cloud, the target point cloud and the preset standard point cloud are registered to obtain a registered point cloud;

[0088] Normals can be calculated for the target point cloud and the preset standard point cloud using the estimated normal vector method, which is necessary for the point-to-plane ICP (Iterative Closest Point) alignment. The initial alignment can use the identity matrix np.eye(4) as the initial transformation, where the np.eye() function is used to generate a diagonal matrix. This means that the preset standard point cloud and the target point cloud are aligned without any rotation or translation. Use the point-to-plane ICP alignment method to perform an initial alignment of the preset standard point cloud and the target point cloud, apply the resulting transformation to a copy of the preset standard point cloud and display the result, and then use the ICP method based on the Tukey loss function to align. The Tukey loss function is a robust loss function that is not very sensitive to outliers and works well for data containing noise or outliers.

[0089] Step 12: Identify the position information of the surgical body surface positioning component based on the registered point cloud.

[0090] Based on the aligned point cloud, the position information of the surgical body surface positioning component can be determined. For example, the center point of the smaller top circle of the hollow cone corresponding to the aligned point cloud can be calculated, and the coordinates of the center point can be determined as the center point coordinate value of the positioning component. Based on the center point coordinate value, the insertion point of the puncture needle can be determined.

[0091] For easier understanding, see Figure 2 A schematic diagram of a method for identifying position information of a surgical body surface positioning component is shown, and Figure 3 FIG. 1 is a schematic diagram of a method for identifying the position information of a surgical body surface positioning component, in which a 2D grayscale image and a 3D depth image are collected, and the two have the same size and mapping relationship, such as Figure 2The upper image on the left is a 2D grayscale image, and the lower image on the left is a 3D depth image. The 2D grayscale image is Fourier enhanced to obtain a 2D enhanced image. The contour of the surgical surface locator in the 2D enhanced image is clearer. The 2D enhanced image is input into a trained single-stage 2D target detector (corresponding to the above-mentioned target detection model), and the 2D object region of interest (corresponding to the above-mentioned first region of interest) can be extracted. The BLOB analysis of the 2D object region of interest is performed to obtain a contour mask (corresponding to the above-mentioned mask image), and the 3D depth image is processed based on the mask image to determine the second region of interest from the 3D depth image; based on the second region of interest, a contour point cloud (corresponding to the above-mentioned target point cloud) is obtained, and based on the graph-based loss function and the weight function, the target point cloud and the preset standard point cloud are registered, and the stable and high-precision position information of the surgical surface locator can be identified.

[0092] In the process of training the target detection model, the sample image is Fourier transformed to increase the data set, and together with the unenhanced data set, it forms a mixed enhanced data set, which is trained together in the initial detection model to obtain a trained target detection model. The target detection model obtained through training can infer 2D grayscale images and generate 2D object regions of interest.

[0093] See also Figure 4 A schematic diagram of a method for identifying position information of a surgical body surface locator is shown. The input image is enhanced to obtain a mixed Fourier enhanced data set, which is trained in a target detection network and outputs a contour. A mask image is determined based on the contour, and the mask image is used to correspond to a cropped depth map. After conversion processing, a ROI point cloud is obtained. Through shape fitting and robust ICP processing, high-precision and stable position information of the locator can be calculated.

[0094] like Figure 5 The schematic diagram of a method for identifying the position information of a surgical body surface locator is shown. In the input 2D image, the size of the surgical body surface locator is small. After processing, the ROI area containing the surgical body surface locator (corresponding to the above-mentioned first region of interest) is obtained, the region is cut out, and the BLOB operation is performed on the region. The contour is extracted after filtering binarization and other operations to form a mask image. The mask image is used to correspondingly cut the 3D depth map to obtain the second region of interest; this second region of interest is converted into a point cloud form to obtain a target point cloud. The target point cloud is registered with the preset standard point cloud to obtain the registered point cloud. Based on the registered point cloud, the position information of the surgical body surface locator with low interference, high precision and high stability can be obtained.

[0095] This solution adds a registration process to improve accuracy. Because the registration is extracted from a preset standard point cloud template and combined with the effect of graph basis loss, it has less impact on noise. In other words, the position information of the surgical surface locator can be extracted only through the fitting process. However, in order to prevent problems such as increased errors and unstable recognition, the registration process is added. If the error of the position information of the identified surgical surface locator is greater than the preset error threshold after the fitting process and the registration process, the process is exited to ensure that the position information of the surgical surface locator is accurately positioned each time with a small error.

[0096] Tukey loss is applied to the registration process, and the residual information of the point cloud is obtained through the fitting process of the target point cloud. This scheme combines the registration process with the fitting process. Compared with the method of using one of the processes alone, this method of combining the two processes can achieve stable recognition and more accurate extraction of the position information of surgical surface locators.

[0097] The above-mentioned method for identifying the position information of surgical surface positioning parts is a multimodal point cloud refinement method for 3D small target detection, which can be particularly applied to the precise positioning of medical markers. This method not only has high positioning accuracy, but also fast positioning speed. In the application of medical surgical navigation surface positioning, this method is more suitable for the positioning of needle insertion on the lesion surface. This method combines fast Fourier transform and single-step target detection network and point cloud technology, which effectively improves the accuracy and stability of identifying the position information of small targets in complex medical environments. Through detailed experiments and analysis, the practicality and effectiveness of this method in medical surgical navigation have been proved.

[0098] This method can fit the body surface to locate any sub-micrometer needle entry point. In the future, it can be applied to the surface positioning of puncture ablation in diversified surgical scenarios. As a new method in the field of surgical navigation, it has positive significance for the puncture ablation surgical navigation of tumors. In summary, this method provides an effective method for 3D small target detection in surgical navigation, and makes positive and meaningful explorations to improve the safety and accuracy of thoracic and abdominal surgical navigation.

[0099] The embodiment of the present invention provides a device for identifying the position information of a surgical body surface positioning member, such as Figure 6As shown, the device includes: a first acquisition module 60, which is used to acquire an image to be processed containing a surgical surface locator; wherein the surgical surface locator is used to assist the puncture robot in positioning when performing puncture surgery on the patient's chest and abdomen; the image to be processed includes: a 2D image and a 3D depth image; a first processing module 61, which is used to perform Fourier enhancement processing on the 2D image to obtain a 2D enhanced image; an extraction module 62, which is used to send the 2D enhanced image to a pre-trained target detection model, and extract the contour data of the surgical surface locator from the 2D enhanced image through the target detection model; a second acquisition module 63, which is used to obtain a target point cloud corresponding to the surgical surface locator based on the contour data and the 3D depth image; a second processing module 64, which is used to perform fitting processing on the target point cloud to obtain the residual information corresponding to each point cloud in the target point cloud; a determination module 65, which is used to identify the position information of the surgical surface locator based on the residual information of each point cloud, as well as a preset graph basis loss function and a weight function.

[0100] The above-mentioned surgical body surface locator position information identification device can make the contour of the surgical body surface locator in the obtained 2D enhanced image clearer by performing Fourier enhancement processing on the 2D image, so that the accuracy of the extracted contour data can be improved through the target detection model, and then the accuracy of the target point cloud can be improved. The residual information corresponding to each point cloud in the target point cloud is processed based on the graph basis loss function and the weight function, so that the position information of the surgical body surface locator can be quickly and accurately identified.

[0101] Furthermore, the 2D enhanced image is sent to a pre-trained target detection model, and the step of extracting contour data of the surgical surface locator from the 2D enhanced image through the target detection model includes: sending the 2D enhanced image to a pre-trained target detection model, determining a first region of interest from the 2D enhanced image through the target detection model, determining a BLOB region based on the first region of interest, and performing binarization filtering on the BLOB region to extract contour data of the surgical surface locator.

[0102] Furthermore, the step of obtaining a target point cloud corresponding to the surgical surface locator based on the contour data and the 3D depth image includes: determining a mask image based on the contour data; processing the 3D depth image based on the mask image, and determining a second region of interest from the 3D depth image; converting the second region of interest to obtain a first point cloud corresponding to the second region of interest; and denoising the first point cloud to obtain a target point cloud corresponding to the surgical surface locator.

[0103] Furthermore, the shape of the target point cloud is a hollow cone that only includes side surfaces; the step of fitting the target point cloud to obtain the residual information corresponding to each point cloud in the target point cloud includes: fitting the target point cloud according to a preset cone fitting formula to obtain the predicted coordinate value of each point cloud in the target point cloud on the specified coordinate axis; for each point cloud in the target point cloud, determining the residual information corresponding to the point cloud based on the actual coordinate value of the point cloud on the specified coordinate axis and the corresponding predicted coordinate value.

[0104] Furthermore, based on the residual information of each point cloud, and the preset graphene loss function and weight function, the step of identifying the position information of the surgical surface locator includes: determining the first loss corresponding to each point cloud based on the residual information of each point cloud and the preset graphene loss function; determining the first weight corresponding to each point cloud based on the residual information of each point cloud and the preset weight function; performing registration processing on the target point cloud and the preset standard point cloud based on the first loss and first weight corresponding to each point cloud to obtain the registered point cloud; and identifying the position information of the surgical surface locator based on the registered point cloud.

[0105] Furthermore, the graph loss function is as follows:

[0106] ;

[0107] in, Represents the residual information of the point cloud; Residual information The corresponding graph loss function; is the preset threshold; Is the natural base.

[0108] Furthermore, the weight function is as follows:

[0109] ;

[0110] in, Represents the residual information of the point cloud; Residual information The corresponding weight function; is the preset threshold.

[0111] The implementation principle and technical effects of the device for identifying the position information of a surgical body surface locator provided in the embodiment of the present invention are the same as those of the aforementioned embodiment of the method for identifying the position information of a surgical body surface locator. For the sake of brief description, for matters not mentioned in the embodiment of the device for identifying the position information of a surgical body surface locator, reference may be made to the corresponding contents in the aforementioned embodiment of the method for identifying the position information of a surgical body surface locator.

[0112] The embodiment of the present invention further provides an electronic device, see Figure 7As shown, the electronic device includes a processor 130 and a memory 131. The memory 131 stores machine executable instructions that can be executed by the processor 130. The processor 130 executes the machine executable instructions to implement the above-mentioned method for identifying the position information of the surgical body surface positioning component.

[0113] Further, Figure 7 The electronic device shown further includes a bus 132 and a communication interface 133 , and the processor 130 , the communication interface 133 and the memory 131 are connected via the bus 132 .

[0114] The memory 131 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 133 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 132 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0115] The processor 130 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 130. The above processor 130 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 131, and the processor 130 reads the information in the memory 131 and completes the steps of the method of the above embodiment in combination with its hardware.

[0116] An embodiment of the present invention also provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the above-mentioned method for identifying the position information of the surgical body surface locating component. The specific implementation can be found in the method embodiment, which will not be repeated here.

[0117] The computer program product of the method, device and electronic device for identifying the position information of a surgical body surface locator provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be found in the method embodiments and will not be repeated here.

[0118] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0119] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for identifying position information of a surgical body surface positioning component, It is characterized in that The method comprises: Acquire an image to be processed containing a surgical body surface positioning element; wherein the surgical body surface positioning element is used to assist a puncture robot in positioning when performing a puncture operation on a patient's chest or abdomen; the image to be processed includes: a 2D image and a 3D depth image; Performing Fourier enhancement processing on the 2D image to obtain a 2D enhanced image; Sending the 2D enhanced image to a pre-trained target detection model, and extracting contour data of the surgical body surface positioning component from the 2D enhanced image through the target detection model; Obtaining a target point cloud corresponding to the surgical body surface positioning component based on the contour data and the 3D depth image; Performing fitting processing on the target point cloud to obtain residual information corresponding to each point cloud in the target point cloud; Based on the residual information of each point cloud, and a preset graph-based loss function and a weight function, the position information of the surgical body surface positioning component is identified; The step of sending the 2D enhanced image to a pre-trained target detection model and extracting the contour data of the surgical body surface positioning component from the 2D enhanced image by using the target detection model comprises: The 2D enhanced image is sent to a pre-trained target detection model, a first region of interest is determined from the 2D enhanced image by the target detection model, a BLOB region is determined based on the first region of interest, and a binary filtering is performed on the BLOB region to extract contour data of the surgical body surface positioning component; The step of obtaining a target point cloud corresponding to the surgical body surface positioning component based on the contour data and the 3D depth image comprises: determining a mask map based on the contour data; Processing the 3D depth image based on the mask image to determine a second region of interest from the 3D depth image; Performing conversion processing on the second region of interest to obtain a first point cloud corresponding to the second region of interest; The first point cloud is denoised to obtain a target point cloud corresponding to the surgical body surface positioning component.

2. The method according to claim 1, It is characterized in that The shape of the target point cloud is a hollow frustum containing only the side surfaces; The step of performing fitting processing on the target point cloud to obtain residual information corresponding to each point cloud in the target point cloud includes: The target point cloud is fitted according to a preset cone fitting formula to obtain the predicted coordinate value of each point cloud in the target point cloud on the specified coordinate axis; For each point cloud in the target point cloud, residual information corresponding to the point cloud is determined according to the actual coordinate value of the point cloud on the specified coordinate axis and the corresponding predicted coordinate value.

3. The method according to claim 1, It is characterized in that Based on the residual information of each point cloud, and the preset graph-based loss function and weight function, the step of identifying the position information of the surgical body surface positioning component includes: Based on the residual information of each point cloud and the preset graph-based loss function, determine the first loss corresponding to each point cloud; Determine a first weight corresponding to each point cloud based on the residual information of each point cloud and a preset weight function; Based on the first loss and the first weight corresponding to each point cloud, the target point cloud and the preset standard point cloud are registered to obtain a registered point cloud; Based on the registered point cloud, position information of the surgical body surface positioning component is identified.

4. The method according to claim 3, It is characterized in that The graph loss function is as follows: ; in, Represents the residual information of the point cloud; Residual information The corresponding graph loss function; is the preset threshold; Is the natural base.

5. The method according to claim 3, It is characterized in that The weight function is as follows: ; in, Represents the residual information of the point cloud; Residual information The corresponding weight function; is the preset threshold.

6. A device for identifying the position information of a surgical body surface positioning component, It is characterized in that The device comprises: A first acquisition module is used to acquire an image to be processed that includes a surgical body surface positioning element; wherein the surgical body surface positioning element is used to assist the puncture robot in positioning when performing a puncture operation on the chest and abdomen of a patient; the image to be processed includes: a 2D image and a 3D depth image; A first processing module, configured to perform Fourier enhancement processing on the 2D image to obtain a 2D enhanced image; An extraction module, used for sending the 2D enhanced image to a pre-trained target detection model, and extracting the contour data of the surgical body surface positioning component from the 2D enhanced image through the target detection model; A second acquisition module, configured to obtain a target point cloud corresponding to the surgical body surface positioning component based on the contour data and the 3D depth image; A second processing module is used to perform fitting processing on the target point cloud to obtain residual information corresponding to each point cloud in the target point cloud; A determination module, used to identify the position information of the surgical body surface positioning component based on the residual information of each point cloud, and a preset graph-based loss function and a weight function; The extraction module is also used for: The 2D enhanced image is sent to a pre-trained target detection model, a first region of interest is determined from the 2D enhanced image by the target detection model, a BLOB region is determined based on the first region of interest, and a binary filtering is performed on the BLOB region to extract contour data of the surgical body surface positioning component; The second acquisition module is also used for: determining a mask map based on the contour data; Processing the 3D depth image based on the mask image to determine a second region of interest from the 3D depth image; Performing conversion processing on the second region of interest to obtain a first point cloud corresponding to the second region of interest; The first point cloud is denoised to obtain a target point cloud corresponding to the surgical body surface positioning component.

7. An electronic device, It is characterized in that It comprises a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the position information recognition method of a surgical body surface positioning component according to any one of claims 1-5.

8. A machine-readable storage medium, It is characterized in that The machine-readable storage medium stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the method for identifying position information of a surgical body surface positioning component according to any one of claims 1 to 5.