A heterogeneous image change detection method based on width learning
Patent Information
- Application Number
- CN202410932055.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-07-12
AI Technical Summary
Existing heterogeneous image change detection methods are prone to problems such as gradient disappearance, gradient explosion and slow training speed when the data volume is large and the data is complex, and have poor timeliness.
The heterogeneous image change detection method based on width learning is adopted, and the characteristic nodes of the heterogeneous image are obtained and optimized and adjusted through the preset model including the feature node generation and domain changing module, the differential enhancement module, the output layer and the incremental learning module. Robustness and nonlinearity among features.
It improves the efficiency and accuracy of heterogeneous image change detection, enhances the robustness and nonlinearity of features, can effectively utilize features, and is suitable for heterogeneous image change detection.
Smart Images

Figure CN118470548B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of remote sensing image change detection, and in particular to a heterogeneous image change detection method based on width learning. Background Art
[0002] Remote sensing image change detection can analyze images shown at different times (dual-phase) at the same location to determine the area of image change. Due to its strong interpretability, high degree of visualization, and high precision of results, it has become the focus of research in the field of remote sensing in recent years, and provides reliable decision-making information and technical support for many fields such as urban planning, environmental monitoring, agricultural surveys, and disaster assessment. Heterogeneous image change detection uses images obtained from sensors from different sources to identify change areas. Different sources may involve measuring different physical quantities, so heterogeneous images represent different data domains, statistical distributions, and image representations, which means that even in the same scene, there will be great differences. Therefore, heterogeneous image change detection integrates the advantages of different sensors and has gradually become a new research hotspot.
[0003] Researchers have conducted in-depth research on heterogeneous remote sensing image change detection methods, such as constructing a coupled convolutional neural network, converting heterogeneous remote sensing images to a common feature space, calculating the mapping of the conversion to the common feature space, and then using the threshold method to obtain the change detection results; a change detection method based on a deep neural network, using a trained deep neural network to directly generate a change detection map from heterogeneous remote sensing images of different phases, eliminating the generation process of differential images showing different degrees between multi-phase images; conditional generative adversarial networks add variational autoencoders, use the reconstructed image output by the generator as the target for feature approximation, convert heterogeneous remote sensing images to their information common feature space domain, and effectively realize change detection. Although these deep learning algorithms have achieved good results, when the data volume is large and the data is complex, due to the increase in the number of layers or the complexity of the model structure, the neural network will encounter problems such as gradient disappearance, gradient explosion, and slow training speed during back propagation, and there is a problem of poor timeliness in practical applications.
[0004] Some researchers have proposed a wide learning system to solve the problem caused by complex structure by expanding the width of the neural network. The result is very different from the deep learning network. Specifically, the deep learning network is "vertically stretched", while the wide learning system is "horizontally" developed. The wide learning system has a single hidden layer structure and has the characteristics of fast training speed. It has been applied to many tasks, but there is currently no research on the use of wide learning methods for heterogeneous image feature change detection. Summary of the invention
[0005] In view of the defects of the existing heterogeneous image change detection method, the present invention proposes a heterogeneous image change detection method based on width learning, which includes the following steps:
[0006] S1, a preset heterogeneous image change detection model, which includes a sequentially connected feature node generation and domain change module, a differential enhancement module, an output layer, and an incremental learning module;
[0007] S2. Obtain two heterogeneous images in different spatial domains, segment and annotate the two heterogeneous images, and obtain multiple feature pairs and true labels that are consistent with the number of the multiple feature pairs;
[0008] S3, the feature node generation and domain exchange module generates feature nodes and exchanges domains for multiple feature pairs respectively, obtains different time phase features and different time phase feature nodes corresponding to the two spatial domains respectively, sets an optimization function according to the different time phase features corresponding to the two spatial domains respectively, and optimizes and adjusts the weights in the feature node generation and domain exchange module;
[0009] S4, the difference enhancement module receives and processes the feature nodes of different time phases corresponding to the two spatial domains respectively, obtains the difference nodes of each spatial domain, sets and solves the third optimization function according to the difference nodes of each spatial domain and the real label, obtains the weight of the output layer, and the output layer receives the difference nodes of each spatial domain and calculates the change detection result of each spatial domain in combination with the weight of the output layer;
[0010] S5, the incremental learning module compares the change detection results of each spatial domain with the true label, screens out the different phase features of each spatial domain of the training error, and sets the fourth optimization function according to the differential nodes corresponding to the different phase features of each spatial domain of the training error and the true label, and adjusts the weight of the output layer;
[0011] S6. Obtain two heterogeneous images to be detected in a real scene and segment them. Input the multiple feature pairs obtained after segmentation into the feature node generation and domain exchange module after weight adjustment, the differential enhancement module, and the output layer processing after weight adjustment in sequence, output the change detection results of each spatial domain, and obtain the change detection results of the two heterogeneous images to be detected according to the change detection results of each spatial domain.
[0012] Preferably, the feature node generation and domain exchange module in S3 performs feature node generation and domain exchange on multiple feature pairs respectively, and obtains different phase features and different phase feature nodes corresponding to the two spatial domains, which specifically include the following:
[0013] S31, the feature node generation and domain exchange module receives multiple feature pairs and generates feature nodes in their respective corresponding original spatial domains through random mapping, and obtains the first phase feature node of the t1 spatial domain and the second phase feature node of the t2 spatial domain;
[0014] S32, converting the first time phase feature node of the t1 spatial domain into the first time phase feature of the t2 spatial domain through a regression function, and converting the second time phase feature node of the t2 spatial domain into the second time phase feature of the t1 spatial domain;
[0015] S33, generating feature nodes by random mapping the first time phase feature of the t2 spatial domain and the second time phase feature of the t1 spatial domain in the new spatial domain, to obtain the first time phase feature node of the t2 spatial domain and the second time phase feature node of the t1 spatial domain;
[0016] S34, converting the first time phase feature node of the t2 spatial domain and the second time phase feature node of the t1 spatial domain back to the original spatial domain through a regression function to obtain a new first time phase feature of the t1 spatial domain and a new second time phase feature of the t2 spatial domain.
[0017] Preferably, the first time phase feature of the t2 spatial domain and the second time phase feature of the t1 spatial domain in S32 can be specifically expressed by the formula:
[0018] ;
[0019] ;
[0020] In the formula, ;
[0021] ;
[0022] in, is the second phase feature of the ith time in the t1 spatial domain, is the first phase feature of the ith time in the t2 spatial domain, is the first regression function, is the second regression function, is the weight of the first regression function F(.), is the second regression function The weight of is the first time phase feature node of the ith spatial domain of t1, is the second phase feature node of the ith time in the t2 spatial domain, is the first phase feature of the t1 spatial domain, is the second phase characteristic of the t2 spatial domain, is the first weight, is the first bias, is the first nonlinear activation function, , is the number of feature nodes.
[0023] Preferably, the new first time phase feature in the t1 space domain and the new second time phase feature in the t2 space domain in S34 can be specifically expressed by the formula:
[0024] ;
[0025] ;
[0026] In the formula, ;
[0027] ;
[0028] in, is the i-th new first phase feature in the t1 spatial domain, is the i-th new second phase feature in the t2 spatial domain, is the second phase feature node of the ith time in the t1 spatial domain, It is the i-th first phase feature node in the t2 spatial domain.
[0029] Preferably, in S3, an optimization function is set according to the different phase features corresponding to the two spatial domains, and the weights in the feature node generation and domain exchange modules are optimized and adjusted, which specifically includes the following:
[0030] S35, setting a first optimization function according to the first time phase feature and the second time phase feature of the t1 spatial domain and the first time phase feature and the second time phase feature of the t2 spatial domain;
[0031] S36, setting a second optimization function according to the first time phase feature of the t1 spatial domain, the new first time phase feature of the t1 spatial domain, the second time phase feature of the t2 spatial domain, and the new second time phase feature of the t2 spatial domain;
[0032] S37, setting an optimization function of the feature node generation and domain change module according to the first optimization function and the second optimization function, and adjusting the weights in the feature node generation and domain change module according to the optimization function.
[0033] Preferably, the optimization function of the feature node generation and domain change module in S37 can be specifically expressed as:
[0034] ;
[0035] in, To optimize the function, represents the two-norm.
[0036] Preferably, the difference enhancement module in S4 receives and processes the feature nodes of different time phases corresponding to the two spatial domains respectively to obtain the difference nodes of each spatial domain. The specific process is as follows:
[0037] S41, the difference enhancement module receives the feature nodes of different time phases corresponding to the two spatial domains respectively and performs difference calculation to obtain the difference feature nodes of each spatial domain;
[0038] S42, generating differential enhancement nodes by random mapping the differential feature nodes in each spatial domain;
[0039] S43, concatenating the differential feature nodes and differential enhancement nodes of each spatial domain to obtain the differential nodes of each spatial domain.
[0040] Preferably, each spatial domain differential node in S43 can be specifically expressed as:
[0041] ;
[0042] ;
[0043] In the formula, ;
[0044] ;
[0045] ;
[0046] ;
[0047] ;
[0048] ;
[0049] in, is the differential node of t1 spatial domain, is the differential node in the t2 space domain, is the t1 spatial domain Differential feature nodes, is the t2 spatial domain Differential feature nodes, , is the number of feature nodes, is the total differential feature node in the t1 spatial domain, is the total differential feature node in the t1 spatial domain, is the jth differential enhancement node in the t1 spatial domain, is the jth differential enhancement node in the t2 spatial domain, , is the number of differential enhancement nodes, is the second weight, is the second bias, is the second nonlinear activation function.
[0050] Preferably, in S4, a third optimization function is set and solved according to the differential nodes and the real labels of each spatial domain, and the third optimization function is specifically:
[0051] ;
[0052] in, is the first weight, that is The corresponding weight, is the weight of the output layer, is the second weight, that is The corresponding weight, yes The corresponding non-negative weights are is the true label, For optimization function.
[0053] Preferably, in S5, a fourth optimization function is set according to the differential nodes and true labels corresponding to the features of the training errors, and the fourth optimization function is specifically:
[0054] ;
[0055] in, is the adjusted weight of the output layer, is the third weight, that is The corresponding weight, is the fourth weight, that is The corresponding weight, It is the differential node corresponding to the different phase features of the t1 spatial domain training error, It is the difference node corresponding to the different phase features of the t2 spatial domain training error. is the true label corresponding to the different phase features of the t1 spatial domain training error, It is the true label corresponding to the different phase features of the t2 spatial domain training error.
[0056] The above-mentioned heterogeneous image change detection method based on width learning presets a heterogeneous image change detection model, which includes a feature node generation and domain exchange module, a differential enhancement module, an output layer, and an incremental learning module connected in sequence, obtains two heterogeneous images and their corresponding multiple feature pairs and real labels, the feature node generation and domain exchange module generates feature nodes and exchanges domains for multiple feature pairs, and obtains feature nodes of different time phases corresponding to each of the two spatial domains, sets an optimization function according to the different time phase features corresponding to each of the two spatial domains, and optimizes and adjusts the weights of the feature node generation and domain exchange module, the differential enhancement module receives and processes the feature nodes of different time phases corresponding to each of the two spatial domains, and obtains differential nodes of each spatial domain, the output layer receives the differential nodes of each spatial domain and calculates the change detection results of each spatial domain, the incremental learning module compares the change detection results of each spatial domain with the real labels of the corresponding samples, screens out the different time phase features of each spatial domain with training errors and their corresponding differential nodes, and adjusts the weights of the output layer on this basis. Two heterogeneous images to be detected in real scenes are obtained and segmented. Multiple feature pairs obtained after segmentation are sequentially input into the feature node generation and domain exchange module after weight adjustment, the difference enhancement module, and the output layer processing after weight adjustment. The change detection results of each spatial domain are output and the change detection results of the two heterogeneous images to be detected are obtained. This method enhances the robustness and nonlinearity between features and can effectively utilize features. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 is a flow chart of a heterogeneous image change detection method based on width learning in one embodiment of the present invention;
[0058] Figure 2 Schematic diagram of the structure of a heterogeneous image change detection model in one embodiment of the present invention. DETAILED DESCRIPTION
[0059] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings.
[0060] See also Figure 1 and Figure 2 , Figure 1 is a flow chart of a heterogeneous image change detection method based on width learning in one embodiment of the present invention. Figure 2 Schematic diagram of the structure of a heterogeneous image change detection model in one embodiment of the present invention.
[0061] A heterogeneous image change detection method based on width learning, the method comprising the following steps:
[0062] S1. A preset heterogeneous image change detection model includes a feature node generation and domain change module, a differential enhancement module, an output layer, and an incremental learning module that are connected in sequence.
[0063] Specifically, see Figure 2 Heterogeneous image change detection is to detect changes between two images of different phases (that is, images obtained at different times). Since different sensors are used to obtain images of different phases, the feature spatial domains of images of different phases are different, so images of different phases are also called heterogeneous images.
[0064] The feature node generation and domain exchange module is used to obtain the features of two heterogeneous images of different phases and generate feature nodes, and convert the generated feature nodes to the relative spatial domain; the differential enhancement module is used to perform differential calculations and enhancements on the feature nodes of different phases in each spatial domain to obtain differential nodes of each spatial domain; the output layer is used to receive the differential nodes of each spatial domain and calculate the change detection results of each spatial domain; the incremental learning module is used to screen out the different phase features of each spatial domain with training errors and their corresponding differential nodes, perform incremental learning on the differential nodes corresponding to the different phase features of each spatial domain with training errors and update the weights of the output layer.
[0065] S2. Obtain two heterogeneous images in different spatial domains, segment and annotate the two heterogeneous images, and obtain multiple feature pairs and true labels consistent with the number of the multiple feature pairs.
[0066] Get two heterogeneous images of different time phases in different spatial domains. Assuming that the size of the two heterogeneous images is 200x200, each image has 40,000 pixels. Divide each image into blocks of the same size with each pixel as the center. Pair the blocks from the same position on the two images. Take each pair of small blocks as a feature pair. Thus, 40,000 feature pairs can be obtained. Each feature pair contains the first time phase feature of the t1 spatial domain and the second time phase feature of the t2 spatial domain. Annotate the middle pixel of each pair of feature pairs to see whether it has actually changed or not. Thus, the true label of each feature pair is obtained, that is, the true label corresponding to each different time phase feature. The set of true labels of all feature pairs is recorded as Y (Y contains 40,000 pairs of true labels).
[0067] S3, the feature node generation and domain change module generates feature nodes and changes domains for multiple feature pairs respectively, obtains different phase features and different phase feature nodes corresponding to the two spatial domains respectively, sets the optimization function according to the different phase features corresponding to the two spatial domains respectively, and optimizes and adjusts the weights in the feature node generation and domain change module.
[0068] Specifically, the two heterogeneous images in different spatial domains include a first phase image and a second phase image, wherein the feature spatial domain corresponding to the first phase image is the t1 spatial domain, and the feature spatial domain corresponding to the second phase image is called the t2 spatial domain. The phase feature of the first phase image in the t1 spatial domain is recorded as the first phase feature of the t1 spatial domain. , the phase feature of the second phase image in the t2 spatial domain is recorded as the second phase feature of the t2 spatial domain , the first phase feature of the t1 spatial domain and the second phase feature of the t2 spatial domain are combined into a feature pair and input into the feature node generation and domain exchange module for feature node generation, thereby obtaining the first phase feature node of the t1 spatial domain and the second phase feature node of the t2 spatial domain. Domain exchange refers to converting the first phase feature node of the t1 spatial domain to spatial domain, and obtain the first phase characteristics of the t2 spatial domain; The second phase feature node in the spatial domain is converted to In the spatial domain, we get The second time phase feature in the spatial domain. Through the above operation, the features of different time phases can be placed in the same feature space domain, so as to better distinguish the differences between the features of different time phases.
[0069] In one embodiment, the feature node generation and domain exchange module in S3 generates feature nodes and exchanges domains for multiple feature pairs respectively, and obtains different phase features and different phase feature nodes corresponding to the two spatial domains, which specifically include the following:
[0070] S31, the feature node generation and domain exchange module receives multiple feature pairs and generates feature nodes in their respective corresponding original spatial domains through random mapping, thereby obtaining the first phase feature node of the t1 spatial domain and the second phase feature node of the t2 spatial domain.
[0071] Furthermore, the first phase feature and second phase characteristics The feature pairs composed of , first bias and nonlinear activation function , generate the first phase feature nodes through random mapping and the second phase feature node , the specific formula is as follows:
[0072] (1)
[0073] (2)
[0074] in, is the first time phase feature node of the ith spatial domain of t1, is the second phase feature node of the ith time in the t2 spatial domain, is the first phase feature of the t1 spatial domain, is the second phase characteristic of the t2 spatial domain, is the first randomly generated weight, is the randomly generated first bias, is the first nonlinear activation function, is the number of feature nodes.
[0075] S32, converting the first time phase feature node of the t1 spatial domain into the first time phase feature of the t2 spatial domain through a regression function, and converting the second time phase feature node of the t2 spatial domain into the second time phase feature of the t1 spatial domain.
[0076] In one embodiment, the first time phase feature of the t2 spatial domain and the second time phase feature of the t1 spatial domain can be specifically expressed by the formula:
[0077] (3)
[0078] (4)
[0079] in, is the second phase feature of the ith time in the t1 spatial domain, is the first phase feature of the ith time in the t2 spatial domain, is the first regression function, is the second regression function, is the first regression function The weight of is the second regression function The first regression function can be obtained by solving the alternating direction multiplication method. The weight of and the second regression function The weight of .
[0080] Specifically, the first phase feature node in the t1 spatial domain Through the first regression function Convert it to the t2 spatial domain so that it is consistent with the second phase feature in the t2 spatial domain The feature space domains are consistent and the features are similar; the second phase feature node in the t2 space domain Through the second regression function Convert it to the t1 spatial domain so that it is consistent with the first phase feature in the t1 spatial domain The feature space domains are consistent and the features are similar. The above operations can better view the feature changes.
[0081] S33, generating feature nodes by random mapping the first time phase feature of the t2 spatial domain and the second time phase feature of the t1 spatial domain in the new spatial domain, to obtain the first time phase feature node of the t2 spatial domain and the second time phase feature node of the t1 spatial domain.
[0082] Furthermore, the second phase characteristic node of the t1 spatial domain and the first phase characteristic node of the t2 spatial domain can be specifically expressed by the formula:
[0083] (5)
[0084] (6)
[0085] in, is the second phase feature node of the ith time in the t1 spatial domain, It is the i-th first phase feature node in the t2 spatial domain.
[0086] S34, converting the first time phase feature node of the t2 spatial domain and the second time phase feature node of the t1 spatial domain back to the original spatial domain through a regression function to obtain a new first time phase feature of the t1 spatial domain and a new second time phase feature of the t2 spatial domain.
[0087] In one embodiment, the new first phase feature in the t1 spatial domain and the new second phase feature in the t2 spatial domain can be specifically expressed by the formula:
[0088] (7)
[0089] (8)
[0090] in, is the i-th new first phase feature in the t1 spatial domain, is the i-th new second phase feature in the t2 spatial domain.
[0091] In one embodiment, in S3, an optimization function is set according to different phase features corresponding to the two spatial domains, and weights in the feature node generation and domain change modules are optimized and adjusted, which specifically includes the following:
[0092] S35 , setting a first optimization function according to the first time phase characteristics and the second time phase characteristics of the t1 spatial domain and the first time phase characteristics and the second time phase characteristics of the t2 spatial domain.
[0093] Theoretically, the second phase characteristic node of the t1 spatial domain The first phase characteristics of the t1 spatial domain are required The structure, characteristics and other information are consistent, and the second phase characteristic node of the t2 spatial domain Need and t2 spatial domain second phase characteristics The structure, characteristics and other information of the two are consistent, but in fact they are not completely the same (so the similarity symbol " ”).
[0094] In order to As close as possible ,make As close as possible , set the first optimization function as follows:
[0095] (9)
[0096] in, is the second phase feature of the ith time in the t1 spatial domain, is the first phase feature of the t1 spatial domain, is the first phase feature of the ith time in the t2 spatial domain, is the second phase characteristic of the t2 spatial domain, It is expressed as the two-norm.
[0097] S36 , setting a second optimization function according to the first time phase feature of the t1 spatial domain, the new first time phase feature of the t1 spatial domain, the second time phase feature of the t2 spatial domain, and the new second time phase feature of the t2 spatial domain.
[0098] Specifically, if the first regression function and the second regression function The time phase characteristics of each spatial domain can be perfectly converted to the relative spatial domain, so the converted time phase characteristics can also be perfectly converted back to the original spatial domain. In other words, the first time phase characteristic of the t1 spatial domain It is in the t1 space domain. If it passes the first regression function It can be converted to the t2 spatial domain, and then it can be transformed into the t2 spatial domain through the second regression function. Convert it back to the t1 spatial domain; similarly, the second phase feature of the t2 spatial domain itself is in the t2 spatial domain. If the second regression function It can be converted to the t1 spatial domain, and then it can be transformed into the t1 spatial domain through the first regression function. Convert it back to the t2 space domain.
[0099] In order to further constrain the generation process of feature nodes, As close as possible ,make As close as possible , set the second optimization function as follows:
[0100] (10)
[0101] in, is the i-th new first phase feature in the t1 spatial domain, is the i-th new second phase feature in the t2 spatial domain.
[0102] S37, setting an optimization function of the feature node generation and domain change module according to the first optimization function and the second optimization function, and adjusting the weights in the feature node generation and domain change module according to the optimization function.
[0103] In one embodiment, the optimization function of the feature node generation and domain change module in S37 can be specifically expressed by the formula:
[0104] (11)
[0105] in, To optimize the function, represents the two-norm.
[0106] S4, the differential enhancement module receives and processes the different phase feature nodes corresponding to the two spatial domains respectively, obtains the differential nodes of each spatial domain, sets and solves the third optimization function according to the differential nodes of each spatial domain and the real labels, and obtains the weight of the output layer. The output layer receives the differential nodes of each spatial domain and calculates the change detection results of each spatial domain in combination with the weight of the output layer.
[0107] In one embodiment, the difference enhancement module in S4 receives and processes the feature nodes of different time phases corresponding to the two spatial domains respectively, and obtains the difference nodes of each spatial domain. The specific process is as follows:
[0108] S41, the difference enhancement module receives the feature nodes of different time phases corresponding to the two spatial domains respectively and performs difference calculation to obtain the difference feature nodes of each spatial domain;
[0109] S42, generating differential enhancement nodes by random mapping the differential feature nodes in each spatial domain;
[0110] S43, concatenating the differential feature nodes and differential enhancement nodes of each spatial domain to obtain the differential nodes of each spatial domain.
[0111] Specifically, heterogeneous image change detection needs to find the differences between different phase features in the same feature space domain. Therefore, it is necessary to perform differential calculations on the phase features in the same feature space domain to obtain differential feature nodes. At the same time, in order to improve the nonlinearity and robustness of differential feature nodes, it is necessary to expand them and generate differential enhancement nodes through random mapping. The differential feature nodes and differential enhancement nodes of each space domain are spliced together to obtain differential nodes of each space domain. The specific process is as follows:
[0112] 1) The differential feature nodes of each spatial domain are obtained by using the change vector analysis (CVA):
[0113] (12)
[0114] (13)
[0115] in, is the t1 spatial domain Differential feature nodes, is the t2 spatial domain Differential feature nodes, is the second phase feature node of the ith time in the t1 spatial domain, is the i-th first phase feature node in the t2 spatial domain, is the first time phase feature node of the ith spatial domain of t1, It is the i-th second phase feature node in the t2 spatial domain.
[0116] 2) Each spatial domain differential feature node is again assigned a randomly generated second weight , Second bias and nonlinear functions , obtain differential enhancement nodes through random mapping:
[0117] (14)
[0118] (15)
[0119] In the formula, , ;
[0120] in, is the jth differential enhancement node in the t1 spatial domain, is the jth differential enhancement node in the t2 spatial domain, , is the number of differential enhancement nodes, is the randomly generated second weight, is the randomly generated second bias, is the number of differential enhancement nodes, is the second nonlinear activation function.
[0121] 3) Connect the differential feature nodes and differential enhancement nodes to obtain the differential nodes of each spatial domain:
[0122] (16)
[0123] (17)
[0124] in, is the differential node of t1 spatial domain, It is the differential node of t2 spatial domain.
[0125] After obtaining the differential nodes of each spatial domain, the third optimization function is set according to the differential nodes of each spatial domain and the true label. By solving the third optimization function, the weight of the output layer is obtained. The output layer receives the differential nodes of each spatial domain and calculates the change detection results of each spatial domain in combination with the weight of the output layer.
[0126] Specifically, the output layer receives the differential nodes of each spatial domain. Since the input nodes of the output layer are different from those of the output layer of the conventional width learning system, the output layer needs to be improved. Therefore, an optimization function suitable for heterogeneous image transformation detection is designed. The change detection results of each spatial domain are obtained through the optimization function. The specific process is as follows:
[0127] Preset the weights of the output layer , output each spatial domain differential node through the output layer to obtain the output of t1 spatial domain And the output of t2 spatial domain In order to make t1 spatial domain output and t2 spatial domain output The true label of the sample The error is the smallest, and the weight of the output layer of the third optimization function is set Make optimizations.
[0128] In one embodiment, the third optimization function in S4 is specifically:
[0129] (18)
[0130] in, is the first weight, that is The corresponding weight, refers to the weight of the output layer, is the second weight, that is The corresponding weight, yes The corresponding non-negative weights are is the true label, For optimization function.
[0131] In order to get the weight of the output layer , solve the optimization function The weights of the output layer The partial derivative of is as follows:
[0132] (19)
[0133] The optimization function The value of the output layer The partial derivative of is set to 0 and solved:
[0134] (20)
[0135] Solving formula (20) yields:
[0136] (twenty one)
[0137] because
[0138] (twenty two)
[0139] (twenty three)
[0140] Similarly, (twenty four)
[0141] make and , then the weight of the output layer :
[0142] (25)
[0143] Re-order , then the weight of the output layer It can be expressed as follows:
[0144] (26)
[0145] in, is the adjusted differential feature node, is the adjusted true label, is the adjusted differential feature node The pseudo-inverse.
[0146] Get the weights of the output layer Afterwards, the change detection results of each spatial domain are obtained through the output layer as follows:
[0147] (27)
[0148] (28)
[0149] in, is the change detection result in the spatial domain of t1, It is the change detection result in the t2 spatial domain.
[0150] S5. The incremental learning module compares the change detection results of each spatial domain with the true label, screens out the different phase features of each spatial domain of the training error, and sets the fourth optimization function according to the differential nodes corresponding to the different phase features of each spatial domain of the training error and the true label, and adjusts the weight of the output layer.
[0151] Specifically, in the incremental learning module, the change detection results of each spatial domain are transformed into and (Each spatial domain change detection result contains multiple change detection results corresponding to different phase features) and the corresponding true label By comparing, we can find out the different phase characteristics of each spatial domain of training errors and the differential nodes corresponding to the different phase characteristics of each spatial domain of training errors. and , incremental learning of different phase features of each spatial domain of training errors can make model training more accurate. Before incremental learning of samples with training errors, it is necessary to set the weight of the output layer of the fourth optimization function Make adjustments.
[0152] In one embodiment, the fourth optimization function is as follows:
[0153] (29)
[0154] in, is the adjusted weight of the output layer, is the third weight, that is The corresponding weight, is the fourth weight, that is The corresponding weight, It is the differential node corresponding to the different phase features of the t1 spatial domain training error, It is the difference node corresponding to the different phase features of the t2 spatial domain training error. is the true label corresponding to the different phase features of the t1 spatial domain training error, It is the true label corresponding to the different phase features of the t2 spatial domain training error.
[0155] by For example, if the total number of training samples (that is, feature pairs) is 40,000, and each sample generates 20 differential nodes, then the total differential nodes of the t1 spatial domain are a two-dimensional matrix, that is, a 40,000X20 matrix. Assuming that there are 1,000 different phase features of t1 spatial domain training errors, then the differential nodes corresponding to the different phase features of t1 spatial domain training errors are It is also a matrix, that is, a 1000X20 matrix.
[0156] For the solution of the above formula (29), due to the particularity of the incremental learning of the width learning system, a recursive formula can be derived, so that its solution process does not need to be retrained (that is, the solution process of formula (29) is obtained by The parameters are then derived, rather than solving the entire formula (29) from scratch), and the solution process is as follows:
[0157] (30)
[0158] In the formula, is the new adjusted differential node, that is, the original differential node plus the differential node corresponding to the different phase features of each spatial domain with training errors. It is the differential node corresponding to the different phase features of the t1 spatial domain training error, It is the differential node corresponding to the different phase features of the t2 spatial domain training error.
[0159] (31)
[0160] In the formula, is the new adjusted true label, that is, the original true label plus the true label corresponding to the different phase features of each spatial domain of the training error. is the true label corresponding to the different phase features of the t1 spatial domain training error, It is the true label corresponding to the different phase features of the t2 spatial domain training error.
[0161] (32)
[0162] in: (33)
[0163] (34)
[0164] (35)
[0165] In the formula, B, C, and D are all intermediate variables.
[0166] Therefore, the adjusted weights of the output layer As shown below:
[0167] (36)
[0168] in, is the new adjusted differential node (which can be obtained from formula (30)), is the new adjusted true label (which can be obtained by formula (31)).
[0169] S6. Obtain two heterogeneous images to be detected in a real scene and segment them. Input the multiple feature pairs obtained after segmentation into the feature node generation and domain exchange module after weight adjustment, the differential enhancement module, and the output layer processing after weight adjustment in sequence, output the change detection results of each spatial domain, and obtain the change detection results of the two heterogeneous images to be detected according to the change detection results of each spatial domain.
[0170] Specifically, after the feature node generation and domain exchange module and the output layer have adjusted the weights, when the heterogeneous image change detection model is officially put into use, the incremental learning module is frozen. At this time, two heterogeneous images to be detected in the real scene are obtained, and they are segmented according to the method as described above to form multiple feature pairs. The feature node generation and domain exchange module after adjusting the weights performs feature node generation and domain exchange on multiple feature pairs respectively to obtain different phase features corresponding to the two spatial domains. The differential enhancement module receives and processes the different phase feature nodes corresponding to the two spatial domains respectively to obtain the differential nodes of each spatial domain. The output layer after adjusting the weights receives the differential nodes of each spatial domain and calculates the change detection results of each spatial domain in combination with the weights. The change detection results of the two heterogeneous images to be detected are obtained according to the change detection results of each spatial domain.
[0171] Now let’s take the first The first feature pair of the two heterogeneous images to be detected is described. The change detection result of feature pairs can be expressed as:
[0172] (37)
[0173] (38)
[0174] In the formula, For the The difference node of feature pairs in the t1 space domain, For the The difference nodes of feature pairs in the t2 space domain, For the The vector of feature pairs in the t1 space domain, For the The vector of feature pairs in the t2 space domain. and The subscript number of the maximum value in is taken as the change detection result.
[0175] For example, the vector Specifically, it is [0.33, 0.67], where the subscript of 0.33 is 0 and the subscript of 0.67 is 1; the vector Specifically, it is [0.47, 0.53], where the subscript of 0.47 is 0 and the subscript of 0.53 is 1. Subscript 0 indicates no change, and subscript 1 indicates change. The vector and The largest of the four corresponding values is 0.67, and the subscript corresponding to 0.67 is 1, so 1 is the output layer output of the two heterogeneous images to be detected. Change detection results for feature pairs.
[0176] The above-mentioned heterogeneous image change detection method based on width learning presets a heterogeneous image change detection model, which includes a feature node generation and domain exchange module, a differential enhancement module, an output layer, and an incremental learning module connected in sequence, obtains two heterogeneous images and their corresponding multiple feature pairs and real labels, the feature node generation and domain exchange module generates feature nodes and exchanges domains for multiple feature pairs, and obtains feature nodes of different time phases corresponding to each of the two spatial domains, sets an optimization function according to the different time phase features corresponding to each of the two spatial domains, and optimizes and adjusts the weights in the feature node generation and domain exchange module, the differential enhancement module receives and processes the feature nodes of different time phases corresponding to each of the two spatial domains, and obtains differential nodes of each spatial domain, the output layer receives the differential nodes of each spatial domain and calculates the change detection results of each spatial domain, the incremental learning module compares the change detection results of each spatial domain with the real labels of the corresponding samples, screens out the different time phase features of each spatial domain with training errors and their corresponding differential nodes, and adjusts the weights of the output layer on this basis. Two heterogeneous images to be detected in a real scene are obtained and segmented. Multiple feature pairs obtained after segmentation are sequentially input into the feature node generation and domain exchange module after weight adjustment, the differential enhancement module, and the output layer after weight adjustment for processing, and the change detection results of each spatial domain are output. According to the change detection results of each spatial domain, the change detection results of the two heterogeneous images to be detected are obtained. The method uses the mapping relationship between heterogeneous features to convert each heterogeneous image to the relative spatial domain, and realizes the domain exchange of each feature node of the width learning system; analyzes the differences between the features of different phases in each spatial domain and transmits them to the output layer, designs an optimization function to optimize the weights of the output layer to adapt to heterogeneous image detection and obtain the change area, analyzes the change detection results of each spatial domain, finds out the features of different phases in each spatial domain with training errors, and feeds them back to the output layer for incremental learning and adjusts the weight of the output layer. The feature node generation and domain exchange module after weight adjustment, the differential enhancement module, and the output layer after weight adjustment are applied to the two heterogeneous images to be detected in the real scene for change detection, and obtain the change detection results. This method adopts a wide learning system for heterogeneous image change detection, which enhances the robustness and nonlinearity between features and can effectively utilize features.
[0177] The above is a detailed introduction to a heterogeneous image change detection method based on width learning provided by the present invention. This article uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the core idea of the present invention. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
Claims
1. A heterogeneous image change detection method based on width learning, characterized in that: The method comprises: S1, a preset heterogeneous image change detection model, which includes a sequentially connected feature node generation and domain change module, a differential enhancement module, an output layer, and an incremental learning module; S2. Obtain two heterogeneous images in different spatial domains, segment and annotate the two heterogeneous images, and obtain multiple feature pairs and true labels that are consistent with the number of the multiple feature pairs; S3, the feature node generation and domain exchange module generates feature nodes and exchanges domains for multiple feature pairs respectively, obtains different time phase features and different time phase feature nodes corresponding to the two spatial domains respectively, sets an optimization function according to the different time phase features corresponding to the two spatial domains respectively, and optimizes and adjusts the weights in the feature node generation and domain exchange module; S4, the difference enhancement module receives and processes the feature nodes of different time phases corresponding to the two spatial domains respectively, obtains the difference nodes of each spatial domain, sets and solves the third optimization function according to the difference nodes of each spatial domain and the real label, obtains the weight of the output layer, and the output layer receives the difference nodes of each spatial domain and calculates the change detection result of each spatial domain in combination with the weight of the output layer; S5, the incremental learning module compares the change detection results of each spatial domain with the true label, screens out the different phase features of each spatial domain of the training error, and sets the fourth optimization function according to the differential nodes corresponding to the different phase features of each spatial domain of the training error and the true label, and adjusts the weight of the output layer; S6, obtaining two heterogeneous images to be detected in a real scene and segmenting them, inputting multiple feature pairs obtained after segmentation into the feature node generation and domain exchange module after weight adjustment, the difference enhancement module, and the output layer processing after weight adjustment in sequence, outputting the change detection results of each spatial domain, and obtaining the change detection results of the two heterogeneous images to be detected according to the change detection results of each spatial domain; The feature node generation and domain exchange module in S3 generates feature nodes and exchanges domains for multiple feature pairs, and obtains different phase features and different phase feature nodes corresponding to the two spatial domains, which are specifically as follows: S31, the feature node generation and domain exchange module receives multiple feature pairs and generates feature nodes in their respective corresponding original spatial domains through random mapping, and obtains the first phase feature node of the t1 spatial domain and the second phase feature node of the t2 spatial domain; S32, converting the first time phase feature node of the t1 spatial domain into the first time phase feature of the t2 spatial domain through a regression function, and converting the second time phase feature node of the t2 spatial domain into the second time phase feature of the t1 spatial domain; S33, generating feature nodes by random mapping the first time phase feature of the t2 spatial domain and the second time phase feature of the t1 spatial domain in the new spatial domain, to obtain the first time phase feature node of the t2 spatial domain and the second time phase feature node of the t1 spatial domain; S34, converting the first time phase feature node of the t2 spatial domain and the second time phase feature node of the t1 spatial domain back to the original spatial domain through a regression function to obtain a new first time phase feature of the t1 spatial domain and a new second time phase feature of the t2 spatial domain; In S3, the optimization function is set according to the different phase characteristics corresponding to the two spatial domains, and the weights in the feature node generation and domain exchange module are optimized and adjusted, which specifically includes the following: S35, setting a first optimization function according to the first time phase feature and the second time phase feature of the t1 spatial domain and the first time phase feature and the second time phase feature of the t2 spatial domain; S36, setting a second optimization function according to the first time phase feature of the t1 spatial domain, the new first time phase feature of the t1 spatial domain, the second time phase feature of the t2 spatial domain, and the new second time phase feature of the t2 spatial domain; S37, setting an optimization function of the feature node generation and domain change module according to the first optimization function and the second optimization function, and adjusting the weights in the feature node generation and domain change module according to the optimization function; wherein the optimization function of the feature node generation and domain change module in S37 can be specifically expressed as: ; in, To optimize the function, represents the two-norm, is the second phase feature of the ith time in the t1 spatial domain, is the first phase feature of the ith time in the t2 spatial domain, is the first phase feature of the t1 spatial domain, is the second phase characteristic of the t2 spatial domain, is the i-th new first phase feature in the t1 spatial domain, is the i-th new second phase feature in the t2 spatial domain.
2. The heterogeneous image change detection method based on width learning according to claim 1, characterized in that: The first phase feature of the t2 spatial domain and the second phase feature of the t1 spatial domain in S32 can be specifically expressed by the formula: ; ; In the formula, ; ; in, is the second phase feature of the ith time in the t1 spatial domain, is the first phase feature of the ith time in the t2 spatial domain, is the first regression function, is the second regression function, is the weight of the first regression function F(.), is the second regression function The weight of is the first time phase feature node of the ith spatial domain of t1, is the second phase feature node of the ith time in the t2 spatial domain, is the first phase feature of the t1 spatial domain, is the second phase characteristic of the t2 spatial domain, is the first weight, is the first bias, is the first nonlinear activation function, , is the number of feature nodes.
3. The heterogeneous image change detection method based on width learning as claimed in claim 2, characterized in that: The new first phase feature of the t1 spatial domain and the new second phase feature of the t2 spatial domain in S34 can be specifically expressed by the formula: ; ; In the formula, ; ; in, is the i-th new first phase feature in the t1 spatial domain, is the i-th new second phase feature in the t2 spatial domain, is the second phase feature node of the ith time in the t1 spatial domain, It is the i-th first phase feature node in the t2 spatial domain.
4. The heterogeneous image change detection method based on width learning as claimed in claim 3, characterized in that: The difference enhancement module in S4 receives and processes the feature nodes of different time phases corresponding to the two spatial domains respectively, and obtains the difference nodes of each spatial domain. The specific process is as follows: S41, the difference enhancement module receives the feature nodes of different time phases corresponding to the two spatial domains respectively and performs difference calculation to obtain the difference feature nodes of each spatial domain; S42, generating differential enhancement nodes by random mapping the differential feature nodes in each spatial domain; S43, concatenating the differential feature nodes and differential enhancement nodes of each spatial domain to obtain the differential nodes of each spatial domain.
5. The heterogeneous image change detection method based on width learning as claimed in claim 4, characterized in that: Each spatial domain difference node in S43 can be specifically expressed as: ; ; In the formula, ; ; ; ; ; ; in, is the differential node of t1 spatial domain, is the differential node in the t2 space domain, is the t1 spatial domain Differential feature nodes, is the t2 spatial domain Differential feature nodes, , is the number of feature nodes, is the total differential feature node in the t1 spatial domain, is the total differential feature node in the t2 spatial domain, is the jth differential enhancement node in the t1 spatial domain, is the jth differential enhancement node in the t2 spatial domain, , is the number of differential enhancement nodes, is the second weight, is the second bias, is the second nonlinear activation function, Represents change vector analysis.
6. The heterogeneous image change detection method based on width learning according to claim 5, characterized in that: In S4, a third optimization function is set and solved according to the differential nodes and true labels of each spatial domain. The third optimization function is specifically: ; in, is the first weight, that is The corresponding weight, is the weight of the output layer, is the second weight, that is The corresponding weight, yes The corresponding non-negative weights are is the true label, For optimization function.
7. The heterogeneous image change detection method based on width learning according to claim 6, characterized in that: In S5, a fourth optimization function is set according to the differential nodes and true labels corresponding to the features of the training errors. The fourth optimization function is specifically: ; in, is the adjusted weight of the output layer, is the third weight, that is The corresponding weight, is the fourth weight, that is The corresponding weight, It is the differential node corresponding to the different phase features of the t1 spatial domain training error, It is the difference node corresponding to the different phase features of the t2 spatial domain training error. is the true label corresponding to the different phase features of the t1 spatial domain training error, It is the true label corresponding to the different phase features of the t2 spatial domain training error.
