Cross-modal interaction conversion method and device for haze remote sensing image target detection
By employing a cross-modal interactive transformation method, the Transformer neural network is used to perform bidirectional interactive transformation of features between haze and dehaze remote sensing images. This solves the problems of accuracy and robustness in target detection of remote sensing images under haze conditions, and achieves efficient feature discrimination and improved detection accuracy.
Patent Information
- Application Number
- CN202511555028.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-29
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2045-10-29
AI Technical Summary
Existing remote sensing image target detection methods have low accuracy and robustness under hazy conditions. Existing solutions have shortcomings such as introducing artifacts during the defogging process or requiring paired image-supervised training.
A cross-modal interactive transformation method is adopted. Through the attention module established by the Transformer neural network, sequential and reverse query steps are performed to realize bidirectional interactive transformation of haze and dehaze remote sensing image features. Combined with fully connected layers and feature reshaping, the feature discrimination ability is improved.
It significantly improves the accuracy and robustness of target detection under hazy conditions, enhances the ability to discriminate features, suppresses noise and redundant information, and improves the detection accuracy to 58.4%.
Smart Images

Figure CN121033643A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of remote sensing image processing and target detection, and in particular to a cross-modal interactive conversion method and apparatus for target detection in haze remote sensing images. Background Technology
[0002] Remote sensing images play a crucial role in a variety of applications. However, real-world remote sensing images are often affected by severe weather (especially fog and haze), resulting in reduced image contrast, blurred boundaries, and loss of details, which seriously affects the accuracy of target detection.
[0003] Existing remote sensing image target detection methods are typically developed and evaluated under ideal imaging conditions. When these target detection methods are applied to hazy images, their performance degrades significantly. To address the aforementioned problems, existing solutions mainly include: (1) dehazing before detection; (2) training the detector directly on hazy images; and (3) joint detection of clear images.
[0004] However, existing solutions also have corresponding problems. For the dehazing-then-detection approach, although dehazing can improve image clarity, the dehazing process may introduce artifacts or lose high-level semantic information, limiting detection accuracy. For the approach of training the detector directly on the hazy image, it is still limited by the inherent reduced visibility and blurred details of the hazy image. For joint clear image detection, paired hazy images and clear images are required for supervised training, but paired hazy images and clear images are very scarce in real-world scenarios. Summary of the Invention
[0005] Purpose of the invention: This invention provides a cross-modal interactive conversion method and apparatus for target detection in hazy remote sensing images, aiming to solve the technical problem of low accuracy and robustness of target detection in remote sensing images under hazy conditions in the prior art.
[0006] Technical Solution: This invention provides a cross-modal interactive transformation method for target detection in haze remote sensing images, comprising: acquiring haze remote sensing images; performing dehazing processing on the haze remote sensing images to obtain corresponding dehaze remote sensing images; extracting features from the haze remote sensing images and the dehaze remote sensing images respectively to obtain corresponding haze feature patches and dehaze feature patches; converting the haze feature patches and the dehaze feature patches into one-dimensional haze feature sequences and one-dimensional dehaze feature sequences respectively; using the attention module of a cross-modal interactive transformation model built with a Transformer neural network to execute sequential query steps and reverse query steps, wherein: in the sequential query step: using the one-dimensional haze feature sequence as the query and the one-dimensional dehaze feature sequence as the key and value, calculating the corresponding one-dimensional dehaze feature sequence based on the query of the one-dimensional haze feature sequence. The reverse query step involves: using the one-dimensional dehazing feature sequence as the query and the one-dimensional haze feature sequence as the key and value; calculating the corresponding one-dimensional haze feature sequence based on the query; superimposing the one-dimensional haze feature sequence with the corresponding one-dimensional dehazing feature sequence calculated in the sequential query step; inputting this superimposed ...
[0007] Specifically, dimensionality reduction is performed through pooling, converting the two-dimensional haze feature map and dehaze feature map into one-dimensional haze feature sequences and one-dimensional dehaze feature sequences, respectively; learnable location information is then embedded into the one-dimensional haze feature sequences and one-dimensional dehaze feature sequences, respectively.
[0008] Specifically, in the sequential query step and the reverse query step: based on the number h of attention heads in the attention module, the one-dimensional haze feature sequence and the one-dimensional defogging feature sequence are dimensionally split, and the feature sequence of 1 / h dimension corresponding to each attention head is calculated; after each attention head performs query-based calculation of the corresponding key and value for the 1 / h dimension feature sequence, the 1 / h dimension feature sequence is concatenated to obtain the original one-dimensional haze feature sequence and the one-dimensional defogging feature sequence.
[0009] Specifically, the execution sequence query step uses the following formula: MCA h-d =softmax(Q h K d T / d k1 / 2 V d , Among them, MCA h-d Q represents the function that calculates the corresponding key and value based on the query; softmax represents the normalized exponential function; Q represents the normalized exponential function. h K represents a one-dimensional haze feature sequence used as a query parameter. d Let V represent the one-dimensional dehazed feature sequence used as the key parameter, T denote the matrix transpose, and V... d Let d represent the one-dimensional dehazing feature sequence used as a value parameter. k This represents the dimension of the feature sequence corresponding to each attention head.
[0010] Specifically, the reverse query step adopts the same formula structure as the sequential query step, wherein the query parameters are replaced with a one-dimensional defogging feature sequence, and the key parameters and value parameters are replaced with a one-dimensional haze feature sequence.
[0011] Specifically, the feedforward network of the cross-modal interaction conversion model adopts the following formula: FFN(x) = ReLU(xW1 + b1)W2 + b2, Where FFN(x) represents the feedforward network, x represents the input feature sequence, ReLU represents the activation function, W1 and W2 represent the first and second fully connected weight matrices, respectively, and b1 and b2 represent the first and second bias terms, respectively.
[0012] Specifically, after the first or second feature sequence is reshaped into a two-dimensional feature map, during the process of outputting the two-dimensional feature map by the cross-modal interactive conversion model, nearest neighbor interpolation is used during the training period and bilinear interpolation is used during the inference period; the two-dimensional feature map is superimposed with the corresponding haze feature map block or dehaze feature map block to obtain an optimized two-dimensional feature map; the optimized two-dimensional feature map is then input into the cross-modal interactive conversion model.
[0013] This invention also provides a cross-modal interactive conversion device for target detection in haze remote sensing images, comprising: a dehazing unit, a feature extraction unit, a cross-modal interaction unit, a reshaping unit, and a fusion unit, wherein: the dehazing unit is used to acquire haze remote sensing images, perform dehazing processing on the haze remote sensing images, and obtain corresponding dehaze remote sensing images; the feature extraction unit is used to extract features from the haze remote sensing images and the dehaze remote sensing images respectively, to obtain corresponding haze feature patches and dehaze feature patches, and convert the haze feature patches and the dehaze feature patches into one-dimensional haze feature sequences and one-dimensional dehaze feature sequences respectively; the cross-modal interaction unit is used to execute a sequential query step and a reverse query step using the attention module of a cross-modal interactive conversion model established with a Transformer neural network, wherein: the sequential query step uses the one-dimensional haze feature sequence as the query and the one-dimensional dehaze feature sequence as the key and value, based on... The system calculates a corresponding one-dimensional dehazing feature sequence based on a one-dimensional haze feature sequence query. A reverse query step is performed: using the one-dimensional dehazing feature as the query and the one-dimensional haze feature as the key and value, the corresponding one-dimensional haze feature sequence is calculated based on the one-dimensional dehazing feature sequence query. The reshaping unit is used to superimpose the one-dimensional haze feature sequence with the corresponding one-dimensional dehazing feature sequence calculated in the sequential query step, input it into the feedforward network of the cross-modal interactive transformation model, and output a first feature sequence after passing through a fully connected layer. The system also superimposes the one-dimensional dehazing feature sequence with the corresponding one-dimensional haze feature sequence calculated in the reverse query step, inputs it into the feedforward network of the cross-modal interactive transformation model, and outputs a second feature sequence after passing through a fully connected layer. The fusion unit is used to reshape the first feature sequence and the second feature sequence into two-dimensional feature maps, input them into the cross-modal interactive transformation model for fusion and feature extraction, and use the extracted feature maps for target detection in haze remote sensing images.
[0014] Beneficial effects: Compared with the prior art, the present invention has the following significant advantages: By simultaneously inputting haze remote sensing images and dehaze-processed remote sensing images into the cross-modal interactive conversion model, fine-grained, bidirectional deep feature interaction between haze features and dehaze features is achieved, thereby enhancing the discriminative ability of features and suppressing noise and redundant information, thus significantly improving the accuracy and robustness of target detection under haze conditions. Attached Figure Description
[0015] Figure 1 This is a flowchart illustrating the cross-modal interactive conversion method for target detection in haze remote sensing images provided by the present invention. Detailed Implementation
[0016] The technical solution of the present invention will be further described below with reference to the accompanying drawings.
[0017] In existing technologies, target detection using remote sensing images under hazy conditions, whether directly based on training from the original hazy image or relying solely on dehazed images, fails to fully leverage the complementary advantages of the two modalities. While the original hazy image retains key global scene clues such as object location and overall layout, it suffers from low visibility and blurred details. On the other hand, while the dehazed image can restore local details and contrast, it may be accompanied by the introduction of artifacts or the loss of key contextual information.
[0018] In this invention, by using a cross-modal interactive transformation model, the features of both hazy and dehazed images are utilized and cross-modal interactive transformation is performed. This enables deep bidirectional feature mining between hazy and dehazed images, and the fusion of hazy and dehazed images as "full text" is used for feature extraction. This effectively enhances the discriminative ability of features and significantly improves the target detection performance.
[0019] See Figure 1 This is a flowchart illustrating the cross-modal interactive conversion method for target detection in haze remote sensing images provided by the present invention.
[0020] In this embodiment of the invention, haze remote sensing images are acquired, and the haze remote sensing images are defogging processed to obtain corresponding defogging remote sensing images.
[0021] In practice, the process can be performed on three synthetic haze remote sensing datasets: DOTA-Haze, SODA-A-Haze, and DroneVehicle-Haze. For each dataset, dehazing methods such as DCP, AOD-Net, GridDehaze, C2PNet, and RIDCP are introduced to obtain dehazed images.
[0022] In this embodiment of the invention, features are extracted from the haze remote sensing image and the defogging remote sensing image respectively to obtain corresponding haze feature blocks and defogging feature blocks. The haze feature blocks and the defogging feature blocks are then converted into one-dimensional haze feature sequences and one-dimensional defogging feature sequences respectively.
[0023] In practice, features are extracted to obtain corresponding haze feature patches and dehaze feature patches. Rotated RetinaNet can be used as the baseline detector, and ResNet-50 pre-trained on ImageNet can be used as the backbone network. Multi-scale feature extraction is performed at the P3 to P7 levels of the feature pyramid network to obtain haze feature patches and dehaze feature patches.
[0024] In practice, the cross-modal interactive transformation model receives haze feature maps and dehaze feature maps. Since the standard Transformer needs to run on a one-dimensional token sequence, the two-dimensional feature maps must be converted into such sequences.
[0025] Therefore, in this embodiment of the invention, dimensionality reduction is performed by pooling to convert the two-dimensional haze feature blocks and defogging feature blocks into one-dimensional haze feature (token) sequences and one-dimensional defogging feature (token) sequences, respectively.
[0026] In specific implementation, the one-dimensional token sequence originally does not contain location information. In order for the cross-modal interactive conversion model to learn and extract location information from the one-dimensional feature sequence, learnable location information is embedded in the one-dimensional haze feature sequence and the one-dimensional defogging feature sequence, respectively, in this embodiment of the invention.
[0027] In this embodiment of the invention, the attention module of a cross-modal interactive transformation model built with a Transformer neural network is used to perform a sequential query step and a reverse query step, wherein: the sequential query step is performed by using a one-dimensional haze feature sequence as the query and a one-dimensional dehazing feature sequence as the key and value, and calculating the corresponding one-dimensional dehazing feature sequence based on the query of the one-dimensional haze feature sequence; the reverse query step is performed by using a one-dimensional dehazing feature as the query and a one-dimensional haze feature as the key and value, and calculating the corresponding one-dimensional haze feature sequence based on the query of the one-dimensional dehazing feature sequence.
[0028] In practical implementation, cross-modal attention from haze to dehaze is calculated, as well as symmetrical cross-modal attention from dehaze to haze, to achieve bidirectional cross-modal feature exchange. This allows for information complementarity between haze-to-dehaze and dehaze-to-haze aspects, taking into account both the overall layout in haze images and the local details in dehaze images. Furthermore, through two symmetrical calculations, the semantic alignment of the one-dimensional feature sequences and two-dimensional feature maps output by the two branches of the cross-modal interactive transformation model is achieved, facilitating the subsequent fusion of the two two-dimensional feature maps.
[0029] In practical implementation, the cross-modal interaction conversion model of the present invention promotes intermodal feature interaction by introducing a multi-head cross-modal attention mechanism, rather than the traditional self-attention mechanism which only captures intramodal relationships.
[0030] In practice, a one-dimensional haze feature sequence or a one-dimensional defogging feature sequence is used as the query, and the corresponding key value is calculated. Specifically, the query outputs the one-dimensional defogging feature sequence or one-dimensional haze feature sequence that best matches the query one-dimensional haze feature sequence or one-dimensional defogging feature sequence.
[0031] In this embodiment of the invention, based on the number h of attention heads in the attention module, the one-dimensional haze feature sequence and the one-dimensional defogging feature sequence are dimensionally split, and a feature sequence of dimension 1 / h corresponding to each attention head is calculated; after each attention head performs query-based calculation of the corresponding key and value on the 1 / h dimension feature sequence, the 1 / h dimension feature sequence is concatenated to obtain the original one-dimensional haze feature sequence and the one-dimensional defogging feature sequence.
[0032] In practical implementation, the attention head decomposes the C-dimensional vector (one-dimensional in this specific implementation) into h parts, each C / h-dimensional, independently calculating the key value based on query matching, and then concatenating the results back together. This allows the model to focus on cross-modal information at the same location, learning matching rules from haze to dehaze and from dehaze to haze, and then concatenating them to obtain the original feature vector, using parallel computation to obtain a richer feature subspace representation.
[0033] In this embodiment of the invention, the execution sequence query step adopts the following formula: MCA h-d =softmax(Q h K d T / d k 1 / 2 V d , Among them, MCA h-d Q represents the function that calculates the corresponding key and value based on the query; softmax represents the normalized exponential function; Q represents the normalized exponential function. h K represents a one-dimensional haze feature sequence used as a query parameter. d Let V represent the one-dimensional dehazed feature sequence used as the key parameter, T denote the matrix transpose, and V... d Let d represent the one-dimensional dehazing feature sequence used as a value parameter. k This represents the dimension of the feature sequence corresponding to each attention head.
[0034] In practice, Q h =X h W Q h K d = X d W K d V d =X d W V d , where X h and X d W represents the one-dimensional haze feature sequence and the one-dimensional defogging feature sequence, respectively. Q h W K dand W V d These represent the learnable projection matrices.
[0035] In this embodiment of the invention, the reverse query step adopts the same formula structure as the sequential query step, wherein the query parameters are replaced with a one-dimensional defogging feature sequence, and the key parameters and value parameters are replaced with a one-dimensional haze feature sequence.
[0036] In this embodiment of the invention, a one-dimensional haze feature sequence is superimposed with the corresponding one-dimensional dehazing feature sequence calculated in the sequential query step, and input into the feedforward network of the cross-modal interactive conversion model. After passing through a fully connected layer, a first feature sequence is output. The one-dimensional dehazing feature sequence is superimposed with the corresponding one-dimensional haze feature sequence calculated in the reverse query step, and input into the feedforward network of the cross-modal interactive conversion model. After passing through a fully connected layer, a second feature sequence is output.
[0037] In practice, to further refine the feature representation and ensure training stability, the token sequence after cross-attention processing is input into the feedforward network for further processing. First, the interactive feature sequence is normalized layer by layer to stabilize the gradient distribution during training. Then, it is output through a two-layer fully connected network. This involves a non-linear transformation of the normalized features to enhance their expressive power.
[0038] In practice, during the above-mentioned layer normalization operation, the original feature sequence and the cross-modal attention feature sequence can be weighted and superimposed to adjust the fusion ratio between the two, so as to avoid the interaction features from overly covering the original modal feature sequence.
[0039] In this embodiment of the invention, after layer normalization, the feedforward network of the cross-modal interaction transformation model adopts the following formula: FFN(x) = ReLU(xW1 + b1)W2 + b2, Where FFN(x) represents the feedforward network, x represents the input feature sequence, ReLU represents the activation function, W1 and W2 represent the first and second fully connected weight matrices, respectively, and b1 and b2 represent the first and second bias terms, respectively.
[0040] In this embodiment of the invention, the first feature sequence and the second feature sequence are respectively reshaped into two-dimensional feature maps, and input into a cross-modal interactive transformation model for fusion (fusion of two two-dimensional feature maps) and feature extraction. The extracted feature maps are then used for target detection in haze remote sensing images.
[0041] In this embodiment of the invention, after the first feature sequence or the second feature sequence is reshaped into a two-dimensional feature map, during the process of outputting the two-dimensional feature map by the cross-modal interactive conversion model, nearest neighbor interpolation is used during the training period and bilinear interpolation is used during the inference period; the two-dimensional feature map is superimposed with the corresponding haze feature map block or dehaze feature map block to obtain an optimized two-dimensional feature map; the optimized two-dimensional feature map is input into the cross-modal interactive conversion model.
[0042] In practice, when the residuals of the two-dimensional feature map reconstructed from the first feature sequence (original query input is haze feature) are added together, the superimposed feature map should be haze feature map blocks; when the residuals of the two-dimensional feature map reconstructed from the second feature sequence (original query input is defogging feature) are added together, the superimposed feature map should be defogging feature map blocks.
[0043] In the specific implementation, during the process of cross-modal interactive transformation model outputting two-dimensional feature maps, a "nearest neighbor interpolation during training + bilinear interpolation during inference" scheme is adopted. Nearest neighbor interpolation is used during training to improve training speed and reduce computational overhead, while bilinear interpolation is used during inference to improve the smoothness of feature maps and reduce edge jagged artifacts. Finally, the refined features after upsampling are added to the residuals of the input original branch features haze feature map patch and dehaze feature map patch to retain the low-order spatial information (such as edges and textures) of the original features, while incorporating the high-order semantic information after cross-modal interaction.
[0044] In practical implementation, introducing a cross-modal interaction transformation model can promote semantic-level interaction between the two feature branches. This improvement significantly enhances detection accuracy, with mAP reaching 58.4%, highlighting the importance of deep cross-modal feature alignment. This also significantly enhances the robustness of target detection in remote sensing images under blurred conditions.
[0045] This invention also provides a cross-modal interactive conversion device for target detection in haze remote sensing images, comprising: a dehazing unit, a feature extraction unit, a cross-modal interaction unit, a reshaping unit, and a fusion unit, wherein: the dehazing unit is used to acquire haze remote sensing images, perform dehazing processing on the haze remote sensing images, and obtain corresponding dehaze remote sensing images; the feature extraction unit is used to extract features from the haze remote sensing images and the dehaze remote sensing images respectively, to obtain corresponding haze feature patches and dehaze feature patches, and convert the haze feature patches and the dehaze feature patches into one-dimensional haze feature sequences and one-dimensional dehaze feature sequences respectively; the cross-modal interaction unit is used to execute a sequential query step and a reverse query step using the attention module of a cross-modal interactive conversion model established with a Transformer neural network, wherein: the sequential query step uses the one-dimensional haze feature sequence as the query and the one-dimensional dehaze feature sequence as the key and value, based on... The system calculates a corresponding one-dimensional dehazing feature sequence based on a one-dimensional haze feature sequence query. A reverse query step is performed: using the one-dimensional dehazing feature as the query and the one-dimensional haze feature as the key and value, the corresponding one-dimensional haze feature sequence is calculated based on the one-dimensional dehazing feature sequence query. The reshaping unit is used to superimpose the one-dimensional haze feature sequence with the corresponding one-dimensional dehazing feature sequence calculated in the sequential query step, input it into the feedforward network of the cross-modal interactive transformation model, and output a first feature sequence after passing through a fully connected layer. The system also superimposes the one-dimensional dehazing feature sequence with the corresponding one-dimensional haze feature sequence calculated in the reverse query step, inputs it into the feedforward network of the cross-modal interactive transformation model, and outputs a second feature sequence after passing through a fully connected layer. The fusion unit is used to reshape the first feature sequence and the second feature sequence into two-dimensional feature maps, input them into the cross-modal interactive transformation model for fusion and feature extraction, and use the extracted feature maps for target detection in haze remote sensing images.
[0046] In specific implementations, the cross-modal interactive conversion device for target detection in haze remote sensing images provided by the present invention, wherein the methods, steps or functions executed by each execution unit can refer to the cross-modal interactive conversion method for target detection in haze remote sensing images provided by the present invention.
Claims
1. A cross-modal interactive conversion method for target detection in haze remote sensing images, characterized in that, include: Acquire haze remote sensing images, perform defogging processing on the haze remote sensing images, and obtain corresponding defogging remote sensing images; Feature extraction is performed on the haze remote sensing image and the defogging remote sensing image respectively to obtain corresponding haze feature blocks and defogging feature blocks. The haze feature blocks and the defogging feature blocks are then converted into one-dimensional haze feature sequences and one-dimensional defogging feature sequences respectively. The attention module of the cross-modal interactive transformation model built with a Transformer neural network is used to perform a sequential query step and a reverse query step. The sequential query step is as follows: the one-dimensional haze feature sequence is used as the query and the one-dimensional dehaze feature sequence is used as the key and value. The corresponding one-dimensional dehaze feature sequence is calculated based on the query of the one-dimensional haze feature sequence. The reverse query step is as follows: the one-dimensional dehaze feature sequence is used as the query and the one-dimensional haze feature sequence is used as the key and value. The corresponding one-dimensional haze feature sequence is calculated based on the query of the one-dimensional dehaze feature sequence. The one-dimensional haze feature sequence is superimposed with the corresponding one-dimensional dehaze feature sequence calculated in the sequential query step, and input into the feedforward network of the cross-modal interaction conversion model. After passing through a fully connected layer, the first feature sequence is output. The one-dimensional dehaze feature sequence is superimposed with the corresponding one-dimensional haze feature sequence calculated in the reverse query step, and input into the feedforward network of the cross-modal interaction conversion model. After passing through a fully connected layer, the second feature sequence is output. The first feature sequence and the second feature sequence are reshaped into two-dimensional feature maps, and then input into a cross-modal interactive transformation model for fusion and feature extraction. The extracted feature maps are then used for target detection in haze remote sensing images.
2. The cross-modal interactive conversion method for target detection in haze remote sensing images according to claim 1, characterized in that, The step of converting the haze feature map block and the dehaze feature map block into a one-dimensional haze feature sequence and a one-dimensional dehaze feature sequence, respectively, includes: Dimensionality reduction is achieved by pooling, converting the two-dimensional haze feature map and the dehaze feature map into one-dimensional haze feature sequence and one-dimensional dehaze feature sequence, respectively. Learnable location information is embedded in the one-dimensional haze feature sequence and the one-dimensional defogging feature sequence, respectively.
3. The cross-modal interactive conversion method for target detection in haze remote sensing images according to claim 1, characterized in that, In the sequential query step and the reverse query step: Based on the number h of attention heads in the attention module, the one-dimensional haze feature sequence and the one-dimensional defogging feature sequence are dimensionally split, and the feature sequence corresponding to 1 / h dimension for each attention head is calculated. After each attention head performs query-based calculation of the corresponding key and value on the 1 / h dimension feature sequence, the 1 / h dimension feature sequences are concatenated to obtain the original one-dimensional haze feature sequence and one-dimensional defogging feature sequence.
4. The cross-modal interactive conversion method for target detection in haze remote sensing images according to claim 3, characterized in that, The execution order query step uses the following formula: MCA h-d =softmax(Q h K d T / d k 1 / 2 )V d , Among them, MCA h-d Q represents the function that calculates the corresponding key and value based on the query; softmax represents the normalized exponential function; Q represents the normalized exponential function. h K represents a one-dimensional haze feature sequence used as a query parameter. d Let V represent the one-dimensional dehazed feature sequence used as the key parameter, T denote the matrix transpose, and V... d Let d represent the one-dimensional dehazing feature sequence used as a value parameter. k This represents the dimension of the feature sequence corresponding to each attention head.
5. The cross-modal interactive conversion method for target detection in haze remote sensing images according to claim 4, characterized in that, The reverse query step adopts the same formula structure as the sequential query step, except that the query parameters are replaced with a one-dimensional defogging feature sequence, and the key parameters and value parameters are replaced with a one-dimensional haze feature sequence.
6. The cross-modal interactive conversion method for target detection in haze remote sensing images according to claim 5, characterized in that, The feedforward network of the cross-modal interaction conversion model adopts the following formula: FFN(x) = ReLU(xW1 + b1)W2 + b2, Where FFN(x) represents the feedforward network, x represents the input feature sequence, ReLU represents the activation function, W1 and W2 represent the first and second fully connected weight matrices, respectively, and b1 and b2 represent the first and second bias terms, respectively.
7. The cross-modal interactive conversion method for target detection in haze remote sensing images according to claim 5, characterized in that, The step of reshaping the first feature sequence and the second feature sequence into a two-dimensional feature map and inputting it into a cross-modal interactive transformation model for fusion and feature extraction includes: After the first or second feature sequence is reshaped into a two-dimensional feature map, in the process of cross-modal interactive transformation model outputting a two-dimensional feature map, nearest neighbor interpolation is used during the training period and bilinear interpolation is used during the inference period. The two-dimensional feature map is superimposed with the corresponding haze feature map block or dehaze feature map block to obtain an optimized two-dimensional feature map; the optimized two-dimensional feature map is then input into the cross-modal interactive conversion model.
8. A cross-modal interactive conversion device for target detection in haze remote sensing images, characterized in that, include: The unit comprises a dehazing unit, a feature extraction unit, a cross-modal interaction unit, a reshaping unit, and a fusion unit, wherein: The defogging unit is used to acquire haze remote sensing images, perform defogging processing on the haze remote sensing images, and acquire corresponding defogging remote sensing images. The feature extraction unit is used to extract features from the haze remote sensing image and the defogging remote sensing image respectively, to obtain corresponding haze feature blocks and defogging feature blocks, and to convert the haze feature blocks and the defogging feature blocks into one-dimensional haze feature sequences and one-dimensional defogging feature sequences respectively. The cross-modal interaction unit is used to execute a sequential query step and a reverse query step using the attention module of the cross-modal interaction transformation model built with a Transformer neural network. Specifically: The sequential query step uses a one-dimensional haze feature sequence as the query and a one-dimensional dehazing feature sequence as the key and value, and calculates the corresponding one-dimensional dehazing feature sequence based on the query. The reverse query step uses a one-dimensional dehazing feature as the query and a one-dimensional haze feature as the key and value, and calculates the corresponding one-dimensional haze feature sequence based on the query. The reshaping unit is used to superimpose a one-dimensional haze feature sequence with the corresponding one-dimensional dehazing feature sequence calculated in the sequential query step, input the result into the feedforward network of the cross-modal interaction conversion model, and output a first feature sequence after passing through a fully connected layer; and to superimpose a one-dimensional dehazing feature sequence with the corresponding one-dimensional haze feature sequence calculated in the reverse query step, input the result into the feedforward network of the cross-modal interaction conversion model, and output a second feature sequence after passing through a fully connected layer. The fusion unit is used to reshape the first feature sequence and the second feature sequence into two-dimensional feature maps, and input them into the cross-modal interactive transformation model for fusion and feature extraction. The extracted feature maps are then used for target detection in haze remote sensing images.
Citation Information
Patent Citations
Depth feature fusion and optimization method and system for multi-modal data
CN117909922A
Traffic target identifying and positioning method based on foggy day scene
CN119049009A
Non-uniform image defogging method based on visual Transform multi-scale collaborative self-attention
CN119579455A
Target detection method and device for multi-modal remote sensing image
CN119888172A
Image defogging method and device
CN120163731A