Eye fundus data transmission processing method and system, eye examination equipment and storage medium

By applying a multi-scale attention joint network model on ophthalmology equipment to automatically segment fundus images, the problems of complexity and subjective deviation in optic disc and optic cup segmentation in the existing technology are solved, and efficient and accurate fundus image processing and diagnosis, improving the quality and efficiency of eye examinations.

CN118762181APending Publication Date: 2024-10-11EYE & ENT HOSPITAL SHANGHAI MEDICAL SCHOOL FUDAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410880947.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

The existing technology has complexity and subjective bias in the early identification and accurate diagnosis of myopia. Especially when medical resources are limited or professional knowledge is lacking, it is difficult to achieve efficient and accurate optic disc and optic cup segmentation, which affects the diagnosis of eye lesions. Efficiency and accuracy.

Method used

The fundus data transmission and processing method based on ophthalmology equipment is adopted, and the multi-scale attention joint network model is used to automatically segment the fundus images. The U-Net network architecture and the ECANet attention mechanism are combined, and the Dice loss function and the cross-entropy loss function are combined. Coupling optimization enables accurate identification of the optic disc and optic cup.

Benefits of technology

It improves the segmentation accuracy and diagnostic efficiency of fundus images, reduces reliance on doctors' professional skills, improves the overall efficiency and quality of eye examinations, and ensures the integrity and security of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118762181A_ABST
    Figure CN118762181A_ABST
Patent Text Reader

Abstract

The invention provides a fundus data transmission processing method based on eye examination equipment, which comprises the following steps: establishing a data transmission relationship with external equipment, and obtaining a unique identifier from the external equipment; the eye examination equipment is internally provided with an image acquisition device for acquiring the eye fundus image, and is also provided with a processor; the fundus image is input into a processor, the processor calls a multi-scale attention joint network model to perform visual segmentation on the fundus image to obtain an image segmentation result, and the multi-scale attention joint network model is constructed based on a U-Net network architecture, multi-scale convolution and ECANet attention. Training according to a loss function obtained by coupling a Dice loss function and a cross entropy loss function; establishing a corresponding relation between the image segmentation result and the eye fundus image, and marking by using a unique identifier; the eye fundus image and the image segmentation result which are marked and have the corresponding relation are sent to external equipment, and the external equipment conducts archiving and / or displaying according to the unique identification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of ophthalmic data processing and transmission technology, and in particular to an ocular data transmission and processing technology. Background Art

[0002] Myopia is a common eye disease, which is mainly manifested by the abnormal growth of the eyeball length. Its clinical feature is that the light cannot be accurately focused on the retina during the refraction process in the eyeball, but deviates forward, resulting in blurred distant objects. To address this problem, common interventions include wearing corrective glasses or undergoing surgical treatment to improve vision. Although myopia is regarded as a minor inconvenience in daily life in many cases, we must be alert to its potential serious risks. Myopia may gradually develop into pathological myopia, a more serious form of eye disease, which is often accompanied by serious complications such as retinal detachment, macular degeneration and glaucoma, posing a serious threat to the patient's vision. Therefore, early identification and accurate diagnosis of myopia are crucial. In this process. Accurate segmentation of the optic disc (OD), optic cup (OC) and peripheral retina is crucial in the early detection and monitoring of eye lesions.

[0003] Among the existing technical means, fundus photography has become the main way for doctors to observe and evaluate the optic disc (OD) and optic cup (OC). The OD area in the fundus image refers to the part where the optic nerve enters the eyeball, and its shape is usually a circular or elliptical highlight area, while the OC is the central depression inside the OD. As the eye disease gradually develops, the OC area will gradually expand, leading to an increase in the cup-to-disc ratio (CDR). Doctors accurately measure the size of the OD and OC and calculate the CDR value to assess the risk and progression of eye lesions. In addition to the CDR, doctors will also comprehensively consider the edge morphology of the OD, the depth of the OC, and the changes in the surrounding nerve fiber layer. This process requires doctors to have rich clinical experience and deep professional knowledge, and the accuracy of the evaluation results may be affected by multiple factors such as image quality and individual differences.

[0004] Fundus photography, as a non-invasive and efficient method for diagnosing ocular lesions, has been widely used in clinical practice. However, its high requirements for doctors' professional knowledge and experience cannot be ignored.

[0005] Given the complexity and possible subjective bias of the manual evaluation process, it is particularly important to develop an automated and highly accurate OD and OC segmentation technology. This will not only help improve the efficiency and accuracy of ocular lesion diagnosis, but also reduce the reliance on doctors' professional skills, which is particularly important in situations where medical resources are limited or medical expertise is lacking. Summary of the invention

[0006] This application aims to propose a fundus data transmission and processing method, system, eye examination equipment and storage medium. Its core goal is to achieve automatic segmentation and accurate recognition of fundus images by introducing cutting-edge data processing and transmission technologies. Through this innovative means, we hope to assist doctors in completing fundus image evaluation more efficiently, reduce evaluation time, improve evaluation accuracy, and thus comprehensively improve the overall efficiency and quality level of ophthalmic examinations.

[0007] To achieve the above-mentioned purpose, according to one aspect of the present application, some embodiments of the present application provide a fundus data transmission and processing method based on an ophthalmological device, including: establishing a data transmission relationship with an external device, and obtaining a unique identifier from the external device; obtaining a fundus image, wherein the ophthalmological device is provided with an image acquisition device for obtaining a fundus image, and is provided with a processor; inputting the fundus image into the processor, and the processor calls a multi-scale attention joint network model to perform visual segmentation on the fundus image to obtain an image segmentation result, wherein the multi-scale attention joint network model is based on a U-Net network architecture, and is constructed based on multi-scale convolution and ECANet attention, and is trained according to a loss function obtained by coupling a Dice loss function and a cross entropy loss function; establishing a correspondence between the image segmentation result and the fundus image, and marking it with the unique identifier; sending the marked fundus image and the image segmentation result having a corresponding relationship to an external device, wherein the external device archives and / or displays them according to the unique identifier.

[0008] Optionally, the multi-scale attention joint network model includes: an encoder and a decoder; the encoder includes five layers, including four downsamplings, each layer includes a multi-scale convolution module and a general convolution block with a convolution kernel of 3x3 in sequence; and each of the first to fourth layers is connected to an ECANet attention module after the general convolution block; the decoder includes five layers corresponding to the encoder, including four upsamplings, and each of the second to fifth layers includes two general convolution blocks with a convolution kernel of 3x3 connected in sequence, and the fifth layer of the decoder is used as the output layer, and a general convolution block with a convolution kernel of 1x1 is connected after the two general convolution blocks; wherein the fifth layer of the encoder is shared with the first layer of the decoder.

[0009] Optionally, the first layer of the encoder is jump-connected to the fifth layer of the decoder after passing through the ECANet attention module; the second layer of the encoder is jump-connected to the fourth layer of the decoder after passing through the ECANet attention module; the third layer of the encoder is jump-connected to the third layer of the decoder after passing through the ECANet attention module; and the fourth layer of the encoder is jump-connected to the second layer of the decoder after passing through the ECANet attention module.

[0010] Optionally, the inputting the fundus image into the multi-scale attention joint network model to obtain the image segmentation result includes: inputting the fundus image into the encoder to obtain the multi-channel feature map extracted from the first to fifth layers; using the multi-channel feature map extracted from the fifth layer as the input of the first layer of the decoder, upsampling to obtain the upsampled features and inputting them into the second layer of the decoder; the second to fifth layers of the decoder convolve the upsampled features from the previous layer and the weighted features of the ECANet attention module from the encoder through two general convolution blocks, and then upsampling the upsampled features to obtain the upsampled features and input them into the next layer of the decoder until the fifth layer of the decoder, and input the convolution features of the fifth layer of the decoder after convolution with two general convolution blocks to the general convolution block with a convolution kernel of 1x1, so that the feature channels of the convolution features become 2, so as to divide the fundus image into two categories of background and target, and obtain the image segmentation result.

[0011] Optionally, the step of inputting the fundus image into an encoder to obtain a multi-channel feature map extracted from the first to fifth layers includes: inputting the fundus image into a multi-scale convolution module; the multi-scale convolution module uses at least two convolution kernels of different sizes to perform feature extraction on the fundus image respectively to obtain a first feature map and a second feature map; the first feature map and the second feature map are fused and then convolved using a general convolution block with a convolution kernel of 3x3 to obtain a multi-channel feature map; wherein, for the second to fifth layers of the encoder, the multi-channel feature map of the previous layer is downsampled and used as the input of the multi-scale convolution module, and the multi-channel feature map is obtained through a general convolution block with a convolution kernel of 3x3.

[0012] Optionally, the ECANet attention module performs attention weighting on the input multi-channel feature map to obtain a weighted feature map; the method for performing attention weighting includes: obtaining the width, height and channel size of the multi-channel feature map; performing global average pooling on the multi-channel feature map, and generating a set of channel weights through a one-dimensional convolution of size k, wherein k is adaptively determined according to the channel size of the multi-channel feature map; after activation using a sigmoid activation function, the channel weights are used as dynamic calibration coefficients of the multi-channel feature map to weightedly reconstruct the multi-channel feature map to obtain a weighted feature map.

[0013] Optionally, the loss function obtained by coupling the Dice loss function and the cross entropy loss function is as follows:

[0014] L Total =λ×L D +(1-λ)×L CE ;

[0015] in,

[0016]

[0017] Among them, L Total Represents the loss function obtained by coupling the Dice loss function and the cross entropy loss function; L CE represents the Dice loss function, L D represents the cross entropy loss function; Y represents the true value, represents the predicted value, and λ represents the weighting parameter.

[0018] The present application also provides a fundus data transmission and processing system, which is applied to an ophthalmological device, and includes: a data receiving module, which is used to establish a data transmission relationship with an external device and receive a unique identifier from the external device; a data acquisition module, which is used to acquire a fundus image, wherein the ophthalmological device is provided with an image acquisition device for acquiring a fundus image, and is provided with a processor; a data processing module, which is used to input the fundus image into a processor, and the processor calls a multi-scale attention joint network model to perform visual segmentation on the fundus image to obtain an image segmentation result, wherein the multi-scale attention joint network model is based on a U-Net network architecture, and is constructed based on multi-scale convolution and ECANet attention, and is trained according to a loss function obtained by coupling a Dice loss function and a cross entropy loss function; a data marking module, which is used to establish a corresponding relationship between the image segmentation result and the fundus image, and mark it with the unique identifier; a data sending module, which sends the fundus image and the image segmentation result that have been marked and have a corresponding relationship to an external device, wherein the external device archives and / or displays according to the unique identifier.

[0019] On the other hand, the present application also provides an ophthalmological examination device, which includes: a communication interface, a processor, a memory and a bus, wherein the communication interface, the processor and the memory are interconnected via the bus; the memory stores computer program instructions, and when the computer program instructions are executed, the processor executes a fundus data transmission processing method.

[0020] On the other hand, the present application also provides a computer-readable medium, which is applied to an ophthalmological device and has computer program instructions stored thereon. The computer program instructions can be executed by a processor to implement a fundus data transmission and processing method.

[0021] The fundus data transmission and processing technology based on ophthalmological equipment proposed in this application aims to achieve efficient acquisition, accurate processing and reliable transmission of fundus images through a series of rigorous operating steps. First, the technology builds a stable data transmission channel with external equipment to ensure smooth data exchange between the two parties. Subsequently, the technology accurately obtains the patient's unique identification information from the external device so that it can be accurately identified and tracked in the subsequent data processing process.

[0022] In the fundus image acquisition link, the technology makes full use of the advanced image acquisition device built into the ophthalmology equipment to accurately capture fundus images. These image data are then transmitted to the processor inside the device for deep processing. During the processing, the processor will call the pre-trained segmentation model, which is based on the improvement of the U-Net network architecture and integrates multi-scale convolution technology and ECANet attention mechanism to achieve efficient and accurate visual segmentation of fundus images. Because the traditional Unet lacks multi-scale feature extraction capabilities, it cannot effectively segment smaller structures as large structures. This may lead to inaccurate precise segmentation of small eye lesions, blood vessels or other tiny details. MAUnet (i.e., the network improved based on U-Net in this application) aims to overcome these shortcomings by combining multi-scale convolution and attention modules. MAUnet introduces multi-scale convolution in the encoder part. These convolutions capture features of different scales by using convolution kernels of different sizes, enhance the network's ability to recognize structures of different scales in the image, and combine the contextual information captured by it in the encoder stage through jump connections to enhance the recovery of detail information. Before the skip connection, the MAUnet of this application uses the ECANet attention module to enhance the features in specific areas and suppress unimportant features, which enables the model to focus more on processing key information and thus improve the accuracy of segmentation.

[0023] In order to improve the accuracy and stability of the segmentation results, the model uses a coupled optimization strategy of the Dice loss function and the cross entropy loss function during the training process. After completing the visual segmentation of the fundus image, the processor will further establish an accurate correspondence between the segmentation result and the original fundus image to ensure that each segmented area can be accurately mapped to the original image. At the same time, the data is marked with the unique patient identifier obtained previously to facilitate subsequent data identification and management.

[0024] Finally, the technology sends the marked fundus images and their corresponding image segmentation results to an external device. The external device archives and stores these data based on the patient's unique identification, and can display or further analyze and process them according to actual needs. The entire processing flow strictly follows the data transmission standards to ensure that the integrity and security of the data are effectively guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 A schematic diagram of a flow chart of an eye data transmission and processing method provided in an embodiment of the present application;

[0026] Figure 2 A schematic diagram of the network structure of a multi-scale attention joint network model provided in an embodiment of the present application;

[0027] Figure 3 A schematic diagram of the structure of a multi-scale convolution module provided in an embodiment of the present application;

[0028] Figure 4 A schematic diagram of the structure of the ECANet attention module provided in the embodiment of the present application;

[0029] Figure 5 A schematic diagram of the structure of the eye data transmission and processing system provided in an embodiment of the present application;

[0030] Figure 6 A schematic diagram of the structure of an eye examination device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0032] like Figure 1 As shown, according to one embodiment, the present application provides a fundus data transmission and processing method based on an ophthalmological device, comprising:

[0033] Step S101, establishing a data transmission relationship with an external device and obtaining a unique identifier from the external device;

[0034] Step S102, acquiring a fundus image, wherein the ophthalmological device is provided with an image acquisition device for acquiring a fundus image and a processor; the ophthalmological device is a contact lens or an ophthalmoscope that integrates a processing chip and an image sensor;

[0035] Step S103, the fundus image is input into the processor, and the processor calls the multi-scale attention joint network model to perform visual segmentation on the fundus image to obtain an image segmentation result, wherein the multi-scale attention joint network model is based on the U-Net network architecture, and is constructed based on multi-scale convolution and ECANet attention, and is trained according to the loss function obtained by coupling the Dice loss function and the cross entropy loss function; first, the processor calls the pre-set segmentation model to accurately process the input fundus image. This multi-scale attention joint network model is constructed based on the U-Net network architecture. The U-Net network has shown excellent performance in the field of image processing with its unique encoding-decoding structure and symmetric design. The model adopts a multi-scale convolution method to capture feature information of different scales in the fundus image, so as to understand the image content more comprehensively. In addition, in order to further improve the segmentation performance of the model, we also introduced the ECANet attention mechanism. The ECANet attention mechanism can adaptively adjust the importance of different features, so that the model pays more attention to the areas that have an important impact on the segmentation results. By combining multi-scale convolution and ECANet attention mechanism, our multi-scale attention joint network model has shown excellent performance in the visual segmentation task of fundus images. During the training process, we used the coupling of Dice loss function and cross entropy loss function as the loss function of the model. The Dice loss function can measure the similarity between the segmentation result and the true label, while the cross entropy loss function can measure the difference between the probability distribution predicted by the model and the true label. By combining these two loss functions, we can more comprehensively evaluate the performance of the model and guide the model to continuously optimize during the training process. After training, the multi-scale attention joint network model has a strong fundus image segmentation capability. When we input the fundus image into the processor, the model can quickly and accurately perform visual segmentation on it and obtain fine image segmentation results. These segmentation results can provide doctors with more accurate and detailed information about fundus lesions, which can help doctors formulate more precise treatment plans, thereby improving treatment effects and patients' quality of life.

[0036] The visual segmentation of fundus images in step S103 is a key link, which relies on advanced processors and multi-scale attention joint network models. By combining multi-scale convolution, ECANet attention mechanism and optimized loss function, our model can achieve accurate segmentation of fundus images, providing strong support for the diagnosis and treatment of fundus lesions.

[0037] Step S104, establishing a corresponding relationship between the image segmentation result and the fundus image, and marking it with the unique identifier;

[0038] Step S105 , sending the marked and corresponding fundus image and the image segmentation result to an external device, wherein the external device archives and / or displays them according to the unique identifier.

[0039] Step S106, the external device receives and processes the fundus image and image segmentation results sent. The external device usually has powerful storage and computing capabilities, and can effectively process and analyze a large amount of fundus image data. In this step, the external device receives the fundus image and image segmentation results sent from the ophthalmological device through a dedicated data interface or communication protocol. These image data can be further processed by the external device to remove noise and improve image quality, so as to better perform subsequent medical analysis and research.

[0040] In addition, the external device also has advanced image processing algorithms and machine learning models that can automatically segment and label fundus images. These algorithms and models can accurately identify key structures such as blood vessels and retina in fundus images, and accurately segment and label them. This automatic segmentation and labeling process not only improves the efficiency of fundus image processing, but also reduces errors caused by human factors, providing more reliable data support for subsequent medical analysis and diagnosis.

[0041] Step S107, the external device archives the received fundus image and image segmentation result according to the unique identifier. In order to ensure the long-term preservation and convenient retrieval of the data, the external device will assign a unique identification code to each fundus image and image segmentation result. This identification code can be a number, a letter, or a combination of the two, which is used to uniquely identify each piece of data. The archiving operation not only includes storing the data in a reliable storage device, but also includes indexing and classifying the data so that relevant data can be quickly found when needed.

[0042] The importance of archiving is that it ensures the long-term accessibility of fundus images and image segmentation results. This is crucial for subsequent medical research and clinical applications. By archiving and organizing a large amount of fundus image data, medical researchers can mine more valuable information and provide more accurate basis for the diagnosis and treatment of fundus diseases.

[0043] In step S108, the external device visualizes the fundus image and the image segmentation results according to actual needs. Through a special display interface or software tool, doctors or researchers can intuitively view the fundus image and its segmentation results. This visual display not only helps doctors quickly understand the fundus condition of patients, but also helps them more accurately identify lesion areas and abnormal structures.

[0044] During the visualization process, the external device can also provide a variety of interactive functions, such as zooming, panning, and rotating, so that doctors or researchers can have a more comprehensive understanding of the fundus image information. At the same time, the image can also be color enhanced, contrast adjusted, and other operations can be performed to improve the clarity and readability of the image.

[0045] In step S109, the external device can further process and analyze the fundus image and image segmentation results as needed. Based on the image segmentation results, the external device can extract specific fundus structures or lesion areas and perform quantitative analysis and comparison. For example, parameters such as vascular density and lesion area can be calculated to assess the severity and progression of fundus diseases. These analysis results can provide doctors with more accurate diagnostic basis and help formulate personalized treatment plans.

[0046] In addition, external devices can also combine other medical data and clinical information to conduct multimodal medical analysis. By comprehensively considering fundus images, medical history, laboratory test results and other information, doctors can have a more comprehensive understanding of the patient's condition and develop a more accurate treatment plan.

[0047] In step S110, the external device can send the processed and analyzed fundus image and image segmentation results, as well as relevant diagnostic information and suggestions, back to the ophthalmological device through a data transmission relationship. This real-time data interaction and sharing enables doctors to directly view and use these results when patients visit the doctor. Doctors can accurately evaluate the patient's condition based on these results, develop personalized treatment plans, and fully communicate and exchange with patients.

[0048] This real-time data interaction and sharing not only improves the efficiency and quality of medical services, but also provides patients with a better medical experience. Patients can get diagnosis results and treatment suggestions more quickly, alleviating their anxiety and fear. At the same time, doctors can better understand patients' needs and expectations and provide more humane medical services.

[0049] By continuing the above steps, we have built a complete process of fundus image acquisition, processing, analysis and archiving. This process combines the advantages of ophthalmology equipment and external equipment, realizes the automatic segmentation and labeling of fundus images, and the effective management and utilization of data. This is of great significance for improving the diagnosis and treatment of fundus diseases and helps promote the development and progress of ophthalmology.

[0050] like Figure 2 As shown, according to one embodiment, the multi-scale attention joint network model includes: an encoder and a decoder; the encoder includes five layers, including four downsamplings, each layer includes a multi-scale convolution module and a general convolution block with a convolution kernel of 3x3 in sequence; and each layer from the first to the fourth layer is connected to an ECANet attention module after the general convolution block;

[0051] The decoder includes five layers corresponding to the encoder, including four upsamplings, and each of the second to fifth layers includes two general convolution blocks with convolution kernels of 3x3 connected in sequence, and the fifth layer of the decoder serves as the output layer, and a general convolution block with a convolution kernel of 1x1 is connected after the two general convolution blocks; wherein the fifth layer of the encoder is shared with the first layer of the decoder.

[0052] Furthermore, the first layer of the encoder is jump-connected to the fifth layer of the decoder after passing through the ECANet attention module;

[0053] The second layer of the encoder is jump-connected to the fourth layer of the decoder after passing through the ECANet attention module;

[0054] The third layer of the encoder is jump-connected to the third layer of the decoder after passing through the ECANet attention module;

[0055] The fourth layer of the encoder is jump-connected to the second layer of the decoder after passing through the ECANet attention module.

[0056] Furthermore, the inputting the fundus image into a multi-scale attention joint network model to obtain an image segmentation result includes:

[0057] Input the fundus image into an encoder to obtain a multi-channel feature map extracted from the first layer to the fifth layer;

[0058] The multi-channel feature map extracted from the fifth layer is used as the input of the first layer of the decoder, and the upsampled features are obtained after upsampling and input into the second layer of the decoder;

[0059] The second to fifth layers of the decoder convolve the upsampled features from the previous layer and the weighted features from the ECANet attention module of the encoder through two general convolution blocks and then upsample the upsampled features to the next layer of the decoder until the fifth layer of the decoder, and input the convolution features of the fifth layer of the decoder after convolution with two general convolution blocks into a general convolution block with a convolution kernel of 1x1, so that the feature channels of the convolution features become 2, so as to divide the fundus image into two categories: background and target, and obtain an image segmentation result.

[0060] like Figure 3 As shown, according to one embodiment, the inputting the fundus image into the encoder to obtain the multi-channel feature map extracted from the first layer to the fifth layer includes: inputting the fundus image into a multi-scale convolution module; the multi-scale convolution module uses at least two convolution kernels of different sizes to extract features from the fundus image respectively to obtain a first feature map and a second feature map; specifically, as Figure 3 As shown in Figure 1, the entire implementation process is detailed. In the encoder stage of the Unet architecture, we successfully integrated multi-scale feature extraction techniques, resulting in significant improvements in capturing the inherent hierarchical complexity in glaucoma images. By applying convolution operations with different kernel sizes, especially 3x3 and 5x5 convolutions, we are able to process and integrate richer contextual information and texture details in parallel across different spatial dimensions. Specifically, the 3x3 convolution kernel performs well in extracting fine features and subtle details, which are crucial for accurately outlining boundaries and identifying tiny anatomical structures. The 5x5 convolution kernel provides a wider receptive field, which helps capture a wider range of and varied shape features in medical images, thereby deepening the understanding of image content. After convolution processing with different kernels, we use adaptive pooling technology to unify the dimensions of the feature maps to ensure subsequent seamless connection. This process not only retains key spatial hierarchical information, but also significantly enhances the network's ability to recognize patterns and structures at different scales. Finally, the connected feature map is the fusion product of multi-scale convolution features, which represents a comprehensive synthesis of information. This new feature map has a more powerful and descriptive representation, which can effectively improve the segmentation performance of the input data. Specifically, the enhanced feature map can better distinguish the region of interest from the background area, achieve accurate segmentation of regions of different sizes, and significantly reduce the possibility of misclassification.

[0061] A new feature map obtained by fusing the first feature map and the second feature map is convolved using a general convolution block with a convolution kernel of 3x3 to obtain a multi-channel feature map; wherein, the second to fifth layers of the encoder downsample the multi-channel feature map of the previous layer as the input of the multi-scale convolution module, and obtain the multi-channel feature map through a general convolution block with a convolution kernel of 3x3.

[0062] like Figure 4 As shown, according to one embodiment, the ECANet attention module performs attention weighting on the input multi-channel feature map to obtain a weighted feature map; the method for performing attention weighting includes:

[0063] Obtaining the width, height and channel size of the multi-channel feature map;

[0064] Perform global average pooling on the multi-channel feature map, and generate a set of channel weights through a one-dimensional convolution of size k, where k is adaptively determined according to the channel size of the multi-channel feature map; in this application, k=5

[0065] After activation using the sigmoid activation function, the channel weight is used as a dynamic calibration coefficient of the multi-channel feature map to perform weighted reconstruction on the multi-channel feature map to obtain a weighted feature map.

[0066] in, Figure 4 In , GAP stands for global average pooling, where W, H, and C represent width, height, and channel size, respectively. ECANet generates channel weights through a one-dimensional convolution of size k, where k is adaptively determined according to the input channel size C, and σ represents the Sigmoid activation function.

[0067] This application integrates the Efficient Channel Attention Network (ECANet) into the Unet architecture. The working mechanism of ECANet is detailed in Figure 4 , showing its components and workflow. The ECANet module uses global average pooling (GAP) to summarize the spatial information of each channel, and then passes through a 1D convolution layer with an adaptively selected kernel size. This adaptive process generates a set of channel weights that, after sigmoid activation, serve as dynamic calibration coefficients for feature maps. By applying these weights to the original feature map, ECANet enables Unet to emphasize salient features while suppressing redundant or less informative features.

[0068] The loss function obtained by coupling the Dice loss function and the cross entropy loss function is as follows:

[0069] L Total =λ×L D +(1-λ)×L CE ;

[0070] in,

[0071]

[0072] Among them, L Total Represents the loss function obtained by coupling the Dice loss function and the cross entropy loss function; L CE represents the Dice loss function, L D represents the cross entropy loss function; Y represents the true value, represents the predicted value, and λ represents the weighting parameter.

[0073] Combining Dice loss with cross entropy loss has significant advantages in OD and OC segmentation for optical lesions. This combination effectively compensates for the limitations of the respective loss functions and provides a more comprehensive optimization objective. Dice loss focuses on the overall overlap of the segmented regions, which is very beneficial for capturing global features. In contrast, cross entropy loss focuses on pixel-level classification accuracy and emphasizes identifying local features. Therefore, this combination can achieve accurate edge localization and unified segmentation within the region. In addition, Dice loss performs better in handling data imbalance, while cross entropy loss ensures that each pixel is properly considered, thereby enhancing the robustness of the entire segmentation.

[0074] During training, we randomly selected 70% of the entire dataset as the training set and the remaining 30% as the test set. To reduce computational overhead, we scaled all images in the dataset to 512×512 pixels before feeding them into the model, which significantly improved computational efficiency. All codes for this experiment were written in Python and implemented using the PyTorch deep learning framework. The model was trained on a computer equipped with a 12th Generation Intel(R) Core(TM) i9-12900H 2.50GHz processor, 64GB RAM, and Nvidia 3070TI GPU. All model parameters were optimized using the Adaptive Moment Estimation (Adam) optimizer, with the learning rate set to 1e-3. In addition, we set the training batch size to 8 and trained for a total of 60 epochs.

[0075] like Figure 5 As shown, according to another aspect of the present application, the present application also provides a fundus data transmission and processing system, which is applied to an eye examination device, comprising:

[0076] A data receiving module, used to establish a data transmission relationship with an external device and receive a unique identifier from the external device;

[0077] A data acquisition module, used for acquiring fundus images, wherein the ophthalmological device is provided with an image acquisition device for acquiring fundus images and a processor;

[0078] A data processing module, used for inputting the fundus image into a processor, and the processor calls a multi-scale attention joint network model to perform visual segmentation on the fundus image to obtain an image segmentation result, wherein the multi-scale attention joint network model is based on a U-Net network architecture, and is constructed based on multi-scale convolution and ECANet attention, and is trained according to a loss function obtained by coupling a Dice loss function and a cross entropy loss function;

[0079] A data marking module, used for establishing a corresponding relationship between the image segmentation result and the fundus image, and marking it with the unique identifier;

[0080] The data sending module sends the marked and corresponding fundus image and the image segmentation result to an external device, wherein the external device archives and / or displays according to the unique identifier.

[0081] For the specific definition of the eye data transmission and processing system, please refer to the definition of the eye data transmission and processing method above, which will not be repeated here. Each module / unit in the above-mentioned eye data transmission and processing system can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules / units can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0082] In one embodiment, the present application provides an ophthalmological examination device, which includes: a power chip, an image sensor, a communication interface, a processor, a memory and a bus, wherein the power chip, the image sensor, the communication interface, the processor, and the memory are interconnected via a bus; the memory is a memory storing computer program instructions, and when the computer program instructions are executed, the processor executes an eye data transmission processing method.

[0083] like Figure 6As shown, it is a schematic diagram of the system structure of the eye examination device provided in the embodiment of the present application, wherein the power chip, the image sensor, the communication interface, the processor, and the memory are interconnected through a bus, the power chip is used to provide power supply, the communication interface is used to receive or send data to the terminal device, and the processor is a single-core or multi-core central processing unit, or a specific integrated circuit, or one or more integrated circuits configured to implement the embodiment of the present invention. The memory can be a random access memory (RAM) or a non-volatile memory (non-volatile memory), such as at least one hard disk memory. The memory is used to store computer execution instructions. Specifically, the computer execution instructions may include programs.

[0084] In this embodiment, when the processor calls the program, it can execute the operations of the eye data transmission processing method, which will not be described in detail here.

[0085] It should be understood that the processor provided in the above embodiments of the present application may be a central processing unit (CPU), or 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, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0086] It should also be understood that the number of processors in the computer device in the above embodiments of the present application can be one or more, and can be adjusted according to the actual application scenario. This is only an exemplary description and is not limited. The number of memories in the embodiments of the present application can be one or more, and can be adjusted according to the actual application scenario. This is only an exemplary description and is not limited.

[0087] It should also be noted that when a computer device includes a processor (or processing unit) and a memory, the processor in this application can be integrated with the memory, or the processor and the memory can be connected through an interface. It can be adjusted according to the actual application scenario and is not limited.

[0088] The present application provides a chip system, which includes a processor for supporting a computer device (client or server) to implement the functions of the controller involved in the above method, such as processing the data and / or information involved in the above method. In one possible design, the chip system also includes a memory, which is used to store necessary program instructions and data. The chip system can be composed of a chip or a chip and other discrete devices.

[0089] In another possible design, when the chip system is a chip in a user device or access network, the chip includes: a processing unit and a communication unit. The processing unit may be, for example, a processor, and the communication unit may be, for example, an input / output interface, a pin or a circuit. The processing unit may execute computer-executable instructions stored in the storage unit so that the chip in the client or management server may perform the steps of the common sense question answering method. Optionally, the storage unit is a storage unit in the chip, such as a register, a cache, etc. The storage unit may also be a storage unit located outside the chip in the client or management server, such as a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM), etc.

[0090] It should be understood that the methods and / or embodiments in the embodiments of the present application can be implemented as computer software programs. For example, the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. When the computer program is executed by the processing unit, the above functions defined in the method of the present application are executed.

[0091] It should be understood that the controller or processor mentioned in the above embodiments of the present application may be a central processing unit (CPU), or may 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, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0092] It should also be understood that the number of processors or controllers in the computer device or chip system in the above embodiments of the present application can be one or more, and can be adjusted according to the actual application scenario. This is only an exemplary description and is not limited. The number of memories in the embodiments of the present application can be one or more, and can be adjusted according to the actual application scenario. This is only an exemplary description and is not limited.

[0093] It should be noted that the computer-readable medium described in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device.

[0094] In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0095] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0096] The flow chart or block diagram in the accompanying drawings shows the possible architecture, function and operation of the equipment, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated system for hardware that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0097] As another aspect, the embodiments of the present application further provide a computer-readable medium, which may be included in the device described in the above embodiments; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more computer-readable instructions, which may be executed by a processor to implement the steps of the methods and / or technical solutions of the above-mentioned multiple embodiments of the present application. The computer may be the above-mentioned computer device (client or server or other computer network communication device).

[0098] In a typical configuration of the present application, the terminal and the equipment of the service network each include one or more processors (CPU), input / output interface, network interface and memory.

[0099] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0100] Computer readable media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, modules of programs or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.

[0101] In addition, an embodiment of the present application further provides a computer program, which is stored in a computer device, so that the computer device executes the method for controlling code execution.

[0102] It should be noted that the present application can be implemented in software and / or a combination of software and hardware, for example, can be implemented using an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device. In certain embodiments, the software program of the present application can be executed by a processor to implement the above steps or functions. Similarly, the software program of the present application (including related data structures) can be stored in a computer-readable recording medium, for example, a RAM memory, a magnetic or optical drive or a floppy disk and similar devices. In addition, some steps or functions of the present application can be implemented using hardware, for example, as a circuit that cooperates with a processor to perform each step or function.

[0103] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic features of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present application is defined by the attached claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present application. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, the terms used in the embodiments of the present application are for the purpose of describing specific embodiments only and are not intended to limit the present invention.

[0104] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the invention described herein can be implemented in an order other than those illustrated or described herein. The singular forms "a", "an", and "the" used in the embodiments of the present application are also intended to include the plural forms, unless the context clearly indicates otherwise.

[0105] In addition, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus that includes a series of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not explicitly listed or inherent to such process, method, product, or apparatus.

[0106] In the description of the present application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; "and / or" in the present application is only a kind of association relationship describing the associated objects, indicating that there can be three relationships, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. Depending on the context, the words "if" or "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination" or "in response to detection". Similarly, depending on the context, the phrases "if it is determined" or "if (stated condition or event) is detected" can be interpreted as "when determined" or "in response to determination" or "when (stated condition or event) is detected" or "in response to detection (stated condition or event)".

[0107] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for transmitting and processing fundus data based on an ophthalmological device, characterized in that: include: Establish a data transmission relationship with an external device and obtain a unique identifier from the external device; Acquiring a fundus image, wherein the ophthalmological device is provided with an image acquisition device for acquiring a fundus image and a processor; Inputting the fundus image into a processor, the processor calling a multi-scale attention joint network model to perform visual segmentation on the fundus image to obtain an image segmentation result, wherein the multi-scale attention joint network model is based on a U-Net network architecture, is constructed based on multi-scale convolution and ECANet attention, and is trained according to a loss function obtained by coupling a Dice loss function and a cross entropy loss function; Establishing a corresponding relationship between the image segmentation result and the fundus image, and marking it with the unique identifier; The marked and corresponding fundus image and the image segmentation result are sent to an external device, wherein the external device archives and / or displays them according to the unique identifier.

2. The method according to claim 1, characterized in that The multi-scale attention joint network model includes: an encoder and a decoder; The encoder includes five layers, including four downsamplings, each layer includes a multi-scale convolution module and a general convolution block with a convolution kernel of 3x3 in sequence; and each layer from the first to the fourth layer is connected to an ECANet attention module after the general convolution block; The decoder includes five layers corresponding to the encoder, including four upsamplings, and each of the second to fifth layers includes two general convolution blocks with convolution kernels of 3x3 connected in sequence, and the fifth layer of the decoder is used as an output layer, and a general convolution block with a convolution kernel of 1x1 is connected after the two general convolution blocks; The fifth layer of the encoder is shared with the first layer of the decoder.

3. The method according to claim 2, characterized in that The first layer of the encoder is jump-connected to the fifth layer of the decoder after passing through the ECANet attention module; The second layer of the encoder is jump-connected to the fourth layer of the decoder after passing through the ECANet attention module; The third layer of the encoder is jump-connected to the third layer of the decoder after passing through the ECANet attention module; The fourth layer of the encoder is jump-connected to the second layer of the decoder after passing through the ECANet attention module.

4. The method according to claim 3, characterized in that The step of inputting the fundus image into a multi-scale attention joint network model to obtain an image segmentation result includes: Input the fundus image into an encoder to obtain a multi-channel feature map extracted from the first layer to the fifth layer; The multi-channel feature map extracted from the fifth layer is used as the input of the first layer of the decoder, and the upsampled features are obtained after upsampling and input into the second layer of the decoder; The second to fifth layers of the decoder convolve the upsampled features from the previous layer and the weighted features from the ECANet attention module of the encoder through two general convolution blocks and then upsample the upsampled features to the next layer of the decoder until the fifth layer of the decoder, and input the convolution features of the fifth layer of the decoder after convolution with two general convolution blocks into a general convolution block with a convolution kernel of 1x1, so that the feature channels of the convolution features become 2, so as to divide the fundus image into two categories: background and target, and obtain an image segmentation result.

5. The method according to claim 4, characterized in that The step of inputting the fundus image into an encoder to obtain a multi-channel feature map extracted from the first layer to the fifth layer includes: Inputting the fundus image into a multi-scale convolution module; The multi-scale convolution module uses at least two convolution kernels of different sizes to perform feature extraction on the fundus image to obtain a first feature map and a second feature map; After fusing the first feature map and the second feature map, convolution is performed using a general convolution block with a convolution kernel of 3x3 to obtain a multi-channel feature map; Among them, the second to fifth layers of the encoder downsample the multi-channel feature map of the previous layer as the input of the multi-scale convolution module, and obtain the multi-channel feature map through a general convolution block with a convolution kernel of 3x3.

6. The method according to claim 4, characterized in that The ECANet attention module performs attention weighting on the input multi-channel feature map to obtain a weighted feature map; the method for performing attention weighting includes: Obtaining the width, height and channel size of the multi-channel feature map; Performing global average pooling on the multi-channel feature map, and generating a set of channel weights through a one-dimensional convolution of size k, wherein k is adaptively determined according to the channel size of the multi-channel feature map; After activation using the sigmoid activation function, the channel weight is used as a dynamic calibration coefficient of the multi-channel feature map to perform weighted reconstruction on the multi-channel feature map to obtain a weighted feature map.

7. The method according to claim 1, characterized in that The loss function obtained by coupling the Dice loss function and the cross entropy loss function is as follows: L Total =λ×L D +(1-λ)×L CE ; in, Among them, L Total Represents the loss function obtained by coupling the Dice loss function and the cross entropy loss function; L CE represents the Dice loss function, L D represents the cross entropy loss function; Y represents the true value, represents the predicted value, and λ represents the weighting parameter.

8. A fundus data transmission and processing system, applied to eye examination equipment, characterized in that: include: A data receiving module, used to establish a data transmission relationship with an external device and receive a unique identifier from the external device; A data acquisition module, used for acquiring fundus images, wherein the ophthalmological device is provided with an image acquisition device for acquiring fundus images and a processor; A data processing module, used for inputting the fundus image into a processor, and the processor calls a multi-scale attention joint network model to perform visual segmentation on the fundus image to obtain an image segmentation result, wherein the multi-scale attention joint network model is based on a U-Net network architecture, and is constructed based on multi-scale convolution and ECANet attention, and is trained according to a loss function obtained by coupling a Dice loss function and a cross entropy loss function; A data marking module, used for establishing a corresponding relationship between the image segmentation result and the fundus image, and marking it with the unique identifier; The data sending module sends the marked and corresponding fundus image and the image segmentation result to an external device, wherein the external device archives and / or displays according to the unique identifier.

9. An eye examination device, characterized in that: The eye examination device comprises: a communication interface, a processor, a memory and a bus, wherein the communication interface, the processor and the memory are interconnected via the bus; The memory stores computer program instructions, which, when executed, cause the processor to perform the method according to any one of claims 1 to 7.

10. A computer-readable medium, applied to an ophthalmological device, characterized in that: Computer program instructions are stored thereon, and the computer program instructions can be executed by a processor to implement the method according to any one of claims 1-7.