CN107610081B - A kind of endoscope signal processing method and system - Google Patents

A kind of endoscope signal processing method and system Download PDF

Info

Publication number
CN107610081B
CN107610081B CN201710822093.XA CN201710822093A CN107610081B CN 107610081 B CN107610081 B CN 107610081B CN 201710822093 A CN201710822093 A CN 201710822093A CN 107610081 B CN107610081 B CN 107610081B
Authority
CN
China
Prior art keywords
image
main
main image
images
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710822093.XA
Other languages
Chinese (zh)
Other versions
CN107610081A (en
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.)
Huazhong University of Science and Technology
Ezhou Industrial Technology Research Institute of Huazhong University of Science and Technology
Original Assignee
Huazhong University of Science and Technology
Ezhou Industrial Technology Research Institute of Huazhong University of Science and Technology
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 Huazhong University of Science and Technology, Ezhou Industrial Technology Research Institute of Huazhong University of Science and Technology filed Critical Huazhong University of Science and Technology
Priority to CN201710822093.XA priority Critical patent/CN107610081B/en
Publication of CN107610081A publication Critical patent/CN107610081A/en
Application granted granted Critical
Publication of CN107610081B publication Critical patent/CN107610081B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Endoscopes (AREA)

Abstract

The invention relates to an endoscope signal processing method and system, which are characterized in that whether foreign matters exist on a lens is judged firstly, if foreign matters exist, a picture corresponding to the foreign matters of a main image in a picture group is captured and spliced with the main image, the spliced goodness of fit is detected, and a synthesized main image with the highest goodness of fit is selected as an output image. The method can reduce the influence of foreign matters on the lens on the endoscope picture, so that medical staff can obtain a more clear and comprehensive picture, and the diagnosis and treatment are facilitated.

Description

一种内窥镜信号处理方法及系统A kind of endoscope signal processing method and system

技术领域technical field

本发明涉及内窥镜技术领域,具体是一种内窥镜信号处理方法及系统。The invention relates to the technical field of endoscopes, in particular to an endoscope signal processing method and system.

背景技术Background technique

近年来,使用内窥镜的外科手术诸如腹腔镜手术和胸腔镜手术一直受到关注。内窥镜外科手术是有利的,因为它不需要剖腹术、开胸术等,并且仅需要做出用于插入内窥镜和外科手术工具的两三个直径为数厘米的孔,因此显著减轻施加在患者上的负担。然而,用内窥镜的极有限视野进行外科手术是高度困难的,并且患者体内的异物会不可避免的粘到内窥镜的镜头上,有时,内窥镜的冲洗系统又会出现冲洗不掉异物的情况,导致原本就很狭小的视线变的更加模糊,会影响医生的判断。In recent years, surgical procedures using endoscopes such as laparoscopic surgery and thoracoscopic surgery have been attracting attention. Endoscopic surgery is advantageous because it does not require laparotomy, thoracotomy, etc., and only two or three holes of several centimeters in diameter need to be made for the insertion of endoscopes and surgical tools, thus significantly reducing the application of burden on patients. However, it is highly difficult to perform surgery with the extremely limited field of view of the endoscope, and foreign bodies in the patient's body will inevitably stick to the lens of the endoscope, and sometimes, the irrigation system of the endoscope will not be flushed out. The presence of a foreign body will cause the originally narrow vision to become more blurred, which will affect the doctor's judgment.

发明内容SUMMARY OF THE INVENTION

为了克服上述缺点,本发明提供一种内窥镜信号处理方法。In order to overcome the above disadvantages, the present invention provides an endoscope signal processing method.

本发明采用的技术方案为:包含以下的步骤:1、图像生成,通过被摄体的时间序列的摄像而生成的多个图像;2、主副图像确定,根据静态图像生成指示选取一张图像作为主图像,多张图像作为副图像组;3、轮廓提取,从主图像及副图像中提取轮廓成分;4、镜头上异物判断,根据轮廓成分在图像中的相对位置判定镜头上是否有异物,若有异物,执行步骤5,若无异物,认定主图像为最终图像并执行步骤9;5、主图像异物周围特征选取,选取并记录主图像异物周围的特征;6、副图像组对应处图像提取,根据主图像异物周围特征确定主图像上被异物遮挡的部分在副图像组上的对应位置,并提取该对应位置的图像;7、对应位置的图像与主图像合成,将对应位置的图像拼接到主图像的异物处,生成多张合成主图像;8、合成主图像纹理判别,检测主图像合成处的吻合度,并选取多张合成主图像中吻合度最高的一张作为最终图像;9、保存并输出最终图像,保存多张合成主图像、主图像及副图像组。The technical scheme adopted in the present invention is: comprising the following steps: 1. Image generation, multiple images generated by photographing the time series of the subject; 2. The main and auxiliary images are determined, and an image is selected according to the static image generation instruction As the main image, multiple images are used as sub-image groups; 3. Contour extraction, extracting contour components from the main image and sub-images; 4. Judging foreign objects on the lens, determining whether there is foreign matter on the lens according to the relative position of the contour components in the image , if there is a foreign object, go to step 5, if there is no foreign object, determine the main image as the final image and go to step 9; 5. Select the features around the foreign object in the main image, select and record the features around the foreign object in the main image; 6. The corresponding part of the secondary image group Image extraction, determine the corresponding position on the secondary image group of the part of the main image that is blocked by foreign objects according to the surrounding features of the foreign object in the main image, and extract the image of the corresponding position; 7. The image of the corresponding position is synthesized with the main image, and the corresponding position of the image is synthesized. The images are spliced to the foreign objects of the main image, and multiple composite main images are generated; 8. The texture of the composite main image is judged, the degree of agreement of the main image synthesis place is detected, and the one with the highest degree of agreement among the multiple composite main images is selected as the final image. 9. Save and output the final image, save multiple composite main images, main images and sub-image groups.

本发明还提供一种内窥镜信号处理系统,包含:The present invention also provides an endoscope signal processing system, comprising:

图像生成模块,通过被摄体的时间序列的摄像而生成的多个图像;An image generation module, which generates multiple images through time-series imaging of the subject;

主副图像确定模块,根据静态图像生成指示选取一张图像作为主图像,多张图像作为副图像组;The main and auxiliary image determination module selects one image as the main image and multiple images as the auxiliary image group according to the static image generation instruction;

轮廓提取模块,从所述主图像及所述副图像中提取轮廓成分;a contour extraction module, extracting contour components from the main image and the sub-image;

异物判断模块,根据轮廓成分在图像中的相对位置判定镜头上是否有异物,若有异物,激活主图像异物周围特征选取模块,若无异物,认定主图像为最终图像并激活保存输出模块;The foreign object judgment module determines whether there is a foreign object on the lens according to the relative position of the contour components in the image. If there is a foreign object, activate the feature selection module around the foreign object in the main image. If there is no foreign object, determine the main image as the final image and activate the save output module;

主图像异物周围特征选取模块,选取并记录所述主图像异物周围的特征;a feature selection module around the foreign body in the main image, which selects and records the features around the foreign body in the main image;

副图像组对应处图像提取模块,根据所述主图像异物周围特征确定所述主图像上被所述异物遮挡的部分在所述副图像组上的对应位置,并提取该对应位置的图像;an image extraction module corresponding to the sub-image group, determining the corresponding position of the part of the main image that is occluded by the foreign object on the sub-image group according to the surrounding features of the foreign object in the main image, and extracting the image of the corresponding position;

合成主图像模块,将对应位置的图像拼接到所述主图像的异物处,生成多张合成主图像;A synthetic main image module, which splices the images at the corresponding positions to the foreign objects of the main image to generate multiple synthetic main images;

纹理判别模块,检测所述主图像合成处的吻合度,并选取多张所述合成主图像中吻合度最高的一张作为最终图像;a texture discrimination module, which detects the degree of conformity at the synthesis place of the main image, and selects the one with the highest degree of conformity among the plurality of synthesized main images as the final image;

保存输出模块,保存并输出所述最终图像,保存所述多张合成主图像、所述主图像及所述副图像组。The saving and outputting module saves and outputs the final image, and saves the plurality of composite main images, the main image and the sub-image group.

本发明的效果是:本发明所述的一种内窥镜信号处理方法及系统,能减小镜头上异物对内窥镜画面的影响,使医务人员得到更为清晰全面的画面,有助于诊疗的进行。The effects of the present invention are: the endoscope signal processing method and system described in the present invention can reduce the influence of foreign objects on the lens on the endoscope picture, so that medical staff can obtain a clearer and more comprehensive picture, which is helpful for The conduct of diagnosis and treatment.

附图说明Description of drawings

图1所示为本发明提供的一种内窥镜信号处理方法的流程图;FIG. 1 is a flowchart of an endoscope signal processing method provided by the present invention;

图2所示为本发明提供的一种内窥镜信号处理系统的结构框图;FIG. 2 shows a structural block diagram of an endoscope signal processing system provided by the present invention;

图3所示为图2中主副图像确定模块的结构框图;Fig. 3 shows the structural block diagram of the main and auxiliary image determination module in Fig. 2;

图4所示为图2中异物判断模块的结构框图;Fig. 4 shows the structural block diagram of the foreign object judgment module in Fig. 2;

图5所示为图2中副图像组对应处图像提取模块的结构框图;Fig. 5 shows the structural block diagram of the image extraction module corresponding to the sub-image group in Fig. 2;

图6所示为图2中纹理判别模块的结构框图;Fig. 6 shows the structural block diagram of the texture discrimination module in Fig. 2;

图中:1—内窥镜信号处理系统,11—图像生成模块,12—主副图像确定模块,121—指令接收模块,122—主图像选定模块,123—副图像选定模块,13—轮廓提取模块,14—异物判断模块,141—轮廓形状对比模块,142—轮廓位置比对模块,15—主图像异物周围特征选取模块,16—副图像组对应处图像提取模块,161—比对特征模块,162—图像截取模块,17—合成主图像模块,18—纹理判别模块,181—轮廓重新提取模块,182—膨胀处理模块,183—吻合度检测模块,184—吻合度对比模块,19—保存输出模块。In the figure: 1-endoscope signal processing system, 11-image generation module, 12-main and auxiliary image determination module, 121-command receiving module, 122-main image selection module, 123-sub-image selection module, 13- Contour extraction module, 14—foreign object judgment module, 141—contour shape comparison module, 142—contour position comparison module, 15—main image feature selection module around foreign objects, 16—image extraction module corresponding to the pair of image groups, 161—comparison Feature module, 162-image interception module, 17-synthesis main image module, 18-texture discrimination module, 181-contour re-extraction module, 182-expansion processing module, 183-fitness detection module, 184-fitness comparison module, 19 - Save the output module.

具体实施方式Detailed ways

下面结合附图介绍本发明提供的一种内窥镜信号处理方法:The following describes an endoscope signal processing method provided by the present invention in conjunction with the accompanying drawings:

请参阅图1,为本发明提供的一种内窥镜信号处理方法,包含以下顺序的步骤:Please refer to FIG. 1, which is an endoscope signal processing method provided by the present invention, including the steps in the following order:

S1、图像生成,通过被摄体的时间序列的摄像而生成的多个图像;S1, image generation, a plurality of images generated by time-series imaging of the subject;

S2、主副图像确定,根据静态图像生成指示选取一张图像作为主图像,多张图像作为副图像组;S2, the main and auxiliary images are determined, and one image is selected as the main image according to the static image generation instruction, and multiple images are used as the auxiliary image group;

S3、轮廓提取,从主图像及副图像中提取轮廓成分;S3, contour extraction, extracting contour components from the main image and the sub-image;

S4、镜头上异物判断,根据轮廓成分在图像中的相对位置判定镜头上是否有异物,若有异物,执行步骤S5,若无异物,认定主图像为最终图像并执行步骤S9;S4. Judgment of foreign objects on the lens, according to the relative position of the contour components in the image to determine whether there is a foreign object on the lens, if there is a foreign object, execute step S5, if there is no foreign matter, determine that the main image is the final image and execute step S9;

S5、主图像异物周围特征选取,选取并记录主图像异物周围的特征;S5. Select the features around the foreign body in the main image, select and record the features around the foreign body in the main image;

S6、副图像组对应处图像提取,根据主图像异物周围特征确定主图像上被异物遮挡的部分在副图像组上的对应位置,并提取该对应位置的图像;S6, extracting images corresponding to the sub-image group, determining the corresponding position of the part of the main image that is blocked by the foreign object on the sub-image group according to the surrounding features of the foreign object in the main image, and extracting the image of the corresponding position;

S7、对应位置的图像与主图像合成,将对应位置的图像拼接到主图像的异物处,生成多张合成主图像;S7, the image of the corresponding position is synthesized with the main image, and the image of the corresponding position is spliced to the foreign body of the main image to generate multiple composite main images;

S8、合成主图像纹理判别,检测主图像合成处的吻合度,并选取多张合成主图像中吻合度最高的一张作为最终图像;S8, synthesizing the main image texture discrimination, detecting the degree of agreement where the main image is synthesized, and selecting the one with the highest degree of agreement among the multiple synthesized main images as the final image;

S9、保存并输出最终图像,保存多张合成主图像、主图像及副图像组。S9, save and output the final image, and save a plurality of composite main images, main images and sub-image groups.

本发明所述的一种内窥镜信号处理方法,步骤S2中主副图像确定的步骤包括:In the endoscope signal processing method according to the present invention, the step of determining the primary and secondary images in step S2 includes:

S21、接收静态图像生成指示;S21. Receive a static image generation instruction;

S22、接收静态图像生成指示前的最后一帧图像作为主图像;S22, receive the last frame of image before the static image generation instruction as the main image;

S23、最后一帧图像前之前的若干帧图像作为副图像组。S23. Several frames of images before the last frame of image are used as a sub-picture group.

本发明所述的一种内窥镜信号处理方法,步骤S4中镜头上异物判断的步骤包括:In the endoscope signal processing method according to the present invention, the step of judging foreign objects on the lens in step S4 includes:

S41、将主图像的各个轮廓成分与副图像组上各个轮廓成分进行形状对比,若主图像有轮廓成分与副图像组上的轮廓成分形状相同,则判定为相同轮廓成分;S41, compare the shape of each contour component of the main image with each contour component on the sub-image group, if the contour component in the main image has the same shape as the contour component on the sub-image group, it is determined to be the same contour component;

S42、测量并对比相同轮廓成分在主图像及副图像组上距离主图像及副图像组边沿的长度,若有相同轮廓成分在主图像及副图像组上距离主图像及副图像组边沿的长度相等,则判定该相同轮廓成分为异物。S42. Measure and compare the lengths of the same contour component on the main image and the sub-image group from the edge of the main image and the sub-image group. If they are equal, it is determined that the same contour component is a foreign object.

本发明所述的一种内窥镜信号处理方法,步骤S6副图像组对应处图像提取的步骤包括:In the endoscope signal processing method according to the present invention, the step of extracting images corresponding to the sub-image group in step S6 includes:

S61、在副图像组上查找具有主图像异物周围特征的图像区域;S61, searching for an image area with features around foreign objects in the main image on the secondary image group;

S62、截取该图像区域。S62, intercept the image area.

本发明所述的一种内窥镜信号处理方法,步骤S8合成主图像纹理判别的步骤包括:In the endoscope signal processing method according to the present invention, the step of synthesizing the main image texture discrimination in step S8 includes:

S81、重新提取合成主图像合成拼接处的轮廓成分;S81. Re-extract the contour components at the synthetic splicing position of the synthetic main image;

S82、对合成主图像拼接处的轮廓成分进行膨胀处理,生成一膨胀合成主图像;S82, performing expansion processing on the contour components at the splicing position of the composite main image to generate an expanded composite main image;

S83、检测膨胀合成主图像的拼接处线条的吻合度;S83, detecting the degree of fit of the lines at the splicing point of the dilated synthetic main image;

S84、对比多张膨胀合成主图像的吻合度,选取吻合度最高的一张合成主图像作为最终图像。S84 , comparing the degrees of agreement of the plurality of dilated synthetic main images, and selecting a synthetic main image with the highest agreement as the final image.

请参阅图2,本发明还提供一种内窥镜信号处理系统1,包含:Please refer to FIG. 2, the present invention also provides an endoscope signal processing system 1, including:

图像生成模块11,通过被摄体的时间序列的摄像而生成的多个图像;The image generation module 11 generates multiple images through time-series imaging of the subject;

主副图像确定模块12,根据静态图像生成指示选取一张图像作为主图像,多张图像作为副图像组;The primary and secondary image determination module 12 selects one image as the primary image and multiple images as the secondary image group according to the static image generation instruction;

轮廓提取模块13,从所述主图像及所述副图像中提取轮廓成分;an outline extraction module 13, extracting outline components from the main image and the sub-image;

异物判断模块14,根据轮廓成分在图像中的相对位置判定镜头上是否有异物,若有异物,激活主图像异物周围特征选取模块,若无异物,认定主图像为最终图像并激活保存输出模块;The foreign object determination module 14 determines whether there is a foreign object on the lens according to the relative position of the contour component in the image, if there is a foreign object, activates the feature selection module around the foreign object in the main image, if there is no foreign object, determines that the main image is the final image and activates the save output module;

主图像异物周围特征选取模块15,选取并记录所述主图像异物周围的特征;The feature selection module 15 around the foreign object in the main image selects and records the features around the foreign object in the main image;

副图像组对应处图像提取模块16,根据所述主图像异物周围特征确定所述主图像上被所述异物遮挡的部分在所述副图像组上的对应位置,并提取该对应位置的图像;The image extraction module 16 corresponding to the sub-image group determines the corresponding position of the part of the main image that is blocked by the foreign object on the sub-image group according to the surrounding features of the foreign object in the main image, and extracts the image of the corresponding position;

合成主图像模块17,将对应位置的图像拼接到所述主图像的异物处,生成多张合成主图像;The synthetic main image module 17 splices the images at the corresponding positions to the foreign objects in the main image to generate multiple synthetic main images;

纹理判别模块18,检测所述主图像合成处的吻合度,并选取多张所述合成主图像中吻合度最高的一张作为最终图像;The texture discrimination module 18 detects the degree of conformity at the synthesis place of the main image, and selects the one with the highest degree of conformity among the plurality of synthesized main images as the final image;

保存输出模块19,保存并输出所述最终图像,保存所述多张合成主图像、所述主图像及所述副图像组。The saving and outputting module 19 saves and outputs the final image, and saves the plurality of composite main images, the main image and the sub-image group.

请参阅图3,本发明所述一种内窥镜信号处理系统1,主副图像确定模块12包括:Please refer to FIG. 3, an endoscope signal processing system 1 according to the present invention, the main and auxiliary image determination module 12 includes:

指令接收模块121,接收静态图像生成指示;The instruction receiving module 121 receives a static image generation instruction;

主图像选定模块122,选定接收静态图像生成指示前的最后一帧图像作为主图像;The main image selection module 122 selects the last frame image before receiving the static image generation instruction as the main image;

副图像选定模块123,选定最后一帧图像前之前的若干帧图像作为副图像组。The sub-image selection module 123 selects several frames of images before the last frame of image as the sub-image group.

请参阅图4,本发明所述一种内窥镜信号处理系统1,所述异物判断模块14包括:Please refer to FIG. 4 , an endoscope signal processing system 1 according to the present invention, the foreign object determination module 14 includes:

轮廓形状对比模块141,将主图像的各个轮廓成分与副图像组上各个轮廓成分进行形状对比,若主图像有轮廓成分与副图像组上的轮廓成分形状相同,则判定为相同轮廓成分;The contour shape comparison module 141 compares the shape of each contour component of the main image and each contour component on the sub-image group, and if the contour component of the main image has the same shape as the contour component on the sub-image group, it is determined to be the same contour component;

轮廓位置比对模块142,测量并对比相同轮廓成分在主图像及副图像组上距离主图像及副图像组边沿的长度,若有相同轮廓成分在主图像及副图像组上距离主图像及副图像组边沿的长度相等,则判定该相同轮廓成分为异物。The contour position comparison module 142 measures and compares the length of the same contour component on the main image and the sub-image group from the edge of the main image and the sub-image group. If the lengths of the edges of the image groups are equal, it is determined that the same contour components are foreign objects.

请参阅图5,本发明所述一种内窥镜信号处理系统1,所述副图像组对应处图像提取模块16包括:Referring to FIG. 5, an endoscope signal processing system 1 according to the present invention, the image extraction module 16 corresponding to the sub-image group includes:

比对特征模块161,在副图像组上查找具有主图像异物周围特征的图像区域;The feature comparison module 161 searches the sub-image group for an image area with features around foreign objects in the main image;

图像截取模块162,截取该图像区域。The image capturing module 162 captures the image area.

请参阅图6,本发明所述一种内窥镜信号处理系统1,所述纹理判别模块18包括:Please refer to FIG. 6 , an endoscope signal processing system 1 according to the present invention, the texture discrimination module 18 includes:

轮廓重新提取模块181,重新提取合成主图像合成拼接处的轮廓成分;The contour re-extraction module 181, re-extracts the contour components at the synthetic splicing of the synthetic main image;

膨胀处理模块182,对合成主图像拼接处的轮廓成分进行膨胀处理,生成一膨胀合成主图像;The expansion processing module 182 performs expansion processing on the contour components where the composite main image is spliced to generate an expanded composite main image;

吻合度检测模块183,检测膨胀合成主图像的拼接处线条的吻合度;The degree of fit detection module 183 detects the degree of fit of the lines at the splicing point of the expanded synthetic main image;

吻合度对比模块184,对比多张膨胀合成主图像的吻合度,选取吻合度最高的一张合成主图像作为最终图像。The matching degree comparison module 184 compares the matching degrees of the plurality of dilated composite main images, and selects a composite main image with the highest matching degree as the final image.

本发明所述的一种内窥镜信号处理方法及系统,先判定镜头上是否有异物,若有异物再截取幅图像组上与主图像异物处相对应的画面并与主图像拼接,检测拼接后的吻合度,选取吻合度最高的合成主图像作为输出图像。该内窥镜信号处理方法及系统能减小镜头上异物对内窥镜画面的影响,使医务人员得到更为清晰全面的画面,有助于诊疗的进行。In the endoscope signal processing method and system of the present invention, it is first determined whether there is a foreign object on the lens, and if there is a foreign object, a picture corresponding to the foreign object in the main image on the image group is intercepted and spliced with the main image, and the splicing is detected. After the matching degree is determined, the composite main image with the highest matching degree is selected as the output image. The endoscope signal processing method and system can reduce the influence of foreign objects on the lens on the endoscope picture, so that the medical staff can obtain a clearer and more comprehensive picture, which is helpful for the diagnosis and treatment.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.

Claims (6)

1. An endoscope signal processing method comprising the steps of:
s1, image generation, a plurality of images generated by time-series image capture of an object;
s2, determining a main image and a sub image, selecting one image as a main image and a plurality of images as a sub image group according to the static image generation instruction;
s3, extracting contour components from the main image and the sub-image;
s4, judging foreign matters on the lens, judging whether foreign matters exist on the lens according to the relative position of the contour components in the image, if so, executing step S5, if not, determining the main image as a final image and executing step S9;
s5, selecting the peripheral characteristics of the main image foreign matter, and selecting and recording the peripheral characteristics of the main image foreign matter;
s6, extracting images corresponding to the sub-image group, determining the corresponding position of the part of the main image blocked by the foreign matter on the sub-image group according to the peripheral features of the foreign matter of the main image, and extracting the images at the corresponding position;
s7, synthesizing the corresponding images and the main images, splicing the images at the corresponding positions to the foreign matters of the main images, and generating a plurality of synthesized main images;
s8, judging the texture of the synthesized main image, detecting the coincidence degree of the synthesized position of the main image, and selecting one of the synthesized main images with the highest coincidence degree as a final image;
s9, storing and outputting the final image, and storing the multiple synthesized main images, the main images and the sub image groups;
the step of judging the foreign substance on the lens in step S4 includes:
s41, comparing the shape of each contour component of the main image with that of each contour component in the sub image group, and if the shape of the contour component of the main image is the same as that of the contour component in the sub image group, judging that the contour components are the same;
s42, measuring and comparing the lengths of the same contour components from the edges of the main image and the sub-image group on the main image and the sub-image group, if the lengths of the same contour components from the edges of the main image and the sub-image group on the main image and the sub-image group are equal, judging that the same contour components are foreign matters;
the step of discriminating the texture of the synthesized main image in step S8 includes:
s81, re-extracting contour components at the composite splicing position of the composite main image;
s82, performing expansion processing on the contour components at the splicing position of the synthesized main image to generate an expanded synthesized main image;
s83, detecting the goodness of fit of lines at the splicing part of the expanded composite main image;
and S84, comparing the goodness of fit of the multiple expanded composite main images, and selecting the composite main image with the highest goodness of fit as a final image.
2. The endoscope signal processing method according to claim 1, wherein the step of determining the primary and secondary images in step S2 includes:
s21, receiving a static image generation instruction;
s22, receiving the last frame image before the static image generation instruction as the main image;
and S23, taking a plurality of frame images before the last frame image as a secondary image group.
3. The endoscope signal processing method according to claim 2, wherein said step S6 of extracting the image corresponding to the sub-image group comprises:
s61, searching an image area with the peripheral characteristics of the main image foreign matter on the secondary image group;
and S62, intercepting the image area.
4. An endoscope signal processing system, comprising:
an image generation module that generates a plurality of images by time-series imaging of an object;
the main and auxiliary image determining module selects one image as a main image according to the static image generation instruction, and a plurality of images as an auxiliary image group;
a contour extraction module for extracting contour components from the main image and the sub-image;
the foreign matter judging module is used for judging whether foreign matters exist on the lens according to the relative positions of the contour components in the image, if so, the main image foreign matter surrounding characteristic selecting module is activated, and if not, the main image is determined to be a final image and the storage output module is activated;
the main image foreign matter surrounding characteristic selecting module selects and records the characteristics of the main image foreign matter surrounding;
the image extraction module at the corresponding position of the secondary image group determines the corresponding position of the part of the primary image, which is blocked by the foreign matter, on the secondary image group according to the peripheral characteristics of the foreign matter of the primary image, and extracts the image at the corresponding position;
the composite main image module splices the images at the corresponding positions to the foreign matters of the main image to generate a plurality of composite main images;
the texture judging module is used for detecting the goodness of fit of the combined position of the main images and selecting one image with the highest goodness of fit in a plurality of combined main images as a final image;
a storage output module for storing and outputting the final image, and storing the plurality of synthesized main images, the main image, and the sub-image group;
the foreign matter determination module includes:
the contour shape comparison module is used for comparing the shape of each contour component of the main image with that of each contour component in the sub image group, and if the contour component of the main image is the same as the contour component in the sub image group, the main image is judged to be the same contour component;
the outline position comparison module is used for measuring and comparing the lengths of the same outline components from the edges of the main image and the sub-image group on the main image and the sub-image group, and if the lengths of the same outline components from the edges of the main image and the sub-image group on the main image and the sub-image group are equal, the same outline components are judged to be foreign matters;
the texture discriminating module includes:
the contour re-extraction module re-extracts contour components at the synthesized and spliced part of the synthesized main image;
the expansion processing module is used for performing expansion processing on the contour components at the splicing position of the synthesized main image to generate an expanded synthesized main image;
the goodness of fit detection module is used for detecting the goodness of fit of lines at the splicing part of the expanded synthesized main image;
and the goodness of fit contrast module is used for comparing the goodness of fit of the multiple expanded synthesized main images and selecting one synthesized main image with the highest goodness of fit as a final image.
5. The endoscopic signal processing system of claim 4 wherein said primary and secondary image determination module comprises:
an instruction receiving module which receives a static image generation instruction;
a main image selection module for selecting the last frame image before receiving the static image generation instruction as the main image;
and the secondary image selection module selects a plurality of frames of images before the last frame of image as a secondary image group.
6. The endoscopic signal processing system as defined in claim 4, wherein said sub image group corresponding image extracting module comprises:
the comparison characteristic module is used for searching an image area with the peripheral characteristics of the foreign matters of the main image on the auxiliary image group;
and the image intercepting module intercepts the image area.
CN201710822093.XA 2017-09-13 2017-09-13 A kind of endoscope signal processing method and system Active CN107610081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710822093.XA CN107610081B (en) 2017-09-13 2017-09-13 A kind of endoscope signal processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710822093.XA CN107610081B (en) 2017-09-13 2017-09-13 A kind of endoscope signal processing method and system

Publications (2)

Publication Number Publication Date
CN107610081A CN107610081A (en) 2018-01-19
CN107610081B true CN107610081B (en) 2020-10-27

Family

ID=61063615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710822093.XA Active CN107610081B (en) 2017-09-13 2017-09-13 A kind of endoscope signal processing method and system

Country Status (1)

Country Link
CN (1) CN107610081B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114366003A (en) * 2021-12-21 2022-04-19 北京大学 an endoscope system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080068454A1 (en) * 2005-04-18 2008-03-20 Olympus Medical Systems Corp. Image display apparatus
US20170155804A1 (en) * 2014-07-07 2017-06-01 Sony Corporation Image processing apparatus, image processing method, program, and endoscope system
CN107133941A (en) * 2017-04-18 2017-09-05 重庆金山医疗器械有限公司 A kind of Wireless capsule endoscope image protrudes the display methods of blood vessel very change and boss

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080068454A1 (en) * 2005-04-18 2008-03-20 Olympus Medical Systems Corp. Image display apparatus
US20170155804A1 (en) * 2014-07-07 2017-06-01 Sony Corporation Image processing apparatus, image processing method, program, and endoscope system
CN107133941A (en) * 2017-04-18 2017-09-05 重庆金山医疗器械有限公司 A kind of Wireless capsule endoscope image protrudes the display methods of blood vessel very change and boss

Also Published As

Publication number Publication date
CN107610081A (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN111295127B (en) Examination support device, endoscope device, and recording medium
US11790672B2 (en) Image processing method, microscope, image processing system, and medium based on artificial intelligence
CN105550631B (en) A kind of iris image acquiring method and device
US10692198B2 (en) Image processing apparatus, image processing method, image processing system, and non-transitory computer-readable storage medium for presenting three-dimensional images
JP6600356B2 (en) Image processing apparatus, endoscope apparatus, and program
KR20160118037A (en) Apparatus and method for detecting lesion from medical image automatically
CN105050473A (en) Image processing device, endoscopic device, program and image processing method
KR101978548B1 (en) Server and method for diagnosing dizziness using eye movement measurement, and storage medium storin the same
CN106650794A (en) Method and system for eliminating highlight of image affected by highlight reflection on object surface
WO2016098300A1 (en) Information processing device, surgical microscope system and information processing method
WO2022227342A1 (en) Eye fundus image macular region recognition and detection method and apparatus, and device
KR20210099237A (en) Method for fusing multi-modal image and multi-modal image surgery guided apparatus for performing the same
Le et al. Robust surgical tool detection in laparoscopic surgery using yolov8 model
CN112971688A (en) Image processing method and device and computer equipment
CN107610081B (en) A kind of endoscope signal processing method and system
CN115311405A (en) Three-dimensional reconstruction method of binocular endoscope
US10694929B2 (en) Medical equipment system and operation method of medical equipment system
Suthaharan et al. Laplacian feature detection and feature alignment for multimodal ophthalmic image registration using phase correlation and Hessian affine feature space
CN115115553A (en) Endoscope image noise reduction processing method, electronic equipment and system
CN114302035A (en) Image processing method and device, electronic equipment and endoscope system
Reel et al. Multimodal retinal image registration using a fast principal component analysis hybrid-based similarity measure
CN108510497B (en) Method and device for displaying focus information of retina image
Hang et al. Retinal image registration based on the feature of bifurcation point
Koukounis et al. Retinal image registration based on multiscale products and optic disc detection
Parekar et al. Automatic retinal image registration using fully connected vascular tree

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant