[go: up one dir, main page]

CN118216867A - A 3D electronic laparoscope and its image processing method, medium and product - Google Patents

A 3D electronic laparoscope and its image processing method, medium and product Download PDF

Info

Publication number
CN118216867A
CN118216867A CN202410240661.5A CN202410240661A CN118216867A CN 118216867 A CN118216867 A CN 118216867A CN 202410240661 A CN202410240661 A CN 202410240661A CN 118216867 A CN118216867 A CN 118216867A
Authority
CN
China
Prior art keywords
real
image
time image
distance
image processing
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
CN202410240661.5A
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.)
Nanjing Tuge Medical Technology Co ltd
Original Assignee
Nanjing Tuge Medical Technology 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 Nanjing Tuge Medical Technology Co ltd filed Critical Nanjing Tuge Medical Technology Co ltd
Priority to CN202410240661.5A priority Critical patent/CN118216867A/en
Publication of CN118216867A publication Critical patent/CN118216867A/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/313Instruments 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 introducing through surgical openings, e.g. laparoscopes
    • 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/00002Operational features of endoscopes
    • A61B1/00004Operational features of endoscopes characterised by electronic signal processing
    • A61B1/00009Operational features of endoscopes characterised by electronic signal processing of image signals during a use of endoscope
    • 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/00002Operational features of endoscopes
    • A61B1/00043Operational features of endoscopes provided with output arrangements
    • A61B1/00045Display arrangement
    • 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/04Instruments 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 combined with photographic or television appliances
    • 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/06Instruments 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 with illuminating arrangements
    • A61B1/07Instruments 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 with illuminating arrangements using light-conductive means, e.g. optical fibres

Landscapes

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

Abstract

The invention discloses a 3D electronic laparoscope, an image processing method, a medium and a product thereof, relating to the field of medical appliances, comprising the following steps: the distance sensor is arranged at the head end part of the image acquisition module; the distance sensor is connected with the image processing module; the distance sensor is used for acquiring the distance between the image acquisition module and the detected tissue; the image acquisition module is connected with the image processing module; the image acquisition module is used for simultaneously acquiring a first real-time image and a second real-time image of the detected tissue; the image processing module is connected with the display module; the image processing module is used for determining horizontal parallaxes of the first real-time image and the second real-time image according to the left-right eye parallax relation comparison table and the distance, and adjusting the horizontal parallaxes. The invention can improve the 3D visual effect of the electronic pleuroperitoneal cavity under different working distances.

Description

一种3D电子腹腔镜及其图像处理方法、介质及产品A 3D electronic laparoscope and its image processing method, medium and product

技术领域Technical Field

本发明涉及医疗器械领域,特别是涉及一种3D电子腹腔镜及其图像处理方法、介质及产品。The present invention relates to the field of medical devices, and in particular to a 3D electronic laparoscope and an image processing method, medium and product thereof.

背景技术Background technique

内窥镜是一种常用的医疗器械,可被应用于各种检查和外科手术。与传统的外科手术相比,医用内窥镜的功能性微创伤手术已得到医生和患者的广泛接受。医用内窥镜利用人体天然孔洞或者在必要的时候开小孔,医生只要熟练地将内窥镜镜头深入体内,就能在体外进行体内的密闭手术操作。Endoscope is a commonly used medical device that can be used in various examinations and surgical operations. Compared with traditional surgical operations, the functional minimally invasive surgery of medical endoscopes has been widely accepted by doctors and patients. Medical endoscopes use natural holes in the human body or make small holes when necessary. As long as the doctor skillfully inserts the endoscope lens deep into the body, he can perform closed surgical operations in the body outside the body.

3D电子胸腹腔镜技术改善了医生对深度的感知,这是二维视觉效果无法实现的。在传统的胸腹腔镜手术中,缺乏对主体、深度和层次的感知是困扰外科医生的最大难题,而3D电子胸腹腔镜系统在还原了真实的三维立体手术视野和最精确的空间定位的同时,最大限度地提供了解剖的深度和立体层次,提高了疑难复杂手术的精确度,降低了操作风险。3D electronic thoraco-laparoscopic technology improves doctors' perception of depth, which is impossible with two-dimensional visual effects. In traditional thoraco-laparoscopic surgery, the lack of perception of the subject, depth and layer is the biggest problem that plagues surgeons. The 3D electronic thoraco-laparoscopic system restores the true three-dimensional surgical field of view and the most accurate spatial positioning, while providing the maximum depth and three-dimensional layer of anatomy, improving the accuracy of difficult and complex surgeries and reducing operational risks.

3D电子胸腹腔镜的3D视觉效果直接影响了医生术中操作的准确性及感观的舒适度,不合适的3D视觉效果会使医生在使用时产生眩晕的感觉。然而3D电子胸腹腔镜在不同的工作距离下需要匹配不同的3D视觉效果,因此亟需一种可以自动调节3D视觉效果的3D电子腹腔镜。The 3D visual effect of 3D electronic thoracoscopic and laparoscopic instruments directly affects the accuracy of the doctor's intraoperative operation and the comfort of the senses. Inappropriate 3D visual effects will make the doctor feel dizzy when using it. However, 3D electronic thoracoscopic and laparoscopic instruments need to match different 3D visual effects at different working distances, so there is an urgent need for a 3D electronic laparoscope that can automatically adjust the 3D visual effect.

发明内容Summary of the invention

本发明的目的是提供一种3D电子腹腔镜及其图像处理方法、介质及产品,能够提高电子胸腹腔镜在不同的工作距离下的3D视觉效果。The purpose of the present invention is to provide a 3D electronic laparoscope and an image processing method, medium and product thereof, which can improve the 3D visual effect of the electronic thoracoabdominal scope at different working distances.

为实现上述目的,本发明提供了如下方案:To achieve the above object, the present invention provides the following solutions:

一种3D电子腹腔镜,所述3D电子腹腔镜包括距离传感器、图像采集模块、图像处理模块和显示模块;A 3D electronic laparoscope, comprising a distance sensor, an image acquisition module, an image processing module and a display module;

所述距离传感器设置在所述图像采集模块的头端部;所述距离传感器与所述图像处理模块连接;所述距离传感器用于采集所述图像采集模块与被探测组织的距离,并将所述距离发送至所述图像处理模块;The distance sensor is arranged at the head end of the image acquisition module; the distance sensor is connected to the image processing module; the distance sensor is used to collect the distance between the image acquisition module and the detected tissue, and send the distance to the image processing module;

所述图像采集模块与所述图像处理模块连接;所述图像采集模块用于同时采集所述被探测组织的第一实时图像和第二实时图像,并将所述第一实时图像和所述第二实时图像发送至所述图像处理模块;The image acquisition module is connected to the image processing module; the image acquisition module is used to simultaneously acquire a first real-time image and a second real-time image of the detected tissue, and send the first real-time image and the second real-time image to the image processing module;

所述图像处理模块与所述显示模块连接;所述图像处理模块用于根据左右眼视差关系对照表和所述距离确定所述第一实时图像和所述第二实时图像的水平视差,并根据观察者的观测距离、瞳孔间距、瞳孔直径和显示模块的单位像素宽度对所述水平视差进行调整;其中,左右眼视差关系对照表是拍摄距离与左右眼视差关系表。The image processing module is connected to the display module; the image processing module is used to determine the horizontal parallax of the first real-time image and the second real-time image according to the left-right eye parallax relationship comparison table and the distance, and adjust the horizontal parallax according to the observer's observation distance, pupil distance, pupil diameter and unit pixel width of the display module; wherein the left-right eye parallax relationship comparison table is a table of shooting distance and left-right eye parallax relationship.

可选地,所述3D电子腹腔镜还包括传输模块;所述图像处理模块通过所述传输模块分别与所述距离传感器和所述图像采集模块连接。Optionally, the 3D electronic laparoscope further includes a transmission module; the image processing module is connected to the distance sensor and the image acquisition module respectively through the transmission module.

可选地,所述图像处理模块为计算机。Optionally, the image processing module is a computer.

一种3D电子腹腔镜的图像处理方法,应用于上述的3D电子腹腔镜,所述图像处理方法包括:A 3D electronic laparoscope image processing method is applied to the above-mentioned 3D electronic laparoscope, and the image processing method comprises:

获取距离、第一实时图像和第二实时图像;所述距离为图像采集模块与被探测组织的距离;所述第一实时图像和所述第二实时图像均由图像采集模块同时采集;Acquire a distance, a first real-time image, and a second real-time image; the distance is the distance between the image acquisition module and the detected tissue; the first real-time image and the second real-time image are both acquired simultaneously by the image acquisition module;

根据所述距离和左右眼视差关系对照表,确定所述第一实时图像和所述第二实时图像的水平视差;Determine the horizontal disparity between the first real-time image and the second real-time image according to the distance and left-right eye disparity relationship comparison table;

判断所述水平视差是否在预设范围内;Determining whether the horizontal parallax is within a preset range;

当所述水平视差未在预设范围内时,调整所述第一实时图像和所述第二实时图像之间的距离。When the horizontal parallax is not within a preset range, the distance between the first real-time image and the second real-time image is adjusted.

可选地,所述预设范围为:Optionally, the preset range is:

其中,dispv为第一实时图像和第二实时图像之间的水平视差;δ为常数,dv表示观测者与显示器之间的距离,de表示人两眼瞳孔之间的距离,D表示人眼的瞳孔直径大小,Pw表示显示器的单位像素宽度大小。Wherein, disp v is the horizontal parallax between the first real-time image and the second real-time image; δ is a constant, d v represents the distance between the observer and the display, d e represents the distance between the pupils of the two eyes of a person, D represents the pupil diameter of the human eye, and P w represents the unit pixel width of the display.

可选地,当所述水平视差未在预设范围内时,调整所述第一实时图像和所述第二实时图像之间的距离,具体包括:Optionally, when the horizontal parallax is not within a preset range, adjusting the distance between the first real-time image and the second real-time image specifically includes:

时,所述第一实时图像向远离所述第二实时图像的方向移动所述第二实时图像向远离所述第一实时图像的方向移动/>像素;when When the first real-time image moves away from the second real-time image The second real-time image moves in a direction away from the first real-time image. Pixels;

时,所述第一实时图像向靠近所述第二实时图像的方向移动所述第二实时图像向靠近所述第一实时图像的方向移动/> when When the first real-time image moves toward the direction close to the second real-time image The second real-time image moves toward a direction close to the first real-time image.

可选地,所述左右眼视差关系对照表的获取过程具体包括:Optionally, the process of acquiring the left-eye and right-eye parallax relationship comparison table specifically includes:

获取图像采集模块在多个拍摄距离下采集的第一实时图像样本和第二实时图像样本;Acquire a first real-time image sample and a second real-time image sample acquired by an image acquisition module at multiple shooting distances;

应用显示模块对所述第一实时图像样本和所述第二实时图像样本进行显示,得到各所述拍摄距离对应的左右眼视差;Using a display module to display the first real-time image sample and the second real-time image sample to obtain left-eye and right-eye parallax corresponding to each shooting distance;

根据各所述拍摄距离对应的左右眼视差,构建左右眼视差关系对照表。A left-right eye parallax relationship comparison table is constructed according to the left-right eye parallax corresponding to each shooting distance.

一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述任一项所述的3D电子腹腔镜的图像处理方法的步骤。A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of any of the above-mentioned 3D electronic laparoscope image processing methods.

一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现上述任一项所述的3D电子腹腔镜的图像处理方法的步骤。A computer program product comprises a computer program, which, when executed by a processor, implements the steps of any one of the above-mentioned 3D electronic laparoscope image processing methods.

根据本发明提供的具体实施例,本发明公开了以下技术效果:According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:

本发明应用距离传感器采集所述图像采集模块与被探测组织的距离,并将所述距离发送至所述图像处理模块,应用图像采集模块同时采集被探测组织的第一实时图像和第二实时图像,并将第一实时图像和第二实时图像发送至图像处理模块;图像处理模块根据左右眼视差关系对照表和距离确定第一实时图像和第二实时图像的水平视差,并根据观察者的观测距离、瞳孔间距、瞳孔直径和显示模块的单位像素宽度对所述水平视差进行调整,使得本发明能够提高电子胸腹腔镜在不同的工作距离下的3D视觉效果。The present invention uses a distance sensor to collect the distance between the image acquisition module and the detected tissue, and sends the distance to the image processing module. The image acquisition module simultaneously collects a first real-time image and a second real-time image of the detected tissue, and sends the first real-time image and the second real-time image to the image processing module; the image processing module determines the horizontal parallax of the first real-time image and the second real-time image according to a left-right eye parallax relationship comparison table and the distance, and adjusts the horizontal parallax according to the observer's observation distance, pupil distance, pupil diameter and unit pixel width of the display module, so that the present invention can improve the 3D visual effect of the electronic thoracoabdominal scope at different working distances.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be 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 creative work.

图1为本发明实施例1提供的距离传感器外观示意图;FIG1 is a schematic diagram of the appearance of a distance sensor provided in Embodiment 1 of the present invention;

图2为本发明实施例1提供的3D电子腹腔镜内部连接关系示意图;FIG2 is a schematic diagram of the internal connection relationship of the 3D electronic laparoscope provided in Example 1 of the present invention;

图3为计算机设备的内部结构图;FIG3 is a diagram showing the internal structure of a computer device;

图4为本发明实施例1提供的左右眼视差关系对照表示意图;FIG4 is a schematic diagram showing the comparison of the left and right eye parallax relationship provided by Example 1 of the present invention;

图5为本发明实施例1提供的显示器成像和水平视差关系示意图;FIG5 is a schematic diagram of the relationship between display imaging and horizontal parallax provided by Embodiment 1 of the present invention;

图6为本发明实施例1提供的实时图像移动原理示意图。FIG. 6 is a schematic diagram of the real-time image movement principle provided by Embodiment 1 of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

本发明的目的是提供一种3D电子腹腔镜及其图像处理方法、介质及产品,能够提高电子胸腹腔镜在不同的工作距离下的3D视觉效果,进一步地,实现了3D电子胸腹腔镜在不同的工作距离下均能呈现适合的3D视觉效果。The purpose of the present invention is to provide a 3D electronic laparoscope and its image processing method, medium and product, which can improve the 3D visual effect of the electronic thoracoabdominal scope at different working distances, and further, realize that the 3D electronic thoracoabdominal scope can present suitable 3D visual effect at different working distances.

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

实施例1Example 1

如图1所示,本实施例中的一种3D电子腹腔镜,包括距离传感器、图像采集模块、图像处理模块和显示模块。As shown in FIG. 1 , a 3D electronic laparoscope in this embodiment includes a distance sensor, an image acquisition module, an image processing module and a display module.

所述距离传感器设置在所述图像采集模块的头端部;所述距离传感器与所述图像处理模块连接;所述距离传感器用于采集所述图像采集模块与被探测组织的距离,并将所述距离发送至所述图像处理模块。The distance sensor is arranged at the head end of the image acquisition module; the distance sensor is connected to the image processing module; the distance sensor is used to acquire the distance between the image acquisition module and the detected tissue, and send the distance to the image processing module.

所述图像采集模块与所述图像处理模块连接;所述图像采集模块用于同时采集所述被探测组织的第一实时图像和第二实时图像,并将所述第一实时图像和所述第二实时图像发送至所述图像处理模块。The image acquisition module is connected to the image processing module; the image acquisition module is used to simultaneously acquire a first real-time image and a second real-time image of the detected tissue, and send the first real-time image and the second real-time image to the image processing module.

所述图像处理模块与所述显示模块连接;所述图像处理模块用于根据左右眼视差关系对照表和所述距离确定所述第一实时图像和所述第二实时图像的水平视差,并根据观察者的观测距离、瞳孔间距、瞳孔直径和显示模块的单位像素宽度对所述水平视差进行调整;其中,左右眼视差关系对照表是拍摄距离与左右眼视差关系表。The image processing module is connected to the display module; the image processing module is used to determine the horizontal parallax of the first real-time image and the second real-time image according to the left-right eye parallax relationship comparison table and the distance, and adjust the horizontal parallax according to the observer's observation distance, pupil distance, pupil diameter and unit pixel width of the display module; wherein the left-right eye parallax relationship comparison table is a table of shooting distance and left-right eye parallax relationship.

作为一个具体地实施方式,所述3D电子腹腔镜还包括传输模块;所述图像处理模块通过所述传输模块分别与所述距离传感器和所述图像采集模块连接。As a specific implementation, the 3D electronic laparoscope further includes a transmission module; the image processing module is connected to the distance sensor and the image acquisition module respectively through the transmission module.

进一步地,所述图像处理模块为计算机。Furthermore, the image processing module is a computer.

在实际应用中,如图1和图2所示,3D电子腹腔镜包括距离传感器、3D电子腹腔镜图像采集模块(即图像采集模块)、传输模块、3D图像处理器主机(即图像处理模块)和3D显示器(显示模块)。距离传感器为一种成熟的电子产品;3D电子腹腔镜图像采集模块由光学镜片及两颗CMOS芯片组成,被探测物的图像通过光学镜片被传输到两个CMOS芯片的靶面,两个CMOS负责将左右眼的光学图像处理成电信号。传输模块为印制电路板和电子信号线组成,将CMOS芯片输出的电信号传输到图像处理模块。图像处理模块由含有图像处理能力的印制电路板构成,可把图像采集模块传输过来的电信号按算法公式进行运算处理并通过视频接口输出。In practical applications, as shown in Figures 1 and 2, the 3D electronic laparoscope includes a distance sensor, a 3D electronic laparoscope image acquisition module (i.e., image acquisition module), a transmission module, a 3D image processor host (i.e., image processing module), and a 3D display (display module). The distance sensor is a mature electronic product; the 3D electronic laparoscope image acquisition module is composed of an optical lens and two CMOS chips. The image of the object being detected is transmitted to the target surface of the two CMOS chips through the optical lens. The two CMOS chips are responsible for processing the optical images of the left and right eyes into electrical signals. The transmission module is composed of a printed circuit board and an electronic signal line, which transmits the electrical signal output by the CMOS chip to the image processing module. The image processing module is composed of a printed circuit board with image processing capabilities, which can process the electrical signal transmitted from the image acquisition module according to the algorithm formula and output it through the video interface.

距离传感器位于3D电子腹腔图像采集模块的头端部,用于探测3D电子腹腔图像采集模块与被探测组织的距离,并将该数据通过传输模块传输给3D图像处理器主机。3D电子腹腔镜图像采集模块可采集被探测组织的实时画面,并通过传输模块传输到3D图像处理器主机,3D图像处理器主机依据采集模块与被探测组织的距离对实时画面进行3D视觉矫正并融合、输出3D画面,输出的3D画面在3D显示器上显示出来。观察者可佩戴3D眼镜观察到被探测组织的3D画面,此外3D图像处理器主机可分别将左右眼的2D图像在3D显示器上显示出来。The distance sensor is located at the head end of the 3D electronic abdominal image acquisition module, and is used to detect the distance between the 3D electronic abdominal image acquisition module and the detected tissue, and transmit the data to the 3D image processor host through the transmission module. The 3D electronic laparoscopic image acquisition module can acquire real-time images of the detected tissue, and transmit them to the 3D image processor host through the transmission module. The 3D image processor host performs 3D visual correction and fusion on the real-time images based on the distance between the acquisition module and the detected tissue, and outputs 3D images, which are displayed on the 3D display. The observer can wear 3D glasses to observe the 3D images of the detected tissue. In addition, the 3D image processor host can display the 2D images of the left and right eyes on the 3D display respectively.

实施例2Example 2

在实施例1的基础上,本发明还提供一种3D电子腹腔镜的图像处理方法,所述图像处理方法包括:On the basis of Example 1, the present invention further provides an image processing method for a 3D electronic laparoscope, the image processing method comprising:

步骤S1:获取距离、第一实时图像和第二实时图像;所述距离为图像采集模块与被探测组织的距离;所述第一实时图像和所述第二实时图像均由图像采集模块同时采集。Step S1: Acquire the distance, the first real-time image and the second real-time image; the distance is the distance between the image acquisition module and the detected tissue; the first real-time image and the second real-time image are both acquired simultaneously by the image acquisition module.

步骤S2:根据所述距离和左右眼视差关系对照表,确定所述第一实时图像和所述第二实时图像的水平视差。Step S2: determining the horizontal disparity between the first real-time image and the second real-time image according to the distance and left-right eye disparity relationship comparison table.

具体地,所述左右眼视差关系对照表的获取过程具体包括:Specifically, the process of obtaining the left-right eye parallax relationship comparison table specifically includes:

获取图像采集模块在多个拍摄距离下采集的第一实时图像样本和第二实时图像样本。Acquire first real-time image samples and second real-time image samples acquired by the image acquisition module at multiple shooting distances.

应用显示模块对所述第一实时图像样本和所述第二实时图像样本进行显示,得到各所述拍摄距离对应的左右眼视差。A display module is applied to display the first real-time image sample and the second real-time image sample to obtain left-eye and right-eye parallaxes corresponding to the shooting distances.

根据各所述拍摄距离对应的左右眼视差,构建左右眼视差关系对照表。A left-right eye parallax relationship comparison table is constructed according to the left-right eye parallax corresponding to each shooting distance.

步骤S3:判断所述水平视差是否在预设范围内。Step S3: Determine whether the horizontal disparity is within a preset range.

具体地,所述预设范围为:Specifically, the preset range is:

其中,dispv为第一实时图像和第二实时图像之间的水平视差;δ为常数,dv表示观测者与显示器之间的距离,de表示人两眼瞳孔之间的距离,D表示人眼的瞳孔直径大小,Pw表示显示器的单位像素宽度大小。Wherein, disp v is the horizontal parallax between the first real-time image and the second real-time image; δ is a constant, d v represents the distance between the observer and the display, d e represents the distance between the pupils of the two eyes of a person, D represents the pupil diameter of the human eye, and P w represents the unit pixel width of the display.

步骤S4:当所述水平视差未在预设范围内时,调整所述第一实时图像和所述第二实时图像之间的距离。Step S4: When the horizontal parallax is not within a preset range, adjusting the distance between the first real-time image and the second real-time image.

具体地,当所述水平视差未在预设范围内时,调整所述第一实时图像和所述第二实时图像之间的距离,具体包括:Specifically, when the horizontal parallax is not within a preset range, adjusting the distance between the first real-time image and the second real-time image specifically includes:

时,所述第一实时图像向远离所述第二实时图像的方向移动所述第二实时图像向远离所述第一实时图像的方向移动/>像素。when When the first real-time image moves away from the second real-time image The second real-time image moves in a direction away from the first real-time image. Pixel.

时,所述第一实时图像向靠近所述第二实时图像的方向移动所述第二实时图像向靠近所述第一实时图像的方向移动/> when When the first real-time image moves toward the direction close to the second real-time image The second real-time image moves toward a direction close to the first real-time image.

在实际应用中,首先,将3D电子胸腹腔镜置于不同的工作距离下,通过3D显示器分别显示左右眼的画面,获取不同工作距离下,左右眼视差关系对照表,如图4所示。In practical applications, first, the 3D electronic thoracoabdominal scope is placed at different working distances, and the images of the left and right eyes are displayed separately through the 3D display to obtain a comparison table of the parallax relationship between the left and right eyes at different working distances, as shown in FIG4 .

然后,通过距离传感器可以直接获取到镜头与拍摄物体间的距离do,再通过测试到的对照表,获取到两个相机拍摄到图像之间的水平视差值dispvThen, the distance do between the lens and the photographed object can be directly obtained through the distance sensor, and the horizontal disparity value disp v between the images photographed by the two cameras can be obtained through the comparison table obtained by the test.

进一步地,考虑到人眼对3D成像效果的要求视差在范围内,即其中δ=2.907×104rad为常数,dv表示观测者与显示器之间的距离,该变量被设定为常数且在演示时会告知观测者最佳观测距离,de表示人两眼瞳孔之间的距离,D表示人眼的瞳孔直径大小,Pw表示显示器的单位像素宽度大小,该值也是定值。由此,人眼的最佳3D成像观测范围被设定为一个定制,只需调整左右两幅图像的视差在该范围内,就可获得较好的观测效果。Furthermore, considering the human eye's requirements for 3D imaging effects, the parallax is Within the range, that is Among them, δ = 2.907 × 10 4 rad is a constant, d v represents the distance between the observer and the display, which is set as a constant and the observer will be informed of the optimal observation distance during the demonstration, d e represents the distance between the pupils of the human eye, D represents the pupil diameter of the human eye, and P w represents the unit pixel width of the display, which is also a fixed value. Therefore, the optimal 3D imaging observation range of the human eye is set to a custom range, and a better observation effect can be obtained by simply adjusting the parallax of the left and right images within this range.

若水平视差值dispv不在该范围内时,需要对图像进行移动,以达到缩小水平视差的效果。如图5所示,成像效果偏离显示器太远,会给人造成不适的观感。因此需要对图像的左图像向右平移,右图像向左平移。If the horizontal disparity value disp v is not within the range, the image needs to be moved to achieve the effect of reducing the horizontal disparity. As shown in FIG5 , the imaging effect deviates too far from the display, which will cause an uncomfortable feeling. Therefore, the left image of the image needs to be shifted to the right and the right image needs to be shifted to the left.

进一步地,若对左图像向左移动/>对右图像向右移动/>像素;若/>对左图像向右移动/>对右图像向左移动/>由此讲两幅图的水平视差控制在/>范围内,以达到最佳的3D成像效果。Furthermore, if Move the left image to the left /> Move right image to the right /> Pixels; if /> Move the left image to the right /> Move the right image to the left /> Therefore, the horizontal parallax of the two images is controlled at/> range to achieve the best 3D imaging effect.

如图6所示,分别对左图的左边和右图的右边进行裁剪对于固定点P,在左右图中的像素位置就达到了右移和左移的效果,然后对裁剪后的图像的右边和左边分别进行填充,使图像恢复到裁剪前的大小,使得两幅图像能够融合。As shown in Figure 6, the left side of the left image and the right side of the right image are cropped respectively. For the fixed point P, the pixel positions in the left and right images achieve the effect of right and left shifting, and then the right and left sides of the cropped image are filled respectively to restore the image to the size before cropping, so that the two images can be merged.

本发明的优势如下所示:The advantages of the present invention are as follows:

1.实时自动探测3D电子胸腹腔镜的工作距离。1. Real-time automatic detection of the working distance of the 3D electronic thoracoscopic and laparoscopic device.

2.依据实时探测的工作距离自动调整3D视觉效果。2. Automatically adjust the 3D visual effect according to the working distance detected in real time.

实施例3Example 3

一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现实施例1中的3D电子腹腔镜的图像处理方法的步骤。A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the 3D electronic laparoscope image processing method in Example 1.

实施例4Example 4

一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现实施例1中的3D电子腹腔镜的图像处理方法的步骤。A computer program product includes a computer program, which implements the steps of the 3D electronic laparoscope image processing method in embodiment 1 when executed by a processor.

实施例5Example 5

一种计算机设备,该计算机设备可以是数据库,其内部结构图可以如图3所示。该计算机设备包括处理器、存储器、输入/输出接口(Input/Output,简称I/O)和通信接口。其中,处理器、存储器和输入/输出接口通过系统总线连接,通信接口通过输入/输出接口连接到系统总线。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质和内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储待处理事务。该计算机设备的输入/输出接口用于处理器与外部设备之间交换信息。该计算机设备的通信接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现实施例2中的3D电子腹腔镜的图像处理方法。A computer device, which can be a database, and its internal structure diagram can be shown in Figure 3. The computer device includes a processor, a memory, an input/output interface (Input/Output, referred to as I/O) and a communication interface. Among them, the processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Among them, the processor of the computer device is used to provide computing 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, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store pending transactions. The input/output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the image processing method of the 3D electronic laparoscope in Example 2 is implemented.

需要说明的是,本发明所涉及的对象信息(包括但不限于对象设备信息、对象个人信息等)和数据(包括但不限于用于分析的数据、存储的数据、展示的数据等),均为经对象授权或者经过各方充分授权的信息和数据,且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。It should be noted that the object information (including but not limited to object device information, object personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the present invention are all information and data authorized by the object 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 RandomAccess Memory,MRAM)、铁电存储器(Ferroelectric RandomAccess Memory,FRAM)、相变存储器(Phase Change Memory,PCM)、石墨烯存储器等。易失性存储器可包括随机存取存储器(RandomAccess Memory,RAM)或外部高速缓冲存储器等。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static RandomAccessMemory,SRAM)或动态随机存取存储器(Dynamic RandomAccessMemory,DRAM)等。本发明所提供的各实施例中所涉及的数据库可包括关系型数据库和非关系型数据库中至少一种。非关系型数据库可包括基于区块链的分布式数据库等,不限于此。本发明所提供的各实施例中所涉及的处理器可为通用处理器、中央处理器、图形处理器、数字信号处理器、可编程逻辑器、基于量子计算的数据处理逻辑器等,不限于此。Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided by the present invention can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided by the present invention may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited thereto. The processor involved in each embodiment provided by the present invention may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited thereto.

以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above 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.

本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处。综上所述,本说明书内容不应理解为对本发明的限制。This article uses specific examples to illustrate the principles and implementation methods of the present invention. The above examples are only used to help understand the method and core ideas of the present invention. At the same time, for those skilled in the art, according to the ideas of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims (9)

1. A 3D electronic laparoscope, which is characterized by comprising a distance sensor, an image acquisition module, an image processing module and a display module;
The distance sensor is arranged at the head end part of the image acquisition module; the distance sensor is connected with the image processing module; the distance sensor is used for acquiring the distance between the image acquisition module and the detected tissue and sending the distance to the image processing module;
the image acquisition module is connected with the image processing module; the image acquisition module is used for simultaneously acquiring a first real-time image and a second real-time image of the detected tissue and transmitting the first real-time image and the second real-time image to the image processing module;
the image processing module is connected with the display module; the image processing module is used for determining horizontal parallaxes of the first real-time image and the second real-time image according to a left-right eye parallax relation comparison table and the distance, and adjusting the horizontal parallaxes according to the observation distance, the interpupillary distance, the pupil diameter and the unit pixel width of the display module of an observer; the left-right eye parallax relation table is a table of shooting distance and left-right eye parallax relation.
2. The 3D electronic laparoscope according to claim 1, further comprising a transmission module; the image processing module is respectively connected with the distance sensor and the image acquisition module through the transmission module.
3. The 3D electronic laparoscope according to claim 1, wherein said image processing module is a computer.
4. An image processing method of a 3D electronic laparoscope, applied to the 3D electronic laparoscope according to any one of claims 1-3, comprising:
Acquiring a distance, a first real-time image and a second real-time image; the distance is the distance between the image acquisition module and the detected tissue; the first real-time image and the second real-time image are simultaneously acquired by an image acquisition module;
determining horizontal parallaxes of the first real-time image and the second real-time image according to the distance and the left-right eye parallax relation comparison table;
judging whether the horizontal parallax is within a preset range;
and when the horizontal parallax is not in the preset range, adjusting the distance between the first real-time image and the second real-time image.
5. The image processing method according to claim 4, wherein the preset range is:
Wherein disp v is the horizontal disparity between the first real-time image and the second real-time image; delta is a constant, D v represents the distance between the observer and the display, D e represents the distance between the pupils of both eyes of the human, D represents the pupil diameter size of the human eye, and P w represents the unit pixel width size of the display.
6. The image processing method according to claim 5, wherein adjusting the distance between the first real-time image and the second real-time image when the horizontal parallax is not within a preset range, specifically comprises:
When (when) When the first real-time image moves away from the second real-time imageThe second real-time image moves away from the first real-time imageA pixel;
When (when) When the first real-time image moves to a direction approaching the second real-time imageThe second real-time image moves/> in a direction approaching the first real-time image
7. The image processing method according to claim 4, wherein the process of obtaining the left-right eye parallax relation table specifically includes:
acquiring a first real-time image sample and a second real-time image sample acquired by an image acquisition module at a plurality of shooting distances;
The first real-time image sample and the second real-time image sample are displayed by the application display module, and left-right eye parallax corresponding to each shooting distance is obtained;
And constructing a left-right eye parallax relation comparison table according to the left-right eye parallaxes corresponding to the shooting distances.
8. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, carries out the steps of the image processing method of a 3D electronic laparoscope as claimed in any one of claims 4-7.
9. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, realizes the steps of the image processing method of a 3D electronic laparoscope as claimed in any one of claims 4-7.
CN202410240661.5A 2024-03-04 2024-03-04 A 3D electronic laparoscope and its image processing method, medium and product Pending CN118216867A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410240661.5A CN118216867A (en) 2024-03-04 2024-03-04 A 3D electronic laparoscope and its image processing method, medium and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410240661.5A CN118216867A (en) 2024-03-04 2024-03-04 A 3D electronic laparoscope and its image processing method, medium and product

Publications (1)

Publication Number Publication Date
CN118216867A true CN118216867A (en) 2024-06-21

Family

ID=91513130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410240661.5A Pending CN118216867A (en) 2024-03-04 2024-03-04 A 3D electronic laparoscope and its image processing method, medium and product

Country Status (1)

Country Link
CN (1) CN118216867A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06261860A (en) * 1993-03-12 1994-09-20 Olympus Optical Co Ltd Video display device of endoscope
US20060126176A1 (en) * 2003-08-08 2006-06-15 Olympus Corporation Stereoscopic-endoscope display control apparatus and stereoscopic endoscope system
CN201233473Y (en) * 2008-07-08 2009-05-06 李宣鹏 Multi-vision angle free stereo display equipment
US20100053308A1 (en) * 2008-09-02 2010-03-04 Olympus Medical Systems Corp. Stereoscopic image shooting and display system
US20110228049A1 (en) * 2010-03-12 2011-09-22 Yuri Kazakevich Stereoscopic visualization system
WO2013161485A1 (en) * 2012-04-23 2013-10-31 Hoya株式会社 Electronic endoscope, image processing device, electronic endoscope system, and stereoscopic image generation method
CN103733617A (en) * 2011-08-12 2014-04-16 高通股份有限公司 Systems and methods to capture a stereoscopic image pair
CN105228511A (en) * 2014-01-23 2016-01-06 奥林巴斯株式会社 Surgical equipment
DE102016124069A1 (en) * 2015-12-12 2017-06-14 Karl Storz Gmbh & Co. Kg Method and device for generating a stereo image
WO2021149056A1 (en) * 2020-01-22 2021-07-29 Beyeonics Surgical Ltd. System and method for improved electronic assisted medical procedures
CN115908170A (en) * 2022-11-04 2023-04-04 浙江华诺康科技有限公司 Noise reduction method, device, electronic device and storage medium for binocular image
CN116567191A (en) * 2023-04-13 2023-08-08 长春理工大学 Stereoscopic vision content parallax adjustment method for comfort level improvement
CN116760964A (en) * 2023-06-30 2023-09-15 京东方科技集团股份有限公司 Method, device, equipment and medium for determining parallax of left and right eye images of three-dimensional video

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06261860A (en) * 1993-03-12 1994-09-20 Olympus Optical Co Ltd Video display device of endoscope
US20060126176A1 (en) * 2003-08-08 2006-06-15 Olympus Corporation Stereoscopic-endoscope display control apparatus and stereoscopic endoscope system
CN201233473Y (en) * 2008-07-08 2009-05-06 李宣鹏 Multi-vision angle free stereo display equipment
US20100053308A1 (en) * 2008-09-02 2010-03-04 Olympus Medical Systems Corp. Stereoscopic image shooting and display system
US20110228049A1 (en) * 2010-03-12 2011-09-22 Yuri Kazakevich Stereoscopic visualization system
CN103733617A (en) * 2011-08-12 2014-04-16 高通股份有限公司 Systems and methods to capture a stereoscopic image pair
WO2013161485A1 (en) * 2012-04-23 2013-10-31 Hoya株式会社 Electronic endoscope, image processing device, electronic endoscope system, and stereoscopic image generation method
CN105228511A (en) * 2014-01-23 2016-01-06 奥林巴斯株式会社 Surgical equipment
DE102016124069A1 (en) * 2015-12-12 2017-06-14 Karl Storz Gmbh & Co. Kg Method and device for generating a stereo image
WO2021149056A1 (en) * 2020-01-22 2021-07-29 Beyeonics Surgical Ltd. System and method for improved electronic assisted medical procedures
CN115908170A (en) * 2022-11-04 2023-04-04 浙江华诺康科技有限公司 Noise reduction method, device, electronic device and storage medium for binocular image
CN116567191A (en) * 2023-04-13 2023-08-08 长春理工大学 Stereoscopic vision content parallax adjustment method for comfort level improvement
CN116760964A (en) * 2023-06-30 2023-09-15 京东方科技集团股份有限公司 Method, device, equipment and medium for determining parallax of left and right eye images of three-dimensional video

Similar Documents

Publication Publication Date Title
CN110353806B (en) Augmented reality navigation method and system for minimally invasive total knee replacement surgery
TWI463243B (en) Method and image acquisition system for rendering stereoscopic images from monoscopic images
US20150215614A1 (en) Imaging system and method
US20070236514A1 (en) Methods and Apparatuses for Stereoscopic Image Guided Surgical Navigation
WO2006111965A2 (en) System and method for producing an augmented image of an organ of a patient
US20240268659A1 (en) Surgical applications with integrated visualization camera and optical coherence tomography
EP4274506A1 (en) Registration degradation correction for surgical navigation procedures
CN103948432A (en) Algorithm for augmented reality of three-dimensional endoscopic video and ultrasound image during operation
CN204636276U (en) A kind of wearing die cavity mirror virtual display system
CN104280886A (en) Microscopic system and microscopic method based on in-situ three-dimensional enhanced display
CN110288653A (en) A multi-angle ultrasonic image fusion method, system and electronic equipment
JP2016524478A (en) Method and apparatus for stereoscopic display of image data
CN115619790B (en) Hybrid perspective method, system and equipment based on binocular positioning
CN107595408A (en) 2D and bore hole 3D double screens endoscopic system and display methods
Fan et al. Three-dimensional image-guided techniques for minimally invasive surgery
CN115375595A (en) Image fusion method, device, system, computer equipment and storage medium
TWI741196B (en) Surgical navigation method and system integrating augmented reality
CN116158718A (en) Imaging and display method for endoscope system and endoscope system
CN116172493A (en) Imaging and display method for endoscope system and endoscope system
CN104887314A (en) Virtual three-dimensional endoscope displaying method and equipment for three-dimensional endoscopic surgery navigation
WO2016194446A1 (en) Information processing device, information processing method, and in-vivo imaging system
CN101632570A (en) Calibration method of medical endoscope
CN118216867A (en) A 3D electronic laparoscope and its image processing method, medium and product
WO2019230173A1 (en) Image processing device, image processing method, and intraocular image processing system
US10855980B2 (en) Medical-image display control device, medical image display device, medical-information processing system, and medical-image display control method

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