Method for generating and key part segmentation of cross-modal ship remote sensing data in border security

By aligning multimodal remote sensing images and combining image fusion and attention mechanisms, the problem of detailed positioning of key parts in ship detection was solved, achieving high-precision target identification around the clock and in all weather conditions, thus improving the reliability and accuracy of missile strikes.

CN117953323BActive Publication Date: 2026-11-27NORTHWESTERN POLYTECHNICAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410046397.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-11
Publication Date
2026-11-27
Estimated Expiration
2044-01-11

AI Technical Summary

Technical Problem

Existing ship inspection methods mainly focus on overall inspection, lacking detailed pixel-level precise positioning of key ship parts. In particular, their robustness to a single visible light mode is insufficient under all-day, all-weather conditions, making it difficult to meet the accuracy and reliability requirements of key application scenarios such as missile strikes.

Method used

An image training set is constructed to align visible light, infrared, and synthetic aperture radar remote sensing images. Cross-modal transformation is performed through adversarial generative networks, and combined with image fusion and axial spatial attention mechanisms, multimodal data generation and segmentation of key parts of ships are achieved.

Benefits of technology

It improves the accuracy and robustness of detection of key parts of ships, enabling stable operation under all-weather and 24-hour conditions, providing more reliable target information, and enhancing the accuracy and reliability of applications such as missile strikes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117953323B_ABST
    Figure CN117953323B_ABST
Patent Text Reader

Abstract

The present application relates to a kind of in the field of security across modal ship remote sensing data generation and key part segmentation method, by using existing three modal alignment remote sensing image data set training adversarial generation network. Get the network model that visible light ship image is converted into infrared image and SAR image. By introducing multi-modal image (including SAR, infrared and visible light sensor collected data), and combining advanced image fusion and attention mechanism technology, improve the adaptability of system all day, all weather. By synthesizing multi-modal information, ensure that the system can be stably operated under different light and weather conditions, provide more reliable and comprehensive solution for ship segmentation task. Therefore, the method proposed in this paper has important practical application value, and can promote the development of ship and other military target segmentation task.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of computer vision and image processing technology, and relates to a method for generating multimodal ship remote sensing data and segmenting key parts in near-field security, specifically an improved method for generating multimodal ship datasets and segmenting key parts based on adversarial generative networks. Background Technology

[0002] In recent years, naval vessels have been widely used in maritime operations, undertaking missions such as patrol, escort, anti-submarine warfare, anti-air, and anti-surface threat operations, thus holding a crucial tactical position. Using missiles to strike ships is particularly critical in naval warfare; to effectively engage enemy vessels, it is necessary to use missiles to target key components such as the ship's radar and shipborne weapons. However, current ship inspection tasks primarily focus on the overall inspection of the ship's main body, lacking detailed, pixel-level precision in locating individual key components. While this method has achieved some success in obtaining the general location of the target, it fails to fully exploit detailed information about the ship's structure, especially the accurate location of key components such as shipborne radar and weapon systems. This limits the accuracy and reliability in critical application scenarios such as missile strikes.

[0003] Current ship detection methods typically employ a single visible light modality. This single-modality approach suffers from insufficient robustness. Visible light images are limited by nighttime conditions and inclement weather, resulting in poor performance in all-day, all-weather monitoring. In complex maritime environments, variations in lighting and adverse weather conditions can degrade the quality of visible light images, thus affecting accurate ship detection. This makes the traditional single visible light modality insufficient for all-day, all-weather ship detection requirements, particularly posing a challenge for accurate target identification at critical moments. Summary of the Invention

[0004] Technical problems to be solved

[0005] To avoid the shortcomings of existing technologies, this invention proposes a method for generating remote sensing data of ships across different modes and segmenting key parts in near-field security, in order to overcome the limitations of general ship target detection methods.

[0006] Technical solution

[0007] A method for generating cross-modal ship remote sensing data and segmenting key parts in near-ground security, characterized by the following steps:

[0008] Constructing an image training set: Registering and aligning the three-modal image data of visible light remote sensing images, infrared remote sensing images, and synthetic aperture radar remote sensing images at the same time to make the three different modalities of images spatially consistent.

[0009] The registered and aligned remote sensing images are segmented into n*n size segments and used as cross-modal image training data for the adversarial generative network.

[0010] The training data is used as input to train the adversarial generative network;

[0011] A generative adversarial network capable of cross-domain transformation is trained by inputting visible light ship images, where the source domain X is the visible light image and the target domain Y is the infrared image and SAR image, resulting in a multimodal aligned ship dataset.

[0012] The ship dataset includes visible light images, infrared images, and SAR images;

[0013] Label the key parts of one of the images;

[0014] The visible light image is converted into a grayscale image, and then input with the infrared image and SAR image into the YOLOv5 detection network with an image fusion module and an axial spatial attention mechanism module. The images are then merged by the fusion module in the YOLOv5 detection network to form a three-channel pseudo-color image. The output of the YOLOv5 detection network is the key parts of the ship that are detected and marked.

[0015] The YOLOv5 detection network with added image fusion module and axial spatial attention mechanism module has the image fusion module added to the input part of the network and the ASA axial spatial attention mechanism module added to the backbone of the network.

[0016] The annotation refers to the identification of key parts in the ship image; these key parts include the integrated bridge system, radar, shipborne guns, shipborne missiles, combat deck, fighter jets, or takeoff runways.

[0017] The adversarial generative network includes two generators G. x→y F x→y and two discriminators D x and D y Composition; Generator G x→y The generator F attempts to generate an image similar to Y from X. x→y Try to generate an image similar to X using Y, while D and D y To distinguish between transformed samples and real samples, an adversarial loss is generated. and cycle consistency loss The function optimizes the network parameters, enabling model training. Dataset construction involves converting source domain X visible light images into target domain Y infrared and SAR images, as well as the conversion from target domain Y to source domain X.

[0018] The forward cyclic consistency from source domain X to target domain Y and the reverse cyclic consistency from target domain Y to source domain X are ensured to make the transformation reversible through cyclic consistency loss, thereby guaranteeing the consistency of the image.

[0019] Generative adversarial loss The function is:

[0020]

[0021] In the formula, the first term encourages the discriminator to correctly identify the real Y-domain image, and the second term encourages the discriminator to identify the generated G(x) as a fake Y-domain image.

[0022] The generative adversarial loss and cycle consistency loss The function is:

[0023]

[0024] In the formula, the first term represents the cycle consistency loss from X to Y and back, and the second term represents the cycle consistency loss from Y to X.

[0025] The formula for converting a visible light image to a grayscale image:

[0026] Gray = r R ×R+r G ×G+r B ×B

[0027] Where R represents the value of the red channel, G represents the value of the green channel, B represents the value of the blue channel, and r R The weighting coefficient for the red channel is empirically set to r. R =0.299, r G The weighting coefficient for the green channel is empirically set to r. G =0.587, r B The weighting coefficient for the blue channel is empirically set to r. B =0.144.

[0028] The ASA axial spatial attention module includes horizontal feature extraction, vertical feature extraction, global average pooling feature extraction, concat operation, and multiplication operation. The ASA module takes a W×H×C image as input, which is processed by three feature extraction methods simultaneously. Horizontal feature extraction is a convolution operation with a size of W×1×C. This convolution operation highlights the relationship between adjacent pixels in the horizontal direction, helping to capture horizontal features. Vertical feature extraction is a convolution operation with a size of 1×H×C. This convolution operation highlights the relationship between adjacent pixels in the vertical direction, helping to capture vertical features. Global average pooling is a pooling operation that performs average pooling on the entire feature map.

[0029] The vector formula for 1×1×C:

[0030]

[0031] X is the input W×H×C image, X i,j,c This represents the element value at position (i,j,c) in the image.

[0032] The three feature extraction methods are described below: The images obtained from the three feature extractions are reshaped to a uniform size using the Reshape method. After Concat, the resulting image is activated using the Sigmoid function, mapping the features to the range of 0 to 1. Finally, a Multiplication operation is performed with the original output image to ensure that the size of the output result remains W×H×C.

[0033] Beneficial effects

[0034] This invention proposes a novel method for generating and segmenting key components of ship remote sensing data across modalities in near-field security. It addresses the difficulty of directly acquiring ship data aligned with visible light, infrared, and SAR images. The method involves training an adversarial generative network using existing trimodal aligned remote sensing image datasets. This yields a network model that converts visible light ship images into infrared and SAR images. The aim is to address the lack of multimodal aligned data in ship-related datasets and improve the accuracy of ship segmentation tasks. Through pixel-level detection, it focuses on the accurate positioning of core components such as shipborne radar and weapon systems to meet the urgent need for high-precision target positioning in applications such as missile precision strikes. Furthermore, this invention aims to overcome the insufficient robustness of a single visible light modality by introducing multimodal imagery (including data acquired by SAR, infrared, and visible light sensors) and combining advanced image fusion and attention mechanisms to improve the system's adaptability in all weather conditions and around the clock. By integrating multimodal information, the system can operate stably under different lighting and weather conditions, providing a more reliable and comprehensive solution for ship segmentation tasks. Therefore, the method proposed in this paper has significant practical application value and can promote the development of ship and other military target segmentation tasks.

[0035] This method fills the gap in cross-modal ship remote sensing data generation, constructing multimodal aligned ship remote sensing images and achieving significant improvements in the detection of key ship components. A multimodal image fusion method was designed, fully utilizing information from different sensors, enabling the model to operate robustly under all-weather and all-day conditions. This multimodal fusion approach effectively compensates for the limitations of single-modal methods, such as visible light being limited by weather and illumination, and interference from corner reflectors during synthetic aperture radar imaging. By training on a training set composed of fused images, the model with added image fusion and axial spatial attention mechanisms achieved a significant performance improvement compared to the original network, with only a 1.3M increase in weights, resulting in a 4.71% increase in mAP (mean Average Precision). This provides more reliable target information for applications such as missile strikes, ensuring the efficiency and accuracy of ship monitoring. Attached Figure Description

[0036] Figure 1 This is a schematic diagram of the method flow of the present invention.

[0037] Figure 2 This is a portion of the data generation result of the method of the present invention.

[0038] Figure 3 This is a structural diagram of the cross-modal data generation method of the present invention.

[0039] Figure 4This invention relates to an axial spatial attention mechanism designed using the method described in this invention.

[0040] Figure 5 This is a partial detection result diagram of the method of the present invention, which shows that the type of ship and various key parts of the ship can be accurately identified. Detailed Implementation

[0041] The present invention will now be further described in conjunction with the embodiments and accompanying drawings:

[0042] To more clearly illustrate the technical solution of this invention, the various modules required in the embodiment description will be briefly introduced below. Obviously, the accompanying drawings described below are merely flowcharts of this invention. Those skilled in the art can extend the scope of this invention without any creative effort.

[0043] This invention proposes a method for generating cross-modal ship remote sensing data and segmenting key components to overcome the limitations of general ship target detection methods. The technical solution includes the following steps:

[0044] 1. Construct the image training set. First, collect and prepare the remote sensing dataset to be aligned to the three modes. The dataset should contain SAR, infrared, and visible light images.

[0045] 2. The multimodal aligned remote sensing image is segmented into images of the same size and used as training input for the adversarial generative network. The trained adversarial generative network is then trained to convert visible light images into SAR and infrared images. This invention uses the Pix2Pix adversarial generative network as an example.

[0046] 3. Using ship remote sensing imagery as input to the network, the imagery is transformed by a cross-modal ship remote sensing data generation network to obtain SAR and infrared images aligned with the original visible light data. The dataset is divided into training and validation sets. A multimodal aligned dataset for detecting key ship components is then constructed.

[0047] 4. Construct a trimodal fused image by converting the original SAR, infrared, and visible light images into grayscale images, ensuring that each modality is presented in the grayscale space with its unique information. Merge these three grayscale images into a single pseudo-color image. This fusion process aims to preserve the unique information of each modality image.

[0048] 5. A segmentation network with an axial spatial attention mechanism is designed to improve the attention given to key parts of the ship, thereby enhancing the accuracy and robustness of target detection. The model is trained on a training set composed of fused images and then used for detection on a test set to output the segmentation results of key parts of the ship.

[0049] This embodiment selects YOLOv5s as the baseline model, leveraging the advantages of multimodal data to fuse visible light, infrared, and synthetic aperture radar remote sensing images. This enables the model to more robustly perform the detection of critical ship components under all-day, all-weather conditions. This aspect optimizes the model by introducing an axial spatial attention module to achieve accurate identification and segmentation of critical ship components. This improvement not only effectively shortens the identification time but also enhances target accuracy, providing a reliable technical foundation for practical applications. This multimodal fusion approach allows the model to more comprehensively and accurately understand ship targets, providing strong support for precise target segmentation and bringing significant innovation to the field of ship monitoring.

[0050] Reference Figure 1 The implementation steps of the multimodal ship key component segmentation method of the present invention are as follows:

[0051] Step 1: Collect visible light remote sensing imagery, infrared remote sensing imagery, and synthetic aperture radar (SAR) remote sensing imagery. Ensure the dataset covers multimodal information obtained from different sensors. Register and align the collected images to ensure spatial consistency among the three modalities. Divide the aligned remote sensing images into 500×500 pixels as training data for the cross-modal image generation network. The network structure is as follows: Figure 2 As shown, the network consists of two generators G. x→y F x→y and two discriminators D x and D y Composition. Generator G x→y Try to generate an image similar to Y from X, while D y This is used to distinguish between transformed samples and real samples, where X is a visible light image and Y is an infrared image and a SAR image. An adversarial loss is generated. and cycle consistency loss The function optimizes the network parameters, enabling model training. Dataset construction involves converting a source domain X visible light image into a target domain Y infrared and SAR image, as well as a target domain Y to source domain X conversion. To ensure forward cyclic consistency from source domain X to target domain Y and backward cyclic consistency from target domain Y to source domain X, a cyclic consistency loss is used to ensure the conversion is reversible, thus guaranteeing image consistency.

[0052]

[0053] In the formula, the first term encourages the discriminator to correctly identify the real Y-domain image, and the second term encourages the discriminator to identify the generated G(x) as a fake Y-domain image.

[0054]

[0055] In the formula, the first term represents the cycle consistency loss from X to Y and back, and the second term represents the cycle consistency loss from Y to X.

[0056] Ship images are input into the network to obtain a multimodal aligned ship dataset, such as... Figure 3 The images shown, from left to right, are visible light images, infrared images, and SAR images, with annotations for important components of the ship such as radar and shipborne weapons.

[0057] Step 2: Construct a three-modal fused image. Visible light images are typically three-channel images. A weighted average method is used to convert them into grayscale images, the formula of which is defined as follows:

[0058] Gray = r R ×R+r G ×G+r B ×B

[0059] Where R represents the value of the red channel, G represents the value of the green channel, B represents the value of the blue channel, and r R The weighting coefficient for the red channel is empirically set to r. R =0.299, r G The weighting coefficient for the green channel is empirically set to r. G =0.587, r B The weighting coefficient for the blue channel is empirically set to r. B =0.144. Since synthetic aperture radar images and infrared images are single-channel images due to their different imaging principles, these three grayscale images are merged to form a pseudo-color image.

[0060] Step 3: Add an axial spatial attention mechanism to the YOLOv5 detection network. Add the axial spatial attention mechanism to the backbone of the network and train the improved detection network on the training set.

[0061] ASA Axial Space Attention Module: such as Figure 4The Axial Spatial Attention (ASA) module, as shown, is applied in the backbone network and mainly includes horizontal feature extraction, vertical feature extraction, global average pooling feature extraction, concat operation, and multiplication operation. The ASA module takes a W×H×C image as input, which undergoes three feature extraction methods simultaneously. Horizontal feature extraction is a convolution operation with a size of W×1×C. This convolution operation highlights the relationships between adjacent pixels in the horizontal direction, helping to capture horizontal features. Vertical feature extraction is a convolution operation with a size of 1×H×C. This convolution operation highlights the relationships between adjacent pixels in the vertical direction, helping to capture vertical features. Global average pooling is a pooling operation that performs average pooling on the entire feature map, resulting in a 1×1×C vector. The formula is as follows.

[0062]

[0063] X is the input W×H×C image, X i,j,c This represents the element value at position (i,j,c) in the image.

[0064] The images obtained from the three feature extractions are reshaped to a uniform size using the Reshape method. After Concat, the result is activated using the Sigmoid function, mapping the features to the range of 0 to 1. Finally, a Multiplication operation is performed with the original output image to ensure that the size of the output result remains W×H×C.

[0065] Step 4, the network outputs the detection results as follows: Figure 5 As shown, it can effectively detect key parts of a ship.

[0066] Simulation conditions for this embodiment:

[0067] This invention is based on a central processing unit (CPU) The simulation was performed using an i7-6800K 3.40GHz CPU, an NVIDIA GeForce GTX3090 GPU, and an Ubuntu operating system, employing Python software and the PyTorch deep learning framework. The simulation used a self-made ship dataset, containing 1288 SAR, infrared, and visible light images, each with a size of 640×640×3 pixels. 80% of the samples from each dataset were selected as the training set, with the remainder used as the test set.

[0068] To demonstrate the effectiveness of the improved method for multimodal ship key component segmentation in this invention, precision, recall, and mAP were used as evaluation criteria and tested on a self-made dataset. We selected the original network, EfficientNetv2, and ShuffleNetv2 as comparison algorithms. ShuffleNetv2 was proposed in "N. Ma, X. Zhang, H.-T. Zheng, and J. Sun, 'Shufflenet v2: Practical guidelines for efficient CNN architecture design', in Proceedings of the European conference on computer vision (ECCV), 2018, pp. 116–131." EfficientNetv2 was proposed in "M. Tan and Q. Le, 'EfficientNetv2: Smaller models and faster training', in International Conference on Machine Learning, PMLR, 2021, pp. 10096–10106." By comparing the values ​​of precision, recall, and mAP, we can intuitively evaluate the performance of various algorithms on the object detection task. The comparison results are shown in Table 1:

[0069] Table 1 shows the comparison results of algorithms for detecting key parts of ships.

[0070] network precision recall mAP_0.5 mAP_0.5:0.95 EfficientNetv2 0.52329 0.56649 0.613 0.27572 ShuffleNetv2 0.75031 0.72785 0.77883 0.45778 yolov5s 0.70317 0.54852 0.63965 0.3983 yolov5s-ASA 0.87848 0.76682 0.81013 0.53936

[0071] Generally speaking, higher precision and recall, and larger mAP_0.5 and mAP_0.5:0.95, indicate better algorithm performance on object detection tasks. As shown in Table 1, on the self-made dataset, the method proposed in this invention significantly outperforms other algorithms in all three metrics.

Claims

1. A method for generating and segmenting key components of cross-modal ship remote sensing data in near-ground security, characterized in that... The steps are as follows: Constructing an image training set: Registering and aligning the three-modal image data of visible light remote sensing images, infrared remote sensing images, and synthetic aperture radar remote sensing images at the same time to make the three different modalities of images spatially consistent. The registered and aligned remote sensing images are segmented into n segments. After being set to size n, it is used as cross-modal image training data for the generative adversarial network; The training data is used as input to train the adversarial generative network; The visible light ship image is used as input to train an adversarial generative network capable of cross-domain transformation, where the source domain is... It is the target domain of visible light images It uses infrared and SAR images to obtain a multimodal aligned ship dataset; The ship dataset includes visible light images, infrared images, and SAR images; Label the key parts of one of the images; The visible light image is converted into a grayscale image, and then input with the infrared image and SAR image into the YOLOv5 detection network with an image fusion module and an axial spatial attention mechanism module. The images are then merged by the fusion module in the YOLOv5 detection network to form a three-channel pseudo-color image. The output of the YOLOv5 detection network is the key parts of the ship that are detected and marked. The YOLOv5 detection network with added image fusion module and axial spatial attention mechanism module has the image fusion module added to the input part of the network and the ASA axial spatial attention mechanism module added to the backbone of the network. The ASA axial spatial attention mechanism module includes horizontal feature extraction, vertical feature extraction, global average pooling feature extraction, concat operation, and multiplication operation. The ASA module takes a W×H×C image as input, and the image is processed by three feature extraction methods at the same time. Among them, horizontal feature extraction is a convolution operation with a convolution size of W×1×C. This convolution operation highlights the relationship between adjacent pixels in the image in the horizontal direction, which helps to capture features in the horizontal direction. Vertical feature extraction is a convolution operation with a size of 1×H×C. This convolution operation highlights the relationship between adjacent pixels in the image in the vertical direction, which helps to capture vertical features. Global average pooling is a pooling operation that performs average pooling on the entire feature map.

2. The method for generating cross-modal ship remote sensing data and segmenting key parts in near-field security according to claim 1, characterized in that: The annotation refers to the identification of key parts in the ship image; these key parts include the integrated bridge system, radar, shipborne guns, shipborne missiles, combat deck, fighter jets, or takeoff runways.

3. The method for generating cross-modal ship remote sensing data and segmenting key parts in near-field security according to claim 1, characterized in that: The adversarial generative network includes two generators. , and two discriminators and Composition; Generator Try to pass Generation and Similar images, generator Try to pass Generation and Similar images, and and To distinguish between transformed samples and real samples, an adversarial loss is generated. and cycle consistency loss The function optimizes the network parameters, enabling model training; Dataset construction involves the source domain Visible light image conversion to target domain Conversion between infrared and SAR images, and target domain To the source domain The conversion.

4. The method for generating cross-modal ship remote sensing data and segmenting key parts in near-field security according to claim 3, characterized in that: The source domain To the target domain Forward loop consistency and target domain To the source domain The reverse cyclic consistency loss ensures that the transformation is reversible, thus guaranteeing image consistency.

5. The method for generating cross-modal ship remote sensing data and segmenting key parts in near-field security according to claim 3, characterized in that: Generative adversarial loss The function is: In the formula, the first term encourages the discriminator to correctly identify the real [object]. The second term in the domain image indicates an encouragement for the discriminator to generate [the desired image]. Identified as fake Domain image.

6. The method for generating cross-modal ship remote sensing data and segmenting key parts in near-field security according to claim 3, characterized in that: The cycle consistency loss The function is: In the formula, the first term represents from arrive The returned cycle consistency loss, the second term represents from arrive The cycle consistency loss upon return.

7. The method for generating cross-modal ship remote sensing data and segmenting key parts in near-field security according to claim 1, characterized in that: The formula for converting a visible light image to a grayscale image: Where R represents the value of the red channel, G represents the value of the green channel, and B represents the value of the blue channel. The weighting coefficient for the red channel is set empirically. , The weighting coefficient for the green channel is set empirically. , The weighting coefficients for the blue channel are set empirically. .

8. The method for generating cross-modal ship remote sensing data and segmenting key parts in near-field security according to claim 1, characterized in that: The vector formula for 1×1×C: It is an input W×H×C image. This represents the element value at position (i, j, c) in the image.

9. The method for generating cross-modal ship remote sensing data and segmenting key parts in near-field security according to claim 1, characterized in that: The three feature extraction methods are as follows: the images obtained from the three feature extractions are transformed into a uniform size using the Reshape method; after Concat, the results are activated using the Sigmoid function to map the features to the range of 0 to 1; finally, a Multiplication operation is performed with the original output image to ensure that the size of the output result is still W×H×C.