A robust feature extraction method for infrared ship images

By employing methods such as fine-grained domain partitioning, phased learning, and feature dimension optimization, the problems of insufficient robustness and cross-domain generalization ability in infrared ship image processing are solved, achieving robust feature extraction and efficient recognition in complex environments.

CN123160903APending Publication Date: 2026-11-24CHINESE PEOPLES LIBERATION ARMY UNIT 32801
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511218711.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-28
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing infrared ship image processing methods lack robustness and cross-domain generalization ability in complex environments. Traditional methods rely on simple features and are easily disturbed, lacking multi-domain data distribution difference analysis, resulting in unstable features and insufficient cross-domain generalization ability.

Method used

The infrared ship image dataset is divided into multiple data domains based on the ship's thermal appearance and environmental factors. A phased learning strategy is designed, which uses data augmentation and feature dimension partitioning to extract features using ResNet50 network and spatial pyramid attention mechanism. The training is gradually exposed to different source domains to optimize the similarity and difference of domain-invariant and domain-specific features.

Benefits of technology

It improves the cross-domain generalization ability and robustness of the feature extraction model in complex environments, enhances its adaptability to multi-domain data, and improves the robustness and cross-domain generalization performance of feature extraction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160903A_ABST
    Figure CN123160903A_ABST
Patent Text Reader

Abstract

This application discloses a robust feature extraction method for infrared ship images, relating to the field of image processing. The method includes: dividing the infrared ship image dataset into multiple data domains to obtain a target domain and a source domain, and randomly selecting multiple infrared ship images as a reference domain; determining the distance between each source domain and the reference domain, and then arranging the source domains in ascending order according to this distance to obtain a source domain sequence; based on the source domain sequence, progressively exposing an initial model to a source domain for training until a set requirement is met, thus obtaining a feature extraction model; obtaining the source domain image and performing enhancement processing; inputting the enhanced source domain image and the enhanced source domain image into the feature extraction model to obtain source domain image and enhanced source domain image features, and then obtaining robust features based on these two image features. This application can effectively solve the problems of insufficient robustness and cross-domain generalization ability in infrared ship image processing, and improve the generalization ability of the feature extraction model in complex environments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of image processing, and in particular to a robust feature extraction method for infrared ship images. Background Technology

[0002] Robust feature extraction is a key technique in computer vision and pattern recognition. It aims to extract highly discriminative and adaptable features from complex image data, enabling models to maintain high performance even when faced with diverse and complex data distributions. The goal of robust feature extraction is to ensure that extracted features maintain similarity across different data domains (e.g., varying camera angles, device models, lighting conditions, etc.) to reduce performance fluctuations caused by inter-domain differences. Furthermore, the extracted features should effectively distinguish between the target and background, or between different categories of targets, thereby improving the model's classification and recognition capabilities.

[0003] In modern intelligent environments, infrared ship target recognition holds significant strategic importance. However, due to the scarcity of real-world samples of non-cooperative ship targets, the limited range of scenarios, and interference from environmental factors such as waves, clouds, weather, and temperature, the feature representation of infrared ship targets is unstable, unreliable, and yields unsatisfactory recognition results. These factors make existing feature representation methods ineffective in complex and variable environments, thus limiting the adaptability of infrared ship target recognition systems to complex environments. Robust feature extraction techniques can help models maintain high robustness across infrared ship images from different sources, especially when dealing with complex weather conditions (such as rain, fog, and strong light) and diverse environmental interference, effectively reducing the impact of these changes on model performance. Through precisely designed feature extraction strategies, robust feature extraction techniques can not only extract discriminative target features from complex image backgrounds but also improve the model's adaptability to data from different domains, enabling it to exhibit excellent cross-domain generalization performance in multi-domain tasks. This technology provides a reliable foundation for infrared ship image processing and lays a crucial technical support for achieving efficient and stable target recognition.

[0004] Currently, although various feature representation methods exist, extracting robust features from infrared ship targets remains a pressing challenge. Traditional methods, when dealing with infrared ship images, often rely on simple image features. These features are easily affected by interference in complex environments, exhibiting poor stability and failing to accurately reflect the essential characteristics of the ship target. Furthermore, existing methods are typically trained on a single data domain, lacking systematic analysis and handling of differences in multi-domain data distribution. They neglect the differences and sharing of features across different domains, resulting in insufficient robustness and cross-domain generalization ability, leading to poor performance in cross-domain tasks. Unique information such as the thermal appearance of ships varies significantly under different conditions, playing a crucial role in distinguishing ships from the background and different ship types in infrared images, but this information has not been fully explored and utilized. Summary of the Invention

[0005] The purpose of this application is to provide a robust feature extraction method for infrared ship images, which can effectively solve the problems of insufficient robustness and cross-domain generalization ability in infrared ship image processing, and improve the generalization ability of feature extraction models in complex environments.

[0006] To achieve the above objectives, this application provides the following solution:

[0007] Firstly, this application provides a robust feature extraction method for infrared ship images, including:

[0008] The infrared ship image dataset is divided into multiple data domains, with one of the data domains being used as the target domain and the data domains other than the target domain being used as the source domain.

[0009] Multiple infrared ship images are randomly selected from the infrared ship image dataset as a reference domain, and the distance between each source domain and the reference domain is determined.

[0010] The source domains are sorted in ascending order according to the distance between each source domain and the reference domain to obtain the source domain sequence.

[0011] Based on the source domain sequence, the initial model is gradually exposed to a source domain for training, and the trained initial model that meets the set requirements is used as the feature extraction model.

[0012] The source domain image is obtained based on the infrared ship image in the source domain;

[0013] The source domain image is enhanced to obtain the enhanced source domain image;

[0014] The enhanced source domain image and the source domain image are input into the feature extraction model to obtain source domain image features and enhanced source domain image features;

[0015] Robust features of infrared ship images are obtained based on source domain image features and enhanced source domain image features.

[0016] Optionally, a domain partitioning strategy that primarily uses integer identifiers of the ship's thermal appearance and comprehensively considers environmental factors can be adopted to divide the infrared ship image dataset into multiple data domains.

[0017] Optionally, the source domain image is obtained based on the infrared ship image in the source domain, including:

[0018] The infrared ship image in the source domain is preprocessed to obtain the source domain image.

[0019] Optionally, the infrared ship image in the source domain is preprocessed to obtain the source domain image, including:

[0020] The resolution of the infrared ship image in the source domain is adjusted to a set pixel value to obtain the adjusted image;

[0021] The adjusted image is normalized to obtain the source domain image.

[0022] Optionally, the set pixel value is determined based on the image input requirements of the feature extraction model.

[0023] Optionally, the enhancement process includes adding salt and pepper noise, Gaussian noise, and enhancing contrast.

[0024] Optionally, based on the source domain sequence, the initial model is gradually exposed to a source domain for training, including:

[0025] Design a phased learning strategy based on the source domain sequence;

[0026] A phased learning strategy is adopted, dividing the entire training process into multiple sub-phases;

[0027] In each sub-stage, the initial model is progressively exposed to a source domain for training.

[0028] Optionally, in each sub-stage, the process of progressively exposing the initial model to a source domain for training includes:

[0029] Source domain image samples and enhanced source domain image samples are obtained from infrared ship images based on source domain sequences;

[0030] In each sub-stage, source domain image samples and enhanced source domain image samples are input into the initial model to obtain source domain image sample features and enhanced source domain image sample features;

[0031] The source domain image sample features and the enhanced source domain image sample features are dimensionally divided to obtain domain-invariant features containing cross-domain common information and domain-specific features containing domain-specific information.

[0032] The cosine similarity matrix is ​​used to measure the similarity between domain-invariant features containing cross-domain shared information and the similarity between domain-specific features containing domain-specific information.

[0033] The initial model is trained by setting a threshold for the similarity between domain-invariant features containing cross-domain shared information and the similarity between domain-specific features containing domain-specific information.

[0034] Optionally, the initial model is built based on the ResNet50 network architecture.

[0035] Optionally, robust features of the infrared ship image are obtained based on source domain image features and enhanced source domain image features, including:

[0036] The source domain image features and the enhanced source domain image features are dimensionally partitioned to obtain domain-invariant features and domain-specific features;

[0037] Robust features are obtained by weighted fusion of domain-invariant and domain-specific features using the spatial pyramid attention mechanism.

[0038] According to the specific embodiments provided in this application, this application has the following technical effects:

[0039] This application provides a robust feature extraction method for infrared ship images. By dividing the infrared ship image dataset into multiple data domains, one of which is designated as the target domain, and the other data domains are designated as source domains, the method can solve the problem of feature inconsistency caused by inter-domain differences in traditional methods. Based on the source domain sequence, the initial model is gradually exposed to a source domain for training, and the trained initial model that meets the set requirements is used as the feature extraction model. The enhanced source domain image and the source domain image are input into the feature extraction model to obtain source domain image features and enhanced source domain image features, thereby obtaining robust features. This method can solve the problems of excessive differences in features between different domains and insufficient robustness and cross-domain generalization ability in infrared ship image processing, improve the cross-domain generalization ability of the feature extraction model in complex environments, and enhance the robustness and adaptability of the feature extraction model. Attached Figure Description

[0040] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0041] Figure 1 A flowchart illustrating a robust feature extraction method for infrared ship images provided in an embodiment of this application;

[0042] Figure 2 This is an implementation architecture diagram of a robust feature extraction method for infrared ship images provided in one embodiment of this application. Detailed Implementation

[0043] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0044] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0045] In one exemplary embodiment, this application provides a robust feature extraction method for infrared ship images. This method is executed by a computer device, specifically a terminal or server, or both. In this embodiment, the method is described using a server as an example. Figure 1 As shown, the method includes:

[0046] Step 100: Divide the infrared ship image dataset into multiple data domains, designate one of the data domains as the target domain, and designate the data domains other than the target domain as the source domain.

[0047] Step 101: Randomly select multiple infrared ship images from the infrared ship image dataset as a reference domain, and determine the distance between each source domain and the reference domain. For example, randomly select 1 / N infrared ship images from the infrared ship image dataset as a reference domain. N is the total number of infrared ship images in the infrared ship image dataset.

[0048] Step 102: Sort the source domains in ascending order according to the distance between each source domain and the reference domain to obtain the source domain sequence.

[0049] Step 103: Based on the source domain sequence, the initial model is gradually exposed to a source domain for training, and the trained initial model that meets the set requirements is used as the feature extraction model.

[0050] Step 104: Obtain the source domain image based on the infrared ship image in the source domain.

[0051] Step 105: Enhance the source domain image to obtain an enhanced source domain image.

[0052] Step 106: Input the enhanced source domain image and the source domain image into the feature extraction model to obtain the source domain image features and the enhanced source domain image features.

[0053] Step 107: Obtain robust features of the infrared ship image based on source domain image features and enhanced source domain image features.

[0054] By implementing steps 100-107 above, this application can effectively solve the problems of insufficient robustness and cross-domain generalization ability in infrared ship image processing, and improve the generalization ability of feature extraction models in complex environments.

[0055] In another exemplary embodiment of this application, to address the issue of feature inconsistency caused by inter-domain differences in traditional methods, a domain partitioning strategy based on ship thermal appearance identifiers can be adopted. By analyzing the distribution of ship thermal features in infrared images and comprehensively considering environmental factors, the infrared ship image dataset can be divided into multiple data domains. Based on this, in step 100 above, the infrared ship dataset can be analyzed, adopting a domain partitioning strategy that primarily uses the integer identifiers of ship thermal appearance while comprehensively considering other environmental factors. The infrared ship dataset can be divided into N data domains, with one data domain selected as the target domain and the remaining N-1 data domains serving as the source domain S.

[0056] In another exemplary embodiment of this application, it is considered that the greater the distance to the reference domain, the higher the complexity of the source domain. Based on this, in step 102, the source domains are sorted from easy to difficult in terms of complexity based on the distance metric between each source domain and the reference domain, thus completing the complexity sorting of the source domains and providing guidance for subsequent phased learning strategies.

[0057] In another exemplary embodiment of this application, in order to reduce the scale difference between different images and thus improve the convergence speed of the model, the implementation process of step 104 above may be carried out by preprocessing the infrared ship image in the source domain to obtain the source domain image, for example:

[0058] (1) Adjust the resolution of the infrared ship images in the source domain to a set pixel value to obtain the adjusted image. The set pixel value can be determined according to the input requirements of the feature extraction model. For example, the resolution of all images can be uniformly adjusted to 224×224 pixels.

[0059] (2) Normalize the adjusted image to standardize the image pixel values ​​to a uniform range to obtain the source domain image.

[0060] In another exemplary embodiment of this application, in order to effectively simulate complex environments such as severe weather and sensor noise, and to help improve the adaptability of the feature extraction model to various real-world scenarios and enhance the robustness of features, in this embodiment, the above step 105 may be to perform data augmentation operations on the source domain image x, including adding salt and pepper noise, Gaussian noise, and enhancing contrast, to obtain an enhanced source domain image x'.

[0061] In another exemplary embodiment of this application, to address the problem of excessive differences in features across different domains and improve the cross-domain generalization ability of the feature extraction model, a phased learning strategy can be designed. This involves training the initial model first in a simple source domain, fine-tuning it to learn shared basic features across domains, and then sequentially exposing the initial model to more complex source domains to learn its ability to adapt to complex environments. Based on this, step 103, which involves progressively exposing the initial model to a source domain for training based on the source domain sequence, may include:

[0062] 1) Design a phased learning strategy based on the source domain sequence.

[0063] 2) Adopt a phased learning strategy, dividing the entire training process into multiple sub-stages. For example, divide the entire training process into N-1 sub-stages.

[0064] 3) In each sub-stage, the initial model is gradually exposed to a source domain for training, and the complexity of the source domain exposed to the model is gradually increased as training progresses.

[0065] In the initial stage, the initial model first encounters relatively simple source domains, learning basic features through fine-tuning and gradually mastering robust features with cross-domain sharing properties. These basic features help the feature extraction model adapt to diverse scenarios. As training progresses, the initial model will gradually be exposed to more complex source domains, helping it improve its adaptability to feature changes in complex environments and further enhancing its robustness. This progressive learning process allows the feature extraction model to first establish a robust feature foundation in simple domains, gradually transitioning to more challenging domains, ultimately improving its cross-domain generalization ability.

[0066] In another exemplary embodiment of this application, to optimize feature representation and address the problem of cross-domain feature instability, the extracted image features can be decoupled into domain-invariant features and domain-specific features through feature dimension partitioning. Domain-invariant features contain cross-domain shared information, while domain-specific features reflect domain-specific differences. Cosine similarity matrix optimization is used to enhance the similarity of domain-invariant features and maximize the differences in domain-specific features, ensuring feature consistency across different domains and thus improving the robustness and adaptability of the model. Based on this, the implementation process of step 3) above includes:

[0067] 31) Source domain image samples and enhanced source domain image samples are obtained from infrared ship images based on source domain sequences.

[0068] 32) In each sub-stage, the source domain image samples and the enhanced source domain image samples are input into the initial model to obtain the source domain image sample features and the enhanced source domain image sample features.

[0069] 33) Divide the source domain image sample features and the enhanced source domain image sample features into dimensions to obtain domain-invariant features containing cross-domain common information and domain-specific features containing domain-specific information.

[0070] 34) The cosine similarity matrix is ​​used to measure the similarity between domain-invariant features containing cross-domain shared information and the similarity between domain-specific features containing domain-specific information.

[0071] 35) The initial model is trained by setting thresholds for the similarity between domain-invariant features containing cross-domain shared information and the similarity between domain-specific features containing domain-specific information. Specifically, for domain-invariant features containing cross-domain shared information, the optimization objective is to make their similarity close to 1, i.e., to ensure high consistency among different domains. For domain-specific features containing domain-specific information, the optimization objective is to make their similarity close to 0, thereby maximizing the differences in domain-specific features across different domains. This approach strengthens the similarity of domain-invariant features and maximizes the differences in domain-specific features, thereby improving the robustness and generalization ability of the feature extraction model in cross-domain data.

[0072] In another exemplary embodiment of this application, in order to provide a clear direction for subsequent feature optimization by clarifying the sources of different features, an initial model can be built based on the ResNet50 network architecture. In this case, the feature extraction model is a feature extractor f based on ResNet50. θ The feature extractor f is used. θ The source domain image x and the enhanced source domain image x' are processed separately to obtain the source domain image features f. x and enhance source domain image features f x' The obtained image features f (including source domain image features f) x and enhance source domain image features f x' The system is divided into dimensions to obtain domain-invariant features containing cross-domain shared information and domain-specific features containing domain-specific information. Domain-invariant features include cross-domain shared features, while domain-specific features reflect the unique feature differences of each source domain.

[0073] In another exemplary embodiment of this application, in order to capture feature changes at different levels through a multi-scale structure and dynamically adjust the feature weights, thereby enhancing the feature extraction model's ability to focus on key features and adapt to complex scenarios, a spatial pyramid attention mechanism can be used to perform weighted fusion of the extracted features. The spatial pyramid attention mechanism can process information at multiple scales and adapt to feature changes at different levels. Through this mechanism, dynamic weights can be assigned to different features at multiple scales, thereby automatically selecting the features most beneficial to the task during training, improving the effect of feature fusion, and enhancing robust feature extraction capabilities. Based on this, the implementation process of step 107 above can be replaced by the following steps 1 and 2.

[0074] Step 1: Divide the source domain image features and enhanced source domain image features into domain-invariant features and domain-specific features.

[0075] Step 2: Use the spatial pyramid attention mechanism to perform weighted fusion of domain-invariant features and domain-specific features to obtain robust features.

[0076] Based on the above description, the overall implementation flow of the robust feature extraction method for infrared ship images provided in this application is as follows: Figure 2 As shown, this method aims to efficiently address the robustness challenges encountered in feature extraction. The proposed method, through a meticulously designed technical process including domain partitioning strategies based on ship thermal appearance and environmental factors, source domain complexity ranking, phased learning strategies, data augmentation, and feature dimension partitioning, significantly improves the robustness of feature extraction. Furthermore, by fine-tuning the learning of cross-domain shared basic features during the gradual exposure of the feature extraction model to different source domains, its adaptability is enhanced. By optimizing the similarity differences between domain-invariant and domain-specific dimensions, robust features are effectively extracted in complex and ever-changing real-world scenarios. A spatial pyramid attention mechanism is used for weighted feature fusion, dynamically adjusting the weights of feature dimensions at multiple scales to further enhance the robustness and cross-domain generalization ability of feature extraction, thereby ensuring that the feature extraction model maintains excellent generalization ability and stable performance when dealing with complex infrared ship images.

[0077] In summary, compared with the prior art, the advantages of this application are as follows:

[0078] (1) A more refined domain partitioning strategy improves generalization ability. The thermal appearance of ships in infrared images directly reflects the thermal distribution characteristics of the target and is an important basis for domain partitioning. By partitioning the domain based on the integer identifier of the ship's thermal appearance and taking into account environmental factors, this strategy is closer to the physical characteristics of infrared ship data. It can effectively capture inter-domain differences, reduce inter-class differences within the domain, and improve the generalization ability of the feature extraction model in diverse target domains.

[0079] (2) Enhance the simulation of real-world environments. Data augmentation strategies such as noise addition and contrast enhancement can effectively simulate severe weather and sensor noise to simulate potential complex conditions in the training data. This allows the model to learn robust features in advance during training, reduces the risk of overfitting, and improves the model's adaptability to complex environments.

[0080] (3) A phased learning strategy based on source domain ranking based on complexity. By using the distance metric between the baseline domain and other source domains, the source domains are ranked according to complexity, and a phased learning strategy is designed to complete the progressive learning from simple domains to complex domains. This helps the feature extraction model gradually transition to complex features after learning basic features, avoids the model being exposed to overly complex data in the early stages of training, effectively reduces the negative impact of inter-domain distribution differences on model training, improves learning efficiency and effectiveness, and thus enhances generalization ability.

[0081] (4) Feature decoupling optimizes feature representation. By dividing the feature dimensions, domain-invariant dimensions and domain-specific dimensions are clearly distinguished. Domain-invariant dimensions ensure cross-domain consistency, while domain-specific dimensions enhance intra-domain representation capabilities. This feature dimension decoupling can effectively improve the model's performance in multi-domain tasks. The cosine similarity matrix is ​​used to optimize the similarity of domain-invariant dimensions and the differences of domain-specific dimensions, thereby improving the robustness and adaptability of the feature extraction model to cross-domain data.

[0082] (5) Multi-scale feature fusion enhances robustness. The spatial pyramid attention mechanism is used to perform multi-scale weighted fusion of domain-invariant and domain-specific features. The spatial pyramid structure can capture feature details at different scales. Dynamically adjusting the weights helps to strengthen the focus on key features and helps to dynamically adjust feature weights from global and local perspectives, thereby improving the feature fusion effect and enhancing the flexibility and robustness of feature representation.

[0083] Furthermore, this application effectively addresses the issues of insufficient robustness and cross-domain generalization ability in infrared ship image processing by introducing techniques such as a refined domain partitioning strategy based on thermal appearance, a multi-stage progressive learning strategy, and a spatial pyramid attention mechanism. Simultaneously, it improves the model's performance in complex environments through data augmentation and feature optimization. This application can provide an efficient and robust solution for the field of infrared ship feature extraction.

[0084] In one exemplary embodiment, a computer device is provided, which may be a server or a terminal. The computer device includes a processor, memory, input / output interfaces (I / O), and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is connected to the system bus via the I / O interfaces. The processor of the computer device provides computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database of the computer device stores robust feature extraction data from infrared ship images. The I / O interfaces of the computer device are used for exchanging information between the processor and external devices. The communication interface of the computer device is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a robust feature extraction method for infrared ship images.

[0085] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0086] In one exemplary embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.

[0087] In one exemplary embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.

[0088] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0089] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

[0090] The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0091] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0092] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A robust feature extraction method for infrared ship images, characterized in that, include: The infrared ship image dataset is divided into multiple data domains, with one of the data domains being used as the target domain and the data domains other than the target domain being used as the source domain. Multiple infrared ship images are randomly selected from the infrared ship image dataset as a reference domain, and the distance between each source domain and the reference domain is determined. The source domains are sorted in ascending order according to the distance between each source domain and the reference domain to obtain the source domain sequence. Based on the source domain sequence, the initial model is gradually exposed to a source domain for training, and the trained initial model that meets the set requirements is used as the feature extraction model. The source domain image is obtained based on the infrared ship image in the source domain; The source domain image is enhanced to obtain the enhanced source domain image; The enhanced source domain image and the source domain image are input into the feature extraction model to obtain source domain image features and enhanced source domain image features; Robust features of infrared ship images are obtained based on source domain image features and enhanced source domain image features.

2. The robust feature extraction method for infrared ship images according to claim 1, characterized in that, A domain partitioning strategy based primarily on integer identifiers of the ship's thermal appearance, while also taking into account environmental factors, was adopted to divide the infrared ship image dataset into multiple data domains.

3. The robust feature extraction method for infrared ship images according to claim 1, characterized in that, The source domain image is obtained based on the infrared ship image in the source domain, including: The infrared ship image in the source domain is preprocessed to obtain the source domain image.

4. The robust feature extraction method for infrared ship images according to claim 3, characterized in that, Preprocessing the infrared ship image in the source domain to obtain the source domain image includes: The resolution of the infrared ship image in the source domain is adjusted to a set pixel value to obtain the adjusted image; The adjusted image is normalized to obtain the source domain image.

5. The robust feature extraction method for infrared ship images according to claim 4, characterized in that, The set pixel value is determined based on the image input requirements of the feature extraction model.

6. The robust feature extraction method for infrared ship images according to claim 1, characterized in that, The enhancement process includes adding salt and pepper noise, Gaussian noise, and enhancing contrast.

7. The robust feature extraction method for infrared ship images according to claim 1, characterized in that, Based on the source domain sequence, the initial model is gradually exposed to a source domain for training, including: Design a phased learning strategy based on the source domain sequence; A phased learning strategy is adopted, dividing the entire training process into multiple sub-phases; In each sub-stage, the initial model is progressively exposed to a source domain for training.

8. The robust feature extraction method for infrared ship images according to claim 7, characterized in that, In each sub-stage, the process of progressively exposing the initial model to a source domain for training includes: Source domain image samples and enhanced source domain image samples are obtained from infrared ship images based on source domain sequences; In each sub-stage, source domain image samples and enhanced source domain image samples are input into the initial model to obtain source domain image sample features and enhanced source domain image sample features; The source domain image sample features and the enhanced source domain image sample features are dimensionally divided to obtain domain-invariant features containing cross-domain common information and domain-specific features containing domain-specific information. The cosine similarity matrix is ​​used to measure the similarity between domain-invariant features containing cross-domain shared information and the similarity between domain-specific features containing domain-specific information. The initial model is trained by setting a threshold for the similarity between domain-invariant features containing cross-domain shared information and the similarity between domain-specific features containing domain-specific information.

9. The robust feature extraction method for infrared ship images according to claim 1, characterized in that, The initial model was built based on the ResNet50 network architecture.

10. The robust feature extraction method for infrared ship images according to claim 1, characterized in that, Robust features of infrared ship images are obtained based on source domain image features and enhanced source domain image features, including: The source domain image features and the enhanced source domain image features are dimensionally partitioned to obtain domain-invariant features and domain-specific features; Robust features are obtained by weighted fusion of domain-invariant and domain-specific features using the spatial pyramid attention mechanism.