A method and device for detecting optic nerve fiber layer defects
By establishing a rotation-invariant coordinate system on fundus images and using neural network modules, the problem of difficulty in detecting optic nerve fiber layer defects and reliance on doctor experience is solved, and efficient and accurate automatic diagnosis is achieved.
Patent Information
- Application Number
- CN202010862449.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-25
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-08-25
AI Technical Summary
The detection of optic nerve fiber layer defects in the existing technology is difficult, relies on the clinical experience of doctors, and lacks automated diagnostic methods, resulting in misdetection and missed detection.
By establishing a coordinate system with rotation invariance on the fundus image and dividing the area around the optic disc, the pre-trained neural network is used in combination with the position-aware attention module and the bidirectional GRU module to capture the dependencies between regional images and output detection results. .
It achieves automatic diagnosis of optic nerve fiber layer defects close to expert level, improves detection accuracy and efficiency, and reduces dependence on doctor experience.
Smart Images

Figure CN112017168B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of medical image processing, and in particular to a method and device for detecting optic nerve fiber layer defects. Background Art
[0002] Retinal nerve fiber layer defect (RNFLD) is one of the earliest objective symptoms of glaucoma, which occurs 4 to 6 years earlier than visual field loss. Therefore, RNFLD is considered to be an early diagnostic evidence for glaucoma. At present, the diagnosis of optic nerve fiber layer defects in fundus color photographs in clinical practice mainly depends on doctors. Generally, the technicians who take fundus color photographs make the diagnosis directly after taking the photos. However, in fundus images, there is only a very slight contrast difference between the optic nerve fiber layer defect area and the background, which makes its detection very challenging, even for very skilled clinicians; and ordinary image enhancement technology cannot solve this problem at all, resulting in false detection and missed detection. In addition, clinicians also need to consider physiological position and global dependence based on rich clinical experience, but there is no automatic diagnosis method that considers physiological position and global dependence in the existing technology. Summary of the invention
[0003] In response to the above-mentioned technical problems in the prior art, the embodiments of the present application propose a method and device for detecting optic nerve fiber layer defects, so as to solve the problems existing in the prior art such as the difficulty in detecting optic nerve fiber layer defect areas and the high dependence on the clinical experience of doctors.
[0004] A first aspect of an embodiment of the present application provides a method for detecting optic nerve fiber layer defects, comprising:
[0005] A rotationally invariant coordinate system is established on the fundus image according to the optic disc center and the macula center;
[0006] Dividing the peri-optic disc area in the fundus image according to the coordinate system;
[0007] The divided area image is input into a pre-trained neural network, and the detection result is output based on the dependency relationship between the perceived position features and the captured divided area image.
[0008] In some embodiments, the method specifically comprises:
[0009] A coordinate system with rotation invariance is established with the center of the optic disc as the origin, the inferotemporal direction as the positive direction, and the line connecting the center of the optic disc and the center of the macula as the coordinate axis.
[0010] In some embodiments, the method specifically includes: based on the coordinate system, dividing the area around the optic disc along the inferotemporal direction to obtain at least two areas of preset graphics.
[0011] In some embodiments, the method further includes: preprocessing the divided area image.
[0012] In some embodiments, the detection result includes one or more of a RNFLD diagnosis result of the fundus image, a diagnosis result of the divided area image, and an attention map.
[0013] In some embodiments, the diagnosis result of the divided regional image includes the specific location of the optic nerve fiber layer defect.
[0014] In some embodiments, the pre-trained neural network includes at least a backbone network, a position-aware attention module and a bidirectional GRU module; the position-aware attention module is used to perceive the position features, and the bidirectional GRU module is used to capture the dependencies between the divided area images.
[0015] A second aspect of an embodiment of the present application provides a device for detecting optic nerve fiber layer defects, comprising:
[0016] A coordinate system establishment module, used to establish a rotationally invariant coordinate system on the fundus image according to the optic disc center and the macula center;
[0017] A division module, used for dividing the perioptic disc area in the fundus image according to the coordinate system;
[0018] The result output module is used to input the divided area image into a pre-trained neural network, and output the detection result according to the dependency relationship between the perceived position features and the captured divided area image.
[0019] In some embodiments, the coordinate system establishment module is specifically used to establish a coordinate system with rotation invariance using the optic disc center as the origin and the line connecting the optic disc center and the macula center as the coordinate axis.
[0020] In some embodiments, the division module is specifically used to divide the area around the optic disc along the temporal direction based on the coordinate system to obtain at least two areas of preset graphics.
[0021] A third aspect of an embodiment of the present application provides an electronic device, including:
[0022] memory and one or more processors;
[0023] The memory is communicatively connected to the one or more processors, and the memory stores instructions that can be executed by the one or more processors. When the instructions are executed by the one or more processors, the electronic device is used to implement the methods described in the aforementioned embodiments.
[0024] A fourth aspect of the embodiments of the present application provides a computer-readable storage medium having computer-executable instructions stored thereon. When the computer-executable instructions are executed by a computing device, they can be used to implement the methods described in the aforementioned embodiments.
[0025] A fifth aspect of the embodiments of the present application provides a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, they can be used to implement the methods described in the above embodiments.
[0026] In an embodiment of the present application, a rotationally invariant coordinate system is established on the fundus image, and the area around the optic disc in the fundus image is divided according to the coordinate system, wherein each divided area image corresponds to a fixed physiological position and is not affected by image rotation; at the same time, the divided area images are input into a pre-trained neural network, and the detection results are output based on the dependency relationship between the perceived position features and the captured divided area images, thereby achieving automatic diagnosis of optic nerve fiber layer defects close to expert level, which is convenient, efficient and fast, and provides a good user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The features and advantages of the present application will be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the present application in any way. In the accompanying drawings:
[0028] Figure 1 is a flow chart of a method for detecting optic nerve fiber layer defects according to some embodiments of the present application;
[0029] Figure 2 (a), (b), and (c) are schematic diagrams of dividing the center of the optic disc and performing polar coordinate conversion according to some embodiments of the present application;
[0030] Figure 3 is a schematic diagram of the structure of a pre-trained neural network according to some embodiments of the present application;
[0031] Figure 4 is a schematic diagram of output results according to some embodiments of the present application;
[0032] Figure 5is a schematic diagram of a device for detecting optic nerve fiber layer defects according to some embodiments of the present application;
[0033] Figure 6 It is a schematic diagram of the structure of an electronic device according to some embodiments of the present application. DETAILED DESCRIPTION
[0034] In the detailed description below, many specific details of the application are set forth by example, so as to provide a thorough understanding of the relevant disclosure. However, for those of ordinary skill in the art, the application can be implemented without these details as is apparent. It should be understood that the use of "system", "device", "unit" and / or "module" terms in the application is a method for distinguishing different parts, elements, parts or assemblies of different levels in a sequential arrangement. However, if other expressions can achieve the same purpose, these terms can be replaced by other expressions.
[0035] It should be understood that when a device, unit or module is referred to as being "on," "connected to," or "coupled to" another device, unit or module, it may be directly on, connected to, coupled to, or communicating with other devices, units or modules, or there may be intermediate devices, units or modules, unless the context clearly indicates an exception. For example, the term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0036] The terms used in this application are only for describing specific embodiments and are not intended to limit the scope of this application. As shown in the specification and claims of this application, unless the context clearly indicates an exception, the words "one", "a", "a kind" and / or "the" do not specifically refer to the singular and may also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of clearly identified features, wholes, steps, operations, elements and / or components, and such expressions do not constitute an exclusive list, and other features, wholes, steps, operations, elements and / or components may also be included.
[0037] These and other features and characteristics, methods of operation, functions of related elements of the structure, combinations of parts, and economies of manufacture of the present application may be better understood with reference to the following description and drawings, which form a part of the specification. However, it is to be clearly understood that the drawings are for illustration and description purposes only and are not intended to limit the scope of protection of the present application. It is to be understood that the drawings are not drawn to scale.
[0038] Various structural diagrams are used in this application to illustrate various variations of the embodiments of this application. It should be understood that the above or below structures are not intended to limit this application. The scope of protection of this application shall be subject to the claims.
[0039] The optic nerve fiber layer is an important clinical diagnostic basis for a variety of optic neuropathies (e.g., glaucoma, the second most disabling and blinding disease in the world). Degeneration of the optic nerve fiber layer provides the earliest evidence for the diagnosis of glaucoma, 4 to 6 years earlier than the actual visual field loss. Compared with other diagnostic techniques that require expensive equipment or skilled clinicians (such as optical coherence tomography (OCT)), diagnosing and detecting optic nerve fiber layer defects through fundus color photography is an economical, friendly and efficient way. The optic nerve fiber layer is presented in extremely low contrast in fundus color photography, which is very difficult to detect and is also very difficult for very experienced ophthalmologists. However, ordinary image enhancement technology cannot solve the aforementioned problems. In addition to local contrast differences, clinicians also need to consider physiological location and global dependence based on rich clinical experience (such as the ISNT rule), but no automatic diagnostic method in the prior art takes physiological location and global dependence into account.
[0040] In order to solve the above problems, the present application discloses a method for detecting optic nerve fiber layer defects, such as Figure 1 As shown, including:
[0041] S101, establishing a rotationally invariant coordinate system on the fundus image according to the optic disc center and the macula center;
[0042] S102, dividing the area around the optic disc in the fundus image according to the coordinate system;
[0043] S103, inputting the divided area image into a pre-trained neural network, and outputting a detection result according to the dependency relationship between the perceived position features and the captured divided area image.
[0044] In some embodiments, the method specifically includes: establishing a rotationally invariant coordinate system with the optic disc center as the origin, the inferotemporal direction as the positive direction, and the line connecting the optic disc center and the macula center as the coordinate axis.
[0045] Specifically, a rotationally invariant coordinate system is a coordinate system that has rotational invariance; among them, the polar coordinate system is the most convenient way of representation, and a rotationally invariant coordinate system can also be achieved by performing corresponding coordinate transformations in a rectangular coordinate system.
[0046] In some embodiments, the method specifically includes: based on the coordinate system, dividing the area around the optic disc along the inferotemporal direction to obtain at least two areas of preset graphics.
[0047] Specifically, the area of the preset graphic may be one or more of a sector, a triangle and / or a rectangle.
[0048] In an embodiment of the present application, the area around the optic disc in the fundus color photograph is divided into regional images according to the above-mentioned rotation-invariant coordinate system, which conforms to the distribution law of the optic nerve fiber layer, and each regional image corresponds to a fixed physiological position and is not affected by image rotation.
[0049] In some embodiments, the method further includes: preprocessing the divided area image.
[0050] Specifically, the divided area images are preprocessed, including performing coordinate transformation on the divided area images to adapt them to the calculation method of the convolutional neural network, so as to distinguish the features of each divided area image.
[0051] In some embodiments, the detection result includes one or more of a diagnosis result of the fundus image, a diagnosis result of the divided area image, and an attention map.
[0052] Among them, the diagnosis result of the fundus image is specifically the result of whether RNFLD exists in the fundus image; the diagnosis result of the divided regional image is specifically the result of whether RNFLD exists in the divided regional image and the corresponding attention map.
[0053] In some embodiments, the diagnosis result of the divided regional image includes the specific location of the optic nerve fiber layer defect.
[0054] In some embodiments, the position feature is specifically an absolute position feature.
[0055] In some embodiments, the method further includes: extracting depth features by the pre-trained neural network, superimposing absolute position features on the depth features, inputting the superimposed features into a pooling layer and a fully connected layer in sequence, and outputting a diagnosis result of the fundus image.
[0056] In some embodiments, the method further includes: the pre-trained neural network superimposes absolute position features when extracting depth features of the input image, and directly outputs the attention map.
[0057] In some embodiments, the method further includes: the pre-trained neural network captures the global dependencies between the divided area images based on the deep features and the attention map, and outputs the diagnosis results of the divided area images.
[0058] Furthermore, the method also includes: obtaining the thickness difference of the optic nerve fiber layer; and capturing the global dependency between the divided regional images by obtaining the thickness difference of the optic nerve fiber layer between the divided regional images.
[0059] In some embodiments, the pre-trained neural network includes at least a backbone network, a position-aware attention module and a bidirectional GRU module; the position-aware attention module is used to perceive the position features, and the bidirectional GRU module is used to capture the dependencies between the divided area images.
[0060] Furthermore, the position-aware attention module outputs the attention map and the diagnosis result of the fundus image; and the bidirectional GRU module outputs the diagnosis result of the divided regional image.
[0061] In some embodiments, the method further includes: numbering the divided area images; accordingly, the output inspection result will display the diagnosis result of the corresponding divided area image according to the number.
[0062] The following is a detailed explanation using the area of the preset graphic as a sector.
[0063] 1. Obtain a fundus image and locate the center of the optic disc and the center of the macula in the fundus image.
[0064] 2. Take the center of the optic disc as the center of the circle and the line from the center of the optic disc to the center of the macula as the starting axis, and divide it into several sectors along the temporal direction, such as Figure 2 As shown in (a) in .
[0065] 3. Use 0.7 times the distance from the center of the optic disc to the center of the macula as the radius to divide the sectors, such as Figure 2 As shown in (b) in .
[0066] 4. Preprocess the divided sectors, that is, perform polar coordinate conversion to obtain the converted rectangle corresponding to each sector, such as Figure 2 As shown in (c) in .
[0067] 5. The preprocessed image ( Figure 2 (c)) is input into a pre-trained neural network, and the image-level diagnosis results, sector-level diagnosis results and attention maps are output. A schematic diagram of the structure of a pre-trained neural network is shown in FIG. Figure 3 The output result is shown in Figure 4 shown.
[0068] Among them, the pre-trained neural network consists of at least three important parts, including: a backbone network, a position-aware attention module and a bidirectional GRU module.
[0069] The backbone network is based on ResNext50 without the fully connected layer and layer-5. A hole convolution is used to replace the ordinary convolution in the last residual block of ResNext50, which can obtain a large receptive field without reducing the feature size. It can extract deep features (feature maps) from the input image and perform end-to-end training with other modules.
[0070] The position-aware attention module guides the neural network to focus on important areas by sensing the absolute position. It adds the absolute position features (positioninfo) of the x-axis and y-axis to the channel dimension of the deep features (feature map) extracted by the backbone network, so that it outputs an attention map based on the position information. The effectiveness of this operation is based on the processing of the input image using a rotation-invariant coordinate system. The generated attention map is first element-wise multiplied with the deep features extracted by the backbone network, and the result of the multiplication is then element-wise added with the deep features extracted by the backbone network. This highlights the features at the peak position in the attention map while retaining the effective information of the original features. After the features with superimposed position features pass through a global average pooling (GAP for short, global pooling layer) and a fully connected layer (GAP&FC), the position-aware attention module also outputs the image-level RNFLD (y_coarse), and provides supervision by calculating the loss function to generate a better attention map.
[0071] The bidirectional GRU module is often used in natural language processing to capture the dependencies between serialized features. Since the input image is based on a rotationally invariant coordinate system in the embodiment of the present application, a fixed serialization relationship is formed between the rows in the feature map, so that the bidirectional GRU can be successfully applied in the image field. After obtaining the features generated by the attention mechanism, we use an adaptive pooling to obtain the features of each divided regional image, and then input them into the bidirectional GRU module to capture the bidirectional dependencies between the divided regional images, and output the RNFLD (y_fine) of the divided regional image level.
[0072] After being trained with a large amount of data annotated by ophthalmologists, the pre-trained neural network can diagnose optic nerve fiber layer defects by sensing position and global dependencies, combining the ophthalmologists' diagnostic process and the physiological and anatomical structure of the fundus, and can achieve automatic diagnosis of optic nerve fiber layer defects close to the expert level. For areas with scarce medical resources, community clinics, and even at home, you can use the trained model to enjoy efficient and accurate ophthalmological diagnosis.
[0073] In an embodiment of the present application, a rotationally invariant coordinate system is established in the fundus image according to the macula center and the optic disc center, and the area around the optic disc in the fundus photograph is divided according to the coordinate system. This is in line with the distribution law of the optic nerve fiber layer, and each divided area image corresponds to a fixed physiological position and is not affected by image rotation. At the same time, an attention module is introduced to guide the model to focus on key areas, and the optic nerve fiber layer defect is diagnosed by capturing the global dependency of each divided area image, and interpretable diagnostic evidence is output.
[0074] The present application also discloses a device 200 for detecting optic nerve fiber layer defects. Figure 5 Shown include:
[0075] A coordinate system establishment module 201 is used to establish a rotationally invariant coordinate system on the fundus image according to the optic disc center and the macula center;
[0076] A division module 202, configured to divide the perioptic disc region in the fundus image according to the coordinate system;
[0077] The result output module 203 is used to input the divided area image into a pre-trained neural network, and output the detection result according to the dependency relationship between the perceived position features and the captured divided area image.
[0078] In some embodiments, the coordinate system establishment module is specifically used to establish a coordinate system with rotation invariance using the optic disc center as the origin and the line connecting the optic disc center and the macula center as the coordinate axis.
[0079] In some embodiments, the division module is specifically used to divide the area around the optic disc along the temporal direction based on the coordinate system to obtain at least two areas of preset graphics.
[0080] Reference Figure 6 , is a schematic diagram of an electronic device provided by an embodiment of the present application. The electronic device 300 includes:
[0081] Memory 330 and one or more processors 310;
[0082] Among them, the memory 330 is communicatively connected with the one or more processors 310, and the memory 330 stores instructions 332 that can be executed by the one or more processors. The instructions 332 are executed by the one or more processors 310 to enable the one or more processors 310 to execute the method in the aforementioned embodiment of the present application.
[0083] Specifically, the processor 310 and the memory 330 may be connected via a bus or other means, and the figure takes the connection via bus 340 as an example. The processor 310 may be a central processing unit (CPU). The processor 310 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components and other chips, or a combination of the above-mentioned chips.
[0084] The memory 330 is a non-transitory computer-readable storage medium that can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as the cascaded progressive network in the embodiment of the present application. The processor 310 executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules 332 stored in the memory 330.
[0085] The memory 330 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data created by the processor 310, etc. In addition, the memory 330 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 330 may optionally include a memory remotely arranged relative to the processor 310, and these remote memories may be connected to the processor 310 via a network (such as via a communication interface 320). 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.
[0086] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed to perform the method in the aforementioned embodiment of the present application.
[0087] The aforementioned computer-readable storage media include physical volatile and non-volatile, removable and non-removable media implemented in any manner or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer-readable storage media specifically include, but are not limited to, USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), erasable programmable read-only memories (EPROMs), electrically erasable programmable read-only memories (EEPROMs), flash memory or other solid-state memory technologies, CD-ROMs, digital versatile disks (DVDs), HD-DVDs, Blue-Ray or other optical storage devices, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store the required information and can be accessed by a computer.
[0088] Although the subject matter described herein is provided in the general context of being executed in conjunction with the execution of operating systems and application programs on computer systems, it will be appreciated by those skilled in the art that other implementations may also be performed in conjunction with other types of program modules. In general, program modules include routines, programs, components, data structures, and other types of structures that perform specific tasks or implement specific abstract data types. It will be appreciated by those skilled in the art that the subject matter described herein may be practiced using other computer system configurations, including handheld devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, etc., and may also be used in a distributed computing environment in which tasks are performed by remote processing devices connected via a communication network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.
[0089] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments of the present application herein can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0090] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the original technology or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.
[0091] In summary, the present application proposes a method, device, electronic device and computer-readable storage medium for detecting optic nerve fiber layer defects. By establishing a rotationally invariant coordinate system on the fundus image, and dividing the area around the optic disc in the fundus image according to the coordinate system, wherein each divided area image corresponds to a fixed physiological position and is not affected by image rotation; at the same time, the divided area images are input into a pre-trained neural network, and the detection results are output based on the dependency relationship between the perceived position features and the captured divided area images, so as to achieve automatic diagnosis of optic nerve fiber layer defects close to the expert level, which is convenient, efficient and fast, and provides a good user experience.
[0092] It should be understood that the above specific embodiments of the present application are only used to illustrate or explain the principles of the present application, and do not constitute a limitation to the present application. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present application should be included in the protection scope of the present application. In addition, the claims attached to the present application are intended to cover all changes and modifications that fall within the scope and boundaries of the attached claims, or the equivalent forms of such scope and boundaries.
Claims
1. A method for detecting optic nerve fiber layer defects, characterized in that: include: A rotationally invariant coordinate system is established on the fundus image according to the optic disc center and the macula center; Dividing the area around the optic disc in the fundus image according to the coordinate system, wherein the optic disc center is taken as the center of the circle, the line connecting the optic disc center to the macula center is taken as the starting axis, and a plurality of sectors are divided along the temporal direction, and polar coordinate transformation is performed on the divided sectors to obtain a transformed rectangle corresponding to each sector; The divided area image is input into a pre-trained neural network, and the detection result is output based on the dependency relationship between the perceived position features and the captured divided area image, wherein the divided area image is a rectangle corresponding to the polar coordinate conversion of each sector, and the detection result is a picture-level diagnosis result, a sector-level diagnosis result and an attention map.
2. The method according to claim 1, characterized in that The method specifically comprises: A coordinate system with rotation invariance is established with the center of the optic disc as the origin, the inferotemporal direction as the positive direction, and the line connecting the center of the optic disc and the center of the macula as the coordinate axis.
3. The method according to claim 2, characterized in that The method specifically comprises: based on the coordinate system, dividing the area around the optic disc along the temporal-inferior direction to obtain at least two areas of preset graphics.
4. The method according to claim 1, characterized in that: The method further includes: preprocessing the divided area image.
5. The method according to claim 1, characterized in that The detection result includes one or more of a diagnosis result of the fundus image, a diagnosis result of the divided area image, and an attention map.
6. The method according to claim 5, characterized in that The diagnosis result of the divided regional image includes the specific location of the optic nerve fiber layer defect.
7. The method according to claim 1, characterized in that The pre-trained neural network includes at least a backbone network, a position-aware attention module and a bidirectional GRU module; the position-aware attention module is used to perceive the position features, and the bidirectional GRU module is used to capture the dependencies between the divided regional images.
8. A device for detecting optic nerve fiber layer defects, characterized in that: include: A coordinate system establishment module, used for establishing a rotationally invariant coordinate system on the fundus image according to the optic disc center and the macula center; a division module, for dividing the optic disc periphery area in the fundus image according to the coordinate system, wherein the optic disc center is taken as the center of the circle, the line from the optic disc center to the macula center is taken as the starting axis, and a plurality of sectors are divided along the temporal direction, and polar coordinates are converted to obtain a converted rectangle corresponding to each sector; The result output module is used to input the divided area image into a pre-trained neural network, and output the detection result based on the dependency relationship between the perceived position features and the captured divided area image, wherein the divided area image is a rectangle corresponding to the polar coordinate conversion of each sector, and the detection result is a picture-level diagnosis result, a sector-level diagnosis result and an attention map.
9. The device according to claim 8, characterized in that The coordinate system establishment module is specifically used to establish a rotationally invariant coordinate system with the optic disc center as the origin, the inferotemporal direction as the positive direction, and the line connecting the optic disc center and the macula center as the coordinate axis.
10. The device according to claim 9, characterized in that The division module is specifically used to divide the area around the optic disc along the temporal direction based on the coordinate system to obtain at least two areas of preset graphics.
