Image processing method, system and medium for glaucoma analysis

Through preprocessing, feature extraction and fusion of glaucoma fundus images, combined with Sobel edge detection and DCA algorithms, precise segmentation of optic cups, optic discs, and optic nerve fibers is achieved, solving the problems of low detection accuracy and efficiency in existing technologies. Improved accuracy and efficiency of glaucoma analysis.

CN118247267BActive Publication Date: 2024-10-22SHANGHAI EAST HOSPITAL EAST HOSPITAL TONGJI UNIV SCHOOL OF MEDICINE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410627876.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-21
Publication Date
2024-10-22
Estimated Expiration
2044-05-21

AI Technical Summary

Technical Problem

Existing glaucoma detection methods rely on doctors' subjective judgment, have low accuracy and efficiency, and have deficiencies in segmentation of key areas such as the optic cup, optic disc, and optic nerve fibers, which affects the accuracy and efficiency of glaucoma analysis.

Method used

An image processing method is adopted to obtain the initial fundus image for preprocessing, area division, contour feature and color feature extraction, and the Sobel edge detection operator and DCA feature fusion algorithm are used to perform similarity judgment based on preset standard features to achieve visual recognition. Precise segmentation of cups, optic discs, and optic nerve fibers.

Benefits of technology

It improves the accuracy and efficiency of glaucoma analysis and assists in determining glaucoma lesions through precise image segmentation and feature extraction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118247267B_ABST
    Figure CN118247267B_ABST
Patent Text Reader

Abstract

The present invention discloses an image processing method, system and medium for glaucoma analysis, which performs regional division and feature extraction on the initial fundus image of the target person, performs feature fusion based on DCA on the extracted contour feature data and color feature data, selects an initial region as the current region, takes the current region as the center, and judges whether the corresponding fused feature data of the adjacent initial regions and the preset standard feature data are similar based on the preset similarity. If so, the adjacent initial regions are marked as similarity regions, and a segmentation region is formed based on the integration of all similarity regions; the fused feature data of all initial regions in the segmentation region are merged based on contour features and color features to form segmentation feature data of the fundus image. The present invention can accurately and effectively segment the fundus image, effectively extract the features of each part of the image, and improve the accuracy and efficiency of glaucoma analysis with the assistance of image angle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image analysis, and more specifically, to an image processing method, system and medium for glaucoma analysis. Background Art

[0002] Glaucoma is a common ophthalmic disease. If not detected and treated in time, it may cause serious vision loss or even blindness. Traditional glaucoma detection methods rely on the doctor's subjective judgment and experience, and have low accuracy and efficiency. With the development of medical image processing technology, automatic analysis and identification of glaucoma images has become possible. However, existing image processing methods still have shortcomings in the segmentation of key areas such as the optic cup, optic disc, and optic nerve fibers, which affects the accuracy and efficiency of glaucoma analysis. In the judgment of glaucoma, the judgment and analysis are mainly based on the size and proportion of the optic cup, optic disc, and optic nerve fiber areas of the fundus image. Therefore, in image analysis, segmentation and feature extraction based on the three areas are particularly important. Furthermore, it is currently necessary to develop an image processing method for glaucoma analysis. Summary of the invention

[0003] The present invention overcomes the defects of the prior art and proposes an image processing method, system and medium for glaucoma analysis.

[0004] A first aspect of the present invention provides an image processing method for glaucoma analysis, comprising:

[0005] Acquire an initial fundus image of a target person, and preprocess the initial fundus image;

[0006] Dividing the initial fundus image into regions to form a plurality of initial regions, each initial region corresponding to an initial region image, extracting contour features and color features of the initial region images to obtain contour feature data and color feature data of each initial region image, wherein the contour features are extracted based on a Sobel edge detection operator;

[0007] The contour feature data and the color feature data are subjected to feature fusion based on DCA to form fused feature data, and each initial region image corresponds to one fused feature data;

[0008] Select an initial region as the current region, take the current region as the center, and judge whether the corresponding fusion feature data of the adjacent initial regions and the preset standard feature data are similar based on the preset similarity. If so, mark the adjacent initial regions as similar regions, and repeat the similarity judgment and marking of the adjacent initial regions until no similar regions are generated, and integrate all similar regions with the current region to form a segmented region;

[0009] The fused feature data of all initial areas within the segmented area are merged based on the contour feature and the color feature to form the segmented feature data of the fundus image.

[0010] In this solution, the initial fundus image of the target person is obtained and the initial fundus image is preprocessed, specifically:

[0011] Obtaining the initial fundus image of the target person, and performing smoothing, enhancement, and standardization preprocessing on the initial fundus image;

[0012] The target person information is associated with the initial fundus image and stored in the system database.

[0013] In this solution, the initial fundus image is divided into regions to form multiple initial regions, each initial region corresponds to an initial region image, contour feature extraction and color feature extraction are performed on the initial region image to obtain contour feature data and color feature data of each initial region image, and the contour feature is extracted based on the Sobel edge detection operator, specifically:

[0014] Based on the image size and area of ​​the initial fundus image, the initial fundus image is divided into regions to form a plurality of initial regions;

[0015] Each initial region corresponds to an initial region image;

[0016] Taking the initial region image as the analysis unit, based on the Sobel edge detection operator, the neighboring grayscale weighted difference analysis is performed on the pixels in the initial region image, and the edge contour is marked to obtain the contour feature data;

[0017] The feature calculation based on the color moment is performed on the initial area image to obtain the color feature data.

[0018] In this solution, the contour feature data and the color feature data are subjected to feature fusion based on DCA to form fused feature data. Each initial region image corresponds to a fused feature data, specifically:

[0019] Performing feature fusion based on DCA on contour feature data and color feature data of an initial region image, wherein the feature fusion process includes constructing a preset CNN network, and extracting feature maps of the contour feature data and color feature data based on the preset CNN network to obtain feature maps;

[0020] The extracted feature map is multiplied by the preset weight to obtain a category activation map;

[0021] All the obtained category activation maps are averaged and weighted fused to form fused feature data.

[0022] In this solution, an initial region is selected as the current region, and the current region is taken as the center. Based on the preset similarity, it is judged whether the corresponding fusion feature data of the adjacent initial regions are similar to the preset standard feature data. If so, the adjacent initial regions are marked as similar regions, and the similarity judgment and marking of the adjacent initial regions are repeated until no similar regions are generated, and all similar regions are integrated with the current region to form a segmented region, specifically:

[0023] Acquire preset standard feature data from a system database, wherein the preset standard feature data includes standard features of an optic cup image, standard features of an optic disc image, and standard features of an optic nerve fiber image;

[0024] Taking the standard features of the optic cup image as the current feature judgment object, the fused feature data of each initial area and the standard features of the optic cup image are respectively calculated based on the standard Euclidean distance, and the initial area with the closest distance is marked as the current area;

[0025] Taking the current area as the center, obtaining the adjacent initial area, performing similarity calculation analysis based on the standard Euclidean distance between the fused feature data corresponding to the adjacent initial area and the standard features of the optic cup image, and if the similarity is higher than the preset similarity, marking the adjacent initial area as a similar area;

[0026] The similarity judgment and marking of adjacent initial regions are repeated for similar regions until no similar regions are generated;

[0027] Integrate all similar regions with the current region to form the optic cup segmentation region;

[0028] The optic disc image standard features and the optic nerve fiber image standard features are respectively used as the current feature judgment objects to analyze the similarity regions, and the optic disc segmentation region and the optic nerve fiber segmentation region are respectively obtained.

[0029] In this solution, the fusion feature data of all initial areas in the segmented area are merged based on the contour feature and the color feature to form the segmentation feature data of the fundus image, specifically:

[0030] Integrate all fusion feature data within the optic cup segmentation area to form optic cup segmentation feature data;

[0031] Based on the optic disc segmentation region and the optic nerve fiber segmentation region, corresponding optic disc segmentation feature data and optic nerve fiber segmentation feature data are obtained.

[0032] The second aspect of the present invention further provides an image processing system for glaucoma analysis, the system comprising: a memory and a processor, the memory comprising an image processing program for glaucoma analysis, the image processing program for glaucoma analysis implementing the following steps when executed by the processor:

[0033] Acquire an initial fundus image of a target person, and preprocess the initial fundus image;

[0034] Dividing the initial fundus image into regions to form a plurality of initial regions, each initial region corresponding to an initial region image, extracting contour features and color features of the initial region images to obtain contour feature data and color feature data of each initial region image, wherein the contour features are extracted based on a Sobel edge detection operator;

[0035] The contour feature data and the color feature data are subjected to feature fusion based on DCA to form fused feature data, and each initial region image corresponds to one fused feature data;

[0036] Select an initial region as the current region, take the current region as the center, and judge whether the corresponding fusion feature data of the adjacent initial regions and the preset standard feature data are similar based on the preset similarity. If so, mark the adjacent initial regions as similar regions, and repeat the similarity judgment and marking of the adjacent initial regions until no similar regions are generated, and integrate all similar regions with the current region to form a segmented region;

[0037] The fused feature data of all initial areas within the segmented area are merged based on the contour feature and the color feature to form the segmented feature data of the fundus image.

[0038] The third aspect of the present invention also provides a computer-readable storage medium, which includes an image processing program for glaucoma analysis. When the image processing program for glaucoma analysis is executed by a processor, the steps of the image processing method for glaucoma analysis as described in any one of the above items are implemented.

[0039] The present invention discloses an image processing method, system and medium for glaucoma analysis, which performs regional division and feature extraction on the initial fundus image of the target person, performs feature fusion based on DCA on the extracted contour feature data and color feature data, selects an initial region as the current region, takes the current region as the center, and judges whether the corresponding fused feature data of the adjacent initial regions and the preset standard feature data are similar based on the preset similarity. If so, the adjacent initial regions are marked as similarity regions, and a segmentation region is formed based on the integration of all similarity regions; the fused feature data of all initial regions in the segmentation region are merged based on contour features and color features to form segmentation feature data of the fundus image. The present invention can accurately and effectively segment the fundus image, effectively extract the features of each part of the image, and improve the accuracy and efficiency of glaucoma analysis with the assistance of image angle. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A flow chart showing an image processing method for glaucoma analysis according to the present invention is shown;

[0041] Figure 2 A block diagram of an image processing system for glaucoma analysis according to the present invention is shown. DETAILED DESCRIPTION

[0042] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0043] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0044] Figure 1 A flow chart of an image processing method for glaucoma analysis according to the present invention is shown.

[0045] like Figure 1 As shown, the first aspect of the present invention provides an image processing method for glaucoma analysis, comprising:

[0046] S102, acquiring an initial fundus image of a target person, and preprocessing the initial fundus image;

[0047] S104, dividing the initial fundus image into regions to form a plurality of initial regions, each initial region corresponding to an initial region image, extracting contour features and color features of the initial region images to obtain contour feature data and color feature data of each initial region image, wherein the contour features are extracted based on a Sobel edge detection operator;

[0048] S106, performing feature fusion based on DCA on the contour feature data and the color feature data to form fused feature data, wherein each initial region image corresponds to one fused feature data;

[0049] S108, selecting an initial region as the current region, taking the current region as the center, judging whether the corresponding fused feature data of the adjacent initial regions and the preset standard feature data are similar based on the preset similarity, if so, marking the adjacent initial regions as similar regions, repeating the similarity judgment and marking of the adjacent initial regions until no similar regions are generated, and integrating all similar regions with the current region to form a segmented region;

[0050] S110, merging the fused feature data of all the initial areas within the segmented area based on the contour feature and the color feature to form segmented feature data of the fundus image.

[0051] It should be noted that the target person is generally a patient undergoing eye examination, so as to analyze the presence of glaucoma characteristics through image assistance.

[0052] According to an embodiment of the present invention, the initial fundus image of the target person is obtained and the initial fundus image is preprocessed, specifically:

[0053] Obtaining the initial fundus image of the target person, and performing smoothing, enhancement, and standardization preprocessing on the initial fundus image;

[0054] The target person information is associated with the initial fundus image and stored in the system database.

[0055] It should be noted that the system database is used to store user fundus image data, feature data, standard data, etc. The target person information includes basic information of the user, such as age, gender, eye parameters, and other basic information.

[0056] According to an embodiment of the present invention, the initial fundus image is divided into regions to form a plurality of initial regions, each initial region corresponds to an initial region image, contour feature extraction and color feature extraction are performed on the initial region image to obtain contour feature data and color feature data of each initial region image, and the contour feature is extracted based on the Sobel edge detection operator, specifically:

[0057] Based on the image size and area of ​​the initial fundus image, the initial fundus image is divided into regions to form a plurality of initial regions;

[0058] Each initial region corresponds to an initial region image;

[0059] Taking the initial region image as the analysis unit, based on the Sobel edge detection operator, the neighboring grayscale weighted difference analysis is performed on the pixels in the initial region image, and the edge contour is marked to obtain the contour feature data;

[0060] The feature calculation based on the color moment is performed on the initial area image to obtain the color feature data.

[0061] It should be noted that the region division is generally grid division to perform regional feature analysis, more accurately analyze fundus features, and more accurately perform image segmentation. The present invention introduces the Sobel edge detection operator, which can reduce the influence of noise in existing fundus images and effectively perform image feature segmentation in the subsequent process. The color moment includes the calculation of first, second, and third order color moments.

[0062] According to an embodiment of the present invention, the contour feature data and the color feature data are subjected to feature fusion based on DCA to form fused feature data, and each initial region image corresponds to one fused feature data, specifically:

[0063] Performing feature fusion based on DCA on contour feature data and color feature data of an initial region image, wherein the feature fusion process includes constructing a preset CNN network, and extracting feature maps of the contour feature data and color feature data based on the preset CNN network to obtain feature maps;

[0064] The extracted feature map is multiplied by the preset weight to obtain a category activation map;

[0065] All the obtained category activation maps are averaged and weighted fused to form fused feature data.

[0066] It should be noted that the DCA (Dynamic Class Activation) is a feature fusion algorithm. The class activation map is obtained by multiplying the feature map and the weight corresponding to the category channel by channel. The DCA fusion algorithm is introduced in the present invention to obtain fusion data that can represent the target features by performing weighted fusion analysis on the contour features and the color features, and based on the weight setting, the fusion of the corresponding target features can be highlighted, which is beneficial to the subsequent image segmentation and extraction. Each initial area corresponds to the fusion feature data analyzed independently.

[0067] According to an embodiment of the present invention, an initial region is selected as the current region, and the current region is taken as the center. Based on the preset similarity, it is judged whether the corresponding fusion feature data of the adjacent initial regions and the preset standard feature data are similar. If so, the adjacent initial regions are marked as similar regions, and the similarity judgment and marking of the adjacent initial regions are repeated for the similar regions until no similar regions are generated, and all similar regions are integrated with the current region to form a segmented region, specifically:

[0068] Acquire preset standard feature data from a system database, wherein the preset standard feature data includes standard features of an optic cup image, standard features of an optic disc image, and standard features of an optic nerve fiber image;

[0069] Taking the standard features of the optic cup image as the current feature judgment object, the fused feature data of each initial area and the standard features of the optic cup image are respectively calculated based on the standard Euclidean distance, and the initial area with the closest distance is marked as the current area;

[0070] Taking the current area as the center, obtaining the adjacent initial area, performing similarity calculation analysis based on the standard Euclidean distance between the fused feature data corresponding to the adjacent initial area and the standard features of the optic cup image, and if the similarity is higher than the preset similarity, marking the adjacent initial area as a similar area;

[0071] The similarity judgment and marking of adjacent initial regions are repeated for similar regions until no similar regions are generated;

[0072] Integrate all similar regions with the current region to form the optic cup segmentation region;

[0073] The optic disc image standard features and the optic nerve fiber image standard features are respectively used as the current feature judgment objects to analyze the similarity regions, and the optic disc segmentation region and the optic nerve fiber segmentation region are respectively obtained.

[0074] It should be noted that in the judgment of glaucoma, the judgment and analysis are mainly based on the size and proportion of the optic cup, optic disc, and optic nerve fiber area of ​​the fundus image. Therefore, in the image analysis, the segmentation and feature extraction based on the three areas are particularly important. In the prior art, the segmentation and feature analysis capabilities of the corresponding areas are still insufficient, resulting in insufficient accuracy of glaucoma analysis based on fundus images, which often relies on manual experience. The preset standard feature data includes standard contour features and color feature data, which is a preset feature data used for comparison and analysis with the image feature data analyzed in real time to accurately segment the image and extract the corresponding features. The judgment based on the preset similarity of whether the corresponding fusion feature data of the adjacent initial area and the preset standard feature data are similar includes three judgment processes, each of which corresponds to the standard features of the optic cup image, the standard features of the optic disc image, and the standard features of the optic nerve fiber image in the preset standard feature data, and forms three segmented areas respectively. When the adjacent area is judged by the central area, if the adjacent area is a similar area, the adjacent area is continued to be used as the center point to continue to cyclically judge whether the adjacent area is a similar area, so as to gradually expand the segmented area and gradually screen the segmented area. The adjacent initial regions are adjacent regions on the grid, namely, edge regions around the center point.

[0075] The formed segmented areas include three types of areas, namely, an optic cup segmented area, an optic disc segmented area, and an optic nerve fiber segmented area.

[0076] It is worth mentioning that in the image processing and analysis of fundus images, due to the similarity and contour complexity of each part (optic cup, optic disc, optic nerve fibers), there are certain difficulties in image segmentation, image recognition, and feature extraction. Therefore, the present invention is based on the corresponding standard feature analysis, combined with similarity region judgment and region integration, to integrate segmented regions with high features, and integrate the corresponding fusion features of the segmented regions, which can effectively realize the image feature segmentation of each part of the fundus image, and further perform optic cup ratio analysis, lesion analysis, and glaucoma image auxiliary analysis through the segmentation feature data.

[0077] According to an embodiment of the present invention, the fusion feature data of all initial regions within the segmented region are merged based on contour features and color features to form segmentation feature data of the fundus image, specifically:

[0078] Integrate all fusion feature data within the optic cup segmentation area to form optic cup segmentation feature data;

[0079] Based on the optic disc segmentation region and the optic nerve fiber segmentation region, corresponding optic disc segmentation feature data and optic nerve fiber segmentation feature data are obtained.

[0080] It should be noted that the corresponding optic disc segmentation feature data and optic nerve fiber segmentation feature data can further assist in analyzing and determining the pathological condition of glaucoma.

[0081] According to an embodiment of the present invention, the preset standard feature data further includes:

[0082] Acquire preset standard feature data, and perform feature vectorization on the preset standard feature data to form feature vector data;

[0083] The standard deviation between the eigenvectors is calculated based on the eigenvector data, and the difference between the eigenvectors is calculated based on the cosine distance, and the data standard deviation is obtained;

[0084] The data standard deviation is used as the discrete degree of the feature vector data to determine whether the discrete degree meets the preset discrete degree. If not, the fusion feature data of each initial area is obtained based on the initial fundus image of the target person.

[0085] Constructing a GAN-based generation model, wherein the generation model includes a generator and a discriminator;

[0086] Import the preset standard feature data as real data into the generative model for cyclic adversarial training, and update the generator and discriminator parameters based on the error back propagation algorithm until the generator and discriminator reach Nash equilibrium;

[0087] Import the fused feature data of each initial region into the generative model for secondary cyclic adversarial training, and update the generator and discriminator parameters based on the error back propagation algorithm until the number of adversarial training reaches the predetermined number;

[0088] Based on the trained generation model, a preset amount of simulated standardized feature data is generated, and the simulated standardized feature data is integrated with the preset standard feature data to form new preset standard feature data.

[0089] It should be noted that, generally speaking, the preset standard feature data is the historical feature data stored in the system database, and the amount of data is often small. The determination of whether the degree of discreteness meets the preset discreteness is to determine whether the standard deviation is less than the preset value. The larger the standard deviation, the greater the degree of discreteness and the higher the data discrimination. The smaller the standard deviation, the smaller the degree of discreteness and the more similar or close the values ​​between the data. Therefore, when the degree of discreteness is less than the preset value, it means that the preset standard feature data has a large similarity. As standard data, there may be a problem of poor feature contrast effect, which affects the accuracy of subsequent image segmentation. Therefore, the present invention trains the GAN model based on the fundus image of the target person, thereby generating standardized feature data for the target person.

[0090] The method of importing the preset standard feature data as real data into the generation model for cyclic adversarial training is a primary training process, which is used to train the generation model to generate standardized feature data. The secondary cyclic adversarial training is used to perform adversarial training on the generation model for the fundus feature data of the target person, so that the generator can generate standardized feature data for the contour and color features of the fundus image of the target person based on the standardized features. Therefore, when performing subsequent image segmentation, accurate judgment and analysis of the segmented area can be performed based on the preset standard features generated by the target fundus image, thereby improving the targeting of the target user.

[0091] The method of obtaining preset standard feature data and quantizing the preset standard feature data to form feature vector data includes the standard features of the optic cup image, the standard features of the optic disc image, and the standard features of the optic nerve fiber image, and there are differences between the features. Therefore, in the generation of simulated standardized feature data of a preset data volume, three model building and training processes are included, corresponding to the three standard features, and three data standard deviation calculation processes.

[0092] Figure 2 A block diagram of an image processing system for glaucoma analysis according to the present invention is shown.

[0093] The second aspect of the present invention further provides an image processing system 2 for glaucoma analysis, the system comprising: a memory 21, a processor 22, the memory comprising an image processing program for glaucoma analysis, the image processing program for glaucoma analysis being executed by the processor to implement the following steps:

[0094] Acquire an initial fundus image of a target person, and preprocess the initial fundus image;

[0095] Dividing the initial fundus image into regions to form a plurality of initial regions, each initial region corresponding to an initial region image, extracting contour features and color features of the initial region images to obtain contour feature data and color feature data of each initial region image, wherein the contour features are extracted based on a Sobel edge detection operator;

[0096] The contour feature data and the color feature data are subjected to feature fusion based on DCA to form fused feature data, and each initial region image corresponds to one fused feature data;

[0097] Select an initial region as the current region, take the current region as the center, and judge whether the corresponding fusion feature data of the adjacent initial regions and the preset standard feature data are similar based on the preset similarity. If so, mark the adjacent initial regions as similar regions, and repeat the similarity judgment and marking of the adjacent initial regions until no similar regions are generated, and integrate all similar regions with the current region to form a segmented region;

[0098] The fused feature data of all initial areas within the segmented area are merged based on the contour feature and the color feature to form the segmented feature data of the fundus image.

[0099] It should be noted that the target person is generally a patient undergoing eye examination, so as to analyze the presence of glaucoma characteristics through image assistance.

[0100] According to an embodiment of the present invention, the initial fundus image of the target person is obtained and the initial fundus image is preprocessed, specifically:

[0101] Obtaining the initial fundus image of the target person, and performing smoothing, enhancement, and standardization preprocessing on the initial fundus image;

[0102] The target person information is associated with the initial fundus image and stored in the system database.

[0103] It should be noted that the system database is used to store user fundus image data, feature data, standard data, etc. The target person information includes basic information of the user, such as age, gender, eye parameters, and other basic information.

[0104] According to an embodiment of the present invention, the initial fundus image is divided into regions to form a plurality of initial regions, each initial region corresponds to an initial region image, contour feature extraction and color feature extraction are performed on the initial region image to obtain contour feature data and color feature data of each initial region image, and the contour feature is extracted based on the Sobel edge detection operator, specifically:

[0105] Based on the image size and area of ​​the initial fundus image, the initial fundus image is divided into regions to form a plurality of initial regions;

[0106] Each initial region corresponds to an initial region image;

[0107] Taking the initial region image as the analysis unit, based on the Sobel edge detection operator, the neighboring grayscale weighted difference analysis is performed on the pixels in the initial region image, and the edge contour is marked to obtain the contour feature data;

[0108] The feature calculation based on the color moment is performed on the initial area image to obtain the color feature data.

[0109] It should be noted that the region division is generally grid division to perform regional feature analysis, more accurately analyze fundus features, and more accurately perform image segmentation. The present invention introduces the Sobel edge detection operator, which can reduce the influence of noise in existing fundus images and effectively perform image feature segmentation in the subsequent process. The color moment includes the calculation of first, second, and third order color moments.

[0110] According to an embodiment of the present invention, the contour feature data and the color feature data are subjected to feature fusion based on DCA to form fused feature data, and each initial region image corresponds to one fused feature data, specifically:

[0111] Performing feature fusion based on DCA on contour feature data and color feature data of an initial region image, wherein the feature fusion process includes constructing a preset CNN network, and extracting feature maps of the contour feature data and color feature data based on the preset CNN network to obtain feature maps;

[0112] The extracted feature map is multiplied by the preset weight to obtain a category activation map;

[0113] All the obtained category activation maps are averaged and weighted fused to form fused feature data.

[0114] It should be noted that the DCA (Dynamic Class Activation) is a feature fusion algorithm. The class activation map is obtained by multiplying the feature map and the weight corresponding to the category channel by channel. The DCA fusion algorithm is introduced in the present invention to obtain fusion data that can represent the target features by performing weighted fusion analysis on the contour features and the color features, and based on the weight setting, the fusion of the corresponding target features can be highlighted, which is beneficial to the subsequent image segmentation and extraction. Each initial area corresponds to the fusion feature data analyzed independently.

[0115] According to an embodiment of the present invention, an initial region is selected as the current region, and the current region is taken as the center. Based on the preset similarity, it is judged whether the corresponding fusion feature data of the adjacent initial regions and the preset standard feature data are similar. If so, the adjacent initial regions are marked as similar regions, and the similarity judgment and marking of the adjacent initial regions are repeated for the similar regions until no similar regions are generated, and all similar regions are integrated with the current region to form a segmented region, specifically:

[0116] Acquire preset standard feature data from a system database, wherein the preset standard feature data includes standard features of an optic cup image, standard features of an optic disc image, and standard features of an optic nerve fiber image;

[0117] Taking the standard features of the optic cup image as the current feature judgment object, the fused feature data of each initial area and the standard features of the optic cup image are respectively calculated based on the standard Euclidean distance, and the initial area with the closest distance is marked as the current area;

[0118] Taking the current area as the center, obtaining the adjacent initial area, performing similarity calculation analysis based on the standard Euclidean distance between the fused feature data corresponding to the adjacent initial area and the standard features of the optic cup image, and if the similarity is higher than the preset similarity, marking the adjacent initial area as a similar area;

[0119] The similarity judgment and marking of adjacent initial regions are repeated for similar regions until no similar regions are generated;

[0120] Integrate all similar regions with the current region to form the optic cup segmentation region;

[0121] The optic disc image standard features and the optic nerve fiber image standard features are respectively used as the current feature judgment objects to analyze the similarity regions, and the optic disc segmentation region and the optic nerve fiber segmentation region are respectively obtained.

[0122] It should be noted that in the judgment of glaucoma, the judgment and analysis are mainly based on the size and proportion of the optic cup, optic disc, and optic nerve fiber area of ​​the fundus image. Therefore, in the image analysis, the segmentation and feature extraction based on the three areas are particularly important. In the prior art, the segmentation and feature analysis capabilities of the corresponding areas are still insufficient, resulting in insufficient accuracy of glaucoma analysis based on fundus images, which often relies on manual experience. The preset standard feature data includes standard contour features and color feature data, which is a preset feature data used for comparison and analysis with the image feature data analyzed in real time to accurately segment the image and extract the corresponding features. The judgment based on the preset similarity of whether the corresponding fusion feature data of the adjacent initial area and the preset standard feature data are similar includes three judgment processes, each of which corresponds to the standard features of the optic cup image, the standard features of the optic disc image, and the standard features of the optic nerve fiber image in the preset standard feature data, and forms three segmented areas respectively. When the adjacent area is judged by the central area, if the adjacent area is a similar area, the adjacent area is continued to be used as the center point to continue to cyclically judge whether the adjacent area is a similar area, so as to gradually expand the segmented area and gradually screen the segmented area. The adjacent initial regions are adjacent regions on the grid, namely, edge regions around the center point.

[0123] The formed segmented areas include three types of areas, namely, an optic cup segmented area, an optic disc segmented area, and an optic nerve fiber segmented area.

[0124] It is worth mentioning that in the image processing and analysis of fundus images, due to the similarity and contour complexity of each part (optic cup, optic disc, optic nerve fibers), there are certain difficulties in image segmentation, image recognition, and feature extraction. Therefore, the present invention is based on the corresponding standard feature analysis, combined with similarity region judgment and region integration, to integrate segmented regions with high features, and integrate the corresponding fusion features of the segmented regions, which can effectively realize the image feature segmentation of each part of the fundus image, and further perform optic cup ratio analysis, lesion analysis, and glaucoma image auxiliary analysis through the segmentation feature data.

[0125] According to an embodiment of the present invention, the fusion feature data of all initial regions within the segmented region are merged based on contour features and color features to form segmentation feature data of the fundus image, specifically:

[0126] Integrate all fusion feature data within the optic cup segmentation area to form optic cup segmentation feature data;

[0127] Based on the optic disc segmentation region and the optic nerve fiber segmentation region, corresponding optic disc segmentation feature data and optic nerve fiber segmentation feature data are obtained.

[0128] It should be noted that the corresponding optic disc segmentation feature data and optic nerve fiber segmentation feature data can further assist in analyzing and determining the pathological condition of glaucoma.

[0129] According to an embodiment of the present invention, the preset standard feature data further includes:

[0130] Acquire preset standard feature data, and perform feature vectorization on the preset standard feature data to form feature vector data;

[0131] The standard deviation between the eigenvectors is calculated based on the eigenvector data, and the difference between the eigenvectors is calculated based on the cosine distance, and the data standard deviation is obtained;

[0132] The data standard deviation is used as the discrete degree of the feature vector data to determine whether the discrete degree meets the preset discrete degree. If not, the fusion feature data of each initial area is obtained based on the initial fundus image of the target person.

[0133] Constructing a GAN-based generation model, wherein the generation model includes a generator and a discriminator;

[0134] Import the preset standard feature data as real data into the generative model for cyclic adversarial training, and update the generator and discriminator parameters based on the error back propagation algorithm until the generator and discriminator reach Nash equilibrium;

[0135] Import the fused feature data of each initial region into the generative model for secondary cyclic adversarial training, and update the generator and discriminator parameters based on the error back propagation algorithm until the number of adversarial training reaches the predetermined number;

[0136] Based on the trained generation model, a preset amount of simulated standardized feature data is generated, and the simulated standardized feature data is integrated with the preset standard feature data to form new preset standard feature data.

[0137] It should be noted that, generally speaking, the preset standard feature data is the historical feature data stored in the system database, and the amount of data is often small. The determination of whether the degree of discreteness meets the preset discreteness is to determine whether the standard deviation is less than the preset value. The larger the standard deviation, the greater the degree of discreteness and the higher the data discrimination. The smaller the standard deviation, the smaller the degree of discreteness and the more similar or close the values ​​between the data. Therefore, when the degree of discreteness is less than the preset value, it means that the preset standard feature data has a large similarity. As standard data, there may be a problem of poor feature contrast effect, which affects the accuracy of subsequent image segmentation. Therefore, the present invention trains the GAN model based on the fundus image of the target person, thereby generating standardized feature data for the target person.

[0138] The method of importing the preset standard feature data as real data into the generation model for cyclic adversarial training is a primary training process, which is used to train the generation model to generate standardized feature data. The secondary cyclic adversarial training is used to perform adversarial training on the generation model for the fundus feature data of the target person, so that the generator can generate standardized feature data for the contour and color features of the fundus image of the target person based on the standardized features. Therefore, when performing subsequent image segmentation, accurate judgment and analysis of the segmented area can be performed based on the preset standard features generated by the target fundus image, thereby improving the targeting of the target user.

[0139] The method of obtaining preset standard feature data and quantizing the preset standard feature data to form feature vector data includes the standard features of the optic cup image, the standard features of the optic disc image, and the standard features of the optic nerve fiber image, and there are differences between the features. Therefore, in the generation of simulated standardized feature data of a preset data volume, three model building and training processes are included, corresponding to the three standard features, and three data standard deviation calculation processes.

[0140] The third aspect of the present invention also provides a computer-readable storage medium, which includes an image processing program for glaucoma analysis. When the image processing program for glaucoma analysis is executed by a processor, the steps of the image processing method for glaucoma analysis as described in any one of the above items are implemented.

[0141] The present invention discloses an image processing method, system and medium for glaucoma analysis, which performs regional division and feature extraction on the initial fundus image of the target person, performs feature fusion based on DCA on the extracted contour feature data and color feature data, selects an initial region as the current region, takes the current region as the center, and judges whether the corresponding fused feature data of the adjacent initial regions and the preset standard feature data are similar based on the preset similarity. If so, the adjacent initial regions are marked as similarity regions, and a segmentation region is formed based on the integration of all similarity regions; the fused feature data of all initial regions in the segmentation region are merged based on contour features and color features to form segmentation feature data of the fundus image. The present invention can accurately and effectively segment the fundus image, effectively extract the features of each part of the image, and improve the accuracy and efficiency of glaucoma analysis with the assistance of image angle.

[0142] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0143] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0144] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0145] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0146] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

[0147] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. An image processing method for glaucoma analysis, characterized in that: include: Acquire an initial fundus image of a target person, and preprocess the initial fundus image; Dividing the initial fundus image into regions to form a plurality of initial regions, each initial region corresponding to an initial region image, extracting contour features and color features of the initial region images to obtain contour feature data and color feature data of each initial region image, wherein the contour features are extracted based on a Sobel edge detection operator; The contour feature data and the color feature data are subjected to feature fusion based on DCA to form fused feature data, and each initial region image corresponds to one fused feature data; Select an initial region as the current region, take the current region as the center, and judge whether the corresponding fusion feature data of the adjacent initial regions and the preset standard feature data are similar based on the preset similarity. If so, mark the adjacent initial regions as similar regions, and repeat the similarity judgment and marking of the adjacent initial regions until no similar regions are generated, and integrate all similar regions with the current region to form a segmented region; Merging the fusion feature data of all initial regions within the segmented region based on contour features and color features to form segmentation feature data of the fundus image; The initial fundus image is divided into regions to form a plurality of initial regions, each initial region corresponds to an initial region image, contour feature extraction and color feature extraction are performed on the initial region image to obtain contour feature data and color feature data of each initial region image, and the contour feature is extracted based on the Sobel edge detection operator, specifically: Based on the image size and area of ​​the initial fundus image, the initial fundus image is divided into regions to form a plurality of initial regions; Each initial region corresponds to an initial region image; Taking the initial region image as the analysis unit, based on the Sobel edge detection operator, the neighboring grayscale weighted difference analysis is performed on the pixels in the initial region image, and the edge contour is marked to obtain the contour feature data; Performing feature calculation based on color moment on the initial region image to obtain color feature data; The contour feature data and the color feature data are subjected to feature fusion based on DCA to form fused feature data, and each initial region image corresponds to one fused feature data, specifically: Performing feature fusion based on DCA on contour feature data and color feature data of an initial region image, wherein the feature fusion process includes constructing a preset CNN network, and extracting feature maps of the contour feature data and color feature data based on the preset CNN network to obtain feature maps; The extracted feature map is multiplied by the preset weight to obtain a category activation map; Perform average weighted fusion on all obtained category activation maps to form fused feature data; Among them, the method selects an initial region as the current region, takes the current region as the center, and judges whether the corresponding fusion feature data of the adjacent initial regions and the preset standard feature data are similar based on the preset similarity. If so, the adjacent initial regions are marked as similar regions, and the similarity judgment and marking of the adjacent initial regions are repeated for the similar regions until no similar regions are generated, and all similar regions are integrated with the current region to form a segmented region, specifically: Acquire preset standard feature data from a system database, wherein the preset standard feature data includes standard features of an optic cup image, standard features of an optic disc image, and standard features of an optic nerve fiber image; Taking the standard features of the optic cup image as the current feature judgment object, the fused feature data of each initial area and the standard features of the optic cup image are respectively calculated based on the standard Euclidean distance, and the initial area with the closest distance is marked as the current area; Taking the current area as the center, obtaining the adjacent initial area, performing similarity calculation analysis based on the standard Euclidean distance between the fused feature data corresponding to the adjacent initial area and the standard features of the optic cup image, and if the similarity is higher than the preset similarity, marking the adjacent initial area as a similar area; The similarity judgment and marking of adjacent initial regions are repeated for similar regions until no similar regions are generated; Integrate all similar regions with the current region to form the optic cup segmentation region; The optic disc image standard feature is used as the current feature judgment object, and the optic nerve fiber image standard feature is used as the current feature judgment object to analyze the similarity region, and the optic disc segmentation region and the optic nerve fiber segmentation region are obtained respectively; The fusion feature data of all initial regions in the segmented region are merged based on the contour feature and the color feature to form the segmentation feature data of the fundus image, specifically: Integrate all fusion feature data within the optic cup segmentation area to form optic cup segmentation feature data; Based on the optic disc segmentation region and the optic nerve fiber segmentation region, corresponding optic disc segmentation feature data and optic nerve fiber segmentation feature data are obtained.

2. The image processing method for glaucoma analysis according to claim 1, characterized in that: The initial fundus image of the target person is obtained, and the initial fundus image is preprocessed, specifically: Obtaining the initial fundus image of the target person, and performing smoothing, enhancement, and standardization preprocessing on the initial fundus image; The target person information is associated with the initial fundus image and stored in the system database.

3. An image processing system for glaucoma analysis, characterized in that: The system comprises: a memory and a processor, wherein the memory comprises an image processing program for glaucoma analysis, and when the image processing program for glaucoma analysis is executed by the processor, the following steps are implemented: Acquire an initial fundus image of a target person, and preprocess the initial fundus image; Dividing the initial fundus image into regions to form a plurality of initial regions, each initial region corresponding to an initial region image, extracting contour features and color features of the initial region images to obtain contour feature data and color feature data of each initial region image, wherein the contour features are extracted based on a Sobel edge detection operator; The contour feature data and the color feature data are subjected to feature fusion based on DCA to form fused feature data, and each initial region image corresponds to one fused feature data; Select an initial region as the current region, take the current region as the center, and judge whether the corresponding fusion feature data of the adjacent initial regions and the preset standard feature data are similar based on the preset similarity. If so, mark the adjacent initial regions as similar regions, and repeat the similarity judgment and marking of the adjacent initial regions until no similar regions are generated, and integrate all similar regions with the current region to form a segmented region; Merging the fusion feature data of all initial regions within the segmented region based on contour features and color features to form segmentation feature data of the fundus image; The initial fundus image is divided into regions to form a plurality of initial regions, each initial region corresponds to an initial region image, contour feature extraction and color feature extraction are performed on the initial region image to obtain contour feature data and color feature data of each initial region image, and the contour feature is extracted based on the Sobel edge detection operator, specifically: Based on the image size and area of ​​the initial fundus image, the initial fundus image is divided into regions to form a plurality of initial regions; Each initial region corresponds to an initial region image; Taking the initial region image as the analysis unit, based on the Sobel edge detection operator, the neighboring grayscale weighted difference analysis is performed on the pixels in the initial region image, and the edge contour is marked to obtain the contour feature data; Performing feature calculation based on color moment on the initial region image to obtain color feature data; The contour feature data and the color feature data are subjected to feature fusion based on DCA to form fused feature data, and each initial region image corresponds to one fused feature data, specifically: Performing feature fusion based on DCA on contour feature data and color feature data of an initial region image, wherein the feature fusion process includes constructing a preset CNN network, and extracting feature maps of the contour feature data and color feature data based on the preset CNN network to obtain feature maps; The extracted feature map is multiplied by the preset weight to obtain a category activation map; Perform average weighted fusion on all obtained category activation maps to form fused feature data; Among them, the method selects an initial region as the current region, takes the current region as the center, and judges whether the corresponding fusion feature data of the adjacent initial regions and the preset standard feature data are similar based on the preset similarity. If so, the adjacent initial regions are marked as similar regions, and the similarity judgment and marking of the adjacent initial regions are repeated for the similar regions until no similar regions are generated, and all similar regions are integrated with the current region to form a segmented region, specifically: Acquire preset standard feature data from a system database, wherein the preset standard feature data includes standard features of an optic cup image, standard features of an optic disc image, and standard features of an optic nerve fiber image; Taking the standard features of the optic cup image as the current feature judgment object, the fused feature data of each initial area and the standard features of the optic cup image are respectively calculated based on the standard Euclidean distance, and the initial area with the closest distance is marked as the current area; Taking the current area as the center, obtaining the adjacent initial area, performing similarity calculation analysis based on the standard Euclidean distance between the fused feature data corresponding to the adjacent initial area and the standard features of the optic cup image, and if the similarity is higher than the preset similarity, marking the adjacent initial area as a similar area; The similarity judgment and marking of adjacent initial regions are repeated for similar regions until no similar regions are generated; Integrate all similar regions with the current region to form the optic cup segmentation region; The optic disc image standard feature is used as the current feature judgment object, and the optic nerve fiber image standard feature is used as the current feature judgment object to analyze the similarity region, and the optic disc segmentation region and the optic nerve fiber segmentation region are obtained respectively; The fusion feature data of all initial regions in the segmented region are merged based on the contour feature and the color feature to form the segmentation feature data of the fundus image, specifically: Integrate all fusion feature data within the optic cup segmentation area to form optic cup segmentation feature data; Based on the optic disc segmentation region and the optic nerve fiber segmentation region, corresponding optic disc segmentation feature data and optic nerve fiber segmentation feature data are obtained.

4. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes an image processing program for glaucoma analysis. When the image processing program for glaucoma analysis is executed by a processor, the steps of the image processing method for glaucoma analysis according to any one of claims 1 to 2 are implemented.