Low-light image enhancement method based on domain generalization

By using the dual network structure and frequency domain loss function trained with paired data in the synthetic domain, the generalization ability and complexity problems of the low-light image enhancement method in real scenes are solved, and efficient cross-domain image enhancement is achieved, improving improves visual quality and model generalization performance.

CN118674629APending Publication Date: 2024-09-20SHANDONG NORMAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410700431.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Existing low-light image enhancement methods are difficult to generalize in real scenes. The design of multiple loss functions is complex and the network prediction effect is poor, resulting in unsatisfactory visual quality.

Method used

Adopt a dual network structure composed of a teacher network and a student network, use paired data training in the synthetic domain, optimize the network through the frequency domain loss function, achieve cross-domain image enhancement, simplify the loss function design, and improve the model generalization ability and training efficiency .

Benefits of technology

Successfully achieved cross-domain image enhancement, improved the visual quality and perceptual effect of real-domain low-light images, reduced model complexity and computational complexity, and improved the efficiency and effect of image enhancement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118674629A
    Figure CN118674629A
Patent Text Reader

Abstract

The invention discloses a low-light image enhancement method based on domain generalization, and the method comprises the steps: obtaining a pairwise data set of a synthetic domain and a single data set of a real domain, and constructing a dual-network structure composed of two teacher networks and a student network; in the training phase, the low-illumination image of the composite domain is used as the input of the student network, and the low-illumination image of the real domain is used as the input of the teacher network and the student network at the same time. In the network training process, a simple frequency domain loss function is adopted, the problem that the design of multiple loss functions is complex is effectively solved, and meanwhile the training efficiency of the model is improved. And continuously optimizing network training to obtain an optimal generalization model. And finally, inputting the test data set of the real domain into the optimal model to obtain an enhanced image. According to the method, the cross-domain problem is successfully solved, the target of cross-domain image enhancement is achieved, and effective technical support is provided for efficient real-domain image enhancement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a low-light image enhancement method based on domain generalization, and belongs to the technical field of image enhancement. Background Art

[0002] In our daily lives, visual perception is vital to humans. We rely on visual perception to understand and interpret the world around us, so as to make decisions and react. Especially in today's information age, images have become one of the main carriers of information transmission and communication. Whether it is picture sharing on social media, product display on e-commerce platforms, or image information in news reports, clear images with appropriate brightness are indispensable. However, due to various unpredictable factors such as lighting conditions, weather changes, equipment limitations, etc., images may degrade to varying degrees, thus affecting our visual perception. Among them, images taken under low light conditions are a common problem. Under low light conditions, images usually suffer from problems such as noise, color distortion, reduced contrast, and loss of details. These problems not only reduce the visual quality of the image, but also affect subsequent image processing and analysis tasks, such as high-level visual tasks such as object detection, image segmentation, and image recognition. Therefore, how to effectively enhance low-light images and improve their visual quality and usability is a very urgent issue.

[0003] Existing low-light image enhancement methods can generally be divided into two branches: low-light image enhancement methods based on traditional methods and low-light image enhancement methods based on deep learning. Among the low-light image enhancement methods based on traditional methods, the main ones include histogram equalization and gamma correction. Histogram equalization is to enhance the contrast by stretching the histogram of the image, and gamma correction is to adjust the brightness of the image by applying a nonlinear transformation to each pixel of the image. The traditional method is simple to implement and has a small amount of calculation. However, the traditional method usually performs image enhancement based on fixed rules or manually designed priors, lacks the ability to learn image content and features, and cannot be adaptively adjusted according to specific image conditions. While enhancing the image brightness, it often leads to the loss of image details or over-enhancement, resulting in image distortion and poor visual effects.

[0004] Low-light image enhancement methods based on deep learning are divided into three categories: supervised methods, unsupervised methods, and semi-supervised methods. The first is supervised methods, such as the LLFormer network proposed by Wang et al., which takes low-light images as input and uses an end-to-end network to generate enhanced images. However, supervised methods require normal-light images with the same background information as reference values ​​to constrain network training. Although supervised low-light image enhancement methods can achieve good results when there is sufficient training data, it is extremely difficult to obtain paired data, i.e., low-light images and normal-light images with the same background, in real scenes. Moreover, this method can usually only perform well on data seen during training, and has limited generalization ability for unseen data. The second is unsupervised methods, such as the Zero-DCE network proposed by Guo et al., which takes low-light images as input and outputs enhanced images through multiple designed curve correction functions. Although unsupervised methods solve the problem of paired data, they usually require the design of multiple complex loss functions to constrain the network training process, which not only leads to a significant increase in computational complexity, but also often affects the quality of the enhancement effect. These problems limit the application of unsupervised methods in image enhancement tasks. Finally, there are semi-supervised methods, such as the DRBN network proposed by Yang et al., which takes low-light images as input and generates the final enhanced image through multiple iterations of the network. However, due to the multiple iterations of the network, the computational complexity and parameter quantity of the network are greatly increased, and it is easy to cause overfitting problems.

[0005] In summary, the current existing low-light image enhancement methods have the following problems: First, it is difficult to obtain paired data in real scenes, which limits the applicability and generalization ability of supervised methods in practical applications; second, the design of multiple loss functions is complex, and usually needs to be adjusted and optimized according to specific tasks and network structures, which increases the computational complexity and implementation difficulty of the algorithm; third, the image enhancement effect predicted by the network is not good, and sometimes problems such as over-enhancement and distortion may occur, resulting in unsatisfactory visual quality of the final enhancement result. Summary of the invention

[0006] The purpose of the present invention is to propose a low-light image enhancement method to address the challenges currently faced in the field of low-light image enhancement, including the difficulty in generalizing models trained in the synthetic domain to the real domain, the complexity of designing multiple loss functions, and the poor effect of the network on low-light image enhancement.

[0007] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0008] A low-light image enhancement method based on domain generalization, by utilizing a dual network structure consisting of a teacher network and a student network and paired data in a synthetic domain, trains an enhancement model that can process real low-light images without corresponding reference images. The method includes the following steps:

[0009] S1. Acquire image datasets of different domains, including a paired dataset of a synthetic domain and a single dataset of a real domain, wherein the paired dataset of the synthetic domain includes an original image under normal lighting and a low-light image corresponding to the original image obtained in a simulated low-light environment, and the single dataset of the real domain includes a low-light image captured by a real scene;

[0010] S2. Construct a low-light image enhancement network structure, which is a dual network structure consisting of a teacher network and a student network. The dual networks use the same encoder-decoder structure. During the training phase, low-light images in the synthetic domain are used as input to the student network, while low-light images in the real domain are used as input to both the teacher network and the student network.

[0011] S3. Train the low-light image enhancement network to obtain the optimal generalization model. During the network training process, for the synthetic domain, the synthetic domain enhanced image output by the student network is constrained by the normal illumination image of the synthetic domain as a reference. For the real domain, the low-light image of the real domain is first input into the teacher network to obtain the enhanced image of the real domain. Then, based on this result, the normal illumination image of the synthetic domain is used to fine-tune the brightness as a reference for the real domain image, thereby constraining the real domain enhanced image output by the student network.

[0012] S4. Put the real domain test data set into the optimal model to obtain the enhanced image.

[0013] Furthermore, in step S1, the method for obtaining a paired data set of the synthetic domain is: first, obtain an original image under normal lighting conditions, and then simulate a low-light environment by adjusting the ISO value, exposure time, and aperture size parameters of the camera, thereby obtaining a low-light image with the same background as the original image but different lighting conditions.

[0014] Further, step S2 specifically includes:

[0015] Although the low-light image enhancement network structure consists of a student network and a teacher network, the two networks do not update the gradient information at the same time. During the training process, the student network is responsible for updating the network gradient, while the teacher network is frozen, that is, the network gradient is not updated. However, the teacher network is not completely static, and its gradient update is transmitted by the student network after each training in the form of exponential average moving; the student network and the teacher network share the same network structure, which adopts the U-Net structure built based on the encoder and decoder. The encoder part first performs shallow feature extraction through a convolution layer, and then performs deep feature encoding and information transmission through three downsampled residual combination blocks, where Each residual combination block consists of two convolutional layers, a ReLU activation function, a spatial attention block and a skip connection, forming a basic nonlinear transformation unit that can effectively extract and retain the complex features of the image. The decoder is responsible for decoding and reconstructing the encoded features. It first performs feature decoding and information transmission through three upsampled residual combination blocks. The structure of each residual combination block is the same as that in the encoder, including two convolutional layers, a ReLU activation function, a spatial attention block and a skip connection, which are used to effectively restore image details and texture information. Finally, a convolutional layer is used to map the decoded features back to the original image space to reconstruct the enhanced image.

[0016] Further, step S3 specifically includes:

[0017] In the training process of the low-light image enhancement network, the student network takes the low-light images of the synthetic domain and the low-light images of the real domain as input, while the teacher network takes the low-light images of the real domain as input. Through continuous training, the network structure is optimized to generate the best model. During the training process, the low-light images of the synthetic domain are input into the student network to generate enhanced images of the synthetic domain. Since the data of the synthetic domain are paired, the enhanced images of the synthetic domain are constrained by calculating the frequency domain loss with their corresponding normal light images as references. The low-light images of the real domain are first input into the teacher network to obtain enhanced images of the real domain. The teacher network provides good content information for the enhanced images of the real domain through the learned brightness information, image details and texture information. On this basis, the normal light images of the synthetic domain are further calibrated for brightness and used as reference images of the real domain. Finally, the frequency domain loss is calculated for the enhanced images of the real domain output by the student network. This is used as a constraint to prompt the entire network to learn and generate better enhanced images of the real domain.

[0018] The frequency domain loss is specifically expressed as:

[0019] L frequency =L fs +λL fr

[0020] Where Lfs represents the loss of synthetic domain images, L fr represents the loss of the real domain image, λ is the balance factor, which is set to 0.5 in this study. Each loss is specifically expressed as follows:

[0021] (1) Synthetic domain loss: L fs =WD(A s_pred ,A s_gt )+WD(P s_pred ,P s_gt )

[0022] Where WD represents the Waltherstein distance, A s_pred represents the amplitude of the image after synthetic domain enhancement, A s_gt represents the amplitude of the normal illumination image in the synthetic domain, P s_pred represents the phase of the image after synthetic domain enhancement, P s_gt represents the phase of the normal illumination image in the synthetic domain;

[0023] (2) Real domain loss: L fr =WD(A r_pred ,A r_ft )+WD(P r_pred ,P r_ft )

[0024] Where WD represents the Waltherstein distance, A r_pred represents the magnitude of the real domain enhanced image output by the student network, A r_ft represents the magnitude of the real domain enhanced image output by the fine-tuned teacher network, P r_pred represents the phase of the real domain enhanced image output by the student network, P r_ft represents the phase of the real domain augmented image output by the fine-tuned teacher network.

[0025] The advantages of the present invention are:

[0026] 1. The present invention successfully solves the domain generalization problem and achieves the goal of cross-domain image enhancement. By making full use of paired data in the synthetic domain, the enhancement technology is effectively transferred to a single image in the real domain, thereby achieving effective image enhancement between different domains.

[0027] 2. The present invention successfully solves the problem of complex design of multiple loss functions and can obtain excellent enhancement effects by using only a simple frequency domain loss function. This simplified loss function design not only reduces the complexity of the model, but also improves the training efficiency of the model, providing effective technical support for achieving efficient image enhancement. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1is a flow chart of an embodiment of the present invention;

[0029] Figure 2 is an overall network structure diagram of an embodiment of the present invention;

[0030] Figure 3 is a student network structure diagram of an embodiment of the present invention;

[0031] Figure 4 2 is an example diagram of the results of the embodiment of the present invention. DETAILED DESCRIPTION

[0032] The present invention is further described below in conjunction with specific embodiments. The specific embodiments described below are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.

[0033] In view of the problems that the existing low-light image enhancement network structure is not ideal for solving cross-domain problems, the design of multiple loss functions is complex, and the network enhancement effect is poor, see Figure 1 , Figure 2 , Figure 3 and Figure 4 The present invention discloses a low-light image enhancement method based on domain generalization, comprising the following steps:

[0034] S1. Acquire image datasets of different domains, including a paired dataset of a synthetic domain and a single dataset of a real domain, wherein the paired dataset of the synthetic domain includes an original image under normal lighting and a low-light image corresponding to the original image obtained in a simulated low-light environment, and the single dataset of the real domain includes a low-light image captured by a real scene.

[0035] In an embodiment, Figure 1 As shown in Figure 1, we first obtain an image dataset, namely a paired dataset in the synthetic domain and a single dataset in the real domain. The paired dataset in the synthetic domain contains a set of paired images, including captured normal-light images and low-light images of the same background but different lighting conditions obtained by adjusting camera parameters such as ISO value, exposure time, and aperture size. In the synthetic domain, each pair of images consists of a low-light image and its corresponding normal-light image. The single dataset in the real domain contains a single low-light image captured in a real scene, which has not undergone any special processing.

[0036] In image enhancement tasks, on the one hand, if only paired datasets of synthetic domains are used for training, although good performance can be obtained on the synthetic domain, the performance of the model is often poor when migrating to the real domain; on the other hand, if only a single dataset of the real domain is used for unsupervised training, it is often difficult to achieve the desired enhancement effect, because the data complexity and diversity of the real domain make it difficult for the model to learn effective mapping relationships. Therefore, the present invention uses synthetic domains for real domain training to achieve domain generalization, so as to better adapt to image enhancement tasks under different scenes and lighting conditions.

[0037] S2. Construct a low-light image enhancement network structure, which is a dual network structure consisting of a teacher network and a student network. The dual networks use the same encoder-decoder structure. During the training phase, low-light images in the synthetic domain are used as input to the student network, while low-light images in the real domain are used as input to both the teacher network and the student network.

[0038] like Figure 2 As shown, the low-light image enhancement network structure consists of a student network and a teacher network, which share the same network structure but do not update the gradient information at the same time. During the training process, the student network and the teacher network play different roles. The student network is responsible for updating the network gradient to optimize the performance of the model. In this process, the parameters of the teacher network are frozen and do not participate in the gradient update. However, although the teacher network is frozen during the training process, its gradient is not completely static. Whenever the student network updates its gradient, a method called exponential average moving is used to update the gradient of the teacher network. This method can smooth the gradient changes of the teacher network, making it more stable, thereby improving the generalization ability of the model. In this way, the network structure of the present invention can remain stable during the learning process, while also effectively improving the effect of image enhancement.

[0039] like Figure 3As shown in the figure, the specific network structure of the student network is shown. Since the student network and the teacher network share the same network structure, the U-Net structure based on the encoder and decoder is adopted. The encoder part first performs shallow feature extraction through a convolution layer, and then performs deep feature encoding and information transmission through three downsampled residual combination blocks. Each residual combination block consists of two convolution layers, a ReLU activation function, a spatial attention block and a jump connection, forming a basic nonlinear transformation unit that can effectively extract and retain the complex features of the image. The spatial attention block first calculates the average and maximum values ​​of the input features, and then concatenates these two features with the original features along the channel dimension. Then, a convolution layer and a Sigmoid are used to process the concatenated features. The spatial attention mechanism can cope with features of different scales and resolutions in the input, which can effectively improve the model's overall and global perception ability, improve the model's enhancement effect, and thus improve the model's generalization performance. The decoder is responsible for decoding and reconstructing the encoded features. It first performs feature decoding and information transfer through three upsampled residual combination blocks. The structure of each residual combination block is the same as that in the encoder, including two convolutional layers, a ReLU activation function, a spatial attention block, and a skip connection, which are used to effectively restore image details and texture information. Finally, a convolutional layer is used to map the decoded features back to the original image space to reconstruct the enhanced image. During the training process, low-light images in the synthetic domain are used as input for the student network, and low-light images in the real domain are used as input for both the teacher network and the student network. By training in the synthetic domain, the student network can learn to adapt to different scenes and different lighting conditions. Image enhancement capabilities, thereby improving its generalization ability, make it perform better in real domain applications.

[0040] S3. Train the low-light image enhancement network to obtain the optimal generalization model. During the network training process, for the synthetic domain, the synthetic domain enhanced image output by the student network is constrained by the normal illumination image of the synthetic domain as a reference. For the real domain, the low-light image of the real domain is first input into the teacher network to obtain the enhanced image of the real domain. Then, based on this result, the normal illumination image of the synthetic domain is used to fine-tune the brightness as a reference for the real domain image, thereby constraining the real domain enhanced image output by the student network.

[0041] In the low-light image enhancement network training process, the student network and the teacher network play different roles. The student network receives low-light images from both the synthetic domain and the real domain as input, while the teacher network only receives low-light images from the real domain as input. Through continuous training, the network structure is optimized to generate the best enhancement model. During the training process, the student network receives low-light images from the synthetic domain and outputs the corresponding enhanced images. Since the synthetic domain has paired data, the normal-light images from the synthetic domain can be used to calculate the frequency domain loss of the enhanced image, thereby constraining the student network. For the real domain, there are only low-light images and no paired data. Therefore, the low-light images from the real domain are input into the student network and the teacher network, and two enhanced images are obtained respectively. Both enhanced images have obtained good brightness information, image details, and texture information. Then, the normal illumination image of the synthetic domain is used to further calibrate the brightness of the enhanced image output by the teacher network. Brightness calibration refers to converting the enhanced image of the real domain and the normal illumination image of the synthetic domain after the teacher network from BGR format to grayscale format, and calculating their average grayscale values, named mean_gray_real and mean_gray_syn_high respectively. Then, the brightness of the real image is adjusted by multiplying each pixel value of the real image by the ratio of mean_gray_syn_high / mean_gray_real to match the average grayscale value of the synthetic image. Finally, the frequency domain loss of the real domain enhanced image output by the student network is calculated as a constraint on the student network to improve the enhancement effect of the student network.

[0042] The frequency domain loss is specifically expressed as:

[0043] L frequency =L fs +λL fr

[0044] Where L fs represents the loss of synthetic domain images, L fr represents the loss of the real domain image, λ is the balance factor, which is set to 0.5 in this study. Each loss is specifically expressed as follows:

[0045] (1) Synthetic domain loss: L fs =WD(A s_pred ,A s_gt )+WD(P s_pred ,P s_gt )

[0046] WD represents the Waltherstein distance, A s_pred represents the amplitude of the image after synthetic domain enhancement, A s_gt represents the amplitude of the normal illumination image in the synthetic domain, P s_pred represents the phase of the image after synthetic domain enhancement, Ps_gt represents the phase of the normal illumination image in the synthetic domain;

[0047] (2) Real domain loss: L fr =WD(A r_pred ,A r_ft )+WD(P r_pred ,P r_ft )

[0048] WD represents the Waltherstein distance, A r_pred represents the magnitude of the real domain enhanced image output by the student network, A r_ft represents the magnitude of the real domain enhanced image output by the fine-tuned teacher network, P r_pred represents the phase of the real domain enhanced image output by the student network, P r_ft represents the phase of the real domain enhanced image output by the fine-tuned teacher network;

[0049] This cross-domain training strategy allows the model proposed in this invention to learn and optimize on two different domains (synthetic domain and real domain), thereby improving the generalization ability and performance of the model. By training with paired data from the synthetic domain, the model can learn the mapping relationship from low-light images to normal-light images. This mapping relationship is then transferred to the real domain to enhance the low-light images in the real domain. This method not only reduces the difficulty of network training, but also can achieve a good enhancement effect. In this way, the problem that a single data set in the real domain is difficult to handle is successfully solved, providing an effective solution for low-light image enhancement in real scenes.

[0050] S4. Put the real domain test data set into the optimal model to obtain the enhanced image.

[0051] The real domain test data set is input into the optimized best model to obtain the real domain enhanced image. The problem of domain generalization is successfully solved. Even in the real domain without paired data, the present invention can effectively improve the brightness and contrast of the image, improve the visual quality and perception effect of the image, make the image clearer and more natural, and better meet the viewing requirements of the human eye.

[0052] By testing on a test data set in the real domain, the enhancement effect of the optimized best model in the real scene can be verified, and the generalization ability and practicality of the model can be further confirmed. The practical application ability of the invention is demonstrated, and its effectiveness in processing real-world data is verified.

[0053] like Figure 4 As shown, an example diagram of the results provided by the embodiment is shown.

[0054] The low-light image enhancement network structure proposed in this embodiment adopts a dual-model structure, which uses paired data in the synthetic domain to process single data in the real domain, breaking through the limitation of poor generalization performance of domain transfer, enabling the model to handle complex scenes with different lighting in different scenes in real situations, thereby improving the adaptability and generalization performance of the model in real scenes.

[0055] The frequency domain loss proposed in this example can be adaptively adjusted according to the frequency characteristics of the image, and the amplitude and phase are constrained respectively, so as to separate the high-frequency and low-frequency information in the image. It can better retain the detail information in the image and reduce the influence of noise. The image enhancement effect is significantly improved, making the enhanced image clearer and improving the visual perception of the image, which provides strong support for the further development of image processing technology.

[0056] The above description is merely a preferred embodiment of the present invention, which is only used to further illustrate the present invention and cannot be used to limit the protection scope of the present invention. Those skilled in the art may make some improvements and modifications to the present invention based on the contents of the above invention, and these improvements and modifications all fall within the protection scope of the present invention.

Claims

1. A low-light image enhancement method based on domain generalization, by utilizing a dual network structure consisting of a teacher network and a student network and paired data in a synthetic domain, an enhancement model capable of processing real low-light images is trained without corresponding reference images, the method comprising the following steps: S1. Acquire image datasets of different domains, including a paired dataset of a synthetic domain and a single dataset of a real domain, wherein the paired dataset of the synthetic domain includes an original image under normal lighting and a low-light image corresponding to the original image obtained in a simulated low-light environment, and the single dataset of the real domain includes a low-light image captured by a real scene; S2. Construct a low-light image enhancement network structure, which is a dual network structure consisting of a teacher network and a student network. The dual networks use the same encoder-decoder structure. During the training phase, low-light images in the synthetic domain are used as input to the student network, while low-light images in the real domain are used as input to both the teacher network and the student network. S3. Train the low-light image enhancement network to obtain the optimal generalization model. During the network training process, for the synthetic domain, the synthetic domain enhanced image output by the student network is constrained by the normal illumination image of the synthetic domain as a reference. For the real domain, the low-light image of the real domain is first input into the teacher network to obtain the enhanced image of the real domain. Then, based on this result, the normal illumination image of the synthetic domain is used to fine-tune the brightness as a reference for the real domain image, thereby constraining the real domain enhanced image output by the student network. S4. Put the real domain test data set into the optimal model to obtain the enhanced image.

2. The low-light image enhancement method based on domain generalization according to claim 1, characterized in that: The method for obtaining a paired dataset of the synthetic domain is as follows: first, obtain the original image under normal lighting conditions, and then simulate the low-light environment by adjusting the ISO value, exposure time, and aperture size parameters of the camera, so as to obtain a low-light image with the same background as the original image but different lighting conditions.

3. The low-light image enhancement method based on domain generalization according to claim 2, characterized in that: Although the low-light image enhancement network structure consists of a student network and a teacher network, the two networks do not update the gradient information at the same time. During the training process, the student network is responsible for updating the network gradient, while the teacher network is frozen, that is, the network gradient is not updated. However, the teacher network is not completely static, and its gradient update is transmitted by the student network after each training in the form of exponential average moving; the student network and the teacher network share the same network structure, which adopts the U-Net structure built based on the encoder and decoder. The encoder part first performs shallow feature extraction through a convolution layer, and then performs deep feature encoding and information transmission through three downsampled residual combination blocks. Each residual combination block consists of two convolution layers, a ReLU activation function, a spatial attention block and a skip connection, forming a basic nonlinear transformation unit that can effectively extract and retain the complex features of the image. The decoder part is responsible for decoding and reconstructing the encoded features. It first performs feature decoding and information transmission through three upsampled residual combination blocks. The structure of each residual combination block is the same as that in the encoder, including two convolutional layers, a ReLU activation function, spatial attention blocks and skip connections, which are used to effectively restore image details and texture information. Finally, a convolutional layer is used to map the decoded features back to the original image space to reconstruct the enhanced image.

4. The low-light image enhancement method based on domain generalization according to claim 3, characterized in that: In the training process of the low-light image enhancement network, the student network takes the low-light images of the synthetic domain and the low-light images of the real domain as input, while the teacher network takes the low-light images of the real domain as input. Through continuous training, the network structure is optimized to generate the best model. During the training process, the low-light images of the synthetic domain are input into the student network to generate enhanced images of the synthetic domain. Since the data of the synthetic domain are paired, the enhanced images of the synthetic domain are constrained by calculating the frequency domain loss with their corresponding normal light images as references. The low-light images of the real domain are first input into the teacher network to obtain enhanced images of the real domain. The teacher network provides good content information for the enhanced images of the real domain through the learned brightness information, image details and texture information. On this basis, the normal light images of the synthetic domain are further calibrated for brightness and used as reference images of the real domain. Finally, the frequency domain loss is calculated for the enhanced images of the real domain output by the student network. This is used as a constraint to prompt the entire network to learn and generate better enhanced images of the real domain. The frequency domain loss is specifically expressed as: THE frequency =L fs +λL fr Where L fs represents the loss of synthetic domain images, L fr represents the loss of the real domain image, λ is the balance factor, which is set to 0.5 in this study. Each loss is specifically expressed as follows: (1) Synthetic domain loss: L fs =WD(A s_pred ,A s_gt )+WD(P s_pred ,P s_gt ) Where WD represents the Waltherstein distance, A s_pred represents the amplitude of the image after synthetic domain enhancement, A s_gt represents the amplitude of the normal illumination image in the synthetic domain, P s_pred represents the phase of the image after synthetic domain enhancement, P s_gt represents the phase of the normal illumination image in the synthetic domain; (2) Real domain loss: L fr =WD(A r_pred ,A r_ft )+WD(P r_pred ,P r_ft ) Where WD represents the Waltherstein distance, A r_pred represents the magnitude of the real domain enhanced image output by the student network, A r_ft represents the magnitude of the real domain enhanced image output by the fine-tuned teacher network, P r_pred represents the phase of the real domain enhanced image output by the student network, P r_ft represents the phase of the real domain augmented image output by the fine-tuned teacher network.