WO2017024422A1 - Endoscope stereo vision system utilizing shape-from-shading technique and method thereof - Google Patents

Endoscope stereo vision system utilizing shape-from-shading technique and method thereof Download PDF

Info

Publication number
WO2017024422A1
WO2017024422A1 PCT/CN2015/000587 CN2015000587W WO2017024422A1 WO 2017024422 A1 WO2017024422 A1 WO 2017024422A1 CN 2015000587 W CN2015000587 W CN 2015000587W WO 2017024422 A1 WO2017024422 A1 WO 2017024422A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
endoscope
stereoscopic
camera
depth map
Prior art date
Application number
PCT/CN2015/000587
Other languages
French (fr)
Chinese (zh)
Inventor
库马·阿兔
汪彦佑
刘楷哲
王民良
Original Assignee
明士股份有限公司
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 明士股份有限公司 filed Critical 明士股份有限公司
Priority to PCT/CN2015/000587 priority Critical patent/WO2017024422A1/en
Priority to JP2018504782A priority patent/JP6600442B2/en
Publication of WO2017024422A1 publication Critical patent/WO2017024422A1/en

Links

Images

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof

Definitions

  • the invention relates to an endoscope stereoscopic visualization system, in particular to an endoscope stereoscopic visualization system for generating stereoscopic images by using a chromaticity forming method.
  • Minimally invasive surgery in existing medical behavior has become an indispensable part of the treatment of many diseases.
  • the minimally invasive surgery is performed by an auxiliary surgical instrument of an endoscope, which has a small incision and reduces tissue trauma, and can Shorten the cycle of patient recovery and reduce the cost of overall treatment.
  • the existing minimally invasive surgery uses a single-lens endoscope, which can only display a planar (2D) image. Because the planar image lacks depth information, the surgeon according to the planar image It is a challenge to accurately move the surgical instrument to the correct position in the patient. Surgeons often rely on motion parallax, monocular cues, and other indirect evidence to give depth to the aforementioned planar image to improve positioning accuracy.
  • stereoscopic images (including 2D images and depth information) provide depth perception and no additional experience (motion parallax, monocular cues, and other indirect evidence) are still the best solution to the aforementioned poor positioning accuracy. the way.
  • the existing stereoscopic image to be obtained in minimally invasive surgery is a dual-lens endoscope, which can obtain the depth information or stereoscopic image required by the surgeon, but the cost is much more expensive than the single-lens endoscope, which makes it difficult Disadvantages of popularity.
  • the existing single-lens endoscope can only display a planar image, and the planar image lacks depth information and has difficulty in accurately positioning.
  • the dual-lens interior mirror has the advantage of obtaining a stereoscopic image, but its cost is It is expensive and not easy to popularize. Therefore, the main object of the present invention is to provide an endoscope stereoscopic visualization system and a method thereof using a chromaticity forming method, which mainly produces a depth map by using a chromaticity forming method for a plane image obtained by a single lens endoscope.
  • the stereo image can be generated by combining the planar image without setting up the dual camera and without modifying the hardware structure of the existing single lens endoscope, and solving the existing single lens endoscope without
  • the method provides a problem that the stereo image and the dual camera endoscope device are expensive.
  • the main technical means adopted to achieve the aforementioned objectives is to make the aforementioned endoscope stereoscopic visualization system using the colorimetric method include:
  • the image conversion device has an endoscope input port, a 2D/3D image conversion unit and an image output port, and the endoscope input port is configured to connect the single lens endoscope to obtain a plane through the single lens endoscope
  • the 2D/3D image conversion unit generates a depth map of the planar image and converts it into a stereo image by using a built-in chromaticity forming method, and the image output port is connected with a stereoscopic display, and the stereoscopic display is used to display the 2D a stereoscopic image converted by the /3D image conversion unit;
  • the chromaticity forming method refers to the 2D/3D image converting unit calculating a light source of the plane image and the shadow distribution information thereof, wherein the distribution information is a gradient repeating iterative operation performed by the pixel value, and the direction and position of the combined light source illumination Information is added to the source illumination direction estimate to obtain the depth map.
  • the main technical means adopted to achieve the aforementioned objectives is to make the aforementioned stereoscopic visualization method using the chromaticity forming method include:
  • Capture a planar image obtain a planar image of the endoscopic camera with an image capture device
  • Generating a depth map by using a chromaticity forming method calculating a light source of the planar image and a shadow distribution information thereof by a chromaticity forming method, wherein the distribution information is a result of a gradient repeating iterative operation performed by a pixel value, and a direction in which the light source is combined with the light source
  • the position information is further added to the illumination direction estimation to improve the accuracy of the relative position judgment.
  • the calculated result is a relative depth map, and the pixel value in the depth map includes the pixel intensity, the direction of the light source, and the natural logarithm of the coordinates. And accelerate its iterative process with fast solution equations and parallel operations;
  • the depth map is composed of a gray scale image, which is represented by a context of an object in a third dimension, and the depth map generates a disparity map during the process of transforming the stereo image, the parallax map
  • the pixel value is inversely proportional to the depth map but proportional to the focal length of the camera and the spacing between the two eyes;
  • the left and right images of the stereoscopic image are generated: the disparity map obtained from the stereoscopic image is used to generate left and right eye images of the stereoscopic image, and the pixel value of the disparity map also represents the offset of each pixel between the two eyes, thereby generating a left eye or a right eye.
  • a stereoscopic image of the image is generated: the disparity map obtained from the stereoscopic image is used to generate left and right eye images of the stereoscopic image, and the pixel value of the disparity map also represents the offset of each pixel between the two eyes, thereby generating a left eye or a right eye.
  • the depth information is further generated to generate a depth map, and the desired stereoscopic image is generated through the planar image and the depth map, and then output to an external stereoscopic display, so that the user can view the converted stereoscopic image without the need of the existing single lens internal view.
  • the mirror is replaced with a dual-camera endoscope system, and the hardware structure of the existing single-lens endoscope is not required to be modified, thereby solving the problem that the existing single-lens endoscope cannot provide stereoscopic images and the equipment of the dual-camera endoscope is expensive.
  • Figure 1 is a block diagram of a circuit in accordance with a preferred embodiment of the present invention.
  • FIG. 2 is a flow chart of a preferred embodiment of the present invention.
  • the image conversion device 10 is connected to a single-lens endoscope 20 and a stereoscopic display 30.
  • the image conversion device 10 has an endoscope.
  • the input port 11, the 2D/3D image converting unit 12 and the image output port 13 are electrically connected to the endoscope input port 11 and the image output port 13, respectively.
  • the endoscope input port 11 is Connected to the single lens endoscope 20, the image output port 13 is connected to the stereoscopic display 30; the 2D/3D image conversion unit 12 obtains a planar image through the single lens endoscope 20, and has built-in chromaticity
  • the forming method converts the planar image into a stereoscopic image, and the stereoscopic image is output from the image output port 13 to the stereoscopic display 30, so that the stereoscopic display 30 displays the stereoscopic image converted by the 2D/3D image converting unit 12.
  • the 2D/3D image conversion unit 12 performs the following steps to convert a planar image of the endoscope into a stereoscopic image.
  • Endoscope camera correction (S1): The internal parameters of the endoscope camera are calculated using the camera calibration method [1] , which performs camera pose estimation with rotation and translation of a calibration template, and then obtains a nonlinear solution. The camera's internal parameters and external parameters.
  • Capture Plane Image (S2): Obtain a planar image of the endoscope camera with an image capture device; the image capture device is a resolution of SD or HD, and the lens of the endoscope camera is a 30° or wide-angle lens.
  • the depth map is generated by the chromaticity forming method (S3): the light source and its shadow distribution information are calculated by the chromaticity forming method [2] , and the distribution information is the result of the gradient repeat iterative operation performed by the pixel value, and the direction of the combined light source illumination is The position information is added to the illumination direction estimation [3] to improve the accuracy of the relative position judgment.
  • the calculated result is a relative depth map, and the pixel value in the depth map includes the pixel intensity, the direction of the light source and the natural coordinates. Logarithm, and accelerate its iterative process with fast solution equation [4] and parallel operations.
  • u(x) represents the depth of the x point and u x
  • u y is the spatial derivative. Therefore, the illumination equation of the image can be used to solve the Lambertian SFS method which does not include the distance attenuation of the light source and the surface reflection.
  • the depth image of the illumination distribution can be generated by an iterative equation, since the source of the endoscope is almost identical to the camera vector of the endoscope, it can be simplified to have the same vector.
  • the depth map is used to generate a disparity map (S4): the depth map is composed of gray scale images, which is represented by the context of the object in the third dimension, and the depth map generates a disparity map during the process of transforming the stereo image [5] .
  • the pixel value of the disparity map is inversely proportional to the depth map but proportional to the focal length of the camera and the distance between the two eyes.
  • the left and right images of the stereoscopic image are generated (S5): the disparity map obtained from the stereoscopic image is used to generate the left and right eye images of the stereoscopic image, and the pixel value of the disparity map also represents the offset of each pixel between the two eyes, thereby generating A stereoscopic image of the left or right eye image.
  • the generated left-eye and right-eye images can be converted into different 3D playback formats, such as side-by-side or interlaced or other 3D playback formats, and then played through the stereoscopic display.
  • the planar image is calculated by the chromaticity forming method, and after the depth map is generated, the desired stereoscopic image is generated by the planar image and the depth map, and the existing single lens endoscope is not required to be replaced.
  • the camera endoscope system does not need to modify the hardware structure of the existing single-lens endoscope, and solves the problem that the existing single-lens endoscope cannot provide stereoscopic images and the equipment of the dual-camera endoscope is expensive.

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Surgery (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Biophysics (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Optics & Photonics (AREA)
  • Pathology (AREA)
  • Radiology & Medical Imaging (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Endoscopes (AREA)
  • Instruments For Viewing The Inside Of Hollow Bodies (AREA)
  • Image Processing (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The invention provides an endoscope stereo vision system utilizing a shape-from-shading technique and a method thereof. The endoscope stereo vision system comprises an image conversion device connected between a single lens endoscope and a stereoscopic display. The image conversion device has a built-in shape-from-shading algorithm, and is configured to compute depth information by applying shape-from-shading to a flat image obtained from the single lens endoscope, and then generate a depth map, generate, according to the flat image and the depth map, a required stereoscopic image, and then output the stereoscopic image to the external stereoscopic display. The endoscope stereo vision system facilitates a user to view a stereoscopic image, requiring neither to replace an existing single lens endoscope with a dual-camera endoscope system, nor to modify a hardware structure of the present single lens endoscope, and addressing problems of being unable to provide a stereoscopic image in a conventional single lens endoscope and an overpriced dual-camera endoscope equipment.

Description

使用色度成形法的内视镜立体可视化系统及方法Endoscope stereoscopic visualization system and method using colorimetry 技术领域Technical field
本发明涉及一种内视镜立体可视化系统,尤指一种使用色度成形法产生立体影像的内视镜立体可视化系统。The invention relates to an endoscope stereoscopic visualization system, in particular to an endoscope stereoscopic visualization system for generating stereoscopic images by using a chromaticity forming method.
背景技术Background technique
现有医疗行为中的微创手术已经成为许多疾病治疗上不可或缺的一部分,通过内视镜的辅助手术器械进行该微创手术,使其具有较小的切口和减少组织的创伤,并能缩短病人复原的周期和减少整体治疗的花费。然而,现有应用于微创手术皆是使用单镜头的内视镜,该单镜头的内视镜仅能显示平面(2D)的影像,由于平面影像缺少深度信息,因此外科医师根据该平面影像要把手术器械准确地移动到病人体内的正确位置将是一大挑战。外科医师通常需要依赖运动视差、单眼线索和其它间接的证据让前述平面影像具有深度上的感知,以提高定位的准确性。然而,立体视觉影像(包含2D影像与深度信息)可提供的深度的感觉和不需要额外的经验(运动视差、单眼线索和其它间接的证据)仍是解决前述定位准确性不佳的最好解决方式。现有欲在微创手术上取得立体视觉影像是使用双相机的内视镜,其可得到外科医师所需的深度信息或立体影像,不过其造价相对单镜头的内视镜昂贵许多,造成不易普及的缺点。Minimally invasive surgery in existing medical behavior has become an indispensable part of the treatment of many diseases. The minimally invasive surgery is performed by an auxiliary surgical instrument of an endoscope, which has a small incision and reduces tissue trauma, and can Shorten the cycle of patient recovery and reduce the cost of overall treatment. However, the existing minimally invasive surgery uses a single-lens endoscope, which can only display a planar (2D) image. Because the planar image lacks depth information, the surgeon according to the planar image It is a challenge to accurately move the surgical instrument to the correct position in the patient. Surgeons often rely on motion parallax, monocular cues, and other indirect evidence to give depth to the aforementioned planar image to improve positioning accuracy. However, stereoscopic images (including 2D images and depth information) provide depth perception and no additional experience (motion parallax, monocular cues, and other indirect evidence) are still the best solution to the aforementioned poor positioning accuracy. the way. The existing stereoscopic image to be obtained in minimally invasive surgery is a dual-lens endoscope, which can obtain the depth information or stereoscopic image required by the surgeon, but the cost is much more expensive than the single-lens endoscope, which makes it difficult Disadvantages of popularity.
发明的公开Disclosure of invention
如前文所述,现有单镜头的内视镜仅能显示平面影像,该平面影像缺少深度信息而有不易准确定位的问题,双相机的内视镜虽具有取得立体影像的优点,但其造价昂贵而不易普及,因此本发明主要目的在提供一使用色度成形法的内视镜立体可视化系统及其方法,主要是将单镜头内视镜取得的平面影像以色度成形法产生深度地图,经结合平面影像生成立体影像,不需设置双相机且不需修改现有单镜头内视镜的硬件结构,解决现有单镜头内视镜无 法提供立体影像及双相机内视镜设备昂贵的问题。As described above, the existing single-lens endoscope can only display a planar image, and the planar image lacks depth information and has difficulty in accurately positioning. The dual-lens interior mirror has the advantage of obtaining a stereoscopic image, but its cost is It is expensive and not easy to popularize. Therefore, the main object of the present invention is to provide an endoscope stereoscopic visualization system and a method thereof using a chromaticity forming method, which mainly produces a depth map by using a chromaticity forming method for a plane image obtained by a single lens endoscope. The stereo image can be generated by combining the planar image without setting up the dual camera and without modifying the hardware structure of the existing single lens endoscope, and solving the existing single lens endoscope without The method provides a problem that the stereo image and the dual camera endoscope device are expensive.
为达成前述目的所采取的主要技术手段是令前述使用色度成形法的内视镜立体可视化系统包含有:The main technical means adopted to achieve the aforementioned objectives is to make the aforementioned endoscope stereoscopic visualization system using the colorimetric method include:
影像转换装置,其具有内视镜输入端口、2D/3D影像转换单元与影像输出端口,所述内视镜输入端口用以连接单镜头内视镜,以通过所述单镜头内视镜取得平面影像,所述2D/3D影像转换单元以内建的色度成形法产生平面影像的深度地图并转换为立体影像,所述影像输出端口连接有立体显示器,所述立体显示器用以显示经所述2D/3D影像转换单元转换后的立体影像;The image conversion device has an endoscope input port, a 2D/3D image conversion unit and an image output port, and the endoscope input port is configured to connect the single lens endoscope to obtain a plane through the single lens endoscope The 2D/3D image conversion unit generates a depth map of the planar image and converts it into a stereo image by using a built-in chromaticity forming method, and the image output port is connected with a stereoscopic display, and the stereoscopic display is used to display the 2D a stereoscopic image converted by the /3D image conversion unit;
其中,所述色度成形法是指所述2D/3D影像转换单元计算平面影像的光源与其阴影分布信息,所述分布信息是由像素值进行梯度重复迭代运算,经结合光源照射的方向与位置信息,再加入光源照射方向估测以得到所述深度地图。Wherein, the chromaticity forming method refers to the 2D/3D image converting unit calculating a light source of the plane image and the shadow distribution information thereof, wherein the distribution information is a gradient repeating iterative operation performed by the pixel value, and the direction and position of the combined light source illumination Information is added to the source illumination direction estimate to obtain the depth map.
为达成前述目的所采取的主要技术手段是令前述使用色度成形法的内视镜立体可视化方法包含有:The main technical means adopted to achieve the aforementioned objectives is to make the aforementioned stereoscopic visualization method using the chromaticity forming method include:
撷取平面影像:以影像捕获设备取得该内视镜相机的平面影像;Capture a planar image: obtain a planar image of the endoscopic camera with an image capture device;
利用色度成形法产生深度地图:通过色度成形法计算所述平面影像的光源及其阴影分布信息,所述分布信息是由像素值进行梯度重复迭代运算的结果,经结合光源照射的方向与位置信息,再加入光源照射方向估测以提高相对位置判断的准确性,经运算后的结果是一相对的深度地图,所述深度地图中像素值包含像素强度、光源方向及坐标的自然对数,并以快速解方程式以及平行运算加速其迭代过程;Generating a depth map by using a chromaticity forming method: calculating a light source of the planar image and a shadow distribution information thereof by a chromaticity forming method, wherein the distribution information is a result of a gradient repeating iterative operation performed by a pixel value, and a direction in which the light source is combined with the light source The position information is further added to the illumination direction estimation to improve the accuracy of the relative position judgment. The calculated result is a relative depth map, and the pixel value in the depth map includes the pixel intensity, the direction of the light source, and the natural logarithm of the coordinates. And accelerate its iterative process with fast solution equations and parallel operations;
利用深度地图产生视差图:所述深度地图是由灰阶影像组成,其表示为第三维度上物体的前后关系,所述深度地图在转成立体影像过程会产生视差图,所述视差图的像素值与深度地图成反比但与相机的焦距及两眼间距成正比;以及Generating a disparity map by using a depth map: the depth map is composed of a gray scale image, which is represented by a context of an object in a third dimension, and the depth map generates a disparity map during the process of transforming the stereo image, the parallax map The pixel value is inversely proportional to the depth map but proportional to the focal length of the camera and the spacing between the two eyes;
产生立体视觉的左右影像:从立体影像获得的视差图用以产生立体影像的左右眼影像,所述视差图的像素值亦代表两眼间各像素点的偏移,进而产生左眼或右眼影像的立体影像。The left and right images of the stereoscopic image are generated: the disparity map obtained from the stereoscopic image is used to generate left and right eye images of the stereoscopic image, and the pixel value of the disparity map also represents the offset of each pixel between the two eyes, thereby generating a left eye or a right eye. A stereoscopic image of the image.
利用前述组件组成的使用色度成形法的内视镜立体可视化系统及其方法,是将单镜头内视镜取得的平面影像通过影像转换装置以色度成形法计算 出深度信息进而产生深度地图,透过平面影像与深度地图生成所需立体影像,再输出至外部的立体显示器,使用者即可观看经转换后的立体影像,不需将现有单镜头内视镜更换为双相机内视镜系统,也不需修改现有单镜头内视镜的硬件结构,解决现有单镜头内视镜无法提供立体影像以及双相机内视镜的设备昂贵的问题。An endoscope stereoscopic visualization system using the chromaticity forming method and the method thereof, wherein the planar image obtained by the single lens endoscope is calculated by the chromaticity forming method by the image conversion device The depth information is further generated to generate a depth map, and the desired stereoscopic image is generated through the planar image and the depth map, and then output to an external stereoscopic display, so that the user can view the converted stereoscopic image without the need of the existing single lens internal view. The mirror is replaced with a dual-camera endoscope system, and the hardware structure of the existing single-lens endoscope is not required to be modified, thereby solving the problem that the existing single-lens endoscope cannot provide stereoscopic images and the equipment of the dual-camera endoscope is expensive.
附图的简要说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本发明较佳实施例的电路方块图。BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of a circuit in accordance with a preferred embodiment of the present invention.
图2是本发明较佳实施例的流程图。2 is a flow chart of a preferred embodiment of the present invention.
附图标记:Reference mark:
10:影像转换装置10: Image conversion device
11:内视镜输入端口11: Endoscope input port
12:2D/3D影像转换单元12:2D/3D image conversion unit
13:影像输出端口13: image output port
20:单镜头内视镜20: Single lens endoscope
30:立体显示器。30: Stereoscopic display.
实现本发明的最佳方式The best way to implement the invention
关于本发明的较佳实施例的电路方块图,请参阅图1所示,主要是于影像转换装置10连接有单镜头内视镜20与立体显示器30,其中该影像转换装置10具有内视镜输入端口11、2D/3D影像转换单元12与影像输出端口13,该2D/3D影像转换单元12是分别与内视镜输入端口11及影像输出端口13电连接,该内视镜输入端口11是连接至前述单镜头内视镜20,该影像输出端口13是连接至前述立体显示器30;该2D/3D影像转换单元12是通过该单镜头内视镜20取得平面影像,并以内建的色度成形法转换该平面影像为立体影像,再由影像输出端口13输出该立体影像至立体显示器30,令该立体显示器30显示经2D/3D影像转换单元12转换后的立体影像。Referring to FIG. 1 , the image conversion device 10 is connected to a single-lens endoscope 20 and a stereoscopic display 30. The image conversion device 10 has an endoscope. The input port 11, the 2D/3D image converting unit 12 and the image output port 13 are electrically connected to the endoscope input port 11 and the image output port 13, respectively. The endoscope input port 11 is Connected to the single lens endoscope 20, the image output port 13 is connected to the stereoscopic display 30; the 2D/3D image conversion unit 12 obtains a planar image through the single lens endoscope 20, and has built-in chromaticity The forming method converts the planar image into a stereoscopic image, and the stereoscopic image is output from the image output port 13 to the stereoscopic display 30, so that the stereoscopic display 30 displays the stereoscopic image converted by the 2D/3D image converting unit 12.
关于本发明的较佳实施例的流程图,请参阅图2所示,前述2D/3D影像转换单元12是执行下列步骤来将内视镜的平面影像转换为立体影像。For a flowchart of a preferred embodiment of the present invention, as shown in FIG. 2, the 2D/3D image conversion unit 12 performs the following steps to convert a planar image of the endoscope into a stereoscopic image.
内视镜相机校正(S1):使用相机校正法[1]计算该内视镜相机内部参数,该 相机校正法以一校正模板的旋转与平移进行相机姿态估测,再以非线性解求得该相机的内部参数与外部参数。Endoscope camera correction (S1): The internal parameters of the endoscope camera are calculated using the camera calibration method [1] , which performs camera pose estimation with rotation and translation of a calibration template, and then obtains a nonlinear solution. The camera's internal parameters and external parameters.
撷取平面影像(S2):以影像捕获设备取得该内视镜相机的平面影像;该影像捕获设备是SD或HD的分辨率,该内视镜相机的镜头是30°或广角镜头。Capture Plane Image (S2): Obtain a planar image of the endoscope camera with an image capture device; the image capture device is a resolution of SD or HD, and the lens of the endoscope camera is a 30° or wide-angle lens.
利用色度成形法产生深度地图(S3):通过色度成形法[2]计算光源及其阴影分布信息,该分布信息是由像素值进行梯度重复迭代运算的结果,经结合光源照射的方向与位置信息,再加入光源照射方向估测[3]以提高相对位置判断的准确性,经运算后的结果是一相对的深度地图,该深度地图中像素值包含像素强度、光源方向及坐标的自然对数,并以快速解方程式[4]以及平行运算加速其迭代过程。The depth map is generated by the chromaticity forming method (S3): the light source and its shadow distribution information are calculated by the chromaticity forming method [2] , and the distribution information is the result of the gradient repeat iterative operation performed by the pixel value, and the direction of the combined light source illumination is The position information is added to the illumination direction estimation [3] to improve the accuracy of the relative position judgment. The calculated result is a relative depth map, and the pixel value in the depth map includes the pixel intensity, the direction of the light source and the natural coordinates. Logarithm, and accelerate its iterative process with fast solution equation [4] and parallel operations.
其中,该色度成形法可利用下列的描述完成光照分布的计算:假设相机位置C(α,β,γ),在影像空间域x=(x,y)有表面法向量n和光源向量1,其三维点M在影像平面中相依的像素点为m可以被描述成:Wherein, the chromaticity forming method can complete the calculation of the illumination distribution by using the following description: assuming the camera position C(α, β, γ), there is a surface normal vector n and a light source vector 1 in the image space domain x=(x, y) The pixel point at which the three-dimensional point M depends in the image plane is m, which can be described as:
Figure PCTCN2015000587-appb-000001
Figure PCTCN2015000587-appb-000001
Figure PCTCN2015000587-appb-000002
Figure PCTCN2015000587-appb-000002
其中u(x)代表x点的深度,ux,uy是空间导数。故影像的照射方程式就可以用来解不包含光源和表面反射的距离衰减的兰伯特色度成形法(Lambertian SFS)。Where u(x) represents the depth of the x point and u x , u y is the spatial derivative. Therefore, the illumination equation of the image can be used to solve the Lambertian SFS method which does not include the distance attenuation of the light source and the surface reflection.
Figure PCTCN2015000587-appb-000003
Figure PCTCN2015000587-appb-000003
其中:ρ是表面的反射率,通过置换
Figure PCTCN2015000587-appb-000004
可以获得哈密顿(Hamiltonian)方程式:
Where: ρ is the reflectivity of the surface, by displacement
Figure PCTCN2015000587-appb-000004
You can get the Hamiltonian equation:
Figure PCTCN2015000587-appb-000005
Figure PCTCN2015000587-appb-000005
其中,
Figure PCTCN2015000587-appb-000006
among them,
Figure PCTCN2015000587-appb-000006
经由迭代运算方程式即可产生光照分布的深度影像,由于内视镜的光源与内视镜的相机向量几乎相同,在此可以被简化成具有相同向量。The depth image of the illumination distribution can be generated by an iterative equation, since the source of the endoscope is almost identical to the camera vector of the endoscope, it can be simplified to have the same vector.
利用深度地图产生视差图(S4):该深度地图是由灰阶影像组成,其表示为第三维度上物体的前后关系,该深度地图在转成立体影像过程会产生一视差图[5],该视差图的像素值与深度地图成反比但与相机的焦距及两眼间距成正比。The depth map is used to generate a disparity map (S4): the depth map is composed of gray scale images, which is represented by the context of the object in the third dimension, and the depth map generates a disparity map during the process of transforming the stereo image [5] . The pixel value of the disparity map is inversely proportional to the depth map but proportional to the focal length of the camera and the distance between the two eyes.
产生立体视觉的左右影像(S5):从立体影像获得的视差图用以产生立体影像的左眼与右眼影像,该视差图的像素值亦代表两眼间各像素点的偏移,进而产生左眼或右眼影像的立体影像。该生成的左眼与右眼影像可以转换为不同的3D播放格式,如左右影像(side-by-side)或交错影像(Interlaced)或其他3D播放格式,再经由立体显示器播放。The left and right images of the stereoscopic image are generated (S5): the disparity map obtained from the stereoscopic image is used to generate the left and right eye images of the stereoscopic image, and the pixel value of the disparity map also represents the offset of each pixel between the two eyes, thereby generating A stereoscopic image of the left or right eye image. The generated left-eye and right-eye images can be converted into different 3D playback formats, such as side-by-side or interlaced or other 3D playback formats, and then played through the stereoscopic display.
由上述可知,该平面影像经色度成形法计算出其深度信息,并产生深度地图后,藉由该平面影像与深度地图生成所需立体影像,不需将现有单镜头内视镜更换双相机内视镜系统,也不需修改现有单镜头内视镜的硬件结构,解决现有单镜头内视镜无法提供立体影像以及双相机内视镜的设备昂贵的问题。It can be seen from the above that the planar image is calculated by the chromaticity forming method, and after the depth map is generated, the desired stereoscopic image is generated by the planar image and the depth map, and the existing single lens endoscope is not required to be replaced. The camera endoscope system does not need to modify the hardware structure of the existing single-lens endoscope, and solves the problem that the existing single-lens endoscope cannot provide stereoscopic images and the equipment of the dual-camera endoscope is expensive.
参考资料:Reference materials:
[1]″图像处理,分析和机器视觉(Image processing,analysis and machine vision),2nd ed.,vol.68PWS,1998,pp.448-457″[1] "Image processing, analysis and machine vision, 2nd ed., vol. 68PWS, 1998, pp. 448-457"
[2]维森提·史克扎娜拉等人(Visentini-Scarzanella et al.)2012年IEEE国际图像处理研讨会(IEEE Internal Conference on Image Processing)“使用色度成形法和镜面反射从单眼图像恢复公制深度”(Metric depth recovery from monocular images using shape-from-shading and specularities)[2] Visentini-Scarzanella et al. (IEEE Internal Conference on Image Processing) "Using Chroma Forming and Specular Reflection from Monocular Images" Metric depth recovery from monocular images using shape-from-shading and specularities
[3]丹纳尔·斯托亚诺夫等人(Danail Stoyanov et al.)2009年IEEE/RSJ国际智能机器人与系统(IROS)(IEEE/RSJ International Conference on Intelligent Robots and System(IROS))“照射位置估计三维软组织重建机器人微创手术”(Illumination position estimation for 3D soft tissue reconstruction in robotic minimally invasive surgery)[3] Danail Stoyanov et al. 2009 IEEE/RSJ International Conference on Intelligent Robots and System (IROS) Illumination position estimation for 3D soft tissue reconstruction in robotic minimally invasive surgery
[4]高秋颜(音译)等人(Chiu-Yen Kao et al.)SIAM J.Numerical Analysis 2005“快速清扫方法静态哈密顿-雅可比方程”(Fast Sweeping Methods for  Static Hamiton-Jacobi Equation)[4] Chiu-Yen Kao et al. SIAM J. Numerical Analysis 2005 “Fast Sweeping Methods for Fast Sweeping Methods for Static Hamiton-Jacobi Equation)
[5]贝雷蒂等人(Berretty et al.)2006年光学与光子学会研讨会(International Society for Optics and Photonics 2006)“实时渲染多视图自动立体显示器”(Real-time rendering for multi-view auto-stereoscopic displays)。 [5] Berretty et al. 2006 International Society for Optics and Photonics 2006 “Real-time rendering for multi-view auto” (Real-time rendering for multi-view auto) -stereoscopic displays).

Claims (4)

  1. 一种使用色度成形法的内视镜立体可视化系统,其特征在于,包含有:An endoscope stereoscopic visualization system using a chromatic shaping method, comprising:
    影像转换装置,其具有内视镜输入端口、2D/3D影像转换单元与影像输出端口,所述内视镜输入端口用以连接单镜头内视镜,以通过所述单镜头内视镜取得平面影像,所述2D/3D影像转换单元以内建的色度成形法产生平面影像的深度地图并转换为立体影像,所述影像输出端口连接有立体显示器,所述立体显示器用以显示经所述2D/3D影像转换单元转换后的立体影像;The image conversion device has an endoscope input port, a 2D/3D image conversion unit and an image output port, and the endoscope input port is configured to connect the single lens endoscope to obtain a plane through the single lens endoscope The 2D/3D image conversion unit generates a depth map of the planar image and converts it into a stereo image by using a built-in chromaticity forming method, and the image output port is connected with a stereoscopic display, and the stereoscopic display is used to display the 2D a stereoscopic image converted by the /3D image conversion unit;
    其中,所述色度成形法是指所述2D/3D影像转换单元计算平面影像的光源与其阴影分布信息,所述分布信息是由像素值进行梯度重复迭代运算,经结合光源照射的方向与位置信息,再加入光源照射方向估测以得到所述深度地图。Wherein, the chromaticity forming method refers to the 2D/3D image converting unit calculating a light source of the plane image and the shadow distribution information thereof, wherein the distribution information is a gradient repeating iterative operation performed by the pixel value, and the direction and position of the combined light source illumination Information is added to the source illumination direction estimate to obtain the depth map.
  2. 一种使用色度成形法的内视镜立体可视化方法,其特征在于,包含有:A stereoscopic visualization method for an endoscope using a chromatic shaping method, comprising:
    撷取平面影像:以影像捕获设备取得内视镜相机的平面影像;Capture a flat image: obtain a planar image of the endoscope camera with an image capture device;
    利用色度成形法产生深度地图:通过色度成形法计算所述平面影像的光源及其阴影分布信息,所述分布信息是由像素值进行梯度重复迭代运算的结果,经结合光源照射的方向与位置信息,再加入光源照射方向估测以提高相对位置判断的准确性,经运算后的结果是一相对的深度地图,所述深度地图中像素值包含像素强度、光源方向及坐标的自然对数,并以快速解方程式以及平行运算加速其迭代过程;Generating a depth map by using a chromaticity forming method: calculating a light source of the planar image and a shadow distribution information thereof by a chromaticity forming method, wherein the distribution information is a result of a gradient repeating iterative operation performed by a pixel value, and a direction in which the light source is combined with the light source The position information is further added to the illumination direction estimation to improve the accuracy of the relative position judgment. The calculated result is a relative depth map, and the pixel value in the depth map includes the pixel intensity, the direction of the light source, and the natural logarithm of the coordinates. And accelerate its iterative process with fast solution equations and parallel operations;
    利用深度地图产生视差图:所述深度地图是由灰阶影像组成,其表示为第三维度上物体的前后关系,所述深度地图在转成立体影像过程会产生视差图,所述视差图的像素值与深度地图成反比但与相机的焦距及两眼间距成正比;以及Generating a disparity map by using a depth map: the depth map is composed of a gray scale image, which is represented by a context of an object in a third dimension, and the depth map generates a disparity map during the process of transforming the stereo image, the parallax map The pixel value is inversely proportional to the depth map but proportional to the focal length of the camera and the spacing between the two eyes;
    产生立体视觉的左右影像:从立体影像获得的视差图用以产生立体影像的左右眼影像,所述视差图的像素值亦代表两眼间各像素点的偏移,进而产生左眼或右眼影像的所述立体影像。 The left and right images of the stereoscopic image are generated: the disparity map obtained from the stereoscopic image is used to generate left and right eye images of the stereoscopic image, and the pixel value of the disparity map also represents the offset of each pixel between the two eyes, thereby generating a left eye or a right eye. The stereoscopic image of the image.
  3. 如权利要求2所述使用色度成形法的内视镜立体可视化方法,其特征在于,在撷取平面影像步骤之前是执行内视镜相机校正步骤,所述内视镜相机校正是使用相机校正法计算所述内视镜相机内部参数,所述相机校正法以校正模板的旋转与平移进行相机姿态估测,再以非线性解求得所述相机的内部参数与外部参数。The endoscopic stereoscopic visualization method using the chromaticity forming method according to claim 2, wherein the step of correcting the planar image is performed by performing an endoscope camera correction step, and the endoscope camera correction is performed using a camera correction The method calculates the internal parameters of the endoscope camera, and the camera correction method performs camera attitude estimation by correcting the rotation and translation of the template, and then obtains the internal parameters and external parameters of the camera by a nonlinear solution.
  4. 如权利要求2或3所述使用色度成形法的内视镜立体可视化方法,其特征在于,所述色度成形法以下列的描述完成光照分布的计算:The endoscopic stereoscopic visualization method using the chromaticity forming method according to claim 2 or 3, wherein the chromaticity forming method performs the calculation of the illumination distribution by the following description:
    假设相机位置C(α,β,γ),在影像空间域x=(x,y)有表面法向量n和光源向量l,其三维点M在影像平面中相依的像素点为m被描述成:Assuming that the camera position C(α, β, γ) has a surface normal vector n and a light source vector l in the image space domain x=(x, y), the pixel point of the three-dimensional point M in the image plane is m is described as :
    Figure PCTCN2015000587-appb-100001
    Figure PCTCN2015000587-appb-100001
    Figure PCTCN2015000587-appb-100002
    Figure PCTCN2015000587-appb-100002
    其中u(x)代表x点的深度,ux,uy是空间导数;故影像的照射方程式用来解不包含光源和表面反射的距离衰减的兰伯特色度成形法;Where u(x) represents the depth of the x point, and u x , u y are the spatial derivatives; therefore, the illumination equation of the image is used to solve the Lambert characteristic forming method that does not include the distance attenuation of the light source and the surface reflection;
    Figure PCTCN2015000587-appb-100003
    Figure PCTCN2015000587-appb-100003
    其中:ρ是表面的反射率,通过置换v′=lnu,以获得哈密顿方程式:Where: ρ is the reflectivity of the surface, by substituting v'=lnu to obtain the Hamiltonian equation:
    Figure PCTCN2015000587-appb-100004
    Figure PCTCN2015000587-appb-100004
    其中,
    Figure PCTCN2015000587-appb-100005
    among them,
    Figure PCTCN2015000587-appb-100005
    经由迭代运算方程式即产生光照分布的深度影像,由于内视镜的光源与内视镜的相机向量几乎相同,在此被简化成具有相同向量。 The depth image of the illumination distribution is generated via an iterative equation, since the source of the endoscope is almost identical to the camera vector of the endoscope, it is simplified here to have the same vector.
PCT/CN2015/000587 2015-08-13 2015-08-13 Endoscope stereo vision system utilizing shape-from-shading technique and method thereof WO2017024422A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2015/000587 WO2017024422A1 (en) 2015-08-13 2015-08-13 Endoscope stereo vision system utilizing shape-from-shading technique and method thereof
JP2018504782A JP6600442B2 (en) 2015-08-13 2015-08-13 Monocular Endoscopic Stereoscopic System Using Shape Reconstruction Method from Shadow and Method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/000587 WO2017024422A1 (en) 2015-08-13 2015-08-13 Endoscope stereo vision system utilizing shape-from-shading technique and method thereof

Publications (1)

Publication Number Publication Date
WO2017024422A1 true WO2017024422A1 (en) 2017-02-16

Family

ID=57982886

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/000587 WO2017024422A1 (en) 2015-08-13 2015-08-13 Endoscope stereo vision system utilizing shape-from-shading technique and method thereof

Country Status (2)

Country Link
JP (1) JP6600442B2 (en)
WO (1) WO2017024422A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113140010A (en) * 2021-05-14 2021-07-20 上海交通大学 Three-dimensional reconstruction method, system, device and medium suitable for less/no-feature environment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101437437A (en) * 2006-05-09 2009-05-20 皇家飞利浦电子股份有限公司 Imaging system for three-dimensional imaging of the interior of an object
CN104321005A (en) * 2012-05-24 2015-01-28 奥林巴斯株式会社 Stereoscopic endoscope device
TW201531276A (en) * 2014-02-14 2015-08-16 Chang Bing Show Chwan Memorial Hospital Endoscope three-dimensional visualization system and method using Shape from Shading

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101437437A (en) * 2006-05-09 2009-05-20 皇家飞利浦电子股份有限公司 Imaging system for three-dimensional imaging of the interior of an object
CN104321005A (en) * 2012-05-24 2015-01-28 奥林巴斯株式会社 Stereoscopic endoscope device
TW201531276A (en) * 2014-02-14 2015-08-16 Chang Bing Show Chwan Memorial Hospital Endoscope three-dimensional visualization system and method using Shape from Shading

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MARCO, V.S. ET AL.: "Metric depth recovery from monocular images using shape-from-shading and specularities", 2012 19 TH IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING, 3 October 2012 (2012-10-03), pages 25 - 28, XP032333108, ISSN: 1522-4880 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113140010A (en) * 2021-05-14 2021-07-20 上海交通大学 Three-dimensional reconstruction method, system, device and medium suitable for less/no-feature environment

Also Published As

Publication number Publication date
JP6600442B2 (en) 2019-10-30
JP2018529404A (en) 2018-10-11

Similar Documents

Publication Publication Date Title
US20160295194A1 (en) Stereoscopic vision system generatng stereoscopic images with a monoscopic endoscope and an external adapter lens and method using the same to generate stereoscopic images
US20170035268A1 (en) Stereo display system and method for endoscope using shape-from-shading algorithm
AU2012227252B2 (en) Surgical Stereo Vision Systems And Methods For Microsurgery
US20080049100A1 (en) Algorithmic interaxial reduction
JP2000354257A (en) Image processor, image processing method and program provision medium
US20130202191A1 (en) Multi-view image generating method and apparatus using the same
CN110992431B (en) Combined three-dimensional reconstruction method for binocular endoscope soft tissue image
CN109285189B (en) Method for quickly calculating straight-line track without binocular synchronization
WO2018032841A1 (en) Method, device and system for drawing three-dimensional image
TWI581051B (en) Three - dimensional panoramic image generation method
JP4580678B2 (en) Gaze point display device
US11463676B2 (en) Stereoscopic visualization system and method for endoscope using shape-from-shading algorithm
TWI589150B (en) Three-dimensional auto-focusing method and the system thereof
JP2018500690A (en) Method and system for generating magnified 3D images
EP3130273B1 (en) Stereoscopic visualization system and method for endoscope using shape-from-shading algorithm
CN107493465A (en) A kind of virtual multi-view point video generation method
CN104887316A (en) Virtual three-dimensional endoscope displaying method based on active three-dimensional displaying technology
WO2017024422A1 (en) Endoscope stereo vision system utilizing shape-from-shading technique and method thereof
TWI538651B (en) Stereo visualization system and method of endoscopy using chromaticity forming method
TW201509360A (en) Three-dimensional visualization system for single-lens endoscope and method thereof
Hyun et al. Feasibility of obtaining quantitative 3-dimensional information using conventional endoscope: a pilot study
Liu et al. 3D construction of endoscopic images based on computational stereo
CN106331670A (en) Endoscope stereoscopic visualization system and method by employing chromaticity forming method
TWI466535B (en) Three-dimensional imaging method using single-lens mage-capture apparatus, and three-dimensional image enhancement method and three-dimensional image enhancement apparatus based on first and second two-dimensional images for three-dimensional image displ
Xia et al. 9.3: Invited Paper: Geometric distortions in three‐dimensional endoscopic visualization

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15900621

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2018504782

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15900621

Country of ref document: EP

Kind code of ref document: A1