[go: up one dir, main page]

CN119732748A - Robot positioning method, electronic device and storage medium for orthopedic puncture - Google Patents

Robot positioning method, electronic device and storage medium for orthopedic puncture Download PDF

Info

Publication number
CN119732748A
CN119732748A CN202411680537.7A CN202411680537A CN119732748A CN 119732748 A CN119732748 A CN 119732748A CN 202411680537 A CN202411680537 A CN 202411680537A CN 119732748 A CN119732748 A CN 119732748A
Authority
CN
China
Prior art keywords
puncture
planning
coordinates
robot
path
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202411680537.7A
Other languages
Chinese (zh)
Other versions
CN119732748B (en
Inventor
宋亮
李健
何毅
李浩喆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongou Zhiwei Shanghai Robot Co ltd
Original Assignee
Zhongou Zhiwei Shanghai Robot Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongou Zhiwei Shanghai Robot Co ltd filed Critical Zhongou Zhiwei Shanghai Robot Co ltd
Priority to CN202411680537.7A priority Critical patent/CN119732748B/en
Publication of CN119732748A publication Critical patent/CN119732748A/en
Application granted granted Critical
Publication of CN119732748B publication Critical patent/CN119732748B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Apparatus For Radiation Diagnosis (AREA)

Abstract

本发明公开了一种用于骨科穿刺的机器人定位方法、电子设备及存储介质,方法包括:步骤S1:将机械臂设置于待穿刺骨组织的体表位置并在机械臂上设置多个标记点,获取标记点的参考坐标;步骤S2:识别机械臂影像中的标记点坐标并构建三维坐标空间;步骤S3:根据三维坐标空间在机械臂影像上规划穿刺能够得到穿刺规划路径;步骤S4:将安装有穿刺器械的机械臂基于穿刺规划路径进行移动并;步骤S5:重新获取不同角度下的机械臂影像以判断穿刺规划路径是否满足穿刺要求,若不满足则执行步骤S2至步骤S4,直至穿刺规划路径满足穿刺要求。本发明公开的用于骨科穿刺的机器人定位方法解决了骨科穿刺机器人定位依赖复杂定位设备和成本高的问题。

The present invention discloses a robot positioning method, electronic device and storage medium for orthopedic puncture, the method comprising: step S1: setting a robot arm at the body surface position of the bone tissue to be punctured and setting a plurality of marking points on the robot arm, obtaining the reference coordinates of the marking points; step S2: identifying the coordinates of the marking points in the robot arm image and constructing a three-dimensional coordinate space; step S3: planning the puncture on the robot arm image according to the three-dimensional coordinate space to obtain the puncture planning path; step S4: moving the robot arm equipped with the puncture instrument based on the puncture planning path; step S5: reacquiring the robot arm image at different angles to determine whether the puncture planning path meets the puncture requirements, if not, executing steps S2 to S4 until the puncture planning path meets the puncture requirements. The robot positioning method for orthopedic puncture disclosed by the present invention solves the problem that the positioning of the orthopedic puncture robot depends on complex positioning equipment and is high in cost.

Description

Robot positioning method for orthopaedics puncture, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of medicine, in particular to a robot positioning method for orthopedics puncture, electronic equipment and a storage medium.
Background
At present, an orthopedic puncture operation navigation and robot system mainly depends on an optical positioning or electromagnetic navigation technology, combines high-precision positioning equipment, realizes real-time tracking and accurate navigation of surgical instruments, scans detailed anatomical structures of a patient by utilizing a three-dimensional image system before operation, and can guide the surgical instruments to accurately puncture and position according to the information in an operation process. However, the existing system has strong dependence on complex positioning equipment, so that not only is the complexity and the operation difficulty of the operation increased, but also the operability and the flexibility of the operation are limited. To install a tracer or perform other necessary preparation work, the patient often needs to be subjected to additional trauma, not suitable for situations where a small number of puncture locations are required. The introduction of high precision positioning devices and three-dimensional imaging systems also significantly increases the overall equipment costs of the procedure.
Disclosure of Invention
The invention mainly aims to provide a robot positioning method, electronic equipment and a storage medium for orthopedics puncture, which at least solve the problems that the positioning of an orthopedics puncture robot depends on complex positioning equipment and has high cost.
According to one aspect of the present invention, there is provided a robotic positioning method for orthopedic penetration, comprising:
Step S1, arranging a mechanical arm at the body surface position of bone tissue to be punctured and arranging a plurality of marking points on the mechanical arm to obtain reference coordinates corresponding to the marking points;
S2, identifying all the coordinates of the marking points in the mechanical arm images under different angles, and constructing a three-dimensional coordinate space according to the identified coordinates of the marking points;
s3, performing puncture path planning on the mechanical arm image according to the three-dimensional coordinate space to obtain a puncture planning path;
S4, moving the mechanical arm provided with the puncture instrument based on the puncture planning path and aligning the mechanical arm with the puncture planning path;
and S5, re-acquiring the mechanical arm images under different angles to judge whether the puncture planning path meets the puncture requirement, and if not, executing the steps S2 to S4 until the puncture planning path meets the puncture requirement.
Further, the step S1 includes:
s11, performing image scanning through an X-ray machine to determine the body surface position of bone tissue to be punctured;
Step S12, the mechanical arm is arranged at the body surface position of the bone tissue to be punctured;
And S13, setting a plurality of marking points at the front end of the mechanical arm, and acquiring coordinates of the marking points as reference coordinates.
Further, the step S2 includes:
S21, acquiring mechanical arm images corresponding to the mechanical arms under different angles through an X-ray machine;
s22, preprocessing the mechanical arm image through a filtering algorithm;
step S23, identifying all marking points in the preprocessed mechanical arm image through a graphic processing algorithm to obtain marking point coordinates under different angles;
and S24, constructing a three-dimensional coordinate space based on the reference coordinates and the marked point coordinates.
Further, the step S24 includes:
s241, calculating a projection matrix between a reference coordinate and a mark point coordinate by a linear transformation method;
Step S242, selecting a projection matrix with the minimum reprojection error as an optimal projection matrix under different angles;
step S243, constructing a three-dimensional coordinate space based on the optimal projection matrix under different angles.
Further, the step S241 includes:
Step S2411, determining all corresponding relations between mark point coordinates and reference coordinates of the mechanical arm images with different angles through an exhaustion method;
s2412, constructing a projection equation based on the corresponding relation to obtain a projection equation set;
And S2413, decomposing the projection equation set through a singular value decomposition method to obtain projection matrix parameters, and constructing a projection matrix by combining the projection matrix parameters.
Further, the step S3 includes:
s31, selecting planning points corresponding to the mechanical arm images with different angles;
Step S32, mapping the selected planning points into the constructed three-dimensional coordinate space to obtain a planning starting point and a planning end point;
Step S33, determining a puncture planning path by combining the planning starting point and the planning ending point;
Step S34, calculating the moving distance of the plane of the mechanical arm to the planned path and judging the size relation between the moving distance and the reachable range of the mechanical arm;
and step S35, if the moving distance is larger than the reachable range of the mechanical arm, returning to the step S1, otherwise, executing the step S4.
Further, the step S5 includes:
s51, re-acquiring the images of the mechanical arm at different angles after the mechanical arm moves through an X-ray machine;
S52, performing image segmentation on the puncture needle in the re-acquired mechanical arm image to determine a current puncture path;
And step S53, judging whether the current puncture path meets the requirements of the anatomical structure, if so, completing path planning, and if not, executing the steps S2 to S4.
Further, the mechanical arm comprises a brake arm, a reference mark base and a puncture needle sleeve, wherein the puncture needle sleeve is connected to the brake arm, the reference mark base is arranged on the puncture needle sleeve, the brake arm is used for controlling the movement of the mechanical arm, the puncture needle sleeve is used for installing a puncture instrument, the reference mark base is used for setting a mark point, and the puncture instrument comprises a puncture needle or a puncture guide wire.
According to another aspect of an embodiment of the present invention, there is also provided an electronic device comprising a processor, a memory for storing processor-executable instructions, wherein the processor is configured to perform the method steps of any of the above.
According to another aspect of the embodiments of the present invention, there is also provided a computer readable storage medium, including a stored program, wherein the program when run controls a device in which the computer readable storage medium is located to perform any of the above method steps.
According to the invention, the three-dimensional coordinate space is constructed by arranging the plurality of marking points on the mechanical arm and combining the mechanical arm images with different angles, so that the accurate puncture path planning of the bone tissue is realized. In the planning process, the feasibility of planning the bone tissue puncture path is ensured by calculating the matching of the moving distance of the mechanical arm and the reachable range. In addition, the verification and optimization of the puncture planning path are realized by re-acquiring the current puncture path of the puncture needle of the mechanical arm image after the mechanical arm moves and judging whether the requirements of the anatomical structure are met, and the accuracy and safety of the orthopedics puncture operation are improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
fig. 1 is a schematic flow chart of a robot positioning method applied to orthopedics puncture according to an embodiment of the invention;
fig. 2 is a schematic structural diagram of a mechanical arm according to an embodiment of the present invention.
Wherein the above figures include the following reference numerals:
1. brake arm, puncture needle sleeve, reference mark base, and positioning steel ball.
Detailed Description
It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other. The invention will be described in detail below with reference to the drawings in connection with embodiments.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of exemplary embodiments according to the present invention. As used herein, the singular is also intended to include the plural unless the context clearly indicates otherwise, and furthermore, it is to be understood that the terms "comprises" and/or "comprising" when used in this specification are taken to specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof.
The relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless it is specifically stated otherwise. Meanwhile, it should be understood that the sizes of the respective parts shown in the drawings are not drawn in actual scale for convenience of description. Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but should be considered part of the authorization specification where appropriate. In all examples shown and discussed herein, any specific values should be construed as merely illustrative, and not a limitation. Thus, other examples of the exemplary embodiments may have different values. It should be noted that like reference numerals and letters refer to like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
According to one aspect of embodiments of the present invention, there is provided a method of positioning and aligning a micro-robot arm, it being noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and although a logical sequence is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in a different order than that illustrated herein.
Referring to fig. 1, a robot positioning method for orthopaedics puncture according to an embodiment of the present application includes:
step S1, arranging a mechanical arm at the body surface position of bone tissue to be punctured and arranging a plurality of marking points on the mechanical arm to obtain reference coordinates corresponding to the marking points;
in an alternative embodiment, step S1 includes:
s11, performing image scanning through an X-ray machine to determine the body surface position of bone tissue to be punctured;
Step S12, the mechanical arm is arranged at the body surface position of the bone tissue to be punctured;
And S13, setting a plurality of marking points at the front end of the mechanical arm, and acquiring coordinates of the marking points as reference coordinates.
The mechanical arm is a main component of a robot, and is shown in fig. 2, the mechanical arm comprises a brake arm 1, a puncture needle sleeve 2 and a reference mark base 3, the puncture needle sleeve 2 is connected to the brake arm 1, the reference mark base 3 is arranged on the puncture needle sleeve 2, the brake arm 1 is provided with two, the brake arm 1 is used for controlling the movement of the mechanical arm, the puncture needle sleeve 2 is used for installing a puncture instrument, the reference mark base 3 is used for setting a mark point, and the puncture instrument comprises a puncture needle or a puncture guide wire.
It can be understood that the mechanical arm of the embodiment is mainly used for bone tissue puncture of various parts such as the spine, the spine is taken as an example in the embodiment, the mobile C-shaped arm X-ray machine is adopted by the X-ray machine, and the X-ray machine is used for scanning the image of the spine, so that the body surface position of the vertebral body to be punctured can be intuitively determined. In actual operation, a target spine region of a patient is scanned through a mobile C-shaped arm X-ray machine, an X-ray image of the target spine region is obtained, and the body surface position of the vertebral body to be punctured is determined according to the X-ray image of the target spine region. Then, the mechanical arm is installed at the body surface position of the vertebral body to be punctured, the mechanical arm is reset to an initial state and calibrated through a control system of the mechanical arm, and a plurality of positioning steel balls 31 for positioning are arranged on a reference mark base 3 of the mechanical arm, so that the overlapping of the positioning steel balls influences the shooting effect because of follow-up shooting, and the number of the positioning steel balls also influences the accuracy of calculation of a follow-up puncture planning path, therefore, the number of the positioning steel balls is set to be at least 8, each positioning steel ball is used as a mark point, a coordinate system of a scale is established by means of the arrangement of the front end of the mechanical arm and the positioning steel balls, and the reference coordinates of each mark point are obtained as C0= { x01, x02, x03, x04, x05, x06, x07, x08}.
S2, identifying all the coordinates of the marking points in the mechanical arm images under different angles, and constructing a three-dimensional coordinate space according to the identified coordinates of the marking points;
In an alternative embodiment, step S2 includes:
S21, acquiring mechanical arm images corresponding to the mechanical arms under different angles through an X-ray machine;
s22, preprocessing the mechanical arm image through a filtering algorithm;
Step S23, identifying all marking points in the preprocessed mechanical arm image through a graphic processing algorithm to obtain marking point coordinates under different angles;
and S24, constructing a three-dimensional coordinate space based on the reference coordinates and the marked point coordinates.
Specifically, the mechanical arm installed at the body surface position of the vertebral body to be punctured is scanned by the mobile C-shaped arm X-ray machine, at least two scanning angles are provided, and the embodiment scans the mechanical arm images at the right position and the side position. And after the normal position image and the side position image of the mechanical arm are obtained, filtering the images through a filtering algorithm. And then, respectively dividing the marking points in the normal image and the side image by adopting a graphic processing algorithm to obtain the image coordinates of the center of each positioning steel ball in the normal image and the side image as marking point coordinates, wherein the marking point coordinates in the normal image are C1= { x11, x12, x13, x14, x15, x16, x17, x18}, and the marking point coordinates in the side image are C2= { x21, x22, x23, x24, x25, x26, x27, x28}. The image processing algorithm can adopt any one of spot detection, edge detection, gravity center and cross characteristic points.
According to the embodiment, through at least two X-ray image shooting at different angles (such as the right position and the side position), the spatial position information of the mechanical arm and the marking point can be more comprehensively captured. The image coordinates of each marking point can be accurately extracted by performing marking point identification on the preprocessed image by adopting a graphic processing algorithm such as spot detection or edge detection. Compared with the traditional three-dimensional positioning method, the method does not need extra optical positioning or electromagnetic positioning equipment, reduces the operation cost and simplifies the preoperative preparation flow. Through automatic image processing and three-dimensional coordinate space construction, a doctor can determine a puncture path more quickly, so that the operation time is shortened, and the operation efficiency is improved. In an alternative embodiment, step S24 includes:
s241, calculating a projection matrix between a reference coordinate and a mark point coordinate by a linear transformation method;
Step S2411, determining all corresponding relations between mark point coordinates and reference coordinates of the mechanical arm images with different angles through an exhaustion method;
S2412, constructing a projection equation based on the corresponding relation to obtain a projection equation set;
And S2413, decomposing the projection equation set through a singular value decomposition method to obtain projection matrix parameters, and constructing a projection matrix by combining the projection matrix parameters.
Step S242, selecting a projection matrix with the minimum reprojection error as an optimal projection matrix under different angles;
step S243, constructing a three-dimensional coordinate space based on the optimal projection matrix under different angles.
Because of the shooting angle and the randomness of the arrangement of the mark points, the mark points in the normal image and the side image need to establish a corresponding relationship. In this embodiment, all the corresponding relations between the coordinates of the marking points of the normal image and the side image and the reference coordinate are established by an exhaustion method, and the corresponding relation between the coordinates of the marking points under the normal image and the reference coordinate and the corresponding relation between the coordinates of the marking points under the side image and the reference coordinate are determined by exhausting 8 |=40320 corresponding relations between C0 and C1 and C2. For each corresponding relation, solving a projection matrix by using a Direct Linear Transformation (DLT) method, calculating the reprojection errors of all corresponding relations, and selecting the projection matrix with the minimum reprojection error as an orthographic projection matrix. Similarly, for each corresponding relationship, a direct linear transformation method is used to solve the side projection matrix, and the side projection matrix with the smallest reprojection error is selected as the side projection matrix. And constructing a three-dimensional coordinate space based on the obtained orthographic projection matrix and the lateral projection matrix.
The corresponding relation between all possible mark point coordinates and reference coordinates is determined through an exhaustion method, and the projection matrix is solved by using a Direct Linear Transformation (DLT) method based on the corresponding relation, so that the accuracy of the projection matrix can be greatly improved. The exhaustive approach ensures that all possible correspondences are considered so that an optimal (i.e. least re-projection error) projection matrix can be found. Because all possible corresponding relations are considered, and the projection matrix with the minimum reprojection error is selected, the embodiment has stronger robustness to noise, mark point errors and other interference factors, and even if some uncertainty or error is encountered in practical application, more accurate results can be obtained. And constructing a three-dimensional coordinate space based on the obtained orthographic projection matrix and the lateral projection matrix, so that the constructed space can be ensured to be consistent with the actual situation.
S3, performing puncture path planning on the mechanical arm image according to the three-dimensional coordinate space to obtain a puncture planning path;
in an alternative embodiment, step S3 includes:
s31, selecting planning points corresponding to the mechanical arm images with different angles;
Step S32, mapping the selected planning points into the constructed three-dimensional coordinate space to obtain a planning starting point and a planning end point;
Step S33, determining a puncture planning path by combining the planning starting point and the planning ending point;
Step S34, calculating the moving distance of the plane of the mechanical arm to the planned path and judging the size relation between the moving distance and the reachable range of the mechanical arm;
And step S35, if the moving distance is larger than the reachable range of the mechanical arm, returning to the step S1, otherwise, executing the step S4.
Specifically, two planning points are respectively selected according to the target positions to be punctured on the normal image and the side image, straight lines passing through the respective planning points on the normal image and the side image are respectively drawn, and the two obtained straight lines intersect at one point in a three-dimensional coordinate space, namely, a puncture target point. And determining a planning starting point and a planning end point in a three-dimensional coordinate space according to the puncture target point, and obtaining a puncture planning path according to the planning starting point and the planning end point. According to the space coordinates of the puncture planning path in the three-dimensional coordinate space, calculating the moving distance from the two braking arm planes of the mechanical arm to the connecting line of the two coordinate points. The calculated movement distance is compared with the reach of the current configuration of the robotic arm. If the moving distance exceeds the reachable range of the mechanical arm, the step S1 is executed again, and the mechanical arm is replaced to adjust the puncture path. And if the moving distance is not beyond the reach range of the current configuration of the mechanical arm, executing the next step.
By selecting planning points on the normal position image and the side position image respectively and mapping the planning points to the constructed three-dimensional coordinate space, the position of the puncture target point can be determined more accurately, more accurate puncture operation can be realized in the operation process, and the risks of errors and complications are reduced. By calculating the moving distance from the plane of the mechanical arm to the planned path and judging the size relation between the distance and the reachable range of the mechanical arm, the mechanical arm can be ensured to move according to the planned path, the movement path of the mechanical arm is facilitated to be optimized, unnecessary movement and adjustment are reduced, and the efficiency and accuracy of the operation are improved.
S4, moving the mechanical arm provided with the puncture instrument based on the puncture planning path and aligning the mechanical arm with the puncture planning path;
Further, after the puncture planning path is determined, a puncture instrument is installed on the puncture needle sleeve of the mechanical arm, wherein the puncture instrument comprises a puncture needle or a puncture guide wire, and the puncture instrument is selected according to actual requirements. The robotic arm with the lancing device mounted thereon is moved along a planned path by a control system. The position and state of the mechanical arm are monitored to ensure that the mechanical arm moves according to a planned path and avoid the situations of deviation, collision and the like.
And S5, re-acquiring the mechanical arm images under different angles to judge whether the puncture planning path meets the puncture requirement, and if not, executing the steps S2 to S4 until the puncture planning path meets the puncture requirement.
In an alternative embodiment, step S5 includes:
s51, re-acquiring the images of the mechanical arm at different angles after the mechanical arm moves through an X-ray machine;
S52, performing image segmentation on the puncture needle in the re-acquired mechanical arm image to determine a current puncture path;
and step S53, judging whether the current puncture path meets the requirements of the anatomical structure, if so, completing path planning, and if not, executing the steps S2 to S4.
Specifically, the right-position image and the side-position image of the mechanical arm after moving are re-acquired through the C-shaped arm X-ray machine, the puncture needle in the right-position image and the side-position image of the re-acquired mechanical arm is segmented by utilizing an image processing algorithm, and the current puncture path of the mechanical arm after moving is determined. Comparing the obtained current puncture path with a preset anatomical structure, determining the relative relation between the current puncture path and the preset anatomical structure, judging whether the current puncture path can meet the requirement of the preset anatomical structure, and if the current puncture path can meet the requirement of the preset anatomical structure, completing puncture path planning and entering the operation of the next puncture operation. If the current puncture path cannot meet the requirement of the preset anatomical structure, the steps S2 to S4 are needed to be re-executed, and the puncture planning path is adjusted and optimized until the requirement of the anatomical structure is met.
And acquiring the normal position and the lateral position images after the mechanical arm moves again, extracting the current puncture path and comparing with a preset anatomical structure. The accuracy of the puncture path can be evaluated, and the accuracy of the operation is further improved. If the current puncture path does not meet the requirement of the preset anatomical structure, the puncture planning path is adjusted and optimized, so that timely and effective adjustment can be made according to actual conditions, the operation is performed on the premise that the puncture planning path meets the requirement of the anatomical structure, the reduction of operation risk is facilitated, and the safety and reliability of the operation are improved.
According to another aspect of an embodiment of the invention there is also provided an electronic device comprising a processor, a memory for storing processor executable instructions, wherein the processor is configured to perform the method steps of any of the above.
According to another aspect of the embodiments of the present invention, there is also provided a computer readable storage medium, the computer readable storage medium including a stored program, wherein the program when run controls a device in which the computer readable storage medium is located to perform the method steps of any one of the above.
The computer readable storage medium may be located in any one of the group of computer terminals in the computer network and/or in any one of the group of mobile terminals, and the computer readable storage medium includes a stored program.
Spatially relative terms, such as "above," "upper" and "upper surface," "above" and the like, may be used herein for ease of description to describe one device or feature's spatial relationship to another device or feature as illustrated in the figures. It will be understood that the spatially relative terms are intended to encompass different orientations in use or operation in addition to the orientation depicted in the figures. For example, if the device in the figures is turned over, elements described as "above" or "over" other devices or structures would then be oriented "below" or "beneath" the other devices or structures. Thus, the process is carried out, the exemplary term "above" may be included. Upper and lower. Two orientations below. The device may also be positioned in other different ways (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein interpreted accordingly.
In addition, the terms "first", "second", etc. are used to define the components, and are only for convenience of distinguishing the corresponding components, and the terms have no special meaning unless otherwise stated, and therefore should not be construed as limiting the scope of the present invention.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1.一种用于骨科穿刺的机器人定位方法,其特征在于,包括:1. A robot positioning method for orthopedic puncture, characterized by comprising: 步骤S1:将机械臂设置于待穿刺骨组织的体表位置并在机械臂上设置多个标记点,获取多个所述标记点对应的参考坐标;Step S1: setting a robotic arm at a body surface position where bone tissue is to be punctured and setting a plurality of marking points on the robotic arm, and obtaining reference coordinates corresponding to the plurality of marking points; 步骤S2:识别不同角度下的机械臂影像中的所有标记点坐标,根据识别到的标记点坐标构建三维坐标空间;Step S2: Identify the coordinates of all the marking points in the robot arm images at different angles, and construct a three-dimensional coordinate space based on the identified coordinates of the marking points; 步骤S3:根据所述三维坐标空间在所述机械臂影像上进行穿刺路径规划得到穿刺规划路径;Step S3: performing puncture path planning on the robot arm image according to the three-dimensional coordinate space to obtain a puncture planning path; 步骤S4:将安装有穿刺器械的机械臂基于所述穿刺规划路径进行移动并对准所述穿刺规划路径;Step S4: moving the robotic arm equipped with the puncture instrument based on the planned puncture path and aligning the robotic arm with the planned puncture path; 步骤S5:重新获取不同角度下的机械臂影像以判断所述穿刺规划路径是否满足穿刺要求,若不满足则执行步骤S2至步骤S4,直至穿刺规划路径满足穿刺要求。Step S5: reacquire the robot arm images at different angles to determine whether the puncture planning path meets the puncture requirements. If not, execute steps S2 to S4 until the puncture planning path meets the puncture requirements. 2.根据权利要求1所述的用于骨科穿刺的机器人定位方法,其特征在于,所述步骤S1包括:2. The robot positioning method for orthopedic puncture according to claim 1, characterized in that step S1 comprises: 步骤S11:通过X光机进行影像扫描确定待穿刺骨组织的体表位置;Step S11: performing an image scan by an X-ray machine to determine the body surface position of the bone tissue to be punctured; 步骤S12:将机械臂安装于待穿刺骨组织的体表位置;Step S12: installing the robotic arm at the body surface position where the bone tissue is to be punctured; 步骤S13:在所述机械臂的前端设置多个标记点,并获取多个所述标记点的坐标作为参考坐标。Step S13: setting a plurality of marking points at the front end of the robot arm, and obtaining the coordinates of the plurality of marking points as reference coordinates. 3.根据权利要求1所述的用于骨科穿刺的机器人定位方法,其特征在于,所述步骤S2包括:3. The robot positioning method for orthopedic puncture according to claim 1, characterized in that step S2 comprises: 步骤S21:通过X光机获取不同角度下的机械臂对应的机械臂影像;Step S21: obtaining images of the robotic arm corresponding to the robotic arm at different angles through an X-ray machine; 步骤S22:通过滤波算法对所述机械臂影像进行预处理;Step S22: pre-processing the robot arm image by filtering algorithm; 步骤S23:通过图形处理算法识别预处理后的所述机械臂影像中的所有标记点,得到不同角度下的标记点坐标;Step S23: identifying all the marking points in the pre-processed robot arm image by a graphics processing algorithm to obtain the coordinates of the marking points at different angles; 步骤S24:基于参考坐标与标记点坐标构建三维坐标空间。Step S24: construct a three-dimensional coordinate space based on the reference coordinates and the marker point coordinates. 4.根据权利要求3所述的用于骨科穿刺的机器人定位方法,其特征在于,所述步骤S24包括:4. The robot positioning method for orthopedic puncture according to claim 3, characterized in that step S24 comprises: 步骤S241:通过直线线性变换法计算参考坐标与标记点坐标之间的投影矩阵;Step S241: Calculate the projection matrix between the reference coordinates and the marker point coordinates by using a straight-line linear transformation method; 步骤S242:选取重投影误差最小的投影矩阵作为不同角度下的最佳投影矩阵;Step S242: selecting the projection matrix with the smallest reprojection error as the optimal projection matrix at different angles; 步骤S243:基于不同角度下的最佳投影矩阵构建三维坐标空间。Step S243: constructing a three-dimensional coordinate space based on the optimal projection matrix at different angles. 5.根据权利要求4所述的用于骨科穿刺的机器人定位方法,其特征在于,所述步骤S241包括:5. The robot positioning method for orthopedic puncture according to claim 4, characterized in that step S241 comprises: 步骤S2411:通过穷举法确定不同角度的机械臂影像的标记点坐标与参考坐标的所有对应关系;Step S2411: Determine all correspondences between the coordinates of the marking points of the robot arm images at different angles and the reference coordinates by exhaustive enumeration; 步骤S2412:基于所述对应关系构建投影方程,得到投影方程组;Step S2412: constructing a projection equation based on the corresponding relationship to obtain a projection equation group; 步骤S2413:通过奇异值分解法分解所述投影方程组得到投影矩阵参数,结合所述投影矩阵参数构建投影矩阵。Step S2413: Decompose the projection equation group by singular value decomposition method to obtain projection matrix parameters, and construct a projection matrix in combination with the projection matrix parameters. 6.根据权利要求1所述的用于骨科穿刺的机器人定位方法,其特征在于,所述步骤S3包括:6. The robot positioning method for orthopedic puncture according to claim 1, characterized in that step S3 comprises: 步骤S31:选择不同角度的机械臂影像对应的规划点;Step S31: selecting planning points corresponding to robot arm images at different angles; 步骤S32:将选择的规划点映射到构建的三维坐标空间中,得到规划起点和规划终点;Step S32: Map the selected planning point to the constructed three-dimensional coordinate space to obtain the planning starting point and the planning end point; 步骤S33:结合所述规划起点和规划终点确定穿刺规划路径;Step S33: Determine the planned puncture path in combination with the planned starting point and the planned end point; 步骤S34:计算机械臂平面移动至所述规划路径的移动距离并判断所述移动距离与机械臂可达范围的大小关系;Step S34: calculating the moving distance of the robot arm plane to the planned path and determining the relationship between the moving distance and the reachable range of the robot arm; 步骤S35:若所述移动距离大于机械臂可达范围,则返回执行步骤S1;否则执行步骤S4。Step S35: If the moving distance is greater than the reachable range of the robot arm, return to step S1; otherwise, execute step S4. 7.根据权利要求1所述的用于骨科穿刺的机器人定位方法,其特征在于,所述步骤S5包括:7. The robot positioning method for orthopedic puncture according to claim 1, characterized in that step S5 comprises: 步骤S51:通过X光机重新获取机械臂移动后的不同角度的机械臂影像;Step S51: reacquiring images of the robotic arm at different angles after the robotic arm moves by an X-ray machine; 步骤S52:对重新获取后的所述机械臂影像中的穿刺针进行图像分割确定当前穿刺路径;Step S52: performing image segmentation on the puncture needle in the reacquired robotic arm image to determine the current puncture path; 步骤S53:判断当前穿刺路径是否满足解剖结构的要求,若满足则完成路径规划;Step S53: determining whether the current puncture path meets the requirements of the anatomical structure, and if so, completing the path planning; 若不满足,则执行步骤S2至步骤S4。If not satisfied, execute steps S2 to S4. 8.根据权利要求1至7任一项所述的用于骨科穿刺的机器人定位方法,其特征在于,所述机械臂包括制动臂、参考标记基座和穿刺针套筒,所述穿刺针套筒连接于所述制动臂,所述参考标记基座设置于所述穿刺针套筒;所述制动臂用于控制所述机械臂的运动,所述穿刺针套筒用于安装穿刺器械,所述参考标记基座用于设置标记点,所述穿刺器械包括穿刺针或穿刺导丝。8. The robot positioning method for orthopedic puncture according to any one of claims 1 to 7 is characterized in that the robotic arm includes a brake arm, a reference mark base and a puncture needle sleeve, the puncture needle sleeve is connected to the brake arm, and the reference mark base is arranged on the puncture needle sleeve; the brake arm is used to control the movement of the robotic arm, the puncture needle sleeve is used to install a puncture instrument, the reference mark base is used to set a marking point, and the puncture instrument includes a puncture needle or a puncture guide wire. 9.一种电子设备,其特征在于,包括:9. An electronic device, comprising: 处理器;processor; 用于存储处理器可执行指令的存储器;a memory for storing processor-executable instructions; 其中,所述处理器被配置为执行权利要求1至7中任一项所述的方法步骤。The processor is configured to execute the method steps described in any one of claims 1 to 7. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括存储的程序,其中,在所述程序运行时控制所述计算机可读存储介质所在设备执行权利要求1至7中任一项所述的方法步骤。10. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method steps described in any one of claims 1 to 7.
CN202411680537.7A 2024-11-22 2024-11-22 Robot positioning method, electronic device and storage medium for orthopedic puncture Active CN119732748B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411680537.7A CN119732748B (en) 2024-11-22 2024-11-22 Robot positioning method, electronic device and storage medium for orthopedic puncture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411680537.7A CN119732748B (en) 2024-11-22 2024-11-22 Robot positioning method, electronic device and storage medium for orthopedic puncture

Publications (2)

Publication Number Publication Date
CN119732748A true CN119732748A (en) 2025-04-01
CN119732748B CN119732748B (en) 2025-10-10

Family

ID=95131075

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411680537.7A Active CN119732748B (en) 2024-11-22 2024-11-22 Robot positioning method, electronic device and storage medium for orthopedic puncture

Country Status (1)

Country Link
CN (1) CN119732748B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103313673A (en) * 2010-12-21 2013-09-18 瑞尼斯豪(爱尔兰)有限公司 Method and apparatus for analysing images
CN107928791A (en) * 2017-12-07 2018-04-20 上海钛米机器人科技有限公司 Robot-assisted puncture method, system and device
CN108451656A (en) * 2018-04-04 2018-08-28 北京医院 Spinal three-dimensional localization method
CN114831731A (en) * 2022-05-17 2022-08-02 真健康(北京)医疗科技有限公司 Method, device and system suitable for lung focus positioning in operating room
WO2022199649A1 (en) * 2021-03-24 2022-09-29 上海微创医疗机器人(集团)股份有限公司 Computer-readable storage medium, electronic device, and surgical robot system
CN115222801A (en) * 2021-04-17 2022-10-21 诺创智能医疗科技(杭州)有限公司 Method and device for positioning through X-ray image, X-ray machine and readable storage medium
CN115363767A (en) * 2022-09-15 2022-11-22 武汉库柏特科技有限公司 Puncture surgical robot collision detection method, device, equipment and storage medium
CN115533918A (en) * 2022-11-02 2022-12-30 上海术航机器人有限公司 Calibration method, calibration device, computer equipment and storage medium
WO2023019479A1 (en) * 2021-08-18 2023-02-23 中国科学院深圳先进技术研究院 Robot puncture positioning method and apparatus for biliary tract puncture
CN117137626A (en) * 2023-10-30 2023-12-01 北京三博脑科医院有限公司 A non-invasive registration method for neurosurgery robots

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103313673A (en) * 2010-12-21 2013-09-18 瑞尼斯豪(爱尔兰)有限公司 Method and apparatus for analysing images
CN107928791A (en) * 2017-12-07 2018-04-20 上海钛米机器人科技有限公司 Robot-assisted puncture method, system and device
CN108451656A (en) * 2018-04-04 2018-08-28 北京医院 Spinal three-dimensional localization method
WO2022199649A1 (en) * 2021-03-24 2022-09-29 上海微创医疗机器人(集团)股份有限公司 Computer-readable storage medium, electronic device, and surgical robot system
CN115222801A (en) * 2021-04-17 2022-10-21 诺创智能医疗科技(杭州)有限公司 Method and device for positioning through X-ray image, X-ray machine and readable storage medium
WO2023019479A1 (en) * 2021-08-18 2023-02-23 中国科学院深圳先进技术研究院 Robot puncture positioning method and apparatus for biliary tract puncture
CN114831731A (en) * 2022-05-17 2022-08-02 真健康(北京)医疗科技有限公司 Method, device and system suitable for lung focus positioning in operating room
CN115363767A (en) * 2022-09-15 2022-11-22 武汉库柏特科技有限公司 Puncture surgical robot collision detection method, device, equipment and storage medium
CN115533918A (en) * 2022-11-02 2022-12-30 上海术航机器人有限公司 Calibration method, calibration device, computer equipment and storage medium
CN117137626A (en) * 2023-10-30 2023-12-01 北京三博脑科医院有限公司 A non-invasive registration method for neurosurgery robots

Also Published As

Publication number Publication date
CN119732748B (en) 2025-10-10

Similar Documents

Publication Publication Date Title
US20250177068A1 (en) Optical camera positioning tool
EP3939509A2 (en) C-arm-based medical imaging system, and method for matching 2d image and 3d space
JP4191080B2 (en) Measuring device
CN113081265B (en) Surgical navigation space registration method and device and surgical navigation system
US20200322582A1 (en) Laser projection apparatus, control method thereof, and laser guidance system including the apparatus
CN113974835B (en) A motion control method for surgical robots based on telecentric fixed point constraints
CN114209433B (en) Surgical robot navigation positioning device
CN113768527A (en) Real-time three-dimensional reconstruction method, device and medium based on CT and ultrasonic image fusion
CN118924428A (en) Surgical navigation system and error calibration method, device and storage medium thereof
CN114224428B (en) Osteotomy plane positioning method, system and device
CN119732748B (en) Robot positioning method, electronic device and storage medium for orthopedic puncture
CN118453131A (en) Surgical robot tail end posture adjustment method based on transformation matrix
CN115570569B (en) Robot system guiding method, device, computer equipment and storage medium
US20240407883A1 (en) Calibration method for the automated calibration of a camera with respect to a medical robot, and surgical assistance system
CN113974831B (en) Medical image registration method for surgical navigation
CN115944391A (en) Surgical robot navigation positioning method, device and system
CN108420531B (en) Surgical tool adjusting method, electronic device and clamping device
US20250143816A1 (en) System and method for aligning an imaging device
US20250049410A1 (en) Method and device for determining target detection region of ionization chamber, and storage medium
CN113855238A (en) Registration method, device, medium and electronic equipment for two-dimensional image
CN113876433A (en) Robot system and control method
CN116563380B (en) Butt joint correction method, butt joint correction device, butt joint device and computer equipment
US11213263B2 (en) System and method for positioning a mobile medical imaging system
US20250049517A1 (en) Robot-supported registration method and surgical navigation system
CN116459008A (en) Surgical robot navigation positioning method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant