Microscope imaging mode migration method and system, and storage medium

The method and system enhance corneal endothelial cell image quality by transitioning between microscopy modes using a generative network, addressing patient comfort and image clarity issues, enabling accurate segmentation and clinical parameter evaluation.

JP2024151312APending Publication Date: 2024-10-24SOUTHERN UNIVERSITY OF SCIENCE AND TECHNOLOGY +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024059298
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-11
Filing Date
2024-04-02
Publication Date
2024-10-24

AI Technical Summary

Technical Problem

Current methods for acquiring corneal endothelial cell images face challenges with contact microscopes being unfriendly to patients and non-contact microscopes producing poor image quality, leading to difficulties in segmentation and parameter estimation.

Method used

A method and system utilizing a generative network to transition between corneal endothelial microscopy and confocal microscopy imaging modes, enhancing image quality through bidirectional mode conversion.

Benefits of technology

Improves image quality and facilitates accurate corneal endothelial cell segmentation, providing a reliable evaluation aid for clinical parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024151312000001_ABST
    Figure 2024151312000001_ABST
Patent Text Reader

Abstract

To solve the problem of unclear images.SOLUTION: The invention discloses a microscope imaging mode migration method and system and a storage medium, the method comprising carrying out the model training with a generative network, mutually converting the corneal endothelium microscope image data of a domain A and the confocal microscope image data of a domain B so as to cause each domain to learn the images of the other domain, taking the generated domain B synthetic image data and domain A synthetic image data as input to continuously and circularly train the generated image data, and continuously discriminating the continuously updated domain B synthetic image data and domain A synthetic image data so as to iteratively make the generated image data closer to real image data in an original domain. In the training process, the performance of the generative network is improved mainly by reducing the value of an obtained loss function.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the medical image processing technical field, and more particularly to a microscope imaging mode transition method, system and storage medium. [Background technology]

[0002] Corneal endothelial cells are a layer of tightly packed non-renewable cells located on the posterior surface of the cornea, mostly hexagonal in shape. In addition to aging, external damage, corneal disease, and other factors can cause corneal endothelial cells to die and lose cell density. The cornea cannot maintain normal function without sufficient endothelial cells, and the limiting cell density is usually 400-500 cells per square millimeter. When corneal endothelial cells die, neighboring cells migrate in and expand to occupy the area of ​​the dead corneal endothelial cells, leading to unpredictable cell elongation, thinning, and area increase.

[0003] At present, the main methods of acquiring images of corneal endothelial cells are divided into contact corneal endothelial cell microscopes and non-contact microscopes. In vivo confocal microscopes are contact microscopes, and the images are clear. During observation, the device directly contacts the cornea through the gel, which is unfriendly to the patient, difficult to operate, requires preparation and disinfection before and after the examination, and may cause damage to the eye. The use of non-contact corneal endothelial cell microscopes can reduce the risk of infection for the subject and the potential risk of damage to the eye. Non-contact corneal endothelial cell microscopes have a relatively narrow field of view and cannot avoid the patient's nystagmus state, which makes it easy to cause low image quality factors such as image blurring, out-of-focus, uneven lighting, and low contrast, which increases the challenges of downstream tasks of corneal endothelial cell images, such as segmentation tasks and parameter estimation tasks. Summary of the Invention

[0004] The gist of the present invention is to solve at least one of the technical problems existing in the prior art, and therefore, the present invention provides a microscope imaging mode transition method that solves the problem that the use of a contact microscope to acquire an image of a corneal endothelial cell is unfriendly to a patient, while the use of a non-contact microscope causes a problem of the image becoming unclear.

[0005] The present invention further provides a microscope imaging mode transition system and a computer readable storage medium.

[0006] According to the microscope imaging mode transition method of the embodiment of the first aspect of the present invention, preparing a domain A image dataset and a domain B image dataset and constructing a generative network, where the domain A is a corneal endothelial microscopy imaging domain and the domain B is a confocal microscopy imaging domain, and the domain A image dataset and the domain B image dataset are either already paired or unpaired; training a model by inputting the Domain A image dataset and the Domain B image dataset into the generative network; training the generative network with a reduced loss function to improve performance; and realizing an ophthalmologic image processing system that has transitioned to domain B mode by inputting a domain A image to be processed into the trained generative network and processing it. The microscope imaging mode transition method according to the embodiment of the present invention has at least the following beneficial effects.

[0007] A model is learned by using a generative network to convert the corneal endothelial microscopy image data of domain A and the confocal microscopy image data of domain B into each other, and the image of the other domain is learned, and the generated image data is continuously and repeatedly learned by using the generated domain B composite image data and domain A composite image data as input, and the generated image data is continuously distinguished from the continuously updated domain B composite image data and domain A composite image data, so that the generated image data and the actual image data in the original domain are successively obtained to be closer and closer to each other, and the learning process mainly reduces the value of the obtained loss function to improve the performance of the generative network. Therefore, the generative network is used in the method of the embodiment of the present invention to realize the bidirectional mode transition between the corneal endothelial microscopy imaging and the confocal microscopy imaging, and the mode transition is favorable to alleviate the imaging technical constraints of the non-contact corneal endothelial cell microscope, and improves the image quality under certain equipment cost constraints. An effective image quality enhancement method would be more advantageous for obtaining more accurate corneal endothelial cell segmentation results, and therefore for better evaluation of clinical parameters related to corneal endothelial cells, providing more reliable evaluation assistance to clinical personnel.

[0008] According to some embodiments of the present invention, the generation network includes a first generator, a second generator, a first classifier, and a second classifier; The step of training a model by inputting the Domain A image dataset and the Domain B image dataset into the generative network includes: transforming, using the first generator, domain A original image data to generate domain B composite image data, and transforming, using the second generator, domain B original image data to generate domain A composite image data, the domain A image data set including a plurality of the domain A original image data, and the domain B image data set including a plurality of the domain B original image data; updating the domain B composite image data by performing a transformation on the domain A composite image data using the first generator, and updating the domain A composite image data by performing a transformation on the domain B composite image data using the second generator; The method includes a step of using the first classifier to process the domain B synthetic image data to obtain a classification result, and using the second classifier to process the domain A synthetic image data to obtain a classification result.

[0009] According to some embodiments of the present invention, the loss function comprises a first frequency domain information loss function and a second frequency domain information loss function; The step of improving performance by training the generative network with a reduced loss function further comprises: training the first generator by reducing the first frequency domain information loss function such that the first generator preserves consistency of cell boundary patterns; and training the second generator by reducing the second frequency domain information loss function, such that the second generator preserves consistency of cell boundary patterns. According to some embodiments of the present invention, the first generator includes a convolutional layer encoder, a collective residual transformer, and a frequency-domain convolutional layer decoder, and the first frequency-domain information loss function is constrained by the following mathematical model:

number

number

number

number

[0010] According to some embodiments of the present invention, the loss function further comprises a first classifier performance function, a second classifier performance function, and a cycle loss function; The step of improving performance by training the generative network with a reduced loss function further comprises: training the first classifier by reducing a performance function of the first classifier to improve the ability of the first classifier to distinguish between generated data and original data; training the second classifier by reducing the second classifier performance function to improve the ability of the second classifier to distinguish between generated data and original data; Reducing the cyclic loss function to ensure cyclic stability during the data generation process.

[0011] According to some embodiments of the present invention, the first classifier performance function and the second classifier performance function are each constrained by the following mathematical model:

number

number

number

number

number

number

number

number

number

number

number

number

number

[0012] The cycle loss function is constrained by the following mathematical model:

number

number

number

number

[0013] According to some embodiments of the present invention, the first generator includes a convolutional layer encoder, a collective residual transformer, and an image convolutional layer decoder; The step of converting the domain A original image data to generate the domain B composite image data using the first generator includes: obtaining encoded image data by processing the domain A original image data by the convolutional layer encoder; processing the encoded image data with the aggregate residual transformer to obtain transformed image data; and processing the transformed image data in the image convolutional layer decoder to obtain the domain B combined image data.

[0014] According to some embodiments of the present invention, the first classifier includes a sensor module, a plurality of first convolution layers, and a fully connected layer; The step of obtaining a classification result by processing the domain B combined image data using the first classifier includes: performing multiple scale feature extraction on the Domain B composite image data using the sensor module, and obtaining first feature extraction data after an upsampling process; performing a convolution operation on the first feature extraction data in a plurality of the first convolution layers in sequence to obtain second feature extraction data; and performing processing on the second feature extraction data using the fully connected layer to obtain the classification result.

[0015] According to the microscope imaging mode transition system of the embodiment of the second aspect of the present invention, a data preparation and model building unit used to prepare a Domain A image dataset and a Domain B image dataset and to build a generative network, where the Domain A is a corneal endothelium microscopy imaging domain and the Domain B is a confocal microscopy imaging domain, and the Domain A image dataset and the Domain B image dataset are either already paired or unpaired; a model training unit, which is used for performing model training by inputting the Domain A image dataset and the Domain B image dataset into the generative network; a learning optimization unit adapted to train the generative network using a reduced loss function to improve performance; and a mode transition unit used to realize an ophthalmic image processing system that has transitioned to domain B mode by inputting a domain A image to be processed into the trained generative network and processing it.

[0016] The microscope imaging mode transition system according to the embodiment of the present invention has at least the following beneficial effects.

[0017] Model learning is performed using a generative network to convert the corneal endothelial microscopic image data of domain A and the confocal microscopic image data of domain B into each other, thereby learning the image of the other domain, and further, the generated domain B composite image data and domain A composite image data are used as inputs to continuously and repeatedly learn the generated image data, and continuously discriminate against the continuously updated domain B composite image data and domain A composite image data, so that the generated image data and the actual image data in the original domain are successively obtained to be closer and closer to each other, and the learning process mainly reduces the value of the obtained loss function to improve the performance of the generative network. Therefore, the system of the embodiment of the present invention uses a generative network to realize bidirectional mode transition between corneal endothelial microscopic imaging and confocal microscopic imaging, and the mode transition is favorable to alleviate the imaging technical constraints of non-contact corneal endothelial cell microscope, and improves image quality under certain equipment cost constraints. An effective image quality enhancement method would be more advantageous in obtaining more accurate corneal endothelial cell segmentation results, and therefore in better evaluating clinical parameters related to corneal endothelial cells, providing more reliable evaluation assistance to clinical personnel.

[0018] According to a computer-readable storage medium of an embodiment of the third aspect of the present invention, computer-executable commands are stored in the computer-readable storage medium, and the computer-executable commands are used to cause a computer to execute, for example, the microscope imaging mode transition method described in the embodiment of the first aspect of the present invention.

[0019] It can be understood that the beneficial effects of the third aspect compared to the related art are the same as the beneficial effects of the first aspect compared to the related art, and reference can be made to the relevant descriptions in the first aspect, so they will not be described separately here.

[0020] Other features and advantages of the invention will be set forth in the specification which follows, and in part will be apparent from the specification, or may be learned by the practice of the invention. These and / or additional aspects and advantages of the invention will become apparent from, and be readily understood from, the following detailed description of the embodiments taken in conjunction with the drawings. [Brief description of the drawings]

[0021] [Figure 1] 1 is a flowchart of a microscope imaging mode transition method according to one embodiment of the present invention. [Diagram 2] FIG. 2 is a schematic diagram of a generation network according to one embodiment of the present invention. [Diagram 3] FIG. 2 is a schematic diagram of a first generator in one embodiment of the present invention. [Figure 4] FIG. 2 is a schematic diagram of a first classifier according to one embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0022] The embodiments of the present invention will be described in detail below, and examples of the embodiments are shown in the drawings, in which the same or similar reference numerals throughout represent the same or similar components or elements having the same or similar functions. The embodiments to which the description of the drawings refers below are illustrative and are merely for the purpose of explaining the present invention, and cannot be understood as limitations on the present invention.

[0023] In describing the invention, if a term such as first, second, etc. is used, it is merely for the purpose of distinguishing technical features and cannot be understood as indicating or implying the relative importance, or implying the quantity of the technical features which it indicates, or indicating or implying the context of the technical features which it indicates.

[0024] In describing the present invention, it should be understood that directional descriptions, e.g., up, down, etc., are based on the illustrated directions or positions and are merely for ease of describing or simplifying the description of the present invention, and are not intended to indicate or imply that the devices or components shown are necessarily configured and operated in a particular direction or orientation, and should not be understood as limiting the present invention.

[0025] In the description of the present invention, unless otherwise expressly limited, the terms such as installation, attachment, connection, etc. shall be interpreted broadly, and it should be explained that a person skilled in the art in the relevant technical field can reasonably determine the specific meaning of the terms in the present invention in accordance with the specific content of the technical methods.

[0026] The technical methods of the present invention will be described more clearly and completely below in conjunction with the drawings. It should be apparent that the described embodiments are only a part of the embodiments of the present invention, and are not all of the embodiments.

[0027] Referring to FIG. 1, which is a flowchart of a microscope imaging mode transition method provided in an embodiment of the present invention, the method includes: preparing a domain A image dataset and a domain B image dataset and constructing a generative network, where domain A is a corneal endothelial microscopy imaging domain and domain B is a confocal microscopy imaging domain, and the domain A image dataset and the domain B image dataset are either already paired or unpaired; training a model by inputting the Domain A image dataset and the Domain B image dataset into a generative network; training a generative network using a reduced loss function to improve performance; The method includes a step of inputting the domain A image to be processed into a trained generative network and processing it to realize an ophthalmic image processing system that has transitioned to domain B mode.

[0028] Specifically, as shown in FIG. 1, it can be understood that the image data sets of domain A (corneal endothelium microscope imaging) and domain B (confocal microscope imaging) are first prepared, and a generative network is constructed. According to the characteristics of the generative network, the domain A image data set and the domain B image data set do not need to be exactly paired, that is, the domain A image data set and the domain B image data set are already paired or not paired. Then, the generative network is trained using the domain A image data set and the domain B image data set, and in the training process, the loss function is reduced to train the generative network, thereby improving the performance, and finally a trained generative network is obtained. By using the training network, the input corneal endothelium microscope image can generate a confocal mode image through mode transition, and vice versa. By using the mode transition method of the embodiment of the present invention, the cost and difficulty of acquiring a confocal microscope image can be reduced.

[0029] In this embodiment, model learning is performed using a generation network, and the corneal endothelial microscopy image data of domain A and the confocal microscopy image data of domain B are converted into each other, so as to learn the image of the other domain; furthermore, the generated domain B composite image data and domain A composite image data are input, and the generated image data is continuously and repeatedly learned; and the continuously updated domain B composite image data and domain A composite image data are continuously discriminated, so that the generated image data and the actual image data in the original domain are successively obtained to be closer and closer to each other; and the learning process mainly reduces the value of the obtained loss function, so as to improve the performance of the generation network. Therefore, the generation network is used in the method of the embodiment of the present invention to realize the bidirectional mode transition between the corneal endothelial microscopy imaging and the confocal microscopy imaging, and the mode transition is favorable to alleviate the imaging technical constraints of the non-contact corneal endothelial cell microscope, and improves the image quality under certain equipment cost constraints. An effective image quality enhancement method would be more advantageous in obtaining more accurate corneal endothelial cell segmentation results, and therefore in better evaluating clinical parameters related to corneal endothelial cells, providing more reliable evaluation assistance to clinical personnel.

[0030] In some embodiments, as shown in FIG. 2 , the generation network includes a first generator, a second generator, a first classifier, and a second classifier; The step of training a model by inputting the domain A image dataset and the domain B image dataset into a generative network includes: transforming, using a first generator, the domain A original image data to generate domain B composite image data and, using a second generator, the domain B original image data to generate domain A composite image data, the domain A image data set including a plurality of domain A original image data and the domain B image data set including a plurality of domain B original image data; updating the domain B composite image data by performing a transformation on the domain A composite image data using a first generator and updating the domain A composite image data by performing a transformation on the domain B composite image data using a second generator; The method includes a step of using a first classifier to process the domain B synthetic image data to obtain a classification result, and using a second classifier to process the domain A synthetic image data to obtain a classification result.

[0031] Specifically, referring to FIG. 2, it can be seen that in some embodiments, the generative network is a cycle generative adversarial network (CycleGAN), and the generative network is composed of two sets of generators-classifiers. First, the first generator and the second generator are used to initialize the confocal microscope image data of the learning domain B and the corneal endothelium microscope image data of the domain A, respectively, to generate the domain B synthetic image data and the domain A synthetic image data, respectively. Furthermore, the domain B synthetic image data and the domain A synthetic image data are continuously used to repeatedly generate and update, that is, the first generator and the second generator are continuously trained, so that the first generator can eventually generate image data in the domain B with extremely high similarity, and similarly, the second generator also generates image data in the domain A with extremely high similarity. In the learning process, the first classifier and the second classifier can be used to check whether the domain B synthetic image data and the domain A synthetic image data generated each time have suitable similarity. At the same time, the loss function is obtained, and the function reduction process is performed on it, so that the performance of the generative network during the learning process becomes more and more suitable.

[0032] In some embodiments, the loss function comprises a first frequency domain information loss function and a second frequency domain information loss function; The step of improving performance by training a generative network using a reduced loss function further comprises: training the first generator by reducing a first frequency domain information loss function such that the first generator preserves consistency of cell boundary patterns; and training the second generator by reducing a second frequency domain information loss function such that the second generator preserves consistency of cell boundary patterns.

[0033] Specifically, it can be seen that based on the corneal endothelial cell image, the frequency domain information can effectively extract the contour information of the cell structure. Therefore, the first generator and the second generator of the design of the embodiment of the present invention use the comparison constraint of the frequency domain information to enhance the consistency, specifically, the first generator and the second generator are trained by comparing the generated frequency domain spatial image with the original frequency domain spatial image, so as to maintain the consistency of the cell boundary pattern.

[0034] In some embodiments, as shown in FIG. 3 , the first generator includes a convolutional layer encoder, a collective residual transformer, and a frequency-domain convolutional layer decoder, and the first frequency-domain information loss function is constrained by the following mathematical model:

number

number

number

number

[0035] Specifically, referring to FIG. 3, the embodiment of the present invention only takes the first generator as an example, but the second generator also includes a frequency domain convolutional layer decoder, so that it can be understood that the second frequency domain information loss function can be obtained in the same way. Furthermore, the domain A original image data is processed in sequence by a convolutional layer encoder and an aggregated residual transformer, and then processed by a frequency domain convolutional layer decoder to extract the frequency domain image data of the generated domain B synthetic image data, that is, the domain B frequency domain image data, and the original frequency domain spatial image, that is, the domain A frequency domain image data, is obtained by performing a discrete Fourier transform or a fast Fourier transform on the domain A original image data. The first frequency domain information loss function can be obtained by performing a mean square error calculation on the domain B frequency domain image data and the domain A frequency domain image data, so that the consistency of the cell boundary pattern can be more suitably maintained by learning the first generator using a method that reduces the mean square error value.

[0036] Furthermore, the above mathematical model also only takes the first frequency domain information loss function as an example, but the second frequency domain information loss function can be obtained in the same way. Since the embodiment of the present invention considers the frequency domain information loss as a loss in the learning process, a frequency domain information loss function is constructed. It can be understood that the two frequency domain information loss functions are obtained by two generators, respectively. The frequency domain information loss function is specifically the difference calculated between the original image frequency domain result input to the generator and the frequency domain image generated by the generator. Since the frequency domain information can represent the features such as the cell structure and geometric distribution of the corneal endothelial cell image, the frequency domain information can more suitably constrain the consistency of the cell contour in the generation process. By reducing the numerical values ​​of the two frequency domain information loss functions, the purpose of constraining the structure of the generated image cells and matching it with the original domain input image cell structure as much as possible can be achieved.

[0037] In some embodiments, the loss function further comprises a first classifier performance function, a second classifier performance function, and a cycle loss function; The step of improving performance by training a generative network with a reduced loss function further comprises: training the first classifier by reducing a first classifier performance function to improve the ability of the first classifier to distinguish between the generated data and the original data; training the second classifier by reducing a second classifier performance function, thereby improving the ability of the second classifier to distinguish between the generated data and the original data; Reducing the cycle loss function to ensure cycle stability during the data generation process.

[0038] Specifically, it can be seen that in the learning process, the embodiment of the present invention uses a method of reducing the loss function to improve the performance of the generator and the classifier. As the loss function is reduced, the generator can generate data that is more similar to the target domain data, and the classifier can improve its ability to distinguish between the generated data and the original data. The main loss functions include a first classifier performance function, a second classifier performance function, and a cycle loss function.

[0039] In some embodiments, the first classifier performance function and the second classifier performance function are constrained by the following mathematical model, respectively:

number

number

number

number

number

number

number

number

number

number

number

number

number

[0040] The cycle loss function is constrained by the following mathematical model:

number

number

number

number

[0041] In addition, in order to ensure cycle stability in the generation data process, a cycle loss function is used in the learning process. In the cycle process, the original data is first generated as fictitious target data domain data, and then another generator is used to generate fictitious data belonging to the target data domain as data in the data domain where the original data is. The cycle loss function is used to calculate the difference between the original data and the fictitious data in the same data domain after the cycle generation process, and the cycle loss function can be reduced to transfer the style of data during the generation process while retaining the content of the original structure contour as much as possible.

[0042] In some embodiments, as shown in FIG. 3, the first generator includes a convolutional layer encoder, a collective residual transformer, and an image convolutional layer decoder; Transforming the domain A original image data to generate domain B composite image data using a first generator, Processing the domain A original image data with a convolutional layer encoder to obtain encoded image data; processing the encoded image data with a collective residual transformer to obtain transformed image data; and processing the transformed image data in an image convolutional layer decoder to obtain domain B synthesized image data.

[0043] Specifically, referring to Fig. 3, taking the first generator as an example, the original image data of domain A is first encoded by a convolutional layer encoder, and then further processed by an aggregated residual transformer to complete the depth extraction of the convolutional features, and finally decoded by an image convolutional layer decoder corresponding to the convolutional layer encoder to generate the composite image data of domain B. It can be understood that the structure of the second generator in the embodiment of the present invention is the same as or similar to the structure of the first generator, and the main difference is that the image data processing domain is different.

[0044] In addition, the aggregated residual transformer, i.e., aggregated residual transformation networks (ResNeXt), inherits the two major characteristics of ResNet, namely, Strategy of Repeating Layers and Skip Connection, and introduces a new topology structure, i.e., aggregated residual transformation module (ART), which performs grouped convolution feature extraction. Each submodule in ResNeXt performs convolution in the form of group convolution, and the grouping of convolution in the aggregated residual block can supervise the network learning to have more differentiated expression information through multiple parallel group convolution operations, and also brings about the effect of network regularization, making the extracted convolution operation more sparse, greatly reducing the complexity of each sub-network, and thus avoiding the risk of over-learning the model.

[0045] In some embodiments, as shown in FIG. 4 , the first classifier includes a sensor module, a plurality of first convolution layers, and a fully connected layer; The step of obtaining a classification result by processing the domain B composite image data using the first classifier includes: Performing multiple scale feature extraction on the Domain B composite image data using a sensor module, and obtaining first feature extraction data after an upsampling process; performing a convolution operation on the first feature extraction data in a plurality of first convolution layers in sequence to obtain second feature extraction data; and performing processing on the second feature extraction data using a fully connected layer to obtain a classification result.

[0046] Specifically, referring to FIG. 4, the first classifier is taken as an example to process the input domain B synthetic image data, and first, the sensor module is used to extract features at three scales: xl, xl / 2, and xl / 4. The extracted features are input to the subsequent part of the first classifier after upsampling and concatenation. The subsequent part of the first classifier includes three convolution operations and one fully connected convolution layer with a softmax function. The domain B synthetic image data is derived from the original domain B dataset, and can finally output a quantified classification result rather than the probability of the generated data.

[0047] In some embodiments, as shown in FIG. 4, the sensor module includes a serially connected average pooling layer, a second convolution layer, a batch normalization layer, and a ReLU function.

[0048] In addition, an embodiment of the present invention further provides a microscope imaging mode transition system, comprising: a data preparation and model construction unit, a model training unit, a learning optimization unit, and a mode transition unit, the data preparation and model construction unit being used to prepare a domain A image dataset and a domain B image dataset and to construct a generative network, where domain A is a corneal endothelial microscopy imaging domain, domain B is a confocal microscopy imaging domain, and the domain A image dataset and the domain B image dataset are either already paired or unpaired, a model training unit being used to input the domain A image dataset and the domain B image dataset into the generative network to perform model training, a learning optimization unit being used to train the generative network using a reduced loss function to improve performance, and a mode transition unit being used to input a target domain A image into the trained generative network for processing, thereby realizing an ophthalmic image processing system transitioned to domain B mode.

[0049] Specifically, referring to Figure 1, it can be understood that the microscope imaging mode transition system of the present embodiment is used to realize the microscope imaging mode transition method, and that the microscope imaging mode transition system of the present embodiment corresponds to the above-mentioned microscope imaging mode transition method. For specific processing processes, please refer to the above-mentioned microscope imaging mode transition method, and will not be described separately here.

[0050] In this embodiment, model learning is performed using a generation network, and the corneal endothelial microscope image data of domain A and the confocal microscope image data of domain B are converted into each other, so as to learn the image of the other domain; furthermore, the generated domain B composite image data and domain A composite image data are input, and the generated image data is repeatedly learned, and the continuously updated domain B composite image data and domain A composite image data are continuously discriminated, so that the generated image data and the actual image data in the original domain are successively obtained to be closer and closer to each other; and the learning process mainly reduces the value of the obtained loss function, thereby improving the performance of the generation network. Therefore, the generation network is used in the system of the embodiment of the present invention to realize the bidirectional mode transition between the corneal endothelial microscope imaging and the confocal microscope imaging, and the mode transition is favorable to alleviate the imaging technical constraints of the non-contact corneal endothelial cell microscope, and improves the image quality under certain equipment cost constraints. An effective image quality enhancement method would be more advantageous in obtaining more accurate corneal endothelial cell segmentation results, and therefore in better evaluating clinical parameters related to corneal endothelial cells, providing more reliable evaluation assistance to clinical personnel.

[0051] In addition, an embodiment of the present invention further provides a computer-readable storage medium having computer-executable commands stored therein, the computer-executable commands being executed by one or more control processors, the one or more control processors executing a microscope imaging mode transition method in the method embodiment, for example, the method in FIG. 1 described above.

[0052] Those skilled in the art can understand that all or some steps in the above disclosed method, system can be implemented as software, firmware, hardware and suitable combinations thereof. Some or all physical assemblies can be implemented as hardware executed by a processor, such as a CPU, digital signal processor or microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as a special purpose integrated circuit. Such software can be distributed on a computer readable medium, which can include computer storage media (or non-transitory media) and communication media (or transitory media). As known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (e.g., computer readable commands, data structures, program modules or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory devices, CD-ROM, digital versatile disks (DVD) or other optical disk memory, magnetic cassettes, magnetic tape, magnetic disk memory or other magnetic storage devices, or any other medium that stores the desired information and is accessible by a computer. Additionally, as known to those skilled in the art, communication media typically include computer readable commands, data structures, program modules or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0053] Although the embodiments of the present invention have been described in detail above with reference to the drawings, the present invention is not limited to the above embodiments, and various modifications are possible within the scope of knowledge held by those skilled in the art without departing from the spirit of the present invention.

Claims

1. preparing a domain A image dataset and a domain B image dataset and constructing a generative network, where the domain A is a corneal endothelial microscopy imaging domain and the domain B is a confocal microscopy imaging domain, and the domain A image dataset and the domain B image dataset are either already paired or unpaired; training a model by inputting the Domain A image dataset and the Domain B image dataset into the generative network; training the generative network with a reduced loss function to improve performance; A microscope imaging mode transition method comprising: a step of inputting a domain A image to be processed into the trained generative network and processing it to realize an ophthalmic image processing system that has transitioned to domain B mode.

2. the generation network includes a first generator, a second generator, a first classifier, and a second classifier; The step of training a model by inputting the Domain A image dataset and the Domain B image dataset into the generative network comprises: transforming, using the first generator, domain A original image data to generate domain B composite image data and, using the second generator, transforming, using the second generator, domain B original image data to generate domain A composite image data, the domain A image data set including a plurality of the domain A original image data and the domain B image data set including a plurality of the domain B original image data; updating the domain B composite image data by performing a transformation on the domain A composite image data using the first generator, and updating the domain A composite image data by performing a transformation on the domain B composite image data using the second generator; The microscope imaging mode transition method of claim 1, further comprising a step of: using the first classifier to process the domain B composite image data to obtain a classification result; and using the second classifier to process the domain A composite image data to obtain a classification result.

3. the loss function includes a first frequency domain information loss function and a second frequency domain information loss function; The step of improving performance by training the generative network with a reduced loss function further comprises: training the first generator by reducing the first frequency domain information loss function such that the first generator preserves consistency of cell boundary patterns; The microscope imaging mode transition method of claim 2, further comprising a step of training the second generator by reducing the second frequency domain information loss function, so that the second generator maintains consistency of cell boundary patterns.

4. The first generator includes a convolutional layer encoder, a collective residual transformer, and a frequency-domain convolutional layer decoder, and the first frequency-domain information loss function is constrained by the following mathematical model: [0010] During the ceremony, [0025] is the first frequency domain information loss function, [0030] is the domain A frequency domain image data, [0045] represents domain B frequency domain image data, The first frequency domain information loss function is obtaining domain B frequency domain image data, the domain B frequency domain image data being obtained by processing the domain A original image data through the convolutional layer encoder, the aggregated residual transformer, and the frequency domain convolutional layer decoder in that order; acquiring domain A frequency domain image data, the domain A frequency domain image data being obtained by performing a discrete Fourier transform on the domain A original image data; The microscope imaging mode transition method of claim 3, further comprising the steps of: obtaining the first frequency domain information loss function by performing a mean square error calculation on the domain B frequency domain image data and the domain A frequency domain image data.

5. the loss functions further include a first classifier performance function, a second classifier performance function, and a cycle loss function; The step of improving performance by training the generative network with a reduced loss function further comprises: training the first classifier by reducing the first classifier performance function to improve the ability of the first classifier to distinguish between generated data and original data; training the second classifier by reducing the second classifier performance function to improve the ability of the second classifier to distinguish between generated data and original data; 3. The microscope imaging mode transition method of claim 2, further comprising: reducing the cycle loss function to ensure cycle stability during the data generation process.

6. The first classifier performance function and the second classifier performance function are each constrained by the following mathematical model: [0050] During the ceremony, [006] represents the first classifier performance function, [0070] represents the second classifier performance function, [0080] is the image data in domain A, [0097] is obtained by generating image data in domain B by the second generator, [0010] is the image data in domain B, ##EQU00011## is obtained by generating image data in domain A by the first generator, ##EQU00012## and ##EQU00013## represent samples taken in data domain A and data domain B, respectively, ##EQU00014## and ##EQU00015## represents the loss expectation generated cyclically using the L1 norm calculation, ##EQU00016## represents the first discriminator, ##EQU00017## represents the second classifier, The cycle loss function is constrained by the following mathematical model: [0018] During the ceremony, [0019] is the cycle loss function, [0020] is the first generator, ##EQU00021## The microscope imaging mode transition method according to claim 5 , wherein: represents the second generator.

7. The first generator includes a convolutional layer encoder, a collective residual transformer, and an image convolutional layer decoder; said step of transforming domain A original image data to generate domain B composite image data using said first generator further comprising: Processing the domain A original image data by the convolutional layer encoder to obtain encoded image data; processing the encoded image data with the aggregate residual transformer to obtain transformed image data; The microscope imaging mode transition method according to claim 2, further comprising a step of obtaining the domain B combined image data by processing the converted image data in the image convolutional layer decoder.

8. The first classifier includes a sensor module, a plurality of first convolution layers, and a fully connected layer; The step of obtaining a classification result by processing the domain B combined image data using the first classifier includes: performing multiple scale feature extraction on the Domain B composite image data using the sensor module, and obtaining first feature extraction data after an upsampling process; performing a convolution operation on the first feature extraction data in a plurality of the first convolution layers in sequence to obtain second feature extraction data; The microscope imaging mode transition method according to claim 2, further comprising a step of obtaining the classification result by processing the second feature extraction data using the fully connected layer.

9. a data preparation and model building unit used to prepare a domain A image dataset and a domain B image dataset and to build a generative network, where the domain A is a corneal endothelial microscopy imaging domain and the domain B is a confocal microscopy imaging domain, and the domain A image dataset and the domain B image dataset are either already paired or unpaired; a model learning unit, which is used for model learning by inputting the Domain A image dataset and the Domain B image dataset into the generative network; a learning optimization unit adapted to train the generative network using a reduced loss function to improve performance; A microscope imaging mode transition system comprising: a mode transition unit used to realize an ophthalmic image processing system that has transitioned to domain B mode by inputting a domain A image to be processed into the trained generative network and processing it.

10. A computer-readable storage medium having computer-executable commands stored thereon, the computer-executable commands being used to cause a computer to execute a microscope imaging mode transition method according to any one of claims 1 to 8.