CN113139929A - Gastrointestinal tract endoscope image preprocessing method comprising information screening and fusion repairing - Google Patents

Gastrointestinal tract endoscope image preprocessing method comprising information screening and fusion repairing Download PDF

Info

Publication number
CN113139929A
CN113139929A CN202110283777.3A CN202110283777A CN113139929A CN 113139929 A CN113139929 A CN 113139929A CN 202110283777 A CN202110283777 A CN 202110283777A CN 113139929 A CN113139929 A CN 113139929A
Authority
CN
China
Prior art keywords
information
image
area
picture
light spot
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
CN202110283777.3A
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.)
Zhejiang University of Technology ZJUT
Original Assignee
Zhejiang University of Technology ZJUT
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 Zhejiang University of Technology ZJUT filed Critical Zhejiang University of Technology ZJUT
Priority to CN202110283777.3A priority Critical patent/CN113139929A/en
Publication of CN113139929A publication Critical patent/CN113139929A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0012Biomedical image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction
    • G06T5/77
    • G06T5/90
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10068Endoscopic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20221Image fusion; Image merging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30028Colon; Small intestine
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30092Stomach; Gastric
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30096Tumor; Lesion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30204Marker

Abstract

A gastrointestinal endoscope image preprocessing method comprising information screening and fusion repairing comprises the steps of firstly, extracting effective information areas in a data set picture twice by using a key information extractor, wherein the results of the two extractions are mutually supplemented and stored as a new picture data set; brightness balance and promotion are carried out on the new image data set by using an improved EACE method, the defect of uneven brightness is improved, the overall brightness is promoted, and more information beneficial to identifying polyps is obtained; and (4) performing light spot detection and light spot area repair on the enhanced result by using a two-image matching fusion repair method. The invention reduces the interference of light spots in the endoscope image on the polyp detection result and reduces the misdiagnosis rate when a doctor or a computer detects the polyp.

Description

Gastrointestinal tract endoscope image preprocessing method comprising information screening and fusion repairing
Technical Field
The invention relates to the field of polyp detection of gastrointestinal endoscopy, in particular to a gastrointestinal endoscope image preprocessing method combining information screening and fusion restoration.
Background
The development of cancer caused by digestive diseases and their further deterioration is one of the killers of human health. According to related reports, three and four cancers with incidence and fatality rates ranked in the top five in China belong to digestive tract cancer respectively. Polyps are a neoplasm of the surface of the small intestine in the digestive tract, most of which are benign, but if their size exceeds 1cm, the likelihood of their canceration will be greatly increased. Thus, early detection and timely treatment of polyps can reduce the likelihood of a patient developing cancer.
Currently, most of polyps are detected by using a gastrointestinal endoscope detection method, and a large number of gastrointestinal tract pictures can be acquired by the endoscope in one detection, wherein the data volume of the pictures can reach thousands or even tens of thousands. It is not easy for doctors to screen such huge amount of pictures one by one, and there may be high risks of missed diagnosis and misdiagnosis. With the continuous update and the increasing maturity of Computer Aided diagnosis technology, it has become a feasible method to use a Computer Aided System (CAS) to help doctors detect polyp in endoscopic pictures.
CAS is a "good helper" to help physicians perform gastrointestinal polyp detection. On one hand, the device saves the time for reading and screening for doctors, on the other hand, the device accelerates the detection efficiency and wins precious treatment time for some critically ill patients. However, the accuracy of the CAS for identifying polyps is related to the quality of gastrointestinal tract pictures input into the system, because the endoscope is limited to a severe imaging environment when performing a photographing operation inside the gastrointestinal tract, and most of photographed pictures have problems of low brightness, blurring or spot interference and the like. These problems can affect the accuracy with which subsequent computer-aided systems identify polyps.
Disclosure of Invention
In order to solve the problem that invalid information, uneven brightness and light spot interference of an endoscope image influence the speed and precision of polyp identification by CAS, the invention provides a gastrointestinal tract endoscope image preprocessing method combining information screening and fusion restoration. In order to realize information screening, the key information extractor is designed to screen the effective information in the endoscope image twice, and screening results are complementary; secondly, in order to improve the brightness of the screened image, the invention provides an improved Adaptive Contrast Enhancement method (EACE) for balancing and improving the overall brightness of the image, and the CAS is Enhanced to detect the low-brightness area; finally, the invention designs a method for matching, fusing and repairing the two images to repair the light spot area, eliminates the influence of the light spot on the CAS recognition result and improves the accuracy of the result.
The technical scheme of the invention is as follows:
a gastrointestinal endoscope image preprocessing method including information screening and fusion repair, the method comprising the steps of:
step 1, acquiring a picture to be processed, wherein an experimental data set is a partial endoscopic picture data set provided by a cooperative doctor and comprises pictures with polyps or pictures without polyps in various types, shapes and colors;
step 2, the key information extractor screens the endoscope picture information;
the key information extractor automatically detects the effective information area of the image according to the input image information of the endoscope, calculates the information of the top point and the side length of the maximum inscribed square inside the image, and extracts all the information in the square as the information
Figure BDA0002979575400000021
And the key information extractor performs second extraction by utilizing a rotation conversion matrix T:
Figure BDA0002979575400000022
wherein θ is the rotation angle;
rotating the original image by 45 degrees by taking the central pixel point as the center of a circle, removing the invalid filling part generated by the rotation to extract
Figure BDA0002979575400000023
Method for extracting new effective information area
Figure BDA0002979575400000024
Step 3, using improved EACE method to balance the whole brightness of the picture
For pixel point X in the graph, its pixel value is fx(i, j) calculating its local mean mx(i, j) and local standard deviation σx(i, j) is calculated by the following formula to obtain fx(I, j) enhanced pixel value Ix(i,j):
Ix(i,j)=mx(i,j)+G(fx(i,j)-mx(i,j)) (2)
Figure BDA0002979575400000025
Wherein M is a global average value and alpha is an enhancement parameter; σ of high frequency regionx(i, j) is large, gain is small, and the enhancement is not too bright, and sigma of low frequency partx(i, j) is small, the gain G is large, and the brightness value of the area is improved; performing gamma conversion on the V channel of the picture, and finally merging the channel generation results to obtain an endoscope picture with better brightness;
and 4, designing a light spot area in the two images by a matching fusion repairing method.
Further, in the step 4, the two-image matching fusion repairing method repairs the light spot area in the endoscope image, and the processing process is as follows:
4.1 detecting the position of the light spot in the positioning picture through a threshold value and correspondingly positioning the light spot on a light spot mask
Figure BDA0002979575400000031
Marking;
4.2 masking the light spots
Figure BDA0002979575400000032
Performing a closing operation to obtain an expanded mask
Figure BDA0002979575400000033
By using
Figure BDA0002979575400000034
And
Figure BDA0002979575400000035
obtaining an edge mask
Figure BDA0002979575400000036
By using
Figure BDA0002979575400000037
Acquiring color parameters of a normal area around the light spot, and filling the color parameters with the normal color parameters
Figure BDA0002979575400000038
Marked spot pixels;
4.3 filling of the color data after preliminary restoration with Normal color parameters
Figure BDA0002979575400000039
Carrying out Gaussian filtering to balance the repaired facula area with the whole area;
4.4 by means of masks
Figure BDA00029795754000000310
Extracting the repaired spot part, and the repaired spot part and
Figure BDA00029795754000000311
matching and fusing;
and 4.5, repairing the fusion trace at the edge, eliminating the unnatural repairing trace, and finishing the pretreatment.
The beneficial effects of the invention are as follows:
(1) compared with the traditional method for extracting the effective information of the gastrointestinal endoscope through manual setting, the invention designs the key information extractor which can be automatically processed in batch under the scene of the gastrointestinal endoscope, only extracts the effective information in the image of the endoscope twice, the contents of the two extractions are complementary, the diagnosis time consumption of a computer-aided system is reduced, and simultaneously, an original data set can be expanded, so that the computer-aided system can obtain more training samples;
(2) the improved ACE gets rid of the defect that the traditional method loses color information to achieve the purpose of enhancement. The color characteristic is an important basis of medical diagnosis, and the improved ACE method is adopted to improve the content of a low-brightness area and ensure that the color of a normal area is not influenced at the same time, so that the overall balanced effect is achieved.
(3) Compared with other spot removing methods which are easy to form mosaic phenomenon, the invention designs a two-image matching fusion repairing method to repair the spots, uses normal pixel information of the image to repair the spot region, extracts the repaired spot region to match and fuse with the original image, so that the repaired image has more natural visual effect, and greatly reduces misdiagnosis risk of identifying the spots as polyps by a computer auxiliary system.
Drawings
FIG. 1 is a general flow diagram of the present invention;
fig. 2 (a) is a test picture used in the present invention, in which a circular area contains valid information required for diagnosis, the outside of the circle is filled with a background color, and the background is invalid information. (b) The pictures are rotated by 40 degrees, and (c) and (d) are respectively extracted
Figure BDA0002979575400000041
And
Figure BDA0002979575400000042
in FIG. 3, (a) is
Figure BDA0002979575400000043
(b) Result light spot mask generated for test picture through light spot detection
Figure BDA0002979575400000044
(c) Is that
Figure BDA0002979575400000045
Expanded mask obtained after closing operation
Figure BDA0002979575400000046
(d) Is that
Figure BDA0002979575400000047
After the reverse color is finished with
Figure BDA0002979575400000048
The result of performing a bit OR operation
Figure BDA0002979575400000049
FIG. 4 is a drawing showing
Figure BDA00029795754000000410
And
Figure BDA00029795754000000411
the effect graph after the contrast is improved by using an automatic contrast enhancement method;
fig. 5 is the final result of the enhancement and repair of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings.
Referring to fig. 1-5, a method for gastrointestinal endoscopic image pre-processing including information screening and fusion repair, the method comprising the steps of:
step 1, obtaining a picture to be processed: the experimental data set is a partial endoscopic picture data set from a collaborator providing, containing pictures of various types, shapes and colors, containing polyps or pictures without polyps;
and 2, designing a key information extractor to screen and extract an effective information area.
The endoscope picture is different from pictures with common formats, an effective information area in the endoscope picture is located in a circular area in the center of an image, an invalid information area filled with black pixels is arranged outside the effective information area, and information needed by diagnosis is not arranged in the invalid information area. When the computer-aided diagnosis is carried out, the detection of the invalid information area wastes the computing resources of the computer, and the running time of a computer-aided diagnosis system is prolonged; discarding invalid information regions to detect only valid regions may improve the efficiency of computer diagnostics.
The key information extractor designed by the invention can automatically extract and store the content of the maximum inscribed square area in the circular effective information area. The width, height and number of channels of the pictures collected in the first step are 534 × 534 × 3, and the pictures are stored in a bitmap (bmp) format. The coordinate of a central pixel point (267) in an original image is taken as a central point, according to mathematical knowledge, the pixel point with the coordinate positioned at (78,78) can be taken as the upper left vertex of an inscribed square, and the side length of the square is 377. The key information extractor extracts the content of this square area as
Figure BDA00029795754000000412
The method for extracting the inscribed maximum square in the circle inevitably loses a part of effective information, and in order to keep more effective information and reduce the risk of missed diagnosis, the effective information is extracted for the second time in the next step. The central pixel point (267) of the original picture (534 multiplied by 3) is taken as the origin, and the time hand is rotated by 45 degrees. Cutting the picture with length and width changed by rotating and filling into the size of the original picture, and cutting out a square area with side length of 377 by taking (78,78) as the upper left vertex
Figure BDA00029795754000000413
Before the picture is rotated, a rotation transformation matrix T needs to be determined, and the rotation transformation matrix used by the invention is as follows:
Figure BDA0002979575400000051
wherein θ is the rotation angle;
the picture is stored in the computer in a matrix form, and in the rotation process of the picture, the original coordinate points and the color information are mapped to a new picture through a rotation matrixAt the coordinate point (pixel point), the new coordinate point will be stored into a minimum (size) matrix which can contain all coordinates according to the transformation rule, and the pixel point which has no mapping relation with the original image pixel point in the minimum matrix will be automatically filled with black. In the application scene of gastrointestinal endoscope polyp detection, the effective information region to be extracted is a circular region in the image, and the range and the position of the effective information region are not changed too much after the effective information region is rotated. What changes is that the surrounding black background area becomes "thick" and the black background belongs to invalid information. In order to simplify the complexity of the processing operation, the format information of the original picture is used to remove the filling area generated by rotation, and a picture with the same size as the original picture and only the middle circular effective information area rotated by 45 degrees is obtained. After the effective information area rotates 45 degrees, the key information extractor extracts the information by the original parameter information
Figure BDA0002979575400000052
Extracted this time
Figure BDA0002979575400000053
Content and
Figure BDA0002979575400000054
in contrast to this, the first and second,
Figure BDA0002979575400000055
in therein will be
Figure BDA0002979575400000056
Has no information collected in the information acquisition system,
Figure BDA0002979575400000057
and
Figure BDA0002979575400000058
can supplement each other, reduce the loss of the effective information of the original image.
And step 3: equalizing pictures using improved EACE method
Figure BDA0002979575400000059
And
Figure BDA00029795754000000510
the brightness of (2).
Due to the limitations of endoscopic imaging conditions, some or most regions of a significant image are not strongly contrasted, and the less strongly contrasted regions of the image may hide polyps but are not easily detected by the CAS. The traditional Adaptive Contrast Enhancement (ACE) algorithm can only balance the image brightness, and in order to improve the balanced image brightness and improve the polyp detection accuracy, the invention provides an improved EACE method to balance and improve the overall brightness of an original image. The principle of the EACE method is to divide an endoscopic image into two parts: one is the low frequency part, which can be obtained by low pass filtering (smooth blurring) of the image; and the second is a high-frequency part which can be obtained by cutting off a low-frequency part from an original image. In order to enhance the high frequency parts representing the details, the high frequency parts are multiplied by a certain gain value, and an enhanced image is obtained after recombination. Suppose that the pixel value of a pixel point x in the endoscopic picture is fx(i, j), then the local mean m of the region centered at (i, j) and having a window size of (2n +1) × (2n +1)x(i, j) and variance
Figure BDA00029795754000000511
Can be expressed as:
Figure BDA00029795754000000512
Figure BDA00029795754000000513
mean value mxCan be approximated as a background portion when fx(k,l)-mx(i, j) is the high frequency detail part, and the gain product is made for the high frequency, which comprises:
Ix(i,j)=mx(i,j)+G(i,j)[fx(i,j)-mx(i,j)] (6)
two schemes for gain G can be chosen, one is that G takes a constant greater than 1:
Ix(i,j)=mx(i,j)+C[fx(i,j)-mx(i,j)] (2)
scheme two, G is represented as a variation value inversely proportional to the global mean variation:
Figure BDA0002979575400000061
in order to enhance the low-brightness area of the image, the value taking mode of G in the second scheme is adopted, and then the pixel point fx(i, j) the enhanced pixel values are:
Figure BDA0002979575400000062
in a high-frequency area of the image, the local standard deviation is large, the gain value is small at the moment, and the situation of over-brightness cannot occur as a result. But in a smooth region of the image. The local variance is small, and the gain value is large. To avoid the problem of false colors caused by enhancement in the RGB color space, we will do
Figure BDA0002979575400000068
And (3) in the HSV color space (the space conversion method is the same as the fourth conversion method), the brightness parameters of the whole image are balanced by using an automatic contrast enhancement method for the separated V channel, and after the V channel is set, the channel parameters are converted by using a gamma conversion method, wherein the gamma conversion formula is as follows:
Figure BDA0002979575400000063
Figure BDA0002979575400000064
and gamma is a constant which will be empirically determined
Figure BDA0002979575400000065
And gamma are set to values of 1.13 and 0.89, respectively. And after the conversion is finished, the channels are combined to generate a result. The EACE algorithm realizes the color matching without distortion
Figure BDA0002979575400000066
And
Figure BDA0002979575400000067
the brightness equalization and boosting are performed as a whole.
And 4, repairing the light spot area in the image by using the two-image matching fusion repairing method instead of the traditional method.
In addition to contrast problems, during imaging, the endoscope's own light source shines on the smooth gastrointestinal wall where body fluids adhere, possibly causing specular reflection, which in turn creates spots in the endoscopic image. When the CAS detects the image, the light spot region may be misjudged as a polyp part, which affects the accuracy of the computer for identifying polyps, resulting in a risk of misdiagnosis. Most of the traditional facula removing methods cause the mosaic phenomenon of facula areas and also influence the detection result of the CAS. In order to improve the undesirable repairing effect, the invention designs a two-image matching fusion repairing method to repair the light spot area in the image, and the processing flow of the two-image matching fusion repairing method is as follows:
4.1 light spot detection. The image is difficult to distinguish the facula pixel point and the normal pixel point in the original RGB color space, and the image in HSV format is easy to distinguish the facula pixel point and the normal pixel point. When the picture in the original RGB color space is converted into the HSV color space, the conversion formula of the pixel value when the HSV space is converted into the RGB space is as follows:
R′=R/255 (11)
G′=G/255 (12)
B′=B/255 (13)
C max=max(R′,G′,B′) (14)
C min=min(R′,G′,B′) (15)
Δ=C max-C min (16)
color tone:
Figure BDA0002979575400000071
saturation degree:
Figure BDA0002979575400000072
lightness:
V=C max (19)
after the color space conversion is completed, it can be known through looking up related materials and experience that when the Saturation (Saturation) of a certain pixel point in the graph is lower than 55 and the intensity (Value) is higher than 176, the pixel point can be identified as a light spot with a high probability. The facula points in the graph can be positioned by pixel detection after setting the threshold value, and in order to repair, the facula mask with the same size as the original graph is generated after pixel detection
Figure BDA0002979575400000073
At the spot mask
Figure BDA0002979575400000074
And marking the pixel point in the middle normal area as 0, and marking the pixel point at the light spot as 255.
4.2 mean value repair. The invention uses the average value of the surrounding pixel points at the light spot as the reference to fill the color information at the light spot. A transition area exists between the light spot and the surrounding normal area, and parameter information of pixel points in the transition area can be influenced by mirror reflection and does not accord with normal parameters. The transition area is also included in the range of the spot area to be repaired, so that the influence of specular reflection on the picture can be reduced to the minimum. Using structural element SE of 3x33×3Masking the spots obtained in 4.1
Figure BDA0002979575400000081
Performing morphological closing operation to respectively obtain expanded masks of expanded light spots
Figure BDA0002979575400000082
The close operation is defined as follows:
Figure BDA0002979575400000083
wherein is
Figure BDA0002979575400000084
The operation of the dilation operation is carried out,
Figure BDA0002979575400000085
is the erosion operation operator.
Will be provided with
Figure BDA0002979575400000086
Making a reverse color change (black-white interchange), and then making a color change with
Figure BDA0002979575400000087
Performing AND operation to obtain edge mask
Figure BDA0002979575400000088
Edge mask
Figure BDA0002979575400000089
The pixel points marked as white are normal pixel points of the adjacent light spot area, and the edge mask can be obtained by utilizing the mean () function of OpenCv
Figure BDA00029795754000000810
Color mean around lower spot, control
Figure BDA00029795754000000811
De-filling with the obtained color mean information
Figure BDA00029795754000000812
The corresponding spot area.
4.3 fusion repair. Even if the color values of the continuous pixels in the flat area in the normal image are different, the color values of the continuous pixels in the flat area are different. After the initial repair of the spot position in 5.2, the color information and the integrity of the spot position are repairedThe volumes have tended to be consistent but there is still some inconsistency. The Gaussian filter has obvious denoising and smoothing effects on the flat area. In order to better integrate the spot repairing area, firstly, the primarily repaired picture is smoothed once by Gaussian filtering to obtain a primarily repaired image
Figure RE-GDA00030847156500000813
The smoothed repair area is preliminarily fused with the surrounding area. Gaussian filtering also loses some of the edge information in the image. Considering that in the endoscope scene, most of the light spots are in a flat area of the image, the method utilizes
Figure RE-GDA00030847156500000814
Corresponding interception
Figure RE-GDA00030847156500000815
Repairing the smoothed region
Figure RE-GDA00030847156500000816
The addWeighted () function using OpenCV will
Figure RE-GDA00030847156500000817
And
Figure RE-GDA00030847156500000818
corresponding location matching fusion, wherein the addWeighted function is to
Figure RE-GDA00030847156500000819
Is set to 0.67,
Figure RE-GDA00030847156500000820
the fusion weight coefficient is set to 0.33. After the fusion is completed, the corresponding is obtained
Figure RE-GDA00030847156500000821
4.4 Final repair. After the steps, the repairing work is nearly completed, and finallyIn order to eliminate the trace of artificial patching fusion and make the picture more balanced and natural, an inpainting () function pair of OpenCV is used
Figure BDA00029795754000000822
Performing a final repair operation, wherein the repair masks of the inpainting () function are respectively
Figure BDA00029795754000000823
Of the output
Figure BDA00029795754000000824
Saved in the new dataset as the final result. In the same way, pair
Figure BDA00029795754000000825
The same operation can be performed.
The final effect of the present invention can be further illustrated by the following experiments.
1) The experimental conditions are as follows:
the experimental part of the invention is implemented on Visual Studio 2012 software by using vc10+ opencv2.4.13 programming. The operating system of the PC for the experiment is Windows 10 professional edition, the processor is Intel (R) core (TM) i5-4210U CPU @1.70GHz 2.39GHz, and the installation memory is 4 GB.
2) The experimental results are as follows:
the experimental result is shown in fig. 5, and compared with the test picture, the picture which is processed and repaired by the method of the invention eliminates the black filling background part; the contrast of the area with lower brightness is improved, and the originally blurred vascular tissue becomes clear to a certain extent; the obvious facula part in the original image is repaired in the result, compared with the original image, the visual effect of the result picture is better, which is beneficial for the doctor to recheck the diagnosis result of the computer auxiliary system, and has good practical engineering application value.
The matters described in this specification are merely examples of implementations of the inventive concept and are for illustration purposes only. The scope of the present invention should not be construed as being limited to the particular forms set forth in the embodiments, but is also based on the technical equivalents which may be conceived by one of ordinary skill in the art based on the concept of the present invention.

Claims (2)

1. A gastrointestinal endoscope image preprocessing method including information screening and fusion repair, the method comprising the steps of:
step 1, acquiring a picture to be processed, wherein an experimental data set is a partial endoscope picture data set provided by a cooperative doctor and comprises pictures with polyps or pictures without polyps in various types, shapes and colors;
step 2, the key information extractor screens the endoscope picture information;
the key information extractor automatically detects the effective information area of the image according to the input image information of the endoscope, calculates the peak and side length information of the maximum inscribed square inside the image, and extracts all information in the square as the information
Figure FDA0002979575390000011
And the key information extractor performs second extraction by utilizing a rotation conversion matrix T:
Figure FDA0002979575390000012
wherein θ is the rotation angle;
rotating the original image by 45 degrees by taking the central pixel point as the center of a circle, removing the invalid filling part generated by the rotation to extract
Figure FDA0002979575390000013
Method for extracting new effective information area
Figure FDA0002979575390000014
Step 3, using improved EACE method to balance picture
Figure FDA0002979575390000015
And
Figure FDA0002979575390000016
brightness of (d);
for pixel point X in the graph, its pixel value is fx(i, j) calculating its local mean mx(i, j) and local standard deviation σx(i, j) is calculated by the following formula to obtain fx(I, j) enhanced pixel value Ix(i,j):
Ix(i,j)=mx(i,j)+G(fx(i,j)-mx(i,j)) (2)
Figure FDA0002979575390000017
Wherein M is a global average value and alpha is an enhancement parameter; σ of high frequency regionx(i, j) is large, gain is small, and the enhancement is not too bright, and sigma of low frequency partx(i, j) is small, the gain G is large, and the brightness value of the area is improved; performing gamma conversion on the V channel of the picture, and finally merging the channel generation results to obtain an endoscope picture with better brightness;
and 4, designing a light spot area in the two images by a matching fusion repairing method.
2. The gastrointestinal endoscope image preprocessing method including information screening and fusion restoration according to claim 1, wherein in the step 4, the two-image matching fusion restoration method restores the light spot area in the endoscope image, and the processing procedure is as follows:
4.1 detecting the position of the light spot in the positioning picture through a threshold value and correspondingly positioning the light spot on a light spot mask
Figure FDA0002979575390000018
Marking;
4.2 masking the light spots
Figure FDA0002979575390000021
Performing a closing operation to obtain an expanded mask
Figure FDA0002979575390000022
By using
Figure FDA0002979575390000023
And
Figure FDA0002979575390000024
obtaining an edge mask
Figure FDA0002979575390000025
By using
Figure FDA0002979575390000026
Acquiring color parameters of a normal area around the light spot, and filling the color parameters with the normal color parameters
Figure FDA0002979575390000027
Marked spot pixels;
4.3 filling of the color data after preliminary restoration with Normal color parameters
Figure FDA0002979575390000028
Carrying out Gaussian filtering to balance the repaired facula area with the whole area;
4.4 by means of masks
Figure FDA0002979575390000029
Extracting the repaired spot part, and the repaired spot part and
Figure FDA00029795753900000210
matching and fusing;
and 4.5, repairing the fusion trace at the edge, eliminating the unnatural repairing trace, and finishing the pretreatment.
CN202110283777.3A 2021-03-17 2021-03-17 Gastrointestinal tract endoscope image preprocessing method comprising information screening and fusion repairing Pending CN113139929A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110283777.3A CN113139929A (en) 2021-03-17 2021-03-17 Gastrointestinal tract endoscope image preprocessing method comprising information screening and fusion repairing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110283777.3A CN113139929A (en) 2021-03-17 2021-03-17 Gastrointestinal tract endoscope image preprocessing method comprising information screening and fusion repairing

Publications (1)

Publication Number Publication Date
CN113139929A true CN113139929A (en) 2021-07-20

Family

ID=76811350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110283777.3A Pending CN113139929A (en) 2021-03-17 2021-03-17 Gastrointestinal tract endoscope image preprocessing method comprising information screening and fusion repairing

Country Status (1)

Country Link
CN (1) CN113139929A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114494063A (en) * 2022-01-25 2022-05-13 电子科技大学 Night traffic image enhancement method based on biological vision mechanism
CN116703798A (en) * 2023-08-08 2023-09-05 西南科技大学 Esophagus multi-mode endoscope image enhancement fusion method based on self-adaptive interference suppression

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114494063A (en) * 2022-01-25 2022-05-13 电子科技大学 Night traffic image enhancement method based on biological vision mechanism
CN114494063B (en) * 2022-01-25 2023-04-07 电子科技大学 Night traffic image enhancement method based on biological vision mechanism
CN116703798A (en) * 2023-08-08 2023-09-05 西南科技大学 Esophagus multi-mode endoscope image enhancement fusion method based on self-adaptive interference suppression
CN116703798B (en) * 2023-08-08 2023-10-13 西南科技大学 Esophagus multi-mode endoscope image enhancement fusion method based on self-adaptive interference suppression

Similar Documents

Publication Publication Date Title
CN110033456B (en) Medical image processing method, device, equipment and system
CN110276356B (en) Fundus image microaneurysm identification method based on R-CNN
CN109461495B (en) Medical image recognition method, model training method and server
US20190139223A1 (en) System and method for extracting a region of interest from volume data
CN110458831B (en) Scoliosis image processing method based on deep learning
CN110021024B (en) Image segmentation method based on LBP and chain code technology
JP5622461B2 (en) Image processing apparatus, image processing method, and image processing program
EP2188779A1 (en) Extraction method of tongue region using graph-based approach and geometric properties
CN107038704B (en) Retina image exudation area segmentation method and device and computing equipment
CN111062947B (en) X-ray chest radiography focus positioning method and system based on deep learning
CN111507932B (en) High-specificity diabetic retinopathy characteristic detection method and storage device
CN113139929A (en) Gastrointestinal tract endoscope image preprocessing method comprising information screening and fusion repairing
Liu et al. Automatic lung segmentation based on image decomposition and wavelet transform
CN109087310B (en) Meibomian gland texture region segmentation method and system, storage medium and intelligent terminal
CN114155202A (en) Thyroid nodule ultrasonic image classification method based on feature fusion and transfer learning
Nnolim Image de-hazing via gradient optimized adaptive forward-reverse flow-based partial differential equation
CN115100494A (en) Identification method, device and equipment of focus image and readable storage medium
CN113643281A (en) Tongue image segmentation method
CN111062909A (en) Method and equipment for judging benign and malignant breast tumor
CN113362280B (en) Dynamic target tracking method based on medical radiography
CN112837259A (en) Image processing method for skin pigment pathological change treatment effect based on feature segmentation
CN115965603A (en) Image processing method, device, terminal and readable storage medium for endoscope image
CN116071337A (en) Endoscopic image quality evaluation method based on super-pixel segmentation
AU2020103713A4 (en) Digital imaging methods and system for processing agar plate images for automated diagnostics
CN112837243A (en) Method and device for eliminating high light of colposcope image by combining whole and local information

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