Retinopathy identification equipment, device and storage medium
Through the retinopathy recognition equipment, combined with the retinopathy network, lesion detection network and decision tree, the accurate identification of multiple retinal lesions is achieved, which solves the limitations of single disease recognition in the existing technology and improves the recognition accuracy.
Patent Information
- Application Number
- CN202210254666.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-15
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-03-15
AI Technical Summary
Existing retinal disease identification methods mainly focus on the identification of a single disease type and cannot effectively identify multiple fundus diseases, resulting in strong application limitations in actual medical scenarios.
A retinal lesion recognition device is used, including a memory and a processor. By acquiring the original fundus image, inputting it into the target retinal lesion recognition network, lesion detection network and decision tree, the results are corrected by combining the image-level and pixel-level recognition results to achieve multi-dimensional recognition. Accurate identification of retinopathy.
It improves the accuracy of retinal disease identification, can identify common lesions according to the incidence area, and corrects the recognition results through feature rules, which is suitable for the identification of multiple types of retinal diseases.
Smart Images

Figure CN114627078B
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to but are not limited to the field of artificial intelligence digital medical technology, and in particular to a retinal lesion identification device, apparatus and storage medium. Background Art
[0002] Existing methods for identifying retinal lesions mostly focus on identifying a single disease, such as glaucoma, diabetic retinopathy, etc. However, in actual medical scenarios, patients may suffer from multiple fundus diseases at the same time, so a single solution has obvious limitations in clinical applications. Summary of the invention
[0003] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
[0004] The main purpose of the embodiments of the present invention is to provide a retinal lesion identification device, apparatus and storage medium, which can effectively improve the accuracy of retinal lesion identification.
[0005] In a first aspect, an embodiment of the present invention provides a retinal lesion identification device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a retinal lesion identification method is implemented, and the method includes:
[0006] Acquire original fundus images;
[0007] Inputting the original fundus image into a target retinal lesion recognition network to obtain an image-level recognition result output by the target retinal lesion recognition network;
[0008] Inputting the original fundus image into a target lesion detection network to obtain a pixel-level lesion recognition result output by the target lesion detection network;
[0009] The image-level recognition result and the pixel-level lesion recognition result are input into a target decision tree for result correction processing to obtain a retinal lesion recognition result output by the target decision tree, wherein the target decision tree is constructed by the image-level recognition result and the pixel-level lesion recognition result.
[0010] In one embodiment, before inputting the original fundus image into the target retinal lesion recognition network to obtain the image-level recognition result output by the target retinal lesion recognition network, the method performed by the processor includes:
[0011] Inputting the original fundus image into a macular disc region extraction network for first-stage training to obtain a target macular disc region extraction network;
[0012] Inputting the original fundus image into the target macular optic disc area extraction network to obtain a macular area positioning image and an optic disc area positioning image;
[0013] The macular area positioning image, the optic disc area positioning image and the original fundus image are respectively input into the macular area lesion recognition network branch, the optic disc area lesion recognition network branch and other retinal lesion recognition network branches for the second stage training, so as to obtain the target macular area lesion recognition network branch, the target optic disc area lesion recognition network branch and the target other retinal lesion recognition network branch;
[0014] A target retinal lesion recognition network is obtained according to the target macular area lesion recognition network branch, the target optic disc area lesion recognition network branch and the target other retinal lesion recognition network branch.
[0015] In one embodiment, the method executed by the processor of inputting the original fundus image into a target retinal lesion recognition network to obtain an image-level recognition result output by the target retinal lesion recognition network includes:
[0016] Inputting the original fundus image into the target macular optic disc area extraction network to obtain a macular area positioning image and an optic disc area positioning image;
[0017] The macular area positioning image, the optic disc area positioning image and the original fundus image are respectively input into the target macular area lesion recognition network branch, the target optic disc area lesion recognition network branch and the target other retinal lesion recognition network branch to obtain image-level recognition results, which include macular area lesion recognition results, optic disc area lesion recognition results and overall retinal lesion recognition results.
[0018] In one embodiment, the method of inputting the original fundus image into a macular optic disc area extraction network for first-stage training to obtain a target macular optic disc area extraction network, and the method executed by the processor includes:
[0019] Inputting the original fundus image into the macular optic disc area extraction network for area positioning processing to obtain a macular area positioning image and an optic disc area positioning image;
[0020] Calculate the macular area positioning image and the optic disc area positioning image respectively through a first loss function to obtain a first loss function value;
[0021] The macular disc region extraction network is iteratively trained according to the first loss function value to obtain a target macular disc region extraction network.
[0022] In one embodiment, the method of inputting the macular area positioning image, the optic disc area positioning image and the original fundus image into the macular area lesion recognition network branch, the optic disc area lesion recognition network branch and other retinal lesion recognition network branches for second-stage training to obtain a target macular area lesion recognition network branch, a target optic disc area lesion recognition network branch and other retinal lesion recognition network branches, and the processor executes the method comprising:
[0023] Inputting the macular area positioning image into the macular area lesion recognition network branch for recognition and classification processing to obtain a macular area lesion recognition result;
[0024] Calculating the macular lesion recognition result through a second loss function to obtain a second loss function value;
[0025] Iteratively training the macular lesion recognition network branch according to the second loss function value to obtain a target macular lesion recognition network branch;
[0026] Inputting the optic disc area positioning image into the optic disc area lesion recognition network branch for recognition and classification processing to obtain an optic disc area lesion recognition result;
[0027] Calculating the optic disc area lesion recognition result through a second loss function to obtain a third loss function value;
[0028] Iteratively training the optic disc area lesion recognition network branch according to the third loss function value to obtain a target optic disc area lesion recognition network branch;
[0029] Inputting the original fundus image into the other retinal lesion recognition network branch for recognition and classification processing to obtain other optic disc area lesion recognition results;
[0030] Calculating the other retinal lesion identification results through the second loss function to obtain a fourth loss function value;
[0031] The other retinal lesion recognition network branch is iteratively trained according to the fourth loss function value to obtain the target other retinal lesion recognition network branch.
[0032] In one embodiment, before inputting the original fundus image into a target lesion detection network to obtain a pixel-level lesion recognition result output by the target lesion detection network, the method executed by the processor includes:
[0033] The original fundus image is input into the lesion detection network for the third stage training to obtain the target lesion detection network.
[0034] In one embodiment, the method of inputting the original fundus image into a lesion detection network for third-stage training to obtain a target lesion detection network, and the method executed by the processor includes:
[0035] Inputting the original fundus image into the lesion detection network for identification processing to obtain the lesion category;
[0036] Comparing the lesion category with the lesion annotation to obtain a fifth loss function value;
[0037] The lesion detection network is iteratively trained according to the fifth loss function value to obtain the lesion detection network.
[0038] In one embodiment, before inputting the image-level recognition result and the pixel-level lesion recognition result into the target decision tree for result correction processing and obtaining the retinal lesion recognition result output by the target decision tree, the method executed by the processor includes:
[0039] Combining the image-level recognition result and the pixel-level lesion recognition result to obtain a recognition feature set;
[0040] The target decision tree is constructed based on the recognition feature set.
[0041] In a second aspect, an embodiment of the present invention provides a retinal lesion identification device, characterized in that it includes:
[0042] An acquisition module, used for acquiring original fundus images;
[0043] A first recognition module, used for inputting the original fundus image into a target retinal lesion recognition network to obtain an image-level recognition result output by the target retinal lesion recognition network;
[0044] A second recognition module is used to input the original fundus image into a target lesion detection network to obtain a pixel-level lesion recognition result output by the target lesion detection network;
[0045] A decision module is used to input the image-level recognition result and the pixel-level lesion recognition result into a target decision tree for result correction processing to obtain a retinal lesion recognition result output by the target decision tree, wherein the target decision tree is constructed by the image-level recognition result and the pixel-level lesion recognition result.
[0046] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions, wherein the method for executing the computer-executable instructions includes:
[0047] Acquire original fundus images;
[0048] Inputting the original fundus image into a target retinal lesion recognition network to obtain an image-level recognition result output by the target retinal lesion recognition network;
[0049] Inputting the original fundus image into a target lesion detection network to obtain a pixel-level lesion recognition result output by the target lesion detection network;
[0050] The image-level recognition result and the pixel-level lesion recognition result are input into the target decision tree for result correction processing to obtain the retinal lesion recognition result output by the target decision tree, and the target decision tree is constructed by the image-level recognition result and the pixel-level lesion recognition result.
[0051] The embodiment of the present invention discloses a retinal lesion recognition device, the recognition device includes: a memory, a processor and a computer program stored in the memory and can be run on the processor. When the processor executes the computer program, a retinal lesion recognition method is implemented, and the method includes: obtaining an original fundus image; inputting the original fundus image into a target retinal lesion recognition network to obtain an image-level recognition result output by the target retinal lesion recognition network; inputting the original fundus image into a target lesion detection network to obtain a pixel-level lesion recognition result output by the target lesion detection network; inputting the image-level recognition result and the pixel-level lesion recognition result into a target decision tree for result correction processing to obtain a retinal lesion recognition result output by the target decision tree, and the target decision tree is constructed by the image-level recognition result and the pixel-level lesion recognition result. The technical solution of this embodiment, on the one hand, groups and identifies common retinal lesions according to different diseased areas, and on the other hand, detects and identifies specific lesions, and corrects the recognition results by constructing feature rules, which can effectively improve the accuracy of retinal lesion recognition.
[0052] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 is a schematic diagram of a retinal lesion identification device provided by an embodiment of the present invention;
[0054] Figure 2 is a flow chart of a method performed by a retinal lesion identification device provided by an embodiment of the present invention;
[0055] Figure 3 is a flow chart of training a retinal lesion recognition network in a retinal lesion recognition method provided by an embodiment of the present invention;
[0056] Figure 4 is a schematic diagram of a network block diagram for identifying retinal lesions provided by an embodiment of the present invention;
[0057] Figure 5 is a flow chart of training a lesion detection network in a method for identifying retinal lesions provided by an embodiment of the present invention;
[0058] Figure 6 is a schematic diagram of a lesion detection network block diagram provided by an embodiment of the present invention;
[0059] Figure 7 It is a schematic diagram of a retinal lesion identification device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0060] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0061] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims or the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0062] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0063] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0064] Digital medicine is a new type of modern medical treatment that applies modern computer technology and information technology to the entire medical process. It is the development direction and management goal of public medical care. With the emergence of digital medical equipment, the connotation and capacity of medical information have been greatly enriched. From the original one-dimensional information visualization, such as important electrophysiological information such as electrocardiogram (ECG) and electroencephalogram (EEG); to two-dimensional information, such as CT, MRI, color ultrasound, digital X-ray (DR) and other medical imaging information; and then three-dimensional visualization, even four-dimensional information can be obtained, such as a three-dimensional heart displayed in real time. This information has greatly enriched the doctor's diagnostic technology and brought medicine into a new era of visualization information. Digital medicine is not just a simple collection of digital medical equipment, but a new type of modern medical treatment that applies contemporary computer technology and information technology to the entire medical process. In digital medicine, patients can complete their medical treatment with the least process, the accuracy of doctors' diagnosis is greatly improved, and the patient's medical record information archive records all current and historical patients' health information, which can greatly facilitate doctors' diagnosis and patients' self-examination, and truly realize the comprehensive patient data call required for remote consultation, and achieve fast and effective service.
[0065] Vision is the channel and means for humans to perceive and obtain information with the largest amount of information. More than 80% of human information is obtained through vision, so the health of the human visual system is particularly important. Relying on the development of big data and artificial intelligence technology, an intelligent and convenient retinal health screening system is developed to relieve the pressure on doctors, make up for the shortage of doctors in grassroots areas, achieve early detection and treatment of eye diseases, and reduce the blindness rate. Existing methods for identifying retinal lesions are mostly focused on the identification of a single disease, such as glaucoma, diabetic retinopathy, etc. However, in actual medical scenarios, patients may suffer from multiple fundus diseases at the same time, so a single solution has obvious limitations in clinical applications.
[0066] To solve the above problems, the embodiment of the present invention provides a retinal lesion recognition device, apparatus and storage medium, wherein the retinal lesion recognition device includes: a memory, a processor and a computer program stored in the memory and can be run on the processor, and the processor implements a retinal lesion recognition method when executing the computer program, and the method includes: obtaining an original fundus image; inputting the original fundus image into a target retinal lesion recognition network to obtain an image-level recognition result output by the target retinal lesion recognition network; inputting the original fundus image into a target lesion detection network to obtain a pixel-level lesion recognition result output by the target lesion detection network; inputting the image-level recognition result and the pixel-level lesion recognition result into a target decision tree for result correction processing, and obtaining a retinal lesion recognition result output by the target decision tree, and the target decision tree is constructed by the image-level recognition result and the pixel-level lesion recognition result. The technical solution of this embodiment, on the one hand, groups and identifies common retinal lesions according to different diseased areas, and on the other hand, detects and identifies specific lesions, and corrects the recognition results by constructing feature rules, which can effectively improve the accuracy of retinal lesion recognition.
[0067] The embodiments of the present invention are further described below in conjunction with the accompanying drawings.
[0068] like Figure 1 As shown, Figure 1 Schematic diagram of a retinal lesion identification device 100 for executing a retinal lesion identification method provided in accordance with an embodiment of the present invention.
[0069] exist Figure 1 In the example, the retinal lesion identification device 100 is provided with a processor 110 and a memory 120, wherein the processor 110 and the memory 120 can be connected via a bus or other means. Figure 1 The example of connecting through bus is taken in the following.
[0070] The memory 120, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer executable programs. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 120 may optionally include a memory remotely disposed relative to the processor 110, and these remote memories may be connected to the system architecture platform via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0071] Those skilled in the art will appreciate that the system architecture platform can be applied to existing communication network systems and subsequently evolved mobile communication network systems, etc., and this embodiment does not specifically limit this.
[0072] It can be understood by those skilled in the art that Figure 1 The system architecture platform shown in the figure does not constitute a limitation on the embodiments of the present invention, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0073] The retinal lesion identification device 100 can be an independent device or a cloud retinal lesion identification device 100 that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.
[0074] The retinal lesion identification device 100 may also include: a radio frequency (RF) circuit, a memory, an input unit, a display unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a processor, a power supply and other components. Those skilled in the art will understand that this embodiment does not limit the structure of the computer exclusively, and may include more or fewer components than this embodiment, or combine certain components, or arrange components differently.
[0075] RF circuits can be used to receive and send signals during the process of sending and receiving information or making calls. In particular, after receiving the downlink information of the base station, it is processed by the processor; in addition, the designed uplink data is sent to the base station. Usually, the RF circuit includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA for short), a duplexer, etc. In addition, the RF circuit can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to the Global System of Mobile communication (GSM for short), General Packet Radio Service (GPRS for short), Code Division Multiple Access (CDMA for short), Wideband Code Division Multiple Access (WCDMA for short), Long Term Evolution (LTE for short), email, Short Messaging Service (SMS for short), etc.
[0076] The memory can be used to store software programs and modules. The processor executes various functional applications and data processing of the computer by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the computer (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0077] The input unit can be used to receive input digital or character information, and to generate key signal input related to the setting and function control of the retinal lesion identification device 100. Specifically, the input unit may include a touch panel and other input devices. The touch panel, also known as a touch screen, can collect touch operations on or near it (such as using any suitable object or accessory such as a finger, stylus, etc. on or near the touch panel), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the contact coordinates, and then sends it to the processor, and can receive and execute the command sent by the processor. In addition, the touch panel can be implemented in various categories such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel, the input unit may also include other input devices. Specifically, other input devices may include but are not limited to one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc.
[0078] The display unit may be used to display input information or provided information and various menus of the computer. The display unit may include a display panel, and optionally, the display panel may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), etc. Further, the touch panel may cover the display panel, and when the touch panel detects a touch operation on or near it, it is transmitted to the processor to determine the category of the touch event, and then the processor provides a corresponding visual output on the display panel according to the category of the touch event. Although the touch panel and the display panel are used as two independent components to realize the input and output functions of the computer, in some embodiments, the touch panel and the display panel can be integrated to realize the input and output functions of the computer.
[0079] The retinal lesion identification device 100 may also include at least one sensor, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and / or backlight when the computer is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that segment computer postures (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration segmentation related functions (such as pedometers, tapping), etc.; as for other sensors that can be configured on the computer, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0080] The audio circuit, the speaker, and the microphone can provide an audio interface. The audio circuit can transmit the received audio data to the speaker after converting the electrical signal, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit and converted into audio data, and then the audio data is output to the processor for processing, and then sent to another computer through the RF circuit, or the audio data is output to the memory for further processing.
[0081] WiFi is a short-range wireless transmission technology. Computers can send and receive emails, browse web pages, and access streaming media through WiFi modules. It provides wireless broadband Internet access. WiFi modules are not a necessary component of computers and can be omitted as needed without changing the essence of the invention.
[0082] The processor is the control center of the computer. It uses various interfaces and lines to connect the various parts of the entire computer. It executes various functions of the computer and processes data by running or executing software programs and / or modules stored in the memory, and calling data stored in the memory, so as to monitor the computer as a whole. Optionally, the processor may include one or more processing units; preferably, the processor may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, operating interface and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor.
[0083] The retinal lesion identification device 100 also includes a power source (such as a battery) for supplying power to each component. Preferably, the power source can be logically connected to the processor through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.
[0084] Although not shown, the computer may also include a camera, a Bluetooth module, etc., which will not be described in detail here.
[0085] Based on the above-mentioned retinal lesion identification device, various embodiments of the retinal lesion identification method of the present invention are proposed below.
[0086] like Figure 2 As shown, Figure 2 It is a flow chart of a retinal lesion identification method provided by an embodiment of the present invention. The retinal lesion identification method is applied to the above-mentioned retinal lesion identification device, and the retinal lesion identification method includes but is not limited to step S100, step S200, step S300 and step S400.
[0087] Step S100, obtaining an original fundus image.
[0088] Specifically, during the actual processing process, the original fundus image is usually a fundus image with retinal disease problems, which is an unprocessed image of the fundus. The original fundus image can be a fundus image in a historical database, a fundus image disclosed on a public network, or a fundus image taken in real time. This embodiment does not make any specific limitations on it, and the number and type of original fundus images can be increased or decreased according to actual usage needs.
[0089] Step S200, inputting the original fundus image into the target retinal lesion recognition network to obtain an image-level recognition result output by the target retinal lesion recognition network.
[0090] In one embodiment, the identification and analysis of retinal lesions usually requires analysis of the macular area and optic disc area of the fundus. Therefore, the target retinal lesion identification network may include a target macular area lesion identification network branch and a target optic disc area lesion identification network branch. The original fundus image is input into the target macular optic disc area extraction network to obtain a macular area positioning image and an optic disc area positioning image; the macular area positioning image and the optic disc area positioning image are respectively input into the target macular area lesion identification network branch and the target optic disc area lesion identification network branch to obtain image-level recognition results, and the image-level recognition results include macular area lesion recognition results and optic disc area lesion recognition results.
[0091] In one embodiment, when the target retinal lesion identification network may include a target macular area lesion identification network branch, a target optic disc area lesion identification network branch, and a target other retinal lesion identification network branch, the original fundus image may be input into the target macular optic disc area extraction network to obtain a macular area positioning image and an optic disc area positioning image; the macular area positioning image, the optic disc area positioning image, and the original fundus image are respectively input into the target macular area lesion identification network branch, the target optic disc area lesion identification network branch, and the target other retinal lesion identification network branch to obtain image-level recognition results, and the image-level recognition results include macular area lesion recognition results, optic disc area lesion recognition results, and overall retinal lesion recognition results.
[0092] It should be noted that the macular lesion identification results may include at least one of the following: age-related macular degeneration, epiretinal membrane, macular hole, mesoplasmosis, and diabetic macular edema. This embodiment does not specifically limit the macular lesion identification results.
[0093] It should be noted that the optic disc area lesion recognition result may include at least one of the following: glaucoma, optic disc edema, and myelinated optic nerve fibers. This embodiment does not specifically limit the optic disc area lesion recognition result.
[0094] It should be noted that the overall retinal lesion recognition result may include at least one of the following: diabetic retinopathy, retinal vein occlusion, retinal artery occlusion, pathological myopia, retinitis pigmentosa, retinal detachment, and stellate vitreous degeneration. This embodiment does not specifically limit the overall retinal lesion recognition result.
[0095] Step S300, inputting the original fundus image into the target lesion detection network to obtain the pixel-level lesion recognition result output by the target lesion detection network.
[0096] Specifically, in addition to the image-level recognition results, that is, image-level disease identification, this patent proposal also detects fundus lesions at the pixel level, that is, the original fundus image is input into the target lesion detection network to obtain the pixel-level lesion recognition results output by the target lesion detection network. The pixel-level lesion recognition results include at least one of the following: hemorrhage, hard exudate, drusen, microaneurysm, cotton wool spots, plaque-like atrophy, geographic atrophy, retinal scar, myopic arc. This embodiment does not specifically limit the pixel-level lesion recognition results.
[0097] Step S400, input the image-level recognition results and the pixel-level lesion recognition results into the target decision tree for result correction processing to obtain the retinal lesion recognition results output by the target decision tree, and the target decision tree is constructed by the image-level recognition results and the pixel-level lesion recognition results.
[0098] Specifically, the image-level recognition results and the pixel-level lesion recognition results are input into the target decision tree constructed by the image-level recognition results and the pixel-level lesion recognition results for result correction processing to obtain the retinal lesion recognition results output by the target decision tree. The technical scheme implemented in this embodiment, on the one hand, groups and identifies common retinal lesions according to different areas of disease occurrence, and on the other hand, detects and identifies specific lesions, and corrects the recognition results by constructing feature rules, which can effectively improve the accuracy of retinal lesion recognition.
[0099] It should be noted that the method for constructing the target decision tree includes: firstly merging the image-level recognition result and the pixel-level lesion recognition result to obtain a recognition feature set, and then constructing a target decision tree based on the recognition feature set.
[0100] In one embodiment, the patient's eyes are first photographed to obtain an original fundus image, and the original fundus image of the patient is stored or sent to a retinal lesion recognition device, which obtains the original fundus image, and then inputs the original fundus image into a target retinal lesion recognition network to obtain an image-level recognition result output by the target retinal lesion recognition network, and at the same time inputs the original fundus image into a target lesion detection network to obtain a pixel-level lesion recognition result output by the target lesion detection network, and then inputs the image-level recognition result and the pixel-level lesion recognition result into a target decision tree for result correction processing to obtain a retinal lesion recognition result output by the target decision tree, and the target decision tree is constructed by the image-level recognition result and the pixel-level lesion recognition result. The technical solution of this embodiment, on the one hand, groups and identifies common retinal lesions according to different diseased areas, and on the other hand, detects and identifies specific lesions, and corrects the recognition results by constructing feature rules, which can effectively improve the accuracy of retinal lesion recognition.
[0101] This technical solution realizes the positioning of the retinal area of the fundus image, including the macular area and the optic disc area, and then respectively identifies the macular area disease, optic disc area disease, and other retinal diseases through three sub-networks, and then performs lesion detection on the fundus image based on the Mask-RCNN network, and corrects the disease identification results by building a decision tree based on the lesion detection results. This technical solution realizes a general solution that can simultaneously identify multiple types of retinal diseases based on actual needs, which greatly improves the applicability of artificial intelligence in identifying retinal diseases. On the other hand, the disease identification results are corrected in combination with specific lesion information, which is closer to the clinical diagnosis and treatment logic, increases the interpretability of the algorithm, and improves the accuracy of recognition.
[0102] Reference Figure 3 In one embodiment, step S300 includes but is not limited to step S310, step S320, step S330 and step S340.
[0103] Step S310, inputting the original fundus image into the macular disc region extraction network for first stage training to obtain a target macular disc region extraction network;
[0104] Step S320, inputting the original fundus image into the target macular optic disc area extraction network to obtain a macular area positioning image and an optic disc area positioning image;
[0105] Step S330, inputting the macular area positioning image, the optic disc area positioning image and the original fundus image into the macular area lesion recognition network branch, the optic disc area lesion recognition network branch and other retinal lesion recognition network branch for second-stage training, to obtain the target macular area lesion recognition network branch, the target optic disc area lesion recognition network branch and the target other retinal lesion recognition network branch;
[0106] Step S340, obtaining a target retinal lesion recognition network according to the target macular area lesion recognition network branch, the target optic disc area lesion recognition network branch and the target other retinal lesion recognition network branch.
[0107] In one embodiment, referring to Figure 4 , Figure 4It is a framework diagram of a retinal lesion recognition network, including a macular optic disc area extraction network, a macular lesion recognition network branch, an optic disc lesion recognition network branch, and other retinal lesion recognition network branches, wherein the macular optic disc area extraction network is used to perform area extraction on the original fundus image, output a macular area positioning image and an optic disc area positioning image, and input the output macular area positioning image and optic disc area positioning image into the macular area lesion recognition network branch and the optic disc area lesion recognition network branch, respectively, the macular area lesion recognition network branch is used to recognize the macular area positioning image and output the macular area lesion recognition result, the optic disc area lesion recognition network branch is used to recognize the optic disc area positioning image and output the optic disc area lesion recognition result, and the other retinal lesion recognition network branches are distinguished from the other two branches by a third network branch, which inputs the original fundus image of the entire retina, and is used to recognize the entire retina and output the overall retinal lesion recognition result. In the technical solution of the present embodiment, the target retinal lesion recognition network is obtained by training the retinal lesion recognition network in two stages. First, the original fundus image is input into the macular optic disc area extraction network for the first stage training to obtain the target macular optic disc area extraction network. Then, the original fundus image is input into the target macular optic disc area extraction network to obtain the macular area positioning image and the optic disc area positioning image. Then, the macular area positioning image, the optic disc area positioning image and the original fundus image are respectively input into the macular area lesion recognition network branch, the optic disc area lesion recognition network branch and other retinal lesion recognition network branches for the second stage training to obtain the target macular area lesion recognition network branch, the target optic disc area lesion recognition network branch and the target other retinal lesion recognition network branch. Finally, the target retinal lesion recognition network is obtained according to the target macular area lesion recognition network branch, the target optic disc area lesion recognition network branch and the target other retinal lesion recognition network branch.
[0108] It should be noted that the original fundus image is input into the macular optic disc area extraction network for the first stage of training to obtain a target macular optic disc area extraction network, and the method executed by the processor includes: inputting the original fundus image into the macular optic disc area extraction network for area positioning processing to obtain a macular area positioning image and an optic disc area positioning image; calculating the macular area positioning image and the optic disc area positioning image respectively through a first loss function to obtain a first loss function value; iteratively training the macular optic disc area extraction network according to the first loss function value to obtain a target macular optic disc area extraction network.
[0109] It should be noted that the macular area positioning image, the optic disc area positioning image and the original fundus image are respectively input into the macular area lesion recognition network branch, the optic disc area lesion recognition network branch and other retinal lesion recognition network branches for the second stage of training to obtain the target macular area lesion recognition network branch, the target optic disc area lesion recognition network branch and the target other retinal lesion recognition network branch. The method executed by the processor includes: inputting the macular area positioning image into the macular area lesion recognition network branch for recognition and classification processing to obtain the macular area lesion recognition result; calculating the macular area lesion recognition result through the second loss function to obtain the second loss function value; iteratively training the macular area lesion recognition network branch according to the second loss function value to obtain the target macular area lesion recognition network branch. The invention discloses a method for obtaining a target optic disc area lesion recognition network branch; inputting the optic disc area positioning image into the optic disc area lesion recognition network branch for recognition and classification processing to obtain the optic disc area lesion recognition result; calculating the optic disc area lesion recognition result through the second loss function to obtain the third loss function value; iteratively training the optic disc area lesion recognition network branch according to the third loss function value to obtain the target optic disc area lesion recognition network branch; inputting the original fundus image into the other retinal lesion recognition network branch for recognition and classification processing to obtain the other optic disc area lesion recognition result; calculating the other retinal lesion recognition result through the second loss function to obtain the fourth loss function value; iteratively training the other retinal lesion recognition network branch according to the fourth loss function value to obtain the target other retinal lesion recognition network branch.
[0110] In one embodiment, a macula optic disc region extraction network based on Mask-RCNN is first implemented to locate the macula and optic disc regions of the original fundus image. The optic disc diameter is calculated based on the optic disc mask output by Mask-RCNN, and three regions of optic disc diameter are cropped based on the macula center coordinates and optic disc center coordinates output by Mask-RCNN as inputs to the classification subnetwork, and a macula region positioning image and an optic disc region positioning image are output respectively.
[0111] The training data were grouped according to the pathogenesis and the area of disease, including five types of macular lesions (age-related macular degeneration, epiretinal membrane, macular hole, mesoplasm, diabetic macular edema), three types of optic disc lesions (glaucoma, optic disc edema, myelinated optic nerve fibers), and seven other retinal lesions (diabetic retinopathy, retinal vein occlusion, retinal artery occlusion, pathological myopia, retinitis pigmentosa, retinal detachment, and stellate vitreous degeneration). The three groups of data were then used to train three classification sub-networks (macular lesion recognition network branch, optic disc lesion recognition network branch, and other retinal lesion recognition network branch), whose network structure was a classification network with a dense attention mechanism, in which the attention mechanism of SENet was added to the conventional convolutional network.
[0112] The technical solution of this embodiment adopts a two-stage training strategy. Figure 4 As shown in the figure, the Mask-RCNN model is first trained to locate the optic disc and macula. The input is the original fundus color image, and the output is the positioning box of the macula and optic disc [x, y, w, h, c], where x and y represent the coordinates of the upper left corner of the positioning box, w and h represent the width and height of the positioning box, and c represents the category (0 represents background; 1 represents optic disc; 2 represents macula). The first loss function of the retinal lesion recognition network is:
[0113] L detection =L box +L cls
[0114]
[0115]
[0116] In the second stage, three classification sub-networks are trained (macular lesion recognition network branch, optic disc lesion recognition network branch, and other retinal lesion recognition network branches). Figure 4 As shown in the figure, the input of the macular lesion recognition network branch is the macular image, and the output is the binary classification results of 5 types of macular lesions [0, 0, 0, 0, 1], where 0 indicates the absence of such lesions and 1 indicates the presence of such lesions. Similarly, the input of the optic disc lesion recognition network branch is the optic disc image, and the output is the binary classification results of 3 types of optic disc lesions [0, 0, 0]. The input of the other retinal lesion recognition network branch is the entire retinal image, and the output is the binary classification results of 7 types of retinal lesions [1, 0, 0, 0, 0, 0]. The binary cross entropy is used as the second loss function to train the three classification sub-networks to obtain the target macular lesion recognition network branch, the target optic disc lesion recognition network branch, and the target other retinal lesion recognition network branch.
[0117]
[0118]
[0119]
[0120] During the application process, the recognition results of the three networks are integrated as the recognition results of 15 types of lesions, and the image-level recognition results may include one or more of the recognition results of the 15 types of lesions.
[0121] Reference Figure 5In one embodiment, the steps of inputting the original fundus image into the lesion detection network for third-stage training to obtain a target lesion detection network include but are not limited to step S510, step S520 and step S530.
[0122] Step S510, inputting the original fundus image to perform recognition processing to obtain the lesion category;
[0123] Step S520, comparing the lesion category with the lesion label to obtain a fifth loss function value;
[0124] Step S530, iteratively training the lesion detection network according to the fifth loss function value to obtain the lesion detection network.
[0125] In one embodiment, referring to Figure 6 , is a lesion detection network based on Mask-RCNN, which is used to detect pixel-level lesions in the original fundus image. The pixel-level lesion recognition results include more than 10 common lesions such as hemorrhage, hard exudation, drusen, microaneurysm, cotton wool spots, plaque atrophy, map-like atrophy, retinal scars, myopic arcs, etc. There is a causal relationship between the pixel-level lesion recognition results and the retinal lesions (image-level recognition results). Therefore, in the technical solution of this embodiment, it is necessary to train the lesion detection network to obtain the target lesion detection network. The lesion detection network structure mainly uses the Mask-RCNN network, and the output is the identified lesion category, lesion frame position, and lesion segmentation mask. The technical solution of this embodiment mainly uses the lesion category for training, that is, the original fundus image is input to perform recognition processing to obtain the lesion category, and then the lesion category is compared with the lesion annotation to obtain the fifth loss function value, and then the lesion detection network is iteratively trained according to the fifth loss function value to obtain the lesion detection network.
[0126] Based on the above-mentioned retinal lesion identification device, various embodiments of the retinal lesion identification device, computer and computer-readable storage medium of the present invention are respectively proposed below.
[0127] Reference Figure 7 One embodiment of the present invention further provides a retinal lesion identification device, comprising:
[0128] An acquisition module 710 is used to acquire an original fundus image;
[0129] The first recognition module 720 is used to input the original fundus image into the target retinal lesion recognition network to obtain the image-level recognition result output by the target retinal lesion recognition network;
[0130] The second recognition module 730 is used to input the original fundus image into the target lesion detection network to obtain the pixel-level lesion recognition result output by the target lesion detection network;
[0131] The decision module 740 is used to input the image-level recognition results and the pixel-level lesion recognition results into the target decision tree for result correction processing to obtain the retinal lesion recognition results output by the target decision tree. The target decision tree is constructed by the image-level recognition results and the pixel-level lesion recognition results.
[0132] In one embodiment, it also includes a first training module, which is used to input the original fundus image into the macular disc area extraction network for the first stage training to obtain the target macular disc area extraction network; input the original fundus image into the target macular disc area extraction network to obtain the macular area positioning image and the optic disc area positioning image; input the macular area positioning image, the optic disc area positioning image and the original fundus image into the macular area lesion recognition network branch, the optic disc area lesion recognition network branch and other retinal lesion recognition network branches for the second stage training to obtain the target macular area lesion recognition network branch, the target optic disc area lesion recognition network branch and other target retinal lesion recognition network branches; obtain the target retinal lesion recognition network according to the target macular area lesion recognition network branch, the target optic disc area lesion recognition network branch and other target retinal lesion recognition network branches.
[0133] In one embodiment, the first recognition module 720 is also used to input the original fundus image into the target macular optic disc area extraction network to obtain a macular area positioning image and an optic disc area positioning image; the macular area positioning image, the optic disc area positioning image and the original fundus image are respectively input into the target macular area lesion recognition network branch, the target optic disc area lesion recognition network branch and the target other retinal lesion recognition network branch to obtain image-level recognition results, and the image-level recognition results include macular area lesion recognition results, optic disc area lesion recognition results and overall retinal lesion recognition results.
[0134] In one embodiment, it also includes a second training module, which is used to input the original fundus image into the macular optic disc area extraction network for area positioning processing to obtain a macular area positioning image and an optic disc area positioning image; calculate the macular area positioning image and the optic disc area positioning image respectively through a first loss function to obtain a first loss function value; iteratively train the macular optic disc area extraction network according to the first loss function value to obtain a target macular optic disc area extraction network.
[0135] In one embodiment, the second training module is also used to input the macular area positioning image into the macular area lesion recognition network branch for recognition and classification processing to obtain the macular area lesion recognition result; calculate the macular area lesion recognition result through the second loss function to obtain the second loss function value; iteratively train the macular area lesion recognition network branch according to the second loss function value to obtain the target macular area lesion recognition network branch; input the optic disc area positioning image into the optic disc area lesion recognition network branch for recognition and classification processing to obtain the optic disc area lesion recognition result; calculate the optic disc area lesion recognition result through the second loss function to obtain the third loss function value; iteratively train the optic disc area lesion recognition network branch according to the third loss function value to obtain the target optic disc area lesion recognition network branch; input the original fundus image into the other retinal lesion recognition network branch for recognition and classification processing to obtain the other optic disc area lesion recognition results; calculate the other retinal lesion recognition results through the second loss function to obtain the fourth loss function value; iteratively train the other retinal lesion recognition network branch according to the fourth loss function value to obtain the target other retinal lesion recognition network branch.
[0136] In one embodiment, a third training module is further included. The second training module inputs the original fundus image into the lesion detection network for third stage training to obtain a target lesion detection network.
[0137] In one embodiment, the third training module is also used to input the original fundus image for recognition processing to obtain the lesion category; compare the lesion category with the lesion annotation to obtain the fifth loss function value; iteratively train the lesion detection network according to the fifth loss function value to obtain the lesion detection network.
[0138] In one embodiment, it also includes a construction module, which is used to merge the image-level recognition results and the pixel-level lesion recognition results to obtain a set of recognition features; and construct a target decision tree based on the set of recognition features.
[0139] It should be noted that the various embodiments of the above-mentioned retinal lesion identification device are consistent with the technical means used, the technical problems solved and the technical effects achieved in the embodiments of the retinal lesion identification device, and will not be described in detail here. For details, please refer to the embodiments of the retinal lesion identification device.
[0140] In addition, one embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are used to execute the above-mentioned retinal lesion identification method, for example, executing the above-described Figure 2 The method steps S100 to S400, Figure 3 Method steps S310 to S340 and Figure 5Method steps S510 to S530 in.
[0141] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0142] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions under the shared conditions without violating the spirit of the present invention. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present invention.
Claims
1. A retinal lesion identification device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a method for identifying retinal lesions is implemented, the method comprising: Acquire original fundus images; Inputting the original fundus image into a target retinal lesion recognition network to obtain an image-level recognition result output by the target retinal lesion recognition network; Inputting the original fundus image into a target lesion detection network to obtain a pixel-level lesion recognition result output by the target lesion detection network; Inputting the image-level recognition result and the pixel-level lesion recognition result into a target decision tree for result correction processing to obtain a retinal lesion recognition result output by the target decision tree, wherein the target decision tree is constructed by the image-level recognition result and the pixel-level lesion recognition result; Before inputting the original fundus image into the target retinal lesion recognition network to obtain the image-level recognition result output by the target retinal lesion recognition network, the method performed by the processor includes: Inputting the original fundus image into a macular disc region extraction network for first-stage training to obtain a target macular disc region extraction network; Inputting the original fundus image into the target macular optic disc area extraction network to obtain a macular area positioning image and an optic disc area positioning image; The macular area positioning image, the optic disc area positioning image and the original fundus image are respectively input into the macular area lesion recognition network branch, the optic disc area lesion recognition network branch and other retinal lesion recognition network branches for the second stage training, so as to obtain the target macular area lesion recognition network branch, the target optic disc area lesion recognition network branch and the target other retinal lesion recognition network branch; Obtain a target retinal lesion recognition network according to the target macular area lesion recognition network branch, the target optic disc area lesion recognition network branch, and the target other retinal lesion recognition network branch; The method executed by the processor of inputting the macular area positioning image, the optic disc area positioning image and the original fundus image into the macular area lesion recognition network branch, the optic disc area lesion recognition network branch and other retinal lesion recognition network branches for second-stage training to obtain the target macular area lesion recognition network branch, the target optic disc area lesion recognition network branch and the target other retinal lesion recognition network branch comprises: Inputting the macular area positioning image into the macular area lesion recognition network branch for recognition and classification processing to obtain a macular area lesion recognition result; Calculating the macular lesion recognition result through a second loss function to obtain a second loss function value; Iteratively training the macular lesion recognition network branch according to the second loss function value to obtain a target macular lesion recognition network branch; Inputting the optic disc area positioning image into the optic disc area lesion recognition network branch for recognition and classification processing to obtain an optic disc area lesion recognition result; Calculating the optic disc area lesion recognition result through a second loss function to obtain a third loss function value; Iteratively training the optic disc area lesion recognition network branch according to the third loss function value to obtain a target optic disc area lesion recognition network branch; Inputting the original fundus image into the other retinal lesion recognition network branch for recognition and classification processing to obtain other optic disc area lesion recognition results; Calculating the other retinal lesion identification results through the second loss function to obtain a fourth loss function value; The other retinal lesion recognition network branch is iteratively trained according to the fourth loss function value to obtain the target other retinal lesion recognition network branch.
2. The retinal lesion identification device according to claim 1, characterized in that: The method of inputting the original fundus image into a target retinal lesion recognition network to obtain an image-level recognition result output by the target retinal lesion recognition network, performed by the processor, comprises: Inputting the original fundus image into the target macular optic disc area extraction network to obtain a macular area positioning image and an optic disc area positioning image; The macular area positioning image, the optic disc area positioning image and the original fundus image are respectively input into the target macular area lesion recognition network branch, the target optic disc area lesion recognition network branch and the target other retinal lesion recognition network branch to obtain image-level recognition results, which include macular area lesion recognition results, optic disc area lesion recognition results and overall retinal lesion recognition results.
3. The retinal lesion identification device according to claim 1, characterized in that: The method executed by the processor of inputting the original fundus image into the macular disc area extraction network for first stage training to obtain the target macular disc area extraction network includes: Inputting the original fundus image into the macular optic disc area extraction network for area positioning processing to obtain a macular area positioning image and an optic disc area positioning image; Calculate the macular area positioning image and the optic disc area positioning image respectively through a first loss function to obtain a first loss function value; The macular disc region extraction network is iteratively trained according to the first loss function value to obtain a target macular disc region extraction network.
4. The retinal lesion identification device according to claim 1, characterized in that: Before inputting the original fundus image into the target lesion detection network to obtain the pixel-level lesion recognition result output by the target lesion detection network, the method performed by the processor includes: The original fundus image is input into the lesion detection network for the third stage training to obtain the target lesion detection network.
5. The retinal lesion identification device according to claim 4, characterized in that: The method of inputting the original fundus image into the lesion detection network for third-stage training to obtain a target lesion detection network, and the method executed by the processor includes: Inputting the original fundus image into the lesion detection network for identification processing to obtain the lesion category; Comparing the lesion category with the lesion annotation to obtain a fifth loss function value; The lesion detection network is iteratively trained according to the fifth loss function value to obtain the lesion detection network.
6. The retinal lesion identification device according to claim 1, characterized in that: Before inputting the image-level recognition result and the pixel-level lesion recognition result into the target decision tree for result correction processing and obtaining the retinal lesion recognition result output by the target decision tree, the method executed by the processor includes: Combining the image-level recognition result and the pixel-level lesion recognition result to obtain a recognition feature set; The target decision tree is constructed based on the recognition feature set.
7. A retinal lesion identification device, characterized in that: include: An acquisition module, used for acquiring original fundus images; A first recognition module, used for inputting the original fundus image into a target retinal lesion recognition network to obtain an image-level recognition result output by the target retinal lesion recognition network; A second recognition module is used to input the original fundus image into a target lesion detection network to obtain a pixel-level lesion recognition result output by the target lesion detection network; A decision module, used for inputting the image-level recognition result and the pixel-level lesion recognition result into a target decision tree for result correction processing to obtain a retinal lesion recognition result output by the target decision tree, wherein the target decision tree is constructed by the image-level recognition result and the pixel-level lesion recognition result; The first recognition module is also used to input the original fundus image into the macular optic disc area extraction network for the first stage training to obtain the target macular optic disc area extraction network; input the original fundus image into the target macular optic disc area extraction network to obtain the macular area positioning image and the optic disc area positioning image; input the macular area positioning image, the optic disc area positioning image and the original fundus image into the macular area lesion recognition network branch, the optic disc area lesion recognition network branch and other retinal lesion recognition network branches for the second stage training to obtain the target macular area lesion recognition network branch, the target optic disc area lesion recognition network branch and the target other retinal lesion recognition network branch; Obtain a target retinal lesion recognition network according to the target macular area lesion recognition network branch, the target optic disc area lesion recognition network branch, and the target other retinal lesion recognition network branch; The first recognition module is further used to input the macular area positioning image into the macular area lesion recognition network branch for recognition and classification processing to obtain a macular area lesion recognition result; calculate the macular area lesion recognition result through a second loss function to obtain a second loss function value; iteratively train the macular area lesion recognition network branch according to the second loss function value to obtain a target macular area lesion recognition network branch; The optic disc area positioning image is input into the optic disc area lesion recognition network branch for recognition and classification processing to obtain the optic disc area lesion recognition result; the optic disc area lesion recognition result is calculated by the second loss function to obtain the third loss function value; the optic disc area lesion recognition network branch is iteratively trained according to the third loss function value to obtain the target optic disc area lesion recognition network branch; the original fundus image is input into the other retinal lesion recognition network branch for recognition and classification processing to obtain the other optic disc area lesion recognition result; the other retinal lesion recognition result is calculated by the second loss function to obtain the fourth loss function value; the other retinal lesion recognition network branch is iteratively trained according to the fourth loss function value to obtain the target other retinal lesion recognition network branch.
8. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute a method comprising: Acquire original fundus images; Inputting the original fundus image into a target retinal lesion recognition network to obtain an image-level recognition result output by the target retinal lesion recognition network; Inputting the original fundus image into a target lesion detection network to obtain a pixel-level lesion recognition result output by the target lesion detection network; Inputting the image-level recognition result and the pixel-level lesion recognition result into a target decision tree for result correction processing to obtain a retinal lesion recognition result output by the target decision tree, wherein the target decision tree is constructed by the image-level recognition result and the pixel-level lesion recognition result; Before inputting the original fundus image into the target retinal lesion recognition network to obtain the image-level recognition result output by the target retinal lesion recognition network, the method executed by the processor includes: Inputting the original fundus image into a macular disc region extraction network for first-stage training to obtain a target macular disc region extraction network; Inputting the original fundus image into the target macular optic disc area extraction network to obtain a macular area positioning image and an optic disc area positioning image; The macular area positioning image, the optic disc area positioning image and the original fundus image are respectively input into the macular area lesion recognition network branch, the optic disc area lesion recognition network branch and other retinal lesion recognition network branches for the second stage training, so as to obtain the target macular area lesion recognition network branch, the target optic disc area lesion recognition network branch and the target other retinal lesion recognition network branch; Obtain a target retinal lesion recognition network according to the target macular area lesion recognition network branch, the target optic disc area lesion recognition network branch, and the target other retinal lesion recognition network branch; The method executed by the processor of inputting the macular area positioning image, the optic disc area positioning image and the original fundus image into the macular area lesion recognition network branch, the optic disc area lesion recognition network branch and other retinal lesion recognition network branches for second-stage training to obtain the target macular area lesion recognition network branch, the target optic disc area lesion recognition network branch and the target other retinal lesion recognition network branch comprises: Inputting the macular area positioning image into the macular area lesion recognition network branch for recognition and classification processing to obtain a macular area lesion recognition result; Calculating the macular lesion recognition result through a second loss function to obtain a second loss function value; Iteratively training the macular lesion recognition network branch according to the second loss function value to obtain a target macular lesion recognition network branch; Inputting the optic disc area positioning image into the optic disc area lesion recognition network branch for recognition and classification processing to obtain an optic disc area lesion recognition result; Calculating the optic disc area lesion recognition result through a second loss function to obtain a third loss function value; Iteratively training the optic disc area lesion recognition network branch according to the third loss function value to obtain a target optic disc area lesion recognition network branch; Inputting the original fundus image into the other retinal lesion recognition network branch for recognition and classification processing to obtain other optic disc area lesion recognition results; Calculating the other retinal lesion identification results through the second loss function to obtain a fourth loss function value; The other retinal lesion recognition network branch is iteratively trained according to the fourth loss function value to obtain the target other retinal lesion recognition network branch.
