[go: up one dir, main page]

CN116687328A - Catheter movement control device, catheter movement control method, and storage medium - Google Patents

Catheter movement control device, catheter movement control method, and storage medium Download PDF

Info

Publication number
CN116687328A
CN116687328A CN202310709371.6A CN202310709371A CN116687328A CN 116687328 A CN116687328 A CN 116687328A CN 202310709371 A CN202310709371 A CN 202310709371A CN 116687328 A CN116687328 A CN 116687328A
Authority
CN
China
Prior art keywords
catheter
bronchoscope
centerline
target
point cloud
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.)
Pending
Application number
CN202310709371.6A
Other languages
Chinese (zh)
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.)
Shanghai Microport Medbot Group Co Ltd
Original Assignee
Shanghai Microport Medbot Group 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 Shanghai Microport Medbot Group Co Ltd filed Critical Shanghai Microport Medbot Group Co Ltd
Priority to CN202310709371.6A priority Critical patent/CN116687328A/en
Publication of CN116687328A publication Critical patent/CN116687328A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • A61B1/267Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor for the respiratory tract, e.g. laryngoscopes, bronchoscopes
    • A61B1/2676Bronchoscopes
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • A61B1/00147Holding or positioning arrangements
    • A61B1/00154Holding or positioning arrangements using guiding arrangements for insertion
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • A61B1/005Flexible endoscopes
    • A61B1/0051Flexible endoscopes with controlled bending of insertion part
    • A61B1/0052Constructional details of control elements, e.g. handles
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • A61B1/005Flexible endoscopes
    • A61B1/009Flexible endoscopes with bending or curvature detection of the insertion part
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B34/00Computer-aided surgery; Manipulators or robots specially adapted for use in surgery
    • A61B34/20Surgical navigation systems; Devices for tracking or guiding surgical instruments, e.g. for frameless stereotaxis
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B34/00Computer-aided surgery; Manipulators or robots specially adapted for use in surgery
    • A61B34/20Surgical navigation systems; Devices for tracking or guiding surgical instruments, e.g. for frameless stereotaxis
    • A61B2034/2046Tracking techniques
    • A61B2034/2065Tracking using image or pattern recognition
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Surgery (AREA)
  • Engineering & Computer Science (AREA)
  • Medical Informatics (AREA)
  • Animal Behavior & Ethology (AREA)
  • Veterinary Medicine (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Public Health (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Biomedical Technology (AREA)
  • Radiology & Medical Imaging (AREA)
  • Physics & Mathematics (AREA)
  • Pathology (AREA)
  • Optics & Photonics (AREA)
  • Biophysics (AREA)
  • Pulmonology (AREA)
  • Otolaryngology (AREA)
  • Physiology (AREA)
  • Robotics (AREA)
  • Endoscopes (AREA)

Abstract

本申请涉及一种导管的移动控制装置、方法及存储介质。导管的移动控制装置包括:第一获取模块,用于获取导管采集的点云数据,点云数据用于表征导管在目标对象的中的位态;确定模块,用于根据点云数据,在目标对象的中心线模型中确定导管的当前映射位置;控制模块,用于根据导管的当前映射位置,调整导管的方向和弯曲程度;根据导管的路径规划数据,控制调整方向和弯曲程度后的导管移动预设距离。采用本装置能够在导管的每次移动前都会根据点云数据,调整导管的方向和弯曲程度,从而精准地实现了导管的自动移动控制,提高了导管的进镜效率。

The present application relates to a catheter movement control device, method and storage medium. The movement control device of the catheter includes: a first acquisition module, which is used to acquire point cloud data collected by the catheter, and the point cloud data is used to characterize the position of the catheter in the target object; The current mapping position of the catheter is determined in the centerline model of the object; the control module is used to adjust the direction and bending degree of the catheter according to the current mapping position of the catheter; according to the path planning data of the catheter, control the movement of the catheter after adjusting the direction and bending degree preset distance. The device can adjust the direction and bending degree of the catheter according to the point cloud data before each movement of the catheter, thereby accurately realizing the automatic movement control of the catheter and improving the efficiency of the catheter into the mirror.

Description

导管的移动控制装置、方法及存储介质Catheter movement control device, method and storage medium

技术领域technical field

本申请涉及机器人控制技术领域,特别是涉及一种导管的移动控制装置、方法及存储介质。The present application relates to the technical field of robot control, in particular to a catheter movement control device, method and storage medium.

背景技术Background technique

支气管镜是一种经口或鼻置入患者下呼吸道,用于做肺叶、段及亚段支气管病变的观察、活检采样、细菌学和细胞学检查的医疗器械。A bronchoscope is a medical device inserted into the lower respiratory tract of a patient through the mouth or nose for observation of lung lobes, segmental and subsegmental bronchial lesions, biopsy sampling, bacteriological and cytological examinations.

相关技术中,支气管镜的进镜方式主要依靠医生手动进镜。医生根据术前计算机断层扫描(Computed Tomography,CT)图像进行支气管镜的进镜路径规划。在术中,医生通过支气管内窥镜得到的实时影像,获取支气管镜的导管的实时位置,从而与支气管镜的进镜路径规划匹配,不断手动地对支气管镜进行位置调整和移动。In the related art, the way of entering the bronchoscope mainly depends on the manual insertion of the bronchoscope by the doctor. According to the preoperative computed tomography (Computed Tomography, CT) images, the doctor plans the route of the bronchoscope. During the operation, the doctor obtains the real-time position of the catheter of the bronchoscope through the real-time images obtained by the bronchoscope, so as to match the path planning of the bronchoscope, and continuously adjust and move the position of the bronchoscope manually.

然而,通过医生对支气管镜的进镜路径规划并进行手动移动,耗时耗力,从而导致支气管镜的进镜效率过低。However, it is time-consuming and labor-intensive for the doctor to plan and manually move the path of the bronchoscope, resulting in low efficiency of the bronchoscope.

发明内容Contents of the invention

基于此,有必要针对上述技术问题,提供一种能够提高支气管镜的进镜效率的导管的移动控制装置、方法及存储介质导管的移动控制。Based on this, it is necessary to address the above technical problems and provide a movement control device and method for a catheter and a movement control of a storage medium catheter that can improve the efficiency of bronchoscopy.

第一方面,本申请提供了一种导管的移动控制装置导管的移动控制。所述装置包括:In a first aspect, the present application provides a catheter movement control device for catheter movement control. The devices include:

第一获取模块,用于获取导管采集的点云数据,所述点云数据用于表征所述导管在目标对象的中的位态;The first acquisition module is used to acquire point cloud data collected by the catheter, and the point cloud data is used to characterize the position of the catheter in the target object;

确定模块,用于根据所述点云数据,在所述目标对象的中心线模型中确定所述导管的当前映射位置;a determination module, configured to determine the current mapping position of the catheter in the centerline model of the target object according to the point cloud data;

控制模块,用于根据所述导管的当前映射位置,调整所述导管的方向和弯曲程度;根据所述导管的路径规划数据,控制调整方向和弯曲程度后的导管移动预设距离。The control module is configured to adjust the direction and bending degree of the catheter according to the current mapped position of the catheter; and control the catheter to move a preset distance after adjusting the direction and bending degree according to the path planning data of the catheter.

在其中一个实施例中,所述控制模块,包括:In one of the embodiments, the control module includes:

中心线方向确定单元,用于确定所述导管的当前映射位置对应的目标中心线的方向;a centerline direction determining unit, configured to determine the direction of the target centerline corresponding to the current mapping position of the catheter;

移动方向确定单元,用于根据所述点云数据,确定所述导管的移动方向;a moving direction determining unit, configured to determine the moving direction of the catheter according to the point cloud data;

调整单元,用于根据所述导管的移动方向和所述目标中心线的方向,调整所述导管的方位和弯曲程度。The adjustment unit is configured to adjust the orientation and bending degree of the catheter according to the moving direction of the catheter and the direction of the target centerline.

在其中一个实施例中,所述中心线方向确定单元,具体用于确定所述导管的第一平面,所述第一平面为所述导管的头部平面;将所述第一平面与所述目标中心线之间的切线方向,确定为所述目标中心线的方向。In one of the embodiments, the centerline direction determining unit is specifically configured to determine a first plane of the catheter, and the first plane is a plane of the head of the catheter; combining the first plane with the The direction of the tangent between the target centerlines is determined as the direction of the target centerlines.

在其中一个实施例中,所述移动方向确定单元,具体用于根据所述点云数据,确定所述导管的中心曲线;确定所述导管的中心曲线在所述导管的头部心线点的目标切线;将所述目标切线的方向确定为所述导管的移动方向。In one of the embodiments, the moving direction determining unit is specifically configured to determine the center curve of the catheter according to the point cloud data; A target tangent; determining the direction of the target tangent as the moving direction of the catheter.

在其中一个实施例中,所述调整单元,具体用于根据所述导管的移动方向和所述目标中心线的方向在第二平面上的角度差,调整所述导管的方向,所述第二平面为所述导管的尾部平面;根据所述导管的移动方向和所述目标中心线的方向之间的夹角,调整所述导管的弯曲程度。In one of the embodiments, the adjustment unit is specifically configured to adjust the direction of the catheter according to the angle difference between the moving direction of the catheter and the direction of the target centerline on the second plane, and the second The plane is the tail plane of the catheter; according to the included angle between the moving direction of the catheter and the direction of the target centerline, the degree of bending of the catheter is adjusted.

在其中一个实施例中,所述调整单元,具体用于若所述导管的移动方向和所述目标中心线的方向在第二平面上的角度差大于第一阈值,则将所述角度差确定为所述导管的待旋转角度;根据导管的待旋转角度,调整所述导管的方向。In one of the embodiments, the adjusting unit is specifically configured to: if the angle difference between the moving direction of the catheter and the direction of the target centerline on the second plane is greater than a first threshold, determine the angle difference is the to-be-rotated angle of the catheter; the direction of the catheter is adjusted according to the to-be-rotated angle of the catheter.

在其中一个实施例中,所述调整单元,具体用于若所述导管的移动方向和所述导管当前的映射位置对应的中心线的方向在目标平面上的角度差小于等于第一阈值,则保持所述导管的方向不变。In one of the embodiments, the adjustment unit is specifically configured to: if the angle difference between the moving direction of the catheter and the direction of the centerline corresponding to the current mapping position of the catheter on the target plane is less than or equal to the first threshold, then Keep the orientation of the catheter unchanged.

在其中一个实施例中,所述调整单元,具体用于若所述导管的移动方向和所述目标中心线的方向之间的夹角大于第二阈值,则将所述夹角确定为所述导管的待弯曲角度;根据导管的待弯曲角度,调整所述导管的弯曲程度;若所述导管的移动方向和所述目标中心线的方向之间的夹角小于等于第二阈值,则保持所述导管的弯曲程度不变。In one of the embodiments, the adjustment unit is specifically configured to determine the included angle as the The angle to be bent of the catheter; according to the angle to be bent of the catheter, the degree of bending of the catheter is adjusted; if the angle between the moving direction of the catheter and the direction of the target centerline is less than or equal to the second threshold value, then keep the The bending degree of the catheter is unchanged.

第二方面,本申请提供了一种导管的移动控制方法。所述方法包括:In a second aspect, the present application provides a method for controlling movement of a catheter. The methods include:

获取导管采集的点云数据,所述点云数据用于表征所述导管在目标对象的中的位态;Acquiring point cloud data collected by the catheter, where the point cloud data is used to characterize the position of the catheter in the target object;

根据所述点云数据,在所述目标对象的中心线模型中确定所述导管的当前映射位置;determining a current mapped position of the catheter in a centerline model of the target object based on the point cloud data;

根据所述导管的当前映射位置,调整所述导管的方向和弯曲程度;adjusting the direction and bending degree of the catheter according to the current mapped position of the catheter;

根据所述导管的路径规划数据,控制调整方向和弯曲程度后的导管移动预设距离。According to the path planning data of the catheter, the catheter moves a preset distance after adjusting the direction and bending degree.

导管的移动控制第三方面,本申请还提供了一种计算机设备。所述计算机设备包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述第二方面所述的导管的移动控制导管的移动控制方法。Catheter Movement Control In the third aspect, the present application also provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the method for controlling the movement of the catheter described in the second aspect above is implemented.

第四方面,本申请还提供了一种计算机可读存储介质。所述计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面所述的导管的移动控制方法导管的移动控制。In a fourth aspect, the present application also provides a computer-readable storage medium. The computer-readable storage medium has a computer program stored thereon, and when the computer program is executed by a processor, the method for controlling the movement of the catheter described in the first aspect above realizes the movement control of the catheter.

第五方面,本申请还提供了一种计算机程序产品。所述计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现上述第一方面所述的导管的移动控制方法导管的移动控制。In a fifth aspect, the present application also provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the movement control method of the catheter described in the first aspect is implemented to control the movement of the catheter.

上述导管的移动控制装置、方法及存储介质导管的移动控制,首先获取导管采集的点云数据,点云数据用于表征导管在目标对象的中的位态。其次,根据点云数据,在目标对象的中心线模型中确定导管的当前映射位置;再次,根据导管的当前映射位置,调整导管的方向和弯曲程度;最后,根据导管的路径规划数据,控制调整方向和弯曲程度后的导管移动预设距离。由于在支气管镜的导管每次移动前都会根据点云数据,调整导管的方向和弯曲程度,从而精准地实现了支气管镜的自动移动控制,无需人工手动干预,提高了支气管镜的进镜效率。The above catheter movement control device, method and storage medium The movement control of the catheter first obtains the point cloud data collected by the catheter, and the point cloud data is used to represent the position of the catheter in the target object. Secondly, according to the point cloud data, determine the current mapping position of the catheter in the centerline model of the target object; thirdly, adjust the direction and bending degree of the catheter according to the current mapping position of the catheter; finally, control the adjustment according to the path planning data of the catheter The catheter moves a preset distance after the direction and degree of bending. Because the direction and bending degree of the catheter are adjusted according to the point cloud data before each movement of the catheter of the bronchoscope, the automatic movement control of the bronchoscope is accurately realized without manual intervention, which improves the efficiency of the bronchoscope into the mirror.

附图说明Description of drawings

图1为本申请实施例提供的一种导管的移动控制方法的应用环境图;FIG. 1 is an application environment diagram of a catheter movement control method provided by an embodiment of the present application;

图2为本申请实施例提供的另一种导管的移动控制方法的应用环境图;FIG. 2 is an application environment diagram of another catheter movement control method provided by the embodiment of the present application;

图3为本申请实施例提供的一种导管的移动控制方法的流程示意图;FIG. 3 is a schematic flowchart of a catheter movement control method provided by an embodiment of the present application;

图4为本申请实施例提供的一种支气管镜的示意图;FIG. 4 is a schematic diagram of a bronchoscope provided in an embodiment of the present application;

图5为本申请实施例提供的一种预采集位置采集点云数据的支示意图;FIG. 5 is a schematic diagram of point cloud data collected at a pre-acquisition position provided by an embodiment of the present application;

图6为本申请实施例提供的一种坐标系转换示意图;FIG. 6 is a schematic diagram of a coordinate system transformation provided by the embodiment of the present application;

图7为本申请实施例提供的一种坐标实时配准的示意图;FIG. 7 is a schematic diagram of a real-time coordinate registration provided by the embodiment of the present application;

图8为本申请实施例提供的一种支气管中心线的提取示意图;Fig. 8 is a schematic diagram of extracting a bronchial centerline provided in the embodiment of the present application;

图9为本申请实施例提供的一种支气管镜和支气管中心线的位置关系图;Fig. 9 is a diagram of the positional relationship between a bronchoscope and the centerline of the bronchus provided by the embodiment of the present application;

图10为本申请实施例提供的一种支气管镜的待旋转角度的示意图;Fig. 10 is a schematic diagram of the angle to be rotated of a bronchoscope provided in the embodiment of the present application;

图11为本申请实施例提供的一种支气管镜的旋转角度保持不变的示意图;Fig. 11 is a schematic diagram of a bronchoscope provided in an embodiment of the present application with the rotation angle kept constant;

图12为本申请实施例提供的一种支气管镜的待弯曲角度的示意图;Fig. 12 is a schematic diagram of the angle to be bent of a bronchoscope provided in the embodiment of the present application;

图13为本申请实施例提供的一种支气管镜的弯曲角度保持不变的示意图;Fig. 13 is a schematic diagram of a bronchoscope provided in an embodiment of the present application with the bending angle kept constant;

图14为本申请实施例提供的一种待弯曲角度的换算示意图;Fig. 14 is a schematic diagram of conversion of an angle to be bent provided by the embodiment of the present application;

图15本申请实施例提供的一种支气管镜的路径规划的示意图;Fig. 15 is a schematic diagram of path planning of a bronchoscope provided in the embodiment of the present application;

图16为本申请实施例提供的一种支气管镜的自动进镜方法的流程示意图;Fig. 16 is a schematic flow chart of an automatic mirror-introduction method for a bronchoscope provided in an embodiment of the present application;

图17为本申请实施例提供的另一种导管的移动控制的流程示意图;Fig. 17 is a schematic flowchart of another catheter movement control provided by the embodiment of the present application;

图18为本申请实施例提供的一种导管的移动控制装置的结构框图;Fig. 18 is a structural block diagram of a catheter movement control device provided by an embodiment of the present application;

图19为本申请实施例提供的一种计算机设备的内部结构图。FIG. 19 is an internal structural diagram of a computer device provided by an embodiment of the present application.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

本申请实施例提供的导管的移动控制方法,可以应用于如图1和图2所示的应用环境中。The catheter movement control method provided in the embodiment of the present application can be applied to the application environment shown in FIG. 1 and FIG. 2 .

如图1所示,在支气管镜进镜前,终端设备101与计算机断层扫描(ComputedTomography,CT)设备102连接,获取CT设备102扫描得到的人体胸部的CT图像。随后,终端设备101对CT图像进行处理,提取其中的支气管中心线,从而建立支气管中心线模型。As shown in FIG. 1 , before a bronchoscope is inserted, a terminal device 101 is connected to a computed tomography (CT) device 102 to acquire a CT image of a human chest scanned by the CT device 102 . Subsequently, the terminal device 101 processes the CT image, and extracts the centerline of the bronchi therein, so as to establish a model of the centerline of the bronchi.

如图2所示,在支气管镜103进行进镜时,终端设备101与支气管镜103连接,终端设备101可以将支气管镜103的位置和支气管中心线模型进行配置,以便通过终端设备101控制支气管镜103进行自动进镜。随后,终端设备101根据路径规划数据,控制支气管镜103每次移动一小段距离,直至支气管镜103达到路径规划数据所指示的目标进镜位置。在每次移动过程中,终端设备101均会根据支气管镜103采集到的点云数据,调整支气管镜103的方向和弯曲程度。As shown in FIG. 2 , when the bronchoscope 103 enters the mirror, the terminal device 101 is connected to the bronchoscope 103, and the terminal device 101 can configure the position of the bronchoscope 103 and the bronchial centerline model, so that the terminal device 101 can control the bronchoscope 103 to perform automatic mirroring. Subsequently, the terminal device 101 controls the bronchoscope 103 to move a small distance at a time according to the path planning data until the bronchoscope 103 reaches the target entrance position indicated by the path planning data. During each movement, the terminal device 101 will adjust the direction and bending degree of the bronchoscope 103 according to the point cloud data collected by the bronchoscope 103 .

在一些实施例中,上述终端设备101在支气管镜103进行进镜时,还可以显示支气管镜10采集到的内窥镜图像,以供医生观察支气管镜103的移动情况。In some embodiments, the above-mentioned terminal device 101 can also display the endoscopic image collected by the bronchoscope 10 when the bronchoscope 103 enters the mirror, so that the doctor can observe the movement of the bronchoscope 103 .

应理解,本申请实施例对于终端设备101的类型不做限制,可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑、物联网设备和便携式可穿戴设备等。It should be understood that the embodiment of the present application does not limit the type of the terminal device 101, which may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, Internet of Things devices, and portable wearable devices.

在一些实施例中,支气管镜103可以与电磁发生器和驱动组件共同组成进镜设备。该驱动组件用于在终端设备101的控制下,驱动支气管镜移动并调整支气管镜103的方向和弯曲程度。该电磁发生器用于获得支气管镜移动过程中采集的点云数据,以确定支气管镜的实时位姿。上述支气管镜103可以为导管,其内可以包括单目内窥镜和电磁贴片。其中,单目内窥镜用于采集内窥镜图像,电磁贴片用于采集导管相对于磁场发生器的坐标信息,以生成上述点云数据。In some embodiments, the bronchoscope 103 together with the electromagnetic generator and the drive assembly can form an endoscopic device. The driving assembly is used to drive the bronchoscope to move and adjust the direction and bending degree of the bronchoscope 103 under the control of the terminal device 101 . The electromagnetic generator is used to obtain the point cloud data collected during the movement of the bronchoscope to determine the real-time pose of the bronchoscope. The above-mentioned bronchoscope 103 may be a catheter, which may include a monocular endoscope and an electromagnetic patch. Among them, the monocular endoscope is used to collect endoscopic images, and the electromagnetic patch is used to collect coordinate information of the catheter relative to the magnetic field generator to generate the above-mentioned point cloud data.

在一个实施例中,如图3所示,提供了一种导管的移动控制方法,以该方法应用于图1和图2中的终端设备为例进行说明,包括S201-S202:In one embodiment, as shown in FIG. 3 , a catheter movement control method is provided. The method is applied to the terminal device in FIG. 1 and FIG. 2 as an example, including S201-S202:

S201、获取支气管镜采集的点云数据,点云数据用于表征支气管镜在目标对象的支气管中的位态。S201. Obtain point cloud data collected by the bronchoscope, where the point cloud data is used to characterize the position of the bronchoscope in the bronchus of the target object.

在本申请中,在终端设备控制支气管镜进行进镜时,终端设备可以控制支气管镜多次移动,直至到支气管镜到达目标进镜位置。在每次移动时,终端设备均可以获取支气管镜采集的点云数据,从而根据点云数据确定支气管镜所在的位置并调整支气管镜的方向和弯曲程度。In the present application, when the terminal device controls the bronchoscope to enter the mirror, the terminal device may control the bronchoscope to move multiple times until the bronchoscope reaches the target mirror entry position. During each movement, the terminal device can obtain the point cloud data collected by the bronchoscope, so as to determine the position of the bronchoscope and adjust the direction and bending degree of the bronchoscope according to the point cloud data.

其中,上述点云数据包括在目标对象的支气管中支气管镜的位置数据和姿态数据。上述目标对象可以为待进镜的病人。上述位姿可以包括支气管镜的位置和姿态。Wherein, the above-mentioned point cloud data includes position data and attitude data of the bronchoscope in the bronchus of the target object. The aforementioned target object may be a patient to be mirrored. The aforementioned pose may include the position and posture of the bronchoscope.

应理解,本申请实施例对于如何采集支气管镜采集的点云数据不做限制,在一些实施例中,上述点云数据可以通过支气管镜内部的电磁贴片采集。示例性的,如图4所示,支气管镜的导管头部和导管尾部均可以设置两个电磁贴片,包括电磁贴片1、电磁贴片2、电磁贴片3和电磁贴片4。设置在导管头部的电磁贴片1和电磁贴片2可以采集支气管镜的导管头部相对于磁场发生器的头部坐标信息,该设置在导管尾部的电磁贴片3和电磁贴片4可以采集支气管镜的导管尾部相对于磁场发生器的尾部坐标信息。随后,终端设备可以将采集到的头部坐标信息和尾部坐标信息作为当前位置支气管镜采集的点云数据。It should be understood that the embodiment of the present application does not limit how to collect the point cloud data collected by the bronchoscope. In some embodiments, the above point cloud data may be collected through an electromagnetic patch inside the bronchoscope. Exemplarily, as shown in FIG. 4 , two electromagnetic patches may be provided at the catheter head and the catheter tail of the bronchoscope, including electromagnetic patch 1 , electromagnetic patch 2 , electromagnetic patch 3 and electromagnetic patch 4 . The electromagnetic patch 1 and the electromagnetic patch 2 arranged at the catheter head can collect the coordinate information of the catheter head of the bronchoscope relative to the head of the magnetic field generator, and the electromagnetic patch 3 and the electromagnetic patch 4 arranged at the catheter tail can The coordinate information of the tail of the catheter of the bronchoscope relative to the magnetic field generator is collected. Subsequently, the terminal device may use the collected head coordinate information and tail coordinate information as point cloud data collected by the bronchoscope at the current position.

S202、根据点云数据,在目标对象的支气管中心线模型中确定支气管镜的当前映射位置。S202. According to the point cloud data, determine the current mapping position of the bronchoscope in the bronchus centerline model of the target object.

在步骤中,当终端设备获取支气管镜采集的点云数据后,可以根据点云数据,在目标对象的支气管中心线模型中确定支气管镜的当前映射位置。In the step, after the terminal device obtains the point cloud data collected by the bronchoscope, the current mapping position of the bronchoscope can be determined in the bronchial centerline model of the target object according to the point cloud data.

应理解,本申请实施例对于如何根据点云数据,在目标对象的支气管中心线模型中确定支气管镜的当前映射位置不做限制,在一些实施例中,若点云数据是通过支气管镜内部的电磁贴片采集,则支气管镜的位置数据在电磁坐标下。此时,终端设备可以确定支气管镜所在位置与目标对象的支气管中的预采集位置在电磁坐标下的相对位置,从而基于相对位置和预采集位置在中心线模型中的映射位置,确定在支气管中心线模型中支气管镜的当前映射位置。It should be understood that the embodiment of the present application does not limit how to determine the current mapping position of the bronchoscope in the bronchial centerline model of the target object according to the point cloud data. In some embodiments, if the point cloud data is passed through the bronchoscope For electromagnetic patch collection, the position data of the bronchoscope is in the electromagnetic coordinates. At this time, the terminal device can determine the relative position between the position of the bronchoscope and the pre-acquisition position in the bronchus of the target subject under electromagnetic coordinates, so as to determine the position in the center of the bronchus based on the relative position and the mapping position of the pre-acquisition position in the centerline model. The current mapped position of the bronchoscope in the wire model.

应理解,本申请实施例对于上述预采集位置不做限制,示例性的,预采集位置包括左右支气管分叉、左二级分叉点和右二级分叉点。It should be understood that the embodiment of the present application does not limit the above-mentioned pre-acquisition position. Exemplarily, the pre-acquisition position includes the left and right bronchus bifurcation, the left secondary bifurcation point, and the right secondary bifurcation point.

需要说明的是,上述预采集位置在电磁坐标下的坐标,可以在支气管中心线模型与点云数据的坐标系进行配准时采集。预采集位置在中心线模型中的映射位置,可以根据标注信息确定或者通过自动识别确定。It should be noted that the coordinates of the above-mentioned pre-acquisition position in the electromagnetic coordinates can be collected when the bronchial centerline model is registered with the coordinate system of the point cloud data. The mapping position of the pre-acquisition position in the centerline model can be determined according to the label information or through automatic identification.

在一些实施例中,在目标对象的支气管中心线模型中确定支气管镜的当前映射位置之前,终端设备获取支气管镜在目标对象的支气管中的预采集位置采集到的点云数据。根据预采集位置采集到的点云数据和预采集位置在中心线模型中的映射位置,将支气管中心线模型与点云数据的坐标系配准。In some embodiments, before determining the current mapped position of the bronchoscope in the bronchus centerline model of the target subject, the terminal device acquires point cloud data collected by the bronchoscope at a pre-acquisition position in the bronchus of the target subject. According to the point cloud data collected at the pre-acquisition position and the mapping position of the pre-acquisition position in the center line model, the bronchial center line model is registered with the coordinate system of the point cloud data.

应理解,本申请实施例对于如何采集目标对象的支气管中的预采集位置的点云数据不做限制。在一些实施例中,可以在正式进行支气管镜的自动进镜前,由医生手动进镜至上述预采集位置,采集点云数据。It should be understood that the embodiment of the present application does not limit how to collect the point cloud data of the pre-acquisition position in the bronchi of the target object. In some embodiments, the doctor can manually enter the bronchoscope to the above-mentioned pre-acquisition position to collect point cloud data before the automatic bronchoscope is officially entered.

示例性的,如图5所示,可以先移动支气管镜进入气管,到达左右支气管分叉,采集左右支气管分叉的点云数据。随后,然后控制支气管镜进入左主支气管到达左二级分叉点,采集左二级分叉点的点云数据。最后,控制支气管镜进入右主支气管到达右二级分叉点,采集右二级分叉点的点云数据。Exemplarily, as shown in FIG. 5 , the bronchoscope can be moved first to enter the trachea, reach the bifurcation of the left and right bronchus, and collect point cloud data of the bifurcation of the left and right bronchi. Then, control the bronchoscope to enter the left main bronchus to reach the left secondary bifurcation point, and collect point cloud data of the left secondary bifurcation point. Finally, control the bronchoscope to enter the right main bronchus to reach the right secondary bifurcation point, and collect point cloud data of the right secondary bifurcation point.

如图6所示,由于预采集位置的点云数据是通过支气管镜的电磁贴片采集的,相应的,该点云数据处于电磁坐标系下。由于支气管中心线模型是根据胸部CT图像建立的,相应的,该支气管中心线模型于CT坐标系下。因此,在进行自动进镜前,需要将支气管中心线模型与点云数据的电磁坐标系进行配准,以确定支气管镜的位置在支气管中心线模型中的映射位置。As shown in Figure 6, since the point cloud data at the pre-acquisition position is collected through the electromagnetic patch of the bronchoscope, correspondingly, the point cloud data is in the electromagnetic coordinate system. Since the bronchus centerline model is established based on chest CT images, correspondingly, the bronchus centerline model is in the CT coordinate system. Therefore, before automatic mirroring, it is necessary to register the bronchial centerline model with the electromagnetic coordinate system of the point cloud data to determine the mapping position of the position of the bronchoscope in the bronchial centerline model.

如图7所示,在采集到预采集位置的点云数据后,可以基于采集到的点云数据,计算出点云数据所在的电磁坐标系和CT坐标系对应的全局配准矩阵T,随后,通过全局配准矩阵T将支气管中心线模型与点云数据的电磁坐标系进行实时配准。As shown in Figure 7, after collecting the point cloud data at the pre-acquisition position, the global registration matrix T corresponding to the electromagnetic coordinate system and the CT coordinate system where the point cloud data is located can be calculated based on the collected point cloud data, and then , the real-time registration of the bronchus centerline model and the electromagnetic coordinate system of the point cloud data is performed through the global registration matrix T.

下面对于目标对象的支气管中心线模型进行说明。Next, the bronchi centerline model of the target object will be described.

应理解,本申请实施例对于如何生成目标对象的支气管中心线模型不做限制,在一些实施例中,终端设备可以获取目标对象的胸部CT图像,再从胸部CT图像中提取目标对象的支气管中心线。随后,根据支气管中心线,建立目标对象的支气管中心线模型。It should be understood that the embodiment of the present application does not limit how to generate the bronchial centerline model of the target object. In some embodiments, the terminal device can obtain the chest CT image of the target object, and then extract the bronchus center of the target object from the chest CT image. Wire. Subsequently, according to the bronchus centerline, a bronchial centerline model of the target object is established.

其中,上述胸部CT图像中提取目标对象的支气管中心线,可以通过图像分割后再重建目标对象的支气管模型来实现。在一些实施例中,终端设备可以将胸部计算机断层扫描图像输入图像处理模型,并获取图像处理模型输出的支气管分割图像。随后,终端设备根据支气管分割图像,重建目标对象的支气管模型。最后,终端设备根据目标对象的支气管模型,提取目标对象的支气管中心线。Wherein, extracting the center line of the bronchus of the target object from the above-mentioned chest CT image can be realized by reconstructing the bronchus model of the target object after image segmentation. In some embodiments, the terminal device may input the computed tomography image of the chest into the image processing model, and acquire the bronchus segmentation image output by the image processing model. Subsequently, the terminal device reconstructs the bronchi model of the target subject according to the segmented image of the bronchi. Finally, the terminal device extracts the centerline of the bronchus of the target subject according to the bronchus model of the target subject.

应理解,本申请实施例对于上述图像处理模型不做限制,其可以为任意类型的深度学习模型。示例性的,可以对历史胸部CT模型进行标注,从而形成该图像处理模型的训练集,使用该图像处理模型的训练集对图像处理模型进行训练。在完成训练后,将上述目标对象的胸部CT图像输入该图像处理模型,可以得到目标对象的支气管分割图像。It should be understood that the embodiment of the present application does not limit the foregoing image processing model, which may be any type of deep learning model. Exemplarily, the historical chest CT model may be marked to form a training set of the image processing model, and the training set of the image processing model is used to train the image processing model. After the training is completed, the above-mentioned chest CT image of the target object is input into the image processing model, and the segmented image of the bronchi of the target object can be obtained.

示例性的,本申请实施例提供的一种图像处理模型的网络结构(未示出)。该图像处理模型中的编码单元可以对输入的胸部CT图像进行下采样,以得到不同尺度包含不同感受野的图像特征。随后,编码单元将不同尺度包含不同感受野的图像特征到图像处理模型中的解码单元,防止由于模型过深而导致的特征消失。解码单元可以对得到的图像特征进行上采用,得到与支气管关联的图像特征。Exemplarily, the network structure (not shown) of an image processing model provided in the embodiment of the present application. The coding unit in the image processing model can down-sample the input chest CT image to obtain image features with different receptive fields at different scales. Subsequently, the encoding unit transfers image features of different scales containing different receptive fields to the decoding unit in the image processing model to prevent features from disappearing due to too deep a model. The decoding unit can upwardly adopt the obtained image features to obtain image features associated with the bronchi.

示例性的,图8为本申请实施例提供的一种支气管中心线的提取示意图。如图8所示,在获取到支气管分割图像后,可以通过多个不同位置的支气管分割图像对支气管模型进行三维模型重建。在三维模型重建后,采用3D骨架提取算法(itk.BinaryThinningImageFilter3D),提取支气管模型中的支气管中心线。Exemplarily, FIG. 8 is a schematic diagram of extracting a bronchial centerline provided in the embodiment of the present application. As shown in FIG. 8 , after the segmented image of the bronchus is obtained, the three-dimensional model reconstruction of the bronchus model can be performed using multiple segmented images of the bronchi at different positions. After the three-dimensional model is reconstructed, a 3D skeleton extraction algorithm (itk.BinaryThinningImageFilter3D) is used to extract the bronchial centerline in the bronchial model.

在一些实施例中,在提取支气管中心线时,终端设备上还可以显示重建的支气管模型和/或提取到的支气管中心线。In some embodiments, when the bronchus centerline is extracted, the terminal device may also display the reconstructed bronchus model and/or the extracted bronchus centerline.

S203、根据支气管镜的当前映射位置,调整支气管镜的方向和弯曲程度。S203. Adjust the direction and bending degree of the bronchoscope according to the current mapping position of the bronchoscope.

在本步骤中,当终端设备在目标对象的支气管中心线模型中确定支气管镜的当前映射位置后,可以根据支气管镜的当前映射位置和支气管镜的姿态数据,调整支气管镜的方向和弯曲程度。In this step, after the terminal device determines the current mapping position of the bronchoscope in the bronchus centerline model of the target object, it can adjust the direction and bending degree of the bronchoscope according to the current mapping position of the bronchoscope and the posture data of the bronchoscope.

应理解,本申请实施例对于如何调整支气管镜的方向和弯曲程度不做限制,在一些实施例中,终端设备可以先确定支气管镜的当前映射位置对应的目标支气管中心线的方向,随后,终端设备根据点云数据,确定支气管镜的移动方向。最后,终端设备根据支气管镜的移动方向和目标支气管中心线的方向,调整支气管镜的方位和弯曲程度。It should be understood that the embodiment of the present application does not limit how to adjust the direction and degree of bending of the bronchoscope. In some embodiments, the terminal device can first determine the direction of the centerline of the target bronchus corresponding to the current mapping position of the bronchoscope, and then, the terminal device The device determines the moving direction of the bronchoscope based on the point cloud data. Finally, the terminal device adjusts the orientation and bending degree of the bronchoscope according to the moving direction of the bronchoscope and the direction of the centerline of the target bronchus.

在一些实施例中,终端设备可以先根据点云数据,确定支气管镜的导管的中心曲线。随后,在确定支气管镜的导管的中心曲线在支气管镜的导管的头部心线点的目标切线。最后,终端设备将目标切线的方向确定为支气管镜的移动方向。In some embodiments, the terminal device may first determine the center curve of the catheter of the bronchoscope according to the point cloud data. Subsequently, determine the target tangent of the center curve of the bronchoscope's catheter at the centerline point of the head of the bronchoscope's catheter. Finally, the terminal device determines the direction of the target tangent line as the moving direction of the bronchoscope.

示例性的,继续参考图4,支气管镜的导管头部和导管尾部均可以设置两个电磁贴片,上述点云数据即可以为电磁贴片1、电磁贴片2、电磁贴片3和电磁贴片4在电磁坐标系下的坐标。由于支气管镜的导管前端和后端处于同一平面,因此,线段L12和线段L34的垂线为相交于这个平面上的点。相应的,以该点为圆心,支气管镜的导管的头部心线点A和支气管镜的导管的尾部中线点B之间的弧线为支气管镜的导管的中心曲线。随后,可以确定支气管镜的导管的中心曲线在支气管镜的导管的头部心线点的目标切线I,以及,支气管镜的导管的中心曲线在支气管镜的导管的尾部中线点的切线J。此时,可以将目标切线I的方向确定为支气管镜的移动方向,尾部中线点的切线J为导管尾部方向向量。Exemplarily, continuing to refer to FIG. 4, two electromagnetic patches can be set at the catheter head and the catheter tail of the bronchoscope, and the above-mentioned point cloud data can be electromagnetic patch 1, electromagnetic patch 2, electromagnetic patch 3, and electromagnetic patch The coordinates of patch 4 in the electromagnetic coordinate system. Since the front end and the rear end of the catheter of the bronchoscope are in the same plane, the perpendicular line of the line segment L 12 and the line segment L 34 is a point intersecting on this plane. Correspondingly, with this point as the center of the circle, the arc between the centerline point A of the head of the catheter of the bronchoscope and the midline point B of the tail of the catheter of the bronchoscope is the center curve of the catheter of the bronchoscope. Subsequently, a target tangent I of the center curve of the bronchoscope catheter at the centerline point of the head of the bronchoscope catheter and a tangent J of the center curve of the bronchoscope catheter at the caudal midline point of the bronchoscope catheter can be determined. At this time, the direction of the target tangent line I can be determined as the moving direction of the bronchoscope, and the tangent line J at the midline point of the tail is the direction vector of the catheter tail.

在一些实施例中,终端设备可以确定支气管镜的第一平面,该第一平面为支气管镜的导管的头部平面。随后,将第一平面与目标支气管中心线之间的切线方向,确定为目标支气管中心线的方向。In some embodiments, the terminal device may determine a first plane of the bronchoscope, where the first plane is a head plane of a catheter of the bronchoscope. Subsequently, the direction of the tangent between the first plane and the centerline of the target bronchi is determined as the direction of the centerline of the target bronchi.

示例性的,图9为本申请实施例提供的一种支气管镜和支气管中心线的位置关系图。如图9所示,支气管镜的导管的头部平面为第一平面,支气管镜的导管的尾部平面为第二平面。以支气管镜的导管的尾端方向向量J为z轴,以尾端平面上两个电磁贴片的连线为x轴,以第二平面上两个电磁贴片的连线经过尾部中线点的垂线为y轴,建立空间直角坐标系xyz。在该空间直角坐标系xyz中,第一平面与目标支气管中心线的交点的切线方向为中心线方向P,即目标支气管中心线的方向。Exemplarily, FIG. 9 is a positional relationship diagram between a bronchoscope and a bronchial central line provided in an embodiment of the present application. As shown in FIG. 9 , the plane of the head of the catheter of the bronchoscope is the first plane, and the plane of the tail of the catheter of the bronchoscope is the second plane. Take the tail direction vector J of the catheter of the bronchoscope as the z-axis, take the line connecting the two electromagnetic patches on the tail plane as the x-axis, and take the line connecting the two electromagnetic patches on the second plane passing through the midline point of the tail The vertical line is the y-axis, and a space rectangular coordinate system xyz is established. In the spatial rectangular coordinate system xyz, the tangent direction of the intersection point of the first plane and the centerline of the target bronchus is the centerline direction P, that is, the direction of the centerline of the target bronchus.

若如图10所示的空间直角坐标系xyz中,支气管镜的移动方向I与目标支气管中心线的方向P,不在一个平面上且方向也不一致时,继续控制支气管镜移动会导致管镜越发偏离规划路径,此时,需要对支气管镜进行调整。If in the space Cartesian coordinate system xyz shown in Figure 10, the moving direction I of the bronchoscope and the direction P of the centerline of the target bronchus are not on the same plane and the direction is not consistent, continuing to control the movement of the bronchoscope will cause the bronchoscope to deviate further Path planning, at this time, need to adjust the bronchoscope.

应理解,本申请实施例对于如何调整支气管镜的方位和弯曲程度不做限制。在一些实施例中,终端设备可以根据支气管镜的移动方向和目标支气管中心线的方向在第二平面上的角度差,调整支气管镜的方向。随后,根据支气管镜的移动方向和目标支气管中心线的方向之间的夹角,调整支气管镜的弯曲程度。It should be understood that the embodiment of the present application does not limit how to adjust the orientation and bending degree of the bronchoscope. In some embodiments, the terminal device may adjust the direction of the bronchoscope according to the angle difference between the moving direction of the bronchoscope and the direction of the centerline of the target bronchus on the second plane. Subsequently, the bending degree of the bronchoscope is adjusted according to the angle between the moving direction of the bronchoscope and the direction of the centerline of the target bronchus.

在一些实施例中,若支气管镜的移动方向和目标支气管中心线的方向在第二平面上的角度差大于第一阈值,终端设备则将角度差确定为支气管镜的待旋转角度。终端设备可以根据支气管镜的待旋转角度,调整支气管镜的方向。若支气管镜的移动方向和支气管镜当前的映射位置对应的中心线的方向在目标平面上的角度差小于等于第一阈值,则保持支气管镜的方向不变。In some embodiments, if the angle difference between the moving direction of the bronchoscope and the direction of the centerline of the target bronchus on the second plane is greater than the first threshold, the terminal device determines the angle difference as the angle to be rotated for the bronchoscope. The terminal device can adjust the direction of the bronchoscope according to the angle to be rotated of the bronchoscope. If the angle difference between the moving direction of the bronchoscope and the direction of the center line corresponding to the current mapping position of the bronchoscope on the target plane is less than or equal to the first threshold, then keep the direction of the bronchoscope unchanged.

示例性的,图10为本申请实施例提供的一种支气管镜的待旋转角度的示意图。如图10所示,以尾端平面上两个电磁贴片的连线为x轴,以第二平面上两个电磁贴片的连线经过尾部中线点的垂线为y轴,建立直角坐标系xoy。在直角坐标系xoy中,支气管镜的移动方向I投影到第二平面xoy平面得到投影I1,I1与y轴的夹角为α0。目标支气管中心线的方向P投影到第二平面xoy平面得到投影P1,P1与y轴的夹角为α1。相应的,支气管镜的移动方向和目标支气管中心线的方向在第二平面上的角度差Δα=α01Exemplarily, FIG. 10 is a schematic diagram of a to-be-rotated angle of a bronchoscope provided in an embodiment of the present application. As shown in Figure 10, take the line connecting the two electromagnetic patches on the tail plane as the x-axis, and take the line connecting the two electromagnetic patches on the second plane as the vertical line passing through the midline point of the tail as the y-axis to establish rectangular coordinates Department xoy. In the Cartesian coordinate system xoy, the moving direction I of the bronchoscope is projected onto the second plane xoy to obtain a projection I 1 , and the angle between I 1 and the y-axis is α 0 . The direction P of the centerline of the target bronchi is projected onto the second plane xoy to obtain a projection P 1 , and the included angle between P 1 and the y-axis is α 1 . Correspondingly, the angle difference between the moving direction of the bronchoscope and the direction of the centerline of the target bronchus on the second plane is Δα=α 0 −α 1 .

此时,图11所示,若Δα小于等于第一阈值,则可以确定支气管镜的移动方向和目标支气管中心线偏移不大,则可以保持支气管镜的方向不变,继续进镜。若Δα大于第一阈值,则可以确定支气管镜的移动方向和目标支气管中心线偏移较大,则可以将角度差Δα确定为支气管镜的待旋转角度,从而调整支气管镜的方向。At this time, as shown in FIG. 11 , if Δα is less than or equal to the first threshold, it can be determined that the movement direction of the bronchoscope does not deviate greatly from the centerline of the target bronchus, and the direction of the bronchoscope can be kept unchanged and the mirror can be continued. If Δα is greater than the first threshold, it can be determined that the moving direction of the bronchoscope deviates greatly from the centerline of the target bronchus, and the angle difference Δα can be determined as the angle to be rotated of the bronchoscope, thereby adjusting the direction of the bronchoscope.

需要说明的是,本申请实施例对于上述第一阈值不做限制,可以根据调控精度具体设置,例如可以设置为5°、10°等。It should be noted that, the embodiment of the present application does not limit the above-mentioned first threshold, which can be specifically set according to the control accuracy, for example, it can be set to 5°, 10°, and so on.

应理解,在根据待旋转角度调整支气管镜的方向时,可以根据Δα的正负来确定调整的方向。如果Δα>0,则控制支气管镜朝靠近y轴方向旋转Δα角度;如果Δα<0,则朝远离y轴方向旋转Δα角度。经过调整后的支气管镜的移动方向和目标支气管中心线的方向在同一个平面上。It should be understood that when the direction of the bronchoscope is adjusted according to the angle to be rotated, the direction of adjustment can be determined according to the positive or negative value of Δα. If Δα>0, the bronchoscope is controlled to rotate by an angle Δα toward the y-axis direction; if Δα<0, then the bronchoscope is rotated by an angle Δα toward the direction away from the y-axis. The moving direction of the adjusted bronchoscope is on the same plane as the direction of the centerline of the target bronchus.

在一些实施例中,若支气管镜的移动方向和目标支气管中心线的方向之间的夹角大于第二阈值,则将夹角确定为支气管镜的待弯曲角度。根据支气管镜的待弯曲角度,调整支气管镜的弯曲程度。若支气管镜的移动方向和目标支气管中心线的方向之间的夹角小于等于第二阈值,则保持支气管镜的弯曲程度不变。In some embodiments, if the included angle between the moving direction of the bronchoscope and the direction of the centerline of the target bronchus is greater than a second threshold, the included angle is determined as the angle to be bent of the bronchoscope. Adjust the bending degree of the bronchoscope according to the bending angle of the bronchoscope. If the included angle between the moving direction of the bronchoscope and the direction of the centerline of the target bronchus is smaller than or equal to the second threshold, then keep the bending degree of the bronchoscope unchanged.

示例性的,图12为本申请实施例提供的一种支气管镜的待弯曲角度的示意图。如图12所示,以支气管镜的导管的尾端方向向量J为z轴,以目标支气管中心线的方向P为p轴,建立直角坐标系poz。经过待旋转角,调整支气管镜的方向后,支气管镜和目标支气管中心线的方向都在平面poz上。在已知旋转后的支气管镜的移动方向I2和P的情况下,可以确定旋转后的支气管镜的移动方向I2与z轴的夹角为θ0,目标支气管中心方向P与z轴的夹角为θ1。支气管镜的头部和原点o的连线与z轴之间的夹角为β0,目标支气管中心线前端与原点o的连线和z轴的夹角为β1。相应的,支气管镜的移动方向和目标支气管中心线的方向之间的夹角Δβ=β01Exemplarily, FIG. 12 is a schematic diagram of an angle to be bent of a bronchoscope provided in an embodiment of the present application. As shown in FIG. 12 , a rectangular coordinate system poz is established with the direction vector J of the tail end of the catheter of the bronchoscope as the z-axis and the direction P of the centerline of the target bronchus as the p-axis. After adjusting the direction of the bronchoscope after the waiting rotation angle, the directions of the bronchoscope and the centerline of the target bronchi are on the plane poz. When the moving directions I 2 and P of the rotated bronchoscope are known, it can be determined that the angle between the moving direction I 2 of the rotated bronchoscope and the z-axis is θ 0 , and the target bronchus center direction P and the z-axis The included angle is θ 1 . The included angle between the head of the bronchoscope and the origin o and the z-axis is β 0 , and the included angle between the front end of the target bronchus central line and the origin o and the z-axis is β 1 . Correspondingly, the included angle Δβ=β 0 −β 1 between the moving direction of the bronchoscope and the direction of the centerline of the target bronchus.

此时,如图13所示,若Δβ小于等于第二阈值,则可以确定支气管镜的弯曲程度和目标支气管中心线弯曲程度差别不大,则可以保持支气管镜的弯曲程度不变,继续进镜。若Δβ于第二阈值,则可以确定支气管镜的弯曲程度和目标支气管中心线弯曲程度差别较大,则可以将角度差Δβ确定为支气管镜的支气管镜的待弯曲角度,从而调整支气管镜的方向。At this time, as shown in Figure 13, if Δβ is less than or equal to the second threshold, it can be determined that the bending degree of the bronchoscope is not much different from the bending degree of the centerline of the target bronchus, and the bending degree of the bronchoscope can be kept unchanged, and the endoscope can be continued . If Δβ is greater than the second threshold, it can be determined that the bending degree of the bronchoscope is quite different from the bending degree of the centerline of the target bronchus, and the angle difference Δβ can be determined as the bending angle of the bronchoscope of the bronchoscope, thereby adjusting the direction of the bronchoscope .

需要说明的是,本申请实施例对于上述第二阈值不做限制,可以根据调控精度具体设置,例如可以设置为5°、10°等。It should be noted that, the embodiment of the present application does not limit the above-mentioned second threshold, which can be specifically set according to the adjustment accuracy, for example, it can be set to 5°, 10°, and so on.

应理解,在根据待弯曲角度调整支气管镜的弯曲程度时,可以根据Δβ的正负来确定调整的方向。如果Δβ>0,则控制支气管镜朝远离z轴方向即加大弯曲程度;如果Δα<0,则朝远离z轴减小弯曲程度。It should be understood that when adjusting the bending degree of the bronchoscope according to the angle to be bent, the direction of adjustment can be determined according to the positive or negative of Δβ. If Δβ>0, control the bronchoscope to increase the bending degree away from the z-axis; if Δα<0, reduce the bending degree away from the z-axis.

示例性的,图14为本申请实施例提供的一种待弯曲角度的换算示意图。如图14所示,以支气管镜的导管的尾端方向向量J为z轴,以目标支气管中心线的方向P为p轴,建立直角坐标系poz。已知已知I是由O点到B点的圆弧,而OA和OB是圆弧上点O和点B的切线,由圆的两条切线的交点到切点的距离相等可知OA=AB。由于OA=AB可知,△AOB是等腰三角形,则∠AOB=∠ABO=β0。由于三角形外角等于与它不相邻的两内角和可知,θ0=∠AOB=∠ABO=2β0,即β0=θ0/2。因此, 此时,终端设备控制支气管镜弯曲Δβ,使得支气管镜的移动方向平行为目标支气管中心线的方向。Exemplarily, FIG. 14 is a schematic diagram of conversion of an angle to be bent provided in an embodiment of the present application. As shown in FIG. 14 , a rectangular coordinate system poz is established with the direction vector J of the tail end of the catheter of the bronchoscope as the z-axis and the direction P of the centerline of the target bronchus as the p-axis. It is known that I is a circular arc from point O to point B, and OA and OB are the tangent lines of point O and point B on the circular arc, and the distance from the intersection point to the tangent point of the two tangent lines of the circle is equal, so it can be known that OA=AB. Since OA=AB, we know that △AOB is an isosceles triangle, then ∠AOB=∠ABO=β 0 . Since the exterior angle of a triangle is equal to the sum of two non-adjacent interior angles, θ 0 =∠AOB=∠ABO=2β 0 , that is, β 00 /2. therefore, At this time, the terminal device controls the bending Δβ of the bronchoscope so that the moving direction of the bronchoscope is parallel to the direction of the centerline of the target bronchus.

S204、根据支气管镜的路径规划数据,控制调整方向和弯曲程度后的支气管镜移动预设距离。S204. According to the path planning data of the bronchoscope, control the movement of the preset distance of the bronchoscope after adjusting the direction and bending degree.

在本步骤中,当终端设备调整支气管镜的方向和弯曲程度后,可以根据支气管镜的路径规划数据,控制调整方向和弯曲程度后的支气管镜移动预设距离。In this step, after the terminal device adjusts the direction and bending degree of the bronchoscope, it can control the movement of the bronchoscope by a preset distance after adjusting the direction and bending degree according to the path planning data of the bronchoscope.

其中,上述支气管镜的路径规划数据,可以为支气管镜到达目标进镜位置的路径。上述目标进镜位置可以为需要进行穿刺的位置、待治疗位置、病灶位置等。Wherein, the path planning data of the above-mentioned bronchoscope may be a path for the bronchoscope to reach the target mirror entry position. The above-mentioned target mirror entry position may be a position where puncture needs to be performed, a position to be treated, a lesion position, and the like.

示例性的,如图15所示,为一种支气管镜的路径规划的示意图,该支气管镜的路径规划的示意图中显示了达到目标进镜位置所需要经过的支气管。Exemplarily, as shown in FIG. 15 , it is a schematic diagram of path planning of a bronchoscope, and the schematic diagram of the path planning of the bronchoscope shows the bronchi that needs to pass through to reach the target mirror entry position.

应理解,本申请实施例对于如何确定支气管镜的路径规划数据不做限制,在一些实施例中,终端设备可以根据医生输入的目标进镜位置,结合重建的支气管模型以及目标对象的胸部CT,自动规划生成支气管镜的路径规划数据。在另一些实施例中,支气管镜的路径规划数据可以由医生手动输入。It should be understood that the embodiment of the present application does not limit how to determine the path planning data of the bronchoscope. In some embodiments, the terminal device can combine the reconstructed bronchial model and the chest CT of the target subject according to the target mirror entry position input by the doctor. Automatic planning generates path planning data for bronchoscopy. In some other embodiments, the route planning data of the bronchoscope can be manually input by the doctor.

应理解,上述路径规划数据用于在支气管镜进入分叉路口时,指示支气管镜应该进入的分叉路口。It should be understood that the above path planning data is used to indicate the bifurcation intersection that the bronchoscope should enter when the bronchoscope enters the bifurcation intersection.

应理解,本申请实施例对于上述预设距离不做限制,例如1毫米、2毫米、5毫米等。It should be understood that the embodiment of the present application does not limit the preset distance, for example, 1 mm, 2 mm, 5 mm, and so on.

在本申请中,支气管镜移动过程中获得的标注支气管镜的实时位姿的点云数据,来并计算支气管镜位置与目标支气管中心线的关系,从而调整支气管镜的方向和弯曲程度,从而保证了导管的移动控制的精准程度。In this application, the point cloud data marked with the real-time pose of the bronchoscope obtained during the movement of the bronchoscope is used to calculate the relationship between the position of the bronchoscope and the centerline of the target bronchus, thereby adjusting the direction and degree of bending of the bronchoscope, thereby ensuring The accuracy of the movement control of the catheter is improved.

本申请实施例提供的导管的移动控制方法,首先获取支气管镜采集的点云数据,点云数据用于表征支气管镜在目标对象的支气管中的位态。其次,根据点云数据,在目标对象的支气管中心线模型中确定支气管镜的当前映射位置。再次,根据支气管镜的当前映射位置,调整支气管镜的方向和弯曲程度。最后,根据支气管镜的路径规划数据,控制调整方向和弯曲程度后的支气管镜移动预设距离。由于在支气管镜的每次移动前都会根据点云数据,调整支气管镜的方向和弯曲程度,从而精准地实现了支气管镜的自动移动控制,无需人工手动干预,提高了支气管镜的进镜效率。In the catheter movement control method provided in the embodiment of the present application, the point cloud data collected by the bronchoscope is first obtained, and the point cloud data is used to characterize the position of the bronchoscope in the bronchus of the target subject. Second, based on the point cloud data, the current mapped position of the bronchoscope is determined in the bronchial centerline model of the target subject. Again, according to the current mapping position of the bronchoscope, adjust the direction and bending degree of the bronchoscope. Finally, according to the path planning data of the bronchoscope, the bronchoscope moves a preset distance after adjusting the direction and degree of bending. Because the direction and bending degree of the bronchoscope are adjusted according to the point cloud data before each movement of the bronchoscope, the automatic movement control of the bronchoscope is accurately realized without manual intervention, and the efficiency of the bronchoscope entering the mirror is improved.

下面对于支气管镜的完整进镜过程进行说明。图16为本申请实施例提供的一种支气管镜的自动进镜方法的流程示意图。如图16所示,该支气管镜的自动进镜方法,包括:The following describes the complete procedure of bronchoscopy. FIG. 16 is a schematic flowchart of a method for automatically advancing a bronchoscope provided in an embodiment of the present application. As shown in Figure 16, the automatic mirror entry method of the bronchoscope includes:

S301、获取支气管镜的路径规划数据,路径规划数据中包括支气管镜的目标进镜位置。S301. Obtain path planning data of the bronchoscope, where the path planning data includes a target entrance position of the bronchoscope.

S302、获取支气管镜采集的点云数据,点云数据用于表征支气管镜在目标对象的支气管中的位态。S302. Obtain point cloud data collected by the bronchoscope, where the point cloud data is used to characterize the position of the bronchoscope in the bronchus of the target object.

S303、根据点云数据,在目标对象的支气管中心线模型中确定支气管镜的当前映射位置。S303. According to the point cloud data, determine the current mapping position of the bronchoscope in the bronchus centerline model of the target object.

S304、根据支气管镜的当前映射位置,调整支气管镜的方向和弯曲程度。S304. Adjust the direction and bending degree of the bronchoscope according to the current mapping position of the bronchoscope.

S305、根据支气管镜的路径规划数据,控制调整方向和弯曲程度后的支气管镜移动预设距离。S305. According to the path planning data of the bronchoscope, control the preset distance of moving the bronchoscope after adjusting the direction and bending degree.

S306、确定支气管镜是否达到目标进镜位置。S306. Determine whether the bronchoscope has reached the target endoscope position.

若是,则执行S307,若否,则执行S302。If yes, execute S307; if not, execute S302.

S307、结束支气管镜的进镜。S307. End the bronchoscopy.

本申请实施例中,在自动进镜过程中每一次控制支气管镜移动前,均采用实时点云数据可以进行实时的配准,调整支气管镜的方向和弯曲程度,从而避免由于术前配准结果不佳导致管镜偏离规划路径。同时,由终端设备自动控制支气管镜完成进镜,可以在没有医生控制的情况下实现支气管镜的移动,降低手术难度。In the embodiment of the present application, real-time point cloud data can be used for real-time registration before each control of the movement of the bronchoscope during the automatic mirror entry process, and the direction and bending degree of the bronchoscope can be adjusted, thereby avoiding errors caused by preoperative registration results. Poor performance causes the tube mirror to deviate from the planned path. At the same time, the terminal device automatically controls the bronchoscope to complete the mirror entry, which can realize the movement of the bronchoscope without the control of the doctor, reducing the difficulty of surgery.

下面对于调整支气管镜的方向和弯曲程度的过程进行说明。图17为本申请实施例提供的另一种导管的移动控制的流程示意图。如图17所示,该导管的移动控制,包括:The process of adjusting the direction and bending degree of the bronchoscope is described below. Fig. 17 is a schematic flowchart of another catheter movement control provided by the embodiment of the present application. As shown in Figure 17, the movement control of the catheter includes:

S401、控制支气管镜移动预设距离。S401. Control the bronchoscope to move a preset distance.

S402、确定支气管镜是否到达目标进镜位置。S402. Determine whether the bronchoscope has reached the target entrance position.

若是,则执行S411,若否,则执行S403。If yes, execute S411; if not, execute S403.

S403、获取支气管镜采集的点云数据。S403. Obtain point cloud data collected by the bronchoscope.

S404、根据点云数据,在目标对象的支气管中心线模型中确定支气管镜的当前映射位置。S404. According to the point cloud data, determine the current mapping position of the bronchoscope in the bronchus centerline model of the target object.

S405、根据支气管镜的当前映射位置,确定支气管镜的移动方向和目标支气管中心线的方向在第二平面上的角度差。S405. According to the current mapped position of the bronchoscope, determine the angle difference between the movement direction of the bronchoscope and the direction of the center line of the target bronchus on the second plane.

S406、确定角度差是否大于第一阈值。S406. Determine whether the angle difference is greater than a first threshold.

若是,则执行S407,若否,则执行S408。If yes, execute S407; if not, execute S408.

S407、调整支气管镜的方向S407. Adjust the direction of the bronchoscope

S408、根据支气管镜的当前映射位置,确定支气管镜的移动方向和目标支气管中心线的方向之间的夹角。S408. According to the current mapping position of the bronchoscope, determine the angle between the moving direction of the bronchoscope and the direction of the centerline of the target bronchus.

S409、确定夹角差是否大于第二阈值。S409. Determine whether the included angle difference is greater than a second threshold.

若是,则执行S410,若否,则执行S401。If yes, execute S410; if not, execute S401.

S410、调整支气管镜的弯曲程度。S410, adjusting the bending degree of the bronchoscope.

在S410之后,执行S401。After S410, execute S401.

S411、结束支气管镜的进镜。S411. End the bronchoscopy.

本申请实施例提供的导管的移动控制方法,首先获取支气管镜采集的点云数据,点云数据用于表征支气管镜在目标对象的支气管中的位态。其次,根据点云数据,在目标对象的支气管中心线模型中确定支气管镜的当前映射位置。再次,根据支气管镜的当前映射位置,调整支气管镜的方向和弯曲程度。最后,根据支气管镜的路径规划数据,控制调整方向和弯曲程度后的支气管镜移动预设距离。由于在支气管镜的每次移动前都会根据点云数据,调整支气管镜的方向和弯曲程度,从而精准地实现了支气管镜的自动移动控制,无需人工手动干预,提高了支气管镜的进镜效率。In the catheter movement control method provided in the embodiment of the present application, the point cloud data collected by the bronchoscope is first obtained, and the point cloud data is used to characterize the position of the bronchoscope in the bronchus of the target subject. Second, based on the point cloud data, the current mapped position of the bronchoscope is determined in the bronchial centerline model of the target subject. Again, according to the current mapping position of the bronchoscope, adjust the direction and bending degree of the bronchoscope. Finally, according to the path planning data of the bronchoscope, the bronchoscope moves a preset distance after adjusting the direction and degree of bending. Because the direction and bending degree of the bronchoscope are adjusted according to the point cloud data before each movement of the bronchoscope, the automatic movement control of the bronchoscope is accurately realized without manual intervention, and the efficiency of the bronchoscope entering the mirror is improved.

应该理解的是,虽然如上的各实施例所涉及的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,如上的各实施例所涉及的流程图中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flow charts involved in the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in the flow charts involved in the above embodiments may include multiple steps or stages, and these steps or stages are not necessarily executed at the same time, but may be executed at different times, The execution order of these steps or stages is not necessarily performed sequentially, but may be executed in turn or alternately with other steps or at least a part of steps or stages in other steps.

基于同样的发明构思,本申请实施例还提供了一种用于实现上述所涉及的导管的移动控制方法的导管的移动控制装置。该装置所提供的解决问题的实现方案与上述方法中所记载的实现方案相似,故下面所提供的一个或多个导管的移动控制装置实施例中的具体限定可以参见上文中对于导管的移动控制方法的限定,在此不再赘述。Based on the same inventive concept, an embodiment of the present application further provides a catheter movement control device for implementing the above-mentioned catheter movement control method. The solution to the problem provided by the device is similar to the implementation described in the above method, so the specific limitations in the embodiment of one or more catheter movement control devices provided below can be referred to above for the movement control of the catheter The limitation of the method will not be repeated here.

在一个实施例中,如图18所示,提供了一种导管的移动控制装置500,包括:第一获取模块501、确定模块502和控制模块503,其中:In one embodiment, as shown in FIG. 18 , a catheter movement control device 500 is provided, including: a first acquisition module 501, a determination module 502 and a control module 503, wherein:

第一获取模块501,用于获取导管采集的点云数据,点云数据用于表征导管在目标对象的中的位态;The first acquisition module 501 is configured to acquire point cloud data collected by the catheter, and the point cloud data is used to characterize the position of the catheter in the target object;

确定模块502,用于根据点云数据,在目标对象的中心线模型中确定导管的当前映射位置;A determining module 502, configured to determine the current mapping position of the catheter in the centerline model of the target object according to the point cloud data;

控制模块503,用于根据导管的当前映射位置,调整导管的方向和弯曲程度;根据导管的路径规划数据,控制调整方向和弯曲程度后的导管移动预设距离。The control module 503 is configured to adjust the direction and bending degree of the catheter according to the current mapped position of the catheter; and control the catheter to move a preset distance after adjusting the direction and bending degree according to the path planning data of the catheter.

在其中一个实施例中,控制模块503,包括:In one of the embodiments, the control module 503 includes:

中心线方向确定单元,用于确定导管的当前映射位置对应的目标中心线的方向;a centerline direction determining unit, configured to determine the direction of the target centerline corresponding to the current mapping position of the catheter;

移动方向确定单元,用于根据点云数据,确定导管的移动方向;a moving direction determining unit, configured to determine the moving direction of the catheter according to the point cloud data;

调整单元,用于根据导管的移动方向和目标中心线的方向,调整导管的方位和弯曲程度。The adjusting unit is used for adjusting the orientation and bending degree of the catheter according to the moving direction of the catheter and the direction of the target centerline.

在其中一个实施例中,中心线方向确定单元,具体用于确定导管的第一平面,第一平面为导管的头部平面;将第一平面与目标中心线之间的切线方向,确定为目标中心线的方向。In one of the embodiments, the centerline direction determination unit is specifically configured to determine the first plane of the catheter, the first plane is the plane of the head of the catheter; and determine the tangent direction between the first plane and the target centerline as the target The direction of the centerline.

在其中一个实施例中,移动方向确定单元,具体用于根据点云数据,确定导管的中心曲线;确定导管的中心曲线在导管的头部心线点的目标切线;将目标切线的方向确定为导管的移动方向。In one of the embodiments, the moving direction determination unit is specifically used to determine the center curve of the catheter according to the point cloud data; determine the target tangent of the center curve of the catheter at the center line point of the catheter head; determine the direction of the target tangent as The direction of movement of the catheter.

在其中一个实施例中,调整单元,具体用于根据导管的移动方向和目标中心线的方向在第二平面上的角度差,调整导管的方向,第二平面为导管的尾部平面;根据导管的移动方向和目标中心线的方向之间的夹角,调整导管的弯曲程度。In one of the embodiments, the adjustment unit is specifically configured to adjust the direction of the catheter according to the angle difference between the moving direction of the catheter and the direction of the target centerline on the second plane, the second plane being the tail plane of the catheter; The angle between the direction of movement and the direction of the target centerline adjusts the degree of curvature of the catheter.

在其中一个实施例中,调整单元,具体用于若导管的移动方向和目标中心线的方向在第二平面上的角度差大于第一阈值,则将角度差确定为导管的待旋转角度;根据导管的待旋转角度,调整导管的方向。In one of the embodiments, the adjustment unit is specifically configured to determine the angle difference as the to-be-rotated angle of the catheter if the angle difference between the moving direction of the catheter and the direction of the target centerline on the second plane is greater than a first threshold; The angle to be rotated of the catheter, adjust the direction of the catheter.

在其中一个实施例中,调整单元,具体用于若导管的移动方向和导管当前的映射位置对应的中心线的方向在目标平面上的角度差小于等于第一阈值,则保持导管的方向不变。In one of the embodiments, the adjustment unit is specifically configured to keep the direction of the catheter unchanged if the angle difference between the moving direction of the catheter and the direction of the center line corresponding to the current mapping position of the catheter on the target plane is less than or equal to the first threshold .

在其中一个实施例中,调整单元,具体用于若导管的移动方向和目标中心线的方向之间的夹角大于第二阈值,则将夹角确定为导管的待弯曲角度;根据导管的待弯曲角度,调整导管的弯曲程度;若导管的移动方向和目标中心线的方向之间的夹角小于等于第二阈值,则保持导管的弯曲程度不变。In one of the embodiments, the adjustment unit is specifically configured to determine the included angle as the to-be-bent angle of the catheter if the angle between the moving direction of the catheter and the direction of the target centerline is greater than a second threshold; The bending angle is used to adjust the bending degree of the catheter; if the angle between the moving direction of the catheter and the direction of the target centerline is smaller than or equal to the second threshold, the bending degree of the catheter is kept unchanged.

上述导管的移动控制装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。Each module in the above catheter movement control device can be fully or partially realized by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules.

导管的移动控制在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图19所示。该计算机设备包括处理器、存储器、输入/输出接口、通信接口、显示单元和输入装置。其中,处理器、存储器和输入/输出接口通过系统总线连接,通信接口、显示单元和输入装置通过输入/输出接口连接到系统总线。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质和内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的输入/输出接口用于处理器与外部设备之间交换信息。该计算机设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、移动蜂窝网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现上述导管的移动控制方法,或者,上述支气管镜的自动进镜方法。Catheter Movement Control In one embodiment, a computer device is provided, which may be a terminal, and its internal structure may be shown in FIG. 19 . The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit and an input device. Wherein, the processor, the memory and the input/output interface are connected through the system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input/output interface of the computer device is used for exchanging information between the processor and external devices. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, mobile cellular network, NFC (Near Field Communication) or other technologies. When the computer program is executed by the processor, the above-mentioned method for controlling the movement of the catheter, or the above-mentioned method for automatically advancing the bronchoscope can be realized.

该计算机设备的显示单元用于形成视觉可见的画面,可以是显示屏、投影装置或虚拟现实成像装置。显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。The display unit of the computer equipment is used to form a visually visible picture, which may be a display screen, a projection device or a virtual reality imaging device. The display screen may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a button, a trackball or a touch pad set on the casing of the computer device, or a External keyboard, touchpad or mouse etc.

本领域技术人员可以理解,图19中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 19 is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation on the computer equipment on which the solution of this application is applied. The specific computer equipment can be More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.

在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现上述导管的移动控制方法。In one embodiment, a computer device is provided, including a memory and a processor, where a computer program is stored in the memory, and the above-mentioned catheter movement control method is realized when the processor executes the computer program.

在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述导管导管的移动控制方法。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the above method for controlling the movement of the catheter is implemented.

在一个实施例中,提供了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现上述导管导管的移动控制方法。In one embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the above method for controlling movement of the catheter catheter is implemented.

需要说明的是,本申请所涉及的用户信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于分析的数据、存储的数据、展示的数据等),均为经用户授权或者经过各方充分授权的信息和数据,且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all It is information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-OnlyMemory,ROM)、磁带、软盘、闪存、光存储器、高密度嵌入式非易失性存储器、阻变存储器(ReRAM)、磁变存储器(Magnetoresistive Random Access Memory,MRAM)、铁电存储器(Ferroelectric Random Access Memory,FRAM)、相变存储器(Phase Change Memory,PCM)、石墨烯存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器等。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic RandomAccess Memory,DRAM)等。本申请所提供的各实施例中所涉及的数据库可包括关系型数据库和非关系型数据库中至少一种。非关系型数据库可包括基于区块链的分布式数据库等,不限于此。本申请所提供的各实施例中所涉及的处理器可为通用处理器、中央处理器、图形处理器、数字信号处理器、可编程逻辑器、基于量子计算的数据处理逻辑器等,不限于此。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above-mentioned embodiments can be completed by instructing related hardware through computer programs, and the computer programs can be stored in a non-volatile computer-readable memory In the medium, when the computer program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, any reference to storage, database or other media used in the various embodiments provided in the present application may include at least one of non-volatile and volatile storage. Non-volatile memory can include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive variable memory (ReRAM), magnetic variable memory (Magnetoresistive Random Access Memory, MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (Phase Change Memory, PCM), graphene memory, etc. The volatile memory may include random access memory (Random Access Memory, RAM) or external cache memory. As an illustration and not a limitation, RAM can be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (Dynamic Random Access Memory, DRAM). The databases involved in the various embodiments provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a blockchain-based distributed database, etc., but is not limited thereto. The processors involved in the various embodiments provided by this application can be general-purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, data processing logic devices based on quantum computing, etc., and are not limited to this.

以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered to be within the range described in this specification.

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present application, and the description thereof is relatively specific and detailed, but should not be construed as limiting the patent scope of the present application. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be determined by the appended claims.

Claims (10)

1.一种导管的移动控制装置,其特征在于,所述装置包括:1. A movement control device for a catheter, characterized in that the device comprises: 第一获取模块,用于获取导管采集的点云数据,所述点云数据用于表征所述导管在目标对象的中的位态;The first acquisition module is used to acquire point cloud data collected by the catheter, and the point cloud data is used to characterize the position of the catheter in the target object; 确定模块,用于根据所述点云数据,在所述目标对象的中心线模型中确定所述导管的当前映射位置;a determination module, configured to determine the current mapping position of the catheter in the centerline model of the target object according to the point cloud data; 控制模块,用于根据所述导管的当前映射位置,调整所述导管的方向和弯曲程度;根据所述导管的路径规划数据,控制调整方向和弯曲程度后的导管移动预设距离。The control module is configured to adjust the direction and bending degree of the catheter according to the current mapped position of the catheter; and control the catheter to move a preset distance after adjusting the direction and bending degree according to the path planning data of the catheter. 2.根据权利要求1所述的装置,其特征在于,所述控制模块,包括:2. The device according to claim 1, wherein the control module comprises: 中心线方向确定单元,用于确定所述导管的当前映射位置对应的目标中心线的方向;a centerline direction determining unit, configured to determine the direction of the target centerline corresponding to the current mapping position of the catheter; 移动方向确定单元,用于根据所述点云数据,确定所述导管的移动方向;a moving direction determining unit, configured to determine the moving direction of the catheter according to the point cloud data; 调整单元,用于根据所述导管的移动方向和所述目标中心线的方向,调整所述导管的方位和弯曲程度。The adjustment unit is configured to adjust the orientation and bending degree of the catheter according to the moving direction of the catheter and the direction of the target centerline. 3.根据权利要求2所述的装置,其特征在于,所述中心线方向确定单元,具体用于确定所述导管的第一平面,所述第一平面为所述导管的头部平面;将所述第一平面与所述目标中心线之间的切线方向,确定为所述目标中心线的方向。3. The device according to claim 2, wherein the centerline direction determining unit is specifically configured to determine a first plane of the catheter, the first plane being the plane of the head of the catheter; A tangent direction between the first plane and the target centerline is determined as the direction of the target centerline. 4.根据权利要求2所述的装置,其特征在于,所述移动方向确定单元,具体用于根据所述点云数据,确定所述导管的中心曲线;确定所述导管的中心曲线在所述导管的头部心线点的目标切线;将所述目标切线的方向确定为所述导管的移动方向。4. The device according to claim 2, wherein the moving direction determining unit is specifically configured to determine the center curve of the catheter according to the point cloud data; determine the center curve of the catheter in the A target tangent to the heartline point of the head of the catheter; the direction of the target tangent is determined as the moving direction of the catheter. 5.根据权利要求2所述的装置,其特征在于,所述调整单元,具体用于根据所述导管的移动方向和所述目标中心线的方向在第二平面上的角度差,调整所述导管的方向,所述第二平面为所述导管的尾部平面;根据所述导管的移动方向和所述目标中心线的方向之间的夹角,调整所述导管的弯曲程度。5. The device according to claim 2, wherein the adjusting unit is specifically configured to adjust the angle difference between the moving direction of the catheter and the direction of the target centerline on the second plane. The direction of the catheter, the second plane is the tail plane of the catheter; according to the included angle between the moving direction of the catheter and the direction of the target centerline, the degree of bending of the catheter is adjusted. 6.根据权利要求5所述的装置,其特征在于,所述调整单元,具体用于若所述导管的移动方向和所述目标中心线的方向在第二平面上的角度差大于第一阈值,则将所述角度差确定为所述导管的待旋转角度;根据导管的待旋转角度,调整所述导管的方向。6. The device according to claim 5, wherein the adjusting unit is specifically configured to: if the angle difference between the moving direction of the catheter and the direction of the target centerline on the second plane is greater than a first threshold , the angle difference is determined as the to-be-rotated angle of the catheter; and the direction of the catheter is adjusted according to the to-be-rotated angle of the catheter. 7.根据权利要求5所述的装置,其特征在于,所述调整单元,具体用于若所述导管的移动方向和所述导管当前的映射位置对应的中心线的方向在目标平面上的角度差小于等于第一阈值,则保持所述导管的方向不变。7. The device according to claim 5, wherein the adjustment unit is specifically configured to determine the angle between the moving direction of the catheter and the direction of the centerline corresponding to the current mapping position of the catheter on the target plane If the difference is less than or equal to a first threshold, the direction of the catheter is kept unchanged. 8.根据权利要求5所述的装置,其特征在于,所述调整单元,具体用于若所述导管的移动方向和所述目标中心线的方向之间的夹角大于第二阈值,则将所述夹角确定为所述导管的待弯曲角度;根据导管的待弯曲角度,调整所述导管的弯曲程度;若所述导管的移动方向和所述目标中心线的方向之间的夹角小于等于第二阈值,则保持所述导管的弯曲程度不变。8. The device according to claim 5, wherein the adjustment unit is specifically configured to: if the included angle between the moving direction of the catheter and the direction of the target centerline is greater than a second threshold, then set The angle is determined as the angle to be bent of the catheter; according to the angle to be bent of the catheter, the degree of bending of the catheter is adjusted; if the angle between the moving direction of the catheter and the direction of the target centerline is less than equal to the second threshold, then keep the bending degree of the catheter unchanged. 9.一种导管的移动控制方法,其特征在于,所述方法包括:9. A method for controlling movement of a catheter, characterized in that the method comprises: 获取导管采集的点云数据,所述点云数据用于表征所述导管在目标对象的中的位态;Acquiring point cloud data collected by the catheter, where the point cloud data is used to characterize the position of the catheter in the target object; 根据所述点云数据,在所述目标对象的中心线模型中确定所述导管的当前映射位置;determining a current mapped position of the catheter in a centerline model of the target object based on the point cloud data; 根据所述导管的当前映射位置,调整所述导管的方向和弯曲程度;adjusting the direction and bending degree of the catheter according to the current mapped position of the catheter; 根据所述导管的路径规划数据,控制调整方向和弯曲程度后的导管移动预设距离。According to the path planning data of the catheter, the catheter moves a preset distance after adjusting the direction and bending degree. 10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1所述的方法的步骤。10. A computer-readable storage medium, on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the steps of the method according to claim 1 are realized.
CN202310709371.6A 2023-06-14 2023-06-14 Catheter movement control device, catheter movement control method, and storage medium Pending CN116687328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310709371.6A CN116687328A (en) 2023-06-14 2023-06-14 Catheter movement control device, catheter movement control method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310709371.6A CN116687328A (en) 2023-06-14 2023-06-14 Catheter movement control device, catheter movement control method, and storage medium

Publications (1)

Publication Number Publication Date
CN116687328A true CN116687328A (en) 2023-09-05

Family

ID=87844740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310709371.6A Pending CN116687328A (en) 2023-06-14 2023-06-14 Catheter movement control device, catheter movement control method, and storage medium

Country Status (1)

Country Link
CN (1) CN116687328A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117100197A (en) * 2023-10-23 2023-11-24 杭州堃博生物科技有限公司 Sheath bending adjustment method and device, nonvolatile storage medium and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109124766A (en) * 2017-06-21 2019-01-04 韦伯斯特生物官能(以色列)有限公司 It is sensed using trace information with shape and is registrated to improve
CN111386078A (en) * 2017-12-11 2020-07-07 柯惠有限合伙公司 System, method and computer readable medium for non-rigid registration of electromagnetic navigation space to CT volume
CN113100943A (en) * 2020-12-31 2021-07-13 杭州堃博生物科技有限公司 Navigation processing method, device, system, equipment and medium in physiological channel
CN113616333A (en) * 2021-09-13 2021-11-09 上海微创医疗机器人(集团)股份有限公司 Catheter movement assistance method, catheter movement assistance system, and readable storage medium
CN114340542A (en) * 2019-08-30 2022-04-12 奥瑞斯健康公司 System and method for weight-based registration of position sensors
CN115348847A (en) * 2019-12-19 2022-11-15 诺亚医疗集团公司 Systems and methods for robotic bronchoscopic navigation
CN115989993A (en) * 2023-02-08 2023-04-21 上海微创微航机器人有限公司 Bronchoscope control method, bronchoscope control device, automatic registration method and computer equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109124766A (en) * 2017-06-21 2019-01-04 韦伯斯特生物官能(以色列)有限公司 It is sensed using trace information with shape and is registrated to improve
CN111386078A (en) * 2017-12-11 2020-07-07 柯惠有限合伙公司 System, method and computer readable medium for non-rigid registration of electromagnetic navigation space to CT volume
CN114340542A (en) * 2019-08-30 2022-04-12 奥瑞斯健康公司 System and method for weight-based registration of position sensors
CN115348847A (en) * 2019-12-19 2022-11-15 诺亚医疗集团公司 Systems and methods for robotic bronchoscopic navigation
CN113100943A (en) * 2020-12-31 2021-07-13 杭州堃博生物科技有限公司 Navigation processing method, device, system, equipment and medium in physiological channel
CN113616333A (en) * 2021-09-13 2021-11-09 上海微创医疗机器人(集团)股份有限公司 Catheter movement assistance method, catheter movement assistance system, and readable storage medium
CN115989993A (en) * 2023-02-08 2023-04-21 上海微创微航机器人有限公司 Bronchoscope control method, bronchoscope control device, automatic registration method and computer equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117100197A (en) * 2023-10-23 2023-11-24 杭州堃博生物科技有限公司 Sheath bending adjustment method and device, nonvolatile storage medium and electronic equipment
CN117100197B (en) * 2023-10-23 2024-02-20 杭州堃博生物科技有限公司 Sheath bending adjustment method and device, nonvolatile storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
US10909685B2 (en) Method for precisely and automatically positioning reference line for integrated images
CN107067398B (en) Completion method and device for missing blood vessels in three-dimensional medical model
CN107133946B (en) Medical image processing method, device and equipment
CN104000655B (en) Surface reconstruction and registration for the combination of laparoscopically surgical operation
CN113112486B (en) Tumor motion estimation method and device, terminal equipment and storage medium
CN109496338B (en) Transcranial brain atlas navigation method and system based on individual characteristics
CN103948361B (en) Endoscope&#39;s positioning and tracing method of no marks point and system
CN107123137A (en) Medical image processing method and equipment
CN110969698A (en) Construction method of temporal bone space coordinate system, space positioning method and electronic equipment
CN110930414A (en) Lung region shadow marking method and device of medical image, server and storage medium
CN111899273A (en) Image segmentation method, computer device and storage medium
CN113823000A (en) Head-based enhanced display method, system, device and storage medium
CN112150543A (en) Imaging positioning method, device, device and storage medium for medical imaging equipment
CN116687328A (en) Catheter movement control device, catheter movement control method, and storage medium
CN109658425B (en) Lung lobe segmentation method and device, computer equipment and storage medium
CN116370077A (en) Navigation method and device of ultrasonic endoscope probe, computer equipment and storage medium
CN116322485A (en) Method and system for tool tracking
CN114998239B (en) Breathing correction method, computer device and storage medium
CN115239830B (en) Cartilage surface reconstruction method, cartilage surface reconstruction system, cartilage surface reconstruction computer device, cartilage surface reconstruction medium and cartilage surface reconstruction program product
CN112581460B (en) Scanning planning method, device, computer equipment and storage medium
WO2024255159A1 (en) Single vertebra segmention method and apparatus, and device and storage medium
CN115989993A (en) Bronchoscope control method, bronchoscope control device, automatic registration method and computer equipment
Liu et al. Haustral loop extraction for CT colonography using geodesics
CN114723673A (en) A medical image processing method, system, terminal and storage medium
CN114587533B (en) Puncture location guidance method, puncture location guidance device, puncture location guidance apparatus, puncture location guidance program, and puncture location guidance program

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