Multi-size remote sensing image tile sensitive target segmentation method, device, equipment and medium
By introducing a triplet attention mechanism and tile recombination strategy into the YOLO11-Seg framework, combined with overlapping sliding windows and hybrid nonmaximum suppression, the problem of incomplete segmentation of multi-size sensitive targets in remote sensing image tile data is solved, achieving high-precision instance segmentation results.
Patent Information
- Application Number
- CN202611361318.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-03
- Publication Date
- 2026-11-24
AI Technical Summary
Existing instance segmentation methods face the problem of incomplete target segmentation due to missing cross-tile context and scale differences in remote sensing image tile data, especially the missed detection and incomplete segmentation of sensitive targets of multiple sizes.
Based on the YOLO11-Seg framework, a triplet attention mechanism is introduced, and a local continuous texture space is generated by combining a tile recombination strategy and an overlapping sliding window. High-precision instance segmentation of multi-size sensitive targets is achieved through hybrid nonmaximum suppression processing.
It improves the instance segmentation accuracy of multi-size sensitive targets in remote sensing image tile data, alleviates the structural loss problem caused by cross-tile context loss and scale differences, and improves the consistency and completeness of segmentation results.
Smart Images

Figure CN123160883A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of sensitive target cross-tile detection technology, and in particular to a method, apparatus, device and medium for segmenting sensitive targets in multi-size remote sensing image tiles. Background Technology
[0002] Image tile data is a crucial data foundation for geographic information service platforms such as Tianditu (Tianditu), enabling the efficient organization, storage, and visualization of massive amounts of remote sensing imagery through a tile-based block structure. However, while high-resolution remote sensing imagery can clearly reveal details of surface targets, it inevitably includes sensitive targets such as military vehicles, fighter jets, and warships. With the increasing sharing and open access to remote sensing imagery, the timely detection and segmentation of sensitive targets before the release of large-scale imagery data, and the conduct of accurate data security reviews, have become critical requirements for ensuring geographic information security.
[0003] In remote sensing image security review, simply obtaining target locations is often insufficient to meet the needs of subsequent data anonymization and refined processing. Compared to target detection, instance segmentation can further provide pixel-level target contour information, supporting refined editing and region-level processing of sensitive elements. Therefore, conducting research on sensitive target instance segmentation for remote sensing imagery is of great significance for improving the automation and refinement of data security review.
[0004] Currently, existing instance segmentation methods fall into two categories: two-stage methods and single-stage methods. Two-stage methods typically generate candidate regions first, and then perform pixel-level segmentation on these regions, achieving high segmentation accuracy. Representative models include FCIS, Mask R-CNN, and Blend Mask. Among them, Mask R-CNN significantly improves segmentation performance by introducing RoI Align and a dual-branch structure, becoming a typical benchmark model and achieving good results in remote sensing tasks such as building extraction and ship detection. However, due to the two-stage processing, this type of method has high computational complexity and slow inference speed, limiting its application in real-time scenarios.
[0005] In contrast, single-stage methods simultaneously perform target detection and mask prediction within a unified framework, achieving higher accuracy while maintaining better computational efficiency. Representative models include the YOLACT series and Polar Mask, among which YOLACT and its improved methods demonstrate a good performance-to-weight ratio in real-time instance segmentation tasks, while Polar Mask enhances the representation of target contours through polar coordinate modeling. In the field of remote sensing, related research further introduces orientation information modeling and feature fusion strategies to improve target segmentation accuracy in complex scenes.
[0006] However, applying existing instance segmentation methods directly to remote sensing image tile data still faces significant challenges. For example...Figure 1 As shown, remote sensing images contain sensitive targets of various sizes: on the one hand, the tiled storage method causes targets to cross multiple tile boundaries, resulting in incomplete structural information and missing context; on the other hand, different targets have significant differences in scale, and some military vehicles and small aircraft occupy only a very small pixel area, which is prone to semantic weakening during feature downsampling, thus leading to missed detection and incomplete segmentation. Summary of the Invention
[0007] This invention provides a method, apparatus, device, and medium for segmenting sensitive targets in multi-size remote sensing images using tiles. Based on the YOLO11-Seg framework, it introduces a triplet attention mechanism to enhance cross-scale feature representation capabilities and combines a tile recombination strategy to construct a local continuous texture space, thereby alleviating the problem of missing cross-tile context and achieving high-precision instance segmentation of sensitive targets of multiple sizes in remote sensing images.
[0008] In a first aspect, the present invention provides a method for segmenting sensitive targets in multi-size remote sensing image tiles, the method comprising: Obtain raw remote sensing image tile data, and stitch adjacent tiles into multiple local stitching regions based on the spatial index relationship of the raw remote sensing image tile data; For each of the aforementioned local splicing regions, an overlapping sliding window strategy is used to segment the region, generating multiple fixed-size detection windows with overlapping areas. Each detection window is input into an improved YOLO11-Seg network for instance segmentation. The improved YOLO11-Seg network comprises a backbone network, a feature fusion network, and a detection head. The backbone network extracts multi-layer semantic features from the input detection window image. The feature fusion network performs cross-scale feature fusion on the multi-layer semantic features output by the backbone network through a feature pyramid structure, obtaining fused features at different scales. A triplet attention mechanism is embedded in the feature fusion network, which performs multi-dimensional feature enhancement processing on the fused features at small and medium scales, outputting enhanced features. The detection head is used to complete target classification, localization, and mask prediction based on the enhanced features, outputting sensitive target detection results corresponding to each detection window. The sensitive target detection results include at least the target bounding box and the segmentation mask. The bounding boxes in the detection results of the sensitive targets corresponding to all detection windows are uniformly mapped to the global coordinate system. Then, based on the topological relationship between all the mapped bounding boxes, hybrid nonmaximum suppression is performed to aggregate and suppress redundant detection results belonging to the same sensitive target in different detection windows, so as to obtain the sensitive target segmentation result in the global coordinate system.
[0009] In one possible design, the spatial dimensions of the partially spliced area are determined by the following formula: (1) in, The spatial dimensions of the partially spliced area; This refers to the number of tiles contained in the row direction of the partially spliced area. This refers to the number of tiles contained in the column direction of the partially spliced area. This represents the side length of a single tile.
[0010] In one possible design, for each of the local stitching regions, an overlapping sliding window strategy is used for segmentation to generate multiple fixed-size detection windows with overlapping regions, including: Starting from the beginning position of the local splicing area, the sliding step size of the detection window in the horizontal and vertical directions is determined according to the preset window overlap rate and detection window size. The window slides row by row and column by column in the local splicing area according to the sliding step size. A detection window of a fixed size is generated every time the window slides by one step size. The sliding step size of the detection window in the horizontal and vertical directions is determined by the following formula: (2) in, , To detect window size; This refers to the window overlap ratio; and These are the sliding step sizes in the horizontal and vertical directions, respectively.
[0011] In one possible design, the system slides row by row and column by column within the local splicing area according to the sliding step size. Each sliding step generates a detection window of a fixed size, including: Set constraints: (3) in, The spatial resolution of the current processing level; Will and Substituting the constraints, the formula for calculating the minimum overlap rate to ensure target integrity is as follows: (4) in, This represents the lower bound of the minimum overlap ratio that must be satisfied in the horizontal direction. This represents the lower bound of the minimum overlap ratio that must be satisfied in the vertical direction; Window overlap Set to not less than and The larger of the two is used to ensure that a single detection window can completely contain the sensitive target of actual size T in all directions; According to the set window overlap rate The actual sliding step length is calculated according to formula (2) based on the size of the detection window. Starting from the starting position of the local splicing area, the sliding window is moved row by row and column by column within the local splicing area according to the actual sliding step length. A detection window of a fixed size is generated every time the sliding window reaches a step length position.
[0012] In one possible design, the triplet attention mechanism includes three parallel branches, and the triplet attention mechanism performs multi-dimensional feature enhancement processing on the fused features at small and medium scales in the following ways: Cross-dimensional dependencies between channel C and width W, channel C and height H, and height H and width W are established through three parallel branches. In each branch, the input feature map is rearranged dimensionally and Z-Pool operation is used to fuse average pooling and max pooling information to obtain intermediate feature descriptions. Convolutional operations are used to generate corresponding attention weights, and these attention weights are used to perform element-wise weighting of the input feature map to obtain the enhanced features for the three branches. , and ; Based on the enhanced features of the three branches , and The enhanced features are calculated using the following formula: (5) in, To enhance features.
[0013] In one possible design, hybrid nonmaximum suppression is performed based on the topological relationships between all mapped bounding boxes to aggregate and suppress redundant detection results belonging to the same sensitive target across different detection windows, resulting in sensitive target segmentation results in the global coordinate system, including: All bounding boxes mapped to the global coordinate system are formed into a bounding box set, and the intersection-union ratio (CUI) between any two bounding boxes in the bounding box set is calculated. When the CUI is greater than a preset CUI threshold, it is determined that the two bounding boxes overlap, and the bounding boxes with low confidence are suppressed based on non-maximum suppression. When the intersection-union ratio (IU) is less than or equal to the preset IU threshold, it is further determined whether the two bounding boxes satisfy the boundary alignment constraint; when at least one edge of the two bounding boxes overlaps within a given tolerance range, it is determined that the boundary alignment constraint is satisfied, and the ratio of the intersection area of the two bounding boxes to the minimum area of each bounding box is calculated as the overlap ratio. The calculation formula is as follows: (6) in, For the first The bounding box and the first The intersection area of the bounding boxes. For the first The bounding box and the first The intersection area of the bounding boxes. and The first The and the first The area of each bounding box. It is a minimum value function; When the overlap ratio is greater than a preset overlap ratio threshold, the two bounding boxes are determined to belong to the same sensitive target, and a merging operation is performed.
[0014] In one possible design, the condition for performing the merge operation is: When any two bounding boxes and When the following conditions are met, the detection results corresponding to the two bounding boxes are determined to belong to the same sensitive target, and a merging operation is performed: (7) in, The preset crossover-union ratio threshold, The preset overlap ratio threshold, For the first The bounding box and the first The intersection-union ratio of the bounding boxes. Let represent the Boolean variable that indicates two bounding boxes satisfy the boundary alignment constraint; when formula (7) is determined to be true, for the The bounding box and the first The bounding boxes are merged. The merged bounding boxes are updated with their spatial extent using a union method, while retaining the target attribute information with higher confidence from the two bounding boxes before the merge.
[0015] Secondly, the present invention provides a multi-size remote sensing image tile sensitive target segmentation device, the device comprising: The tile splicing module is configured to acquire raw remote sensing image tile data and, based on the spatial index relationship of the raw remote sensing image tile data, splice adjacent tiles into multiple local splicing regions. The sliding sampling module is configured to segment each of the local stitching regions using an overlapping sliding window strategy, generating multiple fixed-size detection windows with overlapping regions. The instance segmentation module is configured to input each detection window into an improved YOLO11-Seg network for instance segmentation. The improved YOLO11-Seg network comprises a backbone network, a feature fusion network, and a detection head. The backbone network is used to extract multi-layer semantic features from the input detection window image. The feature fusion network performs cross-scale feature fusion on the multi-layer semantic features output by the backbone network through a feature pyramid structure to obtain fused features at different scales. The feature fusion network embeds a triplet attention mechanism, which is used to perform multi-dimensional feature enhancement processing on the fused features at small and medium scales, and output enhanced features. The detection head is used to complete target classification, localization, and mask prediction based on the enhanced features, and outputs the sensitive target detection result corresponding to each detection window. The sensitive target detection result includes at least the target bounding box and the segmentation mask. The target aggregation module is configured to uniformly map the bounding boxes in the detection results of the sensitive targets corresponding to all detection windows to the global coordinate system, and perform hybrid nonmaximum suppression processing based on the topological relationship between all the mapped bounding boxes to aggregate and suppress redundant detection results belonging to the same sensitive target in different detection windows, so as to obtain the sensitive target segmentation result in the global coordinate system.
[0016] Thirdly, embodiments of the present invention provide an electronic device, comprising: at least one processor and a memory; the memory storing computer execution instructions; the at least one processor executing the computer execution instructions stored in the memory, causing the at least one processor to perform the multi-size remote sensing image tile sensitive target segmentation method as described in the first aspect and various possible designs of the first aspect.
[0017] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing computer-executable instructions. When a processor executes the computer-executable instructions, it implements the multi-size remote sensing image tile sensitive target segmentation method described in the first aspect and various possible designs of the first aspect.
[0018] Fifthly, embodiments of the present invention provide a computer program product, including a computer program that, when executed by a processor, implements the multi-size remote sensing image tile sensitive target segmentation method described in the first aspect and various possible designs of the first aspect.
[0019] The method, apparatus, device, and medium for segmenting sensitive targets in multi-size remote sensing image tiles provided by this invention have at least the following beneficial effects: To address the challenge of segmenting multi-scale sensitive targets in remote sensing image tile data, this invention uses the YOLO11-Seg framework as its foundation. A triplet attention mechanism is embedded in the feature fusion network stage, enhancing the model's feature representation and discrimination capabilities for sensitive targets at different scales and against complex backgrounds through multi-dimensional feature enhancement of small-scale and medium-scale fused features. Simultaneously, this invention effectively recovers the spatial context information of targets across tiles by stitching adjacent tiles into multiple local stitching regions and employing an overlapping sliding window strategy to generate fixed-size detection windows with overlapping areas, mitigating the structural loss problem caused by tile boundary segmentation. Furthermore, this invention employs a hybrid non-maximum suppression strategy, uniformly mapping the bounding boxes of each detection window to the global coordinate system and combining topological constraints between bounding boxes for cross-window target aggregation and redundancy suppression, effectively improving the consistency and completeness of instance segmentation results. Experimental results show that this invention can significantly improve the instance segmentation accuracy of multi-scale sensitive targets in remote sensing image tile data. Attached Figure Description
[0020] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0021] Figure 1 A schematic diagram of sensitive targets for image tile data provided in an embodiment of the present invention; wherein, (a) remote sensing image; (b) image tile; Figure 2 This is an overall flowchart of a method for segmenting sensitive targets in multi-size remote sensing image tiles provided in an embodiment of the present invention; Figure 3 A flowchart illustrating the tile recombination process provided in an embodiment of the present invention; Figure 4 This is a schematic diagram showing the original set of tiles spliced together into multiple local areas according to an embodiment of the present invention; Figure 5 A structural diagram of the improved YOLO11-Seg network provided in an embodiment of the present invention; Figure 6 This is a structural diagram of the triplet attention mechanism provided in an embodiment of the present invention; Figure 7This is an example diagram illustrating the effect of HM_NMS provided in an embodiment of the present invention; Figure 8 A schematic diagram illustrating the basic information of experimental data provided in the embodiments of the present invention; Figure 9 Comparison images of segmentation results provided in embodiments of the present invention; wherein, (a) original image; (b) Mask R-CNN; (c) YOLO11x-seg; (d) YOLO-TA; Figure 10 This is a structural diagram of a multi-size remote sensing image tile sensitive target segmentation device provided in an embodiment of the present invention.
[0022] The accompanying drawings have illustrated specific embodiments of the invention, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the invention in any way, but rather to illustrate the concept of the invention to those skilled in the art through reference to specific embodiments. Detailed Implementation
[0023] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.
[0024] In the technical solution of this invention, the collection, storage, use, processing, transmission, provision and disclosure of relevant data and information comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0025] It should be noted that in the embodiments of the present invention, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of the present invention. However, they do not mean that the inventor has used or necessarily used the solution.
[0026] The technical solution of the present invention and how the technical solution of the present invention solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of the present invention will now be described with reference to the accompanying drawings.
[0027] This invention provides a method for segmenting sensitive targets in multi-scale remote sensing image tiles, mainly comprising three parts: continuous texture space construction, a YOLO-TA instance segmentation model with multi-scale feature enhancement, and sensitive target result aggregation. First, addressing the spatial context loss problem caused by remote sensing image tileization, a continuous texture space based on tile reconstruction is constructed. The structural continuity across tile regions is restored through local stitching and overlapping sliding window strategies, thus providing more complete local contextual information for multi-scale target detection. Subsequently, the reconstructed detection window is input into an improved YOLO11-Seg network. A triplet attention mechanism is introduced in the Neck stage of the feature fusion network to enhance the model's feature representation and discrimination capabilities for sensitive targets at different scales. Finally, addressing the problem of repeated detection caused by overlapping windows, an improved Hybrid NMS strategy is constructed by combining Non-Maximum Suppression (NMS) and bounding box topological constraints to achieve consistent aggregation and redundancy suppression of instances across windows.
[0028] Please combine Figure 2 As shown, the overall process of this multi-size remote sensing image tile sensitive target segmentation method includes three stages: spatially continuous tile reconstruction, model enhancement, and sensitive target aggregation.
[0029] In the spatially continuous tile reconstruction stage, image tile data is used as input, and a two-stage processing of the reconstruction detection window is performed: first, discretely distributed image tiles are stitched together to obtain locally reconstructed continuous texture regions; then, the locally reconstructed regions are segmented using an overlapping method to generate several detection windows that conform to the model input specifications. This stage restores the structural continuity across tile regions through local stitching and overlapping sliding window strategies, providing more complete local contextual information for subsequent multi-scale object detection.
[0030] During the model enhancement stage, the aforementioned generated detection window is input into the improved YOLO11-seg network, which embeds a triplet attention mechanism. The triplet attention mechanism includes three parallel cross-dimensional feature interaction branches: C&W, C&H, and H&W. It works in conjunction with the YOLO11-seg network to complete multi-scale feature enhancement, ultimately enabling the localization and segmentation of sensitive targets within the detection window, effectively improving the model's feature representation and discrimination capabilities for sensitive targets at different scales.
[0031] In the sensitive target aggregation stage, to address the problem of repeated detection in overlapping regions caused by overlapping detection windows, the HM_NMS aggregation strategy is constructed by integrating NMS and topological features. HM_NMS is used to filter the repeated detection results across windows, ultimately achieving the uniqueness of target instances globally and completing the consistent aggregation and redundancy suppression of cross-window instances.
[0032] Specifically, the multi-size remote sensing image tile sensitive target segmentation method includes the following steps S10-S40 during implementation.
[0033] S10: Obtain the original remote sensing image tile data, and stitch adjacent tiles into multiple local stitching regions based on the spatial index relationship of the original remote sensing image tile data.
[0034] While organizing and storing image tile data using a regular slicing method can improve the efficiency of loading and accessing massive amounts of remote sensing imagery, it also disrupts the spatial continuity of targets. When sensitive targets are distributed across tile boundaries, their structural information is fragmented into multiple independent tiles, thus affecting the segmentation accuracy of sensitive targets. Therefore, it is necessary to restore the spatial continuity of targets across tiles.
[0035] To address this, this embodiment proposes a spatially continuous tile recombination strategy. Through a two-level recombination mechanism of "local splicing region construction - overlap detection window generation", the strategy restores the spatial continuity of the target while also taking into account computational efficiency.
[0036] In some embodiments, the tile reassembly process is as follows: Figure 3 As shown, the tile recombination process adopts a two-level recombination mechanism. The input is the original tile set, which is composed of several 256*256 pixel single tiles arranged in an orderly manner according to spatial indexing. First, the original tile set is spliced according to the spatial adjacency attribute of the tiles to obtain a local spliced region with spatial continuity. Then, the obtained local spliced region is subjected to an overlap segmentation operation. Multiple detection windows with overlapping ranges are generated by sliding window method to restore the spatial structural continuity of the target across tiles and avoid the structural loss caused by the truncation of sensitive targets by tile boundaries or window boundaries.
[0037] To restore the spatial structure of the target across tiles, this embodiment first utilizes the spatial indexing relationship between tiles to stitch adjacent tiles into a locally continuous region, rather than directly constructing a complete image. The locally stitched region uses tiles as the basic unit, and its size is set to an integer multiple of the size of a single tile. Let the number of tiles in the original tile data be M and N in the row and column directions, respectively, and the size of a single tile be T×T pixels. If the locally stitched region contains m tiles in the row direction and n tiles in the column direction, its spatial dimensions can be expressed as: (1) in, The spatial dimensions of the partially spliced area; This refers to the number of tiles contained in the row direction of the partially spliced area. This refers to the number of tiles contained in the column direction of the partially spliced area. This represents the side length of a single tile.
[0038] To ensure that cross-tile targets are fully rendered in at least one local area, the local stitching region is generated using a sliding method, with an overlap of one tile width between adjacent regions. This design effectively mitigates the structural loss problem caused by tile boundary segmentation. When the local stitching region slides to the data edge, if the number of remaining tiles is insufficient to form a complete window, the remaining portion is constructed separately as a tail region, maintaining an overlap of one tile width with adjacent regions.
[0039] After the above processing, the original discrete tiles are organized into multiple spatially continuous local splicing regions. Figure 4 The results of constructing local splicing regions are shown, where an overlap of one tile width is maintained between adjacent regions to ensure the complete representation of cross-regional targets. Figure 4 The image is divided into nine local stitching regions, numbered 1 to 9, arranged in a three-row, three-column layout. Each local stitching region is composed of multiple basic single tiles. There is an overlap of one tile width between adjacent local stitching regions in both the horizontal and vertical directions. This allows sensitive targets distributed across region boundaries to obtain complete structural information and contextual features within at least one local stitching region. This fundamentally alleviates the target fragmentation problem caused by discrete tile storage and provides a spatially continuous image base for subsequent detection window generation and instance segmentation inference.
[0040] S20: For each local splicing area, an overlapping sliding window strategy is used to segment it, generating multiple fixed-size detection windows with overlapping areas.
[0041] The local stitched region obtained in step S10 restores the spatial continuity of the target, but its size is usually still larger than the input size of the instance segmentation model. Therefore, it needs to be further segmented into detection windows for inference. If a non-overlapping segmentation method is used, sensitive targets located near the window boundary may still be truncated again, resulting in incomplete target contours or inaccurate segmentation results.
[0042] Therefore, this embodiment further constructs a detection window by adopting an overlapping sliding window strategy in step S20, and improves the continuity of the target between different windows by retaining a certain overlapping area between adjacent windows.
[0043] In some embodiments, multiple fixed-size detection windows with overlapping regions are generated in the following manner: Let the detection window size be... The pixels have horizontal and vertical sliding step sizes of 1 and 2, respectively. and Then we have: (2) in, , To detect window size; This refers to the window overlap ratio; and These are the sliding step sizes in the horizontal and vertical directions, respectively.
[0044] To ensure the actual dimensions are Sensitive targets will not be cut off by the window boundaries, and the sliding step size must satisfy: (3) in, This refers to the hierarchical spatial resolution. The sliding step size... and Substituting the constraints and deriving the formula, we obtain the following formula for calculating the minimum overlap rate to ensure the integrity of the target: (4) in, This represents the lower bound of the minimum overlap ratio that must be satisfied in the horizontal direction. This represents the lower bound of the minimum overlap ratio that must be satisfied in the vertical direction.
[0045] As shown in equation (4), the detection window overlap rate is closely related to the image spatial resolution and the target scale. When the spatial resolution increases, the same target corresponds to more pixels, requiring a larger window overlap range; conversely, the overlap rate can be appropriately reduced. In practical applications, the overlap rate can be reasonably set according to different levels of image resolution and the scale of sensitive targets, so as to reduce the overhead of repeated calculations while ensuring the reliability of segmentation.
[0046] In addition, when the edge of the local splicing area is insufficient to generate a complete detection window, a forward padding strategy can be used to generate the last detection window, avoiding the introduction of additional noise through zero-value filling or other methods.
[0047] S30: Input each detection window into the improved YOLO11-Seg network for instance segmentation to obtain the sensitive target detection results.
[0048] In this embodiment, the improved YOLO11-Seg network comprises three parts: a backbone network (Backbone), a feature fusion network (Neck), and a detection head (Head). The backbone is used to extract multi-layer semantic features from the input detection window image. The Neck performs cross-scale feature fusion on the multi-layer semantic features output by the backbone through a feature pyramid structure to obtain fused features at different scales. The Neck embeds a triplet attention mechanism, which is used to perform multi-dimensional feature enhancement processing on the fused features at small and medium scales, and output enhanced features. The head is used to complete target classification, localization, and mask prediction based on the enhanced features, and outputs the sensitive target detection results corresponding to each detection window. The sensitive target detection results include at least the target bounding box and the segmentation mask.
[0049] This embodiment addresses the task of segmenting multi-scale sensitive target instances in remote sensing image tiles, focusing on solving the problems of significant differences in target scale and interference from complex backgrounds. Based on the YOLO11-Seg framework, a triplet attention mechanism is introduced to construct a multi-dimensional feature interaction module, enhancing the model's ability to represent and discriminate features of targets at different scales.
[0050] The network structure still adopts the YOLO11-Seg end-to-end instance segmentation framework, consisting of three parts: Backbone, Neck, and Head. The Backbone extracts multi-layer semantic features, the Neck achieves cross-scale feature fusion through a feature pyramid structure, and the Head performs target classification, localization, and mask prediction. Considering the differences in the representation of targets at different scales in the feature maps, this embodiment embeds a triplet attention mechanism into the small-scale and medium-scale feature fusion layers of the Neck stage to enhance the model's ability to model local structural information and spatial dependencies, thereby improving the segmentation performance of multi-scale sensitive targets. The structure of the improved YOLO11-Seg network is as follows: Figure 5 As shown. The structure of the improved YOLO11-Seg network is as follows. Figure 5 As shown. This improved YOLO11-Seg network uses the Input terminal as the data entry point and consists of a Backbone feature extraction branch, a Neck multi-scale fusion branch, and a detection head.
[0051] The Backbone branch sequentially sets up multiple feature processing units along the feature downsampling direction: convolutional layer 0 (Later0 Conv), convolutional layer 1 (Later1 Conv), C3k2 module (Later2 C3k2), convolutional layer 3 (Later3 Conv), C3k2 module (Later4 C3k2), convolutional layer 5 (Later5 Conv), C3k2 module (Later6 C3k2), convolutional layer 7 (Later7 Conv), C3k2 module (Later8 C3k2), spatial pyramid pooling module (Later9 SPPF), and C2PSA module (Later10 C2PSA). After the input image is downsampled and transformed step by step by the Backbone, it outputs three sets of basic feature maps at different scales, corresponding to shallow detail features, mid-level semantic features, and deep semantic features, respectively, providing a multi-dimensional feature base for subsequent feature fusion.
[0052] The Neck branch employs a bidirectional feature pyramid architecture, achieving cross-scale feature fusion through bidirectional upsampling and downsampling. In the upsampling path from deep to shallow layers, the deepest features from the Backbone are first input into the 11th-layer upsampling module Later11 Upsample for feature scale enhancement, and then sent to the 12th-layer concatenation module Later12 Concat for channel-dimensional concatenation with the mid-layer features output from the Backbone. The fused features are then purified by the 13th-layer C3k2 module Later13 C3k2, and further enhanced by the 14th-layer upsampling module Later14 Upsample. Finally, they are input into the 15th-layer concatenation module Later15 Concat for a second concatenation with the shallow features output from the Backbone. The features output from the 15th layer are passed through two paths: one path is processed by the 16th layer C3k2 module (Later16 C3k2), and then enters the 17th layer TripletAttention module (Later17 TripletAttention) to perform cross-dimensional feature interaction enhancement, strengthening the model's feature response capability to medium and small-scale targets; the other path is passed along the downsampling path, and after dimensionality reduction by the 18th layer convolutional layer (Later18 Conv), it is input into the 19th layer concatenation module (Later19 Concat) to complete the concatenation with the mid-level fusion features output from the 13th layer C3k2 module. The features output from the 19th layer concatenation are processed by the 20th layer C3k2 module (Later20 C3k2), and then further processed by the 21st layer convolutional layer (Later21 Conv) for downsampling dimensionality reduction. They are then input into the 22nd layer concatenation module (Later22 Concat) to complete the concatenation with deep features, and finally pass through the 23rd layer C3k2 module (Later23 C3k2) to complete the final deep feature integration.
[0053] Finally, all the multi-scale enhancement features output by the Neck branch are incorporated into the 24th layer detection head, Later24 Segment. The detection head simultaneously performs target classification, bounding box regression, and instance mask prediction, outputting the classification results, location information, and pixel-level segmentation masks for each sensitive target within the detection window.
[0054] like Figure 6 As shown, the triplet attention mechanism establishes the interaction relationship between the channel dimension and the spatial dimension by constructing three parallel branches, including the upper branch (C–W), the middle branch (C–H), and the lower branch (H–W). Unlike traditional channel attention or spatial attention, which only focus on a single dimension, the triplet attention mechanism uses dimensional transformation operations to establish cross-dimensional dependencies, enabling the model to simultaneously focus on the spatial structural information and semantic feature information of the target, thereby enhancing its responsiveness to the target region.
[0055] Specifically, the triplet attention mechanism establishes the interaction between the channel dimension and the spatial dimension by constructing three parallel branches: the upper branch C×W channel feature attention, the middle branch C×H channel feature attention, and the lower branch H×W channel feature attention. Unlike traditional channel attention or spatial attention, which only focuses on a single dimension, the triplet attention mechanism uses dimensional transformation operations to establish cross-dimensional dependencies, enabling the model to simultaneously focus on the spatial structural information and semantic feature information of the target, thereby enhancing its responsiveness to the target region.
[0056] The module takes a C×H×W input tensor as input. The input tensor is fed into three parallel attention branches. Each branch first performs a rearrangement operation on the corresponding dimension of the input tensor, and then the statistical features of global average pooling and global max pooling are fused through the Z-Pool module. The attention weights of the corresponding dimensions are generated by convolution, Batch Norm and activation function in sequence. After element-wise weighting and dimension rearrangement, the enhanced features of the corresponding branch are obtained. Finally, the output features of the three branches are averaged and aggregated to obtain the final output features of the triplet attention mechanism module.
[0057] The upper branch is a C×W channel feature attention module. It first rearranges the input tensor along the height (H-axis) to adjust the feature dimension arrangement to accommodate the interactive computation of channel and width dimensions. The features then enter the Z-Pool module, where H-axis global average pooling and H-axis global max pooling are performed. Both pooling operations output C×W feature maps. These two feature maps are concatenated to form a 2×C×W pooled fusion feature. This pooled fusion feature is then processed through a 7×7 convolutional layer, a Batch Norm layer, and a Sigmoid activation layer to generate attention weight maps of the corresponding dimensions. The attention weights are then multiplied element-wise with the rearranged input features and weighted, and then rearranged to restore the C×H×W feature tensor, resulting in the first enhanced feature. .
[0058] The middle branch is a C×H channel feature attention module. First, it rearranges the input tensor along the width (W) axis to adjust the feature dimension arrangement to accommodate the interactive computation of channel and height dimensions. Then, the features enter the Z-Pool module, where global average pooling and global max pooling along the W axis are performed respectively. Both pooling operations output feature maps of dimension C×H. The two feature maps are concatenated to form a 2×C×H pooled fusion feature. This pooled fusion feature is then processed through a 7×7 convolutional layer, a Batch Norm layer, and a Sigmoid activation layer to generate attention weight maps of the corresponding dimensions. The attention weights are then multiplied element-wise with the rearranged input features and weighted, and then rearranged to restore the feature tensor to a C×H×W dimension, resulting in the second enhanced feature. .
[0059] The lower branch is for H×W channel feature attention. First, the input tensor undergoes dimensional rearrangement along the C-axis of each channel, adjusting the feature dimension arrangement to accommodate the interactive computation of height and width spatial dimensions. The features then enter the Z-Pool module, where channel-wide average pooling and channel-wide max pooling are performed respectively. Both pooling operations output feature maps of dimension H×W. These two feature maps are concatenated to form a 2×H×W pooled fusion feature. This pooled fusion feature is then processed sequentially through a 7×7 convolutional layer, a Batch Norm layer, and a Sigmoid activation layer to generate attention weight maps of the corresponding dimensions. The attention weights are then multiplied element-wise with the rearranged input features, resulting in a C×H×W feature tensor, which is the third enhanced feature. .
[0060] Enhanced features of three-branch output , , The three dimensions of attention enhancement results are merged into the average aggregation module and then fused by averaging each element. Finally, the global enhancement features of the triplet attention mechanism module are output, realizing multi-dimensional interaction between channel semantic information and spatial structural information, and simultaneously enhancing the feature response capability and background suppression capability of targets at different scales.
[0061] In summary, the input features are first rearranged in dimension and then Z-Pool operations are used to fuse average pooling and max pooling information to obtain a more robust feature description. Subsequently, convolutional operations are used to generate corresponding attention weights, which are then applied element-wise to the input features. Since Z-Pool preserves both global statistical features and local salient responses, it can enhance the target features while avoiding excessive smoothing of small target information during feature compression. After these three branches, the generated enhanced features are denoted as follows: , and Finally, the triplet attention mechanism module output is obtained by averaging the fusion method: (5) in, To enhance features.
[0062] Using average fusion can ensure that the contribution of each branch to the final result remains balanced, while avoiding the introduction of additional learnable parameters, thus maintaining low computational complexity.
[0063] S40: Map the bounding boxes in the detection results of sensitive targets corresponding to all detection windows to the global coordinate system, and perform hybrid nonmaximum suppression processing based on the topological relationship between all mapped bounding boxes to aggregate and suppress redundant detection results belonging to the same sensitive target in different detection windows, so as to obtain the sensitive target segmentation result in the global coordinate system.
[0064] To ensure the complete rendering of cross-tile targets, an overlapping detection window strategy is employed for instance segmentation. However, while restoring the spatial continuity of targets, this strategy can lead to the same sensitive target being repeatedly segmented by multiple detection windows. Non-Multiple Detection Windows (NMS) is a commonly used post-processing method in instance segmentation, removing redundant candidate boxes that highly overlap with the target based on an IoU threshold. However, in overlapping detection window scenarios, IoU has limited expressive power for instance relationships in cross-window scenarios, thus failing to accurately aggregate sensitive targets.
[0065] This embodiment further introduces bounding box topology relationship constraints to propose HM_NMS. First, preliminary candidate screening is performed based on IoU. Then, the boundary alignment relationship and inclusion relationship are combined to determine whether different bounding boxes come from the same target, and finally target aggregation and redundant instance suppression are achieved.
[0066] Specifically, HM_NMS first maps bounding boxes from different detection windows to a global coordinate system and calculates the IoU (Intersection over Union) between each pair of bounding boxes. When the IoU is greater than a threshold, it is processed based on NMS. For bounding boxes with insufficient IoU but adjacent spatial locations, boundary alignment constraints are introduced. When two bounding boxes have at least one edge that overlaps within a given tolerance, they are considered to likely originate from the same cross-window target. When the boundary overlap or high IoU condition is met, a merging operation is performed on the corresponding bounding boxes. After merging, the spatial extent of the bounding boxes is updated using a union approach, while retaining target attribute information with higher confidence. (6) (7) in, For the first The bounding box and the first The intersection area of the bounding boxes. For the first The bounding box and the first The intersection area of the bounding boxes. and The first The and the first The area of each bounding box. It is a minimum value function. for Threshold (preset crossover ratio threshold). for Threshold (preset overlap ratio threshold). For the first The bounding box and the first The intersection-union ratio of the bounding boxes. To represent the Boolean variable that two bounding boxes satisfy the boundary alignment constraint, when formula (7) is determined to be true, for the first... The bounding box and the first The bounding boxes are merged. The merged bounding boxes are updated with their spatial extent using a union method, while retaining the target attribute information with higher confidence from the two bounding boxes before the merge.
[0067] like Figure 7 As shown, after processing by HM_NMS, only one instance of the same sensitive target is retained globally, and the complete target outline is effectively preserved. Unlike NMS, which relies solely on IoU for redundancy suppression, HM_NMS fully utilizes the topological relationships between bounding boxes in overlapping window scenes to achieve accurate aggregation of targets across windows.
[0068] The feasibility and progressiveness of the method of the present invention will be further illustrated below with specific experiments.
[0069] To train the sensitive target instance segmentation model, this embodiment constructs a Mobile Military Target Dataset (MMTD). This dataset is based on three publicly available remote sensing military target datasets: HRSC2016, MVRSD, and MAR20. Information is shown in Table 1, covering typical mobile military targets such as ships, military vehicles, and military aircraft. All data originates from high-resolution optical remote sensing imagery, covering various scenarios including ports, airports, and military bases.
[0070] Table 1. Publicly available datasets related to military objectives.
[0071] Based on this, this embodiment uses ISAT (Image Segmentation Annotation Tool) to segment and annotate targets, and uniformly converts them to YOLO-Seg format to construct the MMTD dataset. The dataset contains six target categories: aircraft carriers, warships, submarines, aircraft, tanks, and military vehicles, comprising 7794 images and 46193 instances. The training, validation, and test sets are divided in a 7:2:1 ratio to ensure the reliability of model training and evaluation. The distribution of instances in each category is shown in Table 2.
[0072] Table 2. Distribution of target instances in the military moving target dataset
[0073] Since MMTD is mainly used for training and evaluating the performance of instance segmentation models, while this embodiment focuses on the segmentation of sensitive targets in image tile data, it is necessary to verify the effectiveness of the method in real tile data scenarios.
[0074] Therefore, this embodiment selects two sets of remote sensing image tile data from the Tianditu platform as experimental data. The two sets of data differ in organization, data size, and coverage, corresponding to two typical storage methods: loose tiles and compact tiles, respectively. Considering that target segmentation performance is closely related to image spatial resolution, and to ensure that the targets have clearly discernible texture and structural features, the experiment uniformly selects the 18th level image for verification. Since there is a lack of publicly available data on classified targets, a civilian aircraft was used as a simulated sensitive target for algorithm testing. Basic information of the experimental data is as follows: Figure 8 As shown.
[0075] To comprehensively evaluate the performance of the proposed method in the image tile sensitive target segmentation task, this embodiment conducts a quantitative evaluation from three aspects: target recognition accuracy, missed detection rate, and target localization accuracy. Among them, precision is used to measure the reliability of the model's detection results; recall is used to evaluate the model's ability to discover sensitive targets; and mean precision (mAP) is used to comprehensively reflect the model's detection and localization performance.
[0076] Precision measures the proportion of correctly identified target categories in the detection results, reflecting the accuracy of the model's detection results. Higher precision indicates fewer false positives. Its definition is as follows: (8) in, This is the number of targets that were correctly detected; It represents the number of incorrectly identified targets.
[0077] Recall measures the proportion of real targets that are successfully detected, directly reflecting the model's false negative rate. A higher recall rate results in a lower MR (Mean Loss). It is defined as: (9) (10) in, This represents the number of real targets that were not detected.
[0078] The mAP75 metric is the average precision calculated using the Intersection over Union (IoU) of the detected bounding boxes as the decision threshold of 0.75. mAP75 more rigorously measures the model's ability to accurately locate targets and effectively reflects the positional accuracy of the detected bounding boxes. The IoU is the ratio of the intersection area of the predicted bounding box and the ground truth bounding box to their union area. The mAP75 formula is as follows: (11) in, The total number of target categories, It is the first The average precision of the target class at IoU ≥ 0.75.
[0079] To comprehensively evaluate the performance of the method of the present invention in the task of segmenting sensitive targets at multiple scales in remote sensing image tiles, this embodiment conducts experimental analysis from two aspects: the completeness of instance-level target detection and the accuracy of segmentation mask.
[0080] Completeness of Sensitive Target Detection: The ability to completely detect sensitive targets is an important indicator of the performance of sensitive target segmentation methods in remote sensing images. In tiled remote sensing images, targets may be distributed across multiple tile regions. Traditional tile-by-tile processing methods are prone to causing duplicate detection of target instances or structural fragmentation, thus affecting instance-level consistency. Considering that this embodiment restores the spatial integrity of targets across tiles by constructing a continuous texture space, a method based on the original tile-by-tile processing strategy was selected as the comparative experimental method. The experimental results are shown in Table 3.
[0081] Table 3. Results of the method of the present invention on experimental data.
[0082] As shown in Table 3, although the tile-by-tile detection method generates a high number of candidate detections in some areas, its ability to match correct instances is weak due to the repeated segmentation of targets across tiles. It also suffers from significant issues of missed detections and duplicate instances. This is particularly true in scenarios where targets are distributed across tiles, where the same target is easily detected multiple times or incompletely segmented.
[0083] In contrast, the method of this invention, by introducing a continuous texture space, effectively restores the spatial structural integrity of targets across tiles, making the number of correctly segmented instances essentially consistent with the number of real targets. The correct segmentation rates on the T01 and T02 datasets reach 97.8% and 97.7%, respectively. Simultaneously, the number of missed detections is significantly reduced, and mask fragmentation is completely eliminated, demonstrating that the method of this invention has a clear advantage in improving the integrity of targets at the instance level.
[0084] Sensitive target mask segmentation accuracy: from a qualitative perspective, Figure 9 The image shows partial detection and segmentation results from three instance segmentation models. The first column represents the original image, the second column represents the detection results from Mask R-CNN, the third column represents the detection results from the original YOLO11x-seg, and the fourth column represents the detection results from the model of this invention. The red area in the image represents the mask segmentation structure of the aircraft. It can be seen that Mask R-CNN and YOLO11x-seg have relatively more missed detections, especially for small and densely packed aircraft. The method of this invention has the fewest target missed detections, significantly improving the detection and segmentation capability of aircraft in complex scenes.
[0085] Furthermore, Table 4 presents the quantitative comparison results of different models.
[0086] Table 4 Evaluation results of the method of this invention compared with other models
[0087] As shown in Table 4, while maintaining a relatively constant inference speed, the YOLO-TA model proposed in this embodiment achieves performance improvements over YOLO11x-Seg. Specifically, Recall increased from 0.906 to 0.928, indicating that the model effectively mitigates the issue of missed detections of sensitive small targets; mAP75 increased from 0.755 to 0.774, demonstrating enhanced instance segmentation accuracy under high IoU constraints; and Precision also increased to 0.930, indicating a certain improvement in false detection control.
[0088] In contrast, while Mask R-CNN has high precision, it has low recall and slow inference speed, making it difficult to meet the real-time processing requirements of large-scale remote sensing tile data.
[0089] In summary, to address the challenge of segmenting multi-scale sensitive targets in remote sensing image tile data, this invention proposes a YOLO-TA-based method for sensitive target segmentation in remote sensing image tile data. This method uses the YOLO11-Seg framework as its foundation, introducing a triplet attention mechanism to enhance the model's ability to represent features of small-scale targets and complex backgrounds. It also incorporates a tile recombination strategy to construct a continuous texture space, recovering spatial context information of targets across tiles. Furthermore, an HM-NMS strategy is designed to achieve unified aggregation of instances across windows, thereby improving the consistency and completeness of instance segmentation results. Experimental results show that this method effectively improves the instance segmentation performance of sensitive targets in remote sensing image tile data. On real tile data, compared to the tile-by-tile processing method, the target accuracy is increased to approximately 97.8%, with a significant reduction in missed detections and mask fragmentation. On public datasets, compared to the YOLO11x-Seg baseline model, Recall and mAP75 are improved to 0.928 and 0.774, respectively, while maintaining similar inference speeds, demonstrating a good balance between accuracy and efficiency. In addition, HM-NMS can effectively suppress the problem of duplicate instances caused by overlapping windows, ensuring the consistency of target instance representation.
[0090] This invention also provides a multi-size remote sensing image tile sensitive target segmentation device, used to implement the methods described in any of the above embodiments, such as... Figure 10 As shown, the device includes: The tile splicing module 101 is configured to acquire original remote sensing image tile data and splice adjacent tiles into multiple local splicing regions according to the spatial index relationship of the original remote sensing image tile data. The sliding sampling module 102 is configured to segment each of the local splicing regions using an overlapping sliding window strategy to generate multiple fixed-size detection windows with overlapping regions. The instance segmentation module 103 is configured to input each detection window into an improved YOLO11-Seg network for instance segmentation. The improved YOLO11-Seg network comprises a backbone network, a feature fusion network, and a detection head. The backbone network is used to extract multi-layer semantic features from the input detection window image. The feature fusion network performs cross-scale feature fusion on the multi-layer semantic features output by the backbone network through a feature pyramid structure to obtain fused features at different scales. The feature fusion network embeds a triplet attention mechanism, which is used to perform multi-dimensional feature enhancement processing on the fused features at small and medium scales, and output enhanced features. The detection head is used to complete target classification, localization, and mask prediction based on the enhanced features, and outputs the sensitive target detection result corresponding to each detection window. The sensitive target detection result includes at least the target bounding box and the segmentation mask. The target aggregation module 104 is configured to uniformly map the bounding boxes in the detection results of the sensitive targets corresponding to all detection windows to the global coordinate system, and perform hybrid nonmaximum suppression processing according to the topological relationship between all the mapped bounding boxes, so as to aggregate and suppress redundant detection results belonging to the same sensitive target in different detection windows, and obtain the sensitive target segmentation result in the global coordinate system.
[0091] This invention provides an electronic device. The electronic device may include a processor and a memory, wherein the processor and the memory can communicate; exemplarily, the processor and the memory communicate via a communication bus.
[0092] The processor executes computer execution instructions stored in memory, causing the processor to perform the scheme in the above embodiments. The processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0093] The communication bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The system bus can be divided into address bus, data bus, control bus, etc. Transceivers are used to enable communication between database access devices and other computers (e.g., clients, read-write libraries, and read-only libraries). Memory may include random access memory (RAM) and may also include non-volatile memory.
[0094] The electronic device provided in this embodiment of the invention can be the terminal device described in the above embodiments.
[0095] This invention also provides a computer-readable storage medium storing computer instructions. When these computer instructions are executed on a computer, the computer performs the technical solution of the multi-size remote sensing image tile sensitive target segmentation method described in the above embodiments.
[0096] This invention also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When the at least one processor executes the computer program, it can implement the technical solution of the multi-size remote sensing image tile sensitive target segmentation method in the above embodiments.
[0097] In the several embodiments provided by this invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or modules, and may be electrical, mechanical, or other forms.
[0098] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to implement the solution of this embodiment according to actual needs.
[0099] Furthermore, the functional modules in the various embodiments of the present invention can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The unit composed of the above modules can be implemented in hardware or in the form of hardware plus software functional units.
[0100] The integrated modules described above, implemented as software functional modules, can be stored in a computer-readable storage medium. These software functional modules, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute certain steps of the methods of the various embodiments of the present invention.
[0101] It should be understood that the aforementioned processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly manifested as execution by a hardware processor, or execution by a combination of hardware and software modules within the processor.
[0102] The memory may include high-speed RAM, and may also include non-volatile storage (NVM), such as at least one disk storage device, and may also be a USB flash drive, external hard drive, read-only memory, disk or optical disc, etc.
[0103] Buses can be Industry Standard Architecture (ISA) buses, Peripheral Component Interconnect (PCI) buses, or Extended Industry Standard Architecture (EISA) buses, etc. Buses can be categorized into address buses, data buses, control buses, etc.
[0104] The aforementioned storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0105] An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Alternatively, the storage medium can be an integral part of the processor. The processor and storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and storage medium can exist as discrete components in an electronic control unit or main control device.
[0106] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0107] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for segmenting sensitive targets from multi-size remote sensing image tiles, characterized in that, The method includes: Obtain raw remote sensing image tile data, and stitch adjacent tiles into multiple local stitching regions based on the spatial index relationship of the raw remote sensing image tile data; For each of the aforementioned local splicing regions, an overlapping sliding window strategy is used to segment the region, generating multiple fixed-size detection windows with overlapping areas. Each detection window is input into an improved YOLO11-Seg network for instance segmentation. The improved YOLO11-Seg network comprises a backbone network, a feature fusion network, and a detection head. The backbone network extracts multi-layer semantic features from the input detection window image. The feature fusion network performs cross-scale feature fusion on the multi-layer semantic features output by the backbone network through a feature pyramid structure, obtaining fused features at different scales. A triplet attention mechanism is embedded in the feature fusion network, which performs multi-dimensional feature enhancement processing on the fused features at small and medium scales, outputting enhanced features. The detection head is used to complete target classification, localization, and mask prediction based on the enhanced features, outputting sensitive target detection results corresponding to each detection window. The sensitive target detection results include at least the target bounding box and the segmentation mask. The bounding boxes in the detection results of the sensitive targets corresponding to all detection windows are uniformly mapped to the global coordinate system. Then, based on the topological relationship between all the mapped bounding boxes, hybrid nonmaximum suppression is performed to aggregate and suppress redundant detection results belonging to the same sensitive target in different detection windows, so as to obtain the sensitive target segmentation result in the global coordinate system.
2. The method according to claim 1, characterized in that, The spatial dimensions of the partially spliced area are determined by the following formula: (1) in, The spatial dimensions of the partially spliced area; This refers to the number of tiles contained in the row direction of the partially spliced area. This refers to the number of tiles contained in the column direction of the partially spliced area. This represents the side length of a single tile.
3. The method according to claim 2, characterized in that, For each of the aforementioned local stitching regions, an overlapping sliding window strategy is used for segmentation, generating multiple fixed-size detection windows with overlapping areas, including: Starting from the beginning position of the local splicing area, the sliding step size of the detection window in the horizontal and vertical directions is determined according to the preset window overlap rate and detection window size. The window slides row by row and column by column in the local splicing area according to the sliding step size. A detection window of a fixed size is generated every time the window slides by one step size. The sliding step size of the detection window in the horizontal and vertical directions is determined by the following formula: (2) in, , To detect window size; This refers to the window overlap ratio; and These are the sliding step sizes in the horizontal and vertical directions, respectively.
4. The method according to claim 3, characterized in that, According to the sliding step size, the device slides row by row and column by column within the local splicing area. Each sliding step size generates a detection window of a fixed size, including: Set constraints: (3) in, The spatial resolution of the current processing level; Will and Substituting the constraints, the formula for calculating the minimum overlap rate to ensure target integrity is as follows: (4) in, This represents the lower bound of the minimum overlap ratio that must be satisfied in the horizontal direction. This represents the lower bound of the minimum overlap ratio that must be satisfied in the vertical direction; Window overlap Set to not less than and The larger of the two is used to ensure that a single detection window can completely contain the sensitive target of actual size T in all directions; According to the set window overlap rate The actual sliding step length is calculated according to formula (2) based on the size of the detection window. Starting from the starting position of the local splicing area, the sliding window is moved row by row and column by column within the local splicing area according to the actual sliding step length. A detection window of a fixed size is generated every time the sliding window reaches a step length position.
5. The method according to claim 1, characterized in that, The triplet attention mechanism includes three parallel branches, and the triplet attention mechanism performs multi-dimensional feature enhancement processing on the fused features at small and medium scales in the following ways: Cross-dimensional dependencies between channel C and width W, channel C and height H, and height H and width W are established through three parallel branches. In each branch, the input feature map is rearranged dimensionally and Z-Pool operation is used to fuse average pooling and max pooling information to obtain intermediate feature descriptions. Convolutional operations are used to generate corresponding attention weights, and these attention weights are used to perform element-wise weighting of the input feature map to obtain the enhanced features for the three branches. , and ; Based on the enhanced features of the three branches , and The enhanced features are calculated using the following formula: (5) in, To enhance features.
6. The method according to claim 1, characterized in that, Hybrid nonmaximum suppression is performed based on the topological relationships between all mapped bounding boxes to aggregate and suppress redundant detection results belonging to the same sensitive target across different detection windows, resulting in sensitive target segmentation results in the global coordinate system, including: All bounding boxes mapped to the global coordinate system are formed into a bounding box set, and the intersection-union ratio (CUI) between any two bounding boxes in the bounding box set is calculated. When the CUI is greater than a preset CUI threshold, it is determined that the two bounding boxes overlap, and the bounding boxes with low confidence are suppressed based on non-maximum suppression. When the intersection-union ratio (IU) is less than or equal to the preset IU threshold, it is further determined whether the two bounding boxes satisfy the boundary alignment constraint; when at least one edge of the two bounding boxes overlaps within a given tolerance range, it is determined that the boundary alignment constraint is satisfied, and the ratio of the intersection area of the two bounding boxes to the minimum area of each bounding box is calculated as the overlap ratio. The calculation formula is as follows: (6) in, For the first The bounding box and the first The intersection area of the bounding boxes. For the first The bounding box and the first The intersection area of the bounding boxes. and The first The and the first The area of each bounding box. It is a minimum value function; When the overlap ratio is greater than a preset overlap ratio threshold, the two bounding boxes are determined to belong to the same sensitive target, and a merging operation is performed.
7. The method according to claim 6, characterized in that, The conditions for performing the merge operation are as follows: When any two bounding boxes and When the following conditions are met, the detection results corresponding to the two bounding boxes are determined to belong to the same sensitive target, and a merging operation is performed: (7) in, The preset crossover-union ratio threshold, The preset overlap ratio threshold, For the first The bounding box and the first The intersection-union ratio of the bounding boxes. Let represent the Boolean variable that indicates two bounding boxes satisfy the boundary alignment constraint; when formula (7) is determined to be true, for the The bounding box and the first The bounding boxes are merged. The merged bounding boxes are updated with their spatial extent using a union method, while retaining the target attribute information with higher confidence from the two bounding boxes before the merge.
8. A multi-size remote sensing image tile sensitive target segmentation device, characterized in that, The device includes: The tile splicing module is configured to acquire raw remote sensing image tile data and, based on the spatial index relationship of the raw remote sensing image tile data, splice adjacent tiles into multiple local splicing regions. The sliding sampling module is configured to segment each of the local stitching regions using an overlapping sliding window strategy, generating multiple fixed-size detection windows with overlapping regions. The instance segmentation module is configured to input each detection window into an improved YOLO11-Seg network for instance segmentation. The improved YOLO11-Seg network comprises a backbone network, a feature fusion network, and a detection head. The backbone network is used to extract multi-layer semantic features from the input detection window image. The feature fusion network performs cross-scale feature fusion on the multi-layer semantic features output by the backbone network through a feature pyramid structure to obtain fused features at different scales. The feature fusion network embeds a triplet attention mechanism, which is used to perform multi-dimensional feature enhancement processing on the fused features at small and medium scales, and output enhanced features. The detection head is used to complete target classification, localization, and mask prediction based on the enhanced features, and outputs the sensitive target detection result corresponding to each detection window. The sensitive target detection result includes at least the target bounding box and the segmentation mask. The target aggregation module is configured to uniformly map the bounding boxes in the detection results of the sensitive targets corresponding to all detection windows to the global coordinate system, and perform hybrid nonmaximum suppression processing based on the topological relationship between all the mapped bounding boxes to aggregate and suppress redundant detection results belonging to the same sensitive target in different detection windows, so as to obtain the sensitive target segmentation result in the global coordinate system.
9. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes the computer execution instructions stored in the memory to implement the multi-size remote sensing image tile sensitive target segmentation method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the multi-size remote sensing image tile sensitive target segmentation method as described in any one of claims 1-7.
