A non-matching underwater image enhancement method based on a schrodinger bridge

By employing an unpaired underwater image enhancement method based on the Schrödinger bridge, and utilizing the image's own color channel statistics and scattering correlation estimation to decouple content and degradation characterization, underwater image enhancement under unpaired conditions is achieved. This solves the problem of limited applicability of existing methods in different water areas and improves the image restoration effect.

CN123182005APending Publication Date: 2026-11-27CHONGQING JIAOTONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611511960.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-28
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing underwater image enhancement methods struggle to effectively recover color shifts and structural distortions under unpaired conditions, and traditional methods have limited applicability under different water conditions and lighting conditions. Deep learning methods, which rely on pixel-level paired samples, are difficult to implement.

Method used

By constructing an unpaired underwater image enhancement method based on Schrödinger bridge, a physical descriptor is constructed using the color channel statistics and scattering correlation estimation of the degraded image itself. Image-level degradation pseudo-labels are generated by clustering, and content representation and degradation representation are decoupled in a shared generator for progressive transmission, thus achieving underwater image enhancement that does not rely on pixel-level paired samples.

Benefits of technology

It achieves efficient recovery of color and structure of underwater images under unpaired conditions, reduces dependence on sharp ground truth, reduces image distortion and artifacts, and improves the naturalness and stability of the enhancement results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182005A_ABST
    Figure CN123182005A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of image enhancement, and in particular to a non-matching underwater image enhancement method based on a Schrodinger bridge, in the training stage, samples are taken from independent degradation domains and clear domains, physical descriptors are constructed by degradation image channel statistics and scattering estimation, and fixed image-level degradation pseudo-labels are generated by clustering; a shared generator decouples latent features into content and degradation representation, pseudo-labels organize the degradation representation, and a preset number of updates are made with the degradation graph as the initial bridge state; the generator and the discriminator are jointly trained with the losses of confrontation, bridge trajectory and decoupling. In the inference stage, the to-be-enhanced graph is taken as the initial bridge state, the shared generator is reused for a preset number of updates, and the enhanced image is output in the final bridge state. The present application generates fixed pseudo-labels by physical statistics of the image itself, establishes content and degradation division by latent space decoupling, and outputs enhanced RGB images by multi-step Schrodinger bridge state transfer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of image enhancement technology, and more specifically to an unpaired underwater image enhancement method based on a Schrödinger bridge. Background Technology

[0002] Underwater images are susceptible to color shifts, reduced contrast, blurred textures, and loss of detail due to the combined effects of selective absorption of different color channels, forward scattering, backscattering, suspended particles, and non-uniform illumination during the imaging process. Such degradation degrades the input quality for underwater observation, inspection, navigation, and subsequent visual analysis, thus necessitating effective enhancement techniques to restore degraded images.

[0003] Traditional processing methods mainly include white balance, Retinex, dark channel prior, and transmission map correction. These methods are usually based on strong physical assumptions of the water optical model and can play a certain correction role under specific water areas and lighting conditions. However, the water quality parameters, lighting distribution, and scene structure of underwater environments vary greatly, making it difficult to keep the above assumptions stable under different scenarios. The algorithm parameters and prior settings often need to be adjusted according to the scene, thus limiting their applicability.

[0004] Deep learning-based augmentation methods can fit more complex degenerate-to-sharp mappings, but their training relies on pairs of degenerate images and sharp reference images. In real-world underwater environments, obtaining sharp images with strict pixel-level alignment at the same location and time is nearly impossible. The cost of annotation and the difficulty of image acquisition limit the deployment of supervised learning methods in real-world underwater scenarios.

[0005] Unpaired underwater image enhancement methods are trained on independent degraded and sharp image domains, without requiring pixel-level ground truth, thus better meeting practical application needs. However, most existing unpaired methods directly align the distributions between the two domains or use single-step mapping to complete image transformation. This approach processes scene content and degradation patterns in the same mapping, which can easily lead to coupling between the two. During color correction in the enhancement process, local structures in the image may be altered, causing distortion or artifacts, making it difficult to simultaneously achieve color restoration and structure preservation.

[0006] Schrödinger's bridge can describe the asymptotic transfer process from a degraded distribution to a sharp distribution using stochastic differential equations. Each step only requires advancing from the current state to the target domain, making it more suitable for handling complex cross-domain transformations than single-step mapping. However, the effectiveness of multi-step transfer depends on the accurate description of the current image degradation state at each step. If a stable and interpretable degradation representation is lacking, intermediate states in the bridge process will be mixed with content information, causing the iteration direction to deviate and errors to accumulate with multiple updates. Summary of the Invention

[0007] To address the shortcomings of existing technologies, this invention provides an unpaired underwater image enhancement method based on a Schrödinger bridge. First, a physical descriptor is constructed from the color channel statistics and scattering correlation estimation of the degraded image itself, and image-level degradation pseudo-labels are obtained through clustering based on this degraded image. Then, in a shared generator, latent features are decoupled into content representations and degradation representations through centroid embedding and degradation-specific residuals, and the degradation representations are organized using pseudo-labels. Finally, a gradual transfer from degradation distribution to sharp distribution is completed in a fixed bridge state sequence, achieving underwater image enhancement independent of pixel-level paired samples.

[0008] This invention is achieved through the following technical solution: An unpaired underwater image enhancement method based on Schrödinger bridge is provided, including a training phase and an inference phase; The training phase includes the following steps: T1. Obtain mutually independent degraded underwater image domains and sharp image domains. The sharp image domain is used to provide target distribution but does not provide pixel-level ground truth. T2. Construct physical descriptors for degraded underwater images based on color channel statistics and scattering correlation estimation. Cluster the physical descriptors to generate image-level degraded pseudo-labels. The image-level degraded pseudo-labels are fixed during training and are not directly used as pixel-level supervision for augmented images. T3. Construct a shared generator, using the degraded underwater image as the initial bridge state to perform a preset number of bridge state updates, and reuse the parameters of the shared generator in each bridge state update; each bridge state update includes: inputting the current bridge state into the shared generator, obtaining the bottleneck latent features by the encoder, dividing the bottleneck latent features into content representation and degradation representation, decoding the current sharp domain prediction based on the content representation and degradation representation, and generating the next bridge state based on the current bridge state, the current sharp domain prediction, deterministic drift and Gaussian random perturbation; T4. Train a shared generator and discriminator using joint objectives. The joint objectives include: adversarial loss to make the generated image distribution close to the sharp image domain, bridge trajectory loss to constrain the bridge state to move closer to the current sharp domain prediction, and decoupling loss to decouple content representation from degradation representation and organize degradation representation using pseudo-labels. The adversarial loss is obtained by the discriminator to judge the authenticity of the current sharp domain prediction and the image in the sharp image domain. The reasoning phase includes the following steps: S1. Using the degraded underwater image to be enhanced as the initial bridge state, the trained shared generator is reused to perform a preset number of bridge state updates. S2. Output the final bridge state as an enhanced image.

[0009] This invention comprises interconnected training and inference links: During training, inverse mean channel weights, adaptive dark channel weights, transport maps, and ambient light estimates are first calculated for degraded underwater images to form physical descriptors; then, the physical descriptors are standardized and clustered to obtain fixed image-level degradation pseudo-labels; these pseudo-labels are used to organize the degradation-specific residual space, and the shared generator, discriminator, and network parameters required for the training phase are updated according to the joint training objective. After training is completed, the images to be enhanced are used as the initial bridge state, and the same shared generator is reused to perform a preset number of bridge updates, gradually transferring degraded samples to the distribution of clear images.

[0010] Furthermore, in T2, the physical descriptor includes the mean of the transmission map, the standard deviation of the transmission map, the RGB components of the ambient light, and the mean of the RGB channels of the input image; the scattering correlation estimation includes transmission map estimation and ambient light estimation, which are obtained as follows: construct inverse mean channel weights based on the mean of each color channel of the degraded underwater image, truncate the inverse mean weights according to preset lower and upper limits, and normalize them within the RGB channel set to obtain adaptive weights for each channel; take the weighted minimum value of the pixel values ​​within the local window according to the adaptive weights of each channel to obtain the adaptive dark channel; estimate the ambient light based on the high-response pixels of the adaptive dark channel; and estimate the transmission map using the adaptive dark channel, ambient light, and preset retention coefficients.

[0011] Furthermore, after standardizing each component of the physical descriptor according to the mean and standard deviation of the training set descriptors, K-means clustering is performed to obtain image-level degradation pseudo-labels. The clustering results are sorted according to the average transmission rate of the training samples within each cluster calculated from the transmission map. The sorted image-level degradation pseudo-labels represent severe, moderate and mild degradation in sequence.

[0012] Furthermore, the shared generator is a lightweight NAFNet encoder-decoder architecture; at the bottleneck features, latent features are decoupled into centroid embeddings and degenerate-specific residuals in the following manner: ; In the formula: For the first The sample at the th The input of each bridge state, For encoder, As a latent feature, As the central branch, For the center of gravity to be embedded, For projection mapping, For degenerate specific residuals, This is the decoder branch input, which is an explicit combination of centroid projection and residual. The centroid-embedded projection mapping constitutes the content representation, the degradation-specific residual constitutes the degradation representation, the centroid embedding preserves the shared scene content across different degradation images and serves as the decoder gating signal; the degradation-specific residual represents the degradation changes related to color shift, scattering and contrast reduction and is injected into the decoder as a compensation feature.

[0013] The shared generator employs an encoder-decoder architecture based on a lightweight NAFNet. The encoder converts the current bridge state into latent features; the centroid branch extracts scene content shared across degraded samples; the difference between the projected centroid representation and the latent features forms the degradation-specific residual; the decoder uses the centroid representation as a gating signal and injects residual compensation features to output the current sharp domain prediction. Thus, the current prediction serves both image enhancement and the next bridge state update.

[0014] Furthermore, in T4, the decoupling loss includes: The centroid alignment loss, using mean squared error as a metric, is used to make the projection of the centroid embedding close to the shared components in the latent features. Centroid alignment loss is used to make the projected centroid representation approximate the shared components in the latent features, and its calculation relationship is shown below: ; In the formula, B is the batch size. For the first The sample at the th The latent characteristics of the bridge state, For the center of gravity to be embedded, This is a projection mapping. This term makes the projected centroid representation approximate the shared components in the latent features, providing a benchmark for residual separation.

[0015] The pseudo-label perception residual contrast loss adopts a contrast loss based on cosine similarity. It uses samples with the same image-level degraded pseudo-labels as positive samples and other samples in the batch as negative samples, thus narrowing the feature distance of the degraded specific residuals with the same label. The pseudo-label-perceptual residual contrast loss organizes the residual space using fixed image-level degraded pseudo-labels, making the degraded residuals of the same pseudo-label sample closer together. The calculation relationship is shown below: ; In the formula, the effective anchor set consists of training samples that have at least one positive sample with the same pseudo-label; for each anchor, the cosine similarity with the residuals with the same pseudo-label is summarized within the positive sample set, and the remaining samples in the batch are used as the comparison term; the temperature coefficient is determined by the training configuration. This term only uses pseudo-labels to organize the residual space and does not use pseudo-labels as direct supervision of the augmentation results.

[0016] Orthogonal loss, employing the Frobenius norm of the inner product of the intra-batch feature matrices, is used to reduce the correlation between the intra-batch normalized centroid embedding projection matrix and the normalized degenerate idiomatic residual matrix.

[0017] Orthogonal loss is used to reduce the overlap between the centroid representation and the degenerate-specific residual representation, and its calculation relationship is shown below: ; In the formula, and These are the centroid representation matrix and residual representation matrix after batch normalization, respectively. This is the Frobenius norm. Minimizing this term reduces the overlap between shared content representations and degenerate-specific representations.

[0018] Finally, the weighted combination of the above three losses yields the latent space decoupling loss, the calculation relationship of which is shown below: ; In the formula, Non-negative weights are determined for training configuration. Latent space decoupling first clarifies the division of labor between content and degradation representations, and then optimizes them together with bridge trajectory, local content preservation, and color correction terms.

[0019] Furthermore, the current clear domain prediction is ,in, For the first The sample at the th The input of each bridge state, For shared generators, For the current clear domain prediction; the next bridge state is updated according to the following rules: ; in: The next bridge state, The drift coefficient for the k-th state. Let be the perturbation coefficient for the k-th state. For standard Gaussian random variables, It is an identity matrix.

[0020] Furthermore, in T4, the bridge trajectory loss is determined based on the trajectory deviation between the next bridge state and the corresponding current clear domain prediction in each bridge state update: ; in: This represents taking the expectation of the training samples and the random perturbation. The next bridge state, For the current clear domain prediction, This is the preset number of bridge state updates.

[0021] Furthermore, the joint objective also includes local content preservation loss and Lab color correction loss, with the total training loss being: ; in, and These correspond to distribution alignment, bridge trajectory, latent space decoupling, local content preservation, and Lab color correction losses, respectively. and Configure weights for training; The local content preservation loss adopts a block-level comparison method, which makes the feature similarity of corresponding local positions higher than the feature similarity of non-corresponding positions; Update the shared generator and discriminator using the total training loss.

[0022] Furthermore, during the inference phase, forward prediction and state update of the current bridge state are performed based on the shared generator parameters obtained from training and the preset bridge update parameters; physical descriptor calculation, K-means clustering, total training loss calculation, and discriminator are not performed.

[0023] Furthermore, image-level degraded pseudo-labels are generated and cached once by physical descriptors through standardization and K-means clustering during the training preparation phase. The cluster centers are not updated during the entire main training loop, and the pseudo-labels are not used as network prediction targets. In each bridge state update, the pseudo-labels are only used to construct the positive and negative sample relationship of the pseudo-label perceptual residual contrast loss, and are not used for adversarial loss, bridge trajectory loss, centroid alignment loss, orthogonality loss, local content preservation loss, and Lab color correction loss.

[0024] The beneficial effects of this invention are: This invention constructs physical descriptors using channel statistics and scattering estimation of degraded images, obtaining interpretable offline degradation pseudo-labels without relying on depth, turbidity, camera calibration, or synchronous sensor measurements. The pseudo-labels are fixed before training and used only for latent space residual organization, not directly supervising pixel reconstruction, thus reducing the dependence of unpaired training on sharp ground truth. By decoupling centroid embedding and degradation-specific residuals, shared scene content is separated from degradation changes such as color shift, scattering, and contrast reduction. Combined with pseudo-label-perceived residual contrast and orthogonal constraints, structural distortion and color distortion caused by the coupling of content and degradation information can be alleviated. The shared generator reuses parameters in a preset number of bridge state updates, gradually propagating the degradation distribution to the sharp distribution through deterministic drift plus Gaussian perturbation in the next state update. This is easier to correct multi-step errors than single-step mapping and saves inference costs compared to diffusion processes starting from pure noise. Joint adversarial mechanisms, bridge trajectories, decoupling, local content preservation, and Lab color correction objectives comprehensively improve the enhancement results in terms of color naturalness, local structure, and multi-step stability. Attached Figure Description

[0025] Figure 1 This is an overall flowchart of the training phase and the inference phase after training in this invention.

[0026] Figure 2 A flowchart for offline physical descriptor construction, standardization, clustering, and fixed image-level degradation pseudo-label generation.

[0027] Figure 3 The flowchart shows the decoupling of the centroid and residual of the shared generator, the joint training objective, and the cyclic state update of the Schrödinger bridge. Detailed Implementation

[0028] To clearly illustrate the technical features of this solution, the following detailed implementation method will be used to describe the solution.

[0029] like Figure 1 and Figure 2 As shown, during the training preparation phase, samples are acquired from two independent domains: a degraded underwater image domain and a clear image domain. Degraded domain samples are used to construct physical descriptors, bridge trajectories, and offline pseudo-labels; clear domain samples are only used to provide target distribution and do not participate in pixel-level paired reconstruction supervision. After completing physical descriptor clustering and fixing pseudo-labels, joint training begins: using the degraded image as the initial bridge state, shared generator prediction, latent space decoupling, bridge state updates, and joint loss backpropagation are performed a preset number of times. During the inference phase, using the image to be enhanced as the initial bridge state, the trained shared generator and bridge update parameters are reused without recalculating physical descriptors, re-clustering, running the discriminator, or calculating the training loss; the final bridge state enhanced RGB image is output.

[0030] The following underwater imaging relationship can be used to illustrate the transmission map and the source of ambient light: ; This imaging model decomposes observations into the transmitted portion of scene radiation and the portion scattered by ambient light. The transmission map and ambient light estimated using this relationship are used only to construct offline physical descriptors during the training phase, and not as pixel-level reconstruction constraints for the augmentation results.

[0031] in, For the first Degraded underwater images at location ,aisle The observed values, For potential clear scene radiation, For the transmission diagram, For ambient light. This imaging relationship does not require acquisition from the training samples. True pairing observations.

[0032] For the The first image Each color channel, based on the channel's average value The truncated inverse mean weights are constructed and normalized within the RGB channel set to obtain adaptive channel weights. The calculation relationship is shown below: ; Based on this, an adaptive dark channel is calculated within a local window, and the transmission map is obtained by combining it with ambient light estimation. The calculation relationship is shown below: ; in, It is a set of RGB color channels. For the first Image number The average of each channel, For position Local window, To adapt to the dark channel, Dark channel correction intensity, This is the transport map. Ambient light is estimated from high-response pixels in the dark channel. The transport map, ambient light, and channel statistics together constitute the physical descriptor.

[0033] The aforementioned dark channel calculation is a physical statistics of offline pseudo-label construction. The aforementioned imaging model uses channel-dependent transmission representation, while this step yields channel-shared transmission estimates for descriptor construction; these two serve physical interpretation and statistical clustering, respectively.

[0034] The truncation function restricts the inverse mean weight to a preset range; the RGB color channel set is used for channel normalization; the local window is used to calculate the weighted dark channel; the ambient light is estimated from the high-response pixels of the dark channel; and the transport map is obtained from the weighted dark channel, ambient light, and retention coefficients.

[0035] The physical descriptor can be constructed from the mean and standard deviation of the transport graph, the RGB components of the ambient light, and the mean of the RGB channels of the input image. Its vector representation is shown below: ; in, and Characterize the overall scattering degree and spatial discreteness of the transmission map respectively. For ambient light RGB components, The input image contains the mean values ​​of its RGB channels. These values ​​are then concatenated to create a fixed-dimensional clustering feature vector for each degraded image.

[0036] The physical descriptor is standardized, and its calculation relationship is shown below: ; Next, K-means clustering is performed on the standardized descriptors, and they are rearranged according to the average transfer rate of the cluster centers to obtain ordered image-level degraded pseudo-labels. The calculation relationship is shown below: ; Standardization enables features of different dimensions, such as transmission graph statistics, ambient light components, and RGB channel mean, to be compared within the same cluster distance.

[0037] in, and The mean and standard deviation of the descriptors are calculated, and K is the number of clusters; in this example, K=3. A lower average transfer rate corresponds to more severe degradation; the resulting labels are only used during the training phase to organize the degradation-specific residual space.

[0038] The physical pseudo-labels of this invention are generated offline from weak physical statistics of degraded RGB images, requiring no external input conditions such as depth, turbidity, ambient light, or camera metadata. This invention achieves progressive enhancement of unpaired underwater images through offline physical pseudo-labels, centroid-residual decoupling, and multi-step bridge state updates using a shared lightweight NAFNet.

[0039] like Figure 3 As shown, the current bridge state first extracts latent features using an encoder based on a lightweight NAFNet; the centroid branch obtains the shared scene content embedding, and the difference between the projected centroid embedding and the latent features constitutes the degradation-specific residual, as shown below: ; in, For encoder, As a latent feature, As the central branch, For the center of gravity to be embedded, For projection mapping, For degenerate specific residuals, These are latent features used by the decoder. The centroid branch preserves scene content shared across degraded samples, while the residual branch records degradation-related changes.

[0040] In this design, the centroid embedding is used to modulate the decoder to preserve shared scene content, while degradation-specific residuals are injected into the decoder as compensation features to characterize color shift, scattering, and contrast degradation. According to the above definition, the sum of the projected centroid and the degradation-specific residuals numerically returns to the original latent feature; this combination clarifies the division of labor between centroid gating and residual compensation, rather than generating additional independent latent features. The residual contrast constraint of pseudo-label perception makes the residuals of the same pseudo-label sample more consistent in the feature space, while orthogonal constraints reduce their overlap with the centroid representation. Thus, the same latent feature is divided into two parts: "shared content" and "degradation variations," and subsequent decoupling loss and pseudo-label constraints are based on this division.

[0041] The shared generator predicts the clear domain of the current bridge state: ;in For the first The sample at the th The input of each bridge state, A generator for shared parameters of bridge states. This prediction is made for the current clarification domain. It provides both an enhancement to the current state and serves as a deterministic reference for the next state update.

[0042] in, Control the intensity of the deterministic drift as it moves closer to the current definite domain prediction from the current state. Control the intensity of random perturbations. Training and inference are both run with the same preset number of updates; this number of updates is not adaptively scheduled based on turbidity, depth, or uncertainty.

[0043] Using the current clear domain prediction as a deterministic reference, and superimposing a coefficient-controlled Gaussian random perturbation, the following next bridge state can be obtained: ; in, The next bridge state, Let be the drift coefficient for the k-th state. Let be the perturbation coefficient for the k-th state. For standard Gaussian random variables, The identity matrix is ​​used. The update gradually transmits the current state to the clear image distribution in a multi-step process. The drift coefficient and perturbation coefficient control the deterministic transmission and random perturbation of the i-th bridge state, respectively, with the random term following a standard Gaussian distribution; the state update is performed a preset number of times.

[0044] Each bridge state reuses the same shared generator parameters, and adding N does not introduce additional independent generator trainable parameters.

[0045] The bridge trajectory loss constraint ensures that the multi-step transmission direction is consistent with the current prediction. The trajectory deviation between the states of adjacent bridges and the corresponding current clear domain predictions can be calculated and used as the Schrödinger bridge trajectory loss. The calculation relationship is shown below: ; in, This represents taking the expectation of the training samples and the random perturbation. The next bridge state, For the current clear domain prediction, This is the preset number of bridge updates; this constraint applies to the entire bridge trajectory, not just the final output.

[0046] The latent space decoupling loss is further composed of centroid alignment loss, pseudo-label perception residual contrast loss, and orthogonality loss. First, the centroid alignment loss is used to make the projected centroid representation approximate the shared components in the latent features; its calculation relationship is shown below: ; Where B is the batch size. For the first The sample at the th The latent characteristics of the bridge state, For the center of gravity to be embedded, This is a projection mapping. This term makes the projected centroid representation approximate the shared components in the latent features, providing a benchmark for residual separation.

[0047] Secondly, the pseudo-label-perceptual residual contrast loss utilizes fixed image-level degraded pseudo-labels to organize the residual space, making the degraded residuals of the same pseudo-label sample closer together. The calculation relationship is shown below: ; The effective anchor set consists of training samples that have at least one positive sample with the same pseudo-label. For each anchor, the cosine similarity with the residuals of the same pseudo-label is summarized within the positive sample set, with the remaining samples in the batch used as the comparison term. The temperature coefficient is determined by the training configuration. This term only utilizes pseudo-labels to organize the residual space and does not use pseudo-labels as direct supervision of the augmentation results.

[0048] Meanwhile, orthogonal loss is used to reduce the overlap between the centroid representation and the degradation-specific residual representation, and its calculation relationship is shown below: ; in, and These are the centroid representation matrix and residual representation matrix after batch normalization, respectively. This is the Frobenius norm. Minimizing this term reduces the overlap between shared content representations and degenerate-specific representations.

[0049] Finally, the weighted combination of the above three losses yields the latent space decoupling loss, the calculation relationship of which is shown below: ; in, Non-negative weights are determined for training configuration. The latent space decoupling first clarifies the division of labor between content and degradation representations, and then optimizes them together with bridge trajectory, local content preservation, and color correction terms.

[0050] During training, the training network is updated based on the joint objectives of distribution alignment, bridge trajectory constraint, latent space decoupling, local content preservation, and color correction.

[0051] Local content preservation items By employing a block-level comparison method, the feature similarity of corresponding local locations is made higher than that of non-corresponding locations, thereby preserving the local scene structure while improving color and scattering degradation. Defined as a perceptual color deviation constraint computed in the Lab color space, it is used to suppress unnatural color drift and, together with the local content preservation term, balances color correction and structure preservation. The Lab color correction constraint, along with local content preservation, latent space decoupling, and Schrödinger bridge trajectory constraints, constitute the joint training objective. The adversarial loss is determined by the discriminator to distinguish the current sharp domain prediction from the real sharp domain image, making the generated distribution approximate the sharp domain distribution.

[0052] The overall training objective consists of adversarial distribution alignment, Schrödinger bridge trajectory constraints, latent space decoupling, local content preservation, and Lab color correction, and their weighted combination is shown below: ; in, and These correspond to distribution alignment, bridge trajectory, latent space decoupling, local content preservation, and Lab color correction, respectively. and Weights are configured for training, and each weight is determined based on the training data and convergence status, without being limited to a fixed value.

[0053] Image-level degradation pseudo-labels are generated and cached once during the training preparation phase by standardizing the physical descriptors and then performing K-means clustering. K-means is run only once; the entire main training loop does not re-execute clustering, update cluster centers based on shared generator or bridge state features, or recalculate or refresh pseudo-labels during the inference phase. These pseudo-labels are used only in each bridge state update to construct the positive and negative sample relationships for the pseudo-label-aware residual contrast loss, thus organizing the degradation-specific residual space. The adversarial loss, Schrödinger bridge trajectory loss, centroid alignment loss, orthogonality loss, local content preservation loss, and Lab color correction loss in the joint objective do not use pseudo-labels as loss inputs or regression targets. Furthermore, the pseudo-labels are not used as image content labels and do not directly supervise the enhanced image at the pixel level.

[0054] The Schrödinger Bridge inference process initializes the bridge state with a degraded image; in each bridge update, a sharp domain prediction is generated by the same shared generator, and the next state is generated according to the state update formula; after completing a preset number of updates, the enhanced image is output. The process reflects the ordered reuse of the generator, rather than the concatenation of multiple independent enhancement networks. The start and end state relationships of the inference process are shown below: ; in, To degrade underwater images, This is the initial bridge state. Preset bridge update count; This is the enhanced RGB image corresponding to the final bridge state. Therefore, the prediction, update, and loop termination conditions are closed within the same state index system. For the... k The bridge status will Input the shared NAFNet generator obtained during training to obtain the current sharp domain prediction. At the bottleneck, content representation and degradation representation can be obtained based on the centroid-residual decoupling parameters obtained during training, and used for decoding output. Subsequently, the next bridge state is updated using the current bridge state, the current sharpness domain prediction, preset drift coefficients, preset perturbation coefficients, and standard Gaussian variables. . judge k Has the preset number of updates been reached? N If not achieved, The generator prediction and state update will continue as the current bridge state in the next round; if the current bridge state has been reached, the last bridge state will be updated. As an enhancement to RGB image output, the inference phase does not recalculate physical descriptors such as inverse mean weights, adaptive dark channel, transport graph, and ambient light, does not re-perform standardization and K-means clustering, does not regenerate or update image-level degenerate pseudo-labels, does not run the discriminator, and does not calculate training losses such as adversarial, bridge trajectory, decoupling, local content preservation, and Lab color correction. It only calls the shared generator parameters and preset bridge update parameters after training to complete multi-step state transfer.

[0055] To verify the usability of the training and inference pipelines described above, the following configuration was used in the experiment: Training samples came from independent degraded underwater image domains and clear image domains. The original paired datasets were split by domain and used as degraded domain samples and clear domain samples respectively, without requiring corresponding pixels from the same scene; the input image patch spatial resolution was 256×256, the batch size was 4, the optimizer was Adam, the initial learning rate was 2×10⁻⁵, the physical descriptors were calculated according to the formula described in the manual, and after standardization, the descriptors were clustered using K-means. In the experiment, the number of clusters K was 3, and the pseudo-labels were assigned to severe, moderate, and mild degradation in ascending order of the mean of the transport graph within each cluster; a lightweight NAFNet encoder-decoder was used as the shared generator, the number of bridge state updates N was 4, and the same generator parameters were reused for each bridge state. The above is the experimental setup and is not based on adaptive scheduling rules according to turbidity, depth, or uncertainty.

[0056] In the experiments, the physical descriptor-Schrödinger bridge method (PhysDec-SB) was evaluated on UIEB Test-90, C60, and U45. The model was trained on the UIEB training set and the original pairings were split into independent degenerate and clear domain samples.

[0057] The UIEB Test-90 report evaluates Peak Signal-to-Noise Ratio (PSNR), Structural Similarity Index (SSIM), Underwater Color Image Quality Evaluation (UCIQE), and Underwater Image Quality Metric (UIQM). C60 and U45 report Underwater Color Image Quality Evaluation (UCIQE) and Underwater Image Quality Metric (UIQM). Downstream validation uses a fixed YOLOv5 detector to evaluate mean accuracy (mAP@0.5), precision, and recall on the DUO dataset with an IoU threshold of 0.5. Ablation terms include Schrödinger bridge asymptotic transport, centroid gating, residual injection, and pseudo-label clustering. Results are shown in Tables 1 to 5.

[0058] Table 1. Inference efficiency of PhysDec-SB on UIEB Test-90

[0059] As shown in Table 1, under the experimental configuration of an input size of 256×256 and a Schrödinger bridge step count (SB steps) of 4, the inference time (Time / image) per image is 175.47 ms, corresponding to a processing frame rate (FPS) of 5.70 FPS. This efficiency is achieved under the condition of shared generator bridge state reuse: each bridge state update calls the same set of generator parameters, and increasing the number of bridge updates only increases the number of forward computations, without increasing the number of independent generator networks or introducing additional trainable parameters. Therefore, compared with the method of cascading multiple independent augmentation networks, this embodiment can maintain multi-step progressive transmission capability while avoiding the inference cost and parameter size increasing exponentially with the number of steps.

[0060] Table 2 Quantitative comparison of full-reference and no-reference datasets on the UIEB Test-90 dataset.

[0061] Note: UDCP, UGAN, FUnIE-GAN, UWCNN, Water-Net, Ucolor, CycleGAN, UW-CycleGAN, and UDnet in the method names are all publicly available method or network names, and their English abbreviations are retained as is customary; "Ours" is translated as "the method of this invention" or "this method"; PSNR, SSIM, UCIQE, and UIQM are common evaluation metrics, and their English abbreviations are retained. The type correspondences in Table 2 are: Prior (based on prior knowledge); Paired (paired method); Unpaired (unpaired method), and the same applies to the following tables.

[0062] Table 2 compares the performance of this embodiment with prior methods, paired supervised methods, and unpaired methods on the UIEB Test-90 dataset in terms of full-reference and no-reference metrics. As shown in Table 2, the method of this embodiment achieves PSNR=20.832 and SSIM=0.894 under unpaired training conditions. The PSNR is higher than all unpaired comparison methods and also higher than some paired supervised methods such as Ucolor; the SSIM is the highest among all comparison methods. This indicates that although the training process does not use pixel-level clear reference images, by organizing the degradation residuals with fixed physical pseudo-labels, separating content from degradation changes through centroid-residual decoupling, and successively correcting color shift and scattering degradation in multi-step Schrödinger bridge state updates, it is still possible to achieve pixel-level restoration accuracy comparable to or even better than paired methods, while maintaining good structural consistency. In terms of no-reference metrics, UCIQE and UIQM also rank among the top comparison methods, indicating that the enhancement results are competitive in terms of color naturalness and overall visual quality. The above results validate the effectiveness of combining physical guidance, latent space decoupling, and multi-step bridge transmission within the unpaired training framework.

[0063] Table 3. Reference-free quantitative comparisons on the C60 and U45 datasets.

[0064] Table 3 compares the performance of this embodiment with several existing methods on two different underwater scene sets, C60 and U45, without reference metrics, to examine the method's adaptability to diverse aquatic conditions. As shown in Table 3, the method of this embodiment achieves UCIQE=0.593 and UIQM=3.072 on C60, and UCIQE=0.601 and UIQM=3.167 on U45. The UCIQE on both sets is higher than all the comparison methods, and the UIQM is also at a leading level, with a very small difference from the highest value. Since the images in C60 and U45 differ significantly from UIEB in terms of water quality, lighting, scene content, and degradation degree, the above results indicate that the adaptive dark channel prior physical descriptor and fixed pseudo-labels used in this embodiment have good cross-scene generalization ability and do not require readjustment of model parameters for different aquatic environments. Simultaneously, the Lab color correction loss and local content preservation loss work together to achieve a balance between color correction and structure preservation in the enhanced image, avoiding overfitting to specific datasets.

[0065] Table 4 Validation of downstream target detection in enhanced underwater images

[0066] Under the experimental conditions of a fixed YOLOv5 detector, the mAP@0.5 was 54.63% when using raw degraded images as input; it increased to 56.85% when using images enhanced by the unpaired baseline method UW-CycleGAN as input; and reached 59.27% ​​when using the enhanced images from this embodiment as input, with precision and recall of 72.45% and 66.10%, respectively, all higher than the raw degraded images and the unpaired baseline enhanced images. This indicates that the method in this embodiment suppresses the damage to local structures during color correction through centroid-residual decoupling, and gradually restores contrast and texture details through multi-step Schrödinger bridge updates, enabling the enhancement results to provide more reliable input for downstream modules such as target detection and recognition, and effectively improving the information usability of the enhanced images.

[0067] Table 5. Component ablation results on the UIEB Test-90 dataset.

[0068] Note: ✓ indicates that the component is included in the experiment, × indicates that the component is removed; PSNR and SSIM are general image quality evaluation indicators, and the English abbreviations are retained.

[0069] Table 5 presents ablation analysis of four key components on the UIEB Test-90 dataset, examining the impact of multi-step Schrödinger bridge progressive transport (SB progressive), barycentric gating, residual injection, and pseudo-label clustering on the final enhancement effect. As shown in Table 5, when any component is missing, both PSNR and SSIM decrease compared to the complete configuration.

[0070] Among the clustering methods, the performance degradation was most significant when removing pseudo-labels, with PSNR decreasing from 20.832 to 20.324 and SSIM decreasing from 0.894 to 0.792. This indicates that fixing physical pseudo-labels to organize the degraded residual space through pseudo-label-perceived residual contrast loss is a crucial support for overall performance. Without this constraint, residuals with different degrees of degradation would struggle to form an ordered distribution in the latent space, thus weakening the ability of multi-step bridge state updates to specifically correct for degradation intensity.

[0071] Removing the centroid gating also significantly reduced PSNR and SSIM, indicating that using centroid embedding as the decoder gating signal helps preserve shared scene content among different degraded images during color correction. Removing the multi-step Schrödinger bridge asymptotic propagation reduced PSNR to 20.659 and SSIM to 0.862, demonstrating that multi-step state updates can more stably advance the degraded distribution towards a sharp distribution compared to single-step mapping, and reduce artifacts caused by insufficient or over-correction in a single step. Removing residual injection resulted in a slightly smaller decrease in PSNR, but SSIM dropped from 0.894 to 0.871, indicating that degradation-specific residuals, as compensation features, primarily affect detail and structural recovery, playing an irreplaceable role in maintaining image structural consistency.

[0072] As shown in Table 5, the four components of physical pseudo-label clustering, centroid gating, residual injection, and multi-step bridge progressive transmission work together to contribute positively to the final enhanced quality. The complete configuration achieves the highest values ​​in both PSNR and SSIM, verifying the synergistic effect among the various technical means in this embodiment.

[0073] Training for this method can be performed on servers, workstations, or general-purpose computing devices, while inference can be deployed on edge devices, underwater robots, unmanned underwater vehicles, or servers. It provides enhanced images for modules such as navigation, target detection, target tracking, and structural inspection without requiring additional dedicated hardware.

[0074] In addition, the present invention may also provide an underwater image enhancement device, including a training unit for performing the above-described training phase steps and an inference unit for performing the above-described inference phase steps. The training unit may include a degraded image acquisition module, a physical descriptor construction module, an offline pseudo-label clustering module, a shared generator decoupling module, and a joint loss training module; the inference unit may include an initial bridge state setting module, a shared generator prediction module, a bridge state update module, a loop judgment module, and an enhanced image output module.

[0075] The training unit performs physical descriptor construction, offline pseudo-labeling, shared generator decoupling, and joint loss update; the inference unit performs initial bridge state, shared prediction, bridge update, loop judgment, and output. The electronic device includes a processor, memory, image interface, and output interface. The memory stores shared generator parameters and bridge update parameters; the processor receives degraded underwater images, performs a preset number of bridge updates, and outputs an enhanced RGB image.

[0076] The present invention also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the program to implement the above-described method. The present invention further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the above-described method.

[0077] Of course, the above description is not limited to the examples above. Technical features not described in this invention can be implemented by or using existing technology, and will not be repeated here. The above embodiments and drawings are only used to illustrate the technical solutions of this invention and are not intended to limit this invention. This invention has been described in detail with reference to preferred embodiments. Those skilled in the art should understand that any changes, modifications, additions or substitutions made by those skilled in the art within the scope of this invention do not depart from the spirit of this invention and should also fall within the scope of protection of the claims of this invention.

Claims

1. A method for enhancing unpaired underwater images based on a Schrödinger bridge, characterized in that: Includes a training phase and an inference phase; The training phase includes the following steps: T1. Obtain mutually independent degraded underwater image domains and sharp image domains. The sharp image domain is used to provide target distribution but does not provide pixel-level ground truth. T2. Construct physical descriptors for degraded underwater images based on color channel statistics and scattering correlation estimation. Cluster the physical descriptors to generate image-level degraded pseudo-labels. The image-level degraded pseudo-labels are fixed during training and are not directly used as pixel-level supervision for augmented images. T3. Construct a shared generator, using the degraded underwater image as the initial bridge state to perform a preset number of bridge state updates, and reuse the parameters of the shared generator in each bridge state update; each bridge state update includes: inputting the current bridge state into the shared generator, obtaining the bottleneck latent features by the encoder, dividing the bottleneck latent features into content representation and degradation representation, decoding the current sharp domain prediction based on the content representation and degradation representation, and generating the next bridge state based on the current bridge state, the current sharp domain prediction, deterministic drift and Gaussian random perturbation; T4. Train a shared generator and discriminator using joint objectives. The joint objectives include: adversarial loss to make the generated image distribution close to the sharp image domain, bridge trajectory loss to constrain the bridge state to move closer to the current sharp domain prediction, and decoupling loss to decouple content representation from degradation representation and organize degradation representation using pseudo-labels. The adversarial loss is obtained by the discriminator to judge the authenticity of the current sharp domain prediction and the image in the sharp image domain. The reasoning phase includes the following steps: S1. Using the degraded underwater image to be enhanced as the initial bridge state, the trained shared generator is reused to perform a preset number of bridge state updates. S2. Output the final bridge state as an enhanced image.

2. The unpaired underwater image enhancement method based on Schrödinger bridge according to claim 1, characterized in that: In T2, the physical descriptor includes the mean of the transmission map, the standard deviation of the transmission map, the RGB components of the ambient light, and the mean of the RGB channels of the input image. The scattering correlation estimation includes transmission map estimation and ambient light estimation, which are obtained as follows: inverse mean channel weights are constructed based on the mean of each color channel of the degraded underwater image. The inverse mean weights are truncated according to preset lower and upper limits and then normalized within the RGB channel set to obtain adaptive weights for each channel. Within a local window, the pixel values ​​within the window are weighted to the minimum value according to the adaptive weights of each channel to obtain the adaptive dark channel. Ambient light is estimated based on the high-response pixels of the adaptive dark channel. The transmission map is estimated using the adaptive dark channel, ambient light, and preset retention coefficients.

3. The unpaired underwater image enhancement method based on Schrödinger bridge according to claim 2, characterized in that: After standardizing each component of the physical descriptor according to the mean and standard deviation of the training set descriptors, K-means clustering is performed to obtain image-level degradation pseudo-labels. The clustering results are sorted according to the average transmission rate of the training samples within each cluster calculated from the transmission map. The sorted image-level degradation pseudo-labels represent severe, moderate and mild degradation in sequence.

4. The unpaired underwater image enhancement method based on Schrödinger bridge according to claim 1, characterized in that: The shared generator is a lightweight NAFNet encoder-decoder architecture; at the bottleneck features, latent features are decoupled into centroid embeddings and degenerate-specific residuals in the following manner: ; In the formula: For the first The sample at the th The input of each bridge state, For encoder, As a latent feature, As the central branch, For the center of gravity to be embedded, For projection mapping, For degenerate specific residuals, This is the decoder branch input, which is an explicit combination of centroid projection and residual. The projection mapping of the centroid embedding constitutes the content representation, the degradation-specific residual constitutes the degradation representation, the centroid embedding preserves the shared scene content across different degradation images and serves as the decoder gating signal; The degradation-specific residual characterizes degradation changes associated with color shift, scattering, and contrast reduction, and is injected into the decoder as a compensation feature.

5. The unpaired underwater image enhancement method based on Schrödinger bridge according to claim 4, characterized in that: In T4, the decoupling loss includes: The centroid alignment loss, using mean squared error as a metric, is used to make the projection of the centroid embedding close to the shared components in the latent features. The pseudo-label perception residual contrast loss adopts a contrast loss based on cosine similarity. It uses samples with the same image-level degraded pseudo-labels as positive samples and other samples in the batch as negative samples, thus narrowing the feature distance of the degraded specific residuals with the same label. Orthogonal loss, employing the Frobenius norm of the inner product of the intra-batch feature matrices, is used to reduce the correlation between the intra-batch normalized centroid embedding projection matrix and the normalized degenerate idiomatic residual matrix.

6. The unpaired underwater image enhancement method based on Schrödinger bridge according to claim 1, characterized in that: The current clear domain prediction is ,in, For the first The sample at the th The input of each bridge state, For shared generators, For the current clear domain prediction; the next bridge state is updated according to the following rules: ; in: The next bridge state, Let be the drift coefficient for the k-th state. Let be the perturbation coefficient for the k-th state. For standard Gaussian random variables, It is an identity matrix.

7. The unpaired underwater image enhancement method based on Schrödinger bridge according to claim 1 or 6, characterized in that: In T4, the bridge trajectory loss is determined based on the trajectory deviation between the next bridge state and the corresponding current clear domain prediction in each bridge state update: ; in: This represents taking the expectation of the training samples and the random perturbation. The next bridge state, For the current clear domain prediction, This is the preset number of bridge state updates.

8. The unpaired underwater image enhancement method based on Schrödinger bridge according to claim 5, characterized in that: The joint objective also includes local content preservation loss and Lab color correction loss, with a total training loss of: ; in, and These correspond to distribution alignment, bridge trajectory, latent space decoupling, local content preservation, and Lab color correction losses, respectively. and Configure weights for training; The local content preservation loss adopts a block-level comparison method, which makes the feature similarity of corresponding local positions higher than the feature similarity of non-corresponding positions; Update the shared generator and discriminator using the total training loss.

9. The unpaired underwater image enhancement method based on Schrödinger bridge according to claim 1, characterized in that: During the inference phase, forward prediction and state update of the current bridge state are performed based on the shared generator parameters obtained during training and the preset bridge update parameters. Physical descriptor calculation is not performed, K-means clustering is not performed, total training loss is not calculated, and the discriminator is not run.

10. The unpaired underwater image enhancement method based on Schrödinger bridge according to claim 8, characterized in that: Image-level degradation pseudo-labels are generated and cached once by physical descriptors through standardization and K-means clustering during the training preparation phase. The cluster centers are not updated during the entire main training loop, and the pseudo-labels are not used as network prediction targets. In each bridge state update, the pseudo-labels are only used to construct the positive and negative sample relationship of pseudo-label perception residual contrast loss, and are not used for adversarial loss, bridge trajectory loss, centroid alignment loss, orthogonality loss, local content preservation loss, and Lab color correction loss.