Puncture angle determination method, apparatus, device, and storage medium
By performing a quadratic surface mathematical model of the outer surface of the skull and fitting an ellipsoidal surface using CT scan image sequences, the drilling direction and target puncture angle are automatically calculated. This solves the problem that surgical robots cannot automatically calculate the skull puncture angle, thus improving the intelligence and safety of the surgery.
Patent Information
- Application Number
- CN202310146906.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-21
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-02-21
AI Technical Summary
In existing technologies, surgical robots cannot automatically calculate the skull puncture angle, resulting in insufficient human-computer interaction and inability to achieve intelligent operation. Furthermore, the limited drilling angle by manual drilling can easily lead to bone fracture or slippage.
By acquiring skull images, performing quadratic surface mathematical modeling, fitting the outer surface of the skull using CT scan image sequences, calculating the puncture angle between the drilling location and the target lesion, and using the least squares method to fit the ellipsoid, the target puncture angle is automatically calculated.
It enables automatic and precise calculation of the drilling direction and the target puncture angle on the outer surface of the skull, expands the range of puncture angles, improves the intelligence of the surgical robot, reduces the risk of unreasonable drilling positions, and improves surgical safety.
Smart Images

Figure CN116386880B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of medical imaging technology, and in particular relates to a method, device, equipment and storage medium for determining the puncture angle. Background Technology
[0002] Skull puncture is a routine procedure for draining cerebral hemorrhage and for biopsies in pathological studies of brain tumors. Its difficulty and risk are relatively higher than other parts of the body. The core procedure is drilling a hole in the skull. Currently, the most common method is manual drilling. Manual drilling has relatively limited angles; it must be performed as perpendicularly to the bone surface as possible to avoid slipping, injuring the skin, or causing bone fractures. Some hospitals have introduced surgical robots to assist drilling, which has somewhat relaxed the limitations on angles for manual drilling. The average bone thickness in adults is approximately 5mm. The puncture angle needs to be determined by the surgeon's experience, considering the relative proportion between the hole size and bone thickness, to identify the optimal point on the skull and the best angle for drilling.
[0003] However, the introduction of surgical robots merely replaces manual mechanical operations; it lacks the capability to automatically calculate, in real-time, the angle between the drill point on the skull and the lesion. While experienced surgeons can perform these procedures, manual drilling is limited to angles perpendicular to the bone surface. Robots offer wider puncture angles, but they cannot automatically calculate these angles. This results in insufficient human-machine interaction, preventing surgical robots from achieving truly intelligent operation. Summary of the Invention
[0004] This application aims to at least partially address one of the technical problems in the related art. Therefore, one objective of this application is to provide a method, apparatus, device, and storage medium for determining the puncture angle.
[0005] To address the aforementioned technical problems, embodiments of this application provide the following technical solutions:
[0006] A method for determining the puncture angle includes:
[0007] Obtain the original skull image, and obtain the outer surface of the skull based on the original skull image;
[0008] Pre-determine drilling locations on the outer surface of the skull, and determine the target curved surface based on the drilling locations;
[0009] Based on the target expression of the target surface and the drilling position, the normal vector of the target surface is determined;
[0010] Obtain the puncture vector, and calculate the target puncture angle based on the puncture vector and the normal vector of the target surface.
[0011] Optionally, the step of pre-setting drilling positions on the outer surface of the skull and determining the target surface based on the drilling positions includes:
[0012] On the outer surface of the skull, points within the target distance range of the drill hole location are selected to determine the target coordinate point set;
[0013] The target surface is obtained based on the target coordinate point set.
[0014] Optionally, determining the target expression of the target surface and the drilling location includes:
[0015] The target surface is approximated to obtain multiple parameters to be determined;
[0016] Calculate multiple parameters to be determined to obtain multiple target parameters;
[0017] The target expression for determining the borehole location based on multiple target parameters.
[0018] Optionally, the calculation of multiple parameters to be determined to obtain multiple target parameters includes:
[0019] Obtain the target coordinate point set;
[0020] The target surface is fitted based on the target coordinate point set to obtain multiple target parameters.
[0021] Optionally, the fitting process of the target surface based on the target coordinate point set to obtain multiple target parameters includes:
[0022] Calculate the initial error for each of the target coordinate points;
[0023] Based on the initial error of each of the target coordinate points, the target error of the target coordinate point set is calculated;
[0024] The target error is processed to obtain multiple target parameters.
[0025] Optionally, determining the normal vector of the target surface based on the target expression of the target surface and the drilling position includes:
[0026] Based on the target expression and the drilling location, determine the tangent equation of the target surface;
[0027] Based on the tangent equation of the target surface, the normal vector of the target surface is determined.
[0028] Optionally, obtaining the puncture vector and calculating the target puncture angle based on the puncture vector and the normal vector of the target surface includes:
[0029] The location of the target lesion is obtained, and the puncture vector is obtained based on the location of the target lesion and the drilling location;
[0030] The target puncture angle is obtained by calculating the angle between the puncture vector and the normal vector; wherein, the range of the target puncture angle is...
[0031] Embodiments of this application also provide a puncture angle determination device, comprising:
[0032] An acquisition module is used to acquire an original skull image and obtain the outer surface of the skull based on the original skull image;
[0033] The first determining module is used to preset drilling positions on the outer surface of the skull and determine the target surface based on the drilling positions;
[0034] The second determining module is used to determine the normal vector of the target surface based on the target expression of the target surface and the drilling position;
[0035] The calculation module is used to obtain the puncture vector and calculate the target puncture angle based on the puncture vector and the normal vector of the target surface.
[0036] Embodiments of this application also provide an electronic device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the method described above.
[0037] Embodiments of this application also provide a computer-readable storage medium, the computer-readable storage medium including a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the method described above.
[0038] The embodiments of this application have the following technical effects:
[0039] The above-mentioned technical solution of this application performs quadratic surface mathematical modeling on the outer surface of the skull on CT scan image sequence. Assuming that the location of the target lesion is known, when the drilling location is determined and the target lesion location is punctured based on the drilling location, the drilling direction and the target puncture angle on the outer surface of the skull can be automatically and accurately calculated. This expands the range of angles for skull surface puncture, improves the intelligence of the surgical robot, and has very important guiding significance for clinical operation. At the same time, it can also eliminate unreasonable drilling locations, so that patients can better benefit from neurosurgery.
[0040] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0041] Figure 1 This is a flowchart illustrating a method for determining the puncture angle provided in an embodiment of this application;
[0042] Figure 2 This is a schematic diagram of a skull region provided in an embodiment of this application;
[0043] Figure 3 This is a schematic diagram of a filter provided in an embodiment of this application;
[0044] Figure 4 This is a schematic diagram of the outer surface of a skull provided in an embodiment of this application;
[0045] Figure 5 This is a schematic diagram of a target surface provided in an embodiment of this application;
[0046] Figure 6 This is a schematic diagram of a target puncture angle provided in an embodiment of this application;
[0047] Figure 7 This is a schematic diagram of a puncture angle determination device provided in an embodiment of this application. Detailed Implementation
[0048] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0049] To facilitate understanding of the embodiments by those skilled in the art, some terms are explained below:
[0050] CT: Computed Tomography.
[0051] like Figure 1 As shown, embodiments of this application also provide a method for determining the puncture angle, including:
[0052] Step S11: Obtain the original skull image and obtain the outer surface of the skull based on the original skull image;
[0053] An optional embodiment of this application, such as... Figure 2 As shown, the whole skull is extracted to obtain the original skull image. Since the CT value (HU) of the head bone structure is 150 to 1000, the embodiment of this application uses the threshold method to extract the skull region with HU>150. Simple three-dimensional morphological processing is used to correct the threshold error (not within the scope of protection of this application and will not be described in detail). Finally, the skull region vBoneMask is obtained.
[0054] In one optional embodiment of this application, since the skull has a certain thickness, and the puncture angle of this application is the angle between the drill hole position and the outer surface of the skull, this embodiment of the application needs to obtain the outer surface of the skull and perform subsequent processing based on the outer surface of the skull; specifically, as... Figure 3 As shown, a 3D disk-shaped filter B with a scale of 3*3*3 and a radius of 1 is used on vBoneMask to extract and obtain the following... Figure 4 The skull outer surface vBoneMaskCounter is shown.
[0055] Where, vBoneMaskCounter = vBoneMask - vBoneMaskCounterΘB;
[0056] In the formula, Θ represents the relevant algorithm involved in B, which is not within the scope of protection of this application and will not be described in detail here.
[0057] Step S12: Pre-determine drilling positions on the outer surface of the skull, and determine the target surface based on the drilling positions;
[0058] In an optional embodiment of this application, the step of pre-setting drilling positions on the outer surface of the skull and determining the target surface based on the drilling positions includes:
[0059] On the outer surface of the skull, points within the target distance range of the drill hole location are selected to determine the target coordinate point set;
[0060] The target surface is obtained based on the target coordinate point set.
[0061] In the embodiments of this application, the target surface is formed with the drilling position as the center and extends to the surrounding area of the drilling position. The target surface can be used as a drilling reference surface or a drilling working surface.
[0062] Specifically, it is possible to obtain each initial coordinate point included on the outer surface of the skull, and obtain the initial coordinates corresponding to each initial coordinate point;
[0063] The target distance is used to compare the target distance with the distance between each initial coordinate point and the borehole position, obtain the comparison result, select multiple initial coordinate points based on the comparison result, determine multiple target coordinate points, obtain the target coordinate point set, and determine the target surface based on the target coordinate point set.
[0064] Furthermore, if the comparison result shows that the distance between the initial coordinate point and the borehole position is not greater than the target distance, then the initial coordinate point is determined as the target coordinate point; otherwise, if the comparison result shows that the distance between the initial coordinate point and the borehole position is greater than the target distance, then the initial coordinate point is excluded. By analogy, multiple target coordinate points can be selected from the initial coordinate point set to obtain the target coordinate point set, and the target surface can be determined based on the target coordinate point set.
[0065] In the embodiments of this application, in order to facilitate calculation, the drilling position can be preset first, so that the preset drilling position participates in the subsequent calculation and finally the drilling position is calculated.
[0066] like Figure 5 As shown, in an optional embodiment of this application, an initial set of coordinate points on the outer surface of the skull vBoneMaskCounter is obtained, wherein the initial set of coordinate points includes multiple initial coordinate points;
[0067] Determine the actual value of the target distance (e.g., 1cm, which can also be adjusted according to actual needs) based on actual needs, and select multiple target coordinate points from the initial coordinate point set based on the target distance;
[0068] Among them, multiple target coordinate points are selected from the initial set of coordinate points based on the target distance, including:
[0069] Let A represent the initial set of coordinate points, and let C represent the target set of coordinate points; where C includes all target coordinate points.
[0070] Assume A={A 1(x,y,z) A 2(x,y,z) , ...A M(x,y,z)}; where M is a positive integer;
[0071] C = {C 1(x,y,z) C 2(x,y,z) , ...C N(x,y,z)}; where N is a positive integer and N < M,
[0072] The preset drilling position corresponds to the drilling coordinates P(x0, y0, z0).
[0073] In an optional embodiment of this application, the target distance d can be calculated based on the following formula:
[0074]
[0075] In the formula, d Ai,P Let A be the i-th initial coordinate point. i The Euclidean distance between A and the borehole coordinate P; ix Let A be the x-coordinate value of the i-th initial coordinate point; iy Let A be the y-coordinate value of the i-th initial coordinate point; iz P represents the z-coordinate of the i-th initial coordinate point; x P represents the x-coordinate value of the borehole coordinates. y P represents the y-coordinate value of the borehole coordinates. z The z-coordinate value is the borehole coordinate; x space The x-dimensional resolution of the CT image; y space The resolution of the CT image in the y-axis; z space This represents the z-dimensional resolution of the CT image.
[0076] Based on the above algorithm, C can be obtained, satisfying the following conditions:
[0077]
[0078] It is understood that the embodiments of this application exclude initial coordinates that are more than the target distance from the drilling location, as they are not within the target surface range.
[0079] In the embodiments of this application, a target distance and a drilling position are preset, and an initial set of coordinate points around the drilling position is filtered based on the target distance and the drilling position to obtain a target coordinate point set. A target surface is then determined based on the target coordinate point set to facilitate the determination of the target puncture angle.
[0080] Step S13: Based on the target expression of the target surface and the drilling position, determine the normal vector of the target surface;
[0081] An optional embodiment of this application, determining the target expression of the target surface and the drilling location, includes:
[0082] The target surface is approximated to obtain multiple parameters to be determined;
[0083] Calculate multiple parameters to be determined to obtain multiple target parameters;
[0084] The target expression for determining the borehole location based on multiple target parameters.
[0085] In an optional embodiment of this application, the outer surface of the skull is approximated as an ellipsoid. Therefore, in order to improve the accuracy of the calculation of the target puncture angle, the initial expression is preset to a quadratic surface form.
[0086] In an optional embodiment of this application, the preset initial expression may be:
[0087]
[0088] This will yield 6 parameters to be determined;
[0089] The six parameters to be determined are: x0, y0, z0, E, F, and G.
[0090] The initial expression is processed and rewritten in general form as follows:
[0091] x 2 +ay 2 +bz 2 +cx+dy+ez+f=0;
[0092] Based on the above general formula, we can obtain:
[0093] In an optional embodiment of this application, the calculation of multiple parameters to be determined to obtain multiple target parameters includes:
[0094] Obtain the target coordinate point set;
[0095] The target surface is fitted based on the target coordinate point set to obtain multiple target parameters.
[0096] In an optional embodiment of this application, since the outer surface of the skull can be approximated as an ellipsoid, and there are N target coordinate points in C, this embodiment of the application performs ellipsoidal fitting on the target surface based on the N target coordinate points in C; specifically, a, b, c, d, e, and f are estimated, and then based on... Calculate the values corresponding to x0, y0, z0, E, F, and G.
[0097] In an optional embodiment of this application, the step of fitting the target surface based on the target coordinate point set to obtain multiple target parameters includes:
[0098] Calculate the initial error for each of the target coordinate points;
[0099] Based on the initial error of each of the target coordinate points, the target error of the target coordinate point set is calculated;
[0100] The target error is processed to obtain multiple target parameters.
[0101] In an optional embodiment of this application, a, b, c, d, e, and f can be estimated based on the least squares method. Specifically:
[0102] First, the initial error of each target coordinate point is calculated, where the initial error α for each j-th target coordinate point is... j It can be calculated using the following formula:
[0103] α j (a, b, c, d, e, f) = x j 2 +ay j 2 +bz j 2 +cx j +dy j +ez j +f; where j∈N;
[0104] The target error β of the target coordinate point set can be calculated based on the following formula:
[0105]
[0106] Then, setting the first-order partial derivatives of β with respect to a, b, c, d, e, and f to zero, we have:
[0107]
[0108] Simplifying the above results, we get:
[0109]
[0110] Solving the equation allows us to calculate the specific values of a, b, c, d, e, and f, which, combined with... The specific values corresponding to x0, y0, z0, E, F, and G can be calculated, which means the drilling position can be obtained.
[0111] Substitute the specific values of x0, y0, z0, E, F, and G obtained from the above calculations into... The target expression for the target surface can be obtained.
[0112] Step S14: Based on the target expression of the target surface and the drilling position, determine the normal vector of the target surface;
[0113] In an optional embodiment of this application, determining the normal vector of the target surface based on the target expression of the target surface and the drilling position includes:
[0114] Based on the target expression and the drilling location, determine the tangent equation of the target surface;
[0115] Based on the tangent equation of the target surface, the normal vector of the target surface is determined.
[0116] In an optional embodiment of this application, the tangent equation corresponding to the target surface can be determined based on the target expression and the target borehole coordinates P corresponding to the borehole position.
[0117] Specifically, the equation of the tangent plane can be calculated based on the following formula:
[0118]
[0119] Based on the tangent equation and the target borehole coordinates P corresponding to the borehole location, the normal equation corresponding to the target borehole coordinates P can be determined.
[0120] Specifically, the equation of the normal line can be calculated based on the following formula:
[0121]
[0122] That is, the normal vector perpendicular to the target surface at the target borehole coordinate P is S1(E', F', G').
[0123] Where, E' = f x x = x0 = 2x0 + c; F' = f y y = y0 = 2y0 + d; G' = f z z = z0 = 2bz0 + e;
[0124] Therefore, based on the relevant calculation results of the above embodiments, S1 can be determined.
[0125] Step S14: Obtain the puncture vector, and calculate the target puncture angle based on the puncture vector and the normal vector of the target surface.
[0126] In an optional embodiment of this application, obtaining the puncture vector and calculating the target puncture angle based on the puncture vector and the normal vector of the target surface includes:
[0127] The location of the target lesion is obtained, and the puncture vector is obtained based on the location of the target lesion and the drilling location;
[0128] The target puncture angle is obtained by calculating the angle between the puncture vector and the normal vector; wherein, the range of the target puncture angle is...
[0129] like Figure 6 As shown, in an optional embodiment of this application, based on the location of the target lesion, the target lesion coordinates Q(x1, y1, z1) corresponding to the target lesion location can be obtained. The puncture vector can be obtained based on the target borehole coordinates P and the target lesion coordinates Q. in,
[0130] Then the puncture vector is calculated. and normal vector The angle between them can be used to obtain the target puncture angle θ;
[0131] in,
[0132] That is, the range of the target puncture angle is It is far greater than the range of puncture angles corresponding to drilling based on purely manual drilling or surgical robots in existing technologies, thus improving the accuracy of puncture angles.
[0133] In the embodiments of this application, a quadratic surface mathematical model of the skull's outer surface is performed on a CT scan image sequence, approximating the skull's outer surface as an ellipsoid, and the least squares method is used for surface fitting. Assuming the location of the target lesion is known, when the drilling location is determined and the target lesion is punctured based on the drilling location, the drilling direction and the target puncture angle on the skull's outer surface can be automatically and accurately calculated. This expands the range of angles for skull surface puncture, improves the intelligence of the surgical robot, and has significant guiding significance for clinical operations. It can also eliminate unreasonable drilling locations, allowing patients to better benefit from neurosurgery.
[0134] In one optional embodiment of this application, drilling simulations were performed on 50 different skulls. For skull regions corresponding to different protrusions, depressions, and curvatures of the brain, the target puncture angle at any point could be correctly calculated. The error compared with the result of manual measurement using auxiliary tools was less than 0.005°. Therefore, the technical solution of this application can realize the automatic and accurate calculation of the drilling direction and the target puncture angle on the outer surface of the skull.
[0135] like Figure 7 As shown, embodiments of this application also provide a puncture angle determining device 70, comprising:
[0136] The acquisition module 71 is used to acquire the original skull image and obtain the outer surface of the skull based on the original skull image;
[0137] The first determining module 72 is used to preset drilling positions on the outer surface of the skull and determine the target surface based on the drilling positions;
[0138] The second determining module 73 is used to determine the normal vector of the target surface based on the target expression of the target surface and the drilling position;
[0139] The calculation module 74 is used to obtain the puncture vector and calculate the target puncture angle based on the puncture vector and the normal vector of the target surface.
[0140] Optionally, the step of pre-setting drilling positions on the outer surface of the skull and determining the target surface based on the drilling positions includes:
[0141] On the outer surface of the skull, points within the target distance range of the drilling location are selected to determine the target coordinate point set;
[0142] The target surface is obtained based on the target coordinate point set.
[0143] Optionally, determining the target expression of the target surface and the drilling location includes:
[0144] The target surface is approximated to obtain multiple parameters to be determined;
[0145] Calculate multiple parameters to be determined to obtain multiple target parameters;
[0146] The borehole location and the target expression are determined based on multiple target parameters.
[0147] Optionally, the calculation of multiple parameters to be determined to obtain multiple target parameters includes:
[0148] Obtain the target coordinate point set;
[0149] The target surface is fitted based on the target coordinate point set to obtain multiple target parameters.
[0150] Optionally, the fitting process of the target surface based on the target coordinate point set to obtain multiple target parameters includes:
[0151] Calculate the initial error for each of the target coordinate points;
[0152] Based on the initial error of each of the target coordinate points, the target error of the target coordinate point set is calculated;
[0153] The target error is processed to obtain multiple target parameters.
[0154] Optionally, determining the normal vector of the target surface based on the target expression of the target surface and the drilling position includes:
[0155] Based on the target expression and the drilling location, determine the tangent equation of the target surface;
[0156] Based on the tangent equation of the target surface, the normal vector of the target surface is determined.
[0157] Optionally, obtaining the puncture vector and calculating the target puncture angle based on the puncture vector and the normal vector of the target surface includes:
[0158] The location of the target lesion is obtained, and the puncture vector is obtained based on the location of the target lesion and the drilling location;
[0159] The target puncture angle is obtained by calculating the angle between the puncture vector and the normal vector; wherein, the range of the target puncture angle is...
[0160] Embodiments of this application also provide an electronic device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the method described above.
[0161] Embodiments of this application also provide a computer-readable storage medium, the computer-readable storage medium including a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the method described above.
[0162] Furthermore, other configurations and functions of the apparatus in the embodiments of this application are known to those skilled in the art, and will not be described in detail here to reduce redundancy.
[0163] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequential list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit a program for use by, or in conjunction with, an instruction execution system, apparatus, or device. Furthermore, a computer-readable medium can even be paper or other suitable medium on which the program can be printed, as the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0164] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system.
[0165] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0166] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0167] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A method for determining the puncture angle, characterized in that, include: Obtain the original skull image, and obtain the outer surface of the skull based on the original skull image; Pre-determine drilling locations on the outer surface of the skull, and determine the target curved surface based on the drilling locations; Based on the target expression of the target surface and the drilling position, the normal vector of the target surface is determined; Obtain the puncture vector, and calculate the target puncture angle based on the puncture vector and the normal vector of the target surface; wherein, the puncture vector is a vector pointing from the borehole position to the target lesion position; The step of pre-setting drilling positions on the outer surface of the skull and determining the target surface based on the drilling positions includes: On the outer surface of the skull, points within the target distance range of the drill hole location are selected to determine the target coordinate point set. Based on the target coordinate point set, the target surface is obtained; Determining the target expression for the target surface and the drilling location includes: The target surface is approximated to obtain multiple parameters to be determined; The target surface is fitted based on the target coordinate point set to obtain multiple target parameters; The target expression of the target surface is determined based on multiple target parameters.
2. The method according to claim 1, characterized in that, The process of fitting the target surface based on the target coordinate point set to obtain multiple target parameters includes: Calculate the initial error for each of the target coordinate points; Based on the initial error of each of the target coordinate points, the target error of the target coordinate point set is calculated; The target error is processed to obtain multiple target parameters.
3. The method according to claim 1, characterized in that, Determining the normal vector of the target surface based on the target expression of the target surface and the drilling position includes: Based on the target expression and the drilling location, determine the tangent equation of the target surface; Based on the tangent equation of the target surface, the normal vector of the target surface is determined.
4. The method according to claim 1, characterized in that, The step of obtaining the puncture vector and calculating the target puncture angle based on the puncture vector and the normal vector of the target surface includes: The location of the target lesion is obtained, and the puncture vector is obtained based on the location of the target lesion and the drilling location; The target puncture angle is obtained by calculating the angle between the puncture vector and the normal vector; wherein, the range of the target puncture angle is [ ].
5. A device for determining the puncture angle, characterized in that, include: An acquisition module is used to acquire an original skull image and obtain the outer surface of the skull based on the original skull image; The first determining module is used to preset drilling positions on the outer surface of the skull and determine the target surface based on the drilling positions; The second determining module is used to determine the normal vector of the target surface based on the target expression of the target surface and the drilling position; The calculation module is used to obtain the puncture vector and calculate the target puncture angle based on the puncture vector and the normal vector of the target surface; wherein, the puncture vector is a vector pointing from the borehole position to the target lesion position; The first determining module is specifically used for: On the outer surface of the skull, points within the target distance range of the drill hole location are selected to determine the target coordinate point set. Based on the target coordinate point set, the target surface is obtained; The second determining module is further configured to: The target surface is approximated to obtain multiple parameters to be determined; The target surface is fitted based on the target coordinate point set to obtain multiple target parameters; The target expression of the target surface is determined based on multiple target parameters.
6. An electronic device, characterized in that, The method includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor, when executing the computer program, implements the method as claimed in any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device on which the computer-readable storage medium is located to perform the method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Medical instrument
CN111973236A
Self-adaptive craniocerebral positioning puncture method
CN115120317A
