High-resolution remote sensing image target state discrimination method and device, and storage medium
Through the deep learning method driven by both knowledge and data, combined with the panoramic segmentation network and hybrid convolutional network, position coding and prior rule knowledge are used to solve the problem of low accuracy of target state discrimination in high-scoring remote sensing images in the existing technology, and achieve high accuracy. Accurate intelligent status judgment.
Patent Information
- Application Number
- CN202410700827.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing technology lacks a high-resolution remote sensing image target status discrimination method with good versatility and high accuracy, and it is difficult to effectively judge the driving, parking, abandonment and other status of remote sensing targets.
Using a deep learning method driven by both knowledge and data, the panoramic segmentation network generates panoramic segmentation images, constructs a scene knowledge graph, and designs a target movement discrimination network based on hybrid convolution. It combines position coding and a priori rule knowledge to achieve key targets. High-precision status discrimination.
It achieves high-precision intelligent status discrimination of key targets in high-resolution remote sensing images, improves the accuracy and versatility of discrimination, reduces false detections, and has important theoretical research and application value.
Smart Images

Figure CN118691877A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent interpretation of remote sensing images, and in particular to a method, device and storage medium for distinguishing target states of high-resolution remote sensing images. Background Art
[0002] High-resolution remote sensing image target state discrimination mainly targets common focus targets in remote sensing images such as vehicles, aircraft, and ships. According to the environment in which they are located and the relationship and dependency between them and other targets, the target's driving, parking, and abandoned status are judged. Compared with the traditional manual visual interpretation method, the method based on deep learning has the advantages of high efficiency, automation, and intelligence.
[0003] However, in the existing technology, there is still a lack of universal and high-precision methods for remote sensing target state discrimination. Summary of the invention
[0004] In order to solve the technical problems existing in the above-mentioned prior art, the purpose of the present invention is to provide a method for distinguishing the target state of high-resolution remote sensing images, which uses a deep learning method driven by both knowledge and data to achieve high-precision and intelligent state distinction of key targets.
[0005] To achieve the above-mentioned object of the invention, the present invention provides a method for distinguishing target states of high-resolution remote sensing images, comprising the following steps:
[0006] Step S1, using a panoramic segmentation network to perform panoramic segmentation on the high-resolution remote sensing image to obtain a panoramic segmentation image of the high-resolution remote sensing image;
[0007] Step S2, generating a scene knowledge graph based on the spatial relationship between ground objects in the panoramic segmentation image of the high-resolution remote sensing image;
[0008] Step S3, designing a remote sensing ground object target position coding method based on the panoramic segmentation image, adding the position coding of the ground object target to the corresponding scene knowledge graph, and obtaining a scene knowledge graph containing position information;
[0009] Step S4: pre-identify the state of the target of interest based on the pre-set prior rule knowledge;
[0010] Step S5: construct a target movement discrimination network based on hybrid convolution, and use the target movement discrimination network to calculate the pre-discriminated scene knowledge graph to obtain the state discrimination result of the target of interest.
[0011] According to a technical solution of the present invention, in step S1, the panoptic segmentation network is Mask2Former or MaskDINO;
[0012] The high-resolution remote sensing image panoramic segmentation image includes pixel-level classification and instance division of foreground targets according to semantic categories, and semantic-level segmentation of background targets.
[0013] According to a technical solution of the present invention, the step S2 specifically includes:
[0014] Step S21: Based on the high-resolution remote sensing image panorama segmentation image, any ground object in the segmentation result is used as a node in the scene knowledge graph, and the category corresponding to the ground object is used as the feature of the node;
[0015] Step S22: According to the spatial position relationship of the ground objects in the panoramic segmentation image of the high-resolution remote sensing image, it is determined that the ground objects within a certain distance are in an adjacency relationship, and corresponding edges are generated between the nodes of the scene knowledge graph.
[0016] According to a technical solution of the present invention, step S3 includes:
[0017] Step S31, for each ground object target in the high-resolution remote sensing image, a single-channel segmentation mask containing only the ground object target is generated, the size of each mask is the same as the original high-resolution remote sensing image, and the pixel value of the area where the target is located is set to 1, and the pixel values of other areas are set to 0;
[0018] Step S32: Calculate the position code of each mask. When calculating the position code, calculate according to the y and x coordinates respectively, and finally obtain the position code PE of the mask, then:
[0019] PE=[PE y , PE x ]
[0020] Among them, PE y , PE x The results after encoding by y and x coordinates, PE y The calculation method is as follows:
[0021]
[0022] Among them, d model is the position coding feature length, i = 0, 1...d model -1,pos y It is calculated by the y-coordinate position of the image pixel and the pixel value. The calculation method is as follows:
[0023]
[0024] Where p is the pixel value of the current pixel, n is the number of pixels with a pixel value of 1 in the current column, and k is the rank of the pixel among the pixels with a pixel value of 1 in the current column, and the rank increases from the top to the bottom of the image;
[0025] PE x The calculation method is similar to PE y ,Right now
[0026]
[0027] Among them, d model is the position coding feature length, i = 0, 1...d model -1, when calculating pos x When n is the number of pixels with a pixel value of 1 on the current row, k is the rank of the pixel among the pixels with a pixel value of 1 on the current row, and the rank increases from the left end to the right end of the image;
[0028] Step S33: correspond the calculated position encoding PE of each mask to the corresponding node in the scene knowledge graph to generate a scene knowledge graph containing position information.
[0029] According to a technical solution of the present invention, the step S4 specifically includes:
[0030] Step S41, determining the adjacency relationship of the focus target in the scene knowledge graph;
[0031] Step S42, pre-identify the state of each target of interest, directly determine the state of the target or reduce the possible range of the target state;
[0032] Step S43: Add the corresponding range as a new node feature to the scene knowledge graph containing location information.
[0033] According to a technical solution of the present invention, in step S5, the target movement discrimination network includes five hybrid convolutional layers, each of which performs convolution calculations on the scene knowledge graph and the location information contained therein, and each hybrid convolutional layer includes a two-dimensional image convolutional layer, a fully connected layer and a graph convolutional layer. The input of each hybrid convolutional layer is the scene knowledge graph and the location information contained therein, then:
[0034] The input scene knowledge graph feature is recorded as h l-1 , for each node in the scene knowledge graph, message propagation is performed within its neighborhood. The graph convolution calculation in each hybrid convolution layer can be expressed as:
[0035]
[0036] in, is the input feature of node u, Refers to all node features in the neighborhood of the input node v, W l is a learnable weight parameter, ReLU is a nonlinear activation function, is the output feature of node v;
[0037] Let the location information feature of node v be f v , the node location information feature is first convolved through a two-dimensional convolution layer to obtain a new location information feature f′ v , and then transformed into a 1-dimensional feature t through a fully connected layer v , then the calculation of the location information feature can be expressed as:
[0038] f′ v =ReLU(γ(f v ))
[0039] t v =α(f′ v )
[0040] Among them, γ is the two-dimensional image convolution, α is the full connection;
[0041] The one-dimensional feature calculated from the position information feature is added to the node feature to obtain the output node feature in the hybrid convolution layer. Then we have:
[0042]
[0043] Among them, W p is a learnable weight parameter;
[0044] When the mixed convolution layer is not the last layer, the new position information feature f′ p and the new node scene knowledge graph feature h l′ As the input of the next layer; when the mixed convolution layer is the last layer, the final node state c is obtained by a fully connected layer and Sotfmax function v , the calculation method is as follows:
[0045]
[0046] Among them, β is a fully connected layer.
[0047] According to one aspect of the present invention, there is provided an electronic device, comprising: one or more processors, one or more memories, and one or more computer programs; wherein the processor is connected to the memory, and the one or more computer programs are stored in the memory, and when the electronic device is running, the processor executes the one or more computer programs stored in the memory, so that the electronic device executes a method for distinguishing target states of high-resolution remote sensing images as described in any one of the above technical solutions.
[0048] According to one aspect of the present invention, a computer-readable storage medium is provided for storing computer instructions. When the computer instructions are executed by a processor, a method for distinguishing target states in a high-resolution remote sensing image as described in any one of the above technical solutions is implemented.
[0049] Compared with the prior art, the present invention has the following beneficial effects:
[0050] The present invention proposes a method, device and storage medium for distinguishing the target state of high-resolution remote sensing images. By utilizing position coding and a state distinction method based on rule knowledge and hybrid convolution, the position information characteristics of ground objects and the correlation dependency relationship between ground objects can be effectively extracted from high-resolution remote sensing images, and the state distinction of the key focus targets in high-resolution remote sensing images can be realized with high accuracy, which has important theoretical research and application value.
[0051] The present invention makes full use of high-resolution remote sensing image features to supplement the spatial position information lost in the scene knowledge graph; by designing a target state pre-discrimination method based on rule knowledge, introducing a priori rule knowledge, determining the target state in advance or reducing the possible state category range of the target, reducing false detection, and effectively enhancing the final target state discrimination performance;
[0052] By designing a hybrid convolution layer and building a target state discrimination network based on hybrid convolution, features can be extracted and fused from the attributes and location information of the ground object nodes at the same time, focusing on the logical and spatial connections between targets, and focusing on the state discrimination of the ground object targets based on these features;
[0053] By using a deep learning method driven by both knowledge and data, high-precision and intelligent status identification of key targets can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0055] Figure 1 A schematic diagram of an overall flow chart of a method for distinguishing target states of high-resolution remote sensing images according to an embodiment of the present invention;
[0056] Figure 2 A schematic diagram of an overall flow chart of a method for distinguishing target states of high-resolution remote sensing images according to another embodiment of the present invention;
[0057] Figure 3 A schematic diagram schematically shows a method for generating a scene knowledge graph including position encoding according to an embodiment of the present invention;
[0058] Figure 4 A schematic diagram schematically shows a structure of a target state discrimination network based on hybrid convolution according to another embodiment of the present invention;
[0059] Figure 5 The figure schematically shows a calculation method of a mixed convolutional layer according to an embodiment of the present invention. DETAILED DESCRIPTION
[0060] The description of the embodiments of this specification should be combined with the corresponding drawings, which should be considered as part of the complete specification. In the drawings, the shape or thickness of the embodiments may be enlarged and indicated for simplification or convenience. Furthermore, the parts of each structure in the drawings will be described separately. It is worth noting that the elements not shown in the drawings or not described in words are in a form known to ordinary technicians in the relevant technical field.
[0061] The description of the embodiments herein and any reference to directions and orientations are only for the convenience of description and are not to be construed as any limitation on the scope of protection of the present invention. The following description of the preferred embodiments may involve combinations of features, which may exist independently or in combination, and the present invention is not particularly limited to the preferred embodiments. The scope of the present invention is defined by the claims.
[0062] like Figure 1 and Figure 2 As shown, a method for distinguishing the target state of a high-resolution remote sensing image of the present invention combines the position encoding of the ground object with the scene knowledge graph, and uses a knowledge and data dual-driven method to address the state distinction problem of the key target in the remote sensing image, and utilizes a pre-discrimination method based on rule knowledge and a target movement discrimination network based on hybrid convolution to achieve state distinction of the remote sensing ground object target.
[0063] A method for distinguishing target states of high-resolution remote sensing images of the present invention comprises the following steps:
[0064] Step S1, using a panoramic segmentation network to perform panoramic segmentation on the high-resolution remote sensing image to obtain a panoramic segmentation image of the high-resolution remote sensing image, including:
[0065] Use a panoramic segmentation network such as Mask2Former or MaskDINO to perform panoramic segmentation on the high-resolution remote sensing image to obtain a panoramic segmentation image of the high-resolution remote sensing image;
[0066] Panoramic segmentation of high-resolution remote sensing images, including instance-level segmentation of "foreground" targets such as aircraft, vehicles, and ships, which requires both pixel-level classification of targets according to semantic categories and instance division so that different targets of the same semantic category have different instance numbers; and semantic-level segmentation of "background" targets such as vegetation, roads, and bare land, which requires pixel-by-pixel classification according to the semantic categories of the targets;
[0067] Step S2: Figure 3 As shown in the figure, a scene knowledge graph is generated based on the spatial relationship between ground objects in the panoramic segmentation image of the high-resolution remote sensing image, which specifically includes:
[0068] Step S21: Based on the panoramic segmentation image of the high-resolution remote sensing image, any ground object in the segmentation result is used as a node in the scene knowledge graph, and the category corresponding to the ground object is used as the feature of the node. For example, each segmented aircraft or a complete "background" target area corresponds to a node in the knowledge graph;
[0069] Step S22, according to the spatial position relationship of the ground objects in the panoramic segmentation image of the high-resolution remote sensing image, determine that the ground objects less than a certain distance are in an adjacency relationship, and generate corresponding edges between the nodes of the scene knowledge graph;
[0070] The panoramic segmentation image is used to generate the scene knowledge graph and the mask of each ground object. Each mask is combined with the corresponding node in the scene knowledge graph through position encoding to obtain the scene knowledge graph.
[0071] Step S3: design a remote sensing ground object target position coding method based on panoramic segmentation images, add the position coding of the ground object target to the corresponding scene knowledge graph, and obtain a scene knowledge graph containing position information, including:
[0072] Step S31, for each ground object target in the high-resolution remote sensing image, a single-channel segmentation mask containing only the ground object target is generated, the size of each mask is the same as the original high-resolution remote sensing image, and the pixel value of the area where the target is located is set to 1, and the pixel values of other areas are set to 0;
[0073] Step S32: Calculate the position code of each mask. When calculating the position code, calculate according to the y and x coordinates respectively, and finally obtain the position code PE of the mask, then:
[0074] PE=[PE y , PEx ]
[0075] Among them, PE y , PE x The results after encoding by y and x coordinates, PE y The calculation method is as follows:
[0076]
[0077] Among them, d model is the position coding feature length, i = 0, 1...d model -1,pos y It is calculated by the y-coordinate position of the image pixel and the pixel value. The calculation method is as follows:
[0078]
[0079] Where p is the pixel value of the current pixel, n is the number of pixels with a pixel value of 1 in the current column, and k is the rank of the pixel among the pixels with a pixel value of 1 in the current column, and the rank increases from the top to the bottom of the image;
[0080] PE x The calculation method is similar to PE y ,Right now
[0081]
[0082] Among them, d model is the position coding feature length, i = 0, 1...d model -1, when calculating pos x When n is the number of pixels with a pixel value of 1 on the current row, k is the rank of the pixel among the pixels with a pixel value of 1 on the current row, and the rank increases from the left end to the right end of the image;
[0083] Step S33: correspond the calculated position encoding PE of each mask to the corresponding node in the scene knowledge graph to generate a scene knowledge graph containing position information.
[0084] The ground object mask is generated from the panoramic segmentation image, and the position information of each ground object is obtained through the position encoding algorithm. Then, this position information is added to the corresponding node of the scene knowledge graph, and finally a scene knowledge graph containing position information is obtained.
[0085] Step S4: pre-identify the state of the target of interest based on the pre-set prior rule knowledge, specifically including:
[0086] Step S41: calculate a target state pre-discrimination method based on rule knowledge, and pre-discriminate the target state according to the adjacency relationship of the target in the scene knowledge graph;
[0087] Taking an aircraft target as an example, the following rule knowledge can be pre-specified for pre-judgment of the target state: (1) If it is only adjacent to the flight runway, it can be judged as a take-off or landing state; (2) If it is only adjacent to the taxiway, it can be directly judged as a taxiing state; (3) If it is adjacent to a building, it can be judged as a parking or maintenance state; (4) If it is only adjacent to bare land or vegetation, it can be directly judged as an abandoned state; (5) If it is adjacent to other aircraft, the take-off and landing states can be excluded; (6) If it is not adjacent to a building, the maintenance state can be excluded, etc.
[0088] Step S42, pre-identify the state of each target of interest, directly determine the state of the target or reduce the possible range of the target state;
[0089] Step S43: Add the corresponding range as a new node feature to the scene knowledge graph containing location information.
[0090] In order to ultimately obtain a high-precision target state discrimination effect, a target state pre-discrimination algorithm based on rule knowledge is constructed. According to the scene prior knowledge, relevant rules are formulated to pre-discriminate the state of the target of interest, and the adjacency relationship between targets is used to directly determine the state category of the target or reduce the possible range of state categories.
[0091] Step S5: construct a target movement discrimination network based on hybrid convolution, and use the target movement discrimination network to calculate the pre-discriminated scene knowledge graph to obtain the state discrimination result of the target of interest.
[0092] The target movement discrimination network includes five hybrid convolutional layers, each of which performs convolution calculations on the scene knowledge graph and the location information contained therein. Each hybrid convolutional layer includes a two-dimensional image convolutional layer, a fully connected layer, and a graph convolutional layer. The input of each hybrid convolutional layer is the scene knowledge graph and the location information contained therein, so:
[0093] The input scene knowledge graph feature is recorded as h l-1 , for each node in the scene knowledge graph, message propagation is performed within its neighborhood. The graph convolution calculation in each hybrid convolution layer can be expressed as:
[0094]
[0095] in, is the input feature of node u, Refers to all node features in the neighborhood of the input node v, W l is a learnable weight parameter, ReLU is a nonlinear activation function, is the output feature of node v;
[0096] Let the location information feature of node v be f v , the node location information feature is first convolved through a two-dimensional convolution layer to obtain a new location information feature f′ v , and then transformed into a 1-dimensional feature t through a fully connected layer v , then the calculation of the location information feature can be expressed as:
[0097] f′ v =ReLU(γ(f v ))
[0098] t v =α(f′ v )
[0099] Among them, γ is the two-dimensional image convolution, α is the full connection;
[0100] The one-dimensional feature calculated from the position information feature is added to the node feature to obtain the output node feature in the hybrid convolution layer. Then we have:
[0101]
[0102] Among them, W p is a learnable weight parameter;
[0103] When the mixed convolution layer is not the last layer, the new position information feature f′ p and the new node scene knowledge graph feature h l′ As the input of the next layer; when the mixed convolution layer is the last layer, the final node state c is obtained by a fully connected layer and Sotfmax function v , the calculation method is as follows:
[0104]
[0105] Among them, β is a fully connected layer.
[0106] After state pre-discrimination, the present invention constructs a target state discrimination network based on hybrid convolution, and the network structure is as follows: Figure 4 The discriminant network mainly relies on the hybrid convolution layer designed by the present invention to perform different types of convolution calculations on the node attribute features and node position features in the scene knowledge graph, and fuse the node position features into the node attribute features. The calculation method of the hybrid convolution layer is as follows: Figure 5 shown.
[0107] According to one aspect of the present invention, there is provided an electronic device, comprising: one or more processors, one or more memories, and one or more computer programs; wherein the processor is connected to the memory, and the one or more computer programs are stored in the memory, and when the electronic device is running, the processor executes the one or more computer programs stored in the memory, so that the electronic device executes a method for distinguishing target states in high-resolution remote sensing images as described in any one of the above technical solutions.
[0108] According to one aspect of the present invention, a computer-readable storage medium is provided for storing computer instructions. When the computer instructions are executed by a processor, a method for distinguishing target states of high-resolution remote sensing images as described in any one of the above technical solutions is implemented.
[0109] Computer-readable storage media may include any medium capable of storing or transmitting information. Examples of computer-readable storage media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. Code segments may be downloaded via computer networks such as the Internet, intranets, etc.
[0110] A method, device and storage medium for distinguishing target states of high-resolution remote sensing images of the present invention include the following steps: step S1, using a panoramic segmentation network to perform panoramic segmentation on a high-resolution remote sensing image to obtain a panoramic segmentation image of the high-resolution remote sensing image; step S2, generating a scene knowledge graph based on the spatial relationship between ground objects in the panoramic segmentation image of the high-resolution remote sensing image; step S3, designing a remote sensing ground object target position encoding method based on the panoramic segmentation image, adding the position encoding of the ground object target to the corresponding scene knowledge graph, and obtaining a scene knowledge graph containing position information; step S4, based on pre-set prior rule knowledge, pre-discriminating the state of the target of interest; step S5, constructing a target movement discrimination network based on hybrid convolution, using the target movement discrimination network to calculate the pre-discriminated scene knowledge graph, and obtaining a state discrimination result of the target of interest. The present invention utilizes position coding and a state discrimination method based on rule knowledge and hybrid convolution to effectively extract the position information features of ground objects and the associated dependencies between ground objects from high-resolution remote sensing images, and realizes the state discrimination of key targets in high-resolution remote sensing images with high accuracy, which has important theoretical research and application value.
[0111] In addition, it should be noted that the present invention can be provided as a method, an apparatus or a computer program product. Therefore, the embodiments of the present invention can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the embodiments of the present invention can take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.
[0112] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0113] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device, so that a series of operation steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable terminal device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0114] It should also be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0115] Finally, it should be noted that the above is a preferred embodiment of the present invention. It should be pointed out that although the preferred embodiment of the present invention has been described, for those skilled in the art, once the basic creative concept of the present invention is known, several improvements and modifications can be made without departing from the principles of the present invention, and these improvements and modifications should also be regarded as the protection scope of the present invention. Therefore, the attached claims are intended to be interpreted as including the preferred embodiment and all changes and modifications that fall within the scope of the embodiments of the present invention.
Claims
1. A method for distinguishing target states in high-resolution remote sensing images, characterized in that: The following steps are involved: Step S1, using a panoramic segmentation network to perform panoramic segmentation on the high-resolution remote sensing image to obtain a panoramic segmentation image of the high-resolution remote sensing image; Step S2, generating a scene knowledge graph based on the spatial relationship between ground objects in the panoramic segmentation image of the high-resolution remote sensing image; Step S3, designing a remote sensing ground object target position coding method based on the panoramic segmentation image, adding the position coding of the ground object target to the corresponding scene knowledge graph, and obtaining a scene knowledge graph containing position information; Step S4: pre-identify the state of the target of interest based on the pre-set prior rule knowledge; Step S5: construct a target movement discrimination network based on hybrid convolution, and use the target movement discrimination network to calculate the pre-discriminated scene knowledge graph to obtain the state discrimination result of the target of interest.
2. The method for distinguishing target states of high-resolution remote sensing images according to claim 1, characterized in that: In the step S1, the panoptic segmentation network is Mask2Former or MaskDINO; The high-resolution remote sensing image panoramic segmentation image includes pixel-level classification and instance division of foreground targets according to semantic categories, and semantic-level segmentation of background targets.
3. The method for distinguishing target states of high-resolution remote sensing images according to claim 1, characterized in that: The step S2 specifically includes: Step S21: Based on the high-resolution remote sensing image panorama segmentation image, any ground object in the segmentation result is used as a node in the scene knowledge graph, and the category corresponding to the ground object is used as the feature of the node; Step S22: According to the spatial position relationship of the ground objects in the panoramic segmentation image of the high-resolution remote sensing image, it is determined that the ground objects within a certain distance are in an adjacency relationship, and corresponding edges are generated between the nodes of the scene knowledge graph.
4. The method for distinguishing target states of high-resolution remote sensing images according to claim 3, characterized in that: The step S3 includes: Step S31, for each ground object target in the high-resolution remote sensing image, a single-channel segmentation mask containing only the ground object target is generated, the size of each mask is the same as the original high-resolution remote sensing image, and the pixel value of the area where the target is located is set to 1, and the pixel values of other areas are set to 0; Step S32: Calculate the position code of each mask. When calculating the position code, calculate according to the y and x coordinates respectively, and finally obtain the position code PE of the mask, then: PE=[PE y ,ON x ] Among them, PE y , PE x The results after encoding by y and x coordinates, PE y The calculation method is as follows: Among them, d model is the position coding feature length, i = 0, 1...d model -1,pos y It is calculated by the y-coordinate position of the image pixel and the pixel value. The calculation method is as follows: Where p is the pixel value of the current pixel, n is the number of pixels with a pixel value of 1 in the current column, and k is the rank of the pixel among the pixels with a pixel value of 1 in the current column, and the rank increases from the top to the bottom of the image; PE x The calculation method is similar to PE y ,Right now Among them, d model is the position coding feature length, i = 0, 1…d model -1, when calculating pos x When n is the number of pixels with a pixel value of 1 on the current row, k is the rank of the pixel among the pixels with a pixel value of 1 on the current row, and the rank increases from the left end to the right end of the image; Step S33: correspond the calculated position encoding PE of each mask to the corresponding node in the scene knowledge graph to generate a scene knowledge graph containing position information.
5. The method for distinguishing target states of high-resolution remote sensing images according to claim 1, characterized in that: The step S4 specifically includes: Step S41, determining the adjacency relationship of the focus target in the scene knowledge graph; Step S42, pre-identify the state of each target of interest, directly determine the state of the target or reduce the possible range of the target state; Step S43: Add the corresponding range as a new node feature to the scene knowledge graph containing location information.
6. The method for distinguishing target states of high-resolution remote sensing images according to claim 1, characterized in that: In step S5, the target movement discrimination network includes five hybrid convolutional layers, each of which performs convolution calculations on the scene knowledge graph and the location information contained therein, and each hybrid convolutional layer includes a two-dimensional image convolutional layer, a fully connected layer and a graph convolutional layer. The input of each hybrid convolutional layer is the scene knowledge graph and the location information contained therein, then: The input scene knowledge graph feature is recorded as h l-1 , for each node in the scene knowledge graph, message propagation is performed within its neighborhood. The graph convolution calculation in each hybrid convolution layer can be expressed as: in, is the input feature of node u, Refers to all node features in the neighborhood of the input node v, W l is a learnable weight parameter, ReLU is a nonlinear activation function, is the output feature of node v; Let the location information feature of node v be f v , the node location information feature is first convolved through a two-dimensional convolution layer to obtain a new location information feature f′ v , and then transformed into a 1-dimensional feature t through a fully connected layer v , then the calculation of the location information feature can be expressed as: f′ v =ReLU(γ(f v )) t v =α(f′ v ) Among them, γ is the two-dimensional image convolution, α is the full connection; The one-dimensional feature calculated from the position information feature is added to the node feature to obtain the output node feature h′ in the hybrid convolution layer v , then: Among them, W p is a learnable weight parameter; When the mixed convolution layer is not the last layer, the new position information feature f′ o and the new node scene knowledge graph feature h l′ As the input of the next layer; when the mixed convolution layer is the last layer, the final node state c is obtained by a fully connected layer and Sotfmax function v , the calculation method is as follows: Among them, β is a fully connected layer.
7. An electronic device, characterized in that: include: One or more processors, one or more memories, and one or more computer programs; wherein the processor is connected to the memory, and the one or more computer programs are stored in the memory. When the electronic device is running, the processor executes the one or more computer programs stored in the memory so that the electronic device executes the high-resolution remote sensing image target state discrimination method as described in any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that: Used to store computer instructions, which, when executed by a processor, implement the high-resolution remote sensing image target state discrimination method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Knife switch state identification method and device, electronic device and storage medium
CN114463270A
Climbing behavior detection method and device and security system
CN114821779A
Remote sensing image target trend discrimination method
CN116486169A
High-dynamic situation spatio-temporal knowledge intelligent recommendation method and system
CN117149946A
Method and device for generating knowledge graph and computer readable medium
CN117396861A
Cited By
Building update type identification method and device based on time sequence streetscape image
CN120913084A
A building update type identification method and device based on time-series street view images
CN120913084B
Solar heat collection equipment operation state identification method based on structure perception segmentation network
CN122368461A
