A railway perimeter prediction method based on multi-temporal SAR images

Through multi-temporal SAR image difference processing and dual-domain network, the problem of accurate prediction of railway perimeter environmental changes is solved, the railway transportation environment perception ability and train operation control decision-making ability are improved, and SAR image noise is eliminated.

CN118570506BActive Publication Date: 2024-10-18SHANDONG UNIV OF SCI & TECH
1 Cites 0 Cited by

Patent Information

Application Number
CN202411061753.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-10-18
Estimated Expiration
2044-08-05

AI Technical Summary

Technical Problem

Existing technologies cannot accurately predict changes in the railway perimeter environment, especially under severe weather conditions. Traditional methods have limited coverage and continuous monitoring capabilities, and speckle noise in SAR images affects the perception capabilities of the detection network.

Method used

A railway perimeter prediction method based on multi-temporal SAR images is used to generate difference images by inputting SAR images at different times, and the hierarchical fuzzy C-means clustering algorithm and dual-domain network (including spatial domain and frequency domain feature processing) are used to generate change images. Perform multi-temporal comparative learning to improve the perception ability of the detection network.

Benefits of technology

It achieves accurate prediction of changes in the railway perimeter environment, enhances the perception of the railway transportation environment, eliminates speckle noise in SAR images, and improves the decision-making ability of the train operation control system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570506B_ABST
    Figure CN118570506B_ABST
Patent Text Reader

Abstract

The present invention provides a railway perimeter prediction method based on multi-temporal SAR images, which relates to the field of synthetic aperture radar measurement technology, and specifically includes the following steps: inputting multi-temporal SAR images of the same geographical scene taken at different times, and generating difference images through log operators; using a hierarchical fuzzy C-means clustering algorithm to pre-classify the difference images, inputting the determined class samples obtained by pre-classification into a dual-domain network, and generating change images; and learning the similarities and differences between different sample pairs through multi-temporal comparison learning. The technical solution of the present invention overcomes the problem that the existing technology cannot accurately predict changes in the railway perimeter environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of synthetic aperture radar measurement, and in particular to a railway perimeter prediction method based on multi-phase SAR images. Background Art

[0002] The diversity and randomness of railway perimeter environmental changes threaten the safe operation of railway transportation, and the main goal of railway perimeter prediction is to protect railway lines from improper intrusion, natural disasters, human damage, etc. Although traditional prediction methods are effective, such as fixed surveillance cameras and patrols, they are limited in coverage, continuous monitoring capabilities, and effectiveness in severe weather conditions.

[0003] Synthetic aperture radar (SAR) uses coherent radar signals to synthesize an extended antenna aperture. The synthetic aperture radar (SAR) images obtained by drone aerial photography of railways can provide an all-weather, high-reliability intelligent rail transit solution and can be used as an effective means of long-line monitoring and guiding manual inspections. However, the inherent speckle noise of SAR images and the high similarity features in the images will affect the perception ability of the detection network. Therefore, there is an urgent need for unsupervised railway operating environment perception methods with fine-grained discrimination capabilities to ensure the safe operation of trains.

[0004] Therefore, there is a need for a railway perimeter prediction method based on multi-temporal SAR images that can accurately predict changes in the railway perimeter environment. Summary of the invention

[0005] The main purpose of the present invention is to provide a railway perimeter prediction method based on multi-temporal SAR images to solve the problem that the existing technology cannot accurately predict the changes in the railway perimeter environment.

[0006] To achieve the above object, the present invention provides a railway perimeter prediction method based on multi-temporal SAR images, which specifically includes the following steps:

[0007] S1, input multi-temporal SAR images of the same geographical scene taken at different times, and generate difference images through the log operator.

[0008] S2, using the hierarchical fuzzy C-means clustering algorithm to pre-classify the difference image, the determined class samples obtained by pre-classification are input into the dual-domain network to generate the change image.

[0009] S3, through multi-temporal contrast learning, learns the similarities and differences between different sample pairs.

[0010] Furthermore, step S1 is specifically as follows:

[0011] (1);

[0012] in, is the difference image, , Multi-temporal SAR images of the same geographical scene taken at different times.

[0013] Furthermore, step S2 is specifically as follows:

[0014] S2.1, yes The hierarchical fuzzy C-means clustering algorithm is used to obtain three clusters, including the non-changing class , Change and undetermined class , and To determine the class samples, use them as training samples.

[0015] S2.2, the dual-domain network includes: spatial domain and frequency domain; wherein, the spatial domain includes: 4 interconnected spatial feature attention modules SFAM; the frequency domain includes: interconnected two-dimensional discrete cosine transform modules and cascade operation modules.

[0016] Furthermore, the spatial domain in step S2.2 includes: a convolution block, an adaptive average pooling layer, a splicing layer, a segmentation layer and an output layer connected in sequence.

[0017] Furthermore, data processing in the spatial domain includes the following steps:

[0018] S2.2.1, Image Block is input to the convolutional block Generate feature maps ,in, represents the width or number of channels, Representative feature map The channel dimension.

[0019] S2.2.2, Feature Map Input to the adaptive average pooling layer, which includes global average pooling, X-direction average pooling and Y-direction average pooling:

[0020] (2);

[0021] in, and are the length and width of the feature map respectively, and They are the traversal indexes in the vertical and horizontal directions respectively. , and They are the aggregated features obtained by x-direction average pooling, z-direction average pooling, and global average pooling operations respectively.

[0022] Furthermore, the data processing in the spatial domain also includes the following steps:

[0023] S2.2.3, Aggregate features obtained by x-direction average pooling, z-direction average pooling, and global average pooling operations , and Concatenate them in the channel dimension and input them into a 1×1 convolution transformation function :

[0024] f = δ( f 1 ([ z x , z y , z c ])) (3);

[0025] in, represents a nonlinear activation function, Represents the intermediate eigenvector of the encoding space.

[0026] S2.2.4, is divided into three separate tensors , and , the three independent tensors are passed through a shared 1×1 convolutional layer And sigmoid activation function, the final output of SFAM It is expressed as:

[0027] (4);

[0028] in, represents element-wise multiplication, is the sigmoid activation function.

[0029] S2.2.5, through stacked SFAM, the final output is flattened into a vector .

[0030] Furthermore, the data processing in the frequency domain also includes the following steps:

[0031] S2.2.6, input image block , and split along the channel dimension to generate a new feature map [ P 1 , P 2 , … , P n ] ,in, , , , The feature map The channel dimension, Is a positive integer.

[0032] S2.2.7, transform each feature map into the frequency domain by two-dimensional discrete cosine transform 2D-DCT:

[0033] (5);

[0034] in, yes dimensional frequency domain vector, is the basis function of 2D-DCT, is the feature map component;

[0035] (6);

[0036] in, , .

[0037] S2.2.8, get the whole spectrum through cascade operation, multi-spectral channel attention It is expressed as:

[0038] f att =sigmoid(fc([ f 1 , … f i , … , f n ])). (7);

[0039] It is a two-layer fully connected network. is the activation function.

[0040] S2.2.9, Output in the frequency domain It is expressed as:

[0041] (8).

[0042] S2.2.10, Final frequency domain output is flattened into a vector , and with The concatenation is performed in the channel dimension, and finally the fully connected layer is used to generate the changed image.

[0043] Further, step S3 includes the following steps:

[0044] S3.1, use cosine similarity to evaluate the distance of features, cosine similarity The measurement formula is expressed as:

[0045] (9);

[0046] in and Respectively represent different representation vectors with the same dimension, represents the dot product operation between vectors, Represents the calculation of vector norm.

[0047] S3.2, cosine similarity When calculating the contrast loss, the loss encourages the cosine similarity between positive sample pairs to be close to 1, while the opposite is true for negative sample pairs. The loss function The expression is as follows:

[0048] (10);

[0049] in, For the The loss of batch samples is is the sample set, For the positive sample embedding vectors, For the positive sample embedding vectors, is the embedding vector of negative samples, Is the current batch Different indices of all positive samples, is the index of the positive sample, is the temperature hyperparameter, Representation and The related negative sample index set, .

[0050] The present invention has the following beneficial effects:

[0051] The invention can be used to enhance the railway transportation environment perception capability. The proposed multi-time phase contrast enhanced dual-domain network can be deployed on rail transit CPS to improve the decision-making ability of the train operation control system.

[0052] The present invention utilizes the spatial feature attention module (SFAM) to fully utilize the global context information and coordinate information, capture long-range dependencies, and effectively maintain accurate coordinate information.

[0053] The present invention reorganizes frequency domain features according to multispectral attention components, and can better eliminate speckle noise in SAR images.

[0054] The present invention realizes multi-phase contrast learning to utilize the discrimination information between different phase features and effectively refines the final detection change image. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the specific implementation of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the specific implementation or the prior art description. Obviously, the drawings described below are some implementations of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0056] Figure 1 A flow chart of a railway perimeter prediction method based on multi-temporal SAR images of the present invention is shown.

[0057] Figure 2 A structural diagram of the spatial feature attention module SFAM of the present invention is shown.

[0058] Figure 3 A SAR image of a railway station section on October 30, 2021 in an embodiment of the present invention is shown.

[0059] Figure 4 Shown with Figure 3 SAR image of the same railway station section on October 22, 2023.

[0060] Figure 5 Shows Figure 3 A magnified detail of point A.

[0061] Figure 6 Shows Figure 4 Enlarged detail of point B.

[0062] Figure 7 The figure shows the result of detecting multi-phase changes of railway perimeter according to the method provided by the present invention. DETAILED DESCRIPTION

[0063] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0064] like Figure 1A railway perimeter prediction method based on multi-temporal SAR images is shown, which specifically includes the following steps:

[0065] S1, input multi-temporal SAR images of the same geographical scene taken at different times, and generate difference images through the log operator.

[0066] S2, using the hierarchical fuzzy C-means clustering algorithm to pre-classify the difference image, the determined class samples obtained by pre-classification are input into the dual-domain network to generate a change image, which is used to train and predict the change area of ​​the railway surrounding environment.

[0067] S3, through multi-temporal contrast learning, learns the similarities and differences between different sample pairs, improving the generalization ability of the change detection model.

[0068] Specifically, step S1 is as follows:

[0069] (1);

[0070] in, is the difference image, , Multi-temporal SAR images of the same geographical scene taken at different times.

[0071] Specifically, step S2 is as follows:

[0072] S2.1, yes The hierarchical fuzzy C-means clustering algorithm is used to obtain three clusters, including the non-changing class , Change and undetermined class , and To determine the class samples, as training samples. Obtained by the hierarchical fuzzy C-means clustering algorithm and With a higher confidence level, it is used as a subsequent training sample. The pixel categories in are uncertain and need further classification. and In the example, 10% of the image patches are randomly selected to train the proposed network, where the size of the image patches is , and the number of positive and negative samples is equal. After that, the class is not determined will be further classified by the proposed unsupervised network.

[0073] S2.2, the dual-domain network includes: spatial domain and frequency domain; wherein, the spatial domain includes: 4 interconnected spatial feature attention modules SFAM; the frequency domain includes: interconnected two-dimensional discrete cosine transform modules and cascade operation modules.

[0074] The dual-domain network consists of two branches, including the spatial domain and the frequency domain, to enhance the ability to capture complex patterns. In the spatial domain branch, four spatial feature attention modules (SFAM) are stacked. SFAM is used to improve the representation of the central area and eliminate noise in the edge area. The detailed structure of SFAM is shown in Figure 2. Figure 2 As shown in the figure, in SFAM, the adaptive average pooling layer is mainly composed of three pooling paths, including global average pooling, X and Y direction average pooling, where the feature vector obtained by the X direction average pooling is concatenated with other features by transposition, and then the feature is fused through the convolutional neural network Conv2d, the batch normalization layer BN and the non-linear layer Non-linear, and then it is segmented in the channel dimension. The three feature vectors are extracted by Conv2d respectively, and then pass through the Sigmoid activation function, and finally perform a dot multiplication operation with the original feature matrix to obtain the final output.

[0075] Specifically, the spatial domain in step S2.2 includes: a convolution block, an adaptive average pooling layer, a splicing layer, a segmentation layer and an output layer connected in sequence.

[0076] Specifically, data processing in the spatial domain includes the following steps:

[0077] S2.2.1, Image Block is input to the convolutional block Generate feature maps ,in, represents the width or number of channels, Representative feature map The channel dimension. It consists of a 1×1 convolutional layer, a batch normalization layer BN, and a rectified linear unit ReLU.

[0078] S2.2.2, Feature Map Input to the adaptive average pooling layer, which includes global average pooling, X-direction average pooling and Y-direction average pooling. It is input to the adaptive average pooling layer and encoded with average pooling in different ways:

[0079] (2);

[0080] in, and are the length and width of the feature map respectively, and They are the traversal indexes in the vertical and horizontal directions respectively. , and They are the aggregated features obtained by x-direction average pooling, z-direction average pooling, and global average pooling operations respectively.

[0081] Specifically, data processing in the spatial domain also includes the following steps:

[0082] S2.2.3, Aggregate features obtained by x-direction average pooling, z-direction average pooling, and global average pooling operations , and Concatenate them in the channel dimension and input them into a 1×1 convolution transformation function :

[0083] f = δ( f 1 ([ z x , z y , z c ])) (3);

[0084] in, represents a nonlinear activation function, Represents the intermediate eigenvector of the encoding space.

[0085] S2.2.4, is divided into three separate tensors , and , the three independent tensors are passed through a shared 1×1 convolutional layer And sigmoid activation function, the final output of SFAM It is expressed as:

[0086] (4);

[0087] in, represents element-wise multiplication, is the sigmoid activation function.

[0088] S2.2.5, through stacked SFAM, the final output is flattened into a vector . This vector integrates global context information and spatial information.

[0089] Specifically, the data processing in the frequency domain also includes the following steps:

[0090] S2.2.6, input image block , and split along the channel dimension to generate a new feature map [ P 1 , P 2 , … , P n ] ,in, , , , The feature map The channel dimension, Is a positive integer.

[0091] S2.2.7, transform each feature map into the frequency domain by two-dimensional discrete cosine transform 2D-DCT:

[0092] (5);

[0093] in, yes dimensional frequency domain vector, is the basis function of 2D-DCT, is the feature map component;

[0094] (6);

[0095] in, , .

[0096] S2.2.8, get the whole spectrum through cascade operation, multi-spectral channel attention It is expressed as:

[0097] f att =sigmoid(fc([ f 1 , … f i , … , f n ])). (7);

[0098] It is a two-layer fully connected network. is the activation function.

[0099] S2.2.9, Output in the frequency domain It is expressed as:

[0100] (8).

[0101] S2.2.10, Final frequency domain output is flattened into a vector , and The concatenation is performed in the channel dimension, and finally the fully connected layer is used to generate the changed image.

[0102] Specifically, step S3 includes the following steps:

[0103] S3.1, in a training batch, randomly sample sample pairs or label pairs, the sample pairs are For the sample Encode to get the representation vector , the representation vector is normalized to the unit hypersphere. Then, the projection network maps the representation vector to , so that the distance between features in the projection space can be evaluated. Use cosine similarity to evaluate the distance between features, which is used to measure the angle of feature direction. Cosine similarity is only sensitive to direction and is not affected by vector length. Its range is [-1,1]. When cosine similarity is 1, it means complete similarity, -1 means complete opposite, and 0 means irrelevant or orthogonal. Cosine similarity The measurement formula is expressed as:

[0104] (9);

[0105] in, and Respectively represent different representation vectors with the same dimension, represents the dot product operation between vectors, Represents the calculation of vector norm.

[0106] S3.2, cosine similarity When calculating the contrast loss, the loss encourages the cosine similarity between positive sample pairs to be close to 1, while the opposite is true for negative sample pairs. The loss function The expression is as follows:

[0107] (10);

[0108] in, For the The loss of batch samples is is the sample set, For the positive sample embedding vectors, For the positive sample embedding vectors, is the embedding vector of negative samples, Is the current batch Different indices of all positive samples, is the index of the positive sample, is the temperature hyperparameter, Representation and The related negative sample index set, .

[0109] In order to verify the method provided by the present invention, a railway station section was selected as the research area. The experimental data set was from the Sentinel-1 SAR satellite. The SAR imaging time was October 30, 2021 and October 22, 2023, respectively. Figure 3 and Figure 4 As the train passes Figure 4 If the perimeter of the track changes, it may affect the safe transportation of railways. Therefore, change detection is performed on the rectangular area in the SAR image. Figure 5 for Figure 3 A detailed enlarged view of the rectangular area at A in the figure. Figure 6 for Figure 4 A detailed enlarged view of the rectangular area at B in the figure. Figure 7 The following are the results of the change detection of the railway perimeter at different time phases according to the method proposed by the present invention, where the white area is the detected change area and the black area is the unchanged area. Figure 7 The changes in the railway perimeter can be clearly observed.

[0110] The present invention enhances the railway transportation environment perception capability. The method proposed in the present invention can be deployed on rail transit CPS to improve the decision-making ability of the train operation control system. A spatial feature attention module (SFAM) is proposed to make full use of global context information and coordinate information, and reorganize frequency domain features according to multi-spectral attention components, which can better eliminate redundant noise. Multi-phase contrast learning is implemented to utilize the discriminant information between different phase features, optimize the semantic categories, and effectively refine the final detection change image.

[0111] Of course, the above description is not a limitation of the present invention, and the present invention is not limited to the above examples. Changes, modifications, additions or substitutions made by technicians in this technical field within the essential scope of the present invention should also fall within the protection scope of the present invention.

Claims

1. A railway perimeter prediction method based on multi-temporal SAR images, characterized in that: The specific steps include: S1, input multi-temporal SAR images of the same geographical scene taken at different times, and generate difference images through the log operator; S2, using the hierarchical fuzzy C-means clustering algorithm to pre-classify the difference image, input the determined class samples obtained by pre-classification into the dual-domain network to generate a change image; S3, learns the similarities and differences between different sample pairs through multi-temporal comparison learning; Step S2 is specifically as follows: S2.1, yes The hierarchical fuzzy C-means clustering algorithm is used to obtain three clusters, including the non-changing class , Change and undetermined class , and To determine the class samples, as training samples, is the difference image; S2.2, dual-domain network includes: spatial domain and frequency domain; wherein the spatial domain includes: 4 interconnected spatial feature attention modules SFAM; the frequency domain includes: interconnected two-dimensional discrete cosine transform modules and cascade operation modules; The spatial domain in step S2.2 includes: a convolution block, an adaptive average pooling layer, a concatenation layer, a segmentation layer, and an output layer connected in sequence; Data processing in the spatial domain includes the following steps: S2.2.1, Image Block is input to the convolutional block Generate feature maps ,in, represents the width or number of channels, Representative feature map The channel dimension of S2.2.2, Feature Map Input to the adaptive average pooling layer, which includes global average pooling, X-direction average pooling and Y-direction average pooling: (2); in, and are the length and width of the feature map respectively, and They are the traversal indexes in the vertical and horizontal directions respectively. , and They are the aggregated features obtained by the x-direction average pooling, z-direction average pooling, and global average pooling operations respectively; Data processing in the spatial domain also includes the following steps: S2.2.3, Aggregate features obtained by x-direction average pooling, z-direction average pooling, and global average pooling operations , and Concatenate them in the channel dimension and input them into a 1×1 convolution transformation function : (3); in, represents a nonlinear activation function, Represents the intermediate feature vector of the encoding space; S2.2.4, is divided into three separate tensors , and , the three independent tensors are passed through a shared 1×1 convolutional layer And sigmoid activation function, the final output of SFAM It is expressed as: (4); in, represents element-wise multiplication, is the sigmoid activation function; S2.2.5, through stacked SFAM, the final output is flattened into a vector ; Data processing in the frequency domain also includes the following steps: S2.2.6, Input image block , and split along the channel dimension to generate a new feature map ,in, , , , The feature map The channel dimension, is a positive integer; S2.2.7, transform each feature map into the frequency domain by two-dimensional discrete cosine transform 2D-DCT: (5); in, yes dimensional frequency domain vector, is the basis function of 2D-DCT, is the feature map component; (6); in, , ; S2.2.8, get the whole spectrum through cascade operation, multi-spectral channel attention It is expressed as: (7); It is a two-layer fully connected network. is the activation function; S2.2.9, Output in the frequency domain It is expressed as: (8); S2.2.10, Final frequency domain output is flattened into a vector , and The concatenation is performed in the channel dimension, and finally the fully connected layer is used to generate the changed image.

2. The railway perimeter prediction method based on multi-temporal SAR images according to claim 1 is characterized in that: Step S1 is specifically as follows: (1); in, is the difference image, , Multi-temporal SAR images of the same geographical scene taken at different times.

3. The railway perimeter prediction method based on multi-temporal SAR images according to claim 1 is characterized in that: Step S3 includes the following steps: S3.1, use cosine similarity to evaluate the distance of features, cosine similarity The measurement formula is expressed as: (9); in and Respectively represent different representation vectors with the same dimension, represents the dot product operation between vectors, Indicates the calculation of vector norm; S3.2, cosine similarity When calculating the contrast loss, the loss encourages the cosine similarity between positive sample pairs to be close to 1, while the opposite is true for negative sample pairs. The loss function The expression is as follows: (10); in, For the The loss of batch samples is is the sample set, For the positive sample embedding vectors, For the positive sample embedding vectors, is the embedding vector of negative samples, Is the current batch Different indices of all positive samples, is the index of the positive sample, is the temperature hyperparameter, Representation and The related negative sample index set, .

Citation Information

Patent Citations

  • Unsupervised depth multi-scale SAR image change detection method based on spatial frequency domain

    CN116778207A