Non-target object auxiliary separation method, system, medical robot and storage medium
Through the collaborative work of image processing and robotic arm separation devices, the difficulty of clamping in the existing medical clamping robot system when non-target objects are blocked is solved, automatic clamping of the object to be clamped is realized, and the continuity of the operation is ensured. and security.
Patent Information
- Application Number
- CN202110417699.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-19
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2041-04-19
AI Technical Summary
Existing medical grasping robot systems cannot effectively grasp the target object during surgery, especially when the target object is blocked by non-target objects above or below, resulting in surgical interruption or accidents.
By collecting image information of the objects to be clamped and non-target objects, image preprocessing and feature matching are performed, the preset separation path of the separation device and the preset grasping path of the clamping device are planned, and the non-target objects are separated using the robotic arm and the separation device. The object is separated from the object to be clamped, so that the clamping device can smoothly clamp the object to be clamped.
It realizes the automatic completion of the clamping operation when the object to be clamped is blocked by non-target objects, ensuring the normal progress of the medical operation and reducing the fatigue of the assistant and the risk of accidents during the operation.
Smart Images

Figure CN112907594B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical devices, and in particular to a non-target object auxiliary separation method, system, medical robot and storage medium. Background Art
[0002] In traditional medical surgeries, doctors usually need assistants to hold some medical instruments, such as medical clamps, to assist the doctors in completing the surgery. However, in some major surgeries, holding medical instruments for a long time often makes assistants feel tired and difficult to persist, and may also lead to surgical accidents.
[0003] With the development of robot technology, robots in the medical field are also gradually emerging, such as robots used to assist doctors in clamping medical instruments during surgery. However, the existing medical gripping robot system has a single function. When some target objects need to be clamped during surgery, but the target objects are blocked by non-target objects of a certain volume above or below, the target objects can only be seen and clamped by lifting the non-target objects. At this time, the medical gripping robot system cannot work normally, affecting the progress of the surgery. Summary of the invention
[0004] The purpose of the present invention is to provide a non-target object auxiliary separation method, system, medical robot and storage medium, which can smoothly clamp the object to be clamped when the object to be clamped is blocked by the non-target object and cannot be directly clamped, thereby ensuring the normal progress of the medical operation.
[0005] In order to achieve the above objectives, the following technical solutions are provided:
[0006] In a first aspect, the present invention provides a non-target object auxiliary separation method, comprising:
[0007] S1, collecting image information of the object to be clamped and the non-target object, and performing image preprocessing;
[0008] S2, obtaining the relative position relationship between the object to be clamped and the non-target object;
[0009] S3, planning a preset separation path for the separation device and a preset clamping path for the clamping device;
[0010] S4. The separation device separates the non-target object from the object to be clamped along a preset separation path, so that the clamping device can clamp the object to be clamped along the preset clamping path.
[0011] Furthermore, a depth camera is used to collect color images, median filtering and Gaussian filtering are used to reduce the noise of the images, and histogram equalization is used to eliminate brightness differences to obtain the preprocessed images.
[0012] Furthermore, a matching method combining SIFT-based feature matching and seed region growing is used for stereo matching to obtain the disparity map. Combined with the triangulation principle, the camera model is used to calculate the three-dimensional point cloud information of the scene. The discrete three-dimensional point cloud set is smoothed and filtered by the moving least squares method, and triangulation is performed to obtain a single-view three-dimensional model of a continuous smooth surface. Target recognition and segmentation are performed based on the convolutional neural network.
[0013] Furthermore, the planning of the preset separation path and the preset clamping path is completed in the joint space or Cartesian space, the preset separation path of the separation device includes the position parameters, posture parameters, acceleration parameters and speed parameters of the separation device, and the preset clamping path of the clamping device includes the position parameters, posture parameters, acceleration parameters and speed parameters of the clamping device.
[0014] In a second aspect, the present invention further provides a non-target object assisted separation system, which adopts the non-target object assisted separation method as described above, comprising:
[0015] A depth camera, used to collect image information of the object to be clamped and non-target objects;
[0016] A robotic arm with multiple degrees of freedom;
[0017] A gripping device, disposed at the end of the mechanical arm, for gripping an object to be gripped;
[0018] The separation device is arranged on the clamping device and is used to separate the non-target object from the object to be clamped along a preset separation path, so that the clamping device can clamp the object to be clamped along the preset clamping path.
[0019] Furthermore, the clamping device comprises a first clamping arm and a second clamping arm, one end of the first clamping arm is connected to one end of the second clamping arm, and the other end of the first clamping arm can be closed with the other end of the second clamping arm.
[0020] Furthermore, the separation device comprises at least one separation arm, wherein the separation arm is disposed between the first clamping arm and the second clamping arm, and the separation arm is used to separate the non-target object from the object to be clamped.
[0021] Further, the separation arm can move or rotate perpendicularly to the clamping surfaces of the first clamping arm and the second clamping arm.
[0022] In a third aspect, the present invention further provides a medical robot, the medical robot comprising:
[0023] one or more processors;
[0024] A storage device for storing one or more programs;
[0025] When the one or more programs are executed by the one or more processors, the one or more processors implement the non-target object assisted separation method as described above.
[0026] In a fourth aspect, the present invention further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the non-target object auxiliary separation method as described above.
[0027] Compared with the prior art, the non-target object auxiliary separation method, system, medical robot and storage medium provided by the present invention are suitable for assisting doctors to successfully complete the operation during the medical process. When the object to be clamped is blocked by the non-target object and cannot be directly clamped, first, the image information of the object to be clamped and the non-target object is collected, and the image preprocessing is performed. Secondly, the relative position relationship between the object to be clamped and the non-target object is obtained. Then, the preset separation path of the separation device and the preset clamping path of the clamping device are planned. Finally, the separation device separates the non-target object from the object to be clamped along the preset separation path, so that the clamping device can clamp the object to be clamped along the preset clamping path, thereby smoothly clamping the object to be clamped and ensuring the normal progress of the medical operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 A flowchart of a non-target object auxiliary separation method provided in Embodiment 1 of the present invention;
[0029] Figure 2 This is a schematic diagram of the structure of the medical robot provided in Embodiment 3 of the present invention. DETAILED DESCRIPTION
[0030] In order to make the technical problems solved by the present invention, the technical solutions adopted and the technical effects achieved clearer, the technical solutions of the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0031] Embodiment 1
[0032] Figure 1 The flowchart of the non-target object auxiliary separation method provided in this embodiment is as follows: Figure 1 As shown, the non-target object auxiliary separation method includes the following steps:
[0033] S1, collecting image information of the object to be clamped and the non-target object, and performing image preprocessing;
[0034] S2, obtaining the relative position relationship between the object to be clamped and the non-target object;
[0035] S3, planning a preset separation path for the separation device and a preset clamping path for the clamping device;
[0036] S4. The separation device separates the non-target object from the object to be clamped along a preset separation path, so that the clamping device can clamp the object to be clamped along the preset clamping path.
[0037] Furthermore, a depth camera is used to collect color images, and median filtering and Gaussian filtering are used to reduce the noise of the image. Histogram equalization is used to eliminate brightness differences to obtain the preprocessed image. The median filter is a nonlinear smoothing technique that sets the grayscale value of each pixel to the median of the grayscale values of all pixels in a certain neighborhood window of the point. Median filtering is a nonlinear signal processing technique based on sorting statistics theory that can effectively suppress noise. The basic principle of median filtering is to replace the value of a point in a digital image or digital sequence with the median of the values of each point in a neighborhood of the point, so that the surrounding pixel values are close to the true value, thereby eliminating isolated noise points.
[0038] Gaussian filtering is a linear smoothing filter that is suitable for eliminating Gaussian noise and is widely used in the noise reduction process of image processing. In layman's terms, Gaussian filtering is the process of weighted averaging the entire image. The value of each pixel is obtained by weighted averaging the value of itself and other pixels in the neighborhood. The specific operation of Gaussian filtering is: use a template (or convolution, mask) to scan each pixel in the image, and replace the value of the central pixel of the template with the weighted average gray value of the pixels in the neighborhood determined by the template. Most of the noise in the image is Gaussian noise, so Gaussian filters are also widely used. Gaussian filtering is a linear smoothing filter that is suitable for eliminating Gaussian noise. The specific operation of Gaussian filtering is: use a user-specified template (or convolution, mask) to scan each pixel in the image, and replace the value of the central pixel of the template with the weighted average gray value of the pixels in the neighborhood determined by the template.
[0039] Histogram equalization, also known as histogram flattening, is essentially a nonlinear stretching of the image, redistributing the image pixel values so that the number of pixel values within a certain grayscale range is roughly equal. In this way, the contrast of the peak part in the middle of the original histogram is enhanced, while the contrast of the valley part on both sides is reduced, and the histogram of the output image is a relatively flat segmented histogram: if the output data segment value is small, it will produce a rough classification visual effect. The histogram is a statistical relationship that represents the frequency of occurrence of each grayscale in a digital image. The histogram can give an overview of the image grayscale range, the frequency and distribution of each grayscale, the average brightness and contrast of the entire image, etc.
[0040] Furthermore, a matching method combining SIFT-based feature matching and seed region growth is used to perform stereo matching to obtain a disparity map. Combined with the principle of triangulation, the camera model is used to calculate the scene's three-dimensional point cloud information. The discrete three-dimensional point cloud set is smoothed and filtered by the moving least squares method, and triangulation is performed to obtain a single-view three-dimensional model of a continuous smooth surface. Target recognition and segmentation are performed based on a convolutional neural network. SIFT, or scale-invariant feature transform (SIFT). SIFT features are based on some local appearance points of interest on an object and are independent of the size and rotation of the image. They are also quite tolerant of changes in light, noise, and micro-perspective. Based on these characteristics, they are highly significant and relatively easy to capture. In a feature database with a large number of elements, objects can be easily identified and rarely misidentified. The detection rate of partial object occlusion using SIFT feature description is also quite high, and even only three or more SIFT object features are needed to calculate the position and orientation.
[0041] Furthermore, the planning of the preset separation path and the preset clamping path is completed in the joint space or Cartesian space, the preset separation path of the separation device includes the position parameters, posture parameters, acceleration parameters and speed parameters of the separation device, and the preset clamping path of the clamping device includes the position parameters, posture parameters, acceleration parameters and speed parameters of the clamping device. When the preset separation path and the preset clamping path are planned, the position, posture, acceleration and speed on the path are calculated in the joint space or Cartesian space by the dynamic equation, so as to set the corresponding position parameters, posture parameters, acceleration parameters and speed parameters to ensure that the separation device completes the movement according to the preset separation path and the clamping device completes the movement according to the preset clamping path.
[0042] The non-target object auxiliary separation method provided in the present embodiment is suitable for assisting doctors to successfully complete the operation during the medical process. When the object to be clamped is blocked by the non-target object and cannot be directly clamped, first, the image information of the object to be clamped and the non-target object is collected and the image preprocessing is performed. Secondly, the relative position relationship between the object to be clamped and the non-target object is obtained. Then, the preset separation path of the separation device and the preset clamping path of the clamping device are planned. Finally, the separation device separates the non-target object from the object to be clamped along the preset separation path, so that the clamping device can clamp the object to be clamped along the preset clamping path, thereby smoothly clamping the object to be clamped and ensuring the normal progress of the medical operation.
[0043] Embodiment 2
[0044] This embodiment provides a non-target object auxiliary separation system, which can be used in medical processes to assist doctors in successfully completing operations. The non-target object auxiliary separation system provided by the embodiment of the present invention can execute the non-target object auxiliary separation method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0045] The non-target object assisted separation system comprises:
[0046] A depth camera, used to collect image information of the object to be clamped and non-target objects;
[0047] A robotic arm with multiple degrees of freedom;
[0048] A gripping device, disposed at the end of the mechanical arm, for gripping an object to be gripped;
[0049] The separation device is arranged on the clamping device and is used to separate the non-target object from the object to be clamped along a preset separation path, so that the clamping device can clamp the object to be clamped along the preset clamping path.
[0050] Furthermore, the clamping device includes a first clamping arm and a second clamping arm, one end of the first clamping arm is connected to one end of the second clamping arm, and the other end of the first clamping arm can be closed with the other end of the second clamping arm. The first clamping arm and the second clamping arm both have a certain width, so that the force-bearing area of the object to be clamped is larger when clamped, thereby avoiding damage to the object to be clamped. The ends of the first clamping arm and the second clamping arm can be straight or curved, depending on the shape and size of the object to be clamped, which is not limited here.
[0051] Furthermore, the separation device includes at least one separation arm, which is arranged between the first clamping arm and the second clamping arm, and is used to separate the non-target object from the object to be clamped. During operation, first, the non-target object is separated from the object to be clamped by operating the separation arm, and then the object to be clamped is clamped by operating the first clamping arm and the second clamping arm.
[0052] Since non-target objects often block the object to be clamped during surgery, and the non-target objects cannot be moved through the clamping device's own freedom, the separation arm can further move or rotate perpendicular to the clamping surfaces of the first clamping arm and the second clamping arm.
[0053] The non-target object auxiliary separation system provided in the present embodiment is suitable for assisting doctors to successfully complete operations during medical procedures. When the object to be clamped is blocked by the non-target object and cannot be directly clamped, first, image information of the object to be clamped and the non-target object is collected and image preprocessing is performed. Secondly, the relative position relationship between the object to be clamped and the non-target object is obtained. Then, a preset separation path of the separation device and a preset clamping path of the clamping device are planned. Finally, the separation device separates the non-target object from the object to be clamped along the preset separation path, so that the clamping device can clamp the object to be clamped along the preset clamping path, thereby smoothly clamping the object to be clamped and ensuring the normal progress of the medical operation.
[0054] Embodiment 3
[0055] Figure 2 Schematic diagram of the structure of the medical robot in this embodiment. Figure 2 A block diagram of an exemplary medical robot 412 suitable for use in implementing embodiments of the present invention is shown. Figure 2 The displayed medical robot 412 is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0056] like Figure 2 As shown, the medical robot 412 is in the form of a universal terminal. The components of the medical robot 412 may include, but are not limited to: a medical robot body (not shown), one or more processors 416, a storage device 428, and a bus 418 connecting different system components (including the storage device 428 and the processor 416).
[0057] Bus 418 represents one or more of several types of bus structures, including a storage device bus or storage device controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. For example, these architectures include but are not limited to Industry Subversive Alliance (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.
[0058] The medical robot 412 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the medical robot 412, including volatile and non-volatile media, removable and non-removable media.
[0059] The storage device 428 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 430 and / or cache memory 432. The medical robot 412 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 434 may be used to read and write non-removable, non-volatile magnetic media ( Figure 2 not shown, usually called a "hard drive"). Although Figure 2 Not shown in the figure, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk, such as a compact disc read-only memory (CD-ROM), a digital video disc (DVD-ROM) or other optical media) can be provided. In these cases, each drive can be connected to the bus 418 via one or more data medium interfaces. The storage device 428 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the embodiments of the present invention.
[0060] A program / utility 440 having a set (at least one) of program modules 442 may be stored, for example, in storage device 428, such program modules 442 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 442 generally perform the functions and / or methods of the embodiments described herein.
[0061] The medical robot 412 may also communicate with one or more external devices 414 (e.g., a keyboard, a pointing terminal, a display 424, etc.), one or more terminals that enable a user to interact with the medical robot 412, and / or any terminal that enables the medical robot 412 to communicate with one or more other computing terminals (e.g., a network card, a modem, etc.). Such communication may be performed through an input / output (I / O) interface 422. Furthermore, the medical robot 412 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 420. Figure 2As shown, the network adapter 420 communicates with other modules of the medical robot 412 via the bus 418. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the medical robot 412, including but not limited to: microcode, terminal drivers, redundant processors, external disk drive arrays, disk arrays (Redundant Arrays of Independent Disks, RAID) systems, tape drives, and data backup storage systems.
[0062] The processor 416 executes various functional applications and data processing by running the program stored in the storage device 428, such as implementing the non-target object auxiliary separation method provided in the embodiment of the present invention, which includes:
[0063] S1, collecting image information of the object to be clamped and the non-target object, and performing image preprocessing;
[0064] S2, obtaining the relative position relationship between the object to be clamped and the non-target object;
[0065] S3, planning a preset separation path for the separation device and a preset clamping path for the clamping device;
[0066] S4. The separation device separates the non-target object from the object to be clamped along a preset separation path, so that the clamping device can clamp the object to be clamped along the preset clamping path.
[0067] Embodiment 4
[0068] This embodiment provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the non-target object auxiliary separation method provided in the embodiment of the present invention is implemented. The method includes:
[0069] S1, collecting image information of the object to be clamped and the non-target object, and performing image preprocessing;
[0070] S2, obtaining the relative position relationship between the object to be clamped and the non-target object;
[0071] S3, planning a preset separation path for the separation device and a preset clamping path for the clamping device;
[0072] S4. The separation device separates the non-target object from the object to be clamped along a preset separation path, so that the clamping device can clamp the object to be clamped along the preset clamping path.
[0073] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0074] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0075] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0076] Computer program code for performing the operations of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or terminal. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0077] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A non-target object auxiliary separation system, applying a non-target object auxiliary separation method, wherein the non-target object auxiliary separation method comprises: S1, collecting image information of the object to be clamped and the non-target object, and performing image preprocessing; S2, obtaining the relative position relationship between the object to be clamped and the non-target object; S3, planning a preset separation path of the separation device and a preset clamping path of the clamping device; S4, the separation device separates the non-target object from the object to be clamped along the preset separation path, so that the clamping device can clamp the object to be clamped along the preset clamping path; a matching method based on SIFT and a combination of feature matching and seed region growth is used to perform stereo matching to obtain a disparity map, and the three-dimensional point cloud information of the scene is calculated using a camera model in combination with the triangulation principle, and the discrete three-dimensional point cloud set is smoothed and filtered by the moving least squares method, and triangulation is performed to obtain a single-view three-dimensional model of a continuous smooth surface, and target recognition and segmentation are performed based on a convolutional neural network; a color image is collected using a depth camera, and median filtering and Gaussian filtering are used to reduce the noise of the image, and histogram equalization is used to eliminate brightness differences to obtain a pre-processed image; The planning of the preset separation path and the preset clamping path is completed in the joint space or Cartesian space. The preset separation path of the separation device includes the position parameters, posture parameters, acceleration parameters and speed parameters of the separation device. The preset clamping path of the clamping device includes the position parameters, posture parameters, acceleration parameters and speed parameters of the clamping device. It is characterized in that it includes: A depth camera, used to collect image information of the object to be clamped and non-target objects; A robotic arm with multiple degrees of freedom; A gripping device, disposed at the end of the mechanical arm, for gripping an object to be gripped; A separation device, disposed on the clamping device, for separating the non-target object from the object to be clamped along a preset separation path, so that the clamping device can clamp the object to be clamped along the preset clamping path; The clamping device comprises a first clamping arm and a second clamping arm, one end of the first clamping arm is connected to one end of the second clamping arm, and the other end of the first clamping arm can be closed with the other end of the second clamping arm; The separation device comprises at least one separation arm, wherein the separation arm is arranged between the first clamping arm and the second clamping arm, and the separation arm is used to separate a non-target object from an object to be clamped.
2. The non-target object auxiliary separation system according to claim 1, characterized in that: The separating arm can move or rotate perpendicularly to the clamping surfaces of the first clamping arm and the second clamping arm.
3. A medical robot, characterized in that: The medical robot comprises: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the non-target object assisted separation method as claimed in claim 1.
4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the non-target object auxiliary separation method as claimed in claim 1 is implemented.
