Gastrointestinal tract endoscope image segmentation method

Through multi-source image data set expansion and feature fusion technology, combined with pulse-coupled neural network and high-frequency enhancement algorithm, the problem of poor endoscopic image segmentation accuracy is solved, high-precision image segmentation is achieved, and manual analysis is reduced. relies on it to provide fast and accurate reference data for medical treatment.

CN118735944APending Publication Date: 2024-10-01XIEHE HOSPITAL ATTACHED TO TONGJI MEDICAL COLLEGE HUAZHONG SCI & TECH UNIV
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410856225.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The image recognizability of existing endoscopic technology is not high. The inspection process is cumbersome and inefficient due to reliance on manual judgment. The accuracy of automatic identification is poor. Moreover, due to the structural limitations of the gastrointestinal tract, it is difficult to obtain high-precision imaging hardware suitable for endoscopic examination. mirror, resulting in poor imaging effect and affecting the accuracy of image segmentation.

Method used

Multi-source image data set expansion, dual feature extraction strategy, image hotspot algorithm and pulse coupled neural network are used, combined with high-frequency enhancement algorithm, to perform feature fusion and image segmentation to improve the accuracy and efficiency of image segmentation.

Benefits of technology

Through information complementation and feature fusion, the accuracy of endoscopic image segmentation is improved, the problem of relying on manual analysis is solved, and fast and accurate reference data is provided for medical diagnosis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure BDA0004918146370000021
    Figure BDA0004918146370000021
  • Figure BDA0004918146370000031
    Figure BDA0004918146370000031
  • Figure BDA0004918146370000041
    Figure BDA0004918146370000041
Patent Text Reader

Abstract

The invention discloses a gastrointestinal endoscopic image segmentation method, which relates to the technical field of image segmentation, and comprises the following steps: obtaining a multi-source gastrointestinal endoscopic image, and carrying out data diversity expansion on the multi-source gastrointestinal endoscopic image to obtain a multi-source image data set, performing local classic feature extraction and overall auxiliary feature extraction on the multi-source image data set by using a double-feature extraction strategy, performing feature fusion on local classic features and overall auxiliary features to obtain multi-source feature fusion data, and performing multi-source image fusion on the multi-source feature fusion data by using an image hotspot algorithm to obtain multi-source image fusion data; constructing a pulse coupling neural network to perform preliminary image segmentation on the multi-source fusion feature image to obtain preliminary image segmentation data, and introducing a high-frequency enhancement algorithm to perform image enhancement on the preliminary image segmentation data to complete image segmentation; the accuracy of gastrointestinal tract endoscope image segmentation is improved through multi-source image acquisition and multi-feature extraction and fusion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image segmentation, and in particular to a gastrointestinal endoscope image segmentation method. Background Art

[0002] In recent years, with the continuous enhancement of people's health awareness, the frequency of application of various medical examination methods has continued to increase, and the application of endoscopic technology has become widely popular. Due to the complex gastrointestinal environment, the endoscopic image is not highly recognizable, and the examination results require complex result analysis. In order to ensure that patients can obtain a stable and excellent endoscopic examination experience, how to obtain accurate endoscopic image segmentation results is of great significance.

[0003] At present, there are still the following problems in endoscopic imaging:

[0004] (1) Due to the low recognizability of endoscopic images, the results often rely on the doctor’s manual judgment, which places high demands on the doctor’s experience, resulting in a cumbersome and inefficient endoscopic examination process.

[0005] (2) In terms of automatic image recognition, it is difficult to obtain a large number of original endoscopic images due to the privacy of medical images. Due to the limitations of the human gastrointestinal structure, high-precision imaging hardware is not suitable for gastrointestinal endoscopes, resulting in poor imaging effects of the endoscopic image itself, which has a negative impact on subsequent image segmentation and poor automatic recognition accuracy. Summary of the invention

[0006] The purpose of the present invention is to provide a gastrointestinal endoscopic image segmentation method to solve the problems of reliance on manual labor, low efficiency, difficulty in obtaining data sets and poor automatic recognition accuracy in the prior art.

[0007] In order to solve the above technical problems, the present invention specifically provides the following technical solutions:

[0008] A gastrointestinal endoscope image segmentation method is provided, comprising the following steps:

[0009] Acquire multi-source gastrointestinal endoscopic images, and perform data diversity expansion on the multi-source gastrointestinal endoscopic images to obtain a multi-source image dataset;

[0010] Using a dual feature extraction strategy to extract local classical features and overall auxiliary features from the multi-source image data set to obtain local classical features and overall auxiliary feature data, and performing feature fusion on the local classical features and overall auxiliary feature data to obtain multi-source feature fusion data;

[0011] Perform multi-source image fusion on the multi-source feature fusion data using an image hotspot algorithm to obtain a multi-source fusion feature image, and construct a pulse coupled neural network to perform preliminary image segmentation on the multi-source fusion feature image to obtain preliminary image segmentation data;

[0012] A high-frequency enhancement algorithm is introduced to perform image enhancement on the preliminary image segmentation data to achieve image segmentation.

[0013] As a preferred solution of the present invention, a multi-source gastrointestinal endoscopic image is obtained, and data diversity expansion is performed on the multi-source gastrointestinal endoscopic image to obtain a multi-source image data set, including:

[0014] Use a rigid endoscope and a flexible endoscope to detect the same target to obtain multi-source gastrointestinal endoscopic images;

[0015] Rotating the multi-source gastrointestinal endoscopic image by 90°, 180°, and 270° to obtain a rotating multi-source gastrointestinal endoscopic image;

[0016] Mirror-flipping the multi-source gastrointestinal endoscopic image to obtain a flipped multi-source gastrointestinal endoscopic image;

[0017] Reducing the brightness value of the multi-source gastrointestinal endoscopic image to 50% and 20% to obtain a low-brightness multi-source gastrointestinal endoscopic image;

[0018] The multi-source gastrointestinal endoscopic images, the rotating multi-source gastrointestinal endoscopic images, the flipping multi-source gastrointestinal endoscopic images and the low-brightness multi-source gastrointestinal endoscopic images are integrated into a multi-source image dataset.

[0019] As a preferred solution of the present invention, a dual feature extraction strategy is used to extract local classical features from the multi-source image data set, including:

[0020] Image color feature extraction is performed on the multi-source image data set, and the mean, standard deviation, kurtosis and skewness of the image chromaticity, saturation and brightness are calculated as image color features. The mean, standard deviation, kurtosis and skewness are expressed as follows:

[0021]

[0022] Among them, μ represents the mean, σ represents the standard deviation, Kurtosis represents the kurtosis, Skewness represents the skewness, and p k Indicates the number of pixels with grayscale k in the hue, saturation, and brightness channels;

[0023] The multi-source image data set is subjected to image texture feature extraction using a circular rotation invariant local binary algorithm, including:

[0024] First, 16 pixels on a circle with a radius of 2 pixels and a central pixel as the dot are selected, and the grayscale values ​​of the 16 pixels and the central pixel are compared;

[0025] If the gray value is greater than the gray value of the center pixel, it is marked as 1;

[0026] If the gray value is less than the gray value of the center pixel, it is marked as 0;

[0027] Shifting the binary sequence composed of the marks of the 16 pixel points 15 times to obtain 16 binary sequences, comparing the 16 binary sequences and taking the minimum value as the mark of the central pixel;

[0028] After performing the above operations on all pixels in the image, the image texture features are obtained.

[0029] As a preferred solution of the present invention, a dual feature extraction strategy is used to perform overall auxiliary feature extraction on the multi-source image data set, including:

[0030] Gamma transformation is performed on the multi-source image data set, and its expression is:

[0031] g(x,y)=C×f(x,y) k

[0032] Where g(x,y) represents the pixel grayscale value after gamma transformation, C is a constant, f(x,y) is the original pixel grayscale value, and k∈(0.2,0.67,1.5,5.0);

[0033] The circular rotation invariant local binary algorithm is used to extract image texture features as overall auxiliary features from the multi-source image dataset after gamma transformation.

[0034] As a preferred solution of the present invention, the local classical features and the overall auxiliary feature data are subjected to feature fusion to obtain multi-source feature fusion data, including:

[0035] First, the local classic features and overall auxiliary features of the multi-source image data set are concatenated to generate feature vectors, whose expression is:

[0036] f={Skewness,Kurtosis,σ,μ}

[0037] Among them, μ represents the mean, σ represents the standard deviation, Kurtosis represents the kurtosis, and Skewness represents the skewness;

[0038] Secondly, the eigenvector f A , f B Perform the maximum difference transformation to obtain the transformation feature vector, which is expressed as:

[0039]

[0040] Among them, max means to find the maximum value of the vector alignment, and min means to find the minimum value of the vector alignment;

[0041] Then, the converted feature vectors are concatenated to generate multi-source feature fusion data, which is expressed as follows:

[0042]

[0043] Among them, f1 represents the local classic feature, and f2 represents the overall auxiliary feature.

[0044] As a preferred solution of the present invention, the multi-source image fusion is performed on the multi-source feature fusion data using an image hotspot algorithm to obtain a multi-source fusion feature image, including:

[0045] The image corresponding to the fused feature data is segmented into regions so that each image fragment contains 16×16 pixels, and the image fragment is expanded by edge pixel. First, the pixels in two rows or two columns adjacent to the edge pixels are expanded by mirroring and placed outside the edge pixels, and then the grayscale values ​​of the three pixels adjacent to the four corner pixels are averaged and placed at the four corners of the expanded part.

[0046] Calculate the average grayscale value of the image fragments after all edge pixels are expanded, and rearrange the average grayscale value of the fragments according to the spatial positions of the fragments in the original image to generate an average grayscale value matrix;

[0047] According to the matrix position correspondence, the average grayscale values ​​of the multi-source feature fusion data from the rigid endoscope and the flexible endoscope are compared, and image fragments with larger average grayscale values ​​are retained to form a multi-source fusion feature image.

[0048] As a preferred solution of the present invention, a pulse coupled neural network is constructed to perform preliminary image segmentation on the multi-source fusion feature image to obtain preliminary image segmentation data, including:

[0049] The grayscale value of the multi-source fusion feature image is divided by 255 to perform grayscale value normalization;

[0050] The pulse coupled neural network receives grayscale-normalized multi-source fusion feature image stimulation through the feedback input part of the neuron input layer, receives the output stimulation of the previous iteration of the adjacent pixel and the attenuation stimulation of the previous iteration of itself through the connection input part of the neuron input layer, and generates an internal activity value by combining the multi-source fusion feature image stimulation, the output stimulation of the previous iteration of the adjacent pixel and the attenuation stimulation of the previous iteration of itself through the hidden layer;

[0051] Comparing the internal activity value with the dynamic threshold, if the internal activity value is greater than the dynamic threshold, activating the neuron and increasing the dynamic threshold, if the internal activity value is less than the dynamic threshold, reducing the dynamic threshold until the neuron is activated;

[0052] The multi-source fusion feature image pixels corresponding to neurons one by one are classified through the neuron activation map to obtain preliminary image segmentation data.

[0053] As a preferred solution of the present invention, a high-frequency enhancement algorithm is introduced to perform image enhancement on the preliminary image segmentation data to complete image segmentation, including:

[0054] Extract the coefficient matrix, and convert the preliminary image segmentation data into the frequency domain by discrete cosine transform. The coefficient matrix expression is:

[0055]

[0056] Among them, i∈(0,N),j∈(0,N), N represents the image pixel width;

[0057] The discrete cosine transform expression is:

[0058] F(x)=AxA T

[0059] The high and low thresholds K=70 are set to divide the frequency domain image into high-frequency part and low-frequency part, and the high-frequency part and the low-frequency part are enhanced through the multi-scale convolution module. The expression is:

[0060] G(x L ,x H )=F * (x H ,(x L +c×x H ))

[0061] Among them, F * represents the convolution operation, x H and x L They are high frequency part and low frequency part respectively, c represents high frequency weight;

[0062] If the high and low thresholds K are greater than 50 and less than 80, the value of the high frequency weight c is 1.5;

[0063] If the high and low thresholds K are greater than 80, the value of the high frequency weight c is 2;

[0064] The frequency domain image segmentation data after high frequency enhancement is subjected to inverse discrete cosine transform to obtain enhanced image segmentation data.

[0065] Compared with the prior art, the present invention has the following beneficial effects:

[0066] Multi-source endoscopic images of the same object are collected through two types of endoscopes, and the feature information in the multi-source images is fused using an image fusion algorithm to achieve information complementarity. The overall auxiliary features are used to assist the local classical features to ensure the accuracy of feature extraction and improve the accuracy of endoscopic image segmentation.

[0067] Through data set expansion, the problem of high difficulty in acquiring medical sensitivity data has been solved, and methods of feature extraction, feature fusion, image fusion and image high-frequency feature enhancement have been constructed. High-precision endoscopic image segmentation has been achieved, which has solved the problem of endoscopic examination results relying on manual analysis, providing fast and accurate reference data for medical diagnosis. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the implementation methods or the description of the prior art. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.

[0069] Figure 1 A flow chart of a gastrointestinal endoscopic image segmentation method provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0070] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0071] like Figure 1 As shown, the present invention provides a gastrointestinal endoscope image segmentation method, comprising the following steps:

[0072] Acquire multi-source gastrointestinal endoscopic images, and perform data diversity expansion on the multi-source gastrointestinal endoscopic images to obtain a multi-source image dataset;

[0073] In this embodiment, the endoscope system includes an image sensor, an optical lens, a light source and a related data processing device. The light source is responsible for providing sufficient light for the optical lens to collect light. The optical lens projects the collected light onto the image sensor. The image sensor generates an image from the received light signal and transmits it to the data processing device through a signal path. The data processing device processes the image and displays it.

[0074] In this embodiment, the multi-source gastrointestinal endoscope includes a rigid endoscope and a flexible endoscope. The rigid endoscope uses a prism optical system to transmit light signals. Since the transmission medium is a rigid material and cannot be bent, the range that can be detected is smaller but the imaging effect is clearer. The flexible endoscope uses an optical fiber optical system. The transmission medium can be bent within a large range. The range that can be detected is larger but the imaging effect is reduced.

[0075] Use the dual feature extraction strategy to extract local classical features and overall auxiliary features from multi-source image data sets to obtain local classical features and overall auxiliary feature data, and perform feature fusion on the local classical features and overall auxiliary feature data to obtain multi-source feature fusion data;

[0076] In this embodiment, since there are large differences between the diseased part and the normal part in the gastrointestinal endoscopy image, different body parts or the same part of different individuals may also have differences. The dual feature extraction strategy not only extracts local features, but also extracts overall features to assist in the processing of local features, thereby reducing the negative impact of these differences on image segmentation.

[0077] Use the image hotspot algorithm to perform multi-source image fusion on the multi-source feature fusion data to obtain the multi-source fusion feature image, build a pulse coupled neural network to perform preliminary image segmentation on the multi-source fusion feature image, and obtain preliminary image segmentation data;

[0078] In this embodiment, the image hotspot algorithm compares the grayscale values ​​of the feature fusion data of the gastrointestinal endoscopic images of the same part from the rigid endoscope and the flexible endoscope by region, retains the ones with larger grayscale values ​​in each small area, and discards the parts with smaller grayscale values ​​and less information, thereby increasing the effective information density of the feature image and improving the image segmentation efficiency.

[0079] Introduce high-frequency enhancement algorithm to enhance the preliminary image segmentation data to achieve image segmentation;

[0080] In this embodiment, since the details of the high-frequency part of the image are more sensitive to noise, a high-frequency enhancement algorithm is introduced to segment the image into a high-frequency part and a low-frequency part, and the global feature information of the low-frequency part is used to enhance the high-frequency part, thereby promoting the improvement of the overall quality of image segmentation.

[0081] Multi-source gastrointestinal endoscopic images are obtained, and data diversity expansion is performed on the multi-source gastrointestinal endoscopic images to obtain a multi-source image dataset, including:

[0082] Use a rigid endoscope and a flexible endoscope to detect the same target to obtain multi-source gastrointestinal endoscopic images;

[0083] The multi-source gastrointestinal endoscopic image is rotated by 90°, 180°, and 270° to obtain a rotating multi-source gastrointestinal endoscopic image;

[0084] Mirror-flipping the multi-source gastrointestinal endoscopic image to obtain a flipped multi-source gastrointestinal endoscopic image;

[0085] The brightness value of the multi-source gastrointestinal endoscopic image is reduced to 50% and 20% to obtain a low-brightness multi-source gastrointestinal endoscopic image;

[0086] Integrate multi-source gastrointestinal endoscopic images, rotating multi-source gastrointestinal endoscopic images, flipping multi-source gastrointestinal endoscopic images, and low-brightness multi-source gastrointestinal endoscopic images into a multi-source image dataset;

[0087] In this embodiment, the collected data is diversified and expanded, including multi-angle rotation, mirror flipping, and brightness value change, to further enrich the original multi-source gastrointestinal endoscopic images, so that limited data can reflect the complex and changeable gastrointestinal environment, thereby improving the scope of application and robustness of endoscopic image segmentation.

[0088] A dual feature extraction strategy is used to extract local classical features from multi-source image datasets, including:

[0089] Image color features are extracted from multi-source image data sets, and the mean, standard deviation, kurtosis and skewness of image chromaticity, saturation and brightness are calculated as image color features. The expressions of mean, standard deviation, kurtosis and skewness are as follows:

[0090]

[0091] Among them, μ represents the mean, σ represents the standard deviation, Kurtosis represents the kurtosis, Skewness represents the skewness, and p k Indicates the number of pixels with grayscale k in the hue, saturation, and brightness channels;

[0092] The circular rotation invariant local binary algorithm is used to extract image texture features from multi-source image datasets, including:

[0093] First, select 16 pixels on a circle with a radius of 2 pixels and a central pixel as the dot, and compare the grayscale values ​​of the 16 pixels with the central pixel;

[0094] If the gray value is greater than the gray value of the center pixel, it is marked as 1;

[0095] If the gray value is less than the gray value of the center pixel, it is marked as 0;

[0096] Shift the binary sequence composed of the marks of 16 pixels 15 times to obtain 16 binary sequences, compare the 16 binary sequences and take the minimum value as the mark of the central pixel;

[0097] After performing the above operations on all pixels in the image, the image texture features are obtained;

[0098] In this embodiment, the red, green and blue color space is the most common color space for describing the color distribution of an image, but any of its channels cannot directly reflect the image content alone, and the channels are highly correlated. Therefore, the hue, saturation and brightness color space is used instead to describe the multi-source image data set. Not only can each channel independently reflect the image content, but it also conforms to the characteristics of human visual perception.

[0099] In this embodiment, the ordinary local binary algorithm is sensitive to direction. When the image direction changes, the result of the local binary algorithm will change greatly, which is not conducive to processing complex gastrointestinal endoscopic images. A rotation-invariant local binary algorithm is adopted to eliminate the directional sensitivity of the algorithm, and the circular radius is used to extract the pixel grayscale value, which increases the number of pixel grayscale value calculations and improves the accuracy of the local binary algorithm.

[0100] A dual feature extraction strategy is used to perform overall auxiliary feature extraction on multi-source image datasets, including:

[0101] Gamma transform is performed on multi-source image datasets, and its expression is:

[0102] g(x,y)=C×f(x,y) k

[0103] Where g(x,y) represents the pixel grayscale value after gamma transformation, C is a constant, f(x,y) is the original pixel grayscale value, and k∈(0.2,0.67,1.5,5.0);

[0104] The circular rotation invariant local binary algorithm is used to extract image texture features as overall auxiliary features from the multi-source image dataset after gamma transformation;

[0105] In this embodiment, a gamma transformation is performed on the original multi-source image data set, grayscale correction and normalization are performed on the image, and the contrast of the image with too high grayscale value or too low grayscale value is enhanced to enhance the readability of the image.

[0106] In this embodiment, the grayscale value corrected data set is used to extract overall features to assist in the processing of local features, adding new redundant information while retaining all the original information, thereby reducing the negative impact on image segmentation caused by individual differences or the difference between the diseased part and the normal part.

[0107] The local classic features and the overall auxiliary feature data are fused to obtain multi-source feature fusion data, including:

[0108] First, the local classic features and overall auxiliary features of the multi-source image dataset are concatenated to generate feature vectors, whose expression is:

[0109] f={Skewness,Kurtosis,σ,μ}

[0110] Among them, μ represents the mean, σ represents the standard deviation, Kurtosis represents the kurtosis, and Skewness represents the skewness;

[0111] Secondly, the eigenvector f A , f B Perform the maximum difference transformation to obtain the transformation feature vector, which is expressed as:

[0112]

[0113] Among them, max means to find the maximum value of the vector alignment, and min means to find the minimum value of the vector alignment;

[0114] Then, the transformed feature vectors are concatenated to generate multi-source feature fusion data, which is expressed as:

[0115]

[0116] Among them, f1 represents the local classic feature, and f2 represents the overall auxiliary feature;

[0117] In this embodiment, local classic features and overall auxiliary features are subjected to feature splicing, feature conversion, and feature fusion. The overall auxiliary features are used to supplement the image information of local classic features. The maximum difference conversion is used to expand the original feature information, and the difference points between the features are extracted. This highlights the characteristics of the features and increases the effectiveness of the feature information.

[0118] Use the image hotspot algorithm to perform multi-source image fusion on multi-source feature fusion data to obtain a multi-source fusion feature image, including:

[0119] The image corresponding to the fused feature data is segmented into regions so that each image fragment contains 16×16 pixels. The image fragment is expanded for edge pixels. First, the pixels in two rows or columns adjacent to the edge pixels are expanded by mirroring and placed outside the edge pixels. Then, the grayscale values ​​of the three pixels adjacent to the four corner pixels are averaged and placed at the four corners of the expanded part.

[0120] Calculate the average gray value of the image fragments after all edge pixels are expanded, and rearrange the average gray value of the fragments according to the spatial position of the fragments in the original image to generate an average gray value matrix;

[0121] According to the matrix position correspondence, the average gray values ​​of the multi-source feature fusion data from the rigid endoscope and the flexible endoscope are compared, and the image fragments with larger average gray values ​​are retained to form a multi-source fusion feature image;

[0122] In this embodiment, since the information that an endoscopic image from a single source can reflect is limited and accidental, the multi-source endoscopic images from a rigid endoscope and a flexible endoscope are segmented into regions, the average grayscale value is calculated in each small region, and image fragments with larger average grayscale values ​​are retained, so that the two can provide complementary information and improve the final image information density and accuracy.

[0123] Construct a pulse coupled neural network to perform preliminary image segmentation on the multi-source fusion feature image to obtain preliminary image segmentation data, including:

[0124] Divide the grayscale value of the multi-source fusion feature image by 255 to normalize the grayscale value;

[0125] The pulse coupled neural network receives the grayscale-normalized multi-source fusion feature image stimulus through the feedback input part of the neuron input layer, receives the output stimulus of the previous iteration of the adjacent pixel and the attenuation stimulus of the previous iteration of itself through the connection input part of the neuron input layer, and generates the internal activity value by combining the multi-source fusion feature image stimulus, the output stimulus of the previous iteration of the adjacent pixel and the attenuation stimulus of the previous iteration of itself through the hidden layer;

[0126] Compare the internal activity value with the dynamic threshold. If the internal activity value is greater than the dynamic threshold, activate the neuron and increase the dynamic threshold. If the internal activity value is less than the dynamic threshold, reduce the dynamic threshold until the neuron is activated.

[0127] The multi-source fusion feature image pixels corresponding to neurons one by one are classified through the neuron activation map to obtain preliminary image segmentation data;

[0128] In this embodiment, the pulse coupled neural network adopts pulse coding by imitating the synchronous release phenomenon of pulses in the cerebral cortex of small mammals. The neuron input layer is a single-layer feedback neural network composed of interconnected neurons, which accepts external input and internal feedback for iteration. The pulse coupled neural network does not need to be trained and can complete complex image segmentation tasks through its own iteration.

[0129] In this embodiment, the number of neurons in the pulse coupled neural network is the same as the number of input image pixels, and the two correspond one to one. After the network iteration starts, neurons of the same type are synchronously activated under the action of the same pulse signal and form a neuron activation map. The neuron activation map can then display pixels of the same type inside the endoscopic image and separate pixels of different types, thereby completing the image segmentation task.

[0130] The high-frequency enhancement algorithm is introduced to enhance the preliminary image segmentation data and complete the image segmentation, including:

[0131] Extract the coefficient matrix and convert the preliminary image segmentation data into the frequency domain by discrete cosine transform. The coefficient matrix expression is:

[0132]

[0133] Among them, i∈(0,N),j∈(0,N), N represents the image pixel width;

[0134] The discrete cosine transform expression is:

[0135] F(x)=AxA T

[0136] The high and low thresholds K=70 are set to divide the frequency domain image into high-frequency part and low-frequency part, and the high-frequency part and the low-frequency part are enhanced through the multi-scale convolution module. The expression is:

[0137] G(x L ,x H )=F * (x H ,(x L +c×x H ))

[0138] Among them, F * represents the convolution operation, x H and x L They are high frequency part and low frequency part respectively, c represents high frequency weight;

[0139] If the high and low thresholds K are greater than 50 and less than 80, the value of the high-frequency weight c is 1.5;

[0140] If the high and low thresholds K are greater than 80, the value of the high-frequency weight c is 2;

[0141] Performing inverse discrete cosine transform on the frequency domain image segmentation data after high frequency enhancement to obtain enhanced image segmentation data, thereby completing image segmentation;

[0142] In this embodiment, the discrete cosine transform is used to solve the problem that the discrete Fourier transform needs to perform complex operations in image encoding, especially in real-time processing, and the image is converted to the frequency domain and classified into high frequency and low frequency by threshold setting. By setting weights, the information of the low-frequency part where the energy is concentrated is used to supplement the information of the high-frequency part, thereby enhancing the details of the image in the high-frequency part.

[0143] Multi-source endoscopic images of the same object are collected through two types of endoscopes, and the feature information in the multi-source images is fused using an image fusion algorithm to achieve information complementarity. The overall auxiliary features are used to assist the local classical features to ensure the accuracy of feature extraction and improve the accuracy of endoscopic image segmentation.

[0144] Through data set expansion, the problem of high difficulty in acquiring medical sensitivity data has been solved, and methods of feature extraction, feature fusion, image fusion and image high-frequency feature enhancement have been constructed. High-precision endoscopic image segmentation has been achieved, which has solved the problem of endoscopic examination results relying on manual analysis, providing fast and accurate reference data for medical diagnosis.

[0145] The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and protection scope of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present application.

Claims

1. A gastrointestinal endoscope image segmentation method, It is characterized in that The following steps are involved: Acquire multi-source gastrointestinal endoscopic images, and perform data diversity expansion on the multi-source gastrointestinal endoscopic images to obtain a multi-source image dataset; Using a dual feature extraction strategy to extract local classical features and overall auxiliary features from the multi-source image data set to obtain local classical features and overall auxiliary feature data, and performing feature fusion on the local classical features and overall auxiliary feature data to obtain multi-source feature fusion data; Perform multi-source image fusion on the multi-source feature fusion data using an image hotspot algorithm to obtain a multi-source fusion feature image, and construct a pulse coupled neural network to perform preliminary image segmentation on the multi-source fusion feature image to obtain preliminary image segmentation data; A high-frequency enhancement algorithm is introduced to perform image enhancement on the preliminary image segmentation data to achieve image segmentation.

2. A gastrointestinal endoscope image segmentation method according to claim 1, It is characterized in that Acquiring multi-source gastrointestinal endoscopic images, and performing data diversity expansion on the multi-source gastrointestinal endoscopic images to obtain a multi-source image dataset, including: Use a rigid endoscope and a flexible endoscope to detect the same target to obtain multi-source gastrointestinal endoscopic images; Rotating the multi-source gastrointestinal endoscopic image by 90°, 180°, and 270° to obtain a rotating multi-source gastrointestinal endoscopic image; Mirror-flipping the multi-source gastrointestinal endoscopic image to obtain a flipped multi-source gastrointestinal endoscopic image; Reducing the brightness value of the multi-source gastrointestinal endoscopic image to 50% and 20% to obtain a low-brightness multi-source gastrointestinal endoscopic image; The multi-source gastrointestinal endoscopic images, the rotating multi-source gastrointestinal endoscopic images, the flipping multi-source gastrointestinal endoscopic images and the low-brightness multi-source gastrointestinal endoscopic images are integrated into a multi-source image dataset.

3. A gastrointestinal endoscope image segmentation method according to claim 2, It is characterized in that A dual feature extraction strategy is used to extract local classical features from the multi-source image dataset, including: Image color feature extraction is performed on the multi-source image data set, and the mean, standard deviation, kurtosis and skewness of the image chromaticity, saturation and brightness are calculated as image color features. The mean, standard deviation, kurtosis and skewness are expressed as follows: Among them, μ represents the mean, σ represents the standard deviation, Kurtosis represents the kurtosis, Skewness represents the skewness, and p k Indicates the number of pixels with grayscale k in the hue, saturation, and brightness channels; The multi-source image data set is subjected to image texture feature extraction using a circular rotation invariant local binary algorithm, including: First, 16 pixels on a circle with a radius of 2 pixels and a central pixel as the dot are selected, and the grayscale values ​​of the 16 pixels and the central pixel are compared; If the gray value is greater than the gray value of the center pixel, it is marked as 1; If the gray value is less than the gray value of the center pixel, it is marked as 0; Shifting the binary sequence composed of the marks of the 16 pixel points 15 times to obtain 16 binary sequences, comparing the 16 binary sequences and taking the minimum value as the mark of the central pixel; After performing the above operations on all pixels in the image, the image texture features are obtained.

4. A gastrointestinal endoscope image segmentation method according to claim 3, It is characterized in that The dual feature extraction strategy is used to extract overall auxiliary features from the multi-source image dataset, including: Gamma transformation is performed on the multi-source image data set, and its expression is: g(x,y)=C×f(x,y) k Where g(x,y) represents the pixel grayscale value after gamma transformation, C is a constant, f(x,y) is the original pixel grayscale value, and k∈(0.2,0.67,1.5,5.0); The circular rotation invariant local binary algorithm is used to extract image texture features as overall auxiliary features from the multi-source image dataset after gamma transformation.

5. A gastrointestinal endoscope image segmentation method according to claim 4, It is characterized in that The local classic features and the overall auxiliary feature data are subjected to feature fusion to obtain multi-source feature fusion data, including: First, the local classic features and overall auxiliary features of the multi-source image data set are concatenated to generate feature vectors, whose expression is: f={Skewness,Kurtosis,σ,μ} Among them, μ represents the mean, σ represents the standard deviation, Kurtosis represents the kurtosis, and Skewness represents the skewness; Secondly, the eigenvector f A , f B Perform the maximum difference transformation to obtain the transformation feature vector, which is expressed as: Among them, max means to find the maximum value of the vector alignment, and min means to find the minimum value of the vector alignment; Then, the converted feature vectors are concatenated to generate multi-source feature fusion data, which is expressed as follows: Among them, f 1 represents the local classical feature, f 2 Represents the overall auxiliary feature.

6. A gastrointestinal endoscope image segmentation method according to claim 5, It is characterized in that Using an image hotspot algorithm to perform multi-source image fusion on the multi-source feature fusion data to obtain a multi-source fusion feature image, including: The image corresponding to the fused feature data is segmented into regions so that each image fragment contains 16×16 pixels, and the image fragment is expanded by edge pixel. First, the pixels in two rows or two columns adjacent to the edge pixels are expanded by mirroring and placed outside the edge pixels, and then the grayscale values ​​of the three pixels adjacent to the four corner pixels are averaged and placed at the four corners of the expanded part. Calculate the average grayscale value of the image fragments after all edge pixels are expanded, and rearrange the average grayscale value of the fragments according to the spatial positions of the fragments in the original image to generate an average grayscale value matrix; According to the matrix position correspondence, the average grayscale values ​​of the multi-source feature fusion data from the rigid endoscope and the flexible endoscope are compared, and image fragments with larger average grayscale values ​​are retained to form a multi-source fusion feature image.

7. A gastrointestinal endoscope image segmentation method according to claim 6, It is characterized in that Constructing a pulse coupled neural network to perform preliminary image segmentation on the multi-source fusion feature image to obtain preliminary image segmentation data, including: The grayscale value of the multi-source fusion feature image is divided by 255 to perform grayscale value normalization; The pulse coupled neural network receives grayscale-normalized multi-source fusion feature image stimulation through the feedback input part of the neuron input layer, receives the output stimulation of the previous iteration of the adjacent pixel and the attenuation stimulation of the previous iteration of itself through the connection input part of the neuron input layer, and generates an internal activity value by combining the multi-source fusion feature image stimulation, the output stimulation of the previous iteration of the adjacent pixel and the attenuation stimulation of the previous iteration of itself through the hidden layer; Comparing the internal activity value with the dynamic threshold, if the internal activity value is greater than the dynamic threshold, activating the neuron and increasing the dynamic threshold, if the internal activity value is less than the dynamic threshold, reducing the dynamic threshold until the neuron is activated; The multi-source fusion feature image pixels corresponding to neurons one by one are classified through the neuron activation map to obtain preliminary image segmentation data.

8. A gastrointestinal endoscope image segmentation method according to claim 7, It is characterized in that A high-frequency enhancement algorithm is introduced to perform image enhancement on the preliminary image segmentation data to complete image segmentation, including: Extract the coefficient matrix, and convert the preliminary image segmentation data into the frequency domain by discrete cosine transform. The coefficient matrix expression is: Among them, i∈(0,N),j∈(0,N), N represents the image pixel width; The discrete cosine transform expression is: F(x)=AxA T The high and low thresholds K=70 are set to divide the frequency domain image into high-frequency part and low-frequency part, and the high-frequency part and the low-frequency part are enhanced through the multi-scale convolution module. The expression is: G(x L ,x H )=F * (x H ,(x L +c×x H )) Among them, F * represents the convolution operation, x H and x L They are high frequency part and low frequency part respectively, c represents high frequency weight; If the high and low thresholds K are greater than 50 and less than 80, the value of the high frequency weight c is 1.5; If the high and low thresholds K are greater than 80, the value of the high frequency weight c is 2; The frequency domain image segmentation data after high frequency enhancement is subjected to inverse discrete cosine transform to obtain enhanced image segmentation data.

Citation Information

Cited By

  • Gastrointestinal tract endoscope image segmentation method

    CN121505613A