Eye fundus image analysis method and system based on deep learning
By performing regional segmentation and preprocessing on fundus images, the problem of excessive interference in existing glaucoma recognition models is solved, the robustness and generalization of the model is improved, and the ability to identify glaucoma lesion characteristics is enhanced.
Patent Information
- Application Number
- CN202410527698.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2024-08-23
AI Technical Summary
Existing glaucoma recognition models based on deep learning have the problem of excessive interference in fundus image classification and detection, which affects the robustness and generalization of the model.
By performing regional segmentation on fundus images, especially the positioning and segmentation of the optic disc and macula areas, unnecessary interference factors are eliminated, and the pre-processed images are input into the pre-trained neural network model for feature extraction, using the cross-entropy loss function. Calculate the difference between the normal eye and the glaucoma eye.
It improves the robustness and generalization of the neural network model, enhances the ability to identify glaucoma lesion characteristics, and improves the accuracy and reliability of the model.
Smart Images

Figure CN118537293A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical image processing technology, and in particular to a fundus image analysis method and system based on deep learning. Background Art
[0002] Currently, glaucoma has become the second leading cause of blindness in the world. There are more than 10 million primary glaucoma patients worldwide, and more than 10% of them may develop binocular blindness. If glaucoma is not diagnosed early, it may develop into irreversible blindness, so early glaucoma screening is of great significance.
[0003] Deep learning is a data-driven technology that has become the preferred solution in the field of imaging. Among many medical images, color fundus images are characterized by low complexity, easy acquisition, and easy diagnosis. These characteristics enable fundus images to achieve better classification and detection results using deep learning technology. Existing disease classification and detection technologies based on fundus images basically use deep learning technology and are highly dependent on image volume, image quality, and annotation accuracy.
[0004] Currently, when deep learning technology is used for fundus image classification and detection for glaucoma identification, most of the time, the entire image is used as learning material for model learning. This causes more interference in the model learning process, thus affecting the robustness and generalization of the model. Summary of the invention
[0005] In response to the problem of excessive interference in the deep learning process of the above-mentioned glaucoma recognition model, the present invention provides a fundus image analysis method and system based on deep learning. By segmenting the fundus image according to the area where the glaucoma lesion characteristics are located, unnecessary interference factors are effectively eliminated, and the robustness and generalization of the trained neural network model are improved.
[0006] To achieve the above purpose, the present invention adopts the following technical solution: a fundus image analysis method based on deep learning, comprising the following steps:
[0007] Acquire fundus images;
[0008] Performing regional segmentation according to the fundus image to obtain an image to be analyzed, and performing normalization preprocessing on the image to be analyzed;
[0009] Inputting the preprocessed image to be analyzed into a pre-trained neural network model for feature extraction, wherein the neural network model is pre-trained to learn the difference between normal fundus images and glaucomatous fundus images;
[0010] The feature information of each fundus image is generated by a neural network model, and the probability of glaucoma is output based on the analysis of the feature information.
[0011] As a further improvement of the present invention, acquiring the fundus image includes:
[0012] The fundus image is acquired by a fundus camera and / or a fundus imaging device, wherein the fundus image is acquired from a frontal angle / anterior angle of the patient.
[0013] As a further improvement of the present invention, performing regional segmentation according to the fundus image to obtain the image to be analyzed includes:
[0014] Positioning the optic disc area and the macula area of the fundus image to determine the center position of the optic disc and the center position of the macula;
[0015] Acquire a first distance from the maximum edge of the optic disc area to the center of the optic disc, and construct a first edge segmentation line with n times of the first distance as the radius and the center of the optic disc as the center of the circle;
[0016] A second edge dividing line is formed by extending from the center of the macula to both ends, and the second edge dividing line is perpendicular to a line connecting the center of the optic disc and the center of the macula;
[0017] forming two third and fourth edge dividing lines perpendicular to the second edge dividing line, wherein the third edge dividing line and the fourth edge dividing line are tangent to the first edge dividing line respectively;
[0018] The area enclosed by the four edge segmentation lines including the complete optic disc area is segmented, and the fundus image of the segmented area is taken to form an image to be analyzed.
[0019] As a further improvement of the present invention, the optic disc area and the macular area of the fundus image are positioned by manual processing or target detection algorithm, and the radius of the first edge segmentation line is constructed to be n times the first distance, where n is an integer greater than 1 or a non-integer.
[0020] As a further improvement of the present invention, the normalization preprocessing of the image to be analyzed includes:
[0021] The images to be analyzed were normalized by Z-Score standardization so that the mean of the processed fundus images was 0 and the standard deviation was 1.
[0022] As a further improvement of the present invention, the pre-trained neural network model includes the following construction steps:
[0023] Obtain training samples of normal fundus images and fundus images of glaucoma lesions, and classify and label the training samples, wherein the training samples are pre-processed by normalization;
[0024] The training samples are input into the CNN model for training and learning, and the difference between normal fundus images and glaucomatous fundus images is learned. The difference between normal eyes and glaucoma is calculated using a cross entropy loss function, and the cross entropy loss function is:
[0025]
[0026] Among them, L is the value of the loss function, y is the true label, is the predicted probability of glaucoma.
[0027] As a further improvement of the present invention, the model training of the neural network learns multiple classifications, including normal eyes, early glaucoma, middle glaucoma, and late glaucoma, and the cross entropy loss function is:
[0028]
[0029] Among them, C is the total number of categories, y i is a binary indicator indicating whether the fundus image belongs to category i; is the probability of predicting the fundus image belonging to category i.
[0030] On the other hand, the present invention provides another technical solution, a fundus image analysis system based on deep learning, comprising:
[0031] An image acquisition module, used for acquiring fundus images;
[0032] An image segmentation module, used for performing regional segmentation according to the fundus image to obtain an image to be analyzed, and performing normalization preprocessing on the image to be analyzed;
[0033] The neural network model inputs the preprocessed image to be analyzed into the pre-trained neural network model for feature extraction; the feature information of each fundus image is generated by the neural network model, and the probability of glaucoma is output according to the analysis of the feature information.
[0034] As a further improvement of the present invention, the neural network model is pre-trained to learn the difference between normal fundus images and glaucoma lesion fundus images, wherein a cross entropy loss function is used to calculate the difference between normal eyes and glaucoma eyes, and the cross entropy loss function is:
[0035]
[0036] Among them, L is the value of the loss function, y is the true label, is the predicted probability of glaucoma.
[0037] As a further improvement of the present invention, the model training of the neural network learns multiple classifications, including normal eyes, early glaucoma, middle glaucoma, and late glaucoma, and the cross entropy loss function is:
[0038]
[0039] Among them, C is the total number of categories, y i is a binary indicator indicating whether the fundus image belongs to category i; is the probability of predicting the fundus image belonging to category i.
[0040] Compared with the prior art, the present invention has the following beneficial effects:
[0041] The present invention performs segmentation processing on the fundus image according to the area where the glaucoma lesion characteristics are located, thereby effectively eliminating unnecessary interference factors and improving the robustness and generalization of the trained neural network model. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solution, the drawings required for use in the implementation will be briefly introduced below. Obviously, the drawings described below are only some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0043] Figure 1 It is a schematic diagram of the process of the present invention;
[0044] Figure 2 It is a schematic diagram of the region of the image to be analyzed obtained by regional segmentation of the fundus image. DETAILED DESCRIPTION
[0045] In order to enable a clear and complete understanding of the technical solution, the present invention is further described in conjunction with the embodiments and drawings. Obviously, the described embodiments are only some embodiments of the present invention, and all other embodiments obtained by technicians in the relevant field without making creative work are within the scope of protection of the present invention.
[0046] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0047] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0048] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0049] The embodiment of the present invention provides a fundus image analysis method based on deep learning, such as Figure 1 and 2 As shown, the following steps are included:
[0050] Acquire a fundus image, which is acquired by a fundus camera and / or a fundus imaging device, wherein the fundus image is acquired from a frontal angle / anterior angle of the patient.
[0051] Performing regional segmentation according to the fundus image to obtain an image to be analyzed, and performing normalization preprocessing on the image to be analyzed, including positioning the optic disc area 100 and the macula area 200 of the fundus image, and determining the optic disc center position 10 and the macula center position 20;
[0052] Obtain a first distance from the maximum edge of the optic disc area 100 to the optic disc center position 10, and construct a first edge segmentation line 301 with n times of the first distance as the radius and the optic disc center position as the center of the circle;
[0053] The optic disc area and the macula area of the fundus image are positioned by artificial processing or target detection algorithm, and the radius of the first edge segmentation line is n times the first distance, where n is an integer or non-integer greater than 1; it should be noted that the target detection algorithm is used to locate and detect the optic disc area and the macula area in the fundus image. In order to ensure the accuracy of target detection, the Faster Rcnn model based on deep learning can be used to detect the optic disc area and the macula area. Among them, the Faster Rcnn model based on deep learning is an image processing network model commonly used in this field. The center position of the optic disc is obtained, and the center position of the optic disc is taken as the center of the circle. The first edge segmentation line is constructed with n times the first distance as the radius. This embodiment does not limit the specific value of n, and the technicians can set it according to the actual use requirements. It can be an integer value of 2 times and a non-integer value of 2.2 times.
[0054] Furthermore, a second edge dividing line 302 is formed by extending from the macula center position 20 to both ends, and the second edge dividing line 302 is perpendicular to the line connecting the optic disc center position 10 and the macula center position 20;
[0055] Two third and fourth edge dividing lines are formed perpendicular to the second edge dividing line 302, and the third edge dividing line 303 and the fourth edge dividing line 304 are tangent to the first edge dividing line 301 respectively;
[0056] The area enclosed by the four edge dividing lines including the complete optic disc area (i.e. Figure 2 The shadow area in the middle is segmented, and the fundus image of the segmented area is taken to form an image to be analyzed.
[0057] Inputting the preprocessed image to be analyzed into a pre-trained neural network model for feature extraction, wherein the neural network model is pre-trained to learn the difference between normal fundus images and glaucomatous fundus images;
[0058] The feature information of each fundus image is generated by a neural network model, and the probability of glaucoma is output based on the analysis of the feature information.
[0059] It will be understood by those skilled in the art that the damage of glaucoma usually first manifests itself on the optic nerve head, so the evaluation of the optic nerve head is crucial for the diagnosis of glaucoma. Abnormalities of the optic nerve head, such as an increase in the cup-to-disc ratio, are important indicators of glaucoma. Defects in the retinal nerve fiber layer are also common manifestations of glaucoma, and thinning or defective areas of the fiber layer can be observed through fundus images. The enlargement of the optic cup is usually related to the progression of glaucoma, and the vertical diameter of the optic cup and the vertical diameter of the optic disc can be used to calculate the cup-to-disc ratio. This embodiment obtains the image to be analyzed by performing regional segmentation based on the acquired fundus image, which can effectively eliminate unnecessary interference factors, and then inputs the pre-processed fundus image to be analyzed into a pre-trained neural network model for training and learning, outputs the characteristic information of each of the fundus images and analyzes the probability of outputting glaucoma, thereby improving the robustness and generalization of the trained neural network model.
[0060] In an optional embodiment, in order to solve the problem that the brightness of each fundus image may be uneven and the contrast difference may be large, the normalization preprocessing of the image to be analyzed includes:
[0061] The image to be analyzed is normalized by Z-Score standardization so that the mean of the processed fundus image is 0 and the standard deviation is 1. In some embodiments, the image to be analyzed can be scaled, flipped, translated, etc., which can increase the amount of data for training the neural network model and improve the generalization ability of the model.
[0062] In some embodiments, the preprocessing operation may also perform image enhancement and denoising on the fundus image:
[0063] The purpose of image enhancement is to improve the contrast, clarity, and detail visibility of an image to enhance the quality of the image. Common image enhancement methods include:
[0064] Histogram equalization: By adjusting the grayscale distribution of the image, the image histogram is made more balanced and the image contrast is enhanced; sharpening filtering: using a high-pass filter or enhancement algorithm to make the edges and details of the image clearer; adaptive enhancement: adaptive contrast enhancement is performed based on the local features of the image to retain details and avoid over-enhancement.
[0065] Image noise will reduce the quality and accuracy of the image, so fundus images need to be denoised. Common denoising methods include:
[0066] Median filtering: Use the median filter to replace the value of the neighborhood around the pixel with the median, which has a good removal effect on salt and pepper noise and speckle noise; Gaussian filtering: Use the Gaussian filter to smooth the image and reduce the impact of high-frequency noise; Wavelet denoising: Use wavelet transform to perform frequency domain analysis on the image and remove noise through threshold processing.
[0067] In an optional embodiment, the pre-trained neural network model includes the following construction steps:
[0068] Obtain training samples of normal fundus images and fundus images of glaucoma lesions, and classify and label the training samples, wherein the training samples are pre-processed by normalization;
[0069] The training samples are input into the CNN model for training and learning. It should be noted that the established convolutional neural network model (CNN) is used to process fundus images, and the following specific technologies and model building processes can be used:
[0070] 1. Data loading and preprocessing: Load images from the adjusted fundus image dataset and perform preprocessing. This includes converting the images to a suitable format and size and normalizing them for input into the CNN model.
[0071] 2. Convolutional Layers: Convolutional layers are the core components of the CNN model. They extract features from images by applying a series of convolution kernels. Each convolution kernel will slide over the input image and extract different features of the image (such as edges, textures, etc.) through convolution operations. You can use different convolution kernel sizes and numbers, as well as apply activation functions to enhance the ability to represent features.
[0072] 3. Pooling Layers: Pooling layers are used to reduce the size of feature maps and reduce the number of parameters in the model. Commonly used pooling methods include maximum pooling and average pooling, which retain important features of the image by extracting the maximum or average value in the pooling area.
[0073] 4. Batch Normalization Layers: Batch Normalization Layers are used to normalize the output of each convolutional layer to accelerate model training and improve model stability. It can keep the distribution of activation values within a small range and avoid the problem of gradient vanishing or gradient exploding.
[0074] 5. Fully Connected Layers: Several fully connected layers can be added between the convolutional layer and the output layer. The fully connected layer flattens the feature map output by the convolutional layer into a vector form, and performs linear transformation and nonlinear activation operations through the connection weights of neurons. The role of the fully connected layer is to convert low-level features into high-level features for the final classification or regression task.
[0075] 6. Output Layer: In the fundus image classification task, the output layer usually uses a fully connected layer with a Softmax activation function. The Softmax function can convert the output of the neural network into category probabilities, thereby achieving multi-category classification.
[0076] The neural network model of this embodiment learns the difference between normal fundus images and glaucomatous fundus images, wherein the difference between normal eyes and glaucoma is calculated using a cross entropy loss function, and the cross entropy loss function is:
[0077]
[0078] Among them, L is the value of the loss function, y is the true label, for the classification of glaucoma and normal eye, it can be 1 (glaucoma) or 0 (normal eye), is the predicted probability of glaucoma.
[0079] Furthermore, the model training of the neural network learns multiple classifications, including normal eyes, early glaucoma, middle glaucoma, and late glaucoma, and the cross entropy loss function is:
[0080]
[0081] Wherein, C is the total number of categories. In this embodiment, the categories are normal eye, early glaucoma, middle glaucoma, and late glaucoma. That is, C is 4, y i is a binary indicator indicating whether the fundus image belongs to category i; is the probability of predicting the fundus image belonging to category i.
[0082] In some embodiments, in order to deal with the class imbalance problem in the unbalanced data set, a weighted cross entropy loss function is sometimes used to give a higher weight to the minority class. The formula of the weighted cross entropy loss function is as follows:
[0083]
[0084] Among them, w i is the weight of category i, which can be adjusted according to the frequency of each category in the dataset.
[0085] It should be noted that the logarithm in the above formula is based on the natural logarithm e. In actual programming implementation, the logarithm with base 2 is usually used, because bits are often used as the unit of information in computer science. In this case, the formula of the loss function will be divided by the base of the logarithm accordingly.
[0086] Obviously, the above embodiments are only used to illustrate the fundus image analysis method based on deep learning, and are not intended to limit the scope of protection of the present invention. Without departing from the concept of the present invention, those skilled in the art can adjust the above fundus image analysis method based on deep learning so that the present invention can be applied to more specific application scenarios.
[0087] On the other hand, another embodiment of the present invention provides a fundus image analysis system based on deep learning, which is used to implement the above embodiments and optional implementations, and will not be repeated here. As used below, the terms "module" and "system" can be a combination of software and / or hardware that implements a predetermined function. Specifically, the fundus image analysis system based on deep learning includes:
[0088] An image acquisition module, used for acquiring fundus images;
[0089] An image segmentation module, used for performing regional segmentation according to the fundus image to obtain an image to be analyzed, and performing normalization preprocessing on the image to be analyzed;
[0090] The neural network model inputs the preprocessed image to be analyzed into the pre-trained neural network model for feature extraction; the feature information of each fundus image is generated by the neural network model, and the probability of glaucoma is output according to the analysis of the feature information.
[0091] In some implementations, the neural network model is pre-trained to learn the difference between normal fundus images and glaucomatous fundus images, wherein a cross entropy loss function is used to calculate the difference between a normal eye and a glaucoma eye, and the cross entropy loss function is:
[0092]
[0093] Among them, L is the value of the loss function, y is the true label, is the predicted probability of glaucoma.
[0094] In some implementations, the neural network model training learns multiple classifications, including normal eyes, early glaucoma, middle glaucoma, and late glaucoma, and the cross entropy loss function is:
[0095]
[0096] Among them, C is the total number of categories, y i is a binary indicator indicating whether the fundus image belongs to category i; is the probability of predicting the fundus image belonging to category i.
[0097] It should be noted that the above-mentioned modules or systems can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above-mentioned systems are all located in the same processor; or, the above-mentioned systems are located in different processors in any combination.
[0098] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0099] An embodiment of the present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the processor performs a fundus image analysis method based on deep learning as described in one or more of the above embodiments.
[0100] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0101] Acquire fundus images;
[0102] Performing regional segmentation according to the fundus image to obtain an image to be analyzed, and performing normalization preprocessing on the image to be analyzed;
[0103] Inputting the preprocessed image to be analyzed into a pre-trained neural network model for feature extraction, wherein the neural network model is pre-trained to learn the difference between normal fundus images and glaucomatous fundus images;
[0104] The feature information of each fundus image is generated by a neural network model, and the probability of glaucoma is output based on the analysis of the feature information.
[0105] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0106] On the other hand, in an embodiment of the present invention, a fundus image analysis device based on deep learning is also provided, and the interactive device is used to implement the above embodiments and preferred implementation modes, which have been described and will not be repeated. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0107] A fundus image analysis device based on deep learning comprises a memory and a processor, wherein the processor calls a control program stored in the memory to execute a fundus image analysis method based on deep learning as described in one or more of the above embodiments.
[0108] Optionally, in this embodiment, the processor may be configured to execute the following steps through a control program:
[0109] Acquire fundus images;
[0110] Performing regional segmentation according to the fundus image to obtain an image to be analyzed, and performing normalization preprocessing on the image to be analyzed;
[0111] Inputting the preprocessed image to be analyzed into a pre-trained neural network model for feature extraction, wherein the neural network model is pre-trained to learn the difference between normal fundus images and glaucomatous fundus images;
[0112] The feature information of each fundus image is generated by a neural network model, and the probability of glaucoma is output based on the analysis of the feature information.
[0113] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0114] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software module may reside in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read and write information from / to the storage medium. In an alternative, a storage medium may be integrated into a processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In an alternative, the processor and the storage medium may reside in a user terminal as discrete components.
[0115] The above disclosure is only one or more preferred embodiments of the present invention, which are used to help understand the inventive concept of the technical solution, and is not intended to limit the present invention in other forms. Technical personnel in the relevant field may make other equivalent or customary replacement schemes based on the features defined by the present invention, which still fall within the scope of the present invention.
Claims
1. A fundus image analysis method based on deep learning, characterized in that: The steps include: Acquire fundus images; Performing regional segmentation according to the fundus image to obtain an image to be analyzed, and performing normalization preprocessing on the image to be analyzed; Inputting the preprocessed image to be analyzed into a pre-trained neural network model for feature extraction, wherein the neural network model is pre-trained to learn the difference between normal fundus images and glaucomatous fundus images; The feature information of each fundus image is generated by a neural network model, and the probability of glaucoma is output based on the analysis of the feature information.
2. The deep learning-based fundus image analysis method according to claim 1, characterized in that: The acquiring of fundus images comprises: The fundus image is acquired by a fundus camera and / or a fundus imaging device, wherein the fundus image is acquired from a frontal angle / anterior angle of the patient.
3. The fundus image analysis method based on deep learning according to claim 1, characterized in that: Performing regional segmentation according to the fundus image to obtain an image to be analyzed includes: Positioning the optic disc area and the macula area of the fundus image to determine the center position of the optic disc and the center position of the macula; Acquire a first distance from the maximum edge of the optic disc area to the center of the optic disc, and construct a first edge segmentation line with n times of the first distance as the radius and the center of the optic disc as the center of the circle; A second edge dividing line is formed by extending from the center of the macula to both ends, and the second edge dividing line is perpendicular to a line connecting the center of the optic disc and the center of the macula; forming two third and fourth edge dividing lines perpendicular to the second edge dividing line, wherein the third edge dividing line and the fourth edge dividing line are tangent to the first edge dividing line respectively; The area enclosed by the four edge segmentation lines including the complete optic disc area is segmented, and the fundus image of the segmented area is taken to form an image to be analyzed.
4. The deep learning-based fundus image analysis method according to claim 3, characterized in that: The optic disc area and the macula area of the fundus image are positioned by manual processing or target detection algorithm, and the radius of the first edge segmentation line is constructed to be n times the first distance, where n is an integer greater than 1 or a non-integer.
5. The method for fundus image analysis based on deep learning according to claim 3, characterized in that: The normalization preprocessing of the image to be analyzed comprises: The images to be analyzed were normalized by Z-Score standardization so that the mean of the processed fundus images was 0 and the standard deviation was 1.
6. The fundus image analysis method based on deep learning according to claim 1, characterized in that: The pre-trained neural network model includes the following construction steps: Obtain training samples of normal fundus images and fundus images of glaucoma lesions, and classify and label the training samples, wherein the training samples are pre-processed by normalization; The training samples are input into the CNN model for training and learning, and the difference between normal fundus images and glaucomatous fundus images is learned. The difference between normal eyes and glaucoma is calculated using a cross entropy loss function, and the cross entropy loss function is: Among them, L is the value of the loss function, y is the true label, is the predicted probability of glaucoma.
7. The deep learning-based fundus image analysis method according to claim 6, characterized in that: The model training of the neural network learns multiple classifications, including normal eyes, early glaucoma, middle glaucoma, and late glaucoma. The cross entropy loss function is: Among them, C is the total number of categories, y i is a binary indicator indicating whether the fundus image belongs to category i; is the probability of predicting the fundus image belonging to category i.
8. A fundus image analysis system based on deep learning, characterized in that: include: An image acquisition module, used for acquiring fundus images; An image segmentation module, used for performing regional segmentation according to the fundus image to obtain an image to be analyzed, and performing normalization preprocessing on the image to be analyzed; The neural network model inputs the preprocessed image to be analyzed into the pre-trained neural network model for feature extraction; the feature information of each fundus image is generated by the neural network model, and the probability of glaucoma is output according to the analysis of the feature information.
9. The deep learning-based fundus image analysis system according to claim 8, characterized in that: The neural network model is pre-trained to learn the difference between normal fundus images and glaucomatous fundus images, wherein the difference between normal eyes and glaucoma is calculated using a cross entropy loss function, and the cross entropy loss function is: Among them, L is the value of the loss function, y is the true label, is the predicted probability of glaucoma.
10. The deep learning-based fundus image analysis method according to claim 9, characterized in that: The model training of the neural network learns multiple classifications, including normal eyes, early glaucoma, middle glaucoma, and late glaucoma. The cross entropy loss function is: Among them, C is the total number of categories, y i is a binary indicator indicating whether the fundus image belongs to category i; is the probability of predicting the fundus image belonging to category i.
Citation Information
Cited By
Eye ground photo region texture feature extraction method and system for glaucoma diagnosis
CN121353219A
