CN118236166B - Automatic tracking system and method for surgical instruments - Google Patents
Automatic tracking system and method for surgical instruments Download PDFInfo
- Publication number
- CN118236166B CN118236166B CN202410657843.2A CN202410657843A CN118236166B CN 118236166 B CN118236166 B CN 118236166B CN 202410657843 A CN202410657843 A CN 202410657843A CN 118236166 B CN118236166 B CN 118236166B
- Authority
- CN
- China
- Prior art keywords
- robotic arm
- fill light
- information
- image
- image sensor
- 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.)
- Active
Links
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B34/00—Computer-aided surgery; Manipulators or robots specially adapted for use in surgery
- A61B34/20—Surgical navigation systems; Devices for tracking or guiding surgical instruments, e.g. for frameless stereotaxis
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/10—Image acquisition
- G06V10/12—Details of acquisition arrangements; Constructional details thereof
- G06V10/14—Optical characteristics of the device performing the acquisition or on the illumination arrangements
- G06V10/141—Control of illumination
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/10—Image acquisition
- G06V10/12—Details of acquisition arrangements; Constructional details thereof
- G06V10/14—Optical characteristics of the device performing the acquisition or on the illumination arrangements
- G06V10/147—Details of sensors, e.g. sensor lenses
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/25—Determination of region of interest [ROI] or a volume of interest [VOI]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/82—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B34/00—Computer-aided surgery; Manipulators or robots specially adapted for use in surgery
- A61B34/20—Surgical navigation systems; Devices for tracking or guiding surgical instruments, e.g. for frameless stereotaxis
- A61B2034/2046—Tracking techniques
- A61B2034/2055—Optical tracking systems
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B34/00—Computer-aided surgery; Manipulators or robots specially adapted for use in surgery
- A61B34/20—Surgical navigation systems; Devices for tracking or guiding surgical instruments, e.g. for frameless stereotaxis
- A61B2034/2046—Tracking techniques
- A61B2034/2065—Tracking using image or pattern recognition
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V2201/00—Indexing scheme relating to image or video recognition or understanding
- G06V2201/03—Recognition of patterns in medical or anatomical images
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V2201/00—Indexing scheme relating to image or video recognition or understanding
- G06V2201/07—Target detection
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Evolutionary Computation (AREA)
- Life Sciences & Earth Sciences (AREA)
- Surgery (AREA)
- Robotics (AREA)
- Computing Systems (AREA)
- Software Systems (AREA)
- Vascular Medicine (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Databases & Information Systems (AREA)
- Artificial Intelligence (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Molecular Biology (AREA)
- Animal Behavior & Ethology (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Manipulator (AREA)
Abstract
本发明涉及一种手术器械的自动跟踪系统及方法。所述系统包括:机械臂;视觉传感单元,设置在所述机械臂的末端,用于获取图像数据;上位机,与所述视觉传感单元连接,用于基于神经网络模型对所述图像数据进行分析,得到所述手术器械的位置信息和生物腔体组织的位置信息,并根据所述手术器械的位置信息和生物腔体组织的位置信息,得到所述机械臂的移动信息;控制单元,与所述上位机和机械臂连接,用于根据所述机械臂的移动信息,控制所述机械臂的运动方向。本发明能够自动跟踪手术器械,代替人工操作腔镜,操作更加精准,且成本比手术机器人低。
The present invention relates to an automatic tracking system and method for surgical instruments. The system comprises: a robotic arm; a visual sensing unit, arranged at the end of the robotic arm, for acquiring image data; a host computer, connected to the visual sensing unit, for analyzing the image data based on a neural network model, obtaining the position information of the surgical instrument and the position information of the biological cavity tissue, and obtaining the movement information of the robotic arm according to the position information of the surgical instrument and the position information of the biological cavity tissue; a control unit, connected to the host computer and the robotic arm, for controlling the movement direction of the robotic arm according to the movement information of the robotic arm. The present invention can automatically track surgical instruments, replacing manual operation of the laparoscope, with more precise operation and lower cost than a surgical robot.
Description
技术领域Technical Field
本发明涉及智能控制技术领域,特别是涉及一种手术器械的自动跟踪系统及方法。The present invention relates to the field of intelligent control technology, and in particular to an automatic tracking system and method for surgical instruments.
背景技术Background Art
腔镜手术是微创手术的一种,通过锁眼大小的切口,外科医师可以插入腔镜和手术器械。外科医师通过传输到监视器中的图像,引导操作手术器械实施手术。相对于传统手术,腔镜手术的切口小,损伤少,术后疼痛轻,恢复快,已成为临床上常用的手术方式。Laparoscopic surgery is a type of minimally invasive surgery. Through a keyhole-sized incision, surgeons can insert a laparoscope and surgical instruments. Surgeons use images transmitted to the monitor to guide the operation of surgical instruments to perform the operation. Compared with traditional surgery, laparoscopic surgery has smaller incisions, less damage, less postoperative pain, and faster recovery. It has become a commonly used surgical method in clinical practice.
在手术过程中,外科医师需要长时间引导腔镜对腔体内生物组织以及手术器械的位置进行拍摄,以传输到监视器。由于人手动作的不稳定性,以及长时间不间断操作等原因,腔镜的移动可能会对腔体内生物组织造成碰撞,导致腔镜污损,以及腔体内生物组织的损伤。During the operation, surgeons need to guide the laparoscope for a long time to take pictures of the biological tissues in the cavity and the position of surgical instruments, and transmit them to the monitor. Due to the instability of human hand movements and long-term uninterrupted operation, the movement of the laparoscope may cause collision with the biological tissues in the cavity, resulting in contamination of the laparoscope and damage to the biological tissues in the cavity.
近年来,随着机器人技术与医学科学的交叉发展,手术机器人得到越来越多的广泛应用。相较于传统的人工操作,手术机器人的运动与观察具有高度准确性和可靠性。但是,现有的手术机器人成本大幅高于传统手术。In recent years, with the cross-development of robotics and medical science, surgical robots have been increasingly widely used. Compared with traditional manual operations, the movement and observation of surgical robots are highly accurate and reliable. However, the cost of existing surgical robots is much higher than that of traditional surgery.
发明内容Summary of the invention
基于此,本发明的目的在于,提供一种手术器械的自动跟踪系统及方法。Based on this, an object of the present invention is to provide an automatic tracking system and method for surgical instruments.
第一方面,本发明提供一种手术器械的自动跟踪系统,包括:In a first aspect, the present invention provides an automatic tracking system for a surgical instrument, comprising:
机械臂;Robotic arm;
视觉传感单元,设置在所述机械臂的末端,用于获取图像数据;A visual sensing unit, disposed at the end of the robotic arm, for acquiring image data;
上位机,与所述视觉传感单元连接,用于基于神经网络模型对所述图像数据进行分析,得到所述手术器械的位置信息和生物腔体组织的位置信息,并根据所述手术器械的位置信息和生物腔体组织的位置信息,得到所述机械臂的移动信息;A host computer connected to the visual sensing unit, configured to analyze the image data based on a neural network model to obtain position information of the surgical instrument and position information of the biological cavity tissue, and obtain movement information of the robotic arm according to the position information of the surgical instrument and the position information of the biological cavity tissue;
控制单元,与所述上位机和机械臂连接,用于根据所述机械臂的移动信息,控制所述机械臂的运动方向。A control unit is connected to the host computer and the robotic arm, and is used to control the movement direction of the robotic arm according to the movement information of the robotic arm.
与现有技术相比,本发明通过神经网络模型对图像数据进行分析,获得手术器械的位置信息和生物腔体组织信息,进而得到机械臂的移动信息,从而能够自动跟踪手术器械,代替人工操作腔镜,操作更加精准,且成本比手术机器人低。Compared with the existing technology, the present invention analyzes image data through a neural network model to obtain the position information of surgical instruments and biological cavity tissue information, and then obtains the movement information of the robotic arm, so that it can automatically track surgical instruments and replace manual operation of the laparoscope. The operation is more precise and the cost is lower than that of a surgical robot.
在其中一个实施例中,所述视觉传感单元包括图像传感器,所述图像传感器为单目或双目摄像头;In one of the embodiments, the visual sensing unit includes an image sensor, and the image sensor is a monocular or binocular camera;
所述上位机用于,基于神经网络模型对所述图像数据进行目标检测,识别所述手术器械和生物腔体组织;根据所述手术器械和生物腔体组织的像素信息,通过视频测距算法得到所述手术器械与图像传感器的第一距离信息,以及所述生物腔体组织与图像传感器的第二距离信息;根据所述第一距离信息和第二距离信息,得到所述机械臂的移动信息。The host computer is used to perform target detection on the image data based on a neural network model to identify the surgical instrument and the biological cavity tissue; obtain first distance information between the surgical instrument and the image sensor, and second distance information between the biological cavity tissue and the image sensor through a video ranging algorithm based on pixel information of the surgical instrument and the biological cavity tissue; and obtain movement information of the robotic arm based on the first distance information and the second distance information.
在其中一个实施例中,所述视觉传感单元包括:In one embodiment, the visual sensing unit comprises:
图像传感器,用于获取图像数据;An image sensor, used for acquiring image data;
补光元件,用于对所述图像传感器进行补光。A fill light element is used to provide fill light to the image sensor.
在其中一个实施例中,所述上位机用于,将所述图像数据分为补光图像和位置信息图像,并根据所述补光图像控制所述补光元件进行补光,根据所述位置信息图像得到所述机械臂的移动信息。In one of the embodiments, the host computer is used to divide the image data into a fill light image and a position information image, and control the fill light element to perform fill light according to the fill light image, and obtain the movement information of the robot arm according to the position information image.
在其中一个实施例中,所述上位机用于,判断所述补光图像的亮度是否低于预设阈值;若是,控制所述补光元件进行补光。In one of the embodiments, the host computer is used to determine whether the brightness of the fill light image is lower than a preset threshold; if so, control the fill light element to perform fill light.
第二方面,本发明提供一种手术器械的自动跟踪方法,包括步骤:In a second aspect, the present invention provides an automatic tracking method for a surgical instrument, comprising the steps of:
S10:获取图像传感器传输的图像数据;S10: Acquire image data transmitted by the image sensor;
S20:基于神经网络模型对所述图像数据进行分析,得到手术器械的位置信息和生物腔体组织的位置信息;S20: Analyze the image data based on a neural network model to obtain position information of the surgical instrument and position information of the biological cavity tissue;
S30:根据所述手术器械的位置信息和生物腔体组织的位置信息,得到机械臂的移动信息;S30: obtaining movement information of the robotic arm according to the position information of the surgical instrument and the position information of the biological cavity tissue;
S40:将所述机械臂的移动信息发送至控制单元。S40: Sending the movement information of the robot arm to a control unit.
在其中一个实施例中,步骤S20包括:In one embodiment, step S20 includes:
S21:将所述图像数据分为补光图像和位置信息图像;S21: dividing the image data into a fill light image and a position information image;
S22A:判断所述补光图像的亮度是否预设低于阈值;若是,控制所述视觉传感单元的补光元件进行补光;S22A: Determine whether the brightness of the fill-light image is lower than a preset threshold; if so, control the fill-light element of the visual sensing unit to perform fill-light;
S22B:基于神经网络模型对所述位置信息图像进行目标检索,识别手术器械和生物腔体组织;S22B: performing target retrieval on the position information image based on a neural network model to identify surgical instruments and biological cavity tissues;
S23:根据所述手术器械和生物腔体组织的像素信息,通过视频测距算法得到所述手术器械与图像传感器的第一距离信息,以及生物腔体组织与图像传感器的第二距离信息。S23: According to the pixel information of the surgical instrument and the biological cavity tissue, obtain the first distance information between the surgical instrument and the image sensor, and the second distance information between the biological cavity tissue and the image sensor through a video ranging algorithm.
第三方面,本发明提供一种手术器械的自动跟踪装置,包括:In a third aspect, the present invention provides an automatic tracking device for a surgical instrument, comprising:
图像数据获取模块,用于获取图像传感器传输的图像数据;An image data acquisition module, used to acquire image data transmitted by an image sensor;
位置信息分析模块,用于基于神经网络模型对所述图像数据进行分析,得到手术器械的位置信息和生物腔体组织的位置信息;A position information analysis module, used to analyze the image data based on a neural network model to obtain position information of surgical instruments and position information of biological cavity tissue;
移动信息获取模块,用于根据所述手术器械的位置信息和生物腔体组织的位置信息,得到机械臂的移动信息;A movement information acquisition module, used to obtain movement information of the robot arm according to the position information of the surgical instrument and the position information of the biological cavity tissue;
移动信息发送模块,用于将所述机械臂的移动信息发送至控制单元。The movement information sending module is used to send the movement information of the mechanical arm to the control unit.
第四方面,本发明提供一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现前述的方法的步骤。In a fourth aspect, the present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the aforementioned method when executing the computer program.
第五方面,本发明提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现前述的方法的步骤。In a fifth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the aforementioned method when executed by a processor.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例或传统技术中的技术方案,下面将对实施例或传统技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the conventional technology, the drawings required for use in the embodiments or the conventional technology descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
图1为本发明一个实施例的手术器械的自动跟踪系统的结构示意图;FIG1 is a schematic diagram of the structure of an automatic tracking system for surgical instruments according to an embodiment of the present invention;
图2为本发明一个实施例的手术器械的自动跟踪方法的流程图;FIG2 is a flow chart of an automatic tracking method for a surgical instrument according to an embodiment of the present invention;
图3为本发明一个实施例的手术器械的自动跟踪装置的结构示意图。FIG. 3 is a schematic structural diagram of an automatic tracking device for a surgical instrument according to an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
为了便于理解本发明,下面将参照相关附图对本申请进行更全面的描述。附图中给出了本发明的实施例。但是,本发明可以以许多不同的形式来实现,并不限于本文所描述的实施例。相反地,提供这些实施例的目的是使本发明的公开内容更加透彻全面。In order to facilitate understanding of the present invention, the present application will be described more fully below with reference to the relevant drawings. Embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.
需要说明的是,当一个元件被认为是“连接”另一个元件时,它可以是直接连接到另一个元件,或者通过居中元件连接另一个元件。此外,以下实施例中的“连接”,如果被连接的对象之间具有电信号或数据的传递,则应理解为“电连接”、“通信连接”等。It should be noted that when an element is considered to be "connected" to another element, it can be directly connected to the other element, or connected to the other element through an intermediate element. In addition, the "connection" in the following embodiments should be understood as "electrical connection", "communication connection", etc. if there is transmission of electrical signals or data between the connected objects.
针对现有人工操作腔镜的不稳定性,以及手术机器人成本过高的问题,本发明提供一种手术器械的自动跟踪系统及方法,上位机通过神经网络模型对图像数据进行分析,获得手术器械的位置信息和生物腔体组织信息,进而得到机械臂的移动信息,从而能够自动跟踪手术器械,代替人工操作腔镜。In view of the instability of existing manually operated laparoscopes and the high cost of surgical robots, the present invention provides an automatic tracking system and method for surgical instruments. The host computer analyzes image data through a neural network model to obtain the position information of the surgical instrument and the biological cavity tissue information, and then obtains the movement information of the robotic arm, so as to automatically track the surgical instrument and replace the manual operation of the laparoscope.
请参阅图1,本发明手术器械的自动跟踪系统,包括机械臂10、步进电机20、视觉传感单元30、上位机40、控制单元50和显示单元60。其中,步进电机20和视觉传感单元30设置在机械臂10上,且视觉传感单元30位于机械臂10的末端。1 , the automatic tracking system of the surgical instrument of the present invention comprises a robotic arm 10, a stepping motor 20, a visual sensor unit 30, a host computer 40, a control unit 50 and a display unit 60. The stepping motor 20 and the visual sensor unit 30 are arranged on the robotic arm 10, and the visual sensor unit 30 is located at the end of the robotic arm 10.
具体的,机械臂10为六轴机械臂,具有六个自由度,可以作出几乎任何轨迹的运动。步进电机20可提供六自由度,转动精度达到0.007°,能够保证跟踪拍摄画面和速度的稳定。Specifically, the robot arm 10 is a six-axis robot arm with six degrees of freedom, and can make almost any trajectory movement. The stepper motor 20 can provide six degrees of freedom, and the rotation accuracy reaches 0.007°, which can ensure the stability of the tracking shooting picture and speed.
视觉传感单元30包括图像传感器31和补光元件32。其中,图像传感器31用于获取图像数据,补光元件32用于对所述图像传感器进行补光。The visual sensing unit 30 includes an image sensor 31 and a fill light element 32. The image sensor 31 is used to acquire image data, and the fill light element 32 is used to fill light for the image sensor.
具体的,图像传感器31采用非球面设计的成像镜头,像素为6400万,使得物体图像成像分辨率高,图像完整清晰,且视野宽阔。本发明实施例中,图像传感器31为单目或双目摄像头,可以通过图像信息获得物体的距离信息。补光元件32包括六个高流明LED灯,对不同环境均有较好的适应性,能够使成像色还原现实。Specifically, the image sensor 31 adopts an imaging lens with an aspherical design and a pixel of 64 million, so that the image resolution of the object is high, the image is complete and clear, and the field of view is wide. In the embodiment of the present invention, the image sensor 31 is a monocular or binocular camera, and the distance information of the object can be obtained through the image information. The fill light element 32 includes six high-lumen LED lights, which have good adaptability to different environments and can restore the image color to reality.
上位机40与视觉传感单元30连接,用于基于神经网络模型对所述图像数据进行分析,得到所述手术器械的位置信息和生物腔体组织的位置信息,并根据所述手术器械的位置信息和生物腔体组织的位置信息,得到所述机械臂10的移动信息。具体的,上位机40将图像数据分为补光图像和位置信息图像,判断补光图像的亮度是否低于阈值,并根据位置信息图像得到手术器械的位置信息和生物腔体组织的位置信息。The host computer 40 is connected to the visual sensing unit 30, and is used to analyze the image data based on the neural network model to obtain the position information of the surgical instrument and the position information of the biological cavity tissue, and obtain the movement information of the robot arm 10 according to the position information of the surgical instrument and the position information of the biological cavity tissue. Specifically, the host computer 40 divides the image data into a fill light image and a position information image, determines whether the brightness of the fill light image is lower than a threshold, and obtains the position information of the surgical instrument and the position information of the biological cavity tissue according to the position information image.
本发明实施例中,图像传感器31获取一秒钟的视频图像,上位机40将前一半秒的图像数据作为补光图像,另一半秒的图像数据作为位置信息图像。针对补光图像,上位机40采用灰度直方图进行量化分析,得到补光图像的亮度值。当补光图像的亮度值低于预设阈值时,上位机40发送变量命令控制补光元件32进行补光。In the embodiment of the present invention, the image sensor 31 acquires a video image of one second, and the host computer 40 uses the image data of the first half second as the fill light image, and the image data of the other half second as the position information image. For the fill light image, the host computer 40 uses the grayscale histogram for quantitative analysis to obtain the brightness value of the fill light image. When the brightness value of the fill light image is lower than the preset threshold, the host computer 40 sends a variable command to control the fill light element 32 to perform fill light.
针对位置信息图像,上位机40进行降噪处理后,通过神经网络模型进行目标检测,识别到手术器械和生物腔体组织;根据手术器械和生物腔体组织的像素信息,通过视频测距算法,得到手术器械与图像传感器31的第一距离信息,以及生物腔体组织与图像传感器31的第二距离信息;根据第一距离信息和第二距离信息,得到机械臂10的移动信息。For the position information image, after performing noise reduction processing, the host computer 40 performs target detection through a neural network model to identify the surgical instrument and the biological cavity tissue; based on the pixel information of the surgical instrument and the biological cavity tissue, the first distance information between the surgical instrument and the image sensor 31 and the second distance information between the biological cavity tissue and the image sensor 31 are obtained through a video ranging algorithm; based on the first distance information and the second distance information, the movement information of the robotic arm 10 is obtained.
具体的,基于图像传感器31为原点建立坐标系,得到手术器械的位置点以及生物腔体组织的位置点。为了避免机械臂10碰撞到生物腔体组织,本发明预设一距离阈值,上位机40根据这一距离阈值、手术器械的位置点以及生物腔体组织的位置点,得到机械臂10的移动位置点,并将这一移动位置点发送给控制器。同时,上位机40还可以将图像数据发送至显示单元60,以供医生查看。Specifically, a coordinate system is established based on the image sensor 31 as the origin to obtain the position point of the surgical instrument and the position point of the biological cavity tissue. In order to prevent the robot arm 10 from colliding with the biological cavity tissue, the present invention presets a distance threshold. The host computer 40 obtains the moving position point of the robot arm 10 based on this distance threshold, the position point of the surgical instrument and the position point of the biological cavity tissue, and sends this moving position point to the controller. At the same time, the host computer 40 can also send the image data to the display unit 60 for the doctor to view.
本发明实施例中,神经网络模型采用改进的DenseNet结构,由124层神经网络组成。并且,神经网络模型采用LReLy激活函数,这是LReLU的一个变种,它允许负输入值有一个小的非零输出,从而解决了LReLU在负输入值下会完全关闭梯度的问题使得神经网络模型模型在不同的输入数据上有更好的表现,特别是在存在轻微负值输入时依然能保持良好的激活状态,避免了神经元死亡问题。进一步,为了提高手术器械识别的准确率,本发明利用训练集对神经网络模型进行优化训练。其中,训练集为包括各种腔镜手术过程中包含生物腔体组织和手术器械的图像集合。In an embodiment of the present invention, the neural network model adopts an improved DenseNet structure, which is composed of 124 layers of neural networks. In addition, the neural network model adopts the LReLy activation function, which is a variant of LReLU, which allows negative input values to have a small non-zero output, thereby solving the problem that LReLU will completely shut down the gradient under negative input values, so that the neural network model has better performance on different input data, especially when there is a slight negative input. It can still maintain a good activation state and avoid the problem of neuron death. Furthermore, in order to improve the accuracy of surgical instrument recognition, the present invention uses a training set to optimize the training of the neural network model. Among them, the training set is a collection of images including biological cavity tissues and surgical instruments during various laparoscopic surgeries.
控制单元50与上位机40和步进电机20连接,用于根据机械臂10的移动信息,控制机械臂10的运动方向。The control unit 50 is connected to the host computer 40 and the stepper motor 20 , and is used to control the movement direction of the robot arm 10 according to the movement information of the robot arm 10 .
具体的,控制单元50解析机械臂10的移动位置点,并通过六轴机械臂运动学解算出各个步进电机20所需要转动的角度,然后将对应角度发送给各个步进电机20,通过矢量闭环控制将机械臂10精确且稳定的移动到上位机10发送的移动位置点。Specifically, the control unit 50 analyzes the moving position point of the robot arm 10, and calculates the angle that each stepper motor 20 needs to rotate through the kinematics of the six-axis robot arm, and then sends the corresponding angle to each stepper motor 20, and uses vector closed-loop control to accurately and stably move the robot arm 10 to the moving position point sent by the host computer 10.
相对于现有技术,本发明通过神经网络模型对图像数据进行分析,获得手术器械的位置信息和生物腔体组织信息,进而得到机械臂的移动信息,从而能够自动跟踪手术器械,代替人工操作腔镜,操作更加精准,且成本比手术机器人低。另外,本发明还设置有补光元件,根据图像数据控制补光元件进行补光,提高神经网络模型的识别能力。并且,本发明对图像数据同时进行亮度分析和目标检测,采用双线程以动态的适应环境。Compared with the prior art, the present invention analyzes the image data through a neural network model to obtain the position information of the surgical instrument and the biological cavity tissue information, and then obtains the movement information of the robotic arm, so that the surgical instrument can be automatically tracked, replacing the manual operation of the laparoscope, and the operation is more precise, and the cost is lower than that of the surgical robot. In addition, the present invention is also provided with a fill light element, which controls the fill light element to perform fill light according to the image data, thereby improving the recognition ability of the neural network model. Moreover, the present invention simultaneously performs brightness analysis and target detection on the image data, and adopts dual threads to dynamically adapt to the environment.
基于同一发明构思,本发明实施例还提供了一种手术器械的自动跟踪方法。该方法所提供的解决问题的实现方案与上述系统中所记载的实现方案相似,故下面所提供的手术器械的自动跟踪方法的具体限定可以参见上文对于手术器械的自动跟踪系统的限定,在此不再赘述。Based on the same inventive concept, an embodiment of the present invention also provides an automatic tracking method for surgical instruments. The implementation solution provided by the method is similar to the implementation solution recorded in the above system, so the specific definition of the automatic tracking method for surgical instruments provided below can refer to the definition of the automatic tracking system for surgical instruments above, and will not be repeated here.
请参阅图2,本发明手术器械的自动跟踪方法,应用于图1中上位机40,包括以下步骤:Please refer to FIG. 2 , the automatic tracking method of the surgical instrument of the present invention is applied to the host computer 40 in FIG. 1 , and includes the following steps:
S10:获取图像传感器31传输的图像数据。S10: Acquire image data transmitted by the image sensor 31 .
S21:将所述图像数据分为补光图像和位置信息图像。S21: dividing the image data into a fill-in light image and a position information image.
S22A:判断所述补光图像的亮度是否低于预设阈值;若是,控制所述视觉传感单元的补光元件进行补光。S22A: Determine whether the brightness of the fill-light image is lower than a preset threshold; if so, control the fill-light element of the visual sensing unit to perform fill-light.
S22B:基于神经网络模型对所述位置信息图像进行目标检测,识别手术器械和生物腔体组织。S22B: Perform target detection on the position information image based on a neural network model to identify surgical instruments and biological cavity tissues.
S23:根据手术器械和生物腔体组织的像素信息,通过视频测距算法得到手术器械与图像传感器31的第一距离信息,以及生物腔体组织与图像传感器31的第二距离信息。S23: According to the pixel information of the surgical instrument and the biological cavity tissue, the first distance information between the surgical instrument and the image sensor 31 and the second distance information between the biological cavity tissue and the image sensor 31 are obtained by a video ranging algorithm.
S30:根据第一距离信息和第二距离信息,得到机械臂10的移动信息。S30: Obtain movement information of the robot arm 10 according to the first distance information and the second distance information.
S40:将机械臂10的移动信息发送至控制单元50。S40 : Sending the movement information of the robot arm 10 to the control unit 50 .
基于同一发明构思,本发明实施例还提供一种用于实现上述所涉及的手术器械的自动跟踪方法的手术器械的自动跟踪装置。请参阅图3,本发明手术器械的自动跟踪装置,包括图像数据获取模块、位置信息分析模块、移动信息获取模块和移动信息发送模块,其中:Based on the same inventive concept, an embodiment of the present invention further provides an automatic tracking device for a surgical instrument for implementing the automatic tracking method of a surgical instrument mentioned above. Referring to FIG3 , the automatic tracking device for a surgical instrument of the present invention comprises an image data acquisition module, a position information analysis module, a movement information acquisition module and a movement information sending module, wherein:
图像数据获取模块,用于获取图像传感器传输的图像数据;An image data acquisition module, used to acquire image data transmitted by an image sensor;
位置信息分析模块,用于基于神经网络模型对所述图像数据进行分析,得到手术器械的位置信息和生物腔体组织的位置信息;A position information analysis module, used to analyze the image data based on a neural network model to obtain position information of surgical instruments and position information of biological cavity tissue;
移动信息获取模块,用于根据所述手术器械的位置信息和生物腔体组织的位置信息,得到机械臂的移动信息;A movement information acquisition module, used to obtain movement information of the robot arm according to the position information of the surgical instrument and the position information of the biological cavity tissue;
移动信息发送模块,用于将机械臂的移动信息发送至控制单元。The movement information sending module is used to send the movement information of the robot arm to the control unit.
基于同一发明构思,本发明实施例还提供一种计算机设备,可以是服务器、台式计算设备或移动计算设备(例如,膝上型计算设备、手持计算设备、平板电脑、上网本等)等终端设备。该设备包括一个或多个处理器和存储器,其中处理器用于执行程序实现方法实施例的手术器械的自动跟踪方法;存储器用于存储可由所述处理器执行的计算机程序。Based on the same inventive concept, an embodiment of the present invention also provides a computer device, which may be a terminal device such as a server, a desktop computing device or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet computer, a netbook, etc.). The device includes one or more processors and a memory, wherein the processor is used to execute the automatic tracking method of the surgical instrument of the program implementation method embodiment; and the memory is used to store a computer program executable by the processor.
基于同一发明构思,本发明实施例还提供一种计算机存储介质,与前述手术器械的自动跟踪方法的实施例相对应,所述计算机存储介质其上存储有计算机程序,该程序被处理器执行时实现上述任一实施例所记载的手术器械的自动跟踪方法的步骤。Based on the same inventive concept, an embodiment of the present invention also provides a computer storage medium, corresponding to the embodiment of the aforementioned automatic tracking method of surgical instruments, wherein the computer storage medium stores a computer program thereon, and when the program is executed by a processor, the steps of the automatic tracking method of surgical instruments recorded in any of the aforementioned embodiments are implemented.
本申请可采用在一个或多个其中包含有程序代码的存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。计算机可用存储介质包括永久性和非永久性、可移动和非可移动媒体,可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括但不限于:相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。The present application may take the form of a computer program product implemented on one or more storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing program code. Computer-usable storage media include permanent and non-permanent, removable and non-removable media, and information storage can be achieved by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include but are not limited to: phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410657843.2A CN118236166B (en) | 2024-05-27 | 2024-05-27 | Automatic tracking system and method for surgical instruments |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410657843.2A CN118236166B (en) | 2024-05-27 | 2024-05-27 | Automatic tracking system and method for surgical instruments |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN118236166A CN118236166A (en) | 2024-06-25 |
| CN118236166B true CN118236166B (en) | 2024-10-18 |
Family
ID=91560742
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202410657843.2A Active CN118236166B (en) | 2024-05-27 | 2024-05-27 | Automatic tracking system and method for surgical instruments |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118236166B (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104783897A (en) * | 2015-03-11 | 2015-07-22 | 西安交通大学医学院第一附属医院 | Bundled multi-arm intelligent surgical operation auxiliary device |
| CN108778085A (en) * | 2016-03-09 | 2018-11-09 | 索尼公司 | Image processing equipment, endoscope surgery system and image processing method |
| CN112672709A (en) * | 2018-07-31 | 2021-04-16 | 直观外科手术操作公司 | System and method for tracking the position of a robotically-manipulated surgical instrument |
| CN114948209A (en) * | 2022-05-30 | 2022-08-30 | 上海微创医疗机器人(集团)股份有限公司 | Surgical field tracking and adjusting method and surgical robot system |
| CN115153397A (en) * | 2022-06-16 | 2022-10-11 | 武汉迈瑞医疗技术研究院有限公司 | Imaging method for endoscopic camera system and endoscopic camera system |
-
2024
- 2024-05-27 CN CN202410657843.2A patent/CN118236166B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104783897A (en) * | 2015-03-11 | 2015-07-22 | 西安交通大学医学院第一附属医院 | Bundled multi-arm intelligent surgical operation auxiliary device |
| CN108778085A (en) * | 2016-03-09 | 2018-11-09 | 索尼公司 | Image processing equipment, endoscope surgery system and image processing method |
| CN112672709A (en) * | 2018-07-31 | 2021-04-16 | 直观外科手术操作公司 | System and method for tracking the position of a robotically-manipulated surgical instrument |
| CN114948209A (en) * | 2022-05-30 | 2022-08-30 | 上海微创医疗机器人(集团)股份有限公司 | Surgical field tracking and adjusting method and surgical robot system |
| CN115153397A (en) * | 2022-06-16 | 2022-10-11 | 武汉迈瑞医疗技术研究院有限公司 | Imaging method for endoscopic camera system and endoscopic camera system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118236166A (en) | 2024-06-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Bawa et al. | The saras endoscopic surgeon action detection (esad) dataset: Challenges and methods | |
| JP7802047B2 (en) | System and method for tracking the position of a robotically operated surgical instrument | |
| CN113538522B (en) | An instrument visual tracking method for laparoscopic minimally invasive surgery | |
| Probst et al. | Automatic tool landmark detection for stereo vision in robot-assisted retinal surgery | |
| Fathabadi et al. | Box-trainer assessment system with real-time multi-class detection and tracking of laparoscopic instruments, using CNN | |
| US20220392084A1 (en) | Scene perception systems and methods | |
| Le et al. | Robust surgical tool detection in laparoscopic surgery using yolov8 model | |
| Pakhomov et al. | Towards unsupervised learning for instrument segmentation in robotic surgery with cycle-consistent adversarial networks | |
| CN115363750A (en) | A method and system for limiting the speed of a surgical robot | |
| Liu et al. | SINet: A hybrid deep CNN model for real-time detection and segmentation of surgical instruments | |
| CN117481823A (en) | Auxiliary mirror-holding robot control method, system and medium based on binocular vision | |
| Sauvée et al. | Three-dimensional heart motion estimation using endoscopic monocular vision system: From artificial landmarks to texture analysis | |
| CN118236166B (en) | Automatic tracking system and method for surgical instruments | |
| Sahu et al. | Instrument state recognition and tracking for effective control of robotized laparoscopic systems | |
| CN115002447A (en) | Endoscope evaluation method, system and storage medium | |
| CN119850435B (en) | Endoscopic image fusion method and electronic device | |
| US12458466B2 (en) | Flexible and tensioned camera apparatus with electronic module system for enabling maneuverable stereoscopic field of view | |
| Lin et al. | Visuomotor grasping with world models for surgical robots | |
| WO2024115777A1 (en) | Synthetic data generation | |
| CN116977789A (en) | Image tag generation method, device and system, media and computing equipment | |
| Alt et al. | LapSeg3D: weakly supervised semantic segmentation of point clouds representing laparoscopic scenes | |
| Li et al. | ERegPose: An explicit regression based 6D pose estimation for snake‐like wrist‐type surgical instruments | |
| Singh et al. | The SARAS Endoscopic Surgeon Action Detection (ESAD) dataset: Challenges and methods | |
| CN115115588B (en) | Surgical instrument positioning method, system and storage medium | |
| Wang et al. | Vision Module for Automatic Tracking on Bedside Intelligent Scope‐Holding Surgical Robot 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 |